@dereekb/firebase 12.7.0 → 13.0.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.
Files changed (84) hide show
  1. package/LICENSE +1 -1
  2. package/index.cjs.js +53 -2153
  3. package/index.esm.js +34 -2130
  4. package/package.json +21 -15
  5. package/src/lib/client/storage/driver.accessor.d.ts +1 -1
  6. package/src/lib/common/firestore/query/iterator.d.ts +0 -4
  7. package/src/lib/common/firestore/snapshot/snapshot.field.d.ts +0 -6
  8. package/src/lib/common/model/model.service.d.ts +1 -1
  9. package/src/lib/common/storage/driver/accessor.d.ts +1 -1
  10. package/src/lib/common/storage/types.d.ts +3 -3
  11. package/src/lib/model/notification/notification.api.d.ts +1 -1
  12. package/src/lib/model/notification/notification.config.d.ts +5 -5
  13. package/src/lib/model/notification/notification.d.ts +15 -15
  14. package/src/lib/model/notification/notification.details.d.ts +0 -4
  15. package/src/lib/model/notification/notification.item.d.ts +1 -1
  16. package/src/lib/model/storagefile/storagefile.api.d.ts +4 -4
  17. package/src/lib/model/storagefile/storagefile.d.ts +7 -7
  18. package/src/lib/model/storagefile/storagefile.task.d.ts +1 -13
  19. package/src/lib/model/system/system.d.ts +2 -2
  20. package/test/index.cjs.js +4043 -0
  21. package/test/index.esm.js +3957 -0
  22. package/test/package.json +27 -9
  23. package/test/src/lib/client/firebase.authorized.d.ts +2 -2
  24. package/test/src/lib/client/firebase.d.ts +4 -3
  25. package/test/src/lib/client/firestore.mock.item.fixture.authorized.d.ts +2 -2
  26. package/test/src/lib/common/firebase.instance.d.ts +7 -3
  27. package/test/src/lib/common/firestore/firestore.instance.d.ts +7 -3
  28. package/test/src/lib/common/mock/mock.item.collection.fixture.d.ts +5 -2
  29. package/test/src/lib/common/mock/mock.item.storage.fixture.d.ts +4 -4
  30. package/test/src/lib/common/storage/storage.instance.d.ts +7 -3
  31. package/test/CHANGELOG.md +0 -2118
  32. package/test/README.md +0 -11
  33. package/test/src/index.js +0 -5
  34. package/test/src/index.js.map +0 -1
  35. package/test/src/lib/client/firebase.authorized.js +0 -35
  36. package/test/src/lib/client/firebase.authorized.js.map +0 -1
  37. package/test/src/lib/client/firebase.js +0 -125
  38. package/test/src/lib/client/firebase.js.map +0 -1
  39. package/test/src/lib/client/firestore.mock.item.fixture.authorized.js +0 -19
  40. package/test/src/lib/client/firestore.mock.item.fixture.authorized.js.map +0 -1
  41. package/test/src/lib/client/index.js +0 -7
  42. package/test/src/lib/client/index.js.map +0 -1
  43. package/test/src/lib/common/firebase.instance.js +0 -35
  44. package/test/src/lib/common/firebase.instance.js.map +0 -1
  45. package/test/src/lib/common/firestore/firestore.instance.js +0 -24
  46. package/test/src/lib/common/firestore/firestore.instance.js.map +0 -1
  47. package/test/src/lib/common/firestore/firestore.js +0 -67
  48. package/test/src/lib/common/firestore/firestore.js.map +0 -1
  49. package/test/src/lib/common/firestore/index.js +0 -9
  50. package/test/src/lib/common/firestore/index.js.map +0 -1
  51. package/test/src/lib/common/firestore/test.driver.accessor.js +0 -767
  52. package/test/src/lib/common/firestore/test.driver.accessor.js.map +0 -1
  53. package/test/src/lib/common/firestore/test.driver.query.js +0 -1361
  54. package/test/src/lib/common/firestore/test.driver.query.js.map +0 -1
  55. package/test/src/lib/common/firestore/test.iterator.js +0 -221
  56. package/test/src/lib/common/firestore/test.iterator.js.map +0 -1
  57. package/test/src/lib/common/index.js +0 -8
  58. package/test/src/lib/common/index.js.map +0 -1
  59. package/test/src/lib/common/mock/index.js +0 -10
  60. package/test/src/lib/common/mock/index.js.map +0 -1
  61. package/test/src/lib/common/mock/mock.item.collection.fixture.js +0 -64
  62. package/test/src/lib/common/mock/mock.item.collection.fixture.js.map +0 -1
  63. package/test/src/lib/common/mock/mock.item.id.js +0 -3
  64. package/test/src/lib/common/mock/mock.item.id.js.map +0 -1
  65. package/test/src/lib/common/mock/mock.item.js +0 -339
  66. package/test/src/lib/common/mock/mock.item.js.map +0 -1
  67. package/test/src/lib/common/mock/mock.item.query.js +0 -33
  68. package/test/src/lib/common/mock/mock.item.query.js.map +0 -1
  69. package/test/src/lib/common/mock/mock.item.service.js +0 -77
  70. package/test/src/lib/common/mock/mock.item.service.js.map +0 -1
  71. package/test/src/lib/common/mock/mock.item.storage.fixture.js +0 -40
  72. package/test/src/lib/common/mock/mock.item.storage.fixture.js.map +0 -1
  73. package/test/src/lib/common/storage/index.js +0 -7
  74. package/test/src/lib/common/storage/index.js.map +0 -1
  75. package/test/src/lib/common/storage/storage.instance.js +0 -24
  76. package/test/src/lib/common/storage/storage.instance.js.map +0 -1
  77. package/test/src/lib/common/storage/storage.js +0 -37
  78. package/test/src/lib/common/storage/storage.js.map +0 -1
  79. package/test/src/lib/common/storage/test.driver.accessor.js +0 -669
  80. package/test/src/lib/common/storage/test.driver.accessor.js.map +0 -1
  81. package/test/src/lib/index.js +0 -6
  82. package/test/src/lib/index.js.map +0 -1
  83. /package/{index.cjs.d.ts → index.d.ts} +0 -0
  84. /package/{index.esm.d.ts → test/index.d.ts} +0 -0
package/index.cjs.js CHANGED
@@ -2,16 +2,31 @@
2
2
 
3
3
  var firestore = require('firebase/firestore');
4
4
  var util = require('@dereekb/util');
5
- var rxjs$1 = require('@dereekb/rxjs');
6
- var rxjs = require('rxjs');
5
+ var rxjs = require('@dereekb/rxjs');
6
+ var rxjs$1 = require('rxjs');
7
+ require('core-js/modules/es.iterator.constructor.js');
8
+ require('core-js/modules/es.iterator.filter.js');
9
+ require('core-js/modules/es.iterator.map.js');
10
+ require('core-js/modules/es.set.difference.v2.js');
11
+ require('core-js/modules/es.set.symmetric-difference.v2.js');
12
+ require('core-js/modules/es.set.union.v2.js');
7
13
  var model = require('@dereekb/model');
8
14
  var date = require('@dereekb/date');
15
+ require('core-js/modules/es.iterator.for-each.js');
16
+ require('core-js/modules/es.map.get-or-insert.js');
17
+ require('core-js/modules/es.map.get-or-insert-computed.js');
9
18
  var functions = require('firebase/functions');
19
+ require('core-js/modules/es.typed-array.with.js');
20
+ require('core-js/modules/es.uint8-array.set-from-base64.js');
21
+ require('core-js/modules/es.uint8-array.set-from-hex.js');
22
+ require('core-js/modules/es.uint8-array.to-base64.js');
23
+ require('core-js/modules/es.uint8-array.to-hex.js');
10
24
  var storage = require('firebase/storage');
11
25
  var classTransformer = require('class-transformer');
12
26
  var classValidator = require('class-validator');
13
27
  var fetch = require('@dereekb/util/fetch');
14
28
  var dateFns = require('date-fns');
29
+ require('core-js/modules/es.iterator.some.js');
15
30
 
16
31
  /**
17
32
  * Returns true if the input is seen as a client-side FirebaseError.
@@ -309,7 +324,7 @@ function snapshotStreamDataForAccessor(accessor, mode, options) {
309
324
  * @returns An Observable that emits DocumentSnapshots
310
325
  */
311
326
  function snapshotStreamForAccessor(accessor, mode) {
312
- return mode === exports.FirestoreAccessorStreamMode.GET ? rxjs.from(accessor.get()) : accessor.stream();
327
+ return mode === exports.FirestoreAccessorStreamMode.GET ? rxjs$1.from(accessor.get()) : accessor.stream();
313
328
  }
314
329
  /**
315
330
  * Creates an Observable that emits document data from a stream of DocumentSnapshots.
@@ -322,7 +337,7 @@ function snapshotStreamForAccessor(accessor, mode) {
322
337
  * @returns An Observable that emits document data, filtering out non-existent documents
323
338
  */
324
339
  function dataFromSnapshotStream(stream, options) {
325
- return stream.pipe(mapDataFromSnapshot(options), rxjs$1.filterMaybe());
340
+ return stream.pipe(mapDataFromSnapshot(options), rxjs.filterMaybe());
326
341
  }
327
342
  /**
328
343
  * Creates an RxJS operator that transforms DocumentSnapshots into their data.
@@ -332,7 +347,7 @@ function dataFromSnapshotStream(stream, options) {
332
347
  * @returns An operator that transforms DocumentSnapshots into document data (or undefined if the document doesn't exist)
333
348
  */
334
349
  function mapDataFromSnapshot(options) {
335
- return rxjs.map(x => x.data(options));
350
+ return rxjs$1.map(x => x.data(options));
336
351
  }
337
352
  /**
338
353
  * Creates a function that updates a document using a data converter.
@@ -424,8 +439,8 @@ class AbstractFirestoreDocument {
424
439
  constructor(accessor, documentAccessor) {
425
440
  this._accessor = void 0;
426
441
  this._documentAccessor = void 0;
427
- this.stream$ = rxjs$1.lazyFrom(() => this._accessor.stream());
428
- this.data$ = rxjs$1.lazyFrom(() => dataFromSnapshotStream(this.stream$));
442
+ this.stream$ = rxjs.lazyFrom(() => this._accessor.stream());
443
+ this.data$ = rxjs.lazyFrom(() => dataFromSnapshotStream(this.stream$));
429
444
  this._accessor = accessor;
430
445
  this._documentAccessor = documentAccessor;
431
446
  }
@@ -682,1498 +697,6 @@ function extendFirestoreCollectionWithSingleDocumentAccessor(x, singleItemIdenti
682
697
  x.loadDocumentForWriteBatch = singleAccessor.loadDocumentForWriteBatch;
683
698
  }
684
699
 
685
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
686
-
687
- var check = function (it) {
688
- return it && it.Math === Math && it;
689
- };
690
-
691
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
692
- var global$b =
693
- // eslint-disable-next-line es/no-global-this -- safe
694
- check(typeof globalThis == 'object' && globalThis) ||
695
- check(typeof window == 'object' && window) ||
696
- // eslint-disable-next-line no-restricted-globals -- safe
697
- check(typeof self == 'object' && self) ||
698
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
699
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
700
- // eslint-disable-next-line no-new-func -- fallback
701
- (function () { return this; })() || Function('return this')();
702
-
703
- var objectGetOwnPropertyDescriptor = {};
704
-
705
- var fails$c = function (exec) {
706
- try {
707
- return !!exec();
708
- } catch (error) {
709
- return true;
710
- }
711
- };
712
-
713
- var fails$b = fails$c;
714
-
715
- // Detect IE8's incomplete defineProperty implementation
716
- var descriptors = !fails$b(function () {
717
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
718
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
719
- });
720
-
721
- var fails$a = fails$c;
722
-
723
- var functionBindNative = !fails$a(function () {
724
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
725
- var test = (function () { /* empty */ }).bind();
726
- // eslint-disable-next-line no-prototype-builtins -- safe
727
- return typeof test != 'function' || test.hasOwnProperty('prototype');
728
- });
729
-
730
- var NATIVE_BIND$2 = functionBindNative;
731
-
732
- var call$c = Function.prototype.call;
733
-
734
- var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
735
- return call$c.apply(call$c, arguments);
736
- };
737
-
738
- var objectPropertyIsEnumerable = {};
739
-
740
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
741
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
742
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
743
-
744
- // Nashorn ~ JDK8 bug
745
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
746
-
747
- // `Object.prototype.propertyIsEnumerable` method implementation
748
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
749
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
750
- var descriptor = getOwnPropertyDescriptor$1(this, V);
751
- return !!descriptor && descriptor.enumerable;
752
- } : $propertyIsEnumerable;
753
-
754
- var createPropertyDescriptor$3 = function (bitmap, value) {
755
- return {
756
- enumerable: !(bitmap & 1),
757
- configurable: !(bitmap & 2),
758
- writable: !(bitmap & 4),
759
- value: value
760
- };
761
- };
762
-
763
- var NATIVE_BIND$1 = functionBindNative;
764
-
765
- var FunctionPrototype$1 = Function.prototype;
766
- var call$b = FunctionPrototype$1.call;
767
- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$b, call$b);
768
-
769
- var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
770
- return function () {
771
- return call$b.apply(fn, arguments);
772
- };
773
- };
774
-
775
- var uncurryThis$d = functionUncurryThis;
776
-
777
- var toString$1 = uncurryThis$d({}.toString);
778
- var stringSlice$1 = uncurryThis$d(''.slice);
779
-
780
- var classofRaw$2 = function (it) {
781
- return stringSlice$1(toString$1(it), 8, -1);
782
- };
783
-
784
- var uncurryThis$c = functionUncurryThis;
785
- var fails$9 = fails$c;
786
- var classof$2 = classofRaw$2;
787
-
788
- var $Object$4 = Object;
789
- var split = uncurryThis$c(''.split);
790
-
791
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
792
- var indexedObject = fails$9(function () {
793
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
794
- // eslint-disable-next-line no-prototype-builtins -- safe
795
- return !$Object$4('z').propertyIsEnumerable(0);
796
- }) ? function (it) {
797
- return classof$2(it) === 'String' ? split(it, '') : $Object$4(it);
798
- } : $Object$4;
799
-
800
- // we can't use just `it == null` since of `document.all` special case
801
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
802
- var isNullOrUndefined$3 = function (it) {
803
- return it === null || it === undefined;
804
- };
805
-
806
- var isNullOrUndefined$2 = isNullOrUndefined$3;
807
-
808
- var $TypeError$a = TypeError;
809
-
810
- // `RequireObjectCoercible` abstract operation
811
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
812
- var requireObjectCoercible$2 = function (it) {
813
- if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
814
- return it;
815
- };
816
-
817
- // toObject with fallback for non-array-like ES3 strings
818
- var IndexedObject = indexedObject;
819
- var requireObjectCoercible$1 = requireObjectCoercible$2;
820
-
821
- var toIndexedObject$4 = function (it) {
822
- return IndexedObject(requireObjectCoercible$1(it));
823
- };
824
-
825
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
826
- var documentAll = typeof document == 'object' && document.all;
827
-
828
- // `IsCallable` abstract operation
829
- // https://tc39.es/ecma262/#sec-iscallable
830
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
831
- var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
832
- return typeof argument == 'function' || argument === documentAll;
833
- } : function (argument) {
834
- return typeof argument == 'function';
835
- };
836
-
837
- var isCallable$d = isCallable$e;
838
-
839
- var isObject$6 = function (it) {
840
- return typeof it == 'object' ? it !== null : isCallable$d(it);
841
- };
842
-
843
- var global$a = global$b;
844
- var isCallable$c = isCallable$e;
845
-
846
- var aFunction = function (argument) {
847
- return isCallable$c(argument) ? argument : undefined;
848
- };
849
-
850
- var getBuiltIn$4 = function (namespace, method) {
851
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
852
- };
853
-
854
- var uncurryThis$b = functionUncurryThis;
855
-
856
- var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
857
-
858
- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
859
-
860
- var global$9 = global$b;
861
- var userAgent = engineUserAgent;
862
-
863
- var process = global$9.process;
864
- var Deno = global$9.Deno;
865
- var versions = process && process.versions || Deno && Deno.version;
866
- var v8 = versions && versions.v8;
867
- var match, version;
868
-
869
- if (v8) {
870
- match = v8.split('.');
871
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
872
- // but their correct versions are not interesting for us
873
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
874
- }
875
-
876
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
877
- // so check `userAgent` even if `.v8` exists, but 0
878
- if (!version && userAgent) {
879
- match = userAgent.match(/Edge\/(\d+)/);
880
- if (!match || match[1] >= 74) {
881
- match = userAgent.match(/Chrome\/(\d+)/);
882
- if (match) version = +match[1];
883
- }
884
- }
885
-
886
- var engineV8Version = version;
887
-
888
- /* eslint-disable es/no-symbol -- required for testing */
889
- var V8_VERSION = engineV8Version;
890
- var fails$8 = fails$c;
891
- var global$8 = global$b;
892
-
893
- var $String$3 = global$8.String;
894
-
895
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
896
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
897
- var symbol = Symbol('symbol detection');
898
- // Chrome 38 Symbol has incorrect toString conversion
899
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
900
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
901
- // of course, fail.
902
- return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
903
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
904
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
905
- });
906
-
907
- /* eslint-disable es/no-symbol -- required for testing */
908
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
909
-
910
- var useSymbolAsUid = NATIVE_SYMBOL$1
911
- && !Symbol.sham
912
- && typeof Symbol.iterator == 'symbol';
913
-
914
- var getBuiltIn$3 = getBuiltIn$4;
915
- var isCallable$b = isCallable$e;
916
- var isPrototypeOf$2 = objectIsPrototypeOf;
917
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
918
-
919
- var $Object$3 = Object;
920
-
921
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
922
- return typeof it == 'symbol';
923
- } : function (it) {
924
- var $Symbol = getBuiltIn$3('Symbol');
925
- return isCallable$b($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
926
- };
927
-
928
- var $String$2 = String;
929
-
930
- var tryToString$3 = function (argument) {
931
- try {
932
- return $String$2(argument);
933
- } catch (error) {
934
- return 'Object';
935
- }
936
- };
937
-
938
- var isCallable$a = isCallable$e;
939
- var tryToString$2 = tryToString$3;
940
-
941
- var $TypeError$9 = TypeError;
942
-
943
- // `Assert: IsCallable(argument) is true`
944
- var aCallable$9 = function (argument) {
945
- if (isCallable$a(argument)) return argument;
946
- throw new $TypeError$9(tryToString$2(argument) + ' is not a function');
947
- };
948
-
949
- var aCallable$8 = aCallable$9;
950
- var isNullOrUndefined$1 = isNullOrUndefined$3;
951
-
952
- // `GetMethod` abstract operation
953
- // https://tc39.es/ecma262/#sec-getmethod
954
- var getMethod$4 = function (V, P) {
955
- var func = V[P];
956
- return isNullOrUndefined$1(func) ? undefined : aCallable$8(func);
957
- };
958
-
959
- var call$a = functionCall;
960
- var isCallable$9 = isCallable$e;
961
- var isObject$5 = isObject$6;
962
-
963
- var $TypeError$8 = TypeError;
964
-
965
- // `OrdinaryToPrimitive` abstract operation
966
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
967
- var ordinaryToPrimitive$1 = function (input, pref) {
968
- var fn, val;
969
- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
970
- if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$a(fn, input))) return val;
971
- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
972
- throw new $TypeError$8("Can't convert object to primitive value");
973
- };
974
-
975
- var sharedStore = {exports: {}};
976
-
977
- var isPure = false;
978
-
979
- var global$7 = global$b;
980
-
981
- // eslint-disable-next-line es/no-object-defineproperty -- safe
982
- var defineProperty$2 = Object.defineProperty;
983
-
984
- var defineGlobalProperty$3 = function (key, value) {
985
- try {
986
- defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
987
- } catch (error) {
988
- global$7[key] = value;
989
- } return value;
990
- };
991
-
992
- var globalThis$1 = global$b;
993
- var defineGlobalProperty$2 = defineGlobalProperty$3;
994
-
995
- var SHARED = '__core-js_shared__';
996
- var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
997
-
998
- (store$3.versions || (store$3.versions = [])).push({
999
- version: '3.36.1',
1000
- mode: 'global',
1001
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
1002
- license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
1003
- source: 'https://github.com/zloirock/core-js'
1004
- });
1005
-
1006
- var sharedStoreExports = sharedStore.exports;
1007
-
1008
- var store$2 = sharedStoreExports;
1009
-
1010
- var shared$3 = function (key, value) {
1011
- return store$2[key] || (store$2[key] = value || {});
1012
- };
1013
-
1014
- var requireObjectCoercible = requireObjectCoercible$2;
1015
-
1016
- var $Object$2 = Object;
1017
-
1018
- // `ToObject` abstract operation
1019
- // https://tc39.es/ecma262/#sec-toobject
1020
- var toObject$2 = function (argument) {
1021
- return $Object$2(requireObjectCoercible(argument));
1022
- };
1023
-
1024
- var uncurryThis$a = functionUncurryThis;
1025
- var toObject$1 = toObject$2;
1026
-
1027
- var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
1028
-
1029
- // `HasOwnProperty` abstract operation
1030
- // https://tc39.es/ecma262/#sec-hasownproperty
1031
- // eslint-disable-next-line es/no-object-hasown -- safe
1032
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
1033
- return hasOwnProperty(toObject$1(it), key);
1034
- };
1035
-
1036
- var uncurryThis$9 = functionUncurryThis;
1037
-
1038
- var id = 0;
1039
- var postfix = Math.random();
1040
- var toString = uncurryThis$9(1.0.toString);
1041
-
1042
- var uid$2 = function (key) {
1043
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
1044
- };
1045
-
1046
- var global$6 = global$b;
1047
- var shared$2 = shared$3;
1048
- var hasOwn$8 = hasOwnProperty_1;
1049
- var uid$1 = uid$2;
1050
- var NATIVE_SYMBOL = symbolConstructorDetection;
1051
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
1052
-
1053
- var Symbol$1 = global$6.Symbol;
1054
- var WellKnownSymbolsStore = shared$2('wks');
1055
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
1056
-
1057
- var wellKnownSymbol$8 = function (name) {
1058
- if (!hasOwn$8(WellKnownSymbolsStore, name)) {
1059
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
1060
- ? Symbol$1[name]
1061
- : createWellKnownSymbol('Symbol.' + name);
1062
- } return WellKnownSymbolsStore[name];
1063
- };
1064
-
1065
- var call$9 = functionCall;
1066
- var isObject$4 = isObject$6;
1067
- var isSymbol$1 = isSymbol$2;
1068
- var getMethod$3 = getMethod$4;
1069
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
1070
- var wellKnownSymbol$7 = wellKnownSymbol$8;
1071
-
1072
- var $TypeError$7 = TypeError;
1073
- var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
1074
-
1075
- // `ToPrimitive` abstract operation
1076
- // https://tc39.es/ecma262/#sec-toprimitive
1077
- var toPrimitive$1 = function (input, pref) {
1078
- if (!isObject$4(input) || isSymbol$1(input)) return input;
1079
- var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
1080
- var result;
1081
- if (exoticToPrim) {
1082
- if (pref === undefined) pref = 'default';
1083
- result = call$9(exoticToPrim, input, pref);
1084
- if (!isObject$4(result) || isSymbol$1(result)) return result;
1085
- throw new $TypeError$7("Can't convert object to primitive value");
1086
- }
1087
- if (pref === undefined) pref = 'number';
1088
- return ordinaryToPrimitive(input, pref);
1089
- };
1090
-
1091
- var toPrimitive = toPrimitive$1;
1092
- var isSymbol = isSymbol$2;
1093
-
1094
- // `ToPropertyKey` abstract operation
1095
- // https://tc39.es/ecma262/#sec-topropertykey
1096
- var toPropertyKey$2 = function (argument) {
1097
- var key = toPrimitive(argument, 'string');
1098
- return isSymbol(key) ? key : key + '';
1099
- };
1100
-
1101
- var global$5 = global$b;
1102
- var isObject$3 = isObject$6;
1103
-
1104
- var document$1 = global$5.document;
1105
- // typeof document.createElement is 'object' in old IE
1106
- var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
1107
-
1108
- var documentCreateElement$1 = function (it) {
1109
- return EXISTS$1 ? document$1.createElement(it) : {};
1110
- };
1111
-
1112
- var DESCRIPTORS$9 = descriptors;
1113
- var fails$7 = fails$c;
1114
- var createElement = documentCreateElement$1;
1115
-
1116
- // Thanks to IE8 for its funny defineProperty
1117
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$7(function () {
1118
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1119
- return Object.defineProperty(createElement('div'), 'a', {
1120
- get: function () { return 7; }
1121
- }).a !== 7;
1122
- });
1123
-
1124
- var DESCRIPTORS$8 = descriptors;
1125
- var call$8 = functionCall;
1126
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1127
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
1128
- var toIndexedObject$3 = toIndexedObject$4;
1129
- var toPropertyKey$1 = toPropertyKey$2;
1130
- var hasOwn$7 = hasOwnProperty_1;
1131
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
1132
-
1133
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1134
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
1135
-
1136
- // `Object.getOwnPropertyDescriptor` method
1137
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1138
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1139
- O = toIndexedObject$3(O);
1140
- P = toPropertyKey$1(P);
1141
- if (IE8_DOM_DEFINE$1) try {
1142
- return $getOwnPropertyDescriptor$1(O, P);
1143
- } catch (error) { /* empty */ }
1144
- if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$8(propertyIsEnumerableModule.f, O, P), O[P]);
1145
- };
1146
-
1147
- var objectDefineProperty = {};
1148
-
1149
- var DESCRIPTORS$7 = descriptors;
1150
- var fails$6 = fails$c;
1151
-
1152
- // V8 ~ Chrome 36-
1153
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1154
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
1155
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1156
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1157
- value: 42,
1158
- writable: false
1159
- }).prototype !== 42;
1160
- });
1161
-
1162
- var isObject$2 = isObject$6;
1163
-
1164
- var $String$1 = String;
1165
- var $TypeError$6 = TypeError;
1166
-
1167
- // `Assert: Type(argument) is Object`
1168
- var anObject$e = function (argument) {
1169
- if (isObject$2(argument)) return argument;
1170
- throw new $TypeError$6($String$1(argument) + ' is not an object');
1171
- };
1172
-
1173
- var DESCRIPTORS$6 = descriptors;
1174
- var IE8_DOM_DEFINE = ie8DomDefine;
1175
- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1176
- var anObject$d = anObject$e;
1177
- var toPropertyKey = toPropertyKey$2;
1178
-
1179
- var $TypeError$5 = TypeError;
1180
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1181
- var $defineProperty = Object.defineProperty;
1182
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1183
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1184
- var ENUMERABLE = 'enumerable';
1185
- var CONFIGURABLE$1 = 'configurable';
1186
- var WRITABLE = 'writable';
1187
-
1188
- // `Object.defineProperty` method
1189
- // https://tc39.es/ecma262/#sec-object.defineproperty
1190
- objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1191
- anObject$d(O);
1192
- P = toPropertyKey(P);
1193
- anObject$d(Attributes);
1194
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
1195
- var current = $getOwnPropertyDescriptor(O, P);
1196
- if (current && current[WRITABLE]) {
1197
- O[P] = Attributes.value;
1198
- Attributes = {
1199
- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
1200
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
1201
- writable: false
1202
- };
1203
- }
1204
- } return $defineProperty(O, P, Attributes);
1205
- } : $defineProperty : function defineProperty(O, P, Attributes) {
1206
- anObject$d(O);
1207
- P = toPropertyKey(P);
1208
- anObject$d(Attributes);
1209
- if (IE8_DOM_DEFINE) try {
1210
- return $defineProperty(O, P, Attributes);
1211
- } catch (error) { /* empty */ }
1212
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
1213
- if ('value' in Attributes) O[P] = Attributes.value;
1214
- return O;
1215
- };
1216
-
1217
- var DESCRIPTORS$5 = descriptors;
1218
- var definePropertyModule$4 = objectDefineProperty;
1219
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
1220
-
1221
- var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
1222
- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
1223
- } : function (object, key, value) {
1224
- object[key] = value;
1225
- return object;
1226
- };
1227
-
1228
- var makeBuiltIn$3 = {exports: {}};
1229
-
1230
- var DESCRIPTORS$4 = descriptors;
1231
- var hasOwn$6 = hasOwnProperty_1;
1232
-
1233
- var FunctionPrototype = Function.prototype;
1234
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1235
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
1236
-
1237
- var EXISTS = hasOwn$6(FunctionPrototype, 'name');
1238
- // additional protection from minified / mangled / dropped function names
1239
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
1240
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
1241
-
1242
- var functionName = {
1243
- EXISTS: EXISTS,
1244
- PROPER: PROPER,
1245
- CONFIGURABLE: CONFIGURABLE
1246
- };
1247
-
1248
- var uncurryThis$8 = functionUncurryThis;
1249
- var isCallable$8 = isCallable$e;
1250
- var store$1 = sharedStoreExports;
1251
-
1252
- var functionToString = uncurryThis$8(Function.toString);
1253
-
1254
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1255
- if (!isCallable$8(store$1.inspectSource)) {
1256
- store$1.inspectSource = function (it) {
1257
- return functionToString(it);
1258
- };
1259
- }
1260
-
1261
- var inspectSource$1 = store$1.inspectSource;
1262
-
1263
- var global$4 = global$b;
1264
- var isCallable$7 = isCallable$e;
1265
-
1266
- var WeakMap$1 = global$4.WeakMap;
1267
-
1268
- var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
1269
-
1270
- var shared$1 = shared$3;
1271
- var uid = uid$2;
1272
-
1273
- var keys$1 = shared$1('keys');
1274
-
1275
- var sharedKey$3 = function (key) {
1276
- return keys$1[key] || (keys$1[key] = uid(key));
1277
- };
1278
-
1279
- var hiddenKeys$4 = {};
1280
-
1281
- var NATIVE_WEAK_MAP = weakMapBasicDetection;
1282
- var global$3 = global$b;
1283
- var isObject$1 = isObject$6;
1284
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
1285
- var hasOwn$5 = hasOwnProperty_1;
1286
- var shared = sharedStoreExports;
1287
- var sharedKey$2 = sharedKey$3;
1288
- var hiddenKeys$3 = hiddenKeys$4;
1289
-
1290
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1291
- var TypeError$1 = global$3.TypeError;
1292
- var WeakMap = global$3.WeakMap;
1293
- var set, get, has$6;
1294
-
1295
- var enforce = function (it) {
1296
- return has$6(it) ? get(it) : set(it, {});
1297
- };
1298
-
1299
- var getterFor = function (TYPE) {
1300
- return function (it) {
1301
- var state;
1302
- if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
1303
- throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
1304
- } return state;
1305
- };
1306
- };
1307
-
1308
- if (NATIVE_WEAK_MAP || shared.state) {
1309
- var store = shared.state || (shared.state = new WeakMap());
1310
- /* eslint-disable no-self-assign -- prototype methods protection */
1311
- store.get = store.get;
1312
- store.has = store.has;
1313
- store.set = store.set;
1314
- /* eslint-enable no-self-assign -- prototype methods protection */
1315
- set = function (it, metadata) {
1316
- if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
1317
- metadata.facade = it;
1318
- store.set(it, metadata);
1319
- return metadata;
1320
- };
1321
- get = function (it) {
1322
- return store.get(it) || {};
1323
- };
1324
- has$6 = function (it) {
1325
- return store.has(it);
1326
- };
1327
- } else {
1328
- var STATE = sharedKey$2('state');
1329
- hiddenKeys$3[STATE] = true;
1330
- set = function (it, metadata) {
1331
- if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
1332
- metadata.facade = it;
1333
- createNonEnumerableProperty$2(it, STATE, metadata);
1334
- return metadata;
1335
- };
1336
- get = function (it) {
1337
- return hasOwn$5(it, STATE) ? it[STATE] : {};
1338
- };
1339
- has$6 = function (it) {
1340
- return hasOwn$5(it, STATE);
1341
- };
1342
- }
1343
-
1344
- var internalState = {
1345
- set: set,
1346
- get: get,
1347
- has: has$6,
1348
- enforce: enforce,
1349
- getterFor: getterFor
1350
- };
1351
-
1352
- var uncurryThis$7 = functionUncurryThis;
1353
- var fails$5 = fails$c;
1354
- var isCallable$6 = isCallable$e;
1355
- var hasOwn$4 = hasOwnProperty_1;
1356
- var DESCRIPTORS$3 = descriptors;
1357
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
1358
- var inspectSource = inspectSource$1;
1359
- var InternalStateModule$1 = internalState;
1360
-
1361
- var enforceInternalState = InternalStateModule$1.enforce;
1362
- var getInternalState = InternalStateModule$1.get;
1363
- var $String = String;
1364
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1365
- var defineProperty$1 = Object.defineProperty;
1366
- var stringSlice = uncurryThis$7(''.slice);
1367
- var replace = uncurryThis$7(''.replace);
1368
- var join = uncurryThis$7([].join);
1369
-
1370
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$5(function () {
1371
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1372
- });
1373
-
1374
- var TEMPLATE = String(String).split('String');
1375
-
1376
- var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
1377
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
1378
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
1379
- }
1380
- if (options && options.getter) name = 'get ' + name;
1381
- if (options && options.setter) name = 'set ' + name;
1382
- if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
1383
- if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
1384
- else value.name = name;
1385
- }
1386
- if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
1387
- defineProperty$1(value, 'length', { value: options.arity });
1388
- }
1389
- try {
1390
- if (options && hasOwn$4(options, 'constructor') && options.constructor) {
1391
- if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
1392
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
1393
- } else if (value.prototype) value.prototype = undefined;
1394
- } catch (error) { /* empty */ }
1395
- var state = enforceInternalState(value);
1396
- if (!hasOwn$4(state, 'source')) {
1397
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
1398
- } return value;
1399
- };
1400
-
1401
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1402
- // eslint-disable-next-line no-extend-native -- required
1403
- Function.prototype.toString = makeBuiltIn$2(function toString() {
1404
- return isCallable$6(this) && getInternalState(this).source || inspectSource(this);
1405
- }, 'toString');
1406
-
1407
- var makeBuiltInExports = makeBuiltIn$3.exports;
1408
-
1409
- var isCallable$5 = isCallable$e;
1410
- var definePropertyModule$3 = objectDefineProperty;
1411
- var makeBuiltIn$1 = makeBuiltInExports;
1412
- var defineGlobalProperty$1 = defineGlobalProperty$3;
1413
-
1414
- var defineBuiltIn$3 = function (O, key, value, options) {
1415
- if (!options) options = {};
1416
- var simple = options.enumerable;
1417
- var name = options.name !== undefined ? options.name : key;
1418
- if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
1419
- if (options.global) {
1420
- if (simple) O[key] = value;
1421
- else defineGlobalProperty$1(key, value);
1422
- } else {
1423
- try {
1424
- if (!options.unsafe) delete O[key];
1425
- else if (O[key]) simple = true;
1426
- } catch (error) { /* empty */ }
1427
- if (simple) O[key] = value;
1428
- else definePropertyModule$3.f(O, key, {
1429
- value: value,
1430
- enumerable: false,
1431
- configurable: !options.nonConfigurable,
1432
- writable: !options.nonWritable
1433
- });
1434
- } return O;
1435
- };
1436
-
1437
- var objectGetOwnPropertyNames = {};
1438
-
1439
- var ceil = Math.ceil;
1440
- var floor = Math.floor;
1441
-
1442
- // `Math.trunc` method
1443
- // https://tc39.es/ecma262/#sec-math.trunc
1444
- // eslint-disable-next-line es/no-math-trunc -- safe
1445
- var mathTrunc = Math.trunc || function trunc(x) {
1446
- var n = +x;
1447
- return (n > 0 ? floor : ceil)(n);
1448
- };
1449
-
1450
- var trunc = mathTrunc;
1451
-
1452
- // `ToIntegerOrInfinity` abstract operation
1453
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
1454
- var toIntegerOrInfinity$3 = function (argument) {
1455
- var number = +argument;
1456
- // eslint-disable-next-line no-self-compare -- NaN check
1457
- return number !== number || number === 0 ? 0 : trunc(number);
1458
- };
1459
-
1460
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
1461
-
1462
- var max$1 = Math.max;
1463
- var min$1 = Math.min;
1464
-
1465
- // Helper for a popular repeating case of the spec:
1466
- // Let integer be ? ToInteger(index).
1467
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
1468
- var toAbsoluteIndex$1 = function (index, length) {
1469
- var integer = toIntegerOrInfinity$2(index);
1470
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
1471
- };
1472
-
1473
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
1474
-
1475
- var min = Math.min;
1476
-
1477
- // `ToLength` abstract operation
1478
- // https://tc39.es/ecma262/#sec-tolength
1479
- var toLength$1 = function (argument) {
1480
- var len = toIntegerOrInfinity$1(argument);
1481
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
1482
- };
1483
-
1484
- var toLength = toLength$1;
1485
-
1486
- // `LengthOfArrayLike` abstract operation
1487
- // https://tc39.es/ecma262/#sec-lengthofarraylike
1488
- var lengthOfArrayLike$2 = function (obj) {
1489
- return toLength(obj.length);
1490
- };
1491
-
1492
- var toIndexedObject$2 = toIndexedObject$4;
1493
- var toAbsoluteIndex = toAbsoluteIndex$1;
1494
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
1495
-
1496
- // `Array.prototype.{ indexOf, includes }` methods implementation
1497
- var createMethod = function (IS_INCLUDES) {
1498
- return function ($this, el, fromIndex) {
1499
- var O = toIndexedObject$2($this);
1500
- var length = lengthOfArrayLike$1(O);
1501
- if (length === 0) return !IS_INCLUDES && -1;
1502
- var index = toAbsoluteIndex(fromIndex, length);
1503
- var value;
1504
- // Array#includes uses SameValueZero equality algorithm
1505
- // eslint-disable-next-line no-self-compare -- NaN check
1506
- if (IS_INCLUDES && el !== el) while (length > index) {
1507
- value = O[index++];
1508
- // eslint-disable-next-line no-self-compare -- NaN check
1509
- if (value !== value) return true;
1510
- // Array#indexOf ignores holes, Array#includes - not
1511
- } else for (;length > index; index++) {
1512
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
1513
- } return !IS_INCLUDES && -1;
1514
- };
1515
- };
1516
-
1517
- var arrayIncludes = {
1518
- // `Array.prototype.includes` method
1519
- // https://tc39.es/ecma262/#sec-array.prototype.includes
1520
- includes: createMethod(true),
1521
- // `Array.prototype.indexOf` method
1522
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
1523
- indexOf: createMethod(false)
1524
- };
1525
-
1526
- var uncurryThis$6 = functionUncurryThis;
1527
- var hasOwn$3 = hasOwnProperty_1;
1528
- var toIndexedObject$1 = toIndexedObject$4;
1529
- var indexOf = arrayIncludes.indexOf;
1530
- var hiddenKeys$2 = hiddenKeys$4;
1531
-
1532
- var push = uncurryThis$6([].push);
1533
-
1534
- var objectKeysInternal = function (object, names) {
1535
- var O = toIndexedObject$1(object);
1536
- var i = 0;
1537
- var result = [];
1538
- var key;
1539
- for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
1540
- // Don't enum bug & hidden keys
1541
- while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
1542
- ~indexOf(result, key) || push(result, key);
1543
- }
1544
- return result;
1545
- };
1546
-
1547
- // IE8- don't enum bug keys
1548
- var enumBugKeys$3 = [
1549
- 'constructor',
1550
- 'hasOwnProperty',
1551
- 'isPrototypeOf',
1552
- 'propertyIsEnumerable',
1553
- 'toLocaleString',
1554
- 'toString',
1555
- 'valueOf'
1556
- ];
1557
-
1558
- var internalObjectKeys$1 = objectKeysInternal;
1559
- var enumBugKeys$2 = enumBugKeys$3;
1560
-
1561
- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1562
-
1563
- // `Object.getOwnPropertyNames` method
1564
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
1565
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1566
- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1567
- return internalObjectKeys$1(O, hiddenKeys$1);
1568
- };
1569
-
1570
- var objectGetOwnPropertySymbols = {};
1571
-
1572
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1573
- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1574
-
1575
- var getBuiltIn$2 = getBuiltIn$4;
1576
- var uncurryThis$5 = functionUncurryThis;
1577
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1578
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1579
- var anObject$c = anObject$e;
1580
-
1581
- var concat = uncurryThis$5([].concat);
1582
-
1583
- // all object keys, includes non-enumerable and symbols
1584
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
1585
- var keys = getOwnPropertyNamesModule.f(anObject$c(it));
1586
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1587
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1588
- };
1589
-
1590
- var hasOwn$2 = hasOwnProperty_1;
1591
- var ownKeys = ownKeys$1;
1592
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1593
- var definePropertyModule$2 = objectDefineProperty;
1594
-
1595
- var copyConstructorProperties$1 = function (target, source, exceptions) {
1596
- var keys = ownKeys(source);
1597
- var defineProperty = definePropertyModule$2.f;
1598
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1599
- for (var i = 0; i < keys.length; i++) {
1600
- var key = keys[i];
1601
- if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
1602
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1603
- }
1604
- }
1605
- };
1606
-
1607
- var fails$4 = fails$c;
1608
- var isCallable$4 = isCallable$e;
1609
-
1610
- var replacement = /#|\.prototype\./;
1611
-
1612
- var isForced$1 = function (feature, detection) {
1613
- var value = data[normalize(feature)];
1614
- return value === POLYFILL ? true
1615
- : value === NATIVE ? false
1616
- : isCallable$4(detection) ? fails$4(detection)
1617
- : !!detection;
1618
- };
1619
-
1620
- var normalize = isForced$1.normalize = function (string) {
1621
- return String(string).replace(replacement, '.').toLowerCase();
1622
- };
1623
-
1624
- var data = isForced$1.data = {};
1625
- var NATIVE = isForced$1.NATIVE = 'N';
1626
- var POLYFILL = isForced$1.POLYFILL = 'P';
1627
-
1628
- var isForced_1 = isForced$1;
1629
-
1630
- var global$2 = global$b;
1631
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1632
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
1633
- var defineBuiltIn$2 = defineBuiltIn$3;
1634
- var defineGlobalProperty = defineGlobalProperty$3;
1635
- var copyConstructorProperties = copyConstructorProperties$1;
1636
- var isForced = isForced_1;
1637
-
1638
- /*
1639
- options.target - name of the target object
1640
- options.global - target is the global object
1641
- options.stat - export as static methods of target
1642
- options.proto - export as prototype methods of target
1643
- options.real - real prototype method for the `pure` version
1644
- options.forced - export even if the native feature is available
1645
- options.bind - bind methods to the target, required for the `pure` version
1646
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1647
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1648
- options.sham - add a flag to not completely full polyfills
1649
- options.enumerable - export as enumerable property
1650
- options.dontCallGetSet - prevent calling a getter on target
1651
- options.name - the .name of the function if it does not match the key
1652
- */
1653
- var _export = function (options, source) {
1654
- var TARGET = options.target;
1655
- var GLOBAL = options.global;
1656
- var STATIC = options.stat;
1657
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1658
- if (GLOBAL) {
1659
- target = global$2;
1660
- } else if (STATIC) {
1661
- target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
1662
- } else {
1663
- target = global$2[TARGET] && global$2[TARGET].prototype;
1664
- }
1665
- if (target) for (key in source) {
1666
- sourceProperty = source[key];
1667
- if (options.dontCallGetSet) {
1668
- descriptor = getOwnPropertyDescriptor(target, key);
1669
- targetProperty = descriptor && descriptor.value;
1670
- } else targetProperty = target[key];
1671
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1672
- // contained in target
1673
- if (!FORCED && targetProperty !== undefined) {
1674
- if (typeof sourceProperty == typeof targetProperty) continue;
1675
- copyConstructorProperties(sourceProperty, targetProperty);
1676
- }
1677
- // add a flag to not completely full polyfills
1678
- if (options.sham || (targetProperty && targetProperty.sham)) {
1679
- createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1680
- }
1681
- defineBuiltIn$2(target, key, sourceProperty, options);
1682
- }
1683
- };
1684
-
1685
- var isPrototypeOf$1 = objectIsPrototypeOf;
1686
-
1687
- var $TypeError$4 = TypeError;
1688
-
1689
- var anInstance$1 = function (it, Prototype) {
1690
- if (isPrototypeOf$1(Prototype, it)) return it;
1691
- throw new $TypeError$4('Incorrect invocation');
1692
- };
1693
-
1694
- var fails$3 = fails$c;
1695
-
1696
- var correctPrototypeGetter = !fails$3(function () {
1697
- function F() { /* empty */ }
1698
- F.prototype.constructor = null;
1699
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1700
- return Object.getPrototypeOf(new F()) !== F.prototype;
1701
- });
1702
-
1703
- var hasOwn$1 = hasOwnProperty_1;
1704
- var isCallable$3 = isCallable$e;
1705
- var toObject = toObject$2;
1706
- var sharedKey$1 = sharedKey$3;
1707
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1708
-
1709
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1710
- var $Object$1 = Object;
1711
- var ObjectPrototype = $Object$1.prototype;
1712
-
1713
- // `Object.getPrototypeOf` method
1714
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1715
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
1716
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1717
- var object = toObject(O);
1718
- if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
1719
- var constructor = object.constructor;
1720
- if (isCallable$3(constructor) && object instanceof constructor) {
1721
- return constructor.prototype;
1722
- } return object instanceof $Object$1 ? ObjectPrototype : null;
1723
- };
1724
-
1725
- var makeBuiltIn = makeBuiltInExports;
1726
- var defineProperty = objectDefineProperty;
1727
-
1728
- var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1729
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1730
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1731
- return defineProperty.f(target, name, descriptor);
1732
- };
1733
-
1734
- var DESCRIPTORS$2 = descriptors;
1735
- var definePropertyModule$1 = objectDefineProperty;
1736
- var createPropertyDescriptor = createPropertyDescriptor$3;
1737
-
1738
- var createProperty$1 = function (object, key, value) {
1739
- if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
1740
- else object[key] = value;
1741
- };
1742
-
1743
- var objectDefineProperties = {};
1744
-
1745
- var internalObjectKeys = objectKeysInternal;
1746
- var enumBugKeys$1 = enumBugKeys$3;
1747
-
1748
- // `Object.keys` method
1749
- // https://tc39.es/ecma262/#sec-object.keys
1750
- // eslint-disable-next-line es/no-object-keys -- safe
1751
- var objectKeys$1 = Object.keys || function keys(O) {
1752
- return internalObjectKeys(O, enumBugKeys$1);
1753
- };
1754
-
1755
- var DESCRIPTORS$1 = descriptors;
1756
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1757
- var definePropertyModule = objectDefineProperty;
1758
- var anObject$b = anObject$e;
1759
- var toIndexedObject = toIndexedObject$4;
1760
- var objectKeys = objectKeys$1;
1761
-
1762
- // `Object.defineProperties` method
1763
- // https://tc39.es/ecma262/#sec-object.defineproperties
1764
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1765
- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1766
- anObject$b(O);
1767
- var props = toIndexedObject(Properties);
1768
- var keys = objectKeys(Properties);
1769
- var length = keys.length;
1770
- var index = 0;
1771
- var key;
1772
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1773
- return O;
1774
- };
1775
-
1776
- var getBuiltIn$1 = getBuiltIn$4;
1777
-
1778
- var html$1 = getBuiltIn$1('document', 'documentElement');
1779
-
1780
- /* global ActiveXObject -- old IE, WSH */
1781
- var anObject$a = anObject$e;
1782
- var definePropertiesModule = objectDefineProperties;
1783
- var enumBugKeys = enumBugKeys$3;
1784
- var hiddenKeys = hiddenKeys$4;
1785
- var html = html$1;
1786
- var documentCreateElement = documentCreateElement$1;
1787
- var sharedKey = sharedKey$3;
1788
-
1789
- var GT = '>';
1790
- var LT = '<';
1791
- var PROTOTYPE = 'prototype';
1792
- var SCRIPT = 'script';
1793
- var IE_PROTO = sharedKey('IE_PROTO');
1794
-
1795
- var EmptyConstructor = function () { /* empty */ };
1796
-
1797
- var scriptTag = function (content) {
1798
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1799
- };
1800
-
1801
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1802
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1803
- activeXDocument.write(scriptTag(''));
1804
- activeXDocument.close();
1805
- var temp = activeXDocument.parentWindow.Object;
1806
- activeXDocument = null; // avoid memory leak
1807
- return temp;
1808
- };
1809
-
1810
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1811
- var NullProtoObjectViaIFrame = function () {
1812
- // Thrash, waste and sodomy: IE GC bug
1813
- var iframe = documentCreateElement('iframe');
1814
- var JS = 'java' + SCRIPT + ':';
1815
- var iframeDocument;
1816
- iframe.style.display = 'none';
1817
- html.appendChild(iframe);
1818
- // https://github.com/zloirock/core-js/issues/475
1819
- iframe.src = String(JS);
1820
- iframeDocument = iframe.contentWindow.document;
1821
- iframeDocument.open();
1822
- iframeDocument.write(scriptTag('document.F=Object'));
1823
- iframeDocument.close();
1824
- return iframeDocument.F;
1825
- };
1826
-
1827
- // Check for document.domain and active x support
1828
- // No need to use active x approach when document.domain is not set
1829
- // see https://github.com/es-shims/es5-shim/issues/150
1830
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1831
- // avoid IE GC bug
1832
- var activeXDocument;
1833
- var NullProtoObject = function () {
1834
- try {
1835
- activeXDocument = new ActiveXObject('htmlfile');
1836
- } catch (error) { /* ignore */ }
1837
- NullProtoObject = typeof document != 'undefined'
1838
- ? document.domain && activeXDocument
1839
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1840
- : NullProtoObjectViaIFrame()
1841
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1842
- var length = enumBugKeys.length;
1843
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1844
- return NullProtoObject();
1845
- };
1846
-
1847
- hiddenKeys[IE_PROTO] = true;
1848
-
1849
- // `Object.create` method
1850
- // https://tc39.es/ecma262/#sec-object.create
1851
- // eslint-disable-next-line es/no-object-create -- safe
1852
- var objectCreate = Object.create || function create(O, Properties) {
1853
- var result;
1854
- if (O !== null) {
1855
- EmptyConstructor[PROTOTYPE] = anObject$a(O);
1856
- result = new EmptyConstructor();
1857
- EmptyConstructor[PROTOTYPE] = null;
1858
- // add "__proto__" for Object.getPrototypeOf polyfill
1859
- result[IE_PROTO] = O;
1860
- } else result = NullProtoObject();
1861
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1862
- };
1863
-
1864
- var fails$2 = fails$c;
1865
- var isCallable$2 = isCallable$e;
1866
- var isObject = isObject$6;
1867
- var getPrototypeOf$1 = objectGetPrototypeOf;
1868
- var defineBuiltIn$1 = defineBuiltIn$3;
1869
- var wellKnownSymbol$6 = wellKnownSymbol$8;
1870
-
1871
- var ITERATOR$3 = wellKnownSymbol$6('iterator');
1872
- var BUGGY_SAFARI_ITERATORS = false;
1873
-
1874
- // `%IteratorPrototype%` object
1875
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1876
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1877
-
1878
- /* eslint-disable es/no-array-prototype-keys -- safe */
1879
- if ([].keys) {
1880
- arrayIterator = [].keys();
1881
- // Safari 8 has buggy iterators w/o `next`
1882
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1883
- else {
1884
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1885
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1886
- }
1887
- }
1888
-
1889
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$2(function () {
1890
- var test = {};
1891
- // FF44- legacy iterators case
1892
- return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
1893
- });
1894
-
1895
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1896
-
1897
- // `%IteratorPrototype%[@@iterator]()` method
1898
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1899
- if (!isCallable$2(IteratorPrototype$2[ITERATOR$3])) {
1900
- defineBuiltIn$1(IteratorPrototype$2, ITERATOR$3, function () {
1901
- return this;
1902
- });
1903
- }
1904
-
1905
- var iteratorsCore = {
1906
- IteratorPrototype: IteratorPrototype$2,
1907
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1908
- };
1909
-
1910
- var $$b = _export;
1911
- var global$1 = global$b;
1912
- var anInstance = anInstance$1;
1913
- var anObject$9 = anObject$e;
1914
- var isCallable$1 = isCallable$e;
1915
- var getPrototypeOf = objectGetPrototypeOf;
1916
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
1917
- var createProperty = createProperty$1;
1918
- var fails$1 = fails$c;
1919
- var hasOwn = hasOwnProperty_1;
1920
- var wellKnownSymbol$5 = wellKnownSymbol$8;
1921
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1922
- var DESCRIPTORS = descriptors;
1923
-
1924
- var CONSTRUCTOR = 'constructor';
1925
- var ITERATOR$2 = 'Iterator';
1926
- var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
1927
-
1928
- var $TypeError$3 = TypeError;
1929
- var NativeIterator = global$1[ITERATOR$2];
1930
-
1931
- // FF56- have non-standard global helper `Iterator`
1932
- var FORCED = !isCallable$1(NativeIterator)
1933
- || NativeIterator.prototype !== IteratorPrototype$1
1934
- // FF44- non-standard `Iterator` passes previous tests
1935
- || !fails$1(function () { NativeIterator({}); });
1936
-
1937
- var IteratorConstructor = function Iterator() {
1938
- anInstance(this, IteratorPrototype$1);
1939
- if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$3('Abstract class Iterator not directly constructable');
1940
- };
1941
-
1942
- var defineIteratorPrototypeAccessor = function (key, value) {
1943
- if (DESCRIPTORS) {
1944
- defineBuiltInAccessor(IteratorPrototype$1, key, {
1945
- configurable: true,
1946
- get: function () {
1947
- return value;
1948
- },
1949
- set: function (replacement) {
1950
- anObject$9(this);
1951
- if (this === IteratorPrototype$1) throw new $TypeError$3("You can't redefine this property");
1952
- if (hasOwn(this, key)) this[key] = replacement;
1953
- else createProperty(this, key, replacement);
1954
- }
1955
- });
1956
- } else IteratorPrototype$1[key] = value;
1957
- };
1958
-
1959
- if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$2);
1960
-
1961
- if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
1962
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1963
- }
1964
-
1965
- IteratorConstructor.prototype = IteratorPrototype$1;
1966
-
1967
- // `Iterator` constructor
1968
- // https://github.com/tc39/proposal-iterator-helpers
1969
- $$b({ global: true, constructor: true, forced: FORCED }, {
1970
- Iterator: IteratorConstructor
1971
- });
1972
-
1973
- // `GetIteratorDirect(obj)` abstract operation
1974
- // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
1975
- var getIteratorDirect$5 = function (obj) {
1976
- return {
1977
- iterator: obj,
1978
- next: obj.next,
1979
- done: false
1980
- };
1981
- };
1982
-
1983
- var defineBuiltIn = defineBuiltIn$3;
1984
-
1985
- var defineBuiltIns$1 = function (target, src, options) {
1986
- for (var key in src) defineBuiltIn(target, key, src[key], options);
1987
- return target;
1988
- };
1989
-
1990
- // `CreateIterResultObject` abstract operation
1991
- // https://tc39.es/ecma262/#sec-createiterresultobject
1992
- var createIterResultObject$1 = function (value, done) {
1993
- return { value: value, done: done };
1994
- };
1995
-
1996
- var call$7 = functionCall;
1997
- var anObject$8 = anObject$e;
1998
- var getMethod$2 = getMethod$4;
1999
-
2000
- var iteratorClose$5 = function (iterator, kind, value) {
2001
- var innerResult, innerError;
2002
- anObject$8(iterator);
2003
- try {
2004
- innerResult = getMethod$2(iterator, 'return');
2005
- if (!innerResult) {
2006
- if (kind === 'throw') throw value;
2007
- return value;
2008
- }
2009
- innerResult = call$7(innerResult, iterator);
2010
- } catch (error) {
2011
- innerError = true;
2012
- innerResult = error;
2013
- }
2014
- if (kind === 'throw') throw value;
2015
- if (innerError) throw innerResult;
2016
- anObject$8(innerResult);
2017
- return value;
2018
- };
2019
-
2020
- var call$6 = functionCall;
2021
- var create = objectCreate;
2022
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
2023
- var defineBuiltIns = defineBuiltIns$1;
2024
- var wellKnownSymbol$4 = wellKnownSymbol$8;
2025
- var InternalStateModule = internalState;
2026
- var getMethod$1 = getMethod$4;
2027
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
2028
- var createIterResultObject = createIterResultObject$1;
2029
- var iteratorClose$4 = iteratorClose$5;
2030
-
2031
- var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
2032
- var ITERATOR_HELPER = 'IteratorHelper';
2033
- var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
2034
- var setInternalState = InternalStateModule.set;
2035
-
2036
- var createIteratorProxyPrototype = function (IS_ITERATOR) {
2037
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
2038
-
2039
- return defineBuiltIns(create(IteratorPrototype), {
2040
- next: function next() {
2041
- var state = getInternalState(this);
2042
- // for simplification:
2043
- // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
2044
- // for `%IteratorHelperPrototype%.next` - just a value
2045
- if (IS_ITERATOR) return state.nextHandler();
2046
- try {
2047
- var result = state.done ? undefined : state.nextHandler();
2048
- return createIterResultObject(result, state.done);
2049
- } catch (error) {
2050
- state.done = true;
2051
- throw error;
2052
- }
2053
- },
2054
- 'return': function () {
2055
- var state = getInternalState(this);
2056
- var iterator = state.iterator;
2057
- state.done = true;
2058
- if (IS_ITERATOR) {
2059
- var returnMethod = getMethod$1(iterator, 'return');
2060
- return returnMethod ? call$6(returnMethod, iterator) : createIterResultObject(undefined, true);
2061
- }
2062
- if (state.inner) try {
2063
- iteratorClose$4(state.inner.iterator, 'normal');
2064
- } catch (error) {
2065
- return iteratorClose$4(iterator, 'throw', error);
2066
- }
2067
- iteratorClose$4(iterator, 'normal');
2068
- return createIterResultObject(undefined, true);
2069
- }
2070
- });
2071
- };
2072
-
2073
- var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
2074
- var IteratorHelperPrototype = createIteratorProxyPrototype(false);
2075
-
2076
- createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG$2, 'Iterator Helper');
2077
-
2078
- var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
2079
- var IteratorProxy = function Iterator(record, state) {
2080
- if (state) {
2081
- state.iterator = record.iterator;
2082
- state.next = record.next;
2083
- } else state = record;
2084
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
2085
- state.nextHandler = nextHandler;
2086
- state.counter = 0;
2087
- state.done = false;
2088
- setInternalState(this, state);
2089
- };
2090
-
2091
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
2092
-
2093
- return IteratorProxy;
2094
- };
2095
-
2096
- var anObject$7 = anObject$e;
2097
- var iteratorClose$3 = iteratorClose$5;
2098
-
2099
- // call something on iterator step with safe closing on error
2100
- var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
2101
- try {
2102
- return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
2103
- } catch (error) {
2104
- iteratorClose$3(iterator, 'throw', error);
2105
- }
2106
- };
2107
-
2108
- var $$a = _export;
2109
- var call$5 = functionCall;
2110
- var aCallable$7 = aCallable$9;
2111
- var anObject$6 = anObject$e;
2112
- var getIteratorDirect$4 = getIteratorDirect$5;
2113
- var createIteratorProxy$1 = iteratorCreateProxy;
2114
- var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
2115
- var IS_PURE$1 = isPure;
2116
-
2117
- var IteratorProxy$1 = createIteratorProxy$1(function () {
2118
- var iterator = this.iterator;
2119
- var predicate = this.predicate;
2120
- var next = this.next;
2121
- var result, done, value;
2122
- while (true) {
2123
- result = anObject$6(call$5(next, iterator));
2124
- done = this.done = !!result.done;
2125
- if (done) return;
2126
- value = result.value;
2127
- if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
2128
- }
2129
- });
2130
-
2131
- // `Iterator.prototype.filter` method
2132
- // https://github.com/tc39/proposal-iterator-helpers
2133
- $$a({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
2134
- filter: function filter(predicate) {
2135
- anObject$6(this);
2136
- aCallable$7(predicate);
2137
- return new IteratorProxy$1(getIteratorDirect$4(this), {
2138
- predicate: predicate
2139
- });
2140
- }
2141
- });
2142
-
2143
- var call$4 = functionCall;
2144
- var aCallable$6 = aCallable$9;
2145
- var anObject$5 = anObject$e;
2146
- var getIteratorDirect$3 = getIteratorDirect$5;
2147
- var createIteratorProxy = iteratorCreateProxy;
2148
- var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
2149
-
2150
- var IteratorProxy = createIteratorProxy(function () {
2151
- var iterator = this.iterator;
2152
- var result = anObject$5(call$4(this.next, iterator));
2153
- var done = this.done = !!result.done;
2154
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
2155
- });
2156
-
2157
- // `Iterator.prototype.map` method
2158
- // https://github.com/tc39/proposal-iterator-helpers
2159
- var iteratorMap = function map(mapper) {
2160
- anObject$5(this);
2161
- aCallable$6(mapper);
2162
- return new IteratorProxy(getIteratorDirect$3(this), {
2163
- mapper: mapper
2164
- });
2165
- };
2166
-
2167
- var $$9 = _export;
2168
- var map = iteratorMap;
2169
- var IS_PURE = isPure;
2170
-
2171
- // `Iterator.prototype.map` method
2172
- // https://github.com/tc39/proposal-iterator-helpers
2173
- $$9({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
2174
- map: map
2175
- });
2176
-
2177
700
  /**
2178
701
  * Creates an array of new FirestoreDocument instances without creating them in Firestore.
2179
702
  *
@@ -2481,7 +1004,7 @@ function documentReferencesFromDocuments(documents) {
2481
1004
  * @returns Observable that emits arrays of DocumentSnapshots whenever any document changes
2482
1005
  */
2483
1006
  function latestSnapshotsFromDocuments(documents) {
2484
- return documents.length ? rxjs.combineLatest(documents.map(x => x.accessor.stream())).pipe(rxjs.shareReplay(1)) : rxjs.of([]);
1007
+ return documents.length ? rxjs$1.combineLatest(documents.map(x => x.accessor.stream())).pipe(rxjs$1.shareReplay(1)) : rxjs$1.of([]);
2485
1008
  }
2486
1009
  /**
2487
1010
  * Creates an Observable that emits arrays of document data for multiple documents.
@@ -2498,7 +1021,7 @@ function latestSnapshotsFromDocuments(documents) {
2498
1021
  * @returns Observable that emits arrays of document data whenever any document changes
2499
1022
  */
2500
1023
  function latestDataFromDocuments(documents) {
2501
- return latestSnapshotsFromDocuments(documents).pipe(dataFromDocumentSnapshots(), rxjs.shareReplay(1));
1024
+ return latestSnapshotsFromDocuments(documents).pipe(dataFromDocumentSnapshots(), rxjs$1.shareReplay(1));
2502
1025
  }
2503
1026
  /**
2504
1027
  * Creates an RxJS operator that transforms arrays of DocumentSnapshots into arrays of document data.
@@ -2511,7 +1034,7 @@ function latestDataFromDocuments(documents) {
2511
1034
  * @returns An operator that transforms arrays of DocumentSnapshots into arrays of document data
2512
1035
  */
2513
1036
  function dataFromDocumentSnapshots() {
2514
- return rxjs.map(x => getDataFromDocumentSnapshots(x));
1037
+ return rxjs$1.map(x => getDataFromDocumentSnapshots(x));
2515
1038
  }
2516
1039
 
2517
1040
  // A set of copied types from @google-cloud/firestore and firebase/firestore to allow cross-compatability.
@@ -2638,391 +1161,6 @@ function snapshotConverterFunctions(config) {
2638
1161
  };
2639
1162
  }
2640
1163
 
2641
- var uncurryThis$4 = functionUncurryThis;
2642
-
2643
- // eslint-disable-next-line es/no-set -- safe
2644
- var SetPrototype$1 = Set.prototype;
2645
-
2646
- var setHelpers = {
2647
- // eslint-disable-next-line es/no-set -- safe
2648
- Set: Set,
2649
- add: uncurryThis$4(SetPrototype$1.add),
2650
- has: uncurryThis$4(SetPrototype$1.has),
2651
- remove: uncurryThis$4(SetPrototype$1['delete']),
2652
- proto: SetPrototype$1
2653
- };
2654
-
2655
- var has$5 = setHelpers.has;
2656
-
2657
- // Perform ? RequireInternalSlot(M, [[SetData]])
2658
- var aSet$7 = function (it) {
2659
- has$5(it);
2660
- return it;
2661
- };
2662
-
2663
- var call$3 = functionCall;
2664
-
2665
- var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
2666
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
2667
- var next = record.next;
2668
- var step, result;
2669
- while (!(step = call$3(next, iterator)).done) {
2670
- result = fn(step.value);
2671
- if (result !== undefined) return result;
2672
- }
2673
- };
2674
-
2675
- var uncurryThis$3 = functionUncurryThis;
2676
- var iterateSimple$6 = iterateSimple$7;
2677
- var SetHelpers$5 = setHelpers;
2678
-
2679
- var Set$3 = SetHelpers$5.Set;
2680
- var SetPrototype = SetHelpers$5.proto;
2681
- var forEach = uncurryThis$3(SetPrototype.forEach);
2682
- var keys = uncurryThis$3(SetPrototype.keys);
2683
- var next = keys(new Set$3()).next;
2684
-
2685
- var setIterate = function (set, fn, interruptible) {
2686
- return interruptible ? iterateSimple$6({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
2687
- };
2688
-
2689
- var SetHelpers$4 = setHelpers;
2690
- var iterate$4 = setIterate;
2691
-
2692
- var Set$2 = SetHelpers$4.Set;
2693
- var add$3 = SetHelpers$4.add;
2694
-
2695
- var setClone = function (set) {
2696
- var result = new Set$2();
2697
- iterate$4(set, function (it) {
2698
- add$3(result, it);
2699
- });
2700
- return result;
2701
- };
2702
-
2703
- var uncurryThis$2 = functionUncurryThis;
2704
- var aCallable$5 = aCallable$9;
2705
-
2706
- var functionUncurryThisAccessor = function (object, key, method) {
2707
- try {
2708
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2709
- return uncurryThis$2(aCallable$5(Object.getOwnPropertyDescriptor(object, key)[method]));
2710
- } catch (error) { /* empty */ }
2711
- };
2712
-
2713
- var uncurryThisAccessor = functionUncurryThisAccessor;
2714
- var SetHelpers$3 = setHelpers;
2715
-
2716
- var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function (set) {
2717
- return set.size;
2718
- };
2719
-
2720
- var aCallable$4 = aCallable$9;
2721
- var anObject$4 = anObject$e;
2722
- var call$2 = functionCall;
2723
- var toIntegerOrInfinity = toIntegerOrInfinity$3;
2724
- var getIteratorDirect$2 = getIteratorDirect$5;
2725
-
2726
- var INVALID_SIZE = 'Invalid size';
2727
- var $RangeError = RangeError;
2728
- var $TypeError$2 = TypeError;
2729
- var max = Math.max;
2730
-
2731
- var SetRecord = function (set, intSize) {
2732
- this.set = set;
2733
- this.size = max(intSize, 0);
2734
- this.has = aCallable$4(set.has);
2735
- this.keys = aCallable$4(set.keys);
2736
- };
2737
-
2738
- SetRecord.prototype = {
2739
- getIterator: function () {
2740
- return getIteratorDirect$2(anObject$4(call$2(this.keys, this.set)));
2741
- },
2742
- includes: function (it) {
2743
- return call$2(this.has, this.set, it);
2744
- }
2745
- };
2746
-
2747
- // `GetSetRecord` abstract operation
2748
- // https://tc39.es/proposal-set-methods/#sec-getsetrecord
2749
- var getSetRecord$7 = function (obj) {
2750
- anObject$4(obj);
2751
- var numSize = +obj.size;
2752
- // NOTE: If size is undefined, then numSize will be NaN
2753
- // eslint-disable-next-line no-self-compare -- NaN check
2754
- if (numSize !== numSize) throw new $TypeError$2(INVALID_SIZE);
2755
- var intSize = toIntegerOrInfinity(numSize);
2756
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
2757
- return new SetRecord(obj, intSize);
2758
- };
2759
-
2760
- var aSet$6 = aSet$7;
2761
- var SetHelpers$2 = setHelpers;
2762
- var clone$2 = setClone;
2763
- var size$4 = setSize;
2764
- var getSetRecord$6 = getSetRecord$7;
2765
- var iterateSet$2 = setIterate;
2766
- var iterateSimple$5 = iterateSimple$7;
2767
-
2768
- var has$4 = SetHelpers$2.has;
2769
- var remove$1 = SetHelpers$2.remove;
2770
-
2771
- // `Set.prototype.difference` method
2772
- // https://github.com/tc39/proposal-set-methods
2773
- var setDifference = function difference(other) {
2774
- var O = aSet$6(this);
2775
- var otherRec = getSetRecord$6(other);
2776
- var result = clone$2(O);
2777
- if (size$4(O) <= otherRec.size) iterateSet$2(O, function (e) {
2778
- if (otherRec.includes(e)) remove$1(result, e);
2779
- });
2780
- else iterateSimple$5(otherRec.getIterator(), function (e) {
2781
- if (has$4(O, e)) remove$1(result, e);
2782
- });
2783
- return result;
2784
- };
2785
-
2786
- var getBuiltIn = getBuiltIn$4;
2787
-
2788
- var createSetLike = function (size) {
2789
- return {
2790
- size: size,
2791
- has: function () {
2792
- return false;
2793
- },
2794
- keys: function () {
2795
- return {
2796
- next: function () {
2797
- return { done: true };
2798
- }
2799
- };
2800
- }
2801
- };
2802
- };
2803
-
2804
- var setMethodAcceptSetLike$7 = function (name) {
2805
- var Set = getBuiltIn('Set');
2806
- try {
2807
- new Set()[name](createSetLike(0));
2808
- try {
2809
- // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
2810
- // https://github.com/tc39/proposal-set-methods/pull/88
2811
- new Set()[name](createSetLike(-1));
2812
- return false;
2813
- } catch (error2) {
2814
- return true;
2815
- }
2816
- } catch (error) {
2817
- return false;
2818
- }
2819
- };
2820
-
2821
- var $$8 = _export;
2822
- var difference = setDifference;
2823
- var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
2824
-
2825
- // `Set.prototype.difference` method
2826
- // https://github.com/tc39/proposal-set-methods
2827
- $$8({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
2828
- difference: difference
2829
- });
2830
-
2831
- var aSet$5 = aSet$7;
2832
- var SetHelpers$1 = setHelpers;
2833
- var size$3 = setSize;
2834
- var getSetRecord$5 = getSetRecord$7;
2835
- var iterateSet$1 = setIterate;
2836
- var iterateSimple$4 = iterateSimple$7;
2837
-
2838
- var Set$1 = SetHelpers$1.Set;
2839
- var add$2 = SetHelpers$1.add;
2840
- var has$3 = SetHelpers$1.has;
2841
-
2842
- // `Set.prototype.intersection` method
2843
- // https://github.com/tc39/proposal-set-methods
2844
- var setIntersection = function intersection(other) {
2845
- var O = aSet$5(this);
2846
- var otherRec = getSetRecord$5(other);
2847
- var result = new Set$1();
2848
-
2849
- if (size$3(O) > otherRec.size) {
2850
- iterateSimple$4(otherRec.getIterator(), function (e) {
2851
- if (has$3(O, e)) add$2(result, e);
2852
- });
2853
- } else {
2854
- iterateSet$1(O, function (e) {
2855
- if (otherRec.includes(e)) add$2(result, e);
2856
- });
2857
- }
2858
-
2859
- return result;
2860
- };
2861
-
2862
- var $$7 = _export;
2863
- var fails = fails$c;
2864
- var intersection = setIntersection;
2865
- var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
2866
-
2867
- var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails(function () {
2868
- // eslint-disable-next-line es/no-array-from, es/no-set -- testing
2869
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
2870
- });
2871
-
2872
- // `Set.prototype.intersection` method
2873
- // https://github.com/tc39/proposal-set-methods
2874
- $$7({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
2875
- intersection: intersection
2876
- });
2877
-
2878
- var aSet$4 = aSet$7;
2879
- var has$2 = setHelpers.has;
2880
- var size$2 = setSize;
2881
- var getSetRecord$4 = getSetRecord$7;
2882
- var iterateSet = setIterate;
2883
- var iterateSimple$3 = iterateSimple$7;
2884
- var iteratorClose$2 = iteratorClose$5;
2885
-
2886
- // `Set.prototype.isDisjointFrom` method
2887
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
2888
- var setIsDisjointFrom = function isDisjointFrom(other) {
2889
- var O = aSet$4(this);
2890
- var otherRec = getSetRecord$4(other);
2891
- if (size$2(O) <= otherRec.size) return iterateSet(O, function (e) {
2892
- if (otherRec.includes(e)) return false;
2893
- }, true) !== false;
2894
- var iterator = otherRec.getIterator();
2895
- return iterateSimple$3(iterator, function (e) {
2896
- if (has$2(O, e)) return iteratorClose$2(iterator, 'normal', false);
2897
- }) !== false;
2898
- };
2899
-
2900
- var $$6 = _export;
2901
- var isDisjointFrom = setIsDisjointFrom;
2902
- var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
2903
-
2904
- // `Set.prototype.isDisjointFrom` method
2905
- // https://github.com/tc39/proposal-set-methods
2906
- $$6({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
2907
- isDisjointFrom: isDisjointFrom
2908
- });
2909
-
2910
- var aSet$3 = aSet$7;
2911
- var size$1 = setSize;
2912
- var iterate$3 = setIterate;
2913
- var getSetRecord$3 = getSetRecord$7;
2914
-
2915
- // `Set.prototype.isSubsetOf` method
2916
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
2917
- var setIsSubsetOf = function isSubsetOf(other) {
2918
- var O = aSet$3(this);
2919
- var otherRec = getSetRecord$3(other);
2920
- if (size$1(O) > otherRec.size) return false;
2921
- return iterate$3(O, function (e) {
2922
- if (!otherRec.includes(e)) return false;
2923
- }, true) !== false;
2924
- };
2925
-
2926
- var $$5 = _export;
2927
- var isSubsetOf = setIsSubsetOf;
2928
- var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
2929
-
2930
- // `Set.prototype.isSubsetOf` method
2931
- // https://github.com/tc39/proposal-set-methods
2932
- $$5({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
2933
- isSubsetOf: isSubsetOf
2934
- });
2935
-
2936
- var aSet$2 = aSet$7;
2937
- var has$1 = setHelpers.has;
2938
- var size = setSize;
2939
- var getSetRecord$2 = getSetRecord$7;
2940
- var iterateSimple$2 = iterateSimple$7;
2941
- var iteratorClose$1 = iteratorClose$5;
2942
-
2943
- // `Set.prototype.isSupersetOf` method
2944
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
2945
- var setIsSupersetOf = function isSupersetOf(other) {
2946
- var O = aSet$2(this);
2947
- var otherRec = getSetRecord$2(other);
2948
- if (size(O) < otherRec.size) return false;
2949
- var iterator = otherRec.getIterator();
2950
- return iterateSimple$2(iterator, function (e) {
2951
- if (!has$1(O, e)) return iteratorClose$1(iterator, 'normal', false);
2952
- }) !== false;
2953
- };
2954
-
2955
- var $$4 = _export;
2956
- var isSupersetOf = setIsSupersetOf;
2957
- var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
2958
-
2959
- // `Set.prototype.isSupersetOf` method
2960
- // https://github.com/tc39/proposal-set-methods
2961
- $$4({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
2962
- isSupersetOf: isSupersetOf
2963
- });
2964
-
2965
- var aSet$1 = aSet$7;
2966
- var SetHelpers = setHelpers;
2967
- var clone$1 = setClone;
2968
- var getSetRecord$1 = getSetRecord$7;
2969
- var iterateSimple$1 = iterateSimple$7;
2970
-
2971
- var add$1 = SetHelpers.add;
2972
- var has = SetHelpers.has;
2973
- var remove = SetHelpers.remove;
2974
-
2975
- // `Set.prototype.symmetricDifference` method
2976
- // https://github.com/tc39/proposal-set-methods
2977
- var setSymmetricDifference = function symmetricDifference(other) {
2978
- var O = aSet$1(this);
2979
- var keysIter = getSetRecord$1(other).getIterator();
2980
- var result = clone$1(O);
2981
- iterateSimple$1(keysIter, function (e) {
2982
- if (has(O, e)) remove(result, e);
2983
- else add$1(result, e);
2984
- });
2985
- return result;
2986
- };
2987
-
2988
- var $$3 = _export;
2989
- var symmetricDifference = setSymmetricDifference;
2990
- var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
2991
-
2992
- // `Set.prototype.symmetricDifference` method
2993
- // https://github.com/tc39/proposal-set-methods
2994
- $$3({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
2995
- symmetricDifference: symmetricDifference
2996
- });
2997
-
2998
- var aSet = aSet$7;
2999
- var add = setHelpers.add;
3000
- var clone = setClone;
3001
- var getSetRecord = getSetRecord$7;
3002
- var iterateSimple = iterateSimple$7;
3003
-
3004
- // `Set.prototype.union` method
3005
- // https://github.com/tc39/proposal-set-methods
3006
- var setUnion = function union(other) {
3007
- var O = aSet(this);
3008
- var keysIter = getSetRecord(other).getIterator();
3009
- var result = clone(O);
3010
- iterateSimple(keysIter, function (it) {
3011
- add(result, it);
3012
- });
3013
- return result;
3014
- };
3015
-
3016
- var $$2 = _export;
3017
- var union = setUnion;
3018
- var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
3019
-
3020
- // `Set.prototype.union` method
3021
- // https://github.com/tc39/proposal-set-methods
3022
- $$2({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
3023
- union: union
3024
- });
3025
-
3026
1164
  /**
3027
1165
  * The default empty value used in Firestore documents.
3028
1166
  *
@@ -3082,12 +1220,11 @@ function optionalFirestoreField(config) {
3082
1220
  const {
3083
1221
  dontStoreDefaultReadValue,
3084
1222
  dontStoreValueIf: inputDontStoreValueIf,
3085
- dontStoreIfValue: inputDontStoreIfValue,
3086
1223
  transformData: inputTransformData
3087
1224
  } = inputConfig; // might be defined.
3088
1225
  const {
3089
1226
  defaultReadValue: inputDefaultReadValue,
3090
- dontStoreIf: inputDontStoreIf = inputDontStoreIfValue,
1227
+ dontStoreIf: inputDontStoreIf,
3091
1228
  transformFromData,
3092
1229
  transformToData
3093
1230
  } = inputConfig;
@@ -4118,7 +2255,7 @@ function firestoreUpdateWithNoDataError() {
4118
2255
  }
4119
2256
 
4120
2257
  function firebaseQuerySnapshotAccumulator(iteration, mapSnapshots) {
4121
- return rxjs$1.itemAccumulator(iteration, mapSnapshots);
2258
+ return rxjs.itemAccumulator(iteration, mapSnapshots);
4122
2259
  }
4123
2260
  function firebaseQueryItemAccumulator(iteration, mapItem) {
4124
2261
  mapItem = mapItem ?? (x => x);
@@ -4663,199 +2800,6 @@ function whereDateIsBeforeWithSort(fieldPath, date = new Date(), sortDirection)
4663
2800
  return [orderBy(fieldPath, sortDirection ?? 'desc'), whereDateIsBefore(fieldPath, date)];
4664
2801
  }
4665
2802
 
4666
- var classofRaw$1 = classofRaw$2;
4667
- var uncurryThis$1 = functionUncurryThis;
4668
-
4669
- var functionUncurryThisClause = function (fn) {
4670
- // Nashorn bug:
4671
- // https://github.com/zloirock/core-js/issues/1128
4672
- // https://github.com/zloirock/core-js/issues/1130
4673
- if (classofRaw$1(fn) === 'Function') return uncurryThis$1(fn);
4674
- };
4675
-
4676
- var uncurryThis = functionUncurryThisClause;
4677
- var aCallable$3 = aCallable$9;
4678
- var NATIVE_BIND = functionBindNative;
4679
-
4680
- var bind$1 = uncurryThis(uncurryThis.bind);
4681
-
4682
- // optional / simple context binding
4683
- var functionBindContext = function (fn, that) {
4684
- aCallable$3(fn);
4685
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
4686
- return fn.apply(that, arguments);
4687
- };
4688
- };
4689
-
4690
- var iterators = {};
4691
-
4692
- var wellKnownSymbol$3 = wellKnownSymbol$8;
4693
- var Iterators$1 = iterators;
4694
-
4695
- var ITERATOR$1 = wellKnownSymbol$3('iterator');
4696
- var ArrayPrototype = Array.prototype;
4697
-
4698
- // check on default Array iterator
4699
- var isArrayIteratorMethod$1 = function (it) {
4700
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
4701
- };
4702
-
4703
- var wellKnownSymbol$2 = wellKnownSymbol$8;
4704
-
4705
- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
4706
- var test = {};
4707
-
4708
- test[TO_STRING_TAG$1] = 'z';
4709
-
4710
- var toStringTagSupport = String(test) === '[object z]';
4711
-
4712
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
4713
- var isCallable = isCallable$e;
4714
- var classofRaw = classofRaw$2;
4715
- var wellKnownSymbol$1 = wellKnownSymbol$8;
4716
-
4717
- var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
4718
- var $Object = Object;
4719
-
4720
- // ES3 wrong here
4721
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
4722
-
4723
- // fallback for IE11 Script Access Denied error
4724
- var tryGet = function (it, key) {
4725
- try {
4726
- return it[key];
4727
- } catch (error) { /* empty */ }
4728
- };
4729
-
4730
- // getting tag from ES6+ `Object.prototype.toString`
4731
- var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
4732
- var O, tag, result;
4733
- return it === undefined ? 'Undefined' : it === null ? 'Null'
4734
- // @@toStringTag case
4735
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
4736
- // builtinTag case
4737
- : CORRECT_ARGUMENTS ? classofRaw(O)
4738
- // ES3 arguments fallback
4739
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
4740
- };
4741
-
4742
- var classof = classof$1;
4743
- var getMethod = getMethod$4;
4744
- var isNullOrUndefined = isNullOrUndefined$3;
4745
- var Iterators = iterators;
4746
- var wellKnownSymbol = wellKnownSymbol$8;
4747
-
4748
- var ITERATOR = wellKnownSymbol('iterator');
4749
-
4750
- var getIteratorMethod$2 = function (it) {
4751
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
4752
- || getMethod(it, '@@iterator')
4753
- || Iterators[classof(it)];
4754
- };
4755
-
4756
- var call$1 = functionCall;
4757
- var aCallable$2 = aCallable$9;
4758
- var anObject$3 = anObject$e;
4759
- var tryToString$1 = tryToString$3;
4760
- var getIteratorMethod$1 = getIteratorMethod$2;
4761
-
4762
- var $TypeError$1 = TypeError;
4763
-
4764
- var getIterator$1 = function (argument, usingIterator) {
4765
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
4766
- if (aCallable$2(iteratorMethod)) return anObject$3(call$1(iteratorMethod, argument));
4767
- throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
4768
- };
4769
-
4770
- var bind = functionBindContext;
4771
- var call = functionCall;
4772
- var anObject$2 = anObject$e;
4773
- var tryToString = tryToString$3;
4774
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
4775
- var lengthOfArrayLike = lengthOfArrayLike$2;
4776
- var isPrototypeOf = objectIsPrototypeOf;
4777
- var getIterator = getIterator$1;
4778
- var getIteratorMethod = getIteratorMethod$2;
4779
- var iteratorClose = iteratorClose$5;
4780
-
4781
- var $TypeError = TypeError;
4782
-
4783
- var Result = function (stopped, result) {
4784
- this.stopped = stopped;
4785
- this.result = result;
4786
- };
4787
-
4788
- var ResultPrototype = Result.prototype;
4789
-
4790
- var iterate$2 = function (iterable, unboundFunction, options) {
4791
- var that = options && options.that;
4792
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
4793
- var IS_RECORD = !!(options && options.IS_RECORD);
4794
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
4795
- var INTERRUPTED = !!(options && options.INTERRUPTED);
4796
- var fn = bind(unboundFunction, that);
4797
- var iterator, iterFn, index, length, result, next, step;
4798
-
4799
- var stop = function (condition) {
4800
- if (iterator) iteratorClose(iterator, 'normal', condition);
4801
- return new Result(true, condition);
4802
- };
4803
-
4804
- var callFn = function (value) {
4805
- if (AS_ENTRIES) {
4806
- anObject$2(value);
4807
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
4808
- } return INTERRUPTED ? fn(value, stop) : fn(value);
4809
- };
4810
-
4811
- if (IS_RECORD) {
4812
- iterator = iterable.iterator;
4813
- } else if (IS_ITERATOR) {
4814
- iterator = iterable;
4815
- } else {
4816
- iterFn = getIteratorMethod(iterable);
4817
- if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
4818
- // optimisation for array iterators
4819
- if (isArrayIteratorMethod(iterFn)) {
4820
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
4821
- result = callFn(iterable[index]);
4822
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
4823
- } return new Result(false);
4824
- }
4825
- iterator = getIterator(iterable, iterFn);
4826
- }
4827
-
4828
- next = IS_RECORD ? iterable.next : iterator.next;
4829
- while (!(step = call(next, iterator)).done) {
4830
- try {
4831
- result = callFn(step.value);
4832
- } catch (error) {
4833
- iteratorClose(iterator, 'throw', error);
4834
- }
4835
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
4836
- } return new Result(false);
4837
- };
4838
-
4839
- var $$1 = _export;
4840
- var iterate$1 = iterate$2;
4841
- var aCallable$1 = aCallable$9;
4842
- var anObject$1 = anObject$e;
4843
- var getIteratorDirect$1 = getIteratorDirect$5;
4844
-
4845
- // `Iterator.prototype.forEach` method
4846
- // https://github.com/tc39/proposal-iterator-helpers
4847
- $$1({ target: 'Iterator', proto: true, real: true }, {
4848
- forEach: function forEach(fn) {
4849
- anObject$1(this);
4850
- aCallable$1(fn);
4851
- var record = getIteratorDirect$1(this);
4852
- var counter = 0;
4853
- iterate$1(record, function (value) {
4854
- fn(value, counter++);
4855
- }, { IS_RECORD: true });
4856
- }
4857
- });
4858
-
4859
2803
  /**
4860
2804
  * Filters out constraints that should not be directly specified in pagination queries.
4861
2805
  *
@@ -4882,7 +2826,7 @@ function makeFirestoreItemPageIteratorDelegate() {
4882
2826
  page,
4883
2827
  iteratorConfig
4884
2828
  } = request;
4885
- const prevQueryResult$ = page > 0 ? request.lastItem$ : rxjs.of(undefined);
2829
+ const prevQueryResult$ = page > 0 ? request.lastItem$ : rxjs$1.of(undefined);
4886
2830
  const {
4887
2831
  queryLike,
4888
2832
  itemsPerPage = DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE,
@@ -4893,10 +2837,10 @@ function makeFirestoreItemPageIteratorDelegate() {
4893
2837
  limit: filterLimit,
4894
2838
  constraints: filterConstraints
4895
2839
  } = filter ?? {};
4896
- return prevQueryResult$.pipe(rxjs.exhaustMap(prevResult => {
2840
+ return prevQueryResult$.pipe(rxjs$1.exhaustMap(prevResult => {
4897
2841
  if (prevResult?.snapshot.empty === true) {
4898
2842
  // TODO(REMOVE): Shouldn't happen. Remove this later.
4899
- return rxjs.of({
2843
+ return rxjs$1.of({
4900
2844
  end: true
4901
2845
  });
4902
2846
  } else {
@@ -4937,7 +2881,7 @@ function makeFirestoreItemPageIteratorDelegate() {
4937
2881
  };
4938
2882
  return result;
4939
2883
  });
4940
- return rxjs.from(resultPromise);
2884
+ return rxjs$1.from(resultPromise);
4941
2885
  }
4942
2886
  }));
4943
2887
  }
@@ -4996,7 +2940,7 @@ const FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE = makeFirestoreItemPageIteratorDeleg
4996
2940
  * This singleton instance is the core pagination iterator used by the library.
4997
2941
  * It uses the default delegate to implement paginated Firestore queries.
4998
2942
  */
4999
- const FIRESTORE_ITEM_PAGE_ITERATOR = new rxjs$1.ItemPageIterator(FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE);
2943
+ const FIRESTORE_ITEM_PAGE_ITERATOR = new rxjs.ItemPageIterator(FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE);
5000
2944
  /**
5001
2945
  * Creates a Firestore pagination instance that handles loading documents in pages.
5002
2946
  *
@@ -5033,7 +2977,7 @@ function firestoreItemPageIteration(config) {
5033
2977
  return _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration);
5034
2978
  }
5035
2979
  function _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration) {
5036
- const mappedIteration = rxjs$1.mappedPageItemIteration(snapshotIteration, {
2980
+ const mappedIteration = rxjs.mappedPageItemIteration(snapshotIteration, {
5037
2981
  forwardDestroy: true,
5038
2982
  mapValue: x => x.docs
5039
2983
  });
@@ -5084,7 +3028,7 @@ function firestoreFixedItemPageIteration(config) {
5084
3028
  page,
5085
3029
  iteratorConfig
5086
3030
  } = request;
5087
- const prevQueryResult$ = page > 0 ? request.lastItem$ : rxjs.of(undefined);
3031
+ const prevQueryResult$ = page > 0 ? request.lastItem$ : rxjs$1.of(undefined);
5088
3032
  const {
5089
3033
  itemsPerPage = DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE,
5090
3034
  filter
@@ -5092,10 +3036,10 @@ function firestoreFixedItemPageIteration(config) {
5092
3036
  const {
5093
3037
  limit: filterLimit
5094
3038
  } = filter ?? {};
5095
- return prevQueryResult$.pipe(rxjs.exhaustMap(prevResult => {
3039
+ return prevQueryResult$.pipe(rxjs$1.exhaustMap(prevResult => {
5096
3040
  if (prevResult?.snapshot.empty === true) {
5097
3041
  // TODO(REMOVE): Shouldn't happen. Remove this later.
5098
- return rxjs.of({
3042
+ return rxjs$1.of({
5099
3043
  end: true
5100
3044
  });
5101
3045
  } else {
@@ -5149,7 +3093,7 @@ function firestoreFixedItemPageIteration(config) {
5149
3093
  },
5150
3094
  stream(options) {
5151
3095
  // TODO: Count potentially stream to fully implement, but might not be used anyways.
5152
- return rxjs.of(snapshot);
3096
+ return rxjs$1.of(snapshot);
5153
3097
  }
5154
3098
  },
5155
3099
  end
@@ -5161,15 +3105,10 @@ function firestoreFixedItemPageIteration(config) {
5161
3105
  }));
5162
3106
  }
5163
3107
  };
5164
- const factory = new rxjs$1.ItemPageIterator(delegate);
3108
+ const factory = new rxjs.ItemPageIterator(delegate);
5165
3109
  const snapshotIteration = factory.instance(config);
5166
3110
  return _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration);
5167
3111
  }
5168
- // MARK: Compat
5169
- /**
5170
- * @deprecated Use filterDisallowedFirestoreItemPageIteratorInputConstraints instead. Mispelling.
5171
- */
5172
- const filterDisallowedFirestoreItemPageIteratorInputContraints = filterDisallowedFirestoreItemPageIteratorInputConstraints;
5173
3112
 
5174
3113
  /**
5175
3114
  * Creates a factory for building and executing Firestore queries against a specific collection.
@@ -5261,7 +3200,7 @@ function firestoreQueryFactory(config) {
5261
3200
  * });
5262
3201
  */
5263
3202
  function streamFromOnSnapshot(callOnSnapshot) {
5264
- return new rxjs.Observable(subscriber => {
3203
+ return new rxjs$1.Observable(subscriber => {
5265
3204
  const unsubscribe = callOnSnapshot({
5266
3205
  next: subscriber.next.bind(subscriber),
5267
3206
  error: subscriber.error.bind(subscriber),
@@ -5774,7 +3713,7 @@ function iterationQueryDocChangeWatcher(config) {
5774
3713
  instance,
5775
3714
  delay: timeUntilActive = DEFAULT_QUERY_CHANGE_WATCHER_DELAY
5776
3715
  } = config;
5777
- const stream$ = instance.snapshotIteration.firstSuccessfulPageResults$.pipe(rxjs.switchMap(first => {
3716
+ const stream$ = instance.snapshotIteration.firstSuccessfulPageResults$.pipe(rxjs$1.switchMap(first => {
5778
3717
  const {
5779
3718
  time,
5780
3719
  stream
@@ -5784,10 +3723,10 @@ function iterationQueryDocChangeWatcher(config) {
5784
3723
  expiresIn: timeUntilActive
5785
3724
  });
5786
3725
  // don't start streaming until the given moment.
5787
- return rxjs.timer(beginCheckingAt).pipe(rxjs.switchMap(() => stream().pipe(rxjs.skip(1) // skip the first value, as it should be equivalent to the query results given.
3726
+ return rxjs$1.timer(beginCheckingAt).pipe(rxjs$1.switchMap(() => stream().pipe(rxjs$1.skip(1) // skip the first value, as it should be equivalent to the query results given.
5788
3727
  )));
5789
- }), rxjs.shareReplay(1));
5790
- const event$ = stream$.pipe(rxjs.map(event => {
3728
+ }), rxjs$1.shareReplay(1));
3729
+ const event$ = stream$.pipe(rxjs$1.map(event => {
5791
3730
  const changes = event.docChanges();
5792
3731
  const results = util.build({
5793
3732
  base: util.groupValues(changes, x => x.type),
@@ -5801,7 +3740,7 @@ function iterationQueryDocChangeWatcher(config) {
5801
3740
  }
5802
3741
  });
5803
3742
  return results;
5804
- }), rxjs.shareReplay(1));
3743
+ }), rxjs$1.shareReplay(1));
5805
3744
  return {
5806
3745
  stream$,
5807
3746
  event$
@@ -5890,8 +3829,8 @@ function firestoreCollectionQueryFactory(queryFactory, accessorContext) {
5890
3829
  },
5891
3830
  getDocs: transaction => baseQuery.getDocs(transaction).then(x => documentLoader(documentReferencesFromSnapshot(x), transaction)),
5892
3831
  getDocSnapshotDataPairs: transaction => baseQuery.getDocs(transaction).then(x => documentSnapshotPairsLoader(x.docs, transaction)),
5893
- streamDocs: () => baseQuery.streamDocs().pipe(rxjs.map(x => documentLoader(documentReferencesFromSnapshot(x)))),
5894
- streamDocSnapshotDataPairs: () => baseQuery.streamDocs().pipe(rxjs.map(x => documentSnapshotPairsLoader(x.docs))),
3832
+ streamDocs: () => baseQuery.streamDocs().pipe(rxjs$1.map(x => documentLoader(documentReferencesFromSnapshot(x)))),
3833
+ streamDocSnapshotDataPairs: () => baseQuery.streamDocs().pipe(rxjs$1.map(x => documentSnapshotPairsLoader(x.docs))),
5895
3834
  filter: (...queryConstraints) => wrapQuery(baseQuery.filter(...queryConstraints))
5896
3835
  };
5897
3836
  };
@@ -6173,7 +4112,6 @@ function firestoreIdentityTypeArrayName(input, separator = FIRESTORE_COLLECTION_
6173
4112
  function firestoreIdentityTypeArray(input) {
6174
4113
  const array = [];
6175
4114
  let current = input;
6176
- // eslint-disable-next-line no-constant-condition
6177
4115
  while (true) {
6178
4116
  array.push(current.collectionName);
6179
4117
  if (current.type === 'nested') {
@@ -6806,7 +4744,7 @@ class TransactionFirestoreDocumentDataAccessor {
6806
4744
  return this._documentRef;
6807
4745
  }
6808
4746
  stream() {
6809
- return rxjs.from(this.get());
4747
+ return rxjs$1.from(this.get());
6810
4748
  }
6811
4749
  create(data) {
6812
4750
  return createWithAccessor(this)(data);
@@ -7223,7 +5161,6 @@ function onCallDevelopmentParams(specifier, data) {
7223
5161
  */
7224
5162
  const RUN_DEV_FUNCTION_APP_FUNCTION_KEY = 'dev';
7225
5163
 
7226
- /* eslint-disable @typescript-eslint/no-explicit-any */
7227
5164
  // The use of any here does not degrade the type-safety. The correct type is inferred in most cases.
7228
5165
  function developmentFirebaseFunctionMapFactory(configMap) {
7229
5166
  return functionsInstance => {
@@ -8025,7 +5962,7 @@ function iterateStorageListFiles(input) {
8025
5962
 
8026
5963
  var makeError = {exports: {}};
8027
5964
 
8028
- (function (module, exports) {
5965
+ (function (module, exports$1) {
8029
5966
 
8030
5967
  // ===================================================================
8031
5968
 
@@ -8172,8 +6109,8 @@ var makeError = {exports: {}};
8172
6109
 
8173
6110
  return constructor;
8174
6111
  }
8175
- exports = module.exports = makeError;
8176
- exports.BaseError = BaseError;
6112
+ exports$1 = module.exports = makeError;
6113
+ exports$1.BaseError = BaseError;
8177
6114
  } (makeError, makeError.exports));
8178
6115
 
8179
6116
  var makeErrorExports = makeError.exports;
@@ -8347,7 +6284,7 @@ function firebaseStorageClientAccessorFile(storage$1, storagePath) {
8347
6284
  return storage.uploadBytes(ref, input, metadataOption);
8348
6285
  }
8349
6286
  },
8350
- getBytes: maxDownloadSizeBytes => storage.getBytes(ref, maxDownloadSizeBytes),
6287
+ getBytes: maxDownloadSizeBytes => storage.getBytes(ref, maxDownloadSizeBytes).then(x => new Uint8Array(x)),
8351
6288
  getBlob: maxDownloadSizeBytes => storage.getBlob(ref, maxDownloadSizeBytes),
8352
6289
  uploadResumable: (input, options) => {
8353
6290
  const metadataOption = uploadMetadataFromStorageUploadOptions(options);
@@ -8369,12 +6306,12 @@ function firebaseStorageClientAccessorFile(storage$1, storagePath) {
8369
6306
  resume: () => uploadBytesTask.resume(),
8370
6307
  getSnapshot: () => wrapSnapshot(uploadBytesTask.snapshot),
8371
6308
  streamSnapshotEvents: util.cachedGetter(() => {
8372
- const internalSnapshotObs = new rxjs.Observable(x => uploadBytesTask.on('state_changed', {
6309
+ const internalSnapshotObs = new rxjs$1.Observable(x => uploadBytesTask.on('state_changed', {
8373
6310
  next: y => x.next(y),
8374
6311
  error: e => x.error(e),
8375
6312
  complete: () => x.complete()
8376
6313
  }));
8377
- const snapshotEvents = internalSnapshotObs.pipe(rxjs.map(x => wrapSnapshot(x)), rxjs.shareReplay(1));
6314
+ const snapshotEvents = internalSnapshotObs.pipe(rxjs$1.map(x => wrapSnapshot(x)), rxjs$1.shareReplay(1));
8378
6315
  return snapshotEvents;
8379
6316
  })
8380
6317
  };
@@ -10064,11 +8001,6 @@ function appNotificationTemplateTypeInfoRecordService(appNotificationTemplateTyp
10064
8001
  };
10065
8002
  return service;
10066
8003
  }
10067
- // MARK: Compat
10068
- /**
10069
- * @deprecated use notificationTemplateTypeInfoRecord instead.
10070
- */
10071
- const notificationTemplateTypeDetailsRecord = notificationTemplateTypeInfoRecord;
10072
8004
 
10073
8005
  exports.NotificationMessageFlag = void 0;
10074
8006
  (function (NotificationMessageFlag) {
@@ -10290,26 +8222,6 @@ function notificationSubtaskComplete(options) {
10290
8222
  };
10291
8223
  }
10292
8224
 
10293
- var $ = _export;
10294
- var iterate = iterate$2;
10295
- var aCallable = aCallable$9;
10296
- var anObject = anObject$e;
10297
- var getIteratorDirect = getIteratorDirect$5;
10298
-
10299
- // `Iterator.prototype.some` method
10300
- // https://github.com/tc39/proposal-iterator-helpers
10301
- $({ target: 'Iterator', proto: true, real: true }, {
10302
- some: function some(predicate) {
10303
- anObject(this);
10304
- aCallable(predicate);
10305
- var record = getIteratorDirect(this);
10306
- var counter = 0;
10307
- return iterate(record, function (value, stop) {
10308
- if (predicate(value, counter++)) return stop();
10309
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
10310
- }
10311
- });
10312
-
10313
8225
  function effectiveNotificationBoxRecipientConfig(input) {
10314
8226
  const {
10315
8227
  uid,
@@ -11285,14 +9197,6 @@ function storageFileProcessingNotificationTaskTemplate(input) {
11285
9197
  }
11286
9198
  // MARK: All Tasks
11287
9199
  const ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES = [STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE];
11288
- /**
11289
- * @deprecated Use NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING instead.
11290
- */
11291
- const STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_PROCESSING = NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING;
11292
- /**
11293
- * @deprecated Use NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP instead.
11294
- */
11295
- const STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_CLEANUP = NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP;
11296
9200
 
11297
9201
  /**
11298
9202
  * Creates a new GrantStorageFileRolesForUserAuthFunction given the input config/context.
@@ -11949,8 +9853,6 @@ exports.STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK = STORAGE
11949
9853
  exports.STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE = STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE;
11950
9854
  exports.STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE = STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE;
11951
9855
  exports.STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE = STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE;
11952
- exports.STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_CLEANUP = STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_CLEANUP;
11953
- exports.STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_PROCESSING = STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_PROCESSING;
11954
9856
  exports.STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE = STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE;
11955
9857
  exports.STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE = STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE;
11956
9858
  exports.STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE = STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE;
@@ -12061,7 +9963,6 @@ exports.endBefore = endBefore;
12061
9963
  exports.extendFirestoreCollectionWithSingleDocumentAccessor = extendFirestoreCollectionWithSingleDocumentAccessor;
12062
9964
  exports.filterConstraintsOfType = filterConstraintsOfType;
12063
9965
  exports.filterDisallowedFirestoreItemPageIteratorInputConstraints = filterDisallowedFirestoreItemPageIteratorInputConstraints;
12064
- exports.filterDisallowedFirestoreItemPageIteratorInputContraints = filterDisallowedFirestoreItemPageIteratorInputContraints;
12065
9966
  exports.filterRepeatCheckpointSnapshots = filterRepeatCheckpointSnapshots;
12066
9967
  exports.filterWithDateRange = filterWithDateRange;
12067
9968
  exports.firebaseAuthErrorToReadableError = firebaseAuthErrorToReadableError;
@@ -12320,7 +10221,6 @@ exports.notificationTaskDelayRetry = notificationTaskDelayRetry;
12320
10221
  exports.notificationTaskFailed = notificationTaskFailed;
12321
10222
  exports.notificationTaskPartiallyComplete = notificationTaskPartiallyComplete;
12322
10223
  exports.notificationTaskUniqueId = notificationTaskUniqueId;
12323
- exports.notificationTemplateTypeDetailsRecord = notificationTemplateTypeDetailsRecord;
12324
10224
  exports.notificationTemplateTypeInfoRecord = notificationTemplateTypeInfoRecord;
12325
10225
  exports.notificationUserCollectionReference = notificationUserCollectionReference;
12326
10226
  exports.notificationUserConverter = notificationUserConverter;