constructor({ defaultPosition, ...placesOptions } = {}) {
    if (Array.isArray(defaultPosition) && defaultPosition.length === 2) {
      this.defaultPosition = defaultPosition.join(',');
    }

    this.placesOptions = placesOptions;
    this.placesAutocomplete = places(this.placesOptions);

    this.query = '';
    this.initialLatLngViaIP = null;
  }
The underlying structure for the Algolia Places instantsearch widget.