@factorialco/f0-react 1.414.1 → 1.415.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/F0AiChat.css CHANGED
@@ -1 +1 @@
1
- .shine-text{background:linear-gradient(90deg,#888 0% 33%,#aaa 50%,#888 66% 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shine 1.5s ease-in-out infinite}@keyframes shine{0%{background-position:200% 0}to{background-position:-200% 0}}
1
+ em-emoji-picker{--background-rgb: 255, 255, 255;--border-radius: 12px;--category-icon-size: 20px;--color-border-over: hsl(var(--neutral-10));--color-border: hsl(var(--neutral-10));--font-size: 14px;--rgb-accent: 1, 22, 55;--rgb-background: 255, 255, 255;--rgb-color: 1, 22, 55;--rgb-input: 255, 255, 255;width:372px!important;max-height:518px!important;--shadow: 0px 4px 20px 0px #0d162514}.mention{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500}.mention:focus{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.preserved-selection{background-color:hsl(var(--selected-60) / .2)}.enhance-highlight{background:linear-gradient(90deg,#e5561980,#a1ade580,#e5194380,#e5561980);background-size:300% 100%;animation:enhance-gradient-move 3s linear infinite;border-radius:4px}@keyframes enhance-gradient-move{0%{background-position:0% 50%}to{background-position:100% 50%}}.rich-text-editor-container *::-moz-selection{background-color:transparent!important}.rich-text-editor-container *::selection{background-color:transparent!important}.rich-text-editor-container::-moz-selection{background-color:transparent!important}.rich-text-editor-container::selection{background-color:transparent!important}.rich-text-editor-container p,.rich-text-display-container p{position:relative;margin:0 0 8px}.rich-text-editor-container p:last-child,.rich-text-display-container p:last-child{margin-bottom:0}.rich-text-editor-container h1,.rich-text-display-container h1{margin:0 0 12px;padding:0;font-size:1.625rem;line-height:2rem;letter-spacing:-.01em;font-weight:600}.rich-text-editor-container h2,.rich-text-display-container h2{margin:0 0 10px;padding:0;font-size:1.375rem;line-height:1.75rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container h3,.rich-text-display-container h3,.rich-text-editor-container h4,.rich-text-display-container h4{margin:0 0 10px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container ul,.rich-text-display-container ul{margin:0 0 10px;list-style:disc}.rich-text-editor-container ol,.rich-text-display-container ol{margin:0 0 10px;list-style-type:decimal}.rich-text-editor-container a,.rich-text-display-container a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.rich-text-editor-container strong,.rich-text-display-container strong{font-weight:600}.rich-text-editor-container em,.rich-text-display-container em{font-style:italic}.rich-text-editor-container u,.rich-text-display-container u{text-decoration-line:underline}.rich-text-editor-container s,.rich-text-display-container s{text-decoration-line:line-through}.rich-text-editor-container .f1-bullet-list,.rich-text-display-container .f1-bullet-list{list-style-type:disc}.rich-text-editor-container .f1-ordered-list,.rich-text-display-container .f1-ordered-list{list-style-type:decimal}.rich-text-editor-container ul,.rich-text-editor-container ol,.rich-text-display-container ul,.rich-text-display-container ol{padding-left:20px}.rich-text-editor-container .f1-ordered-list p,.rich-text-display-container .f1-ordered-list p,.rich-text-editor-container .f1-bullet-list p,.rich-text-display-container .f1-bullet-list p{margin-left:8px}.rich-text-editor-container li,.rich-text-display-container li{margin-bottom:8px}.rich-text-editor-container pre,.rich-text-display-container pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.rich-text-editor-container code,.rich-text-display-container code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.rich-text-editor-container blockquote,.rich-text-display-container blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.ProseMirror:focus,.rich-text-display-container:focus{outline:2px solid transparent;outline-offset:2px}.ProseMirror-selectednode{outline:none!important}.rich-text-editor-container hr,.rich-text-display-container hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.rich-text-editor-container mark,.rich-text-display-container mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.rich-text-editor-container p:empty:before,.rich-text-display-container p:empty:before{content:" "}.rich-text-editor-container ul[data-type=taskList],.rich-text-display-container ul[data-type=taskList]{padding-left:0}.shadow-editor-tools{box-shadow:0 -4px 20px #0d162514}.scrollbar-macos{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar{width:8px}.scrollbar-macos::-webkit-scrollbar-track{background:var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:9999px;border:2px solid transparent;background-clip:padding-box}.scrollbar-macos::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}.f1-task-item{margin-bottom:8px;display:flex;list-style-type:none;gap:8px}.f1-task-item div{flex:1 1 0%}.f1-task-item input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;border-radius:.375rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));background-color:hsl(var(--neutral-0));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.f1-task-item input:hover{border-color:hsl(var(--neutral-40))}.f1-task-item input:checked{border-color:hsl(var(--selected-50) / .4);background-color:hsl(var(--selected-60))}.f1-task-item[data-checked=true]>div>p{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item input:checked:after{position:absolute;top:50%;left:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}.f1-task-item-content{min-width:0px;flex:1 1 0%;outline:none}.f1-task-item[data-checked=true] .f1-task-item-content{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item-content p{margin:0}.tiptap p.is-empty:before{pointer-events:none;float:left;display:block;height:0px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--neutral-40));content:attr(data-placeholder)}.editor-mood-tracker p{margin:0}.rich-text-details{margin-top:0;margin-bottom:0;display:flex;gap:8px;padding-top:4px;padding-bottom:4px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.rich-text-details summary{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.rich-text-details summary::marker{content:""}.rich-text-details>button{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center;border-radius:.375rem;background-color:hsl(var(--neutral-0))}.rich-text-details>button:hover{background-color:hsl(var(--neutral-10))}.rich-text-details>button:before{font-size:.625rem;line-height:.75rem;color:hsl(var(--neutral-100));content:"▶"}.rich-text-details.is-open>button:before{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rich-text-details>div{display:flex;width:100%;flex-direction:column;gap:8px}.rich-text-details>div>[data-type=detailsContent]>:last-child{margin-bottom:8px}.rich-text-details.rich-text-details{margin-bottom:8px}.image-resizable-wrapper{max-width:100%}.image-resize-handle{z-index:10}.shine-text{background:linear-gradient(90deg,#888 0% 33%,#aaa 50%,#888 66% 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shine 1.5s ease-in-out infinite}@keyframes shine{0%{background-position:200% 0}to{background-position:-200% 0}}
@@ -1,8 +1,8 @@
1
1
  import { jsx as B, Fragment as $c, jsxs as dt } from "react/jsx-runtime";
2
2
  import { createContext as a0, useContext as NA, useState as Sr, useRef as fe, useMemo as Dr, useEffect as Je, useCallback as Jn, useLayoutEffect as D1 } from "react";
3
- import { Q as iR, z as nR, O as Jl, aw as A1, E as Q, N as aR, u as PA, P as oR, B as sR, M as lR, G as M1, cz as uR, du as hR, t as cR, F as fR, cu as vR, bm as dR } from "./F0Input-C9w04Jpr.js";
3
+ import { R as iR, z as nR, O as Jl, ak as A1, E as Q, P as aR, u as PA, Q as oR, B as sR, N as lR, G as M1, dC as uR, co as hR, t as cR, F as fR, dy as vR, bj as dR } from "./F0Input-Ctwd5zZH.js";
4
4
  import { createPortal as pR } from "react-dom";
5
- import { i as gR, O as yR, l as mR, j as _R } from "./useDataCollectionSource-BzzlFsAB.js";
5
+ import { i as gR, O as yR, e as mR, c as _R } from "./useDataCollectionSource-BH2-U4PN.js";
6
6
  import './F0AnalyticsDashboard.css';const RA = a0(null);
7
7
  function kA() {
8
8
  const r = NA(RA);
@@ -310,11 +310,6 @@ declare module "gridstack" {
310
310
  }
311
311
 
312
312
 
313
- declare namespace Calendar {
314
- var displayName: string;
315
- }
316
-
317
-
318
313
  declare module "@tiptap/core" {
319
314
  interface Commands<ReturnType> {
320
315
  aiBlock: {
@@ -362,3 +357,8 @@ declare module "@tiptap/core" {
362
357
  };
363
358
  }
364
359
  }
360
+
361
+
362
+ declare namespace Calendar {
363
+ var displayName: string;
364
+ }
@@ -1,6 +1,6 @@
1
1
  import { jsx as $ } from "react/jsx-runtime";
2
2
  import { useRef as w, useCallback as v, useState as j, useEffect as R, useMemo as D } from "react";
3
- import { F as P } from "./F0AnalyticsDashboard-C74qJ7sF.js";
3
+ import { F as P } from "./F0AnalyticsDashboard-BhvG-yU1.js";
4
4
  function _(t, e, n) {
5
5
  const r = w(null), y = w(), i = w(t);
6
6
  i.current = t;
@@ -1,15 +1,15 @@
1
1
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as ze, createContext as Ye, useContext as Xe, useRef as B, useEffect as ie, useState as Ue, useCallback as $e, useMemo as qe } from "react";
3
- import { r as He, i as je, m as Ke, a as Qe, b as Me, d as Je, c as Ze, f as et, e as tt, s as rt, g as Oe, p as nt, V as ot, h as it, j as st, k as at, S as ct, H as ut, v as se, l as lt, n as ft, o as ht, q as dt, t as mt, w as pt, F as fe, x as vt } from "./F0Input-C9w04Jpr.js";
3
+ import { r as He, i as je, m as Ke, a as Qe, b as Me, d as Je, c as Ze, f as et, e as tt, s as rt, g as Ne, p as nt, V as ot, h as it, j as st, k as at, S as ct, H as ut, v as se, l as lt, n as ft, o as ht, q as dt, t as mt, w as pt, F as fe, x as vt } from "./F0Input-Ctwd5zZH.js";
4
4
  import { useTrackVolume as gt } from "@livekit/components-react";
5
- import { G as wt } from "./F0AiChat-CBy7rZCW.js";
5
+ import { N as wt } from "./F0AiChat-CrcLUV-I.js";
6
6
  function yt(t, e, r) {
7
7
  ze(() => t.on(e, r), [t, e, r]);
8
8
  }
9
9
  function ue(t) {
10
10
  return typeof t == "object" && !Array.isArray(t);
11
11
  }
12
- function Ne(t, e, r, n) {
12
+ function Oe(t, e, r, n) {
13
13
  return typeof t == "string" && ue(e) ? He(t, r, n) : t instanceof NodeList ? Array.from(t) : Array.isArray(t) ? t : [t];
14
14
  }
15
15
  function Tt(t, e, r) {
@@ -64,9 +64,9 @@ function Ct(t, { defaultTransition: e = {}, ...r } = {}, n, o) {
64
64
  S.at !== void 0 && (g = he(g, S.at, p, R));
65
65
  let C = 0;
66
66
  const U = (T, w, I, P = 0, D = 0) => {
67
- const A = It(T), { delay: f = 0, times: _ = Je(A), type: N = "keyframes", repeat: W, repeatType: k, repeatDelay: H = 0, ...z } = w;
67
+ const A = It(T), { delay: f = 0, times: _ = Je(A), type: O = "keyframes", repeat: W, repeatType: k, repeatDelay: H = 0, ...z } = w;
68
68
  let { ease: M = e.ease || "easeOut", duration: L } = w;
69
- const O = typeof f == "function" ? f(P, D) : f, j = A.length, Z = tt(N) ? N : o?.[N];
69
+ const N = typeof f == "function" ? f(P, D) : f, j = A.length, Z = tt(O) ? O : o?.[O];
70
70
  if (j <= 2 && Z) {
71
71
  let K = 100;
72
72
  if (j === 2 && Pt(A)) {
@@ -79,11 +79,11 @@ function Ct(t, { defaultTransition: e = {}, ...r } = {}, n, o) {
79
79
  M = ee.ease, L = ee.duration;
80
80
  }
81
81
  L ?? (L = c);
82
- const $ = g + O;
82
+ const $ = g + N;
83
83
  _.length === 1 && _[0] === 0 && (_[1] = 1);
84
84
  const re = _.length - A.length;
85
85
  if (re > 0 && et(_, re), A.length === 1 && A.unshift(null), W) {
86
- Oe(W < Lt, "Repeat count too high, must be less than 20"), L = Tt(L, W);
86
+ Ne(W < Lt, "Repeat count too high, must be less than 20"), L = Tt(L, W);
87
87
  const K = [...A], Q = [..._];
88
88
  M = Array.isArray(M) ? [...M] : [M];
89
89
  const ee = [...M];
@@ -95,13 +95,13 @@ function Ct(t, { defaultTransition: e = {}, ...r } = {}, n, o) {
95
95
  Rt(_, W);
96
96
  }
97
97
  const ne = $ + L;
98
- At(I, A, M, _, $, ne), C = Math.max(O + L, C), x = Math.max(ne, x);
98
+ At(I, A, M, _, $, ne), C = Math.max(N + L, C), x = Math.max(ne, x);
99
99
  };
100
100
  if (Me(F)) {
101
101
  const T = de(F, b);
102
102
  U(d, S, me("default", T));
103
103
  } else {
104
- const T = Ne(F, d, n, v), w = T.length;
104
+ const T = Oe(F, d, n, v), w = T.length;
105
105
  for (let I = 0; I < w; I++) {
106
106
  d = d, S = S;
107
107
  const P = T[I], D = de(P, b);
@@ -183,7 +183,7 @@ class Mt extends ot {
183
183
  return 0;
184
184
  }
185
185
  }
186
- function Ot(t) {
186
+ function Nt(t) {
187
187
  const e = {
188
188
  presenceContext: null,
189
189
  props: {},
@@ -200,7 +200,7 @@ function Ot(t) {
200
200
  }, r = st(t) && !at(t) ? new ct(e) : new ut(e);
201
201
  r.mount(t), se.set(t, r);
202
202
  }
203
- function Nt(t) {
203
+ function Ot(t) {
204
204
  const e = {
205
205
  presenceContext: null,
206
206
  props: {},
@@ -221,10 +221,10 @@ function De(t, e, r, n) {
221
221
  if (Bt(t, e))
222
222
  o.push(lt(t, ue(e) && e.default || e, r && (r.default || r)));
223
223
  else {
224
- const c = Ne(t, e, n), m = c.length;
225
- Oe(!!m, "No valid elements provided.");
224
+ const c = Oe(t, e, n), m = c.length;
225
+ Ne(!!m, "No valid elements provided.");
226
226
  for (let b = 0; b < m; b++) {
227
- const v = c[b], R = v instanceof Element ? Ot : Nt;
227
+ const v = c[b], R = v instanceof Element ? Nt : Ot;
228
228
  se.has(v) || R(v);
229
229
  const p = se.get(v), g = { ...r };
230
230
  "delay" in g && typeof g.delay == "function" && (g.delay = g.delay(b, m)), o.push(...ft(p, { ...e, transition: g }, {}));
@@ -405,7 +405,7 @@ function Sr() {
405
405
  return t;
406
406
  }
407
407
  function pe(t, e, r, n) {
408
- const o = Math.max(1, Math.min(t, e)), c = Math.min(r, 20), b = Math.min(c + n, o), v = Math.min(b, Math.floor(t / 2)), R = Math.min(b, Math.floor(e / 2)), p = ($) => $ / t * 2 - 1, g = ($) => $ / e * 2 - 1, x = 0, l = t, y = 0, F = e, d = v, S = t - v, C = R, U = e - R, T = p(x), w = p(l), I = g(y), P = g(F), D = p(d), A = p(S), f = g(C), _ = g(U), N = 0, W = 0, k = 1, H = 1, z = v / t, M = 1 - v / t, L = R / e, O = 1 - R / e, j = new Float32Array([
408
+ const o = Math.max(1, Math.min(t, e)), c = Math.min(r, 20), b = Math.min(c + n, o), v = Math.min(b, Math.floor(t / 2)), R = Math.min(b, Math.floor(e / 2)), p = ($) => $ / t * 2 - 1, g = ($) => $ / e * 2 - 1, x = 0, l = t, y = 0, F = e, d = v, S = t - v, C = R, U = e - R, T = p(x), w = p(l), I = g(y), P = g(F), D = p(d), A = p(S), f = g(C), _ = g(U), O = 0, W = 0, k = 1, H = 1, z = v / t, M = 1 - v / t, L = R / e, N = 1 - R / e, j = new Float32Array([
409
409
  // Top strip
410
410
  T,
411
411
  I,
@@ -460,57 +460,57 @@ function pe(t, e, r, n) {
460
460
  _
461
461
  ]), Z = new Float32Array([
462
462
  // Top strip
463
- N,
463
+ O,
464
464
  W,
465
465
  k,
466
466
  W,
467
- N,
467
+ O,
468
468
  L,
469
- N,
469
+ O,
470
470
  L,
471
471
  k,
472
472
  W,
473
473
  k,
474
474
  L,
475
475
  // Bottom strip
476
- N,
477
476
  O,
477
+ N,
478
478
  k,
479
- O,
480
479
  N,
480
+ O,
481
481
  H,
482
- N,
482
+ O,
483
483
  H,
484
484
  k,
485
- O,
485
+ N,
486
486
  k,
487
487
  H,
488
488
  // Left strip
489
- N,
489
+ O,
490
490
  L,
491
491
  z,
492
492
  L,
493
- N,
494
493
  O,
495
494
  N,
496
495
  O,
496
+ N,
497
497
  z,
498
498
  L,
499
499
  z,
500
- O,
500
+ N,
501
501
  // Right strip
502
502
  M,
503
503
  L,
504
504
  k,
505
505
  L,
506
506
  M,
507
- O,
507
+ N,
508
508
  M,
509
- O,
509
+ N,
510
510
  k,
511
511
  L,
512
512
  k,
513
- O
513
+ N
514
514
  ]);
515
515
  return { positions: j, uvs: Z };
516
516
  }
@@ -1246,7 +1246,7 @@ function sr({
1246
1246
  isNeeded: !1,
1247
1247
  value: [0, 0, 0, 0]
1248
1248
  }
1249
- }), _ = B(n), N = (i, a) => {
1249
+ }), _ = B(n), O = (i, a) => {
1250
1250
  const s = "width" in i ? i.width ?? 0 : 0, h = "height" in i ? i.height ?? 0 : 0, u = f.current.iChannelResolution;
1251
1251
  if (!u) return;
1252
1252
  const E = Array.isArray(u.value) ? u.value : u.value = [];
@@ -1302,7 +1302,7 @@ function sr({
1302
1302
  }, L = () => {
1303
1303
  const i = Array.isArray(f.current.iMouse?.value) ? f.current.iMouse.value : void 0;
1304
1304
  i && (i[2] = 0, i[3] = 0);
1305
- }, O = () => {
1305
+ }, N = () => {
1306
1306
  const i = y.current;
1307
1307
  if (!i) return;
1308
1308
  T.current = l.current?.getBoundingClientRect();
@@ -1383,8 +1383,8 @@ ${a}`));
1383
1383
  (s, h) => (f.current[`${Qt}${h}`] = {
1384
1384
  type: "sampler2D",
1385
1385
  isNeeded: !1
1386
- }, N(s, h), P.current[h] = new or(i), P.current[h]?.load(s).then((u) => {
1387
- N(u, h);
1386
+ }, O(s, h), P.current[h] = new or(i), P.current[h]?.load(s).then((u) => {
1387
+ O(u, h);
1388
1388
  }))
1389
1389
  );
1390
1390
  Promise.all(a).then(() => {
@@ -1536,14 +1536,14 @@ ${a}`));
1536
1536
  "deviceorientation",
1537
1537
  H,
1538
1538
  i
1539
- ), l.current && (A.current = new ResizeObserver(O), A.current.observe(l.current), window.addEventListener("resize", O, i));
1539
+ ), l.current && (A.current = new ResizeObserver(N), A.current.observe(l.current), window.addEventListener("resize", N, i));
1540
1540
  }, J = () => {
1541
1541
  const i = { passive: !0 };
1542
1542
  f.current.iMouse?.isNeeded && l.current && (l.current.removeEventListener("mousemove", M, i), l.current.removeEventListener("mouseout", L, i), l.current.removeEventListener("mouseup", L, i), l.current.removeEventListener("mousedown", z, i), l.current.removeEventListener("touchmove", M, i), l.current.removeEventListener("touchend", L, i), l.current.removeEventListener("touchstart", z, i)), f.current.iDeviceOrientation?.isNeeded && window.removeEventListener(
1543
1543
  "deviceorientation",
1544
1544
  H,
1545
1545
  i
1546
- ), A.current && (A.current.disconnect(), window.removeEventListener("resize", O, i));
1546
+ ), A.current && (A.current.disconnect(), window.removeEventListener("resize", N, i));
1547
1547
  };
1548
1548
  return ie(() => {
1549
1549
  _.current = n;
@@ -1552,7 +1552,7 @@ ${a}`));
1552
1552
  function a() {
1553
1553
  W();
1554
1554
  const s = y.current;
1555
- s && l.current && (s.clearColor(...o), s.clearDepth(1), s.enable(s.DEPTH_TEST), s.depthFunc(s.LEQUAL), s.viewport(0, 0, l.current.width, l.current.height), l.current.height = l.current.clientHeight, l.current.width = l.current.clientWidth, $(), re(), Z(ne(t || Kt), e || we), k(), requestAnimationFrame(Q), ee(), O());
1555
+ s && l.current && (s.clearColor(...o), s.clearDepth(1), s.enable(s.DEPTH_TEST), s.depthFunc(s.LEQUAL), s.viewport(0, 0, l.current.width, l.current.height), l.current.height = l.current.clientHeight, l.current.width = l.current.clientWidth, $(), re(), Z(ne(t || Kt), e || we), k(), requestAnimationFrame(Q), ee(), N());
1556
1556
  }
1557
1557
  return requestAnimationFrame(a), () => {
1558
1558
  const s = y.current;