nd({
    template: "#x-horizontal-tabber",
    props: ["panels"],
    data: function() {
      return {
        uid: Uid.num(),
        selected: 0
      };
    },
    attached: function() {
    },
    methods: {
      active: function(i) {
        if (i == this.selected) {
          return "x-horizontal-tabber-selected";
        } else {
          return "";
        }
      },
      onTabClick: function(i) {
        if (this.selected && this.panels[this.selected]) {
          this.panels[this.selected].onD