@startinblox/components-ds4go 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ const L = (e) => new Er(typeof e == "string" ? e : e + "", void 0, mi), A = (e,
36
36
  for (const r of t.cssRules) i += r.cssText;
37
37
  return L(i);
38
38
  })(e) : e;
39
- const { is: ys, defineProperty: vs, getOwnPropertyDescriptor: bs, getOwnPropertyNames: $s, getOwnPropertySymbols: ws, getPrototypeOf: _s } = Object, Ie = globalThis, Li = Ie.trustedTypes, xs = Li ? Li.emptyScript : "", Ps = Ie.reactiveElementPolyfillSupport, Yt = (e, t) => e, be = { toAttribute(e, t) {
39
+ const { is: ys, defineProperty: vs, getOwnPropertyDescriptor: bs, getOwnPropertyNames: ws, getOwnPropertySymbols: $s, getPrototypeOf: _s } = Object, Ie = globalThis, Li = Ie.trustedTypes, xs = Li ? Li.emptyScript : "", Ps = Ie.reactiveElementPolyfillSupport, Yt = (e, t) => e, be = { toAttribute(e, t) {
40
40
  switch (t) {
41
41
  case Boolean:
42
42
  e = e ? xs : null;
@@ -66,7 +66,7 @@ const { is: ys, defineProperty: vs, getOwnPropertyDescriptor: bs, getOwnProperty
66
66
  return i;
67
67
  } }, Re = (e, t) => !ys(e, t), zi = { attribute: !0, type: String, converter: be, reflect: !1, useDefault: !1, hasChanged: Re };
68
68
  Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), Ie.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
69
- let Tt = class extends HTMLElement {
69
+ let jt = class extends HTMLElement {
70
70
  static addInitializer(t) {
71
71
  this._$Ei(), (this.l ??= []).push(t);
72
72
  }
@@ -101,7 +101,7 @@ let Tt = class extends HTMLElement {
101
101
  static finalize() {
102
102
  if (this.hasOwnProperty(Yt("finalized"))) return;
103
103
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Yt("properties"))) {
104
- const i = this.properties, r = [...$s(i), ...ws(i)];
104
+ const i = this.properties, r = [...ws(i), ...$s(i)];
105
105
  for (const s of r) this.createProperty(s, i[s]);
106
106
  }
107
107
  const t = this[Symbol.metadata];
@@ -247,10 +247,10 @@ let Tt = class extends HTMLElement {
247
247
  firstUpdated(t) {
248
248
  }
249
249
  };
250
- Tt.elementStyles = [], Tt.shadowRootOptions = { mode: "open" }, Tt[Yt("elementProperties")] = /* @__PURE__ */ new Map(), Tt[Yt("finalized")] = /* @__PURE__ */ new Map(), Ps?.({ ReactiveElement: Tt }), (Ie.reactiveElementVersions ??= []).push("2.1.2");
251
- const fi = globalThis, qi = (e) => e, $e = fi.trustedTypes, Bi = $e ? $e.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Or = "$lit$", dt = `lit$${Math.random().toFixed(9).slice(2)}$`, Ir = "?" + dt, As = `<${Ir}>`, Ct = document, Zt = () => Ct.createComment(""), Xt = (e) => e === null || typeof e != "object" && typeof e != "function", gi = Array.isArray, Cs = (e) => gi(e) || typeof e?.[Symbol.iterator] == "function", ze = `[
252
- \f\r]`, Wt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Wi = /-->/g, Gi = />/g, _t = RegExp(`>|${ze}(?:([^\\s"'>=/]+)(${ze}*=${ze}*(?:[^
253
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Vi = /"/g, Rr = /^(?:script|style|textarea|title)$/i, Ss = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), c = Ss(1), ut = /* @__PURE__ */ Symbol.for("lit-noChange"), p = /* @__PURE__ */ Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(), At = Ct.createTreeWalker(Ct, 129);
250
+ jt.elementStyles = [], jt.shadowRootOptions = { mode: "open" }, jt[Yt("elementProperties")] = /* @__PURE__ */ new Map(), jt[Yt("finalized")] = /* @__PURE__ */ new Map(), Ps?.({ ReactiveElement: jt }), (Ie.reactiveElementVersions ??= []).push("2.1.2");
251
+ const fi = globalThis, qi = (e) => e, we = fi.trustedTypes, Bi = we ? we.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Or = "$lit$", dt = `lit$${Math.random().toFixed(9).slice(2)}$`, Ir = "?" + dt, As = `<${Ir}>`, St = document, Zt = () => St.createComment(""), Xt = (e) => e === null || typeof e != "object" && typeof e != "function", gi = Array.isArray, Cs = (e) => gi(e) || typeof e?.[Symbol.iterator] == "function", ze = `[
252
+ \f\r]`, Wt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Wi = /-->/g, Gi = />/g, xt = RegExp(`>|${ze}(?:([^\\s"'>=/]+)(${ze}*=${ze}*(?:[^
253
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Vi = /"/g, Rr = /^(?:script|style|textarea|title)$/i, Ss = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), d = Ss(1), ut = /* @__PURE__ */ Symbol.for("lit-noChange"), p = /* @__PURE__ */ Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(), Ct = St.createTreeWalker(St, 129);
254
254
  function Dr(e, t) {
255
255
  if (!gi(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
256
256
  return Bi !== void 0 ? Bi.createHTML(t) : t;
@@ -259,11 +259,11 @@ const Es = (e, t) => {
259
259
  const i = e.length - 1, r = [];
260
260
  let s, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", a = Wt;
261
261
  for (let n = 0; n < i; n++) {
262
- const d = e[n];
262
+ const c = e[n];
263
263
  let u, m, f = -1, g = 0;
264
- for (; g < d.length && (a.lastIndex = g, m = a.exec(d), m !== null); ) g = a.lastIndex, a === Wt ? m[1] === "!--" ? a = Wi : m[1] !== void 0 ? a = Gi : m[2] !== void 0 ? (Rr.test(m[2]) && (s = RegExp("</" + m[2], "g")), a = _t) : m[3] !== void 0 && (a = _t) : a === _t ? m[0] === ">" ? (a = s ?? Wt, f = -1) : m[1] === void 0 ? f = -2 : (f = a.lastIndex - m[2].length, u = m[1], a = m[3] === void 0 ? _t : m[3] === '"' ? Vi : Hi) : a === Vi || a === Hi ? a = _t : a === Wi || a === Gi ? a = Wt : (a = _t, s = void 0);
265
- const v = a === _t && e[n + 1].startsWith("/>") ? " " : "";
266
- o += a === Wt ? d + As : f >= 0 ? (r.push(u), d.slice(0, f) + Or + d.slice(f) + dt + v) : d + dt + (f === -2 ? n : v);
264
+ for (; g < c.length && (a.lastIndex = g, m = a.exec(c), m !== null); ) g = a.lastIndex, a === Wt ? m[1] === "!--" ? a = Wi : m[1] !== void 0 ? a = Gi : m[2] !== void 0 ? (Rr.test(m[2]) && (s = RegExp("</" + m[2], "g")), a = xt) : m[3] !== void 0 && (a = xt) : a === xt ? m[0] === ">" ? (a = s ?? Wt, f = -1) : m[1] === void 0 ? f = -2 : (f = a.lastIndex - m[2].length, u = m[1], a = m[3] === void 0 ? xt : m[3] === '"' ? Vi : Hi) : a === Vi || a === Hi ? a = xt : a === Wi || a === Gi ? a = Wt : (a = xt, s = void 0);
265
+ const v = a === xt && e[n + 1].startsWith("/>") ? " " : "";
266
+ o += a === Wt ? c + As : f >= 0 ? (r.push(u), c.slice(0, f) + Or + c.slice(f) + dt + v) : c + dt + (f === -2 ? n : v);
267
267
  }
268
268
  return [Dr(e, o + (e[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
269
269
  };
@@ -272,43 +272,43 @@ class Qt {
272
272
  let s;
273
273
  this.parts = [];
274
274
  let o = 0, a = 0;
275
- const n = t.length - 1, d = this.parts, [u, m] = Es(t, i);
276
- if (this.el = Qt.createElement(u, r), At.currentNode = this.el.content, i === 2 || i === 3) {
275
+ const n = t.length - 1, c = this.parts, [u, m] = Es(t, i);
276
+ if (this.el = Qt.createElement(u, r), Ct.currentNode = this.el.content, i === 2 || i === 3) {
277
277
  const f = this.el.content.firstChild;
278
278
  f.replaceWith(...f.childNodes);
279
279
  }
280
- for (; (s = At.nextNode()) !== null && d.length < n; ) {
280
+ for (; (s = Ct.nextNode()) !== null && c.length < n; ) {
281
281
  if (s.nodeType === 1) {
282
282
  if (s.hasAttributes()) for (const f of s.getAttributeNames()) if (f.endsWith(Or)) {
283
283
  const g = m[a++], v = s.getAttribute(f).split(dt), b = /([.?@])?(.*)/.exec(g);
284
- d.push({ type: 1, index: o, name: b[2], strings: v, ctor: b[1] === "." ? Is : b[1] === "?" ? Rs : b[1] === "@" ? Ds : De }), s.removeAttribute(f);
285
- } else f.startsWith(dt) && (d.push({ type: 6, index: o }), s.removeAttribute(f));
284
+ c.push({ type: 1, index: o, name: b[2], strings: v, ctor: b[1] === "." ? Is : b[1] === "?" ? Rs : b[1] === "@" ? Ds : De }), s.removeAttribute(f);
285
+ } else f.startsWith(dt) && (c.push({ type: 6, index: o }), s.removeAttribute(f));
286
286
  if (Rr.test(s.tagName)) {
287
287
  const f = s.textContent.split(dt), g = f.length - 1;
288
288
  if (g > 0) {
289
- s.textContent = $e ? $e.emptyScript : "";
290
- for (let v = 0; v < g; v++) s.append(f[v], Zt()), At.nextNode(), d.push({ type: 2, index: ++o });
289
+ s.textContent = we ? we.emptyScript : "";
290
+ for (let v = 0; v < g; v++) s.append(f[v], Zt()), Ct.nextNode(), c.push({ type: 2, index: ++o });
291
291
  s.append(f[g], Zt());
292
292
  }
293
293
  }
294
- } else if (s.nodeType === 8) if (s.data === Ir) d.push({ type: 2, index: o });
294
+ } else if (s.nodeType === 8) if (s.data === Ir) c.push({ type: 2, index: o });
295
295
  else {
296
296
  let f = -1;
297
- for (; (f = s.data.indexOf(dt, f + 1)) !== -1; ) d.push({ type: 7, index: o }), f += dt.length - 1;
297
+ for (; (f = s.data.indexOf(dt, f + 1)) !== -1; ) c.push({ type: 7, index: o }), f += dt.length - 1;
298
298
  }
299
299
  o++;
300
300
  }
301
301
  }
302
302
  static createElement(t, i) {
303
- const r = Ct.createElement("template");
303
+ const r = St.createElement("template");
304
304
  return r.innerHTML = t, r;
305
305
  }
306
306
  }
307
- function jt(e, t, i = e, r) {
307
+ function kt(e, t, i = e, r) {
308
308
  if (t === ut) return t;
309
309
  let s = r !== void 0 ? i._$Co?.[r] : i._$Cl;
310
310
  const o = Xt(t) ? void 0 : t._$litDirective$;
311
- return s?.constructor !== o && (s?._$AO?.(!1), o === void 0 ? s = void 0 : (s = new o(e), s._$AT(e, i, r)), r !== void 0 ? (i._$Co ??= [])[r] = s : i._$Cl = s), s !== void 0 && (t = jt(e, s._$AS(e, t.values), s, r)), t;
311
+ return s?.constructor !== o && (s?._$AO?.(!1), o === void 0 ? s = void 0 : (s = new o(e), s._$AT(e, i, r)), r !== void 0 ? (i._$Co ??= [])[r] = s : i._$Cl = s), s !== void 0 && (t = kt(e, s._$AS(e, t.values), s, r)), t;
312
312
  }
313
313
  let Os = class {
314
314
  constructor(t, i) {
@@ -321,17 +321,17 @@ let Os = class {
321
321
  return this._$AM._$AU;
322
322
  }
323
323
  u(t) {
324
- const { el: { content: i }, parts: r } = this._$AD, s = (t?.creationScope ?? Ct).importNode(i, !0);
325
- At.currentNode = s;
326
- let o = At.nextNode(), a = 0, n = 0, d = r[0];
327
- for (; d !== void 0; ) {
328
- if (a === d.index) {
324
+ const { el: { content: i }, parts: r } = this._$AD, s = (t?.creationScope ?? St).importNode(i, !0);
325
+ Ct.currentNode = s;
326
+ let o = Ct.nextNode(), a = 0, n = 0, c = r[0];
327
+ for (; c !== void 0; ) {
328
+ if (a === c.index) {
329
329
  let u;
330
- d.type === 2 ? u = new ae(o, o.nextSibling, this, t) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (u = new Ts(o, this, t)), this._$AV.push(u), d = r[++n];
330
+ c.type === 2 ? u = new ae(o, o.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (u = new Ts(o, this, t)), this._$AV.push(u), c = r[++n];
331
331
  }
332
- a !== d?.index && (o = At.nextNode(), a++);
332
+ a !== c?.index && (o = Ct.nextNode(), a++);
333
333
  }
334
- return At.currentNode = Ct, s;
334
+ return Ct.currentNode = St, s;
335
335
  }
336
336
  p(t) {
337
337
  let i = 0;
@@ -357,7 +357,7 @@ class ae {
357
357
  return this._$AB;
358
358
  }
359
359
  _$AI(t, i = this) {
360
- t = jt(this, t, i), Xt(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== ut && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Cs(t) ? this.k(t) : this._(t);
360
+ t = kt(this, t, i), Xt(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== ut && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Cs(t) ? this.k(t) : this._(t);
361
361
  }
362
362
  O(t) {
363
363
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -366,7 +366,7 @@ class ae {
366
366
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
367
367
  }
368
368
  _(t) {
369
- this._$AH !== p && Xt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ct.createTextNode(t)), this._$AH = t;
369
+ this._$AH !== p && Xt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(St.createTextNode(t)), this._$AH = t;
370
370
  }
371
371
  $(t) {
372
372
  const { values: i, _$litType$: r } = t, s = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = Qt.createElement(Dr(r.h, r.h[0]), this.options)), r);
@@ -410,11 +410,11 @@ let De = class {
410
410
  _$AI(t, i = this, r, s) {
411
411
  const o = this.strings;
412
412
  let a = !1;
413
- if (o === void 0) t = jt(this, t, i, 0), a = !Xt(t) || t !== this._$AH && t !== ut, a && (this._$AH = t);
413
+ if (o === void 0) t = kt(this, t, i, 0), a = !Xt(t) || t !== this._$AH && t !== ut, a && (this._$AH = t);
414
414
  else {
415
415
  const n = t;
416
- let d, u;
417
- for (t = o[0], d = 0; d < o.length - 1; d++) u = jt(this, n[r + d], i, d), u === ut && (u = this._$AH[d]), a ||= !Xt(u) || u !== this._$AH[d], u === p ? t = p : t !== p && (t += (u ?? "") + o[d + 1]), this._$AH[d] = u;
416
+ let c, u;
417
+ for (t = o[0], c = 0; c < o.length - 1; c++) u = kt(this, n[r + c], i, c), u === ut && (u = this._$AH[c]), a ||= !Xt(u) || u !== this._$AH[c], u === p ? t = p : t !== p && (t += (u ?? "") + o[c + 1]), this._$AH[c] = u;
418
418
  }
419
419
  a && !s && this.j(t);
420
420
  }
@@ -440,7 +440,7 @@ let De = class {
440
440
  super(t, i, r, s, o), this.type = 5;
441
441
  }
442
442
  _$AI(t, i = this) {
443
- if ((t = jt(this, t, i, 0) ?? p) === ut) return;
443
+ if ((t = kt(this, t, i, 0) ?? p) === ut) return;
444
444
  const r = this._$AH, s = t === p && r !== p || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, o = t !== p && (r === p || s);
445
445
  s && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
446
446
  }
@@ -455,7 +455,7 @@ let De = class {
455
455
  return this._$AM._$AU;
456
456
  }
457
457
  _$AI(t) {
458
- jt(this, t);
458
+ kt(this, t);
459
459
  }
460
460
  };
461
461
  const js = fi.litHtmlPolyfillSupport;
@@ -470,7 +470,7 @@ const ks = (e, t, i) => {
470
470
  return s._$AI(e), s;
471
471
  };
472
472
  const yi = globalThis;
473
- let C = class extends Tt {
473
+ let C = class extends jt {
474
474
  constructor() {
475
475
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
476
476
  }
@@ -496,7 +496,7 @@ C._$litElement$ = !0, C.finalized = !0, yi.litElementHydrateSupport?.({ LitEleme
496
496
  const Fs = yi.litElementPolyfillSupport;
497
497
  Fs?.({ LitElement: C });
498
498
  (yi.litElementVersions ??= []).push("4.2.2");
499
- const w = (e) => (t, i) => {
499
+ const $ = (e) => (t, i) => {
500
500
  i !== void 0 ? i.addInitializer(() => {
501
501
  customElements.define(e, t);
502
502
  }) : customElements.define(e, t);
@@ -507,8 +507,8 @@ const Ms = { attribute: !0, type: String, converter: be, reflect: !1, hasChanged
507
507
  if (o === void 0 && globalThis.litPropertyMetadata.set(s, o = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), o.set(i.name, e), r === "accessor") {
508
508
  const { name: a } = i;
509
509
  return { set(n) {
510
- const d = t.get.call(this);
511
- t.set.call(this, n), this.requestUpdate(a, d, e, !0, n);
510
+ const c = t.get.call(this);
511
+ t.set.call(this, n), this.requestUpdate(a, c, e, !0, n);
512
512
  }, init(n) {
513
513
  return n !== void 0 && this.C(a, void 0, e, n), n;
514
514
  } };
@@ -516,8 +516,8 @@ const Ms = { attribute: !0, type: String, converter: be, reflect: !1, hasChanged
516
516
  if (r === "setter") {
517
517
  const { name: a } = i;
518
518
  return function(n) {
519
- const d = this[a];
520
- t.call(this, n), this.requestUpdate(a, d, e, !0, n);
519
+ const c = this[a];
520
+ t.call(this, n), this.requestUpdate(a, c, e, !0, n);
521
521
  };
522
522
  }
523
523
  throw Error("Unsupported decorator location: " + r);
@@ -588,9 +588,9 @@ let rt = class extends C {
588
588
  };
589
589
  }
590
590
  renderTags() {
591
- return !this.tags || this.tags.length === 0 ? p : c`<div class="tags">
591
+ return !this.tags || this.tags.length === 0 ? p : d`<div class="tags">
592
592
  ${this.tags.filter((e) => typeof e == "string" || e.name).map(
593
- (e) => c`<tems-badge
593
+ (e) => d`<tems-badge
594
594
  size="sm"
595
595
  label=${typeof e == "string" ? e : e.name}
596
596
  type=${typeof e != "string" && Yi(e.type)}
@@ -600,11 +600,11 @@ let rt = class extends C {
600
600
  </div>`;
601
601
  }
602
602
  renderContent() {
603
- return this.header || this.content ? c`<div class="content">
604
- ${this.header ? c`<div class="card-header">
603
+ return this.header || this.content ? d`<div class="content">
604
+ ${this.header ? d`<div class="card-header">
605
605
  <tems-division label=${this.header} type="h4"></tems-division>
606
606
  </div>` : p}
607
- ${this.content ? c`<div class="card-content">
607
+ ${this.content ? d`<div class="card-content">
608
608
  <tems-division
609
609
  label=${this.content}
610
610
  type="body-m"
@@ -613,12 +613,12 @@ let rt = class extends C {
613
613
  </div>` : p;
614
614
  }
615
615
  renderDate() {
616
- return this.date ? c`<div class="date">
616
+ return this.date ? d`<div class="date">
617
617
  <span>${this.date}</span>
618
618
  </div>` : p;
619
619
  }
620
620
  renderImage() {
621
- return this.image ? c`<header
621
+ return this.image ? d`<header
622
622
  class="image"
623
623
  style="background-image: url(&quot;${this.image}&quot;)"
624
624
  ></header>` : p;
@@ -627,20 +627,20 @@ let rt = class extends C {
627
627
  const e = {
628
628
  ...this._getType()
629
629
  };
630
- return this.cardType === "horizontal" ? c`<article class=${qe(e)}>
630
+ return this.cardType === "horizontal" ? d`<article class=${qe(e)}>
631
631
  ${this.renderImage()}
632
632
  <main>
633
633
  ${this.renderTags()}
634
634
  ${this.renderContent()}
635
635
  </main>
636
- </article>` : this.cardType === "bill-image" ? c`<article class=${qe(e)}>
636
+ </article>` : this.cardType === "bill-image" ? d`<article class=${qe(e)}>
637
637
  ${this.renderImage()}
638
638
  <main>
639
639
  ${this.renderTags()}
640
640
  ${this.renderContent()}
641
641
  ${this.renderDate()}
642
642
  </main>
643
- </article>` : c`<article class=${qe(e)}>
643
+ </article>` : d`<article class=${qe(e)}>
644
644
  ${this.renderImage()}
645
645
  <main>
646
646
  ${this.renderDate()}
@@ -673,7 +673,7 @@ Ot([
673
673
  y({ attribute: "image", type: String })
674
674
  ], rt.prototype, "image", 2);
675
675
  rt = Ot([
676
- w("ds4go-card-catalog")
676
+ $("ds4go-card-catalog")
677
677
  ], rt);
678
678
  const zs = ":host{box-sizing:border-box;display:flex;height:fit-content;max-width:100%;width:100%}article{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);flex-direction:column;font-family:var(--font-family-body);min-width:295px}article,article header{display:flex;width:100%}article header{background-position:50%;background-repeat:no-repeat;background-size:contain;border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg) var(--border-radius-lg) 0 0;box-sizing:border-box;height:167px;padding:var(--scale-400)}article .card-content,article .card-content tems-division{max-height:180px}article main{display:flex;flex:1;flex-direction:column;gap:var(--scale-400);padding:var(--scale-600);padding-bottom:var(--scale-800)}article main .content{flex:1}article main .card-content{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:100%}article .tags{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200)}";
679
679
  const ri = "lit-localize-status";
@@ -681,7 +681,7 @@ const qs = (e, ...t) => ({
681
681
  strTag: !0,
682
682
  strings: e,
683
683
  values: t
684
- }), $ = qs, Bs = (e) => typeof e != "string" && "strTag" in e, Fr = (e, t, i) => {
684
+ }), w = qs, Bs = (e) => typeof e != "string" && "strTag" in e, Fr = (e, t, i) => {
685
685
  let r = e[0];
686
686
  for (let s = 1; s < e.length; s++)
687
687
  r += t[i ? i[s - 1] : s - 1], r += e[s];
@@ -726,10 +726,10 @@ const et = [];
726
726
  for (let e = 0; e < 256; e++)
727
727
  et[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
728
728
  function Ks(e) {
729
- let t = 0, i = 8997, r = 0, s = 33826, o = 0, a = 40164, n = 0, d = 52210;
729
+ let t = 0, i = 8997, r = 0, s = 33826, o = 0, a = 40164, n = 0, c = 52210;
730
730
  for (let u = 0; u < e.length; u++)
731
- i ^= e.charCodeAt(u), t = i * 435, r = s * 435, o = a * 435, n = d * 435, o += i << 8, n += s << 8, r += t >>> 16, i = t & 65535, o += r >>> 16, s = r & 65535, d = n + (o >>> 16) & 65535, a = o & 65535;
732
- return et[d >> 8] + et[d & 255] + et[a >> 8] + et[a & 255] + et[s >> 8] + et[s & 255] + et[i >> 8] + et[i & 255];
731
+ i ^= e.charCodeAt(u), t = i * 435, r = s * 435, o = a * 435, n = c * 435, o += i << 8, n += s << 8, r += t >>> 16, i = t & 65535, o += r >>> 16, s = r & 65535, c = n + (o >>> 16) & 65535, a = o & 65535;
732
+ return et[c >> 8] + et[c & 255] + et[a >> 8] + et[a & 255] + et[s >> 8] + et[s & 255] + et[i >> 8] + et[i & 255];
733
733
  }
734
734
  const Ys = "", Js = "h", Zs = "s";
735
735
  function Xs(e, t) {
@@ -769,32 +769,32 @@ function to(e) {
769
769
  function Be(e) {
770
770
  window.dispatchEvent(new CustomEvent(ri, { detail: e }));
771
771
  }
772
- let we = "", We, Ur, _e, si, Lr, Pt = new Nr();
773
- Pt.resolve();
772
+ let $e = "", We, Ur, _e, si, Lr, At = new Nr();
773
+ At.resolve();
774
774
  let fe = 0;
775
- const eo = (e) => (Ws(((t, i) => Qs(Lr, t, i))), we = Ur = e.sourceLocale, _e = new Set(e.targetLocales), _e.add(e.sourceLocale), si = e.loadLocale, { getLocale: io, setLocale: ro }), io = () => we, ro = (e) => {
776
- if (e === (We ?? we))
777
- return Pt.promise;
775
+ const eo = (e) => (Ws(((t, i) => Qs(Lr, t, i))), $e = Ur = e.sourceLocale, _e = new Set(e.targetLocales), _e.add(e.sourceLocale), si = e.loadLocale, { getLocale: io, setLocale: ro }), io = () => $e, ro = (e) => {
776
+ if (e === (We ?? $e))
777
+ return At.promise;
778
778
  if (!_e || !si)
779
779
  throw new Error("Internal error");
780
780
  if (!_e.has(e))
781
781
  throw new Error("Invalid locale code");
782
782
  fe++;
783
783
  const t = fe;
784
- return We = e, Pt.settled && (Pt = new Nr()), Be({ status: "loading", loadingLocale: e }), (e === Ur ? (
784
+ return We = e, At.settled && (At = new Nr()), Be({ status: "loading", loadingLocale: e }), (e === Ur ? (
785
785
  // We could switch to the source locale synchronously, but we prefer to
786
786
  // queue it on a microtask so that switching locales is consistently
787
787
  // asynchronous.
788
788
  Promise.resolve({ templates: void 0 })
789
789
  ) : si(e)).then((r) => {
790
- fe === t && (we = e, We = void 0, Lr = r.templates, Be({ status: "ready", readyLocale: e }), Pt.resolve());
790
+ fe === t && ($e = e, We = void 0, Lr = r.templates, Be({ status: "ready", readyLocale: e }), At.resolve());
791
791
  }, (r) => {
792
792
  fe === t && (Be({
793
793
  status: "error",
794
794
  errorLocale: e,
795
795
  errorMessage: r.toString()
796
- }), Pt.reject(r));
797
- }), Pt.promise;
796
+ }), At.reject(r));
797
+ }), At.promise;
798
798
  };
799
799
  var so = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, zr = (e, t, i, r) => {
800
800
  for (var s = r > 1 ? void 0 : r ? oo(t, i) : t, o = e.length - 1, a; o >= 0; o--)
@@ -813,14 +813,14 @@ let xe = class extends C {
813
813
  }), this.object?.category && e.push({ label: this.object.category, type: "neutral" });
814
814
  const t = (this.object?.previewLinks || "").split(" ");
815
815
  return t.length > 0 && e.push({
816
- label: l($`${t.length} previews`),
816
+ label: l(w`${t.length} previews`),
817
817
  type: "information"
818
818
  }), e;
819
819
  }
820
820
  render() {
821
821
  if (!this.object) return p;
822
822
  const e = this._getTags();
823
- return c`<article class="vertical">
823
+ return d`<article class="vertical">
824
824
  <header
825
825
  class="image"
826
826
  style='background-image: url("${this._getThumbnail()}")'
@@ -840,22 +840,22 @@ let xe = class extends C {
840
840
  ></tems-badge>
841
841
  </div>
842
842
  <div class="content">
843
- ${this.object?.name ? c`<div class="card-header">
843
+ ${this.object?.name ? d`<div class="card-header">
844
844
  <tems-division
845
845
  label=${this.object?.name}
846
846
  type="h4"
847
847
  ></tems-division>
848
848
  </div>` : p}
849
- ${this.object?.description ? c`<div class="card-content">
849
+ ${this.object?.description ? d`<div class="card-content">
850
850
  <tems-division
851
851
  label=${this.object?.description}
852
852
  type="body-m"
853
853
  ></tems-division>
854
854
  </div>` : p}
855
855
  </div>
856
- ${e.length > 0 ? c`<div class="tags">
856
+ ${e.length > 0 ? d`<div class="tags">
857
857
  ${e.map(
858
- (t) => c`<tems-badge
858
+ (t) => d`<tems-badge
859
859
  size="sm"
860
860
  label=${t.label}
861
861
  type=${t.type}
@@ -874,7 +874,7 @@ zr([
874
874
  y({ attribute: !1 })
875
875
  ], xe.prototype, "object", 2);
876
876
  xe = zr([
877
- w("ds4go-card-dataspace-catalog")
877
+ $("ds4go-card-dataspace-catalog")
878
878
  ], xe);
879
879
  const ao = ":host{box-sizing:border-box;display:flex;height:fit-content;max-width:100%;width:100%}article{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);cursor:pointer;display:flex;flex-direction:column;font-family:var(--font-family-body);min-width:295px;transition:box-shadow .2s ease-in-out;width:100%}article:hover{box-shadow:var(--shadow-md)}article header{background-position:50%;background-repeat:no-repeat;background-size:cover;border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg) var(--border-radius-lg) 0 0;box-sizing:border-box;display:flex;height:167px;padding:var(--scale-400);width:100%}article main{display:flex;flex:1;flex-direction:column;gap:var(--scale-400);padding:var(--scale-600);padding-bottom:var(--scale-800)}article main .meta-info{color:var(--color-text-disabled-on);display:flex;flex-direction:column;font-size:var(--typography-size-body-sm);font-weight:var(--font-weight-regular);gap:var(--scale-200);justify-items:center;line-height:var(--line-height-body-sm)}article main .meta-info .author{color:var(--color-text-primary)}article main .meta-info .separator{color:var(--color-border-primary)}article main .meta-info .date{color:var(--color-text-disabled-on)}article main .content{display:flex;flex:1;flex-direction:column;gap:var(--scale-200)}article main .card-header tems-division{font-weight:var(--font-weight-semibold)}article main .card-content{max-height:180px;overflow:hidden;text-overflow:ellipsis;width:100%}article main .card-content tems-division{display:-webkit-box;-webkit-line-clamp:4;max-height:180px;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}article .tags{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200)}";
880
880
  var no = Object.defineProperty, lo = (e, t, i, r) => {
@@ -943,7 +943,7 @@ class k extends ne {
943
943
  const s = i.getAttribute("navigation-subrouter"), o = i.getAttribute("navigation-resource"), a = i.getAttribute("navigation-rdf-type");
944
944
  if (a) {
945
945
  const n = window.orbit?.components?.filter(
946
- (d) => d?.routeAttributes?.["rdf-type"] === a
946
+ (c) => c?.routeAttributes?.["rdf-type"] === a
947
947
  );
948
948
  n && (r = n[0]?.uniq);
949
949
  }
@@ -974,15 +974,15 @@ class k extends ne {
974
974
  "@type": t["@type"],
975
975
  "@context": t.serverContext,
976
976
  _originalResource: t
977
- }, a = r.map(async (d) => {
978
- if (!s?.includes(d.key)) return;
979
- let u = await t.get(d.key);
980
- return d.expand && (u = await this._getProxyValue(u, i, r)), d.cast && (u = await d.cast(u)), { prop: d, value: u };
977
+ }, a = r.map(async (c) => {
978
+ if (!s?.includes(c.key)) return;
979
+ let u = await t.get(c.key);
980
+ return c.expand && (u = await this._getProxyValue(u, i, r)), c.cast && (u = await c.cast(u)), { prop: c, value: u };
981
981
  }), n = (await Promise.all(a)).filter(
982
- (d) => d !== void 0
982
+ (c) => c !== void 0
983
983
  );
984
- for (const { prop: d, value: u } of n)
985
- u !== void 0 && (o[d.value] = u);
984
+ for (const { prop: c, value: u } of n)
985
+ u !== void 0 && (o[c.value] = u);
986
986
  return await this._responseAdaptator(o);
987
987
  }
988
988
  async _hasCherryPickedProperties(t) {
@@ -1226,9 +1226,9 @@ const ai = (e, t, i, r) => {
1226
1226
  const r = i.toLowerCase(), s = t.split(".");
1227
1227
  return e.map((o) => {
1228
1228
  let a = o;
1229
- for (const d of s)
1230
- if (a && typeof a == "object" && d in a)
1231
- a = a[d];
1229
+ for (const c of s)
1230
+ if (a && typeof a == "object" && c in a)
1231
+ a = a[c];
1232
1232
  else {
1233
1233
  a = null;
1234
1234
  break;
@@ -1269,7 +1269,7 @@ const ai = (e, t, i, r) => {
1269
1269
  li(o, t, s)
1270
1270
  ), r === 4) break;
1271
1271
  return r;
1272
- }, Ut = (e, t) => {
1272
+ }, Lt = (e, t) => {
1273
1273
  if (!t || t.trim() === "")
1274
1274
  return e;
1275
1275
  const i = t.toLowerCase();
@@ -1404,7 +1404,7 @@ const ai = (e, t, i, r) => {
1404
1404
  }
1405
1405
  ]
1406
1406
  }
1407
- }, yo = [mo, fo, go], xt = (e, t) => {
1407
+ }, yo = [mo, fo, go], Pt = (e, t) => {
1408
1408
  let i = e;
1409
1409
  for (const r of t)
1410
1410
  if (i && r in i)
@@ -1414,26 +1414,26 @@ const ai = (e, t, i, r) => {
1414
1414
  return i;
1415
1415
  }, G = (e, t, i = "asc") => {
1416
1416
  const r = Array.isArray(t) ? t : [t], s = i !== "asc", o = [...e], n = (() => {
1417
- const d = xt(o[0], r);
1418
- if (typeof d == "number")
1417
+ const c = Pt(o[0], r);
1418
+ if (typeof c == "number")
1419
1419
  return (u, m) => {
1420
- const f = xt(u, r), g = xt(m, r);
1420
+ const f = Pt(u, r), g = Pt(m, r);
1421
1421
  return f == null ? g == null ? 0 : 1 : g == null ? -1 : f - g;
1422
1422
  };
1423
- if (typeof d == "string")
1423
+ if (typeof c == "string")
1424
1424
  return (u, m) => {
1425
- const f = xt(u, r), g = xt(m, r);
1425
+ const f = Pt(u, r), g = Pt(m, r);
1426
1426
  return f == null ? g == null ? 0 : 1 : g == null ? -1 : f.localeCompare(g);
1427
1427
  };
1428
- if (d instanceof Date)
1428
+ if (c instanceof Date)
1429
1429
  return (u, m) => {
1430
- const f = xt(u, r), g = xt(m, r);
1430
+ const f = Pt(u, r), g = Pt(m, r);
1431
1431
  return f == null ? g == null ? 0 : 1 : g == null ? -1 : f.getTime() - g.getTime();
1432
1432
  };
1433
1433
  throw new TypeError(`Unsupported data type for key "${t}"`);
1434
1434
  })();
1435
- return o.sort((d, u) => {
1436
- const m = n(d, u);
1435
+ return o.sort((c, u) => {
1436
+ const m = n(c, u);
1437
1437
  return s ? -m : m;
1438
1438
  }), o;
1439
1439
  }, pt = (e) => {
@@ -1464,10 +1464,10 @@ const ai = (e, t, i, r) => {
1464
1464
  }
1465
1465
  })
1466
1466
  );
1467
- }, bo = "https://cdn.startinblox.com/owl/ds4go.jsonld#", $o = { "@id": "ds4go:link", "@type": "@id" }, wo = { "@id": "ds4go:enclosure", "@type": "@id" }, _o = { "@id": "ds4go:url", "@type": "@id" }, er = {
1467
+ }, bo = "https://cdn.startinblox.com/owl/ds4go.jsonld#", wo = { "@id": "ds4go:link", "@type": "@id" }, $o = { "@id": "ds4go:enclosure", "@type": "@id" }, _o = { "@id": "ds4go:url", "@type": "@id" }, er = {
1468
1468
  ds4go: bo,
1469
- link: $o,
1470
- enclosure: wo,
1469
+ link: wo,
1470
+ enclosure: $o,
1471
1471
  url: _o
1472
1472
  };
1473
1473
  var Ge = {}, tt = {}, ir;
@@ -1627,8 +1627,8 @@ function Io() {
1627
1627
  return o && o.__esModule ? o : { default: o };
1628
1628
  }
1629
1629
  var r = function(a, n) {
1630
- var d = (0, t.default)(a);
1631
- return d.map(function() {
1630
+ var c = (0, t.default)(a);
1631
+ return c.map(function() {
1632
1632
  return n();
1633
1633
  });
1634
1634
  }, s = r;
@@ -1672,8 +1672,8 @@ function Gr() {
1672
1672
  }
1673
1673
  });
1674
1674
  var t = n(Ao()), i = n(Co()), r = n(So()), s = n(Oo()), o = n(Wr()), a = n(Io());
1675
- function n(d) {
1676
- return d && d.__esModule ? d : { default: d };
1675
+ function n(c) {
1676
+ return c && c.__esModule ? c : { default: c };
1677
1677
  }
1678
1678
  })(Ke)), Ke;
1679
1679
  }
@@ -1710,12 +1710,12 @@ function Ro() {
1710
1710
  min: 5
1711
1711
  } : v, P = m.random;
1712
1712
  m.seed;
1713
- var K = m.words, wt = K === void 0 ? t.WORDS : K;
1713
+ var K = m.words, _t = K === void 0 ? t.WORDS : K;
1714
1714
  if (r(this, u), a(this, "sentencesPerParagraph", void 0), a(this, "wordsPerSentence", void 0), a(this, "random", void 0), a(this, "words", void 0), g.min > g.max)
1715
1715
  throw new Error("Minimum number of sentences per paragraph (".concat(g.min, ") cannot exceed maximum (").concat(g.max, ")."));
1716
1716
  if (b.min > b.max)
1717
1717
  throw new Error("Minimum number of words per sentence (".concat(b.min, ") cannot exceed maximum (").concat(b.max, ")."));
1718
- this.sentencesPerParagraph = g, this.words = wt, this.wordsPerSentence = b, this.random = P || Math.random;
1718
+ this.sentencesPerParagraph = g, this.words = _t, this.wordsPerSentence = b, this.random = P || Math.random;
1719
1719
  }
1720
1720
  return o(u, [{
1721
1721
  key: "generateRandomInteger",
@@ -1726,8 +1726,8 @@ function Ro() {
1726
1726
  key: "generateRandomWords",
1727
1727
  value: function(f) {
1728
1728
  var g = this, v = this.wordsPerSentence, b = v.min, P = v.max, K = f || this.generateRandomInteger(b, P);
1729
- return (0, i.makeArrayOfLength)(K).reduce(function(wt, me) {
1730
- return "".concat(g.pluckRandomWord(), " ").concat(wt);
1729
+ return (0, i.makeArrayOfLength)(K).reduce(function(_t, me) {
1730
+ return "".concat(g.pluckRandomWord(), " ").concat(_t);
1731
1731
  }, "").trim();
1732
1732
  }
1733
1733
  }, {
@@ -1739,8 +1739,8 @@ function Ro() {
1739
1739
  key: "generateRandomParagraph",
1740
1740
  value: function(f) {
1741
1741
  var g = this, v = this.sentencesPerParagraph, b = v.min, P = v.max, K = f || this.generateRandomInteger(b, P);
1742
- return (0, i.makeArrayOfLength)(K).reduce(function(wt, me) {
1743
- return "".concat(g.generateRandomSentence(), " ").concat(wt);
1742
+ return (0, i.makeArrayOfLength)(K).reduce(function(_t, me) {
1743
+ return "".concat(g.generateRandomSentence(), " ").concat(_t);
1744
1744
  }, "").trim();
1745
1745
  }
1746
1746
  }, {
@@ -1750,8 +1750,8 @@ function Ro() {
1750
1750
  return this.words[v];
1751
1751
  }
1752
1752
  }]), u;
1753
- })(), d = n;
1754
- e.default = d;
1753
+ })(), c = n;
1754
+ e.default = c;
1755
1755
  })(Ve)), Ve;
1756
1756
  }
1757
1757
  var fr;
@@ -1774,7 +1774,7 @@ function Do() {
1774
1774
  P.enumerable = P.enumerable || !1, P.configurable = !0, "value" in P && (P.writable = !0), Object.defineProperty(g, P.key, P);
1775
1775
  }
1776
1776
  }
1777
- function d(g, v, b) {
1777
+ function c(g, v, b) {
1778
1778
  return v && n(g.prototype, v), Object.defineProperty(g, "prototype", { writable: !1 }), g;
1779
1779
  }
1780
1780
  function u(g, v, b) {
@@ -1787,7 +1787,7 @@ function Do() {
1787
1787
  throw new Error("".concat(b, " is an invalid format. Please use ").concat(t.FORMATS.join(" or "), "."));
1788
1788
  this.generator = new r.default(v);
1789
1789
  }
1790
- return d(g, [{
1790
+ return c(g, [{
1791
1791
  key: "getLineEnding",
1792
1792
  value: function() {
1793
1793
  return this.suffix ? this.suffix : !(0, s.isReactNative)() && (0, s.isNode)() && (0, s.isWindows)() ? i.LINE_ENDINGS.WIN32 : i.LINE_ENDINGS.POSIX;
@@ -1842,8 +1842,8 @@ function To() {
1842
1842
  return n && n.__esModule ? n : { default: n };
1843
1843
  }
1844
1844
  var a = function() {
1845
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = d.count, m = u === void 0 ? 1 : u, f = d.format, g = f === void 0 ? t.FORMAT_PLAIN : f, v = d.paragraphLowerBound, b = v === void 0 ? 3 : v, P = d.paragraphUpperBound, K = P === void 0 ? 7 : P, wt = d.random, me = d.sentenceLowerBound, cs = me === void 0 ? 5 : me, ji = d.sentenceUpperBound, ds = ji === void 0 ? 15 : ji, ki = d.units, ps = ki === void 0 ? i.UNIT_SENTENCES : ki, Fi = d.words, us = Fi === void 0 ? r.WORDS : Fi, Mi = d.suffix, hs = Mi === void 0 ? "" : Mi, ms = {
1846
- random: wt,
1845
+ var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = c.count, m = u === void 0 ? 1 : u, f = c.format, g = f === void 0 ? t.FORMAT_PLAIN : f, v = c.paragraphLowerBound, b = v === void 0 ? 3 : v, P = c.paragraphUpperBound, K = P === void 0 ? 7 : P, _t = c.random, me = c.sentenceLowerBound, cs = me === void 0 ? 5 : me, ji = c.sentenceUpperBound, ds = ji === void 0 ? 15 : ji, ki = c.units, ps = ki === void 0 ? i.UNIT_SENTENCES : ki, Fi = c.words, us = Fi === void 0 ? r.WORDS : Fi, Mi = c.suffix, hs = Mi === void 0 ? "" : Mi, ms = {
1846
+ random: _t,
1847
1847
  sentencesPerParagraph: {
1848
1848
  max: K,
1849
1849
  min: b
@@ -1939,7 +1939,7 @@ const Mo = (e) => new Fo(typeof e == "string" ? e : e + "", void 0, Hr), No = (e
1939
1939
  }
1940
1940
  }
1941
1941
  return i;
1942
- } }, bi = (e, t) => !Uo(e, t), $r = { attribute: !0, type: String, converter: Pe, reflect: !1, useDefault: !1, hasChanged: bi };
1942
+ } }, bi = (e, t) => !Uo(e, t), wr = { attribute: !0, type: String, converter: Pe, reflect: !1, useDefault: !1, hasChanged: bi };
1943
1943
  Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), je.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
1944
1944
  class Kt extends HTMLElement {
1945
1945
  static addInitializer(t) {
@@ -1948,7 +1948,7 @@ class Kt extends HTMLElement {
1948
1948
  static get observedAttributes() {
1949
1949
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1950
1950
  }
1951
- static createProperty(t, i = $r) {
1951
+ static createProperty(t, i = wr) {
1952
1952
  if (i.state && (i.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((i = Object.create(i)).wrapped = !0), this.elementProperties.set(t, i), !i.noAccessor) {
1953
1953
  const r = /* @__PURE__ */ Symbol(), s = this.getPropertyDescriptor(t, r, i);
1954
1954
  s !== void 0 && Lo(this.prototype, t, s);
@@ -1966,7 +1966,7 @@ class Kt extends HTMLElement {
1966
1966
  }, configurable: !0, enumerable: !0 };
1967
1967
  }
1968
1968
  static getPropertyOptions(t) {
1969
- return this.elementProperties.get(t) ?? $r;
1969
+ return this.elementProperties.get(t) ?? wr;
1970
1970
  }
1971
1971
  static _$Ei() {
1972
1972
  if (this.hasOwnProperty(Jt("elementProperties"))) return;
@@ -2129,8 +2129,8 @@ const Vo = { attribute: !0, type: String, converter: Pe, reflect: !1, hasChanged
2129
2129
  if (o === void 0 && globalThis.litPropertyMetadata.set(s, o = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), o.set(i.name, e), r === "accessor") {
2130
2130
  const { name: a } = i;
2131
2131
  return { set(n) {
2132
- const d = t.get.call(this);
2133
- t.set.call(this, n), this.requestUpdate(a, d, e, !0, n);
2132
+ const c = t.get.call(this);
2133
+ t.set.call(this, n), this.requestUpdate(a, c, e, !0, n);
2134
2134
  }, init(n) {
2135
2135
  return n !== void 0 && this.C(a, void 0, e, n), n;
2136
2136
  } };
@@ -2138,8 +2138,8 @@ const Vo = { attribute: !0, type: String, converter: Pe, reflect: !1, hasChanged
2138
2138
  if (r === "setter") {
2139
2139
  const { name: a } = i;
2140
2140
  return function(n) {
2141
- const d = this[a];
2142
- t.call(this, n), this.requestUpdate(a, d, e, !0, n);
2141
+ const c = this[a];
2142
+ t.call(this, n), this.requestUpdate(a, c, e, !0, n);
2143
2143
  };
2144
2144
  }
2145
2145
  throw Error("Unsupported decorator location: " + r);
@@ -2158,7 +2158,7 @@ var Yo = Object.defineProperty, Jo = (e, t, i, r) => {
2158
2158
  (a = e[o]) && (s = a(t, i, s) || s);
2159
2159
  return s && Yo(t, i, s), s;
2160
2160
  };
2161
- class $i extends C {
2161
+ class wi extends C {
2162
2162
  constructor() {
2163
2163
  super(...arguments), this.objects = [], this.hasType = (t, i) => (i ?? this.objects ?? []).some((r) => {
2164
2164
  const s = r["@type"];
@@ -2168,13 +2168,13 @@ class $i extends C {
2168
2168
  }
2169
2169
  Jo([
2170
2170
  _({ attribute: !1 })
2171
- ], $i.prototype, "objects");
2171
+ ], wi.prototype, "objects");
2172
2172
  var Zo = Object.defineProperty, ct = (e, t, i, r) => {
2173
2173
  for (var s = void 0, o = e.length - 1, a; o >= 0; o--)
2174
2174
  (a = e[o]) && (s = a(t, i, s) || s);
2175
2175
  return s && Zo(t, i, s), s;
2176
2176
  };
2177
- class Z extends $i {
2177
+ class Z extends wi {
2178
2178
  constructor({
2179
2179
  defaultRoute: t = !1,
2180
2180
  setupSubscriptions: i = !0,
@@ -2219,7 +2219,7 @@ class Z extends $i {
2219
2219
  const s = i.getAttribute("navigation-subrouter"), o = i.getAttribute("navigation-resource"), a = i.getAttribute("navigation-rdf-type");
2220
2220
  if (a) {
2221
2221
  const n = window.orbit?.components?.filter(
2222
- (d) => d?.routeAttributes?.["rdf-type"] === a
2222
+ (c) => c?.routeAttributes?.["rdf-type"] === a
2223
2223
  );
2224
2224
  n && (r = n[0]?.uniq);
2225
2225
  }
@@ -2250,15 +2250,15 @@ class Z extends $i {
2250
2250
  "@type": t["@type"],
2251
2251
  "@context": t.serverContext,
2252
2252
  _originalResource: t
2253
- }, a = r.map(async (d) => {
2254
- if (!s?.includes(d.key)) return;
2255
- let u = await t.get(d.key);
2256
- return d.expand && (u = await this._getProxyValue(u, i, r)), d.cast && (u = await d.cast(u)), { prop: d, value: u };
2253
+ }, a = r.map(async (c) => {
2254
+ if (!s?.includes(c.key)) return;
2255
+ let u = await t.get(c.key);
2256
+ return c.expand && (u = await this._getProxyValue(u, i, r)), c.cast && (u = await c.cast(u)), { prop: c, value: u };
2257
2257
  }), n = (await Promise.all(a)).filter(
2258
- (d) => d !== void 0
2258
+ (c) => c !== void 0
2259
2259
  );
2260
- for (const { prop: d, value: u } of n)
2261
- u !== void 0 && (o[d.value] = u);
2260
+ for (const { prop: c, value: u } of n)
2261
+ u !== void 0 && (o[c.value] = u);
2262
2262
  return await this._responseAdaptator(o);
2263
2263
  }
2264
2264
  async _hasCherryPickedProperties(t) {
@@ -2319,7 +2319,7 @@ ct([
2319
2319
  ct([
2320
2320
  B()
2321
2321
  ], Z.prototype, "currentRoute");
2322
- var Xo = Object.defineProperty, gt = (e, t, i, r) => {
2322
+ var Xo = Object.defineProperty, yt = (e, t, i, r) => {
2323
2323
  for (var s = void 0, o = e.length - 1, a; o >= 0; o--)
2324
2324
  (a = e[o]) && (s = a(t, i, s) || s);
2325
2325
  return s && Xo(t, i, s), s;
@@ -2403,12 +2403,12 @@ class X extends Z {
2403
2403
  );
2404
2404
  if (r?.["dcat:dataset"]) {
2405
2405
  const s = r["dcat:dataset"], o = Array.isArray(s) ? s : [s], a = r.participantId || r["edc:participantId"] || r["https://w3id.org/edc/v0.0.1/ns/participantId"], n = i.participantId || a;
2406
- return o.map((d) => (d._provider = {
2406
+ return o.map((c) => (c._provider = {
2407
2407
  name: i.name,
2408
2408
  address: i.address,
2409
2409
  color: i.color || "#1976d2",
2410
2410
  participantId: n
2411
- }, d));
2411
+ }, c));
2412
2412
  }
2413
2413
  return [];
2414
2414
  } catch {
@@ -2427,31 +2427,31 @@ class X extends Z {
2427
2427
  return this.storeService;
2428
2428
  }
2429
2429
  }
2430
- gt([
2430
+ yt([
2431
2431
  _({ attribute: "participant-connector-uri", reflect: !0 })
2432
2432
  ], X.prototype, "participantConnectorUri");
2433
- gt([
2433
+ yt([
2434
2434
  _({ attribute: "participant-id", reflect: !0 })
2435
2435
  ], X.prototype, "participantId");
2436
- gt([
2436
+ yt([
2437
2437
  _({ attribute: "participant-api-key", reflect: !0 })
2438
2438
  ], X.prototype, "participantApiKey");
2439
- gt([
2439
+ yt([
2440
2440
  _({ attribute: "api-gateway-config", reflect: !0 })
2441
2441
  ], X.prototype, "apiGatewayConfig");
2442
- gt([
2442
+ yt([
2443
2443
  B()
2444
2444
  ], X.prototype, "storeService");
2445
- gt([
2445
+ yt([
2446
2446
  B()
2447
2447
  ], X.prototype, "dspStoreService");
2448
- gt([
2448
+ yt([
2449
2449
  B()
2450
2450
  ], X.prototype, "_apiGatewayConfigParsed");
2451
- gt([
2451
+ yt([
2452
2452
  _({ type: Array })
2453
2453
  ], X.prototype, "providers");
2454
- const F = window.orbit?.client.rdf_tems_scope || "https://tems-dataspace.eu/owl#", Vr = `${F}Image`, Kr = `${F}Licence`, Yr = `${F}Asset`, Jr = `${F}Location`, Qo = `${F}Service`, ta = `${F}Offer`, ea = `${F}DataOffer`, ia = `${F}Provider`, wi = `${F}Object`, Zr = `${F}MediaObject`, Xr = `${F}FactChecking`, Qr = `${F}CivilSociety`, ts = `${F}Story`, es = `${F}InteractiveInfographic`, _i = `${F}3DObject`, ra = `${F}Sentiment`, It = {};
2454
+ const F = window.orbit?.client.rdf_tems_scope || "https://tems-dataspace.eu/owl#", Vr = `${F}Image`, Kr = `${F}Licence`, Yr = `${F}Asset`, Jr = `${F}Location`, Qo = `${F}Service`, ta = `${F}Offer`, ea = `${F}DataOffer`, ia = `${F}Provider`, $i = `${F}Object`, Zr = `${F}MediaObject`, Xr = `${F}FactChecking`, Qr = `${F}CivilSociety`, ts = `${F}Story`, es = `${F}InteractiveInfographic`, _i = `${F}3DObject`, ra = `${F}Sentiment`, It = {};
2455
2455
  It[_i] = "3D Object";
2456
2456
  It[Xr] = "Fact Checking";
2457
2457
  It[Qr] = "Civil Society";
@@ -2469,7 +2469,7 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2469
2469
  RDFTYPE_LICENCE: Kr,
2470
2470
  RDFTYPE_LOCATION: Jr,
2471
2471
  RDFTYPE_MEDIA_OBJECT: Zr,
2472
- RDFTYPE_OBJECT: wi,
2472
+ RDFTYPE_OBJECT: $i,
2473
2473
  RDFTYPE_OFFER: ta,
2474
2474
  RDFTYPE_PROVIDER: ia,
2475
2475
  RDFTYPE_SENTIMENT: ra,
@@ -2479,7 +2479,7 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2479
2479
  RDFTYPE_TEMS: F,
2480
2480
  typeMap: It
2481
2481
  }, Symbol.toStringTag, { value: "Module" })), sa = Object.values(is);
2482
- class xi extends $i {
2482
+ class xi extends wi {
2483
2483
  renderTemplateWhenWith(t, i, r = this.objects) {
2484
2484
  const s = (o, a) => Array.isArray(o) ? o.some((n) => a(n)) : a(o);
2485
2485
  return t.filter(
@@ -2525,7 +2525,7 @@ class O extends xi {
2525
2525
  const s = i.getAttribute("navigation-subrouter"), o = i.getAttribute("navigation-resource"), a = i.getAttribute("navigation-rdf-type");
2526
2526
  if (a) {
2527
2527
  const n = window.orbit?.components?.filter(
2528
- (d) => d?.routeAttributes?.["rdf-type"] === a
2528
+ (c) => c?.routeAttributes?.["rdf-type"] === a
2529
2529
  );
2530
2530
  n && (r = n[0]?.uniq);
2531
2531
  }
@@ -2763,7 +2763,7 @@ const Pi = ({
2763
2763
  for (const r of e._subscriptions)
2764
2764
  document.removeEventListener(r[0], r[1]);
2765
2765
  }, e._subscribe();
2766
- }, wr = Object.values(is);
2766
+ }, $r = Object.values(is);
2767
2767
  class na extends ko {
2768
2768
  getNestedProperty(t, i = this.object) {
2769
2769
  return t.split(".").reduce((r, s) => {
@@ -2771,23 +2771,23 @@ class na extends ko {
2771
2771
  return;
2772
2772
  const o = s.match(/(.*)\[(.*)\]/);
2773
2773
  if (o) {
2774
- const a = o[1], n = o[2], d = r[a];
2775
- if (!Array.isArray(d))
2774
+ const a = o[1], n = o[2], c = r[a];
2775
+ if (!Array.isArray(c))
2776
2776
  return;
2777
2777
  if (n === "")
2778
- return d.length > 0 ? d : void 0;
2778
+ return c.length > 0 ? c : void 0;
2779
2779
  const u = Number.parseInt(n, 10);
2780
- return Number.isNaN(u) || u < 0 || u >= d.length ? void 0 : r[a][u];
2780
+ return Number.isNaN(u) || u < 0 || u >= c.length ? void 0 : r[a][u];
2781
2781
  }
2782
2782
  return r && r[s] !== "undefined" ? r[s] : void 0;
2783
2783
  }, i);
2784
2784
  }
2785
2785
  renderTemplateWhenWith(t, i, r = this.object) {
2786
- const s = (a, n) => Array.isArray(a) ? a.some((d) => n(d)) : n(a), o = t.filter(
2787
- (a) => s(a, (n) => wr.includes(n))
2786
+ const s = (a, n) => Array.isArray(a) ? a.some((c) => n(c)) : n(a), o = t.filter(
2787
+ (a) => s(a, (n) => $r.includes(n))
2788
2788
  );
2789
2789
  return t.filter(
2790
- (a) => s(a, (n) => !wr.includes(n))
2790
+ (a) => s(a, (n) => !$r.includes(n))
2791
2791
  ).every(
2792
2792
  (a) => s(a, (n) => this.getNestedProperty(n, r))
2793
2793
  ) && o.every(
@@ -3156,8 +3156,8 @@ class la {
3156
3156
  * Render constraint as human-readable text
3157
3157
  */
3158
3158
  renderConstraint(t) {
3159
- const i = t["odrl:leftOperand"] || t.leftOperand || "", r = t["odrl:operator"] || t.operator || "", s = t["odrl:rightOperand"] || t.rightOperand || "", o = t["odrl:unit"] || t.unit, a = this.humanizeLeftOperand(i), n = this.humanizeOperator(r), d = this.formatRightOperand(s, o);
3160
- return `${a} ${n} ${d}`;
3159
+ const i = t["odrl:leftOperand"] || t.leftOperand || "", r = t["odrl:operator"] || t.operator || "", s = t["odrl:rightOperand"] || t.rightOperand || "", o = t["odrl:unit"] || t.unit, a = this.humanizeLeftOperand(i), n = this.humanizeOperator(r), c = this.formatRightOperand(s, o);
3160
+ return `${a} ${n} ${c}`;
3161
3161
  }
3162
3162
  /**
3163
3163
  * Get permissions from policy
@@ -3214,8 +3214,8 @@ class la {
3214
3214
  ✅ PERMISSIONS:`), i.forEach((o, a) => {
3215
3215
  const n = this.extractAction(o["odrl:action"] || o.action || "");
3216
3216
  t.push(` ${a + 1}. You MAY: ${n.join(", ")}`);
3217
- const d = this.getConstraints(o);
3218
- d.length > 0 && (t.push(" Conditions:"), d.forEach((m) => {
3217
+ const c = this.getConstraints(o);
3218
+ c.length > 0 && (t.push(" Conditions:"), c.forEach((m) => {
3219
3219
  t.push(` - ${this.renderConstraint(m)}`);
3220
3220
  }));
3221
3221
  const u = this.getDuties(o);
@@ -3229,8 +3229,8 @@ class la {
3229
3229
  ❌ PROHIBITIONS:`), r.forEach((o, a) => {
3230
3230
  const n = this.extractAction(o["odrl:action"] || o.action || "");
3231
3231
  t.push(` ${a + 1}. You MUST NOT: ${n.join(", ")}`);
3232
- const d = this.getConstraints(o);
3233
- d.length > 0 && (t.push(" Conditions:"), d.forEach((u) => {
3232
+ const c = this.getConstraints(o);
3233
+ c.length > 0 && (t.push(" Conditions:"), c.forEach((u) => {
3234
3234
  t.push(` - ${this.renderConstraint(u)}`);
3235
3235
  }));
3236
3236
  }));
@@ -3239,8 +3239,8 @@ class la {
3239
3239
  ⚠️ OBLIGATIONS:`), s.forEach((o, a) => {
3240
3240
  const n = this.extractAction(o["odrl:action"] || o.action || "");
3241
3241
  t.push(` ${a + 1}. You MUST: ${n.join(", ")}`);
3242
- const d = this.getConstraints(o);
3243
- d.length > 0 && (t.push(" Conditions:"), d.forEach((u) => {
3242
+ const c = this.getConstraints(o);
3243
+ c.length > 0 && (t.push(" Conditions:"), c.forEach((u) => {
3244
3244
  t.push(` - ${this.renderConstraint(u)}`);
3245
3245
  }));
3246
3246
  })), t.join(`
@@ -3260,8 +3260,8 @@ class la {
3260
3260
  n.length > 0 && (t.push('<ul class="odrl-constraints">'), n.forEach((u) => {
3261
3261
  t.push(`<li>${this.renderConstraint(u)}</li>`);
3262
3262
  }), t.push("</ul>"));
3263
- const d = this.getDuties(o);
3264
- d.length > 0 && (t.push('<div class="odrl-duties">You must also:</div>'), t.push('<ul class="odrl-duties-list">'), d.forEach((u) => {
3263
+ const c = this.getDuties(o);
3264
+ c.length > 0 && (t.push('<div class="odrl-duties">You must also:</div>'), t.push('<ul class="odrl-duties-list">'), c.forEach((u) => {
3265
3265
  const m = this.extractAction(u["odrl:action"] || u.action || "");
3266
3266
  t.push(`<li>${m.join(", ")}</li>`);
3267
3267
  }), t.push("</ul>")), t.push("</li>");
@@ -3271,8 +3271,8 @@ class la {
3271
3271
  const a = this.extractAction(o["odrl:action"] || o.action || "");
3272
3272
  t.push(`<li><strong>${a.join(", ")}</strong>`);
3273
3273
  const n = this.getConstraints(o);
3274
- n.length > 0 && (t.push('<ul class="odrl-constraints">'), n.forEach((d) => {
3275
- t.push(`<li>${this.renderConstraint(d)}</li>`);
3274
+ n.length > 0 && (t.push('<ul class="odrl-constraints">'), n.forEach((c) => {
3275
+ t.push(`<li>${this.renderConstraint(c)}</li>`);
3276
3276
  }), t.push("</ul>")), t.push("</li>");
3277
3277
  }), t.push("</ul>"), t.push("</div>"));
3278
3278
  const s = this.getObligations();
@@ -3280,8 +3280,8 @@ class la {
3280
3280
  const a = this.extractAction(o["odrl:action"] || o.action || "");
3281
3281
  t.push(`<li><strong>${a.join(", ")}</strong>`);
3282
3282
  const n = this.getConstraints(o);
3283
- n.length > 0 && (t.push('<ul class="odrl-constraints">'), n.forEach((d) => {
3284
- t.push(`<li>${this.renderConstraint(d)}</li>`);
3283
+ n.length > 0 && (t.push('<ul class="odrl-constraints">'), n.forEach((c) => {
3284
+ t.push(`<li>${this.renderConstraint(c)}</li>`);
3285
3285
  }), t.push("</ul>")), t.push("</li>");
3286
3286
  }), t.push("</ul>"), t.push("</div>")), t.push("</div>"), t.join(`
3287
3287
  `);
@@ -3408,7 +3408,7 @@ const di = (e, t) => {
3408
3408
  }, N = () => H(ca, [], {
3409
3409
  "@id": `store://local.sample-object/${Math.floor(Math.random() * 1e3)}/`,
3410
3410
  name: W.generateWords(Math.floor(Math.random() * 3) + 1)
3411
- }), kt = {
3411
+ }), Ft = {
3412
3412
  "@id": "store://local.sample-object/assets/1/",
3413
3413
  "@type": Yr,
3414
3414
  name: "SampleAsset",
@@ -3426,14 +3426,14 @@ const di = (e, t) => {
3426
3426
  }
3427
3427
  ]
3428
3428
  };
3429
- H(kt, ["categories"]);
3430
- H(kt, ["format"]);
3431
- H(kt, [
3429
+ H(Ft, ["categories"]);
3430
+ H(Ft, ["format"]);
3431
+ H(Ft, [
3432
3432
  "categories",
3433
3433
  "format",
3434
3434
  "size"
3435
3435
  ]);
3436
- H(kt, ["@id"], {
3436
+ H(Ft, ["@id"], {
3437
3437
  "@id": "store://local.sample-object/assets/2/"
3438
3438
  });
3439
3439
  const da = () => {
@@ -3447,7 +3447,7 @@ const da = () => {
3447
3447
  () => N()
3448
3448
  )
3449
3449
  };
3450
- return Math.random() < 0.1 && e.push("name"), Math.random() < 0.5 && e.push("categories"), Math.random() < 0.5 && e.push("format"), Math.random() < 0.5 && e.push("size"), H(kt, e, t, !0);
3450
+ return Math.random() < 0.1 && e.push("name"), Math.random() < 0.5 && e.push("categories"), Math.random() < 0.5 && e.push("format"), Math.random() < 0.5 && e.push("size"), H(Ft, e, t, !0);
3451
3451
  }, pa = {
3452
3452
  "@id": "store://local.sample-object/images/1/",
3453
3453
  "@type": Vr,
@@ -3581,7 +3581,7 @@ H(Ci, [
3581
3581
  ]);
3582
3582
  const rs = {
3583
3583
  "@id": "store://local.sample-object/1/",
3584
- "@type": wi,
3584
+ "@type": $i,
3585
3585
  creation_date: "2024-11-11T12:53:16.938000Z",
3586
3586
  update_date: "2024-11-14T08:04:47.656001Z",
3587
3587
  title: "Sample Object",
@@ -3608,7 +3608,7 @@ const rs = {
3608
3608
  });
3609
3609
  const ke = {
3610
3610
  ...rs,
3611
- "@type": [wi, Zr],
3611
+ "@type": [$i, Zr],
3612
3612
  keywords: Array.from(
3613
3613
  { length: Math.floor(Math.random() * 5) },
3614
3614
  N
@@ -3787,7 +3787,7 @@ function ba(e) {
3787
3787
  const t = Si(e);
3788
3788
  t && localStorage.removeItem(t);
3789
3789
  }
3790
- function $a(e, t) {
3790
+ function wa(e, t) {
3791
3791
  try {
3792
3792
  const i = e._provider?.participantId || "", r = e["@id"] || e.id;
3793
3793
  if (!r) return;
@@ -3797,7 +3797,7 @@ function $a(e, t) {
3797
3797
  ).find(
3798
3798
  (a) => a.contractId === t
3799
3799
  )) {
3800
- const a = e["dcat:endpointUrl"], n = e.name || r || "Unknown Asset", d = n.toLowerCase().includes("index");
3800
+ const a = e["dcat:endpointUrl"], n = e.name || r || "Unknown Asset", c = n.toLowerCase().includes("index");
3801
3801
  it.create({
3802
3802
  assetId: r,
3803
3803
  datasetId: e["@id"] || e.id || "",
@@ -3811,7 +3811,7 @@ function $a(e, t) {
3811
3811
  state: "REQUESTED",
3812
3812
  contractId: t,
3813
3813
  // Index-specific fields
3814
- isIndexAsset: d,
3814
+ isIndexAsset: c,
3815
3815
  indexEndpointUrl: a
3816
3816
  });
3817
3817
  }
@@ -3822,7 +3822,7 @@ function $a(e, t) {
3822
3822
  );
3823
3823
  }
3824
3824
  }
3825
- function wa(e, t, i) {
3825
+ function $a(e, t, i) {
3826
3826
  try {
3827
3827
  const r = e._provider?.participantId || "", s = e["@id"] || e.id;
3828
3828
  if (!s) return;
@@ -3831,7 +3831,7 @@ function wa(e, t, i) {
3831
3831
  r
3832
3832
  ).find(
3833
3833
  (m) => m.contractId === i || m.agreementId === t
3834
- ), n = e["dcat:endpointUrl"], d = e.name || s || "Unknown Asset", u = d.toLowerCase().includes("index");
3834
+ ), n = e["dcat:endpointUrl"], c = e.name || s || "Unknown Asset", u = c.toLowerCase().includes("index");
3835
3835
  a ? it.updateState(a.id, "FINALIZED", {
3836
3836
  agreementId: t,
3837
3837
  contractId: i,
@@ -3840,7 +3840,7 @@ function wa(e, t, i) {
3840
3840
  }) : it.create({
3841
3841
  assetId: s,
3842
3842
  datasetId: e["@id"] || e.id || "",
3843
- assetName: d,
3843
+ assetName: c,
3844
3844
  assetDescription: e.description,
3845
3845
  providerName: e._provider?.name || "Unknown Provider",
3846
3846
  providerAddress: e._provider?.address || "",
@@ -3866,7 +3866,7 @@ function ii(e, t, i, r) {
3866
3866
  o,
3867
3867
  s
3868
3868
  ).find(
3869
- (d) => d.contractId === t
3869
+ (c) => c.contractId === t
3870
3870
  );
3871
3871
  n && it.updateState(n.id, i, { error: r });
3872
3872
  } catch (s) {
@@ -3901,8 +3901,8 @@ function Pr(e) {
3901
3901
  const o = e.target, a = [];
3902
3902
  for (const n in e)
3903
3903
  if (/^\d+$/.test(n)) {
3904
- let d = e[n];
3905
- o && !d.target && !d["odrl:target"] && (d = { ...d, target: o, "odrl:target": o }), a.push(d);
3904
+ let c = e[n];
3905
+ o && !c.target && !c["odrl:target"] && (c = { ...c, target: o, "odrl:target": o }), a.push(c);
3906
3906
  }
3907
3907
  t = a, i = t.length > 0 ? t[0] : void 0;
3908
3908
  } else
@@ -3919,29 +3919,29 @@ function Pa(e) {
3919
3919
  return e && e.length > 1;
3920
3920
  }
3921
3921
  function Aa(e) {
3922
- if (!e) return c`${l("No policy details available")}`;
3922
+ if (!e) return d`${l("No policy details available")}`;
3923
3923
  const t = e["odrl:permission"], i = e["odrl:prohibition"], r = e["odrl:obligation"], s = t ? Array.isArray(t) ? t : [t] : [], o = i ? Array.isArray(i) ? i : [i] : [], a = r ? Array.isArray(r) ? r : [r] : [];
3924
- return c`${e["@id"] ? c`<div class="policy-detail">
3924
+ return d`${e["@id"] ? d`<div class="policy-detail">
3925
3925
  <strong>${l("Policy ID:")}:</strong> ${e["@id"]}
3926
3926
  </div>` : p}
3927
- ${e["@type"] ? c`<div class="policy-detail">
3927
+ ${e["@type"] ? d`<div class="policy-detail">
3928
3928
  <strong>${l("Type:")}:</strong> ${e["@type"]}
3929
3929
  </div>` : p}
3930
- ${s.length > 0 ? c`<div class="policy-detail">
3930
+ ${s.length > 0 ? d`<div class="policy-detail">
3931
3931
  <strong>${l("Permissions:")}:</strong>
3932
3932
  <ul>
3933
3933
  ${s.map(
3934
- (n) => c`
3934
+ (n) => d`
3935
3935
  <li>
3936
3936
  ${l(
3937
- $`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("use")}`
3937
+ w`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("use")}`
3938
3938
  )}
3939
3939
  </li>
3940
- ${n["odrl:constraint"] ? c`${(Array.isArray(n["odrl:constraint"]) ? n["odrl:constraint"] : [n["odrl:constraint"]]).map(
3941
- (d) => c`
3940
+ ${n["odrl:constraint"] ? d`${(Array.isArray(n["odrl:constraint"]) ? n["odrl:constraint"] : [n["odrl:constraint"]]).map(
3941
+ (c) => d`
3942
3942
  <li style="margin-left: 20px;">
3943
3943
  ${l(
3944
- $`Constraint: ${d["odrl:leftOperand"]} ${d["odrl:operator"]} ${d["odrl:rightOperand"]}`
3944
+ w`Constraint: ${c["odrl:leftOperand"]} ${c["odrl:operator"]} ${c["odrl:rightOperand"]}`
3945
3945
  )}
3946
3946
  </li>
3947
3947
  `
@@ -3950,38 +3950,38 @@ function Aa(e) {
3950
3950
  )}
3951
3951
  </ul>
3952
3952
  </div>` : p}
3953
- ${o.length > 0 ? c`<div class="policy-detail">
3953
+ ${o.length > 0 ? d`<div class="policy-detail">
3954
3954
  <strong>${l("Prohibitions:")}:</strong>
3955
3955
  <ul>
3956
3956
  ${o.map(
3957
- (n) => c`
3957
+ (n) => d`
3958
3958
  <li>
3959
3959
  ${l(
3960
- $`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("unknown")}`
3960
+ w`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("unknown")}`
3961
3961
  )}
3962
3962
  </li>
3963
3963
  `
3964
3964
  )}
3965
3965
  </ul>
3966
3966
  </div>` : p}
3967
- ${a.length > 0 ? c`<div class="policy-detail">
3967
+ ${a.length > 0 ? d`<div class="policy-detail">
3968
3968
  <strong>${l("Obligations:")}:</strong>
3969
3969
  <ul>
3970
3970
  ${a.map(
3971
- (n) => c`
3971
+ (n) => d`
3972
3972
  <li>
3973
3973
  ${l(
3974
- $`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("unknown")}`
3974
+ w`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("unknown")}`
3975
3975
  )}
3976
3976
  </li>
3977
3977
  `
3978
3978
  )}
3979
3979
  </ul>
3980
3980
  </div>` : p}
3981
- ${e.target ? c`<div class="policy-detail">
3981
+ ${e.target ? d`<div class="policy-detail">
3982
3982
  <strong>${l("Target Asset:")}:</strong> ${e.target}
3983
3983
  </div>` : p}
3984
- ${e.assigner ? c`<div class="policy-detail">
3984
+ ${e.assigner ? d`<div class="policy-detail">
3985
3985
  <strong>${l("Assigner:")}:</strong> ${e.assigner}
3986
3986
  </div>` : p}`;
3987
3987
  }
@@ -4011,13 +4011,13 @@ let Ce = class extends C {
4011
4011
  });
4012
4012
  const t = this.object?.categories?.length || 0;
4013
4013
  t > 3 && e.push({
4014
- label: l($`+${t - 3} ${l("more")}`),
4014
+ label: l(w`+${t - 3} ${l("more")}`),
4015
4015
  type: "neutral"
4016
4016
  });
4017
4017
  const i = this.object?.medias?.length || 0;
4018
4018
  return i > 0 && e.push({
4019
4019
  label: l(
4020
- $`${i} ${i > 1 ? l("medias") : l("media")}`
4020
+ w`${i} ${i > 1 ? l("medias") : l("media")}`
4021
4021
  ),
4022
4022
  type: "information"
4023
4023
  }), e;
@@ -4025,31 +4025,31 @@ let Ce = class extends C {
4025
4025
  render() {
4026
4026
  if (!this.object) return p;
4027
4027
  const e = this._getTags(), t = this._getFormattedDate();
4028
- return c`<article class="vertical">
4028
+ return d`<article class="vertical">
4029
4029
  <header
4030
4030
  class="image"
4031
4031
  style='background-image: url("${this._getThumbnail()}")'
4032
4032
  ></header>
4033
4033
  <main>
4034
- ${t ? c`<div class="meta-info">
4034
+ ${t ? d`<div class="meta-info">
4035
4035
  <span class="date">${t}</span>
4036
4036
  </div>` : p}
4037
4037
  <div class="content">
4038
- ${this.object?.name ? c`<div class="card-header">
4038
+ ${this.object?.name ? d`<div class="card-header">
4039
4039
  <tems-division
4040
4040
  label=${this.object?.name}
4041
4041
  type="h4"
4042
4042
  ></tems-division>
4043
4043
  </div>` : p}
4044
- ${this.object?.description ? c`<div class="card-content">
4044
+ ${this.object?.description ? d`<div class="card-content">
4045
4045
  <tems-division
4046
4046
  label=${this.object?.description}
4047
4047
  type="body-m"
4048
4048
  ></tems-division>
4049
4049
  </div>` : p}
4050
- ${e.length > 0 ? c`<div class="tags">
4050
+ ${e.length > 0 ? d`<div class="tags">
4051
4051
  ${e.map(
4052
- (i) => c`<tems-badge
4052
+ (i) => d`<tems-badge
4053
4053
  size="sm"
4054
4054
  label=${i.label}
4055
4055
  type=${i.type}
@@ -4057,7 +4057,7 @@ let Ce = class extends C {
4057
4057
  ></tems-badge>`
4058
4058
  )}
4059
4059
  </div>` : p}
4060
- ${this.object.author ? c`<div class="meta-info">
4060
+ ${this.object.author ? d`<div class="meta-info">
4061
4061
  <span class="author">${l("By")} ${this.object.author}</span>
4062
4062
  </div>` : p}
4063
4063
  </div>
@@ -4072,14 +4072,14 @@ ss([
4072
4072
  y({ attribute: !1 })
4073
4073
  ], Ce.prototype, "object", 2);
4074
4074
  Ce = ss([
4075
- w("ds4go-card-fact")
4075
+ $("ds4go-card-fact")
4076
4076
  ], Ce);
4077
4077
  var Ea = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, Fe = (e, t, i, r) => {
4078
4078
  for (var s = r > 1 ? void 0 : r ? Oa(t, i) : t, o = e.length - 1, a; o >= 0; o--)
4079
4079
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
4080
4080
  return r && s && Ea(t, i, s), s;
4081
4081
  };
4082
- let Ft = class extends xi {
4082
+ let Mt = class extends xi {
4083
4083
  constructor() {
4084
4084
  super(...arguments), this.view = "card", this.search = [], this.objects = [], this._displayObjects = [];
4085
4085
  }
@@ -4141,7 +4141,7 @@ let Ft = class extends xi {
4141
4141
  break;
4142
4142
  default:
4143
4143
  o.push(
4144
- Ut(r, a.value)
4144
+ Lt(r, a.value)
4145
4145
  );
4146
4146
  }
4147
4147
  r = [...o.flat()];
@@ -4160,10 +4160,10 @@ let Ft = class extends xi {
4160
4160
  }
4161
4161
  }
4162
4162
  render() {
4163
- return !this._displayObjects || this._displayObjects.length === 0 ? p : c`<div
4163
+ return !this._displayObjects || this._displayObjects.length === 0 ? p : d`<div
4164
4164
  class="card-grid${this.view === "card" ? " card-grid-vertical" : ""}"
4165
4165
  >
4166
- ${this._displayObjects.map((e) => c`<ds4go-card-dataspace-catalog
4166
+ ${this._displayObjects.map((e) => d`<ds4go-card-dataspace-catalog
4167
4167
  .object=${e}
4168
4168
  type=${this.view === "card" ? "card" : "horizontal"}
4169
4169
  @click=${() => this._handleClickEvent(e)}
@@ -4171,7 +4171,7 @@ let Ft = class extends xi {
4171
4171
  </div>`;
4172
4172
  }
4173
4173
  };
4174
- Ft.styles = A`
4174
+ Mt.styles = A`
4175
4175
  .card-grid {
4176
4176
  display: flex;
4177
4177
  flex-direction: row;
@@ -4191,17 +4191,17 @@ Ft.styles = A`
4191
4191
  `;
4192
4192
  Fe([
4193
4193
  h()
4194
- ], Ft.prototype, "view", 2);
4194
+ ], Mt.prototype, "view", 2);
4195
4195
  Fe([
4196
4196
  h()
4197
- ], Ft.prototype, "search", 2);
4197
+ ], Mt.prototype, "search", 2);
4198
4198
  Fe([
4199
4199
  h()
4200
- ], Ft.prototype, "_displayObjects", 2);
4201
- Ft = Fe([
4202
- w("ds4go-catalog-data-holder")
4203
- ], Ft);
4204
- var Ia = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, yt = (e, t, i, r) => {
4200
+ ], Mt.prototype, "_displayObjects", 2);
4201
+ Mt = Fe([
4202
+ $("ds4go-catalog-data-holder")
4203
+ ], Mt);
4204
+ var Ia = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, vt = (e, t, i, r) => {
4205
4205
  for (var s = r > 1 ? void 0 : r ? Ra(t, i) : t, o = e.length - 1, a; o >= 0; o--)
4206
4206
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
4207
4207
  return r && s && Ia(t, i, s), s;
@@ -4264,7 +4264,7 @@ let Y = class extends xi {
4264
4264
  }
4265
4265
  // matchId
4266
4266
  renderFilterItemsById(e, t) {
4267
- return e ? c`${G(
4267
+ return e ? d`${G(
4268
4268
  e.flatMap((i) => {
4269
4269
  let r = i;
4270
4270
  return t && (r = r[t], !r) ? [] : r;
@@ -4274,7 +4274,7 @@ let Y = class extends xi {
4274
4274
  const r = !!this._internalFilters.find(
4275
4275
  (s) => s.type === "matchId" && s.name === t && s.value === i["@id"]
4276
4276
  );
4277
- return c`<tems-filter-item
4277
+ return d`<tems-filter-item
4278
4278
  label=${i.name}
4279
4279
  type="checkbox"
4280
4280
  count=${this.objects?.filter((s) => {
@@ -4303,7 +4303,7 @@ let Y = class extends xi {
4303
4303
  const i = this._internalFilters.find(
4304
4304
  (r) => r.type === "matchValue" && r.name === t
4305
4305
  );
4306
- return c`
4306
+ return d`
4307
4307
  <tems-input-field
4308
4308
  label=${l("Search for...")}
4309
4309
  type="text"
@@ -4327,7 +4327,7 @@ let Y = class extends xi {
4327
4327
  const i = this._internalFilters.find(
4328
4328
  (r) => r.type === "dateAfter" && r.name === t
4329
4329
  );
4330
- return c`
4330
+ return d`
4331
4331
  <tems-input-field
4332
4332
  label=${l("Date after")}
4333
4333
  type="date"
@@ -4347,24 +4347,24 @@ let Y = class extends xi {
4347
4347
  renderFilterItemsByNumberRange(e, t) {
4348
4348
  if (!e)
4349
4349
  return p;
4350
- const i = e.map((d) => Number(d[t]) || 0).filter(Number.isFinite), r = i.length > 0 ? Math.min(...i) : 0, s = i.length > 0 ? Math.max(...i) : 0;
4350
+ const i = e.map((c) => Number(c[t]) || 0).filter(Number.isFinite), r = i.length > 0 ? Math.min(...i) : 0, s = i.length > 0 ? Math.max(...i) : 0;
4351
4351
  if (r === s)
4352
4352
  return p;
4353
4353
  const o = this._internalFilters.find(
4354
- (d) => d.type === "interval" && d.name === t
4354
+ (c) => c.type === "interval" && c.name === t
4355
4355
  ), a = o?.value?.split("/")[0] || r, n = o?.value?.split("/")[1] || s;
4356
- return c`
4356
+ return d`
4357
4357
  <tems-slider
4358
4358
  type="multiple"
4359
4359
  min=${r}
4360
4360
  max=${s}
4361
4361
  value=${a}
4362
4362
  value-max=${n}
4363
- @change=${(d) => {
4364
- d.preventDefault(), this._internalFilters = this._internalFilters.filter(
4363
+ @change=${(c) => {
4364
+ c.preventDefault(), this._internalFilters = this._internalFilters.filter(
4365
4365
  (f) => !(f.type === "interval" && f.name === t)
4366
4366
  );
4367
- const u = d.detail.min ?? 0, m = d.detail.max ?? 0;
4367
+ const u = c.detail.min ?? 0, m = c.detail.max ?? 0;
4368
4368
  this._internalFilters.push({
4369
4369
  type: "interval",
4370
4370
  name: t,
@@ -4391,7 +4391,7 @@ let Y = class extends xi {
4391
4391
  }
4392
4392
  render() {
4393
4393
  const e = this._getFiltersDefinition();
4394
- return c`
4394
+ return d`
4395
4395
  <div>
4396
4396
  <tems-search-bar
4397
4397
  .displayFilters=${this.displayFiltering}
@@ -4408,7 +4408,7 @@ let Y = class extends xi {
4408
4408
  @change-view=${this._toggleChangeView}
4409
4409
  @toggle-filters=${this._displayFilters}
4410
4410
  ></tems-search-bar>
4411
- ${this.displayFilters ? c`<div
4411
+ ${this.displayFilters ? d`<div
4412
4412
  class="filter-bar"
4413
4413
  @click=${this._hideFiltersFromBackground}
4414
4414
  >
@@ -4423,7 +4423,7 @@ let Y = class extends xi {
4423
4423
  let i = !0;
4424
4424
  return t.type && typeof t.type == "string" ? i = this.hasType(t.type, this.objects) : t.type && Array.isArray(t.type) && (i = t.type.flat().some(
4425
4425
  (s) => this.hasType(s, this.objects)
4426
- )), i && t.condition() ? c`<tems-vertical-accordion
4426
+ )), i && t.condition() ? d`<tems-vertical-accordion
4427
4427
  label=${t.label}
4428
4428
  .icon=${t.icon}
4429
4429
  .open=${this._accordionStates[t.name] ?? !1}
@@ -4452,29 +4452,29 @@ Y.styles = A`
4452
4452
  justify-content: flex-end;
4453
4453
  }
4454
4454
  `;
4455
- yt([
4455
+ vt([
4456
4456
  y({ attribute: !1 })
4457
4457
  ], Y.prototype, "displayFiltering", 2);
4458
- yt([
4458
+ vt([
4459
4459
  h()
4460
4460
  ], Y.prototype, "_internalFilters", 2);
4461
- yt([
4461
+ vt([
4462
4462
  h()
4463
4463
  ], Y.prototype, "displayFilters", 2);
4464
- yt([
4464
+ vt([
4465
4465
  h()
4466
4466
  ], Y.prototype, "resultCount", 2);
4467
- yt([
4467
+ vt([
4468
4468
  h()
4469
4469
  ], Y.prototype, "filterCount", 2);
4470
- yt([
4470
+ vt([
4471
4471
  h()
4472
4472
  ], Y.prototype, "view", 2);
4473
- yt([
4473
+ vt([
4474
4474
  h()
4475
4475
  ], Y.prototype, "_accordionStates", 2);
4476
- Y = yt([
4477
- w("ds4go-catalog-filter-holder")
4476
+ Y = vt([
4477
+ $("ds4go-catalog-filter-holder")
4478
4478
  ], Y);
4479
4479
  var Da = Object.defineProperty, Ta = Object.getOwnPropertyDescriptor, Ei = (e, t, i, r) => {
4480
4480
  for (var s = r > 1 ? void 0 : r ? Ta(t, i) : t, o = e.length - 1, a; o >= 0; o--)
@@ -4543,7 +4543,7 @@ let te = class extends ne {
4543
4543
  break;
4544
4544
  default:
4545
4545
  o.push(
4546
- Ut(r, a.value)
4546
+ Lt(r, a.value)
4547
4547
  );
4548
4548
  }
4549
4549
  r = [...o.flat()];
@@ -4561,20 +4561,20 @@ let te = class extends ne {
4561
4561
  ));
4562
4562
  }
4563
4563
  render() {
4564
- return !this._displayObjects || this._displayObjects.length === 0 ? p : c`<div class="card-grid card-grid-vertical">
4564
+ return !this._displayObjects || this._displayObjects.length === 0 ? p : d`<div class="card-grid card-grid-vertical">
4565
4565
  ${this._displayObjects.map((e) => {
4566
4566
  const t = [
4567
4567
  {
4568
- name: `${l($`Balance: ${e.balance}`)}`,
4568
+ name: `${l(w`Balance: ${e.balance}`)}`,
4569
4569
  type: "information"
4570
4570
  }
4571
4571
  ];
4572
- return c`<ds4go-card-catalog
4572
+ return d`<ds4go-card-catalog
4573
4573
  .object=${p}
4574
4574
  type=${"vertical"}
4575
4575
  .tags=${t}
4576
4576
  .header=${e.name || p}
4577
- .content=${e.participant_id ? l($`Participant ID: ${e.participant_id}`) : p}
4577
+ .content=${e.participant_id ? l(w`Participant ID: ${e.participant_id}`) : p}
4578
4578
  date=${e.updated_at || p}
4579
4579
  @click=${() => this._handleClickEvent(e)}
4580
4580
  ></ds4go-card-catalog>`;
@@ -4607,14 +4607,14 @@ Ei([
4607
4607
  h()
4608
4608
  ], te.prototype, "_displayObjects", 2);
4609
4609
  te = Ei([
4610
- w("ds4go-customer-holder")
4610
+ $("ds4go-customer-holder")
4611
4611
  ], te);
4612
4612
  var ja = Object.defineProperty, ka = Object.getOwnPropertyDescriptor, Me = (e, t, i, r) => {
4613
4613
  for (var s = r > 1 ? void 0 : r ? ka(t, i) : t, o = e.length - 1, a; o >= 0; o--)
4614
4614
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
4615
4615
  return r && s && ja(t, i, s), s;
4616
4616
  };
4617
- let Mt = class extends C {
4617
+ let Nt = class extends C {
4618
4618
  constructor() {
4619
4619
  super(...arguments), this.objects = [], this.search = [], this._displayObjects = [];
4620
4620
  }
@@ -4677,7 +4677,7 @@ let Mt = class extends C {
4677
4677
  break;
4678
4678
  default:
4679
4679
  o.push(
4680
- Ut(r, a.value)
4680
+ Lt(r, a.value)
4681
4681
  );
4682
4682
  }
4683
4683
  r = [...o.flat()];
@@ -4738,34 +4738,34 @@ let Mt = class extends C {
4738
4738
  return e.sectorName && t.push({ name: pt(e.sectorName), type: "neutral" }), t;
4739
4739
  }
4740
4740
  render() {
4741
- return !this._displayObjects || this._displayObjects.length === 0 ? c`<p>
4741
+ return !this._displayObjects || this._displayObjects.length === 0 ? d`<p>
4742
4742
  ${l(
4743
4743
  "No data available, data source may be temporarily unavailable."
4744
4744
  )}
4745
4745
  </p>
4746
- ${this.sectorId || this.catalogId ? c`<tems-button
4746
+ ${this.sectorId || this.catalogId ? d`<tems-button
4747
4747
  type="primary"
4748
4748
  label=${l("Back")}
4749
4749
  @click=${this.parent._back}
4750
- ></tems-button>` : c`<tems-button
4750
+ ></tems-button>` : d`<tems-button
4751
4751
  type="primary"
4752
4752
  label=${l("Retry")}
4753
4753
  @click=${this.parent.requestUpdate}
4754
- ></tems-button>`}` : c`<div>
4755
- ${this.catalogId && this.catalogId !== "*" ? c`<tems-division type="body-m"
4754
+ ></tems-button>`}` : d`<div>
4755
+ ${this.catalogId && this.catalogId !== "*" ? d`<tems-division type="body-m"
4756
4756
  >${this._displayObjects["dct:description"]}</tems-division
4757
4757
  >` : p}
4758
4758
  <div class="card-grid card-grid-vertical">
4759
- ${this.catalogId ? c`${this._displayObjects["dcat:dataset"].map(
4760
- (e) => c`<ds4go-card-catalog
4759
+ ${this.catalogId ? d`${this._displayObjects["dcat:dataset"].map(
4760
+ (e) => d`<ds4go-card-catalog
4761
4761
  .object=${p}
4762
4762
  .header=${e["dct:title"] || p}
4763
4763
  .content=${e["dct:description"] || p}
4764
4764
  .tags=${this._getDatasetTags(e)}
4765
4765
  .image=${this._getDatasetThumbnail(e)}
4766
4766
  ></ds4go-card-catalog>`
4767
- )}` : this.sectorId ? c`${this._displayObjects.map(
4768
- (e) => c`<ds4go-card-catalog
4767
+ )}` : this.sectorId ? d`${this._displayObjects.map(
4768
+ (e) => d`<ds4go-card-catalog
4769
4769
  class="cursor-pointer"
4770
4770
  .object=${p}
4771
4771
  .header=${e.catalogId || p}
@@ -4774,8 +4774,8 @@ let Mt = class extends C {
4774
4774
  date=${M(e.lastUpdated) || p}
4775
4775
  @click=${() => this.parent._selectCatalog(e.catalogId)}
4776
4776
  ></ds4go-card-catalog>`
4777
- )}` : c`${this._displayObjects.map(
4778
- (e) => c`<ds4go-card-catalog
4777
+ )}` : d`${this._displayObjects.map(
4778
+ (e) => d`<ds4go-card-catalog
4779
4779
  class="cursor-pointer"
4780
4780
  .object=${p}
4781
4781
  .header=${e.id || p}
@@ -4789,7 +4789,7 @@ let Mt = class extends C {
4789
4789
  </div>`;
4790
4790
  }
4791
4791
  };
4792
- Mt.styles = A`
4792
+ Nt.styles = A`
4793
4793
  .card-grid {
4794
4794
  display: flex;
4795
4795
  flex-direction: row;
@@ -4812,16 +4812,16 @@ Mt.styles = A`
4812
4812
  `;
4813
4813
  Me([
4814
4814
  y({ attribute: !1 })
4815
- ], Mt.prototype, "objects", 2);
4815
+ ], Nt.prototype, "objects", 2);
4816
4816
  Me([
4817
4817
  h()
4818
- ], Mt.prototype, "search", 2);
4818
+ ], Nt.prototype, "search", 2);
4819
4819
  Me([
4820
4820
  h()
4821
- ], Mt.prototype, "_displayObjects", 2);
4822
- Mt = Me([
4823
- w("ds4go-dsif-explorer-poc-holder")
4824
- ], Mt);
4821
+ ], Nt.prototype, "_displayObjects", 2);
4822
+ Nt = Me([
4823
+ $("ds4go-dsif-explorer-poc-holder")
4824
+ ], Nt);
4825
4825
  var Fa = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, Oi = (e, t, i, r) => {
4826
4826
  for (var s = r > 1 ? void 0 : r ? Ma(t, i) : t, o = e.length - 1, a; o >= 0; o--)
4827
4827
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
@@ -4889,7 +4889,7 @@ let ee = class extends ne {
4889
4889
  break;
4890
4890
  default:
4891
4891
  o.push(
4892
- Ut(r, a.value)
4892
+ Lt(r, a.value)
4893
4893
  );
4894
4894
  }
4895
4895
  r = [...o.flat()];
@@ -4907,7 +4907,7 @@ let ee = class extends ne {
4907
4907
  ));
4908
4908
  }
4909
4909
  render() {
4910
- return !this._displayObjects || this._displayObjects.length === 0 ? p : c`<div class="card-grid card-grid-vertical">
4910
+ return !this._displayObjects || this._displayObjects.length === 0 ? p : d`<div class="card-grid card-grid-vertical">
4911
4911
  ${this._displayObjects.map((e) => {
4912
4912
  const t = [
4913
4913
  {
@@ -4918,7 +4918,7 @@ let ee = class extends ne {
4918
4918
  return e.category && t.push({
4919
4919
  name: e.category,
4920
4920
  type: "default"
4921
- }), c`<ds4go-card-catalog
4921
+ }), d`<ds4go-card-catalog
4922
4922
  .object=${p}
4923
4923
  type=${"bill-image"}
4924
4924
  .tags=${t}
@@ -4956,7 +4956,7 @@ Oi([
4956
4956
  h()
4957
4957
  ], ee.prototype, "_displayObjects", 2);
4958
4958
  ee = Oi([
4959
- w("ds4go-fact-bundle-holder")
4959
+ $("ds4go-fact-bundle-holder")
4960
4960
  ], ee);
4961
4961
  var Na = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, Ii = (e, t, i, r) => {
4962
4962
  for (var s = r > 1 ? void 0 : r ? Ua(t, i) : t, o = e.length - 1, a; o >= 0; o--)
@@ -5025,7 +5025,7 @@ let ie = class extends ne {
5025
5025
  break;
5026
5026
  default:
5027
5027
  o.push(
5028
- Ut(r, a.value)
5028
+ Lt(r, a.value)
5029
5029
  );
5030
5030
  }
5031
5031
  r = [...o.flat()];
@@ -5043,10 +5043,10 @@ let ie = class extends ne {
5043
5043
  ));
5044
5044
  }
5045
5045
  render() {
5046
- return !this._displayObjects || this._displayObjects.length === 0 ? p : c`<div class="card-grid card-grid-vertical">
5046
+ return !this._displayObjects || this._displayObjects.length === 0 ? p : d`<div class="card-grid card-grid-vertical">
5047
5047
  ${this._displayObjects.map((e) => {
5048
5048
  const t = e;
5049
- return c`<ds4go-card-fact
5049
+ return d`<ds4go-card-fact
5050
5050
  .object=${p}
5051
5051
  @click=${() => this._handleClickEvent(t)}
5052
5052
  ></ds4go-card-fact>`;
@@ -5076,7 +5076,7 @@ Ii([
5076
5076
  h()
5077
5077
  ], ie.prototype, "_displayObjects", 2);
5078
5078
  ie = Ii([
5079
- w("ds4go-fact-holder")
5079
+ $("ds4go-fact-holder")
5080
5080
  ], ie);
5081
5081
  var La = Object.defineProperty, za = Object.getOwnPropertyDescriptor, Ne = (e, t, i, r) => {
5082
5082
  for (var s = r > 1 ? void 0 : r ? za(t, i) : t, o = e.length - 1, a; o >= 0; o--)
@@ -5096,7 +5096,7 @@ let re = class extends C {
5096
5096
  if (!this.contractId || !this.agreementInfo)
5097
5097
  return p;
5098
5098
  const e = this.agreementInfo.timestamp ? new Date(this.agreementInfo.timestamp).toLocaleString() : null, t = this.offer?.["dcat:endpointUrl"];
5099
- return c`<div
5099
+ return d`<div
5100
5100
  style="margin-top: 24px; padding: 16px; background: #e8f5e9; border-radius: 8px;"
5101
5101
  >
5102
5102
  <tems-division type="h4"
@@ -5112,7 +5112,7 @@ let re = class extends C {
5112
5112
  </div>
5113
5113
  </div>
5114
5114
 
5115
- ${t ? c`
5115
+ ${t ? d`
5116
5116
  <div style="margin-bottom: 8px;">
5117
5117
  <strong>🔗 ${l("Endpoint URL:")}</strong>
5118
5118
  <div
@@ -5122,7 +5122,7 @@ let re = class extends C {
5122
5122
  </div>
5123
5123
  </div>
5124
5124
  ` : p}
5125
- ${e ? c`
5125
+ ${e ? d`
5126
5126
  <div style="opacity: 0.8; font-size: 0.85em;">
5127
5127
  <strong>${l("Agreed on:")}</strong> ${e}
5128
5128
  </div>
@@ -5142,7 +5142,7 @@ let re = class extends C {
5142
5142
  </div>
5143
5143
  </div>
5144
5144
 
5145
- ${this.agreementInfo ? c`
5145
+ ${this.agreementInfo ? d`
5146
5146
  <div
5147
5147
  style="margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.1);"
5148
5148
  >
@@ -5167,7 +5167,7 @@ Ne([
5167
5167
  y({ attribute: !1 })
5168
5168
  ], re.prototype, "contractId", 2);
5169
5169
  re = Ne([
5170
- w("catalog-modal-agreement-info"),
5170
+ $("catalog-modal-agreement-info"),
5171
5171
  q()
5172
5172
  ], re);
5173
5173
  var qa = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, os = (e, t, i, r) => {
@@ -5197,7 +5197,7 @@ let pi = class extends C {
5197
5197
  );
5198
5198
  }
5199
5199
  render() {
5200
- return c`<div class="policy-selection-modal">
5200
+ return d`<div class="policy-selection-modal">
5201
5201
  <div class="policy-selection-header">
5202
5202
  <h3>${l("Select a Policy")}</h3>
5203
5203
  <p>
@@ -5208,13 +5208,13 @@ let pi = class extends C {
5208
5208
  </div>
5209
5209
  <div class="policy-selection-list">
5210
5210
  ${this.policies.map(
5211
- (e, t) => c`<div
5211
+ (e, t) => d`<div
5212
5212
  class="policy-option"
5213
5213
  @click=${() => this._handlePolicySelect(t)}
5214
5214
  >
5215
5215
  <div class="policy-option-header">
5216
5216
  <strong>${l("Policy")} ${t + 1}</strong>
5217
- ${e["@id"] ? c`<code>${e["@id"]}</code>` : p}
5217
+ ${e["@id"] ? d`<code>${e["@id"]}</code>` : p}
5218
5218
  </div>
5219
5219
  <div class="policy-option-details">
5220
5220
  ${Aa(e)}
@@ -5234,7 +5234,7 @@ os([
5234
5234
  y({ attribute: !1 })
5235
5235
  ], pi.prototype, "policies", 2);
5236
5236
  pi = os([
5237
- w("catalog-modal-policy-selection"),
5237
+ $("catalog-modal-policy-selection"),
5238
5238
  q()
5239
5239
  ], pi);
5240
5240
  var Wa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Ri = (e, t, i, r) => {
@@ -5245,10 +5245,10 @@ var Wa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Ri = (e, t
5245
5245
  let Se = class extends C {
5246
5246
  render() {
5247
5247
  const e = Pa(this.policies || []), t = this.policies || [];
5248
- return !this.policy && (!this.policies || this.policies.length === 0) ? p : c`<div
5248
+ return !this.policy && (!this.policies || this.policies.length === 0) ? p : d`<div
5249
5249
  style="margin-top: 24px; padding: 16px; background: #f0f7ff; border-radius: 8px; border: 1px solid #d0e7ff;"
5250
5250
  >
5251
- ${e ? c`<tems-division type="h4"
5251
+ ${e ? d`<tems-division type="h4"
5252
5252
  ><div>${l("Access Policies")}</div></tems-division
5253
5253
  >
5254
5254
  <div style="margin-bottom: 12px; color: #0066cc; font-size: 0.9em;">
@@ -5256,14 +5256,14 @@ let Se = class extends C {
5256
5256
  (${t.length})
5257
5257
  </div>
5258
5258
  ${t.map(
5259
- (i, r) => c`<div
5259
+ (i, r) => d`<div
5260
5260
  style="margin-bottom: 16px; padding: 12px; background: white; border-radius: 6px; border-left: 4px solid #0066cc;"
5261
5261
  >
5262
5262
  <div
5263
5263
  style="font-weight: 600; margin-bottom: 8px; color: #333;"
5264
5264
  >
5265
5265
  ${l("Policy")} ${r + 1}
5266
- ${i["@id"] ? c`<span
5266
+ ${i["@id"] ? d`<span
5267
5267
  style="font-weight: normal; font-size: 0.85em; color: #666; display: block; margin-top: 4px; word-break: break-all; font-family: monospace;"
5268
5268
  >
5269
5269
  ${i["@id"]}
@@ -5271,7 +5271,7 @@ let Se = class extends C {
5271
5271
  </div>
5272
5272
  <odrl-policy-viewer .policy=${i}></odrl-policy-viewer>
5273
5273
  </div>`
5274
- )}` : c`<tems-division type="h4"
5274
+ )}` : d`<tems-division type="h4"
5275
5275
  ><div>${l("Access Policy")}</div></tems-division
5276
5276
  >
5277
5277
  <odrl-policy-viewer .policy=${this.policy}></odrl-policy-viewer>`}
@@ -5285,10 +5285,10 @@ Ri([
5285
5285
  y({ attribute: !1 })
5286
5286
  ], Se.prototype, "policies", 2);
5287
5287
  Se = Ri([
5288
- w("catalog-modal-policy-display"),
5288
+ $("catalog-modal-policy-display"),
5289
5289
  q()
5290
5290
  ], Se);
5291
- var Ha = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, vt = (e, t, i, r) => {
5291
+ var Ha = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, bt = (e, t, i, r) => {
5292
5292
  for (var s = r > 1 ? void 0 : r ? Va(t, i) : t, o = e.length - 1, a; o >= 0; o--)
5293
5293
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
5294
5294
  return r && s && Ha(t, i, s), s;
@@ -5315,31 +5315,31 @@ let st = class extends C {
5315
5315
  }
5316
5316
  render() {
5317
5317
  if (!(this.dspStore !== void 0 && this.dspStore !== null))
5318
- return c`<tems-button disabled=""
5318
+ return d`<tems-button disabled=""
5319
5319
  >${l("Activate this service")}</tems-button
5320
5320
  >`;
5321
5321
  switch (this.negotiationStatus) {
5322
5322
  case "idle":
5323
- return c`<tems-button @click=${this._handleNegotiate}
5323
+ return d`<tems-button @click=${this._handleNegotiate}
5324
5324
  >${l("Negotiate access")}</tems-button
5325
5325
  >`;
5326
5326
  case "negotiating":
5327
- return c`<tems-button disabled="">
5327
+ return d`<tems-button disabled="">
5328
5328
  ${l("Negotiating...")}
5329
5329
  </tems-button>`;
5330
5330
  case "pending":
5331
- return c`<tems-button disabled="">
5331
+ return d`<tems-button disabled="">
5332
5332
  ${this.currentState || l("Pending")}
5333
5333
  ${this.attempt ? `(${this.attempt}/${this.maxAttempts})` : ""}
5334
5334
  </tems-button>`;
5335
5335
  case "granted":
5336
- return c`
5336
+ return d`
5337
5337
  <tems-button disabled="" type="success">
5338
5338
  ✅ ${l("Access Granted")}
5339
5339
  </tems-button>
5340
5340
  `;
5341
5341
  case "failed":
5342
- return c`<div
5342
+ return d`<div
5343
5343
  style="display: flex; flex-direction: column; gap: 8px;"
5344
5344
  >
5345
5345
  <tems-button disabled="" type="error">
@@ -5351,39 +5351,39 @@ let st = class extends C {
5351
5351
  </tems-button>
5352
5352
  </div>`;
5353
5353
  default:
5354
- return c`<tems-button disabled=""
5354
+ return d`<tems-button disabled=""
5355
5355
  >${l("Activate this service")}</tems-button
5356
5356
  >`;
5357
5357
  }
5358
5358
  }
5359
5359
  };
5360
- vt([
5360
+ bt([
5361
5361
  y({ attribute: !1 })
5362
5362
  ], st.prototype, "dspStore", 2);
5363
- vt([
5363
+ bt([
5364
5364
  y({ attribute: !1 })
5365
5365
  ], st.prototype, "showPolicySelection", 2);
5366
- vt([
5366
+ bt([
5367
5367
  y()
5368
5368
  ], st.prototype, "negotiationStatus", 2);
5369
- vt([
5369
+ bt([
5370
5370
  y()
5371
5371
  ], st.prototype, "currentState", 2);
5372
- vt([
5372
+ bt([
5373
5373
  y()
5374
5374
  ], st.prototype, "attempt", 2);
5375
- vt([
5375
+ bt([
5376
5376
  y()
5377
5377
  ], st.prototype, "maxAttempts", 2);
5378
- vt([
5378
+ bt([
5379
5379
  y()
5380
5380
  ], st.prototype, "negotiationError", 2);
5381
- st = vt([
5382
- w("catalog-modal-negotiation-button"),
5381
+ st = bt([
5382
+ $("catalog-modal-negotiation-button"),
5383
5383
  q()
5384
5384
  ], st);
5385
5385
  const Ka = ".contract-section{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-400);margin-bottom:var(--scale-400);padding:var(--scale-500)}.contract-section .contract-header{display:flex;flex-direction:column;gap:var(--scale-200);padding-bottom:var(--scale-300)}.contract-section .contract-subsection{display:flex;flex-direction:column;gap:var(--scale-300)}.contract-section .contract-subsection .collapsible-header{align-items:center;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-sm);cursor:pointer;display:flex;justify-content:space-between;padding:var(--scale-300) var(--scale-400);transition:all .2s ease;user-select:none}.contract-section .contract-subsection .collapsible-header:hover{background-color:var(--color-surface-tertiary);border-color:var(--color-border-primary)}.contract-section .contract-subsection .collapsible-header .chevron{color:var(--color-text-secondary);font-size:1.5rem;transition:transform .3s ease}.contract-section .contract-subsection .collapsible-header .chevron.expanded{transform:rotate(180deg)}.contract-section .contract-subsection .collapsible-content{max-height:0;opacity:0;overflow:hidden;padding:0 var(--scale-400);transition:max-height .3s ease,opacity .3s ease}.contract-section .contract-subsection .collapsible-content.expanded{max-height:2000px;opacity:1;padding-bottom:var(--scale-300);padding-top:var(--scale-300)}.contract-section .contract-subsection .collapsible-content .assets-list{display:flex;flex-direction:column;gap:var(--scale-200)}.contract-section .contract-subsection .collapsible-content .assets-list .asset-item{gap:var(--scale-100)}.contract-section .contract-subsection .collapsible-content .assets-list .asset-item,.contract-section .contract-subsection .collapsible-content .bundle-info{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-sm);display:flex;flex-direction:column;padding:var(--scale-300)}.contract-section .contract-subsection .collapsible-content .bundle-info{gap:var(--scale-200);margin-bottom:var(--scale-300)}.contract-section .contract-subsection .collapsible-content .facts-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.contract-section .contract-subsection .collapsible-content .facts-list ds4go-card-catalog{height:auto;width:354px}";
5386
- var Ya = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, bt = (e, t, i, r) => {
5386
+ var Ya = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, wt = (e, t, i, r) => {
5387
5387
  for (var s = r > 1 ? void 0 : r ? Ja(t, i) : t, o = e.length - 1, a; o >= 0; o--)
5388
5388
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
5389
5389
  return r && s && Ya(t, i, s), s;
@@ -5413,29 +5413,29 @@ let J = class extends C {
5413
5413
  const i = this.policies?.filter(
5414
5414
  (r) => r["@id"] === this.agreement?.policy?.["@id"]
5415
5415
  );
5416
- return c`<div class="contract-section">
5416
+ return d`<div class="contract-section">
5417
5417
  <div class="contract-header">
5418
5418
  <tems-division type="h5">${l("Contract Agreement")}</tems-division>
5419
5419
  <tems-division type="body-sm"
5420
5420
  >${e.split("/").pop()}</tems-division
5421
5421
  >
5422
- ${this.agreement.contractSigningDate ? c`<tems-division type="body-sm"
5422
+ ${this.agreement.contractSigningDate ? d`<tems-division type="body-sm"
5423
5423
  >${l("Signed")}:
5424
5424
  ${new Date(
5425
5425
  this.agreement.contractSigningDate
5426
5426
  ).toLocaleString()}</tems-division
5427
5427
  >` : p}
5428
- ${this.agreement.consumerId ? c`<tems-division type="body-sm"
5428
+ ${this.agreement.consumerId ? d`<tems-division type="body-sm"
5429
5429
  >${l("Consumer")}:
5430
5430
  ${this.agreement.consumerId.split("/").pop()}</tems-division
5431
5431
  >` : p}
5432
- ${this.agreement.providerId ? c`<tems-division type="body-sm"
5432
+ ${this.agreement.providerId ? d`<tems-division type="body-sm"
5433
5433
  >${l("Provider")}:
5434
5434
  ${this.agreement.providerId.split("/").pop()}</tems-division
5435
5435
  >` : p}
5436
5436
  </div>
5437
5437
 
5438
- ${t ? c`<div class="contract-subsection">
5438
+ ${t ? d`<div class="contract-subsection">
5439
5439
  <div
5440
5440
  class="collapsible-header"
5441
5441
  @click=${() => this._toggleSection("assets")}
@@ -5458,7 +5458,7 @@ let J = class extends C {
5458
5458
  <tems-division type="body-xs"
5459
5459
  >${t.dataAddress?.baseUrl || l("No base URL")}</tems-division
5460
5460
  >
5461
- ${t.dataAddress?.type ? c`<tems-division type="body-xs"
5461
+ ${t.dataAddress?.type ? d`<tems-division type="body-xs"
5462
5462
  >${l("Type")}:
5463
5463
  ${t.dataAddress.type}</tems-division
5464
5464
  >` : p}
@@ -5466,7 +5466,7 @@ let J = class extends C {
5466
5466
  </div>
5467
5467
  </div>
5468
5468
  </div>` : p}
5469
- ${this.agreement.relatedBundle ? c`<div class="contract-subsection">
5469
+ ${this.agreement.relatedBundle ? d`<div class="contract-subsection">
5470
5470
  <div
5471
5471
  class="collapsible-header"
5472
5472
  @click=${() => this._toggleSection("facts")}
@@ -5486,7 +5486,7 @@ let J = class extends C {
5486
5486
  >${l("Bundle")}:
5487
5487
  ${this.agreement.relatedBundle.name || this.agreement.relatedBundle["@id"].split("/").pop()}</tems-division
5488
5488
  >
5489
- ${this.agreement.relatedBundle.description ? c`<tems-division type="body-sm"
5489
+ ${this.agreement.relatedBundle.description ? d`<tems-division type="body-sm"
5490
5490
  >${this.agreement.relatedBundle.description}</tems-division
5491
5491
  >` : p}
5492
5492
  </div>
@@ -5506,7 +5506,7 @@ let J = class extends C {
5506
5506
  type: "information"
5507
5507
  });
5508
5508
  }
5509
- return c`<ds4go-card-catalog
5509
+ return d`<ds4go-card-catalog
5510
5510
  .object=${p}
5511
5511
  .tags=${s}
5512
5512
  .header=${r.name || p}
@@ -5517,7 +5517,7 @@ let J = class extends C {
5517
5517
  </div>
5518
5518
  </div>
5519
5519
  </div>` : p}
5520
- ${i && i.length > 0 ? c`<div class="contract-subsection">
5520
+ ${i && i.length > 0 ? d`<div class="contract-subsection">
5521
5521
  <div
5522
5522
  class="collapsible-header"
5523
5523
  @click=${() => this._toggleSection("policies")}
@@ -5531,7 +5531,7 @@ let J = class extends C {
5531
5531
  class="collapsible-content ${this.expandedPolicies ? "expanded" : ""}"
5532
5532
  >
5533
5533
  ${i.map(
5534
- (r) => c`<ds4go-odrl-policy-modal-part
5534
+ (r) => d`<ds4go-odrl-policy-modal-part
5535
5535
  .policy=${r}
5536
5536
  ></ds4go-odrl-policy-modal-part>`
5537
5537
  )}
@@ -5543,29 +5543,29 @@ let J = class extends C {
5543
5543
  J.styles = A`
5544
5544
  ${L(Ka)}
5545
5545
  `;
5546
- bt([
5546
+ wt([
5547
5547
  h()
5548
5548
  ], J.prototype, "agreement", 2);
5549
- bt([
5549
+ wt([
5550
5550
  h()
5551
5551
  ], J.prototype, "assets", 2);
5552
- bt([
5552
+ wt([
5553
5553
  h()
5554
5554
  ], J.prototype, "bundles", 2);
5555
- bt([
5555
+ wt([
5556
5556
  h()
5557
5557
  ], J.prototype, "policies", 2);
5558
- bt([
5558
+ wt([
5559
5559
  h()
5560
5560
  ], J.prototype, "expandedAssets", 2);
5561
- bt([
5561
+ wt([
5562
5562
  h()
5563
5563
  ], J.prototype, "expandedPolicies", 2);
5564
- bt([
5564
+ wt([
5565
5565
  h()
5566
5566
  ], J.prototype, "expandedFacts", 2);
5567
- J = bt([
5568
- w("ds4go-customer-contract-modal-part"),
5567
+ J = wt([
5568
+ $("ds4go-customer-contract-modal-part"),
5569
5569
  q()
5570
5570
  ], J);
5571
5571
  const Za = ":host{--provider-logo-width:48px;--provider-logo-height:22px;--modal-logo-width:152px;--modal-logo-height:48px}svg{vertical-align:middle}.flex{display:flex}.flex.flex-row{flex-direction:row}.flex.flex-column{flex-direction:column}.flex.wrap{flex-wrap:wrap}.flex.flex-1{flex:1}.flex .half,.flex.half{flex-basis:50%}.flex.justify-content-center{justify-content:center}.flex.justify-content-space-between{justify-content:space-between}.flex.align-items-center{align-items:center}.flex.align-items-flex-start{align-items:flex-start}.flex .align-items-flex-end{align-items:flex-end}.full-width{width:100%}.modal{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);color:var(--color-text-body);display:flex;flex-direction:column;font-family:var(--font-family-body);font-size:var(--typography-size-body-md);font-style:normal;font-weight:var(--font-weight-regular);gap:var(--scale-600);height:90vh;letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-md);padding:var(--scale-600) var(--scale-900);width:90vw}.modal .topbar{display:flex;flex-direction:row;gap:var(--scale-400);width:100%}.modal .topbar catalog-modal-negotiation-button{margin-left:auto}.modal .modal-content-wrapper{display:flex;flex:1;overflow:hidden}.modal .modal-content-wrapper .modal-box{display:flex;flex:1;overflow-x:hidden;overflow-y:scroll}.modal .modal-content-wrapper .modal-content{display:flex;flex-direction:column;gap:var(--scale-400);height:fit-content;width:100%}.modal .modal-content-wrapper .provider-line{flex-wrap:wrap}.modal .modal-content-wrapper .provider-line,.modal .modal-content-wrapper .provider-line>div{align-items:center;display:flex;flex-direction:row}.modal .modal-content-wrapper .provider-logo{background-position:50%;background-repeat:no-repeat;background-size:contain;height:var(--provider-logo-height);width:var(--provider-logo-width)}.modal .modal-content-wrapper .default-image-grid{display:flex;flex-wrap:wrap;gap:8px}.modal .modal-content-wrapper .default-img{max-height:10vh;max-width:100%;width:max-content}.modal .modal-content-wrapper tems-division{width:fit-content}.modal .modal-content-wrapper tems-division div{display:block;height:auto;overflow:hidden;text-overflow:ellipsis}.modal .modal-content-wrapper a{margin:0}.modal .modal-content-wrapper a:has(svg){align-items:center;display:flex;flex-direction:row;gap:var(--typography-spacing-xs)}.modal .modal-content-wrapper a:has(svg) svg{color:var(--color-icon-information);display:flex;height:20px;width:20px}.modal .modal-content-wrapper .badges{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200);padding:8px}.modal .modal-content-wrapper .badges:has(+.badges){padding-right:0}.modal .modal-content-wrapper .badges+.badges{padding-left:0}.modal .modal-content-wrapper .metadata-section{border-top:var(--border-width-sm) solid var(--color-border-primary);gap:var(--scale-400);padding-top:--scale-200}.modal .modal-content-wrapper .metadata-section tems-division[type=h2]{padding-top:var(--scale-400)}.modal .modal-content-wrapper .metadata-section .metadata-provider{gap:var(--scale-400)}.modal>.modal-content-wrapper:has(iframe,.main-img){flex-direction:row;gap:var(--scale-900)}.modal>.modal-content-wrapper:has(iframe,.main-img) .main-img,.modal>.modal-content-wrapper:has(iframe,.main-img) iframe{background-position:top;background-repeat:no-repeat;background-size:100%;min-width:50%;padding:var(--scale-600);width:50%}.modal>.modal-content-wrapper:has(iframe,.main-img) .main-img>div[style],.modal>.modal-content-wrapper:has(iframe,.main-img) iframe,.modal>.modal-content-wrapper:has(iframe,.main-img) iframe>div[style]{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg)}.modal>.modal-content-wrapper:has(iframe,.main-img) .logo{background-position:50%;background-repeat:no-repeat;background-size:contain;height:var(--modal-logo-height);width:var(--modal-logo-width)}.modal .modal-content-wrapper:not(:has(iframe,.main-img)){flex-direction:column}.modal .case-2,.modal .case-3,.modal .case-4{display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--scale-400);width:50%}.modal .case-2 *,.modal .case-3 *,.modal .case-4 *{background-position:50%;background-repeat:no-repeat;background-size:cover}.modal .case-2 .full-width,.modal .case-3 .full-width,.modal .case-4 .full-width{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);flex-grow:1;width:100%}.modal .case-2 .img-inner-row,.modal .case-3 .img-inner-row,.modal .case-4 .img-inner-row{display:flex;flex-direction:row;flex-grow:1;gap:var(--scale-400)}.modal .case-2 .img-inner-row .double-image,.modal .case-3 .img-inner-row .double-image,.modal .case-4 .img-inner-row .double-image{display:flex;gap:var(--scale-400)}.modal .case-2 .img-inner-row .double-image>div,.modal .case-3 .img-inner-row .double-image>div,.modal .case-4 .img-inner-row .double-image>div{background-position:50%;background-repeat:no-repeat;background-size:cover;border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);flex:1;width:100%}.modal .case-3 .double-image{flex-direction:row;width:100%}.modal .case-4 .img-inner-row{display:flex;flex-direction:row;flex-grow:1;gap:var(--scale-400)}.modal .case-4 .img-inner-row .double-image{flex-direction:column;width:50%}.modal .case-4 .img-inner-row .last-img{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);flex:1;height:100%;margin-right:auto;width:50%}.modal .multiple-columns{gap:var(--scale-800)}.modal .multiple-columns>.half{gap:var(--scale-400)}.modal .multiple-columns>.half:empty{display:none}.modal .badge-row{gap:var(--scale-200)}.modal .assets-rows{gap:0}.modal .assets-rows .asset-row{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-bottom:0;color:var(--color-text-body);gap:var(--scale-300);padding:var(--scale-200);text-overflow:ellipsis}.modal .assets-rows p{font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-weight:var(--font-weight-medium);line-height:var(--line-height-body-sm);margin:0;overflow:hidden;text-overflow:ellipsis}.modal .assets-rows .asset-row:first-of-type{border-radius:var(--border-radius-xl) var(--border-radius-xl) 0 0}.modal .assets-rows .asset-row:last-of-type{border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:0 0 var(--border-radius-xl) var(--border-radius-xl)}.modal .assets-rows .asset-row:only-of-type{border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-xl)}.modal .assets-rows .asset-format{align-items:flex-end;background-color:var(--color-surface-disabled);border-radius:var(--border-radius-md);display:flex;height:48px;justify-content:flex-end;min-width:40px;padding:6px;width:40px}.modal .assets-rows .asset-format p{font-size:var(--typography-size-body-xs);font-weight:var(--font-weight-bold);text-transform:low ercase}.modal .assets-rows .flex-column{overflow:hidden}.modal .metadata-section .half:empty{display:none}.modal .policy-selection-modal{background:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-500);padding:var(--scale-400)}.modal .policy-selection-modal .policy-selection-header h3{font-size:var(--typography-size-heading-md);font-weight:var(--font-weight-bold);margin:0 0 var(--scale-300) 0}.modal .policy-selection-modal .policy-selection-header p{color:var(--color-text-secondary);margin:0}.modal .policy-selection-modal .policy-selection-list{display:flex;flex-direction:column;gap:var(--scale-400);max-height:400px;overflow-y:auto}.modal .policy-selection-modal .policy-option{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);cursor:pointer;padding:var(--scale-400);transition:all .2s ease}.modal .policy-selection-modal .policy-option:hover{background:var(--color-surface-secondary);border-color:var(--color-primary)}.modal .policy-selection-modal .policy-option .policy-option-header{align-items:center;display:flex;flex-wrap:wrap;gap:var(--scale-200);justify-content:space-between;margin-bottom:var(--scale-300)}.modal .policy-selection-modal .policy-option .policy-option-header strong{font-weight:var(--font-weight-bold)}.modal .policy-selection-modal .policy-option .policy-option-header code{background:var(--color-surface-tertiary);border-radius:var(--border-radius-sm);font-family:monospace;font-size:.85em;padding:2px 6px;word-break:break-all}.modal .policy-selection-modal .policy-option .policy-option-details{color:var(--color-text-secondary);font-size:.9em}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail{margin:var(--scale-200) 0}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail strong{color:var(--color-text-body)}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail ul{margin:var(--scale-100) 0;padding-left:var(--scale-400)}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail ul li{margin:var(--scale-100) 0}.modal .policy-selection-modal .policy-selection-actions{display:flex;gap:var(--scale-300);justify-content:flex-end;margin-top:var(--scale-300)}@media screen and (min-width:1100px){div.modal{height:80vh;width:80vw}}";
@@ -5664,13 +5664,13 @@ let I = class extends na {
5664
5664
  "No participant ID configured. Please provide participant-id attribute."
5665
5665
  );
5666
5666
  this.negotiationStatus = "negotiating", this.negotiationError = void 0, this.requestUpdate();
5667
- const d = await e.negotiateContract(
5667
+ const c = await e.negotiateContract(
5668
5668
  i,
5669
5669
  s,
5670
5670
  n,
5671
5671
  r
5672
5672
  );
5673
- this.negotiationId = d, this.negotiationStatus = "pending", this.requestUpdate(), $a(t, d), await this._pollNegotiationStatus(e, d);
5673
+ this.negotiationId = c, this.negotiationStatus = "pending", this.requestUpdate(), wa(t, c), await this._pollNegotiationStatus(e, c);
5674
5674
  } catch (e) {
5675
5675
  if (console.error("Contract negotiation failed:", e), this.negotiationStatus = "failed", this.negotiationError = e.message, this.negotiationId) {
5676
5676
  const t = this.object;
@@ -5692,11 +5692,11 @@ let I = class extends na {
5692
5692
  try {
5693
5693
  const a = await e.getNegotiationStatus(t);
5694
5694
  if (this.currentState = a.state, this.attempt = o + 1, this.maxAttempts = 8, this.requestUpdate(), a.state === "FINALIZED" || a.state === "AGREED") {
5695
- const n = this.object, d = n._provider?.participantId || this.counterPartyId || this.participantId || "";
5695
+ const n = this.object, c = n._provider?.participantId || this.counterPartyId || this.participantId || "";
5696
5696
  try {
5697
5697
  const u = await e.getContractAgreement(
5698
5698
  t,
5699
- d
5699
+ c
5700
5700
  );
5701
5701
  this.contractId = u ? u["@id"] : a.contractAgreementId || t;
5702
5702
  } catch (u) {
@@ -5707,7 +5707,7 @@ let I = class extends na {
5707
5707
  this.contractId,
5708
5708
  t,
5709
5709
  Date.now()
5710
- ), this.contractId && wa(
5710
+ ), this.contractId && $a(
5711
5711
  n,
5712
5712
  this.contractId,
5713
5713
  t
@@ -5751,14 +5751,14 @@ let I = class extends na {
5751
5751
  const e = this.object, { policies: t, defaultPolicy: i } = Pr(
5752
5752
  e["odrl:hasPolicy"]
5753
5753
  );
5754
- return c`<div class="modal">
5754
+ return d`<div class="modal">
5755
5755
  <div class="topbar">
5756
5756
  <tems-button
5757
5757
  @click=${this._closeModal}
5758
5758
  type="outline-gray"
5759
- .iconLeft=${c`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
5759
+ .iconLeft=${d`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
5760
5760
  ></tems-button>
5761
- ${this.showPolicySelection ? p : c`<catalog-modal-negotiation-button
5761
+ ${this.showPolicySelection ? p : d`<catalog-modal-negotiation-button
5762
5762
  .dspStore=${this.dspStore}
5763
5763
  .showPolicySelection=${this.showPolicySelection}
5764
5764
  .negotiationStatus=${this.negotiationStatus}
@@ -5773,14 +5773,14 @@ let I = class extends na {
5773
5773
  <div class="modal-content-wrapper">
5774
5774
  <div class="modal-box">
5775
5775
  <div class="modal-content">
5776
- ${this.showPolicySelection ? c`<catalog-modal-policy-selection
5776
+ ${this.showPolicySelection ? d`<catalog-modal-policy-selection
5777
5777
  .policies=${t}
5778
5778
  @policy-selected=${this._handlePolicySelected}
5779
5779
  @policy-cancel=${this._handlePolicyCancel}
5780
- ></catalog-modal-policy-selection>` : c`<tems-division type="h2"
5780
+ ></catalog-modal-policy-selection>` : d`<tems-division type="h2"
5781
5781
  ><div>${e.name || ""}</div></tems-division
5782
5782
  >
5783
- ${e.description ? c`<tems-division type="body-m"
5783
+ ${e.description ? d`<tems-division type="body-m"
5784
5784
  ><div>${e.description}</div></tems-division
5785
5785
  >` : p}
5786
5786
  <div class="multiple-columns flex flex-row flex-1">
@@ -5858,7 +5858,7 @@ T([
5858
5858
  h()
5859
5859
  ], I.prototype, "availablePolicies", 2);
5860
5860
  I = T([
5861
- w("ds4go-catalog-modal"),
5861
+ $("ds4go-catalog-modal"),
5862
5862
  q()
5863
5863
  ], I);
5864
5864
  const tn = /* @__PURE__ */ Symbol();
@@ -6050,13 +6050,13 @@ let z = class extends k {
6050
6050
  }
6051
6051
  render() {
6052
6052
  return this._getResource.render({
6053
- pending: () => c`<solid-loader></solid-loader>`,
6054
- complete: (e) => e ? c`<div class="modal">
6053
+ pending: () => d`<solid-loader></solid-loader>`,
6054
+ complete: (e) => e ? d`<div class="modal">
6055
6055
  <div class="topbar">
6056
6056
  <tems-button
6057
6057
  @click=${this._closeModal}
6058
6058
  type="outline-gray"
6059
- .iconLeft=${c`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
6059
+ .iconLeft=${d`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
6060
6060
  ></tems-button>
6061
6061
  </div>
6062
6062
  <div class="modal-content-wrapper">
@@ -6067,22 +6067,22 @@ let z = class extends k {
6067
6067
  >
6068
6068
  <tems-division type="body-m"
6069
6069
  ><div>
6070
- ${e.participant_id ? l($`Participant ID: ${String(e.participant_id)}`) : ""}
6070
+ ${e.participant_id ? l(w`Participant ID: ${String(e.participant_id)}`) : ""}
6071
6071
  </div></tems-division
6072
6072
  >
6073
- ${e.balance !== void 0 && e.balance !== null ? c`<tems-division type="body-m"
6073
+ ${e.balance !== void 0 && e.balance !== null ? d`<tems-division type="body-m"
6074
6074
  ><div>
6075
- ${l($`Balance: ${String(e.balance)}`)}
6075
+ ${l(w`Balance: ${String(e.balance)}`)}
6076
6076
  </div></tems-division
6077
6077
  >` : p}
6078
- ${this.providerNegotiations && this.providerNegotiations.length > 0 ? c`<tems-division type="h4"
6078
+ ${this.providerNegotiations && this.providerNegotiations.length > 0 ? d`<tems-division type="h4"
6079
6079
  ><div>
6080
6080
  ${l("Provider Negotiations")}
6081
6081
  </div></tems-division
6082
6082
  >
6083
6083
  <div class="card-grid card-grid-vertical">
6084
6084
  ${this.providerNegotiations.map(
6085
- (t) => c`<ds4go-card-catalog
6085
+ (t) => d`<ds4go-card-catalog
6086
6086
  .object=${p}
6087
6087
  .header=${t["@id"].split("/").pop()}
6088
6088
  .content=${t.agreement ? `Agreement: ${t.agreement["@id"].split("/").pop()}` : l("No agreement")}
@@ -6093,14 +6093,14 @@ let z = class extends k {
6093
6093
  ></ds4go-card-catalog>`
6094
6094
  )}
6095
6095
  </div>` : p}
6096
- ${this.consumerNegotiations && this.consumerNegotiations.length > 0 ? c`<tems-division type="h4"
6096
+ ${this.consumerNegotiations && this.consumerNegotiations.length > 0 ? d`<tems-division type="h4"
6097
6097
  ><div>
6098
6098
  ${l("Customer Negotiations")}
6099
6099
  </div></tems-division
6100
6100
  >
6101
6101
  <div class="card-grid card-grid-vertical">
6102
6102
  ${this.consumerNegotiations.map(
6103
- (t) => c`<ds4go-card-catalog
6103
+ (t) => d`<ds4go-card-catalog
6104
6104
  .object=${p}
6105
6105
  .header=${t["@id"].split("/").pop()}
6106
6106
  .content=${t.agreement ? `Agreement: ${t.agreement["@id"].split("/").pop()}` : l("No agreement")}
@@ -6111,11 +6111,11 @@ let z = class extends k {
6111
6111
  ></ds4go-card-catalog>`
6112
6112
  )}
6113
6113
  </div>` : p}
6114
- ${this.consumerAgreements && this.consumerAgreements.length > 0 ? c`<tems-division type="h4"
6114
+ ${this.consumerAgreements && this.consumerAgreements.length > 0 ? d`<tems-division type="h4"
6115
6115
  ><div>${l("Customer Agreements")}</div></tems-division
6116
6116
  >
6117
6117
  ${this.consumerAgreements.map(
6118
- (t) => c`<ds4go-customer-contract-modal-part
6118
+ (t) => d`<ds4go-customer-contract-modal-part
6119
6119
  .agreement=${t}
6120
6120
  .assets=${this.assets}
6121
6121
  .bundles=${this.bundles}
@@ -6174,7 +6174,7 @@ V([
6174
6174
  h()
6175
6175
  ], z.prototype, "consumerAgreements", 2);
6176
6176
  z = V([
6177
- w("ds4go-customer-modal"),
6177
+ $("ds4go-customer-modal"),
6178
6178
  q()
6179
6179
  ], z);
6180
6180
  const an = ".flex{display:flex}.flex.flex-row{flex-direction:row}.flex.flex-column{flex-direction:column}.flex.wrap{flex-wrap:wrap}.flex.flex-1{flex:1}.flex .half,.flex.half{flex-basis:50%}.flex.justify-content-center{justify-content:center}.flex.justify-content-space-between{justify-content:space-between}.flex.align-items-center{align-items:center}.flex.align-items-flex-start{align-items:flex-start}.flex .align-items-flex-end{align-items:flex-end}.full-width{width:100%}.modal{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);color:var(--color-text-body);display:flex;flex-direction:column;font-family:var(--font-family-body);font-size:var(--typography-size-body-md);font-style:normal;font-weight:var(--font-weight-regular);gap:var(--scale-600);height:90vh;letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-md);padding:var(--scale-600) var(--scale-900);width:90vw}.modal .topbar{display:flex;flex-direction:row;gap:var(--scale-400);width:100%}.modal .topbar tems-button:nth-child(2){margin-left:auto}.modal .modal-content-wrapper{display:flex;flex:1;flex-direction:column;overflow:hidden}.modal .modal-content-wrapper .modal-box{display:flex;flex:1;overflow-x:hidden;overflow-y:scroll}.modal .modal-content-wrapper .modal-content{display:flex;flex-direction:column;gap:var(--scale-400);height:fit-content;width:100%}.modal .modal-content-wrapper tems-division{width:fit-content}.modal .modal-content-wrapper tems-division div{display:block;height:auto;overflow:hidden;text-overflow:ellipsis}.modal .modal-content-wrapper .card-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.modal .modal-content-wrapper .card-grid-vertical{justify-content:stretch}.modal .modal-content-wrapper .card-grid-vertical ds4go-card-catalog{height:auto;width:354px}@media screen and (min-width:1100px){div.modal{height:fit-content;max-height:80vh;max-width:80vw;min-height:50vh;min-width:50vw;width:fit-content}}";
@@ -6230,13 +6230,13 @@ let ot = class extends k {
6230
6230
  }
6231
6231
  render() {
6232
6232
  return this._getResource.render({
6233
- pending: () => c`<solid-loader></solid-loader>`,
6234
- complete: (e) => e ? c`<div class="modal">
6233
+ pending: () => d`<solid-loader></solid-loader>`,
6234
+ complete: (e) => e ? d`<div class="modal">
6235
6235
  <div class="topbar">
6236
6236
  <tems-button
6237
6237
  @click=${this._closeModal}
6238
6238
  type="outline-gray"
6239
- .iconLeft=${c`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
6239
+ .iconLeft=${d`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
6240
6240
  ></tems-button>
6241
6241
  </div>
6242
6242
  <div class="modal-content-wrapper">
@@ -6264,7 +6264,7 @@ let ot = class extends k {
6264
6264
  type: "information"
6265
6265
  });
6266
6266
  }
6267
- return c`<ds4go-card-catalog
6267
+ return d`<ds4go-card-catalog
6268
6268
  .object=${p}
6269
6269
  .tags=${i}
6270
6270
  .header=${t.name || p}
@@ -6283,22 +6283,22 @@ let ot = class extends k {
6283
6283
  </div>
6284
6284
  </div></tems-division
6285
6285
  >
6286
- ${this.contracts && this.contracts.length > 0 || this.negotiations && this.negotiations.length > 0 ? c`<tems-button
6286
+ ${this.contracts && this.contracts.length > 0 || this.negotiations && this.negotiations.length > 0 ? d`<tems-button
6287
6287
  @click=${this._toggleTechnicalInfo}
6288
6288
  type="outline-gray"
6289
6289
  label=${this.showTechnicalInfo ? l("Hide Technical Informations") : l("Show Technical Informations")}
6290
6290
  ></tems-button>
6291
- ${this.showTechnicalInfo ? c`<tems-division type="h4"
6291
+ ${this.showTechnicalInfo ? d`<tems-division type="h4"
6292
6292
  >${l("Technical informations")}</tems-division
6293
6293
  >
6294
- ${this.contracts && this.contracts.length > 0 ? c`${this.contracts.map(
6295
- (t) => c`<ds4go-contract-modal-part
6294
+ ${this.contracts && this.contracts.length > 0 ? d`${this.contracts.map(
6295
+ (t) => d`<ds4go-contract-modal-part
6296
6296
  .contract=${t}
6297
6297
  .assets=${this.assets}
6298
6298
  .policies=${this.policies}
6299
6299
  ></ds4go-contract-modal-part>`
6300
6300
  )}` : p}
6301
- ${this.negotiations && this.negotiations.length > 0 ? c`<ds4go-negotiations-modal-part
6301
+ ${this.negotiations && this.negotiations.length > 0 ? d`<ds4go-negotiations-modal-part
6302
6302
  .negotiations=${this.negotiations}
6303
6303
  .assets=${this.assets}
6304
6304
  .type=${"PROVIDER"}
@@ -6338,7 +6338,7 @@ Rt([
6338
6338
  h()
6339
6339
  ], ot.prototype, "showTechnicalInfo", 2);
6340
6340
  ot = Rt([
6341
- w("ds4go-fact-bundle-modal"),
6341
+ $("ds4go-fact-bundle-modal"),
6342
6342
  q()
6343
6343
  ], ot);
6344
6344
  const cn = ".flex{display:flex}.flex.flex-row{flex-direction:row}.flex.flex-column{flex-direction:column}.flex.wrap{flex-wrap:wrap}.flex.flex-1{flex:1}.flex .half,.flex.half{flex-basis:50%}.flex.justify-content-center{justify-content:center}.flex.justify-content-space-between{justify-content:space-between}.flex.align-items-center{align-items:center}.flex.align-items-flex-start{align-items:flex-start}.flex .align-items-flex-end{align-items:flex-end}.full-width{width:100%}.modal{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);color:var(--color-text-body);display:flex;flex-direction:column;font-family:var(--font-family-body);font-size:var(--typography-size-body-md);font-style:normal;font-weight:var(--font-weight-regular);gap:var(--scale-600);height:90vh;letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-md);padding:var(--scale-600) var(--scale-900);width:90vw}.modal .topbar{display:flex;flex-direction:row;gap:var(--scale-400);width:100%}.modal .topbar tems-button:nth-child(2){margin-left:auto}.modal .modal-content-wrapper{display:flex;flex:1;flex-direction:column;overflow:hidden}.modal .modal-content-wrapper .modal-box{display:flex;flex:1;overflow-x:hidden;overflow-y:scroll}.modal .modal-content-wrapper .modal-content{display:flex;flex-direction:column;gap:var(--scale-400);height:fit-content;width:100%}.modal .modal-content-wrapper .cover-image{border-radius:var(--border-radius-md);height:300px;margin-bottom:var(--scale-200);overflow:hidden;width:100%}.modal .modal-content-wrapper .cover-image img{display:block;height:100%;object-fit:cover;width:100%}.modal .modal-content-wrapper tems-division{width:fit-content}.modal .modal-content-wrapper tems-division div{display:block;height:auto;overflow:hidden;text-overflow:ellipsis}.modal .modal-content-wrapper tems-division[type=h3]{margin-bottom:var(--scale-500);margin-top:var(--scale-300)}.modal .modal-content-wrapper tems-division[type=h4]{margin-bottom:var(--scale-200);margin-top:var(--scale-500)}.modal .modal-content-wrapper .author-section{margin-bottom:var(--scale-200);margin-top:var(--scale-200);text-align:center;width:100%}.modal .modal-content-wrapper .author-section div{display:block;height:auto;overflow:hidden;text-overflow:ellipsis}.modal .modal-content-wrapper .categories-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200)}.modal .modal-content-wrapper .medias-gallery{display:grid;gap:var(--scale-300);grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.modal .modal-content-wrapper .medias-gallery .media-item{aspect-ratio:1;border-radius:var(--border-radius-md);cursor:pointer;overflow:hidden;transition:transform var(--transition-duration-fast) ease,box-shadow var(--transition-duration-fast) ease}.modal .modal-content-wrapper .medias-gallery .media-item:hover{box-shadow:var(--shadow-md);transform:scale(1.05)}.modal .modal-content-wrapper .medias-gallery .media-item img{display:block;height:100%;object-fit:cover;width:100%}@media screen and (min-width:1100px){div.modal{height:fit-content;max-height:80vh;max-width:80vw;min-height:50vh;min-width:50vw;width:fit-content}div.modal .modal-content-wrapper .cover-image{height:400px}div.modal .modal-content-wrapper .medias-gallery{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}";
@@ -6416,7 +6416,7 @@ You will be charged 5€ on your account.`
6416
6416
  }
6417
6417
  render() {
6418
6418
  return this._getResource.render({
6419
- pending: () => c`<solid-loader></solid-loader>`,
6419
+ pending: () => d`<solid-loader></solid-loader>`,
6420
6420
  complete: (e) => {
6421
6421
  if (!e)
6422
6422
  return this._closeModal(), p;
@@ -6428,12 +6428,12 @@ You will be charged 5€ on your account.`
6428
6428
  minute: "2-digit",
6429
6429
  hour12: !1
6430
6430
  });
6431
- return c`<div class="modal">
6431
+ return d`<div class="modal">
6432
6432
  <div class="topbar">
6433
6433
  <tems-button
6434
6434
  @click=${this._closeModal}
6435
6435
  type="outline-gray"
6436
- .iconLeft=${c`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
6436
+ .iconLeft=${d`<icon-material-symbols-close-rounded></icon-material-symbols-close-rounded>`}
6437
6437
  ></tems-button>
6438
6438
  <tems-button
6439
6439
  @click=${this._generateVideo}
@@ -6444,10 +6444,10 @@ You will be charged 5€ on your account.`
6444
6444
  <div class="modal-content-wrapper">
6445
6445
  <div class="modal-box">
6446
6446
  <div class="modal-content">
6447
- ${e.enclosure ? c`<div class="cover-image">
6447
+ ${e.enclosure ? d`<div class="cover-image">
6448
6448
  <img src=${String(e.enclosure)} alt="Cover image" />
6449
6449
  </div>` : p}
6450
- ${e.author ? c`<tems-division type="body-sm" class="author-section">
6450
+ ${e.author ? d`<tems-division type="body-sm" class="author-section">
6451
6451
  <div>
6452
6452
  ${l("Published on")} ${t} | ${l("By")}
6453
6453
  ${String(e.author)}
@@ -6459,20 +6459,20 @@ You will be charged 5€ on your account.`
6459
6459
  <tems-division type="body-m"
6460
6460
  ><div>${String(e.description || "")}</div></tems-division
6461
6461
  >
6462
- ${e.link ? c`<tems-division type="body-sm">
6462
+ ${e.link ? d`<tems-division type="body-sm">
6463
6463
  <tems-button
6464
6464
  type="outline-color"
6465
6465
  .label=${l("Open link on a new tab")}
6466
6466
  @click=${() => window.open(String(e.link), "_blank")}
6467
6467
  ></tems-button>
6468
6468
  </tems-division>` : p}
6469
- ${(e.medias || []).length > 0 ? c`<tems-division type="h4"
6469
+ ${(e.medias || []).length > 0 ? d`<tems-division type="h4"
6470
6470
  >${l("Media files")}</tems-division
6471
6471
  >
6472
6472
  <div class="medias-gallery">
6473
6473
  ${(e.medias || []).map(
6474
- (i) => c`<div class="media-item">
6475
- ${i.url ? c`<img
6474
+ (i) => d`<div class="media-item">
6475
+ ${i.url ? d`<img
6476
6476
  src=${String(i.url)}
6477
6477
  alt=${i.description || "Media"}
6478
6478
  @click=${() => window.open(String(i.url), "_blank")}
@@ -6480,12 +6480,12 @@ You will be charged 5€ on your account.`
6480
6480
  </div>`
6481
6481
  )}
6482
6482
  </div>` : p}
6483
- ${(e.categories || []).length > 0 ? c`<tems-division type="h4"
6483
+ ${(e.categories || []).length > 0 ? d`<tems-division type="h4"
6484
6484
  >${l("Categories")}</tems-division
6485
6485
  >
6486
6486
  <div class="categories-list">
6487
6487
  ${(e.categories || []).map(
6488
- (i) => c`<tems-badge type="neutral" size="sm"
6488
+ (i) => d`<tems-badge type="neutral" size="sm"
6489
6489
  >${pt(String(i.name))}</tems-badge
6490
6490
  >`
6491
6491
  )}
@@ -6511,11 +6511,11 @@ as([
6511
6511
  h()
6512
6512
  ], Ee.prototype, "disableButton", 2);
6513
6513
  Ee = as([
6514
- w("ds4go-fact-modal"),
6514
+ $("ds4go-fact-modal"),
6515
6515
  q()
6516
6516
  ], Ee);
6517
6517
  const un = ".contract-section{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-400);margin-bottom:var(--scale-400);padding:var(--scale-500)}.contract-section .contract-header{border-bottom:var(--border-width-sm) solid var(--color-border-secondary);display:flex;flex-direction:column;gap:var(--scale-200);padding-bottom:var(--scale-300)}.contract-section .contract-subsection{display:flex;flex-direction:column;gap:var(--scale-300)}.contract-section .contract-subsection .collapsible-header{align-items:center;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-sm);cursor:pointer;display:flex;justify-content:space-between;padding:var(--scale-300) var(--scale-400);transition:all .2s ease;user-select:none}.contract-section .contract-subsection .collapsible-header:hover{background-color:var(--color-surface-tertiary);border-color:var(--color-border-primary)}.contract-section .contract-subsection .collapsible-header .chevron{color:var(--color-text-secondary);font-size:1.5rem;transition:transform .3s ease}.contract-section .contract-subsection .collapsible-header .chevron.expanded{transform:rotate(180deg)}.contract-section .contract-subsection .collapsible-content{max-height:0;opacity:0;overflow:hidden;padding:0 var(--scale-400);transition:max-height .3s ease,opacity .3s ease}.contract-section .contract-subsection .collapsible-content.expanded{max-height:2000px;opacity:1;padding-bottom:var(--scale-300);padding-top:var(--scale-300)}.contract-section .contract-subsection .assets-list{display:flex;flex-direction:column;gap:var(--scale-200)}.contract-section .contract-subsection .assets-list .asset-item{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-sm);display:flex;flex-direction:column;gap:var(--scale-100);padding:var(--scale-300)}";
6518
- var hn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, Lt = (e, t, i, r) => {
6518
+ var hn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, zt = (e, t, i, r) => {
6519
6519
  for (var s = r > 1 ? void 0 : r ? mn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
6520
6520
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
6521
6521
  return r && s && hn(t, i, s), s;
@@ -6535,13 +6535,13 @@ let ht = class extends C {
6535
6535
  ) : this.contract.assetsSelector.operandRight === r["@id"] : !1), i = this.policies?.filter(
6536
6536
  (r) => r["@id"] === this.contract?.accessPolicyId || r["@id"] === this.contract?.contractPolicyId
6537
6537
  );
6538
- return c`<div class="contract-section">
6538
+ return d`<div class="contract-section">
6539
6539
  <div class="contract-header">
6540
6540
  <tems-division type="h5">${l("Contract")}</tems-division>
6541
6541
  <tems-division type="body-sm"
6542
6542
  >${e.split("/").pop()}</tems-division
6543
6543
  >
6544
- ${this.contract.createdAt ? c`<tems-division type="body-sm"
6544
+ ${this.contract.createdAt ? d`<tems-division type="body-sm"
6545
6545
  >${l("Created")}:
6546
6546
  ${new Date(
6547
6547
  this.contract.createdAt
@@ -6549,7 +6549,7 @@ let ht = class extends C {
6549
6549
  >` : p}
6550
6550
  </div>
6551
6551
 
6552
- ${t && t.length > 0 ? c`<div class="contract-subsection">
6552
+ ${t && t.length > 0 ? d`<div class="contract-subsection">
6553
6553
  <div
6554
6554
  class="collapsible-header"
6555
6555
  @click=${() => this._toggleSection("assets")}
@@ -6564,14 +6564,14 @@ let ht = class extends C {
6564
6564
  >
6565
6565
  <div class="assets-list">
6566
6566
  ${t.map(
6567
- (r) => c`<div class="asset-item">
6567
+ (r) => d`<div class="asset-item">
6568
6568
  <tems-division type="body-sm"
6569
6569
  >${r["@id"].split("/").pop()}</tems-division
6570
6570
  >
6571
6571
  <tems-division type="body-xs"
6572
6572
  >${r.dataAddress?.baseUrl || l("No base URL")}</tems-division
6573
6573
  >
6574
- ${r.dataAddress?.type ? c`<tems-division type="body-xs"
6574
+ ${r.dataAddress?.type ? d`<tems-division type="body-xs"
6575
6575
  >${l("Type")}:
6576
6576
  ${r.dataAddress.type}</tems-division
6577
6577
  >` : p}
@@ -6580,7 +6580,7 @@ let ht = class extends C {
6580
6580
  </div>
6581
6581
  </div>
6582
6582
  </div>` : p}
6583
- ${i && i.length > 0 ? c`<div class="contract-subsection">
6583
+ ${i && i.length > 0 ? d`<div class="contract-subsection">
6584
6584
  <div
6585
6585
  class="collapsible-header"
6586
6586
  @click=${() => this._toggleSection("policies")}
@@ -6594,7 +6594,7 @@ let ht = class extends C {
6594
6594
  class="collapsible-content ${this.expandedPolicies ? "expanded" : ""}"
6595
6595
  >
6596
6596
  ${i.map(
6597
- (r) => c`<ds4go-odrl-policy-modal-part
6597
+ (r) => d`<ds4go-odrl-policy-modal-part
6598
6598
  .policy=${r}
6599
6599
  ></ds4go-odrl-policy-modal-part>`
6600
6600
  )}
@@ -6606,23 +6606,23 @@ let ht = class extends C {
6606
6606
  ht.styles = A`
6607
6607
  ${L(un)}
6608
6608
  `;
6609
- Lt([
6609
+ zt([
6610
6610
  h()
6611
6611
  ], ht.prototype, "contract", 2);
6612
- Lt([
6612
+ zt([
6613
6613
  h()
6614
6614
  ], ht.prototype, "assets", 2);
6615
- Lt([
6615
+ zt([
6616
6616
  h()
6617
6617
  ], ht.prototype, "policies", 2);
6618
- Lt([
6618
+ zt([
6619
6619
  h()
6620
6620
  ], ht.prototype, "expandedAssets", 2);
6621
- Lt([
6621
+ zt([
6622
6622
  h()
6623
6623
  ], ht.prototype, "expandedPolicies", 2);
6624
- ht = Lt([
6625
- w("ds4go-contract-modal-part"),
6624
+ ht = zt([
6625
+ $("ds4go-contract-modal-part"),
6626
6626
  q()
6627
6627
  ], ht);
6628
6628
  const fn = ".card-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card-grid-vertical{justify-content:stretch}.card-grid-vertical ds4go-card-catalog{height:auto;width:354px}";
@@ -6631,7 +6631,7 @@ var gn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, Ue = (e, t
6631
6631
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
6632
6632
  return r && s && gn(t, i, s), s;
6633
6633
  };
6634
- let Nt = class extends C {
6634
+ let Ut = class extends C {
6635
6635
  constructor() {
6636
6636
  super(...arguments), this.negotiations = [], this.assets = [], this.type = "PROVIDER";
6637
6637
  }
@@ -6669,7 +6669,7 @@ let Nt = class extends C {
6669
6669
  const t = this._getNegotiationTags(e), i = this.assets?.find(
6670
6670
  (r) => r["@id"] === e.assetId
6671
6671
  );
6672
- return c`<ds4go-card-catalog
6672
+ return d`<ds4go-card-catalog
6673
6673
  .object=${p}
6674
6674
  .header=${e["@id"].split("/").pop()}
6675
6675
  .content=${i ? `Asset: ${i["@id"].split("/").pop()}` : l("No associated asset")}
@@ -6686,7 +6686,7 @@ let Nt = class extends C {
6686
6686
  if (e.length === 0)
6687
6687
  return p;
6688
6688
  const t = this.type === "PROVIDER" ? l("Provider Negotiations") : l("Consumer Negotiations");
6689
- return c`<tems-division type="body-m"><div>${t}</div></tems-division>
6689
+ return d`<tems-division type="body-m"><div>${t}</div></tems-division>
6690
6690
  <div class="card-grid card-grid-vertical">
6691
6691
  ${e.map(
6692
6692
  (i) => this._renderNegotiationCard(i)
@@ -6694,25 +6694,25 @@ let Nt = class extends C {
6694
6694
  </div>`;
6695
6695
  }
6696
6696
  };
6697
- Nt.styles = A`
6697
+ Ut.styles = A`
6698
6698
  ${L(fn)}
6699
6699
  `;
6700
6700
  Ue([
6701
6701
  h()
6702
- ], Nt.prototype, "negotiations", 2);
6702
+ ], Ut.prototype, "negotiations", 2);
6703
6703
  Ue([
6704
6704
  h()
6705
- ], Nt.prototype, "assets", 2);
6705
+ ], Ut.prototype, "assets", 2);
6706
6706
  Ue([
6707
6707
  h()
6708
- ], Nt.prototype, "type", 2);
6709
- Nt = Ue([
6710
- w("ds4go-negotiations-modal-part"),
6708
+ ], Ut.prototype, "type", 2);
6709
+ Ut = Ue([
6710
+ $("ds4go-negotiations-modal-part"),
6711
6711
  q()
6712
- ], Nt);
6712
+ ], Ut);
6713
6713
  const vn = ".policy-card{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-400);margin-bottom:var(--scale-400);padding:var(--scale-500)}.policy-card .policy-header{border-bottom:var(--border-width-sm) solid var(--color-border-secondary);display:flex;flex-direction:column;gap:var(--scale-200);padding-bottom:var(--scale-300)}.policy-card .policy-section{display:flex;flex-direction:column;gap:var(--scale-300)}.policy-card .policy-section .policy-section-title{color:var(--color-text-heading);font-weight:var(--font-weight-semibold)}.policy-card .policy-section .policy-item{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-sm);display:flex;flex-direction:column;gap:var(--scale-200);padding:var(--scale-300)}.policy-card .policy-section .policy-item .constraints-list{border-left:var(--border-width-sm) solid var(--color-border-secondary);display:flex;flex-direction:column;gap:var(--scale-100);margin-top:var(--scale-200);padding-left:var(--scale-400)}.policy-card .policy-section .policy-item .constraints-list .constraint-item{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-xs);display:flex;flex-direction:column;gap:var(--scale-100);padding:var(--scale-200)}";
6714
- var bn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, ns = (e, t, i, r) => {
6715
- for (var s = r > 1 ? void 0 : r ? $n(t, i) : t, o = e.length - 1, a; o >= 0; o--)
6714
+ var bn = Object.defineProperty, wn = Object.getOwnPropertyDescriptor, ns = (e, t, i, r) => {
6715
+ for (var s = r > 1 ? void 0 : r ? wn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
6716
6716
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
6717
6717
  return r && s && bn(t, i, s), s;
6718
6718
  };
@@ -6721,12 +6721,12 @@ let Oe = class extends C {
6721
6721
  return Array.isArray(e) ? e.map((t) => t["@id"] ? t["@id"] : t).join(", ") : typeof e == "object" ? e["@id"] : e;
6722
6722
  }
6723
6723
  _renderConstraint(e) {
6724
- return c`<div class="constraint-item">
6724
+ return d`<div class="constraint-item">
6725
6725
  <tems-division type="body-xs"
6726
6726
  >${e.leftOperand} ${e.operator}
6727
6727
  ${String(e.rightOperand)}</tems-division
6728
6728
  >
6729
- ${e["@type"] ? c`<tems-division type="body-xs"
6729
+ ${e["@type"] ? d`<tems-division type="body-xs"
6730
6730
  >${l("Type")}: ${e["@type"]}</tems-division
6731
6731
  >` : p}
6732
6732
  </div>`;
@@ -6735,7 +6735,7 @@ let Oe = class extends C {
6735
6735
  if (!this.policy)
6736
6736
  return p;
6737
6737
  const e = this.policy.policy;
6738
- return Array.isArray(e?.["odrl:permission"]) || (e["odrl:permission"] = e["odrl:permission"] ? [e["odrl:permission"]] : []), Array.isArray(e?.["odrl:prohibition"]) || (e["odrl:prohibition"] = e["odrl:prohibition"] ? [e["odrl:prohibition"]] : []), Array.isArray(e?.["odrl:obligation"]) || (e["odrl:obligation"] = e["odrl:obligation"] ? [e["odrl:obligation"]] : []), c`<div class="policy-card">
6738
+ return Array.isArray(e?.["odrl:permission"]) || (e["odrl:permission"] = e["odrl:permission"] ? [e["odrl:permission"]] : []), Array.isArray(e?.["odrl:prohibition"]) || (e["odrl:prohibition"] = e["odrl:prohibition"] ? [e["odrl:prohibition"]] : []), Array.isArray(e?.["odrl:obligation"]) || (e["odrl:obligation"] = e["odrl:obligation"] ? [e["odrl:obligation"]] : []), d`<div class="policy-card">
6739
6739
  <div class="policy-header">
6740
6740
  <tems-division type="body-m"
6741
6741
  >${l("Policy")}:
@@ -6744,29 +6744,29 @@ let Oe = class extends C {
6744
6744
  <tems-division type="body-xs"
6745
6745
  >${l("Type")}: ${e?.["@type"] || "Unknown"}</tems-division
6746
6746
  >
6747
- ${this.policy.createdAt ? c`<tems-division type="body-xs"
6747
+ ${this.policy.createdAt ? d`<tems-division type="body-xs"
6748
6748
  >${l("Created")}:
6749
6749
  ${new Date(this.policy.createdAt).toLocaleString()}</tems-division
6750
6750
  >` : p}
6751
6751
  </div>
6752
6752
 
6753
- ${e?.["odrl:permission"] && e["odrl:permission"].length > 0 ? c`<div class="policy-section">
6753
+ ${e?.["odrl:permission"] && e["odrl:permission"].length > 0 ? d`<div class="policy-section">
6754
6754
  <tems-division type="body-sm" class="policy-section-title"
6755
6755
  >${l("Permissions")}</tems-division
6756
6756
  >
6757
6757
  ${e["odrl:permission"].map(
6758
- (t) => c`<div class="policy-item">
6758
+ (t) => d`<div class="policy-item">
6759
6759
  <tems-division type="body-xs"
6760
6760
  >${l("Action")}:
6761
6761
  ${this._formatAction(
6762
6762
  t.action || t["odrl:action"]
6763
6763
  )}</tems-division
6764
6764
  >
6765
- ${t.target || t["odrl:target"] ? c`<tems-division type="body-xs"
6765
+ ${t.target || t["odrl:target"] ? d`<tems-division type="body-xs"
6766
6766
  >${l("Target")}:
6767
6767
  ${(t.target || t["odrl:target"])?.split("/").pop()}</tems-division
6768
6768
  >` : p}
6769
- ${(t.constraint || t["odrl:constraint"]) && (t.constraint || t["odrl:constraint"] || []).length > 0 ? c`<div class="constraints-list">
6769
+ ${(t.constraint || t["odrl:constraint"]) && (t.constraint || t["odrl:constraint"] || []).length > 0 ? d`<div class="constraints-list">
6770
6770
  ${(t.constraint || t["odrl:constraint"] || []).map(
6771
6771
  (i) => this._renderConstraint(i)
6772
6772
  )}
@@ -6774,23 +6774,23 @@ let Oe = class extends C {
6774
6774
  </div>`
6775
6775
  )}
6776
6776
  </div>` : p}
6777
- ${e?.["odrl:prohibition"] && e["odrl:prohibition"].length > 0 ? c`<div class="policy-section">
6777
+ ${e?.["odrl:prohibition"] && e["odrl:prohibition"].length > 0 ? d`<div class="policy-section">
6778
6778
  <tems-division type="body-sm" class="policy-section-title"
6779
6779
  >${l("Prohibitions")}</tems-division
6780
6780
  >
6781
6781
  ${e["odrl:prohibition"].map(
6782
- (t) => c`<div class="policy-item">
6782
+ (t) => d`<div class="policy-item">
6783
6783
  <tems-division type="body-xs"
6784
6784
  >${l("Action")}:
6785
6785
  ${this._formatAction(
6786
6786
  t.action || t["odrl:action"]
6787
6787
  )}</tems-division
6788
6788
  >
6789
- ${t.target || t["odrl:target"] ? c`<tems-division type="body-xs"
6789
+ ${t.target || t["odrl:target"] ? d`<tems-division type="body-xs"
6790
6790
  >${l("Target")}:
6791
6791
  ${(t.target || t["odrl:target"])?.split("/").pop()}</tems-division
6792
6792
  >` : p}
6793
- ${(t.constraint || t["odrl:constraint"]) && (t.constraint || t["odrl:constraint"] || []).length > 0 ? c`<div class="constraints-list">
6793
+ ${(t.constraint || t["odrl:constraint"]) && (t.constraint || t["odrl:constraint"] || []).length > 0 ? d`<div class="constraints-list">
6794
6794
  ${(t.constraint || t["odrl:constraint"] || []).map(
6795
6795
  (i) => this._renderConstraint(i)
6796
6796
  )}
@@ -6798,19 +6798,19 @@ let Oe = class extends C {
6798
6798
  </div>`
6799
6799
  )}
6800
6800
  </div>` : p}
6801
- ${e?.["odrl:obligation"] && e["odrl:obligation"].length > 0 ? c`<div class="policy-section">
6801
+ ${e?.["odrl:obligation"] && e["odrl:obligation"].length > 0 ? d`<div class="policy-section">
6802
6802
  <tems-division type="body-sm" class="policy-section-title"
6803
6803
  >${l("Obligations")}</tems-division
6804
6804
  >
6805
6805
  ${e["odrl:obligation"].map(
6806
- (t) => c`<div class="policy-item">
6806
+ (t) => d`<div class="policy-item">
6807
6807
  <tems-division type="body-xs"
6808
6808
  >${l("Action")}:
6809
6809
  ${this._formatAction(
6810
6810
  t.action || t["odrl:action"]
6811
6811
  )}</tems-division
6812
6812
  >
6813
- ${(t.constraint || t["odrl:constraint"]) && (t.constraint || t["odrl:constraint"] || []).length > 0 ? c`<div class="constraints-list">
6813
+ ${(t.constraint || t["odrl:constraint"]) && (t.constraint || t["odrl:constraint"] || []).length > 0 ? d`<div class="constraints-list">
6814
6814
  ${(t.constraint || t["odrl:constraint"] || []).map(
6815
6815
  (i) => this._renderConstraint(i)
6816
6816
  )}
@@ -6828,7 +6828,7 @@ ns([
6828
6828
  h()
6829
6829
  ], Oe.prototype, "policy", 2);
6830
6830
  Oe = ns([
6831
- w("ds4go-odrl-policy-modal-part"),
6831
+ $("ds4go-odrl-policy-modal-part"),
6832
6832
  q()
6833
6833
  ], Oe);
6834
6834
  class ui extends kr {
@@ -6846,7 +6846,7 @@ class ui extends kr {
6846
6846
  }
6847
6847
  }
6848
6848
  ui.directiveName = "unsafeHTML", ui.resultType = 1;
6849
- const wn = jr(ui);
6849
+ const $n = jr(ui);
6850
6850
  var _n = Object.defineProperty, xn = Object.getOwnPropertyDescriptor, Di = (e, t, i, r) => {
6851
6851
  for (var s = r > 1 ? void 0 : r ? xn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
6852
6852
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
@@ -6858,16 +6858,16 @@ let se = class extends C {
6858
6858
  }
6859
6859
  render() {
6860
6860
  if (!this.policy)
6861
- return c`<div class="no-policy">No policy available</div>`;
6861
+ return d`<div class="no-policy">No policy available</div>`;
6862
6862
  try {
6863
6863
  const t = new la(this.policy).renderAsHtml();
6864
- return c`
6864
+ return d`
6865
6865
  <div class="${this.compact ? "compact" : ""}">
6866
- ${wn(t)}
6866
+ ${$n(t)}
6867
6867
  </div>
6868
6868
  `;
6869
6869
  } catch (e) {
6870
- return console.error("Error rendering ODRL policy:", e), c`
6870
+ return console.error("Error rendering ODRL policy:", e), d`
6871
6871
  <div class="error">
6872
6872
  Error rendering policy: ${e.message}
6873
6873
  </div>
@@ -6999,7 +6999,7 @@ Di([
6999
6999
  y({ type: Boolean })
7000
7000
  ], se.prototype, "compact", 2);
7001
7001
  se = Di([
7002
- w("odrl-policy-viewer")
7002
+ $("odrl-policy-viewer")
7003
7003
  ], se);
7004
7004
  const Pn = "div.select{align-items:flex-start;display:flex;flex-direction:column;gap:var(--scale-200);width:100%}div:has(>tems-textarea){margin-bottom:-2px}select{appearance:none;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300);width:100%}select:hover{border:var(--border-width-sm) solid var(--color-border-action)}select option{background-color:var(--color-surface-primary);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300)}.flex{display:flex;gap:var(--scale-200);width:100%}.flex.flex-column{flex-direction:column}.flex.align-right{justify-content:flex-end}.flex .flex-1{flex:1}.spacer-auto+.spacer-auto,.spacer-top{margin-top:var(--scale-400)}tems-input+tems-input{margin-top:var(--scale-200)}fieldset+fieldset{margin-top:var(--scale-400)}fieldset{margin-bottom:var(--scale-400)}fieldset>fieldset{margin-top:var(--scale-400)}";
7005
7005
  var An = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, Ti = (e, t, i, r) => {
@@ -7170,17 +7170,17 @@ let oe = class extends C {
7170
7170
  return r[t] = { ...r[t], constraint: s }, r;
7171
7171
  }
7172
7172
  _renderOperatorSelect(e, t) {
7173
- return c`<select @change=${t}>
7173
+ return d`<select @change=${t}>
7174
7174
  ${["eq", "neq", "gt", "gte", "lt", "lte", "isA", "in"].map(
7175
- (r) => c`<option value="${r}" selected=${e === r}>
7175
+ (r) => d`<option value="${r}" selected=${e === r}>
7176
7176
  ${r}
7177
7177
  </option>`
7178
7178
  )}
7179
7179
  </select>`;
7180
7180
  }
7181
7181
  _renderPermission(e, t) {
7182
- return c`<fieldset>
7183
- <legend>${l($`Permission ${t + 1}`)}</legend>
7182
+ return d`<fieldset>
7183
+ <legend>${l(w`Permission ${t + 1}`)}</legend>
7184
7184
  <tems-input
7185
7185
  type="text"
7186
7186
  label="${l("Action")}"
@@ -7201,10 +7201,10 @@ let oe = class extends C {
7201
7201
  i.detail.value
7202
7202
  )}
7203
7203
  ></tems-input>
7204
- ${e.constraint && e.constraint.length > 0 ? c`<fieldset>
7204
+ ${e.constraint && e.constraint.length > 0 ? d`<fieldset>
7205
7205
  <legend>${l("Constraints")}</legend>
7206
7206
  ${e.constraint.map(
7207
- (i, r) => c`
7207
+ (i, r) => d`
7208
7208
  <div class="flex flex-column spacer-auto">
7209
7209
  <tems-input
7210
7210
  type="text"
@@ -7271,10 +7271,10 @@ let oe = class extends C {
7271
7271
  `
7272
7272
  )}
7273
7273
  </fieldset>` : p}
7274
- ${e.duty && e.duty.length > 0 ? c`<fieldset>
7274
+ ${e.duty && e.duty.length > 0 ? d`<fieldset>
7275
7275
  <legend>${l("Duties")}</legend>
7276
7276
  ${e.duty.map(
7277
- (i, r) => c`
7277
+ (i, r) => d`
7278
7278
  <div class="flex flex-column">
7279
7279
  <tems-input
7280
7280
  type="text"
@@ -7289,10 +7289,10 @@ let oe = class extends C {
7289
7289
  );
7290
7290
  }}
7291
7291
  ></tems-input>
7292
- ${i.constraint && i.constraint.length > 0 ? c`<fieldset>
7292
+ ${i.constraint && i.constraint.length > 0 ? d`<fieldset>
7293
7293
  <legend>${l("Constraints")}</legend>
7294
7294
  ${i.constraint.map(
7295
- (s, o) => c`
7295
+ (s, o) => d`
7296
7296
  <div class="flex flex-column spacer-auto">
7297
7297
  <tems-input
7298
7298
  type="text"
@@ -7301,18 +7301,18 @@ let oe = class extends C {
7301
7301
  @change=${(a) => {
7302
7302
  const n = [
7303
7303
  ...this.policy.policy.permission
7304
- ], d = [...n[t].duty], u = [
7305
- ...d[r].constraint
7304
+ ], c = [...n[t].duty], u = [
7305
+ ...c[r].constraint
7306
7306
  ];
7307
7307
  u[o] = {
7308
7308
  ...u[o],
7309
7309
  leftOperand: a.detail.value
7310
- }, d[r] = {
7311
- ...d[r],
7310
+ }, c[r] = {
7311
+ ...c[r],
7312
7312
  constraint: u
7313
7313
  }, n[t] = {
7314
7314
  ...n[t],
7315
- duty: d
7315
+ duty: c
7316
7316
  }, this._updatePolicyField(
7317
7317
  "permission",
7318
7318
  n
@@ -7328,20 +7328,20 @@ let oe = class extends C {
7328
7328
  (a) => {
7329
7329
  const n = [
7330
7330
  ...this.policy.policy.permission
7331
- ], d = [
7331
+ ], c = [
7332
7332
  ...n[t].duty
7333
7333
  ], u = [
7334
- ...d[r].constraint
7334
+ ...c[r].constraint
7335
7335
  ];
7336
7336
  u[o] = {
7337
7337
  ...u[o],
7338
7338
  operator: a.target.value
7339
- }, d[r] = {
7340
- ...d[r],
7339
+ }, c[r] = {
7340
+ ...c[r],
7341
7341
  constraint: u
7342
7342
  }, n[t] = {
7343
7343
  ...n[t],
7344
- duty: d
7344
+ duty: c
7345
7345
  }, this._updatePolicyField(
7346
7346
  "permission",
7347
7347
  n
@@ -7356,18 +7356,18 @@ let oe = class extends C {
7356
7356
  @change=${(a) => {
7357
7357
  const n = [
7358
7358
  ...this.policy.policy.permission
7359
- ], d = [...n[t].duty], u = [
7360
- ...d[r].constraint
7359
+ ], c = [...n[t].duty], u = [
7360
+ ...c[r].constraint
7361
7361
  ];
7362
7362
  u[o] = {
7363
7363
  ...u[o],
7364
7364
  rightOperand: a.detail.value
7365
- }, d[r] = {
7366
- ...d[r],
7365
+ }, c[r] = {
7366
+ ...c[r],
7367
7367
  constraint: u
7368
7368
  }, n[t] = {
7369
7369
  ...n[t],
7370
- duty: d
7370
+ duty: c
7371
7371
  }, this._updatePolicyField(
7372
7372
  "permission",
7373
7373
  n
@@ -7381,10 +7381,10 @@ let oe = class extends C {
7381
7381
  @click=${() => {
7382
7382
  const a = [
7383
7383
  ...this.policy.policy.permission
7384
- ], n = [...a[t].duty], d = n[r].constraint?.filter((u, m) => m !== o);
7384
+ ], n = [...a[t].duty], c = n[r].constraint?.filter((u, m) => m !== o);
7385
7385
  n[r] = {
7386
7386
  ...n[r],
7387
- constraint: d
7387
+ constraint: c
7388
7388
  }, a[t] = {
7389
7389
  ...a[t],
7390
7390
  duty: n
@@ -7470,8 +7470,8 @@ let oe = class extends C {
7470
7470
  </fieldset>`;
7471
7471
  }
7472
7472
  _renderProhibition(e, t) {
7473
- return c`<fieldset>
7474
- <legend>${l($`Prohibition ${t + 1}`)}</legend>
7473
+ return d`<fieldset>
7474
+ <legend>${l(w`Prohibition ${t + 1}`)}</legend>
7475
7475
  <tems-input
7476
7476
  type="text"
7477
7477
  label="${l("Action")}"
@@ -7492,10 +7492,10 @@ let oe = class extends C {
7492
7492
  i.detail.value
7493
7493
  )}
7494
7494
  ></tems-input>
7495
- ${e.constraint && e.constraint.length > 0 ? c`<fieldset>
7495
+ ${e.constraint && e.constraint.length > 0 ? d`<fieldset>
7496
7496
  <legend>${l("Constraints")}</legend>
7497
7497
  ${e.constraint.map(
7498
- (i, r) => c`
7498
+ (i, r) => d`
7499
7499
  <div class="flex flex-column spacer-auto">
7500
7500
  <tems-input
7501
7501
  type="text"
@@ -7587,8 +7587,8 @@ let oe = class extends C {
7587
7587
  </fieldset>`;
7588
7588
  }
7589
7589
  _renderObligation(e, t) {
7590
- return c`<fieldset>
7591
- <legend>${l($`Obligation ${t + 1}`)}</legend>
7590
+ return d`<fieldset>
7591
+ <legend>${l(w`Obligation ${t + 1}`)}</legend>
7592
7592
  <tems-input
7593
7593
  type="text"
7594
7594
  label="${l("Action")}"
@@ -7599,10 +7599,10 @@ let oe = class extends C {
7599
7599
  i.detail.value
7600
7600
  )}
7601
7601
  ></tems-input>
7602
- ${e.constraint && e.constraint.length > 0 ? c`<fieldset>
7602
+ ${e.constraint && e.constraint.length > 0 ? d`<fieldset>
7603
7603
  <legend>${l("Constraints")}</legend>
7604
7604
  ${e.constraint.map(
7605
- (i, r) => c`
7605
+ (i, r) => d`
7606
7606
  <div class="flex flex-column spacer-auto">
7607
7607
  <tems-input
7608
7608
  type="text"
@@ -7700,11 +7700,11 @@ let oe = class extends C {
7700
7700
  ...this.template.policy,
7701
7701
  "@type": "Set"
7702
7702
  }
7703
- }), c`<form @submit=${(e) => e.preventDefault()}>
7703
+ }), d`<form @submit=${(e) => e.preventDefault()}>
7704
7704
  <div class="flex">
7705
7705
  <tems-label
7706
7706
  class="flex-1"
7707
- label=${l($`Custom ${this.template.name} policy`)}
7707
+ label=${l(w`Custom ${this.template.name} policy`)}
7708
7708
  ></tems-label>
7709
7709
  <tems-button
7710
7710
  type="outline-gray"
@@ -7785,10 +7785,10 @@ let oe = class extends C {
7785
7785
  </fieldset>
7786
7786
  <div class="flex align-right spacer-top">
7787
7787
  <tems-button type="outline-gray" size="sm" @click=${this._resetPolicy}>
7788
- ${l($`Reset to ${this.template.name} default`)}
7788
+ ${l(w`Reset to ${this.template.name} default`)}
7789
7789
  </tems-button>
7790
7790
  </div>
7791
- </form>`) : c`<p>${l("No policy template provided")}</p>`;
7791
+ </form>`) : d`<p>${l("No policy template provided")}</p>`;
7792
7792
  }
7793
7793
  };
7794
7794
  oe.styles = [L(Pn)];
@@ -7799,10 +7799,10 @@ Ti([
7799
7799
  y({ attribute: !1 })
7800
7800
  ], oe.prototype, "policy", 2);
7801
7801
  oe = Ti([
7802
- w("policy-composer"),
7802
+ $("policy-composer"),
7803
7803
  q()
7804
7804
  ], oe);
7805
- var Sn = Object.defineProperty, En = Object.getOwnPropertyDescriptor, zt = (e, t, i, r) => {
7805
+ var Sn = Object.defineProperty, En = Object.getOwnPropertyDescriptor, qt = (e, t, i, r) => {
7806
7806
  for (var s = r > 1 ? void 0 : r ? En(t, i) : t, o = e.length - 1, a; o >= 0; o--)
7807
7807
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
7808
7808
  return r && s && Sn(t, i, s), s;
@@ -7875,9 +7875,9 @@ let mt = class extends k {
7875
7875
  }
7876
7876
  render() {
7877
7877
  return this.gatekeeper() || this._getResource.render({
7878
- pending: () => c`<solid-loader></solid-loader>`,
7878
+ pending: () => d`<solid-loader></solid-loader>`,
7879
7879
  error: (e) => (console.warn("[solid-customer-list] Task error:", e), p),
7880
- complete: (e) => c`<tems-viewport>
7880
+ complete: (e) => d`<tems-viewport>
7881
7881
  <tems-header slot="header" heading=${this.header}></tems-header>
7882
7882
  <div slot="content">
7883
7883
  <ds4go-catalog-filter-holder
@@ -7894,7 +7894,7 @@ let mt = class extends k {
7894
7894
  @clicked=${this._openModal}
7895
7895
  @result-count=${this._resultCountUpdate}
7896
7896
  ></ds4go-customer-holder>
7897
- ${this.object ? c`<div
7897
+ ${this.object ? d`<div
7898
7898
  class="modal"
7899
7899
  @click=${this._closeModalFromBackground}
7900
7900
  >
@@ -7922,23 +7922,23 @@ mt.styles = A`
7922
7922
  align-items: center;
7923
7923
  }
7924
7924
  `;
7925
- zt([
7925
+ qt([
7926
7926
  y({ attribute: !1 })
7927
7927
  ], mt.prototype, "objects", 2);
7928
- zt([
7928
+ qt([
7929
7929
  y({ attribute: "header", type: String })
7930
7930
  ], mt.prototype, "header", 2);
7931
- zt([
7931
+ qt([
7932
7932
  h()
7933
7933
  ], mt.prototype, "search", 2);
7934
- zt([
7934
+ qt([
7935
7935
  h()
7936
7936
  ], mt.prototype, "resultCount", 2);
7937
- zt([
7937
+ qt([
7938
7938
  h()
7939
7939
  ], mt.prototype, "bundleCreationComponent", 2);
7940
- mt = zt([
7941
- w("solid-customer-list")
7940
+ mt = qt([
7941
+ $("solid-customer-list")
7942
7942
  ], mt);
7943
7943
  var On = Object.defineProperty, In = Object.getOwnPropertyDescriptor, $t = (e, t, i, r) => {
7944
7944
  for (var s = r > 1 ? void 0 : r ? In(t, i) : t, o = e.length - 1, a; o >= 0; o--)
@@ -8002,8 +8002,8 @@ let at = class extends k {
8002
8002
  this.catalogs.map(async (a) => {
8003
8003
  try {
8004
8004
  const n = await (await fetch(a.endpoints.catalog)).json();
8005
- return n["dcat:dataset"].map((d) => ({
8006
- ...d,
8005
+ return n["dcat:dataset"].map((c) => ({
8006
+ ...c,
8007
8007
  catalogTitle: n["dct:title"],
8008
8008
  catalogId: a.catalogId,
8009
8009
  sectorName: a.sectorName,
@@ -8092,18 +8092,18 @@ let at = class extends k {
8092
8092
  }
8093
8093
  render() {
8094
8094
  return this.gatekeeper() || this._getResource.render({
8095
- pending: () => c`<solid-loader></solid-loader>`,
8095
+ pending: () => d`<solid-loader></solid-loader>`,
8096
8096
  error: (e) => (console.warn("[solid-dsif-explorer-poc] Task error:", e), p),
8097
- complete: (e) => c`<tems-viewport>
8097
+ complete: (e) => d`<tems-viewport>
8098
8098
  <tems-header
8099
8099
  slot="header"
8100
8100
  heading=${this.catalogId ? e ? this.catalogId === "*" ? `${l("All Datasets")}` : `${l("Datasets from")}
8101
- ${e["dct:title"]} (From ${this.sectorId})` : `${l($`Error while loading catalog ${this.catalogId}`)}` : this.sectorId ? this.sectorId === "*" ? `${l("All Sectors")}` : `${l("Catalogs available in")} ${this.sectorId}` : `${l("Root Authority")}`}
8102
- >${(this.sectorId || this.catalogId) && !(this.catalogId === "*" && this.sectorId === "*") && !(this.sectorId === "*" && !this.catalogId) ? c`<div slot="cta">
8101
+ ${e["dct:title"]} (From ${this.sectorId})` : `${l(w`Error while loading catalog ${this.catalogId}`)}` : this.sectorId ? this.sectorId === "*" ? `${l("All Sectors")}` : `${l("Catalogs available in")} ${this.sectorId}` : `${l("Root Authority")}`}
8102
+ >${(this.sectorId || this.catalogId) && !(this.catalogId === "*" && this.sectorId === "*") && !(this.sectorId === "*" && !this.catalogId) ? d`<div slot="cta">
8103
8103
  <tems-button
8104
8104
  type="primary"
8105
8105
  label=${l(
8106
- $`Back to ${this.catalogId ? this.sectorId : "Root Authority"}`
8106
+ w`Back to ${this.catalogId ? this.sectorId : "Root Authority"}`
8107
8107
  )}
8108
8108
  @click=${this._back}
8109
8109
  ></tems-button>
@@ -8153,14 +8153,14 @@ $t([
8153
8153
  h()
8154
8154
  ], at.prototype, "object", 2);
8155
8155
  at = $t([
8156
- w("solid-dsif-explorer-poc")
8156
+ $("solid-dsif-explorer-poc")
8157
8157
  ], at);
8158
8158
  var Rn = Object.defineProperty, Dn = Object.getOwnPropertyDescriptor, he = (e, t, i, r) => {
8159
8159
  for (var s = r > 1 ? void 0 : r ? Dn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
8160
8160
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
8161
8161
  return r && s && Rn(t, i, s), s;
8162
8162
  };
8163
- let St = class extends X {
8163
+ let Et = class extends X {
8164
8164
  constructor() {
8165
8165
  super(), this.header = "DSP Catalog", this.search = [], this.resultCount = this.objects?.length || 0, this._getResource = new Q(this, {
8166
8166
  task: async ([e]) => {
@@ -8218,9 +8218,9 @@ let St = class extends X {
8218
8218
  }
8219
8219
  render() {
8220
8220
  return !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute) ? p : this._getResource.render({
8221
- pending: () => c`<solid-loader></solid-loader>`,
8222
- error: (e) => c`<p>${e}</p>`,
8223
- complete: (e) => !e || !this.providers ? p : c`<tems-viewport>
8221
+ pending: () => d`<solid-loader></solid-loader>`,
8222
+ error: (e) => d`<p>${e}</p>`,
8223
+ complete: (e) => !e || !this.providers ? p : d`<tems-viewport>
8224
8224
  <tems-header slot="header" heading=${this.header}></tems-header>
8225
8225
  <div slot="content">
8226
8226
  <ds4go-catalog-filter-holder
@@ -8239,7 +8239,7 @@ let St = class extends X {
8239
8239
  @clicked=${this._openModal}
8240
8240
  @result-count=${this._resultCountUpdate}
8241
8241
  ></ds4go-catalog-data-holder>
8242
- ${this.object ? c`<div
8242
+ ${this.object ? d`<div
8243
8243
  class="modal"
8244
8244
  @click=${this._closeModalFromBackground}
8245
8245
  >
@@ -8254,7 +8254,7 @@ let St = class extends X {
8254
8254
  });
8255
8255
  }
8256
8256
  };
8257
- St.styles = A`
8257
+ Et.styles = A`
8258
8258
  .modal {
8259
8259
  position: fixed;
8260
8260
  top: 0;
@@ -8270,27 +8270,27 @@ St.styles = A`
8270
8270
  `;
8271
8271
  he([
8272
8272
  h()
8273
- ], St.prototype, "dspConnector", 2);
8273
+ ], Et.prototype, "dspConnector", 2);
8274
8274
  he([
8275
8275
  y({ attribute: "header", type: String })
8276
- ], St.prototype, "header", 2);
8276
+ ], Et.prototype, "header", 2);
8277
8277
  he([
8278
8278
  h()
8279
- ], St.prototype, "search", 2);
8279
+ ], Et.prototype, "search", 2);
8280
8280
  he([
8281
8281
  h()
8282
- ], St.prototype, "resultCount", 2);
8283
- St = he([
8284
- w("solid-dsp-catalog")
8285
- ], St);
8286
- var Tn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor, qt = (e, t, i, r) => {
8282
+ ], Et.prototype, "resultCount", 2);
8283
+ Et = he([
8284
+ $("solid-dsp-catalog")
8285
+ ], Et);
8286
+ var Tn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor, Dt = (e, t, i, r) => {
8287
8287
  for (var s = r > 1 ? void 0 : r ? jn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
8288
8288
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
8289
8289
  return r && s && Tn(t, i, s), s;
8290
8290
  };
8291
- let Et = class extends X {
8291
+ let ft = class extends X {
8292
8292
  constructor() {
8293
- super(...arguments), this.autoRefreshInterval = 0, this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this._getResource = new Q(this, {
8293
+ super(...arguments), this.autoRefreshInterval = 0, this.agreements = [], this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this._getResource = new Q(this, {
8294
8294
  task: async () => {
8295
8295
  if (this.orbit) {
8296
8296
  if (!this.hasCachedDatas) {
@@ -8329,7 +8329,96 @@ let Et = class extends X {
8329
8329
  this.loadPolicies(),
8330
8330
  this.loadContracts(),
8331
8331
  this.loadNegotiations()
8332
- ]);
8332
+ ]), await this.forceLoadAllAssets();
8333
+ }
8334
+ // IMPROVEME: allows Consumer connector to load assets from other providers
8335
+ async forceLoadAllAssets() {
8336
+ if (!this.storeService) {
8337
+ console.error("Store not initialized. Check connector configuration.");
8338
+ return;
8339
+ }
8340
+ try {
8341
+ await Promise.all(
8342
+ this.negotiations.map(async (r) => {
8343
+ if (r.contractAgreementId) {
8344
+ const s = await this.loadAgreement(r["@id"]);
8345
+ s && !this.agreements.find((o) => o["@id"] === s["@id"]) && this.agreements.push(s);
8346
+ }
8347
+ })
8348
+ );
8349
+ const e = this.agreements.filter(
8350
+ (r) => {
8351
+ if (!r.consumerId) return !1;
8352
+ const s = r.consumerId.split("/").pop();
8353
+ if (!this.participantId)
8354
+ throw new Error("Participant ID not set");
8355
+ return s?.startsWith(this.participantId);
8356
+ }
8357
+ ), t = [];
8358
+ for (const r of e)
8359
+ if (!this.assets.find((s) => s["@id"] === r.assetId))
8360
+ for (const s of this.providers)
8361
+ t.push(
8362
+ fetch(
8363
+ `${s.address.replace("/protocol", "")}/management/v3/assets/${r.assetId}`
8364
+ )
8365
+ );
8366
+ const i = await Promise.all(t);
8367
+ this.assets = [
8368
+ ...this.assets,
8369
+ ...await Promise.all(
8370
+ i.filter((r) => r.status === 200).map((r) => r.json())
8371
+ )
8372
+ ];
8373
+ } catch (e) {
8374
+ console.error("Failed to get all assets from all providers:", e);
8375
+ }
8376
+ }
8377
+ async getAgreementForResource(e) {
8378
+ if (!this.storeService) {
8379
+ console.error("Store not initialized. Check connector configuration.");
8380
+ return;
8381
+ }
8382
+ try {
8383
+ const t = this.assets.find(
8384
+ (r) => r.dataAddress?.baseUrl === e
8385
+ );
8386
+ if (!t)
8387
+ throw new Error(`No asset found for resource ${e}`);
8388
+ const i = this.agreements.find(
8389
+ (r) => r.assetId === t["@id"]
8390
+ );
8391
+ if (!i)
8392
+ throw new Error(`No agreement found for asset ${t["@id"]}`);
8393
+ return i;
8394
+ } catch (t) {
8395
+ console.error(`Failed to get agreement ID for ${e}:`, t);
8396
+ }
8397
+ }
8398
+ async fetchProtectedResource(e) {
8399
+ if (!this.storeService) {
8400
+ console.error("Store not initialized. Check connector configuration.");
8401
+ return;
8402
+ }
8403
+ try {
8404
+ const t = await this.getAgreementForResource(e);
8405
+ if (!t)
8406
+ throw new Error(`No agreement found for resource ${e}`);
8407
+ const i = this.negotiations.find(
8408
+ (r) => r.contractAgreementId === t?.["@id"]
8409
+ );
8410
+ if (!i)
8411
+ throw new Error(`No negotiation found for resource ${e}`);
8412
+ return await this.storeService.fetchProtectedResource(
8413
+ e,
8414
+ this.participantId,
8415
+ this.participantConnectorUri,
8416
+ i.counterPartyAddress,
8417
+ i.contractAgreementId
8418
+ );
8419
+ } catch (t) {
8420
+ console.error(`Failed to load ${e}:`, t);
8421
+ }
8333
8422
  }
8334
8423
  async loadAssets() {
8335
8424
  if (!this.storeService) {
@@ -8450,24 +8539,27 @@ let Et = class extends X {
8450
8539
  });
8451
8540
  }
8452
8541
  };
8453
- qt([
8542
+ Dt([
8454
8543
  y({ attribute: "auto-refresh", type: Number })
8455
- ], Et.prototype, "autoRefreshInterval", 2);
8456
- qt([
8544
+ ], ft.prototype, "autoRefreshInterval", 2);
8545
+ Dt([
8457
8546
  h()
8458
- ], Et.prototype, "assets", 2);
8459
- qt([
8547
+ ], ft.prototype, "agreements", 2);
8548
+ Dt([
8460
8549
  h()
8461
- ], Et.prototype, "policies", 2);
8462
- qt([
8550
+ ], ft.prototype, "assets", 2);
8551
+ Dt([
8463
8552
  h()
8464
- ], Et.prototype, "contracts", 2);
8465
- qt([
8553
+ ], ft.prototype, "policies", 2);
8554
+ Dt([
8466
8555
  h()
8467
- ], Et.prototype, "negotiations", 2);
8468
- Et = qt([
8469
- w("solid-dsp-connector")
8470
- ], Et);
8556
+ ], ft.prototype, "contracts", 2);
8557
+ Dt([
8558
+ h()
8559
+ ], ft.prototype, "negotiations", 2);
8560
+ ft = Dt([
8561
+ $("solid-dsp-connector")
8562
+ ], ft);
8471
8563
  const kn = ".flex{display:flex}.flex.flex-row{flex-direction:row}.flex.flex-column{flex-direction:column}.flex.wrap{flex-wrap:wrap}.flex.flex-1{flex:1}.flex .half,.flex.half{flex-basis:50%}.flex.justify-content-center{justify-content:center}.flex.justify-content-space-between{justify-content:space-between}.flex.align-items-center{align-items:center}.flex.align-items-flex-start{align-items:flex-start}.flex .align-items-flex-end{align-items:flex-end}.full-width{width:100%}[slot=content]{height:100%}section{height:calc(100% - var(--scale-900)*2);padding:var(--scale-900) 0}section,section>div{gap:var(--scale-400)}section>div{display:flex;flex:1;flex-direction:column;height:100%}section>div:first-child{max-width:400px}.card-grid{align-content:flex-start;display:flex;flex:1;flex-direction:row;flex-wrap:wrap;gap:20px;overflow-y:scroll}.card-grid-vertical{justify-content:stretch}.card-grid-vertical ds4go-card-catalog{height:fit-content;width:354px}ds4go-card-catalog{cursor:pointer}ds4go-card-catalog[selected]{--color-border-primary:var(--color-surface-action-solid)}tems-search-bar{--scale-900:0}.gap-400{gap:var(--scale-400)}div.select{align-items:flex-start;flex-direction:column}div.select,div.select .flex{display:flex;gap:var(--scale-200);width:100%}div.select .flex .flex-1{flex:1}div.select .flex tems-button{min-width:205px}div:has(>tems-textarea){margin-bottom:-2px}select{appearance:none;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300);width:100%}select:hover{border:var(--border-width-sm) solid var(--color-border-action)}select option{background-color:var(--color-surface-primary);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300)}";
8472
8564
  var Fn = Object.defineProperty, Mn = Object.getOwnPropertyDescriptor, D = (e, t, i, r) => {
8473
8565
  for (var s = r > 1 ? void 0 : r ? Mn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
@@ -8501,7 +8593,7 @@ let S = class extends k {
8501
8593
  (o) => !r.includes(o)
8502
8594
  );
8503
8595
  if (i) {
8504
- const o = Ut(
8596
+ const o = Lt(
8505
8597
  s,
8506
8598
  i
8507
8599
  );
@@ -8631,10 +8723,10 @@ let S = class extends k {
8631
8723
  "solid-tems-policies-management"
8632
8724
  );
8633
8725
  n?.loadPolicies && n.loadPolicies();
8634
- const d = document.querySelector(
8726
+ const c = document.querySelector(
8635
8727
  "solid-tems-contracts-management"
8636
8728
  );
8637
- d?.loadData && d.loadData();
8729
+ c?.loadData && c.loadData();
8638
8730
  }
8639
8731
  this._reset();
8640
8732
  const r = this.orbit?.components.find(
@@ -8712,20 +8804,20 @@ let S = class extends k {
8712
8804
  }
8713
8805
  render() {
8714
8806
  return this.gatekeeper() || this._getResource.render({
8715
- pending: () => c`<solid-loader></solid-loader>`,
8807
+ pending: () => d`<solid-loader></solid-loader>`,
8716
8808
  error: (t) => (console.warn("[solid-fact-bundle-creation] Task error:", t), p),
8717
8809
  complete: (t) => {
8718
8810
  if (!t) return p;
8719
8811
  const i = t.slice(0, this.spliceLength), r = this.selectedFacts.length, s = !!this.bundleName && r > 0 && !!this.bundleLanguage && !!this.bundleAccessPolicy && !!this.bundleContractPolicy;
8720
- return c`<tems-viewport>
8812
+ return d`<tems-viewport>
8721
8813
  <tems-header slot="header" heading=${this.header}>
8722
8814
  <div slot="cta">
8723
- ${this.step === 0 ? c`<tems-button
8815
+ ${this.step === 0 ? d`<tems-button
8724
8816
  type="primary"
8725
8817
  disabled=${this.selectedFacts.length === 0 || p}
8726
8818
  label=${l("Next")}
8727
8819
  @click=${this._nextStep}
8728
- ></tems-button>` : c`<div class="flex">
8820
+ ></tems-button>` : d`<div class="flex">
8729
8821
  <tems-button
8730
8822
  type="link-color"
8731
8823
  label=${l("Cancel bundle creation")}
@@ -8742,11 +8834,11 @@ let S = class extends k {
8742
8834
  </tems-header>
8743
8835
  <div slot="content">
8744
8836
  <section class="flex flex-1">
8745
- ${this.step === 0 ? c`<div>
8837
+ ${this.step === 0 ? d`<div>
8746
8838
  <tems-division type="h4">
8747
8839
  <div>
8748
8840
  ${l(
8749
- $`${r} selected fact${r > 1 ? "s" : ""}`
8841
+ w`${r} selected fact${r > 1 ? "s" : ""}`
8750
8842
  )}
8751
8843
  </div></tems-division
8752
8844
  >
@@ -8763,7 +8855,7 @@ let S = class extends k {
8763
8855
  type: "information"
8764
8856
  });
8765
8857
  }
8766
- return c`<ds4go-card-catalog
8858
+ return d`<ds4go-card-catalog
8767
8859
  .object=${p}
8768
8860
  .header=${o.name || p}
8769
8861
  date=${o.updated_at || p}
@@ -8776,7 +8868,7 @@ let S = class extends k {
8776
8868
  })}
8777
8869
  </div>
8778
8870
  </div>
8779
- ${i.length > 0 || this.filterFactText ? c`<div>
8871
+ ${i.length > 0 || this.filterFactText ? d`<div>
8780
8872
  <div>
8781
8873
  <tems-search-bar
8782
8874
  .displayFilters=${!1}
@@ -8791,7 +8883,7 @@ let S = class extends k {
8791
8883
  @search=${this._searchFacts}
8792
8884
  ></tems-search-bar>
8793
8885
  </div>
8794
- ${i.length > 0 ? c` <div class="card-grid card-grid-vertical">
8886
+ ${i.length > 0 ? d` <div class="card-grid card-grid-vertical">
8795
8887
  ${i.map((o) => {
8796
8888
  const a = (o.categories || []).map(
8797
8889
  (n) => ({
@@ -8806,7 +8898,7 @@ let S = class extends k {
8806
8898
  type: "information"
8807
8899
  });
8808
8900
  }
8809
- return c`<ds4go-card-catalog
8901
+ return d`<ds4go-card-catalog
8810
8902
  .object=${p}
8811
8903
  .tags=${a}
8812
8904
  .header=${o.name || p}
@@ -8819,12 +8911,12 @@ let S = class extends k {
8819
8911
  ></ds4go-card-catalog>`;
8820
8912
  })}
8821
8913
  </div>
8822
- ${i.length < t.length ? c`<div
8914
+ ${i.length < t.length ? d`<div
8823
8915
  class="flex flex-row justify-content-space-between align-items-flex-end"
8824
8916
  >
8825
8917
  <div>
8826
8918
  ${l(
8827
- $`Displaying ${i.length} of ${t.length} result${t.length > 1 ? "s" : ""}`
8919
+ w`Displaying ${i.length} of ${t.length} result${t.length > 1 ? "s" : ""}`
8828
8920
  )}
8829
8921
  </div>
8830
8922
  <div class="flex flex-row gap-400">
@@ -8841,9 +8933,9 @@ let S = class extends k {
8841
8933
  label=${l("Show all results")}
8842
8934
  ></tems-button>
8843
8935
  </div>
8844
- </div>` : p}` : c`${l("No results found")}
8936
+ </div>` : p}` : d`${l("No results found")}
8845
8937
  ${this.filterFactText ? `for "${this.filterFactText}".` : ""}`}
8846
- </div>` : p}` : c`<div>
8938
+ </div>` : p}` : d`<div>
8847
8939
  <div>
8848
8940
  <tems-input
8849
8941
  type="text"
@@ -8885,7 +8977,7 @@ let S = class extends k {
8885
8977
  )
8886
8978
  )
8887
8979
  ).filter((o) => o).sort((o, a) => o.localeCompare(a)).map(
8888
- (o) => c`<option
8980
+ (o) => d`<option
8889
8981
  value="${o}"
8890
8982
  ?selected="${o === this.bundleCategory}"
8891
8983
  >
@@ -8905,7 +8997,7 @@ let S = class extends k {
8905
8997
  @change=${this._updateBundleDescription}
8906
8998
  ></tems-textarea>
8907
8999
  </div>
8908
- ${this.displayAccessPolicyCustomization ? c`<div>
9000
+ ${this.displayAccessPolicyCustomization ? d`<div>
8909
9001
  <policy-composer
8910
9002
  .template=${this.policyTemplates.find(
8911
9003
  (o) => o.id === this.bundleAccessPolicy
@@ -8914,7 +9006,7 @@ let S = class extends k {
8914
9006
  @policy-changed=${this._updateBundleAccessPolicyDefinition}
8915
9007
  @cancel-policy-customization=${this._resetBundleAccessPolicy}
8916
9008
  ></policy-composer>
8917
- </div>` : c`<div class="select">
9009
+ </div>` : d`<div class="select">
8918
9010
  <tems-label
8919
9011
  label=${l("Access policy")}
8920
9012
  ></tems-label>
@@ -8923,7 +9015,7 @@ let S = class extends k {
8923
9015
  class="flex-1"
8924
9016
  @change=${this._selectBundleAccessPolicy}
8925
9017
  >
8926
- ${this.policyTemplates.map((o) => c`<option
9018
+ ${this.policyTemplates.map((o) => d`<option
8927
9019
  value="${o.id}"
8928
9020
  ?selected="${o.id === this.bundleAccessPolicy}"
8929
9021
  >
@@ -8938,7 +9030,7 @@ let S = class extends k {
8938
9030
  ></tems-button>
8939
9031
  </div>
8940
9032
  </div>`}
8941
- ${this.displayContractPolicyCustomization ? c`<div>
9033
+ ${this.displayContractPolicyCustomization ? d`<div>
8942
9034
  <policy-composer
8943
9035
  .template=${this.policyTemplates.find(
8944
9036
  (o) => o.id === this.bundleContractPolicy
@@ -8947,7 +9039,7 @@ let S = class extends k {
8947
9039
  @policy-changed=${this._updateBundleContractPolicyDefinition}
8948
9040
  @cancel-policy-customization=${this._resetBundleContractPolicy}
8949
9041
  ></policy-composer>
8950
- </div>` : c`<div class="select">
9042
+ </div>` : d`<div class="select">
8951
9043
  <tems-label
8952
9044
  label=${l("Contract policy")}
8953
9045
  ></tems-label>
@@ -8956,7 +9048,7 @@ let S = class extends k {
8956
9048
  class="flex-1"
8957
9049
  @change=${this._selectBundleContractPolicy}
8958
9050
  >
8959
- ${this.policyTemplates.map((o) => c`<option
9051
+ ${this.policyTemplates.map((o) => d`<option
8960
9052
  value="${o.id}"
8961
9053
  ?selected="${o.id === this.bundleContractPolicy}"
8962
9054
  >
@@ -9035,14 +9127,14 @@ D([
9035
9127
  h()
9036
9128
  ], S.prototype, "displayContractPolicyCustomization", 2);
9037
9129
  S = D([
9038
- w("solid-fact-bundle-creation")
9130
+ $("solid-fact-bundle-creation")
9039
9131
  ], S);
9040
9132
  var Nn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, Bt = (e, t, i, r) => {
9041
9133
  for (var s = r > 1 ? void 0 : r ? Un(t, i) : t, o = e.length - 1, a; o >= 0; o--)
9042
9134
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
9043
9135
  return r && s && Nn(t, i, s), s;
9044
9136
  };
9045
- let ft = class extends k {
9137
+ let gt = class extends k {
9046
9138
  constructor() {
9047
9139
  super(...arguments), this.objects = [], this.header = "DS4GO Fact Bundling", this.search = [], this.resultCount = this.objects?.length || 0, this.cherryPickedProperties = [
9048
9140
  { key: "created_at", value: "created_at", cast: M },
@@ -9142,9 +9234,9 @@ let ft = class extends k {
9142
9234
  }
9143
9235
  render() {
9144
9236
  return this.gatekeeper() || this._getResource.render({
9145
- pending: () => c`<solid-loader></solid-loader>`,
9237
+ pending: () => d`<solid-loader></solid-loader>`,
9146
9238
  error: (e) => (console.warn("[solid-fact-bundle] Task error:", e), p),
9147
- complete: (e) => c`<tems-viewport>
9239
+ complete: (e) => d`<tems-viewport>
9148
9240
  <tems-header slot="header" heading=${this.header}>
9149
9241
  <div slot="cta">
9150
9242
  <tems-button
@@ -9170,7 +9262,7 @@ let ft = class extends k {
9170
9262
  @clicked=${this._openModal}
9171
9263
  @result-count=${this._resultCountUpdate}
9172
9264
  ></ds4go-fact-bundle-holder>
9173
- ${this.object ? c`<div
9265
+ ${this.object ? d`<div
9174
9266
  class="modal"
9175
9267
  @click=${this._closeModalFromBackground}
9176
9268
  >
@@ -9184,7 +9276,7 @@ let ft = class extends k {
9184
9276
  });
9185
9277
  }
9186
9278
  };
9187
- ft.styles = A`
9279
+ gt.styles = A`
9188
9280
  .modal {
9189
9281
  position: fixed;
9190
9282
  top: 0;
@@ -9200,23 +9292,23 @@ ft.styles = A`
9200
9292
  `;
9201
9293
  Bt([
9202
9294
  y({ attribute: !1 })
9203
- ], ft.prototype, "objects", 2);
9295
+ ], gt.prototype, "objects", 2);
9204
9296
  Bt([
9205
9297
  y({ attribute: "header", type: String })
9206
- ], ft.prototype, "header", 2);
9298
+ ], gt.prototype, "header", 2);
9207
9299
  Bt([
9208
9300
  h()
9209
- ], ft.prototype, "search", 2);
9301
+ ], gt.prototype, "search", 2);
9210
9302
  Bt([
9211
9303
  h()
9212
- ], ft.prototype, "resultCount", 2);
9304
+ ], gt.prototype, "resultCount", 2);
9213
9305
  Bt([
9214
9306
  h()
9215
- ], ft.prototype, "bundleCreationComponent", 2);
9216
- ft = Bt([
9217
- w("solid-fact-bundle")
9218
- ], ft);
9219
- var Ln = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, Dt = (e, t, i, r) => {
9307
+ ], gt.prototype, "bundleCreationComponent", 2);
9308
+ gt = Bt([
9309
+ $("solid-fact-bundle")
9310
+ ], gt);
9311
+ var Ln = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, Tt = (e, t, i, r) => {
9220
9312
  for (var s = r > 1 ? void 0 : r ? zn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
9221
9313
  (a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
9222
9314
  return r && s && Ln(t, i, s), s;
@@ -9227,7 +9319,7 @@ let nt = class extends k {
9227
9319
  { key: "created_at", value: "created_at", cast: M },
9228
9320
  { key: "updated_at", value: "updated_at", cast: M },
9229
9321
  { key: "ldp:contains", value: "facts" }
9230
- ], this.assetData = [], this._getResource = new Q(this, {
9322
+ ], this._getResource = new Q(this, {
9231
9323
  task: async ([e]) => {
9232
9324
  if (!(!this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))) {
9233
9325
  if (this.dspConnector?.instance) {
@@ -9236,41 +9328,34 @@ let nt = class extends k {
9236
9328
  if (t) {
9237
9329
  const i = this.dspConnector.instance.negotiations || [], r = [];
9238
9330
  await Promise.all(
9239
- i.map(async (u) => {
9240
- if (u.contractAgreementId) {
9241
- const m = await this.dspConnector?.instance?.loadAgreement(u["@id"]);
9242
- m && r.push(m);
9331
+ i.map(async (c) => {
9332
+ if (c.contractAgreementId) {
9333
+ const u = await this.dspConnector?.instance?.loadAgreement(c["@id"]);
9334
+ u && r.push(u);
9243
9335
  }
9244
9336
  })
9245
9337
  );
9246
9338
  const s = r.filter(
9247
- (u) => u.consumerId ? u.consumerId.split("/").pop()?.startsWith(t) : !1
9339
+ (c) => c.consumerId ? c.consumerId.split("/").pop()?.startsWith(t) : !1
9248
9340
  ), o = [];
9249
- for (const u of s)
9250
- this.assetData.find(
9251
- (m) => m["@id"] === u.assetId
9252
- ) || o.push(
9253
- fetch(
9254
- `https://afp.connector-dev.startinblox.com/management/v3/assets/${u.assetId}`
9255
- )
9341
+ for (const c of s) {
9342
+ const u = this.dspConnector?.instance?.assets.find(
9343
+ (m) => m["@id"] === c.assetId
9256
9344
  );
9257
- const a = await Promise.all(o);
9258
- this.assetData = [
9259
- ...this.assetData,
9260
- ...await Promise.all(a.map((u) => u.json()))
9261
- ];
9262
- const n = [];
9263
- for (const u of this.assetData) {
9264
- const m = u?.dataAddress?.baseUrl;
9265
- m && n.push(this._getProxyValue(m));
9345
+ if (u) {
9346
+ const m = u?.dataAddress?.baseUrl;
9347
+ m && o.push(m);
9348
+ }
9266
9349
  }
9267
- const d = Array.from(
9350
+ const a = (await Promise.all(o)).map(
9351
+ (c) => this._getProxyValue(c)
9352
+ ), n = Array.from(
9268
9353
  new Set(
9269
- (await Promise.all(n)).flatMap((u) => u?.facts || []).map((u) => u["@id"])
9354
+ (await Promise.all(a)).flatMap((c) => c?.facts || []).map((c) => c["@id"])
9270
9355
  )
9271
9356
  );
9272
9357
  this.objects = await Promise.all(
9273
- d.map((u) => this._getProxyValue(u, !0, [
9358
+ n.map((c) => this._getProxyValue(c, !0, [
9274
9359
  { key: "created_at", value: "created_at" },
9275
9360
  { key: "updated_at", value: "updated_at", cast: M },
9276
9361
  { key: "name", value: "name" },
@@ -9282,11 +9367,11 @@ let nt = class extends k {
9282
9367
  key: "categories",
9283
9368
  value: "categories",
9284
9369
  expand: !0,
9285
- cast: async (m) => await Promise.all(
9286
- (await m._originalResource?.["ldp:contains"]).map(
9287
- async (f) => ({
9288
- "@id": f["@id"],
9289
- name: pt(await f.name || "")
9370
+ cast: async (u) => await Promise.all(
9371
+ (await u._originalResource?.["ldp:contains"]).map(
9372
+ async (m) => ({
9373
+ "@id": m["@id"],
9374
+ name: pt(await m.name || "")
9290
9375
  })
9291
9376
  )
9292
9377
  )
@@ -9352,9 +9437,9 @@ let nt = class extends k {
9352
9437
  }
9353
9438
  render() {
9354
9439
  return !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute) ? p : this._getResource.render({
9355
- pending: () => c`<solid-loader></solid-loader>`,
9440
+ pending: () => d`<solid-loader></solid-loader>`,
9356
9441
  error: (e) => (console.warn("[solid-fact-list] Task error:", e), p),
9357
- complete: (e) => c`<tems-viewport>
9442
+ complete: (e) => d`<tems-viewport>
9358
9443
  <tems-header slot="header" heading=${this.header}></tems-header>
9359
9444
  <div slot="content">
9360
9445
  <ds4go-catalog-filter-holder
@@ -9371,7 +9456,7 @@ let nt = class extends k {
9371
9456
  @clicked=${this._openModal}
9372
9457
  @result-count=${this._resultCountUpdate}
9373
9458
  ></ds4go-fact-holder>
9374
- ${this.object ? c`<div
9459
+ ${this.object ? d`<div
9375
9460
  class="modal"
9376
9461
  @click=${this._closeModalFromBackground}
9377
9462
  >
@@ -9399,26 +9484,26 @@ nt.styles = A`
9399
9484
  align-items: center;
9400
9485
  }
9401
9486
  `;
9402
- Dt([
9487
+ Tt([
9403
9488
  y({ attribute: !1 })
9404
9489
  ], nt.prototype, "objects", 2);
9405
- Dt([
9490
+ Tt([
9406
9491
  h()
9407
9492
  ], nt.prototype, "dspConnector", 2);
9408
- Dt([
9493
+ Tt([
9409
9494
  y({ attribute: "header", type: String })
9410
9495
  ], nt.prototype, "header", 2);
9411
- Dt([
9496
+ Tt([
9412
9497
  h()
9413
9498
  ], nt.prototype, "search", 2);
9414
- Dt([
9499
+ Tt([
9415
9500
  h()
9416
9501
  ], nt.prototype, "resultCount", 2);
9417
- Dt([
9502
+ Tt([
9418
9503
  h()
9419
9504
  ], nt.prototype, "consumerAgreements", 2);
9420
- nt = Dt([
9421
- w("solid-fact-list")
9505
+ nt = Tt([
9506
+ $("solid-fact-list")
9422
9507
  ], nt);
9423
9508
  const qn = {
9424
9509
  sc7e3b594ffcd9d61: "Open access",
@@ -9428,28 +9513,28 @@ const qn = {
9428
9513
  s70a26f677dc46e06: "Policy ID:",
9429
9514
  s7b3a70561cec8d75: "Type:",
9430
9515
  s15923994727a0adb: "Permissions:",
9431
- s0772542b009a8be9: $`Action: ${0}`,
9516
+ s0772542b009a8be9: w`Action: ${0}`,
9432
9517
  s4c52b0193dcce634: "use",
9433
- s723a09cb247483aa: $`Constraint: ${0} ${1} ${2}`,
9518
+ s723a09cb247483aa: w`Constraint: ${0} ${1} ${2}`,
9434
9519
  s0885bc9622c48b61: "Prohibitions:",
9435
9520
  s498865c7bd1f3959: "unknown",
9436
9521
  sbde02617664d091c: "Obligations:",
9437
9522
  s5ea7f731936859c6: "Target Asset:",
9438
9523
  s3fca726cbe9998b3: "Assigner:",
9439
9524
  s20acf344316637a0: "All Catalogs",
9440
- s67269ab6dc51ec41: $`Error while loading catalog ${0}`,
9525
+ s67269ab6dc51ec41: w`Error while loading catalog ${0}`,
9441
9526
  s0b88896b7338837d: "All Datasets",
9442
9527
  s541d9cd11a5bc840: "Datasets from",
9443
9528
  s01ceffa02fa6bd7f: "All Sectors",
9444
9529
  s4aaac20ff7887391: "Catalogs available in",
9445
9530
  sa89a60c3e1230cec: "Root Authority",
9446
- se5784a16a6799dad: $`Back to ${0}`,
9531
+ se5784a16a6799dad: w`Back to ${0}`,
9447
9532
  s0fbf6dc6a1966408: "Next",
9448
9533
  s7cde8ae6e5ec185a: "Cancel bundle creation",
9449
9534
  seb1a452f2df70baf: "Create bundle",
9450
- sac1b0231875ff056: $`${0} selected fact${1}`,
9535
+ sac1b0231875ff056: w`${0} selected fact${1}`,
9451
9536
  s0d1be7a2c400c080: "more",
9452
- s8272d3578b7c78d5: $`Displaying ${0} of ${1} result${2}`,
9537
+ s8272d3578b7c78d5: w`Displaying ${0} of ${1} result${2}`,
9453
9538
  sa40e7f4f2a43e2f7: "Show more results",
9454
9539
  sacf246e0fa11730d: "Show all results",
9455
9540
  s9094c0cde8fb5058: "No results found",
@@ -9465,18 +9550,18 @@ const qn = {
9465
9550
  s6de61424bb681993: "Contract policy",
9466
9551
  s9e1971000a6a2270: "Customize contract policy",
9467
9552
  sf5509a9f253b9836: "Create a bundle",
9468
- s971c62c3e06f9d82: $`${0} previews`,
9553
+ s971c62c3e06f9d82: w`${0} previews`,
9469
9554
  sefa717c1620c4ae4: "facts",
9470
9555
  sef234a791696afff: "fact",
9471
- s43d205c00fad9f7e: $`+${0} ${1}`,
9472
- s984a5e18d85b6d57: $`${0} ${1}`,
9556
+ s43d205c00fad9f7e: w`+${0} ${1}`,
9557
+ s984a5e18d85b6d57: w`${0} ${1}`,
9473
9558
  sc792eb5e201cf4d0: "medias",
9474
9559
  sb333b8c7b846af83: "media",
9475
9560
  s09134b07b5aacab4: "By",
9476
9561
  s1a09219b217309cc: "Search for...",
9477
9562
  sb34b3dca6ec05933: "Date after",
9478
- se2a05e7d1641da65: $`Balance: ${0}`,
9479
- se5c723fd92e6b3a1: $`Participant ID: ${0}`,
9563
+ se2a05e7d1641da65: w`Balance: ${0}`,
9564
+ se5c723fd92e6b3a1: w`Participant ID: ${0}`,
9480
9565
  s6665daa6d6147db0: "No data available, data source may be temporarily unavailable.",
9481
9566
  sc16e00a7a8b2fde2: "Back",
9482
9567
  s2c8189544e3ea679: "Retry",
@@ -9550,7 +9635,7 @@ You will be charged 5€ on your account.`,
9550
9635
  sff5bb7742c2896c8: "Target",
9551
9636
  sbe3e707b57c46ca1: "Prohibitions",
9552
9637
  sffb7bb8de238ac4e: "Obligations",
9553
- s14859b947195b408: $`Permission ${0}`,
9638
+ s14859b947195b408: w`Permission ${0}`,
9554
9639
  s35bf8bb435438a0b: "Constraints",
9555
9640
  s132a54c0aec0f79d: "Left Operand",
9556
9641
  sc4801f580ac4e73d: "Operator",
@@ -9561,12 +9646,12 @@ You will be charged 5€ on your account.`,
9561
9646
  sdf761eb7ad16410b: "Remove Duty",
9562
9647
  s1718e3c349bc1d30: "Add Duty",
9563
9648
  s9d400a027526b9d8: "Remove Permission",
9564
- s076b9e9621d4d0b2: $`Prohibition ${0}`,
9649
+ s076b9e9621d4d0b2: w`Prohibition ${0}`,
9565
9650
  sbe1b941d4910d6ea: "Remove Prohibition",
9566
- sbcccc4176562f98f: $`Obligation ${0}`,
9651
+ sbcccc4176562f98f: w`Obligation ${0}`,
9567
9652
  s93ec9f2c98cc8e3f: "Remove Obligation",
9568
9653
  s628bb01dd2b078ad: "No policy template provided",
9569
- s9ffd7cfd1c88fd4e: $`Custom ${0} policy`,
9654
+ s9ffd7cfd1c88fd4e: w`Custom ${0} policy`,
9570
9655
  s2bed402279cceb12: "Cancel policy customization",
9571
9656
  s23cd949fc2aa86a8: "Policy Definition",
9572
9657
  se0f628ee952e5ad8: "Policy ID",
@@ -9574,7 +9659,7 @@ You will be charged 5€ on your account.`,
9574
9659
  s275cf91505dc75a3: "Add Permission",
9575
9660
  s18c23b99ee3c7cb3: "Add Prohibition",
9576
9661
  sc3fc7be063c1cb1c: "Add Obligation",
9577
- sb59dc090f2be3796: $`Reset to ${0} default`
9662
+ sb59dc090f2be3796: w`Reset to ${0} default`
9578
9663
  }, Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9579
9664
  __proto__: null,
9580
9665
  templates: qn