dbf-mirador 4.5.6 → 4.5.7

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.
@@ -897,44 +897,44 @@ var Yu = /*#__PURE__*/ function() {
897
897
  return e.parentNode?.removeChild(e);
898
898
  }), this.tags = [], this.ctr = 0;
899
899
  }, e;
900
- }(), U = "-ms-", Xu = "-moz-", W = "-webkit-", Zu = "comm", Qu = "rule", $u = "decl", ed = "@import", td = "@keyframes", nd = "@layer", rd = Math.abs, id = String.fromCharCode, ad = Object.assign;
901
- function od(e, t) {
902
- return K(e, 0) ^ 45 ? (((t << 2 ^ K(e, 0)) << 2 ^ K(e, 1)) << 2 ^ K(e, 2)) << 2 ^ K(e, 3) : 0;
900
+ }(), Xu = "-ms-", Zu = "-moz-", U = "-webkit-", Qu = "comm", $u = "rule", ed = "decl", td = "@import", nd = "@keyframes", rd = "@layer", id = Math.abs, ad = String.fromCharCode, od = Object.assign;
901
+ function sd(e, t) {
902
+ return G(e, 0) ^ 45 ? (((t << 2 ^ G(e, 0)) << 2 ^ G(e, 1)) << 2 ^ G(e, 2)) << 2 ^ G(e, 3) : 0;
903
903
  }
904
- function sd(e) {
904
+ function cd(e) {
905
905
  return e.trim();
906
906
  }
907
- function cd(e, t) {
907
+ function ld(e, t) {
908
908
  return (e = t.exec(e)) ? e[0] : e;
909
909
  }
910
- function G(e, t, n) {
910
+ function W(e, t, n) {
911
911
  return e.replace(t, n);
912
912
  }
913
- function ld(e, t) {
913
+ function ud(e, t) {
914
914
  return e.indexOf(t);
915
915
  }
916
- function K(e, t) {
916
+ function G(e, t) {
917
917
  return e.charCodeAt(t) | 0;
918
918
  }
919
- function ud(e, t, n) {
919
+ function dd(e, t, n) {
920
920
  return e.slice(t, n);
921
921
  }
922
- function dd(e) {
922
+ function fd(e) {
923
923
  return e.length;
924
924
  }
925
- function fd(e) {
925
+ function pd(e) {
926
926
  return e.length;
927
927
  }
928
- function pd(e, t) {
928
+ function md(e, t) {
929
929
  return t.push(e), e;
930
930
  }
931
- function md(e, t) {
931
+ function hd(e, t) {
932
932
  return e.map(t).join("");
933
933
  }
934
934
  //#endregion
935
935
  //#region node_modules/@emotion/cache/node_modules/stylis/src/Tokenizer.js
936
- var hd = 1, gd = 1, _d = 0, vd = 0, q = 0, yd = "";
937
- function bd(e, t, n, r, i, a, o) {
936
+ var gd = 1, _d = 1, vd = 0, yd = 0, K = 0, bd = "";
937
+ function xd(e, t, n, r, i, a, o) {
938
938
  return {
939
939
  value: e,
940
940
  root: t,
@@ -942,34 +942,34 @@ function bd(e, t, n, r, i, a, o) {
942
942
  type: r,
943
943
  props: i,
944
944
  children: a,
945
- line: hd,
946
- column: gd,
945
+ line: gd,
946
+ column: _d,
947
947
  length: o,
948
948
  return: ""
949
949
  };
950
950
  }
951
- function xd(e, t) {
952
- return ad(bd("", null, null, "", null, null, 0), e, { length: -e.length }, t);
953
- }
954
- function Sd() {
955
- return q;
951
+ function Sd(e, t) {
952
+ return od(xd("", null, null, "", null, null, 0), e, { length: -e.length }, t);
956
953
  }
957
954
  function Cd() {
958
- return q = vd > 0 ? K(yd, --vd) : 0, gd--, q === 10 && (gd = 1, hd--), q;
955
+ return K;
959
956
  }
960
957
  function wd() {
961
- return q = vd < _d ? K(yd, vd++) : 0, gd++, q === 10 && (gd = 1, hd++), q;
958
+ return K = yd > 0 ? G(bd, --yd) : 0, _d--, K === 10 && (_d = 1, gd--), K;
962
959
  }
963
960
  function Td() {
964
- return K(yd, vd);
961
+ return K = yd < vd ? G(bd, yd++) : 0, _d++, K === 10 && (_d = 1, gd++), K;
965
962
  }
966
963
  function Ed() {
967
- return vd;
964
+ return G(bd, yd);
965
+ }
966
+ function Dd() {
967
+ return yd;
968
968
  }
969
- function Dd(e, t) {
970
- return ud(yd, e, t);
969
+ function Od(e, t) {
970
+ return dd(bd, e, t);
971
971
  }
972
- function Od(e) {
972
+ function kd(e) {
973
973
  switch (e) {
974
974
  case 0:
975
975
  case 9:
@@ -996,82 +996,82 @@ function Od(e) {
996
996
  }
997
997
  return 0;
998
998
  }
999
- function kd(e) {
1000
- return hd = gd = 1, _d = dd(yd = e), vd = 0, [];
1001
- }
1002
999
  function Ad(e) {
1003
- return yd = "", e;
1000
+ return gd = _d = 1, vd = fd(bd = e), yd = 0, [];
1004
1001
  }
1005
1002
  function jd(e) {
1006
- return sd(Dd(vd - 1, Pd(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1003
+ return bd = "", e;
1007
1004
  }
1008
1005
  function Md(e) {
1009
- for (; (q = Td()) && q < 33;) wd();
1010
- return Od(e) > 2 || Od(q) > 3 ? "" : " ";
1006
+ return cd(Od(yd - 1, Fd(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1007
+ }
1008
+ function Nd(e) {
1009
+ for (; (K = Ed()) && K < 33;) Td();
1010
+ return kd(e) > 2 || kd(K) > 3 ? "" : " ";
1011
1011
  }
1012
- function Nd(e, t) {
1013
- for (; --t && wd() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97););
1014
- return Dd(e, Ed() + (t < 6 && Td() == 32 && wd() == 32));
1012
+ function Pd(e, t) {
1013
+ for (; --t && Td() && !(K < 48 || K > 102 || K > 57 && K < 65 || K > 70 && K < 97););
1014
+ return Od(e, Dd() + (t < 6 && Ed() == 32 && Td() == 32));
1015
1015
  }
1016
- function Pd(e) {
1017
- for (; wd();) switch (q) {
1018
- case e: return vd;
1016
+ function Fd(e) {
1017
+ for (; Td();) switch (K) {
1018
+ case e: return yd;
1019
1019
  case 34:
1020
1020
  case 39:
1021
- e !== 34 && e !== 39 && Pd(q);
1021
+ e !== 34 && e !== 39 && Fd(K);
1022
1022
  break;
1023
1023
  case 40:
1024
- e === 41 && Pd(e);
1024
+ e === 41 && Fd(e);
1025
1025
  break;
1026
1026
  case 92:
1027
- wd();
1027
+ Td();
1028
1028
  break;
1029
1029
  }
1030
- return vd;
1030
+ return yd;
1031
1031
  }
1032
- function Fd(e, t) {
1033
- for (; wd() && e + q !== 57 && (e + q !== 84 || Td() !== 47););
1034
- return "/*" + Dd(t, vd - 1) + "*" + id(e === 47 ? e : wd());
1032
+ function Id(e, t) {
1033
+ for (; Td() && e + K !== 57 && (e + K !== 84 || Ed() !== 47););
1034
+ return "/*" + Od(t, yd - 1) + "*" + ad(e === 47 ? e : Td());
1035
1035
  }
1036
- function Id(e) {
1037
- for (; !Od(Td());) wd();
1038
- return Dd(e, vd);
1036
+ function Ld(e) {
1037
+ for (; !kd(Ed());) Td();
1038
+ return Od(e, yd);
1039
1039
  }
1040
1040
  //#endregion
1041
1041
  //#region node_modules/@emotion/cache/node_modules/stylis/src/Parser.js
1042
- function Ld(e) {
1043
- return Ad(Rd("", null, null, null, [""], e = kd(e), 0, [0], e));
1042
+ function Rd(e) {
1043
+ return jd(zd("", null, null, null, [""], e = Ad(e), 0, [0], e));
1044
1044
  }
1045
- function Rd(e, t, n, r, i, a, o, s, c) {
1046
- for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v = wd()) {
1047
- case 40: if (m != 108 && K(C, d - 1) == 58) {
1048
- ld(C += G(jd(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
1045
+ function zd(e, t, n, r, i, a, o, s, c) {
1046
+ for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v = Td()) {
1047
+ case 40: if (m != 108 && G(C, d - 1) == 58) {
1048
+ ud(C += W(Md(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
1049
1049
  break;
1050
1050
  }
1051
1051
  case 34:
1052
1052
  case 39:
1053
1053
  case 91:
1054
- C += jd(v);
1054
+ C += Md(v);
1055
1055
  break;
1056
1056
  case 9:
1057
1057
  case 10:
1058
1058
  case 13:
1059
1059
  case 32:
1060
- C += Md(m);
1060
+ C += Nd(m);
1061
1061
  break;
1062
1062
  case 92:
1063
- C += Nd(Ed() - 1, 7);
1063
+ C += Pd(Dd() - 1, 7);
1064
1064
  continue;
1065
1065
  case 47:
1066
- switch (Td()) {
1066
+ switch (Ed()) {
1067
1067
  case 42:
1068
1068
  case 47:
1069
- pd(Bd(Fd(wd(), Ed()), t, n), c);
1069
+ md(Vd(Id(Td(), Dd()), t, n), c);
1070
1070
  break;
1071
1071
  default: C += "/";
1072
1072
  }
1073
1073
  break;
1074
- case 123 * h: s[l++] = dd(C) * _;
1074
+ case 123 * h: s[l++] = fd(C) * _;
1075
1075
  case 125 * h:
1076
1076
  case 59:
1077
1077
  case 0:
@@ -1079,128 +1079,128 @@ function Rd(e, t, n, r, i, a, o, s, c) {
1079
1079
  case 0:
1080
1080
  case 125: g = 0;
1081
1081
  case 59 + u:
1082
- _ == -1 && (C = G(C, /\f/g, "")), p > 0 && dd(C) - d && pd(p > 32 ? Vd(C + ";", r, n, d - 1) : Vd(G(C, " ", "") + ";", r, n, d - 2), c);
1082
+ _ == -1 && (C = W(C, /\f/g, "")), p > 0 && fd(C) - d && md(p > 32 ? Hd(C + ";", r, n, d - 1) : Hd(W(C, " ", "") + ";", r, n, d - 2), c);
1083
1083
  break;
1084
1084
  case 59: C += ";";
1085
- default: if (pd(S = zd(C, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
1086
- if (u === 0) Rd(C, t, S, S, b, a, d, s, x);
1087
- else switch (f === 99 && K(C, 3) === 110 ? 100 : f) {
1085
+ default: if (md(S = Bd(C, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
1086
+ if (u === 0) zd(C, t, S, S, b, a, d, s, x);
1087
+ else switch (f === 99 && G(C, 3) === 110 ? 100 : f) {
1088
1088
  case 100:
1089
1089
  case 108:
1090
1090
  case 109:
1091
1091
  case 115:
1092
- Rd(e, S, S, r && pd(zd(e, S, S, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
1092
+ zd(e, S, S, r && md(Bd(e, S, S, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
1093
1093
  break;
1094
- default: Rd(C, S, S, S, [""], x, 0, s, x);
1094
+ default: zd(C, S, S, S, [""], x, 0, s, x);
1095
1095
  }
1096
1096
  }
1097
1097
  }
1098
1098
  l = u = p = 0, h = _ = 1, y = C = "", d = o;
1099
1099
  break;
1100
- case 58: d = 1 + dd(C), p = m;
1100
+ case 58: d = 1 + fd(C), p = m;
1101
1101
  default:
1102
1102
  if (h < 1) {
1103
1103
  if (v == 123) --h;
1104
- else if (v == 125 && h++ == 0 && Cd() == 125) continue;
1104
+ else if (v == 125 && h++ == 0 && wd() == 125) continue;
1105
1105
  }
1106
- switch (C += id(v), v * h) {
1106
+ switch (C += ad(v), v * h) {
1107
1107
  case 38:
1108
1108
  _ = u > 0 ? 1 : (C += "\f", -1);
1109
1109
  break;
1110
1110
  case 44:
1111
- s[l++] = (dd(C) - 1) * _, _ = 1;
1111
+ s[l++] = (fd(C) - 1) * _, _ = 1;
1112
1112
  break;
1113
1113
  case 64:
1114
- Td() === 45 && (C += jd(wd())), f = Td(), u = d = dd(y = C += Id(Ed())), v++;
1114
+ Ed() === 45 && (C += Md(Td())), f = Ed(), u = d = fd(y = C += Ld(Dd())), v++;
1115
1115
  break;
1116
- case 45: m === 45 && dd(C) == 2 && (h = 0);
1116
+ case 45: m === 45 && fd(C) == 2 && (h = 0);
1117
1117
  }
1118
1118
  }
1119
1119
  return a;
1120
1120
  }
1121
- function zd(e, t, n, r, i, a, o, s, c, l, u) {
1122
- for (var d = i - 1, f = i === 0 ? a : [""], p = fd(f), m = 0, h = 0, g = 0; m < r; ++m) for (var _ = 0, v = ud(e, d + 1, d = rd(h = o[m])), y = e; _ < p; ++_) (y = sd(h > 0 ? f[_] + " " + v : G(v, /&\f/g, f[_]))) && (c[g++] = y);
1123
- return bd(e, t, n, i === 0 ? Qu : s, c, l, u);
1121
+ function Bd(e, t, n, r, i, a, o, s, c, l, u) {
1122
+ for (var d = i - 1, f = i === 0 ? a : [""], p = pd(f), m = 0, h = 0, g = 0; m < r; ++m) for (var _ = 0, v = dd(e, d + 1, d = id(h = o[m])), y = e; _ < p; ++_) (y = cd(h > 0 ? f[_] + " " + v : W(v, /&\f/g, f[_]))) && (c[g++] = y);
1123
+ return xd(e, t, n, i === 0 ? $u : s, c, l, u);
1124
1124
  }
1125
- function Bd(e, t, n) {
1126
- return bd(e, t, n, Zu, id(Sd()), ud(e, 2, -2), 0);
1125
+ function Vd(e, t, n) {
1126
+ return xd(e, t, n, Qu, ad(Cd()), dd(e, 2, -2), 0);
1127
1127
  }
1128
- function Vd(e, t, n, r) {
1129
- return bd(e, t, n, $u, ud(e, 0, r), ud(e, r + 1, -1), r);
1128
+ function Hd(e, t, n, r) {
1129
+ return xd(e, t, n, ed, dd(e, 0, r), dd(e, r + 1, -1), r);
1130
1130
  }
1131
1131
  //#endregion
1132
1132
  //#region node_modules/@emotion/cache/node_modules/stylis/src/Serializer.js
1133
- function Hd(e, t) {
1134
- for (var n = "", r = fd(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
1133
+ function Ud(e, t) {
1134
+ for (var n = "", r = pd(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
1135
1135
  return n;
1136
1136
  }
1137
- function Ud(e, t, n, r) {
1137
+ function Wd(e, t, n, r) {
1138
1138
  switch (e.type) {
1139
- case nd: if (e.children.length) break;
1140
- case ed:
1141
- case $u: return e.return = e.return || e.value;
1142
- case Zu: return "";
1143
- case td: return e.return = e.value + "{" + Hd(e.children, r) + "}";
1144
- case Qu: e.value = e.props.join(",");
1139
+ case rd: if (e.children.length) break;
1140
+ case td:
1141
+ case ed: return e.return = e.return || e.value;
1142
+ case Qu: return "";
1143
+ case nd: return e.return = e.value + "{" + Ud(e.children, r) + "}";
1144
+ case $u: e.value = e.props.join(",");
1145
1145
  }
1146
- return dd(n = Hd(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1146
+ return fd(n = Ud(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1147
1147
  }
1148
1148
  //#endregion
1149
1149
  //#region node_modules/@emotion/cache/node_modules/stylis/src/Middleware.js
1150
- function Wd(e) {
1151
- var t = fd(e);
1150
+ function Gd(e) {
1151
+ var t = pd(e);
1152
1152
  return function(n, r, i, a) {
1153
1153
  for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
1154
1154
  return o;
1155
1155
  };
1156
1156
  }
1157
- function Gd(e) {
1157
+ function Kd(e) {
1158
1158
  return function(t) {
1159
1159
  t.root || (t = t.return) && e(t);
1160
1160
  };
1161
1161
  }
1162
1162
  //#endregion
1163
1163
  //#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
1164
- var Kd = function(e, t, n) {
1165
- for (var r = 0, i = 0; r = i, i = Td(), r === 38 && i === 12 && (t[n] = 1), !Od(i);) wd();
1166
- return Dd(e, vd);
1167
- }, qd = function(e, t) {
1164
+ var qd = function(e, t, n) {
1165
+ for (var r = 0, i = 0; r = i, i = Ed(), r === 38 && i === 12 && (t[n] = 1), !kd(i);) Td();
1166
+ return Od(e, yd);
1167
+ }, Jd = function(e, t) {
1168
1168
  var n = -1, r = 44;
1169
1169
  do
1170
- switch (Od(r)) {
1170
+ switch (kd(r)) {
1171
1171
  case 0:
1172
- r === 38 && Td() === 12 && (t[n] = 1), e[n] += Kd(vd - 1, t, n);
1172
+ r === 38 && Ed() === 12 && (t[n] = 1), e[n] += qd(yd - 1, t, n);
1173
1173
  break;
1174
1174
  case 2:
1175
- e[n] += jd(r);
1175
+ e[n] += Md(r);
1176
1176
  break;
1177
1177
  case 4: if (r === 44) {
1178
- e[++n] = Td() === 58 ? "&\f" : "", t[n] = e[n].length;
1178
+ e[++n] = Ed() === 58 ? "&\f" : "", t[n] = e[n].length;
1179
1179
  break;
1180
1180
  }
1181
- default: e[n] += id(r);
1181
+ default: e[n] += ad(r);
1182
1182
  }
1183
- while (r = wd());
1183
+ while (r = Td());
1184
1184
  return e;
1185
- }, Jd = function(e, t) {
1186
- return Ad(qd(kd(e), t));
1187
- }, Yd = /* #__PURE__ */ new WeakMap(), Xd = function(e) {
1185
+ }, Yd = function(e, t) {
1186
+ return jd(Jd(Ad(e), t));
1187
+ }, Xd = /* #__PURE__ */ new WeakMap(), Zd = function(e) {
1188
1188
  if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
1189
1189
  for (var t = e.value, n = e.parent, r = e.column === n.column && e.line === n.line; n.type !== "rule";) if (n = n.parent, !n) return;
1190
- if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !Yd.get(n)) && !r) {
1191
- Yd.set(e, !0);
1192
- for (var i = [], a = Jd(t, i), o = n.props, s = 0, c = 0; s < a.length; s++) for (var l = 0; l < o.length; l++, c++) e.props[c] = i[s] ? a[s].replace(/&\f/g, o[l]) : o[l] + " " + a[s];
1190
+ if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !Xd.get(n)) && !r) {
1191
+ Xd.set(e, !0);
1192
+ for (var i = [], a = Yd(t, i), o = n.props, s = 0, c = 0; s < a.length; s++) for (var l = 0; l < o.length; l++, c++) e.props[c] = i[s] ? a[s].replace(/&\f/g, o[l]) : o[l] + " " + a[s];
1193
1193
  }
1194
1194
  }
1195
- }, Zd = function(e) {
1195
+ }, Qd = function(e) {
1196
1196
  if (e.type === "decl") {
1197
1197
  var t = e.value;
1198
1198
  t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
1199
1199
  }
1200
1200
  };
1201
- function Qd(e, t) {
1202
- switch (od(e, t)) {
1203
- case 5103: return W + "print-" + e + e;
1201
+ function $d(e, t) {
1202
+ switch (sd(e, t)) {
1203
+ case 5103: return U + "print-" + e + e;
1204
1204
  case 5737:
1205
1205
  case 4201:
1206
1206
  case 3177:
@@ -1225,30 +1225,30 @@ function Qd(e, t) {
1225
1225
  case 5109:
1226
1226
  case 5365:
1227
1227
  case 5621:
1228
- case 3829: return W + e + e;
1228
+ case 3829: return U + e + e;
1229
1229
  case 5349:
1230
1230
  case 4246:
1231
1231
  case 4810:
1232
1232
  case 6968:
1233
- case 2756: return W + e + Xu + e + U + e + e;
1233
+ case 2756: return U + e + Zu + e + Xu + e + e;
1234
1234
  case 6828:
1235
- case 4268: return W + e + U + e + e;
1236
- case 6165: return W + e + U + "flex-" + e + e;
1237
- case 5187: return W + e + G(e, /(\w+).+(:[^]+)/, W + "box-$1$2" + U + "flex-$1$2") + e;
1238
- case 5443: return W + e + U + "flex-item-" + G(e, /flex-|-self/, "") + e;
1239
- case 4675: return W + e + U + "flex-line-pack" + G(e, /align-content|flex-|-self/, "") + e;
1240
- case 5548: return W + e + U + G(e, "shrink", "negative") + e;
1241
- case 5292: return W + e + U + G(e, "basis", "preferred-size") + e;
1242
- case 6060: return W + "box-" + G(e, "-grow", "") + W + e + U + G(e, "grow", "positive") + e;
1243
- case 4554: return W + G(e, /([^-])(transform)/g, "$1" + W + "$2") + e;
1244
- case 6187: return G(G(G(e, /(zoom-|grab)/, W + "$1"), /(image-set)/, W + "$1"), e, "") + e;
1235
+ case 4268: return U + e + Xu + e + e;
1236
+ case 6165: return U + e + Xu + "flex-" + e + e;
1237
+ case 5187: return U + e + W(e, /(\w+).+(:[^]+)/, U + "box-$1$2" + Xu + "flex-$1$2") + e;
1238
+ case 5443: return U + e + Xu + "flex-item-" + W(e, /flex-|-self/, "") + e;
1239
+ case 4675: return U + e + Xu + "flex-line-pack" + W(e, /align-content|flex-|-self/, "") + e;
1240
+ case 5548: return U + e + Xu + W(e, "shrink", "negative") + e;
1241
+ case 5292: return U + e + Xu + W(e, "basis", "preferred-size") + e;
1242
+ case 6060: return U + "box-" + W(e, "-grow", "") + U + e + Xu + W(e, "grow", "positive") + e;
1243
+ case 4554: return U + W(e, /([^-])(transform)/g, "$1" + U + "$2") + e;
1244
+ case 6187: return W(W(W(e, /(zoom-|grab)/, U + "$1"), /(image-set)/, U + "$1"), e, "") + e;
1245
1245
  case 5495:
1246
- case 3959: return G(e, /(image-set\([^]*)/, W + "$1$`$1");
1247
- case 4968: return G(G(e, /(.+:)(flex-)?(.*)/, W + "box-pack:$3" + U + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + W + e + e;
1246
+ case 3959: return W(e, /(image-set\([^]*)/, U + "$1$`$1");
1247
+ case 4968: return W(W(e, /(.+:)(flex-)?(.*)/, U + "box-pack:$3" + Xu + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + U + e + e;
1248
1248
  case 4095:
1249
1249
  case 3583:
1250
1250
  case 4068:
1251
- case 2532: return G(e, /(.+)-inline(.+)/, W + "$1$2") + e;
1251
+ case 2532: return W(e, /(.+)-inline(.+)/, U + "$1$2") + e;
1252
1252
  case 8116:
1253
1253
  case 7059:
1254
1254
  case 5753:
@@ -1261,49 +1261,49 @@ function Qd(e, t) {
1261
1261
  case 5789:
1262
1262
  case 5021:
1263
1263
  case 4765:
1264
- if (dd(e) - 1 - t > 6) switch (K(e, t + 1)) {
1265
- case 109: if (K(e, t + 4) !== 45) break;
1266
- case 102: return G(e, /(.+:)(.+)-([^]+)/, "$1" + W + "$2-$3$1" + Xu + (K(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1267
- case 115: return ~ld(e, "stretch") ? Qd(G(e, "stretch", "fill-available"), t) + e : e;
1264
+ if (fd(e) - 1 - t > 6) switch (G(e, t + 1)) {
1265
+ case 109: if (G(e, t + 4) !== 45) break;
1266
+ case 102: return W(e, /(.+:)(.+)-([^]+)/, "$1" + U + "$2-$3$1" + Zu + (G(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1267
+ case 115: return ~ud(e, "stretch") ? $d(W(e, "stretch", "fill-available"), t) + e : e;
1268
1268
  }
1269
1269
  break;
1270
- case 4949: if (K(e, t + 1) !== 115) break;
1270
+ case 4949: if (G(e, t + 1) !== 115) break;
1271
1271
  case 6444:
1272
- switch (K(e, dd(e) - 3 - (~ld(e, "!important") && 10))) {
1273
- case 107: return G(e, ":", ":" + W) + e;
1274
- case 101: return G(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + W + (K(e, 14) === 45 ? "inline-" : "") + "box$3$1" + W + "$2$3$1" + U + "$2box$3") + e;
1272
+ switch (G(e, fd(e) - 3 - (~ud(e, "!important") && 10))) {
1273
+ case 107: return W(e, ":", ":" + U) + e;
1274
+ case 101: return W(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + U + (G(e, 14) === 45 ? "inline-" : "") + "box$3$1" + U + "$2$3$1" + Xu + "$2box$3") + e;
1275
1275
  }
1276
1276
  break;
1277
1277
  case 5936:
1278
- switch (K(e, t + 11)) {
1279
- case 114: return W + e + U + G(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1280
- case 108: return W + e + U + G(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1281
- case 45: return W + e + U + G(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1278
+ switch (G(e, t + 11)) {
1279
+ case 114: return U + e + Xu + W(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1280
+ case 108: return U + e + Xu + W(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1281
+ case 45: return U + e + Xu + W(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1282
1282
  }
1283
- return W + e + U + e + e;
1283
+ return U + e + Xu + e + e;
1284
1284
  }
1285
1285
  return e;
1286
1286
  }
1287
- var $d = [function(e, t, n, r) {
1287
+ var ef = [function(e, t, n, r) {
1288
1288
  if (e.length > -1 && !e.return) switch (e.type) {
1289
- case $u:
1290
- e.return = Qd(e.value, e.length);
1289
+ case ed:
1290
+ e.return = $d(e.value, e.length);
1291
1291
  break;
1292
- case td: return Hd([xd(e, { value: G(e.value, "@", "@" + W) })], r);
1293
- case Qu: if (e.length) return md(e.props, function(t) {
1294
- switch (cd(t, /(::plac\w+|:read-\w+)/)) {
1292
+ case nd: return Ud([Sd(e, { value: W(e.value, "@", "@" + U) })], r);
1293
+ case $u: if (e.length) return hd(e.props, function(t) {
1294
+ switch (ld(t, /(::plac\w+|:read-\w+)/)) {
1295
1295
  case ":read-only":
1296
- case ":read-write": return Hd([xd(e, { props: [G(t, /:(read-\w+)/, ":" + Xu + "$1")] })], r);
1297
- case "::placeholder": return Hd([
1298
- xd(e, { props: [G(t, /:(plac\w+)/, ":" + W + "input-$1")] }),
1299
- xd(e, { props: [G(t, /:(plac\w+)/, ":" + Xu + "$1")] }),
1300
- xd(e, { props: [G(t, /:(plac\w+)/, U + "input-$1")] })
1296
+ case ":read-write": return Ud([Sd(e, { props: [W(t, /:(read-\w+)/, ":" + Zu + "$1")] })], r);
1297
+ case "::placeholder": return Ud([
1298
+ Sd(e, { props: [W(t, /:(plac\w+)/, ":" + U + "input-$1")] }),
1299
+ Sd(e, { props: [W(t, /:(plac\w+)/, ":" + Zu + "$1")] }),
1300
+ Sd(e, { props: [W(t, /:(plac\w+)/, Xu + "input-$1")] })
1301
1301
  ], r);
1302
1302
  }
1303
1303
  return "";
1304
1304
  });
1305
1305
  }
1306
- }], ef = function(e) {
1306
+ }], tf = function(e) {
1307
1307
  var t = e.key;
1308
1308
  if (t === "css") {
1309
1309
  var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -1311,15 +1311,15 @@ var $d = [function(e, t, n, r) {
1311
1311
  e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
1312
1312
  });
1313
1313
  }
1314
- var r = e.stylisPlugins || $d, i = {}, a, o = [];
1314
+ var r = e.stylisPlugins || ef, i = {}, a, o = [];
1315
1315
  a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
1316
1316
  for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
1317
1317
  o.push(e);
1318
1318
  });
1319
- var s, c = [Xd, Zd], l, u = [Ud, Gd(function(e) {
1319
+ var s, c = [Zd, Qd], l, u = [Wd, Kd(function(e) {
1320
1320
  l.insert(e);
1321
- })], d = Wd(c.concat(r, u)), f = function(e) {
1322
- return Hd(Ld(e), d);
1321
+ })], d = Gd(c.concat(r, u)), f = function(e) {
1322
+ return Ud(Rd(e), d);
1323
1323
  };
1324
1324
  s = function(e, t, n, r) {
1325
1325
  l = n, f(e ? e + "{" + t.styles + "}" : t.styles), r && (p.inserted[t.name] = !0);
@@ -1340,55 +1340,55 @@ var $d = [function(e, t, n, r) {
1340
1340
  insert: s
1341
1341
  };
1342
1342
  return p.sheet.hydrate(o), p;
1343
- }, J = (e) => typeof e == "string", tf = () => {
1343
+ }, q = (e) => typeof e == "string", nf = () => {
1344
1344
  let e, t, n = new Promise((n, r) => {
1345
1345
  e = n, t = r;
1346
1346
  });
1347
1347
  return n.resolve = e, n.reject = t, n;
1348
- }, nf = (e) => e == null ? "" : String(e), rf = (e, t, n) => {
1348
+ }, rf = (e) => e == null ? "" : String(e), af = (e, t, n) => {
1349
1349
  e.forEach((e) => {
1350
1350
  t[e] && (n[e] = t[e]);
1351
1351
  });
1352
- }, af = /###/g, of = (e) => e && e.includes("###") ? e.replace(af, ".") : e, sf = (e) => !e || J(e), cf = (e, t, n) => {
1353
- let r = J(t) ? t.split(".") : t, i = 0;
1352
+ }, of = /###/g, sf = (e) => e && e.includes("###") ? e.replace(of, ".") : e, cf = (e) => !e || q(e), lf = (e, t, n) => {
1353
+ let r = q(t) ? t.split(".") : t, i = 0;
1354
1354
  for (; i < r.length - 1;) {
1355
- if (sf(e)) return {};
1356
- let t = of(r[i]);
1355
+ if (cf(e)) return {};
1356
+ let t = sf(r[i]);
1357
1357
  !e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
1358
1358
  }
1359
- return sf(e) ? {} : {
1359
+ return cf(e) ? {} : {
1360
1360
  obj: e,
1361
- k: of(r[i])
1361
+ k: sf(r[i])
1362
1362
  };
1363
- }, lf = (e, t, n) => {
1364
- let { obj: r, k: i } = cf(e, t, Object);
1363
+ }, uf = (e, t, n) => {
1364
+ let { obj: r, k: i } = lf(e, t, Object);
1365
1365
  if (r !== void 0 || t.length === 1) {
1366
1366
  r[i] = n;
1367
1367
  return;
1368
1368
  }
1369
- let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = cf(e, o, Object);
1370
- for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = cf(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
1369
+ let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = lf(e, o, Object);
1370
+ for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = lf(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
1371
1371
  s.obj[`${s.k}.${a}`] = n;
1372
- }, uf = (e, t, n, r) => {
1373
- let { obj: i, k: a } = cf(e, t, Object);
1372
+ }, df = (e, t, n, r) => {
1373
+ let { obj: i, k: a } = lf(e, t, Object);
1374
1374
  i[a] = i[a] || [], i[a].push(n);
1375
- }, df = (e, t) => {
1376
- let { obj: n, k: r } = cf(e, t);
1375
+ }, ff = (e, t) => {
1376
+ let { obj: n, k: r } = lf(e, t);
1377
1377
  if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
1378
- }, ff = (e, t, n) => {
1379
- let r = df(e, n);
1380
- return r === void 0 ? df(t, n) : r;
1381
1378
  }, pf = (e, t, n) => {
1382
- for (let r in t) r !== "__proto__" && r !== "constructor" && (Object.prototype.hasOwnProperty.call(e, r) ? J(e[r]) || e[r] instanceof String || J(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : pf(e[r], t[r], n) : e[r] = t[r]);
1379
+ let r = ff(e, n);
1380
+ return r === void 0 ? ff(t, n) : r;
1381
+ }, mf = (e, t, n) => {
1382
+ for (let r in t) r !== "__proto__" && r !== "constructor" && (Object.prototype.hasOwnProperty.call(e, r) ? q(e[r]) || e[r] instanceof String || q(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : mf(e[r], t[r], n) : e[r] = t[r]);
1383
1383
  return e;
1384
- }, mf = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), hf = {
1384
+ }, hf = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), gf = {
1385
1385
  "&": "&amp;",
1386
1386
  "<": "&lt;",
1387
1387
  ">": "&gt;",
1388
1388
  "\"": "&quot;",
1389
1389
  "'": "&#39;",
1390
1390
  "/": "&#x2F;"
1391
- }, gf = (e) => J(e) ? e.replace(/[&<>"'\/]/g, (e) => hf[e]) : e, _f = class {
1391
+ }, _f = (e) => q(e) ? e.replace(/[&<>"'\/]/g, (e) => gf[e]) : e, vf = class {
1392
1392
  constructor(e) {
1393
1393
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
1394
1394
  }
@@ -1398,23 +1398,23 @@ var $d = [function(e, t, n, r) {
1398
1398
  let n = new RegExp(e);
1399
1399
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
1400
1400
  }
1401
- }, vf = [
1401
+ }, yf = [
1402
1402
  " ",
1403
1403
  ",",
1404
1404
  "?",
1405
1405
  "!",
1406
1406
  ";"
1407
- ], yf = new _f(20), bf = (e, t, n) => {
1407
+ ], bf = new vf(20), xf = (e, t, n) => {
1408
1408
  t ||= "", n ||= "";
1409
- let r = vf.filter((e) => !t.includes(e) && !n.includes(e));
1409
+ let r = yf.filter((e) => !t.includes(e) && !n.includes(e));
1410
1410
  if (r.length === 0) return !0;
1411
- let i = yf.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
1411
+ let i = bf.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
1412
1412
  if (!a) {
1413
1413
  let t = e.indexOf(n);
1414
1414
  t > 0 && !i.test(e.substring(0, t)) && (a = !0);
1415
1415
  }
1416
1416
  return a;
1417
- }, xf = (e, t, n = ".") => {
1417
+ }, Sf = (e, t, n = ".") => {
1418
1418
  if (!e) return;
1419
1419
  if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
1420
1420
  let r = t.split(n), i = e;
@@ -1433,7 +1433,7 @@ var $d = [function(e, t, n, r) {
1433
1433
  i = t;
1434
1434
  }
1435
1435
  return i;
1436
- }, Sf = (e) => e?.replace(/_/g, "-"), Cf = {
1436
+ }, Cf = (e) => e?.replace(/_/g, "-"), wf = {
1437
1437
  type: "logger",
1438
1438
  log(e) {
1439
1439
  this.output("log", e);
@@ -1447,12 +1447,12 @@ var $d = [function(e, t, n, r) {
1447
1447
  output(e, t) {
1448
1448
  console?.[e]?.apply?.(console, t);
1449
1449
  }
1450
- }, wf = new class e {
1450
+ }, Tf = new class e {
1451
1451
  constructor(e, t = {}) {
1452
1452
  this.init(e, t);
1453
1453
  }
1454
1454
  init(e, t = {}) {
1455
- this.prefix = t.prefix || "i18next:", this.logger = e || Cf, this.options = t, this.debug = t.debug;
1455
+ this.prefix = t.prefix || "i18next:", this.logger = e || wf, this.options = t, this.debug = t.debug;
1456
1456
  }
1457
1457
  log(...e) {
1458
1458
  return this.forward(e, "log", "", !0);
@@ -1467,7 +1467,7 @@ var $d = [function(e, t, n, r) {
1467
1467
  return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
1468
1468
  }
1469
1469
  forward(e, t, n, r) {
1470
- return r && !this.debug ? null : (e = e.map((e) => J(e) ? e.replace(/[\r\n\x00-\x1F\x7F]/g, " ") : e), J(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
1470
+ return r && !this.debug ? null : (e = e.map((e) => q(e) ? e.replace(/[\r\n\x00-\x1F\x7F]/g, " ") : e), q(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
1471
1471
  }
1472
1472
  create(t) {
1473
1473
  return new e(this.logger, {
@@ -1478,7 +1478,7 @@ var $d = [function(e, t, n, r) {
1478
1478
  clone(t) {
1479
1479
  return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
1480
1480
  }
1481
- }(), Tf = class {
1481
+ }(), Ef = class {
1482
1482
  constructor() {
1483
1483
  this.observers = {};
1484
1484
  }
@@ -1511,7 +1511,7 @@ var $d = [function(e, t, n, r) {
1511
1511
  for (let i = 0; i < r; i++) n(e, ...t);
1512
1512
  });
1513
1513
  }
1514
- }, Ef = class extends Tf {
1514
+ }, Df = class extends Ef {
1515
1515
  constructor(e, t = {
1516
1516
  ns: ["translation"],
1517
1517
  defaultNS: "translation"
@@ -1527,16 +1527,16 @@ var $d = [function(e, t, n, r) {
1527
1527
  }
1528
1528
  getResource(e, t, n, r = {}) {
1529
1529
  let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
1530
- e.includes(".") ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : J(n) && i ? o.push(...n.split(i)) : o.push(n)));
1531
- let s = df(this.data, o);
1532
- return !s && !t && !n && e.includes(".") && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !J(n) ? s : xf(this.data?.[e]?.[t], n, i);
1530
+ e.includes(".") ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : q(n) && i ? o.push(...n.split(i)) : o.push(n)));
1531
+ let s = ff(this.data, o);
1532
+ return !s && !t && !n && e.includes(".") && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !q(n) ? s : Sf(this.data?.[e]?.[t], n, i);
1533
1533
  }
1534
1534
  addResource(e, t, n, r, i = { silent: !1 }) {
1535
1535
  let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
1536
- n && (o = o.concat(a ? n.split(a) : n)), e.includes(".") && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), lf(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
1536
+ n && (o = o.concat(a ? n.split(a) : n)), e.includes(".") && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), uf(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
1537
1537
  }
1538
1538
  addResources(e, t, n, r = { silent: !1 }) {
1539
- for (let r in n) (J(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
1539
+ for (let r in n) (q(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
1540
1540
  r.silent || this.emit("added", e, t, n);
1541
1541
  }
1542
1542
  addResourceBundle(e, t, n, r, i, a = {
@@ -1545,11 +1545,11 @@ var $d = [function(e, t, n, r) {
1545
1545
  }) {
1546
1546
  let o = [e, t];
1547
1547
  e.includes(".") && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
1548
- let s = df(this.data, o) || {};
1549
- a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? pf(s, n, i) : s = {
1548
+ let s = ff(this.data, o) || {};
1549
+ a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? mf(s, n, i) : s = {
1550
1550
  ...s,
1551
1551
  ...n
1552
- }, lf(this.data, o, s), a.silent || this.emit("added", e, t, n);
1552
+ }, uf(this.data, o, s), a.silent || this.emit("added", e, t, n);
1553
1553
  }
1554
1554
  removeResourceBundle(e, t) {
1555
1555
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -1570,7 +1570,7 @@ var $d = [function(e, t, n, r) {
1570
1570
  toJSON() {
1571
1571
  return this.data;
1572
1572
  }
1573
- }, Df = {
1573
+ }, Of = {
1574
1574
  processors: {},
1575
1575
  addPostProcessor(e) {
1576
1576
  this.processors[e.name] = e;
@@ -1580,22 +1580,22 @@ var $d = [function(e, t, n, r) {
1580
1580
  t = this.processors[e]?.process(t, n, r, i) ?? t;
1581
1581
  }), t;
1582
1582
  }
1583
- }, Of = Symbol("i18next/PATH_KEY");
1584
- function kf() {
1583
+ }, kf = Symbol("i18next/PATH_KEY");
1584
+ function Af() {
1585
1585
  let e = [], t = Object.create(null), n;
1586
- return t.get = (r, i) => (n?.revoke?.(), i === Of ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
1586
+ return t.get = (r, i) => (n?.revoke?.(), i === kf ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
1587
1587
  }
1588
- function Af(e, t) {
1589
- let { [Of]: n } = e(kf()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":", a = t?.enableSelector === "strict";
1588
+ function jf(e, t) {
1589
+ let { [kf]: n } = e(Af()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":", a = t?.enableSelector === "strict";
1590
1590
  if (n.length > 1 && i) {
1591
1591
  let e = t?.ns, o = a ? Array.isArray(e) ? e : e ? [e] : null : Array.isArray(e) ? e : null;
1592
1592
  if (o && (a ? o : o.length > 1 ? o.slice(1) : []).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
1593
1593
  }
1594
1594
  return n.join(r);
1595
1595
  }
1596
- var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = class e extends Tf {
1596
+ var Mf = (e) => !q(e) && typeof e != "boolean" && typeof e != "number", Nf = class e extends Ef {
1597
1597
  constructor(e, t = {}) {
1598
- super(), rf([
1598
+ super(), af([
1599
1599
  "resourceStore",
1600
1600
  "languageUtils",
1601
1601
  "pluralResolver",
@@ -1603,7 +1603,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1603
1603
  "backendConnector",
1604
1604
  "i18nFormat",
1605
1605
  "utils"
1606
- ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = wf.create("translator"), this.checkedLoadedFor = {};
1606
+ ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Tf.create("translator"), this.checkedLoadedFor = {};
1607
1607
  }
1608
1608
  changeLanguage(e) {
1609
1609
  e && (this.language = e);
@@ -1613,34 +1613,34 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1613
1613
  if (e == null) return !1;
1614
1614
  let r = this.resolve(e, n);
1615
1615
  if (r?.res === void 0) return !1;
1616
- let i = jf(r.res);
1616
+ let i = Mf(r.res);
1617
1617
  return !(n.returnObjects === !1 && i);
1618
1618
  }
1619
1619
  extractFromKey(e, t) {
1620
1620
  let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
1621
1621
  n === void 0 && (n = ":");
1622
- let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.includes(n), o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !bf(e, n, r);
1622
+ let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.includes(n), o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !xf(e, n, r);
1623
1623
  if (a && !o) {
1624
1624
  let t = e.match(this.interpolator.nestingRegexp);
1625
1625
  if (t && t.length > 0) return {
1626
1626
  key: e,
1627
- namespaces: J(i) ? [i] : i
1627
+ namespaces: q(i) ? [i] : i
1628
1628
  };
1629
1629
  let a = e.split(n);
1630
1630
  (n !== r || n === r && this.options.ns.includes(a[0])) && (i = a.shift()), e = a.join(r);
1631
1631
  }
1632
1632
  return {
1633
1633
  key: e,
1634
- namespaces: J(i) ? [i] : i
1634
+ namespaces: q(i) ? [i] : i
1635
1635
  };
1636
1636
  }
1637
1637
  translate(t, n, r) {
1638
1638
  let i = typeof n == "object" ? { ...n } : n;
1639
1639
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
1640
- typeof t == "function" && (t = Af(t, {
1640
+ typeof t == "function" && (t = jf(t, {
1641
1641
  ...this.options,
1642
1642
  ...i
1643
- })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? Af(e, {
1643
+ })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? jf(e, {
1644
1644
  ...this.options,
1645
1645
  ...i
1646
1646
  }) : String(e));
@@ -1666,10 +1666,10 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1666
1666
  "[object Number]",
1667
1667
  "[object Function]",
1668
1668
  "[object RegExp]"
1669
- ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !J(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
1669
+ ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !q(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
1670
1670
  y && !m && x && (E = T);
1671
- let D = jf(E), ee = Object.prototype.toString.apply(E);
1672
- if (y && E && D && !_.includes(ee) && !(J(v) && Array.isArray(E))) {
1671
+ let D = Mf(E), ee = Object.prototype.toString.apply(E);
1672
+ if (y && E && D && !_.includes(ee) && !(q(v) && Array.isArray(E))) {
1673
1673
  if (!i.returnObjects && !this.options.returnObjects) {
1674
1674
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
1675
1675
  let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, E, {
@@ -1684,7 +1684,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1684
1684
  let r = `${n}${o}${e}`;
1685
1685
  t[e] = x && !m ? this.translate(r, {
1686
1686
  ...i,
1687
- defaultValue: jf(T) ? T[e] : void 0,
1687
+ defaultValue: Mf(T) ? T[e] : void 0,
1688
1688
  joinArrays: !1,
1689
1689
  ns: c
1690
1690
  }) : this.translate(r, {
@@ -1695,7 +1695,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1695
1695
  }
1696
1696
  m = t;
1697
1697
  }
1698
- } else if (y && J(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
1698
+ } else if (y && q(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
1699
1699
  else {
1700
1700
  let e = !1, n = !1;
1701
1701
  !this.isValidLookup(m) && x && (e = !0, m = T), this.isValidLookup(m) || (n = !0, m = s);
@@ -1739,12 +1739,12 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1739
1739
  ...n.interpolation
1740
1740
  }
1741
1741
  });
1742
- let a = J(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
1742
+ let a = q(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
1743
1743
  if (a) {
1744
1744
  let t = e.match(this.interpolator.nestingRegexp);
1745
1745
  o = t && t.length;
1746
1746
  }
1747
- let s = n.replace && !J(n.replace) ? n.replace : n;
1747
+ let s = n.replace && !q(n.replace) ? n.replace : n;
1748
1748
  if (this.options.interpolation.defaultVariables && (s = {
1749
1749
  ...this.options.interpolation.defaultVariables,
1750
1750
  ...s
@@ -1754,8 +1754,8 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1754
1754
  }
1755
1755
  !n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
1756
1756
  }
1757
- let a = n.postProcess || this.options.postProcess, o = J(a) ? [a] : a;
1758
- return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Df.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
1757
+ let a = n.postProcess || this.options.postProcess, o = q(a) ? [a] : a;
1758
+ return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Of.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
1759
1759
  i18nResolved: {
1760
1760
  ...r,
1761
1761
  usedParams: this.getUsedParamsDetails(n)
@@ -1765,7 +1765,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1765
1765
  }
1766
1766
  resolve(e, t = {}) {
1767
1767
  let n, r, i, a, o;
1768
- return J(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? Af(e, {
1768
+ return q(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? jf(e, {
1769
1769
  ...this.options,
1770
1770
  ...t
1771
1771
  }) : e)), e.forEach((e) => {
@@ -1774,7 +1774,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1774
1774
  r = c;
1775
1775
  let l = s.namespaces;
1776
1776
  this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
1777
- let u = t.count !== void 0 && !J(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (J(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
1777
+ let u = t.count !== void 0 && !q(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (q(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
1778
1778
  l.forEach((e) => {
1779
1779
  this.isValidLookup(n) || (o = e, !this.checkedLoadedFor[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (this.checkedLoadedFor[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
1780
1780
  if (this.isValidLookup(n)) return;
@@ -1825,7 +1825,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1825
1825
  "joinArrays",
1826
1826
  "postProcess",
1827
1827
  "interpolation"
1828
- ], n = e.replace && !J(e.replace), r = n ? e.replace : e;
1828
+ ], n = e.replace && !q(e.replace), r = n ? e.replace : e;
1829
1829
  if (n && e.count !== void 0 && (r = {
1830
1830
  ...r,
1831
1831
  count: e.count
@@ -1842,22 +1842,22 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1842
1842
  for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.startsWith("defaultValue") && e[t] !== void 0) return !0;
1843
1843
  return !1;
1844
1844
  }
1845
- }, Nf = class {
1845
+ }, Pf = class {
1846
1846
  constructor(e) {
1847
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = wf.create("languageUtils");
1847
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Tf.create("languageUtils");
1848
1848
  }
1849
1849
  getScriptPartFromCode(e) {
1850
- if (e = Sf(e), !e || !e.includes("-")) return null;
1850
+ if (e = Cf(e), !e || !e.includes("-")) return null;
1851
1851
  let t = e.split("-");
1852
1852
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
1853
1853
  }
1854
1854
  getLanguagePartFromCode(e) {
1855
- if (e = Sf(e), !e || !e.includes("-")) return e;
1855
+ if (e = Cf(e), !e || !e.includes("-")) return e;
1856
1856
  let t = e.split("-");
1857
1857
  return this.formatLanguageCode(t[0]);
1858
1858
  }
1859
1859
  formatLanguageCode(e) {
1860
- if (J(e) && e.includes("-")) {
1860
+ if (q(e) && e.includes("-")) {
1861
1861
  let t;
1862
1862
  try {
1863
1863
  t = Intl.getCanonicalLocales(e)[0];
@@ -1887,7 +1887,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1887
1887
  }
1888
1888
  getFallbackCodes(e, t) {
1889
1889
  if (!e) return [];
1890
- if (typeof e == "function" && (e = e(t)), J(e) && (e = [e]), Array.isArray(e)) return e;
1890
+ if (typeof e == "function" && (e = e(t)), q(e) && (e = [e]), Array.isArray(e)) return e;
1891
1891
  if (!t) return e.default || [];
1892
1892
  let n = e[t];
1893
1893
  return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
@@ -1896,29 +1896,29 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1896
1896
  let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
1897
1897
  e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
1898
1898
  };
1899
- return J(e) && (e.includes("-") || e.includes("_")) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : J(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
1899
+ return q(e) && (e.includes("-") || e.includes("_")) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : q(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
1900
1900
  r.includes(e) || i(this.formatLanguageCode(e));
1901
1901
  }), r;
1902
1902
  }
1903
- }, Pf = {
1903
+ }, Ff = {
1904
1904
  zero: 0,
1905
1905
  one: 1,
1906
1906
  two: 2,
1907
1907
  few: 3,
1908
1908
  many: 4,
1909
1909
  other: 5
1910
- }, Ff = {
1910
+ }, If = {
1911
1911
  select: (e) => e === 1 ? "one" : "other",
1912
1912
  resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
1913
- }, If = class {
1913
+ }, Lf = class {
1914
1914
  constructor(e, t = {}) {
1915
- this.languageUtils = e, this.options = t, this.logger = wf.create("pluralResolver"), this.pluralRulesCache = {};
1915
+ this.languageUtils = e, this.options = t, this.logger = Tf.create("pluralResolver"), this.pluralRulesCache = {};
1916
1916
  }
1917
1917
  clearCache() {
1918
1918
  this.pluralRulesCache = {};
1919
1919
  }
1920
1920
  getRule(e, t = {}) {
1921
- let n = Sf(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
1921
+ let n = Cf(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
1922
1922
  cleanedCode: n,
1923
1923
  type: r
1924
1924
  });
@@ -1927,8 +1927,8 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1927
1927
  try {
1928
1928
  a = new Intl.PluralRules(n, { type: r });
1929
1929
  } catch {
1930
- if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), Ff;
1931
- if (!e.match(/-|_/)) return Ff;
1930
+ if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), If;
1931
+ if (!e.match(/-|_/)) return If;
1932
1932
  let n = this.languageUtils.getLanguagePartFromCode(e);
1933
1933
  a = this.getRule(n, t);
1934
1934
  }
@@ -1943,23 +1943,23 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1943
1943
  }
1944
1944
  getSuffixes(e, t = {}) {
1945
1945
  let n = this.getRule(e, t);
1946
- return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => Pf[e] - Pf[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
1946
+ return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => Ff[e] - Ff[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
1947
1947
  }
1948
1948
  getSuffix(e, t, n = {}) {
1949
1949
  let r = this.getRule(e, n);
1950
1950
  return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
1951
1951
  }
1952
- }, Lf = (e, t, n, r = ".", i = !0) => {
1953
- let a = ff(e, t, n);
1954
- return !a && i && J(n) && (a = xf(e, n, r), a === void 0 && (a = xf(t, n, r))), a;
1955
- }, Rf = (e) => e.replace(/\$/g, "$$$$"), zf = class {
1952
+ }, Rf = (e, t, n, r = ".", i = !0) => {
1953
+ let a = pf(e, t, n);
1954
+ return !a && i && q(n) && (a = Sf(e, n, r), a === void 0 && (a = Sf(t, n, r))), a;
1955
+ }, zf = (e) => e.replace(/\$/g, "$$$$"), Bf = class {
1956
1956
  constructor(e = {}) {
1957
- this.logger = wf.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
1957
+ this.logger = Tf.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
1958
1958
  }
1959
1959
  init(e = {}) {
1960
1960
  e.interpolation ||= { escapeValue: !0 };
1961
1961
  let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation;
1962
- this.escape = t === void 0 ? gf : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? mf(i) : a || "{{", this.suffix = o ? mf(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u ? mf(u) : "-", this.unescapeSuffix = this.unescapePrefix ? "" : l ? mf(l) : "", this.nestingPrefix = d ? mf(d) : f || mf("$t("), this.nestingSuffix = p ? mf(p) : m || mf(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ !== void 0 && _, this.resetRegExp();
1962
+ this.escape = t === void 0 ? _f : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? hf(i) : a || "{{", this.suffix = o ? hf(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u ? hf(u) : "-", this.unescapeSuffix = this.unescapePrefix ? "" : l ? hf(l) : "", this.nestingPrefix = d ? hf(d) : f || hf("$t("), this.nestingSuffix = p ? hf(p) : m || hf(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ !== void 0 && _, this.resetRegExp();
1963
1963
  }
1964
1964
  reset() {
1965
1965
  this.options && this.init(this.options);
@@ -1971,7 +1971,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1971
1971
  interpolate(e, t, n, r) {
1972
1972
  let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
1973
1973
  if (!e.includes(this.formatSeparator)) {
1974
- let i = Lf(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
1974
+ let i = Rf(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
1975
1975
  return this.alwaysFormat ? this.format(i, void 0, n, {
1976
1976
  ...r,
1977
1977
  ...t,
@@ -1979,7 +1979,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1979
1979
  }) : i;
1980
1980
  }
1981
1981
  let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
1982
- return this.format(Lf(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
1982
+ return this.format(Rf(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
1983
1983
  ...r,
1984
1984
  ...t,
1985
1985
  interpolationkey: a
@@ -1999,15 +1999,15 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
1999
1999
  if (a = c(n), a === void 0) {
2000
2000
  if (typeof l == "function") {
2001
2001
  let t = l(e, i, r);
2002
- a = J(t) ? t : "";
2002
+ a = q(t) ? t : "";
2003
2003
  } else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
2004
2004
  else if (u) {
2005
2005
  a = i[0];
2006
2006
  continue;
2007
2007
  } else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
2008
- } else !J(a) && !this.useRawValueToEscape && (a = nf(a));
2008
+ } else !q(a) && !this.useRawValueToEscape && (a = rf(a));
2009
2009
  let s = t.safeValue(a);
2010
- if (e = e.replace(i[0], Rf(s)), u ? (t.regex.lastIndex += s.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
2010
+ if (e = e.replace(i[0], zf(s)), u ? (t.regex.lastIndex += s.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
2011
2011
  }
2012
2012
  }), e;
2013
2013
  }
@@ -2015,7 +2015,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2015
2015
  let r, i, a, o = (e, t) => {
2016
2016
  let n = this.nestingOptionsSeparator;
2017
2017
  if (!e.includes(n)) return e;
2018
- let r = e.split(RegExp(`${mf(n)}[ ]*{`)), i = `{${r[1]}`;
2018
+ let r = e.split(RegExp(`${hf(n)}[ ]*{`)), i = `{${r[1]}`;
2019
2019
  e = r[0], i = this.interpolate(i, a);
2020
2020
  let o = i.match(/'/g), s = i.match(/"/g);
2021
2021
  ((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
@@ -2031,17 +2031,17 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2031
2031
  };
2032
2032
  for (; r = this.nestingRegexp.exec(e);) {
2033
2033
  let s = [];
2034
- a = { ...n }, a = a.replace && !J(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
2034
+ a = { ...n }, a = a.replace && !q(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
2035
2035
  let c = /{.*}/s.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
2036
- if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !J(i)) return i;
2037
- J(i) || (i = nf(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
2036
+ if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !q(i)) return i;
2037
+ q(i) || (i = rf(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
2038
2038
  ...n,
2039
2039
  interpolationkey: r[1].trim()
2040
2040
  }), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
2041
2041
  }
2042
2042
  return e;
2043
2043
  }
2044
- }, Bf = (e) => {
2044
+ }, Vf = (e) => {
2045
2045
  let t = e.toLowerCase().trim(), n = {};
2046
2046
  if (e.includes("(")) {
2047
2047
  let r = e.split("(");
@@ -2058,7 +2058,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2058
2058
  formatName: t,
2059
2059
  formatOptions: n
2060
2060
  };
2061
- }, Vf = (e) => {
2061
+ }, Hf = (e) => {
2062
2062
  let t = {};
2063
2063
  return (n, r, i) => {
2064
2064
  let a = i;
@@ -2067,15 +2067,15 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2067
2067
  [i.interpolationkey]: void 0
2068
2068
  });
2069
2069
  let o = r + JSON.stringify(a), s = t[o];
2070
- return s || (s = e(Sf(r), i), t[o] = s), s(n);
2070
+ return s || (s = e(Cf(r), i), t[o] = s), s(n);
2071
2071
  };
2072
- }, Hf = (e) => (t, n, r) => e(Sf(n), r)(t), Uf = class {
2072
+ }, Uf = (e) => (t, n, r) => e(Cf(n), r)(t), Wf = class {
2073
2073
  constructor(e = {}) {
2074
- this.logger = wf.create("formatter"), this.options = e, this.init(e);
2074
+ this.logger = Tf.create("formatter"), this.options = e, this.init(e);
2075
2075
  }
2076
2076
  init(e, t = { interpolation: {} }) {
2077
2077
  this.formatSeparator = t.interpolation.formatSeparator || ",";
2078
- let n = t.cacheInBuiltFormats ? Vf : Hf;
2078
+ let n = t.cacheInBuiltFormats ? Hf : Uf;
2079
2079
  this.formats = {
2080
2080
  number: n((e, t) => {
2081
2081
  let n = new Intl.NumberFormat(e, { ...t });
@@ -2106,7 +2106,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2106
2106
  this.formats[e.toLowerCase().trim()] = t;
2107
2107
  }
2108
2108
  addCached(e, t) {
2109
- this.formats[e.toLowerCase().trim()] = Vf(t);
2109
+ this.formats[e.toLowerCase().trim()] = Hf(t);
2110
2110
  }
2111
2111
  format(e, t, n, r = {}) {
2112
2112
  if (!t || e == null) return e;
@@ -2117,7 +2117,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2117
2117
  a.push(t);
2118
2118
  }
2119
2119
  return a.reduce((e, t) => {
2120
- let { formatName: i, formatOptions: a } = Bf(t);
2120
+ let { formatName: i, formatOptions: a } = Vf(t);
2121
2121
  if (this.formats[i]) {
2122
2122
  let t = e;
2123
2123
  try {
@@ -2135,11 +2135,11 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2135
2135
  return this.logger.warn(`there was no format function for ${i}`), e;
2136
2136
  }, e);
2137
2137
  }
2138
- }, Wf = (e, t) => {
2138
+ }, Gf = (e, t) => {
2139
2139
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
2140
- }, Gf = class extends Tf {
2140
+ }, Kf = class extends Ef {
2141
2141
  constructor(e, t, n, r = {}) {
2142
- super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = wf.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
2142
+ super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = Tf.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
2143
2143
  }
2144
2144
  queueLoad(e, t, n, r) {
2145
2145
  let i = {}, a = {}, o = {}, s = {};
@@ -2167,7 +2167,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2167
2167
  t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
2168
2168
  let o = {};
2169
2169
  this.queue.forEach((n) => {
2170
- uf(n.loaded, [i], a), Wf(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
2170
+ df(n.loaded, [i], a), Gf(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
2171
2171
  o[e] || (o[e] = {});
2172
2172
  let t = n.loaded[e];
2173
2173
  t.length && t.forEach((t) => {
@@ -2216,7 +2216,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2216
2216
  }
2217
2217
  prepareLoading(e, t, n = {}, r) {
2218
2218
  if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
2219
- J(e) && (e = this.languageUtils.toResolveHierarchy(e)), J(t) && (t = [t]);
2219
+ q(e) && (e = this.languageUtils.toResolveHierarchy(e)), q(t) && (t = [t]);
2220
2220
  let i = this.queueLoad(e, t, n, r);
2221
2221
  if (!i.toLoad.length) return i.pending.length || r(), null;
2222
2222
  i.toLoad.forEach((e) => {
@@ -2257,7 +2257,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2257
2257
  !e || !e[0] || this.store.addResource(e[0], t, n, r);
2258
2258
  }
2259
2259
  }
2260
- }, Kf = () => ({
2260
+ }, qf = () => ({
2261
2261
  debug: !1,
2262
2262
  initAsync: !0,
2263
2263
  ns: ["translation"],
@@ -2292,7 +2292,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2292
2292
  appendNamespaceToCIMode: !1,
2293
2293
  overloadTranslationOptionHandler: (e) => {
2294
2294
  let t = {};
2295
- if (typeof e[1] == "object" && (t = e[1]), J(e[1]) && (t.defaultValue = e[1]), J(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
2295
+ if (typeof e[1] == "object" && (t = e[1]), q(e[1]) && (t.defaultValue = e[1]), q(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
2296
2296
  let n = e[3] || e[2];
2297
2297
  Object.keys(n).forEach((e) => {
2298
2298
  t[e] = n[e];
@@ -2313,13 +2313,13 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2313
2313
  skipOnVariables: !0
2314
2314
  },
2315
2315
  cacheInBuiltFormats: !0
2316
- }), qf = (e) => (J(e.ns) && (e.ns = [e.ns]), J(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), J(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && !e.supportedLngs.includes("cimode") && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e), Jf = () => {}, Yf = (e) => {
2316
+ }), Jf = (e) => (q(e.ns) && (e.ns = [e.ns]), q(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), q(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && !e.supportedLngs.includes("cimode") && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e), Yf = () => {}, Xf = (e) => {
2317
2317
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
2318
2318
  typeof e[t] == "function" && (e[t] = e[t].bind(e));
2319
2319
  });
2320
- }, Xf = class e extends Tf {
2320
+ }, Zf = class e extends Ef {
2321
2321
  constructor(e = {}, t) {
2322
- if (super(), this.options = qf(e), this.services = {}, this.logger = wf, this.modules = { external: [] }, Yf(this), t && !this.isInitialized && !e.isClone) {
2322
+ if (super(), this.options = Jf(e), this.services = {}, this.logger = Tf, this.modules = { external: [] }, Xf(this), t && !this.isInitialized && !e.isClone) {
2323
2323
  if (!this.options.initAsync) return this.init(e, t), this;
2324
2324
  setTimeout(() => {
2325
2325
  this.init(e, t);
@@ -2327,33 +2327,33 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2327
2327
  }
2328
2328
  }
2329
2329
  init(e = {}, t) {
2330
- this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (J(e.ns) ? e.defaultNS = e.ns : e.ns.includes("translation") || (e.defaultNS = e.ns[0]));
2331
- let n = Kf();
2330
+ this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (q(e.ns) ? e.defaultNS = e.ns : e.ns.includes("translation") || (e.defaultNS = e.ns[0]));
2331
+ let n = qf();
2332
2332
  this.options = {
2333
2333
  ...n,
2334
2334
  ...this.options,
2335
- ...qf(e)
2335
+ ...Jf(e)
2336
2336
  }, this.options.interpolation = {
2337
2337
  ...n.interpolation,
2338
2338
  ...this.options.interpolation
2339
2339
  }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler);
2340
2340
  let r = (e) => e ? typeof e == "function" ? new e() : e : null;
2341
2341
  if (!this.options.isClone) {
2342
- this.modules.logger ? wf.init(r(this.modules.logger), this.options) : wf.init(null, this.options);
2342
+ this.modules.logger ? Tf.init(r(this.modules.logger), this.options) : Tf.init(null, this.options);
2343
2343
  let e;
2344
- e = this.modules.formatter ? this.modules.formatter : Uf;
2345
- let t = new Nf(this.options);
2346
- this.store = new Ef(this.options.resources, this.options);
2344
+ e = this.modules.formatter ? this.modules.formatter : Wf;
2345
+ let t = new Pf(this.options);
2346
+ this.store = new Df(this.options.resources, this.options);
2347
2347
  let n = this.services;
2348
- n.logger = wf, n.resourceStore = this.store, n.languageUtils = t, n.pluralResolver = new If(t, { prepend: this.options.pluralSeparator }), e && (n.formatter = r(e), n.formatter.init && n.formatter.init(n, this.options), this.options.interpolation.format = n.formatter.format.bind(n.formatter)), n.interpolator = new zf(this.options), n.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, n.backendConnector = new Gf(r(this.modules.backend), n.resourceStore, n, this.options), n.backendConnector.on("*", (e, ...t) => {
2348
+ n.logger = Tf, n.resourceStore = this.store, n.languageUtils = t, n.pluralResolver = new Lf(t, { prepend: this.options.pluralSeparator }), e && (n.formatter = r(e), n.formatter.init && n.formatter.init(n, this.options), this.options.interpolation.format = n.formatter.format.bind(n.formatter)), n.interpolator = new Bf(this.options), n.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, n.backendConnector = new Kf(r(this.modules.backend), n.resourceStore, n, this.options), n.backendConnector.on("*", (e, ...t) => {
2349
2349
  this.emit(e, ...t);
2350
- }), this.modules.languageDetector && (n.languageDetector = r(this.modules.languageDetector), n.languageDetector.init && n.languageDetector.init(n, this.options.detection, this.options)), this.modules.i18nFormat && (n.i18nFormat = r(this.modules.i18nFormat), n.i18nFormat.init && n.i18nFormat.init(this)), this.translator = new Mf(this.services, this.options), this.translator.on("*", (e, ...t) => {
2350
+ }), this.modules.languageDetector && (n.languageDetector = r(this.modules.languageDetector), n.languageDetector.init && n.languageDetector.init(n, this.options.detection, this.options)), this.modules.i18nFormat && (n.i18nFormat = r(this.modules.i18nFormat), n.i18nFormat.init && n.i18nFormat.init(this)), this.translator = new Nf(this.services, this.options), this.translator.on("*", (e, ...t) => {
2351
2351
  this.emit(e, ...t);
2352
2352
  }), this.modules.external.forEach((e) => {
2353
2353
  e.init && e.init(this);
2354
2354
  });
2355
2355
  }
2356
- if (this.format = this.options.interpolation.format, t ||= Jf, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2356
+ if (this.format = this.options.interpolation.format, t ||= Yf, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2357
2357
  let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
2358
2358
  e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
2359
2359
  }
@@ -2372,7 +2372,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2372
2372
  ].forEach((e) => {
2373
2373
  this[e] = (...t) => (this.store[e](...t), this);
2374
2374
  });
2375
- let i = tf(), a = () => {
2375
+ let i = nf(), a = () => {
2376
2376
  let e = (e, n) => {
2377
2377
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(n), t(e, n);
2378
2378
  };
@@ -2381,8 +2381,8 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2381
2381
  };
2382
2382
  return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
2383
2383
  }
2384
- loadResources(e, t = Jf) {
2385
- let n = t, r = J(e) ? e : this.language;
2384
+ loadResources(e, t = Yf) {
2385
+ let n = t, r = q(e) ? e : this.language;
2386
2386
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
2387
2387
  if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
2388
2388
  let e = [], t = (t) => {
@@ -2396,15 +2396,15 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2396
2396
  } else n(null);
2397
2397
  }
2398
2398
  reloadResources(e, t, n) {
2399
- let r = tf();
2400
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= Jf, this.services.backendConnector.reload(e, t, (e) => {
2399
+ let r = nf();
2400
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= Yf, this.services.backendConnector.reload(e, t, (e) => {
2401
2401
  r.resolve(), n(e);
2402
2402
  }), r;
2403
2403
  }
2404
2404
  use(e) {
2405
2405
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
2406
2406
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
2407
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Df.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
2407
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Of.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
2408
2408
  }
2409
2409
  setResolvedLanguage(e) {
2410
2410
  if (!(!e || !this.languages) && !["cimode", "dev"].includes(e)) {
@@ -2420,7 +2420,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2420
2420
  }
2421
2421
  changeLanguage(e, t) {
2422
2422
  this.isLanguageChangingTo = e;
2423
- let n = tf();
2423
+ let n = nf();
2424
2424
  this.emit("languageChanging", e);
2425
2425
  let r = (e) => {
2426
2426
  this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
@@ -2428,7 +2428,7 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2428
2428
  a ? this.isLanguageChangingTo === e && (r(a), this.translator.changeLanguage(a), this.isLanguageChangingTo = void 0, this.emit("languageChanged", a), this.logger.log("languageChanged", a)) : this.isLanguageChangingTo = void 0, n.resolve((...e) => this.t(...e)), t && t(i, (...e) => this.t(...e));
2429
2429
  }, a = (t) => {
2430
2430
  !e && !t && this.services.languageDetector && (t = []);
2431
- let n = J(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(J(t) ? [t] : t);
2431
+ let n = q(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(q(t) ? [t] : t);
2432
2432
  a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
2433
2433
  i(e, a);
2434
2434
  });
@@ -2445,11 +2445,11 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2445
2445
  ...this.options,
2446
2446
  ...o
2447
2447
  };
2448
- Array.isArray(i) && !s && (c.ns = i), typeof o.keyPrefix == "function" && (o.keyPrefix = Af(o.keyPrefix, c));
2448
+ Array.isArray(i) && !s && (c.ns = i), typeof o.keyPrefix == "function" && (o.keyPrefix = jf(o.keyPrefix, c));
2449
2449
  let l = this.options.keySeparator || ".", u;
2450
- return o.keyPrefix && Array.isArray(e) ? u = e.map((e) => (typeof e == "function" && (e = Af(e, c)), `${o.keyPrefix}${l}${e}`)) : (typeof e == "function" && (e = Af(e, c)), u = o.keyPrefix ? `${o.keyPrefix}${l}${e}` : e), this.t(u, o);
2450
+ return o.keyPrefix && Array.isArray(e) ? u = e.map((e) => (typeof e == "function" && (e = jf(e, c)), `${o.keyPrefix}${l}${e}`)) : (typeof e == "function" && (e = jf(e, c)), u = o.keyPrefix ? `${o.keyPrefix}${l}${e}` : e), this.t(u, o);
2451
2451
  };
2452
- return J(e) ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = n, a;
2452
+ return q(e) ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = n, a;
2453
2453
  }
2454
2454
  t(...e) {
2455
2455
  return this.translator?.translate(...e);
@@ -2476,16 +2476,16 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2476
2476
  return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
2477
2477
  }
2478
2478
  loadNamespaces(e, t) {
2479
- let n = tf();
2480
- return this.options.ns ? (J(e) && (e = [e]), e.forEach((e) => {
2479
+ let n = nf();
2480
+ return this.options.ns ? (q(e) && (e = [e]), e.forEach((e) => {
2481
2481
  this.options.ns.includes(e) || this.options.ns.push(e);
2482
2482
  }), this.loadResources((e) => {
2483
2483
  n.resolve(), t && t(e);
2484
2484
  }), n) : (t && t(), Promise.resolve());
2485
2485
  }
2486
2486
  loadLanguages(e, t) {
2487
- let n = tf();
2488
- J(e) && (e = [e]);
2487
+ let n = nf();
2488
+ q(e) && (e = [e]);
2489
2489
  let r = this.options.preload || [], i = e.filter((e) => !r.includes(e) && this.services.languageUtils.isSupportedCode(e));
2490
2490
  return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
2491
2491
  n.resolve(), t && t(e);
@@ -2500,14 +2500,14 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2500
2500
  if (e && e.direction) return e.direction;
2501
2501
  }
2502
2502
  } catch {}
2503
- let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new Nf(Kf());
2503
+ let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new Pf(qf());
2504
2504
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.includes(n.getLanguagePartFromCode(e)) || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
2505
2505
  }
2506
2506
  static createInstance(t = {}, n) {
2507
2507
  let r = new e(t, n);
2508
2508
  return r.createInstance = e.createInstance, r;
2509
2509
  }
2510
- cloneInstance(t = {}, n = Jf) {
2510
+ cloneInstance(t = {}, n = Yf) {
2511
2511
  let r = t.forkResourceStore;
2512
2512
  r && delete t.forkResourceStore;
2513
2513
  let i = {
@@ -2521,18 +2521,18 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2521
2521
  "language"
2522
2522
  ].forEach((e) => {
2523
2523
  a[e] = this[e];
2524
- }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new Ef(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
2524
+ }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new Df(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
2525
2525
  let e = {
2526
- ...Kf().interpolation,
2526
+ ...qf().interpolation,
2527
2527
  ...this.options.interpolation,
2528
2528
  ...t.interpolation
2529
2529
  }, n = {
2530
2530
  ...i,
2531
2531
  interpolation: e
2532
2532
  };
2533
- a.services.interpolator = new zf(n);
2533
+ a.services.interpolator = new Bf(n);
2534
2534
  }
2535
- return a.translator = new Mf(a.services, i), a.translator.on("*", (e, ...t) => {
2535
+ return a.translator = new Nf(a.services, i), a.translator.on("*", (e, ...t) => {
2536
2536
  a.emit(e, ...t);
2537
2537
  }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
2538
2538
  }
@@ -2545,9 +2545,9 @@ var jf = (e) => !J(e) && typeof e != "boolean" && typeof e != "number", Mf = cla
2545
2545
  resolvedLanguage: this.resolvedLanguage
2546
2546
  };
2547
2547
  }
2548
- }.createInstance(), Zf = Xf.createInstance;
2549
- Xf.dir, Xf.init, Xf.loadResources, Xf.reloadResources, Xf.use, Xf.changeLanguage, Xf.getFixedT, Xf.t, Xf.exists, Xf.setDefaultNamespace, Xf.hasLoadedNamespace, Xf.loadNamespaces, Xf.loadLanguages;
2550
- var Qf = { translation: {
2548
+ }.createInstance(), Qf = Zf.createInstance;
2549
+ Zf.dir, Zf.init, Zf.loadResources, Zf.reloadResources, Zf.use, Zf.changeLanguage, Zf.getFixedT, Zf.t, Zf.exists, Zf.setDefaultNamespace, Zf.hasLoadedNamespace, Zf.loadNamespaces, Zf.loadLanguages;
2550
+ var $f = { translation: {
2551
2551
  aboutThisItem: "عن هذا العنصر",
2552
2552
  addedFromUrl: "(تمت إضافته من الرابط)",
2553
2553
  addManifestUrl: "موقع المصدر",
@@ -2685,7 +2685,7 @@ var Qf = { translation: {
2685
2685
  zoomIn: "تكبير الصورة",
2686
2686
  zoomOut: "تصغير الصورة",
2687
2687
  zoomReset: "الرجوع لحجم الصورة الأساسي"
2688
- } }, $f = { translation: {
2688
+ } }, ep = { translation: {
2689
2689
  aboutMirador: "Über Mirador",
2690
2690
  aboutThisItem: "Über dieses Element",
2691
2691
  addedFromUrl: "(Via URL hinzugefügt)",
@@ -2851,7 +2851,7 @@ var Qf = { translation: {
2851
2851
  zoomIn: "Vergrößern",
2852
2852
  zoomOut: "Verkleinern",
2853
2853
  zoomReset: "Ansicht zurücksetzen"
2854
- } }, ep = { translation: {
2854
+ } }, tp = { translation: {
2855
2855
  aboutMirador: "About Project Mirador",
2856
2856
  aboutThisItem: "About this item",
2857
2857
  addedFromUrl: "(Added from URL)",
@@ -3018,7 +3018,7 @@ var Qf = { translation: {
3018
3018
  zoomIn: "Zoom in",
3019
3019
  zoomOut: "Zoom out",
3020
3020
  zoomReset: "Reset zoom"
3021
- } }, tp = { translation: {
3021
+ } }, np = { translation: {
3022
3022
  aboutMirador: "Projekti Mirador kohta",
3023
3023
  aboutThisItem: "Teave teose kohta",
3024
3024
  addedFromUrl: "(Lisatud URL-ist)",
@@ -3179,7 +3179,7 @@ var Qf = { translation: {
3179
3179
  zoomIn: "Suurenda sisse",
3180
3180
  zoomOut: "Suurenda välja",
3181
3181
  zoomReset: "Lähtesta suurendus"
3182
- } }, np = { translation: {
3182
+ } }, rp = { translation: {
3183
3183
  aboutMirador: "در بارهٔ پروژه Mirador",
3184
3184
  aboutThisItem: "در بارهٔ این مورد",
3185
3185
  addedFromUrl: "(از آدرس اینترنتی ازافه شده)",
@@ -3340,7 +3340,7 @@ var Qf = { translation: {
3340
3340
  zoomIn: "بزرگنمایی",
3341
3341
  zoomOut: "کوچک نمایی",
3342
3342
  zoomReset: " تنظیم بزرگنما"
3343
- } }, rp = { translation: {
3343
+ } }, ip = { translation: {
3344
3344
  aboutMirador: "关于Mirador项目",
3345
3345
  aboutThisItem: "有关此条目",
3346
3346
  addedFromUrl: "(从URL添加)",
@@ -3500,7 +3500,7 @@ var Qf = { translation: {
3500
3500
  zoomIn: "放大",
3501
3501
  zoomOut: "缩小",
3502
3502
  zoomReset: "重设缩放"
3503
- } }, ip = { translation: {
3503
+ } }, ap = { translation: {
3504
3504
  aboutMirador: "關於Mirador項目",
3505
3505
  aboutThisItem: "有關此物件",
3506
3506
  addedFromUrl: "(從URL添加)",
@@ -3660,7 +3660,7 @@ var Qf = { translation: {
3660
3660
  zoomIn: "放大",
3661
3661
  zoomOut: "縮小",
3662
3662
  zoomReset: "重設縮放"
3663
- } }, ap = { translation: {
3663
+ } }, op = { translation: {
3664
3664
  aboutMirador: "A propos du projet Mirador",
3665
3665
  aboutThisItem: "Informations",
3666
3666
  addedFromUrl: "(Ajouté depuis une URL)",
@@ -3815,7 +3815,7 @@ var Qf = { translation: {
3815
3815
  zoomIn: "Zoom avant",
3816
3816
  zoomOut: "Zoom arrière",
3817
3817
  zoomReset: "Réinitialiser le zoom"
3818
- } }, op = { translation: {
3818
+ } }, sp = { translation: {
3819
3819
  aboutMirador: "O Projektu Mirador",
3820
3820
  aboutThisItem: "O ovom zapisu",
3821
3821
  addedFromUrl: "(Dodano s URL-a)",
@@ -3976,7 +3976,7 @@ var Qf = { translation: {
3976
3976
  zoomIn: "Povećaj",
3977
3977
  zoomOut: "Umanji prikaz",
3978
3978
  zoomReset: "Poništi zumiranje"
3979
- } }, sp = { translation: {
3979
+ } }, cp = { translation: {
3980
3980
  aboutMirador: "Project Miradorについて",
3981
3981
  aboutThisItem: "この資料について",
3982
3982
  addedFromUrl: "(URLで追加)",
@@ -4129,7 +4129,7 @@ var Qf = { translation: {
4129
4129
  zoomIn: "ズームイン",
4130
4130
  zoomOut: "ズームアウト",
4131
4131
  zoomReset: "ズームを戻す"
4132
- } }, cp = { translation: {
4132
+ } }, lp = { translation: {
4133
4133
  aboutMirador: "Mirador 프로젝트에 대하여",
4134
4134
  aboutThisItem: "해당 아이템에 대하여",
4135
4135
  addedFromUrl: "(URL에서 추가됨)",
@@ -4288,7 +4288,7 @@ var Qf = { translation: {
4288
4288
  zoomIn: "확대",
4289
4289
  zoomOut: "축소",
4290
4290
  zoomReset: "줌 재설정"
4291
- } }, lp = { translation: {
4291
+ } }, up = { translation: {
4292
4292
  aboutThisItem: "Over dit item",
4293
4293
  addedFromUrl: "(Toegevoegd via URL)",
4294
4294
  addManifestUrl: "Locatie bron",
@@ -4424,7 +4424,7 @@ var Qf = { translation: {
4424
4424
  zoomIn: "Zoom in",
4425
4425
  zoomOut: "Zoom out",
4426
4426
  zoomReset: "Reset zoom"
4427
- } }, up = { translation: {
4427
+ } }, dp = { translation: {
4428
4428
  aboutMirador: "O Projekcie Mirador",
4429
4429
  aboutThisItem: "O bieżącej pozycji",
4430
4430
  addedFromUrl: "(Dodano z URL)",
@@ -4583,7 +4583,7 @@ var Qf = { translation: {
4583
4583
  zoomIn: "Przybliż",
4584
4584
  zoomOut: "Oddal",
4585
4585
  zoomReset: "Zresetuj powiększenie"
4586
- } }, dp = { translation: {
4586
+ } }, fp = { translation: {
4587
4587
  aboutThisItem: "Sobre esse item",
4588
4588
  addedFromUrl: "(Adicionado por URL)",
4589
4589
  addManifestUrl: "Localização do manifesto",
@@ -4713,7 +4713,7 @@ var Qf = { translation: {
4713
4713
  zoomIn: "Mais zoom",
4714
4714
  zoomOut: "Menos zoom",
4715
4715
  zoomReset: "Zerar zoom"
4716
- } }, fp = { translation: {
4716
+ } }, pp = { translation: {
4717
4717
  aboutMirador: "Informazioni su Mirador",
4718
4718
  aboutThisItem: "Informazioni sull'oggetto",
4719
4719
  addedFromUrl: "(Aggiunto dall'URL)",
@@ -4872,7 +4872,7 @@ var Qf = { translation: {
4872
4872
  zoomIn: "Zoom in",
4873
4873
  zoomOut: "Zoom out",
4874
4874
  zoomReset: "Reimposta zoom"
4875
- } }, pp = { translation: {
4875
+ } }, mp = { translation: {
4876
4876
  aboutMirador: "О пројекту Mirador",
4877
4877
  aboutThisItem: "Опис",
4878
4878
  addedFromUrl: "(Додато са URL)",
@@ -5024,7 +5024,7 @@ var Qf = { translation: {
5024
5024
  zoomIn: "Увећајте",
5025
5025
  zoomOut: "Умањите",
5026
5026
  zoomReset: "Ресет зума"
5027
- } }, mp = { translation: {
5027
+ } }, hp = { translation: {
5028
5028
  aboutMirador: "Om Projekt Mirador",
5029
5029
  aboutThisItem: "Om det här objektet",
5030
5030
  addedFromUrl: "(Tillagd från URL)",
@@ -5178,7 +5178,7 @@ var Qf = { translation: {
5178
5178
  zoomIn: "Zooma in",
5179
5179
  zoomOut: "Zooma ut",
5180
5180
  zoomReset: "Återställ zoom"
5181
- } }, hp = { translation: {
5181
+ } }, gp = { translation: {
5182
5182
  aboutMirador: "Apie Project Mirador",
5183
5183
  aboutThisItem: "Apie šį įrašą",
5184
5184
  addedFromUrl: "(Pridėta naudojant URL)",
@@ -5328,7 +5328,7 @@ var Qf = { translation: {
5328
5328
  zoomIn: "Priartinti",
5329
5329
  zoomOut: "Atitolinti",
5330
5330
  zoomReset: "Atstatyti priartinimą"
5331
- } }, gp = { translation: {
5331
+ } }, _p = { translation: {
5332
5332
  aboutMirador: "Về dự án Mirador",
5333
5333
  aboutThisItem: "Về khoản mục này",
5334
5334
  addedFromUrl: "(Được thêm từ URL)",
@@ -5481,7 +5481,7 @@ var Qf = { translation: {
5481
5481
  zoomIn: "Thu nhỏ",
5482
5482
  zoomOut: "Phóng to",
5483
5483
  zoomReset: "Đặt lại thu phóng"
5484
- } }, _p = { translation: {
5484
+ } }, vp = { translation: {
5485
5485
  aboutMirador: "За проекта Mirador",
5486
5486
  aboutThisItem: "За този елемент",
5487
5487
  addedFromUrl: "(Добавено от линк)",
@@ -5642,7 +5642,7 @@ var Qf = { translation: {
5642
5642
  zoomIn: "Увеличаване",
5643
5643
  zoomOut: "Намаляване",
5644
5644
  zoomReset: "Нулиране"
5645
- } }, vp = { translation: {
5645
+ } }, yp = { translation: {
5646
5646
  aboutMirador: "Om Projekt Mirador",
5647
5647
  aboutThisItem: "Om dette objektet",
5648
5648
  addedFromUrl: "(Lagt til fra URL)",
@@ -5801,7 +5801,7 @@ var Qf = { translation: {
5801
5801
  zoomIn: "Zoom inn",
5802
5802
  zoomOut: "Zoom ut",
5803
5803
  zoomReset: "Tilbakestill zoom"
5804
- } }, yp = { translation: {
5804
+ } }, bp = { translation: {
5805
5805
  aboutMirador: "A Mirador Project weboldala",
5806
5806
  aboutThisItem: "Elem adatai",
5807
5807
  addedFromUrl: "(URL-ként hozzáadva)",
@@ -5964,35 +5964,35 @@ var Qf = { translation: {
5964
5964
  zoomIn: "Nagyítás",
5965
5965
  zoomOut: "Kicsinyítés",
5966
5966
  zoomReset: "Képméret ablakhoz igazítása"
5967
- } }, bp = { translation: /* @__PURE__ */ JSON.parse("{\"aboutMirador\":\"மிரடோர் திட்டம் பற்றி\",\"aboutThisItem\":\"இந்த உருப்படியைப் பற்றி\",\"addedFromUrl\":\"(உரலியிலிருந்து சேர்க்கப்பட்டது)\",\"addManifestUrl\":\"வள இருப்பிடம்\",\"addManifestUrlHelp\":\"ஒரு IIIF வளத்தின் உரலி\",\"addResource\":\"வளத்தைச் சேர்க்கவும்\",\"annotationCanvasLabel_1/1\":\"உருப்படி: [{{label}}]\",\"annotationCanvasLabel_1/2\":\"இடது: [{{label}}]\",\"annotationCanvasLabel_2/2\":\"வலது: [{{label}}]\",\"annotations\":\"குறிப்புரைகள்\",\"attribution\":\"பண்புக்கூறு\",\"attributionTitle\":\"உரிமைகள்\",\"authenticationFailed\":\"அடையாளச் சரிபார்ப்பு தோல்வியடைந்தது\",\"authenticationRequired\":\"முழு அணுகலுக்கு அடையாளச் சரிபார்ப்பு அவசியம்\",\"backToResults\":\"முடிவுகளுக்குத் திரும்பு\",\"book\":\"நூல்\",\"bottom\":\"கீழ்\",\"cancel\":\"நீக்குக\",\"canvasIndex\":\"சுட்டெண்\",\"changeTheme\":\"கருப்பொருளை மாற்றவும்\",\"clearSearch\":\"நீக்குக\",\"close\":\"மூடுக\",\"closeAddResourceForm\":\"படிவத்தை மூடுக\",\"closeAddResourceMenu\":\"வளங்கள் பட்டியலை மூடுக\",\"closeCompanionWindow\":\"பலகத்தை மூடுக\",\"closeWindow\":\"சாளரத்தை மூடுக\",\"collapseSection\":\"\\\"{{section}}\\\" பகுதியைச் சுருக்குக\",\"collapseSidePanel\":\"பக்கப்பட்டையைச் சுருக்குக\",\"collection\":\"சேகரம்\",\"continue\":\"தொடரவும்\",\"copy\":\"நகல்\",\"currentItem\":\"தற்போதைய உருப்படி\",\"currentItem_1/1\":\"தற்போதைய உருப்படி\",\"currentItem_1/2\":\"இடது\",\"currentItem_2/2\":\"வலது\",\"dark\":\"அடர் கருப்பொருள்\",\"digitizedView\":\"எண்ணிம காட்சி\",\"dismiss\":\"நிராகரிக்குக\",\"displayNoAnnotations\":\"முன்னிறுத்தல் இல்லை\",\"downloadExport\":\"பணித்தளத்தை தரவிறக்கவும்\",\"downloadExportWorkspace\":\"பணித்தளத்தை தரவிறக்கவும்\",\"elastic\":\"மீள்ம\",\"elasticDescription\":\"வரம்பற்ற பணித்தளத்தில் சாளரங்களை சுதந்திரமாக நகர்த்த முடியும், அளவையும் மாற்றலாம். சாளரங்கள் ஒன்றின் மேல் ஒன்று வரலாம்.\",\"emptyResourceList\":\"உங்கள் வளப் பட்டியல் காலியாக உள்ளது\",\"error\":\"தவறு\",\"errorDialogConfirm\":\"சரி\",\"errorDialogTitle\":\"ஒரு தவறு ஏற்பட்டுள்ளது\",\"exitFullScreen\":\"முழுத்திரையிலிருந்து வெளியேறவும்\",\"expandSection\":\"\\\"{{section}}\\\" பகுதியை விரிவாக்குக\",\"expandSidePanel\":\"பக்கப்பட்டையை விரிவாக்குக\",\"exportCopied\":\"பணித்தள அமைப்பு உங்கள் நகல்நினைவியில் நகலெடுக்கப்பட்டது.\",\"fetchManifest\":\"சேர்க்க\",\"fullScreen\":\"முழுத்திரை\",\"gallery\":\"படத்தொகுப்பு\",\"hideZoomControls\":\"பெரிதாக்குதல் கட்டுப்பாடுகளை மறைக்கவும்\",\"highlightAllAnnotations\":\"முன்னிறுத்தல்: அனைத்தும்\",\"iiif_homepage\":\"இந்த வளம் பற்றி\",\"iiif_manifest\":\"IIIF விபரக் கோப்பு\",\"iiif_related\":\"தொடர்புடையவை\",\"iiif_renderings\":\"மாற்று வடிவங்கள்\",\"iiif_seeAlso\":\"மேலும் காண்க\",\"imageFailedToLoad\":\"படத்தை பதிவேற்றுவதில் சிக்கல். விவரங்களுக்கு முனையத்தைப் பார்க்கவும்\",\"import\":\"தரவிறக்கம்\",\"importWorkspace\":\"பணித்தள தரவிறக்கம்\",\"importWorkspaceHint\":\"தரவிறக்கவேண்டிய மிரடோர் 4 பணித்தள அமைப்பை இங்கே ஒட்டவும்\",\"item\":\"உருப்படி: {{label}}\",\"itemList\":\"உருப்படி பட்டியல்\",\"jsError\":\"தொழில்நுட்ப விவரங்கள்\",\"jsStack\":\"{{ stack }}\",\"language\":\"மொழி\",\"layer_hide\":\"அடுக்கை மறைக்கவும்\",\"layer_move\":\"அடுக்கை நகர்த்தவும்\",\"layer_moveToBackground\":\"அடுக்கை பின்னணிக்கு நகர்த்தவும்\",\"layer_moveToFront\":\"அடுக்கை முன்னணிக்கு நகர்த்தவும்\",\"layer_opacity\":\"அடுக்கின் தெளிவின்மை\",\"layer_show\":\"அடுக்கை காட்டவும்\",\"layers\":\"அடுக்குகள்\",\"light\":\"மென் கருப்பொருள்\",\"links\":\"இணைப்புகள்\",\"listAllOpenWindows\":\"சாளரத்திற்குச் செல்லவும்\",\"login\":\"புகுபதிகை\",\"logout\":\"விடுபதிகை\",\"manifestError\":\"வளத்தைச் சேர்க்க முடியாது:\",\"maximizeWindow\":\"சாளரத்தை பெரிதாக்கவும்\",\"minimizeWindow\":\"சாளரத்தைச் சிறிதாக்கவும்\",\"mirador\":\"மிரடோர்\",\"miradorResources\":\"மிரடோர் வளங்கள்\",\"miradorViewer\":\"மிரடோர் பார்வையாளர்\",\"more\":\"மேலும்...\",\"moreResults\":\"மேலும் முடிவுகள்\",\"mosaic\":\"மொசைக்\",\"mosaicDescription\":\"காணப்படும் சாளர எல்லைக்குள், சாளரங்களை ஒன்றையொன்று சார்ந்து நகர்த்தியும் அளவை மாற்றியும் கொள்ளலாம்.\",\"moveCompanionWindowToBottom\":\"கீழே நகர்த்தவும்\",\"moveCompanionWindowToRight\":\"வலதுபுறம் நகர்த்தவும்\",\"multipartCollection\":\"பல்பகுதி சேகரம்\",\"nextCanvas\":\"அடுத்த உருப்படி\",\"noItemSelected\":\"எந்த உருப்படியும் தேர்ந்தெடுக்கப்படவில்லை\",\"numItems_one\":\"{{number}} உருப்படி\",\"numItems_other\":\"{{number}} உருப்படிகள்\",\"off\":\"முடக்குக\",\"openCompanionWindow_annotations\":\"குறிப்புரைகள்\",\"openCompanionWindow_attribution\":\"உரிமைகள்\",\"openCompanionWindow_canvas\":\"சுட்டெண்\",\"openCompanionWindow_info\":\"தகவல்\",\"openCompanionWindow_layers\":\"அடுக்குகள்\",\"openCompanionWindow_search\":\"தேடல்\",\"openInCompanionWindow\":\"தனி பலகத்தில் திறக்கவும்\",\"openWindows\":\"தற்போது திறந்திருக்கும் சாளரங்கள்\",\"pagination\":\"{{current}} இல் {{total}}\",\"position\":\"நிலை\",\"previewWindowTitle\":\"{{title}}\",\"previousCanvas\":\"முந்தைய உருப்படி\",\"related\":\"தொடர்புடைய\",\"resource\":\"வளம்\",\"retry\":\"மீண்டும் முயற்சிக்கவும்\",\"right\":\"சரி\",\"rights\":\"உரிமம்\",\"scroll\":\"உருட்டவும்\",\"searchInputLabel\":\"தேடல் சொற்கள்\",\"searchNextResult\":\"அடுத்த முடிவு\",\"searchNoResults\":\"முடிவுகள் எதுவும் காணப்படவில்லை\",\"searchPreviousResult\":\"முந்தைய முடிவு\",\"searchResultsRemaining\":\"{{numLeft}} மீதமுள்ளன\",\"searchSubmitAria\":\"தேடலைச் சமர்ப்பிக்கவும்\",\"searchTitle\":\"தேடல்\",\"selectWorkspaceMenu\":\"பணித்தள வகையைத் தேர்ந்தெடுக்கவும்\",\"showCollection\":\"சேகரத்தை காட்டவும்\",\"showingNumAnnotations_one\":\"{{number}} குறிப்புரை காட்டப்படுகிறது\",\"showingNumAnnotations_other\":\"{{number}} குறிப்புரைகள் காட்டப்படுகின்றன\",\"showZoomControls\":\"பெரிதாக்குதல் கட்டுப்பாடுகளைக் காட்டு\",\"sidebarPanelsNavigation\":\"பக்கப்பட்டை பலகங்களை வழிசெலுத்தல்\",\"single\":\"தனி\",\"startHere\":\"இங்கிருந்து தொடங்குங்கள்\",\"suggestSearch\":\"இந்த ஆவணத்தில் \\\"{{ query }}\\\" என்பதைத் தேடவும்\",\"tableOfContentsList\":\"பொருளடக்கம்\",\"theme\":\"கருப்பொருள்\",\"thumbnailList\":\"சிறுபடப் பட்டியல்\",\"thumbnailNavigation\":\"சிறுபடங்கள்\",\"thumbnails\":\"சிறுபடங்கள்\",\"toggleWindowSideBar\":\"பக்கப்பட்டையை மாற்றவும்\",\"totalCollections_one\":\"{{count}} சேகரம்\",\"totalCollections_other\":\"{{count}} சேகரங்கள்\",\"totalManifests_one\":\"{{count}} விபரக் கோப்பு\",\"totalManifests_other\":\"{{count}} விபரக் கோப்புக்கள்\",\"tryAgain\":\"மீண்டும் முயற்சிக்கவும்\",\"untitled\":\"[Untitled]\",\"view\":\"பார்வை\",\"viewWorkspaceConfiguration\":\"பணித்தள உள்ளமைவைக் காண்க\",\"welcome\":\"மிரடோருக்கு வரவேற்கிறோம்\",\"window\":\"சாளரம்: {{label}}\",\"windowMenu\":\"சாளரக் காட்சிகள் மற்றும் சிறுபடக் காட்சி\",\"windowNavigation\":\"சாளர வழிசெலுத்தல்\",\"windowPluginButtons\":\"தேர்வுகள்\",\"windowPluginMenu\":\"சாளர தேர்வுகள்\",\"workspace\":\"பணித்தளம்\",\"workspaceFullScreen\":\"முழுத்திரை\",\"workspaceMenu\":\"பணித்தள அமைப்புகள்\",\"workspaceNavigation\":\"பணித்தள வழிசெலுத்தல்\",\"workspaceOptions\":\"பணித்தள தேர்வுகள்\",\"workspaceSelectionTitle\":\"பணித்தள வகையைத் தேர்ந்தெடுக்கவும்\",\"zoomIn\":\"பெரிதாக்குக\",\"zoomOut\":\"சிறிதாக்குக\",\"zoomReset\":\"பெரிதாக்கத்தை மீளமைக்க\"}") };
5967
+ } }, xp = { translation: /* @__PURE__ */ JSON.parse("{\"aboutMirador\":\"மிரடோர் திட்டம் பற்றி\",\"aboutThisItem\":\"இந்த உருப்படியைப் பற்றி\",\"addedFromUrl\":\"(உரலியிலிருந்து சேர்க்கப்பட்டது)\",\"addManifestUrl\":\"வள இருப்பிடம்\",\"addManifestUrlHelp\":\"ஒரு IIIF வளத்தின் உரலி\",\"addResource\":\"வளத்தைச் சேர்க்கவும்\",\"annotationCanvasLabel_1/1\":\"உருப்படி: [{{label}}]\",\"annotationCanvasLabel_1/2\":\"இடது: [{{label}}]\",\"annotationCanvasLabel_2/2\":\"வலது: [{{label}}]\",\"annotations\":\"குறிப்புரைகள்\",\"attribution\":\"பண்புக்கூறு\",\"attributionTitle\":\"உரிமைகள்\",\"authenticationFailed\":\"அடையாளச் சரிபார்ப்பு தோல்வியடைந்தது\",\"authenticationRequired\":\"முழு அணுகலுக்கு அடையாளச் சரிபார்ப்பு அவசியம்\",\"backToResults\":\"முடிவுகளுக்குத் திரும்பு\",\"book\":\"நூல்\",\"bottom\":\"கீழ்\",\"cancel\":\"நீக்குக\",\"canvasIndex\":\"சுட்டெண்\",\"changeTheme\":\"கருப்பொருளை மாற்றவும்\",\"clearSearch\":\"நீக்குக\",\"close\":\"மூடுக\",\"closeAddResourceForm\":\"படிவத்தை மூடுக\",\"closeAddResourceMenu\":\"வளங்கள் பட்டியலை மூடுக\",\"closeCompanionWindow\":\"பலகத்தை மூடுக\",\"closeWindow\":\"சாளரத்தை மூடுக\",\"collapseSection\":\"\\\"{{section}}\\\" பகுதியைச் சுருக்குக\",\"collapseSidePanel\":\"பக்கப்பட்டையைச் சுருக்குக\",\"collection\":\"சேகரம்\",\"continue\":\"தொடரவும்\",\"copy\":\"நகல்\",\"currentItem\":\"தற்போதைய உருப்படி\",\"currentItem_1/1\":\"தற்போதைய உருப்படி\",\"currentItem_1/2\":\"இடது\",\"currentItem_2/2\":\"வலது\",\"dark\":\"அடர் கருப்பொருள்\",\"digitizedView\":\"எண்ணிம காட்சி\",\"dismiss\":\"நிராகரிக்குக\",\"displayNoAnnotations\":\"முன்னிறுத்தல் இல்லை\",\"downloadExport\":\"பணித்தளத்தை தரவிறக்கவும்\",\"downloadExportWorkspace\":\"பணித்தளத்தை தரவிறக்கவும்\",\"elastic\":\"மீள்ம\",\"elasticDescription\":\"வரம்பற்ற பணித்தளத்தில் சாளரங்களை சுதந்திரமாக நகர்த்த முடியும், அளவையும் மாற்றலாம். சாளரங்கள் ஒன்றின் மேல் ஒன்று வரலாம்.\",\"emptyResourceList\":\"உங்கள் வளப் பட்டியல் காலியாக உள்ளது\",\"error\":\"தவறு\",\"errorDialogConfirm\":\"சரி\",\"errorDialogTitle\":\"ஒரு தவறு ஏற்பட்டுள்ளது\",\"exitFullScreen\":\"முழுத்திரையிலிருந்து வெளியேறவும்\",\"expandSection\":\"\\\"{{section}}\\\" பகுதியை விரிவாக்குக\",\"expandSidePanel\":\"பக்கப்பட்டையை விரிவாக்குக\",\"exportCopied\":\"பணித்தள அமைப்பு உங்கள் நகல்நினைவியில் நகலெடுக்கப்பட்டது.\",\"fetchManifest\":\"சேர்க்க\",\"fullScreen\":\"முழுத்திரை\",\"gallery\":\"படத்தொகுப்பு\",\"hideZoomControls\":\"பெரிதாக்குதல் கட்டுப்பாடுகளை மறைக்கவும்\",\"highlightAllAnnotations\":\"முன்னிறுத்தல்: அனைத்தும்\",\"iiif_homepage\":\"இந்த வளம் பற்றி\",\"iiif_manifest\":\"IIIF விபரக் கோப்பு\",\"iiif_related\":\"தொடர்புடையவை\",\"iiif_renderings\":\"மாற்று வடிவங்கள்\",\"iiif_seeAlso\":\"மேலும் காண்க\",\"imageFailedToLoad\":\"படத்தை பதிவேற்றுவதில் சிக்கல். விவரங்களுக்கு முனையத்தைப் பார்க்கவும்\",\"import\":\"தரவிறக்கம்\",\"importWorkspace\":\"பணித்தள தரவிறக்கம்\",\"importWorkspaceHint\":\"தரவிறக்கவேண்டிய மிரடோர் 4 பணித்தள அமைப்பை இங்கே ஒட்டவும்\",\"item\":\"உருப்படி: {{label}}\",\"itemList\":\"உருப்படி பட்டியல்\",\"jsError\":\"தொழில்நுட்ப விவரங்கள்\",\"jsStack\":\"{{ stack }}\",\"language\":\"மொழி\",\"layer_hide\":\"அடுக்கை மறைக்கவும்\",\"layer_move\":\"அடுக்கை நகர்த்தவும்\",\"layer_moveToBackground\":\"அடுக்கை பின்னணிக்கு நகர்த்தவும்\",\"layer_moveToFront\":\"அடுக்கை முன்னணிக்கு நகர்த்தவும்\",\"layer_opacity\":\"அடுக்கின் தெளிவின்மை\",\"layer_show\":\"அடுக்கை காட்டவும்\",\"layers\":\"அடுக்குகள்\",\"light\":\"மென் கருப்பொருள்\",\"links\":\"இணைப்புகள்\",\"listAllOpenWindows\":\"சாளரத்திற்குச் செல்லவும்\",\"login\":\"புகுபதிகை\",\"logout\":\"விடுபதிகை\",\"manifestError\":\"வளத்தைச் சேர்க்க முடியாது:\",\"maximizeWindow\":\"சாளரத்தை பெரிதாக்கவும்\",\"minimizeWindow\":\"சாளரத்தைச் சிறிதாக்கவும்\",\"mirador\":\"மிரடோர்\",\"miradorResources\":\"மிரடோர் வளங்கள்\",\"miradorViewer\":\"மிரடோர் பார்வையாளர்\",\"more\":\"மேலும்...\",\"moreResults\":\"மேலும் முடிவுகள்\",\"mosaic\":\"மொசைக்\",\"mosaicDescription\":\"காணப்படும் சாளர எல்லைக்குள், சாளரங்களை ஒன்றையொன்று சார்ந்து நகர்த்தியும் அளவை மாற்றியும் கொள்ளலாம்.\",\"moveCompanionWindowToBottom\":\"கீழே நகர்த்தவும்\",\"moveCompanionWindowToRight\":\"வலதுபுறம் நகர்த்தவும்\",\"multipartCollection\":\"பல்பகுதி சேகரம்\",\"nextCanvas\":\"அடுத்த உருப்படி\",\"noItemSelected\":\"எந்த உருப்படியும் தேர்ந்தெடுக்கப்படவில்லை\",\"numItems_one\":\"{{number}} உருப்படி\",\"numItems_other\":\"{{number}} உருப்படிகள்\",\"off\":\"முடக்குக\",\"openCompanionWindow_annotations\":\"குறிப்புரைகள்\",\"openCompanionWindow_attribution\":\"உரிமைகள்\",\"openCompanionWindow_canvas\":\"சுட்டெண்\",\"openCompanionWindow_info\":\"தகவல்\",\"openCompanionWindow_layers\":\"அடுக்குகள்\",\"openCompanionWindow_search\":\"தேடல்\",\"openInCompanionWindow\":\"தனி பலகத்தில் திறக்கவும்\",\"openWindows\":\"தற்போது திறந்திருக்கும் சாளரங்கள்\",\"pagination\":\"{{current}} இல் {{total}}\",\"position\":\"நிலை\",\"previewWindowTitle\":\"{{title}}\",\"previousCanvas\":\"முந்தைய உருப்படி\",\"related\":\"தொடர்புடைய\",\"resource\":\"வளம்\",\"retry\":\"மீண்டும் முயற்சிக்கவும்\",\"right\":\"சரி\",\"rights\":\"உரிமம்\",\"scroll\":\"உருட்டவும்\",\"searchInputLabel\":\"தேடல் சொற்கள்\",\"searchNextResult\":\"அடுத்த முடிவு\",\"searchNoResults\":\"முடிவுகள் எதுவும் காணப்படவில்லை\",\"searchPreviousResult\":\"முந்தைய முடிவு\",\"searchResultsRemaining\":\"{{numLeft}} மீதமுள்ளன\",\"searchSubmitAria\":\"தேடலைச் சமர்ப்பிக்கவும்\",\"searchTitle\":\"தேடல்\",\"selectWorkspaceMenu\":\"பணித்தள வகையைத் தேர்ந்தெடுக்கவும்\",\"showCollection\":\"சேகரத்தை காட்டவும்\",\"showingNumAnnotations_one\":\"{{number}} குறிப்புரை காட்டப்படுகிறது\",\"showingNumAnnotations_other\":\"{{number}} குறிப்புரைகள் காட்டப்படுகின்றன\",\"showZoomControls\":\"பெரிதாக்குதல் கட்டுப்பாடுகளைக் காட்டு\",\"sidebarPanelsNavigation\":\"பக்கப்பட்டை பலகங்களை வழிசெலுத்தல்\",\"single\":\"தனி\",\"startHere\":\"இங்கிருந்து தொடங்குங்கள்\",\"suggestSearch\":\"இந்த ஆவணத்தில் \\\"{{ query }}\\\" என்பதைத் தேடவும்\",\"tableOfContentsList\":\"பொருளடக்கம்\",\"theme\":\"கருப்பொருள்\",\"thumbnailList\":\"சிறுபடப் பட்டியல்\",\"thumbnailNavigation\":\"சிறுபடங்கள்\",\"thumbnails\":\"சிறுபடங்கள்\",\"toggleWindowSideBar\":\"பக்கப்பட்டையை மாற்றவும்\",\"totalCollections_one\":\"{{count}} சேகரம்\",\"totalCollections_other\":\"{{count}} சேகரங்கள்\",\"totalManifests_one\":\"{{count}} விபரக் கோப்பு\",\"totalManifests_other\":\"{{count}} விபரக் கோப்புக்கள்\",\"tryAgain\":\"மீண்டும் முயற்சிக்கவும்\",\"untitled\":\"[Untitled]\",\"view\":\"பார்வை\",\"viewWorkspaceConfiguration\":\"பணித்தள உள்ளமைவைக் காண்க\",\"welcome\":\"மிரடோருக்கு வரவேற்கிறோம்\",\"window\":\"சாளரம்: {{label}}\",\"windowMenu\":\"சாளரக் காட்சிகள் மற்றும் சிறுபடக் காட்சி\",\"windowNavigation\":\"சாளர வழிசெலுத்தல்\",\"windowPluginButtons\":\"தேர்வுகள்\",\"windowPluginMenu\":\"சாளர தேர்வுகள்\",\"workspace\":\"பணித்தளம்\",\"workspaceFullScreen\":\"முழுத்திரை\",\"workspaceMenu\":\"பணித்தள அமைப்புகள்\",\"workspaceNavigation\":\"பணித்தள வழிசெலுத்தல்\",\"workspaceOptions\":\"பணித்தள தேர்வுகள்\",\"workspaceSelectionTitle\":\"பணித்தள வகையைத் தேர்ந்தெடுக்கவும்\",\"zoomIn\":\"பெரிதாக்குக\",\"zoomOut\":\"சிறிதாக்குக\",\"zoomReset\":\"பெரிதாக்கத்தை மீளமைக்க\"}") };
5968
5968
  //#endregion
5969
5969
  //#region src/i18n.js
5970
- function xp(e = {}) {
5970
+ function Sp(e = {}) {
5971
5971
  let t = {
5972
- ar: Qf,
5973
- bg: _p,
5974
- de: $f,
5975
- en: ep,
5976
- et: tp,
5977
- fa: np,
5978
- fr: ap,
5979
- hr: op,
5980
- hu: yp,
5981
- it: fp,
5982
- ja: sp,
5983
- kr: cp,
5984
- lt: hp,
5985
- "nb-NO": vp,
5986
- nl: lp,
5987
- pl: up,
5988
- "pt-BR": dp,
5989
- sr: pp,
5990
- sv: mp,
5991
- vi: gp,
5992
- "zh-CN": rp,
5993
- "zh-TW": ip,
5994
- ta: bp
5995
- }, n = Zf();
5972
+ ar: $f,
5973
+ bg: vp,
5974
+ de: ep,
5975
+ en: tp,
5976
+ et: np,
5977
+ fa: rp,
5978
+ fr: op,
5979
+ hr: sp,
5980
+ hu: bp,
5981
+ it: pp,
5982
+ ja: cp,
5983
+ kr: lp,
5984
+ lt: gp,
5985
+ "nb-NO": yp,
5986
+ nl: up,
5987
+ pl: dp,
5988
+ "pt-BR": fp,
5989
+ sr: mp,
5990
+ sv: hp,
5991
+ vi: _p,
5992
+ "zh-CN": ip,
5993
+ "zh-TW": ap,
5994
+ ta: xp
5995
+ }, n = Qf();
5996
5996
  return n.use(ll).init({
5997
5997
  fallbackLng: "en",
5998
5998
  interpolation: { escapeValue: !1 },
@@ -6003,9 +6003,9 @@ function xp(e = {}) {
6003
6003
  }
6004
6004
  //#endregion
6005
6005
  //#region src/contexts/FailedImageProvider.jsx
6006
- var Sp = "data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"400\" height=\"600\"%3E%3Crect width=\"400\" height=\"600\" fill=\"%23f5f5f5\"/%3E%3Cpath d=\"M 200 240 L 254 354 L 146 354 Z M 200 228 L 128 372 L 272 372 Z M 204.5 336 L 195.5 336 L 195.5 345 L 204.5 345 Z M 204.5 309 L 195.5 309 L 195.5 327 L 204.5 327 Z\" fill=\"%231967d2\"/%3E%3C/svg%3E";
6007
- function Cp({ children: e }) {
6008
- let t = ue.fallbackImage || Sp, [n, r] = al(/* @__PURE__ */ new Set()), i = tl((e) => {
6006
+ var Cp = "data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"400\" height=\"600\"%3E%3Crect width=\"400\" height=\"600\" fill=\"%23f5f5f5\"/%3E%3Cpath d=\"M 200 240 L 254 354 L 146 354 Z M 200 228 L 128 372 L 272 372 Z M 204.5 336 L 195.5 336 L 195.5 345 L 204.5 345 Z M 204.5 309 L 195.5 309 L 195.5 327 L 204.5 327 Z\" fill=\"%231967d2\"/%3E%3C/svg%3E";
6007
+ function wp({ children: e }) {
6008
+ let t = ue.fallbackImage || Cp, [n, r] = al(/* @__PURE__ */ new Set()), i = tl((e) => {
6009
6009
  r((t) => new Set(t).add(e));
6010
6010
  }, []);
6011
6011
  return /* @__PURE__ */ F(er.Provider, {
@@ -6017,10 +6017,10 @@ function Cp({ children: e }) {
6017
6017
  children: e
6018
6018
  });
6019
6019
  }
6020
- Cp.propTypes = { children: L.default.node.isRequired };
6020
+ wp.propTypes = { children: L.default.node.isRequired };
6021
6021
  //#endregion
6022
6022
  //#region src/lib/FullScreenHandle.jsx
6023
- function wp() {
6023
+ function Tp() {
6024
6024
  let [e, t] = al(!1), n = () => {
6025
6025
  t(document.fullscreenElement === document.body);
6026
6026
  };
@@ -6036,7 +6036,7 @@ function wp() {
6036
6036
  a
6037
6037
  ]);
6038
6038
  }
6039
- var Tp = ({ handle: e, onChange: t = void 0, children: n = null, className: r = "" }) => {
6039
+ var Ep = ({ handle: e, onChange: t = void 0, children: n = null, className: r = "" }) => {
6040
6040
  let i = [
6041
6041
  "fullscreen",
6042
6042
  r,
@@ -6059,7 +6059,7 @@ var Tp = ({ handle: e, onChange: t = void 0, children: n = null, className: r =
6059
6059
  children: n
6060
6060
  });
6061
6061
  };
6062
- Tp.propTypes = {
6062
+ Ep.propTypes = {
6063
6063
  children: L.default.node,
6064
6064
  className: L.default.string,
6065
6065
  handle: L.default.object.isRequired,
@@ -6067,7 +6067,7 @@ Tp.propTypes = {
6067
6067
  };
6068
6068
  //#endregion
6069
6069
  //#region src/components/AppProviders.jsx
6070
- var Ep = ({ dndManager: e = void 0, children: t }) => e === !1 ? t : e === void 0 ? /* @__PURE__ */ F(io, {
6070
+ var Dp = ({ dndManager: e = void 0, children: t }) => e === !1 ? t : e === void 0 ? /* @__PURE__ */ F(io, {
6071
6071
  backend: lo,
6072
6072
  options: Po,
6073
6073
  children: t
@@ -6075,7 +6075,7 @@ var Ep = ({ dndManager: e = void 0, children: t }) => e === !1 ? t : e === void
6075
6075
  value: e,
6076
6076
  children: t
6077
6077
  });
6078
- Ep.propTypes = {
6078
+ Dp.propTypes = {
6079
6079
  children: L.default.node.isRequired,
6080
6080
  dndManager: L.default.oneOf([
6081
6081
  void 0,
@@ -6083,9 +6083,9 @@ Ep.propTypes = {
6083
6083
  L.default.object
6084
6084
  ])
6085
6085
  };
6086
- var Dp = ({ children: e }) => {
6087
- let t = wp();
6088
- return /* @__PURE__ */ F(Tp, {
6086
+ var Op = ({ children: e }) => {
6087
+ let t = Tp();
6088
+ return /* @__PURE__ */ F(Ep, {
6089
6089
  handle: t,
6090
6090
  children: /* @__PURE__ */ F(Jo.Provider, {
6091
6091
  value: t,
@@ -6093,9 +6093,9 @@ var Dp = ({ children: e }) => {
6093
6093
  })
6094
6094
  });
6095
6095
  };
6096
- Dp.propTypes = { children: L.default.node.isRequired };
6097
- var Op = ({ children: e, language: t, translations: n }) => {
6098
- let [r] = al(xp({ lng: t }));
6096
+ Op.propTypes = { children: L.default.node.isRequired };
6097
+ var kp = ({ children: e, language: t, translations: n }) => {
6098
+ let [r] = al(Sp({ lng: t }));
6099
6099
  return N(() => {
6100
6100
  r && r.language !== t && r.changeLanguage(t);
6101
6101
  }, [r, t]), N(() => {
@@ -6107,24 +6107,24 @@ var Op = ({ children: e, language: t, translations: n }) => {
6107
6107
  children: e
6108
6108
  });
6109
6109
  };
6110
- Op.propTypes = {
6110
+ kp.propTypes = {
6111
6111
  children: L.default.node.isRequired,
6112
6112
  language: L.default.string.isRequired,
6113
6113
  translations: L.default.object.isRequired
6114
6114
  };
6115
- var kp = ef({
6115
+ var Ap = tf({
6116
6116
  key: "muirtl",
6117
6117
  stylisPlugins: [Uu, Ku]
6118
- }), Ap = ef({ key: "mui" }), jp = ef({
6118
+ }), jp = tf({ key: "mui" }), Mp = tf({
6119
6119
  key: "muirtl",
6120
6120
  prepend: !0,
6121
6121
  stylisPlugins: [Uu, Ku]
6122
- }), Mp = ef({
6122
+ }), Np = tf({
6123
6123
  key: "mui",
6124
6124
  prepend: !0
6125
- }), Np = (e, t) => e === "rtl" ? t ? jp : kp : t ? Mp : Ap;
6126
- function Pp({ children: e = null, language: t, theme: n, translations: r, dndManager: i = void 0, prependStyles: a = !1 }) {
6127
- return /* @__PURE__ */ F(Dp, { children: /* @__PURE__ */ F(Op, {
6125
+ }), Pp = (e, t) => e === "rtl" ? t ? Mp : Ap : t ? Np : jp;
6126
+ function Fp({ children: e = null, language: t, theme: n, translations: r, dndManager: i = void 0, prependStyles: a = !1 }) {
6127
+ return /* @__PURE__ */ F(Op, { children: /* @__PURE__ */ F(kp, {
6128
6128
  language: t,
6129
6129
  translations: r,
6130
6130
  children: /* @__PURE__ */ F(xc.Provider, {
@@ -6132,12 +6132,12 @@ function Pp({ children: e = null, language: t, theme: n, translations: r, dndMan
6132
6132
  children: /* @__PURE__ */ F(fl, {
6133
6133
  injectFirst: !0,
6134
6134
  children: /* @__PURE__ */ F(yl, {
6135
- value: Np(n.direction, a),
6135
+ value: Pp(n.direction, a),
6136
6136
  children: /* @__PURE__ */ F(pl, {
6137
6137
  theme: ml(n),
6138
- children: /* @__PURE__ */ F(Ep, {
6138
+ children: /* @__PURE__ */ F(Dp, {
6139
6139
  dndManager: i,
6140
- children: /* @__PURE__ */ F(Cp, { children: e })
6140
+ children: /* @__PURE__ */ F(wp, { children: e })
6141
6141
  })
6142
6142
  })
6143
6143
  })
@@ -6145,7 +6145,7 @@ function Pp({ children: e = null, language: t, theme: n, translations: r, dndMan
6145
6145
  })
6146
6146
  }) });
6147
6147
  }
6148
- Pp.propTypes = {
6148
+ Fp.propTypes = {
6149
6149
  children: L.default.node,
6150
6150
  dndManager: L.default.object,
6151
6151
  language: L.default.string.isRequired,
@@ -6153,46 +6153,46 @@ Pp.propTypes = {
6153
6153
  theme: L.default.object.isRequired,
6154
6154
  translations: L.default.object.isRequired
6155
6155
  };
6156
- var Fp = h(me((e) => ({
6156
+ var Ip = h(me((e) => ({
6157
6157
  language: j(e).language,
6158
6158
  prependStyles: j(e).styles?.prepend === !0,
6159
6159
  theme: bt(e),
6160
6160
  translations: j(e).translations
6161
- })), ee("AppProviders"))(Pp), Ip = el(() => import("./WorkspaceArea-CBzMm7mN.js").then((e) => e.n));
6162
- function Lp({ dndManager: e = void 0, plugins: t = [] }) {
6161
+ })), ee("AppProviders"))(Fp), Lp = el(() => import("./WorkspaceArea-CBzMm7mN.js").then((e) => e.n));
6162
+ function Rp({ dndManager: e = void 0, plugins: t = [] }) {
6163
6163
  let n = $c();
6164
6164
  return /* @__PURE__ */ F(Kl, {
6165
6165
  plugins: t,
6166
- children: /* @__PURE__ */ F(Fp, {
6166
+ children: /* @__PURE__ */ F(Ip, {
6167
6167
  dndManager: e,
6168
6168
  children: /* @__PURE__ */ F(Ec.Provider, {
6169
6169
  value: n,
6170
6170
  children: /* @__PURE__ */ F(Qc, {
6171
6171
  fallback: /* @__PURE__ */ F("div", {}),
6172
- children: /* @__PURE__ */ F(Ip, { areaRef: n })
6172
+ children: /* @__PURE__ */ F(Lp, { areaRef: n })
6173
6173
  })
6174
6174
  })
6175
6175
  })
6176
6176
  });
6177
6177
  }
6178
- Lp.propTypes = {
6178
+ Rp.propTypes = {
6179
6179
  dndManager: L.default.object,
6180
6180
  plugins: L.default.array
6181
6181
  };
6182
6182
  //#endregion
6183
6183
  //#region node_modules/lodash/isString.js
6184
- var Rp = /* @__PURE__ */ k(((t, n) => {
6184
+ var zp = /* @__PURE__ */ k(((t, n) => {
6185
6185
  var r = T(), i = fe(), a = e(), o = "[object String]";
6186
6186
  function s(e) {
6187
6187
  return typeof e == "string" || !i(e) && a(e) && r(e) == o;
6188
6188
  }
6189
6189
  n.exports = s;
6190
- })), zp = /* @__PURE__ */ k(((e, t) => {
6190
+ })), Bp = /* @__PURE__ */ k(((e, t) => {
6191
6191
  function n(e) {
6192
6192
  return e === null;
6193
6193
  }
6194
6194
  t.exports = n;
6195
- })), Bp = /* @__PURE__ */ k(((e, t) => {
6195
+ })), Vp = /* @__PURE__ */ k(((e, t) => {
6196
6196
  var n = Tt();
6197
6197
  function r(e, t) {
6198
6198
  return n(t, function(t) {
@@ -6200,198 +6200,198 @@ var Rp = /* @__PURE__ */ k(((t, n) => {
6200
6200
  });
6201
6201
  }
6202
6202
  t.exports = r;
6203
- })), Vp = /* @__PURE__ */ k(((e, t) => {
6204
- var n = Bp(), r = rn();
6203
+ })), Hp = /* @__PURE__ */ k(((e, t) => {
6204
+ var n = Vp(), r = rn();
6205
6205
  function i(e) {
6206
6206
  return e == null ? [] : n(e, r(e));
6207
6207
  }
6208
6208
  t.exports = i;
6209
- })), Hp = /* @__PURE__ */ D(Rp(), 1), Up = /* @__PURE__ */ D($a(), 1), Wp = /* @__PURE__ */ D(zp(), 1), Gp = /* @__PURE__ */ D(Vp(), 1), Kp = (e) => [
6210
- qp,
6209
+ })), Up = /* @__PURE__ */ D(zp(), 1), Wp = /* @__PURE__ */ D($a(), 1), Gp = /* @__PURE__ */ D(Bp(), 1), Kp = /* @__PURE__ */ D(Hp(), 1), qp = (e) => [
6211
6210
  Jp,
6212
6211
  Yp,
6213
6212
  Xp,
6214
6213
  Zp,
6215
6214
  Qp,
6216
- $p
6217
- ].every((t) => t(e)), qp = (e) => (0, Al.default)(e), Jp = (e) => {
6215
+ $p,
6216
+ em
6217
+ ].every((t) => t(e)), Jp = (e) => (0, Al.default)(e), Yp = (e) => {
6218
6218
  let { name: t } = e;
6219
- return (0, Up.default)(t) || (0, Hp.default)(t);
6220
- }, Yp = (e) => {
6221
- let { mode: t, target: n } = e;
6222
- return (0, Up.default)(t) ? (0, Up.default)(n) : (0, Hp.default)(n);
6219
+ return (0, Wp.default)(t) || (0, Up.default)(t);
6223
6220
  }, Xp = (e) => {
6224
- let { mode: t } = e;
6225
- return (0, Up.default)(t) || ["add", "wrap"].some((e) => e === t);
6221
+ let { mode: t, target: n } = e;
6222
+ return (0, Wp.default)(t) ? (0, Wp.default)(n) : (0, Up.default)(n);
6226
6223
  }, Zp = (e) => {
6227
- let { mapStateToProps: t } = e;
6228
- return (0, Up.default)(t) || (0, Wp.default)(t) || (0, jl.default)(t);
6224
+ let { mode: t } = e;
6225
+ return (0, Wp.default)(t) || ["add", "wrap"].some((e) => e === t);
6229
6226
  }, Qp = (e) => {
6230
- let { mapDispatchToProps: t } = e;
6231
- return (0, Up.default)(t) || (0, Wp.default)(t) || (0, jl.default)(t) || (0, Al.default)(t);
6227
+ let { mapStateToProps: t } = e;
6228
+ return (0, Wp.default)(t) || (0, Gp.default)(t) || (0, jl.default)(t);
6232
6229
  }, $p = (e) => {
6230
+ let { mapDispatchToProps: t } = e;
6231
+ return (0, Wp.default)(t) || (0, Gp.default)(t) || (0, jl.default)(t) || (0, Al.default)(t);
6232
+ }, em = (e) => {
6233
6233
  let { reducers: t } = e;
6234
- return (0, Up.default)(t) || (0, Al.default)(t) && (0, Gp.default)(t).every(jl.default);
6234
+ return (0, Wp.default)(t) || (0, Al.default)(t) && (0, Kp.default)(t).every(jl.default);
6235
6235
  };
6236
6236
  //#endregion
6237
6237
  //#region src/extend/pluginPreprocessing.js
6238
- function em(e) {
6239
- let { validPlugins: t, invalidPlugins: n } = tm(e);
6240
- return nm(n), t;
6241
- }
6242
6238
  function tm(e) {
6239
+ let { validPlugins: t, invalidPlugins: n } = nm(e);
6240
+ return rm(n), t;
6241
+ }
6242
+ function nm(e) {
6243
6243
  let t = [], n = [];
6244
6244
  return e.forEach((e) => {
6245
- Array.isArray(e) ? e.every((e) => Kp(e)) ? n.push(...e) : t.push(...e) : Kp(e) ? n.push(e) : t.push(e);
6245
+ Array.isArray(e) ? e.every((e) => qp(e)) ? n.push(...e) : t.push(...e) : qp(e) ? n.push(e) : t.push(e);
6246
6246
  }), {
6247
6247
  invalidPlugins: t,
6248
6248
  validPlugins: n
6249
6249
  };
6250
6250
  }
6251
- function nm(e) {
6251
+ function rm(e) {
6252
6252
  e.forEach((e) => console.log(`Mirador: Plugin ${e.name} is not valid and was rejected.`));
6253
6253
  }
6254
- function rm(e) {
6254
+ function im(e) {
6255
6255
  return e && e.reduce((e, t) => ({
6256
6256
  ...e,
6257
6257
  ...t.reducers
6258
6258
  }), {});
6259
6259
  }
6260
- function im(e) {
6260
+ function am(e) {
6261
6261
  return e && e.reduce((e, t) => (0, Nl.default)(e, t.config || {}), {});
6262
6262
  }
6263
- function am(e) {
6263
+ function om(e) {
6264
6264
  return e && e.filter((e) => e.saga).map((e) => e.saga);
6265
6265
  }
6266
6266
  //#endregion
6267
6267
  //#region node_modules/redux-thunk/dist/redux-thunk.mjs
6268
- function om(e) {
6268
+ function sm(e) {
6269
6269
  return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
6270
6270
  }
6271
- var sm = om(), cm = function(e) {
6271
+ var cm = sm(), lm = function(e) {
6272
6272
  return "@@redux-saga/" + e;
6273
- }, lm = /*#__PURE__*/ cm("CANCEL_PROMISE"), um = /*#__PURE__*/ cm("CHANNEL_END"), dm = /*#__PURE__*/ cm("IO"), fm = /*#__PURE__*/ cm("MATCH"), pm = /*#__PURE__*/ cm("MULTICAST"), mm = /*#__PURE__*/ cm("SAGA_ACTION"), hm = /*#__PURE__*/ cm("SELF_CANCELLATION"), gm = /*#__PURE__*/ cm("TASK"), _m = /*#__PURE__*/ cm("TASK_CANCEL"), vm = /*#__PURE__*/ cm("TERMINATE"), ym = /*#__PURE__*/ cm("LOCATION"), bm = function(e) {
6273
+ }, um = /*#__PURE__*/ lm("CANCEL_PROMISE"), dm = /*#__PURE__*/ lm("CHANNEL_END"), fm = /*#__PURE__*/ lm("IO"), pm = /*#__PURE__*/ lm("MATCH"), mm = /*#__PURE__*/ lm("MULTICAST"), hm = /*#__PURE__*/ lm("SAGA_ACTION"), gm = /*#__PURE__*/ lm("SELF_CANCELLATION"), _m = /*#__PURE__*/ lm("TASK"), vm = /*#__PURE__*/ lm("TASK_CANCEL"), ym = /*#__PURE__*/ lm("TERMINATE"), bm = /*#__PURE__*/ lm("LOCATION"), xm = function(e) {
6274
6274
  return e == null;
6275
- }, xm = function(e) {
6276
- return e != null;
6277
6275
  }, Sm = function(e) {
6278
- return typeof e == "function";
6276
+ return e != null;
6279
6277
  }, Cm = function(e) {
6278
+ return typeof e == "function";
6279
+ }, wm = function(e) {
6280
6280
  return typeof e == "string";
6281
- }, wm = Array.isArray, Tm = function(e) {
6282
- return e && Sm(e.then);
6283
- }, Em = function(e) {
6284
- return e && Sm(e.next) && Sm(e.throw);
6281
+ }, Tm = Array.isArray, Em = function(e) {
6282
+ return e && Cm(e.then);
6285
6283
  }, Dm = function(e) {
6286
- return e && (Cm(e) || Am(e) || Sm(e) || wm(e) && e.every(Dm));
6284
+ return e && Cm(e.next) && Cm(e.throw);
6287
6285
  }, Om = function(e) {
6288
- return e && Sm(e.take) && Sm(e.close);
6286
+ return e && (wm(e) || jm(e) || Cm(e) || Tm(e) && e.every(Om));
6289
6287
  }, km = function(e) {
6290
- return Sm(e) && e.hasOwnProperty("toString");
6288
+ return e && Cm(e.take) && Cm(e.close);
6291
6289
  }, Am = function(e) {
6292
- return !!e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype;
6290
+ return Cm(e) && e.hasOwnProperty("toString");
6293
6291
  }, jm = function(e) {
6294
- return Om(e) && e[pm];
6295
- }, Mm = 2147483647;
6296
- function Nm(e, t) {
6292
+ return !!e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype;
6293
+ }, Mm = function(e) {
6294
+ return km(e) && e[mm];
6295
+ }, Nm = 2147483647;
6296
+ function Pm(e, t) {
6297
6297
  t === void 0 && (t = !0);
6298
6298
  var n, r = new Promise(function(r) {
6299
- n = setTimeout(r, Math.min(Mm, e), t);
6299
+ n = setTimeout(r, Math.min(Nm, e), t);
6300
6300
  });
6301
- return r[lm] = function() {
6301
+ return r[um] = function() {
6302
6302
  clearTimeout(n);
6303
6303
  }, r;
6304
6304
  }
6305
6305
  //#endregion
6306
6306
  //#region node_modules/@redux-saga/core/dist/io-dec07f91.esm.js
6307
- var Pm = /*#__PURE__*/ function(e) {
6307
+ var Fm = /*#__PURE__*/ function(e) {
6308
6308
  return function() {
6309
6309
  return e;
6310
6310
  };
6311
- }(!0), Fm = function() {}, Im = function(e) {
6311
+ }(!0), Im = function() {}, Lm = function(e) {
6312
6312
  return e;
6313
- }, Lm = function(e, t) {
6313
+ }, Rm = function(e, t) {
6314
6314
  ui(e, t), Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(t).forEach(function(n) {
6315
6315
  e[n] = t[n];
6316
6316
  });
6317
- }, Rm = function(e, t) {
6317
+ }, zm = function(e, t) {
6318
6318
  var n;
6319
6319
  return (n = []).concat.apply(n, t.map(e));
6320
6320
  };
6321
- function zm(e, t) {
6321
+ function Bm(e, t) {
6322
6322
  var n = e.indexOf(t);
6323
6323
  n >= 0 && e.splice(n, 1);
6324
6324
  }
6325
- function Bm(e) {
6325
+ function Vm(e) {
6326
6326
  var t = !1;
6327
6327
  return function() {
6328
6328
  t || (t = !0, e());
6329
6329
  };
6330
6330
  }
6331
- var Vm = function(e) {
6331
+ var Hm = function(e) {
6332
6332
  throw e;
6333
- }, Hm = function(e) {
6333
+ }, Um = function(e) {
6334
6334
  return {
6335
6335
  value: e,
6336
6336
  done: !0
6337
6337
  };
6338
6338
  };
6339
- function Um(e, t, n) {
6340
- t === void 0 && (t = Vm), n === void 0 && (n = "iterator");
6339
+ function Wm(e, t, n) {
6340
+ t === void 0 && (t = Hm), n === void 0 && (n = "iterator");
6341
6341
  var r = {
6342
6342
  meta: { name: n },
6343
6343
  next: e,
6344
6344
  throw: t,
6345
- return: Hm,
6345
+ return: Um,
6346
6346
  isSagaIterator: !0
6347
6347
  };
6348
6348
  return typeof Symbol < "u" && (r[Symbol.iterator] = function() {
6349
6349
  return r;
6350
6350
  }), r;
6351
6351
  }
6352
- function Wm(e, t) {
6352
+ function Gm(e, t) {
6353
6353
  var n = t.sagaStack;
6354
6354
  console.error(e), console.error(n);
6355
6355
  }
6356
- var Gm = function(e) {
6356
+ var Km = function(e) {
6357
6357
  return Array.apply(null, Array(e));
6358
- }, Km = function(e) {
6358
+ }, qm = function(e) {
6359
6359
  return function(t) {
6360
- return e(Object.defineProperty(t, mm, { value: !0 }));
6360
+ return e(Object.defineProperty(t, hm, { value: !0 }));
6361
6361
  };
6362
- }, qm = function(e) {
6363
- return e === vm;
6364
6362
  }, Jm = function(e) {
6365
- return e === _m;
6363
+ return e === ym;
6366
6364
  }, Ym = function(e) {
6367
- return qm(e) || Jm(e);
6365
+ return e === vm;
6366
+ }, Xm = function(e) {
6367
+ return Jm(e) || Ym(e);
6368
6368
  };
6369
- function Xm(e, t) {
6370
- var n = Object.keys(e), r = n.length, i = 0, a, o = wm(e) ? Gm(r) : {}, s = {};
6369
+ function Zm(e, t) {
6370
+ var n = Object.keys(e), r = n.length, i = 0, a, o = Tm(e) ? Km(r) : {}, s = {};
6371
6371
  function c() {
6372
6372
  i === r && (a = !0, t(o));
6373
6373
  }
6374
6374
  return n.forEach(function(e) {
6375
6375
  var n = function(n, r) {
6376
- a || (r || Ym(n) ? (t.cancel(), t(n, r)) : (o[e] = n, i++, c()));
6376
+ a || (r || Xm(n) ? (t.cancel(), t(n, r)) : (o[e] = n, i++, c()));
6377
6377
  };
6378
- n.cancel = Fm, s[e] = n;
6378
+ n.cancel = Im, s[e] = n;
6379
6379
  }), t.cancel = function() {
6380
6380
  a || (a = !0, n.forEach(function(e) {
6381
6381
  return s[e].cancel();
6382
6382
  }));
6383
6383
  }, s;
6384
6384
  }
6385
- function Zm(e) {
6385
+ function Qm(e) {
6386
6386
  return {
6387
6387
  name: e.name || "anonymous",
6388
- location: Qm(e)
6388
+ location: $m(e)
6389
6389
  };
6390
6390
  }
6391
- function Qm(e) {
6392
- return e[ym];
6391
+ function $m(e) {
6392
+ return e[bm];
6393
6393
  }
6394
- function $m() {
6394
+ function eh() {
6395
6395
  var e = [...arguments];
6396
6396
  return e.length === 0 ? function(e) {
6397
6397
  return e;
@@ -6401,8 +6401,8 @@ function $m() {
6401
6401
  };
6402
6402
  });
6403
6403
  }
6404
- var eh = "Channel's Buffer overflow!", th = 1, nh = 3, rh = 4;
6405
- function ih(e, t) {
6404
+ var th = "Channel's Buffer overflow!", nh = 1, rh = 3, ih = 4;
6405
+ function ah(e, t) {
6406
6406
  e === void 0 && (e = 10);
6407
6407
  var n = Array(e), r = 0, i = 0, a = 0, o = function(t) {
6408
6408
  n[i] = t, i = (i + 1) % e, r++;
@@ -6424,11 +6424,11 @@ function ih(e, t) {
6424
6424
  else {
6425
6425
  var l;
6426
6426
  switch (t) {
6427
- case th: throw Error(eh);
6428
- case nh:
6427
+ case nh: throw Error(th);
6428
+ case rh:
6429
6429
  n[i] = s, i = (i + 1) % e, a = i;
6430
6430
  break;
6431
- case rh: l = 2 * e, n = c(), r = n.length, i = n.length, a = 0, n.length = l, e = l, o(s);
6431
+ case ih: l = 2 * e, n = c(), r = n.length, i = n.length, a = 0, n.length = l, e = l, o(s);
6432
6432
  }
6433
6433
  }
6434
6434
  },
@@ -6436,59 +6436,59 @@ function ih(e, t) {
6436
6436
  flush: c
6437
6437
  };
6438
6438
  }
6439
- var ah = function(e) {
6440
- return ih(e, rh);
6441
- }, oh = "TAKE", sh = "RACE", ch = "CALL", lh = "FORK", uh = "JOIN", dh = "CANCEL", fh = "SELECT", ph = "ACTION_CHANNEL", mh = "CANCELLED", hh = "FLUSH", gh = "GET_CONTEXT", _h = "SET_CONTEXT", vh = function(e, t) {
6439
+ var oh = function(e) {
6440
+ return ah(e, ih);
6441
+ }, sh = "TAKE", ch = "RACE", lh = "CALL", uh = "FORK", dh = "JOIN", fh = "CANCEL", ph = "SELECT", mh = "ACTION_CHANNEL", hh = "CANCELLED", gh = "FLUSH", _h = "GET_CONTEXT", vh = "SET_CONTEXT", yh = function(e, t) {
6442
6442
  var n;
6443
- return n = {}, n[dm] = !0, n.combinator = !1, n.type = e, n.payload = t, n;
6444
- }, yh = function(e) {
6445
- return vh(lh, ui({}, e.payload, { detached: !0 }));
6443
+ return n = {}, n[fm] = !0, n.combinator = !1, n.type = e, n.payload = t, n;
6444
+ }, bh = function(e) {
6445
+ return yh(uh, ui({}, e.payload, { detached: !0 }));
6446
6446
  };
6447
- function bh(e, t) {
6448
- if (e === void 0 && (e = "*"), Dm(e)) return xm(t) && console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"), vh(oh, { pattern: e });
6449
- if (jm(e) && xm(t) && Dm(t)) return vh(oh, {
6447
+ function xh(e, t) {
6448
+ if (e === void 0 && (e = "*"), Om(e)) return Sm(t) && console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"), yh(sh, { pattern: e });
6449
+ if (Mm(e) && Sm(t) && Om(t)) return yh(sh, {
6450
6450
  channel: e,
6451
6451
  pattern: t
6452
6452
  });
6453
- if (Om(e)) return xm(t) && console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."), vh(oh, { channel: e });
6453
+ if (km(e)) return Sm(t) && console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."), yh(sh, { channel: e });
6454
6454
  }
6455
- function Y(e, t) {
6456
- return bm(t) && (t = e, e = void 0), vh("PUT", {
6455
+ function J(e, t) {
6456
+ return xm(t) && (t = e, e = void 0), yh("PUT", {
6457
6457
  channel: e,
6458
6458
  action: t
6459
6459
  });
6460
6460
  }
6461
- function xh(e) {
6462
- var t = vh("ALL", e);
6461
+ function Y(e) {
6462
+ var t = yh("ALL", e);
6463
6463
  return t.combinator = !0, t;
6464
6464
  }
6465
6465
  function Sh(e, t) {
6466
6466
  var n = null, r;
6467
- return Sm(e) ? r = e : (wm(e) ? (n = e[0], r = e[1]) : (n = e.context, r = e.fn), n && Cm(r) && Sm(n[r]) && (r = n[r])), {
6467
+ return Cm(e) ? r = e : (Tm(e) ? (n = e[0], r = e[1]) : (n = e.context, r = e.fn), n && wm(r) && Cm(n[r]) && (r = n[r])), {
6468
6468
  context: n,
6469
6469
  fn: r,
6470
6470
  args: t
6471
6471
  };
6472
6472
  }
6473
6473
  function X(e) {
6474
- return vh(ch, Sh(e, [...arguments].slice(1)));
6474
+ return yh(lh, Sh(e, [...arguments].slice(1)));
6475
6475
  }
6476
6476
  function Ch(e) {
6477
- return vh(lh, Sh(e, [...arguments].slice(1)));
6477
+ return yh(uh, Sh(e, [...arguments].slice(1)));
6478
6478
  }
6479
6479
  function wh(e) {
6480
6480
  var t = [...arguments].slice(1);
6481
- return yh(Ch.apply(void 0, [e].concat(t)));
6481
+ return bh(Ch.apply(void 0, [e].concat(t)));
6482
6482
  }
6483
6483
  function Z(e) {
6484
- e === void 0 && (e = Im);
6484
+ e === void 0 && (e = Lm);
6485
6485
  var t = [...arguments].slice(1);
6486
- return vh(fh, {
6486
+ return yh(ph, {
6487
6487
  selector: e,
6488
6488
  args: t
6489
6489
  });
6490
6490
  }
6491
- var Th = /*#__PURE__*/ X.bind(null, Nm);
6491
+ var Th = /*#__PURE__*/ X.bind(null, Pm);
6492
6492
  //#endregion
6493
6493
  //#region node_modules/@redux-saga/deferred/dist/redux-saga-deferred.esm.js
6494
6494
  function Eh() {
@@ -6553,18 +6553,18 @@ var Ih = function(e) {
6553
6553
  return t.type === e;
6554
6554
  };
6555
6555
  }, Bh = function() {
6556
- return Pm;
6556
+ return Fm;
6557
6557
  };
6558
6558
  function Vh(e) {
6559
- var t = e === "*" ? Bh : Cm(e) ? Rh : wm(e) ? Ih : km(e) ? Rh : Sm(e) ? Lh : Am(e) ? zh : null;
6559
+ var t = e === "*" ? Bh : wm(e) ? Rh : Tm(e) ? Ih : Am(e) ? Rh : Cm(e) ? Lh : jm(e) ? zh : null;
6560
6560
  if (t === null) throw Error("invalid pattern: " + e);
6561
6561
  return t(e);
6562
6562
  }
6563
- var Hh = { type: um }, Uh = function(e) {
6564
- return e && e.type === um;
6563
+ var Hh = { type: dm }, Uh = function(e) {
6564
+ return e && e.type === dm;
6565
6565
  };
6566
6566
  function Wh(e) {
6567
- e === void 0 && (e = ah());
6567
+ e === void 0 && (e = oh());
6568
6568
  var t = !1, n = [];
6569
6569
  function r(r) {
6570
6570
  if (!t) {
@@ -6574,7 +6574,7 @@ function Wh(e) {
6574
6574
  }
6575
6575
  function i(r) {
6576
6576
  t && e.isEmpty() ? r(Hh) : e.isEmpty() ? (n.push(r), r.cancel = function() {
6577
- zm(n, r);
6577
+ Bm(n, r);
6578
6578
  }) : r(e.take());
6579
6579
  }
6580
6580
  function a(n) {
@@ -6612,7 +6612,7 @@ function Gh() {
6612
6612
  e(Hh);
6613
6613
  });
6614
6614
  };
6615
- return e = {}, e[pm] = !0, e.put = function(e) {
6615
+ return e = {}, e[mm] = !0, e.put = function(e) {
6616
6616
  if (!t) {
6617
6617
  if (Uh(e)) {
6618
6618
  a();
@@ -6620,7 +6620,7 @@ function Gh() {
6620
6620
  }
6621
6621
  for (var i = n = r, o = 0, s = i.length; o < s; o++) {
6622
6622
  var c = i[o];
6623
- c[fm](e) && (c.cancel(), c(e));
6623
+ c[pm](e) && (c.cancel(), c(e));
6624
6624
  }
6625
6625
  }
6626
6626
  }, e.take = function(e, n) {
@@ -6628,15 +6628,15 @@ function Gh() {
6628
6628
  e(Hh);
6629
6629
  return;
6630
6630
  }
6631
- e[fm] = n, i(), r.push(e), e.cancel = Bm(function() {
6632
- i(), zm(r, e);
6631
+ e[pm] = n, i(), r.push(e), e.cancel = Vm(function() {
6632
+ i(), Bm(r, e);
6633
6633
  });
6634
6634
  }, e.close = a, e;
6635
6635
  }
6636
6636
  function Kh() {
6637
6637
  var e = Gh(), t = e.put;
6638
6638
  return e.put = function(e) {
6639
- if (e[mm]) {
6639
+ if (e[hm]) {
6640
6640
  t(e);
6641
6641
  return;
6642
6642
  }
@@ -6647,8 +6647,8 @@ function Kh() {
6647
6647
  }
6648
6648
  var qh = 0, Jh = 1, Yh = 2, Xh = 3;
6649
6649
  function Zh(e, t) {
6650
- var n = e[lm];
6651
- Sm(n) && (t.cancel = n), e.then(t, function(e) {
6650
+ var n = e[um];
6651
+ Cm(n) && (t.cancel = n), e.then(t, function(e) {
6652
6652
  t(e, !0);
6653
6653
  });
6654
6654
  }
@@ -6656,25 +6656,25 @@ var Qh = 0, $h = (function() {
6656
6656
  return ++Qh;
6657
6657
  }), Q;
6658
6658
  function eg(e, t) {
6659
- return e.isSagaIterator ? { name: e.meta.name } : Zm(t);
6659
+ return e.isSagaIterator ? { name: e.meta.name } : Qm(t);
6660
6660
  }
6661
6661
  function tg(e) {
6662
6662
  var t = e.context, n = e.fn, r = e.args;
6663
6663
  try {
6664
6664
  var i = n.apply(t, r);
6665
- if (Em(i)) return i;
6665
+ if (Dm(i)) return i;
6666
6666
  var a = !1;
6667
- return Um(function(e) {
6667
+ return Wm(function(e) {
6668
6668
  return a ? {
6669
6669
  value: e,
6670
6670
  done: !0
6671
6671
  } : (a = !0, {
6672
6672
  value: i,
6673
- done: !Tm(i)
6673
+ done: !Em(i)
6674
6674
  });
6675
6675
  });
6676
6676
  } catch (e) {
6677
- return Um(function() {
6677
+ return Wm(function() {
6678
6678
  throw e;
6679
6679
  });
6680
6680
  }
@@ -6689,7 +6689,7 @@ function ng(e, t, n) {
6689
6689
  n(e, !0);
6690
6690
  return;
6691
6691
  }
6692
- a && Tm(t) ? Zh(t, n) : n(t);
6692
+ a && Em(t) ? Zh(t, n) : n(t);
6693
6693
  });
6694
6694
  }
6695
6695
  function rg(e, t, n) {
@@ -6699,13 +6699,13 @@ function rg(e, t, n) {
6699
6699
  return;
6700
6700
  }
6701
6701
  if (Uh(e) && !o) {
6702
- n(vm);
6702
+ n(ym);
6703
6703
  return;
6704
6704
  }
6705
6705
  n(e);
6706
6706
  };
6707
6707
  try {
6708
- i.take(s, xm(a) ? Vh(a) : null);
6708
+ i.take(s, Sm(a) ? Vh(a) : null);
6709
6709
  } catch (e) {
6710
6710
  n(e, !0);
6711
6711
  return;
@@ -6716,12 +6716,12 @@ function ig(e, t, n, r) {
6716
6716
  var i = t.context, a = t.fn, o = t.args, s = r.task;
6717
6717
  try {
6718
6718
  var c = a.apply(i, o);
6719
- if (Tm(c)) {
6719
+ if (Em(c)) {
6720
6720
  Zh(c, n);
6721
6721
  return;
6722
6722
  }
6723
- if (Em(c)) {
6724
- jg(e, c, s.context, Qh, Zm(a), !1, n);
6723
+ if (Dm(c)) {
6724
+ jg(e, c, s.context, Qh, Qm(a), !1, n);
6725
6725
  return;
6726
6726
  }
6727
6727
  n(c);
@@ -6733,7 +6733,7 @@ function ag(e, t, n) {
6733
6733
  var r = t.context, i = t.fn, a = t.args;
6734
6734
  try {
6735
6735
  var o = function(e, t) {
6736
- bm(e) ? n(t) : n(e, !0);
6736
+ xm(e) ? n(t) : n(e, !0);
6737
6737
  };
6738
6738
  i.apply(r, a.concat(o)), o.cancel && (n.cancel = o.cancel);
6739
6739
  } catch (e) {
@@ -6759,16 +6759,16 @@ function sg(e, t, n, r) {
6759
6759
  cb: t
6760
6760
  };
6761
6761
  t.cancel = function() {
6762
- e.isRunning() && zm(e.joiners, n);
6762
+ e.isRunning() && Bm(e.joiners, n);
6763
6763
  }, e.joiners.push(n);
6764
6764
  } else e.isAborted() ? t(e.error(), !0) : t(e.result());
6765
6765
  };
6766
- if (wm(t)) {
6766
+ if (Tm(t)) {
6767
6767
  if (t.length === 0) {
6768
6768
  n([]);
6769
6769
  return;
6770
6770
  }
6771
- var o = Xm(t, n);
6771
+ var o = Zm(t, n);
6772
6772
  t.forEach(function(e, t) {
6773
6773
  a(e, o[t]);
6774
6774
  });
@@ -6779,26 +6779,26 @@ function cg(e) {
6779
6779
  }
6780
6780
  function lg(e, t, n, r) {
6781
6781
  var i = r.task;
6782
- t === hm ? cg(i) : wm(t) ? t.forEach(cg) : cg(t), n();
6782
+ t === gm ? cg(i) : Tm(t) ? t.forEach(cg) : cg(t), n();
6783
6783
  }
6784
6784
  function ug(e, t, n, r) {
6785
6785
  var i = r.digestEffect, a = Qh, o = Object.keys(t);
6786
6786
  if (o.length === 0) {
6787
- n(wm(t) ? [] : {});
6787
+ n(Tm(t) ? [] : {});
6788
6788
  return;
6789
6789
  }
6790
- var s = Xm(t, n);
6790
+ var s = Zm(t, n);
6791
6791
  o.forEach(function(e) {
6792
6792
  i(t[e], a, s[e], e);
6793
6793
  });
6794
6794
  }
6795
6795
  function dg(e, t, n, r) {
6796
- var i = r.digestEffect, a = Qh, o = Object.keys(t), s = wm(t) ? Gm(o.length) : {}, c = {}, l = !1;
6796
+ var i = r.digestEffect, a = Qh, o = Object.keys(t), s = Tm(t) ? Km(o.length) : {}, c = {}, l = !1;
6797
6797
  o.forEach(function(e) {
6798
6798
  var t = function(t, r) {
6799
- l || (r || Ym(t) ? (n.cancel(), n(t, r)) : (n.cancel(), l = !0, s[e] = t, n(s)));
6799
+ l || (r || Xm(t) ? (n.cancel(), n(t, r)) : (n.cancel(), l = !0, s[e] = t, n(s)));
6800
6800
  };
6801
- t.cancel = Fm, c[e] = t;
6801
+ t.cancel = Im, c[e] = t;
6802
6802
  }), n.cancel = function() {
6803
6803
  l || (l = !0, o.forEach(function(e) {
6804
6804
  return c[e].cancel();
@@ -6836,9 +6836,9 @@ function gg(e, t, n, r) {
6836
6836
  }
6837
6837
  function _g(e, t, n, r) {
6838
6838
  var i = r.task;
6839
- Lm(i.context, t), n();
6839
+ Rm(i.context, t), n();
6840
6840
  }
6841
- var vg = (Q = {}, Q[oh] = rg, Q.PUT = ng, Q.ALL = ug, Q[sh] = dg, Q[ch] = ig, Q.CPS = ag, Q[lh] = og, Q[uh] = sg, Q[dh] = lg, Q[fh] = fg, Q[ph] = pg, Q[mh] = mg, Q[hh] = hg, Q[gh] = gg, Q[_h] = _g, Q);
6841
+ var vg = (Q = {}, Q[sh] = rg, Q.PUT = ng, Q.ALL = ug, Q[ch] = dg, Q[lh] = ig, Q.CPS = ag, Q[uh] = og, Q[dh] = sg, Q[fh] = lg, Q[ph] = fg, Q[mh] = pg, Q[hh] = mg, Q[gh] = hg, Q[_h] = gg, Q[vh] = _g, Q);
6842
6842
  function yg(e, t, n) {
6843
6843
  var r = [], i, a = !1;
6844
6844
  c(e);
@@ -6850,12 +6850,12 @@ function yg(e, t, n) {
6850
6850
  }
6851
6851
  function c(t) {
6852
6852
  r.push(t), t.cont = function(o, c) {
6853
- a || (zm(r, t), t.cont = Fm, c ? s(o) : (t === e && (i = o), r.length || (a = !0, n(i))));
6853
+ a || (Bm(r, t), t.cont = Im, c ? s(o) : (t === e && (i = o), r.length || (a = !0, n(i))));
6854
6854
  };
6855
6855
  }
6856
6856
  function l() {
6857
6857
  a || (a = !0, r.forEach(function(e) {
6858
- e.cont = Fm, e.cancel();
6858
+ e.cont = Im, e.cancel();
6859
6859
  }), r = []);
6860
6860
  }
6861
6861
  return {
@@ -6869,7 +6869,7 @@ function bg(e, t) {
6869
6869
  return e + "?" + t;
6870
6870
  }
6871
6871
  function xg(e) {
6872
- var t = Qm(e);
6872
+ var t = $m(e);
6873
6873
  if (t) {
6874
6874
  var n = t.code, r = t.fileName, i = t.lineNumber;
6875
6875
  return n + " " + bg(r, i);
@@ -6881,7 +6881,7 @@ function Sg(e) {
6881
6881
  return n ? t + " " + bg(n.fileName, n.lineNumber) : t;
6882
6882
  }
6883
6883
  function Cg(e) {
6884
- var t = Rm(function(e) {
6884
+ var t = zm(function(e) {
6885
6885
  return e.cancelledTasks;
6886
6886
  }, e);
6887
6887
  return t.length ? ["Tasks cancelled due to error:"].concat(t).join("\n") : "";
@@ -6900,17 +6900,17 @@ var wg = null, Tg = [], Eg = function(e) {
6900
6900
  };
6901
6901
  function Ag(e, t, n, r, i, a, o) {
6902
6902
  var s;
6903
- o === void 0 && (o = Fm);
6903
+ o === void 0 && (o = Im);
6904
6904
  var c = qh, l, u, d = null, f = [], p = Object.create(n), m = yg(t, function() {
6905
6905
  f.push.apply(f, m.getTasks().map(function(e) {
6906
6906
  return e.meta.name;
6907
6907
  }));
6908
6908
  }, g);
6909
6909
  function h() {
6910
- c === qh && (c = Jh, m.cancelAll(), g(_m, !1));
6910
+ c === qh && (c = Jh, m.cancelAll(), g(vm, !1));
6911
6911
  }
6912
6912
  function g(t, n) {
6913
- if (!n) t === _m ? c = Jh : c !== Jh && (c = Xh), l = t, d && d.resolve(t);
6913
+ if (!n) t === vm ? c = Jh : c !== Jh && (c = Xh), l = t, d && d.resolve(t);
6914
6914
  else {
6915
6915
  if (c = Yh, Eg({
6916
6916
  meta: i,
@@ -6926,12 +6926,12 @@ function Ag(e, t, n, r, i, a, o) {
6926
6926
  }), y.joiners = null;
6927
6927
  }
6928
6928
  function _(e) {
6929
- Lm(p, e);
6929
+ Rm(p, e);
6930
6930
  }
6931
6931
  function v() {
6932
6932
  return d ? d.promise : (d = Eh(), c === Yh ? d.reject(u) : c !== qh && d.resolve(l), d.promise);
6933
6933
  }
6934
- var y = (s = {}, s[gm] = !0, s.id = r, s.meta = i, s.isRoot = a, s.context = p, s.joiners = [], s.queue = m, s.cancel = h, s.cont = o, s.end = g, s.setContext = _, s.toPromise = v, s.isRunning = function() {
6934
+ var y = (s = {}, s[_m] = !0, s.id = r, s.meta = i, s.isRoot = a, s.context = p, s.joiners = [], s.queue = m, s.cancel = h, s.cont = o, s.end = g, s.setContext = _, s.toPromise = v, s.isRunning = function() {
6935
6935
  return c === qh;
6936
6936
  }, s.isCancelled = function() {
6937
6937
  return c === Jh || c === qh && t.status === Jh;
@@ -6946,7 +6946,7 @@ function Ag(e, t, n, r, i, a, o) {
6946
6946
  }
6947
6947
  function jg(e, t, n, r, i, a, o) {
6948
6948
  var s = e.finalizeRunEffect(g);
6949
- h.cancel = Fm;
6949
+ h.cancel = Im;
6950
6950
  var c = {
6951
6951
  meta: i,
6952
6952
  cancel: d,
@@ -6956,14 +6956,14 @@ function jg(e, t, n, r, i, a, o) {
6956
6956
  digestEffect: _
6957
6957
  };
6958
6958
  function d() {
6959
- c.status === qh && (c.status = Jh, h(_m));
6959
+ c.status === qh && (c.status = Jh, h(vm));
6960
6960
  }
6961
6961
  o && (o.cancel = l.cancel);
6962
6962
  var f = !1, p = 0, m;
6963
6963
  return h(), l;
6964
6964
  function h(e, n) {
6965
6965
  if (f && (p === kh || p > 0 && kh > p)) {
6966
- Jm(e) && (c.status = Jh, h.cancel()), m = {
6966
+ Ym(e) && (c.status = Jh, h.cancel()), m = {
6967
6967
  arg: e,
6968
6968
  isErr: n
6969
6969
  };
@@ -6974,10 +6974,10 @@ function jg(e, t, n, r, i, a, o) {
6974
6974
  do {
6975
6975
  i = !1;
6976
6976
  var a = void 0;
6977
- if (n ? (a = t.throw(e), Dg()) : Jm(e) ? (c.status = Jh, h.cancel(), a = Sm(t.return) ? t.return(_m) : {
6977
+ if (n ? (a = t.throw(e), Dg()) : Ym(e) ? (c.status = Jh, h.cancel(), a = Cm(t.return) ? t.return(vm) : {
6978
6978
  done: !0,
6979
- value: _m
6980
- }) : a = qm(e) ? Sm(t.return) ? t.return() : { done: !0 } : t.next(e), a.done) {
6979
+ value: vm
6980
+ }) : a = Jm(e) ? Cm(t.return) ? t.return() : { done: !0 } : t.next(e), a.done) {
6981
6981
  c.status !== Jh && (c.status = Xh), c.cont(a.value);
6982
6982
  return;
6983
6983
  }
@@ -6997,9 +6997,9 @@ function jg(e, t, n, r, i, a, o) {
6997
6997
  }
6998
6998
  }
6999
6999
  function g(t, n, r) {
7000
- if (Tm(t)) Zh(t, r);
7001
- else if (Em(t)) jg(e, t, l.context, n, i, !1, r);
7002
- else if (t && t[dm]) {
7000
+ if (Em(t)) Zh(t, r);
7001
+ else if (Dm(t)) jg(e, t, l.context, n, i, !1, r);
7002
+ else if (t && t[fm]) {
7003
7003
  var a = vg[t.type];
7004
7004
  a(e, t.payload, r, u);
7005
7005
  } else r(t);
@@ -7015,23 +7015,23 @@ function jg(e, t, n, r, i, a, o) {
7015
7015
  });
7016
7016
  var o;
7017
7017
  function c(n, i) {
7018
- o || (o = !0, r.cancel = Fm, e.sagaMonitor && (i ? e.sagaMonitor.effectRejected(a, n) : e.sagaMonitor.effectResolved(a, n)), i && Og(t), r(n, i));
7018
+ o || (o = !0, r.cancel = Im, e.sagaMonitor && (i ? e.sagaMonitor.effectRejected(a, n) : e.sagaMonitor.effectResolved(a, n)), i && Og(t), r(n, i));
7019
7019
  }
7020
- c.cancel = Fm, r.cancel = function() {
7021
- o || (o = !0, c.cancel(), c.cancel = Fm, e.sagaMonitor && e.sagaMonitor.effectCancelled(a));
7020
+ c.cancel = Im, r.cancel = function() {
7021
+ o || (o = !0, c.cancel(), c.cancel = Im, e.sagaMonitor && e.sagaMonitor.effectCancelled(a));
7022
7022
  }, s(t, a, c);
7023
7023
  }
7024
7024
  }
7025
7025
  function Mg(e, t) {
7026
- var n = e.channel, r = n === void 0 ? Kh() : n, i = e.dispatch, a = e.getState, o = e.context, s = o === void 0 ? {} : o, c = e.sagaMonitor, l = e.effectMiddlewares, u = e.onError, d = u === void 0 ? Wm : u, f = [...arguments].slice(2), p = t.apply(void 0, f), m = $h();
7027
- c && (c.rootSagaStarted = c.rootSagaStarted || Fm, c.effectTriggered = c.effectTriggered || Fm, c.effectResolved = c.effectResolved || Fm, c.effectRejected = c.effectRejected || Fm, c.effectCancelled = c.effectCancelled || Fm, c.actionDispatched = c.actionDispatched || Fm, c.rootSagaStarted({
7026
+ var n = e.channel, r = n === void 0 ? Kh() : n, i = e.dispatch, a = e.getState, o = e.context, s = o === void 0 ? {} : o, c = e.sagaMonitor, l = e.effectMiddlewares, u = e.onError, d = u === void 0 ? Gm : u, f = [...arguments].slice(2), p = t.apply(void 0, f), m = $h();
7027
+ c && (c.rootSagaStarted = c.rootSagaStarted || Im, c.effectTriggered = c.effectTriggered || Im, c.effectResolved = c.effectResolved || Im, c.effectRejected = c.effectRejected || Im, c.effectCancelled = c.effectCancelled || Im, c.actionDispatched = c.actionDispatched || Im, c.rootSagaStarted({
7028
7028
  effectId: m,
7029
7029
  saga: t,
7030
7030
  args: f
7031
7031
  }));
7032
7032
  var h;
7033
7033
  if (l) {
7034
- var g = $m.apply(void 0, l);
7034
+ var g = eh.apply(void 0, l);
7035
7035
  h = function(e) {
7036
7036
  return function(t, n, r) {
7037
7037
  return g(function(t) {
@@ -7039,17 +7039,17 @@ function Mg(e, t) {
7039
7039
  })(t);
7040
7040
  };
7041
7041
  };
7042
- } else h = Im;
7042
+ } else h = Lm;
7043
7043
  var _ = {
7044
7044
  channel: r,
7045
- dispatch: Km(i),
7045
+ dispatch: qm(i),
7046
7046
  getState: a,
7047
7047
  sagaMonitor: c,
7048
7048
  onError: d,
7049
7049
  finalizeRunEffect: h
7050
7050
  };
7051
7051
  return Mh(function() {
7052
- var e = jg(_, p, s, m, Zm(t), !0, void 0);
7052
+ var e = jg(_, p, s, m, Qm(t), !0, void 0);
7053
7053
  return c && c.effectResolved(m, e), e;
7054
7054
  });
7055
7055
  }
@@ -7079,7 +7079,7 @@ function Pg(e) {
7079
7079
  return l.run = function() {
7080
7080
  return c.apply(void 0, arguments);
7081
7081
  }, l.setContext = function(e) {
7082
- Lm(r, e);
7082
+ Rm(r, e);
7083
7083
  }, l;
7084
7084
  }
7085
7085
  //#endregion
@@ -8726,7 +8726,7 @@ var tv = function(e) {
8726
8726
  };
8727
8727
  }, nv = {};
8728
8728
  function rv(e) {
8729
- return Om(e) ? "channel" : km(e) ? String(e) : Sm(e) ? e.name : String(e);
8729
+ return km(e) ? "channel" : Am(e) ? String(e) : Cm(e) ? e.name : String(e);
8730
8730
  }
8731
8731
  function iv(e, t, n) {
8732
8732
  var r, i, a, o = t;
@@ -8737,14 +8737,14 @@ function iv(e, t, n) {
8737
8737
  var s = n ? e[i](n) : e[o]();
8738
8738
  return o = s.nextState, a = s.effect, r = s.stateUpdater, i = s.errorState, o === nv ? tv(t) : a;
8739
8739
  }
8740
- return Um(s, function(e) {
8740
+ return Wm(s, function(e) {
8741
8741
  return s(null, e);
8742
8742
  }, n);
8743
8743
  }
8744
8744
  function av(e, t) {
8745
8745
  var n = [...arguments].slice(2), r = {
8746
8746
  done: !1,
8747
- value: bh(e)
8747
+ value: xh(e)
8748
8748
  }, i = function(e) {
8749
8749
  return {
8750
8750
  done: !1,
@@ -8825,7 +8825,7 @@ function* cv(e, t, n, { degraded: r, failure: i, success: a }) {
8825
8825
  success: (e) => e
8826
8826
  });
8827
8827
  if (c) {
8828
- yield Y(i({
8828
+ yield J(i({
8829
8829
  error: c,
8830
8830
  json: l,
8831
8831
  response: u,
@@ -8836,7 +8836,7 @@ function* cv(e, t, n, { degraded: r, failure: i, success: a }) {
8836
8836
  let d = l["@id"] || l.id;
8837
8837
  if (u.ok) {
8838
8838
  if (pr(d, { stripAuthentication: !1 }) === pr(e.replace(/info\.json$/, ""), { stripAuthentication: !1 })) {
8839
- yield Y(a({
8839
+ yield J(a({
8840
8840
  json: l,
8841
8841
  response: u,
8842
8842
  tokenServiceId: s
@@ -8844,7 +8844,7 @@ function* cv(e, t, n, { degraded: r, failure: i, success: a }) {
8844
8844
  return;
8845
8845
  }
8846
8846
  } else if (u.status !== 401) {
8847
- yield Y(i({
8847
+ yield J(i({
8848
8848
  error: c,
8849
8849
  json: l,
8850
8850
  response: u,
@@ -8861,14 +8861,14 @@ function* cv(e, t, n, { degraded: r, failure: i, success: a }) {
8861
8861
  });
8862
8862
  return;
8863
8863
  }
8864
- yield Y((r || a)({
8864
+ yield J((r || a)({
8865
8865
  json: l,
8866
8866
  response: u,
8867
8867
  tokenServiceId: s
8868
8868
  }));
8869
8869
  }
8870
8870
  function* lv({ manifestId: e }) {
8871
- yield Y(yield X(sv, e, {}, {
8871
+ yield J(yield X(sv, e, {}, {
8872
8872
  failure: ({ error: t, json: n, response: r }) => Ho(e, typeof t == "object" ? String(t) : t),
8873
8873
  success: ({ json: t, response: n }) => Oa(e, t)
8874
8874
  }));
@@ -8894,20 +8894,20 @@ function* dv({ imageResource: e, infoId: t, windowId: n }) {
8894
8894
  });
8895
8895
  }
8896
8896
  function* fv({ windowId: e, companionWindowId: t, query: n, searchId: r }) {
8897
- yield Y(yield X(sv, r, {}, {
8897
+ yield J(yield X(sv, r, {}, {
8898
8898
  failure: ({ error: n, json: i, response: a }) => Us(e, t, r, n),
8899
8899
  success: ({ json: n, response: i }) => Bi(e, t, r, n)
8900
8900
  }));
8901
8901
  }
8902
8902
  function* pv({ targetId: e, annotationId: t }) {
8903
- yield Y(yield X(sv, t, {}, {
8903
+ yield J(yield X(sv, t, {}, {
8904
8904
  failure: ({ error: n, json: r, response: i }) => Ln(e, t, n),
8905
8905
  success: ({ json: n, response: r }) => Wn(e, t, n)
8906
8906
  }));
8907
8907
  }
8908
8908
  function* mv({ manifestId: e, manifestJson: t }) {
8909
8909
  if (t) {
8910
- yield Y(Oa(e, t));
8910
+ yield J(Oa(e, t));
8911
8911
  return;
8912
8912
  }
8913
8913
  e && ((yield Z(de) || {})[e] || (yield* lv({ manifestId: e })));
@@ -8920,7 +8920,7 @@ function* hv(...e) {
8920
8920
  }
8921
8921
  }
8922
8922
  function* gv() {
8923
- yield xh([
8923
+ yield Y([
8924
8924
  $(M.REQUEST_MANIFEST, lv),
8925
8925
  $(M.REQUEST_INFO_RESPONSE, dv),
8926
8926
  $(M.REQUEST_SEARCH, fv),
@@ -8932,7 +8932,7 @@ function* gv() {
8932
8932
  //#region src/state/sagas/windows.js
8933
8933
  function* _v(e) {
8934
8934
  let { collectionPath: t, id: n, manifestId: r } = e.payload || e.window;
8935
- r && (e.manifest ? yield Y(Oa(r, e.manifest)) : yield X(hv, r, ...t || []), yield X(xv, e), yield X(Sv, e), t || (yield X(yv, {
8935
+ r && (e.manifest ? yield J(Oa(r, e.manifest)) : yield X(hv, r, ...t || []), yield X(xv, e), yield X(Sv, e), t || (yield X(yv, {
8936
8936
  manifestId: r,
8937
8937
  windowId: e.id || e.window.id
8938
8938
  })), yield X(Av, r, n));
@@ -8941,13 +8941,13 @@ function* vv(e) {
8941
8941
  let t = e.id;
8942
8942
  if (!e || !e.payload || !e.payload.sequenceId) return;
8943
8943
  let n = yield Z(on, { windowId: t });
8944
- !n || !n[0] || !n[0].id || (yield Y(yield X(_c, t, n[0].id)));
8944
+ !n || !n[0] || !n[0].id || (yield J(yield X(_c, t, n[0].id)));
8945
8945
  }
8946
8946
  function* yv({ manifestId: e, windowId: t }) {
8947
8947
  let n = yield Z(vt, { manifestId: e });
8948
8948
  if (n) {
8949
8949
  let e = n.getProperty("partOf"), r = Array.isArray(e) ? e[0] : e;
8950
- r && r.id && (yield Y(ac(t, { collectionPath: [r.id] })));
8950
+ r && r.id && (yield J(ac(t, { collectionPath: [r.id] })));
8951
8951
  }
8952
8952
  }
8953
8953
  function* bv(e) {
@@ -8958,14 +8958,14 @@ function* xv(e) {
8958
8958
  let { canvasId: t, canvasIndex: n, manifestId: r } = e.payload || e.window, i = e.id || e.window.id;
8959
8959
  if (t) {
8960
8960
  let n = !!e.payload || !!e.window?.initialViewerConfig;
8961
- yield Y(yield X(_c, i, t, null, { preserveViewport: n }));
8961
+ yield J(yield X(_c, i, t, null, { preserveViewport: n }));
8962
8962
  } else {
8963
8963
  let t = yield Z($e), a = yield Z(vt, { manifestId: r });
8964
8964
  if (a) {
8965
8965
  let r = t(a), o = r.startCanvas || r.canvasAt(n || 0) || r.canvasAt(0);
8966
8966
  if (o) {
8967
8967
  let t = !!e.payload || !!e.window?.initialViewerConfig;
8968
- yield Y(t ? yield X(_c, i, o.id, null, { preserveViewport: t }) : yield X(_c, i, o.id));
8968
+ yield J(t ? yield X(_c, i, o.id, null, { preserveViewport: t }) : yield X(_c, i, o.id));
8969
8969
  }
8970
8970
  }
8971
8971
  }
@@ -8978,7 +8978,7 @@ function* Sv(e) {
8978
8978
  }))[0];
8979
8979
  if (r && i) {
8980
8980
  let e = r && `${r.id}?${new URLSearchParams({ q: n })}`;
8981
- yield Y(hi(t, i, e, n));
8981
+ yield J(hi(t, i, e, n));
8982
8982
  }
8983
8983
  }
8984
8984
  function Cv(e, { canvasIds: t, companionWindowIds: n, windowId: r }) {
@@ -8998,12 +8998,12 @@ function* wv({ annotationId: e, windowId: t, visibleCanvases: n }) {
8998
8998
  companionWindowIds: i,
8999
8999
  windowId: t
9000
9000
  });
9001
- yield xh(Object.keys(a).map((e) => Y($r(t, e, a[e])))), Object.values(a).length > 0 && (yield Y(zn(t, Object.values(a)[0][0])));
9001
+ yield Y(Object.keys(a).map((e) => J($r(t, e, a[e])))), Object.values(a).length > 0 && (yield J(zn(t, Object.values(a)[0][0])));
9002
9002
  }
9003
9003
  function* Tv({ pan: e, windowId: t }) {
9004
9004
  if (!e) return;
9005
9005
  let { x: n, y: r, width: i, height: a } = (yield Z(ke))[t] || {}, { viewportPosition: { width: o, height: s } } = yield Z(ae);
9006
- yield Y(_r({
9006
+ yield J(_r({
9007
9007
  x: n + i / 2 - o / 2,
9008
9008
  y: r + a / 2 - s / 2
9009
9009
  }));
@@ -9013,7 +9013,7 @@ function* Ev({ windowId: e }) {
9013
9013
  canvasId: t,
9014
9014
  windowId: e
9015
9015
  });
9016
- yield Y(ac(e, { visibleCanvases: (n || []).map((e) => e.id) }));
9016
+ yield J(ac(e, { visibleCanvases: (n || []).map((e) => e.id) }));
9017
9017
  }
9018
9018
  function* Dv({ companionWindowId: e, windowId: t }) {
9019
9019
  let { switchCanvasOnSearch: n } = yield Z(et, { windowId: t });
@@ -9025,28 +9025,28 @@ function* Dv({ companionWindowId: e, windowId: t }) {
9025
9025
  companionWindowId: e,
9026
9026
  windowId: t
9027
9027
  });
9028
- !r || r.length === 0 || (yield Y(zn(t, r[0].id)));
9028
+ !r || r.length === 0 || (yield J(zn(t, r[0].id)));
9029
9029
  }
9030
9030
  function* Ov({ annotationId: e, windowId: t }) {
9031
9031
  let n = yield Z(Zt, { windowId: t }), r = yield Z(tr, {
9032
9032
  annotationId: e,
9033
9033
  windowId: t
9034
9034
  });
9035
- !r || n.includes(r.id) || (yield Y(yield X(_c, t, r.id)));
9035
+ !r || n.includes(r.id) || (yield J(yield X(_c, t, r.id)));
9036
9036
  }
9037
9037
  function* kv({ visibleCanvases: e, windowId: t }) {
9038
9038
  let n = yield Z(on, { windowId: t }), r = yield Z(xn), i = (n || []).filter((t) => e.includes(t.id)), a = yield Z(He);
9039
- yield xh(i.map((e) => xh(a(e).iiifImageResources.map((e) => !r[st(e)?.id] && Y(zl({
9039
+ yield Y(i.map((e) => Y(a(e).iiifImageResources.map((e) => !r[st(e)?.id] && J(zl({
9040
9040
  imageResource: e,
9041
9041
  windowId: t
9042
9042
  }))).filter(Boolean))));
9043
9043
  }
9044
9044
  function* Av(e, t) {
9045
9045
  let n = yield Z(vt, { manifestId: e });
9046
- n && n.isCollection() && (yield Y(pc(e, [], t)));
9046
+ n && n.isCollection() && (yield J(pc(e, [], t)));
9047
9047
  }
9048
9048
  function* jv() {
9049
- yield xh([
9049
+ yield Y([
9050
9050
  $(M.ADD_WINDOW, _v),
9051
9051
  $(M.UPDATE_WINDOW, _v),
9052
9052
  $(M.UPDATE_WINDOW, vv),
@@ -9063,13 +9063,13 @@ function* jv() {
9063
9063
  //#endregion
9064
9064
  //#region src/state/sagas/app.js
9065
9065
  function* Mv(e) {
9066
- yield xh([...Object.entries(e.state.windows || {}).map(([e, t]) => X(_v, {
9066
+ yield Y([...Object.entries(e.state.windows || {}).map(([e, t]) => X(_v, {
9067
9067
  id: t.id,
9068
9068
  payload: t
9069
9069
  })), ...Object.entries(e.state.manifests || {}).filter(([e, t]) => !t.json).map(([e, t]) => X(hv, t.id))]);
9070
9070
  }
9071
9071
  function* Nv({ config: { thumbnailNavigation: e, windows: t } }) {
9072
- !t || t.length === 0 || (yield xh((yield xh(t.map((t) => {
9072
+ !t || t.length === 0 || (yield Y((yield Y(t.map((t) => {
9073
9073
  let n = `window-${te()}`, r = t.manifestId || t.loadedManifest;
9074
9074
  return X(fc, {
9075
9075
  id: n,
@@ -9077,14 +9077,14 @@ function* Nv({ config: { thumbnailNavigation: e, windows: t } }) {
9077
9077
  thumbnailNavigationPosition: e && e.defaultPosition,
9078
9078
  ...t
9079
9079
  });
9080
- }))).map((e) => Y(e))));
9080
+ }))).map((e) => J(e))));
9081
9081
  }
9082
9082
  function* Pv(e) {
9083
9083
  let { dialogCollectionPath: t, manifestId: n } = e;
9084
9084
  yield X(hv, n, ...t);
9085
9085
  }
9086
9086
  function* Fv() {
9087
- yield xh([
9087
+ yield Y([
9088
9088
  $(M.IMPORT_MIRADOR_STATE, Mv),
9089
9089
  $(M.IMPORT_CONFIG, Nv),
9090
9090
  $(M.SHOW_COLLECTION_DIALOG, Pv)
@@ -9097,13 +9097,13 @@ function* Iv({ canvasId: e, windowId: t }) {
9097
9097
  canvasId: e,
9098
9098
  windowId: t
9099
9099
  }), r = yield Z(Dn), i = (yield Z(He))(n);
9100
- return yield xh([...i.annotationListUris.filter((e) => !(r[n.id] && r[n.id][e])).map((e) => Y(Xn(n.id, e))), ...i.canvasAnnotationPages.filter((e) => !(r[n.id] && r[n.id][e.id])).map((e) => e.items ? Y(Wn(n.id, e.id, e)) : Y(Xn(n.id, e.id)))]);
9100
+ return yield Y([...i.annotationListUris.filter((e) => !(r[n.id] && r[n.id][e])).map((e) => J(Xn(n.id, e))), ...i.canvasAnnotationPages.filter((e) => !(r[n.id] && r[n.id][e.id])).map((e) => e.items ? J(Wn(n.id, e.id, e)) : J(Xn(n.id, e.id)))]);
9101
9101
  }
9102
9102
  function* Lv({ visibleCanvases: e = [], windowId: t }) {
9103
- return yield xh(e.map((e) => Y($n(t, e))));
9103
+ return yield Y(e.map((e) => J($n(t, e))));
9104
9104
  }
9105
9105
  function* Rv() {
9106
- yield xh([$(M.REQUEST_CANVAS_ANNOTATIONS, Iv), $(M.SET_CANVAS, Lv)]);
9106
+ yield Y([$(M.REQUEST_CANVAS_ANNOTATIONS, Iv), $(M.SET_CANVAS, Lv)]);
9107
9107
  }
9108
9108
  //#endregion
9109
9109
  //#region src/state/sagas/auth.js
@@ -9111,11 +9111,11 @@ function* zv({ tokenServiceId: e }) {
9111
9111
  yield Th(2e3), yield X(Bv, { serviceId: e });
9112
9112
  }
9113
9113
  function* Bv({ serviceId: e }) {
9114
- let t = yield Z(S), n = yield xh(Object.keys(t).map((e) => Z(ht, { windowId: e }))), r = yield Z(He), i = n.flat().flatMap((e) => r(e).imageServiceIds), a = yield Z(xn), o = (t) => Ml.Utils.getServices(t).some((t) => {
9114
+ let t = yield Z(S), n = yield Y(Object.keys(t).map((e) => Z(ht, { windowId: e }))), r = yield Z(He), i = n.flat().flatMap((e) => r(e).imageServiceIds), a = yield Z(xn), o = (t) => Ml.Utils.getServices(t).some((t) => {
9115
9115
  let n = Ml.Utils.getService(t, "http://iiif.io/api/auth/1/token") || Ml.Utils.getService(t, "http://iiif.io/api/auth/0/token");
9116
9116
  return n && n.id === e;
9117
9117
  });
9118
- yield xh(Object.values(a).filter((e) => e.json && o(e.json)).map(({ id: e }) => i.includes(e) ? X(dv, { infoId: e }) : Y({
9118
+ yield Y(Object.values(a).filter((e) => e.json && o(e.json)).map(({ id: e }) => i.includes(e) ? X(dv, { infoId: e }) : J({
9119
9119
  infoId: e,
9120
9120
  type: M.REMOVE_INFO_RESPONSE
9121
9121
  })));
@@ -9124,11 +9124,11 @@ function* Vv({ infoJson: e, windowId: t }) {
9124
9124
  let n = yield Z(Ui), { auth: { serviceProfiles: r = [] } = {} } = yield Z(j), i = r.filter((e) => e.external || e.kiosk), a = Ml.Utils.getServices(e).filter((e) => !n[e.id]).find((e) => i.some((t) => t.profile === e.getProfile()));
9125
9125
  if (!a) return;
9126
9126
  let o = i.find((e) => e.profile === a.getProfile());
9127
- if (o.kiosk) yield Y(ca(t, a.id, a.getProfile()));
9127
+ if (o.kiosk) yield J(ca(t, a.id, a.getProfile()));
9128
9128
  else if (o.external) {
9129
9129
  let e = Ml.Utils.getService(a, "http://iiif.io/api/auth/1/token") || Ml.Utils.getService(a, "http://iiif.io/api/auth/0/token");
9130
9130
  if (!e) return;
9131
- yield Y(ca(t, a.id, a.getProfile())), yield Y(fa(a.id, e.id, { ok: !0 })), yield Y($o(e.id, a.id));
9131
+ yield J(ca(t, a.id, a.getProfile())), yield J(fa(a.id, e.id, { ok: !0 })), yield J($o(e.id, a.id));
9132
9132
  }
9133
9133
  }
9134
9134
  function* Hv({ infoJson: e, windowId: t, tokenServiceId: n }) {
@@ -9139,19 +9139,19 @@ function* Hv({ infoJson: e, windowId: t, tokenServiceId: n }) {
9139
9139
  });
9140
9140
  if (!r) return;
9141
9141
  let i = (yield Z(Ms))[n];
9142
- i && i.success && (yield Y($o(n, r.id)));
9142
+ i && i.success && (yield J($o(n, r.id)));
9143
9143
  }
9144
9144
  function* Uv({ serviceId: e }) {
9145
9145
  let t = yield Z(Ms), n = yield Z(Ui), r = t[e];
9146
9146
  if (!r) return;
9147
9147
  let i = n[r.authId];
9148
- i && (r.success ? yield Y(si({
9148
+ i && (r.success ? yield J(si({
9149
9149
  authServiceId: i.id,
9150
9150
  tokenServiceId: r.id
9151
- })) : yield Y(fa(i.id, r.id, { ok: !1 })));
9151
+ })) : yield J(fa(i.id, r.id, { ok: !1 })));
9152
9152
  }
9153
9153
  function* Wv() {
9154
- yield xh([
9154
+ yield Y([
9155
9155
  $(M.RECEIVE_DEGRADED_INFO_RESPONSE, Hv),
9156
9156
  $(M.RECEIVE_ACCESS_TOKEN_FAILURE, Uv),
9157
9157
  $(M.RECEIVE_DEGRADED_INFO_RESPONSE, Vv),
@@ -9172,7 +9172,7 @@ function* Kv(e) {
9172
9172
  }
9173
9173
  function qv(e = []) {
9174
9174
  return function* () {
9175
- yield xh([
9175
+ yield Y([
9176
9176
  Rv,
9177
9177
  Fv,
9178
9178
  gv,
@@ -9185,20 +9185,20 @@ function qv(e = []) {
9185
9185
  //#endregion
9186
9186
  //#region src/state/createStore.js
9187
9187
  function Jv(e, t = []) {
9188
- let r = ev(e), i = ue.state.slice ? o({ [ue.state.slice]: r }) : r, a = Pg(), s = g(i, Ig(n(sm, a)));
9188
+ let r = ev(e), i = ue.state.slice ? o({ [ue.state.slice]: r }) : r, a = Pg(), s = g(i, Ig(n(cm, a)));
9189
9189
  return a.run(qv(t)), s;
9190
9190
  }
9191
9191
  //#endregion
9192
9192
  //#region src/state/createPluggableStore.js
9193
9193
  function Yv(e, t = []) {
9194
- let n = em(t), r = Jv(rm(n), am(n));
9195
- return r.dispatch(Ua((0, Nl.default)(im(n), e))), r;
9194
+ let n = tm(t), r = Jv(im(n), om(n));
9195
+ return r.dispatch(Ua((0, Nl.default)(am(n), e))), r;
9196
9196
  }
9197
9197
  //#endregion
9198
9198
  //#region src/lib/MiradorViewer.jsx
9199
9199
  var Xv = class {
9200
9200
  constructor(e, t = {}) {
9201
- this.plugins = em(t.plugins || []), this.config = e, this.dndManager = t.dndManager, this.store = t.store || Yv(this.config, this.plugins), e.id && this.renderInto(document.getElementById(e.id));
9201
+ this.plugins = tm(t.plugins || []), this.config = e, this.dndManager = t.dndManager, this.store = t.store || Yv(this.config, this.plugins), e.id && this.renderInto(document.getElementById(e.id));
9202
9202
  }
9203
9203
  renderInto(e) {
9204
9204
  this.container = e, this.root = Xc(this.container), this.root.render(this.render({ dndManager: this.dndManager }));
@@ -9206,7 +9206,7 @@ var Xv = class {
9206
9206
  render(e = {}) {
9207
9207
  return /* @__PURE__ */ F(le, {
9208
9208
  store: this.store,
9209
- children: /* @__PURE__ */ F(Lp, {
9209
+ children: /* @__PURE__ */ F(Rp, {
9210
9210
  plugins: this.plugins,
9211
9211
  ...e
9212
9212
  })
@@ -10107,6 +10107,7 @@ var Qv = { viewer: Zv }, $v = {
10107
10107
  editStop: "تعديل هذه المحطة",
10108
10108
  noStops: "لا توجد محطات في هذه الرحلة بعد.",
10109
10109
  notFound: "تعذر العثور على هذا العنصر - ربما تم حذفه.",
10110
+ objectDetails: "تفاصيل القطعة",
10110
10111
  openMap: "فتح الخريطة",
10111
10112
  closePanel: "إغلاق اللوحة",
10112
10113
  ...ly.ar,
@@ -10137,6 +10138,7 @@ var Qv = { viewer: Zv }, $v = {
10137
10138
  editStop: "Edit this stop",
10138
10139
  noStops: "This journey has no stops yet.",
10139
10140
  notFound: "This annotation could not be found - it may have been deleted.",
10141
+ objectDetails: "Object details",
10140
10142
  openMap: "Open map",
10141
10143
  closePanel: "Close panel",
10142
10144
  ...ly.en,
@@ -10216,7 +10218,42 @@ var Qv = { viewer: Zv }, $v = {
10216
10218
  })
10217
10219
  ]
10218
10220
  });
10219
- }, Tx = ({ locale: e, media: t, poiTitle: n }) => {
10221
+ }, Tx = /^https?:\/\//i, Ex = /^(\/(?!\/)|https?:\/\/)/i, Dx = (e) => e.stopPropagation(), Ox = ({ label: e, media: t }) => {
10222
+ let n = t.rightsStatement, r = n?.label || n?.uri, i = t.work && Ex.test(t.work.url) ? t.work : null;
10223
+ return !t.caption && !t.credit && !r && !i ? null : /* @__PURE__ */ I("figcaption", {
10224
+ className: "dbf-map-poi__caption",
10225
+ children: [
10226
+ t.caption && /* @__PURE__ */ F("p", {
10227
+ className: "dbf-map-poi__caption-text",
10228
+ children: t.caption
10229
+ }),
10230
+ t.credit && /* @__PURE__ */ F("p", {
10231
+ className: "dbf-map-poi__credit",
10232
+ children: t.credit
10233
+ }),
10234
+ r && /* @__PURE__ */ F("p", {
10235
+ className: "dbf-map-poi__rights",
10236
+ children: n?.uri && Tx.test(n.uri) ? /* @__PURE__ */ F("a", {
10237
+ href: n.uri,
10238
+ onClick: Dx,
10239
+ rel: "noopener noreferrer",
10240
+ target: "_blank",
10241
+ children: r
10242
+ }) : r
10243
+ }),
10244
+ i && /* @__PURE__ */ F("p", {
10245
+ className: "dbf-map-poi__work",
10246
+ children: /* @__PURE__ */ F("a", {
10247
+ "aria-label": i.title ? `${e}: ${i.title}` : void 0,
10248
+ className: "dbf-map-work__link",
10249
+ href: i.url,
10250
+ onClick: Dx,
10251
+ children: e
10252
+ })
10253
+ })
10254
+ ]
10255
+ });
10256
+ }, kx = ({ locale: e, media: t, poiTitle: n }) => {
10220
10257
  let r = hx[e], i = qb(t);
10221
10258
  if (t && i) {
10222
10259
  let a = t.source === "media-item" && e === "en" && t.title || n || r.audio;
@@ -10239,15 +10276,19 @@ var Qv = { viewer: Zv }, $v = {
10239
10276
  title: a
10240
10277
  }) }, i);
10241
10278
  }
10242
- let a = Ex(t);
10243
- return a ? /* @__PURE__ */ F("div", {
10279
+ let a = Ax(t);
10280
+ return a ? /* @__PURE__ */ I("figure", {
10244
10281
  className: "dbf-map-poi__media",
10245
- children: /* @__PURE__ */ F("img", {
10282
+ style: { margin: 0 },
10283
+ children: [/* @__PURE__ */ F("img", {
10246
10284
  alt: t?.title ?? "",
10247
10285
  src: a
10248
- })
10286
+ }), t && /* @__PURE__ */ F(Ox, {
10287
+ label: r.objectDetails,
10288
+ media: t
10289
+ })]
10249
10290
  }) : null;
10250
- }, Ex = (e) => {
10291
+ }, Ax = (e) => {
10251
10292
  let t = e?.thumbnailUrl;
10252
10293
  if (!t) return null;
10253
10294
  if (e.source !== "upload") return t;
@@ -10256,22 +10297,22 @@ var Qv = { viewer: Zv }, $v = {
10256
10297
  } catch {
10257
10298
  return null;
10258
10299
  }
10259
- }, Dx = 64, Ox = {
10300
+ }, jx = 64, Mx = {
10260
10301
  borderRadius: 4,
10261
10302
  flexShrink: 0,
10262
- height: Dx,
10303
+ height: jx,
10263
10304
  objectFit: "cover",
10264
- width: Dx
10265
- }, kx = (e) => {
10305
+ width: jx
10306
+ }, Nx = (e) => {
10266
10307
  let { mediaType: t, mime: n } = e;
10267
10308
  return t === "audio" || n?.startsWith("audio/") ? ey : t === "uploaded-video" || t === "youtube-video" || n?.startsWith("video/") ? iy : t === "research-pdf" || n === "application/pdf" ? ay : e.source !== "media-item" && !n ? ny : Bo;
10268
- }, Ax = ({ media: e }) => {
10269
- let t = Ex(e), n = !t && e.url && e.mime?.startsWith("video/") ? e.url : null, r = kx(e), i;
10309
+ }, Px = ({ media: e }) => {
10310
+ let t = Ax(e), n = !t && e.url && e.mime?.startsWith("video/") ? e.url : null, r = Nx(e), i;
10270
10311
  return i = t ? /* @__PURE__ */ F("img", {
10271
10312
  alt: "",
10272
10313
  "data-testid": "poi-preview-media-thumbnail",
10273
10314
  src: t,
10274
- style: Ox
10315
+ style: Mx
10275
10316
  }) : n ? /* @__PURE__ */ F("video", {
10276
10317
  "aria-hidden": !0,
10277
10318
  "data-testid": "poi-preview-media-thumbnail",
@@ -10279,13 +10320,13 @@ var Qv = { viewer: Zv }, $v = {
10279
10320
  preload: "metadata",
10280
10321
  src: n,
10281
10322
  style: {
10282
- ...Ox,
10323
+ ...Mx,
10283
10324
  background: "#000"
10284
10325
  }
10285
10326
  }) : /* @__PURE__ */ F("span", {
10286
10327
  "aria-hidden": !0,
10287
10328
  style: {
10288
- ...Ox,
10329
+ ...Mx,
10289
10330
  alignItems: "center",
10290
10331
  background: "rgba(0, 0, 0, 0.04)",
10291
10332
  color: "rgba(0, 0, 0, 0.54)",
@@ -10312,32 +10353,32 @@ var Qv = { viewer: Zv }, $v = {
10312
10353
  ]
10313
10354
  })]
10314
10355
  });
10315
- }, jx = (e, t) => {
10356
+ }, Fx = (e, t) => {
10316
10357
  if (!e) return "";
10317
10358
  if (typeof e == "string") return e;
10318
10359
  let n = e[t] ?? e.none ?? Object.values(e).find(Boolean);
10319
10360
  return (Array.isArray(n) ? n.join(" ") : n ?? "").trim();
10320
- }, Mx = (e, t, n) => {
10321
- let r = oe(e, { windowId: t })?.json, i = jx(r?.label, n), a = jx(r?.summary, n);
10361
+ }, Ix = (e, t, n) => {
10362
+ let r = oe(e, { windowId: t })?.json, i = Fx(r?.label, n), a = Fx(r?.summary, n);
10322
10363
  return i || a ? {
10323
10364
  summary: a,
10324
10365
  title: i
10325
10366
  } : null;
10326
- }, Nx = (e, t) => e.filter((e) => e["dbf:kind"] === "POI" && e["dbf:journey"]?.id === t).sort((e, t) => e["dbf:journey"].order - t["dbf:journey"].order), Px = (e) => {
10367
+ }, Lx = (e, t) => e.filter((e) => e["dbf:kind"] === "POI" && e["dbf:journey"]?.id === t).sort((e, t) => e["dbf:journey"].order - t["dbf:journey"].order), Rx = (e) => {
10327
10368
  if (!e.target) return null;
10328
10369
  let t = new jn(e).pointSelector;
10329
10370
  return typeof t?.x != "number" || typeof t?.y != "number" ? null : {
10330
10371
  x: t.x,
10331
10372
  y: t.y
10332
10373
  };
10333
- }, Fx = .2, Ix = 600, Lx = 2, Rx = 2e3, zx = 32, Bx = .25, Vx = [
10374
+ }, zx = .2, Bx = 600, Vx = 2, Hx = 2e3, Ux = 32, Wx = .25, Gx = [
10334
10375
  "left",
10335
10376
  "right",
10336
10377
  "far-right",
10337
10378
  "bottom",
10338
10379
  "far-bottom"
10339
- ].map((e) => `aside.mirador-companion-window-${e}`).join(", "), Hx = (e) => Ys.get(e)?.current ?? null, Ux = (e) => (e.getAnimations?.({ subtree: !0 }) ?? []).filter((e) => e.playState === "running"), Wx = (e) => Array.from(e.element?.closest(".mirador-window")?.querySelectorAll(Vx) ?? []), Gx = (e) => {
10340
- let t = Ux(e).some((e) => "animationName" in e), n = e.offsetParent;
10380
+ ].map((e) => `aside.mirador-companion-window-${e}`).join(", "), Kx = (e) => Ys.get(e)?.current ?? null, qx = (e) => (e.getAnimations?.({ subtree: !0 }) ?? []).filter((e) => e.playState === "running"), Jx = (e) => Array.from(e.element?.closest(".mirador-window")?.querySelectorAll(Gx) ?? []), Yx = (e) => {
10381
+ let t = qx(e).some((e) => "animationName" in e), n = e.offsetParent;
10341
10382
  if (!t || !n) return e.getBoundingClientRect();
10342
10383
  let r = n.getBoundingClientRect(), i = r.left + n.clientLeft + e.offsetLeft, a = r.top + n.clientTop + e.offsetTop;
10343
10384
  return {
@@ -10346,14 +10387,14 @@ var Qv = { viewer: Zv }, $v = {
10346
10387
  right: i + e.offsetWidth,
10347
10388
  top: a
10348
10389
  };
10349
- }, Kx = (e, t) => {
10350
- let n = Wx(e).flatMap(Ux).filter((e) => "transitionProperty" in e);
10390
+ }, Xx = (e, t) => {
10391
+ let n = Jx(e).flatMap(qx).filter((e) => "transitionProperty" in e);
10351
10392
  if (n.length === 0) {
10352
10393
  t();
10353
10394
  return;
10354
10395
  }
10355
10396
  Promise.all(n.map((e) => e.finished.catch(() => void 0))).then(t);
10356
- }, qx = (e) => {
10397
+ }, Zx = (e) => {
10357
10398
  let { element: t, viewport: n } = e;
10358
10399
  if (!n) return null;
10359
10400
  let r = n.getContainerSize(), i = {
@@ -10364,83 +10405,83 @@ var Qv = { viewer: Zv }, $v = {
10364
10405
  }, a = t?.closest(".mirador-window");
10365
10406
  if (!t || !a) return i;
10366
10407
  let o = t.getBoundingClientRect(), s = 0, c = 0, l = r.x, u = r.y;
10367
- return a.querySelectorAll(Vx).forEach((e) => {
10368
- let t = Gx(e), n = Math.max(t.left, o.left) - o.left, i = Math.min(t.right, o.right) - o.left, a = Math.max(t.top, o.top) - o.top, d = Math.min(t.bottom, o.bottom) - o.top;
10408
+ return a.querySelectorAll(Gx).forEach((e) => {
10409
+ let t = Yx(e), n = Math.max(t.left, o.left) - o.left, i = Math.min(t.right, o.right) - o.left, a = Math.max(t.top, o.top) - o.top, d = Math.min(t.bottom, o.bottom) - o.top;
10369
10410
  i - n <= 0 || d - a <= 0 || (d - a >= r.y * .9 ? n + i > r.x ? l = Math.min(l, n) : s = Math.max(s, i) : i - n >= r.x * .9 && (a + d > r.y ? u = Math.min(u, a) : c = Math.max(c, d)));
10370
- }), l - s < r.x * Bx || u - c < r.y * Bx ? i : {
10411
+ }), l - s < r.x * Wx || u - c < r.y * Wx ? i : {
10371
10412
  height: u - c,
10372
10413
  width: l - s,
10373
10414
  x: s,
10374
10415
  y: c
10375
10416
  };
10376
- }, Jx = (e) => ({
10417
+ }, Qx = (e) => ({
10377
10418
  x: e.x + e.width / 2,
10378
10419
  y: e.y + e.height / 2
10379
- }), Yx = (e, t, n) => {
10380
- let { viewport: r } = e, i = qx(e);
10420
+ }), $x = (e, t, n) => {
10421
+ let { viewport: r } = e, i = Zx(e);
10381
10422
  if (!r || !i) return;
10382
- let a = r.getContainerSize(), o = Jx(i);
10423
+ let a = r.getContainerSize(), o = Qx(i);
10383
10424
  r.fitBounds(new By.default.Rect(t.x - o.x * n, t.y - o.y * n, a.x * n, a.y * n));
10384
- }, Xx = (e, t) => 1 / (t * e.getContainerSize().x), Zx = (e, t) => {
10385
- let n = Hx(e), r = n?.viewport;
10386
- !n || !r || Yx(n, t, Xx(r, dx(r)));
10387
- }, Qx = (e, t) => {
10388
- let n = Hx(e), r = n?.viewport, i = n ? qx(n) : null;
10425
+ }, eS = (e, t) => 1 / (t * e.getContainerSize().x), tS = (e, t) => {
10426
+ let n = Kx(e), r = n?.viewport;
10427
+ !n || !r || $x(n, t, eS(r, dx(r)));
10428
+ }, nS = (e, t) => {
10429
+ let n = Kx(e), r = n?.viewport, i = n ? Zx(n) : null;
10389
10430
  if (!r || !i) return;
10390
10431
  let a = rx({
10391
10432
  container: r.getContainerSize(),
10392
10433
  fillPixel: r.pixelFromPoint(new By.default.Point(t.x, t.y), !0),
10393
10434
  fillZoom: r.getZoom(!0),
10394
- focusPixel: Jx(i),
10435
+ focusPixel: Qx(i),
10395
10436
  focusZoom: dx(r),
10396
10437
  point: t
10397
10438
  });
10398
10439
  r.fitBounds(new By.default.Rect(a.x, a.y, a.width, a.height));
10399
- }, $x = (e, t) => {
10400
- let n = Hx(e), r = n?.viewport, i = n ? qx(n) : null;
10440
+ }, rS = (e, t) => {
10441
+ let n = Kx(e), r = n?.viewport, i = n ? Zx(n) : null;
10401
10442
  if (!n || !r || !i) return;
10402
- let a = r.pixelFromPoint(new By.default.Point(t.x, t.y)), o = Math.min(zx, i.width / 4, i.height / 4);
10403
- a.x >= i.x + o && a.x <= i.x + i.width - o && a.y >= i.y + o && a.y <= i.y + i.height - o || Yx(n, t, Xx(r, r.getZoom()));
10404
- }, eS = (e, t) => {
10443
+ let a = r.pixelFromPoint(new By.default.Point(t.x, t.y)), o = Math.min(Ux, i.width / 4, i.height / 4);
10444
+ a.x >= i.x + o && a.x <= i.x + i.width - o && a.y >= i.y + o && a.y <= i.y + i.height - o || $x(n, t, eS(r, r.getZoom()));
10445
+ }, iS = (e, t) => {
10405
10446
  if (t.length === 0) return;
10406
10447
  if (t.length === 1) {
10407
- Zx(e, t[0]);
10448
+ tS(e, t[0]);
10408
10449
  return;
10409
10450
  }
10410
- let n = Hx(e), r = n?.viewport, i = n ? qx(n) : null;
10451
+ let n = Kx(e), r = n?.viewport, i = n ? Zx(n) : null;
10411
10452
  if (!n || !r || !i) return;
10412
- let a = t.map(({ x: e }) => e), o = t.map(({ y: e }) => e), s = Math.min(...a), c = Math.min(...o), l = Math.max(...a) - s, u = Math.max(...o) - c, d = r.getHomeBounds(), f = Math.max(l * Fx, d.width * .05), p = Math.max(u * Fx, d.height * .05), m = Math.max((l + 2 * f) / i.width, (u + 2 * p) / i.height, Xx(r, r.getMaxZoom()));
10413
- Yx(n, {
10453
+ let a = t.map(({ x: e }) => e), o = t.map(({ y: e }) => e), s = Math.min(...a), c = Math.min(...o), l = Math.max(...a) - s, u = Math.max(...o) - c, d = r.getHomeBounds(), f = Math.max(l * zx, d.width * .05), p = Math.max(u * zx, d.height * .05), m = Math.max((l + 2 * f) / i.width, (u + 2 * p) / i.height, eS(r, r.getMaxZoom()));
10454
+ $x(n, {
10414
10455
  x: s + l / 2,
10415
10456
  y: c + u / 2
10416
10457
  }, m);
10417
- }, tS = (e) => (t, ...n) => {
10418
- let r = Hx(t);
10419
- r && Kx(r, () => e(t, ...n));
10420
- }, nS = tS(Zx), rS = tS(Qx), iS = tS($x), aS = tS(eS), oS = /* @__PURE__ */ new Set(), sS = (e, t, n) => {
10421
- let r = Hx(e), i = r?.viewport, a = typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
10458
+ }, aS = (e) => (t, ...n) => {
10459
+ let r = Kx(t);
10460
+ r && Xx(r, () => e(t, ...n));
10461
+ }, oS = aS(tS), sS = aS(nS), cS = aS(rS), lS = aS(iS), uS = /* @__PURE__ */ new Set(), dS = (e, t, n) => {
10462
+ let r = Kx(e), i = r?.viewport, a = typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
10422
10463
  if (!r?.addOnceHandler || !i || !t || a) {
10423
10464
  n();
10424
10465
  return;
10425
10466
  }
10426
- if (oS.has(e)) return;
10427
- oS.add(e);
10467
+ if (uS.has(e)) return;
10468
+ uS.add(e);
10428
10469
  let o = i.getCenter(), s = {
10429
10470
  x: o.x,
10430
10471
  y: o.y,
10431
10472
  zoom: i.getZoom()
10432
10473
  };
10433
- Yx(r, t, Xx(i, Math.min(i.getMaxZoom(), dx(i) * Lx)));
10474
+ $x(r, t, eS(i, Math.min(i.getMaxZoom(), dx(i) * Vx)));
10434
10475
  let c = !1, l, u = () => {
10435
- c || (c = !0, clearTimeout(l), r.removeHandler?.("animation-finish", u), oS.delete(e), n(s));
10476
+ c || (c = !0, clearTimeout(l), r.removeHandler?.("animation-finish", u), uS.delete(e), n(s));
10436
10477
  }, d = i.getBounds(!0), f = i.getBounds();
10437
10478
  if (Math.abs(d.x - f.x) + Math.abs(d.y - f.y) + Math.abs(d.width - f.width) <= f.width * 1e-4) {
10438
10479
  u();
10439
10480
  return;
10440
10481
  }
10441
- l = setTimeout(u, Rx), r.addOnceHandler("animation-finish", u);
10442
- }, cS = (e) => e.closest(".mirador-scrollto-scrollable"), lS = (e, t, n) => {
10443
- let r = cS(e);
10482
+ l = setTimeout(u, Hx), r.addOnceHandler("animation-finish", u);
10483
+ }, fS = (e) => e.closest(".mirador-scrollto-scrollable"), pS = (e, t, n) => {
10484
+ let r = fS(e);
10444
10485
  if (!r) return;
10445
10486
  let i = parseFloat(getComputedStyle(e).scrollMarginTop) || 0, a = Math.max(0, r.scrollTop + e.getBoundingClientRect().top - r.getBoundingClientRect().top - i);
10446
10487
  if (t) {
@@ -10451,21 +10492,21 @@ var Qv = { viewer: Zv }, $v = {
10451
10492
  behavior: n,
10452
10493
  top: a
10453
10494
  });
10454
- }, uS = (e, t, n) => {
10495
+ }, mS = (e, t, n) => {
10455
10496
  let r = e.getBoundingClientRect(), i = t.getBoundingClientRect(), a = getComputedStyle(e), o = a.direction === "rtl" ? i.right - (r.right - (parseFloat(a.paddingRight) || 0)) : i.left - (r.left + (parseFloat(a.paddingLeft) || 0));
10456
10497
  Math.abs(o) > 1 && e.scrollBy?.({
10457
10498
  behavior: n,
10458
10499
  left: o
10459
- }), cS(e)?.scrollTo?.({
10500
+ }), fS(e)?.scrollTo?.({
10460
10501
  behavior: n,
10461
10502
  top: 0
10462
10503
  });
10463
- }, dS = (e) => e === "ar" ? "rtl" : "ltr", fS = ({ children: e, locale: t }) => /* @__PURE__ */ F("span", {
10464
- dir: dS(t),
10504
+ }, hS = (e) => e === "ar" ? "rtl" : "ltr", gS = ({ children: e, locale: t }) => /* @__PURE__ */ F("span", {
10505
+ dir: hS(t),
10465
10506
  lang: t,
10466
10507
  style: { display: "block" },
10467
10508
  children: e
10468
- }), pS = ({ children: e, contentKey: t, id: n, label: r, locale: i, position: a, removeCompanionWindow: o, returnFocusTo: s = null, showing: c, windowId: l }) => {
10509
+ }), _S = ({ children: e, contentKey: t, id: n, label: r, locale: i, position: a, removeCompanionWindow: o, returnFocusTo: s = null, showing: c, windowId: l }) => {
10469
10510
  let u = hx[i], d = my(l), f = Cy(l), p = a === "bottom", m = P(!1);
10470
10511
  N(() => {
10471
10512
  m.current || fy(l, xy(l));
@@ -10505,13 +10546,13 @@ var Qv = { viewer: Zv }, $v = {
10505
10546
  o(l, n), Sy(l), s ? Wy(l, s) : requestAnimationFrame(() => e?.querySelector(".dbf-map-panel__toggle")?.focus());
10506
10547
  }, r = p ? null : h.current?.closest(".mirador-companion-window-right");
10507
10548
  r && _l(() => fy(l, !0));
10508
- let i = r ? Ux(r).filter((e) => "transitionProperty" in e) : [];
10549
+ let i = r ? qx(r).filter((e) => "transitionProperty" in e) : [];
10509
10550
  if (Ny(l), i.length === 0) {
10510
10551
  t();
10511
10552
  return;
10512
10553
  }
10513
10554
  Promise.race([Promise.all(i.map((e) => e.finished.catch(() => void 0))), new Promise((e) => {
10514
- setTimeout(e, Ix);
10555
+ setTimeout(e, Bx);
10515
10556
  })]).then(t);
10516
10557
  }, b = P(y);
10517
10558
  N(() => {
@@ -10545,7 +10586,7 @@ var Qv = { viewer: Zv }, $v = {
10545
10586
  "data-collapsed": d ? "true" : void 0,
10546
10587
  "data-position": a,
10547
10588
  "data-snap": p ? f : void 0,
10548
- dir: dS(i),
10589
+ dir: hS(i),
10549
10590
  lang: i,
10550
10591
  ref: h,
10551
10592
  children: [/* @__PURE__ */ I("div", {
@@ -10587,13 +10628,13 @@ var Qv = { viewer: Zv }, $v = {
10587
10628
  }, t)]
10588
10629
  })
10589
10630
  });
10590
- }, mS = {
10631
+ }, vS = {
10591
10632
  ar: "العربية",
10592
10633
  en: "English"
10593
- }, hS = ({ canEdit: e, contentLocale: t, isEditing: n, onContentLocaleChange: r, onEdit: i, uiLocale: a }) => {
10634
+ }, yS = ({ canEdit: e, contentLocale: t, isEditing: n, onContentLocaleChange: r, onEdit: i, uiLocale: a }) => {
10594
10635
  let o = hx[a];
10595
10636
  return /* @__PURE__ */ I("div", {
10596
- dir: dS(a),
10637
+ dir: hS(a),
10597
10638
  style: {
10598
10639
  alignItems: "center",
10599
10640
  display: "flex",
@@ -10613,7 +10654,7 @@ var Qv = { viewer: Zv }, $v = {
10613
10654
  lang: e,
10614
10655
  sx: { textTransform: "none" },
10615
10656
  value: e,
10616
- children: mS[e]
10657
+ children: vS[e]
10617
10658
  }, e))
10618
10659
  }), e && /* @__PURE__ */ F(vl, {
10619
10660
  disabled: n,
@@ -10625,12 +10666,12 @@ var Qv = { viewer: Zv }, $v = {
10625
10666
  children: o.edit
10626
10667
  })]
10627
10668
  });
10628
- }, gS = ({ canEdit: e, isEditing: t, onEdit: n, onPreview: r, uiLocale: i }) => {
10669
+ }, bS = ({ canEdit: e, isEditing: t, onEdit: n, onPreview: r, uiLocale: i }) => {
10629
10670
  let a = hx[i], o = (e) => (t) => {
10630
10671
  t.stopPropagation(), e();
10631
10672
  };
10632
10673
  return /* @__PURE__ */ I("div", {
10633
- dir: dS(i),
10674
+ dir: hS(i),
10634
10675
  onKeyDown: (e) => e.stopPropagation(),
10635
10676
  role: "toolbar",
10636
10677
  style: {
@@ -10653,10 +10694,10 @@ var Qv = { viewer: Zv }, $v = {
10653
10694
  children: /* @__PURE__ */ F(ty, { fontSize: "small" })
10654
10695
  })]
10655
10696
  });
10656
- }, _S = ({ contentLocale: e, journeyTitle: t, onClick: n, uiLocale: r }) => {
10697
+ }, xS = ({ contentLocale: e, journeyTitle: t, onClick: n, uiLocale: r }) => {
10657
10698
  let i = hx[r];
10658
10699
  return /* @__PURE__ */ F("div", {
10659
- dir: dS(r),
10700
+ dir: hS(r),
10660
10701
  style: { padding: "8px 16px 0" },
10661
10702
  children: /* @__PURE__ */ I(vl, {
10662
10703
  onClick: n,
@@ -10664,23 +10705,23 @@ var Qv = { viewer: Zv }, $v = {
10664
10705
  startIcon: /* @__PURE__ */ F(ji, { sx: r === "ar" ? { transform: "scaleX(-1)" } : void 0 }),
10665
10706
  sx: { textTransform: "none" },
10666
10707
  children: [i.backToJourney, t && /* @__PURE__ */ I(sl, { children: [": ", /* @__PURE__ */ F("bdi", {
10667
- dir: dS(e),
10708
+ dir: hS(e),
10668
10709
  lang: e,
10669
10710
  children: t
10670
10711
  })] })]
10671
10712
  })
10672
10713
  });
10673
- }, vS = (e, t, n) => ({
10714
+ }, SS = (e, t, n) => ({
10674
10715
  annotation: e,
10675
10716
  position: n,
10676
10717
  previewAnnotationId: t,
10677
10718
  selectedAnnotationId: e.id
10678
- }), yS = ({ editorToolbar: e, id: t, journey: n, locale: r, pois: i, openNestedMap: a, position: o, renderStopActions: s, selectAnnotation: c, selectedAnnotationId: l, stopNumbers: u = null, linkedMapResolver: d = null, site: f = !1, windowId: p }) => {
10719
+ }), CS = ({ editorToolbar: e, id: t, journey: n, locale: r, pois: i, openNestedMap: a, position: o, renderStopActions: s, selectAnnotation: c, selectedAnnotationId: l, stopNumbers: u = null, linkedMapResolver: d = null, site: f = !1, windowId: p }) => {
10679
10720
  let m = hx[r], h = yx(n, r, "identifying"), g = (e, t, n) => {
10680
- !f || ob(e, n) ? iS(e, t) : nS(e, t);
10681
- }, _ = P(null), v = P(null), y = P(null), b = i.find((e) => e.id === l), x = b ? Px(b) : null, S = i.map(Px).filter((e) => e !== null), C = S.map(({ x: e, y: t }) => `${e},${t}`).join(";");
10721
+ !f || ob(e, n) ? cS(e, t) : oS(e, t);
10722
+ }, _ = P(null), v = P(null), y = P(null), b = i.find((e) => e.id === l), x = b ? Rx(b) : null, S = i.map(Rx).filter((e) => e !== null), C = S.map(({ x: e, y: t }) => `${e},${t}`).join(";");
10682
10723
  N(() => {
10683
- b && x ? g(p, x, b.id) : aS(p, S);
10724
+ b && x ? g(p, x, b.id) : lS(p, S);
10684
10725
  }, [
10685
10726
  n.id,
10686
10727
  C,
@@ -10695,15 +10736,15 @@ var Qv = { viewer: Zv }, $v = {
10695
10736
  let t = _.current, n = Array.from(t?.children ?? []).find((e) => e.dataset.poiId === b.id);
10696
10737
  if (!t || !n) return;
10697
10738
  if (f && Cb(t)) {
10698
- e ? cS(t)?.scrollTo?.({
10739
+ e ? fS(t)?.scrollTo?.({
10699
10740
  behavior: "smooth",
10700
10741
  top: 0
10701
- }) : uS(t, n, "smooth");
10742
+ }) : mS(t, n, "smooth");
10702
10743
  return;
10703
10744
  }
10704
10745
  if (e) return;
10705
- lS(n, v.current, "smooth");
10706
- let r = cS(n), i = () => lS(n, v.current, "auto"), a = [
10746
+ pS(n, v.current, "smooth");
10747
+ let r = fS(n), i = () => pS(n, v.current, "auto"), a = [
10707
10748
  "wheel",
10708
10749
  "touchstart",
10709
10750
  "pointerdown",
@@ -10716,29 +10757,29 @@ var Qv = { viewer: Zv }, $v = {
10716
10757
  let w = (e) => f && a ? Qy(e["dbf:linkedMap"], d) : null, T = (e) => {
10717
10758
  let t = w(e);
10718
10759
  if (t && a) {
10719
- let r = vS(e, n.id, o);
10720
- sS(p, Px(e), (e) => a(p, t, e ? {
10760
+ let r = SS(e, n.id, o);
10761
+ dS(p, Rx(e), (e) => a(p, t, e ? {
10721
10762
  ...r,
10722
10763
  viewer: e
10723
10764
  } : r));
10724
10765
  return;
10725
10766
  }
10726
- let r = Px(e);
10727
- r && nS(p, r), c(p, e.id);
10767
+ let r = Rx(e);
10768
+ r && oS(p, r), c(p, e.id);
10728
10769
  };
10729
10770
  if (Mb({
10730
10771
  enabled: f,
10731
- getColumnScroller: cS,
10772
+ getColumnScroller: fS,
10732
10773
  layout: o,
10733
10774
  listRef: _,
10734
10775
  onSelect: (e) => {
10735
10776
  let t = i.find((t) => t.id === e);
10736
10777
  if (!t) return;
10737
10778
  y.current = e;
10738
- let n = Px(t);
10739
- n && nS(p, n), c(p, t.id);
10779
+ let n = Rx(t);
10780
+ n && oS(p, n), c(p, t.id);
10740
10781
  },
10741
- onSnap: (e, t) => lS(e, v.current, t),
10782
+ onSnap: (e, t) => pS(e, v.current, t),
10742
10783
  selectedId: l
10743
10784
  }), f) return /* @__PURE__ */ I("div", {
10744
10785
  className: "dbf-map-panel__list",
@@ -10778,7 +10819,7 @@ var Qv = { viewer: Zv }, $v = {
10778
10819
  })]
10779
10820
  })]
10780
10821
  }),
10781
- /* @__PURE__ */ F(Tx, {
10822
+ /* @__PURE__ */ F(kx, {
10782
10823
  locale: r,
10783
10824
  media: a,
10784
10825
  poiTitle: n
@@ -10805,20 +10846,20 @@ var Qv = { viewer: Zv }, $v = {
10805
10846
  return /* @__PURE__ */ I(ws, {
10806
10847
  ariaLabel: E,
10807
10848
  id: t,
10808
- title: /* @__PURE__ */ F(fS, {
10849
+ title: /* @__PURE__ */ F(gS, {
10809
10850
  locale: r,
10810
10851
  children: E
10811
10852
  }),
10812
10853
  windowId: p,
10813
10854
  children: [e, /* @__PURE__ */ I("div", {
10814
- dir: dS(r),
10855
+ dir: hS(r),
10815
10856
  lang: r,
10816
10857
  ref: _,
10817
10858
  style: { padding: 16 },
10818
10859
  children: [
10819
10860
  i.length === 0 && /* @__PURE__ */ F("p", { children: m.noStops }),
10820
10861
  i.map((e, t) => {
10821
- let n = yx(e, r, "identifying"), a = vx(yx(e, r, "describing")), o = bx(e, r), c = Ex(o), u = t === i.length - 1, d = e.id === l;
10862
+ let n = yx(e, r, "identifying"), a = vx(yx(e, r, "describing")), o = bx(e, r), c = Ax(o), u = t === i.length - 1, d = e.id === l;
10822
10863
  return /* @__PURE__ */ I("div", {
10823
10864
  "aria-current": d || void 0,
10824
10865
  "data-poi-id": e.id,
@@ -10898,10 +10939,10 @@ var Qv = { viewer: Zv }, $v = {
10898
10939
  ]
10899
10940
  })]
10900
10941
  });
10901
- }, bS = ({ annotation: e, carried: t = !1, editorToolbar: n, id: r, journeyLink: i = null, linkedMapManifestId: a, loading: o = !1, locale: s, openNestedMap: c, site: l = !1, windowId: u }) => {
10902
- let d = hx[s], f = e?.["dbf:kind"], p = e ? yx(e, s, "identifying") : "", m = e ? vx(yx(e, s, "describing")) : "", h = e ? bx(e, s) : null, g = e && !t ? Px(e) : null;
10942
+ }, wS = ({ annotation: e, carried: t = !1, editorToolbar: n, id: r, journeyLink: i = null, linkedMapManifestId: a, loading: o = !1, locale: s, openNestedMap: c, site: l = !1, windowId: u }) => {
10943
+ let d = hx[s], f = e?.["dbf:kind"], p = e ? yx(e, s, "identifying") : "", m = e ? vx(yx(e, s, "describing")) : "", h = e ? bx(e, s) : null, g = e && !t ? Rx(e) : null;
10903
10944
  if (N(() => {
10904
- !g || !e || (l && !ob(u, e.id) ? nS(u, g) : iS(u, g));
10945
+ !g || !e || (l && !ob(u, e.id) ? oS(u, g) : cS(u, g));
10905
10946
  }, [
10906
10947
  e?.id,
10907
10948
  g?.x,
@@ -10931,7 +10972,7 @@ var Qv = { viewer: Zv }, $v = {
10931
10972
  })]
10932
10973
  })]
10933
10974
  }),
10934
- /* @__PURE__ */ F(Tx, {
10975
+ /* @__PURE__ */ F(kx, {
10935
10976
  locale: s,
10936
10977
  media: h,
10937
10978
  poiTitle: p
@@ -10946,7 +10987,7 @@ var Qv = { viewer: Zv }, $v = {
10946
10987
  return /* @__PURE__ */ I(ws, {
10947
10988
  ariaLabel: _,
10948
10989
  id: r,
10949
- title: /* @__PURE__ */ F(fS, {
10990
+ title: /* @__PURE__ */ F(gS, {
10950
10991
  locale: s,
10951
10992
  children: _
10952
10993
  }),
@@ -10955,13 +10996,13 @@ var Qv = { viewer: Zv }, $v = {
10955
10996
  n,
10956
10997
  i,
10957
10998
  /* @__PURE__ */ I("div", {
10958
- dir: dS(s),
10999
+ dir: hS(s),
10959
11000
  lang: s,
10960
11001
  style: { padding: 16 },
10961
11002
  children: [
10962
11003
  !e && /* @__PURE__ */ F("p", { children: d.notFound }),
10963
11004
  m && /* @__PURE__ */ F("div", { dangerouslySetInnerHTML: { __html: m } }),
10964
- h && /* @__PURE__ */ F(Ax, { media: h }),
11005
+ h && /* @__PURE__ */ F(Px, { media: h }),
10965
11006
  a && /* @__PURE__ */ F(vl, {
10966
11007
  onClick: () => c(u, a),
10967
11008
  startIcon: /* @__PURE__ */ F(ry, {}),
@@ -10973,7 +11014,7 @@ var Qv = { viewer: Zv }, $v = {
10973
11014
  })
10974
11015
  ]
10975
11016
  });
10976
- }, xS = ({ mapInfo: e }) => {
11017
+ }, TS = ({ mapInfo: e }) => {
10977
11018
  let t = vx(e.summary);
10978
11019
  return /* @__PURE__ */ I("article", {
10979
11020
  className: "dbf-map-poi",
@@ -10992,9 +11033,9 @@ var Qv = { viewer: Zv }, $v = {
10992
11033
  dangerouslySetInnerHTML: { __html: t }
10993
11034
  })]
10994
11035
  });
10995
- }, SS = {
11036
+ }, ES = {
10996
11037
  component: ({ annotation: e, canEdit: t = !1, carried: n = !1, canEditAnnotations: r = !1, editInPlaceOfPreview: i, hasAnnotationEditor: a = !1, loading: o = !1, linkedMapResolver: s = null, id: c, isEditing: l = !1, journey: u = null, journeyPois: d, linkedMapManifestId: f, locale: p, mapInfo: m = null, openNestedMap: h, position: g, removeCompanionWindow: _, selectAnnotation: v, selectedAnnotationId: y, site: b, tourNumbers: x = null, updateCompanionWindow: S, windowId: C }) => {
10997
- let [w, T] = al(p), E = a ? w : p, D = a && /* @__PURE__ */ F(hS, {
11038
+ let [w, T] = al(p), E = a ? w : p, D = a && /* @__PURE__ */ F(yS, {
10998
11039
  canEdit: t && !!e,
10999
11040
  contentLocale: w,
11000
11041
  isEditing: l,
@@ -11003,23 +11044,23 @@ var Qv = { viewer: Zv }, $v = {
11003
11044
  uiLocale: p
11004
11045
  }), ee = (e, t) => {
11005
11046
  S?.(C, c, { annotationid: e }), v(C, t);
11006
- }, te = a && ((e) => /* @__PURE__ */ F(gS, {
11047
+ }, te = a && ((e) => /* @__PURE__ */ F(bS, {
11007
11048
  canEdit: r && !!e.maeData,
11008
11049
  isEditing: l,
11009
11050
  onEdit: () => i?.(C, c, e.id),
11010
11051
  onPreview: () => ee(e.id, e.id),
11011
11052
  uiLocale: p
11012
- })), ne = a && e && u && /* @__PURE__ */ F(_S, {
11053
+ })), ne = a && e && u && /* @__PURE__ */ F(xS, {
11013
11054
  contentLocale: E,
11014
11055
  journeyTitle: yx(u, E, "identifying"),
11015
11056
  onClick: () => ee(u.id, e.id),
11016
11057
  uiLocale: p
11017
11058
  }), re, O;
11018
- return b && m ? (re = /* @__PURE__ */ F(xS, { mapInfo: m }), O = {
11059
+ return b && m ? (re = /* @__PURE__ */ F(TS, { mapInfo: m }), O = {
11019
11060
  contentKey: sy,
11020
11061
  label: hx[p].discover,
11021
11062
  showing: sy
11022
- }) : e && e["dbf:kind"] === "Journey" ? (re = /* @__PURE__ */ F(yS, {
11063
+ }) : e && e["dbf:kind"] === "Journey" ? (re = /* @__PURE__ */ F(CS, {
11023
11064
  editorToolbar: D,
11024
11065
  id: c,
11025
11066
  journey: e,
@@ -11039,7 +11080,7 @@ var Qv = { viewer: Zv }, $v = {
11039
11080
  label: hx[E].followJourney,
11040
11081
  returnFocusTo: y,
11041
11082
  showing: `${e.id}:${y ?? ""}`
11042
- }) : (re = /* @__PURE__ */ F(bS, {
11083
+ }) : (re = /* @__PURE__ */ F(wS, {
11043
11084
  annotation: e,
11044
11085
  carried: n,
11045
11086
  editorToolbar: D,
@@ -11056,7 +11097,7 @@ var Qv = { viewer: Zv }, $v = {
11056
11097
  label: hx[E].discover,
11057
11098
  returnFocusTo: n ? null : e?.id,
11058
11099
  showing: e?.id ?? ""
11059
- }), b ? /* @__PURE__ */ F(pS, {
11100
+ }), b ? /* @__PURE__ */ F(_S, {
11060
11101
  ...O,
11061
11102
  id: c,
11062
11103
  locale: E,
@@ -11068,7 +11109,7 @@ var Qv = { viewer: Zv }, $v = {
11068
11109
  },
11069
11110
  companionWindowKey: oy,
11070
11111
  mapStateToProps: (e, { id: t, windowId: n }) => {
11071
- let r = Ae(e, { companionWindowId: t }), i = r?.annotationid, a = TS(e, n), o = i === cy, s = o ? rb(e, n)?.annotation ?? null : a.find((e) => e.id === i) ?? null, c = j(e), l = mx(c.language), u = !!c.annotation?.adapter, d = s && s["dbf:kind"] === "Journey" ? Nx(a, s.id) : [], f = Kn(e, { windowId: n }), p = u && c.annotation?.readonly !== !0, m = s?.["dbf:kind"] === "POI" ? s["dbf:journey"]?.id : void 0;
11112
+ let r = Ae(e, { companionWindowId: t }), i = r?.annotationid, a = kS(e, n), o = i === cy, s = o ? rb(e, n)?.annotation ?? null : a.find((e) => e.id === i) ?? null, c = j(e), l = mx(c.language), u = !!c.annotation?.adapter, d = s && s["dbf:kind"] === "Journey" ? Lx(a, s.id) : [], f = Kn(e, { windowId: n }), p = u && c.annotation?.readonly !== !0, m = s?.["dbf:kind"] === "POI" ? s["dbf:journey"]?.id : void 0;
11072
11113
  return {
11073
11114
  annotation: s,
11074
11115
  canEdit: p && !!s?.maeData,
@@ -11085,7 +11126,7 @@ var Qv = { viewer: Zv }, $v = {
11085
11126
  loading: !o && i !== "dbf:map-info" && a.length === 0,
11086
11127
  linkedMapResolver: $y(e),
11087
11128
  locale: l,
11088
- mapInfo: i === "dbf:map-info" ? Mx(e, n, l) : null,
11129
+ mapInfo: i === "dbf:map-info" ? Ix(e, n, l) : null,
11089
11130
  position: r?.position === "bottom" ? "bottom" : "right",
11090
11131
  selectedAnnotationId: f,
11091
11132
  site: c.maps?.site === !0,
@@ -11099,13 +11140,13 @@ var Qv = { viewer: Zv }, $v = {
11099
11140
  selectAnnotation: zn,
11100
11141
  updateCompanionWindow: Na
11101
11142
  }
11102
- }, CS = (e, t) => {
11143
+ }, DS = (e, t) => {
11103
11144
  let n = ht(e, { windowId: t })[0]?.id;
11104
11145
  return n ? Dn(e)[n] : void 0;
11105
- }, wS = (e) => (e ? Object.values(e) : []).flatMap((e) => e.json?.items ?? []), TS = (e, t) => wS(CS(e, t)), ES = (e, t) => Object.values(Vt(e)).find((e) => e.windowId === t && e.content === "mapsPoiPreview")?.id, DS = (e, t) => {
11146
+ }, OS = (e) => (e ? Object.values(e) : []).flatMap((e) => e.json?.items ?? []), kS = (e, t) => OS(DS(e, t)), AS = (e, t) => Object.values(Vt(e)).find((e) => e.windowId === t && e.content === "mapsPoiPreview")?.id, jS = (e, t) => {
11106
11147
  let n = e["dbf:kind"] === "POI" ? e["dbf:journey"]?.id : void 0;
11107
11148
  return n && t(n) ? n : e.id;
11108
- }, OS = ({ addCompanionWindow: e, updateCompanionWindow: t }, n, r, i, a) => {
11149
+ }, MS = ({ addCompanionWindow: e, updateCompanionWindow: t }, n, r, i, a) => {
11109
11150
  r ? t(n, r, {
11110
11151
  annotationid: i,
11111
11152
  position: a
@@ -11114,17 +11155,17 @@ var Qv = { viewer: Zv }, $v = {
11114
11155
  content: oy,
11115
11156
  position: a
11116
11157
  });
11117
- }, kS = (e) => (t, n) => {
11118
- let r = n(), i = Kn(r, { windowId: e }), a = ES(r, e), o = a ? Ae(r, { companionWindowId: a }) : void 0, s = o?.annotationid;
11158
+ }, NS = (e) => (t, n) => {
11159
+ let r = n(), i = Kn(r, { windowId: e }), a = AS(r, e), o = a ? Ae(r, { companionWindowId: a }) : void 0, s = o?.annotationid;
11119
11160
  if (a && s && s !== "dbf:map-info" && s !== "dbf:nested-origin") {
11120
11161
  let n = mx(j(r).language), i = null;
11121
- rb(r, e)?.annotation ? i = cy : Mx(r, e, n) && (i = sy), i ? ((o?.position === "bottom" || _y(e) === "collapsed") && by(e), t(Na(e, a, { annotationid: i }))) : (t(Ss(e, a)), Sy(e));
11162
+ rb(r, e)?.annotation ? i = cy : Ix(r, e, n) && (i = sy), i ? ((o?.position === "bottom" || _y(e) === "collapsed") && by(e), t(Na(e, a, { annotationid: i }))) : (t(Ss(e, a)), Sy(e));
11122
11163
  } else a && s && o?.position === "bottom" && fy(e, !0);
11123
11164
  i && t(Yn(e, i)), sb(e);
11124
- }, AS = () => {
11165
+ }, PS = () => {
11125
11166
  let e = hl();
11126
11167
  return Sl(e.breakpoints.down("sm")) ? "bottom" : "right";
11127
- }, jS = (e) => {
11168
+ }, FS = (e) => {
11128
11169
  let [t, n] = al(null);
11129
11170
  return N(() => {
11130
11171
  if (!e) {
@@ -11139,11 +11180,11 @@ var Qv = { viewer: Zv }, $v = {
11139
11180
  let r = typeof ResizeObserver > "u" ? null : new ResizeObserver(t);
11140
11181
  return r?.observe(e), () => r?.disconnect();
11141
11182
  }, [e]), t;
11142
- }, MS = [SS, {
11183
+ }, IS = [ES, {
11143
11184
  target: "AnnotationsOverlay",
11144
11185
  mode: "wrap",
11145
11186
  component: ({ TargetComponent: e, targetProps: t, addCompanionWindow: n, updateCompanionWindow: r, annotationPages: i, clearMapSelection: a, existingPreviewCompanionWindowId: o, initialView: s = "fill", linkedMapResolver: c = null, locale: l = "en", numberPins: u = !1, openNestedMap: d, previewAnnotationId: f = null, previewShowsMapInfo: p = !1, site: m = !1, updateViewport: h }) => {
11146
- let { annotations: g = [], searchAnnotations: _ = [], selectAnnotation: v } = t, y = AS(), b = P({
11187
+ let { annotations: g = [], searchAnnotations: _ = [], selectAnnotation: v } = t, y = PS(), b = P({
11147
11188
  deselect: t.deselectAnnotation,
11148
11189
  selectedId: t.selectedAnnotationId
11149
11190
  });
@@ -11164,12 +11205,12 @@ var Qv = { viewer: Zv }, $v = {
11164
11205
  v?.(e, t);
11165
11206
  let a = [...g, ..._].flatMap((e) => e.resources ?? []).find((e) => e.id === t);
11166
11207
  if (!a?.pointSelector && !a?.svgSelector) return;
11167
- let s = wS(i), c = s.find((e) => e.id === t), l = c ? DS(c, (e) => s.some((t) => t.id === e)) : t;
11168
- OS({
11208
+ let s = OS(i), c = s.find((e) => e.id === t), l = c ? jS(c, (e) => s.some((t) => t.id === e)) : t;
11209
+ MS({
11169
11210
  addCompanionWindow: n,
11170
11211
  updateCompanionWindow: r
11171
11212
  }, e, o, l, y);
11172
- }, S = m ? g.flatMap((e) => e.resources ?? []).filter((e) => e.pointSelector) : [], C = il(() => m ? wS(i) : [], [i, m]), w = il(() => new Map(C.map((e) => [e.id, yx(e, l, "identifying")])), [C, l]), T = il(() => Qb(C).map((e) => e.id), [C]), E = il(() => new Set(C.filter((e) => Qy(e["dbf:linkedMap"], c)).map((e) => e.id)), [C, c]), D = il(() => u ? $b(C) : null, [C, u]), [ee, te] = Ay(t.viewer, m, () => a?.(t.windowId), `${t.selectedAnnotationId ?? ""} ${f ?? ""}`);
11213
+ }, S = m ? g.flatMap((e) => e.resources ?? []).filter((e) => e.pointSelector) : [], C = il(() => m ? OS(i) : [], [i, m]), w = il(() => new Map(C.map((e) => [e.id, yx(e, l, "identifying")])), [C, l]), T = il(() => Qb(C).map((e) => e.id), [C]), E = il(() => new Set(C.filter((e) => Qy(e["dbf:linkedMap"], c)).map((e) => e.id)), [C, c]), D = il(() => u ? $b(C) : null, [C, u]), [ee, te] = Ay(t.viewer, m, () => a?.(t.windowId), `${t.selectedAnnotationId ?? ""} ${f ?? ""}`);
11173
11214
  Yy({
11174
11215
  canvasWorld: t.canvasWorld,
11175
11216
  enabled: m,
@@ -11186,8 +11227,8 @@ var Qv = { viewer: Zv }, $v = {
11186
11227
  fy(t.windowId, !1);
11187
11228
  let r = C.find((t) => t.id === e), i = r ? Qy(r["dbf:linkedMap"], c) : null;
11188
11229
  if (r && i && d) {
11189
- let e = vS(r, DS(r, (e) => C.some((t) => t.id === e)), y);
11190
- sS(t.windowId, Px(r), (n) => d(t.windowId, i, n ? {
11230
+ let e = SS(r, jS(r, (e) => C.some((t) => t.id === e)), y);
11231
+ dS(t.windowId, Rx(r), (n) => d(t.windowId, i, n ? {
11191
11232
  ...e,
11192
11233
  viewer: n
11193
11234
  } : e));
@@ -11213,15 +11254,15 @@ var Qv = { viewer: Zv }, $v = {
11213
11254
  ux({
11214
11255
  enabled: m,
11215
11256
  firstPoint: ae ? O(ae) : null,
11216
- focusOnPoint: (e) => nS(t.windowId, e),
11217
- halfwayToPoint: (e) => rS(t.windowId, e),
11257
+ focusOnPoint: (e) => oS(t.windowId, e),
11258
+ halfwayToPoint: (e) => sS(t.windowId, e),
11218
11259
  initialView: s,
11219
11260
  points: ie,
11220
11261
  storeViewport: h,
11221
11262
  viewer: t.viewer,
11222
11263
  windowId: t.windowId
11223
11264
  });
11224
- let oe = jS(m ? t.viewer?.element : null);
11265
+ let oe = FS(m ? t.viewer?.element : null);
11225
11266
  if (m) {
11226
11267
  let n = g.map((e) => ({
11227
11268
  id: e.id,
@@ -11241,11 +11282,11 @@ var Qv = { viewer: Zv }, $v = {
11241
11282
  });
11242
11283
  },
11243
11284
  mapStateToProps: (e, { windowId: t }) => ({
11244
- annotationPages: CS(e, t),
11245
- existingPreviewCompanionWindowId: ES(e, t),
11285
+ annotationPages: DS(e, t),
11286
+ existingPreviewCompanionWindowId: AS(e, t),
11246
11287
  linkedMapResolver: $y(e),
11247
- previewAnnotationId: Ae(e, { companionWindowId: ES(e, t) })?.annotationid ?? null,
11248
- previewShowsMapInfo: Ae(e, { companionWindowId: ES(e, t) })?.annotationid === sy,
11288
+ previewAnnotationId: Ae(e, { companionWindowId: AS(e, t) })?.annotationid ?? null,
11289
+ previewShowsMapInfo: Ae(e, { companionWindowId: AS(e, t) })?.annotationid === sy,
11249
11290
  initialView: nb(e, t) ? "fill" : tx(j(e).maps?.initialView),
11250
11291
  locale: mx(j(e).language),
11251
11292
  numberPins: j(e).maps?.numberPins === !0,
@@ -11253,32 +11294,32 @@ var Qv = { viewer: Zv }, $v = {
11253
11294
  }),
11254
11295
  mapDispatchToProps: {
11255
11296
  addCompanionWindow: co,
11256
- clearMapSelection: kS,
11297
+ clearMapSelection: NS,
11257
11298
  openNestedMap: gb,
11258
11299
  updateCompanionWindow: Na,
11259
11300
  updateViewport: mc
11260
11301
  }
11261
- }], NS = (e) => {
11302
+ }], LS = (e) => {
11262
11303
  let t = new Set(e.map((e) => e.id));
11263
11304
  return Qb(e).flatMap((e) => {
11264
- let n = Px(e);
11305
+ let n = Rx(e);
11265
11306
  return n ? [{
11266
11307
  point: n,
11267
11308
  poiId: e.id,
11268
- previewId: DS(e, (e) => t.has(e))
11309
+ previewId: jS(e, (e) => t.has(e))
11269
11310
  }] : [];
11270
11311
  });
11271
- }, PS = (e, t, n) => {
11312
+ }, RS = (e, t, n) => {
11272
11313
  if (e.length === 0) return null;
11273
11314
  let r = e.findIndex((e) => e.poiId === t);
11274
11315
  if (r === -1) return e[0];
11275
11316
  let i = Math.min(e.length - 1, Math.max(0, r + n));
11276
11317
  return i === r ? null : e[i];
11277
- }, FS = [{
11318
+ }, zS = [{
11278
11319
  target: "OpenSeadragonViewer",
11279
11320
  mode: "add",
11280
11321
  component: ({ viewer: e, windowId: t, addCompanionWindow: n, annotationPages: r, existingPreviewCompanionWindowId: i, selectAnnotation: a, selectedAnnotationId: o, updateCompanionWindow: s }) => {
11281
- let c = AS(), l = P({
11322
+ let c = PS(), l = P({
11282
11323
  annotationPages: r,
11283
11324
  dispatchAddCompanionWindow: n,
11284
11325
  dispatchSelectAnnotation: a,
@@ -11296,16 +11337,16 @@ var Qv = { viewer: Zv }, $v = {
11296
11337
  previewPosition: c,
11297
11338
  selectedAnnotationId: o
11298
11339
  }, N(() => e ? Ty(t, (e) => {
11299
- let n = l.current, r = PS(NS(wS(n.annotationPages)), n.selectedAnnotationId, e);
11300
- r && (n.dispatchSelectAnnotation(t, r.poiId), OS({
11340
+ let n = l.current, r = RS(LS(OS(n.annotationPages)), n.selectedAnnotationId, e);
11341
+ r && (n.dispatchSelectAnnotation(t, r.poiId), MS({
11301
11342
  addCompanionWindow: n.dispatchAddCompanionWindow,
11302
11343
  updateCompanionWindow: n.dispatchUpdateCompanionWindow
11303
- }, t, n.existingPreviewCompanionWindowId, r.previewId, n.previewPosition), requestAnimationFrame(() => requestAnimationFrame(() => nS(t, r.point))));
11344
+ }, t, n.existingPreviewCompanionWindowId, r.previewId, n.previewPosition), requestAnimationFrame(() => requestAnimationFrame(() => oS(t, r.point))));
11304
11345
  }) : void 0, [e, t]), null;
11305
11346
  },
11306
11347
  mapStateToProps: (e, { windowId: t }) => ({
11307
- annotationPages: CS(e, t),
11308
- existingPreviewCompanionWindowId: ES(e, t),
11348
+ annotationPages: DS(e, t),
11349
+ existingPreviewCompanionWindowId: AS(e, t),
11309
11350
  selectedAnnotationId: Kn(e, { windowId: t })
11310
11351
  }),
11311
11352
  mapDispatchToProps: {
@@ -11313,7 +11354,7 @@ var Qv = { viewer: Zv }, $v = {
11313
11354
  selectAnnotation: zn,
11314
11355
  updateCompanionWindow: Na
11315
11356
  }
11316
- }], IS = {
11357
+ }], BS = {
11317
11358
  border: 0,
11318
11359
  clip: "rect(0 0 0 0)",
11319
11360
  height: 1,
@@ -11323,7 +11364,7 @@ var Qv = { viewer: Zv }, $v = {
11323
11364
  position: "absolute",
11324
11365
  whiteSpace: "nowrap",
11325
11366
  width: 1
11326
- }, LS = {
11367
+ }, VS = {
11327
11368
  ar: {
11328
11369
  ...ly.ar,
11329
11370
  rights: "حقوق الصورة",
@@ -11336,12 +11377,12 @@ var Qv = { viewer: Zv }, $v = {
11336
11377
  zoomIn: "Zoom in",
11337
11378
  zoomOut: "Zoom out"
11338
11379
  }
11339
- }, RS = 1.5, zS = {
11380
+ }, HS = 1.5, US = {
11340
11381
  target: "WindowCanvasNavigationControls",
11341
11382
  mode: "wrap",
11342
11383
  component: ({ TargetComponent: e, targetProps: t, addCompanionWindow: n, announcement: r, hasMapInfo: i, locale: a, panelPosition: o, previewAnnotationId: s, previewId: c, requiredStatement: l, rights: u, site: d, updateCompanionWindow: f }) => {
11343
- let { windowId: p } = t, m = my(p), [h, g] = al(!1), _ = nl(), v = AS(), y = () => {
11344
- fy(p, !1), OS({
11384
+ let { windowId: p } = t, m = my(p), [h, g] = al(!1), _ = nl(), v = PS(), y = () => {
11385
+ fy(p, !1), MS({
11345
11386
  addCompanionWindow: n,
11346
11387
  updateCompanionWindow: f
11347
11388
  }, p, c ?? void 0, sy, v);
@@ -11366,7 +11407,7 @@ var Qv = { viewer: Zv }, $v = {
11366
11407
  i,
11367
11408
  c
11368
11409
  ]), !d) return /* @__PURE__ */ F(e, { ...t });
11369
- let S = LS[a], C = (e) => {
11410
+ let S = VS[a], C = (e) => {
11370
11411
  let t = Ys.get(p)?.current?.viewport;
11371
11412
  t && (t.zoomBy(e), t.applyConstraints());
11372
11413
  }, w = l.flatMap(({ values: e }) => e).filter(Boolean), T = w.length > 0 || u.length > 0, E = "none";
@@ -11379,7 +11420,7 @@ var Qv = { viewer: Zv }, $v = {
11379
11420
  "aria-atomic": "true",
11380
11421
  className: "dbf-map-live",
11381
11422
  role: "status",
11382
- style: IS,
11423
+ style: BS,
11383
11424
  children: r
11384
11425
  }),
11385
11426
  o === "right" && /* @__PURE__ */ F("button", {
@@ -11403,14 +11444,14 @@ var Qv = { viewer: Zv }, $v = {
11403
11444
  "aria-label": S.zoomIn,
11404
11445
  className: "dbf-map-controls__button",
11405
11446
  "data-action": "zoom-in",
11406
- onClick: () => C(RS),
11447
+ onClick: () => C(HS),
11407
11448
  type: "button"
11408
11449
  }),
11409
11450
  /* @__PURE__ */ F("button", {
11410
11451
  "aria-label": S.zoomOut,
11411
11452
  className: "dbf-map-controls__button",
11412
11453
  "data-action": "zoom-out",
11413
- onClick: () => C(1 / RS),
11454
+ onClick: () => C(1 / HS),
11414
11455
  type: "button"
11415
11456
  }),
11416
11457
  T && /* @__PURE__ */ F("button", {
@@ -11439,7 +11480,7 @@ var Qv = { viewer: Zv }, $v = {
11439
11480
  });
11440
11481
  },
11441
11482
  mapStateToProps: (e, { windowId: t }) => {
11442
- let n = j(e), r = ES(e, t), i = r ? Ae(e, { companionWindowId: r }) : void 0, a = i?.position, o = mx(n.language), s = TS(e, t), c = Kn(e, { windowId: t }), l = s.find((e) => e.id === c), u = l?.["dbf:journey"]?.id, d = u ? Nx(s, u) : [], f = l ? d.findIndex((e) => e.id === l.id) : -1, p = n.maps?.numberPins === !0 ? $b(s) : null, m = l ? p?.get(l.id) : void 0, h = null;
11483
+ let n = j(e), r = AS(e, t), i = r ? Ae(e, { companionWindowId: r }) : void 0, a = i?.position, o = mx(n.language), s = kS(e, t), c = Kn(e, { windowId: t }), l = s.find((e) => e.id === c), u = l?.["dbf:journey"]?.id, d = u ? Lx(s, u) : [], f = l ? d.findIndex((e) => e.id === l.id) : -1, p = n.maps?.numberPins === !0 ? $b(s) : null, m = l ? p?.get(l.id) : void 0, h = null;
11443
11484
  return p && m != null ? h = {
11444
11485
  count: p.size,
11445
11486
  number: m
@@ -11448,7 +11489,7 @@ var Qv = { viewer: Zv }, $v = {
11448
11489
  number: f + 1
11449
11490
  }), {
11450
11491
  announcement: l ? Ky(yx(l, o, "identifying"), h, o) : "",
11451
- hasMapInfo: Mx(e, t, o) !== null,
11492
+ hasMapInfo: Ix(e, t, o) !== null,
11452
11493
  locale: o,
11453
11494
  panelPosition: a === "right" || a === "bottom" ? a : null,
11454
11495
  previewAnnotationId: i?.annotationid ?? null,
@@ -11462,7 +11503,7 @@ var Qv = { viewer: Zv }, $v = {
11462
11503
  addCompanionWindow: co,
11463
11504
  updateCompanionWindow: Na
11464
11505
  }
11465
- }, BS = [zS], VS = {
11506
+ }, WS = [US], GS = {
11466
11507
  theme: { components: {
11467
11508
  Window: { styleOverrides: {
11468
11509
  bottom: ({ theme: e }) => ({
@@ -11493,14 +11534,14 @@ var Qv = { viewer: Zv }, $v = {
11493
11534
  panels: { canvas: !1 }
11494
11535
  },
11495
11536
  workspaceControlPanel: { enabled: !1 }
11496
- }, HS = {
11537
+ }, KS = {
11497
11538
  styles: { prepend: !0 },
11498
11539
  window: {
11499
11540
  defaultSidebarPanelWidth: 480,
11500
11541
  defaultSidebarPanelHeight: 310
11501
11542
  }
11502
- }, US = ["en", "ar"];
11503
- function WS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang: n = "en", manifestId: r, numberPins: i = !1, site: a = !1 }) {
11543
+ }, qS = ["en", "ar"];
11544
+ function JS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang: n = "en", manifestId: r, numberPins: i = !1, site: a = !1 }) {
11504
11545
  let o = nl().replace(/:/g, ""), s = P(null), c = P(null), l = P(e);
11505
11546
  l.current = e;
11506
11547
  let u = !!e, d = P(n);
@@ -11512,12 +11553,12 @@ function WS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang:
11512
11553
  let t = document.createElement("div");
11513
11554
  t.id = `mirador-map-viewer-${o}`, t.style.position = "absolute", t.style.inset = 0, e.appendChild(t);
11514
11555
  let n = Zv({
11515
- ...VS,
11556
+ ...GS,
11516
11557
  ...a ? {
11517
- styles: HS.styles,
11558
+ styles: KS.styles,
11518
11559
  window: {
11519
- ...VS.window,
11520
- ...HS.window
11560
+ ...GS.window,
11561
+ ...KS.window
11521
11562
  }
11522
11563
  } : {},
11523
11564
  id: t.id,
@@ -11530,10 +11571,10 @@ function WS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang:
11530
11571
  },
11531
11572
  windows: [{ manifestId: r }]
11532
11573
  }, [
11533
- ...MS,
11574
+ ...IS,
11534
11575
  ...bb,
11535
- ...FS,
11536
- ...BS
11576
+ ...zS,
11577
+ ...WS
11537
11578
  ]);
11538
11579
  return c.current = n, () => {
11539
11580
  c.current = null, n.unmount(), t.remove();
@@ -11558,21 +11599,21 @@ function WS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang:
11558
11599
  }
11559
11600
  });
11560
11601
  }
11561
- WS.propTypes = {
11602
+ JS.propTypes = {
11562
11603
  getLinkedMapManifestId: L.default.func,
11563
11604
  initialView: L.default.oneOf(ex),
11564
- lang: L.default.oneOf(US),
11605
+ lang: L.default.oneOf(qS),
11565
11606
  manifestId: L.default.string.isRequired,
11566
11607
  numberPins: L.default.bool,
11567
11608
  site: L.default.bool
11568
11609
  };
11569
11610
  //#endregion
11570
11611
  //#region src/index.js
11571
- var GS = {
11612
+ var YS = {
11572
11613
  ...Qv,
11573
11614
  ...$v
11574
11615
  };
11575
11616
  //#endregion
11576
- export { Bs as AccessTokenSender, M as ActionTypes, Gn as AnnotationFactory, jn as AnnotationItem, Nn as AnnotationList, An as AnnotationPage, kn as AnnotationResource, Oi as AnnotationSettings, $s as AnnotationsOverlay, Lp as App, Pp as AppProviders, Tr as AttributionPanel, Dc as AudioViewer, Va as BackgroundPluginArea, Uo as BookViewIcon, Go as Branding, Xs as CanvasAnnotationDisplay, Ps as CanvasAnnotations, at as CanvasGroupings, Ws as CanvasIndexIcon, ys as CanvasInfo, Br as CanvasLayers, ur as CanvasWorld, _o as ChangeThemeDialog, Fo as CollapsibleSection, Hr as CollectionDialog, go as CollectionInfo, Cr as CompanionArea, zs as CompanionWindow, bi as CompanionWindowFactory, Cs as CompanionWindowRegistry, Ta as CompanionWindowSection, Ir as ConnectedAnnotationSettings, Gs as ConnectedAnnotationsOverlay, Fp as ConnectedAppProviders, Hs as ConnectedAttributionPanel, Oc as ConnectedAudioViewer, po as ConnectedBackgroundPluginArea, Do as ConnectedBranding, Fa as ConnectedCanvasAnnotations, Ao as ConnectedCanvasInfo, Yi as ConnectedCanvasLayers, qi as ConnectedChangeThemeDialog, Yo as ConnectedCollapsibleSection, Zi as ConnectedCollectionDialog, is as ConnectedCollectionInfo, Eo as ConnectedCompanionArea, ws as ConnectedCompanionWindow, xo as ConnectedCompanionWindowFactory, Ns as ConnectedCustomPanel, wi as ConnectedErrorContent, _i as ConnectedErrorDialog, la as ConnectedFullScreenButton, Mc as ConnectedGalleryView, Ac as ConnectedGalleryViewThumbnail, Io as ConnectedIIIFAuthentication, Sc as ConnectedIIIFThumbnail, Ga as ConnectedLabelValueMetadata, yr as ConnectedLanguageSettings, Ar as ConnectedLayersPanel, ls as ConnectedLocalePicker, ti as ConnectedManifestForm, Aa as ConnectedManifestInfo, Ur as ConnectedManifestListItem, ma as ConnectedManifestListItemError, ms as ConnectedManifestRelatedLinks, Fs as ConnectedMinimalWindow, Tc as ConnectedMiradorMenuButton, Zr as ConnectedMosaicRenderPreview, ec as ConnectedOpenSeadragonViewer, Mr as ConnectedPrimaryWindow, jr as ConnectedSanitizedHtml, Lr as ConnectedScrollIndicatedDialogContent, yo as ConnectedSearchHit, Fr as ConnectedSearchPanel, Wr as ConnectedSearchPanelControls, mi as ConnectedSearchPanelNavigation, wo as ConnectedSearchResults, Pc as ConnectedSelectCollection, ya as ConnectedSidebarIndexItem, Qo as ConnectedSidebarIndexList, $i as ConnectedSidebarIndexTableOfContents, ha as ConnectedSidebarIndexThumbnail, Gc as ConnectedTextViewer, yi as ConnectedThumbnailCanvasGrouping, Sr as ConnectedThumbnailNavigation, qc as ConnectedVideoViewer, Fc as ConnectedViewerInfo, Vc as ConnectedViewerNavigation, to as ConnectedWindow, oo as ConnectedWindowAuthenticationBar, Uc as ConnectedWindowCanvasNavigationControls, oa as ConnectedWindowList, Za as ConnectedWindowListButton, Kr as ConnectedWindowSideBar, uo as ConnectedWindowSideBarAnnotationsPanel, gi as ConnectedWindowSideBarButtons, ra as ConnectedWindowSideBarCanvasPanel, Rs as ConnectedWindowSideBarCollectionPanel, gr as ConnectedWindowSideBarInfoPanel, cs as ConnectedWindowThumbnailSettings, Dr as ConnectedWindowTopBar, pa as ConnectedWindowTopBarPluginArea, ci as ConnectedWindowTopBarPluginMenu, fi as ConnectedWindowTopBarTitle, ps as ConnectedWindowTopMenu, Li as ConnectedWindowTopMenuButton, rs as ConnectedWindowViewSettings, Yc as ConnectedWindowViewer, Vo as ConnectedWorkspace, Da as ConnectedWorkspaceAdd, vo as ConnectedWorkspaceAddButton, ds as ConnectedWorkspaceArea, os as ConnectedWorkspaceControlPanel, gs as ConnectedWorkspaceControlPanelButtons, Ri as ConnectedWorkspaceElastic, bs as ConnectedWorkspaceElasticWindow, Is as ConnectedWorkspaceExport, Sa as ConnectedWorkspaceImport, Or as ConnectedWorkspaceMenu, js as ConnectedWorkspaceMenuButton, Vs as ConnectedWorkspaceMosaic, Ko as ConnectedWorkspaceOptionsButton, so as ConnectedWorkspaceOptionsMenu, Rr as ConnectedWorkspaceSelectionDialog, Hc as ConnectedZoomControls, Wi as CustomPanel, _e as EMPTY_ARRAY, C as EMPTY_OBJECT, Ni as ErrorContent, as as ErrorDialog, Xr as FullScreenButton, Jo as FullScreenContext, jc as GalleryView, ka as GalleryViewIcon, kc as GalleryViewThumbnail, fo as IIIFAuthentication, hr as IIIFDropTarget, Ia as IIIFIFrameCommunication, bc as IIIFThumbnail, Zs as ImageFailureMessage, eo as LabelValueMetadata, Pi as LanguageSettings, Os as LayersPanel, Ba as LocalePicker, ky as MAP_CLICK_DELAY_MS, sy as MAP_INFO_ID, US as MAP_VIEWER_LANGUAGES, va as ManifestForm, Wo as ManifestInfo, ai as ManifestListItem, ua as ManifestListItemError, zo as ManifestRelatedLinks, WS as MapViewer, Ki as MinimalWindow, Te as MiradorCanvas, us as MiradorIcon, wn as MiradorManifest, wc as MiradorMenuButton, Xv as MiradorViewer, na as MosaicLayout, Zo as MosaicRenderPreview, cy as NESTED_ORIGIN_ID, li as NestedMenu, Ts as NewBrowserWindow, Ys as OSDReferences, tc as OpenSeadragonCanvasOverlay, Qs as OpenSeadragonViewer, ly as PANEL_LABELS, oy as POI_PREVIEW_CONTENT_ID, re as PluginContext, yc as PluginHook, Kl as PluginProvider, As as PrimaryWindow, Rc as RestoreZoomIcon, hy as SHEET_SNAPS, ks as SanitizedHtml, ki as ScrollIndicatedDialogContent, Gi as ScrollTo, vi as SearchHit, Di as SearchPanel, ni as SearchPanelControls, zi as SearchPanelNavigation, xr as SearchResults, Nc as SelectCollection, Fi as SidebarIndexItem, oi as SidebarIndexList, sa as SidebarIndexTableOfContents, da as SidebarIndexThumbnail, Wc as TextViewer, Ci as ThumbnailCanvasGrouping, At as ThumbnailFactory, bo as ThumbnailNavigation, vs as ThumbnailNavigationBottomIcon, ko as ThumbnailNavigationRightIcon, Si as TruncatedHit, Kc as VideoViewer, Bc as ViewerInfo, Lc as ViewerNavigation, Xo as Window, Ea as WindowAuthenticationBar, zc as WindowCanvasNavigationControls, qr as WindowList, Qi as WindowListButton, ta as WindowMaxIcon, ei as WindowMinIcon, Ja as WindowOptionsIcon, ii as WindowSideBar, ao as WindowSideBarAnnotationsPanel, Vi as WindowSideBarButtons, Qr as WindowSideBarCanvasPanel, Pa as WindowSideBarCollectionPanel, Ya as WindowSideBarInfoPanel, za as WindowThumbnailSettings, aa as WindowTopBar, xa as WindowTopBarPluginArea, _a as WindowTopBarPluginMenu, es as WindowTopBarTitle, Ro as WindowTopMenu, vr as WindowTopMenuButton, ho as WindowViewSettings, Jc as WindowViewer, pi as Workspace, Ai as WorkspaceAdd, xi as WorkspaceAddButton, ts as WorkspaceArea, Ec as WorkspaceContext, La as WorkspaceControlPanel, Ha as WorkspaceControlPanelButtons, ja as WorkspaceDialog, jo as WorkspaceElastic, Ka as WorkspaceElasticWindow, Ma as WorkspaceExport, xs as WorkspaceImport, Es as WorkspaceMenu, Hi as WorkspaceMenuButton, wr as WorkspaceMosaic, Mo as WorkspaceOptionsButton, no as WorkspaceOptionsMenu, Nr as WorkspaceSelectionDialog, So as WorkspaceTypeElasticIcon, Ti as WorkspaceTypeMosaicIcon, Ic as ZoomControls, g_ as accessTokensReducer, ca as addAuthenticationRequest, co as addCompanionWindow, Oo as addError, ro as addOrUpdateCompanionWindow, Wl as addPluginsToCompanionWindowsRegistry, Mi as addResource, fc as addWindow, wS as annotationPagesItems, q_ as annotationsReducer, Ie as asArray, J_ as authReducer, _b as backToParentMap, Q_ as catalogReducer, kS as clearMapSelection, sb as clearRestoredSelection, P_ as companionWindowsReducer, G_ as configReducer, Ul as connectPluginsToStore, xy as consumeOpenMinimised, zy as consumePanelFocus, Yv as createPluggableStore, Jv as createStore, Hl as createTargetToPluginMapping, fb as crossfadeMapSwitch, vc as cssNs, GS as default, VS as defaultMapViewerConfig, Yn as deselectAnnotation, px as editInPlaceOfPreview, Y_ as elasticLayoutReducer, iS as ensurePointVisible, sS as enterNestedMap, I_ as errorsReducer, Ca as expandNodes, xx as eyebrowFor, zl as fetchInfoResponse, mo as fetchManifest, hi as fetchSearch, em as filterValidPlugins, aS as fitMapToPoints, nS as focusMapOnPoint, cc as focusWindow, Ms as getAccessTokens, yt as getAllowedWindowViewTypes, rr as getAnnotationResourcesByMotivation, Fn as getAnnotationResourcesByMotivationForCanvas, On as getAnnotationResourcesDataForCanvas, Dn as getAnnotations, Ui as getAuth, kr as getAuthProfiles, $t as getBestThumbnail, ln as getCanvas, TS as getCanvasAnnotationItems, CS as getCanvasAnnotationPages, Kt as getCanvasDescription, tr as getCanvasForAnnotation, nn as getCanvasGrouping, Ft as getCanvasGroupings, Ue as getCanvasIndex, _t as getCanvasLabel, cr as getCanvasLayers, Jt as getCanvasMetadata, on as getCanvases, he as getCatalog, rt as getCompanionAreaVisibility, Ae as getCompanionWindow, A as getCompanionWindowIdsForPosition, Je as getCompanionWindowLocale, Vt as getCompanionWindows, Ce as getCompanionWindowsForContent, zt as getCompanionWindowsForPosition, j as getConfig, im as getConfigFromPlugins, Pt as getContainerId, mx as getContentLocale, xt as getCurrentCanvas, Js as getCurrentCanvasWorld, Ji as getDefaultSidebarVariant, Cn as getDestructuredMetadata, ke as getElasticLayout, zr as getExpandedNodeIds, Mt as getExportableState, Oe as getFocusedWindowId, qe as getFullScreenEnabled, mn as getIiifThumbnailOpts, gt as getLanguagesFromConfigWithCurrent, Bt as getLatestError, or as getLayers, dr as getLayersForVisibleCanvases, mr as getLayersForWindow, eb as getLinkedMapManifestId, $y as getLinkedMapResolver, we as getLocale, oe as getManifest, ot as getManifestAutocompleteService, Ne as getManifestDescription, it as getManifestError, ct as getManifestHomepage, Me as getManifestLocale, ze as getManifestLogo, en as getManifestMetadata, Le as getManifestProviderName, ft as getManifestRelated, ut as getManifestRelatedContent, mt as getManifestRenderings, Xe as getManifestSearchService, xe as getManifestSeeAlso, Dt as getManifestStatus, dn as getManifestSummary, qt as getManifestThumbnail, an as getManifestTitle, Lt as getManifestUrl, vt as getManifestoInstance, de as getManifests, Pr as getManuallyExpandedNodeIds, Mx as getMapInfo, yn as getMaximizedWindowsIds, Xt as getMetadataLocales, He as getMiradorCanvasWrapper, $e as getMiradorManifestWrapper, rb as getNestedOrigin, Ht as getNextCanvasGrouping, Bn as getNextSearchId, PS as getNextTourStep, Ei as getNodeIdToScrollTo, Nx as getOrderedJourneyPois, Px as getPoiPoint, Mn as getPresentAnnotationsOnSelectedCanvases, DS as getPreviewAnnotationId, ES as getPreviewCompanionWindowId, fn as getPreviousCanvasGrouping, cn as getProviderLogo, rm as getReducersFromPlugins, gn as getRequestsConfig, Ct as getRequiredStatement, Vn as getResourceAnnotationForSearchHit, Zn as getResourceAnnotationLabel, Wt as getRights, am as getSagasFromPlugins, Jn as getSearchAnnotationsForCompanionWindow, Un as getSearchAnnotationsForWindow, Hn as getSearchForWindow, In as getSearchIsFetching, nr as getSearchNumTotal, ar as getSearchQuery, Kn as getSelectedAnnotationId, Tn as getSelectedAnnotationsOnCanvases, Rn as getSelectedContentSearchAnnotationIds, Ge as getSequence, Ye as getSequenceBehaviors, je as getSequenceTreeStructure, Fe as getSequenceViewingDirection, Ve as getSequenceViewingHint, Qe as getSequences, _y as getSheetSnap, Sn as getShowZoomControlsConfig, sr as getSortedLayers, ir as getSortedSearchAnnotationsForCompanionWindow, Pn as getSortedSearchHitsForCompanionWindow, bt as getTheme, bn as getThemeDirection, tt as getThemeIds, Et as getThumbnailFactory, We as getThumbnailNavigationPosition, De as getThumbnailsConfig, NS as getTourSteps, ne as getViewer, wt as getVisibleCanvasAudioResources, Ot as getVisibleCanvasCaptions, Zt as getVisibleCanvasIds, Gt as getVisibleCanvasNonTiledResources, Nt as getVisibleCanvasTextResources, jt as getVisibleCanvasVideoResources, ht as getVisibleCanvases, qx as getVisibleMapArea, Co as getVisibleNodeIds, y as getWindow, et as getWindowConfig, Ee as getWindowDraggability, ce as getWindowIds, pe as getWindowManifests, _n as getWindowTitles, nt as getWindowViewType, S as getWindows, ae as getWorkspace, Se as getWorkspaceType, Xa as handleDrop, cb as hasPendingParentViewport, uc as hideCollectionDialog, Qn as hoverAnnotation, Xi as htmlRules, Ua as importConfig, Qa as importMiradorState, H_ as infoResponsesReducer, Rt as isFocused, Fy as isInsideMap, nb as isNestedMap, ob as isRestoredSelection, Ks as journeyStopNumbers, Z_ as layersReducer, V_ as manifestsReducer, FS as mapInteractionPlugins, oc as maximizeWindow, Ex as mediaImageUrl, nc as minimizeWindow, E as miradorSlice, bb as nestedMapPlugins, Ny as notifyPanelClosed, gb as openNestedMap, by as openNextMinimised, OS as openPreview, MS as poiPreviewPlugins, hs as readImageMetadata, Yr as receiveAccessToken, di as receiveAccessTokenFailure, Wn as receiveAnnotation, Ln as receiveAnnotationFailure, Ll as receiveDegradedInfoResponse, Il as receiveInfoResponse, Rl as receiveInfoResponseFailure, Oa as receiveManifest, Ho as receiveManifestFailure, Bi as receiveSearch, Us as receiveSearchFailure, My as registerPanelCloseHandler, Ty as registerTourStepper, Ss as removeCompanionWindow, _s as removeError, Bl as removeInfoResponse, ss as removeManifest, Gr as removeResource, Er as removeSearch, lc as removeWindow, $o as requestAccessToken, Xn as requestAnnotation, $n as requestCanvasAnnotations, Fl as requestInfoResponse, Ra as requestManifest, Iy as requestPanelFocus, ia as requestSearch, si as resetAuthenticationState, Sy as resetSheet, ga as resolveAccessTokenRequest, fa as resolveAuthenticationRequest, Qy as resolveLinkedMapManifestId, ev as rootReducer, qv as rootSaga, vx as sanitizeDescription, X_ as searchesReducer, zn as selectAnnotation, Ke as selectCompanionWindowDimensions, Ds as selectCurrentAuthServices, hn as selectInfoResponse, xn as selectInfoResponses, _c as setCanvas, dc as setCompanionAreaOpen, qo as setConfig, $r as setContentSearchCurrentAnnotation, hc as setNextCanvas, fy as setPanelCollapsed, gc as setPreviousCanvas, vy as setSheetSnap, rc as setWindowThumbnailPosition, sc as setWindowViewType, ba as setWorkspaceAddVisibility, Ii as setWorkspaceViewportDimensions, _r as setWorkspaceViewportPosition, ue as settings, pc as showCollectionDialog, zS as siteMapToolsPlugin, BS as siteMapToolsPlugins, HS as siteMapViewerConfig, En as sortSearchAnnotationsByCanvasOrder, Ey as stepTour, yx as textBody, qn as toggleAnnotationDisplay, qa as toggleDraggingEnabled, Ls as toggleNode, ic as toggleWindowSideBar, fs as toggleZoomControls, Na as updateCompanionWindow, No as updateConfig, ea as updateElasticWindowLayout, ri as updateLayers, mc as updateViewport, ac as updateWindow, Lo as updateWorkspace, ns as updateWorkspaceMosaicLayout, Ay as useMapClick, Oy as useMinimiseOnFirstInteraction, my as usePanelCollapsed, Ly as usePanelFocusRequest, AS as usePreviewPosition, lb as useRestoreParentViewport, Cy as useSheetSnap, ul as useTranslation, Kp as validatePlugin, Zv as viewer, K_ as viewersReducer, B_ as windowsReducer, ee as withPlugins, dl as withTranslation, z_ as workspaceReducer, rS as zoomMapHalfwayToPoint };
11617
+ export { Bs as AccessTokenSender, M as ActionTypes, Gn as AnnotationFactory, jn as AnnotationItem, Nn as AnnotationList, An as AnnotationPage, kn as AnnotationResource, Oi as AnnotationSettings, $s as AnnotationsOverlay, Rp as App, Fp as AppProviders, Tr as AttributionPanel, Dc as AudioViewer, Va as BackgroundPluginArea, Uo as BookViewIcon, Go as Branding, Xs as CanvasAnnotationDisplay, Ps as CanvasAnnotations, at as CanvasGroupings, Ws as CanvasIndexIcon, ys as CanvasInfo, Br as CanvasLayers, ur as CanvasWorld, _o as ChangeThemeDialog, Fo as CollapsibleSection, Hr as CollectionDialog, go as CollectionInfo, Cr as CompanionArea, zs as CompanionWindow, bi as CompanionWindowFactory, Cs as CompanionWindowRegistry, Ta as CompanionWindowSection, Ir as ConnectedAnnotationSettings, Gs as ConnectedAnnotationsOverlay, Ip as ConnectedAppProviders, Hs as ConnectedAttributionPanel, Oc as ConnectedAudioViewer, po as ConnectedBackgroundPluginArea, Do as ConnectedBranding, Fa as ConnectedCanvasAnnotations, Ao as ConnectedCanvasInfo, Yi as ConnectedCanvasLayers, qi as ConnectedChangeThemeDialog, Yo as ConnectedCollapsibleSection, Zi as ConnectedCollectionDialog, is as ConnectedCollectionInfo, Eo as ConnectedCompanionArea, ws as ConnectedCompanionWindow, xo as ConnectedCompanionWindowFactory, Ns as ConnectedCustomPanel, wi as ConnectedErrorContent, _i as ConnectedErrorDialog, la as ConnectedFullScreenButton, Mc as ConnectedGalleryView, Ac as ConnectedGalleryViewThumbnail, Io as ConnectedIIIFAuthentication, Sc as ConnectedIIIFThumbnail, Ga as ConnectedLabelValueMetadata, yr as ConnectedLanguageSettings, Ar as ConnectedLayersPanel, ls as ConnectedLocalePicker, ti as ConnectedManifestForm, Aa as ConnectedManifestInfo, Ur as ConnectedManifestListItem, ma as ConnectedManifestListItemError, ms as ConnectedManifestRelatedLinks, Fs as ConnectedMinimalWindow, Tc as ConnectedMiradorMenuButton, Zr as ConnectedMosaicRenderPreview, ec as ConnectedOpenSeadragonViewer, Mr as ConnectedPrimaryWindow, jr as ConnectedSanitizedHtml, Lr as ConnectedScrollIndicatedDialogContent, yo as ConnectedSearchHit, Fr as ConnectedSearchPanel, Wr as ConnectedSearchPanelControls, mi as ConnectedSearchPanelNavigation, wo as ConnectedSearchResults, Pc as ConnectedSelectCollection, ya as ConnectedSidebarIndexItem, Qo as ConnectedSidebarIndexList, $i as ConnectedSidebarIndexTableOfContents, ha as ConnectedSidebarIndexThumbnail, Gc as ConnectedTextViewer, yi as ConnectedThumbnailCanvasGrouping, Sr as ConnectedThumbnailNavigation, qc as ConnectedVideoViewer, Fc as ConnectedViewerInfo, Vc as ConnectedViewerNavigation, to as ConnectedWindow, oo as ConnectedWindowAuthenticationBar, Uc as ConnectedWindowCanvasNavigationControls, oa as ConnectedWindowList, Za as ConnectedWindowListButton, Kr as ConnectedWindowSideBar, uo as ConnectedWindowSideBarAnnotationsPanel, gi as ConnectedWindowSideBarButtons, ra as ConnectedWindowSideBarCanvasPanel, Rs as ConnectedWindowSideBarCollectionPanel, gr as ConnectedWindowSideBarInfoPanel, cs as ConnectedWindowThumbnailSettings, Dr as ConnectedWindowTopBar, pa as ConnectedWindowTopBarPluginArea, ci as ConnectedWindowTopBarPluginMenu, fi as ConnectedWindowTopBarTitle, ps as ConnectedWindowTopMenu, Li as ConnectedWindowTopMenuButton, rs as ConnectedWindowViewSettings, Yc as ConnectedWindowViewer, Vo as ConnectedWorkspace, Da as ConnectedWorkspaceAdd, vo as ConnectedWorkspaceAddButton, ds as ConnectedWorkspaceArea, os as ConnectedWorkspaceControlPanel, gs as ConnectedWorkspaceControlPanelButtons, Ri as ConnectedWorkspaceElastic, bs as ConnectedWorkspaceElasticWindow, Is as ConnectedWorkspaceExport, Sa as ConnectedWorkspaceImport, Or as ConnectedWorkspaceMenu, js as ConnectedWorkspaceMenuButton, Vs as ConnectedWorkspaceMosaic, Ko as ConnectedWorkspaceOptionsButton, so as ConnectedWorkspaceOptionsMenu, Rr as ConnectedWorkspaceSelectionDialog, Hc as ConnectedZoomControls, Wi as CustomPanel, _e as EMPTY_ARRAY, C as EMPTY_OBJECT, Ni as ErrorContent, as as ErrorDialog, Xr as FullScreenButton, Jo as FullScreenContext, jc as GalleryView, ka as GalleryViewIcon, kc as GalleryViewThumbnail, fo as IIIFAuthentication, hr as IIIFDropTarget, Ia as IIIFIFrameCommunication, bc as IIIFThumbnail, Zs as ImageFailureMessage, eo as LabelValueMetadata, Pi as LanguageSettings, Os as LayersPanel, Ba as LocalePicker, ky as MAP_CLICK_DELAY_MS, sy as MAP_INFO_ID, qS as MAP_VIEWER_LANGUAGES, va as ManifestForm, Wo as ManifestInfo, ai as ManifestListItem, ua as ManifestListItemError, zo as ManifestRelatedLinks, JS as MapViewer, Ki as MinimalWindow, Te as MiradorCanvas, us as MiradorIcon, wn as MiradorManifest, wc as MiradorMenuButton, Xv as MiradorViewer, na as MosaicLayout, Zo as MosaicRenderPreview, cy as NESTED_ORIGIN_ID, li as NestedMenu, Ts as NewBrowserWindow, Ys as OSDReferences, tc as OpenSeadragonCanvasOverlay, Qs as OpenSeadragonViewer, ly as PANEL_LABELS, oy as POI_PREVIEW_CONTENT_ID, re as PluginContext, yc as PluginHook, Kl as PluginProvider, As as PrimaryWindow, Rc as RestoreZoomIcon, hy as SHEET_SNAPS, ks as SanitizedHtml, ki as ScrollIndicatedDialogContent, Gi as ScrollTo, vi as SearchHit, Di as SearchPanel, ni as SearchPanelControls, zi as SearchPanelNavigation, xr as SearchResults, Nc as SelectCollection, Fi as SidebarIndexItem, oi as SidebarIndexList, sa as SidebarIndexTableOfContents, da as SidebarIndexThumbnail, Wc as TextViewer, Ci as ThumbnailCanvasGrouping, At as ThumbnailFactory, bo as ThumbnailNavigation, vs as ThumbnailNavigationBottomIcon, ko as ThumbnailNavigationRightIcon, Si as TruncatedHit, Kc as VideoViewer, Bc as ViewerInfo, Lc as ViewerNavigation, Xo as Window, Ea as WindowAuthenticationBar, zc as WindowCanvasNavigationControls, qr as WindowList, Qi as WindowListButton, ta as WindowMaxIcon, ei as WindowMinIcon, Ja as WindowOptionsIcon, ii as WindowSideBar, ao as WindowSideBarAnnotationsPanel, Vi as WindowSideBarButtons, Qr as WindowSideBarCanvasPanel, Pa as WindowSideBarCollectionPanel, Ya as WindowSideBarInfoPanel, za as WindowThumbnailSettings, aa as WindowTopBar, xa as WindowTopBarPluginArea, _a as WindowTopBarPluginMenu, es as WindowTopBarTitle, Ro as WindowTopMenu, vr as WindowTopMenuButton, ho as WindowViewSettings, Jc as WindowViewer, pi as Workspace, Ai as WorkspaceAdd, xi as WorkspaceAddButton, ts as WorkspaceArea, Ec as WorkspaceContext, La as WorkspaceControlPanel, Ha as WorkspaceControlPanelButtons, ja as WorkspaceDialog, jo as WorkspaceElastic, Ka as WorkspaceElasticWindow, Ma as WorkspaceExport, xs as WorkspaceImport, Es as WorkspaceMenu, Hi as WorkspaceMenuButton, wr as WorkspaceMosaic, Mo as WorkspaceOptionsButton, no as WorkspaceOptionsMenu, Nr as WorkspaceSelectionDialog, So as WorkspaceTypeElasticIcon, Ti as WorkspaceTypeMosaicIcon, Ic as ZoomControls, g_ as accessTokensReducer, ca as addAuthenticationRequest, co as addCompanionWindow, Oo as addError, ro as addOrUpdateCompanionWindow, Wl as addPluginsToCompanionWindowsRegistry, Mi as addResource, fc as addWindow, OS as annotationPagesItems, q_ as annotationsReducer, Ie as asArray, J_ as authReducer, _b as backToParentMap, Q_ as catalogReducer, NS as clearMapSelection, sb as clearRestoredSelection, P_ as companionWindowsReducer, G_ as configReducer, Ul as connectPluginsToStore, xy as consumeOpenMinimised, zy as consumePanelFocus, Yv as createPluggableStore, Jv as createStore, Hl as createTargetToPluginMapping, fb as crossfadeMapSwitch, vc as cssNs, YS as default, GS as defaultMapViewerConfig, Yn as deselectAnnotation, px as editInPlaceOfPreview, Y_ as elasticLayoutReducer, cS as ensurePointVisible, dS as enterNestedMap, I_ as errorsReducer, Ca as expandNodes, xx as eyebrowFor, zl as fetchInfoResponse, mo as fetchManifest, hi as fetchSearch, tm as filterValidPlugins, lS as fitMapToPoints, oS as focusMapOnPoint, cc as focusWindow, Ms as getAccessTokens, yt as getAllowedWindowViewTypes, rr as getAnnotationResourcesByMotivation, Fn as getAnnotationResourcesByMotivationForCanvas, On as getAnnotationResourcesDataForCanvas, Dn as getAnnotations, Ui as getAuth, kr as getAuthProfiles, $t as getBestThumbnail, ln as getCanvas, kS as getCanvasAnnotationItems, DS as getCanvasAnnotationPages, Kt as getCanvasDescription, tr as getCanvasForAnnotation, nn as getCanvasGrouping, Ft as getCanvasGroupings, Ue as getCanvasIndex, _t as getCanvasLabel, cr as getCanvasLayers, Jt as getCanvasMetadata, on as getCanvases, he as getCatalog, rt as getCompanionAreaVisibility, Ae as getCompanionWindow, A as getCompanionWindowIdsForPosition, Je as getCompanionWindowLocale, Vt as getCompanionWindows, Ce as getCompanionWindowsForContent, zt as getCompanionWindowsForPosition, j as getConfig, am as getConfigFromPlugins, Pt as getContainerId, mx as getContentLocale, xt as getCurrentCanvas, Js as getCurrentCanvasWorld, Ji as getDefaultSidebarVariant, Cn as getDestructuredMetadata, ke as getElasticLayout, zr as getExpandedNodeIds, Mt as getExportableState, Oe as getFocusedWindowId, qe as getFullScreenEnabled, mn as getIiifThumbnailOpts, gt as getLanguagesFromConfigWithCurrent, Bt as getLatestError, or as getLayers, dr as getLayersForVisibleCanvases, mr as getLayersForWindow, eb as getLinkedMapManifestId, $y as getLinkedMapResolver, we as getLocale, oe as getManifest, ot as getManifestAutocompleteService, Ne as getManifestDescription, it as getManifestError, ct as getManifestHomepage, Me as getManifestLocale, ze as getManifestLogo, en as getManifestMetadata, Le as getManifestProviderName, ft as getManifestRelated, ut as getManifestRelatedContent, mt as getManifestRenderings, Xe as getManifestSearchService, xe as getManifestSeeAlso, Dt as getManifestStatus, dn as getManifestSummary, qt as getManifestThumbnail, an as getManifestTitle, Lt as getManifestUrl, vt as getManifestoInstance, de as getManifests, Pr as getManuallyExpandedNodeIds, Ix as getMapInfo, yn as getMaximizedWindowsIds, Xt as getMetadataLocales, He as getMiradorCanvasWrapper, $e as getMiradorManifestWrapper, rb as getNestedOrigin, Ht as getNextCanvasGrouping, Bn as getNextSearchId, RS as getNextTourStep, Ei as getNodeIdToScrollTo, Lx as getOrderedJourneyPois, Rx as getPoiPoint, Mn as getPresentAnnotationsOnSelectedCanvases, jS as getPreviewAnnotationId, AS as getPreviewCompanionWindowId, fn as getPreviousCanvasGrouping, cn as getProviderLogo, im as getReducersFromPlugins, gn as getRequestsConfig, Ct as getRequiredStatement, Vn as getResourceAnnotationForSearchHit, Zn as getResourceAnnotationLabel, Wt as getRights, om as getSagasFromPlugins, Jn as getSearchAnnotationsForCompanionWindow, Un as getSearchAnnotationsForWindow, Hn as getSearchForWindow, In as getSearchIsFetching, nr as getSearchNumTotal, ar as getSearchQuery, Kn as getSelectedAnnotationId, Tn as getSelectedAnnotationsOnCanvases, Rn as getSelectedContentSearchAnnotationIds, Ge as getSequence, Ye as getSequenceBehaviors, je as getSequenceTreeStructure, Fe as getSequenceViewingDirection, Ve as getSequenceViewingHint, Qe as getSequences, _y as getSheetSnap, Sn as getShowZoomControlsConfig, sr as getSortedLayers, ir as getSortedSearchAnnotationsForCompanionWindow, Pn as getSortedSearchHitsForCompanionWindow, bt as getTheme, bn as getThemeDirection, tt as getThemeIds, Et as getThumbnailFactory, We as getThumbnailNavigationPosition, De as getThumbnailsConfig, LS as getTourSteps, ne as getViewer, wt as getVisibleCanvasAudioResources, Ot as getVisibleCanvasCaptions, Zt as getVisibleCanvasIds, Gt as getVisibleCanvasNonTiledResources, Nt as getVisibleCanvasTextResources, jt as getVisibleCanvasVideoResources, ht as getVisibleCanvases, Zx as getVisibleMapArea, Co as getVisibleNodeIds, y as getWindow, et as getWindowConfig, Ee as getWindowDraggability, ce as getWindowIds, pe as getWindowManifests, _n as getWindowTitles, nt as getWindowViewType, S as getWindows, ae as getWorkspace, Se as getWorkspaceType, Xa as handleDrop, cb as hasPendingParentViewport, uc as hideCollectionDialog, Qn as hoverAnnotation, Xi as htmlRules, Ua as importConfig, Qa as importMiradorState, H_ as infoResponsesReducer, Rt as isFocused, Fy as isInsideMap, nb as isNestedMap, ob as isRestoredSelection, Ks as journeyStopNumbers, Z_ as layersReducer, V_ as manifestsReducer, zS as mapInteractionPlugins, oc as maximizeWindow, Ax as mediaImageUrl, nc as minimizeWindow, E as miradorSlice, bb as nestedMapPlugins, Ny as notifyPanelClosed, gb as openNestedMap, by as openNextMinimised, MS as openPreview, IS as poiPreviewPlugins, hs as readImageMetadata, Yr as receiveAccessToken, di as receiveAccessTokenFailure, Wn as receiveAnnotation, Ln as receiveAnnotationFailure, Ll as receiveDegradedInfoResponse, Il as receiveInfoResponse, Rl as receiveInfoResponseFailure, Oa as receiveManifest, Ho as receiveManifestFailure, Bi as receiveSearch, Us as receiveSearchFailure, My as registerPanelCloseHandler, Ty as registerTourStepper, Ss as removeCompanionWindow, _s as removeError, Bl as removeInfoResponse, ss as removeManifest, Gr as removeResource, Er as removeSearch, lc as removeWindow, $o as requestAccessToken, Xn as requestAnnotation, $n as requestCanvasAnnotations, Fl as requestInfoResponse, Ra as requestManifest, Iy as requestPanelFocus, ia as requestSearch, si as resetAuthenticationState, Sy as resetSheet, ga as resolveAccessTokenRequest, fa as resolveAuthenticationRequest, Qy as resolveLinkedMapManifestId, ev as rootReducer, qv as rootSaga, vx as sanitizeDescription, X_ as searchesReducer, zn as selectAnnotation, Ke as selectCompanionWindowDimensions, Ds as selectCurrentAuthServices, hn as selectInfoResponse, xn as selectInfoResponses, _c as setCanvas, dc as setCompanionAreaOpen, qo as setConfig, $r as setContentSearchCurrentAnnotation, hc as setNextCanvas, fy as setPanelCollapsed, gc as setPreviousCanvas, vy as setSheetSnap, rc as setWindowThumbnailPosition, sc as setWindowViewType, ba as setWorkspaceAddVisibility, Ii as setWorkspaceViewportDimensions, _r as setWorkspaceViewportPosition, ue as settings, pc as showCollectionDialog, US as siteMapToolsPlugin, WS as siteMapToolsPlugins, KS as siteMapViewerConfig, En as sortSearchAnnotationsByCanvasOrder, Ey as stepTour, yx as textBody, qn as toggleAnnotationDisplay, qa as toggleDraggingEnabled, Ls as toggleNode, ic as toggleWindowSideBar, fs as toggleZoomControls, Na as updateCompanionWindow, No as updateConfig, ea as updateElasticWindowLayout, ri as updateLayers, mc as updateViewport, ac as updateWindow, Lo as updateWorkspace, ns as updateWorkspaceMosaicLayout, Ay as useMapClick, Oy as useMinimiseOnFirstInteraction, my as usePanelCollapsed, Ly as usePanelFocusRequest, PS as usePreviewPosition, lb as useRestoreParentViewport, Cy as useSheetSnap, ul as useTranslation, qp as validatePlugin, Zv as viewer, K_ as viewersReducer, B_ as windowsReducer, ee as withPlugins, dl as withTranslation, z_ as workspaceReducer, sS as zoomMapHalfwayToPoint };
11577
11618
 
11578
11619
  //# sourceMappingURL=mirador.es.js.map