@fileverse-dev/ddoc 2.2.9-patch-10 → 2.2.9-pdf-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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DnikW1gC.mjs";
|
2
2
|
class S extends p {
|
3
3
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
4
4
|
var o;
|
@@ -84055,17 +84055,25 @@ const r3 = [
|
|
84055
84055
|
</html>`;
|
84056
84056
|
nJ(i);
|
84057
84057
|
}, nJ = (e) => {
|
84058
|
-
var
|
84058
|
+
var a;
|
84059
84059
|
const t = document.createElement("div");
|
84060
84060
|
t.style.position = "fixed", t.style.top = "0", t.style.left = "0", t.style.width = "100%", t.style.height = "100%", t.style.backgroundColor = "rgba(0, 0, 0, 0.48)", t.style.zIndex = "9999", document.body.appendChild(t);
|
84061
84061
|
const n = document.createElement("iframe");
|
84062
84062
|
n.style.position = "fixed", n.style.border = "none", n.style.zIndex = "9999", document.body.appendChild(n);
|
84063
|
-
const r = n.contentDocument || ((
|
84064
|
-
if (!r)
|
84063
|
+
const r = n.contentDocument || ((a = n.contentWindow) == null ? void 0 : a.document);
|
84064
|
+
if (!r) {
|
84065
|
+
document.body.removeChild(t);
|
84066
|
+
return;
|
84067
|
+
}
|
84068
|
+
const o = setTimeout(() => {
|
84069
|
+
document.body.contains(t) && document.body.removeChild(t), document.body.contains(n) && document.body.removeChild(n);
|
84070
|
+
}, 3e4);
|
84065
84071
|
r.open(), r.write(e), r.close();
|
84066
|
-
const
|
84067
|
-
|
84068
|
-
document.body.removeChild(
|
84072
|
+
const i = n.contentWindow;
|
84073
|
+
i && (i.onafterprint = () => {
|
84074
|
+
clearTimeout(o), document.body.contains(t) && document.body.removeChild(t), document.body.contains(n) && document.body.removeChild(n);
|
84075
|
+
}, i.onerror = () => {
|
84076
|
+
clearTimeout(o), document.body.contains(t) && document.body.removeChild(t), document.body.contains(n) && document.body.removeChild(n);
|
84069
84077
|
});
|
84070
84078
|
};
|
84071
84079
|
function c8t() {
|
@@ -88851,7 +88859,7 @@ async function t5(e, t) {
|
|
88851
88859
|
});
|
88852
88860
|
return Z === "0x" ? { data: void 0 } : { data: Z };
|
88853
88861
|
} catch (G) {
|
88854
|
-
const B = C7t(G), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-
|
88862
|
+
const B = C7t(G), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-RM_TWAgP.mjs");
|
88855
88863
|
if (e.ccipRead !== !1 && (B == null ? void 0 : B.slice(0, 10)) === H && k)
|
88856
88864
|
return { data: await O(e, { data: B, to: k }) };
|
88857
88865
|
throw D && (B == null ? void 0 : B.slice(0, 10)) === "0x101bb98d" ? new Tkt({ factory: u }) : bQ(G, {
|
package/dist/index.es.js
CHANGED