'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var normalizeComponent = require('./normalize-component-6fa50395.js');

var script = {
  props: {
    activeTabIdx: {
      type: Number,
      default: null
    }
  },
  render: function render(h) {
    var $slots = this.$slots,
        activeTabIdx = this.activeTabIdx;
    if (activeTabIdx === null) return null;
    var tabs = $slots.default.filter(function ($el) {
      return !!$el.tag;
    });
    return h('section', {
      class: 'v-tabs-content'
    }, tabs.map(function (tabSlot, index) {
      return h('div', {
        directives: [{
          name: 'show',
          value: index === activeTabIdx
        }]
      }, [tabSlot]);
    }));
  }
};

/* script */
const __vue_script__ = script;

/* template */

  /* style */
  const __vue_inject_styles__ = undefined;
  /* scoped */
  const __vue_scope_id__ = undefined;
  /* module identifier */
  const __vue_module_identifier__ = undefined;
  /* functional template */
  const __vue_is_functional_template__ = undefined;
  /* style inject */
  
  /* style inject SSR */
  

  
  var VTabsContent = normalizeComponent.__vue_normalize__(
    {},
    __vue_inject_styles__,
    __vue_script__,
    __vue_scope_id__,
    __vue_is_functional_template__,
    __vue_module_identifier__,
    undefined,
    undefined
  );

exports.default = VTabsContent;
