get locations() {
    const locations = this.guide?.locations ?? []
    const events = this.guide?.events ?? []
    return [...events.reduce((locations, event) => {
      if (!checkType(event, 'object')) return locations
      if (!checkType(event.location, 'string')) return locations
      if (!locations.has(event.location)) locations.add(event.location)
      return locations
    }, new Set(locations))]
  }
// get locations and add any missed from events dynamically

get locations and add any missed from events dynamically
get locations and add any missed from events dynamically
get locations() {
    const locations = this.guide?.locations ?? []
    const events = this.guide?.events ?? []
    return [...events.reduce((locations, event) => {
      if (!checkType(event, 'object')) return locations
      if (!checkType(event.location, 'string')) return locations
      if (!locations.has(event.location)) locations.add(event.location)
      return locations
    }, new Set(locations))]
  }
get locations ( ) { const locations = this . guide ?. locations ?? [ ] const events = this . guide ?. events ?? [ ] return [ ... events . reduce ( ( locations , event ) => { if ( ! checkType ( event , 'object' ) ) return locations if ( ! checkType ( event . location , 'string' ) ) return locations if ( ! locations . has ( event . location ) ) locations . add ( event . location ) return locations } , new Set ( locations ) ) ] }
get locations and add any missed from events dynamically
get locations and add any missed from events dynamically