@dereekb/firebase 13.43.0 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/test/index.esm.js CHANGED
@@ -32,11 +32,8 @@ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
32
32
  reject(error);
33
33
  return;
34
34
  }
35
- if (info.done) {
36
- resolve(value);
37
- } else {
38
- Promise.resolve(value).then(_next, _throw);
39
- }
35
+ if (info.done) resolve(value);
36
+ else Promise.resolve(value).then(_next, _throw);
40
37
  }
41
38
  function _async_to_generator$7(fn) {
42
39
  return function() {
@@ -61,13 +58,13 @@ function _define_property$a(obj, key, value) {
61
58
  configurable: true,
62
59
  writable: true
63
60
  });
64
- } else {
65
- obj[key] = value;
66
- }
61
+ } else obj[key] = value;
67
62
  return obj;
68
63
  }
69
64
  function _iterable_to_array$2(iter) {
70
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
65
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
66
+ return Array.from(iter);
67
+ }
71
68
  }
72
69
  function _iterable_to_array_limit$1(arr, i) {
73
70
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -94,10 +91,10 @@ function _iterable_to_array_limit$1(arr, i) {
94
91
  return _arr;
95
92
  }
96
93
  function _non_iterable_rest$1() {
97
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
94
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
98
95
  }
99
96
  function _non_iterable_spread$2() {
100
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
97
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
101
98
  }
102
99
  function _object_spread$4(target) {
103
100
  for(var i = 1; i < arguments.length; i++){
@@ -124,9 +121,8 @@ function ownKeys$2(object, enumerableOnly) {
124
121
  }
125
122
  function _object_spread_props$2(target, source) {
126
123
  source = source != null ? source : {};
127
- if (Object.getOwnPropertyDescriptors) {
128
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
129
- } else {
124
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
125
+ else {
130
126
  ownKeys$2(Object(source)).forEach(function(key) {
131
127
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
132
128
  });
@@ -139,14 +135,6 @@ function _sliced_to_array$1(arr, i) {
139
135
  function _to_consumable_array$2(arr) {
140
136
  return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$2();
141
137
  }
142
- function _unsupported_iterable_to_array$2(o, minLen) {
143
- if (!o) return;
144
- if (typeof o === "string") return _array_like_to_array$2(o, minLen);
145
- var n = Object.prototype.toString.call(o).slice(8, -1);
146
- if (n === "Object" && o.constructor) n = o.constructor.name;
147
- if (n === "Map" || n === "Set") return Array.from(n);
148
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
149
- }
150
138
  function _ts_generator$7(thisArg, body) {
151
139
  var f, y, t, _ = {
152
140
  label: 0,
@@ -246,6 +234,14 @@ function _ts_generator$7(thisArg, body) {
246
234
  };
247
235
  }
248
236
  }
237
+ function _unsupported_iterable_to_array$2(o, minLen) {
238
+ if (!o) return;
239
+ if (typeof o === "string") return _array_like_to_array$2(o, minLen);
240
+ var n = Object.prototype.toString.call(o).slice(8, -1);
241
+ if (n === "Object" && o.constructor) n = o.constructor.name;
242
+ if (n === "Map" || n === "Set") return Array.from(n);
243
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
244
+ }
249
245
  /**
250
246
  * Creates a {@link TestingFirestoreAccessorDriver} that wraps the given driver with collection name fuzzing.
251
247
  *
@@ -366,9 +362,7 @@ function _define_property$9(obj, key, value) {
366
362
  configurable: true,
367
363
  writable: true
368
364
  });
369
- } else {
370
- obj[key] = value;
371
- }
365
+ } else obj[key] = value;
372
366
  return obj;
373
367
  }
374
368
  function _object_spread$3(target) {
@@ -396,9 +390,8 @@ function ownKeys$1(object, enumerableOnly) {
396
390
  }
397
391
  function _object_spread_props$1(target, source) {
398
392
  source = source != null ? source : {};
399
- if (Object.getOwnPropertyDescriptors) {
400
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
401
- } else {
393
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
394
+ else {
402
395
  ownKeys$1(Object(source)).forEach(function(key) {
403
396
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
404
397
  });
@@ -443,9 +436,7 @@ var bucketTestNameKey = 0;
443
436
  }
444
437
 
445
438
  function _assert_this_initialized$6(self) {
446
- if (self === void 0) {
447
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
448
- }
439
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
449
440
  return self;
450
441
  }
451
442
  function _call_super$6(_this, derived, args) {
@@ -453,9 +444,7 @@ function _call_super$6(_this, derived, args) {
453
444
  return _possible_constructor_return$6(_this, _is_native_reflect_construct$6() ? Reflect.construct(derived, args || [], _get_prototype_of$6(_this).constructor) : derived.apply(_this, args));
454
445
  }
455
446
  function _class_call_check$7(instance, Constructor) {
456
- if (!(instance instanceof Constructor)) {
457
- throw new TypeError("Cannot call a class as a function");
458
- }
447
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
459
448
  }
460
449
  function _defineProperties$6(target, props) {
461
450
  for(var i = 0; i < props.length; i++){
@@ -478,9 +467,7 @@ function _define_property$8(obj, key, value) {
478
467
  configurable: true,
479
468
  writable: true
480
469
  });
481
- } else {
482
- obj[key] = value;
483
- }
470
+ } else obj[key] = value;
484
471
  return obj;
485
472
  }
486
473
  function _get_prototype_of$6(o) {
@@ -502,10 +489,16 @@ function _inherits$6(subClass, superClass) {
502
489
  });
503
490
  if (superClass) _set_prototype_of$6(subClass, superClass);
504
491
  }
492
+ function _is_native_reflect_construct$6() {
493
+ try {
494
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
495
+ } catch (_) {}
496
+ return (_is_native_reflect_construct$6 = function() {
497
+ return !!result;
498
+ })();
499
+ }
505
500
  function _possible_constructor_return$6(self, call) {
506
- if (call && (_type_of$7(call) === "object" || typeof call === "function")) {
507
- return call;
508
- }
501
+ if (call && (_type_of$7(call) === "object" || typeof call === "function")) return call;
509
502
  return _assert_this_initialized$6(self);
510
503
  }
511
504
  function _set_prototype_of$6(o, p) {
@@ -519,14 +512,6 @@ function _type_of$7(obj) {
519
512
  "@swc/helpers - typeof";
520
513
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
521
514
  }
522
- function _is_native_reflect_construct$6() {
523
- try {
524
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
525
- } catch (_) {}
526
- return (_is_native_reflect_construct$6 = function() {
527
- return !!result;
528
- })();
529
- }
530
515
  /**
531
516
  * Combined test instance that provides access to both Firestore and Firebase Storage test contexts.
532
517
  *
@@ -601,9 +586,7 @@ function _is_native_reflect_construct$6() {
601
586
  (AbstractTestContextFixture);
602
587
 
603
588
  function _assert_this_initialized$5(self) {
604
- if (self === void 0) {
605
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
606
- }
589
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
607
590
  return self;
608
591
  }
609
592
  function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
@@ -614,11 +597,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
614
597
  reject(error);
615
598
  return;
616
599
  }
617
- if (info.done) {
618
- resolve(value);
619
- } else {
620
- Promise.resolve(value).then(_next, _throw);
621
- }
600
+ if (info.done) resolve(value);
601
+ else Promise.resolve(value).then(_next, _throw);
622
602
  }
623
603
  function _async_to_generator$6(fn) {
624
604
  return function() {
@@ -640,9 +620,7 @@ function _call_super$5(_this, derived, args) {
640
620
  return _possible_constructor_return$5(_this, _is_native_reflect_construct$5() ? Reflect.construct(derived, args || [], _get_prototype_of$5(_this).constructor) : derived.apply(_this, args));
641
621
  }
642
622
  function _class_call_check$6(instance, Constructor) {
643
- if (!(instance instanceof Constructor)) {
644
- throw new TypeError("Cannot call a class as a function");
645
- }
623
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
646
624
  }
647
625
  function _defineProperties$5(target, props) {
648
626
  for(var i = 0; i < props.length; i++){
@@ -665,9 +643,7 @@ function _define_property$7(obj, key, value) {
665
643
  configurable: true,
666
644
  writable: true
667
645
  });
668
- } else {
669
- obj[key] = value;
670
- }
646
+ } else obj[key] = value;
671
647
  return obj;
672
648
  }
673
649
  function _get_prototype_of$5(o) {
@@ -689,6 +665,14 @@ function _inherits$5(subClass, superClass) {
689
665
  });
690
666
  if (superClass) _set_prototype_of$5(subClass, superClass);
691
667
  }
668
+ function _is_native_reflect_construct$5() {
669
+ try {
670
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
671
+ } catch (_) {}
672
+ return (_is_native_reflect_construct$5 = function() {
673
+ return !!result;
674
+ })();
675
+ }
692
676
  function _object_spread$2(target) {
693
677
  for(var i = 1; i < arguments.length; i++){
694
678
  var source = arguments[i] != null ? arguments[i] : {};
@@ -714,9 +698,8 @@ function ownKeys(object, enumerableOnly) {
714
698
  }
715
699
  function _object_spread_props(target, source) {
716
700
  source = source != null ? source : {};
717
- if (Object.getOwnPropertyDescriptors) {
718
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
719
- } else {
701
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
702
+ else {
720
703
  ownKeys(Object(source)).forEach(function(key) {
721
704
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
722
705
  });
@@ -724,9 +707,7 @@ function _object_spread_props(target, source) {
724
707
  return target;
725
708
  }
726
709
  function _possible_constructor_return$5(self, call) {
727
- if (call && (_type_of$6(call) === "object" || typeof call === "function")) {
728
- return call;
729
- }
710
+ if (call && (_type_of$6(call) === "object" || typeof call === "function")) return call;
730
711
  return _assert_this_initialized$5(self);
731
712
  }
732
713
  function _set_prototype_of$5(o, p) {
@@ -736,18 +717,6 @@ function _set_prototype_of$5(o, p) {
736
717
  };
737
718
  return _set_prototype_of$5(o, p);
738
719
  }
739
- function _type_of$6(obj) {
740
- "@swc/helpers - typeof";
741
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
742
- }
743
- function _is_native_reflect_construct$5() {
744
- try {
745
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
746
- } catch (_) {}
747
- return (_is_native_reflect_construct$5 = function() {
748
- return !!result;
749
- })();
750
- }
751
720
  function _ts_generator$6(thisArg, body) {
752
721
  var f, y, t, _ = {
753
722
  label: 0,
@@ -847,6 +816,10 @@ function _ts_generator$6(thisArg, body) {
847
816
  };
848
817
  }
849
818
  }
819
+ function _type_of$6(obj) {
820
+ "@swc/helpers - typeof";
821
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
822
+ }
850
823
  /**
851
824
  * Creates a {@link TestFirestoreContext} backed by the rules unit testing emulator.
852
825
  *
@@ -1148,9 +1121,7 @@ function rulesTestContextForConfig(rulesTestEnv, testingRulesConfig) {
1148
1121
  });
1149
1122
 
1150
1123
  function _assert_this_initialized$4(self) {
1151
- if (self === void 0) {
1152
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1153
- }
1124
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1154
1125
  return self;
1155
1126
  }
1156
1127
  function _call_super$4(_this, derived, args) {
@@ -1158,9 +1129,7 @@ function _call_super$4(_this, derived, args) {
1158
1129
  return _possible_constructor_return$4(_this, _is_native_reflect_construct$4() ? Reflect.construct(derived, args || [], _get_prototype_of$4(_this).constructor) : derived.apply(_this, args));
1159
1130
  }
1160
1131
  function _class_call_check$5(instance, Constructor) {
1161
- if (!(instance instanceof Constructor)) {
1162
- throw new TypeError("Cannot call a class as a function");
1163
- }
1132
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1164
1133
  }
1165
1134
  function _defineProperties$4(target, props) {
1166
1135
  for(var i = 0; i < props.length; i++){
@@ -1183,9 +1152,7 @@ function _define_property$6(obj, key, value) {
1183
1152
  configurable: true,
1184
1153
  writable: true
1185
1154
  });
1186
- } else {
1187
- obj[key] = value;
1188
- }
1155
+ } else obj[key] = value;
1189
1156
  return obj;
1190
1157
  }
1191
1158
  function _get_prototype_of$4(o) {
@@ -1207,10 +1174,16 @@ function _inherits$4(subClass, superClass) {
1207
1174
  });
1208
1175
  if (superClass) _set_prototype_of$4(subClass, superClass);
1209
1176
  }
1177
+ function _is_native_reflect_construct$4() {
1178
+ try {
1179
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1180
+ } catch (_) {}
1181
+ return (_is_native_reflect_construct$4 = function() {
1182
+ return !!result;
1183
+ })();
1184
+ }
1210
1185
  function _possible_constructor_return$4(self, call) {
1211
- if (call && (_type_of$5(call) === "object" || typeof call === "function")) {
1212
- return call;
1213
- }
1186
+ if (call && (_type_of$5(call) === "object" || typeof call === "function")) return call;
1214
1187
  return _assert_this_initialized$4(self);
1215
1188
  }
1216
1189
  function _set_prototype_of$4(o, p) {
@@ -1224,14 +1197,6 @@ function _type_of$5(obj) {
1224
1197
  "@swc/helpers - typeof";
1225
1198
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1226
1199
  }
1227
- function _is_native_reflect_construct$4() {
1228
- try {
1229
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1230
- } catch (_) {}
1231
- return (_is_native_reflect_construct$4 = function() {
1232
- return !!result;
1233
- })();
1234
- }
1235
1200
  // MARK: Mock Item
1236
1201
  /**
1237
1202
  * {@link firestoreModelIdentity} for the root-level mock item collection (`mockItem` / `mi`).
@@ -1860,9 +1825,7 @@ function _is_native_reflect_construct$4() {
1860
1825
  */ var MOCK_ITEM_SYSTEM_STATE_STORED_DATA_CONVERTER_MAP = _define_property$6({}, MOCK_SYSTEM_STATE_TYPE, mockItemSystemDataConverter);
1861
1826
 
1862
1827
  function _class_call_check$4(instance, Constructor) {
1863
- if (!(instance instanceof Constructor)) {
1864
- throw new TypeError("Cannot call a class as a function");
1865
- }
1828
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1866
1829
  }
1867
1830
  // MARK: Collections
1868
1831
  /**
@@ -2025,9 +1988,7 @@ function _class_call_check$4(instance, Constructor) {
2025
1988
  */ var mockFirebaseModelServices = firebaseModelsService(MOCK_FIREBASE_MODEL_SERVICE_FACTORIES);
2026
1989
 
2027
1990
  function _assert_this_initialized$3(self) {
2028
- if (self === void 0) {
2029
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2030
- }
1991
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2031
1992
  return self;
2032
1993
  }
2033
1994
  function _call_super$3(_this, derived, args) {
@@ -2035,9 +1996,7 @@ function _call_super$3(_this, derived, args) {
2035
1996
  return _possible_constructor_return$3(_this, _is_native_reflect_construct$3() ? Reflect.construct(derived, args || [], _get_prototype_of$3(_this).constructor) : derived.apply(_this, args));
2036
1997
  }
2037
1998
  function _class_call_check$3(instance, Constructor) {
2038
- if (!(instance instanceof Constructor)) {
2039
- throw new TypeError("Cannot call a class as a function");
2040
- }
1999
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2041
2000
  }
2042
2001
  function _defineProperties$3(target, props) {
2043
2002
  for(var i = 0; i < props.length; i++){
@@ -2060,9 +2019,7 @@ function _define_property$5(obj, key, value) {
2060
2019
  configurable: true,
2061
2020
  writable: true
2062
2021
  });
2063
- } else {
2064
- obj[key] = value;
2065
- }
2022
+ } else obj[key] = value;
2066
2023
  return obj;
2067
2024
  }
2068
2025
  function _get_prototype_of$3(o) {
@@ -2084,10 +2041,16 @@ function _inherits$3(subClass, superClass) {
2084
2041
  });
2085
2042
  if (superClass) _set_prototype_of$3(subClass, superClass);
2086
2043
  }
2044
+ function _is_native_reflect_construct$3() {
2045
+ try {
2046
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2047
+ } catch (_) {}
2048
+ return (_is_native_reflect_construct$3 = function() {
2049
+ return !!result;
2050
+ })();
2051
+ }
2087
2052
  function _possible_constructor_return$3(self, call) {
2088
- if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
2089
- return call;
2090
- }
2053
+ if (call && (_type_of$4(call) === "object" || typeof call === "function")) return call;
2091
2054
  return _assert_this_initialized$3(self);
2092
2055
  }
2093
2056
  function _set_prototype_of$3(o, p) {
@@ -2101,14 +2064,6 @@ function _type_of$4(obj) {
2101
2064
  "@swc/helpers - typeof";
2102
2065
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
2103
2066
  }
2104
- function _is_native_reflect_construct$3() {
2105
- try {
2106
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2107
- } catch (_) {}
2108
- return (_is_native_reflect_construct$3 = function() {
2109
- return !!result;
2110
- })();
2111
- }
2112
2067
  // MARK: Test Item Testing Fixture
2113
2068
  /**
2114
2069
  * Provides direct access to all mock item Firestore collections for a single test run.
@@ -2130,17 +2085,6 @@ function _is_native_reflect_construct$3() {
2130
2085
  return this.mockItemCollection.collection;
2131
2086
  }
2132
2087
  },
2133
- {
2134
- key: "firestoreCollection",
2135
- get: /**
2136
- * Backwards-compatible alias for {@link MockItemCollectionFixtureInstance.mockItemCollection}.
2137
- *
2138
- * @returns The root {@link MockItemFirestoreCollection} from the fixture's underlying {@link MockItemCollections}.
2139
- * @deprecated Use mockItemCollection instead.
2140
- */ function get() {
2141
- return this.collections.mockItemCollection;
2142
- }
2143
- },
2144
2088
  {
2145
2089
  key: "mockItemCollection",
2146
2090
  get: function get() {
@@ -2242,9 +2186,7 @@ function _is_native_reflect_construct$3() {
2242
2186
  }
2243
2187
 
2244
2188
  function _assert_this_initialized$2(self) {
2245
- if (self === void 0) {
2246
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2247
- }
2189
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2248
2190
  return self;
2249
2191
  }
2250
2192
  function _call_super$2(_this, derived, args) {
@@ -2252,9 +2194,7 @@ function _call_super$2(_this, derived, args) {
2252
2194
  return _possible_constructor_return$2(_this, _is_native_reflect_construct$2() ? Reflect.construct(derived, args || [], _get_prototype_of$2(_this).constructor) : derived.apply(_this, args));
2253
2195
  }
2254
2196
  function _class_call_check$2(instance, Constructor) {
2255
- if (!(instance instanceof Constructor)) {
2256
- throw new TypeError("Cannot call a class as a function");
2257
- }
2197
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2258
2198
  }
2259
2199
  function _defineProperties$2(target, props) {
2260
2200
  for(var i = 0; i < props.length; i++){
@@ -2277,9 +2217,7 @@ function _define_property$4(obj, key, value) {
2277
2217
  configurable: true,
2278
2218
  writable: true
2279
2219
  });
2280
- } else {
2281
- obj[key] = value;
2282
- }
2220
+ } else obj[key] = value;
2283
2221
  return obj;
2284
2222
  }
2285
2223
  function _get_prototype_of$2(o) {
@@ -2301,10 +2239,16 @@ function _inherits$2(subClass, superClass) {
2301
2239
  });
2302
2240
  if (superClass) _set_prototype_of$2(subClass, superClass);
2303
2241
  }
2242
+ function _is_native_reflect_construct$2() {
2243
+ try {
2244
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2245
+ } catch (_) {}
2246
+ return (_is_native_reflect_construct$2 = function() {
2247
+ return !!result;
2248
+ })();
2249
+ }
2304
2250
  function _possible_constructor_return$2(self, call) {
2305
- if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
2306
- return call;
2307
- }
2251
+ if (call && (_type_of$3(call) === "object" || typeof call === "function")) return call;
2308
2252
  return _assert_this_initialized$2(self);
2309
2253
  }
2310
2254
  function _set_prototype_of$2(o, p) {
@@ -2318,14 +2262,6 @@ function _type_of$3(obj) {
2318
2262
  "@swc/helpers - typeof";
2319
2263
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
2320
2264
  }
2321
- function _is_native_reflect_construct$2() {
2322
- try {
2323
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2324
- } catch (_) {}
2325
- return (_is_native_reflect_construct$2 = function() {
2326
- return !!result;
2327
- })();
2328
- }
2329
2265
  // MARK: Test Item Testing Fixture
2330
2266
  /**
2331
2267
  * Provides access to Firebase Storage for a single test run within a mock item context.
@@ -2432,11 +2368,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
2432
2368
  reject(error);
2433
2369
  return;
2434
2370
  }
2435
- if (info.done) {
2436
- resolve(value);
2437
- } else {
2438
- Promise.resolve(value).then(_next, _throw);
2439
- }
2371
+ if (info.done) resolve(value);
2372
+ else Promise.resolve(value).then(_next, _throw);
2440
2373
  }
2441
2374
  function _async_to_generator$5(fn) {
2442
2375
  return function() {
@@ -2461,9 +2394,7 @@ function _define_property$3(obj, key, value) {
2461
2394
  configurable: true,
2462
2395
  writable: true
2463
2396
  });
2464
- } else {
2465
- obj[key] = value;
2466
- }
2397
+ } else obj[key] = value;
2467
2398
  return obj;
2468
2399
  }
2469
2400
  function _object_spread$1(target) {
@@ -2733,9 +2664,7 @@ function _ts_generator$5(thisArg, body) {
2733
2664
  }
2734
2665
 
2735
2666
  function _assert_this_initialized$1(self) {
2736
- if (self === void 0) {
2737
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2738
- }
2667
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2739
2668
  return self;
2740
2669
  }
2741
2670
  function _call_super$1(_this, derived, args) {
@@ -2743,9 +2672,7 @@ function _call_super$1(_this, derived, args) {
2743
2672
  return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
2744
2673
  }
2745
2674
  function _class_call_check$1(instance, Constructor) {
2746
- if (!(instance instanceof Constructor)) {
2747
- throw new TypeError("Cannot call a class as a function");
2748
- }
2675
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2749
2676
  }
2750
2677
  function _defineProperties$1(target, props) {
2751
2678
  for(var i = 0; i < props.length; i++){
@@ -2768,9 +2695,7 @@ function _define_property$2(obj, key, value) {
2768
2695
  configurable: true,
2769
2696
  writable: true
2770
2697
  });
2771
- } else {
2772
- obj[key] = value;
2773
- }
2698
+ } else obj[key] = value;
2774
2699
  return obj;
2775
2700
  }
2776
2701
  function _get_prototype_of$1(o) {
@@ -2792,10 +2717,16 @@ function _inherits$1(subClass, superClass) {
2792
2717
  });
2793
2718
  if (superClass) _set_prototype_of$1(subClass, superClass);
2794
2719
  }
2720
+ function _is_native_reflect_construct$1() {
2721
+ try {
2722
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2723
+ } catch (_) {}
2724
+ return (_is_native_reflect_construct$1 = function() {
2725
+ return !!result;
2726
+ })();
2727
+ }
2795
2728
  function _possible_constructor_return$1(self, call) {
2796
- if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
2797
- return call;
2798
- }
2729
+ if (call && (_type_of$2(call) === "object" || typeof call === "function")) return call;
2799
2730
  return _assert_this_initialized$1(self);
2800
2731
  }
2801
2732
  function _set_prototype_of$1(o, p) {
@@ -2809,14 +2740,6 @@ function _type_of$2(obj) {
2809
2740
  "@swc/helpers - typeof";
2810
2741
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
2811
2742
  }
2812
- function _is_native_reflect_construct$1() {
2813
- try {
2814
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2815
- } catch (_) {}
2816
- return (_is_native_reflect_construct$1 = function() {
2817
- return !!result;
2818
- })();
2819
- }
2820
2743
  /**
2821
2744
  * Test instance that wraps a {@link TestFirestoreContext} and provides convenient access
2822
2745
  * to the underlying Firestore instance.
@@ -2918,11 +2841,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
2918
2841
  reject(error);
2919
2842
  return;
2920
2843
  }
2921
- if (info.done) {
2922
- resolve(value);
2923
- } else {
2924
- Promise.resolve(value).then(_next, _throw);
2925
- }
2844
+ if (info.done) resolve(value);
2845
+ else Promise.resolve(value).then(_next, _throw);
2926
2846
  }
2927
2847
  function _async_to_generator$4(fn) {
2928
2848
  return function() {
@@ -6328,11 +6248,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
6328
6248
  reject(error);
6329
6249
  return;
6330
6250
  }
6331
- if (info.done) {
6332
- resolve(value);
6333
- } else {
6334
- Promise.resolve(value).then(_next, _throw);
6335
- }
6251
+ if (info.done) resolve(value);
6252
+ else Promise.resolve(value).then(_next, _throw);
6336
6253
  }
6337
6254
  function _async_to_generator$3(fn) {
6338
6255
  return function() {
@@ -6353,27 +6270,19 @@ function _instanceof(left, right) {
6353
6270
  "@swc/helpers - instanceof";
6354
6271
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
6355
6272
  return !!right[Symbol.hasInstance](left);
6356
- } else {
6357
- return left instanceof right;
6358
- }
6273
+ } else return left instanceof right;
6359
6274
  }
6360
6275
  function _iterable_to_array$1(iter) {
6361
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
6276
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
6277
+ return Array.from(iter);
6278
+ }
6362
6279
  }
6363
6280
  function _non_iterable_spread$1() {
6364
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6281
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6365
6282
  }
6366
6283
  function _to_consumable_array$1(arr) {
6367
6284
  return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
6368
6285
  }
6369
- function _unsupported_iterable_to_array$1(o, minLen) {
6370
- if (!o) return;
6371
- if (typeof o === "string") return _array_like_to_array$1(o, minLen);
6372
- var n = Object.prototype.toString.call(o).slice(8, -1);
6373
- if (n === "Object" && o.constructor) n = o.constructor.name;
6374
- if (n === "Map" || n === "Set") return Array.from(n);
6375
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
6376
- }
6377
6286
  function _ts_generator$3(thisArg, body) {
6378
6287
  var f, y, t, _ = {
6379
6288
  label: 0,
@@ -6473,6 +6382,14 @@ function _ts_generator$3(thisArg, body) {
6473
6382
  };
6474
6383
  }
6475
6384
  }
6385
+ function _unsupported_iterable_to_array$1(o, minLen) {
6386
+ if (!o) return;
6387
+ if (typeof o === "string") return _array_like_to_array$1(o, minLen);
6388
+ var n = Object.prototype.toString.call(o).slice(8, -1);
6389
+ if (n === "Object" && o.constructor) n = o.constructor.name;
6390
+ if (n === "Map" || n === "Set") return Array.from(n);
6391
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
6392
+ }
6476
6393
  /**
6477
6394
  * Creates a gate that calls `done()` once both `setSeen()` and `setCompleted()` have been invoked.
6478
6395
  *
@@ -9313,11 +9230,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
9313
9230
  reject(error);
9314
9231
  return;
9315
9232
  }
9316
- if (info.done) {
9317
- resolve(value);
9318
- } else {
9319
- Promise.resolve(value).then(_next, _throw);
9320
- }
9233
+ if (info.done) resolve(value);
9234
+ else Promise.resolve(value).then(_next, _throw);
9321
9235
  }
9322
9236
  function _async_to_generator$2(fn) {
9323
9237
  return function() {
@@ -9335,7 +9249,9 @@ function _async_to_generator$2(fn) {
9335
9249
  };
9336
9250
  }
9337
9251
  function _iterable_to_array(iter) {
9338
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9252
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
9253
+ return Array.from(iter);
9254
+ }
9339
9255
  }
9340
9256
  function _iterable_to_array_limit(arr, i) {
9341
9257
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -9362,10 +9278,10 @@ function _iterable_to_array_limit(arr, i) {
9362
9278
  return _arr;
9363
9279
  }
9364
9280
  function _non_iterable_rest() {
9365
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9281
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9366
9282
  }
9367
9283
  function _non_iterable_spread() {
9368
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9284
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9369
9285
  }
9370
9286
  function _sliced_to_array(arr, i) {
9371
9287
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
@@ -9373,14 +9289,6 @@ function _sliced_to_array(arr, i) {
9373
9289
  function _to_consumable_array(arr) {
9374
9290
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
9375
9291
  }
9376
- function _unsupported_iterable_to_array(o, minLen) {
9377
- if (!o) return;
9378
- if (typeof o === "string") return _array_like_to_array(o, minLen);
9379
- var n = Object.prototype.toString.call(o).slice(8, -1);
9380
- if (n === "Object" && o.constructor) n = o.constructor.name;
9381
- if (n === "Map" || n === "Set") return Array.from(n);
9382
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
9383
- }
9384
9292
  function _ts_generator$2(thisArg, body) {
9385
9293
  var f, y, t, _ = {
9386
9294
  label: 0,
@@ -9480,6 +9388,14 @@ function _ts_generator$2(thisArg, body) {
9480
9388
  };
9481
9389
  }
9482
9390
  }
9391
+ function _unsupported_iterable_to_array(o, minLen) {
9392
+ if (!o) return;
9393
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
9394
+ var n = Object.prototype.toString.call(o).slice(8, -1);
9395
+ if (n === "Object" && o.constructor) n = o.constructor.name;
9396
+ if (n === "Map" || n === "Set") return Array.from(n);
9397
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
9398
+ }
9483
9399
  /**
9484
9400
  * Registers a shared test suite that validates Firestore document utility functions
9485
9401
  * (snapshot helpers, document loaders, data extraction, reactive streams, and caching)
@@ -11264,11 +11180,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
11264
11180
  reject(error);
11265
11181
  return;
11266
11182
  }
11267
- if (info.done) {
11268
- resolve(value);
11269
- } else {
11270
- Promise.resolve(value).then(_next, _throw);
11271
- }
11183
+ if (info.done) resolve(value);
11184
+ else Promise.resolve(value).then(_next, _throw);
11272
11185
  }
11273
11186
  function _async_to_generator$1(fn) {
11274
11187
  return function() {
@@ -11731,9 +11644,7 @@ function _ts_generator$1(thisArg, body) {
11731
11644
  }
11732
11645
 
11733
11646
  function _assert_this_initialized(self) {
11734
- if (self === void 0) {
11735
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11736
- }
11647
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11737
11648
  return self;
11738
11649
  }
11739
11650
  function _call_super(_this, derived, args) {
@@ -11741,9 +11652,7 @@ function _call_super(_this, derived, args) {
11741
11652
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
11742
11653
  }
11743
11654
  function _class_call_check(instance, Constructor) {
11744
- if (!(instance instanceof Constructor)) {
11745
- throw new TypeError("Cannot call a class as a function");
11746
- }
11655
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
11747
11656
  }
11748
11657
  function _defineProperties(target, props) {
11749
11658
  for(var i = 0; i < props.length; i++){
@@ -11766,9 +11675,7 @@ function _define_property$1(obj, key, value) {
11766
11675
  configurable: true,
11767
11676
  writable: true
11768
11677
  });
11769
- } else {
11770
- obj[key] = value;
11771
- }
11678
+ } else obj[key] = value;
11772
11679
  return obj;
11773
11680
  }
11774
11681
  function _get_prototype_of(o) {
@@ -11790,10 +11697,16 @@ function _inherits(subClass, superClass) {
11790
11697
  });
11791
11698
  if (superClass) _set_prototype_of(subClass, superClass);
11792
11699
  }
11700
+ function _is_native_reflect_construct() {
11701
+ try {
11702
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
11703
+ } catch (_) {}
11704
+ return (_is_native_reflect_construct = function() {
11705
+ return !!result;
11706
+ })();
11707
+ }
11793
11708
  function _possible_constructor_return(self, call) {
11794
- if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
11795
- return call;
11796
- }
11709
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) return call;
11797
11710
  return _assert_this_initialized(self);
11798
11711
  }
11799
11712
  function _set_prototype_of(o, p) {
@@ -11807,14 +11720,6 @@ function _type_of$1(obj) {
11807
11720
  "@swc/helpers - typeof";
11808
11721
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11809
11722
  }
11810
- function _is_native_reflect_construct() {
11811
- try {
11812
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
11813
- } catch (_) {}
11814
- return (_is_native_reflect_construct = function() {
11815
- return !!result;
11816
- })();
11817
- }
11818
11723
  /**
11819
11724
  * Test instance that wraps a {@link TestFirebaseStorageContext} and provides convenient
11820
11725
  * access to the underlying Firebase Storage reference.
@@ -11874,11 +11779,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
11874
11779
  reject(error);
11875
11780
  return;
11876
11781
  }
11877
- if (info.done) {
11878
- resolve(value);
11879
- } else {
11880
- Promise.resolve(value).then(_next, _throw);
11881
- }
11782
+ if (info.done) resolve(value);
11783
+ else Promise.resolve(value).then(_next, _throw);
11882
11784
  }
11883
11785
  function _async_to_generator(fn) {
11884
11786
  return function() {
@@ -11903,9 +11805,7 @@ function _define_property(obj, key, value) {
11903
11805
  configurable: true,
11904
11806
  writable: true
11905
11807
  });
11906
- } else {
11907
- obj[key] = value;
11908
- }
11808
+ } else obj[key] = value;
11909
11809
  return obj;
11910
11810
  }
11911
11811
  function _object_spread(target) {
@@ -11923,10 +11823,6 @@ function _object_spread(target) {
11923
11823
  }
11924
11824
  return target;
11925
11825
  }
11926
- function _type_of(obj) {
11927
- "@swc/helpers - typeof";
11928
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11929
- }
11930
11826
  function _ts_generator(thisArg, body) {
11931
11827
  var f, y, t, _ = {
11932
11828
  label: 0,
@@ -12026,6 +11922,10 @@ function _ts_generator(thisArg, body) {
12026
11922
  };
12027
11923
  }
12028
11924
  }
11925
+ function _type_of(obj) {
11926
+ "@swc/helpers - typeof";
11927
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11928
+ }
12029
11929
  /**
12030
11930
  * Registers a shared test suite that validates {@link FirebaseStorageAccessorDriver} behavior
12031
11931
  * (file upload, download, copy, move, delete, metadata, folders, and listing/pagination)