"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
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 color_dimmer_switch_exports = {};
__export(color_dimmer_switch_exports, {
  ColorDimmerSwitchDevice: () => ColorDimmerSwitchDevice,
  ColorDimmerSwitchDeviceDefinition: () => ColorDimmerSwitchDeviceDefinition,
  ColorDimmerSwitchRequirements: () => ColorDimmerSwitchRequirements
});
module.exports = __toCommonJS(color_dimmer_switch_exports);
var import_IdentifyServer = require("../behaviors/identify/IdentifyServer.js");
var import_IdentifyClient = require("../behaviors/identify/IdentifyClient.js");
var import_OnOffClient = require("../behaviors/on-off/OnOffClient.js");
var import_LevelControlClient = require("../behaviors/level-control/LevelControlClient.js");
var import_ColorControlClient = require("../behaviors/color-control/ColorControlClient.js");
var import_GroupsClient = require("../behaviors/groups/GroupsClient.js");
var import_ScenesManagementClient = require("../behaviors/scenes-management/ScenesManagementClient.js");
var import_MutableEndpoint = require("../endpoint/type/MutableEndpoint.js");
var import_SupportedBehaviors = require("../endpoint/properties/SupportedBehaviors.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
var ColorDimmerSwitchRequirements;
((ColorDimmerSwitchRequirements2) => {
  ColorDimmerSwitchRequirements2.IdentifyServer = import_IdentifyServer.IdentifyServer;
  ColorDimmerSwitchRequirements2.IdentifyClient = import_IdentifyClient.IdentifyClient;
  ColorDimmerSwitchRequirements2.OnOffClient = import_OnOffClient.OnOffClient;
  ColorDimmerSwitchRequirements2.LevelControlClient = import_LevelControlClient.LevelControlClient;
  ColorDimmerSwitchRequirements2.ColorControlClient = import_ColorControlClient.ColorControlClient;
  ColorDimmerSwitchRequirements2.GroupsClient = import_GroupsClient.GroupsClient;
  ColorDimmerSwitchRequirements2.ScenesManagementClient = import_ScenesManagementClient.ScenesManagementClient;
  ColorDimmerSwitchRequirements2.server = { mandatory: { Identify: ColorDimmerSwitchRequirements2.IdentifyServer } };
  ColorDimmerSwitchRequirements2.client = {
    mandatory: {
      Identify: ColorDimmerSwitchRequirements2.IdentifyClient,
      OnOff: ColorDimmerSwitchRequirements2.OnOffClient,
      LevelControl: ColorDimmerSwitchRequirements2.LevelControlClient,
      ColorControl: ColorDimmerSwitchRequirements2.ColorControlClient
    },
    optional: { Groups: ColorDimmerSwitchRequirements2.GroupsClient, ScenesManagement: ColorDimmerSwitchRequirements2.ScenesManagementClient }
  };
})(ColorDimmerSwitchRequirements || (ColorDimmerSwitchRequirements = {}));
const ColorDimmerSwitchDeviceDefinition = (0, import_MutableEndpoint.MutableEndpoint)({
  name: "ColorDimmerSwitch",
  deviceType: 261,
  deviceRevision: 3,
  requirements: ColorDimmerSwitchRequirements,
  behaviors: (0, import_SupportedBehaviors.SupportedBehaviors)(ColorDimmerSwitchRequirements.server.mandatory.Identify)
});
Object.freeze(ColorDimmerSwitchDeviceDefinition);
const ColorDimmerSwitchDevice = ColorDimmerSwitchDeviceDefinition;
//# sourceMappingURL=color-dimmer-switch.js.map
