@firebase/firestore 4.1.2-canary.5f6304d39 → 4.1.2-canary.60e4a07d2

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 (58) hide show
  1. package/dist/firestore/src/api/persistent_cache_index_manager.d.ts +10 -0
  2. package/dist/firestore/src/api.d.ts +1 -1
  3. package/dist/firestore/src/core/firestore_client.d.ts +1 -0
  4. package/dist/firestore/src/global_index.d.ts +14 -2
  5. package/dist/firestore/src/local/index_manager.d.ts +2 -0
  6. package/dist/firestore/src/local/indexeddb_index_manager.d.ts +1 -0
  7. package/dist/firestore/src/local/local_store_impl.d.ts +1 -0
  8. package/dist/firestore/src/local/memory_index_manager.d.ts +1 -0
  9. package/dist/firestore/test/unit/local/test_index_manager.d.ts +1 -0
  10. package/dist/index.cjs.js +103 -74
  11. package/dist/index.cjs.js.map +1 -1
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.esm2017.js +103 -75
  14. package/dist/index.esm2017.js.map +1 -1
  15. package/dist/index.esm5.js +127 -80
  16. package/dist/index.esm5.js.map +1 -1
  17. package/dist/index.node.cjs.js +42 -2
  18. package/dist/index.node.cjs.js.map +1 -1
  19. package/dist/index.node.mjs +42 -3
  20. package/dist/index.node.mjs.map +1 -1
  21. package/dist/index.rn.js +120 -92
  22. package/dist/index.rn.js.map +1 -1
  23. package/dist/internal.d.ts +13 -0
  24. package/dist/lite/firestore/src/api/persistent_cache_index_manager.d.ts +10 -0
  25. package/dist/lite/firestore/src/api.d.ts +1 -1
  26. package/dist/lite/firestore/src/core/firestore_client.d.ts +1 -0
  27. package/dist/lite/firestore/src/local/index_manager.d.ts +2 -0
  28. package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +1 -0
  29. package/dist/lite/firestore/src/local/local_store_impl.d.ts +1 -0
  30. package/dist/lite/firestore/src/local/memory_index_manager.d.ts +1 -0
  31. package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +1 -0
  32. package/dist/lite/index.browser.esm2017.js +2 -2
  33. package/dist/lite/index.browser.esm5.js +2 -2
  34. package/dist/lite/index.cjs.js +2 -2
  35. package/dist/lite/index.node.cjs.js +2 -2
  36. package/dist/lite/index.node.mjs +2 -2
  37. package/dist/lite/index.rn.esm2017.js +2 -2
  38. package/dist/lite/internal.d.ts +2 -0
  39. package/dist/lite/packages/firestore/src/api/persistent_cache_index_manager.d.ts +10 -0
  40. package/dist/lite/packages/firestore/src/api.d.ts +1 -1
  41. package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +1 -0
  42. package/dist/lite/packages/firestore/src/local/index_manager.d.ts +2 -0
  43. package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +1 -0
  44. package/dist/lite/packages/firestore/src/local/local_store_impl.d.ts +1 -0
  45. package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +1 -0
  46. package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +1 -0
  47. package/dist/lite/private.d.ts +2 -0
  48. package/dist/packages/firestore/dist/index.esm2017.d.ts +18 -7
  49. package/dist/packages/firestore/src/api/persistent_cache_index_manager.d.ts +10 -0
  50. package/dist/packages/firestore/src/api.d.ts +1 -1
  51. package/dist/packages/firestore/src/core/firestore_client.d.ts +1 -0
  52. package/dist/packages/firestore/src/local/index_manager.d.ts +2 -0
  53. package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +1 -0
  54. package/dist/packages/firestore/src/local/local_store_impl.d.ts +1 -0
  55. package/dist/packages/firestore/src/local/memory_index_manager.d.ts +1 -0
  56. package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +1 -0
  57. package/dist/private.d.ts +4 -0
  58. package/package.json +9 -9
@@ -70,7 +70,7 @@ k.MOCK_USER = new k("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- var P = "10.3.0-canary.5f6304d39", O = new l("@firebase/firestore");
73
+ var P = "10.3.0-canary.60e4a07d2", O = new l("@firebase/firestore");
74
74
 
75
75
  /**
76
76
  * @license
@@ -4306,7 +4306,7 @@ function(t, e, n, r, i, o /* LimitType.First */ , a, u) {
4306
4306
  // aggregate queries. Unlike targets for non-aggregate queries,
4307
4307
  // aggregate query targets do not contain normalized order-bys, they only
4308
4308
  // contain explicit order-bys.
4309
- this.Te = null, this.startAt, this.endAt;
4309
+ this.de = null, this.startAt, this.endAt;
4310
4310
  };
4311
4311
 
4312
4312
  /** Creates a new Query instance with the options provided. */ function Qn(t, e, n, r, i, o, a, u) {
@@ -4777,8 +4777,8 @@ function Er() {
4777
4777
  // PORTING NOTE: Since JavaScript's integer arithmetic is limited to 53 bit
4778
4778
  // precision and resolves overflows by reducing precision, we do not
4779
4779
  // manually cap overflows at 2^63.
4780
- var n = Ar(t, e), r = Vr(n) + Vr(t.de);
4781
- return Ze(n) && Ze(t.de) ? Sr(r) : Tr(t.serializer, r);
4780
+ var n = Ar(t, e), r = Vr(n) + Vr(t.Te);
4781
+ return Ze(n) && Ze(t.Te) ? Sr(r) : Tr(t.serializer, r);
4782
4782
  }(t, e);
4783
4783
  }
4784
4784
 
@@ -4877,7 +4877,7 @@ function Fr(t, e) {
4877
4877
  */ var Mr = /** @class */ function(e) {
4878
4878
  function n(t, n) {
4879
4879
  var r = this;
4880
- return (r = e.call(this) || this).serializer = t, r.de = n, r;
4880
+ return (r = e.call(this) || this).serializer = t, r.Te = n, r;
4881
4881
  }
4882
4882
  return t(n, e), n;
4883
4883
  }(Cr);
@@ -5133,7 +5133,7 @@ function Hr(t, e) {
5133
5133
  return void 0 === t && void 0 === e || !(!t || !e) && ot(t, e, (function(t, e) {
5134
5134
  return function(t, e) {
5135
5135
  return t.field.isEqual(e.field) && function(t, e) {
5136
- return t instanceof Pr && e instanceof Pr || t instanceof Rr && e instanceof Rr ? ot(t.elements, e.elements, Ke) : t instanceof Mr && e instanceof Mr ? Ke(t.de, e.de) : t instanceof kr && e instanceof kr;
5136
+ return t instanceof Pr && e instanceof Pr || t instanceof Rr && e instanceof Rr ? ot(t.elements, e.elements, Ke) : t instanceof Mr && e instanceof Mr ? Ke(t.Te, e.Te) : t instanceof kr && e instanceof kr;
5137
5137
  }(t.transform, e.transform);
5138
5138
  }(t, e);
5139
5139
  }));
@@ -6336,7 +6336,7 @@ function Qi(t, e) {
6336
6336
  };
6337
6337
  if (n instanceof Mr) return {
6338
6338
  fieldPath: e.field.canonicalString(),
6339
- increment: n.de
6339
+ increment: n.Te
6340
6340
  };
6341
6341
  throw U();
6342
6342
  }(0, t);
@@ -7106,12 +7106,12 @@ function wo(t, e, n, r) {
7106
7106
  // ["bar", [2, "foo"]] -> (STRING, "bar", TERM, ARRAY, NUMBER, 2, STRING, "foo", TERM, TERM, TERM)
7107
7107
  // ["bar", [2, truncated("foo")]] -> (STRING, "bar", TERM, ARRAY, NUMBER, 2, STRING, "foo", TRUNC)
7108
7108
  // ["bar", truncated(["foo"])] -> (STRING, "bar", TERM, ARRAY. STRING, "foo", TERM, TRUNC)
7109
- /** Writes an index value. */ return t.prototype.Tt = function(t, e) {
7110
- this.dt(t, e),
7109
+ /** Writes an index value. */ return t.prototype.dt = function(t, e) {
7110
+ this.Tt(t, e),
7111
7111
  // Write separator to split index values
7112
7112
  // (see go/firestore-storage-format#encodings).
7113
7113
  e.Et();
7114
- }, t.prototype.dt = function(t, e) {
7114
+ }, t.prototype.Tt = function(t, e) {
7115
7115
  if ("nullValue" in t) this.At(e, 5); else if ("booleanValue" in t) this.At(e, 10),
7116
7116
  e.Rt(t.booleanValue ? 1 : 0); else if ("integerValue" in t) this.At(e, 15), e.Rt(Re(t.integerValue)); else if ("doubleValue" in t) {
7117
7117
  var n = Re(t.doubleValue);
@@ -7137,14 +7137,14 @@ function wo(t, e, n, r) {
7137
7137
  this.At(e, 55);
7138
7138
  for (var r = 0, i = Object.keys(n); r < i.length; r++) {
7139
7139
  var o = i[r];
7140
- this.ft(o, e), this.dt(n[o], e);
7140
+ this.ft(o, e), this.Tt(n[o], e);
7141
7141
  }
7142
7142
  }, t.prototype.bt = function(t, e) {
7143
7143
  var n = t.values || [];
7144
7144
  this.At(e, 50);
7145
7145
  for (var r = 0, i = n; r < i.length; r++) {
7146
7146
  var o = i[r];
7147
- this.dt(o, e);
7147
+ this.Tt(o, e);
7148
7148
  }
7149
7149
  }, t.prototype.wt = function(t, e) {
7150
7150
  var n = this;
@@ -7753,6 +7753,9 @@ var jo = /** @class */ function() {
7753
7753
  }, t.prototype.deleteFieldIndex = function(t, e) {
7754
7754
  // Field indices are not supported with memory persistence.
7755
7755
  return Dt.resolve();
7756
+ }, t.prototype.deleteAllFieldIndexes = function(t) {
7757
+ // Field indices are not supported with memory persistence.
7758
+ return Dt.resolve();
7756
7759
  }, t.prototype.createTargetIndexes = function(t, e) {
7757
7760
  // Field indices are not supported with memory persistence.
7758
7761
  return Dt.resolve();
@@ -7886,6 +7889,13 @@ var jo = /** @class */ function() {
7886
7889
  /*lowerOpen=*/ !1,
7887
7890
  /*upperOpen=*/ !0));
7888
7891
  }));
7892
+ }, t.prototype.deleteAllFieldIndexes = function(t) {
7893
+ var e = Jo(t), n = Xo(t), r = Zo(t);
7894
+ return e.J().next((function() {
7895
+ return n.J();
7896
+ })).next((function() {
7897
+ return r.J();
7898
+ }));
7889
7899
  }, t.prototype.createTargetIndexes = function(t, e) {
7890
7900
  var n = this;
7891
7901
  return Dt.forEach(this.ln(e), (function(e) {
@@ -7963,7 +7973,7 @@ var jo = /** @class */ function() {
7963
7973
  n.push(u.value), r && (r = u.inclusive);
7964
7974
  }
7965
7975
  return new dn(n, r);
7966
- }(o, i), h = n.Pn(i, o, c), f = n.Pn(i, o, l), d = n.In(i, o, s), p = n.Tn(i.indexId, u, h, c.inclusive, f, l.inclusive, d);
7976
+ }(o, i), h = n.Pn(i, o, c), f = n.Pn(i, o, l), d = n.In(i, o, s), p = n.dn(i.indexId, u, h, c.inclusive, f, l.inclusive, d);
7967
7977
  return Dt.forEach(p, (function(n) {
7968
7978
  return r.H(n, e.limit).next((function(e) {
7969
7979
  e.forEach((function(e) {
@@ -7988,9 +7998,9 @@ var jo = /** @class */ function() {
7988
7998
  * Constructs a key range query on `DbIndexEntryStore` that unions all
7989
7999
  * bounds.
7990
8000
  */
7991
- t.prototype.Tn = function(t, e, n, r, i, o, a) {
8001
+ t.prototype.dn = function(t, e, n, r, i, o, a) {
7992
8002
  for (var u = this, s = (null != e ? e.length : 1) * Math.max(n.length, i.length), c = s / (null != e ? e.length : 1), l = [], h = function(s) {
7993
- var h = e ? f.dn(e[s / c]) : Wo, d = f.En(t, h, n[s % c], r), p = f.An(t, h, i[s % c], o), v = a.map((function(e) {
8003
+ var h = e ? f.Tn(e[s / c]) : Wo, d = f.En(t, h, n[s % c], r), p = f.An(t, h, i[s % c], o), v = a.map((function(e) {
7994
8004
  return u.En(t, h, e,
7995
8005
  /* inclusive= */ !0);
7996
8006
  }));
@@ -8065,13 +8075,13 @@ var jo = /** @class */ function() {
8065
8075
  var o = i[r], a = e.data.field(o.fieldPath);
8066
8076
  if (null == a) return null;
8067
8077
  var u = n.Yt(o.kind);
8068
- So.Ct.Tt(a, u);
8078
+ So.Ct.dt(a, u);
8069
8079
  }
8070
8080
  return n.zt();
8071
8081
  },
8072
- /** Encodes a single value to the ascending index format. */ t.prototype.dn = function(t) {
8082
+ /** Encodes a single value to the ascending index format. */ t.prototype.Tn = function(t) {
8073
8083
  var e = new ko;
8074
- return So.Ct.Tt(t, e.Yt(0 /* IndexKind.ASCENDING */)), e.zt();
8084
+ return So.Ct.dt(t, e.Yt(0 /* IndexKind.ASCENDING */)), e.zt();
8075
8085
  },
8076
8086
  /**
8077
8087
  * Returns an encoded form of the document key that sorts based on the key
@@ -8079,7 +8089,7 @@ var jo = /** @class */ function() {
8079
8089
  */
8080
8090
  t.prototype.Vn = function(t, e) {
8081
8091
  var n = new ko;
8082
- return So.Ct.Tt(Je(this.databaseId, e), n.Yt(function(t) {
8092
+ return So.Ct.dt(Je(this.databaseId, e), n.Yt(function(t) {
8083
8093
  var e = mt(t);
8084
8094
  return 0 === e.length ? 0 /* IndexKind.ASCENDING */ : e[e.length - 1].kind;
8085
8095
  }(t))), n.zt();
@@ -8096,7 +8106,7 @@ var jo = /** @class */ function() {
8096
8106
  var h = l[c];
8097
8107
  if (this.mn(e, u.fieldPath) && $e(s)) r = this.fn(r, u, s); else {
8098
8108
  var f = h.Yt(u.kind);
8099
- So.Ct.Tt(s, f);
8109
+ So.Ct.dt(s, f);
8100
8110
  }
8101
8111
  }
8102
8112
  return this.gn(r);
@@ -8122,7 +8132,7 @@ var jo = /** @class */ function() {
8122
8132
  t.prototype.fn = function(t, e, n) {
8123
8133
  for (var i = r([], t, !0), o = [], a = 0, u = n.arrayValue.values || []; a < u.length; a++) for (var s = u[a], c = 0, l = i; c < l.length; c++) {
8124
8134
  var h = l[c], f = new ko;
8125
- f.seed(h.zt()), So.Ct.Tt(s, f.Yt(e.kind)), o.push(f);
8135
+ f.seed(h.zt()), So.Ct.dt(s, f.Yt(e.kind)), o.push(f);
8126
8136
  }
8127
8137
  return o;
8128
8138
  }, t.prototype.mn = function(t, e) {
@@ -8211,7 +8221,7 @@ var jo = /** @class */ function() {
8211
8221
  var o = t.data.field(i.fieldPath);
8212
8222
  if ($e(o)) for (var a = 0, u = o.arrayValue.values || []; a < u.length; a++) {
8213
8223
  var s = u[a];
8214
- n = n.add(new Po(e.indexId, t.key, this.dn(s), r));
8224
+ n = n.add(new Po(e.indexId, t.key, this.Tn(s), r));
8215
8225
  }
8216
8226
  } else n = n.add(new Po(e.indexId, t.key, Wo, r));
8217
8227
  return n;
@@ -10190,9 +10200,9 @@ e) {
10190
10200
  }(), Ra = /** @class */ function() {
10191
10201
  function t() {
10192
10202
  // A set of outstanding references to a document sorted by key.
10193
- this.Ir = new Se(Fa.Tr),
10203
+ this.Ir = new Se(Fa.dr),
10194
10204
  // A set of outstanding references to a document sorted by target id.
10195
- this.dr = new Se(Fa.Er)
10205
+ this.Tr = new Se(Fa.Er)
10196
10206
  /** Returns true if the reference set contains no references. */;
10197
10207
  }
10198
10208
  return t.prototype.isEmpty = function() {
@@ -10200,7 +10210,7 @@ e) {
10200
10210
  },
10201
10211
  /** Adds a reference to the given document key for the given ID. */ t.prototype.addReference = function(t, e) {
10202
10212
  var n = new Fa(t, e);
10203
- this.Ir = this.Ir.add(n), this.dr = this.dr.add(n);
10213
+ this.Ir = this.Ir.add(n), this.Tr = this.Tr.add(n);
10204
10214
  },
10205
10215
  /** Add references to the given document keys for the given ID. */ t.prototype.Ar = function(t, e) {
10206
10216
  var n = this;
@@ -10226,7 +10236,7 @@ e) {
10226
10236
  */
10227
10237
  t.prototype.mr = function(t) {
10228
10238
  var e = this, n = new dt(new lt([])), r = new Fa(n, t), i = new Fa(n, t + 1), o = [];
10229
- return this.dr.forEachInRange([ r, i ], (function(t) {
10239
+ return this.Tr.forEachInRange([ r, i ], (function(t) {
10230
10240
  e.Rr(t), o.push(t.key);
10231
10241
  })), o;
10232
10242
  }, t.prototype.gr = function() {
@@ -10235,10 +10245,10 @@ e) {
10235
10245
  return t.Rr(e);
10236
10246
  }));
10237
10247
  }, t.prototype.Rr = function(t) {
10238
- this.Ir = this.Ir.delete(t), this.dr = this.dr.delete(t);
10248
+ this.Ir = this.Ir.delete(t), this.Tr = this.Tr.delete(t);
10239
10249
  }, t.prototype.pr = function(t) {
10240
10250
  var e = new dt(new lt([])), n = new Fa(e, t), r = new Fa(e, t + 1), i = Ir();
10241
- return this.dr.forEachInRange([ n, r ], (function(t) {
10251
+ return this.Tr.forEachInRange([ n, r ], (function(t) {
10242
10252
  i = i.add(t.key);
10243
10253
  })), i;
10244
10254
  }, t.prototype.containsKey = function(t) {
@@ -10250,7 +10260,7 @@ e) {
10250
10260
  this.key = t, this.yr = e
10251
10261
  /** Compare by key then by ID */;
10252
10262
  }
10253
- return t.Tr = function(t, e) {
10263
+ return t.dr = function(t, e) {
10254
10264
  return dt.comparator(t.key, e.key) || it(t.yr, e.yr);
10255
10265
  },
10256
10266
  /** Compare by ID then by key */ t.Er = function(t, e) {
@@ -10267,7 +10277,7 @@ e) {
10267
10277
  /** Next value to use when assigning sequential IDs to each mutation batch. */
10268
10278
  this.wr = 1,
10269
10279
  /** An ordered mapping between documents and the mutations batch IDs. */
10270
- this.Sr = new Se(Fa.Tr);
10280
+ this.Sr = new Se(Fa.dr);
10271
10281
  }
10272
10282
  return t.prototype.checkEmpty = function(t) {
10273
10283
  return Dt.resolve(0 === this.mutationQueue.length);
@@ -11101,11 +11111,11 @@ var Qa = "Failed to obtain exclusive access to the persistence layer. To allow s
11101
11111
  /** The last time we garbage collected the client metadata object store. */
11102
11112
  this.Ii = Number.NEGATIVE_INFINITY,
11103
11113
  /** A listener to notify on primary state changes. */
11104
- this.Ti = function(t) {
11114
+ this.di = function(t) {
11105
11115
  return Promise.resolve();
11106
11116
  }, !t.C()) throw new j(K.UNIMPLEMENTED, "This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");
11107
- this.referenceDelegate = new wa(this, i), this.di = n + "main", this.serializer = new uo(s),
11108
- this.Ei = new At(this.di, this.ci, new Ka(this.serializer)), this.Kr = new la(this.referenceDelegate, this.serializer),
11117
+ this.referenceDelegate = new wa(this, i), this.Ti = n + "main", this.serializer = new uo(s),
11118
+ this.Ei = new At(this.Ti, this.ci, new Ka(this.serializer)), this.Kr = new la(this.referenceDelegate, this.serializer),
11109
11119
  this.remoteDocumentCache = Ea(this.serializer), this.Ur = new bo, this.window && this.window.localStorage ? this.Ai = this.window.localStorage : (this.Ai = null,
11110
11120
  !1 === l && V("IndexedDbPersistence", "LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."));
11111
11121
  }
@@ -11143,7 +11153,7 @@ var Qa = "Failed to obtain exclusive access to the persistence layer. To allow s
11143
11153
  */
11144
11154
  t.prototype.gi = function(t) {
11145
11155
  var r = this;
11146
- return this.Ti = function(i) {
11156
+ return this.di = function(i) {
11147
11157
  return e(r, void 0, void 0, (function() {
11148
11158
  return n(this, (function(e) {
11149
11159
  return this.started ? [ 2 /*return*/ , t(i) ] : [ 2 /*return*/ ];
@@ -11221,7 +11231,7 @@ var Qa = "Failed to obtain exclusive access to the persistence layer. To allow s
11221
11231
  }).next((function() {
11222
11232
  if (t.isPrimary) return t.pi(e).next((function(e) {
11223
11233
  e || (t.isPrimary = !1, t._i.enqueueRetryable((function() {
11224
- return t.Ti(!1);
11234
+ return t.di(!1);
11225
11235
  })));
11226
11236
  }));
11227
11237
  })).next((function() {
@@ -11243,7 +11253,7 @@ var Qa = "Failed to obtain exclusive access to the persistence layer. To allow s
11243
11253
  /* isPrimary= */ !1;
11244
11254
  })).then((function(e) {
11245
11255
  t.isPrimary !== e && t._i.enqueueRetryable((function() {
11246
- return t.Ti(e);
11256
+ return t.di(e);
11247
11257
  })), t.isPrimary = e;
11248
11258
  }));
11249
11259
  }, t.prototype.pi = function(t) {
@@ -11457,7 +11467,7 @@ var Qa = "Failed to obtain exclusive access to the persistence layer. To allow s
11457
11467
  })).next((function(e) {
11458
11468
  if (!e) throw V("Failed to obtain primary lease for action '".concat(t, "'.")),
11459
11469
  r.isPrimary = !1, r._i.enqueueRetryable((function() {
11460
- return r.Ti(!1);
11470
+ return r.di(!1);
11461
11471
  })), new j(K.FAILED_PRECONDITION, St);
11462
11472
  return n(i);
11463
11473
  })).next((function(t) {
@@ -12356,7 +12366,7 @@ function du(t, e, n) {
12356
12366
  switch (n.label) {
12357
12367
  case 0:
12358
12368
  for (e = G(t), a = Ir(), u = fr(), s = 0, c = i; s < c.length; s++) l = c[s], h = r.Is(l.metadata.name),
12359
- l.document && (a = a.add(h)), (f = r.Ts(l)).setReadTime(r.ds(l.metadata.readTime)),
12369
+ l.document && (a = a.add(h)), (f = r.ds(l)).setReadTime(r.Ts(l.metadata.readTime)),
12360
12370
  u = u.insert(h, f);
12361
12371
  return d = e._s.newChangeBuffer({
12362
12372
  trackRemovals: !0
@@ -13768,7 +13778,7 @@ function Ru() {
13768
13778
  n.prototype.start = function() {
13769
13779
  this.P_ = !1, this.lastStreamToken = void 0, e.prototype.start.call(this);
13770
13780
  }, n.prototype.s_ = function() {
13771
- this.P_ && this.T_([]);
13781
+ this.P_ && this.d_([]);
13772
13782
  }, n.prototype.u_ = function(t, e) {
13773
13783
  return this.connection.Mo("Write", t, e);
13774
13784
  }, n.prototype.onMessage = function(t) {
@@ -13794,7 +13804,7 @@ function Ru() {
13794
13804
  }(t, e);
13795
13805
  }))) : [];
13796
13806
  }(t.writeResults, t.commitTime), n = Fi(t.commitTime);
13797
- return this.listener.d_(n, e);
13807
+ return this.listener.T_(n, e);
13798
13808
  }
13799
13809
  // The first response is always the handshake response
13800
13810
  return B(!t.writeResults || 0 === t.writeResults.length), this.P_ = !0,
@@ -13811,7 +13821,7 @@ function Ru() {
13811
13821
  var t = {};
13812
13822
  t.database = zi(this.serializer), this.n_(t);
13813
13823
  },
13814
- /** Sends a group of mutations to the Firestore backend to apply. */ n.prototype.T_ = function(t) {
13824
+ /** Sends a group of mutations to the Firestore backend to apply. */ n.prototype.d_ = function(t) {
13815
13825
  var e = this, n = {
13816
13826
  streamToken: this.lastStreamToken,
13817
13827
  writes: t.map((function(t) {
@@ -14444,7 +14454,7 @@ function os(t) {
14444
14454
  function(t, e) {
14445
14455
  t.C_.push(e);
14446
14456
  var n = vs(t);
14447
- n.Yo() && n.I_ && n.T_(e.mutations);
14457
+ n.Yo() && n.I_ && n.d_(e.mutations);
14448
14458
  }(e, o), [ 3 /*break*/ , 6 ]);
14449
14459
 
14450
14460
  case 4:
@@ -14484,7 +14494,7 @@ function cs(t) {
14484
14494
  var e, r, i, o;
14485
14495
  return n(this, (function(n) {
14486
14496
  // Send the write pipeline now that the stream is established.
14487
- for (e = vs(t), r = 0, i = t.C_; r < i.length; r++) o = i[r], e.T_(o.mutations);
14497
+ for (e = vs(t), r = 0, i = t.C_; r < i.length; r++) o = i[r], e.d_(o.mutations);
14488
14498
  return [ 2 /*return*/ ];
14489
14499
  }));
14490
14500
  }));
@@ -14690,7 +14700,7 @@ function vs(t) {
14690
14700
  Io: ss.bind(null, t),
14691
14701
  Eo: hs.bind(null, t),
14692
14702
  E_: cs.bind(null, t),
14693
- d_: ls.bind(null, t)
14703
+ T_: ls.bind(null, t)
14694
14704
  }), t.M_.push((function(i) {
14695
14705
  return e(r, void 0, void 0, (function() {
14696
14706
  return n(this, (function(e) {
@@ -15170,9 +15180,9 @@ function Cs(t) {
15170
15180
  /**
15171
15181
  * Converts a BundleDocument to a MutableDocument.
15172
15182
  */
15173
- t.prototype.Ts = function(t) {
15174
- return t.metadata.exists ? ji(this.serializer, t.document, !1) : fn.newNoDocument(this.Is(t.metadata.name), this.ds(t.metadata.readTime));
15175
- }, t.prototype.ds = function(t) {
15183
+ t.prototype.ds = function(t) {
15184
+ return t.metadata.exists ? ji(this.serializer, t.document, !1) : fn.newNoDocument(this.Is(t.metadata.name), this.Ts(t.metadata.readTime));
15185
+ }, t.prototype.Ts = function(t) {
15176
15186
  return Fi(t);
15177
15187
  }, t;
15178
15188
  }(), ks = /** @class */ function() {
@@ -15437,8 +15447,8 @@ function Ps(t) {
15437
15447
  };
15438
15448
  return n(t) - n(e);
15439
15449
  }(t.type, e.type) || r.ua(t.doc, e.doc);
15440
- })), this.Ta(n);
15441
- var a = e ? this.da() : [], u = 0 === this.aa.size && this.current ? 1 /* SyncState.Synced */ : 0 /* SyncState.Local */ , s = u !== this._a;
15450
+ })), this.da(n);
15451
+ var a = e ? this.Ta() : [], u = 0 === this.aa.size && this.current ? 1 /* SyncState.Synced */ : 0 /* SyncState.Local */ , s = u !== this._a;
15442
15452
  return this._a = u, 0 !== o.length || s ? {
15443
15453
  snapshot: new bs(this.query, t.ca, i, o, t.mutatedKeys, 0 /* SyncState.Local */ === u, s,
15444
15454
  /* excludesMetadataChanges= */ !1, !!n && n.resumeToken.approximateByteSize() > 0),
@@ -15481,14 +15491,14 @@ function Ps(t) {
15481
15491
  * Updates syncedDocuments, current, and limbo docs based on the given change.
15482
15492
  * Returns the list of changes to which docs are in limbo.
15483
15493
  */
15484
- t.prototype.Ta = function(t) {
15494
+ t.prototype.da = function(t) {
15485
15495
  var e = this;
15486
15496
  t && (t.addedDocuments.forEach((function(t) {
15487
15497
  return e.oa = e.oa.add(t);
15488
15498
  })), t.modifiedDocuments.forEach((function(t) {})), t.removedDocuments.forEach((function(t) {
15489
15499
  return e.oa = e.oa.delete(t);
15490
15500
  })), this.current = t.current);
15491
- }, t.prototype.da = function() {
15501
+ }, t.prototype.Ta = function() {
15492
15502
  var t = this;
15493
15503
  // We can only determine limbo documents when we're in-sync with the server.
15494
15504
  if (!this.current) return [];
@@ -19549,7 +19559,7 @@ function(t) {
19549
19559
  this.settings = t, this.databaseId = e, this.serializer = n, this.ignoreUndefinedProperties = r,
19550
19560
  // Minor hack: If fieldTransforms is undefined, we assume this is an
19551
19561
  // external call and we need to validate the entire path.
19552
- void 0 === i && this.Tu(), this.fieldTransforms = i || [], this.fieldMask = o || [];
19562
+ void 0 === i && this.du(), this.fieldTransforms = i || [], this.fieldMask = o || [];
19553
19563
  }
19554
19564
  return Object.defineProperty(t.prototype, "path", {
19555
19565
  get: function() {
@@ -19557,9 +19567,9 @@ function(t) {
19557
19567
  },
19558
19568
  enumerable: !1,
19559
19569
  configurable: !0
19560
- }), Object.defineProperty(t.prototype, "du", {
19570
+ }), Object.defineProperty(t.prototype, "Tu", {
19561
19571
  get: function() {
19562
- return this.settings.du;
19572
+ return this.settings.Tu;
19563
19573
  },
19564
19574
  enumerable: !1,
19565
19575
  configurable: !0
@@ -19577,7 +19587,7 @@ function(t) {
19577
19587
  path: n,
19578
19588
  Ru: !1
19579
19589
  });
19580
- return r.Tu(), r;
19590
+ return r.du(), r;
19581
19591
  }, t.prototype.fu = function(t) {
19582
19592
  // TODO(b/34871131): We don't support array paths right now; so make path
19583
19593
  // undefined.
@@ -19594,13 +19604,13 @@ function(t) {
19594
19604
  })) || void 0 !== this.fieldTransforms.find((function(e) {
19595
19605
  return t.isPrefixOf(e.field);
19596
19606
  }));
19597
- }, t.prototype.Tu = function() {
19607
+ }, t.prototype.du = function() {
19598
19608
  // TODO(b/34871131): Remove null check once we have proper paths for fields
19599
19609
  // within arrays.
19600
19610
  if (this.path) for (var t = 0; t < this.path.length; t++) this.Vu(this.path.get(t));
19601
19611
  }, t.prototype.Vu = function(t) {
19602
19612
  if (0 === t.length) throw this.gu("Document fields must not be empty");
19603
- if (Vl(this.du) && Rl.test(t)) throw this.gu('Document fields cannot begin and end with "__"');
19613
+ if (Vl(this.Tu) && Rl.test(t)) throw this.gu('Document fields cannot begin and end with "__"');
19604
19614
  }, t;
19605
19615
  }(), ql = /** @class */ function() {
19606
19616
  function t(t, e, n) {
@@ -19609,7 +19619,7 @@ function(t) {
19609
19619
  }
19610
19620
  return t.prototype.wu = function(t, e, n, r) {
19611
19621
  return void 0 === r && (r = !1), new Ll({
19612
- du: t,
19622
+ Tu: t,
19613
19623
  methodName: e,
19614
19624
  yu: n,
19615
19625
  path: ft.emptyPath(),
@@ -19650,7 +19660,7 @@ var zl = /** @class */ function(e) {
19650
19660
  return null !== e && e.apply(this, arguments) || this;
19651
19661
  }
19652
19662
  return t(n, e), n.prototype._toFieldTransform = function(t) {
19653
- if (2 /* UserDataSource.MergeSet */ !== t.du) throw 1 /* UserDataSource.Update */ === t.du ? t.gu("".concat(this._methodName, "() can only appear at the top level of your update data")) : t.gu("".concat(this._methodName, "() cannot be used with set() unless you pass {merge:true}"));
19663
+ if (2 /* UserDataSource.MergeSet */ !== t.Tu) throw 1 /* UserDataSource.Update */ === t.Tu ? t.gu("".concat(this._methodName, "() can only appear at the top level of your update data")) : t.gu("".concat(this._methodName, "() cannot be used with set() unless you pass {merge:true}"));
19654
19664
  // No transform to add for a delete, but we need to add it to our
19655
19665
  // fieldMask so it gets deleted.
19656
19666
  return t.fieldMask.push(t.path), null;
@@ -19676,7 +19686,7 @@ var zl = /** @class */ function(e) {
19676
19686
  * @param arrayElement - Whether or not the FieldValue has an array.
19677
19687
  */ function Gl(t, e, n) {
19678
19688
  return new Ll({
19679
- du: 3 /* UserDataSource.Argument */ ,
19689
+ Tu: 3 /* UserDataSource.Argument */ ,
19680
19690
  yu: e.settings.yu,
19681
19691
  methodName: t._methodName,
19682
19692
  Ru: n
@@ -19815,7 +19825,7 @@ var Kl = /** @class */ function(e) {
19815
19825
  */
19816
19826
  return function(t, e) {
19817
19827
  // Sentinels are only supported with writes, and not within arrays.
19818
- if (!Vl(e.du)) throw e.gu("".concat(t._methodName, "() can only be used with update() and set()"));
19828
+ if (!Vl(e.Tu)) throw e.gu("".concat(t._methodName, "() can only be used with update() and set()"));
19819
19829
  if (!e.path) throw e.gu("".concat(t._methodName, "() is not currently supported inside arrays"));
19820
19830
  var n = t._toFieldTransform(e);
19821
19831
  n && e.fieldTransforms.push(n);
@@ -19835,7 +19845,7 @@ var Kl = /** @class */ function(e) {
19835
19845
  // the set of values to be included for the IN query) that may directly
19836
19846
  // contain additional arrays (each representing an individual field
19837
19847
  // value), so we disable this validation.
19838
- if (e.settings.Ru && 4 /* UserDataSource.ArrayArgument */ !== e.du) throw e.gu("Nested arrays are not supported");
19848
+ if (e.settings.Ru && 4 /* UserDataSource.ArrayArgument */ !== e.Tu) throw e.gu("Nested arrays are not supported");
19839
19849
  return function(t, e) {
19840
19850
  for (var n = [], r = 0, i = 0, o = t; i < o.length; i++) {
19841
19851
  var a = Jl(o[i], e.fu(r));
@@ -21564,9 +21574,9 @@ function sf(t, r) {
21564
21574
  };
21565
21575
  }(o.serializer, function(t) {
21566
21576
  var e = G(t);
21567
- return e.Te || (
21577
+ return e.de || (
21568
21578
  // Do not include implicit order-bys for aggregate queries.
21569
- e.Te = tr(e, t.explicitOrderBy)), e.Te;
21579
+ e.de = tr(e, t.explicitOrderBy)), e.de;
21570
21580
  }(r), i), u = a.request, s = a.m_, c = u.parent, o.connection.So || delete u.parent,
21571
21581
  [ 4 /*yield*/ , o.Fo("RunAggregationQuery", c, u, /*expectedResponseCount=*/ 1) ];
21572
21582
 
@@ -22268,12 +22278,12 @@ function(t) {
22268
22278
  */ function qf(t) {
22269
22279
  var e;
22270
22280
  t = Hc(t, hl);
22271
- var n = jf.get(t);
22281
+ var n = Qf.get(t);
22272
22282
  if (n) return n;
22273
22283
  var r = pl(t);
22274
22284
  if ("persistent" !== (null === (e = r._uninitializedComponentsProvider) || void 0 === e ? void 0 : e._offlineKind)) return null;
22275
22285
  var i = new Lf(r);
22276
- return jf.set(t, i), i
22286
+ return Qf.set(t, i), i
22277
22287
  /**
22278
22288
  * Enables SDK to create persistent cache indexes automatically for local query
22279
22289
  * execution when SDK believes cache indexes can help improves performance.
@@ -22286,7 +22296,7 @@ function(t) {
22286
22296
  }
22287
22297
 
22288
22298
  function Uf(t) {
22289
- zf(t, !0);
22299
+ Gf(t, !0);
22290
22300
  }
22291
22301
 
22292
22302
  /**
@@ -22297,10 +22307,47 @@ function Uf(t) {
22297
22307
  * TODO(CSI) Remove @internal to make the API publicly available.
22298
22308
  * @internal
22299
22309
  */ function Bf(t) {
22300
- zf(t, !1);
22310
+ Gf(t, !1);
22311
+ }
22312
+
22313
+ /**
22314
+ * Removes all persistent cache indexes.
22315
+ *
22316
+ * Please note this function will also deletes indexes generated by
22317
+ * `setIndexConfiguration()`, which is deprecated.
22318
+ *
22319
+ * TODO(CSI) Remove @internal to make the API publicly available.
22320
+ * @internal
22321
+ */ function zf(t) {
22322
+ t._client.verifyNotTerminated(), function(t) {
22323
+ var r = this;
22324
+ return t.asyncQueue.enqueue((function() {
22325
+ return e(r, void 0, void 0, (function() {
22326
+ var e;
22327
+ return n(this, (function(n) {
22328
+ switch (n.label) {
22329
+ case 0:
22330
+ return e = function(t) {
22331
+ var e = G(t), n = e.indexManager;
22332
+ return e.persistence.runTransaction("Delete All Indexes", "readwrite", (function(t) {
22333
+ return n.deleteAllFieldIndexes(t);
22334
+ }));
22335
+ }, [ 4 /*yield*/ , Rc(t) ];
22336
+
22337
+ case 1:
22338
+ return [ 2 /*return*/ , e.apply(void 0, [ n.sent() ]) ];
22339
+ }
22340
+ }));
22341
+ }));
22342
+ }));
22343
+ }(t._client).then((function(t) {
22344
+ return M("deleting all persistent cache indexes succeeded");
22345
+ })).catch((function(t) {
22346
+ return L("deleting all persistent cache indexes failed", t);
22347
+ }));
22301
22348
  }
22302
22349
 
22303
- function zf(t, r) {
22350
+ function Gf(t, r) {
22304
22351
  t._client.verifyNotTerminated(), function(t, r) {
22305
22352
  var i = this;
22306
22353
  return t.asyncQueue.enqueue((function() {
@@ -22333,7 +22380,7 @@ function zf(t, r) {
22333
22380
  * Use a `WeakMap` so that the mapping will be automatically dropped when the
22334
22381
  * `Firestore` instance is garbage collected. This emulates a private member
22335
22382
  * as described in https://goo.gle/454yvug.
22336
- */ var Gf, Kf, jf = new WeakMap, Qf = /** @class */ function() {
22383
+ */ var Kf, jf, Qf = new WeakMap, Wf = /** @class */ function() {
22337
22384
  function t() {
22338
22385
  throw new Error("instances of this class should not be created");
22339
22386
  }
@@ -22351,18 +22398,18 @@ function zf(t, r) {
22351
22398
  * the first invocation of the returned function does anything; all subsequent
22352
22399
  * invocations do nothing.
22353
22400
  */ return t.onExistenceFilterMismatch = function(t) {
22354
- return Wf.instance.onExistenceFilterMismatch(t);
22401
+ return Hf.instance.onExistenceFilterMismatch(t);
22355
22402
  }, t;
22356
- }(), Wf = /** @class */ function() {
22403
+ }(), Hf = /** @class */ function() {
22357
22404
  function t() {
22358
22405
  this.Du = new Map;
22359
22406
  }
22360
22407
  return Object.defineProperty(t, "instance", {
22361
22408
  get: function() {
22362
- return Hf || function(t) {
22409
+ return Yf || function(t) {
22363
22410
  if (hi) throw new Error("a TestingHooksSpi instance is already set");
22364
22411
  hi = t;
22365
- }(Hf = new t), Hf;
22412
+ }(Yf = new t), Yf;
22366
22413
  },
22367
22414
  enumerable: !1,
22368
22415
  configurable: !0
@@ -22376,7 +22423,7 @@ function zf(t, r) {
22376
22423
  return n.delete(e);
22377
22424
  };
22378
22425
  }, t;
22379
- }(), Hf = null;
22426
+ }(), Yf = null;
22380
22427
 
22381
22428
  /**
22382
22429
  * @license
@@ -22400,7 +22447,7 @@ function zf(t, r) {
22400
22447
  * public API surface.
22401
22448
  *
22402
22449
  * @internal
22403
- */ void 0 === Kf && (Kf = !0), function(t) {
22450
+ */ void 0 === jf && (jf = !0), function(t) {
22404
22451
  P = t;
22405
22452
  }(i), o(new c("firestore", (function(t, e) {
22406
22453
  var n = e.instanceIdentifier, r = e.options, i = t.getProvider("app").getImmediate(), o = new hl(new X(t.getProvider("auth-internal")), new tt(t.getProvider("app-check-internal")), function(t, e) {
@@ -22408,11 +22455,11 @@ function zf(t, r) {
22408
22455
  return new Ue(t.options.projectId, e);
22409
22456
  }(i, n), i);
22410
22457
  return r = Object.assign({
22411
- useFetchStreams: Kf
22458
+ useFetchStreams: jf
22412
22459
  }, r), o._setSettings(r), o;
22413
- }), "PUBLIC").setMultipleInstances(!0)), a(A, "4.1.2-canary.5f6304d39", Gf),
22460
+ }), "PUBLIC").setMultipleInstances(!0)), a(A, "4.1.2-canary.60e4a07d2", Kf),
22414
22461
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
22415
- a(A, "4.1.2-canary.5f6304d39", "esm5");
22462
+ a(A, "4.1.2-canary.60e4a07d2", "esm5");
22416
22463
 
22417
- export { Fh as AbstractUserDataWriter, Cl as AggregateField, Dl as AggregateQuerySnapshot, Nl as Bytes, ll as CACHE_SIZE_UNLIMITED, el as CollectionReference, tl as DocumentReference, Kh as DocumentSnapshot, Al as FieldPath, Pl as FieldValue, hl as Firestore, j as FirestoreError, Ol as GeoPoint, cl as LoadBundleTask, Lf as PersistentCacheIndexManager, $c as Query, vh as QueryCompositeFilterConstraint, hh as QueryConstraint, jh as QueryDocumentSnapshot, xh as QueryEndAtConstraint, dh as QueryFieldFilterConstraint, bh as QueryLimitConstraint, gh as QueryOrderByConstraint, Qh as QuerySnapshot, Eh as QueryStartAtConstraint, Gh as SnapshotMetadata, ut as Timestamp, Df as Transaction, xf as WriteBatch, ke as _ByteString, Ue as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, H as _EmptyAuthCredentialsProvider, ft as _FieldPath, Qf as _TestingHooks, Hc as _cast, z as _debugAssert, Ae as _isBase64Available, L as _logWarn, Kc as _validateIsNotUsedTogether, af as addDoc, Bh as aggregateFieldEqual, zh as aggregateQuerySnapshotEqual, yh as and, Of as arrayRemove, Pf as arrayUnion, qh as average, wl as clearIndexedDbPersistence, nl as collection, rl as collectionGroup, Zc as connectFirestoreEmulator, Uh as count, of as deleteDoc, Af as deleteField, _l as disableNetwork, Bf as disablePersistentCacheIndexAutoCreation, il as doc, kl as documentId, ml as enableIndexedDbPersistence, yl as enableMultiTabIndexedDbPersistence, Il as enableNetwork, Uf as enablePersistentCacheIndexAutoCreation, Dh as endAt, Ch as endBefore, pl as ensureFirestoreConfigured, cf as executeWrite, ff as getAggregateFromServer, hf as getCountFromServer, Yh as getDoc, Jh as getDocFromCache, Zh as getDocFromServer, $h as getDocs, tf as getDocsFromCache, ef as getDocsFromServer, dl as getFirestore, qf as getPersistentCacheIndexManager, Rf as increment, fl as initializeFirestore, Ih as limit, _h as limitToLast, Tl as loadBundle, yf as memoryEagerGarbageCollector, wf as memoryLocalCache, gf as memoryLruGarbageCollector, Sl as namedQuery, uf as onSnapshot, sf as onSnapshotsInSync, mh as or, wh as orderBy, bf as persistentLocalCache, Tf as persistentMultipleTabManager, Ef as persistentSingleTabManager, fh as query, al as queryEqual, ol as refEqual, Nf as runTransaction, kf as serverTimestamp, nf as setDoc, Mf as setIndexConfiguration, F as setLogLevel, Hh as snapshotEqual, Sh as startAfter, Th as startAt, Lh as sum, El as terminate, rf as updateDoc, bl as waitForPendingWrites, ph as where, Ff as writeBatch };
22464
+ export { Fh as AbstractUserDataWriter, Cl as AggregateField, Dl as AggregateQuerySnapshot, Nl as Bytes, ll as CACHE_SIZE_UNLIMITED, el as CollectionReference, tl as DocumentReference, Kh as DocumentSnapshot, Al as FieldPath, Pl as FieldValue, hl as Firestore, j as FirestoreError, Ol as GeoPoint, cl as LoadBundleTask, Lf as PersistentCacheIndexManager, $c as Query, vh as QueryCompositeFilterConstraint, hh as QueryConstraint, jh as QueryDocumentSnapshot, xh as QueryEndAtConstraint, dh as QueryFieldFilterConstraint, bh as QueryLimitConstraint, gh as QueryOrderByConstraint, Qh as QuerySnapshot, Eh as QueryStartAtConstraint, Gh as SnapshotMetadata, ut as Timestamp, Df as Transaction, xf as WriteBatch, ke as _ByteString, Ue as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, H as _EmptyAuthCredentialsProvider, ft as _FieldPath, Wf as _TestingHooks, Hc as _cast, z as _debugAssert, Ae as _isBase64Available, L as _logWarn, Kc as _validateIsNotUsedTogether, af as addDoc, Bh as aggregateFieldEqual, zh as aggregateQuerySnapshotEqual, yh as and, Of as arrayRemove, Pf as arrayUnion, qh as average, wl as clearIndexedDbPersistence, nl as collection, rl as collectionGroup, Zc as connectFirestoreEmulator, Uh as count, zf as deleteAllPersistentCacheIndexes, of as deleteDoc, Af as deleteField, _l as disableNetwork, Bf as disablePersistentCacheIndexAutoCreation, il as doc, kl as documentId, ml as enableIndexedDbPersistence, yl as enableMultiTabIndexedDbPersistence, Il as enableNetwork, Uf as enablePersistentCacheIndexAutoCreation, Dh as endAt, Ch as endBefore, pl as ensureFirestoreConfigured, cf as executeWrite, ff as getAggregateFromServer, hf as getCountFromServer, Yh as getDoc, Jh as getDocFromCache, Zh as getDocFromServer, $h as getDocs, tf as getDocsFromCache, ef as getDocsFromServer, dl as getFirestore, qf as getPersistentCacheIndexManager, Rf as increment, fl as initializeFirestore, Ih as limit, _h as limitToLast, Tl as loadBundle, yf as memoryEagerGarbageCollector, wf as memoryLocalCache, gf as memoryLruGarbageCollector, Sl as namedQuery, uf as onSnapshot, sf as onSnapshotsInSync, mh as or, wh as orderBy, bf as persistentLocalCache, Tf as persistentMultipleTabManager, Ef as persistentSingleTabManager, fh as query, al as queryEqual, ol as refEqual, Nf as runTransaction, kf as serverTimestamp, nf as setDoc, Mf as setIndexConfiguration, F as setLogLevel, Hh as snapshotEqual, Sh as startAfter, Th as startAt, Lh as sum, El as terminate, rf as updateDoc, bl as waitForPendingWrites, ph as where, Ff as writeBatch };
22418
22465
  //# sourceMappingURL=index.esm5.js.map