@camstack/addon-osd-manager 0.1.132 → 0.1.134

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.
Files changed (18) hide show
  1. package/dist/{MotionZonesSettings-BVKF49rs.mjs → MotionZonesSettings-DjSGOYEZ.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-DoIRAuP_.mjs → PrivacyMaskSettings-BrJjxUTV.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-3ApQNn3a.mjs → SceneMonitorEditor-lFwk-5Ag.mjs} +3 -3
  4. package/dist/_stub.js +939 -889
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-mIgOkpXI.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-D98-RlNY.mjs} +3 -3
  6. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MNSRdKcG.mjs +26 -0
  7. package/dist/{hostInit-vbrbPLQg.mjs → hostInit-C4Y_aRuZ.mjs} +2 -2
  8. package/dist/index.js +1515 -1004
  9. package/dist/index.mjs +1515 -1004
  10. package/dist/{player-overlays-BPpRI9aB.mjs → player-overlays-8DJJmri3.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-BEcoyxvC.mjs → responsive-BJTLnN-p.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-1LhlrkfK.mjs → scene-monitor-copy-CXXU8X6V.mjs} +1 -1
  14. package/dist/{square-Bw9o8y6p.mjs → square-CxBZyzy5.mjs} +1 -1
  15. package/dist/{trash-2-ClX9SCS6.mjs → trash-2-CDkpE8nN.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BNiwvK5v.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-D5wQZ-Cc.mjs} +1 -1
  17. package/package.json +1 -1
  18. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D47POQ8_.mjs +0 -26
package/dist/_stub.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import "./virtualExposes-BgZ5Cn7S.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BNiwvK5v.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-D5wQZ-Cc.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_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
4
- import { i as f, o as p, r as m, s as h } from "./responsive-BEcoyxvC.mjs";
5
- import { d as g, l as _, u as v } from "./scene-monitor-copy-1LhlrkfK.mjs";
6
- import { i as y, r as b } from "./player-overlays-BPpRI9aB.mjs";
7
- import { r as ee, t as x } from "./square-Bw9o8y6p.mjs";
8
- import { t as te } from "./trash-2-ClX9SCS6.mjs";
4
+ import { i as f, o as p, r as m, s as h } from "./responsive-BJTLnN-p.mjs";
5
+ import { d as g, l as _, u as v } from "./scene-monitor-copy-CXXU8X6V.mjs";
6
+ import { i as y, r as b } from "./player-overlays-8DJJmri3.mjs";
7
+ import { r as ee, t as x } from "./square-CxBZyzy5.mjs";
8
+ import { t as te } from "./trash-2-CDkpE8nN.mjs";
9
9
  import { t as S } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BpP33rwB.mjs";
10
10
  import { n as C, r as w, t as T } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
11
11
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_2_dom__loadShare__.js-C0K4h_0e.mjs";
12
12
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DmzTg7Gl.mjs";
13
13
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-Dhy3m6Ij.mjs";
14
14
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-C7omKvJr.mjs";
15
- import { a as ne, c as E, d as D, f as re, h as ie, i as ae, l as O, m as oe, o as k, r as se, s as A, t as ce, u as le } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D47POQ8_.mjs";
15
+ import { a as ne, c as E, d as D, f as re, h as ie, i as ae, l as O, m as oe, o as k, r as se, s as A, t as ce, u as le } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MNSRdKcG.mjs";
16
16
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-B_4MkXHU.mjs";
17
17
  var j = h("activity", [["path", {
18
18
  d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",
@@ -1656,9 +1656,9 @@ P.deviceManager.getChildren.useQuery, P.deviceManager.getChildrenBatch.useQuery,
1656
1656
  var an = P.deviceManager.getAllBindings.useQuery;
1657
1657
  P.deviceManager.setWrapperActive.useMutation, P.deviceManager.listWrappersForCap.useQuery, P.deviceManager.listBindableCapsForDeviceType.useQuery, P.deviceManager.getDeviceSettingsAggregate.useQuery, P.deviceManager.getDeviceLiveInfoAggregate.useQuery, P.deviceManager.getDeviceAggregate.useQuery, P.deviceManager.runDeviceAction.useMutation, P.deviceManager.updateDeviceField.useMutation, P.deviceManager.updateDeviceFieldsBatch.useMutation, P.deviceManager.discoverDevices.useMutation, P.deviceManager.adoptDevice.useMutation, P.deviceManager.getCreationSchema.useQuery, P.deviceManager.createDevice.useMutation, P.deviceManager.testCreationField.useMutation, P.deviceManager.adoptionListCandidateFilters.useQuery, P.deviceManager.adoptionListCandidates.useQuery, P.deviceManager.adoptionRefresh.useMutation, P.deviceManager.adoptionAdopt.useMutation, P.deviceManager.adoptionRelease.useMutation, P.deviceManager.adoptionStartJob.useMutation, P.deviceManager.adoptionListJobs.useQuery, P.deviceManager.adoptionCancelJob.useMutation, P.deviceManager.adoptionResync.useMutation, P.deviceManager.discoveryProviders.useQuery, P.deviceManager.discoverAllProviders.useMutation, P.deviceManager.discoverProvider.useMutation, P.deviceManager.providerCreationType.useQuery, P.deviceManager.providerDiscoveryParamsSchema.useQuery, P.deviceManager.testField.useMutation, P.deviceManager.getDeviceStatusAggregate.useQuery, P.deviceManager.getDeviceStatusAggregateBatch.useQuery, P.deviceManager.getDeviceSettingsContribution.useQuery, P.deviceManager.getDeviceLiveContribution.useQuery, P.deviceManager.applyDeviceSettingsPatch.useMutation, P.deviceOps.getStreamSources.useQuery, P.deviceOps.getConfigEntries.useQuery, P.deviceOps.setConfig.useMutation, P.deviceOps.runAction.useMutation, P.deviceOps.removeDevice.useMutation, P.deviceOps.getSettingsSchema.useQuery, P.deviceOps.getRawState.useQuery, P.deviceProvider.start.useMutation, P.deviceProvider.stop.useMutation, P.deviceProvider.getStatus.useQuery, P.deviceProvider.getDevices.useQuery, P.deviceProvider.reloadDevice.useMutation, P.deviceProvider.supportsDiscovery.useQuery, P.deviceProvider.discoverDevices.useMutation, P.deviceProvider.getDiscoveryParamsSchema.useQuery, P.deviceProvider.getManualCreationType.useQuery, P.deviceProvider.adoptDiscoveredDevice.useMutation, P.deviceProvider.supportsManualCreation.useQuery, P.deviceProvider.getChildCreationSchema.useQuery, P.deviceProvider.createDevice.useMutation, P.deviceProvider.testCreationField.useMutation;
1658
1658
  var on = P.deviceState.getSnapshot.useQuery;
1659
- P.deviceState.getCapSlice.useQuery, P.deviceState.getAllSnapshots.useQuery, P.deviceState.setCapSlice.useMutation, P.deviceStatus.getStatus.useQuery, P.doorbell.getStatus.useQuery, P.doorbell.getDeviceSettingsContribution.useQuery, P.doorbell.getDeviceLiveContribution.useQuery, P.doorbell.applyDeviceSettingsPatch.useMutation, P.enumSensor.getStatus.useQuery, P.eventEmitter.getStatus.useQuery, P.events.getEvents.useQuery, P.events.getEventThumbnail.useQuery, P.events.getEventClipUrl.useQuery, P.faceGallery.listIdentities.useQuery, P.faceGallery.createIdentity.useMutation, P.faceGallery.renameIdentity.useMutation, P.faceGallery.deleteIdentity.useMutation, P.faceGallery.listIdentitySamples.useQuery, P.faceGallery.auditIdentitySamples.useQuery, P.faceGallery.removeSample.useMutation, P.faceGallery.listRecentFaces.useQuery, P.faceGallery.getFaceByTrack.useQuery, P.faceGallery.getFaceMedia.useQuery, P.faceGallery.assignFace.useMutation, P.faceGallery.unassignFace.useMutation, P.faceGallery.deleteFace.useMutation, P.faceGallery.assignFaces.useMutation, P.faceGallery.unassignFaces.useMutation, P.faceGallery.suggestFaceClusters.useQuery, P.fanControl.setPercentage.useMutation, P.fanControl.setPreset.useMutation, P.fanControl.setDirection.useMutation, P.fanControl.setOscillating.useMutation, P.fanControl.getStatus.useQuery, P.featureProbe.getStatus.useQuery, P.flood.getStatus.useQuery, P.gas.getStatus.useQuery, P.humidifier.setOn.useMutation, P.humidifier.setTargetHumidity.useMutation, P.humidifier.setMode.useMutation, P.humidifier.getStatus.useQuery, P.humiditySensor.getStatus.useQuery, P.image.getStatus.useQuery, P.imageSettings.getOptions.useQuery, P.imageSettings.setSettings.useMutation, P.imageSettings.getStatus.useQuery, P.integrations.list.useQuery, P.integrations.get.useQuery, P.integrations.getByAddonId.useQuery, P.integrations.create.useMutation, P.integrations.update.useMutation, P.integrations.delete.useMutation, P.integrations.getSettings.useQuery, P.integrations.setSettings.useMutation, P.integrations.getAvailableTypes.useQuery, P.integrations.testConnection.useMutation, P.intercom.startSession.useMutation, P.intercom.handleAnswer.useMutation, P.intercom.stopSession.useMutation, P.intercom.startTalkSession.useMutation, P.intercom.pushTalkAudio.useMutation, P.intercom.endTalkSession.useMutation, P.intercom.getStatus.useQuery, P.lawnMowerControl.startMowing.useMutation, P.lawnMowerControl.pause.useMutation, P.lawnMowerControl.dock.useMutation, P.lawnMowerControl.getStatus.useQuery, P.llm.generate.useMutation, P.llm.generateVision.useMutation, P.llm.cancel.useMutation, P.llm.listProfileKinds.useQuery, P.llm.listProfiles.useQuery, P.llm.upsertProfile.useMutation, P.llm.deleteProfile.useMutation, P.llm.testProfile.useMutation, P.llm.listModels.useQuery, P.llm.getDefaults.useQuery, P.llm.setDefault.useMutation, P.llm.getUsage.useQuery, P.llm.listModelCatalog.useQuery, P.llm.listRuntimeNodes.useQuery, P.llm.listNodeModels.useQuery, P.llm.resolveModelRef.useMutation, P.llm.installModel.useMutation, P.llm.deleteModel.useMutation, P.llm.getRuntimeStatus.useQuery, P.llm.startRuntime.useMutation, P.llm.stopRuntime.useMutation, P.localNetwork.list.useQuery, P.localNetwork.getPreferred.useQuery, P.localNetwork.getConnectionEndpoints.useQuery, P.localNetwork.getNotificationEndpoint.useQuery, P.localNetwork.setNotificationEndpoint.useMutation, P.localNetwork.getViewerEndpoints.useQuery, P.localNetwork.setViewerEndpoints.useMutation, P.localNetwork.getAllowedAddresses.useQuery, P.localNetwork.setAllowedAddresses.useMutation, P.localNetwork.resetAllowlistToBestMatch.useMutation, P.localNetwork.getTlsStatus.useQuery, P.localNetwork.regenerateCertificate.useMutation, P.localNetwork.uploadCertificate.useMutation, P.localNetwork.downloadCa.useQuery, P.localNetwork.revertToGeneratedCertificate.useMutation, P.lockControl.lock.useMutation, P.lockControl.unlock.useMutation, P.lockControl.open.useMutation, P.lockControl.getStatus.useQuery, P.mediaPlayer.play.useMutation, P.mediaPlayer.pause.useMutation, P.mediaPlayer.stop.useMutation, P.mediaPlayer.next.useMutation, P.mediaPlayer.previous.useMutation, P.mediaPlayer.seek.useMutation, P.mediaPlayer.setVolume.useMutation, P.mediaPlayer.setMute.useMutation, P.mediaPlayer.setShuffle.useMutation, P.mediaPlayer.setRepeat.useMutation, P.mediaPlayer.selectSource.useMutation, P.mediaPlayer.playMedia.useMutation, P.mediaPlayer.getStatus.useQuery, P.meshNetwork.getStatus.useQuery, P.meshNetwork.join.useMutation, P.meshNetwork.startLogin.useMutation, P.meshNetwork.leave.useMutation, P.meshNetwork.logout.useMutation, P.meshNetwork.listPeers.useQuery, P.meshNetwork.testConnection.useMutation, P.metricsProvider.collectSnapshot.useQuery, P.metricsProvider.getCached.useQuery, P.metricsProvider.getCurrent.useQuery, P.metricsProvider.getDiskSpace.useQuery, P.metricsProvider.getGpuInfo.useQuery, P.metricsProvider.getCpuTemperature.useQuery, P.metricsProvider.getProcessStats.useQuery, P.metricsProvider.listAddonInstances.useQuery, P.metricsProvider.getAddonStats.useQuery, P.metricsProvider.listNodeProcesses.useQuery, P.metricsProvider.getLoadSeries.useQuery, P.motion.isDetected.useQuery, P.motion.getStatus.useQuery, P.motionDetection.analyze.useMutation, P.motionDetection.removeCamera.useMutation, P.motionDetection.reset.useMutation, P.motionDetection.getDeviceSettingsContribution.useQuery, P.motionDetection.getDeviceLiveContribution.useQuery, P.motionDetection.applyDeviceSettingsPatch.useMutation, P.motionTrigger.setMotionTrigger.useMutation, P.motionTrigger.getStatus.useQuery, P.motionZones.getOptions.useQuery, P.motionZones.setZone.useMutation, P.motionZones.getStatus.useQuery, P.mqttBroker.listBrokers.useQuery, P.mqttBroker.getBrokerConfig.useQuery, P.mqttBroker.addBroker.useMutation, P.mqttBroker.removeBroker.useMutation, P.mqttBroker.testConnection.useMutation, P.mqttBroker.startEmbeddedBroker.useMutation, P.mqttBroker.stopEmbeddedBroker.useMutation, P.mqttBroker.getStatus.useQuery, P.nativeObjectDetection.getOptions.useQuery, P.nativeObjectDetection.setSettings.useMutation, P.nativeObjectDetection.setEnabled.useMutation, P.nativeObjectDetection.getStatus.useQuery, P.navigation.move.useMutation, P.navigation.stop.useMutation, P.navigation.goToPoint.useMutation, P.navigation.listActions.useQuery, P.navigation.runAction.useMutation, P.navigation.playSound.useMutation, P.navigation.setLightOn.useMutation, P.navigation.setLightMode.useMutation, P.navigation.setLightLevel.useMutation, P.navigation.getFeatures.useQuery, P.navigation.getStatus.useQuery, P.networkAccess.start.useMutation, P.networkAccess.stop.useMutation, P.networkAccess.getEndpoint.useQuery, P.networkAccess.getStatus.useQuery, P.networkAccess.listEndpoints.useQuery, P.networkLink.getStatus.useQuery, P.networkQuality.getDeviceStats.useQuery, P.networkQuality.getAllStats.useQuery, P.networkQuality.reportClientStats.useMutation, P.nodes.topology.useQuery, P.nodes.deployAddon.useMutation, P.nodes.undeployAddon.useMutation, P.nodes.restartAddon.useMutation, P.nodes.restartProcess.useMutation, P.nodes.restartNode.useMutation, P.nodes.shutdownNode.useMutation, P.nodes.renameNode.useMutation, P.nodes.clusterAddonStatus.useQuery, P.nodes.getCapUsageGraph.useQuery, P.nodes.getNodeAddons.useQuery, P.nodes.setProcessLogLevel.useMutation, P.nodes.executeQuery.useMutation, P.notificationOutput.listTargetKinds.useQuery, P.notificationOutput.listTargets.useQuery, P.notificationOutput.discoverTargets.useQuery, P.notificationOutput.send.useMutation, P.notificationOutput.testTarget.useMutation, P.notificationOutput.upsertTarget.useMutation, P.notificationOutput.deleteTarget.useMutation, P.notificationOutput.setTargetEnabled.useMutation, P.notificationRules.listRules.useQuery, P.notificationRules.getRule.useQuery, P.notificationRules.createRule.useMutation, P.notificationRules.updateRule.useMutation, P.notificationRules.deleteRule.useMutation, P.notificationRules.setRuleEnabled.useMutation, P.notificationRules.getClipRetentionAsks.useQuery, P.notificationRules.listDeviceMutes.useQuery, P.notificationRules.setDeviceMuted.useMutation, P.notificationRules.testRule.useMutation, P.notificationRules.getConditionCatalog.useQuery, P.notificationRules.getHistory.useQuery, P.notificationRules.resolveArtifactUrl.useQuery, P.notificationRules.listSnoozes.useQuery, P.notificationRules.createSnooze.useMutation, P.notificationRules.cancelSnooze.useMutation, P.notificationRules.getAlarmConfig.useQuery, P.notificationRules.setAlarmConfig.useMutation, P.notifier.send.useMutation, P.notifier.cancel.useMutation, P.notifier.getStatus.useQuery, P.numericSensor.getStatus.useQuery, P.osd.setOverlay.useMutation, P.osd.getStatus.useQuery;
1659
+ P.deviceState.getCapSlice.useQuery, P.deviceState.getAllSnapshots.useQuery, P.deviceState.setCapSlice.useMutation, P.deviceStatus.getStatus.useQuery, P.doorbell.getStatus.useQuery, P.doorbell.getDeviceSettingsContribution.useQuery, P.doorbell.getDeviceLiveContribution.useQuery, P.doorbell.applyDeviceSettingsPatch.useMutation, P.enumSensor.getStatus.useQuery, P.eventEmitter.getStatus.useQuery, P.faceGallery.listIdentities.useQuery, P.faceGallery.createIdentity.useMutation, P.faceGallery.renameIdentity.useMutation, P.faceGallery.deleteIdentity.useMutation, P.faceGallery.listIdentitySamples.useQuery, P.faceGallery.auditIdentitySamples.useQuery, P.faceGallery.removeSample.useMutation, P.faceGallery.listRecentFaces.useQuery, P.faceGallery.getFaceByTrack.useQuery, P.faceGallery.getFaceMedia.useQuery, P.faceGallery.assignFace.useMutation, P.faceGallery.unassignFace.useMutation, P.faceGallery.deleteFace.useMutation, P.faceGallery.assignFaces.useMutation, P.faceGallery.unassignFaces.useMutation, P.faceGallery.suggestFaceClusters.useQuery, P.fanControl.setPercentage.useMutation, P.fanControl.setPreset.useMutation, P.fanControl.setDirection.useMutation, P.fanControl.setOscillating.useMutation, P.fanControl.getStatus.useQuery, P.featureProbe.getStatus.useQuery, P.flood.getStatus.useQuery, P.gas.getStatus.useQuery, P.humidifier.setOn.useMutation, P.humidifier.setTargetHumidity.useMutation, P.humidifier.setMode.useMutation, P.humidifier.getStatus.useQuery, P.humiditySensor.getStatus.useQuery, P.image.getStatus.useQuery, P.imageSettings.getOptions.useQuery, P.imageSettings.setSettings.useMutation, P.imageSettings.getStatus.useQuery, P.integrations.list.useQuery, P.integrations.get.useQuery, P.integrations.getByAddonId.useQuery, P.integrations.create.useMutation, P.integrations.update.useMutation, P.integrations.delete.useMutation, P.integrations.getSettings.useQuery, P.integrations.setSettings.useMutation, P.integrations.getAvailableTypes.useQuery, P.integrations.testConnection.useMutation, P.intercom.startSession.useMutation, P.intercom.handleAnswer.useMutation, P.intercom.stopSession.useMutation, P.intercom.startTalkSession.useMutation, P.intercom.pushTalkAudio.useMutation, P.intercom.endTalkSession.useMutation, P.intercom.getStatus.useQuery, P.lawnMowerControl.startMowing.useMutation, P.lawnMowerControl.pause.useMutation, P.lawnMowerControl.dock.useMutation, P.lawnMowerControl.getStatus.useQuery, P.llm.generate.useMutation, P.llm.generateVision.useMutation, P.llm.cancel.useMutation, P.llm.listProfileKinds.useQuery, P.llm.listProfiles.useQuery, P.llm.upsertProfile.useMutation, P.llm.deleteProfile.useMutation, P.llm.testProfile.useMutation, P.llm.listModels.useQuery, P.llm.getDefaults.useQuery, P.llm.setDefault.useMutation, P.llm.getUsage.useQuery, P.llm.listModelCatalog.useQuery, P.llm.listRuntimeNodes.useQuery, P.llm.listNodeModels.useQuery, P.llm.resolveModelRef.useMutation, P.llm.installModel.useMutation, P.llm.deleteModel.useMutation, P.llm.getRuntimeStatus.useQuery, P.llm.startRuntime.useMutation, P.llm.stopRuntime.useMutation, P.localNetwork.list.useQuery, P.localNetwork.getPreferred.useQuery, P.localNetwork.getConnectionEndpoints.useQuery, P.localNetwork.getNotificationEndpoint.useQuery, P.localNetwork.setNotificationEndpoint.useMutation, P.localNetwork.getViewerEndpoints.useQuery, P.localNetwork.setViewerEndpoints.useMutation, P.localNetwork.getAllowedAddresses.useQuery, P.localNetwork.setAllowedAddresses.useMutation, P.localNetwork.resetAllowlistToBestMatch.useMutation, P.localNetwork.getTlsStatus.useQuery, P.localNetwork.regenerateCertificate.useMutation, P.localNetwork.uploadCertificate.useMutation, P.localNetwork.downloadCa.useQuery, P.localNetwork.revertToGeneratedCertificate.useMutation, P.lockControl.lock.useMutation, P.lockControl.unlock.useMutation, P.lockControl.open.useMutation, P.lockControl.getStatus.useQuery, P.mediaPlayer.play.useMutation, P.mediaPlayer.pause.useMutation, P.mediaPlayer.stop.useMutation, P.mediaPlayer.next.useMutation, P.mediaPlayer.previous.useMutation, P.mediaPlayer.seek.useMutation, P.mediaPlayer.setVolume.useMutation, P.mediaPlayer.setMute.useMutation, P.mediaPlayer.setShuffle.useMutation, P.mediaPlayer.setRepeat.useMutation, P.mediaPlayer.selectSource.useMutation, P.mediaPlayer.playMedia.useMutation, P.mediaPlayer.getStatus.useQuery, P.meshNetwork.getStatus.useQuery, P.meshNetwork.join.useMutation, P.meshNetwork.startLogin.useMutation, P.meshNetwork.leave.useMutation, P.meshNetwork.logout.useMutation, P.meshNetwork.listPeers.useQuery, P.meshNetwork.testConnection.useMutation, P.metricsProvider.collectSnapshot.useQuery, P.metricsProvider.getCached.useQuery, P.metricsProvider.getCurrent.useQuery, P.metricsProvider.getDiskSpace.useQuery, P.metricsProvider.getGpuInfo.useQuery, P.metricsProvider.getCpuTemperature.useQuery, P.metricsProvider.getProcessStats.useQuery, P.metricsProvider.listAddonInstances.useQuery, P.metricsProvider.getAddonStats.useQuery, P.metricsProvider.listNodeProcesses.useQuery, P.metricsProvider.getLoadSeries.useQuery, P.motion.isDetected.useQuery, P.motion.getStatus.useQuery, P.motionDetection.analyze.useMutation, P.motionDetection.removeCamera.useMutation, P.motionDetection.reset.useMutation, P.motionDetection.getDeviceSettingsContribution.useQuery, P.motionDetection.getDeviceLiveContribution.useQuery, P.motionDetection.applyDeviceSettingsPatch.useMutation, P.motionTrigger.setMotionTrigger.useMutation, P.motionTrigger.getStatus.useQuery, P.motionZones.getOptions.useQuery, P.motionZones.setZone.useMutation, P.motionZones.getStatus.useQuery, P.mqttBroker.listBrokers.useQuery, P.mqttBroker.getBrokerConfig.useQuery, P.mqttBroker.addBroker.useMutation, P.mqttBroker.removeBroker.useMutation, P.mqttBroker.testConnection.useMutation, P.mqttBroker.startEmbeddedBroker.useMutation, P.mqttBroker.stopEmbeddedBroker.useMutation, P.mqttBroker.getStatus.useQuery, P.nativeObjectDetection.getOptions.useQuery, P.nativeObjectDetection.setSettings.useMutation, P.nativeObjectDetection.setEnabled.useMutation, P.nativeObjectDetection.getStatus.useQuery, P.navigation.move.useMutation, P.navigation.stop.useMutation, P.navigation.goToPoint.useMutation, P.navigation.listActions.useQuery, P.navigation.runAction.useMutation, P.navigation.playSound.useMutation, P.navigation.setLightOn.useMutation, P.navigation.setLightMode.useMutation, P.navigation.setLightLevel.useMutation, P.navigation.getFeatures.useQuery, P.navigation.getStatus.useQuery, P.networkAccess.start.useMutation, P.networkAccess.stop.useMutation, P.networkAccess.getEndpoint.useQuery, P.networkAccess.getStatus.useQuery, P.networkAccess.listEndpoints.useQuery, P.networkLink.getStatus.useQuery, P.networkQuality.getDeviceStats.useQuery, P.networkQuality.getAllStats.useQuery, P.networkQuality.reportClientStats.useMutation, P.nodes.topology.useQuery, P.nodes.deployAddon.useMutation, P.nodes.undeployAddon.useMutation, P.nodes.restartAddon.useMutation, P.nodes.restartProcess.useMutation, P.nodes.restartNode.useMutation, P.nodes.shutdownNode.useMutation, P.nodes.renameNode.useMutation, P.nodes.clusterAddonStatus.useQuery, P.nodes.getCapUsageGraph.useQuery, P.nodes.getNodeAddons.useQuery, P.nodes.setProcessLogLevel.useMutation, P.nodes.executeQuery.useMutation, P.notificationOutput.listTargetKinds.useQuery, P.notificationOutput.listTargets.useQuery, P.notificationOutput.discoverTargets.useQuery, P.notificationOutput.send.useMutation, P.notificationOutput.testTarget.useMutation, P.notificationOutput.upsertTarget.useMutation, P.notificationOutput.deleteTarget.useMutation, P.notificationOutput.setTargetEnabled.useMutation, P.notificationRules.listRules.useQuery, P.notificationRules.getRule.useQuery, P.notificationRules.createRule.useMutation, P.notificationRules.updateRule.useMutation, P.notificationRules.deleteRule.useMutation, P.notificationRules.setRuleEnabled.useMutation, P.notificationRules.getClipRetentionAsks.useQuery, P.notificationRules.listDeviceMutes.useQuery, P.notificationRules.setDeviceMuted.useMutation, P.notificationRules.testRule.useMutation, P.notificationRules.getConditionCatalog.useQuery, P.notificationRules.getTemplateCatalog.useQuery, P.notificationRules.previewTemplate.useMutation, P.notificationRules.getHistory.useQuery, P.notificationRules.resolveArtifactUrl.useQuery, P.notificationRules.listSnoozes.useQuery, P.notificationRules.createSnooze.useMutation, P.notificationRules.cancelSnooze.useMutation, P.notificationRules.getAlarmConfig.useQuery, P.notificationRules.setAlarmConfig.useMutation, P.notifier.send.useMutation, P.notifier.cancel.useMutation, P.notifier.getStatus.useQuery, P.numericSensor.getStatus.useQuery, P.osd.setOverlay.useMutation, P.osd.getStatus.useQuery;
1660
1660
  var sn = P.osdManager.getDeviceOsd.useQuery, cn = P.osdManager.getSourceCatalog.useQuery, ln = P.osdManager.getConditionSupport.useQuery, un = P.osdManager.setSlotBinding.useMutation, dn = P.osdManager.clearSlotBinding.useMutation, fn = P.osdManager.copyDeviceConfiguration.useMutation, pn = P.osdManager.previewSlot.useMutation, mn = P.osdManager.renderDevice.useMutation;
1661
- P.petFeeder.feed.useMutation, P.petFeeder.cancelFeed.useMutation, P.petFeeder.resetDesiccant.useMutation, P.petFeeder.markFoodReplenished.useMutation, P.petFeeder.callPet.useMutation, P.petFeeder.playSound.useMutation, P.petFeeder.setChildLock.useMutation, P.petFeeder.setIndicatorLight.useMutation, P.petFeeder.setFeedSound.useMutation, P.petFeeder.setVolume.useMutation, P.petFeeder.getStatus.useQuery, P.pipelineAnalytics.getActiveTracks.useQuery, P.pipelineAnalytics.getTrack.useQuery, P.pipelineAnalytics.listTracks.useQuery, P.pipelineAnalytics.listRecentTracks.useQuery, P.pipelineAnalytics.listSummaries.useQuery, P.pipelineAnalytics.listRecentSummaries.useQuery, P.pipelineAnalytics.getSummary.useQuery, P.pipelineAnalytics.clearTracks.useMutation, P.pipelineAnalytics.getMotionEvents.useQuery, P.pipelineAnalytics.getObjectEvents.useQuery, P.pipelineAnalytics.getAudioEvents.useQuery, P.pipelineAnalytics.listEventKinds.useQuery, P.pipelineAnalytics.listEventKindsBatch.useQuery, P.pipelineAnalytics.getSensorEvents.useQuery, P.pipelineAnalytics.getKeyEvents.useQuery, P.pipelineAnalytics.getKeyEventsBatch.useQuery, P.pipelineAnalytics.readLongTermSeries.useQuery, P.pipelineAnalytics.getEventDensity.useQuery, P.pipelineAnalytics.getEventDensityBatch.useQuery, P.pipelineAnalytics.pruneEventsBefore.useMutation, P.pipelineAnalytics.pruneTracksBefore.useMutation, P.pipelineAnalytics.wipeAllAnalytics.useMutation, P.pipelineAnalytics.reconcileFromDisk.useMutation, P.pipelineAnalytics.deleteTracks.useMutation, P.pipelineAnalytics.setTrackFlags.useMutation, P.pipelineAnalytics.listArchivedDebugNotes.useQuery, P.pipelineAnalytics.listBirthDecisions.useQuery, P.pipelineAnalytics.getEventStoreFootprint.useQuery, P.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, P.pipelineAnalytics.pruneEvents.useMutation, P.pipelineAnalytics.deleteDeviceEvents.useMutation, P.pipelineAnalytics.pauseForStorageMigration.useMutation, P.pipelineAnalytics.resumeForStorageMigration.useMutation, P.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, P.pipelineAnalytics.startStorageMigrationMove.useMutation, P.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, P.pipelineAnalytics.cancelStorageMigrationMove.useMutation, P.pipelineAnalytics.relocateMedia.useMutation, P.pipelineAnalytics.countUnstampedEventMedia.useQuery, P.pipelineAnalytics.countRelocatableMedia.useQuery, P.pipelineAnalytics.listRelocateMediaJobs.useQuery, P.pipelineAnalytics.cancelRelocateMedia.useMutation, P.pipelineAnalytics.listOpsLog.useQuery, P.pipelineAnalytics.reclaimDebugMedia.useMutation, P.pipelineAnalytics.getMediaReclaimStatus.useQuery, P.pipelineAnalytics.getTrainingExportSummary.useQuery, P.pipelineAnalytics.getTrainingExportUrl.useQuery, P.pipelineAnalytics.listRetrainStaging.useQuery, P.pipelineAnalytics.listRetrainFrames.useQuery, P.pipelineAnalytics.selectRetrainFrames.useMutation, P.pipelineAnalytics.deselectRetrainFrame.useMutation, P.pipelineAnalytics.getRetrainFrameImage.useQuery, P.pipelineAnalytics.proposeRetrainAnnotations.useMutation, P.pipelineAnalytics.runReplayFrameProcessor.useMutation, P.pipelineAnalytics.listRetrainAnnotations.useQuery, P.pipelineAnalytics.saveRetrainAnnotations.useMutation, P.pipelineAnalytics.completeRetrainTrack.useMutation, P.pipelineAnalytics.restageRetrainTrack.useMutation, P.pipelineAnalytics.getRetrainExportUrl.useQuery, P.pipelineAnalytics.getEventMedia.useQuery, P.pipelineAnalytics.getTrackMedia.useQuery, P.pipelineAnalytics.listTrackMedia.useQuery, P.pipelineAnalytics.listEventMedia.useQuery, P.pipelineAnalytics.ownersWithMedia.useQuery, P.pipelineAnalytics.searchObjectEvents.useQuery, P.pipelineAnalytics.wipeObjectEmbeddings.useMutation, P.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, P.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, P.pipelineAnalytics.getDeviceSettingsContribution.useQuery, P.pipelineAnalytics.getDeviceLiveContribution.useQuery, P.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, P.pipelineExecutor.getAvailableEngines.useQuery, P.pipelineExecutor.getSelectedEngine.useQuery, P.pipelineExecutor.getDefaultSteps.useQuery, P.pipelineExecutor.getEngineProvisioning.useQuery, P.pipelineExecutor.getVideoPipelineSteps.useQuery, P.pipelineExecutor.setVideoPipelineSteps.useMutation, P.pipelineExecutor.clearDeviceOverrides.useMutation, P.pipelineExecutor.getInferenceDeviceHealth.useQuery, P.pipelineExecutor.rearmInferenceDevice.useMutation, P.pipelineExecutor.getSchema.useQuery, P.pipelineExecutor.getGlobalSteps.useQuery, P.pipelineExecutor.getGlobalPipelineConfig.useQuery, P.pipelineExecutor.getOrchestratorConfigSchema.useQuery, P.pipelineExecutor.validatePipeline.useQuery, P.pipelineExecutor.listTemplates.useQuery, P.pipelineExecutor.saveTemplate.useMutation, P.pipelineExecutor.updateTemplate.useMutation, P.pipelineExecutor.deleteTemplate.useMutation, P.pipelineExecutor.getCapabilities.useQuery, P.pipelineExecutor.getAddonModels.useQuery, P.pipelineExecutor.downloadModel.useMutation, P.pipelineExecutor.deleteModel.useMutation, P.pipelineExecutor.runPipeline.useMutation, P.pipelineExecutor.runPipelineBatch.useMutation, P.pipelineExecutor.cacheFrameInPool.useMutation, P.pipelineExecutor.inferCached.useMutation, P.pipelineExecutor.uncacheFrame.useMutation, P.pipelineExecutor.getEffectiveTuning.useQuery, P.pipelineExecutor.listLoadedEngines.useQuery, P.pipelineExecutor.spinEngine.useMutation, P.pipelineExecutor.killEngine.useMutation, P.pipelineExecutor.listReferenceImages.useQuery, P.pipelineExecutor.getReferenceImage.useQuery, P.pipelineExecutor.getReferenceAudioFiles.useQuery, P.pipelineExecutor.getReferenceAudio.useQuery, P.pipelineExecutor.getAudioCapabilities.useQuery, P.pipelineExecutor.runAudioTest.useMutation, P.pipelineExecutor.getDetectionConfigSchema.useQuery, P.pipelineOrchestrator.pauseForStorageMigration.useMutation, P.pipelineOrchestrator.resumeForStorageMigration.useMutation, P.pipelineOrchestrator.assignPipeline.useMutation, P.pipelineOrchestrator.unassignPipeline.useMutation, P.pipelineOrchestrator.setPipelineDevicePin.useMutation, P.pipelineOrchestrator.getPipelineDevicePin.useQuery, P.pipelineOrchestrator.rebalance.useMutation, P.pipelineOrchestrator.getPipelineAssignments.useQuery, P.pipelineOrchestrator.getPipelineAssignment.useQuery, P.pipelineOrchestrator.getAgentLoad.useQuery, P.pipelineOrchestrator.getGlobalMetrics.useQuery, P.pipelineOrchestrator.getCameraMetrics.useQuery, P.pipelineOrchestrator.getCapabilityBindings.useQuery, P.pipelineOrchestrator.setCapabilityBinding.useMutation, P.pipelineOrchestrator.getIngestOwner.useQuery, P.pipelineOrchestrator.assignAudio.useMutation, P.pipelineOrchestrator.unassignAudio.useMutation, P.pipelineOrchestrator.getAudioAssignment.useQuery, P.pipelineOrchestrator.getAudioNodeLoad.useQuery, P.pipelineOrchestrator.getAudioAssignments.useQuery, P.pipelineOrchestrator.getAgentSettings.useQuery, P.pipelineOrchestrator.listAgentSettings.useQuery, P.pipelineOrchestrator.removeAgentSettings.useMutation, P.pipelineOrchestrator.setAgentMaxCameras.useMutation, P.pipelineOrchestrator.setAgentDetectWeight.useMutation, P.pipelineOrchestrator.setAgentCapabilities.useMutation, P.pipelineOrchestrator.setAgentDecodeLimits.useMutation, P.pipelineOrchestrator.setAgentReachableHost.useMutation, P.pipelineOrchestrator.setAgentInferenceDevices.useMutation, P.pipelineOrchestrator.getNodeInferenceDevices.useQuery, P.pipelineOrchestrator.resetNodePipelineDefaults.useMutation, P.pipelineOrchestrator.getCameraSettings.useQuery, P.pipelineOrchestrator.setCameraStepToggle.useMutation, P.pipelineOrchestrator.getCameraStepOverrides.useQuery, P.pipelineOrchestrator.setCameraStepOverride.useMutation, P.pipelineOrchestrator.setCameraPipelineForAgent.useMutation, P.pipelineOrchestrator.resolvePipeline.useQuery, P.pipelineOrchestrator.getCameraSwitches.useQuery, P.pipelineOrchestrator.setCameraSwitch.useMutation, P.pipelineOrchestrator.getCameraStatus.useQuery, P.pipelineOrchestrator.getCameraStatuses.useQuery, P.pipelineOrchestrator.reconcileFromDisk.useMutation, P.pipelineOrchestrator.getReconcileFromDiskStatus.useQuery, P.pipelineOrchestrator.listTemplates.useQuery, P.pipelineOrchestrator.saveTemplate.useMutation, P.pipelineOrchestrator.updateTemplate.useMutation, P.pipelineOrchestrator.deleteTemplate.useMutation, P.pipelineOrchestrator.getDeviceSettingsContribution.useQuery, P.pipelineOrchestrator.getDeviceLiveContribution.useQuery, P.pipelineOrchestrator.applyDeviceSettingsPatch.useMutation, P.pipelineRunner.attachCamera.useMutation, P.pipelineRunner.detachCamera.useMutation, P.pipelineRunner.reportMotion.useMutation, P.pipelineRunner.getLocalLoad.useQuery, P.pipelineRunner.getLocalMetrics.useQuery, P.pipelineRunner.getCameraMetrics.useQuery, P.pipelineRunner.getAllCameraMetrics.useQuery, P.pipelineRunner.getLocalCameras.useQuery, P.pipelineRunner.requestOccupancyBurst.useMutation, P.pipelineRunner.getNativeCrop.useQuery, P.pipelineRunner.runDetailSubtree.useMutation, P.pipelineRunner.runStatelessStep.useMutation, P.pipelineRunner.parkTrackFrame.useMutation, P.pipelineRunner.getParkedTrackFrame.useQuery, P.pipelineRunner.releaseParkedTrackFrames.useMutation, P.plateGallery.listPlates.useQuery, P.plateGallery.getPlateByTrack.useQuery, P.plateGallery.getPlateMedia.useQuery, P.plateGallery.searchPlates.useQuery, P.plateGallery.suggestPlateClusters.useQuery, P.plateGallery.correctPlateText.useMutation, P.plateGallery.deletePlate.useMutation, P.plateGallery.listVehicles.useQuery, P.plateGallery.createVehicle.useMutation, P.plateGallery.renameVehicle.useMutation, P.plateGallery.deleteVehicle.useMutation, P.plateGallery.listVehicleSamples.useQuery, P.plateGallery.removeVehicleSample.useMutation, P.plateGallery.assignPlate.useMutation, P.plateGallery.unassignPlate.useMutation, P.plateGallery.assignPlates.useMutation, P.plateGallery.unassignPlates.useMutation, P.powerMeter.getStatus.useQuery, P.presence.getStatus.useQuery, P.pressureSensor.getStatus.useQuery, P.privacyMask.getOptions.useQuery, P.privacyMask.setMask.useMutation, P.privacyMask.setAudioEnabled.useMutation, P.privacyMask.getStatus.useQuery, P.ptz.move.useMutation, P.ptz.continuousMove.useMutation, P.ptz.stop.useMutation, P.ptz.getPresets.useQuery, P.ptz.goToPreset.useMutation, P.ptz.savePreset.useMutation, P.ptz.deletePreset.useMutation, P.ptz.getOptions.useQuery, P.ptz.goHome.useMutation, P.ptz.getHomePreset.useQuery, P.ptz.setHomePreset.useMutation, P.ptz.captureHomeHere.useMutation, P.ptz.getHomeReturn.useQuery, P.ptz.setHomeReturn.useMutation, P.ptz.getPosition.useQuery, P.ptz.setAutofocus.useMutation, P.ptz.getStatus.useQuery, P.ptzAutotrack.getStatus.useQuery, P.ptzAutotrack.setEnabled.useMutation, P.ptzAutotrack.getSettings.useQuery, P.ptzAutotrack.setSettings.useMutation, P.reboot.reboot.useMutation, P.recording.getAvailability.useQuery, P.recording.getAvailabilityBatch.useQuery, P.recording.getDaysWithRecordings.useQuery, P.recording.getDaysWithRecordingsBatch.useQuery, P.recording.getPlaybackManifest.useQuery, P.recording.getStorageUsage.useQuery, P.recording.getDeviceConfig.useQuery, P.recording.locateSegment.useQuery, P.recording.readSegmentBytes.useQuery, P.recording.readGopBytes.useQuery, P.recording.readWindowBytes.useQuery, P.recording.setDeviceConfig.useMutation, P.recording.rescanStorage.useMutation, P.recording.pruneFootage.useMutation, P.recording.deleteFootprint.useMutation, P.recording.listOpsLog.useQuery, P.recording.renderGif.useMutation, P.recording.renderClip.useMutation, P.recording.pauseForStorageMigration.useMutation, P.recording.resumeForStorageMigration.useMutation, P.recording.refreshStorageLocationsForMigration.useMutation, P.recording.startStorageMigrationMove.useMutation, P.recording.getStorageMigrationMoveStatus.useQuery, P.recording.cancelStorageMigrationMove.useMutation, P.recording.relocateFootage.useMutation, P.recording.listRelocateJobs.useQuery, P.recording.getRelocateResidue.useQuery, P.recording.reconcileLedgerAgainstDisk.useMutation, P.recording.cancelRelocateJob.useMutation, P.recording.planStorageRebalance.useQuery, P.recording.startStorageRebalance.useMutation, P.recording.getPlacement.useQuery, P.recording.setDevicePlacement.useMutation, P.recording.getStatus.useQuery, P.recording.getDeviceSettingsContribution.useQuery, P.recording.getDeviceLiveContribution.useQuery, P.recording.applyDeviceSettingsPatch.useMutation, P.recordingExport.createExport.useMutation, P.recordingExport.listExports.useQuery, P.recordingExport.getExport.useQuery, P.recordingExport.cancelExport.useMutation, P.recordingExport.deleteExport.useMutation, P.recordingExport.getDownloadUrl.useQuery, P.recordingExport.readExportBytes.useQuery, P.recordingOnboard.getOptions.useQuery, P.recordingOnboard.setSettings.useMutation, P.recordingOnboard.getStatus.useQuery, P.recordingSignal.getStatus.useQuery, P.sceneMonitor.listScenes.useQuery, P.sceneMonitor.listScenesBatch.useQuery, P.sceneMonitor.createScene.useMutation, P.sceneMonitor.updateScene.useMutation, P.sceneMonitor.deleteScene.useMutation, P.sceneMonitor.captureReference.useMutation, P.sceneMonitor.deleteReference.useMutation, P.sceneMonitor.recheckNow.useMutation, P.sceneMonitor.resetScene.useMutation, P.sceneMonitor.getStatus.useQuery, P.scriptRunner.run.useMutation, P.scriptRunner.stop.useMutation, P.scriptRunner.getStatus.useQuery, P.serverManagement.getServerPackageStatus.useQuery, P.serverManagement.checkServerUpdate.useMutation, P.serverManagement.applyServerUpdate.useMutation, P.serverManagement.rollbackServerUpdate.useMutation, P.serverManagement.restartServer.useMutation, P.settingsStore.get.useQuery, P.settingsStore.set.useMutation, P.settingsStore.query.useQuery, P.settingsStore.upsert.useMutation, P.settingsStore.insert.useMutation, P.settingsStore.insertMany.useMutation, P.settingsStore.update.useMutation, P.settingsStore.delete.useMutation, P.settingsStore.deleteWhere.useMutation, P.settingsStore.updateWhere.useMutation, P.settingsStore.count.useQuery, P.settingsStore.aggregate.useQuery, P.settingsStore.histogram.useQuery, P.settingsStore.isEmpty.useQuery, P.settingsStore.declareCollection.useMutation, P.smoke.getStatus.useQuery, P.snapshot.getSnapshot.useQuery, P.snapshot.invalidateCache.useMutation, P.snapshot.getSnapshotOverview.useQuery, P.snapshot.getDebugState.useQuery, P.snapshot.getSnapshotLinks.useQuery, P.snapshot.getStatus.useQuery, P.snapshot.getDeviceSettingsContribution.useQuery, P.snapshot.getDeviceLiveContribution.useQuery, P.snapshot.applyDeviceSettingsPatch.useMutation, P.storage.resolve.useQuery, P.storage.write.useMutation, P.storage.read.useQuery, P.storage.exists.useQuery, P.storage.list.useQuery, P.storage.delete.useMutation, P.storage.getAvailableSpace.useQuery, P.storage.beginUpload.useMutation, P.storage.writeChunk.useMutation, P.storage.finalizeUpload.useMutation, P.storage.abortUpload.useMutation, P.storage.beginDownload.useMutation, P.storage.readChunk.useQuery, P.storage.endDownload.useMutation, P.storage.listLocations.useQuery, P.storage.listLocationDeclarations.useQuery, P.storage.upsertLocation.useMutation, P.storage.deleteLocation.useMutation, P.storage.listDrainProgress.useQuery, P.storage.testLocation.useQuery, P.storage.listProviders.useQuery, P.storage.testConfig.useQuery, P.storageMigration.plan.useQuery, P.storageMigration.start.useMutation, P.storageMigration.status.useQuery, P.storageMigration.cancel.useMutation, P.storageMigration.movers.useQuery, P.storageMigration.residue.useQuery, P.storageMigration.drain.useMutation, P.storageMigration.cleanupStart.useMutation, P.storageMigration.cleanupStatus.useQuery, P.storageMigration.cleanupCancel.useMutation, P.storageMigration.history.useQuery, P.streamBroker.reportStreamSignal.useMutation, P.streamBroker.publishCameraStream.useMutation, P.streamBroker.retractCameraStream.useMutation, P.streamBroker.assignProfile.useMutation, P.streamBroker.unassignProfile.useMutation, P.streamBroker.forgetDeviceHardware.useMutation, P.streamBroker.renderPreBufferClip.useMutation, P.streamBroker.produceEventMedia.useMutation, P.streamBroker.fetchEventMedia.useMutation, P.streamBroker.listAllCameraStreams.useQuery, P.streamBroker.listAllProfileSlots.useQuery, P.streamBroker.getBrokerStats.useQuery, P.streamBroker.probeStream.useMutation, P.streamBroker.listClients.useQuery, P.streamBroker.killClient.useMutation, P.streamBroker.restartProfile.useMutation, P.streamBroker.getStreamUrl.useQuery, P.streamBroker.getStreamWithCodec.useMutation, P.streamBroker.releaseStreamWithCodec.useMutation, P.streamBroker.acquireEgressTranscode.useMutation, P.streamBroker.releaseEgressTranscode.useMutation, P.streamBroker.subscribeAudioChunks.useMutation, P.streamBroker.pullAudioChunks.useQuery, P.streamBroker.unsubscribeAudioChunks.useMutation, P.streamBroker.subscribeFrames.useMutation, P.streamBroker.pullFrameHandles.useQuery, P.streamBroker.unsubscribeFrames.useMutation, P.streamBroker.setPreBufferDuration.useMutation, P.streamBroker.getPreBufferInfo.useQuery, P.streamBroker.getRtspPort.useQuery, P.streamBroker.getAllRtspEntries.useQuery, P.streamBroker.getRtspEntry.useQuery, P.streamBroker.regenerateRtspToken.useMutation, P.streamBroker.setRtspEnabled.useMutation, P.streamBroker.isRtspEnabled.useQuery, P.streamBroker.getDeviceAudioMute.useQuery, P.streamBroker.setDeviceAudioMute.useMutation, P.streamBroker.getDeviceSettingsContribution.useQuery, P.streamBroker.getDeviceLiveContribution.useQuery, P.streamBroker.applyDeviceSettingsPatch.useMutation, P.streamCatalog.getCatalog.useQuery, P.streamParams.getOptions.useQuery, P.streamParams.setProfile.useMutation, P.streamParams.getConfigSchema.useQuery, P.streamParams.getStatus.useQuery, P.streamSignals.listSignals.useQuery, P.switch.setState.useMutation, P.switch.getStatus.useQuery, P.system.info.useQuery, P.system.health.useQuery, P.system.featureFlags.useQuery, P.system.networkAddresses.useQuery, P.system.getRetentionConfig.useQuery, P.system.setRetentionConfig.useMutation, P.system.forceRetentionCleanup.useMutation, P.system.getSiteLocation.useQuery, P.system.setSiteLocation.useMutation, P.system.detectSiteLocation.useMutation, P.system.getRequestCensus.useQuery, P.system.getLoadContributions.useQuery, P.system.getFailureContributions.useQuery, P.system.getLoggingSettings.useQuery, P.system.setLoggingSettings.useMutation, P.tamper.getStatus.useQuery, P.temperatureSensor.getStatus.useQuery, P.terminalSession.listProfiles.useQuery, P.terminalSession.listInstances.useQuery, P.terminalSession.createInstance.useMutation, P.terminalSession.updateInstance.useMutation, P.terminalSession.deleteInstance.useMutation, P.terminalSession.setInstanceEnabled.useMutation, P.terminalSession.listLegacyCameras.useQuery, P.terminalSession.adoptLegacyMonitor.useMutation, P.terminalSession.listSessions.useQuery, P.terminalSession.openSession.useMutation, P.terminalSession.resize.useMutation, P.terminalSession.pullOutput.useMutation, P.terminalSession.writeInput.useMutation, P.terminalSession.close.useMutation, P.toast.onToast.useSubscription, P.turnProvider.getTurnServers.useQuery, P.update.installUpdate.useMutation, P.update.getStatus.useQuery, P.userManagement.listUsers.useQuery, P.userManagement.createUser.useMutation, P.userManagement.updateUser.useMutation, P.userManagement.deleteUser.useMutation, P.userManagement.resetPassword.useMutation, P.userManagement.setUserScopes.useMutation, P.userManagement.validateCredentials.useMutation, P.userManagement.listApiKeys.useQuery, P.userManagement.createApiKey.useMutation, P.userManagement.revokeApiKey.useMutation, P.userManagement.validateApiKey.useMutation, P.userManagement.createScopedToken.useMutation, P.userManagement.revokeScopedToken.useMutation, P.userManagement.validateScopedToken.useQuery, P.userManagement.listScopedTokens.useQuery, P.userManagement.setupTotp.useMutation, P.userManagement.confirmTotp.useMutation, P.userManagement.disableTotp.useMutation, P.userManagement.getTotpStatus.useQuery, P.userManagement.verifyTotp.useMutation, P.userManagement.oauthIssueCode.useMutation, P.userManagement.oauthExchangeCode.useMutation, P.userManagement.oauthRefresh.useMutation, P.userManagement.oauthVerifyAccessToken.useQuery, P.userManagement.listOauthSessions.useQuery, P.userManagement.revokeOauthSession.useMutation, P.vacuumControl.start.useMutation, P.vacuumControl.pause.useMutation, P.vacuumControl.stop.useMutation, P.vacuumControl.returnToBase.useMutation, P.vacuumControl.locate.useMutation, P.vacuumControl.setFanSpeed.useMutation, P.vacuumControl.getStatus.useQuery, P.valve.open.useMutation, P.valve.close.useMutation, P.valve.stop.useMutation, P.valve.setPosition.useMutation, P.valve.getStatus.useQuery, P.vibration.getStatus.useQuery, P.videoclips.listClips.useQuery, P.videoclips.listSources.useQuery, P.videoclips.getClipPlayback.useQuery, P.videoclips.readClipBytes.useQuery, P.videoclips.offerClipBytes.useQuery, P.videoclips.dialClipStream.useQuery, P.videoclips.getPlaybackOptions.useQuery, P.waterHeater.setTargetTemp.useMutation, P.waterHeater.setOperationMode.useMutation, P.waterHeater.setAway.useMutation, P.waterHeater.getStatus.useQuery, P.weather.getStatus.useQuery, P.webrtcSession.listStreams.useQuery, P.webrtcSession.createSession.useMutation, P.webrtcSession.handleOffer.useMutation, P.webrtcSession.handleAnswer.useMutation, P.webrtcSession.addIceCandidate.useMutation, P.webrtcSession.getIceCandidates.useQuery, P.webrtcSession.closeSession.useMutation, P.webrtcSession.hasAdaptiveBitrate.useQuery, P.webrtcSession.getSessionState.useQuery, P.webrtcSession.getSessionDebug.useQuery, P.zoneAnalytics.getCurrentSnapshot.useQuery, P.zoneAnalytics.getCurrentSnapshotBatch.useQuery, P.zoneAnalytics.getZoneHistory.useQuery, P.zoneAnalytics.getCameraHistory.useQuery, P.zoneAnalytics.getUnzonedHistory.useQuery, P.zoneRules.listRules.useQuery, P.zoneRules.setRules.useMutation, P.zones.listZones.useQuery, P.zones.addZone.useMutation, P.zones.removeZone.useMutation, P.zones.updateZone.useMutation;
1661
+ P.petFeeder.feed.useMutation, P.petFeeder.cancelFeed.useMutation, P.petFeeder.resetDesiccant.useMutation, P.petFeeder.markFoodReplenished.useMutation, P.petFeeder.callPet.useMutation, P.petFeeder.playSound.useMutation, P.petFeeder.setChildLock.useMutation, P.petFeeder.setIndicatorLight.useMutation, P.petFeeder.setFeedSound.useMutation, P.petFeeder.setVolume.useMutation, P.petFeeder.getStatus.useQuery, P.pipelineAnalytics.getActiveTracks.useQuery, P.pipelineAnalytics.getTrack.useQuery, P.pipelineAnalytics.listTracks.useQuery, P.pipelineAnalytics.listRecentTracks.useQuery, P.pipelineAnalytics.listSummaries.useQuery, P.pipelineAnalytics.listRecentSummaries.useQuery, P.pipelineAnalytics.getSummary.useQuery, P.pipelineAnalytics.clearTracks.useMutation, P.pipelineAnalytics.getMotionEvents.useQuery, P.pipelineAnalytics.getObjectEvents.useQuery, P.pipelineAnalytics.getAudioEvents.useQuery, P.pipelineAnalytics.listEventKinds.useQuery, P.pipelineAnalytics.listEventKindsBatch.useQuery, P.pipelineAnalytics.getSensorEvents.useQuery, P.pipelineAnalytics.getKeyEvents.useQuery, P.pipelineAnalytics.getKeyEventsBatch.useQuery, P.pipelineAnalytics.readLongTermSeries.useQuery, P.pipelineAnalytics.getEventDensity.useQuery, P.pipelineAnalytics.getEventDensityBatch.useQuery, P.pipelineAnalytics.pruneEventsBefore.useMutation, P.pipelineAnalytics.pruneTracksBefore.useMutation, P.pipelineAnalytics.wipeAllAnalytics.useMutation, P.pipelineAnalytics.reconcileFromDisk.useMutation, P.pipelineAnalytics.deleteTracks.useMutation, P.pipelineAnalytics.setTrackFlags.useMutation, P.pipelineAnalytics.listArchivedDebugNotes.useQuery, P.pipelineAnalytics.listBirthDecisions.useQuery, P.pipelineAnalytics.getEventStoreFootprint.useQuery, P.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, P.pipelineAnalytics.pruneEvents.useMutation, P.pipelineAnalytics.deleteDeviceEvents.useMutation, P.pipelineAnalytics.pauseForStorageMigration.useMutation, P.pipelineAnalytics.resumeForStorageMigration.useMutation, P.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, P.pipelineAnalytics.startStorageMigrationMove.useMutation, P.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, P.pipelineAnalytics.cancelStorageMigrationMove.useMutation, P.pipelineAnalytics.relocateMedia.useMutation, P.pipelineAnalytics.countUnstampedEventMedia.useQuery, P.pipelineAnalytics.countRelocatableMedia.useQuery, P.pipelineAnalytics.listRelocateMediaJobs.useQuery, P.pipelineAnalytics.cancelRelocateMedia.useMutation, P.pipelineAnalytics.listOpsLog.useQuery, P.pipelineAnalytics.reclaimDebugMedia.useMutation, P.pipelineAnalytics.getMediaReclaimStatus.useQuery, P.pipelineAnalytics.getTrainingExportSummary.useQuery, P.pipelineAnalytics.getTrainingExportUrl.useQuery, P.pipelineAnalytics.listRetrainStaging.useQuery, P.pipelineAnalytics.listRetrainFrames.useQuery, P.pipelineAnalytics.selectRetrainFrames.useMutation, P.pipelineAnalytics.deselectRetrainFrame.useMutation, P.pipelineAnalytics.getRetrainFrameImage.useQuery, P.pipelineAnalytics.proposeRetrainAnnotations.useMutation, P.pipelineAnalytics.runReplayFrameProcessor.useMutation, P.pipelineAnalytics.listRetrainAnnotations.useQuery, P.pipelineAnalytics.saveRetrainAnnotations.useMutation, P.pipelineAnalytics.completeRetrainTrack.useMutation, P.pipelineAnalytics.restageRetrainTrack.useMutation, P.pipelineAnalytics.getRetrainExportUrl.useQuery, P.pipelineAnalytics.getEventMedia.useQuery, P.pipelineAnalytics.getTrackMedia.useQuery, P.pipelineAnalytics.listTrackMedia.useQuery, P.pipelineAnalytics.listEventMedia.useQuery, P.pipelineAnalytics.ownersWithMedia.useQuery, P.pipelineAnalytics.searchObjectEvents.useQuery, P.pipelineAnalytics.wipeObjectEmbeddings.useMutation, P.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, P.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, P.pipelineAnalytics.getDeviceSettingsContribution.useQuery, P.pipelineAnalytics.getDeviceLiveContribution.useQuery, P.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, P.pipelineExecutor.getAvailableEngines.useQuery, P.pipelineExecutor.getSelectedEngine.useQuery, P.pipelineExecutor.getDefaultSteps.useQuery, P.pipelineExecutor.getEngineProvisioning.useQuery, P.pipelineExecutor.getVideoPipelineSteps.useQuery, P.pipelineExecutor.setVideoPipelineSteps.useMutation, P.pipelineExecutor.clearDeviceOverrides.useMutation, P.pipelineExecutor.getInferenceDeviceHealth.useQuery, P.pipelineExecutor.rearmInferenceDevice.useMutation, P.pipelineExecutor.getSchema.useQuery, P.pipelineExecutor.getGlobalSteps.useQuery, P.pipelineExecutor.getGlobalPipelineConfig.useQuery, P.pipelineExecutor.getOrchestratorConfigSchema.useQuery, P.pipelineExecutor.validatePipeline.useQuery, P.pipelineExecutor.listTemplates.useQuery, P.pipelineExecutor.saveTemplate.useMutation, P.pipelineExecutor.updateTemplate.useMutation, P.pipelineExecutor.deleteTemplate.useMutation, P.pipelineExecutor.getCapabilities.useQuery, P.pipelineExecutor.getAddonModels.useQuery, P.pipelineExecutor.downloadModel.useMutation, P.pipelineExecutor.deleteModel.useMutation, P.pipelineExecutor.runPipeline.useMutation, P.pipelineExecutor.runPipelineBatch.useMutation, P.pipelineExecutor.cacheFrameInPool.useMutation, P.pipelineExecutor.inferCached.useMutation, P.pipelineExecutor.uncacheFrame.useMutation, P.pipelineExecutor.getEffectiveTuning.useQuery, P.pipelineExecutor.listLoadedEngines.useQuery, P.pipelineExecutor.spinEngine.useMutation, P.pipelineExecutor.killEngine.useMutation, P.pipelineExecutor.listReferenceImages.useQuery, P.pipelineExecutor.getReferenceImage.useQuery, P.pipelineExecutor.getReferenceAudioFiles.useQuery, P.pipelineExecutor.getReferenceAudio.useQuery, P.pipelineExecutor.getAudioCapabilities.useQuery, P.pipelineExecutor.runAudioTest.useMutation, P.pipelineExecutor.getDetectionConfigSchema.useQuery, P.pipelineOrchestrator.pauseForStorageMigration.useMutation, P.pipelineOrchestrator.resumeForStorageMigration.useMutation, P.pipelineOrchestrator.assignPipeline.useMutation, P.pipelineOrchestrator.unassignPipeline.useMutation, P.pipelineOrchestrator.setPipelineDevicePin.useMutation, P.pipelineOrchestrator.getPipelineDevicePin.useQuery, P.pipelineOrchestrator.rebalance.useMutation, P.pipelineOrchestrator.getPipelineAssignments.useQuery, P.pipelineOrchestrator.getPipelineAssignment.useQuery, P.pipelineOrchestrator.getAgentLoad.useQuery, P.pipelineOrchestrator.getGlobalMetrics.useQuery, P.pipelineOrchestrator.getCameraMetrics.useQuery, P.pipelineOrchestrator.getCapabilityBindings.useQuery, P.pipelineOrchestrator.setCapabilityBinding.useMutation, P.pipelineOrchestrator.getIngestOwner.useQuery, P.pipelineOrchestrator.assignAudio.useMutation, P.pipelineOrchestrator.unassignAudio.useMutation, P.pipelineOrchestrator.getAudioAssignment.useQuery, P.pipelineOrchestrator.getAudioNodeLoad.useQuery, P.pipelineOrchestrator.getAudioAssignments.useQuery, P.pipelineOrchestrator.getAgentSettings.useQuery, P.pipelineOrchestrator.listAgentSettings.useQuery, P.pipelineOrchestrator.removeAgentSettings.useMutation, P.pipelineOrchestrator.setAgentMaxCameras.useMutation, P.pipelineOrchestrator.setAgentDetectWeight.useMutation, P.pipelineOrchestrator.setAgentCapabilities.useMutation, P.pipelineOrchestrator.setAgentDecodeLimits.useMutation, P.pipelineOrchestrator.setAgentReachableHost.useMutation, P.pipelineOrchestrator.setAgentInferenceDevices.useMutation, P.pipelineOrchestrator.getNodeInferenceDevices.useQuery, P.pipelineOrchestrator.resetNodePipelineDefaults.useMutation, P.pipelineOrchestrator.getCameraSettings.useQuery, P.pipelineOrchestrator.setCameraStepToggle.useMutation, P.pipelineOrchestrator.getCameraStepOverrides.useQuery, P.pipelineOrchestrator.setCameraStepOverride.useMutation, P.pipelineOrchestrator.setCameraPipelineForAgent.useMutation, P.pipelineOrchestrator.resolvePipeline.useQuery, P.pipelineOrchestrator.getCameraSwitches.useQuery, P.pipelineOrchestrator.setCameraSwitch.useMutation, P.pipelineOrchestrator.getCameraStatus.useQuery, P.pipelineOrchestrator.getCameraStatuses.useQuery, P.pipelineOrchestrator.reconcileFromDisk.useMutation, P.pipelineOrchestrator.getReconcileFromDiskStatus.useQuery, P.pipelineOrchestrator.listTemplates.useQuery, P.pipelineOrchestrator.saveTemplate.useMutation, P.pipelineOrchestrator.updateTemplate.useMutation, P.pipelineOrchestrator.deleteTemplate.useMutation, P.pipelineOrchestrator.getDeviceSettingsContribution.useQuery, P.pipelineOrchestrator.getDeviceLiveContribution.useQuery, P.pipelineOrchestrator.applyDeviceSettingsPatch.useMutation, P.pipelineRunner.attachCamera.useMutation, P.pipelineRunner.detachCamera.useMutation, P.pipelineRunner.reportMotion.useMutation, P.pipelineRunner.getLocalLoad.useQuery, P.pipelineRunner.getLocalMetrics.useQuery, P.pipelineRunner.getCameraMetrics.useQuery, P.pipelineRunner.getAllCameraMetrics.useQuery, P.pipelineRunner.getLocalCameras.useQuery, P.pipelineRunner.requestOccupancyBurst.useMutation, P.pipelineRunner.getNativeCrop.useQuery, P.pipelineRunner.runDetailSubtree.useMutation, P.pipelineRunner.runStatelessStep.useMutation, P.pipelineRunner.parkTrackFrame.useMutation, P.pipelineRunner.getParkedTrackFrame.useQuery, P.pipelineRunner.releaseParkedTrackFrames.useMutation, P.plateGallery.listPlates.useQuery, P.plateGallery.getPlateByTrack.useQuery, P.plateGallery.getPlateMedia.useQuery, P.plateGallery.searchPlates.useQuery, P.plateGallery.suggestPlateClusters.useQuery, P.plateGallery.correctPlateText.useMutation, P.plateGallery.deletePlate.useMutation, P.plateGallery.listVehicles.useQuery, P.plateGallery.createVehicle.useMutation, P.plateGallery.renameVehicle.useMutation, P.plateGallery.deleteVehicle.useMutation, P.plateGallery.listVehicleSamples.useQuery, P.plateGallery.removeVehicleSample.useMutation, P.plateGallery.assignPlate.useMutation, P.plateGallery.unassignPlate.useMutation, P.plateGallery.assignPlates.useMutation, P.plateGallery.unassignPlates.useMutation, P.powerMeter.getStatus.useQuery, P.presence.getStatus.useQuery, P.pressureSensor.getStatus.useQuery, P.privacyMask.getOptions.useQuery, P.privacyMask.setMask.useMutation, P.privacyMask.setAudioEnabled.useMutation, P.privacyMask.getStatus.useQuery, P.ptz.move.useMutation, P.ptz.continuousMove.useMutation, P.ptz.stop.useMutation, P.ptz.getPresets.useQuery, P.ptz.goToPreset.useMutation, P.ptz.savePreset.useMutation, P.ptz.deletePreset.useMutation, P.ptz.getOptions.useQuery, P.ptz.goHome.useMutation, P.ptz.getHomePreset.useQuery, P.ptz.setHomePreset.useMutation, P.ptz.captureHomeHere.useMutation, P.ptz.getHomeReturn.useQuery, P.ptz.setHomeReturn.useMutation, P.ptz.getPosition.useQuery, P.ptz.setAutofocus.useMutation, P.ptz.getStatus.useQuery, P.ptzAutotrack.getStatus.useQuery, P.ptzAutotrack.setEnabled.useMutation, P.ptzAutotrack.getSettings.useQuery, P.ptzAutotrack.setSettings.useMutation, P.reboot.reboot.useMutation, P.recording.listSources.useQuery, P.recording.getAvailability.useQuery, P.recording.getDaysWithRecordings.useQuery, P.recording.getPlayback.useQuery, P.recording.getPlaybackOptions.useQuery, P.recordingArchive.getAvailabilityBatch.useQuery, P.recordingArchive.getDaysWithRecordingsBatch.useQuery, P.recordingArchive.getStorageUsage.useQuery, P.recordingArchive.getDeviceConfig.useQuery, P.recordingArchive.locateSegment.useQuery, P.recordingArchive.readSegmentBytes.useQuery, P.recordingArchive.readGopBytes.useQuery, P.recordingArchive.readWindowBytes.useQuery, P.recordingArchive.setDeviceConfig.useMutation, P.recordingArchive.rescanStorage.useMutation, P.recordingArchive.pruneFootage.useMutation, P.recordingArchive.deleteFootprint.useMutation, P.recordingArchive.listOpsLog.useQuery, P.recordingArchive.renderGif.useMutation, P.recordingArchive.renderClip.useMutation, P.recordingArchive.pauseForStorageMigration.useMutation, P.recordingArchive.resumeForStorageMigration.useMutation, P.recordingArchive.refreshStorageLocationsForMigration.useMutation, P.recordingArchive.startStorageMigrationMove.useMutation, P.recordingArchive.getStorageMigrationMoveStatus.useQuery, P.recordingArchive.cancelStorageMigrationMove.useMutation, P.recordingArchive.relocateFootage.useMutation, P.recordingArchive.listRelocateJobs.useQuery, P.recordingArchive.getRelocateResidue.useQuery, P.recordingArchive.reconcileLedgerAgainstDisk.useMutation, P.recordingArchive.cancelRelocateJob.useMutation, P.recordingArchive.planStorageRebalance.useQuery, P.recordingArchive.startStorageRebalance.useMutation, P.recordingArchive.getPlacement.useQuery, P.recordingArchive.setDevicePlacement.useMutation, P.recordingArchive.getStatus.useQuery, P.recordingArchive.getDeviceSettingsContribution.useQuery, P.recordingArchive.getDeviceLiveContribution.useQuery, P.recordingArchive.applyDeviceSettingsPatch.useMutation, P.recordingExport.createExport.useMutation, P.recordingExport.listExports.useQuery, P.recordingExport.getExport.useQuery, P.recordingExport.cancelExport.useMutation, P.recordingExport.deleteExport.useMutation, P.recordingExport.getDownloadUrl.useQuery, P.recordingExport.readExportBytes.useQuery, P.recordingOnboard.getOptions.useQuery, P.recordingOnboard.setSettings.useMutation, P.recordingOnboard.getStatus.useQuery, P.recordingSignal.getStatus.useQuery, P.sceneMonitor.listScenes.useQuery, P.sceneMonitor.listScenesBatch.useQuery, P.sceneMonitor.createScene.useMutation, P.sceneMonitor.updateScene.useMutation, P.sceneMonitor.deleteScene.useMutation, P.sceneMonitor.captureReference.useMutation, P.sceneMonitor.deleteReference.useMutation, P.sceneMonitor.recheckNow.useMutation, P.sceneMonitor.resetScene.useMutation, P.sceneMonitor.getStatus.useQuery, P.scriptRunner.run.useMutation, P.scriptRunner.stop.useMutation, P.scriptRunner.getStatus.useQuery, P.serverManagement.getServerPackageStatus.useQuery, P.serverManagement.checkServerUpdate.useMutation, P.serverManagement.applyServerUpdate.useMutation, P.serverManagement.rollbackServerUpdate.useMutation, P.serverManagement.restartServer.useMutation, P.settingsStore.get.useQuery, P.settingsStore.set.useMutation, P.settingsStore.query.useQuery, P.settingsStore.upsert.useMutation, P.settingsStore.insert.useMutation, P.settingsStore.insertMany.useMutation, P.settingsStore.update.useMutation, P.settingsStore.delete.useMutation, P.settingsStore.deleteWhere.useMutation, P.settingsStore.updateWhere.useMutation, P.settingsStore.count.useQuery, P.settingsStore.aggregate.useQuery, P.settingsStore.histogram.useQuery, P.settingsStore.isEmpty.useQuery, P.settingsStore.declareCollection.useMutation, P.smoke.getStatus.useQuery, P.snapshot.getSnapshot.useQuery, P.snapshot.invalidateCache.useMutation, P.snapshot.getSnapshotOverview.useQuery, P.snapshot.getDebugState.useQuery, P.snapshot.getSnapshotLinks.useQuery, P.snapshot.getStatus.useQuery, P.snapshot.getDeviceSettingsContribution.useQuery, P.snapshot.getDeviceLiveContribution.useQuery, P.snapshot.applyDeviceSettingsPatch.useMutation, P.storage.resolve.useQuery, P.storage.write.useMutation, P.storage.read.useQuery, P.storage.exists.useQuery, P.storage.list.useQuery, P.storage.delete.useMutation, P.storage.getAvailableSpace.useQuery, P.storage.beginUpload.useMutation, P.storage.writeChunk.useMutation, P.storage.finalizeUpload.useMutation, P.storage.abortUpload.useMutation, P.storage.beginDownload.useMutation, P.storage.readChunk.useQuery, P.storage.endDownload.useMutation, P.storage.listLocations.useQuery, P.storage.listLocationDeclarations.useQuery, P.storage.upsertLocation.useMutation, P.storage.deleteLocation.useMutation, P.storage.listDrainProgress.useQuery, P.storage.testLocation.useQuery, P.storage.listProviders.useQuery, P.storage.testConfig.useQuery, P.storageMigration.plan.useQuery, P.storageMigration.start.useMutation, P.storageMigration.status.useQuery, P.storageMigration.cancel.useMutation, P.storageMigration.movers.useQuery, P.storageMigration.residue.useQuery, P.storageMigration.drain.useMutation, P.storageMigration.cleanupStart.useMutation, P.storageMigration.cleanupStatus.useQuery, P.storageMigration.cleanupCancel.useMutation, P.storageMigration.history.useQuery, P.streamBroker.reportStreamSignal.useMutation, P.streamBroker.publishCameraStream.useMutation, P.streamBroker.retractCameraStream.useMutation, P.streamBroker.assignProfile.useMutation, P.streamBroker.unassignProfile.useMutation, P.streamBroker.forgetDeviceHardware.useMutation, P.streamBroker.renderPreBufferClip.useMutation, P.streamBroker.produceEventMedia.useMutation, P.streamBroker.fetchEventMedia.useMutation, P.streamBroker.listAllCameraStreams.useQuery, P.streamBroker.listAllProfileSlots.useQuery, P.streamBroker.getBrokerStats.useQuery, P.streamBroker.probeStream.useMutation, P.streamBroker.listClients.useQuery, P.streamBroker.killClient.useMutation, P.streamBroker.restartProfile.useMutation, P.streamBroker.getStreamUrl.useQuery, P.streamBroker.getStreamWithCodec.useMutation, P.streamBroker.releaseStreamWithCodec.useMutation, P.streamBroker.acquireEgressTranscode.useMutation, P.streamBroker.releaseEgressTranscode.useMutation, P.streamBroker.subscribeAudioChunks.useMutation, P.streamBroker.pullAudioChunks.useQuery, P.streamBroker.unsubscribeAudioChunks.useMutation, P.streamBroker.subscribeFrames.useMutation, P.streamBroker.pullFrameHandles.useQuery, P.streamBroker.unsubscribeFrames.useMutation, P.streamBroker.setPreBufferDuration.useMutation, P.streamBroker.getPreBufferInfo.useQuery, P.streamBroker.getRtspPort.useQuery, P.streamBroker.getAllRtspEntries.useQuery, P.streamBroker.getRtspEntry.useQuery, P.streamBroker.regenerateRtspToken.useMutation, P.streamBroker.setRtspEnabled.useMutation, P.streamBroker.isRtspEnabled.useQuery, P.streamBroker.getDeviceAudioMute.useQuery, P.streamBroker.setDeviceAudioMute.useMutation, P.streamBroker.getDeviceSettingsContribution.useQuery, P.streamBroker.getDeviceLiveContribution.useQuery, P.streamBroker.applyDeviceSettingsPatch.useMutation, P.streamCatalog.getCatalog.useQuery, P.streamParams.getOptions.useQuery, P.streamParams.setProfile.useMutation, P.streamParams.getConfigSchema.useQuery, P.streamParams.getStatus.useQuery, P.streamSignals.listSignals.useQuery, P.switch.setState.useMutation, P.switch.getStatus.useQuery, P.system.info.useQuery, P.system.health.useQuery, P.system.featureFlags.useQuery, P.system.networkAddresses.useQuery, P.system.getRetentionConfig.useQuery, P.system.setRetentionConfig.useMutation, P.system.forceRetentionCleanup.useMutation, P.system.getSiteLocation.useQuery, P.system.setSiteLocation.useMutation, P.system.detectSiteLocation.useMutation, P.system.getRequestCensus.useQuery, P.system.getLoadContributions.useQuery, P.system.getFailureContributions.useQuery, P.system.getLoggingSettings.useQuery, P.system.setLoggingSettings.useMutation, P.tamper.getStatus.useQuery, P.temperatureSensor.getStatus.useQuery, P.terminalSession.listProfiles.useQuery, P.terminalSession.listInstances.useQuery, P.terminalSession.createInstance.useMutation, P.terminalSession.updateInstance.useMutation, P.terminalSession.deleteInstance.useMutation, P.terminalSession.setInstanceEnabled.useMutation, P.terminalSession.listLegacyCameras.useQuery, P.terminalSession.adoptLegacyMonitor.useMutation, P.terminalSession.listSessions.useQuery, P.terminalSession.openSession.useMutation, P.terminalSession.resize.useMutation, P.terminalSession.pullOutput.useMutation, P.terminalSession.writeInput.useMutation, P.terminalSession.close.useMutation, P.toast.onToast.useSubscription, P.turnProvider.getTurnServers.useQuery, P.update.installUpdate.useMutation, P.update.getStatus.useQuery, P.userManagement.listUsers.useQuery, P.userManagement.createUser.useMutation, P.userManagement.updateUser.useMutation, P.userManagement.deleteUser.useMutation, P.userManagement.resetPassword.useMutation, P.userManagement.setUserScopes.useMutation, P.userManagement.validateCredentials.useMutation, P.userManagement.listApiKeys.useQuery, P.userManagement.createApiKey.useMutation, P.userManagement.revokeApiKey.useMutation, P.userManagement.validateApiKey.useMutation, P.userManagement.createScopedToken.useMutation, P.userManagement.revokeScopedToken.useMutation, P.userManagement.validateScopedToken.useQuery, P.userManagement.listScopedTokens.useQuery, P.userManagement.setupTotp.useMutation, P.userManagement.confirmTotp.useMutation, P.userManagement.disableTotp.useMutation, P.userManagement.getTotpStatus.useQuery, P.userManagement.verifyTotp.useMutation, P.userManagement.oauthIssueCode.useMutation, P.userManagement.oauthExchangeCode.useMutation, P.userManagement.oauthRefresh.useMutation, P.userManagement.oauthVerifyAccessToken.useQuery, P.userManagement.listOauthSessions.useQuery, P.userManagement.revokeOauthSession.useMutation, P.vacuumControl.start.useMutation, P.vacuumControl.pause.useMutation, P.vacuumControl.stop.useMutation, P.vacuumControl.returnToBase.useMutation, P.vacuumControl.locate.useMutation, P.vacuumControl.setFanSpeed.useMutation, P.vacuumControl.getStatus.useQuery, P.valve.open.useMutation, P.valve.close.useMutation, P.valve.stop.useMutation, P.valve.setPosition.useMutation, P.valve.getStatus.useQuery, P.vibration.getStatus.useQuery, P.videoclips.listClips.useQuery, P.videoclips.listSources.useQuery, P.videoclips.getClipPlayback.useQuery, P.videoclips.readClipBytes.useQuery, P.videoclips.offerClipBytes.useQuery, P.videoclips.dialClipStream.useQuery, P.videoclips.getPlaybackOptions.useQuery, P.waterHeater.setTargetTemp.useMutation, P.waterHeater.setOperationMode.useMutation, P.waterHeater.setAway.useMutation, P.waterHeater.getStatus.useQuery, P.weather.getStatus.useQuery, P.webrtcSession.listStreams.useQuery, P.webrtcSession.createSession.useMutation, P.webrtcSession.handleOffer.useMutation, P.webrtcSession.handleAnswer.useMutation, P.webrtcSession.addIceCandidate.useMutation, P.webrtcSession.getIceCandidates.useQuery, P.webrtcSession.closeSession.useMutation, P.webrtcSession.hasAdaptiveBitrate.useQuery, P.webrtcSession.getSessionState.useQuery, P.webrtcSession.getSessionDebug.useQuery, P.zoneAnalytics.getCurrentSnapshot.useQuery, P.zoneAnalytics.getCurrentSnapshotBatch.useQuery, P.zoneAnalytics.getZoneHistory.useQuery, P.zoneAnalytics.getCameraHistory.useQuery, P.zoneAnalytics.getUnzonedHistory.useQuery, P.zoneRules.listRules.useQuery, P.zoneRules.setRules.useMutation, P.zones.listZones.useQuery, P.zones.addZone.useMutation, P.zones.removeZone.useMutation, P.zones.updateZone.useMutation;
1662
1662
  //#endregion
1663
1663
  //#region ../../node_modules/clsx/dist/clsx.mjs
1664
1664
  function hn(e) {
@@ -3601,7 +3601,7 @@ Qr.displayName = "Badge", d(), d(), d(), d(), d(), d(), d(), d(), d(), p("camsta
3601
3601
  mode: "live",
3602
3602
  positionMs: null,
3603
3603
  send: () => !1
3604
- }), d(), d(), d(), d(), d(), d(), i(() => import("./MotionZonesSettings-BVKF49rs.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./PrivacyMaskSettings-DoIRAuP_.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), d(), d();
3604
+ }), d(), d(), d(), d(), d(), d(), i(() => import("./MotionZonesSettings-DjSGOYEZ.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./PrivacyMaskSettings-BrJjxUTV.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), d(), d();
3605
3605
  var $r = Object.defineProperty, ei = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, ri = (e, t, n) => t in e ? $r(e, t, {
3606
3606
  enumerable: !0,
3607
3607
  configurable: !0,
@@ -5547,10 +5547,12 @@ function W(e, n) {
5547
5547
  ]);
5548
5548
  return i ? {
5549
5549
  display: s === void 0 ? e : s,
5550
- applyOptimistic: h
5550
+ applyOptimistic: h,
5551
+ rollback: m
5551
5552
  } : {
5552
5553
  display: e,
5553
- applyOptimistic: () => {}
5554
+ applyOptimistic: () => {},
5555
+ rollback: () => {}
5554
5556
  };
5555
5557
  }
5556
5558
  //#endregion
@@ -11582,6 +11584,7 @@ function mu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
11582
11584
  }
11583
11585
  //#endregion
11584
11586
  //#region ../ui-library/src/composites/device-controls/alarm-hero-card.tsx
11587
+ d();
11585
11588
  var hu = {
11586
11589
  disarmed: {
11587
11590
  label: "Disarmed",
@@ -11682,100 +11685,147 @@ function xu({ state: e, availableModes: t, busy: n, onDisarm: r, onArm: i }) {
11682
11685
  }, t))]
11683
11686
  });
11684
11687
  }
11685
- function Su(e, t, n) {
11686
- let { cap: r, slice: i, available: a } = B({
11688
+ function Su(e) {
11689
+ return e instanceof Error ? e.message : String(e);
11690
+ }
11691
+ function Cu(e, t, n) {
11692
+ let { cap: i, slice: a, available: s } = B({
11687
11693
  trpc: e,
11688
11694
  deviceId: t,
11689
11695
  cap: (e) => e.alarmPanel,
11690
11696
  slice: (e) => e.state.alarmPanel
11691
- }), { display: o, applyOptimistic: s } = W(i, { enabled: n ?? !0 }), c = !a;
11697
+ }), { display: c, applyOptimistic: l, rollback: d } = W(a, { enabled: n ?? !0 }), [f, p] = r(null), m = () => p(null), h = o(0);
11698
+ u(() => {
11699
+ p(null);
11700
+ }, [a]);
11701
+ let g = !s;
11692
11702
  return {
11693
- display: o,
11694
- capPresent: r !== void 0,
11695
- busy: c,
11703
+ display: c,
11704
+ capPresent: i !== void 0,
11705
+ busy: g,
11696
11706
  handleDisarm: () => {
11697
- r === void 0 || c || (s({ state: "disarming" }), r.disarm({}));
11707
+ if (i === void 0 || g) return;
11708
+ let e = ++h.current;
11709
+ l({ state: "disarming" }), i.disarm({}).catch((t) => {
11710
+ h.current === e && (d(), p(Su(t)));
11711
+ });
11698
11712
  },
11699
11713
  handleArm: (e) => {
11700
- r === void 0 || c || (s({ state: "arming" }), r.arm({ mode: e }));
11701
- }
11714
+ if (i === void 0 || g) return;
11715
+ let t = ++h.current;
11716
+ l({ state: "arming" }), i.arm({ mode: e }).catch((e) => {
11717
+ h.current === t && (d(), p(Su(e)));
11718
+ });
11719
+ },
11720
+ error: f,
11721
+ clearError: m
11702
11722
  };
11703
11723
  }
11704
- function Cu({ trpc: e, deviceId: t, optimistic: n }) {
11705
- let { display: r, capPresent: i, busy: a, handleDisarm: o, handleArm: s } = Su(e, t, n);
11724
+ function wu({ trpc: e, deviceId: t, optimistic: n }) {
11725
+ let { display: r, capPresent: i, busy: a, handleDisarm: o, handleArm: s, error: c } = Cu(e, t, n);
11706
11726
  if (!i || r === void 0) return null;
11707
- let c = hu[r.state], l = _u(r.state) ? r.state.replace("armed_", "") : "";
11727
+ let l = hu[r.state], u = _u(r.state) ? r.state.replace("armed_", "") : "";
11708
11728
  return /* @__PURE__ */ w("div", {
11709
11729
  className: "flex min-w-0 items-center gap-2",
11710
- children: [/* @__PURE__ */ w("span", {
11711
- className: z("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, vu(r.state) && "animate-pulse"),
11712
- children: [/* @__PURE__ */ C(yu, {
11713
- icon: c.icon,
11714
- sizeClass: "h-3 w-3"
11715
- }), c.label]
11716
- }), /* @__PURE__ */ w("select", {
11717
- "aria-label": "Alarm mode",
11718
- disabled: a,
11719
- value: l,
11720
- onClick: (e) => e.stopPropagation(),
11721
- onChange: (e) => {
11722
- e.stopPropagation();
11723
- let t = e.target.value;
11724
- t === "" ? o() : s(t);
11725
- },
11726
- className: z("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"),
11727
- children: [/* @__PURE__ */ C("option", {
11728
- value: "",
11729
- children: "Disarm"
11730
- }), r.availableModes.map((e) => /* @__PURE__ */ C("option", {
11731
- value: e,
11732
- children: gu[e]
11733
- }, e))]
11734
- })]
11730
+ children: [
11731
+ /* @__PURE__ */ w("span", {
11732
+ className: z("inline-flex shrink-0 items-center gap-1 rounded-md border px-1.5 py-0.5 text-[11px] font-medium whitespace-nowrap", l.colorClass, vu(r.state) && "animate-pulse"),
11733
+ children: [/* @__PURE__ */ C(yu, {
11734
+ icon: l.icon,
11735
+ sizeClass: "h-3 w-3"
11736
+ }), l.label]
11737
+ }),
11738
+ /* @__PURE__ */ w("select", {
11739
+ "aria-label": "Alarm mode",
11740
+ disabled: a,
11741
+ value: u,
11742
+ onClick: (e) => e.stopPropagation(),
11743
+ onChange: (e) => {
11744
+ e.stopPropagation();
11745
+ let t = e.target.value;
11746
+ t === "" ? o() : s(t);
11747
+ },
11748
+ className: z("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"),
11749
+ children: [/* @__PURE__ */ C("option", {
11750
+ value: "",
11751
+ children: "Disarm"
11752
+ }), r.availableModes.map((e) => /* @__PURE__ */ C("option", {
11753
+ value: e,
11754
+ children: gu[e]
11755
+ }, e))]
11756
+ }),
11757
+ c !== null && /* @__PURE__ */ C("span", {
11758
+ "data-testid": "alarm-inline-error",
11759
+ role: "alert",
11760
+ title: c,
11761
+ className: "inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full bg-danger/10 text-danger",
11762
+ children: /* @__PURE__ */ C(xt, {
11763
+ className: "h-3 w-3",
11764
+ "aria-hidden": "true"
11765
+ })
11766
+ })
11767
+ ]
11735
11768
  });
11736
11769
  }
11737
- function wu({ trpc: e, deviceId: t, optimistic: n }) {
11738
- let { display: r, capPresent: i, busy: a, handleDisarm: o, handleArm: s } = Su(e, t, n);
11770
+ function Tu({ trpc: e, deviceId: t, optimistic: n }) {
11771
+ let { display: r, capPresent: i, busy: a, handleDisarm: o, handleArm: s, error: c, clearError: l } = Cu(e, t, n);
11739
11772
  if (!i || r === void 0) return null;
11740
- let c = hu[r.state];
11773
+ let u = hu[r.state];
11741
11774
  return /* @__PURE__ */ w("div", {
11742
11775
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-6",
11743
- children: [/* @__PURE__ */ w("div", {
11744
- className: "flex flex-col items-center gap-2",
11745
- children: [/* @__PURE__ */ C("div", {
11746
- "data-testid": "alarm-state",
11747
- "data-state": r.state,
11748
- className: z("flex h-16 w-16 items-center justify-center rounded-full border-2", c.colorClass, vu(r.state) && "animate-pulse"),
11749
- children: /* @__PURE__ */ C(yu, { icon: c.icon })
11750
- }), /* @__PURE__ */ C("span", {
11751
- className: z("text-sm font-medium", c.colorClass, "border-0 bg-transparent"),
11752
- children: c.label
11753
- })]
11754
- }), /* @__PURE__ */ C(xu, {
11755
- state: r.state,
11756
- availableModes: r.availableModes,
11757
- busy: a,
11758
- onDisarm: o,
11759
- onArm: s
11760
- })]
11776
+ children: [
11777
+ /* @__PURE__ */ w("div", {
11778
+ className: "flex flex-col items-center gap-2",
11779
+ children: [/* @__PURE__ */ C("div", {
11780
+ "data-testid": "alarm-state",
11781
+ "data-state": r.state,
11782
+ className: z("flex h-16 w-16 items-center justify-center rounded-full border-2", u.colorClass, vu(r.state) && "animate-pulse"),
11783
+ children: /* @__PURE__ */ C(yu, { icon: u.icon })
11784
+ }), /* @__PURE__ */ C("span", {
11785
+ className: z("text-sm font-medium", u.colorClass, "border-0 bg-transparent"),
11786
+ children: u.label
11787
+ })]
11788
+ }),
11789
+ /* @__PURE__ */ C(xu, {
11790
+ state: r.state,
11791
+ availableModes: r.availableModes,
11792
+ busy: a,
11793
+ onDisarm: o,
11794
+ onArm: s
11795
+ }),
11796
+ c !== null && /* @__PURE__ */ w("div", {
11797
+ "data-testid": "alarm-error",
11798
+ role: "alert",
11799
+ className: "flex items-start justify-between gap-2 rounded-md border border-danger/30 bg-danger/10 px-3 py-2 text-sm text-danger",
11800
+ children: [/* @__PURE__ */ C("span", { children: c }), /* @__PURE__ */ C("button", {
11801
+ type: "button",
11802
+ "aria-label": "Dismiss",
11803
+ onClick: (e) => {
11804
+ e.stopPropagation(), l();
11805
+ },
11806
+ className: "shrink-0 font-medium text-danger/80 hover:text-danger",
11807
+ children: "×"
11808
+ })]
11809
+ })
11810
+ ]
11761
11811
  });
11762
11812
  }
11763
11813
  //#endregion
11764
11814
  //#region ../ui-library/src/composites/device-controls/script-automation-controls.tsx
11765
- function Tu(e, t) {
11815
+ function Eu(e, t) {
11766
11816
  if (e <= 0) return null;
11767
11817
  let n = Math.max(0, Math.round((t - e) / 1e3));
11768
11818
  return n < 60 ? "just now" : n < 3600 ? `${Math.floor(n / 60)} min ago` : n < 86400 ? `${Math.floor(n / 3600)} h ago` : new Date(e).toLocaleDateString();
11769
11819
  }
11770
- function Eu({ atMs: e, neverLabel: t }) {
11771
- let n = Tu(e, Date.now());
11820
+ function Du({ atMs: e, neverLabel: t }) {
11821
+ let n = Eu(e, Date.now());
11772
11822
  return /* @__PURE__ */ C("span", {
11773
11823
  className: "text-xs text-foreground-subtle",
11774
11824
  "data-testid": "last-run",
11775
11825
  children: n === null ? t : n
11776
11826
  });
11777
11827
  }
11778
- function Du({ error: e }) {
11828
+ function Ou({ error: e }) {
11779
11829
  return e === null || e === "" ? null : /* @__PURE__ */ w("span", {
11780
11830
  className: "inline-flex items-center gap-1 text-xs text-danger",
11781
11831
  title: e,
@@ -11789,7 +11839,7 @@ function Du({ error: e }) {
11789
11839
  })]
11790
11840
  });
11791
11841
  }
11792
- function Ou(e, t, n) {
11842
+ function ku(e, t, n) {
11793
11843
  let { cap: r, slice: i, available: a } = B({
11794
11844
  trpc: e,
11795
11845
  deviceId: t,
@@ -11809,7 +11859,7 @@ function Ou(e, t, n) {
11809
11859
  }
11810
11860
  };
11811
11861
  }
11812
- function ku({ running: e, busy: t, large: n, onRun: r, onStop: i }) {
11862
+ function Au({ running: e, busy: t, large: n, onRun: r, onStop: i }) {
11813
11863
  let a = e ? "Stop" : "Run";
11814
11864
  return /* @__PURE__ */ w("button", {
11815
11865
  type: "button",
@@ -11828,24 +11878,24 @@ function ku({ running: e, busy: t, large: n, onRun: r, onStop: i }) {
11828
11878
  }), /* @__PURE__ */ C("span", { children: a })]
11829
11879
  });
11830
11880
  }
11831
- function Au({ trpc: e, deviceId: t, optimistic: n }) {
11832
- let { display: r, capPresent: i, busy: a, running: o, run: s, stop: c } = Ou(e, t, n);
11881
+ function ju({ trpc: e, deviceId: t, optimistic: n }) {
11882
+ let { display: r, capPresent: i, busy: a, running: o, run: s, stop: c } = ku(e, t, n);
11833
11883
  return !i || r === void 0 ? null : /* @__PURE__ */ w("div", {
11834
11884
  className: "flex min-w-0 items-center gap-2",
11835
- children: [/* @__PURE__ */ C(ku, {
11885
+ children: [/* @__PURE__ */ C(Au, {
11836
11886
  running: o,
11837
11887
  busy: a,
11838
11888
  large: !1,
11839
11889
  onRun: s,
11840
11890
  onStop: c
11841
- }), /* @__PURE__ */ C(Eu, {
11891
+ }), /* @__PURE__ */ C(Du, {
11842
11892
  atMs: r.lastRunAt,
11843
11893
  neverLabel: "never run"
11844
11894
  })]
11845
11895
  });
11846
11896
  }
11847
- function ju({ trpc: e, deviceId: t, optimistic: n }) {
11848
- let { display: r, capPresent: i, busy: a, running: o, run: s, stop: c } = Ou(e, t, n);
11897
+ function Mu({ trpc: e, deviceId: t, optimistic: n }) {
11898
+ let { display: r, capPresent: i, busy: a, running: o, run: s, stop: c } = ku(e, t, n);
11849
11899
  return !i || r === void 0 ? null : /* @__PURE__ */ w("div", {
11850
11900
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-6",
11851
11901
  children: [/* @__PURE__ */ w("div", {
@@ -11864,15 +11914,15 @@ function ju({ trpc: e, deviceId: t, optimistic: n }) {
11864
11914
  className: "text-sm font-medium",
11865
11915
  children: o ? "Running" : "Idle"
11866
11916
  }),
11867
- /* @__PURE__ */ C(Eu, {
11917
+ /* @__PURE__ */ C(Du, {
11868
11918
  atMs: r.lastRunAt,
11869
11919
  neverLabel: "never run"
11870
11920
  }),
11871
- /* @__PURE__ */ C(Du, { error: r.lastError })
11921
+ /* @__PURE__ */ C(Ou, { error: r.lastError })
11872
11922
  ]
11873
11923
  }), /* @__PURE__ */ C("div", {
11874
11924
  className: "flex justify-center",
11875
- children: /* @__PURE__ */ C(ku, {
11925
+ children: /* @__PURE__ */ C(Au, {
11876
11926
  running: o,
11877
11927
  busy: a,
11878
11928
  large: !0,
@@ -11882,7 +11932,7 @@ function ju({ trpc: e, deviceId: t, optimistic: n }) {
11882
11932
  })]
11883
11933
  });
11884
11934
  }
11885
- function Mu(e, t, n) {
11935
+ function Nu(e, t, n) {
11886
11936
  let { cap: r, slice: i, available: a } = B({
11887
11937
  trpc: e,
11888
11938
  deviceId: t,
@@ -11901,7 +11951,7 @@ function Mu(e, t, n) {
11901
11951
  }
11902
11952
  };
11903
11953
  }
11904
- function Nu({ enabled: e, busy: t, onToggle: n }) {
11954
+ function Pu({ enabled: e, busy: t, onToggle: n }) {
11905
11955
  return /* @__PURE__ */ C("button", {
11906
11956
  type: "button",
11907
11957
  role: "switch",
@@ -11916,7 +11966,7 @@ function Nu({ enabled: e, busy: t, onToggle: n }) {
11916
11966
  children: e ? "Enabled" : "Disabled"
11917
11967
  });
11918
11968
  }
11919
- function Pu({ busy: e, large: t, onTrigger: n }) {
11969
+ function Fu({ busy: e, large: t, onTrigger: n }) {
11920
11970
  return /* @__PURE__ */ w("button", {
11921
11971
  type: "button",
11922
11972
  "aria-label": "Trigger",
@@ -11933,23 +11983,23 @@ function Pu({ busy: e, large: t, onTrigger: n }) {
11933
11983
  }), /* @__PURE__ */ C("span", { children: "Trigger" })]
11934
11984
  });
11935
11985
  }
11936
- function Fu({ trpc: e, deviceId: t, optimistic: n }) {
11937
- let { display: r, capPresent: i, busy: a, setEnabled: o, trigger: s } = Mu(e, t, n);
11986
+ function Iu({ trpc: e, deviceId: t, optimistic: n }) {
11987
+ let { display: r, capPresent: i, busy: a, setEnabled: o, trigger: s } = Nu(e, t, n);
11938
11988
  return !i || r === void 0 ? null : /* @__PURE__ */ w("div", {
11939
11989
  className: "flex min-w-0 items-center gap-2",
11940
- children: [/* @__PURE__ */ C(Nu, {
11990
+ children: [/* @__PURE__ */ C(Pu, {
11941
11991
  enabled: r.enabled,
11942
11992
  busy: a,
11943
11993
  onToggle: o
11944
- }), /* @__PURE__ */ C(Pu, {
11994
+ }), /* @__PURE__ */ C(Fu, {
11945
11995
  busy: a,
11946
11996
  large: !1,
11947
11997
  onTrigger: s
11948
11998
  })]
11949
11999
  });
11950
12000
  }
11951
- function Iu({ trpc: e, deviceId: t, optimistic: n }) {
11952
- let { display: r, capPresent: i, busy: a, setEnabled: o, trigger: s } = Mu(e, t, n);
12001
+ function Lu({ trpc: e, deviceId: t, optimistic: n }) {
12002
+ let { display: r, capPresent: i, busy: a, setEnabled: o, trigger: s } = Nu(e, t, n);
11953
12003
  return !i || r === void 0 ? null : /* @__PURE__ */ w("div", {
11954
12004
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-6",
11955
12005
  children: [/* @__PURE__ */ w("div", {
@@ -11968,19 +12018,19 @@ function Iu({ trpc: e, deviceId: t, optimistic: n }) {
11968
12018
  className: "text-sm font-medium",
11969
12019
  children: r.enabled ? "Enabled" : "Disabled"
11970
12020
  }),
11971
- /* @__PURE__ */ C(Eu, {
12021
+ /* @__PURE__ */ C(Du, {
11972
12022
  atMs: r.lastTriggeredAt,
11973
12023
  neverLabel: "never triggered"
11974
12024
  }),
11975
- /* @__PURE__ */ C(Du, { error: r.lastError })
12025
+ /* @__PURE__ */ C(Ou, { error: r.lastError })
11976
12026
  ]
11977
12027
  }), /* @__PURE__ */ w("div", {
11978
12028
  className: "flex items-center justify-center gap-3",
11979
- children: [/* @__PURE__ */ C(Nu, {
12029
+ children: [/* @__PURE__ */ C(Pu, {
11980
12030
  enabled: r.enabled,
11981
12031
  busy: a,
11982
12032
  onToggle: o
11983
- }), /* @__PURE__ */ C(Pu, {
12033
+ }), /* @__PURE__ */ C(Fu, {
11984
12034
  busy: a,
11985
12035
  large: !0,
11986
12036
  onTrigger: s
@@ -11990,13 +12040,13 @@ function Iu({ trpc: e, deviceId: t, optimistic: n }) {
11990
12040
  }
11991
12041
  //#endregion
11992
12042
  //#region ../ui-library/src/composites/device-controls/panel-controls.tsx
11993
- function Lu({ children: e }) {
12043
+ function Ru({ children: e }) {
11994
12044
  return /* @__PURE__ */ C("div", {
11995
12045
  className: "flex flex-col items-stretch gap-3 rounded-lg border border-border bg-surface p-4",
11996
12046
  children: e
11997
12047
  });
11998
12048
  }
11999
- function Ru(e, t) {
12049
+ function zu(e, t) {
12000
12050
  let { cap: n } = B({
12001
12051
  trpc: e,
12002
12052
  deviceId: t,
@@ -12005,8 +12055,8 @@ function Ru(e, t) {
12005
12055
  });
12006
12056
  return n !== void 0;
12007
12057
  }
12008
- function zu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12009
- return Ru(e, t) ? /* @__PURE__ */ C(To, {
12058
+ function Bu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12059
+ return zu(e, t) ? /* @__PURE__ */ C(To, {
12010
12060
  trpc: e,
12011
12061
  deviceId: t,
12012
12062
  features: n,
@@ -12014,7 +12064,7 @@ function zu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12014
12064
  optimistic: r
12015
12065
  }) : null;
12016
12066
  }
12017
- function Bu(e, t) {
12067
+ function Vu(e, t) {
12018
12068
  let { cap: n } = B({
12019
12069
  trpc: e,
12020
12070
  deviceId: t,
@@ -12023,8 +12073,8 @@ function Bu(e, t) {
12023
12073
  });
12024
12074
  return n !== void 0;
12025
12075
  }
12026
- function Vu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12027
- return Bu(e, t) ? /* @__PURE__ */ C(wo, {
12076
+ function Hu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12077
+ return Vu(e, t) ? /* @__PURE__ */ C(wo, {
12028
12078
  trpc: e,
12029
12079
  deviceId: t,
12030
12080
  features: n,
@@ -12032,8 +12082,8 @@ function Vu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12032
12082
  optimistic: r
12033
12083
  }) : null;
12034
12084
  }
12035
- function Hu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12036
- return Ru(e, t) ? /* @__PURE__ */ w("div", {
12085
+ function Uu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12086
+ return zu(e, t) ? /* @__PURE__ */ w("div", {
12037
12087
  className: "inline-flex items-center gap-2",
12038
12088
  children: [/* @__PURE__ */ C(To, {
12039
12089
  trpc: e,
@@ -12050,7 +12100,7 @@ function Hu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12050
12100
  })]
12051
12101
  }) : null;
12052
12102
  }
12053
- function Uu(e, t) {
12103
+ function Wu(e, t) {
12054
12104
  let { cap: n } = B({
12055
12105
  trpc: e,
12056
12106
  deviceId: t,
@@ -12059,8 +12109,8 @@ function Uu(e, t) {
12059
12109
  });
12060
12110
  return n !== void 0;
12061
12111
  }
12062
- function Wu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12063
- return Uu(e, t) ? /* @__PURE__ */ w("div", {
12112
+ function Gu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12113
+ return Wu(e, t) ? /* @__PURE__ */ w("div", {
12064
12114
  className: "inline-flex items-center gap-2",
12065
12115
  children: [/* @__PURE__ */ C(To, {
12066
12116
  trpc: e,
@@ -12077,7 +12127,7 @@ function Wu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12077
12127
  })]
12078
12128
  }) : null;
12079
12129
  }
12080
- function Gu(e, t) {
12130
+ function Ku(e, t) {
12081
12131
  let { cap: n } = B({
12082
12132
  trpc: e,
12083
12133
  deviceId: t,
@@ -12086,8 +12136,8 @@ function Gu(e, t) {
12086
12136
  });
12087
12137
  return n !== void 0;
12088
12138
  }
12089
- function Ku({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12090
- return Gu(e, t) ? /* @__PURE__ */ C(jo, {
12139
+ function qu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12140
+ return Ku(e, t) ? /* @__PURE__ */ C(jo, {
12091
12141
  trpc: e,
12092
12142
  deviceId: t,
12093
12143
  features: n,
@@ -12095,8 +12145,8 @@ function Ku({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12095
12145
  optimistic: r
12096
12146
  }) : null;
12097
12147
  }
12098
- function qu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12099
- return Gu(e, t) ? /* @__PURE__ */ C(Cl, {
12148
+ function Ju({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12149
+ return Ku(e, t) ? /* @__PURE__ */ C(Cl, {
12100
12150
  trpc: e,
12101
12151
  deviceId: t,
12102
12152
  features: n,
@@ -12104,8 +12154,8 @@ function qu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12104
12154
  optimistic: r
12105
12155
  }) : null;
12106
12156
  }
12107
- function Ju({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12108
- return Gu(e, t) ? /* @__PURE__ */ C(Cl, {
12157
+ function Yu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12158
+ return Ku(e, t) ? /* @__PURE__ */ C(Cl, {
12109
12159
  trpc: e,
12110
12160
  deviceId: t,
12111
12161
  features: n,
@@ -12113,7 +12163,7 @@ function Ju({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12113
12163
  optimistic: r
12114
12164
  }) : null;
12115
12165
  }
12116
- function Yu(e, t) {
12166
+ function Xu(e, t) {
12117
12167
  let { cap: n } = B({
12118
12168
  trpc: e,
12119
12169
  deviceId: t,
@@ -12122,8 +12172,8 @@ function Yu(e, t) {
12122
12172
  });
12123
12173
  return n !== void 0;
12124
12174
  }
12125
- function Xu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12126
- return Yu(e, t) ? /* @__PURE__ */ C(Ro, {
12175
+ function Zu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12176
+ return Xu(e, t) ? /* @__PURE__ */ C(Ro, {
12127
12177
  trpc: e,
12128
12178
  deviceId: t,
12129
12179
  features: n,
@@ -12131,7 +12181,7 @@ function Xu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12131
12181
  optimistic: r
12132
12182
  }) : null;
12133
12183
  }
12134
- function Zu(e, t) {
12184
+ function Qu(e, t) {
12135
12185
  let { cap: n } = B({
12136
12186
  trpc: e,
12137
12187
  deviceId: t,
@@ -12140,8 +12190,8 @@ function Zu(e, t) {
12140
12190
  });
12141
12191
  return n !== void 0;
12142
12192
  }
12143
- function Qu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12144
- return Zu(e, t) ? /* @__PURE__ */ C(Qo, {
12193
+ function $u({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12194
+ return Qu(e, t) ? /* @__PURE__ */ C(Qo, {
12145
12195
  trpc: e,
12146
12196
  deviceId: t,
12147
12197
  features: n,
@@ -12149,8 +12199,8 @@ function Qu({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12149
12199
  optimistic: r
12150
12200
  }) : null;
12151
12201
  }
12152
- function $u({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12153
- return Zu(e, t) ? /* @__PURE__ */ C(Lu, { children: /* @__PURE__ */ C(Qo, {
12202
+ function ed({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12203
+ return Qu(e, t) ? /* @__PURE__ */ C(Ru, { children: /* @__PURE__ */ C(Qo, {
12154
12204
  trpc: e,
12155
12205
  deviceId: t,
12156
12206
  features: n,
@@ -12160,7 +12210,7 @@ function $u({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12160
12210
  }
12161
12211
  //#endregion
12162
12212
  //#region ../ui-library/src/composites/device-controls/control-registry.tsx
12163
- var ed = {
12213
+ var td = {
12164
12214
  cover: {
12165
12215
  InlineControl: hs,
12166
12216
  HeroCard: bs
@@ -12178,15 +12228,15 @@ var ed = {
12178
12228
  HeroCard: Mc
12179
12229
  },
12180
12230
  switch: {
12181
- InlineControl: zu,
12231
+ InlineControl: Bu,
12182
12232
  HeroCard: cu
12183
12233
  },
12184
12234
  light: {
12185
- InlineControl: Hu,
12235
+ InlineControl: Uu,
12186
12236
  HeroCard: iu
12187
12237
  },
12188
12238
  fan: {
12189
- InlineControl: Wu,
12239
+ InlineControl: Gu,
12190
12240
  HeroCard: su
12191
12241
  },
12192
12242
  sensor: {
@@ -12194,12 +12244,12 @@ var ed = {
12194
12244
  HeroCard: Ns
12195
12245
  },
12196
12246
  thermostat: {
12197
- InlineControl: Ku,
12247
+ InlineControl: qu,
12198
12248
  HeroCard: Ul
12199
12249
  },
12200
12250
  climate: {
12201
- InlineControl: qu,
12202
- HeroCard: Ju
12251
+ InlineControl: Ju,
12252
+ HeroCard: Yu
12203
12253
  },
12204
12254
  button: {
12205
12255
  InlineControl: yo,
@@ -12210,20 +12260,20 @@ var ed = {
12210
12260
  HeroCard: Ls
12211
12261
  },
12212
12262
  lock: {
12213
- InlineControl: Vu,
12263
+ InlineControl: Hu,
12214
12264
  HeroCard: Xl
12215
12265
  },
12216
12266
  "media-player": {
12217
- InlineControl: Xu,
12267
+ InlineControl: Zu,
12218
12268
  HeroCard: mu
12219
12269
  },
12220
12270
  alarm: {
12221
- InlineControl: Cu,
12222
- HeroCard: wu
12271
+ InlineControl: wu,
12272
+ HeroCard: Tu
12223
12273
  },
12224
12274
  control: {
12225
- InlineControl: Qu,
12226
- HeroCard: $u
12275
+ InlineControl: $u,
12276
+ HeroCard: ed
12227
12277
  },
12228
12278
  weather: {
12229
12279
  InlineControl: Rc,
@@ -12246,26 +12296,26 @@ var ed = {
12246
12296
  HeroCard: pl
12247
12297
  },
12248
12298
  script: {
12249
- InlineControl: Au,
12250
- HeroCard: ju
12299
+ InlineControl: ju,
12300
+ HeroCard: Mu
12251
12301
  },
12252
12302
  automation: {
12253
- InlineControl: Fu,
12254
- HeroCard: Iu
12303
+ InlineControl: Iu,
12304
+ HeroCard: Lu
12255
12305
  },
12256
12306
  dummy: {
12257
12307
  InlineControl: xs,
12258
12308
  HeroCard: Ss
12259
12309
  }
12260
12310
  };
12261
- Object.fromEntries(Object.values(O).map((e) => [e, ed[ne[e]]])), O.Cover, O.Valve, O.Thermostat, O.Climate, O.Control, O.Button, O.MediaPlayer, O.AlarmPanel, O.Lock, O.Vacuum, O.LawnMower, O.Humidifier, O.Switch, O.Siren, O.Light, O.Fan, O.WaterHeater, O.Sensor, O.Presence, O.EventEmitter, O.Notifier, O.Script, O.Automation, O.Camera, O.Hub, O.Update, O.Generic, O.Weather, O.Container, O.Image, O.PetFeeder, new Set(Object.values(O));
12311
+ Object.fromEntries(Object.values(O).map((e) => [e, td[ne[e]]])), O.Cover, O.Valve, O.Thermostat, O.Climate, O.Control, O.Button, O.MediaPlayer, O.AlarmPanel, O.Lock, O.Vacuum, O.LawnMower, O.Humidifier, O.Switch, O.Siren, O.Light, O.Fan, O.WaterHeater, O.Sensor, O.Presence, O.EventEmitter, O.Notifier, O.Script, O.Automation, O.Camera, O.Hub, O.Update, O.Generic, O.Weather, O.Container, O.Image, O.PetFeeder, new Set(Object.values(O));
12262
12312
  //#endregion
12263
12313
  //#region ../ui-library/src/lib/format-last-seen.ts
12264
- var td = 1e3;
12265
- 24 * (60 * td * 60), 30 * td;
12314
+ var nd = 1e3;
12315
+ 24 * (60 * nd * 60), 30 * nd;
12266
12316
  //#endregion
12267
12317
  //#region ../../node_modules/zod/v4/core/core.js
12268
- var nd;
12318
+ var rd;
12269
12319
  function G(e, t, n) {
12270
12320
  function r(n, r) {
12271
12321
  if (n._zod || Object.defineProperty(n, "_zod", {
@@ -12295,30 +12345,30 @@ function G(e, t, n) {
12295
12345
  }
12296
12346
  return Object.defineProperty(o, "init", { value: r }), Object.defineProperty(o, Symbol.hasInstance, { value: (t) => n?.Parent && t instanceof n.Parent ? !0 : t?._zod?.traits?.has(e) }), Object.defineProperty(o, "name", { value: e }), o;
12297
12347
  }
12298
- var rd = class extends Error {
12348
+ var id = class extends Error {
12299
12349
  constructor() {
12300
12350
  super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
12301
12351
  }
12302
- }, id = class extends Error {
12352
+ }, ad = class extends Error {
12303
12353
  constructor(e) {
12304
12354
  super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
12305
12355
  }
12306
12356
  };
12307
- (nd = globalThis).__zod_globalConfig ?? (nd.__zod_globalConfig = {});
12308
- var ad = globalThis.__zod_globalConfig;
12309
- function od(e) {
12310
- return e && Object.assign(ad, e), ad;
12357
+ (rd = globalThis).__zod_globalConfig ?? (rd.__zod_globalConfig = {});
12358
+ var od = globalThis.__zod_globalConfig;
12359
+ function sd(e) {
12360
+ return e && Object.assign(od, e), od;
12311
12361
  }
12312
12362
  //#endregion
12313
12363
  //#region ../../node_modules/zod/v4/core/util.js
12314
- function sd(e) {
12364
+ function cd(e) {
12315
12365
  let t = Object.values(e).filter((e) => typeof e == "number");
12316
12366
  return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
12317
12367
  }
12318
- function cd(e, t) {
12368
+ function ld(e, t) {
12319
12369
  return typeof t == "bigint" ? t.toString() : t;
12320
12370
  }
12321
- function ld(e) {
12371
+ function ud(e) {
12322
12372
  return { get value() {
12323
12373
  {
12324
12374
  let t = e();
@@ -12327,23 +12377,23 @@ function ld(e) {
12327
12377
  throw Error("cached value already set");
12328
12378
  } };
12329
12379
  }
12330
- function ud(e) {
12380
+ function dd(e) {
12331
12381
  return e == null;
12332
12382
  }
12333
- function dd(e) {
12383
+ function fd(e) {
12334
12384
  let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
12335
12385
  return e.slice(t, n);
12336
12386
  }
12337
- function fd(e, t) {
12387
+ function pd(e, t) {
12338
12388
  let n = e / t, r = Math.round(n), i = 2 ** -52 * Math.max(Math.abs(n), 1);
12339
12389
  return Math.abs(n - r) < i ? 0 : n - r;
12340
12390
  }
12341
- var pd = /* @__PURE__*/ Symbol("evaluating");
12391
+ var md = /* @__PURE__*/ Symbol("evaluating");
12342
12392
  function K(e, t, n) {
12343
12393
  let r;
12344
12394
  Object.defineProperty(e, t, {
12345
12395
  get() {
12346
- if (r !== pd) return r === void 0 && (r = pd, r = n()), r;
12396
+ if (r !== md) return r === void 0 && (r = md, r = n()), r;
12347
12397
  },
12348
12398
  set(n) {
12349
12399
  Object.defineProperty(e, t, { value: n });
@@ -12351,7 +12401,7 @@ function K(e, t, n) {
12351
12401
  configurable: !0
12352
12402
  });
12353
12403
  }
12354
- function md(e, t, n) {
12404
+ function hd(e, t, n) {
12355
12405
  Object.defineProperty(e, t, {
12356
12406
  value: n,
12357
12407
  writable: !0,
@@ -12359,48 +12409,48 @@ function md(e, t, n) {
12359
12409
  configurable: !0
12360
12410
  });
12361
12411
  }
12362
- function hd(...e) {
12412
+ function gd(...e) {
12363
12413
  let t = {};
12364
12414
  for (let n of e) Object.assign(t, Object.getOwnPropertyDescriptors(n));
12365
12415
  return Object.defineProperties({}, t);
12366
12416
  }
12367
- function gd(e) {
12417
+ function _d(e) {
12368
12418
  return JSON.stringify(e);
12369
12419
  }
12370
- function _d(e) {
12420
+ function vd(e) {
12371
12421
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
12372
12422
  }
12373
- var vd = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
12374
- function yd(e) {
12423
+ var yd = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
12424
+ function bd(e) {
12375
12425
  return typeof e == "object" && !!e && !Array.isArray(e);
12376
12426
  }
12377
- var bd = /* @__PURE__*/ ld(() => {
12378
- if (ad.jitless || typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
12427
+ var xd = /* @__PURE__*/ ud(() => {
12428
+ if (od.jitless || typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
12379
12429
  try {
12380
12430
  return Function(""), !0;
12381
12431
  } catch {
12382
12432
  return !1;
12383
12433
  }
12384
12434
  });
12385
- function xd(e) {
12386
- if (yd(e) === !1) return !1;
12435
+ function Sd(e) {
12436
+ if (bd(e) === !1) return !1;
12387
12437
  let t = e.constructor;
12388
12438
  if (t === void 0 || typeof t != "function") return !0;
12389
12439
  let n = t.prototype;
12390
- return !(yd(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
12440
+ return !(bd(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
12391
12441
  }
12392
- function Sd(e) {
12393
- return xd(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
12442
+ function Cd(e) {
12443
+ return Sd(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
12394
12444
  }
12395
- var Cd = /* @__PURE__*/ new Set([
12445
+ var wd = /* @__PURE__*/ new Set([
12396
12446
  "string",
12397
12447
  "number",
12398
12448
  "symbol"
12399
12449
  ]);
12400
- function wd(e) {
12450
+ function Td(e) {
12401
12451
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
12402
12452
  }
12403
- function Td(e, t, n) {
12453
+ function Ed(e, t, n) {
12404
12454
  let r = new e._zod.constr(t ?? e._zod.def);
12405
12455
  return (!t || n?.parent) && (r._zod.parent = e), r;
12406
12456
  }
@@ -12417,80 +12467,80 @@ function q(e) {
12417
12467
  error: () => t.error
12418
12468
  } : t;
12419
12469
  }
12420
- function Ed(e) {
12470
+ function Dd(e) {
12421
12471
  return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
12422
12472
  }
12423
- var Dd = {
12473
+ var Od = {
12424
12474
  safeint: [-(2 ** 53 - 1), 2 ** 53 - 1],
12425
12475
  int32: [-2147483648, 2147483647],
12426
12476
  uint32: [0, 4294967295],
12427
12477
  float32: [-34028234663852886e22, 34028234663852886e22],
12428
12478
  float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
12429
12479
  };
12430
- function Od(e, t) {
12480
+ function kd(e, t) {
12431
12481
  let n = e._zod.def, r = n.checks;
12432
12482
  if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements");
12433
- return Td(e, hd(e._zod.def, {
12483
+ return Ed(e, gd(e._zod.def, {
12434
12484
  get shape() {
12435
12485
  let e = {};
12436
12486
  for (let r in t) {
12437
12487
  if (!(r in n.shape)) throw Error(`Unrecognized key: "${r}"`);
12438
12488
  t[r] && (e[r] = n.shape[r]);
12439
12489
  }
12440
- return md(this, "shape", e), e;
12490
+ return hd(this, "shape", e), e;
12441
12491
  },
12442
12492
  checks: []
12443
12493
  }));
12444
12494
  }
12445
- function kd(e, t) {
12495
+ function Ad(e, t) {
12446
12496
  let n = e._zod.def, r = n.checks;
12447
12497
  if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements");
12448
- return Td(e, hd(e._zod.def, {
12498
+ return Ed(e, gd(e._zod.def, {
12449
12499
  get shape() {
12450
12500
  let r = { ...e._zod.def.shape };
12451
12501
  for (let e in t) {
12452
12502
  if (!(e in n.shape)) throw Error(`Unrecognized key: "${e}"`);
12453
12503
  t[e] && delete r[e];
12454
12504
  }
12455
- return md(this, "shape", r), r;
12505
+ return hd(this, "shape", r), r;
12456
12506
  },
12457
12507
  checks: []
12458
12508
  }));
12459
12509
  }
12460
- function Ad(e, t) {
12461
- if (!xd(t)) throw Error("Invalid input to extend: expected a plain object");
12510
+ function jd(e, t) {
12511
+ if (!Sd(t)) throw Error("Invalid input to extend: expected a plain object");
12462
12512
  let n = e._zod.def.checks;
12463
12513
  if (n && n.length > 0) {
12464
12514
  let n = e._zod.def.shape;
12465
12515
  for (let e in t) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
12466
12516
  }
12467
- return Td(e, hd(e._zod.def, { get shape() {
12517
+ return Ed(e, gd(e._zod.def, { get shape() {
12468
12518
  let n = {
12469
12519
  ...e._zod.def.shape,
12470
12520
  ...t
12471
12521
  };
12472
- return md(this, "shape", n), n;
12522
+ return hd(this, "shape", n), n;
12473
12523
  } }));
12474
12524
  }
12475
- function jd(e, t) {
12476
- if (!xd(t)) throw Error("Invalid input to safeExtend: expected a plain object");
12477
- return Td(e, hd(e._zod.def, { get shape() {
12525
+ function Md(e, t) {
12526
+ if (!Sd(t)) throw Error("Invalid input to safeExtend: expected a plain object");
12527
+ return Ed(e, gd(e._zod.def, { get shape() {
12478
12528
  let n = {
12479
12529
  ...e._zod.def.shape,
12480
12530
  ...t
12481
12531
  };
12482
- return md(this, "shape", n), n;
12532
+ return hd(this, "shape", n), n;
12483
12533
  } }));
12484
12534
  }
12485
- function Md(e, t) {
12535
+ function Nd(e, t) {
12486
12536
  if (e._zod.def.checks?.length) throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
12487
- return Td(e, hd(e._zod.def, {
12537
+ return Ed(e, gd(e._zod.def, {
12488
12538
  get shape() {
12489
12539
  let n = {
12490
12540
  ...e._zod.def.shape,
12491
12541
  ...t._zod.def.shape
12492
12542
  };
12493
- return md(this, "shape", n), n;
12543
+ return hd(this, "shape", n), n;
12494
12544
  },
12495
12545
  get catchall() {
12496
12546
  return t._zod.def.catchall;
@@ -12498,10 +12548,10 @@ function Md(e, t) {
12498
12548
  checks: t._zod.def.checks ?? []
12499
12549
  }));
12500
12550
  }
12501
- function Nd(e, t, n) {
12551
+ function Pd(e, t, n) {
12502
12552
  let r = t._zod.def.checks;
12503
12553
  if (r && r.length > 0) throw Error(".partial() cannot be used on object schemas containing refinements");
12504
- return Td(t, hd(t._zod.def, {
12554
+ return Ed(t, gd(t._zod.def, {
12505
12555
  get shape() {
12506
12556
  let r = t._zod.def.shape, i = { ...r };
12507
12557
  if (n) for (let t in n) {
@@ -12515,13 +12565,13 @@ function Nd(e, t, n) {
12515
12565
  type: "optional",
12516
12566
  innerType: r[t]
12517
12567
  }) : r[t];
12518
- return md(this, "shape", i), i;
12568
+ return hd(this, "shape", i), i;
12519
12569
  },
12520
12570
  checks: []
12521
12571
  }));
12522
12572
  }
12523
- function Pd(e, t, n) {
12524
- return Td(t, hd(t._zod.def, { get shape() {
12573
+ function Fd(e, t, n) {
12574
+ return Ed(t, gd(t._zod.def, { get shape() {
12525
12575
  let r = t._zod.def.shape, i = { ...r };
12526
12576
  if (n) for (let t in n) {
12527
12577
  if (!(t in i)) throw Error(`Unrecognized key: "${t}"`);
@@ -12534,36 +12584,36 @@ function Pd(e, t, n) {
12534
12584
  type: "nonoptional",
12535
12585
  innerType: r[t]
12536
12586
  });
12537
- return md(this, "shape", i), i;
12587
+ return hd(this, "shape", i), i;
12538
12588
  } }));
12539
12589
  }
12540
- function Fd(e, t = 0) {
12590
+ function Id(e, t = 0) {
12541
12591
  if (e.aborted === !0) return !0;
12542
12592
  for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue !== !0) return !0;
12543
12593
  return !1;
12544
12594
  }
12545
- function Id(e, t = 0) {
12595
+ function Ld(e, t = 0) {
12546
12596
  if (e.aborted === !0) return !0;
12547
12597
  for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue === !1) return !0;
12548
12598
  return !1;
12549
12599
  }
12550
- function Ld(e, t) {
12600
+ function Rd(e, t) {
12551
12601
  return t.map((t) => {
12552
12602
  var n;
12553
12603
  return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
12554
12604
  });
12555
12605
  }
12556
- function Rd(e) {
12606
+ function zd(e) {
12557
12607
  return typeof e == "string" ? e : e?.message;
12558
12608
  }
12559
- function zd(e, t, n) {
12560
- let r = e.message ? e.message : Rd(e.inst?._zod.def?.error?.(e)) ?? Rd(t?.error?.(e)) ?? Rd(n.customError?.(e)) ?? Rd(n.localeError?.(e)) ?? "Invalid input", { inst: i, continue: a, input: o, ...s } = e;
12609
+ function Bd(e, t, n) {
12610
+ let r = e.message ? e.message : zd(e.inst?._zod.def?.error?.(e)) ?? zd(t?.error?.(e)) ?? zd(n.customError?.(e)) ?? zd(n.localeError?.(e)) ?? "Invalid input", { inst: i, continue: a, input: o, ...s } = e;
12561
12611
  return s.path ??= [], s.message = r, t?.reportInput && (s.input = o), s;
12562
12612
  }
12563
- function Bd(e) {
12613
+ function Vd(e) {
12564
12614
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
12565
12615
  }
12566
- function Vd(...e) {
12616
+ function Hd(...e) {
12567
12617
  let [t, n, r] = e;
12568
12618
  return typeof t == "string" ? {
12569
12619
  message: t,
@@ -12574,19 +12624,19 @@ function Vd(...e) {
12574
12624
  }
12575
12625
  //#endregion
12576
12626
  //#region ../../node_modules/zod/v4/core/errors.js
12577
- var Hd = (e, t) => {
12627
+ var Ud = (e, t) => {
12578
12628
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
12579
12629
  value: e._zod,
12580
12630
  enumerable: !1
12581
12631
  }), Object.defineProperty(e, "issues", {
12582
12632
  value: t,
12583
12633
  enumerable: !1
12584
- }), e.message = JSON.stringify(t, cd, 2), Object.defineProperty(e, "toString", {
12634
+ }), e.message = JSON.stringify(t, ld, 2), Object.defineProperty(e, "toString", {
12585
12635
  value: () => e.message,
12586
12636
  enumerable: !1
12587
12637
  });
12588
- }, Ud = G("$ZodError", Hd), Wd = G("$ZodError", Hd, { Parent: Error });
12589
- function Gd(e, t = (e) => e.message) {
12638
+ }, Wd = G("$ZodError", Ud), Gd = G("$ZodError", Ud, { Parent: Error });
12639
+ function Kd(e, t = (e) => e.message) {
12590
12640
  let n = {}, r = [];
12591
12641
  for (let i of e.issues) i.path.length > 0 ? (n[i.path[0]] = n[i.path[0]] || [], n[i.path[0]].push(t(i))) : r.push(t(i));
12592
12642
  return {
@@ -12594,7 +12644,7 @@ function Gd(e, t = (e) => e.message) {
12594
12644
  fieldErrors: n
12595
12645
  };
12596
12646
  }
12597
- function Kd(e, t = (e) => e.message) {
12647
+ function qd(e, t = (e) => e.message) {
12598
12648
  let n = { _errors: [] }, r = (e, i = []) => {
12599
12649
  for (let a of e.issues) if (a.code === "invalid_union" && a.errors.length) a.errors.map((e) => r({ issues: e }, [...i, ...a.path]));
12600
12650
  else if (a.code === "invalid_key") r({ issues: a.issues }, [...i, ...a.path]);
@@ -12615,7 +12665,7 @@ function Kd(e, t = (e) => e.message) {
12615
12665
  }
12616
12666
  //#endregion
12617
12667
  //#region ../../node_modules/zod/v4/core/parse.js
12618
- var qd = (e) => (t, n, r, i) => {
12668
+ var Jd = (e) => (t, n, r, i) => {
12619
12669
  let a = r ? {
12620
12670
  ...r,
12621
12671
  async: !1
@@ -12623,13 +12673,13 @@ var qd = (e) => (t, n, r, i) => {
12623
12673
  value: n,
12624
12674
  issues: []
12625
12675
  }, a);
12626
- if (o instanceof Promise) throw new rd();
12676
+ if (o instanceof Promise) throw new id();
12627
12677
  if (o.issues.length) {
12628
- let t = new (i?.Err ?? e)(o.issues.map((e) => zd(e, a, od())));
12629
- throw vd(t, i?.callee), t;
12678
+ let t = new (i?.Err ?? e)(o.issues.map((e) => Bd(e, a, sd())));
12679
+ throw yd(t, i?.callee), t;
12630
12680
  }
12631
12681
  return o.value;
12632
- }, Jd = (e) => async (t, n, r, i) => {
12682
+ }, Yd = (e) => async (t, n, r, i) => {
12633
12683
  let a = r ? {
12634
12684
  ...r,
12635
12685
  async: !0
@@ -12638,11 +12688,11 @@ var qd = (e) => (t, n, r, i) => {
12638
12688
  issues: []
12639
12689
  }, a);
12640
12690
  if (o instanceof Promise && (o = await o), o.issues.length) {
12641
- let t = new (i?.Err ?? e)(o.issues.map((e) => zd(e, a, od())));
12642
- throw vd(t, i?.callee), t;
12691
+ let t = new (i?.Err ?? e)(o.issues.map((e) => Bd(e, a, sd())));
12692
+ throw yd(t, i?.callee), t;
12643
12693
  }
12644
12694
  return o.value;
12645
- }, Yd = (e) => (t, n, r) => {
12695
+ }, Xd = (e) => (t, n, r) => {
12646
12696
  let i = r ? {
12647
12697
  ...r,
12648
12698
  async: !1
@@ -12650,15 +12700,15 @@ var qd = (e) => (t, n, r, i) => {
12650
12700
  value: n,
12651
12701
  issues: []
12652
12702
  }, i);
12653
- if (a instanceof Promise) throw new rd();
12703
+ if (a instanceof Promise) throw new id();
12654
12704
  return a.issues.length ? {
12655
12705
  success: !1,
12656
- error: new (e ?? Ud)(a.issues.map((e) => zd(e, i, od())))
12706
+ error: new (e ?? Wd)(a.issues.map((e) => Bd(e, i, sd())))
12657
12707
  } : {
12658
12708
  success: !0,
12659
12709
  data: a.value
12660
12710
  };
12661
- }, Xd = /* @__PURE__*/ Yd(Wd), Zd = (e) => async (t, n, r) => {
12711
+ }, Zd = /* @__PURE__*/ Xd(Gd), Qd = (e) => async (t, n, r) => {
12662
12712
  let i = r ? {
12663
12713
  ...r,
12664
12714
  async: !0
@@ -12668,66 +12718,66 @@ var qd = (e) => (t, n, r, i) => {
12668
12718
  }, i);
12669
12719
  return a instanceof Promise && (a = await a), a.issues.length ? {
12670
12720
  success: !1,
12671
- error: new e(a.issues.map((e) => zd(e, i, od())))
12721
+ error: new e(a.issues.map((e) => Bd(e, i, sd())))
12672
12722
  } : {
12673
12723
  success: !0,
12674
12724
  data: a.value
12675
12725
  };
12676
- }, Qd = /* @__PURE__*/ Zd(Wd), $d = (e) => (t, n, r) => {
12726
+ }, $d = /* @__PURE__*/ Qd(Gd), ef = (e) => (t, n, r) => {
12677
12727
  let i = r ? {
12678
12728
  ...r,
12679
12729
  direction: "backward"
12680
12730
  } : { direction: "backward" };
12681
- return qd(e)(t, n, i);
12682
- }, ef = (e) => (t, n, r) => qd(e)(t, n, r), tf = (e) => async (t, n, r) => {
12731
+ return Jd(e)(t, n, i);
12732
+ }, tf = (e) => (t, n, r) => Jd(e)(t, n, r), nf = (e) => async (t, n, r) => {
12683
12733
  let i = r ? {
12684
12734
  ...r,
12685
12735
  direction: "backward"
12686
12736
  } : { direction: "backward" };
12687
- return Jd(e)(t, n, i);
12688
- }, nf = (e) => async (t, n, r) => Jd(e)(t, n, r), rf = (e) => (t, n, r) => {
12737
+ return Yd(e)(t, n, i);
12738
+ }, rf = (e) => async (t, n, r) => Yd(e)(t, n, r), af = (e) => (t, n, r) => {
12689
12739
  let i = r ? {
12690
12740
  ...r,
12691
12741
  direction: "backward"
12692
12742
  } : { direction: "backward" };
12693
- return Yd(e)(t, n, i);
12694
- }, af = (e) => (t, n, r) => Yd(e)(t, n, r), of = (e) => async (t, n, r) => {
12743
+ return Xd(e)(t, n, i);
12744
+ }, of = (e) => (t, n, r) => Xd(e)(t, n, r), sf = (e) => async (t, n, r) => {
12695
12745
  let i = r ? {
12696
12746
  ...r,
12697
12747
  direction: "backward"
12698
12748
  } : { direction: "backward" };
12699
- return Zd(e)(t, n, i);
12700
- }, sf = (e) => async (t, n, r) => Zd(e)(t, n, r), cf = /^[cC][0-9a-z]{6,}$/, lf = /^[0-9a-z]+$/, uf = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, df = /^[0-9a-vA-V]{20}$/, ff = /^[A-Za-z0-9]{27}$/, pf = /^[a-zA-Z0-9_-]{21}$/, mf = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, hf = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, gf = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, _f = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, vf = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
12701
- function yf() {
12702
- return new RegExp(vf, "u");
12749
+ return Qd(e)(t, n, i);
12750
+ }, cf = (e) => async (t, n, r) => Qd(e)(t, n, r), lf = /^[cC][0-9a-z]{6,}$/, uf = /^[0-9a-z]+$/, df = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, ff = /^[0-9a-vA-V]{20}$/, pf = /^[A-Za-z0-9]{27}$/, mf = /^[a-zA-Z0-9_-]{21}$/, hf = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, gf = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, _f = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, vf = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, yf = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
12751
+ function bf() {
12752
+ return new RegExp(yf, "u");
12703
12753
  }
12704
- var bf = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, xf = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, Sf = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, Cf = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, wf = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Tf = /^[A-Za-z0-9_-]*$/, Ef = /^https?$/, Df = /^\+[1-9]\d{6,14}$/, Of = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", kf = /*@__PURE__*/ RegExp(`^${Of}$`);
12705
- function Af(e) {
12754
+ var xf = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Sf = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, Cf = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, wf = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Tf = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Ef = /^[A-Za-z0-9_-]*$/, Df = /^https?$/, Of = /^\+[1-9]\d{6,14}$/, kf = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", Af = /*@__PURE__*/ RegExp(`^${kf}$`);
12755
+ function jf(e) {
12706
12756
  let t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
12707
12757
  return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
12708
12758
  }
12709
- function jf(e) {
12710
- return RegExp(`^${Af(e)}$`);
12711
- }
12712
12759
  function Mf(e) {
12713
- let t = Af({ precision: e.precision }), n = ["Z"];
12760
+ return RegExp(`^${jf(e)}$`);
12761
+ }
12762
+ function Nf(e) {
12763
+ let t = jf({ precision: e.precision }), n = ["Z"];
12714
12764
  e.local && n.push(""), e.offset && n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
12715
12765
  let r = `${t}(?:${n.join("|")})`;
12716
- return RegExp(`^${Of}T(?:${r})$`);
12766
+ return RegExp(`^${kf}T(?:${r})$`);
12717
12767
  }
12718
- var Nf = (e) => {
12768
+ var Pf = (e) => {
12719
12769
  let t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
12720
12770
  return RegExp(`^${t}$`);
12721
- }, Pf = /^-?\d+$/, Ff = /^-?\d+(?:\.\d+)?$/, If = /^(?:true|false)$/i, Lf = /^[^A-Z]*$/, Rf = /^[^a-z]*$/, zf = /*@__PURE__*/ G("$ZodCheck", (e, t) => {
12771
+ }, Ff = /^-?\d+$/, If = /^-?\d+(?:\.\d+)?$/, Lf = /^(?:true|false)$/i, Rf = /^[^A-Z]*$/, zf = /^[^a-z]*$/, Bf = /*@__PURE__*/ G("$ZodCheck", (e, t) => {
12722
12772
  var n;
12723
12773
  e._zod ??= {}, e._zod.def = t, (n = e._zod).onattach ?? (n.onattach = []);
12724
- }), Bf = {
12774
+ }), Vf = {
12725
12775
  number: "number",
12726
12776
  bigint: "bigint",
12727
12777
  object: "date"
12728
- }, Vf = /*@__PURE__*/ G("$ZodCheckLessThan", (e, t) => {
12729
- zf.init(e, t);
12730
- let n = Bf[typeof t.value];
12778
+ }, Hf = /*@__PURE__*/ G("$ZodCheckLessThan", (e, t) => {
12779
+ Bf.init(e, t);
12780
+ let n = Vf[typeof t.value];
12731
12781
  e._zod.onattach.push((e) => {
12732
12782
  let n = e._zod.bag, r = (t.inclusive ? n.maximum : n.exclusiveMaximum) ?? Infinity;
12733
12783
  t.value < r && (t.inclusive ? n.maximum = t.value : n.exclusiveMaximum = t.value);
@@ -12742,9 +12792,9 @@ var Nf = (e) => {
12742
12792
  continue: !t.abort
12743
12793
  });
12744
12794
  };
12745
- }), Hf = /*@__PURE__*/ G("$ZodCheckGreaterThan", (e, t) => {
12746
- zf.init(e, t);
12747
- let n = Bf[typeof t.value];
12795
+ }), Uf = /*@__PURE__*/ G("$ZodCheckGreaterThan", (e, t) => {
12796
+ Bf.init(e, t);
12797
+ let n = Vf[typeof t.value];
12748
12798
  e._zod.onattach.push((e) => {
12749
12799
  let n = e._zod.bag, r = (t.inclusive ? n.minimum : n.exclusiveMinimum) ?? -Infinity;
12750
12800
  t.value > r && (t.inclusive ? n.minimum = t.value : n.exclusiveMinimum = t.value);
@@ -12759,13 +12809,13 @@ var Nf = (e) => {
12759
12809
  continue: !t.abort
12760
12810
  });
12761
12811
  };
12762
- }), Uf = /*@__PURE__*/ G("$ZodCheckMultipleOf", (e, t) => {
12763
- zf.init(e, t), e._zod.onattach.push((e) => {
12812
+ }), Wf = /*@__PURE__*/ G("$ZodCheckMultipleOf", (e, t) => {
12813
+ Bf.init(e, t), e._zod.onattach.push((e) => {
12764
12814
  var n;
12765
12815
  (n = e._zod.bag).multipleOf ?? (n.multipleOf = t.value);
12766
12816
  }), e._zod.check = (n) => {
12767
12817
  if (typeof n.value != typeof t.value) throw Error("Cannot mix number and bigint in multiple_of check.");
12768
- (typeof n.value == "bigint" ? n.value % t.value === BigInt(0) : fd(n.value, t.value) === 0) || n.issues.push({
12818
+ (typeof n.value == "bigint" ? n.value % t.value === BigInt(0) : pd(n.value, t.value) === 0) || n.issues.push({
12769
12819
  origin: typeof n.value,
12770
12820
  code: "not_multiple_of",
12771
12821
  divisor: t.value,
@@ -12774,12 +12824,12 @@ var Nf = (e) => {
12774
12824
  continue: !t.abort
12775
12825
  });
12776
12826
  };
12777
- }), Wf = /*@__PURE__*/ G("$ZodCheckNumberFormat", (e, t) => {
12778
- zf.init(e, t), t.format = t.format || "float64";
12779
- let n = t.format?.includes("int"), r = n ? "int" : "number", [i, a] = Dd[t.format];
12827
+ }), Gf = /*@__PURE__*/ G("$ZodCheckNumberFormat", (e, t) => {
12828
+ Bf.init(e, t), t.format = t.format || "float64";
12829
+ let n = t.format?.includes("int"), r = n ? "int" : "number", [i, a] = Od[t.format];
12780
12830
  e._zod.onattach.push((e) => {
12781
12831
  let r = e._zod.bag;
12782
- r.format = t.format, r.minimum = i, r.maximum = a, n && (r.pattern = Pf);
12832
+ r.format = t.format, r.minimum = i, r.maximum = a, n && (r.pattern = Ff);
12783
12833
  }), e._zod.check = (o) => {
12784
12834
  let s = o.value;
12785
12835
  if (n) {
@@ -12835,18 +12885,18 @@ var Nf = (e) => {
12835
12885
  continue: !t.abort
12836
12886
  });
12837
12887
  };
12838
- }), Gf = /*@__PURE__*/ G("$ZodCheckMaxLength", (e, t) => {
12888
+ }), Kf = /*@__PURE__*/ G("$ZodCheckMaxLength", (e, t) => {
12839
12889
  var n;
12840
- zf.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
12890
+ Bf.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
12841
12891
  let t = e.value;
12842
- return !ud(t) && t.length !== void 0;
12892
+ return !dd(t) && t.length !== void 0;
12843
12893
  }), e._zod.onattach.push((e) => {
12844
12894
  let n = e._zod.bag.maximum ?? Infinity;
12845
12895
  t.maximum < n && (e._zod.bag.maximum = t.maximum);
12846
12896
  }), e._zod.check = (n) => {
12847
12897
  let r = n.value;
12848
12898
  if (r.length <= t.maximum) return;
12849
- let i = Bd(r);
12899
+ let i = Vd(r);
12850
12900
  n.issues.push({
12851
12901
  origin: i,
12852
12902
  code: "too_big",
@@ -12857,18 +12907,18 @@ var Nf = (e) => {
12857
12907
  continue: !t.abort
12858
12908
  });
12859
12909
  };
12860
- }), Kf = /*@__PURE__*/ G("$ZodCheckMinLength", (e, t) => {
12910
+ }), qf = /*@__PURE__*/ G("$ZodCheckMinLength", (e, t) => {
12861
12911
  var n;
12862
- zf.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
12912
+ Bf.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
12863
12913
  let t = e.value;
12864
- return !ud(t) && t.length !== void 0;
12914
+ return !dd(t) && t.length !== void 0;
12865
12915
  }), e._zod.onattach.push((e) => {
12866
12916
  let n = e._zod.bag.minimum ?? -Infinity;
12867
12917
  t.minimum > n && (e._zod.bag.minimum = t.minimum);
12868
12918
  }), e._zod.check = (n) => {
12869
12919
  let r = n.value;
12870
12920
  if (r.length >= t.minimum) return;
12871
- let i = Bd(r);
12921
+ let i = Vd(r);
12872
12922
  n.issues.push({
12873
12923
  origin: i,
12874
12924
  code: "too_small",
@@ -12879,18 +12929,18 @@ var Nf = (e) => {
12879
12929
  continue: !t.abort
12880
12930
  });
12881
12931
  };
12882
- }), qf = /*@__PURE__*/ G("$ZodCheckLengthEquals", (e, t) => {
12932
+ }), Jf = /*@__PURE__*/ G("$ZodCheckLengthEquals", (e, t) => {
12883
12933
  var n;
12884
- zf.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
12934
+ Bf.init(e, t), (n = e._zod.def).when ?? (n.when = (e) => {
12885
12935
  let t = e.value;
12886
- return !ud(t) && t.length !== void 0;
12936
+ return !dd(t) && t.length !== void 0;
12887
12937
  }), e._zod.onattach.push((e) => {
12888
12938
  let n = e._zod.bag;
12889
12939
  n.minimum = t.length, n.maximum = t.length, n.length = t.length;
12890
12940
  }), e._zod.check = (n) => {
12891
12941
  let r = n.value, i = r.length;
12892
12942
  if (i === t.length) return;
12893
- let a = Bd(r), o = i > t.length;
12943
+ let a = Vd(r), o = i > t.length;
12894
12944
  n.issues.push({
12895
12945
  origin: a,
12896
12946
  ...o ? {
@@ -12907,9 +12957,9 @@ var Nf = (e) => {
12907
12957
  continue: !t.abort
12908
12958
  });
12909
12959
  };
12910
- }), Jf = /*@__PURE__*/ G("$ZodCheckStringFormat", (e, t) => {
12960
+ }), Yf = /*@__PURE__*/ G("$ZodCheckStringFormat", (e, t) => {
12911
12961
  var n, r;
12912
- zf.init(e, t), e._zod.onattach.push((e) => {
12962
+ Bf.init(e, t), e._zod.onattach.push((e) => {
12913
12963
  let n = e._zod.bag;
12914
12964
  n.format = t.format, t.pattern && (n.patterns ??= /* @__PURE__ */ new Set(), n.patterns.add(t.pattern));
12915
12965
  }), t.pattern ? (n = e._zod).check ?? (n.check = (n) => {
@@ -12923,8 +12973,8 @@ var Nf = (e) => {
12923
12973
  continue: !t.abort
12924
12974
  });
12925
12975
  }) : (r = e._zod).check ?? (r.check = () => {});
12926
- }), Yf = /*@__PURE__*/ G("$ZodCheckRegex", (e, t) => {
12927
- Jf.init(e, t), e._zod.check = (n) => {
12976
+ }), Xf = /*@__PURE__*/ G("$ZodCheckRegex", (e, t) => {
12977
+ Yf.init(e, t), e._zod.check = (n) => {
12928
12978
  t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
12929
12979
  origin: "string",
12930
12980
  code: "invalid_format",
@@ -12935,13 +12985,13 @@ var Nf = (e) => {
12935
12985
  continue: !t.abort
12936
12986
  });
12937
12987
  };
12938
- }), Xf = /*@__PURE__*/ G("$ZodCheckLowerCase", (e, t) => {
12939
- t.pattern ??= Lf, Jf.init(e, t);
12940
- }), Zf = /*@__PURE__*/ G("$ZodCheckUpperCase", (e, t) => {
12941
- t.pattern ??= Rf, Jf.init(e, t);
12942
- }), Qf = /*@__PURE__*/ G("$ZodCheckIncludes", (e, t) => {
12943
- zf.init(e, t);
12944
- let n = wd(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
12988
+ }), Zf = /*@__PURE__*/ G("$ZodCheckLowerCase", (e, t) => {
12989
+ t.pattern ??= Rf, Yf.init(e, t);
12990
+ }), Qf = /*@__PURE__*/ G("$ZodCheckUpperCase", (e, t) => {
12991
+ t.pattern ??= zf, Yf.init(e, t);
12992
+ }), $f = /*@__PURE__*/ G("$ZodCheckIncludes", (e, t) => {
12993
+ Bf.init(e, t);
12994
+ let n = Td(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
12945
12995
  t.pattern = r, e._zod.onattach.push((e) => {
12946
12996
  let t = e._zod.bag;
12947
12997
  t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(r);
@@ -12956,9 +13006,9 @@ var Nf = (e) => {
12956
13006
  continue: !t.abort
12957
13007
  });
12958
13008
  };
12959
- }), $f = /*@__PURE__*/ G("$ZodCheckStartsWith", (e, t) => {
12960
- zf.init(e, t);
12961
- let n = RegExp(`^${wd(t.prefix)}.*`);
13009
+ }), ep = /*@__PURE__*/ G("$ZodCheckStartsWith", (e, t) => {
13010
+ Bf.init(e, t);
13011
+ let n = RegExp(`^${Td(t.prefix)}.*`);
12962
13012
  t.pattern ??= n, e._zod.onattach.push((e) => {
12963
13013
  let t = e._zod.bag;
12964
13014
  t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(n);
@@ -12973,9 +13023,9 @@ var Nf = (e) => {
12973
13023
  continue: !t.abort
12974
13024
  });
12975
13025
  };
12976
- }), ep = /*@__PURE__*/ G("$ZodCheckEndsWith", (e, t) => {
12977
- zf.init(e, t);
12978
- let n = RegExp(`.*${wd(t.suffix)}$`);
13026
+ }), tp = /*@__PURE__*/ G("$ZodCheckEndsWith", (e, t) => {
13027
+ Bf.init(e, t);
13028
+ let n = RegExp(`.*${Td(t.suffix)}$`);
12979
13029
  t.pattern ??= n, e._zod.onattach.push((e) => {
12980
13030
  let t = e._zod.bag;
12981
13031
  t.patterns ??= /* @__PURE__ */ new Set(), t.patterns.add(n);
@@ -12990,11 +13040,11 @@ var Nf = (e) => {
12990
13040
  continue: !t.abort
12991
13041
  });
12992
13042
  };
12993
- }), tp = /*@__PURE__*/ G("$ZodCheckOverwrite", (e, t) => {
12994
- zf.init(e, t), e._zod.check = (e) => {
13043
+ }), np = /*@__PURE__*/ G("$ZodCheckOverwrite", (e, t) => {
13044
+ Bf.init(e, t), e._zod.check = (e) => {
12995
13045
  e.value = t.tx(e.value);
12996
13046
  };
12997
- }), np = class {
13047
+ }), rp = class {
12998
13048
  constructor(e = []) {
12999
13049
  this.content = [], this.indent = 0, this && (this.args = e);
13000
13050
  }
@@ -13013,13 +13063,13 @@ var Nf = (e) => {
13013
13063
  let e = Function, t = this?.args, n = [...(this?.content ?? [""]).map((e) => ` ${e}`)];
13014
13064
  return new e(...t, n.join("\n"));
13015
13065
  }
13016
- }, rp = {
13066
+ }, ip = {
13017
13067
  major: 4,
13018
13068
  minor: 4,
13019
13069
  patch: 3
13020
13070
  }, J = /*@__PURE__*/ G("$ZodType", (e, t) => {
13021
13071
  var n;
13022
- e ??= {}, e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = rp;
13072
+ e ??= {}, e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = ip;
13023
13073
  let r = [...e._zod.def.checks ?? []];
13024
13074
  e._zod.traits.has("$ZodCheck") && r.unshift(e);
13025
13075
  for (let t of r) for (let n of t._zod.onattach) n(e);
@@ -13028,27 +13078,27 @@ var Nf = (e) => {
13028
13078
  });
13029
13079
  else {
13030
13080
  let t = (e, t, n) => {
13031
- let r = Fd(e), i;
13081
+ let r = Id(e), i;
13032
13082
  for (let a of t) {
13033
13083
  if (a._zod.def.when) {
13034
- if (Id(e) || !a._zod.def.when(e)) continue;
13084
+ if (Ld(e) || !a._zod.def.when(e)) continue;
13035
13085
  } else if (r) continue;
13036
13086
  let t = e.issues.length, o = a._zod.check(e);
13037
- if (o instanceof Promise && n?.async === !1) throw new rd();
13087
+ if (o instanceof Promise && n?.async === !1) throw new id();
13038
13088
  if (i || o instanceof Promise) i = (i ?? Promise.resolve()).then(async () => {
13039
- await o, e.issues.length !== t && (r ||= Fd(e, t));
13089
+ await o, e.issues.length !== t && (r ||= Id(e, t));
13040
13090
  });
13041
13091
  else {
13042
13092
  if (e.issues.length === t) continue;
13043
- r ||= Fd(e, t);
13093
+ r ||= Id(e, t);
13044
13094
  }
13045
13095
  }
13046
13096
  return i ? i.then(() => e) : e;
13047
13097
  }, n = (n, i, a) => {
13048
- if (Fd(n)) return n.aborted = !0, n;
13098
+ if (Id(n)) return n.aborted = !0, n;
13049
13099
  let o = t(i, r, a);
13050
13100
  if (o instanceof Promise) {
13051
- if (a.async === !1) throw new rd();
13101
+ if (a.async === !1) throw new id();
13052
13102
  return o.then((t) => e._zod.parse(t, a));
13053
13103
  }
13054
13104
  return e._zod.parse(o, a);
@@ -13067,7 +13117,7 @@ var Nf = (e) => {
13067
13117
  }
13068
13118
  let o = e._zod.parse(i, a);
13069
13119
  if (o instanceof Promise) {
13070
- if (a.async === !1) throw new rd();
13120
+ if (a.async === !1) throw new id();
13071
13121
  return o.then((e) => t(e, r, a));
13072
13122
  }
13073
13123
  return t(o, r, a);
@@ -13076,17 +13126,17 @@ var Nf = (e) => {
13076
13126
  K(e, "~standard", () => ({
13077
13127
  validate: (t) => {
13078
13128
  try {
13079
- let n = Xd(e, t);
13129
+ let n = Zd(e, t);
13080
13130
  return n.success ? { value: n.data } : { issues: n.error?.issues };
13081
13131
  } catch {
13082
- return Qd(e, t).then((e) => e.success ? { value: e.data } : { issues: e.error?.issues });
13132
+ return $d(e, t).then((e) => e.success ? { value: e.data } : { issues: e.error?.issues });
13083
13133
  }
13084
13134
  },
13085
13135
  vendor: "zod",
13086
13136
  version: 1
13087
13137
  }));
13088
- }), ip = /*@__PURE__*/ G("$ZodString", (e, t) => {
13089
- J.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? Nf(e._zod.bag), e._zod.parse = (n, r) => {
13138
+ }), ap = /*@__PURE__*/ G("$ZodString", (e, t) => {
13139
+ J.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? Pf(e._zod.bag), e._zod.parse = (n, r) => {
13090
13140
  if (t.coerce) try {
13091
13141
  n.value = String(n.value);
13092
13142
  } catch {}
@@ -13098,10 +13148,10 @@ var Nf = (e) => {
13098
13148
  }), n;
13099
13149
  };
13100
13150
  }), Y = /*@__PURE__*/ G("$ZodStringFormat", (e, t) => {
13101
- Jf.init(e, t), ip.init(e, t);
13102
- }), ap = /*@__PURE__*/ G("$ZodGUID", (e, t) => {
13103
- t.pattern ??= hf, Y.init(e, t);
13104
- }), op = /*@__PURE__*/ G("$ZodUUID", (e, t) => {
13151
+ Yf.init(e, t), ap.init(e, t);
13152
+ }), op = /*@__PURE__*/ G("$ZodGUID", (e, t) => {
13153
+ t.pattern ??= gf, Y.init(e, t);
13154
+ }), sp = /*@__PURE__*/ G("$ZodUUID", (e, t) => {
13105
13155
  if (t.version) {
13106
13156
  let e = {
13107
13157
  v1: 1,
@@ -13114,16 +13164,16 @@ var Nf = (e) => {
13114
13164
  v8: 8
13115
13165
  }[t.version];
13116
13166
  if (e === void 0) throw Error(`Invalid UUID version: "${t.version}"`);
13117
- t.pattern ??= gf(e);
13118
- } else t.pattern ??= gf();
13167
+ t.pattern ??= _f(e);
13168
+ } else t.pattern ??= _f();
13119
13169
  Y.init(e, t);
13120
- }), sp = /*@__PURE__*/ G("$ZodEmail", (e, t) => {
13121
- t.pattern ??= _f, Y.init(e, t);
13122
- }), cp = /*@__PURE__*/ G("$ZodURL", (e, t) => {
13170
+ }), cp = /*@__PURE__*/ G("$ZodEmail", (e, t) => {
13171
+ t.pattern ??= vf, Y.init(e, t);
13172
+ }), lp = /*@__PURE__*/ G("$ZodURL", (e, t) => {
13123
13173
  Y.init(e, t), e._zod.check = (n) => {
13124
13174
  try {
13125
13175
  let r = n.value.trim();
13126
- if (!t.normalize && t.protocol?.source === Ef.source && !/^https?:\/\//i.test(r)) {
13176
+ if (!t.normalize && t.protocol?.source === Df.source && !/^https?:\/\//i.test(r)) {
13127
13177
  n.issues.push({
13128
13178
  code: "invalid_format",
13129
13179
  format: "url",
@@ -13163,32 +13213,32 @@ var Nf = (e) => {
13163
13213
  });
13164
13214
  }
13165
13215
  };
13166
- }), lp = /*@__PURE__*/ G("$ZodEmoji", (e, t) => {
13167
- t.pattern ??= yf(), Y.init(e, t);
13168
- }), up = /*@__PURE__*/ G("$ZodNanoID", (e, t) => {
13169
- t.pattern ??= pf, Y.init(e, t);
13170
- }), dp = /*@__PURE__*/ G("$ZodCUID", (e, t) => {
13171
- t.pattern ??= cf, Y.init(e, t);
13172
- }), fp = /*@__PURE__*/ G("$ZodCUID2", (e, t) => {
13216
+ }), up = /*@__PURE__*/ G("$ZodEmoji", (e, t) => {
13217
+ t.pattern ??= bf(), Y.init(e, t);
13218
+ }), dp = /*@__PURE__*/ G("$ZodNanoID", (e, t) => {
13219
+ t.pattern ??= mf, Y.init(e, t);
13220
+ }), fp = /*@__PURE__*/ G("$ZodCUID", (e, t) => {
13173
13221
  t.pattern ??= lf, Y.init(e, t);
13174
- }), pp = /*@__PURE__*/ G("$ZodULID", (e, t) => {
13222
+ }), pp = /*@__PURE__*/ G("$ZodCUID2", (e, t) => {
13175
13223
  t.pattern ??= uf, Y.init(e, t);
13176
- }), mp = /*@__PURE__*/ G("$ZodXID", (e, t) => {
13224
+ }), mp = /*@__PURE__*/ G("$ZodULID", (e, t) => {
13177
13225
  t.pattern ??= df, Y.init(e, t);
13178
- }), hp = /*@__PURE__*/ G("$ZodKSUID", (e, t) => {
13226
+ }), hp = /*@__PURE__*/ G("$ZodXID", (e, t) => {
13179
13227
  t.pattern ??= ff, Y.init(e, t);
13180
- }), gp = /*@__PURE__*/ G("$ZodISODateTime", (e, t) => {
13228
+ }), gp = /*@__PURE__*/ G("$ZodKSUID", (e, t) => {
13229
+ t.pattern ??= pf, Y.init(e, t);
13230
+ }), _p = /*@__PURE__*/ G("$ZodISODateTime", (e, t) => {
13231
+ t.pattern ??= Nf(t), Y.init(e, t);
13232
+ }), vp = /*@__PURE__*/ G("$ZodISODate", (e, t) => {
13233
+ t.pattern ??= Af, Y.init(e, t);
13234
+ }), yp = /*@__PURE__*/ G("$ZodISOTime", (e, t) => {
13181
13235
  t.pattern ??= Mf(t), Y.init(e, t);
13182
- }), _p = /*@__PURE__*/ G("$ZodISODate", (e, t) => {
13183
- t.pattern ??= kf, Y.init(e, t);
13184
- }), vp = /*@__PURE__*/ G("$ZodISOTime", (e, t) => {
13185
- t.pattern ??= jf(t), Y.init(e, t);
13186
- }), yp = /*@__PURE__*/ G("$ZodISODuration", (e, t) => {
13187
- t.pattern ??= mf, Y.init(e, t);
13188
- }), bp = /*@__PURE__*/ G("$ZodIPv4", (e, t) => {
13189
- t.pattern ??= bf, Y.init(e, t), e._zod.bag.format = "ipv4";
13190
- }), xp = /*@__PURE__*/ G("$ZodIPv6", (e, t) => {
13191
- t.pattern ??= xf, Y.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
13236
+ }), bp = /*@__PURE__*/ G("$ZodISODuration", (e, t) => {
13237
+ t.pattern ??= hf, Y.init(e, t);
13238
+ }), xp = /*@__PURE__*/ G("$ZodIPv4", (e, t) => {
13239
+ t.pattern ??= xf, Y.init(e, t), e._zod.bag.format = "ipv4";
13240
+ }), Sp = /*@__PURE__*/ G("$ZodIPv6", (e, t) => {
13241
+ t.pattern ??= Sf, Y.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
13192
13242
  try {
13193
13243
  new URL(`http://[${n.value}]`);
13194
13244
  } catch {
@@ -13201,10 +13251,10 @@ var Nf = (e) => {
13201
13251
  });
13202
13252
  }
13203
13253
  };
13204
- }), Sp = /*@__PURE__*/ G("$ZodCIDRv4", (e, t) => {
13205
- t.pattern ??= Sf, Y.init(e, t);
13206
- }), Cp = /*@__PURE__*/ G("$ZodCIDRv6", (e, t) => {
13207
- t.pattern ??= Cf, Y.init(e, t), e._zod.check = (n) => {
13254
+ }), Cp = /*@__PURE__*/ G("$ZodCIDRv4", (e, t) => {
13255
+ t.pattern ??= Cf, Y.init(e, t);
13256
+ }), wp = /*@__PURE__*/ G("$ZodCIDRv6", (e, t) => {
13257
+ t.pattern ??= wf, Y.init(e, t), e._zod.check = (n) => {
13208
13258
  let r = n.value.split("/");
13209
13259
  try {
13210
13260
  if (r.length !== 2) throw Error();
@@ -13224,7 +13274,7 @@ var Nf = (e) => {
13224
13274
  }
13225
13275
  };
13226
13276
  });
13227
- function wp(e) {
13277
+ function Tp(e) {
13228
13278
  if (e === "") return !0;
13229
13279
  if (/\s/.test(e) || e.length % 4 != 0) return !1;
13230
13280
  try {
@@ -13233,9 +13283,9 @@ function wp(e) {
13233
13283
  return !1;
13234
13284
  }
13235
13285
  }
13236
- var Tp = /*@__PURE__*/ G("$ZodBase64", (e, t) => {
13237
- t.pattern ??= wf, Y.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
13238
- wp(n.value) || n.issues.push({
13286
+ var Ep = /*@__PURE__*/ G("$ZodBase64", (e, t) => {
13287
+ t.pattern ??= Tf, Y.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
13288
+ Tp(n.value) || n.issues.push({
13239
13289
  code: "invalid_format",
13240
13290
  format: "base64",
13241
13291
  input: n.value,
@@ -13244,14 +13294,14 @@ var Tp = /*@__PURE__*/ G("$ZodBase64", (e, t) => {
13244
13294
  });
13245
13295
  };
13246
13296
  });
13247
- function Ep(e) {
13248
- if (!Tf.test(e)) return !1;
13297
+ function Dp(e) {
13298
+ if (!Ef.test(e)) return !1;
13249
13299
  let t = e.replace(/[-_]/g, (e) => e === "-" ? "+" : "/");
13250
- return wp(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
13300
+ return Tp(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
13251
13301
  }
13252
- var Dp = /*@__PURE__*/ G("$ZodBase64URL", (e, t) => {
13253
- t.pattern ??= Tf, Y.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
13254
- Ep(n.value) || n.issues.push({
13302
+ var Op = /*@__PURE__*/ G("$ZodBase64URL", (e, t) => {
13303
+ t.pattern ??= Ef, Y.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
13304
+ Dp(n.value) || n.issues.push({
13255
13305
  code: "invalid_format",
13256
13306
  format: "base64url",
13257
13307
  input: n.value,
@@ -13259,10 +13309,10 @@ var Dp = /*@__PURE__*/ G("$ZodBase64URL", (e, t) => {
13259
13309
  continue: !t.abort
13260
13310
  });
13261
13311
  };
13262
- }), Op = /*@__PURE__*/ G("$ZodE164", (e, t) => {
13263
- t.pattern ??= Df, Y.init(e, t);
13312
+ }), kp = /*@__PURE__*/ G("$ZodE164", (e, t) => {
13313
+ t.pattern ??= Of, Y.init(e, t);
13264
13314
  });
13265
- function kp(e, t = null) {
13315
+ function Ap(e, t = null) {
13266
13316
  try {
13267
13317
  let n = e.split(".");
13268
13318
  if (n.length !== 3) return !1;
@@ -13274,9 +13324,9 @@ function kp(e, t = null) {
13274
13324
  return !1;
13275
13325
  }
13276
13326
  }
13277
- var Ap = /*@__PURE__*/ G("$ZodJWT", (e, t) => {
13327
+ var jp = /*@__PURE__*/ G("$ZodJWT", (e, t) => {
13278
13328
  Y.init(e, t), e._zod.check = (n) => {
13279
- kp(n.value, t.alg) || n.issues.push({
13329
+ Ap(n.value, t.alg) || n.issues.push({
13280
13330
  code: "invalid_format",
13281
13331
  format: "jwt",
13282
13332
  input: n.value,
@@ -13284,8 +13334,8 @@ var Ap = /*@__PURE__*/ G("$ZodJWT", (e, t) => {
13284
13334
  continue: !t.abort
13285
13335
  });
13286
13336
  };
13287
- }), jp = /*@__PURE__*/ G("$ZodNumber", (e, t) => {
13288
- J.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? Ff, e._zod.parse = (n, r) => {
13337
+ }), Mp = /*@__PURE__*/ G("$ZodNumber", (e, t) => {
13338
+ J.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? If, e._zod.parse = (n, r) => {
13289
13339
  if (t.coerce) try {
13290
13340
  n.value = Number(n.value);
13291
13341
  } catch {}
@@ -13300,10 +13350,10 @@ var Ap = /*@__PURE__*/ G("$ZodJWT", (e, t) => {
13300
13350
  ...a ? { received: a } : {}
13301
13351
  }), n;
13302
13352
  };
13303
- }), Mp = /*@__PURE__*/ G("$ZodNumberFormat", (e, t) => {
13304
- Wf.init(e, t), jp.init(e, t);
13305
- }), Np = /*@__PURE__*/ G("$ZodBoolean", (e, t) => {
13306
- J.init(e, t), e._zod.pattern = If, e._zod.parse = (n, r) => {
13353
+ }), Np = /*@__PURE__*/ G("$ZodNumberFormat", (e, t) => {
13354
+ Gf.init(e, t), Mp.init(e, t);
13355
+ }), Pp = /*@__PURE__*/ G("$ZodBoolean", (e, t) => {
13356
+ J.init(e, t), e._zod.pattern = Lf, e._zod.parse = (n, r) => {
13307
13357
  if (t.coerce) try {
13308
13358
  n.value = !!n.value;
13309
13359
  } catch {}
@@ -13315,9 +13365,9 @@ var Ap = /*@__PURE__*/ G("$ZodJWT", (e, t) => {
13315
13365
  inst: e
13316
13366
  }), n;
13317
13367
  };
13318
- }), Pp = /*@__PURE__*/ G("$ZodUnknown", (e, t) => {
13368
+ }), Fp = /*@__PURE__*/ G("$ZodUnknown", (e, t) => {
13319
13369
  J.init(e, t), e._zod.parse = (e) => e;
13320
- }), Fp = /*@__PURE__*/ G("$ZodNever", (e, t) => {
13370
+ }), Ip = /*@__PURE__*/ G("$ZodNever", (e, t) => {
13321
13371
  J.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
13322
13372
  expected: "never",
13323
13373
  code: "invalid_type",
@@ -13325,10 +13375,10 @@ var Ap = /*@__PURE__*/ G("$ZodJWT", (e, t) => {
13325
13375
  inst: e
13326
13376
  }), t);
13327
13377
  });
13328
- function Ip(e, t, n) {
13329
- e.issues.length && t.issues.push(...Ld(n, e.issues)), t.value[n] = e.value;
13378
+ function Lp(e, t, n) {
13379
+ e.issues.length && t.issues.push(...Rd(n, e.issues)), t.value[n] = e.value;
13330
13380
  }
13331
- var Lp = /*@__PURE__*/ G("$ZodArray", (e, t) => {
13381
+ var Rp = /*@__PURE__*/ G("$ZodArray", (e, t) => {
13332
13382
  J.init(e, t), e._zod.parse = (n, r) => {
13333
13383
  let i = n.value;
13334
13384
  if (!Array.isArray(i)) return n.issues.push({
@@ -13344,16 +13394,16 @@ var Lp = /*@__PURE__*/ G("$ZodArray", (e, t) => {
13344
13394
  value: o,
13345
13395
  issues: []
13346
13396
  }, r);
13347
- s instanceof Promise ? a.push(s.then((t) => Ip(t, n, e))) : Ip(s, n, e);
13397
+ s instanceof Promise ? a.push(s.then((t) => Lp(t, n, e))) : Lp(s, n, e);
13348
13398
  }
13349
13399
  return a.length ? Promise.all(a).then(() => n) : n;
13350
13400
  };
13351
13401
  });
13352
- function Rp(e, t, n, r, i, a) {
13402
+ function zp(e, t, n, r, i, a) {
13353
13403
  let o = n in r;
13354
13404
  if (e.issues.length) {
13355
13405
  if (i && a && !o) return;
13356
- t.issues.push(...Ld(n, e.issues));
13406
+ t.issues.push(...Rd(n, e.issues));
13357
13407
  }
13358
13408
  if (!o && !i) {
13359
13409
  e.issues.length || t.issues.push({
@@ -13366,10 +13416,10 @@ function Rp(e, t, n, r, i, a) {
13366
13416
  }
13367
13417
  e.value === void 0 ? o && (t.value[n] = void 0) : t.value[n] = e.value;
13368
13418
  }
13369
- function zp(e) {
13419
+ function Bp(e) {
13370
13420
  let t = Object.keys(e.shape);
13371
13421
  for (let n of t) if (!e.shape?.[n]?._zod?.traits?.has("$ZodType")) throw Error(`Invalid element at key "${n}": expected a Zod schema`);
13372
- let n = Ed(e.shape);
13422
+ let n = Dd(e.shape);
13373
13423
  return {
13374
13424
  ...e,
13375
13425
  keys: t,
@@ -13378,7 +13428,7 @@ function zp(e) {
13378
13428
  optionalKeys: new Set(n)
13379
13429
  };
13380
13430
  }
13381
- function Bp(e, t, n, r, i, a) {
13431
+ function Vp(e, t, n, r, i, a) {
13382
13432
  let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optin === "optional", d = c.optout === "optional";
13383
13433
  for (let i in t) {
13384
13434
  if (i === "__proto__" || s.has(i)) continue;
@@ -13390,7 +13440,7 @@ function Bp(e, t, n, r, i, a) {
13390
13440
  value: t[i],
13391
13441
  issues: []
13392
13442
  }, r);
13393
- a instanceof Promise ? e.push(a.then((e) => Rp(e, n, i, t, u, d))) : Rp(a, n, i, t, u, d);
13443
+ a instanceof Promise ? e.push(a.then((e) => zp(e, n, i, t, u, d))) : zp(a, n, i, t, u, d);
13394
13444
  }
13395
13445
  return o.length && n.issues.push({
13396
13446
  code: "unrecognized_keys",
@@ -13399,7 +13449,7 @@ function Bp(e, t, n, r, i, a) {
13399
13449
  inst: a
13400
13450
  }), e.length ? Promise.all(e).then(() => n) : n;
13401
13451
  }
13402
- var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13452
+ var Hp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13403
13453
  if (J.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
13404
13454
  let e = t.shape;
13405
13455
  Object.defineProperty(t, "shape", { get: () => {
@@ -13407,7 +13457,7 @@ var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13407
13457
  return Object.defineProperty(t, "shape", { value: n }), n;
13408
13458
  } });
13409
13459
  }
13410
- let n = ld(() => zp(t));
13460
+ let n = ud(() => Bp(t));
13411
13461
  K(e._zod, "propValues", () => {
13412
13462
  let e = t.shape, n = {};
13413
13463
  for (let t in e) {
@@ -13419,7 +13469,7 @@ var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13419
13469
  }
13420
13470
  return n;
13421
13471
  });
13422
- let r = yd, i = t.catchall, a;
13472
+ let r = bd, i = t.catchall, a;
13423
13473
  e._zod.parse = (t, o) => {
13424
13474
  a ??= n.value;
13425
13475
  let s = t.value;
@@ -13436,19 +13486,19 @@ var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13436
13486
  value: s[e],
13437
13487
  issues: []
13438
13488
  }, o);
13439
- a instanceof Promise ? c.push(a.then((n) => Rp(n, t, e, s, r, i))) : Rp(a, t, e, s, r, i);
13489
+ a instanceof Promise ? c.push(a.then((n) => zp(n, t, e, s, r, i))) : zp(a, t, e, s, r, i);
13440
13490
  }
13441
- return i ? Bp(c, s, t, o, n.value, e) : c.length ? Promise.all(c).then(() => t) : t;
13491
+ return i ? Vp(c, s, t, o, n.value, e) : c.length ? Promise.all(c).then(() => t) : t;
13442
13492
  };
13443
- }), Hp = /*@__PURE__*/ G("$ZodObjectJIT", (e, t) => {
13444
- Vp.init(e, t);
13445
- let n = e._zod.parse, r = ld(() => zp(t)), i = (e) => {
13446
- let t = new np([
13493
+ }), Up = /*@__PURE__*/ G("$ZodObjectJIT", (e, t) => {
13494
+ Hp.init(e, t);
13495
+ let n = e._zod.parse, r = ud(() => Bp(t)), i = (e) => {
13496
+ let t = new rp([
13447
13497
  "shape",
13448
13498
  "payload",
13449
13499
  "ctx"
13450
13500
  ]), n = r.value, i = (e) => {
13451
- let t = gd(e);
13501
+ let t = _d(e);
13452
13502
  return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`;
13453
13503
  };
13454
13504
  t.write("const input = payload.value;");
@@ -13456,7 +13506,7 @@ var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13456
13506
  for (let e of n.keys) a[e] = `key_${o++}`;
13457
13507
  t.write("const newResult = {};");
13458
13508
  for (let r of n.keys) {
13459
- let n = a[r], o = gd(r), s = e[r], c = s?._zod?.optin === "optional", l = s?._zod?.optout === "optional";
13509
+ let n = a[r], o = _d(r), s = e[r], c = s?._zod?.optin === "optional", l = s?._zod?.optout === "optional";
13460
13510
  t.write(`const ${n} = ${i(r)};`), c && l ? t.write(`
13461
13511
  if (${n}.issues.length) {
13462
13512
  if (${o} in input) {
@@ -13521,11 +13571,11 @@ var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13521
13571
  t.write("payload.value = newResult;"), t.write("return payload;");
13522
13572
  let s = t.compile();
13523
13573
  return (t, n) => s(e, t, n);
13524
- }, a, o = yd, s = !ad.jitless, c = s && bd.value, l = t.catchall, u;
13574
+ }, a, o = bd, s = !od.jitless, c = s && xd.value, l = t.catchall, u;
13525
13575
  e._zod.parse = (d, f) => {
13526
13576
  u ??= r.value;
13527
13577
  let p = d.value;
13528
- return o(p) ? s && c && f?.async === !1 && f.jitless !== !0 ? (a ||= i(t.shape), d = a(d, f), l ? Bp([], p, d, f, u, e) : d) : n(d, f) : (d.issues.push({
13578
+ return o(p) ? s && c && f?.async === !1 && f.jitless !== !0 ? (a ||= i(t.shape), d = a(d, f), l ? Vp([], p, d, f, u, e) : d) : n(d, f) : (d.issues.push({
13529
13579
  expected: "object",
13530
13580
  code: "invalid_type",
13531
13581
  input: p,
@@ -13533,23 +13583,23 @@ var Vp = /*@__PURE__*/ G("$ZodObject", (e, t) => {
13533
13583
  }), d);
13534
13584
  };
13535
13585
  });
13536
- function Up(e, t, n, r) {
13586
+ function Wp(e, t, n, r) {
13537
13587
  for (let n of e) if (n.issues.length === 0) return t.value = n.value, t;
13538
- let i = e.filter((e) => !Fd(e));
13588
+ let i = e.filter((e) => !Id(e));
13539
13589
  return i.length === 1 ? (t.value = i[0].value, i[0]) : (t.issues.push({
13540
13590
  code: "invalid_union",
13541
13591
  input: t.value,
13542
13592
  inst: n,
13543
- errors: e.map((e) => e.issues.map((e) => zd(e, r, od())))
13593
+ errors: e.map((e) => e.issues.map((e) => Bd(e, r, sd())))
13544
13594
  }), t);
13545
13595
  }
13546
- var Wp = /*@__PURE__*/ G("$ZodUnion", (e, t) => {
13596
+ var Gp = /*@__PURE__*/ G("$ZodUnion", (e, t) => {
13547
13597
  J.init(e, t), K(e._zod, "optin", () => t.options.some((e) => e._zod.optin === "optional") ? "optional" : void 0), K(e._zod, "optout", () => t.options.some((e) => e._zod.optout === "optional") ? "optional" : void 0), K(e._zod, "values", () => {
13548
13598
  if (t.options.every((e) => e._zod.values)) return new Set(t.options.flatMap((e) => Array.from(e._zod.values)));
13549
13599
  }), K(e._zod, "pattern", () => {
13550
13600
  if (t.options.every((e) => e._zod.pattern)) {
13551
13601
  let e = t.options.map((e) => e._zod.pattern);
13552
- return RegExp(`^(${e.map((e) => dd(e.source)).join("|")})$`);
13602
+ return RegExp(`^(${e.map((e) => fd(e.source)).join("|")})$`);
13553
13603
  }
13554
13604
  });
13555
13605
  let n = t.options.length === 1 ? t.options[0]._zod.run : null;
@@ -13567,9 +13617,9 @@ var Wp = /*@__PURE__*/ G("$ZodUnion", (e, t) => {
13567
13617
  o.push(t);
13568
13618
  }
13569
13619
  }
13570
- return a ? Promise.all(o).then((t) => Up(t, r, e, i)) : Up(o, r, e, i);
13620
+ return a ? Promise.all(o).then((t) => Wp(t, r, e, i)) : Wp(o, r, e, i);
13571
13621
  };
13572
- }), Gp = /*@__PURE__*/ G("$ZodIntersection", (e, t) => {
13622
+ }), Kp = /*@__PURE__*/ G("$ZodIntersection", (e, t) => {
13573
13623
  J.init(e, t), e._zod.parse = (e, n) => {
13574
13624
  let r = e.value, i = t.left._zod.run({
13575
13625
  value: r,
@@ -13578,21 +13628,21 @@ var Wp = /*@__PURE__*/ G("$ZodUnion", (e, t) => {
13578
13628
  value: r,
13579
13629
  issues: []
13580
13630
  }, n);
13581
- return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => qp(e, t, n)) : qp(e, i, a);
13631
+ return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => Jp(e, t, n)) : Jp(e, i, a);
13582
13632
  };
13583
13633
  });
13584
- function Kp(e, t) {
13634
+ function qp(e, t) {
13585
13635
  if (e === t || e instanceof Date && t instanceof Date && +e == +t) return {
13586
13636
  valid: !0,
13587
13637
  data: e
13588
13638
  };
13589
- if (xd(e) && xd(t)) {
13639
+ if (Sd(e) && Sd(t)) {
13590
13640
  let n = Object.keys(t), r = Object.keys(e).filter((e) => n.indexOf(e) !== -1), i = {
13591
13641
  ...e,
13592
13642
  ...t
13593
13643
  };
13594
13644
  for (let n of r) {
13595
- let r = Kp(e[n], t[n]);
13645
+ let r = qp(e[n], t[n]);
13596
13646
  if (!r.valid) return {
13597
13647
  valid: !1,
13598
13648
  mergeErrorPath: [n, ...r.mergeErrorPath]
@@ -13611,7 +13661,7 @@ function Kp(e, t) {
13611
13661
  };
13612
13662
  let n = [];
13613
13663
  for (let r = 0; r < e.length; r++) {
13614
- let i = e[r], a = t[r], o = Kp(i, a);
13664
+ let i = e[r], a = t[r], o = qp(i, a);
13615
13665
  if (!o.valid) return {
13616
13666
  valid: !1,
13617
13667
  mergeErrorPath: [r, ...o.mergeErrorPath]
@@ -13628,7 +13678,7 @@ function Kp(e, t) {
13628
13678
  mergeErrorPath: []
13629
13679
  };
13630
13680
  }
13631
- function qp(e, t, n) {
13681
+ function Jp(e, t, n) {
13632
13682
  let r = /* @__PURE__ */ new Map(), i;
13633
13683
  for (let n of t.issues) if (n.code === "unrecognized_keys") {
13634
13684
  i ??= n;
@@ -13640,15 +13690,15 @@ function qp(e, t, n) {
13640
13690
  if (a.length && i && e.issues.push({
13641
13691
  ...i,
13642
13692
  keys: a
13643
- }), Fd(e)) return e;
13644
- let o = Kp(t.value, n.value);
13693
+ }), Id(e)) return e;
13694
+ let o = qp(t.value, n.value);
13645
13695
  if (!o.valid) throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);
13646
13696
  return e.value = o.data, e;
13647
13697
  }
13648
- var Jp = /*@__PURE__*/ G("$ZodEnum", (e, t) => {
13698
+ var Yp = /*@__PURE__*/ G("$ZodEnum", (e, t) => {
13649
13699
  J.init(e, t);
13650
- let n = sd(t.entries), r = new Set(n);
13651
- e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => Cd.has(typeof e)).map((e) => typeof e == "string" ? wd(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => {
13700
+ let n = cd(t.entries), r = new Set(n);
13701
+ e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => wd.has(typeof e)).map((e) => typeof e == "string" ? Td(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => {
13652
13702
  let a = t.value;
13653
13703
  return r.has(a) || t.issues.push({
13654
13704
  code: "invalid_value",
@@ -13657,62 +13707,62 @@ var Jp = /*@__PURE__*/ G("$ZodEnum", (e, t) => {
13657
13707
  inst: e
13658
13708
  }), t;
13659
13709
  };
13660
- }), Yp = /*@__PURE__*/ G("$ZodTransform", (e, t) => {
13710
+ }), Xp = /*@__PURE__*/ G("$ZodTransform", (e, t) => {
13661
13711
  J.init(e, t), e._zod.optin = "optional", e._zod.parse = (n, r) => {
13662
- if (r.direction === "backward") throw new id(e.constructor.name);
13712
+ if (r.direction === "backward") throw new ad(e.constructor.name);
13663
13713
  let i = t.transform(n.value, n);
13664
13714
  if (r.async) return (i instanceof Promise ? i : Promise.resolve(i)).then((e) => (n.value = e, n.fallback = !0, n));
13665
- if (i instanceof Promise) throw new rd();
13715
+ if (i instanceof Promise) throw new id();
13666
13716
  return n.value = i, n.fallback = !0, n;
13667
13717
  };
13668
13718
  });
13669
- function Xp(e, t) {
13719
+ function Zp(e, t) {
13670
13720
  return t === void 0 && (e.issues.length || e.fallback) ? {
13671
13721
  issues: [],
13672
13722
  value: void 0
13673
13723
  } : e;
13674
13724
  }
13675
- var Zp = /*@__PURE__*/ G("$ZodOptional", (e, t) => {
13725
+ var Qp = /*@__PURE__*/ G("$ZodOptional", (e, t) => {
13676
13726
  J.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", K(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), K(e._zod, "pattern", () => {
13677
13727
  let e = t.innerType._zod.pattern;
13678
- return e ? RegExp(`^(${dd(e.source)})?$`) : void 0;
13728
+ return e ? RegExp(`^(${fd(e.source)})?$`) : void 0;
13679
13729
  }), e._zod.parse = (e, n) => {
13680
13730
  if (t.innerType._zod.optin === "optional") {
13681
13731
  let r = e.value, i = t.innerType._zod.run(e, n);
13682
- return i instanceof Promise ? i.then((e) => Xp(e, r)) : Xp(i, r);
13732
+ return i instanceof Promise ? i.then((e) => Zp(e, r)) : Zp(i, r);
13683
13733
  }
13684
13734
  return e.value === void 0 ? e : t.innerType._zod.run(e, n);
13685
13735
  };
13686
- }), Qp = /*@__PURE__*/ G("$ZodExactOptional", (e, t) => {
13687
- Zp.init(e, t), K(e._zod, "values", () => t.innerType._zod.values), K(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n);
13688
- }), $p = /*@__PURE__*/ G("$ZodNullable", (e, t) => {
13736
+ }), $p = /*@__PURE__*/ G("$ZodExactOptional", (e, t) => {
13737
+ Qp.init(e, t), K(e._zod, "values", () => t.innerType._zod.values), K(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n);
13738
+ }), em = /*@__PURE__*/ G("$ZodNullable", (e, t) => {
13689
13739
  J.init(e, t), K(e._zod, "optin", () => t.innerType._zod.optin), K(e._zod, "optout", () => t.innerType._zod.optout), K(e._zod, "pattern", () => {
13690
13740
  let e = t.innerType._zod.pattern;
13691
- return e ? RegExp(`^(${dd(e.source)}|null)$`) : void 0;
13741
+ return e ? RegExp(`^(${fd(e.source)}|null)$`) : void 0;
13692
13742
  }), K(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (e, n) => e.value === null ? e : t.innerType._zod.run(e, n);
13693
- }), em = /*@__PURE__*/ G("$ZodDefault", (e, t) => {
13743
+ }), tm = /*@__PURE__*/ G("$ZodDefault", (e, t) => {
13694
13744
  J.init(e, t), e._zod.optin = "optional", K(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
13695
13745
  if (n.direction === "backward") return t.innerType._zod.run(e, n);
13696
13746
  if (e.value === void 0) return e.value = t.defaultValue, e;
13697
13747
  let r = t.innerType._zod.run(e, n);
13698
- return r instanceof Promise ? r.then((e) => tm(e, t)) : tm(r, t);
13748
+ return r instanceof Promise ? r.then((e) => nm(e, t)) : nm(r, t);
13699
13749
  };
13700
13750
  });
13701
- function tm(e, t) {
13751
+ function nm(e, t) {
13702
13752
  return e.value === void 0 && (e.value = t.defaultValue), e;
13703
13753
  }
13704
- var nm = /*@__PURE__*/ G("$ZodPrefault", (e, t) => {
13754
+ var rm = /*@__PURE__*/ G("$ZodPrefault", (e, t) => {
13705
13755
  J.init(e, t), e._zod.optin = "optional", K(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => (n.direction === "backward" || e.value === void 0 && (e.value = t.defaultValue), t.innerType._zod.run(e, n));
13706
- }), rm = /*@__PURE__*/ G("$ZodNonOptional", (e, t) => {
13756
+ }), im = /*@__PURE__*/ G("$ZodNonOptional", (e, t) => {
13707
13757
  J.init(e, t), K(e._zod, "values", () => {
13708
13758
  let e = t.innerType._zod.values;
13709
13759
  return e ? new Set([...e].filter((e) => e !== void 0)) : void 0;
13710
13760
  }), e._zod.parse = (n, r) => {
13711
13761
  let i = t.innerType._zod.run(n, r);
13712
- return i instanceof Promise ? i.then((t) => im(t, e)) : im(i, e);
13762
+ return i instanceof Promise ? i.then((t) => am(t, e)) : am(i, e);
13713
13763
  };
13714
13764
  });
13715
- function im(e, t) {
13765
+ function am(e, t) {
13716
13766
  return !e.issues.length && e.value === void 0 && e.issues.push({
13717
13767
  code: "invalid_type",
13718
13768
  expected: "nonoptional",
@@ -13720,55 +13770,55 @@ function im(e, t) {
13720
13770
  inst: t
13721
13771
  }), e;
13722
13772
  }
13723
- var am = /*@__PURE__*/ G("$ZodCatch", (e, t) => {
13773
+ var om = /*@__PURE__*/ G("$ZodCatch", (e, t) => {
13724
13774
  J.init(e, t), e._zod.optin = "optional", K(e._zod, "optout", () => t.innerType._zod.optout), K(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
13725
13775
  if (n.direction === "backward") return t.innerType._zod.run(e, n);
13726
13776
  let r = t.innerType._zod.run(e, n);
13727
13777
  return r instanceof Promise ? r.then((r) => (e.value = r.value, r.issues.length && (e.value = t.catchValue({
13728
13778
  ...e,
13729
- error: { issues: r.issues.map((e) => zd(e, n, od())) },
13779
+ error: { issues: r.issues.map((e) => Bd(e, n, sd())) },
13730
13780
  input: e.value
13731
13781
  }), e.issues = [], e.fallback = !0), e)) : (e.value = r.value, r.issues.length && (e.value = t.catchValue({
13732
13782
  ...e,
13733
- error: { issues: r.issues.map((e) => zd(e, n, od())) },
13783
+ error: { issues: r.issues.map((e) => Bd(e, n, sd())) },
13734
13784
  input: e.value
13735
13785
  }), e.issues = [], e.fallback = !0), e);
13736
13786
  };
13737
- }), om = /*@__PURE__*/ G("$ZodPipe", (e, t) => {
13787
+ }), sm = /*@__PURE__*/ G("$ZodPipe", (e, t) => {
13738
13788
  J.init(e, t), K(e._zod, "values", () => t.in._zod.values), K(e._zod, "optin", () => t.in._zod.optin), K(e._zod, "optout", () => t.out._zod.optout), K(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => {
13739
13789
  if (n.direction === "backward") {
13740
13790
  let r = t.out._zod.run(e, n);
13741
- return r instanceof Promise ? r.then((e) => sm(e, t.in, n)) : sm(r, t.in, n);
13791
+ return r instanceof Promise ? r.then((e) => cm(e, t.in, n)) : cm(r, t.in, n);
13742
13792
  }
13743
13793
  let r = t.in._zod.run(e, n);
13744
- return r instanceof Promise ? r.then((e) => sm(e, t.out, n)) : sm(r, t.out, n);
13794
+ return r instanceof Promise ? r.then((e) => cm(e, t.out, n)) : cm(r, t.out, n);
13745
13795
  };
13746
13796
  });
13747
- function sm(e, t, n) {
13797
+ function cm(e, t, n) {
13748
13798
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
13749
13799
  value: e.value,
13750
13800
  issues: e.issues,
13751
13801
  fallback: e.fallback
13752
13802
  }, n);
13753
13803
  }
13754
- var cm = /*@__PURE__*/ G("$ZodReadonly", (e, t) => {
13804
+ var lm = /*@__PURE__*/ G("$ZodReadonly", (e, t) => {
13755
13805
  J.init(e, t), K(e._zod, "propValues", () => t.innerType._zod.propValues), K(e._zod, "values", () => t.innerType._zod.values), K(e._zod, "optin", () => t.innerType?._zod?.optin), K(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (e, n) => {
13756
13806
  if (n.direction === "backward") return t.innerType._zod.run(e, n);
13757
13807
  let r = t.innerType._zod.run(e, n);
13758
- return r instanceof Promise ? r.then(lm) : lm(r);
13808
+ return r instanceof Promise ? r.then(um) : um(r);
13759
13809
  };
13760
13810
  });
13761
- function lm(e) {
13811
+ function um(e) {
13762
13812
  return e.value = Object.freeze(e.value), e;
13763
13813
  }
13764
- var um = /*@__PURE__*/ G("$ZodCustom", (e, t) => {
13765
- zf.init(e, t), J.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
13814
+ var dm = /*@__PURE__*/ G("$ZodCustom", (e, t) => {
13815
+ Bf.init(e, t), J.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
13766
13816
  let r = n.value, i = t.fn(r);
13767
- if (i instanceof Promise) return i.then((t) => dm(t, n, r, e));
13768
- dm(i, n, r, e);
13817
+ if (i instanceof Promise) return i.then((t) => fm(t, n, r, e));
13818
+ fm(i, n, r, e);
13769
13819
  };
13770
13820
  });
13771
- function dm(e, t, n, r) {
13821
+ function fm(e, t, n, r) {
13772
13822
  if (!e) {
13773
13823
  let e = {
13774
13824
  code: "custom",
@@ -13777,12 +13827,12 @@ function dm(e, t, n, r) {
13777
13827
  path: [...r._zod.def.path ?? []],
13778
13828
  continue: !r._zod.def.abort
13779
13829
  };
13780
- r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(Vd(e));
13830
+ r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(Hd(e));
13781
13831
  }
13782
13832
  }
13783
13833
  //#endregion
13784
13834
  //#region ../../node_modules/zod/v4/core/registries.js
13785
- var fm, pm = class {
13835
+ var pm, mm = class {
13786
13836
  constructor() {
13787
13837
  this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
13788
13838
  }
@@ -13814,22 +13864,22 @@ var fm, pm = class {
13814
13864
  return this._map.has(e);
13815
13865
  }
13816
13866
  };
13817
- function mm() {
13818
- return new pm();
13867
+ function hm() {
13868
+ return new mm();
13819
13869
  }
13820
- (fm = globalThis).__zod_globalRegistry ?? (fm.__zod_globalRegistry = mm());
13821
- var hm = globalThis.__zod_globalRegistry;
13870
+ (pm = globalThis).__zod_globalRegistry ?? (pm.__zod_globalRegistry = hm());
13871
+ var gm = globalThis.__zod_globalRegistry;
13822
13872
  //#endregion
13823
13873
  //#region ../../node_modules/zod/v4/core/api.js
13824
13874
  // @__NO_SIDE_EFFECTS__
13825
- function gm(e, t) {
13875
+ function _m(e, t) {
13826
13876
  return new e({
13827
13877
  type: "string",
13828
13878
  ...q(t)
13829
13879
  });
13830
13880
  }
13831
13881
  // @__NO_SIDE_EFFECTS__
13832
- function _m(e, t) {
13882
+ function vm(e, t) {
13833
13883
  return new e({
13834
13884
  type: "string",
13835
13885
  format: "email",
@@ -13839,7 +13889,7 @@ function _m(e, t) {
13839
13889
  });
13840
13890
  }
13841
13891
  // @__NO_SIDE_EFFECTS__
13842
- function vm(e, t) {
13892
+ function ym(e, t) {
13843
13893
  return new e({
13844
13894
  type: "string",
13845
13895
  format: "guid",
@@ -13849,7 +13899,7 @@ function vm(e, t) {
13849
13899
  });
13850
13900
  }
13851
13901
  // @__NO_SIDE_EFFECTS__
13852
- function ym(e, t) {
13902
+ function bm(e, t) {
13853
13903
  return new e({
13854
13904
  type: "string",
13855
13905
  format: "uuid",
@@ -13859,7 +13909,7 @@ function ym(e, t) {
13859
13909
  });
13860
13910
  }
13861
13911
  // @__NO_SIDE_EFFECTS__
13862
- function bm(e, t) {
13912
+ function xm(e, t) {
13863
13913
  return new e({
13864
13914
  type: "string",
13865
13915
  format: "uuid",
@@ -13870,7 +13920,7 @@ function bm(e, t) {
13870
13920
  });
13871
13921
  }
13872
13922
  // @__NO_SIDE_EFFECTS__
13873
- function xm(e, t) {
13923
+ function Sm(e, t) {
13874
13924
  return new e({
13875
13925
  type: "string",
13876
13926
  format: "uuid",
@@ -13881,7 +13931,7 @@ function xm(e, t) {
13881
13931
  });
13882
13932
  }
13883
13933
  // @__NO_SIDE_EFFECTS__
13884
- function Sm(e, t) {
13934
+ function Cm(e, t) {
13885
13935
  return new e({
13886
13936
  type: "string",
13887
13937
  format: "uuid",
@@ -13892,7 +13942,7 @@ function Sm(e, t) {
13892
13942
  });
13893
13943
  }
13894
13944
  // @__NO_SIDE_EFFECTS__
13895
- function Cm(e, t) {
13945
+ function wm(e, t) {
13896
13946
  return new e({
13897
13947
  type: "string",
13898
13948
  format: "url",
@@ -13902,7 +13952,7 @@ function Cm(e, t) {
13902
13952
  });
13903
13953
  }
13904
13954
  // @__NO_SIDE_EFFECTS__
13905
- function wm(e, t) {
13955
+ function Tm(e, t) {
13906
13956
  return new e({
13907
13957
  type: "string",
13908
13958
  format: "emoji",
@@ -13912,7 +13962,7 @@ function wm(e, t) {
13912
13962
  });
13913
13963
  }
13914
13964
  // @__NO_SIDE_EFFECTS__
13915
- function Tm(e, t) {
13965
+ function Em(e, t) {
13916
13966
  return new e({
13917
13967
  type: "string",
13918
13968
  format: "nanoid",
@@ -13922,7 +13972,7 @@ function Tm(e, t) {
13922
13972
  });
13923
13973
  }
13924
13974
  // @__NO_SIDE_EFFECTS__
13925
- function Em(e, t) {
13975
+ function Dm(e, t) {
13926
13976
  return new e({
13927
13977
  type: "string",
13928
13978
  format: "cuid",
@@ -13932,7 +13982,7 @@ function Em(e, t) {
13932
13982
  });
13933
13983
  }
13934
13984
  // @__NO_SIDE_EFFECTS__
13935
- function Dm(e, t) {
13985
+ function Om(e, t) {
13936
13986
  return new e({
13937
13987
  type: "string",
13938
13988
  format: "cuid2",
@@ -13942,7 +13992,7 @@ function Dm(e, t) {
13942
13992
  });
13943
13993
  }
13944
13994
  // @__NO_SIDE_EFFECTS__
13945
- function Om(e, t) {
13995
+ function km(e, t) {
13946
13996
  return new e({
13947
13997
  type: "string",
13948
13998
  format: "ulid",
@@ -13952,7 +14002,7 @@ function Om(e, t) {
13952
14002
  });
13953
14003
  }
13954
14004
  // @__NO_SIDE_EFFECTS__
13955
- function km(e, t) {
14005
+ function Am(e, t) {
13956
14006
  return new e({
13957
14007
  type: "string",
13958
14008
  format: "xid",
@@ -13962,7 +14012,7 @@ function km(e, t) {
13962
14012
  });
13963
14013
  }
13964
14014
  // @__NO_SIDE_EFFECTS__
13965
- function Am(e, t) {
14015
+ function jm(e, t) {
13966
14016
  return new e({
13967
14017
  type: "string",
13968
14018
  format: "ksuid",
@@ -13972,7 +14022,7 @@ function Am(e, t) {
13972
14022
  });
13973
14023
  }
13974
14024
  // @__NO_SIDE_EFFECTS__
13975
- function jm(e, t) {
14025
+ function Mm(e, t) {
13976
14026
  return new e({
13977
14027
  type: "string",
13978
14028
  format: "ipv4",
@@ -13982,7 +14032,7 @@ function jm(e, t) {
13982
14032
  });
13983
14033
  }
13984
14034
  // @__NO_SIDE_EFFECTS__
13985
- function Mm(e, t) {
14035
+ function Nm(e, t) {
13986
14036
  return new e({
13987
14037
  type: "string",
13988
14038
  format: "ipv6",
@@ -13992,7 +14042,7 @@ function Mm(e, t) {
13992
14042
  });
13993
14043
  }
13994
14044
  // @__NO_SIDE_EFFECTS__
13995
- function Nm(e, t) {
14045
+ function Pm(e, t) {
13996
14046
  return new e({
13997
14047
  type: "string",
13998
14048
  format: "cidrv4",
@@ -14002,7 +14052,7 @@ function Nm(e, t) {
14002
14052
  });
14003
14053
  }
14004
14054
  // @__NO_SIDE_EFFECTS__
14005
- function Pm(e, t) {
14055
+ function Fm(e, t) {
14006
14056
  return new e({
14007
14057
  type: "string",
14008
14058
  format: "cidrv6",
@@ -14012,7 +14062,7 @@ function Pm(e, t) {
14012
14062
  });
14013
14063
  }
14014
14064
  // @__NO_SIDE_EFFECTS__
14015
- function Fm(e, t) {
14065
+ function Im(e, t) {
14016
14066
  return new e({
14017
14067
  type: "string",
14018
14068
  format: "base64",
@@ -14022,7 +14072,7 @@ function Fm(e, t) {
14022
14072
  });
14023
14073
  }
14024
14074
  // @__NO_SIDE_EFFECTS__
14025
- function Im(e, t) {
14075
+ function Lm(e, t) {
14026
14076
  return new e({
14027
14077
  type: "string",
14028
14078
  format: "base64url",
@@ -14032,7 +14082,7 @@ function Im(e, t) {
14032
14082
  });
14033
14083
  }
14034
14084
  // @__NO_SIDE_EFFECTS__
14035
- function Lm(e, t) {
14085
+ function Rm(e, t) {
14036
14086
  return new e({
14037
14087
  type: "string",
14038
14088
  format: "e164",
@@ -14042,7 +14092,7 @@ function Lm(e, t) {
14042
14092
  });
14043
14093
  }
14044
14094
  // @__NO_SIDE_EFFECTS__
14045
- function Rm(e, t) {
14095
+ function zm(e, t) {
14046
14096
  return new e({
14047
14097
  type: "string",
14048
14098
  format: "jwt",
@@ -14052,7 +14102,7 @@ function Rm(e, t) {
14052
14102
  });
14053
14103
  }
14054
14104
  // @__NO_SIDE_EFFECTS__
14055
- function zm(e, t) {
14105
+ function Bm(e, t) {
14056
14106
  return new e({
14057
14107
  type: "string",
14058
14108
  format: "datetime",
@@ -14064,7 +14114,7 @@ function zm(e, t) {
14064
14114
  });
14065
14115
  }
14066
14116
  // @__NO_SIDE_EFFECTS__
14067
- function Bm(e, t) {
14117
+ function Vm(e, t) {
14068
14118
  return new e({
14069
14119
  type: "string",
14070
14120
  format: "date",
@@ -14073,7 +14123,7 @@ function Bm(e, t) {
14073
14123
  });
14074
14124
  }
14075
14125
  // @__NO_SIDE_EFFECTS__
14076
- function Vm(e, t) {
14126
+ function Hm(e, t) {
14077
14127
  return new e({
14078
14128
  type: "string",
14079
14129
  format: "time",
@@ -14083,7 +14133,7 @@ function Vm(e, t) {
14083
14133
  });
14084
14134
  }
14085
14135
  // @__NO_SIDE_EFFECTS__
14086
- function Hm(e, t) {
14136
+ function Um(e, t) {
14087
14137
  return new e({
14088
14138
  type: "string",
14089
14139
  format: "duration",
@@ -14092,7 +14142,7 @@ function Hm(e, t) {
14092
14142
  });
14093
14143
  }
14094
14144
  // @__NO_SIDE_EFFECTS__
14095
- function Um(e, t) {
14145
+ function Wm(e, t) {
14096
14146
  return new e({
14097
14147
  type: "number",
14098
14148
  checks: [],
@@ -14100,7 +14150,7 @@ function Um(e, t) {
14100
14150
  });
14101
14151
  }
14102
14152
  // @__NO_SIDE_EFFECTS__
14103
- function Wm(e, t) {
14153
+ function Gm(e, t) {
14104
14154
  return new e({
14105
14155
  type: "number",
14106
14156
  check: "number_format",
@@ -14110,26 +14160,26 @@ function Wm(e, t) {
14110
14160
  });
14111
14161
  }
14112
14162
  // @__NO_SIDE_EFFECTS__
14113
- function Gm(e, t) {
14163
+ function Km(e, t) {
14114
14164
  return new e({
14115
14165
  type: "boolean",
14116
14166
  ...q(t)
14117
14167
  });
14118
14168
  }
14119
14169
  // @__NO_SIDE_EFFECTS__
14120
- function Km(e) {
14170
+ function qm(e) {
14121
14171
  return new e({ type: "unknown" });
14122
14172
  }
14123
14173
  // @__NO_SIDE_EFFECTS__
14124
- function qm(e, t) {
14174
+ function Jm(e, t) {
14125
14175
  return new e({
14126
14176
  type: "never",
14127
14177
  ...q(t)
14128
14178
  });
14129
14179
  }
14130
14180
  // @__NO_SIDE_EFFECTS__
14131
- function Jm(e, t) {
14132
- return new Vf({
14181
+ function Ym(e, t) {
14182
+ return new Hf({
14133
14183
  check: "less_than",
14134
14184
  ...q(t),
14135
14185
  value: e,
@@ -14137,8 +14187,8 @@ function Jm(e, t) {
14137
14187
  });
14138
14188
  }
14139
14189
  // @__NO_SIDE_EFFECTS__
14140
- function Ym(e, t) {
14141
- return new Vf({
14190
+ function Xm(e, t) {
14191
+ return new Hf({
14142
14192
  check: "less_than",
14143
14193
  ...q(t),
14144
14194
  value: e,
@@ -14146,8 +14196,8 @@ function Ym(e, t) {
14146
14196
  });
14147
14197
  }
14148
14198
  // @__NO_SIDE_EFFECTS__
14149
- function Xm(e, t) {
14150
- return new Hf({
14199
+ function Zm(e, t) {
14200
+ return new Uf({
14151
14201
  check: "greater_than",
14152
14202
  ...q(t),
14153
14203
  value: e,
@@ -14155,8 +14205,8 @@ function Xm(e, t) {
14155
14205
  });
14156
14206
  }
14157
14207
  // @__NO_SIDE_EFFECTS__
14158
- function Zm(e, t) {
14159
- return new Hf({
14208
+ function Qm(e, t) {
14209
+ return new Uf({
14160
14210
  check: "greater_than",
14161
14211
  ...q(t),
14162
14212
  value: e,
@@ -14164,40 +14214,40 @@ function Zm(e, t) {
14164
14214
  });
14165
14215
  }
14166
14216
  // @__NO_SIDE_EFFECTS__
14167
- function Qm(e, t) {
14168
- return new Uf({
14217
+ function $m(e, t) {
14218
+ return new Wf({
14169
14219
  check: "multiple_of",
14170
14220
  ...q(t),
14171
14221
  value: e
14172
14222
  });
14173
14223
  }
14174
14224
  // @__NO_SIDE_EFFECTS__
14175
- function $m(e, t) {
14176
- return new Gf({
14225
+ function eh(e, t) {
14226
+ return new Kf({
14177
14227
  check: "max_length",
14178
14228
  ...q(t),
14179
14229
  maximum: e
14180
14230
  });
14181
14231
  }
14182
14232
  // @__NO_SIDE_EFFECTS__
14183
- function eh(e, t) {
14184
- return new Kf({
14233
+ function th(e, t) {
14234
+ return new qf({
14185
14235
  check: "min_length",
14186
14236
  ...q(t),
14187
14237
  minimum: e
14188
14238
  });
14189
14239
  }
14190
14240
  // @__NO_SIDE_EFFECTS__
14191
- function th(e, t) {
14192
- return new qf({
14241
+ function nh(e, t) {
14242
+ return new Jf({
14193
14243
  check: "length_equals",
14194
14244
  ...q(t),
14195
14245
  length: e
14196
14246
  });
14197
14247
  }
14198
14248
  // @__NO_SIDE_EFFECTS__
14199
- function nh(e, t) {
14200
- return new Yf({
14249
+ function rh(e, t) {
14250
+ return new Xf({
14201
14251
  check: "string_format",
14202
14252
  format: "regex",
14203
14253
  ...q(t),
@@ -14205,24 +14255,24 @@ function nh(e, t) {
14205
14255
  });
14206
14256
  }
14207
14257
  // @__NO_SIDE_EFFECTS__
14208
- function rh(e) {
14209
- return new Xf({
14258
+ function ih(e) {
14259
+ return new Zf({
14210
14260
  check: "string_format",
14211
14261
  format: "lowercase",
14212
14262
  ...q(e)
14213
14263
  });
14214
14264
  }
14215
14265
  // @__NO_SIDE_EFFECTS__
14216
- function ih(e) {
14217
- return new Zf({
14266
+ function ah(e) {
14267
+ return new Qf({
14218
14268
  check: "string_format",
14219
14269
  format: "uppercase",
14220
14270
  ...q(e)
14221
14271
  });
14222
14272
  }
14223
14273
  // @__NO_SIDE_EFFECTS__
14224
- function ah(e, t) {
14225
- return new Qf({
14274
+ function oh(e, t) {
14275
+ return new $f({
14226
14276
  check: "string_format",
14227
14277
  format: "includes",
14228
14278
  ...q(t),
@@ -14230,8 +14280,8 @@ function ah(e, t) {
14230
14280
  });
14231
14281
  }
14232
14282
  // @__NO_SIDE_EFFECTS__
14233
- function oh(e, t) {
14234
- return new $f({
14283
+ function sh(e, t) {
14284
+ return new ep({
14235
14285
  check: "string_format",
14236
14286
  format: "starts_with",
14237
14287
  ...q(t),
@@ -14239,8 +14289,8 @@ function oh(e, t) {
14239
14289
  });
14240
14290
  }
14241
14291
  // @__NO_SIDE_EFFECTS__
14242
- function sh(e, t) {
14243
- return new ep({
14292
+ function ch(e, t) {
14293
+ return new tp({
14244
14294
  check: "string_format",
14245
14295
  format: "ends_with",
14246
14296
  ...q(t),
@@ -14248,34 +14298,34 @@ function sh(e, t) {
14248
14298
  });
14249
14299
  }
14250
14300
  // @__NO_SIDE_EFFECTS__
14251
- function ch(e) {
14252
- return new tp({
14301
+ function lh(e) {
14302
+ return new np({
14253
14303
  check: "overwrite",
14254
14304
  tx: e
14255
14305
  });
14256
14306
  }
14257
14307
  // @__NO_SIDE_EFFECTS__
14258
- function lh(e) {
14259
- return /* @__PURE__ */ ch((t) => t.normalize(e));
14260
- }
14261
- // @__NO_SIDE_EFFECTS__
14262
- function uh() {
14263
- return /* @__PURE__ */ ch((e) => e.trim());
14308
+ function uh(e) {
14309
+ return /* @__PURE__ */ lh((t) => t.normalize(e));
14264
14310
  }
14265
14311
  // @__NO_SIDE_EFFECTS__
14266
14312
  function dh() {
14267
- return /* @__PURE__ */ ch((e) => e.toLowerCase());
14313
+ return /* @__PURE__ */ lh((e) => e.trim());
14268
14314
  }
14269
14315
  // @__NO_SIDE_EFFECTS__
14270
14316
  function fh() {
14271
- return /* @__PURE__ */ ch((e) => e.toUpperCase());
14317
+ return /* @__PURE__ */ lh((e) => e.toLowerCase());
14272
14318
  }
14273
14319
  // @__NO_SIDE_EFFECTS__
14274
14320
  function ph() {
14275
- return /* @__PURE__ */ ch((e) => _d(e));
14321
+ return /* @__PURE__ */ lh((e) => e.toUpperCase());
14322
+ }
14323
+ // @__NO_SIDE_EFFECTS__
14324
+ function mh() {
14325
+ return /* @__PURE__ */ lh((e) => vd(e));
14276
14326
  }
14277
14327
  // @__NO_SIDE_EFFECTS__
14278
- function mh(e, t, n) {
14328
+ function hh(e, t, n) {
14279
14329
  return new e({
14280
14330
  type: "array",
14281
14331
  element: t,
@@ -14283,7 +14333,7 @@ function mh(e, t, n) {
14283
14333
  });
14284
14334
  }
14285
14335
  // @__NO_SIDE_EFFECTS__
14286
- function hh(e, t, n) {
14336
+ function gh(e, t, n) {
14287
14337
  return new e({
14288
14338
  type: "custom",
14289
14339
  check: "custom",
@@ -14292,19 +14342,19 @@ function hh(e, t, n) {
14292
14342
  });
14293
14343
  }
14294
14344
  // @__NO_SIDE_EFFECTS__
14295
- function gh(e, t) {
14296
- let n = /* @__PURE__ */ _h((t) => (t.addIssue = (e) => {
14297
- if (typeof e == "string") t.issues.push(Vd(e, t.value, n._zod.def));
14345
+ function _h(e, t) {
14346
+ let n = /* @__PURE__ */ vh((t) => (t.addIssue = (e) => {
14347
+ if (typeof e == "string") t.issues.push(Hd(e, t.value, n._zod.def));
14298
14348
  else {
14299
14349
  let r = e;
14300
- r.fatal && (r.continue = !1), r.code ??= "custom", r.input ??= t.value, r.inst ??= n, r.continue ??= !n._zod.def.abort, t.issues.push(Vd(r));
14350
+ r.fatal && (r.continue = !1), r.code ??= "custom", r.input ??= t.value, r.inst ??= n, r.continue ??= !n._zod.def.abort, t.issues.push(Hd(r));
14301
14351
  }
14302
14352
  }, e(t.value, t)), t);
14303
14353
  return n;
14304
14354
  }
14305
14355
  // @__NO_SIDE_EFFECTS__
14306
- function _h(e, t) {
14307
- let n = new zf({
14356
+ function vh(e, t) {
14357
+ let n = new Bf({
14308
14358
  check: "custom",
14309
14359
  ...q(t)
14310
14360
  });
@@ -14312,11 +14362,11 @@ function _h(e, t) {
14312
14362
  }
14313
14363
  //#endregion
14314
14364
  //#region ../../node_modules/zod/v4/core/to-json-schema.js
14315
- function vh(e) {
14365
+ function yh(e) {
14316
14366
  let t = e?.target ?? "draft-2020-12";
14317
14367
  return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
14318
14368
  processors: e.processors ?? {},
14319
- metadataRegistry: e?.metadata ?? hm,
14369
+ metadataRegistry: e?.metadata ?? gm,
14320
14370
  target: t,
14321
14371
  unrepresentable: e?.unrepresentable ?? "throw",
14322
14372
  override: e?.override ?? (() => {}),
@@ -14362,7 +14412,7 @@ function X(e, t, n = {
14362
14412
  let c = t.metadataRegistry.get(e);
14363
14413
  return c && Object.assign(o.schema, c), t.io === "input" && Z(e) && (delete o.schema.examples, delete o.schema.default), t.io === "input" && "_prefault" in o.schema && ((r = o.schema).default ?? (r.default = o.schema._prefault)), delete o.schema._prefault, t.seen.get(e).schema;
14364
14414
  }
14365
- function yh(e, t) {
14415
+ function bh(e, t) {
14366
14416
  let n = e.seen.get(t);
14367
14417
  if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
14368
14418
  let r = /* @__PURE__ */ new Map();
@@ -14432,7 +14482,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14432
14482
  }
14433
14483
  }
14434
14484
  }
14435
- function bh(e, t) {
14485
+ function xh(e, t) {
14436
14486
  let n = e.seen.get(t);
14437
14487
  if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
14438
14488
  let r = (t) => {
@@ -14479,8 +14529,8 @@ function bh(e, t) {
14479
14529
  value: {
14480
14530
  ...t["~standard"],
14481
14531
  jsonSchema: {
14482
- input: Sh(t, "input", e.processors),
14483
- output: Sh(t, "output", e.processors)
14532
+ input: Ch(t, "input", e.processors),
14533
+ output: Ch(t, "output", e.processors)
14484
14534
  }
14485
14535
  },
14486
14536
  enumerable: !1,
@@ -14517,60 +14567,60 @@ function Z(e, t) {
14517
14567
  }
14518
14568
  return !1;
14519
14569
  }
14520
- var xh = (e, t = {}) => (n) => {
14521
- let r = vh({
14570
+ var Sh = (e, t = {}) => (n) => {
14571
+ let r = yh({
14522
14572
  ...n,
14523
14573
  processors: t
14524
14574
  });
14525
- return X(e, r), yh(r, e), bh(r, e);
14526
- }, Sh = (e, t, n = {}) => (r) => {
14527
- let { libraryOptions: i, target: a } = r ?? {}, o = vh({
14575
+ return X(e, r), bh(r, e), xh(r, e);
14576
+ }, Ch = (e, t, n = {}) => (r) => {
14577
+ let { libraryOptions: i, target: a } = r ?? {}, o = yh({
14528
14578
  ...i ?? {},
14529
14579
  target: a,
14530
14580
  io: t,
14531
14581
  processors: n
14532
14582
  });
14533
- return X(e, o), yh(o, e), bh(o, e);
14534
- }, Ch = {
14583
+ return X(e, o), bh(o, e), xh(o, e);
14584
+ }, wh = {
14535
14585
  guid: "uuid",
14536
14586
  url: "uri",
14537
14587
  datetime: "date-time",
14538
14588
  json_string: "json-string",
14539
14589
  regex: ""
14540
- }, wh = (e, t, n, r) => {
14590
+ }, Th = (e, t, n, r) => {
14541
14591
  let i = n;
14542
14592
  i.type = "string";
14543
14593
  let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l } = e._zod.bag;
14544
- if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = Ch[s] ?? s, i.format === "" && delete i.format, s === "time" && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
14594
+ if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = wh[s] ?? s, i.format === "" && delete i.format, s === "time" && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
14545
14595
  let e = [...c];
14546
14596
  e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
14547
14597
  ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
14548
14598
  pattern: e.source
14549
14599
  }))]);
14550
14600
  }
14551
- }, Th = (e, t, n, r) => {
14601
+ }, Eh = (e, t, n, r) => {
14552
14602
  let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
14553
14603
  typeof s == "string" && s.includes("int") ? i.type = "integer" : i.type = "number";
14554
14604
  let d = typeof u == "number" && u >= (a ?? -Infinity), f = typeof l == "number" && l <= (o ?? Infinity), p = t.target === "draft-04" || t.target === "openapi-3.0";
14555
14605
  d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c);
14556
- }, Eh = (e, t, n, r) => {
14557
- n.type = "boolean";
14558
14606
  }, Dh = (e, t, n, r) => {
14559
- n.not = {};
14607
+ n.type = "boolean";
14560
14608
  }, Oh = (e, t, n, r) => {
14561
- let i = e._zod.def, a = sd(i.entries);
14562
- a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a;
14609
+ n.not = {};
14563
14610
  }, kh = (e, t, n, r) => {
14564
- if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema");
14611
+ let i = e._zod.def, a = cd(i.entries);
14612
+ a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a;
14565
14613
  }, Ah = (e, t, n, r) => {
14566
- if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema");
14614
+ if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema");
14567
14615
  }, jh = (e, t, n, r) => {
14616
+ if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema");
14617
+ }, Mh = (e, t, n, r) => {
14568
14618
  let i = n, a = e._zod.def, { minimum: o, maximum: s } = e._zod.bag;
14569
14619
  typeof o == "number" && (i.minItems = o), typeof s == "number" && (i.maxItems = s), i.type = "array", i.items = X(a.element, t, {
14570
14620
  ...r,
14571
14621
  path: [...r.path, "items"]
14572
14622
  });
14573
- }, Mh = (e, t, n, r) => {
14623
+ }, Nh = (e, t, n, r) => {
14574
14624
  let i = n, a = e._zod.def;
14575
14625
  i.type = "object", i.properties = {};
14576
14626
  let o = a.shape;
@@ -14590,7 +14640,7 @@ var xh = (e, t = {}) => (n) => {
14590
14640
  ...r,
14591
14641
  path: [...r.path, "additionalProperties"]
14592
14642
  })) : t.io === "output" && (i.additionalProperties = !1);
14593
- }, Nh = (e, t, n, r) => {
14643
+ }, Ph = (e, t, n, r) => {
14594
14644
  let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => X(e, t, {
14595
14645
  ...r,
14596
14646
  path: [
@@ -14600,7 +14650,7 @@ var xh = (e, t = {}) => (n) => {
14600
14650
  ]
14601
14651
  }));
14602
14652
  a ? n.oneOf = o : n.anyOf = o;
14603
- }, Ph = (e, t, n, r) => {
14653
+ }, Fh = (e, t, n, r) => {
14604
14654
  let i = e._zod.def, a = X(i.left, t, {
14605
14655
  ...r,
14606
14656
  path: [
@@ -14617,25 +14667,25 @@ var xh = (e, t = {}) => (n) => {
14617
14667
  ]
14618
14668
  }), s = (e) => "allOf" in e && Object.keys(e).length === 1;
14619
14669
  n.allOf = [...s(a) ? a.allOf : [a], ...s(o) ? o.allOf : [o]];
14620
- }, Fh = (e, t, n, r) => {
14670
+ }, Ih = (e, t, n, r) => {
14621
14671
  let i = e._zod.def, a = X(i.innerType, t, r), o = t.seen.get(e);
14622
14672
  t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
14623
- }, Ih = (e, t, n, r) => {
14673
+ }, Lh = (e, t, n, r) => {
14624
14674
  let i = e._zod.def;
14625
14675
  X(i.innerType, t, r);
14626
14676
  let a = t.seen.get(e);
14627
14677
  a.ref = i.innerType;
14628
- }, Lh = (e, t, n, r) => {
14678
+ }, Rh = (e, t, n, r) => {
14629
14679
  let i = e._zod.def;
14630
14680
  X(i.innerType, t, r);
14631
14681
  let a = t.seen.get(e);
14632
14682
  a.ref = i.innerType, n.default = JSON.parse(JSON.stringify(i.defaultValue));
14633
- }, Rh = (e, t, n, r) => {
14683
+ }, zh = (e, t, n, r) => {
14634
14684
  let i = e._zod.def;
14635
14685
  X(i.innerType, t, r);
14636
14686
  let a = t.seen.get(e);
14637
14687
  a.ref = i.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(i.defaultValue)));
14638
- }, zh = (e, t, n, r) => {
14688
+ }, Bh = (e, t, n, r) => {
14639
14689
  let i = e._zod.def;
14640
14690
  X(i.innerType, t, r);
14641
14691
  let a = t.seen.get(e);
@@ -14647,63 +14697,63 @@ var xh = (e, t = {}) => (n) => {
14647
14697
  throw Error("Dynamic catch values are not supported in JSON Schema");
14648
14698
  }
14649
14699
  n.default = o;
14650
- }, Bh = (e, t, n, r) => {
14700
+ }, Vh = (e, t, n, r) => {
14651
14701
  let i = e._zod.def, a = i.in._zod.traits.has("$ZodTransform"), o = t.io === "input" ? a ? i.out : i.in : i.out;
14652
14702
  X(o, t, r);
14653
14703
  let s = t.seen.get(e);
14654
14704
  s.ref = o;
14655
- }, Vh = (e, t, n, r) => {
14705
+ }, Hh = (e, t, n, r) => {
14656
14706
  let i = e._zod.def;
14657
14707
  X(i.innerType, t, r);
14658
14708
  let a = t.seen.get(e);
14659
14709
  a.ref = i.innerType, n.readOnly = !0;
14660
- }, Hh = (e, t, n, r) => {
14710
+ }, Uh = (e, t, n, r) => {
14661
14711
  let i = e._zod.def;
14662
14712
  X(i.innerType, t, r);
14663
14713
  let a = t.seen.get(e);
14664
14714
  a.ref = i.innerType;
14665
- }, Uh = /*@__PURE__*/ G("ZodISODateTime", (e, t) => {
14666
- gp.init(e, t), $.init(e, t);
14667
- });
14668
- function Wh(e) {
14669
- return /* @__PURE__ */ zm(Uh, e);
14670
- }
14671
- var Gh = /*@__PURE__*/ G("ZodISODate", (e, t) => {
14715
+ }, Wh = /*@__PURE__*/ G("ZodISODateTime", (e, t) => {
14672
14716
  _p.init(e, t), $.init(e, t);
14673
14717
  });
14674
- function Kh(e) {
14675
- return /* @__PURE__ */ Bm(Gh, e);
14718
+ function Gh(e) {
14719
+ return /* @__PURE__ */ Bm(Wh, e);
14676
14720
  }
14677
- var qh = /*@__PURE__*/ G("ZodISOTime", (e, t) => {
14721
+ var Kh = /*@__PURE__*/ G("ZodISODate", (e, t) => {
14678
14722
  vp.init(e, t), $.init(e, t);
14679
14723
  });
14680
- function Jh(e) {
14681
- return /* @__PURE__ */ Vm(qh, e);
14724
+ function qh(e) {
14725
+ return /* @__PURE__ */ Vm(Kh, e);
14682
14726
  }
14683
- var Yh = /*@__PURE__*/ G("ZodISODuration", (e, t) => {
14727
+ var Jh = /*@__PURE__*/ G("ZodISOTime", (e, t) => {
14684
14728
  yp.init(e, t), $.init(e, t);
14685
14729
  });
14686
- function Xh(e) {
14687
- return /* @__PURE__ */ Hm(Yh, e);
14730
+ function Yh(e) {
14731
+ return /* @__PURE__ */ Hm(Jh, e);
14732
+ }
14733
+ var Xh = /*@__PURE__*/ G("ZodISODuration", (e, t) => {
14734
+ bp.init(e, t), $.init(e, t);
14735
+ });
14736
+ function Zh(e) {
14737
+ return /* @__PURE__ */ Um(Xh, e);
14688
14738
  }
14689
- var Zh = /*@__PURE__*/ G("ZodError", (e, t) => {
14690
- Ud.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
14691
- format: { value: (t) => Kd(e, t) },
14692
- flatten: { value: (t) => Gd(e, t) },
14739
+ var Qh = /*@__PURE__*/ G("ZodError", (e, t) => {
14740
+ Wd.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
14741
+ format: { value: (t) => qd(e, t) },
14742
+ flatten: { value: (t) => Kd(e, t) },
14693
14743
  addIssue: { value: (t) => {
14694
- e.issues.push(t), e.message = JSON.stringify(e.issues, cd, 2);
14744
+ e.issues.push(t), e.message = JSON.stringify(e.issues, ld, 2);
14695
14745
  } },
14696
14746
  addIssues: { value: (t) => {
14697
- e.issues.push(...t), e.message = JSON.stringify(e.issues, cd, 2);
14747
+ e.issues.push(...t), e.message = JSON.stringify(e.issues, ld, 2);
14698
14748
  } },
14699
14749
  isEmpty: { get() {
14700
14750
  return e.issues.length === 0;
14701
14751
  } }
14702
14752
  });
14703
- }, { Parent: Error }), Qh = /* @__PURE__ */ qd(Zh), $h = /* @__PURE__ */ Jd(Zh), eg = /* @__PURE__ */ Yd(Zh), tg = /* @__PURE__ */ Zd(Zh), ng = /* @__PURE__ */ $d(Zh), rg = /* @__PURE__ */ ef(Zh), ig = /* @__PURE__ */ tf(Zh), ag = /* @__PURE__ */ nf(Zh), og = /* @__PURE__ */ rf(Zh), sg = /* @__PURE__ */ af(Zh), cg = /* @__PURE__ */ of(Zh), lg = /* @__PURE__ */ sf(Zh), ug = /* @__PURE__ */ new WeakMap();
14704
- function dg(e, t, n) {
14705
- let r = Object.getPrototypeOf(e), i = ug.get(r);
14706
- if (i || (i = /* @__PURE__ */ new Set(), ug.set(r, i)), !i.has(t)) {
14753
+ }, { Parent: Error }), $h = /* @__PURE__ */ Jd(Qh), eg = /* @__PURE__ */ Yd(Qh), tg = /* @__PURE__ */ Xd(Qh), ng = /* @__PURE__ */ Qd(Qh), rg = /* @__PURE__ */ ef(Qh), ig = /* @__PURE__ */ tf(Qh), ag = /* @__PURE__ */ nf(Qh), og = /* @__PURE__ */ rf(Qh), sg = /* @__PURE__ */ af(Qh), cg = /* @__PURE__ */ of(Qh), lg = /* @__PURE__ */ sf(Qh), ug = /* @__PURE__ */ cf(Qh), dg = /* @__PURE__ */ new WeakMap();
14754
+ function fg(e, t, n) {
14755
+ let r = Object.getPrototypeOf(e), i = dg.get(r);
14756
+ if (i || (i = /* @__PURE__ */ new Set(), dg.set(r, i)), !i.has(t)) {
14707
14757
  i.add(t);
14708
14758
  for (let e in n) {
14709
14759
  let t = n[e];
@@ -14732,12 +14782,12 @@ function dg(e, t, n) {
14732
14782
  }
14733
14783
  }
14734
14784
  var Q = /*@__PURE__*/ G("ZodType", (e, t) => (J.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
14735
- input: Sh(e, "input"),
14736
- output: Sh(e, "output")
14737
- } }), e.toJSONSchema = xh(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (t, n) => Qh(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => eg(e, t, n), e.parseAsync = async (t, n) => $h(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => tg(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => ng(e, t, n), e.decode = (t, n) => rg(e, t, n), e.encodeAsync = async (t, n) => ig(e, t, n), e.decodeAsync = async (t, n) => ag(e, t, n), e.safeEncode = (t, n) => og(e, t, n), e.safeDecode = (t, n) => sg(e, t, n), e.safeEncodeAsync = async (t, n) => cg(e, t, n), e.safeDecodeAsync = async (t, n) => lg(e, t, n), dg(e, "ZodType", {
14785
+ input: Ch(e, "input"),
14786
+ output: Ch(e, "output")
14787
+ } }), e.toJSONSchema = Sh(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (t, n) => $h(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => tg(e, t, n), e.parseAsync = async (t, n) => eg(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ng(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => rg(e, t, n), e.decode = (t, n) => ig(e, t, n), e.encodeAsync = async (t, n) => ag(e, t, n), e.decodeAsync = async (t, n) => og(e, t, n), e.safeEncode = (t, n) => sg(e, t, n), e.safeDecode = (t, n) => cg(e, t, n), e.safeEncodeAsync = async (t, n) => lg(e, t, n), e.safeDecodeAsync = async (t, n) => ug(e, t, n), fg(e, "ZodType", {
14738
14788
  check(...e) {
14739
14789
  let t = this.def;
14740
- return this.clone(hd(t, { checks: [...t.checks ?? [], ...e.map((e) => typeof e == "function" ? { _zod: {
14790
+ return this.clone(gd(t, { checks: [...t.checks ?? [], ...e.map((e) => typeof e == "function" ? { _zod: {
14741
14791
  check: e,
14742
14792
  def: { check: "custom" },
14743
14793
  onattach: []
@@ -14747,7 +14797,7 @@ var Q = /*@__PURE__*/ G("ZodType", (e, t) => (J.init(e, t), Object.assign(e["~st
14747
14797
  return this.check(...e);
14748
14798
  },
14749
14799
  clone(e, t) {
14750
- return Td(this, e, t);
14800
+ return Ed(this, e, t);
14751
14801
  },
14752
14802
  brand() {
14753
14803
  return this;
@@ -14756,64 +14806,64 @@ var Q = /*@__PURE__*/ G("ZodType", (e, t) => (J.init(e, t), Object.assign(e["~st
14756
14806
  return e.add(this, t), this;
14757
14807
  },
14758
14808
  refine(e, t) {
14759
- return this.check(x_(e, t));
14809
+ return this.check(S_(e, t));
14760
14810
  },
14761
14811
  superRefine(e, t) {
14762
- return this.check(S_(e, t));
14812
+ return this.check(C_(e, t));
14763
14813
  },
14764
14814
  overwrite(e) {
14765
- return this.check(/* @__PURE__ */ ch(e));
14815
+ return this.check(/* @__PURE__ */ lh(e));
14766
14816
  },
14767
14817
  optional() {
14768
- return r_(this);
14818
+ return i_(this);
14769
14819
  },
14770
14820
  exactOptional() {
14771
- return a_(this);
14821
+ return o_(this);
14772
14822
  },
14773
14823
  nullable() {
14774
- return s_(this);
14824
+ return c_(this);
14775
14825
  },
14776
14826
  nullish() {
14777
- return r_(s_(this));
14827
+ return i_(c_(this));
14778
14828
  },
14779
14829
  nonoptional(e) {
14780
- return p_(this, e);
14830
+ return m_(this, e);
14781
14831
  },
14782
14832
  array() {
14783
- return Gg(this);
14833
+ return Kg(this);
14784
14834
  },
14785
14835
  or(e) {
14786
- return Yg([this, e]);
14836
+ return Xg([this, e]);
14787
14837
  },
14788
14838
  and(e) {
14789
- return Zg(this, e);
14839
+ return Qg(this, e);
14790
14840
  },
14791
14841
  transform(e) {
14792
- return __(this, t_(e));
14842
+ return v_(this, n_(e));
14793
14843
  },
14794
14844
  default(e) {
14795
- return l_(this, e);
14845
+ return u_(this, e);
14796
14846
  },
14797
14847
  prefault(e) {
14798
- return d_(this, e);
14848
+ return f_(this, e);
14799
14849
  },
14800
14850
  catch(e) {
14801
- return h_(this, e);
14851
+ return g_(this, e);
14802
14852
  },
14803
14853
  pipe(e) {
14804
- return __(this, e);
14854
+ return v_(this, e);
14805
14855
  },
14806
14856
  readonly() {
14807
- return y_(this);
14857
+ return b_(this);
14808
14858
  },
14809
14859
  describe(e) {
14810
14860
  let t = this.clone();
14811
- return hm.add(t, { description: e }), t;
14861
+ return gm.add(t, { description: e }), t;
14812
14862
  },
14813
14863
  meta(...e) {
14814
- if (e.length === 0) return hm.get(this);
14864
+ if (e.length === 0) return gm.get(this);
14815
14865
  let t = this.clone();
14816
- return hm.add(t, e[0]), t;
14866
+ return gm.add(t, e[0]), t;
14817
14867
  },
14818
14868
  isOptional() {
14819
14869
  return this.safeParse(void 0).success;
@@ -14826,148 +14876,148 @@ var Q = /*@__PURE__*/ G("ZodType", (e, t) => (J.init(e, t), Object.assign(e["~st
14826
14876
  }
14827
14877
  }), Object.defineProperty(e, "description", {
14828
14878
  get() {
14829
- return hm.get(e)?.description;
14879
+ return gm.get(e)?.description;
14830
14880
  },
14831
14881
  configurable: !0
14832
- }), e)), fg = /*@__PURE__*/ G("_ZodString", (e, t) => {
14833
- ip.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => wh(e, t, n, r);
14882
+ }), e)), pg = /*@__PURE__*/ G("_ZodString", (e, t) => {
14883
+ ap.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Th(e, t, n, r);
14834
14884
  let n = e._zod.bag;
14835
- e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, dg(e, "_ZodString", {
14885
+ e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, fg(e, "_ZodString", {
14836
14886
  regex(...e) {
14837
- return this.check(/* @__PURE__ */ nh(...e));
14887
+ return this.check(/* @__PURE__ */ rh(...e));
14838
14888
  },
14839
14889
  includes(...e) {
14840
- return this.check(/* @__PURE__ */ ah(...e));
14890
+ return this.check(/* @__PURE__ */ oh(...e));
14841
14891
  },
14842
14892
  startsWith(...e) {
14843
- return this.check(/* @__PURE__ */ oh(...e));
14893
+ return this.check(/* @__PURE__ */ sh(...e));
14844
14894
  },
14845
14895
  endsWith(...e) {
14846
- return this.check(/* @__PURE__ */ sh(...e));
14896
+ return this.check(/* @__PURE__ */ ch(...e));
14847
14897
  },
14848
14898
  min(...e) {
14849
- return this.check(/* @__PURE__ */ eh(...e));
14899
+ return this.check(/* @__PURE__ */ th(...e));
14850
14900
  },
14851
14901
  max(...e) {
14852
- return this.check(/* @__PURE__ */ $m(...e));
14902
+ return this.check(/* @__PURE__ */ eh(...e));
14853
14903
  },
14854
14904
  length(...e) {
14855
- return this.check(/* @__PURE__ */ th(...e));
14905
+ return this.check(/* @__PURE__ */ nh(...e));
14856
14906
  },
14857
14907
  nonempty(...e) {
14858
- return this.check(/* @__PURE__ */ eh(1, ...e));
14908
+ return this.check(/* @__PURE__ */ th(1, ...e));
14859
14909
  },
14860
14910
  lowercase(e) {
14861
- return this.check(/* @__PURE__ */ rh(e));
14911
+ return this.check(/* @__PURE__ */ ih(e));
14862
14912
  },
14863
14913
  uppercase(e) {
14864
- return this.check(/* @__PURE__ */ ih(e));
14914
+ return this.check(/* @__PURE__ */ ah(e));
14865
14915
  },
14866
14916
  trim() {
14867
- return this.check(/* @__PURE__ */ uh());
14917
+ return this.check(/* @__PURE__ */ dh());
14868
14918
  },
14869
14919
  normalize(...e) {
14870
- return this.check(/* @__PURE__ */ lh(...e));
14920
+ return this.check(/* @__PURE__ */ uh(...e));
14871
14921
  },
14872
14922
  toLowerCase() {
14873
- return this.check(/* @__PURE__ */ dh());
14923
+ return this.check(/* @__PURE__ */ fh());
14874
14924
  },
14875
14925
  toUpperCase() {
14876
- return this.check(/* @__PURE__ */ fh());
14926
+ return this.check(/* @__PURE__ */ ph());
14877
14927
  },
14878
14928
  slugify() {
14879
- return this.check(/* @__PURE__ */ ph());
14929
+ return this.check(/* @__PURE__ */ mh());
14880
14930
  }
14881
14931
  });
14882
- }), pg = /*@__PURE__*/ G("ZodString", (e, t) => {
14883
- ip.init(e, t), fg.init(e, t), e.email = (t) => e.check(/* @__PURE__ */ _m(hg, t)), e.url = (t) => e.check(/* @__PURE__ */ Cm(vg, t)), e.jwt = (t) => e.check(/* @__PURE__ */ Rm(Ng, t)), e.emoji = (t) => e.check(/* @__PURE__ */ wm(yg, t)), e.guid = (t) => e.check(/* @__PURE__ */ vm(gg, t)), e.uuid = (t) => e.check(/* @__PURE__ */ ym(_g, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ bm(_g, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ xm(_g, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Sm(_g, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Tm(bg, t)), e.guid = (t) => e.check(/* @__PURE__ */ vm(gg, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Em(xg, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Dm(Sg, t)), e.ulid = (t) => e.check(/* @__PURE__ */ Om(Cg, t)), e.base64 = (t) => e.check(/* @__PURE__ */ Fm(Ag, t)), e.base64url = (t) => e.check(/* @__PURE__ */ Im(jg, t)), e.xid = (t) => e.check(/* @__PURE__ */ km(wg, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ Am(Tg, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ jm(Eg, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Mm(Dg, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Nm(Og, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ Pm(kg, t)), e.e164 = (t) => e.check(/* @__PURE__ */ Lm(Mg, t)), e.datetime = (t) => e.check(Wh(t)), e.date = (t) => e.check(Kh(t)), e.time = (t) => e.check(Jh(t)), e.duration = (t) => e.check(Xh(t));
14932
+ }), mg = /*@__PURE__*/ G("ZodString", (e, t) => {
14933
+ ap.init(e, t), pg.init(e, t), e.email = (t) => e.check(/* @__PURE__ */ vm(gg, t)), e.url = (t) => e.check(/* @__PURE__ */ wm(yg, t)), e.jwt = (t) => e.check(/* @__PURE__ */ zm(Pg, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Tm(bg, t)), e.guid = (t) => e.check(/* @__PURE__ */ ym(_g, t)), e.uuid = (t) => e.check(/* @__PURE__ */ bm(vg, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ xm(vg, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ Sm(vg, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Cm(vg, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Em(xg, t)), e.guid = (t) => e.check(/* @__PURE__ */ ym(_g, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Dm(Sg, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Om(Cg, t)), e.ulid = (t) => e.check(/* @__PURE__ */ km(wg, t)), e.base64 = (t) => e.check(/* @__PURE__ */ Im(jg, t)), e.base64url = (t) => e.check(/* @__PURE__ */ Lm(Mg, t)), e.xid = (t) => e.check(/* @__PURE__ */ Am(Tg, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ jm(Eg, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ Mm(Dg, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Nm(Og, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Pm(kg, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ Fm(Ag, t)), e.e164 = (t) => e.check(/* @__PURE__ */ Rm(Ng, t)), e.datetime = (t) => e.check(Gh(t)), e.date = (t) => e.check(qh(t)), e.time = (t) => e.check(Yh(t)), e.duration = (t) => e.check(Zh(t));
14884
14934
  });
14885
- function mg(e) {
14886
- return /* @__PURE__ */ gm(pg, e);
14935
+ function hg(e) {
14936
+ return /* @__PURE__ */ _m(mg, e);
14887
14937
  }
14888
14938
  var $ = /*@__PURE__*/ G("ZodStringFormat", (e, t) => {
14889
- Y.init(e, t), fg.init(e, t);
14890
- }), hg = /*@__PURE__*/ G("ZodEmail", (e, t) => {
14891
- sp.init(e, t), $.init(e, t);
14892
- }), gg = /*@__PURE__*/ G("ZodGUID", (e, t) => {
14893
- ap.init(e, t), $.init(e, t);
14894
- }), _g = /*@__PURE__*/ G("ZodUUID", (e, t) => {
14895
- op.init(e, t), $.init(e, t);
14896
- }), vg = /*@__PURE__*/ G("ZodURL", (e, t) => {
14939
+ Y.init(e, t), pg.init(e, t);
14940
+ }), gg = /*@__PURE__*/ G("ZodEmail", (e, t) => {
14897
14941
  cp.init(e, t), $.init(e, t);
14898
- }), yg = /*@__PURE__*/ G("ZodEmoji", (e, t) => {
14942
+ }), _g = /*@__PURE__*/ G("ZodGUID", (e, t) => {
14943
+ op.init(e, t), $.init(e, t);
14944
+ }), vg = /*@__PURE__*/ G("ZodUUID", (e, t) => {
14945
+ sp.init(e, t), $.init(e, t);
14946
+ }), yg = /*@__PURE__*/ G("ZodURL", (e, t) => {
14899
14947
  lp.init(e, t), $.init(e, t);
14900
- }), bg = /*@__PURE__*/ G("ZodNanoID", (e, t) => {
14948
+ }), bg = /*@__PURE__*/ G("ZodEmoji", (e, t) => {
14901
14949
  up.init(e, t), $.init(e, t);
14902
- }), xg = /*@__PURE__*/ G("ZodCUID", (e, t) => {
14950
+ }), xg = /*@__PURE__*/ G("ZodNanoID", (e, t) => {
14903
14951
  dp.init(e, t), $.init(e, t);
14904
- }), Sg = /*@__PURE__*/ G("ZodCUID2", (e, t) => {
14952
+ }), Sg = /*@__PURE__*/ G("ZodCUID", (e, t) => {
14905
14953
  fp.init(e, t), $.init(e, t);
14906
- }), Cg = /*@__PURE__*/ G("ZodULID", (e, t) => {
14954
+ }), Cg = /*@__PURE__*/ G("ZodCUID2", (e, t) => {
14907
14955
  pp.init(e, t), $.init(e, t);
14908
- }), wg = /*@__PURE__*/ G("ZodXID", (e, t) => {
14956
+ }), wg = /*@__PURE__*/ G("ZodULID", (e, t) => {
14909
14957
  mp.init(e, t), $.init(e, t);
14910
- }), Tg = /*@__PURE__*/ G("ZodKSUID", (e, t) => {
14958
+ }), Tg = /*@__PURE__*/ G("ZodXID", (e, t) => {
14911
14959
  hp.init(e, t), $.init(e, t);
14912
- }), Eg = /*@__PURE__*/ G("ZodIPv4", (e, t) => {
14913
- bp.init(e, t), $.init(e, t);
14914
- }), Dg = /*@__PURE__*/ G("ZodIPv6", (e, t) => {
14960
+ }), Eg = /*@__PURE__*/ G("ZodKSUID", (e, t) => {
14961
+ gp.init(e, t), $.init(e, t);
14962
+ }), Dg = /*@__PURE__*/ G("ZodIPv4", (e, t) => {
14915
14963
  xp.init(e, t), $.init(e, t);
14916
- }), Og = /*@__PURE__*/ G("ZodCIDRv4", (e, t) => {
14964
+ }), Og = /*@__PURE__*/ G("ZodIPv6", (e, t) => {
14917
14965
  Sp.init(e, t), $.init(e, t);
14918
- }), kg = /*@__PURE__*/ G("ZodCIDRv6", (e, t) => {
14966
+ }), kg = /*@__PURE__*/ G("ZodCIDRv4", (e, t) => {
14919
14967
  Cp.init(e, t), $.init(e, t);
14920
- }), Ag = /*@__PURE__*/ G("ZodBase64", (e, t) => {
14921
- Tp.init(e, t), $.init(e, t);
14922
- }), jg = /*@__PURE__*/ G("ZodBase64URL", (e, t) => {
14923
- Dp.init(e, t), $.init(e, t);
14924
- }), Mg = /*@__PURE__*/ G("ZodE164", (e, t) => {
14968
+ }), Ag = /*@__PURE__*/ G("ZodCIDRv6", (e, t) => {
14969
+ wp.init(e, t), $.init(e, t);
14970
+ }), jg = /*@__PURE__*/ G("ZodBase64", (e, t) => {
14971
+ Ep.init(e, t), $.init(e, t);
14972
+ }), Mg = /*@__PURE__*/ G("ZodBase64URL", (e, t) => {
14925
14973
  Op.init(e, t), $.init(e, t);
14926
- }), Ng = /*@__PURE__*/ G("ZodJWT", (e, t) => {
14927
- Ap.init(e, t), $.init(e, t);
14928
- }), Pg = /*@__PURE__*/ G("ZodNumber", (e, t) => {
14929
- jp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Th(e, t, n, r), dg(e, "ZodNumber", {
14974
+ }), Ng = /*@__PURE__*/ G("ZodE164", (e, t) => {
14975
+ kp.init(e, t), $.init(e, t);
14976
+ }), Pg = /*@__PURE__*/ G("ZodJWT", (e, t) => {
14977
+ jp.init(e, t), $.init(e, t);
14978
+ }), Fg = /*@__PURE__*/ G("ZodNumber", (e, t) => {
14979
+ Mp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Eh(e, t, n, r), fg(e, "ZodNumber", {
14930
14980
  gt(e, t) {
14931
- return this.check(/* @__PURE__ */ Xm(e, t));
14981
+ return this.check(/* @__PURE__ */ Zm(e, t));
14932
14982
  },
14933
14983
  gte(e, t) {
14934
- return this.check(/* @__PURE__ */ Zm(e, t));
14984
+ return this.check(/* @__PURE__ */ Qm(e, t));
14935
14985
  },
14936
14986
  min(e, t) {
14937
- return this.check(/* @__PURE__ */ Zm(e, t));
14987
+ return this.check(/* @__PURE__ */ Qm(e, t));
14938
14988
  },
14939
14989
  lt(e, t) {
14940
- return this.check(/* @__PURE__ */ Jm(e, t));
14990
+ return this.check(/* @__PURE__ */ Ym(e, t));
14941
14991
  },
14942
14992
  lte(e, t) {
14943
- return this.check(/* @__PURE__ */ Ym(e, t));
14993
+ return this.check(/* @__PURE__ */ Xm(e, t));
14944
14994
  },
14945
14995
  max(e, t) {
14946
- return this.check(/* @__PURE__ */ Ym(e, t));
14996
+ return this.check(/* @__PURE__ */ Xm(e, t));
14947
14997
  },
14948
14998
  int(e) {
14949
- return this.check(Lg(e));
14999
+ return this.check(Rg(e));
14950
15000
  },
14951
15001
  safe(e) {
14952
- return this.check(Lg(e));
15002
+ return this.check(Rg(e));
14953
15003
  },
14954
15004
  positive(e) {
14955
- return this.check(/* @__PURE__ */ Xm(0, e));
15005
+ return this.check(/* @__PURE__ */ Zm(0, e));
14956
15006
  },
14957
15007
  nonnegative(e) {
14958
- return this.check(/* @__PURE__ */ Zm(0, e));
15008
+ return this.check(/* @__PURE__ */ Qm(0, e));
14959
15009
  },
14960
15010
  negative(e) {
14961
- return this.check(/* @__PURE__ */ Jm(0, e));
15011
+ return this.check(/* @__PURE__ */ Ym(0, e));
14962
15012
  },
14963
15013
  nonpositive(e) {
14964
- return this.check(/* @__PURE__ */ Ym(0, e));
15014
+ return this.check(/* @__PURE__ */ Xm(0, e));
14965
15015
  },
14966
15016
  multipleOf(e, t) {
14967
- return this.check(/* @__PURE__ */ Qm(e, t));
15017
+ return this.check(/* @__PURE__ */ $m(e, t));
14968
15018
  },
14969
15019
  step(e, t) {
14970
- return this.check(/* @__PURE__ */ Qm(e, t));
15020
+ return this.check(/* @__PURE__ */ $m(e, t));
14971
15021
  },
14972
15022
  finite() {
14973
15023
  return this;
@@ -14976,59 +15026,59 @@ var $ = /*@__PURE__*/ G("ZodStringFormat", (e, t) => {
14976
15026
  let n = e._zod.bag;
14977
15027
  e.minValue = Math.max(n.minimum ?? -Infinity, n.exclusiveMinimum ?? -Infinity) ?? null, e.maxValue = Math.min(n.maximum ?? Infinity, n.exclusiveMaximum ?? Infinity) ?? null, e.isInt = (n.format ?? "").includes("int") || Number.isSafeInteger(n.multipleOf ?? .5), e.isFinite = !0, e.format = n.format ?? null;
14978
15028
  });
14979
- function Fg(e) {
14980
- return /* @__PURE__ */ Um(Pg, e);
15029
+ function Ig(e) {
15030
+ return /* @__PURE__ */ Wm(Fg, e);
14981
15031
  }
14982
- var Ig = /*@__PURE__*/ G("ZodNumberFormat", (e, t) => {
14983
- Mp.init(e, t), Pg.init(e, t);
15032
+ var Lg = /*@__PURE__*/ G("ZodNumberFormat", (e, t) => {
15033
+ Np.init(e, t), Fg.init(e, t);
14984
15034
  });
14985
- function Lg(e) {
14986
- return /* @__PURE__ */ Wm(Ig, e);
15035
+ function Rg(e) {
15036
+ return /* @__PURE__ */ Gm(Lg, e);
14987
15037
  }
14988
- var Rg = /*@__PURE__*/ G("ZodBoolean", (e, t) => {
14989
- Np.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Eh(e, t, n, r);
15038
+ var zg = /*@__PURE__*/ G("ZodBoolean", (e, t) => {
15039
+ Pp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Dh(e, t, n, r);
14990
15040
  });
14991
- function zg(e) {
14992
- return /* @__PURE__ */ Gm(Rg, e);
15041
+ function Bg(e) {
15042
+ return /* @__PURE__ */ Km(zg, e);
14993
15043
  }
14994
- var Bg = /*@__PURE__*/ G("ZodUnknown", (e, t) => {
14995
- Pp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
15044
+ var Vg = /*@__PURE__*/ G("ZodUnknown", (e, t) => {
15045
+ Fp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
14996
15046
  });
14997
- function Vg() {
14998
- return /* @__PURE__ */ Km(Bg);
15047
+ function Hg() {
15048
+ return /* @__PURE__ */ qm(Vg);
14999
15049
  }
15000
- var Hg = /*@__PURE__*/ G("ZodNever", (e, t) => {
15001
- Fp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Dh(e, t, n, r);
15050
+ var Ug = /*@__PURE__*/ G("ZodNever", (e, t) => {
15051
+ Ip.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Oh(e, t, n, r);
15002
15052
  });
15003
- function Ug(e) {
15004
- return /* @__PURE__ */ qm(Hg, e);
15053
+ function Wg(e) {
15054
+ return /* @__PURE__ */ Jm(Ug, e);
15005
15055
  }
15006
- var Wg = /*@__PURE__*/ G("ZodArray", (e, t) => {
15007
- Lp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => jh(e, t, n, r), e.element = t.element, dg(e, "ZodArray", {
15056
+ var Gg = /*@__PURE__*/ G("ZodArray", (e, t) => {
15057
+ Rp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Mh(e, t, n, r), e.element = t.element, fg(e, "ZodArray", {
15008
15058
  min(e, t) {
15009
- return this.check(/* @__PURE__ */ eh(e, t));
15059
+ return this.check(/* @__PURE__ */ th(e, t));
15010
15060
  },
15011
15061
  nonempty(e) {
15012
- return this.check(/* @__PURE__ */ eh(1, e));
15062
+ return this.check(/* @__PURE__ */ th(1, e));
15013
15063
  },
15014
15064
  max(e, t) {
15015
- return this.check(/* @__PURE__ */ $m(e, t));
15065
+ return this.check(/* @__PURE__ */ eh(e, t));
15016
15066
  },
15017
15067
  length(e, t) {
15018
- return this.check(/* @__PURE__ */ th(e, t));
15068
+ return this.check(/* @__PURE__ */ nh(e, t));
15019
15069
  },
15020
15070
  unwrap() {
15021
15071
  return this.element;
15022
15072
  }
15023
15073
  });
15024
15074
  });
15025
- function Gg(e, t) {
15026
- return /* @__PURE__ */ mh(Wg, e, t);
15075
+ function Kg(e, t) {
15076
+ return /* @__PURE__ */ hh(Gg, e, t);
15027
15077
  }
15028
- var Kg = /*@__PURE__*/ G("ZodObject", (e, t) => {
15029
- Hp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Mh(e, t, n, r), K(e, "shape", () => t.shape), dg(e, "ZodObject", {
15078
+ var qg = /*@__PURE__*/ G("ZodObject", (e, t) => {
15079
+ Up.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Nh(e, t, n, r), K(e, "shape", () => t.shape), fg(e, "ZodObject", {
15030
15080
  keyof() {
15031
- return $g(Object.keys(this._zod.def.shape));
15081
+ return e_(Object.keys(this._zod.def.shape));
15032
15082
  },
15033
15083
  catchall(e) {
15034
15084
  return this.clone({
@@ -15039,19 +15089,19 @@ var Kg = /*@__PURE__*/ G("ZodObject", (e, t) => {
15039
15089
  passthrough() {
15040
15090
  return this.clone({
15041
15091
  ...this._zod.def,
15042
- catchall: Vg()
15092
+ catchall: Hg()
15043
15093
  });
15044
15094
  },
15045
15095
  loose() {
15046
15096
  return this.clone({
15047
15097
  ...this._zod.def,
15048
- catchall: Vg()
15098
+ catchall: Hg()
15049
15099
  });
15050
15100
  },
15051
15101
  strict() {
15052
15102
  return this.clone({
15053
15103
  ...this._zod.def,
15054
- catchall: Ug()
15104
+ catchall: Wg()
15055
15105
  });
15056
15106
  },
15057
15107
  strip() {
@@ -15061,63 +15111,63 @@ var Kg = /*@__PURE__*/ G("ZodObject", (e, t) => {
15061
15111
  });
15062
15112
  },
15063
15113
  extend(e) {
15064
- return Ad(this, e);
15114
+ return jd(this, e);
15065
15115
  },
15066
15116
  safeExtend(e) {
15067
- return jd(this, e);
15117
+ return Md(this, e);
15068
15118
  },
15069
15119
  merge(e) {
15070
- return Md(this, e);
15120
+ return Nd(this, e);
15071
15121
  },
15072
15122
  pick(e) {
15073
- return Od(this, e);
15123
+ return kd(this, e);
15074
15124
  },
15075
15125
  omit(e) {
15076
- return kd(this, e);
15126
+ return Ad(this, e);
15077
15127
  },
15078
15128
  partial(...e) {
15079
- return Nd(n_, this, e[0]);
15129
+ return Pd(r_, this, e[0]);
15080
15130
  },
15081
15131
  required(...e) {
15082
- return Pd(f_, this, e[0]);
15132
+ return Fd(p_, this, e[0]);
15083
15133
  }
15084
15134
  });
15085
15135
  });
15086
- function qg(e, t) {
15087
- return new Kg({
15136
+ function Jg(e, t) {
15137
+ return new qg({
15088
15138
  type: "object",
15089
15139
  shape: e ?? {},
15090
15140
  ...q(t)
15091
15141
  });
15092
15142
  }
15093
- var Jg = /*@__PURE__*/ G("ZodUnion", (e, t) => {
15094
- Wp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Nh(e, t, n, r), e.options = t.options;
15143
+ var Yg = /*@__PURE__*/ G("ZodUnion", (e, t) => {
15144
+ Gp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ph(e, t, n, r), e.options = t.options;
15095
15145
  });
15096
- function Yg(e, t) {
15097
- return new Jg({
15146
+ function Xg(e, t) {
15147
+ return new Yg({
15098
15148
  type: "union",
15099
15149
  options: e,
15100
15150
  ...q(t)
15101
15151
  });
15102
15152
  }
15103
- var Xg = /*@__PURE__*/ G("ZodIntersection", (e, t) => {
15104
- Gp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ph(e, t, n, r);
15153
+ var Zg = /*@__PURE__*/ G("ZodIntersection", (e, t) => {
15154
+ Kp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Fh(e, t, n, r);
15105
15155
  });
15106
- function Zg(e, t) {
15107
- return new Xg({
15156
+ function Qg(e, t) {
15157
+ return new Zg({
15108
15158
  type: "intersection",
15109
15159
  left: e,
15110
15160
  right: t
15111
15161
  });
15112
15162
  }
15113
- var Qg = /*@__PURE__*/ G("ZodEnum", (e, t) => {
15114
- Jp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Oh(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries);
15163
+ var $g = /*@__PURE__*/ G("ZodEnum", (e, t) => {
15164
+ Yp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => kh(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries);
15115
15165
  let n = new Set(Object.keys(t.entries));
15116
15166
  e.extract = (e, r) => {
15117
15167
  let i = {};
15118
15168
  for (let r of e) if (n.has(r)) i[r] = t.entries[r];
15119
15169
  else throw Error(`Key ${r} not found in enum`);
15120
- return new Qg({
15170
+ return new $g({
15121
15171
  ...t,
15122
15172
  checks: [],
15123
15173
  ...q(r),
@@ -15127,7 +15177,7 @@ var Qg = /*@__PURE__*/ G("ZodEnum", (e, t) => {
15127
15177
  let i = { ...t.entries };
15128
15178
  for (let t of e) if (n.has(t)) delete i[t];
15129
15179
  else throw Error(`Key ${t} not found in enum`);
15130
- return new Qg({
15180
+ return new $g({
15131
15181
  ...t,
15132
15182
  checks: [],
15133
15183
  ...q(r),
@@ -15135,138 +15185,138 @@ var Qg = /*@__PURE__*/ G("ZodEnum", (e, t) => {
15135
15185
  });
15136
15186
  };
15137
15187
  });
15138
- function $g(e, t) {
15139
- return new Qg({
15188
+ function e_(e, t) {
15189
+ return new $g({
15140
15190
  type: "enum",
15141
15191
  entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
15142
15192
  ...q(t)
15143
15193
  });
15144
15194
  }
15145
- var e_ = /*@__PURE__*/ G("ZodTransform", (e, t) => {
15146
- Yp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ah(e, t, n, r), e._zod.parse = (n, r) => {
15147
- if (r.direction === "backward") throw new id(e.constructor.name);
15195
+ var t_ = /*@__PURE__*/ G("ZodTransform", (e, t) => {
15196
+ Xp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => jh(e, t, n, r), e._zod.parse = (n, r) => {
15197
+ if (r.direction === "backward") throw new ad(e.constructor.name);
15148
15198
  n.addIssue = (r) => {
15149
- if (typeof r == "string") n.issues.push(Vd(r, n.value, t));
15199
+ if (typeof r == "string") n.issues.push(Hd(r, n.value, t));
15150
15200
  else {
15151
15201
  let t = r;
15152
- t.fatal && (t.continue = !1), t.code ??= "custom", t.input ??= n.value, t.inst ??= e, n.issues.push(Vd(t));
15202
+ t.fatal && (t.continue = !1), t.code ??= "custom", t.input ??= n.value, t.inst ??= e, n.issues.push(Hd(t));
15153
15203
  }
15154
15204
  };
15155
15205
  let i = t.transform(n.value, n);
15156
15206
  return i instanceof Promise ? i.then((e) => (n.value = e, n.fallback = !0, n)) : (n.value = i, n.fallback = !0, n);
15157
15207
  };
15158
15208
  });
15159
- function t_(e) {
15160
- return new e_({
15209
+ function n_(e) {
15210
+ return new t_({
15161
15211
  type: "transform",
15162
15212
  transform: e
15163
15213
  });
15164
15214
  }
15165
- var n_ = /*@__PURE__*/ G("ZodOptional", (e, t) => {
15166
- Zp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Hh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15215
+ var r_ = /*@__PURE__*/ G("ZodOptional", (e, t) => {
15216
+ Qp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Uh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15167
15217
  });
15168
- function r_(e) {
15169
- return new n_({
15218
+ function i_(e) {
15219
+ return new r_({
15170
15220
  type: "optional",
15171
15221
  innerType: e
15172
15222
  });
15173
15223
  }
15174
- var i_ = /*@__PURE__*/ G("ZodExactOptional", (e, t) => {
15175
- Qp.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Hh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15224
+ var a_ = /*@__PURE__*/ G("ZodExactOptional", (e, t) => {
15225
+ $p.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Uh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15176
15226
  });
15177
- function a_(e) {
15178
- return new i_({
15227
+ function o_(e) {
15228
+ return new a_({
15179
15229
  type: "optional",
15180
15230
  innerType: e
15181
15231
  });
15182
15232
  }
15183
- var o_ = /*@__PURE__*/ G("ZodNullable", (e, t) => {
15184
- $p.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Fh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15233
+ var s_ = /*@__PURE__*/ G("ZodNullable", (e, t) => {
15234
+ em.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ih(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15185
15235
  });
15186
- function s_(e) {
15187
- return new o_({
15236
+ function c_(e) {
15237
+ return new s_({
15188
15238
  type: "nullable",
15189
15239
  innerType: e
15190
15240
  });
15191
15241
  }
15192
- var c_ = /*@__PURE__*/ G("ZodDefault", (e, t) => {
15193
- em.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Lh(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
15242
+ var l_ = /*@__PURE__*/ G("ZodDefault", (e, t) => {
15243
+ tm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Rh(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
15194
15244
  });
15195
- function l_(e, t) {
15196
- return new c_({
15245
+ function u_(e, t) {
15246
+ return new l_({
15197
15247
  type: "default",
15198
15248
  innerType: e,
15199
15249
  get defaultValue() {
15200
- return typeof t == "function" ? t() : Sd(t);
15250
+ return typeof t == "function" ? t() : Cd(t);
15201
15251
  }
15202
15252
  });
15203
15253
  }
15204
- var u_ = /*@__PURE__*/ G("ZodPrefault", (e, t) => {
15205
- nm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Rh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15254
+ var d_ = /*@__PURE__*/ G("ZodPrefault", (e, t) => {
15255
+ rm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => zh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15206
15256
  });
15207
- function d_(e, t) {
15208
- return new u_({
15257
+ function f_(e, t) {
15258
+ return new d_({
15209
15259
  type: "prefault",
15210
15260
  innerType: e,
15211
15261
  get defaultValue() {
15212
- return typeof t == "function" ? t() : Sd(t);
15262
+ return typeof t == "function" ? t() : Cd(t);
15213
15263
  }
15214
15264
  });
15215
15265
  }
15216
- var f_ = /*@__PURE__*/ G("ZodNonOptional", (e, t) => {
15217
- rm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ih(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15266
+ var p_ = /*@__PURE__*/ G("ZodNonOptional", (e, t) => {
15267
+ im.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Lh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15218
15268
  });
15219
- function p_(e, t) {
15220
- return new f_({
15269
+ function m_(e, t) {
15270
+ return new p_({
15221
15271
  type: "nonoptional",
15222
15272
  innerType: e,
15223
15273
  ...q(t)
15224
15274
  });
15225
15275
  }
15226
- var m_ = /*@__PURE__*/ G("ZodCatch", (e, t) => {
15227
- am.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => zh(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
15276
+ var h_ = /*@__PURE__*/ G("ZodCatch", (e, t) => {
15277
+ om.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Bh(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
15228
15278
  });
15229
- function h_(e, t) {
15230
- return new m_({
15279
+ function g_(e, t) {
15280
+ return new h_({
15231
15281
  type: "catch",
15232
15282
  innerType: e,
15233
15283
  catchValue: typeof t == "function" ? t : () => t
15234
15284
  });
15235
15285
  }
15236
- var g_ = /*@__PURE__*/ G("ZodPipe", (e, t) => {
15237
- om.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Bh(e, t, n, r), e.in = t.in, e.out = t.out;
15286
+ var __ = /*@__PURE__*/ G("ZodPipe", (e, t) => {
15287
+ sm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Vh(e, t, n, r), e.in = t.in, e.out = t.out;
15238
15288
  });
15239
- function __(e, t) {
15240
- return new g_({
15289
+ function v_(e, t) {
15290
+ return new __({
15241
15291
  type: "pipe",
15242
15292
  in: e,
15243
15293
  out: t
15244
15294
  });
15245
15295
  }
15246
- var v_ = /*@__PURE__*/ G("ZodReadonly", (e, t) => {
15247
- cm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Vh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15296
+ var y_ = /*@__PURE__*/ G("ZodReadonly", (e, t) => {
15297
+ lm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Hh(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
15248
15298
  });
15249
- function y_(e) {
15250
- return new v_({
15299
+ function b_(e) {
15300
+ return new y_({
15251
15301
  type: "readonly",
15252
15302
  innerType: e
15253
15303
  });
15254
15304
  }
15255
- var b_ = /*@__PURE__*/ G("ZodCustom", (e, t) => {
15256
- um.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => kh(e, t, n, r);
15305
+ var x_ = /*@__PURE__*/ G("ZodCustom", (e, t) => {
15306
+ dm.init(e, t), Q.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ah(e, t, n, r);
15257
15307
  });
15258
- function x_(e, t = {}) {
15259
- return /* @__PURE__ */ hh(b_, e, t);
15308
+ function S_(e, t = {}) {
15309
+ return /* @__PURE__ */ gh(x_, e, t);
15260
15310
  }
15261
- function S_(e, t) {
15262
- return /* @__PURE__ */ gh(e, t);
15311
+ function C_(e, t) {
15312
+ return /* @__PURE__ */ _h(e, t);
15263
15313
  }
15264
15314
  //#endregion
15265
15315
  //#region ../ui-library/src/composites/device-list/batch-actions-bar.tsx
15266
15316
  d(), d();
15267
15317
  //#endregion
15268
15318
  //#region ../ui-library/src/composites/device-meta.ts
15269
- var C_ = {
15319
+ var w_ = {
15270
15320
  [O.Camera]: {
15271
15321
  icon: g,
15272
15322
  label: "Camera"
@@ -15391,7 +15441,7 @@ var C_ = {
15391
15441
  icon: ge,
15392
15442
  label: "Pet feeder"
15393
15443
  }
15394
- }, w_ = {
15444
+ }, T_ = {
15395
15445
  [E.Siren]: {
15396
15446
  icon: Tt,
15397
15447
  label: "Siren"
@@ -15584,42 +15634,42 @@ var C_ = {
15584
15634
  icon: me,
15585
15635
  label: "Notifier"
15586
15636
  }
15587
- }, T_ = new Set(Object.values(O));
15637
+ }, E_ = new Set(Object.values(O));
15588
15638
  new Set(Object.values(E));
15589
- function E_(e) {
15590
- return T_.has(e);
15639
+ function D_(e) {
15640
+ return E_.has(e);
15591
15641
  }
15592
- var D_ = C_[O.Generic];
15593
- w_[E.GenericSensor];
15594
- function O_(e) {
15595
- return E_(e) ? C_[e] ?? D_ : D_;
15642
+ var O_ = w_[O.Generic];
15643
+ T_[E.GenericSensor];
15644
+ function k_(e) {
15645
+ return D_(e) ? w_[e] ?? O_ : O_;
15596
15646
  }
15597
15647
  //#endregion
15598
15648
  //#region ../ui-library/src/hooks/use-device-detections.ts
15599
15649
  Object.values(O).map((e) => {
15600
- let t = O_(e);
15650
+ let t = k_(e);
15601
15651
  return {
15602
15652
  id: e,
15603
15653
  label: t.label,
15604
15654
  icon: t.icon
15605
15655
  };
15606
- }), d(), d(), d(), d(), d(), l(null), d(), new Set([O.Sensor, O.Presence]), d(), l({}), d(), d(), Object.freeze([]), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), qg({
15607
- id: Fg(),
15608
- stableId: mg(),
15609
- addonId: mg(),
15610
- type: mg(),
15611
- name: mg(),
15612
- online: zg(),
15613
- disabled: zg(),
15614
- parentDeviceId: Fg().nullable(),
15615
- role: mg().nullable().optional(),
15616
- features: Gg(mg()).optional(),
15617
- isCamera: zg().optional()
15656
+ }), d(), d(), d(), d(), d(), l(null), d(), new Set([O.Sensor, O.Presence]), d(), l({}), d(), d(), Object.freeze([]), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), Jg({
15657
+ id: Ig(),
15658
+ stableId: hg(),
15659
+ addonId: hg(),
15660
+ type: hg(),
15661
+ name: hg(),
15662
+ online: Bg(),
15663
+ disabled: Bg(),
15664
+ parentDeviceId: Ig().nullable(),
15665
+ role: hg().nullable().optional(),
15666
+ features: Kg(hg()).optional(),
15667
+ isCamera: Bg().optional()
15618
15668
  }), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), d(), p("camstack:zone-editing", null), d(), d();
15619
15669
  //#endregion
15620
15670
  //#region ../ui-library/src/hooks/turn-server-cache.ts
15621
- var k_ = 5 * 6e4, A_ = 720 * 6e4, j_ = "camstack:turn-servers:v1";
15622
- function M_() {
15671
+ var A_ = 5 * 6e4, j_ = 720 * 6e4, M_ = "camstack:turn-servers:v1";
15672
+ function N_() {
15623
15673
  let e = globalThis;
15624
15674
  try {
15625
15675
  return e.localStorage ?? null;
@@ -15627,7 +15677,7 @@ function M_() {
15627
15677
  return null;
15628
15678
  }
15629
15679
  }
15630
- function N_(e) {
15680
+ function P_(e) {
15631
15681
  if (typeof e != "object" || !e) return !1;
15632
15682
  let t = e;
15633
15683
  return typeof t.fetchedAt != "number" || !Array.isArray(t.servers) ? !1 : t.servers.every((e) => {
@@ -15636,7 +15686,7 @@ function N_(e) {
15636
15686
  return !(!(typeof t.urls == "string" || Array.isArray(t.urls) && t.urls.every((e) => typeof e == "string")) || t.username !== void 0 && typeof t.username != "string" || t.credential !== void 0 && typeof t.credential != "string");
15637
15687
  });
15638
15688
  }
15639
- var P_ = class {
15689
+ var F_ = class {
15640
15690
  freshTtlMs;
15641
15691
  staleCapMs;
15642
15692
  storage;
@@ -15645,7 +15695,7 @@ var P_ = class {
15645
15695
  memory = /* @__PURE__ */ new WeakMap();
15646
15696
  inflight = /* @__PURE__ */ new WeakMap();
15647
15697
  constructor(e = {}) {
15648
- this.freshTtlMs = e.freshTtlMs ?? k_, this.staleCapMs = e.staleCapMs ?? A_, this.storage = "storage" in e ? e.storage ?? null : M_(), this.now = e.now ?? (() => Date.now()), this.storageKey = e.storageKey ?? j_;
15698
+ this.freshTtlMs = e.freshTtlMs ?? A_, this.staleCapMs = e.staleCapMs ?? j_, this.storage = "storage" in e ? e.storage ?? null : N_(), this.now = e.now ?? (() => Date.now()), this.storageKey = e.storageKey ?? M_;
15649
15699
  }
15650
15700
  async getOrFetch(e, t) {
15651
15701
  let n = this.now(), r = this.memory.get(e) ?? this.readStorage();
@@ -15683,7 +15733,7 @@ var P_ = class {
15683
15733
  let e = this.storage.getItem(this.storageKey);
15684
15734
  if (e === null) return;
15685
15735
  let t = JSON.parse(e);
15686
- return N_(t) ? t : void 0;
15736
+ return P_(t) ? t : void 0;
15687
15737
  } catch {
15688
15738
  return;
15689
15739
  }
@@ -15694,10 +15744,10 @@ var P_ = class {
15694
15744
  } catch {}
15695
15745
  }
15696
15746
  };
15697
- d(), new P_(), d(), d(), d(), i(() => import("./MaskShapeCanvas-BEVxAjNq.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), i(() => import("./MotionZonesSettings-BVKF49rs.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./SceneMonitorEditor-3ApQNn3a.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), i(() => import("./PrivacyMaskSettings-DoIRAuP_.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
15747
+ d(), new F_(), d(), d(), d(), i(() => import("./MaskShapeCanvas-BEVxAjNq.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), i(() => import("./MotionZonesSettings-DjSGOYEZ.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./SceneMonitorEditor-lFwk-5Ag.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), i(() => import("./PrivacyMaskSettings-BrJjxUTV.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
15698
15748
  //#endregion
15699
15749
  //#region src/ui/osd-page-model.ts
15700
- function F_() {
15750
+ function I_() {
15701
15751
  return {
15702
15752
  enabled: !0,
15703
15753
  source: {
@@ -15709,13 +15759,13 @@ function F_() {
15709
15759
  fallbackText: ""
15710
15760
  };
15711
15761
  }
15712
- function I_(e) {
15713
- return e.binding === null ? F_() : e.binding.conditions?.devices === void 0 ? e.binding : {
15762
+ function L_(e) {
15763
+ return e.binding === null ? I_() : e.binding.conditions?.devices === void 0 ? e.binding : {
15714
15764
  ...e.binding,
15715
- conditions: iv(e.binding.conditions, "devices")
15765
+ conditions: av(e.binding.conditions, "devices")
15716
15766
  };
15717
15767
  }
15718
- function L_(e) {
15768
+ function R_(e) {
15719
15769
  if (e !== void 0) {
15720
15770
  if (e.valueType === "boolean") return {
15721
15771
  true: "ON",
@@ -15724,47 +15774,47 @@ function L_(e) {
15724
15774
  if (e.valueType === "enum" && e.enumValues && e.enumValues.length > 0) return Object.fromEntries(e.enumValues.map((e) => [e, e]));
15725
15775
  }
15726
15776
  }
15727
- function R_(e, t) {
15777
+ function z_(e, t) {
15728
15778
  if (t.source.kind !== "device-state") return;
15729
15779
  let { deviceId: n, capName: r, valuePath: i } = t.source;
15730
15780
  return e.find((e) => e.deviceId === n && e.capName === r && e.valuePath === i);
15731
15781
  }
15732
- function z_(e) {
15782
+ function B_(e) {
15733
15783
  if (e === null) return "Unbound";
15734
15784
  let t = e.source;
15735
15785
  return t.kind === "static" ? `Static: "${t.text}"` : t.kind === "clock" ? `Clock (${t.pattern})` : t.kind === "latest-recognition" ? t.recognition === "person" ? "Last recognized person" : "Last recognized plate" : `${t.capName} · ${t.valuePath}`;
15736
15786
  }
15737
- function B_(e, t) {
15787
+ function V_(e, t) {
15738
15788
  if (!e) return "unsupported";
15739
15789
  let n = t.filter((e) => !e.readOnly);
15740
15790
  if (n.length === 0) return "disabled";
15741
15791
  let r = n.filter((e) => e.binding?.enabled === !0).length;
15742
15792
  return r === 0 ? "disabled" : r === n.length ? "enabled" : "partial";
15743
15793
  }
15744
- var V_ = {
15794
+ var H_ = {
15745
15795
  unsupported: "Unsupported",
15746
15796
  disabled: "Disabled",
15747
15797
  partial: "Partial",
15748
15798
  enabled: "Enabled"
15749
15799
  };
15750
- function H_(e) {
15751
- return V_[e];
15800
+ function U_(e) {
15801
+ return H_[e];
15752
15802
  }
15753
- var U_ = {
15803
+ var W_ = {
15754
15804
  unsupported: "default",
15755
15805
  disabled: "default",
15756
15806
  partial: "warning",
15757
15807
  enabled: "success"
15758
15808
  };
15759
- function W_(e) {
15760
- return U_[e];
15809
+ function G_(e) {
15810
+ return W_[e];
15761
15811
  }
15762
- function G_(e, t) {
15812
+ function K_(e, t) {
15763
15813
  let n = /* @__PURE__ */ new Map();
15764
15814
  for (let r of e) {
15765
15815
  let e = r.binding;
15766
15816
  if (e === null || !e.enabled) continue;
15767
- let [i, a] = K_(e.source, t);
15817
+ let [i, a] = q_(e.source, t);
15768
15818
  n.set(i, a);
15769
15819
  }
15770
15820
  return [...n.entries()].map(([e, t]) => ({
@@ -15772,7 +15822,7 @@ function G_(e, t) {
15772
15822
  label: t
15773
15823
  }));
15774
15824
  }
15775
- function K_(e, t) {
15825
+ function q_(e, t) {
15776
15826
  if (e.kind === "static") return ["static", "Static text"];
15777
15827
  if (e.kind === "clock") return ["clock", "Clock"];
15778
15828
  if (e.kind === "latest-recognition") return e.recognition === "person" ? ["recognition:person", "Recognized person"] : ["recognition:plate", "Recognized plate"];
@@ -15780,7 +15830,7 @@ function K_(e, t) {
15780
15830
  let n = t.get(e.deviceId);
15781
15831
  return [`device-state:${e.deviceId}`, n === void 0 ? "Linked device" : `Linked: ${n}`];
15782
15832
  }
15783
- var q_ = {
15833
+ var J_ = {
15784
15834
  written: "Written",
15785
15835
  unchanged: "Unchanged",
15786
15836
  gated: "Gated (condition closed)",
@@ -15789,10 +15839,10 @@ var q_ = {
15789
15839
  unbound: "Unbound",
15790
15840
  failed: "Write failed"
15791
15841
  };
15792
- function J_(e) {
15793
- return q_[e];
15842
+ function Y_(e) {
15843
+ return J_[e];
15794
15844
  }
15795
- var Y_ = {
15845
+ var X_ = {
15796
15846
  written: "success",
15797
15847
  unchanged: "success",
15798
15848
  gated: "warning",
@@ -15801,10 +15851,10 @@ var Y_ = {
15801
15851
  unbound: "default",
15802
15852
  failed: "danger"
15803
15853
  };
15804
- function X_(e) {
15805
- return Y_[e];
15854
+ function Z_(e) {
15855
+ return X_[e];
15806
15856
  }
15807
- var Z_ = [
15857
+ var Q_ = [
15808
15858
  "Sun",
15809
15859
  "Mon",
15810
15860
  "Tue",
@@ -15813,7 +15863,7 @@ var Z_ = [
15813
15863
  "Fri",
15814
15864
  "Sat"
15815
15865
  ];
15816
- function Q_() {
15866
+ function $_() {
15817
15867
  return {
15818
15868
  days: [
15819
15869
  0,
@@ -15828,15 +15878,15 @@ function Q_() {
15828
15878
  endMinute: 1439
15829
15879
  };
15830
15880
  }
15831
- function $_(e) {
15881
+ function ev(e) {
15832
15882
  let t = Math.floor(e / 60) % 24, n = e % 60;
15833
15883
  return `${String(t).padStart(2, "0")}:${String(n).padStart(2, "0")}`;
15834
15884
  }
15835
- function ev(e) {
15885
+ function tv(e) {
15836
15886
  let [t, n] = e.split(":"), r = Number(t), i = Number(n);
15837
15887
  return !Number.isFinite(r) || !Number.isFinite(i) ? 0 : Math.min(1439, Math.max(0, r * 60 + i));
15838
15888
  }
15839
- function tv(e, t) {
15889
+ function nv(e, t) {
15840
15890
  let n = e.days.includes(t);
15841
15891
  if (n && e.days.length === 1) return e;
15842
15892
  let r = n ? e.days.filter((e) => e !== t) : [...e.days, t].toSorted((e, t) => e - t);
@@ -15845,18 +15895,18 @@ function tv(e, t) {
15845
15895
  days: r
15846
15896
  };
15847
15897
  }
15848
- var nv = re.options;
15849
- function rv(e) {
15850
- return e === void 0 ? [] : se(e, nv);
15898
+ var rv = re.options;
15899
+ function iv(e) {
15900
+ return e === void 0 ? [] : se(e, rv);
15851
15901
  }
15852
- function iv(e, t) {
15902
+ function av(e, t) {
15853
15903
  if (e === void 0) return;
15854
15904
  let { [t]: n, ...r } = e;
15855
15905
  return Object.keys(r).length === 0 ? void 0 : r;
15856
15906
  }
15857
15907
  //#endregion
15858
15908
  //#region src/components/SourceEditor.tsx
15859
- var av = [
15909
+ var ov = [
15860
15910
  {
15861
15911
  value: "static",
15862
15912
  label: "Static text"
@@ -15874,10 +15924,10 @@ var av = [
15874
15924
  label: "Latest recognition"
15875
15925
  }
15876
15926
  ];
15877
- function ov(e) {
15927
+ function sv(e) {
15878
15928
  return `${e.deviceId}:${e.capName}:${e.valuePath}`;
15879
15929
  }
15880
- function sv({ source: e, sources: t, onChange: n }) {
15930
+ function cv({ source: e, sources: t, onChange: n }) {
15881
15931
  return /* @__PURE__ */ w("div", {
15882
15932
  className: "space-y-2",
15883
15933
  children: [
@@ -15887,7 +15937,7 @@ function sv({ source: e, sources: t, onChange: n }) {
15887
15937
  }), /* @__PURE__ */ C(Gr, {
15888
15938
  id: "osd-source-kind",
15889
15939
  value: e.kind,
15890
- options: av,
15940
+ options: ov,
15891
15941
  onChange: (e) => {
15892
15942
  let r = e.target.value;
15893
15943
  if (r === "static") n({
@@ -15965,7 +16015,7 @@ function sv({ source: e, sources: t, onChange: n }) {
15965
16015
  children: "No bindable device-state values were found for this camera."
15966
16016
  }) : /* @__PURE__ */ C(Gr, {
15967
16017
  id: "osd-source-device-state",
15968
- value: ov({
16018
+ value: sv({
15969
16019
  deviceId: e.deviceId ?? 0,
15970
16020
  deviceName: "",
15971
16021
  capName: e.capName,
@@ -15974,11 +16024,11 @@ function sv({ source: e, sources: t, onChange: n }) {
15974
16024
  valueType: "string"
15975
16025
  }),
15976
16026
  options: t.map((e) => ({
15977
- value: ov(e),
16027
+ value: sv(e),
15978
16028
  label: e.label
15979
16029
  })),
15980
16030
  onChange: (e) => {
15981
- let r = t.find((t) => ov(t) === e.target.value);
16031
+ let r = t.find((t) => sv(t) === e.target.value);
15982
16032
  r && n({
15983
16033
  kind: "device-state",
15984
16034
  deviceId: r.deviceId,
@@ -16010,7 +16060,7 @@ function sv({ source: e, sources: t, onChange: n }) {
16010
16060
  }
16011
16061
  //#endregion
16012
16062
  //#region src/components/ValueMapEditor.tsx
16013
- function cv({ valueMap: e, onChange: t }) {
16063
+ function lv({ valueMap: e, onChange: t }) {
16014
16064
  let n = Object.entries(e ?? {});
16015
16065
  function r(e) {
16016
16066
  if (e.length === 0) {
@@ -16070,13 +16120,13 @@ function cv({ valueMap: e, onChange: t }) {
16070
16120
  }
16071
16121
  //#endregion
16072
16122
  //#region src/components/ScheduleEditor.tsx
16073
- function lv(e, t, n) {
16123
+ function uv(e, t, n) {
16074
16124
  return {
16075
16125
  ...e,
16076
16126
  windows: e.windows.map((e, r) => r === t ? n : e)
16077
16127
  };
16078
16128
  }
16079
- function uv({ schedule: e, onChange: t }) {
16129
+ function dv({ schedule: e, onChange: t }) {
16080
16130
  let n = e !== void 0;
16081
16131
  return /* @__PURE__ */ w("div", {
16082
16132
  className: "space-y-3",
@@ -16084,7 +16134,7 @@ function uv({ schedule: e, onChange: t }) {
16084
16134
  className: "flex items-center gap-2 text-xs text-foreground",
16085
16135
  children: [/* @__PURE__ */ C(Mi, {
16086
16136
  checked: n,
16087
- onChange: () => t(n ? void 0 : { windows: [Q_()] })
16137
+ onChange: () => t(n ? void 0 : { windows: [$_()] })
16088
16138
  }), "Only show on a schedule"]
16089
16139
  }), e && /* @__PURE__ */ w("div", {
16090
16140
  className: "space-y-3",
@@ -16093,11 +16143,11 @@ function uv({ schedule: e, onChange: t }) {
16093
16143
  children: [
16094
16144
  /* @__PURE__ */ C("div", {
16095
16145
  className: "flex flex-wrap gap-1.5",
16096
- children: Z_.map((i, a) => /* @__PURE__ */ C("button", {
16146
+ children: Q_.map((i, a) => /* @__PURE__ */ C("button", {
16097
16147
  type: "button",
16098
16148
  "aria-pressed": n.days.includes(a),
16099
16149
  className: ["px-1.5 py-0.5 rounded text-[10px] font-medium", n.days.includes(a) ? "bg-primary text-primary-foreground" : "bg-surface-hover text-foreground-muted"].join(" "),
16100
- onClick: () => t(lv(e, r, tv(n, a))),
16150
+ onClick: () => t(uv(e, r, nv(n, a))),
16101
16151
  children: i
16102
16152
  }, a))
16103
16153
  }),
@@ -16110,10 +16160,10 @@ function uv({ schedule: e, onChange: t }) {
16110
16160
  id: `osd-schedule-start-${r}`,
16111
16161
  type: "time",
16112
16162
  className: "h-7 w-full px-2 text-xs bg-surface border border-border rounded-md text-foreground",
16113
- value: $_(n.startMinute),
16114
- onChange: (i) => t(lv(e, r, {
16163
+ value: ev(n.startMinute),
16164
+ onChange: (i) => t(uv(e, r, {
16115
16165
  ...n,
16116
- startMinute: ev(i.target.value)
16166
+ startMinute: tv(i.target.value)
16117
16167
  }))
16118
16168
  })] }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C(H, {
16119
16169
  htmlFor: `osd-schedule-end-${r}`,
@@ -16122,10 +16172,10 @@ function uv({ schedule: e, onChange: t }) {
16122
16172
  id: `osd-schedule-end-${r}`,
16123
16173
  type: "time",
16124
16174
  className: "h-7 w-full px-2 text-xs bg-surface border border-border rounded-md text-foreground",
16125
- value: $_(n.endMinute),
16126
- onChange: (i) => t(lv(e, r, {
16175
+ value: ev(n.endMinute),
16176
+ onChange: (i) => t(uv(e, r, {
16127
16177
  ...n,
16128
- endMinute: ev(i.target.value)
16178
+ endMinute: tv(i.target.value)
16129
16179
  }))
16130
16180
  })] })]
16131
16181
  }),
@@ -16146,7 +16196,7 @@ function uv({ schedule: e, onChange: t }) {
16146
16196
  size: "sm",
16147
16197
  onClick: () => t({
16148
16198
  ...e,
16149
- windows: [...e.windows, Q_()]
16199
+ windows: [...e.windows, $_()]
16150
16200
  }),
16151
16201
  children: "Add window"
16152
16202
  })]
@@ -16155,8 +16205,8 @@ function uv({ schedule: e, onChange: t }) {
16155
16205
  }
16156
16206
  //#endregion
16157
16207
  //#region src/components/ConditionsEditor.tsx
16158
- function dv({ conditions: e, supported: t, devices: n, deviceStateSnapshot: r, onSelectDeviceStateDevice: i, onChange: a }) {
16159
- let o = t.includes("deviceState"), s = rv(r);
16208
+ function fv({ conditions: e, supported: t, devices: n, deviceStateSnapshot: r, onSelectDeviceStateDevice: i, onChange: a }) {
16209
+ let o = t.includes("deviceState"), s = iv(r);
16160
16210
  return /* @__PURE__ */ w("div", {
16161
16211
  className: "space-y-3",
16162
16212
  children: [o && /* @__PURE__ */ w("div", {
@@ -16167,7 +16217,7 @@ function dv({ conditions: e, supported: t, devices: n, deviceStateSnapshot: r, o
16167
16217
  children: [/* @__PURE__ */ C(H, { children: "Only while another device is in state" }), e?.deviceState && /* @__PURE__ */ C("button", {
16168
16218
  type: "button",
16169
16219
  className: "text-xs text-foreground-muted hover:text-foreground",
16170
- onClick: () => a(iv(e, "deviceState")),
16220
+ onClick: () => a(av(e, "deviceState")),
16171
16221
  children: "Remove"
16172
16222
  })]
16173
16223
  }),
@@ -16183,7 +16233,7 @@ function dv({ conditions: e, supported: t, devices: n, deviceStateSnapshot: r, o
16183
16233
  }))],
16184
16234
  onChange: (t) => {
16185
16235
  let n = t.target.value === "" ? void 0 : Number(t.target.value);
16186
- i(n), a(n === void 0 ? iv(e, "deviceState") : {
16236
+ i(n), a(n === void 0 ? av(e, "deviceState") : {
16187
16237
  ...e,
16188
16238
  deviceState: {
16189
16239
  deviceId: n,
@@ -16226,12 +16276,12 @@ function dv({ conditions: e, supported: t, devices: n, deviceStateSnapshot: r, o
16226
16276
  //#endregion
16227
16277
  //#region src/components/SlotEditor.tsx
16228
16278
  d();
16229
- function fv({ deviceId: e, slot: t, sources: n, conditionSupport: i, devices: a, onClose: o, onSaved: s }) {
16230
- let [c, l] = r(() => I_(t)), [u, d] = r(c.conditions?.deviceState?.deviceId), [f, p] = r(void 0), m = on({ deviceId: u ?? 0 }, { enabled: u !== void 0 }), h = un(), g = dn(), _ = pn(), v = h.isPending || g.isPending || _.isPending, y = h.error ?? g.error ?? _.error;
16279
+ function pv({ deviceId: e, slot: t, sources: n, conditionSupport: i, devices: a, onClose: o, onSaved: s }) {
16280
+ let [c, l] = r(() => L_(t)), [u, d] = r(c.conditions?.deviceState?.deviceId), [f, p] = r(void 0), m = on({ deviceId: u ?? 0 }, { enabled: u !== void 0 }), h = un(), g = dn(), _ = pn(), v = h.isPending || g.isPending || _.isPending, y = h.error ?? g.error ?? _.error;
16231
16281
  function b(e) {
16232
16282
  l((t) => ({
16233
16283
  ...t,
16234
- valueMap: L_(e) ?? t.valueMap
16284
+ valueMap: R_(e) ?? t.valueMap
16235
16285
  }));
16236
16286
  }
16237
16287
  async function ee() {
@@ -16285,14 +16335,14 @@ function fv({ deviceId: e, slot: t, sources: n, conditionSupport: i, devices: a,
16285
16335
  }))
16286
16336
  }), "Binding enabled"]
16287
16337
  }),
16288
- /* @__PURE__ */ C(sv, {
16338
+ /* @__PURE__ */ C(cv, {
16289
16339
  source: c.source,
16290
16340
  sources: n,
16291
16341
  onChange: (e) => {
16292
16342
  l((t) => ({
16293
16343
  ...t,
16294
16344
  source: e
16295
- })), b(R_(n, {
16345
+ })), b(z_(n, {
16296
16346
  ...c,
16297
16347
  source: e
16298
16348
  }));
@@ -16370,21 +16420,21 @@ function fv({ deviceId: e, slot: t, sources: n, conditionSupport: i, devices: a,
16370
16420
  })
16371
16421
  ]
16372
16422
  }),
16373
- /* @__PURE__ */ C(cv, {
16423
+ /* @__PURE__ */ C(lv, {
16374
16424
  valueMap: c.valueMap,
16375
16425
  onChange: (e) => l((t) => ({
16376
16426
  ...t,
16377
16427
  valueMap: e
16378
16428
  }))
16379
16429
  }),
16380
- /* @__PURE__ */ C(uv, {
16430
+ /* @__PURE__ */ C(dv, {
16381
16431
  schedule: c.schedule,
16382
16432
  onChange: (e) => l((t) => ({
16383
16433
  ...t,
16384
16434
  schedule: e
16385
16435
  }))
16386
16436
  }),
16387
- /* @__PURE__ */ C(dv, {
16437
+ /* @__PURE__ */ C(fv, {
16388
16438
  conditions: c.conditions,
16389
16439
  supported: i,
16390
16440
  devices: a,
@@ -16403,8 +16453,8 @@ function fv({ deviceId: e, slot: t, sources: n, conditionSupport: i, devices: a,
16403
16453
  f && /* @__PURE__ */ w("div", {
16404
16454
  className: "flex items-center gap-2 text-xs",
16405
16455
  children: [/* @__PURE__ */ C(Qr, {
16406
- variant: X_(f.outcome),
16407
- children: J_(f.outcome)
16456
+ variant: Z_(f.outcome),
16457
+ children: Y_(f.outcome)
16408
16458
  }), /* @__PURE__ */ C("span", {
16409
16459
  className: "text-foreground-muted",
16410
16460
  children: f.text ? `"${f.text}"` : "(blank)"
@@ -16442,7 +16492,7 @@ function fv({ deviceId: e, slot: t, sources: n, conditionSupport: i, devices: a,
16442
16492
  //#endregion
16443
16493
  //#region src/components/DuplicateIntoAction.tsx
16444
16494
  d();
16445
- function pv({ source: e, destinations: t, onDuplicated: n }) {
16495
+ function mv({ source: e, destinations: t, onDuplicated: n }) {
16446
16496
  let [i, a] = r(!1), [o, s] = r(void 0), [c, l] = r(void 0), [u, d] = r(void 0), f = fn();
16447
16497
  if (t.length === 0) return null;
16448
16498
  function p() {
@@ -16537,8 +16587,8 @@ function pv({ source: e, destinations: t, onDuplicated: n }) {
16537
16587
  //#endregion
16538
16588
  //#region src/components/CameraOsdRow.tsx
16539
16589
  d();
16540
- var mv = 4;
16541
- function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDevices: a, deviceNameById: o, conditionSupport: s, destinations: c, onRefetchReady: l, refetchCamera: d }) {
16590
+ var hv = 4;
16591
+ function gv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDevices: a, deviceNameById: o, conditionSupport: s, destinations: c, onRefetchReady: l, refetchCamera: d }) {
16542
16592
  let [f, p] = r(void 0), m = sn({ deviceId: e.id }, { enabled: t }), h = cn({ deviceId: e.id }, { enabled: t && n && f !== void 0 }), g = mn();
16543
16593
  u(() => {
16544
16594
  t && l(e.id, () => void m.refetch());
@@ -16547,7 +16597,7 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16547
16597
  t,
16548
16598
  m.refetch
16549
16599
  ]);
16550
- let _ = m.data?.slots ?? [], v = B_(t, _), ee = G_(_, o), x = m.error ?? h.error ?? g.error, te = `osd-camera-detail-${e.id}`;
16600
+ let _ = m.data?.slots ?? [], v = V_(t, _), ee = K_(_, o), x = m.error ?? h.error ?? g.error, te = `osd-camera-detail-${e.id}`;
16551
16601
  return /* @__PURE__ */ w(T, { children: [/* @__PURE__ */ w("tr", {
16552
16602
  className: "border-b border-border last:border-b-0 align-top",
16553
16603
  children: [
@@ -16575,8 +16625,8 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16575
16625
  /* @__PURE__ */ C("td", {
16576
16626
  className: "px-2 py-2",
16577
16627
  children: /* @__PURE__ */ C(Qr, {
16578
- variant: W_(v),
16579
- children: H_(v)
16628
+ variant: G_(v),
16629
+ children: U_(v)
16580
16630
  })
16581
16631
  }),
16582
16632
  /* @__PURE__ */ C("td", {
@@ -16602,7 +16652,7 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16602
16652
  hidden: !n,
16603
16653
  className: "border-b border-border last:border-b-0",
16604
16654
  children: /* @__PURE__ */ C("td", {
16605
- colSpan: mv,
16655
+ colSpan: hv,
16606
16656
  className: "bg-surface-subtle/40 p-3",
16607
16657
  children: n && /* @__PURE__ */ w("div", {
16608
16658
  className: "space-y-3",
@@ -16621,7 +16671,7 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16621
16671
  disabled: g.isPending,
16622
16672
  onClick: () => g.mutate({ deviceId: e.id }, { onSuccess: () => void m.refetch() }),
16623
16673
  children: "Render now"
16624
- }), t && /* @__PURE__ */ C(pv, {
16674
+ }), t && /* @__PURE__ */ C(mv, {
16625
16675
  source: e,
16626
16676
  destinations: c,
16627
16677
  onDuplicated: (e) => {
@@ -16673,7 +16723,7 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16673
16723
  ]
16674
16724
  }), /* @__PURE__ */ w("p", {
16675
16725
  className: "text-xs text-foreground-muted truncate mt-1",
16676
- children: [z_(t.binding), t.cameraText ? ` · currently "${t.cameraText}"` : ""]
16726
+ children: [B_(t.binding), t.cameraText ? ` · currently "${t.cameraText}"` : ""]
16677
16727
  })]
16678
16728
  }), /* @__PURE__ */ C(V, {
16679
16729
  type: "button",
@@ -16685,7 +16735,7 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16685
16735
  })]
16686
16736
  }), f === t.slotId && /* @__PURE__ */ C("div", {
16687
16737
  className: "mt-3",
16688
- children: /* @__PURE__ */ C(fv, {
16738
+ children: /* @__PURE__ */ C(pv, {
16689
16739
  deviceId: e.id,
16690
16740
  slot: t,
16691
16741
  sources: h.data?.sources ?? [],
@@ -16707,7 +16757,7 @@ function hv({ camera: e, supportsOsd: t, isExpanded: n, onToggleExpand: i, allDe
16707
16757
  //#endregion
16708
16758
  //#region src/components/CameraOsdTable.tsx
16709
16759
  d();
16710
- function gv({ cameras: e, osdCapableIds: t, allDevices: n, conditionSupport: i }) {
16760
+ function _v({ cameras: e, osdCapableIds: t, allDevices: n, conditionSupport: i }) {
16711
16761
  let [a, c] = r(void 0), l = o(/* @__PURE__ */ new Map()), u = s(() => new Map(n.map((e) => [e.id, e.name])), [n]);
16712
16762
  function d(e, t) {
16713
16763
  l.current.set(e, t);
@@ -16746,7 +16796,7 @@ function gv({ cameras: e, osdCapableIds: t, allDevices: n, conditionSupport: i }
16746
16796
  children: "Active sources"
16747
16797
  })
16748
16798
  ]
16749
- }) }), /* @__PURE__ */ C("tbody", { children: e.map((r) => /* @__PURE__ */ C(hv, {
16799
+ }) }), /* @__PURE__ */ C("tbody", { children: e.map((r) => /* @__PURE__ */ C(gv, {
16750
16800
  camera: r,
16751
16801
  supportsOsd: t.has(r.id),
16752
16802
  isExpanded: a === r.id,
@@ -16764,7 +16814,7 @@ function gv({ cameras: e, osdCapableIds: t, allDevices: n, conditionSupport: i }
16764
16814
  //#endregion
16765
16815
  //#region src/page.tsx
16766
16816
  d();
16767
- function _v(e) {
16817
+ function vv(e) {
16768
16818
  let t = nn({ projection: "slim" }), n = an({}), r = s(() => (t.data ?? []).filter((e) => e.isCamera).map((e) => ({
16769
16819
  id: e.id,
16770
16820
  name: e.name
@@ -16793,7 +16843,7 @@ function _v(e) {
16793
16843
  className: "text-sm text-foreground-muted",
16794
16844
  children: "No cameras are registered."
16795
16845
  }) }),
16796
- r.length > 0 && /* @__PURE__ */ C(gv, {
16846
+ r.length > 0 && /* @__PURE__ */ C(_v, {
16797
16847
  cameras: r,
16798
16848
  osdCapableIds: a,
16799
16849
  allDevices: i,
@@ -16803,4 +16853,4 @@ function _v(e) {
16803
16853
  });
16804
16854
  }
16805
16855
  //#endregion
16806
- export { _v as default };
16856
+ export { vv as default };