@netless/appliance-plugin 1.1.43-beta.2 → 1.1.43-beta.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.
@@ -15,14 +15,14 @@ import le, { useContext as mt, useState as qe, useMemo as je, useEffect as _e, u
15
15
  import eh, { createPortal as IM } from "react-dom";
16
16
  import ts from "react-draggable";
17
17
  import { Resizable as CM } from "re-resizable";
18
- var Pe = /* @__PURE__ */ ((s) => (s.selector = "selector", s.clicker = "clicker", s.laserPointer = "laserPointer", s.pencil = "pencil", s.rectangle = "rectangle", s.ellipse = "ellipse", s.shape = "shape", s.eraser = "eraser", s.pencilEraser = "pencilEraser", s.text = "text", s.straight = "straight", s.arrow = "arrow", s.hand = "hand", s.laserPen = "laserPen", s))(Pe || {}), jr = /* @__PURE__ */ ((s) => (s[s.OffscreenTransfer = 1] = "OffscreenTransfer", s[s.ImageBitmap = 2] = "ImageBitmap", s[s.MainThread = 3] = "MainThread", s))(jr || {}), th = /* @__PURE__ */ ((s) => (s[s.WebGL = 1] = "WebGL", s))(th || {}), Mm = /* @__PURE__ */ ((s) => (s[s.SingleChannelTexture = 1] = "SingleChannelTexture", s))(Mm || {}), wm = /* @__PURE__ */ ((s) => (s[s.TextureSubImage2D = 1] = "TextureSubImage2D", s))(wm || {}), ec = /* @__PURE__ */ ((s) => (s[s.RefreshTextRender = 1] = "RefreshTextRender", s))(ec || {}), ze = /* @__PURE__ */ ((s) => (s.Normal = "Normal", s.Stroke = "Stroke", s.Dotted = "Dotted", s.LongDotted = "LongDotted", s))(ze || {}), dr = /* @__PURE__ */ ((s) => (s.Triangle = "triangle", s.Rhombus = "rhombus", s.Pentagram = "pentagram", s.SpeechBalloon = "speechBalloon", s.Star = "star", s.Polygon = "polygon", s))(dr || {});
18
+ var Pe = /* @__PURE__ */ ((s) => (s.selector = "selector", s.clicker = "clicker", s.laserPointer = "laserPointer", s.pencil = "pencil", s.rectangle = "rectangle", s.ellipse = "ellipse", s.shape = "shape", s.eraser = "eraser", s.pencilEraser = "pencilEraser", s.text = "text", s.straight = "straight", s.arrow = "arrow", s.hand = "hand", s.laserPen = "laserPen", s))(Pe || {}), an = /* @__PURE__ */ ((s) => (s[s.OffscreenTransfer = 1] = "OffscreenTransfer", s[s.ImageBitmap = 2] = "ImageBitmap", s[s.MainThread = 3] = "MainThread", s))(an || {}), th = /* @__PURE__ */ ((s) => (s[s.WebGL = 1] = "WebGL", s))(th || {}), Mm = /* @__PURE__ */ ((s) => (s[s.SingleChannelTexture = 1] = "SingleChannelTexture", s))(Mm || {}), wm = /* @__PURE__ */ ((s) => (s[s.TextureSubImage2D = 1] = "TextureSubImage2D", s))(wm || {}), ec = /* @__PURE__ */ ((s) => (s[s.RefreshTextRender = 1] = "RefreshTextRender", s))(ec || {}), ze = /* @__PURE__ */ ((s) => (s.Normal = "Normal", s.Stroke = "Stroke", s.Dotted = "Dotted", s.LongDotted = "LongDotted", s))(ze || {}), dr = /* @__PURE__ */ ((s) => (s.Triangle = "triangle", s.Rhombus = "rhombus", s.Pentagram = "pentagram", s.SpeechBalloon = "speechBalloon", s.Star = "star", s.Polygon = "polygon", s))(dr || {});
19
19
  const vr = {
20
20
  star: "star",
21
21
  polygon: "polygon",
22
22
  speechBalloon: "speechBalloon",
23
23
  bitMapEraser: "bitMapEraser"
24
24
  };
25
- var Te = /* @__PURE__ */ ((s) => (s.None = "None", s.ShowFloatBar = "ShowFloatBar", s.ZIndexFloatBar = "ZIndexFloatBar", s.DeleteNode = "DeleteNode", s.CopyNode = "CopyNode", s.ZIndexNode = "ZIndexNode", s.ZIndexBackgroundSVG = "ZIndexBackgroundSVG", s.RotateNode = "RotateNode", s.SetColorNode = "SetColorNode", s.TranslateNode = "TranslateNode", s.ScaleNode = "ScaleNode", s.OriginalEvent = "OriginalEvent", s.CreateScene = "CreateScene", s.ActiveCursor = "ActiveCursor", s.MoveCursor = "MoveCursor", s.CommandEditor = "CommandEditor", s.SetEditorData = "SetEditorData", s.SetFontStyle = "SetFontStyle", s.SetPoint = "SetPoint", s.SetLock = "SetLock", s.SetShapeOpt = "SetShapeOpt", s.CameraChange = "CameraChange", s.ActiveMethod = "ActiveMethod", s.HidFloatBarBtn = "HidFloatBarBtn", s.SelectMethod = "SelectMethod", s))(Te || {}), Ve = /* @__PURE__ */ ((s) => (s.MainEngine = "MainEngine", s.Cursor = "Cursor", s.BindMainView = "BindMainView", s))(Ve || {}), bM = /* @__PURE__ */ ((s) => (s[s.MainView = 0] = "MainView", s[s.Plugin = 1] = "Plugin", s[s.Both = 2] = "Both", s))(bM || {}), da = /* @__PURE__ */ ((s) => (s.longPencil = "longPencil", s.longBitmapEraser = "longBitmapEraser", s))(da || {}), Q = /* @__PURE__ */ ((s) => (s[s.Pencil = 1] = "Pencil", s[s.Eraser = 2] = "Eraser", s[s.PencilEraser = 3] = "PencilEraser", s[s.BitMapEraser = 4] = "BitMapEraser", s[s.Selector = 5] = "Selector", s[s.Clicker = 6] = "Clicker", s[s.Arrow = 7] = "Arrow", s[s.Hand = 8] = "Hand", s[s.LaserPen = 9] = "LaserPen", s[s.Text = 10] = "Text", s[s.Straight = 11] = "Straight", s[s.Rectangle = 12] = "Rectangle", s[s.Ellipse = 13] = "Ellipse", s[s.Star = 14] = "Star", s[s.Triangle = 15] = "Triangle", s[s.Rhombus = 16] = "Rhombus", s[s.Polygon = 17] = "Polygon", s[s.SpeechBalloon = 18] = "SpeechBalloon", s[s.Image = 19] = "Image", s[s.BackgroundSVG = 20] = "BackgroundSVG", s))(Q || {}), xe = /* @__PURE__ */ ((s) => (s[s.Local = 1] = "Local", s[s.Service = 2] = "Service", s[s.Worker = 3] = "Worker", s))(xe || {}), de = /* @__PURE__ */ ((s) => (s[s.Pending = 0] = "Pending", s[s.Start = 1] = "Start", s[s.Doing = 2] = "Doing", s[s.Done = 3] = "Done", s[s.Unwritable = 4] = "Unwritable", s))(de || {}), ce = /* @__PURE__ */ ((s) => (s[s.None = 0] = "None", s[s.Init = 1] = "Init", s[s.UpdateCamera = 2] = "UpdateCamera", s[s.UpdateTools = 3] = "UpdateTools", s[s.CreateWork = 4] = "CreateWork", s[s.DrawWork = 5] = "DrawWork", s[s.FullWork = 6] = "FullWork", s[s.UpdateNode = 7] = "UpdateNode", s[s.RemoveNode = 8] = "RemoveNode", s[s.Clear = 9] = "Clear", s[s.Select = 10] = "Select", s[s.Destroy = 11] = "Destroy", s[s.Snapshot = 12] = "Snapshot", s[s.BoundingBox = 13] = "BoundingBox", s[s.Cursor = 14] = "Cursor", s[s.TextUpdate = 15] = "TextUpdate", s[s.GetTextActive = 16] = "GetTextActive", s[s.TasksQueue = 17] = "TasksQueue", s[s.CursorHover = 18] = "CursorHover", s[s.CursorBlur = 19] = "CursorBlur", s[s.Console = 20] = "Console", s[s.GetImageBitMap = 23] = "GetImageBitMap", s[s.AuthWriter = 24] = "AuthWriter", s[s.AuthReader = 25] = "AuthReader", s[s.AuthClear = 26] = "AuthClear", s[s.AuthPage = 27] = "AuthPage", s[s.GetVNodeInfo = 28] = "GetVNodeInfo", s[s.UpdateDpr = 29] = "UpdateDpr", s[s.SetFontFace = 30] = "SetFontFace", s[s.ReportError = 31] = "ReportError", s[s.ReportLog = 32] = "ReportLog", s[s.BackgroundSVGUpdate = 33] = "BackgroundSVGUpdate", s[s.BackgroundSVGDelete = 34] = "BackgroundSVGDelete", s[s.SelectorTransform = 35] = "SelectorTransform", s[s.CheckFontFace = 36] = "CheckFontFace", s[s.RefreshTextRender = 37] = "RefreshTextRender", s[s.ProbeRenderCapabilities = 38] = "ProbeRenderCapabilities", s[s.ServiceSyncCommit = 39] = "ServiceSyncCommit", s[s.CancelFontFace = 40] = "CancelFontFace", s[s.CancelBitmapEraser = 41] = "CancelBitmapEraser", s))(ce || {}), at = /* @__PURE__ */ ((s) => (s[s.None = 0] = "None", s[s.Bg = 1] = "Bg", s[s.ServiceFloat = 2] = "ServiceFloat", s[s.Float = 3] = "Float", s[s.TopFloat = 4] = "TopFloat", s))(at || {}), fa = /* @__PURE__ */ ((s) => (s[s.Cursor = 1] = "Cursor", s[s.TextCreate = 2] = "TextCreate", s))(fa || {}), di = /* @__PURE__ */ ((s) => (s[s.Top = 1] = "Top", s[s.Bottom = 2] = "Bottom", s))(di || {}), Qe = /* @__PURE__ */ ((s) => (s[s.none = 1] = "none", s[s.all = 2] = "all", s[s.both = 3] = "both", s[s.proportional = 4] = "proportional", s))(Qe || {}), oi = /* @__PURE__ */ ((s) => (s[s.inside = 0] = "inside", s[s.outside = 1] = "outside", s[s.intersect = 2] = "intersect", s))(oi || {}), Pt = /* @__PURE__ */ ((s) => (s.renderPage = "renderPage", s.addPage = "addPage", s.deletePage = "deletePage", s.addElement = "addElement", s.deleteElement = "deleteElement", s.clearPage = "clearPage", s.clearViewScenePath = "clearViewScenePath", s.clearView = "clearView", s.syncUndoStack = "syncUndoStack", s.syncRedoStack = "syncRedoStack", s))(Pt || {}), Fr = /* @__PURE__ */ ((s) => (s.setAuth = "setAuth", s.setShow = "addShow", s.setHide = "setHide", s.setClear = "setClear", s))(Fr || {}), ai = /* @__PURE__ */ ((s) => (s.Image = "image", s.Iconify = "iconify", s))(ai || {}), ga = /* @__PURE__ */ ((s) => (s.url = "url", s.markmap = "markmap", s))(ga || {});
25
+ var Te = /* @__PURE__ */ ((s) => (s.None = "None", s.ShowFloatBar = "ShowFloatBar", s.ZIndexFloatBar = "ZIndexFloatBar", s.DeleteNode = "DeleteNode", s.CopyNode = "CopyNode", s.ZIndexNode = "ZIndexNode", s.ZIndexBackgroundSVG = "ZIndexBackgroundSVG", s.RotateNode = "RotateNode", s.SetColorNode = "SetColorNode", s.TranslateNode = "TranslateNode", s.ScaleNode = "ScaleNode", s.OriginalEvent = "OriginalEvent", s.CreateScene = "CreateScene", s.ActiveCursor = "ActiveCursor", s.MoveCursor = "MoveCursor", s.CommandEditor = "CommandEditor", s.SetEditorData = "SetEditorData", s.SetFontStyle = "SetFontStyle", s.SetPoint = "SetPoint", s.SetLock = "SetLock", s.SetShapeOpt = "SetShapeOpt", s.CameraChange = "CameraChange", s.ActiveMethod = "ActiveMethod", s.HidFloatBarBtn = "HidFloatBarBtn", s.SelectMethod = "SelectMethod", s))(Te || {}), Ve = /* @__PURE__ */ ((s) => (s.MainEngine = "MainEngine", s.Cursor = "Cursor", s.BindMainView = "BindMainView", s))(Ve || {}), bM = /* @__PURE__ */ ((s) => (s[s.MainView = 0] = "MainView", s[s.Plugin = 1] = "Plugin", s[s.Both = 2] = "Both", s))(bM || {}), da = /* @__PURE__ */ ((s) => (s.longPencil = "longPencil", s.longBitmapEraser = "longBitmapEraser", s))(da || {}), Q = /* @__PURE__ */ ((s) => (s[s.Pencil = 1] = "Pencil", s[s.Eraser = 2] = "Eraser", s[s.PencilEraser = 3] = "PencilEraser", s[s.BitMapEraser = 4] = "BitMapEraser", s[s.Selector = 5] = "Selector", s[s.Clicker = 6] = "Clicker", s[s.Arrow = 7] = "Arrow", s[s.Hand = 8] = "Hand", s[s.LaserPen = 9] = "LaserPen", s[s.Text = 10] = "Text", s[s.Straight = 11] = "Straight", s[s.Rectangle = 12] = "Rectangle", s[s.Ellipse = 13] = "Ellipse", s[s.Star = 14] = "Star", s[s.Triangle = 15] = "Triangle", s[s.Rhombus = 16] = "Rhombus", s[s.Polygon = 17] = "Polygon", s[s.SpeechBalloon = 18] = "SpeechBalloon", s[s.Image = 19] = "Image", s[s.BackgroundSVG = 20] = "BackgroundSVG", s))(Q || {}), xe = /* @__PURE__ */ ((s) => (s[s.Local = 1] = "Local", s[s.Service = 2] = "Service", s[s.Worker = 3] = "Worker", s))(xe || {}), de = /* @__PURE__ */ ((s) => (s[s.Pending = 0] = "Pending", s[s.Start = 1] = "Start", s[s.Doing = 2] = "Doing", s[s.Done = 3] = "Done", s[s.Unwritable = 4] = "Unwritable", s))(de || {}), ce = /* @__PURE__ */ ((s) => (s[s.None = 0] = "None", s[s.Init = 1] = "Init", s[s.UpdateCamera = 2] = "UpdateCamera", s[s.UpdateTools = 3] = "UpdateTools", s[s.CreateWork = 4] = "CreateWork", s[s.DrawWork = 5] = "DrawWork", s[s.FullWork = 6] = "FullWork", s[s.UpdateNode = 7] = "UpdateNode", s[s.RemoveNode = 8] = "RemoveNode", s[s.Clear = 9] = "Clear", s[s.Select = 10] = "Select", s[s.Destroy = 11] = "Destroy", s[s.Snapshot = 12] = "Snapshot", s[s.BoundingBox = 13] = "BoundingBox", s[s.Cursor = 14] = "Cursor", s[s.TextUpdate = 15] = "TextUpdate", s[s.GetTextActive = 16] = "GetTextActive", s[s.TasksQueue = 17] = "TasksQueue", s[s.CursorHover = 18] = "CursorHover", s[s.CursorBlur = 19] = "CursorBlur", s[s.Console = 20] = "Console", s[s.GetImageBitMap = 23] = "GetImageBitMap", s[s.AuthWriter = 24] = "AuthWriter", s[s.AuthReader = 25] = "AuthReader", s[s.AuthClear = 26] = "AuthClear", s[s.AuthPage = 27] = "AuthPage", s[s.GetVNodeInfo = 28] = "GetVNodeInfo", s[s.UpdateDpr = 29] = "UpdateDpr", s[s.SetFontFace = 30] = "SetFontFace", s[s.ReportError = 31] = "ReportError", s[s.ReportLog = 32] = "ReportLog", s[s.BackgroundSVGUpdate = 33] = "BackgroundSVGUpdate", s[s.BackgroundSVGDelete = 34] = "BackgroundSVGDelete", s[s.SelectorTransform = 35] = "SelectorTransform", s[s.CheckFontFace = 36] = "CheckFontFace", s[s.RefreshTextRender = 37] = "RefreshTextRender", s[s.ProbeRenderCapabilities = 38] = "ProbeRenderCapabilities", s[s.ServiceSyncCommit = 39] = "ServiceSyncCommit", s[s.CancelFontFace = 40] = "CancelFontFace", s[s.CancelBitmapEraser = 41] = "CancelBitmapEraser", s))(ce || {}), at = /* @__PURE__ */ ((s) => (s[s.None = 0] = "None", s[s.Bg = 1] = "Bg", s[s.ServiceFloat = 2] = "ServiceFloat", s[s.Float = 3] = "Float", s[s.TopFloat = 4] = "TopFloat", s))(at || {}), fa = /* @__PURE__ */ ((s) => (s[s.Cursor = 1] = "Cursor", s[s.TextCreate = 2] = "TextCreate", s))(fa || {}), di = /* @__PURE__ */ ((s) => (s[s.Top = 1] = "Top", s[s.Bottom = 2] = "Bottom", s))(di || {}), Qe = /* @__PURE__ */ ((s) => (s[s.none = 1] = "none", s[s.all = 2] = "all", s[s.both = 3] = "both", s[s.proportional = 4] = "proportional", s))(Qe || {}), oi = /* @__PURE__ */ ((s) => (s[s.inside = 0] = "inside", s[s.outside = 1] = "outside", s[s.intersect = 2] = "intersect", s))(oi || {}), Pt = /* @__PURE__ */ ((s) => (s.renderPage = "renderPage", s.addPage = "addPage", s.deletePage = "deletePage", s.addElement = "addElement", s.deleteElement = "deleteElement", s.clearPage = "clearPage", s.clearViewScenePath = "clearViewScenePath", s.clearView = "clearView", s.syncUndoStack = "syncUndoStack", s.syncRedoStack = "syncRedoStack", s))(Pt || {}), jr = /* @__PURE__ */ ((s) => (s.setAuth = "setAuth", s.setShow = "addShow", s.setHide = "setHide", s.setClear = "setClear", s))(jr || {}), ai = /* @__PURE__ */ ((s) => (s.Image = "image", s.Iconify = "iconify", s))(ai || {}), ga = /* @__PURE__ */ ((s) => (s.url = "url", s.markmap = "markmap", s))(ga || {});
26
26
  const L1e = "cursorhover", Tm = 20, Ue = "mainView", rh = 500, EM = rh, $d = 500, Hc = 1e3, Ea = /* @__PURE__ */ new WeakMap(), Qc = (s, t) => {
27
27
  try {
28
28
  s.error(t);
@@ -635,7 +635,7 @@ function xa(s, t) {
635
635
  function NM(s) {
636
636
  return s[0] * s[3] - s[1] * s[2];
637
637
  }
638
- function $r(s, t, e) {
638
+ function Vr(s, t, e) {
639
639
  var r = t[0], n = t[1], i = t[2], o = t[3], a = t[4], c = t[5], l = e[0], u = e[1], h = e[2], d = e[3], f = e[4], g = e[5];
640
640
  return s[0] = r * l + i * u, s[1] = n * l + o * u, s[2] = r * h + i * d, s[3] = n * h + o * d, s[4] = r * f + i * g + a, s[5] = n * f + o * g + c, s;
641
641
  }
@@ -686,7 +686,7 @@ function GM(s, t) {
686
686
  var e = s[0], r = s[1], n = s[2], i = s[3], o = s[4], a = s[5], c = t[0], l = t[1], u = t[2], h = t[3], d = t[4], f = t[5];
687
687
  return Math.abs(e - c) <= Ai * Math.max(1, Math.abs(e), Math.abs(c)) && Math.abs(r - l) <= Ai * Math.max(1, Math.abs(r), Math.abs(l)) && Math.abs(n - u) <= Ai * Math.max(1, Math.abs(n), Math.abs(u)) && Math.abs(i - h) <= Ai * Math.max(1, Math.abs(i), Math.abs(h)) && Math.abs(o - d) <= Ai * Math.max(1, Math.abs(o), Math.abs(d)) && Math.abs(a - f) <= Ai * Math.max(1, Math.abs(a), Math.abs(f));
688
688
  }
689
- var HM = $r, QM = Cm;
689
+ var HM = Vr, QM = Cm;
690
690
  const bm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
691
691
  __proto__: null,
692
692
  add: WM,
@@ -704,7 +704,7 @@ const bm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
704
704
  identity: DM,
705
705
  invert: xa,
706
706
  mul: HM,
707
- multiply: $r,
707
+ multiply: Vr,
708
708
  multiplyScalar: VM,
709
709
  multiplyScalarAndAdd: $M,
710
710
  rotate: Im,
@@ -1559,8 +1559,8 @@ var Em = { exports: {} };
1559
1559
  return w[0] = (1 - (Ce + Se)) * Le, w[1] = (ve + Re) * Le, w[2] = (Me - be) * Le, w[3] = 0, w[4] = (ve - Re) * Ne, w[5] = (1 - (ge + Se)) * Ne, w[6] = (Ie + Ae) * Ne, w[7] = 0, w[8] = (Me + be) * Fe, w[9] = (Ie - Ae) * Fe, w[10] = (1 - (ge + Ce)) * Fe, w[11] = 0, w[12] = U[0], w[13] = U[1], w[14] = U[2], w[15] = 1, w;
1560
1560
  }
1561
1561
  function Y(w, C, U, G, J) {
1562
- var te = C[0], re = C[1], K = C[2], oe = C[3], ue = te + te, he = re + re, ge = K + K, ve = te * ue, Me = te * he, Ce = te * ge, Ie = re * he, Se = re * ge, Ae = K * ge, be = oe * ue, Re = oe * he, Le = oe * ge, Ne = G[0], Fe = G[1], nt = G[2], ct = J[0], st = J[1], lt = J[2], Xe = (1 - (Ie + Ae)) * Ne, ht = (Me + Le) * Ne, yt = (Ce - Re) * Ne, tt = (Me - Le) * Fe, Zt = (1 - (ve + Ae)) * Fe, Hr = (Se + be) * Fe, Qr = (Ce + Re) * nt, Ri = (Se - be) * nt, So = (1 - (ve + Ie)) * nt;
1563
- return w[0] = Xe, w[1] = ht, w[2] = yt, w[3] = 0, w[4] = tt, w[5] = Zt, w[6] = Hr, w[7] = 0, w[8] = Qr, w[9] = Ri, w[10] = So, w[11] = 0, w[12] = U[0] + ct - (Xe * ct + tt * st + Qr * lt), w[13] = U[1] + st - (ht * ct + Zt * st + Ri * lt), w[14] = U[2] + lt - (yt * ct + Hr * st + So * lt), w[15] = 1, w;
1562
+ var te = C[0], re = C[1], K = C[2], oe = C[3], ue = te + te, he = re + re, ge = K + K, ve = te * ue, Me = te * he, Ce = te * ge, Ie = re * he, Se = re * ge, Ae = K * ge, be = oe * ue, Re = oe * he, Le = oe * ge, Ne = G[0], Fe = G[1], nt = G[2], ct = J[0], st = J[1], lt = J[2], Xe = (1 - (Ie + Ae)) * Ne, ht = (Me + Le) * Ne, yt = (Ce - Re) * Ne, tt = (Me - Le) * Fe, Zt = (1 - (ve + Ae)) * Fe, Gr = (Se + be) * Fe, Hr = (Ce + Re) * nt, Ri = (Se - be) * nt, So = (1 - (ve + Ie)) * nt;
1563
+ return w[0] = Xe, w[1] = ht, w[2] = yt, w[3] = 0, w[4] = tt, w[5] = Zt, w[6] = Gr, w[7] = 0, w[8] = Hr, w[9] = Ri, w[10] = So, w[11] = 0, w[12] = U[0] + ct - (Xe * ct + tt * st + Hr * lt), w[13] = U[1] + st - (ht * ct + Zt * st + Ri * lt), w[14] = U[2] + lt - (yt * ct + Gr * st + So * lt), w[15] = 1, w;
1564
1564
  }
1565
1565
  function H(w, C) {
1566
1566
  var U = C[0], G = C[1], J = C[2], te = C[3], re = U + U, K = G + G, oe = J + J, ue = U * re, he = G * re, ge = G * K, ve = J * re, Me = J * K, Ce = J * oe, Ie = te * re, Se = te * K, Ae = te * oe;
@@ -1614,8 +1614,8 @@ var Em = { exports: {} };
1614
1614
  return w[0] === C[0] && w[1] === C[1] && w[2] === C[2] && w[3] === C[3] && w[4] === C[4] && w[5] === C[5] && w[6] === C[6] && w[7] === C[7] && w[8] === C[8] && w[9] === C[9] && w[10] === C[10] && w[11] === C[11] && w[12] === C[12] && w[13] === C[13] && w[14] === C[14] && w[15] === C[15];
1615
1615
  }
1616
1616
  function se(w, C) {
1617
- var U = w[0], G = w[1], J = w[2], te = w[3], re = w[4], K = w[5], oe = w[6], ue = w[7], he = w[8], ge = w[9], ve = w[10], Me = w[11], Ce = w[12], Ie = w[13], Se = w[14], Ae = w[15], be = C[0], Re = C[1], Le = C[2], Ne = C[3], Fe = C[4], nt = C[5], ct = C[6], st = C[7], lt = C[8], Xe = C[9], ht = C[10], yt = C[11], tt = C[12], Zt = C[13], Hr = C[14], Qr = C[15];
1618
- return Math.abs(U - be) <= i.EPSILON * Math.max(1, Math.abs(U), Math.abs(be)) && Math.abs(G - Re) <= i.EPSILON * Math.max(1, Math.abs(G), Math.abs(Re)) && Math.abs(J - Le) <= i.EPSILON * Math.max(1, Math.abs(J), Math.abs(Le)) && Math.abs(te - Ne) <= i.EPSILON * Math.max(1, Math.abs(te), Math.abs(Ne)) && Math.abs(re - Fe) <= i.EPSILON * Math.max(1, Math.abs(re), Math.abs(Fe)) && Math.abs(K - nt) <= i.EPSILON * Math.max(1, Math.abs(K), Math.abs(nt)) && Math.abs(oe - ct) <= i.EPSILON * Math.max(1, Math.abs(oe), Math.abs(ct)) && Math.abs(ue - st) <= i.EPSILON * Math.max(1, Math.abs(ue), Math.abs(st)) && Math.abs(he - lt) <= i.EPSILON * Math.max(1, Math.abs(he), Math.abs(lt)) && Math.abs(ge - Xe) <= i.EPSILON * Math.max(1, Math.abs(ge), Math.abs(Xe)) && Math.abs(ve - ht) <= i.EPSILON * Math.max(1, Math.abs(ve), Math.abs(ht)) && Math.abs(Me - yt) <= i.EPSILON * Math.max(1, Math.abs(Me), Math.abs(yt)) && Math.abs(Ce - tt) <= i.EPSILON * Math.max(1, Math.abs(Ce), Math.abs(tt)) && Math.abs(Ie - Zt) <= i.EPSILON * Math.max(1, Math.abs(Ie), Math.abs(Zt)) && Math.abs(Se - Hr) <= i.EPSILON * Math.max(1, Math.abs(Se), Math.abs(Hr)) && Math.abs(Ae - Qr) <= i.EPSILON * Math.max(1, Math.abs(Ae), Math.abs(Qr));
1617
+ var U = w[0], G = w[1], J = w[2], te = w[3], re = w[4], K = w[5], oe = w[6], ue = w[7], he = w[8], ge = w[9], ve = w[10], Me = w[11], Ce = w[12], Ie = w[13], Se = w[14], Ae = w[15], be = C[0], Re = C[1], Le = C[2], Ne = C[3], Fe = C[4], nt = C[5], ct = C[6], st = C[7], lt = C[8], Xe = C[9], ht = C[10], yt = C[11], tt = C[12], Zt = C[13], Gr = C[14], Hr = C[15];
1618
+ return Math.abs(U - be) <= i.EPSILON * Math.max(1, Math.abs(U), Math.abs(be)) && Math.abs(G - Re) <= i.EPSILON * Math.max(1, Math.abs(G), Math.abs(Re)) && Math.abs(J - Le) <= i.EPSILON * Math.max(1, Math.abs(J), Math.abs(Le)) && Math.abs(te - Ne) <= i.EPSILON * Math.max(1, Math.abs(te), Math.abs(Ne)) && Math.abs(re - Fe) <= i.EPSILON * Math.max(1, Math.abs(re), Math.abs(Fe)) && Math.abs(K - nt) <= i.EPSILON * Math.max(1, Math.abs(K), Math.abs(nt)) && Math.abs(oe - ct) <= i.EPSILON * Math.max(1, Math.abs(oe), Math.abs(ct)) && Math.abs(ue - st) <= i.EPSILON * Math.max(1, Math.abs(ue), Math.abs(st)) && Math.abs(he - lt) <= i.EPSILON * Math.max(1, Math.abs(he), Math.abs(lt)) && Math.abs(ge - Xe) <= i.EPSILON * Math.max(1, Math.abs(ge), Math.abs(Xe)) && Math.abs(ve - ht) <= i.EPSILON * Math.max(1, Math.abs(ve), Math.abs(ht)) && Math.abs(Me - yt) <= i.EPSILON * Math.max(1, Math.abs(Me), Math.abs(yt)) && Math.abs(Ce - tt) <= i.EPSILON * Math.max(1, Math.abs(Ce), Math.abs(tt)) && Math.abs(Ie - Zt) <= i.EPSILON * Math.max(1, Math.abs(Ie), Math.abs(Zt)) && Math.abs(Se - Gr) <= i.EPSILON * Math.max(1, Math.abs(Se), Math.abs(Gr)) && Math.abs(Ae - Hr) <= i.EPSILON * Math.max(1, Math.abs(Ae), Math.abs(Hr));
1619
1619
  }
1620
1620
  var Z = T, ee = pe;
1621
1621
  },
@@ -7030,11 +7030,11 @@ void main() {
7030
7030
  }), Ne = g()(Le, 3), Fe = g()(Ne[0], 2), nt = Fe[0], ct = Fe[1], st = g()(Ne[1], 2), lt = st[0], Xe = st[1], ht = g()(Ne[2], 2), yt = ht[0], tt = ht[1], Zt = Math.sign((K - nt) * (Xe - ct) - (lt - nt) * (oe - ct));
7031
7031
  if (Zt === 0 && Ae([K, oe], [nt, ct], [lt, Xe]))
7032
7032
  return !0;
7033
- var Hr = Math.sign((K - lt) * (tt - Xe) - (yt - lt) * (oe - Xe));
7034
- if (Hr === 0 && Ae([K, oe], [lt, Xe], [yt, tt]))
7033
+ var Gr = Math.sign((K - lt) * (tt - Xe) - (yt - lt) * (oe - Xe));
7034
+ if (Gr === 0 && Ae([K, oe], [lt, Xe], [yt, tt]))
7035
7035
  return !0;
7036
- var Qr = Math.sign((K - yt) * (ct - tt) - (nt - yt) * (oe - tt));
7037
- if (Qr === 0 && Ae([K, oe], [yt, tt], [nt, ct]) || Zt === 1 && Hr === 1 && Qr === 1 || Zt === -1 && Hr === -1 && Qr === -1)
7036
+ var Hr = Math.sign((K - yt) * (ct - tt) - (nt - yt) * (oe - tt));
7037
+ if (Hr === 0 && Ae([K, oe], [yt, tt], [nt, ct]) || Zt === 1 && Gr === 1 && Hr === 1 || Zt === -1 && Gr === -1 && Hr === -1)
7038
7038
  return !0;
7039
7039
  }
7040
7040
  }
@@ -9091,19 +9091,19 @@ function au(s, t) {
9091
9091
  return s == null && t == null || s === t;
9092
9092
  }
9093
9093
  et(Array);
9094
- const qc = Symbol.for("spritejs_setAttributeDefault"), Zc = Symbol.for("spritejs_declareAlias"), Nt = Symbol.for("spritejs_setAttribute"), Tt = Symbol.for("spritejs_getAttribute"), Gd = Symbol.for("spritejs_attributes"), Hd = Symbol.for("spritejs_changedAttrs"), pa = Symbol("subject"), nn = Symbol("attr"), Kc = Symbol("default"), Io = Symbol("alias");
9094
+ const qc = Symbol.for("spritejs_setAttributeDefault"), Zc = Symbol.for("spritejs_declareAlias"), Nt = Symbol.for("spritejs_setAttribute"), Tt = Symbol.for("spritejs_getAttribute"), Gd = Symbol.for("spritejs_attributes"), Hd = Symbol.for("spritejs_changedAttrs"), pa = Symbol("subject"), rn = Symbol("attr"), Kc = Symbol("default"), Io = Symbol("alias");
9095
9095
  function qM(s, [t, e]) {
9096
9096
  let r = ci(1, 0, 0, 1, 0, 0);
9097
9097
  return [...s].forEach(([n, i]) => {
9098
9098
  if ((t || e) && (r = ou(Array.of(0, 0, 0, 0, 0, 0), r, [t, e])), n === "matrix")
9099
- r = $r(r, r, i);
9099
+ r = Vr(r, r, i);
9100
9100
  else if (n === "offsetTranslate")
9101
9101
  r[4] += i[0], r[5] += i[1];
9102
9102
  else if (n === "offsetRotate")
9103
9103
  r = Im(Array.of(0, 0, 0, 0, 0, 0), r, i);
9104
9104
  else if (n === "skew") {
9105
9105
  const [o, a] = i;
9106
- r = $r(r, r, ci(1, Math.tan(a), Math.tan(o), 1, 0, 0));
9106
+ r = Vr(r, r, ci(1, Math.tan(a), Math.tan(o), 1, 0, 0));
9107
9107
  } else
9108
9108
  bm[n](r, r, i);
9109
9109
  (t || e) && (r = ou(Array.of(0, 0, 0, 0, 0, 0), r, [-t, -e]));
@@ -9111,7 +9111,7 @@ function qM(s, [t, e]) {
9111
9111
  }
9112
9112
  const bn = Symbol("transformMatrix"), Fs = Symbol("transforms"), fs = Symbol("changedAttrs"), xm = Symbol("lastChangedAttr"), ma = Symbol("offsetFigure");
9113
9113
  function Co(s, t, e) {
9114
- const r = s[nn][t];
9114
+ const r = s[rn][t];
9115
9115
  if (s[Nt](t, e, !1) || s[xm] !== t) {
9116
9116
  const i = s[Fs];
9117
9117
  i.has(t) && i.delete(t), e && (t === "rotate" && (e = Math.PI * e / 180), t === "scale" && (e = e.map((o) => Math.abs(o) > 1e-5 ? o : 1 / o > 0 ? 1e-5 : -1e-5)), i.set(t, e)), s[bn] = null, s[pa].onPropertyChange(t, e, r, s);
@@ -9145,7 +9145,7 @@ let ih = class {
9145
9145
  return t[Hd];
9146
9146
  }
9147
9147
  constructor(t) {
9148
- this[pa] = t, this[nn] = {}, this[bn] = ci(1, 0, 0, 1, 0, 0), this[Fs] = /* @__PURE__ */ new Map(), this[Kc] = {}, this[Io] = [], Object.defineProperty(t, "transformMatrix", {
9148
+ this[pa] = t, this[rn] = {}, this[bn] = ci(1, 0, 0, 1, 0, 0), this[Fs] = /* @__PURE__ */ new Map(), this[Kc] = {}, this[Io] = [], Object.defineProperty(t, "transformMatrix", {
9149
9149
  get: () => (this[bn] || (this[bn] = qM(this[Fs], this.transformOrigin)), [...this[bn]])
9150
9150
  }), this[qc]({
9151
9151
  id: "",
@@ -9178,11 +9178,11 @@ let ih = class {
9178
9178
  get [Hd]() {
9179
9179
  const t = {};
9180
9180
  return [...this[fs]].forEach((e) => {
9181
- t[e] = this[nn][e];
9181
+ t[e] = this[rn][e];
9182
9182
  }), t;
9183
9183
  }
9184
9184
  get [Gd]() {
9185
- const t = Object.assign({}, this[nn]);
9185
+ const t = Object.assign({}, this[rn]);
9186
9186
  for (let e = 0; e < this[Io].length; e++) {
9187
9187
  const r = this[Io][e];
9188
9188
  t[r] = this[r];
@@ -9190,17 +9190,17 @@ let ih = class {
9190
9190
  return t;
9191
9191
  }
9192
9192
  [qc](t) {
9193
- Object.assign(this[Kc], t), Object.assign(this[nn], t);
9193
+ Object.assign(this[Kc], t), Object.assign(this[rn], t);
9194
9194
  }
9195
9195
  [Zc](...t) {
9196
9196
  this[Io].push(...t);
9197
9197
  }
9198
9198
  [Nt](t, e, r = !0) {
9199
- const n = this[nn][t], i = this[pa];
9200
- return e == null && (e = this[Kc][t]), au(n, e) ? !1 : (this[nn][t] = e, this[fs].has(t) && this[fs].delete(t), this[fs].add(t), this[xm] = t, r && i.onPropertyChange(t, e, n, this), !0);
9199
+ const n = this[rn][t], i = this[pa];
9200
+ return e == null && (e = this[Kc][t]), au(n, e) ? !1 : (this[rn][t] = e, this[fs].has(t) && this[fs].delete(t), this[fs].add(t), this[xm] = t, r && i.onPropertyChange(t, e, n, this), !0);
9201
9201
  }
9202
9202
  [Tt](t) {
9203
- return this[nn][t];
9203
+ return this[rn][t];
9204
9204
  }
9205
9205
  set id(t) {
9206
9206
  this[Nt]("id", t);
@@ -9252,7 +9252,7 @@ let ih = class {
9252
9252
  if (Array.isArray(t) && (e = t, t = `matrix(${t.map(Je).join()})`), typeof t == "string") t = t.replace(/\s*,\s*/g, ",");
9253
9253
  else if (t != null)
9254
9254
  throw new TypeError("Invalid transform value.");
9255
- const r = this[nn].transform;
9255
+ const r = this[rn].transform;
9256
9256
  if (this[Nt]("transform", t, !1)) {
9257
9257
  const n = this[Fs];
9258
9258
  if (n.has("matrix") && n.delete("matrix"), e)
@@ -9265,7 +9265,7 @@ let ih = class {
9265
9265
  const l = i[a].match(/^(matrix|translate|rotate|scale|skew)\(([^()]+)\)/);
9266
9266
  if (l) {
9267
9267
  let [, u, h] = l;
9268
- u === "rotate" ? h = Math.PI * parseFloat(h) / 180 : h = h.trim().split(/[\s,]+/).map((d) => Je(d)), u === "matrix" ? o = $r(o, o, h) : u === "skew" ? o = $r(o, o, ci(1, Math.tan(h[1]), Math.tan(h[0]), 1, 0, 0)) : bm[u](o, o, h), n.set("matrix", o);
9268
+ u === "rotate" ? h = Math.PI * parseFloat(h) / 180 : h = h.trim().split(/[\s,]+/).map((d) => Je(d)), u === "matrix" ? o = Vr(o, o, h) : u === "skew" ? o = Vr(o, o, ci(1, Math.tan(h[1]), Math.tan(h[0]), 1, 0, 0)) : bm[u](o, o, h), n.set("matrix", o);
9269
9269
  }
9270
9270
  }
9271
9271
  } else
@@ -9395,9 +9395,9 @@ var jt = km.exports, oo = function(s) {
9395
9395
  return function() {
9396
9396
  return s.apply(t, arguments);
9397
9397
  };
9398
- }, Mr = {}, Yr = function(s) {
9398
+ }, Mr = {}, $r = function(s) {
9399
9399
  return typeof s == "object" ? s !== null : typeof s == "function";
9400
- }, nw = Yr, mn = function(s) {
9400
+ }, nw = $r, mn = function(s) {
9401
9401
  if (!nw(s)) throw TypeError(s + " is not an object!");
9402
9402
  return s;
9403
9403
  }, mi = function(s) {
@@ -9410,13 +9410,13 @@ var jt = km.exports, oo = function(s) {
9410
9410
  return Object.defineProperty({}, "a", { get: function() {
9411
9411
  return 7;
9412
9412
  } }).a != 7;
9413
- }), Qd = Yr, cu = or.document, iw = Qd(cu) && Qd(cu.createElement), ah = function(s) {
9413
+ }), Qd = $r, cu = or.document, iw = Qd(cu) && Qd(cu.createElement), ah = function(s) {
9414
9414
  return iw ? cu.createElement(s) : {};
9415
9415
  }, Pm = !wr && !mi(function() {
9416
9416
  return Object.defineProperty(ah("div"), "a", { get: function() {
9417
9417
  return 7;
9418
9418
  } }).a != 7;
9419
- }), bo = Yr, ch = function(s, t) {
9419
+ }), bo = $r, ch = function(s, t) {
9420
9420
  if (!bo(s)) return s;
9421
9421
  var e, r;
9422
9422
  if (t && typeof (e = s.toString) == "function" && !bo(r = e.call(s)) || typeof (e = s.valueOf) == "function" && !bo(r = e.call(s)) || !t && typeof (e = s.toString) == "function" && !bo(r = e.call(s))) return r;
@@ -9741,7 +9741,7 @@ var lo = Vm.exports, sS = or, yf = jt, oS = Mr, aS = wr, vf = Jt("species"), Ym
9741
9741
  return this;
9742
9742
  }
9743
9743
  });
9744
- }, Gm = { exports: {} }, fi = nc("meta"), cS = Yr, vh = yi, lS = Mr.f, uS = 0, oc = Object.isExtensible || function() {
9744
+ }, Gm = { exports: {} }, fi = nc("meta"), cS = $r, vh = yi, lS = Mr.f, uS = 0, oc = Object.isExtensible || function() {
9745
9745
  return !0;
9746
9746
  }, hS = !mi(function() {
9747
9747
  return oc(Object.preventExtensions({}));
@@ -9775,7 +9775,7 @@ var lo = Vm.exports, sS = or, yf = jt, oS = Mr, aS = wr, vf = Jt("species"), Ym
9775
9775
  fastKey: dS,
9776
9776
  getWeak: fS,
9777
9777
  onFreeze: gS
9778
- }, wh = Gm.exports, mS = Yr, Hm = function(s, t) {
9778
+ }, wh = Gm.exports, mS = $r, Hm = function(s, t) {
9779
9779
  if (!mS(s) || s._t !== t) throw TypeError("Incompatible receiver, " + t + " required!");
9780
9780
  return s;
9781
9781
  }, yS = Mr.f, vS = fh, MS = mh, wS = Nn, TS = yh, SS = lo, IS = gh, ko = Rm, CS = Ym, Qm = wr, qm = wh.fastKey, ki = Hm, gs = Qm ? "_s" : "size", Po = function(s, t) {
@@ -9852,7 +9852,7 @@ var lo = Vm.exports, sS = or, yf = jt, oS = Mr, aS = wr, vf = Jt("species"), Ym
9852
9852
  }
9853
9853
  }, ES = so, Zm = Array.isArray || function(t) {
9854
9854
  return ES(t) == "Array";
9855
- }, xS = Yr, Mf = Zm, RS = Jt("species"), AS = function(s) {
9855
+ }, xS = $r, Mf = Zm, RS = Jt("species"), AS = function(s) {
9856
9856
  var t;
9857
9857
  return Mf(s) && (t = s.constructor, typeof t == "function" && (t === Array || Mf(t.prototype)) && (t = void 0), xS(t) && (t = t[RS], t === null && (t = void 0))), t === void 0 ? Array : t;
9858
9858
  }, kS = AS, PS = function(s, t) {
@@ -9876,7 +9876,7 @@ var lo = Vm.exports, sS = or, yf = jt, oS = Mr, aS = wr, vf = Jt("species"), Ym
9876
9876
  }
9877
9877
  return o ? -1 : n || i ? i : E;
9878
9878
  };
9879
- }, jS = or, Do = ar, FS = wh, US = mi, WS = On, VS = mh, $S = lo, wf = yh, YS = Yr, GS = co, HS = Mr.f, QS = BS(0), qS = wr, ZS = function(s, t, e, r, n, i) {
9879
+ }, jS = or, Do = ar, FS = wh, US = mi, WS = On, VS = mh, $S = lo, wf = yh, YS = $r, GS = co, HS = Mr.f, QS = BS(0), qS = wr, ZS = function(s, t, e, r, n, i) {
9880
9880
  var o = jS[s], a = o, c = n ? "set" : "add", l = a && a.prototype, u = {};
9881
9881
  return !qS || typeof a != "function" || !(i || l.forEach && !US(function() {
9882
9882
  new a().entries().next();
@@ -10032,7 +10032,7 @@ ey.f = wr ? kf : function(t, e) {
10032
10032
  }
10033
10033
  if (b1(t, e)) return S1(!T1.f.call(t, e), t[e]);
10034
10034
  };
10035
- var uc = or, Ot = yi, ty = wr, Qt = ar, x1 = Dm, R1 = wh.KEY, bh = mi, Eh = uh, xh = co, A1 = nc, uo = Jt, k1 = Sh, P1 = Ih, D1 = p1, L1 = Zm, pu = mn, N1 = Yr, O1 = is, hc = pi, Rh = ch, mu = ao, Qs = fh, ry = Xm, ny = ey, dc = ac, iy = Mr, z1 = ns, sy = ny.f, Xn = iy.f, oy = ry.f, sr = uc.Symbol, Ra = uc.JSON, Lo = Ra && Ra.stringify, Rn = "prototype", ir = uo("_hidden"), Pf = uo("toPrimitive"), B1 = {}.propertyIsEnumerable, ps = Eh("symbol-registry"), gn = Eh("symbols"), ho = Eh("op-symbols"), Rr = Object[Rn], os = typeof sr == "function" && !!dc.f, ml = uc.QObject, yu = !ml || !ml[Rn] || !ml[Rn].findChild, vu = ty && bh(function() {
10035
+ var uc = or, Ot = yi, ty = wr, Qt = ar, x1 = Dm, R1 = wh.KEY, bh = mi, Eh = uh, xh = co, A1 = nc, uo = Jt, k1 = Sh, P1 = Ih, D1 = p1, L1 = Zm, pu = mn, N1 = $r, O1 = is, hc = pi, Rh = ch, mu = ao, Qs = fh, ry = Xm, ny = ey, dc = ac, iy = Mr, z1 = ns, sy = ny.f, Xn = iy.f, oy = ry.f, sr = uc.Symbol, Ra = uc.JSON, Lo = Ra && Ra.stringify, Rn = "prototype", ir = uo("_hidden"), Pf = uo("toPrimitive"), B1 = {}.propertyIsEnumerable, ps = Eh("symbol-registry"), gn = Eh("symbols"), ho = Eh("op-symbols"), Rr = Object[Rn], os = typeof sr == "function" && !!dc.f, ml = uc.QObject, yu = !ml || !ml[Rn] || !ml[Rn].findChild, vu = ty && bh(function() {
10036
10036
  return Qs(Xn({}, "a", {
10037
10037
  get: function() {
10038
10038
  return Xn(this, "a", { value: 7 }).a;
@@ -10172,9 +10172,9 @@ function Mi(s) {
10172
10172
  var tI = (0, dy.createNowTime)(), rI = {
10173
10173
  originTime: 0,
10174
10174
  playbackRate: 1
10175
- }, qr = (0, vi.default)("timeMark"), vl = (0, vi.default)("playbackRate"), Zr = (0, vi.default)("timers"), nI = (0, vi.default)("originTime"), ms = (0, vi.default)("setTimer"), Kr = (0, vi.default)("parent"), iI = function() {
10175
+ }, Qr = (0, vi.default)("timeMark"), vl = (0, vi.default)("playbackRate"), qr = (0, vi.default)("timers"), nI = (0, vi.default)("originTime"), ms = (0, vi.default)("setTimer"), Zr = (0, vi.default)("parent"), iI = function() {
10176
10176
  function s(t, e) {
10177
- (0, X1.default)(this, s), t instanceof s && (e = t, t = {}), t = (0, Z1.default)({}, rI, t), e && (this[Kr] = e);
10177
+ (0, X1.default)(this, s), t instanceof s && (e = t, t = {}), t = (0, Z1.default)({}, rI, t), e && (this[Zr] = e);
10178
10178
  var r = t.nowtime || tI;
10179
10179
  if (e)
10180
10180
  Object.defineProperty(this, "globalTime", {
@@ -10190,13 +10190,13 @@ var tI = (0, dy.createNowTime)(), rI = {
10190
10190
  }
10191
10191
  });
10192
10192
  }
10193
- this[qr] = [{
10193
+ this[Qr] = [{
10194
10194
  globalTime: this.globalTime,
10195
10195
  localTime: -t.originTime,
10196
10196
  entropy: -t.originTime,
10197
10197
  playbackRate: t.playbackRate,
10198
10198
  globalEntropy: 0
10199
- }], this[Kr] && (this[qr][0].globalEntropy = this[Kr].entropy), this[nI] = t.originTime, this[vl] = t.playbackRate, this[Zr] = new Q1.default();
10199
+ }], this[Zr] && (this[Qr][0].globalEntropy = this[Zr].entropy), this[nI] = t.originTime, this[vl] = t.playbackRate, this[qr] = new Q1.default();
10200
10200
  }
10201
10201
  return (0, _1.default)(s, [{
10202
10202
  key: "markTime",
@@ -10208,7 +10208,7 @@ var tI = (0, dy.createNowTime)(), rI = {
10208
10208
  playbackRate: c,
10209
10209
  globalEntropy: this.globalEntropy
10210
10210
  };
10211
- this[qr].push(l);
10211
+ this[Qr].push(l);
10212
10212
  }
10213
10213
  }, {
10214
10214
  key: "fork",
@@ -10218,19 +10218,19 @@ var tI = (0, dy.createNowTime)(), rI = {
10218
10218
  }, {
10219
10219
  key: "seekGlobalTime",
10220
10220
  value: function(e) {
10221
- var r = this.seekTimeMark(e), n = this[qr][r], i = n.entropy, o = n.playbackRate, a = n.globalTime;
10221
+ var r = this.seekTimeMark(e), n = this[Qr][r], i = n.entropy, o = n.playbackRate, a = n.globalTime;
10222
10222
  return a + (e - i) / Math.abs(o);
10223
10223
  }
10224
10224
  }, {
10225
10225
  key: "seekLocalTime",
10226
10226
  value: function(e) {
10227
- var r = this.seekTimeMark(e), n = this[qr][r], i = n.localTime, o = n.entropy, a = n.playbackRate;
10227
+ var r = this.seekTimeMark(e), n = this[Qr][r], i = n.localTime, o = n.entropy, a = n.playbackRate;
10228
10228
  return a > 0 ? i + (e - o) : i - (e - o);
10229
10229
  }
10230
10230
  }, {
10231
10231
  key: "seekTimeMark",
10232
10232
  value: function(e) {
10233
- var r = this[qr], n = 0, i = r.length - 1;
10233
+ var r = this[Qr], n = 0, i = r.length - 1;
10234
10234
  if (e <= r[n].entropy)
10235
10235
  return n;
10236
10236
  if (e >= r[i].entropy)
@@ -10245,7 +10245,7 @@ var tI = (0, dy.createNowTime)(), rI = {
10245
10245
  }, {
10246
10246
  key: "updateTimers",
10247
10247
  value: function() {
10248
- var e = this, r = [].concat((0, yl.default)(this[Zr]));
10248
+ var e = this, r = [].concat((0, yl.default)(this[qr]));
10249
10249
  r.forEach(function(n) {
10250
10250
  var i = (0, Bf.default)(n, 2), o = i[0], a = i[1];
10251
10251
  e[ms](a.handler, a.time, o);
@@ -10261,8 +10261,8 @@ var tI = (0, dy.createNowTime)(), rI = {
10261
10261
  return t.toString();
10262
10262
  }, e;
10263
10263
  }(function(t) {
10264
- var e = this[Zr].get(t);
10265
- e && e.timerID != null && (this[Kr] ? this[Kr].clearTimeout(e.timerID) : clearTimeout(e.timerID)), this[Zr].delete(t);
10264
+ var e = this[qr].get(t);
10265
+ e && e.timerID != null && (this[Zr] ? this[Zr].clearTimeout(e.timerID) : clearTimeout(e.timerID)), this[qr].delete(t);
10266
10266
  })
10267
10267
  }, {
10268
10268
  key: "clearInterval",
@@ -10272,7 +10272,7 @@ var tI = (0, dy.createNowTime)(), rI = {
10272
10272
  }, {
10273
10273
  key: "clear",
10274
10274
  value: function() {
10275
- var e = this, r = this[Zr];
10275
+ var e = this, r = this[qr];
10276
10276
  [].concat((0, yl.default)(r.keys())).forEach(function(n) {
10277
10277
  e.clearTimeout(n);
10278
10278
  });
@@ -10301,12 +10301,12 @@ var tI = (0, dy.createNowTime)(), rI = {
10301
10301
  value: function(e, r) {
10302
10302
  var n = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : (0, vi.default)("timerID");
10303
10303
  r = (0, dy.formatDelay)(r);
10304
- var o = this[Zr].get(i), a = void 0, c = null, l = void 0, u = void 0;
10304
+ var o = this[qr].get(i), a = void 0, c = null, l = void 0, u = void 0;
10305
10305
  o ? (this.clearTimeout(i), r.isEntropy ? a = (r.delay - (this.entropy - o.startEntropy)) / Math.abs(this.playbackRate) : a = (r.delay - (this.currentTime - o.startTime)) / this.playbackRate, l = o.startTime, u = o.startEntropy) : (a = r.delay / (r.isEntropy ? Math.abs(this.playbackRate) : this.playbackRate), l = this.currentTime, u = this.entropy);
10306
- var h = this[Kr], d = h ? h.setTimeout.bind(h) : setTimeout, f = r.heading;
10306
+ var h = this[Zr], d = h ? h.setTimeout.bind(h) : setTimeout, f = r.heading;
10307
10307
  return !h && f === !1 && a < 0 && (a = 1 / 0), (isFinite(a) || h) && (a = Math.ceil(a), d !== setTimeout && (a = { delay: a, heading: f }), c = d(function() {
10308
- n[Zr].delete(i), e();
10309
- }, a)), this[Zr].set(i, {
10308
+ n[qr].delete(i), e();
10309
+ }, a)), this[qr].set(i, {
10310
10310
  timerID: c,
10311
10311
  handler: e,
10312
10312
  time: r,
@@ -10317,12 +10317,12 @@ var tI = (0, dy.createNowTime)(), rI = {
10317
10317
  }, {
10318
10318
  key: "parent",
10319
10319
  get: function() {
10320
- return this[Kr];
10320
+ return this[Zr];
10321
10321
  }
10322
10322
  }, {
10323
10323
  key: "lastTimeMark",
10324
10324
  get: function() {
10325
- return this[qr][this[qr].length - 1];
10325
+ return this[Qr][this[Qr].length - 1];
10326
10326
  }
10327
10327
  }, {
10328
10328
  key: "currentTime",
@@ -10331,7 +10331,7 @@ var tI = (0, dy.createNowTime)(), rI = {
10331
10331
  return r + (this.globalTime - n) * this.playbackRate;
10332
10332
  },
10333
10333
  set: function(e) {
10334
- var r = this, n = this.currentTime, i = e, o = this[Zr];
10334
+ var r = this, n = this.currentTime, i = e, o = this[qr];
10335
10335
  this.markTime({ time: e }), [].concat((0, yl.default)(o)).forEach(function(a) {
10336
10336
  var c = (0, Bf.default)(a, 2), l = c[0], u = c[1];
10337
10337
  if (o.has(l)) {
@@ -10367,14 +10367,14 @@ var tI = (0, dy.createNowTime)(), rI = {
10367
10367
  set: function(e) {
10368
10368
  if (this.entropy > e) {
10369
10369
  var r = this.seekTimeMark(e);
10370
- this[qr].length = r + 1;
10370
+ this[Qr].length = r + 1;
10371
10371
  }
10372
10372
  this.markTime({ entropy: e }), this.updateTimers();
10373
10373
  }
10374
10374
  }, {
10375
10375
  key: "globalEntropy",
10376
10376
  get: function() {
10377
- return this[Kr] ? this[Kr].entropy : this.globalTime;
10377
+ return this[Zr] ? this[Zr].entropy : this.globalTime;
10378
10378
  }
10379
10379
  }, {
10380
10380
  key: "playbackRate",
@@ -10646,14 +10646,14 @@ var wy = function(s) {
10646
10646
  } catch (t) {
10647
10647
  return { e: !0, v: t };
10648
10648
  }
10649
- }, AI = or, Kf = AI.navigator, kI = Kf && Kf.userAgent || "", PI = mn, DI = Yr, LI = mc, Ty = function(s, t) {
10649
+ }, AI = or, Kf = AI.navigator, kI = Kf && Kf.userAgent || "", PI = mn, DI = $r, LI = mc, Ty = function(s, t) {
10650
10650
  if (PI(s), DI(t) && t.constructor === s) return t;
10651
10651
  var e = LI.f(s), r = e.resolve;
10652
10652
  return r(t), e.promise;
10653
- }, NI = _M, An = or, $i = Nn, OI = ic, pr = ar, zI = Yr, BI = oo, jI = yh, Xf = lo, FI = vy, Sy = My.set, Iy = xI(), Cy = mc, Iu = wy, UI = kI, WI = Ty, zn = "Promise", by = An.TypeError, _i = An.process, Jf = _i && _i.versions, VI = Jf && Jf.v8 || "", Ur = An[zn], qs = OI(_i) == "process", va = function() {
10653
+ }, NI = _M, An = or, $i = Nn, OI = ic, pr = ar, zI = $r, BI = oo, jI = yh, Xf = lo, FI = vy, Sy = My.set, Iy = xI(), Cy = mc, Iu = wy, UI = kI, WI = Ty, zn = "Promise", by = An.TypeError, _i = An.process, Jf = _i && _i.versions, VI = Jf && Jf.v8 || "", Fr = An[zn], qs = OI(_i) == "process", va = function() {
10654
10654
  }, zo, Ey, _f, Ph, Zs = Ey = Cy.f, yc = !!function() {
10655
10655
  try {
10656
- var s = Ur.resolve(1), t = (s.constructor = {})[Jt("species")] = function(e) {
10656
+ var s = Fr.resolve(1), t = (s.constructor = {})[Jt("species")] = function(e) {
10657
10657
  e(va, va);
10658
10658
  };
10659
10659
  return (qs || typeof PromiseRejectionEvent == "function") && s.then(va) instanceof t && VI.indexOf("6.6") !== 0 && UI.indexOf("Chrome/66") === -1;
@@ -10714,8 +10714,8 @@ var wy = function(s) {
10714
10714
  }
10715
10715
  }
10716
10716
  };
10717
- yc || (Ur = function(t) {
10718
- jI(this, Ur, zn, "_h"), BI(t), zo.call(this);
10717
+ yc || (Fr = function(t) {
10718
+ jI(this, Fr, zn, "_h"), BI(t), zo.call(this);
10719
10719
  try {
10720
10720
  t($i(Cu, this, 1), $i(Xi, this, 1));
10721
10721
  } catch (e) {
@@ -10723,10 +10723,10 @@ yc || (Ur = function(t) {
10723
10723
  }
10724
10724
  }, zo = function(t) {
10725
10725
  this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, this._n = !1;
10726
- }, zo.prototype = mh(Ur.prototype, {
10726
+ }, zo.prototype = mh(Fr.prototype, {
10727
10727
  // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
10728
10728
  then: function(t, e) {
10729
- var r = Zs(FI(this, Ur));
10729
+ var r = Zs(FI(this, Fr));
10730
10730
  return r.ok = typeof t == "function" ? t : !0, r.fail = typeof e == "function" && e, r.domain = qs ? _i.domain : void 0, this._c.push(r), this._a && this._a.push(r), this._s && Dh(this, !1), r.promise;
10731
10731
  },
10732
10732
  // 25.4.5.1 Promise.prototype.catch(onRejected)
@@ -10737,10 +10737,10 @@ yc || (Ur = function(t) {
10737
10737
  var s = new zo();
10738
10738
  this.promise = s, this.resolve = $i(Cu, s, 1), this.reject = $i(Xi, s, 1);
10739
10739
  }, Cy.f = Zs = function(s) {
10740
- return s === Ur || s === Ph ? new _f(s) : Ey(s);
10740
+ return s === Fr || s === Ph ? new _f(s) : Ey(s);
10741
10741
  });
10742
- pr(pr.G + pr.W + pr.F * !yc, { Promise: Ur });
10743
- co(Ur, zn);
10742
+ pr(pr.G + pr.W + pr.F * !yc, { Promise: Fr });
10743
+ co(Fr, zn);
10744
10744
  Ym(zn);
10745
10745
  Ph = jt[zn];
10746
10746
  pr(pr.S + pr.F * !yc, zn, {
@@ -10753,11 +10753,11 @@ pr(pr.S + pr.F * !yc, zn, {
10753
10753
  pr(pr.S + pr.F * NI, zn, {
10754
10754
  // 25.4.4.6 Promise.resolve(x)
10755
10755
  resolve: function(t) {
10756
- return WI(this === Ph ? Ur : this, t);
10756
+ return WI(this === Ph ? Fr : this, t);
10757
10757
  }
10758
10758
  });
10759
10759
  pr(pr.S + pr.F * !(yc && Wm()(function(s) {
10760
- Ur.all(s).catch(va);
10760
+ Fr.all(s).catch(va);
10761
10761
  })), zn, {
10762
10762
  // 25.4.4.1 Promise.all(iterable)
10763
10763
  all: function(t) {
@@ -10916,7 +10916,7 @@ var RC = Ry, El = Ti(RC), AC = nC, kC = Ti(AC), PC = Th, ys = Ti(PC), DC = cc, L
10916
10916
  function Ti(s) {
10917
10917
  return s && s.__esModule ? s : { default: s };
10918
10918
  }
10919
- var Gt = (0, yn.default)("timing"), Xr = (0, yn.default)("keyframes"), vs = (0, yn.default)("initState"), Ft = (0, yn.default)("readyDefer"), cr = (0, yn.default)("finishedDefer"), Bo = (0, yn.default)("effects"), jo = (0, yn.default)("activeReadyTimer"), xl = (0, yn.default)("activeFinishTimer"), Jr = (0, yn.default)("removeDefer"), UC = {
10919
+ var Gt = (0, yn.default)("timing"), Kr = (0, yn.default)("keyframes"), vs = (0, yn.default)("initState"), Ft = (0, yn.default)("readyDefer"), cr = (0, yn.default)("finishedDefer"), Bo = (0, yn.default)("effects"), jo = (0, yn.default)("activeReadyTimer"), xl = (0, yn.default)("activeFinishTimer"), Xr = (0, yn.default)("removeDefer"), UC = {
10920
10920
  delay: 0,
10921
10921
  endDelay: 0,
10922
10922
  fill: "auto",
@@ -10932,13 +10932,13 @@ var Gt = (0, yn.default)("timing"), Xr = (0, yn.default)("keyframes"), vs = (0,
10932
10932
  var i = [t[0], t, e];
10933
10933
  t = i[0], e = i[1], r = i[2];
10934
10934
  }
10935
- typeof r == "number" && (r = { duration: r }), this[Gt] = (0, ys.default)({}, UC, r), this[Gt].easing = (0, FC.parseEasing)(this[Gt].easing), this[Xr] = (0, vn.calculateFramesOffset)(e);
10936
- var o = this[Xr][this[Xr].length - 1];
10935
+ typeof r == "number" && (r = { duration: r }), this[Gt] = (0, ys.default)({}, UC, r), this[Gt].easing = (0, FC.parseEasing)(this[Gt].easing), this[Kr] = (0, vn.calculateFramesOffset)(e);
10936
+ var o = this[Kr][this[Kr].length - 1];
10937
10937
  this[vs] = {}, (0, kC.default)(o).forEach(function(a) {
10938
10938
  Object.prototype.hasOwnProperty.call(t, a) && a !== "easing" && a !== "offset" && (n[vs][a] = t[a]);
10939
- }), this[Xr] = this[Xr].map(function(a) {
10939
+ }), this[Kr] = this[Kr].map(function(a) {
10940
10940
  return (0, ys.default)({}, n[vs], a);
10941
- }), this[Xr][0].offset !== 0 && this[Xr].unshift((0, ys.default)({}, this[vs], { offset: 0 })), o.offset < 1 && this[Xr].push((0, ys.default)({}, o, { offset: 1 })), this[Bo] = {}, this.timeline = null;
10941
+ }), this[Kr][0].offset !== 0 && this[Kr].unshift((0, ys.default)({}, this[vs], { offset: 0 })), o.offset < 1 && this[Kr].push((0, ys.default)({}, o, { offset: 1 })), this[Bo] = {}, this.timeline = null;
10942
10942
  }
10943
10943
  return (0, OC.default)(s, [{
10944
10944
  key: "pause",
@@ -10960,9 +10960,9 @@ var Gt = (0, yn.default)("timing"), Xr = (0, yn.default)("keyframes"), vs = (0,
10960
10960
  value: function() {
10961
10961
  var e = this, r = this[Gt], n = r.duration, i = r.iterations, o = r.endDelay, a = Math.ceil(n * i + o - this.timeline.currentTime) + 1;
10962
10962
  this[cr] && !this[cr].timerID && (this[cr].timerID = this.timeline.setTimeout(function() {
10963
- e[cr].resolve(), e[Jr](Ft), e[Jr](cr);
10963
+ e[cr].resolve(), e[Xr](Ft), e[Xr](cr);
10964
10964
  }, { delay: a, heading: !1 }), this[cr].reverseTimerID = this.timeline.setTimeout(function() {
10965
- e[cr].resolve(), e[Jr](Ft), e[Jr](cr), e.timeline = null;
10965
+ e[cr].resolve(), e[Xr](Ft), e[Xr](cr), e.timeline = null;
10966
10966
  }, { delay: -this[Gt].delay - 1, heading: !1 }));
10967
10967
  }
10968
10968
  }, {
@@ -10979,7 +10979,7 @@ var Gt = (0, yn.default)("timing"), Xr = (0, yn.default)("keyframes"), vs = (0,
10979
10979
  } else this.playState === "paused" && (this.timeline.playbackRate = this.playbackRate, this[jo]());
10980
10980
  }
10981
10981
  }, {
10982
- key: Jr,
10982
+ key: Xr,
10983
10983
  value: function(e) {
10984
10984
  var r = this[e], n = this.timeline;
10985
10985
  r && n && (n.clearTimeout(r.timerID), r.reverseTimerID && n.clearTimeout(r.reverseTimerID)), delete this[e];
@@ -10987,12 +10987,12 @@ var Gt = (0, yn.default)("timing"), Xr = (0, yn.default)("keyframes"), vs = (0,
10987
10987
  }, {
10988
10988
  key: "cancel",
10989
10989
  value: function() {
10990
- this[Jr](Ft), this[Jr](cr), this.timeline = null;
10990
+ this[Xr](Ft), this[Xr](cr), this.timeline = null;
10991
10991
  }
10992
10992
  }, {
10993
10993
  key: "finish",
10994
10994
  value: function() {
10995
- this.timeline && (this.timeline.currentTime = 1 / 0 / this.playbackRate), this[Jr](Ft), this[Jr](cr);
10995
+ this.timeline && (this.timeline.currentTime = 1 / 0 / this.playbackRate), this[Xr](Ft), this[Xr](cr);
10996
10996
  }
10997
10997
  }, {
10998
10998
  key: "applyEffects",
@@ -11048,7 +11048,7 @@ var Gt = (0, yn.default)("timing"), Xr = (0, yn.default)("keyframes"), vs = (0,
11048
11048
  var e = this.playState, r = this[vs], n = this[Gt].fill;
11049
11049
  if (e === "idle")
11050
11050
  return r;
11051
- var i = this.timeline.currentTime, o = this[Xr].slice(0), a = (0, vn.getProgress)(this.timeline, this[Gt], this.progress), c = a.p, l = a.inverted, u = r;
11051
+ var i = this.timeline.currentTime, o = this[Kr].slice(0), a = (0, vn.getProgress)(this.timeline, this[Gt], this.progress), c = a.p, l = a.inverted, u = r;
11052
11052
  return i < 0 && e === "pending" ? (n === "backwards" || n === "both") && (u = l ? o[o.length - 1] : o[0]) : (e !== "pending" && e !== "finished" || n === "forwards" || n === "both") && (u = (0, vn.getCurrentFrame)(this[Gt], o, this[Bo], c)), u;
11053
11053
  }
11054
11054
  }, {
@@ -11612,7 +11612,7 @@ let Mc = (nu = class {
11612
11612
  const e = this.parent;
11613
11613
  if (e) {
11614
11614
  const r = e.__cacheRenderMatrix || e.renderMatrix;
11615
- r && (t = $r(Array.of(0, 0, 0, 0, 0, 0), r, t));
11615
+ r && (t = Vr(Array.of(0, 0, 0, 0, 0, 0), r, t));
11616
11616
  }
11617
11617
  return t;
11618
11618
  }
@@ -11878,7 +11878,7 @@ let Mc = (nu = class {
11878
11878
  if (!n || !i || i[2] <= 0 || i[3] <= 0) return;
11879
11879
  const o = xa(Array.of(0, 0, 0, 0, 0, 0), e.owner.renderMatrix);
11880
11880
  if (!o) return;
11881
- const a = $r(Array.of(0, 0, 0, 0, 0, 0), o, this.renderMatrix);
11881
+ const a = Vr(Array.of(0, 0, 0, 0, 0, 0), o, this.renderMatrix);
11882
11882
  t.setUniforms({
11883
11883
  u_clipSampler: n
11884
11884
  });
@@ -12307,7 +12307,7 @@ function Ly(s, t) {
12307
12307
  };
12308
12308
  }
12309
12309
  et(Array);
12310
- const _r = Symbol("mesh");
12310
+ const Jr = Symbol("mesh");
12311
12311
  class go extends Mc {
12312
12312
  constructor(t = {}) {
12313
12313
  super(t);
@@ -12360,7 +12360,7 @@ class go extends Mc {
12360
12360
  if (this.attributes.display === "none") return null;
12361
12361
  const t = this.clientBox;
12362
12362
  if (t) {
12363
- let e = this[_r];
12363
+ let e = this[Jr];
12364
12364
  if (e)
12365
12365
  e.box !== t && (e.contours = t.contours, e.box = t);
12366
12366
  else {
@@ -12382,9 +12382,9 @@ class go extends Mc {
12382
12382
  lineDashOffset: l
12383
12383
  });
12384
12384
  }
12385
- this[_r] = e;
12385
+ this[Jr] = e;
12386
12386
  const i = this.attributes.clipPath;
12387
- i && this[_r].setClipPath(i);
12387
+ i && this[Jr].setClipPath(i);
12388
12388
  }
12389
12389
  const r = this.opacity;
12390
12390
  return e.getOpacity() !== r && e.setOpacity(r), e.setTransform(...this.renderMatrix), e;
@@ -12415,7 +12415,7 @@ class go extends Mc {
12415
12415
  }
12416
12416
  getBoundingClientRect() {
12417
12417
  let t = this.renderMatrix;
12418
- this.layer && this.layer.layerTransformInvert && (t = $r(Array.of(0, 0, 0, 0, 0, 0), this.layer.transformMatrix, t));
12418
+ this.layer && this.layer.layerTransformInvert && (t = Vr(Array.of(0, 0, 0, 0, 0, 0), this.layer.transformMatrix, t));
12419
12419
  let e = null;
12420
12420
  if (this.mesh) {
12421
12421
  e = [...this.mesh.boundingBox];
@@ -12432,16 +12432,16 @@ class go extends Mc {
12432
12432
  // }
12433
12433
  /* override */
12434
12434
  onPropertyChange(t, e, r) {
12435
- if (super.onPropertyChange(t, e, r), (t === "anchorX" || t === "anchorY" || t === "boxSizing" || t === "width" || t === "height" || t === "borderWidth" || t === "paddingLeft" || t === "paddingRight" || t === "paddingTop" || t === "paddingBottom" || /^border(TopLeft|TopRight|BottomRight|BottomLeft)Radius$/.test(t)) && this.updateContours(), this[_r] && t === "clipPath" && this[_r].setClipPath(e), this[_r] && t === "bgcolor" && Pa(this[_r], {
12435
+ if (super.onPropertyChange(t, e, r), (t === "anchorX" || t === "anchorY" || t === "boxSizing" || t === "width" || t === "height" || t === "borderWidth" || t === "paddingLeft" || t === "paddingRight" || t === "paddingTop" || t === "paddingBottom" || /^border(TopLeft|TopRight|BottomRight|BottomLeft)Radius$/.test(t)) && this.updateContours(), this[Jr] && t === "clipPath" && this[Jr].setClipPath(e), this[Jr] && t === "bgcolor" && Pa(this[Jr], {
12436
12436
  color: e
12437
- }), this[_r] && (t === "borderColor" || t === "borderWidth" || t === "borderDash" || t === "borderDashOffset")) {
12437
+ }), this[Jr] && (t === "borderColor" || t === "borderWidth" || t === "borderDash" || t === "borderDashOffset")) {
12438
12438
  const {
12439
12439
  borderColor: n,
12440
12440
  borderWidth: i,
12441
12441
  borderDash: o,
12442
12442
  borderDashOffset: a
12443
12443
  } = this.attributes;
12444
- Da(this[_r], {
12444
+ Da(this[Jr], {
12445
12445
  color: n,
12446
12446
  lineWidth: i,
12447
12447
  lineDash: i ? o : 0,
@@ -15317,7 +15317,7 @@ Cc.removeSubsets = function(s) {
15317
15317
  }
15318
15318
  return s;
15319
15319
  };
15320
- var on = {
15320
+ var sn = {
15321
15321
  DISCONNECTED: 1,
15322
15322
  PRECEDING: 2,
15323
15323
  FOLLOWING: 4,
@@ -15333,7 +15333,7 @@ var on = {
15333
15333
  r.unshift(n), n = n.parent;
15334
15334
  for (l = 0; e[l] === r[l]; )
15335
15335
  l++;
15336
- return l === 0 ? on.DISCONNECTED : (i = e[l - 1], o = i.children, a = e[l], c = r[l], o.indexOf(a) > o.indexOf(c) ? i === t ? on.FOLLOWING | on.CONTAINED_BY : on.FOLLOWING : i === s ? on.PRECEDING | on.CONTAINS : on.PRECEDING);
15336
+ return l === 0 ? sn.DISCONNECTED : (i = e[l - 1], o = i.children, a = e[l], c = r[l], o.indexOf(a) > o.indexOf(c) ? i === t ? sn.FOLLOWING | sn.CONTAINED_BY : sn.FOLLOWING : i === s ? sn.PRECEDING | sn.CONTAINS : sn.PRECEDING);
15337
15337
  };
15338
15338
  Cc.uniqueSort = function(s) {
15339
15339
  var t = s.length, e, r;
@@ -15341,7 +15341,7 @@ Cc.uniqueSort = function(s) {
15341
15341
  e = s[t], r = s.indexOf(e), r > -1 && r < t && s.splice(t, 1);
15342
15342
  return s.sort(function(n, i) {
15343
15343
  var o = pse(n, i);
15344
- return o & on.PRECEDING ? -1 : o & on.FOLLOWING ? 1 : 0;
15344
+ return o & sn.PRECEDING ? -1 : o & sn.FOLLOWING ? 1 : 0;
15345
15345
  }), s;
15346
15346
  };
15347
15347
  (function(s) {
@@ -16655,7 +16655,7 @@ const voe = {
16655
16655
  autoRender: !0,
16656
16656
  alpha: !0
16657
16657
  // for wx-miniprogram
16658
- }, ws = Symbol("autoRender"), Ts = Symbol("renderer"), xg = Symbol("timeline"), Wt = Symbol("prepareRender"), Nl = Symbol("tickRender"), en = Symbol("pass"), Mn = Symbol("fbo"), $n = Symbol("tickers"), Yn = Symbol("destroyed"), wn = Symbol("layerTransformInvert");
16658
+ }, ws = Symbol("autoRender"), Ts = Symbol("renderer"), xg = Symbol("timeline"), Wt = Symbol("prepareRender"), Nl = Symbol("tickRender"), _r = Symbol("pass"), Mn = Symbol("fbo"), $n = Symbol("tickers"), Yn = Symbol("destroyed"), wn = Symbol("layerTransformInvert");
16659
16659
  function Moe(s) {
16660
16660
  if (!s || !s.options) return null;
16661
16661
  let t = "2d";
@@ -16677,7 +16677,7 @@ let ii = class extends wt {
16677
16677
  const e = t.canvas, r = Object.assign({}, voe, t);
16678
16678
  this[ws] = r.autoRender, delete t.autoRender;
16679
16679
  const n = r.Renderer || Mt.Renderer;
16680
- this[Ts] = new n(e, r), Moe(this[Ts]), this.options = t, this.id = t.id, this[en] = [], this.setResolution(e), this.canvas = e, this[xg] = new ky(), this[Yn] = !1, this.__mouseCapturedTarget = null, this[wn] = null;
16680
+ this[Ts] = new n(e, r), Moe(this[Ts]), this.options = t, this.id = t.id, this[_r] = [], this.setResolution(e), this.canvas = e, this[xg] = new ky(), this[Yn] = !1, this.__mouseCapturedTarget = null, this[wn] = null;
16681
16681
  }
16682
16682
  get autoRender() {
16683
16683
  return this[ws];
@@ -16702,7 +16702,7 @@ let ii = class extends wt {
16702
16702
  return !!this.options.offscreen || this.canvas._offscreen;
16703
16703
  }
16704
16704
  get pass() {
16705
- return this[en];
16705
+ return this[_r];
16706
16706
  }
16707
16707
  get prepareRender() {
16708
16708
  return this[Wt] ? this[Wt] : Promise.resolve();
@@ -16770,7 +16770,7 @@ let ii = class extends wt {
16770
16770
  t = t || o;
16771
16771
  }
16772
16772
  };
16773
- this[$n] = [], this.__mouseCapturedTarget = null, e(() => this.cancelPendingRender()), e(() => this.removeAllChildren()), e(() => this.deactivateAnimations()), this[en] = [], this[Mn] = null;
16773
+ this[$n] = [], this.__mouseCapturedTarget = null, e(() => this.cancelPendingRender()), e(() => this.removeAllChildren()), e(() => this.deactivateAnimations()), this[_r] = [], this[Mn] = null;
16774
16774
  const r = this.renderer.glRenderer;
16775
16775
  let n = [];
16776
16776
  if (r && r.programs && (e(() => {
@@ -16798,7 +16798,7 @@ let ii = class extends wt {
16798
16798
  }), c = new Mt.Figure2D();
16799
16799
  c.rect(0, 0, i / this.displayRatio, o / this.displayRatio);
16800
16800
  const l = new Mt.Mesh2D(c);
16801
- return l.setUniforms(n), l.setProgram(a), this[en].push(l), this.forceUpdate(), l;
16801
+ return l.setUniforms(n), l.setProgram(a), this[_r].push(l), this.forceUpdate(), l;
16802
16802
  }
16803
16803
  return null;
16804
16804
  }
@@ -16901,7 +16901,7 @@ let ii = class extends wt {
16901
16901
  const t = this.renderer, e = t.__globalTransformMatrix || t.globalTransformMatrix;
16902
16902
  t.__globalTransformMatrix = e;
16903
16903
  const r = ci(1, 0, 0, 1, 0, 0);
16904
- t.setGlobalTransform(...$r(r, e, this.transformMatrix));
16904
+ t.setGlobalTransform(...Vr(r, e, this.transformMatrix));
16905
16905
  }
16906
16906
  }
16907
16907
  /* override */
@@ -16926,15 +16926,15 @@ let ii = class extends wt {
16926
16926
  } = {}) {
16927
16927
  if (!this[Yn])
16928
16928
  try {
16929
- const e = this[en].length ? this.getFBO() : null;
16929
+ const e = this[_r].length ? this.getFBO() : null;
16930
16930
  e && this.renderer.glRenderer.bindFBO(e.target), t && this[Ts].clear();
16931
16931
  const r = this.draw();
16932
16932
  if (r && r.length && (this.renderer.drawMeshes(r), this.canvas.draw && this.canvas.draw()), e) {
16933
- const n = this.renderer.glRenderer, i = this[en].length, {
16933
+ const n = this.renderer.glRenderer, i = this[_r].length, {
16934
16934
  width: o,
16935
16935
  height: a
16936
16936
  } = this.getResolution(), c = [0, 0, o / this.displayRatio, a / this.displayRatio];
16937
- this[en].forEach((l, u) => {
16937
+ this[_r].forEach((l, u) => {
16938
16938
  l.blend = !0, l.setTexture(e.target.texture, {
16939
16939
  rect: c
16940
16940
  }), u === i - 1 ? n.bindFBO(null) : (e.swap(), n.bindFBO(e.target)), this[Ts].clear(), this.renderer.drawMeshes([l]);
@@ -16956,7 +16956,7 @@ let ii = class extends wt {
16956
16956
  (c !== t || l !== e) && (super.setResolution({
16957
16957
  width: t,
16958
16958
  height: e
16959
- }), this.canvas && (this.canvas.width = t, this.canvas.height = e, r.updateResolution && r.updateResolution()), this.attributes.size = [t, e], this[en].length && this[en].forEach((f) => {
16959
+ }), this.canvas && (this.canvas.width = t, this.canvas.height = e, r.updateResolution && r.updateResolution()), this.attributes.size = [t, e], this[_r].length && this[_r].forEach((f) => {
16960
16960
  const g = new Mt.Figure2D();
16961
16961
  g.rect(0, 0, t / this.displayRatio, e / this.displayRatio), f.contours = g.contours;
16962
16962
  }));
@@ -18031,7 +18031,7 @@ let xc = class extends ih {
18031
18031
  }
18032
18032
  };
18033
18033
  et(Array);
18034
- const tn = Symbol("mesh");
18034
+ const en = Symbol("mesh");
18035
18035
  class Xt extends Mc {
18036
18036
  constructor(t = {}) {
18037
18037
  typeof t == "string" && (t = {
@@ -18054,7 +18054,7 @@ class Xt extends Mc {
18054
18054
  if (this.attributes.display === "none") return null;
18055
18055
  const t = this.path;
18056
18056
  if (t) {
18057
- let e = this[tn];
18057
+ let e = this[en];
18058
18058
  if (e)
18059
18059
  e.path !== t && (e.contours = t.contours, e.path = t);
18060
18060
  else {
@@ -18085,9 +18085,9 @@ class Xt extends Mc {
18085
18085
  roundSegments: g
18086
18086
  });
18087
18087
  }
18088
- this[tn] = e;
18088
+ this[en] = e;
18089
18089
  const c = this.attributes.clipPath;
18090
- c && this[tn].setClipPath(c);
18090
+ c && this[en].setClipPath(c);
18091
18091
  }
18092
18092
  const r = this.opacity;
18093
18093
  return e.getOpacity() !== r && e.setOpacity(r), e.setTransform(...this.renderMatrix), e;
@@ -18140,17 +18140,17 @@ class Xt extends Mc {
18140
18140
  }
18141
18141
  /* override */
18142
18142
  onPropertyChange(t, e, r) {
18143
- if (super.onPropertyChange(t, e, r), (t === "d" || t === "normalize") && this.updateContours(), this[tn] && (t === "fillColor" || t === "fillRule")) {
18143
+ if (super.onPropertyChange(t, e, r), (t === "d" || t === "normalize") && this.updateContours(), this[en] && (t === "fillColor" || t === "fillRule")) {
18144
18144
  const {
18145
18145
  fillColor: n,
18146
18146
  fillRule: i
18147
18147
  } = this.attributes;
18148
- Pa(this[tn], {
18148
+ Pa(this[en], {
18149
18149
  color: n,
18150
18150
  rule: i
18151
18151
  });
18152
18152
  }
18153
- if (this[tn] && (t === "strokeColor" || t === "lineWidth" || t === "lineCap" || t === "lineJoin" || t === "lineDash" || t === "lineDashOffset" || t === "roundSegments")) {
18153
+ if (this[en] && (t === "strokeColor" || t === "lineWidth" || t === "lineCap" || t === "lineJoin" || t === "lineDash" || t === "lineDashOffset" || t === "roundSegments")) {
18154
18154
  const {
18155
18155
  strokeColor: n,
18156
18156
  lineWidth: i
@@ -18164,7 +18164,7 @@ class Xt extends Mc {
18164
18164
  miterLimit: u,
18165
18165
  roundSegments: h
18166
18166
  } = this.attributes;
18167
- Da(this[tn], {
18167
+ Da(this[en], {
18168
18168
  color: n,
18169
18169
  lineCap: o,
18170
18170
  lineJoin: a,
@@ -18176,7 +18176,7 @@ class Xt extends Mc {
18176
18176
  });
18177
18177
  }
18178
18178
  }
18179
- this[tn] && t === "clipPath" && this[tn].setClipPath(e), t === "texture" && Ev(this, e);
18179
+ this[en] && t === "clipPath" && this[en].setClipPath(e), t === "texture" && Ev(this, e);
18180
18180
  }
18181
18181
  /* override */
18182
18182
  updateContours() {
@@ -18914,7 +18914,7 @@ var Ci = sae;
18914
18914
  function oae(s) {
18915
18915
  return s != null && typeof s == "object";
18916
18916
  }
18917
- var Gr = oae, aae = Ci, cae = Gr, lae = "[object Number]";
18917
+ var Yr = oae, aae = Ci, cae = Yr, lae = "[object Number]";
18918
18918
  function uae(s) {
18919
18919
  return typeof s == "number" || cae(s) && aae(s) == lae;
18920
18920
  }
@@ -19190,11 +19190,11 @@ function Xle(s, t) {
19190
19190
  r[e] = t(e);
19191
19191
  return r;
19192
19192
  }
19193
- var Jle = Xle, _le = Ci, eue = Gr, tue = "[object Arguments]";
19193
+ var Jle = Xle, _le = Ci, eue = Yr, tue = "[object Arguments]";
19194
19194
  function rue(s) {
19195
19195
  return eue(s) && _le(s) == tue;
19196
19196
  }
19197
- var nue = rue, Wg = nue, iue = Gr, Wv = Object.prototype, sue = Wv.hasOwnProperty, oue = Wv.propertyIsEnumerable, aue = Wg(/* @__PURE__ */ function() {
19197
+ var nue = rue, Wg = nue, iue = Yr, Wv = Object.prototype, sue = Wv.hasOwnProperty, oue = Wv.propertyIsEnumerable, aue = Wg(/* @__PURE__ */ function() {
19198
19198
  return arguments;
19199
19199
  }()) ? Wg : function(s) {
19200
19200
  return iue(s) && sue.call(s, "callee") && !oue.call(s, "callee");
@@ -19217,7 +19217,7 @@ var gue = fue, pue = 9007199254740991;
19217
19217
  function mue(s) {
19218
19218
  return typeof s == "number" && s > -1 && s % 1 == 0 && s <= pue;
19219
19219
  }
19220
- var $v = mue, yue = Ci, vue = $v, Mue = Gr, wue = "[object Arguments]", Tue = "[object Array]", Sue = "[object Boolean]", Iue = "[object Date]", Cue = "[object Error]", bue = "[object Function]", Eue = "[object Map]", xue = "[object Number]", Rue = "[object Object]", Aue = "[object RegExp]", kue = "[object Set]", Pue = "[object String]", Due = "[object WeakMap]", Lue = "[object ArrayBuffer]", Nue = "[object DataView]", Oue = "[object Float32Array]", zue = "[object Float64Array]", Bue = "[object Int8Array]", jue = "[object Int16Array]", Fue = "[object Int32Array]", Uue = "[object Uint8Array]", Wue = "[object Uint8ClampedArray]", Vue = "[object Uint16Array]", $ue = "[object Uint32Array]", gt = {};
19220
+ var $v = mue, yue = Ci, vue = $v, Mue = Yr, wue = "[object Arguments]", Tue = "[object Array]", Sue = "[object Boolean]", Iue = "[object Date]", Cue = "[object Error]", bue = "[object Function]", Eue = "[object Map]", xue = "[object Number]", Rue = "[object Object]", Aue = "[object RegExp]", kue = "[object Set]", Pue = "[object String]", Due = "[object WeakMap]", Lue = "[object ArrayBuffer]", Nue = "[object DataView]", Oue = "[object Float32Array]", zue = "[object Float64Array]", Bue = "[object Int8Array]", jue = "[object Int16Array]", Fue = "[object Int32Array]", Uue = "[object Uint8Array]", Wue = "[object Uint8ClampedArray]", Vue = "[object Uint16Array]", $ue = "[object Uint32Array]", gt = {};
19221
19221
  gt[Oue] = gt[zue] = gt[Bue] = gt[jue] = gt[Fue] = gt[Uue] = gt[Wue] = gt[Vue] = gt[$ue] = !0;
19222
19222
  gt[wue] = gt[Tue] = gt[Lue] = gt[Sue] = gt[Nue] = gt[Iue] = gt[Cue] = gt[bue] = gt[Eue] = gt[xue] = gt[Rue] = gt[Aue] = gt[kue] = gt[Pue] = gt[Due] = !1;
19223
19223
  function Yue(s) {
@@ -19472,11 +19472,11 @@ var Ufe = Ffe, Wfe = Bn, ep = Object.create, Vfe = /* @__PURE__ */ function() {
19472
19472
  function Qfe(s) {
19473
19473
  return typeof s.constructor == "function" && !Hfe(s) ? Yfe(Gfe(s)) : {};
19474
19474
  }
19475
- var qfe = Qfe, Zfe = Oc, Kfe = Gr, Xfe = "[object Map]";
19475
+ var qfe = Qfe, Zfe = Oc, Kfe = Yr, Xfe = "[object Map]";
19476
19476
  function Jfe(s) {
19477
19477
  return Kfe(s) && Zfe(s) == Xfe;
19478
19478
  }
19479
- var _fe = Jfe, ege = _fe, tge = Nc, tp = Xh, rp = tp && tp.isMap, rge = rp ? tge(rp) : ege, nge = rge, ige = Oc, sge = Gr, oge = "[object Set]";
19479
+ var _fe = Jfe, ege = _fe, tge = Nc, tp = Xh, rp = tp && tp.isMap, rge = rp ? tge(rp) : ege, nge = rge, ige = Oc, sge = Yr, oge = "[object Set]";
19480
19480
  function age(s) {
19481
19481
  return sge(s) && ige(s) == oge;
19482
19482
  }
@@ -19809,7 +19809,7 @@ const ppe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrA
19809
19809
  }
19810
19810
  ],
19811
19811
  ["clicker", { key: "clicker", standardResolution: vpe }]
19812
- ]), sn = {
19812
+ ]), nn = {
19813
19813
  enable: !0,
19814
19814
  expirationTime: 5e3,
19815
19815
  moveDelayTime: 40,
@@ -19826,16 +19826,16 @@ function ad(s) {
19826
19826
  var e, r, n, i;
19827
19827
  const t = { ...s == null ? void 0 : s.appearance };
19828
19828
  return delete t[Pe.hand], delete t[Pe.laserPointer], {
19829
- enable: (s == null ? void 0 : s.enable) ?? sn.enable,
19830
- expirationTime: (s == null ? void 0 : s.expirationTime) ?? sn.expirationTime,
19831
- moveDelayTime: (s == null ? void 0 : s.moveDelayTime) ?? sn.moveDelayTime,
19832
- preloadTimeout: typeof (s == null ? void 0 : s.preloadTimeout) == "number" && Number.isFinite(s.preloadTimeout) && s.preloadTimeout > 0 ? s.preloadTimeout : sn.preloadTimeout,
19829
+ enable: (s == null ? void 0 : s.enable) ?? nn.enable,
19830
+ expirationTime: (s == null ? void 0 : s.expirationTime) ?? nn.expirationTime,
19831
+ moveDelayTime: (s == null ? void 0 : s.moveDelayTime) ?? nn.moveDelayTime,
19832
+ preloadTimeout: typeof (s == null ? void 0 : s.preloadTimeout) == "number" && Number.isFinite(s.preloadTimeout) && s.preloadTimeout > 0 ? s.preloadTimeout : nn.preloadTimeout,
19833
19833
  appearance: t,
19834
19834
  syncedLabel: {
19835
- enableShowName: ((e = s == null ? void 0 : s.syncedLabel) == null ? void 0 : e.enableShowName) ?? sn.syncedLabel.enableShowName,
19836
- placement: ((r = s == null ? void 0 : s.syncedLabel) == null ? void 0 : r.placement) ?? sn.syncedLabel.placement,
19837
- gap: ((n = s == null ? void 0 : s.syncedLabel) == null ? void 0 : n.gap) ?? sn.syncedLabel.gap,
19838
- maxWidth: ((i = s == null ? void 0 : s.syncedLabel) == null ? void 0 : i.maxWidth) ?? sn.syncedLabel.maxWidth
19835
+ enableShowName: ((e = s == null ? void 0 : s.syncedLabel) == null ? void 0 : e.enableShowName) ?? nn.syncedLabel.enableShowName,
19836
+ placement: ((r = s == null ? void 0 : s.syncedLabel) == null ? void 0 : r.placement) ?? nn.syncedLabel.placement,
19837
+ gap: ((n = s == null ? void 0 : s.syncedLabel) == null ? void 0 : n.gap) ?? nn.syncedLabel.gap,
19838
+ maxWidth: ((i = s == null ? void 0 : s.syncedLabel) == null ? void 0 : i.maxWidth) ?? nn.syncedLabel.maxWidth
19839
19839
  }
19840
19840
  };
19841
19841
  }
@@ -19854,7 +19854,7 @@ const o0 = 500;
19854
19854
  function zc(s) {
19855
19855
  return typeof s != "number" || !Number.isFinite(s) || s <= 0 ? o0 : Math.max(1, Math.floor(s));
19856
19856
  }
19857
- const Bc = "1.1.43-beta.2", Ipe = "@netless/appliance-plugin", Cpe = "82a619e07aa7b803", ju = 5e3, bpe = 1e4, Epe = 1e4;
19857
+ const Bc = "1.1.43-beta.4", Ipe = "@netless/appliance-plugin", Cpe = "c56723423ed81140", ju = 5e3, bpe = 1e4, Epe = 1e4;
19858
19858
  if (typeof window < "u") {
19859
19859
  let s = window.__netlessUA || "";
19860
19860
  s += ` ${Ipe}@${Bc}`, window.__netlessUA = s;
@@ -19862,11 +19862,7 @@ if (typeof window < "u") {
19862
19862
  const Ke = {
19863
19863
  useWorker: "auto",
19864
19864
  useSimple: !0,
19865
- workerRenderModeBlacklist: {
19866
- androidWebView: {
19867
- 67: jr.MainThread
19868
- }
19869
- },
19865
+ workerRenderModeBlacklist: {},
19870
19866
  workerCanvasContextBlacklist: {},
19871
19867
  workerMaskTextureFormatBlacklist: {},
19872
19868
  workerMaskTextureUploadBlacklist: {},
@@ -19884,7 +19880,7 @@ const Ke = {
19884
19880
  batchWindowMs: 4e3
19885
19881
  },
19886
19882
  cursor: {
19887
- ...sn
19883
+ ...nn
19888
19884
  },
19889
19885
  bufferSize: {
19890
19886
  full: 4e3,
@@ -20413,7 +20409,7 @@ function $pe(s) {
20413
20409
  const t = s.replace(/-/g, "+").replace(/_/g, "/").padEnd(Math.ceil(s.length / 4) * 4, "="), e = atob(t);
20414
20410
  return Uint8Array.from(e, (r) => r.charCodeAt(0));
20415
20411
  }
20416
- function Vr(s, t = !0) {
20412
+ function Wr(s, t = !0) {
20417
20413
  const e = s.length;
20418
20414
  if (e < 2)
20419
20415
  return "";
@@ -20819,7 +20815,7 @@ const ft = Object.keys, gp = /* @__PURE__ */ new WeakMap(), tr = class tr {
20819
20815
  for (const i of e) {
20820
20816
  const { thickness: o, op: a } = i;
20821
20817
  for (const c of a) {
20822
- const l = c.map((g, y) => y % 2 ? g - r[1] : g - r[0]), u = this.computEraserPoints(l, o), h = Vr(u, !0), d = {
20818
+ const l = c.map((g, y) => y % 2 ? g - r[1] : g - r[0]), u = this.computEraserPoints(l, o), h = Wr(u, !0), d = {
20823
20819
  pos: [0, 0],
20824
20820
  d: h,
20825
20821
  fillColor: "rgba(0,0,0,1)"
@@ -20842,7 +20838,7 @@ const ft = Object.keys, gp = /* @__PURE__ */ new WeakMap(), tr = class tr {
20842
20838
  addEraserFaces(t, e, r, n = !0) {
20843
20839
  const i = Wa(e).flatMap(
20844
20840
  (a) => a.rings.map(
20845
- (c) => Vr(
20841
+ (c) => Wr(
20846
20842
  c.map(([l, u]) => new ke(l - r[0], u - r[1])),
20847
20843
  !0
20848
20844
  )
@@ -21549,7 +21545,7 @@ class p0 extends Ee {
21549
21545
  const { pos: D, points: z } = n[P], { ps: j, rect: k } = this.computDrawPoints(z);
21550
21546
  let A;
21551
21547
  const N = z.length === 1;
21552
- h === ze.Stroke || N ? A = Vr(j, !0) : A = Vr(j, !1);
21548
+ h === ze.Stroke || N ? A = Wr(j, !0) : A = Wr(j, !1);
21553
21549
  const W = {
21554
21550
  pos: D,
21555
21551
  d: A,
@@ -22102,7 +22098,7 @@ class m0 extends Ee {
22102
22098
  for (const c of n) {
22103
22099
  const l = new Xt(), { pos: u, points: h } = c;
22104
22100
  let d;
22105
- i ? d = Vr(h, !0) : d = Vr(h, !1), l.attr({
22101
+ i ? d = Wr(h, !0) : d = Wr(h, !1), l.attr({
22106
22102
  ...r,
22107
22103
  pos: u,
22108
22104
  d
@@ -22479,7 +22475,7 @@ function Zme(s, t, e, r, n, i) {
22479
22475
  }
22480
22476
  return d ? (i || (i = new Vl()), Gme(s, t, e, r, n, i)) : !1;
22481
22477
  }
22482
- var Kme = Zme, Xme = Kme, xp = Gr;
22478
+ var Kme = Zme, Xme = Kme, xp = Yr;
22483
22479
  function v0(s, t, e, r, n) {
22484
22480
  return s === t ? !0 : s == null || t == null || !xp(s) && !xp(t) ? s !== s && t !== t : Xme(s, t, e, r, v0, n);
22485
22481
  }
@@ -25102,7 +25098,7 @@ class C0 extends Ee {
25102
25098
  return r.tagName === "GROUP" && (f = r.children[0]), o && (f.setAttribute("strokeColor", o), d != null && d.strokeColor && (d.strokeColor = o)), a && (a === "transparent" ? f.setAttribute("fillColor", "rgba(0,0,0,0)") : f.setAttribute("fillColor", a), d != null && d.fillColor && (d.fillColor = a)), c === Q.SpeechBalloon && l && (d.placement = l), u && (h != null && h.opt) && ((g = h.opt) != null && g.strokeType) && (h.opt.strokeType = u), h && i.setInfo(r.name, { ...h, opt: d }), Ee.updateNodeOpt(e);
25103
25099
  }
25104
25100
  }
25105
- var rye = Ci, nye = Gr, iye = "[object Boolean]";
25101
+ var rye = Ci, nye = Yr, iye = "[object Boolean]";
25106
25102
  function sye(s) {
25107
25103
  return s === !0 || s === !1 || nye(s) && rye(s) == iye;
25108
25104
  }
@@ -25322,7 +25318,7 @@ class b0 extends Ee {
25322
25318
  ...h
25323
25319
  ];
25324
25320
  let f;
25325
- return r !== ze.Normal ? f = Vr(this.tmpPoints, !1) : f = Vr(d, !0), {
25321
+ return r !== ze.Normal ? f = Wr(this.tmpPoints, !1) : f = Wr(d, !0), {
25326
25322
  d: f,
25327
25323
  rect: ut(d),
25328
25324
  isDot: !1,
@@ -25336,7 +25332,7 @@ class b0 extends Ee {
25336
25332
  8
25337
25333
  );
25338
25334
  return {
25339
- d: Vr(r, !0),
25335
+ d: Wr(r, !0),
25340
25336
  rect: ut(r),
25341
25337
  isDot: !0,
25342
25338
  pos: this.tmpPoints[0].XY
@@ -27130,7 +27126,7 @@ const _a = class _a extends Ee {
27130
27126
  if (!e.length) return;
27131
27127
  const n = this.computEraserPointLines(e).map((c) => {
27132
27128
  const l = c.flatMap(([u, h]) => [u, h]);
27133
- return Vr(
27129
+ return Wr(
27134
27130
  this.computEraserPoints(l, r),
27135
27131
  !0
27136
27132
  );
@@ -29209,7 +29205,7 @@ function R0e(s, t, e) {
29209
29205
  a != n && (i[n] = E0e(i[n] || o, s[a], t, e));
29210
29206
  return $p(x0e(i, 1), t, e);
29211
29207
  }
29212
- var A0e = R0e, k0e = _h, P0e = Gr;
29208
+ var A0e = R0e, k0e = _h, P0e = Yr;
29213
29209
  function D0e(s) {
29214
29210
  return P0e(s) && k0e(s);
29215
29211
  }
@@ -30521,7 +30517,7 @@ function Bi(s, t) {
30521
30517
  function Ka(s) {
30522
30518
  return +s.toFixed(4);
30523
30519
  }
30524
- const Wr = async (s, t, e = !1) => {
30520
+ const Ur = async (s, t, e = !1) => {
30525
30521
  let r, n;
30526
30522
  return new Promise(function(i) {
30527
30523
  if (e && requestIdleCallback)
@@ -31099,7 +31095,7 @@ const iMe = /* @__PURE__ */ new Set([
31099
31095
  (P) => this.bumpStorageRevision(y, P)
31100
31096
  ) : this.bumpStorageRevision(y), this.runSyncService({ isSync: f, viewId: y });
31101
31097
  }
31102
- Wr(
31098
+ Ur(
31103
31099
  () => {
31104
31100
  var b, P;
31105
31101
  this.canRunSync(y) && ((b = this.control.pluginManager) == null || b.dispatchPluginEvent(
@@ -31196,7 +31192,7 @@ const iMe = /* @__PURE__ */ new Set([
31196
31192
  E(b.toString());
31197
31193
  }
31198
31194
  }
31199
- ), Wr(
31195
+ ), Ur(
31200
31196
  () => {
31201
31197
  var A, N;
31202
31198
  this.canRunSync(y) && ((A = this.control.pluginManager) == null || A.dispatchPluginEvent(
@@ -31230,7 +31226,7 @@ const iMe = /* @__PURE__ */ new Set([
31230
31226
  "syncStorage",
31231
31227
  y,
31232
31228
  g
31233
- ), this.control.isUseSimple || Wr(
31229
+ ), this.control.isUseSimple || Ur(
31234
31230
  () => {
31235
31231
  var z;
31236
31232
  this.canRunSync(y) && ((z = this.control.miniMapManager) == null || z.updateMiniMapCamera(y));
@@ -31250,7 +31246,7 @@ const iMe = /* @__PURE__ */ new Set([
31250
31246
  viewId: y,
31251
31247
  scenePath: g,
31252
31248
  onApplied: () => E(b.toString())
31253
- }), this.control.isUseSimple || Wr(
31249
+ }), this.control.isUseSimple || Ur(
31254
31250
  () => {
31255
31251
  var D;
31256
31252
  this.canRunSync(y) && ((D = this.control.miniMapManager) == null || D.updateMiniMapCamera(y));
@@ -31355,7 +31351,7 @@ const iMe = /* @__PURE__ */ new Set([
31355
31351
  this.pendingSyncStorage = void 0, this.syncSerivice({ storage: r });
31356
31352
  return;
31357
31353
  }
31358
- this.asyncClockState || (this.asyncClockState = !0, Wr(
31354
+ this.asyncClockState || (this.asyncClockState = !0, Ur(
31359
31355
  () => {
31360
31356
  if (this.asyncClockState = !1, this.destroyed) return;
31361
31357
  const r = [...this.pendingSyncViews].filter(
@@ -31715,7 +31711,7 @@ const iMe = /* @__PURE__ */ new Set([
31715
31711
  const { operation: n, viewId: i, uid: o, renderData: a, isClear: c } = e;
31716
31712
  if (i)
31717
31713
  switch (n) {
31718
- case Fr.setAuth: {
31714
+ case jr.setAuth: {
31719
31715
  if (!a || a.render === void 0 && a.hide === void 0 && a.clear === void 0) {
31720
31716
  this.authStorage.renderAuth && this.authStorage.renderAuth[i] && (delete this.authStorage.renderAuth[i], r && ((l = this.plugin) == null || l.updateAttributes(
31721
31717
  [this.authSpace, "renderAuth", i],
@@ -31758,7 +31754,7 @@ const iMe = /* @__PURE__ */ new Set([
31758
31754
  ));
31759
31755
  return;
31760
31756
  }
31761
- case Fr.setShow: {
31757
+ case jr.setShow: {
31762
31758
  if (!o)
31763
31759
  return;
31764
31760
  const z = [this.authSpace];
@@ -31776,7 +31772,7 @@ const iMe = /* @__PURE__ */ new Set([
31776
31772
  ) : (I = this.plugin) == null || I.updateAttributes(z, !0));
31777
31773
  return;
31778
31774
  }
31779
- case Fr.setHide: {
31775
+ case jr.setHide: {
31780
31776
  if (!o)
31781
31777
  return;
31782
31778
  const z = [this.authSpace];
@@ -31794,7 +31790,7 @@ const iMe = /* @__PURE__ */ new Set([
31794
31790
  ) : (v = this.plugin) == null || v.updateAttributes(z, !0));
31795
31791
  return;
31796
31792
  }
31797
- case Fr.setClear: {
31793
+ case jr.setClear: {
31798
31794
  if (!o)
31799
31795
  return;
31800
31796
  const z = [this.authSpace];
@@ -32344,7 +32340,7 @@ class Tr {
32344
32340
  (i = this.mainEngine) == null || i.runAnimation();
32345
32341
  }
32346
32342
  collectForServiceWorker(t) {
32347
- Wr(
32343
+ Ur(
32348
32344
  () => {
32349
32345
  t.forEach((e) => {
32350
32346
  var r;
@@ -34007,7 +34003,7 @@ function Z0(s, t) {
34007
34003
  if (!Number.isInteger(s)) return !1;
34008
34004
  switch (t) {
34009
34005
  case "renderMode":
34010
- return s === jr.OffscreenTransfer || s === jr.ImageBitmap || s === jr.MainThread;
34006
+ return s === an.OffscreenTransfer || s === an.ImageBitmap || s === an.MainThread;
34011
34007
  case "canvasContext":
34012
34008
  return s === th.WebGL;
34013
34009
  case "maskTextureFormat":
@@ -34172,13 +34168,13 @@ function OMe(s) {
34172
34168
  const u = o.level, h = a.level, d = c.level;
34173
34169
  xMe(t, r) && (l = Math.max(
34174
34170
  l || 0,
34175
- jr.OffscreenTransfer
34171
+ an.OffscreenTransfer
34176
34172
  ), n.push(
34177
34173
  `compatibility-policy:${TMe}:skip-offscreen-transfer`
34178
34174
  ));
34179
34175
  const f = (y, T) => ({
34180
34176
  renderMode: y,
34181
- mainThreadRenderMode: l === jr.MainThread ? "readback" : "normal",
34177
+ mainThreadRenderMode: l === an.MainThread ? "readback" : "normal",
34182
34178
  contextType: NMe(
34183
34179
  y,
34184
34180
  s.requestedContextType,
@@ -34198,12 +34194,12 @@ function OMe(s) {
34198
34194
  return f("main-thread", "use-worker-main-thread");
34199
34195
  if (!e.worker || !e.offscreenCanvas || !e.workerUrl)
34200
34196
  return f("main-thread", "worker-capability-missing");
34201
- if (l !== void 0 && l >= jr.ImageBitmap)
34197
+ if (l !== void 0 && l >= an.ImageBitmap)
34202
34198
  return f("main-thread", "render-mode-blacklist");
34203
- if (!(!s.useSimple || l !== void 0 && l >= jr.OffscreenTransfer) && e.offscreenTransfer)
34199
+ if (!(!s.useSimple || l !== void 0 && l >= an.OffscreenTransfer) && e.offscreenTransfer)
34204
34200
  return f("worker-offscreen-transfer", "default-offscreen-transfer");
34205
34201
  if (e.imageBitmap) {
34206
- const y = l === jr.OffscreenTransfer ? "render-mode-blacklist" : s.useSimple ? "worker-capability-missing" : "use-simple-false";
34202
+ const y = l === an.OffscreenTransfer ? "render-mode-blacklist" : s.useSimple ? "worker-capability-missing" : "use-simple-false";
34207
34203
  return f("worker-image-bitmap", y);
34208
34204
  }
34209
34205
  return f("main-thread", "image-bitmap-unavailable");
@@ -35658,7 +35654,7 @@ function Owe(s) {
35658
35654
  ), typeof globalThis.requestAnimationFrame == "function" && (n = globalThis.requestAnimationFrame(o));
35659
35655
  });
35660
35656
  }
35661
- function rn(s, t) {
35657
+ function tn(s, t) {
35662
35658
  var e, r;
35663
35659
  return ((e = s.getRenderContextTypeForView) == null ? void 0 : e.call(s, t)) ?? ((r = s.renderingCompatibilityDecision) == null ? void 0 : r.contextType) ?? "2d";
35664
35660
  }
@@ -35944,6 +35940,15 @@ class jwe extends Bwe {
35944
35940
  const n = this.Logger, i = `[Appliance]: [main-view-camera] stage=${e} ${JSON.stringify(r)}`;
35945
35941
  n.infoDebounced ? n.infoDebounced(`main-view-camera:${e}`, i) : n.info(i);
35946
35942
  }
35943
+ logAppViewCameraTrace(e, r, n) {
35944
+ const i = this.Logger, o = `[Appliance]: [app-view-camera] stage=${r} ${JSON.stringify(
35945
+ {
35946
+ viewId: e,
35947
+ ...n
35948
+ }
35949
+ )}`;
35950
+ i != null && i.infoDebounced ? i.infoDebounced(`app-view-camera:${e}:${r}`, o) : i && i.info(o);
35951
+ }
35947
35952
  closeImageBitmap(e) {
35948
35953
  var r;
35949
35954
  if (e)
@@ -36018,7 +36023,7 @@ class jwe extends Bwe {
36018
36023
  }
36019
36024
  ackMainViewInit(e, r, n) {
36020
36025
  var d;
36021
- const i = this.viewGenerationById.get(e), o = rn(this.control, e), a = er(
36026
+ const i = this.viewGenerationById.get(e), o = tn(this.control, e), a = er(
36022
36027
  this.control.renderMode,
36023
36028
  o
36024
36029
  );
@@ -36380,9 +36385,9 @@ class jwe extends Bwe {
36380
36385
  details: {
36381
36386
  renderModel: er(
36382
36387
  this.control.renderMode,
36383
- rn(this.control, r.viewId)
36388
+ tn(this.control, r.viewId)
36384
36389
  ),
36385
- context: rn(this.control, r.viewId),
36390
+ context: tn(this.control, r.viewId),
36386
36391
  source: this.control.renderingCompatibilityDecision.renderRuntimeSource || "config"
36387
36392
  }
36388
36393
  });
@@ -37342,12 +37347,12 @@ class jwe extends Bwe {
37342
37347
  }
37343
37348
  async useBackgroundThread() {
37344
37349
  this.Logger.info("[Appliance]: use background thread");
37345
- const { BackgroundThreadManagerImpl: e } = await import("./index-DWS4kyH2.mjs");
37350
+ const { BackgroundThreadManagerImpl: e } = await import("./index-CkNSIdPz.mjs");
37346
37351
  this.backgroundThreadManager = new e(this);
37347
37352
  }
37348
37353
  async useMainThread() {
37349
37354
  this.Logger.info("[Appliance]: no OffscreenCanvas");
37350
- const { MainThreadManagerImpl: e } = await import("./index-14J65ewZ.mjs");
37355
+ const { MainThreadManagerImpl: e } = await import("./index-ARINqocW.mjs");
37351
37356
  this.mainThread = new e(this), this.isRenderTransportReady = !0, this.flushPendingTransportInitMessages();
37352
37357
  }
37353
37358
  getRenderProbeCandidates() {
@@ -38808,13 +38813,13 @@ class jwe extends Bwe {
38808
38813
  var O;
38809
38814
  return this.isActive && this.initGeneration === Y && ((O = this.viewGenerationById) == null ? void 0 : O.get(b)) === H;
38810
38815
  };
38811
- P && Wr(
38816
+ P && Ur(
38812
38817
  () => {
38813
38818
  ne() && this.setLockSentEventCursor(!1);
38814
38819
  },
38815
38820
  this.maxLastSyncTime,
38816
38821
  this.control.hasPolyfillMethod("requestIdleCallback")
38817
- ), z && Number(z) && Wr(
38822
+ ), z && Number(z) && Ur(
38818
38823
  () => {
38819
38824
  ne() && this.internalMsgEmitter.emit(
38820
38825
  "ackRenderUndoTicker",
@@ -39812,7 +39817,7 @@ class jwe extends Bwe {
39812
39817
  }
39813
39818
  break;
39814
39819
  }
39815
- this.isLocalWorkActive && this.viewContainerManager.focuedViewId === n && this.publicMsgEmitter.emit("workState", e, n), Wr(
39820
+ this.isLocalWorkActive && this.viewContainerManager.focuedViewId === n && this.publicMsgEmitter.emit("workState", e, n), Ur(
39816
39821
  () => {
39817
39822
  var I, L, S;
39818
39823
  !this.isActive || this.initGeneration !== o || (((I = this.localInputEpochByView) == null ? void 0 : I.get(n)) || 0) !== a || ((L = this.viewGenerationById) == null ? void 0 : L.get(n)) !== l || (S = this.control.pluginManager) == null || S.dispatchPluginEvent(
@@ -39893,9 +39898,9 @@ class jwe extends Bwe {
39893
39898
  details: {
39894
39899
  renderModel: er(
39895
39900
  this.control.renderMode,
39896
- rn(this.control, e)
39901
+ tn(this.control, e)
39897
39902
  ),
39898
- context: rn(this.control, e),
39903
+ context: tn(this.control, e),
39899
39904
  source: this.control.renderingCompatibilityDecision.renderRuntimeSource || "config"
39900
39905
  }
39901
39906
  }), this.pendingTransportMessages.delete(`destroy:${e}`);
@@ -39937,9 +39942,9 @@ class jwe extends Bwe {
39937
39942
  details: {
39938
39943
  renderModel: er(
39939
39944
  this.control.renderMode,
39940
- rn(this.control, e)
39945
+ tn(this.control, e)
39941
39946
  ),
39942
- context: rn(this.control, e),
39947
+ context: tn(this.control, e),
39943
39948
  reason: "transport-not-ready"
39944
39949
  }
39945
39950
  });
@@ -39953,9 +39958,9 @@ class jwe extends Bwe {
39953
39958
  details: {
39954
39959
  renderModel: er(
39955
39960
  this.control.renderMode,
39956
- rn(this.control, e)
39961
+ tn(this.control, e)
39957
39962
  ),
39958
- context: rn(this.control, e),
39963
+ context: tn(this.control, e),
39959
39964
  source: this.control.renderingCompatibilityDecision.renderRuntimeSource || "config"
39960
39965
  }
39961
39966
  }), (y = this.cameraUpdateStateByView.get(e)) != null && y.isRecovering || this.cameraUpdateDestroy(e), this.armViewInitAckTimeout(e, i), this.post(/* @__PURE__ */ new Set([h])), this.taskBatchData.size && this.consume();
@@ -40787,7 +40792,12 @@ class jwe extends Bwe {
40787
40792
  r,
40788
40793
  n.taskId,
40789
40794
  n.viewGeneration
40790
- ) || r.currentTaskId !== void 0 || r.pendingCamera || !n.coreAckReceived || !n.settledAckReceived || (e === Ue && this.logMainViewCameraTrace("completed", {
40795
+ ) || r.currentTaskId !== void 0 || r.pendingCamera || !n.coreAckReceived || !n.settledAckReceived || (e === Ue ? this.logMainViewCameraTrace("completed", {
40796
+ taskId: n.taskId,
40797
+ scenePath: n.scenePath,
40798
+ camera: n.camera,
40799
+ renderFinished: !0
40800
+ }) : this.logAppViewCameraTrace(e, "completed", {
40791
40801
  taskId: n.taskId,
40792
40802
  scenePath: n.scenePath,
40793
40803
  camera: n.camera,
@@ -42611,7 +42621,7 @@ class Zwe {
42611
42621
  this.renderUids.delete(e);
42612
42622
  n && ((o = this.control.collector) == null || o.dispatchRenderAuth(
42613
42623
  {
42614
- operation: Fr.setAuth,
42624
+ operation: jr.setAuth,
42615
42625
  viewId: e,
42616
42626
  renderData: i
42617
42627
  },
@@ -42624,10 +42634,10 @@ class Zwe {
42624
42634
  let o;
42625
42635
  switch (r) {
42626
42636
  case "show":
42627
- i ? (i.render || (i.render = /* @__PURE__ */ new Set()), nr(i.render) && i.render.add(e), nr(i.hide) && i.hide.delete(e)) : this.renderUids.set(t, { render: /* @__PURE__ */ new Set([e]) }), o = Fr.setShow;
42637
+ i ? (i.render || (i.render = /* @__PURE__ */ new Set()), nr(i.render) && i.render.add(e), nr(i.hide) && i.hide.delete(e)) : this.renderUids.set(t, { render: /* @__PURE__ */ new Set([e]) }), o = jr.setShow;
42628
42638
  break;
42629
42639
  case "hide":
42630
- i ? (i.hide || (i.hide = /* @__PURE__ */ new Set()), nr(i.hide) && i.hide.add(e), nr(i.render) && i.render.delete(e)) : this.renderUids.set(t, { hide: /* @__PURE__ */ new Set([e]) }), o = Fr.setHide;
42640
+ i ? (i.hide || (i.hide = /* @__PURE__ */ new Set()), nr(i.hide) && i.hide.add(e), nr(i.render) && i.render.delete(e)) : this.renderUids.set(t, { hide: /* @__PURE__ */ new Set([e]) }), o = jr.setHide;
42631
42641
  break;
42632
42642
  }
42633
42643
  i ? this.renderUids.set(t, i) : this.renderUids.delete(t), n && o && ((a = this.control.collector) == null || a.dispatchRenderAuth(
@@ -42644,7 +42654,7 @@ class Zwe {
42644
42654
  const i = this.renderUids.get(t);
42645
42655
  r ? i ? (i.clear || (i.clear = /* @__PURE__ */ new Set()), nr(i.clear) && i.clear.add(e)) : this.renderUids.set(t, { clear: /* @__PURE__ */ new Set([e]) }) : i && nr(i.clear) && i.clear.has(e) && i.clear.delete(e), i ? this.renderUids.set(t, i) : this.renderUids.delete(t), n && ((o = this.control.collector) == null || o.dispatchRenderAuth(
42646
42656
  {
42647
- operation: Fr.setClear,
42657
+ operation: jr.setClear,
42648
42658
  viewId: t,
42649
42659
  uid: e,
42650
42660
  isClear: r
@@ -42687,7 +42697,7 @@ class Zwe {
42687
42697
  destoryByViewId(t, e = !1) {
42688
42698
  var r;
42689
42699
  this.renderUids.has(t) && (this.renderUids.delete(t), e || (r = this.control.collector) == null || r.dispatchRenderAuth({
42690
- operation: Fr.setAuth,
42700
+ operation: jr.setAuth,
42691
42701
  viewId: t
42692
42702
  })), this.pageAuth.has(t) && this.control.renderControl.delViewPage(t, !e);
42693
42703
  }
@@ -43582,7 +43592,7 @@ class tTe {
43582
43592
  [c],
43583
43593
  e
43584
43594
  )), await new Promise((P) => {
43585
- Wr(
43595
+ Ur(
43586
43596
  () => {
43587
43597
  var z, j;
43588
43598
  if (!this.canAcceptLocalMutation(r)) {
@@ -46372,7 +46382,7 @@ x(rt, "proxyToRaw", /* @__PURE__ */ new WeakMap()), x(rt, "proxyCallbacks", /* @
46372
46382
  }
46373
46383
  });
46374
46384
  let qu = rt;
46375
- const an = class an {
46385
+ const on = class on {
46376
46386
  constructor(t) {
46377
46387
  x(this, "emitter", new su());
46378
46388
  x(this, "undoStack");
@@ -46414,11 +46424,11 @@ const an = class an {
46414
46424
  ).length;
46415
46425
  this.emitUndoStepsUpdate(e), this.emitRedoStepsUpdate(r);
46416
46426
  }
46417
- }, an.waitTime));
46427
+ }, on.waitTime));
46418
46428
  const { control: e, internalMsgEmitter: r, viewId: n, enableGlobal: i } = t;
46419
46429
  this.control = e, this.emitter = r;
46420
46430
  const o = this.control.pluginOptions.extras.undoRedo;
46421
- an.MaxStackLength = o.maxStackLength || Ke.undoRedo.maxStackLength, this.timingFix = o.timingFix ?? Ke.undoRedo.timingFix, this.ackTimeout = o.ackTimeout || Ke.undoRedo.ackTimeout;
46431
+ on.MaxStackLength = o.maxStackLength || Ke.undoRedo.maxStackLength, this.timingFix = o.timingFix ?? Ke.undoRedo.timingFix, this.ackTimeout = o.ackTimeout || Ke.undoRedo.ackTimeout;
46422
46432
  const a = new qu(), c = [], l = [];
46423
46433
  this.undoStack = a.createProxy(
46424
46434
  c,
@@ -46891,7 +46901,7 @@ const an = class an {
46891
46901
  id: `${t}-${this.uid}`,
46892
46902
  data: Ye(d),
46893
46903
  scenePath: r
46894
- }), this.undoStack.length > an.MaxStackLength && this.undoStack.shift(), n && this.emitUndoStepsUpdate(this.undoStack.length), this.redoStack.length && (this.redoStack.length = 0, n && this.emitRedoStepsUpdate(this.redoStack.length))), o && (this.isTicking = !1, this.scenePath = void 0, this.tickStartStorerCache = void 0, this._undoTickerId = void 0, this.excludeIds.clear()), this.clearPendingState(t), this.reportStackLength("undo-ticker-end");
46904
+ }), this.undoStack.length > on.MaxStackLength && this.undoStack.shift(), n && this.emitUndoStepsUpdate(this.undoStack.length), this.redoStack.length && (this.redoStack.length = 0, n && this.emitRedoStepsUpdate(this.redoStack.length))), o && (this.isTicking = !1, this.scenePath = void 0, this.tickStartStorerCache = void 0, this._undoTickerId = void 0, this.excludeIds.clear()), this.clearPendingState(t), this.reportStackLength("undo-ticker-end");
46895
46905
  }
46896
46906
  }
46897
46907
  transformToUndoStackItem(t) {
@@ -46986,7 +46996,7 @@ const an = class an {
46986
46996
  id: `${a}-${this.uid}`,
46987
46997
  data: Ye(d),
46988
46998
  scenePath: c
46989
- }), this.undoStack.length > an.MaxStackLength && this.undoStack.shift()) : d.size && !f.size && (e = {
46999
+ }), this.undoStack.length > on.MaxStackLength && this.undoStack.shift()) : d.size && !f.size && (e = {
46990
47000
  id: `${a}-${this.uid}`,
46991
47001
  data: Ye(d),
46992
47002
  scenePath: c
@@ -47318,8 +47328,8 @@ const an = class an {
47318
47328
  }
47319
47329
  }
47320
47330
  };
47321
- x(an, "sdkCallBack"), x(an, "MaxStackLength", Ke.undoRedo.maxStackLength), x(an, "waitTime", 100);
47322
- let Zu = an;
47331
+ x(on, "sdkCallBack"), x(on, "MaxStackLength", Ke.undoRedo.maxStackLength), x(on, "waitTime", 100);
47332
+ let Zu = on;
47323
47333
  const nTe = (s, t) => ({
47324
47334
  ...s,
47325
47335
  ...t
@@ -54705,7 +54715,7 @@ var WSe = USe, VSe = WSe, $Se = /^\s+/;
54705
54715
  function YSe(s) {
54706
54716
  return s && s.slice(0, VSe(s) + 1).replace($Se, "");
54707
54717
  }
54708
- var GSe = YSe, HSe = Ci, QSe = Gr, qSe = "[object Symbol]";
54718
+ var GSe = YSe, HSe = Ci, QSe = Yr, qSe = "[object Symbol]";
54709
54719
  function ZSe(s) {
54710
54720
  return typeof s == "symbol" || QSe(s) && HSe(s) == qSe;
54711
54721
  }
@@ -56029,7 +56039,7 @@ export {
56029
56039
  EM as a4,
56030
56040
  da as a5,
56031
56041
  Pt as a6,
56032
- Fr as a7,
56042
+ jr as a7,
56033
56043
  Qe as a8,
56034
56044
  ze as a9,
56035
56045
  di as aa,
@@ -56042,7 +56052,7 @@ export {
56042
56052
  th as ah,
56043
56053
  Mm as ai,
56044
56054
  wm as aj,
56045
- jr as ak,
56055
+ an as ak,
56046
56056
  xe as b,
56047
56057
  Q as c,
56048
56058
  ga as d,