System.register(["__unresolved_0", "cc", "astar-typescript"], function (_export, _context) {
  "use strict";

  var _reporterNs, _cclegacy, AStarFinder, _decorator, Component, _dec, _class, _crd, ccclass, property, TestImport;

  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }

  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

  function _reportPossibleCrUseOfAStarFinder(extras) {
    _reporterNs.report("AStarFinder", "astar-typescript", _context.meta, extras);
  }

  return {
    setters: [function (_unresolved_) {
      _reporterNs = _unresolved_;
    }, function (_cc) {
      _cclegacy = _cc.cclegacy;
      _decorator = _cc._decorator;
      Component = _cc.Component;
    }, function (_astarTypescript) {
      AStarFinder = _astarTypescript.AStarFinder;
    }],
    execute: function () {
      _crd = true;

      _cclegacy._RF.push({}, "0affcHItG1NIq9eT30KtP7t", "TestImport", undefined);

      ccclass = _decorator.ccclass;
      property = _decorator.property;
      /**
       * Predefined variables
       * Name = TestImport
       * DateTime = Tue Oct 26 2021 17:54:02 GMT+0800 (中国标准时间)
       * Author = drelaptop
       * FileBasename = TestImport.ts
       * FileBasenameNoExtension = TestImport
       * URL = db://assets/TestImport.ts
       * ManualUrl = https://docs.cocos.com/creator/3.3/manual/zh/
       *
       */

      _export("TestImport", TestImport = (_dec = ccclass('TestImport'), _dec(_class = /*#__PURE__*/function (_Component) {
        _inheritsLoose(TestImport, _Component);

        function TestImport() {
          return _Component.apply(this, arguments) || this;
        }

        var _proto = TestImport.prototype;

        // [1]
        // dummy = '';
        // [2]
        // @property
        // serializableDummy = 0;
        _proto.start = function start() {
          var finder = new (_crd && AStarFinder === void 0 ? (_reportPossibleCrUseOfAStarFinder({
            error: Error()
          }), AStarFinder) : AStarFinder)({
            grid: {},
            includeStartNode: false
          });
          console.log("finder: " + finder);
        } // update (deltaTime: number) {
        //     // [4]
        // }
        ;

        return TestImport;
      }(Component)) || _class));
      /**
       * [1] Class member could be defined like this.
       * [2] Use `property` decorator if your want the member to be serializable.
       * [3] Your initialization goes here.
       * [4] Your update function goes here.
       *
       * Learn more about scripting: https://docs.cocos.com/creator/3.3/manual/zh/scripting/
       * Learn more about CCClass: https://docs.cocos.com/creator/3.3/manual/zh/scripting/ccclass.html
       * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.3/manual/zh/scripting/life-cycle-callbacks.html
       */


      _cclegacy._RF.pop();

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