Liferay.Loader.define("segments-experiment-web@2.0.19/js/context.es", ['module', 'exports', 'require', 'frontend-js-react-web$prop-types', 'frontend-js-react-web$react'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports["default"] = void 0;

    var _propTypes = _interopRequireDefault(require("frontend-js-react-web$prop-types"));

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

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

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * The contents of this file are subject to the terms of the Liferay Enterprise
     * Subscription License ("License"). You may not use this file except in
     * compliance with the License. You can obtain a copy of the License by
     * contacting Liferay, Inc. See the License for the specific language governing
     * permissions and limitations under the License, including but not limited to
     * distribution rights of the Software.
     */
    var SegmentsExperimentsContext = _react["default"].createContext({
      APIService: {
        createExperiment: function createExperiment() {},
        createVariant: function createVariant() {},
        deleteExperiment: function deleteExperiment() {},
        deleteVariant: function deleteVariant() {},
        editExperiment: function editExperiment() {},
        editExperimentStatus: function editExperimentStatus() {},
        editVariant: function editVariant() {},
        runExperiment: function runExperiment() {}
      },
      assetsPath: '',
      page: {
        classNameId: '',
        classPK: '',
        type: ''
      }
    });

    SegmentsExperimentsContext.Provider.propTypes = {
      value: _propTypes["default"].shape({
        APIService: _propTypes["default"].shape({
          createExperiment: _propTypes["default"].func,
          createVariant: _propTypes["default"].func,
          deleteExperiment: _propTypes["default"].func,
          deleteVariant: _propTypes["default"].func,
          editExperiment: _propTypes["default"].func,
          editExperimentStatus: _propTypes["default"].func,
          editVariant: _propTypes["default"].func,
          runExperiment: _propTypes["default"].func
        }),
        assetsPath: _propTypes["default"].string.isRequired,
        editVariantLayoutURL: _propTypes["default"].string,
        page: _propTypes["default"].shape({
          classNameId: _propTypes["default"].string.isRequired,
          classPK: _propTypes["default"].string.isRequired,
          type: _propTypes["default"].string.isRequired
        })
      })
    };
    var _default = SegmentsExperimentsContext;
    exports["default"] = _default;
    //# sourceMappingURL=context.es.js.map
  }
});
//# sourceMappingURL=context.es.js.map