"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.PageState = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _bexUtils = require("@wix/bex-utils");
var _mobx = require("mobx");
class PageState {
  constructor() {
    (0, _defineProperty2.default)(this, "modalsContainerRef", void 0);
    (0, _defineProperty2.default)(this, "stackingRootRef", void 0);
    (0, _defineProperty2.default)(this, "scrollableContentRef", void 0);
    (0, _defineProperty2.default)(this, "_sidePanelOpen", (0, _bexUtils.reactive)(false));
    this.modalsContainerRef = (0, _mobx.makeObservable)({
      current: null
    }, {
      current: _mobx.observable.ref
    });
    this.stackingRootRef = {
      current: null
    };
    this.scrollableContentRef = {
      current: null
    };
  }
  set sidePanelOpen(value) {
    this._sidePanelOpen.value = value;
  }
}
exports.PageState = PageState;
//# sourceMappingURL=PageState.js.map