@banou/stub 0.0.58 → 0.0.59

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.
Files changed (50) hide show
  1. package/build/_routes.json +1 -0
  2. package/build/assets/{anime-seasons-BYvYwRwn.js → anime-seasons-OlRPaNUG.js} +1 -1
  3. package/build/assets/build-CHRBRLpA.js +1 -0
  4. package/build/assets/country-D8hYH8v4.js +72 -0
  5. package/build/assets/dist-B_MSi_-2.js +1328 -0
  6. package/build/assets/dist-sBTuRPnX.js +1 -0
  7. package/build/assets/embed-BG7xcwwQ.js +392 -0
  8. package/build/assets/{embed-title-CosoIrXe.js → embed-title-DRzWo9Be.js} +1 -1
  9. package/build/assets/index-AaeFL1HL.js +2654 -0
  10. package/build/assets/jassub-worker-CoxWGl20.js +1 -0
  11. package/build/assets/{lib-build-B7te3F-u.js → lib-build-Bg46lQMG.js} +29 -59
  12. package/build/assets/{lib-dist-DvqYL0NS.js → lib-dist-_sG6LAEa.js} +3 -5
  13. package/build/assets/{lib-player-volume-Cj__TqOH.js → lib-player-volume-hbsJ_QQQ.js} +28 -56
  14. package/build/assets/lib-remote-CD-E7fNZ.js +1 -0
  15. package/build/assets/{lib-remote-CszW77_t.js → lib-remote-uPPe2_V1.js} +6 -8
  16. package/build/assets/{lib-theme-player-DpmBH0Uz.js → lib-theme-player-B_XpnzYA.js} +419 -541
  17. package/build/assets/{lib-worker-BXCkN-9Q.js → lib-worker--oXTPCmY.js} +1456 -1593
  18. package/build/assets/lib-worker-CAtrMpYx.js +1 -0
  19. package/build/assets/{lib-worker-anime-seasons-BYvYwRwn.js → lib-worker-anime-seasons-OlRPaNUG.js} +1 -1
  20. package/build/assets/lib-worker-index-C76K1LUo.js +2654 -0
  21. package/build/assets/lib-worker-jassub-worker-DmV75w1c.js +1 -0
  22. package/build/assets/lib-worker-worker-DFac1w45.js +146 -0
  23. package/build/assets/{main-BLeaopKB.js → main-DnIv6GDX.js} +17 -17
  24. package/build/assets/{player-volume-ChubmlGg.js → player-volume-DTOJyhLh.js} +1 -1
  25. package/build/assets/{remote-DQ5KVR01.js → remote-D8UjjUy7.js} +1 -1
  26. package/build/assets/remote-Dk-srDMl.js +1 -0
  27. package/build/assets/{theme-player-BfHkKsCa.js → theme-player-BsVznGeU.js} +1 -1
  28. package/build/assets/worker-CsKngzyA.js +1 -0
  29. package/build/assets/worker-CwdUYmJH.js +1 -0
  30. package/build/assets/{worker-DJ-UoKG9.js → worker-D_yNUJG9.js} +2 -2
  31. package/build/embed.html +8 -8
  32. package/build/index.html +8 -8
  33. package/build/index.js +245 -523
  34. package/fkn.json +1 -1
  35. package/package.json +6 -6
  36. package/build/assets/build-C4wtZmgD.js +0 -1
  37. package/build/assets/country-Cg7CfAmX.js +0 -72
  38. package/build/assets/dist-SwCxXzZD.js +0 -1
  39. package/build/assets/dist-xpUFCIHk.js +0 -1328
  40. package/build/assets/embed-BxT8fPdZ.js +0 -392
  41. package/build/assets/index-DOZodZks.js +0 -2654
  42. package/build/assets/jassub-worker-ezqkHxaC.js +0 -1
  43. package/build/assets/lib-remote-DkrdRpDM.js +0 -2
  44. package/build/assets/lib-worker-CwmB42Tz.js +0 -2
  45. package/build/assets/lib-worker-index-DGh_UlvN.js +0 -2654
  46. package/build/assets/lib-worker-jassub-worker-C5QJW1O3.js +0 -1
  47. package/build/assets/lib-worker-worker-BjIUO7P3.js +0 -146
  48. package/build/assets/remote-ZTdKmv4r.js +0 -1
  49. package/build/assets/worker-4O2hafPi.js +0 -1
  50. package/build/assets/worker-s1DarU5c.js +0 -1
package/build/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  (() => { const s = document.createElement('style'); s.textContent = ".react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}\n/*$vite$:1*/"; document.head.appendChild(s) })();
2
- import { o as e, r as t, s as n } from "./assets/lib-dist-DvqYL0NS.js";
3
- import { $ as r, A as i, B as a, C as o, D as s, E as c, F as l, G as u, H as d, I as f, J as p, K as m, L as h, M as g, N as _, O as v, P as y, Q as b, R as x, S, T as C, V as w, W as T, X as E, Y as D, Z as O, _ as k, a as A, at as j, b as M, c as N, d as P, dt as F, et as ee, f as I, ft as L, g as te, h as R, i as z, it as B, j as V, k as ne, l as re, lt as ie, m as ae, mt as oe, nt as H, o as se, ot as ce, p as le, pt as ue, q as de, r as U, rt as W, s as fe, st as G, t as pe, tt as me, u as he, ut as ge, w as _e, x as ve, y as ye, z as be } from "./assets/lib-player-volume-Cj__TqOH.js";
4
- import { $ as xe, A as Se, B as Ce, C as we, D as Te, E as Ee, F as De, G as Oe, H as ke, I as Ae, J as je, K as Me, L as Ne, M as Pe, N as Fe, O as Ie, P as Le, Q as Re, R as ze, S as Be, T as Ve, U as He, V as Ue, W as We, X as Ge, Y as Ke, Z as qe, _ as Je, a as Ye, at as Xe, b as Ze, c as Qe, ct as $e, dt as et, et as tt, f as nt, ft as rt, g as it, h as at, i as ot, it as st, j as ct, k as lt, l as ut, lt as dt, m as ft, n as pt, nt as mt, o as ht, ot as gt, p as _t, q as vt, r as yt, rt as bt, s as xt, st as St, t as Ct, tt as wt, ut as Tt, v as Et, w as Dt, x as Ot, y as kt, z as At } from "./assets/lib-worker-BXCkN-9Q.js";
5
- import { t as jt } from "./assets/lib-remote-CszW77_t.js";
6
- //#region node_modules/@0no-co/graphql.web/dist/graphql.web.mjs
2
+ import { o as e, r as t, s as n } from "./assets/lib-dist-_sG6LAEa.js";
3
+ import { $ as r, A as i, B as a, C as o, D as s, E as c, F as l, G as u, H as d, I as f, J as p, K as m, L as h, M as g, N as _, O as v, P as y, Q as b, R as x, S, T as C, V as w, W as T, X as E, Y as D, Z as O, _ as k, a as A, at as j, b as M, c as N, d as P, dt as F, et as ee, f as I, ft as L, g as te, h as R, i as z, it as B, j as V, k as ne, l as re, lt as ie, m as ae, mt as oe, nt as H, o as se, ot as ce, p as le, pt as ue, q as de, r as U, rt as W, s as fe, st as G, t as pe, tt as me, u as he, ut as ge, w as _e, x as ve, y as ye, z as be } from "./assets/lib-player-volume-hbsJ_QQQ.js";
4
+ import { $ as xe, A as Se, B as Ce, C as we, D as Te, E as Ee, F as De, G as Oe, H as ke, I as Ae, J as je, K as Me, L as Ne, M as Pe, N as Fe, O as Ie, P as Le, Q as Re, R as ze, S as Be, T as Ve, U as He, V as Ue, W as We, X as Ge, Y as Ke, Z as qe, _ as Je, a as Ye, at as Xe, b as Ze, c as Qe, ct as $e, dt as et, et as tt, f as nt, ft as rt, g as it, h as at, i as ot, it as st, j as ct, k as lt, l as ut, lt as dt, m as ft, n as pt, nt as mt, o as ht, ot as gt, p as _t, q as vt, r as yt, rt as bt, s as xt, st as St, t as Ct, tt as wt, ut as Tt, v as Et, w as Dt, x as Ot, y as kt, z as At } from "./assets/lib-worker--oXTPCmY.js";
5
+ import { t as jt } from "./assets/lib-remote-uPPe2_V1.js";
6
+ // node_modules/@0no-co/graphql.web/dist/graphql.web.mjs
7
7
  L();
8
8
  var Mt = {
9
9
  NAME: "Name",
@@ -487,8 +487,7 @@ function on(e, t) {
487
487
  case "Variable": return t && t[e.name.value];
488
488
  }
489
489
  }
490
- //#endregion
491
- //#region node_modules/wonka/dist/wonka.mjs
490
+ // node_modules/wonka/dist/wonka.mjs
492
491
  var sn = () => {}, cn = sn;
493
492
  function ln(e) {
494
493
  return {
@@ -922,7 +921,7 @@ function dr(e) {
922
921
  variables: e.variables || void 0,
923
922
  extensions: e.extensions
924
923
  };
925
- return "documentId" in e.query && e.query.documentId && (!e.query.definitions || !e.query.definitions.length) ? t.documentId = e.query.documentId : (!e.extensions || !e.extensions.persistedQuery || e.extensions.persistedQuery.miss) && (t.query = nr(e.query)), t;
924
+ return "documentId" in e.query && e.query.documentId && (!e.query.definitions || !e.query.definitions.length) ? t.documentId = e.query.documentId : e.extensions && e.extensions.persistedQuery && !e.extensions.persistedQuery.miss || (t.query = nr(e.query)), t;
926
925
  }
927
926
  var fr = (e, t) => {
928
927
  var n = e.kind === "query" && e.context.preferGetMethod;
@@ -1045,8 +1044,7 @@ function xr(e, t, n) {
1045
1044
  r && r.abort();
1046
1045
  }))(pn(((e) => !!e))(Dn(br(e, t, n))));
1047
1046
  }
1048
- //#endregion
1049
- //#region node_modules/@urql/core/dist/urql-core.mjs
1047
+ // node_modules/@urql/core/dist/urql-core.mjs
1050
1048
  function Sr(e) {
1051
1049
  var t = (t) => e(t);
1052
1050
  return t.toPromise = () => Ln(Cn(1)(pn(((e) => !e.stale && !e.hasNext))(t))), t.then = (e, n) => t.toPromise().then(e, n), t.subscribe = (e) => Fn(e)(t), t;
@@ -1087,7 +1085,7 @@ var wr = () => {}, Tr = ({ forward: e, dispatchDebug: t }) => (t) => _n([hn(((e)
1087
1085
  requestPolicy: t.requestPolicy || "cache-first"
1088
1086
  }, c = Mn();
1089
1087
  function l(e) {
1090
- (e.kind === "mutation" || e.kind === "teardown" || !a.has(e.key)) && (e.kind === "teardown" ? a.delete(e.key) : e.kind !== "mutation" && a.add(e.key), c.next(e));
1088
+ e.kind !== "mutation" && e.kind !== "teardown" && a.has(e.key) || (e.kind === "teardown" ? a.delete(e.key) : e.kind !== "mutation" && a.add(e.key), c.next(e));
1091
1089
  }
1092
1090
  var u = !1;
1093
1091
  function d(e) {
@@ -1178,8 +1176,7 @@ var wr = () => {}, Tr = ({ forward: e, dispatchDebug: t }) => (t) => _n([hn(((e)
1178
1176
  })(c.source));
1179
1177
  return In(g), m;
1180
1178
  };
1181
- //#endregion
1182
- //#region node_modules/urql/dist/urql.es.js
1179
+ // node_modules/urql/dist/urql.es.js
1183
1180
  D();
1184
1181
  var Ar = ge({}), jr = Ar.Provider;
1185
1182
  Ar.Consumer, Ar.displayName = "UrqlContext";
@@ -1300,8 +1297,7 @@ function Br(e, t) {
1300
1297
  ]);
1301
1298
  return [u, d];
1302
1299
  }
1303
- //#endregion
1304
- //#region node_modules/@fkn/lib/connect-button-DtsN3X1J.js
1300
+ // node_modules/@fkn/lib/connect-button-DtsN3X1J.js
1305
1301
  j();
1306
1302
  var Vr = () => "https://fkn.app/connect-button", Hr = "stub-source@1", Ur = "stub-enabled-plugins", Wr = "stub-account-plugins", Gr = () => {
1307
1303
  try {
@@ -6008,8 +6004,7 @@ Ci.prototype.matchList = function(e) {
6008
6004
  }, Ci.prototype.matchListIndices = function(e) {
6009
6005
  return this.matchHaystacksIndices(e instanceof Si ? e : Hi(e));
6010
6006
  };
6011
- //#endregion
6012
- //#region src/utils/uri.ts
6007
+ // src/utils/uri.ts
6013
6008
  var Ui = (e) => {
6014
6009
  let [t, n] = e.split(":");
6015
6010
  return {
@@ -6083,11 +6078,8 @@ var Ui = (e) => {
6083
6078
  RegExp(`${fa}${pa}(?:${fa}$|(?=${fa}<(?:i|em)>))`, "i");
6084
6079
  var ma = "\\u002d\\u2013\\u2014\\u007e\\uff5e\\u301c";
6085
6080
  RegExp(`(?:^|\\s)([${ma}])\\s*[^${ma}]{2,}\\s*\\1\\s*$`), ai.Tv, ai.TvShort, ai.Movie, ai.Ova, ai.Ona, ai.Special, new Set($r);
6086
- //#endregion
6087
- //#region src/tracking/account-link.ts
6088
- var ha = "tracking/v1/";
6089
- `${ha}`;
6090
- var ga = 18e4, _a = { changed: !0 }, va = () => {
6081
+ // src/tracking/account-link.ts
6082
+ var ha = "tracking/v1/", ga = 18e4, _a = { changed: !0 }, va = () => {
6091
6083
  let e = 0;
6092
6084
  return {
6093
6085
  moved: () => {
@@ -6255,8 +6247,7 @@ var ga = 18e4, _a = { changed: !0 }, va = () => {
6255
6247
  for (let t of e) await $a(t.uri).catch(() => {});
6256
6248
  };
6257
6249
  for (let e of Jr()) Ka(e).catch(() => {});
6258
- //#endregion
6259
- //#region src/sources/hidden-icons.ts
6250
+ // src/sources/hidden-icons.ts
6260
6251
  var no = "stub.sources.hidden-icons", ro = () => {
6261
6252
  try {
6262
6253
  let e = JSON.parse(Se.getItem("stub.sources.hidden-icons") ?? "[]");
@@ -6588,8 +6579,7 @@ var no = "stub.sources.hidden-icons", ro = () => {
6588
6579
  }
6589
6580
  return a;
6590
6581
  };
6591
- //#endregion
6592
- //#region src/utils/watch-positions.ts
6582
+ // src/utils/watch-positions.ts
6593
6583
  j();
6594
6584
  var Qo = "stub.player.positions", $o = "stub.player.positions.account", es = (e) => e.length === 2 ? e[1] : e[3], ts = (e) => {
6595
6585
  if (!Array.isArray(e) || typeof e[0] != "string" || !e.slice(1).every((e) => typeof e == "number")) return [];
@@ -6747,8 +6737,7 @@ var Qo = "stub.player.positions", $o = "stub.player.positions.account", es = (e)
6747
6737
  ...t
6748
6738
  });
6749
6739
  };
6750
- //#endregion
6751
- //#region node_modules/@urql/devtools/dist/urql-devtools-exchange.es.js
6740
+ // node_modules/@urql/devtools/dist/urql-devtools-exchange.es.js
6752
6741
  function js(e) {
6753
6742
  var t = e.forward;
6754
6743
  return function(e) {
@@ -6883,8 +6872,7 @@ function tc(e, t, n) {
6883
6872
  } : n || t.context
6884
6873
  };
6885
6874
  }
6886
- //#endregion
6887
- //#region node_modules/@urql/exchange-graphcache/dist/urql-exchange-graphcache.mjs
6875
+ // node_modules/@urql/exchange-graphcache/dist/urql-exchange-graphcache.mjs
6888
6876
  var nc = "\nhttps://bit.ly/2XbVrpR#";
6889
6877
  function rc(e, t, n) {
6890
6878
  if (!e) {
@@ -6999,7 +6987,7 @@ var Rc = (e) => !!e && Ac.has(e), zc = (e, t, n, r, i) => {
6999
6987
  }, Bc = () => {
7000
6988
  var e = X, t = Mc;
7001
6989
  if (Ic = !1, Mc = null, !e.hydrating && t && e.optimisticOrder.indexOf(t) > -1) for (var n = e.optimisticOrder.length; --n >= 0 && e.dirtyKeys.has(e.optimisticOrder[n]) && e.commutativeKeys.has(e.optimisticOrder[n]);) cl(e.optimisticOrder[n]);
7002
- Ac = null, jc = null, Nc = null, X = null, Pc = null, !e.defer && (e.storage || !e.optimisticOrder.length) && (e.defer = !0, setTimeout((() => {
6990
+ Ac = null, jc = null, Nc = null, X = null, Pc = null, e.defer || !e.storage && e.optimisticOrder.length || (e.defer = !0, setTimeout((() => {
7003
6991
  zc("read", e, null), Yc(), ul(), Bc(), e.defer = !1;
7004
6992
  })));
7005
6993
  }, Vc = (e, t, n) => {
@@ -7341,7 +7329,7 @@ var Ol = (e, t, n, r, i) => {
7341
7329
  var T = e.store.keyOfEntity(m);
7342
7330
  if (T) {
7343
7331
  var E = Qc(T, "__typename"), D = Gc(T);
7344
- (!E || !D) && m.__typename && Nl(m.__typename, [T]);
7332
+ E && D || !m.__typename || Nl(m.__typename, [T]);
7345
7333
  }
7346
7334
  }
7347
7335
  }
@@ -7739,8 +7727,7 @@ var Ol = (e, t, n, r, i) => {
7739
7727
  fetchSubscriptions: !0,
7740
7728
  fetch: async (e, t) => Ye(e, t)
7741
7729
  }));
7742
- //#endregion
7743
- //#region node_modules/regexparam/dist/index.mjs
7730
+ // node_modules/regexparam/dist/index.mjs
7744
7731
  function Kl(e, t) {
7745
7732
  if (e instanceof RegExp) return {
7746
7733
  keys: !1,
@@ -7753,8 +7740,7 @@ function Kl(e, t) {
7753
7740
  pattern: RegExp("^" + s + (t ? "(?=$|/)" : "/?$"), "i")
7754
7741
  };
7755
7742
  }
7756
- //#endregion
7757
- //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
7743
+ // node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
7758
7744
  var ql = /* @__PURE__ */ t(((t) => {
7759
7745
  var n = (D(), e(de));
7760
7746
  function r(e, t) {
@@ -7796,8 +7782,7 @@ var ql = /* @__PURE__ */ t(((t) => {
7796
7782
  })), Jl = /* @__PURE__ */ t(((e, t) => {
7797
7783
  t.exports = ql();
7798
7784
  }));
7799
- //#endregion
7800
- //#region node_modules/wouter/esm/react-deps.js
7785
+ // node_modules/wouter/esm/react-deps.js
7801
7786
  D();
7802
7787
  var Yl = Jl(), Xl = O, Zl = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? b : H, Ql = Xl || Zl, $l = (e) => {
7803
7788
  let t = r([e, (...e) => t[0](...e)]).current;
@@ -7825,8 +7810,7 @@ if (typeof history < "u" && window[fu] === void 0) {
7825
7810
  }
7826
7811
  Object.defineProperty(window, fu, { value: !0 });
7827
7812
  }
7828
- //#endregion
7829
- //#region node_modules/wouter/esm/index.js
7813
+ // node_modules/wouter/esm/index.js
7830
7814
  var pu = (e, t) => t.toLowerCase().indexOf(e.toLowerCase()) ? "~" + t : t.slice(e.length) || "/", mu = (e = "") => e === "/" ? "" : e, hu = (e, t) => e[0] === "~" ? e.slice(1) : mu(t) + e, gu = (e = "", t) => pu(vu(mu(e)), vu(t)), _u = (e) => e[0] === "?" ? e.slice(1) : e, vu = (e) => {
7831
7815
  try {
7832
7816
  return decodeURI(e);
@@ -8202,19 +8186,7 @@ var Fd = () => {
8202
8186
  Ud in globalThis || (Object.defineProperty(globalThis, Ud, { value: !0 }), Hd("pushState"), Hd("replaceState"), addEventListener("popstate", () => {
8203
8187
  Bd(), zd();
8204
8188
  }), Ia(zd), Ad(zd), Bd(), zd());
8205
- var Wd = /* #__PURE__ */ [
8206
- "input:not([inert])",
8207
- "select:not([inert])",
8208
- "textarea:not([inert])",
8209
- "a[href]:not([inert])",
8210
- "button:not([inert])",
8211
- "[tabindex]:not(slot):not([inert])",
8212
- "audio[controls]:not([inert])",
8213
- "video[controls]:not([inert])",
8214
- "[contenteditable]:not([contenteditable=\"false\"]):not([inert])",
8215
- "details>summary:first-of-type:not([inert])",
8216
- "details:not([inert])"
8217
- ].join(","), Gd = typeof Element > "u", Kd = Gd ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, qd = !Gd && Element.prototype.getRootNode ? function(e) {
8189
+ var Wd = "input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable=\"false\"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])", Gd = typeof Element > "u", Kd = Gd ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, qd = !Gd && Element.prototype.getRootNode ? function(e) {
8218
8190
  return e?.getRootNode?.call(e);
8219
8191
  } : function(e) {
8220
8192
  return e?.ownerDocument;
@@ -8371,8 +8343,7 @@ var Wd = /* #__PURE__ */ [
8371
8343
  if (t ||= {}, !e) throw Error("No node provided");
8372
8344
  return Kd.call(e, Wd) !== !1 && hf(t, e);
8373
8345
  };
8374
- //#endregion
8375
- //#region node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs
8346
+ // node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs
8376
8347
  D();
8377
8348
  function xf() {
8378
8349
  let e = navigator.userAgentData;
@@ -8527,8 +8498,7 @@ function rp(e) {
8527
8498
  delete e.dataset.tabindex, t ? e.setAttribute("tabindex", t) : e.removeAttribute("tabindex");
8528
8499
  });
8529
8500
  }
8530
- //#endregion
8531
- //#region node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
8501
+ // node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
8532
8502
  D();
8533
8503
  var ip = typeof document < "u" ? b : function() {};
8534
8504
  function ap(e, t) {
@@ -8829,9 +8799,7 @@ function Bp(e, t) {
8829
8799
  t.addEventListener("mousemove", r), E.current = () => {
8830
8800
  t.removeEventListener("mousemove", r);
8831
8801
  };
8832
- return;
8833
- }
8834
- (b.current !== "touch" || !Af(s.floating, e.relatedTarget)) && k(e);
8802
+ } else b.current === "touch" && Af(s.floating, e.relatedTarget) || k(e);
8835
8803
  }
8836
8804
  function r(e) {
8837
8805
  M() || a.current.floatingContext && (g.current == null || g.current({
@@ -8923,7 +8891,7 @@ function Bp(e, t) {
8923
8891
  function r() {
8924
8892
  !w.current && !v.current && i(!0, t, "hover");
8925
8893
  }
8926
- (!d || Gf(b.current)) && (n || zp(y.current) === 0 || D.current && e.movementX ** 2 + e.movementY ** 2 < 2 || (Ip(C), b.current === "touch" ? r() : (D.current = !0, C.current = window.setTimeout(r, zp(y.current)))));
8894
+ d && !Gf(b.current) || n || zp(y.current) === 0 || D.current && e.movementX ** 2 + e.movementY ** 2 < 2 || (Ip(C), b.current === "touch" ? r() : (D.current = !0, C.current = window.setTimeout(r, zp(y.current))));
8927
8895
  }
8928
8896
  };
8929
8897
  }, [
@@ -9220,11 +9188,7 @@ function vm(e) {
9220
9188
  let e = te.current, t = V(), n = t[e] || t[t.length - 1] || B;
9221
9189
  g(n) && n.focus();
9222
9190
  }
9223
- if (y.current.insideReactTree) {
9224
- y.current.insideReactTree = !1;
9225
- return;
9226
- }
9227
- (E || !u) && t && a && !L.current && t !== mm() && (I.current = !0, _(!1, e, "focus-out"));
9191
+ y.current.insideReactTree ? y.current.insideReactTree = !1 : (E || !u) && t && a && !L.current && t !== mm() && (I.current = !0, _(!1, e, "focus-out"));
9228
9192
  });
9229
9193
  }
9230
9194
  let n = !(N || !P);
@@ -9484,11 +9448,7 @@ function Dm(e, t) {
9484
9448
  },
9485
9449
  onClick(e) {
9486
9450
  let t = p.current;
9487
- if (c === "mousedown" && p.current) {
9488
- p.current = void 0;
9489
- return;
9490
- }
9491
- Gf(t, !0) && u || (n && l && (!(a.current.openEvent && f) || a.current.openEvent.type === "click") ? i(!1, e.nativeEvent, "click") : i(!0, e.nativeEvent, "click"));
9451
+ c === "mousedown" && p.current ? p.current = void 0 : Gf(t, !0) && u || (n && l && (!(a.current.openEvent && f) || a.current.openEvent.type === "click") ? i(!1, e.nativeEvent, "click") : i(!0, e.nativeEvent, "click"));
9492
9452
  },
9493
9453
  onKeyDown(e) {
9494
9454
  p.current = void 0, !(e.defaultPrevented || !d || wm(e)) && (e.key === " " && !Em(o) && (e.preventDefault(), m.current = !0), !Tm(e) && e.key === "Enter" && i(!(n && l), e.nativeEvent, "click"));
@@ -9530,10 +9490,7 @@ function jm(e, t) {
9530
9490
  let e = !0;
9531
9491
  if (r.forEach((t) => {
9532
9492
  var n;
9533
- if ((n = t.context) != null && n.open && !t.context.dataRef.current.__escapeKeyBubbles) {
9534
- e = !1;
9535
- return;
9536
- }
9493
+ (n = t.context) != null && n.open && !t.context.dataRef.current.__escapeKeyBubbles && (e = !1);
9537
9494
  }), !e) return;
9538
9495
  }
9539
9496
  i(!1, Hf(e) ? e.nativeEvent : e, "escape-key");
@@ -9567,10 +9524,7 @@ function jm(e, t) {
9567
9524
  let e = !0;
9568
9525
  if (m.forEach((t) => {
9569
9526
  var n;
9570
- if ((n = t.context) != null && n.open && !t.context.dataRef.current.__outsidePressBubbles) {
9571
- e = !1;
9572
- return;
9573
- }
9527
+ (n = t.context) != null && n.open && !t.context.dataRef.current.__outsidePressBubbles && (e = !1);
9574
9528
  }), !e) return;
9575
9529
  }
9576
9530
  i(!1, e, "outside-press");
@@ -9831,7 +9785,7 @@ function Fm(e, t) {
9831
9785
  let t = e.relatedTarget, n = e.nativeEvent, r = V(t) && t.hasAttribute(Fp("focus-guard")) && t.getAttribute("data-type") === "outside";
9832
9786
  f.current = window.setTimeout(() => {
9833
9787
  let e = kf(c.domReference ? c.domReference.ownerDocument : document);
9834
- (t || e !== c.domReference) && (Af(s.current.floatingContext?.refs.floating.current, e) || Af(c.domReference, e) || r || a(!1, n, "focus"));
9788
+ !t && e === c.domReference || Af(s.current.floatingContext?.refs.floating.current, e) || Af(c.domReference, e) || r || a(!1, n, "focus");
9835
9789
  });
9836
9790
  }
9837
9791
  }), [
@@ -10629,8 +10583,7 @@ var Ym = k("audio-lines", [
10629
10583
  let e = Ph;
10630
10584
  return Ph = !1, e;
10631
10585
  };
10632
- //#endregion
10633
- //#region node_modules/@fkn/lib/react.js
10586
+ // node_modules/@fkn/lib/react.js
10634
10587
  D();
10635
10588
  var Lh = ({ className: e, style: t } = {}) => F("iframe", {
10636
10589
  src: Vr(),
@@ -10654,8 +10607,7 @@ var Lh = ({ className: e, style: t } = {}) => F("iframe", {
10654
10607
  clearTimeout(n);
10655
10608
  }
10656
10609
  };
10657
- //#endregion
10658
- //#region src/utils/use-account.ts
10610
+ // src/utils/use-account.ts
10659
10611
  j();
10660
10612
  var Bh = () => Promise.race([gt.info(), new Promise((e) => setTimeout(() => e(null), 4e3))]), Vh = () => {
10661
10613
  let [e, t] = B(null), [n, r] = B(!1), i = W(() => Bh().then((e) => {
@@ -10692,8 +10644,7 @@ var Bh = () => Promise.race([gt.info(), new Promise((e) => setTimeout(() => e(nu
10692
10644
  pluginPrompt: 2e3,
10693
10645
  partyCursor: 3e3
10694
10646
  };
10695
- //#endregion
10696
- //#region src/components/account-widget.tsx
10647
+ // src/components/account-widget.tsx
10697
10648
  j();
10698
10649
  var Uh = "https://fkn.app/account", Wh = 150, Gh = 40, Kh = x`
10699
10650
  display: flex;
@@ -11188,7 +11139,7 @@ var Uh = "https://fkn.app/account", Wh = 150, Gh = 40, Kh = x`
11188
11139
  }, oe = async (e) => {
11189
11140
  r = e;
11190
11141
  let t = F(e);
11191
- if (d.clear(), f.length = 0, p = void 0, m = $h, h = !0, g = {}, _ = {}, j({
11142
+ d.clear(), f.length = 0, p = void 0, m = $h, h = !0, g = {}, _ = {}, j({
11192
11143
  status: "active",
11193
11144
  role: t,
11194
11145
  invite: e.invite,
@@ -11282,11 +11233,7 @@ var Uh = "https://fkn.app/account", Wh = 150, Gh = 40, Kh = x`
11282
11233
  return;
11283
11234
  }
11284
11235
  }
11285
- }), r !== e) {
11286
- i(), i = void 0;
11287
- return;
11288
- }
11289
- t === "host" && (c = setInterval(() => L(R()), Kg)), t === "guest" && (te(), S = setInterval(te, Xg), T = {
11236
+ }), r === e ? (t === "host" && (c = setInterval(() => L(R()), Kg)), t === "guest" && (te(), S = setInterval(te, Xg), T = {
11290
11237
  status: { s: "away" },
11291
11238
  at: Date.now()
11292
11239
  }, O = setInterval(() => {
@@ -11304,7 +11251,7 @@ var Uh = "https://fkn.app/account", Wh = 150, Gh = 40, Kh = x`
11304
11251
  status: "ended",
11305
11252
  reason: t
11306
11253
  }));
11307
- });
11254
+ })) : (i(), i = void 0);
11308
11255
  }, H = (e) => n.status === "active" && (n.role === "host" || eg(m, n.self, e)), se = async (e) => {
11309
11256
  let t = r;
11310
11257
  ae(), N(), j({
@@ -11312,11 +11259,7 @@ var Uh = "https://fkn.app/account", Wh = 150, Gh = 40, Kh = x`
11312
11259
  reason: e
11313
11260
  }), await t?.leave().catch(() => {});
11314
11261
  }, ce = (e, t) => {
11315
- if (N(), t) {
11316
- j({ status: "idle" });
11317
- return;
11318
- }
11319
- j({
11262
+ N(), j(t ? { status: "idle" } : {
11320
11263
  status: "failed",
11321
11264
  code: $g(e) ? e.code : "unknown"
11322
11265
  });
@@ -11463,8 +11406,7 @@ var Uh = "https://fkn.app/account", Wh = 150, Gh = 40, Kh = x`
11463
11406
  let n = t.indexOf("."), r = t.slice(n + 1), i = r.lastIndexOf("/");
11464
11407
  return i > 0 && r.slice(0, i) === e ? `${t.slice(0, n)}.${r.slice(i + 1)}` : t;
11465
11408
  }, a_ = "[A-Za-z0-9_-]{43}", o_ = "[a-z0-9][a-z0-9._-]{0,63}", s_ = RegExp(`^${a_}\\.[\\x21-\\x7e]{1,256}\\/${o_}$`), c_ = RegExp(`^${a_}\\.${o_}$`), Q = e_(bt);
11466
- //#endregion
11467
- //#region src/party/use-party.ts
11409
+ // src/party/use-party.ts
11468
11410
  j();
11469
11411
  var l_ = () => {
11470
11412
  let [e, t] = B(Q.getState);
@@ -11473,8 +11415,7 @@ var l_ = () => {
11473
11415
  let [t] = B(() => ({ current: e }));
11474
11416
  t.current = e, H(() => Q.onMessage((e, n) => t.current(e, n)), []);
11475
11417
  };
11476
- //#endregion
11477
- //#region src/components/party-chat.tsx
11418
+ // src/components/party-chat.tsx
11478
11419
  j();
11479
11420
  var d_ = x`
11480
11421
  position: fixed;
@@ -11692,8 +11633,7 @@ var d_ = x`
11692
11633
  })]
11693
11634
  });
11694
11635
  };
11695
- //#endregion
11696
- //#region src/components/party-grants.tsx
11636
+ // src/components/party-grants.tsx
11697
11637
  j();
11698
11638
  var m_ = {
11699
11639
  play: "Play/pause",
@@ -11980,8 +11920,7 @@ var m_ = {
11980
11920
  &, &::before { transition: none; }
11981
11921
  }
11982
11922
  `;
11983
- //#endregion
11984
- //#region src/components/party-widget.tsx
11923
+ // src/components/party-widget.tsx
11985
11924
  j();
11986
11925
  var F_ = x`
11987
11926
  display: flex;
@@ -12404,8 +12343,7 @@ var F_ = x`
12404
12343
  "offline",
12405
12344
  "cr"
12406
12345
  ], G_ = (e, t = V_) => t !== "movie" && t !== "series" || !W_.includes(e);
12407
- //#endregion
12408
- //#region src/components/header.tsx
12346
+ // src/components/header.tsx
12409
12347
  j();
12410
12348
  var K_ = {
12411
12349
  anime: "Search anime…",
@@ -12924,22 +12862,21 @@ var K_ = {
12924
12862
  }),
12925
12863
  /* @__PURE__ */ A("span", {
12926
12864
  className: "version",
12927
- title: "stub v0.0.58, commit 644b7ba",
12865
+ title: "stub v0.0.59, commit 932e7a4",
12928
12866
  children: [
12929
12867
  "v",
12930
- "0.0.58",
12868
+ "0.0.59",
12931
12869
  " ",
12932
12870
  /* @__PURE__ */ z("span", {
12933
12871
  className: "commit",
12934
- children: "644b7ba"
12872
+ children: "932e7a4"
12935
12873
  })
12936
12874
  ]
12937
12875
  })
12938
12876
  ]
12939
12877
  });
12940
12878
  };
12941
- //#endregion
12942
- //#region src/components/plugin-prompt.tsx
12879
+ // src/components/plugin-prompt.tsx
12943
12880
  j();
12944
12881
  var tv = x`
12945
12882
  position: fixed;
@@ -13129,8 +13066,7 @@ var tv = x`
13129
13066
  function iv(e) {
13130
13067
  return rv[e] ?? {};
13131
13068
  }
13132
- //#endregion
13133
- //#region src/components/youtube-url.ts
13069
+ // src/components/youtube-url.ts
13134
13070
  var av = (e) => {
13135
13071
  let t;
13136
13072
  try {
@@ -13141,8 +13077,7 @@ var av = (e) => {
13141
13077
  let n = t.hostname.replace(/^(?:www|m)\./, "");
13142
13078
  return n === "youtu.be" ? t.pathname.split("/")[1] || null : n !== "youtube.com" && n !== "youtube-nocookie.com" ? null : t.pathname === "/watch" ? t.searchParams.get("v") || null : t.pathname.match(/^\/(?:embed|v|shorts)\/([^/?#]+)/)?.[1] ?? null;
13143
13079
  };
13144
- //#endregion
13145
- //#region src/components/yt-minimal-player.tsx
13080
+ // src/components/yt-minimal-player.tsx
13146
13081
  D();
13147
13082
  var ov = "https://www.youtube.com", sv = 0, cv = 250, lv = 40, uv = x`
13148
13083
  position: absolute;
@@ -13207,23 +13142,11 @@ border: 0;
13207
13142
  } catch {
13208
13143
  return;
13209
13144
  }
13210
- if (n?.event === "onReady") {
13211
- clearInterval(r), u(!0);
13212
- return;
13213
- }
13214
- if (n?.event === "onError") {
13215
- u(!1), f.current?.();
13216
- return;
13217
- }
13218
- (n?.event === "onStateChange" && typeof n.info == "number" ? n.info : fv(n?.info)) === sv && p("playVideo");
13145
+ n?.event === "onReady" ? (clearInterval(r), u(!0)) : n?.event === "onError" ? (u(!1), f.current?.()) : (n?.event === "onStateChange" && typeof n.info == "number" ? n.info : fv(n?.info)) === sv && p("playVideo");
13219
13146
  };
13220
13147
  addEventListener("message", t);
13221
13148
  let n = 0, r = setInterval(() => {
13222
- if (c.current === e && ++n > lv) {
13223
- clearInterval(r), f.current?.();
13224
- return;
13225
- }
13226
- e.contentWindow?.postMessage(JSON.stringify({
13149
+ c.current === e && ++n > lv ? (clearInterval(r), f.current?.()) : e.contentWindow?.postMessage(JSON.stringify({
13227
13150
  event: "listening",
13228
13151
  id: 1,
13229
13152
  channel: "widget"
@@ -13267,8 +13190,7 @@ border: 0;
13267
13190
  }) : m
13268
13191
  });
13269
13192
  };
13270
- //#endregion
13271
- //#region src/utils/use-scrub.ts
13193
+ // src/utils/use-scrub.ts
13272
13194
  D();
13273
13195
  var hv = ({ element: e, defaultValue: t }) => {
13274
13196
  let [n, r] = B(t), [i, a] = B(!1), o = W((t) => {
@@ -13292,8 +13214,7 @@ var hv = ({ element: e, defaultValue: t }) => {
13292
13214
  scrubHandler: o
13293
13215
  };
13294
13216
  };
13295
- //#endregion
13296
- //#region src/components/volume-control.tsx
13217
+ // src/components/volume-control.tsx
13297
13218
  j();
13298
13219
  var gv = x`
13299
13220
  display: flex;
@@ -13451,8 +13372,7 @@ gap: 0.5rem;
13451
13372
  })]
13452
13373
  });
13453
13374
  };
13454
- //#endregion
13455
- //#region src/components/text-ellipsis.tsx
13375
+ // src/components/text-ellipsis.tsx
13456
13376
  j();
13457
13377
  var vv = x`
13458
13378
  display: -webkit-box;
@@ -13532,8 +13452,7 @@ height: 100%;
13532
13452
  let r = e.slice(0, 10);
13533
13453
  return r.length ? r[Math.min(r.length - 1, Math.max(0, n(r.length)))] : t;
13534
13454
  };
13535
- //#endregion
13536
- //#region src/utils/use-cover-url.ts
13455
+ // src/utils/use-cover-url.ts
13537
13456
  j();
13538
13457
  var Iv = /* @__PURE__ */ new Map(), Lv = /* @__PURE__ */ new Map(), Rv = 3e4, zv = (e) => {
13539
13458
  let t = Iv.get(e);
@@ -13580,8 +13499,7 @@ var Iv = /* @__PURE__ */ new Map(), Lv = /* @__PURE__ */ new Map(), Rv = 3e4, zv
13580
13499
  };
13581
13500
  }, [a, t && Tv(t)]), u;
13582
13501
  };
13583
- //#endregion
13584
- //#region src/components/paged.tsx
13502
+ // src/components/paged.tsx
13585
13503
  j();
13586
13504
  var Wv = x`
13587
13505
  /* below the fixed header when a page change scrolls the list back into view */
@@ -13735,8 +13653,7 @@ var Wv = x`
13735
13653
  }) : void 0]
13736
13654
  });
13737
13655
  };
13738
- //#endregion
13739
- //#region src/components/origin-icon.tsx
13656
+ // src/components/origin-icon.tsx
13740
13657
  j();
13741
13658
  var qv = ({ icon: e, name: t }) => {
13742
13659
  let [n, r] = B(!1);
@@ -13750,8 +13667,7 @@ var qv = ({ icon: e, name: t }) => {
13750
13667
  onError: () => r(!0)
13751
13668
  });
13752
13669
  };
13753
- //#endregion
13754
- //#region src/components/source-popup.tsx
13670
+ // src/components/source-popup.tsx
13755
13671
  j();
13756
13672
  var Jv = x`
13757
13673
  position: fixed;
@@ -13879,8 +13795,7 @@ var Jv = x`
13879
13795
  })
13880
13796
  });
13881
13797
  };
13882
- //#endregion
13883
- //#region src/components/source-selector.tsx
13798
+ // src/components/source-selector.tsx
13884
13799
  j();
13885
13800
  var Xv = {
13886
13801
  cr: "#f47521",
@@ -14336,8 +14251,7 @@ var Xv = {
14336
14251
  let r = new Set(ay(t));
14337
14252
  return n.some((e) => r.has(e));
14338
14253
  }, sy = (e, t) => t?.find((t) => oy(t.uri, e)), cy = (e, t) => t && e.operation?.variables?.input?.uri === t ? e.data?.media ?? void 0 : void 0;
14339
- //#endregion
14340
- //#region src/components/media-tracking-query.ts
14254
+ // src/components/media-tracking-query.ts
14341
14255
  j();
14342
14256
  var ly = iv("\n subscription MediaTracking($input: TrackingInput!) {\n tracking(input: $input) {\n _id\n disagreements\n summary {\n _id\n status\n progress\n score\n episodeCount\n }\n answers {\n _id\n state\n candidates\n error\n episodeCount\n tracker {\n id\n name\n icon\n color\n canWrite\n statuses\n account\n scoreScale\n canClearScore\n }\n entry {\n _id\n status\n progress\n score\n episodeCount\n }\n }\n }\n }\n"), uy = iv("\n mutation SaveListEntry($input: SaveListEntryInput!) {\n saveListEntry(input: $input) {\n tracker\n outcome\n error\n entry {\n _id\n status\n progress\n score\n episodeCount\n }\n }\n }\n"), dy = ({ uri: e, title: t, cover: n, episodeCount: r }) => {
14343
14257
  let [, i] = Rr(uy);
@@ -14489,8 +14403,7 @@ var ly = iv("\n subscription MediaTracking($input: TrackingInput!) {\n track
14489
14403
  plural: "secs"
14490
14404
  }
14491
14405
  ];
14492
- //#endregion
14493
- //#region src/utils/use-now.ts
14406
+ // src/utils/use-now.ts
14494
14407
  j();
14495
14408
  var Ky = 3e4, qy = /* @__PURE__ */ new Set(), Jy, Yy = () => {
14496
14409
  let [e, t] = B(() => Date.now());
@@ -14632,8 +14545,7 @@ var Ky = 3e4, qy = /* @__PURE__ */ new Set(), Jy, Yy = () => {
14632
14545
  episodeUri: r.uri
14633
14546
  } : void 0;
14634
14547
  }, bb = (e, t) => vb(t) === "Continue" ? Math.max(0, e.findLastIndex(({ episodeNumber: e }) => e != null && e <= (t?.progress ?? 0) + 1)) : 0, xb = (e, t, n) => !!t && (t.episodeCount == null || n == null || t.episodeCount === n) && (t.status === "COMPLETED" || e != null && e > 0 && e <= (t.progress ?? 0));
14635
- //#endregion
14636
- //#region src/router/home/media-details.tsx
14548
+ // src/router/home/media-details.tsx
14637
14549
  j();
14638
14550
  var Sb = iv("\n subscription GetMediaDetails($input: MediaInput!, $descriptionInput: MediaDescriptionInput!, $details: Boolean! = false) {\n media(input: $input) {\n ...MediaFragment\n titles {\n language\n title\n score\n }\n descriptions(input: $descriptionInput) {\n language\n description\n }\n covers {\n language\n url\n }\n banners {\n language\n url\n }\n trailers {\n uri\n origin\n id\n url\n thumbnail\n }\n popularity\n categories\n type\n startDate\n endDate\n season\n seasonYear\n averageScore\n genres\n tags\n franchise {\n nodes {\n uri\n format\n status\n episodeCount\n startDate\n titles {\n title\n }\n }\n edges {\n from\n to\n relation\n }\n }\n relations {\n relation\n format\n node {\n _id\n uri\n origin\n id\n url\n status\n episodeCount\n startDate\n titles {\n title\n }\n covers {\n url\n color\n }\n }\n }\n episodes {\n ...EpisodeFragment\n episodeNumber\n releaseDate\n runtime\n titles {\n title\n }\n shortDescriptions {\n language\n shortDescription\n }\n thumbnails {\n url\n }\n handles {\n relation\n node {\n ...EpisodeFragment\n episodeNumber\n releaseDate\n titles {\n title\n }\n shortDescriptions {\n language\n shortDescription\n }\n thumbnails {\n url\n }\n }\n }\n }\n handles {\n relation\n node {\n ...MediaFragment\n handles {\n relation\n node {\n ...MediaFragment\n episodes {\n ...EpisodeFragment\n }\n }\n }\n episodes {\n ...EpisodeFragment\n }\n }\n }\n episodeCount\n status\n settled\n seasons {\n number\n uri\n }\n nextAiringEpisode {\n episodeNumber\n airingAt\n }\n airingSchedule {\n episodeNumber\n airingAt\n }\n duration @include(if: $details)\n sourceMaterial @include(if: $details)\n studios @include(if: $details)\n characters @include(if: $details) {\n name\n image\n url\n role\n voiceActors {\n name\n image\n url\n language\n }\n }\n staff @include(if: $details) {\n name\n image\n url\n roles\n }\n themes @include(if: $details) {\n kind\n sequence\n title\n artists\n video\n }\n ratings @include(if: $details) {\n source\n value\n scale\n }\n }\n }\n"), Cb = iv("\n subscription GetMediaOrigins($input: OriginPageInput!) {\n originPage(input: $input) {\n nodes {\n ...OriginFragment\n }\n }\n }\n"), wb = (e) => {
14639
14551
  let [{ data: t }] = Br({
@@ -15049,8 +14961,7 @@ var Sb = iv("\n subscription GetMediaDetails($input: MediaInput!, $descriptionI
15049
14961
  })
15050
14962
  }) : /* @__PURE__ */ z(zb, { count: Math.min(e.episodeCount || 3, Lb) });
15051
14963
  };
15052
- //#endregion
15053
- //#region src/router/home/theater.tsx
14964
+ // src/router/home/theater.tsx
15054
14965
  D();
15055
14966
  var Vb = x`
15056
14967
  height: 70vh;
@@ -15290,8 +15201,7 @@ height: 70vh;
15290
15201
  })]
15291
15202
  });
15292
15203
  };
15293
- //#endregion
15294
- //#region node_modules/react-window/dist/react-window.js
15204
+ // node_modules/react-window/dist/react-window.js
15295
15205
  D();
15296
15206
  function Kb(e) {
15297
15207
  let t = e;
@@ -15863,8 +15773,7 @@ var px = r, mx = {
15863
15773
  })]
15864
15774
  });
15865
15775
  };
15866
- //#endregion
15867
- //#region src/components/draggable.tsx
15776
+ // src/components/draggable.tsx
15868
15777
  D();
15869
15778
  var _x = x`
15870
15779
  cursor: grab;
@@ -15937,8 +15846,7 @@ var _x = x`
15937
15846
  children: e
15938
15847
  });
15939
15848
  };
15940
- //#endregion
15941
- //#region src/components/media-preview.tsx
15849
+ // src/components/media-preview.tsx
15942
15850
  j();
15943
15851
  var yx = x`
15944
15852
  display: grid;
@@ -16051,8 +15959,7 @@ a {
16051
15959
  })]
16052
15960
  });
16053
15961
  };
16054
- //#endregion
16055
- //#region src/router/home/media-section.tsx
15962
+ // src/router/home/media-section.tsx
16056
15963
  D();
16057
15964
  var xx = x`
16058
15965
  display: flex;
@@ -16249,8 +16156,7 @@ position: relative;
16249
16156
  })]
16250
16157
  });
16251
16158
  };
16252
- //#endregion
16253
- //#region src/components/collapsible.tsx
16159
+ // src/components/collapsible.tsx
16254
16160
  j();
16255
16161
  var wx = x`
16256
16162
  position: relative;
@@ -16321,7 +16227,7 @@ transition: max-height 0.3s ease-in-out;
16321
16227
  }) : void 0
16322
16228
  ]
16323
16229
  });
16324
- }, Ex = "this build of the worker exposes no traceGraph, so there is nothing to read a trace from", Dx = async () => await import("./assets/lib-worker-CwmB42Tz.js"), Ox = async (e) => {
16230
+ }, Ex = "this build of the worker exposes no traceGraph, so there is nothing to read a trace from", Dx = async () => await import("./assets/lib-worker-CAtrMpYx.js"), Ox = async (e) => {
16325
16231
  let t = await Dx();
16326
16232
  if (typeof t.traceGraph != "function") throw Error(Ex);
16327
16233
  return t.traceGraph(e);
@@ -16689,8 +16595,7 @@ transition: max-height 0.3s ease-in-out;
16689
16595
  to: n($i(e[0].uri)),
16690
16596
  replace: !0
16691
16597
  });
16692
- //#endregion
16693
- //#region node_modules/classcat/index.js
16598
+ // node_modules/classcat/index.js
16694
16599
  function fS(e) {
16695
16600
  if (typeof e == "string" || typeof e == "number") return "" + e;
16696
16601
  let t = "";
@@ -16698,8 +16603,7 @@ function fS(e) {
16698
16603
  else for (let n in e) e[n] && (t += (t && " ") + n);
16699
16604
  return t;
16700
16605
  }
16701
- //#endregion
16702
- //#region node_modules/d3-dispatch/src/dispatch.js
16606
+ // node_modules/d3-dispatch/src/dispatch.js
16703
16607
  var pS = { value: () => {} };
16704
16608
  function mS() {
16705
16609
  for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
@@ -16727,12 +16631,12 @@ hS.prototype = mS.prototype = {
16727
16631
  var n = this._, r = gS(e + "", n), i, a = -1, o = r.length;
16728
16632
  if (arguments.length < 2) {
16729
16633
  for (; ++a < o;) if ((i = (e = r[a]).type) && (i = _S(n[i], e.name))) return i;
16730
- return;
16634
+ } else {
16635
+ if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
16636
+ for (; ++a < o;) if (i = (e = r[a]).type) n[i] = vS(n[i], e.name, t);
16637
+ else if (t == null) for (i in n) n[i] = vS(n[i], e.name, null);
16638
+ return this;
16731
16639
  }
16732
- if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
16733
- for (; ++a < o;) if (i = (e = r[a]).type) n[i] = vS(n[i], e.name, t);
16734
- else if (t == null) for (i in n) n[i] = vS(n[i], e.name, null);
16735
- return this;
16736
16640
  },
16737
16641
  copy: function() {
16738
16642
  var e = {}, t = this._;
@@ -16769,8 +16673,7 @@ var yS = {
16769
16673
  xml: "http://www.w3.org/XML/1998/namespace",
16770
16674
  xmlns: "http://www.w3.org/2000/xmlns/"
16771
16675
  };
16772
- //#endregion
16773
- //#region node_modules/d3-selection/src/namespace.js
16676
+ // node_modules/d3-selection/src/namespace.js
16774
16677
  function bS(e) {
16775
16678
  var t = e += "", n = t.indexOf(":");
16776
16679
  return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), yS.hasOwnProperty(t) ? {
@@ -16778,8 +16681,7 @@ function bS(e) {
16778
16681
  local: e
16779
16682
  } : e;
16780
16683
  }
16781
- //#endregion
16782
- //#region node_modules/d3-selection/src/creator.js
16684
+ // node_modules/d3-selection/src/creator.js
16783
16685
  function xS(e) {
16784
16686
  return function() {
16785
16687
  var t = this.ownerDocument, n = this.namespaceURI;
@@ -16795,28 +16697,24 @@ function CS(e) {
16795
16697
  var t = bS(e);
16796
16698
  return (t.local ? SS : xS)(t);
16797
16699
  }
16798
- //#endregion
16799
- //#region node_modules/d3-selection/src/selector.js
16700
+ // node_modules/d3-selection/src/selector.js
16800
16701
  function wS() {}
16801
16702
  function TS(e) {
16802
16703
  return e == null ? wS : function() {
16803
16704
  return this.querySelector(e);
16804
16705
  };
16805
16706
  }
16806
- //#endregion
16807
- //#region node_modules/d3-selection/src/selection/select.js
16707
+ // node_modules/d3-selection/src/selection/select.js
16808
16708
  function ES(e) {
16809
16709
  typeof e != "function" && (e = TS(e));
16810
16710
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
16811
16711
  return new mw(r, this._parents);
16812
16712
  }
16813
- //#endregion
16814
- //#region node_modules/d3-selection/src/array.js
16713
+ // node_modules/d3-selection/src/array.js
16815
16714
  function DS(e) {
16816
16715
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
16817
16716
  }
16818
- //#endregion
16819
- //#region node_modules/d3-selection/src/selectorAll.js
16717
+ // node_modules/d3-selection/src/selectorAll.js
16820
16718
  function OS() {
16821
16719
  return [];
16822
16720
  }
@@ -16825,8 +16723,7 @@ function kS(e) {
16825
16723
  return this.querySelectorAll(e);
16826
16724
  };
16827
16725
  }
16828
- //#endregion
16829
- //#region node_modules/d3-selection/src/selection/selectAll.js
16726
+ // node_modules/d3-selection/src/selection/selectAll.js
16830
16727
  function AS(e) {
16831
16728
  return function() {
16832
16729
  return DS(e.apply(this, arguments));
@@ -16837,8 +16734,7 @@ function jS(e) {
16837
16734
  for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
16838
16735
  return new mw(r, i);
16839
16736
  }
16840
- //#endregion
16841
- //#region node_modules/d3-selection/src/matcher.js
16737
+ // node_modules/d3-selection/src/matcher.js
16842
16738
  function MS(e) {
16843
16739
  return function() {
16844
16740
  return this.matches(e);
@@ -16849,8 +16745,7 @@ function NS(e) {
16849
16745
  return t.matches(e);
16850
16746
  };
16851
16747
  }
16852
- //#endregion
16853
- //#region node_modules/d3-selection/src/selection/selectChild.js
16748
+ // node_modules/d3-selection/src/selection/selectChild.js
16854
16749
  var PS = Array.prototype.find;
16855
16750
  function FS(e) {
16856
16751
  return function() {
@@ -16863,8 +16758,7 @@ function IS() {
16863
16758
  function LS(e) {
16864
16759
  return this.select(e == null ? IS : FS(typeof e == "function" ? e : NS(e)));
16865
16760
  }
16866
- //#endregion
16867
- //#region node_modules/d3-selection/src/selection/selectChildren.js
16761
+ // node_modules/d3-selection/src/selection/selectChildren.js
16868
16762
  var RS = Array.prototype.filter;
16869
16763
  function zS() {
16870
16764
  return Array.from(this.children);
@@ -16877,20 +16771,17 @@ function BS(e) {
16877
16771
  function VS(e) {
16878
16772
  return this.selectAll(e == null ? zS : BS(typeof e == "function" ? e : NS(e)));
16879
16773
  }
16880
- //#endregion
16881
- //#region node_modules/d3-selection/src/selection/filter.js
16774
+ // node_modules/d3-selection/src/selection/filter.js
16882
16775
  function HS(e) {
16883
16776
  typeof e != "function" && (e = MS(e));
16884
16777
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
16885
16778
  return new mw(r, this._parents);
16886
16779
  }
16887
- //#endregion
16888
- //#region node_modules/d3-selection/src/selection/sparse.js
16780
+ // node_modules/d3-selection/src/selection/sparse.js
16889
16781
  function US(e) {
16890
16782
  return Array(e.length);
16891
16783
  }
16892
- //#endregion
16893
- //#region node_modules/d3-selection/src/selection/enter.js
16784
+ // node_modules/d3-selection/src/selection/enter.js
16894
16785
  function WS() {
16895
16786
  return new mw(this._enter || this._groups.map(US), this._parents);
16896
16787
  }
@@ -16912,15 +16803,13 @@ GS.prototype = {
16912
16803
  return this._parent.querySelectorAll(e);
16913
16804
  }
16914
16805
  };
16915
- //#endregion
16916
- //#region node_modules/d3-selection/src/constant.js
16806
+ // node_modules/d3-selection/src/constant.js
16917
16807
  function KS(e) {
16918
16808
  return function() {
16919
16809
  return e;
16920
16810
  };
16921
16811
  }
16922
- //#endregion
16923
- //#region node_modules/d3-selection/src/selection/data.js
16812
+ // node_modules/d3-selection/src/selection/data.js
16924
16813
  function qS(e, t, n, r, i, a) {
16925
16814
  for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new GS(e, a[o]);
16926
16815
  for (; o < c; ++o) (s = t[o]) && (i[o] = s);
@@ -16951,32 +16840,27 @@ function XS(e, t) {
16951
16840
  function ZS(e) {
16952
16841
  return typeof e == "object" && "length" in e ? e : Array.from(e);
16953
16842
  }
16954
- //#endregion
16955
- //#region node_modules/d3-selection/src/selection/exit.js
16843
+ // node_modules/d3-selection/src/selection/exit.js
16956
16844
  function QS() {
16957
16845
  return new mw(this._exit || this._groups.map(US), this._parents);
16958
16846
  }
16959
- //#endregion
16960
- //#region node_modules/d3-selection/src/selection/join.js
16847
+ // node_modules/d3-selection/src/selection/join.js
16961
16848
  function $S(e, t, n) {
16962
16849
  var r = this.enter(), i = this, a = this.exit();
16963
16850
  return typeof e == "function" ? (r = e(r), r &&= r.selection()) : r = r.append(e + ""), t != null && (i = t(i), i &&= i.selection()), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
16964
16851
  }
16965
- //#endregion
16966
- //#region node_modules/d3-selection/src/selection/merge.js
16852
+ // node_modules/d3-selection/src/selection/merge.js
16967
16853
  function eC(e) {
16968
16854
  for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
16969
16855
  for (; c < i; ++c) s[c] = n[c];
16970
16856
  return new mw(s, this._parents);
16971
16857
  }
16972
- //#endregion
16973
- //#region node_modules/d3-selection/src/selection/order.js
16858
+ // node_modules/d3-selection/src/selection/order.js
16974
16859
  function tC() {
16975
16860
  for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
16976
16861
  return this;
16977
16862
  }
16978
- //#endregion
16979
- //#region node_modules/d3-selection/src/selection/sort.js
16863
+ // node_modules/d3-selection/src/selection/sort.js
16980
16864
  function nC(e) {
16981
16865
  e ||= rC;
16982
16866
  function t(t, n) {
@@ -16991,19 +16875,16 @@ function nC(e) {
16991
16875
  function rC(e, t) {
16992
16876
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
16993
16877
  }
16994
- //#endregion
16995
- //#region node_modules/d3-selection/src/selection/call.js
16878
+ // node_modules/d3-selection/src/selection/call.js
16996
16879
  function iC() {
16997
16880
  var e = arguments[0];
16998
16881
  return arguments[0] = this, e.apply(null, arguments), this;
16999
16882
  }
17000
- //#endregion
17001
- //#region node_modules/d3-selection/src/selection/nodes.js
16883
+ // node_modules/d3-selection/src/selection/nodes.js
17002
16884
  function aC() {
17003
16885
  return Array.from(this);
17004
16886
  }
17005
- //#endregion
17006
- //#region node_modules/d3-selection/src/selection/node.js
16887
+ // node_modules/d3-selection/src/selection/node.js
17007
16888
  function oC() {
17008
16889
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
17009
16890
  var o = r[i];
@@ -17011,26 +16892,22 @@ function oC() {
17011
16892
  }
17012
16893
  return null;
17013
16894
  }
17014
- //#endregion
17015
- //#region node_modules/d3-selection/src/selection/size.js
16895
+ // node_modules/d3-selection/src/selection/size.js
17016
16896
  function sC() {
17017
16897
  let e = 0;
17018
16898
  for (let t of this) ++e;
17019
16899
  return e;
17020
16900
  }
17021
- //#endregion
17022
- //#region node_modules/d3-selection/src/selection/empty.js
16901
+ // node_modules/d3-selection/src/selection/empty.js
17023
16902
  function cC() {
17024
16903
  return !this.node();
17025
16904
  }
17026
- //#endregion
17027
- //#region node_modules/d3-selection/src/selection/each.js
16905
+ // node_modules/d3-selection/src/selection/each.js
17028
16906
  function lC(e) {
17029
16907
  for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
17030
16908
  return this;
17031
16909
  }
17032
- //#endregion
17033
- //#region node_modules/d3-selection/src/selection/attr.js
16910
+ // node_modules/d3-selection/src/selection/attr.js
17034
16911
  function uC(e) {
17035
16912
  return function() {
17036
16913
  this.removeAttribute(e);
@@ -17071,13 +16948,11 @@ function gC(e, t) {
17071
16948
  }
17072
16949
  return this.each((t == null ? n.local ? dC : uC : typeof t == "function" ? n.local ? hC : mC : n.local ? pC : fC)(n, t));
17073
16950
  }
17074
- //#endregion
17075
- //#region node_modules/d3-selection/src/window.js
16951
+ // node_modules/d3-selection/src/window.js
17076
16952
  function _C(e) {
17077
16953
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
17078
16954
  }
17079
- //#endregion
17080
- //#region node_modules/d3-selection/src/selection/style.js
16955
+ // node_modules/d3-selection/src/selection/style.js
17081
16956
  function vC(e) {
17082
16957
  return function() {
17083
16958
  this.style.removeProperty(e);
@@ -17100,8 +16975,7 @@ function xC(e, t, n) {
17100
16975
  function SC(e, t) {
17101
16976
  return e.style.getPropertyValue(t) || _C(e).getComputedStyle(e, null).getPropertyValue(t);
17102
16977
  }
17103
- //#endregion
17104
- //#region node_modules/d3-selection/src/selection/property.js
16978
+ // node_modules/d3-selection/src/selection/property.js
17105
16979
  function CC(e) {
17106
16980
  return function() {
17107
16981
  delete this[e];
@@ -17121,8 +16995,7 @@ function TC(e, t) {
17121
16995
  function EC(e, t) {
17122
16996
  return arguments.length > 1 ? this.each((t == null ? CC : typeof t == "function" ? TC : wC)(e, t)) : this.node()[e];
17123
16997
  }
17124
- //#endregion
17125
- //#region node_modules/d3-selection/src/selection/classed.js
16998
+ // node_modules/d3-selection/src/selection/classed.js
17126
16999
  function DC(e) {
17127
17000
  return e.trim().split(/^|\s+/);
17128
17001
  }
@@ -17173,8 +17046,7 @@ function FC(e, t) {
17173
17046
  }
17174
17047
  return this.each((typeof t == "function" ? PC : t ? MC : NC)(n, t));
17175
17048
  }
17176
- //#endregion
17177
- //#region node_modules/d3-selection/src/selection/text.js
17049
+ // node_modules/d3-selection/src/selection/text.js
17178
17050
  function IC() {
17179
17051
  this.textContent = "";
17180
17052
  }
@@ -17192,8 +17064,7 @@ function RC(e) {
17192
17064
  function zC(e) {
17193
17065
  return arguments.length ? this.each(e == null ? IC : (typeof e == "function" ? RC : LC)(e)) : this.node().textContent;
17194
17066
  }
17195
- //#endregion
17196
- //#region node_modules/d3-selection/src/selection/html.js
17067
+ // node_modules/d3-selection/src/selection/html.js
17197
17068
  function BC() {
17198
17069
  this.innerHTML = "";
17199
17070
  }
@@ -17211,32 +17082,28 @@ function HC(e) {
17211
17082
  function UC(e) {
17212
17083
  return arguments.length ? this.each(e == null ? BC : (typeof e == "function" ? HC : VC)(e)) : this.node().innerHTML;
17213
17084
  }
17214
- //#endregion
17215
- //#region node_modules/d3-selection/src/selection/raise.js
17085
+ // node_modules/d3-selection/src/selection/raise.js
17216
17086
  function WC() {
17217
17087
  this.nextSibling && this.parentNode.appendChild(this);
17218
17088
  }
17219
17089
  function GC() {
17220
17090
  return this.each(WC);
17221
17091
  }
17222
- //#endregion
17223
- //#region node_modules/d3-selection/src/selection/lower.js
17092
+ // node_modules/d3-selection/src/selection/lower.js
17224
17093
  function KC() {
17225
17094
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
17226
17095
  }
17227
17096
  function qC() {
17228
17097
  return this.each(KC);
17229
17098
  }
17230
- //#endregion
17231
- //#region node_modules/d3-selection/src/selection/append.js
17099
+ // node_modules/d3-selection/src/selection/append.js
17232
17100
  function JC(e) {
17233
17101
  var t = typeof e == "function" ? e : CS(e);
17234
17102
  return this.select(function() {
17235
17103
  return this.appendChild(t.apply(this, arguments));
17236
17104
  });
17237
17105
  }
17238
- //#endregion
17239
- //#region node_modules/d3-selection/src/selection/insert.js
17106
+ // node_modules/d3-selection/src/selection/insert.js
17240
17107
  function YC() {
17241
17108
  return null;
17242
17109
  }
@@ -17246,8 +17113,7 @@ function XC(e, t) {
17246
17113
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
17247
17114
  });
17248
17115
  }
17249
- //#endregion
17250
- //#region node_modules/d3-selection/src/selection/remove.js
17116
+ // node_modules/d3-selection/src/selection/remove.js
17251
17117
  function ZC() {
17252
17118
  var e = this.parentNode;
17253
17119
  e && e.removeChild(this);
@@ -17255,8 +17121,7 @@ function ZC() {
17255
17121
  function QC() {
17256
17122
  return this.each(ZC);
17257
17123
  }
17258
- //#endregion
17259
- //#region node_modules/d3-selection/src/selection/clone.js
17124
+ // node_modules/d3-selection/src/selection/clone.js
17260
17125
  function $C() {
17261
17126
  var e = this.cloneNode(!1), t = this.parentNode;
17262
17127
  return t ? t.insertBefore(e, this.nextSibling) : e;
@@ -17268,13 +17133,11 @@ function ew() {
17268
17133
  function tw(e) {
17269
17134
  return this.select(e ? ew : $C);
17270
17135
  }
17271
- //#endregion
17272
- //#region node_modules/d3-selection/src/selection/datum.js
17136
+ // node_modules/d3-selection/src/selection/datum.js
17273
17137
  function nw(e) {
17274
17138
  return arguments.length ? this.property("__data__", e) : this.node().__data__;
17275
17139
  }
17276
- //#endregion
17277
- //#region node_modules/d3-selection/src/selection/on.js
17140
+ // node_modules/d3-selection/src/selection/on.js
17278
17141
  function rw(e) {
17279
17142
  return function(t) {
17280
17143
  e.call(this, t, this.__data__);
@@ -17323,13 +17186,12 @@ function sw(e, t, n) {
17323
17186
  if (s) {
17324
17187
  for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
17325
17188
  }
17326
- return;
17189
+ } else {
17190
+ for (s = t ? ow : aw, i = 0; i < a; ++i) this.each(s(r[i], t, n));
17191
+ return this;
17327
17192
  }
17328
- for (s = t ? ow : aw, i = 0; i < a; ++i) this.each(s(r[i], t, n));
17329
- return this;
17330
17193
  }
17331
- //#endregion
17332
- //#region node_modules/d3-selection/src/selection/dispatch.js
17194
+ // node_modules/d3-selection/src/selection/dispatch.js
17333
17195
  function cw(e, t, n) {
17334
17196
  var r = _C(e), i = r.CustomEvent;
17335
17197
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
@@ -17347,13 +17209,11 @@ function uw(e, t) {
17347
17209
  function dw(e, t) {
17348
17210
  return this.each((typeof t == "function" ? uw : lw)(e, t));
17349
17211
  }
17350
- //#endregion
17351
- //#region node_modules/d3-selection/src/selection/iterator.js
17212
+ // node_modules/d3-selection/src/selection/iterator.js
17352
17213
  function* fw() {
17353
17214
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
17354
17215
  }
17355
- //#endregion
17356
- //#region node_modules/d3-selection/src/selection/index.js
17216
+ // node_modules/d3-selection/src/selection/index.js
17357
17217
  var pw = [null];
17358
17218
  function mw(e, t) {
17359
17219
  this._groups = e, this._parents = t;
@@ -17402,20 +17262,17 @@ mw.prototype = hw.prototype = {
17402
17262
  dispatch: dw,
17403
17263
  [Symbol.iterator]: fw
17404
17264
  };
17405
- //#endregion
17406
- //#region node_modules/d3-selection/src/select.js
17265
+ // node_modules/d3-selection/src/select.js
17407
17266
  function _w(e) {
17408
17267
  return typeof e == "string" ? new mw([[document.querySelector(e)]], [document.documentElement]) : new mw([[e]], pw);
17409
17268
  }
17410
- //#endregion
17411
- //#region node_modules/d3-selection/src/sourceEvent.js
17269
+ // node_modules/d3-selection/src/sourceEvent.js
17412
17270
  function vw(e) {
17413
17271
  let t;
17414
17272
  for (; t = e.sourceEvent;) e = t;
17415
17273
  return e;
17416
17274
  }
17417
- //#endregion
17418
- //#region node_modules/d3-selection/src/pointer.js
17275
+ // node_modules/d3-selection/src/pointer.js
17419
17276
  function yw(e, t) {
17420
17277
  if (e = vw(e), t === void 0 && (t = e.currentTarget), t) {
17421
17278
  var n = t.ownerSVGElement || t;
@@ -17430,8 +17287,7 @@ function yw(e, t) {
17430
17287
  }
17431
17288
  return [e.pageX, e.pageY];
17432
17289
  }
17433
- //#endregion
17434
- //#region node_modules/d3-drag/src/noevent.js
17290
+ // node_modules/d3-drag/src/noevent.js
17435
17291
  var bw = { passive: !1 }, xw = {
17436
17292
  capture: !0,
17437
17293
  passive: !1
@@ -17442,8 +17298,7 @@ function Sw(e) {
17442
17298
  function Cw(e) {
17443
17299
  e.preventDefault(), e.stopImmediatePropagation();
17444
17300
  }
17445
- //#endregion
17446
- //#region node_modules/d3-drag/src/nodrag.js
17301
+ // node_modules/d3-drag/src/nodrag.js
17447
17302
  function ww(e) {
17448
17303
  var t = e.document.documentElement, n = _w(e).on("dragstart.drag", Cw, xw);
17449
17304
  "onselectstart" in t ? n.on("selectstart.drag", Cw, xw) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
@@ -17454,11 +17309,9 @@ function Tw(e, t) {
17454
17309
  r.on("click.drag", null);
17455
17310
  }, 0)), "onselectstart" in n ? r.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect);
17456
17311
  }
17457
- //#endregion
17458
- //#region node_modules/d3-drag/src/constant.js
17312
+ // node_modules/d3-drag/src/constant.js
17459
17313
  var Ew = (e) => () => e;
17460
- //#endregion
17461
- //#region node_modules/d3-drag/src/event.js
17314
+ // node_modules/d3-drag/src/event.js
17462
17315
  function Dw(e, { sourceEvent: t, subject: n, target: r, identifier: i, active: a, x: o, y: s, dx: c, dy: l, dispatch: u }) {
17463
17316
  Object.defineProperties(this, {
17464
17317
  type: {
@@ -17518,8 +17371,7 @@ Dw.prototype.on = function() {
17518
17371
  var e = this._.on.apply(this._, arguments);
17519
17372
  return e === this._ ? this : e;
17520
17373
  };
17521
- //#endregion
17522
- //#region node_modules/d3-drag/src/drag.js
17374
+ // node_modules/d3-drag/src/drag.js
17523
17375
  function Ow(e) {
17524
17376
  return !e.ctrlKey && !e.button;
17525
17377
  }
@@ -17618,8 +17470,7 @@ function Mw() {
17618
17470
  return arguments.length ? (d = (e = +e) * e, f) : Math.sqrt(d);
17619
17471
  }, f;
17620
17472
  }
17621
- //#endregion
17622
- //#region node_modules/d3-color/src/define.js
17473
+ // node_modules/d3-color/src/define.js
17623
17474
  function Nw(e, t, n) {
17624
17475
  e.prototype = t.prototype = n, n.constructor = e;
17625
17476
  }
@@ -17628,8 +17479,7 @@ function Pw(e, t) {
17628
17479
  for (var r in t) n[r] = t[r];
17629
17480
  return n;
17630
17481
  }
17631
- //#endregion
17632
- //#region node_modules/d3-color/src/color.js
17482
+ // node_modules/d3-color/src/color.js
17633
17483
  function Fw() {}
17634
17484
  var Iw = .7, Lw = 1 / Iw, Rw = "\\s*([+-]?\\d+)\\s*", zw = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Bw = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Vw = /^#([0-9a-f]{3,8})$/, Hw = RegExp(`^rgb\\(${Rw},${Rw},${Rw}\\)$`), Uw = RegExp(`^rgb\\(${Bw},${Bw},${Bw}\\)$`), Ww = RegExp(`^rgba\\(${Rw},${Rw},${Rw},${zw}\\)$`), Gw = RegExp(`^rgba\\(${Bw},${Bw},${Bw},${zw}\\)$`), Kw = RegExp(`^hsl\\(${zw},${Bw},${Bw}\\)$`), qw = RegExp(`^hsla\\(${zw},${Bw},${Bw},${zw}\\)$`), Jw = {
17635
17485
  aliceblue: 15792383,
@@ -17915,11 +17765,9 @@ function gT(e) {
17915
17765
  function _T(e, t, n) {
17916
17766
  return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
17917
17767
  }
17918
- //#endregion
17919
- //#region node_modules/d3-interpolate/src/constant.js
17768
+ // node_modules/d3-interpolate/src/constant.js
17920
17769
  var vT = (e) => () => e;
17921
- //#endregion
17922
- //#region node_modules/d3-interpolate/src/color.js
17770
+ // node_modules/d3-interpolate/src/color.js
17923
17771
  function yT(e, t) {
17924
17772
  return function(n) {
17925
17773
  return e + n * t;
@@ -17939,8 +17787,7 @@ function ST(e, t) {
17939
17787
  var n = t - e;
17940
17788
  return n ? yT(e, n) : vT(isNaN(e) ? t : e);
17941
17789
  }
17942
- //#endregion
17943
- //#region node_modules/d3-interpolate/src/rgb.js
17790
+ // node_modules/d3-interpolate/src/rgb.js
17944
17791
  var CT = (function e(t) {
17945
17792
  var n = xT(t);
17946
17793
  function r(e, t) {
@@ -17951,8 +17798,7 @@ var CT = (function e(t) {
17951
17798
  }
17952
17799
  return r.gamma = e, r;
17953
17800
  })(1);
17954
- //#endregion
17955
- //#region node_modules/d3-interpolate/src/numberArray.js
17801
+ // node_modules/d3-interpolate/src/numberArray.js
17956
17802
  function wT(e, t) {
17957
17803
  t ||= [];
17958
17804
  var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
@@ -17964,8 +17810,7 @@ function wT(e, t) {
17964
17810
  function TT(e) {
17965
17811
  return ArrayBuffer.isView(e) && !(e instanceof DataView);
17966
17812
  }
17967
- //#endregion
17968
- //#region node_modules/d3-interpolate/src/array.js
17813
+ // node_modules/d3-interpolate/src/array.js
17969
17814
  function ET(e, t) {
17970
17815
  for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = FT(e[o], t[o]);
17971
17816
  for (; o < n; ++o) a[o] = t[o];
@@ -17974,33 +17819,29 @@ function ET(e, t) {
17974
17819
  return a;
17975
17820
  };
17976
17821
  }
17977
- //#endregion
17978
- //#region node_modules/d3-interpolate/src/date.js
17822
+ // node_modules/d3-interpolate/src/date.js
17979
17823
  function DT(e, t) {
17980
17824
  var n = /* @__PURE__ */ new Date();
17981
17825
  return e = +e, t = +t, function(r) {
17982
17826
  return n.setTime(e * (1 - r) + t * r), n;
17983
17827
  };
17984
17828
  }
17985
- //#endregion
17986
- //#region node_modules/d3-interpolate/src/number.js
17829
+ // node_modules/d3-interpolate/src/number.js
17987
17830
  function OT(e, t) {
17988
17831
  return e = +e, t = +t, function(n) {
17989
17832
  return e * (1 - n) + t * n;
17990
17833
  };
17991
17834
  }
17992
- //#endregion
17993
- //#region node_modules/d3-interpolate/src/object.js
17835
+ // node_modules/d3-interpolate/src/object.js
17994
17836
  function kT(e, t) {
17995
17837
  var n = {}, r = {}, i;
17996
- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = FT(e[i], t[i]) : r[i] = t[i];
17838
+ for (i in typeof e == "object" && e || (e = {}), typeof t == "object" && t || (t = {}), t) i in e ? n[i] = FT(e[i], t[i]) : r[i] = t[i];
17997
17839
  return function(e) {
17998
17840
  for (i in n) r[i] = n[i](e);
17999
17841
  return r;
18000
17842
  };
18001
17843
  }
18002
- //#endregion
18003
- //#region node_modules/d3-interpolate/src/string.js
17844
+ // node_modules/d3-interpolate/src/string.js
18004
17845
  var AT = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, jT = new RegExp(AT.source, "g");
18005
17846
  function MT(e) {
18006
17847
  return function() {
@@ -18023,14 +17864,12 @@ function PT(e, t) {
18023
17864
  return s.join("");
18024
17865
  });
18025
17866
  }
18026
- //#endregion
18027
- //#region node_modules/d3-interpolate/src/value.js
17867
+ // node_modules/d3-interpolate/src/value.js
18028
17868
  function FT(e, t) {
18029
17869
  var n = typeof t, r;
18030
17870
  return t == null || n === "boolean" ? vT(t) : (n === "number" ? OT : n === "string" ? (r = $w(t)) ? (t = r, CT) : PT : t instanceof $w ? CT : t instanceof Date ? DT : TT(t) ? wT : Array.isArray(t) ? ET : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? kT : OT)(e, t);
18031
17871
  }
18032
- //#endregion
18033
- //#region node_modules/d3-interpolate/src/transform/decompose.js
17872
+ // node_modules/d3-interpolate/src/transform/decompose.js
18034
17873
  var IT = 180 / Math.PI, LT = {
18035
17874
  translateX: 0,
18036
17875
  translateY: 0,
@@ -18050,8 +17889,7 @@ function RT(e, t, n, r, i, a) {
18050
17889
  scaleY: s
18051
17890
  };
18052
17891
  }
18053
- //#endregion
18054
- //#region node_modules/d3-interpolate/src/transform/parse.js
17892
+ // node_modules/d3-interpolate/src/transform/parse.js
18055
17893
  var zT;
18056
17894
  function BT(e) {
18057
17895
  let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
@@ -18060,8 +17898,7 @@ function BT(e) {
18060
17898
  function VT(e) {
18061
17899
  return e == null || (zT ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), zT.setAttribute("transform", e), !(e = zT.transform.baseVal.consolidate())) ? LT : (e = e.matrix, RT(e.a, e.b, e.c, e.d, e.e, e.f));
18062
17900
  }
18063
- //#endregion
18064
- //#region node_modules/d3-interpolate/src/transform/index.js
17901
+ // node_modules/d3-interpolate/src/transform/index.js
18065
17902
  function HT(e, t, n, r) {
18066
17903
  function i(e) {
18067
17904
  return e.length ? e.pop() + " " : "";
@@ -18197,16 +18034,14 @@ function mE() {
18197
18034
  function hE(e) {
18198
18035
  XT || (ZT &&= clearTimeout(ZT), e - rE > 24 ? (e < Infinity && (ZT = setTimeout(fE, e - aE.now() - iE)), QT &&= clearInterval(QT)) : (QT ||= (nE = aE.now(), setInterval(pE, $T)), XT = 1, oE(fE)));
18199
18036
  }
18200
- //#endregion
18201
- //#region node_modules/d3-timer/src/timeout.js
18037
+ // node_modules/d3-timer/src/timeout.js
18202
18038
  function gE(e, t, n) {
18203
18039
  var r = new lE();
18204
18040
  return t = t == null ? 0 : +t, r.restart((n) => {
18205
18041
  r.stop(), e(n + t);
18206
18042
  }, t, n), r;
18207
18043
  }
18208
- //#endregion
18209
- //#region node_modules/d3-transition/src/transition/schedule.js
18044
+ // node_modules/d3-transition/src/transition/schedule.js
18210
18045
  var _E = mS("start", "end", "cancel", "interrupt"), vE = [];
18211
18046
  function yE(e, t, n, r, i, a) {
18212
18047
  var o = e.__transition;
@@ -18270,30 +18105,21 @@ function CE(e, t, n) {
18270
18105
  delete e.__transition;
18271
18106
  }
18272
18107
  }
18273
- //#endregion
18274
- //#region node_modules/d3-transition/src/interrupt.js
18108
+ // node_modules/d3-transition/src/interrupt.js
18275
18109
  function wE(e, t) {
18276
18110
  var n = e.__transition, r, i, a = !0, o;
18277
18111
  if (n) {
18278
- for (o in t = t == null ? null : t + "", n) {
18279
- if ((r = n[o]).name !== t) {
18280
- a = !1;
18281
- continue;
18282
- }
18283
- i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
18284
- }
18112
+ for (o in t = t == null ? null : t + "", n) (r = n[o]).name === t ? (i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o]) : a = !1;
18285
18113
  a && delete e.__transition;
18286
18114
  }
18287
18115
  }
18288
- //#endregion
18289
- //#region node_modules/d3-transition/src/selection/interrupt.js
18116
+ // node_modules/d3-transition/src/selection/interrupt.js
18290
18117
  function TE(e) {
18291
18118
  return this.each(function() {
18292
18119
  wE(this, e);
18293
18120
  });
18294
18121
  }
18295
- //#endregion
18296
- //#region node_modules/d3-transition/src/transition/tween.js
18122
+ // node_modules/d3-transition/src/transition/tween.js
18297
18123
  function EE(e, t) {
18298
18124
  var n, r;
18299
18125
  return function() {
@@ -18344,14 +18170,12 @@ function kE(e, t, n) {
18344
18170
  return SE(e, r).value[t];
18345
18171
  };
18346
18172
  }
18347
- //#endregion
18348
- //#region node_modules/d3-transition/src/transition/interpolate.js
18173
+ // node_modules/d3-transition/src/transition/interpolate.js
18349
18174
  function AE(e, t) {
18350
18175
  var n;
18351
18176
  return (typeof t == "number" ? OT : t instanceof $w ? CT : (n = $w(t)) ? (t = n, CT) : PT)(e, t);
18352
18177
  }
18353
- //#endregion
18354
- //#region node_modules/d3-transition/src/transition/attr.js
18178
+ // node_modules/d3-transition/src/transition/attr.js
18355
18179
  function jE(e) {
18356
18180
  return function() {
18357
18181
  this.removeAttribute(e);
@@ -18394,8 +18218,7 @@ function LE(e, t) {
18394
18218
  var n = bS(e), r = n === "transform" ? WT : AE;
18395
18219
  return this.attrTween(e, typeof t == "function" ? (n.local ? IE : FE)(n, r, kE(this, "attr." + e, t)) : t == null ? (n.local ? ME : jE)(n) : (n.local ? PE : NE)(n, r, t));
18396
18220
  }
18397
- //#endregion
18398
- //#region node_modules/d3-transition/src/transition/attrTween.js
18221
+ // node_modules/d3-transition/src/transition/attrTween.js
18399
18222
  function RE(e, t) {
18400
18223
  return function(n) {
18401
18224
  this.setAttribute(e, t.call(this, n));
@@ -18430,8 +18253,7 @@ function HE(e, t) {
18430
18253
  var r = bS(e);
18431
18254
  return this.tween(n, (r.local ? BE : VE)(r, t));
18432
18255
  }
18433
- //#endregion
18434
- //#region node_modules/d3-transition/src/transition/delay.js
18256
+ // node_modules/d3-transition/src/transition/delay.js
18435
18257
  function UE(e, t) {
18436
18258
  return function() {
18437
18259
  bE(this, e).delay = +t.apply(this, arguments);
@@ -18446,8 +18268,7 @@ function GE(e) {
18446
18268
  var t = this._id;
18447
18269
  return arguments.length ? this.each((typeof e == "function" ? UE : WE)(t, e)) : SE(this.node(), t).delay;
18448
18270
  }
18449
- //#endregion
18450
- //#region node_modules/d3-transition/src/transition/duration.js
18271
+ // node_modules/d3-transition/src/transition/duration.js
18451
18272
  function KE(e, t) {
18452
18273
  return function() {
18453
18274
  xE(this, e).duration = +t.apply(this, arguments);
@@ -18462,8 +18283,7 @@ function JE(e) {
18462
18283
  var t = this._id;
18463
18284
  return arguments.length ? this.each((typeof e == "function" ? KE : qE)(t, e)) : SE(this.node(), t).duration;
18464
18285
  }
18465
- //#endregion
18466
- //#region node_modules/d3-transition/src/transition/ease.js
18286
+ // node_modules/d3-transition/src/transition/ease.js
18467
18287
  function YE(e, t) {
18468
18288
  if (typeof t != "function") throw Error();
18469
18289
  return function() {
@@ -18474,8 +18294,7 @@ function XE(e) {
18474
18294
  var t = this._id;
18475
18295
  return arguments.length ? this.each(YE(t, e)) : SE(this.node(), t).ease;
18476
18296
  }
18477
- //#endregion
18478
- //#region node_modules/d3-transition/src/transition/easeVarying.js
18297
+ // node_modules/d3-transition/src/transition/easeVarying.js
18479
18298
  function ZE(e, t) {
18480
18299
  return function() {
18481
18300
  var n = t.apply(this, arguments);
@@ -18487,23 +18306,20 @@ function QE(e) {
18487
18306
  if (typeof e != "function") throw Error();
18488
18307
  return this.each(ZE(this._id, e));
18489
18308
  }
18490
- //#endregion
18491
- //#region node_modules/d3-transition/src/transition/filter.js
18309
+ // node_modules/d3-transition/src/transition/filter.js
18492
18310
  function $E(e) {
18493
18311
  typeof e != "function" && (e = MS(e));
18494
18312
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
18495
18313
  return new OD(r, this._parents, this._name, this._id);
18496
18314
  }
18497
- //#endregion
18498
- //#region node_modules/d3-transition/src/transition/merge.js
18315
+ // node_modules/d3-transition/src/transition/merge.js
18499
18316
  function eD(e) {
18500
18317
  if (e._id !== this._id) throw Error();
18501
18318
  for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
18502
18319
  for (; s < r; ++s) o[s] = t[s];
18503
18320
  return new OD(o, this._parents, this._name, this._id);
18504
18321
  }
18505
- //#endregion
18506
- //#region node_modules/d3-transition/src/transition/on.js
18322
+ // node_modules/d3-transition/src/transition/on.js
18507
18323
  function tD(e) {
18508
18324
  return (e + "").trim().split(/^|\s+/).every(function(e) {
18509
18325
  var t = e.indexOf(".");
@@ -18521,8 +18337,7 @@ function rD(e, t) {
18521
18337
  var n = this._id;
18522
18338
  return arguments.length < 2 ? SE(this.node(), n).on.on(e) : this.each(nD(n, e, t));
18523
18339
  }
18524
- //#endregion
18525
- //#region node_modules/d3-transition/src/transition/remove.js
18340
+ // node_modules/d3-transition/src/transition/remove.js
18526
18341
  function iD(e) {
18527
18342
  return function() {
18528
18343
  var t = this.parentNode;
@@ -18533,16 +18348,14 @@ function iD(e) {
18533
18348
  function aD() {
18534
18349
  return this.on("end.remove", iD(this._id));
18535
18350
  }
18536
- //#endregion
18537
- //#region node_modules/d3-transition/src/transition/select.js
18351
+ // node_modules/d3-transition/src/transition/select.js
18538
18352
  function oD(e) {
18539
18353
  var t = this._name, n = this._id;
18540
18354
  typeof e != "function" && (e = TS(e));
18541
18355
  for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, yE(l[f], t, n, f, l, SE(u, n)));
18542
18356
  return new OD(a, this._parents, t, n);
18543
18357
  }
18544
- //#endregion
18545
- //#region node_modules/d3-transition/src/transition/selectAll.js
18358
+ // node_modules/d3-transition/src/transition/selectAll.js
18546
18359
  function sD(e) {
18547
18360
  var t = this._name, n = this._id;
18548
18361
  typeof e != "function" && (e = kS(e));
@@ -18552,14 +18365,12 @@ function sD(e) {
18552
18365
  }
18553
18366
  return new OD(a, o, t, n);
18554
18367
  }
18555
- //#endregion
18556
- //#region node_modules/d3-transition/src/transition/selection.js
18368
+ // node_modules/d3-transition/src/transition/selection.js
18557
18369
  var cD = hw.prototype.constructor;
18558
18370
  function lD() {
18559
18371
  return new cD(this._groups, this._parents);
18560
18372
  }
18561
- //#endregion
18562
- //#region node_modules/d3-transition/src/transition/style.js
18373
+ // node_modules/d3-transition/src/transition/style.js
18563
18374
  function uD(e, t) {
18564
18375
  var n, r, i;
18565
18376
  return function() {
@@ -18597,8 +18408,7 @@ function hD(e, t, n) {
18597
18408
  var r = (e += "") == "transform" ? UT : AE;
18598
18409
  return t == null ? this.styleTween(e, uD(e, r)).on("end.style." + e, dD(e)) : typeof t == "function" ? this.styleTween(e, pD(e, r, kE(this, "style." + e, t))).each(mD(this._id, e)) : this.styleTween(e, fD(e, r, t), n).on("end.style." + e, null);
18599
18410
  }
18600
- //#endregion
18601
- //#region node_modules/d3-transition/src/transition/styleTween.js
18411
+ // node_modules/d3-transition/src/transition/styleTween.js
18602
18412
  function gD(e, t, n) {
18603
18413
  return function(r) {
18604
18414
  this.style.setProperty(e, t.call(this, r), n);
@@ -18619,8 +18429,7 @@ function vD(e, t, n) {
18619
18429
  if (typeof t != "function") throw Error();
18620
18430
  return this.tween(r, _D(e, t, n ?? ""));
18621
18431
  }
18622
- //#endregion
18623
- //#region node_modules/d3-transition/src/transition/text.js
18432
+ // node_modules/d3-transition/src/transition/text.js
18624
18433
  function yD(e) {
18625
18434
  return function() {
18626
18435
  this.textContent = e;
@@ -18635,8 +18444,7 @@ function bD(e) {
18635
18444
  function xD(e) {
18636
18445
  return this.tween("text", typeof e == "function" ? bD(kE(this, "text", e)) : yD(e == null ? "" : e + ""));
18637
18446
  }
18638
- //#endregion
18639
- //#region node_modules/d3-transition/src/transition/textTween.js
18447
+ // node_modules/d3-transition/src/transition/textTween.js
18640
18448
  function SD(e) {
18641
18449
  return function(t) {
18642
18450
  this.textContent = e.call(this, t);
@@ -18657,8 +18465,7 @@ function wD(e) {
18657
18465
  if (typeof e != "function") throw Error();
18658
18466
  return this.tween(t, CD(e));
18659
18467
  }
18660
- //#endregion
18661
- //#region node_modules/d3-transition/src/transition/transition.js
18468
+ // node_modules/d3-transition/src/transition/transition.js
18662
18469
  function TD() {
18663
18470
  for (var e = this._name, t = this._id, n = kD(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
18664
18471
  var u = SE(c, t);
@@ -18671,8 +18478,7 @@ function TD() {
18671
18478
  }
18672
18479
  return new OD(r, this._parents, e, n);
18673
18480
  }
18674
- //#endregion
18675
- //#region node_modules/d3-transition/src/transition/end.js
18481
+ // node_modules/d3-transition/src/transition/end.js
18676
18482
  function ED() {
18677
18483
  var e, t, n = this, r = n._id, i = n.size();
18678
18484
  return new Promise(function(a, o) {
@@ -18685,8 +18491,7 @@ function ED() {
18685
18491
  }), i === 0 && a();
18686
18492
  });
18687
18493
  }
18688
- //#endregion
18689
- //#region node_modules/d3-transition/src/transition/index.js
18494
+ // node_modules/d3-transition/src/transition/index.js
18690
18495
  var DD = 0;
18691
18496
  function OD(e, t, n, r) {
18692
18497
  this._groups = e, this._parents = t, this._name = n, this._id = r;
@@ -18727,13 +18532,11 @@ OD.prototype = {
18727
18532
  end: ED,
18728
18533
  [Symbol.iterator]: AD[Symbol.iterator]
18729
18534
  };
18730
- //#endregion
18731
- //#region node_modules/d3-ease/src/cubic.js
18535
+ // node_modules/d3-ease/src/cubic.js
18732
18536
  function jD(e) {
18733
18537
  return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
18734
18538
  }
18735
- //#endregion
18736
- //#region node_modules/d3-transition/src/selection/transition.js
18539
+ // node_modules/d3-transition/src/selection/transition.js
18737
18540
  var MD = {
18738
18541
  time: null,
18739
18542
  delay: 0,
@@ -18751,11 +18554,9 @@ function PD(e) {
18751
18554
  return new OD(r, this._parents, e, t);
18752
18555
  }
18753
18556
  hw.prototype.interrupt = TE, hw.prototype.transition = PD;
18754
- //#endregion
18755
- //#region node_modules/d3-zoom/src/constant.js
18557
+ // node_modules/d3-zoom/src/constant.js
18756
18558
  var FD = (e) => () => e;
18757
- //#endregion
18758
- //#region node_modules/d3-zoom/src/event.js
18559
+ // node_modules/d3-zoom/src/event.js
18759
18560
  function ID(e, { sourceEvent: t, target: n, transform: r, dispatch: i }) {
18760
18561
  Object.defineProperties(this, {
18761
18562
  type: {
@@ -18781,8 +18582,7 @@ function ID(e, { sourceEvent: t, target: n, transform: r, dispatch: i }) {
18781
18582
  _: { value: i }
18782
18583
  });
18783
18584
  }
18784
- //#endregion
18785
- //#region node_modules/d3-zoom/src/transform.js
18585
+ // node_modules/d3-zoom/src/transform.js
18786
18586
  function LD(e, t, n) {
18787
18587
  this.k = e, this.x = t, this.y = n;
18788
18588
  }
@@ -18828,16 +18628,14 @@ function zD(e) {
18828
18628
  for (; !e.__zoom;) if (!(e = e.parentNode)) return RD;
18829
18629
  return e.__zoom;
18830
18630
  }
18831
- //#endregion
18832
- //#region node_modules/d3-zoom/src/noevent.js
18631
+ // node_modules/d3-zoom/src/noevent.js
18833
18632
  function BD(e) {
18834
18633
  e.stopImmediatePropagation();
18835
18634
  }
18836
18635
  function VD(e) {
18837
18636
  e.preventDefault(), e.stopImmediatePropagation();
18838
18637
  }
18839
- //#endregion
18840
- //#region node_modules/d3-zoom/src/zoom.js
18638
+ // node_modules/d3-zoom/src/zoom.js
18841
18639
  function HD(e) {
18842
18640
  return (!e.ctrlKey || e.type === "wheel") && !e.button;
18843
18641
  }
@@ -19041,8 +18839,7 @@ function JD() {
19041
18839
  return arguments.length ? (g = +e, _) : g;
19042
18840
  }, _;
19043
18841
  }
19044
- //#endregion
19045
- //#region node_modules/@xyflow/system/dist/esm/index.js
18842
+ // node_modules/@xyflow/system/dist/esm/index.js
19046
18843
  var YD = {
19047
18844
  error001: (e = "react") => `Seems like you have not used ${e === "svelte" ? "SvelteFlowProvider" : "ReactFlowProvider"} as an ancestor. Help: https://${e}flow.dev/error#001`,
19048
18845
  error002: () => "It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",
@@ -19869,7 +19666,7 @@ function Ik(e, t, n, r = {}) {
19869
19666
  }
19870
19667
  }, t.set(u.id, e);
19871
19668
  }
19872
- (e.measured === void 0 || e.measured.width === void 0 || e.measured.height === void 0) && !e.hidden && (c = !1), u.parentId && Rk(e, t, n, r, a), l ||= u.selected ?? !1;
19669
+ e.measured !== void 0 && e.measured.width !== void 0 && e.measured.height !== void 0 || e.hidden || (c = !1), u.parentId && Rk(e, t, n, r, a), l ||= u.selected ?? !1;
19873
19670
  }
19874
19671
  return {
19875
19672
  nodesInitialized: c,
@@ -20197,7 +19994,7 @@ function Zk({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r, o
20197
19994
  }
20198
19995
  function w(r) {
20199
19996
  let { nodeLookup: i, multiSelectionActive: o, nodesDraggable: c, transform: l, snapGrid: f, snapToGrid: p, selectNodesOnDrag: m, onNodeDragStart: h, onSelectionDragStart: g, unselectNodesAndEdges: _ } = t();
20200
- d = !0, (!m || !y) && !o && b && (i.get(b)?.selected || _()), y && m && b && e?.(b);
19997
+ d = !0, m && y || o || !b || i.get(b)?.selected || _(), y && m && b && e?.(b);
20201
19998
  let v = XO(r.sourceEvent, {
20202
19999
  transform: l,
20203
20000
  snapGrid: f,
@@ -20236,11 +20033,8 @@ function Zk({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r, o
20236
20033
  (a.x !== g.xSnapped || a.y !== g.ySnapped) && s && d && (l = nk(e.sourceEvent, u), S(g));
20237
20034
  }
20238
20035
  }).on("end", (e) => {
20239
- if (!d || p) {
20240
- p && s.size > 0 && t().updateNodePositions(s, !1);
20241
- return;
20242
- }
20243
- if (c = !1, d = !1, cancelAnimationFrame(o), s.size > 0) {
20036
+ if (!d || p) p && s.size > 0 && t().updateNodePositions(s, !1);
20037
+ else if (c = !1, d = !1, cancelAnimationFrame(o), s.size > 0) {
20244
20038
  let { nodeLookup: n, updateNodePositions: r, onNodeDragStop: a, onSelectionDragStop: o } = t();
20245
20039
  if (m &&= (r(s, !1), !1), i || a || !b && o) {
20246
20040
  let [t, r] = Yk({
@@ -20880,8 +20674,7 @@ function PA({ domNode: e, nodeId: t, getStoreItems: n, onChange: r, onEnd: i })
20880
20674
  destroy: c
20881
20675
  };
20882
20676
  }
20883
- //#endregion
20884
- //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
20677
+ // node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
20885
20678
  var FA = /* @__PURE__ */ t(((t) => {
20886
20679
  var n = (D(), e(de)), r = Jl();
20887
20680
  function i(e, t) {
@@ -20947,8 +20740,7 @@ var FA = /* @__PURE__ */ t(((t) => {
20947
20740
  }, o = t = e(r, i, a);
20948
20741
  return a;
20949
20742
  }, RA = (e) => e ? LA(e) : LA;
20950
- //#endregion
20951
- //#region node_modules/zustand/esm/traditional.mjs
20743
+ // node_modules/zustand/esm/traditional.mjs
20952
20744
  D();
20953
20745
  var { useDebugValue: zA } = d, { useSyncExternalStoreWithSelector: BA } = IA.default, VA = (e) => e;
20954
20746
  function HA(e, t = VA, n) {
@@ -20959,8 +20751,7 @@ var UA = (e, t) => {
20959
20751
  let n = RA(e), r = (e, r = t) => HA(n, e, r);
20960
20752
  return Object.assign(r, n), r;
20961
20753
  }, WA = (e, t) => e ? UA(e, t) : UA;
20962
- //#endregion
20963
- //#region node_modules/zustand/esm/shallow.mjs
20754
+ // node_modules/zustand/esm/shallow.mjs
20964
20755
  function GA(e, t) {
20965
20756
  if (Object.is(e, t)) return !0;
20966
20757
  if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
@@ -21733,17 +21524,9 @@ function oM({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = tO.Full
21733
21524
  x: 0,
21734
21525
  y: 0
21735
21526
  }), N = r(!1), P = (e) => {
21736
- if (j.current || A.current || v.getState().connection.inProgress) {
21737
- j.current = !1, A.current = !1;
21738
- return;
21739
- }
21740
- u?.(e), v.getState().resetSelectedElements(), v.setState({ nodesSelectionActive: !1 });
21527
+ j.current || A.current || v.getState().connection.inProgress ? (j.current = !1, A.current = !1) : (u?.(e), v.getState().resetSelectedElements(), v.setState({ nodesSelectionActive: !1 }));
21741
21528
  }, F = (e) => {
21742
- if (Array.isArray(i) && i?.includes(2)) {
21743
- e.preventDefault();
21744
- return;
21745
- }
21746
- d?.(e);
21529
+ Array.isArray(i) && i?.includes(2) ? e.preventDefault() : d?.(e);
21747
21530
  }, ee = f ? (e) => f(e) : void 0, I = (e) => {
21748
21531
  j.current &&= (e.stopPropagation(), !1);
21749
21532
  }, L = (n) => {
@@ -21833,14 +21616,10 @@ function oM({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = tO.Full
21833
21616
  }
21834
21617
  j.current = !0, N.current ||= (R(), !0), te(a, s);
21835
21618
  }, V = (e) => {
21836
- if (!T) {
21837
- e.target === E.current && v.getState().connection.inProgress && (A.current = !0);
21838
- return;
21839
- }
21840
- e.button === 0 && (e.target?.releasePointerCapture?.(e.pointerId), !y && e.target === E.current && v.getState().userSelectionRect && P?.(e), v.setState({
21619
+ T ? e.button === 0 && (e.target?.releasePointerCapture?.(e.pointerId), !y && e.target === E.current && v.getState().userSelectionRect && P?.(e), v.setState({
21841
21620
  userSelectionActive: !1,
21842
21621
  userSelectionRect: null
21843
- }), j.current && (l?.(e), v.setState({ nodesSelectionActive: O.current.size > 0 })), z());
21622
+ }), j.current && (l?.(e), v.setState({ nodesSelectionActive: O.current.size > 0 })), z()) : e.target === E.current && v.getState().connection.inProgress && (A.current = !0);
21844
21623
  }, ne = (e) => {
21845
21624
  e.target?.releasePointerCapture?.(e.pointerId), z();
21846
21625
  }, re = i === !0 || Array.isArray(i) && i.includes(0);
@@ -21867,14 +21646,10 @@ function oM({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = tO.Full
21867
21646
  }
21868
21647
  function sM({ id: e, store: t, unselect: n = !1, nodeRef: r }) {
21869
21648
  let { addSelectedNodes: i, unselectNodesAndEdges: a, multiSelectionActive: o, nodeLookup: s, onError: c } = t.getState(), l = s.get(e);
21870
- if (!l) {
21871
- c?.("012", YD.error012(e));
21872
- return;
21873
- }
21874
- t.setState({ nodesSelectionActive: !1 }), l.selected ? (n || l.selected && o) && (a({
21649
+ l ? (t.setState({ nodesSelectionActive: !1 }), l.selected ? (n || l.selected && o) && (a({
21875
21650
  nodes: [l],
21876
21651
  edges: []
21877
- }), requestAnimationFrame(() => r?.current?.blur())) : i([e]);
21652
+ }), requestAnimationFrame(() => r?.current?.blur())) : i([e])) : c?.("012", YD.error012(e));
21878
21653
  }
21879
21654
  function cM({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: i, nodeId: a, isSelectable: o, nodeClickDistance: s }) {
21880
21655
  let c = XA(), [l, u] = B(!1), d = r();
@@ -22295,7 +22070,7 @@ function RM() {
22295
22070
  function zM({ node: e, nodeType: t, hasDimensions: n, resizeObserver: i }) {
22296
22071
  let a = XA(), o = r(null), s = r(null), c = r(e.sourcePosition), l = r(e.targetPosition), u = r(t), d = n && !!e.internals.handleBounds;
22297
22072
  return H(() => {
22298
- o.current && !e.hidden && (!d || s.current !== o.current) && (s.current && i?.unobserve(s.current), i?.observe(o.current), s.current = o.current);
22073
+ !o.current || e.hidden || d && s.current === o.current || (s.current && i?.unobserve(s.current), i?.observe(o.current), s.current = o.current);
22299
22074
  }, [d, e.hidden]), H(() => () => {
22300
22075
  s.current &&= (i?.unobserve(s.current), null);
22301
22076
  }, []), H(() => {
@@ -23537,19 +23312,11 @@ var KN = a(GN), qN = NO("React Flow", "https://reactflow.dev/"), JN = ({ nodes:
23537
23312
  },
23538
23313
  addSelectedNodes: (e) => {
23539
23314
  let { multiSelectionActive: t, edgeLookup: n, nodeLookup: r, triggerNodeChanges: i, triggerEdgeChanges: a } = m();
23540
- if (t) {
23541
- i(e.map((e) => Mj(e, !0)));
23542
- return;
23543
- }
23544
- i(Nj(r, /* @__PURE__ */ new Set([...e]), !0)), a(Nj(n));
23315
+ t ? i(e.map((e) => Mj(e, !0))) : (i(Nj(r, /* @__PURE__ */ new Set([...e]), !0)), a(Nj(n)));
23545
23316
  },
23546
23317
  addSelectedEdges: (e) => {
23547
23318
  let { multiSelectionActive: t, edgeLookup: n, nodeLookup: r, triggerNodeChanges: i, triggerEdgeChanges: a } = m();
23548
- if (t) {
23549
- a(e.map((e) => Mj(e, !0)));
23550
- return;
23551
- }
23552
- a(Nj(n, /* @__PURE__ */ new Set([...e]))), i(Nj(r, /* @__PURE__ */ new Set(), !0));
23319
+ t ? a(e.map((e) => Mj(e, !0))) : (a(Nj(n, /* @__PURE__ */ new Set([...e]))), i(Nj(r, /* @__PURE__ */ new Set(), !0)));
23553
23320
  },
23554
23321
  unselectNodesAndEdges: ({ nodes: e, edges: t } = {}) => {
23555
23322
  let { edges: n, nodes: r, nodeLookup: i, triggerNodeChanges: a, triggerEdgeChanges: o } = m(), s = e || r, c = t || n, l = [];
@@ -24357,12 +24124,11 @@ var FP = 40, IP = 280, LP = 98, RP = 24, zP = (e) => {
24357
24124
  let t = e.split(/\s+/).filter(Boolean), n = [], r = "";
24358
24125
  for (let e of t) {
24359
24126
  let t = r ? `${r} ${e}` : e;
24360
- if (t.length <= RP) {
24361
- r = t;
24362
- continue;
24127
+ if (t.length <= RP) r = t;
24128
+ else {
24129
+ if (n.length === 1) break;
24130
+ r && n.push(r), r = e;
24363
24131
  }
24364
- if (n.length === 1) break;
24365
- r && n.push(r), r = e;
24366
24132
  }
24367
24133
  r && n.length < 2 && n.push(r);
24368
24134
  let i = n.slice(0, 2);
@@ -24419,8 +24185,7 @@ var FP = 40, IP = 280, LP = 98, RP = 24, zP = (e) => {
24419
24185
  edges: [...o, ...s]
24420
24186
  };
24421
24187
  };
24422
- //#endregion
24423
- //#region src/components/media-franchise.tsx
24188
+ // src/components/media-franchise.tsx
24424
24189
  j();
24425
24190
  var VP = x`
24426
24191
  display: inline-flex;
@@ -24806,8 +24571,7 @@ var VP = x`
24806
24571
  })
24807
24572
  }) }) : void 0] });
24808
24573
  }, $P = (e) => `tracking:${e}`;
24809
- //#endregion
24810
- //#region src/components/stub-list-notice.tsx
24574
+ // src/components/stub-list-notice.tsx
24811
24575
  j();
24812
24576
  var eF = x`
24813
24577
  display: flex;
@@ -24942,8 +24706,7 @@ var eF = x`
24942
24706
  ]
24943
24707
  }) : void 0] });
24944
24708
  };
24945
- //#endregion
24946
- //#region src/components/score-picker.tsx
24709
+ // src/components/score-picker.tsx
24947
24710
  j();
24948
24711
  var oF = [
24949
24712
  ih,
@@ -25110,8 +24873,7 @@ var oF = [
25110
24873
  }) : void 0]
25111
24874
  });
25112
24875
  };
25113
- //#endregion
25114
- //#region src/components/tracking-compact.tsx
24876
+ // src/components/tracking-compact.tsx
25115
24877
  j();
25116
24878
  var pF = {
25117
24879
  blocked: () => "The browser blocked the sign-in window: allow pop-ups, then press Log in again.",
@@ -25808,8 +25570,7 @@ var pF = {
25808
25570
  ]
25809
25571
  });
25810
25572
  };
25811
- //#endregion
25812
- //#region src/components/media-tracking.tsx
25573
+ // src/components/media-tracking.tsx
25813
25574
  j();
25814
25575
  var TF = iv("\n mutation DeleteListEntry($input: DeleteListEntryInput!) {\n deleteListEntry(input: $input) {\n tracker\n outcome\n error\n }\n }\n"), EF = iv("\n subscription StubTrackerStorage {\n stubTrackerStorage {\n location\n signedIn\n locked\n waiting\n held\n error\n }\n }\n"), DF = iv("\n mutation AddHeldStubEntries {\n addHeldStubEntries {\n location\n signedIn\n locked\n waiting\n held\n error\n }\n }\n"), OF = (e) => [{
25815
25576
  tracker: "",
@@ -25982,8 +25743,7 @@ var TF = iv("\n mutation DeleteListEntry($input: DeleteListEntryInput!) {\n
25982
25743
  }) : void 0]
25983
25744
  });
25984
25745
  };
25985
- //#endregion
25986
- //#region src/router/home/media-modal.tsx
25746
+ // src/router/home/media-modal.tsx
25987
25747
  j();
25988
25748
  var HF = x`
25989
25749
  z-index: ${Hh.mediaModal};
@@ -26471,8 +26231,7 @@ animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
26471
26231
  for (let t of e) (r(t) < Infinity ? i : a).push(t);
26472
26232
  return i.sort((e, t) => r(e) - r(t)), [...i, ...a];
26473
26233
  }, YF = (e) => e.filter((e) => e.popularity != null).map(qF).filter((e) => e.length);
26474
- //#endregion
26475
- //#region src/router/home/index.tsx
26234
+ // src/router/home/index.tsx
26476
26235
  j();
26477
26236
  var XF = iv("\n subscription GetReleasingMediaPage($input: MediaPageInput!, $shortDescriptionInput: MediaShortDescriptionInput!) {\n mediaPage(input: $input) {\n nodes {\n ...MediaFragment\n score\n episodeCount\n titles {\n language\n title\n score\n }\n shortDescriptions(input: $shortDescriptionInput) {\n language\n shortDescription\n }\n covers {\n language\n url\n }\n banners {\n language\n url\n }\n trailers {\n uri\n origin\n id\n url\n thumbnail\n }\n popularity\n }\n }\n }\n"), ZF = x`
26478
26237
  .category-bar {
@@ -26595,8 +26354,7 @@ var XF = iv("\n subscription GetReleasingMediaPage($input: MediaPageInput!, $sh
26595
26354
  SUPPORTING: "Supporting",
26596
26355
  BACKGROUND: "Background"
26597
26356
  }, mI = (e) => e ? pI[e] ?? e : void 0, hI = new Intl.DisplayNames(["en"], { type: "language" }), gI = (e) => /^[a-z]{2,3}$/.test(e) ? hI.of(e) ?? e : e;
26598
- //#endregion
26599
- //#region src/router/title/index.tsx
26357
+ // src/router/title/index.tsx
26600
26358
  j();
26601
26359
  var _I = 12, vI = x`
26602
26360
  /* the footer under it stays below the fold while the page fills, rather than being pushed off it */
@@ -27156,7 +26914,7 @@ var _I = 12, vI = x`
27156
26914
  }), SI = ({ url: e }) => {
27157
26915
  let [t, n] = B();
27158
26916
  return H(() => {
27159
- import("./assets/lib-theme-player-DpmBH0Uz.js").then((e) => n(() => e.default)).catch(() => n(() => ({ url: e }) => /* @__PURE__ */ z("video", {
26917
+ import("./assets/lib-theme-player-B_XpnzYA.js").then((e) => n(() => e.default)).catch(() => n(() => ({ url: e }) => /* @__PURE__ */ z("video", {
27160
26918
  src: e,
27161
26919
  controls: !0,
27162
26920
  autoPlay: !0,
@@ -27794,8 +27552,7 @@ var _I = 12, vI = x`
27794
27552
  }, n.value);
27795
27553
  })
27796
27554
  });
27797
- //#endregion
27798
- //#region src/components/filter-select.tsx
27555
+ // src/components/filter-select.tsx
27799
27556
  j();
27800
27557
  var LI = x`
27801
27558
  display: flex;
@@ -27954,11 +27711,7 @@ var LI = x`
27954
27711
  u,
27955
27712
  s
27956
27713
  ]), b = (e) => {
27957
- if (!a) {
27958
- i(r.includes(e) ? [] : [e]), l(!1), d("");
27959
- return;
27960
- }
27961
- i(r.includes(e) ? r.filter((t) => t !== e) : [...r, e]);
27714
+ a ? i(r.includes(e) ? r.filter((t) => t !== e) : [...r, e]) : (i(r.includes(e) ? [] : [e]), l(!1), d(""));
27962
27715
  };
27963
27716
  return /* @__PURE__ */ A("div", {
27964
27717
  css: LI,
@@ -28032,8 +27785,7 @@ var LI = x`
28032
27785
  children: e
28033
27786
  }), t]
28034
27787
  });
28035
- //#endregion
28036
- //#region src/router/search/index.tsx
27788
+ // src/router/search/index.tsx
28037
27789
  j();
28038
27790
  var VI = V_ === "movie" || V_ === "series", HI = iv("\n subscription SearchMediaPage($input: MediaPageInput!, $shortDescriptionInput: MediaShortDescriptionInput!) {\n mediaPage(input: $input) {\n nodes {\n ...MediaFragment\n score\n episodeCount\n titles {\n language\n title\n score\n }\n shortDescriptions(input: $shortDescriptionInput) {\n language\n shortDescription\n }\n covers {\n language\n url\n color\n }\n banners {\n language\n url\n }\n trailers {\n uri\n origin\n id\n url\n thumbnail\n }\n popularity\n genres\n tags\n averageScore\n status\n type\n season\n seasonYear\n nextAiringEpisode {\n episodeNumber\n airingAt\n }\n }\n }\n }\n"), UI = x`
28039
27791
  padding: calc(var(--stub-header-height) + 3rem) 3rem 4rem;
@@ -28733,8 +28485,7 @@ var VI = V_ === "movie" || V_ === "series", HI = iv("\n subscription SearchMedi
28733
28485
  "."
28734
28486
  ] })
28735
28487
  ] });
28736
- //#endregion
28737
- //#region src/router/settings/confirm.tsx
28488
+ // src/router/settings/confirm.tsx
28738
28489
  j();
28739
28490
  var nL = ({ label: e, name: t = e, confirmLabel: n, busyLabel: i, question: a, onConfirm: o, home: s }) => {
28740
28491
  let [c, l] = B(!1), [u, d] = B(!1), f = r(null), p = r(null), m = r(null), h = r(!1), g = r(!0), _ = ee(), v = () => {
@@ -28789,8 +28540,7 @@ var nL = ({ label: e, name: t = e, confirmLabel: n, busyLabel: i, question: a, o
28789
28540
  children: e
28790
28541
  });
28791
28542
  };
28792
- //#endregion
28793
- //#region src/router/settings/country.tsx
28543
+ // src/router/settings/country.tsx
28794
28544
  j();
28795
28545
  var rL = new Intl.DisplayNames(["en"], { type: "region" }), iL = (e) => rL.of(e) ?? e, aL = [...at].sort((e, t) => iL(e).localeCompare(iL(t))), oL = () => {
28796
28546
  let [e, t] = B(Et);
@@ -28824,8 +28574,7 @@ var rL = new Intl.DisplayNames(["en"], { type: "region" }), iL = (e) => rL.of(e)
28824
28574
  })]
28825
28575
  });
28826
28576
  };
28827
- //#endregion
28828
- //#region src/router/settings/accounts.tsx
28577
+ // src/router/settings/accounts.tsx
28829
28578
  j();
28830
28579
  var lL = (e) => e instanceof Error ? e.message : String(e), uL = (e, t) => {
28831
28580
  switch (t) {
@@ -29234,8 +28983,7 @@ var lL = (e) => e instanceof Error ? e.message : String(e), uL = (e, t) => {
29234
28983
  ...e,
29235
28984
  origin: "imdb"
29236
28985
  } : e);
29237
- //#endregion
29238
- //#region src/utils/use-plugin-statuses.ts
28986
+ // src/utils/use-plugin-statuses.ts
29239
28987
  j();
29240
28988
  var EL = () => {
29241
28989
  let [e, t] = B(La);
@@ -29244,8 +28992,7 @@ var EL = () => {
29244
28992
  return e(), Ia(e);
29245
28993
  }, []), e;
29246
28994
  };
29247
- //#endregion
29248
- //#region src/router/settings/playback.tsx
28995
+ // src/router/settings/playback.tsx
29249
28996
  j();
29250
28997
  var DL = "\n max-width: 52rem;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 0.8rem;\n background: rgba(255, 255, 255, 0.02);\n font-size: 1.5rem;\n font-weight: 600;\n color: #fff;\n", OL = x`
29251
28998
  label.autoplay {
@@ -29387,8 +29134,7 @@ var DL = "\n max-width: 52rem;\n border: 1px solid rgba(255, 255, 255, 0.1);\n
29387
29134
  title: "Playback"
29388
29135
  }
29389
29136
  ], NL = (e) => ML.find((t) => `#${t.id}` === e)?.id ?? "accounts";
29390
- //#endregion
29391
- //#region src/router/settings/sources.tsx
29137
+ // src/router/settings/sources.tsx
29392
29138
  j();
29393
29139
  var PL = x`
29394
29140
  h3.part {
@@ -30013,8 +29759,7 @@ var PL = x`
30013
29759
  fetch: rt
30014
29760
  }))
30015
29761
  };
30016
- //#endregion
30017
- //#region src/router/settings/index.tsx
29762
+ // src/router/settings/index.tsx
30018
29763
  j();
30019
29764
  var $L = x`
30020
29765
  display: grid;
@@ -30156,8 +29901,7 @@ var $L = x`
30156
29901
  }
30157
29902
  };
30158
29903
  };
30159
- //#endregion
30160
- //#region src/components/plugin-player.tsx
29904
+ // src/components/plugin-player.tsx
30161
29905
  j();
30162
29906
  var sR = x`
30163
29907
  position: relative;
@@ -30244,8 +29988,7 @@ var sR = x`
30244
29988
  let r = t === "party" ? e : t;
30245
29989
  if (!(r === void 0 || n.busy || r === n.selected) && (r === null || n.ids.includes(r))) return r;
30246
29990
  }, uR = (e, t, n, r, i) => !n || r.selected === n.selected || r.selected === i ? e : r.selected === t ? "party" : r.selected;
30247
- //#endregion
30248
- //#region src/components/party-playback.tsx
29991
+ // src/components/party-playback.tsx
30249
29992
  j();
30250
29993
  var dR = () => location.pathname + location.search, fR = () => navigator.userActivation?.isActive ?? !0, pR = ({ link: e, tracks: t }) => {
30251
29994
  let n = l_(), i = n.status === "active" ? n.role : void 0, a = Q.following(), o = r(void 0), s = r(void 0), c = r(0), l = r(void 0), u = r(0), d = r(void 0), f = r(/* @__PURE__ */ new Map()), p = r(void 0), m = r(void 0), h = r(/* @__PURE__ */ new Map()), g = () => m.current?.busy ?? !1, _ = (t, n) => {
@@ -30480,8 +30223,7 @@ var dR = () => location.pathname + location.search, fR = () => navigator.userAct
30480
30223
  };
30481
30224
  return n.addEventListener("message", i), r(), () => n.removeEventListener("message", i);
30482
30225
  }, kR = (e, t) => t ? `${e == null ? "" : `E${e} - `}${t}` : e == null ? void 0 : `Episode ${e}`;
30483
- //#endregion
30484
- //#region src/router/watch/auto-pick.ts
30226
+ // src/router/watch/auto-pick.ts
30485
30227
  j();
30486
30228
  var AR = (e, t) => !!(e.url && t.builtIn(e.origin, e.url)) || !!(t.selfPlaying && (e.embedUrl || t.selfPlaying(e.origin))), jR = (e, t) => {
30487
30229
  let n = (e) => {
@@ -30535,8 +30277,7 @@ var AR = (e, t) => !!(e.url && t.builtIn(e.origin, e.url)) || !!(t.selfPlaying &
30535
30277
  next: c >= 0 && !s[c + 1] ? o[c + 1] : void 0
30536
30278
  };
30537
30279
  }, FR = (e, t, n) => t ? jR(e.filter((e) => e.origin === t), n)?.uri : void 0;
30538
- //#endregion
30539
- //#region src/router/watch/resume.ts
30280
+ // src/router/watch/resume.ts
30540
30281
  j();
30541
30282
  var IR = (e, t, n, i) => {
30542
30283
  let a = r({
@@ -30575,8 +30316,7 @@ var IR = (e, t, n, i) => {
30575
30316
  };
30576
30317
  }, [e, t]);
30577
30318
  };
30578
- //#endregion
30579
- //#region src/router/watch/up-next.tsx
30319
+ // src/router/watch/up-next.tsx
30580
30320
  j();
30581
30321
  var LR = 5e3, RR = be`
30582
30322
  to { background-size: 100% 100%; }
@@ -30638,8 +30378,7 @@ var LR = 5e3, RR = be`
30638
30378
  }) : void 0]
30639
30379
  });
30640
30380
  };
30641
- //#endregion
30642
- //#region src/router/watch/index.tsx
30381
+ // src/router/watch/index.tsx
30643
30382
  j();
30644
30383
  var VR = (e) => (e ?? []).filter((e) => e.relation === "SAME_AS").map((e) => e.node), HR = { nf: (e) => `https://www.netflix.com/watch/${e}` }, UR = iv("\n subscription GetWatchMedia($input: MediaInput!) {\n media(input: $input) {\n _id\n uri\n origin\n id\n titles {\n title\n }\n covers {\n url\n }\n type\n categories\n episodeCount\n status\n settled\n nextAiringEpisode {\n episodeNumber\n airingAt\n }\n seasons {\n number\n uri\n }\n relations {\n relation\n format\n node {\n _id\n uri\n }\n }\n episodes {\n ...EpisodeFragment\n episodeNumber\n releaseDate\n titles {\n title\n }\n thumbnails {\n url\n }\n handles {\n relation\n node {\n _id\n uri\n origin\n id\n url\n embedUrl\n mediaUri\n episodeNumber\n releaseDate\n titles {\n title\n }\n shortDescriptions {\n language\n shortDescription\n }\n }\n }\n }\n handles {\n relation\n node {\n ...MediaFragment\n handles {\n relation\n node {\n ...MediaFragment\n episodes {\n ...EpisodeFragment\n }\n }\n }\n episodes {\n ...EpisodeFragment\n episodeNumber\n }\n }\n }\n }\n }\n"), WR = iv("\n subscription GetWatchOrigins($input: OriginPageInput!) {\n originPage(input: $input) {\n nodes {\n id\n url\n name\n icon\n color\n isApiOnly\n }\n }\n }\n"), GR = (e) => {
30645
30384
  let [t] = Br({
@@ -31060,8 +30799,7 @@ var VR = (e) => (e ?? []).filter((e) => e.relation === "SAME_AS").map((e) => e.n
31060
30799
  })
31061
30800
  });
31062
30801
  };
31063
- //#endregion
31064
- //#region src/router/party/index.tsx
30802
+ // src/router/party/index.tsx
31065
30803
  j();
31066
30804
  var JR = x`
31067
30805
  padding: calc(var(--stub-header-height) + 3rem) 3rem 4rem;
@@ -31529,7 +31267,7 @@ var JR = x`
31529
31267
  };
31530
31268
  if (!e) return r;
31531
31269
  try {
31532
- let i = await import("./assets/lib-worker-CwmB42Tz.js");
31270
+ let i = await import("./assets/lib-worker-CAtrMpYx.js");
31533
31271
  if (typeof i.handleRequest != "function") return r;
31534
31272
  await uz(i.handleRequest, dz, { input: { uri: e } }, {
31535
31273
  settleMs: n,
@@ -31674,8 +31412,7 @@ var JR = x`
31674
31412
  height: Math.max(1, n.rows) * Sz - yz + 72
31675
31413
  };
31676
31414
  };
31677
- //#endregion
31678
- //#region src/router/debug/graph.tsx
31415
+ // src/router/debug/graph.tsx
31679
31416
  j();
31680
31417
  var Ez = x`
31681
31418
  position: relative;
@@ -31839,8 +31576,7 @@ var Ez = x`
31839
31576
  })]
31840
31577
  });
31841
31578
  };
31842
- //#endregion
31843
- //#region src/router/debug/inspector.tsx
31579
+ // src/router/debug/inspector.tsx
31844
31580
  j();
31845
31581
  var Nz = x`
31846
31582
  border: 1px solid rgba(255, 255, 255, 0.12);
@@ -32354,8 +32090,7 @@ var Nz = x`
32354
32090
  })
32355
32091
  ]
32356
32092
  });
32357
- //#endregion
32358
- //#region src/router/debug/index.tsx
32093
+ // src/router/debug/index.tsx
32359
32094
  j();
32360
32095
  var Uz = x`
32361
32096
  max-width: 150rem;
@@ -32922,8 +32657,7 @@ var Uz = x`
32922
32657
  behavior: eB(t, Math.abs(i - window.scrollY), window.innerHeight)
32923
32658
  });
32924
32659
  };
32925
- //#endregion
32926
- //#region src/components/party-sync.tsx
32660
+ // src/components/party-sync.tsx
32927
32661
  j();
32928
32662
  var nB = 2, rB = 8e3, iB = [
32929
32663
  "wheel",
@@ -32999,11 +32733,8 @@ var nB = 2, rB = 8e3, iB = [
32999
32733
  d.current = !0, e === a ? (Nh(), u.current += 1, tB(t, { smooth: !0 })) : (l.current = t, n(e));
33000
32734
  };
33001
32735
  return u_((e, { replayed: t }) => {
33002
- if (o === "host") {
33003
- e.t === "ask" && e.c === "go" && e.path !== a && n(e.path);
33004
- return;
33005
- }
33006
- if (o === "guest") switch (e.t) {
32736
+ if (o === "host") e.t === "ask" && e.c === "go" && e.path !== a && n(e.path);
32737
+ else if (o === "guest") switch (e.t) {
33007
32738
  case "nav":
33008
32739
  d.current = !0, e.path !== a && n(e.path);
33009
32740
  return;
@@ -33016,8 +32747,7 @@ var nB = 2, rB = 8e3, iB = [
33016
32747
  }
33017
32748
  }), null;
33018
32749
  };
33019
- //#endregion
33020
- //#region src/components/party-cursor.tsx
32750
+ // src/components/party-cursor.tsx
33021
32751
  j();
33022
32752
  var sB = 4, cB = 2500, lB = x`
33023
32753
  position: fixed;
@@ -33072,9 +32802,7 @@ var sB = 4, cB = 2500, lB = x`
33072
32802
  if (e.t === "playback" || e.t === "state" && e.s) {
33073
32803
  let t = (e.t, e.s);
33074
32804
  u.current = !t.paused, u.current && s(void 0);
33075
- return;
33076
- }
33077
- e.t !== "cursor" || u.current || Q.hostPath() === a && s({
32805
+ } else e.t !== "cursor" || u.current || Q.hostPath() === a && s({
33078
32806
  x: e.x,
33079
32807
  y: e.y,
33080
32808
  at: Date.now()
@@ -33111,8 +32839,7 @@ var sB = 4, cB = 2500, lB = x`
33111
32839
  })]
33112
32840
  });
33113
32841
  };
33114
- //#endregion
33115
- //#region src/components/scroll-reset.tsx
32842
+ // src/components/scroll-reset.tsx
33116
32843
  j();
33117
32844
  var dB = () => ({
33118
32845
  pathname: location.pathname,
@@ -33142,8 +32869,7 @@ var dB = () => ({
33142
32869
  };
33143
32870
  }, []), null;
33144
32871
  };
33145
- //#endregion
33146
- //#region src/router/index.tsx
32872
+ // src/router/index.tsx
33147
32873
  j();
33148
32874
  var mB = () => {
33149
32875
  let { query: e } = Tu();
@@ -33345,15 +33071,12 @@ var yB = x`
33345
33071
  children: e
33346
33072
  });
33347
33073
  };
33348
- //#endregion
33349
- //#region src/store-export.ts
33074
+ // src/store-export.ts
33350
33075
  xe(location.href) && (window.__stubExportStore = (e) => yt(e ?? { excludeOrigins: [] }));
33351
- //#endregion
33352
- //#region src/answers-export.ts
33076
+ // src/answers-export.ts
33353
33077
  var wB = async (e, t = {}, n = {}) => uz(Ye, e, t, { settleMs: n.settleMs });
33354
33078
  Re(location.href) && (window.__stubExportAnswers = () => Ct(), window.__stubExportAsks = () => pt(), window.__stubGraphCounts = () => ot()), tt(location.href) && (window.__stubGraphQL = (e, t, n) => wB(e, t, n));
33355
- //#endregion
33356
- //#region src/utils/forget-api-keys.ts
33079
+ // src/utils/forget-api-keys.ts
33357
33080
  var TB = "stub.apikeys";
33358
33081
  L(), ((e = () => localStorage) => {
33359
33082
  try {
@@ -33430,4 +33153,3 @@ DB.id = "stub-root", ie(/* @__PURE__ */ A(jr, {
33430
33153
  value: Gl,
33431
33154
  children: [/* @__PURE__ */ z(h, { styles: EB }), /* @__PURE__ */ z(CB, { children: /* @__PURE__ */ z(vB, {}) })]
33432
33155
  }), document.body.appendChild(DB));
33433
- //#endregion