"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.withWixPatternsProvider = withWixPatternsProvider;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _WixPatternsBMProvider = require("./WixPatternsBMProvider");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/bm/withWixPatternsProvider.tsx";
function withWixPatternsProvider(WrappedComponent) {
  return props => /*#__PURE__*/_react.default.createElement(_WixPatternsBMProvider.WixPatternsBMProvider, {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 10,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react.default.createElement(WrappedComponent, (0, _extends2.default)({}, props, {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 11,
      columnNumber: 7
    }
  })));
}
//# sourceMappingURL=withWixPatternsProvider.js.map