{"version":3,"sources":["jsdelivr-header.js","/npm/@switchbot/homebridge-switchbot@5.0.0/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNS,cAAe,gBAAmB,uBAClC,yBAA4B,mCAC5B,4BAA+B,sCAC/B,wBAA2B,4BAWpB,IACZ,MAAM,EAAY,oBAAoB,qBAAsB,yBAC5D,EAAI,iBAAiB,YAAa,cAAe,EAAU","file":"/npm/@switchbot/homebridge-switchbot@5.0.0/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@switchbot/homebridge-switchbot@5.0.0/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { PLATFORM_NAME, PLUGIN_NAME } from './settings.js';\nimport { SwitchBotHAPPlatform } from './SwitchBotHAPPlatform.js';\nimport { SwitchBotMatterPlatform } from './SwitchBotMatterPlatform.js';\nimport { createPlatformProxy } from './utils.js';\n/**\n * Registers the SwitchBot platform with Homebridge.\n *\n * @param api The Homebridge API instance.\n * @property {string} PLATFORM_NAME - The Homebridge platform name.\n * @property {string} PLUGIN_NAME - The Homebridge plugin name.\n * @property {typeof SwitchBotHAPPlatform} SwitchBotHAPPlatform - The HAP platform class.\n * @property {typeof SwitchBotMatterPlatform} SwitchBotMatterPlatform - The Matter platform class.\n * @property {Function} createPlatformProxy - Factory for the platform proxy constructor.\n */\nexport default (api) => {\n    const ProxyCtor = createPlatformProxy(SwitchBotHAPPlatform, SwitchBotMatterPlatform);\n    api.registerPlatform(PLUGIN_NAME, PLATFORM_NAME, ProxyCtor);\n};\n"]}