eddyter 1.4.2 → 1.4.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.
@@ -1,4 +1,4 @@
1
- import { v as Tt, w as Se, K as Ce, h as xe } from "./index-TGGbJHQ1.js";
1
+ import { v as Tt, w as Se, K as Ce, h as xe } from "./index-Bvb6NDBM.js";
2
2
  import { h as Ee } from "./html2canvas.esm-C2wu93Kq.js";
3
3
  function Ft(c) {
4
4
  throw new Error('Could not dynamically require "' + c + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -1,4 +1,4 @@
1
- import { K as u, h as b } from "./index-TGGbJHQ1.js";
1
+ import { K as u, h as b } from "./index-Bvb6NDBM.js";
2
2
  const m = "https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174";
3
3
  let w = null;
4
4
  async function C() {
@@ -1,5 +1,5 @@
1
1
  import { h as Ci } from "./html2canvas.esm-C2wu93Kq.js";
2
- import { K as yi, h as Di } from "./index-TGGbJHQ1.js";
2
+ import { K as yi, h as Di } from "./index-Bvb6NDBM.js";
3
3
  var In = 1252, Oi = [874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1e4], Zt = {
4
4
  /*::[*/
5
5
  0: 1252,
@@ -1,4 +1,4 @@
1
- import { v as Ka, w as $u } from "./index-TGGbJHQ1.js";
1
+ import { v as Ka, w as $u } from "./index-Bvb6NDBM.js";
2
2
  function tl(Qa, iu) {
3
3
  for (var jo = 0; jo < iu.length; jo++) {
4
4
  const qs = iu[jo];
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
2
  import { useLexicalComposerContext as B } from "@lexical/react/LexicalComposerContext";
3
3
  import { $getNodeByKey as b } from "lexical";
4
4
  import { useState as E, useEffect as N } from "react";
5
- import { x as y, y as k, z as I, F as x, G as T, H as W } from "./index-TGGbJHQ1.js";
5
+ import { x as y, y as k, z as I, F as x, G as T, H as W } from "./index-Bvb6NDBM.js";
6
6
  function $(e, t) {
7
7
  const c = e.split(".").pop()?.toLowerCase();
8
8
  return c === "pdf" || t.startsWith("data:application/pdf") ? "pdf" : c === "docx" || t.startsWith("data:application/vnd.openxmlformats") && e.toLowerCase().endsWith(".docx") ? "docx" : c === "xlsx" || c === "xls" || t.startsWith("data:application/vnd.openxmlformats-officedocument.spreadsheetml") || t.startsWith("data:application/vnd.ms-excel") ? "xlsx" : null;
@@ -16,15 +16,15 @@ function z(e, t) {
16
16
  return;
17
17
  }
18
18
  let l = !1;
19
- return d === "pdf" ? import("./generatePdfThumbnail-CJxW0G8e.js").then(({ generatePdfThumbnail: o }) => o(e)).then((o) => {
19
+ return d === "pdf" ? import("./generatePdfThumbnail-n9mJQXLd.js").then(({ generatePdfThumbnail: o }) => o(e)).then((o) => {
20
20
  l || n(o);
21
21
  }).catch(() => {
22
22
  l || n(null);
23
- }) : d === "docx" ? import("./generateDocxThumbnail-BeH7SNAr.js").then(({ generateDocxThumbnail: o }) => o(e)).then((o) => {
23
+ }) : d === "docx" ? import("./generateDocxThumbnail-kvUzj-72.js").then(({ generateDocxThumbnail: o }) => o(e)).then((o) => {
24
24
  l || n(o);
25
25
  }).catch(() => {
26
26
  l || n(null);
27
- }) : d === "xlsx" && import("./generateXlsxThumbnail-DyRikb2K.js").then(({ generateXlsxThumbnail: o }) => o(e)).then((o) => {
27
+ }) : d === "xlsx" && import("./generateXlsxThumbnail-Dmj571Qe.js").then(({ generateXlsxThumbnail: o }) => o(e)).then((o) => {
28
28
  l || n(o);
29
29
  }).catch(() => {
30
30
  l || n(null);