@piveau/dpi 0.2.0-alpha.19 → 0.2.0-alpha.20

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.
Files changed (52) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +62 -56
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +4 -53
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +58 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +65 -53
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +60 -56
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +67 -79
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +17 -17
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +411 -318
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +1 -1
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +103 -71
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +88 -60
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +143 -126
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +32 -32
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +64 -48
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +46 -41
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +227 -208
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +124 -106
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +113 -108
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +1 -1
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +370 -360
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +464 -182
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +31 -26
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +183 -126
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +2 -2
  36. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +95 -89
  37. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +139 -122
  38. package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +618 -525
  39. package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +56 -55
  40. package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +94 -89
  41. package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +247 -238
  42. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +4 -4
  43. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +16 -17
  44. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +122 -104
  45. package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +249 -108
  46. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +332 -305
  47. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +89 -55
  48. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +243 -199
  49. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +24 -11
  50. package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +14 -12
  51. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +317 -288
  52. package/package.json +2 -2
@@ -1,122 +1,122 @@
1
- import { datasetResolvers as Z, defineJsonldResolver as ee, dcatDatasetTransformer as te } from "@piveau/jsonld";
2
- import { useAsyncState as re } from "@vueuse/core";
3
- import { isEmpty as ie } from "lodash-es";
4
- import { toRef as oe, ref as ae, toValue as F, computed as z, watch as K } from "vue";
5
- function M(e) {
1
+ import { datasetResolvers as ee, defineJsonldResolver as te, dcatDatasetTransformer as re } from "@piveau/jsonld";
2
+ import { useAsyncState as ie } from "@vueuse/core";
3
+ import { isEmpty as oe } from "lodash-es";
4
+ import { toRef as ae, ref as ne, toValue as z, computed as M, watch as O } from "vue";
5
+ function x(e) {
6
6
  return e == null ? [] : Array.isArray(e) ? e : [e];
7
7
  }
8
8
  function o(e) {
9
9
  if (e != null)
10
10
  return Array.isArray(e) ? e[0] : e;
11
11
  }
12
- function s(e) {
12
+ function f(e) {
13
13
  return Array.isArray(e) ? e : e ? [e] : void 0;
14
14
  }
15
- function ne(e) {
15
+ function ce(e) {
16
16
  return Object.fromEntries(
17
17
  Object.entries(e).filter(
18
- ([i, r]) => r != null && !ie(r)
18
+ ([t, i]) => i != null && !oe(i)
19
19
  )
20
20
  );
21
21
  }
22
- function De(e, i) {
23
- const { enabled: r, hubSearchUrl: t } = i, a = oe(r), R = [...Z()].filter((l) => l.name !== "licence"), { safeTransform: u } = ee({
24
- baseUrl: t,
25
- resolvers: R,
26
- transformer: te
27
- }), f = ae([]), {
28
- state: m,
29
- isReady: g,
30
- isLoading: b,
31
- error: L,
32
- execute: T
33
- } = re(
22
+ function De(e, t) {
23
+ const { enabled: i, hubSearchUrl: r } = t, n = ae(i), m = [...ee()].filter((u) => u.name !== "licence"), { safeTransform: s } = te({
24
+ baseUrl: r,
25
+ resolvers: m,
26
+ transformer: re
27
+ }), p = ne([]), {
28
+ state: g,
29
+ isReady: h,
30
+ isLoading: y,
31
+ error: B,
32
+ execute: D
33
+ } = ie(
34
34
  async () => {
35
- var A;
36
- if (!i.preprocess && !i.transform) {
37
- const n = await u(F(e));
38
- if (n.error)
39
- return f.value.push({
35
+ var P;
36
+ if (!t.preprocess && !t.transform) {
37
+ const c = await s(z(e));
38
+ if (c.error)
39
+ return p.value.push({
40
40
  code: "transform_failed",
41
- message: n.error.message
41
+ message: c.error.message
42
42
  }), null;
43
- const y = n.data;
44
- return (!y || !((A = y["dpi:isDPIv3"]) != null && A["@value"])) && f.value.push({
43
+ const l = c.data;
44
+ return (!l || !((P = l["dpi:isDPIv3"]) != null && P["@value"])) && p.value.push({
45
45
  code: "not_dpi_v3",
46
- message: `The dataset is not a DPI v3 dataset. ID ${y["@id"]}`
46
+ message: `The dataset is not a DPI v3 dataset. ID ${l["@id"]}`
47
47
  }), {
48
- dpiData: ge(y, i.visibility || "public"),
49
- data: y
48
+ dpiData: ye(l, t.visibility || "public"),
49
+ data: l
50
50
  };
51
51
  }
52
- let D;
53
- if (i.preprocess)
52
+ let v;
53
+ if (t.preprocess)
54
54
  try {
55
- const n = await i.preprocess(F(e));
56
- if (n && typeof n == "object" && "error" in n && n.error)
57
- return f.value.push({
55
+ const c = await t.preprocess(z(e));
56
+ if (c && typeof c == "object" && "error" in c && c.error)
57
+ return p.value.push({
58
58
  code: "preprocess_failed",
59
- message: n.error.message || "Preprocess failed"
59
+ message: c.error.message || "Preprocess failed"
60
60
  }), null;
61
- D = n && typeof n == "object" && "data" in n ? n.data : n;
62
- } catch (n) {
63
- return f.value.push({
61
+ v = c && typeof c == "object" && "data" in c ? c.data : c;
62
+ } catch (c) {
63
+ return p.value.push({
64
64
  code: "preprocess_failed",
65
- message: (n == null ? void 0 : n.message) || String(n)
65
+ message: (c == null ? void 0 : c.message) || String(c)
66
66
  }), null;
67
67
  }
68
68
  else
69
- D = F(e);
70
- if (!i.transform)
71
- return f.value.push({
69
+ v = z(e);
70
+ if (!t.transform)
71
+ return p.value.push({
72
72
  code: "missing_transform",
73
73
  message: "No transform function provided. Either supply a transform or omit both preprocess and transform to use the default DCAT dataset path."
74
74
  }), null;
75
- let P;
75
+ let T;
76
76
  try {
77
- const n = i.preprocess ? D : F(e);
78
- P = await i.transform(n);
79
- } catch (n) {
80
- return f.value.push({
77
+ const c = t.preprocess ? v : z(e);
78
+ T = await t.transform(c);
79
+ } catch (c) {
80
+ return p.value.push({
81
81
  code: "transform_apply_failed",
82
- message: (n == null ? void 0 : n.message) || String(n)
82
+ message: (c == null ? void 0 : c.message) || String(c)
83
83
  }), null;
84
84
  }
85
85
  return {
86
- dpiData: P,
87
- data: D
86
+ dpiData: T,
87
+ data: v
88
88
  };
89
89
  },
90
90
  null,
91
91
  { immediate: !1 }
92
- ), v = z(
93
- () => a.value && !b.value && !!g.value
94
- ), B = z(
95
- () => a.value && !!v.value
96
- ), I = z(() => B.value), S = z(() => {
97
- var l;
98
- return (l = m.value) == null ? void 0 : l.dpiData;
99
- }), V = z(() => {
100
- var l;
101
- return (l = m.value) == null ? void 0 : l.data;
92
+ ), R = M(
93
+ () => n.value && !y.value && !!h.value
94
+ ), L = M(
95
+ () => n.value && !!R.value
96
+ ), A = M(() => L.value), I = M(() => {
97
+ var u;
98
+ return (u = g.value) == null ? void 0 : u.dpiData;
99
+ }), U = M(() => {
100
+ var u;
101
+ return (u = g.value) == null ? void 0 : u.data;
102
102
  });
103
- return K(
104
- () => F(e),
105
- (l) => l && a.value ? T() : null
106
- ), K(V, (l) => {
107
- console.log("jsonld resolved result:", l);
108
- }), K(L, (l) => {
109
- console.log("jsonld error:", l);
103
+ return O(
104
+ () => z(e),
105
+ (u) => u && n.value ? D() : null
106
+ ), O(U, (u) => {
107
+ console.log("jsonld resolved result:", u);
108
+ }), O(B, (u) => {
109
+ console.log("jsonld error:", u);
110
110
  }), {
111
- processedInput: m,
112
- isProcessedInputReady: v,
113
- result: S,
114
- isMaterialized: B,
115
- isReady: I,
116
- errors: f
111
+ processedInput: g,
112
+ isProcessedInputReady: R,
113
+ result: I,
114
+ isMaterialized: L,
115
+ isReady: A,
116
+ errors: p
117
117
  };
118
118
  }
119
- function p(e) {
119
+ function b(e) {
120
120
  if (typeof e == "string")
121
121
  return e;
122
122
  if (e && typeof e == "object") {
@@ -127,133 +127,133 @@ function p(e) {
127
127
  }
128
128
  return "";
129
129
  }
130
- function d(e, i = "de") {
130
+ function d(e, t = "de") {
131
131
  if (!e)
132
132
  return "";
133
133
  if (typeof e == "string")
134
134
  return e;
135
135
  if (typeof e == "object" && !Array.isArray(e) && !e["@value"] && !e["@id"])
136
- return e[i] || Object.values(e)[0] || "";
136
+ return e[t] || Object.values(e)[0] || "";
137
137
  if (Array.isArray(e)) {
138
- const r = e.find(
139
- (a) => a["@language"] === i
138
+ const i = e.find(
139
+ (n) => n["@language"] === t
140
140
  );
141
- if (r)
142
- return r["@value"] || "";
143
- const t = e[0];
144
- return (t == null ? void 0 : t["@value"]) || p(t) || "";
141
+ if (i)
142
+ return i["@value"] || "";
143
+ const r = e[0];
144
+ return (r == null ? void 0 : r["@value"]) || b(r) || "";
145
145
  }
146
- return e["@language"] && e["@value"] ? e["@value"] : p(e);
146
+ return e["@language"] && e["@value"] ? e["@value"] : b(e);
147
147
  }
148
- function E(e) {
148
+ function G(e) {
149
149
  return {
150
150
  uri: e.uri,
151
151
  label: e.label
152
152
  };
153
153
  }
154
- function x(e, i) {
155
- const r = e.prefLabel;
156
- return E({
154
+ function V(e, t) {
155
+ const i = e.prefLabel;
156
+ return G({
157
157
  uri: e["@id"] || e["purl:identifier"] || "",
158
- "@value": r ? d(r) : e["purl:identifier"] || ""
158
+ "@value": i ? d(i) : e["purl:identifier"] || ""
159
159
  });
160
160
  }
161
- function N(e) {
161
+ function H(e) {
162
162
  return typeof e == "string" ? {
163
163
  "@value": e
164
164
  } : e;
165
165
  }
166
- function U(e, i = !0) {
166
+ function _(e, t = !0) {
167
167
  return {
168
- isValid: i,
168
+ isValid: t,
169
169
  ...e
170
170
  };
171
171
  }
172
- function H(e, i = "de") {
173
- return e ? M(e).map((t) => typeof t == "string" ? U({
174
- "@value": t,
175
- "@language": i
176
- }) : t && typeof t == "object" ? t["@language"] && t["@value"] ? U({
177
- "@value": t["@value"],
178
- "@language": t["@language"]
179
- }) : U({
180
- "@value": p(t),
181
- "@language": i
182
- }) : U({
172
+ function X(e, t = "de") {
173
+ return e ? x(e).map((r) => typeof r == "string" ? _({
174
+ "@value": r,
175
+ "@language": t
176
+ }) : r && typeof r == "object" ? r["@language"] && r["@value"] ? _({
177
+ "@value": r["@value"],
178
+ "@language": r["@language"]
179
+ }) : _({
180
+ "@value": b(r),
181
+ "@language": t
182
+ }) : _({
183
183
  "@value": "",
184
- "@language": i
184
+ "@language": t
185
185
  })) : [];
186
186
  }
187
- function ce(e, i) {
188
- return e ? M(e).map(
189
- (t) => U({
190
- "@type": i,
191
- "@value": p(t)
187
+ function de(e, t) {
188
+ return e ? x(e).map(
189
+ (r) => _({
190
+ "@type": t,
191
+ "@value": b(r)
192
192
  })
193
193
  ) : [];
194
194
  }
195
- function X(e, i) {
196
- const r = { isValid: !0 };
197
- for (const [t, a] of Object.entries(i))
198
- r[t] = p(e == null ? void 0 : e[a]);
199
- return r;
195
+ function Y(e, t) {
196
+ const i = { isValid: !0 };
197
+ for (const [r, n] of Object.entries(t))
198
+ i[r] = b(e == null ? void 0 : e[n]);
199
+ return i;
200
200
  }
201
- function de(e) {
201
+ function le(e) {
202
202
  return {
203
203
  happyFlowLandingPage: {}
204
204
  };
205
205
  }
206
- function le(e, i) {
207
- const r = {
206
+ function se(e, t) {
207
+ const i = {
208
208
  discoverabilityPage: [{ isValid: !0 }]
209
209
  };
210
210
  if (e["dcatap:hvdCategory"]) {
211
- const t = M(e["dcatap:hvdCategory"]).filter(Boolean);
212
- r.hvdPage = t == null ? void 0 : t.map((a) => ({
211
+ const r = x(e["dcatap:hvdCategory"]).filter(Boolean);
212
+ i.hvdPage = r == null ? void 0 : r.map((n) => ({
213
213
  isValid: !0,
214
- uri: a["@id"],
215
- label: d(a.prefLabel)
214
+ uri: n["@id"],
215
+ label: d(n.prefLabel)
216
216
  }));
217
217
  }
218
218
  if (e["dcat:theme"]) {
219
- const t = M(e["dcat:theme"]);
220
- r.discoverabilityPage = [
219
+ const r = x(e["dcat:theme"]);
220
+ i.discoverabilityPage = [
221
221
  { isValid: !0 },
222
- ...t.map(
223
- (a) => U({
224
- id: p(a).split("/").pop(),
225
- uri: p(a),
226
- label: d(a.prefLabel)
222
+ ...r.map(
223
+ (n) => _({
224
+ id: b(n).split("/").pop(),
225
+ uri: b(n),
226
+ label: d(n.prefLabel)
227
227
  })
228
228
  )
229
229
  ];
230
230
  }
231
- return i && (r.visibilityPage = [
231
+ return t && (i.visibilityPage = [
232
232
  {
233
233
  isValid: !0,
234
- visibility: i
234
+ visibility: t
235
235
  }
236
- ]), r;
236
+ ]), i;
237
237
  }
238
- function se(e) {
239
- var t;
240
- const r = {
241
- datasetID: ((t = e["@id"]) == null ? void 0 : t.split("/").pop()) || "",
238
+ function ue(e) {
239
+ var r;
240
+ const i = {
241
+ datasetID: ((r = e["@id"]) == null ? void 0 : r.split("/").pop()) || "",
242
242
  "dct:title": [],
243
243
  "dct:description": [],
244
244
  "dct:modified": [""],
245
245
  "dct:publisher": [],
246
246
  "dcat:contactPoint": []
247
247
  };
248
- if (e["dct:title"] && (r["dct:title"] = H(e["dct:title"])), e["dct:description"] && (r["dct:description"] = H(
248
+ if (e["dct:title"] && (i["dct:title"] = X(e["dct:title"])), e["dct:description"] && (i["dct:description"] = X(
249
249
  e["dct:description"]
250
- )), e["dct:modified"] && (r["dct:modified"] = ce(
250
+ )), e["dct:modified"] && (i["dct:modified"] = de(
251
251
  e["dct:modified"],
252
252
  "http://www.w3.org/2001/XMLSchema#date"
253
253
  )), e["dct:publisher"]) {
254
- const a = o(e["dct:publisher"]);
255
- r["dct:publisher"] = [
256
- X(a, {
254
+ const n = o(e["dct:publisher"]);
255
+ i["dct:publisher"] = [
256
+ Y(n, {
257
257
  "foaf:name": "foaf:name",
258
258
  "foaf:mbox": "foaf:mbox",
259
259
  "foaf:homepage": "foaf:homepage"
@@ -261,23 +261,23 @@ function se(e) {
261
261
  ];
262
262
  }
263
263
  if (e["dcat:contactPoint"]) {
264
- const a = o(e["dcat:contactPoint"]);
265
- r["dcat:contactPoint"] = [
266
- X(a, {
264
+ const n = o(e["dcat:contactPoint"]);
265
+ i["dcat:contactPoint"] = [
266
+ Y(n, {
267
267
  "vcard:fn": "vcard:fn",
268
268
  "vcard:hasEmail": "vcard:hasEmail",
269
269
  "vcard:hasTelephone": "vcard:hasTelephone"
270
270
  })
271
271
  ];
272
272
  }
273
- return r;
273
+ return i;
274
274
  }
275
- function ue(e) {
276
- var i, r;
275
+ function fe(e) {
276
+ var t, i;
277
277
  return {
278
- "dcatde:politicalGeocodingURI": (i = e["dcatapde:politicalGeocodingURI"]) == null ? void 0 : i.map((t) => {
279
- var f;
280
- const R = {
278
+ "dcatde:politicalGeocodingURI": (t = e["dcatapde:politicalGeocodingURI"]) == null ? void 0 : t.map((r) => {
279
+ var p;
280
+ const m = {
281
281
  districtKey: "Kreis",
282
282
  governmentDistrictKey: "Bezirk",
283
283
  municipalityKey: "Gemeindeschlüssel",
@@ -285,241 +285,268 @@ function ue(e) {
285
285
  stateKey: "Bundesland",
286
286
  regionalKey: "Regionalschlüssel"
287
287
  };
288
- let u = t["@id"].split("/").slice(-2, -1)[0];
289
- return u = R[u] || u, {
288
+ let s = r["@id"].split("/").slice(-2, -1)[0];
289
+ return s = m[s] || s, {
290
290
  isValid: !0,
291
- uri: t["@id"],
292
- id: ((f = t.prefLabel) == null ? void 0 : f.de) || t["@id"].split("/").pop(),
293
- label: d(t.altLabel),
294
- inVoc: u
291
+ uri: r["@id"],
292
+ id: ((p = r.prefLabel) == null ? void 0 : p.de) || r["@id"].split("/").pop(),
293
+ label: d(r.altLabel),
294
+ inVoc: s
295
295
  };
296
296
  }),
297
- "dcat:temporalResolution": (r = e["dct:temporal"]) == null ? void 0 : r.reduce((t, a) => {
298
- const u = o(a["dcat:startDate"]), f = o(a["dcat:endDate"]), m = p(u) || "", g = p(f) || "", b = typeof u != "string" && (u == null ? void 0 : u["@type"]) === "http://www.w3.org/2001/XMLSchema#dateTime" ? "dateTime" : "date", L = b === "date" ? m : m.split("T")[0], T = b === "date" ? g : g.split("T")[0], v = b === "dateTime" ? m.split("T")[1] : "", B = b === "dateTime" ? g.split("T")[1] : "";
297
+ "dcat:temporalResolution": (i = e["dct:temporal"]) == null ? void 0 : i.reduce((r, n) => {
298
+ const s = o(n["dcat:startDate"]), p = o(n["dcat:endDate"]), g = b(s) || "", h = b(p) || "", y = typeof s != "string" && (s == null ? void 0 : s["@type"]) === "http://www.w3.org/2001/XMLSchema#dateTime" ? "dateTime" : "date", B = y === "date" ? g : g.split("T")[0], D = y === "date" ? h : h.split("T")[0], R = y === "dateTime" ? g.split("T")[1] : "", L = y === "dateTime" ? h.split("T")[1] : "";
299
299
  return {
300
300
  isValid: !0,
301
301
  type: "dct:PeriodOfTime",
302
302
  "dct:temporal": [
303
303
  {
304
- dataType: b,
305
- "dcat:startDate": L,
306
- "dcat:endDate": T,
307
- startTime: v || "",
308
- endTime: B || ""
304
+ dataType: y,
305
+ "dcat:startDate": B,
306
+ "dcat:endDate": D,
307
+ startTime: R || "",
308
+ endTime: L || ""
309
309
  }
310
310
  ]
311
311
  };
312
312
  }, {})
313
313
  };
314
314
  }
315
- function fe(e, i) {
316
- var t, a, R, u, f, m, g, b, L, T, v, B, I, S, V, l, D, P, A, n, y;
317
- if (!e)
318
- return {};
319
- const r = o(e["spdx:checksum"]);
320
- return {
315
+ function pe(e, t) {
316
+ var i, r, n, m, s, p, g, h, y, B, D, R, L, A, I, U, u, v, T, P, c;
317
+ return e ? (o(e["spdx:checksum"]), {
321
318
  isValid: !0,
322
- id: i + 1,
323
- "dcat:accessURL": p(o(e["dcat:accessURL"])) || "",
319
+ id: t + 1,
320
+ "dcat:accessURL": b(o(e["dcat:accessURL"])) || "",
321
+ "dcat:downloadURL": ((i = e["dcat:downloadURL"]) == null ? void 0 : i.map((l) => ({
322
+ "@id": b(l)
323
+ }))) || [{ "@id": "" }],
324
324
  "dct:format": {
325
325
  // redundancy in label and title for better compatibility
326
- label: ((t = o(e["dct:format"])) == null ? void 0 : t["purl:identifier"]) || "",
327
- title: ((a = o(e["dct:format"])) == null ? void 0 : a["purl:identifier"]) || "",
328
- uri: ((R = o(e["dct:format"])) == null ? void 0 : R["@id"]) || ""
326
+ label: ((r = o(e["dct:format"])) == null ? void 0 : r["purl:identifier"]) || "",
327
+ title: ((n = o(e["dct:format"])) == null ? void 0 : n["purl:identifier"]) || "",
328
+ uri: ((m = o(e["dct:format"])) == null ? void 0 : m["@id"]) || ""
329
329
  },
330
330
  "dct:title": d(e["dct:title"]),
331
331
  "dct:description": d(e["dct:description"]),
332
- "dct:modified": p(o(e["dct:modified"])),
333
- "dct:issued": p(o(e["dct:issued"])),
334
- "dcat:byteSize": p(o(e["dcat:byteSize"])),
332
+ "dct:modified": b(o(e["dct:modified"])),
333
+ "dct:issued": b(o(e["dct:issued"])),
334
+ "dcat:byteSize": b(o(e["dcat:byteSize"])),
335
335
  "dcatde:licenseAttributionByText": d(e["dcatapde:licenseAttributionByText"]) || "",
336
- "dct:license": e["dct:license"] ? [{
336
+ "dct:license": e["dct:license"] ? {
337
337
  isValid: !0,
338
- uri: ((u = o(e["dct:license"])) == null ? void 0 : u["@id"]) || "",
339
- "dcterms:license": d((f = o(e["dct:license"])) == null ? void 0 : f.altLabel) || "",
340
- label: d((m = o(e["dct:license"])) == null ? void 0 : m.prefLabel) || "",
341
- title: d((g = o(e["dct:license"])) == null ? void 0 : g.prefLabel) || ""
342
- }] : [],
343
- "dct:accessRights": p(o(e["dct:accessRights"])),
338
+ uri: ((s = o(e["dct:license"])) == null ? void 0 : s["@id"]) || "",
339
+ "dcterms:license": d(
340
+ (p = o(e["dct:license"])) == null ? void 0 : p.altLabel
341
+ ) || "",
342
+ label: d(
343
+ (g = o(e["dct:license"])) == null ? void 0 : g.prefLabel
344
+ ) || "",
345
+ title: d(e["dcatapde:licenseAttributionByText"]) || ""
346
+ } : {},
347
+ "dct:accessRights": e["dct:accessRights"] ? o(V(e["dct:accessRights"])) : [],
344
348
  "dcatap:availability": {
345
349
  // Redundant label and title for better compatibility
346
- label: ((b = o(e["dcatap:availability"])) == null ? void 0 : b.prefLabel) || "",
347
- title: ((L = o(e["dcatap:availability"])) == null ? void 0 : L.prefLabel) || "",
348
- uri: ((T = o(e["dcatap:availability"])) == null ? void 0 : T["@id"]) || ""
350
+ label: ((h = o(e["dcatap:availability"])) == null ? void 0 : h.prefLabel) || "",
351
+ title: ((y = o(e["dcatap:availability"])) == null ? void 0 : y.prefLabel) || "",
352
+ uri: ((B = o(e["dcatap:availability"])) == null ? void 0 : B["@id"]) || ""
349
353
  },
350
- "dct:language": ((v = e["dct:language"]) == null ? void 0 : v.map((h) => x(h)).filter(Boolean)) || [],
351
- "dcat:mediaType": E({
354
+ "dct:language": ((D = e["dct:language"]) == null ? void 0 : D.map((l) => V(l)).filter(Boolean)) || [],
355
+ "dcat:mediaType": G({
352
356
  label: d(
353
- (B = o(e["dcat:mediaType"])) == null ? void 0 : B.prefLabel
357
+ (R = o(e["dcat:mediaType"])) == null ? void 0 : R.prefLabel
354
358
  ) || "",
355
- uri: ((I = o(e["dcat:mediaType"])) == null ? void 0 : I["@id"]) || ""
359
+ uri: ((L = o(e["dcat:mediaType"])) == null ? void 0 : L["@id"]) || ""
356
360
  }),
357
- "dcat:compressFormat": E({
361
+ "dcat:compressFormat": G({
358
362
  label: d(
359
- (S = o(e["dcat:compressFormat"])) == null ? void 0 : S.prefLabel
363
+ (A = o(e["dcat:compressFormat"])) == null ? void 0 : A.prefLabel
360
364
  ) || "",
361
- uri: ((V = o(e["dcat:compressFormat"])) == null ? void 0 : V["@id"]) || ""
365
+ uri: ((I = o(e["dcat:compressFormat"])) == null ? void 0 : I["@id"]) || ""
362
366
  }),
363
- "dcat:packageFormat": E({
367
+ "dcat:packageFormat": G({
364
368
  label: d(
365
- (l = o(e["dcat:packageFormat"])) == null ? void 0 : l.prefLabel
369
+ (U = o(e["dcat:packageFormat"])) == null ? void 0 : U.prefLabel
366
370
  ) || "",
367
- uri: ((D = o(e["dcat:packageFormat"])) == null ? void 0 : D["@id"]) || ""
371
+ uri: ((u = o(e["dcat:packageFormat"])) == null ? void 0 : u["@id"]) || ""
368
372
  }),
369
- "adms:status": ((P = o(e["adms:status"])) == null ? void 0 : P["@id"]) || "",
370
- checksum: {
371
- title: p(o(r == null ? void 0 : r["spdx:checksumValue"])),
372
- "spdx:checksum": ((A = p(o(r == null ? void 0 : r["spdx:algorithm"]))) == null ? void 0 : A.split("_").pop()) || "",
373
- uri: (n = p(
374
- o(r == null ? void 0 : r["spdx:algorithm"])
375
- )) == null ? void 0 : n.replace("spdx:", "http://spdx.org/rdf/terms#")
373
+ "adms:status": {
374
+ uri: ((v = o(e["adms:status"])) == null ? void 0 : v["@id"]) || "",
375
+ "@value": d((T = o(e["adms:status"])) == null ? void 0 : T.prefLabel) || ""
376
376
  },
377
- accessServices: ye(e["dcat:accessService"] || []),
378
- conformsToItems: (y = e["dct:conformsTo"]) == null ? void 0 : y.map((h, j) => ({
377
+ accessServices: he(e["dcat:accessService"] || []),
378
+ conformsToItems: (P = e["dct:conformsTo"]) == null ? void 0 : P.map((l, S) => ({
379
379
  // for some reason dct:conformsTo is different from the one on dcat:dataset level
380
- id: j + 1,
381
- "dcat:accessURL": h["@id"],
382
- "dct:title": d(h["rdfs:label"]) || "",
383
- "dcat:downloadURL": h["@id"],
380
+ id: S + 1,
381
+ "dcat:accessURL": l["@id"],
382
+ "dct:title": d(l["rdfs:label"]) || "",
383
+ "dcat:downloadURL": l["@id"],
384
384
  // redundancy to match properties on dcat:dataset level
385
- "rdfs:label": d(h["rdfs:label"]) || "",
386
- uri: h["@id"]
387
- })).filter(Boolean)
388
- };
385
+ "rdfs:label": d(l["rdfs:label"]) || "",
386
+ uri: l["@id"]
387
+ })).filter(Boolean),
388
+ policyItems: ((c = e["odrl:hasPolicy"]) == null ? void 0 : c.map((l, S) => ({
389
+ // don't ask
390
+ id: S + 1,
391
+ "dcat:downloadURL": l["@id"],
392
+ "dcat:accessURL": l["@id"]
393
+ }))) || [{ id: 1, "dcat:downloadURL": "", "dcat:accessURL": "" }]
394
+ }) : {};
389
395
  }
390
- function pe(e) {
391
- const i = {
396
+ function me(e) {
397
+ var i, r;
398
+ const t = {
392
399
  "dcat:distribution": []
393
400
  };
394
- if (e["dcat:distribution"]) {
395
- const r = M(e["dcat:distribution"]);
396
- i["dcat:distribution"] = r.map((t, a) => fe(t, a)).filter((t) => Object.keys(t).length > 0);
401
+ if (t["dct:license"] = [(r = (i = t["dcat:distribution"]) == null ? void 0 : i[0]) == null ? void 0 : r["dct:license"]], e["dcat:distribution"]) {
402
+ const n = x(e["dcat:distribution"]);
403
+ t["dcat:distribution"] = n.map((m, s) => pe(m, s)).filter((m) => Object.keys(m).length > 0);
397
404
  }
398
- return console.log(i), i;
405
+ return console.log(t), t;
399
406
  }
400
- function me(e) {
407
+ function be(e) {
401
408
  return {
402
409
  reviewAndPublishPage: [{ isValid: !0 }]
403
410
  };
404
411
  }
405
- function be(e) {
406
- var r, t, a, R, u, f, m, g, b, L, T, v, B, I, S, V, l, D, P, A, n, y, h, j, C, G, q;
407
- const i = {
408
- "dct:language": (r = e["dct:language"]) == null ? void 0 : r.map((c) => x(c)).filter(Boolean),
409
- "dct:conformsTo": (t = e["dct:conformsTo"]) == null ? void 0 : t.map((c) => ({
410
- "rdfs:label": d(c["rdfs:label"]) || "",
411
- "@id": c["@id"]
412
+ function ge(e) {
413
+ var i, r, n, m, s, p, g, h, y, B, D, R, L, A, I, U, u, v, T, P, c, l, S, E, K, C, q, N;
414
+ const t = {
415
+ "dct:language": (i = e["dct:language"]) == null ? void 0 : i.map((a) => V(a)).filter(Boolean),
416
+ "dcatde:politicalGeocodingLevelURI": (r = e["dcatapde:politicalGeocodingLevelURI"]) == null ? void 0 : r.map((a) => ({
417
+ uri: a["@id"],
418
+ "@value": d(a.prefLabel)
419
+ })),
420
+ "dct:conformsTo": (n = e["dct:conformsTo"]) == null ? void 0 : n.map((a) => ({
421
+ "rdfs:label": d(a["rdfs:label"]) || "",
422
+ "@id": a["@id"]
412
423
  })).filter(Boolean),
413
- "dct:accessRights": e["dct:accessRights"] ? s(x(e["dct:accessRights"])) : [],
414
- "dct:provenance": (a = e["dct:provenance"]) == null ? void 0 : a.map((c) => ({
415
- "rdfs:label": d(c["rdfs:label"]) || "",
416
- uri: c["@id"]
424
+ "dct:accessRights": e["dct:accessRights"] ? f(V(e["dct:accessRights"])) : [],
425
+ "dct:issued": x(e["dct:issued"]),
426
+ "dct:provenance": (m = e["dct:provenance"]) == null ? void 0 : m.map((a) => ({
427
+ "rdfs:label": d(a["rdfs:label"]) || "",
428
+ uri: a["@id"]
417
429
  })).filter(Boolean),
418
- "dct:accrualPeriodicity": e["dct:accrualPeriodicity"] ? s(x(e["dct:accrualPeriodicity"])) : [],
419
- "dct:type": (R = e["dct:type"]) == null ? void 0 : R.map((c) => x(c)).filter(Boolean),
420
- "dcat:spatialResolutionInMeters": ((u = e["dcat:spatialResolutionInMeters"]) == null ? void 0 : u.map(N)) || void 0,
421
- "dcat:temporalResolution": e["dcat:temporalResolution"] ? e["dcat:temporalResolution"].map(N).map((c) => {
422
- const _ = c["@value"].match(/^P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/);
423
- if (_) {
424
- const [, O, k, Y, $, J, Q] = _.map((W) => W || "0");
425
- return { Year: O, Month: k, Day: Y, Hour: $, Minute: J, Second: Q };
430
+ "dct:accrualPeriodicity": e["dct:accrualPeriodicity"] ? f(V(e["dct:accrualPeriodicity"])) : [],
431
+ "dct:type": (s = e["dct:type"]) == null ? void 0 : s.map((a) => V(a)).filter(Boolean),
432
+ "dcat:spatialResolutionInMeters": ((p = e["dcat:spatialResolutionInMeters"]) == null ? void 0 : p.map(H)) || void 0,
433
+ "dcat:temporalResolution": e["dcat:temporalResolution"] ? e["dcat:temporalResolution"].map(H).map((a) => {
434
+ const F = a["@value"].match(
435
+ /^P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/
436
+ );
437
+ if (F) {
438
+ const [, j, k, $, J, W, Q] = F.map(
439
+ (Z) => Z || "0"
440
+ );
441
+ return [
442
+ { Year: j },
443
+ { Month: k },
444
+ { Day: $ },
445
+ { Hour: J },
446
+ { Minute: W },
447
+ { Second: Q }
448
+ ];
426
449
  }
427
- }).filter(Boolean) : void 0,
428
- "dcat:qualifiedRelation": (f = s(
450
+ }).filter(Boolean).flat() : void 0,
451
+ "dcat:qualifiedRelation": (g = f(
429
452
  e["dcat:qualifiedRelation"]
430
- )) == null ? void 0 : f.filter(Boolean),
431
- "dct:creator": (m = s(e["dct:creator"])) == null ? void 0 : m.filter(Boolean),
432
- "dct:contributor": (g = s(e["dct:contributor"])) == null ? void 0 : g.filter(Boolean),
433
- "dcatde:contributorID": (b = e["dcatapde:contributorID"]) == null ? void 0 : b.map((c) => x(c)).filter(Boolean),
434
- "dcatde:geocodingDescription": (L = s(
453
+ )) == null ? void 0 : g.filter(Boolean),
454
+ "dct:creator": (h = f(e["dct:creator"])) == null ? void 0 : h.filter(Boolean),
455
+ "dct:contributor": (y = f(e["dct:contributor"])) == null ? void 0 : y.filter(Boolean),
456
+ "dcatde:contributorID": (B = e["dcatapde:contributorID"]) == null ? void 0 : B.map((a) => V(a)).filter(Boolean),
457
+ "dcatde:geocodingDescription": (D = f(
435
458
  e["dcatapde:geocodingDescription"]
436
- )) == null ? void 0 : L.filter(Boolean),
437
- "dct:identifier": (T = e["dct:identifier"]) == null ? void 0 : T.map((c) => ({
438
- "@value": c
459
+ )) == null ? void 0 : D.filter(Boolean),
460
+ "dct:identifier": (R = e["dct:identifier"]) == null ? void 0 : R.map((a) => ({
461
+ "@value": a
439
462
  })),
440
- "adms:identifier": (v = s(e["adms:identifier"])) == null ? void 0 : v.filter(Boolean),
441
- "owl:versionInfo": (B = e["owl:versionInfo"]) == null ? void 0 : B.map((c) => ({
442
- "@value": c
463
+ "adms:identifier": (L = f(e["adms:identifier"])) == null ? void 0 : L.filter(Boolean),
464
+ "owl:versionInfo": (A = e["owl:versionInfo"]) == null ? void 0 : A.map((a) => ({
465
+ "@value": a
443
466
  })),
444
467
  "adms:versionNotes": e["adms:versionNotes"],
445
- "dcatde:legalBasis": (I = s(e["dcatapde:legalBasis"])) == null ? void 0 : I.filter(
468
+ "dcatde:legalBasis": (I = f(e["dcatapde:legalBasis"])) == null ? void 0 : I.filter(
446
469
  Boolean
447
470
  ),
448
- "dct:relation": (S = s(e["dct:relation"])) == null ? void 0 : S.filter(Boolean),
449
- "dcat:landingPage": (V = s(e["dcat:landingPage"])) == null ? void 0 : V.filter(
471
+ "dct:relation": (U = f(e["dct:relation"])) == null ? void 0 : U.filter(Boolean),
472
+ "dcat:landingPage": (u = f(e["dcat:landingPage"])) == null ? void 0 : u.filter(
450
473
  Boolean
451
474
  ),
452
- "prov:wasGeneratedBy": (l = s(e["prov:wasGeneratedBy"])) == null ? void 0 : l.filter(
475
+ "prov:wasGeneratedBy": (v = f(e["prov:wasGeneratedBy"])) == null ? void 0 : v.filter(
453
476
  Boolean
454
477
  ),
455
- "dct:isReferencedBy": (D = s(e["dct:isReferencedBy"])) == null ? void 0 : D.filter(
478
+ "dct:isReferencedBy": (T = f(e["dct:isReferencedBy"])) == null ? void 0 : T.filter(
456
479
  Boolean
457
480
  ),
458
- "dct:source": (P = s(e["dct:source"])) == null ? void 0 : P.filter(Boolean),
459
- "dct:hasVersion": (A = s(e["dct:hasVersion"])) == null ? void 0 : A.filter(Boolean),
460
- "dct:isVersionOf": (n = s(e["dct:isVersionOf"])) == null ? void 0 : n.filter(Boolean),
461
- "prov:qualifiedAttribution": (y = s(
481
+ "dct:source": (P = f(e["dct:source"])) == null ? void 0 : P.filter(Boolean),
482
+ "dct:hasVersion": (c = f(e["dct:hasVersion"])) == null ? void 0 : c.filter(Boolean),
483
+ "dct:isVersionOf": (l = f(e["dct:isVersionOf"])) == null ? void 0 : l.filter(Boolean),
484
+ "prov:qualifiedAttribution": (S = f(
462
485
  e["prov:qualifiedAttribution"]
463
- )) == null ? void 0 : y.filter(Boolean),
464
- "dcat:keyword": (h = s(e["dcat:keyword"])) == null ? void 0 : h.filter(Boolean),
465
- "dct:spatial": (j = s(e["dct:spatial"])) == null ? void 0 : j.filter(Boolean),
466
- "dct:references": (C = s(e["dct:references"])) == null ? void 0 : C.filter(Boolean),
467
- "foaf:page": (G = s(e["foaf:page"])) == null ? void 0 : G.filter(Boolean).map((c) => {
468
- if (!c)
486
+ )) == null ? void 0 : S.filter(Boolean),
487
+ "dcat:keyword": (E = f(e["dcat:keyword"])) == null ? void 0 : E.filter(Boolean),
488
+ "dct:spatial": (K = f(e["dct:spatial"])) == null ? void 0 : K.filter((a) => a ? !a["@id"].startsWith(
489
+ "http://dcat-ap.de/def/politicalGeocoding/"
490
+ ) : !1).filter(Boolean),
491
+ "dct:references": (C = f(e["dct:references"])) == null ? void 0 : C.filter(Boolean),
492
+ "foaf:page": (q = f(e["foaf:page"])) == null ? void 0 : q.filter(Boolean).map((a) => {
493
+ if (!a)
469
494
  return;
470
- const w = o(c["dct:format"]);
495
+ const w = o(a["dct:format"]);
471
496
  return {
472
- "dct:title": o(c["dct:title"]),
473
- "dct:description": o(c["dct:description"]),
497
+ "dct:title": o(a["dct:title"]),
498
+ "dct:description": o(a["dct:description"]),
474
499
  "@value": w ? d(w.prefLabel) : "",
475
500
  uri: w ? w["@id"] : "",
476
- "foaf:homepage": o(c["foaf:homepage"]) || ""
501
+ "foaf:homepage": o(a["foaf:homepage"]) || ""
477
502
  };
478
503
  }),
479
- "dcatap:availability": (q = e["dcatap:availability"]) == null ? void 0 : q.map((c) => {
480
- var w, _, O, k;
481
- return {
482
- // Redundant label and title for better compatibility
483
- label: ((w = o(c)) == null ? void 0 : w.prefLabel) || "",
484
- title: ((_ = o(c)) == null ? void 0 : _.prefLabel) || "",
485
- uri: ((O = o(c)) == null ? void 0 : O["@id"]) || "",
486
- "@value": d((k = o(c)) == null ? void 0 : k.prefLabel) || ""
487
- };
488
- })
504
+ "dcatap:availability": (N = e["dcatap:availability"]) == null ? void 0 : N.map(
505
+ (a) => {
506
+ var w, F, j, k;
507
+ return {
508
+ // Redundant label and title for better compatibility
509
+ label: ((w = o(a)) == null ? void 0 : w.prefLabel) || "",
510
+ title: ((F = o(a)) == null ? void 0 : F.prefLabel) || "",
511
+ uri: ((j = o(a)) == null ? void 0 : j["@id"]) || "",
512
+ "@value": d((k = o(a)) == null ? void 0 : k.prefLabel) || ""
513
+ };
514
+ }
515
+ )
489
516
  };
490
- return ne(i);
517
+ return ce(t);
491
518
  }
492
- function ge(e, i) {
519
+ function ye(e, t) {
493
520
  return {
494
- Landing: de(),
495
- Discoverability: le(e, i),
496
- BasicInfos: se(e),
497
- Covering: ue(e),
498
- DistributionSimple: pe(e),
499
- ReviewAndPublish: me(),
500
- Additionals: be(e)
521
+ Landing: le(),
522
+ Discoverability: se(e, t),
523
+ BasicInfos: ue(e),
524
+ Covering: fe(e),
525
+ DistributionSimple: me(e),
526
+ ReviewAndPublish: be(),
527
+ Additionals: ge(e)
501
528
  };
502
529
  }
503
- function ye(e) {
504
- return !e || !Array.isArray(e) || e.length === 0 ? [] : e.map((i, r) => {
505
- var t, a;
530
+ function he(e) {
531
+ return !e || !Array.isArray(e) || e.length === 0 ? [] : e.map((t, i) => {
532
+ var r, n;
506
533
  return {
507
- id: r + 1,
508
- "dcat:downloadURL": ((t = o(i["dcat:endpointURL"])) == null ? void 0 : t["@id"]) || "",
509
- "dcat:endpointURL": ((a = o(i["dcat:endpointURL"])) == null ? void 0 : a["@id"]) || "",
510
- "dct:description": d(i["dct:description"]) || "",
511
- "dct:title": d(i["dct:title"]) || ""
534
+ id: i + 1,
535
+ "dcat:downloadURL": ((r = o(t["dcat:endpointURL"])) == null ? void 0 : r["@id"]) || "",
536
+ "dcat:endpointURL": ((n = o(t["dcat:endpointURL"])) == null ? void 0 : n["@id"]) || "",
537
+ "dct:description": d(t["dct:description"]) || "",
538
+ "dct:title": d(t["dct:title"]) || ""
512
539
  };
513
540
  });
514
541
  }
515
542
  export {
516
- s as asSomeArray,
543
+ f as asSomeArray,
517
544
  d as extractLocalizedString,
518
- p as extractStringValue,
545
+ b as extractStringValue,
519
546
  o as getFirstItem,
520
- M as normalizeToArray,
521
- ne as purgeNullishAndEmptyProperties,
522
- ye as toAccessService,
523
- ge as toDpi,
547
+ x as normalizeToArray,
548
+ ce as purgeNullishAndEmptyProperties,
549
+ he as toAccessService,
550
+ ye as toDpi,
524
551
  De as useDpiSimpleLoader
525
552
  };