"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _ui = require("@mirai/ui");
var _react = _interopRequireDefault(require("react"));
var _shared__ = require("../../../__shared__");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
const OTAPricesSkeleton = _ref => {
  let others = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
  const {
    isMobile
  } = (0, _ui.useDevice)();
  return /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, _extends({}, others, {
    base: true,
    row: !isMobile,
    style: {
      border: 'solid 1px var(--mirai-ui-content-border)'
    }
  }), /*#__PURE__*/_react.default.createElement(_ui.View, {
    style: {
      borderBottom: isMobile ? 'solid 1px var(--mirai-ui-content-border)' : undefined,
      padding: isMobile ? 'var(--mirai-ui-space-S)' : 'var(--mirai-ui-space-M)'
    }
  }, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    style: {
      width: 'max-content'
    }
  }, "Our best online rate is $???!")), /*#__PURE__*/_react.default.createElement(_ui.View, {
    row: true,
    style: {
      padding: isMobile ? 'var(--mirai-ui-space-XS)' : 'var(--mirai-ui-space-M)'
    },
    wide: true
  }, Array.from({
    length: 4
  }).map((_, index) => /*#__PURE__*/_react.default.createElement(_ui.View, {
    key: index,
    style: {
      alignItems: 'center',
      width: '25%'
    }
  }, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    small: true
  }, "OTA Name"), /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    action: isMobile,
    bold: true
  }, "$???")))));
};
OTAPricesSkeleton.displayName = 'Mirai:Core:OTAPrices:Skeleton';
OTAPricesSkeleton.propTypes = {};
var _default = exports.default = OTAPricesSkeleton;
//# sourceMappingURL=OTAPrices.skeleton.js.map