constructor(site, tagsAndCategories = []) {
      this.site = site
      /**
       * @type Record<number, string>
       */
      this.tags_map = {}
      for (const item of tagsAndCategories) {
        this.tags_map[item.id] = {
          color: '#22a2c3',
          ...item,
        }
      }
    }
@param {Site} site
@param {TagOrCategory[]} tagsAndCategories