@firebase/firestore 3.9.0-canary.ae22c61de → 3.9.0-canary.ce79f7fe2

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 (35) hide show
  1. package/dist/firestore/src/api/credentials.d.ts +7 -15
  2. package/dist/index.cjs.js +1583 -1584
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.esm2017.js +1583 -1584
  5. package/dist/index.esm2017.js.map +1 -1
  6. package/dist/index.esm5.js +2278 -2279
  7. package/dist/index.esm5.js.map +1 -1
  8. package/dist/index.node.cjs.js +12 -17
  9. package/dist/index.node.cjs.js.map +1 -1
  10. package/dist/index.node.mjs +12 -17
  11. package/dist/index.node.mjs.map +1 -1
  12. package/dist/index.rn.js +1583 -1584
  13. package/dist/index.rn.js.map +1 -1
  14. package/dist/internal.d.ts +1 -2
  15. package/dist/lite/firestore/src/api/credentials.d.ts +7 -15
  16. package/dist/lite/index.browser.esm2017.js +203 -204
  17. package/dist/lite/index.browser.esm2017.js.map +1 -1
  18. package/dist/lite/index.browser.esm5.js +442 -443
  19. package/dist/lite/index.browser.esm5.js.map +1 -1
  20. package/dist/lite/index.cjs.js +203 -204
  21. package/dist/lite/index.cjs.js.map +1 -1
  22. package/dist/lite/index.node.cjs.js +12 -17
  23. package/dist/lite/index.node.cjs.js.map +1 -1
  24. package/dist/lite/index.node.mjs +12 -17
  25. package/dist/lite/index.node.mjs.map +1 -1
  26. package/dist/lite/index.rn.esm2017.js +203 -204
  27. package/dist/lite/index.rn.esm2017.js.map +1 -1
  28. package/dist/lite/internal.d.ts +1 -2
  29. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +11 -11
  30. package/dist/lite/packages/firestore/src/api/credentials.d.ts +7 -15
  31. package/dist/lite/private.d.ts +1 -2
  32. package/dist/packages/firestore/dist/index.esm2017.d.ts +268 -268
  33. package/dist/packages/firestore/src/api/credentials.d.ts +7 -15
  34. package/dist/private.d.ts +1 -2
  35. package/package.json +9 -9
@@ -1793,16 +1793,16 @@ declare function nf(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1793
1793
  * See the License for the specific language governing permissions and
1794
1794
  * limitations under the License.
1795
1795
  */ declare class oh {
1796
- kc: Promise<void>;
1797
- $c: any[];
1798
- Oc: boolean;
1799
- Mc: any[];
1800
- Fc: any;
1796
+ Nc: Promise<void>;
1797
+ kc: any[];
1798
+ $c: boolean;
1799
+ Oc: any[];
1800
+ Mc: any;
1801
+ Fc: boolean;
1801
1802
  Bc: boolean;
1802
- Lc: boolean;
1803
- qc: any[];
1804
- xo: Pu;
1805
- Uc: () => void;
1803
+ Lc: any[];
1804
+ Co: Pu;
1805
+ qc: () => void;
1806
1806
  get isShuttingDown(): boolean;
1807
1807
  /**
1808
1808
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1815,30 +1815,30 @@ declare function nf(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1815
1815
  /**
1816
1816
  * Runs the next operation from the retryable queue. If the operation fails,
1817
1817
  * reschedules with backoff.
1818
- */ Qc(): Promise<void>;
1819
- Gc(t: any): Promise<any>;
1818
+ */ Gc(): Promise<void>;
1819
+ Kc(t: any): Promise<any>;
1820
1820
  enqueueAfterDelay(t: any, e: any, n: any): ac;
1821
- Kc(): void;
1821
+ Uc(): void;
1822
1822
  verifyOperationInProgress(): void;
1823
1823
  /**
1824
1824
  * Waits until all currently queued tasks are finished executing. Delayed
1825
1825
  * operations are not run.
1826
- */ jc(): Promise<void>;
1826
+ */ zc(): Promise<void>;
1827
1827
  /**
1828
1828
  * For Tests: Determine if a delayed operation with a particular TimerId
1829
1829
  * exists.
1830
- */ Wc(t: any): boolean;
1830
+ */ jc(t: any): boolean;
1831
1831
  /**
1832
1832
  * For Tests: Runs some or all delayed operations early.
1833
1833
  *
1834
1834
  * @param lastTimerId - Delayed operations up to and including this TimerId
1835
1835
  * will be drained. Pass TimerId.All to run all delayed operations.
1836
1836
  * @returns a Promise that resolves once all operations have been run.
1837
- */ Hc(t: any): Promise<void>;
1837
+ */ Wc(t: any): Promise<void>;
1838
1838
  /**
1839
1839
  * For Tests: Skip all subsequent delays for a timer id.
1840
- */ Jc(t: any): void;
1841
- /** Called once a DelayedOperation is run or canceled. */ zc(t: any): void;
1840
+ */ Hc(t: any): void;
1841
+ /** Called once a DelayedOperation is run or canceled. */ Qc(t: any): void;
1842
1842
  }
1843
1843
  import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1844
1844
  /**
@@ -1899,7 +1899,7 @@ declare class dn extends fn {
1899
1899
  databaseId: any;
1900
1900
  ignoreUndefinedProperties: any;
1901
1901
  serializer: any;
1902
- /** Creates a new top-level parse context. */ ca(t: any, e: any, n: any, s?: boolean): Mh;
1902
+ /** Creates a new top-level parse context. */ ua(t: any, e: any, n: any, s?: boolean): Mh;
1903
1903
  }
1904
1904
  declare class W {
1905
1905
  constructor(t: any);
@@ -1949,13 +1949,13 @@ declare class it {
1949
1949
  }
1950
1950
  declare class Qh extends Ch {
1951
1951
  constructor(t: any, e: any);
1952
- aa: any;
1952
+ ca: any;
1953
1953
  _toFieldTransform(t: any): xs;
1954
1954
  isEqual(t: any): boolean;
1955
1955
  }
1956
1956
  declare class Gh extends Ch {
1957
1957
  constructor(t: any, e: any);
1958
- aa: any;
1958
+ ca: any;
1959
1959
  _toFieldTransform(t: any): xs;
1960
1960
  isEqual(t: any): boolean;
1961
1961
  }
@@ -1965,7 +1965,7 @@ declare class qh extends Ch {
1965
1965
  }
1966
1966
  declare class zh extends Ch {
1967
1967
  constructor(t: any, e: any);
1968
- ha: any;
1968
+ aa: any;
1969
1969
  _toFieldTransform(t: any): xs;
1970
1970
  isEqual(t: any): boolean;
1971
1971
  }
@@ -2075,15 +2075,15 @@ declare class Ha {
2075
2075
  */
2076
2076
  declare class Pu {
2077
2077
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
2078
- Hs: any;
2078
+ Ws: any;
2079
2079
  timerId: any;
2080
+ _o: number;
2080
2081
  mo: number;
2081
2082
  yo: number;
2082
2083
  po: number;
2083
- Io: number;
2084
- To: any;
2084
+ Io: any;
2085
2085
  /** The last backoff attempt, as epoch milliseconds. */
2086
- Eo: number;
2086
+ To: number;
2087
2087
  /**
2088
2088
  * Resets the backoff delay.
2089
2089
  *
@@ -2094,15 +2094,15 @@ declare class Pu {
2094
2094
  /**
2095
2095
  * Resets the backoff delay to the maximum delay (e.g. for use after a
2096
2096
  * RESOURCE_EXHAUSTED error).
2097
- */ Ao(): void;
2097
+ */ Eo(): void;
2098
2098
  /**
2099
2099
  * Returns a promise that resolves after currentDelayMs, and increases the
2100
2100
  * delay for any subsequent attempts. If there was a pending backoff operation
2101
2101
  * already, it will be canceled.
2102
- */ Ro(t: any): void;
2103
- bo(): void;
2102
+ */ Ao(t: any): void;
2103
+ vo(): void;
2104
2104
  cancel(): void;
2105
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ vo(): number;
2105
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ Ro(): number;
2106
2106
  }
2107
2107
  /**
2108
2108
  * @license
@@ -2222,15 +2222,15 @@ declare class ac {
2222
2222
  fieldTransforms: any;
2223
2223
  fieldMask: any;
2224
2224
  get path(): any;
2225
- get Zc(): any;
2226
- /** Returns a new context with the specified settings overwritten. */ Xc(t: any): Mh;
2227
- ta(t: any): Mh;
2225
+ get Yc(): any;
2226
+ /** Returns a new context with the specified settings overwritten. */ Zc(t: any): Mh;
2227
+ Xc(t: any): Mh;
2228
+ na(t: any): Mh;
2228
2229
  sa(t: any): Mh;
2229
- ia(t: any): Mh;
2230
- ra(t: any): L;
2230
+ ia(t: any): L;
2231
2231
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
2232
- Yc(): void;
2233
- na(t: any): void;
2232
+ Jc(): void;
2233
+ ea(t: any): void;
2234
2234
  }
2235
2235
  /**
2236
2236
  * @license
@@ -2301,7 +2301,7 @@ declare class ha {
2301
2301
  * Provides all components needed for Firestore with IndexedDB persistence.
2302
2302
  */ declare class la extends ha {
2303
2303
  constructor(t: any, e: any, n: any);
2304
- gc: any;
2304
+ mc: any;
2305
2305
  cacheSizeBytes: any;
2306
2306
  forceOwnership: any;
2307
2307
  createGarbageCollectionScheduler(t: any, e: any): co;
@@ -2342,10 +2342,10 @@ declare class Cu extends Cu_base {
2342
2342
  appCheckCredentials: any;
2343
2343
  connection: any;
2344
2344
  serializer: any;
2345
- nu: boolean;
2346
- su(): void;
2347
- /** Invokes the provided RPC with auth and AppCheck tokens. */ ao(t: any, e: any, n: any): Promise<any>;
2348
- /** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ wo(t: any, e: any, n: any, s: any): Promise<any>;
2345
+ eu: boolean;
2346
+ nu(): void;
2347
+ /** Invokes the provided RPC with auth and AppCheck tokens. */ co(t: any, e: any, n: any): Promise<any>;
2348
+ /** Invokes the provided RPC with streamed results with auth and AppCheck tokens. */ fo(t: any, e: any, n: any, s: any): Promise<any>;
2349
2349
  terminate(): void;
2350
2350
  }
2351
2351
  /**
@@ -2386,7 +2386,7 @@ declare class Cu extends Cu_base {
2386
2386
  * purely based on order, and so we can just shift() writes from the front of
2387
2387
  * the writePipeline as we receive responses.
2388
2388
  */
2389
- fu: any[];
2389
+ lu: any[];
2390
2390
  /**
2391
2391
  * A mapping of watched targets that the client cares about tracking and the
2392
2392
  * user has explicitly called a 'listen' for this target.
@@ -2396,12 +2396,12 @@ declare class Cu extends Cu_base {
2396
2396
  * to the server. The targets removed with unlistens are removed eagerly
2397
2397
  * without waiting for confirmation from the listen stream.
2398
2398
  */
2399
- du: Map<any, any>;
2399
+ fu: Map<any, any>;
2400
2400
  /**
2401
2401
  * A set of reasons for why the RemoteStore may be offline. If empty, the
2402
2402
  * RemoteStore may start its network connections.
2403
2403
  */
2404
- wu: Set<any>;
2404
+ du: Set<any>;
2405
2405
  /**
2406
2406
  * Event handlers that get called when the network is disabled or enabled.
2407
2407
  *
@@ -2409,14 +2409,14 @@ declare class Cu extends Cu_base {
2409
2409
  * underlying streams (to support tree-shakeable streams). On Android and iOS,
2410
2410
  * the streams are created during construction of RemoteStore.
2411
2411
  */
2412
- _u: any[];
2413
- mu: any;
2414
- gu: Nu;
2412
+ wu: any[];
2413
+ _u: any;
2414
+ mu: Nu;
2415
2415
  }
2416
2416
  declare class _c {
2417
2417
  queries: ss;
2418
2418
  onlineState: string;
2419
- Ru: Set<any>;
2419
+ Au: Set<any>;
2420
2420
  }
2421
2421
  /**
2422
2422
  * An implementation of `SyncEngine` coordinating with other parts of SDK.
@@ -2438,9 +2438,9 @@ declare class _c {
2438
2438
  sharedClientState: any;
2439
2439
  currentUser: any;
2440
2440
  maxConcurrentLimboResolutions: any;
2441
- sc: {};
2442
- ic: ss;
2443
- rc: Map<any, any>;
2441
+ nc: {};
2442
+ sc: ss;
2443
+ ic: Map<any, any>;
2444
2444
  /**
2445
2445
  * The keys of documents that are in limbo for which we haven't yet started a
2446
2446
  * limbo resolution query. The strings in this set are the result of calling
@@ -2450,23 +2450,23 @@ declare class _c {
2450
2450
  * of arbitrary elements and it also maintains insertion order, providing the
2451
2451
  * desired queue-like FIFO semantics.
2452
2452
  */
2453
- oc: Set<any>;
2453
+ rc: Set<any>;
2454
2454
  /**
2455
2455
  * Keeps track of the target ID for each document that is in limbo with an
2456
2456
  * active target.
2457
2457
  */
2458
- uc: ge;
2458
+ oc: ge;
2459
2459
  /**
2460
2460
  * Keeps track of the information about an active limbo resolution for each
2461
2461
  * active target ID that was started for the purpose of limbo resolution.
2462
2462
  */
2463
- cc: Map<any, any>;
2464
- ac: bo;
2463
+ uc: Map<any, any>;
2464
+ cc: bo;
2465
2465
  /** Stores user completion handlers, indexed by User and BatchId. */
2466
- hc: {};
2466
+ ac: {};
2467
2467
  /** Stores user callbacks waiting for all pending writes to be acknowledged. */
2468
- lc: Map<any, any>;
2469
- fc: eo;
2468
+ hc: Map<any, any>;
2469
+ lc: eo;
2470
2470
  onlineState: string;
2471
2471
  get isPrimaryClient(): boolean;
2472
2472
  }
@@ -2490,8 +2490,8 @@ declare class pi {
2490
2490
  useProto3Json: any;
2491
2491
  }
2492
2492
  declare class _u {
2493
- Lr: du;
2494
- qr: {};
2493
+ Br: du;
2494
+ Lr: {};
2495
2495
  onlineStateHandler: any;
2496
2496
  sequenceNumberHandler: any;
2497
2497
  addPendingMutation(t: any): void;
@@ -2538,16 +2538,16 @@ declare class xo {
2538
2538
  * checked or asserted on every access.
2539
2539
  */
2540
2540
  constructor(t: any, e: any);
2541
- Vs: {};
2541
+ Ps: {};
2542
2542
  overlays: {};
2543
- Ss: $t;
2544
- Ds: boolean;
2543
+ Vs: $t;
2544
+ Ss: boolean;
2545
2545
  referenceDelegate: any;
2546
- Cs: Co;
2546
+ Ds: Co;
2547
2547
  indexManager: Mr;
2548
2548
  remoteDocumentCache: So;
2549
2549
  serializer: Xi;
2550
- Ns: Ro;
2550
+ xs: Ro;
2551
2551
  start(): Promise<void>;
2552
2552
  shutdown(): Promise<void>;
2553
2553
  get started(): boolean;
@@ -2560,7 +2560,7 @@ declare class xo {
2560
2560
  getRemoteDocumentCache(): So;
2561
2561
  getBundleCache(): Ro;
2562
2562
  runTransaction(t: any, e: any, n: any): any;
2563
- Os(t: any, e: any): At;
2563
+ $s(t: any, e: any): At;
2564
2564
  }
2565
2565
  /**
2566
2566
  * @license
@@ -2589,7 +2589,7 @@ declare class xo {
2589
2589
  declare class Go {
2590
2590
  constructor(t: any, e: any, n: any, s: any);
2591
2591
  persistence: any;
2592
- Li: any;
2592
+ Bi: any;
2593
2593
  serializer: any;
2594
2594
  /**
2595
2595
  * Maps a targetID to data about its target.
@@ -2597,20 +2597,20 @@ declare class Go {
2597
2597
  * PORTING NOTE: We are using an immutable data structure on Web to make re-runs
2598
2598
  * of `applyRemoteEvent()` idempotent.
2599
2599
  */
2600
- qi: ge;
2600
+ Li: ge;
2601
2601
  /** Maps a target to its targetID. */
2602
- Ui: ss;
2602
+ qi: ss;
2603
2603
  /**
2604
2604
  * A per collection group index of the last read time processed by
2605
2605
  * `getNewDocumentChanges()`.
2606
2606
  *
2607
2607
  * PORTING NOTE: This is only used for multi-tab synchronization.
2608
2608
  */
2609
- Ki: Map<any, any>;
2610
- Gi: any;
2611
- Cs: any;
2612
- Ns: any;
2613
- Qi(t: any): void;
2609
+ Ui: Map<any, any>;
2610
+ Ki: any;
2611
+ Ds: any;
2612
+ xs: any;
2613
+ Gi(t: any): void;
2614
2614
  documentOverlayCache: any;
2615
2615
  indexManager: any;
2616
2616
  mutationQueue: any;
@@ -2622,32 +2622,32 @@ declare class Go {
2622
2622
  * backing store for the SharedClientState. It keeps track of all active
2623
2623
  * clients and supports modifications of the local client's data.
2624
2624
  */ declare class wu {
2625
- /** Returns 'true' if WebStorage is available in the current environment. */ static C(t: any): boolean;
2625
+ /** Returns 'true' if WebStorage is available in the current environment. */ static D(t: any): boolean;
2626
2626
  constructor(t: any, e: any, n: any, s: any, i: any);
2627
2627
  window: any;
2628
- Hs: any;
2628
+ Ws: any;
2629
2629
  persistenceKey: any;
2630
- sr: any;
2630
+ nr: any;
2631
2631
  syncEngine: any;
2632
2632
  onlineStateHandler: any;
2633
2633
  sequenceNumberHandler: any;
2634
- ir: (t: any) => undefined;
2635
- ur: ge;
2634
+ sr: (t: any) => undefined;
2635
+ rr: ge;
2636
2636
  started: boolean;
2637
2637
  /**
2638
2638
  * Captures WebStorage events that occur before `start()` is called. These
2639
2639
  * events are replayed once `WebStorageSharedClientState` is started.
2640
2640
  */
2641
- cr: any[];
2641
+ ur: any[];
2642
2642
  storage: any;
2643
2643
  currentUser: any;
2644
+ cr: string;
2644
2645
  ar: string;
2645
- hr: string;
2646
+ hr: RegExp;
2646
2647
  lr: RegExp;
2647
2648
  dr: RegExp;
2648
- wr: RegExp;
2649
+ wr: string;
2649
2650
  _r: string;
2650
- mr: string;
2651
2651
  start(): Promise<void>;
2652
2652
  writeSequenceNumber(t: any): void;
2653
2653
  getAllActiveQueryTargets(): Ie;
@@ -2666,40 +2666,40 @@ declare class Go {
2666
2666
  getItem(t: any): any;
2667
2667
  setItem(t: any, e: any): void;
2668
2668
  removeItem(t: any): void;
2669
- rr(t: any): undefined;
2670
- get Ar(): any;
2671
- gr(): void;
2672
- Tr(t: any, e: any, n: any): void;
2673
- Er(t: any): void;
2669
+ ir(t: any): undefined;
2670
+ get Er(): any;
2671
+ mr(): void;
2672
+ Ir(t: any, e: any, n: any): void;
2673
+ Tr(t: any): void;
2674
+ Rr(t: any): void;
2675
+ Ar(t: any, e: any, n: any): void;
2674
2676
  vr(t: any): void;
2675
- Rr(t: any, e: any, n: any): void;
2676
- br(t: any): void;
2677
2677
  /**
2678
2678
  * Parses a client state key in WebStorage. Returns null if the key does not
2679
2679
  * match the expected key format.
2680
- */ Pr(t: any): string | null;
2680
+ */ br(t: any): string | null;
2681
2681
  /**
2682
2682
  * Parses a client state in WebStorage. Returns 'null' if the value could not
2683
2683
  * be parsed.
2684
- */ Sr(t: any, e: any): lu | null;
2684
+ */ Vr(t: any, e: any): lu | null;
2685
2685
  /**
2686
2686
  * Parses a mutation batch state in WebStorage. Returns 'null' if the value
2687
2687
  * could not be parsed.
2688
- */ Dr(t: any, e: any): au | null;
2688
+ */ Sr(t: any, e: any): au | null;
2689
2689
  /**
2690
2690
  * Parses a query target state from WebStorage. Returns 'null' if the value
2691
2691
  * could not be parsed.
2692
- */ Nr(t: any, e: any): hu | null;
2692
+ */ Cr(t: any, e: any): hu | null;
2693
2693
  /**
2694
2694
  * Parses an online state from WebStorage. Returns 'null' if the value
2695
2695
  * could not be parsed.
2696
- */ yr(t: any): fu | null;
2697
- $r(t: any): any;
2698
- Cr(t: any): Promise<any>;
2696
+ */ gr(t: any): fu | null;
2699
2697
  kr(t: any): any;
2700
- Vr(t: any, e: any): any;
2701
- pr(t: any): void;
2702
- Ir(t: any): Ie;
2698
+ Dr(t: any): Promise<any>;
2699
+ Nr(t: any): any;
2700
+ Pr(t: any, e: any): any;
2701
+ yr(t: any): void;
2702
+ pr(t: any): Ie;
2703
2703
  }
2704
2704
  /**
2705
2705
  * This class is responsible for the scheduling of LRU garbage collection. It handles checking
@@ -2709,22 +2709,22 @@ declare class Go {
2709
2709
  garbageCollector: any;
2710
2710
  asyncQueue: any;
2711
2711
  localStore: any;
2712
- On: any;
2712
+ $n: any;
2713
2713
  start(): void;
2714
2714
  stop(): void;
2715
2715
  get started(): boolean;
2716
- Mn(t: any): void;
2716
+ On(t: any): void;
2717
2717
  }
2718
2718
  /** This class is responsible for the scheduling of Index Backfiller. */
2719
2719
  declare class Nt {
2720
2720
  constructor(t: any, e: any);
2721
2721
  asyncQueue: any;
2722
- et: any;
2722
+ tt: any;
2723
2723
  task: any;
2724
2724
  start(): void;
2725
2725
  stop(): void;
2726
2726
  get started(): boolean;
2727
- nt(t: any): void;
2727
+ et(t: any): void;
2728
2728
  }
2729
2729
  /**
2730
2730
  * Oldest acceptable age in milliseconds for client metadata before the client
@@ -2777,40 +2777,40 @@ declare class Nt {
2777
2777
  * longer optional.
2778
2778
  */
2779
2779
  declare class Fo {
2780
- static C(): boolean;
2780
+ static D(): boolean;
2781
2781
  constructor(t: any, e: any, n: any, s: any, i: any, r: any, o: any, u: any, c: any, a: any, h?: number);
2782
2782
  allowTabSynchronization: any;
2783
2783
  persistenceKey: any;
2784
2784
  clientId: any;
2785
- Hs: any;
2785
+ Ws: any;
2786
2786
  window: any;
2787
2787
  document: any;
2788
+ Hs: any;
2788
2789
  Js: any;
2789
- Ys: any;
2790
- Zs: number;
2791
- Ss: $t | null;
2792
- Ds: boolean;
2790
+ Ys: number;
2791
+ Vs: $t | null;
2792
+ Ss: boolean;
2793
2793
  isPrimary: boolean;
2794
2794
  networkEnabled: boolean;
2795
2795
  /** Our window.unload handler, if registered. */
2796
- Xs: (() => void) | null;
2796
+ Zs: (() => void) | null;
2797
2797
  inForeground: boolean;
2798
2798
  /** Our 'visibilitychange' listener if registered. */
2799
- ti: (() => void) | null;
2799
+ Xs: (() => void) | null;
2800
2800
  /** The client metadata refresh task. */
2801
- ei: any;
2801
+ ti: any;
2802
2802
  /** The last time we garbage collected the client metadata object store. */
2803
- ni: number;
2803
+ ei: number;
2804
2804
  /** A listener to notify on primary state changes. */
2805
- si: (t: any) => Promise<void>;
2805
+ ni: (t: any) => Promise<void>;
2806
2806
  referenceDelegate: ho;
2807
- ii: string;
2807
+ si: string;
2808
2808
  serializer: Xi;
2809
- ri: vt;
2810
- Cs: no;
2809
+ ii: vt;
2810
+ Ds: no;
2811
2811
  remoteDocumentCache: wo;
2812
- Ns: fr;
2813
- oi: any;
2812
+ xs: fr;
2813
+ ri: any;
2814
2814
  /**
2815
2815
  * Attempt to start IndexedDb persistence.
2816
2816
  *
@@ -2822,7 +2822,7 @@ declare class Fo {
2822
2822
  * with the current primary state.
2823
2823
  *
2824
2824
  * PORTING NOTE: This is only used for Web multi-tab.
2825
- */ li(t: any): any;
2825
+ */ hi(t: any): any;
2826
2826
  /**
2827
2827
  * Registers a listener that gets called when the database receives a
2828
2828
  * version change event indicating that it has deleted.
@@ -2840,38 +2840,38 @@ declare class Fo {
2840
2840
  * extend the primary lease for the local client. Asynchronously notifies the
2841
2841
  * primary state listener if the client either newly obtained or released its
2842
2842
  * primary lease.
2843
- */ ui(): Promise<void>;
2844
- fi(t: any): any;
2845
- gi(t: any): any;
2843
+ */ oi(): Promise<void>;
2844
+ li(t: any): any;
2845
+ mi(t: any): any;
2846
2846
  /**
2847
2847
  * If the garbage collection threshold has passed, prunes the
2848
2848
  * RemoteDocumentChanges and the ClientMetadata store based on the last update
2849
2849
  * time of all clients.
2850
- */ yi(): Promise<void>;
2850
+ */ gi(): Promise<void>;
2851
2851
  /**
2852
2852
  * Schedules a recurring timer to update the client metadata and to either
2853
2853
  * extend or acquire the primary lease if the client is eligible.
2854
- */ hi(): void;
2855
- /** Checks whether `client` is the local client. */ mi(t: any): boolean;
2854
+ */ ai(): void;
2855
+ /** Checks whether `client` is the local client. */ _i(t: any): boolean;
2856
2856
  /**
2857
2857
  * Evaluate the state of all active clients and determine whether the local
2858
2858
  * client is or can act as the holder of the primary lease. Returns whether
2859
2859
  * the client is eligible for the lease, but does not actually acquire it.
2860
2860
  * May return 'false' even if there is no active leaseholder and another
2861
2861
  * (foreground) client should become leaseholder instead.
2862
- */ di(t: any): any;
2862
+ */ fi(t: any): any;
2863
2863
  shutdown(): Promise<void>;
2864
2864
  /**
2865
2865
  * Returns clients that are not zombied and have an updateTime within the
2866
2866
  * provided threshold.
2867
- */ Ii(t: any, e: any): any;
2867
+ */ pi(t: any, e: any): any;
2868
2868
  /**
2869
2869
  * Returns the IDs of the clients that are currently active. If multi-tab
2870
2870
  * is not supported, returns an array that only contains the local client's
2871
2871
  * ID.
2872
2872
  *
2873
2873
  * PORTING NOTE: This is only used for Web multi-tab.
2874
- */ Pi(): Promise<any>;
2874
+ */ bi(): Promise<any>;
2875
2875
  get started(): boolean;
2876
2876
  getMutationQueue(t: any, e: any): Jr;
2877
2877
  getTargetCache(): no;
@@ -2884,15 +2884,15 @@ declare class Fo {
2884
2884
  * Verifies that the current tab is the primary leaseholder or alternatively
2885
2885
  * that the leaseholder has opted into multi-tab synchronization.
2886
2886
  */
2887
- Vi(t: any): any;
2887
+ Pi(t: any): any;
2888
2888
  /**
2889
2889
  * Obtains or extends the new primary lease for the local client. This
2890
2890
  * method does not verify that the client is eligible for this lease.
2891
- */ _i(t: any): any;
2892
- /** Checks the primary lease and removes it if we are the current primary. */ wi(t: any): any;
2893
- /** Verifies that `updateTimeMs` is within `maxAgeMs`. */ pi(t: any, e: any): boolean;
2894
- ci(): void;
2895
- Ri(): void;
2891
+ */ wi(t: any): any;
2892
+ /** Checks the primary lease and removes it if we are the current primary. */ di(t: any): any;
2893
+ /** Verifies that `updateTimeMs` is within `maxAgeMs`. */ yi(t: any, e: any): boolean;
2894
+ ui(): void;
2895
+ Ai(): void;
2896
2896
  /**
2897
2897
  * Attaches a window.unload handler that will synchronously write our
2898
2898
  * clientId to a "zombie client id" location in LocalStorage. This can be used
@@ -2902,19 +2902,19 @@ declare class Fo {
2902
2902
  * primary lease). LocalStorage is used for this rather than IndexedDb because
2903
2903
  * it is a synchronous API and so can be used reliably from an unload
2904
2904
  * handler.
2905
- */ ai(): void;
2906
- vi(): void;
2905
+ */ ci(): void;
2906
+ Ri(): void;
2907
2907
  /**
2908
2908
  * Returns whether a client is "zombied" based on its LocalStorage entry.
2909
2909
  * Clients become zombied when their tab closes without running all of the
2910
2910
  * cleanup logic in `shutdown()`.
2911
- */ Ei(t: any): boolean;
2911
+ */ Ti(t: any): boolean;
2912
2912
  /**
2913
2913
  * Record client as zombied (a client that had its tab closed). Zombied
2914
2914
  * clients are ignored during primary tab selection.
2915
- */ Ai(): void;
2916
- /** Removes the zombied client entry if it exists. */ bi(): void;
2917
- Ti(t: any): string;
2915
+ */ Ei(): void;
2916
+ /** Removes the zombied client entry if it exists. */ vi(): void;
2917
+ Ii(t: any): string;
2918
2918
  }
2919
2919
  /**
2920
2920
  * A component used by the RemoteStore to track the OnlineState (that is,
@@ -2938,32 +2938,32 @@ declare class Nu {
2938
2938
  * maximum defined by MAX_WATCH_STREAM_FAILURES, we'll set the OnlineState to
2939
2939
  * Offline.
2940
2940
  */
2941
- iu: number;
2941
+ su: number;
2942
2942
  /**
2943
2943
  * A timer that elapses after ONLINE_STATE_TIMEOUT_MS, at which point we
2944
2944
  * transition from OnlineState.Unknown to OnlineState.Offline without waiting
2945
2945
  * for the stream to actually fail (MAX_WATCH_STREAM_FAILURES times).
2946
2946
  */
2947
- ru: any;
2947
+ iu: any;
2948
2948
  /**
2949
2949
  * Whether the client should log a warning message if it fails to connect to
2950
2950
  * the backend (initially true, cleared after a successful stream, or if we've
2951
2951
  * logged the message already).
2952
2952
  */
2953
- ou: boolean;
2953
+ ru: boolean;
2954
2954
  /**
2955
2955
  * Called by RemoteStore when a watch stream is started (including on each
2956
2956
  * backoff attempt).
2957
2957
  *
2958
2958
  * If this is the first attempt, it sets the OnlineState to Unknown and starts
2959
2959
  * the onlineStateTimer.
2960
- */ uu(): void;
2960
+ */ ou(): void;
2961
2961
  /**
2962
2962
  * Updates our OnlineState as appropriate after the watch stream reports a
2963
2963
  * failure. The first failure moves us to the 'Unknown' state. We then may
2964
2964
  * allow multiple failures (based on MAX_WATCH_STREAM_FAILURES) before we
2965
2965
  * actually transition to the 'Offline' state.
2966
- */ hu(t: any): void;
2966
+ */ au(t: any): void;
2967
2967
  /**
2968
2968
  * Explicitly sets the OnlineState to the specified state.
2969
2969
  *
@@ -2971,9 +2971,9 @@ declare class Nu {
2971
2971
  * Offline heuristics, so must not be used in place of
2972
2972
  * handleWatchStreamStart() and handleWatchStreamFailure().
2973
2973
  */ set(t: any): void;
2974
+ uu(t: any): void;
2974
2975
  cu(t: any): void;
2975
- au(t: any): void;
2976
- lu(): void;
2976
+ hu(): void;
2977
2977
  }
2978
2978
  /**
2979
2979
  * @license
@@ -3087,23 +3087,23 @@ declare class ge {
3087
3087
  * IDs. This one is used to efficiently implement removal of all references by
3088
3088
  * some target ID.
3089
3089
  */ declare class bo {
3090
- ns: Ie;
3091
- rs: Ie;
3090
+ es: Ie;
3091
+ ss: Ie;
3092
3092
  /** Returns true if the reference set contains no references. */ isEmpty(): any;
3093
3093
  /** Adds a reference to the given document key for the given ID. */ addReference(t: any, e: any): void;
3094
- /** Add references to the given document keys for the given ID. */ us(t: any, e: any): void;
3094
+ /** Add references to the given document keys for the given ID. */ os(t: any, e: any): void;
3095
3095
  /**
3096
3096
  * Removes a reference to the given document key for the given
3097
3097
  * ID.
3098
3098
  */ removeReference(t: any, e: any): void;
3099
- hs(t: any, e: any): void;
3099
+ cs(t: any, e: any): void;
3100
3100
  /**
3101
3101
  * Clears all references with a given ID. Calls removeRef() for each key
3102
3102
  * removed.
3103
- */ ls(t: any): any[];
3104
- fs(): void;
3105
- cs(t: any): void;
3106
- ds(t: any): Ie;
3103
+ */ hs(t: any): any[];
3104
+ ls(): void;
3105
+ us(t: any): void;
3106
+ fs(t: any): Ie;
3107
3107
  containsKey(t: any): any;
3108
3108
  }
3109
3109
  /**
@@ -3138,10 +3138,10 @@ declare class ge {
3138
3138
  * restart.
3139
3139
  */
3140
3140
  declare class eo {
3141
+ static vn(): eo;
3141
3142
  static bn(): eo;
3142
- static Pn(): eo;
3143
3143
  constructor(t: any);
3144
- vn: any;
3144
+ Rn: any;
3145
3145
  next(): any;
3146
3146
  }
3147
3147
  /**
@@ -3156,12 +3156,12 @@ declare class eo {
3156
3156
  */
3157
3157
  declare class du {
3158
3158
  activeTargetIds: Ie;
3159
+ tr(t: any): void;
3159
3160
  er(t: any): void;
3160
- nr(t: any): void;
3161
3161
  /**
3162
3162
  * Converts this entry into a JSON-encoded format we can use for WebStorage.
3163
3163
  * Does not encode `clientId` as it is part of the key in WebStorage.
3164
- */ tr(): string;
3164
+ */ Xi(): string;
3165
3165
  }
3166
3166
  /**
3167
3167
  * @license
@@ -3236,12 +3236,12 @@ declare class Ie {
3236
3236
  */ declare class $t {
3237
3237
  constructor(t: any, e: any);
3238
3238
  previousValue: any;
3239
- ct: ((t: any) => any) | undefined;
3240
- ut(t: any): any;
3239
+ ut: ((t: any) => any) | undefined;
3240
+ ot(t: any): any;
3241
3241
  next(): number;
3242
3242
  }
3243
3243
  declare namespace $t {
3244
- const at: number;
3244
+ const ct: number;
3245
3245
  }
3246
3246
  /**
3247
3247
  * @license
@@ -3264,26 +3264,26 @@ declare namespace $t {
3264
3264
  /**
3265
3265
  * Maps a target to the data about that target
3266
3266
  */
3267
- Rs: ss;
3267
+ As: ss;
3268
3268
  /** The last received snapshot version. */
3269
3269
  lastRemoteSnapshotVersion: st;
3270
3270
  /** The highest numbered target ID encountered. */
3271
3271
  highestTargetId: number;
3272
3272
  /** The highest sequence number encountered. */
3273
- vs: number;
3273
+ Rs: number;
3274
3274
  /**
3275
3275
  * A ordered bidirectional mapping between documents and the remote target
3276
3276
  * IDs.
3277
3277
  */
3278
- bs: bo;
3278
+ vs: bo;
3279
3279
  targetCount: number;
3280
- Ps: eo;
3280
+ bs: eo;
3281
3281
  forEachTarget(t: any, e: any): At;
3282
3282
  getLastRemoteSnapshotVersion(t: any): At;
3283
3283
  getHighestSequenceNumber(t: any): At;
3284
3284
  allocateTargetId(t: any): At;
3285
3285
  setTargetsMetadata(t: any, e: any, n: any): At;
3286
- Dn(t: any): void;
3286
+ Sn(t: any): void;
3287
3287
  addTargetData(t: any, e: any): At;
3288
3288
  updateTargetData(t: any, e: any): At;
3289
3289
  removeTargetData(t: any, e: any): At;
@@ -3315,7 +3315,7 @@ declare namespace $t {
3315
3315
  /**
3316
3316
  * An in-memory implementation of IndexManager.
3317
3317
  */ declare class Mr {
3318
- Je: Fr;
3318
+ He: Fr;
3319
3319
  addToCollectionParentIndex(t: any, e: any): At;
3320
3320
  getCollectionParents(t: any, e: any): At;
3321
3321
  addFieldIndex(t: any, e: any): At;
@@ -3356,7 +3356,7 @@ declare class So {
3356
3356
  * calculating the size.
3357
3357
  */
3358
3358
  constructor(t: any);
3359
- Es: any;
3359
+ Ts: any;
3360
3360
  /** Underlying cache of documents and their read times. */
3361
3361
  docs: ge;
3362
3362
  /** Size of all cached documents. */
@@ -3379,7 +3379,7 @@ declare class So {
3379
3379
  getEntries(t: any, e: any): At;
3380
3380
  getDocumentsMatchingQuery(t: any, e: any, n: any, s: any): At;
3381
3381
  getAllFromCollectionGroup(t: any, e: any, n: any, s: any): void;
3382
- As(t: any, e: any): At;
3382
+ Es(t: any, e: any): At;
3383
3383
  newChangeBuffer(t: any): Do;
3384
3384
  getSize(t: any): At;
3385
3385
  }
@@ -3401,7 +3401,7 @@ declare class So {
3401
3401
  */
3402
3402
  /** Serializer for values stored in the LocalStore. */ declare class Xi {
3403
3403
  constructor(t: any);
3404
- ie: any;
3404
+ se: any;
3405
3405
  }
3406
3406
  /**
3407
3407
  * @license
@@ -3421,8 +3421,8 @@ declare class So {
3421
3421
  */ declare class Ro {
3422
3422
  constructor(t: any);
3423
3423
  serializer: any;
3424
+ Zn: Map<any, any>;
3424
3425
  Xn: Map<any, any>;
3425
- ts: Map<any, any>;
3426
3426
  getBundleMetadata(t: any, e: any): At;
3427
3427
  saveBundleMetadata(t: any, e: any): At;
3428
3428
  getNamedQuery(t: any, e: any): At;
@@ -3598,7 +3598,7 @@ declare class So {
3598
3598
  /**
3599
3599
  * Parses a RemoteClientState from the JSON representation in WebStorage.
3600
3600
  * Logs a warning and returns null if the format of the data is not valid.
3601
- */ static Xi(t: any, e: any): lu | null;
3601
+ */ static Zi(t: any, e: any): lu | null;
3602
3602
  constructor(t: any, e: any);
3603
3603
  clientId: any;
3604
3604
  activeTargetIds: any;
@@ -3611,13 +3611,13 @@ declare class au {
3611
3611
  /**
3612
3612
  * Parses a MutationMetadata from its JSON representation in WebStorage.
3613
3613
  * Logs a warning and returns null if the format of the data is not valid.
3614
- */ static Xi(t: any, e: any, n: any): au | null;
3614
+ */ static Zi(t: any, e: any, n: any): au | null;
3615
3615
  constructor(t: any, e: any, n: any, s: any);
3616
3616
  user: any;
3617
3617
  batchId: any;
3618
3618
  state: any;
3619
3619
  error: any;
3620
- tr(): string;
3620
+ Xi(): string;
3621
3621
  }
3622
3622
  /**
3623
3623
  * Holds the state of a query target, including its target ID and whether the
@@ -3627,12 +3627,12 @@ declare class hu {
3627
3627
  /**
3628
3628
  * Parses a QueryTargetMetadata from its JSON representation in WebStorage.
3629
3629
  * Logs a warning and returns null if the format of the data is not valid.
3630
- */ static Xi(t: any, e: any): hu | null;
3630
+ */ static Zi(t: any, e: any): hu | null;
3631
3631
  constructor(t: any, e: any, n: any);
3632
3632
  targetId: any;
3633
3633
  state: any;
3634
3634
  error: any;
3635
- tr(): string;
3635
+ Xi(): string;
3636
3636
  }
3637
3637
  /**
3638
3638
  * This class represents the online state for all clients participating in
@@ -3642,7 +3642,7 @@ declare class hu {
3642
3642
  /**
3643
3643
  * Parses a SharedOnlineState from its JSON representation in WebStorage.
3644
3644
  * Logs a warning and returns null if the format of the data is not valid.
3645
- */ static Xi(t: any): fu | null;
3645
+ */ static Zi(t: any): fu | null;
3646
3646
  constructor(t: any, e: any);
3647
3647
  clientId: any;
3648
3648
  onlineState: any;
@@ -3668,10 +3668,10 @@ declare class ho {
3668
3668
  constructor(t: any, e: any);
3669
3669
  db: any;
3670
3670
  garbageCollector: ao;
3671
- Bn(t: any): any;
3672
- Un(t: any): any;
3671
+ Fn(t: any): any;
3672
+ qn(t: any): any;
3673
3673
  forEachTarget(t: any, e: any): any;
3674
- Ln(t: any, e: any): any;
3674
+ Bn(t: any, e: any): any;
3675
3675
  addReference(t: any, e: any, n: any): any;
3676
3676
  removeReference(t: any, e: any, n: any): any;
3677
3677
  removeTargets(t: any, e: any, n: any): any;
@@ -3681,7 +3681,7 @@ declare class ho {
3681
3681
  * collected, given that the document in question is not present in any
3682
3682
  * targets and has a sequence number less than or equal to the upper bound for
3683
3683
  * the collection run.
3684
- */ Gn(t: any, e: any): any;
3684
+ */ Kn(t: any, e: any): any;
3685
3685
  removeOrphanedDocuments(t: any, e: any): any;
3686
3686
  removeTarget(t: any, e: any): any;
3687
3687
  updateLimboDocument(t: any, e: any): any;
@@ -3690,7 +3690,7 @@ declare class ho {
3690
3690
  * means not a part of any target, so the only entry in the target-document index for
3691
3691
  * that document will be the sentinel row (targetId 0), which will also have the sequence
3692
3692
  * number for the last time the document was accessed.
3693
- */ Kn(t: any, e: any): any;
3693
+ */ Un(t: any, e: any): any;
3694
3694
  getCacheSize(t: any): any;
3695
3695
  }
3696
3696
  /**
@@ -3701,26 +3701,26 @@ declare class ho {
3701
3701
  * See PersistencePromise for more details.
3702
3702
  */ declare class vt {
3703
3703
  /** Deletes the specified database. */ static delete(t: any): Promise<any>;
3704
- /** Returns true if IndexedDB is available in the current environment. */ static C(): boolean;
3704
+ /** Returns true if IndexedDB is available in the current environment. */ static D(): boolean;
3705
3705
  /**
3706
3706
  * Returns true if the backing IndexedDB store is the Node IndexedDBShim
3707
3707
  * (see https://github.com/axemclion/IndexedDBShim).
3708
- */ static N(): boolean;
3709
- /** Helper to get a typed SimpleDbStore from a transaction. */ static O(t: any, e: any): any;
3708
+ */ static C(): boolean;
3709
+ /** Helper to get a typed SimpleDbStore from a transaction. */ static $(t: any, e: any): any;
3710
3710
  /** Parse User Agent to determine iOS version. Returns -1 if not found. */
3711
- static D(t: any): number;
3711
+ static S(t: any): number;
3712
3712
  /** Parse User Agent to determine Android version. Returns -1 if not found. */
3713
- static k(t: any): number;
3713
+ static N(t: any): number;
3714
3714
  constructor(t: any, e: any, n: any);
3715
3715
  name: any;
3716
3716
  version: any;
3717
- S: any;
3717
+ V: any;
3718
3718
  /**
3719
3719
  * Opens the specified database, creating or upgrading it if necessary.
3720
- */ M(t: any): any;
3720
+ */ O(t: any): any;
3721
3721
  db: any;
3722
- L(t: any): void;
3723
- B: any;
3722
+ B(t: any): void;
3723
+ F: any;
3724
3724
  runTransaction(t: any, e: any, n: any, s: any): Promise<any>;
3725
3725
  close(): void;
3726
3726
  }
@@ -3758,14 +3758,14 @@ declare class ho {
3758
3758
  /**
3759
3759
  * Call provided function with each `TargetData` that we have cached.
3760
3760
  */ forEachTarget(t: any, e: any): any;
3761
- Vn(t: any): any;
3761
+ Pn(t: any): any;
3762
+ Vn(t: any, e: any): any;
3762
3763
  Sn(t: any, e: any): any;
3763
- Dn(t: any, e: any): any;
3764
3764
  /**
3765
3765
  * In-place updates the provided metadata to account for values in the given
3766
3766
  * TargetData. Saving is done separately. Returns true if there were any
3767
3767
  * changes to the metadata.
3768
- */ Cn(t: any, e: any): boolean;
3768
+ */ Dn(t: any, e: any): boolean;
3769
3769
  getTargetCount(t: any): any;
3770
3770
  getTargetData(t: any, e: any): any;
3771
3771
  addMatchingKeys(t: any, e: any, n: any): At;
@@ -3780,7 +3780,7 @@ declare class ho {
3780
3780
  * @returns The cached TargetData entry, or null if the cache has no entry for
3781
3781
  * the target.
3782
3782
  */
3783
- se(t: any, e: any): any;
3783
+ ne(t: any, e: any): any;
3784
3784
  }
3785
3785
  /**
3786
3786
  * @license
@@ -3830,7 +3830,7 @@ declare class ho {
3830
3830
  *
3831
3831
  * @param documentKey - The key of the entry to look up.
3832
3832
  * @returns The cached document entry and its size.
3833
- */ jn(t: any, e: any): any;
3833
+ */ zn(t: any, e: any): any;
3834
3834
  getEntries(t: any, e: any): any;
3835
3835
  /**
3836
3836
  * Looks up several entries in the cache.
@@ -3838,18 +3838,18 @@ declare class ho {
3838
3838
  * @param documentKeys - The set of keys entries to look up.
3839
3839
  * @returns A map of documents indexed by key and a map of sizes indexed by
3840
3840
  * key (zero if the document does not exist).
3841
- */ Hn(t: any, e: any): any;
3842
- Wn(t: any, e: any, n: any): any;
3841
+ */ Wn(t: any, e: any): any;
3842
+ jn(t: any, e: any, n: any): any;
3843
3843
  getDocumentsMatchingQuery(t: any, e: any, n: any, s: any): any;
3844
3844
  getAllFromCollectionGroup(t: any, e: any, n: any, s: any): any;
3845
3845
  newChangeBuffer(t: any): mo;
3846
3846
  getSize(t: any): any;
3847
3847
  getMetadata(t: any): any;
3848
- Qn(t: any, e: any): any;
3848
+ Gn(t: any, e: any): any;
3849
3849
  /**
3850
3850
  * Decodes `dbRemoteDoc` and returns the document (or an invalid document if
3851
3851
  * the document corresponds to the format used for sentinel deletes).
3852
- */ zn(t: any, e: any): void | on;
3852
+ */ Qn(t: any, e: any): void | on;
3853
3853
  }
3854
3854
  /**
3855
3855
  * @license
@@ -3877,7 +3877,7 @@ declare class Jr {
3877
3877
  * Creates a new mutation queue for the given user.
3878
3878
  * @param user - The user for which to create a mutation queue.
3879
3879
  * @param serializer - The serializer to use when persisting to IndexedDb.
3880
- */ static re(t: any, e: any, n: any, s: any): Jr;
3880
+ */ static ie(t: any, e: any, n: any, s: any): Jr;
3881
3881
  constructor(t: any, e: any, n: any, s: any);
3882
3882
  userId: any;
3883
3883
  serializer: any;
@@ -3894,7 +3894,7 @@ declare class Jr {
3894
3894
  * this cache is used by secondary clients to invalidate the local
3895
3895
  * view of the documents that were previously affected by the mutation.
3896
3896
  */
3897
- In: {};
3897
+ pn: {};
3898
3898
  checkEmpty(t: any): any;
3899
3899
  addMutationBatch(t: any, e: any, n: any, s: any): any;
3900
3900
  lookupMutationBatch(t: any, e: any): any;
@@ -3904,14 +3904,14 @@ declare class Jr {
3904
3904
  * `removeMutationBatches()` has been called. Secondary clients return a
3905
3905
  * cached result until `removeCachedMutationKeys()` is invoked.
3906
3906
  */
3907
- Tn(t: any, e: any): any;
3907
+ In(t: any, e: any): any;
3908
3908
  getNextMutationBatchAfterBatchId(t: any, e: any): any;
3909
3909
  getHighestUnacknowledgedBatchId(t: any): any;
3910
3910
  getAllMutationBatches(t: any): any;
3911
3911
  getAllMutationBatchesAffectingDocumentKey(t: any, e: any): any;
3912
3912
  getAllMutationBatchesAffectingDocumentKeys(t: any, e: any): At;
3913
3913
  getAllMutationBatchesAffectingQuery(t: any, e: any): any;
3914
- En(t: any, e: any): At;
3914
+ Tn(t: any, e: any): At;
3915
3915
  removeMutationBatch(t: any, e: any): At;
3916
3916
  /**
3917
3917
  * Clears the cached keys for a mutation batch. This method should be
@@ -3921,11 +3921,11 @@ declare class Jr {
3921
3921
  * the corresponding cache entries are cleared when an acknowledged or
3922
3922
  * rejected batch is removed from the mutation queue.
3923
3923
  */
3924
- An(t: any): void;
3924
+ En(t: any): void;
3925
3925
  performConsistencyCheck(t: any): any;
3926
3926
  containsKey(t: any, e: any): any;
3927
3927
  /** Returns the mutation queue's metadata from IndexedDb. */
3928
- Rn(t: any): any;
3928
+ An(t: any): any;
3929
3929
  }
3930
3930
  /**
3931
3931
  * A persisted implementation of IndexManager.
@@ -3944,12 +3944,12 @@ declare class Lr {
3944
3944
  * This is *NOT* a complete cache of what's in persistence and so can never be
3945
3945
  * used to satisfy reads.
3946
3946
  */
3947
- Ye: Fr;
3947
+ Je: Fr;
3948
3948
  /**
3949
3949
  * Maps from a target to its equivalent list of sub-targets. Each sub-target
3950
3950
  * contains only one term from the target's disjunctive normal form (DNF).
3951
3951
  */
3952
- Ze: ss;
3952
+ Ye: ss;
3953
3953
  uid: any;
3954
3954
  /**
3955
3955
  * Adds a new entry to the collection parent index.
@@ -3962,62 +3962,62 @@ declare class Lr {
3962
3962
  addFieldIndex(t: any, e: any): any;
3963
3963
  deleteFieldIndex(t: any, e: any): any;
3964
3964
  getDocumentsMatchingTarget(t: any, e: any): At;
3965
- Xe(t: any): any;
3965
+ Ze(t: any): any;
3966
3966
  /**
3967
3967
  * Constructs a key range query on `DbIndexEntryStore` that unions all
3968
3968
  * bounds.
3969
- */ sn(t: any, e: any, n: any, s: any, i: any, r: any, o: any): IDBKeyRange[];
3970
- /** Generates the lower bound for `arrayValue` and `directionalValue`. */ on(t: any, e: any, n: any, s: any): Rr;
3971
- /** Generates the upper bound for `arrayValue` and `directionalValue`. */ un(t: any, e: any, n: any, s: any): Rr;
3972
- tn(t: any, e: any): any;
3969
+ */ nn(t: any, e: any, n: any, s: any, i: any, r: any, o: any): IDBKeyRange[];
3970
+ /** Generates the lower bound for `arrayValue` and `directionalValue`. */ rn(t: any, e: any, n: any, s: any): Rr;
3971
+ /** Generates the upper bound for `arrayValue` and `directionalValue`. */ on(t: any, e: any, n: any, s: any): Rr;
3972
+ Xe(t: any, e: any): any;
3973
3973
  getIndexType(t: any, e: any): At;
3974
3974
  /**
3975
3975
  * Returns the byte encoded form of the directional values in the field index.
3976
3976
  * Returns `null` if the document does not have all fields specified in the
3977
3977
  * index.
3978
- */ cn(t: any, e: any): Uint8Array | null;
3979
- /** Encodes a single value to the ascending index format. */ rn(t: any): Uint8Array;
3978
+ */ un(t: any, e: any): Uint8Array | null;
3979
+ /** Encodes a single value to the ascending index format. */ sn(t: any): Uint8Array;
3980
3980
  /**
3981
3981
  * Returns an encoded form of the document key that sorts based on the key
3982
3982
  * ordering of the field index.
3983
- */ an(t: any, e: any): Uint8Array;
3983
+ */ cn(t: any, e: any): Uint8Array;
3984
3984
  /**
3985
3985
  * Encodes the given field values according to the specification in `target`.
3986
3986
  * For IN queries, a list of possible values is returned.
3987
- */ nn(t: any, e: any, n: any): any[];
3987
+ */ en(t: any, e: any, n: any): any[];
3988
3988
  /**
3989
3989
  * Encodes the given bounds according to the specification in `target`. For IN
3990
3990
  * queries, a list of possible values is returned.
3991
- */ en(t: any, e: any, n: any): any[];
3992
- /** Returns the byte representation for the provided encoders. */ fn(t: any): any[];
3991
+ */ tn(t: any, e: any, n: any): any[];
3992
+ /** Returns the byte representation for the provided encoders. */ ln(t: any): any[];
3993
3993
  /**
3994
3994
  * Creates a separate encoder for each element of an array.
3995
3995
  *
3996
3996
  * The method appends each value to all existing encoders (e.g. filter("a",
3997
3997
  * "==", "a1").filter("b", "in", ["b1", "b2"]) becomes ["a1,b1", "a1,b2"]). A
3998
3998
  * list of new encoders is returned.
3999
- */ ln(t: any, e: any, n: any): Ar[];
4000
- hn(t: any, e: any): boolean;
3999
+ */ hn(t: any, e: any, n: any): Ar[];
4000
+ an(t: any, e: any): boolean;
4001
4001
  getFieldIndexes(t: any, e: any): any;
4002
4002
  getNextCollectionGroupToUpdate(t: any): any;
4003
4003
  updateCollectionGroup(t: any, e: any, n: any): any;
4004
4004
  updateIndexEntries(t: any, e: any): At;
4005
+ mn(t: any, e: any, n: any, s: any): any;
4005
4006
  gn(t: any, e: any, n: any, s: any): any;
4006
- yn(t: any, e: any, n: any, s: any): any;
4007
- wn(t: any, e: any, n: any): any;
4008
- /** Creates the index entries for the given document. */ _n(t: any, e: any): Ie;
4007
+ dn(t: any, e: any, n: any): any;
4008
+ /** Creates the index entries for the given document. */ wn(t: any, e: any): Ie;
4009
4009
  /**
4010
4010
  * Updates the index entries for the provided document by deleting entries
4011
4011
  * that are no longer referenced in `newEntries` and adding all newly added
4012
4012
  * entries.
4013
- */ mn(t: any, e: any, n: any, s: any, i: any): At;
4014
- dn(t: any): any;
4013
+ */ _n(t: any, e: any, n: any, s: any, i: any): At;
4014
+ fn(t: any): any;
4015
4015
  /**
4016
4016
  * Returns a new set of IDB ranges that splits the existing range and excludes
4017
4017
  * any values that match the `notInValue` from these ranges. As an example,
4018
4018
  * '[foo > 2 && foo != 3]` becomes `[foo > 2 && < 3, foo > 3]`.
4019
4019
  */ createRange(t: any, e: any, n: any): IDBKeyRange[];
4020
- pn(t: any, e: any): boolean;
4020
+ yn(t: any, e: any): boolean;
4021
4021
  getMinOffsetFromCollectionGroup(t: any, e: any): any;
4022
4022
  getMinOffset(t: any, e: any): At;
4023
4023
  }
@@ -4040,7 +4040,7 @@ declare class Lr {
4040
4040
  /**
4041
4041
  * Implementation of DocumentOverlayCache using IndexedDb.
4042
4042
  */ declare class _r {
4043
- static re(t: any, e: any): _r;
4043
+ static ie(t: any, e: any): _r;
4044
4044
  /**
4045
4045
  * @param serializer - The document serializer.
4046
4046
  * @param userId - The userId for which we are accessing overlays.
@@ -4054,7 +4054,7 @@ declare class Lr {
4054
4054
  removeOverlaysForBatchId(t: any, e: any, n: any): At;
4055
4055
  getOverlaysForCollection(t: any, e: any, n: any): any;
4056
4056
  getOverlaysForCollectionGroup(t: any, e: any, n: any, s: any): any;
4057
- oe(t: any, e: any): any;
4057
+ re(t: any, e: any): any;
4058
4058
  }
4059
4059
  declare class ye {
4060
4060
  constructor(t: any, e: any, n: any, s: any);
@@ -4129,14 +4129,14 @@ declare class Te {
4129
4129
  */
4130
4130
  declare class Do extends fo {
4131
4131
  constructor(t: any);
4132
- Yn: any;
4132
+ Jn: any;
4133
4133
  applyChanges(t: any): At;
4134
4134
  getFromCache(t: any, e: any): any;
4135
4135
  getAllFromCache(t: any, e: any): any;
4136
4136
  }
4137
4137
  /** Implements the steps for LRU garbage collection. */ declare class ao {
4138
4138
  constructor(t: any, e: any);
4139
- Fn: any;
4139
+ Mn: any;
4140
4140
  params: any;
4141
4141
  calculateTargetCount(t: any, e: any): any;
4142
4142
  nthSequenceNumber(t: any, e: any): any;
@@ -4144,7 +4144,7 @@ declare class Do extends fo {
4144
4144
  removeOrphanedDocuments(t: any, e: any): any;
4145
4145
  collect(t: any, e: any): any;
4146
4146
  getCacheSize(t: any): any;
4147
- qn(t: any, e: any): any;
4147
+ Ln(t: any, e: any): any;
4148
4148
  }
4149
4149
  /**
4150
4150
  * Handles the details of adding and updating documents in the IndexedDbRemoteDocumentCache.
@@ -4159,9 +4159,9 @@ declare class Do extends fo {
4159
4159
  * `getNewDocumentChanges()`.
4160
4160
  */
4161
4161
  constructor(t: any, e: any);
4162
- Yn: any;
4162
+ Jn: any;
4163
4163
  trackRemovals: any;
4164
- Zn: ss;
4164
+ Yn: ss;
4165
4165
  applyChanges(t: any): At;
4166
4166
  getFromCache(t: any, e: any): any;
4167
4167
  getAllFromCache(t: any, e: any): any;
@@ -4266,18 +4266,18 @@ declare class Do extends fo {
4266
4266
  /**
4267
4267
  * Returns an IndexEntry entry that sorts immediately after the current
4268
4268
  * directional value.
4269
- */ Ue(): Rr;
4269
+ */ qe(): Rr;
4270
4270
  }
4271
4271
  /**
4272
4272
  * Implements `DirectionalIndexByteEncoder` using `OrderedCodeWriter` for the
4273
4273
  * actual encoding.
4274
4274
  */ declare class Ar {
4275
- Fe: Ir;
4276
- Be: Tr;
4277
- Le: Er;
4275
+ Me: Ir;
4276
+ Fe: Tr;
4277
+ Be: Er;
4278
4278
  seed(t: any): void;
4279
- qe(t: any): Tr | Er;
4280
- Me(): Uint8Array;
4279
+ Le(t: any): Tr | Er;
4280
+ Oe(): Uint8Array;
4281
4281
  reset(): void;
4282
4282
  }
4283
4283
  /**
@@ -4359,55 +4359,55 @@ declare class Do extends fo {
4359
4359
  */ declare class Ir {
4360
4360
  buffer: Uint8Array;
4361
4361
  position: number;
4362
- Te(t: any): void;
4363
- Re(t: any): void;
4364
- /** Writes utf8 bytes into this byte sequence, ascending. */ Pe(t: any): void;
4365
- /** Writes utf8 bytes into this byte sequence, descending */ Ve(t: any): void;
4366
- Se(t: any): void;
4367
- xe(t: any): void;
4362
+ Ie(t: any): void;
4363
+ Ae(t: any): void;
4364
+ /** Writes utf8 bytes into this byte sequence, ascending. */ be(t: any): void;
4365
+ /** Writes utf8 bytes into this byte sequence, descending */ Pe(t: any): void;
4366
+ Ve(t: any): void;
4367
+ Ce(t: any): void;
4368
4368
  /**
4369
4369
  * Writes the "infinity" byte sequence that sorts after all other byte
4370
4370
  * sequences written in ascending order.
4371
- */ Ne(): void;
4371
+ */ xe(): void;
4372
4372
  /**
4373
4373
  * Writes the "infinity" byte sequence that sorts before all other byte
4374
4374
  * sequences written in descending order.
4375
- */ $e(): void;
4375
+ */ ke(): void;
4376
4376
  /**
4377
4377
  * Resets the buffer such that it is the same as when it was newly
4378
4378
  * constructed.
4379
4379
  */ reset(): void;
4380
4380
  seed(t: any): void;
4381
- /** Makes a copy of the encoded bytes in this buffer. */ Me(): Uint8Array;
4381
+ /** Makes a copy of the encoded bytes in this buffer. */ Oe(): Uint8Array;
4382
4382
  /**
4383
4383
  * Encodes `val` into an encoding so that the order matches the IEEE 754
4384
4384
  * floating-point comparison results with the following exceptions:
4385
4385
  * -0.0 < 0.0
4386
4386
  * all non-NaN < NaN
4387
4387
  * NaN = NaN
4388
- */ De(t: any): Uint8Array;
4389
- /** Writes a single byte ascending to the buffer. */ Ee(t: any): void;
4390
- /** Writes a single byte descending to the buffer. */ ve(t: any): void;
4391
- Ae(): void;
4392
- be(): void;
4393
- ke(t: any): void;
4394
- Oe(t: any): void;
4395
- Ce(t: any): void;
4388
+ */ Se(t: any): Uint8Array;
4389
+ /** Writes a single byte ascending to the buffer. */ Te(t: any): void;
4390
+ /** Writes a single byte descending to the buffer. */ Re(t: any): void;
4391
+ Ee(): void;
4392
+ ve(): void;
4393
+ Ne(t: any): void;
4394
+ $e(t: any): void;
4395
+ De(t: any): void;
4396
4396
  }
4397
4397
  declare class Tr {
4398
4398
  constructor(t: any);
4399
- Fe: any;
4400
- _e(t: any): void;
4401
- fe(t: any): void;
4399
+ Me: any;
4400
+ we(t: any): void;
4402
4401
  le(t: any): void;
4403
- ae(): void;
4402
+ he(t: any): void;
4403
+ ce(): void;
4404
4404
  }
4405
4405
  declare class Er {
4406
4406
  constructor(t: any);
4407
- Fe: any;
4408
- _e(t: any): void;
4409
- fe(t: any): void;
4407
+ Me: any;
4408
+ we(t: any): void;
4410
4409
  le(t: any): void;
4411
- ae(): void;
4410
+ he(t: any): void;
4411
+ ce(): void;
4412
4412
  }
4413
4413
  export { kl as AbstractUserDataWriter, bh as AggregateField, Ph as AggregateQuerySnapshot, Vh as Bytes, ah as CACHE_SIZE_UNLIMITED, th as CollectionReference, Za as DocumentReference, Kl as DocumentSnapshot, Sh as FieldPath, Ch as FieldValue, hh as Firestore, L as FirestoreError, xh as GeoPoint, ch as LoadBundleTask, Xa as Query, wl as QueryCompositeFilterConstraint, hl as QueryConstraint, Gl as QueryDocumentSnapshot, vl as QueryEndAtConstraint, fl as QueryFieldFilterConstraint, pl as QueryLimitConstraint, gl as QueryOrderByConstraint, Ql as QuerySnapshot, El as QueryStartAtConstraint, Ul as SnapshotMetadata, nt as Timestamp, Af as Transaction, Tf as WriteBatch, $e as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, ja as _cast, M as _debugAssert, ve as _isBase64Available, N as _logWarn, Ka as _validateIsNotUsedTogether, rf as addDoc, Ll as aggregateFieldEqual, ql as aggregateQuerySnapshotEqual, ml as and, Vf as arrayRemove, Pf as arrayUnion, Fl as average, yh as clearIndexedDbPersistence, eh as collection, nh as collectionGroup, Ya as connectFirestoreEmulator, Bl as count, sf as deleteDoc, vf as deleteField, Th as disableNetwork, sh as doc, Dh as documentId, _h as enableIndexedDbPersistence, mh as enableMultiTabIndexedDbPersistence, Ih as enableNetwork, Pl as endAt, bl as endBefore, dh as ensureFirestoreConfigured, cf as executeWrite, lf as getAggregateFromServer, hf as getCountFromServer, Wl as getDoc, Jl as getDocFromCache, Yl as getDocFromServer, Zl as getDocs, Xl as getDocsFromCache, tf as getDocsFromServer, fh as getFirestore, Sf as increment, lh as initializeFirestore, Il as limit, Tl as limitToLast, Ah as loadBundle, wf as memoryLocalCache, Rh as namedQuery, of as onSnapshot, uf as onSnapshotsInSync, _l as or, yl as orderBy, _f as persistentLocalCache, pf as persistentMultipleTabManager, yf as persistentSingleTabManager, ll as query, rh as queryEqual, ih as refEqual, Rf as runTransaction, bf as serverTimestamp, ef as setDoc, Cf as setIndexConfiguration, D as setLogLevel, jl as snapshotEqual, Rl as startAfter, Al as startAt, Ml as sum, Eh as terminate, nf as updateDoc, ph as waitForPendingWrites, dl as where, Df as writeBatch };