"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.WixPatternsProvider = WixPatternsProvider;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _WixPatternsDashboardTestProvider = require("./WixPatternsDashboardTestProvider");
var _WixPatternsDashboardProvider = require("./WixPatternsDashboardProvider");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/dashboard/WixPatternsProvider.tsx";
function WixPatternsProvider(props) {
  // dashboard-react currently don't provide a testkit https://wix.slack.com/archives/C03MHSXEPAR/p1701178068285369?thread_ts=1699425570.036359&cid=C03MHSXEPAR
  if (process.env.NODE_ENV === 'test') {
    return /*#__PURE__*/_react.default.createElement(_WixPatternsDashboardTestProvider.WixPatternsDashboardTestProvider, (0, _extends2.default)({}, props, {
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 9,
        columnNumber: 12
      }
    }));
  }
  return /*#__PURE__*/_react.default.createElement(_WixPatternsDashboardProvider.WixPatternsDashboardProvider, (0, _extends2.default)({}, props, {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 12,
      columnNumber: 10
    }
  }));
}
//# sourceMappingURL=WixPatternsProvider.js.map