@camstack/addon-model-studio 1.1.87 → 1.1.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-SUuOWEIq.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-KRSZGiYt.mjs";
3
3
  import { _ as e, c as t, d as n, h as r, i, l as a, m as o, p as s, r as c, t as l, u, y as d } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
4
4
  import { a as f, i as p, o as m, r as h, s as g } from "./responsive-MKZiONJX.mjs";
5
5
  import { c as _, l as v, u as y } from "./use-device-snapshot-D7MXsFgd.mjs";
@@ -8,8 +8,8 @@ import { r as x, t as S } from "./square-CM0VWYqG.mjs";
8
8
  import { t as C } from "./trash-2-BKELRs0r.mjs";
9
9
  import { t as w } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BvzT760A.mjs";
10
10
  import { n as T, r as E, t as D } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
11
- import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B-9Pn2K0.mjs";
12
11
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_2_dom__loadShare__.js-C8Ar0nzL.mjs";
12
+ import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B-9Pn2K0.mjs";
13
13
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-BjUy5evk.mjs";
14
14
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-nybV3Y4f.mjs";
15
15
  import { _ as ee, a as te, b as ne, c as O, d as k, f as A, h as j, i as re, l as M, m as ie, o as ae, p as oe, r as N, s as P, t as F, u as se, v as ce, x as I, y as le } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D_icS0Za.mjs";
@@ -1752,25 +1752,7 @@ L.accessories.setChildHidden.useMutation, L.accessories.getStatus.useQuery, L.ad
1752
1752
  var un = L.deviceManager.getRoleDisplayDefaults.useQuery;
1753
1753
  L.deviceManager.setRoleDisplayDefaults.useMutation, L.deviceManager.getWireableFields.useQuery, L.deviceManager.setRole.useMutation, L.deviceManager.applyInitialMeta.useMutation, L.deviceManager.setMetadata.useMutation, L.deviceManager.listLocations.useQuery, L.deviceManager.addLocation.useMutation, L.deviceManager.removeLocation.useMutation, L.deviceManager.renameLocation.useMutation, L.deviceManager.setDisabled.useMutation, L.deviceManager.listPersistedByAddon.useQuery, L.deviceManager.listAll.useQuery;
1754
1754
  var dn = L.deviceManager.getDevice.useQuery;
1755
- //#endregion
1756
- //#region ../ui-library/src/composites/cap-settings/AutotrackSection.tsx
1757
- L.deviceManager.getChildren.useQuery, L.deviceManager.getChildrenBatch.useQuery, L.deviceManager.getLinkedDevices.useQuery, L.deviceManager.getLinkedDevicesBatch.useQuery, L.deviceManager.getStreamSources.useQuery, L.deviceManager.getConfigSchema.useQuery, L.deviceManager.getSettingsSchema.useQuery, L.deviceManager.updateConfig.useMutation, L.deviceManager.enable.useMutation, L.deviceManager.disable.useMutation, L.deviceManager.remove.useMutation, L.deviceManager.removeByIntegration.useMutation, L.deviceManager.getStreamProfileMap.useQuery, L.deviceManager.setStreamProfileMap.useMutation, L.deviceManager.probeStreams.useMutation, L.deviceManager.getBindings.useQuery, L.deviceManager.getBindingsBatch.useQuery, L.deviceManager.getAllBindings.useQuery, L.deviceManager.setWrapperActive.useMutation, L.deviceManager.listWrappersForCap.useQuery, L.deviceManager.listBindableCapsForDeviceType.useQuery, L.deviceManager.getDeviceSettingsAggregate.useQuery, L.deviceManager.getDeviceLiveInfoAggregate.useQuery, L.deviceManager.getDeviceAggregate.useQuery, L.deviceManager.runDeviceAction.useMutation, L.deviceManager.updateDeviceField.useMutation, L.deviceManager.updateDeviceFieldsBatch.useMutation, L.deviceManager.discoverDevices.useMutation, L.deviceManager.adoptDevice.useMutation, L.deviceManager.getCreationSchema.useQuery, L.deviceManager.createDevice.useMutation, L.deviceManager.testCreationField.useMutation, L.deviceManager.adoptionListCandidateFilters.useQuery, L.deviceManager.adoptionListCandidates.useQuery, L.deviceManager.adoptionRefresh.useMutation, L.deviceManager.adoptionAdopt.useMutation, L.deviceManager.adoptionRelease.useMutation, L.deviceManager.adoptionStartJob.useMutation, L.deviceManager.adoptionListJobs.useQuery, L.deviceManager.adoptionCancelJob.useMutation, L.deviceManager.adoptionResync.useMutation, L.deviceManager.discoveryProviders.useQuery, L.deviceManager.discoverAllProviders.useMutation, L.deviceManager.discoverProvider.useMutation, L.deviceManager.providerCreationType.useQuery, L.deviceManager.providerDiscoveryParamsSchema.useQuery, L.deviceManager.testField.useMutation, L.deviceManager.getDeviceStatusAggregate.useQuery, L.deviceManager.getDeviceStatusAggregateBatch.useQuery, L.deviceManager.getDeviceSettingsContribution.useQuery, L.deviceManager.getDeviceLiveContribution.useQuery, L.deviceManager.applyDeviceSettingsPatch.useMutation, L.deviceOps.getStreamSources.useQuery, L.deviceOps.getConfigEntries.useQuery, L.deviceOps.setConfig.useMutation, L.deviceOps.runAction.useMutation, L.deviceOps.removeDevice.useMutation, L.deviceOps.getSettingsSchema.useQuery, L.deviceOps.getRawState.useQuery, L.deviceProvider.start.useMutation, L.deviceProvider.stop.useMutation, L.deviceProvider.getStatus.useQuery, L.deviceProvider.getDevices.useQuery, L.deviceProvider.reloadDevice.useMutation, L.deviceProvider.supportsDiscovery.useQuery, L.deviceProvider.discoverDevices.useMutation, L.deviceProvider.getDiscoveryParamsSchema.useQuery, L.deviceProvider.getManualCreationType.useQuery, L.deviceProvider.adoptDiscoveredDevice.useMutation, L.deviceProvider.supportsManualCreation.useQuery, L.deviceProvider.getChildCreationSchema.useQuery, L.deviceProvider.createDevice.useMutation, L.deviceProvider.testCreationField.useMutation, L.deviceState.getSnapshot.useQuery, L.deviceState.getCapSlice.useQuery, L.deviceState.getAllSnapshots.useQuery, L.deviceState.setCapSlice.useMutation, L.deviceStatus.getStatus.useQuery, L.doorbell.getStatus.useQuery, L.doorbell.getDeviceSettingsContribution.useQuery, L.doorbell.getDeviceLiveContribution.useQuery, L.doorbell.applyDeviceSettingsPatch.useMutation, L.enumSensor.getStatus.useQuery, L.eventEmitter.getStatus.useQuery, L.events.getEvents.useQuery, L.events.getEventThumbnail.useQuery, L.events.getEventClipUrl.useQuery, L.faceGallery.listIdentities.useQuery, L.faceGallery.createIdentity.useMutation, L.faceGallery.renameIdentity.useMutation, L.faceGallery.deleteIdentity.useMutation, L.faceGallery.listIdentitySamples.useQuery, L.faceGallery.removeSample.useMutation, L.faceGallery.listRecentFaces.useQuery, L.faceGallery.getFaceByTrack.useQuery, L.faceGallery.getFaceMedia.useQuery, L.faceGallery.assignFace.useMutation, L.faceGallery.unassignFace.useMutation, L.faceGallery.deleteFace.useMutation, L.faceGallery.assignFaces.useMutation, L.faceGallery.unassignFaces.useMutation, L.faceGallery.suggestFaceClusters.useQuery, L.fanControl.setPercentage.useMutation, L.fanControl.setPreset.useMutation, L.fanControl.setDirection.useMutation, L.fanControl.setOscillating.useMutation, L.fanControl.getStatus.useQuery, L.featureProbe.getStatus.useQuery, L.flood.getStatus.useQuery, L.gas.getStatus.useQuery, L.humidifier.setOn.useMutation, L.humidifier.setTargetHumidity.useMutation, L.humidifier.setMode.useMutation, L.humidifier.getStatus.useQuery, L.humiditySensor.getStatus.useQuery, L.image.getStatus.useQuery, L.imageSettings.getOptions.useQuery, L.imageSettings.setSettings.useMutation, L.imageSettings.getStatus.useQuery, L.integrations.list.useQuery, L.integrations.get.useQuery, L.integrations.getByAddonId.useQuery, L.integrations.create.useMutation, L.integrations.update.useMutation, L.integrations.delete.useMutation, L.integrations.getSettings.useQuery, L.integrations.setSettings.useMutation, L.integrations.getAvailableTypes.useQuery, L.integrations.testConnection.useMutation, L.intercom.startSession.useMutation, L.intercom.handleAnswer.useMutation, L.intercom.stopSession.useMutation, L.intercom.startTalkSession.useMutation, L.intercom.pushTalkAudio.useMutation, L.intercom.endTalkSession.useMutation, L.intercom.getStatus.useQuery, L.lawnMowerControl.startMowing.useMutation, L.lawnMowerControl.pause.useMutation, L.lawnMowerControl.dock.useMutation, L.lawnMowerControl.getStatus.useQuery, L.llm.generate.useMutation, L.llm.generateVision.useMutation, L.llm.cancel.useMutation, L.llm.listProfileKinds.useQuery, L.llm.listProfiles.useQuery, L.llm.upsertProfile.useMutation, L.llm.deleteProfile.useMutation, L.llm.testProfile.useMutation, L.llm.listModels.useQuery, L.llm.getDefaults.useQuery, L.llm.setDefault.useMutation, L.llm.getUsage.useQuery, L.llm.listModelCatalog.useQuery, L.llm.listRuntimeNodes.useQuery, L.llm.listNodeModels.useQuery, L.llm.resolveModelRef.useMutation, L.llm.installModel.useMutation, L.llm.deleteModel.useMutation, L.llm.getRuntimeStatus.useQuery, L.llm.startRuntime.useMutation, L.llm.stopRuntime.useMutation, L.localNetwork.list.useQuery, L.localNetwork.getPreferred.useQuery, L.localNetwork.getConnectionEndpoints.useQuery, L.localNetwork.getNotificationEndpoint.useQuery, L.localNetwork.setNotificationEndpoint.useMutation, L.localNetwork.getViewerEndpoints.useQuery, L.localNetwork.setViewerEndpoints.useMutation, L.localNetwork.getAllowedAddresses.useQuery, L.localNetwork.setAllowedAddresses.useMutation, L.localNetwork.resetAllowlistToBestMatch.useMutation, L.localNetwork.getTlsStatus.useQuery, L.localNetwork.regenerateCertificate.useMutation, L.localNetwork.uploadCertificate.useMutation, L.localNetwork.downloadCa.useQuery, L.localNetwork.revertToGeneratedCertificate.useMutation, L.lockControl.lock.useMutation, L.lockControl.unlock.useMutation, L.lockControl.open.useMutation, L.lockControl.getStatus.useQuery, L.mediaPlayer.play.useMutation, L.mediaPlayer.pause.useMutation, L.mediaPlayer.stop.useMutation, L.mediaPlayer.next.useMutation, L.mediaPlayer.previous.useMutation, L.mediaPlayer.seek.useMutation, L.mediaPlayer.setVolume.useMutation, L.mediaPlayer.setMute.useMutation, L.mediaPlayer.setShuffle.useMutation, L.mediaPlayer.setRepeat.useMutation, L.mediaPlayer.selectSource.useMutation, L.mediaPlayer.playMedia.useMutation, L.mediaPlayer.getStatus.useQuery, L.meshNetwork.getStatus.useQuery, L.meshNetwork.join.useMutation, L.meshNetwork.startLogin.useMutation, L.meshNetwork.leave.useMutation, L.meshNetwork.logout.useMutation, L.meshNetwork.listPeers.useQuery, L.meshNetwork.testConnection.useMutation, L.metricsProvider.collectSnapshot.useQuery, L.metricsProvider.getCached.useQuery, L.metricsProvider.getCurrent.useQuery, L.metricsProvider.getDiskSpace.useQuery, L.metricsProvider.getGpuInfo.useQuery, L.metricsProvider.getCpuTemperature.useQuery, L.metricsProvider.getProcessStats.useQuery, L.metricsProvider.listAddonInstances.useQuery, L.metricsProvider.getAddonStats.useQuery, L.metricsProvider.listNodeProcesses.useQuery, L.metricsProvider.getLoadSeries.useQuery, L.motion.isDetected.useQuery, L.motion.getStatus.useQuery, L.motionDetection.analyze.useMutation, L.motionDetection.removeCamera.useMutation, L.motionDetection.reset.useMutation, L.motionDetection.getDeviceSettingsContribution.useQuery, L.motionDetection.getDeviceLiveContribution.useQuery, L.motionDetection.applyDeviceSettingsPatch.useMutation, L.motionTrigger.setMotionTrigger.useMutation, L.motionTrigger.getStatus.useQuery, L.motionZones.getOptions.useQuery, L.motionZones.setZone.useMutation, L.motionZones.getStatus.useQuery, L.mqttBroker.listBrokers.useQuery, L.mqttBroker.getBrokerConfig.useQuery, L.mqttBroker.addBroker.useMutation, L.mqttBroker.removeBroker.useMutation, L.mqttBroker.testConnection.useMutation, L.mqttBroker.startEmbeddedBroker.useMutation, L.mqttBroker.stopEmbeddedBroker.useMutation, L.mqttBroker.getStatus.useQuery, L.nativeObjectDetection.setEnabled.useMutation, L.nativeObjectDetection.getStatus.useQuery, L.networkAccess.start.useMutation, L.networkAccess.stop.useMutation, L.networkAccess.getEndpoint.useQuery, L.networkAccess.getStatus.useQuery, L.networkAccess.listEndpoints.useQuery, L.networkQuality.getDeviceStats.useQuery, L.networkQuality.getAllStats.useQuery, L.networkQuality.reportClientStats.useMutation, L.nodes.topology.useQuery, L.nodes.deployAddon.useMutation, L.nodes.undeployAddon.useMutation, L.nodes.restartAddon.useMutation, L.nodes.restartProcess.useMutation, L.nodes.restartNode.useMutation, L.nodes.shutdownNode.useMutation, L.nodes.renameNode.useMutation, L.nodes.clusterAddonStatus.useQuery, L.nodes.getCapUsageGraph.useQuery, L.nodes.getNodeAddons.useQuery, L.nodes.setProcessLogLevel.useMutation, L.nodes.executeQuery.useMutation, L.notificationOutput.listTargetKinds.useQuery, L.notificationOutput.listTargets.useQuery, L.notificationOutput.discoverTargets.useQuery, L.notificationOutput.send.useMutation, L.notificationOutput.testTarget.useMutation, L.notificationOutput.upsertTarget.useMutation, L.notificationOutput.deleteTarget.useMutation, L.notificationOutput.setTargetEnabled.useMutation, L.notificationRules.listRules.useQuery, L.notificationRules.getRule.useQuery, L.notificationRules.createRule.useMutation, L.notificationRules.updateRule.useMutation, L.notificationRules.deleteRule.useMutation, L.notificationRules.setRuleEnabled.useMutation, L.notificationRules.listDeviceMutes.useQuery, L.notificationRules.setDeviceMuted.useMutation, L.notificationRules.testRule.useMutation, L.notificationRules.getConditionCatalog.useQuery, L.notificationRules.getHistory.useQuery, L.notificationRules.resolveArtifactUrl.useQuery, L.notificationRules.listSnoozes.useQuery, L.notificationRules.createSnooze.useMutation, L.notificationRules.cancelSnooze.useMutation, L.notificationRules.getAlarmConfig.useQuery, L.notificationRules.setAlarmConfig.useMutation, L.notifier.send.useMutation, L.notifier.cancel.useMutation, L.notifier.getStatus.useQuery, L.numericSensor.getStatus.useQuery, L.osd.setOverlay.useMutation, L.osd.getStatus.useQuery, L.osdManager.getDeviceOsd.useQuery, L.osdManager.getSourceCatalog.useQuery, L.osdManager.getConditionSupport.useQuery, L.osdManager.setSlotBinding.useMutation, L.osdManager.clearSlotBinding.useMutation, L.osdManager.copyDeviceConfiguration.useMutation, L.osdManager.previewSlot.useMutation, L.osdManager.renderDevice.useMutation, L.petFeeder.feed.useMutation, L.petFeeder.cancelFeed.useMutation, L.petFeeder.resetDesiccant.useMutation, L.petFeeder.markFoodReplenished.useMutation, L.petFeeder.callPet.useMutation, L.petFeeder.playSound.useMutation, L.petFeeder.setChildLock.useMutation, L.petFeeder.setIndicatorLight.useMutation, L.petFeeder.setFeedSound.useMutation, L.petFeeder.setVolume.useMutation, L.petFeeder.getStatus.useQuery, L.pipelineAnalytics.getActiveTracks.useQuery, L.pipelineAnalytics.getTrack.useQuery, L.pipelineAnalytics.listTracks.useQuery, L.pipelineAnalytics.listRecentTracks.useQuery, L.pipelineAnalytics.clearTracks.useMutation, L.pipelineAnalytics.getMotionEvents.useQuery, L.pipelineAnalytics.getObjectEvents.useQuery, L.pipelineAnalytics.getAudioEvents.useQuery, L.pipelineAnalytics.listEventKinds.useQuery, L.pipelineAnalytics.listEventKindsBatch.useQuery, L.pipelineAnalytics.getSensorEvents.useQuery, L.pipelineAnalytics.getKeyEvents.useQuery, L.pipelineAnalytics.getKeyEventsBatch.useQuery, L.pipelineAnalytics.getEventDensity.useQuery, L.pipelineAnalytics.getEventDensityBatch.useQuery, L.pipelineAnalytics.pruneEventsBefore.useMutation, L.pipelineAnalytics.pruneTracksBefore.useMutation, L.pipelineAnalytics.wipeAllAnalytics.useMutation, L.pipelineAnalytics.reconcileFromDisk.useMutation, L.pipelineAnalytics.deleteTracks.useMutation, L.pipelineAnalytics.setTrackFlags.useMutation, L.pipelineAnalytics.getEventStoreFootprint.useQuery, L.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, L.pipelineAnalytics.pruneEvents.useMutation, L.pipelineAnalytics.deleteDeviceEvents.useMutation, L.pipelineAnalytics.pauseForStorageMigration.useMutation, L.pipelineAnalytics.resumeForStorageMigration.useMutation, L.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, L.pipelineAnalytics.startStorageMigrationMove.useMutation, L.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, L.pipelineAnalytics.cancelStorageMigrationMove.useMutation, L.pipelineAnalytics.relocateMedia.useMutation, L.pipelineAnalytics.countUnstampedEventMedia.useQuery, L.pipelineAnalytics.countRelocatableMedia.useQuery, L.pipelineAnalytics.listRelocateMediaJobs.useQuery, L.pipelineAnalytics.cancelRelocateMedia.useMutation, L.pipelineAnalytics.listOpsLog.useQuery, L.pipelineAnalytics.reclaimDebugMedia.useMutation, L.pipelineAnalytics.getMediaReclaimStatus.useQuery, L.pipelineAnalytics.getTrainingExportSummary.useQuery, L.pipelineAnalytics.getTrainingExportUrl.useQuery, L.pipelineAnalytics.listRetrainStaging.useQuery, L.pipelineAnalytics.listRetrainFrames.useQuery, L.pipelineAnalytics.selectRetrainFrames.useMutation, L.pipelineAnalytics.deselectRetrainFrame.useMutation, L.pipelineAnalytics.getRetrainFrameImage.useQuery, L.pipelineAnalytics.proposeRetrainAnnotations.useMutation, L.pipelineAnalytics.runReplayFrameProcessor.useMutation, L.pipelineAnalytics.listRetrainAnnotations.useQuery, L.pipelineAnalytics.saveRetrainAnnotations.useMutation, L.pipelineAnalytics.completeRetrainTrack.useMutation, L.pipelineAnalytics.restageRetrainTrack.useMutation, L.pipelineAnalytics.getRetrainExportUrl.useQuery, L.pipelineAnalytics.getEventMedia.useQuery, L.pipelineAnalytics.getTrackMedia.useQuery, L.pipelineAnalytics.listTrackMedia.useQuery, L.pipelineAnalytics.listEventMedia.useQuery, L.pipelineAnalytics.searchObjectEvents.useQuery, L.pipelineAnalytics.wipeObjectEmbeddings.useMutation, L.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, L.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, L.pipelineAnalytics.getDeviceSettingsContribution.useQuery, L.pipelineAnalytics.getDeviceLiveContribution.useQuery, L.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, L.pipelineExecutor.getAvailableEngines.useQuery, L.pipelineExecutor.getSelectedEngine.useQuery, L.pipelineExecutor.getDefaultSteps.useQuery, L.pipelineExecutor.getEngineProvisioning.useQuery, L.pipelineExecutor.getVideoPipelineSteps.useQuery, L.pipelineExecutor.setVideoPipelineSteps.useMutation, L.pipelineExecutor.clearDeviceOverrides.useMutation, L.pipelineExecutor.getInferenceDeviceHealth.useQuery, L.pipelineExecutor.rearmInferenceDevice.useMutation, L.pipelineExecutor.getSchema.useQuery, L.pipelineExecutor.getGlobalSteps.useQuery, L.pipelineExecutor.getGlobalPipelineConfig.useQuery, L.pipelineExecutor.getOrchestratorConfigSchema.useQuery, L.pipelineExecutor.validatePipeline.useQuery, L.pipelineExecutor.listTemplates.useQuery, L.pipelineExecutor.saveTemplate.useMutation, L.pipelineExecutor.updateTemplate.useMutation, L.pipelineExecutor.deleteTemplate.useMutation, L.pipelineExecutor.getCapabilities.useQuery, L.pipelineExecutor.getAddonModels.useQuery, L.pipelineExecutor.downloadModel.useMutation, L.pipelineExecutor.deleteModel.useMutation, L.pipelineExecutor.runPipeline.useMutation, L.pipelineExecutor.runPipelineBatch.useMutation, L.pipelineExecutor.cacheFrameInPool.useMutation, L.pipelineExecutor.inferCached.useMutation, L.pipelineExecutor.uncacheFrame.useMutation, L.pipelineExecutor.getEffectiveTuning.useQuery, L.pipelineExecutor.listLoadedEngines.useQuery, L.pipelineExecutor.spinEngine.useMutation, L.pipelineExecutor.killEngine.useMutation, L.pipelineExecutor.listReferenceImages.useQuery, L.pipelineExecutor.getReferenceImage.useQuery, L.pipelineExecutor.getReferenceAudioFiles.useQuery, L.pipelineExecutor.getReferenceAudio.useQuery, L.pipelineExecutor.getAudioCapabilities.useQuery, L.pipelineExecutor.runAudioTest.useMutation, L.pipelineExecutor.getDetectionConfigSchema.useQuery, L.pipelineOrchestrator.pauseForStorageMigration.useMutation, L.pipelineOrchestrator.resumeForStorageMigration.useMutation, L.pipelineOrchestrator.assignPipeline.useMutation, L.pipelineOrchestrator.unassignPipeline.useMutation, L.pipelineOrchestrator.setPipelineDevicePin.useMutation, L.pipelineOrchestrator.getPipelineDevicePin.useQuery, L.pipelineOrchestrator.rebalance.useMutation, L.pipelineOrchestrator.getPipelineAssignments.useQuery, L.pipelineOrchestrator.getPipelineAssignment.useQuery, L.pipelineOrchestrator.getAgentLoad.useQuery, L.pipelineOrchestrator.getGlobalMetrics.useQuery, L.pipelineOrchestrator.getCameraMetrics.useQuery, L.pipelineOrchestrator.getCapabilityBindings.useQuery, L.pipelineOrchestrator.setCapabilityBinding.useMutation, L.pipelineOrchestrator.getIngestOwner.useQuery, L.pipelineOrchestrator.assignAudio.useMutation, L.pipelineOrchestrator.unassignAudio.useMutation, L.pipelineOrchestrator.getAudioAssignment.useQuery, L.pipelineOrchestrator.getAudioNodeLoad.useQuery, L.pipelineOrchestrator.getAudioAssignments.useQuery, L.pipelineOrchestrator.getAgentSettings.useQuery, L.pipelineOrchestrator.listAgentSettings.useQuery, L.pipelineOrchestrator.removeAgentSettings.useMutation, L.pipelineOrchestrator.setAgentMaxCameras.useMutation, L.pipelineOrchestrator.setAgentDetectWeight.useMutation, L.pipelineOrchestrator.setAgentCapabilities.useMutation, L.pipelineOrchestrator.setAgentReachableHost.useMutation, L.pipelineOrchestrator.setAgentInferenceDevices.useMutation, L.pipelineOrchestrator.getNodeInferenceDevices.useQuery, L.pipelineOrchestrator.resetNodePipelineDefaults.useMutation, L.pipelineOrchestrator.getCameraSettings.useQuery, L.pipelineOrchestrator.setCameraStepToggle.useMutation, L.pipelineOrchestrator.getCameraStepOverrides.useQuery, L.pipelineOrchestrator.setCameraStepOverride.useMutation, L.pipelineOrchestrator.setCameraPipelineForAgent.useMutation, L.pipelineOrchestrator.resolvePipeline.useQuery, L.pipelineOrchestrator.getCameraSwitches.useQuery, L.pipelineOrchestrator.setCameraSwitch.useMutation, L.pipelineOrchestrator.getCameraStatus.useQuery, L.pipelineOrchestrator.getCameraStatuses.useQuery, L.pipelineOrchestrator.reconcileFromDisk.useMutation, L.pipelineOrchestrator.getReconcileFromDiskStatus.useQuery, L.pipelineOrchestrator.listTemplates.useQuery, L.pipelineOrchestrator.saveTemplate.useMutation, L.pipelineOrchestrator.updateTemplate.useMutation, L.pipelineOrchestrator.deleteTemplate.useMutation, L.pipelineOrchestrator.getDeviceSettingsContribution.useQuery, L.pipelineOrchestrator.getDeviceLiveContribution.useQuery, L.pipelineOrchestrator.applyDeviceSettingsPatch.useMutation, L.pipelineRunner.attachCamera.useMutation, L.pipelineRunner.detachCamera.useMutation, L.pipelineRunner.reportMotion.useMutation, L.pipelineRunner.getLocalLoad.useQuery, L.pipelineRunner.getLocalMetrics.useQuery, L.pipelineRunner.getCameraMetrics.useQuery, L.pipelineRunner.getAllCameraMetrics.useQuery, L.pipelineRunner.getLocalCameras.useQuery, L.pipelineRunner.getNativeCrop.useQuery, L.pipelineRunner.runDetailSubtree.useMutation, L.pipelineRunner.runStatelessStep.useMutation, L.plateGallery.listPlates.useQuery, L.plateGallery.getPlateByTrack.useQuery, L.plateGallery.getPlateMedia.useQuery, L.plateGallery.searchPlates.useQuery, L.plateGallery.suggestPlateClusters.useQuery, L.plateGallery.correctPlateText.useMutation, L.plateGallery.deletePlate.useMutation, L.plateGallery.listVehicles.useQuery, L.plateGallery.createVehicle.useMutation, L.plateGallery.renameVehicle.useMutation, L.plateGallery.deleteVehicle.useMutation, L.plateGallery.listVehicleSamples.useQuery, L.plateGallery.removeVehicleSample.useMutation, L.plateGallery.assignPlate.useMutation, L.plateGallery.unassignPlate.useMutation, L.plateGallery.assignPlates.useMutation, L.plateGallery.unassignPlates.useMutation, L.powerMeter.getStatus.useQuery, L.presence.getStatus.useQuery, L.pressureSensor.getStatus.useQuery, L.privacyMask.getOptions.useQuery, L.privacyMask.setMask.useMutation, L.privacyMask.setAudioEnabled.useMutation, L.privacyMask.getStatus.useQuery, L.ptz.move.useMutation, L.ptz.continuousMove.useMutation, L.ptz.stop.useMutation, L.ptz.getPresets.useQuery, L.ptz.goToPreset.useMutation, L.ptz.savePreset.useMutation, L.ptz.deletePreset.useMutation, L.ptz.getOptions.useQuery, L.ptz.goHome.useMutation, L.ptz.getPosition.useQuery, L.ptz.setAutofocus.useMutation, L.ptz.getStatus.useQuery, L.ptzAutotrack.getStatus.useQuery, L.ptzAutotrack.setEnabled.useMutation, L.ptzAutotrack.getSettings.useQuery, L.ptzAutotrack.setSettings.useMutation, L.reboot.reboot.useMutation, L.recording.getAvailability.useQuery, L.recording.getAvailabilityBatch.useQuery, L.recording.getDaysWithRecordings.useQuery, L.recording.getDaysWithRecordingsBatch.useQuery, L.recording.getPlaybackManifest.useQuery, L.recording.getStorageUsage.useQuery, L.recording.getDeviceConfig.useQuery, L.recording.locateSegment.useQuery, L.recording.readSegmentBytes.useQuery, L.recording.readGopBytes.useQuery, L.recording.readWindowBytes.useQuery, L.recording.setDeviceConfig.useMutation, L.recording.rescanStorage.useMutation, L.recording.pruneFootage.useMutation, L.recording.deleteFootprint.useMutation, L.recording.listOpsLog.useQuery, L.recording.renderGif.useMutation, L.recording.renderClip.useMutation, L.recording.pauseForStorageMigration.useMutation, L.recording.resumeForStorageMigration.useMutation, L.recording.refreshStorageLocationsForMigration.useMutation, L.recording.startStorageMigrationMove.useMutation, L.recording.getStorageMigrationMoveStatus.useQuery, L.recording.cancelStorageMigrationMove.useMutation, L.recording.relocateFootage.useMutation, L.recording.listRelocateJobs.useQuery, L.recording.getRelocateResidue.useQuery, L.recording.reconcileLedgerAgainstDisk.useMutation, L.recording.cancelRelocateJob.useMutation, L.recording.planStorageRebalance.useQuery, L.recording.startStorageRebalance.useMutation, L.recording.getPlacement.useQuery, L.recording.setDevicePlacement.useMutation, L.recording.getStatus.useQuery, L.recording.getDeviceSettingsContribution.useQuery, L.recording.getDeviceLiveContribution.useQuery, L.recording.applyDeviceSettingsPatch.useMutation, L.recordingExport.createExport.useMutation, L.recordingExport.listExports.useQuery, L.recordingExport.getExport.useQuery, L.recordingExport.cancelExport.useMutation, L.recordingExport.deleteExport.useMutation, L.recordingExport.getDownloadUrl.useQuery, L.recordingExport.readExportBytes.useQuery, L.sceneMonitor.listScenes.useQuery, L.sceneMonitor.listScenesBatch.useQuery, L.sceneMonitor.createScene.useMutation, L.sceneMonitor.updateScene.useMutation, L.sceneMonitor.deleteScene.useMutation, L.sceneMonitor.captureReference.useMutation, L.sceneMonitor.deleteReference.useMutation, L.sceneMonitor.recheckNow.useMutation, L.sceneMonitor.resetScene.useMutation, L.sceneMonitor.getStatus.useQuery, L.scriptRunner.run.useMutation, L.scriptRunner.stop.useMutation, L.scriptRunner.getStatus.useQuery, L.serverManagement.getServerPackageStatus.useQuery, L.serverManagement.checkServerUpdate.useMutation, L.serverManagement.applyServerUpdate.useMutation, L.serverManagement.rollbackServerUpdate.useMutation, L.serverManagement.restartServer.useMutation, L.settingsStore.get.useQuery, L.settingsStore.set.useMutation, L.settingsStore.query.useQuery, L.settingsStore.insert.useMutation, L.settingsStore.insertMany.useMutation, L.settingsStore.update.useMutation, L.settingsStore.delete.useMutation, L.settingsStore.deleteWhere.useMutation, L.settingsStore.updateWhere.useMutation, L.settingsStore.count.useQuery, L.settingsStore.aggregate.useQuery, L.settingsStore.histogram.useQuery, L.settingsStore.isEmpty.useQuery, L.settingsStore.declareCollection.useMutation, L.smoke.getStatus.useQuery, L.snapshot.getSnapshot.useQuery, L.snapshot.invalidateCache.useMutation, L.snapshot.getSnapshotOverview.useQuery, L.snapshot.getDebugState.useQuery, L.snapshot.getSnapshotLinks.useQuery, L.snapshot.getStatus.useQuery, L.snapshot.getDeviceSettingsContribution.useQuery, L.snapshot.getDeviceLiveContribution.useQuery, L.snapshot.applyDeviceSettingsPatch.useMutation, L.storage.resolve.useQuery, L.storage.write.useMutation, L.storage.read.useQuery, L.storage.exists.useQuery, L.storage.list.useQuery, L.storage.delete.useMutation, L.storage.getAvailableSpace.useQuery, L.storage.beginUpload.useMutation, L.storage.writeChunk.useMutation, L.storage.finalizeUpload.useMutation, L.storage.abortUpload.useMutation, L.storage.beginDownload.useMutation, L.storage.readChunk.useQuery, L.storage.endDownload.useMutation, L.storage.listLocations.useQuery, L.storage.getDefaultLocation.useQuery, L.storage.listLocationDeclarations.useQuery, L.storage.upsertLocation.useMutation, L.storage.deleteLocation.useMutation, L.storage.testLocation.useQuery, L.storage.listProviders.useQuery, L.storage.testConfig.useQuery, L.storageMigration.plan.useQuery, L.storageMigration.start.useMutation, L.storageMigration.status.useQuery, L.storageMigration.cancel.useMutation, L.storageMigration.movers.useQuery, L.storageMigration.residue.useQuery, L.storageMigration.drain.useMutation, L.storageMigration.cleanupStart.useMutation, L.storageMigration.cleanupStatus.useQuery, L.storageMigration.cleanupCancel.useMutation, L.storageMigration.history.useQuery, L.streamBroker.publishCameraStream.useMutation, L.streamBroker.retractCameraStream.useMutation, L.streamBroker.assignProfile.useMutation, L.streamBroker.unassignProfile.useMutation, L.streamBroker.forgetDeviceHardware.useMutation, L.streamBroker.renderPreBufferClip.useMutation, L.streamBroker.produceEventMedia.useMutation, L.streamBroker.fetchEventMedia.useMutation, L.streamBroker.listAllCameraStreams.useQuery, L.streamBroker.listAllProfileSlots.useQuery, L.streamBroker.getBrokerStats.useQuery, L.streamBroker.probeStream.useMutation, L.streamBroker.listClients.useQuery, L.streamBroker.killClient.useMutation, L.streamBroker.restartProfile.useMutation, L.streamBroker.getStreamUrl.useQuery, L.streamBroker.getStreamWithCodec.useMutation, L.streamBroker.releaseStreamWithCodec.useMutation, L.streamBroker.acquireEgressTranscode.useMutation, L.streamBroker.releaseEgressTranscode.useMutation, L.streamBroker.subscribeAudioChunks.useMutation, L.streamBroker.pullAudioChunks.useQuery, L.streamBroker.unsubscribeAudioChunks.useMutation, L.streamBroker.subscribeFrames.useMutation, L.streamBroker.pullFrameHandles.useQuery, L.streamBroker.unsubscribeFrames.useMutation, L.streamBroker.setPreBufferDuration.useMutation, L.streamBroker.getPreBufferInfo.useQuery, L.streamBroker.getRtspPort.useQuery, L.streamBroker.getAllRtspEntries.useQuery, L.streamBroker.getRtspEntry.useQuery, L.streamBroker.regenerateRtspToken.useMutation, L.streamBroker.setRtspEnabled.useMutation, L.streamBroker.isRtspEnabled.useQuery, L.streamBroker.getDeviceAudioMute.useQuery, L.streamBroker.setDeviceAudioMute.useMutation, L.streamBroker.getDeviceSettingsContribution.useQuery, L.streamBroker.getDeviceLiveContribution.useQuery, L.streamBroker.applyDeviceSettingsPatch.useMutation, L.streamCatalog.getCatalog.useQuery, L.streamParams.getOptions.useQuery, L.streamParams.setProfile.useMutation, L.streamParams.getConfigSchema.useQuery, L.streamParams.getStatus.useQuery, L.switch.setState.useMutation, L.switch.getStatus.useQuery, L.system.info.useQuery, L.system.health.useQuery, L.system.featureFlags.useQuery, L.system.networkAddresses.useQuery, L.system.getRetentionConfig.useQuery, L.system.setRetentionConfig.useMutation, L.system.forceRetentionCleanup.useMutation, L.system.getSiteLocation.useQuery, L.system.setSiteLocation.useMutation, L.system.detectSiteLocation.useMutation, L.system.getRequestCensus.useQuery, L.system.getLoadContributions.useQuery, L.system.getFailureContributions.useQuery, L.system.getLoggingSettings.useQuery, L.system.setLoggingSettings.useMutation, L.tamper.getStatus.useQuery, L.temperatureSensor.getStatus.useQuery, L.terminalSession.listProfiles.useQuery, L.terminalSession.listInstances.useQuery, L.terminalSession.createInstance.useMutation, L.terminalSession.updateInstance.useMutation, L.terminalSession.deleteInstance.useMutation, L.terminalSession.setInstanceEnabled.useMutation, L.terminalSession.listLegacyCameras.useQuery, L.terminalSession.adoptLegacyMonitor.useMutation, L.terminalSession.listSessions.useQuery, L.terminalSession.openSession.useMutation, L.terminalSession.resize.useMutation, L.terminalSession.pullOutput.useMutation, L.terminalSession.writeInput.useMutation, L.terminalSession.close.useMutation, L.toast.onToast.useSubscription, L.turnProvider.getTurnServers.useQuery, L.update.installUpdate.useMutation, L.update.getStatus.useQuery, L.userManagement.listUsers.useQuery, L.userManagement.createUser.useMutation, L.userManagement.updateUser.useMutation, L.userManagement.deleteUser.useMutation, L.userManagement.resetPassword.useMutation, L.userManagement.setUserScopes.useMutation, L.userManagement.validateCredentials.useMutation, L.userManagement.listApiKeys.useQuery, L.userManagement.createApiKey.useMutation, L.userManagement.revokeApiKey.useMutation, L.userManagement.validateApiKey.useMutation, L.userManagement.createScopedToken.useMutation, L.userManagement.revokeScopedToken.useMutation, L.userManagement.validateScopedToken.useQuery, L.userManagement.listScopedTokens.useQuery, L.userManagement.setupTotp.useMutation, L.userManagement.confirmTotp.useMutation, L.userManagement.disableTotp.useMutation, L.userManagement.getTotpStatus.useQuery, L.userManagement.verifyTotp.useMutation, L.userManagement.oauthIssueCode.useMutation, L.userManagement.oauthExchangeCode.useMutation, L.userManagement.oauthRefresh.useMutation, L.userManagement.oauthVerifyAccessToken.useQuery, L.userManagement.listOauthSessions.useQuery, L.userManagement.revokeOauthSession.useMutation, L.vacuumControl.start.useMutation, L.vacuumControl.pause.useMutation, L.vacuumControl.stop.useMutation, L.vacuumControl.returnToBase.useMutation, L.vacuumControl.locate.useMutation, L.vacuumControl.setFanSpeed.useMutation, L.vacuumControl.getStatus.useQuery, L.valve.open.useMutation, L.valve.close.useMutation, L.valve.stop.useMutation, L.valve.setPosition.useMutation, L.valve.getStatus.useQuery, L.vibration.getStatus.useQuery, L.videoclips.listClips.useQuery, L.videoclips.getClipPlayback.useQuery, L.waterHeater.setTargetTemp.useMutation, L.waterHeater.setOperationMode.useMutation, L.waterHeater.setAway.useMutation, L.waterHeater.getStatus.useQuery, L.weather.getStatus.useQuery, L.webrtcSession.listStreams.useQuery, L.webrtcSession.createSession.useMutation, L.webrtcSession.handleOffer.useMutation, L.webrtcSession.handleAnswer.useMutation, L.webrtcSession.addIceCandidate.useMutation, L.webrtcSession.getIceCandidates.useQuery, L.webrtcSession.closeSession.useMutation, L.webrtcSession.hasAdaptiveBitrate.useQuery, L.webrtcSession.getSessionState.useQuery, L.zoneAnalytics.getCurrentSnapshot.useQuery, L.zoneAnalytics.getCurrentSnapshotBatch.useQuery, L.zoneAnalytics.getZoneHistory.useQuery, L.zoneAnalytics.getCameraHistory.useQuery, L.zoneAnalytics.getUnzonedHistory.useQuery, L.zoneRules.listRules.useQuery, L.zoneRules.setRules.useMutation, L.zones.listZones.useQuery, L.zones.addZone.useMutation, L.zones.removeZone.useMutation, L.zones.updateZone.useMutation, d(), d(), m("camstack:custom-field-renderers", {}), d(), d(), m("camstack:confirm-dialog", null), d(), m("camstack:device-context", null), d(), d(), m("camstack:widget-registry", null), d(), d();
1758
- //#endregion
1759
- //#region ../ui-library/src/hooks/use-device-capability.ts
1760
- function R(e) {
1761
- let t = h(e.trpc, e.deviceId), n = p(t === null ? void 0 : e.slice(t)), r = t === null ? void 0 : e.cap(t), i = p(t === null ? void 0 : t.state.deviceStatus), a = i?.online ?? !0, o = a ? null : i?.lastChangedAt ?? null;
1762
- return {
1763
- dev: t,
1764
- cap: r,
1765
- slice: n,
1766
- available: (e.requireFeature === void 0 || (e.deviceFeatures ?? []).includes(e.requireFeature)) && r !== void 0 && n !== void 0 && a,
1767
- online: a,
1768
- offlineSince: o
1769
- };
1770
- }
1771
- //#endregion
1772
- //#region ../ui-library/src/hooks/use-ptz.ts
1773
- d(), d();
1755
+ L.deviceManager.getChildren.useQuery, L.deviceManager.getChildrenBatch.useQuery, L.deviceManager.getLinkedDevices.useQuery, L.deviceManager.getLinkedDevicesBatch.useQuery, L.deviceManager.getStreamSources.useQuery, L.deviceManager.getConfigSchema.useQuery, L.deviceManager.getSettingsSchema.useQuery, L.deviceManager.updateConfig.useMutation, L.deviceManager.enable.useMutation, L.deviceManager.disable.useMutation, L.deviceManager.remove.useMutation, L.deviceManager.removeByIntegration.useMutation, L.deviceManager.getStreamProfileMap.useQuery, L.deviceManager.setStreamProfileMap.useMutation, L.deviceManager.probeStreams.useMutation, L.deviceManager.getBindings.useQuery, L.deviceManager.getBindingsBatch.useQuery, L.deviceManager.getAllBindings.useQuery, L.deviceManager.setWrapperActive.useMutation, L.deviceManager.listWrappersForCap.useQuery, L.deviceManager.listBindableCapsForDeviceType.useQuery, L.deviceManager.getDeviceSettingsAggregate.useQuery, L.deviceManager.getDeviceLiveInfoAggregate.useQuery, L.deviceManager.getDeviceAggregate.useQuery, L.deviceManager.runDeviceAction.useMutation, L.deviceManager.updateDeviceField.useMutation, L.deviceManager.updateDeviceFieldsBatch.useMutation, L.deviceManager.discoverDevices.useMutation, L.deviceManager.adoptDevice.useMutation, L.deviceManager.getCreationSchema.useQuery, L.deviceManager.createDevice.useMutation, L.deviceManager.testCreationField.useMutation, L.deviceManager.adoptionListCandidateFilters.useQuery, L.deviceManager.adoptionListCandidates.useQuery, L.deviceManager.adoptionRefresh.useMutation, L.deviceManager.adoptionAdopt.useMutation, L.deviceManager.adoptionRelease.useMutation, L.deviceManager.adoptionStartJob.useMutation, L.deviceManager.adoptionListJobs.useQuery, L.deviceManager.adoptionCancelJob.useMutation, L.deviceManager.adoptionResync.useMutation, L.deviceManager.discoveryProviders.useQuery, L.deviceManager.discoverAllProviders.useMutation, L.deviceManager.discoverProvider.useMutation, L.deviceManager.providerCreationType.useQuery, L.deviceManager.providerDiscoveryParamsSchema.useQuery, L.deviceManager.testField.useMutation, L.deviceManager.getDeviceStatusAggregate.useQuery, L.deviceManager.getDeviceStatusAggregateBatch.useQuery, L.deviceManager.getDeviceSettingsContribution.useQuery, L.deviceManager.getDeviceLiveContribution.useQuery, L.deviceManager.applyDeviceSettingsPatch.useMutation, L.deviceOps.getStreamSources.useQuery, L.deviceOps.getConfigEntries.useQuery, L.deviceOps.setConfig.useMutation, L.deviceOps.runAction.useMutation, L.deviceOps.removeDevice.useMutation, L.deviceOps.getSettingsSchema.useQuery, L.deviceOps.getRawState.useQuery, L.deviceProvider.start.useMutation, L.deviceProvider.stop.useMutation, L.deviceProvider.getStatus.useQuery, L.deviceProvider.getDevices.useQuery, L.deviceProvider.reloadDevice.useMutation, L.deviceProvider.supportsDiscovery.useQuery, L.deviceProvider.discoverDevices.useMutation, L.deviceProvider.getDiscoveryParamsSchema.useQuery, L.deviceProvider.getManualCreationType.useQuery, L.deviceProvider.adoptDiscoveredDevice.useMutation, L.deviceProvider.supportsManualCreation.useQuery, L.deviceProvider.getChildCreationSchema.useQuery, L.deviceProvider.createDevice.useMutation, L.deviceProvider.testCreationField.useMutation, L.deviceState.getSnapshot.useQuery, L.deviceState.getCapSlice.useQuery, L.deviceState.getAllSnapshots.useQuery, L.deviceState.setCapSlice.useMutation, L.deviceStatus.getStatus.useQuery, L.doorbell.getStatus.useQuery, L.doorbell.getDeviceSettingsContribution.useQuery, L.doorbell.getDeviceLiveContribution.useQuery, L.doorbell.applyDeviceSettingsPatch.useMutation, L.enumSensor.getStatus.useQuery, L.eventEmitter.getStatus.useQuery, L.events.getEvents.useQuery, L.events.getEventThumbnail.useQuery, L.events.getEventClipUrl.useQuery, L.faceGallery.listIdentities.useQuery, L.faceGallery.createIdentity.useMutation, L.faceGallery.renameIdentity.useMutation, L.faceGallery.deleteIdentity.useMutation, L.faceGallery.listIdentitySamples.useQuery, L.faceGallery.removeSample.useMutation, L.faceGallery.listRecentFaces.useQuery, L.faceGallery.getFaceByTrack.useQuery, L.faceGallery.getFaceMedia.useQuery, L.faceGallery.assignFace.useMutation, L.faceGallery.unassignFace.useMutation, L.faceGallery.deleteFace.useMutation, L.faceGallery.assignFaces.useMutation, L.faceGallery.unassignFaces.useMutation, L.faceGallery.suggestFaceClusters.useQuery, L.fanControl.setPercentage.useMutation, L.fanControl.setPreset.useMutation, L.fanControl.setDirection.useMutation, L.fanControl.setOscillating.useMutation, L.fanControl.getStatus.useQuery, L.featureProbe.getStatus.useQuery, L.flood.getStatus.useQuery, L.gas.getStatus.useQuery, L.humidifier.setOn.useMutation, L.humidifier.setTargetHumidity.useMutation, L.humidifier.setMode.useMutation, L.humidifier.getStatus.useQuery, L.humiditySensor.getStatus.useQuery, L.image.getStatus.useQuery, L.imageSettings.getOptions.useQuery, L.imageSettings.setSettings.useMutation, L.imageSettings.getStatus.useQuery, L.integrations.list.useQuery, L.integrations.get.useQuery, L.integrations.getByAddonId.useQuery, L.integrations.create.useMutation, L.integrations.update.useMutation, L.integrations.delete.useMutation, L.integrations.getSettings.useQuery, L.integrations.setSettings.useMutation, L.integrations.getAvailableTypes.useQuery, L.integrations.testConnection.useMutation, L.intercom.startSession.useMutation, L.intercom.handleAnswer.useMutation, L.intercom.stopSession.useMutation, L.intercom.startTalkSession.useMutation, L.intercom.pushTalkAudio.useMutation, L.intercom.endTalkSession.useMutation, L.intercom.getStatus.useQuery, L.lawnMowerControl.startMowing.useMutation, L.lawnMowerControl.pause.useMutation, L.lawnMowerControl.dock.useMutation, L.lawnMowerControl.getStatus.useQuery, L.llm.generate.useMutation, L.llm.generateVision.useMutation, L.llm.cancel.useMutation, L.llm.listProfileKinds.useQuery, L.llm.listProfiles.useQuery, L.llm.upsertProfile.useMutation, L.llm.deleteProfile.useMutation, L.llm.testProfile.useMutation, L.llm.listModels.useQuery, L.llm.getDefaults.useQuery, L.llm.setDefault.useMutation, L.llm.getUsage.useQuery, L.llm.listModelCatalog.useQuery, L.llm.listRuntimeNodes.useQuery, L.llm.listNodeModels.useQuery, L.llm.resolveModelRef.useMutation, L.llm.installModel.useMutation, L.llm.deleteModel.useMutation, L.llm.getRuntimeStatus.useQuery, L.llm.startRuntime.useMutation, L.llm.stopRuntime.useMutation, L.localNetwork.list.useQuery, L.localNetwork.getPreferred.useQuery, L.localNetwork.getConnectionEndpoints.useQuery, L.localNetwork.getNotificationEndpoint.useQuery, L.localNetwork.setNotificationEndpoint.useMutation, L.localNetwork.getViewerEndpoints.useQuery, L.localNetwork.setViewerEndpoints.useMutation, L.localNetwork.getAllowedAddresses.useQuery, L.localNetwork.setAllowedAddresses.useMutation, L.localNetwork.resetAllowlistToBestMatch.useMutation, L.localNetwork.getTlsStatus.useQuery, L.localNetwork.regenerateCertificate.useMutation, L.localNetwork.uploadCertificate.useMutation, L.localNetwork.downloadCa.useQuery, L.localNetwork.revertToGeneratedCertificate.useMutation, L.lockControl.lock.useMutation, L.lockControl.unlock.useMutation, L.lockControl.open.useMutation, L.lockControl.getStatus.useQuery, L.mediaPlayer.play.useMutation, L.mediaPlayer.pause.useMutation, L.mediaPlayer.stop.useMutation, L.mediaPlayer.next.useMutation, L.mediaPlayer.previous.useMutation, L.mediaPlayer.seek.useMutation, L.mediaPlayer.setVolume.useMutation, L.mediaPlayer.setMute.useMutation, L.mediaPlayer.setShuffle.useMutation, L.mediaPlayer.setRepeat.useMutation, L.mediaPlayer.selectSource.useMutation, L.mediaPlayer.playMedia.useMutation, L.mediaPlayer.getStatus.useQuery, L.meshNetwork.getStatus.useQuery, L.meshNetwork.join.useMutation, L.meshNetwork.startLogin.useMutation, L.meshNetwork.leave.useMutation, L.meshNetwork.logout.useMutation, L.meshNetwork.listPeers.useQuery, L.meshNetwork.testConnection.useMutation, L.metricsProvider.collectSnapshot.useQuery, L.metricsProvider.getCached.useQuery, L.metricsProvider.getCurrent.useQuery, L.metricsProvider.getDiskSpace.useQuery, L.metricsProvider.getGpuInfo.useQuery, L.metricsProvider.getCpuTemperature.useQuery, L.metricsProvider.getProcessStats.useQuery, L.metricsProvider.listAddonInstances.useQuery, L.metricsProvider.getAddonStats.useQuery, L.metricsProvider.listNodeProcesses.useQuery, L.metricsProvider.getLoadSeries.useQuery, L.motion.isDetected.useQuery, L.motion.getStatus.useQuery, L.motionDetection.analyze.useMutation, L.motionDetection.removeCamera.useMutation, L.motionDetection.reset.useMutation, L.motionDetection.getDeviceSettingsContribution.useQuery, L.motionDetection.getDeviceLiveContribution.useQuery, L.motionDetection.applyDeviceSettingsPatch.useMutation, L.motionTrigger.setMotionTrigger.useMutation, L.motionTrigger.getStatus.useQuery, L.motionZones.getOptions.useQuery, L.motionZones.setZone.useMutation, L.motionZones.getStatus.useQuery, L.mqttBroker.listBrokers.useQuery, L.mqttBroker.getBrokerConfig.useQuery, L.mqttBroker.addBroker.useMutation, L.mqttBroker.removeBroker.useMutation, L.mqttBroker.testConnection.useMutation, L.mqttBroker.startEmbeddedBroker.useMutation, L.mqttBroker.stopEmbeddedBroker.useMutation, L.mqttBroker.getStatus.useQuery, L.nativeObjectDetection.setEnabled.useMutation, L.nativeObjectDetection.getStatus.useQuery, L.networkAccess.start.useMutation, L.networkAccess.stop.useMutation, L.networkAccess.getEndpoint.useQuery, L.networkAccess.getStatus.useQuery, L.networkAccess.listEndpoints.useQuery, L.networkQuality.getDeviceStats.useQuery, L.networkQuality.getAllStats.useQuery, L.networkQuality.reportClientStats.useMutation, L.nodes.topology.useQuery, L.nodes.deployAddon.useMutation, L.nodes.undeployAddon.useMutation, L.nodes.restartAddon.useMutation, L.nodes.restartProcess.useMutation, L.nodes.restartNode.useMutation, L.nodes.shutdownNode.useMutation, L.nodes.renameNode.useMutation, L.nodes.clusterAddonStatus.useQuery, L.nodes.getCapUsageGraph.useQuery, L.nodes.getNodeAddons.useQuery, L.nodes.setProcessLogLevel.useMutation, L.nodes.executeQuery.useMutation, L.notificationOutput.listTargetKinds.useQuery, L.notificationOutput.listTargets.useQuery, L.notificationOutput.discoverTargets.useQuery, L.notificationOutput.send.useMutation, L.notificationOutput.testTarget.useMutation, L.notificationOutput.upsertTarget.useMutation, L.notificationOutput.deleteTarget.useMutation, L.notificationOutput.setTargetEnabled.useMutation, L.notificationRules.listRules.useQuery, L.notificationRules.getRule.useQuery, L.notificationRules.createRule.useMutation, L.notificationRules.updateRule.useMutation, L.notificationRules.deleteRule.useMutation, L.notificationRules.setRuleEnabled.useMutation, L.notificationRules.listDeviceMutes.useQuery, L.notificationRules.setDeviceMuted.useMutation, L.notificationRules.testRule.useMutation, L.notificationRules.getConditionCatalog.useQuery, L.notificationRules.getHistory.useQuery, L.notificationRules.resolveArtifactUrl.useQuery, L.notificationRules.listSnoozes.useQuery, L.notificationRules.createSnooze.useMutation, L.notificationRules.cancelSnooze.useMutation, L.notificationRules.getAlarmConfig.useQuery, L.notificationRules.setAlarmConfig.useMutation, L.notifier.send.useMutation, L.notifier.cancel.useMutation, L.notifier.getStatus.useQuery, L.numericSensor.getStatus.useQuery, L.osd.setOverlay.useMutation, L.osd.getStatus.useQuery, L.osdManager.getDeviceOsd.useQuery, L.osdManager.getSourceCatalog.useQuery, L.osdManager.getConditionSupport.useQuery, L.osdManager.setSlotBinding.useMutation, L.osdManager.clearSlotBinding.useMutation, L.osdManager.copyDeviceConfiguration.useMutation, L.osdManager.previewSlot.useMutation, L.osdManager.renderDevice.useMutation, L.petFeeder.feed.useMutation, L.petFeeder.cancelFeed.useMutation, L.petFeeder.resetDesiccant.useMutation, L.petFeeder.markFoodReplenished.useMutation, L.petFeeder.callPet.useMutation, L.petFeeder.playSound.useMutation, L.petFeeder.setChildLock.useMutation, L.petFeeder.setIndicatorLight.useMutation, L.petFeeder.setFeedSound.useMutation, L.petFeeder.setVolume.useMutation, L.petFeeder.getStatus.useQuery, L.pipelineAnalytics.getActiveTracks.useQuery, L.pipelineAnalytics.getTrack.useQuery, L.pipelineAnalytics.listTracks.useQuery, L.pipelineAnalytics.listRecentTracks.useQuery, L.pipelineAnalytics.clearTracks.useMutation, L.pipelineAnalytics.getMotionEvents.useQuery, L.pipelineAnalytics.getObjectEvents.useQuery, L.pipelineAnalytics.getAudioEvents.useQuery, L.pipelineAnalytics.listEventKinds.useQuery, L.pipelineAnalytics.listEventKindsBatch.useQuery, L.pipelineAnalytics.getSensorEvents.useQuery, L.pipelineAnalytics.getKeyEvents.useQuery, L.pipelineAnalytics.getKeyEventsBatch.useQuery, L.pipelineAnalytics.getEventDensity.useQuery, L.pipelineAnalytics.getEventDensityBatch.useQuery, L.pipelineAnalytics.pruneEventsBefore.useMutation, L.pipelineAnalytics.pruneTracksBefore.useMutation, L.pipelineAnalytics.wipeAllAnalytics.useMutation, L.pipelineAnalytics.reconcileFromDisk.useMutation, L.pipelineAnalytics.deleteTracks.useMutation, L.pipelineAnalytics.setTrackFlags.useMutation, L.pipelineAnalytics.getEventStoreFootprint.useQuery, L.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, L.pipelineAnalytics.pruneEvents.useMutation, L.pipelineAnalytics.deleteDeviceEvents.useMutation, L.pipelineAnalytics.pauseForStorageMigration.useMutation, L.pipelineAnalytics.resumeForStorageMigration.useMutation, L.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, L.pipelineAnalytics.startStorageMigrationMove.useMutation, L.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, L.pipelineAnalytics.cancelStorageMigrationMove.useMutation, L.pipelineAnalytics.relocateMedia.useMutation, L.pipelineAnalytics.countUnstampedEventMedia.useQuery, L.pipelineAnalytics.countRelocatableMedia.useQuery, L.pipelineAnalytics.listRelocateMediaJobs.useQuery, L.pipelineAnalytics.cancelRelocateMedia.useMutation, L.pipelineAnalytics.listOpsLog.useQuery, L.pipelineAnalytics.reclaimDebugMedia.useMutation, L.pipelineAnalytics.getMediaReclaimStatus.useQuery, L.pipelineAnalytics.getTrainingExportSummary.useQuery, L.pipelineAnalytics.getTrainingExportUrl.useQuery, L.pipelineAnalytics.listRetrainStaging.useQuery, L.pipelineAnalytics.listRetrainFrames.useQuery, L.pipelineAnalytics.selectRetrainFrames.useMutation, L.pipelineAnalytics.deselectRetrainFrame.useMutation, L.pipelineAnalytics.getRetrainFrameImage.useQuery, L.pipelineAnalytics.proposeRetrainAnnotations.useMutation, L.pipelineAnalytics.runReplayFrameProcessor.useMutation, L.pipelineAnalytics.listRetrainAnnotations.useQuery, L.pipelineAnalytics.saveRetrainAnnotations.useMutation, L.pipelineAnalytics.completeRetrainTrack.useMutation, L.pipelineAnalytics.restageRetrainTrack.useMutation, L.pipelineAnalytics.getRetrainExportUrl.useQuery, L.pipelineAnalytics.getEventMedia.useQuery, L.pipelineAnalytics.getTrackMedia.useQuery, L.pipelineAnalytics.listTrackMedia.useQuery, L.pipelineAnalytics.listEventMedia.useQuery, L.pipelineAnalytics.searchObjectEvents.useQuery, L.pipelineAnalytics.wipeObjectEmbeddings.useMutation, L.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, L.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, L.pipelineAnalytics.getDeviceSettingsContribution.useQuery, L.pipelineAnalytics.getDeviceLiveContribution.useQuery, L.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, L.pipelineExecutor.getAvailableEngines.useQuery, L.pipelineExecutor.getSelectedEngine.useQuery, L.pipelineExecutor.getDefaultSteps.useQuery, L.pipelineExecutor.getEngineProvisioning.useQuery, L.pipelineExecutor.getVideoPipelineSteps.useQuery, L.pipelineExecutor.setVideoPipelineSteps.useMutation, L.pipelineExecutor.clearDeviceOverrides.useMutation, L.pipelineExecutor.getInferenceDeviceHealth.useQuery, L.pipelineExecutor.rearmInferenceDevice.useMutation, L.pipelineExecutor.getSchema.useQuery, L.pipelineExecutor.getGlobalSteps.useQuery, L.pipelineExecutor.getGlobalPipelineConfig.useQuery, L.pipelineExecutor.getOrchestratorConfigSchema.useQuery, L.pipelineExecutor.validatePipeline.useQuery, L.pipelineExecutor.listTemplates.useQuery, L.pipelineExecutor.saveTemplate.useMutation, L.pipelineExecutor.updateTemplate.useMutation, L.pipelineExecutor.deleteTemplate.useMutation, L.pipelineExecutor.getCapabilities.useQuery, L.pipelineExecutor.getAddonModels.useQuery, L.pipelineExecutor.downloadModel.useMutation, L.pipelineExecutor.deleteModel.useMutation, L.pipelineExecutor.runPipeline.useMutation, L.pipelineExecutor.runPipelineBatch.useMutation, L.pipelineExecutor.cacheFrameInPool.useMutation, L.pipelineExecutor.inferCached.useMutation, L.pipelineExecutor.uncacheFrame.useMutation, L.pipelineExecutor.getEffectiveTuning.useQuery, L.pipelineExecutor.listLoadedEngines.useQuery, L.pipelineExecutor.spinEngine.useMutation, L.pipelineExecutor.killEngine.useMutation, L.pipelineExecutor.listReferenceImages.useQuery, L.pipelineExecutor.getReferenceImage.useQuery, L.pipelineExecutor.getReferenceAudioFiles.useQuery, L.pipelineExecutor.getReferenceAudio.useQuery, L.pipelineExecutor.getAudioCapabilities.useQuery, L.pipelineExecutor.runAudioTest.useMutation, L.pipelineExecutor.getDetectionConfigSchema.useQuery, L.pipelineOrchestrator.pauseForStorageMigration.useMutation, L.pipelineOrchestrator.resumeForStorageMigration.useMutation, L.pipelineOrchestrator.assignPipeline.useMutation, L.pipelineOrchestrator.unassignPipeline.useMutation, L.pipelineOrchestrator.setPipelineDevicePin.useMutation, L.pipelineOrchestrator.getPipelineDevicePin.useQuery, L.pipelineOrchestrator.rebalance.useMutation, L.pipelineOrchestrator.getPipelineAssignments.useQuery, L.pipelineOrchestrator.getPipelineAssignment.useQuery, L.pipelineOrchestrator.getAgentLoad.useQuery, L.pipelineOrchestrator.getGlobalMetrics.useQuery, L.pipelineOrchestrator.getCameraMetrics.useQuery, L.pipelineOrchestrator.getCapabilityBindings.useQuery, L.pipelineOrchestrator.setCapabilityBinding.useMutation, L.pipelineOrchestrator.getIngestOwner.useQuery, L.pipelineOrchestrator.assignAudio.useMutation, L.pipelineOrchestrator.unassignAudio.useMutation, L.pipelineOrchestrator.getAudioAssignment.useQuery, L.pipelineOrchestrator.getAudioNodeLoad.useQuery, L.pipelineOrchestrator.getAudioAssignments.useQuery, L.pipelineOrchestrator.getAgentSettings.useQuery, L.pipelineOrchestrator.listAgentSettings.useQuery, L.pipelineOrchestrator.removeAgentSettings.useMutation, L.pipelineOrchestrator.setAgentMaxCameras.useMutation, L.pipelineOrchestrator.setAgentDetectWeight.useMutation, L.pipelineOrchestrator.setAgentCapabilities.useMutation, L.pipelineOrchestrator.setAgentReachableHost.useMutation, L.pipelineOrchestrator.setAgentInferenceDevices.useMutation, L.pipelineOrchestrator.getNodeInferenceDevices.useQuery, L.pipelineOrchestrator.resetNodePipelineDefaults.useMutation, L.pipelineOrchestrator.getCameraSettings.useQuery, L.pipelineOrchestrator.setCameraStepToggle.useMutation, L.pipelineOrchestrator.getCameraStepOverrides.useQuery, L.pipelineOrchestrator.setCameraStepOverride.useMutation, L.pipelineOrchestrator.setCameraPipelineForAgent.useMutation, L.pipelineOrchestrator.resolvePipeline.useQuery, L.pipelineOrchestrator.getCameraSwitches.useQuery, L.pipelineOrchestrator.setCameraSwitch.useMutation, L.pipelineOrchestrator.getCameraStatus.useQuery, L.pipelineOrchestrator.getCameraStatuses.useQuery, L.pipelineOrchestrator.reconcileFromDisk.useMutation, L.pipelineOrchestrator.getReconcileFromDiskStatus.useQuery, L.pipelineOrchestrator.listTemplates.useQuery, L.pipelineOrchestrator.saveTemplate.useMutation, L.pipelineOrchestrator.updateTemplate.useMutation, L.pipelineOrchestrator.deleteTemplate.useMutation, L.pipelineOrchestrator.getDeviceSettingsContribution.useQuery, L.pipelineOrchestrator.getDeviceLiveContribution.useQuery, L.pipelineOrchestrator.applyDeviceSettingsPatch.useMutation, L.pipelineRunner.attachCamera.useMutation, L.pipelineRunner.detachCamera.useMutation, L.pipelineRunner.reportMotion.useMutation, L.pipelineRunner.getLocalLoad.useQuery, L.pipelineRunner.getLocalMetrics.useQuery, L.pipelineRunner.getCameraMetrics.useQuery, L.pipelineRunner.getAllCameraMetrics.useQuery, L.pipelineRunner.getLocalCameras.useQuery, L.pipelineRunner.getNativeCrop.useQuery, L.pipelineRunner.runDetailSubtree.useMutation, L.pipelineRunner.runStatelessStep.useMutation, L.plateGallery.listPlates.useQuery, L.plateGallery.getPlateByTrack.useQuery, L.plateGallery.getPlateMedia.useQuery, L.plateGallery.searchPlates.useQuery, L.plateGallery.suggestPlateClusters.useQuery, L.plateGallery.correctPlateText.useMutation, L.plateGallery.deletePlate.useMutation, L.plateGallery.listVehicles.useQuery, L.plateGallery.createVehicle.useMutation, L.plateGallery.renameVehicle.useMutation, L.plateGallery.deleteVehicle.useMutation, L.plateGallery.listVehicleSamples.useQuery, L.plateGallery.removeVehicleSample.useMutation, L.plateGallery.assignPlate.useMutation, L.plateGallery.unassignPlate.useMutation, L.plateGallery.assignPlates.useMutation, L.plateGallery.unassignPlates.useMutation, L.powerMeter.getStatus.useQuery, L.presence.getStatus.useQuery, L.pressureSensor.getStatus.useQuery, L.privacyMask.getOptions.useQuery, L.privacyMask.setMask.useMutation, L.privacyMask.setAudioEnabled.useMutation, L.privacyMask.getStatus.useQuery, L.ptz.move.useMutation, L.ptz.continuousMove.useMutation, L.ptz.stop.useMutation, L.ptz.getPresets.useQuery, L.ptz.goToPreset.useMutation, L.ptz.savePreset.useMutation, L.ptz.deletePreset.useMutation, L.ptz.getOptions.useQuery, L.ptz.goHome.useMutation, L.ptz.getPosition.useQuery, L.ptz.setAutofocus.useMutation, L.ptz.getStatus.useQuery, L.ptzAutotrack.getStatus.useQuery, L.ptzAutotrack.setEnabled.useMutation, L.ptzAutotrack.getSettings.useQuery, L.ptzAutotrack.setSettings.useMutation, L.reboot.reboot.useMutation, L.recording.getAvailability.useQuery, L.recording.getAvailabilityBatch.useQuery, L.recording.getDaysWithRecordings.useQuery, L.recording.getDaysWithRecordingsBatch.useQuery, L.recording.getPlaybackManifest.useQuery, L.recording.getStorageUsage.useQuery, L.recording.getDeviceConfig.useQuery, L.recording.locateSegment.useQuery, L.recording.readSegmentBytes.useQuery, L.recording.readGopBytes.useQuery, L.recording.readWindowBytes.useQuery, L.recording.setDeviceConfig.useMutation, L.recording.rescanStorage.useMutation, L.recording.pruneFootage.useMutation, L.recording.deleteFootprint.useMutation, L.recording.listOpsLog.useQuery, L.recording.renderGif.useMutation, L.recording.renderClip.useMutation, L.recording.pauseForStorageMigration.useMutation, L.recording.resumeForStorageMigration.useMutation, L.recording.refreshStorageLocationsForMigration.useMutation, L.recording.startStorageMigrationMove.useMutation, L.recording.getStorageMigrationMoveStatus.useQuery, L.recording.cancelStorageMigrationMove.useMutation, L.recording.relocateFootage.useMutation, L.recording.listRelocateJobs.useQuery, L.recording.getRelocateResidue.useQuery, L.recording.reconcileLedgerAgainstDisk.useMutation, L.recording.cancelRelocateJob.useMutation, L.recording.planStorageRebalance.useQuery, L.recording.startStorageRebalance.useMutation, L.recording.getPlacement.useQuery, L.recording.setDevicePlacement.useMutation, L.recording.getStatus.useQuery, L.recording.getDeviceSettingsContribution.useQuery, L.recording.getDeviceLiveContribution.useQuery, L.recording.applyDeviceSettingsPatch.useMutation, L.recordingExport.createExport.useMutation, L.recordingExport.listExports.useQuery, L.recordingExport.getExport.useQuery, L.recordingExport.cancelExport.useMutation, L.recordingExport.deleteExport.useMutation, L.recordingExport.getDownloadUrl.useQuery, L.recordingExport.readExportBytes.useQuery, L.sceneMonitor.listScenes.useQuery, L.sceneMonitor.listScenesBatch.useQuery, L.sceneMonitor.createScene.useMutation, L.sceneMonitor.updateScene.useMutation, L.sceneMonitor.deleteScene.useMutation, L.sceneMonitor.captureReference.useMutation, L.sceneMonitor.deleteReference.useMutation, L.sceneMonitor.recheckNow.useMutation, L.sceneMonitor.resetScene.useMutation, L.sceneMonitor.getStatus.useQuery, L.scriptRunner.run.useMutation, L.scriptRunner.stop.useMutation, L.scriptRunner.getStatus.useQuery, L.serverManagement.getServerPackageStatus.useQuery, L.serverManagement.checkServerUpdate.useMutation, L.serverManagement.applyServerUpdate.useMutation, L.serverManagement.rollbackServerUpdate.useMutation, L.serverManagement.restartServer.useMutation, L.settingsStore.get.useQuery, L.settingsStore.set.useMutation, L.settingsStore.query.useQuery, L.settingsStore.insert.useMutation, L.settingsStore.insertMany.useMutation, L.settingsStore.update.useMutation, L.settingsStore.delete.useMutation, L.settingsStore.deleteWhere.useMutation, L.settingsStore.updateWhere.useMutation, L.settingsStore.count.useQuery, L.settingsStore.aggregate.useQuery, L.settingsStore.histogram.useQuery, L.settingsStore.isEmpty.useQuery, L.settingsStore.declareCollection.useMutation, L.smoke.getStatus.useQuery, L.snapshot.getSnapshot.useQuery, L.snapshot.invalidateCache.useMutation, L.snapshot.getSnapshotOverview.useQuery, L.snapshot.getDebugState.useQuery, L.snapshot.getSnapshotLinks.useQuery, L.snapshot.getStatus.useQuery, L.snapshot.getDeviceSettingsContribution.useQuery, L.snapshot.getDeviceLiveContribution.useQuery, L.snapshot.applyDeviceSettingsPatch.useMutation, L.storage.resolve.useQuery, L.storage.write.useMutation, L.storage.read.useQuery, L.storage.exists.useQuery, L.storage.list.useQuery, L.storage.delete.useMutation, L.storage.getAvailableSpace.useQuery, L.storage.beginUpload.useMutation, L.storage.writeChunk.useMutation, L.storage.finalizeUpload.useMutation, L.storage.abortUpload.useMutation, L.storage.beginDownload.useMutation, L.storage.readChunk.useQuery, L.storage.endDownload.useMutation, L.storage.listLocations.useQuery, L.storage.getDefaultLocation.useQuery, L.storage.listLocationDeclarations.useQuery, L.storage.upsertLocation.useMutation, L.storage.deleteLocation.useMutation, L.storage.testLocation.useQuery, L.storage.listProviders.useQuery, L.storage.testConfig.useQuery, L.storageMigration.plan.useQuery, L.storageMigration.start.useMutation, L.storageMigration.status.useQuery, L.storageMigration.cancel.useMutation, L.storageMigration.movers.useQuery, L.storageMigration.residue.useQuery, L.storageMigration.drain.useMutation, L.storageMigration.cleanupStart.useMutation, L.storageMigration.cleanupStatus.useQuery, L.storageMigration.cleanupCancel.useMutation, L.storageMigration.history.useQuery, L.streamBroker.publishCameraStream.useMutation, L.streamBroker.retractCameraStream.useMutation, L.streamBroker.assignProfile.useMutation, L.streamBroker.unassignProfile.useMutation, L.streamBroker.forgetDeviceHardware.useMutation, L.streamBroker.renderPreBufferClip.useMutation, L.streamBroker.produceEventMedia.useMutation, L.streamBroker.fetchEventMedia.useMutation, L.streamBroker.listAllCameraStreams.useQuery, L.streamBroker.listAllProfileSlots.useQuery, L.streamBroker.getBrokerStats.useQuery, L.streamBroker.probeStream.useMutation, L.streamBroker.listClients.useQuery, L.streamBroker.killClient.useMutation, L.streamBroker.restartProfile.useMutation, L.streamBroker.getStreamUrl.useQuery, L.streamBroker.getStreamWithCodec.useMutation, L.streamBroker.releaseStreamWithCodec.useMutation, L.streamBroker.acquireEgressTranscode.useMutation, L.streamBroker.releaseEgressTranscode.useMutation, L.streamBroker.subscribeAudioChunks.useMutation, L.streamBroker.pullAudioChunks.useQuery, L.streamBroker.unsubscribeAudioChunks.useMutation, L.streamBroker.subscribeFrames.useMutation, L.streamBroker.pullFrameHandles.useQuery, L.streamBroker.unsubscribeFrames.useMutation, L.streamBroker.setPreBufferDuration.useMutation, L.streamBroker.getPreBufferInfo.useQuery, L.streamBroker.getRtspPort.useQuery, L.streamBroker.getAllRtspEntries.useQuery, L.streamBroker.getRtspEntry.useQuery, L.streamBroker.regenerateRtspToken.useMutation, L.streamBroker.setRtspEnabled.useMutation, L.streamBroker.isRtspEnabled.useQuery, L.streamBroker.getDeviceAudioMute.useQuery, L.streamBroker.setDeviceAudioMute.useMutation, L.streamBroker.getDeviceSettingsContribution.useQuery, L.streamBroker.getDeviceLiveContribution.useQuery, L.streamBroker.applyDeviceSettingsPatch.useMutation, L.streamCatalog.getCatalog.useQuery, L.streamParams.getOptions.useQuery, L.streamParams.setProfile.useMutation, L.streamParams.getConfigSchema.useQuery, L.streamParams.getStatus.useQuery, L.switch.setState.useMutation, L.switch.getStatus.useQuery, L.system.info.useQuery, L.system.health.useQuery, L.system.featureFlags.useQuery, L.system.networkAddresses.useQuery, L.system.getRetentionConfig.useQuery, L.system.setRetentionConfig.useMutation, L.system.forceRetentionCleanup.useMutation, L.system.getSiteLocation.useQuery, L.system.setSiteLocation.useMutation, L.system.detectSiteLocation.useMutation, L.system.getRequestCensus.useQuery, L.system.getLoadContributions.useQuery, L.system.getFailureContributions.useQuery, L.system.getLoggingSettings.useQuery, L.system.setLoggingSettings.useMutation, L.tamper.getStatus.useQuery, L.temperatureSensor.getStatus.useQuery, L.terminalSession.listProfiles.useQuery, L.terminalSession.listInstances.useQuery, L.terminalSession.createInstance.useMutation, L.terminalSession.updateInstance.useMutation, L.terminalSession.deleteInstance.useMutation, L.terminalSession.setInstanceEnabled.useMutation, L.terminalSession.listLegacyCameras.useQuery, L.terminalSession.adoptLegacyMonitor.useMutation, L.terminalSession.listSessions.useQuery, L.terminalSession.openSession.useMutation, L.terminalSession.resize.useMutation, L.terminalSession.pullOutput.useMutation, L.terminalSession.writeInput.useMutation, L.terminalSession.close.useMutation, L.toast.onToast.useSubscription, L.turnProvider.getTurnServers.useQuery, L.update.installUpdate.useMutation, L.update.getStatus.useQuery, L.userManagement.listUsers.useQuery, L.userManagement.createUser.useMutation, L.userManagement.updateUser.useMutation, L.userManagement.deleteUser.useMutation, L.userManagement.resetPassword.useMutation, L.userManagement.setUserScopes.useMutation, L.userManagement.validateCredentials.useMutation, L.userManagement.listApiKeys.useQuery, L.userManagement.createApiKey.useMutation, L.userManagement.revokeApiKey.useMutation, L.userManagement.validateApiKey.useMutation, L.userManagement.createScopedToken.useMutation, L.userManagement.revokeScopedToken.useMutation, L.userManagement.validateScopedToken.useQuery, L.userManagement.listScopedTokens.useQuery, L.userManagement.setupTotp.useMutation, L.userManagement.confirmTotp.useMutation, L.userManagement.disableTotp.useMutation, L.userManagement.getTotpStatus.useQuery, L.userManagement.verifyTotp.useMutation, L.userManagement.oauthIssueCode.useMutation, L.userManagement.oauthExchangeCode.useMutation, L.userManagement.oauthRefresh.useMutation, L.userManagement.oauthVerifyAccessToken.useQuery, L.userManagement.listOauthSessions.useQuery, L.userManagement.revokeOauthSession.useMutation, L.vacuumControl.start.useMutation, L.vacuumControl.pause.useMutation, L.vacuumControl.stop.useMutation, L.vacuumControl.returnToBase.useMutation, L.vacuumControl.locate.useMutation, L.vacuumControl.setFanSpeed.useMutation, L.vacuumControl.getStatus.useQuery, L.valve.open.useMutation, L.valve.close.useMutation, L.valve.stop.useMutation, L.valve.setPosition.useMutation, L.valve.getStatus.useQuery, L.vibration.getStatus.useQuery, L.videoclips.listClips.useQuery, L.videoclips.getClipPlayback.useQuery, L.waterHeater.setTargetTemp.useMutation, L.waterHeater.setOperationMode.useMutation, L.waterHeater.setAway.useMutation, L.waterHeater.getStatus.useQuery, L.weather.getStatus.useQuery, L.webrtcSession.listStreams.useQuery, L.webrtcSession.createSession.useMutation, L.webrtcSession.handleOffer.useMutation, L.webrtcSession.handleAnswer.useMutation, L.webrtcSession.addIceCandidate.useMutation, L.webrtcSession.getIceCandidates.useQuery, L.webrtcSession.closeSession.useMutation, L.webrtcSession.hasAdaptiveBitrate.useQuery, L.webrtcSession.getSessionState.useQuery, L.zoneAnalytics.getCurrentSnapshot.useQuery, L.zoneAnalytics.getCurrentSnapshotBatch.useQuery, L.zoneAnalytics.getZoneHistory.useQuery, L.zoneAnalytics.getCameraHistory.useQuery, L.zoneAnalytics.getUnzonedHistory.useQuery, L.zoneRules.listRules.useQuery, L.zoneRules.setRules.useMutation, L.zones.listZones.useQuery, L.zones.addZone.useMutation, L.zones.removeZone.useMutation, L.zones.updateZone.useMutation;
1774
1756
  //#endregion
1775
1757
  //#region ../../node_modules/clsx/dist/clsx.mjs
1776
1758
  function fn(e) {
@@ -2017,7 +1999,7 @@ var mn = (e, t) => {
2017
1999
  }, Kn = [], qn = (e) => {
2018
2000
  let t = (t) => t[e] || Kn;
2019
2001
  return t.isThemeGetter = !0, t;
2020
- }, Jn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, $n = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, er = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nr = (e) => Xn.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), rr = (e) => !!e && Number.isInteger(Number(e)), ir = (e) => e.endsWith("%") && z(e.slice(0, -1)), ar = (e) => Zn.test(e), or = () => !0, sr = (e) => Qn.test(e) && !$n.test(e), cr = () => !1, lr = (e) => er.test(e), ur = (e) => tr.test(e), dr = (e) => !B(e) && !V(e), fr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), pr = (e) => Or(e, Mr, cr), B = (e) => Jn.test(e), mr = (e) => Or(e, Nr, sr), hr = (e) => Or(e, Pr, z), gr = (e) => Or(e, Ir, or), _r = (e) => Or(e, Fr, cr), vr = (e) => Or(e, Ar, cr), yr = (e) => Or(e, jr, ur), br = (e) => Or(e, Lr, lr), V = (e) => Yn.test(e), xr = (e) => kr(e, Nr), Sr = (e) => kr(e, Fr), Cr = (e) => kr(e, Ar), wr = (e) => kr(e, Mr), Tr = (e) => kr(e, jr), Er = (e) => kr(e, Lr, !0), Dr = (e) => kr(e, Ir, !0), Or = (e, t, n) => {
2002
+ }, Jn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, $n = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, er = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nr = (e) => Xn.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), rr = (e) => !!e && Number.isInteger(Number(e)), ir = (e) => e.endsWith("%") && R(e.slice(0, -1)), ar = (e) => Zn.test(e), or = () => !0, sr = (e) => Qn.test(e) && !$n.test(e), cr = () => !1, lr = (e) => er.test(e), ur = (e) => tr.test(e), dr = (e) => !z(e) && !B(e), fr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), pr = (e) => Or(e, Mr, cr), z = (e) => Jn.test(e), mr = (e) => Or(e, Nr, sr), hr = (e) => Or(e, Pr, R), gr = (e) => Or(e, Ir, or), _r = (e) => Or(e, Fr, cr), vr = (e) => Or(e, Ar, cr), yr = (e) => Or(e, jr, ur), br = (e) => Or(e, Lr, lr), B = (e) => Yn.test(e), xr = (e) => kr(e, Nr), Sr = (e) => kr(e, Fr), Cr = (e) => kr(e, Ar), wr = (e) => kr(e, Mr), Tr = (e) => kr(e, jr), Er = (e) => kr(e, Lr, !0), Dr = (e) => kr(e, Ir, !0), Or = (e, t, n) => {
2021
2003
  let r = Jn.exec(e);
2022
2004
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
2023
2005
  }, kr = (e, t, n = !1) => {
@@ -2049,8 +2031,8 @@ var mn = (e, t) => {
2049
2031
  "left-bottom"
2050
2032
  ], x = () => [
2051
2033
  ...b(),
2052
- V,
2053
- B
2034
+ B,
2035
+ z
2054
2036
  ], S = () => [
2055
2037
  "auto",
2056
2038
  "hidden",
@@ -2062,8 +2044,8 @@ var mn = (e, t) => {
2062
2044
  "contain",
2063
2045
  "none"
2064
2046
  ], w = () => [
2065
- V,
2066
2047
  B,
2048
+ z,
2067
2049
  c
2068
2050
  ], T = () => [
2069
2051
  nr,
@@ -2074,31 +2056,31 @@ var mn = (e, t) => {
2074
2056
  rr,
2075
2057
  "none",
2076
2058
  "subgrid",
2077
- V,
2078
- B
2059
+ B,
2060
+ z
2079
2061
  ], D = () => [
2080
2062
  "auto",
2081
2063
  { span: [
2082
2064
  "full",
2083
2065
  rr,
2084
- V,
2085
- B
2066
+ B,
2067
+ z
2086
2068
  ] },
2087
2069
  rr,
2088
- V,
2089
- B
2070
+ B,
2071
+ z
2090
2072
  ], ee = () => [
2091
2073
  rr,
2092
2074
  "auto",
2093
- V,
2094
- B
2075
+ B,
2076
+ z
2095
2077
  ], te = () => [
2096
2078
  "auto",
2097
2079
  "min",
2098
2080
  "max",
2099
2081
  "fr",
2100
- V,
2101
- B
2082
+ B,
2083
+ z
2102
2084
  ], ne = () => [
2103
2085
  "start",
2104
2086
  "end",
@@ -2156,13 +2138,13 @@ var mn = (e, t) => {
2156
2138
  ...w()
2157
2139
  ], M = () => [
2158
2140
  e,
2159
- V,
2160
- B
2141
+ B,
2142
+ z
2161
2143
  ], ie = () => [
2162
2144
  ...b(),
2163
2145
  Cr,
2164
2146
  vr,
2165
- { position: [V, B] }
2147
+ { position: [B, z] }
2166
2148
  ], ae = () => ["no-repeat", { repeat: [
2167
2149
  "",
2168
2150
  "x",
@@ -2175,7 +2157,7 @@ var mn = (e, t) => {
2175
2157
  "contain",
2176
2158
  wr,
2177
2159
  pr,
2178
- { size: [V, B] }
2160
+ { size: [B, z] }
2179
2161
  ], N = () => [
2180
2162
  ir,
2181
2163
  xr,
@@ -2185,11 +2167,11 @@ var mn = (e, t) => {
2185
2167
  "none",
2186
2168
  "full",
2187
2169
  l,
2188
- V,
2189
- B
2170
+ B,
2171
+ z
2190
2172
  ], F = () => [
2191
2173
  "",
2192
- z,
2174
+ R,
2193
2175
  xr,
2194
2176
  mr
2195
2177
  ], se = () => [
@@ -2215,7 +2197,7 @@ var mn = (e, t) => {
2215
2197
  "color",
2216
2198
  "luminosity"
2217
2199
  ], I = () => [
2218
- z,
2200
+ R,
2219
2201
  ir,
2220
2202
  Cr,
2221
2203
  vr
@@ -2223,22 +2205,22 @@ var mn = (e, t) => {
2223
2205
  "",
2224
2206
  "none",
2225
2207
  m,
2226
- V,
2227
- B
2208
+ B,
2209
+ z
2228
2210
  ], ue = () => [
2229
2211
  "none",
2230
- z,
2231
- V,
2232
- B
2212
+ R,
2213
+ B,
2214
+ z
2233
2215
  ], de = () => [
2234
2216
  "none",
2235
- z,
2236
- V,
2237
- B
2217
+ R,
2218
+ B,
2219
+ z
2238
2220
  ], fe = () => [
2239
- z,
2240
- V,
2241
- B
2221
+ R,
2222
+ B,
2223
+ z
2242
2224
  ], pe = () => [
2243
2225
  nr,
2244
2226
  "full",
@@ -2295,7 +2277,7 @@ var mn = (e, t) => {
2295
2277
  ],
2296
2278
  radius: [ar],
2297
2279
  shadow: [ar],
2298
- spacing: ["px", z],
2280
+ spacing: ["px", R],
2299
2281
  text: [ar],
2300
2282
  "text-shadow": [ar],
2301
2283
  tracking: [
@@ -2312,8 +2294,8 @@ var mn = (e, t) => {
2312
2294
  "auto",
2313
2295
  "square",
2314
2296
  nr,
2297
+ z,
2315
2298
  B,
2316
- V,
2317
2299
  g
2318
2300
  ] }],
2319
2301
  container: ["container"],
@@ -2321,14 +2303,14 @@ var mn = (e, t) => {
2321
2303
  "",
2322
2304
  "normal",
2323
2305
  "size",
2324
- V,
2325
- B
2306
+ B,
2307
+ z
2326
2308
  ] }],
2327
2309
  "container-named": [fr],
2328
2310
  columns: [{ columns: [
2311
+ R,
2329
2312
  z,
2330
2313
  B,
2331
- V,
2332
2314
  s
2333
2315
  ] }],
2334
2316
  "break-after": [{ "break-after": y() }],
@@ -2427,8 +2409,8 @@ var mn = (e, t) => {
2427
2409
  z: [{ z: [
2428
2410
  rr,
2429
2411
  "auto",
2430
- V,
2431
- B
2412
+ B,
2413
+ z
2432
2414
  ] }],
2433
2415
  basis: [{ basis: [
2434
2416
  nr,
@@ -2449,32 +2431,32 @@ var mn = (e, t) => {
2449
2431
  "wrap-reverse"
2450
2432
  ] }],
2451
2433
  flex: [{ flex: [
2452
- z,
2434
+ R,
2453
2435
  nr,
2454
2436
  "auto",
2455
2437
  "initial",
2456
2438
  "none",
2457
- B
2439
+ z
2458
2440
  ] }],
2459
2441
  grow: [{ grow: [
2460
2442
  "",
2461
- z,
2462
- V,
2463
- B
2443
+ R,
2444
+ B,
2445
+ z
2464
2446
  ] }],
2465
2447
  shrink: [{ shrink: [
2466
2448
  "",
2467
- z,
2468
- V,
2469
- B
2449
+ R,
2450
+ B,
2451
+ z
2470
2452
  ] }],
2471
2453
  order: [{ order: [
2472
2454
  rr,
2473
2455
  "first",
2474
2456
  "last",
2475
2457
  "none",
2476
- V,
2477
- B
2458
+ B,
2459
+ z
2478
2460
  ] }],
2479
2461
  "grid-cols": [{ "grid-cols": E() }],
2480
2462
  "col-start-end": [{ col: D() }],
@@ -2601,14 +2583,14 @@ var mn = (e, t) => {
2601
2583
  "extra-expanded",
2602
2584
  "ultra-expanded",
2603
2585
  ir,
2604
- B
2586
+ z
2605
2587
  ] }],
2606
2588
  "font-family": [{ font: [
2607
2589
  Sr,
2608
2590
  _r,
2609
2591
  t
2610
2592
  ] }],
2611
- "font-features": [{ "font-features": [B] }],
2593
+ "font-features": [{ "font-features": [z] }],
2612
2594
  "fvn-normal": ["normal-nums"],
2613
2595
  "fvn-ordinal": ["ordinal"],
2614
2596
  "fvn-slashed-zero": ["slashed-zero"],
@@ -2617,28 +2599,28 @@ var mn = (e, t) => {
2617
2599
  "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
2618
2600
  tracking: [{ tracking: [
2619
2601
  i,
2620
- V,
2621
- B
2602
+ B,
2603
+ z
2622
2604
  ] }],
2623
2605
  "line-clamp": [{ "line-clamp": [
2624
- z,
2606
+ R,
2625
2607
  "none",
2626
- V,
2608
+ B,
2627
2609
  hr
2628
2610
  ] }],
2629
2611
  leading: [{ leading: [a, ...w()] }],
2630
2612
  "list-image": [{ "list-image": [
2631
2613
  "none",
2632
- V,
2633
- B
2614
+ B,
2615
+ z
2634
2616
  ] }],
2635
2617
  "list-style-position": [{ list: ["inside", "outside"] }],
2636
2618
  "list-style-type": [{ list: [
2637
2619
  "disc",
2638
2620
  "decimal",
2639
2621
  "none",
2640
- V,
2641
- B
2622
+ B,
2623
+ z
2642
2624
  ] }],
2643
2625
  "text-alignment": [{ text: [
2644
2626
  "left",
@@ -2658,18 +2640,18 @@ var mn = (e, t) => {
2658
2640
  ],
2659
2641
  "text-decoration-style": [{ decoration: [...se(), "wavy"] }],
2660
2642
  "text-decoration-thickness": [{ decoration: [
2661
- z,
2643
+ R,
2662
2644
  "from-font",
2663
2645
  "auto",
2664
- V,
2646
+ B,
2665
2647
  mr
2666
2648
  ] }],
2667
2649
  "text-decoration-color": [{ decoration: M() }],
2668
2650
  "underline-offset": [{ "underline-offset": [
2669
- z,
2651
+ R,
2670
2652
  "auto",
2671
- V,
2672
- B
2653
+ B,
2654
+ z
2673
2655
  ] }],
2674
2656
  "text-transform": [
2675
2657
  "uppercase",
@@ -2691,8 +2673,8 @@ var mn = (e, t) => {
2691
2673
  indent: [{ indent: w() }],
2692
2674
  "tab-size": [{ tab: [
2693
2675
  rr,
2694
- V,
2695
- B
2676
+ B,
2677
+ z
2696
2678
  ] }],
2697
2679
  "vertical-align": [{ align: [
2698
2680
  "baseline",
@@ -2703,8 +2685,8 @@ var mn = (e, t) => {
2703
2685
  "text-bottom",
2704
2686
  "sub",
2705
2687
  "super",
2706
- V,
2707
- B
2688
+ B,
2689
+ z
2708
2690
  ] }],
2709
2691
  whitespace: [{ whitespace: [
2710
2692
  "normal",
@@ -2732,8 +2714,8 @@ var mn = (e, t) => {
2732
2714
  ] }],
2733
2715
  content: [{ content: [
2734
2716
  "none",
2735
- V,
2736
- B
2717
+ B,
2718
+ z
2737
2719
  ] }],
2738
2720
  "bg-attachment": [{ bg: [
2739
2721
  "fixed",
@@ -2769,18 +2751,18 @@ var mn = (e, t) => {
2769
2751
  "tl"
2770
2752
  ] },
2771
2753
  rr,
2772
- V,
2773
- B
2754
+ B,
2755
+ z
2774
2756
  ],
2775
2757
  radial: [
2776
2758
  "",
2777
- V,
2778
- B
2759
+ B,
2760
+ z
2779
2761
  ],
2780
2762
  conic: [
2781
2763
  rr,
2782
- V,
2783
- B
2764
+ B,
2765
+ z
2784
2766
  ]
2785
2767
  },
2786
2768
  Tr,
@@ -2851,13 +2833,13 @@ var mn = (e, t) => {
2851
2833
  "hidden"
2852
2834
  ] }],
2853
2835
  "outline-offset": [{ "outline-offset": [
2854
- z,
2855
- V,
2856
- B
2836
+ R,
2837
+ B,
2838
+ z
2857
2839
  ] }],
2858
2840
  "outline-w": [{ outline: [
2859
2841
  "",
2860
- z,
2842
+ R,
2861
2843
  xr,
2862
2844
  mr
2863
2845
  ] }],
@@ -2880,7 +2862,7 @@ var mn = (e, t) => {
2880
2862
  "ring-w": [{ ring: F() }],
2881
2863
  "ring-w-inset": ["ring-inset"],
2882
2864
  "ring-color": [{ ring: M() }],
2883
- "ring-offset-w": [{ "ring-offset": [z, mr] }],
2865
+ "ring-offset-w": [{ "ring-offset": [R, mr] }],
2884
2866
  "ring-offset-color": [{ "ring-offset": M() }],
2885
2867
  "inset-ring-w": [{ "inset-ring": F() }],
2886
2868
  "inset-ring-color": [{ "inset-ring": M() }],
@@ -2892,9 +2874,9 @@ var mn = (e, t) => {
2892
2874
  ] }],
2893
2875
  "text-shadow-color": [{ "text-shadow": M() }],
2894
2876
  opacity: [{ opacity: [
2895
- z,
2896
- V,
2897
- B
2877
+ R,
2878
+ B,
2879
+ z
2898
2880
  ] }],
2899
2881
  "mix-blend": [{ "mix-blend": [
2900
2882
  ...ce(),
@@ -2916,7 +2898,7 @@ var mn = (e, t) => {
2916
2898
  "intersect",
2917
2899
  "exclude"
2918
2900
  ] }],
2919
- "mask-image-linear-pos": [{ "mask-linear": [z] }],
2901
+ "mask-image-linear-pos": [{ "mask-linear": [R] }],
2920
2902
  "mask-image-linear-from-pos": [{ "mask-linear-from": I() }],
2921
2903
  "mask-image-linear-to-pos": [{ "mask-linear-to": I() }],
2922
2904
  "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
@@ -2945,7 +2927,7 @@ var mn = (e, t) => {
2945
2927
  "mask-image-y-to-pos": [{ "mask-y-to": I() }],
2946
2928
  "mask-image-y-from-color": [{ "mask-y-from": M() }],
2947
2929
  "mask-image-y-to-color": [{ "mask-y-to": M() }],
2948
- "mask-image-radial": [{ "mask-radial": [V, B] }],
2930
+ "mask-image-radial": [{ "mask-radial": [B, z] }],
2949
2931
  "mask-image-radial-from-pos": [{ "mask-radial-from": I() }],
2950
2932
  "mask-image-radial-to-pos": [{ "mask-radial-to": I() }],
2951
2933
  "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
@@ -2956,7 +2938,7 @@ var mn = (e, t) => {
2956
2938
  farthest: ["side", "corner"]
2957
2939
  }] }],
2958
2940
  "mask-image-radial-pos": [{ "mask-radial-at": b() }],
2959
- "mask-image-conic-pos": [{ "mask-conic": [z] }],
2941
+ "mask-image-conic-pos": [{ "mask-conic": [R] }],
2960
2942
  "mask-image-conic-from-pos": [{ "mask-conic-from": I() }],
2961
2943
  "mask-image-conic-to-pos": [{ "mask-conic-to": I() }],
2962
2944
  "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
@@ -2980,25 +2962,25 @@ var mn = (e, t) => {
2980
2962
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2981
2963
  "mask-image": [{ mask: [
2982
2964
  "none",
2983
- V,
2984
- B
2965
+ B,
2966
+ z
2985
2967
  ] }],
2986
2968
  filter: [{ filter: [
2987
2969
  "",
2988
2970
  "none",
2989
- V,
2990
- B
2971
+ B,
2972
+ z
2991
2973
  ] }],
2992
2974
  blur: [{ blur: le() }],
2993
2975
  brightness: [{ brightness: [
2994
- z,
2995
- V,
2996
- B
2976
+ R,
2977
+ B,
2978
+ z
2997
2979
  ] }],
2998
2980
  contrast: [{ contrast: [
2999
- z,
3000
- V,
3001
- B
2981
+ R,
2982
+ B,
2983
+ z
3002
2984
  ] }],
3003
2985
  "drop-shadow": [{ "drop-shadow": [
3004
2986
  "",
@@ -3010,81 +2992,81 @@ var mn = (e, t) => {
3010
2992
  "drop-shadow-color": [{ "drop-shadow": M() }],
3011
2993
  grayscale: [{ grayscale: [
3012
2994
  "",
3013
- z,
3014
- V,
3015
- B
2995
+ R,
2996
+ B,
2997
+ z
3016
2998
  ] }],
3017
2999
  "hue-rotate": [{ "hue-rotate": [
3018
- z,
3019
- V,
3020
- B
3000
+ R,
3001
+ B,
3002
+ z
3021
3003
  ] }],
3022
3004
  invert: [{ invert: [
3023
3005
  "",
3024
- z,
3025
- V,
3026
- B
3006
+ R,
3007
+ B,
3008
+ z
3027
3009
  ] }],
3028
3010
  saturate: [{ saturate: [
3029
- z,
3030
- V,
3031
- B
3011
+ R,
3012
+ B,
3013
+ z
3032
3014
  ] }],
3033
3015
  sepia: [{ sepia: [
3034
3016
  "",
3035
- z,
3036
- V,
3037
- B
3017
+ R,
3018
+ B,
3019
+ z
3038
3020
  ] }],
3039
3021
  "backdrop-filter": [{ "backdrop-filter": [
3040
3022
  "",
3041
3023
  "none",
3042
- V,
3043
- B
3024
+ B,
3025
+ z
3044
3026
  ] }],
3045
3027
  "backdrop-blur": [{ "backdrop-blur": le() }],
3046
3028
  "backdrop-brightness": [{ "backdrop-brightness": [
3047
- z,
3048
- V,
3049
- B
3029
+ R,
3030
+ B,
3031
+ z
3050
3032
  ] }],
3051
3033
  "backdrop-contrast": [{ "backdrop-contrast": [
3052
- z,
3053
- V,
3054
- B
3034
+ R,
3035
+ B,
3036
+ z
3055
3037
  ] }],
3056
3038
  "backdrop-grayscale": [{ "backdrop-grayscale": [
3057
3039
  "",
3058
- z,
3059
- V,
3060
- B
3040
+ R,
3041
+ B,
3042
+ z
3061
3043
  ] }],
3062
3044
  "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
3063
- z,
3064
- V,
3065
- B
3045
+ R,
3046
+ B,
3047
+ z
3066
3048
  ] }],
3067
3049
  "backdrop-invert": [{ "backdrop-invert": [
3068
3050
  "",
3069
- z,
3070
- V,
3071
- B
3051
+ R,
3052
+ B,
3053
+ z
3072
3054
  ] }],
3073
3055
  "backdrop-opacity": [{ "backdrop-opacity": [
3074
- z,
3075
- V,
3076
- B
3056
+ R,
3057
+ B,
3058
+ z
3077
3059
  ] }],
3078
3060
  "backdrop-saturate": [{ "backdrop-saturate": [
3079
- z,
3080
- V,
3081
- B
3061
+ R,
3062
+ B,
3063
+ z
3082
3064
  ] }],
3083
3065
  "backdrop-sepia": [{ "backdrop-sepia": [
3084
3066
  "",
3085
- z,
3086
- V,
3087
- B
3067
+ R,
3068
+ B,
3069
+ z
3088
3070
  ] }],
3089
3071
  "border-collapse": [{ border: ["collapse", "separate"] }],
3090
3072
  "border-spacing": [{ "border-spacing": w() }],
@@ -3100,39 +3082,39 @@ var mn = (e, t) => {
3100
3082
  "shadow",
3101
3083
  "transform",
3102
3084
  "none",
3103
- V,
3104
- B
3085
+ B,
3086
+ z
3105
3087
  ] }],
3106
3088
  "transition-behavior": [{ transition: ["normal", "discrete"] }],
3107
3089
  duration: [{ duration: [
3108
- z,
3090
+ R,
3109
3091
  "initial",
3110
- V,
3111
- B
3092
+ B,
3093
+ z
3112
3094
  ] }],
3113
3095
  ease: [{ ease: [
3114
3096
  "linear",
3115
3097
  "initial",
3116
3098
  _,
3117
- V,
3118
- B
3099
+ B,
3100
+ z
3119
3101
  ] }],
3120
3102
  delay: [{ delay: [
3121
- z,
3122
- V,
3123
- B
3103
+ R,
3104
+ B,
3105
+ z
3124
3106
  ] }],
3125
3107
  animate: [{ animate: [
3126
3108
  "none",
3127
3109
  v,
3128
- V,
3129
- B
3110
+ B,
3111
+ z
3130
3112
  ] }],
3131
3113
  backface: [{ backface: ["hidden", "visible"] }],
3132
3114
  perspective: [{ perspective: [
3133
3115
  h,
3134
- V,
3135
- B
3116
+ B,
3117
+ z
3136
3118
  ] }],
3137
3119
  "perspective-origin": [{ "perspective-origin": x() }],
3138
3120
  rotate: [{ rotate: ue() }],
@@ -3148,8 +3130,8 @@ var mn = (e, t) => {
3148
3130
  "skew-x": [{ "skew-x": fe() }],
3149
3131
  "skew-y": [{ "skew-y": fe() }],
3150
3132
  transform: [{ transform: [
3151
- V,
3152
3133
  B,
3134
+ z,
3153
3135
  "",
3154
3136
  "none",
3155
3137
  "gpu",
@@ -3164,8 +3146,8 @@ var mn = (e, t) => {
3164
3146
  "translate-none": ["translate-none"],
3165
3147
  zoom: [{ zoom: [
3166
3148
  rr,
3167
- V,
3168
- B
3149
+ B,
3150
+ z
3169
3151
  ] }],
3170
3152
  accent: [{ accent: M() }],
3171
3153
  appearance: [{ appearance: ["none", "auto"] }],
@@ -3215,8 +3197,8 @@ var mn = (e, t) => {
3215
3197
  "nwse-resize",
3216
3198
  "zoom-in",
3217
3199
  "zoom-out",
3218
- V,
3219
- B
3200
+ B,
3201
+ z
3220
3202
  ] }],
3221
3203
  "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
3222
3204
  "pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -3302,12 +3284,12 @@ var mn = (e, t) => {
3302
3284
  "scroll",
3303
3285
  "contents",
3304
3286
  "transform",
3305
- V,
3306
- B
3287
+ B,
3288
+ z
3307
3289
  ] }],
3308
3290
  fill: [{ fill: ["none", ...M()] }],
3309
3291
  "stroke-w": [{ stroke: [
3310
- z,
3292
+ R,
3311
3293
  xr,
3312
3294
  mr,
3313
3295
  hr
@@ -3501,12 +3483,28 @@ var mn = (e, t) => {
3501
3483
  });
3502
3484
  //#endregion
3503
3485
  //#region ../ui-library/src/lib/cn.ts
3504
- function H(...e) {
3486
+ function V(...e) {
3505
3487
  return Rr(pn(e));
3506
3488
  }
3507
3489
  //#endregion
3490
+ //#region ../ui-library/src/composites/cap-settings/AutotrackSection.tsx
3491
+ d(), l(null), d(), d(), m("camstack:custom-field-renderers", {}), d(), d(), m("camstack:confirm-dialog", null), d(), m("camstack:device-context", null), d(), d(), m("camstack:widget-registry", null), d(), d();
3492
+ //#endregion
3493
+ //#region ../ui-library/src/hooks/use-device-capability.ts
3494
+ function H(e) {
3495
+ let t = h(e.trpc, e.deviceId), n = p(t === null ? void 0 : e.slice(t)), r = t === null ? void 0 : e.cap(t), i = p(t === null ? void 0 : t.state.deviceStatus), a = i?.online ?? !0, o = a ? null : i?.lastChangedAt ?? null;
3496
+ return {
3497
+ dev: t,
3498
+ cap: r,
3499
+ slice: n,
3500
+ available: (e.requireFeature === void 0 || (e.deviceFeatures ?? []).includes(e.requireFeature)) && r !== void 0 && n !== void 0 && a,
3501
+ online: a,
3502
+ offlineSince: o
3503
+ };
3504
+ }
3505
+ //#endregion
3508
3506
  //#region ../../node_modules/qrcode.react/lib/esm/index.js
3509
- d(), d(), d(), d(), m("camstack:vod-playback", {
3507
+ d(), d(), d(), d(), d(), d(), m("camstack:vod-playback", {
3510
3508
  request: null,
3511
3509
  play: () => {},
3512
3510
  clear: () => {}
@@ -4527,7 +4525,7 @@ var hi = mi("inline-flex items-center justify-center rounded-md font-medium tran
4527
4525
  }
4528
4526
  }), gi = c(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ T("button", {
4529
4527
  ref: i,
4530
- className: H(hi({
4528
+ className: V(hi({
4531
4529
  variant: t,
4532
4530
  size: n
4533
4531
  }), e),
@@ -4557,7 +4555,7 @@ var _i = mi("inline-flex items-center justify-center rounded-md font-medium tran
4557
4555
  }
4558
4556
  }), vi = c(({ className: e, variant: t, size: n, icon: r, ...i }, a) => /* @__PURE__ */ T("button", {
4559
4557
  ref: a,
4560
- className: H(_i({
4558
+ className: V(_i({
4561
4559
  variant: t,
4562
4560
  size: n
4563
4561
  }), e),
@@ -4587,7 +4585,7 @@ var yi = mi("inline-flex items-center rounded-full text-xs font-medium px-2 py-0
4587
4585
  }
4588
4586
  }), bi = c(({ className: e, variant: t, style: n, ...r }, i) => /* @__PURE__ */ T("span", {
4589
4587
  ref: i,
4590
- className: H(yi({
4588
+ className: V(yi({
4591
4589
  variant: t,
4592
4590
  styleVariant: n
4593
4591
  }), e),
@@ -4604,7 +4602,7 @@ var xi = mi("rounded-lg p-3", {
4604
4602
  defaultVariants: { variant: "bordered" }
4605
4603
  }), Si = c(({ className: e, variant: t, ...n }, r) => /* @__PURE__ */ T("div", {
4606
4604
  ref: r,
4607
- className: H(xi({ variant: t }), e),
4605
+ className: V(xi({ variant: t }), e),
4608
4606
  ...n
4609
4607
  }));
4610
4608
  //#endregion
@@ -4612,7 +4610,7 @@ var xi = mi("rounded-lg p-3", {
4612
4610
  Si.displayName = "Card", d();
4613
4611
  var Ci = c(({ className: e, ...t }, n) => /* @__PURE__ */ T("label", {
4614
4612
  ref: n,
4615
- className: H("text-[10px] uppercase tracking-wider text-foreground-muted font-medium", e),
4613
+ className: V("text-[10px] uppercase tracking-wider text-foreground-muted font-medium", e),
4616
4614
  ...t
4617
4615
  }));
4618
4616
  //#endregion
@@ -4627,7 +4625,7 @@ var wi = mi("", {
4627
4625
  }), Ti = c(({ className: e, orientation: t, ...n }, r) => /* @__PURE__ */ T("div", {
4628
4626
  ref: r,
4629
4627
  role: "separator",
4630
- className: H(wi({ orientation: t }), e),
4628
+ className: V(wi({ orientation: t }), e),
4631
4629
  ...n
4632
4630
  }));
4633
4631
  //#endregion
@@ -4635,7 +4633,7 @@ var wi = mi("", {
4635
4633
  Ti.displayName = "Separator", d();
4636
4634
  var Ei = c(({ className: e, ...t }, n) => /* @__PURE__ */ T("div", {
4637
4635
  ref: n,
4638
- className: H("animate-pulse bg-surface-hover rounded-md h-4 w-full", e),
4636
+ className: V("animate-pulse bg-surface-hover rounded-md h-4 w-full", e),
4639
4637
  ...t
4640
4638
  }));
4641
4639
  //#endregion
@@ -4656,7 +4654,7 @@ var Di = mi("h-7 w-full px-2.5 text-xs bg-surface border rounded-md text-foregro
4656
4654
  }),
4657
4655
  /* @__PURE__ */ T("input", {
4658
4656
  ref: a,
4659
- className: H(Di({ state: t }), n ? "pl-7" : "", r ? "pr-7" : "", e),
4657
+ className: V(Di({ state: t }), n ? "pl-7" : "", r ? "pr-7" : "", e),
4660
4658
  ...i
4661
4659
  }),
4662
4660
  r && /* @__PURE__ */ T("div", {
@@ -4666,7 +4664,7 @@ var Di = mi("h-7 w-full px-2.5 text-xs bg-surface border rounded-md text-foregro
4666
4664
  ]
4667
4665
  }) : /* @__PURE__ */ T("input", {
4668
4666
  ref: a,
4669
- className: H(Di({ state: t }), e),
4667
+ className: V(Di({ state: t }), e),
4670
4668
  ...i
4671
4669
  }));
4672
4670
  //#endregion
@@ -4677,14 +4675,14 @@ var ki = c(({ className: e, options: t, disabled: n, ...r }, i) => /* @__PURE__
4677
4675
  children: [/* @__PURE__ */ T("select", {
4678
4676
  ref: i,
4679
4677
  disabled: n,
4680
- className: H("h-7 w-full px-2.5 text-xs bg-surface border border-border rounded-md text-foreground appearance-none pr-7 focus:outline-none focus:ring-1 focus:ring-primary", "disabled:opacity-50 disabled:cursor-not-allowed", e),
4678
+ className: V("h-7 w-full px-2.5 text-xs bg-surface border border-border rounded-md text-foreground appearance-none pr-7 focus:outline-none focus:ring-1 focus:ring-primary", "disabled:opacity-50 disabled:cursor-not-allowed", e),
4681
4679
  ...r,
4682
4680
  children: t.map((e) => /* @__PURE__ */ T("option", {
4683
4681
  value: e.value,
4684
4682
  children: e.label
4685
4683
  }, e.value))
4686
4684
  }), /* @__PURE__ */ T("div", {
4687
- className: H("absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none text-foreground-muted", n === !0 ? "opacity-50" : ""),
4685
+ className: V("absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none text-foreground-muted", n === !0 ? "opacity-50" : ""),
4688
4686
  children: /* @__PURE__ */ T(b, { className: "h-3.5 w-3.5" })
4689
4687
  })]
4690
4688
  }));
@@ -4694,7 +4692,7 @@ ki.displayName = "Select", d();
4694
4692
  var Ai = c(({ className: e, ...t }, n) => /* @__PURE__ */ T("input", {
4695
4693
  ref: n,
4696
4694
  type: "checkbox",
4697
- className: H("w-3.5 h-3.5 rounded-sm border border-border accent-primary", e),
4695
+ className: V("w-3.5 h-3.5 rounded-sm border border-border accent-primary", e),
4698
4696
  ...t
4699
4697
  }));
4700
4698
  //#endregion
@@ -4706,11 +4704,11 @@ var ji = c(({ className: e, checked: t, onCheckedChange: n, label: r, ...i }, a)
4706
4704
  "aria-checked": t,
4707
4705
  type: "button",
4708
4706
  onClick: () => n(!t),
4709
- className: H("inline-flex items-center gap-2", e),
4707
+ className: V("inline-flex items-center gap-2", e),
4710
4708
  ...i,
4711
4709
  children: [/* @__PURE__ */ T("span", {
4712
- className: H("w-8 h-4 rounded-full transition-colors", t ? "bg-primary" : "bg-surface-hover"),
4713
- children: /* @__PURE__ */ T("span", { className: H("block w-3.5 h-3.5 rounded-full bg-white transition-transform", t ? "translate-x-4" : "translate-x-0.5") })
4710
+ className: V("w-8 h-4 rounded-full transition-colors", t ? "bg-primary" : "bg-surface-hover"),
4711
+ children: /* @__PURE__ */ T("span", { className: V("block w-3.5 h-3.5 rounded-full bg-white transition-transform", t ? "translate-x-4" : "translate-x-0.5") })
4714
4712
  }), r && /* @__PURE__ */ T("span", {
4715
4713
  className: "text-xs text-foreground",
4716
4714
  children: r
@@ -4794,7 +4792,7 @@ var Fi = mi("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 m-0 w-[cal
4794
4792
  }, [c, p]), /* @__PURE__ */ T("dialog", {
4795
4793
  ref: p,
4796
4794
  id: d,
4797
- className: H(Fi({
4795
+ className: V(Fi({
4798
4796
  width: t,
4799
4797
  placement: n,
4800
4798
  scroll: r
@@ -4810,34 +4808,34 @@ var Fi = mi("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 m-0 w-[cal
4810
4808
  Ii.displayName = "DialogContent";
4811
4809
  function Li({ className: e, ...t }) {
4812
4810
  return /* @__PURE__ */ T("div", {
4813
- className: H("flex flex-col gap-1 mb-3 shrink-0", e),
4811
+ className: V("flex flex-col gap-1 mb-3 shrink-0", e),
4814
4812
  ...t
4815
4813
  });
4816
4814
  }
4817
4815
  function Ri({ className: e, ...t }) {
4818
4816
  return /* @__PURE__ */ T("div", {
4819
- className: H("flex justify-end gap-2 mt-4 shrink-0", e),
4817
+ className: V("flex justify-end gap-2 mt-4 shrink-0", e),
4820
4818
  ...t
4821
4819
  });
4822
4820
  }
4823
4821
  function zi({ className: e, ...t }) {
4824
4822
  return /* @__PURE__ */ T("h2", {
4825
- className: H("text-sm font-semibold text-foreground", e),
4823
+ className: V("text-sm font-semibold text-foreground", e),
4826
4824
  ...t
4827
4825
  });
4828
4826
  }
4829
4827
  function Bi({ className: e, ...t }) {
4830
4828
  return /* @__PURE__ */ T("p", {
4831
- className: H("text-xs text-foreground-muted", e),
4829
+ className: V("text-xs text-foreground-muted", e),
4832
4830
  ...t
4833
4831
  });
4834
4832
  }
4835
4833
  //#endregion
4836
4834
  //#region ../ui-library/src/primitives/scroll-area.tsx
4837
- d(), l(null), d(), l(null), d(), d(), d(), l(null), d(), l(null), d();
4835
+ d(), l(null), d(), d(), d(), l(null), d(), l(null), d();
4838
4836
  var Vi = c(({ className: e, ...t }, n) => /* @__PURE__ */ T("div", {
4839
4837
  ref: n,
4840
- className: H("overflow-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-surface-hover [&::-webkit-scrollbar-thumb]:rounded-full", e),
4838
+ className: V("overflow-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-surface-hover [&::-webkit-scrollbar-thumb]:rounded-full", e),
4841
4839
  ...t
4842
4840
  }));
4843
4841
  //#endregion
@@ -5374,7 +5372,7 @@ function to({ value: e, unit: t, onDelta: n }) {
5374
5372
  function no({ on: e, targetLabel: t, onConfirm: n }) {
5375
5373
  let r = o(null), i = o(!1);
5376
5374
  return /* @__PURE__ */ E("div", {
5377
- className: H("relative h-12 w-full rounded-full border flex items-center", e ? "bg-emerald-50 border-emerald-200 pl-4" : "bg-amber-50 border-amber-200 justify-end pr-4"),
5375
+ className: V("relative h-12 w-full rounded-full border flex items-center", e ? "bg-emerald-50 border-emerald-200 pl-4" : "bg-amber-50 border-amber-200 justify-end pr-4"),
5378
5376
  children: [/* @__PURE__ */ T("span", {
5379
5377
  className: "text-xs font-semibold opacity-60",
5380
5378
  children: t
@@ -5418,7 +5416,7 @@ function so({ fraction: e, color: t, knobTopPx: n, onDragFraction: i }) {
5418
5416
  className: "absolute inset-0",
5419
5417
  style: { transform: `rotate(${a}deg)` },
5420
5418
  children: /* @__PURE__ */ T("div", {
5421
- className: H("absolute left-1/2 h-5 w-5 -translate-x-1/2 rounded-full bg-white shadow", u && (c ? "cursor-grabbing" : "cursor-grab")),
5419
+ className: V("absolute left-1/2 h-5 w-5 -translate-x-1/2 rounded-full bg-white shadow", u && (c ? "cursor-grabbing" : "cursor-grab")),
5422
5420
  style: {
5423
5421
  top: d,
5424
5422
  border: `3px solid ${t}`
@@ -5514,9 +5512,9 @@ function go({ on: e, busy: t, onToggle: n }) {
5514
5512
  onClick: (e) => {
5515
5513
  e.stopPropagation(), n();
5516
5514
  },
5517
- className: H("relative inline-flex h-8 w-16 items-center rounded-full border transition-colors flex-shrink-0", e ? "bg-success/30 border-success/50" : "bg-surface-hover border-border", t && "opacity-60 cursor-not-allowed"),
5515
+ className: V("relative inline-flex h-8 w-16 items-center rounded-full border transition-colors flex-shrink-0", e ? "bg-success/30 border-success/50" : "bg-surface-hover border-border", t && "opacity-60 cursor-not-allowed"),
5518
5516
  children: /* @__PURE__ */ T("span", {
5519
- className: H("absolute h-6 w-6 rounded-full transition-all", e ? "bg-success" : "bg-foreground-subtle"),
5517
+ className: V("absolute h-6 w-6 rounded-full transition-all", e ? "bg-success" : "bg-foreground-subtle"),
5520
5518
  style: r
5521
5519
  })
5522
5520
  });
@@ -5536,7 +5534,7 @@ function _o({ trpc: e, deviceId: t }) {
5536
5534
  onClick: (e) => {
5537
5535
  e.stopPropagation(), i();
5538
5536
  },
5539
- className: H("inline-flex h-5 items-center gap-1 rounded px-1.5 text-xs", "bg-primary text-primary-foreground hover:bg-primary/90 transition-colors"),
5537
+ className: V("inline-flex h-5 items-center gap-1 rounded px-1.5 text-xs", "bg-primary text-primary-foreground hover:bg-primary/90 transition-colors"),
5540
5538
  children: [/* @__PURE__ */ T(lt, { className: "h-3 w-3" }), /* @__PURE__ */ T("span", { children: "Press" })]
5541
5539
  });
5542
5540
  }
@@ -5550,7 +5548,7 @@ function vo({ trpc: e, deviceId: t }) {
5550
5548
  onClick: () => {
5551
5549
  r.press({ deviceId: t });
5552
5550
  },
5553
- className: H("inline-flex h-14 w-14 items-center justify-center rounded-full", "bg-primary text-primary-foreground hover:bg-primary/90 transition-colors", "shadow-md"),
5551
+ className: V("inline-flex h-14 w-14 items-center justify-center rounded-full", "bg-primary text-primary-foreground hover:bg-primary/90 transition-colors", "shadow-md"),
5554
5552
  children: /* @__PURE__ */ T(lt, { className: "h-6 w-6" })
5555
5553
  }), /* @__PURE__ */ T("span", {
5556
5554
  className: "text-sm font-medium text-foreground",
@@ -5609,7 +5607,7 @@ function xo(e) {
5609
5607
  return e instanceof Error ? e.message : String(e);
5610
5608
  }
5611
5609
  function So({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
5612
- let { cap: o, slice: s, available: c } = R({
5610
+ let { cap: o, slice: s, available: c } = H({
5613
5611
  trpc: e,
5614
5612
  deviceId: t,
5615
5613
  cap: (e) => e.lockControl,
@@ -5657,7 +5655,7 @@ function So({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
5657
5655
  }
5658
5656
  }, ne = _ ? "Unlock" : "Lock", O = d === "open" ? "Open door?" : "Unlock device?", k = d === "open" ? "This will release the latch and open the door." : "This will unlock the device.", A = d === "open" ? "Confirm open" : "Confirm unlock", j = T(d === "open" ? Ie : tt, { className: "h-4 w-4 text-amber-400" });
5659
5657
  return /* @__PURE__ */ E("div", {
5660
- className: H("inline-flex items-center", n === "full" ? "gap-2" : "gap-1"),
5658
+ className: V("inline-flex items-center", n === "full" ? "gap-2" : "gap-1"),
5661
5659
  children: [
5662
5660
  /* @__PURE__ */ E("button", {
5663
5661
  type: "button",
@@ -5667,7 +5665,7 @@ function So({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
5667
5665
  onClick: (e) => {
5668
5666
  e.stopPropagation(), w();
5669
5667
  },
5670
- className: H("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", _ ? "text-success" : "text-warning", v && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
5668
+ className: V("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", _ ? "text-success" : "text-warning", v && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
5671
5669
  children: [T(_ ? nt : tt, { className: "h-3.5 w-3.5" }), n === "full" && /* @__PURE__ */ T("span", { children: l.state })]
5672
5670
  }),
5673
5671
  y && /* @__PURE__ */ E("button", {
@@ -5678,7 +5676,7 @@ function So({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
5678
5676
  onClick: (e) => {
5679
5677
  e.stopPropagation(), D();
5680
5678
  },
5681
- className: H("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", "text-foreground-muted", v && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
5679
+ className: V("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", "text-foreground-muted", v && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
5682
5680
  children: [/* @__PURE__ */ T(Ie, { className: "h-3.5 w-3.5" }), n === "full" && /* @__PURE__ */ T("span", { children: "Open" })]
5683
5681
  }),
5684
5682
  b && /* @__PURE__ */ T(Pi, {
@@ -5726,7 +5724,7 @@ function So({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
5726
5724
  //#region ../ui-library/src/composites/device-controls/switch-panel.tsx
5727
5725
  d();
5728
5726
  function Co({ trpc: e, deviceId: t, optimistic: n }) {
5729
- let { cap: i, slice: a, available: o } = R({
5727
+ let { cap: i, slice: a, available: o } = H({
5730
5728
  trpc: e,
5731
5729
  deviceId: t,
5732
5730
  cap: (e) => e.switch,
@@ -5751,9 +5749,9 @@ function Co({ trpc: e, deviceId: t, optimistic: n }) {
5751
5749
  onClick: (e) => {
5752
5750
  e.stopPropagation(), m();
5753
5751
  },
5754
- className: H("relative inline-flex h-4 w-7 items-center rounded-full border transition-colors flex-shrink-0", d ? "bg-success/30 border-success/50" : "bg-surface-hover border-border", f && "opacity-60"),
5752
+ className: V("relative inline-flex h-4 w-7 items-center rounded-full border transition-colors flex-shrink-0", d ? "bg-success/30 border-success/50" : "bg-surface-hover border-border", f && "opacity-60"),
5755
5753
  children: /* @__PURE__ */ T("span", {
5756
- className: H("absolute h-3 w-3 rounded-full transition-all", d ? "bg-success" : "bg-foreground-subtle"),
5754
+ className: V("absolute h-3 w-3 rounded-full transition-all", d ? "bg-success" : "bg-foreground-subtle"),
5757
5755
  style: p
5758
5756
  })
5759
5757
  });
@@ -5761,7 +5759,7 @@ function Co({ trpc: e, deviceId: t, optimistic: n }) {
5761
5759
  //#endregion
5762
5760
  //#region ../ui-library/src/composites/device-controls/brightness-panel.tsx
5763
5761
  function wo({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
5764
- let { cap: i, slice: a, available: o } = R({
5762
+ let { cap: i, slice: a, available: o } = H({
5765
5763
  trpc: e,
5766
5764
  deviceId: t,
5767
5765
  cap: (e) => e.brightness,
@@ -5770,7 +5768,7 @@ function wo({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
5770
5768
  if (s === void 0) return null;
5771
5769
  let l = !o;
5772
5770
  return /* @__PURE__ */ E("label", {
5773
- className: H("flex items-center gap-2 text-xs text-foreground-subtle", n === "compact" && "min-w-[140px]"),
5771
+ className: V("flex items-center gap-2 text-xs text-foreground-subtle", n === "compact" && "min-w-[140px]"),
5774
5772
  children: [/* @__PURE__ */ T("input", {
5775
5773
  "aria-label": "Brightness",
5776
5774
  type: "range",
@@ -5792,7 +5790,7 @@ function wo({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
5792
5790
  //#endregion
5793
5791
  //#region ../ui-library/src/composites/device-controls/fan-panel.tsx
5794
5792
  function To({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5795
- let { cap: a, slice: o, available: s } = R({
5793
+ let { cap: a, slice: o, available: s } = H({
5796
5794
  trpc: e,
5797
5795
  deviceId: t,
5798
5796
  cap: (e) => e.fanControl,
@@ -5801,7 +5799,7 @@ function To({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5801
5799
  if (c === void 0) return null;
5802
5800
  let u = !s, d = n ?? [], f = d.includes("fan-speed"), p = d.includes("fan-preset"), m = o?.percentageStep != null && o.percentageStep > 0 ? o.percentageStep : 1;
5803
5801
  return /* @__PURE__ */ E("div", {
5804
- className: H("inline-flex items-center gap-2", r === "full" && "flex-col items-stretch"),
5802
+ className: V("inline-flex items-center gap-2", r === "full" && "flex-col items-stretch"),
5805
5803
  children: [f && /* @__PURE__ */ E("div", {
5806
5804
  className: "flex items-center gap-2 text-xs text-foreground-subtle",
5807
5805
  children: [/* @__PURE__ */ T("input", {
@@ -5871,7 +5869,7 @@ var Eo = {
5871
5869
  off: "bg-zinc-300 text-zinc-700"
5872
5870
  };
5873
5871
  function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5874
- let { cap: a, slice: o, available: s } = R({
5872
+ let { cap: a, slice: o, available: s } = H({
5875
5873
  trpc: e,
5876
5874
  deviceId: t,
5877
5875
  cap: (e) => e.climateControl,
@@ -5884,7 +5882,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5884
5882
  className: "inline-flex items-center gap-1",
5885
5883
  children: [
5886
5884
  /* @__PURE__ */ T("span", {
5887
- className: H("text-xs tabular-nums font-medium", Do[c.mode]),
5885
+ className: V("text-xs tabular-nums font-medium", Do[c.mode]),
5888
5886
  children: c.target === null ? c.currentTemp === null ? null : /* @__PURE__ */ E("span", {
5889
5887
  className: "text-foreground-subtle",
5890
5888
  children: [c.currentTemp, "°"]
@@ -5912,7 +5910,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5912
5910
  l({ target: e }), a.setTarget({ target: e });
5913
5911
  }
5914
5912
  },
5915
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
5913
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
5916
5914
  children: "−"
5917
5915
  }), /* @__PURE__ */ T("button", {
5918
5916
  type: "button",
@@ -5924,7 +5922,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5924
5922
  l({ target: e }), a.setTarget({ target: e });
5925
5923
  }
5926
5924
  },
5927
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
5925
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
5928
5926
  children: "+"
5929
5927
  })] }),
5930
5928
  /* @__PURE__ */ T("select", {
@@ -5936,7 +5934,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5936
5934
  let t = e.target.value;
5937
5935
  u || (l({ mode: t }), a.setMode({ mode: t }));
5938
5936
  },
5939
- className: H("bg-transparent px-0.5 text-xs text-foreground-subtle hover:text-foreground cursor-pointer", u && "opacity-40 cursor-not-allowed"),
5937
+ className: V("bg-transparent px-0.5 text-xs text-foreground-subtle hover:text-foreground cursor-pointer", u && "opacity-40 cursor-not-allowed"),
5940
5938
  children: c.availableModes.map((e) => /* @__PURE__ */ T("option", {
5941
5939
  value: e,
5942
5940
  children: e
@@ -5947,7 +5945,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5947
5945
  let d = c.mode === "heat_cool" || c.targetLow !== null && c.targetHigh !== null, f = !d && c.target !== null;
5948
5946
  return /* @__PURE__ */ E("div", {
5949
5947
  "data-mode": c.mode,
5950
- className: H("inline-flex items-center gap-2 rounded border px-2 py-1 transition-colors", Eo[c.mode], "flex-col items-stretch gap-3"),
5948
+ className: V("inline-flex items-center gap-2 rounded border px-2 py-1 transition-colors", Eo[c.mode], "flex-col items-stretch gap-3"),
5951
5949
  children: [
5952
5950
  /* @__PURE__ */ E("div", {
5953
5951
  className: "inline-flex items-center gap-1 text-xs tabular-nums",
@@ -5973,7 +5971,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5973
5971
  l({ target: e }), a.setTarget({ target: e });
5974
5972
  }
5975
5973
  },
5976
- className: H("inline-flex h-4 w-4 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", u && "opacity-40 cursor-not-allowed"),
5974
+ className: V("inline-flex h-4 w-4 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", u && "opacity-40 cursor-not-allowed"),
5977
5975
  children: "−"
5978
5976
  }),
5979
5977
  /* @__PURE__ */ T("button", {
@@ -5986,7 +5984,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
5986
5984
  l({ target: e }), a.setTarget({ target: e });
5987
5985
  }
5988
5986
  },
5989
- className: H("inline-flex h-4 w-4 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", u && "opacity-40 cursor-not-allowed"),
5987
+ className: V("inline-flex h-4 w-4 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", u && "opacity-40 cursor-not-allowed"),
5990
5988
  children: "+"
5991
5989
  })
5992
5990
  ] })]
@@ -6000,7 +5998,7 @@ function ko({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6000
5998
  onClick: (t) => {
6001
5999
  t.stopPropagation(), u || (l({ mode: e }), a.setMode({ mode: e }));
6002
6000
  },
6003
- className: H("rounded px-1.5 py-0.5 text-xs transition-colors", e === c.mode ? Oo[e] : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", u && "opacity-40 cursor-not-allowed"),
6001
+ className: V("rounded px-1.5 py-0.5 text-xs transition-colors", e === c.mode ? Oo[e] : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", u && "opacity-40 cursor-not-allowed"),
6004
6002
  children: e
6005
6003
  }, e))
6006
6004
  }),
@@ -6149,7 +6147,7 @@ function Fo(e) {
6149
6147
  return e === "playing" || e === "buffering" ? "pause" : "play";
6150
6148
  }
6151
6149
  function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6152
- let { cap: a, slice: o, available: s } = R({
6150
+ let { cap: a, slice: o, available: s } = H({
6153
6151
  trpc: e,
6154
6152
  deviceId: t,
6155
6153
  cap: (e) => e.mediaPlayer,
@@ -6159,13 +6157,13 @@ function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6159
6157
  let u = !s, d = Fo(c.state);
6160
6158
  return /* @__PURE__ */ E("div", {
6161
6159
  "data-state": c.state,
6162
- className: H("inline-flex items-center gap-2 rounded border px-2 py-1 transition-colors", Ao[c.state], r === "full" && "flex-col items-stretch gap-3"),
6160
+ className: V("inline-flex items-center gap-2 rounded border px-2 py-1 transition-colors", Ao[c.state], r === "full" && "flex-col items-stretch gap-3"),
6163
6161
  children: [/* @__PURE__ */ E("div", {
6164
6162
  className: "inline-flex items-center gap-2",
6165
6163
  children: [/* @__PURE__ */ T("span", {
6166
6164
  role: "status",
6167
6165
  "aria-label": c.state,
6168
- className: H("inline-block h-2 w-2 rounded-full flex-shrink-0", jo[c.state])
6166
+ className: V("inline-block h-2 w-2 rounded-full flex-shrink-0", jo[c.state])
6169
6167
  }), /* @__PURE__ */ T("button", {
6170
6168
  type: "button",
6171
6169
  "aria-label": d === "play" ? "Play" : "Pause",
@@ -6173,7 +6171,7 @@ function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6173
6171
  onClick: (e) => {
6174
6172
  e.stopPropagation(), !u && (d === "play" ? (l({ state: "playing" }), a?.play({})) : (l({ state: "paused" }), a?.pause({})));
6175
6173
  },
6176
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
6174
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
6177
6175
  children: d === "play" ? "▶" : "⏸"
6178
6176
  })]
6179
6177
  }), r === "full" && /* @__PURE__ */ E(D, { children: [
@@ -6186,7 +6184,7 @@ function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6186
6184
  onClick: (e) => {
6187
6185
  e.stopPropagation(), u || a?.previous({});
6188
6186
  },
6189
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
6187
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
6190
6188
  children: "⏮"
6191
6189
  }), /* @__PURE__ */ T("button", {
6192
6190
  type: "button",
@@ -6195,7 +6193,7 @@ function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6195
6193
  onClick: (e) => {
6196
6194
  e.stopPropagation(), u || a?.next({});
6197
6195
  },
6198
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
6196
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", u && "opacity-40 cursor-not-allowed"),
6199
6197
  children: "⏭"
6200
6198
  })]
6201
6199
  }),
@@ -6232,7 +6230,7 @@ function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6232
6230
  l({ isMuted: e }), a?.setMute({ muted: e });
6233
6231
  }
6234
6232
  },
6235
- className: H("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs transition-colors", c.isMuted ? "bg-amber-400 text-amber-950" : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", u && "opacity-40 cursor-not-allowed"),
6233
+ className: V("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs transition-colors", c.isMuted ? "bg-amber-400 text-amber-950" : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", u && "opacity-40 cursor-not-allowed"),
6236
6234
  children: c.isMuted ? "🔇" : "🔊"
6237
6235
  }),
6238
6236
  c.availableSources.length > 0 && /* @__PURE__ */ E("label", {
@@ -6266,7 +6264,7 @@ function Io({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6266
6264
  l({ shuffle: e }), a?.setShuffle({ shuffle: e });
6267
6265
  }
6268
6266
  },
6269
- className: H("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs transition-colors", c.shuffle ? "bg-green-400 text-green-950" : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", u && "opacity-40 cursor-not-allowed"),
6267
+ className: V("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs transition-colors", c.shuffle ? "bg-green-400 text-green-950" : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", u && "opacity-40 cursor-not-allowed"),
6270
6268
  children: "⇌ Shuffle"
6271
6269
  }),
6272
6270
  c.repeat !== null && /* @__PURE__ */ E("label", {
@@ -6369,7 +6367,7 @@ function qo({ value: e, busy: t, onCommit: n, unit: i, min: a, max: o, step: s,
6369
6367
  u(Lo(t, c)), n(t);
6370
6368
  }
6371
6369
  },
6372
- className: H("inline-flex h-5 w-5 items-center justify-center rounded border border-border bg-surface text-xs transition-colors hover:bg-surface-hover", t && "opacity-40 cursor-not-allowed"),
6370
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded border border-border bg-surface text-xs transition-colors hover:bg-surface-hover", t && "opacity-40 cursor-not-allowed"),
6373
6371
  children: "−"
6374
6372
  }),
6375
6373
  /* @__PURE__ */ T("input", {
@@ -6386,7 +6384,7 @@ function qo({ value: e, busy: t, onCommit: n, unit: i, min: a, max: o, step: s,
6386
6384
  onKeyDown: (e) => {
6387
6385
  e.key === "Enter" && h();
6388
6386
  },
6389
- className: H("w-16 rounded border border-border bg-surface px-1 py-0.5 text-xs tabular-nums text-center", t && "opacity-40 cursor-not-allowed")
6387
+ className: V("w-16 rounded border border-border bg-surface px-1 py-0.5 text-xs tabular-nums text-center", t && "opacity-40 cursor-not-allowed")
6390
6388
  }),
6391
6389
  i !== void 0 && /* @__PURE__ */ T("span", {
6392
6390
  className: "text-foreground-subtle text-xs",
@@ -6402,7 +6400,7 @@ function qo({ value: e, busy: t, onCommit: n, unit: i, min: a, max: o, step: s,
6402
6400
  u(Lo(t, c)), n(t);
6403
6401
  }
6404
6402
  },
6405
- className: H("inline-flex h-5 w-5 items-center justify-center rounded border border-border bg-surface text-xs transition-colors hover:bg-surface-hover", t && "opacity-40 cursor-not-allowed"),
6403
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded border border-border bg-surface text-xs transition-colors hover:bg-surface-hover", t && "opacity-40 cursor-not-allowed"),
6406
6404
  children: "+"
6407
6405
  })
6408
6406
  ]
@@ -6421,7 +6419,7 @@ function Jo({ value: e, busy: t, onCommit: n }) {
6421
6419
  onKeyDown: (e) => {
6422
6420
  e.key === "Enter" && !t && n(i);
6423
6421
  },
6424
- className: H("rounded border border-border bg-surface px-2 py-0.5 text-xs", t && "opacity-40 cursor-not-allowed")
6422
+ className: V("rounded border border-border bg-surface px-2 py-0.5 text-xs", t && "opacity-40 cursor-not-allowed")
6425
6423
  });
6426
6424
  }
6427
6425
  function Yo({ slice: e, busy: t, setValueFn: n, layout: r }) {
@@ -6451,7 +6449,7 @@ function Yo({ slice: e, busy: t, setValueFn: n, layout: r }) {
6451
6449
  value: e.target.value
6452
6450
  } });
6453
6451
  },
6454
- className: H("w-full max-w-full min-w-0 truncate rounded border border-border bg-surface px-1 py-0.5 text-xs", t && "opacity-40 cursor-not-allowed"),
6452
+ className: V("w-full max-w-full min-w-0 truncate rounded border border-border bg-surface px-1 py-0.5 text-xs", t && "opacity-40 cursor-not-allowed"),
6455
6453
  children: e.options.map((e) => /* @__PURE__ */ T("option", {
6456
6454
  value: e,
6457
6455
  children: e
@@ -6488,14 +6486,14 @@ function Yo({ slice: e, busy: t, setValueFn: n, layout: r }) {
6488
6486
  value: e.target.value
6489
6487
  } });
6490
6488
  },
6491
- className: H("rounded border border-border bg-surface px-1 py-0.5 text-xs", t && "opacity-40 cursor-not-allowed")
6489
+ className: V("rounded border border-border bg-surface px-1 py-0.5 text-xs", t && "opacity-40 cursor-not-allowed")
6492
6490
  });
6493
6491
  }
6494
6492
  default: return null;
6495
6493
  }
6496
6494
  }
6497
6495
  function Xo({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
6498
- let { cap: a, slice: o, available: s } = R({
6496
+ let { cap: a, slice: o, available: s } = H({
6499
6497
  trpc: e,
6500
6498
  deviceId: t,
6501
6499
  cap: (e) => e.control,
@@ -6735,7 +6733,7 @@ function ls({ trpc: e, device: t }) {
6735
6733
  if (typeof e != "number") return null;
6736
6734
  let n = d.lastFetchedAt, r = e === 0 && n === 0;
6737
6735
  if (r && os(s) && s.value !== "") return /* @__PURE__ */ T("span", {
6738
- className: H("inline-flex items-baseline text-xs text-foreground"),
6736
+ className: V("inline-flex items-baseline text-xs text-foreground"),
6739
6737
  children: s.value
6740
6738
  });
6741
6739
  if (r) return null;
@@ -6748,7 +6746,7 @@ function ls({ trpc: e, device: t }) {
6748
6746
  canonicalUnit: u.canonicalUnit
6749
6747
  }), f = l.unit, p = Lo(l.toDisplayValue(e), l.precision);
6750
6748
  return /* @__PURE__ */ E("span", {
6751
- className: H("inline-flex items-baseline gap-0.5 tabular-nums text-xs text-foreground"),
6749
+ className: V("inline-flex items-baseline gap-0.5 tabular-nums text-xs text-foreground"),
6752
6750
  children: [/* @__PURE__ */ T("span", { children: p }), f && /* @__PURE__ */ T("span", {
6753
6751
  className: "text-foreground-subtle",
6754
6752
  children: f
@@ -6759,26 +6757,26 @@ function ls({ trpc: e, device: t }) {
6759
6757
  if (!is(d)) return null;
6760
6758
  let e = !!d[u.field], t = e ? u.onLabel : u.offLabel;
6761
6759
  return /* @__PURE__ */ T("span", {
6762
- className: H("inline-flex items-center rounded px-1.5 py-0.5 text-xs font-medium", e ? "bg-warning/15 text-warning" : "bg-surface-subtle text-foreground-subtle"),
6760
+ className: V("inline-flex items-center rounded px-1.5 py-0.5 text-xs font-medium", e ? "bg-warning/15 text-warning" : "bg-surface-subtle text-foreground-subtle"),
6763
6761
  children: t
6764
6762
  });
6765
6763
  }
6766
6764
  if (u.kind === "string") return !os(d) || d.value === "" ? null : /* @__PURE__ */ T("span", {
6767
- className: H("inline-flex items-baseline text-xs text-foreground"),
6765
+ className: V("inline-flex items-baseline text-xs text-foreground"),
6768
6766
  children: d.value
6769
6767
  });
6770
6768
  if (u.kind === "datetime") {
6771
6769
  if (!os(d) || d.value === "") return null;
6772
6770
  let e = ss(d) ?? u.format, t = Uo(d.value, e);
6773
6771
  return /* @__PURE__ */ T("span", {
6774
- className: H("inline-flex items-baseline text-xs text-foreground"),
6772
+ className: V("inline-flex items-baseline text-xs text-foreground"),
6775
6773
  children: t
6776
6774
  });
6777
6775
  }
6778
6776
  if (!as(d)) return null;
6779
6777
  let f = cs(d.state);
6780
6778
  return /* @__PURE__ */ T("span", {
6781
- className: H("inline-flex items-center rounded px-1.5 py-0.5 text-xs font-medium", d.state === "home" ? "bg-success/15 text-success" : "bg-surface-subtle text-foreground-subtle"),
6779
+ className: V("inline-flex items-center rounded px-1.5 py-0.5 text-xs font-medium", d.state === "home" ? "bg-success/15 text-success" : "bg-surface-subtle text-foreground-subtle"),
6782
6780
  children: f
6783
6781
  });
6784
6782
  }
@@ -6829,12 +6827,12 @@ function fs({ label: e, busy: t, variant: n, onClick: r, children: i }) {
6829
6827
  onClick: (e) => {
6830
6828
  e.stopPropagation(), r();
6831
6829
  },
6832
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", ds(n), t && "opacity-40 cursor-not-allowed"),
6830
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", ds(n), t && "opacity-40 cursor-not-allowed"),
6833
6831
  children: i
6834
6832
  });
6835
6833
  }
6836
6834
  function ps({ trpc: e, deviceId: t, optimistic: n }) {
6837
- let { cap: r, slice: i, available: a } = R({
6835
+ let { cap: r, slice: i, available: a } = H({
6838
6836
  trpc: e,
6839
6837
  deviceId: t,
6840
6838
  cap: (e) => e.cover,
@@ -6887,7 +6885,7 @@ function ms({ label: e, busy: t, variant: n, onClick: r, children: i }) {
6887
6885
  onClick: (e) => {
6888
6886
  e.stopPropagation(), r();
6889
6887
  },
6890
- className: H("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n === "accent" && "bg-primary text-primary-foreground hover:bg-primary/90", n === "filled" && "bg-primary/15 text-primary", t && "opacity-40 cursor-not-allowed"),
6888
+ className: V("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n === "accent" && "bg-primary text-primary-foreground hover:bg-primary/90", n === "filled" && "bg-primary/15 text-primary", t && "opacity-40 cursor-not-allowed"),
6891
6889
  children: i
6892
6890
  });
6893
6891
  }
@@ -6933,7 +6931,7 @@ function gs({ position: e, interactive: t, onSetPosition: n }) {
6933
6931
  onPointerMove: t ? d : void 0,
6934
6932
  onPointerUp: t ? f : void 0,
6935
6933
  onPointerCancel: t ? f : void 0,
6936
- className: H("relative w-28 h-36 rounded border-2 border-amber-700/60 bg-gradient-to-b from-sky-200 to-sky-50 overflow-hidden flex-shrink-0", t && "cursor-ns-resize touch-none select-none"),
6934
+ className: V("relative w-28 h-36 rounded border-2 border-amber-700/60 bg-gradient-to-b from-sky-200 to-sky-50 overflow-hidden flex-shrink-0", t && "cursor-ns-resize touch-none select-none"),
6937
6935
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.5)" },
6938
6936
  children: [
6939
6937
  /* @__PURE__ */ T(hs, {}),
@@ -6947,7 +6945,7 @@ function gs({ position: e, interactive: t, onSetPosition: n }) {
6947
6945
  }),
6948
6946
  /* @__PURE__ */ E("div", {
6949
6947
  "data-testid": "cover-lever",
6950
- className: H("absolute inset-x-0 h-4 flex items-center justify-center gap-1 z-10 transition-all duration-200", t && "cursor-grab active:cursor-grabbing"),
6948
+ className: V("absolute inset-x-0 h-4 flex items-center justify-center gap-1 z-10 transition-all duration-200", t && "cursor-grab active:cursor-grabbing"),
6951
6949
  style: { top: `calc(${r}% - 8px)` },
6952
6950
  children: [
6953
6951
  /* @__PURE__ */ T("div", { className: "absolute -inset-x-1.5 h-full rounded-lg bg-slate-600 shadow-md" }),
@@ -6986,7 +6984,7 @@ function _s({ isOpen: e }) {
6986
6984
  });
6987
6985
  }
6988
6986
  function vs({ trpc: e, deviceId: t, features: n, optimistic: r }) {
6989
- let { cap: i, slice: a, available: o } = R({
6987
+ let { cap: i, slice: a, available: o } = H({
6990
6988
  trpc: e,
6991
6989
  deviceId: t,
6992
6990
  cap: (e) => e.cover,
@@ -7210,7 +7208,7 @@ function ks({ percent: e }) {
7210
7208
  "data-band": n,
7211
7209
  className: "h-2 w-24 overflow-hidden rounded-full bg-border",
7212
7210
  children: /* @__PURE__ */ T("div", {
7213
- className: H("h-full rounded-full transition-all", Ds[n]),
7211
+ className: V("h-full rounded-full transition-all", Ds[n]),
7214
7212
  style: { width: `${t}%` }
7215
7213
  })
7216
7214
  });
@@ -7266,7 +7264,7 @@ function As({ trpc: e, device: t }) {
7266
7264
  return /* @__PURE__ */ E("div", {
7267
7265
  className: "flex flex-col items-center justify-center gap-2 rounded-lg border border-border bg-surface p-4",
7268
7266
  children: [/* @__PURE__ */ T("span", {
7269
- className: H("inline-flex items-center rounded px-3 py-1.5 text-lg font-semibold", e ? "bg-warning/15 text-warning" : "bg-surface-subtle text-foreground-subtle"),
7267
+ className: V("inline-flex items-center rounded px-3 py-1.5 text-lg font-semibold", e ? "bg-warning/15 text-warning" : "bg-surface-subtle text-foreground-subtle"),
7270
7268
  children: n
7271
7269
  }), /* @__PURE__ */ T("span", {
7272
7270
  className: "text-sm text-foreground-subtle",
@@ -7313,7 +7311,7 @@ function As({ trpc: e, device: t }) {
7313
7311
  return /* @__PURE__ */ E("div", {
7314
7312
  className: "flex flex-col items-center justify-center gap-2 rounded-lg border border-border bg-surface p-4",
7315
7313
  children: [/* @__PURE__ */ T("span", {
7316
- className: H("inline-flex items-center rounded px-3 py-1.5 text-lg font-semibold", u.state === "home" ? "bg-success/15 text-success" : "bg-surface-subtle text-foreground-subtle"),
7314
+ className: V("inline-flex items-center rounded px-3 py-1.5 text-lg font-semibold", u.state === "home" ? "bg-success/15 text-success" : "bg-surface-subtle text-foreground-subtle"),
7317
7315
  children: d
7318
7316
  }), /* @__PURE__ */ T("span", {
7319
7317
  className: "text-sm text-foreground-subtle",
@@ -7334,7 +7332,7 @@ function Ms(e) {
7334
7332
  return e === void 0 || e.inProgress ? !1 : e.availableVersion !== null && e.currentVersion !== null && e.availableVersion !== e.currentVersion;
7335
7333
  }
7336
7334
  function Ns(e, t) {
7337
- return R({
7335
+ return H({
7338
7336
  trpc: e,
7339
7337
  deviceId: t,
7340
7338
  cap: (e) => e.update,
@@ -7437,7 +7435,7 @@ function Is(e) {
7437
7435
  }
7438
7436
  }
7439
7437
  function Ls(e, t) {
7440
- return R({
7438
+ return H({
7441
7439
  trpc: e,
7442
7440
  deviceId: t,
7443
7441
  cap: (e) => e.vacuumControl,
@@ -7453,7 +7451,7 @@ function Rs({ label: e, busy: t, active: n, onClick: r, children: i }) {
7453
7451
  onClick: (e) => {
7454
7452
  e.stopPropagation(), r();
7455
7453
  },
7456
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground", t && "opacity-40 cursor-not-allowed"),
7454
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground", t && "opacity-40 cursor-not-allowed"),
7457
7455
  children: i
7458
7456
  });
7459
7457
  }
@@ -7522,9 +7520,9 @@ function Vs({ state: e, batteryLevel: t }) {
7522
7520
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.06)" },
7523
7521
  children: [
7524
7522
  /* @__PURE__ */ T("style", { children: Bs }),
7525
- /* @__PURE__ */ T("div", { className: H("absolute inset-0 transition-colors duration-300", n.glow) }),
7523
+ /* @__PURE__ */ T("div", { className: V("absolute inset-0 transition-colors duration-300", n.glow) }),
7526
7524
  /* @__PURE__ */ T("div", {
7527
- className: H("absolute inset-0 flex items-center justify-center", n.accent),
7525
+ className: V("absolute inset-0 flex items-center justify-center", n.accent),
7528
7526
  children: /* @__PURE__ */ E("svg", {
7529
7527
  viewBox: "0 0 100 100",
7530
7528
  className: "w-20 h-20",
@@ -7538,7 +7536,7 @@ function Vs({ state: e, batteryLevel: t }) {
7538
7536
  rx: "2",
7539
7537
  fill: "currentColor",
7540
7538
  opacity: "0.35",
7541
- className: H(r && "rg-a"),
7539
+ className: V(r && "rg-a"),
7542
7540
  style: r ? { animation: "rg-pulse 1.2s ease-in-out infinite" } : void 0
7543
7541
  }),
7544
7542
  n.active && /* @__PURE__ */ T("circle", {
@@ -7552,7 +7550,7 @@ function Vs({ state: e, batteryLevel: t }) {
7552
7550
  style: { transformOrigin: "center" }
7553
7551
  }),
7554
7552
  /* @__PURE__ */ E("g", {
7555
- className: H((i || a) && "rg-a"),
7553
+ className: V((i || a) && "rg-a"),
7556
7554
  style: o,
7557
7555
  children: [
7558
7556
  /* @__PURE__ */ T("circle", {
@@ -7572,7 +7570,7 @@ function Vs({ state: e, batteryLevel: t }) {
7572
7570
  strokeLinecap: "round"
7573
7571
  }),
7574
7572
  /* @__PURE__ */ E("g", {
7575
- className: H(n.active && "rg-a"),
7573
+ className: V(n.active && "rg-a"),
7576
7574
  style: n.active ? {
7577
7575
  animation: "rg-spin 3s linear infinite",
7578
7576
  transformBox: "fill-box",
@@ -7706,28 +7704,28 @@ function Ks({ kind: e, tank: t }) {
7706
7704
  }) : /* @__PURE__ */ E("div", {
7707
7705
  className: "flex items-center gap-2 text-xs",
7708
7706
  children: [/* @__PURE__ */ E("span", {
7709
- className: H("inline-flex items-center gap-1 w-24 shrink-0", r ? "text-warning" : "text-foreground-subtle"),
7707
+ className: V("inline-flex items-center gap-1 w-24 shrink-0", r ? "text-warning" : "text-foreground-subtle"),
7710
7708
  children: [n.icon, n.label]
7711
7709
  }), /* @__PURE__ */ T("span", {
7712
- className: H("inline-flex items-center rounded-full px-2 py-0.5 text-[11px] font-medium", r ? "bg-warning/15 text-warning" : "bg-primary/15 text-foreground-subtle"),
7710
+ className: V("inline-flex items-center rounded-full px-2 py-0.5 text-[11px] font-medium", r ? "bg-warning/15 text-warning" : "bg-primary/15 text-foreground-subtle"),
7713
7711
  children: t.status
7714
7712
  })]
7715
7713
  }) : /* @__PURE__ */ E("div", {
7716
7714
  className: "flex items-center gap-2 text-xs",
7717
7715
  children: [
7718
7716
  /* @__PURE__ */ E("span", {
7719
- className: H("inline-flex items-center gap-1 w-24 shrink-0", r ? "text-warning" : "text-foreground-subtle"),
7717
+ className: V("inline-flex items-center gap-1 w-24 shrink-0", r ? "text-warning" : "text-foreground-subtle"),
7720
7718
  children: [n.icon, n.label]
7721
7719
  }),
7722
7720
  /* @__PURE__ */ T("span", {
7723
7721
  className: "relative h-1.5 flex-1 overflow-hidden rounded-full bg-surface-hover",
7724
7722
  children: /* @__PURE__ */ T("span", {
7725
- className: H("absolute inset-y-0 left-0 rounded-full transition-all", r ? "bg-warning" : "bg-primary"),
7723
+ className: V("absolute inset-y-0 left-0 rounded-full transition-all", r ? "bg-warning" : "bg-primary"),
7726
7724
  style: { width: `${t.level}%` }
7727
7725
  })
7728
7726
  }),
7729
7727
  /* @__PURE__ */ E("span", {
7730
- className: H("tabular-nums w-9 text-right", r ? "text-warning" : "text-foreground-subtle"),
7728
+ className: V("tabular-nums w-9 text-right", r ? "text-warning" : "text-foreground-subtle"),
7731
7729
  children: [t.level, "%"]
7732
7730
  })
7733
7731
  ]
@@ -7794,7 +7792,7 @@ function Ys({ label: e, busy: t, active: n, onClick: r, children: i }) {
7794
7792
  onClick: (e) => {
7795
7793
  e.stopPropagation(), r();
7796
7794
  },
7797
- className: H("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground hover:bg-primary/90", t && "opacity-40 cursor-not-allowed"),
7795
+ className: V("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground hover:bg-primary/90", t && "opacity-40 cursor-not-allowed"),
7798
7796
  children: i
7799
7797
  });
7800
7798
  }
@@ -7820,7 +7818,7 @@ function Xs({ trpc: e, deviceId: t }) {
7820
7818
  /* @__PURE__ */ E("div", {
7821
7819
  className: "flex items-center justify-between",
7822
7820
  children: [/* @__PURE__ */ T("span", {
7823
- className: H("text-3xl font-semibold", s.tone),
7821
+ className: V("text-3xl font-semibold", s.tone),
7824
7822
  children: s.label
7825
7823
  }), r?.batteryLevel != null && /* @__PURE__ */ T(Hs, { level: r.batteryLevel })]
7826
7824
  }),
@@ -7949,7 +7947,7 @@ function Zs(e) {
7949
7947
  }
7950
7948
  }
7951
7949
  function Qs(e, t) {
7952
- return R({
7950
+ return H({
7953
7951
  trpc: e,
7954
7952
  deviceId: t,
7955
7953
  cap: (e) => e.lawnMowerControl,
@@ -8009,9 +8007,9 @@ function tc({ activity: e, batteryLevel: t }) {
8009
8007
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.06)" },
8010
8008
  children: [
8011
8009
  /* @__PURE__ */ T("style", { children: ec }),
8012
- /* @__PURE__ */ T("div", { className: H("absolute inset-0 transition-colors duration-300", n.glow) }),
8010
+ /* @__PURE__ */ T("div", { className: V("absolute inset-0 transition-colors duration-300", n.glow) }),
8013
8011
  /* @__PURE__ */ T("div", {
8014
- className: H("absolute inset-0 flex items-center justify-center", n.accent),
8012
+ className: V("absolute inset-0 flex items-center justify-center", n.accent),
8015
8013
  children: /* @__PURE__ */ E("svg", {
8016
8014
  viewBox: "0 0 100 100",
8017
8015
  className: "w-20 h-20",
@@ -8025,7 +8023,7 @@ function tc({ activity: e, batteryLevel: t }) {
8025
8023
  rx: "2",
8026
8024
  fill: "currentColor",
8027
8025
  opacity: "0.35",
8028
- className: H(r && "rg-a"),
8026
+ className: V(r && "rg-a"),
8029
8027
  style: r ? { animation: "rg-pulse 1.2s ease-in-out infinite" } : void 0
8030
8028
  }),
8031
8029
  n.active && /* @__PURE__ */ E("g", {
@@ -8058,7 +8056,7 @@ function tc({ activity: e, batteryLevel: t }) {
8058
8056
  ]
8059
8057
  }),
8060
8058
  /* @__PURE__ */ E("g", {
8061
- className: H((i || a) && "rg-a"),
8059
+ className: V((i || a) && "rg-a"),
8062
8060
  style: o,
8063
8061
  children: [
8064
8062
  /* @__PURE__ */ T("rect", {
@@ -8082,7 +8080,7 @@ function tc({ activity: e, batteryLevel: t }) {
8082
8080
  opacity: "0.5"
8083
8081
  }),
8084
8082
  /* @__PURE__ */ E("g", {
8085
- className: H(n.active && "rg-a"),
8083
+ className: V(n.active && "rg-a"),
8086
8084
  style: n.active ? {
8087
8085
  animation: "rg-spin 0.9s linear infinite",
8088
8086
  transformBox: "fill-box",
@@ -8201,7 +8199,7 @@ function rc({ percent: e }) {
8201
8199
  }
8202
8200
  function ic({ code: e, label: t, severity: n }) {
8203
8201
  return /* @__PURE__ */ E("div", {
8204
- className: H("inline-flex items-center gap-1 text-xs", nc(n)),
8202
+ className: V("inline-flex items-center gap-1 text-xs", nc(n)),
8205
8203
  children: [n !== "info" && /* @__PURE__ */ T(Ht, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ T("span", { children: t ?? `Code ${e}` })]
8206
8204
  });
8207
8205
  }
@@ -8224,7 +8222,7 @@ function oc({ label: e, busy: t, active: n, onClick: r, children: i }) {
8224
8222
  onClick: (e) => {
8225
8223
  e.stopPropagation(), r();
8226
8224
  },
8227
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground", t && "opacity-40 cursor-not-allowed"),
8225
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground", t && "opacity-40 cursor-not-allowed"),
8228
8226
  children: i
8229
8227
  });
8230
8228
  }
@@ -8274,7 +8272,7 @@ function cc({ label: e, busy: t, active: n, onClick: r, children: i }) {
8274
8272
  onClick: (e) => {
8275
8273
  e.stopPropagation(), r();
8276
8274
  },
8277
- className: H("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground hover:bg-primary/90", t && "opacity-40 cursor-not-allowed"),
8275
+ className: V("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", n && "bg-primary text-primary-foreground hover:bg-primary/90", t && "opacity-40 cursor-not-allowed"),
8278
8276
  children: i
8279
8277
  });
8280
8278
  }
@@ -8297,7 +8295,7 @@ function lc({ trpc: e, deviceId: t }) {
8297
8295
  /* @__PURE__ */ E("div", {
8298
8296
  className: "flex items-center justify-between",
8299
8297
  children: [/* @__PURE__ */ T("span", {
8300
- className: H("text-3xl font-semibold", s.tone),
8298
+ className: V("text-3xl font-semibold", s.tone),
8301
8299
  children: s.label
8302
8300
  }), r?.batteryLevel != null && /* @__PURE__ */ T(ac, { level: r.batteryLevel })]
8303
8301
  }),
@@ -8370,7 +8368,7 @@ function uc(e) {
8370
8368
  }
8371
8369
  }
8372
8370
  function dc(e, t) {
8373
- return R({
8371
+ return H({
8374
8372
  trpc: e,
8375
8373
  deviceId: t,
8376
8374
  cap: (e) => e.valve,
@@ -8393,7 +8391,7 @@ function pc({ label: e, busy: t, variant: n, onClick: r, children: i }) {
8393
8391
  onClick: (e) => {
8394
8392
  e.stopPropagation(), r();
8395
8393
  },
8396
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-xs text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", fc(n), t && "opacity-40 cursor-not-allowed"),
8394
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-xs text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", fc(n), t && "opacity-40 cursor-not-allowed"),
8397
8395
  children: i
8398
8396
  });
8399
8397
  }
@@ -8517,10 +8515,10 @@ function _c({ state: e, position: t, interactive: n, onSetPosition: r }) {
8517
8515
  onPointerMove: n ? h : void 0,
8518
8516
  onPointerUp: n ? g : void 0,
8519
8517
  onPointerCancel: n ? g : void 0,
8520
- className: H("relative w-28 h-36 rounded border-2 border-border bg-gradient-to-b from-surface-hover to-surface overflow-hidden flex-shrink-0", n && "cursor-ns-resize touch-none select-none"),
8518
+ className: V("relative w-28 h-36 rounded border-2 border-border bg-gradient-to-b from-surface-hover to-surface overflow-hidden flex-shrink-0", n && "cursor-ns-resize touch-none select-none"),
8521
8519
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.06)" },
8522
- children: [/* @__PURE__ */ T("div", { className: H("absolute inset-0 transition-colors duration-300", i.glow) }), /* @__PURE__ */ T("div", {
8523
- className: H("absolute inset-0 flex items-center justify-center", i.accent),
8520
+ children: [/* @__PURE__ */ T("div", { className: V("absolute inset-0 transition-colors duration-300", i.glow) }), /* @__PURE__ */ T("div", {
8521
+ className: V("absolute inset-0 flex items-center justify-center", i.accent),
8524
8522
  "aria-hidden": "true",
8525
8523
  children: /* @__PURE__ */ E("svg", {
8526
8524
  viewBox: "0 0 100 100",
@@ -8618,7 +8616,7 @@ function vc({ label: e, busy: t, variant: n, onClick: r, children: i }) {
8618
8616
  onClick: (e) => {
8619
8617
  e.stopPropagation(), r();
8620
8618
  },
8621
- className: H("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", fc(n), t && "opacity-40 cursor-not-allowed"),
8619
+ className: V("inline-flex h-10 w-10 items-center justify-center rounded-md text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", fc(n), t && "opacity-40 cursor-not-allowed"),
8622
8620
  children: i
8623
8621
  });
8624
8622
  }
@@ -8663,7 +8661,7 @@ function yc({ trpc: e, deviceId: t, features: n, optimistic: r }) {
8663
8661
  !m && /* @__PURE__ */ T("div", {
8664
8662
  className: "flex items-baseline gap-1",
8665
8663
  children: /* @__PURE__ */ T("span", {
8666
- className: H("text-3xl font-semibold", f.tone),
8664
+ className: V("text-3xl font-semibold", f.tone),
8667
8665
  children: f.label
8668
8666
  })
8669
8667
  }),
@@ -8786,7 +8784,7 @@ function bc(e, t) {
8786
8784
  }
8787
8785
  }
8788
8786
  function xc(e, t) {
8789
- return R({
8787
+ return H({
8790
8788
  trpc: e,
8791
8789
  deviceId: t,
8792
8790
  cap: (e) => e.humidifier,
@@ -8809,7 +8807,7 @@ function Sc({ trpc: e, deviceId: t, optimistic: n }) {
8809
8807
  onClick: (e) => {
8810
8808
  e.stopPropagation(), u();
8811
8809
  },
8812
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-xs transition-colors", l ? "bg-primary text-primary-foreground" : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", c && "opacity-40 cursor-not-allowed"),
8810
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-xs transition-colors", l ? "bg-primary text-primary-foreground" : "text-foreground-subtle hover:text-foreground hover:bg-surface-hover", c && "opacity-40 cursor-not-allowed"),
8813
8811
  children: /* @__PURE__ */ T(yt, { className: "h-3.5 w-3.5" })
8814
8812
  }), o !== void 0 && o.targetHumidity !== null && /* @__PURE__ */ E("span", {
8815
8813
  className: "tabular-nums text-xs text-foreground-subtle",
@@ -8835,8 +8833,8 @@ function Cc({ fillPct: e, tint: t }) {
8835
8833
  "aria-hidden": "true",
8836
8834
  className: "relative w-28 h-36 rounded border-2 border-border bg-gradient-to-b from-surface-hover to-surface overflow-hidden flex-shrink-0",
8837
8835
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.06)" },
8838
- children: [/* @__PURE__ */ T("div", { className: H("absolute inset-0 transition-colors duration-300", t.glow) }), /* @__PURE__ */ T("div", {
8839
- className: H("absolute inset-0 flex items-center justify-center", t.accent),
8836
+ children: [/* @__PURE__ */ T("div", { className: V("absolute inset-0 transition-colors duration-300", t.glow) }), /* @__PURE__ */ T("div", {
8837
+ className: V("absolute inset-0 flex items-center justify-center", t.accent),
8840
8838
  children: /* @__PURE__ */ E("svg", {
8841
8839
  viewBox: "0 0 100 100",
8842
8840
  className: "w-24 h-28",
@@ -8967,7 +8965,7 @@ function wc({ trpc: e, deviceId: t, optimistic: n }) {
8967
8965
  onClick: (e) => {
8968
8966
  e.stopPropagation(), h();
8969
8967
  },
8970
- className: H("inline-flex w-fit items-center gap-2 rounded-md px-3 py-1.5 text-sm transition-colors", o.on ? "bg-primary text-primary-foreground" : "border border-border text-foreground-subtle hover:text-foreground hover:bg-surface-hover", c && "opacity-40 cursor-not-allowed"),
8968
+ className: V("inline-flex w-fit items-center gap-2 rounded-md px-3 py-1.5 text-sm transition-colors", o.on ? "bg-primary text-primary-foreground" : "border border-border text-foreground-subtle hover:text-foreground hover:bg-surface-hover", c && "opacity-40 cursor-not-allowed"),
8971
8969
  children: [/* @__PURE__ */ T(yt, { className: "h-4 w-4" }), o.on ? "On" : "Off"]
8972
8970
  })
8973
8971
  ]
@@ -9008,7 +9006,7 @@ function wc({ trpc: e, deviceId: t, optimistic: n }) {
9008
9006
  let t = o.availableModes.find((t) => t === e.target.value);
9009
9007
  !c && t !== void 0 && (s({ mode: t }), r.setMode({ mode: t }));
9010
9008
  },
9011
- className: H("w-full rounded border border-border bg-surface px-3 py-1.5 text-sm", c && "opacity-40 cursor-not-allowed"),
9009
+ className: V("w-full rounded border border-border bg-surface px-3 py-1.5 text-sm", c && "opacity-40 cursor-not-allowed"),
9012
9010
  children: o.availableModes.map((e) => /* @__PURE__ */ T("option", {
9013
9011
  value: e,
9014
9012
  children: e
@@ -9043,7 +9041,7 @@ function Ec(e, t, n) {
9043
9041
  return e === null || e === "off" ? "off" : t !== null && n !== null && t < n ? "heating" : "idle";
9044
9042
  }
9045
9043
  function Dc(e, t) {
9046
- return R({
9044
+ return H({
9047
9045
  trpc: e,
9048
9046
  deviceId: t,
9049
9047
  cap: (e) => e.waterHeater,
@@ -9077,8 +9075,8 @@ function kc({ fillPct: e, tint: t }) {
9077
9075
  "aria-hidden": "true",
9078
9076
  className: "relative w-28 h-36 rounded border-2 border-border bg-gradient-to-b from-surface-hover to-surface overflow-hidden flex-shrink-0",
9079
9077
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.06)" },
9080
- children: [/* @__PURE__ */ T("div", { className: H("absolute inset-0 transition-colors duration-300", t.glow) }), /* @__PURE__ */ T("div", {
9081
- className: H("absolute inset-0 flex items-center justify-center", t.accent),
9078
+ children: [/* @__PURE__ */ T("div", { className: V("absolute inset-0 transition-colors duration-300", t.glow) }), /* @__PURE__ */ T("div", {
9079
+ className: V("absolute inset-0 flex items-center justify-center", t.accent),
9082
9080
  children: /* @__PURE__ */ E("svg", {
9083
9081
  viewBox: "0 0 100 100",
9084
9082
  className: "w-24 h-28",
@@ -9225,7 +9223,7 @@ function Ac({ trpc: e, deviceId: t, optimistic: n }) {
9225
9223
  let t = o.availableModes.find((t) => t === e.target.value);
9226
9224
  !c && t !== void 0 && (s({ operationMode: t }), r.setOperationMode({ mode: t }));
9227
9225
  },
9228
- className: H("w-full rounded border border-border bg-surface px-3 py-1.5 text-sm", c && "opacity-40 cursor-not-allowed"),
9226
+ className: V("w-full rounded border border-border bg-surface px-3 py-1.5 text-sm", c && "opacity-40 cursor-not-allowed"),
9229
9227
  children: o.availableModes.map((e) => /* @__PURE__ */ T("option", {
9230
9228
  value: e,
9231
9229
  children: e
@@ -9238,7 +9236,7 @@ function Ac({ trpc: e, deviceId: t, optimistic: n }) {
9238
9236
  onClick: (e) => {
9239
9237
  e.stopPropagation(), v();
9240
9238
  },
9241
- className: H("inline-flex w-fit items-center gap-2 rounded-md px-3 py-1.5 text-sm transition-colors", o.away ? "bg-primary text-primary-foreground" : "border border-border text-foreground-subtle hover:text-foreground hover:bg-surface-hover", c && "opacity-40 cursor-not-allowed"),
9239
+ className: V("inline-flex w-fit items-center gap-2 rounded-md px-3 py-1.5 text-sm transition-colors", o.away ? "bg-primary text-primary-foreground" : "border border-border text-foreground-subtle hover:text-foreground hover:bg-surface-hover", c && "opacity-40 cursor-not-allowed"),
9242
9240
  children: [
9243
9241
  /* @__PURE__ */ T(yt, { className: "h-4 w-4" }),
9244
9242
  "Away ",
@@ -9392,7 +9390,7 @@ function Nc(e) {
9392
9390
  }
9393
9391
  }
9394
9392
  function Pc(e, t) {
9395
- return R({
9393
+ return H({
9396
9394
  trpc: e,
9397
9395
  deviceId: t,
9398
9396
  cap: (e) => e.weather,
@@ -9409,7 +9407,7 @@ function Ic({ trpc: e, deviceId: t }) {
9409
9407
  return /* @__PURE__ */ E("div", {
9410
9408
  className: "inline-flex items-center gap-1.5 text-xs text-foreground-subtle",
9411
9409
  children: [/* @__PURE__ */ T("span", {
9412
- className: H("inline-flex", Mc(n.condition).accent),
9410
+ className: V("inline-flex", Mc(n.condition).accent),
9413
9411
  title: r.label,
9414
9412
  "aria-label": r.label,
9415
9413
  children: Nc(r.glyph)
@@ -9426,8 +9424,8 @@ function Lc({ glyph: e, tint: t }) {
9426
9424
  "aria-hidden": "true",
9427
9425
  className: "relative w-28 h-36 rounded border-2 border-border bg-gradient-to-b from-surface-hover to-surface overflow-hidden flex-shrink-0",
9428
9426
  style: { boxShadow: "inset 0 0 0 2px rgba(255,255,255,.06)" },
9429
- children: [/* @__PURE__ */ T("div", { className: H("absolute inset-0 transition-colors duration-300", t.glow) }), /* @__PURE__ */ T("div", {
9430
- className: H("absolute inset-0 flex items-center justify-center", t.accent),
9427
+ children: [/* @__PURE__ */ T("div", { className: V("absolute inset-0 transition-colors duration-300", t.glow) }), /* @__PURE__ */ T("div", {
9428
+ className: V("absolute inset-0 flex items-center justify-center", t.accent),
9431
9429
  children: /* @__PURE__ */ T("svg", {
9432
9430
  viewBox: "0 0 100 100",
9433
9431
  className: "w-24 h-28",
@@ -9762,7 +9760,7 @@ function Vc({ trpc: e, deviceId: t }) {
9762
9760
  //#region ../ui-library/src/composites/device-controls/image-control.tsx
9763
9761
  d();
9764
9762
  function Hc(e, t) {
9765
- return R({
9763
+ return H({
9766
9764
  trpc: e,
9767
9765
  deviceId: t,
9768
9766
  cap: (e) => e.image,
@@ -9922,7 +9920,7 @@ function el(e) {
9922
9920
  }
9923
9921
  var tl = "\n@keyframes pf-eat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(2px)} }\n@keyframes pf-pulse { 0%,100%{opacity:.55} 50%{opacity:1} }\n@media (prefers-reduced-motion: reduce) {\n .pf-eat, .pf-pulse { animation: none !important; }\n}\n";
9924
9922
  function nl({ trpc: e, deviceId: t, layout: n, optimistic: i }) {
9925
- let { cap: a, slice: o, available: s } = R({
9923
+ let { cap: a, slice: o, available: s } = H({
9926
9924
  trpc: e,
9927
9925
  deviceId: t,
9928
9926
  cap: (e) => e.petFeeder,
@@ -9943,7 +9941,7 @@ function nl({ trpc: e, deviceId: t, layout: n, optimistic: i }) {
9943
9941
  })
9944
9942
  }),
9945
9943
  /* @__PURE__ */ E("span", {
9946
- className: H("inline-flex items-center gap-1 text-xs tabular-nums font-medium", c.lowFood ? "text-destructive" : "text-foreground"),
9944
+ className: V("inline-flex items-center gap-1 text-xs tabular-nums font-medium", c.lowFood ? "text-destructive" : "text-foreground"),
9947
9945
  children: [
9948
9946
  /* @__PURE__ */ T(Wt, {
9949
9947
  className: "h-3.5 w-3.5",
@@ -9974,7 +9972,7 @@ function nl({ trpc: e, deviceId: t, layout: n, optimistic: i }) {
9974
9972
  onClick: (e) => {
9975
9973
  e.stopPropagation(), !(g || c.feeding) && (l({ feeding: !0 }), a.feed({ grams: Xc }));
9976
9974
  },
9977
- className: H("inline-flex items-center gap-1 rounded-md border border-border bg-surface px-2 py-1 text-xs font-medium text-foreground transition-colors hover:bg-surface-hover", (g || c.feeding) && "opacity-40 cursor-not-allowed"),
9975
+ className: V("inline-flex items-center gap-1 rounded-md border border-border bg-surface px-2 py-1 text-xs font-medium text-foreground transition-colors hover:bg-surface-hover", (g || c.feeding) && "opacity-40 cursor-not-allowed"),
9978
9976
  children: [/* @__PURE__ */ T(gt, {
9979
9977
  className: "h-3.5 w-3.5",
9980
9978
  "aria-hidden": !0
@@ -10120,7 +10118,7 @@ function nl({ trpc: e, deviceId: t, layout: n, optimistic: i }) {
10120
10118
  onClick: () => {
10121
10119
  l({ feeding: !1 }), a.cancelFeed({});
10122
10120
  },
10123
- className: H("flex items-center justify-center gap-2 rounded-lg border border-destructive/40 bg-destructive/10 px-2 py-1.5 text-xs font-medium text-destructive transition-colors hover:bg-destructive/20", g && "opacity-40 cursor-not-allowed"),
10121
+ className: V("flex items-center justify-center gap-2 rounded-lg border border-destructive/40 bg-destructive/10 px-2 py-1.5 text-xs font-medium text-destructive transition-colors hover:bg-destructive/20", g && "opacity-40 cursor-not-allowed"),
10124
10122
  children: [/* @__PURE__ */ T(pe, {
10125
10123
  className: "h-4 w-4",
10126
10124
  "aria-hidden": !0
@@ -10303,7 +10301,7 @@ function ol({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
10303
10301
  type: "button",
10304
10302
  disabled: n,
10305
10303
  onClick: i,
10306
- className: H("flex flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent bg-amber-400 px-2 py-2 text-sm font-semibold text-amber-950 transition-colors hover:bg-amber-300 active:scale-95", n && "opacity-40 cursor-not-allowed"),
10304
+ className: V("flex flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent bg-amber-400 px-2 py-2 text-sm font-semibold text-amber-950 transition-colors hover:bg-amber-300 active:scale-95", n && "opacity-40 cursor-not-allowed"),
10307
10305
  children: [/* @__PURE__ */ T(gt, {
10308
10306
  className: "h-4 w-4",
10309
10307
  "aria-hidden": !0
@@ -10318,7 +10316,7 @@ function sl({ label: e, symbol: t, disabled: n, onClick: r }) {
10318
10316
  "aria-label": e,
10319
10317
  disabled: n,
10320
10318
  onClick: r,
10321
- className: H("flex h-7 w-7 shrink-0 items-center justify-center rounded-full border border-border bg-surface text-base leading-none text-foreground-subtle transition-colors hover:bg-surface-hover hover:text-foreground active:scale-95", n && "opacity-40 cursor-not-allowed"),
10319
+ className: V("flex h-7 w-7 shrink-0 items-center justify-center rounded-full border border-border bg-surface text-base leading-none text-foreground-subtle transition-colors hover:bg-surface-hover hover:text-foreground active:scale-95", n && "opacity-40 cursor-not-allowed"),
10322
10320
  children: t
10323
10321
  });
10324
10322
  }
@@ -10327,7 +10325,7 @@ function cl({ icon: e, label: t, busy: n, onClick: r }) {
10327
10325
  type: "button",
10328
10326
  disabled: n,
10329
10327
  onClick: r,
10330
- className: H("flex flex-col items-center justify-center gap-1 rounded-lg border border-border/60 bg-surface-subtle px-1 py-2 text-[11px] font-medium text-foreground-subtle transition-colors hover:bg-surface-hover hover:text-foreground", n && "opacity-40 cursor-not-allowed"),
10328
+ className: V("flex flex-col items-center justify-center gap-1 rounded-lg border border-border/60 bg-surface-subtle px-1 py-2 text-[11px] font-medium text-foreground-subtle transition-colors hover:bg-surface-hover hover:text-foreground", n && "opacity-40 cursor-not-allowed"),
10331
10329
  children: [e, t]
10332
10330
  });
10333
10331
  }
@@ -10340,7 +10338,7 @@ function ll({ icon: e, label: t, on: n, busy: r, onToggle: i }) {
10340
10338
  onClick: () => {
10341
10339
  r || i(!n);
10342
10340
  },
10343
- className: H("flex flex-col items-center justify-center gap-1 rounded-lg border px-1 py-2 text-[11px] font-medium transition-colors", n ? "border-transparent bg-indigo-400 text-indigo-950 shadow-sm" : "border-border/60 bg-surface-subtle text-foreground-subtle hover:bg-surface-hover hover:text-foreground", r && "opacity-40 cursor-not-allowed"),
10341
+ className: V("flex flex-col items-center justify-center gap-1 rounded-lg border px-1 py-2 text-[11px] font-medium transition-colors", n ? "border-transparent bg-indigo-400 text-indigo-950 shadow-sm" : "border-border/60 bg-surface-subtle text-foreground-subtle hover:bg-surface-hover hover:text-foreground", r && "opacity-40 cursor-not-allowed"),
10344
10342
  children: [e, t]
10345
10343
  });
10346
10344
  }
@@ -10416,7 +10414,7 @@ function yl(e) {
10416
10414
  }
10417
10415
  var bl = "\n@keyframes acv-fall { 0%{transform:translateY(-1.75rem);opacity:0} 18%{opacity:.7} 82%{opacity:.7} 100%{transform:translateY(7.5rem);opacity:0} }\n@keyframes acv-rise { 0%{transform:translateY(7.5rem);opacity:0} 18%{opacity:.7} 82%{opacity:.7} 100%{transform:translateY(-1.75rem);opacity:0} }\n@keyframes acv-sway { 0%,100%{transform:translateX(-9%)} 50%{transform:translateX(9%)} }\n@keyframes acv-swing-h { 0%,100%{transform:translateX(-22%)} 50%{transform:translateX(22%)} }\n@keyframes acv-swing-v { 0%,100%{transform:translateY(-22%)} 50%{transform:translateY(22%)} }\n@keyframes acv-spin { to { transform:rotate(360deg) } }\n@keyframes acv-glow { 0%,100%{opacity:.35;transform:scale(1)} 50%{opacity:.6;transform:scale(1.06)} }\n@media (prefers-reduced-motion: reduce) {\n .acv-streak, .acv-fan, .acv-sway-wrap, .acv-glow, .acv-swing { animation: none !important; }\n}\n";
10418
10416
  function xl({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
10419
- let { cap: i, slice: a, available: o } = R({
10417
+ let { cap: i, slice: a, available: o } = H({
10420
10418
  trpc: e,
10421
10419
  deviceId: t,
10422
10420
  cap: (e) => e.climateControl,
@@ -10429,7 +10427,7 @@ function xl({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
10429
10427
  className: "inline-flex items-center gap-1",
10430
10428
  children: [
10431
10429
  /* @__PURE__ */ T("span", {
10432
- className: H("text-xs tabular-nums font-medium", Do[s.mode]),
10430
+ className: V("text-xs tabular-nums font-medium", Do[s.mode]),
10433
10431
  children: s.target === null ? s.currentTemp === null ? null : /* @__PURE__ */ E("span", {
10434
10432
  className: "text-foreground-subtle",
10435
10433
  children: [s.currentTemp, "°"]
@@ -10457,7 +10455,7 @@ function xl({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
10457
10455
  c({ target: e }), i.setTarget({ target: e });
10458
10456
  }
10459
10457
  },
10460
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", l && "opacity-40 cursor-not-allowed"),
10458
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", l && "opacity-40 cursor-not-allowed"),
10461
10459
  children: "−"
10462
10460
  }), /* @__PURE__ */ T("button", {
10463
10461
  type: "button",
@@ -10469,7 +10467,7 @@ function xl({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
10469
10467
  c({ target: e }), i.setTarget({ target: e });
10470
10468
  }
10471
10469
  },
10472
- className: H("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", l && "opacity-40 cursor-not-allowed"),
10470
+ className: V("inline-flex h-5 w-5 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors text-xs", l && "opacity-40 cursor-not-allowed"),
10473
10471
  children: "+"
10474
10472
  })] }),
10475
10473
  /* @__PURE__ */ T("select", {
@@ -10481,7 +10479,7 @@ function xl({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
10481
10479
  let t = s.availableModes.find((t) => t === e.target.value);
10482
10480
  !l && t && (c({ mode: t }), i.setMode({ mode: t }));
10483
10481
  },
10484
- className: H("bg-transparent px-0.5 text-xs text-foreground-subtle hover:text-foreground cursor-pointer", l && "opacity-40 cursor-not-allowed"),
10482
+ className: V("bg-transparent px-0.5 text-xs text-foreground-subtle hover:text-foreground cursor-pointer", l && "opacity-40 cursor-not-allowed"),
10485
10483
  children: s.availableModes.map((e) => /* @__PURE__ */ T("option", {
10486
10484
  value: e,
10487
10485
  children: fl[e]
@@ -10492,7 +10490,7 @@ function xl({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
10492
10490
  let u = ml[s.mode], d = s.mode !== "off", f = vl(s.preset), p = s.preset === "turbo", m = Math.max(.55, yl(s.fanMode) * (p ? .6 : 1)), h = s.swingVertical !== null, g = s.swingHorizontal !== null, _ = d && (s.swingVertical === !0 || s.swingHorizontal === !0);
10493
10491
  return /* @__PURE__ */ E("div", {
10494
10492
  "data-mode": s.mode,
10495
- className: H("relative flex flex-col items-stretch gap-2.5 overflow-hidden rounded-lg border p-3 transition-colors", Eo[s.mode]),
10493
+ className: V("relative flex flex-col items-stretch gap-2.5 overflow-hidden rounded-lg border p-3 transition-colors", Eo[s.mode]),
10496
10494
  children: [
10497
10495
  /* @__PURE__ */ T("style", { children: bl }),
10498
10496
  /* @__PURE__ */ E("div", {
@@ -10697,7 +10695,7 @@ function wl({ label: e, icon: t, value: n, options: r, disabled: i, onChange: a
10697
10695
  className: "text-[10px] font-semibold uppercase tracking-wider text-foreground-subtle",
10698
10696
  children: e
10699
10697
  }), /* @__PURE__ */ E("div", {
10700
- className: H("flex items-center gap-1 overflow-hidden rounded-lg border border-border/60 bg-surface-subtle px-1.5 py-1.5", i && "opacity-40"),
10698
+ className: V("flex items-center gap-1 overflow-hidden rounded-lg border border-border/60 bg-surface-subtle px-1.5 py-1.5", i && "opacity-40"),
10701
10699
  children: [
10702
10700
  /* @__PURE__ */ T("span", {
10703
10701
  className: "flex shrink-0",
@@ -10727,7 +10725,7 @@ function Tl({ label: e, symbol: t, disabled: n, onClick: r }) {
10727
10725
  "aria-label": e,
10728
10726
  disabled: n,
10729
10727
  onClick: r,
10730
- className: H("flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border bg-surface text-lg leading-none text-foreground-subtle transition-colors hover:bg-surface-hover hover:text-foreground active:scale-95", n && "opacity-40 cursor-not-allowed"),
10728
+ className: V("flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border bg-surface text-lg leading-none text-foreground-subtle transition-colors hover:bg-surface-hover hover:text-foreground active:scale-95", n && "opacity-40 cursor-not-allowed"),
10731
10729
  children: t
10732
10730
  });
10733
10731
  }
@@ -10779,7 +10777,7 @@ function Dl({ mode: e, accent: t, periodSec: n, swaying: r }) {
10779
10777
  size: 56
10780
10778
  })
10781
10779
  }) : /* @__PURE__ */ T("div", {
10782
- className: H("acv-sway-wrap absolute inset-0", r && "acv-sway"),
10780
+ className: V("acv-sway-wrap absolute inset-0", r && "acv-sway"),
10783
10781
  style: r ? { animation: "acv-sway 2.6s ease-in-out infinite" } : void 0,
10784
10782
  children: i.map((e) => /* @__PURE__ */ T("span", {
10785
10783
  className: "acv-streak absolute rounded-full",
@@ -10837,7 +10835,7 @@ function kl({ axis: e, on: t, busy: n, onToggle: r }) {
10837
10835
  onClick: () => {
10838
10836
  n || r(!t);
10839
10837
  },
10840
- className: H("flex items-center justify-center gap-2 rounded-lg border px-2 py-1.5 text-xs font-medium transition-colors", t ? "border-transparent bg-indigo-400 text-indigo-950 shadow-sm" : "border-border/60 bg-surface-subtle text-foreground-subtle hover:bg-surface-hover hover:text-foreground", n && "opacity-40 cursor-not-allowed"),
10838
+ className: V("flex items-center justify-center gap-2 rounded-lg border px-2 py-1.5 text-xs font-medium transition-colors", t ? "border-transparent bg-indigo-400 text-indigo-950 shadow-sm" : "border-border/60 bg-surface-subtle text-foreground-subtle hover:bg-surface-hover hover:text-foreground", n && "opacity-40 cursor-not-allowed"),
10841
10839
  children: [/* @__PURE__ */ T(a, {
10842
10840
  className: "acv-swing h-4 w-4",
10843
10841
  "aria-hidden": !0,
@@ -10908,7 +10906,7 @@ var Bl = {
10908
10906
  off: "#d4d4d8"
10909
10907
  };
10910
10908
  function Vl({ trpc: e, deviceId: t, features: n, optimistic: r }) {
10911
- let { cap: i, slice: a, available: o } = R({
10909
+ let { cap: i, slice: a, available: o } = H({
10912
10910
  trpc: e,
10913
10911
  deviceId: t,
10914
10912
  cap: (e) => e.climateControl,
@@ -10918,7 +10916,7 @@ function Vl({ trpc: e, deviceId: t, features: n, optimistic: r }) {
10918
10916
  let l = !o, u = Bl[s.mode], d = s.mode === "heat_cool" || s.targetLow !== null && s.targetHigh !== null, f = Al, p = jl, m = !d && s.target !== null ? Ml(s.target, f, p) : 0, h = d && s.targetLow !== null ? Ml(s.targetLow, f, p) : 0, g = d && s.targetHigh !== null ? Ml(s.targetHigh, f, p) : 0;
10919
10917
  return /* @__PURE__ */ E("div", {
10920
10918
  "data-mode": s.mode,
10921
- className: H("flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4 transition-colors", Eo[s.mode]),
10919
+ className: V("flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4 transition-colors", Eo[s.mode]),
10922
10920
  children: [/* @__PURE__ */ E("div", {
10923
10921
  className: "flex flex-col items-center gap-3",
10924
10922
  children: [/* @__PURE__ */ E("div", {
@@ -11036,7 +11034,7 @@ function Vl({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11036
11034
  let t = e.target.value;
11037
11035
  !l && t && (c({ mode: s.availableModes.find((e) => e === t) ?? s.mode }), i.setMode({ mode: s.availableModes.find((e) => e === t) ?? s.mode }));
11038
11036
  },
11039
- className: H("w-full rounded border border-border bg-surface px-3 py-1.5 text-sm", l && "opacity-40 cursor-not-allowed"),
11037
+ className: V("w-full rounded border border-border bg-surface px-3 py-1.5 text-sm", l && "opacity-40 cursor-not-allowed"),
11040
11038
  children: s.availableModes.map((e) => /* @__PURE__ */ T("option", {
11041
11039
  value: e,
11042
11040
  children: e
@@ -11079,7 +11077,7 @@ function Gl({ state: e }) {
11079
11077
  return /* @__PURE__ */ T("div", {
11080
11078
  "data-testid": "lock-glyph",
11081
11079
  "data-state": e,
11082
- className: H("flex h-16 w-16 items-center justify-center rounded-full border-2", t.colorClass),
11080
+ className: V("flex h-16 w-16 items-center justify-center rounded-full border-2", t.colorClass),
11083
11081
  children: t.icon === "locked" ? /* @__PURE__ */ T(nt, {
11084
11082
  className: "h-8 w-8",
11085
11083
  "aria-hidden": "true"
@@ -11091,7 +11089,7 @@ function Gl({ state: e }) {
11091
11089
  }
11092
11090
  function Kl({ state: e }) {
11093
11091
  return /* @__PURE__ */ T("span", {
11094
- className: H("text-sm font-medium capitalize", Ul(e) ? "text-danger" : "text-foreground-muted"),
11092
+ className: V("text-sm font-medium capitalize", Ul(e) ? "text-danger" : "text-foreground-muted"),
11095
11093
  children: e
11096
11094
  });
11097
11095
  }
@@ -11104,7 +11102,7 @@ function ql({ busy: e, onOpen: t }) {
11104
11102
  onClick: (e) => {
11105
11103
  e.stopPropagation(), t();
11106
11104
  },
11107
- className: H("inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-1.5 text-xs font-medium", "text-foreground-muted hover:bg-surface-hover transition-colors", e && "opacity-40 cursor-not-allowed"),
11105
+ className: V("inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-1.5 text-xs font-medium", "text-foreground-muted hover:bg-surface-hover transition-colors", e && "opacity-40 cursor-not-allowed"),
11108
11106
  children: [/* @__PURE__ */ T(Ie, {
11109
11107
  className: "h-3.5 w-3.5",
11110
11108
  "aria-hidden": "true"
@@ -11112,7 +11110,7 @@ function ql({ busy: e, onOpen: t }) {
11112
11110
  });
11113
11111
  }
11114
11112
  function Jl({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11115
- let { cap: i, slice: a, available: o } = R({
11113
+ let { cap: i, slice: a, available: o } = H({
11116
11114
  trpc: e,
11117
11115
  deviceId: t,
11118
11116
  cap: (e) => e.lockControl,
@@ -11132,7 +11130,7 @@ function Jl({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11132
11130
  children: [/* @__PURE__ */ T(Gl, { state: s.state }), /* @__PURE__ */ T(Kl, { state: s.state })]
11133
11131
  }),
11134
11132
  /* @__PURE__ */ T("div", {
11135
- className: H(u && "pointer-events-none opacity-40"),
11133
+ className: V(u && "pointer-events-none opacity-40"),
11136
11134
  children: /* @__PURE__ */ T(no, {
11137
11135
  on: l,
11138
11136
  targetLabel: m,
@@ -11160,17 +11158,17 @@ function $l(e) {
11160
11158
  }
11161
11159
  var eu = "#f4b740", tu = "#d4d4d8";
11162
11160
  function nu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11163
- let i = R({
11161
+ let i = H({
11164
11162
  trpc: e,
11165
11163
  deviceId: t,
11166
11164
  cap: (e) => e.switch,
11167
11165
  slice: (e) => e.state.switch
11168
- }), a = R({
11166
+ }), a = H({
11169
11167
  trpc: e,
11170
11168
  deviceId: t,
11171
11169
  cap: (e) => e.brightness,
11172
11170
  slice: (e) => e.state.brightness
11173
- }), o = R({
11171
+ }), o = H({
11174
11172
  trpc: e,
11175
11173
  deviceId: t,
11176
11174
  cap: (e) => e.color,
@@ -11290,12 +11288,12 @@ function nu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11290
11288
  //#region ../ui-library/src/composites/device-controls/fan-hero-card.tsx
11291
11289
  var ru = "#3aa6a0", iu = "#d4d4d8";
11292
11290
  function au({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11293
- let i = R({
11291
+ let i = H({
11294
11292
  trpc: e,
11295
11293
  deviceId: t,
11296
11294
  cap: (e) => e.switch,
11297
11295
  slice: (e) => e.state.switch
11298
- }), a = R({
11296
+ }), a = H({
11299
11297
  trpc: e,
11300
11298
  deviceId: t,
11301
11299
  cap: (e) => e.fanControl,
@@ -11360,7 +11358,7 @@ function au({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11360
11358
  onChange: (e) => {
11361
11359
  e.stopPropagation(), C(e.target.value);
11362
11360
  },
11363
- className: H("bg-surface border border-border rounded px-1 py-0.5", d && "opacity-40 cursor-not-allowed"),
11361
+ className: V("bg-surface border border-border rounded px-1 py-0.5", d && "opacity-40 cursor-not-allowed"),
11364
11362
  children: [/* @__PURE__ */ T("option", {
11365
11363
  value: "",
11366
11364
  disabled: !0,
@@ -11382,7 +11380,7 @@ function au({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11382
11380
  onClick: (e) => {
11383
11381
  e.stopPropagation(), x();
11384
11382
  },
11385
- className: H("inline-flex items-center gap-1.5 rounded-md border px-3 py-1.5 text-xs font-medium transition-colors", y ? "border-success/50 bg-success/10 text-success" : "border-border text-foreground-muted hover:bg-surface-hover", d && "opacity-40 cursor-not-allowed"),
11383
+ className: V("inline-flex items-center gap-1.5 rounded-md border px-3 py-1.5 text-xs font-medium transition-colors", y ? "border-success/50 bg-success/10 text-success" : "border-border text-foreground-muted hover:bg-surface-hover", d && "opacity-40 cursor-not-allowed"),
11386
11384
  children: [/* @__PURE__ */ T(xt, {
11387
11385
  className: "h-3.5 w-3.5",
11388
11386
  "aria-hidden": "true"
@@ -11402,7 +11400,7 @@ function au({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11402
11400
  //#endregion
11403
11401
  //#region ../ui-library/src/composites/device-controls/switch-hero-card.tsx
11404
11402
  function ou({ trpc: e, deviceId: t, optimistic: n }) {
11405
- let { cap: r, slice: i, available: a } = R({
11403
+ let { cap: r, slice: i, available: a } = H({
11406
11404
  trpc: e,
11407
11405
  deviceId: t,
11408
11406
  cap: (e) => e.switch,
@@ -11416,7 +11414,7 @@ function ou({ trpc: e, deviceId: t, optimistic: n }) {
11416
11414
  /* @__PURE__ */ T("div", {
11417
11415
  "data-testid": "switch-glyph",
11418
11416
  "data-state": c ? "on" : "off",
11419
- className: H("flex h-16 w-16 items-center justify-center rounded-full border-2 transition-colors", c ? "border-success/30 bg-success/10 text-success" : "border-border bg-surface-subtle text-foreground-subtle"),
11417
+ className: V("flex h-16 w-16 items-center justify-center rounded-full border-2 transition-colors", c ? "border-success/30 bg-success/10 text-success" : "border-border bg-surface-subtle text-foreground-subtle"),
11420
11418
  children: /* @__PURE__ */ T(yt, {
11421
11419
  className: "h-8 w-8",
11422
11420
  "aria-hidden": "true"
@@ -11479,12 +11477,12 @@ function du({ label: e, busy: t, onPress: n, children: r, primary: i }) {
11479
11477
  onClick: (e) => {
11480
11478
  e.stopPropagation(), t || n();
11481
11479
  },
11482
- className: H("inline-flex items-center justify-center rounded-full transition-colors", i ? "h-12 w-12 bg-primary text-primary-foreground hover:bg-primary/90 shadow-md" : "h-10 w-10 text-foreground-muted hover:bg-surface-hover", t && "opacity-40 cursor-not-allowed"),
11480
+ className: V("inline-flex items-center justify-center rounded-full transition-colors", i ? "h-12 w-12 bg-primary text-primary-foreground hover:bg-primary/90 shadow-md" : "h-10 w-10 text-foreground-muted hover:bg-surface-hover", t && "opacity-40 cursor-not-allowed"),
11483
11481
  children: r
11484
11482
  });
11485
11483
  }
11486
11484
  function fu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11487
- let { cap: i, slice: a, available: o } = R({
11485
+ let { cap: i, slice: a, available: o } = H({
11488
11486
  trpc: e,
11489
11487
  deviceId: t,
11490
11488
  cap: (e) => e.mediaPlayer,
@@ -11583,7 +11581,7 @@ function fu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11583
11581
  let t = !s.isMuted;
11584
11582
  c({ isMuted: t }), i.setMute({ muted: t });
11585
11583
  },
11586
- className: H("inline-flex h-7 w-7 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", l && "opacity-40 cursor-not-allowed"),
11584
+ className: V("inline-flex h-7 w-7 items-center justify-center rounded text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors", l && "opacity-40 cursor-not-allowed"),
11587
11585
  children: s.isMuted === !0 ? /* @__PURE__ */ T(qt, {
11588
11586
  className: "h-4 w-4",
11589
11587
  "aria-hidden": "true"
@@ -11710,14 +11708,14 @@ function vu({ label: e, active: t, busy: n, onSelect: r }) {
11710
11708
  onClick: (e) => {
11711
11709
  e.stopPropagation(), n || r();
11712
11710
  },
11713
- className: H("flex-1 rounded-md px-3 py-2 text-sm font-medium transition-colors", t ? "bg-primary text-primary-foreground shadow-sm" : "text-foreground-muted hover:bg-surface-hover", n && "opacity-40 cursor-not-allowed"),
11711
+ className: V("flex-1 rounded-md px-3 py-2 text-sm font-medium transition-colors", t ? "bg-primary text-primary-foreground shadow-sm" : "text-foreground-muted hover:bg-surface-hover", n && "opacity-40 cursor-not-allowed"),
11714
11712
  children: e
11715
11713
  });
11716
11714
  }
11717
11715
  function yu({ state: e, availableModes: t, busy: n, onDisarm: r, onArm: i }) {
11718
11716
  let a = hu(e), o = gu(e);
11719
11717
  return /* @__PURE__ */ E("div", {
11720
- className: H("flex min-w-0 items-stretch gap-1 rounded-lg border border-border bg-surface-subtle p-1"),
11718
+ className: V("flex min-w-0 items-stretch gap-1 rounded-lg border border-border bg-surface-subtle p-1"),
11721
11719
  children: [/* @__PURE__ */ T(vu, {
11722
11720
  label: "Disarm",
11723
11721
  active: !a && !o,
@@ -11732,7 +11730,7 @@ function yu({ state: e, availableModes: t, busy: n, onDisarm: r, onArm: i }) {
11732
11730
  });
11733
11731
  }
11734
11732
  function bu(e, t, n) {
11735
- let { cap: r, slice: i, available: a } = R({
11733
+ let { cap: r, slice: i, available: a } = H({
11736
11734
  trpc: e,
11737
11735
  deviceId: t,
11738
11736
  cap: (e) => e.alarmPanel,
@@ -11757,7 +11755,7 @@ function xu({ trpc: e, deviceId: t, optimistic: n }) {
11757
11755
  return /* @__PURE__ */ E("div", {
11758
11756
  className: "flex min-w-0 items-center gap-2",
11759
11757
  children: [/* @__PURE__ */ E("span", {
11760
- className: H("inline-flex shrink-0 items-center gap-1 rounded-md border px-1.5 py-0.5 text-[11px] font-medium whitespace-nowrap", c.colorClass, gu(r.state) && "animate-pulse"),
11758
+ className: V("inline-flex shrink-0 items-center gap-1 rounded-md border px-1.5 py-0.5 text-[11px] font-medium whitespace-nowrap", c.colorClass, gu(r.state) && "animate-pulse"),
11761
11759
  children: [/* @__PURE__ */ T(_u, {
11762
11760
  icon: c.icon,
11763
11761
  sizeClass: "h-3 w-3"
@@ -11772,7 +11770,7 @@ function xu({ trpc: e, deviceId: t, optimistic: n }) {
11772
11770
  let t = e.target.value;
11773
11771
  t === "" ? o() : s(t);
11774
11772
  },
11775
- className: H("min-w-0 shrink rounded-md border border-border bg-surface-subtle px-1.5 py-0.5 text-xs text-foreground-muted", a && "cursor-not-allowed opacity-40"),
11773
+ className: V("min-w-0 shrink rounded-md border border-border bg-surface-subtle px-1.5 py-0.5 text-xs text-foreground-muted", a && "cursor-not-allowed opacity-40"),
11776
11774
  children: [/* @__PURE__ */ T("option", {
11777
11775
  value: "",
11778
11776
  children: "Disarm"
@@ -11794,10 +11792,10 @@ function Su({ trpc: e, deviceId: t, optimistic: n }) {
11794
11792
  children: [/* @__PURE__ */ T("div", {
11795
11793
  "data-testid": "alarm-state",
11796
11794
  "data-state": r.state,
11797
- className: H("flex h-16 w-16 items-center justify-center rounded-full border-2", c.colorClass, gu(r.state) && "animate-pulse"),
11795
+ className: V("flex h-16 w-16 items-center justify-center rounded-full border-2", c.colorClass, gu(r.state) && "animate-pulse"),
11798
11796
  children: /* @__PURE__ */ T(_u, { icon: c.icon })
11799
11797
  }), /* @__PURE__ */ T("span", {
11800
- className: H("text-sm font-medium", c.colorClass, "border-0 bg-transparent"),
11798
+ className: V("text-sm font-medium", c.colorClass, "border-0 bg-transparent"),
11801
11799
  children: c.label
11802
11800
  })]
11803
11801
  }), /* @__PURE__ */ T(yu, {
@@ -11839,7 +11837,7 @@ function Tu({ error: e }) {
11839
11837
  });
11840
11838
  }
11841
11839
  function Eu(e, t, n) {
11842
- let { cap: r, slice: i, available: a } = R({
11840
+ let { cap: r, slice: i, available: a } = H({
11843
11841
  trpc: e,
11844
11842
  deviceId: t,
11845
11843
  cap: (e) => e.scriptRunner,
@@ -11870,7 +11868,7 @@ function Du({ running: e, busy: t, large: n, onRun: r, onStop: i }) {
11870
11868
  onClick: (t) => {
11871
11869
  t.stopPropagation(), e ? i() : r();
11872
11870
  },
11873
- className: H("inline-flex items-center gap-1 rounded transition-colors", n ? "h-10 px-4 text-sm" : "h-5 px-1.5 text-xs", e ? "bg-danger text-danger-foreground hover:bg-danger/90" : "bg-primary text-primary-foreground hover:bg-primary/90", t && "cursor-not-allowed opacity-40"),
11871
+ className: V("inline-flex items-center gap-1 rounded transition-colors", n ? "h-10 px-4 text-sm" : "h-5 px-1.5 text-xs", e ? "bg-danger text-danger-foreground hover:bg-danger/90" : "bg-primary text-primary-foreground hover:bg-primary/90", t && "cursor-not-allowed opacity-40"),
11874
11872
  children: [T(e ? Ee : vt, {
11875
11873
  className: n ? "h-4 w-4" : "h-3 w-3",
11876
11874
  "aria-hidden": "true"
@@ -11903,7 +11901,7 @@ function ku({ trpc: e, deviceId: t, optimistic: n }) {
11903
11901
  /* @__PURE__ */ T("div", {
11904
11902
  "data-testid": "script-state",
11905
11903
  "data-running": o ? "true" : "false",
11906
- className: H("flex h-16 w-16 items-center justify-center rounded-full border-2", o ? "border-primary text-primary animate-pulse" : "border-border text-foreground-subtle"),
11904
+ className: V("flex h-16 w-16 items-center justify-center rounded-full border-2", o ? "border-primary text-primary animate-pulse" : "border-border text-foreground-subtle"),
11907
11905
  children: /* @__PURE__ */ T(vt, {
11908
11906
  className: "h-8 w-8",
11909
11907
  "aria-hidden": "true"
@@ -11932,7 +11930,7 @@ function ku({ trpc: e, deviceId: t, optimistic: n }) {
11932
11930
  });
11933
11931
  }
11934
11932
  function Au(e, t, n) {
11935
- let { cap: r, slice: i, available: a } = R({
11933
+ let { cap: r, slice: i, available: a } = H({
11936
11934
  trpc: e,
11937
11935
  deviceId: t,
11938
11936
  cap: (e) => e.automationControl,
@@ -11961,7 +11959,7 @@ function ju({ enabled: e, busy: t, onToggle: n }) {
11961
11959
  onClick: (t) => {
11962
11960
  t.stopPropagation(), n(!e);
11963
11961
  },
11964
- className: H("inline-flex shrink-0 items-center gap-1 rounded-md border px-1.5 py-0.5", "text-[11px] font-medium whitespace-nowrap transition-colors", e ? "border-success/40 bg-success/10 text-success" : "border-border bg-surface-subtle text-foreground-subtle", t && "cursor-not-allowed opacity-40"),
11962
+ className: V("inline-flex shrink-0 items-center gap-1 rounded-md border px-1.5 py-0.5", "text-[11px] font-medium whitespace-nowrap transition-colors", e ? "border-success/40 bg-success/10 text-success" : "border-border bg-surface-subtle text-foreground-subtle", t && "cursor-not-allowed opacity-40"),
11965
11963
  children: e ? "Enabled" : "Disabled"
11966
11964
  });
11967
11965
  }
@@ -11975,7 +11973,7 @@ function Mu({ busy: e, large: t, onTrigger: n }) {
11975
11973
  onClick: (e) => {
11976
11974
  e.stopPropagation(), n();
11977
11975
  },
11978
- className: H("inline-flex items-center gap-1 rounded transition-colors", t ? "h-10 px-4 text-sm" : "h-5 px-1.5 text-xs", "bg-primary text-primary-foreground hover:bg-primary/90", e && "cursor-not-allowed opacity-40"),
11976
+ className: V("inline-flex items-center gap-1 rounded transition-colors", t ? "h-10 px-4 text-sm" : "h-5 px-1.5 text-xs", "bg-primary text-primary-foreground hover:bg-primary/90", e && "cursor-not-allowed opacity-40"),
11979
11977
  children: [/* @__PURE__ */ T(en, {
11980
11978
  className: t ? "h-4 w-4" : "h-3 w-3",
11981
11979
  "aria-hidden": "true"
@@ -12007,7 +12005,7 @@ function Pu({ trpc: e, deviceId: t, optimistic: n }) {
12007
12005
  /* @__PURE__ */ T("div", {
12008
12006
  "data-testid": "automation-state",
12009
12007
  "data-enabled": r.enabled ? "true" : "false",
12010
- className: H("flex h-16 w-16 items-center justify-center rounded-full border-2", r.enabled ? "border-success text-success" : "border-border text-foreground-subtle"),
12008
+ className: V("flex h-16 w-16 items-center justify-center rounded-full border-2", r.enabled ? "border-success text-success" : "border-border text-foreground-subtle"),
12011
12009
  children: /* @__PURE__ */ T(en, {
12012
12010
  className: "h-8 w-8",
12013
12011
  "aria-hidden": "true"
@@ -12046,7 +12044,7 @@ function Fu({ children: e }) {
12046
12044
  });
12047
12045
  }
12048
12046
  function Iu(e, t) {
12049
- let { cap: n } = R({
12047
+ let { cap: n } = H({
12050
12048
  trpc: e,
12051
12049
  deviceId: t,
12052
12050
  cap: (e) => e.switch,
@@ -12064,7 +12062,7 @@ function Lu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12064
12062
  }) : null;
12065
12063
  }
12066
12064
  function Ru(e, t) {
12067
- let { cap: n } = R({
12065
+ let { cap: n } = H({
12068
12066
  trpc: e,
12069
12067
  deviceId: t,
12070
12068
  cap: (e) => e.lockControl,
@@ -12100,7 +12098,7 @@ function Bu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12100
12098
  }) : null;
12101
12099
  }
12102
12100
  function Vu(e, t) {
12103
- let { cap: n } = R({
12101
+ let { cap: n } = H({
12104
12102
  trpc: e,
12105
12103
  deviceId: t,
12106
12104
  cap: (e) => e.fanControl,
@@ -12127,7 +12125,7 @@ function Hu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12127
12125
  }) : null;
12128
12126
  }
12129
12127
  function Uu(e, t) {
12130
- let { cap: n } = R({
12128
+ let { cap: n } = H({
12131
12129
  trpc: e,
12132
12130
  deviceId: t,
12133
12131
  cap: (e) => e.climateControl,
@@ -12163,7 +12161,7 @@ function Ku({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12163
12161
  }) : null;
12164
12162
  }
12165
12163
  function qu(e, t) {
12166
- let { cap: n } = R({
12164
+ let { cap: n } = H({
12167
12165
  trpc: e,
12168
12166
  deviceId: t,
12169
12167
  cap: (e) => e.mediaPlayer,
@@ -12181,7 +12179,7 @@ function Ju({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12181
12179
  }) : null;
12182
12180
  }
12183
12181
  function Yu(e, t) {
12184
- let { cap: n } = R({
12182
+ let { cap: n } = H({
12185
12183
  trpc: e,
12186
12184
  deviceId: t,
12187
12185
  cap: (e) => e.control,
@@ -15877,7 +15875,7 @@ function B_({ selectedNodeId: e, onSelect: t, label: n = "Node", hideIcon: r = !
15877
15875
  onClick: () => t(n.id),
15878
15876
  disabled: !n.isOnline,
15879
15877
  title: n.isOnline ? n.name : `${n.name} (offline)`,
15880
- className: H("px-2.5 py-1 transition-colors", i ? "bg-primary/15 text-primary" : "bg-transparent text-foreground-subtle hover:bg-surface-hover hover:text-foreground", r > 0 && "border-l border-border", !n.isOnline && "opacity-50 cursor-not-allowed"),
15878
+ className: V("px-2.5 py-1 transition-colors", i ? "bg-primary/15 text-primary" : "bg-transparent text-foreground-subtle hover:bg-surface-hover hover:text-foreground", r > 0 && "border-l border-border", !n.isOnline && "opacity-50 cursor-not-allowed"),
15881
15879
  children: n.shortName
15882
15880
  }, n.id);
15883
15881
  })