patent-editor 0.2.0 → 0.2.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/lib.js CHANGED
@@ -1803,8 +1803,8 @@ function pt() {
1803
1803
  JSON.stringify({ action: "export", format: "svg" }),
1804
1804
  "*"
1805
1805
  );
1806
- }, 500) : l.event === "export" && a(l.data || "");
1807
- }, window.addEventListener("message", ce), r = setTimeout(() => a(""), qa), U ? Ve && s() : (U = document.createElement("iframe"), U.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;", document.body.appendChild(U), Ve = !1, U.src = "https://embed.diagrams.net/?embed=1&proto=json&spin=0&chrome=0");
1806
+ }, 1500) : l.event === "export" && a(l.data || "");
1807
+ }, window.addEventListener("message", ce), r = setTimeout(() => a(""), qa), U ? Ve && s() : (U = document.createElement("iframe"), U.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:1920px;height:1080px;opacity:0;pointer-events:none;", document.body.appendChild(U), Ve = !1, U.src = "https://embed.diagrams.net/?embed=1&proto=json&spin=0&chrome=0");
1808
1808
  }
1809
1809
  const je = () => {
1810
1810
  document.querySelectorAll('body > svg[id^="fig-mermaid-"]').forEach((e) => e.remove()), document.querySelectorAll('body > svg[id^="d"]').forEach((e) => {
@@ -5063,7 +5063,7 @@ function ti(e, t, n) {
5063
5063
  }
5064
5064
  function vo(e, t) {
5065
5065
  const n = e.state.doc, r = n.content.size, { text: a, segments: s } = ln(e, 0, r), i = ei(), l = i.diff_main(t, a);
5066
- i.diff_cleanupSemantic(l);
5066
+ i.diff_cleanupEfficiency(l);
5067
5067
  const c = [];
5068
5068
  let d = 0;
5069
5069
  for (const [m, p] of l)