/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
var Specification = /* @__PURE__ */ ((Specification2) => {
  Specification2["Core"] = "core";
  Specification2["Cluster"] = "cluster";
  Specification2["Device"] = "device";
  Specification2["Namespace"] = "namespace";
  return Specification2;
})(Specification || {});
((Specification2) => {
  let Names;
  ((Names2) => {
    Names2["core"] = "Matter Core Specification";
    Names2["cluster"] = "Matter Application Cluster Specification";
    Names2["device"] = "Matter Device Library Specification";
    Names2["namespace"] = "Matter Standard Namespace Specification";
  })(Names = Specification2.Names || (Specification2.Names = {}));
  function compareRevisions(a, b) {
    const as = a.split(".");
    const bs = b.split(".");
    for (let i = 0; i < Math.max(as.length, bs.length); i++) {
      const delta = Number(as[i] ?? 0) - Number(bs[i] ?? 0);
      if (delta) {
        return delta;
      }
    }
    return 0;
  }
  Specification2.compareRevisions = compareRevisions;
  Specification2.REVISION = "1.6.0";
  Specification2.SPECIFICATION_VERSION = 17170432;
  Specification2.DATA_MODEL_REVISION = 21;
  Specification2.INTERACTION_MODEL_REVISION = 12;
})(Specification || (Specification = {}));
export {
  Specification
};
//# sourceMappingURL=Specification.js.map
