System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2"], function (_export, _context) {
  "use strict";

  var _reporterNs, _cclegacy, GameConst, BaseUI, BasePanel, _crd;

  function _reportPossibleCrUseOfGameConst(extras) {
    _reporterNs.report("GameConst", "../common/GameConst", _context.meta, extras);
  }

  function _reportPossibleCrUseOfBaseUI(extras) {
    _reporterNs.report("BaseUI", "./BaseUI", _context.meta, extras);
  }

  _export("default", void 0);

  return {
    setters: [function (_unresolved_) {
      _reporterNs = _unresolved_;
    }, function (_cc) {
      _cclegacy = _cc.cclegacy;
    }, function (_unresolved_2) {
      GameConst = _unresolved_2.default;
    }, function (_unresolved_3) {
      BaseUI = _unresolved_3.BaseUI;
    }],
    execute: function () {
      _crd = true;

      _cclegacy._RF.push({}, "7b2799Ub4dDJaNkRrAhSv1f", "BasePanel", undefined);

      _export("default", BasePanel = class BasePanel extends (_crd && BaseUI === void 0 ? (_reportPossibleCrUseOfBaseUI({
        error: Error()
      }), BaseUI) : BaseUI) {
        constructor() {
          super(...arguments);
          this.layer = (_crd && GameConst === void 0 ? (_reportPossibleCrUseOfGameConst({
            error: Error()
          }), GameConst) : GameConst).WIN_LAYER.POPUP;
          this.winType = (_crd && GameConst === void 0 ? (_reportPossibleCrUseOfGameConst({
            error: Error()
          }), GameConst) : GameConst).WIN_TYPE.NORMAL;
          this.destroyAfterClose = false;
        }

        //关闭后销毁资源
        show(data) {}

        close() {
          window['WindowManager'].ins.removeWin(this.node.name);
        }

        onBtnClicked(event, customEventData) {}

      });

      _cclegacy._RF.pop();

      _crd = false;
    }
  };
});
//# sourceMappingURL=1877663cb72d0ab65c03482fe7b6996c9e39d21d.js.map