@ranty/ranty-sdk 2.1.1-beta.3 → 2.1.1
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, w as t, f as e, e as o, n as r, p as C, O as m, o as p, q as l, m as d, r as i, C as u, u as y, R as P, j as F, a as S, d as c, D as M, l as O, E as I, v as k, b as x, F as f, k as H, Z as L, a0 as v, N as A, P as D, L as g, x as E, U as w, V as Q, T as h, a1 as B, W as N, X as R, Y as b, i as j, h as q, $ as z, S as G, y as J, t as K, z as T, B as U, G as V, s as W, H as X, I as Y, J as Z, M as $, Q as _, K as aa } from "./index-
|
|
1
|
+
import { A as s, w as t, f as e, e as o, n as r, p as C, O as m, o as p, q as l, m as d, r as i, C as u, u as y, R as P, j as F, a as S, d as c, D as M, l as O, E as I, v as k, b as x, F as f, k as H, Z as L, a0 as v, N as A, P as D, L as g, x as E, U as w, V as Q, T as h, a1 as B, W as N, X as R, Y as b, i as j, h as q, $ as z, S as G, y as J, t as K, z as T, B as U, G as V, s as W, H as X, I as Y, J as Z, M as $, Q as _, K as aa } from "./index-86018b3e.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AppHome,
|
|
4
4
|
t as AppLoading,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @license DOMPurify 2.5.
|
|
1
|
+
/*! @license DOMPurify 2.5.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.7/LICENSE */
|
|
2
2
|
function I(a) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
@@ -158,7 +158,7 @@ function _t() {
|
|
|
158
158
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : mr(), n = function(e) {
|
|
159
159
|
return _t(e);
|
|
160
160
|
};
|
|
161
|
-
if (n.version = "2.5.
|
|
161
|
+
if (n.version = "2.5.7", n.removed = [], !a || !a.document || a.document.nodeType !== 9)
|
|
162
162
|
return n.isSupported = !1, n;
|
|
163
163
|
var o = a.document, s = a.document, c = a.DocumentFragment, g = a.HTMLTemplateElement, y = a.Node, N = a.Element, x = a.NodeFilter, j = a.NamedNodeMap, ht = j === void 0 ? a.NamedNodeMap || a.MozNamedAttrMap : j, Et = a.HTMLFormElement, At = a.DOMParser, K = a.trustedTypes, Z = N.prototype, yt = ie(Z, "cloneNode"), gt = ie(Z, "nextSibling"), St = ie(Z, "childNodes"), fe = ie(Z, "parentNode");
|
|
164
164
|
if (typeof g == "function") {
|
|
@@ -210,7 +210,7 @@ function _t() {
|
|
|
210
210
|
T
|
|
211
211
|
// eslint-disable-line indent
|
|
212
212
|
) : Ke, W = "FORBID_CONTENTS" in e ? l({}, e.FORBID_CONTENTS, T) : Ve, Y = "FORBID_TAGS" in e ? l({}, e.FORBID_TAGS, T) : {}, he = "FORBID_ATTR" in e ? l({}, e.FORBID_ATTR, T) : {}, G = "USE_PROFILES" in e ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, Ee = e.ALLOW_DATA_ATTR !== !1, $e = e.ALLOW_UNKNOWN_PROTOCOLS || !1, je = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = e.SAFE_FOR_TEMPLATES || !1, Ae = e.SAFE_FOR_XML !== !1, k = e.WHOLE_DOCUMENT || !1, z = e.RETURN_DOM || !1, Q = e.RETURN_DOM_FRAGMENT || !1, ee = e.RETURN_TRUSTED_TYPE || !1, ge = e.FORCE_BODY || !1, Ye = e.SANITIZE_DOM !== !1, Xe = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, X = e.IN_PLACE || !1, _e = e.ALLOWED_URI_REGEXP || _e, B = e.NAMESPACE || w, f = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Je(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (f.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Je(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (f.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (f.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (Ee = !1), Q && (z = !0), G && (p = l({}, M(pt)), d = [], G.html === !0 && (l(p, mt), l(d, dt)), G.svg === !0 && (l(p, Ce), l(d, ke), l(d, oe)), G.svgFilters === !0 && (l(p, Ie), l(d, ke), l(d, oe)), G.mathMl === !0 && (l(p, xe), l(d, Tt), l(d, oe))), e.ADD_TAGS && (p === Ge && (p = U(p)), l(p, e.ADD_TAGS, T)), e.ADD_ATTR && (d === We && (d = U(d)), l(d, e.ADD_ATTR, T)), e.ADD_URI_SAFE_ATTR && l(be, e.ADD_URI_SAFE_ATTR, T), e.FORBID_CONTENTS && (W === Ve && (W = U(W)), l(W, e.FORBID_CONTENTS, T)), Se && (p["#text"] = !0), k && l(p, ["html", "head", "body"]), p.table && (l(p, ["tbody"]), delete Y.tbody), E && E(e), $ = e);
|
|
213
|
-
}, Qe = l({}, ["mi", "mo", "mn", "ms", "mtext"]), et = l({}, ["
|
|
213
|
+
}, Qe = l({}, ["mi", "mo", "mn", "ms", "mtext"]), et = l({}, ["annotation-xml"]), Ft = l({}, ["title", "style", "font", "a", "script"]), ae = l({}, Ce);
|
|
214
214
|
l(ae, Ie), l(ae, er);
|
|
215
215
|
var Me = l({}, xe);
|
|
216
216
|
l(Me, tr);
|
|
@@ -369,11 +369,7 @@ function _t() {
|
|
|
369
369
|
for (A = h.length; A--; ) {
|
|
370
370
|
t = h[A];
|
|
371
371
|
var F = t, m = F.name, Ne = F.namespaceURI;
|
|
372
|
-
if (r = m === "value" ? t.value : Jt(t.value), u = T(m), v.attrName = u, v.attrValue = r, v.keepAttr = !0, v.forceKeepAttr = void 0, C("uponSanitizeAttribute", e, v), r = v.attrValue,
|
|
373
|
-
ne(m, e);
|
|
374
|
-
continue;
|
|
375
|
-
}
|
|
376
|
-
if (!v.forceKeepAttr && (ne(m, e), !!v.keepAttr)) {
|
|
372
|
+
if (r = m === "value" ? t.value : Jt(t.value), u = T(m), v.attrName = u, v.attrValue = r, v.keepAttr = !0, v.forceKeepAttr = void 0, C("uponSanitizeAttribute", e, v), r = v.attrValue, !v.forceKeepAttr && (ne(m, e), !!v.keepAttr)) {
|
|
377
373
|
if (!je && _(/\/>/i, r)) {
|
|
378
374
|
ne(m, e);
|
|
379
375
|
continue;
|
|
@@ -381,7 +377,11 @@ function _t() {
|
|
|
381
377
|
H && (r = L(r, de, " "), r = L(r, Te, " "), r = L(r, ve, " "));
|
|
382
378
|
var st = T(e.nodeName);
|
|
383
379
|
if (it(st, u, r)) {
|
|
384
|
-
if (Xe && (u === "id" || u === "name") && (ne(m, e), r = Ct + r),
|
|
380
|
+
if (Xe && (u === "id" || u === "name") && (ne(m, e), r = Ct + r), Ae && _(/((--!?|])>)|<\/(style|title)/i, r)) {
|
|
381
|
+
ne(m, e);
|
|
382
|
+
continue;
|
|
383
|
+
}
|
|
384
|
+
if (R && I(K) === "object" && typeof K.getAttributeType == "function" && !Ne)
|
|
385
385
|
switch (K.getAttributeType(st, u)) {
|
|
386
386
|
case "TrustedHTML": {
|
|
387
387
|
r = R.createHTML(r);
|