"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var Route_exports = {};
__export(Route_exports, {
  EMPTY_ROUTE: () => EMPTY_ROUTE,
  MAX_REPEATERS: () => MAX_REPEATERS,
  RouteKind: () => RouteKind,
  isEmptyRoute: () => isEmptyRoute
});
module.exports = __toCommonJS(Route_exports);
var import_Protocol = require("./Protocol.js");
var RouteKind;
(function(RouteKind2) {
  RouteKind2[RouteKind2["None"] = 0] = "None";
  RouteKind2[RouteKind2["LWR"] = 1] = "LWR";
  RouteKind2[RouteKind2["NLWR"] = 2] = "NLWR";
  RouteKind2[RouteKind2["Application"] = 16] = "Application";
})(RouteKind || (RouteKind = {}));
const EMPTY_ROUTE = {
  repeaters: [],
  routeSpeed: import_Protocol.ZWaveDataRate["9k6"]
};
function isEmptyRoute(route) {
  return route.repeaters.length === 0 && route.routeSpeed === import_Protocol.ZWaveDataRate["9k6"];
}
__name(isEmptyRoute, "isEmptyRoute");
const MAX_REPEATERS = 4;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  EMPTY_ROUTE,
  MAX_REPEATERS,
  RouteKind,
  isEmptyRoute
});
//# sourceMappingURL=Route.js.map
