apYear() ? 366 : 365)].map((_, i) => ({ 'level': 0, 'commit': 0, 'dayno': i + 1, 'date': dateFromDays(i + 1) }));
            }
          }
        }
      }

      connectedCallback() {
        super.connectedCallback();
        this.loadResources(this.resolveUrl('../../data/locales.json'));
        requestAnimationFrame(this._installListeners.bind(this))
      }

      static get observers() {
        return [
          '_groupAndSum(historyData.order)',
        ]
      }

      _installListeners() {
    