"use strict";

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

var _css3 = require("@emotion/css");

var _css4 = _interopRequireDefault(_css3);

var _core = require("@emotion/core");

var _propTypes = require("prop-types");

var _propTypes2 = _interopRequireDefault(_propTypes);

var _presets = require("../../utils/presets");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var NumberedTabLabel = function NumberedTabLabel(_ref) {
  var children = _ref.children;
  return (0, _core.jsx)("span", {
    css:
    /*#__PURE__*/
    (0, _css4["default"])(_defineProperty({
      display: "none",
      ".active &": {
        display: "inline"
      },
      "&.desktop": {
        display: "none"
      }
    }, "@media (min-width: ".concat(_presets.breakpoints.tablet, "px)"), {
      display: "inline",
      "&.desktop": {
        display: "inline"
      },
      "&.mobile": {
        display: "none"
      }
    }), "label:NumberedTabLabel;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1RhYnMvVGFiTGFiZWwuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUUkiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvVGFicy9UYWJMYWJlbC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSBcIkBlbW90aW9uL2NvcmVcIlxuaW1wb3J0IFByb3BUeXBlcyBmcm9tIFwicHJvcC10eXBlc1wiXG5cbmltcG9ydCB7IGJyZWFrcG9pbnRzIH0gZnJvbSBcIi4uLy4uL3V0aWxzL3ByZXNldHNcIlxuXG5jb25zdCBOdW1iZXJlZFRhYkxhYmVsID0gKHsgY2hpbGRyZW4gfSkgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgZGlzcGxheTogYG5vbmVgLFxuICAgICAgXCIuYWN0aXZlICZcIjoge1xuICAgICAgICBkaXNwbGF5OiBgaW5saW5lYCxcbiAgICAgIH0sXG4gICAgICBcIiYuZGVza3RvcFwiOiB7XG4gICAgICAgIGRpc3BsYXk6IGBub25lYCxcbiAgICAgIH0sXG4gICAgICBbYEBtZWRpYSAobWluLXdpZHRoOiAke2JyZWFrcG9pbnRzLnRhYmxldH1weClgXToge1xuICAgICAgICBkaXNwbGF5OiBgaW5saW5lYCxcbiAgICAgICAgXCImLmRlc2t0b3BcIjoge1xuICAgICAgICAgIGRpc3BsYXk6IGBpbmxpbmVgLFxuICAgICAgICB9LFxuICAgICAgICBcIiYubW9iaWxlXCI6IHtcbiAgICAgICAgICBkaXNwbGF5OiBgbm9uZWAsXG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgIH19XG4gID5cbiAgICB7Y2hpbGRyZW59XG4gIDwvc3Bhbj5cbilcblxuTnVtYmVyZWRUYWJMYWJlbC5wcm9wVHlwZXMgPSB7XG4gIGNoaWxkcmVuOiBQcm9wVHlwZXMubm9kZSxcbn1cblxuZXhwb3J0IGRlZmF1bHQgTnVtYmVyZWRUYWJMYWJlbFxuIl19 */"))
  }, children);
};

NumberedTabLabel.propTypes = {
  children: _propTypes2["default"].node
};
exports["default"] = NumberedTabLabel;