require('./LinkButton.styles_ztirgn.css');
'use strict';

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

var react = require('@linaria/react');
var LinkButton_tokens = require('./LinkButton.tokens.js');
var common = require('../../engines/common.js');
var Spinner$1 = require('../Spinner/Spinner.js');

var mergedConfig = /*#__PURE__*/common.mergeConfig(Spinner$1.spinnerConfig);
var Spinner = /*#__PURE__*/common.component(mergedConfig);
var base = "b15p59s9";
var StyledAdditionalContent = /*#__PURE__*/react.styled('div')({
  name: "StyledAdditionalContent",
  "class": "s1tk0pdn",
  propsAsIs: false
});
var _exp3 = function _exp3() {
  return function (_ref) {
    var isLoading = _ref.isLoading;
    return isLoading ? '0.06' : '1';
  };
};
var LoadWrap = /*#__PURE__*/react.styled('div')({
  name: "LoadWrap",
  "class": "lwmk0e5",
  propsAsIs: false,
  vars: {
    "lwmk0e5-0": [/*#__PURE__*/_exp3()]
  }
});
var Loader = /*#__PURE__*/react.styled('div')({
  name: "Loader",
  "class": "l7ptchj",
  propsAsIs: false
});
var _exp4 = function _exp4() {
  return Spinner;
};
var StyledSpinner = /*#__PURE__*/react.styled(_exp4())({
  name: "StyledSpinner",
  "class": "s12rghuz",
  propsAsIs: true
});
var LinkButtonText = /*#__PURE__*/react.styled('span')({
  name: "LinkButtonText",
  "class": "l1uogc3z",
  propsAsIs: false
});
var _exp15 = function _exp15() {
  return function (_ref2) {
    var hasContent = _ref2.hasContent;
    return hasContent ? "var(".concat(LinkButton_tokens.tokens.linkButtonLeftContentMargin, ")") : '0';
  };
};
var StyledContentLeft = /*#__PURE__*/react.styled('div')({
  name: "StyledContentLeft",
  "class": "s176p3a0",
  propsAsIs: false,
  vars: {
    "s176p3a0-0": [/*#__PURE__*/_exp15()]
  }
});
var _exp17 = function _exp17() {
  return function (_ref3) {
    var hasContent = _ref3.hasContent;
    return hasContent ? "var(".concat(LinkButton_tokens.tokens.linkButtonRightContentMargin, ")") : '0';
  };
};
var StyledContentRight = /*#__PURE__*/react.styled('div')({
  name: "StyledContentRight",
  "class": "slixkvc",
  propsAsIs: false,
  vars: {
    "slixkvc-0": [/*#__PURE__*/_exp17()]
  }
});

exports.LinkButtonText = LinkButtonText;
exports.LoadWrap = LoadWrap;
exports.Loader = Loader;
exports.StyledAdditionalContent = StyledAdditionalContent;
exports.StyledContentLeft = StyledContentLeft;
exports.StyledContentRight = StyledContentRight;
exports.StyledSpinner = StyledSpinner;
exports.base = base;
//# sourceMappingURL=LinkButton.styles.js.map
