@remotion/promo-pages 4.0.467 → 4.0.468

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/design.js CHANGED
@@ -1,15 +1,26 @@
1
+ var __create = Object.create;
2
+ var __getProtoOf = Object.getPrototypeOf;
1
3
  var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __toESM = (mod, isNodeMode, target) => {
7
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
8
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9
+ for (let key of __getOwnPropNames(mod))
10
+ if (!__hasOwnProp.call(to, key))
11
+ __defProp(to, key, {
12
+ get: () => mod[key],
13
+ enumerable: true
14
+ });
15
+ return to;
16
+ };
6
17
  var __export = (target, all) => {
7
18
  for (var name in all)
8
19
  __defProp(target, name, {
9
20
  get: all[name],
10
21
  enumerable: true,
11
22
  configurable: true,
12
- set: __exportSetter.bind(all, name)
23
+ set: (newValue) => all[name] = () => newValue
13
24
  });
14
25
  };
15
26
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
@@ -5737,9 +5748,9 @@ import {
5737
5748
  useContext as useContext17,
5738
5749
  useEffect as useEffect3,
5739
5750
  useMemo as useMemo14,
5751
+ useRef as useRef6,
5740
5752
  useState as useState5
5741
5753
  } from "react";
5742
- import { useRef as useRef6 } from "react";
5743
5754
  import { useContext as useContext14, useMemo as useMemo11 } from "react";
5744
5755
  import { createContext as createContext12 } from "react";
5745
5756
  import { useContext as useContext10, useMemo as useMemo9 } from "react";
@@ -5952,17 +5963,13 @@ import {
5952
5963
  import { jsx as jsx37 } from "react/jsx-runtime";
5953
5964
  import { jsx as jsx38 } from "react/jsx-runtime";
5954
5965
  var __defProp2 = Object.defineProperty;
5955
- var __returnValue2 = (v) => v;
5956
- function __exportSetter2(name, newValue) {
5957
- this[name] = __returnValue2.bind(null, newValue);
5958
- }
5959
5966
  var __export2 = (target, all) => {
5960
5967
  for (var name in all)
5961
5968
  __defProp2(target, name, {
5962
5969
  get: all[name],
5963
5970
  enumerable: true,
5964
5971
  configurable: true,
5965
- set: __exportSetter2.bind(all, name)
5972
+ set: (newValue) => all[name] = () => newValue
5966
5973
  });
5967
5974
  };
5968
5975
  if (typeof createContext !== "function") {
@@ -7077,7 +7084,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
7077
7084
  var addSequenceStackTraces = (component) => {
7078
7085
  componentsToAddStacksTo.push(component);
7079
7086
  };
7080
- var VERSION = "4.0.467";
7087
+ var VERSION = "4.0.468";
7081
7088
  var checkMultipleRemotionVersions = () => {
7082
7089
  if (typeof globalThis === "undefined") {
7083
7090
  return;
@@ -8166,10 +8173,16 @@ var RegularSequenceRefForwardingFunction = ({
8166
8173
  const postmounting = useMemo14(() => {
8167
8174
  return parentSequence?.postmounting || Boolean(other._remotionInternalIsPostmounting);
8168
8175
  }, [other._remotionInternalIsPostmounting, parentSequence?.postmounting]);
8176
+ const currentSequenceStart = cumulatedFrom + from;
8177
+ const parentSequenceStart = parentSequence ? parentSequence.cumulatedFrom + parentSequence.relativeFrom : 0;
8178
+ const parentFirstFrame = parentSequence ? parentSequenceStart - parentSequence.cumulatedNegativeFrom : 0;
8179
+ const firstFrame = Math.max(0, parentFirstFrame, currentSequenceStart);
8180
+ const cumulatedNegativeFrom = currentSequenceStart - firstFrame;
8169
8181
  const contextValue = useMemo14(() => {
8170
8182
  return {
8171
8183
  cumulatedFrom,
8172
8184
  relativeFrom: from,
8185
+ cumulatedNegativeFrom,
8173
8186
  durationInFrames: actualDurationInFrames,
8174
8187
  parentFrom: parentSequence?.relativeFrom ?? 0,
8175
8188
  id,
@@ -8191,7 +8204,8 @@ var RegularSequenceRefForwardingFunction = ({
8191
8204
  premounting,
8192
8205
  postmounting,
8193
8206
  premountDisplay,
8194
- postmountDisplay
8207
+ postmountDisplay,
8208
+ cumulatedNegativeFrom
8195
8209
  ]);
8196
8210
  const timelineClipName = useMemo14(() => {
8197
8211
  return name ?? "";
@@ -10910,8 +10924,7 @@ var useVolume = ({
10910
10924
  };
10911
10925
  var useMediaStartsAt = () => {
10912
10926
  const parentSequence = useContext23(SequenceContext);
10913
- const startsAt = Math.min(0, parentSequence?.relativeFrom ?? 0);
10914
- return startsAt;
10927
+ return parentSequence?.cumulatedNegativeFrom ?? 0;
10915
10928
  };
10916
10929
  var useFrameForVolumeProp = (behavior) => {
10917
10930
  const loop = Loop.useLoop();
@@ -12363,7 +12376,7 @@ var AudioForRenderingRefForwardingFunction = (props, ref) => {
12363
12376
  mediaFrame: frame,
12364
12377
  playbackRate: props.playbackRate ?? 1,
12365
12378
  toneFrequency: toneFrequency ?? 1,
12366
- audioStartFrame: Math.max(0, -(sequenceContext?.relativeFrom ?? 0)),
12379
+ audioStartFrame: Math.max(0, -(sequenceContext?.cumulatedNegativeFrom ?? 0)),
12367
12380
  audioStreamIndex: audioStreamIndex ?? 0
12368
12381
  });
12369
12382
  return () => unregisterRenderAsset(id);
@@ -12380,7 +12393,7 @@ var AudioForRenderingRefForwardingFunction = (props, ref) => {
12380
12393
  playbackRate,
12381
12394
  props.playbackRate,
12382
12395
  toneFrequency,
12383
- sequenceContext?.relativeFrom,
12396
+ sequenceContext?.cumulatedNegativeFrom,
12384
12397
  audioStreamIndex
12385
12398
  ]);
12386
12399
  const { src } = props;
@@ -13641,7 +13654,7 @@ var OffthreadVideoForRendering = ({
13641
13654
  mediaFrame: frame,
13642
13655
  playbackRate,
13643
13656
  toneFrequency,
13644
- audioStartFrame: Math.max(0, -(sequenceContext?.relativeFrom ?? 0)),
13657
+ audioStartFrame: Math.max(0, -(sequenceContext?.cumulatedNegativeFrom ?? 0)),
13645
13658
  audioStreamIndex
13646
13659
  });
13647
13660
  return () => unregisterRenderAsset(id);
@@ -13656,7 +13669,7 @@ var OffthreadVideoForRendering = ({
13656
13669
  absoluteFrame,
13657
13670
  playbackRate,
13658
13671
  toneFrequency,
13659
- sequenceContext?.relativeFrom,
13672
+ sequenceContext?.cumulatedNegativeFrom,
13660
13673
  audioStreamIndex
13661
13674
  ]);
13662
13675
  const currentTime = useMemo35(() => {
@@ -15054,7 +15067,7 @@ var VideoForRenderingForwardFunction = ({
15054
15067
  mediaFrame: frame,
15055
15068
  playbackRate: playbackRate ?? 1,
15056
15069
  toneFrequency: toneFrequency ?? 1,
15057
- audioStartFrame: Math.max(0, -(sequenceContext?.relativeFrom ?? 0)),
15070
+ audioStartFrame: Math.max(0, -(sequenceContext?.cumulatedNegativeFrom ?? 0)),
15058
15071
  audioStreamIndex: audioStreamIndex ?? 0
15059
15072
  });
15060
15073
  return () => unregisterRenderAsset(id);
@@ -15069,7 +15082,7 @@ var VideoForRenderingForwardFunction = ({
15069
15082
  absoluteFrame,
15070
15083
  playbackRate,
15071
15084
  toneFrequency,
15072
- sequenceContext?.relativeFrom,
15085
+ sequenceContext?.cumulatedNegativeFrom,
15073
15086
  audioStreamIndex
15074
15087
  ]);
15075
15088
  useImperativeHandle9(ref, () => {
@@ -15397,8 +15410,8 @@ import * as React282 from "react";
15397
15410
  import { jsx as jsx232 } from "react/jsx-runtime";
15398
15411
  import * as React35 from "react";
15399
15412
  import * as React312 from "react";
15400
- import * as React292 from "react";
15401
15413
  import { useState as useState112 } from "react";
15414
+ import * as React292 from "react";
15402
15415
  import * as React30 from "react";
15403
15416
  import * as React342 from "react";
15404
15417
  import * as React332 from "react";
@@ -19153,7 +19166,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
19153
19166
  return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
19154
19167
  };
19155
19168
  var __assign = function() {
19156
- __assign = Object.assign || function __assign2(t) {
19169
+ __assign = Object.assign || function __assign(t) {
19157
19170
  for (var s, i = 1, n = arguments.length;i < n; i++) {
19158
19171
  s = arguments[i];
19159
19172
  for (var p in s)
@@ -20940,17 +20953,17 @@ function createContextScope2(scopeName, createContextScopeDeps = []) {
20940
20953
  let defaultContexts = [];
20941
20954
  function createContext32(rootComponentName, defaultContext) {
20942
20955
  const BaseContext = React382.createContext(defaultContext);
20943
- const index3 = defaultContexts.length;
20956
+ const index2 = defaultContexts.length;
20944
20957
  defaultContexts = [...defaultContexts, defaultContext];
20945
20958
  const Provider = (props) => {
20946
20959
  const { scope, children, ...context } = props;
20947
- const Context = scope?.[scopeName]?.[index3] || BaseContext;
20960
+ const Context = scope?.[scopeName]?.[index2] || BaseContext;
20948
20961
  const value = React382.useMemo(() => context, Object.values(context));
20949
20962
  return /* @__PURE__ */ jsx272(Context.Provider, { value, children });
20950
20963
  };
20951
20964
  Provider.displayName = rootComponentName + "Provider";
20952
20965
  function useContext222(consumerName, scope) {
20953
- const Context = scope?.[scopeName]?.[index3] || BaseContext;
20966
+ const Context = scope?.[scopeName]?.[index2] || BaseContext;
20954
20967
  const context = React382.useContext(Context);
20955
20968
  if (context)
20956
20969
  return context;
@@ -21147,10 +21160,10 @@ var OrderedDict = class _OrderedDict extends Map {
21147
21160
  super.set(key, value);
21148
21161
  return this;
21149
21162
  }
21150
- insert(index3, key, value) {
21163
+ insert(index2, key, value) {
21151
21164
  const has = this.has(key);
21152
21165
  const length2 = this.#keys.length;
21153
- const relativeIndex = toSafeInteger(index3);
21166
+ const relativeIndex = toSafeInteger(index2);
21154
21167
  let actualIndex = relativeIndex >= 0 ? relativeIndex : length2 + relativeIndex;
21155
21168
  const safeIndex = actualIndex < 0 || actualIndex >= length2 ? -1 : actualIndex;
21156
21169
  if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {
@@ -21188,39 +21201,39 @@ var OrderedDict = class _OrderedDict extends Map {
21188
21201
  }
21189
21202
  return this;
21190
21203
  }
21191
- with(index3, key, value) {
21204
+ with(index2, key, value) {
21192
21205
  const copy = new _OrderedDict(this);
21193
- copy.insert(index3, key, value);
21206
+ copy.insert(index2, key, value);
21194
21207
  return copy;
21195
21208
  }
21196
21209
  before(key) {
21197
- const index3 = this.#keys.indexOf(key) - 1;
21198
- if (index3 < 0) {
21210
+ const index2 = this.#keys.indexOf(key) - 1;
21211
+ if (index2 < 0) {
21199
21212
  return;
21200
21213
  }
21201
- return this.entryAt(index3);
21214
+ return this.entryAt(index2);
21202
21215
  }
21203
21216
  setBefore(key, newKey, value) {
21204
- const index3 = this.#keys.indexOf(key);
21205
- if (index3 === -1) {
21217
+ const index2 = this.#keys.indexOf(key);
21218
+ if (index2 === -1) {
21206
21219
  return this;
21207
21220
  }
21208
- return this.insert(index3, newKey, value);
21221
+ return this.insert(index2, newKey, value);
21209
21222
  }
21210
21223
  after(key) {
21211
- let index3 = this.#keys.indexOf(key);
21212
- index3 = index3 === -1 || index3 === this.size - 1 ? -1 : index3 + 1;
21213
- if (index3 === -1) {
21224
+ let index2 = this.#keys.indexOf(key);
21225
+ index2 = index2 === -1 || index2 === this.size - 1 ? -1 : index2 + 1;
21226
+ if (index2 === -1) {
21214
21227
  return;
21215
21228
  }
21216
- return this.entryAt(index3);
21229
+ return this.entryAt(index2);
21217
21230
  }
21218
21231
  setAfter(key, newKey, value) {
21219
- const index3 = this.#keys.indexOf(key);
21220
- if (index3 === -1) {
21232
+ const index2 = this.#keys.indexOf(key);
21233
+ if (index2 === -1) {
21221
21234
  return this;
21222
21235
  }
21223
- return this.insert(index3 + 1, newKey, value);
21236
+ return this.insert(index2 + 1, newKey, value);
21224
21237
  }
21225
21238
  first() {
21226
21239
  return this.entryAt(0);
@@ -21239,21 +21252,21 @@ var OrderedDict = class _OrderedDict extends Map {
21239
21252
  }
21240
21253
  return deleted;
21241
21254
  }
21242
- deleteAt(index3) {
21243
- const key = this.keyAt(index3);
21255
+ deleteAt(index2) {
21256
+ const key = this.keyAt(index2);
21244
21257
  if (key !== undefined) {
21245
21258
  return this.delete(key);
21246
21259
  }
21247
21260
  return false;
21248
21261
  }
21249
- at(index3) {
21250
- const key = at(this.#keys, index3);
21262
+ at(index2) {
21263
+ const key = at(this.#keys, index2);
21251
21264
  if (key !== undefined) {
21252
21265
  return this.get(key);
21253
21266
  }
21254
21267
  }
21255
- entryAt(index3) {
21256
- const key = at(this.#keys, index3);
21268
+ entryAt(index2) {
21269
+ const key = at(this.#keys, index2);
21257
21270
  if (key !== undefined) {
21258
21271
  return [key, this.get(key)];
21259
21272
  }
@@ -21261,15 +21274,15 @@ var OrderedDict = class _OrderedDict extends Map {
21261
21274
  indexOf(key) {
21262
21275
  return this.#keys.indexOf(key);
21263
21276
  }
21264
- keyAt(index3) {
21265
- return at(this.#keys, index3);
21277
+ keyAt(index2) {
21278
+ return at(this.#keys, index2);
21266
21279
  }
21267
21280
  from(key, offset4) {
21268
- const index3 = this.indexOf(key);
21269
- if (index3 === -1) {
21281
+ const index2 = this.indexOf(key);
21282
+ if (index2 === -1) {
21270
21283
  return;
21271
21284
  }
21272
- let dest = index3 + offset4;
21285
+ let dest = index2 + offset4;
21273
21286
  if (dest < 0)
21274
21287
  dest = 0;
21275
21288
  if (dest >= this.size)
@@ -21277,11 +21290,11 @@ var OrderedDict = class _OrderedDict extends Map {
21277
21290
  return this.at(dest);
21278
21291
  }
21279
21292
  keyFrom(key, offset4) {
21280
- const index3 = this.indexOf(key);
21281
- if (index3 === -1) {
21293
+ const index2 = this.indexOf(key);
21294
+ if (index2 === -1) {
21282
21295
  return;
21283
21296
  }
21284
- let dest = index3 + offset4;
21297
+ let dest = index2 + offset4;
21285
21298
  if (dest < 0)
21286
21299
  dest = 0;
21287
21300
  if (dest >= this.size)
@@ -21289,68 +21302,68 @@ var OrderedDict = class _OrderedDict extends Map {
21289
21302
  return this.keyAt(dest);
21290
21303
  }
21291
21304
  find(predicate, thisArg) {
21292
- let index3 = 0;
21305
+ let index2 = 0;
21293
21306
  for (const entry of this) {
21294
- if (Reflect.apply(predicate, thisArg, [entry, index3, this])) {
21307
+ if (Reflect.apply(predicate, thisArg, [entry, index2, this])) {
21295
21308
  return entry;
21296
21309
  }
21297
- index3++;
21310
+ index2++;
21298
21311
  }
21299
21312
  return;
21300
21313
  }
21301
21314
  findIndex(predicate, thisArg) {
21302
- let index3 = 0;
21315
+ let index2 = 0;
21303
21316
  for (const entry of this) {
21304
- if (Reflect.apply(predicate, thisArg, [entry, index3, this])) {
21305
- return index3;
21317
+ if (Reflect.apply(predicate, thisArg, [entry, index2, this])) {
21318
+ return index2;
21306
21319
  }
21307
- index3++;
21320
+ index2++;
21308
21321
  }
21309
21322
  return -1;
21310
21323
  }
21311
21324
  filter(predicate, thisArg) {
21312
21325
  const entries = [];
21313
- let index3 = 0;
21326
+ let index2 = 0;
21314
21327
  for (const entry of this) {
21315
- if (Reflect.apply(predicate, thisArg, [entry, index3, this])) {
21328
+ if (Reflect.apply(predicate, thisArg, [entry, index2, this])) {
21316
21329
  entries.push(entry);
21317
21330
  }
21318
- index3++;
21331
+ index2++;
21319
21332
  }
21320
21333
  return new _OrderedDict(entries);
21321
21334
  }
21322
21335
  map(callbackfn, thisArg) {
21323
21336
  const entries = [];
21324
- let index3 = 0;
21337
+ let index2 = 0;
21325
21338
  for (const entry of this) {
21326
- entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index3, this])]);
21327
- index3++;
21339
+ entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index2, this])]);
21340
+ index2++;
21328
21341
  }
21329
21342
  return new _OrderedDict(entries);
21330
21343
  }
21331
21344
  reduce(...args) {
21332
21345
  const [callbackfn, initialValue] = args;
21333
- let index3 = 0;
21346
+ let index2 = 0;
21334
21347
  let accumulator = initialValue ?? this.at(0);
21335
21348
  for (const entry of this) {
21336
- if (index3 === 0 && args.length === 1) {
21349
+ if (index2 === 0 && args.length === 1) {
21337
21350
  accumulator = entry;
21338
21351
  } else {
21339
- accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index3, this]);
21352
+ accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index2, this]);
21340
21353
  }
21341
- index3++;
21354
+ index2++;
21342
21355
  }
21343
21356
  return accumulator;
21344
21357
  }
21345
21358
  reduceRight(...args) {
21346
21359
  const [callbackfn, initialValue] = args;
21347
21360
  let accumulator = initialValue ?? this.at(-1);
21348
- for (let index3 = this.size - 1;index3 >= 0; index3--) {
21349
- const entry = this.at(index3);
21350
- if (index3 === this.size - 1 && args.length === 1) {
21361
+ for (let index2 = this.size - 1;index2 >= 0; index2--) {
21362
+ const entry = this.at(index2);
21363
+ if (index2 === this.size - 1 && args.length === 1) {
21351
21364
  accumulator = entry;
21352
21365
  } else {
21353
- accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index3, this]);
21366
+ accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index2, this]);
21354
21367
  }
21355
21368
  }
21356
21369
  return accumulator;
@@ -21361,8 +21374,8 @@ var OrderedDict = class _OrderedDict extends Map {
21361
21374
  }
21362
21375
  toReversed() {
21363
21376
  const reversed = new _OrderedDict;
21364
- for (let index3 = this.size - 1;index3 >= 0; index3--) {
21365
- const key = this.keyAt(index3);
21377
+ for (let index2 = this.size - 1;index2 >= 0; index2--) {
21378
+ const key = this.keyAt(index2);
21366
21379
  const element = this.get(key);
21367
21380
  reversed.set(key, element);
21368
21381
  }
@@ -21385,44 +21398,44 @@ var OrderedDict = class _OrderedDict extends Map {
21385
21398
  if (end !== undefined && end > 0) {
21386
21399
  stop = end - 1;
21387
21400
  }
21388
- for (let index3 = start;index3 <= stop; index3++) {
21389
- const key = this.keyAt(index3);
21401
+ for (let index2 = start;index2 <= stop; index2++) {
21402
+ const key = this.keyAt(index2);
21390
21403
  const element = this.get(key);
21391
21404
  result.set(key, element);
21392
21405
  }
21393
21406
  return result;
21394
21407
  }
21395
21408
  every(predicate, thisArg) {
21396
- let index3 = 0;
21409
+ let index2 = 0;
21397
21410
  for (const entry of this) {
21398
- if (!Reflect.apply(predicate, thisArg, [entry, index3, this])) {
21411
+ if (!Reflect.apply(predicate, thisArg, [entry, index2, this])) {
21399
21412
  return false;
21400
21413
  }
21401
- index3++;
21414
+ index2++;
21402
21415
  }
21403
21416
  return true;
21404
21417
  }
21405
21418
  some(predicate, thisArg) {
21406
- let index3 = 0;
21419
+ let index2 = 0;
21407
21420
  for (const entry of this) {
21408
- if (Reflect.apply(predicate, thisArg, [entry, index3, this])) {
21421
+ if (Reflect.apply(predicate, thisArg, [entry, index2, this])) {
21409
21422
  return true;
21410
21423
  }
21411
- index3++;
21424
+ index2++;
21412
21425
  }
21413
21426
  return false;
21414
21427
  }
21415
21428
  };
21416
- function at(array, index3) {
21429
+ function at(array, index2) {
21417
21430
  if ("at" in Array.prototype) {
21418
- return Array.prototype.at.call(array, index3);
21431
+ return Array.prototype.at.call(array, index2);
21419
21432
  }
21420
- const actualIndex = toSafeIndex(array, index3);
21433
+ const actualIndex = toSafeIndex(array, index2);
21421
21434
  return actualIndex === -1 ? undefined : array[actualIndex];
21422
21435
  }
21423
- function toSafeIndex(array, index3) {
21436
+ function toSafeIndex(array, index2) {
21424
21437
  const length2 = array.length;
21425
- const relativeIndex = toSafeInteger(index3);
21438
+ const relativeIndex = toSafeInteger(index2);
21426
21439
  const actualIndex = relativeIndex >= 0 ? relativeIndex : length2 + relativeIndex;
21427
21440
  return actualIndex < 0 || actualIndex >= length2 ? -1 : actualIndex;
21428
21441
  }
@@ -21474,7 +21487,7 @@ var Primitive2 = NODES2.reduce((primitive, node) => {
21474
21487
  Node2.displayName = `Primitive.${node}`;
21475
21488
  return { ...primitive, [node]: Node2 };
21476
21489
  }, {});
21477
- function useCallbackRef4(callback) {
21490
+ function useCallbackRef3(callback) {
21478
21491
  const callbackRef = React44.useRef(callback);
21479
21492
  React44.useEffect(() => {
21480
21493
  callbackRef.current = callback;
@@ -21578,7 +21591,7 @@ var RovingFocusGroupImpl = React47.forwardRef((props, forwardedRef) => {
21578
21591
  caller: GROUP_NAME2
21579
21592
  });
21580
21593
  const [isTabbingBackOut, setIsTabbingBackOut] = React47.useState(false);
21581
- const handleEntryFocus = useCallbackRef4(onEntryFocus);
21594
+ const handleEntryFocus = useCallbackRef3(onEntryFocus);
21582
21595
  const getItems = useCollection2(__scopeRovingFocusGroup);
21583
21596
  const isClickFocusRef = React47.useRef(false);
21584
21597
  const [focusableItemsCount, setFocusableItemsCount] = React47.useState(0);
@@ -21731,7 +21744,7 @@ function focusFirst2(candidates, preventScroll = false) {
21731
21744
  }
21732
21745
  }
21733
21746
  function wrapArray2(array, startIndex) {
21734
- return array.map((_, index3) => array[(startIndex + index3) % array.length]);
21747
+ return array.map((_, index2) => array[(startIndex + index2) % array.length]);
21735
21748
  }
21736
21749
  var Root3 = RovingFocusGroup;
21737
21750
  var Item2 = RovingFocusGroupItem;
@@ -1,15 +1,26 @@
1
+ var __create = Object.create;
2
+ var __getProtoOf = Object.getPrototypeOf;
1
3
  var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __toESM = (mod, isNodeMode, target) => {
7
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
8
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9
+ for (let key of __getOwnPropNames(mod))
10
+ if (!__hasOwnProp.call(to, key))
11
+ __defProp(to, key, {
12
+ get: () => mod[key],
13
+ enumerable: true
14
+ });
15
+ return to;
16
+ };
6
17
  var __export = (target, all) => {
7
18
  for (var name in all)
8
19
  __defProp(target, name, {
9
20
  get: all[name],
10
21
  enumerable: true,
11
22
  configurable: true,
12
- set: __exportSetter.bind(all, name)
23
+ set: (newValue) => all[name] = () => newValue
13
24
  });
14
25
  };
15
26
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);