@evercam/api 1.0.0-51caa5700 → 1.0.0-53d3bfead

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 (95) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +201 -15
  3. package/dist/api/api/adminApi.d.ts +89 -71
  4. package/dist/api/api/aiApi.d.ts +146 -86
  5. package/dist/api/api/authzApi.d.ts +29 -17
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +136 -100
  9. package/dist/api/api/evercamLabsApi.d.ts +7 -6
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +113 -46
  12. package/dist/api/api/ptzApi.d.ts +12 -3
  13. package/dist/api/api/videoWallApi.d.ts +2 -2
  14. package/dist/api/api/weatherApi.d.ts +2 -2
  15. package/dist/api/types/360.d.ts +258 -45
  16. package/dist/api/types/aconex.d.ts +9 -9
  17. package/dist/api/types/admin.d.ts +51 -0
  18. package/dist/api/types/aiConfigs.d.ts +242 -0
  19. package/dist/api/types/analytics.d.ts +120 -67
  20. package/dist/api/types/anpr.d.ts +48 -2
  21. package/dist/api/types/auditLogs.d.ts +19 -1
  22. package/dist/api/types/authz.d.ts +116 -6
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +56 -3
  25. package/dist/api/types/axios.d.ts +19 -14
  26. package/dist/api/types/bim.d.ts +38 -9
  27. package/dist/api/types/camera.d.ts +95 -100
  28. package/dist/api/types/comments.d.ts +10 -11
  29. package/dist/api/types/company.d.ts +42 -1
  30. package/dist/api/types/compare.d.ts +20 -5
  31. package/dist/api/types/connector.d.ts +5 -5
  32. package/dist/api/types/coolify.d.ts +18 -2
  33. package/dist/api/types/copilot.d.ts +11 -9
  34. package/dist/api/types/detections.d.ts +23 -18
  35. package/dist/api/types/drone.d.ts +95 -6
  36. package/dist/api/types/errors.d.ts +13 -1
  37. package/dist/api/types/gateReport.d.ts +49 -168
  38. package/dist/api/types/gateReportManagement.d.ts +170 -0
  39. package/dist/api/types/hammertech.d.ts +98 -0
  40. package/dist/api/types/hdd.d.ts +26 -1
  41. package/dist/api/types/index.d.ts +14 -2
  42. package/dist/api/types/ingest.d.ts +187 -4
  43. package/dist/api/types/kit.d.ts +72 -56
  44. package/dist/api/types/map.d.ts +12 -0
  45. package/dist/api/types/media.d.ts +10 -3
  46. package/dist/api/types/notification.d.ts +72 -3
  47. package/dist/api/types/oauth.d.ts +62 -0
  48. package/dist/api/types/observationEvents.d.ts +61 -0
  49. package/dist/api/types/observations.d.ts +84 -0
  50. package/dist/api/types/planner.d.ts +97 -8
  51. package/dist/api/types/posthog.d.ts +35 -0
  52. package/dist/api/types/procore.d.ts +13 -6
  53. package/dist/api/types/progressPhoto.d.ts +6 -2
  54. package/dist/api/types/project.d.ts +108 -22
  55. package/dist/api/types/recording.d.ts +9 -15
  56. package/dist/api/types/recycleBin.d.ts +1 -1
  57. package/dist/api/types/ring.d.ts +53 -0
  58. package/dist/api/types/roi.d.ts +3 -11
  59. package/dist/api/types/routeParams.d.ts +1 -0
  60. package/dist/api/types/router.d.ts +20 -1
  61. package/dist/api/types/shared.d.ts +29 -22
  62. package/dist/api/types/shares.d.ts +6 -157
  63. package/dist/api/types/sim.d.ts +6 -6
  64. package/dist/api/types/siteAnalytics.d.ts +169 -47
  65. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  66. package/dist/api/types/siteView.d.ts +73 -0
  67. package/dist/api/types/smartSeach.d.ts +5 -0
  68. package/dist/api/types/snapshots.d.ts +49 -4
  69. package/dist/api/types/socket.d.ts +4 -0
  70. package/dist/api/types/storageProvider.d.ts +19 -0
  71. package/dist/api/types/storyblok.d.ts +27 -0
  72. package/dist/api/types/streaming.d.ts +3 -3
  73. package/dist/api/types/tag.d.ts +1 -1
  74. package/dist/api/types/time.d.ts +0 -18
  75. package/dist/api/types/timelapse.d.ts +7 -11
  76. package/dist/api/types/user.d.ts +102 -35
  77. package/dist/api/types/videoWall.d.ts +21 -21
  78. package/dist/api/types/weather.d.ts +75 -11
  79. package/dist/api/types/widget.d.ts +71 -12
  80. package/dist/api/types/xweather.d.ts +4 -4
  81. package/dist/api/utils.d.ts +0 -1
  82. package/dist/index.js +2270 -1088
  83. package/dist/index.js.map +1 -1
  84. package/dist/index.umd.cjs +1 -1
  85. package/dist/index.umd.cjs.map +1 -1
  86. package/dist/shared/types/components.d.ts +211 -34
  87. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  88. package/dist/shared/types/imagePlayer.d.ts +9 -2
  89. package/dist/shared/types/index.d.ts +3 -0
  90. package/dist/shared/types/observations.d.ts +25 -0
  91. package/dist/shared/types/rbac.d.ts +67 -0
  92. package/dist/shared/types/timeline.d.ts +2 -1
  93. package/package.json +4 -2
  94. package/dist/api/types/storageServers.d.ts +0 -4
  95. package/dist/api/types/vendorModel.d.ts +0 -15
package/dist/index.js CHANGED
@@ -1,20 +1,44 @@
1
- var E = Object.defineProperty;
2
- var C = (e, r, t) => r in e ? E(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var B = (e, r, t) => C(e, typeof r != "symbol" ? r + "" : r, t);
4
- import b from "axios";
5
- import w from "humps";
6
- var A = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(A || {}), I = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(I || {}), y = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.String = "STRING", e.Boolean = "BOOLEAN", e.Ratio = "RATIO", e.Integer = "INTEGER", e.Double = "DOUBLE", e.Long = "LONG", e.Date = "DATE", e.Complex = "COMPLEX", e.SingleLineText = "SINGLE_LINE_TEXT", e.MultiLineText = "MULTI_LINE_TEXT", e.SingleSelect = "SINGLE_SELECT", e.MultiSelect = "MULTI_SELECT", e.User = "USER", e.Number = "NUMBER", e))(te || {}), se = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(se || {}), oe = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(oe || {}), ie = /* @__PURE__ */ ((e) => (e.DocumentNumber = "DocumentNumber", e.DocumentTypeId = "DocumentTypeId", e.Revision = "Revision", e.HasFile = "HasFile", e.AccessList = "AccessList", e.AsBuiltRequired = "AsBuiltRequired", e.Attribute1 = "Attribute1", e.Attribute2 = "Attribute2", e.Attribute3 = "Attribute3", e.Attribute4 = "Attribute4", e.Author = "Author", e.AuthorisedBy = "AuthorisedBy", e.Category = "Category", e.Check1 = "Check1", e.Check2 = "Check2", e.Comments = "Comments", e.Comments2 = "Comments2", e.ContractNumber = "ContractNumber", e.ContractDeliverable = "ContractDeliverable", e.ContractorDocumentNumber = "ContractorDocumentNumber", e.ContractorRev = "ContractorRev", e.Date1 = "Date1", e.Date2 = "Date2", e.DateApproved = "DateApproved", e.DateCreated = "DateCreated", e.DateForReview = "DateForReview", e.DateReviewed = "DateReviewed", e.Discipline = "Discipline", e.DocumentStatusId = "DocumentStatusId", e.MilestoneDate = "MilestoneDate", e.PackageNumber = "PackageNumber", e.PercentageComplete = "PercentageComplete", e.PlannedSubmissionDate = "PlannedSubmissionDate", e.PrintSize = "PrintSize", e.ProjectField1 = "ProjectField1", e.ProjectField2 = "ProjectField2", e.ProjectField3 = "ProjectField3", e.Reference = "Reference", e.RevisionDate = "RevisionDate", e.Scale = "Scale", e.SelectList1 = "SelectList1", e.SelectList2 = "SelectList2", e.SelectList3 = "SelectList3", e.SelectList4 = "SelectList4", e.SelectList5 = "SelectList5", e.SelectList6 = "SelectList6", e.SelectList7 = "SelectList7", e.SelectList8 = "SelectList8", e.SelectList9 = "SelectList9", e.SelectList10 = "SelectList10", e.TagNumber = "TagNumber", e.Title = "Title", e.ToClientDate = "ToClientDate", e.UploadDate = "UploadDate", e.UploadedBy = "UploadedBy", e.Vdrcode = "Vdrcode", e.VendorDocumentNumber = "VendorDocumentNumber", e.VendorRev = "VendorRev", e.AutoNumber = "AutoNumber", e))(ie || {}), le = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e.Drawings = "Drawings", e))(le || {}), ne = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", e.WidgetsPauseWidget = "PauseWidget", e.WidgetsEditWidget = "EditWidget", e.WidgetsOpenCredentials = "OpenCredentials", e.WidgetsCopyEmbeddedCode = "CopyEmbeddedCode", e.WidgetsCopyIFrameCode = "CopyIFrameCode", e.WidgetsCopyURLCode = "CopyURLCode", e.WidgetsDeleteWidget = "DeleteWidget", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.AiToolToggleBrainToolsMenu = "AITool-ToggleBrainToolsMenu", e.AiToolSelectObjectDetection = "AITool-SelectObjectDetection", e.AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt", e.AiToolSelectSegmentation = "AITool-SelectSegmentation", e.AiToolUpdateTransparency = "AITool-UpdateTransparency", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes", e.ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange", e.ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures", e.ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName", e.ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy", e.ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem", e.ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick", e.ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog", e.ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters", e.ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName", e.ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.ThreeSixtyEnableCommentTool = "EnableCommentTool", e.ThreeSixtyLockCompare = "LockCompare", e.ThreeSixtyLockForgeBIM = "LockForgeBIM", e.ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked", e.ThreeSixtyMiniMapMarkerClicked = "MiniMapMarkerClicked", e.ThreeSixtyOpen = "Open", e.ThreeSixtyOpenCompare = "OpenCompare", e.ThreeSixtyOpenForgeBIM = "OpenForgeBIM", e.ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList", e.ThreeSixtyOpenCommentsList = "OpenCommentsList", e.ThreeSixtySaveComment = "SaveComment", e.ThreeSixtyUnarchiveComment = "UnarchiveComment", e.ThreeSixtyArchiveComment = "ArchiveComment", e.ThreeSixtyShareView = "ShareView", e.ThreeSixtyCommentClicked = "CommentClicked", e.ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility", e.ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility", e.ThreeSixtyToggleMiniModel = "ToggleMiniModel", e.ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility", e.ThreeSixtyTourPause = "Tour-Pause", e.ThreeSixtyTourPlay = "Tour-Play", e.ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5", e.ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1", e.ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2", e.ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4", e.ThreeSixtyTourToggleLoop = "Tour-ToggleLoop", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseTagType = "ChooseTagType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSaveTag = "SaveTag", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleTagsVisibility = "Settings-ToggleTagsVisibility", e.DroneShareLink = "ShareLink", e.DroneTagsToolClick = "TagsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.DroneUploadSkipping = "SkipImageUpload", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.DrawingCreateSave = "CreateSave", e.DrawingUpdateSave = "UpdateSave", e.DrawingEditName = "EditName", e.DrawingUpdateName = "UpdateName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingClickHome = "ClickHome", e.DrawingsUploadDrawing = "UploadDrawing", e.DrawingsCreateDrawing = "CreateDrawing", e.DrawingToggleFilter = "ToggleFilter", e.DrawingToggleMapStyle = "ToggleMapStyle", e.DrawingToggleMapLabels = "ToggleMapLabels", e.DrawingToggleCamerasLabels = "ToggleCamerasLabels", e.DrawingToggleCamerasVisibility = "ToggleCamerasVisibility", e.DrawingToggleTransparencyMode = "ToggleTransparencyMode", e.DrawingChooseDrawing = "ChooseDrawing", e.DrawingChangeLocation = "ChangeLocation", e.DrawingFilterDateRange = "FilterDateRange", e.DrawingFilterDrawingName = "FilterDrawingName", e.DrawingFilterCreatedBy = "FilterCreatedBy", e.DrawingFilterMapStyle = "FilterMapStyle", e.DrawingToggleRotate = "ToggleRotate", e.DrawingToggleScale = "ToggleScale", e.DrawingOpenExistingDrawing = "OpenExistingDrawing", e.MarkerClicked = "MarkerClicked", e.MarkerSelected = "MarkerSelected", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter", e.ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter", e.ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter", e.ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter", e.ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter", e.ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter", e.ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras", e.ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras", e.ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras", e.ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras", e.ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog", e.ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersFiltersClick = "FiltersClick", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.CompareSelectProvider = "Compare-SelectProvider", e.CompareEditSelectedCameras = "Compare-EditSelectedCameras", e.CompareEdit = "Compare-Edit", e.CompareSelectTimezone = "Compare-SelectTimezone", e.CompareSelectMember = "Compare-SelectMember", e.CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras", e.CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras", e.CompareClearAllCameras = "Compare-ClearAllCameras", e.CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter", e.AutomationsSelectProgressPhoto = "SelectProgressPhoto", e.AutomationsSelectCompare = "SelectCompare", e.AutomationsCreateCompare = "CreateCompare", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", e.CompareSelectDays = "Compare-SelectDays", e.CompareSelectDelay = "Compare-SelectDelay", e.CompareSelectTime = "Compare-SelectTime", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchCameraSelected = "SmartSearch-CameraSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e))(ne || {}), ge = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ue || {}), he = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Se || {}), Te = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Te || {}), $e = /* @__PURE__ */ ((e) => (e.Mask = "mask", e.MeasuringGrid = "measuring_grid", e.BimArchitectural = "bim_architectural", e.BimStructural = "bim_structural", e.Bim4D = "bim_4d", e.BimMep = "bim_mep", e.RecordingsTag = "recordings_tag", e.Milestone = "milestone", e))($e || {}), be = /* @__PURE__ */ ((e) => (e.Online = "online", e.Offline = "offline", e.OfflineScheduled = "offline_scheduled", e.Decommissioned = "decommissioned", e.OnHold = "on_hold", e.Waiting = "waiting", e.UnderMaintenance = "under_maintenance", e.WaitingForSiteVisit = "waiting_for_site_visit", e))(be || {}), ke = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(ke || {});
7
- const vt = {
1
+ var I = Object.defineProperty;
2
+ var y = (e, r, t) => r in e ? I(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var F = (e, r, t) => y(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import D from "humps";
6
+ var ee = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e.Zoom = "zoom", e.User = "user", e.ViewerMode = "viewer_mode", e.ProjectId = "projectId", e.Unit = "unit", e.LockDate = "lockDate", e.LockFloor = "lockFloor", e.LockMarker = "lockMarker", e.IsWidget = "isWidget", e.MediaLocked = "mediaLocked", e.Debug = "debug", e.RequiresValidation = "requires_validation", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(oe || {}), se = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.FBX = "FBX", e.PointCloud = "PLY", e))(ie || {}), ne = /* @__PURE__ */ ((e) => (e.String = "STRING", e.Boolean = "BOOLEAN", e.Ratio = "RATIO", e.Integer = "INTEGER", e.Double = "DOUBLE", e.Long = "LONG", e.Date = "DATE", e.Complex = "COMPLEX", e.SingleLineText = "SINGLE_LINE_TEXT", e.MultiLineText = "MULTI_LINE_TEXT", e.SingleSelect = "SINGLE_SELECT", e.MultiSelect = "MULTI_SELECT", e.User = "USER", e.Number = "NUMBER", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(ge || {}), pe = /* @__PURE__ */ ((e) => (e.DocumentNumber = "DocumentNumber", e.DocumentTypeId = "DocumentTypeId", e.Revision = "Revision", e.HasFile = "HasFile", e.AccessList = "AccessList", e.AsBuiltRequired = "AsBuiltRequired", e.Attribute1 = "Attribute1", e.Attribute2 = "Attribute2", e.Attribute3 = "Attribute3", e.Attribute4 = "Attribute4", e.Author = "Author", e.AuthorisedBy = "AuthorisedBy", e.Category = "Category", e.Check1 = "Check1", e.Check2 = "Check2", e.Comments = "Comments", e.Comments2 = "Comments2", e.ContractNumber = "ContractNumber", e.ContractDeliverable = "ContractDeliverable", e.ContractorDocumentNumber = "ContractorDocumentNumber", e.ContractorRev = "ContractorRev", e.Date1 = "Date1", e.Date2 = "Date2", e.DateApproved = "DateApproved", e.DateCreated = "DateCreated", e.DateForReview = "DateForReview", e.DateReviewed = "DateReviewed", e.Discipline = "Discipline", e.DocumentStatusId = "DocumentStatusId", e.MilestoneDate = "MilestoneDate", e.PackageNumber = "PackageNumber", e.PercentageComplete = "PercentageComplete", e.PlannedSubmissionDate = "PlannedSubmissionDate", e.PrintSize = "PrintSize", e.ProjectField1 = "ProjectField1", e.ProjectField2 = "ProjectField2", e.ProjectField3 = "ProjectField3", e.Reference = "Reference", e.RevisionDate = "RevisionDate", e.Scale = "Scale", e.SelectList1 = "SelectList1", e.SelectList2 = "SelectList2", e.SelectList3 = "SelectList3", e.SelectList4 = "SelectList4", e.SelectList5 = "SelectList5", e.SelectList6 = "SelectList6", e.SelectList7 = "SelectList7", e.SelectList8 = "SelectList8", e.SelectList9 = "SelectList9", e.SelectList10 = "SelectList10", e.TagNumber = "TagNumber", e.Title = "Title", e.ToClientDate = "ToClientDate", e.UploadDate = "UploadDate", e.UploadedBy = "UploadedBy", e.Vdrcode = "Vdrcode", e.VendorDocumentNumber = "VendorDocumentNumber", e.VendorRev = "VendorRev", e.AutoNumber = "AutoNumber", e))(pe || {}), me = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.TimelineInfo = "TimelineInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e.Drawings = "Drawings", e))(me || {}), ce = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.SettingsConnectorsConnectToHammertech = "ConnectToHammertech", e.SettingsConnectorsRemoveHammertechConnection = "RemoveHammertech", e.SettingsConnectorsToggleHammertechDialog = "ToggleHammertechDialog", e.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", e.WidgetsPauseWidget = "PauseWidget", e.WidgetsEditWidget = "EditWidget", e.WidgetsOpenCredentials = "OpenCredentials", e.WidgetsCopyEmbeddedCode = "CopyEmbeddedCode", e.WidgetsCopyIFrameCode = "CopyIFrameCode", e.WidgetsCopyURLCode = "CopyURLCode", e.WidgetsDeleteWidget = "DeleteWidget", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.XraySendToConnectorSent = "Xray-SendToConnector-Sent", e.XraySendToConnectorProcore = "Xray-SendToConnector-Procore", e.XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos", e.XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations", e.XraySendToConnectorAconex = "Xray-SendToConnector-Aconex", e.XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk", e.XraySendToConnectorHammerTech = "Xray-SendToConnector-HammerTech", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent", e.MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore", e.MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos", e.MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations", e.MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex", e.MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk", e.MarkUpToolSendToConnectorHammerTech = "MarkUpTool-SendToConnector-HammerTech", e.MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail", e.MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.ThreeSixtyMeasuringPerformed = "measuring_performed", e.ThreeSixtyEnableCommentTool = "EnableCommentTool", e.ThreeSixtyLockCompare = "LockCompare", e.ThreeSixtyLockForgeBIM = "LockForgeBIM", e.ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked", e.ThreeSixtyMiniMapMarkerClicked = "MiniMapMarkerClicked", e.ThreeSixtyOpen = "Open", e.ThreeSixtyOpenCompare = "OpenCompare", e.ThreeSixtyOpenForgeBIM = "OpenForgeBIM", e.ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList", e.ThreeSixtyOpenCommentsList = "OpenCommentsList", e.ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName", e.ThreeSixtySaveComment = "SaveComment", e.ThreeSixtyUnarchiveComment = "UnarchiveComment", e.ThreeSixtyArchiveComment = "ArchiveComment", e.ThreeSixtyShareView = "ShareView", e.ThreeSixtyCommentClicked = "CommentClicked", e.ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility", e.ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility", e.ThreeSixtyToggleMiniModel = "ToggleMiniModel", e.ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility", e.ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseCommentType = "ChooseCommentType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility", e.DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility", e.DroneSettingsOpenCommentsList = "Settings-OpenCommentsList", e.DroneShareLink = "ShareLink", e.DroneCommentsToolClick = "CommentsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneTogglePointCloud = "TogglePointCloud", e.DroneToggleGaussianSplat = "ToggleGaussianSplat", e.DroneToggleGlobe = "ToggleGlobe", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.DroneUploadSkipping = "SkipImageUpload", e.DroneSaveComment = "SaveComment", e.DroneUnarchiveComment = "UnarchiveComment", e.DroneArchiveComment = "ArchiveComment", e.DroneDeleteComment = "DeleteComment", e.DroneSaveAerialShot = "SaveAerialShot", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.DrawingCreateSave = "CreateSave", e.DrawingUpdateSave = "UpdateSave", e.DrawingEditName = "EditName", e.DrawingUpdateName = "UpdateName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingClickHome = "ClickHome", e.DrawingsUploadDrawing = "UploadDrawing", e.DrawingsCreateDrawing = "CreateDrawing", e.DrawingsSelectPdfPage = "SelectPdfPage", e.DrawingsDeleteDrawing = "DeleteDrawing", e.DrawingToggleMapStyle = "ToggleMapStyle", e.DrawingToggleMapLabels = "ToggleMapLabels", e.DrawingToggleCamerasLabels = "ToggleCamerasLabels", e.DrawingToggleCamerasVisibility = "ToggleCamerasVisibility", e.DrawingToggleTransparencyMode = "ToggleTransparencyMode", e.DrawingChooseDrawing = "ChooseDrawing", e.DrawingChangeLocation = "ChangeLocation", e.DrawingFilterDateRange = "FilterDateRange", e.DrawingFilterDrawingName = "FilterDrawingName", e.DrawingFilterCreatedBy = "FilterCreatedBy", e.DrawingFilterMapStyle = "FilterMapStyle", e.DrawingToggleRotate = "ToggleRotate", e.DrawingToggleScale = "ToggleScale", e.DrawingOpenExistingDrawing = "OpenExistingDrawing", e.MarkerClicked = "MarkerClicked", e.MarkerSelected = "MarkerSelected", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo", e.ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo", e.ProjectSettingsMembersBulkRemove = "BulkRemove", e.ProjectSettingsMembersInviteSent = "InviteSent", e.ProjectSettingsMembersRejectInvite = "RejectInvite", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.ObservationsFilterTypes = "Observations-FilterTypes", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras", e.ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras", e.ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras", e.ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.CompareSelectProvider = "Compare-SelectProvider", e.CompareSelectCameras = "Compare-SelectCameras", e.CompareEdit = "Compare-Edit", e.CompareSelectTimezone = "Compare-SelectTimezone", e.CompareSelectMember = "Compare-SelectMember", e.CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras", e.CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras", e.CompareClearAllCameras = "Compare-ClearAllCameras", e.CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter", e.CompareSelectType = "Compare-SelectType", e.CompareCreate = "Compare-Create", e.AutomationsEditSearchFilter = "EditSearchFilter", e.AutomationsEditStatusFilter = "EditStatusFilter", e.AutomationsEditUsersFilter = "EditUsersFilter", e.AutomationsEditDaysFilter = "EditDaysFilter", e.AutomationsEditCamerasFilter = "EditCamerasFilter", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", e.GateReportSelectType = "GateReport-SelectType", e.GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras", e.GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras", e.GateReportToggleClearAllCameras = "GateReport-ClearAllCameras", e.GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter", e.GateReportSelectDays = "GateReport-SelectDays", e.GateReportSelectTime = "GateReport-SelectTime", e.GateReportSelectTimezone = "GateReport-SelectTimezone", e.GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes", e.GateReportSelectColumn = "GateReport-SelectColumn", e.GateReportSelectPeriod = "GateReport-SelectPeriod", e.GateReportSelectExportType = "GateReport-SelectExportType", e.GateReportSelectMember = "GateReport-SelectMember", e.GateReportSelectCameras = "GateReport-SelectCameras", e.GateReportCreate = "GateReport-Create", e.GateReportEdit = "GateReport-Edit", e.CompareSelectDays = "Compare-SelectDays", e.CompareSelectDelay = "Compare-SelectDelay", e.CompareSelectTime = "Compare-SelectTime", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchViewSelected = "SmartSearch-ViewSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e.AskAIClickAskAI = "AskAI-ClickAskAI", e.AskAIClickExpand = "AskAI-ClickExpand", e.AskAIClickCollapse = "AskAI-ClickCollapse", e.AskAIClickVoice = "AskAI-ClickVoice", e.AskAIClickFullscreen = "AskAI-ClickFullscreen", e.AskAIExitFullscreen = "AskAI-ExitFullscreen", e.AskAICloseChat = "AskAI-CloseChat", e.ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked", e.ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened", e.ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected", e.ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed", e.ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected", e.ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected", e.ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted", e.ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted", e.ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed", e.ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened", e.ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed", e.ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed", e.ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected", e.ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked", e.ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened", e.ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed", e.ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled", e.ForgeBimModelAdded = "ForgeBim-ModelAdded", e.ForgeBimModelUpdated = "ForgeBim-ModelUpdated", e.ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed", e.ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(de || {}), he = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(he || {}), Se = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))($e || {}), be = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e.Csv = "csv", e))(be || {}), ke = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ke || {}), Te = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(Te || {}), we = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(we || {}), fe = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e.Copilot = "copilot", e))(fe || {}), Me = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Me || {}), Re = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Re || {}), De = /* @__PURE__ */ ((e) => (e.Mask = "mask", e.BimMask = "bim_mask", e.MeasuringGrid = "measuring_grid", e.BimArchitectural = "bim_architectural", e.BimStructural = "bim_structural", e.Bim4D = "bim_4d", e.BimMep = "bim_mep", e.RecordingsTag = "recordings_tag", e.Milestone = "milestone", e.ForgeBimArchitectural = "forge_bim_architectural", e.ForgeBimStructural = "forge_bim_structural", e.ForgeBim4D = "forge_bim_4d", e.ForgeBimMep = "forge_bim_mep", e))(De || {}), Pe = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(Pe || {}), _e = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(_e || {}), je = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(je || {}), Ue = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(Ue || {}), Be = /* @__PURE__ */ ((e) => (e.Online = "online", e.Offline = "offline", e.OfflineScheduled = "offline_scheduled", e.Decommissioned = "decommissioned", e.OnHold = "on_hold", e.Waiting = "waiting", e.UnderMaintenance = "under_maintenance", e.WaitingForSiteVisit = "waiting_for_site_visit", e))(Be || {}), Fe = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Fe || {});
7
+ const Go = {
8
8
  High: "#FF5252",
9
9
  Moderate: "#FBC02D",
10
10
  Low: "#006400",
11
11
  "No change": "#3ACF3A",
12
12
  Default: "black"
13
13
  };
14
- var we = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e))(we || {}), Pe = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(Pe || {}), Me = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Milesight = "milesight", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Other = "other", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(fe || {}), Re = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Re || {}), De = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(Ue || {}), Be = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(Be || {}), je = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Oe || {}), Ne = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(Ne || {}), Ve = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e))(He || {}), Fe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Fe || {}), Ge = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ge || {}), We = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e))(We || {}), ve = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(ve || {}), ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(ze || {}), xe = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(xe || {}), Le = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Le || {}), h = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))(h || {}), d = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e))(d || {}), Ze = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(Ze || {}), qe = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(qe || {}), Xe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(Xe || {}), Je = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.PlasticWrap = "plastic_wrap", e.ContainerOffice = "container_office", e.ElectricalPole = "electrical_pole", e.ElectricalBox = "electrical_box", e.FireHydrant = "fire_hydrant", e.HoseReel = "hose_reel", e.Ladder = "ladder", e.MetalBeam = "metal_beam", e.MetalPipe = "metal_pipe", e.Pallet = "pallet", e.Pillar = "pillar", e.PlasticBin = "plastic_bin", e.PlasticBucket = "plastic_bucket", e.PlasticPipe = "plastic_pipe", e.PublicToilet = "public_toilet", e.Sign = "sign", e.SiteToolbox = "site_toolbox", e.StreetSink = "street_sink", e.TrafficBarrier = "traffic_barrier", e.TrafficCone = "traffic_cone", e.Wall = "wall", e.WasteContainer = "waste_container", e.WaterStorageTank = "water_storage_tank", e.Wheelbarrow = "wheelbarrow", e.Window = "window", e.WoodPlank = "wood_plank", e.CableReel = "cable_reel", e.AirConditioningSystem = "air_conditioning_system", e.WoodenBox = "wooden_box", e.PlasticBag = "plastic_bag", e.MaterialStack = "material_stack", e))(Je || {}), Qe = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(Qe || {}), L = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(L || {}), Ye = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ke || {}), Ee = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ee || {}), Ce = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ce || {}), Ae = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ae || {});
15
- const N = Object.values(L);
16
- var Ie = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(tr || {}), sr = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))(sr || {}), or = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(or || {}), m = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(m || {}), ir = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(ir || {}), j = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.XWeather = "xweather", e))(j || {}), lr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(lr || {}), nr = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e))(nr || {}), gr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(gr || {}), mr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(mr || {}), pr = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(pr || {}), cr = /* @__PURE__ */ ((e) => (e.Number = "number", e.Name = "name", e.Status = "status", e.Trade = "tradeId", e.Assignee = "assigneeId", e.DueDate = "dueDate", e.SpecificationSection = "specificationSectionId", e.Priority = "priority", e.Location = "locationId", e.DistributionMembers = "distributionMemberIds", e.Personal = "personal", e.Hazard = "hazardId", e.ContributingBehavior = "contributingBehaviorId", e.ContributingCondition = "contributingConditionId", e.Description = "description", e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(ur || {}), hr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(hr || {}), dr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(dr || {}), Sr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Sr || {}), Tr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e))(Tr || {}), $r = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportAutoVerify = "auto_publish", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e.NoGdpr = "no_gdpr", e))($r || {}), br = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segmentation = "sam", e))(br || {}), kr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 60] = "EverySecond", e[e.Every2Seconds = 30] = "Every2Seconds", e[e.Every5Seconds = 12] = "Every5Seconds", e[e.Every10Seconds = 6] = "Every10Seconds", e[e.Every15Seconds = 4] = "Every15Seconds", e[e.Every30Seconds = 2] = "Every30Seconds", e[e.Every60Seconds = 1] = "Every60Seconds", e[e.Every5Minutes = 5] = "Every5Minutes", e[e.Every10Minutes = 10] = "Every10Minutes", e))(kr || {}), wr = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(wr || {}), Pr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Pr || {}), Mr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 1] = "EverySecond", e[e.Every5Seconds = 5] = "Every5Seconds", e[e.Every10Seconds = 10] = "Every10Seconds", e[e.Every15Seconds = 15] = "Every15Seconds", e[e.Every20Seconds = 20] = "Every20Seconds", e[e.Every30Second = 30] = "Every30Second", e[e.EveryMinute = 60] = "EveryMinute", e[e.Every5Minutes = 300] = "Every5Minutes", e[e.Every10Minutes = 600] = "Every10Minutes", e[e.Every15Minutes = 900] = "Every15Minutes", e[e.Every20Minutes = 1200] = "Every20Minutes", e[e.Every30Minutes = 1800] = "Every30Minutes", e[e.EveryHour = 3600] = "EveryHour", e[e.Every2Hours = 7200] = "Every2Hours", e[e.Every6Hours = 21600] = "Every6Hours", e[e.Every12Hours = 43200] = "Every12Hours", e[e.Every24Hours = 86400] = "Every24Hours", e))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.None = "None", e.OpenVPN1 = "OpenVPN1", e.OpenVPN2 = "OpenVPN2", e.OpenVPN3 = "OpenVPN3", e.OpenVPN4 = "OpenVPN4", e.OpenVPN5 = "OpenVPN5", e.PPTP1 = "PPTP1", e.PPTP2 = "PPTP2", e.WireGuard1 = "WireGuard1", e.WireGuard2 = "WireGuard2", e.WireGuard3 = "WireGuard3", e.WireGuard4 = "WireGuard4", e.WireGuard5 = "WireGuard5", e.WireGuard6 = "WireGuard6", e.WireGuard7 = "WireGuard7", e.WireGuard8 = "WireGuard8", e.WireGuard9 = "WireGuard9", e.WireGuard10 = "WireGuard10", e))(fr || {}), Rr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Or || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Nr || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Vr || {}), Hr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Hr || {}), Fr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Fr || {}), Gr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Gr || {}), Wr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Wr || {}), vr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(vr || {}), zr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(zr || {}), xr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(xr || {}), Lr = /* @__PURE__ */ ((e) => (e.Minimum = "minimum", e.Share = "minimal+share", e.Full = "full", e.Custom = "custom", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Share = "share", e.Request = "request", e))(Zr || {}), qr = /* @__PURE__ */ ((e) => (e[e.Pending = -1] = "Pending", e[e.Cancelled = -2] = "Cancelled", e[e.Failed = -3] = "Failed", e[e.Used = 1] = "Used", e))(qr || {}), Xr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Xr || {}), Jr = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(Jr || {}), Qr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(Qr || {}), Yr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.OESTextureFloat = "OES_texture_float", e.EXTFloatBlend = "EXT_float_blend", e.EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic", e.OESElementIndexUint = "OES_element_index_uint", e.WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info", e))(Kr || {}), Er = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(Er || {}), Cr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Cr || {}), Ar = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ta || {}), sa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(sa || {}), oa = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(oa || {}), ia = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(ia || {}), la = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(la || {}), na = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(na || {}), ga = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(ua || {}), ha = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(Sa || {}), Ta = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Ta || {}), $a = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))($a || {}), ba = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(ka || {}), wa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(wa || {}), Pa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(Pa || {}), Ma = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(Ma || {}), Z = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Z || {}), fa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(fa || {}), Ra = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ba || {}), ja = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(ja || {}), Oa = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e))(Oa || {}), Na = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Na || {}), q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(q || {}), Va = /* @__PURE__ */ ((e) => (e.SbcCpuLoad = "SbcCpuLoad", e.SbcSystemLoad5MnAvg = "SbcSystemLoad5MnAvg", e.SbcSystemLoad15MnAvg = "SbcSystemLoad15MnAvg", e.SbcRamUsed = "SbcRamUsed", e.SbcSwapUsed = "SbcSwapUsed", e.SbcRootFsUsed = "SbcRootFsUsed", e.SbcCpuCoresTotal = "SbcCpuCoresTotal", e.SbcRamTotal = "SbcRamTotal", e.SbcSwapTotal = "SbcSwapTotal", e.SbcRootFsTotal = "SbcRootFsTotal", e.SbcUptime = "SbcUptime", e.SbcCpuStats = "SbcCpuStats", e.SbcRamStats = "SbcRamStats", e.SbcNetworkStats = "SbcNetworkStats", e.SbcTimeSyncStats = "SbcTimeSyncStats", e.SbcTemperatureStats = "SbcTemperatureStats", e.SbcTimeSyncDriftStats = "SbcTimeSyncDriftStats", e.CameraInfo = "CameraInfo", e.CameraRecordingStateTimeline = "CameraRecordingStateTimeline", e.CameraStreamInfo = "CameraStreamInfo", e.LocalStorage = "LocalStorage", e.StorageSpaceUsed = "StorageSpaceUsed", e.RouterTemperature = "RouterTemperature", e.RouterCpuLoad = "RouterCpuLoad", e.RouterRamUsed = "RouterRamUsed", e.RouterSystemLoad5MnAvg = "RouterSystemLoad5MnAvg", e.RouterSwapTotal = "RouterSwapTotal", e.RouterRamTotal = "RouterRamTotal", e.RouterUptime = "RouterUptime", e.RouterCpuCoresTotal = "RouterCpuCoresTotal", e.RouterSignalReliability = "RouterSignalReliability", e.RouterSINR = "RouterSINR", e.RouterRSRP = "RouterRSRP", e.RouterRSRQ = "RouterRSRQ", e.RouterRSSI = "RouterRSSI", e.RouterSignalStrengthStats = "RouterSignalStrengthStats", e.RouterSignalQualityStats = "RouterSignalQualityStats", e.RouterDataConsumptionStats = "RouterDataConsumptionStats", e.BatteryVoltageAndCurrentStats = "BatteryVoltageAndCurrentStats", e.PanelVoltageAndPowerStats = "PanelVoltageAndPowerStats", e.ExNvrStatus = "ExNvrStatus", e.ExNvrVersion = "ExNvrVersion", e.ExNvrMemoryUsage = "ExNvrMemoryUsage", e.ExNvrLogs = "ExNvrLogs", e))(Va || {}), Ha = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(Ha || {}), Fa = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Fa || {}), Ga = /* @__PURE__ */ ((e) => (e.VH_STATUS = "vh_status", e.CR_UPDATED = "cr_updated", e.CR_CREATED = "cr_created", e.ONLINE = "online", e.OFFLINE = "offline", e.ON_HOLD = "on_hold", e.WAITING = "waiting", e.DECOMMISSIONED = "decommissioned", e.UNDER_MAINTENANCE = "under_maintenance", e.WAITING_FOR_SITE_VISIT = "waiting_for_site_visit", e.SMS = "sms", e.CUSTOM = "custom", e.PUBLIC_NOTE = "public_note", e.SIM = "sim", e.LOGIN = "login", e.LOGOUT = "logout", e.CREATE = "create", e.UPDATE = "update", e.DELETE = "delete", e.DEVICE_SETTINGS = "device_settings", e.LINK_SIM_WITH_ROUTER = "link_sim_with_router", e.UNLINK_SIM_FROM_ROUTER = "unlink_sim_from_router", e.LINK_CAMERA_WITH_ROUTER = "link_camera_with_router", e.UNLINK_CAMERA_FROM_ROUTER = "unlink_camera_from_router", e.SHARE = "share", e.UPDATE_SHARE = "update_share", e.DELETE_SHARE = "delete_share", e.SHARE_REQUEST = "share_request", e.DELETE_SHARE_REQUEST = "delete_share_request", e.TRANSFER_OWNERSHIP = "transfer_ownership", e.BIM_NOTE = "bim_note", e.GATE_REPORT_NOTE = "gate_report_note", e))(Ga || {}), Wa = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(Wa || {}), va = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(va || {}), za = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(za || {}), xa = /* @__PURE__ */ ((e) => (e.Condition = "condition", e.Object = "object", e.Area = "in_area", e.Time = "time", e.Operator = "operator", e.Camera = "camera", e.DateRange = "date_range", e.Heatmap = "heatmap", e))(xa || {}), La = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(Za || {}), qa = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(qa || {}), Xa = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(Xa || {}), Ja = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(Ja || {}), Qa = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(Qa || {}), Ya = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ka || {}), Ea = /* @__PURE__ */ ((e) => (e.DarkMode = "darkMode", e.Calendar = "calendar", e.HasDelay = "hasDelay", e.Delay = "delay", e.DelayUnit = "delayUnit", e.HasRange = "hasRange", e.DateRange = "dateRange", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ea || {}), Ca = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ca || {}), Aa = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.DateLocked = "dateLocked", e.FloorId = "floorId", e.FloorLocked = "floorLocked", e.Marker = "markerId", e.MarkerLocked = "markerLocked", e.MediaLocked = "mediaLocked", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(et || {});
17
- const zt = {
14
+ var ve = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e.PpeOwlv2 = "ppe_owlv2", e.PpeGemini = "ppe_gemini", e.PpeYolo = "ppe_yolo", e.PpeV2 = "ppe_v2", e.NoLiveView = "no_live_view", e.NoRecordings = "no_recordings", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(ve || {}), Oe = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(Oe || {}), Ge = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Milesight = "milesight", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Other = "other", e.Ring = "ring", e))(Ge || {}), He = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(He || {}), Ve = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Ve || {}), Ne = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Ne || {}), xe = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(xe || {}), We = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(We || {}), ze = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(ze || {}), Le = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e.RequestAgentCall = "request_agent_call", e.ExecAgentCall = "exec_agent_call", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Ze || {}), Qe = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(Qe || {}), Xe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Xe || {}), qe = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e.SmartSearch = "smart_search", e))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e.SmartSearch = "smartSearch", e))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Date = "date", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(rr || {}), $ = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))($ || {}), k = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e[e.GoneError = 410] = "GoneError", e))(k || {}), ar = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(tr || {}), or = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(or || {}), sr = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.Door = "door", e.PlasticWrap = "plastic_wrap", e.ContainerOffice = "container_office", e.ElectricalPole = "electrical_pole", e.ElectricalBox = "electrical_box", e.FireHydrant = "fire_hydrant", e.FireExtinguisher = "fire-extinguisher", e.HoseReel = "hose_reel", e.Ladder = "ladder", e.MetalBeam = "metal_beam", e.MetalPipe = "metal_pipe", e.Pallet = "pallet", e.Person = "person", e.Pillar = "pillar", e.PlasticBin = "plastic_bin", e.PlasticBucket = "plastic_bucket", e.PlasticPipe = "plastic_pipe", e.PublicToilet = "public_toilet", e.Sign = "sign", e.SiteToolbox = "site_toolbox", e.StreetSink = "street_sink", e.TrafficBarrier = "traffic_barrier", e.TrafficCone = "traffic_cone", e.Wall = "wall", e.WasteContainer = "waste_container", e.WaterStorageTank = "water_storage_tank", e.Wheelbarrow = "wheelbarrow", e.Window = "window", e.WoodPlank = "wood_plank", e.CableReel = "cable_reel", e.AirConditioningSystem = "air_conditioning_system", e.WoodenBox = "wooden_box", e.PlasticBag = "plastic_bag", e.MaterialStack = "material_stack", e))(sr || {}), ir = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(ir || {}), Q = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(Q || {}), nr = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(gr || {}), pr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(pr || {});
15
+ const Ho = Object.values(Q);
16
+ var mr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(mr || {}), cr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ur || {}), dr = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(dr || {}), hr = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(hr || {}), Sr = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e.Downloading = "downloading", e))($r || {}), br = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(br || {}), kr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(kr || {}), m = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(m || {}), Tr = /* @__PURE__ */ ((e) => (e.Running = "running", e.Completed = "completed", e.Failed = "failed", e.Skipped = "skipped", e))(Tr || {}), wr = /* @__PURE__ */ ((e) => (e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(wr || {}), fr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(fr || {}), v = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.Ring = "ring", e.Email = "email", e.Hammertech = "hammertech", e.XWeather = "xweather", e))(v || {}), Mr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(Mr || {}), Rr = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e.SmartSearchExportReady = "smart_search_export_ready", e.SmartSearchExportFailed = "smart_search_export_failed", e.GateReportExportReady = "gate_report_export_ready", e.GateReportExportFailed = "gate_report_export_failed", e.PpeExportReady = "ppe_export_ready", e.PpeExportFailed = "ppe_export_failed", e.WeatherExportReady = "weather_export_ready", e.WeatherExportFailed = "weather_export_failed", e.CompareReady = "compare_ready", e.CompareFailed = "compare_failed", e.ClipExportReady = "clip_export_ready", e.ClipExportFailed = "clip_export_failed", e.NvrClipReady = "nvr_clip_ready", e.NvrClipFailed = "nvr_clip_failed", e.UploadComplete = "upload_complete", e.UploadFailed = "upload_failed", e.RingCamerasImported = "ring_cameras_imported", e.StorageWarning = "storage_warning", e.Other = "other", e))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(Dr || {}), Pr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(Pr || {}), _r = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(_r || {}), jr = /* @__PURE__ */ ((e) => (e.Number = "number", e.Name = "name", e.Status = "status", e.Trade = "tradeId", e.Assignee = "assigneeId", e.DueDate = "dueDate", e.SpecificationSection = "specificationSectionId", e.Priority = "priority", e.Location = "locationId", e.DistributionMembers = "distributionMemberIds", e.Personal = "personal", e.Hazard = "hazardId", e.ContributingBehavior = "contributingBehaviorId", e.ContributingCondition = "contributingConditionId", e.Description = "description", e))(jr || {}), Ur = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(Br || {}), Fr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Fr || {}), vr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(vr || {}), Or = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Or || {}), Gr = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e.NoGdpr = "no_gdpr", e))(Gr || {}), Hr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Hr || {}), Vr = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Vr || {}), Nr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 60] = "EverySecond", e[e.Every2Seconds = 30] = "Every2Seconds", e[e.Every5Seconds = 12] = "Every5Seconds", e[e.Every10Seconds = 6] = "Every10Seconds", e[e.Every15Seconds = 4] = "Every15Seconds", e[e.Every30Seconds = 2] = "Every30Seconds", e[e.Every60Seconds = 1] = "Every60Seconds", e[e.Every5Minutes = 5] = "Every5Minutes", e[e.Every10Minutes = 10] = "Every10Minutes", e))(Nr || {}), xr = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(xr || {});
17
+ const Vo = {
18
+ [
19
+ -1
20
+ /* Infinity */
21
+ ]: "content.cloud_recording_duration.unlimited",
22
+ 1: "content.cloud_recording_duration.day",
23
+ 7: "content.cloud_recording_duration.week",
24
+ 30: "content.cloud_recording_duration.month",
25
+ 90: "content.cloud_recording_duration.three_months"
26
+ };
27
+ var Wr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Wr || {}), zr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 1] = "EverySecond", e[e.Every5Seconds = 5] = "Every5Seconds", e[e.Every10Seconds = 10] = "Every10Seconds", e[e.Every15Seconds = 15] = "Every15Seconds", e[e.Every20Seconds = 20] = "Every20Seconds", e[e.Every30Second = 30] = "Every30Second", e[e.EveryMinute = 60] = "EveryMinute", e[e.Every5Minutes = 300] = "Every5Minutes", e[e.Every10Minutes = 600] = "Every10Minutes", e[e.Every15Minutes = 900] = "Every15Minutes", e[e.Every20Minutes = 1200] = "Every20Minutes", e[e.Every30Minutes = 1800] = "Every30Minutes", e[e.EveryHour = 3600] = "EveryHour", e[e.Every2Hours = 7200] = "Every2Hours", e[e.Every6Hours = 21600] = "Every6Hours", e[e.Every12Hours = 43200] = "Every12Hours", e[e.Every24Hours = 86400] = "Every24Hours", e))(zr || {}), Lr = /* @__PURE__ */ ((e) => (e.None = "None", e.WireGuard1 = "WireGuard1", e.WireGuard2 = "WireGuard2", e.WireGuard3 = "WireGuard3", e.WireGuard4 = "WireGuard4", e.WireGuard5 = "WireGuard5", e.WireGuard6 = "WireGuard6", e.WireGuard7 = "WireGuard7", e.WireGuard8 = "WireGuard8", e.WireGuard9 = "WireGuard9", e.WireGuard10 = "WireGuard10", e.WgHub = "WgHub", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e.Ppe = "ppe_roi", e))(Zr || {}), Qr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(Qr || {}), Xr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Xr || {}), qr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(ia || {}), na = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(na || {}), la = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(la || {}), ga = /* @__PURE__ */ ((e) => (e.OESTextureFloat = "OES_texture_float", e.EXTFloatBlend = "EXT_float_blend", e.EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic", e.OESElementIndexUint = "OES_element_index_uint", e.WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info", e))(ga || {}), pa = /* @__PURE__ */ ((e) => (e.SitePlanId = "site_plan_id", e.IsNewSitePlan = "is_new_site_plan", e.IsBoundsMode = "is_bounds_mode", e.ProjectPosition = "project_position", e.DealId = "deal_id", e))(pa || {}), ma = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(ma || {}), ca = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ha || {}), Sa = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))($a || {}), ba = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(ka || {}), Ta = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(Ta || {}), wa = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(wa || {}), fa = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(fa || {}), Ma = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(Ma || {}), Ra = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(Da || {}), Pa = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(Pa || {}), _a = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(_a || {}), ja = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(ja || {}), Ua = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.US = "us", e.AU = "au", e.EU = "eu", e))(Ba || {}), Fa = /* @__PURE__ */ ((e) => (e.Low = "Low", e.Medium = "Medium", e.High = "High", e.Critical = "Critical", e))(Fa || {}), va = /* @__PURE__ */ ((e) => (e.Undefined = "Undefined", e.Positive = "Positive", e.Negative = "Negative", e.Neutral = "Neutral", e))(va || {});
28
+ const Oa = [
29
+ "imageupload",
30
+ "fileupload",
31
+ "signature",
32
+ "signaturewithname"
33
+ ];
34
+ function No(e) {
35
+ return Oa.includes(String(e || "").toLowerCase());
36
+ }
37
+ function xo(e) {
38
+ return String(e || "").toLowerCase() === "signaturewithname";
39
+ }
40
+ var Ga = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Ga || {}), Ha = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Ha || {}), Va = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Va || {}), Na = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Na || {}), xa = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Gloves = "gloves", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(xa || {}), Wa = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e[e.PpeV2 = 6] = "PpeV2", e))(Wa || {}), za = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisVest = "high_vis_vest", e.Gloves = "gloves", e.Glasses = "glasses", e))(za || {}), La = /* @__PURE__ */ ((e) => (e.Day = "day", e.Week = "week", e.Month = "month", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Helmet = "has_helmet", e.HighVisVest = "has_high_vis_vest", e))(Za || {}), Qa = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(Qa || {}), Xa = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(Xa || {}), qa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(Ya || {}), X = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(X || {}), Ka = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Ca || {}), Ea = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Ea || {}), Aa = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.RouterSmsRoundTrip = "router_sms_round_trip", e.NvrRecordingAllCameras = "nvr_recording_all_cameras", e.NvrRecordingThirdStream = "nvr_recording_third_stream", e.CamerasHaveDeviceId = "cameras_have_device_id", e.CamerasRecording = "cameras_recording", e.CamerasSdCardMounted = "cameras_sd_card_mounted", e.BatteryReadings = "battery_readings", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.Passed = "passed", e.Failed = "failed", e.Skipped = "skipped", e))(et || {}), rt = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e.GeneratorOff = "generator_off", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e.Fan = "fan", e.FanTemperature = "fan_temperature", e))(ot || {}), q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(q || {}), st = /* @__PURE__ */ ((e) => (e.SbcCpuLoad = "SbcCpuLoad", e.SbcSystemLoad5MnAvg = "SbcSystemLoad5MnAvg", e.SbcSystemLoad15MnAvg = "SbcSystemLoad15MnAvg", e.SbcRamUsed = "SbcRamUsed", e.SbcSwapUsed = "SbcSwapUsed", e.SbcRootFsUsed = "SbcRootFsUsed", e.SbcCpuCoresTotal = "SbcCpuCoresTotal", e.SbcRamTotal = "SbcRamTotal", e.SbcSwapTotal = "SbcSwapTotal", e.SbcRootFsTotal = "SbcRootFsTotal", e.SbcUptime = "SbcUptime", e.SbcCpuStats = "SbcCpuStats", e.SbcRamStats = "SbcRamStats", e.SbcNetworkStats = "SbcNetworkStats", e.SbcTimeSyncStats = "SbcTimeSyncStats", e.SbcTemperatureStats = "SbcTemperatureStats", e.SbcTimeSyncDriftStats = "SbcTimeSyncDriftStats", e.CameraInfo = "CameraInfo", e.CameraRecordingStateTimeline = "CameraRecordingStateTimeline", e.CameraStreamInfo = "CameraStreamInfo", e.LocalStorage = "LocalStorage", e.StorageSpaceUsed = "StorageSpaceUsed", e.RouterTemperature = "RouterTemperature", e.RouterCpuLoad = "RouterCpuLoad", e.RouterRamUsed = "RouterRamUsed", e.RouterSystemLoad5MnAvg = "RouterSystemLoad5MnAvg", e.RouterSwapTotal = "RouterSwapTotal", e.RouterRamTotal = "RouterRamTotal", e.RouterUptime = "RouterUptime", e.RouterCpuCoresTotal = "RouterCpuCoresTotal", e.RouterSignalReliability = "RouterSignalReliability", e.RouterSINR = "RouterSINR", e.RouterRSRP = "RouterRSRP", e.RouterRSRQ = "RouterRSRQ", e.RouterRSSI = "RouterRSSI", e.RouterSignalStrengthStats = "RouterSignalStrengthStats", e.RouterSignalQualityStats = "RouterSignalQualityStats", e.RouterDataConsumptionStats = "RouterDataConsumptionStats", e.BatteryVoltageAndCurrentStats = "BatteryVoltageAndCurrentStats", e.PanelVoltageAndPowerStats = "PanelVoltageAndPowerStats", e.ExNvrStatus = "ExNvrStatus", e.ExNvrVersion = "ExNvrVersion", e.ExNvrMemoryUsage = "ExNvrMemoryUsage", e.ExNvrLogs = "ExNvrLogs", e))(st || {}), it = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(it || {}), nt = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.VH_STATUS = "vh_status", e.CR_UPDATED = "cr_updated", e.CR_CREATED = "cr_created", e.ONLINE = "online", e.OFFLINE = "offline", e.ON_HOLD = "on_hold", e.WAITING = "waiting", e.DECOMMISSIONED = "decommissioned", e.UNDER_MAINTENANCE = "under_maintenance", e.WAITING_FOR_SITE_VISIT = "waiting_for_site_visit", e.SMS = "sms", e.CUSTOM = "custom", e.PUBLIC_NOTE = "public_note", e.SIM = "sim", e.LOGIN = "login", e.LOGOUT = "logout", e.CREATE = "create", e.UPDATE = "update", e.DELETE = "delete", e.DEVICE_SETTINGS = "device_settings", e.LINK_SIM_WITH_ROUTER = "link_sim_with_router", e.UNLINK_SIM_FROM_ROUTER = "unlink_sim_from_router", e.LINK_CAMERA_WITH_ROUTER = "link_camera_with_router", e.UNLINK_CAMERA_FROM_ROUTER = "unlink_camera_from_router", e.SHARE = "share", e.UPDATE_SHARE = "update_share", e.DELETE_SHARE = "delete_share", e.SHARE_REQUEST = "share_request", e.DELETE_SHARE_REQUEST = "delete_share_request", e.TRANSFER_OWNERSHIP = "transfer_ownership", e.BIM_NOTE = "bim_note", e.GATE_REPORT_NOTE = "gate_report_note", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.Cameras = "cameras", e.Projects = "projects", e.Layers = "layers", e.Routers = "routers", e.Sims = "sims", e.Hdds = "hdds", e.Nvr = "nvr", e.Archives = "archives", e.Users = "users", e.Rois = "rois", e.Kits = "kits", e.Roles = "roles", e.Tags = "tags", e.KitsTags = "kits_tags", e.Oauth = "oauth", e.StorageProviders = "storage_providers", e))(gt || {}), pt = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(pt || {}), mt = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(mt || {}), ct = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Condition = "condition", e.Object = "object", e.Area = "in_area", e.Time = "time", e.Operator = "operator", e.View = "view", e.DateRange = "date_range", e.Heatmap = "heatmap", e))(dt || {}), ht = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(ht || {}), St = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(St || {}), $t = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))($t || {}), bt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(bt || {}), kt = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(kt || {}), Tt = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.GeoArea = "in_geo_area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(Tt || {}), wt = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(wt || {}), ft = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(ft || {}), Mt = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Mt || {}), Rt = /* @__PURE__ */ ((e) => (e.DarkMode = "darkMode", e.Calendar = "calendar", e.HasDelay = "hasDelay", e.Delay = "delay", e.DelayUnit = "delayUnit", e.HasRange = "hasRange", e.DateRange = "dateRange", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Rt || {}), Dt = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Dt || {}), Pt = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Pt || {}), _t = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(_t || {}), jt = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.DateLocked = "dateLocked", e.FloorId = "floorId", e.FloorLocked = "floorLocked", e.Marker = "markerId", e.MarkerLocked = "markerLocked", e.MediaLocked = "mediaLocked", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(jt || {}), Ut = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(Ut || {});
41
+ const Wo = {
18
42
  camera: [
19
43
  "Live View",
20
44
  "Recordings",
@@ -27,268 +51,377 @@ const zt = {
27
51
  /* ThreeSixty */
28
52
  ]
29
53
  };
30
- var rt = /* @__PURE__ */ ((e) => (e[e.Andorra = 1] = "Andorra", e[e.UnitedArabEmirates = 2] = "UnitedArabEmirates", e[e.Afghanistan = 3] = "Afghanistan", e[e.AntiguaAndBarbuda = 4] = "AntiguaAndBarbuda", e[e.Anguilla = 5] = "Anguilla", e[e.Albania = 6] = "Albania", e[e.Armenia = 7] = "Armenia", e[e.NetherlandsAntilles = 8] = "NetherlandsAntilles", e[e.Angola = 9] = "Angola", e[e.Antarctica = 10] = "Antarctica", e[e.Argentina = 11] = "Argentina", e[e.AmericanSamoa = 12] = "AmericanSamoa", e[e.Austria = 13] = "Austria", e[e.Australia = 14] = "Australia", e[e.Aruba = 15] = "Aruba", e[e.AlandIslands = 16] = "AlandIslands", e[e.Azerbaijan = 17] = "Azerbaijan", e[e.BosniaAndHerzegovina = 18] = "BosniaAndHerzegovina", e[e.Barbados = 19] = "Barbados", e[e.Bangladesh = 20] = "Bangladesh", e[e.Belgium = 21] = "Belgium", e[e.BurkinaFaso = 22] = "BurkinaFaso", e[e.Bulgaria = 23] = "Bulgaria", e[e.Bahrain = 24] = "Bahrain", e[e.Burundi = 25] = "Burundi", e[e.Benin = 26] = "Benin", e[e.Bermuda = 27] = "Bermuda", e[e.BruneiDarussalam = 28] = "BruneiDarussalam", e[e.Bolivia = 29] = "Bolivia", e[e.Brazil = 30] = "Brazil", e[e.Bahamas = 31] = "Bahamas", e[e.Bhutan = 32] = "Bhutan", e[e.BouvetIsland = 33] = "BouvetIsland", e[e.Botswana = 34] = "Botswana", e[e.Belarus = 35] = "Belarus", e[e.Belize = 36] = "Belize", e[e.Canada = 37] = "Canada", e[e.CocosKeelingIslands = 38] = "CocosKeelingIslands", e[e.CongoKinshasa = 39] = "CongoKinshasa", e[e.CentralAfricanRepublic = 40] = "CentralAfricanRepublic", e[e.CongoBrazzaville = 41] = "CongoBrazzaville", e[e.Switzerland = 42] = "Switzerland", e[e.CoteDIvoire = 43] = "CoteDIvoire", e[e.CookIslands = 44] = "CookIslands", e[e.Chile = 45] = "Chile", e[e.Cameroon = 46] = "Cameroon", e[e.China = 47] = "China", e[e.Colombia = 48] = "Colombia", e[e.CostaRica = 49] = "CostaRica", e[e.Cuba = 50] = "Cuba", e[e.CapeVerde = 51] = "CapeVerde", e[e.ChristmasIsland = 52] = "ChristmasIsland", e[e.Cyprus = 53] = "Cyprus", e[e.CzechRepublic = 54] = "CzechRepublic", e[e.Germany = 55] = "Germany", e[e.Djibouti = 56] = "Djibouti", e[e.Denmark = 57] = "Denmark", e[e.Dominica = 58] = "Dominica", e[e.DominicanRepublic = 59] = "DominicanRepublic", e[e.Algeria = 60] = "Algeria", e[e.Ecuador = 61] = "Ecuador", e[e.Estonia = 62] = "Estonia", e[e.Egypt = 63] = "Egypt", e[e.WesternSahara = 64] = "WesternSahara", e[e.Eritrea = 65] = "Eritrea", e[e.Spain = 66] = "Spain", e[e.Ethiopia = 67] = "Ethiopia", e[e.Finland = 68] = "Finland", e[e.Fiji = 69] = "Fiji", e[e.FalklandIslands = 70] = "FalklandIslands", e[e.Micronesia = 71] = "Micronesia", e[e.FaroeIslands = 72] = "FaroeIslands", e[e.France = 73] = "France", e[e.Gabon = 74] = "Gabon", e[e.UnitedKingdom = 75] = "UnitedKingdom", e[e.Grenada = 76] = "Grenada", e[e.Georgia = 77] = "Georgia", e[e.FrenchGuiana = 78] = "FrenchGuiana", e[e.Guernsey = 79] = "Guernsey", e[e.Ghana = 80] = "Ghana", e[e.Gibraltar = 81] = "Gibraltar", e[e.Greenland = 82] = "Greenland", e[e.Gambia = 83] = "Gambia", e[e.Guinea = 84] = "Guinea", e[e.Guadeloupe = 85] = "Guadeloupe", e[e.EquatorialGuinea = 86] = "EquatorialGuinea", e[e.Greece = 87] = "Greece", e[e.SouthGeorgiaAndTheSouthSandwichIslands = 88] = "SouthGeorgiaAndTheSouthSandwichIslands", e[e.Guatemala = 89] = "Guatemala", e[e.Guam = 90] = "Guam", e[e.GuineaBissau = 91] = "GuineaBissau", e[e.Guyana = 92] = "Guyana", e[e.HongKong = 93] = "HongKong", e[e.HeardIslandAndMcDonaldIslands = 94] = "HeardIslandAndMcDonaldIslands", e[e.Honduras = 95] = "Honduras", e[e.Croatia = 96] = "Croatia", e[e.Haiti = 97] = "Haiti", e[e.Hungary = 98] = "Hungary", e[e.Indonesia = 99] = "Indonesia", e[e.Ireland = 100] = "Ireland", e[e.Israel = 101] = "Israel", e[e.IsleOfMan = 102] = "IsleOfMan", e[e.India = 103] = "India", e[e.BritishIndianOceanTerritory = 104] = "BritishIndianOceanTerritory", e[e.Iraq = 105] = "Iraq", e[e.Iran = 106] = "Iran", e[e.Iceland = 107] = "Iceland", e[e.Italy = 108] = "Italy", e[e.Jersey = 109] = "Jersey", e[e.Jamaica = 110] = "Jamaica", e[e.Jordan = 111] = "Jordan", e[e.Japan = 112] = "Japan", e[e.Kenya = 113] = "Kenya", e[e.Kyrgyzstan = 114] = "Kyrgyzstan", e[e.Cambodia = 115] = "Cambodia", e[e.Kiribati = 116] = "Kiribati", e[e.Comoros = 117] = "Comoros", e[e.SaintKittsAndNevis = 118] = "SaintKittsAndNevis", e[e.NorthKorea = 119] = "NorthKorea", e[e.SouthKorea = 120] = "SouthKorea", e[e.Kuwait = 121] = "Kuwait", e[e.CaymanIslands = 122] = "CaymanIslands", e[e.Kazakhstan = 123] = "Kazakhstan", e[e.Laos = 124] = "Laos", e[e.Lebanon = 125] = "Lebanon", e[e.SaintLucia = 126] = "SaintLucia", e[e.Liechtenstein = 127] = "Liechtenstein", e[e.SriLanka = 128] = "SriLanka", e[e.Liberia = 129] = "Liberia", e[e.Lesotho = 130] = "Lesotho", e[e.Lithuania = 131] = "Lithuania", e[e.Luxembourg = 132] = "Luxembourg", e[e.Latvia = 133] = "Latvia", e[e.LibyanArabJamahiriya = 134] = "LibyanArabJamahiriya", e[e.Morocco = 135] = "Morocco", e[e.Monaco = 136] = "Monaco", e[e.Moldova = 137] = "Moldova", e[e.Montenegro = 138] = "Montenegro", e[e.Madagascar = 139] = "Madagascar", e[e.MarshallIslands = 140] = "MarshallIslands", e[e.Macedonia = 141] = "Macedonia", e[e.Mali = 142] = "Mali", e[e.Myanmar = 143] = "Myanmar", e[e.Mongolia = 144] = "Mongolia", e[e.Macao = 145] = "Macao", e[e.NorthernMarianaIslands = 146] = "NorthernMarianaIslands", e[e.Martinique = 147] = "Martinique", e[e.Mauritania = 148] = "Mauritania", e[e.Montserrat = 149] = "Montserrat", e[e.Malta = 150] = "Malta", e[e.Mauritius = 151] = "Mauritius", e[e.Maldives = 152] = "Maldives", e[e.Malawi = 153] = "Malawi", e[e.Mexico = 154] = "Mexico", e[e.Malaysia = 155] = "Malaysia", e[e.Mozambique = 156] = "Mozambique", e[e.Namibia = 157] = "Namibia", e[e.NewCaledonia = 158] = "NewCaledonia", e[e.Niger = 159] = "Niger", e[e.NorfolkIsland = 160] = "NorfolkIsland", e[e.Nigeria = 161] = "Nigeria", e[e.Nicaragua = 162] = "Nicaragua", e[e.Netherlands = 163] = "Netherlands", e[e.Norway = 164] = "Norway", e[e.Nepal = 165] = "Nepal", e[e.Nauru = 166] = "Nauru", e[e.Niue = 167] = "Niue", e[e.NewZealand = 168] = "NewZealand", e[e.Oman = 169] = "Oman", e[e.Panama = 170] = "Panama", e[e.Peru = 171] = "Peru", e[e.FrenchPolynesia = 172] = "FrenchPolynesia", e[e.PapuaNewGuinea = 173] = "PapuaNewGuinea", e[e.Philippines = 174] = "Philippines", e[e.Pakistan = 175] = "Pakistan", e[e.Poland = 176] = "Poland", e[e.SaintPierreAndMiquelon = 177] = "SaintPierreAndMiquelon", e[e.Pitcairn = 178] = "Pitcairn", e[e.PuertoRico = 179] = "PuertoRico", e[e.PalestinianTerritory = 180] = "PalestinianTerritory", e[e.Portugal = 181] = "Portugal", e[e.Palau = 182] = "Palau", e[e.Paraguay = 183] = "Paraguay", e[e.Qatar = 184] = "Qatar", e[e.Reunion = 185] = "Reunion", e[e.Romania = 186] = "Romania", e[e.Serbia = 187] = "Serbia", e[e.RussianFederation = 188] = "RussianFederation", e[e.Rwanda = 189] = "Rwanda", e[e.SaudiArabia = 190] = "SaudiArabia", e[e.SolomonIslands = 191] = "SolomonIslands", e[e.Seychelles = 192] = "Seychelles", e[e.Sudan = 193] = "Sudan", e[e.Sweden = 194] = "Sweden", e[e.Singapore = 195] = "Singapore", e[e.SaintHelena = 196] = "SaintHelena", e[e.Slovenia = 197] = "Slovenia", e[e.SvalbardAndJanMayen = 198] = "SvalbardAndJanMayen", e[e.Slovakia = 199] = "Slovakia", e[e.SierraLeone = 200] = "SierraLeone", e[e.SanMarino = 201] = "SanMarino", e[e.Senegal = 202] = "Senegal", e[e.Somalia = 203] = "Somalia", e[e.Suriname = 204] = "Suriname", e[e.SaoTomeAndPrincipe = 205] = "SaoTomeAndPrincipe", e[e.ElSalvador = 206] = "ElSalvador", e[e.SyrianArabRepublic = 207] = "SyrianArabRepublic", e[e.Swaziland = 208] = "Swaziland", e[e.TurksAndCaicosIslands = 209] = "TurksAndCaicosIslands", e[e.Chad = 210] = "Chad", e[e.FrenchSouthernTerritories = 211] = "FrenchSouthernTerritories", e[e.Togo = 212] = "Togo", e[e.Thailand = 213] = "Thailand", e[e.Tajikistan = 214] = "Tajikistan", e[e.Tokelau = 215] = "Tokelau", e[e.TimorLeste = 216] = "TimorLeste", e[e.Turkmenistan = 217] = "Turkmenistan", e[e.Tunisia = 218] = "Tunisia", e[e.Tonga = 219] = "Tonga", e[e.Turkey = 220] = "Turkey", e[e.TrinidadAndTobago = 221] = "TrinidadAndTobago", e[e.Tuvalu = 222] = "Tuvalu", e[e.Taiwan = 223] = "Taiwan", e[e.Tanzania = 224] = "Tanzania", e[e.Ukraine = 225] = "Ukraine", e[e.Uganda = 226] = "Uganda", e[e.UnitedStatesMinorOutlyingIslands = 227] = "UnitedStatesMinorOutlyingIslands", e[e.UnitedStates = 228] = "UnitedStates", e[e.Uruguay = 229] = "Uruguay", e[e.Uzbekistan = 230] = "Uzbekistan", e[e.VaticanCityState = 231] = "VaticanCityState", e[e.SaintVincentAndTheGrenadines = 232] = "SaintVincentAndTheGrenadines", e[e.Venezuela = 233] = "Venezuela", e[e.VirginIslandsBritish = 234] = "VirginIslandsBritish", e[e.VirginIslandsUS = 235] = "VirginIslandsUS", e[e.VietNam = 236] = "VietNam", e[e.Vanuatu = 237] = "Vanuatu", e[e.WallisAndFutuna = 238] = "WallisAndFutuna", e[e.Samoa = 239] = "Samoa", e[e.Yemen = 240] = "Yemen", e[e.Mayotte = 241] = "Mayotte", e[e.SouthAfrica = 242] = "SouthAfrica", e[e.Zambia = 243] = "Zambia", e[e.Zimbabwe = 244] = "Zimbabwe", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Andorra = "ad", e.UnitedArabEmirates = "ae", e.Afghanistan = "af", e.AntiguaAndBarbuda = "ag", e.Anguilla = "ai", e.Albania = "al", e.Armenia = "am", e.NetherlandsAntilles = "an", e.Angola = "ao", e.Antarctica = "aq", e.Argentina = "ar", e.AmericanSamoa = "as", e.Austria = "at", e.Australia = "au", e.Aruba = "aw", e.AlandIslands = "ax", e.Azerbaijan = "az", e.BosniaAndHerzegovina = "ba", e.Barbados = "bb", e.Bangladesh = "bd", e.Belgium = "be", e.BurkinaFaso = "bf", e.Bulgaria = "bg", e.Bahrain = "bh", e.Burundi = "bi", e.Benin = "bj", e.Bermuda = "bm", e.BruneiDarussalam = "bn", e.Bolivia = "bo", e.Brazil = "br", e.Bahamas = "bs", e.Bhutan = "bt", e.BouvetIsland = "bv", e.Botswana = "bw", e.Belarus = "by", e.Belize = "bz", e.Canada = "ca", e.CocosKeelingIslands = "cc", e.CongoKinshasa = "cd", e.CentralAfricanRepublic = "cf", e.CongoBrazzaville = "cg", e.Switzerland = "ch", e.CoteDIvoire = "ci", e.CookIslands = "ck", e.Chile = "cl", e.Cameroon = "cm", e.China = "cn", e.Colombia = "co", e.CostaRica = "cr", e.Cuba = "cu", e.CapeVerde = "cv", e.ChristmasIsland = "cx", e.Cyprus = "cy", e.CzechRepublic = "cz", e.Germany = "de", e.Djibouti = "dj", e.Denmark = "dk", e.Dominica = "dm", e.DominicanRepublic = "do", e.Algeria = "dz", e.Ecuador = "ec", e.Estonia = "ee", e.Egypt = "eg", e.WesternSahara = "eh", e.Eritrea = "er", e.Spain = "es", e.Ethiopia = "et", e.Finland = "fi", e.Fiji = "fj", e.FalklandIslands = "fk", e.Micronesia = "fm", e.FaroeIslands = "fo", e.France = "fr", e.Gabon = "ga", e.UnitedKingdom = "gb", e.Grenada = "gd", e.Georgia = "ge", e.FrenchGuiana = "gf", e.Guernsey = "gg", e.Ghana = "gh", e.Gibraltar = "gi", e.Greenland = "gl", e.Gambia = "gm", e.Guinea = "gn", e.Guadeloupe = "gp", e.EquatorialGuinea = "gq", e.Greece = "gr", e.SouthGeorgiaAndTheSouthSandwichIslands = "gs", e.Guatemala = "gt", e.Guam = "gu", e.GuineaBissau = "gw", e.Guyana = "gy", e.HongKong = "hk", e.HeardIslandAndMcDonaldIslands = "hm", e.Honduras = "hn", e.Croatia = "hr", e.Haiti = "ht", e.Hungary = "hu", e.Indonesia = "id", e.Ireland = "ie", e.Israel = "il", e.IsleOfMan = "im", e.India = "in", e.BritishIndianOceanTerritory = "io", e.Iraq = "iq", e.Iran = "ir", e.Iceland = "is", e.Italy = "it", e.Jersey = "je", e.Jamaica = "jm", e.Jordan = "jo", e.Japan = "jp", e.Kenya = "ke", e.Kyrgyzstan = "kg", e.Cambodia = "kh", e.Kiribati = "ki", e.Comoros = "km", e.SaintKittsAndNevis = "kn", e.NorthKorea = "kp", e.SouthKorea = "kr", e.Kuwait = "kw", e.CaymanIslands = "ky", e.Kazakhstan = "kz", e.Laos = "la", e.Lebanon = "lb", e.SaintLucia = "lc", e.Liechtenstein = "li", e.SriLanka = "lk", e.Liberia = "lr", e.Lesotho = "ls", e.Lithuania = "lt", e.Luxembourg = "lu", e.Latvia = "lv", e.LibyanArabJamahiriya = "ly", e.Morocco = "ma", e.Monaco = "mc", e.Moldova = "md", e.Montenegro = "me", e.Madagascar = "mg", e.MarshallIslands = "mh", e.Macedonia = "mk", e.Mali = "ml", e.Myanmar = "mm", e.Mongolia = "mn", e.Macao = "mo", e.NorthernMarianaIslands = "mp", e.Martinique = "mq", e.Mauritania = "mr", e.Montserrat = "ms", e.Malta = "mt", e.Mauritius = "mu", e.Maldives = "mv", e.Malawi = "mw", e.Mexico = "mx", e.Malaysia = "my", e.Mozambique = "mz", e.Namibia = "na", e.NewCaledonia = "nc", e.Niger = "ne", e.NorfolkIsland = "nf", e.Nigeria = "ng", e.Nicaragua = "ni", e.Netherlands = "nl", e.Norway = "no", e.Nepal = "np", e.Nauru = "nr", e.Niue = "nu", e.NewZealand = "nz", e.Oman = "om", e.Panama = "pa", e.Peru = "pe", e.FrenchPolynesia = "pf", e.PapuaNewGuinea = "pg", e.Philippines = "ph", e.Pakistan = "pk", e.Poland = "pl", e.SaintPierreAndMiquelon = "pm", e.Pitcairn = "pn", e.PuertoRico = "pr", e.PalestinianTerritory = "ps", e.Portugal = "pt", e.Palau = "pw", e.Paraguay = "py", e.Qatar = "qa", e.Reunion = "re", e.Romania = "ro", e.Serbia = "rs", e.RussianFederation = "ru", e.Rwanda = "rw", e.SaudiArabia = "sa", e.SolomonIslands = "sb", e.Seychelles = "sc", e.Sudan = "sd", e.Sweden = "se", e.Singapore = "sg", e.SaintHelena = "sh", e.Slovenia = "si", e.SvalbardAndJanMayen = "sj", e.Slovakia = "sk", e.SierraLeone = "sl", e.SanMarino = "sm", e.Senegal = "sn", e.Somalia = "so", e.Suriname = "sr", e.SaoTomeAndPrincipe = "st", e.ElSalvador = "sv", e.SyrianArabRepublic = "sy", e.Swaziland = "sz", e.TurksAndCaicosIslands = "tc", e.Chad = "td", e.FrenchSouthernTerritories = "tf", e.Togo = "tg", e.Thailand = "th", e.Tajikistan = "tj", e.Tokelau = "tk", e.TimorLeste = "tl", e.Turkmenistan = "tm", e.Tunisia = "tn", e.Tonga = "to", e.Turkey = "tr", e.TrinidadAndTobago = "tt", e.Tuvalu = "tv", e.Taiwan = "tw", e.Tanzania = "tz", e.Ukraine = "ua", e.Uganda = "ug", e.UnitedStatesMinorOutlyingIslands = "um", e.UnitedStates = "us", e.Uruguay = "uy", e.Uzbekistan = "uz", e.VaticanCityState = "va", e.SaintVincentAndTheGrenadines = "vc", e.Venezuela = "ve", e.VirginIslandsBritish = "vg", e.VirginIslandsUS = "vi", e.VietNam = "vn", e.Vanuatu = "vu", e.WallisAndFutuna = "wf", e.Samoa = "ws", e.Yemen = "ye", e.Mayotte = "yt", e.SouthAfrica = "za", e.Zambia = "zm", e.Zimbabwe = "zw", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(tt || {}), st = ((e) => (e[e.Aconex = j.Aconex] = "Aconex", e[e.Procore = j.Procore] = "Procore", e[e.Autodesk = j.Autodesk] = "Autodesk", e.Email = "email", e))(st || {}), ot = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e))(ot || {}), it = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(it || {}), lt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(lt || {}), nt = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Project = "project", e))(nt || {});
31
- const S = (e) => class extends Error {
54
+ var Bt = /* @__PURE__ */ ((e) => (e[e.Andorra = 1] = "Andorra", e[e.UnitedArabEmirates = 2] = "UnitedArabEmirates", e[e.Afghanistan = 3] = "Afghanistan", e[e.AntiguaAndBarbuda = 4] = "AntiguaAndBarbuda", e[e.Anguilla = 5] = "Anguilla", e[e.Albania = 6] = "Albania", e[e.Armenia = 7] = "Armenia", e[e.NetherlandsAntilles = 8] = "NetherlandsAntilles", e[e.Angola = 9] = "Angola", e[e.Antarctica = 10] = "Antarctica", e[e.Argentina = 11] = "Argentina", e[e.AmericanSamoa = 12] = "AmericanSamoa", e[e.Austria = 13] = "Austria", e[e.Australia = 14] = "Australia", e[e.Aruba = 15] = "Aruba", e[e.AlandIslands = 16] = "AlandIslands", e[e.Azerbaijan = 17] = "Azerbaijan", e[e.BosniaAndHerzegovina = 18] = "BosniaAndHerzegovina", e[e.Barbados = 19] = "Barbados", e[e.Bangladesh = 20] = "Bangladesh", e[e.Belgium = 21] = "Belgium", e[e.BurkinaFaso = 22] = "BurkinaFaso", e[e.Bulgaria = 23] = "Bulgaria", e[e.Bahrain = 24] = "Bahrain", e[e.Burundi = 25] = "Burundi", e[e.Benin = 26] = "Benin", e[e.Bermuda = 27] = "Bermuda", e[e.BruneiDarussalam = 28] = "BruneiDarussalam", e[e.Bolivia = 29] = "Bolivia", e[e.Brazil = 30] = "Brazil", e[e.Bahamas = 31] = "Bahamas", e[e.Bhutan = 32] = "Bhutan", e[e.BouvetIsland = 33] = "BouvetIsland", e[e.Botswana = 34] = "Botswana", e[e.Belarus = 35] = "Belarus", e[e.Belize = 36] = "Belize", e[e.Canada = 37] = "Canada", e[e.CocosKeelingIslands = 38] = "CocosKeelingIslands", e[e.CongoKinshasa = 39] = "CongoKinshasa", e[e.CentralAfricanRepublic = 40] = "CentralAfricanRepublic", e[e.CongoBrazzaville = 41] = "CongoBrazzaville", e[e.Switzerland = 42] = "Switzerland", e[e.CoteDIvoire = 43] = "CoteDIvoire", e[e.CookIslands = 44] = "CookIslands", e[e.Chile = 45] = "Chile", e[e.Cameroon = 46] = "Cameroon", e[e.China = 47] = "China", e[e.Colombia = 48] = "Colombia", e[e.CostaRica = 49] = "CostaRica", e[e.Cuba = 50] = "Cuba", e[e.CapeVerde = 51] = "CapeVerde", e[e.ChristmasIsland = 52] = "ChristmasIsland", e[e.Cyprus = 53] = "Cyprus", e[e.CzechRepublic = 54] = "CzechRepublic", e[e.Germany = 55] = "Germany", e[e.Djibouti = 56] = "Djibouti", e[e.Denmark = 57] = "Denmark", e[e.Dominica = 58] = "Dominica", e[e.DominicanRepublic = 59] = "DominicanRepublic", e[e.Algeria = 60] = "Algeria", e[e.Ecuador = 61] = "Ecuador", e[e.Estonia = 62] = "Estonia", e[e.Egypt = 63] = "Egypt", e[e.WesternSahara = 64] = "WesternSahara", e[e.Eritrea = 65] = "Eritrea", e[e.Spain = 66] = "Spain", e[e.Ethiopia = 67] = "Ethiopia", e[e.Finland = 68] = "Finland", e[e.Fiji = 69] = "Fiji", e[e.FalklandIslands = 70] = "FalklandIslands", e[e.Micronesia = 71] = "Micronesia", e[e.FaroeIslands = 72] = "FaroeIslands", e[e.France = 73] = "France", e[e.Gabon = 74] = "Gabon", e[e.UnitedKingdom = 75] = "UnitedKingdom", e[e.Grenada = 76] = "Grenada", e[e.Georgia = 77] = "Georgia", e[e.FrenchGuiana = 78] = "FrenchGuiana", e[e.Guernsey = 79] = "Guernsey", e[e.Ghana = 80] = "Ghana", e[e.Gibraltar = 81] = "Gibraltar", e[e.Greenland = 82] = "Greenland", e[e.Gambia = 83] = "Gambia", e[e.Guinea = 84] = "Guinea", e[e.Guadeloupe = 85] = "Guadeloupe", e[e.EquatorialGuinea = 86] = "EquatorialGuinea", e[e.Greece = 87] = "Greece", e[e.SouthGeorgiaAndTheSouthSandwichIslands = 88] = "SouthGeorgiaAndTheSouthSandwichIslands", e[e.Guatemala = 89] = "Guatemala", e[e.Guam = 90] = "Guam", e[e.GuineaBissau = 91] = "GuineaBissau", e[e.Guyana = 92] = "Guyana", e[e.HongKong = 93] = "HongKong", e[e.HeardIslandAndMcDonaldIslands = 94] = "HeardIslandAndMcDonaldIslands", e[e.Honduras = 95] = "Honduras", e[e.Croatia = 96] = "Croatia", e[e.Haiti = 97] = "Haiti", e[e.Hungary = 98] = "Hungary", e[e.Indonesia = 99] = "Indonesia", e[e.Ireland = 100] = "Ireland", e[e.Israel = 101] = "Israel", e[e.IsleOfMan = 102] = "IsleOfMan", e[e.India = 103] = "India", e[e.BritishIndianOceanTerritory = 104] = "BritishIndianOceanTerritory", e[e.Iraq = 105] = "Iraq", e[e.Iran = 106] = "Iran", e[e.Iceland = 107] = "Iceland", e[e.Italy = 108] = "Italy", e[e.Jersey = 109] = "Jersey", e[e.Jamaica = 110] = "Jamaica", e[e.Jordan = 111] = "Jordan", e[e.Japan = 112] = "Japan", e[e.Kenya = 113] = "Kenya", e[e.Kyrgyzstan = 114] = "Kyrgyzstan", e[e.Cambodia = 115] = "Cambodia", e[e.Kiribati = 116] = "Kiribati", e[e.Comoros = 117] = "Comoros", e[e.SaintKittsAndNevis = 118] = "SaintKittsAndNevis", e[e.NorthKorea = 119] = "NorthKorea", e[e.SouthKorea = 120] = "SouthKorea", e[e.Kuwait = 121] = "Kuwait", e[e.CaymanIslands = 122] = "CaymanIslands", e[e.Kazakhstan = 123] = "Kazakhstan", e[e.Laos = 124] = "Laos", e[e.Lebanon = 125] = "Lebanon", e[e.SaintLucia = 126] = "SaintLucia", e[e.Liechtenstein = 127] = "Liechtenstein", e[e.SriLanka = 128] = "SriLanka", e[e.Liberia = 129] = "Liberia", e[e.Lesotho = 130] = "Lesotho", e[e.Lithuania = 131] = "Lithuania", e[e.Luxembourg = 132] = "Luxembourg", e[e.Latvia = 133] = "Latvia", e[e.LibyanArabJamahiriya = 134] = "LibyanArabJamahiriya", e[e.Morocco = 135] = "Morocco", e[e.Monaco = 136] = "Monaco", e[e.Moldova = 137] = "Moldova", e[e.Montenegro = 138] = "Montenegro", e[e.Madagascar = 139] = "Madagascar", e[e.MarshallIslands = 140] = "MarshallIslands", e[e.Macedonia = 141] = "Macedonia", e[e.Mali = 142] = "Mali", e[e.Myanmar = 143] = "Myanmar", e[e.Mongolia = 144] = "Mongolia", e[e.Macao = 145] = "Macao", e[e.NorthernMarianaIslands = 146] = "NorthernMarianaIslands", e[e.Martinique = 147] = "Martinique", e[e.Mauritania = 148] = "Mauritania", e[e.Montserrat = 149] = "Montserrat", e[e.Malta = 150] = "Malta", e[e.Mauritius = 151] = "Mauritius", e[e.Maldives = 152] = "Maldives", e[e.Malawi = 153] = "Malawi", e[e.Mexico = 154] = "Mexico", e[e.Malaysia = 155] = "Malaysia", e[e.Mozambique = 156] = "Mozambique", e[e.Namibia = 157] = "Namibia", e[e.NewCaledonia = 158] = "NewCaledonia", e[e.Niger = 159] = "Niger", e[e.NorfolkIsland = 160] = "NorfolkIsland", e[e.Nigeria = 161] = "Nigeria", e[e.Nicaragua = 162] = "Nicaragua", e[e.Netherlands = 163] = "Netherlands", e[e.Norway = 164] = "Norway", e[e.Nepal = 165] = "Nepal", e[e.Nauru = 166] = "Nauru", e[e.Niue = 167] = "Niue", e[e.NewZealand = 168] = "NewZealand", e[e.Oman = 169] = "Oman", e[e.Panama = 170] = "Panama", e[e.Peru = 171] = "Peru", e[e.FrenchPolynesia = 172] = "FrenchPolynesia", e[e.PapuaNewGuinea = 173] = "PapuaNewGuinea", e[e.Philippines = 174] = "Philippines", e[e.Pakistan = 175] = "Pakistan", e[e.Poland = 176] = "Poland", e[e.SaintPierreAndMiquelon = 177] = "SaintPierreAndMiquelon", e[e.Pitcairn = 178] = "Pitcairn", e[e.PuertoRico = 179] = "PuertoRico", e[e.PalestinianTerritory = 180] = "PalestinianTerritory", e[e.Portugal = 181] = "Portugal", e[e.Palau = 182] = "Palau", e[e.Paraguay = 183] = "Paraguay", e[e.Qatar = 184] = "Qatar", e[e.Reunion = 185] = "Reunion", e[e.Romania = 186] = "Romania", e[e.Serbia = 187] = "Serbia", e[e.RussianFederation = 188] = "RussianFederation", e[e.Rwanda = 189] = "Rwanda", e[e.SaudiArabia = 190] = "SaudiArabia", e[e.SolomonIslands = 191] = "SolomonIslands", e[e.Seychelles = 192] = "Seychelles", e[e.Sudan = 193] = "Sudan", e[e.Sweden = 194] = "Sweden", e[e.Singapore = 195] = "Singapore", e[e.SaintHelena = 196] = "SaintHelena", e[e.Slovenia = 197] = "Slovenia", e[e.SvalbardAndJanMayen = 198] = "SvalbardAndJanMayen", e[e.Slovakia = 199] = "Slovakia", e[e.SierraLeone = 200] = "SierraLeone", e[e.SanMarino = 201] = "SanMarino", e[e.Senegal = 202] = "Senegal", e[e.Somalia = 203] = "Somalia", e[e.Suriname = 204] = "Suriname", e[e.SaoTomeAndPrincipe = 205] = "SaoTomeAndPrincipe", e[e.ElSalvador = 206] = "ElSalvador", e[e.SyrianArabRepublic = 207] = "SyrianArabRepublic", e[e.Swaziland = 208] = "Swaziland", e[e.TurksAndCaicosIslands = 209] = "TurksAndCaicosIslands", e[e.Chad = 210] = "Chad", e[e.FrenchSouthernTerritories = 211] = "FrenchSouthernTerritories", e[e.Togo = 212] = "Togo", e[e.Thailand = 213] = "Thailand", e[e.Tajikistan = 214] = "Tajikistan", e[e.Tokelau = 215] = "Tokelau", e[e.TimorLeste = 216] = "TimorLeste", e[e.Turkmenistan = 217] = "Turkmenistan", e[e.Tunisia = 218] = "Tunisia", e[e.Tonga = 219] = "Tonga", e[e.Turkey = 220] = "Turkey", e[e.TrinidadAndTobago = 221] = "TrinidadAndTobago", e[e.Tuvalu = 222] = "Tuvalu", e[e.Taiwan = 223] = "Taiwan", e[e.Tanzania = 224] = "Tanzania", e[e.Ukraine = 225] = "Ukraine", e[e.Uganda = 226] = "Uganda", e[e.UnitedStatesMinorOutlyingIslands = 227] = "UnitedStatesMinorOutlyingIslands", e[e.UnitedStates = 228] = "UnitedStates", e[e.Uruguay = 229] = "Uruguay", e[e.Uzbekistan = 230] = "Uzbekistan", e[e.VaticanCityState = 231] = "VaticanCityState", e[e.SaintVincentAndTheGrenadines = 232] = "SaintVincentAndTheGrenadines", e[e.Venezuela = 233] = "Venezuela", e[e.VirginIslandsBritish = 234] = "VirginIslandsBritish", e[e.VirginIslandsUS = 235] = "VirginIslandsUS", e[e.VietNam = 236] = "VietNam", e[e.Vanuatu = 237] = "Vanuatu", e[e.WallisAndFutuna = 238] = "WallisAndFutuna", e[e.Samoa = 239] = "Samoa", e[e.Yemen = 240] = "Yemen", e[e.Mayotte = 241] = "Mayotte", e[e.SouthAfrica = 242] = "SouthAfrica", e[e.Zambia = 243] = "Zambia", e[e.Zimbabwe = 244] = "Zimbabwe", e))(Bt || {}), Ft = /* @__PURE__ */ ((e) => (e.Andorra = "ad", e.UnitedArabEmirates = "ae", e.Afghanistan = "af", e.AntiguaAndBarbuda = "ag", e.Anguilla = "ai", e.Albania = "al", e.Armenia = "am", e.NetherlandsAntilles = "an", e.Angola = "ao", e.Antarctica = "aq", e.Argentina = "ar", e.AmericanSamoa = "as", e.Austria = "at", e.Australia = "au", e.Aruba = "aw", e.AlandIslands = "ax", e.Azerbaijan = "az", e.BosniaAndHerzegovina = "ba", e.Barbados = "bb", e.Bangladesh = "bd", e.Belgium = "be", e.BurkinaFaso = "bf", e.Bulgaria = "bg", e.Bahrain = "bh", e.Burundi = "bi", e.Benin = "bj", e.Bermuda = "bm", e.BruneiDarussalam = "bn", e.Bolivia = "bo", e.Brazil = "br", e.Bahamas = "bs", e.Bhutan = "bt", e.BouvetIsland = "bv", e.Botswana = "bw", e.Belarus = "by", e.Belize = "bz", e.Canada = "ca", e.CocosKeelingIslands = "cc", e.CongoKinshasa = "cd", e.CentralAfricanRepublic = "cf", e.CongoBrazzaville = "cg", e.Switzerland = "ch", e.CoteDIvoire = "ci", e.CookIslands = "ck", e.Chile = "cl", e.Cameroon = "cm", e.China = "cn", e.Colombia = "co", e.CostaRica = "cr", e.Cuba = "cu", e.CapeVerde = "cv", e.ChristmasIsland = "cx", e.Cyprus = "cy", e.CzechRepublic = "cz", e.Germany = "de", e.Djibouti = "dj", e.Denmark = "dk", e.Dominica = "dm", e.DominicanRepublic = "do", e.Algeria = "dz", e.Ecuador = "ec", e.Estonia = "ee", e.Egypt = "eg", e.WesternSahara = "eh", e.Eritrea = "er", e.Spain = "es", e.Ethiopia = "et", e.Finland = "fi", e.Fiji = "fj", e.FalklandIslands = "fk", e.Micronesia = "fm", e.FaroeIslands = "fo", e.France = "fr", e.Gabon = "ga", e.UnitedKingdom = "gb", e.Grenada = "gd", e.Georgia = "ge", e.FrenchGuiana = "gf", e.Guernsey = "gg", e.Ghana = "gh", e.Gibraltar = "gi", e.Greenland = "gl", e.Gambia = "gm", e.Guinea = "gn", e.Guadeloupe = "gp", e.EquatorialGuinea = "gq", e.Greece = "gr", e.SouthGeorgiaAndTheSouthSandwichIslands = "gs", e.Guatemala = "gt", e.Guam = "gu", e.GuineaBissau = "gw", e.Guyana = "gy", e.HongKong = "hk", e.HeardIslandAndMcDonaldIslands = "hm", e.Honduras = "hn", e.Croatia = "hr", e.Haiti = "ht", e.Hungary = "hu", e.Indonesia = "id", e.Ireland = "ie", e.Israel = "il", e.IsleOfMan = "im", e.India = "in", e.BritishIndianOceanTerritory = "io", e.Iraq = "iq", e.Iran = "ir", e.Iceland = "is", e.Italy = "it", e.Jersey = "je", e.Jamaica = "jm", e.Jordan = "jo", e.Japan = "jp", e.Kenya = "ke", e.Kyrgyzstan = "kg", e.Cambodia = "kh", e.Kiribati = "ki", e.Comoros = "km", e.SaintKittsAndNevis = "kn", e.NorthKorea = "kp", e.SouthKorea = "kr", e.Kuwait = "kw", e.CaymanIslands = "ky", e.Kazakhstan = "kz", e.Laos = "la", e.Lebanon = "lb", e.SaintLucia = "lc", e.Liechtenstein = "li", e.SriLanka = "lk", e.Liberia = "lr", e.Lesotho = "ls", e.Lithuania = "lt", e.Luxembourg = "lu", e.Latvia = "lv", e.LibyanArabJamahiriya = "ly", e.Morocco = "ma", e.Monaco = "mc", e.Moldova = "md", e.Montenegro = "me", e.Madagascar = "mg", e.MarshallIslands = "mh", e.Macedonia = "mk", e.Mali = "ml", e.Myanmar = "mm", e.Mongolia = "mn", e.Macao = "mo", e.NorthernMarianaIslands = "mp", e.Martinique = "mq", e.Mauritania = "mr", e.Montserrat = "ms", e.Malta = "mt", e.Mauritius = "mu", e.Maldives = "mv", e.Malawi = "mw", e.Mexico = "mx", e.Malaysia = "my", e.Mozambique = "mz", e.Namibia = "na", e.NewCaledonia = "nc", e.Niger = "ne", e.NorfolkIsland = "nf", e.Nigeria = "ng", e.Nicaragua = "ni", e.Netherlands = "nl", e.Norway = "no", e.Nepal = "np", e.Nauru = "nr", e.Niue = "nu", e.NewZealand = "nz", e.Oman = "om", e.Panama = "pa", e.Peru = "pe", e.FrenchPolynesia = "pf", e.PapuaNewGuinea = "pg", e.Philippines = "ph", e.Pakistan = "pk", e.Poland = "pl", e.SaintPierreAndMiquelon = "pm", e.Pitcairn = "pn", e.PuertoRico = "pr", e.PalestinianTerritory = "ps", e.Portugal = "pt", e.Palau = "pw", e.Paraguay = "py", e.Qatar = "qa", e.Reunion = "re", e.Romania = "ro", e.Serbia = "rs", e.RussianFederation = "ru", e.Rwanda = "rw", e.SaudiArabia = "sa", e.SolomonIslands = "sb", e.Seychelles = "sc", e.Sudan = "sd", e.Sweden = "se", e.Singapore = "sg", e.SaintHelena = "sh", e.Slovenia = "si", e.SvalbardAndJanMayen = "sj", e.Slovakia = "sk", e.SierraLeone = "sl", e.SanMarino = "sm", e.Senegal = "sn", e.Somalia = "so", e.Suriname = "sr", e.SaoTomeAndPrincipe = "st", e.ElSalvador = "sv", e.SyrianArabRepublic = "sy", e.Swaziland = "sz", e.TurksAndCaicosIslands = "tc", e.Chad = "td", e.FrenchSouthernTerritories = "tf", e.Togo = "tg", e.Thailand = "th", e.Tajikistan = "tj", e.Tokelau = "tk", e.TimorLeste = "tl", e.Turkmenistan = "tm", e.Tunisia = "tn", e.Tonga = "to", e.Turkey = "tr", e.TrinidadAndTobago = "tt", e.Tuvalu = "tv", e.Taiwan = "tw", e.Tanzania = "tz", e.Ukraine = "ua", e.Uganda = "ug", e.UnitedStatesMinorOutlyingIslands = "um", e.UnitedStates = "us", e.Uruguay = "uy", e.Uzbekistan = "uz", e.VaticanCityState = "va", e.SaintVincentAndTheGrenadines = "vc", e.Venezuela = "ve", e.VirginIslandsBritish = "vg", e.VirginIslandsUS = "vi", e.VietNam = "vn", e.Vanuatu = "vu", e.WallisAndFutuna = "wf", e.Samoa = "ws", e.Yemen = "ye", e.Mayotte = "yt", e.SouthAfrica = "za", e.Zambia = "zm", e.Zimbabwe = "zw", e))(Ft || {}), vt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(vt || {}), Ot = ((e) => (e[e.Aconex = v.Aconex] = "Aconex", e[e.Procore = v.Procore] = "Procore", e[e.Autodesk = v.Autodesk] = "Autodesk", e.Email = "email", e))(Ot || {}), Gt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e.Weather = "weather", e))(Gt || {}), Ht = /* @__PURE__ */ ((e) => (e.Forecast = "forecast", e.History = "history", e))(Ht || {}), Vt = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Vt || {}), Nt = /* @__PURE__ */ ((e) => (e.Daily = "daily", e.Hourly = "hourly", e))(Nt || {}), xt = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(xt || {}), Wt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(Wt || {}), zt = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(zt || {}), Lt = /* @__PURE__ */ ((e) => (e.Assign = "assign", e.Unassign = "unassign", e))(Lt || {});
55
+ function zo(e) {
56
+ return e.resourceType === "project";
57
+ }
58
+ function Lo(e) {
59
+ return e.resourceType === "camera";
60
+ }
61
+ const Zo = "queued";
62
+ var Zt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(Zt || {}), Qt = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Qt || {}), Xt = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(Xt || {}), qt = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(qt || {}), Jt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e.Subprompt = "subprompt", e))(Jt || {}), Yt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Yt || {});
63
+ const Qo = {
64
+ gate_report: {
65
+ bg: "#ecfdf5",
66
+ fg: "#047857",
67
+ border: "#a7f3d0",
68
+ icon: "fa-truck"
69
+ },
70
+ ppe: {
71
+ bg: "#fff7ed",
72
+ fg: "#c2410c",
73
+ border: "#fed7aa",
74
+ icon: "fa-helmet-safety"
75
+ },
76
+ site_analytics: {
77
+ bg: "#eff6ff",
78
+ fg: "#1d4ed8",
79
+ border: "#bfdbfe",
80
+ icon: "fa-chart-simple"
81
+ },
82
+ generic: {
83
+ bg: "#f1f5f9",
84
+ fg: "#334155",
85
+ border: "#cbd5e1",
86
+ icon: "fa-cube"
87
+ }
88
+ }, Xo = {
89
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
90
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
91
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
92
+ };
93
+ var Kt = /* @__PURE__ */ ((e) => (e.Gemini3Pro = "gemini-3-pro", e.Gemini3FlashPreview = "gemini-3-flash-preview", e.Gemini25Pro = "gemini-2.5-pro", e.Gemini25Flash = "gemini-2.5-flash", e.Gemini20Flash = "gemini-2.0-flash", e.Gpt5 = "gpt-5", e.Gpt5Mini = "gpt-5-mini", e.Gpt4o = "gpt-4o", e.Gpt4oMini = "gpt-4o-mini", e.ClaudeOpus45 = "claude-opus-4-5", e.ClaudeSonnet46 = "claude-sonnet-4-6", e.ClaudeHaiku45 = "claude-haiku-4-5", e))(Kt || {}), Ct = /* @__PURE__ */ ((e) => (e.Prompt = "prompt", e.Parent = "parent", e.Subprompt = "subprompt", e))(Ct || {}), Et = /* @__PURE__ */ ((e) => (e.Prod = "prod", e.Beta = "beta", e.Parked = "parked", e))(Et || {}), At = /* @__PURE__ */ ((e) => (e.PerSecond = "per_second", e.PerMinute = "per_minute", e.Hourly = "hourly", e.Daily = "daily", e))(At || {});
94
+ const qo = {
95
+ prod: {
96
+ bg: "#ecfdf5",
97
+ fg: "#047857",
98
+ border: "#a7f3d0",
99
+ label: "Prod"
100
+ },
101
+ beta: {
102
+ bg: "#fffbeb",
103
+ fg: "#b45309",
104
+ border: "#fde68a",
105
+ label: "Beta"
106
+ },
107
+ parked: {
108
+ bg: "#f1f5f9",
109
+ fg: "#475569",
110
+ border: "#cbd5e1",
111
+ label: "Parked"
112
+ }
113
+ };
114
+ var It = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(It || {}), yt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(yt || {}), eo = /* @__PURE__ */ ((e) => (e.Detected = "detected", e.Approved = "approved", e.Disapproved = "disapproved", e.Unsure = "unsure", e))(eo || {});
115
+ const Jo = {
116
+ detected: {
117
+ bg: "#f1f5f9",
118
+ fg: "#334155",
119
+ border: "#cbd5e1",
120
+ label: "Detected"
121
+ },
122
+ approved: {
123
+ bg: "#ecfdf5",
124
+ fg: "#047857",
125
+ border: "#a7f3d0",
126
+ label: "Approved"
127
+ },
128
+ disapproved: {
129
+ bg: "#fef2f2",
130
+ fg: "#b91c1c",
131
+ border: "#fecaca",
132
+ label: "Disapproved"
133
+ },
134
+ unsure: {
135
+ bg: "#fffbeb",
136
+ fg: "#b45309",
137
+ border: "#fde68a",
138
+ label: "Unsure"
139
+ }
140
+ }, T = (e) => class extends Error {
32
141
  constructor(r) {
33
142
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
34
143
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
35
144
  }
36
- }, gt = S(h.BadRequestError), mt = S(h.NotFoundError), pt = S(h.UnauthorizedError), ct = S(
37
- h.GatewayTimeoutError
38
- ), ut = S(h.BadGatewayError), ht = S(h.ForbiddenError), xt = S(h.HlsError), Lt = S(h.SnapshotError), dt = S(h.ConflictError), St = S(
39
- h.InternalServerError
40
- );
41
- let V = 0;
42
- const Tt = 10, $t = async () => {
43
- for (; V === Tt; )
44
- await new Promise((e) => setTimeout(e, 1e3));
45
- V++, setTimeout(() => {
46
- V--;
47
- }, 1e3);
48
- }, bt = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await $t(), Pt(e, r), wt(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && (e.headers.common["iframe-origin"] = new URL(document.referrer).origin), e.preserveCasing || Mt(e)), e), kt = (e) => {
49
- var t, s, o, l, n;
145
+ }, ro = T($.BadRequestError), ao = T($.NotFoundError), to = T($.UnauthorizedError), oo = T(
146
+ $.GatewayTimeoutError
147
+ ), so = T($.BadGatewayError), io = T($.ForbiddenError), Yo = T($.HlsError), Ko = T($.SnapshotError), no = T($.ConflictError), lo = T(
148
+ $.InternalServerError
149
+ ), go = 10, W = 1e3, R = [], po = async () => {
150
+ for (; ; ) {
151
+ const e = Date.now();
152
+ for (; R.length && e - R[0] >= W; )
153
+ R.shift();
154
+ if (R.length < go) {
155
+ R.push(e);
156
+ return;
157
+ }
158
+ const r = W - (e - R[0]);
159
+ await new Promise((t) => setTimeout(t, r));
160
+ }
161
+ }, mo = async (e, r) => {
162
+ var t, o;
163
+ if (e != null && e.raw)
164
+ return e;
165
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await po(), ho(e, r), e != null && e.skipAuth ? $o(e) : uo(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && ((t = e == null ? void 0 : e.headers) != null && t.common) && !(r.forgeTokenServerUrl && (e.url || "").startsWith(r.forgeTokenServerUrl))) {
166
+ const i = e.headers.common;
167
+ i["iframe-origin"] = new URL(document.referrer).origin;
168
+ }
169
+ if (r.evercamLabsUrl && (e.url || "").startsWith(r.evercamLabsUrl) && ((o = e == null ? void 0 : e.headers) != null && o.common)) {
170
+ const i = e.headers.common;
171
+ i["x-environment"] = r.isLabsStaging ? "staging" : "production";
172
+ }
173
+ return e.preserveCasing || So(e), e;
174
+ }, co = (e) => {
175
+ var t, o, i, g, p;
50
176
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
51
177
  return e;
52
178
  if ("data" in e) {
53
179
  if (e.data instanceof Blob)
54
180
  return e.data;
55
181
  } else return e;
56
- const r = (s = e == null ? void 0 : e.config) != null && s.preserveCasing ? e.data : w.camelizeKeys(e.data);
57
- if ((o = e == null ? void 0 : e.config) != null && o.timing && ((n = (l = e == null ? void 0 : e.config) == null ? void 0 : l._metadata) != null && n.startTime)) {
58
- const p = performance.now() - e.config._metadata.startTime;
182
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : D.camelizeKeys(e.data);
183
+ if ((i = e == null ? void 0 : e.config) != null && i.timing && ((p = (g = e == null ? void 0 : e.config) == null ? void 0 : g._metadata) != null && p.startTime)) {
184
+ const c = performance.now() - e.config._metadata.startTime;
59
185
  return {
60
186
  ...e,
61
187
  data: r,
62
- duration: p
188
+ duration: c
63
189
  };
64
190
  }
65
191
  return r;
66
- }, X = async (e, r) => {
67
- var M, _, U, k, F, G, W;
68
- if ((M = e == null ? void 0 : e.config) != null && M.timing && ((U = (_ = e == null ? void 0 : e.config) == null ? void 0 : _._metadata) != null && U.startTime)) {
69
- const K = performance.now() - e.config._metadata.startTime;
70
- return { error: e, duration: K };
192
+ }, J = async (e, r) => {
193
+ var _, U, B, M, V, N, x;
194
+ if ((_ = e == null ? void 0 : e.config) != null && _.timing && ((B = (U = e == null ? void 0 : e.config) == null ? void 0 : U._metadata) != null && B.startTime)) {
195
+ const A = performance.now() - e.config._metadata.startTime;
196
+ return { error: e, duration: A };
71
197
  }
72
- const t = e.response ? e.response.status : null, s = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), o = (F = e.config) == null ? void 0 : F.url, l = ((W = (G = e == null ? void 0 : e.response) == null ? void 0 : G.data) == null ? void 0 : W.code) || "";
73
- let n = {}, p = e.message;
74
- switch (o && s && t && (p = `${s} ${o} (${t}) ${l}`.trim()), t) {
75
- case d.BadRequestError:
76
- n = new gt(new Error(p));
198
+ const t = e.response ? e.response.status : null, o = (((M = e.config) == null ? void 0 : M.method) || "").toUpperCase(), i = (V = e.config) == null ? void 0 : V.url, g = ((x = (N = e == null ? void 0 : e.response) == null ? void 0 : N.data) == null ? void 0 : x.code) || "";
199
+ let p = {}, c = e.message;
200
+ switch (i && o && t && (c = `${o} ${i} (${t}) ${g}`.trim()), t) {
201
+ case k.BadRequestError:
202
+ p = new ro(new Error(c));
77
203
  break;
78
- case d.UnauthorizedError:
79
- n = new pt(new Error(p));
204
+ case k.UnauthorizedError:
205
+ p = new to(new Error(c));
80
206
  break;
81
- case d.ForbiddenError:
82
- n = new ht(new Error(p));
207
+ case k.ForbiddenError:
208
+ p = new io(new Error(c));
83
209
  break;
84
- case d.NotFoundError:
85
- n = new mt(new Error(p));
210
+ case k.NotFoundError:
211
+ p = new ao(new Error(c));
86
212
  break;
87
- case d.ConflictError:
88
- n = new dt(new Error(p));
213
+ case k.ConflictError:
214
+ p = new no(new Error(c));
89
215
  break;
90
- case d.InternalServerError:
91
- n = new St(new Error(p));
216
+ case k.InternalServerError:
217
+ p = new lo(new Error(c));
92
218
  break;
93
- case d.BadGatewayError:
94
- n = new ut(new Error(p));
219
+ case k.BadGatewayError:
220
+ p = new so(new Error(c));
95
221
  break;
96
- case d.GatewayTimeoutError:
97
- n = new ct(new Error(p));
222
+ case k.GatewayTimeoutError:
223
+ p = new oo(new Error(c));
98
224
  break;
99
225
  case null:
100
226
  // null case
101
227
  case 0:
102
- n = new Error(
228
+ p = new Error(
103
229
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
104
230
  );
105
231
  break;
106
232
  }
107
- if (b.isCancel(e) || t === d.NotFoundError)
108
- return Promise.reject(n);
233
+ if (w.isCancel(e) || t === k.NotFoundError)
234
+ return Promise.reject(p);
109
235
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
110
- const D = r.errorLogger;
111
- return o && D && D({
236
+ const f = r.errorLogger;
237
+ return i && f && f({
112
238
  // @ts-expect-error axios issue
113
239
  category: "axios.info",
114
240
  data: {
115
- url: `Error in URL: ${o}`,
241
+ url: `Error in URL: ${i}`,
116
242
  status: t
117
243
  }
118
- }), Promise.reject(n);
119
- }, J = (e) => {
244
+ }), Promise.reject(p);
245
+ }, Y = (e) => {
120
246
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
121
247
  };
122
- function wt(e, r) {
123
- var s;
124
- const t = (s = r == null ? void 0 : r.getAuthToken) == null ? void 0 : s.call(r);
125
- t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
248
+ function uo(e, r) {
249
+ var o;
250
+ const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
251
+ t && (Y(e), e.headers.common.Authorization = `Bearer ${t}`);
126
252
  }
127
- function Pt(e, r) {
253
+ function ho(e, r) {
128
254
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
129
255
  }
130
- function Mt(e) {
131
- let r = {}, { data: t, params: s } = e;
256
+ function So(e) {
257
+ let r = {}, { data: t, params: o } = e;
132
258
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
133
- (o, l) => ({
134
- ...o,
135
- [l]: t[l]
259
+ (i, g) => ({
260
+ ...i,
261
+ [g]: t[g]
136
262
  }),
137
263
  {}
138
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = w.decamelizeKeys(t) : t = { ...w.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
139
- let o = new FormData();
140
- for (const [l, n] of t.entries())
141
- o.append(w.decamelize(l), n);
142
- t = o;
264
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = D.decamelizeKeys(t) : t = { ...D.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
265
+ let i = new FormData();
266
+ for (const [g, p] of t.entries())
267
+ i.append(D.decamelize(g), p);
268
+ t = i;
143
269
  }
144
- s && !(s instanceof Blob) && (s = w.decamelizeKeys(s)), e.data = t, e.params = s;
270
+ o && !(o instanceof Blob) && (o = D.decamelizeKeys(o)), e.data = t, e.params = o;
145
271
  }
146
- const Zt = async (e, r, t) => {
272
+ const Co = async (e, r, t) => {
147
273
  if (r())
148
- throw await t(), new b.Cancel("Request canceled due to expired token");
274
+ throw await t(), new w.Cancel("Request canceled due to expired token");
149
275
  return e;
150
276
  };
151
- function R(e) {
277
+ function $o(e) {
278
+ if (!e.headers)
279
+ return;
280
+ const r = e.headers;
281
+ delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
282
+ }
283
+ function j(e) {
152
284
  return new Promise((r, t) => {
153
285
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
154
286
  });
155
287
  }
156
- function ft(e, r) {
288
+ function bo(e, r) {
157
289
  let t;
158
- const s = () => {
290
+ const o = () => {
159
291
  if (t)
160
292
  return t;
161
- const o = indexedDB.open(e);
162
- return o.onupgradeneeded = () => o.result.createObjectStore(r), t = R(o), t.then((l) => {
163
- l.onclose = () => t = void 0;
293
+ const i = indexedDB.open(e);
294
+ return i.onupgradeneeded = () => i.result.createObjectStore(r), t = j(i), t.then((g) => {
295
+ g.onclose = () => t = void 0;
164
296
  }, () => {
297
+ t = void 0;
165
298
  }), t;
166
299
  };
167
- return (o, l) => s().then((n) => l(n.transaction(r, o).objectStore(r)));
300
+ return (i, g) => o().then((p) => g(p.transaction(r, i).objectStore(r)));
168
301
  }
169
- let H;
302
+ let G;
170
303
  function O() {
171
- return H || (H = ft("keyval-store", "keyval")), H;
304
+ return G || (G = bo("keyval-store", "keyval")), G;
172
305
  }
173
- function Rt(e, r = O()) {
174
- return r("readonly", (t) => R(t.get(e)));
306
+ function ko(e, r = O()) {
307
+ return r("readonly", (t) => j(t.get(e)));
175
308
  }
176
- function Dt(e, r, t = O()) {
177
- return t("readwrite", (s) => (s.put(r, e), R(s.transaction)));
309
+ function To(e, r, t = O()) {
310
+ return t("readwrite", (o) => (o.put(r, e), j(o.transaction)));
178
311
  }
179
- function _t(e, r = O()) {
180
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
312
+ function wo(e, r = O()) {
313
+ return r("readwrite", (t) => (t.delete(e), j(t.transaction)));
181
314
  }
182
- function Ut(e = O()) {
183
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
315
+ function fo(e = O()) {
316
+ return e("readwrite", (r) => (r.clear(), j(r.transaction)));
184
317
  }
185
- class Bt {
318
+ class Mo {
186
319
  constructor(r) {
187
- B(this, "prefix");
320
+ F(this, "prefix");
188
321
  this.prefix = r;
189
322
  }
190
323
  generateKey(r) {
191
- var o, l;
192
- const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(o = r.url) == null ? void 0 : o.replace(/^\//, "")}` : r.url;
193
- let s = "";
324
+ var i, g;
325
+ const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
326
+ let o = "";
194
327
  if (r.params) {
195
- const n = Object.keys(r.params).sort().reduce((p, T) => (p[T] = r.params[T], p), {});
196
- s = JSON.stringify(n);
328
+ const p = Object.keys(r.params).sort().reduce((c, h) => (c[h] = r.params[h], c), {});
329
+ o = JSON.stringify(p);
197
330
  }
198
- return `${this.prefix}:${((l = r.method) == null ? void 0 : l.toUpperCase()) || "GET"}:${t}?${s}`;
331
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
199
332
  }
200
333
  async get(r) {
201
334
  let t;
202
335
  try {
203
- if (t = await Rt(r), t === void 0)
336
+ if (t = await ko(r), t === void 0)
204
337
  return;
205
- } catch (s) {
206
- console.error(`[SWR Store]: Error getting value for key "${r}"`, s);
338
+ } catch (o) {
339
+ console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
207
340
  return;
208
341
  }
209
342
  try {
210
343
  t = JSON.parse(t);
211
- } catch (s) {
344
+ } catch (o) {
212
345
  console.error(
213
346
  `[SWR Store]: Error parsing value for key "${r}", got ${t}`,
214
- s
347
+ o
215
348
  );
216
349
  }
217
350
  return t;
218
351
  }
219
352
  async set(r, t) {
220
353
  try {
221
- const s = JSON.stringify(t);
222
- await Dt(r, s);
223
- } catch (s) {
354
+ const o = JSON.stringify(t);
355
+ await To(r, o);
356
+ } catch (o) {
224
357
  console.error(
225
358
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
226
- s
359
+ o
227
360
  );
228
361
  }
229
362
  }
230
363
  async delete(r) {
231
364
  try {
232
- await _t(r);
365
+ await wo(r);
233
366
  } catch (t) {
234
367
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
235
368
  }
236
369
  }
237
370
  async clear() {
238
371
  try {
239
- await Ut();
372
+ await fo();
240
373
  } catch (r) {
241
374
  console.error("[SWR Store]: Error clearing cache", r);
242
375
  }
243
376
  }
244
377
  }
245
- class Q {
378
+ class K {
246
379
  constructor({
247
380
  key: r,
248
381
  axiosInstance: t
249
382
  }) {
250
- B(this, "axiosInstance");
251
- B(this, "store");
252
- this.store = new Bt(r), this.axiosInstance = t;
383
+ F(this, "axiosInstance");
384
+ F(this, "store");
385
+ this.store = new Mo(r), this.axiosInstance = t;
253
386
  }
254
387
  async get(r, t = {}) {
255
- const s = {
388
+ const o = {
256
389
  ...t,
257
390
  method: "get",
258
391
  url: r
259
- }, o = this.store.generateKey(s), l = this.getCachedValue(o, s), n = this.getFreshValue(o, s);
392
+ }, i = this.store.generateKey(o), g = this.getCachedValue(i, o), p = this.getFreshValue(i, o);
260
393
  return Promise.race([
261
- l.then((p) => p != null ? p : n),
262
- n
394
+ g.then((c) => c != null ? c : p),
395
+ p
263
396
  ]);
264
397
  }
265
398
  async getCachedValue(r, t) {
266
399
  try {
267
- const s = await this.store.get(r);
268
- return s ? (t.onSwrHit && t.onSwrHit(s), s) : void 0;
269
- } catch (s) {
270
- console.warn(`[SWR] Error fetching value for key: ${r}`, s);
400
+ const o = await this.store.get(r);
401
+ return o ? (t.onSwrHit && t.onSwrHit(o), o) : void 0;
402
+ } catch (o) {
403
+ console.warn(`[SWR] Error fetching value for key: ${r}`, o);
271
404
  }
272
405
  }
273
406
  async getFreshValue(r, t) {
274
- var s;
407
+ var o;
275
408
  try {
276
- const o = await this.axiosInstance.request(
409
+ const i = await this.axiosInstance.request(
277
410
  t
278
- ), l = (s = o == null ? void 0 : o.data) != null ? s : o;
279
- return this.store.set(r, l).catch((n) => {
280
- console.warn(`[SWR] Failed to write to cache: ${r}`, n);
281
- }), t.onSwrRefresh && t.onSwrRefresh(l), l;
282
- } catch (o) {
283
- throw console.warn(`[SWR] Request failed: ${t.url}`, o), t.onSwrError && t.onSwrError(o), o;
411
+ ), g = (o = i == null ? void 0 : i.data) != null ? o : i;
412
+ return this.store.set(r, g).catch((p) => {
413
+ console.warn(`[SWR] Failed to write to cache: ${r}`, p);
414
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
415
+ } catch (i) {
416
+ throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
284
417
  }
285
418
  }
286
419
  async clear() {
287
420
  await this.store.clear();
288
421
  }
289
422
  }
290
- let v = [], z = [], P = [];
291
- const a = b.create({
423
+ let z = [], L = [], P = [];
424
+ const a = w.create({
292
425
  headers: {
293
426
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
294
427
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -306,66 +439,78 @@ a.addEnvironmentVariables = (e) => {
306
439
  );
307
440
  });
308
441
  };
309
- a.swr = new Q({
442
+ a.swr = new K({
310
443
  key: a.env.swrKey || "swr",
311
444
  axiosInstance: a
312
445
  });
313
- const jt = a.get.bind(a);
314
- a.swr = new Q({
446
+ const Ro = a.get.bind(a);
447
+ a.swr = new K({
315
448
  key: a.env.swrKey || "swr",
316
449
  axiosInstance: a
317
450
  });
318
451
  a.get = function(...e) {
319
- return (e[1] || {}).swr ? this.swr.get(...e) : jt(...e);
452
+ return (e[1] || {}).swr ? this.swr.get(...e) : Ro(...e);
320
453
  };
321
454
  a.addRequestInterceptor = (e, r) => {
322
- v.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
455
+ z.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
323
456
  async (t) => {
324
- for (const s of v)
325
- t = await s(t, a.env);
457
+ for (const o of z)
458
+ t = await o(t, a.env);
326
459
  return t;
327
460
  },
328
461
  (t) => {
329
- for (const s of P)
330
- s(t, a.env);
462
+ for (const o of P)
463
+ o(t, a.env);
331
464
  }
332
465
  );
333
466
  };
334
467
  a.addResponseInterceptor = (e, r) => {
335
- z.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
468
+ L.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
336
469
  async (t) => {
337
- for (const s of z)
338
- t = await s(t, a.env);
470
+ for (const o of L)
471
+ t = await o(t, a.env);
339
472
  return t;
340
473
  },
341
474
  (t) => {
342
- for (const s of P)
343
- s(t, a.env);
475
+ for (const o of P)
476
+ o(t, a.env);
344
477
  return Promise.reject(t);
345
478
  }
346
479
  );
347
480
  };
348
- a.addRequestInterceptor(bt, X);
349
- a.addResponseInterceptor(kt, X);
350
- const Y = (e, r) => {
351
- J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
352
- }, Ot = (e) => {
353
- Y("Authorization", e ? `Bearer ${e}` : null);
354
- };
355
- a.CancelToken = b.CancelToken;
356
- a.isCancel = b.isCancel;
357
- a.setHeader = Y;
358
- a.setToken = Ot;
359
- let f = [];
360
- a.generateCancelTokenSource = () => a.CancelToken.source();
361
- a.addCancelToken = (e) => f = [e, ...f];
362
- a.resetCancelTokens = () => f = [];
363
- a.cancelRequests = () => {
364
- f.length && (f.forEach((e) => {
365
- e.cancel("Operation canceled due to new request");
366
- }), a.resetCancelTokens());
481
+ a.addRequestInterceptor(mo, J);
482
+ a.addResponseInterceptor(co, J);
483
+ const C = (e, r) => {
484
+ Y(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
485
+ }, Do = (e) => {
486
+ C("Authorization", e ? `Bearer ${e}` : null);
367
487
  };
368
- const qt = {
488
+ a.CancelToken = w.CancelToken;
489
+ a.isCancel = w.isCancel;
490
+ a.setHeader = C;
491
+ a.setToken = Do;
492
+ const H = "Operation canceled due to new request";
493
+ function E() {
494
+ const e = /* @__PURE__ */ new Map();
495
+ return {
496
+ createToken(r) {
497
+ var o;
498
+ (o = e.get(r)) == null || o.cancel(H);
499
+ const t = a.CancelToken.source();
500
+ return e.set(r, t), t.token;
501
+ },
502
+ cancelToken(r) {
503
+ var t;
504
+ (t = e.get(r)) == null || t.cancel(H), e.delete(r);
505
+ },
506
+ cancelAll() {
507
+ e.forEach((r) => r.cancel(H)), e.clear();
508
+ }
509
+ };
510
+ }
511
+ a.createRequestManager = E;
512
+ a.requestManager = E();
513
+ const Po = 10 * 60 * 1e3, Eo = {
369
514
  mediaHub: {
370
515
  getAllMedia(e) {
371
516
  return a.get("/admin/media-hub", e);
@@ -389,8 +534,17 @@ const qt = {
389
534
  focusCamera(e, r) {
390
535
  return a.post(`/admin/devices/${r}/${e}/focus`);
391
536
  },
392
- getStorageServers() {
393
- return a.get("/admin/storage/servers");
537
+ getStorageProviders(e, r) {
538
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
539
+ },
540
+ createStorageProvider(e, r) {
541
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
542
+ },
543
+ updateStorageProvider(e, r, t) {
544
+ return a.put(
545
+ `/admin/cameras/${e}/storage-providers/${r}`,
546
+ t
547
+ );
394
548
  },
395
549
  getStorageDetails() {
396
550
  return a.get("/admin/storage");
@@ -463,7 +617,7 @@ const qt = {
463
617
  }
464
618
  },
465
619
  companies: {
466
- show(e, r) {
620
+ show(e, r = {}) {
467
621
  return a.get(`/admin/companies/${e}`, r);
468
622
  },
469
623
  getCompanyUsers(e, r) {
@@ -486,9 +640,6 @@ const qt = {
486
640
  },
487
641
  deleteCompany(e) {
488
642
  return a.delete("/admin/companies", { params: e });
489
- },
490
- reSyncCompanies(e) {
491
- return a.post("/admin/companies/resync", e);
492
643
  }
493
644
  },
494
645
  sso: {
@@ -505,6 +656,26 @@ const qt = {
505
656
  return a.delete("/admin/sso-providers", { params: { ids: e } });
506
657
  }
507
658
  },
659
+ oauthClients: {
660
+ index() {
661
+ return a.get("/admin/oauth/clients");
662
+ },
663
+ show(e) {
664
+ return a.get(`/admin/oauth/clients/${e}`);
665
+ },
666
+ create(e) {
667
+ return a.post("/admin/oauth/clients", e);
668
+ },
669
+ update(e, r) {
670
+ return a.patch(`/admin/oauth/clients/${e}`, r);
671
+ },
672
+ delete(e) {
673
+ return a.delete(`/admin/oauth/clients/${e}`);
674
+ },
675
+ regenerateSecret(e) {
676
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
677
+ }
678
+ },
508
679
  emailing: {
509
680
  performEmailing(e, r) {
510
681
  return a.post(`/admin/mailing/${e}`, r);
@@ -523,14 +694,6 @@ const qt = {
523
694
  addExtraction(e, r) {
524
695
  return a.post(`admin/cameras/${e}/extractions`, r);
525
696
  },
526
- getExtractionStatus(e, r, t) {
527
- return a.get(
528
- `admin/cameras/${e}/extractions/${r}`,
529
- {
530
- params: t
531
- }
532
- );
533
- },
534
697
  deleteSnapshotExtraction(e, r, t) {
535
698
  return a.delete(
536
699
  `admin/cameras/${e}/extractions/${r}`,
@@ -538,6 +701,30 @@ const qt = {
538
701
  params: t
539
702
  }
540
703
  );
704
+ },
705
+ getExtraction(e, r) {
706
+ return a.get(
707
+ `admin/cameras/${e}/extractions/${r}`
708
+ );
709
+ },
710
+ reprocessExtraction(e, r) {
711
+ return a.post(
712
+ `admin/cameras/${e}/extractions/${r}/reprocess`
713
+ );
714
+ }
715
+ },
716
+ anprExtractions: {
717
+ list(e) {
718
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
719
+ },
720
+ create(e, r) {
721
+ return a.post(
722
+ `/admin/cameras/${e}/anpr/extractions`,
723
+ r
724
+ );
725
+ },
726
+ delete(e, r) {
727
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
541
728
  }
542
729
  },
543
730
  kits: {
@@ -560,12 +747,12 @@ const qt = {
560
747
  kitId: e,
561
748
  metric: r,
562
749
  fromDate: t,
563
- toDate: s
750
+ toDate: o
564
751
  }) {
565
752
  return a.get(`/admin/kits/${e}/stats/${r}`, {
566
753
  params: {
567
754
  fromDate: t,
568
- toDate: s
755
+ toDate: o
569
756
  }
570
757
  });
571
758
  },
@@ -583,6 +770,20 @@ const qt = {
583
770
  },
584
771
  getAlarms(e) {
585
772
  return a.get(`/admin/kits/${e}/alarms`);
773
+ },
774
+ runSupportChecklist(e) {
775
+ return a.post(`/admin/kits/${e}/support-checklist`, null, {
776
+ timeout: Po
777
+ });
778
+ },
779
+ getBoxes(e) {
780
+ return a.get("/admin/kit-boxes", e);
781
+ },
782
+ createBox(e) {
783
+ return a.post("/admin/kit-boxes", e);
784
+ },
785
+ updateBox(e, r) {
786
+ return a.patch(`/admin/kit-boxes/${e}`, r);
586
787
  }
587
788
  },
588
789
  logs: {
@@ -660,6 +861,12 @@ const qt = {
660
861
  },
661
862
  addToProject(e, r) {
662
863
  return a.post(`/admin/projects/${e}/add-cameras`, r);
864
+ },
865
+ getProjectStorages(e) {
866
+ return a.get("/admin/projects/storages", e);
867
+ },
868
+ retryProjectStorage(e) {
869
+ return a.post(`/admin/projects/storages/${e}/retry`);
663
870
  }
664
871
  },
665
872
  routers: {
@@ -713,26 +920,9 @@ const qt = {
713
920
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
714
921
  }
715
922
  },
716
- shareRequests: {
717
- getShareRequests(e) {
718
- return a.get("/admin/camera-share-requests", e);
719
- },
720
- deleteShareRequest(e) {
721
- return a.delete("/admin/camera-share-requests", { params: e });
722
- },
723
- updateShareRequestStatus(e) {
724
- return a.patch("/admin/camera-share-requests", e);
725
- }
726
- },
727
923
  shares: {
728
- createShares(e, r) {
729
- return a.post(`/admin/cameras/${e}/shares`, r);
730
- },
731
- getShares(e) {
732
- return a.get("/admin/camera-shares", e);
733
- },
734
- deleteShares(e) {
735
- return a.delete("/admin/camera-shares", { params: e });
924
+ getInvites(e) {
925
+ return a.get("/admin/invites", e);
736
926
  }
737
927
  },
738
928
  sims: {
@@ -810,7 +1000,7 @@ const qt = {
810
1000
  return a.put(`/admin/users/${e}/grant-admin`);
811
1001
  },
812
1002
  deleteUser(e, r) {
813
- return a.post(`/users/${e}/delete`, r);
1003
+ return a.delete(`/admin/users/${e}`, { params: r });
814
1004
  },
815
1005
  impersonateUser(e) {
816
1006
  return a.post(`/admin/users/${e}/impersonate`);
@@ -818,7 +1008,7 @@ const qt = {
818
1008
  getUsers(e) {
819
1009
  return a.get("/admin/users", e);
820
1010
  },
821
- show(e, r) {
1011
+ show(e, r = {}) {
822
1012
  return a.get(
823
1013
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
824
1014
  );
@@ -859,8 +1049,16 @@ const qt = {
859
1049
  index(e) {
860
1050
  return a.get("/admin/comments", e);
861
1051
  }
1052
+ },
1053
+ snapshotTransfers: {
1054
+ index(e) {
1055
+ return a.get("/admin/snapshot-transfers", e);
1056
+ },
1057
+ cancel(e) {
1058
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
1059
+ }
862
1060
  }
863
- }, Xt = {
1061
+ }, Ao = {
864
1062
  list(e = {}) {
865
1063
  return a.get("/video-walls", { params: e });
866
1064
  },
@@ -882,389 +1080,837 @@ const qt = {
882
1080
  delete(e) {
883
1081
  return a.delete(`/video-walls/${e}`);
884
1082
  }
885
- }, $ = () => a.env.firebaseDbLink, Nt = () => a.env.firebaseStorageUrl, Vt = () => a.env.firebaseStorageToken, Jt = {
1083
+ }, l = () => a.env.firebaseDbLink, _o = () => a.env.firebaseStorageUrl, jo = () => a.env.firebaseStorageToken, Uo = () => a.env.forgeTokenServerUrl, n = { skipAuth: !0, preserveCasing: !0 }, Io = {
886
1084
  drone: {
887
1085
  getProjectInfo(e) {
888
- return fetch(
889
- `${$()}data/projects/cesium/${e}.json`
890
- ).then((r) => r.json());
1086
+ return a.get(
1087
+ `${l()}data/projects/cesium/${e}.json`,
1088
+ n
1089
+ );
891
1090
  },
892
1091
  getProjectTags(e) {
893
- return fetch(
894
- `${$()}cesium/${e}/transform/tags.json`
895
- ).then((r) => r.json());
896
- }
897
- },
898
- _360: {
899
- getProjectInfo(e) {
900
- return fetch(
901
- `${$()}data/projects/360/${e}.json`
902
- ).then((r) => r.json());
903
- },
904
- updateFloor(e, r, t, s) {
905
- return fetch(
906
- `${$()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
907
- {
908
- method: "PATCH",
909
- body: JSON.stringify(s)
910
- }
911
- ).then((o) => o.json());
1092
+ return a.get(
1093
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1094
+ n
1095
+ );
912
1096
  },
913
- getRoute(e, r, t) {
914
- return fetch(
915
- `${$()}360/${e}/${r}/${t}/route.json`,
916
- {
917
- method: "GET"
918
- }
919
- ).then((s) => s.json());
1097
+ patchTags({
1098
+ projectId: e,
1099
+ tags: r
1100
+ }) {
1101
+ return a.patch(
1102
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1103
+ r,
1104
+ n
1105
+ );
920
1106
  },
921
- getGPXText(e) {
922
- return fetch(e == null ? void 0 : e.replace(/token=\s*/, "token=")).then(
923
- (r) => r.text()
1107
+ saveMarkers({
1108
+ projectId: e,
1109
+ markers: r
1110
+ }) {
1111
+ return a.put(
1112
+ `${l()}data/projects/cesium/${e}/transform/markers.json`,
1113
+ r,
1114
+ n
924
1115
  );
925
1116
  },
926
- updateRoute(e, r, t, s) {
927
- return fetch(
928
- `${$()}360/${e}/${r}/${t}/route.json`,
929
- {
930
- method: "PATCH",
931
- body: JSON.stringify(s)
932
- }
933
- ).then((o) => o.json());
1117
+ patchTransform({
1118
+ projectId: e,
1119
+ data: r
1120
+ }) {
1121
+ return a.patch(
1122
+ `${l()}data/projects/cesium/${e}/transform.json`,
1123
+ r,
1124
+ n
1125
+ );
934
1126
  },
935
- async updateFeatureFlag(e, r, t, s, o) {
936
- return fetch(
937
- `${$()}360/${e}/${r}/${t}/${s}.json`,
938
- {
939
- method: "PUT",
940
- body: JSON.stringify(o)
941
- }
942
- ).then((l) => l.json());
1127
+ saveTerrainPoints({
1128
+ projectId: e,
1129
+ dateId: r,
1130
+ points: t
1131
+ }) {
1132
+ return a.put(
1133
+ `${l()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1134
+ t,
1135
+ n
1136
+ );
943
1137
  },
944
- async saveSteps(e, r, t, s) {
945
- return fetch(
946
- `${$()}360/${e}/${r}/${t}/steps.json`,
947
- {
948
- method: "PUT",
949
- body: JSON.stringify(s)
950
- }
951
- ).then((o) => o.json());
1138
+ patchImageryPlan({
1139
+ projectId: e,
1140
+ plan: r
1141
+ }) {
1142
+ return a.patch(
1143
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1144
+ r,
1145
+ n
1146
+ );
952
1147
  },
953
- updateGPXFile(e, r, t, s) {
954
- const o = new Blob([s], { type: "application/gpx+xml" }), l = new FormData();
955
- return l.append("gpxFile", o, "updated-track.gpx"), fetch(
956
- `${Nt() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Vt()}`,
957
- {
958
- method: "POST",
959
- body: l
960
- }
1148
+ deleteImageryPlan({
1149
+ projectId: e,
1150
+ uuid: r
1151
+ }) {
1152
+ return a.delete(
1153
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1154
+ n
961
1155
  );
962
- }
963
- },
964
- forge: {
965
- async getProjectInfo(e) {
966
- return fetch(
967
- `${$()}data/projects/forge/${e}.json`
968
- ).then((r) => r.json());
969
- }
970
- }
971
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
972
- if (Object.keys(e).length === 0)
973
- return;
974
- let s = { ...e };
975
- return r && (s = w.decamelizeKeys(e)), Object.entries(s).reduce((o, [l, n], p) => {
976
- let T = "";
977
- return ["", null, void 0].includes(n) || Array.isArray(n) && n.length === 0 ? o : (n && typeof n == "object" ? T = Object.entries(n).reduce((D, [M, _], U) => {
978
- let k = l;
979
- return isNaN(Number.parseInt(M)) ? k = `${l}[${M}]` : Array.isArray(n) && t && (k = `${l}[]`), `${D}${U > 0 ? "&" : ""}${k}=${encodeURIComponent(_)}`;
980
- }, "") : T = `${l}=${encodeURIComponent(
981
- n
982
- )}`, `${o}${p > 0 ? "&" : ""}${T}`);
983
- }, "");
984
- };
985
- function Ht(e = "") {
986
- return [
987
- ...new URLSearchParams(
988
- e.indexOf("#") > -1 ? e.split("#")[0] : e
989
- ).entries()
990
- ].filter(([, t]) => t).reduce((t, [s, o]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: o } : t[s] ? {
991
- ...t,
992
- [s]: [...t[s], o]
993
- } : { ...t, [s]: [o] }, {});
994
- }
995
- function Qt(e) {
996
- return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
997
- }
998
- const i = () => a.env.aiApiUrl, Yt = {
999
- analyticsParameters: {
1000
- getParameters(e, r = {}) {
1001
- return a.get(
1002
- `${i()}/cameras/${e}/analytics-parameters`,
1003
- {
1004
- params: r
1005
- }
1156
+ },
1157
+ saveImageryPlans({
1158
+ projectId: e,
1159
+ plans: r
1160
+ }) {
1161
+ return a.put(
1162
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1163
+ r,
1164
+ n
1006
1165
  );
1007
1166
  },
1008
- createParameters(e) {
1009
- return a.post(`${i()}/cameras/analytics-parameters`, e);
1167
+ saveModel({
1168
+ projectId: e,
1169
+ model: r
1170
+ }) {
1171
+ const { trueIndex: t, ...o } = r;
1172
+ return a.put(
1173
+ `${l()}data/projects/cesium/${e}/models/${t}.json`,
1174
+ o,
1175
+ n
1176
+ );
1010
1177
  },
1011
- updateParameters({
1012
- updatedBy: e,
1013
- id: r,
1014
- ...t
1178
+ saveModels({
1179
+ projectId: e,
1180
+ models: r
1015
1181
  }) {
1016
- return a.patch(
1017
- `${i()}/cameras/analytics-parameters/${r}?${g({
1018
- updatedBy: e
1019
- })}`,
1020
- t
1182
+ return a.put(
1183
+ `${l()}data/projects/cesium/${e}/models.json`,
1184
+ r,
1185
+ n
1021
1186
  );
1022
- }
1023
- },
1024
- anpr: {
1025
- exportAnprLegacyEvents(e, r) {
1026
- return a({
1027
- url: `${i()}/projects/${e}/anpr/export?${g(
1028
- r
1029
- )}`,
1030
- method: "GET",
1031
- responseType: "blob"
1032
- });
1033
1187
  },
1034
- getAnprEvents(e, r, t = {}) {
1035
- return a.get(
1036
- `${i()}/projects/${e}/anpr?${g(
1037
- r
1038
- )}`,
1039
- t
1188
+ saveBimData({
1189
+ projectId: e,
1190
+ data: r
1191
+ }) {
1192
+ return a.put(
1193
+ `${l()}data/projects/cesium/${e}/transform/bimData.json`,
1194
+ r,
1195
+ n
1040
1196
  );
1041
1197
  },
1042
- getAnprCounts(e, r, t) {
1198
+ getBimTransparencyFlag(e) {
1043
1199
  return a.get(
1044
- `${i()}/projects/${e}/anpr/counts?${g(
1045
- r
1046
- )}`,
1047
- t
1200
+ `${l()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1201
+ n
1048
1202
  );
1049
1203
  },
1050
- updateAnprEvent(e, r) {
1051
- return a.patch(`${i()}/projects/anpr/${e}`, {
1052
- ...r
1053
- });
1054
- },
1055
- bulkUpdateAnprRecords(e, r) {
1204
+ saveCameraTransform({
1205
+ projectId: e,
1206
+ isScene3D: r,
1207
+ transform: t
1208
+ }) {
1056
1209
  return a.patch(
1057
- `${i()}/projects/anpr/update/status?${g({
1058
- anprEventsIds: e,
1059
- action: r
1060
- })}`
1210
+ `${l()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1211
+ t,
1212
+ n
1061
1213
  );
1062
- },
1063
- exportAnprEvents(e, r) {
1064
- return a({
1065
- url: `${i()}/projects/${e}/anpr/events/export?${g(
1066
- r
1067
- )}`,
1068
- method: "GET",
1069
- responseType: "blob"
1070
- });
1071
1214
  }
1072
1215
  },
1073
- gateReport: {
1074
- getLastVerified(e) {
1216
+ _360: {
1217
+ getProjectInfo(e, r = { config: {} }) {
1075
1218
  return a.get(
1076
- `${i()}/projects/gate-report/last-verified`,
1077
- e
1219
+ `${l()}data/projects/360/${e}.json`,
1220
+ {
1221
+ ...r.config,
1222
+ ...n
1223
+ }
1078
1224
  );
1079
1225
  },
1080
- deleteEvent(e, r) {
1081
- return a.delete(
1082
- `${i()}/projects/events/${e}?${g(r)}`
1226
+ getProjectsList() {
1227
+ return a.get(
1228
+ `${l()}data/360-list.json`,
1229
+ n
1083
1230
  );
1084
1231
  },
1085
- dismissEvents(e) {
1086
- return a.delete(
1087
- `${i()}/projects/events?${g(e)}`
1232
+ updateProjectsList(e) {
1233
+ return a.put(
1234
+ `${l()}data/360-list.json`,
1235
+ e,
1236
+ n
1088
1237
  );
1089
1238
  },
1090
- exportEvents(e, r) {
1091
- return a({
1092
- url: `${i()}/projects/${e}/gate-report/events/export?${g(
1093
- r
1094
- )}`,
1095
- method: "GET",
1096
- responseType: "blob"
1097
- });
1098
- },
1099
- exportEventsProgress(e, r) {
1100
- return a.get(
1101
- `${i()}/projects/${e}/gate-report/events/export/progress?${g(
1102
- r
1103
- )}`
1239
+ updateProjectsListItem(e, r) {
1240
+ return a.put(
1241
+ `${l()}data/360-list/${e}.json`,
1242
+ r,
1243
+ n
1104
1244
  );
1105
1245
  },
1106
- generateAnprThumbnail(e, r) {
1107
- return a.post(
1108
- `${i()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1109
- {},
1110
- {
1111
- headers: {
1112
- "Content-Type": "application/json"
1113
- }
1114
- }
1246
+ deleteProject(e) {
1247
+ return a.delete(
1248
+ `${l()}data/projects/360/${e}.json`,
1249
+ n
1115
1250
  );
1116
1251
  },
1117
- getAllEvents(e, r, t) {
1118
- return r.vehicleTypes || (r.vehicleTypes = N), r.truckTypes || (r.vehicleTypes = N), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1119
- `${i()}/projects/${e}/events?${g(
1120
- r
1121
- )}`,
1122
- t
1252
+ updateProjectInfo(e, r) {
1253
+ return a.patch(
1254
+ `${l()}data/projects/360/${e}.json`,
1255
+ r,
1256
+ n
1123
1257
  );
1124
1258
  },
1125
- getEventCounts(e, r = {}, t) {
1126
- return r.vehicleTypes || (r.vehicleTypes = N), a.get(
1127
- `${i()}/projects/${e}/project-stats?${g(
1128
- r
1129
- )}`,
1130
- {
1131
- ...t || {}
1132
- }
1259
+ updateFloor(e, r, t, o) {
1260
+ return a.patch(
1261
+ `${l()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1262
+ o,
1263
+ n
1133
1264
  );
1134
1265
  },
1135
- getVerifiedDays(e, r, t = {}) {
1266
+ getFloor({
1267
+ projectId: e,
1268
+ dateId: r,
1269
+ floorId: t
1270
+ }) {
1136
1271
  return a.get(
1137
- `${i()}/projects/${e}/gate-report/verified-days?${g(
1138
- r
1139
- )}`,
1140
- t
1272
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1273
+ n
1141
1274
  );
1142
1275
  },
1143
- updateEventById(e, {
1144
- updatedBy: r,
1145
- payload: t
1276
+ getAerialShotsFloor({
1277
+ projectId: e,
1278
+ dateId: r,
1279
+ floorId: t
1280
+ }) {
1281
+ return a.get(
1282
+ `${l()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1283
+ n
1284
+ );
1285
+ },
1286
+ update3DMarkers({
1287
+ projectId: e,
1288
+ dateId: r,
1289
+ floorId: t,
1290
+ markers: o
1291
+ }) {
1292
+ return a.put(
1293
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1294
+ o,
1295
+ n
1296
+ );
1297
+ },
1298
+ updateFloors({
1299
+ projectId: e,
1300
+ dateId: r,
1301
+ floors: t
1146
1302
  }) {
1303
+ return a.put(
1304
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1305
+ t,
1306
+ n
1307
+ );
1308
+ },
1309
+ deleteFloor({
1310
+ projectId: e,
1311
+ dateId: r,
1312
+ floorId: t
1313
+ }) {
1314
+ return a.delete(
1315
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1316
+ n
1317
+ );
1318
+ },
1319
+ updateDates(e, r) {
1320
+ return a.put(
1321
+ `${l()}data/projects/360/${e}/dates.json`,
1322
+ r,
1323
+ n
1324
+ );
1325
+ },
1326
+ updatePins({
1327
+ projectId: e,
1328
+ dateId: r,
1329
+ floorId: t,
1330
+ pins: o
1331
+ }) {
1332
+ return a.put(
1333
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1334
+ o,
1335
+ n
1336
+ );
1337
+ },
1338
+ getGPXText(e) {
1339
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1340
+ ...n,
1341
+ responseType: "text"
1342
+ }) : Promise.resolve("");
1343
+ },
1344
+ updateRoute(e, r, t, o) {
1147
1345
  return a.patch(
1148
- `${i()}/projects/events/${e}?${g({
1149
- updatedBy: r
1150
- })}`,
1151
- t
1346
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1347
+ o,
1348
+ n
1152
1349
  );
1153
1350
  },
1154
- verifyDay(e) {
1155
- return a.post(
1156
- `${i()}/projects/gate-report/verified-days`,
1157
- e
1351
+ async updateFeatureFlag(e, r, t, o, i) {
1352
+ return a.put(
1353
+ `${l()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1354
+ i,
1355
+ {
1356
+ ...n,
1357
+ transformRequest: [(g) => JSON.stringify(g)]
1358
+ }
1158
1359
  );
1159
1360
  },
1160
- regenerateThumbnail(e, r) {
1361
+ async saveSteps(e, r, t, o) {
1161
1362
  return a.put(
1162
- `${i()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1163
- r
1164
- )}`,
1363
+ `${l()}data/projects/360/${e}/${r}/${t}/steps.json`,
1364
+ o,
1365
+ n
1366
+ );
1367
+ },
1368
+ getDates({
1369
+ projectID: e,
1370
+ prefix: r = ""
1371
+ }) {
1372
+ return a.get(
1373
+ `${l()}data/projects/360/${e}/${r}dates.json`,
1374
+ n
1375
+ );
1376
+ },
1377
+ getFloorData({
1378
+ projectID: e,
1379
+ dateID: r,
1380
+ floorID: t,
1381
+ prefix: o = ""
1382
+ }) {
1383
+ return a.get(
1384
+ `${l()}data/projects/360/${e}/${o}${r}/${t}.json`,
1385
+ n
1386
+ );
1387
+ },
1388
+ patchFloor({
1389
+ projectID: e,
1390
+ dateID: r,
1391
+ floorID: t,
1392
+ body: o
1393
+ }) {
1394
+ return a.patch(
1395
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1396
+ o,
1397
+ n
1398
+ );
1399
+ },
1400
+ deleteMarkers({ projectID: e, dateID: r, floorID: t }) {
1401
+ return a.delete(
1402
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1403
+ n
1404
+ );
1405
+ },
1406
+ patchMarkers({
1407
+ projectID: e,
1408
+ dateID: r,
1409
+ floorID: t,
1410
+ markers: o
1411
+ }) {
1412
+ return a.patch(
1413
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1414
+ o,
1415
+ n
1416
+ );
1417
+ },
1418
+ putMarkers({
1419
+ projectID: e,
1420
+ dateID: r,
1421
+ floorID: t,
1422
+ markers: o
1423
+ }) {
1424
+ return a.put(
1425
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1426
+ o,
1427
+ n
1428
+ );
1429
+ },
1430
+ putFloors({
1431
+ projectID: e,
1432
+ dateID: r,
1433
+ floors: t
1434
+ }) {
1435
+ return a.put(
1436
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1437
+ t,
1438
+ n
1439
+ );
1440
+ },
1441
+ deleteFloorData({
1442
+ projectID: e,
1443
+ dateID: r,
1444
+ floorID: t
1445
+ }) {
1446
+ return a.delete(
1447
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1448
+ n
1449
+ );
1450
+ },
1451
+ putDates({
1452
+ projectID: e,
1453
+ dates: r
1454
+ }) {
1455
+ return a.put(
1456
+ `${l()}data/projects/360/${e}/dates.json`,
1457
+ r,
1458
+ n
1459
+ );
1460
+ },
1461
+ deleteDate({
1462
+ projectID: e,
1463
+ dateID: r
1464
+ }) {
1465
+ return a.delete(
1466
+ `${l()}data/projects/360/${e}/${r}.json`,
1467
+ n
1468
+ );
1469
+ },
1470
+ getPins({
1471
+ projectID: e,
1472
+ dateID: r,
1473
+ floorID: t
1474
+ }) {
1475
+ return a.get(
1476
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1477
+ n
1478
+ );
1479
+ },
1480
+ putPins({
1481
+ projectID: e,
1482
+ dateID: r,
1483
+ floorID: t,
1484
+ pins: o
1485
+ }) {
1486
+ return a.put(
1487
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1488
+ o,
1489
+ n
1490
+ );
1491
+ },
1492
+ patchCalibrationDetails({
1493
+ projectID: e,
1494
+ dateID: r,
1495
+ floorID: t,
1496
+ details: o
1497
+ }) {
1498
+ return a.patch(
1499
+ `${l()}data/projects/360/${e}/${r}/${t}/calibrationDetails.json`,
1500
+ o,
1501
+ n
1502
+ );
1503
+ },
1504
+ getDateWalks(e, r) {
1505
+ return a.get(
1506
+ `${l()}data/projects/360/${e}/${r}.json`,
1507
+ n
1508
+ );
1509
+ },
1510
+ getRoute({
1511
+ projectID: e,
1512
+ dateID: r,
1513
+ floorID: t
1514
+ }) {
1515
+ return a.get(
1516
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1517
+ n
1518
+ );
1519
+ },
1520
+ deleteRoute({ projectID: e, dateID: r, floorID: t }) {
1521
+ return a.delete(
1522
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1523
+ n
1524
+ );
1525
+ },
1526
+ getAerialShotDate({
1527
+ projectID: e,
1528
+ dateID: r
1529
+ }) {
1530
+ return a.get(
1531
+ `${l()}data/projects/360/${e}/aerial-shots/dates/${r}/date.json`,
1532
+ n
1533
+ );
1534
+ },
1535
+ updateGPXFile(e, r, t, o) {
1536
+ const i = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1537
+ return g.append("gpxFile", i, "updated-track.gpx"), a.post(
1538
+ `${_o() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${jo()}`,
1539
+ g,
1165
1540
  {
1166
- method: "PUT"
1541
+ ...n,
1542
+ headers: { "Content-Type": "multipart/form-data" }
1167
1543
  }
1168
1544
  );
1169
1545
  },
1170
- getDailyStatus(e, r = {}) {
1546
+ getProjectDates(e) {
1171
1547
  return a.get(
1172
- `${i()}/projects/${e}/processed-days`,
1173
- { params: r }
1548
+ `${l()}data/projects/360/${e}/dates.json`,
1549
+ n
1174
1550
  );
1175
1551
  },
1176
- getEventThumbnail({
1177
- cameraExid: e,
1178
- eventType: r,
1179
- eventTime: t,
1180
- token: s
1552
+ getProjectAerialShotsDates(e) {
1553
+ return a.get(
1554
+ `${l()}data/projects/360/${e}/aerial-shots/dates.json`,
1555
+ n
1556
+ );
1557
+ },
1558
+ getProjectDateFloors({
1559
+ projectId: e,
1560
+ dateId: r,
1561
+ prefix: t = ""
1181
1562
  }) {
1182
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1563
+ return a.get(
1564
+ `${l()}data/projects/360/${e}/${t}${r}.json`,
1565
+ n
1566
+ );
1183
1567
  },
1184
- getEventSnapshot({
1185
- cameraExid: e,
1186
- eventType: r,
1187
- eventTime: t,
1188
- token: s
1568
+ getFloorMarkers({
1569
+ projectId: e,
1570
+ dateId: r,
1571
+ floorId: t,
1572
+ prefix: o = ""
1189
1573
  }) {
1190
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1574
+ return a.get(
1575
+ `${l()}data/projects/360/${e}/${o}${r}/${t}/_3DMarkers.json`,
1576
+ n
1577
+ );
1578
+ }
1579
+ },
1580
+ forge: {
1581
+ getAccessToken() {
1582
+ return a.get(Uo(), n);
1191
1583
  },
1192
- getEvents(e, r, t = {}) {
1584
+ getProjectInfo(e) {
1585
+ return a.get(
1586
+ `${l()}data/projects/forge/${e}.json`,
1587
+ n
1588
+ );
1589
+ },
1590
+ saveSavedView(e, r) {
1591
+ return a.put(
1592
+ `${l()}data/projects/forge/${e}/savedView.json`,
1593
+ r,
1594
+ n
1595
+ );
1596
+ },
1597
+ saveMarkers(e, r) {
1598
+ return a.put(
1599
+ `${l()}data/projects/forge/${e}/markers.json`,
1600
+ r,
1601
+ n
1602
+ );
1603
+ }
1604
+ },
1605
+ itwin: {
1606
+ getProjectInfo(e) {
1607
+ return a.get(
1608
+ `${l()}data/projects/itwin/${e}.json`,
1609
+ n
1610
+ );
1611
+ },
1612
+ clearBimCompare(e) {
1613
+ return a.delete(
1614
+ `${l()}data/projects/itwin/${e}/bim-compare.json`,
1615
+ n
1616
+ );
1617
+ },
1618
+ clearSiteView(e, r) {
1619
+ return a.delete(
1620
+ `${l()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1621
+ n
1622
+ );
1623
+ }
1624
+ },
1625
+ siteView: {
1626
+ getCamerasList() {
1627
+ return a.get(
1628
+ `${l()}data/cameras-list.json`,
1629
+ n
1630
+ );
1631
+ },
1632
+ updateCamerasList(e) {
1633
+ return a.put(
1634
+ `${l()}data/cameras-list.json`,
1635
+ e,
1636
+ n
1637
+ );
1638
+ },
1639
+ updateCamerasListItem(e, r) {
1640
+ return a.put(
1641
+ `${l()}data/cameras-list/${e}.json`,
1642
+ r,
1643
+ n
1644
+ );
1645
+ },
1646
+ updateProjectData({
1647
+ viewerType: e,
1648
+ projectId: r,
1649
+ data: t
1650
+ }) {
1651
+ const o = e.toLowerCase();
1652
+ return a.patch(
1653
+ `${l()}data/projects/${o}/${r}.json`,
1654
+ t,
1655
+ n
1656
+ );
1657
+ },
1658
+ deleteProjectData(e, r) {
1659
+ const t = e.toLowerCase();
1660
+ return a.delete(
1661
+ `${l()}data/projects/${t}/${r}.json`,
1662
+ n
1663
+ );
1664
+ },
1665
+ readAllData(e) {
1666
+ return a.get(`${e}data.json`, n);
1667
+ },
1668
+ writeAllData(e, r) {
1669
+ return a.put(`${e}data.json`, r, n);
1670
+ }
1671
+ },
1672
+ map: {
1673
+ getMapViews(e) {
1193
1674
  return a.get(
1194
- `${i()}/projects/${e}/gate-report/events?${g(
1675
+ `${l()}data/projects/maps/${e}.json`,
1676
+ n
1677
+ );
1678
+ },
1679
+ updateMapViews(e, r) {
1680
+ return a.put(
1681
+ `${l()}data/projects/maps/${e}.json`,
1682
+ r,
1683
+ n
1684
+ );
1685
+ }
1686
+ },
1687
+ safety: {
1688
+ getTPulseLink(e) {
1689
+ return a.get(
1690
+ `${l()}data/projects/safety/${e}.json`,
1691
+ n
1692
+ );
1693
+ },
1694
+ updateTPulseLink(e, r) {
1695
+ return a.put(
1696
+ `${l()}data/projects/safety/${e}.json`,
1697
+ { link: r },
1698
+ n
1699
+ );
1700
+ }
1701
+ },
1702
+ planner: {
1703
+ getPlannerList() {
1704
+ return a.get(`${l()}data/planner-list.json`, {
1705
+ ...n
1706
+ });
1707
+ },
1708
+ getPlannerItem(e) {
1709
+ return a.get(
1710
+ `${l()}data/planner-list/${e}.json`,
1711
+ n
1712
+ );
1713
+ },
1714
+ saveSitePlanMetaData(e, r) {
1715
+ return a.put(
1716
+ `${l()}data/planner-list/${e}.json`,
1717
+ r,
1718
+ n
1719
+ );
1720
+ },
1721
+ getSitePlan(e) {
1722
+ return a.get(
1723
+ `${l()}data/projects/planner/${e}.json`,
1724
+ n
1725
+ );
1726
+ },
1727
+ saveSitePlan(e, r) {
1728
+ return a.put(
1729
+ `${l()}data/projects/planner/${e}.json`,
1730
+ r,
1731
+ n
1732
+ );
1733
+ }
1734
+ }
1735
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1736
+ if (Object.keys(e).length === 0)
1737
+ return;
1738
+ let o = { ...e };
1739
+ return r && (o = D.decamelizeKeys(e)), Object.entries(o).reduce((i, [g, p], c) => {
1740
+ let h = "";
1741
+ return ["", null, void 0].includes(p) || Array.isArray(p) && p.length === 0 ? i : (p && typeof p == "object" ? h = Object.entries(p).reduce((f, [_, U], B) => {
1742
+ let M = g;
1743
+ return isNaN(Number.parseInt(_)) ? M = `${g}[${_}]` : Array.isArray(p) && t && (M = `${g}[]`), `${f}${B > 0 ? "&" : ""}${M}=${encodeURIComponent(U)}`;
1744
+ }, "") : h = `${g}=${encodeURIComponent(
1745
+ p
1746
+ )}`, `${i}${c > 0 ? "&" : ""}${h}`);
1747
+ }, "");
1748
+ };
1749
+ function Bo(e = "") {
1750
+ return [
1751
+ ...new URLSearchParams(
1752
+ e.indexOf("#") > -1 ? e.split("#")[0] : e
1753
+ ).entries()
1754
+ ].filter(([, t]) => t).reduce((t, [o, i]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: i } : t[o] ? {
1755
+ ...t,
1756
+ [o]: [...t[o], i]
1757
+ } : { ...t, [o]: [i] }, {});
1758
+ }
1759
+ const Z = () => a.env.aiApiUrl, s = () => `${a.env.aiApiUrl}/v2`, yo = {
1760
+ anpr: {
1761
+ exportAnprLegacyEvents(e, r) {
1762
+ return a({
1763
+ url: `${Z()}/projects/${e}/anpr/export?${u(
1764
+ r
1765
+ )}`,
1766
+ method: "GET",
1767
+ responseType: "blob"
1768
+ });
1769
+ },
1770
+ getAnprEvents(e, r, t = {}) {
1771
+ return a.get(
1772
+ `${s()}/projects/${e}/anpr?${u(
1195
1773
  r
1196
1774
  )}`,
1197
1775
  t
1198
1776
  );
1199
1777
  },
1200
- getCounts(e, r = {}, t = {}) {
1778
+ getAnprCounts(e, r, t) {
1201
1779
  return a.get(
1202
- `${i()}/projects/${e}/gate-report/counts?${g(
1780
+ `${s()}/projects/${e}/anpr/counts?${u(
1203
1781
  r
1204
1782
  )}`,
1205
1783
  t
1206
1784
  );
1207
1785
  },
1208
- getGateReportApplications(e, r) {
1786
+ updateAnprEvent(e, r) {
1787
+ return a.patch(`${s()}/anpr/${e}`, r);
1788
+ },
1789
+ bulkUpdateAnprRecords(e) {
1790
+ return a.patch(`${s()}/anpr/status`, e);
1791
+ },
1792
+ exportAnprEvents(e, r) {
1793
+ return a({
1794
+ url: `${s()}/projects/${e}/anpr/events/export?${u(
1795
+ r
1796
+ )}`,
1797
+ method: "GET",
1798
+ responseType: "blob"
1799
+ });
1800
+ }
1801
+ },
1802
+ gateReport: {
1803
+ exportEvents(e, r) {
1804
+ return a({
1805
+ url: `${s()}/projects/${e}/gate-report/events/export?${u(
1806
+ r
1807
+ )}`,
1808
+ method: "GET",
1809
+ responseType: "blob"
1810
+ });
1811
+ },
1812
+ exportEventsProgress(e, r) {
1209
1813
  return a.get(
1210
- `${i()}/projects/${e}/cameras/${r}/gate-report/apps`
1814
+ `${Z()}/projects/${e}/gate-report/events/export/progress?${u(
1815
+ r
1816
+ )}`
1817
+ );
1818
+ },
1819
+ generateAnprThumbnail(e, r) {
1820
+ return a.post(
1821
+ `${s()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1822
+ {},
1823
+ {
1824
+ headers: {
1825
+ "Content-Type": "application/json"
1826
+ }
1827
+ }
1211
1828
  );
1212
1829
  },
1213
- getGateReportProjectsInfos(e) {
1830
+ getVerifiedDays(e, r, t = {}) {
1214
1831
  return a.get(
1215
- `${i()}/projects/gate-report/get-projects-info`,
1832
+ `${s()}/projects/${e}/gate-report/verified-days?${u(
1833
+ r
1834
+ )}`,
1835
+ t
1836
+ );
1837
+ },
1838
+ verifyDay(e) {
1839
+ return a.post(
1840
+ `${s()}/projects/gate-report/verified-days`,
1216
1841
  e
1217
1842
  );
1843
+ },
1844
+ getDailyStatus(e, r = {}) {
1845
+ return a.get(
1846
+ `${s()}/projects/${e}/gate-report/processed-days`,
1847
+ { params: r }
1848
+ );
1849
+ },
1850
+ getEvents(e, r, t = {}) {
1851
+ return a.get(
1852
+ `${s()}/projects/${e}/gate-report/events?${u(
1853
+ r
1854
+ )}`,
1855
+ t
1856
+ );
1857
+ },
1858
+ getCounts(e, r = {}, t = {}) {
1859
+ return a.get(
1860
+ `${s()}/projects/${e}/gate-report/counts?${u(
1861
+ r
1862
+ )}`,
1863
+ t
1864
+ );
1218
1865
  }
1219
1866
  },
1220
1867
  brainTool: {
1221
1868
  getObjectDetectionsResults(e = {}) {
1222
- return a.post(`${i()}/ai-models/object-detection`, e);
1223
- },
1224
- getSegments(e = {}) {
1225
- return a.post(`${i()}/ai-models/segment`, e);
1869
+ return a.post(
1870
+ `${s()}/ai-models/object-detection`,
1871
+ e
1872
+ );
1226
1873
  }
1227
1874
  },
1228
1875
  roi: {
1229
1876
  getROIs(e, r = {}) {
1230
1877
  return a.get(
1231
- `${i()}/projects/${e}/rois?${g(r)}`
1878
+ `${s()}/projects/${e}/rois?${u(
1879
+ r
1880
+ )}`
1232
1881
  );
1233
1882
  },
1883
+ listROIs(e = {}) {
1884
+ return a.get(`${s()}/rois?${u(e)}`);
1885
+ },
1234
1886
  createROI(e) {
1235
- return a.post(`${i()}/projects/rois`, e);
1887
+ return a.post(`${s()}/rois`, e);
1236
1888
  },
1237
1889
  updateROI({
1238
1890
  updatedBy: e,
1239
- roi: r
1891
+ id: r,
1892
+ ...t
1240
1893
  }) {
1241
1894
  return a.patch(
1242
- `${i()}/projects/rois/${r.id}?${g({
1895
+ `${s()}/rois/${r}?${u({
1243
1896
  updatedBy: e
1244
1897
  })}`,
1245
- r
1898
+ t
1246
1899
  );
1247
1900
  },
1248
1901
  deleteROI({ id: e, updatedBy: r }) {
1249
1902
  return a.patch(
1250
- `${i()}/projects/rois/${e}?${g({
1903
+ `${s()}/rois/${e}?${u({
1251
1904
  updatedBy: r
1252
1905
  })}`,
1253
- { isactive: !1, note: "delete roi" }
1906
+ { isActive: !1, note: "delete roi" }
1254
1907
  );
1255
1908
  }
1256
1909
  },
1257
1910
  detections: {
1258
- async getDetections({ projectExid: e, ...r }) {
1259
- return a.get(
1260
- `${i()}/projects/${e}/detections?${g(
1261
- r
1262
- )}`
1263
- );
1264
- },
1265
1911
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1266
1912
  return a.get(
1267
- `${i()}/projects/${e}/detections/counts?${g(
1913
+ `${s()}/projects/${e}/trackings/counts?${u(
1268
1914
  r
1269
1915
  )}`,
1270
1916
  t
@@ -1272,7 +1918,7 @@ const i = () => a.env.aiApiUrl, Yt = {
1272
1918
  },
1273
1919
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1274
1920
  return a.get(
1275
- `${i()}/projects/${e}/detections/timestamps?${g(
1921
+ `${s()}/projects/${e}/trackings/timestamps?${u(
1276
1922
  r
1277
1923
  )}`,
1278
1924
  t
@@ -1284,7 +1930,7 @@ const i = () => a.env.aiApiUrl, Yt = {
1284
1930
  ...t
1285
1931
  }) {
1286
1932
  return a.get(
1287
- `${i()}/cameras/${e}/segments/appearance-from-points`,
1933
+ `${s()}/cameras/${e}/segments/appearance-from-points`,
1288
1934
  {
1289
1935
  params: {
1290
1936
  cameraExid: e,
@@ -1294,27 +1940,37 @@ const i = () => a.env.aiApiUrl, Yt = {
1294
1940
  }
1295
1941
  );
1296
1942
  },
1297
- async getDetectionsTracking(e, r) {
1943
+ async getGroupedTrackings(e, r) {
1298
1944
  return a.get(
1299
- `${i()}/projects/${e}/detections/trackings?${g(
1945
+ `${s()}/projects/${e}/trackings/grouped?${u(
1300
1946
  r
1301
1947
  )}`
1302
1948
  );
1303
1949
  },
1304
1950
  async getSegmentsMasks(e, r) {
1305
1951
  return a.get(
1306
- `${i()}/cameras/${e}/segments/masks`,
1952
+ `${s()}/cameras/${e}/segments/masks`,
1307
1953
  {
1308
1954
  params: r
1309
1955
  }
1310
1956
  );
1311
1957
  },
1958
+ async getSegmentsPresenceDateIntervals({
1959
+ cameraExid: e,
1960
+ ...r
1961
+ }) {
1962
+ return a.get(
1963
+ `${s()}/cameras/${e}/segments/presence-intervals?${u(
1964
+ r
1965
+ )}`
1966
+ );
1967
+ },
1312
1968
  async getDetectionsPresenceDateIntervals({
1313
1969
  projectExid: e,
1314
1970
  ...r
1315
1971
  }) {
1316
1972
  return a.get(
1317
- `${i()}/projects/${e}/detections/presence-intervals?${g(
1973
+ `${s()}/projects/${e}/trackings/presence-intervals?${u(
1318
1974
  r
1319
1975
  )}`
1320
1976
  );
@@ -1324,177 +1980,467 @@ const i = () => a.env.aiApiUrl, Yt = {
1324
1980
  ...r
1325
1981
  }) {
1326
1982
  return a.get(
1327
- `${i()}/projects/${e}/detections/timestamps/export?${g(
1983
+ `${s()}/projects/${e}/detections/timestamps/export?${u(
1328
1984
  r
1329
1985
  )}`,
1330
1986
  { responseType: "blob" }
1331
1987
  );
1332
1988
  }
1333
1989
  },
1990
+ observations: {
1991
+ getEvents({
1992
+ projectExid: e,
1993
+ ...r
1994
+ }, t = {}) {
1995
+ return a.get(
1996
+ `${s()}/projects/${e}/observations?${u(
1997
+ r
1998
+ )}`,
1999
+ t
2000
+ );
2001
+ },
2002
+ getCounts({
2003
+ projectExid: e,
2004
+ ...r
2005
+ }, t = {}) {
2006
+ return a.get(
2007
+ `${s()}/projects/${e}/observations/counts?${u(
2008
+ r
2009
+ )}`,
2010
+ t
2011
+ );
2012
+ },
2013
+ getConfiguredTypes(e, r = {}) {
2014
+ return a.get(
2015
+ `${s()}/projects/${e}/observations/configured-types`,
2016
+ r
2017
+ );
2018
+ },
2019
+ exportEvents({
2020
+ projectExid: e,
2021
+ ...r
2022
+ }, t = {}) {
2023
+ return a.get(
2024
+ `${s()}/projects/${e}/ppe-events/export?${u(
2025
+ r
2026
+ )}`,
2027
+ t
2028
+ );
2029
+ },
2030
+ updateEventApproval({
2031
+ projectExid: e,
2032
+ eventId: r,
2033
+ isApproved: t
2034
+ }) {
2035
+ return a.patch(
2036
+ `${s()}/projects/${e}/observations/${r}/approval`,
2037
+ { isApproved: t }
2038
+ );
2039
+ }
2040
+ },
1334
2041
  siteAnalytics: {
1335
- smartSearch({
1336
- cameraExid: e,
1337
- payload: r,
2042
+ smartSearchAll(e, r) {
2043
+ const { payload: t, ...o } = r, i = {
2044
+ page: 1,
2045
+ limit: 20,
2046
+ ...o
2047
+ };
2048
+ let g = `${s()}/projects/${e}/smart-search/all?${u(
2049
+ i
2050
+ )}`;
2051
+ return a.post(g, t);
2052
+ },
2053
+ smartSearchFirstLastSeen(e, r) {
2054
+ const { payload: t, ...o } = r, i = {
2055
+ page: 1,
2056
+ limit: 20,
2057
+ ...o
2058
+ };
2059
+ let g = `${s()}/projects/${e}/smart-search/first-last-seen?${u(
2060
+ i
2061
+ )}`;
2062
+ return a.post(g, t);
2063
+ },
2064
+ saveQuery({
2065
+ projectExid: e,
2066
+ cameraExid: r,
2067
+ payload: t
2068
+ }) {
2069
+ return a.post(
2070
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries`,
2071
+ t
2072
+ );
2073
+ },
2074
+ getQueries(e, r) {
2075
+ return a.get(
2076
+ `${s()}/projects/${e}/smart-search/queries?${u(
2077
+ r
2078
+ )}`
2079
+ );
2080
+ },
2081
+ getQueryById(e, r, t) {
2082
+ return a.get(
2083
+ `${s()}/projects/${e}/smart-search/queries/${t}?${u(
2084
+ { cameraExid: r }
2085
+ )}`
2086
+ );
2087
+ },
2088
+ updateQuery({
2089
+ projectExid: e,
2090
+ cameraExid: r,
2091
+ queryId: t,
2092
+ payload: o
2093
+ }) {
2094
+ return a.patch(
2095
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
2096
+ o
2097
+ );
2098
+ },
2099
+ deleteQuery({
2100
+ projectExid: e,
2101
+ cameraExid: r,
2102
+ queryId: t
2103
+ }) {
2104
+ return a.delete(
2105
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
2106
+ {}
2107
+ );
2108
+ },
2109
+ exportResultsData({
2110
+ projectExid: e,
2111
+ cameraExids: r,
1338
2112
  fromDate: t,
1339
- toDate: s,
1340
- page: o = 1,
1341
- pageSize: l = 20
2113
+ toDate: o,
2114
+ query: i,
2115
+ fileType: g = X.Csv,
2116
+ directDownload: p = !0,
2117
+ payload: c,
2118
+ limit: h,
2119
+ page: f
1342
2120
  }) {
1343
- const n = encodeURIComponent(
1344
- (s != null ? s : "").replace(/\.\d+Z$/, "").replace("T", " ")
1345
- ), p = encodeURIComponent(
1346
- (t != null ? t : "").replace(/\.\d+Z$/, "").replace("T", " ")
2121
+ return a.post(
2122
+ `${s()}/projects/${e}/smart-search/export?${u(
2123
+ {
2124
+ cameraExids: r,
2125
+ fromDate: t,
2126
+ toDate: o,
2127
+ query: i,
2128
+ fileType: g,
2129
+ directDownload: p,
2130
+ limit: h,
2131
+ page: f
2132
+ }
2133
+ )}`,
2134
+ c,
2135
+ {
2136
+ responseType: "blob"
2137
+ }
2138
+ );
2139
+ },
2140
+ getDetectionsHeatmapData(e, r) {
2141
+ return a.get(
2142
+ `${s()}/projects/${e}/smart-search/heatmap?${u(
2143
+ r
2144
+ )}`,
2145
+ {}
2146
+ );
2147
+ }
2148
+ },
2149
+ siteAnalyticsManagement: {
2150
+ listApps(e = {}) {
2151
+ return a.get(
2152
+ `${s()}/site-analytics-management/apps?${u(
2153
+ e
2154
+ )}`
1347
2155
  );
1348
- let T = `${i()}/cameras/${e}/advanced_search?page=${o}&page_size=${l}&from_date=${p}&to_date=${n}`;
1349
- return a.post(T, r);
1350
2156
  },
1351
- saveQuery(e) {
2157
+ createApp(e) {
1352
2158
  return a.post(
1353
- `${i()}/cameras/${e.cameraExid}/advanced_search/queries`,
2159
+ `${s()}/site-analytics-management/apps`,
1354
2160
  e
1355
2161
  );
1356
2162
  },
1357
- getQueries(e, r) {
2163
+ updateApp(e, r, t) {
2164
+ return a.patch(
2165
+ `${s()}/site-analytics-management/apps/${e}/${r}`,
2166
+ t
2167
+ );
2168
+ },
2169
+ deleteApp(e, r) {
2170
+ return a.delete(
2171
+ `${s()}/site-analytics-management/apps/${e}/${r}`
2172
+ );
2173
+ },
2174
+ setAppState(e, r, t) {
2175
+ return a.patch(
2176
+ `${s()}/site-analytics-management/apps/${e}/${r}/state`,
2177
+ { state: t }
2178
+ );
2179
+ },
2180
+ listCoolifyServers() {
1358
2181
  return a.get(
1359
- `${i()}/cameras/${e}/advanced_search/queries`,
1360
- {
1361
- params: r
1362
- }
2182
+ `${s()}/site-analytics-management/coolify-servers`
1363
2183
  );
1364
2184
  },
1365
- getQueryById(e, r) {
2185
+ listModelVersions() {
1366
2186
  return a.get(
1367
- `${i()}/cameras/${e}/advanced_search/queries/${r}`
2187
+ `${s()}/site-analytics-management/model-versions`
2188
+ );
2189
+ }
2190
+ },
2191
+ coolify: {
2192
+ getCoolifyServers() {
2193
+ return a.get(`${s()}/coolify/servers`);
2194
+ },
2195
+ createAppOnCoolify({
2196
+ projectExid: e,
2197
+ cameraExid: r,
2198
+ payload: t
2199
+ }) {
2200
+ return a.post(
2201
+ `${s()}/projects/${e}/cameras/${r}/anpr/apps`,
2202
+ t
1368
2203
  );
1369
2204
  },
1370
- updateQuery(e, r, t) {
1371
- return a.put(
1372
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
2205
+ registerCoolifyApp({
2206
+ projectExid: e,
2207
+ cameraExid: r,
2208
+ payload: t
2209
+ }) {
2210
+ return a.post(
2211
+ `${s()}/projects/${e}/cameras/${r}/gate-report/apps`,
1373
2212
  t
1374
2213
  );
1375
2214
  },
1376
- deleteQuery(e, r) {
2215
+ updateApp({
2216
+ appUuid: e,
2217
+ appId: r,
2218
+ payload: t,
2219
+ cameraExid: o,
2220
+ projectExid: i
2221
+ }) {
2222
+ return a.patch(
2223
+ `${s()}/projects/${i}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
2224
+ t
2225
+ );
2226
+ },
2227
+ deleteApp({
2228
+ appUuid: e,
2229
+ appId: r,
2230
+ cameraExid: t,
2231
+ projectExid: o
2232
+ }) {
2233
+ return a.delete(
2234
+ `${s()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
2235
+ );
2236
+ },
2237
+ startService(e) {
2238
+ return a.post(
2239
+ `${s()}/coolify/services/${e}/start`
2240
+ );
2241
+ },
2242
+ pauseService(e) {
2243
+ return a.post(`${s()}/coolify/services/${e}/stop`);
2244
+ },
2245
+ restartService(e) {
2246
+ return a.post(
2247
+ `${s()}/coolify/services/${e}/restart`
2248
+ );
2249
+ }
2250
+ },
2251
+ fovChanges: {
2252
+ getCameraFovChanges(e, r = {}) {
2253
+ return a.post(
2254
+ `${s()}/cameras/${e}/fov_changes`,
2255
+ {},
2256
+ r
2257
+ );
2258
+ }
2259
+ },
2260
+ prompts: {
2261
+ list(e = {}) {
2262
+ return a.get(`${s()}/prompts?${u(e)}`);
2263
+ },
2264
+ get(e) {
2265
+ return a.get(`${s()}/prompts/${e}`);
2266
+ },
2267
+ create(e) {
2268
+ return a.post(`${s()}/prompts`, e);
2269
+ },
2270
+ update(e, r) {
2271
+ return a.patch(`${s()}/prompts/${e}`, r);
2272
+ },
2273
+ delete(e) {
2274
+ return a.delete(`${s()}/prompts/${e}`);
2275
+ },
2276
+ listSubprompts(e) {
2277
+ return a.get(`${s()}/prompts/${e}/subprompts`);
2278
+ },
2279
+ createSubprompt(e, r) {
2280
+ return a.post(
2281
+ `${s()}/prompts/${e}/subprompts`,
2282
+ r
2283
+ );
2284
+ }
2285
+ },
2286
+ observationTypes: {
2287
+ list(e = {}) {
2288
+ return a.get(
2289
+ `${s()}/observation-types?${u(e)}`
2290
+ );
2291
+ },
2292
+ get(e) {
2293
+ return a.get(
2294
+ `${s()}/observation-types/${e}`
2295
+ );
2296
+ },
2297
+ create(e) {
2298
+ return a.post(`${s()}/observation-types`, e);
2299
+ },
2300
+ update(e, r) {
2301
+ return a.patch(
2302
+ `${s()}/observation-types/${e}`,
2303
+ r
2304
+ );
2305
+ },
2306
+ delete(e) {
2307
+ return a.delete(
2308
+ `${s()}/observation-types/${e}`
2309
+ );
2310
+ }
2311
+ },
2312
+ siteAnalyticsObservations: {
2313
+ getConfig(e) {
2314
+ return a.get(
2315
+ `${s()}/site-analytics/observation-configs/${e}`
2316
+ );
2317
+ },
2318
+ upsertConfig(e, r) {
2319
+ return a.put(
2320
+ `${s()}/site-analytics/observation-configs/${e}`,
2321
+ r
2322
+ );
2323
+ },
2324
+ deleteConfig(e) {
1377
2325
  return a.delete(
1378
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
1379
- {}
2326
+ `${s()}/site-analytics/observation-configs/${e}`
1380
2327
  );
2328
+ }
2329
+ },
2330
+ apiKeys: {
2331
+ list(e = {}) {
2332
+ const r = u(e);
2333
+ return a.get(`${s()}/api-keys${r ? `?${r}` : ""}`);
1381
2334
  },
1382
- getProcessedTimes({
1383
- projectExid: e,
1384
- cameraExids: r,
1385
- granularity: t = "day",
1386
- endDate: s,
1387
- startDate: o
1388
- }) {
1389
- return a.get(
1390
- `${i()}/projects/${e}/processed_times`,
1391
- {
1392
- params: {
1393
- camera_exids: r,
1394
- granularity: t,
1395
- start_date: o,
1396
- end_date: s
1397
- },
1398
- preserveCasing: !0
1399
- }
1400
- );
2335
+ purposes() {
2336
+ return a.get(`${s()}/api-keys/purposes`);
1401
2337
  },
1402
- exportResultsData({
1403
- cameraExid: e,
1404
- fromDate: r,
1405
- toDate: t,
1406
- query: s,
1407
- fileType: o = Z.Csv,
1408
- directDownload: l = !0,
1409
- payload: n
1410
- }) {
1411
- return a.post(
1412
- `${i()}/cameras/${e}/advanced_search/export`,
1413
- n,
1414
- {
1415
- responseType: "blob",
1416
- params: {
1417
- fromDate: r,
1418
- toDate: t,
1419
- query: s,
1420
- fileType: o,
1421
- directDownload: l
1422
- }
1423
- }
1424
- );
2338
+ get(e) {
2339
+ return a.get(`${s()}/api-keys/${e}`);
1425
2340
  },
1426
- getDetectionsHeatmapData(e, r) {
1427
- return a.post(
1428
- `${i()}/cameras/${e}/advanced_search/heatmap?${g(
1429
- r,
1430
- { forceArrayBrackets: !0 }
1431
- )}`,
1432
- {}
2341
+ create(e) {
2342
+ return a.post(`${s()}/api-keys`, e);
2343
+ },
2344
+ update(e, r) {
2345
+ return a.patch(`${s()}/api-keys/${e}`, r);
2346
+ },
2347
+ delete(e, r = !1) {
2348
+ const t = r ? "?revoke=true" : "";
2349
+ return a.delete(`${s()}/api-keys/${e}${t}`);
2350
+ }
2351
+ },
2352
+ observationEvents: {
2353
+ async list(e = {}) {
2354
+ const { sortBy: r, sortDir: t, observationTypeIds: o, ...i } = e, g = { ...i };
2355
+ o && (g.observationTypeId = o), r && (g.sort = `${r}|${t || "desc"}`);
2356
+ const p = await a.get(
2357
+ `${s()}/observations?${u(g)}`
2358
+ );
2359
+ return {
2360
+ ...p,
2361
+ items: (p.items || []).map(
2362
+ (c) => ({
2363
+ ...c,
2364
+ observationName: null,
2365
+ startTime: c.capturedAt,
2366
+ aiEvidence: c.reason,
2367
+ bbox: c.personBbox,
2368
+ model: c.modelVersion,
2369
+ promptId: null,
2370
+ insertedAt: c.capturedAt
2371
+ })
2372
+ )
2373
+ };
2374
+ },
2375
+ projects() {
2376
+ return a.get(`${s()}/observations/projects`);
2377
+ },
2378
+ review(e, r, t) {
2379
+ const o = {
2380
+ approved: !0,
2381
+ disapproved: !1,
2382
+ unsure: "unsure"
2383
+ };
2384
+ return a.patch(
2385
+ `${s()}/projects/${e}/observations/${r}/approval`,
2386
+ { isApproved: o[t.status] }
1433
2387
  );
1434
2388
  }
1435
2389
  },
1436
- coolify: {
1437
- getCoolifyServers() {
1438
- return a.get(`${i()}/coolify/servers`);
2390
+ gateReportManagement: {
2391
+ listApps(e = {}) {
2392
+ return a.get(
2393
+ `${s()}/gate-report/apps?${u(
2394
+ e
2395
+ )}`
2396
+ );
1439
2397
  },
1440
- createAppOnCoolify(e) {
1441
- return a.post(
1442
- `${i()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
2398
+ getApp(e, r) {
2399
+ return a.get(
2400
+ `${s()}/gate-report/apps/${e}/${r}`
1443
2401
  );
1444
2402
  },
1445
- saveAppOnCoolify(e, r, t) {
1446
- return a.post(
1447
- `${i()}/projects/${e}/cameras/${r}/gate_report/apps`,
1448
- t
2403
+ listAppEvents(e) {
2404
+ return a.get(
2405
+ `${s()}/gate-report/apps/last-event-status?${u({
2406
+ projectExid: e
2407
+ })}`
1449
2408
  );
1450
2409
  },
1451
- updateApp({
1452
- appUuid: e,
1453
- appId: r,
1454
- payload: t,
1455
- cameraExid: s,
1456
- projectExid: o
1457
- }) {
2410
+ createApp(e) {
2411
+ return a.post(`${s()}/gate-report/apps`, e);
2412
+ },
2413
+ updateApp(e, r, t) {
1458
2414
  return a.patch(
1459
- `${i()}/projects/${o}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
2415
+ `${s()}/gate-report/apps/${e}/${r}`,
1460
2416
  t
1461
2417
  );
1462
2418
  },
1463
- deleteApp({
1464
- appUuid: e,
1465
- appId: r,
1466
- cameraExid: t,
1467
- projectExid: s
1468
- }) {
2419
+ deleteApp(e, r) {
1469
2420
  return a.delete(
1470
- `${i()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
2421
+ `${s()}/gate-report/apps/${e}/${r}`
1471
2422
  );
1472
2423
  },
1473
- startService(e) {
1474
- return a.post(`${i()}/coolify/services/${e}/start`);
2424
+ setAppState(e, r, t) {
2425
+ return a.patch(
2426
+ `${s()}/gate-report/apps/${e}/${r}/state`,
2427
+ { state: t }
2428
+ );
1475
2429
  },
1476
- pauseService(e) {
1477
- return a.post(`${i()}/coolify/services/${e}/stop`);
2430
+ listCoolifyProjects() {
2431
+ return a.get(`${s()}/gate-report/coolify-projects`);
1478
2432
  },
1479
- restartService(e) {
1480
- return a.post(
1481
- `${i()}/coolify/services/${e}/restart`
1482
- );
1483
- }
1484
- },
1485
- fovChanges: {
1486
- getCameraFovChanges(e, r = {}) {
1487
- return a.post(
1488
- `${i()}/cameras/${e}/fov_changes`,
1489
- {},
1490
- r
1491
- );
2433
+ listCoolifyServers() {
2434
+ return a.get(`${s()}/gate-report/coolify-servers`);
2435
+ },
2436
+ listImageTags() {
2437
+ return a.get(`${s()}/gate-report/image-tags`);
1492
2438
  }
1493
2439
  }
1494
- }, Kt = {
2440
+ }, es = {
1495
2441
  webRtc: {
1496
2442
  requestIceServers({ url: e, token: r }) {
1497
- return b({
2443
+ return w({
1498
2444
  url: e,
1499
2445
  method: "OPTIONS",
1500
2446
  headers: {
@@ -1507,7 +2453,7 @@ const i = () => a.env.aiApiUrl, Yt = {
1507
2453
  token: r,
1508
2454
  data: t
1509
2455
  }) {
1510
- return b({
2456
+ return w({
1511
2457
  url: e,
1512
2458
  method: "POST",
1513
2459
  headers: {
@@ -1521,21 +2467,21 @@ const i = () => a.env.aiApiUrl, Yt = {
1521
2467
  url: e,
1522
2468
  token: r,
1523
2469
  data: t,
1524
- tag: s
2470
+ tag: o
1525
2471
  }) {
1526
- return b({
2472
+ return w({
1527
2473
  url: e,
1528
2474
  method: "PATCH",
1529
2475
  headers: {
1530
2476
  "Content-Type": "application/trickle-ice-sdpfrag",
1531
- "If-Match": s,
2477
+ "If-Match": o,
1532
2478
  Authorization: `Bearer ${r}`
1533
2479
  },
1534
2480
  data: t
1535
2481
  });
1536
2482
  }
1537
2483
  }
1538
- }, Et = {
2484
+ }, rs = {
1539
2485
  current(e, r) {
1540
2486
  return a.get(`/projects/${e}/weather/current`, {
1541
2487
  params: r
@@ -1551,23 +2497,23 @@ const i = () => a.env.aiApiUrl, Yt = {
1551
2497
  });
1552
2498
  }
1553
2499
  };
1554
- function u() {
2500
+ function S() {
1555
2501
  var r;
1556
2502
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1557
2503
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1558
2504
  }
1559
- const Ct = {
2505
+ const as = {
1560
2506
  posthog: {
1561
2507
  getEvents(e) {
1562
- return a.get(`${u()}/posthog/events`, e);
2508
+ return a.get(`${S()}/posthog/events`, e);
1563
2509
  },
1564
2510
  getUsers(e) {
1565
- return a.get(`${u()}/posthog/users`, {
2511
+ return a.get(`${S()}/posthog/users`, {
1566
2512
  params: e
1567
2513
  });
1568
2514
  },
1569
2515
  getActiveUsers(e) {
1570
- return a.get(`${u()}/posthog/active-users`, {
2516
+ return a.get(`${S()}/posthog/active-users`, {
1571
2517
  params: e,
1572
2518
  preserveCasing: !0
1573
2519
  });
@@ -1575,14 +2521,14 @@ const Ct = {
1575
2521
  },
1576
2522
  copilot: {
1577
2523
  async getAllConversations(e) {
1578
- return a.get(`${u()}/copilot/conversations`, {
2524
+ return a.get(`${S()}/copilot/conversations`, {
1579
2525
  params: e,
1580
2526
  preserveCasing: !0
1581
2527
  });
1582
2528
  },
1583
2529
  async getOneConversation(e) {
1584
2530
  return a.get(
1585
- `${u()}/copilot/conversations/${e}`,
2531
+ `${S()}/copilot/conversations/${e}`,
1586
2532
  {
1587
2533
  preserveCasing: !0
1588
2534
  }
@@ -1590,13 +2536,13 @@ const Ct = {
1590
2536
  },
1591
2537
  async getConversationMessages(e, r) {
1592
2538
  return a.get(
1593
- `${u()}/copilot/conversations/${e}/messages`,
2539
+ `${S()}/copilot/conversations/${e}/messages`,
1594
2540
  { params: r, preserveCasing: !0 }
1595
2541
  );
1596
2542
  },
1597
2543
  async getMessageSteps(e) {
1598
2544
  return a.get(
1599
- `${u()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2545
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1600
2546
  );
1601
2547
  },
1602
2548
  async submitMessageFeedback({
@@ -1605,7 +2551,7 @@ const Ct = {
1605
2551
  ...t
1606
2552
  }) {
1607
2553
  return a.post(
1608
- `${u()}/copilot/conversations/${e}/messages/${r}/feedback`,
2554
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1609
2555
  t,
1610
2556
  {
1611
2557
  preserveCasing: !0
@@ -1614,24 +2560,17 @@ const Ct = {
1614
2560
  }
1615
2561
  },
1616
2562
  siteAnalytics: {
1617
- async getSegmentsDateIntervals({
1618
- cameraExid: e,
1619
- fromDate: r,
1620
- toDate: t,
1621
- precision: s
1622
- }) {
1623
- return a.get(
1624
- `${u()}/cameras/${e}/segments/presence-intervals`,
1625
- {
1626
- params: { fromDate: r, toDate: t, precision: s },
1627
- preserveCasing: !0
1628
- }
1629
- );
2563
+ async getProcessingStatus(e = {}, r = {}) {
2564
+ return a.get(`${S()}/site-analytics/processing-status`, {
2565
+ params: e,
2566
+ ...r,
2567
+ preserveCasing: !0
2568
+ });
1630
2569
  },
1631
2570
  async getIntersectionsHeatmapData(e) {
1632
2571
  const { cameraExid: r, ...t } = e;
1633
2572
  return a.get(
1634
- `${u()}/site-analytics/cameras/${r}/heatmap/intersections`,
2573
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1635
2574
  {
1636
2575
  params: t,
1637
2576
  preserveCasing: !0
@@ -1642,7 +2581,7 @@ const Ct = {
1642
2581
  googleCloudStorage: {
1643
2582
  listFiles(e = "") {
1644
2583
  return a.get(
1645
- `${u()}/gc-storage/buckets/evercam-labs/files`,
2584
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1646
2585
  {
1647
2586
  params: {
1648
2587
  prefix: e
@@ -1653,7 +2592,7 @@ const Ct = {
1653
2592
  },
1654
2593
  getSignedUrl(e) {
1655
2594
  return a.get(
1656
- `${u()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2595
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1657
2596
  {
1658
2597
  params: {
1659
2598
  fileName: e
@@ -1666,7 +2605,7 @@ const Ct = {
1666
2605
  luminance: {
1667
2606
  getReadings(e) {
1668
2607
  return a.get(
1669
- `${u()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2608
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1670
2609
  {
1671
2610
  params: {
1672
2611
  fromDate: e.fromDate,
@@ -1679,7 +2618,7 @@ const Ct = {
1679
2618
  },
1680
2619
  kits: {
1681
2620
  getMetrics(e, r, t = q.Last24Hours) {
1682
- return a.get(`${u()}/kits/${e}/metrics`, {
2621
+ return a.get(`${S()}/kits/${e}/metrics`, {
1683
2622
  params: {
1684
2623
  metrics: r,
1685
2624
  from: t
@@ -1688,7 +2627,7 @@ const Ct = {
1688
2627
  });
1689
2628
  }
1690
2629
  }
1691
- }, At = {
2630
+ }, ts = {
1692
2631
  apiStatus: {
1693
2632
  getApiStatus() {
1694
2633
  return a.get("/status");
@@ -1698,6 +2637,9 @@ const Ct = {
1698
2637
  signup(e) {
1699
2638
  return a.post("/users", e);
1700
2639
  },
2640
+ zohoAuthUrl(e) {
2641
+ return a.post("/support/zoho-auth-url", e);
2642
+ },
1701
2643
  fetchAccessFeatures(e) {
1702
2644
  return a.get(`/users/${e}/features`);
1703
2645
  },
@@ -1715,7 +2657,7 @@ const Ct = {
1715
2657
  return a.get(`/auth/provider/${e}`);
1716
2658
  },
1717
2659
  login(e) {
1718
- return a.post("/auth/login", g(e));
2660
+ return a.post("/auth/login", u(e));
1719
2661
  },
1720
2662
  loginWithApiCredentials(e, r) {
1721
2663
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1749,7 +2691,7 @@ const Ct = {
1749
2691
  confirm(e, r) {
1750
2692
  return a.post(`/users/${e}/confirm`, r);
1751
2693
  },
1752
- deleteActiveSession(e, r = {}) {
2694
+ deleteActiveSession(e, r) {
1753
2695
  return a.delete(`/users/active-sessions/${e}`, {
1754
2696
  params: r
1755
2697
  });
@@ -1760,8 +2702,8 @@ const Ct = {
1760
2702
  update(e, r = {}) {
1761
2703
  return a.patch(`/users/${e}`, r);
1762
2704
  },
1763
- delete(e, r) {
1764
- return a.post(`/users/${e}/delete`, r);
2705
+ deleteAccount() {
2706
+ return a.delete("/users/me");
1765
2707
  },
1766
2708
  fetchPermissions() {
1767
2709
  return a.get("/users/permissions");
@@ -1774,18 +2716,18 @@ const Ct = {
1774
2716
  get() {
1775
2717
  return a.get("/notifications");
1776
2718
  },
1777
- markAllAsRead(e) {
1778
- return a.patch(`/notifications/${e}`);
1779
- },
1780
- markAsRead() {
2719
+ markAllAsRead() {
1781
2720
  return a.post("/notifications/mark-as-read");
2721
+ },
2722
+ markAsRead(e) {
2723
+ return a.patch(`/notifications/${e}`);
1782
2724
  }
1783
2725
  },
1784
2726
  bim: {
1785
- getBimSnapshot(e, r, t, s) {
2727
+ getBimSnapshot(e, r, t, o) {
1786
2728
  return a.get(`/cameras/${e}/bim/${r}`, {
1787
2729
  params: t,
1788
- ...s || {}
2730
+ ...o || {}
1789
2731
  });
1790
2732
  },
1791
2733
  getBimModel(e, r, t) {
@@ -1823,7 +2765,7 @@ const Ct = {
1823
2765
  return a.get("/cameras", { params: e, ...e.config });
1824
2766
  },
1825
2767
  getCameraById(e, r) {
1826
- return a.get(`/cameras/${e}?${g(r)}`);
2768
+ return a.get(`/cameras/${e}?${u(r)}`);
1827
2769
  },
1828
2770
  getCameraLastPublicNote(e) {
1829
2771
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1835,7 +2777,7 @@ const Ct = {
1835
2777
  return fetch(
1836
2778
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1837
2779
  ).then(
1838
- ({ url: t }) => Ht(t.split("?")[1] || "").access_token
2780
+ ({ url: t }) => Bo(t.split("?")[1] || "").access_token
1839
2781
  );
1840
2782
  },
1841
2783
  getCameraStatusLogs(e, r) {
@@ -1849,8 +2791,11 @@ const Ct = {
1849
2791
  index({
1850
2792
  params: e,
1851
2793
  config: r
1852
- }) {
1853
- return a.get(`/projects?${g(e)}`, r);
2794
+ } = { params: {}, config: {} }) {
2795
+ return a.get(`/projects?${u(e)}`, r);
2796
+ },
2797
+ create(e) {
2798
+ return a.post("/projects", e);
1854
2799
  },
1855
2800
  getLogos(e) {
1856
2801
  return a.get(`/projects/${e}/logos`);
@@ -1867,7 +2812,7 @@ const Ct = {
1867
2812
  updateLogo(e, r, t) {
1868
2813
  return a.patch(
1869
2814
  `/projects/${e}/logos/${r}`,
1870
- g({ name: t })
2815
+ u({ name: t })
1871
2816
  );
1872
2817
  },
1873
2818
  updateThumbnail(e, r) {
@@ -1883,6 +2828,9 @@ const Ct = {
1883
2828
  updateCamerasRestriction(e, r) {
1884
2829
  return a.patch(`/projects/${e}/cameras`, r);
1885
2830
  },
2831
+ reorderCameras(e, r) {
2832
+ return a.patch(`/projects/${e}/cameras/reorder`, r);
2833
+ },
1886
2834
  updatePlaceholderThumbnail(e, r) {
1887
2835
  return a.post(
1888
2836
  `/projects/${e}/waiting-camera-placeholder`,
@@ -1920,6 +2868,9 @@ const Ct = {
1920
2868
  },
1921
2869
  updateMembersRole(e, r) {
1922
2870
  return a.patch(`/projects/${e}/users`, r);
2871
+ },
2872
+ requestCameraInfo(e) {
2873
+ return a.post(`/projects/${e}/camera-inquiry-request`);
1923
2874
  }
1924
2875
  },
1925
2876
  timelapse: {
@@ -2132,6 +3083,59 @@ const Ct = {
2132
3083
  return a.post("/voyage-control/auth/revoke");
2133
3084
  }
2134
3085
  },
3086
+ hammertech: {
3087
+ connect(e) {
3088
+ return a.post("/users/auth/hammertech/connect", e);
3089
+ },
3090
+ revoke() {
3091
+ return a.post("/users/auth/hammertech/revoke");
3092
+ },
3093
+ getProjects() {
3094
+ return a.get("/hammertech/projects");
3095
+ },
3096
+ getIssueTypes(e) {
3097
+ return a.get("/hammertech/issue-types", {
3098
+ params: {
3099
+ projectId: e,
3100
+ includeCustomFieldForms: !0
3101
+ }
3102
+ });
3103
+ },
3104
+ getLocations(e) {
3105
+ return a.get("/hammertech/locations", {
3106
+ params: { projectId: e }
3107
+ });
3108
+ },
3109
+ createIssue(e) {
3110
+ return a.post("/hammertech/issues", e);
3111
+ },
3112
+ createStoredFile(e) {
3113
+ return a.post("/hammertech/stored-files", e);
3114
+ }
3115
+ },
3116
+ ring: {
3117
+ completeLinking(e) {
3118
+ return a.post("/ring/complete-linking", e);
3119
+ },
3120
+ getDevices() {
3121
+ return a.get("/ring/devices");
3122
+ },
3123
+ moveDevice(e, r) {
3124
+ return a.patch(`/ring/devices/${e}/move`, r);
3125
+ },
3126
+ deleteDevice(e) {
3127
+ return a.delete(`/ring/devices/${e}`);
3128
+ },
3129
+ disconnect() {
3130
+ return a.post("/ring/disconnect");
3131
+ },
3132
+ startLiveView(e, r) {
3133
+ return a.post(`/ring/devices/${e}/live`, r);
3134
+ },
3135
+ stopLiveView(e, r) {
3136
+ return a.delete(`/ring/devices/${e}/live/${r}`);
3137
+ }
3138
+ },
2135
3139
  xweather: {
2136
3140
  connect(e, r) {
2137
3141
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2151,12 +3155,12 @@ const Ct = {
2151
3155
  params: r
2152
3156
  });
2153
3157
  },
2154
- nearest(e, r, t, s) {
3158
+ nearest(e, r, t, o) {
2155
3159
  return a.get(
2156
3160
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2157
3161
  {
2158
3162
  params: t,
2159
- ...s || {}
3163
+ ...o || {}
2160
3164
  }
2161
3165
  );
2162
3166
  },
@@ -2164,12 +3168,14 @@ const Ct = {
2164
3168
  cameraId: e,
2165
3169
  year: r,
2166
3170
  month: t,
2167
- payload: s
3171
+ payload: o,
3172
+ cancelToken: i
2168
3173
  }) {
2169
3174
  return a.get(
2170
3175
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2171
3176
  {
2172
- params: s
3177
+ params: o,
3178
+ cancelToken: i
2173
3179
  }
2174
3180
  );
2175
3181
  },
@@ -2177,24 +3183,25 @@ const Ct = {
2177
3183
  cameraId: e,
2178
3184
  year: r,
2179
3185
  month: t,
2180
- day: s,
2181
- payload: o,
2182
- cancelToken: l
3186
+ day: o,
3187
+ payload: i,
3188
+ cancelToken: g
2183
3189
  }) {
2184
3190
  return a.get(
2185
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
3191
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2186
3192
  {
2187
- params: o,
2188
- cancelToken: l
3193
+ params: i,
3194
+ cancelToken: g
2189
3195
  }
2190
3196
  );
2191
3197
  },
2192
3198
  getSnapshot(e, r) {
2193
3199
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2194
3200
  },
2195
- getSnapshotRange(e, r) {
3201
+ getSnapshotRange(e, r, t) {
2196
3202
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2197
- params: r
3203
+ params: r,
3204
+ ...t || {}
2198
3205
  });
2199
3206
  }
2200
3207
  },
@@ -2213,19 +3220,19 @@ const Ct = {
2213
3220
  },
2214
3221
  unsubscribe(e, r) {
2215
3222
  return a.patch(
2216
- `/progress-photos/${e}/unsubscribe?${g(
3223
+ `/progress-photos/${e}/unsubscribe?${u(
2217
3224
  r
2218
3225
  )}`
2219
3226
  );
2220
3227
  },
2221
3228
  delete(e, r) {
2222
- return a.delete(`/progress-photos/${e}?${g(r)}`);
3229
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2223
3230
  }
2224
3231
  },
2225
3232
  mediaHub: {
2226
3233
  getAllMedia(e, r) {
2227
3234
  return a.get(
2228
- `projects/${e}/media-hub?${g(r, {
3235
+ `projects/${e}/media-hub?${u(r, {
2229
3236
  forceArrayBrackets: !0
2230
3237
  })}`
2231
3238
  );
@@ -2236,8 +3243,12 @@ const Ct = {
2236
3243
  cShow(e, r) {
2237
3244
  return a.get(`/projects/${e}/media-hub/${r}`);
2238
3245
  },
2239
- cCreate(e, r) {
2240
- return a.post(`/projects/${e}/media-hub`, r);
3246
+ cCreate(e, r, t = (o) => {
3247
+ }) {
3248
+ return a.post(`/projects/${e}/media-hub`, r, {
3249
+ onUploadProgress: t,
3250
+ timeout: 72e5
3251
+ });
2241
3252
  },
2242
3253
  cUpdate(e, r, t) {
2243
3254
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2247,51 +3258,14 @@ const Ct = {
2247
3258
  }
2248
3259
  },
2249
3260
  shares: {
2250
- updateShareRights(e, r) {
2251
- return a.patch(`/cameras/${e}/shares`, r);
2252
- },
2253
- updateShareRequestRights(e, r) {
2254
- return a.patch(`/cameras/${e}/shares/requests`, r);
2255
- },
2256
- cIndex(e) {
2257
- return a.get(`/cameras/${e}/shares`);
2258
- },
2259
- getShareRequest(e, r) {
2260
- return a.get(`/cameras/${e}/shares/requests`, {
2261
- params: r
2262
- });
2263
- },
2264
- deleteShare(e, r) {
2265
- return a.delete(`/cameras/${e}/shares`, r);
2266
- },
2267
- deleteRequest(e, r) {
2268
- return a.delete(`/cameras/${e}/shares/requests`, r);
2269
- },
2270
3261
  deleteShareRequest(e) {
2271
3262
  return a.delete(`/share-requests/${e.params.key}`);
2272
3263
  },
2273
3264
  getSharedUsers(e) {
2274
3265
  return a.get(`/cameras/${e}/shares/users`);
2275
3266
  },
2276
- cCreate(e, r) {
2277
- return a.post(`/cameras/${e}/shares`, r);
2278
- },
2279
- shareProjectCameras(e, r) {
2280
- return a.post(`/projects/${e}/shares/cameras`, r);
2281
- },
2282
3267
  getShareRequestByKey(e) {
2283
3268
  return a.get(`/shares/requests/${e}`);
2284
- },
2285
- resendShareRequest(e, r) {
2286
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2287
- },
2288
- getProjectShares(e) {
2289
- return a.get(
2290
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2291
- );
2292
- },
2293
- updateUserRestriction(e, r) {
2294
- return a.patch(`/projects/${e}/shares/cameras`, r);
2295
3269
  }
2296
3270
  },
2297
3271
  company: {
@@ -2307,7 +3281,8 @@ const Ct = {
2307
3281
  return a.get("/company/projects", e);
2308
3282
  },
2309
3283
  getCompanyCameras(e) {
2310
- return a.get("/company/cameras", e);
3284
+ const r = "params" in e ? e : { params: e };
3285
+ return a.get("/company/cameras", r);
2311
3286
  },
2312
3287
  getCompanyKits(e) {
2313
3288
  return a.get("/company/kits", e);
@@ -2363,7 +3338,7 @@ const Ct = {
2363
3338
  },
2364
3339
  archiveOrUnarchiveComment(e, r, t) {
2365
3340
  return a.patch(
2366
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
3341
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2367
3342
  );
2368
3343
  },
2369
3344
  deleteComment(e, r) {
@@ -2375,6 +3350,19 @@ const Ct = {
2375
3350
  return a.get("/proxy/storyblok", { params: e });
2376
3351
  }
2377
3352
  },
3353
+ snapshots: {
3354
+ deliverViaEmail(e, r) {
3355
+ return a.post(
3356
+ `/projects/${e}/snapshots/deliver/email`,
3357
+ r
3358
+ );
3359
+ }
3360
+ },
3361
+ sockets: {
3362
+ getWsToken() {
3363
+ return a.post("/sockets/auth");
3364
+ }
3365
+ },
2378
3366
  mailing: {
2379
3367
  unsubscribe(e) {
2380
3368
  return a.post("/mailing/unsubscribe", e);
@@ -2382,7 +3370,7 @@ const Ct = {
2382
3370
  },
2383
3371
  widgets: {
2384
3372
  index(e) {
2385
- return a.get(`/widgets?${g(e)}`);
3373
+ return a.get(`/widgets?${u(e)}`);
2386
3374
  },
2387
3375
  show(e) {
2388
3376
  return a.get(`/widgets/${e}`);
@@ -2405,10 +3393,50 @@ const Ct = {
2405
3393
  delete(e) {
2406
3394
  return a.delete(`/widgets/${e}`);
2407
3395
  }
3396
+ },
3397
+ developerApps: {
3398
+ index() {
3399
+ return a.get("/developer/apps");
3400
+ },
3401
+ show(e) {
3402
+ return a.get(`/developer/apps/${e}`);
3403
+ },
3404
+ create(e) {
3405
+ return a.post("/developer/apps", e);
3406
+ },
3407
+ update(e, r) {
3408
+ return a.patch(`/developer/apps/${e}`, r);
3409
+ },
3410
+ delete(e) {
3411
+ return a.delete(`/developer/apps/${e}`);
3412
+ },
3413
+ regenerateSecret(e) {
3414
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
3415
+ }
3416
+ },
3417
+ oauth: {
3418
+ getClientInfo(e, r) {
3419
+ return a.get("/oauth/client-info", {
3420
+ params: { client_id: e, scope: r }
3421
+ });
3422
+ },
3423
+ submitConsent(e) {
3424
+ return a.post("/oauth/consent", e);
3425
+ }
3426
+ },
3427
+ zoho: {
3428
+ getDealLocation(e) {
3429
+ return a.get(`/zoho/deals/${e}/location`);
3430
+ },
3431
+ updateDealLocation(e, r) {
3432
+ return a.post(`/zoho/deals/${e}/location`, r);
3433
+ }
2408
3434
  }
2409
- }, It = {
3435
+ }, os = {
2410
3436
  presets: {
2411
- index({ cameraExid: e }) {
3437
+ index({
3438
+ cameraExid: e
3439
+ }) {
2412
3440
  return a.get(`/cameras/${e}/ptz/presets`);
2413
3441
  },
2414
3442
  go({
@@ -2440,6 +3468,14 @@ const Ct = {
2440
3468
  presetName: t
2441
3469
  });
2442
3470
  },
3471
+ updateHome({
3472
+ cameraExid: e,
3473
+ presetName: r
3474
+ }) {
3475
+ return a.post(`/cameras/${e}/ptz/home/set`, {
3476
+ presetName: r
3477
+ });
3478
+ },
2443
3479
  delete({
2444
3480
  cameraExid: e,
2445
3481
  presetId: r
@@ -2457,9 +3493,9 @@ const Ct = {
2457
3493
  },
2458
3494
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2459
3495
  if (!t) {
2460
- const s = r === "in" ? 1 : -1;
3496
+ const o = r === "in" ? 1 : -1;
2461
3497
  return a.post(
2462
- `/cameras/${e}/ptz/relative?zoom=${s}`
3498
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2463
3499
  );
2464
3500
  }
2465
3501
  return a.post(
@@ -2473,302 +3509,394 @@ const Ct = {
2473
3509
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2474
3510
  }
2475
3511
  }
2476
- }, c = (e) => ({
2477
- [m.V1]: a.env.ingestApiUrl,
2478
- [m.V2]: a.env.ingestGpuApiUrl
2479
- })[e], x = {
3512
+ }, d = (e) => e === m.Drone ? (a.env.ingestDroneApi || "").split(";") : e === m.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], b = {
2480
3513
  drone: {
2481
3514
  createUpload(e, r) {
2482
3515
  return a.post(
2483
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3516
+ `${d(m.Drone)[0]}/drone/${e}/upload`,
2484
3517
  null,
2485
3518
  { params: r }
2486
3519
  );
2487
3520
  },
2488
- reprocessDrone(e, r) {
2489
- return a.post(
2490
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2491
- null,
2492
- { params: r }
3521
+ async reprocessDrone(e, r = {}) {
3522
+ const t = await b.utils.chooseIngestApiUrl(
3523
+ m.Drone
2493
3524
  );
3525
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2494
3526
  },
2495
3527
  getDrones(e) {
2496
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3528
+ return a.get(
3529
+ `${d(m.Drone)[0]}/drone/uploads/`,
3530
+ e
3531
+ );
3532
+ },
3533
+ getProcessingProgress(e) {
3534
+ return a.get(
3535
+ `${d(m.Drone)[0]}/drone/uploads/${e}/progress`
3536
+ );
2497
3537
  },
2498
3538
  getArchive(e, r) {
2499
3539
  return a.get(
2500
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3540
+ `${d(m.Drone)[0]}/drone/uploads/archive/${e}`,
2501
3541
  {
2502
3542
  params: r
2503
3543
  }
2504
3544
  );
2505
3545
  },
2506
3546
  deleteUpload(e) {
2507
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3547
+ return a.delete(
3548
+ `${d(m.Drone)[0]}/drone/uploads/${e}`
3549
+ );
2508
3550
  },
2509
3551
  prepareForUpload(e, r) {
2510
3552
  return a.put(
2511
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3553
+ `${d(m.Drone)[0]}/drone/${e}/prepare-upload`,
2512
3554
  null,
2513
3555
  { params: r }
2514
3556
  );
2515
3557
  },
2516
- upload(e, r, t) {
2517
- return a.put(
2518
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2519
- t,
2520
- { params: r }
3558
+ async upload(e, r, t) {
3559
+ const o = await b.utils.chooseIngestApiUrl(
3560
+ m.Drone
2521
3561
  );
3562
+ return a.put(`${o}/drone/${e}/upload`, t, {
3563
+ params: r
3564
+ });
2522
3565
  },
2523
3566
  verifyToken(e, r) {
2524
3567
  return a.get(
2525
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3568
+ `${d(m.Drone)[0]}/drone/uploads/${e}/verify`,
2526
3569
  {
2527
3570
  params: { token: r.token }
2528
3571
  }
2529
3572
  );
2530
3573
  },
2531
- calculateMeasuringOperation(e, r) {
3574
+ calculateMeasuringOperation(e, r, t = d(m.Drone)[0]) {
2532
3575
  return a.post(
2533
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3576
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2534
3577
  r
2535
3578
  );
2536
3579
  },
2537
3580
  inspectionTool(e, r) {
2538
3581
  return a.post(
2539
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3582
+ `${d(m.Drone)[0]}/drone/api/${e}/inspection-tool`,
2540
3583
  r
2541
3584
  );
2542
3585
  },
2543
- isInspectionEnabled(e, r) {
3586
+ isInspectionEnabled(e, r = {}) {
2544
3587
  return a.post(
2545
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3588
+ `${d(m.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2546
3589
  null,
2547
3590
  { params: r }
2548
3591
  );
2549
3592
  },
2550
- getDroneQueueSize(e = m.V1) {
2551
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2552
- return a.get(`${r}/drone/queue`);
3593
+ getDroneQueueSize(e) {
3594
+ return a.get(`${e}/drone/queue`);
2553
3595
  },
2554
3596
  getFlightImages(e, r) {
2555
3597
  return a.get(
2556
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3598
+ `${d(m.Drone)[0]}/drone/api/${e}/flight-images`,
2557
3599
  {
2558
3600
  params: r
2559
3601
  }
2560
3602
  );
2561
3603
  },
2562
- checkFlightAvailableFeatures(e, r) {
2563
- return a.get(
2564
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2565
- {
2566
- params: r
2567
- }
2568
- );
3604
+ async checkFlightAvailableFeatures(e, r) {
3605
+ var p;
3606
+ const t = d(m.Drone), i = (await Promise.all(
3607
+ t.map(async (c) => {
3608
+ try {
3609
+ return { ...await a.get(
3610
+ `${c}/drone/api/${e}/flight-available-features`,
3611
+ { params: r }
3612
+ ), ingestUrl: c };
3613
+ } catch {
3614
+ return null;
3615
+ }
3616
+ })
3617
+ )).filter(Boolean), g = i.find((c) => c.isVolumeToolEnabled);
3618
+ return (p = g != null ? g : i[0]) != null ? p : {};
2569
3619
  }
2570
3620
  },
2571
3621
  assets360: {
2572
- get360Assets(e, r = m.V1) {
2573
- return a.get(`${c(r)}/360/assets/`, e);
3622
+ get360Assets(e) {
3623
+ const r = d(m.ThreeSixty)[0];
3624
+ return a.get(`${r}/360/assets/`, e);
2574
3625
  },
2575
- get360AssetsCounts(e, r, t = m.V2) {
2576
- return a.get(
2577
- `${c(t)}/360/assets/${e}/counts`,
2578
- {
2579
- params: r
2580
- }
2581
- );
3626
+ get360AssetsCounts(e, r) {
3627
+ const t = d(m.ThreeSixty)[0];
3628
+ return a.get(`${t}/360/assets/${e}/counts`, {
3629
+ params: r
3630
+ });
2582
3631
  },
2583
- get360AssetLink(e, r, t, s, o, l) {
3632
+ get360AssetLink(e, r, t, o, i, g) {
2584
3633
  return a.get(
2585
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${o}`,
3634
+ `${d(m.ThreeSixty)[0]}/360/assets/${e}/${r}/${i}`,
2586
3635
  {
2587
- params: { marker: l, assetType: s, name: t }
3636
+ params: { marker: g, assetType: o, name: t }
2588
3637
  }
2589
3638
  );
2590
3639
  },
2591
- update360(e, r, t = m.V2) {
2592
- return a.put(`${c(t)}/360/assets/${e}`, r);
3640
+ update360(e, r) {
3641
+ const t = d(m.ThreeSixty)[0];
3642
+ return a.put(`${t}/360/assets/${e}`, r);
2593
3643
  },
2594
- update360ByProjectDateName(e, r, t, s, o = m.V2) {
3644
+ update360ByProjectDateName(e, r, t, o) {
3645
+ const i = d(m.ThreeSixty)[0];
2595
3646
  return a.put(
2596
- `${c(o)}/360/assets/${e}/${r}/${t}`,
2597
- s
3647
+ `${i}/360/assets/${e}/${r}/${t}`,
3648
+ o
2598
3649
  );
2599
3650
  },
2600
- deleteUpload(e, r = m.V2) {
2601
- return a.delete(`${c(r)}/360/assets/${e}`);
3651
+ deleteUpload(e) {
3652
+ const r = d(m.ThreeSixty)[0];
3653
+ return a.delete(`${r}/360/assets/${e}`);
2602
3654
  },
2603
- getArchive(e, r, t = m.V2) {
2604
- return a.get(`${c(t)}/360/assets/archive/${e}`, {
3655
+ getArchive(e, r) {
3656
+ const t = d(m.ThreeSixty)[0];
3657
+ return a.get(`${t}/360/assets/archive/${e}`, {
2605
3658
  params: r
2606
3659
  });
2607
3660
  },
2608
- createUpload(e, r, t = m.V2) {
2609
- return a.post(
2610
- `${c(t)}/360/${e}/upload`,
2611
- null,
2612
- { params: r }
2613
- );
3661
+ get360Progress(e) {
3662
+ const r = d(m.ThreeSixty)[0];
3663
+ return a.get(`${r}/360/assets/${e}/progress`);
2614
3664
  },
2615
- upload(e, r, t, s = m.V2) {
2616
- return a.put(
2617
- `${c(s)}/360/${e}/upload`,
2618
- t,
2619
- { params: r }
3665
+ createUpload(e, r) {
3666
+ const t = d(m.ThreeSixty)[0];
3667
+ return a.post(`${t}/360/${e}/upload`, null, {
3668
+ params: r
3669
+ });
3670
+ },
3671
+ async upload(e, r, t) {
3672
+ const o = await b.utils.chooseIngestApiUrl(
3673
+ m.ThreeSixty
2620
3674
  );
3675
+ return a.put(`${o}/360/${e}/upload`, t, {
3676
+ params: r,
3677
+ headers: {
3678
+ "X-Processing-Source": "DASHBOARD"
3679
+ }
3680
+ });
2621
3681
  },
2622
- reprocess360(e, r = m.V2) {
2623
- return a.put(`${c(r)}/360/${e}/reprocess`);
3682
+ async reprocess360(e) {
3683
+ const r = await b.utils.chooseIngestApiUrl(
3684
+ m.ThreeSixty
3685
+ );
3686
+ return a.put(`${r}/360/${e}/reprocess`);
2624
3687
  },
2625
- drawingExists(e, r = m.V2) {
3688
+ drawingExists(e) {
2626
3689
  var t;
3690
+ const r = d(m.ThreeSixty)[0];
2627
3691
  return a.get(
2628
- `${c(r)}/360/floors/exists?${g(
3692
+ `${r}/360/floors/exists?${u(
2629
3693
  (t = e.params) != null ? t : e
2630
3694
  )}`
2631
3695
  );
2632
3696
  },
2633
- getDrawings(e, r = m.V2) {
3697
+ getDrawings(e) {
2634
3698
  var t;
3699
+ const r = d(m.ThreeSixty)[0];
2635
3700
  return a.get(
2636
- `${c(r)}/360/floors/?${g(
2637
- (t = e.params) != null ? t : e
2638
- )}`
3701
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
3702
+ e.config
2639
3703
  );
2640
3704
  },
2641
- getDrawingById(e, r, t = m.V2) {
3705
+ getDrawingById(e, r) {
3706
+ const t = d(m.ThreeSixty)[0];
2642
3707
  return a.get(
2643
- `${c(t)}/360/floors/${e}?project_id=${r}`
3708
+ `${t}/360/floors/${e}?project_id=${r}`
2644
3709
  );
2645
3710
  },
2646
- updateDrawing(e, r, t, s = m.V2) {
3711
+ updateDrawing(e, r, t) {
3712
+ const o = d(m.ThreeSixty)[0];
2647
3713
  return a.put(
2648
- `${c(
2649
- s
2650
- )}/360/floors/${e}?project_id=${r}`,
3714
+ `${o}/360/floors/${e}?project_id=${r}`,
2651
3715
  t
2652
3716
  );
2653
3717
  },
2654
- deleteDrawing(e, r = m.V2) {
2655
- return a.delete(`${c(r)}/360/floors/${e}`);
3718
+ deleteDrawing(e) {
3719
+ const r = d(m.ThreeSixty)[0];
3720
+ return a.delete(`${r}/360/floors/${e}`);
3721
+ },
3722
+ restoreDrawing(e) {
3723
+ const r = d(m.ThreeSixty)[0];
3724
+ return a.post(`${r}/360/floors/${e}/restore`);
2656
3725
  },
2657
- transferWalks(e, r, t, s = m.V2) {
3726
+ transferWalks(e, r, t) {
3727
+ const o = d(m.ThreeSixty)[0];
2658
3728
  return a.post(
2659
- `${c(
2660
- s
2661
- )}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3729
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2662
3730
  );
2663
3731
  },
2664
- createDrawing(e, r, t, s = m.V2) {
3732
+ createDrawing(e, r, t) {
3733
+ const o = d(m.ThreeSixty)[0];
2665
3734
  return a.post(
2666
- `${c(
2667
- s
2668
- )}/360/floors/${e}?created_by=${t}`,
3735
+ `${o}/360/floors/${e}?created_by=${t}`,
2669
3736
  r
2670
3737
  );
2671
3738
  },
2672
- fetchDrawingOverlay(e, r, t, s = m.V2) {
2673
- return a.get(`${c(s)}/360/floors/${e}/overlay`, {
3739
+ fetchDrawingOverlay(e, r, t, o = {}) {
3740
+ const i = d(m.ThreeSixty)[0];
3741
+ return a.get(`${i}/360/floors/${e}/overlay`, {
3742
+ ...o,
2674
3743
  params: r,
2675
3744
  onDownloadProgress: t
2676
3745
  });
2677
3746
  },
2678
- generate360map(e, r, t = m.V2) {
3747
+ getFloorArchive(e) {
3748
+ const r = d(m.ThreeSixty)[0];
3749
+ return a.get(`${r}/360/floors/${e}/archive`);
3750
+ },
3751
+ generate360map(e, r) {
3752
+ const t = d(m.ThreeSixty)[0];
2679
3753
  return a.post(
2680
- `${c(t)}/360/api/${e}/generate-360-map`,
3754
+ `${t}/360/api/${e}/generate-360-map`,
2681
3755
  r
2682
3756
  );
2683
3757
  },
2684
- get360QueueSize(e, r = m.V2) {
2685
- return a.get(`${c(r)}/360/queue`, { params: e });
3758
+ get360QueueSize(e, r = {}) {
3759
+ return a.get(`${e}/360/queue`, { params: r });
2686
3760
  }
2687
3761
  },
2688
3762
  bim: {
2689
3763
  createUpload(e, r) {
2690
3764
  return a.post(
2691
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3765
+ `${d(m.Drone)[0]}/bim/${e}/upload`,
2692
3766
  null,
2693
3767
  { params: r }
2694
3768
  );
2695
3769
  },
2696
3770
  getBIMs(e) {
2697
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3771
+ return a.get(
3772
+ `${d(m.Drone)[0]}/bim/uploads/`,
3773
+ e
3774
+ );
2698
3775
  },
2699
3776
  getArchive(e) {
2700
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3777
+ return a.get(
3778
+ `${d(m.Drone)[0]}/bim/uploads/archive/${e}`
3779
+ );
2701
3780
  },
2702
3781
  deleteUpload(e) {
2703
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3782
+ return a.delete(
3783
+ `${d(m.Drone)[0]}/bim/uploads/${e}`
3784
+ );
2704
3785
  },
2705
3786
  upload(e, r, t) {
2706
3787
  return a.put(
2707
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3788
+ `${d(m.Drone)[0]}/bim/${e}/upload`,
2708
3789
  t,
2709
3790
  { params: r }
2710
3791
  );
2711
3792
  }
2712
3793
  },
3794
+ webhook: {
3795
+ notifyBimUpdated(e, r) {
3796
+ const t = {
3797
+ eventName: "bim.updated",
3798
+ projectId: e,
3799
+ data: {
3800
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3801
+ bimIdentifier: r
3802
+ }
3803
+ };
3804
+ return a.post(
3805
+ `${d(m.Drone)[0]}/webhook/`,
3806
+ t
3807
+ );
3808
+ }
3809
+ },
2713
3810
  mobileCapture: {
2714
- getProjectMobileAssets(e, r = {}, t = m.V2) {
2715
- return a.get(`${c(t)}/mobile/assets/`, {
3811
+ getProjectMobileAssets(e, r = {}) {
3812
+ const t = d(m.ThreeSixty)[0];
3813
+ return a.get(`${t}/mobile/assets/`, {
2716
3814
  params: e,
2717
3815
  ...r
2718
3816
  });
2719
3817
  },
2720
- getMobileAssetPhoto(e, r, t = m.V2) {
2721
- return a.get(`${c(t)}/mobile/assets/${e}`, {
3818
+ getMobileAssetPhoto(e, r) {
3819
+ const t = d(m.ThreeSixty)[0];
3820
+ return a.get(`${t}/mobile/assets/${e}`, {
2722
3821
  params: r
2723
3822
  });
2724
3823
  },
2725
- deleteAsset(e, r = m.V2) {
2726
- return a.delete(
2727
- `${c(r)}/mobile/assets/${e}`
2728
- );
3824
+ deleteAsset(e) {
3825
+ const r = d(m.ThreeSixty)[0];
3826
+ return a.delete(`${r}/mobile/assets/${e}`);
2729
3827
  }
2730
3828
  },
2731
3829
  utils: {
2732
3830
  async loadAllAssetsInQueue() {
2733
3831
  try {
2734
- const e = [m.V1, m.V2], r = [];
2735
- for (const t of e) {
2736
- const [s, o] = await Promise.all([
2737
- x.assets360.get360QueueSize({}, t),
2738
- x.drone.getDroneQueueSize(t)
2739
- ]), l = [
2740
- s == null ? void 0 : s.assets360,
2741
- o == null ? void 0 : o.assetsDrone
2742
- ].flatMap(
2743
- (n) => (n || []).map((p) => ({
2744
- ...p,
2745
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2746
- }))
2747
- );
2748
- r.push(...l);
2749
- }
2750
- return r.sort(
2751
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3832
+ const e = d(m.Drone), r = d(m.ThreeSixty), t = [], o = await Promise.all(
3833
+ e.map(async (g) => {
3834
+ const p = await b.drone.getDroneQueueSize(g), c = b.utils.getIngestVersion(g);
3835
+ return ((p == null ? void 0 : p.assetsDrone) || []).map((h) => ({
3836
+ ...h,
3837
+ ingestVersion: c.toUpperCase()
3838
+ }));
3839
+ })
3840
+ ), i = await Promise.all(
3841
+ r.map(async (g) => {
3842
+ const p = await b.assets360.get360QueueSize(g), c = b.utils.getIngestVersion(g);
3843
+ return ((p == null ? void 0 : p.assets360) || []).map((h) => ({
3844
+ ...h,
3845
+ ingestVersion: c.toUpperCase()
3846
+ }));
3847
+ })
3848
+ );
3849
+ return t.push(...o.flat(), ...i.flat()), t.sort(
3850
+ (g, p) => new Date(g.updatedAt).getTime() - new Date(p.updatedAt).getTime()
2752
3851
  );
2753
3852
  } catch (e) {
2754
3853
  return console.error("Error:", e), [];
2755
3854
  }
3855
+ },
3856
+ getIngestVersion(e) {
3857
+ var t;
3858
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3859
+ },
3860
+ async chooseIngestApiUrl(e) {
3861
+ const r = d(e);
3862
+ return (await Promise.all(
3863
+ r.map(async (o) => {
3864
+ var i, g;
3865
+ try {
3866
+ let p = 0;
3867
+ if (e === m.Drone) {
3868
+ const c = await b.drone.getDroneQueueSize(o);
3869
+ p = ((i = c == null ? void 0 : c.assetsDrone) == null ? void 0 : i.length) || 0;
3870
+ } else {
3871
+ const c = await b.assets360.get360QueueSize(
3872
+ o
3873
+ );
3874
+ p = ((g = c == null ? void 0 : c.assets360) == null ? void 0 : g.length) || 0;
3875
+ }
3876
+ return { ingestUrl: o, queue: p };
3877
+ } catch {
3878
+ return { ingestUrl: o, queue: 1 / 0 };
3879
+ }
3880
+ })
3881
+ )).reduce(
3882
+ (o, i) => i.queue < o.queue ? i : o
3883
+ ).ingestUrl;
2756
3884
  }
2757
3885
  }
2758
- }, yt = {
3886
+ }, ss = {
2759
3887
  users: {
2760
3888
  login({
2761
3889
  apiUrl: e,
2762
3890
  username: r,
2763
3891
  password: t
2764
- }, s = {}) {
3892
+ }, o = {}) {
2765
3893
  return a.post(
2766
3894
  `${e}/api/users/login`,
2767
3895
  {
2768
3896
  username: r,
2769
3897
  password: t
2770
3898
  },
2771
- s
3899
+ o
2772
3900
  );
2773
3901
  }
2774
3902
  },
@@ -2795,46 +3923,46 @@ const Ct = {
2795
3923
  apiUrl: e,
2796
3924
  deviceId: r,
2797
3925
  token: t
2798
- }, s = {}) {
3926
+ }, o = {}) {
2799
3927
  return a.get(`${e}/api/devices/${r}`, {
2800
3928
  headers: {
2801
3929
  Authorization: `Bearer ${t}`
2802
3930
  },
2803
- ...s
3931
+ ...o
2804
3932
  });
2805
3933
  },
2806
3934
  getAvailableRecordings({
2807
3935
  apiUrl: e,
2808
3936
  deviceId: r,
2809
3937
  token: t
2810
- }, s = {}) {
3938
+ }, o = {}) {
2811
3939
  return a.get(`${e}/api/devices/${r}/recordings`, {
2812
3940
  headers: {
2813
3941
  Authorization: `Bearer ${t}`
2814
3942
  },
2815
- ...s
3943
+ ...o
2816
3944
  });
2817
3945
  },
2818
3946
  downloadFootage({
2819
3947
  apiUrl: e,
2820
3948
  deviceId: r,
2821
3949
  token: t,
2822
- startDate: s,
2823
- duration: o
3950
+ startDate: o,
3951
+ duration: i
2824
3952
  }) {
2825
3953
  return a.get(`${e}/api/devices/${r}/footage`, {
2826
3954
  headers: {
2827
3955
  Authorization: `Bearer ${t}`
2828
3956
  },
2829
3957
  params: {
2830
- startDate: s,
2831
- duration: o
3958
+ startDate: o,
3959
+ duration: i
2832
3960
  },
2833
3961
  responseType: "blob"
2834
3962
  });
2835
3963
  }
2836
3964
  }
2837
- }, es = {
3965
+ }, is = {
2838
3966
  roles: {
2839
3967
  async get(e) {
2840
3968
  return await a.get("/admin/authz/roles", e);
@@ -2860,22 +3988,22 @@ const Ct = {
2860
3988
  async getRoleUsers(e) {
2861
3989
  return a.get(`/admin/authz/roles/${e}/users`);
2862
3990
  },
2863
- async assignUsers(e, r, t) {
3991
+ async assignUsers(e, r, t = "evercam-admin") {
2864
3992
  return a.post(`/admin/authz/roles/${e}/users`, {
2865
3993
  emails: r,
2866
- resource_id: t
3994
+ resourceId: t
2867
3995
  });
2868
3996
  },
2869
- async unassignUsers(e, r, t) {
2870
- return a.delete(`/admin/authz/roles/${e}/users`, {
3997
+ getAssignments(e) {
3998
+ return a.get("/admin/authz/roles/assignments", e);
3999
+ },
4000
+ getUserRoles(e, r) {
4001
+ return a.get("/users/roles", {
2871
4002
  params: {
2872
- emails: r,
2873
- resource_id: t
4003
+ resourceId: e || null,
4004
+ resourceType: r || null
2874
4005
  }
2875
4006
  });
2876
- },
2877
- getUserRoles() {
2878
- return a.get("/users/roles");
2879
4007
  }
2880
4008
  },
2881
4009
  projectRoles: {
@@ -2908,226 +4036,280 @@ const Ct = {
2908
4036
  }
2909
4037
  };
2910
4038
  export {
2911
- te as AconexDocumentDataType,
2912
- se as AconexFormComponentType,
2913
- ie as AconexIdentifiers,
2914
- oe as AconexMandatoryStatus,
2915
- lt as ActiveUsersMetric,
2916
- qt as AdminApi,
2917
- Yt as AiApi,
2918
- ne as AnalyticsEvent,
2919
- le as AnalyticsEventPageId,
2920
- ge as AnprDirection,
2921
- me as AnprEventStatus,
2922
- Ga as AuditLogActionType,
2923
- es as AuthzApi,
2924
- it as AutomationConfigStep,
2925
- dr as AutomationDialogType,
2926
- st as AutomationProvider,
2927
- ot as AutomationType,
2928
- $e as BIMLayerTypes,
2929
- ut as BadGatewayError,
2930
- gt as BadRequestError,
2931
- Aa as BimCompareWidgetSettingsKeys,
2932
- Se as BimModelType,
2933
- De as BimType,
2934
- Te as BimUploadStatus,
2935
- br as BrainTool,
2936
- we as CameraFeatureFlag,
2937
- Me as CameraModel,
2938
- tt as CameraRegion,
2939
- be as CameraStatus,
2940
- de as ClipsCategory,
2941
- wr as CloudRecordingDuration,
2942
- kr as CloudRecordingFrequency,
2943
- Pr as CloudRecordingStatus,
2944
- Ta as CommentsLabel,
2945
- Sa as CommentsScope,
2946
- Ka as CommonWidgetSettingsKeys,
2947
- _e as CompareStatus,
2948
- dt as ConflictError,
2949
- j as Connector,
2950
- ca as ContactRole,
2951
- Fe as CopilotChatProvider,
2952
- Ge as CopilotLayout,
2953
- Ue as CopilotMessageAuthor,
2954
- Be as CopilotMessageType,
2955
- ve as CopilotMissingFieldComponent,
2956
- ze as CopilotMissingFieldName,
2957
- xe as CopilotMissingFieldType,
2958
- Oe as CopilotMissingFieldsLabels,
2959
- Ve as CopilotProvider,
2960
- Ne as CopilotSocketEvent,
2961
- je as CopilotStepId,
2962
- He as CopilotSuggestion,
2963
- We as CopilotToolId,
2964
- at as CountryCode,
2965
- rt as CountryId,
2966
- Ya as DelayUnit,
2967
- Je as DetectionLabel,
2968
- ba as DetectionModel,
2969
- Z as DownloadFileType,
2970
- Le as DroneUrlParams,
2971
- Re as DuplicatedCameraFields,
2972
- Er as EDistortImageModes,
2973
- Cr as EMapTypes,
2974
- Ar as EMarkers,
2975
- Ir as EPageType,
2976
- yr as EPaths,
2977
- ea as EProjectItems,
2978
- ra as ERoles,
2979
- d as ErrorCode,
2980
- h as ErrorType,
2981
- At as EvercamApi,
2982
- Ze as EvercamApiErrorCode,
2983
- Ct as EvercamLabsApi,
2984
- yt as ExNvrApi,
2985
- ta as ExNvrDeviceState,
2986
- aa as ExNvrFootageAvailableStatus,
2987
- sa as ExNvrMetricId,
2988
- fa as FeedbackContext,
2989
- ht as ForbiddenError,
2990
- Ye as GateReportDataSource,
2991
- qe as GateReportDetectionType,
2992
- Ke as GateReportEventDirection,
2993
- Xe as GateReportEventType,
2994
- Ee as GateReportExportType,
2995
- Ae as GateReportProcessingStatus,
2996
- Ce as GateReportROIShapeType,
2997
- L as GateReportVehicleType,
2998
- ct as GatewayTimeoutError,
2999
- Va as GrafanaMetricId,
3000
- Ie as HddFormat,
3001
- tr as HddSize,
3002
- er as HddState,
3003
- fe as HddStatus,
3004
- ye as HddType,
3005
- xt as HlsError,
3006
- Ma as InfoPage,
3007
- x as IngestApi,
3008
- sr as IngestProcessingStatus,
3009
- m as IngestVersions,
3010
- ke as IntensityChange,
3011
- vt as IntensityChangeColorMap,
3012
- St as InternalServerError,
3013
- Oa as KitAlarm,
3014
- Ha as KitChartType,
3015
- Na as KitMetricId,
4039
+ Qo as AI_APP_CONFIGS,
4040
+ qo as AI_OBSERVATION_FEASIBILITY_CONFIGS,
4041
+ Xo as AI_PROVIDER_CONFIGS,
4042
+ ne as AconexDocumentDataType,
4043
+ le as AconexFormComponentType,
4044
+ pe as AconexIdentifiers,
4045
+ ge as AconexMandatoryStatus,
4046
+ Wt as ActiveUsersMetric,
4047
+ Eo as AdminApi,
4048
+ yo as AiApi,
4049
+ Xt as AiApp,
4050
+ Yt as AiConfigsKeyDialogMode,
4051
+ Jt as AiConfigsPromptDialogMode,
4052
+ Et as AiObservationFeasibilityStatus,
4053
+ At as AiObservationTimeDetection,
4054
+ Kt as AiPromptModel,
4055
+ Ct as AiPromptType,
4056
+ qt as AiProvider,
4057
+ ce as AnalyticsEvent,
4058
+ me as AnalyticsEventPageId,
4059
+ ue as AnprDirection,
4060
+ de as AnprEventStatus,
4061
+ Se as AnprExtractionSaveMode,
4062
+ he as AnprExtractionStatus,
4063
+ yt as AppRuntimeState,
4064
+ lt as AuditLogActionType,
4065
+ gt as AuditLogEntity,
4066
+ is as AuthzApi,
4067
+ xt as AutomationConfigStep,
4068
+ Fr as AutomationDialogType,
4069
+ Vt as AutomationExportFormat,
4070
+ Ot as AutomationProvider,
4071
+ Gt as AutomationType,
4072
+ Nt as AutomationWeatherDataGranularity,
4073
+ Ht as AutomationWeatherReportType,
4074
+ De as BIMLayerTypes,
4075
+ so as BadGatewayError,
4076
+ ro as BadRequestError,
4077
+ Pt as BimCompareWidgetSettingsKeys,
4078
+ Me as BimModelType,
4079
+ Ne as BimType,
4080
+ Re as BimUploadStatus,
4081
+ Vr as BrainTool,
4082
+ ve as CameraFeatureFlag,
4083
+ Ge as CameraModel,
4084
+ vt as CameraRegion,
4085
+ Be as CameraStatus,
4086
+ we as ClipsCategory,
4087
+ xr as CloudRecordingDuration,
4088
+ Vo as CloudRecordingDurationLabel,
4089
+ Nr as CloudRecordingFrequency,
4090
+ Wr as CloudRecordingStatus,
4091
+ Na as CommentsLabel,
4092
+ Va as CommentsScope,
4093
+ Mt as CommonWidgetSettingsKeys,
4094
+ xe as CompareStatus,
4095
+ no as ConflictError,
4096
+ v as Connector,
4097
+ _a as ContactRole,
4098
+ Je as CopilotChatProvider,
4099
+ Ye as CopilotLayout,
4100
+ We as CopilotMessageAuthor,
4101
+ ze as CopilotMessageType,
4102
+ Ce as CopilotMissingFieldComponent,
4103
+ Ee as CopilotMissingFieldName,
4104
+ Ae as CopilotMissingFieldType,
4105
+ Ze as CopilotMissingFieldsLabels,
4106
+ Xe as CopilotProvider,
4107
+ Qe as CopilotSocketEvent,
4108
+ Le as CopilotStepId,
4109
+ qe as CopilotSuggestion,
4110
+ Ke as CopilotToolId,
4111
+ Ft as CountryCode,
4112
+ Bt as CountryId,
4113
+ ft as DelayUnit,
4114
+ sr as DetectionLabel,
4115
+ Wa as DetectionModel,
4116
+ X as DownloadFileType,
4117
+ ye as DroneMarkerType,
4118
+ rr as DroneProvider,
4119
+ Ie as DroneTagType,
4120
+ er as DroneUrlParams,
4121
+ Ve as DuplicatedCameraFields,
4122
+ ma as EDistortImageModes,
4123
+ ca as EMapTypes,
4124
+ ua as EMarkers,
4125
+ ie as EModelsType,
4126
+ da as EPageType,
4127
+ ha as ERoles,
4128
+ k as ErrorCode,
4129
+ $ as ErrorType,
4130
+ ts as EvercamApi,
4131
+ ar as EvercamApiErrorCode,
4132
+ as as EvercamLabsApi,
4133
+ ss as ExNvrApi,
4134
+ ba as ExNvrDeviceState,
4135
+ $a as ExNvrFootageAvailableStatus,
4136
+ ka as ExNvrMetricId,
4137
+ Ka as FeedbackContext,
4138
+ io as ForbiddenError,
4139
+ Ue as ForgeBimDialogTrigger,
4140
+ _e as ForgeBimFileRejectionReason,
4141
+ Pe as ForgeBimUploadMethod,
4142
+ je as ForgeBimUploadStage,
4143
+ nr as GateReportDataSource,
4144
+ tr as GateReportDetectionType,
4145
+ lr as GateReportEventDirection,
4146
+ or as GateReportEventType,
4147
+ gr as GateReportExportType,
4148
+ pr as GateReportProcessingStatus,
4149
+ Q as GateReportVehicleType,
4150
+ oo as GatewayTimeoutError,
4151
+ st as GrafanaMetricId,
4152
+ Oa as HAMMERTECH_FILE_FIELD_TYPES,
4153
+ va as HammertechClassification,
4154
+ Fa as HammertechPriority,
4155
+ Ba as HammertechRegion,
4156
+ mr as HddFormat,
4157
+ Sr as HddSize,
4158
+ ur as HddState,
4159
+ He as HddStatus,
4160
+ cr as HddType,
4161
+ Yo as HlsError,
4162
+ Ya as InfoPage,
4163
+ b as IngestApi,
4164
+ wr as IngestProcessingRunStatus,
4165
+ $r as IngestProcessingStatus,
4166
+ Tr as IngestProcessingStepStatus,
4167
+ m as IngestTypes,
4168
+ kr as IngestVersions,
4169
+ Fe as IntensityChange,
4170
+ Go as IntensityChangeColorMap,
4171
+ lo as InternalServerError,
4172
+ sa as InviteStatus,
4173
+ tt as KitAlarm,
4174
+ it as KitChartType,
4175
+ ot as KitMetricId,
3016
4176
  q as KitMetricPeriod,
3017
- ja as KitRegion,
3018
- Ba as KitStatus,
3019
- Fa as KitStorageTransport,
3020
- Ca as LiveViewWidgetSettingsKeys,
3021
- ir as MapType,
3022
- ce as MediaFileType,
3023
- ue as MediaStatus,
3024
- he as MediaStatusId,
3025
- pe as MediaType,
3026
- or as MobileAssetsType,
3027
- wa as MobileDevice,
3028
- mt as NotFoundError,
3029
- nr as NotificationType,
3030
- gr as NvrDeviceType,
3031
- mr as NvrHddStatus,
3032
- Pe as NvrModel,
3033
- Zt as OnRequestExpiredTokenInterceptor,
3034
- ae as PathMarkerColor,
3035
- Yr as PerformanceStatus,
3036
- ua as Persona,
3037
- zr as PowerSchedule,
3038
- vr as PowerType,
3039
- $a as PpeLabel,
3040
- pr as ProcoreObservationCustomFieldDataType,
3041
- cr as ProcoreObservationDefaultFieldNames,
3042
- hr as ProcoreToolUserAccessLevelIds,
3043
- ur as ProcoreTools,
3044
- lr as ProcoreType,
3045
- Tr as ProjectArchiveTier,
3046
- $r as ProjectFeatureFlag,
3047
- Sr as ProjectStatus,
3048
- It as PtzApi,
3049
- _a as PtzDirection,
3050
- Ea as RecordingsWidgetSettingsKeys,
3051
- _r as RoiDirection,
3052
- Dr as RoiShapeType,
3053
- Rr as RoiType,
3054
- nt as RoleResourceType,
3055
- xr as RouterStatus,
3056
- Qe as SegmentLabel,
3057
- Lr as SharePermission,
3058
- qr as ShareRequestStatus,
3059
- Zr as ShareType,
3060
- Xr as ShareVisibility,
3061
- za as SiteAnalyticsMode,
3062
- La as SmartSearchCondition,
3063
- Xa as SmartSearchOperatorType,
3064
- xa as SmartSearchQueryComponentType,
3065
- Qa as SmartSearchQueryConditionTypes,
3066
- Ja as SmartSearchQueryOperators,
3067
- qa as SmartSearchQueryReturnType,
3068
- Za as SmartSearchQueryTargets,
3069
- Jr as SmsCommands,
3070
- Qr as SmsStatuses,
3071
- Lt as SnapshotError,
3072
- Mr as SnapshotExtractionInterval,
3073
- Wa as SnapshotExtractionStatus,
3074
- va as SnapshotExtractionType,
3075
- Da as TaskStatus,
3076
- ya as ThreeSixtyKeys,
3077
- ia as TimelapseDuration,
3078
- ma as TimelapseExportStep,
3079
- na as TimelapsePeriod,
3080
- la as TimelapseScheduleType,
3081
- oa as TimelapseStatus,
3082
- ga as TimelapseType,
3083
- jr as Timeline360UrlParams,
3084
- Fr as TimelineAnprUrlParams,
3085
- Vr as TimelineBimUrlParams,
3086
- Wr as TimelineCommentsUrlParams,
3087
- Or as TimelineDroneUrlParams,
3088
- Hr as TimelineExNvrRecordingsUrlParams,
3089
- Nr as TimelineMediaUrlParams,
3090
- Gr as TimelineMobileCaptureUrlParams,
3091
- Ra as TimelinePrecision,
3092
- Br as TimelineUrlParam,
3093
- pt as UnauthorizedError,
3094
- ka as UnitSystem,
3095
- Ur as UrlParamValue,
3096
- pa as UserFeatureFlag,
3097
- N as VEHICLE_TYPE_IDS,
3098
- Xt as VideoWallApi,
3099
- ha as VideoWallItemType,
3100
- Ia as VideoWallWidgetSettingsKeys,
3101
- fr as VpnServer,
3102
- ar as WarehouseLocation,
3103
- rr as WarehouseLocationIndex,
3104
- Et as WeatherApi,
3105
- da as WeatherProvider,
3106
- Kr as WebGLExtensions,
3107
- Kt as WebRtcApi,
3108
- et as WidgetType,
3109
- zt as WidgetTypesByResource,
3110
- Ua as ZoomDirection,
3111
- y as _360AssetLabel,
3112
- I as _360AssetType,
3113
- ee as _360Feature,
3114
- re as _360IntergrationType,
3115
- A as _360UrlParams,
3116
- Jt as _3dFirebaseApi,
3117
- Pa as _3dViewer,
4177
+ at as KitRegion,
4178
+ rt as KitStatus,
4179
+ nt as KitStorageTransport,
4180
+ ya as KitSupportCheckId,
4181
+ et as KitSupportCheckStatus,
4182
+ Dt as LiveViewWidgetSettingsKeys,
4183
+ fr as MapType,
4184
+ fe as MediaCategory,
4185
+ be as MediaFileType,
4186
+ ke as MediaStatus,
4187
+ Te as MediaStatusId,
4188
+ $e as MediaType,
4189
+ br as MobileAssetsType,
4190
+ qa as MobileDevice,
4191
+ ao as NotFoundError,
4192
+ Rr as NotificationType,
4193
+ Dr as NvrDeviceType,
4194
+ Pr as NvrHddStatus,
4195
+ Oe as NvrModel,
4196
+ Jo as OBSERVATION_EVENT_STATUS_CONFIGS,
4197
+ La as ObservationCountsGranularity,
4198
+ eo as ObservationEventStatus,
4199
+ za as ObservationMissingItem,
4200
+ Za as ObservationRequiredItem,
4201
+ Co as OnRequestExpiredTokenInterceptor,
4202
+ Qa as Operator,
4203
+ se as PathMarkerColor,
4204
+ la as PerformanceStatus,
4205
+ ja as Persona,
4206
+ pa as PlannerUrlParams,
4207
+ aa as PowerSchedule,
4208
+ ra as PowerType,
4209
+ xa as PpeLabel,
4210
+ _r as ProcoreObservationCustomFieldDataType,
4211
+ jr as ProcoreObservationDefaultFieldNames,
4212
+ Br as ProcoreToolUserAccessLevelIds,
4213
+ Ur as ProcoreTools,
4214
+ Mr as ProcoreType,
4215
+ Or as ProjectArchiveTier,
4216
+ Gr as ProjectFeatureFlag,
4217
+ vr as ProjectStatus,
4218
+ Sa as ProjectStorageProvider,
4219
+ Hr as ProjectStorageStatus,
4220
+ os as PtzApi,
4221
+ Aa as PtzDirection,
4222
+ Zo as RING_AUTO_IMPORT_QUEUED,
4223
+ Rt as RecordingsWidgetSettingsKeys,
4224
+ Xr as RoiDirection,
4225
+ Qr as RoiShapeType,
4226
+ Zr as RoiType,
4227
+ Lt as RoleAssignmentLogAction,
4228
+ zt as RoleResourceType,
4229
+ oa as RouterScanInputMode,
4230
+ ta as RouterStatus,
4231
+ ir as SegmentLabel,
4232
+ ut as SiteAnalyticsMode,
4233
+ wt as SiteAnalyticsViewType,
4234
+ Zt as SiteViewSoftwareType,
4235
+ Qt as SiteViewerType,
4236
+ dt as SmartSearchComponentType,
4237
+ ht as SmartSearchCondition,
4238
+ Tt as SmartSearchConditionTypes,
4239
+ bt as SmartSearchOperatorType,
4240
+ kt as SmartSearchOperators,
4241
+ $t as SmartSearchReturnType,
4242
+ St as SmartSearchTargets,
4243
+ ia as SmsCommands,
4244
+ na as SmsStatuses,
4245
+ Ko as SnapshotError,
4246
+ zr as SnapshotExtractionInterval,
4247
+ pt as SnapshotExtractionStatus,
4248
+ mt as SnapshotExtractionType,
4249
+ ct as SnapshotTransferStatus,
4250
+ Ea as TaskStatus,
4251
+ jt as ThreeSixtyKeys,
4252
+ wa as TimelapseDuration,
4253
+ Da as TimelapseExportStep,
4254
+ Ma as TimelapsePeriod,
4255
+ fa as TimelapseScheduleType,
4256
+ Ta as TimelapseStatus,
4257
+ Ra as TimelapseType,
4258
+ Yr as Timeline360UrlParams,
4259
+ Ir as TimelineAnprUrlParams,
4260
+ Er as TimelineBimUrlParams,
4261
+ ea as TimelineCommentsUrlParams,
4262
+ Kr as TimelineDroneUrlParams,
4263
+ Ar as TimelineExNvrRecordingsUrlParams,
4264
+ Cr as TimelineMediaUrlParams,
4265
+ yr as TimelineMobileCaptureUrlParams,
4266
+ Ca as TimelinePrecision,
4267
+ Jr as TimelineUrlParam,
4268
+ to as UnauthorizedError,
4269
+ Xa as UnitSystem,
4270
+ qr as UrlParamValue,
4271
+ Pa as UserFeatureFlag,
4272
+ Ho as VEHICLE_TYPE_IDS,
4273
+ It as VehicleClassifierSource,
4274
+ Ao as VideoWallApi,
4275
+ Ua as VideoWallItemType,
4276
+ _t as VideoWallWidgetSettingsKeys,
4277
+ Lr as VpnServer,
4278
+ hr as WarehouseLocation,
4279
+ dr as WarehouseLocationIndex,
4280
+ rs as WeatherApi,
4281
+ Ha as WeatherProvider,
4282
+ Ga as WeatherReportScope,
4283
+ ga as WebGLExtensions,
4284
+ es as WebRtcApi,
4285
+ Ut as WidgetType,
4286
+ Wo as WidgetTypesByResource,
4287
+ Ia as ZoomDirection,
4288
+ te as _360AssetLabel,
4289
+ ae as _360AssetType,
4290
+ oe as _360IntergrationType,
4291
+ ee as _360PinType,
4292
+ re as _360UrlParams,
4293
+ Io as _3dFirebaseApi,
4294
+ Ja as _3dViewer,
3118
4295
  a as axios,
3119
- Qt as capitalizeFirstLetter,
3120
- J as ensureCommonHeaders,
3121
- i as getAiApiUrl,
3122
- $ as getFirebaseDbApi,
3123
- Vt as getFirebaseStorageToken,
3124
- Nt as getFirebaseStorageUrl,
3125
- c as getIngestApiUrl,
3126
- u as getLabsBaseUrl,
3127
- X as onError,
3128
- bt as onRequest,
3129
- kt as onResponse,
3130
- Ht as queryStringToObject,
3131
- g as toQueryString
4296
+ Y as ensureCommonHeaders,
4297
+ Z as getAiApiUrl,
4298
+ s as getAiApiUrlV2,
4299
+ l as getFirebaseDbApi,
4300
+ jo as getFirebaseStorageToken,
4301
+ _o as getFirebaseStorageUrl,
4302
+ Uo as getForgeTokenServerUrl,
4303
+ d as getIngestApiUrls,
4304
+ S as getLabsBaseUrl,
4305
+ Lo as isCameraRole,
4306
+ No as isHammertechFileFieldType,
4307
+ xo as isHammertechSignatureWithName,
4308
+ zo as isProjectRole,
4309
+ J as onError,
4310
+ mo as onRequest,
4311
+ co as onResponse,
4312
+ Bo as queryStringToObject,
4313
+ u as toQueryString
3132
4314
  };
3133
4315
  //# sourceMappingURL=index.js.map