@d1g1tal/transportr 3.3.3 → 3.3.4

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.
@@ -9,48 +9,48 @@ var __export = (target, all) => {
9
9
  __defProp(target, name, { get: all[name], enumerable: true });
10
10
  };
11
11
 
12
- // iife:/home/runner/work/transportr/transportr/dist/OP3JQ447.js
13
- var OP3JQ447_exports = {};
14
- __export(OP3JQ447_exports, {
12
+ // iife:/home/runner/work/transportr/transportr/dist/VSS64DLN.js
13
+ var VSS64DLN_exports = {};
14
+ __export(VSS64DLN_exports, {
15
15
  default: () => mn
16
16
  });
17
17
  function R(s2) {
18
18
  return function(o) {
19
19
  o instanceof RegExp && (o.lastIndex = 0);
20
20
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++) a[c - 1] = arguments[c];
21
- return ve(s2, o, a);
21
+ return Ue(s2, o, a);
22
22
  };
23
23
  }
24
24
  function Zt(s2) {
25
25
  return function() {
26
26
  for (var o = arguments.length, l = new Array(o), a = 0; a < o; a++) l[a] = arguments[a];
27
- return Ue(s2, l);
27
+ return Fe(s2, l);
28
28
  };
29
29
  }
30
30
  function r(s2, o) {
31
- let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : pe;
32
- ct && ct(s2, null);
31
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ee;
32
+ ft && ft(s2, null);
33
33
  let a = o.length;
34
34
  for (; a--; ) {
35
35
  let c = o[a];
36
36
  if (typeof c == "string") {
37
- let D2 = l(c);
38
- D2 !== c && (Yt(o) || (o[a] = D2), c = D2);
37
+ let O2 = l(c);
38
+ O2 !== c && (Yt(o) || (o[a] = O2), c = O2);
39
39
  }
40
40
  s2[c] = true;
41
41
  }
42
42
  return s2;
43
43
  }
44
44
  function Jt(s2) {
45
- for (let o = 0; o < s2.length; o++) y(s2, o) || (s2[o] = null);
45
+ for (let o = 0; o < s2.length; o++) C(s2, o) || (s2[o] = null);
46
46
  return s2;
47
47
  }
48
- function C(s2) {
49
- let o = me(null);
50
- for (let [l, a] of _t(s2)) y(s2, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = C(a) : o[l] = a);
48
+ function M(s2) {
49
+ let o = ne(null);
50
+ for (let [l, a] of gt(s2)) C(s2, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = M(a) : o[l] = a);
51
51
  return o;
52
52
  }
53
- function J(s2, o) {
53
+ function ee(s2, o) {
54
54
  for (; s2 !== null; ) {
55
55
  let a = jt(s2, o);
56
56
  if (a) {
@@ -64,121 +64,121 @@ function J(s2, o) {
64
64
  }
65
65
  return l;
66
66
  }
67
- function ht() {
68
- let s2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn(), o = (i) => ht(i);
69
- if (o.version = "3.3.3", o.removed = [], !s2 || !s2.document || s2.document.nodeType !== Q.document || !s2.Element) return o.isSupported = false, o;
70
- let { document: l } = s2, a = l, c = a.currentScript, { DocumentFragment: D2, HTMLTemplateElement: v2, Node: Te2, Element: Fe2, NodeFilter: B2, NamedNodeMap: St = s2.NamedNodeMap || s2.MozNamedAttrMap, HTMLFormElement: Rt, DOMParser: Dt, trustedTypes: ee2 } = s2, Y2 = Fe2.prototype, Ot = J(Y2, "cloneNode"), yt = J(Y2, "remove"), bt = J(Y2, "nextSibling"), Lt = J(Y2, "childNodes"), te2 = J(Y2, "parentNode");
71
- if (typeof v2 == "function") {
67
+ function St() {
68
+ let s2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn(), o = (i) => St(i);
69
+ if (o.version = "3.4.0", o.removed = [], !s2 || !s2.document || s2.document.nodeType !== te.document || !s2.Element) return o.isSupported = false, o;
70
+ let { document: l } = s2, a = l, c = a.currentScript, { DocumentFragment: O2, HTMLTemplateElement: F2, Node: _e2, Element: He2, NodeFilter: Y2, NamedNodeMap: Rt = s2.NamedNodeMap || s2.MozNamedAttrMap, HTMLFormElement: Ot, DOMParser: Dt, trustedTypes: oe } = s2, X2 = He2.prototype, Lt = ee(X2, "cloneNode"), bt = ee(X2, "remove"), yt = ee(X2, "nextSibling"), Ct = ee(X2, "childNodes"), ie = ee(X2, "parentNode");
71
+ if (typeof F2 == "function") {
72
72
  let i = l.createElement("template");
73
73
  i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
74
74
  }
75
- let g, X2 = "", { implementation: de2, createNodeIterator: Nt, createDocumentFragment: Ct, getElementsByTagName: It } = l, { importNode: Mt } = a, A = Et();
76
- o.isSupported = typeof _t == "function" && typeof te2 == "function" && de2 && de2.createHTMLDocument !== void 0;
77
- let { MUSTACHE_EXPR: Ee2, ERB_EXPR: _e2, TMPLIT_EXPR: ge2, DATA_ATTR: wt, ARIA_ATTR: xt, IS_SCRIPT_OR_DATA: Pt, ATTR_WHITESPACE: He2, CUSTOM_ELEMENT: kt } = dt, { IS_ALLOWED_URI: ze } = dt, T2 = null, Ge = r({}, [...ut, ...we, ...xe, ...Pe, ...mt]), d = null, We = r({}, [...pt, ...ke, ...Tt, ...ue]), u = Object.seal(me(null, { tagNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, allowCustomizedBuiltInElements: { writable: true, configurable: false, enumerable: true, value: false } })), j2 = null, ne2 = null, x = Object.seal(me(null, { tagCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeCheck: { writable: true, configurable: false, enumerable: true, value: null } })), Be2 = true, Ae2 = true, Ye = false, Xe = true, U = false, oe = true, P2 = false, he2 = false, Se2 = false, F2 = false, ie = false, ae2 = false, je2 = true, Ve = false, vt = "user-content-", Re2 = true, V2 = false, H2 = {}, L2 = null, De2 = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), $e2 = null, qe2 = r({}, ["audio", "video", "img", "source", "image", "track"]), Oe2 = null, Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), re2 = "http://www.w3.org/1998/Math/MathML", se2 = "http://www.w3.org/2000/svg", I2 = "http://www.w3.org/1999/xhtml", z2 = I2, ye2 = false, be2 = null, Ut = r({}, [re2, se2, I2], Ie), le2 = r({}, ["mi", "mo", "mn", "ms", "mtext"]), ce2 = r({}, ["annotation-xml"]), Ft = r({}, ["title", "style", "font", "a", "script"]), $2 = null, Ht = ["application/xhtml+xml", "text/html"], zt = "text/html", p = null, G2 = null, Gt = l.createElement("form"), Ze = function(e) {
75
+ let g, j2 = "", { implementation: ge2, createNodeIterator: It, createDocumentFragment: Nt, getElementsByTagName: Mt } = l, { importNode: wt } = a, h = _t();
76
+ o.isSupported = typeof gt == "function" && typeof ie == "function" && ge2 && ge2.createHTMLDocument !== void 0;
77
+ let { MUSTACHE_EXPR: ae2, ERB_EXPR: re2, TMPLIT_EXPR: se2, DATA_ATTR: xt, ARIA_ATTR: Pt, IS_SCRIPT_OR_DATA: kt, ATTR_WHITESPACE: ze, CUSTOM_ELEMENT: vt } = Et, { IS_ALLOWED_URI: Ge } = Et, T2 = null, We = r({}, [...mt, ...xe, ...Pe, ...ke, ...pt]), d = null, Be2 = r({}, [...Tt, ...ve, ...dt, ...de]), u = Object.seal(ne(null, { tagNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, allowCustomizedBuiltInElements: { writable: true, configurable: false, enumerable: true, value: false } })), V2 = null, le2 = null, x = Object.seal(ne(null, { tagCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeCheck: { writable: true, configurable: false, enumerable: true, value: null } })), Ye = true, he2 = true, Xe = false, je2 = true, k2 = false, $2 = true, v2 = false, Ae2 = false, Se2 = false, H2 = false, ce2 = false, fe2 = false, Ve = true, $e2 = false, Ut = "user-content-", Re2 = true, q = false, z2 = {}, I2 = null, Oe2 = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), qe2 = null, Ke = r({}, ["audio", "video", "img", "source", "image", "track"]), De2 = null, Ze = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ue2 = "http://www.w3.org/1998/Math/MathML", me2 = "http://www.w3.org/2000/svg", N2 = "http://www.w3.org/1999/xhtml", G2 = N2, Le2 = false, be2 = null, Ft = r({}, [ue2, me2, N2], Me), pe2 = r({}, ["mi", "mo", "mn", "ms", "mtext"]), Te2 = r({}, ["annotation-xml"]), Ht = r({}, ["title", "style", "font", "a", "script"]), K2 = null, zt = ["application/xhtml+xml", "text/html"], Gt = "text/html", p = null, W2 = null, Wt = l.createElement("form"), Je2 = function(e) {
78
78
  return e instanceof RegExp || e instanceof Function;
79
- }, Le2 = function() {
79
+ }, ye2 = function() {
80
80
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
81
- if (!(G2 && G2 === e)) {
82
- if ((!e || typeof e != "object") && (e = {}), e = C(e), $2 = Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $2 === "application/xhtml+xml" ? Ie : pe, T2 = y(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, d = y(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, be2 = y(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe2 = y(e, "ADD_URI_SAFE_ATTR") ? r(C(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e2 = y(e, "ADD_DATA_URI_TAGS") ? r(C(qe2), e.ADD_DATA_URI_TAGS, p) : qe2, L2 = y(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : De2, j2 = y(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : C({}), ne2 = y(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : C({}), H2 = y(e, "USE_PROFILES") ? e.USE_PROFILES : false, Be2 = e.ALLOW_ARIA_ATTR !== false, Ae2 = e.ALLOW_DATA_ATTR !== false, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || false, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== false, U = e.SAFE_FOR_TEMPLATES || false, oe = e.SAFE_FOR_XML !== false, P2 = e.WHOLE_DOCUMENT || false, F2 = e.RETURN_DOM || false, ie = e.RETURN_DOM_FRAGMENT || false, ae2 = e.RETURN_TRUSTED_TYPE || false, Se2 = e.FORCE_BODY || false, je2 = e.SANITIZE_DOM !== false, Ve = e.SANITIZE_NAMED_PROPS || false, Re2 = e.KEEP_CONTENT !== false, V2 = e.IN_PLACE || false, ze = e.ALLOWED_URI_REGEXP || gt, z2 = e.NAMESPACE || I2, le2 = e.MATHML_TEXT_INTEGRATION_POINTS || le2, ce2 = e.HTML_INTEGRATION_POINTS || ce2, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (Ae2 = false), ie && (F2 = true), H2 && (T2 = r({}, mt), d = me(null), H2.html === true && (r(T2, ut), r(d, pt)), H2.svg === true && (r(T2, we), r(d, ke), r(d, ue)), H2.svgFilters === true && (r(T2, xe), r(d, ke), r(d, ue)), H2.mathMl === true && (r(T2, Pe), r(d, Tt), r(d, ue))), y(e, "ADD_TAGS") || (x.tagCheck = null), y(e, "ADD_ATTR") || (x.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? x.tagCheck = e.ADD_TAGS : (T2 === Ge && (T2 = C(T2)), r(T2, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? x.attributeCheck = e.ADD_ATTR : (d === We && (d = C(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe2, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (L2 === De2 && (L2 = C(L2)), r(L2, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (L2 === De2 && (L2 = C(L2)), r(L2, e.ADD_FORBID_CONTENTS, p)), Re2 && (T2["#text"] = true), P2 && r(T2, ["html", "head", "body"]), T2.table && (r(T2, ["tbody"]), delete j2.tbody), e.TRUSTED_TYPES_POLICY) {
83
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
84
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
85
- g = e.TRUSTED_TYPES_POLICY, X2 = g.createHTML("");
86
- } else g === void 0 && (g = un(ee2, c)), g !== null && typeof X2 == "string" && (X2 = g.createHTML(""));
87
- S && S(e), G2 = e;
81
+ if (!(W2 && W2 === e)) {
82
+ if ((!e || typeof e != "object") && (e = {}), e = M(e), K2 = zt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? Gt : e.PARSER_MEDIA_TYPE, p = K2 === "application/xhtml+xml" ? Me : Ee, T2 = C(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : We, d = C(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : Be2, be2 = C(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Me) : Ft, De2 = C(e, "ADD_URI_SAFE_ATTR") ? r(M(Ze), e.ADD_URI_SAFE_ATTR, p) : Ze, qe2 = C(e, "ADD_DATA_URI_TAGS") ? r(M(Ke), e.ADD_DATA_URI_TAGS, p) : Ke, I2 = C(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : Oe2, V2 = C(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : M({}), le2 = C(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : M({}), z2 = C(e, "USE_PROFILES") ? e.USE_PROFILES : false, Ye = e.ALLOW_ARIA_ATTR !== false, he2 = e.ALLOW_DATA_ATTR !== false, Xe = e.ALLOW_UNKNOWN_PROTOCOLS || false, je2 = e.ALLOW_SELF_CLOSE_IN_ATTR !== false, k2 = e.SAFE_FOR_TEMPLATES || false, $2 = e.SAFE_FOR_XML !== false, v2 = e.WHOLE_DOCUMENT || false, H2 = e.RETURN_DOM || false, ce2 = e.RETURN_DOM_FRAGMENT || false, fe2 = e.RETURN_TRUSTED_TYPE || false, Se2 = e.FORCE_BODY || false, Ve = e.SANITIZE_DOM !== false, $e2 = e.SANITIZE_NAMED_PROPS || false, Re2 = e.KEEP_CONTENT !== false, q = e.IN_PLACE || false, Ge = e.ALLOWED_URI_REGEXP || ht, G2 = e.NAMESPACE || N2, pe2 = e.MATHML_TEXT_INTEGRATION_POINTS || pe2, Te2 = e.HTML_INTEGRATION_POINTS || Te2, u = e.CUSTOM_ELEMENT_HANDLING || ne(null), e.CUSTOM_ELEMENT_HANDLING && Je2(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Je2(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), k2 && (he2 = false), ce2 && (H2 = true), z2 && (T2 = r({}, pt), d = ne(null), z2.html === true && (r(T2, mt), r(d, Tt)), z2.svg === true && (r(T2, xe), r(d, ve), r(d, de)), z2.svgFilters === true && (r(T2, Pe), r(d, ve), r(d, de)), z2.mathMl === true && (r(T2, ke), r(d, dt), r(d, de))), x.tagCheck = null, x.attributeCheck = null, e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? x.tagCheck = e.ADD_TAGS : (T2 === We && (T2 = M(T2)), r(T2, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? x.attributeCheck = e.ADD_ATTR : (d === Be2 && (d = M(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(De2, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (I2 === Oe2 && (I2 = M(I2)), r(I2, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (I2 === Oe2 && (I2 = M(I2)), r(I2, e.ADD_FORBID_CONTENTS, p)), Re2 && (T2["#text"] = true), v2 && r(T2, ["html", "head", "body"]), T2.table && (r(T2, ["tbody"]), delete V2.tbody), e.TRUSTED_TYPES_POLICY) {
83
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
84
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
85
+ g = e.TRUSTED_TYPES_POLICY, j2 = g.createHTML("");
86
+ } else g === void 0 && (g = un(oe, c)), g !== null && typeof j2 == "string" && (j2 = g.createHTML(""));
87
+ S && S(e), W2 = e;
88
88
  }
89
- }, Je2 = r({}, [...we, ...xe, ...Qt]), Qe = r({}, [...Pe, ...en]), Wt = function(e) {
90
- let t = te2(e);
91
- (!t || !t.tagName) && (t = { namespaceURI: z2, tagName: "template" });
92
- let n = pe(e.tagName), f = pe(t.tagName);
93
- return be2[e.namespaceURI] ? e.namespaceURI === se2 ? t.namespaceURI === I2 ? n === "svg" : t.namespaceURI === re2 ? n === "svg" && (f === "annotation-xml" || le2[f]) : !!Je2[n] : e.namespaceURI === re2 ? t.namespaceURI === I2 ? n === "math" : t.namespaceURI === se2 ? n === "math" && ce2[f] : !!Qe[n] : e.namespaceURI === I2 ? t.namespaceURI === se2 && !ce2[f] || t.namespaceURI === re2 && !le2[f] ? false : !Qe[n] && (Ft[n] || !Je2[n]) : !!($2 === "application/xhtml+xml" && be2[e.namespaceURI]) : false;
94
- }, N2 = function(e) {
95
- q(o.removed, { element: e });
89
+ }, Qe = r({}, [...xe, ...Pe, ...Qt]), et = r({}, [...ke, ...en]), Bt = function(e) {
90
+ let t = ie(e);
91
+ (!t || !t.tagName) && (t = { namespaceURI: G2, tagName: "template" });
92
+ let n = Ee(e.tagName), f = Ee(t.tagName);
93
+ return be2[e.namespaceURI] ? e.namespaceURI === me2 ? t.namespaceURI === N2 ? n === "svg" : t.namespaceURI === ue2 ? n === "svg" && (f === "annotation-xml" || pe2[f]) : !!Qe[n] : e.namespaceURI === ue2 ? t.namespaceURI === N2 ? n === "math" : t.namespaceURI === me2 ? n === "math" && Te2[f] : !!et[n] : e.namespaceURI === N2 ? t.namespaceURI === me2 && !Te2[f] || t.namespaceURI === ue2 && !pe2[f] ? false : !et[n] && (Ht[n] || !Qe[n]) : !!(K2 === "application/xhtml+xml" && be2[e.namespaceURI]) : false;
94
+ }, y2 = function(e) {
95
+ J(o.removed, { element: e });
96
96
  try {
97
- te2(e).removeChild(e);
97
+ ie(e).removeChild(e);
98
98
  } catch {
99
- yt(e);
99
+ bt(e);
100
100
  }
101
- }, k2 = function(e, t) {
101
+ }, U = function(e, t) {
102
102
  try {
103
- q(o.removed, { attribute: t.getAttributeNode(e), from: t });
103
+ J(o.removed, { attribute: t.getAttributeNode(e), from: t });
104
104
  } catch {
105
- q(o.removed, { attribute: null, from: t });
105
+ J(o.removed, { attribute: null, from: t });
106
106
  }
107
- if (t.removeAttribute(e), e === "is") if (F2 || ie) try {
108
- N2(t);
107
+ if (t.removeAttribute(e), e === "is") if (H2 || ce2) try {
108
+ y2(t);
109
109
  } catch {
110
110
  }
111
111
  else try {
112
112
  t.setAttribute(e, "");
113
113
  } catch {
114
114
  }
115
- }, et = function(e) {
115
+ }, tt = function(e) {
116
116
  let t = null, n = null;
117
117
  if (Se2) e = "<remove></remove>" + e;
118
118
  else {
119
- let m2 = Me(e, /^[\r\n\t ]+/);
119
+ let m2 = we(e, /^[\r\n\t ]+/);
120
120
  n = m2 && m2[0];
121
121
  }
122
- $2 === "application/xhtml+xml" && z2 === I2 && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
122
+ K2 === "application/xhtml+xml" && G2 === N2 && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
123
123
  let f = g ? g.createHTML(e) : e;
124
- if (z2 === I2) try {
125
- t = new Dt().parseFromString(f, $2);
124
+ if (G2 === N2) try {
125
+ t = new Dt().parseFromString(f, K2);
126
126
  } catch {
127
127
  }
128
128
  if (!t || !t.documentElement) {
129
- t = de2.createDocument(z2, "template", null);
129
+ t = ge2.createDocument(G2, "template", null);
130
130
  try {
131
- t.documentElement.innerHTML = ye2 ? X2 : f;
131
+ t.documentElement.innerHTML = Le2 ? j2 : f;
132
132
  } catch {
133
133
  }
134
134
  }
135
135
  let _2 = t.body || t.documentElement;
136
- return e && n && _2.insertBefore(l.createTextNode(n), _2.childNodes[0] || null), z2 === I2 ? It.call(t, P2 ? "html" : "body")[0] : P2 ? t.documentElement : _2;
137
- }, tt = function(e) {
138
- return Nt.call(e.ownerDocument || e, e, B2.SHOW_ELEMENT | B2.SHOW_COMMENT | B2.SHOW_TEXT | B2.SHOW_PROCESSING_INSTRUCTION | B2.SHOW_CDATA_SECTION, null);
139
- }, Ne2 = function(e) {
140
- return e instanceof Rt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof St) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
136
+ return e && n && _2.insertBefore(l.createTextNode(n), _2.childNodes[0] || null), G2 === N2 ? Mt.call(t, v2 ? "html" : "body")[0] : v2 ? t.documentElement : _2;
141
137
  }, nt = function(e) {
142
- return typeof Te2 == "function" && e instanceof Te2;
138
+ return It.call(e.ownerDocument || e, e, Y2.SHOW_ELEMENT | Y2.SHOW_COMMENT | Y2.SHOW_TEXT | Y2.SHOW_PROCESSING_INSTRUCTION | Y2.SHOW_CDATA_SECTION, null);
139
+ }, Ce2 = function(e) {
140
+ return e instanceof Ot && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Rt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
141
+ }, Ie2 = function(e) {
142
+ return typeof _e2 == "function" && e instanceof _e2;
143
143
  };
144
- function M2(i, e, t) {
145
- fe(i, (n) => {
146
- n.call(o, e, t, G2);
144
+ function w2(i, e, t) {
145
+ Z(i, (n) => {
146
+ n.call(o, e, t, W2);
147
147
  });
148
148
  }
149
149
  let ot = function(e) {
150
150
  let t = null;
151
- if (M2(A.beforeSanitizeElements, e, null), Ne2(e)) return N2(e), true;
151
+ if (w2(h.beforeSanitizeElements, e, null), Ce2(e)) return y2(e), true;
152
152
  let n = p(e.nodeName);
153
- if (M2(A.uponSanitizeElement, e, { tagName: n, allowedTags: T2 }), oe && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || oe && e.nodeType === Q.comment && h(/<[/\w]/g, e.data)) return N2(e), true;
154
- if (!(x.tagCheck instanceof Function && x.tagCheck(n)) && (!T2[n] || j2[n])) {
155
- if (!j2[n] && at(n) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n))) return false;
156
- if (Re2 && !L2[n]) {
157
- let f = te2(e) || e.parentNode, _2 = Lt(e) || e.childNodes;
153
+ if (w2(h.uponSanitizeElement, e, { tagName: n, allowedTags: T2 }), $2 && e.hasChildNodes() && !Ie2(e.firstElementChild) && A(/<[/\w!]/g, e.innerHTML) && A(/<[/\w!]/g, e.textContent) || $2 && e.namespaceURI === N2 && n === "style" && Ie2(e.firstElementChild) || e.nodeType === te.progressingInstruction || $2 && e.nodeType === te.comment && A(/<[/\w]/g, e.data)) return y2(e), true;
154
+ if (V2[n] || !(x.tagCheck instanceof Function && x.tagCheck(n)) && !T2[n]) {
155
+ if (!V2[n] && at(n) && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n))) return false;
156
+ if (Re2 && !I2[n]) {
157
+ let f = ie(e) || e.parentNode, _2 = Ct(e) || e.childNodes;
158
158
  if (_2 && f) {
159
159
  let m2 = _2.length;
160
- for (let O2 = m2 - 1; O2 >= 0; --O2) {
161
- let w2 = Ot(_2[O2], true);
162
- w2.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w2, bt(e));
160
+ for (let D2 = m2 - 1; D2 >= 0; --D2) {
161
+ let L2 = Lt(_2[D2], true);
162
+ L2.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(L2, yt(e));
163
163
  }
164
164
  }
165
165
  }
166
- return N2(e), true;
166
+ return y2(e), true;
167
167
  }
168
- return e instanceof Fe2 && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N2(e), true) : (U && e.nodeType === Q.text && (t = e.textContent, fe([Ee2, _e2, ge2], (f) => {
169
- t = K(t, f, " ");
170
- }), e.textContent !== t && (q(o.removed, { element: e.cloneNode() }), e.textContent = t)), M2(A.afterSanitizeElements, e, null), false);
168
+ return e instanceof He2 && !Bt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && A(/<\/no(script|embed|frames)/i, e.innerHTML) ? (y2(e), true) : (k2 && e.nodeType === te.text && (t = e.textContent, Z([ae2, re2, se2], (f) => {
169
+ t = B(t, f, " ");
170
+ }), e.textContent !== t && (J(o.removed, { element: e.cloneNode() }), e.textContent = t)), w2(h.afterSanitizeElements, e, null), false);
171
171
  }, it = function(e, t, n) {
172
- if (ne2[t] || je2 && (t === "id" || t === "name") && (n in l || n in Gt)) return false;
173
- if (!(Ae2 && !ne2[t] && h(wt, t))) {
174
- if (!(Be2 && h(xt, t))) {
172
+ if (le2[t] || Ve && (t === "id" || t === "name") && (n in l || n in Wt)) return false;
173
+ if (!(he2 && !le2[t] && A(xt, t))) {
174
+ if (!(Ye && A(Pt, t))) {
175
175
  if (!(x.attributeCheck instanceof Function && x.attributeCheck(t, e))) {
176
- if (!d[t] || ne2[t]) {
177
- if (!(at(e) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && h(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))) return false;
178
- } else if (!Oe2[t]) {
179
- if (!h(ze, K(n, He2, ""))) {
180
- if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && $e2[e])) {
181
- if (!(Ye && !h(Pt, K(n, He2, "")))) {
176
+ if (!d[t] || le2[t]) {
177
+ if (!(at(e) && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && A(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))) return false;
178
+ } else if (!De2[t]) {
179
+ if (!A(Ge, B(n, ze, ""))) {
180
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && qe2[e])) {
181
+ if (!(Xe && !A(kt, B(n, ze, "")))) {
182
182
  if (n) return false;
183
183
  }
184
184
  }
@@ -189,40 +189,40 @@ function ht() {
189
189
  }
190
190
  return true;
191
191
  }, at = function(e) {
192
- return e !== "annotation-xml" && Me(e, kt);
192
+ return e !== "annotation-xml" && we(e, vt);
193
193
  }, rt = function(e) {
194
- M2(A.beforeSanitizeAttributes, e, null);
194
+ w2(h.beforeSanitizeAttributes, e, null);
195
195
  let { attributes: t } = e;
196
- if (!t || Ne2(e)) return;
196
+ if (!t || Ce2(e)) return;
197
197
  let n = { attrName: "", attrValue: "", keepAttr: true, allowedAttributes: d, forceKeepAttr: void 0 }, f = t.length;
198
198
  for (; f--; ) {
199
- let _2 = t[f], { name: m2, namespaceURI: O2, value: w2 } = _2, W2 = p(m2), Ce2 = w2, E = m2 === "value" ? Ce2 : Kt(Ce2);
200
- if (n.attrName = W2, n.attrValue = E, n.keepAttr = true, n.forceKeepAttr = void 0, M2(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W2 === "id" || W2 === "name") && (k2(m2, e), E = vt + E), oe && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
201
- k2(m2, e);
199
+ let _2 = t[f], { name: m2, namespaceURI: D2, value: L2 } = _2, P2 = p(m2), Ne2 = L2, E = m2 === "value" ? Ne2 : Kt(Ne2);
200
+ if (n.attrName = P2, n.attrValue = E, n.keepAttr = true, n.forceKeepAttr = void 0, w2(h.uponSanitizeAttribute, e, n), E = n.attrValue, $e2 && (P2 === "id" || P2 === "name") && (U(m2, e), E = Ut + E), $2 && A(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
201
+ U(m2, e);
202
202
  continue;
203
203
  }
204
- if (W2 === "attributename" && Me(E, "href")) {
205
- k2(m2, e);
204
+ if (P2 === "attributename" && we(E, "href")) {
205
+ U(m2, e);
206
206
  continue;
207
207
  }
208
208
  if (n.forceKeepAttr) continue;
209
209
  if (!n.keepAttr) {
210
- k2(m2, e);
210
+ U(m2, e);
211
211
  continue;
212
212
  }
213
- if (!Xe && h(/\/>/i, E)) {
214
- k2(m2, e);
213
+ if (!je2 && A(/\/>/i, E)) {
214
+ U(m2, e);
215
215
  continue;
216
216
  }
217
- U && fe([Ee2, _e2, ge2], (lt) => {
218
- E = K(E, lt, " ");
217
+ k2 && Z([ae2, re2, se2], (ct) => {
218
+ E = B(E, ct, " ");
219
219
  });
220
- let st = p(e.nodeName);
221
- if (!it(st, W2, E)) {
222
- k2(m2, e);
220
+ let lt = p(e.nodeName);
221
+ if (!it(lt, P2, E)) {
222
+ U(m2, e);
223
223
  continue;
224
224
  }
225
- if (g && typeof ee2 == "object" && typeof ee2.getAttributeType == "function" && !O2) switch (ee2.getAttributeType(st, W2)) {
225
+ if (g && typeof oe == "object" && typeof oe.getAttributeType == "function" && !D2) switch (oe.getAttributeType(lt, P2)) {
226
226
  case "TrustedHTML": {
227
227
  E = g.createHTML(E);
228
228
  break;
@@ -232,128 +232,135 @@ function ht() {
232
232
  break;
233
233
  }
234
234
  }
235
- if (E !== Ce2) try {
236
- O2 ? e.setAttributeNS(O2, m2, E) : e.setAttribute(m2, E), Ne2(e) ? N2(e) : ft(o.removed);
235
+ if (E !== Ne2) try {
236
+ D2 ? e.setAttributeNS(D2, m2, E) : e.setAttribute(m2, E), Ce2(e) ? y2(e) : ut(o.removed);
237
237
  } catch {
238
- k2(m2, e);
238
+ U(m2, e);
239
239
  }
240
240
  }
241
- M2(A.afterSanitizeAttributes, e, null);
242
- }, Bt = function i(e) {
243
- let t = null, n = tt(e);
244
- for (M2(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); ) M2(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof D2 && i(t.content);
245
- M2(A.afterSanitizeShadowDOM, e, null);
241
+ w2(h.afterSanitizeAttributes, e, null);
242
+ }, st = function(e) {
243
+ let t = null, n = nt(e);
244
+ for (w2(h.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); ) w2(h.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof O2 && st(t.content);
245
+ w2(h.afterSanitizeShadowDOM, e, null);
246
246
  };
247
247
  return o.sanitize = function(i) {
248
248
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, f = null, _2 = null;
249
- if (ye2 = !i, ye2 && (i = "<!-->"), typeof i != "string" && !nt(i)) if (typeof i.toString == "function") {
250
- if (i = i.toString(), typeof i != "string") throw Z("dirty is not a string, aborting");
251
- } else throw Z("toString is not a function");
249
+ if (Le2 = !i, Le2 && (i = "<!-->"), typeof i != "string" && !Ie2(i)) if (typeof i.toString == "function") {
250
+ if (i = i.toString(), typeof i != "string") throw Q("dirty is not a string, aborting");
251
+ } else throw Q("toString is not a function");
252
252
  if (!o.isSupported) return i;
253
- if (he2 || Le2(e), o.removed = [], typeof i == "string" && (V2 = false), V2) {
253
+ if (Ae2 || ye2(e), o.removed = [], typeof i == "string" && (q = false), q) {
254
254
  if (i.nodeName) {
255
- let w2 = p(i.nodeName);
256
- if (!T2[w2] || j2[w2]) throw Z("root node is forbidden and cannot be sanitized in-place");
255
+ let L2 = p(i.nodeName);
256
+ if (!T2[L2] || V2[L2]) throw Q("root node is forbidden and cannot be sanitized in-place");
257
257
  }
258
- } else if (i instanceof Te2) t = et("<!---->"), n = t.ownerDocument.importNode(i, true), n.nodeType === Q.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
258
+ } else if (i instanceof _e2) t = tt("<!---->"), n = t.ownerDocument.importNode(i, true), n.nodeType === te.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
259
259
  else {
260
- if (!F2 && !U && !P2 && i.indexOf("<") === -1) return g && ae2 ? g.createHTML(i) : i;
261
- if (t = et(i), !t) return F2 ? null : ae2 ? X2 : "";
260
+ if (!H2 && !k2 && !v2 && i.indexOf("<") === -1) return g && fe2 ? g.createHTML(i) : i;
261
+ if (t = tt(i), !t) return H2 ? null : fe2 ? j2 : "";
262
262
  }
263
- t && Se2 && N2(t.firstChild);
264
- let m2 = tt(V2 ? i : t);
265
- for (; f = m2.nextNode(); ) ot(f), rt(f), f.content instanceof D2 && Bt(f.content);
266
- if (V2) return i;
267
- if (F2) {
268
- if (ie) for (_2 = Ct.call(t.ownerDocument); t.firstChild; ) _2.appendChild(t.firstChild);
263
+ t && Se2 && y2(t.firstChild);
264
+ let m2 = nt(q ? i : t);
265
+ for (; f = m2.nextNode(); ) ot(f), rt(f), f.content instanceof O2 && st(f.content);
266
+ if (q) return i;
267
+ if (H2) {
268
+ if (k2) {
269
+ t.normalize();
270
+ let L2 = t.innerHTML;
271
+ Z([ae2, re2, se2], (P2) => {
272
+ L2 = B(L2, P2, " ");
273
+ }), t.innerHTML = L2;
274
+ }
275
+ if (ce2) for (_2 = Nt.call(t.ownerDocument); t.firstChild; ) _2.appendChild(t.firstChild);
269
276
  else _2 = t;
270
- return (d.shadowroot || d.shadowrootmode) && (_2 = Mt.call(a, _2, true)), _2;
277
+ return (d.shadowroot || d.shadowrootmode) && (_2 = wt.call(a, _2, true)), _2;
271
278
  }
272
- let O2 = P2 ? t.outerHTML : t.innerHTML;
273
- return P2 && T2["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (O2 = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
274
- ` + O2), U && fe([Ee2, _e2, ge2], (w2) => {
275
- O2 = K(O2, w2, " ");
276
- }), g && ae2 ? g.createHTML(O2) : O2;
279
+ let D2 = v2 ? t.outerHTML : t.innerHTML;
280
+ return v2 && T2["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && A(At, t.ownerDocument.doctype.name) && (D2 = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
281
+ ` + D2), k2 && Z([ae2, re2, se2], (L2) => {
282
+ D2 = B(D2, L2, " ");
283
+ }), g && fe2 ? g.createHTML(D2) : D2;
277
284
  }, o.setConfig = function() {
278
285
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
279
- Le2(i), he2 = true;
286
+ ye2(i), Ae2 = true;
280
287
  }, o.clearConfig = function() {
281
- G2 = null, he2 = false;
288
+ W2 = null, Ae2 = false;
282
289
  }, o.isValidAttribute = function(i, e, t) {
283
- G2 || Le2({});
290
+ W2 || ye2({});
284
291
  let n = p(i), f = p(e);
285
292
  return it(n, f, t);
286
293
  }, o.addHook = function(i, e) {
287
- typeof e == "function" && q(A[i], e);
294
+ typeof e == "function" && J(h[i], e);
288
295
  }, o.removeHook = function(i, e) {
289
296
  if (e !== void 0) {
290
- let t = Vt(A[i], e);
291
- return t === -1 ? void 0 : $t(A[i], t, 1)[0];
297
+ let t = Vt(h[i], e);
298
+ return t === -1 ? void 0 : $t(h[i], t, 1)[0];
292
299
  }
293
- return ft(A[i]);
300
+ return ut(h[i]);
294
301
  }, o.removeHooks = function(i) {
295
- A[i] = [];
302
+ h[i] = [];
296
303
  }, o.removeAllHooks = function() {
297
- A = Et();
304
+ h = _t();
298
305
  }, o;
299
306
  }
300
- var _t, ct, Yt, Xt, jt, S, b, me, ve, Ue, fe, Vt, ft, q, $t, pe, Ie, Me, K, qt, Kt, y, h, Z, ut, we, xe, Qt, Pe, en, mt, pt, ke, Tt, ue, tn, nn, on, an, rn, gt, sn, ln, At, cn, dt, Q, fn, un, Et, mn;
301
- var init_OP3JQ447 = __esm({
302
- "iife:/home/runner/work/transportr/transportr/dist/OP3JQ447.js"() {
303
- ({ entries: _t, setPrototypeOf: ct, isFrozen: Yt, getPrototypeOf: Xt, getOwnPropertyDescriptor: jt } = Object);
304
- ({ freeze: S, seal: b, create: me } = Object);
305
- ({ apply: ve, construct: Ue } = typeof Reflect < "u" && Reflect);
307
+ var gt, ft, Yt, Xt, jt, S, b, ne, Ue, Fe, Z, Vt, ut, J, $t, Ee, Me, we, B, qt, Kt, C, A, Q, mt, xe, Pe, Qt, ke, en, pt, Tt, ve, dt, de, tn, nn, on, an, rn, ht, sn, ln, At, cn, Et, te, fn, un, _t, mn;
308
+ var init_VSS64DLN = __esm({
309
+ "iife:/home/runner/work/transportr/transportr/dist/VSS64DLN.js"() {
310
+ ({ entries: gt, setPrototypeOf: ft, isFrozen: Yt, getPrototypeOf: Xt, getOwnPropertyDescriptor: jt } = Object);
311
+ ({ freeze: S, seal: b, create: ne } = Object);
312
+ ({ apply: Ue, construct: Fe } = typeof Reflect < "u" && Reflect);
306
313
  S || (S = function(o) {
307
314
  return o;
308
315
  });
309
316
  b || (b = function(o) {
310
317
  return o;
311
318
  });
312
- ve || (ve = function(o, l) {
313
- for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), D2 = 2; D2 < a; D2++) c[D2 - 2] = arguments[D2];
319
+ Ue || (Ue = function(o, l) {
320
+ for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), O2 = 2; O2 < a; O2++) c[O2 - 2] = arguments[O2];
314
321
  return o.apply(l, c);
315
322
  });
316
- Ue || (Ue = function(o) {
323
+ Fe || (Fe = function(o) {
317
324
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++) a[c - 1] = arguments[c];
318
325
  return new o(...a);
319
326
  });
320
- fe = R(Array.prototype.forEach);
327
+ Z = R(Array.prototype.forEach);
321
328
  Vt = R(Array.prototype.lastIndexOf);
322
- ft = R(Array.prototype.pop);
323
- q = R(Array.prototype.push);
329
+ ut = R(Array.prototype.pop);
330
+ J = R(Array.prototype.push);
324
331
  $t = R(Array.prototype.splice);
325
- pe = R(String.prototype.toLowerCase);
326
- Ie = R(String.prototype.toString);
327
- Me = R(String.prototype.match);
328
- K = R(String.prototype.replace);
332
+ Ee = R(String.prototype.toLowerCase);
333
+ Me = R(String.prototype.toString);
334
+ we = R(String.prototype.match);
335
+ B = R(String.prototype.replace);
329
336
  qt = R(String.prototype.indexOf);
330
337
  Kt = R(String.prototype.trim);
331
- y = R(Object.prototype.hasOwnProperty);
332
- h = R(RegExp.prototype.test);
333
- Z = Zt(TypeError);
334
- ut = S(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
335
- we = S(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
336
- xe = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
338
+ C = R(Object.prototype.hasOwnProperty);
339
+ A = R(RegExp.prototype.test);
340
+ Q = Zt(TypeError);
341
+ mt = S(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
342
+ xe = S(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
343
+ Pe = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
337
344
  Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
338
- Pe = S(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
345
+ ke = S(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
339
346
  en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
340
- mt = S(["#text"]);
341
- pt = S(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
342
- ke = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
343
- Tt = S(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
344
- ue = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
347
+ pt = S(["#text"]);
348
+ Tt = S(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
349
+ ve = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
350
+ dt = S(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
351
+ de = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
345
352
  tn = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
346
353
  nn = b(/<%[\w\W]*|[\w\W]*%>/gm);
347
354
  on = b(/\$\{[\w\W]*/gm);
348
355
  an = b(/^data-[\-\w.\u00B7-\uFFFF]+$/);
349
356
  rn = b(/^aria-[\-\w]+$/);
350
- gt = b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);
357
+ ht = b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);
351
358
  sn = b(/^(?:\w+script|data):/i);
352
359
  ln = b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);
353
360
  At = b(/^html$/i);
354
361
  cn = b(/^[a-z][.\w]*(-[.\w]+)+$/i);
355
- dt = Object.freeze({ __proto__: null, ARIA_ATTR: rn, ATTR_WHITESPACE: ln, CUSTOM_ELEMENT: cn, DATA_ATTR: an, DOCTYPE_NAME: At, ERB_EXPR: nn, IS_ALLOWED_URI: gt, IS_SCRIPT_OR_DATA: sn, MUSTACHE_EXPR: tn, TMPLIT_EXPR: on });
356
- Q = { element: 1, attribute: 2, text: 3, cdataSection: 4, entityReference: 5, entityNode: 6, progressingInstruction: 7, comment: 8, document: 9, documentType: 10, documentFragment: 11, notation: 12 };
362
+ Et = Object.freeze({ __proto__: null, ARIA_ATTR: rn, ATTR_WHITESPACE: ln, CUSTOM_ELEMENT: cn, DATA_ATTR: an, DOCTYPE_NAME: At, ERB_EXPR: nn, IS_ALLOWED_URI: ht, IS_SCRIPT_OR_DATA: sn, MUSTACHE_EXPR: tn, TMPLIT_EXPR: on });
363
+ te = { element: 1, text: 3, progressingInstruction: 7, comment: 8, document: 9 };
357
364
  fn = function() {
358
365
  return typeof window > "u" ? null : window;
359
366
  };
@@ -361,34 +368,34 @@ var init_OP3JQ447 = __esm({
361
368
  if (typeof o != "object" || typeof o.createPolicy != "function") return null;
362
369
  let a = null, c = "data-tt-policy-suffix";
363
370
  l && l.hasAttribute(c) && (a = l.getAttribute(c));
364
- let D2 = "dompurify" + (a ? "#" + a : "");
371
+ let O2 = "dompurify" + (a ? "#" + a : "");
365
372
  try {
366
- return o.createPolicy(D2, { createHTML(v2) {
367
- return v2;
368
- }, createScriptURL(v2) {
369
- return v2;
373
+ return o.createPolicy(O2, { createHTML(F2) {
374
+ return F2;
375
+ }, createScriptURL(F2) {
376
+ return F2;
370
377
  } });
371
378
  } catch {
372
- return console.warn("TrustedTypes policy " + D2 + " could not be created."), null;
379
+ return console.warn("TrustedTypes policy " + O2 + " could not be created."), null;
373
380
  }
374
381
  };
375
- Et = function() {
382
+ _t = function() {
376
383
  return { afterSanitizeAttributes: [], afterSanitizeElements: [], afterSanitizeShadowDOM: [], beforeSanitizeAttributes: [], beforeSanitizeElements: [], beforeSanitizeShadowDOM: [], uponSanitizeAttribute: [], uponSanitizeElement: [], uponSanitizeShadowNode: [] };
377
384
  };
378
- mn = ht();
385
+ mn = St();
379
386
  }
380
387
  });
381
388
 
382
389
  // iife:/home/runner/work/transportr/transportr/dist/transportr.js
383
- var M = /^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u;
390
+ var M2 = /^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u;
384
391
  var Me2 = /(["\\])/ug;
385
- var Ie2 = /^[\t\u0020-\u007E\u0080-\u00FF]*$/u;
386
- var ae = class ue2 extends Map {
392
+ var Ie = /^[\t\u0020-\u007E\u0080-\u00FF]*$/u;
393
+ var ae = class ue extends Map {
387
394
  constructor(e = []) {
388
395
  super(e);
389
396
  }
390
397
  static isValid(e, t) {
391
- return M.test(e) && Ie2.test(t);
398
+ return M2.test(e) && Ie.test(t);
392
399
  }
393
400
  get(e) {
394
401
  return super.get(e.toLowerCase());
@@ -397,14 +404,14 @@ var ae = class ue2 extends Map {
397
404
  return super.has(e.toLowerCase());
398
405
  }
399
406
  set(e, t) {
400
- if (!ue2.isValid(e, t)) throw new Error(`Invalid media type parameter name/value: ${e}/${t}`);
407
+ if (!ue.isValid(e, t)) throw new Error(`Invalid media type parameter name/value: ${e}/${t}`);
401
408
  return super.set(e.toLowerCase(), t), this;
402
409
  }
403
410
  delete(e) {
404
411
  return super.delete(e.toLowerCase());
405
412
  }
406
413
  toString() {
407
- return Array.from(this).map(([e, t]) => `;${e}=${!t || !M.test(t) ? `"${t.replace(Me2, "\\$1")}"` : t}`).join("");
414
+ return Array.from(this).map(([e, t]) => `;${e}=${!t || !M2.test(t) ? `"${t.replace(Me2, "\\$1")}"` : t}`).join("");
408
415
  }
409
416
  get [Symbol.toStringTag]() {
410
417
  return "MediaTypeParameters";
@@ -418,10 +425,10 @@ var _e = class O {
418
425
  static parse(e) {
419
426
  e = e.replace(De, "");
420
427
  let t = 0, [n, r2] = O.collect(e, t, ["/"]);
421
- if (t = r2, !n.length || t >= e.length || !M.test(n)) throw new TypeError(O.generateErrorMessage("type", n));
428
+ if (t = r2, !n.length || t >= e.length || !M2.test(n)) throw new TypeError(O.generateErrorMessage("type", n));
422
429
  ++t;
423
430
  let [o, i] = O.collect(e, t, [";"], true, true);
424
- if (t = i, !o.length || !M.test(o)) throw new TypeError(O.generateErrorMessage("subtype", o));
431
+ if (t = i, !o.length || !M2.test(o)) throw new TypeError(O.generateErrorMessage("subtype", o));
425
432
  let a = new ae();
426
433
  for (; t < e.length; ) {
427
434
  for (++t; Le.has(e[t]); ) ++t;
@@ -523,7 +530,7 @@ var je = class extends Map {
523
530
  return "SetMultiMap";
524
531
  }
525
532
  };
526
- var Fe = class {
533
+ var Fe2 = class {
527
534
  context;
528
535
  eventHandler;
529
536
  constructor(s2, e) {
@@ -565,7 +572,7 @@ var I = class {
565
572
  i.call(t, a, u), this.unsubscribe(o);
566
573
  };
567
574
  }
568
- let r2 = new Fe(t, e);
575
+ let r2 = new Fe2(t, e);
569
576
  this.subscribers.set(s2, r2);
570
577
  let o = new Je(s2, r2);
571
578
  return o;
@@ -597,7 +604,7 @@ var I = class {
597
604
  return "Subscribr";
598
605
  }
599
606
  };
600
- var B = class extends Error {
607
+ var B2 = class extends Error {
601
608
  _entity;
602
609
  responseStatus;
603
610
  _url;
@@ -651,13 +658,13 @@ var w = class {
651
658
  }
652
659
  };
653
660
  var v = { charset: "utf-8" };
654
- var de = /\/$/;
661
+ var de2 = /\/$/;
655
662
  var ce = "XSRF-TOKEN";
656
- var pe2 = "X-XSRF-TOKEN";
663
+ var pe = "X-XSRF-TOKEN";
657
664
  var m = { PNG: new T("image/png"), TEXT: new T("text/plain", v), JSON: new T("application/json", v), HTML: new T("text/html", v), JAVA_SCRIPT: new T("text/javascript", v), CSS: new T("text/css", v), XML: new T("application/xml", v), BIN: new T("application/octet-stream"), EVENT_STREAM: new T("text/event-stream", v), NDJSON: new T("application/x-ndjson", v) };
658
665
  var G = m.JSON.toString();
659
666
  var X = globalThis.location?.origin ?? "http://localhost";
660
- var fe2 = { DEFAULT: "default", FORCE_CACHE: "force-cache", NO_CACHE: "no-cache", NO_STORE: "no-store", ONLY_IF_CACHED: "only-if-cached", RELOAD: "reload" };
667
+ var fe = { DEFAULT: "default", FORCE_CACHE: "force-cache", NO_CACHE: "no-cache", NO_STORE: "no-store", ONLY_IF_CACHED: "only-if-cached", RELOAD: "reload" };
661
668
  var b2 = { CONFIGURED: "configured", SUCCESS: "success", ERROR: "error", ABORTED: "aborted", TIMEOUT: "timeout", RETRY: "retry", COMPLETE: "complete", ALL_COMPLETE: "all-complete" };
662
669
  var P = { ABORT: "abort", TIMEOUT: "timeout" };
663
670
  var H = { ABORT: "AbortError", TIMEOUT: "TimeoutError" };
@@ -666,7 +673,7 @@ var L = () => new CustomEvent(P.ABORT, { detail: { cause: H.ABORT } });
666
673
  var Re = () => new CustomEvent(P.TIMEOUT, { detail: { cause: H.TIMEOUT } });
667
674
  var he = ["POST", "PUT", "PATCH", "DELETE"];
668
675
  var ge = new w(500, "Internal Server Error");
669
- var me2 = new w(499, "Aborted");
676
+ var me = new w(499, "Aborted");
670
677
  var ye = new w(504, "Request Timeout");
671
678
  var V = [408, 413, 429, 500, 502, 503, 504];
672
679
  var z = ["GET", "PUT", "HEAD", "DELETE", "OPTIONS"];
@@ -715,11 +722,11 @@ var F = () => j || (j = (typeof document > "u" || typeof DOMParser > "u" || type
715
722
  globalThis.window = t, Object.assign(globalThis, { document: t.document, DOMParser: t.DOMParser, DocumentFragment: t.DocumentFragment });
716
723
  }).catch(() => {
717
724
  throw j = void 0, new Error("jsdom is required for HTML/XML/DOM features in Node.js environments. Install it with: npm install jsdom");
718
- }) : Promise.resolve()).then(() => Promise.resolve().then(() => (init_OP3JQ447(), OP3JQ447_exports))).then(({ default: e }) => {
725
+ }) : Promise.resolve()).then(() => Promise.resolve().then(() => (init_VSS64DLN(), VSS64DLN_exports))).then(({ default: e }) => {
719
726
  W = e;
720
727
  }));
721
728
  var be = async (s2, e) => (await F(), new DOMParser().parseFromString(W.sanitize(await s2.text()), e));
722
- var K2 = async (s2, e) => {
729
+ var K = async (s2, e) => {
723
730
  await F();
724
731
  let t = URL.createObjectURL(await s2.blob());
725
732
  try {
@@ -729,7 +736,7 @@ var K2 = async (s2, e) => {
729
736
  }
730
737
  };
731
738
  var Te = async (s2) => await s2.text();
732
- var Y = (s2) => K2(s2, (e, t, n) => {
739
+ var Y = (s2) => K(s2, (e, t, n) => {
733
740
  let r2 = document.createElement("script");
734
741
  Object.assign(r2, { src: e, type: "text/javascript", async: true }), r2.onload = () => {
735
742
  document.head.removeChild(r2), t();
@@ -737,22 +744,22 @@ var Y = (s2) => K2(s2, (e, t, n) => {
737
744
  document.head.removeChild(r2), n(new Error("Script failed to load"));
738
745
  }, document.head.appendChild(r2);
739
746
  });
740
- var Q2 = (s2) => K2(s2, (e, t, n) => {
747
+ var Q2 = (s2) => K(s2, (e, t, n) => {
741
748
  let r2 = document.createElement("link");
742
749
  Object.assign(r2, { href: e, type: "text/css", rel: "stylesheet" }), r2.onload = () => t(), r2.onerror = () => {
743
750
  document.head.removeChild(r2), n(new Error("Stylesheet load failed"));
744
751
  }, document.head.appendChild(r2);
745
752
  });
746
753
  var Z2 = async (s2) => await s2.json();
747
- var Ee = async (s2) => await s2.blob();
748
- var ee = (s2) => K2(s2, (e, t, n) => {
754
+ var Ee2 = async (s2) => await s2.blob();
755
+ var ee2 = (s2) => K(s2, (e, t, n) => {
749
756
  let r2 = new Image();
750
757
  r2.onload = () => t(r2), r2.onerror = () => n(new Error("Image failed to load")), r2.src = e;
751
758
  });
752
759
  var Se = async (s2) => await s2.arrayBuffer();
753
- var te = async (s2) => Promise.resolve(s2.body);
760
+ var te2 = async (s2) => Promise.resolve(s2.body);
754
761
  var se = async (s2) => be(s2, "application/xml");
755
- var ne = async (s2) => be(s2, "text/html");
762
+ var ne2 = async (s2) => be(s2, "text/html");
756
763
  var Oe = async (s2) => (await F(), document.createRange().createContextualFragment(W.sanitize(await s2.text())));
757
764
  var we2 = async (s2) => (await F(), document.createRange().createContextualFragment(await s2.text()));
758
765
  async function* ve2(s2, e, t) {
@@ -791,8 +798,8 @@ var $e = (s2) => {
791
798
  t = d;
792
799
  break;
793
800
  case "retry": {
794
- let h2 = parseInt(d, 10);
795
- isNaN(h2) || (n = h2);
801
+ let h = parseInt(d, 10);
802
+ isNaN(h) || (n = h);
796
803
  break;
797
804
  }
798
805
  }
@@ -829,26 +836,26 @@ var Be = (s2) => {
829
836
  var Ce = (s2) => JSON.stringify(s2);
830
837
  var J2 = (s2) => s2 !== null && typeof s2 == "string";
831
838
  var ke2 = (s2) => s2 instanceof ArrayBuffer || Object.prototype.toString.call(s2) === "[object ArrayBuffer]";
832
- var y2 = (s2) => s2 !== null && typeof s2 == "object" && !Array.isArray(s2) && Object.getPrototypeOf(s2) === Object.prototype;
839
+ var y = (s2) => s2 !== null && typeof s2 == "object" && !Array.isArray(s2) && Object.getPrototypeOf(s2) === Object.prototype;
833
840
  var $ = (...s2) => {
834
841
  let e = s2.length;
835
842
  if (e === 0) return;
836
843
  if (e === 1) {
837
844
  let [n] = s2;
838
- return y2(n) ? re(n) : n;
845
+ return y(n) ? re(n) : n;
839
846
  }
840
847
  let t = {};
841
848
  for (let n of s2) {
842
- if (!y2(n)) return;
849
+ if (!y(n)) return;
843
850
  for (let [r2, o] of Object.entries(n)) {
844
851
  let i = t[r2];
845
- Array.isArray(o) ? t[r2] = [...o, ...Array.isArray(i) ? i.filter((a) => !o.includes(a)) : []] : y2(o) ? t[r2] = y2(i) ? $(i, o) : re(o) : t[r2] = o;
852
+ Array.isArray(o) ? t[r2] = [...o, ...Array.isArray(i) ? i.filter((a) => !o.includes(a)) : []] : y(o) ? t[r2] = y(i) ? $(i, o) : re(o) : t[r2] = o;
846
853
  }
847
854
  }
848
855
  return t;
849
856
  };
850
857
  function re(s2) {
851
- if (y2(s2)) {
858
+ if (y(s2)) {
852
859
  let e = {}, t = Object.keys(s2);
853
860
  for (let n = 0, r2 = t.length, o; n < r2; n++) o = t[n], e[o] = re(s2[o]);
854
861
  return e;
@@ -866,9 +873,9 @@ var xe2 = class s {
866
873
  static inflightRequests = /* @__PURE__ */ new Map();
867
874
  static noRetryConfig = { limit: 0, statusCodes: [], methods: [], delay: N, backoffFactor: D };
868
875
  static mediaTypeCache = new Map(Object.values(m).map((e) => [e.toString(), e]));
869
- static contentTypeHandlers = [[m.TEXT.type, Te], [m.JSON.subtype, Z2], [m.BIN.subtype, te], [m.HTML.subtype, ne], [m.XML.subtype, se], [m.PNG.type, ee], [m.JAVA_SCRIPT.subtype, Y], [m.CSS.subtype, Q2]];
876
+ static contentTypeHandlers = [[m.TEXT.type, Te], [m.JSON.subtype, Z2], [m.BIN.subtype, te2], [m.HTML.subtype, ne2], [m.XML.subtype, se], [m.PNG.type, ee2], [m.JAVA_SCRIPT.subtype, Y], [m.CSS.subtype, Q2]];
870
877
  constructor(e = X, t = {}) {
871
- y2(e) && ([e, t] = [X, e]), this._baseUrl = s.getBaseUrl(e), this._options = s.createOptions(t, s.defaultRequestOptions), this.subscribr = new I();
878
+ y(e) && ([e, t] = [X, e]), this._baseUrl = s.getBaseUrl(e), this._options = s.createOptions(t, s.defaultRequestOptions), this.subscribr = new I();
872
879
  }
873
880
  static CredentialsPolicy = { INCLUDE: "include", OMIT: "omit", SAME_ORIGIN: "same-origin" };
874
881
  static RequestMode = { CORS: "cors", NAVIGATE: "navigate", NO_CORS: "no-cors", SAME_ORIGIN: "same-origin" };
@@ -876,7 +883,7 @@ var xe2 = class s {
876
883
  static RedirectPolicy = { ERROR: "error", FOLLOW: "follow", MANUAL: "manual" };
877
884
  static ReferrerPolicy = { NO_REFERRER: "no-referrer", NO_REFERRER_WHEN_DOWNGRADE: "no-referrer-when-downgrade", ORIGIN: "origin", ORIGIN_WHEN_CROSS_ORIGIN: "origin-when-cross-origin", SAME_ORIGIN: "same-origin", STRICT_ORIGIN: "strict-origin", STRICT_ORIGIN_WHEN_CROSS_ORIGIN: "strict-origin-when-cross-origin", UNSAFE_URL: "unsafe-url" };
878
885
  static RequestEvent = b2;
879
- static defaultRequestOptions = { body: void 0, cache: fe2.NO_STORE, credentials: s.CredentialsPolicy.SAME_ORIGIN, headers: new Headers({ "content-type": G, accept: G }), searchParams: void 0, integrity: void 0, keepalive: void 0, method: "GET", mode: s.RequestMode.CORS, priority: s.RequestPriority.AUTO, redirect: s.RedirectPolicy.FOLLOW, referrer: "about:client", referrerPolicy: s.ReferrerPolicy.STRICT_ORIGIN_WHEN_CROSS_ORIGIN, signal: void 0, timeout: 3e4, global: true };
886
+ static defaultRequestOptions = { body: void 0, cache: fe.NO_STORE, credentials: s.CredentialsPolicy.SAME_ORIGIN, headers: new Headers({ "content-type": G, accept: G }), searchParams: void 0, integrity: void 0, keepalive: void 0, method: "GET", mode: s.RequestMode.CORS, priority: s.RequestPriority.AUTO, redirect: s.RedirectPolicy.FOLLOW, referrer: "about:client", referrerPolicy: s.ReferrerPolicy.STRICT_ORIGIN_WHEN_CROSS_ORIGIN, signal: void 0, timeout: 3e4, global: true };
880
887
  static register(e, t, n) {
881
888
  return s.globalSubscribr.subscribe(e, t, n);
882
889
  }
@@ -958,7 +965,7 @@ var xe2 = class s {
958
965
  return this.execute(e, t, { method: "HEAD" });
959
966
  }
960
967
  async options(e, t = {}) {
961
- y2(e) && ([e, t] = [void 0, e]);
968
+ y(e) && ([e, t] = [void 0, e]);
962
969
  let n = this.processRequestOptions(t, { method: "OPTIONS" }), { requestOptions: r2 } = n, o = r2.unwrap !== false, i = r2.hooks;
963
970
  try {
964
971
  let a = s.createUrl(this._baseUrl, e, r2.searchParams), u = [s.globalHooks.beforeRequest, this.hooks.beforeRequest, i?.beforeRequest];
@@ -971,20 +978,20 @@ var xe2 = class s {
971
978
  let g = await l(p, r2);
972
979
  g && (p = g);
973
980
  }
974
- let d = p.headers.get("allow"), h2;
981
+ let d = p.headers.get("allow"), h;
975
982
  if (d) {
976
983
  let c = d.split(",");
977
- h2 = new Array(c.length);
978
- for (let l = 0, g = c.length; l < g; l++) h2[l] = c[l].trim();
984
+ h = new Array(c.length);
985
+ for (let l = 0, g = c.length; l < g; l++) h[l] = c[l].trim();
979
986
  }
980
- return this.publish({ name: b2.SUCCESS, data: h2, global: t.global }), o ? h2 : [true, h2];
987
+ return this.publish({ name: b2.SUCCESS, data: h, global: t.global }), o ? h : [true, h];
981
988
  } catch (a) {
982
989
  if (!o) return [false, a];
983
990
  throw a;
984
991
  }
985
992
  }
986
993
  async request(e, t = {}) {
987
- y2(e) && ([e, t] = [void 0, e]);
994
+ y(e) && ([e, t] = [void 0, e]);
988
995
  let n = this.processRequestOptions(t, {}), r2 = n.requestOptions.unwrap !== false;
989
996
  try {
990
997
  let o = await this._request(e, n);
@@ -1001,11 +1008,11 @@ var xe2 = class s {
1001
1008
  return this._get(e, t, { headers: { accept: `${m.XML}` } }, se);
1002
1009
  }
1003
1010
  async getHtml(e, t, n) {
1004
- let r2 = await this._get(e, t, { headers: { accept: `${m.HTML}` } }, ne);
1011
+ let r2 = await this._get(e, t, { headers: { accept: `${m.HTML}` } }, ne2);
1005
1012
  return Array.isArray(r2) ? r2 : n && r2 ? r2.querySelector(n) : r2;
1006
1013
  }
1007
1014
  async getHtmlFragment(e, t, n) {
1008
- let r2 = (y2(e) ? e : t)?.allowScripts === true, o = await this._get(e, t, { headers: { accept: `${m.HTML}` } }, r2 ? we2 : Oe);
1015
+ let r2 = (y(e) ? e : t)?.allowScripts === true, o = await this._get(e, t, { headers: { accept: `${m.HTML}` } }, r2 ? we2 : Oe);
1009
1016
  return Array.isArray(o) ? o : n && o ? o.querySelector(n) : o;
1010
1017
  }
1011
1018
  async getScript(e, t) {
@@ -1015,19 +1022,19 @@ var xe2 = class s {
1015
1022
  return this._get(e, t, { headers: { accept: `${m.CSS}` } }, Q2);
1016
1023
  }
1017
1024
  async getBlob(e, t) {
1018
- return this._get(e, t, { headers: { accept: "application/octet-stream" } }, Ee);
1025
+ return this._get(e, t, { headers: { accept: "application/octet-stream" } }, Ee2);
1019
1026
  }
1020
1027
  async getImage(e, t) {
1021
- return this._get(e, t, { headers: { accept: "image/*" } }, ee);
1028
+ return this._get(e, t, { headers: { accept: "image/*" } }, ee2);
1022
1029
  }
1023
1030
  async getBuffer(e, t) {
1024
1031
  return this._get(e, t, { headers: { accept: "application/octet-stream" } }, Se);
1025
1032
  }
1026
1033
  async getStream(e, t) {
1027
- return this._get(e, t, { headers: { accept: "application/octet-stream" } }, te);
1034
+ return this._get(e, t, { headers: { accept: "application/octet-stream" } }, te2);
1028
1035
  }
1029
1036
  async getEventStream(e, t) {
1030
- y2(e) && ([e, t] = [void 0, e]);
1037
+ y(e) && ([e, t] = [void 0, e]);
1031
1038
  let n = this.processRequestOptions(t ?? {}, { method: t?.body ? "POST" : "GET", headers: { accept: `${m.EVENT_STREAM}` } }), { requestOptions: r2 } = n, o = r2.unwrap !== false, i = r2.hooks;
1032
1039
  try {
1033
1040
  let a = s.createUrl(this._baseUrl, e, r2.searchParams), u = [s.globalHooks.beforeRequest, this.hooks.beforeRequest, i?.beforeRequest];
@@ -1041,15 +1048,15 @@ var xe2 = class s {
1041
1048
  g && (R2 = g);
1042
1049
  }
1043
1050
  this.publish({ name: b2.SUCCESS, data: R2, global: n.global });
1044
- let h2 = qe(R2);
1045
- return o ? h2 : [true, h2];
1051
+ let h = qe(R2);
1052
+ return o ? h : [true, h];
1046
1053
  } catch (a) {
1047
1054
  if (!o) return [false, a];
1048
1055
  throw a;
1049
1056
  }
1050
1057
  }
1051
1058
  async getJsonStream(e, t) {
1052
- y2(e) && ([e, t] = [void 0, e]);
1059
+ y(e) && ([e, t] = [void 0, e]);
1053
1060
  let n = this.processRequestOptions(t ?? {}, { method: "GET", headers: { accept: `${m.NDJSON}` } }), { requestOptions: r2 } = n, o = r2.unwrap !== false, i = r2.hooks;
1054
1061
  try {
1055
1062
  let a = s.createUrl(this._baseUrl, e, r2.searchParams), u = [s.globalHooks.beforeRequest, this.hooks.beforeRequest, i?.beforeRequest];
@@ -1063,8 +1070,8 @@ var xe2 = class s {
1063
1070
  g && (R2 = g);
1064
1071
  }
1065
1072
  this.publish({ name: b2.SUCCESS, data: R2, global: n.global });
1066
- let h2 = Pe2(R2);
1067
- return o ? h2 : [true, h2];
1073
+ let h = Pe2(R2);
1074
+ return o ? h : [true, h];
1068
1075
  } catch (a) {
1069
1076
  if (!o) return [false, a];
1070
1077
  throw a;
@@ -1076,17 +1083,17 @@ var xe2 = class s {
1076
1083
  async _request(e, { signalController: t, requestOptions: n, global: r2 }) {
1077
1084
  s.signalControllers.add(t);
1078
1085
  let o = s.normalizeRetryOptions(n.retry), i = n.method ?? "GET", a = o.limit > 0 && o.methods.includes(i), u = n.dedupe === true && (i === "GET" || i === "HEAD"), p = 0, R2 = performance.now(), d = () => {
1079
- let h2 = performance.now();
1080
- return { start: R2, end: h2, duration: h2 - R2 };
1086
+ let h = performance.now();
1087
+ return { start: R2, end: h, duration: h - R2 };
1081
1088
  };
1082
1089
  try {
1083
- let h2 = s.createUrl(this._baseUrl, e, n.searchParams), c;
1090
+ let h = s.createUrl(this._baseUrl, e, n.searchParams), c;
1084
1091
  if (u) {
1085
- c = `${i}:${h2.href}`;
1092
+ c = `${i}:${h.href}`;
1086
1093
  let f = s.inflightRequests.get(c);
1087
1094
  if (f) return (await f).clone();
1088
1095
  }
1089
- let l = n.body, g = n.onUploadProgress, A = async () => {
1096
+ let l = n.body, g = n.onUploadProgress, A2 = async () => {
1090
1097
  if (!g || l == null) return;
1091
1098
  let f = null;
1092
1099
  if (typeof l == "string") f = new TextEncoder().encode(l);
@@ -1094,16 +1101,16 @@ var xe2 = class s {
1094
1101
  else if (ke2(l)) f = new Uint8Array(l);
1095
1102
  else if (ArrayBuffer.isView(l)) f = new Uint8Array(l.buffer, l.byteOffset, l.byteLength);
1096
1103
  else if (!(l instanceof ReadableStream)) return;
1097
- let E = f ? f.byteLength : null, x = f ? new ReadableStream({ start(q2) {
1098
- q2.enqueue(f), q2.close();
1099
- } }) : l, S2 = 0, C2 = new TransformStream({ transform(q2, U) {
1100
- S2 += q2.byteLength, g({ loaded: S2, total: E, percentage: E !== null && E > 0 ? Math.round(S2 / E * 100) : null }), U.enqueue(q2);
1104
+ let E = f ? f.byteLength : null, x = f ? new ReadableStream({ start(q) {
1105
+ q.enqueue(f), q.close();
1106
+ } }) : l, S2 = 0, C2 = new TransformStream({ transform(q, U) {
1107
+ S2 += q.byteLength, g({ loaded: S2, total: E, percentage: E !== null && E > 0 ? Math.round(S2 / E * 100) : null }), U.enqueue(q);
1101
1108
  } });
1102
1109
  n.body = x.pipeThrough(C2), Object.assign(n, { duplex: "half" });
1103
1110
  }, oe = async () => {
1104
1111
  for (; ; ) try {
1105
- await A();
1106
- let f = await fetch(h2, n);
1112
+ await A2();
1113
+ let f = await fetch(h, n);
1107
1114
  if (!f.ok) {
1108
1115
  if (a && p < o.limit && o.statusCodes.includes(f.status)) {
1109
1116
  p++, this.publish({ name: b2.RETRY, data: { attempt: p, status: f.status, method: i, path: e, timing: d() }, global: r2 }), await s.retryDelay(o, p);
@@ -1114,24 +1121,24 @@ var xe2 = class s {
1114
1121
  E = await f.text();
1115
1122
  } catch {
1116
1123
  }
1117
- throw await this.handleError(e, f, { entity: E, url: h2, method: i, timing: d() }, n);
1124
+ throw await this.handleError(e, f, { entity: E, url: h, method: i, timing: d() }, n);
1118
1125
  }
1119
1126
  return f;
1120
1127
  } catch (f) {
1121
- if (f instanceof B) throw f;
1128
+ if (f instanceof B2) throw f;
1122
1129
  if (a && p < o.limit) {
1123
1130
  p++, this.publish({ name: b2.RETRY, data: { attempt: p, error: f.message, method: i, path: e, timing: d() }, global: r2 }), await s.retryDelay(o, p);
1124
1131
  continue;
1125
1132
  }
1126
- throw await this.handleError(e, void 0, { cause: f, url: h2, method: i, timing: d() }, n);
1133
+ throw await this.handleError(e, void 0, { cause: f, url: h, method: i, timing: d() }, n);
1127
1134
  }
1128
1135
  }, ie = (f) => {
1129
1136
  let E = n.onDownloadProgress;
1130
1137
  if (!E || !f.body) return f;
1131
- let x = f.headers.get("content-length"), S2 = x ? parseInt(x, 10) : null, C2 = 0, q2 = new TransformStream({ transform(U, Ue2) {
1138
+ let x = f.headers.get("content-length"), S2 = x ? parseInt(x, 10) : null, C2 = 0, q = new TransformStream({ transform(U, Ue2) {
1132
1139
  C2 += U.byteLength, E({ loaded: C2, total: S2, percentage: S2 !== null && S2 > 0 ? Math.round(C2 / S2 * 100) : null }), Ue2.enqueue(U);
1133
1140
  } });
1134
- return new Response(f.body.pipeThrough(q2), { status: f.status, statusText: f.statusText, headers: f.headers });
1141
+ return new Response(f.body.pipeThrough(q), { status: f.status, statusText: f.statusText, headers: f.headers });
1135
1142
  };
1136
1143
  if (u) {
1137
1144
  let f = oe();
@@ -1159,17 +1166,17 @@ var xe2 = class s {
1159
1166
  return this.execute(i, Object.assign(u ?? {}, { body: a, method: e }), {}, o);
1160
1167
  }
1161
1168
  async execute(e, t = {}, n = {}, r2) {
1162
- y2(e) && ([e, t] = [void 0, e]);
1169
+ y(e) && ([e, t] = [void 0, e]);
1163
1170
  let o = this.processRequestOptions(t, n), { requestOptions: i } = o, a = i.unwrap !== false, u = i.hooks;
1164
1171
  try {
1165
1172
  let p = s.createUrl(this._baseUrl, e, i.searchParams);
1166
- for (let d of [s.globalHooks.beforeRequest, this.hooks.beforeRequest, u?.beforeRequest]) if (d) for (let h2 of d) {
1167
- let c = await h2(i, p);
1173
+ for (let d of [s.globalHooks.beforeRequest, this.hooks.beforeRequest, u?.beforeRequest]) if (d) for (let h of d) {
1174
+ let c = await h(i, p);
1168
1175
  c && (Object.assign(i, c), c.searchParams !== void 0 && (p = s.createUrl(this._baseUrl, e, i.searchParams)));
1169
1176
  }
1170
1177
  let R2 = await this._request(e, o);
1171
- for (let d of [s.globalHooks.afterResponse, this.hooks.afterResponse, u?.afterResponse]) if (d) for (let h2 of d) {
1172
- let c = await h2(R2, i);
1178
+ for (let d of [s.globalHooks.afterResponse, this.hooks.afterResponse, u?.afterResponse]) if (d) for (let h of d) {
1179
+ let c = await h(R2, i);
1173
1180
  c && (R2 = c);
1174
1181
  }
1175
1182
  try {
@@ -1215,14 +1222,14 @@ var xe2 = class s {
1215
1222
  let u = { ...this._options, ...r2, ...a, headers: s.mergeHeaders(new Headers(this._options.headers), t, o), searchParams: s.mergeSearchParams(new URLSearchParams(this._options.searchParams), n, i) };
1216
1223
  if (He(u.method)) if (Ae(e)) Object.assign(u, { body: e }), u.headers.delete("content-type");
1217
1224
  else {
1218
- let l = this._options.body, g = y2(l) && y2(e) ? $(l, e) : e !== void 0 ? e : l, A = u.headers.get("content-type")?.includes("json") ?? false;
1219
- Object.assign(u, { body: A && y2(g) ? Ce(g) : g });
1225
+ let l = this._options.body, g = y(l) && y(e) ? $(l, e) : e !== void 0 ? e : l, A2 = u.headers.get("content-type")?.includes("json") ?? false;
1226
+ Object.assign(u, { body: A2 && y(g) ? Ce(g) : g });
1220
1227
  }
1221
1228
  else u.headers.delete("content-type"), u.body instanceof URLSearchParams && s.mergeSearchParams(u.searchParams, u.body), u.body = void 0;
1222
- let { signal: p, timeout: R2, global: d = false, xsrf: h2 } = u;
1223
- if (h2) {
1224
- let { cookieName: l, headerName: g } = typeof h2 == "object" ? h2 : {}, A = Be(l ?? ce);
1225
- A && u.headers.set(g ?? pe2, A);
1229
+ let { signal: p, timeout: R2, global: d = false, xsrf: h } = u;
1230
+ if (h) {
1231
+ let { cookieName: l, headerName: g } = typeof h == "object" ? h : {}, A2 = Be(l ?? ce);
1232
+ A2 && u.headers.set(g ?? pe, A2);
1226
1233
  }
1227
1234
  let c = new _({ signal: p, timeout: R2 }).onAbort((l) => this.publish({ name: b2.ABORTED, event: l, global: d })).onTimeout((l) => this.publish({ name: b2.TIMEOUT, event: l, global: d }));
1228
1235
  return u.signal = c.signal, this.publish({ name: b2.CONFIGURED, data: u, global: d }), { signalController: c, requestOptions: u, global: d };
@@ -1238,13 +1245,13 @@ var xe2 = class s {
1238
1245
  return t !== void 0 || (t = T.parse(e) ?? void 0, t !== void 0 && (s.mediaTypeCache.size >= 100 && s.mediaTypeCache.delete(s.mediaTypeCache.keys().next().value), s.mediaTypeCache.set(e, t))), t;
1239
1246
  }
1240
1247
  static createUrl(e, t, n) {
1241
- let r2 = t ? new URL(`${e.pathname.replace(de, "")}${t}`, e.origin) : new URL(e);
1248
+ let r2 = t ? new URL(`${e.pathname.replace(de2, "")}${t}`, e.origin) : new URL(e);
1242
1249
  return n && s.mergeSearchParams(r2.searchParams, n), r2;
1243
1250
  }
1244
1251
  static generateResponseStatusFromError(e, { status: t, statusText: n } = new Response()) {
1245
1252
  switch (e) {
1246
1253
  case H.ABORT:
1247
- return me2;
1254
+ return me;
1248
1255
  case H.TIMEOUT:
1249
1256
  return ye;
1250
1257
  default:
@@ -1252,10 +1259,10 @@ var xe2 = class s {
1252
1259
  }
1253
1260
  }
1254
1261
  async handleError(e, t, { cause: n, entity: r2, url: o, method: i, timing: a } = {}, u) {
1255
- let p = i && o ? `${i} ${o.href} failed${t ? ` with status ${t.status}` : ""}` : `An error has occurred with your request to: '${e}'`, R2 = new B(s.generateResponseStatusFromError(n?.name, t), { message: p, cause: n, entity: r2, url: o, method: i, timing: a });
1256
- for (let d of [s.globalHooks.beforeError, this.hooks.beforeError, u?.hooks?.beforeError]) if (d) for (let h2 of d) {
1257
- let c = await h2(R2);
1258
- c instanceof B && (R2 = c);
1262
+ let p = i && o ? `${i} ${o.href} failed${t ? ` with status ${t.status}` : ""}` : `An error has occurred with your request to: '${e}'`, R2 = new B2(s.generateResponseStatusFromError(n?.name, t), { message: p, cause: n, entity: r2, url: o, method: i, timing: a });
1263
+ for (let d of [s.globalHooks.beforeError, this.hooks.beforeError, u?.hooks?.beforeError]) if (d) for (let h of d) {
1264
+ let c = await h(R2);
1265
+ c instanceof B2 && (R2 = c);
1259
1266
  }
1260
1267
  return this.publish({ name: b2.ERROR, data: R2 }), R2;
1261
1268
  }
@@ -1279,5 +1286,7 @@ var xe2 = class s {
1279
1286
  /*! Bundled license information:
1280
1287
 
1281
1288
  dompurify/dist/purify.es.mjs:
1282
- (*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE *)
1289
+ (*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE *)
1283
1290
  */
1291
+
1292
+ //# sourceMappingURL=transportr.js.map