@evercam/api 1.0.0-4dd161dd9 → 1.0.0-4e1875453

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 (89) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +201 -13
  3. package/dist/api/api/adminApi.d.ts +101 -94
  4. package/dist/api/api/aiApi.d.ts +99 -86
  5. package/dist/api/api/authzApi.d.ts +31 -15
  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 +132 -101
  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 +105 -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 +279 -27
  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 +154 -0
  19. package/dist/api/types/analytics.d.ts +137 -60
  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 +61 -0
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +37 -3
  25. package/dist/api/types/axios.d.ts +17 -10
  26. package/dist/api/types/bim.d.ts +36 -5
  27. package/dist/api/types/camera.d.ts +100 -99
  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 +4 -5
  32. package/dist/api/types/coolify.d.ts +18 -2
  33. package/dist/api/types/copilot.d.ts +11 -6
  34. package/dist/api/types/credentials.d.ts +1 -0
  35. package/dist/api/types/detections.d.ts +22 -18
  36. package/dist/api/types/drone.d.ts +96 -6
  37. package/dist/api/types/errors.d.ts +11 -0
  38. package/dist/api/types/gateReport.d.ts +50 -158
  39. package/dist/api/types/gateReportManagement.d.ts +175 -0
  40. package/dist/api/types/hdd.d.ts +26 -1
  41. package/dist/api/types/index.d.ts +11 -1
  42. package/dist/api/types/ingest.d.ts +100 -3
  43. package/dist/api/types/kit.d.ts +33 -6
  44. package/dist/api/types/map.d.ts +12 -0
  45. package/dist/api/types/media.d.ts +8 -2
  46. package/dist/api/types/notification.d.ts +32 -2
  47. package/dist/api/types/oauth.d.ts +62 -0
  48. package/dist/api/types/planner.d.ts +101 -1
  49. package/dist/api/types/posthog.d.ts +35 -0
  50. package/dist/api/types/procore.d.ts +13 -6
  51. package/dist/api/types/progressPhoto.d.ts +6 -2
  52. package/dist/api/types/project.d.ts +136 -21
  53. package/dist/api/types/recording.d.ts +9 -12
  54. package/dist/api/types/recycleBin.d.ts +1 -1
  55. package/dist/api/types/ring.d.ts +53 -0
  56. package/dist/api/types/roi.d.ts +4 -3
  57. package/dist/api/types/router.d.ts +20 -1
  58. package/dist/api/types/shared.d.ts +30 -4
  59. package/dist/api/types/shares.d.ts +6 -144
  60. package/dist/api/types/sim.d.ts +6 -6
  61. package/dist/api/types/siteAnalytics.d.ts +171 -47
  62. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  63. package/dist/api/types/siteView.d.ts +73 -0
  64. package/dist/api/types/smartSeach.d.ts +5 -0
  65. package/dist/api/types/snapshots.d.ts +49 -4
  66. package/dist/api/types/storageProvider.d.ts +19 -0
  67. package/dist/api/types/storyblok.d.ts +40 -0
  68. package/dist/api/types/streaming.d.ts +3 -3
  69. package/dist/api/types/tag.d.ts +1 -1
  70. package/dist/api/types/time.d.ts +0 -18
  71. package/dist/api/types/timelapse.d.ts +8 -5
  72. package/dist/api/types/user.d.ts +102 -32
  73. package/dist/api/types/videoWall.d.ts +21 -21
  74. package/dist/api/types/weather.d.ts +75 -11
  75. package/dist/api/types/widget.d.ts +71 -12
  76. package/dist/api/types/xweather.d.ts +4 -4
  77. package/dist/api/utils.d.ts +0 -1
  78. package/dist/index.js +1997 -1046
  79. package/dist/index.js.map +1 -1
  80. package/dist/index.umd.cjs +1 -1
  81. package/dist/index.umd.cjs.map +1 -1
  82. package/dist/shared/types/components.d.ts +146 -16
  83. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  84. package/dist/shared/types/imagePlayer.d.ts +10 -3
  85. package/dist/shared/types/index.d.ts +2 -0
  86. package/dist/shared/types/rbac.d.ts +67 -0
  87. package/dist/shared/types/timeline.d.ts +2 -1
  88. package/package.json +4 -2
  89. package/dist/api/types/storageServers.d.ts +0 -4
package/dist/index.js CHANGED
@@ -1,12 +1,31 @@
1
- var E = Object.defineProperty;
2
- var A = (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) => A(e, typeof r != "symbol" ? r + "" : r, t);
4
- import $ from "axios";
5
- import P from "humps";
6
- var C = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(C || {}), 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.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.DrawingEditName = "EditName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingUpdateName = "UpdateName", e.DrawingUpdateSave = "UpdateSave", 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 = "#FF5252", e.Moderate = "#FBC02D", e.Low = "#006400", e.NoChange = "#3ACF3A", e.Default = "black", e))(ke || {}), Pe = /* @__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))(Pe || {}), we = /* @__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))(we || {}), 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 || {}), Ge = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Ge || {}), Fe = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Fe || {}), ve = /* @__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))(ve || {}), We = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(We || {}), 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 || {}), Ae = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ae || {}), Ce = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ce || {});
7
- const N = Object.values(L);
8
- 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))($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 || {}), Pr = /* @__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))(Pr || {}), wr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(wr || {}), 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 || {}), Gr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Gr || {}), Fr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Fr || {}), vr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(vr || {}), Wr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Wr || {}), 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))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Ar || {}), Cr = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Cr || {}), 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 || {}), Pa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Pa || {}), wa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(wa || {}), 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 || {}), Ga = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Ga || {}), Fa = /* @__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))(Fa || {}), va = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(va || {}), Wa = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(Wa || {}), 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 || {}), Aa = /* @__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))(Aa || {}), Ca = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ca || {}), 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 || {});
9
- const vt = {
1
+ var A = Object.defineProperty;
2
+ var I = (e, r, t) => r in e ? A(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var B = (e, r, t) => I(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import R from "humps";
6
+ var y = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(y || {}), ee = /* @__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))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", 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.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.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.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.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.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.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", 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.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.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.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 || {}), Te = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(Te || {}), 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 || {}), be = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(be || {}), we = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(we || {}), Me = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e.Copilot = "copilot", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(fe || {}), 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 || {}), Pe = /* @__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))(Pe || {}), De = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(De || {}), _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 || {}), Oe = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Oe || {});
7
+ const $o = {
8
+ High: "#FF5252",
9
+ Moderate: "#FBC02D",
10
+ Low: "#006400",
11
+ "No change": "#3ACF3A",
12
+ Default: "black"
13
+ };
14
+ var Fe = /* @__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.Ring = "ring", e.CloudOnly = "cloud_only", e))(Fe || {}), Ne = /* @__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))(Ne || {}), 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 || {}), Ve = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(He || {}), ve = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(ve || {}), We = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(We || {}), xe = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(xe || {}), 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 || {}), Xe = /* @__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))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Qe || {}), 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))(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 || {}), Z = /* @__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))(Z || {}), 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 To = Object.values(Z);
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))($r || {}), Tr = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(Tr || {}), 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 || {}), br = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(br || {}), O = /* @__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.XWeather = "xweather", e))(O || {}), wr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(wr || {}), Mr = /* @__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))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(fr || {}), Rr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(Rr || {}), 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 || {}), Dr = /* @__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))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(_r || {}), jr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(jr || {}), Ur = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Br || {}), Or = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Or || {}), Fr = /* @__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))(Fr || {}), Nr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Nr || {}), Gr = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Gr || {}), Vr = /* @__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))(Vr || {}), Hr = /* @__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))(Hr || {});
17
+ const ko = {
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 vr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(vr || {}), Wr = /* @__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))(Wr || {}), xr = /* @__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))(xr || {}), 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 || {}), Lr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Zr || {}), Xr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Xr || {}), Qr = /* @__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))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(oa || {}), sa = /* @__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))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(ia || {}), na = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(na || {}), la = /* @__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))(la || {}), ga = /* @__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))(ga || {}), pa = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(pa || {}), ma = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(ma || {}), ca = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(ha || {}), Sa = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(Ta || {}), ka = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ka || {}), ba = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(ba || {}), wa = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(wa || {}), Ma = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(Ma || {}), fa = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(fa || {}), Ra = /* @__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))(Ra || {}), Pa = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Pa || {}), 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 || {}), _a = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(_a || {}), ja = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(ja || {}), 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 || {}), Ba = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(Ba || {}), Oa = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Oa || {}), Fa = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Fa || {}), Na = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Ga || {}), Va = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Va || {}), Ha = /* @__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))(Ha || {}), va = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(va || {}), Wa = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(Wa || {}), xa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(xa || {}), za = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(za || {}), La = /* @__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))(La || {}), X = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(X || {}), Za = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(Za || {}), Xa = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ka || {}), Ca = /* @__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))(Ca || {}), Ea = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Ea || {}), 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 || {}), Aa = /* @__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))(Aa || {}), Ia = /* @__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))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(ya || {}), et = /* @__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))(et || {}), rt = /* @__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))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(ot || {}), st = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(st || {}), it = /* @__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))(it || {}), nt = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(gt || {}), pt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(pt || {}), mt = /* @__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))(mt || {}), ct = /* @__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))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(dt || {}), ht = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ht || {}), St = /* @__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))(St || {}), $t = /* @__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))($t || {}), Tt = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Tt || {}), kt = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(kt || {}), bt = /* @__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))(bt || {}), wt = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(wt || {});
28
+ const bo = {
10
29
  camera: [
11
30
  "Live View",
12
31
  "Recordings",
@@ -19,268 +38,322 @@ const vt = {
19
38
  /* ThreeSixty */
20
39
  ]
21
40
  };
22
- 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 || {});
23
- const S = (e) => class extends Error {
41
+ var Mt = /* @__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))(Mt || {}), 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 || {}), Rt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(Rt || {}), Pt = ((e) => (e[e.Aconex = O.Aconex] = "Aconex", e[e.Procore = O.Procore] = "Procore", e[e.Autodesk = O.Autodesk] = "Autodesk", e.Email = "email", e))(Pt || {}), Dt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e))(Dt || {}), _t = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(_t || {}), jt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(jt || {}), Ut = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(Ut || {});
42
+ function wo(e) {
43
+ return e.resourceType === "project";
44
+ }
45
+ function Mo(e) {
46
+ return e.resourceType === "camera";
47
+ }
48
+ var Bt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(Bt || {}), Ot = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Ot || {}), Ft = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(Ft || {}), Nt = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(Nt || {}), Gt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e))(Gt || {}), Vt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Vt || {});
49
+ const fo = {
50
+ gate_report: {
51
+ bg: "#ecfdf5",
52
+ fg: "#047857",
53
+ border: "#a7f3d0",
54
+ icon: "fa-truck"
55
+ },
56
+ ppe: {
57
+ bg: "#fff7ed",
58
+ fg: "#c2410c",
59
+ border: "#fed7aa",
60
+ icon: "fa-helmet-safety"
61
+ },
62
+ site_analytics: {
63
+ bg: "#eff6ff",
64
+ fg: "#1d4ed8",
65
+ border: "#bfdbfe",
66
+ icon: "fa-chart-simple"
67
+ },
68
+ generic: {
69
+ bg: "#f1f5f9",
70
+ fg: "#334155",
71
+ border: "#cbd5e1",
72
+ icon: "fa-cube"
73
+ }
74
+ }, Ro = {
75
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
76
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
77
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
78
+ };
79
+ var Ht = /* @__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))(Ht || {}), vt = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(vt || {}), Wt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(Wt || {});
80
+ const b = (e) => class extends Error {
24
81
  constructor(r) {
25
82
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
26
83
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
27
84
  }
28
- }, nt = S(h.BadRequestError), gt = S(h.NotFoundError), mt = S(h.UnauthorizedError), pt = S(
29
- h.GatewayTimeoutError
30
- ), ct = S(h.BadGatewayError), ut = S(h.ForbiddenError), Wt = S(h.HlsError), zt = S(h.SnapshotError), ht = S(h.ConflictError), dt = S(
31
- h.InternalServerError
85
+ }, xt = b($.BadRequestError), zt = b($.NotFoundError), Lt = b($.UnauthorizedError), Zt = b(
86
+ $.GatewayTimeoutError
87
+ ), Xt = b($.BadGatewayError), Qt = b($.ForbiddenError), Po = b($.HlsError), Do = b($.SnapshotError), qt = b($.ConflictError), Jt = b(
88
+ $.InternalServerError
32
89
  );
33
- let V = 0;
34
- const St = 10, Tt = async () => {
35
- for (; V === St; )
90
+ let N = 0;
91
+ const Yt = 10, Kt = async () => {
92
+ for (; N === Yt; )
36
93
  await new Promise((e) => setTimeout(e, 1e3));
37
- V++, setTimeout(() => {
38
- V--;
94
+ N++, setTimeout(() => {
95
+ N--;
39
96
  }, 1e3);
40
- }, $t = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await Tt(), Pt(e, r), kt(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 || wt(e)), e), bt = (e) => {
41
- var t, s, o, l, n;
97
+ }, Ct = async (e, r) => {
98
+ var t;
99
+ if (e != null && e.raw)
100
+ return e;
101
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await Kt(), It(e, r), e != null && e.skipAuth ? eo(e) : At(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))) {
102
+ const o = e.headers.common;
103
+ o["iframe-origin"] = new URL(document.referrer).origin;
104
+ }
105
+ return e.preserveCasing || yt(e), e;
106
+ }, Et = (e) => {
107
+ var t, o, i, g, p;
42
108
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
43
109
  return e;
44
110
  if ("data" in e) {
45
111
  if (e.data instanceof Blob)
46
112
  return e.data;
47
113
  } else return e;
48
- const r = (s = e == null ? void 0 : e.config) != null && s.preserveCasing ? e.data : P.camelizeKeys(e.data);
49
- 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)) {
50
- const p = performance.now() - e.config._metadata.startTime;
114
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : R.camelizeKeys(e.data);
115
+ 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)) {
116
+ const d = performance.now() - e.config._metadata.startTime;
51
117
  return {
52
118
  ...e,
53
119
  data: r,
54
- duration: p
120
+ duration: d
55
121
  };
56
122
  }
57
123
  return r;
58
- }, X = async (e, r) => {
59
- var M, _, U, k, G, F, v;
60
- 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)) {
61
- const K = performance.now() - e.config._metadata.startTime;
62
- return { error: e, duration: K };
124
+ }, q = async (e, r) => {
125
+ var D, j, U, f, V, H, v;
126
+ if ((D = e == null ? void 0 : e.config) != null && D.timing && ((U = (j = e == null ? void 0 : e.config) == null ? void 0 : j._metadata) != null && U.startTime)) {
127
+ const E = performance.now() - e.config._metadata.startTime;
128
+ return { error: e, duration: E };
63
129
  }
64
- const t = e.response ? e.response.status : null, s = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), o = (G = e.config) == null ? void 0 : G.url, l = ((v = (F = e == null ? void 0 : e.response) == null ? void 0 : F.data) == null ? void 0 : v.code) || "";
65
- let n = {}, p = e.message;
66
- switch (o && s && t && (p = `${s} ${o} (${t}) ${l}`.trim()), t) {
67
- case d.BadRequestError:
68
- n = new nt(new Error(p));
130
+ const t = e.response ? e.response.status : null, o = (((f = e.config) == null ? void 0 : f.method) || "").toUpperCase(), i = (V = e.config) == null ? void 0 : V.url, g = ((v = (H = e == null ? void 0 : e.response) == null ? void 0 : H.data) == null ? void 0 : v.code) || "";
131
+ let p = {}, d = e.message;
132
+ switch (i && o && t && (d = `${o} ${i} (${t}) ${g}`.trim()), t) {
133
+ case k.BadRequestError:
134
+ p = new xt(new Error(d));
69
135
  break;
70
- case d.UnauthorizedError:
71
- n = new mt(new Error(p));
136
+ case k.UnauthorizedError:
137
+ p = new Lt(new Error(d));
72
138
  break;
73
- case d.ForbiddenError:
74
- n = new ut(new Error(p));
139
+ case k.ForbiddenError:
140
+ p = new Qt(new Error(d));
75
141
  break;
76
- case d.NotFoundError:
77
- n = new gt(new Error(p));
142
+ case k.NotFoundError:
143
+ p = new zt(new Error(d));
78
144
  break;
79
- case d.ConflictError:
80
- n = new ht(new Error(p));
145
+ case k.ConflictError:
146
+ p = new qt(new Error(d));
81
147
  break;
82
- case d.InternalServerError:
83
- n = new dt(new Error(p));
148
+ case k.InternalServerError:
149
+ p = new Jt(new Error(d));
84
150
  break;
85
- case d.BadGatewayError:
86
- n = new ct(new Error(p));
151
+ case k.BadGatewayError:
152
+ p = new Xt(new Error(d));
87
153
  break;
88
- case d.GatewayTimeoutError:
89
- n = new pt(new Error(p));
154
+ case k.GatewayTimeoutError:
155
+ p = new Zt(new Error(d));
90
156
  break;
91
157
  case null:
92
158
  // null case
93
159
  case 0:
94
- n = new Error(
160
+ p = new Error(
95
161
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
96
162
  );
97
163
  break;
98
164
  }
99
- if ($.isCancel(e) || t === d.NotFoundError)
100
- return Promise.reject(n);
165
+ if (w.isCancel(e) || t === k.NotFoundError)
166
+ return Promise.reject(p);
101
167
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
102
- const D = r.errorLogger;
103
- return o && D && D({
168
+ const M = r.errorLogger;
169
+ return i && M && M({
104
170
  // @ts-expect-error axios issue
105
171
  category: "axios.info",
106
172
  data: {
107
- url: `Error in URL: ${o}`,
173
+ url: `Error in URL: ${i}`,
108
174
  status: t
109
175
  }
110
- }), Promise.reject(n);
176
+ }), Promise.reject(p);
111
177
  }, J = (e) => {
112
178
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
113
179
  };
114
- function kt(e, r) {
115
- var s;
116
- const t = (s = r == null ? void 0 : r.getAuthToken) == null ? void 0 : s.call(r);
180
+ function At(e, r) {
181
+ var o;
182
+ const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
117
183
  t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
118
184
  }
119
- function Pt(e, r) {
185
+ function It(e, r) {
120
186
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
121
187
  }
122
- function wt(e) {
123
- let r = {}, { data: t, params: s } = e;
188
+ function yt(e) {
189
+ let r = {}, { data: t, params: o } = e;
124
190
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
125
- (o, l) => ({
126
- ...o,
127
- [l]: t[l]
191
+ (i, g) => ({
192
+ ...i,
193
+ [g]: t[g]
128
194
  }),
129
195
  {}
130
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = P.decamelizeKeys(t) : t = { ...P.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
131
- let o = new FormData();
132
- for (const [l, n] of t.entries())
133
- o.append(P.decamelize(l), n);
134
- t = o;
196
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = R.decamelizeKeys(t) : t = { ...R.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
197
+ let i = new FormData();
198
+ for (const [g, p] of t.entries())
199
+ i.append(R.decamelize(g), p);
200
+ t = i;
135
201
  }
136
- s && !(s instanceof Blob) && (s = P.decamelizeKeys(s)), e.data = t, e.params = s;
202
+ o && !(o instanceof Blob) && (o = R.decamelizeKeys(o)), e.data = t, e.params = o;
137
203
  }
138
- const xt = async (e, r, t) => {
204
+ const _o = async (e, r, t) => {
139
205
  if (r())
140
- throw await t(), new $.Cancel("Request canceled due to expired token");
206
+ throw await t(), new w.Cancel("Request canceled due to expired token");
141
207
  return e;
142
208
  };
143
- function R(e) {
209
+ function eo(e) {
210
+ if (!e.headers)
211
+ return;
212
+ const r = e.headers;
213
+ delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
214
+ }
215
+ function _(e) {
144
216
  return new Promise((r, t) => {
145
217
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
146
218
  });
147
219
  }
148
- function Mt(e, r) {
220
+ function ro(e, r) {
149
221
  let t;
150
- const s = () => {
222
+ const o = () => {
151
223
  if (t)
152
224
  return t;
153
- const o = indexedDB.open(e);
154
- return o.onupgradeneeded = () => o.result.createObjectStore(r), t = R(o), t.then((l) => {
155
- l.onclose = () => t = void 0;
225
+ const i = indexedDB.open(e);
226
+ return i.onupgradeneeded = () => i.result.createObjectStore(r), t = _(i), t.then((g) => {
227
+ g.onclose = () => t = void 0;
156
228
  }, () => {
229
+ t = void 0;
157
230
  }), t;
158
231
  };
159
- return (o, l) => s().then((n) => l(n.transaction(r, o).objectStore(r)));
232
+ return (i, g) => o().then((p) => g(p.transaction(r, i).objectStore(r)));
160
233
  }
161
- let H;
162
- function O() {
163
- return H || (H = Mt("keyval-store", "keyval")), H;
234
+ let G;
235
+ function F() {
236
+ return G || (G = ro("keyval-store", "keyval")), G;
164
237
  }
165
- function ft(e, r = O()) {
166
- return r("readonly", (t) => R(t.get(e)));
238
+ function ao(e, r = F()) {
239
+ return r("readonly", (t) => _(t.get(e)));
167
240
  }
168
- function Rt(e, r, t = O()) {
169
- return t("readwrite", (s) => (s.put(r, e), R(s.transaction)));
241
+ function to(e, r, t = F()) {
242
+ return t("readwrite", (o) => (o.put(r, e), _(o.transaction)));
170
243
  }
171
- function Dt(e, r = O()) {
172
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
244
+ function oo(e, r = F()) {
245
+ return r("readwrite", (t) => (t.delete(e), _(t.transaction)));
173
246
  }
174
- function _t(e = O()) {
175
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
247
+ function so(e = F()) {
248
+ return e("readwrite", (r) => (r.clear(), _(r.transaction)));
176
249
  }
177
- class Ut {
250
+ class io {
178
251
  constructor(r) {
179
252
  B(this, "prefix");
180
253
  this.prefix = r;
181
254
  }
182
255
  generateKey(r) {
183
- var o, l;
184
- const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(o = r.url) == null ? void 0 : o.replace(/^\//, "")}` : r.url;
185
- let s = "";
256
+ var i, g;
257
+ const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
258
+ let o = "";
186
259
  if (r.params) {
187
- const n = Object.keys(r.params).sort().reduce((p, b) => (p[b] = r.params[b], p), {});
188
- s = JSON.stringify(n);
260
+ const p = Object.keys(r.params).sort().reduce((d, h) => (d[h] = r.params[h], d), {});
261
+ o = JSON.stringify(p);
189
262
  }
190
- return `${this.prefix}:${((l = r.method) == null ? void 0 : l.toUpperCase()) || "GET"}:${t}?${s}`;
263
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
191
264
  }
192
265
  async get(r) {
193
266
  let t;
194
267
  try {
195
- if (t = await ft(r), t === void 0)
268
+ if (t = await ao(r), t === void 0)
196
269
  return;
197
- } catch (s) {
198
- console.error(`[SWR Store]: Error getting value for key "${r}"`, s);
270
+ } catch (o) {
271
+ console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
199
272
  return;
200
273
  }
201
274
  try {
202
275
  t = JSON.parse(t);
203
- } catch (s) {
276
+ } catch (o) {
204
277
  console.error(
205
278
  `[SWR Store]: Error parsing value for key "${r}", got ${t}`,
206
- s
279
+ o
207
280
  );
208
281
  }
209
282
  return t;
210
283
  }
211
284
  async set(r, t) {
212
285
  try {
213
- const s = JSON.stringify(t);
214
- await Rt(r, s);
215
- } catch (s) {
286
+ const o = JSON.stringify(t);
287
+ await to(r, o);
288
+ } catch (o) {
216
289
  console.error(
217
290
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
218
- s
291
+ o
219
292
  );
220
293
  }
221
294
  }
222
295
  async delete(r) {
223
296
  try {
224
- await Dt(r);
297
+ await oo(r);
225
298
  } catch (t) {
226
299
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
227
300
  }
228
301
  }
229
302
  async clear() {
230
303
  try {
231
- await _t();
304
+ await so();
232
305
  } catch (r) {
233
306
  console.error("[SWR Store]: Error clearing cache", r);
234
307
  }
235
308
  }
236
309
  }
237
- class Q {
310
+ class Y {
238
311
  constructor({
239
312
  key: r,
240
313
  axiosInstance: t
241
314
  }) {
242
315
  B(this, "axiosInstance");
243
316
  B(this, "store");
244
- this.store = new Ut(r), this.axiosInstance = t;
317
+ this.store = new io(r), this.axiosInstance = t;
245
318
  }
246
319
  async get(r, t = {}) {
247
- const s = {
320
+ const o = {
248
321
  ...t,
249
322
  method: "get",
250
323
  url: r
251
- }, o = this.store.generateKey(s), l = this.getCachedValue(o, s), n = this.getFreshValue(o, s);
324
+ }, i = this.store.generateKey(o), g = this.getCachedValue(i, o), p = this.getFreshValue(i, o);
252
325
  return Promise.race([
253
- l.then((p) => p != null ? p : n),
254
- n
326
+ g.then((d) => d != null ? d : p),
327
+ p
255
328
  ]);
256
329
  }
257
330
  async getCachedValue(r, t) {
258
331
  try {
259
- const s = await this.store.get(r);
260
- return s ? (t.onSwrHit && t.onSwrHit(s), s) : void 0;
261
- } catch (s) {
262
- console.warn(`[SWR] Error fetching value for key: ${r}`, s);
332
+ const o = await this.store.get(r);
333
+ return o ? (t.onSwrHit && t.onSwrHit(o), o) : void 0;
334
+ } catch (o) {
335
+ console.warn(`[SWR] Error fetching value for key: ${r}`, o);
263
336
  }
264
337
  }
265
338
  async getFreshValue(r, t) {
266
- var s;
339
+ var o;
267
340
  try {
268
- const o = await this.axiosInstance.request(
341
+ const i = await this.axiosInstance.request(
269
342
  t
270
- ), l = (s = o == null ? void 0 : o.data) != null ? s : o;
271
- return this.store.set(r, l).catch((n) => {
272
- console.warn(`[SWR] Failed to write to cache: ${r}`, n);
273
- }), t.onSwrRefresh && t.onSwrRefresh(l), l;
274
- } catch (o) {
275
- throw console.warn(`[SWR] Request failed: ${t.url}`, o), t.onSwrError && t.onSwrError(o), o;
343
+ ), g = (o = i == null ? void 0 : i.data) != null ? o : i;
344
+ return this.store.set(r, g).catch((p) => {
345
+ console.warn(`[SWR] Failed to write to cache: ${r}`, p);
346
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
347
+ } catch (i) {
348
+ throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
276
349
  }
277
350
  }
278
351
  async clear() {
279
352
  await this.store.clear();
280
353
  }
281
354
  }
282
- let W = [], z = [], w = [];
283
- const a = $.create({
355
+ let W = [], x = [], P = [];
356
+ const a = w.create({
284
357
  headers: {
285
358
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
286
359
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -298,66 +371,74 @@ a.addEnvironmentVariables = (e) => {
298
371
  );
299
372
  });
300
373
  };
301
- a.swr = new Q({
374
+ a.swr = new Y({
302
375
  key: a.env.swrKey || "swr",
303
376
  axiosInstance: a
304
377
  });
305
- const Bt = a.get.bind(a);
306
- a.swr = new Q({
378
+ const no = a.get.bind(a);
379
+ a.swr = new Y({
307
380
  key: a.env.swrKey || "swr",
308
381
  axiosInstance: a
309
382
  });
310
383
  a.get = function(...e) {
311
- return (e[1] || {}).swr ? this.swr.get(...e) : Bt(...e);
384
+ return (e[1] || {}).swr ? this.swr.get(...e) : no(...e);
312
385
  };
313
386
  a.addRequestInterceptor = (e, r) => {
314
- W.push(e), r && !w.includes(r) && w.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
387
+ W.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
315
388
  async (t) => {
316
- for (const s of W)
317
- t = await s(t, a.env);
389
+ for (const o of W)
390
+ t = await o(t, a.env);
318
391
  return t;
319
392
  },
320
393
  (t) => {
321
- for (const s of w)
322
- s(t, a.env);
394
+ for (const o of P)
395
+ o(t, a.env);
323
396
  }
324
397
  );
325
398
  };
326
399
  a.addResponseInterceptor = (e, r) => {
327
- z.push(e), r && !w.includes(r) && w.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
400
+ x.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
328
401
  async (t) => {
329
- for (const s of z)
330
- t = await s(t, a.env);
402
+ for (const o of x)
403
+ t = await o(t, a.env);
331
404
  return t;
332
405
  },
333
406
  (t) => {
334
- for (const s of w)
335
- s(t, a.env);
407
+ for (const o of P)
408
+ o(t, a.env);
336
409
  return Promise.reject(t);
337
410
  }
338
411
  );
339
412
  };
340
- a.addRequestInterceptor($t, X);
341
- a.addResponseInterceptor(bt, X);
342
- const Y = (e, r) => {
413
+ a.addRequestInterceptor(Ct, q);
414
+ a.addResponseInterceptor(Et, q);
415
+ const K = (e, r) => {
343
416
  J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
344
- }, jt = (e) => {
345
- Y("Authorization", e ? `Bearer ${e}` : null);
346
- };
347
- a.CancelToken = $.CancelToken;
348
- a.isCancel = $.isCancel;
349
- a.setHeader = Y;
350
- a.setToken = jt;
351
- let f = [];
352
- a.generateCancelTokenSource = () => a.CancelToken.source();
353
- a.addCancelToken = (e) => f = [e, ...f];
354
- a.resetCancelTokens = () => f = [];
355
- a.cancelRequests = () => {
356
- f.length && (f.forEach((e) => {
357
- e.cancel("Operation canceled due to new request");
358
- }), a.resetCancelTokens());
417
+ }, lo = (e) => {
418
+ K("Authorization", e ? `Bearer ${e}` : null);
359
419
  };
360
- const Lt = {
420
+ a.CancelToken = w.CancelToken;
421
+ a.isCancel = w.isCancel;
422
+ a.setHeader = K;
423
+ a.setToken = lo;
424
+ const z = "Operation canceled due to new request";
425
+ function C() {
426
+ const e = /* @__PURE__ */ new Map();
427
+ return {
428
+ createToken(r) {
429
+ var o;
430
+ (o = e.get(r)) == null || o.cancel(z);
431
+ const t = a.CancelToken.source();
432
+ return e.set(r, t), t.token;
433
+ },
434
+ cancelAll() {
435
+ e.forEach((r) => r.cancel(z)), e.clear();
436
+ }
437
+ };
438
+ }
439
+ a.createRequestManager = C;
440
+ a.requestManager = C();
441
+ const jo = {
361
442
  mediaHub: {
362
443
  getAllMedia(e) {
363
444
  return a.get("/admin/media-hub", e);
@@ -381,8 +462,17 @@ const Lt = {
381
462
  focusCamera(e, r) {
382
463
  return a.post(`/admin/devices/${r}/${e}/focus`);
383
464
  },
384
- getStorageServers() {
385
- return a.get("/admin/storage/servers");
465
+ getStorageProviders(e, r) {
466
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
467
+ },
468
+ createStorageProvider(e, r) {
469
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
470
+ },
471
+ updateStorageProvider(e, r, t) {
472
+ return a.put(
473
+ `/admin/cameras/${e}/storage-providers/${r}`,
474
+ t
475
+ );
386
476
  },
387
477
  getStorageDetails() {
388
478
  return a.get("/admin/storage");
@@ -420,6 +510,9 @@ const Lt = {
420
510
  getCameraDetails(e) {
421
511
  return a.get(`/admin/cameras/${e}`);
422
512
  },
513
+ getCameraStatusLogs(e, r) {
514
+ return a.get(`/admin/cameras/${e}/health`, r);
515
+ },
423
516
  deleteSnapshots(e, r) {
424
517
  return a.delete(`admin/cameras/${e}/snapshots`, {
425
518
  params: r
@@ -452,7 +545,7 @@ const Lt = {
452
545
  }
453
546
  },
454
547
  companies: {
455
- show(e, r) {
548
+ show(e, r = {}) {
456
549
  return a.get(`/admin/companies/${e}`, r);
457
550
  },
458
551
  getCompanyUsers(e, r) {
@@ -475,9 +568,6 @@ const Lt = {
475
568
  },
476
569
  deleteCompany(e) {
477
570
  return a.delete("/admin/companies", { params: e });
478
- },
479
- reSyncCompanies(e) {
480
- return a.post("/admin/companies/resync", e);
481
571
  }
482
572
  },
483
573
  sso: {
@@ -494,6 +584,26 @@ const Lt = {
494
584
  return a.delete("/admin/sso-providers", { params: { ids: e } });
495
585
  }
496
586
  },
587
+ oauthClients: {
588
+ index() {
589
+ return a.get("/admin/oauth/clients");
590
+ },
591
+ show(e) {
592
+ return a.get(`/admin/oauth/clients/${e}`);
593
+ },
594
+ create(e) {
595
+ return a.post("/admin/oauth/clients", e);
596
+ },
597
+ update(e, r) {
598
+ return a.patch(`/admin/oauth/clients/${e}`, r);
599
+ },
600
+ delete(e) {
601
+ return a.delete(`/admin/oauth/clients/${e}`);
602
+ },
603
+ regenerateSecret(e) {
604
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
605
+ }
606
+ },
497
607
  emailing: {
498
608
  performEmailing(e, r) {
499
609
  return a.post(`/admin/mailing/${e}`, r);
@@ -512,14 +622,6 @@ const Lt = {
512
622
  addExtraction(e, r) {
513
623
  return a.post(`admin/cameras/${e}/extractions`, r);
514
624
  },
515
- getExtractionStatus(e, r, t) {
516
- return a.get(
517
- `admin/cameras/${e}/extractions/${r}`,
518
- {
519
- params: t
520
- }
521
- );
522
- },
523
625
  deleteSnapshotExtraction(e, r, t) {
524
626
  return a.delete(
525
627
  `admin/cameras/${e}/extractions/${r}`,
@@ -527,6 +629,30 @@ const Lt = {
527
629
  params: t
528
630
  }
529
631
  );
632
+ },
633
+ getExtraction(e, r) {
634
+ return a.get(
635
+ `admin/cameras/${e}/extractions/${r}`
636
+ );
637
+ },
638
+ reprocessExtraction(e, r) {
639
+ return a.post(
640
+ `admin/cameras/${e}/extractions/${r}/reprocess`
641
+ );
642
+ }
643
+ },
644
+ anprExtractions: {
645
+ list(e) {
646
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
647
+ },
648
+ create(e, r) {
649
+ return a.post(
650
+ `/admin/cameras/${e}/anpr/extractions`,
651
+ r
652
+ );
653
+ },
654
+ delete(e, r) {
655
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
530
656
  }
531
657
  },
532
658
  kits: {
@@ -549,12 +675,12 @@ const Lt = {
549
675
  kitId: e,
550
676
  metric: r,
551
677
  fromDate: t,
552
- toDate: s
678
+ toDate: o
553
679
  }) {
554
680
  return a.get(`/admin/kits/${e}/stats/${r}`, {
555
681
  params: {
556
682
  fromDate: t,
557
- toDate: s
683
+ toDate: o
558
684
  }
559
685
  });
560
686
  },
@@ -572,6 +698,15 @@ const Lt = {
572
698
  },
573
699
  getAlarms(e) {
574
700
  return a.get(`/admin/kits/${e}/alarms`);
701
+ },
702
+ getBoxes(e) {
703
+ return a.get("/admin/kit-boxes", e);
704
+ },
705
+ createBox(e) {
706
+ return a.post("/admin/kit-boxes", e);
707
+ },
708
+ updateBox(e, r) {
709
+ return a.patch(`/admin/kit-boxes/${e}`, r);
575
710
  }
576
711
  },
577
712
  logs: {
@@ -579,7 +714,9 @@ const Lt = {
579
714
  return a.get("/admin/cameras-logs", e);
580
715
  },
581
716
  getCameraLogs(e, r) {
582
- return a.get(`/admin/cameras/${e}/audit-logs`, r);
717
+ return a.get(`/admin/cameras/${e}/audit-logs`, {
718
+ params: r
719
+ });
583
720
  },
584
721
  togglePinNote(e) {
585
722
  return a.patch(`/admin/audit-logs/${e}/toggle-pin`);
@@ -647,6 +784,12 @@ const Lt = {
647
784
  },
648
785
  addToProject(e, r) {
649
786
  return a.post(`/admin/projects/${e}/add-cameras`, r);
787
+ },
788
+ getProjectStorages(e) {
789
+ return a.get("/admin/projects/storages", e);
790
+ },
791
+ retryProjectStorage(e) {
792
+ return a.post(`/admin/projects/storages/${e}/retry`);
650
793
  }
651
794
  },
652
795
  routers: {
@@ -700,26 +843,9 @@ const Lt = {
700
843
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
701
844
  }
702
845
  },
703
- shareRequests: {
704
- getShareRequests(e) {
705
- return a.get("/admin/camera-share-requests", e);
706
- },
707
- deleteShareRequest(e) {
708
- return a.delete("/admin/camera-share-requests", { params: e });
709
- },
710
- updateShareRequestStatus(e) {
711
- return a.patch("/admin/camera-share-requests", e);
712
- }
713
- },
714
846
  shares: {
715
- createShares(e, r) {
716
- return a.post(`/admin/cameras/${e}/shares`, r);
717
- },
718
- getShares(e) {
719
- return a.get("/admin/camera-shares", e);
720
- },
721
- deleteShares(e) {
722
- return a.delete("/admin/camera-shares", { params: e });
847
+ getInvites(e) {
848
+ return a.get("/admin/invites", e);
723
849
  }
724
850
  },
725
851
  sims: {
@@ -805,7 +931,7 @@ const Lt = {
805
931
  getUsers(e) {
806
932
  return a.get("/admin/users", e);
807
933
  },
808
- show(e, r) {
934
+ show(e, r = {}) {
809
935
  return a.get(
810
936
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
811
937
  );
@@ -846,8 +972,16 @@ const Lt = {
846
972
  index(e) {
847
973
  return a.get("/admin/comments", e);
848
974
  }
975
+ },
976
+ snapshotTransfers: {
977
+ index(e) {
978
+ return a.get("/admin/snapshot-transfers", e);
979
+ },
980
+ cancel(e) {
981
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
982
+ }
849
983
  }
850
- }, Zt = {
984
+ }, Uo = {
851
985
  list(e = {}) {
852
986
  return a.get("/video-walls", { params: e });
853
987
  },
@@ -869,376 +1003,843 @@ const Lt = {
869
1003
  delete(e) {
870
1004
  return a.delete(`/video-walls/${e}`);
871
1005
  }
872
- }, T = () => a.env.firebaseDbLink, Ot = () => a.env.firebaseStorageUrl, Nt = () => a.env.firebaseStorageToken, qt = {
1006
+ }, n = () => a.env.firebaseDbLink, go = () => a.env.firebaseStorageUrl, po = () => a.env.firebaseStorageToken, mo = () => a.env.forgeTokenServerUrl, s = { skipAuth: !0, preserveCasing: !0 }, Bo = {
873
1007
  drone: {
874
1008
  getProjectInfo(e) {
875
- return fetch(
876
- `${T()}data/projects/cesium/${e}.json`
877
- ).then((r) => r.json());
1009
+ return a.get(
1010
+ `${n()}data/projects/cesium/${e}.json`,
1011
+ s
1012
+ );
878
1013
  },
879
1014
  getProjectTags(e) {
880
- return fetch(
881
- `${T()}cesium/${e}/transform/tags.json`
882
- ).then((r) => r.json());
883
- }
884
- },
885
- _360: {
886
- getProjectInfo(e) {
887
- return fetch(
888
- `${T()}data/projects/360/${e}.json`
889
- ).then((r) => r.json());
890
- },
891
- updateFloor(e, r, t, s) {
892
- return fetch(
893
- `${T()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
894
- {
895
- method: "PATCH",
896
- body: JSON.stringify(s)
897
- }
898
- ).then((o) => o.json());
899
- },
900
- updateRoute(e, r, t, s) {
901
- return fetch(
902
- `${T()}360/${e}/${r}/${t}/route.json`,
903
- {
904
- method: "PATCH",
905
- body: JSON.stringify(s)
906
- }
907
- ).then((o) => o.json());
908
- },
909
- async updateFeatureFlag(e, r, t, s, o) {
910
- return fetch(
911
- `${T()}360/${e}/${r}/${t}/${s}.json`,
912
- {
913
- method: "PUT",
914
- body: JSON.stringify(o)
915
- }
916
- ).then((l) => l.json());
917
- },
918
- async saveSteps(e, r, t, s) {
919
- return fetch(
920
- `${T()}360/${e}/${r}/${t}/steps.json`,
921
- {
922
- method: "PUT",
923
- body: JSON.stringify(s)
924
- }
925
- ).then((o) => o.json());
926
- },
927
- updateGPXFile(e, r, t, s) {
928
- const o = new Blob([s], { type: "application/gpx+xml" }), l = new FormData();
929
- return l.append("gpxFile", o, "updated-track.gpx"), fetch(
930
- `${Ot() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Nt()}`,
931
- {
932
- method: "POST",
933
- body: l
934
- }
935
- );
936
- }
937
- },
938
- forge: {
939
- async getProjectInfo(e) {
940
- return fetch(
941
- `${T()}data/projects/forge/${e}.json`
942
- ).then((r) => r.json());
943
- }
944
- }
945
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
946
- if (Object.keys(e).length === 0)
947
- return;
948
- let s = { ...e };
949
- return r && (s = P.decamelizeKeys(e)), Object.entries(s).reduce((o, [l, n], p) => {
950
- let b = "";
951
- return ["", null, void 0].includes(n) || Array.isArray(n) && n.length === 0 ? o : (n && typeof n == "object" ? b = Object.entries(n).reduce((D, [M, _], U) => {
952
- let k = l;
953
- return isNaN(Number.parseInt(M)) ? k = `${l}[${M}]` : Array.isArray(n) && t && (k = `${l}[]`), `${D}${U > 0 ? "&" : ""}${k}=${encodeURIComponent(_)}`;
954
- }, "") : b = `${l}=${encodeURIComponent(
955
- n
956
- )}`, `${o}${p > 0 ? "&" : ""}${b}`);
957
- }, "");
958
- };
959
- function Vt(e = "") {
960
- return [
961
- ...new URLSearchParams(
962
- e.indexOf("#") > -1 ? e.split("#")[0] : e
963
- ).entries()
964
- ].filter(([, t]) => t).reduce((t, [s, o]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: o } : t[s] ? {
965
- ...t,
966
- [s]: [...t[s], o]
967
- } : { ...t, [s]: [o] }, {});
968
- }
969
- function Xt(e) {
970
- return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
971
- }
972
- const i = () => a.env.aiApiUrl, Jt = {
973
- analyticsParameters: {
974
- getParameters(e, r = {}) {
975
1015
  return a.get(
976
- `${i()}/cameras/${e}/analytics-parameters`,
977
- {
978
- params: r
979
- }
1016
+ `${n()}data/projects/cesium/${e}/transform/tags.json`,
1017
+ s
980
1018
  );
981
1019
  },
982
- createParameters(e) {
983
- return a.post(`${i()}/cameras/analytics-parameters`, e);
984
- },
985
- updateParameters({
986
- updatedBy: e,
987
- id: r,
988
- ...t
1020
+ patchTags({
1021
+ projectId: e,
1022
+ tags: r
989
1023
  }) {
990
1024
  return a.patch(
991
- `${i()}/cameras/analytics-parameters/${r}?${g({
992
- updatedBy: e
993
- })}`,
994
- t
995
- );
996
- }
997
- },
998
- anpr: {
999
- exportAnprLegacyEvents(e, r) {
1000
- return a({
1001
- url: `${i()}/projects/${e}/anpr/export?${g(
1002
- r
1003
- )}`,
1004
- method: "GET",
1005
- responseType: "blob"
1006
- });
1007
- },
1008
- getAnprEvents(e, r, t = {}) {
1009
- return a.get(
1010
- `${i()}/projects/${e}/anpr?${g(
1011
- r
1012
- )}`,
1013
- t
1025
+ `${n()}data/projects/cesium/${e}/transform/tags.json`,
1026
+ r,
1027
+ s
1014
1028
  );
1015
1029
  },
1016
- getAnprCounts(e, r, t) {
1017
- return a.get(
1018
- `${i()}/projects/${e}/anpr/counts?${g(
1019
- r
1020
- )}`,
1021
- t
1030
+ saveMarkers({
1031
+ projectId: e,
1032
+ markers: r
1033
+ }) {
1034
+ return a.put(
1035
+ `${n()}data/projects/cesium/${e}/transform/markers.json`,
1036
+ r,
1037
+ s
1022
1038
  );
1023
1039
  },
1024
- updateAnprEvent(e, r) {
1025
- return a.patch(`${i()}/projects/anpr/${e}`, {
1026
- ...r
1027
- });
1028
- },
1029
- bulkUpdateAnprRecords(e, r) {
1040
+ patchTransform({
1041
+ projectId: e,
1042
+ data: r
1043
+ }) {
1030
1044
  return a.patch(
1031
- `${i()}/projects/anpr/update/status?${g({
1032
- anprEventsIds: e,
1033
- action: r
1034
- })}`
1045
+ `${n()}data/projects/cesium/${e}/transform.json`,
1046
+ r,
1047
+ s
1035
1048
  );
1036
1049
  },
1037
- exportAnprEvents(e, r) {
1038
- return a({
1039
- url: `${i()}/projects/${e}/anpr/events/export?${g(
1040
- r
1041
- )}`,
1042
- method: "GET",
1043
- responseType: "blob"
1044
- });
1045
- }
1046
- },
1047
- gateReport: {
1048
- getLastVerified(e) {
1049
- return a.get(
1050
- `${i()}/projects/gate-report/last-verified`,
1051
- e
1050
+ saveTerrainPoints({
1051
+ projectId: e,
1052
+ dateId: r,
1053
+ points: t
1054
+ }) {
1055
+ return a.put(
1056
+ `${n()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1057
+ t,
1058
+ s
1052
1059
  );
1053
1060
  },
1054
- deleteEvent(e, r) {
1055
- return a.delete(
1056
- `${i()}/projects/events/${e}?${g(r)}`
1061
+ patchImageryPlan({
1062
+ projectId: e,
1063
+ plan: r
1064
+ }) {
1065
+ return a.patch(
1066
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1067
+ r,
1068
+ s
1057
1069
  );
1058
1070
  },
1059
- dismissEvents(e) {
1071
+ deleteImageryPlan({
1072
+ projectId: e,
1073
+ uuid: r
1074
+ }) {
1060
1075
  return a.delete(
1061
- `${i()}/projects/events?${g(e)}`
1076
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1077
+ s
1062
1078
  );
1063
1079
  },
1064
- exportEvents(e, r) {
1065
- return a({
1066
- url: `${i()}/projects/${e}/gate-report/events/export?${g(
1067
- r
1068
- )}`,
1069
- method: "GET",
1070
- responseType: "blob"
1071
- });
1080
+ saveImageryPlans({
1081
+ projectId: e,
1082
+ plans: r
1083
+ }) {
1084
+ return a.put(
1085
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1086
+ r,
1087
+ s
1088
+ );
1072
1089
  },
1073
- exportEventsProgress(e, r) {
1090
+ getBlackListIds(e) {
1074
1091
  return a.get(
1075
- `${i()}/projects/${e}/gate-report/events/export/progress?${g(
1076
- r
1077
- )}`
1092
+ `${n()}data/projects/cesium/${e}/transform/blackListIds.json`,
1093
+ s
1078
1094
  );
1079
1095
  },
1080
- generateAnprThumbnail(e, r) {
1081
- return a.post(
1082
- `${i()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1083
- {},
1084
- {
1085
- headers: {
1086
- "Content-Type": "application/json"
1087
- }
1088
- }
1096
+ saveBlackListIds({
1097
+ projectId: e,
1098
+ ids: r
1099
+ }) {
1100
+ return a.put(
1101
+ `${n()}data/projects/cesium/${e}/transform/blackListIds.json`,
1102
+ r,
1103
+ s
1089
1104
  );
1090
1105
  },
1091
- getAllEvents(e, r, t) {
1092
- return r.vehicleTypes || (r.vehicleTypes = N), r.truckTypes || (r.vehicleTypes = N), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1093
- `${i()}/projects/${e}/events?${g(
1094
- r
1095
- )}`,
1096
- t
1106
+ saveModel({
1107
+ projectId: e,
1108
+ model: r
1109
+ }) {
1110
+ const { trueIndex: t, ...o } = r;
1111
+ return a.put(
1112
+ `${n()}data/projects/cesium/${e}/models/${t}.json`,
1113
+ o,
1114
+ s
1097
1115
  );
1098
1116
  },
1099
- getEventCounts(e, r = {}, t) {
1100
- return r.vehicleTypes || (r.vehicleTypes = N), a.get(
1101
- `${i()}/projects/${e}/project-stats?${g(
1102
- r
1103
- )}`,
1104
- {
1105
- ...t || {}
1106
- }
1117
+ saveModels({
1118
+ projectId: e,
1119
+ models: r
1120
+ }) {
1121
+ return a.put(
1122
+ `${n()}data/projects/cesium/${e}/models.json`,
1123
+ r,
1124
+ s
1107
1125
  );
1108
1126
  },
1109
- getVerifiedDays(e, r, t = {}) {
1127
+ saveBimData({
1128
+ projectId: e,
1129
+ data: r
1130
+ }) {
1131
+ return a.put(
1132
+ `${n()}data/projects/cesium/${e}/transform/bimData.json`,
1133
+ r,
1134
+ s
1135
+ );
1136
+ },
1137
+ getBimTransparencyFlag(e) {
1110
1138
  return a.get(
1111
- `${i()}/projects/${e}/gate-report/verified-days?${g(
1112
- r
1113
- )}`,
1114
- t
1139
+ `${n()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1140
+ s
1115
1141
  );
1116
1142
  },
1117
- updateEventById(e, {
1118
- updatedBy: r,
1119
- payload: t
1143
+ saveCameraTransform({
1144
+ projectId: e,
1145
+ isScene3D: r,
1146
+ transform: t
1120
1147
  }) {
1121
1148
  return a.patch(
1122
- `${i()}/projects/events/${e}?${g({
1123
- updatedBy: r
1124
- })}`,
1125
- t
1126
- );
1127
- },
1128
- verifyDay(e) {
1129
- return a.post(
1130
- `${i()}/projects/gate-report/verified-days`,
1131
- e
1149
+ `${n()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1150
+ t,
1151
+ s
1132
1152
  );
1133
- },
1134
- regenerateThumbnail(e, r) {
1153
+ }
1154
+ },
1155
+ _360: {
1156
+ getProjectInfo(e, r = { config: {} }) {
1157
+ return a.get(
1158
+ `${n()}data/projects/360/${e}.json`,
1159
+ {
1160
+ ...r.config,
1161
+ ...s
1162
+ }
1163
+ );
1164
+ },
1165
+ getProjectsList() {
1166
+ return a.get(
1167
+ `${n()}data/360-list.json`,
1168
+ s
1169
+ );
1170
+ },
1171
+ updateProjectsList(e) {
1135
1172
  return a.put(
1136
- `${i()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1137
- r
1138
- )}`,
1173
+ `${n()}data/360-list.json`,
1174
+ e,
1175
+ s
1176
+ );
1177
+ },
1178
+ updateProjectsListItem(e, r) {
1179
+ return a.put(
1180
+ `${n()}data/360-list/${e}.json`,
1181
+ r,
1182
+ s
1183
+ );
1184
+ },
1185
+ deleteProject(e) {
1186
+ return a.delete(
1187
+ `${n()}data/projects/360/${e}.json`,
1188
+ s
1189
+ );
1190
+ },
1191
+ updateProjectInfo(e, r) {
1192
+ return a.patch(
1193
+ `${n()}data/projects/360/${e}.json`,
1194
+ r,
1195
+ s
1196
+ );
1197
+ },
1198
+ updateFloor(e, r, t, o) {
1199
+ return a.patch(
1200
+ `${n()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1201
+ o,
1202
+ s
1203
+ );
1204
+ },
1205
+ getFloor({
1206
+ projectId: e,
1207
+ dateId: r,
1208
+ floorId: t
1209
+ }) {
1210
+ return a.get(
1211
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1212
+ s
1213
+ );
1214
+ },
1215
+ getAerialShotsFloor({
1216
+ projectId: e,
1217
+ dateId: r,
1218
+ floorId: t
1219
+ }) {
1220
+ return a.get(
1221
+ `${n()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1222
+ s
1223
+ );
1224
+ },
1225
+ update3DMarkers({
1226
+ projectId: e,
1227
+ dateId: r,
1228
+ floorId: t,
1229
+ markers: o
1230
+ }) {
1231
+ return a.put(
1232
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1233
+ o,
1234
+ s
1235
+ );
1236
+ },
1237
+ updateFloors({
1238
+ projectId: e,
1239
+ dateId: r,
1240
+ floors: t
1241
+ }) {
1242
+ return a.put(
1243
+ `${n()}data/projects/360/${e}/dates/${r}/floors.json`,
1244
+ t,
1245
+ s
1246
+ );
1247
+ },
1248
+ deleteFloor({
1249
+ projectId: e,
1250
+ dateId: r,
1251
+ floorId: t
1252
+ }) {
1253
+ return a.delete(
1254
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1255
+ s
1256
+ );
1257
+ },
1258
+ updateDates(e, r) {
1259
+ return a.put(
1260
+ `${n()}data/projects/360/${e}/dates.json`,
1261
+ r,
1262
+ s
1263
+ );
1264
+ },
1265
+ updatePins({
1266
+ projectId: e,
1267
+ dateId: r,
1268
+ floorId: t,
1269
+ pins: o
1270
+ }) {
1271
+ return a.put(
1272
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1273
+ o,
1274
+ s
1275
+ );
1276
+ },
1277
+ getGPXText(e) {
1278
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1279
+ ...s,
1280
+ responseType: "text"
1281
+ }) : Promise.resolve("");
1282
+ },
1283
+ updateRoute(e, r, t, o) {
1284
+ return a.patch(
1285
+ `${n()}data/projects/360/${e}/${r}/${t}/route.json`,
1286
+ o,
1287
+ s
1288
+ );
1289
+ },
1290
+ async updateFeatureFlag(e, r, t, o, i) {
1291
+ return a.put(
1292
+ `${n()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1293
+ i,
1139
1294
  {
1140
- method: "PUT"
1295
+ ...s,
1296
+ transformRequest: [(g) => JSON.stringify(g)]
1141
1297
  }
1142
1298
  );
1143
1299
  },
1144
- getDailyStatus(e, r = {}) {
1300
+ async saveSteps(e, r, t, o) {
1301
+ return a.put(
1302
+ `${n()}data/projects/360/${e}/${r}/${t}/steps.json`,
1303
+ o,
1304
+ s
1305
+ );
1306
+ },
1307
+ getDates({
1308
+ projectID: e,
1309
+ prefix: r = ""
1310
+ }) {
1145
1311
  return a.get(
1146
- `${i()}/projects/${e}/processed-days`,
1147
- { params: r }
1312
+ `${n()}data/projects/360/${e}/${r}dates.json`,
1313
+ s
1148
1314
  );
1149
1315
  },
1150
- getEventThumbnail({
1151
- cameraExid: e,
1152
- eventType: r,
1153
- eventTime: t,
1154
- token: s
1316
+ getFloorData({
1317
+ projectID: e,
1318
+ dateID: r,
1319
+ floorID: t,
1320
+ prefix: o = ""
1155
1321
  }) {
1156
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1322
+ return a.get(
1323
+ `${n()}data/projects/360/${e}/${o}${r}/${t}.json`,
1324
+ s
1325
+ );
1157
1326
  },
1158
- getEventSnapshot({
1159
- cameraExid: e,
1160
- eventType: r,
1161
- eventTime: t,
1162
- token: s
1327
+ patchFloor({
1328
+ projectID: e,
1329
+ dateID: r,
1330
+ floorID: t,
1331
+ body: o
1163
1332
  }) {
1164
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1333
+ return a.patch(
1334
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1335
+ o,
1336
+ s
1337
+ );
1165
1338
  },
1166
- getEvents(e, r, t = {}) {
1339
+ deleteMarkers({ projectID: e, dateID: r, floorID: t }) {
1340
+ return a.delete(
1341
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1342
+ s
1343
+ );
1344
+ },
1345
+ patchMarkers({
1346
+ projectID: e,
1347
+ dateID: r,
1348
+ floorID: t,
1349
+ markers: o
1350
+ }) {
1351
+ return a.patch(
1352
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1353
+ o,
1354
+ s
1355
+ );
1356
+ },
1357
+ putMarkers({
1358
+ projectID: e,
1359
+ dateID: r,
1360
+ floorID: t,
1361
+ markers: o
1362
+ }) {
1363
+ return a.put(
1364
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1365
+ o,
1366
+ s
1367
+ );
1368
+ },
1369
+ putFloors({
1370
+ projectID: e,
1371
+ dateID: r,
1372
+ floors: t
1373
+ }) {
1374
+ return a.put(
1375
+ `${n()}data/projects/360/${e}/dates/${r}/floors.json`,
1376
+ t,
1377
+ s
1378
+ );
1379
+ },
1380
+ deleteFloorData({
1381
+ projectID: e,
1382
+ dateID: r,
1383
+ floorID: t
1384
+ }) {
1385
+ return a.delete(
1386
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1387
+ s
1388
+ );
1389
+ },
1390
+ putDates({
1391
+ projectID: e,
1392
+ dates: r
1393
+ }) {
1394
+ return a.put(
1395
+ `${n()}data/projects/360/${e}/dates.json`,
1396
+ r,
1397
+ s
1398
+ );
1399
+ },
1400
+ deleteDate({
1401
+ projectID: e,
1402
+ dateID: r
1403
+ }) {
1404
+ return a.delete(
1405
+ `${n()}data/projects/360/${e}/${r}.json`,
1406
+ s
1407
+ );
1408
+ },
1409
+ getPins({
1410
+ projectID: e,
1411
+ dateID: r,
1412
+ floorID: t
1413
+ }) {
1414
+ return a.get(
1415
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1416
+ s
1417
+ );
1418
+ },
1419
+ putPins({
1420
+ projectID: e,
1421
+ dateID: r,
1422
+ floorID: t,
1423
+ pins: o
1424
+ }) {
1425
+ return a.put(
1426
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1427
+ o,
1428
+ s
1429
+ );
1430
+ },
1431
+ patchCalibrationDetails({
1432
+ projectID: e,
1433
+ dateID: r,
1434
+ floorID: t,
1435
+ details: o
1436
+ }) {
1437
+ return a.patch(
1438
+ `${n()}data/projects/360/${e}/${r}/${t}/calibrationDetails.json`,
1439
+ o,
1440
+ s
1441
+ );
1442
+ },
1443
+ getDateWalks(e, r) {
1167
1444
  return a.get(
1168
- `${i()}/projects/${e}/gate-report/events?${g(
1445
+ `${n()}data/projects/360/${e}/${r}.json`,
1446
+ s
1447
+ );
1448
+ },
1449
+ getRoute({
1450
+ projectID: e,
1451
+ dateID: r,
1452
+ floorID: t
1453
+ }) {
1454
+ return a.get(
1455
+ `${n()}data/projects/360/${e}/${r}/${t}/route.json`,
1456
+ s
1457
+ );
1458
+ },
1459
+ getAerialShotDate({
1460
+ projectID: e,
1461
+ dateID: r
1462
+ }) {
1463
+ return a.get(
1464
+ `${n()}data/projects/360/${e}/aerial-shots/dates/${r}/date.json`,
1465
+ s
1466
+ );
1467
+ },
1468
+ updateGPXFile(e, r, t, o) {
1469
+ const i = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1470
+ return g.append("gpxFile", i, "updated-track.gpx"), a.post(
1471
+ `${go() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${po()}`,
1472
+ g,
1473
+ {
1474
+ ...s,
1475
+ headers: { "Content-Type": "multipart/form-data" }
1476
+ }
1477
+ );
1478
+ },
1479
+ getProjectDates(e) {
1480
+ return a.get(
1481
+ `${n()}data/projects/360/${e}/dates.json`,
1482
+ s
1483
+ );
1484
+ },
1485
+ getProjectAerialShotsDates(e) {
1486
+ return a.get(
1487
+ `${n()}data/projects/360/${e}/aerial-shots/dates.json`,
1488
+ s
1489
+ );
1490
+ },
1491
+ getProjectDateFloors({
1492
+ projectId: e,
1493
+ dateId: r
1494
+ }) {
1495
+ return a.get(
1496
+ `${n()}data/projects/360/${e}/${r}.json`,
1497
+ s
1498
+ );
1499
+ }
1500
+ },
1501
+ forge: {
1502
+ getAccessToken() {
1503
+ return a.get(mo(), s);
1504
+ },
1505
+ getProjectInfo(e) {
1506
+ return a.get(
1507
+ `${n()}data/projects/forge/${e}.json`,
1508
+ s
1509
+ );
1510
+ },
1511
+ saveSavedView(e, r) {
1512
+ return a.put(
1513
+ `${n()}data/projects/forge/${e}/savedView.json`,
1514
+ r,
1515
+ s
1516
+ );
1517
+ },
1518
+ saveMarkers(e, r) {
1519
+ return a.put(
1520
+ `${n()}data/projects/forge/${e}/markers.json`,
1521
+ r,
1522
+ s
1523
+ );
1524
+ },
1525
+ getForgeProject({
1526
+ projectID: e
1527
+ }) {
1528
+ return a.get(
1529
+ `${n()}data/projects/forge/${e}.json`,
1530
+ s
1531
+ );
1532
+ }
1533
+ },
1534
+ itwin: {
1535
+ getProjectInfo(e) {
1536
+ return a.get(
1537
+ `${n()}data/projects/itwin/${e}.json`,
1538
+ s
1539
+ );
1540
+ },
1541
+ clearBimCompare(e) {
1542
+ return a.delete(
1543
+ `${n()}data/projects/itwin/${e}/bim-compare.json`,
1544
+ s
1545
+ );
1546
+ },
1547
+ clearSiteView(e, r) {
1548
+ return a.delete(
1549
+ `${n()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1550
+ s
1551
+ );
1552
+ }
1553
+ },
1554
+ siteView: {
1555
+ getCamerasList() {
1556
+ return a.get(
1557
+ `${n()}data/cameras-list.json`,
1558
+ s
1559
+ );
1560
+ },
1561
+ updateCamerasList(e) {
1562
+ return a.put(
1563
+ `${n()}data/cameras-list.json`,
1564
+ e,
1565
+ s
1566
+ );
1567
+ },
1568
+ updateCamerasListItem(e, r) {
1569
+ return a.put(
1570
+ `${n()}data/cameras-list/${e}.json`,
1571
+ r,
1572
+ s
1573
+ );
1574
+ },
1575
+ updateProjectData({
1576
+ viewerType: e,
1577
+ projectId: r,
1578
+ data: t
1579
+ }) {
1580
+ const o = e.toLowerCase();
1581
+ return a.patch(
1582
+ `${n()}data/projects/${o}/${r}.json`,
1583
+ t,
1584
+ s
1585
+ );
1586
+ },
1587
+ deleteProjectData(e, r) {
1588
+ const t = e.toLowerCase();
1589
+ return a.delete(
1590
+ `${n()}data/projects/${t}/${r}.json`,
1591
+ s
1592
+ );
1593
+ },
1594
+ readAllData(e) {
1595
+ return a.get(`${e}data.json`, s);
1596
+ },
1597
+ writeAllData(e, r) {
1598
+ return a.put(`${e}data.json`, r, s);
1599
+ }
1600
+ },
1601
+ map: {
1602
+ getMapViews(e) {
1603
+ return a.get(
1604
+ `${n()}data/projects/maps/${e}.json`,
1605
+ s
1606
+ );
1607
+ },
1608
+ updateMapViews(e, r) {
1609
+ return a.put(
1610
+ `${n()}data/projects/maps/${e}.json`,
1611
+ r,
1612
+ s
1613
+ );
1614
+ }
1615
+ },
1616
+ safety: {
1617
+ getTPulseLink(e) {
1618
+ return a.get(
1619
+ `${n()}data/projects/safety/${e}.json`,
1620
+ s
1621
+ );
1622
+ },
1623
+ updateTPulseLink(e, r) {
1624
+ return a.put(
1625
+ `${n()}data/projects/safety/${e}.json`,
1626
+ { link: r },
1627
+ s
1628
+ );
1629
+ }
1630
+ },
1631
+ planner: {
1632
+ getPlannerList() {
1633
+ return a.get(`${n()}data/planner-list.json`, {
1634
+ ...s
1635
+ });
1636
+ },
1637
+ getPlannerItem(e) {
1638
+ return a.get(
1639
+ `${n()}data/planner-list/${e}.json`,
1640
+ s
1641
+ );
1642
+ },
1643
+ saveSitePlanMetaData(e, r) {
1644
+ return a.put(
1645
+ `${n()}data/planner-list/${e}.json`,
1646
+ r,
1647
+ s
1648
+ );
1649
+ },
1650
+ getSitePlan(e) {
1651
+ return a.get(
1652
+ `${n()}data/projects/planner/${e}.json`,
1653
+ s
1654
+ );
1655
+ },
1656
+ saveSitePlan(e, r) {
1657
+ return a.put(
1658
+ `${n()}data/projects/planner/${e}.json`,
1659
+ r,
1660
+ s
1661
+ );
1662
+ }
1663
+ }
1664
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1665
+ if (Object.keys(e).length === 0)
1666
+ return;
1667
+ let o = { ...e };
1668
+ return r && (o = R.decamelizeKeys(e)), Object.entries(o).reduce((i, [g, p], d) => {
1669
+ let h = "";
1670
+ return ["", null, void 0].includes(p) || Array.isArray(p) && p.length === 0 ? i : (p && typeof p == "object" ? h = Object.entries(p).reduce((M, [D, j], U) => {
1671
+ let f = g;
1672
+ return isNaN(Number.parseInt(D)) ? f = `${g}[${D}]` : Array.isArray(p) && t && (f = `${g}[]`), `${M}${U > 0 ? "&" : ""}${f}=${encodeURIComponent(j)}`;
1673
+ }, "") : h = `${g}=${encodeURIComponent(
1674
+ p
1675
+ )}`, `${i}${d > 0 ? "&" : ""}${h}`);
1676
+ }, "");
1677
+ };
1678
+ function co(e = "") {
1679
+ return [
1680
+ ...new URLSearchParams(
1681
+ e.indexOf("#") > -1 ? e.split("#")[0] : e
1682
+ ).entries()
1683
+ ].filter(([, t]) => t).reduce((t, [o, i]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: i } : t[o] ? {
1684
+ ...t,
1685
+ [o]: [...t[o], i]
1686
+ } : { ...t, [o]: [i] }, {});
1687
+ }
1688
+ const L = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, Oo = {
1689
+ anpr: {
1690
+ exportAnprLegacyEvents(e, r) {
1691
+ return a({
1692
+ url: `${L()}/projects/${e}/anpr/export?${u(
1693
+ r
1694
+ )}`,
1695
+ method: "GET",
1696
+ responseType: "blob"
1697
+ });
1698
+ },
1699
+ getAnprEvents(e, r, t = {}) {
1700
+ return a.get(
1701
+ `${l()}/projects/${e}/anpr?${u(
1169
1702
  r
1170
1703
  )}`,
1171
1704
  t
1172
1705
  );
1173
1706
  },
1174
- getCounts(e, r = {}, t = {}) {
1707
+ getAnprCounts(e, r, t) {
1175
1708
  return a.get(
1176
- `${i()}/projects/${e}/gate-report/counts?${g(
1709
+ `${l()}/projects/${e}/anpr/counts?${u(
1177
1710
  r
1178
1711
  )}`,
1179
1712
  t
1180
1713
  );
1181
1714
  },
1182
- getGateReportApplications(e, r) {
1715
+ updateAnprEvent(e, r) {
1716
+ return a.patch(`${l()}/anpr/${e}`, r);
1717
+ },
1718
+ bulkUpdateAnprRecords(e) {
1719
+ return a.patch(`${l()}/anpr/status`, e);
1720
+ },
1721
+ exportAnprEvents(e, r) {
1722
+ return a({
1723
+ url: `${l()}/projects/${e}/anpr/events/export?${u(
1724
+ r
1725
+ )}`,
1726
+ method: "GET",
1727
+ responseType: "blob"
1728
+ });
1729
+ }
1730
+ },
1731
+ gateReport: {
1732
+ exportEvents(e, r) {
1733
+ return a({
1734
+ url: `${l()}/projects/${e}/gate-report/events/export?${u(
1735
+ r
1736
+ )}`,
1737
+ method: "GET",
1738
+ responseType: "blob"
1739
+ });
1740
+ },
1741
+ exportEventsProgress(e, r) {
1183
1742
  return a.get(
1184
- `${i()}/projects/${e}/cameras/${r}/gate-report/apps`
1743
+ `${L()}/projects/${e}/gate-report/events/export/progress?${u(
1744
+ r
1745
+ )}`
1746
+ );
1747
+ },
1748
+ generateAnprThumbnail(e, r) {
1749
+ return a.post(
1750
+ `${l()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1751
+ {},
1752
+ {
1753
+ headers: {
1754
+ "Content-Type": "application/json"
1755
+ }
1756
+ }
1185
1757
  );
1186
1758
  },
1187
- getGateReportProjectsInfos(e) {
1759
+ getVerifiedDays(e, r, t = {}) {
1188
1760
  return a.get(
1189
- `${i()}/projects/gate-report/get-projects-info`,
1761
+ `${l()}/projects/${e}/gate-report/verified-days?${u(
1762
+ r
1763
+ )}`,
1764
+ t
1765
+ );
1766
+ },
1767
+ verifyDay(e) {
1768
+ return a.post(
1769
+ `${l()}/projects/gate-report/verified-days`,
1190
1770
  e
1191
1771
  );
1772
+ },
1773
+ getDailyStatus(e, r = {}) {
1774
+ return a.get(
1775
+ `${l()}/projects/${e}/gate-report/processed-days`,
1776
+ { params: r }
1777
+ );
1778
+ },
1779
+ getEvents(e, r, t = {}) {
1780
+ return a.get(
1781
+ `${l()}/projects/${e}/gate-report/events?${u(
1782
+ r
1783
+ )}`,
1784
+ t
1785
+ );
1786
+ },
1787
+ getCounts(e, r = {}, t = {}) {
1788
+ return a.get(
1789
+ `${l()}/projects/${e}/gate-report/counts?${u(
1790
+ r
1791
+ )}`,
1792
+ t
1793
+ );
1192
1794
  }
1193
1795
  },
1194
1796
  brainTool: {
1195
1797
  getObjectDetectionsResults(e = {}) {
1196
- return a.post(`${i()}/ai-models/object-detection`, e);
1197
- },
1198
- getSegments(e = {}) {
1199
- return a.post(`${i()}/ai-models/segment`, e);
1798
+ return a.post(
1799
+ `${l()}/ai-models/object-detection`,
1800
+ e
1801
+ );
1200
1802
  }
1201
1803
  },
1202
1804
  roi: {
1203
1805
  getROIs(e, r = {}) {
1204
1806
  return a.get(
1205
- `${i()}/projects/${e}/rois?${g(r)}`
1807
+ `${l()}/projects/${e}/rois?${u(
1808
+ r
1809
+ )}`
1206
1810
  );
1207
1811
  },
1812
+ listROIs(e = {}) {
1813
+ return a.get(`${l()}/rois?${u(e)}`);
1814
+ },
1208
1815
  createROI(e) {
1209
- return a.post(`${i()}/projects/rois`, e);
1816
+ return a.post(`${l()}/rois`, e);
1210
1817
  },
1211
1818
  updateROI({
1212
1819
  updatedBy: e,
1213
- roi: r
1820
+ id: r,
1821
+ ...t
1214
1822
  }) {
1215
1823
  return a.patch(
1216
- `${i()}/projects/rois/${r.id}?${g({
1824
+ `${l()}/rois/${r}?${u({
1217
1825
  updatedBy: e
1218
1826
  })}`,
1219
- r
1827
+ t
1220
1828
  );
1221
1829
  },
1222
1830
  deleteROI({ id: e, updatedBy: r }) {
1223
1831
  return a.patch(
1224
- `${i()}/projects/rois/${e}?${g({
1832
+ `${l()}/rois/${e}?${u({
1225
1833
  updatedBy: r
1226
1834
  })}`,
1227
- { isactive: !1, note: "delete roi" }
1835
+ { isActive: !1, note: "delete roi" }
1228
1836
  );
1229
1837
  }
1230
1838
  },
1231
1839
  detections: {
1232
- async getDetections({ projectExid: e, ...r }) {
1233
- return a.get(
1234
- `${i()}/projects/${e}/detections?${g(
1235
- r
1236
- )}`
1237
- );
1238
- },
1239
1840
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1240
1841
  return a.get(
1241
- `${i()}/projects/${e}/detections/counts?${g(
1842
+ `${l()}/projects/${e}/trackings/counts?${u(
1242
1843
  r
1243
1844
  )}`,
1244
1845
  t
@@ -1246,7 +1847,7 @@ const i = () => a.env.aiApiUrl, Jt = {
1246
1847
  },
1247
1848
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1248
1849
  return a.get(
1249
- `${i()}/projects/${e}/detections/timestamps?${g(
1850
+ `${l()}/projects/${e}/trackings/timestamps?${u(
1250
1851
  r
1251
1852
  )}`,
1252
1853
  t
@@ -1258,7 +1859,7 @@ const i = () => a.env.aiApiUrl, Jt = {
1258
1859
  ...t
1259
1860
  }) {
1260
1861
  return a.get(
1261
- `${i()}/cameras/${e}/segments/appearance-from-points`,
1862
+ `${l()}/cameras/${e}/segments/appearance-from-points`,
1262
1863
  {
1263
1864
  params: {
1264
1865
  cameraExid: e,
@@ -1268,27 +1869,37 @@ const i = () => a.env.aiApiUrl, Jt = {
1268
1869
  }
1269
1870
  );
1270
1871
  },
1271
- async getDetectionsTracking(e, r) {
1872
+ async getGroupedTrackings(e, r) {
1272
1873
  return a.get(
1273
- `${i()}/projects/${e}/detections/trackings?${g(
1874
+ `${l()}/projects/${e}/trackings/grouped?${u(
1274
1875
  r
1275
1876
  )}`
1276
1877
  );
1277
1878
  },
1278
1879
  async getSegmentsMasks(e, r) {
1279
1880
  return a.get(
1280
- `${i()}/cameras/${e}/segments/masks`,
1881
+ `${l()}/cameras/${e}/segments/masks`,
1281
1882
  {
1282
1883
  params: r
1283
1884
  }
1284
1885
  );
1285
1886
  },
1887
+ async getSegmentsPresenceDateIntervals({
1888
+ cameraExid: e,
1889
+ ...r
1890
+ }) {
1891
+ return a.get(
1892
+ `${l()}/cameras/${e}/segments/presence-intervals?${u(
1893
+ r
1894
+ )}`
1895
+ );
1896
+ },
1286
1897
  async getDetectionsPresenceDateIntervals({
1287
1898
  projectExid: e,
1288
1899
  ...r
1289
1900
  }) {
1290
1901
  return a.get(
1291
- `${i()}/projects/${e}/detections/presence-intervals?${g(
1902
+ `${l()}/projects/${e}/trackings/presence-intervals?${u(
1292
1903
  r
1293
1904
  )}`
1294
1905
  );
@@ -1298,7 +1909,7 @@ const i = () => a.env.aiApiUrl, Jt = {
1298
1909
  ...r
1299
1910
  }) {
1300
1911
  return a.get(
1301
- `${i()}/projects/${e}/detections/timestamps/export?${g(
1912
+ `${l()}/projects/${e}/detections/timestamps/export?${u(
1302
1913
  r
1303
1914
  )}`,
1304
1915
  { responseType: "blob" }
@@ -1306,114 +1917,176 @@ const i = () => a.env.aiApiUrl, Jt = {
1306
1917
  }
1307
1918
  },
1308
1919
  siteAnalytics: {
1309
- smartSearch({
1310
- cameraExid: e,
1311
- payload: r,
1312
- fromDate: t,
1313
- toDate: s,
1314
- page: o = 1,
1315
- pageSize: l = 20
1920
+ smartSearchAll(e, r) {
1921
+ const { payload: t, ...o } = r, i = {
1922
+ page: 1,
1923
+ limit: 20,
1924
+ ...o
1925
+ };
1926
+ let g = `${l()}/projects/${e}/smart-search/all?${u(
1927
+ i
1928
+ )}`;
1929
+ return a.post(g, t);
1930
+ },
1931
+ smartSearchFirstLastSeen(e, r) {
1932
+ const { payload: t, ...o } = r, i = {
1933
+ page: 1,
1934
+ limit: 20,
1935
+ ...o
1936
+ };
1937
+ let g = `${l()}/projects/${e}/smart-search/first-last-seen?${u(
1938
+ i
1939
+ )}`;
1940
+ return a.post(g, t);
1941
+ },
1942
+ saveQuery({
1943
+ projectExid: e,
1944
+ cameraExid: r,
1945
+ payload: t
1316
1946
  }) {
1317
- let n = `${i()}/cameras/${e}/advanced_search?page=${o}&page_size=${l}`;
1318
- return t && s && (n += `&from_date=${t}&to_date=${s}`), a.post(n, r);
1319
- },
1320
- saveQuery(e) {
1321
1947
  return a.post(
1322
- `${i()}/cameras/${e.cameraExid}/advanced_search/queries`,
1323
- e
1948
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries`,
1949
+ t
1324
1950
  );
1325
1951
  },
1326
1952
  getQueries(e, r) {
1327
1953
  return a.get(
1328
- `${i()}/cameras/${e}/advanced_search/queries`,
1954
+ `${l()}/projects/${e}/smart-search/queries?${u(
1955
+ r
1956
+ )}`
1957
+ );
1958
+ },
1959
+ getQueryById(e, r, t) {
1960
+ return a.get(
1961
+ `${l()}/projects/${e}/smart-search/queries/${t}?${u(
1962
+ { cameraExid: r }
1963
+ )}`
1964
+ );
1965
+ },
1966
+ updateQuery({
1967
+ projectExid: e,
1968
+ cameraExid: r,
1969
+ queryId: t,
1970
+ payload: o
1971
+ }) {
1972
+ return a.patch(
1973
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1974
+ o
1975
+ );
1976
+ },
1977
+ deleteQuery({
1978
+ projectExid: e,
1979
+ cameraExid: r,
1980
+ queryId: t
1981
+ }) {
1982
+ return a.delete(
1983
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1984
+ {}
1985
+ );
1986
+ },
1987
+ exportResultsData({
1988
+ projectExid: e,
1989
+ cameraExids: r,
1990
+ fromDate: t,
1991
+ toDate: o,
1992
+ query: i,
1993
+ fileType: g = X.Csv,
1994
+ directDownload: p = !0,
1995
+ payload: d,
1996
+ limit: h,
1997
+ page: M
1998
+ }) {
1999
+ return a.post(
2000
+ `${l()}/projects/${e}/smart-search/export?${u(
2001
+ {
2002
+ cameraExids: r,
2003
+ fromDate: t,
2004
+ toDate: o,
2005
+ query: i,
2006
+ fileType: g,
2007
+ directDownload: p,
2008
+ limit: h,
2009
+ page: M
2010
+ }
2011
+ )}`,
2012
+ d,
1329
2013
  {
1330
- params: r
2014
+ responseType: "blob"
1331
2015
  }
1332
2016
  );
1333
2017
  },
1334
- getQueryById(e, r) {
2018
+ getDetectionsHeatmapData(e, r) {
1335
2019
  return a.get(
1336
- `${i()}/cameras/${e}/advanced_search/queries/${r}`
2020
+ `${l()}/projects/${e}/smart-search/heatmap?${u(
2021
+ r
2022
+ )}`,
2023
+ {}
2024
+ );
2025
+ }
2026
+ },
2027
+ siteAnalyticsManagement: {
2028
+ listApps(e = {}) {
2029
+ return a.get(
2030
+ `${l()}/site-analytics-management/apps?${u(
2031
+ e
2032
+ )}`
1337
2033
  );
1338
2034
  },
1339
- updateQuery(e, r, t) {
1340
- return a.put(
1341
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
2035
+ createApp(e) {
2036
+ return a.post(
2037
+ `${l()}/site-analytics-management/apps`,
2038
+ e
2039
+ );
2040
+ },
2041
+ updateApp(e, r, t) {
2042
+ return a.patch(
2043
+ `${l()}/site-analytics-management/apps/${e}/${r}`,
1342
2044
  t
1343
2045
  );
1344
2046
  },
1345
- deleteQuery(e, r) {
2047
+ deleteApp(e, r) {
1346
2048
  return a.delete(
1347
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
1348
- {}
2049
+ `${l()}/site-analytics-management/apps/${e}/${r}`
1349
2050
  );
1350
2051
  },
1351
- getProcessedTimes({
1352
- projectExid: e,
1353
- cameraExids: r,
1354
- granularity: t = "day",
1355
- endDate: s,
1356
- startDate: o
1357
- }) {
1358
- return a.get(
1359
- `${i()}/projects/${e}/processed_times`,
1360
- {
1361
- params: {
1362
- camera_exids: r,
1363
- granularity: t,
1364
- start_date: o,
1365
- end_date: s
1366
- },
1367
- preserveCasing: !0
1368
- }
2052
+ setAppState(e, r, t) {
2053
+ return a.patch(
2054
+ `${l()}/site-analytics-management/apps/${e}/${r}/state`,
2055
+ { state: t }
1369
2056
  );
1370
2057
  },
1371
- exportResultsData({
1372
- cameraExid: e,
1373
- fromDate: r,
1374
- toDate: t,
1375
- query: s,
1376
- fileType: o = Z.Csv,
1377
- directDownload: l = !0,
1378
- payload: n
1379
- }) {
1380
- return a.post(
1381
- `${i()}/cameras/${e}/advanced_search/export`,
1382
- n,
1383
- {
1384
- responseType: "blob",
1385
- params: {
1386
- fromDate: r,
1387
- toDate: t,
1388
- query: s,
1389
- fileType: o,
1390
- directDownload: l
1391
- }
1392
- }
2058
+ listCoolifyServers() {
2059
+ return a.get(
2060
+ `${l()}/site-analytics-management/coolify-servers`
1393
2061
  );
1394
2062
  },
1395
- getDetectionsHeatmapData(e, r) {
1396
- return a.post(
1397
- `${i()}/cameras/${e}/advanced_search/heatmap?${g(
1398
- r,
1399
- { forceArrayBrackets: !0 }
1400
- )}`,
1401
- {}
2063
+ listModelVersions() {
2064
+ return a.get(
2065
+ `${l()}/site-analytics-management/model-versions`
1402
2066
  );
1403
2067
  }
1404
2068
  },
1405
2069
  coolify: {
1406
2070
  getCoolifyServers() {
1407
- return a.get(`${i()}/coolify/servers`);
2071
+ return a.get(`${l()}/coolify/servers`);
1408
2072
  },
1409
- createAppOnCoolify(e) {
2073
+ createAppOnCoolify({
2074
+ projectExid: e,
2075
+ cameraExid: r,
2076
+ payload: t
2077
+ }) {
1410
2078
  return a.post(
1411
- `${i()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
2079
+ `${l()}/projects/${e}/cameras/${r}/anpr/apps`,
2080
+ t
1412
2081
  );
1413
2082
  },
1414
- saveAppOnCoolify(e, r, t) {
2083
+ registerCoolifyApp({
2084
+ projectExid: e,
2085
+ cameraExid: r,
2086
+ payload: t
2087
+ }) {
1415
2088
  return a.post(
1416
- `${i()}/projects/${e}/cameras/${r}/gate_report/apps`,
2089
+ `${l()}/projects/${e}/cameras/${r}/gate-report/apps`,
1417
2090
  t
1418
2091
  );
1419
2092
  },
@@ -1421,11 +2094,11 @@ const i = () => a.env.aiApiUrl, Jt = {
1421
2094
  appUuid: e,
1422
2095
  appId: r,
1423
2096
  payload: t,
1424
- cameraExid: s,
1425
- projectExid: o
2097
+ cameraExid: o,
2098
+ projectExid: i
1426
2099
  }) {
1427
2100
  return a.patch(
1428
- `${i()}/projects/${o}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
2101
+ `${l()}/projects/${i}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1429
2102
  t
1430
2103
  );
1431
2104
  },
@@ -1433,37 +2106,128 @@ const i = () => a.env.aiApiUrl, Jt = {
1433
2106
  appUuid: e,
1434
2107
  appId: r,
1435
2108
  cameraExid: t,
1436
- projectExid: s
2109
+ projectExid: o
1437
2110
  }) {
1438
2111
  return a.delete(
1439
- `${i()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
2112
+ `${l()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1440
2113
  );
1441
2114
  },
1442
2115
  startService(e) {
1443
- return a.post(`${i()}/coolify/services/${e}/start`);
2116
+ return a.post(
2117
+ `${l()}/coolify/services/${e}/start`
2118
+ );
1444
2119
  },
1445
2120
  pauseService(e) {
1446
- return a.post(`${i()}/coolify/services/${e}/stop`);
2121
+ return a.post(`${l()}/coolify/services/${e}/stop`);
1447
2122
  },
1448
2123
  restartService(e) {
1449
2124
  return a.post(
1450
- `${i()}/coolify/services/${e}/restart`
2125
+ `${l()}/coolify/services/${e}/restart`
1451
2126
  );
1452
2127
  }
1453
2128
  },
1454
2129
  fovChanges: {
1455
2130
  getCameraFovChanges(e, r = {}) {
1456
2131
  return a.post(
1457
- `${i()}/cameras/${e}/fov_changes`,
2132
+ `${l()}/cameras/${e}/fov_changes`,
1458
2133
  {},
1459
2134
  r
1460
2135
  );
1461
2136
  }
2137
+ },
2138
+ prompts: {
2139
+ list(e = {}) {
2140
+ return a.get(`${l()}/prompts?${u(e)}`);
2141
+ },
2142
+ get(e) {
2143
+ return a.get(`${l()}/prompts/${e}`);
2144
+ },
2145
+ create(e) {
2146
+ return a.post(`${l()}/prompts`, e);
2147
+ },
2148
+ update(e, r) {
2149
+ return a.patch(`${l()}/prompts/${e}`, r);
2150
+ },
2151
+ delete(e) {
2152
+ return a.delete(`${l()}/prompts/${e}`);
2153
+ }
2154
+ },
2155
+ apiKeys: {
2156
+ list(e = {}) {
2157
+ const r = u(e);
2158
+ return a.get(`${l()}/api-keys${r ? `?${r}` : ""}`);
2159
+ },
2160
+ purposes() {
2161
+ return a.get(`${l()}/api-keys/purposes`);
2162
+ },
2163
+ get(e) {
2164
+ return a.get(`${l()}/api-keys/${e}`);
2165
+ },
2166
+ create(e) {
2167
+ return a.post(`${l()}/api-keys`, e);
2168
+ },
2169
+ update(e, r) {
2170
+ return a.patch(`${l()}/api-keys/${e}`, r);
2171
+ },
2172
+ delete(e, r = !1) {
2173
+ const t = r ? "?revoke=true" : "";
2174
+ return a.delete(`${l()}/api-keys/${e}${t}`);
2175
+ }
2176
+ },
2177
+ gateReportManagement: {
2178
+ listApps(e = {}) {
2179
+ return a.get(
2180
+ `${l()}/gate-report/apps?${u(
2181
+ e
2182
+ )}`
2183
+ );
2184
+ },
2185
+ getApp(e, r) {
2186
+ return a.get(
2187
+ `${l()}/gate-report/apps/${e}/${r}`
2188
+ );
2189
+ },
2190
+ listAppEvents(e) {
2191
+ return a.get(
2192
+ `${l()}/gate-report/apps/last-event-status?${u({
2193
+ projectExid: e
2194
+ })}`
2195
+ );
2196
+ },
2197
+ createApp(e) {
2198
+ return a.post(`${l()}/gate-report/apps`, e);
2199
+ },
2200
+ updateApp(e, r, t) {
2201
+ return a.patch(
2202
+ `${l()}/gate-report/apps/${e}/${r}`,
2203
+ t
2204
+ );
2205
+ },
2206
+ deleteApp(e, r) {
2207
+ return a.delete(
2208
+ `${l()}/gate-report/apps/${e}/${r}`
2209
+ );
2210
+ },
2211
+ setAppState(e, r, t) {
2212
+ return a.patch(
2213
+ `${l()}/gate-report/apps/${e}/${r}/state`,
2214
+ { state: t }
2215
+ );
2216
+ },
2217
+ listCoolifyProjects() {
2218
+ return a.get(`${l()}/gate-report/coolify-projects`);
2219
+ },
2220
+ listCoolifyServers() {
2221
+ return a.get(`${l()}/gate-report/coolify-servers`);
2222
+ },
2223
+ listImageTags() {
2224
+ return a.get(`${l()}/gate-report/image-tags`);
2225
+ }
1462
2226
  }
1463
- }, Qt = {
2227
+ }, Fo = {
1464
2228
  webRtc: {
1465
2229
  requestIceServers({ url: e, token: r }) {
1466
- return $({
2230
+ return w({
1467
2231
  url: e,
1468
2232
  method: "OPTIONS",
1469
2233
  headers: {
@@ -1476,7 +2240,7 @@ const i = () => a.env.aiApiUrl, Jt = {
1476
2240
  token: r,
1477
2241
  data: t
1478
2242
  }) {
1479
- return $({
2243
+ return w({
1480
2244
  url: e,
1481
2245
  method: "POST",
1482
2246
  headers: {
@@ -1490,21 +2254,21 @@ const i = () => a.env.aiApiUrl, Jt = {
1490
2254
  url: e,
1491
2255
  token: r,
1492
2256
  data: t,
1493
- tag: s
2257
+ tag: o
1494
2258
  }) {
1495
- return $({
2259
+ return w({
1496
2260
  url: e,
1497
2261
  method: "PATCH",
1498
2262
  headers: {
1499
2263
  "Content-Type": "application/trickle-ice-sdpfrag",
1500
- "If-Match": s,
2264
+ "If-Match": o,
1501
2265
  Authorization: `Bearer ${r}`
1502
2266
  },
1503
2267
  data: t
1504
2268
  });
1505
2269
  }
1506
2270
  }
1507
- }, Yt = {
2271
+ }, No = {
1508
2272
  current(e, r) {
1509
2273
  return a.get(`/projects/${e}/weather/current`, {
1510
2274
  params: r
@@ -1520,25 +2284,23 @@ const i = () => a.env.aiApiUrl, Jt = {
1520
2284
  });
1521
2285
  }
1522
2286
  };
1523
- function u() {
2287
+ function S() {
1524
2288
  var r;
1525
2289
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1526
2290
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1527
2291
  }
1528
- const Kt = {
2292
+ const Go = {
1529
2293
  posthog: {
1530
2294
  getEvents(e) {
1531
- return a.get(`${u()}/posthog/events`, {
1532
- params: e
1533
- });
2295
+ return a.get(`${S()}/posthog/events`, e);
1534
2296
  },
1535
2297
  getUsers(e) {
1536
- return a.get(`${u()}/posthog/users`, {
2298
+ return a.get(`${S()}/posthog/users`, {
1537
2299
  params: e
1538
2300
  });
1539
2301
  },
1540
2302
  getActiveUsers(e) {
1541
- return a.get(`${u()}/posthog/active-users`, {
2303
+ return a.get(`${S()}/posthog/active-users`, {
1542
2304
  params: e,
1543
2305
  preserveCasing: !0
1544
2306
  });
@@ -1546,14 +2308,14 @@ const Kt = {
1546
2308
  },
1547
2309
  copilot: {
1548
2310
  async getAllConversations(e) {
1549
- return a.get(`${u()}/copilot/conversations`, {
2311
+ return a.get(`${S()}/copilot/conversations`, {
1550
2312
  params: e,
1551
2313
  preserveCasing: !0
1552
2314
  });
1553
2315
  },
1554
2316
  async getOneConversation(e) {
1555
2317
  return a.get(
1556
- `${u()}/copilot/conversations/${e}`,
2318
+ `${S()}/copilot/conversations/${e}`,
1557
2319
  {
1558
2320
  preserveCasing: !0
1559
2321
  }
@@ -1561,13 +2323,13 @@ const Kt = {
1561
2323
  },
1562
2324
  async getConversationMessages(e, r) {
1563
2325
  return a.get(
1564
- `${u()}/copilot/conversations/${e}/messages`,
2326
+ `${S()}/copilot/conversations/${e}/messages`,
1565
2327
  { params: r, preserveCasing: !0 }
1566
2328
  );
1567
2329
  },
1568
2330
  async getMessageSteps(e) {
1569
2331
  return a.get(
1570
- `${u()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2332
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1571
2333
  );
1572
2334
  },
1573
2335
  async submitMessageFeedback({
@@ -1576,7 +2338,7 @@ const Kt = {
1576
2338
  ...t
1577
2339
  }) {
1578
2340
  return a.post(
1579
- `${u()}/copilot/conversations/${e}/messages/${r}/feedback`,
2341
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1580
2342
  t,
1581
2343
  {
1582
2344
  preserveCasing: !0
@@ -1585,24 +2347,17 @@ const Kt = {
1585
2347
  }
1586
2348
  },
1587
2349
  siteAnalytics: {
1588
- async getSegmentsDateIntervals({
1589
- cameraExid: e,
1590
- fromDate: r,
1591
- toDate: t,
1592
- precision: s
1593
- }) {
1594
- return a.get(
1595
- `${u()}/cameras/${e}/segments/presence-intervals`,
1596
- {
1597
- params: { fromDate: r, toDate: t, precision: s },
1598
- preserveCasing: !0
1599
- }
1600
- );
2350
+ async getProcessingStatus(e = {}, r = {}) {
2351
+ return a.get(`${S()}/site-analytics/processing-status`, {
2352
+ params: e,
2353
+ ...r,
2354
+ preserveCasing: !0
2355
+ });
1601
2356
  },
1602
2357
  async getIntersectionsHeatmapData(e) {
1603
2358
  const { cameraExid: r, ...t } = e;
1604
2359
  return a.get(
1605
- `${u()}/site-analytics/cameras/${r}/heatmap/intersections`,
2360
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1606
2361
  {
1607
2362
  params: t,
1608
2363
  preserveCasing: !0
@@ -1613,7 +2368,7 @@ const Kt = {
1613
2368
  googleCloudStorage: {
1614
2369
  listFiles(e = "") {
1615
2370
  return a.get(
1616
- `${u()}/gc-storage/buckets/evercam-labs/files`,
2371
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1617
2372
  {
1618
2373
  params: {
1619
2374
  prefix: e
@@ -1624,7 +2379,7 @@ const Kt = {
1624
2379
  },
1625
2380
  getSignedUrl(e) {
1626
2381
  return a.get(
1627
- `${u()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2382
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1628
2383
  {
1629
2384
  params: {
1630
2385
  fileName: e
@@ -1637,7 +2392,7 @@ const Kt = {
1637
2392
  luminance: {
1638
2393
  getReadings(e) {
1639
2394
  return a.get(
1640
- `${u()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2395
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1641
2396
  {
1642
2397
  params: {
1643
2398
  fromDate: e.fromDate,
@@ -1649,8 +2404,8 @@ const Kt = {
1649
2404
  }
1650
2405
  },
1651
2406
  kits: {
1652
- getMetrics(e, r, t = q.Last24Hours) {
1653
- return a.get(`${u()}/kits/${e}/metrics`, {
2407
+ getMetrics(e, r, t = Q.Last24Hours) {
2408
+ return a.get(`${S()}/kits/${e}/metrics`, {
1654
2409
  params: {
1655
2410
  metrics: r,
1656
2411
  from: t
@@ -1659,7 +2414,7 @@ const Kt = {
1659
2414
  });
1660
2415
  }
1661
2416
  }
1662
- }, Et = {
2417
+ }, Vo = {
1663
2418
  apiStatus: {
1664
2419
  getApiStatus() {
1665
2420
  return a.get("/status");
@@ -1669,6 +2424,9 @@ const Kt = {
1669
2424
  signup(e) {
1670
2425
  return a.post("/users", e);
1671
2426
  },
2427
+ zohoAuthUrl(e) {
2428
+ return a.post("/support/zoho-auth-url", e);
2429
+ },
1672
2430
  fetchAccessFeatures(e) {
1673
2431
  return a.get(`/users/${e}/features`);
1674
2432
  },
@@ -1686,7 +2444,7 @@ const Kt = {
1686
2444
  return a.get(`/auth/provider/${e}`);
1687
2445
  },
1688
2446
  login(e) {
1689
- return a.post("/auth/login", g(e));
2447
+ return a.post("/auth/login", u(e));
1690
2448
  },
1691
2449
  loginWithApiCredentials(e, r) {
1692
2450
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1720,15 +2478,13 @@ const Kt = {
1720
2478
  confirm(e, r) {
1721
2479
  return a.post(`/users/${e}/confirm`, r);
1722
2480
  },
1723
- deleteActiveSession(e, r = {}) {
2481
+ deleteActiveSession(e, r) {
1724
2482
  return a.delete(`/users/active-sessions/${e}`, {
1725
2483
  params: r
1726
2484
  });
1727
2485
  },
1728
2486
  getActiveSessions(e) {
1729
- return a.get("/users/active-sessions", {
1730
- params: e
1731
- });
2487
+ return a.get("/users/active-sessions", e);
1732
2488
  },
1733
2489
  update(e, r = {}) {
1734
2490
  return a.patch(`/users/${e}`, r);
@@ -1747,18 +2503,18 @@ const Kt = {
1747
2503
  get() {
1748
2504
  return a.get("/notifications");
1749
2505
  },
1750
- markAllAsRead(e) {
1751
- return a.patch(`/notifications/${e}`);
1752
- },
1753
- markAsRead() {
2506
+ markAllAsRead() {
1754
2507
  return a.post("/notifications/mark-as-read");
2508
+ },
2509
+ markAsRead(e) {
2510
+ return a.patch(`/notifications/${e}`);
1755
2511
  }
1756
2512
  },
1757
2513
  bim: {
1758
- getBimSnapshot(e, r, t, s) {
2514
+ getBimSnapshot(e, r, t, o) {
1759
2515
  return a.get(`/cameras/${e}/bim/${r}`, {
1760
2516
  params: t,
1761
- ...s || {}
2517
+ ...o || {}
1762
2518
  });
1763
2519
  },
1764
2520
  getBimModel(e, r, t) {
@@ -1796,7 +2552,7 @@ const Kt = {
1796
2552
  return a.get("/cameras", { params: e, ...e.config });
1797
2553
  },
1798
2554
  getCameraById(e, r) {
1799
- return a.get(`/cameras/${e}?${g(r)}`);
2555
+ return a.get(`/cameras/${e}?${u(r)}`);
1800
2556
  },
1801
2557
  getCameraLastPublicNote(e) {
1802
2558
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1808,7 +2564,7 @@ const Kt = {
1808
2564
  return fetch(
1809
2565
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1810
2566
  ).then(
1811
- ({ url: t }) => Vt(t.split("?")[1] || "").access_token
2567
+ ({ url: t }) => co(t.split("?")[1] || "").access_token
1812
2568
  );
1813
2569
  },
1814
2570
  getCameraStatusLogs(e, r) {
@@ -1822,8 +2578,11 @@ const Kt = {
1822
2578
  index({
1823
2579
  params: e,
1824
2580
  config: r
1825
- }) {
1826
- return a.get(`/projects?${g(e)}`, r);
2581
+ } = { params: {}, config: {} }) {
2582
+ return a.get(`/projects?${u(e)}`, r);
2583
+ },
2584
+ create(e) {
2585
+ return a.post("/projects", e);
1827
2586
  },
1828
2587
  getLogos(e) {
1829
2588
  return a.get(`/projects/${e}/logos`);
@@ -1840,7 +2599,7 @@ const Kt = {
1840
2599
  updateLogo(e, r, t) {
1841
2600
  return a.patch(
1842
2601
  `/projects/${e}/logos/${r}`,
1843
- g({ name: t })
2602
+ u({ name: t })
1844
2603
  );
1845
2604
  },
1846
2605
  updateThumbnail(e, r) {
@@ -1879,6 +2638,20 @@ const Kt = {
1879
2638
  },
1880
2639
  getTeamMembers() {
1881
2640
  return a.get("/projects/team-members");
2641
+ },
2642
+ getMembers(e) {
2643
+ return a.get(`/projects/${e}/users`);
2644
+ },
2645
+ inviteMembers(e, r) {
2646
+ return a.post(`/projects/${e}/users`, r);
2647
+ },
2648
+ removeMembers(e, r) {
2649
+ return a.delete(`/projects/${e}/users`, {
2650
+ params: { emails: r }
2651
+ });
2652
+ },
2653
+ updateMembersRole(e, r) {
2654
+ return a.patch(`/projects/${e}/users`, r);
1882
2655
  }
1883
2656
  },
1884
2657
  timelapse: {
@@ -2091,6 +2864,32 @@ const Kt = {
2091
2864
  return a.post("/voyage-control/auth/revoke");
2092
2865
  }
2093
2866
  },
2867
+ ring: {
2868
+ authenticate(e) {
2869
+ return a.post("/ring/callback", e);
2870
+ },
2871
+ getDevices() {
2872
+ return a.get("/ring/devices");
2873
+ },
2874
+ importDevices(e) {
2875
+ return a.post("/ring/devices/import", e);
2876
+ },
2877
+ moveDevice(e, r) {
2878
+ return a.patch(`/ring/devices/${e}/move`, r);
2879
+ },
2880
+ deleteDevice(e) {
2881
+ return a.delete(`/ring/devices/${e}`);
2882
+ },
2883
+ disconnect() {
2884
+ return a.post("/ring/disconnect");
2885
+ },
2886
+ startLiveView(e, r) {
2887
+ return a.post(`/ring/devices/${e}/live`, r);
2888
+ },
2889
+ stopLiveView(e, r) {
2890
+ return a.delete(`/ring/devices/${e}/live/${r}`);
2891
+ }
2892
+ },
2094
2893
  xweather: {
2095
2894
  connect(e, r) {
2096
2895
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2110,12 +2909,12 @@ const Kt = {
2110
2909
  params: r
2111
2910
  });
2112
2911
  },
2113
- nearest(e, r, t, s) {
2912
+ nearest(e, r, t, o) {
2114
2913
  return a.get(
2115
2914
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2116
2915
  {
2117
2916
  params: t,
2118
- ...s || {}
2917
+ ...o || {}
2119
2918
  }
2120
2919
  );
2121
2920
  },
@@ -2123,12 +2922,14 @@ const Kt = {
2123
2922
  cameraId: e,
2124
2923
  year: r,
2125
2924
  month: t,
2126
- payload: s
2925
+ payload: o,
2926
+ cancelToken: i
2127
2927
  }) {
2128
2928
  return a.get(
2129
2929
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2130
2930
  {
2131
- params: s
2931
+ params: o,
2932
+ cancelToken: i
2132
2933
  }
2133
2934
  );
2134
2935
  },
@@ -2136,30 +2937,31 @@ const Kt = {
2136
2937
  cameraId: e,
2137
2938
  year: r,
2138
2939
  month: t,
2139
- day: s,
2140
- payload: o,
2141
- cancelToken: l
2940
+ day: o,
2941
+ payload: i,
2942
+ cancelToken: g
2142
2943
  }) {
2143
2944
  return a.get(
2144
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
2945
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2145
2946
  {
2146
- params: o,
2147
- cancelToken: l
2947
+ params: i,
2948
+ cancelToken: g
2148
2949
  }
2149
2950
  );
2150
2951
  },
2151
2952
  getSnapshot(e, r) {
2152
2953
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2153
2954
  },
2154
- getSnapshotRange(e, r) {
2955
+ getSnapshotRange(e, r, t) {
2155
2956
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2156
- params: r
2957
+ params: r,
2958
+ ...t || {}
2157
2959
  });
2158
2960
  }
2159
2961
  },
2160
2962
  progressPhotos: {
2161
- index() {
2162
- return a.get("/progress-photos");
2963
+ index(e) {
2964
+ return a.get(`/projects/${e}/progress-photos`);
2163
2965
  },
2164
2966
  show(e) {
2165
2967
  return a.get(`/progress-photos/${e}`);
@@ -2172,19 +2974,19 @@ const Kt = {
2172
2974
  },
2173
2975
  unsubscribe(e, r) {
2174
2976
  return a.patch(
2175
- `/progress-photos/${e}/unsubscribe?${g(
2977
+ `/progress-photos/${e}/unsubscribe?${u(
2176
2978
  r
2177
2979
  )}`
2178
2980
  );
2179
2981
  },
2180
2982
  delete(e, r) {
2181
- return a.delete(`/progress-photos/${e}?${g(r)}`);
2983
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2182
2984
  }
2183
2985
  },
2184
2986
  mediaHub: {
2185
2987
  getAllMedia(e, r) {
2186
2988
  return a.get(
2187
- `projects/${e}/media-hub?${g(r, {
2989
+ `projects/${e}/media-hub?${u(r, {
2188
2990
  forceArrayBrackets: !0
2189
2991
  })}`
2190
2992
  );
@@ -2195,8 +2997,12 @@ const Kt = {
2195
2997
  cShow(e, r) {
2196
2998
  return a.get(`/projects/${e}/media-hub/${r}`);
2197
2999
  },
2198
- cCreate(e, r) {
2199
- return a.post(`/projects/${e}/media-hub`, r);
3000
+ cCreate(e, r, t = (o) => {
3001
+ }) {
3002
+ return a.post(`/projects/${e}/media-hub`, r, {
3003
+ onUploadProgress: t,
3004
+ timeout: 72e5
3005
+ });
2200
3006
  },
2201
3007
  cUpdate(e, r, t) {
2202
3008
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2206,51 +3012,14 @@ const Kt = {
2206
3012
  }
2207
3013
  },
2208
3014
  shares: {
2209
- updateShareRights(e, r) {
2210
- return a.patch(`/cameras/${e}/shares`, r);
2211
- },
2212
- updateShareRequestRights(e, r) {
2213
- return a.patch(`/cameras/${e}/shares/requests`, r);
2214
- },
2215
- cIndex(e) {
2216
- return a.get(`/cameras/${e}/shares`);
2217
- },
2218
- getShareRequest(e, r) {
2219
- return a.get(`/cameras/${e}/shares/requests`, {
2220
- params: r
2221
- });
2222
- },
2223
- deleteShare(e, r) {
2224
- return a.delete(`/cameras/${e}/shares`, r);
2225
- },
2226
- deleteRequest(e, r) {
2227
- return a.delete(`/cameras/${e}/shares/requests`, r);
2228
- },
2229
3015
  deleteShareRequest(e) {
2230
3016
  return a.delete(`/share-requests/${e.params.key}`);
2231
3017
  },
2232
3018
  getSharedUsers(e) {
2233
3019
  return a.get(`/cameras/${e}/shares/users`);
2234
3020
  },
2235
- cCreate(e, r) {
2236
- return a.post(`/cameras/${e}/shares`, r);
2237
- },
2238
- shareProjectCameras(e, r) {
2239
- return a.post(`/projects/${e}/shares/cameras`, r);
2240
- },
2241
3021
  getShareRequestByKey(e) {
2242
3022
  return a.get(`/shares/requests/${e}`);
2243
- },
2244
- resendShareRequest(e, r) {
2245
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2246
- },
2247
- getProjectShares(e) {
2248
- return a.get(
2249
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2250
- );
2251
- },
2252
- updateUserRestriction(e, r) {
2253
- return a.patch(`/projects/${e}/shares/cameras`, r);
2254
3023
  }
2255
3024
  },
2256
3025
  company: {
@@ -2266,7 +3035,8 @@ const Kt = {
2266
3035
  return a.get("/company/projects", e);
2267
3036
  },
2268
3037
  getCompanyCameras(e) {
2269
- return a.get("/company/cameras", e);
3038
+ const r = "params" in e ? e : { params: e };
3039
+ return a.get("/company/cameras", r);
2270
3040
  },
2271
3041
  getCompanyKits(e) {
2272
3042
  return a.get("/company/kits", e);
@@ -2322,7 +3092,7 @@ const Kt = {
2322
3092
  },
2323
3093
  archiveOrUnarchiveComment(e, r, t) {
2324
3094
  return a.patch(
2325
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
3095
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2326
3096
  );
2327
3097
  },
2328
3098
  deleteComment(e, r) {
@@ -2334,6 +3104,14 @@ const Kt = {
2334
3104
  return a.get("/proxy/storyblok", { params: e });
2335
3105
  }
2336
3106
  },
3107
+ snapshots: {
3108
+ deliverViaEmail(e, r) {
3109
+ return a.post(
3110
+ `/projects/${e}/snapshots/deliver/email`,
3111
+ r
3112
+ );
3113
+ }
3114
+ },
2337
3115
  mailing: {
2338
3116
  unsubscribe(e) {
2339
3117
  return a.post("/mailing/unsubscribe", e);
@@ -2341,7 +3119,7 @@ const Kt = {
2341
3119
  },
2342
3120
  widgets: {
2343
3121
  index(e) {
2344
- return a.get(`/widgets?${g(e)}`);
3122
+ return a.get(`/widgets?${u(e)}`);
2345
3123
  },
2346
3124
  show(e) {
2347
3125
  return a.get(`/widgets/${e}`);
@@ -2364,10 +3142,50 @@ const Kt = {
2364
3142
  delete(e) {
2365
3143
  return a.delete(`/widgets/${e}`);
2366
3144
  }
3145
+ },
3146
+ developerApps: {
3147
+ index() {
3148
+ return a.get("/developer/apps");
3149
+ },
3150
+ show(e) {
3151
+ return a.get(`/developer/apps/${e}`);
3152
+ },
3153
+ create(e) {
3154
+ return a.post("/developer/apps", e);
3155
+ },
3156
+ update(e, r) {
3157
+ return a.patch(`/developer/apps/${e}`, r);
3158
+ },
3159
+ delete(e) {
3160
+ return a.delete(`/developer/apps/${e}`);
3161
+ },
3162
+ regenerateSecret(e) {
3163
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
3164
+ }
3165
+ },
3166
+ oauth: {
3167
+ getClientInfo(e, r) {
3168
+ return a.get("/oauth/client-info", {
3169
+ params: { client_id: e, scope: r }
3170
+ });
3171
+ },
3172
+ submitConsent(e) {
3173
+ return a.post("/oauth/consent", e);
3174
+ }
3175
+ },
3176
+ zoho: {
3177
+ getDealLocation(e) {
3178
+ return a.get(`/zoho/deals/${e}/location`);
3179
+ },
3180
+ updateDealLocation(e, r) {
3181
+ return a.post(`/zoho/deals/${e}/location`, r);
3182
+ }
2367
3183
  }
2368
- }, At = {
3184
+ }, Ho = {
2369
3185
  presets: {
2370
- index({ cameraExid: e }) {
3186
+ index({
3187
+ cameraExid: e
3188
+ }) {
2371
3189
  return a.get(`/cameras/${e}/ptz/presets`);
2372
3190
  },
2373
3191
  go({
@@ -2399,6 +3217,14 @@ const Kt = {
2399
3217
  presetName: t
2400
3218
  });
2401
3219
  },
3220
+ updateHome({
3221
+ cameraExid: e,
3222
+ presetName: r
3223
+ }) {
3224
+ return a.post(`/cameras/${e}/ptz/home/set`, {
3225
+ presetName: r
3226
+ });
3227
+ },
2402
3228
  delete({
2403
3229
  cameraExid: e,
2404
3230
  presetId: r
@@ -2416,9 +3242,9 @@ const Kt = {
2416
3242
  },
2417
3243
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2418
3244
  if (!t) {
2419
- const s = r === "in" ? 1 : -1;
3245
+ const o = r === "in" ? 1 : -1;
2420
3246
  return a.post(
2421
- `/cameras/${e}/ptz/relative?zoom=${s}`
3247
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2422
3248
  );
2423
3249
  }
2424
3250
  return a.post(
@@ -2432,302 +3258,380 @@ const Kt = {
2432
3258
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2433
3259
  }
2434
3260
  }
2435
- }, c = (e) => ({
2436
- [m.V1]: a.env.ingestApiUrl,
2437
- [m.V2]: a.env.ingestGpuApiUrl
2438
- })[e], x = {
3261
+ }, c = (e) => e === m.Drone ? (a.env.ingestDroneApi || "").split(";") : e === m.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2439
3262
  drone: {
2440
3263
  createUpload(e, r) {
2441
3264
  return a.post(
2442
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3265
+ `${c(m.Drone)[0]}/drone/${e}/upload`,
2443
3266
  null,
2444
3267
  { params: r }
2445
3268
  );
2446
3269
  },
2447
- reprocessDrone(e, r) {
2448
- return a.post(
2449
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2450
- null,
2451
- { params: r }
3270
+ async reprocessDrone(e, r = {}) {
3271
+ const t = await T.utils.chooseIngestApiUrl(
3272
+ m.Drone
2452
3273
  );
3274
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2453
3275
  },
2454
3276
  getDrones(e) {
2455
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3277
+ return a.get(
3278
+ `${c(m.Drone)[0]}/drone/uploads/`,
3279
+ e
3280
+ );
2456
3281
  },
2457
3282
  getArchive(e, r) {
2458
3283
  return a.get(
2459
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3284
+ `${c(m.Drone)[0]}/drone/uploads/archive/${e}`,
2460
3285
  {
2461
3286
  params: r
2462
3287
  }
2463
3288
  );
2464
3289
  },
2465
3290
  deleteUpload(e) {
2466
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3291
+ return a.delete(
3292
+ `${c(m.Drone)[0]}/drone/uploads/${e}`
3293
+ );
2467
3294
  },
2468
3295
  prepareForUpload(e, r) {
2469
3296
  return a.put(
2470
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3297
+ `${c(m.Drone)[0]}/drone/${e}/prepare-upload`,
2471
3298
  null,
2472
3299
  { params: r }
2473
3300
  );
2474
3301
  },
2475
- upload(e, r, t) {
2476
- return a.put(
2477
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2478
- t,
2479
- { params: r }
3302
+ async upload(e, r, t) {
3303
+ const o = await T.utils.chooseIngestApiUrl(
3304
+ m.Drone
2480
3305
  );
3306
+ return a.put(`${o}/drone/${e}/upload`, t, {
3307
+ params: r
3308
+ });
2481
3309
  },
2482
3310
  verifyToken(e, r) {
2483
3311
  return a.get(
2484
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3312
+ `${c(m.Drone)[0]}/drone/uploads/${e}/verify`,
2485
3313
  {
2486
3314
  params: { token: r.token }
2487
3315
  }
2488
3316
  );
2489
3317
  },
2490
- calculateMeasuringOperation(e, r) {
3318
+ calculateMeasuringOperation(e, r, t = c(m.Drone)[0]) {
2491
3319
  return a.post(
2492
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3320
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2493
3321
  r
2494
3322
  );
2495
3323
  },
2496
3324
  inspectionTool(e, r) {
2497
3325
  return a.post(
2498
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3326
+ `${c(m.Drone)[0]}/drone/api/${e}/inspection-tool`,
2499
3327
  r
2500
3328
  );
2501
3329
  },
2502
- isInspectionEnabled(e, r) {
3330
+ isInspectionEnabled(e, r = {}) {
2503
3331
  return a.post(
2504
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3332
+ `${c(m.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2505
3333
  null,
2506
3334
  { params: r }
2507
3335
  );
2508
3336
  },
2509
- getDroneQueueSize(e = m.V1) {
2510
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2511
- return a.get(`${r}/drone/queue`);
3337
+ getDroneQueueSize(e) {
3338
+ return a.get(`${e}/drone/queue`);
2512
3339
  },
2513
3340
  getFlightImages(e, r) {
2514
3341
  return a.get(
2515
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3342
+ `${c(m.Drone)[0]}/drone/api/${e}/flight-images`,
2516
3343
  {
2517
3344
  params: r
2518
3345
  }
2519
3346
  );
2520
3347
  },
2521
- checkFlightAvailableFeatures(e, r) {
2522
- return a.get(
2523
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2524
- {
2525
- params: r
2526
- }
2527
- );
3348
+ async checkFlightAvailableFeatures(e, r) {
3349
+ var p;
3350
+ const t = c(m.Drone), i = (await Promise.all(
3351
+ t.map(async (d) => {
3352
+ try {
3353
+ return { ...await a.get(
3354
+ `${d}/drone/api/${e}/flight-available-features`,
3355
+ { params: r }
3356
+ ), ingestUrl: d };
3357
+ } catch {
3358
+ return null;
3359
+ }
3360
+ })
3361
+ )).filter(Boolean), g = i.find((d) => d.isVolumeToolEnabled);
3362
+ return (p = g != null ? g : i[0]) != null ? p : {};
2528
3363
  }
2529
3364
  },
2530
3365
  assets360: {
2531
- get360Assets(e, r = m.V1) {
2532
- return a.get(`${c(r)}/360/assets/`, e);
3366
+ get360Assets(e) {
3367
+ const r = c(m.ThreeSixty)[0];
3368
+ return a.get(`${r}/360/assets/`, e);
2533
3369
  },
2534
- get360AssetsCounts(e, r, t = m.V2) {
2535
- return a.get(
2536
- `${c(t)}/360/assets/${e}/counts`,
2537
- {
2538
- params: r
2539
- }
2540
- );
3370
+ get360AssetsCounts(e, r) {
3371
+ const t = c(m.ThreeSixty)[0];
3372
+ return a.get(`${t}/360/assets/${e}/counts`, {
3373
+ params: r
3374
+ });
2541
3375
  },
2542
- get360AssetLink(e, r, t, s, o, l) {
3376
+ get360AssetLink(e, r, t, o, i, g) {
2543
3377
  return a.get(
2544
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${o}`,
3378
+ `${c(m.ThreeSixty)[0]}/360/assets/${e}/${r}/${i}`,
2545
3379
  {
2546
- params: { marker: l, assetType: s, name: t }
3380
+ params: { marker: g, assetType: o, name: t }
2547
3381
  }
2548
3382
  );
2549
3383
  },
2550
- update360(e, r, t = m.V2) {
2551
- return a.put(`${c(t)}/360/assets/${e}`, r);
3384
+ update360(e, r) {
3385
+ const t = c(m.ThreeSixty)[0];
3386
+ return a.put(`${t}/360/assets/${e}`, r);
2552
3387
  },
2553
- update360ByProjectDateName(e, r, t, s, o = m.V2) {
3388
+ update360ByProjectDateName(e, r, t, o) {
3389
+ const i = c(m.ThreeSixty)[0];
2554
3390
  return a.put(
2555
- `${c(o)}/360/assets/${e}/${r}/${t}`,
2556
- s
3391
+ `${i}/360/assets/${e}/${r}/${t}`,
3392
+ o
2557
3393
  );
2558
3394
  },
2559
- deleteUpload(e, r = m.V2) {
2560
- return a.delete(`${c(r)}/360/assets/${e}`);
3395
+ deleteUpload(e) {
3396
+ const r = c(m.ThreeSixty)[0];
3397
+ return a.delete(`${r}/360/assets/${e}`);
2561
3398
  },
2562
- getArchive(e, r, t = m.V2) {
2563
- return a.get(`${c(t)}/360/assets/archive/${e}`, {
3399
+ getArchive(e, r) {
3400
+ const t = c(m.ThreeSixty)[0];
3401
+ return a.get(`${t}/360/assets/archive/${e}`, {
2564
3402
  params: r
2565
3403
  });
2566
3404
  },
2567
- createUpload(e, r, t = m.V2) {
2568
- return a.post(
2569
- `${c(t)}/360/${e}/upload`,
2570
- null,
2571
- { params: r }
2572
- );
3405
+ createUpload(e, r) {
3406
+ const t = c(m.ThreeSixty)[0];
3407
+ return a.post(`${t}/360/${e}/upload`, null, {
3408
+ params: r
3409
+ });
2573
3410
  },
2574
- upload(e, r, t, s = m.V2) {
2575
- return a.put(
2576
- `${c(s)}/360/${e}/upload`,
2577
- t,
2578
- { params: r }
3411
+ async upload(e, r, t) {
3412
+ const o = await T.utils.chooseIngestApiUrl(
3413
+ m.ThreeSixty
2579
3414
  );
3415
+ return a.put(`${o}/360/${e}/upload`, t, {
3416
+ params: r,
3417
+ headers: {
3418
+ "X-Processing-Source": "DASHBOARD"
3419
+ }
3420
+ });
2580
3421
  },
2581
- reprocess360(e, r = m.V2) {
2582
- return a.put(`${c(r)}/360/${e}/reprocess`);
3422
+ async reprocess360(e) {
3423
+ const r = await T.utils.chooseIngestApiUrl(
3424
+ m.ThreeSixty
3425
+ );
3426
+ return a.put(`${r}/360/${e}/reprocess`);
2583
3427
  },
2584
- drawingExists(e, r = m.V2) {
3428
+ drawingExists(e) {
2585
3429
  var t;
3430
+ const r = c(m.ThreeSixty)[0];
2586
3431
  return a.get(
2587
- `${c(r)}/360/floors/exists?${g(
3432
+ `${r}/360/floors/exists?${u(
2588
3433
  (t = e.params) != null ? t : e
2589
3434
  )}`
2590
3435
  );
2591
3436
  },
2592
- getDrawings(e, r = m.V2) {
3437
+ getDrawings(e) {
2593
3438
  var t;
3439
+ const r = c(m.ThreeSixty)[0];
2594
3440
  return a.get(
2595
- `${c(r)}/360/floors/?${g(
2596
- (t = e.params) != null ? t : e
2597
- )}`
3441
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
3442
+ e.config
2598
3443
  );
2599
3444
  },
2600
- getDrawingById(e, r, t = m.V2) {
3445
+ getDrawingById(e, r) {
3446
+ const t = c(m.ThreeSixty)[0];
2601
3447
  return a.get(
2602
- `${c(t)}/360/floors/${e}?project_id=${r}`
3448
+ `${t}/360/floors/${e}?project_id=${r}`
2603
3449
  );
2604
3450
  },
2605
- updateDrawing(e, r, t, s = m.V2) {
3451
+ updateDrawing(e, r, t) {
3452
+ const o = c(m.ThreeSixty)[0];
2606
3453
  return a.put(
2607
- `${c(
2608
- s
2609
- )}/360/floors/${e}?project_id=${r}`,
3454
+ `${o}/360/floors/${e}?project_id=${r}`,
2610
3455
  t
2611
3456
  );
2612
3457
  },
2613
- deleteDrawing(e, r = m.V2) {
2614
- return a.delete(`${c(r)}/360/floors/${e}`);
3458
+ deleteDrawing(e) {
3459
+ const r = c(m.ThreeSixty)[0];
3460
+ return a.delete(`${r}/360/floors/${e}`);
2615
3461
  },
2616
- transferWalks(e, r, t, s = m.V2) {
3462
+ transferWalks(e, r, t) {
3463
+ const o = c(m.ThreeSixty)[0];
2617
3464
  return a.post(
2618
- `${c(
2619
- s
2620
- )}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3465
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2621
3466
  );
2622
3467
  },
2623
- createDrawing(e, r, t, s = m.V2) {
3468
+ createDrawing(e, r, t) {
3469
+ const o = c(m.ThreeSixty)[0];
2624
3470
  return a.post(
2625
- `${c(
2626
- s
2627
- )}/360/floors/${e}?created_by=${t}`,
3471
+ `${o}/360/floors/${e}?created_by=${t}`,
2628
3472
  r
2629
3473
  );
2630
3474
  },
2631
- fetchDrawingOverlay(e, r, t, s = m.V2) {
2632
- return a.get(`${c(s)}/360/floors/${e}/overlay`, {
3475
+ fetchDrawingOverlay(e, r, t) {
3476
+ const o = c(m.ThreeSixty)[0];
3477
+ return a.get(`${o}/360/floors/${e}/overlay`, {
2633
3478
  params: r,
2634
3479
  onDownloadProgress: t
2635
3480
  });
2636
3481
  },
2637
- generate360map(e, r, t = m.V2) {
3482
+ getFloorArchive(e) {
3483
+ const r = c(m.ThreeSixty)[0];
3484
+ return a.get(`${r}/360/floors/${e}/archive`);
3485
+ },
3486
+ generate360map(e, r) {
3487
+ const t = c(m.ThreeSixty)[0];
2638
3488
  return a.post(
2639
- `${c(t)}/360/api/${e}/generate-360-map`,
3489
+ `${t}/360/api/${e}/generate-360-map`,
2640
3490
  r
2641
3491
  );
2642
3492
  },
2643
- get360QueueSize(e, r = m.V2) {
2644
- return a.get(`${c(r)}/360/queue`, { params: e });
3493
+ get360QueueSize(e, r = {}) {
3494
+ return a.get(`${e}/360/queue`, { params: r });
2645
3495
  }
2646
3496
  },
2647
3497
  bim: {
2648
3498
  createUpload(e, r) {
2649
3499
  return a.post(
2650
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3500
+ `${c(m.Drone)[0]}/bim/${e}/upload`,
2651
3501
  null,
2652
3502
  { params: r }
2653
3503
  );
2654
3504
  },
2655
3505
  getBIMs(e) {
2656
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3506
+ return a.get(
3507
+ `${c(m.Drone)[0]}/bim/uploads/`,
3508
+ e
3509
+ );
2657
3510
  },
2658
3511
  getArchive(e) {
2659
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3512
+ return a.get(
3513
+ `${c(m.Drone)[0]}/bim/uploads/archive/${e}`
3514
+ );
2660
3515
  },
2661
3516
  deleteUpload(e) {
2662
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3517
+ return a.delete(
3518
+ `${c(m.Drone)[0]}/bim/uploads/${e}`
3519
+ );
2663
3520
  },
2664
3521
  upload(e, r, t) {
2665
3522
  return a.put(
2666
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3523
+ `${c(m.Drone)[0]}/bim/${e}/upload`,
2667
3524
  t,
2668
3525
  { params: r }
2669
3526
  );
2670
3527
  }
2671
3528
  },
3529
+ webhook: {
3530
+ notifyBimUpdated(e, r) {
3531
+ const t = {
3532
+ eventName: "bim.updated",
3533
+ projectId: e,
3534
+ data: {
3535
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3536
+ bimIdentifier: r
3537
+ }
3538
+ };
3539
+ return a.post(
3540
+ `${c(m.Drone)[0]}/webhook/`,
3541
+ t
3542
+ );
3543
+ }
3544
+ },
2672
3545
  mobileCapture: {
2673
- getProjectMobileAssets(e, r = {}, t = m.V2) {
2674
- return a.get(`${c(t)}/mobile/assets/`, {
3546
+ getProjectMobileAssets(e, r = {}) {
3547
+ const t = c(m.ThreeSixty)[0];
3548
+ return a.get(`${t}/mobile/assets/`, {
2675
3549
  params: e,
2676
3550
  ...r
2677
3551
  });
2678
3552
  },
2679
- getMobileAssetPhoto(e, r, t = m.V2) {
2680
- return a.get(`${c(t)}/mobile/assets/${e}`, {
3553
+ getMobileAssetPhoto(e, r) {
3554
+ const t = c(m.ThreeSixty)[0];
3555
+ return a.get(`${t}/mobile/assets/${e}`, {
2681
3556
  params: r
2682
3557
  });
2683
3558
  },
2684
- deleteAsset(e, r = m.V2) {
2685
- return a.delete(
2686
- `${c(r)}/mobile/assets/${e}`
2687
- );
3559
+ deleteAsset(e) {
3560
+ const r = c(m.ThreeSixty)[0];
3561
+ return a.delete(`${r}/mobile/assets/${e}`);
2688
3562
  }
2689
3563
  },
2690
3564
  utils: {
2691
3565
  async loadAllAssetsInQueue() {
2692
3566
  try {
2693
- const e = [m.V1, m.V2], r = [];
2694
- for (const t of e) {
2695
- const [s, o] = await Promise.all([
2696
- x.assets360.get360QueueSize({}, t),
2697
- x.drone.getDroneQueueSize(t)
2698
- ]), l = [
2699
- s == null ? void 0 : s.assets360,
2700
- o == null ? void 0 : o.assetsDrone
2701
- ].flatMap(
2702
- (n) => (n || []).map((p) => ({
2703
- ...p,
2704
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2705
- }))
2706
- );
2707
- r.push(...l);
2708
- }
2709
- return r.sort(
2710
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3567
+ const e = c(m.Drone), r = c(m.ThreeSixty), t = [], o = await Promise.all(
3568
+ e.map(async (g) => {
3569
+ const p = await T.drone.getDroneQueueSize(g), d = T.utils.getIngestVersion(g);
3570
+ return ((p == null ? void 0 : p.assetsDrone) || []).map((h) => ({
3571
+ ...h,
3572
+ ingestVersion: d.toUpperCase()
3573
+ }));
3574
+ })
3575
+ ), i = await Promise.all(
3576
+ r.map(async (g) => {
3577
+ const p = await T.assets360.get360QueueSize(g), d = T.utils.getIngestVersion(g);
3578
+ return ((p == null ? void 0 : p.assets360) || []).map((h) => ({
3579
+ ...h,
3580
+ ingestVersion: d.toUpperCase()
3581
+ }));
3582
+ })
3583
+ );
3584
+ return t.push(...o.flat(), ...i.flat()), t.sort(
3585
+ (g, p) => new Date(g.updatedAt).getTime() - new Date(p.updatedAt).getTime()
2711
3586
  );
2712
3587
  } catch (e) {
2713
3588
  return console.error("Error:", e), [];
2714
3589
  }
3590
+ },
3591
+ getIngestVersion(e) {
3592
+ var t;
3593
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3594
+ },
3595
+ async chooseIngestApiUrl(e) {
3596
+ const r = c(e);
3597
+ return (await Promise.all(
3598
+ r.map(async (o) => {
3599
+ var i, g;
3600
+ try {
3601
+ let p = 0;
3602
+ if (e === m.Drone) {
3603
+ const d = await T.drone.getDroneQueueSize(o);
3604
+ p = ((i = d == null ? void 0 : d.assetsDrone) == null ? void 0 : i.length) || 0;
3605
+ } else {
3606
+ const d = await T.assets360.get360QueueSize(
3607
+ o
3608
+ );
3609
+ p = ((g = d == null ? void 0 : d.assets360) == null ? void 0 : g.length) || 0;
3610
+ }
3611
+ return { ingestUrl: o, queue: p };
3612
+ } catch {
3613
+ return { ingestUrl: o, queue: 1 / 0 };
3614
+ }
3615
+ })
3616
+ )).reduce(
3617
+ (o, i) => i.queue < o.queue ? i : o
3618
+ ).ingestUrl;
2715
3619
  }
2716
3620
  }
2717
- }, Ct = {
3621
+ }, vo = {
2718
3622
  users: {
2719
3623
  login({
2720
3624
  apiUrl: e,
2721
3625
  username: r,
2722
3626
  password: t
2723
- }, s = {}) {
3627
+ }, o = {}) {
2724
3628
  return a.post(
2725
3629
  `${e}/api/users/login`,
2726
3630
  {
2727
3631
  username: r,
2728
3632
  password: t
2729
3633
  },
2730
- s
3634
+ o
2731
3635
  );
2732
3636
  }
2733
3637
  },
@@ -2754,46 +3658,46 @@ const Kt = {
2754
3658
  apiUrl: e,
2755
3659
  deviceId: r,
2756
3660
  token: t
2757
- }, s = {}) {
3661
+ }, o = {}) {
2758
3662
  return a.get(`${e}/api/devices/${r}`, {
2759
3663
  headers: {
2760
3664
  Authorization: `Bearer ${t}`
2761
3665
  },
2762
- ...s
3666
+ ...o
2763
3667
  });
2764
3668
  },
2765
3669
  getAvailableRecordings({
2766
3670
  apiUrl: e,
2767
3671
  deviceId: r,
2768
3672
  token: t
2769
- }, s = {}) {
3673
+ }, o = {}) {
2770
3674
  return a.get(`${e}/api/devices/${r}/recordings`, {
2771
3675
  headers: {
2772
3676
  Authorization: `Bearer ${t}`
2773
3677
  },
2774
- ...s
3678
+ ...o
2775
3679
  });
2776
3680
  },
2777
3681
  downloadFootage({
2778
3682
  apiUrl: e,
2779
3683
  deviceId: r,
2780
3684
  token: t,
2781
- startDate: s,
2782
- duration: o
3685
+ startDate: o,
3686
+ duration: i
2783
3687
  }) {
2784
3688
  return a.get(`${e}/api/devices/${r}/footage`, {
2785
3689
  headers: {
2786
3690
  Authorization: `Bearer ${t}`
2787
3691
  },
2788
3692
  params: {
2789
- startDate: s,
2790
- duration: o
3693
+ startDate: o,
3694
+ duration: i
2791
3695
  },
2792
3696
  responseType: "blob"
2793
3697
  });
2794
3698
  }
2795
3699
  }
2796
- }, It = {
3700
+ }, Wo = {
2797
3701
  roles: {
2798
3702
  async get(e) {
2799
3703
  return await a.get("/admin/authz/roles", e);
@@ -2819,22 +3723,33 @@ const Kt = {
2819
3723
  async getRoleUsers(e) {
2820
3724
  return a.get(`/admin/authz/roles/${e}/users`);
2821
3725
  },
2822
- async assignUsers(e, r, t) {
3726
+ async assignUsers(e, r, t = "evercam-admin") {
2823
3727
  return a.post(`/admin/authz/roles/${e}/users`, {
2824
3728
  emails: r,
2825
- resource_id: t
3729
+ resourceId: t
2826
3730
  });
2827
3731
  },
2828
- async unassignUsers(e, r, t) {
2829
- return a.delete(`/admin/authz/roles/${e}/users`, {
3732
+ getUserRoles(e, r) {
3733
+ return a.get("/users/roles", {
2830
3734
  params: {
2831
- emails: r,
2832
- resource_id: t
3735
+ resourceId: e || null,
3736
+ resourceType: r || null
2833
3737
  }
2834
3738
  });
3739
+ }
3740
+ },
3741
+ projectRoles: {
3742
+ get(e) {
3743
+ return a.get(`/projects/${e}/roles`);
3744
+ },
3745
+ create(e, r) {
3746
+ return a.post(`/projects/${e}/roles`, r);
2835
3747
  },
2836
- getUserRoles() {
2837
- return a.get("/users/roles");
3748
+ update(e, r, t) {
3749
+ return a.patch(`/projects/${e}/roles/${r}`, t);
3750
+ },
3751
+ delete(e, r) {
3752
+ return a.delete(`/projects/${e}/roles/${r}`);
2838
3753
  }
2839
3754
  },
2840
3755
  scopes: {
@@ -2853,224 +3768,260 @@ const Kt = {
2853
3768
  }
2854
3769
  };
2855
3770
  export {
2856
- te as AconexDocumentDataType,
2857
- se as AconexFormComponentType,
2858
- ie as AconexIdentifiers,
2859
- oe as AconexMandatoryStatus,
2860
- lt as ActiveUsersMetric,
2861
- Lt as AdminApi,
2862
- Jt as AiApi,
2863
- ne as AnalyticsEvent,
2864
- le as AnalyticsEventPageId,
2865
- ge as AnprDirection,
2866
- me as AnprEventStatus,
2867
- Fa as AuditLogActionType,
2868
- It as AuthzApi,
2869
- it as AutomationConfigStep,
2870
- dr as AutomationDialogType,
2871
- st as AutomationProvider,
2872
- ot as AutomationType,
2873
- $e as BIMLayerTypes,
2874
- ct as BadGatewayError,
2875
- nt as BadRequestError,
2876
- Ca as BimCompareWidgetSettingsKeys,
2877
- Se as BimModelType,
2878
- De as BimType,
2879
- Te as BimUploadStatus,
2880
- br as BrainTool,
2881
- Pe as CameraFeatureFlag,
2882
- Me as CameraModel,
2883
- tt as CameraRegion,
2884
- be as CameraStatus,
2885
- de as ClipsCategory,
2886
- Pr as CloudRecordingDuration,
2887
- kr as CloudRecordingFrequency,
2888
- wr as CloudRecordingStatus,
2889
- Ta as CommentsLabel,
2890
- Sa as CommentsScope,
2891
- Ka as CommonWidgetSettingsKeys,
2892
- _e as CompareStatus,
2893
- ht as ConflictError,
2894
- j as Connector,
2895
- ca as ContactRole,
2896
- Ge as CopilotChatProvider,
2897
- Fe as CopilotLayout,
2898
- Ue as CopilotMessageAuthor,
2899
- Be as CopilotMessageType,
2900
- We as CopilotMissingFieldComponent,
2901
- ze as CopilotMissingFieldName,
2902
- xe as CopilotMissingFieldType,
2903
- Oe as CopilotMissingFieldsLabels,
2904
- Ve as CopilotProvider,
2905
- Ne as CopilotSocketEvent,
2906
- je as CopilotStepId,
2907
- He as CopilotSuggestion,
2908
- ve as CopilotToolId,
2909
- at as CountryCode,
2910
- rt as CountryId,
2911
- Ya as DelayUnit,
2912
- Je as DetectionLabel,
2913
- ba as DetectionModel,
2914
- Z as DownloadFileType,
2915
- Le as DroneUrlParams,
2916
- Re as DuplicatedCameraFields,
2917
- Er as EDistortImageModes,
2918
- Ar as EMapTypes,
2919
- Cr as EMarkers,
2920
- Ir as EPageType,
2921
- yr as EPaths,
2922
- ea as EProjectItems,
2923
- ra as ERoles,
2924
- d as ErrorCode,
2925
- h as ErrorType,
2926
- Et as EvercamApi,
2927
- Ze as EvercamApiErrorCode,
2928
- Kt as EvercamLabsApi,
2929
- Ct as ExNvrApi,
2930
- ta as ExNvrDeviceState,
2931
- aa as ExNvrFootageAvailableStatus,
2932
- sa as ExNvrMetricId,
2933
- fa as FeedbackContext,
2934
- ut as ForbiddenError,
2935
- Ye as GateReportDataSource,
2936
- qe as GateReportDetectionType,
2937
- Ke as GateReportEventDirection,
2938
- Xe as GateReportEventType,
2939
- Ee as GateReportExportType,
2940
- Ce as GateReportProcessingStatus,
2941
- Ae as GateReportROIShapeType,
2942
- L as GateReportVehicleType,
2943
- pt as GatewayTimeoutError,
2944
- Va as GrafanaMetricId,
2945
- Ie as HddFormat,
2946
- tr as HddSize,
2947
- er as HddState,
2948
- fe as HddStatus,
2949
- ye as HddType,
2950
- Wt as HlsError,
2951
- Ma as InfoPage,
2952
- x as IngestApi,
2953
- sr as IngestProcessingStatus,
2954
- m as IngestVersions,
2955
- ke as IntensityChangeColors,
2956
- dt as InternalServerError,
2957
- Oa as KitAlarm,
2958
- Ha as KitChartType,
2959
- Na as KitMetricId,
2960
- q as KitMetricPeriod,
2961
- ja as KitRegion,
2962
- Ba as KitStatus,
2963
- Ga as KitStorageTransport,
2964
- Aa as LiveViewWidgetSettingsKeys,
2965
- ir as MapType,
2966
- ce as MediaFileType,
2967
- ue as MediaStatus,
2968
- he as MediaStatusId,
2969
- pe as MediaType,
2970
- or as MobileAssetsType,
2971
- Pa as MobileDevice,
2972
- gt as NotFoundError,
2973
- nr as NotificationType,
2974
- gr as NvrDeviceType,
2975
- mr as NvrHddStatus,
2976
- we as NvrModel,
2977
- xt as OnRequestExpiredTokenInterceptor,
2978
- ae as PathMarkerColor,
2979
- Yr as PerformanceStatus,
2980
- ua as Persona,
2981
- zr as PowerSchedule,
2982
- Wr as PowerType,
2983
- $a as PpeLabel,
2984
- pr as ProcoreObservationCustomFieldDataType,
2985
- cr as ProcoreObservationDefaultFieldNames,
2986
- hr as ProcoreToolUserAccessLevelIds,
2987
- ur as ProcoreTools,
2988
- lr as ProcoreType,
2989
- Tr as ProjectArchiveTier,
2990
- $r as ProjectFeatureFlag,
2991
- Sr as ProjectStatus,
2992
- At as PtzApi,
2993
- _a as PtzDirection,
2994
- Ea as RecordingsWidgetSettingsKeys,
2995
- _r as RoiDirection,
2996
- Dr as RoiShapeType,
2997
- Rr as RoiType,
2998
- xr as RouterStatus,
2999
- Qe as SegmentLabel,
3000
- Lr as SharePermission,
3001
- qr as ShareRequestStatus,
3002
- Zr as ShareType,
3003
- Xr as ShareVisibility,
3004
- za as SiteAnalyticsMode,
3005
- La as SmartSearchCondition,
3006
- Xa as SmartSearchOperatorType,
3007
- xa as SmartSearchQueryComponentType,
3008
- Qa as SmartSearchQueryConditionTypes,
3009
- Ja as SmartSearchQueryOperators,
3010
- qa as SmartSearchQueryReturnType,
3011
- Za as SmartSearchQueryTargets,
3012
- Jr as SmsCommands,
3013
- Qr as SmsStatuses,
3014
- zt as SnapshotError,
3015
- Mr as SnapshotExtractionInterval,
3016
- va as SnapshotExtractionStatus,
3017
- Wa as SnapshotExtractionType,
3018
- Da as TaskStatus,
3019
- ya as ThreeSixtyKeys,
3020
- ia as TimelapseDuration,
3021
- ma as TimelapseExportStep,
3022
- na as TimelapsePeriod,
3023
- la as TimelapseScheduleType,
3024
- oa as TimelapseStatus,
3025
- ga as TimelapseType,
3026
- jr as Timeline360UrlParams,
3027
- Gr as TimelineAnprUrlParams,
3028
- Vr as TimelineBimUrlParams,
3029
- vr as TimelineCommentsUrlParams,
3030
- Or as TimelineDroneUrlParams,
3031
- Hr as TimelineExNvrRecordingsUrlParams,
3032
- Nr as TimelineMediaUrlParams,
3033
- Fr as TimelineMobileCaptureUrlParams,
3034
- Ra as TimelinePrecision,
3035
- Br as TimelineUrlParam,
3036
- mt as UnauthorizedError,
3037
- ka as UnitSystem,
3038
- Ur as UrlParamValue,
3039
- pa as UserFeatureFlag,
3040
- N as VEHICLE_TYPE_IDS,
3041
- Zt as VideoWallApi,
3042
- ha as VideoWallItemType,
3043
- Ia as VideoWallWidgetSettingsKeys,
3044
- fr as VpnServer,
3045
- ar as WarehouseLocation,
3046
- rr as WarehouseLocationIndex,
3047
- Yt as WeatherApi,
3048
- da as WeatherProvider,
3049
- Kr as WebGLExtensions,
3050
- Qt as WebRtcApi,
3051
- et as WidgetType,
3052
- vt as WidgetTypesByResource,
3053
- Ua as ZoomDirection,
3054
- y as _360AssetLabel,
3055
- I as _360AssetType,
3056
- ee as _360Feature,
3057
- re as _360IntergrationType,
3058
- C as _360UrlParams,
3059
- qt as _3dFirebaseApi,
3060
- wa as _3dViewer,
3771
+ fo as AI_APP_CONFIGS,
3772
+ Ro as AI_PROVIDER_CONFIGS,
3773
+ ne as AconexDocumentDataType,
3774
+ le as AconexFormComponentType,
3775
+ pe as AconexIdentifiers,
3776
+ ge as AconexMandatoryStatus,
3777
+ jt as ActiveUsersMetric,
3778
+ jo as AdminApi,
3779
+ Oo as AiApi,
3780
+ Ft as AiApp,
3781
+ Vt as AiConfigsKeyDialogMode,
3782
+ Gt as AiConfigsPromptDialogMode,
3783
+ Ht as AiPromptModel,
3784
+ Nt as AiProvider,
3785
+ ce as AnalyticsEvent,
3786
+ me as AnalyticsEventPageId,
3787
+ ue as AnprDirection,
3788
+ de as AnprEventStatus,
3789
+ Se as AnprExtractionSaveMode,
3790
+ he as AnprExtractionStatus,
3791
+ Wt as AppRuntimeState,
3792
+ et as AuditLogActionType,
3793
+ rt as AuditLogEntity,
3794
+ Wo as AuthzApi,
3795
+ _t as AutomationConfigStep,
3796
+ Ur as AutomationDialogType,
3797
+ Pt as AutomationProvider,
3798
+ Dt as AutomationType,
3799
+ Pe as BIMLayerTypes,
3800
+ Xt as BadGatewayError,
3801
+ xt as BadRequestError,
3802
+ Tt as BimCompareWidgetSettingsKeys,
3803
+ fe as BimModelType,
3804
+ ve as BimType,
3805
+ Re as BimUploadStatus,
3806
+ Gr as BrainTool,
3807
+ Fe as CameraFeatureFlag,
3808
+ Ge as CameraModel,
3809
+ Rt as CameraRegion,
3810
+ Be as CameraStatus,
3811
+ we as ClipsCategory,
3812
+ Hr as CloudRecordingDuration,
3813
+ ko as CloudRecordingDurationLabel,
3814
+ Vr as CloudRecordingFrequency,
3815
+ vr as CloudRecordingStatus,
3816
+ Ga as CommentsLabel,
3817
+ Na as CommentsScope,
3818
+ ht as CommonWidgetSettingsKeys,
3819
+ We as CompareStatus,
3820
+ qt as ConflictError,
3821
+ O as Connector,
3822
+ ja as ContactRole,
3823
+ Je as CopilotChatProvider,
3824
+ Ye as CopilotLayout,
3825
+ xe as CopilotMessageAuthor,
3826
+ ze as CopilotMessageType,
3827
+ Ce as CopilotMissingFieldComponent,
3828
+ Ee as CopilotMissingFieldName,
3829
+ Ae as CopilotMissingFieldType,
3830
+ Ze as CopilotMissingFieldsLabels,
3831
+ Qe as CopilotProvider,
3832
+ Xe as CopilotSocketEvent,
3833
+ Le as CopilotStepId,
3834
+ qe as CopilotSuggestion,
3835
+ Ke as CopilotToolId,
3836
+ ft as CountryCode,
3837
+ Mt as CountryId,
3838
+ dt as DelayUnit,
3839
+ sr as DetectionLabel,
3840
+ Ha as DetectionModel,
3841
+ X as DownloadFileType,
3842
+ ye as DroneMarkerType,
3843
+ rr as DroneProvider,
3844
+ Ie as DroneTagType,
3845
+ er as DroneUrlParams,
3846
+ He as DuplicatedCameraFields,
3847
+ pa as EDistortImageModes,
3848
+ ma as EMapTypes,
3849
+ ca as EMarkers,
3850
+ ie as EModelsType,
3851
+ ua as EPageType,
3852
+ da as EPaths,
3853
+ ha as EProjectItems,
3854
+ Sa as ERoles,
3855
+ k as ErrorCode,
3856
+ $ as ErrorType,
3857
+ Vo as EvercamApi,
3858
+ ar as EvercamApiErrorCode,
3859
+ Go as EvercamLabsApi,
3860
+ vo as ExNvrApi,
3861
+ ka as ExNvrDeviceState,
3862
+ Ta as ExNvrFootageAvailableStatus,
3863
+ ba as ExNvrMetricId,
3864
+ Za as FeedbackContext,
3865
+ Qt as ForbiddenError,
3866
+ Ue as ForgeBimDialogTrigger,
3867
+ _e as ForgeBimFileRejectionReason,
3868
+ De as ForgeBimUploadMethod,
3869
+ je as ForgeBimUploadStage,
3870
+ nr as GateReportDataSource,
3871
+ tr as GateReportDetectionType,
3872
+ lr as GateReportEventDirection,
3873
+ or as GateReportEventType,
3874
+ gr as GateReportExportType,
3875
+ pr as GateReportProcessingStatus,
3876
+ Z as GateReportVehicleType,
3877
+ Zt as GatewayTimeoutError,
3878
+ Aa as GrafanaMetricId,
3879
+ mr as HddFormat,
3880
+ Sr as HddSize,
3881
+ ur as HddState,
3882
+ Ve as HddStatus,
3883
+ cr as HddType,
3884
+ Po as HlsError,
3885
+ La as InfoPage,
3886
+ T as IngestApi,
3887
+ $r as IngestProcessingStatus,
3888
+ m as IngestTypes,
3889
+ kr as IngestVersions,
3890
+ Oe as IntensityChange,
3891
+ $o as IntensityChangeColorMap,
3892
+ Jt as InternalServerError,
3893
+ ta as InviteStatus,
3894
+ Ca as KitAlarm,
3895
+ Ia as KitChartType,
3896
+ Ea as KitMetricId,
3897
+ Q as KitMetricPeriod,
3898
+ Ka as KitRegion,
3899
+ Ya as KitStatus,
3900
+ ya as KitStorageTransport,
3901
+ $t as LiveViewWidgetSettingsKeys,
3902
+ br as MapType,
3903
+ Me as MediaCategory,
3904
+ Te as MediaFileType,
3905
+ ke as MediaStatus,
3906
+ be as MediaStatusId,
3907
+ $e as MediaType,
3908
+ Tr as MobileAssetsType,
3909
+ xa as MobileDevice,
3910
+ zt as NotFoundError,
3911
+ Mr as NotificationType,
3912
+ fr as NvrDeviceType,
3913
+ Rr as NvrHddStatus,
3914
+ Ne as NvrModel,
3915
+ _o as OnRequestExpiredTokenInterceptor,
3916
+ va as Operator,
3917
+ se as PathMarkerColor,
3918
+ na as PerformanceStatus,
3919
+ Ua as Persona,
3920
+ ga as PlannerUrlParams,
3921
+ ea as PowerSchedule,
3922
+ yr as PowerType,
3923
+ Va as PpeLabel,
3924
+ Pr as ProcoreObservationCustomFieldDataType,
3925
+ Dr as ProcoreObservationDefaultFieldNames,
3926
+ jr as ProcoreToolUserAccessLevelIds,
3927
+ _r as ProcoreTools,
3928
+ wr as ProcoreType,
3929
+ Or as ProjectArchiveTier,
3930
+ Fr as ProjectFeatureFlag,
3931
+ Br as ProjectStatus,
3932
+ $a as ProjectStorageProvider,
3933
+ Nr as ProjectStorageStatus,
3934
+ Ho as PtzApi,
3935
+ qa as PtzDirection,
3936
+ St as RecordingsWidgetSettingsKeys,
3937
+ Zr as RoiDirection,
3938
+ Lr as RoiShapeType,
3939
+ zr as RoiType,
3940
+ Ut as RoleResourceType,
3941
+ aa as RouterScanInputMode,
3942
+ ra as RouterStatus,
3943
+ ir as SegmentLabel,
3944
+ oa as ShareVisibility,
3945
+ st as SiteAnalyticsMode,
3946
+ ut as SiteAnalyticsViewType,
3947
+ Bt as SiteViewSoftwareType,
3948
+ Ot as SiteViewerType,
3949
+ it as SmartSearchComponentType,
3950
+ nt as SmartSearchCondition,
3951
+ ct as SmartSearchConditionTypes,
3952
+ pt as SmartSearchOperatorType,
3953
+ mt as SmartSearchOperators,
3954
+ gt as SmartSearchReturnType,
3955
+ lt as SmartSearchTargets,
3956
+ sa as SmsCommands,
3957
+ ia as SmsStatuses,
3958
+ Do as SnapshotError,
3959
+ Wr as SnapshotExtractionInterval,
3960
+ at as SnapshotExtractionStatus,
3961
+ tt as SnapshotExtractionType,
3962
+ ot as SnapshotTransferStatus,
3963
+ Qa as TaskStatus,
3964
+ bt as ThreeSixtyKeys,
3965
+ Ma as TimelapseDuration,
3966
+ Da as TimelapseExportStep,
3967
+ Ra as TimelapsePeriod,
3968
+ fa as TimelapseScheduleType,
3969
+ wa as TimelapseStatus,
3970
+ Pa as TimelapseType,
3971
+ qr as Timeline360UrlParams,
3972
+ Er as TimelineAnprUrlParams,
3973
+ Kr as TimelineBimUrlParams,
3974
+ Ir as TimelineCommentsUrlParams,
3975
+ Jr as TimelineDroneUrlParams,
3976
+ Cr as TimelineExNvrRecordingsUrlParams,
3977
+ Yr as TimelineMediaUrlParams,
3978
+ Ar as TimelineMobileCaptureUrlParams,
3979
+ Xa as TimelinePrecision,
3980
+ Qr as TimelineUrlParam,
3981
+ Lt as UnauthorizedError,
3982
+ Wa as UnitSystem,
3983
+ Xr as UrlParamValue,
3984
+ _a as UserFeatureFlag,
3985
+ To as VEHICLE_TYPE_IDS,
3986
+ vt as VehicleClassifierSource,
3987
+ Uo as VideoWallApi,
3988
+ Ba as VideoWallItemType,
3989
+ kt as VideoWallWidgetSettingsKeys,
3990
+ xr as VpnServer,
3991
+ hr as WarehouseLocation,
3992
+ dr as WarehouseLocationIndex,
3993
+ No as WeatherApi,
3994
+ Fa as WeatherProvider,
3995
+ Oa as WeatherReportScope,
3996
+ la as WebGLExtensions,
3997
+ Fo as WebRtcApi,
3998
+ wt as WidgetType,
3999
+ bo as WidgetTypesByResource,
4000
+ Ja as ZoomDirection,
4001
+ ae as _360AssetLabel,
4002
+ re as _360AssetType,
4003
+ te as _360Feature,
4004
+ oe as _360IntergrationType,
4005
+ y as _360PinType,
4006
+ ee as _360UrlParams,
4007
+ Bo as _3dFirebaseApi,
4008
+ za as _3dViewer,
3061
4009
  a as axios,
3062
- Xt as capitalizeFirstLetter,
3063
4010
  J as ensureCommonHeaders,
3064
- i as getAiApiUrl,
3065
- T as getFirebaseDbApi,
3066
- Nt as getFirebaseStorageToken,
3067
- Ot as getFirebaseStorageUrl,
3068
- c as getIngestApiUrl,
3069
- u as getLabsBaseUrl,
3070
- X as onError,
3071
- $t as onRequest,
3072
- bt as onResponse,
3073
- Vt as queryStringToObject,
3074
- g as toQueryString
4011
+ L as getAiApiUrl,
4012
+ l as getAiApiUrlV2,
4013
+ n as getFirebaseDbApi,
4014
+ po as getFirebaseStorageToken,
4015
+ go as getFirebaseStorageUrl,
4016
+ mo as getForgeTokenServerUrl,
4017
+ c as getIngestApiUrls,
4018
+ S as getLabsBaseUrl,
4019
+ Mo as isCameraRole,
4020
+ wo as isProjectRole,
4021
+ q as onError,
4022
+ Ct as onRequest,
4023
+ Et as onResponse,
4024
+ co as queryStringToObject,
4025
+ u as toQueryString
3075
4026
  };
3076
4027
  //# sourceMappingURL=index.js.map