@burdenoff/microfe-devportal 2026.1108.1 → 2026.1108.2

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 (1402) hide show
  1. package/dist/__tests__/utils/renderWithProviders.d.ts +0 -2
  2. package/dist/_virtual/_rolldown/runtime.js +4 -5
  3. package/dist/dev/main.d.ts +0 -1
  4. package/dist/devportal/AdminDevportalRoot.d.ts +0 -2
  5. package/dist/devportal/AdminDevportalRoot.js +9 -6
  6. package/dist/devportal/AdminDevportalRoot.js.map +1 -1
  7. package/dist/devportal/AdminDevportalRoutes.d.ts +1 -2
  8. package/dist/devportal/AdminDevportalRoutes.js +1 -2
  9. package/dist/devportal/AdminDevportalRoutes.js.map +1 -1
  10. package/dist/devportal/DevportalRoot.d.ts +0 -2
  11. package/dist/devportal/DevportalRoot.js +13 -10
  12. package/dist/devportal/DevportalRoot.js.map +1 -1
  13. package/dist/devportal/DevportalRoutes.d.ts +1 -2
  14. package/dist/devportal/DevportalRoutes.js +19 -17
  15. package/dist/devportal/DevportalRoutes.js.map +1 -1
  16. package/dist/devportal/components/AppCard.d.ts +0 -2
  17. package/dist/devportal/components/AppCard.js +21 -22
  18. package/dist/devportal/components/AppCard.js.map +1 -1
  19. package/dist/devportal/components/ConfirmDialog.d.ts +0 -2
  20. package/dist/devportal/components/ConfirmDialog.js +9 -10
  21. package/dist/devportal/components/ConfirmDialog.js.map +1 -1
  22. package/dist/devportal/components/DataTable.d.ts +1 -3
  23. package/dist/devportal/components/DataTable.js +20 -21
  24. package/dist/devportal/components/DataTable.js.map +1 -1
  25. package/dist/devportal/components/EmptyState.d.ts +0 -2
  26. package/dist/devportal/components/EmptyState.js +1 -2
  27. package/dist/devportal/components/EmptyState.js.map +1 -1
  28. package/dist/devportal/components/FeatureFlaggedRoute.d.ts +0 -2
  29. package/dist/devportal/components/FeatureFlaggedRoute.js +1 -2
  30. package/dist/devportal/components/FeatureFlaggedRoute.js.map +1 -1
  31. package/dist/devportal/components/FormField.d.ts +0 -2
  32. package/dist/devportal/components/FormField.js +23 -24
  33. package/dist/devportal/components/FormField.js.map +1 -1
  34. package/dist/devportal/components/GrantDelegationModal.d.ts +0 -2
  35. package/dist/devportal/components/GrantDelegationModal.js +1 -2
  36. package/dist/devportal/components/GrantDelegationModal.js.map +1 -1
  37. package/dist/devportal/components/ImageUploadField.d.ts +0 -2
  38. package/dist/devportal/components/ImageUploadField.js +1 -2
  39. package/dist/devportal/components/ImageUploadField.js.map +1 -1
  40. package/dist/devportal/components/LoadingState.d.ts +0 -2
  41. package/dist/devportal/components/LoadingState.js +6 -7
  42. package/dist/devportal/components/LoadingState.js.map +1 -1
  43. package/dist/devportal/components/ManifestViewer.d.ts +0 -2
  44. package/dist/devportal/components/ManifestViewer.js +1 -2
  45. package/dist/devportal/components/ManifestViewer.js.map +1 -1
  46. package/dist/devportal/components/MarkdownEditor.d.ts +0 -2
  47. package/dist/devportal/components/MarkdownEditor.js +1 -2
  48. package/dist/devportal/components/MarkdownEditor.js.map +1 -1
  49. package/dist/devportal/components/MultiSelectCombobox.d.ts +1 -2
  50. package/dist/devportal/components/MultiSelectCombobox.js +1 -2
  51. package/dist/devportal/components/MultiSelectCombobox.js.map +1 -1
  52. package/dist/devportal/components/NodeSmokePanel.d.ts +0 -2
  53. package/dist/devportal/components/NodeSmokePanel.js +17 -18
  54. package/dist/devportal/components/NodeSmokePanel.js.map +1 -1
  55. package/dist/devportal/components/OnboardingChecklist.d.ts +0 -2
  56. package/dist/devportal/components/OnboardingChecklist.js +15 -16
  57. package/dist/devportal/components/OnboardingChecklist.js.map +1 -1
  58. package/dist/devportal/components/PackageValidationPanel.d.ts +0 -2
  59. package/dist/devportal/components/PackageValidationPanel.js +12 -13
  60. package/dist/devportal/components/PackageValidationPanel.js.map +1 -1
  61. package/dist/devportal/components/PageLayout.d.ts +0 -2
  62. package/dist/devportal/components/PageLayout.js +16 -17
  63. package/dist/devportal/components/PageLayout.js.map +1 -1
  64. package/dist/devportal/components/PermissionGuard.d.ts +0 -2
  65. package/dist/devportal/components/PermissionGuard.js +5 -6
  66. package/dist/devportal/components/PermissionGuard.js.map +1 -1
  67. package/dist/devportal/components/RegisterPickupLocationModal.d.ts +0 -2
  68. package/dist/devportal/components/RegisterPickupLocationModal.js +13 -14
  69. package/dist/devportal/components/RegisterPickupLocationModal.js.map +1 -1
  70. package/dist/devportal/components/ReportOrderIssueModal.d.ts +0 -2
  71. package/dist/devportal/components/ReportOrderIssueModal.js +1 -2
  72. package/dist/devportal/components/ReportOrderIssueModal.js.map +1 -1
  73. package/dist/devportal/components/SecretDisplay.d.ts +0 -2
  74. package/dist/devportal/components/SecretDisplay.js +8 -9
  75. package/dist/devportal/components/SecretDisplay.js.map +1 -1
  76. package/dist/devportal/components/SectionNav.d.ts +0 -2
  77. package/dist/devportal/components/SectionNav.js +11 -12
  78. package/dist/devportal/components/SectionNav.js.map +1 -1
  79. package/dist/devportal/components/SelectionCheckbox.d.ts +1 -2
  80. package/dist/devportal/components/SelectionCheckbox.js +1 -2
  81. package/dist/devportal/components/SelectionCheckbox.js.map +1 -1
  82. package/dist/devportal/components/StatCard.d.ts +0 -2
  83. package/dist/devportal/components/StatCard.js +1 -2
  84. package/dist/devportal/components/StatCard.js.map +1 -1
  85. package/dist/devportal/components/StatusBadge.d.ts +0 -2
  86. package/dist/devportal/components/StatusBadge.js +18 -19
  87. package/dist/devportal/components/StatusBadge.js.map +1 -1
  88. package/dist/devportal/components/TelemetryErrorBoundary.d.ts +0 -2
  89. package/dist/devportal/components/TelemetryErrorBoundary.js +1 -2
  90. package/dist/devportal/components/TelemetryErrorBoundary.js.map +1 -1
  91. package/dist/devportal/components/index.d.ts +0 -1
  92. package/dist/devportal/components/index.js +22 -21
  93. package/dist/devportal/constants/appCategories.d.ts +0 -1
  94. package/dist/devportal/constants/appCategories.js +1 -2
  95. package/dist/devportal/constants/appCategories.js.map +1 -1
  96. package/dist/devportal/constants/developerLinks.d.ts +0 -1
  97. package/dist/devportal/constants/developerLinks.js +23 -23
  98. package/dist/devportal/constants/developerLinks.js.map +1 -1
  99. package/dist/devportal/constants/permissions.d.ts +0 -1
  100. package/dist/devportal/constants/permissions.js +1 -2
  101. package/dist/devportal/constants/permissions.js.map +1 -1
  102. package/dist/devportal/events/index.d.ts +0 -1
  103. package/dist/devportal/events/index.js +1 -2
  104. package/dist/devportal/events/index.js.map +1 -1
  105. package/dist/devportal/hooks/DevPortalProvider.d.ts +1 -3
  106. package/dist/devportal/hooks/DevPortalProvider.js +2 -3
  107. package/dist/devportal/hooks/DevPortalProvider.js.map +1 -1
  108. package/dist/devportal/hooks/index.d.ts +0 -1
  109. package/dist/devportal/hooks/index.js +6 -5
  110. package/dist/devportal/hooks/useCarrierPickupLocations.d.ts +0 -1
  111. package/dist/devportal/hooks/useCarrierPickupLocations.js +1 -2
  112. package/dist/devportal/hooks/useCarrierPickupLocations.js.map +1 -1
  113. package/dist/devportal/hooks/useGraphQL.d.ts +0 -2
  114. package/dist/devportal/hooks/useGraphQL.js +42 -53
  115. package/dist/devportal/hooks/useGraphQL.js.map +1 -1
  116. package/dist/devportal/hooks/useIsSellerSection.d.ts +0 -1
  117. package/dist/devportal/hooks/useIsSellerSection.js +1 -2
  118. package/dist/devportal/hooks/useIsSellerSection.js.map +1 -1
  119. package/dist/devportal/hooks/useOrganizationPickupAddresses.d.ts +0 -1
  120. package/dist/devportal/hooks/useOrganizationPickupAddresses.js +3 -8
  121. package/dist/devportal/hooks/useOrganizationPickupAddresses.js.map +1 -1
  122. package/dist/devportal/hooks/usePackageUpload.d.ts +0 -1
  123. package/dist/devportal/hooks/usePackageUpload.js +4 -4
  124. package/dist/devportal/hooks/usePackageUpload.js.map +1 -1
  125. package/dist/devportal/hooks/usePermission.d.ts +0 -2
  126. package/dist/devportal/hooks/usePermission.js +2 -3
  127. package/dist/devportal/hooks/usePermission.js.map +1 -1
  128. package/dist/devportal/hooks/useProducts.d.ts +0 -1
  129. package/dist/devportal/hooks/useProducts.js +1 -2
  130. package/dist/devportal/hooks/useProducts.js.map +1 -1
  131. package/dist/devportal/hooks/useSellerOrganization.d.ts +0 -1
  132. package/dist/devportal/hooks/useSellerOrganization.js +1 -2
  133. package/dist/devportal/hooks/useSellerOrganization.js.map +1 -1
  134. package/dist/devportal/index.d.ts +0 -1
  135. package/dist/devportal/index.js +13 -12
  136. package/dist/devportal/pages/AdminOrganizationVerificationPage.d.ts +0 -2
  137. package/dist/devportal/pages/AdminOrganizationVerificationPage.js +13 -13
  138. package/dist/devportal/pages/AdminOrganizationVerificationPage.js.map +1 -1
  139. package/dist/devportal/pages/AdminReviewPage.d.ts +0 -2
  140. package/dist/devportal/pages/AdminReviewPage.js +134 -135
  141. package/dist/devportal/pages/AdminReviewPage.js.map +1 -1
  142. package/dist/devportal/pages/AnalyticsDashboardPage.d.ts +0 -2
  143. package/dist/devportal/pages/AnalyticsDashboardPage.js +66 -67
  144. package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -1
  145. package/dist/devportal/pages/ApiKeysPage.d.ts +0 -2
  146. package/dist/devportal/pages/ApiKeysPage.js +127 -128
  147. package/dist/devportal/pages/ApiKeysPage.js.map +1 -1
  148. package/dist/devportal/pages/AppLogsPage.d.ts +0 -2
  149. package/dist/devportal/pages/AppLogsPage.js +18 -19
  150. package/dist/devportal/pages/AppLogsPage.js.map +1 -1
  151. package/dist/devportal/pages/ApplicationDetailPage.d.ts +0 -2
  152. package/dist/devportal/pages/ApplicationDetailPage.js +779 -778
  153. package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -1
  154. package/dist/devportal/pages/ApplicationVersionsPage.d.ts +0 -2
  155. package/dist/devportal/pages/ApplicationVersionsPage.js +482 -483
  156. package/dist/devportal/pages/ApplicationVersionsPage.js.map +1 -1
  157. package/dist/devportal/pages/ApplicationsPage.d.ts +0 -2
  158. package/dist/devportal/pages/ApplicationsPage.js +35 -36
  159. package/dist/devportal/pages/ApplicationsPage.js.map +1 -1
  160. package/dist/devportal/pages/CreateApiKeyPage.d.ts +0 -2
  161. package/dist/devportal/pages/CreateApiKeyPage.js +39 -39
  162. package/dist/devportal/pages/CreateApiKeyPage.js.map +1 -1
  163. package/dist/devportal/pages/CreateApplicationPage.d.ts +0 -2
  164. package/dist/devportal/pages/CreateApplicationPage.js +136 -137
  165. package/dist/devportal/pages/CreateApplicationPage.js.map +1 -1
  166. package/dist/devportal/pages/CreateOAuthClientPage.d.ts +0 -2
  167. package/dist/devportal/pages/CreateOAuthClientPage.js +25 -24
  168. package/dist/devportal/pages/CreateOAuthClientPage.js.map +1 -1
  169. package/dist/devportal/pages/CreateOrganizationPage.d.ts +0 -2
  170. package/dist/devportal/pages/CreateOrganizationPage.js +32 -39
  171. package/dist/devportal/pages/CreateOrganizationPage.js.map +1 -1
  172. package/dist/devportal/pages/CreatePhysicalItemPage.d.ts +0 -2
  173. package/dist/devportal/pages/CreatePhysicalItemPage.js +102 -103
  174. package/dist/devportal/pages/CreatePhysicalItemPage.js.map +1 -1
  175. package/dist/devportal/pages/CreateWebhookPage.d.ts +0 -2
  176. package/dist/devportal/pages/CreateWebhookPage.js +31 -32
  177. package/dist/devportal/pages/CreateWebhookPage.js.map +1 -1
  178. package/dist/devportal/pages/DashboardPage.d.ts +0 -2
  179. package/dist/devportal/pages/DashboardPage.js +21 -22
  180. package/dist/devportal/pages/DashboardPage.js.map +1 -1
  181. package/dist/devportal/pages/DelegationsPage.d.ts +0 -2
  182. package/dist/devportal/pages/DelegationsPage.js +83 -84
  183. package/dist/devportal/pages/DelegationsPage.js.map +1 -1
  184. package/dist/devportal/pages/DocumentationPage.d.ts +0 -2
  185. package/dist/devportal/pages/DocumentationPage.js +1 -2
  186. package/dist/devportal/pages/DocumentationPage.js.map +1 -1
  187. package/dist/devportal/pages/EditApplicationPage.d.ts +0 -2
  188. package/dist/devportal/pages/EditApplicationPage.js +69 -70
  189. package/dist/devportal/pages/EditApplicationPage.js.map +1 -1
  190. package/dist/devportal/pages/EditPhysicalItemPage.d.ts +0 -2
  191. package/dist/devportal/pages/EditPhysicalItemPage.js +334 -335
  192. package/dist/devportal/pages/EditPhysicalItemPage.js.map +1 -1
  193. package/dist/devportal/pages/InvitationDecisionPage.d.ts +0 -2
  194. package/dist/devportal/pages/InvitationDecisionPage.js +16 -17
  195. package/dist/devportal/pages/InvitationDecisionPage.js.map +1 -1
  196. package/dist/devportal/pages/ListingPreviewPage.d.ts +0 -2
  197. package/dist/devportal/pages/ListingPreviewPage.js +14 -15
  198. package/dist/devportal/pages/ListingPreviewPage.js.map +1 -1
  199. package/dist/devportal/pages/NodeLifecyclePage.d.ts +0 -2
  200. package/dist/devportal/pages/NodeLifecyclePage.js +216 -221
  201. package/dist/devportal/pages/NodeLifecyclePage.js.map +1 -1
  202. package/dist/devportal/pages/OAuthCallbackPage.d.ts +0 -2
  203. package/dist/devportal/pages/OAuthCallbackPage.js +4 -5
  204. package/dist/devportal/pages/OAuthCallbackPage.js.map +1 -1
  205. package/dist/devportal/pages/OAuthClientDetailPage.d.ts +0 -2
  206. package/dist/devportal/pages/OAuthClientDetailPage.js +17 -16
  207. package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -1
  208. package/dist/devportal/pages/OAuthClientsPage.d.ts +0 -2
  209. package/dist/devportal/pages/OAuthClientsPage.js +18 -19
  210. package/dist/devportal/pages/OAuthClientsPage.js.map +1 -1
  211. package/dist/devportal/pages/OrganizationDetailPage.d.ts +0 -2
  212. package/dist/devportal/pages/OrganizationDetailPage.js +444 -450
  213. package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -1
  214. package/dist/devportal/pages/OrganizationMembersPage.d.ts +0 -2
  215. package/dist/devportal/pages/OrganizationMembersPage.js +240 -241
  216. package/dist/devportal/pages/OrganizationMembersPage.js.map +1 -1
  217. package/dist/devportal/pages/OrganizationsPage.d.ts +0 -2
  218. package/dist/devportal/pages/OrganizationsPage.js +34 -35
  219. package/dist/devportal/pages/OrganizationsPage.js.map +1 -1
  220. package/dist/devportal/pages/PublishPage.d.ts +0 -2
  221. package/dist/devportal/pages/PublishPage.js +90 -91
  222. package/dist/devportal/pages/PublishPage.js.map +1 -1
  223. package/dist/devportal/pages/PublisherPayoutsPage.d.ts +0 -2
  224. package/dist/devportal/pages/PublisherPayoutsPage.js +251 -258
  225. package/dist/devportal/pages/PublisherPayoutsPage.js.map +1 -1
  226. package/dist/devportal/pages/PublisherProfilePage.d.ts +0 -2
  227. package/dist/devportal/pages/PublisherProfilePage.js +26 -27
  228. package/dist/devportal/pages/PublisherProfilePage.js.map +1 -1
  229. package/dist/devportal/pages/ResourcesPage.d.ts +0 -2
  230. package/dist/devportal/pages/ResourcesPage.js +17 -18
  231. package/dist/devportal/pages/ResourcesPage.js.map +1 -1
  232. package/dist/devportal/pages/RevenueDashboardPage.d.ts +0 -2
  233. package/dist/devportal/pages/RevenueDashboardPage.js +308 -308
  234. package/dist/devportal/pages/RevenueDashboardPage.js.map +1 -1
  235. package/dist/devportal/pages/RevenueRedirectPage.d.ts +0 -2
  236. package/dist/devportal/pages/SellerDashboardPage.d.ts +0 -2
  237. package/dist/devportal/pages/SellerDashboardPage.js +14 -15
  238. package/dist/devportal/pages/SellerDashboardPage.js.map +1 -1
  239. package/dist/devportal/pages/SellerItemsPage.d.ts +0 -2
  240. package/dist/devportal/pages/SellerItemsPage.js +8 -9
  241. package/dist/devportal/pages/SellerItemsPage.js.map +1 -1
  242. package/dist/devportal/pages/SellerOrdersPage.d.ts +0 -2
  243. package/dist/devportal/pages/SellerOrdersPage.js +10 -14
  244. package/dist/devportal/pages/SellerOrdersPage.js.map +1 -1
  245. package/dist/devportal/pages/SettingsPage.d.ts +0 -2
  246. package/dist/devportal/pages/SettingsPage.js +20 -21
  247. package/dist/devportal/pages/SettingsPage.js.map +1 -1
  248. package/dist/devportal/pages/SetupPage.d.ts +0 -2
  249. package/dist/devportal/pages/SetupPage.js +276 -277
  250. package/dist/devportal/pages/SetupPage.js.map +1 -1
  251. package/dist/devportal/pages/StoreSubmissionPage.d.ts +0 -2
  252. package/dist/devportal/pages/StoreSubmissionPage.js +4 -5
  253. package/dist/devportal/pages/StoreSubmissionPage.js.map +1 -1
  254. package/dist/devportal/pages/WebhookDetailPage.d.ts +0 -2
  255. package/dist/devportal/pages/WebhookDetailPage.js +62 -67
  256. package/dist/devportal/pages/WebhookDetailPage.js.map +1 -1
  257. package/dist/devportal/pages/WebhooksPage.d.ts +0 -2
  258. package/dist/devportal/pages/WebhooksPage.js +130 -131
  259. package/dist/devportal/pages/WebhooksPage.js.map +1 -1
  260. package/dist/devportal/providers/DevportalProvider.d.ts +0 -2
  261. package/dist/devportal/providers/DevportalProvider.js +2 -3
  262. package/dist/devportal/providers/DevportalProvider.js.map +1 -1
  263. package/dist/devportal/store/devportalStore.d.ts +0 -2
  264. package/dist/devportal/store/devportalStore.js +1 -2
  265. package/dist/devportal/store/devportalStore.js.map +1 -1
  266. package/dist/devportal/types/index.d.ts +0 -2
  267. package/dist/devportal/types/index.js +1 -2
  268. package/dist/devportal/types/index.js.map +1 -1
  269. package/dist/devportal/utils/cn.d.ts +0 -2
  270. package/dist/devportal/utils/cn.js +2 -3
  271. package/dist/devportal/utils/cn.js.map +1 -1
  272. package/dist/devportal/utils/constants.d.ts +0 -1
  273. package/dist/devportal/utils/constants.js +1 -2
  274. package/dist/devportal/utils/constants.js.map +1 -1
  275. package/dist/devportal/utils/currency.d.ts +0 -1
  276. package/dist/devportal/utils/currency.js +1 -2
  277. package/dist/devportal/utils/currency.js.map +1 -1
  278. package/dist/devportal/utils/developerOnboarding.d.ts +0 -1
  279. package/dist/devportal/utils/developerOnboarding.js +4 -5
  280. package/dist/devportal/utils/developerOnboarding.js.map +1 -1
  281. package/dist/devportal/utils/graphqlEndpoint.d.ts +0 -1
  282. package/dist/devportal/utils/graphqlEndpoint.js +1 -2
  283. package/dist/devportal/utils/graphqlEndpoint.js.map +1 -1
  284. package/dist/devportal/utils/i18n.d.ts +0 -1
  285. package/dist/devportal/utils/i18n.js +1 -2
  286. package/dist/devportal/utils/i18n.js.map +1 -1
  287. package/dist/devportal/utils/nodeLifecycle.d.ts +0 -2
  288. package/dist/devportal/utils/nodeLifecycle.js +6 -7
  289. package/dist/devportal/utils/nodeLifecycle.js.map +1 -1
  290. package/dist/devportal/utils/publisherPayouts.d.ts +0 -1
  291. package/dist/devportal/utils/publisherPayouts.js +14 -15
  292. package/dist/devportal/utils/publisherPayouts.js.map +1 -1
  293. package/dist/devportal/utils/recaptcha.d.ts +0 -1
  294. package/dist/devportal/utils/recaptcha.js +1 -2
  295. package/dist/devportal/utils/recaptcha.js.map +1 -1
  296. package/dist/devportal/utils/submitForReview.d.ts +0 -1
  297. package/dist/devportal/utils/submitForReview.js +15 -14
  298. package/dist/devportal/utils/submitForReview.js.map +1 -1
  299. package/dist/devportal/utils/uploadErrors.d.ts +0 -1
  300. package/dist/devportal/utils/uploadErrors.js +30 -30
  301. package/dist/devportal/utils/uploadErrors.js.map +1 -1
  302. package/dist/generated/global-operations.d.ts +2379 -2423
  303. package/dist/generated/global-operations.js +6 -5
  304. package/dist/generated/global-operations.js.map +1 -1
  305. package/dist/generated/global-types.d.ts +2 -22
  306. package/dist/generated/global-types.js +1 -2
  307. package/dist/generated/global-types.js.map +1 -1
  308. package/dist/generated/wspace-operations.d.ts +31 -8
  309. package/dist/generated/wspace-operations.js +2 -3
  310. package/dist/generated/wspace-operations.js.map +1 -1
  311. package/dist/generated/wspace-types.d.ts +4 -24
  312. package/dist/index.d.ts +0 -1
  313. package/dist/index.js +1 -1
  314. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
  315. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -1
  316. package/dist/node_modules/@apollo/client/errors/ServerError.js +1 -2
  317. package/dist/node_modules/@apollo/client/errors/ServerError.js.map +1 -1
  318. package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
  319. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -1
  320. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +7 -8
  321. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -1
  322. package/dist/node_modules/@apollo/client/link/subscriptions/index.js +16 -17
  323. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -1
  324. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +5 -6
  325. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -1
  326. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -1
  327. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -1
  328. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +4 -5
  329. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -1
  330. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +1 -2
  331. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -1
  332. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +1 -2
  333. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -1
  334. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +2 -3
  335. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -1
  336. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +1 -2
  337. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -1
  338. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +1 -2
  339. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -1
  340. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +1 -2
  341. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -1
  342. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
  343. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
  344. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
  345. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
  346. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
  347. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
  348. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
  349. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
  350. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +1 -2
  351. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -1
  352. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
  353. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
  354. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
  355. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
  356. package/dist/node_modules/@apollo/client/version.js +2 -3
  357. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  358. package/dist/node_modules/@wry/caches/lib/weak.js +1 -2
  359. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -1
  360. package/dist/node_modules/@wry/trie/lib/index.js +2 -3
  361. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -1
  362. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  363. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  364. package/dist/node_modules/d3-array/dist/d3-array.js +204 -0
  365. package/dist/node_modules/d3-array/dist/d3-array.js.map +1 -0
  366. package/dist/node_modules/d3-color/dist/d3-color.js +388 -0
  367. package/dist/node_modules/d3-color/dist/d3-color.js.map +1 -0
  368. package/dist/node_modules/d3-format/dist/d3-format.js +186 -0
  369. package/dist/node_modules/d3-format/dist/d3-format.js.map +1 -0
  370. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +185 -0
  371. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js.map +1 -0
  372. package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +39 -14
  373. package/dist/node_modules/d3-path/dist/d3-path.js.map +1 -0
  374. package/dist/node_modules/d3-scale/dist/d3-scale.js +622 -0
  375. package/dist/node_modules/d3-scale/dist/d3-scale.js.map +1 -0
  376. package/dist/node_modules/d3-shape/dist/d3-shape.js +901 -0
  377. package/dist/node_modules/d3-shape/dist/d3-shape.js.map +1 -0
  378. package/dist/node_modules/d3-time/dist/d3-time.js +241 -0
  379. package/dist/node_modules/d3-time/dist/d3-time.js.map +1 -0
  380. package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +229 -174
  381. package/dist/node_modules/d3-time-format/dist/d3-time-format.js.map +1 -0
  382. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +1 -2
  383. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -1
  384. package/dist/node_modules/date-fns/_lib/defaultOptions.js +1 -2
  385. package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -1
  386. package/dist/node_modules/date-fns/_lib/format/formatters.js +29 -22
  387. package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -1
  388. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +3 -4
  389. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -1
  390. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +2 -5
  391. package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -1
  392. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +2 -3
  393. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -1
  394. package/dist/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  395. package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -1
  396. package/dist/node_modules/date-fns/constants.js +5 -5
  397. package/dist/node_modules/date-fns/constants.js.map +1 -1
  398. package/dist/node_modules/date-fns/constructFrom.js +2 -3
  399. package/dist/node_modules/date-fns/constructFrom.js.map +1 -1
  400. package/dist/node_modules/date-fns/differenceInCalendarDays.js +2 -3
  401. package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -1
  402. package/dist/node_modules/date-fns/format.js +15 -16
  403. package/dist/node_modules/date-fns/format.js.map +1 -1
  404. package/dist/node_modules/date-fns/getDayOfYear.js +7 -8
  405. package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -1
  406. package/dist/node_modules/date-fns/getISOWeek.js +8 -9
  407. package/dist/node_modules/date-fns/getISOWeek.js.map +1 -1
  408. package/dist/node_modules/date-fns/getISOWeekYear.js +8 -9
  409. package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -1
  410. package/dist/node_modules/date-fns/getWeek.js +8 -9
  411. package/dist/node_modules/date-fns/getWeek.js.map +1 -1
  412. package/dist/node_modules/date-fns/getWeekYear.js +9 -10
  413. package/dist/node_modules/date-fns/getWeekYear.js.map +1 -1
  414. package/dist/node_modules/date-fns/isDate.js +2 -3
  415. package/dist/node_modules/date-fns/isDate.js.map +1 -1
  416. package/dist/node_modules/date-fns/isValid.js +6 -7
  417. package/dist/node_modules/date-fns/isValid.js.map +1 -1
  418. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +1 -2
  419. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -1
  420. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +1 -2
  421. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -1
  422. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +1 -2
  423. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -1
  424. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +1 -2
  425. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -1
  426. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +1 -2
  427. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -1
  428. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -1
  429. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -1
  430. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +1 -2
  431. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -1
  432. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -1
  433. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -1
  434. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -1
  435. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -1
  436. package/dist/node_modules/date-fns/locale/en-US.js +2 -3
  437. package/dist/node_modules/date-fns/locale/en-US.js.map +1 -1
  438. package/dist/node_modules/date-fns/startOfDay.js +2 -3
  439. package/dist/node_modules/date-fns/startOfDay.js.map +1 -1
  440. package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
  441. package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -1
  442. package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
  443. package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -1
  444. package/dist/node_modules/date-fns/startOfWeek.js +2 -3
  445. package/dist/node_modules/date-fns/startOfWeek.js.map +1 -1
  446. package/dist/node_modules/date-fns/startOfWeekYear.js +6 -7
  447. package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -1
  448. package/dist/node_modules/date-fns/startOfYear.js +3 -4
  449. package/dist/node_modules/date-fns/startOfYear.js.map +1 -1
  450. package/dist/node_modules/date-fns/toDate.js +2 -3
  451. package/dist/node_modules/date-fns/toDate.js.map +1 -1
  452. package/dist/node_modules/decimal.js-light/decimal.js +33 -30
  453. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  454. package/dist/node_modules/eventemitter3/index.js +2 -3
  455. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  456. package/dist/node_modules/fast-equals/dist/es/index.js +109 -79
  457. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  458. package/dist/node_modules/graphql-ws/dist/client.js +76 -69
  459. package/dist/node_modules/graphql-ws/dist/client.js.map +1 -1
  460. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +2 -3
  461. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -1
  462. package/dist/node_modules/lodash/_DataView.js +4 -5
  463. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  464. package/dist/node_modules/lodash/_Hash.js +1 -2
  465. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  466. package/dist/node_modules/lodash/_ListCache.js +1 -2
  467. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  468. package/dist/node_modules/lodash/_Map.js +4 -5
  469. package/dist/node_modules/lodash/_Map.js.map +1 -1
  470. package/dist/node_modules/lodash/_MapCache.js +1 -2
  471. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  472. package/dist/node_modules/lodash/_Promise.js +4 -5
  473. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  474. package/dist/node_modules/lodash/_Set.js +4 -5
  475. package/dist/node_modules/lodash/_Set.js.map +1 -1
  476. package/dist/node_modules/lodash/_SetCache.js +1 -2
  477. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  478. package/dist/node_modules/lodash/_Stack.js +3 -3
  479. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  480. package/dist/node_modules/lodash/_Symbol.js +1 -2
  481. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  482. package/dist/node_modules/lodash/_Uint8Array.js +1 -2
  483. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  484. package/dist/node_modules/lodash/_WeakMap.js +4 -5
  485. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  486. package/dist/node_modules/lodash/_apply.js +1 -2
  487. package/dist/node_modules/lodash/_apply.js.map +1 -1
  488. package/dist/node_modules/lodash/_arrayEvery.js +1 -2
  489. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  490. package/dist/node_modules/lodash/_arrayFilter.js +1 -2
  491. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  492. package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
  493. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  494. package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
  495. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  496. package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
  497. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  498. package/dist/node_modules/lodash/_arrayMap.js +1 -2
  499. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  500. package/dist/node_modules/lodash/_arrayPush.js +1 -2
  501. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  502. package/dist/node_modules/lodash/_arraySome.js +1 -2
  503. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  504. package/dist/node_modules/lodash/_asciiToArray.js +1 -2
  505. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  506. package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
  507. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  508. package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
  509. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  510. package/dist/node_modules/lodash/_baseEach.js +1 -2
  511. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  512. package/dist/node_modules/lodash/_baseEvery.js +1 -2
  513. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  514. package/dist/node_modules/lodash/_baseExtremum.js +1 -2
  515. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  516. package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
  517. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  518. package/dist/node_modules/lodash/_baseFlatten.js +1 -2
  519. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  520. package/dist/node_modules/lodash/_baseFor.js +1 -2
  521. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  522. package/dist/node_modules/lodash/_baseForOwn.js +4 -5
  523. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  524. package/dist/node_modules/lodash/_baseGet.js +1 -2
  525. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  526. package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
  527. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  528. package/dist/node_modules/lodash/_baseGetTag.js +1 -2
  529. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  530. package/dist/node_modules/lodash/_baseGt.js +1 -2
  531. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  532. package/dist/node_modules/lodash/_baseHasIn.js +1 -2
  533. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  534. package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
  535. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  536. package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
  537. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  538. package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
  539. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  540. package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
  541. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  542. package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
  543. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  544. package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
  545. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  546. package/dist/node_modules/lodash/_baseIsNative.js +5 -6
  547. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  548. package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
  549. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  550. package/dist/node_modules/lodash/_baseIteratee.js +6 -7
  551. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  552. package/dist/node_modules/lodash/_baseKeys.js +1 -2
  553. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  554. package/dist/node_modules/lodash/_baseLt.js +1 -2
  555. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  556. package/dist/node_modules/lodash/_baseMap.js +4 -5
  557. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  558. package/dist/node_modules/lodash/_baseMatches.js +1 -2
  559. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  560. package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
  561. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  562. package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
  563. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  564. package/dist/node_modules/lodash/_baseProperty.js +1 -2
  565. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  566. package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
  567. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  568. package/dist/node_modules/lodash/_baseRange.js +1 -2
  569. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  570. package/dist/node_modules/lodash/_baseRest.js +1 -2
  571. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  572. package/dist/node_modules/lodash/_baseSetToString.js +5 -6
  573. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  574. package/dist/node_modules/lodash/_baseSlice.js +1 -2
  575. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  576. package/dist/node_modules/lodash/_baseSome.js +1 -2
  577. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  578. package/dist/node_modules/lodash/_baseSortBy.js +1 -2
  579. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  580. package/dist/node_modules/lodash/_baseTimes.js +1 -2
  581. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  582. package/dist/node_modules/lodash/_baseToString.js +6 -7
  583. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  584. package/dist/node_modules/lodash/_baseTrim.js +1 -2
  585. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  586. package/dist/node_modules/lodash/_baseUnary.js +1 -2
  587. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  588. package/dist/node_modules/lodash/_baseUniq.js +7 -8
  589. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  590. package/dist/node_modules/lodash/_cacheHas.js +1 -2
  591. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  592. package/dist/node_modules/lodash/_castPath.js +1 -2
  593. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  594. package/dist/node_modules/lodash/_castSlice.js +1 -2
  595. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  596. package/dist/node_modules/lodash/_compareAscending.js +1 -2
  597. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  598. package/dist/node_modules/lodash/_compareMultiple.js +1 -2
  599. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  600. package/dist/node_modules/lodash/_coreJsData.js +1 -2
  601. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  602. package/dist/node_modules/lodash/_createBaseEach.js +1 -2
  603. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  604. package/dist/node_modules/lodash/_createBaseFor.js +1 -2
  605. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  606. package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
  607. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  608. package/dist/node_modules/lodash/_createFind.js +5 -6
  609. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  610. package/dist/node_modules/lodash/_createRange.js +4 -5
  611. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  612. package/dist/node_modules/lodash/_createSet.js +6 -7
  613. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  614. package/dist/node_modules/lodash/_defineProperty.js +1 -2
  615. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  616. package/dist/node_modules/lodash/_equalArrays.js +1 -2
  617. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  618. package/dist/node_modules/lodash/_equalByTag.js +5 -6
  619. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  620. package/dist/node_modules/lodash/_equalObjects.js +1 -2
  621. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  622. package/dist/node_modules/lodash/_freeGlobal.js +1 -2
  623. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  624. package/dist/node_modules/lodash/_getAllKeys.js +1 -2
  625. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  626. package/dist/node_modules/lodash/_getMapData.js +1 -2
  627. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  628. package/dist/node_modules/lodash/_getMatchData.js +4 -5
  629. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  630. package/dist/node_modules/lodash/_getNative.js +1 -2
  631. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  632. package/dist/node_modules/lodash/_getPrototype.js +1 -2
  633. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  634. package/dist/node_modules/lodash/_getRawTag.js +1 -2
  635. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  636. package/dist/node_modules/lodash/_getSymbols.js +1 -2
  637. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  638. package/dist/node_modules/lodash/_getTag.js +9 -10
  639. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  640. package/dist/node_modules/lodash/_getValue.js +1 -2
  641. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  642. package/dist/node_modules/lodash/_hasPath.js +8 -9
  643. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  644. package/dist/node_modules/lodash/_hasUnicode.js +1 -2
  645. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  646. package/dist/node_modules/lodash/_hashClear.js +1 -2
  647. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  648. package/dist/node_modules/lodash/_hashDelete.js +1 -2
  649. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  650. package/dist/node_modules/lodash/_hashGet.js +1 -2
  651. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  652. package/dist/node_modules/lodash/_hashHas.js +1 -2
  653. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  654. package/dist/node_modules/lodash/_hashSet.js +1 -2
  655. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  656. package/dist/node_modules/lodash/_isFlattenable.js +5 -6
  657. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  658. package/dist/node_modules/lodash/_isIndex.js +6 -7
  659. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  660. package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
  661. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  662. package/dist/node_modules/lodash/_isKey.js +1 -2
  663. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  664. package/dist/node_modules/lodash/_isKeyable.js +1 -2
  665. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  666. package/dist/node_modules/lodash/_isMasked.js +1 -2
  667. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  668. package/dist/node_modules/lodash/_isPrototype.js +1 -2
  669. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  670. package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
  671. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  672. package/dist/node_modules/lodash/_listCacheClear.js +1 -2
  673. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  674. package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
  675. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  676. package/dist/node_modules/lodash/_listCacheGet.js +1 -2
  677. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  678. package/dist/node_modules/lodash/_listCacheHas.js +1 -2
  679. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  680. package/dist/node_modules/lodash/_listCacheSet.js +1 -2
  681. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  682. package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
  683. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  684. package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
  685. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  686. package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
  687. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  688. package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
  689. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  690. package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
  691. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  692. package/dist/node_modules/lodash/_mapToArray.js +1 -2
  693. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  694. package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
  695. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  696. package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
  697. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  698. package/dist/node_modules/lodash/_nativeCreate.js +1 -2
  699. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  700. package/dist/node_modules/lodash/_nativeKeys.js +1 -2
  701. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  702. package/dist/node_modules/lodash/_nodeUtil.js +1 -2
  703. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  704. package/dist/node_modules/lodash/_objectToString.js +1 -2
  705. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  706. package/dist/node_modules/lodash/_overArg.js +1 -2
  707. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  708. package/dist/node_modules/lodash/_overRest.js +1 -2
  709. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  710. package/dist/node_modules/lodash/_root.js +1 -2
  711. package/dist/node_modules/lodash/_root.js.map +1 -1
  712. package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
  713. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  714. package/dist/node_modules/lodash/_setCacheHas.js +1 -2
  715. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  716. package/dist/node_modules/lodash/_setToArray.js +1 -2
  717. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  718. package/dist/node_modules/lodash/_setToString.js +1 -2
  719. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  720. package/dist/node_modules/lodash/_shortOut.js +8 -9
  721. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  722. package/dist/node_modules/lodash/_stackClear.js +1 -2
  723. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  724. package/dist/node_modules/lodash/_stackDelete.js +1 -2
  725. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  726. package/dist/node_modules/lodash/_stackGet.js +1 -2
  727. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  728. package/dist/node_modules/lodash/_stackHas.js +1 -2
  729. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  730. package/dist/node_modules/lodash/_stackSet.js +1 -2
  731. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  732. package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
  733. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  734. package/dist/node_modules/lodash/_stringToArray.js +4 -5
  735. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  736. package/dist/node_modules/lodash/_stringToPath.js +1 -2
  737. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  738. package/dist/node_modules/lodash/_toKey.js +2 -3
  739. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  740. package/dist/node_modules/lodash/_toSource.js +1 -2
  741. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  742. package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
  743. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  744. package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
  745. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  746. package/dist/node_modules/lodash/constant.js +1 -2
  747. package/dist/node_modules/lodash/constant.js.map +1 -1
  748. package/dist/node_modules/lodash/debounce.js +1 -2
  749. package/dist/node_modules/lodash/debounce.js.map +1 -1
  750. package/dist/node_modules/lodash/eq.js +1 -2
  751. package/dist/node_modules/lodash/eq.js.map +1 -1
  752. package/dist/node_modules/lodash/every.js +7 -8
  753. package/dist/node_modules/lodash/every.js.map +1 -1
  754. package/dist/node_modules/lodash/find.js +1 -2
  755. package/dist/node_modules/lodash/find.js.map +1 -1
  756. package/dist/node_modules/lodash/findIndex.js +4 -5
  757. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  758. package/dist/node_modules/lodash/flatMap.js +1 -2
  759. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  760. package/dist/node_modules/lodash/get.js +1 -2
  761. package/dist/node_modules/lodash/get.js.map +1 -1
  762. package/dist/node_modules/lodash/hasIn.js +1 -2
  763. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  764. package/dist/node_modules/lodash/identity.js +1 -2
  765. package/dist/node_modules/lodash/identity.js.map +1 -1
  766. package/dist/node_modules/lodash/isArguments.js +4 -5
  767. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  768. package/dist/node_modules/lodash/isArray.js +1 -2
  769. package/dist/node_modules/lodash/isArray.js.map +1 -1
  770. package/dist/node_modules/lodash/isArrayLike.js +1 -2
  771. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  772. package/dist/node_modules/lodash/isBoolean.js +1 -2
  773. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  774. package/dist/node_modules/lodash/isBuffer.js +1 -2
  775. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  776. package/dist/node_modules/lodash/isEqual.js +1 -2
  777. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  778. package/dist/node_modules/lodash/isFunction.js +1 -2
  779. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  780. package/dist/node_modules/lodash/isLength.js +4 -6
  781. package/dist/node_modules/lodash/isLength.js.map +1 -1
  782. package/dist/node_modules/lodash/isNaN.js +1 -2
  783. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  784. package/dist/node_modules/lodash/isNil.js +1 -2
  785. package/dist/node_modules/lodash/isNil.js.map +1 -1
  786. package/dist/node_modules/lodash/isNumber.js +1 -2
  787. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  788. package/dist/node_modules/lodash/isObject.js +1 -2
  789. package/dist/node_modules/lodash/isObject.js.map +1 -1
  790. package/dist/node_modules/lodash/isObjectLike.js +1 -2
  791. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  792. package/dist/node_modules/lodash/isPlainObject.js +4 -5
  793. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  794. package/dist/node_modules/lodash/isString.js +4 -5
  795. package/dist/node_modules/lodash/isString.js.map +1 -1
  796. package/dist/node_modules/lodash/isSymbol.js +1 -2
  797. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  798. package/dist/node_modules/lodash/isTypedArray.js +1 -2
  799. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  800. package/dist/node_modules/lodash/keys.js +1 -2
  801. package/dist/node_modules/lodash/keys.js.map +1 -1
  802. package/dist/node_modules/lodash/last.js +1 -2
  803. package/dist/node_modules/lodash/last.js.map +1 -1
  804. package/dist/node_modules/lodash/map.js +6 -7
  805. package/dist/node_modules/lodash/map.js.map +1 -1
  806. package/dist/node_modules/lodash/mapValues.js +4 -5
  807. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  808. package/dist/node_modules/lodash/max.js +5 -6
  809. package/dist/node_modules/lodash/max.js.map +1 -1
  810. package/dist/node_modules/lodash/memoize.js +1 -2
  811. package/dist/node_modules/lodash/memoize.js.map +1 -1
  812. package/dist/node_modules/lodash/min.js +5 -6
  813. package/dist/node_modules/lodash/min.js.map +1 -1
  814. package/dist/node_modules/lodash/noop.js +1 -2
  815. package/dist/node_modules/lodash/noop.js.map +1 -1
  816. package/dist/node_modules/lodash/now.js +1 -2
  817. package/dist/node_modules/lodash/now.js.map +1 -1
  818. package/dist/node_modules/lodash/property.js +6 -7
  819. package/dist/node_modules/lodash/property.js.map +1 -1
  820. package/dist/node_modules/lodash/range.js +1 -2
  821. package/dist/node_modules/lodash/range.js.map +1 -1
  822. package/dist/node_modules/lodash/some.js +7 -8
  823. package/dist/node_modules/lodash/some.js.map +1 -1
  824. package/dist/node_modules/lodash/sortBy.js +1 -2
  825. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  826. package/dist/node_modules/lodash/stubArray.js +1 -2
  827. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  828. package/dist/node_modules/lodash/stubFalse.js +1 -2
  829. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  830. package/dist/node_modules/lodash/throttle.js +4 -5
  831. package/dist/node_modules/lodash/throttle.js.map +1 -1
  832. package/dist/node_modules/lodash/toFinite.js +2 -3
  833. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  834. package/dist/node_modules/lodash/toInteger.js +1 -2
  835. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  836. package/dist/node_modules/lodash/toNumber.js +4 -5
  837. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  838. package/dist/node_modules/lodash/toString.js +1 -2
  839. package/dist/node_modules/lodash/toString.js.map +1 -1
  840. package/dist/node_modules/lodash/uniqBy.js +1 -2
  841. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  842. package/dist/node_modules/lodash/upperFirst.js +1 -2
  843. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  844. package/dist/node_modules/object-assign/index.js +1 -2
  845. package/dist/node_modules/object-assign/index.js.map +1 -1
  846. package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
  847. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  848. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
  849. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  850. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  851. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  852. package/dist/node_modules/prop-types/index.js +1 -2
  853. package/dist/node_modules/prop-types/index.js.map +1 -1
  854. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
  855. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  856. package/dist/node_modules/prop-types/lib/has.js +1 -2
  857. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  858. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
  859. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  860. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  861. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  862. package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
  863. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  864. package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
  865. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  866. package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  867. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  868. package/dist/node_modules/react-is/index.js +2 -3
  869. package/dist/node_modules/react-is/index.js.map +1 -1
  870. package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
  871. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  872. package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
  873. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  874. package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
  875. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  876. package/dist/node_modules/react-smooth/es6/easing.js +1 -2
  877. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  878. package/dist/node_modules/react-smooth/es6/index.js +1 -2
  879. package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
  880. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
  881. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  882. package/dist/node_modules/react-smooth/es6/util.js +17 -16
  883. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  884. package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
  885. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  886. package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
  887. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  888. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
  889. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  890. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
  891. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
  892. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
  893. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  894. package/dist/node_modules/recharts/es6/cartesian/Line.js +79 -80
  895. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -1
  896. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
  897. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  898. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
  899. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  900. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
  901. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  902. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
  903. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  904. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
  905. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  906. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
  907. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  908. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
  909. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  910. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
  911. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  912. package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
  913. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  914. package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
  915. package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -1
  916. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
  917. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  918. package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
  919. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  920. package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
  921. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  922. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
  923. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  924. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
  925. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  926. package/dist/node_modules/recharts/es6/component/Label.js +85 -86
  927. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  928. package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
  929. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  930. package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
  931. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  932. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
  933. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  934. package/dist/node_modules/recharts/es6/component/Text.js +18 -21
  935. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  936. package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
  937. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  938. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
  939. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  940. package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
  941. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  942. package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
  943. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  944. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
  945. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  946. package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
  947. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  948. package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
  949. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  950. package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
  951. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  952. package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
  953. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  954. package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
  955. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  956. package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
  957. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  958. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
  959. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  960. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
  961. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  962. package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
  963. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  964. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
  965. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  966. package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
  967. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  968. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
  969. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  970. package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
  971. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  972. package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
  973. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  974. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
  975. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  976. package/dist/node_modules/recharts/es6/util/Events.js +0 -1
  977. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  978. package/dist/node_modules/recharts/es6/util/Global.js +0 -1
  979. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  980. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
  981. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  982. package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
  983. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  984. package/dist/node_modules/recharts/es6/util/PolarUtils.js +4 -5
  985. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  986. package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
  987. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  988. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
  989. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  990. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
  991. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  992. package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
  993. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  994. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
  995. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  996. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
  997. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  998. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
  999. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  1000. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
  1001. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  1002. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
  1003. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  1004. package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
  1005. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  1006. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
  1007. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  1008. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
  1009. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  1010. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
  1011. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  1012. package/dist/node_modules/recharts/es6/util/types.js +2 -3
  1013. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  1014. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
  1015. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  1016. package/dist/node_modules/recharts-scale/es6/index.js +1 -1
  1017. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
  1018. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  1019. package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
  1020. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  1021. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
  1022. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
  1023. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +41 -42
  1024. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -1
  1025. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +14 -15
  1026. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
  1027. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +21 -18
  1028. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
  1029. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
  1030. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
  1031. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +1 -2
  1032. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -1
  1033. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +2 -3
  1034. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
  1035. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +1 -2
  1036. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -1
  1037. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
  1038. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
  1039. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
  1040. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
  1041. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
  1042. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
  1043. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +1 -2
  1044. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
  1045. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +1 -2
  1046. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -1
  1047. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
  1048. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
  1049. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
  1050. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
  1051. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +1 -2
  1052. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -1
  1053. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
  1054. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
  1055. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +229 -167
  1056. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  1057. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
  1058. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  1059. package/dist/node_modules/{rxjs/node_modules/tslib → tslib}/tslib.es6.js +1 -2
  1060. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  1061. package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
  1062. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
  1063. package/dist/test/happydom.d.ts +1 -0
  1064. package/dist/translations/en.d.ts +0 -1
  1065. package/dist/translations/en.js +1 -2
  1066. package/dist/translations/en.js.map +1 -1
  1067. package/dist/utils/nativeBridge.d.ts +0 -1
  1068. package/dist/utils/nativeBridge.js +1 -2
  1069. package/package.json +76 -60
  1070. package/dist/__tests__/setup.d.ts +0 -2
  1071. package/dist/__tests__/setup.d.ts.map +0 -1
  1072. package/dist/__tests__/utils/renderWithProviders.d.ts.map +0 -1
  1073. package/dist/dev/main.d.ts.map +0 -1
  1074. package/dist/devportal/AdminDevportalRoot.d.ts.map +0 -1
  1075. package/dist/devportal/AdminDevportalRoutes.d.ts.map +0 -1
  1076. package/dist/devportal/DevportalRoot.d.ts.map +0 -1
  1077. package/dist/devportal/DevportalRoutes.d.ts.map +0 -1
  1078. package/dist/devportal/components/AppCard.d.ts.map +0 -1
  1079. package/dist/devportal/components/ConfirmDialog.d.ts.map +0 -1
  1080. package/dist/devportal/components/DataTable.d.ts.map +0 -1
  1081. package/dist/devportal/components/EmptyState.d.ts.map +0 -1
  1082. package/dist/devportal/components/FeatureFlaggedRoute.d.ts.map +0 -1
  1083. package/dist/devportal/components/FormField.d.ts.map +0 -1
  1084. package/dist/devportal/components/GrantDelegationModal.d.ts.map +0 -1
  1085. package/dist/devportal/components/ImageUploadField.d.ts.map +0 -1
  1086. package/dist/devportal/components/LoadingState.d.ts.map +0 -1
  1087. package/dist/devportal/components/ManifestViewer.d.ts.map +0 -1
  1088. package/dist/devportal/components/MarkdownEditor.d.ts.map +0 -1
  1089. package/dist/devportal/components/MultiSelectCombobox.d.ts.map +0 -1
  1090. package/dist/devportal/components/NodeSmokePanel.d.ts.map +0 -1
  1091. package/dist/devportal/components/OnboardingChecklist.d.ts.map +0 -1
  1092. package/dist/devportal/components/PackageValidationPanel.d.ts.map +0 -1
  1093. package/dist/devportal/components/PageLayout.d.ts.map +0 -1
  1094. package/dist/devportal/components/PermissionGuard.d.ts.map +0 -1
  1095. package/dist/devportal/components/RegisterPickupLocationModal.d.ts.map +0 -1
  1096. package/dist/devportal/components/ReportOrderIssueModal.d.ts.map +0 -1
  1097. package/dist/devportal/components/SecretDisplay.d.ts.map +0 -1
  1098. package/dist/devportal/components/SectionNav.d.ts.map +0 -1
  1099. package/dist/devportal/components/SelectionCheckbox.d.ts.map +0 -1
  1100. package/dist/devportal/components/StatCard.d.ts.map +0 -1
  1101. package/dist/devportal/components/StatusBadge.d.ts.map +0 -1
  1102. package/dist/devportal/components/TelemetryErrorBoundary.d.ts.map +0 -1
  1103. package/dist/devportal/components/index.d.ts.map +0 -1
  1104. package/dist/devportal/constants/appCategories.d.ts.map +0 -1
  1105. package/dist/devportal/constants/developerLinks.d.ts.map +0 -1
  1106. package/dist/devportal/constants/permissions.d.ts.map +0 -1
  1107. package/dist/devportal/events/index.d.ts.map +0 -1
  1108. package/dist/devportal/hooks/DevPortalProvider.d.ts.map +0 -1
  1109. package/dist/devportal/hooks/index.d.ts.map +0 -1
  1110. package/dist/devportal/hooks/useCarrierPickupLocations.d.ts.map +0 -1
  1111. package/dist/devportal/hooks/useGraphQL.d.ts.map +0 -1
  1112. package/dist/devportal/hooks/useIsSellerSection.d.ts.map +0 -1
  1113. package/dist/devportal/hooks/useOrganizationPickupAddresses.d.ts.map +0 -1
  1114. package/dist/devportal/hooks/usePackageUpload.d.ts.map +0 -1
  1115. package/dist/devportal/hooks/usePermission.d.ts.map +0 -1
  1116. package/dist/devportal/hooks/useProducts.d.ts.map +0 -1
  1117. package/dist/devportal/hooks/useSellerOrganization.d.ts.map +0 -1
  1118. package/dist/devportal/index.d.ts.map +0 -1
  1119. package/dist/devportal/pages/AdminOrganizationVerificationPage.d.ts.map +0 -1
  1120. package/dist/devportal/pages/AdminReviewPage.d.ts.map +0 -1
  1121. package/dist/devportal/pages/AnalyticsDashboardPage.d.ts.map +0 -1
  1122. package/dist/devportal/pages/ApiKeysPage.d.ts.map +0 -1
  1123. package/dist/devportal/pages/AppLogsPage.d.ts.map +0 -1
  1124. package/dist/devportal/pages/ApplicationDetailPage.d.ts.map +0 -1
  1125. package/dist/devportal/pages/ApplicationVersionsPage.d.ts.map +0 -1
  1126. package/dist/devportal/pages/ApplicationsPage.d.ts.map +0 -1
  1127. package/dist/devportal/pages/CreateApiKeyPage.d.ts.map +0 -1
  1128. package/dist/devportal/pages/CreateApplicationPage.d.ts.map +0 -1
  1129. package/dist/devportal/pages/CreateOAuthClientPage.d.ts.map +0 -1
  1130. package/dist/devportal/pages/CreateOrganizationPage.d.ts.map +0 -1
  1131. package/dist/devportal/pages/CreatePhysicalItemPage.d.ts.map +0 -1
  1132. package/dist/devportal/pages/CreateWebhookPage.d.ts.map +0 -1
  1133. package/dist/devportal/pages/DashboardPage.d.ts.map +0 -1
  1134. package/dist/devportal/pages/DelegationsPage.d.ts.map +0 -1
  1135. package/dist/devportal/pages/DocumentationPage.d.ts.map +0 -1
  1136. package/dist/devportal/pages/EditApplicationPage.d.ts.map +0 -1
  1137. package/dist/devportal/pages/EditPhysicalItemPage.d.ts.map +0 -1
  1138. package/dist/devportal/pages/InvitationDecisionPage.d.ts.map +0 -1
  1139. package/dist/devportal/pages/ListingPreviewPage.d.ts.map +0 -1
  1140. package/dist/devportal/pages/NodeLifecyclePage.d.ts.map +0 -1
  1141. package/dist/devportal/pages/OAuthCallbackPage.d.ts.map +0 -1
  1142. package/dist/devportal/pages/OAuthClientDetailPage.d.ts.map +0 -1
  1143. package/dist/devportal/pages/OAuthClientsPage.d.ts.map +0 -1
  1144. package/dist/devportal/pages/OrganizationDetailPage.d.ts.map +0 -1
  1145. package/dist/devportal/pages/OrganizationMembersPage.d.ts.map +0 -1
  1146. package/dist/devportal/pages/OrganizationsPage.d.ts.map +0 -1
  1147. package/dist/devportal/pages/PublishPage.d.ts.map +0 -1
  1148. package/dist/devportal/pages/PublisherPayoutsPage.d.ts.map +0 -1
  1149. package/dist/devportal/pages/PublisherProfilePage.d.ts.map +0 -1
  1150. package/dist/devportal/pages/ResourcesPage.d.ts.map +0 -1
  1151. package/dist/devportal/pages/RevenueDashboardPage.d.ts.map +0 -1
  1152. package/dist/devportal/pages/RevenueRedirectPage.d.ts.map +0 -1
  1153. package/dist/devportal/pages/SellerDashboardPage.d.ts.map +0 -1
  1154. package/dist/devportal/pages/SellerItemsPage.d.ts.map +0 -1
  1155. package/dist/devportal/pages/SellerOrdersPage.d.ts.map +0 -1
  1156. package/dist/devportal/pages/SettingsPage.d.ts.map +0 -1
  1157. package/dist/devportal/pages/SetupPage.d.ts.map +0 -1
  1158. package/dist/devportal/pages/StoreSubmissionPage.d.ts.map +0 -1
  1159. package/dist/devportal/pages/WebhookDetailPage.d.ts.map +0 -1
  1160. package/dist/devportal/pages/WebhooksPage.d.ts.map +0 -1
  1161. package/dist/devportal/providers/DevportalProvider.d.ts.map +0 -1
  1162. package/dist/devportal/store/devportalStore.d.ts.map +0 -1
  1163. package/dist/devportal/types/index.d.ts.map +0 -1
  1164. package/dist/devportal/utils/cn.d.ts.map +0 -1
  1165. package/dist/devportal/utils/constants.d.ts.map +0 -1
  1166. package/dist/devportal/utils/currency.d.ts.map +0 -1
  1167. package/dist/devportal/utils/developerOnboarding.d.ts.map +0 -1
  1168. package/dist/devportal/utils/graphqlEndpoint.d.ts.map +0 -1
  1169. package/dist/devportal/utils/i18n.d.ts.map +0 -1
  1170. package/dist/devportal/utils/nodeLifecycle.d.ts.map +0 -1
  1171. package/dist/devportal/utils/publisherPayouts.d.ts.map +0 -1
  1172. package/dist/devportal/utils/recaptcha.d.ts.map +0 -1
  1173. package/dist/devportal/utils/submitForReview.d.ts.map +0 -1
  1174. package/dist/devportal/utils/uploadErrors.d.ts.map +0 -1
  1175. package/dist/generated/global-operations.d.ts.map +0 -1
  1176. package/dist/generated/global-types.d.ts.map +0 -1
  1177. package/dist/generated/wspace-operations.d.ts.map +0 -1
  1178. package/dist/generated/wspace-types.d.ts.map +0 -1
  1179. package/dist/index.d.ts.map +0 -1
  1180. package/dist/node_modules/d3-array/src/ascending.js +0 -8
  1181. package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
  1182. package/dist/node_modules/d3-array/src/bisect.js +0 -10
  1183. package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
  1184. package/dist/node_modules/d3-array/src/bisector.js +0 -43
  1185. package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
  1186. package/dist/node_modules/d3-array/src/descending.js +0 -8
  1187. package/dist/node_modules/d3-array/src/descending.js.map +0 -1
  1188. package/dist/node_modules/d3-array/src/max.js +0 -14
  1189. package/dist/node_modules/d3-array/src/max.js.map +0 -1
  1190. package/dist/node_modules/d3-array/src/min.js +0 -14
  1191. package/dist/node_modules/d3-array/src/min.js.map +0 -1
  1192. package/dist/node_modules/d3-array/src/number.js +0 -15
  1193. package/dist/node_modules/d3-array/src/number.js.map +0 -1
  1194. package/dist/node_modules/d3-array/src/quantile.js +0 -25
  1195. package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
  1196. package/dist/node_modules/d3-array/src/quickselect.js +0 -26
  1197. package/dist/node_modules/d3-array/src/quickselect.js.map +0 -1
  1198. package/dist/node_modules/d3-array/src/range.js +0 -10
  1199. package/dist/node_modules/d3-array/src/range.js.map +0 -1
  1200. package/dist/node_modules/d3-array/src/sort.js +0 -17
  1201. package/dist/node_modules/d3-array/src/sort.js.map +0 -1
  1202. package/dist/node_modules/d3-array/src/ticks.js +0 -34
  1203. package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
  1204. package/dist/node_modules/d3-color/src/color.js +0 -291
  1205. package/dist/node_modules/d3-color/src/color.js.map +0 -1
  1206. package/dist/node_modules/d3-color/src/define.js +0 -13
  1207. package/dist/node_modules/d3-color/src/define.js.map +0 -1
  1208. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -15
  1209. package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
  1210. package/dist/node_modules/d3-format/src/exponent.js +0 -9
  1211. package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
  1212. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -13
  1213. package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
  1214. package/dist/node_modules/d3-format/src/formatGroup.js +0 -11
  1215. package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
  1216. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -12
  1217. package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
  1218. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -13
  1219. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
  1220. package/dist/node_modules/d3-format/src/formatRounded.js +0 -12
  1221. package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
  1222. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -29
  1223. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
  1224. package/dist/node_modules/d3-format/src/formatTrim.js +0 -20
  1225. package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
  1226. package/dist/node_modules/d3-format/src/formatTypes.js +0 -23
  1227. package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
  1228. package/dist/node_modules/d3-format/src/identity.js +0 -8
  1229. package/dist/node_modules/d3-format/src/identity.js.map +0 -1
  1230. package/dist/node_modules/d3-format/src/locale.js +0 -86
  1231. package/dist/node_modules/d3-format/src/locale.js.map +0 -1
  1232. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -9
  1233. package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
  1234. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -9
  1235. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
  1236. package/dist/node_modules/d3-format/src/precisionRound.js +0 -9
  1237. package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
  1238. package/dist/node_modules/d3-interpolate/src/array.js +0 -15
  1239. package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
  1240. package/dist/node_modules/d3-interpolate/src/basis.js +0 -16
  1241. package/dist/node_modules/d3-interpolate/src/basis.js.map +0 -1
  1242. package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -13
  1243. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +0 -1
  1244. package/dist/node_modules/d3-interpolate/src/color.js +0 -25
  1245. package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
  1246. package/dist/node_modules/d3-interpolate/src/constant.js +0 -6
  1247. package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
  1248. package/dist/node_modules/d3-interpolate/src/date.js +0 -11
  1249. package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
  1250. package/dist/node_modules/d3-interpolate/src/number.js +0 -10
  1251. package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
  1252. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -16
  1253. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
  1254. package/dist/node_modules/d3-interpolate/src/object.js +0 -14
  1255. package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
  1256. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -14
  1257. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
  1258. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -19
  1259. package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
  1260. package/dist/node_modules/d3-interpolate/src/round.js +0 -10
  1261. package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
  1262. package/dist/node_modules/d3-interpolate/src/string.js +0 -28
  1263. package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
  1264. package/dist/node_modules/d3-interpolate/src/value.js +0 -18
  1265. package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
  1266. package/dist/node_modules/d3-path/src/path.js.map +0 -1
  1267. package/dist/node_modules/d3-scale/src/band.js +0 -52
  1268. package/dist/node_modules/d3-scale/src/band.js.map +0 -1
  1269. package/dist/node_modules/d3-scale/src/constant.js +0 -10
  1270. package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
  1271. package/dist/node_modules/d3-scale/src/continuous.js +0 -73
  1272. package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
  1273. package/dist/node_modules/d3-scale/src/diverging.js +0 -82
  1274. package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
  1275. package/dist/node_modules/d3-scale/src/identity.js +0 -20
  1276. package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
  1277. package/dist/node_modules/d3-scale/src/init.js +0 -29
  1278. package/dist/node_modules/d3-scale/src/init.js.map +0 -1
  1279. package/dist/node_modules/d3-scale/src/linear.js +0 -36
  1280. package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
  1281. package/dist/node_modules/d3-scale/src/log.js +0 -77
  1282. package/dist/node_modules/d3-scale/src/log.js.map +0 -1
  1283. package/dist/node_modules/d3-scale/src/nice.js +0 -10
  1284. package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
  1285. package/dist/node_modules/d3-scale/src/number.js +0 -8
  1286. package/dist/node_modules/d3-scale/src/number.js.map +0 -1
  1287. package/dist/node_modules/d3-scale/src/ordinal.js +0 -31
  1288. package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
  1289. package/dist/node_modules/d3-scale/src/pow.js +0 -37
  1290. package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
  1291. package/dist/node_modules/d3-scale/src/quantile.js +0 -37
  1292. package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
  1293. package/dist/node_modules/d3-scale/src/quantize.js +0 -33
  1294. package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
  1295. package/dist/node_modules/d3-scale/src/radial.js +0 -39
  1296. package/dist/node_modules/d3-scale/src/radial.js.map +0 -1
  1297. package/dist/node_modules/d3-scale/src/sequential.js +0 -67
  1298. package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
  1299. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -30
  1300. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +0 -1
  1301. package/dist/node_modules/d3-scale/src/symlog.js +0 -30
  1302. package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
  1303. package/dist/node_modules/d3-scale/src/threshold.js +0 -25
  1304. package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
  1305. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -31
  1306. package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
  1307. package/dist/node_modules/d3-scale/src/time.js +0 -47
  1308. package/dist/node_modules/d3-scale/src/time.js.map +0 -1
  1309. package/dist/node_modules/d3-scale/src/utcTime.js +0 -19
  1310. package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
  1311. package/dist/node_modules/d3-shape/src/area.js +0 -55
  1312. package/dist/node_modules/d3-shape/src/area.js.map +0 -1
  1313. package/dist/node_modules/d3-shape/src/array.js +0 -8
  1314. package/dist/node_modules/d3-shape/src/array.js.map +0 -1
  1315. package/dist/node_modules/d3-shape/src/constant.js +0 -10
  1316. package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
  1317. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -49
  1318. package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
  1319. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -50
  1320. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
  1321. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -46
  1322. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
  1323. package/dist/node_modules/d3-shape/src/curve/bump.js +0 -40
  1324. package/dist/node_modules/d3-shape/src/curve/bump.js.map +0 -1
  1325. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -36
  1326. package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
  1327. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -25
  1328. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
  1329. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -94
  1330. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
  1331. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -39
  1332. package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
  1333. package/dist/node_modules/d3-shape/src/curve/step.js +0 -47
  1334. package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
  1335. package/dist/node_modules/d3-shape/src/line.js +0 -30
  1336. package/dist/node_modules/d3-shape/src/line.js.map +0 -1
  1337. package/dist/node_modules/d3-shape/src/math.js +0 -8
  1338. package/dist/node_modules/d3-shape/src/math.js.map +0 -1
  1339. package/dist/node_modules/d3-shape/src/noop.js +0 -6
  1340. package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
  1341. package/dist/node_modules/d3-shape/src/offset/expand.js +0 -15
  1342. package/dist/node_modules/d3-shape/src/offset/expand.js.map +0 -1
  1343. package/dist/node_modules/d3-shape/src/offset/none.js +0 -8
  1344. package/dist/node_modules/d3-shape/src/offset/none.js.map +0 -1
  1345. package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -15
  1346. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +0 -1
  1347. package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -21
  1348. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +0 -1
  1349. package/dist/node_modules/d3-shape/src/order/none.js +0 -9
  1350. package/dist/node_modules/d3-shape/src/order/none.js.map +0 -1
  1351. package/dist/node_modules/d3-shape/src/path.js +0 -19
  1352. package/dist/node_modules/d3-shape/src/path.js.map +0 -1
  1353. package/dist/node_modules/d3-shape/src/point.js +0 -11
  1354. package/dist/node_modules/d3-shape/src/point.js.map +0 -1
  1355. package/dist/node_modules/d3-shape/src/stack.js +0 -34
  1356. package/dist/node_modules/d3-shape/src/stack.js.map +0 -1
  1357. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -10
  1358. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
  1359. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -10
  1360. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
  1361. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -10
  1362. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
  1363. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -10
  1364. package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
  1365. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -15
  1366. package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
  1367. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -10
  1368. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
  1369. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -10
  1370. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
  1371. package/dist/node_modules/d3-shape/src/symbol.js +0 -23
  1372. package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
  1373. package/dist/node_modules/d3-time/src/day.js +0 -21
  1374. package/dist/node_modules/d3-time/src/day.js.map +0 -1
  1375. package/dist/node_modules/d3-time/src/duration.js +0 -6
  1376. package/dist/node_modules/d3-time/src/duration.js.map +0 -1
  1377. package/dist/node_modules/d3-time/src/hour.js +0 -19
  1378. package/dist/node_modules/d3-time/src/hour.js.map +0 -1
  1379. package/dist/node_modules/d3-time/src/interval.js +0 -28
  1380. package/dist/node_modules/d3-time/src/interval.js.map +0 -1
  1381. package/dist/node_modules/d3-time/src/millisecond.js +0 -14
  1382. package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
  1383. package/dist/node_modules/d3-time/src/minute.js +0 -19
  1384. package/dist/node_modules/d3-time/src/minute.js.map +0 -1
  1385. package/dist/node_modules/d3-time/src/month.js +0 -18
  1386. package/dist/node_modules/d3-time/src/month.js.map +0 -1
  1387. package/dist/node_modules/d3-time/src/second.js +0 -13
  1388. package/dist/node_modules/d3-time/src/second.js.map +0 -1
  1389. package/dist/node_modules/d3-time/src/ticks.js +0 -125
  1390. package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
  1391. package/dist/node_modules/d3-time/src/week.js +0 -25
  1392. package/dist/node_modules/d3-time/src/week.js.map +0 -1
  1393. package/dist/node_modules/d3-time/src/year.js +0 -26
  1394. package/dist/node_modules/d3-time/src/year.js.map +0 -1
  1395. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -62
  1396. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
  1397. package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
  1398. package/dist/node_modules/internmap/src/index.js +0 -40
  1399. package/dist/node_modules/internmap/src/index.js.map +0 -1
  1400. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
  1401. package/dist/translations/en.d.ts.map +0 -1
  1402. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,33 +1,33 @@
1
- import { useDevportal as e } from "../providers/DevportalProvider.js";
2
- import { cn as t } from "../utils/cn.js";
3
- import { LoadingState as n } from "../components/LoadingState.js";
4
- import { EmptyState as r } from "../components/EmptyState.js";
5
- import { useCurrentUserDelegationsQuery as i, useDeactivateApplicationMutation as a, useGetApplicationAnalyticsQuery as o, useGetApplicationQuery as s, useGetApplicationVersionsQuery as c, useGetOrganizationQuery as l, useGetWebhooksQuery as u, useGetWorkspaceInstallationQuery as d, useInstallApplicationMutation as f, usePublishApplicationVersionMutation as p, useRevokeDelegationMutation as m, useRotateAppSecretMutation as h, useShareWorkflowMutation as g, useSubmitApplicationMutation as _, useUninstallApplicationMutation as v, useUnshareWorkflowMutation as y, useUpdateApplicationMutation as b } from "../../generated/global-operations.js";
6
- import { PageLayout as x, PageSection as S } from "../components/PageLayout.js";
7
- import { APP_TYPE_LABELS as C } from "../utils/constants.js";
8
- import { FeaturedBadge as w, StatusBadge as T, VerifiedBadge as E } from "../components/StatusBadge.js";
9
- import { SelectionCheckbox as D } from "../components/SelectionCheckbox.js";
10
- import { nativeNotify as O } from "../../utils/nativeBridge.js";
11
- import { NewSecretAlert as ee } from "../components/SecretDisplay.js";
12
- import { DataTable as te, DetailList as ne } from "../components/DataTable.js";
13
- import { InputField as k, SelectField as re, TextareaField as ie } from "../components/FormField.js";
14
- import { ConfirmDialog as ae } from "../components/ConfirmDialog.js";
15
- import { GrantDelegationModal as oe } from "../components/GrantDelegationModal.js";
16
- import { MarkdownEditor as se } from "../components/MarkdownEditor.js";
17
- import { DEVELOPER_LINKS as ce } from "../constants/developerLinks.js";
18
- import { useDevportalPermission as le } from "../hooks/usePermission.js";
19
- import { DEVPORTAL_PERMISSIONS as ue } from "../constants/permissions.js";
20
- import { ImageUploadField as de, ScreenshotGallery as fe } from "../components/ImageUploadField.js";
21
- import { usePackageUpload as pe } from "../hooks/usePackageUpload.js";
22
- import { submitForReview as me } from "../utils/submitForReview.js";
23
- import { useCallback as A, useEffect as he, useMemo as j, useRef as ge, useState as M } from "react";
24
- import { Markdown as _e } from "@burdenoff/fe-libs/shared/components";
25
- import { AlertCircle as N, AppWindow as ve, BarChart3 as ye, Check as P, CheckCircle as be, ChevronRight as xe, CircleDollarSign as F, Clock as Se, Copy as Ce, Edit as we, ExternalLink as I, FlaskConical as Te, Gift as Ee, Info as De, Key as L, Link as Oe, Loader2 as R, Lock as ke, MoreHorizontal as Ae, Package as je, Plus as z, Power as Me, RefreshCw as Ne, SendHorizontal as Pe, Shield as B, Store as Fe, TrendingUp as Ie, Upload as Le, Users as Re, Wallet as V, Webhook as ze, X as Be, XCircle as Ve } from "lucide-react";
1
+ import { PageLayout as e, PageSection as t } from "../components/PageLayout.js";
2
+ import { InputField as n, SelectField as r, TextareaField as i } from "../components/FormField.js";
3
+ import { MarkdownEditor as a } from "../components/MarkdownEditor.js";
4
+ import { ImageUploadField as o, ScreenshotGallery as s } from "../components/ImageUploadField.js";
5
+ import { FeaturedBadge as c, StatusBadge as l, VerifiedBadge as u } from "../components/StatusBadge.js";
6
+ import { DataTable as d, DetailList as f } from "../components/DataTable.js";
7
+ import { NewSecretAlert as p } from "../components/SecretDisplay.js";
8
+ import { EmptyState as m } from "../components/EmptyState.js";
9
+ import { LoadingState as h } from "../components/LoadingState.js";
10
+ import { ConfirmDialog as g } from "../components/ConfirmDialog.js";
11
+ import { SelectionCheckbox as _ } from "../components/SelectionCheckbox.js";
12
+ import { GrantDelegationModal as v } from "../components/GrantDelegationModal.js";
13
+ import { useDevportal as y } from "../providers/DevportalProvider.js";
14
+ import { usePackageUpload as b } from "../hooks/usePackageUpload.js";
15
+ import { nativeNotify as x } from "../../utils/nativeBridge.js";
16
+ import { submitForReview as S } from "../utils/submitForReview.js";
17
+ import { DEVPORTAL_PERMISSIONS as C } from "../constants/permissions.js";
18
+ import { DEVELOPER_LINKS as w } from "../constants/developerLinks.js";
19
+ import { useDevportalPermission as T } from "../hooks/usePermission.js";
20
+ import { cn as E } from "../utils/cn.js";
21
+ import { APP_TYPE_LABELS as D } from "../utils/constants.js";
22
+ import { useCurrentUserDelegationsQuery as O, useDeactivateApplicationMutation as ee, useGetApplicationAnalyticsQuery as te, useGetApplicationQuery as ne, useGetApplicationVersionsQuery as re, useGetOrganizationQuery as k, useGetWebhooksQuery as A, useGetWorkspaceInstallationQuery as ie, useInstallApplicationMutation as ae, usePublishApplicationVersionMutation as oe, useRevokeDelegationMutation as se, useRotateAppSecretMutation as ce, useShareWorkflowMutation as le, useSubmitApplicationMutation as ue, useUninstallApplicationMutation as de, useUnshareWorkflowMutation as fe, useUpdateApplicationMutation as pe } from "../../generated/global-operations.js";
23
+ import { useCallback as j, useEffect as me, useMemo as M, useRef as he, useState as N } from "react";
24
+ import { Markdown as ge } from "@burdenoff/fe-libs/shared/components";
25
+ import { AlertCircle as _e, AppWindow as ve, BarChart3 as ye, Check as P, CheckCircle as be, ChevronRight as xe, CircleDollarSign as F, Clock as Se, Copy as Ce, Edit as we, ExternalLink as I, FlaskConical as Te, Gift as Ee, Info as De, Key as L, Link as Oe, Loader2 as R, Lock as ke, MoreHorizontal as Ae, Package as je, Plus as z, Power as Me, RefreshCw as Ne, SendHorizontal as Pe, Shield as B, Store as Fe, TrendingUp as Ie, Upload as Le, Users as Re, Wallet as V, Webhook as ze, X as Be, XCircle as Ve } from "lucide-react";
26
26
  import { useParams as He } from "react-router";
27
27
  import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
28
28
  import { useI18n as G } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
29
29
  import { CTAOverflowMenu as Ue, EmphasisPanel as We, GlassCard as Ge } from "@burdenoff/fe-libs/ui";
30
- //#region src/devportal/pages/ApplicationDetailPage.tsx
30
+ // src/devportal/pages/ApplicationDetailPage.tsx
31
31
  function Ke(e) {
32
32
  return e ? {
33
33
  id: e.id,
@@ -215,7 +215,7 @@ var Xe = [
215
215
  })]
216
216
  }), K = ({ message: e }) => /* @__PURE__ */ W("div", {
217
217
  className: "flex flex-col items-center justify-center gap-2 py-12 text-center",
218
- children: [/* @__PURE__ */ U(N, {
218
+ children: [/* @__PURE__ */ U(_e, {
219
219
  size: 32,
220
220
  className: "text-status-error-text"
221
221
  }), /* @__PURE__ */ U("p", {
@@ -223,110 +223,110 @@ var Xe = [
223
223
  children: e
224
224
  })]
225
225
  }), q = () => {
226
- let { navigate: i, basePath: o, workspaceId: c } = e(), { t: u } = G(), m = (e, t) => {
227
- let n = u(e);
226
+ let { navigate: t, basePath: n, workspaceId: i } = y(), { t: a } = G(), o = (e, t) => {
227
+ let n = a(e);
228
228
  return n === e ? t : n;
229
- }, { allowed: g } = le(ue.APP_UPDATE), { allowed: y } = le(ue.APP_DELETE), { appId: b } = He(), [S, D] = M("overview"), [te, ne] = M(!1), [k, ie] = M(!1), [se, ce] = M(null), [de, fe] = M(null), [pe, he] = M(!1), { data: j, loading: ge, error: _e, refetch: ye } = s({
230
- variables: { id: b },
231
- skip: !b
232
- }), [F, { loading: Ce }] = h(), [I, { loading: Ee }] = a(), [De, { loading: L }] = _(), [Oe] = p(), [ke, { loading: Ae }] = f(), [je, { loading: z }] = v(), { data: B, refetch: Ie } = d({
229
+ }, { allowed: s } = T(C.APP_UPDATE), { allowed: d } = T(C.APP_DELETE), { appId: f } = He(), [_, b] = N("overview"), [w, O] = N(!1), [te, re] = N(!1), [A, se] = N(null), [le, fe] = N(null), [pe, me] = N(!1), { data: M, loading: he, error: ge, refetch: ye } = ne({
230
+ variables: { id: f },
231
+ skip: !f
232
+ }), [F, { loading: Ce }] = ce(), [I, { loading: Ee }] = ee(), [De, { loading: L }] = ue(), [Oe] = oe(), [ke, { loading: Ae }] = ae(), [je, { loading: z }] = de(), { data: B, refetch: Ie } = ie({
233
233
  variables: {
234
- applicationId: b,
235
- workspaceId: c ?? void 0
234
+ applicationId: f,
235
+ workspaceId: i ?? void 0
236
236
  },
237
- skip: !c || !b,
237
+ skip: !i || !f,
238
238
  fetchPolicy: "cache-and-network"
239
- }), Le = B?.appInstallations?.edges?.[0]?.node ?? null, { data: Re } = l({
240
- variables: { id: j?.application?.developerOrganizationId ?? "" },
241
- skip: !j?.application?.developerOrganizationId,
239
+ }), Le = B?.appInstallations?.edges?.[0]?.node ?? null, { data: Re } = k({
240
+ variables: { id: M?.application?.developerOrganizationId ?? "" },
241
+ skip: !M?.application?.developerOrganizationId,
242
242
  fetchPolicy: "cache-first"
243
- }), V = A((e) => {
244
- i?.(`${o}${e}`);
245
- }, [i, o]), ze = A(async () => {
246
- let e = j?.application?.appId;
243
+ }), V = j((e) => {
244
+ t?.(`${n}${e}`);
245
+ }, [t, n]), ze = j(async () => {
246
+ let e = M?.application?.appId;
247
247
  if (e) try {
248
248
  let t = (await F({ variables: { id: e } })).data?.rotateAppSecret.clientSecret;
249
- t && ce(t), ne(!1);
249
+ t && se(t), O(!1);
250
250
  } catch {}
251
- }, [j?.application?.appId, F]), Be = A(async () => {
252
- if (b) try {
253
- await I({ variables: { id: b } }), ie(!1), V("/apps");
251
+ }, [M?.application?.appId, F]), Be = j(async () => {
252
+ if (f) try {
253
+ await I({ variables: { id: f } }), re(!1), V("/apps");
254
254
  } catch {}
255
255
  }, [
256
- b,
256
+ f,
257
257
  I,
258
258
  V
259
- ]), We = A(async (e) => {
260
- if (!(!b || !c)) try {
259
+ ]), We = j(async (e) => {
260
+ if (f && i) try {
261
261
  await ke({ variables: { input: {
262
- applicationId: b,
262
+ applicationId: f,
263
263
  scope: "WORKSPACE",
264
- workspaceId: c,
264
+ workspaceId: i,
265
265
  autoUpdate: !1,
266
266
  ...e ? { version: e } : {}
267
- } } }), Ie(), O("success");
267
+ } } }), Ie(), x("success");
268
268
  } catch (e) {
269
- console.error("[DevPortal] Test in Workspace failed:", e), O("error");
269
+ console.error("[DevPortal] Test in Workspace failed:", e), x("error");
270
270
  }
271
271
  }, [
272
- b,
273
- c,
272
+ f,
273
+ i,
274
274
  ke,
275
275
  Ie
276
- ]), [Ge, qe] = M(!1), [Je, Ye] = M(""), Ze = A(async (e) => {
276
+ ]), [Ge, qe] = N(!1), [Je, Ye] = N(""), Ze = j(async (e) => {
277
277
  try {
278
- await je({ variables: { id: e } }), Ie(), O("success");
278
+ await je({ variables: { id: e } }), Ie(), x("success");
279
279
  } catch {
280
- O("error");
280
+ x("error");
281
281
  }
282
- }, [je, Ie]), Qe = A(async () => {
283
- if (!b) return;
282
+ }, [je, Ie]), Qe = j(async () => {
283
+ if (!f) return;
284
284
  fe(null);
285
- let e = await me((j?.application?.versions?.edges ?? []).map((e) => e.node), {
285
+ let e = await S((M?.application?.versions?.edges ?? []).map((e) => e.node), {
286
286
  publishVersion: (e) => Oe({ variables: { id: e } }),
287
- submitApplication: () => De({ variables: { id: b } })
287
+ submitApplication: () => De({ variables: { id: f } })
288
288
  });
289
- e.ok ? O("success") : (fe(e.message), O("error")), ye();
289
+ e.ok ? x("success") : (fe(e.message), x("error")), ye();
290
290
  }, [
291
- b,
292
- j?.application?.versions?.edges,
291
+ f,
292
+ M?.application?.versions?.edges,
293
293
  Oe,
294
294
  De,
295
295
  ye
296
296
  ]);
297
- if (ge && !j) return /* @__PURE__ */ U(n, { message: m("devportal.loadingApplication", "Loading application...") });
298
- if (_e) return /* @__PURE__ */ U(x, {
299
- title: m("devportal.error", "Error"),
300
- backLink: `${o}/apps`,
301
- backLabel: m("devportal.backToApplications", "Back to Applications"),
297
+ if (he && !M) return /* @__PURE__ */ U(h, { message: o("devportal.loadingApplication", "Loading application...") });
298
+ if (ge) return /* @__PURE__ */ U(e, {
299
+ title: o("devportal.error", "Error"),
300
+ backLink: `${n}/apps`,
301
+ backLabel: o("devportal.backToApplications", "Back to Applications"),
302
302
  children: /* @__PURE__ */ W("div", {
303
303
  className: "flex flex-col items-center justify-center py-12 text-center",
304
304
  children: [
305
- /* @__PURE__ */ U(N, {
305
+ /* @__PURE__ */ U(_e, {
306
306
  size: 48,
307
307
  className: "text-status-error-text mb-4"
308
308
  }),
309
309
  /* @__PURE__ */ U("h3", {
310
310
  className: "text-lg font-semibold mb-2",
311
- children: m("devportal.failedToLoadApplication", "Failed to load application")
311
+ children: o("devportal.failedToLoadApplication", "Failed to load application")
312
312
  }),
313
313
  /* @__PURE__ */ U("p", {
314
314
  className: "text-sm text-text-secondary",
315
- children: _e.message
315
+ children: ge.message
316
316
  })
317
317
  ]
318
318
  })
319
319
  });
320
- let K = Ke(j?.application);
321
- if (!K) return /* @__PURE__ */ U(x, {
322
- title: m("devportal.notFound", "Not Found"),
323
- backLink: `${o}/apps`,
324
- backLabel: m("devportal.backToApplications", "Back to Applications"),
325
- children: /* @__PURE__ */ U(r, {
320
+ let K = Ke(M?.application);
321
+ if (!K) return /* @__PURE__ */ U(e, {
322
+ title: o("devportal.notFound", "Not Found"),
323
+ backLink: `${n}/apps`,
324
+ backLabel: o("devportal.backToApplications", "Back to Applications"),
325
+ children: /* @__PURE__ */ U(m, {
326
326
  illustration: "empty-generic",
327
327
  icon: /* @__PURE__ */ U(ve, { size: 48 }),
328
- title: m("devportal.applicationNotFound", "Application not found"),
329
- description: m("devportal.applicationNotFoundDescription", "The application you're looking for doesn't exist or you don't have access to it.")
328
+ title: o("devportal.applicationNotFound", "Application not found"),
329
+ description: o("devportal.applicationNotFoundDescription", "The application you're looking for doesn't exist or you don't have access to it.")
330
330
  })
331
331
  });
332
332
  let q = [
@@ -335,49 +335,45 @@ var Xe = [
335
335
  "PARSER",
336
336
  "WIDGET",
337
337
  "DASHBOARD"
338
- ].includes(K.appType), J = K.appType === "API_INTEGRATION", Y = j?.application?.versions?.totalCount ?? 0, tt = K.appType === "NODE", ct = j?.application?.versions?.edges ?? [], lt = ct.find((e) => e.node.isLatest)?.node ?? ct[0]?.node ?? null, ut = (lt?.metadata ?? {}).sandboxBuildStatus, dt = tt && ut !== "READY", pt = dt ? ut === "FAILED" || ut === "DISPATCH_FAILED" ? m("devportal.testInWorkspaceBuildFailed", "Test in Workspace (sandbox build failed)") : m("devportal.testInWorkspaceBuilding", "Test in Workspace (building sandbox image…)") : m("devportal.testInWorkspace", "Test in Workspace"), mt = K.pricingType === "PAID", ht = Re?.developerOrganization, gt = ht?.platformFeeRate ?? .3, X = !!ht?.billingAccountId, Z = K.pricingDetails ?? {}, Q = K.pricingType === "FREE" || K.pricingType === "PAID" && typeof Z.price == "number" && Z.price > 0, $ = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED") && (!q && !J || Y > 0) && (!mt || X) && Q, vt = $ && K.status !== "PUBLISHED" && K.status !== "SUBMITTED" && K.status !== "INACTIVE" && K.status !== "REVOKED", yt = [
338
+ ].includes(K.appType), J = K.appType === "API_INTEGRATION", Y = M?.application?.versions?.totalCount ?? 0, tt = K.appType === "NODE", ct = M?.application?.versions?.edges ?? [], lt = ct.find((e) => e.node.isLatest)?.node ?? ct[0]?.node ?? null, ut = (lt?.metadata ?? {}).sandboxBuildStatus, dt = tt && ut !== "READY", pt = dt ? ut === "FAILED" || ut === "DISPATCH_FAILED" ? o("devportal.testInWorkspaceBuildFailed", "Test in Workspace (sandbox build failed)") : o("devportal.testInWorkspaceBuilding", "Test in Workspace (building sandbox image…)") : o("devportal.testInWorkspace", "Test in Workspace"), mt = K.pricingType === "PAID", ht = Re?.developerOrganization, gt = ht?.platformFeeRate ?? .3, X = !!ht?.billingAccountId, Z = K.pricingDetails ?? {}, Q = K.pricingType === "FREE" || K.pricingType === "PAID" && typeof Z.price == "number" && Z.price > 0, $ = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED") && (!q && !J || Y > 0) && (!mt || X) && Q, vt = $ && K.status !== "PUBLISHED" && K.status !== "SUBMITTED" && K.status !== "INACTIVE" && K.status !== "REVOKED", yt = [
339
339
  ...q ? [] : [{
340
- label: m("devportal.rotateSecret", "Rotate Secret"),
340
+ label: o("devportal.rotateSecret", "Rotate Secret"),
341
341
  icon: /* @__PURE__ */ U(Ne, { size: 16 }),
342
342
  disabled: !K.appId,
343
- onSelect: () => ne(!0)
343
+ onSelect: () => O(!0)
344
344
  }],
345
345
  ...!q || tt ? Le ? [{
346
- label: m("devportal.uninstallFromWorkspace", "Uninstall from Workspace"),
346
+ label: o("devportal.uninstallFromWorkspace", "Uninstall from Workspace"),
347
347
  icon: /* @__PURE__ */ U(Ve, { size: 16 }),
348
- disabled: z || !c,
348
+ disabled: z || !i,
349
349
  onSelect: () => void Ze(Le.id)
350
350
  }] : [{
351
351
  label: pt,
352
352
  icon: /* @__PURE__ */ U(Te, { size: 16 }),
353
- disabled: Ae || !c || dt,
353
+ disabled: Ae || !i || dt,
354
354
  onSelect: () => {
355
- if (ct.length <= 1) {
356
- We(lt?.version);
357
- return;
358
- }
359
- Ye(lt?.version ?? ""), qe(!0);
355
+ ct.length <= 1 ? We(lt?.version) : (Ye(lt?.version ?? ""), qe(!0));
360
356
  }
361
357
  }] : [],
362
358
  {
363
- label: m("devportal.deactivate", "Deactivate"),
359
+ label: o("devportal.deactivate", "Deactivate"),
364
360
  icon: /* @__PURE__ */ U(Me, { size: 16 }),
365
361
  intent: "destructive",
366
- disabled: !y,
367
- onSelect: () => ie(!0)
362
+ disabled: !d,
363
+ onSelect: () => re(!0)
368
364
  }
369
365
  ];
370
- return /* @__PURE__ */ W(x, {
366
+ return /* @__PURE__ */ W(e, {
371
367
  title: K.name,
372
368
  description: K.shortDescription,
373
- purpose: m("devportal.appDetailPurpose", "Everything about this application in one place — its credentials, the permissions and webhooks it uses, its analytics, and its store listing. Use the tabs to configure each area, then edit or publish when it is ready."),
374
- backLink: `${o}/apps`,
375
- backLabel: m("devportal.backToApplications", "Back to Applications"),
369
+ purpose: o("devportal.appDetailPurpose", "Everything about this application in one place — its credentials, the permissions and webhooks it uses, its analytics, and its store listing. Use the tabs to configure each area, then edit or publish when it is ready."),
370
+ backLink: `${n}/apps`,
371
+ backLabel: o("devportal.backToApplications", "Back to Applications"),
376
372
  actions: /* @__PURE__ */ W("div", {
377
373
  className: "flex items-center gap-2",
378
374
  children: [K.status === "SUBMITTED" ? /* @__PURE__ */ W("div", {
379
375
  className: "flex items-center gap-1.5 rounded-full border border-status-warning-bg bg-status-warning-bg-subtle px-3 py-1.5 text-xs font-medium text-status-warning-text",
380
- children: [/* @__PURE__ */ U(Se, { size: 13 }), m("devportal.underReview", "Under Review")]
376
+ children: [/* @__PURE__ */ U(Se, { size: 13 }), o("devportal.underReview", "Under Review")]
381
377
  }) : K.status !== "PUBLISHED" && K.status !== "INACTIVE" && K.status !== "REVOKED" ? /* @__PURE__ */ U("button", {
382
378
  type: "button",
383
379
  onClick: () => void Qe(),
@@ -391,51 +387,51 @@ var Xe = [
391
387
  !Q && "Set pricing (choose Free or Paid in the Pricing tab)",
392
388
  mt && !X && "Link a billing account to receive payments"
393
389
  ].filter(Boolean).join(" · "),
394
- className: t("inline-flex items-center gap-2 rounded-md px-5 py-2 text-sm font-medium whitespace-nowrap transition-colors", vt && !L ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 cursor-pointer" : "cursor-not-allowed bg-bg-muted text-text-tertiary ring-1 ring-border-subtle"),
390
+ className: E("inline-flex items-center gap-2 rounded-md px-5 py-2 text-sm font-medium whitespace-nowrap transition-colors", vt && !L ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 cursor-pointer" : "cursor-not-allowed bg-bg-muted text-text-tertiary ring-1 ring-border-subtle"),
395
391
  children: L ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
396
392
  size: 15,
397
393
  className: "animate-spin"
398
- }), m("devportal.submitting", "Submitting…")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(Pe, { size: 15 }), m("devportal.submitForReview", "Submit for Review")] })
394
+ }), o("devportal.submitting", "Submitting…")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(Pe, { size: 15 }), o("devportal.submitForReview", "Submit for Review")] })
399
395
  }) : null, /* @__PURE__ */ U(Ue, {
400
396
  primary: {
401
- label: m("devportal.editApp", "Edit App"),
397
+ label: o("devportal.editApp", "Edit App"),
402
398
  icon: /* @__PURE__ */ U(we, { size: 16 }),
403
- disabled: !g,
399
+ disabled: !s,
404
400
  onSelect: () => V(`/apps/${K.id}/edit`)
405
401
  },
406
402
  actions: yt
407
403
  })]
408
404
  }),
409
405
  children: [
410
- se && /* @__PURE__ */ U(ee, {
411
- title: m("devportal.newAppSecretGenerated", "New App Secret Generated"),
412
- secret: se,
413
- description: m("devportal.appSecretRotatedDescription", "Your app secret has been rotated. The old secret is no longer valid."),
414
- onDismiss: () => ce(null)
406
+ A && /* @__PURE__ */ U(p, {
407
+ title: o("devportal.newAppSecretGenerated", "New App Secret Generated"),
408
+ secret: A,
409
+ description: o("devportal.appSecretRotatedDescription", "Your app secret has been rotated. The old secret is no longer valid."),
410
+ onDismiss: () => se(null)
415
411
  }),
416
412
  /* @__PURE__ */ W("div", {
417
413
  className: "flex flex-wrap items-center gap-2",
418
414
  children: [
419
- /* @__PURE__ */ U(T, {
415
+ /* @__PURE__ */ U(l, {
420
416
  status: K.status,
421
417
  type: "app"
422
418
  }),
423
419
  /* @__PURE__ */ U("span", {
424
420
  title: K.visibility === "PUBLIC" ? "Public — discoverable in the marketplace. Requires review approval before going live." : K.visibility === "UNLISTED" ? "Unlisted — not in the store, but accessible via a direct share link. You can still submit for marketplace review." : K.visibility === "INTERNAL" ? "Internal — visible to all members of your developer organization, but not to anyone outside." : "Private — only you (the creator) can see this. Other org members cannot access it.",
425
- children: /* @__PURE__ */ U(T, {
421
+ children: /* @__PURE__ */ U(l, {
426
422
  status: K.visibility,
427
423
  type: "app"
428
424
  })
429
425
  }),
430
- K.isVerified && /* @__PURE__ */ U(E, { verified: !0 }),
431
- K.isFeatured && /* @__PURE__ */ U(w, {}),
426
+ K.isVerified && /* @__PURE__ */ U(u, { verified: !0 }),
427
+ K.isFeatured && /* @__PURE__ */ U(c, {}),
432
428
  /* @__PURE__ */ U("span", {
433
429
  className: "text-sm text-text-secondary",
434
- children: C[K.appType] || K.appType
430
+ children: D[K.appType] || K.appType
435
431
  })
436
432
  ]
437
433
  }),
438
- de && K.status !== "SUBMITTED" && /* @__PURE__ */ W("div", {
434
+ le && K.status !== "SUBMITTED" && /* @__PURE__ */ W("div", {
439
435
  role: "alert",
440
436
  "data-testid": "devportal-submit-error",
441
437
  className: "flex items-start gap-3 rounded-lg border border-status-error-bg bg-status-error-bg-subtle p-4",
@@ -446,10 +442,10 @@ var Xe = [
446
442
  className: "text-sm",
447
443
  children: [/* @__PURE__ */ U("p", {
448
444
  className: "font-medium text-status-error-text",
449
- children: m("devportal.submitFailed", "Submission failed")
445
+ children: o("devportal.submitFailed", "Submission failed")
450
446
  }), /* @__PURE__ */ U("p", {
451
447
  className: "mt-0.5 text-text-secondary",
452
- children: de
448
+ children: le
453
449
  })]
454
450
  })]
455
451
  }),
@@ -462,10 +458,10 @@ var Xe = [
462
458
  className: "text-sm",
463
459
  children: [/* @__PURE__ */ U("p", {
464
460
  className: "font-medium text-status-warning-text",
465
- children: m("devportal.underReview", "Under Review")
461
+ children: o("devportal.underReview", "Under Review")
466
462
  }), /* @__PURE__ */ W("p", {
467
463
  className: "mt-0.5 text-text-secondary",
468
- children: [m("devportal.underReviewDesc", "Your submission is being reviewed by our team. You'll be notified of the outcome."), K.submittedAt && /* @__PURE__ */ W("span", {
464
+ children: [o("devportal.underReviewDesc", "Your submission is being reviewed by our team. You'll be notified of the outcome."), K.submittedAt && /* @__PURE__ */ W("span", {
469
465
  className: "ml-1",
470
466
  children: [
471
467
  "Submitted ",
@@ -486,17 +482,17 @@ var Xe = [
486
482
  children: [
487
483
  /* @__PURE__ */ U("p", {
488
484
  className: "font-medium text-status-error-text",
489
- children: m("devportal.reviewRejected", "Review Rejected")
485
+ children: o("devportal.reviewRejected", "Review Rejected")
490
486
  }),
491
487
  /* @__PURE__ */ U("p", {
492
488
  className: "mt-0.5 text-text-secondary",
493
- children: K.reviewNotes || m("devportal.reviewRejectedDesc", "Your submission was not approved. Please review the feedback, update your app, and re-submit.")
489
+ children: K.reviewNotes || o("devportal.reviewRejectedDesc", "Your submission was not approved. Please review the feedback, update your app, and re-submit.")
494
490
  }),
495
491
  /* @__PURE__ */ U("button", {
496
492
  type: "button",
497
493
  onClick: () => V(`/apps/${K.id}/edit`),
498
494
  className: "mt-2 inline-flex items-center gap-1 text-xs font-medium text-primary underline",
499
- children: m("devportal.editAndResubmit", "Edit app and re-submit →")
495
+ children: o("devportal.editAndResubmit", "Edit app and re-submit →")
500
496
  })
501
497
  ]
502
498
  })]
@@ -510,16 +506,16 @@ var Xe = [
510
506
  className: "text-sm",
511
507
  children: [/* @__PURE__ */ U("p", {
512
508
  className: "font-medium text-status-success-text",
513
- children: m("devportal.liveInStore", "Live in the Store")
509
+ children: o("devportal.liveInStore", "Live in the Store")
514
510
  }), /* @__PURE__ */ U("p", {
515
511
  className: "mt-0.5 text-text-secondary",
516
- children: m("devportal.liveInStoreDesc", "Your app is published and visible to users in the marketplace.")
512
+ children: o("devportal.liveInStoreDesc", "Your app is published and visible to users in the marketplace.")
517
513
  })]
518
514
  })]
519
515
  }),
520
516
  K.status === "UNLISTED" && /* @__PURE__ */ W("div", {
521
517
  className: "flex items-start gap-3 rounded-lg border border-status-warning-bg bg-status-warning-bg-subtle p-4",
522
- children: [/* @__PURE__ */ U(N, {
518
+ children: [/* @__PURE__ */ U(_e, {
523
519
  size: 18,
524
520
  className: "text-status-warning-text mt-0.5 flex-shrink-0"
525
521
  }), /* @__PURE__ */ W("div", {
@@ -527,16 +523,16 @@ var Xe = [
527
523
  children: [
528
524
  /* @__PURE__ */ U("p", {
529
525
  className: "font-medium text-status-warning-text",
530
- children: m("devportal.delistedFromStore", "Delisted from the Store")
526
+ children: o("devportal.delistedFromStore", "Delisted from the Store")
531
527
  }),
532
528
  /* @__PURE__ */ U("p", {
533
529
  className: "mt-0.5 text-text-secondary",
534
- children: m("devportal.delistedFromStoreDesc", "Your app has been removed from the marketplace and is no longer visible to new users. Existing installs continue to work.")
530
+ children: o("devportal.delistedFromStoreDesc", "Your app has been removed from the marketplace and is no longer visible to new users. Existing installs continue to work.")
535
531
  }),
536
532
  K.reviewNotes && /* @__PURE__ */ W("p", {
537
533
  className: "mt-2 rounded-md bg-status-warning-bg px-3 py-2 font-mono text-xs text-status-warning-text",
538
534
  children: [
539
- m("devportal.delistReason", "Reason"),
535
+ o("devportal.delistReason", "Reason"),
540
536
  ": ",
541
537
  K.reviewNotes
542
538
  ]
@@ -545,61 +541,61 @@ var Xe = [
545
541
  })]
546
542
  }),
547
543
  (K.status === "DRAFT" || K.status === "REJECTED") && !$ && (() => {
548
- let e = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED"), n = !q && !J || Y > 0, r = [
544
+ let e = !!K.description?.trim() && !!K.category && !!K.iconUrl && (K.visibility === "PUBLIC" || K.visibility === "UNLISTED"), t = !q && !J || Y > 0, n = [
549
545
  !K.description?.trim() && "Add a full description",
550
546
  !K.category && "Select a category",
551
547
  !K.iconUrl && "Upload an app icon",
552
548
  (K.visibility === "PRIVATE" || K.visibility === "INTERNAL") && "Set to Public (marketplace) or Unlisted (share via link) — Private and Internal block review submission"
553
- ].filter(Boolean), i = [
549
+ ].filter(Boolean), r = [
554
550
  {
555
551
  id: "store",
556
- label: m("devportal.setupStoreListingStep", "Complete Store Listing"),
557
- hint: e ? m("devportal.done", "Done") : r.join(" · "),
552
+ label: o("devportal.setupStoreListingStep", "Complete Store Listing"),
553
+ hint: e ? o("devportal.done", "Done") : n.join(" · "),
558
554
  done: e,
559
- onClick: () => D("store-listing")
555
+ onClick: () => b("store-listing")
560
556
  },
561
557
  ...q ? [{
562
558
  id: "version",
563
- label: m("devportal.setupVersionStep", "Upload a Version"),
564
- hint: n ? m("devportal.done", "Done") : K.appType === "NODE" ? m("devportal.uploadVersionHint", "Upload your ZIP bundle and manifest") : m("devportal.uploadManifestVersionHint", "Upload your manifest JSON"),
565
- done: n,
566
- onClick: () => D("versions")
559
+ label: o("devportal.setupVersionStep", "Upload a Version"),
560
+ hint: t ? o("devportal.done", "Done") : K.appType === "NODE" ? o("devportal.uploadVersionHint", "Upload your ZIP bundle and manifest") : o("devportal.uploadManifestVersionHint", "Upload your manifest JSON"),
561
+ done: t,
562
+ onClick: () => b("versions")
567
563
  }] : [],
568
564
  ...J ? [{
569
565
  id: "version",
570
- label: m("devportal.setupIntegrationVersionStep", "Publish a Version"),
571
- hint: n ? m("devportal.done", "Done") : m("devportal.integrationVersionHint", "Define required scopes and publish your first API version"),
572
- done: n,
573
- onClick: () => D("versions")
566
+ label: o("devportal.setupIntegrationVersionStep", "Publish a Version"),
567
+ hint: t ? o("devportal.done", "Done") : o("devportal.integrationVersionHint", "Define required scopes and publish your first API version"),
568
+ done: t,
569
+ onClick: () => b("versions")
574
570
  }, {
575
571
  id: "webhooks",
576
- label: m("devportal.setupWebhooksStep", "Configure Webhooks"),
577
- hint: m("devportal.webhooksOptionalHint", "Set up endpoints to receive platform events (optional)"),
572
+ label: o("devportal.setupWebhooksStep", "Configure Webhooks"),
573
+ hint: o("devportal.webhooksOptionalHint", "Set up endpoints to receive platform events (optional)"),
578
574
  done: !1,
579
- onClick: () => D("webhooks")
575
+ onClick: () => b("webhooks")
580
576
  }] : [],
581
577
  {
582
578
  id: "pricing",
583
- label: m("devportal.setupPricingStep", "Set Pricing"),
584
- hint: Q ? m("devportal.done", "Done") : m("devportal.pricingHint", "Choose Free or set a credit price in the Pricing tab"),
579
+ label: o("devportal.setupPricingStep", "Set Pricing"),
580
+ hint: Q ? o("devportal.done", "Done") : o("devportal.pricingHint", "Choose Free or set a credit price in the Pricing tab"),
585
581
  done: Q,
586
- onClick: () => D("pricing")
582
+ onClick: () => b("pricing")
587
583
  },
588
584
  ...mt ? [{
589
585
  id: "billing",
590
- label: m("devportal.setupBillingStep", "Link Billing Account"),
591
- hint: X ? m("devportal.done", "Done") : m("devportal.billingAccountHint", "Link a billing account to receive payouts — required for paid apps"),
586
+ label: o("devportal.setupBillingStep", "Link Billing Account"),
587
+ hint: X ? o("devportal.done", "Done") : o("devportal.billingAccountHint", "Link a billing account to receive payouts — required for paid apps"),
592
588
  done: X,
593
- onClick: () => D("pricing")
589
+ onClick: () => b("pricing")
594
590
  }] : [],
595
591
  {
596
592
  id: "submit",
597
- label: m("devportal.submitForReview", "Submit for Review"),
598
- hint: $ ? m("devportal.readyToSubmit", "Ready — click Submit for Review above") : K.description?.trim() ? K.category ? K.iconUrl ? K.visibility === "PRIVATE" || K.visibility === "INTERNAL" ? m("devportal.hintPrivateVisibility", "Set visibility to Public (marketplace) or Unlisted (share via link) — Private and Internal cannot be submitted") : (q || J) && Y === 0 ? m("devportal.hintMissingVersion", "Upload at least one version") : Q ? mt && !X ? m("devportal.hintMissingBilling", "Link a billing account in the Pricing tab to receive payouts") : m("devportal.completeStepsFirst", "Complete the steps above first") : m("devportal.hintMissingPricing", "Choose Free or set a credit price in the Pricing tab") : m("devportal.hintMissingIcon", "Upload an app icon on the Store Listing tab") : m("devportal.hintMissingCategory", "Select a category on the Store Listing tab") : m("devportal.hintMissingDescription", "Add a full description on the Store Listing tab"),
593
+ label: o("devportal.submitForReview", "Submit for Review"),
594
+ hint: $ ? o("devportal.readyToSubmit", "Ready — click Submit for Review above") : K.description?.trim() ? K.category ? K.iconUrl ? K.visibility === "PRIVATE" || K.visibility === "INTERNAL" ? o("devportal.hintPrivateVisibility", "Set visibility to Public (marketplace) or Unlisted (share via link) — Private and Internal cannot be submitted") : (q || J) && Y === 0 ? o("devportal.hintMissingVersion", "Upload at least one version") : Q ? mt && !X ? o("devportal.hintMissingBilling", "Link a billing account in the Pricing tab to receive payouts") : o("devportal.completeStepsFirst", "Complete the steps above first") : o("devportal.hintMissingPricing", "Choose Free or set a credit price in the Pricing tab") : o("devportal.hintMissingIcon", "Upload an app icon on the Store Listing tab") : o("devportal.hintMissingCategory", "Select a category on the Store Listing tab") : o("devportal.hintMissingDescription", "Add a full description on the Store Listing tab"),
599
595
  done: !1,
600
596
  onClick: void 0
601
597
  }
602
- ], a = i.filter((e) => e.done).length;
598
+ ], i = r.filter((e) => e.done).length;
603
599
  return /* @__PURE__ */ W("div", {
604
600
  className: "rounded-xl border border-border-subtle bg-bg-surface shadow-sm",
605
601
  children: [/* @__PURE__ */ U("div", {
@@ -614,35 +610,35 @@ var Xe = [
614
610
  })
615
611
  }), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
616
612
  className: "text-sm font-semibold text-text-primary",
617
- children: m("devportal.completeSetup", "Complete your app setup")
613
+ children: o("devportal.completeSetup", "Complete your app setup")
618
614
  }), /* @__PURE__ */ W("p", {
619
615
  className: "text-xs text-text-secondary",
620
616
  children: [
621
- a,
617
+ i,
622
618
  " of",
623
619
  " ",
624
- i.filter((e) => e.id !== "submit").length,
620
+ r.filter((e) => e.id !== "submit").length,
625
621
  " ",
626
- m("devportal.stepsDone", "steps complete")
622
+ o("devportal.stepsDone", "steps complete")
627
623
  ]
628
624
  })] })]
629
625
  })
630
626
  }), /* @__PURE__ */ U("div", {
631
627
  className: "divide-y divide-border-subtle",
632
- children: i.map((e, n) => /* @__PURE__ */ W("button", {
628
+ children: r.map((e, t) => /* @__PURE__ */ W("button", {
633
629
  type: "button",
634
630
  onClick: e.onClick,
635
631
  disabled: !e.onClick,
636
- className: t("w-full flex items-center gap-4 px-5 py-4 text-left transition-colors", e.onClick ? "hover:bg-bg-sunken/40 cursor-pointer" : "cursor-default opacity-60"),
632
+ className: E("w-full flex items-center gap-4 px-5 py-4 text-left transition-colors", e.onClick ? "hover:bg-bg-sunken/40 cursor-pointer" : "cursor-default opacity-60"),
637
633
  children: [
638
634
  /* @__PURE__ */ U("div", {
639
- className: t("flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full text-xs font-bold", e.done ? "bg-status-success-bg text-status-success-text" : "border-2 border-border-subtle bg-bg-sunken text-text-secondary"),
640
- children: e.done ? /* @__PURE__ */ U(P, { size: 13 }) : n + 1
635
+ className: E("flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full text-xs font-bold", e.done ? "bg-status-success-bg text-status-success-text" : "border-2 border-border-subtle bg-bg-sunken text-text-secondary"),
636
+ children: e.done ? /* @__PURE__ */ U(P, { size: 13 }) : t + 1
641
637
  }),
642
638
  /* @__PURE__ */ W("div", {
643
639
  className: "flex-1 min-w-0",
644
640
  children: [/* @__PURE__ */ U("p", {
645
- className: t("text-sm font-medium", e.done ? "text-text-secondary line-through" : "text-text-primary"),
641
+ className: E("text-sm font-medium", e.done ? "text-text-secondary line-through" : "text-text-primary"),
646
642
  children: e.label
647
643
  }), e.hint && !e.done && /* @__PURE__ */ U("p", {
648
644
  className: "mt-0.5 text-xs text-text-secondary truncate",
@@ -663,132 +659,132 @@ var Xe = [
663
659
  children: /* @__PURE__ */ U("nav", {
664
660
  className: "-mb-px flex gap-4 overflow-x-auto",
665
661
  role: "tablist",
666
- "aria-label": m("devportal.applicationSections", "Application sections"),
662
+ "aria-label": o("devportal.applicationSections", "Application sections"),
667
663
  children: Xe.filter((e) => !(q && (e.id === "permissions" || e.id === "webhooks" || e.id === "delegations" || e.id === "playground" || e.id === "oauth" || e.id === "api-keys") || !q && !J && e.id === "versions" || !J && (e.id === "oauth" || e.id === "api-keys"))).map((e) => {
668
- let n = e.icon;
664
+ let t = e.icon;
669
665
  return /* @__PURE__ */ W("button", {
670
666
  id: `application-tab-${e.id}`,
671
667
  role: "tab",
672
- "aria-selected": S === e.id,
668
+ "aria-selected": _ === e.id,
673
669
  "aria-controls": `application-panel-${e.id}`,
674
- onClick: () => D(e.id),
675
- className: t("flex items-center gap-2 border-b-2 px-1 py-3 text-sm font-medium transition-colors", S === e.id ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary hover:border-muted-foreground"),
676
- children: [/* @__PURE__ */ U(n, { size: 16 }), e.label]
670
+ onClick: () => b(e.id),
671
+ className: E("flex items-center gap-2 border-b-2 px-1 py-3 text-sm font-medium transition-colors", _ === e.id ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary hover:border-muted-foreground"),
672
+ children: [/* @__PURE__ */ U(t, { size: 16 }), e.label]
677
673
  }, e.id);
678
674
  })
679
675
  })
680
676
  }),
681
677
  /* @__PURE__ */ W("div", {
682
678
  className: "mt-6",
683
- id: `application-panel-${S}`,
679
+ id: `application-panel-${_}`,
684
680
  role: "tabpanel",
685
- "aria-labelledby": `application-tab-${S}`,
681
+ "aria-labelledby": `application-tab-${_}`,
686
682
  tabIndex: 0,
687
683
  children: [
688
- S === "overview" && /* @__PURE__ */ U(st, {
684
+ _ === "overview" && /* @__PURE__ */ U(st, {
689
685
  app: K,
690
- appId: b,
686
+ appId: f,
691
687
  refetch: () => void ye()
692
688
  }),
693
- S === "permissions" && /* @__PURE__ */ U(Ct, {
689
+ _ === "permissions" && /* @__PURE__ */ U(Ct, {
694
690
  app: K,
695
- versionScopes: j?.application?.versions?.edges?.[0]?.node?.requiredScopes ?? [],
691
+ versionScopes: M?.application?.versions?.edges?.[0]?.node?.requiredScopes ?? [],
696
692
  locked: K.status === "PUBLISHED" || K.status === "APPROVED" || K.status === "ACTIVE",
697
- onNavigateToVersions: () => D("versions")
693
+ onNavigateToVersions: () => b("versions")
698
694
  }),
699
- S === "webhooks" && /* @__PURE__ */ U(it, {
695
+ _ === "webhooks" && /* @__PURE__ */ U(it, {
700
696
  appId: K.id,
701
697
  onNavigate: V
702
698
  }),
703
- S === "delegations" && /* @__PURE__ */ U(at, {
699
+ _ === "delegations" && /* @__PURE__ */ U(at, {
704
700
  authAppId: K.appId || void 0,
705
701
  appName: K.name,
706
- onGrantDelegation: () => he(!0),
702
+ onGrantDelegation: () => me(!0),
707
703
  onNavigate: V
708
704
  }),
709
- S === "analytics" && /* @__PURE__ */ U(ot, { appId: K.id }),
710
- S === "playground" && /* @__PURE__ */ U(ft, { app: K }),
711
- S === "oauth" && /* @__PURE__ */ U($e, {
705
+ _ === "analytics" && /* @__PURE__ */ U(ot, { appId: K.id }),
706
+ _ === "playground" && /* @__PURE__ */ U(ft, { app: K }),
707
+ _ === "oauth" && /* @__PURE__ */ U($e, {
712
708
  appId: K.id,
713
709
  onNavigate: V
714
710
  }),
715
- S === "api-keys" && /* @__PURE__ */ U(et, {
711
+ _ === "api-keys" && /* @__PURE__ */ U(et, {
716
712
  appId: K.id,
717
713
  onNavigate: V
718
714
  }),
719
- S === "store-listing" && /* @__PURE__ */ U(_t, {
715
+ _ === "store-listing" && /* @__PURE__ */ U(_t, {
720
716
  app: K,
721
- versionCount: j?.application?.versions?.totalCount ?? 0,
717
+ versionCount: M?.application?.versions?.totalCount ?? 0,
722
718
  isPackageApp: q,
723
719
  pricingDone: Q,
724
- onNavigateToVersions: q || J ? () => D("versions") : void 0,
725
- onNavigateToPricing: () => D("pricing"),
720
+ onNavigateToVersions: q || J ? () => b("versions") : void 0,
721
+ onNavigateToPricing: () => b("pricing"),
726
722
  onNavigateToSubmission: () => V(`/apps/${K.id}/store-submission`)
727
723
  }),
728
- S === "pricing" && /* @__PURE__ */ U(nt, {
724
+ _ === "pricing" && /* @__PURE__ */ U(nt, {
729
725
  app: K,
730
726
  platformFeeRate: gt,
731
727
  billingAccountLinked: X,
732
728
  onNavigateToRevenue: () => V("/revenue"),
733
729
  isReadyToSubmit: $
734
730
  }),
735
- S === "versions" && /* @__PURE__ */ U(rt, {
731
+ _ === "versions" && /* @__PURE__ */ U(rt, {
736
732
  appId: K.id,
737
733
  onNavigate: V,
738
734
  pricingDone: Q,
739
- onNavigateToPricing: () => D("pricing")
735
+ onNavigateToPricing: () => b("pricing")
740
736
  })
741
737
  ]
742
738
  }),
743
- /* @__PURE__ */ U(ae, {
744
- open: te,
745
- onOpenChange: ne,
739
+ /* @__PURE__ */ U(g, {
740
+ open: w,
741
+ onOpenChange: O,
746
742
  onConfirm: ze,
747
- title: m("devportal.rotateAppSecret", "Rotate App Secret"),
748
- description: m("devportal.rotateAppSecretDescription", "This will generate a new client secret and invalidate the current one. All existing integrations using the old secret will stop working immediately."),
749
- confirmLabel: m("devportal.rotateSecret", "Rotate Secret"),
750
- cancelLabel: m("devportal.cancel", "Cancel"),
743
+ title: o("devportal.rotateAppSecret", "Rotate App Secret"),
744
+ description: o("devportal.rotateAppSecretDescription", "This will generate a new client secret and invalidate the current one. All existing integrations using the old secret will stop working immediately."),
745
+ confirmLabel: o("devportal.rotateSecret", "Rotate Secret"),
746
+ cancelLabel: o("devportal.cancel", "Cancel"),
751
747
  variant: "warning",
752
748
  loading: Ce
753
749
  }),
754
- /* @__PURE__ */ U(ae, {
755
- open: k,
756
- onOpenChange: ie,
750
+ /* @__PURE__ */ U(g, {
751
+ open: te,
752
+ onOpenChange: re,
757
753
  onConfirm: Be,
758
- title: m("devportal.deactivateApplication", "Deactivate Application"),
759
- description: m("devportal.deactivateApplicationDescription", "This will deactivate the application. All OAuth clients, API keys, and webhooks associated with this app will stop functioning. This action can be reversed by reactivating the app."),
760
- confirmLabel: m("devportal.deactivate", "Deactivate"),
761
- cancelLabel: m("devportal.cancel", "Cancel"),
754
+ title: o("devportal.deactivateApplication", "Deactivate Application"),
755
+ description: o("devportal.deactivateApplicationDescription", "This will deactivate the application. All OAuth clients, API keys, and webhooks associated with this app will stop functioning. This action can be reversed by reactivating the app."),
756
+ confirmLabel: o("devportal.deactivate", "Deactivate"),
757
+ cancelLabel: o("devportal.cancel", "Cancel"),
762
758
  variant: "destructive",
763
759
  loading: Ee
764
760
  }),
765
- /* @__PURE__ */ U(ae, {
761
+ /* @__PURE__ */ U(g, {
766
762
  open: Ge,
767
763
  onOpenChange: qe,
768
764
  onConfirm: () => We(Je || void 0),
769
- title: m("devportal.testInWorkspaceChooseVersion", "Test a Version"),
770
- description: m("devportal.testInWorkspaceChooseVersionDescription", "Choose which version to install into your test workspace. This does not affect what other users see — it only installs the selected version for you to try here."),
771
- confirmLabel: m("devportal.testInWorkspace", "Test in Workspace"),
772
- cancelLabel: m("devportal.cancel", "Cancel"),
765
+ title: o("devportal.testInWorkspaceChooseVersion", "Test a Version"),
766
+ description: o("devportal.testInWorkspaceChooseVersionDescription", "Choose which version to install into your test workspace. This does not affect what other users see — it only installs the selected version for you to try here."),
767
+ confirmLabel: o("devportal.testInWorkspace", "Test in Workspace"),
768
+ cancelLabel: o("devportal.cancel", "Cancel"),
773
769
  loading: Ae,
774
- children: /* @__PURE__ */ U(re, {
775
- label: m("devportal.version", "Version"),
770
+ children: /* @__PURE__ */ U(r, {
771
+ label: o("devportal.version", "Version"),
776
772
  value: Je,
777
773
  onChange: (e) => Ye(e.target.value),
778
774
  options: ct.map((e) => ({
779
775
  value: e.node.version,
780
- label: e.node.isLatest ? `${e.node.version} — ${m("devportal.latest", "latest")} (${e.node.status})` : `${e.node.version} (${e.node.status})`
776
+ label: e.node.isLatest ? `${e.node.version} — ${o("devportal.latest", "latest")} (${e.node.status})` : `${e.node.version} (${e.node.status})`
781
777
  }))
782
778
  })
783
779
  }),
784
- /* @__PURE__ */ U(oe, {
780
+ /* @__PURE__ */ U(v, {
785
781
  open: pe,
786
- onOpenChange: he,
782
+ onOpenChange: me,
787
783
  appId: K.appId || "",
788
784
  appName: K.name,
789
785
  appScopes: K.scopes?.map((e) => e.scope) ?? [],
790
786
  onSuccess: () => {
791
- he(!1);
787
+ me(!1);
792
788
  }
793
789
  })
794
790
  ]
@@ -841,50 +837,50 @@ var Xe = [
841
837
  })
842
838
  ]
843
839
  });
844
- }, J = .01, Y = (e) => e * J, tt = (e) => Math.round(e / J), nt = ({ app: e, platformFeeRate: n, billingAccountLinked: r, onNavigateToRevenue: i, isReadyToSubmit: a = !1 }) => {
845
- let { t: o } = G(), s = (e, t) => {
846
- let n = o(e);
840
+ }, J = .01, Y = (e) => e * J, tt = (e) => Math.round(e / J), nt = ({ app: e, platformFeeRate: t, billingAccountLinked: n, onNavigateToRevenue: r, isReadyToSubmit: i = !1 }) => {
841
+ let { t: a } = G(), o = (e, t) => {
842
+ let n = a(e);
847
843
  return n === e ? t : n;
848
- }, c = e.pricingDetails ?? {}, [l, u] = M({
844
+ }, s = e.pricingDetails ?? {}, [c, l] = N({
849
845
  pricingType: e.pricingType ?? "FREE",
850
- price: typeof c.price == "number" ? String(c.price) : ""
851
- }), [d, f] = M(!1), [p] = b(), m = ge(e);
852
- m.current = e, he(() => {
853
- let e = m.current.pricingDetails ?? {};
854
- u({
855
- pricingType: m.current.pricingType ?? "FREE",
846
+ price: typeof s.price == "number" ? String(s.price) : ""
847
+ }), [u, d] = N(!1), [f] = pe(), p = he(e);
848
+ p.current = e, me(() => {
849
+ let e = p.current.pricingDetails ?? {};
850
+ l({
851
+ pricingType: p.current.pricingType ?? "FREE",
856
852
  price: typeof e.price == "number" ? String(e.price) : ""
857
853
  });
858
854
  }, [e.id]);
859
- let h = (e, t) => {
860
- u((n) => ({
855
+ let m = (e, t) => {
856
+ l((n) => ({
861
857
  ...n,
862
858
  [e]: t
863
859
  }));
864
- }, g = async () => {
865
- f(!0);
860
+ }, h = async () => {
861
+ d(!0);
866
862
  try {
867
863
  let t = { ...e.pricingDetails ?? {} };
868
- if (l.pricingType !== "FREE") {
869
- let e = parseInt(l.price, 10);
864
+ if (c.pricingType !== "FREE") {
865
+ let e = parseInt(c.price, 10);
870
866
  !isNaN(e) && e > 0 && (t.price = e, t.currency = "CREDITS");
871
867
  } else delete t.price, delete t.currency;
872
- await p({ variables: {
868
+ await f({ variables: {
873
869
  id: e.id,
874
870
  input: {
875
- pricingType: l.pricingType || null,
871
+ pricingType: c.pricingType || null,
876
872
  pricingDetails: Object.keys(t).length > 0 ? t : null
877
873
  }
878
- } }), O("success");
874
+ } }), x("success");
879
875
  } catch {
880
- O("error");
876
+ x("error");
881
877
  } finally {
882
- f(!1);
878
+ d(!1);
883
879
  }
884
- }, _ = l.pricingType !== "FREE", v = parseInt(l.price, 10), y = _ && !isNaN(v) && v > 0, x = y ? Y(v) : 0, S = y ? Math.round(v * n) : 0, C = Y(S), w = y ? v - S : 0, T = Y(w), E = (e) => "$" + e.toLocaleString("en-US", {
880
+ }, g = c.pricingType !== "FREE", _ = parseInt(c.price, 10), v = g && !isNaN(_) && _ > 0, y = v ? Y(_) : 0, b = v ? Math.round(_ * t) : 0, S = Y(b), C = v ? _ - b : 0, T = Y(C), D = (e) => "$" + e.toLocaleString("en-US", {
885
881
  minimumFractionDigits: 2,
886
882
  maximumFractionDigits: 2
887
- }), D = (e) => e.toLocaleString("en-US") + " cr";
883
+ }), O = (e) => e.toLocaleString("en-US") + " cr";
888
884
  return /* @__PURE__ */ W("div", {
889
885
  className: "space-y-8",
890
886
  children: [
@@ -907,7 +903,7 @@ var Xe = [
907
903
  className: "font-medium",
908
904
  children: [
909
905
  "1 credit = ",
910
- E(J),
906
+ D(J),
911
907
  " USD."
912
908
  ]
913
909
  }),
@@ -920,10 +916,10 @@ var Xe = [
920
916
  className: "space-y-3",
921
917
  children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("h2", {
922
918
  className: "text-lg font-semibold",
923
- children: s("devportal.howMonetizationWorks", "How App Monetization Works")
919
+ children: o("devportal.howMonetizationWorks", "How App Monetization Works")
924
920
  }), /* @__PURE__ */ U("p", {
925
921
  className: "mt-1 text-sm text-text-secondary",
926
- children: s("devportal.monetizationDesc", "Earn revenue when users install or purchase your app. Here's exactly how the money flows.")
922
+ children: o("devportal.monetizationDesc", "Earn revenue when users install or purchase your app. Here's exactly how the money flows.")
927
923
  })] }), /* @__PURE__ */ W("div", {
928
924
  className: "grid gap-4 sm:grid-cols-3",
929
925
  children: [
@@ -937,7 +933,7 @@ var Xe = [
937
933
  })
938
934
  }), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ W("p", {
939
935
  className: "font-semibold",
940
- children: [(100 - n * 100).toFixed(0), "% revenue share"]
936
+ children: [(100 - t * 100).toFixed(0), "% revenue share"]
941
937
  }), /* @__PURE__ */ W("p", {
942
938
  className: "mt-1 text-sm text-text-secondary",
943
939
  children: [
@@ -945,14 +941,14 @@ var Xe = [
945
941
  " ",
946
942
  /* @__PURE__ */ W("span", {
947
943
  className: "font-medium text-status-success-text",
948
- children: [(100 - n * 100).toFixed(0), "%"]
944
+ children: [(100 - t * 100).toFixed(0), "%"]
949
945
  }),
950
946
  " ",
951
947
  "of every sale in credits. The platform retains a",
952
948
  " ",
953
949
  /* @__PURE__ */ W("span", {
954
950
  className: "font-medium",
955
- children: [(n * 100).toFixed(0), "%"]
951
+ children: [(t * 100).toFixed(0), "%"]
956
952
  }),
957
953
  " ",
958
954
  "fee to cover infrastructure, payments processing, and marketplace operations."
@@ -975,9 +971,9 @@ var Xe = [
975
971
  children: [
976
972
  "Every sale instantly deposits your earned credits into your linked billing account. You can spend them on platform services or request a cash withdrawal. Track everything on the",
977
973
  " ",
978
- i ? /* @__PURE__ */ U("button", {
974
+ r ? /* @__PURE__ */ U("button", {
979
975
  type: "button",
980
- onClick: i,
976
+ onClick: r,
981
977
  className: "font-medium text-primary underline-offset-2 hover:underline",
982
978
  children: "Revenue page"
983
979
  }) : /* @__PURE__ */ U("span", {
@@ -1012,7 +1008,7 @@ var Xe = [
1012
1008
  children: [
1013
1009
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("h3", {
1014
1010
  className: "text-base font-semibold",
1015
- children: s("devportal.setPricingTitle", "Set Your Price")
1011
+ children: o("devportal.setPricingTitle", "Set Your Price")
1016
1012
  }), /* @__PURE__ */ W("p", {
1017
1013
  className: "mt-0.5 text-sm text-text-secondary",
1018
1014
  children: [
@@ -1028,12 +1024,12 @@ var Xe = [
1028
1024
  className: "flex flex-wrap gap-2",
1029
1025
  children: mt.map((e) => /* @__PURE__ */ U("button", {
1030
1026
  type: "button",
1031
- onClick: () => h("pricingType", e.value),
1032
- className: t("rounded-md border px-4 py-2 text-sm font-medium transition-colors", l.pricingType === e.value ? "bg-action-primary-bg text-action-primary-text border-primary" : "hover:bg-bg-sunken border-border-subtle"),
1027
+ onClick: () => m("pricingType", e.value),
1028
+ className: E("rounded-md border px-4 py-2 text-sm font-medium transition-colors", c.pricingType === e.value ? "bg-action-primary-bg text-action-primary-text border-primary" : "hover:bg-bg-sunken border-border-subtle"),
1033
1029
  children: e.label
1034
1030
  }, e.value))
1035
1031
  }),
1036
- _ && /* @__PURE__ */ W("div", {
1032
+ g && /* @__PURE__ */ W("div", {
1037
1033
  className: "space-y-4",
1038
1034
  children: [
1039
1035
  /* @__PURE__ */ W("div", {
@@ -1056,8 +1052,8 @@ var Xe = [
1056
1052
  type: "number",
1057
1053
  min: 1,
1058
1054
  step: 1,
1059
- value: l.price,
1060
- onChange: (e) => h("price", e.target.value),
1055
+ value: c.price,
1056
+ onChange: (e) => m("price", e.target.value),
1061
1057
  placeholder: "e.g. 1000",
1062
1058
  className: "w-full rounded-md border border-border-subtle bg-bg-input px-3 py-2 pr-20 text-sm focus:outline-none focus:ring-2 focus:ring-primary/50"
1063
1059
  }), /* @__PURE__ */ U("span", {
@@ -1065,20 +1061,20 @@ var Xe = [
1065
1061
  children: "credits"
1066
1062
  })]
1067
1063
  }),
1068
- y && /* @__PURE__ */ W("p", {
1064
+ v && /* @__PURE__ */ W("p", {
1069
1065
  className: "mt-1.5 text-xs text-text-secondary",
1070
1066
  children: [
1071
1067
  "≈ ",
1072
- E(x),
1068
+ D(y),
1073
1069
  " USD at the current credit rate (1 cr =",
1074
1070
  " ",
1075
- E(J),
1071
+ D(J),
1076
1072
  ")"
1077
1073
  ]
1078
1074
  }),
1079
1075
  /* @__PURE__ */ U("p", {
1080
1076
  className: "mt-1 text-xs text-text-tertiary",
1081
- children: s("devportal.priceHint", "Set the number of credits a buyer spends to install your app")
1077
+ children: o("devportal.priceHint", "Set the number of credits a buyer spends to install your app")
1082
1078
  })
1083
1079
  ]
1084
1080
  }),
@@ -1091,7 +1087,7 @@ var Xe = [
1091
1087
  50
1092
1088
  ].map((e) => /* @__PURE__ */ W("button", {
1093
1089
  type: "button",
1094
- onClick: () => h("price", String(tt(e))),
1090
+ onClick: () => m("price", String(tt(e))),
1095
1091
  className: "rounded border border-border-subtle px-2 py-0.5 hover:bg-bg-sunken transition-colors",
1096
1092
  children: [
1097
1093
  "$",
@@ -1102,12 +1098,12 @@ var Xe = [
1102
1098
  ]
1103
1099
  }, e))]
1104
1100
  }),
1105
- y && /* @__PURE__ */ W("div", {
1101
+ v && /* @__PURE__ */ W("div", {
1106
1102
  className: "rounded-lg border border-border-subtle bg-bg-sunken p-4 space-y-3",
1107
1103
  children: [
1108
1104
  /* @__PURE__ */ U("p", {
1109
1105
  className: "text-xs font-semibold uppercase tracking-wide text-text-secondary",
1110
- children: s("devportal.revenueBreakdown", "Revenue Breakdown per Sale")
1106
+ children: o("devportal.revenueBreakdown", "Revenue Breakdown per Sale")
1111
1107
  }),
1112
1108
  /* @__PURE__ */ W("div", {
1113
1109
  className: "space-y-2 text-sm",
@@ -1120,13 +1116,13 @@ var Xe = [
1120
1116
  }), /* @__PURE__ */ W("span", {
1121
1117
  className: "font-medium tabular-nums",
1122
1118
  children: [
1123
- D(v),
1119
+ O(_),
1124
1120
  " ",
1125
1121
  /* @__PURE__ */ W("span", {
1126
1122
  className: "text-text-tertiary text-xs",
1127
1123
  children: [
1128
1124
  "(",
1129
- E(x),
1125
+ D(y),
1130
1126
  ")"
1131
1127
  ]
1132
1128
  })
@@ -1142,7 +1138,7 @@ var Xe = [
1142
1138
  className: "opacity-70",
1143
1139
  children: [
1144
1140
  "(",
1145
- (n * 100).toFixed(0),
1141
+ (t * 100).toFixed(0),
1146
1142
  "%)"
1147
1143
  ]
1148
1144
  })
@@ -1150,13 +1146,13 @@ var Xe = [
1150
1146
  className: "tabular-nums",
1151
1147
  children: [
1152
1148
  "− ",
1153
- D(S),
1149
+ O(b),
1154
1150
  " ",
1155
1151
  /* @__PURE__ */ W("span", {
1156
1152
  className: "text-xs opacity-70",
1157
1153
  children: [
1158
1154
  "(",
1159
- E(C),
1155
+ D(S),
1160
1156
  ")"
1161
1157
  ]
1162
1158
  })
@@ -1168,11 +1164,11 @@ var Xe = [
1168
1164
  children: [/* @__PURE__ */ U("span", { children: "You earn" }), /* @__PURE__ */ W("span", {
1169
1165
  className: "tabular-nums",
1170
1166
  children: [
1171
- D(w),
1167
+ O(C),
1172
1168
  " ",
1173
1169
  /* @__PURE__ */ W("span", {
1174
1170
  className: "text-sm font-normal",
1175
- children: ["≈ ", E(T)]
1171
+ children: ["≈ ", D(T)]
1176
1172
  })
1177
1173
  ]
1178
1174
  })]
@@ -1185,9 +1181,9 @@ var Xe = [
1185
1181
  })
1186
1182
  ]
1187
1183
  }),
1188
- !r && /* @__PURE__ */ W("div", {
1184
+ !n && /* @__PURE__ */ W("div", {
1189
1185
  className: "flex items-start gap-3 rounded-lg border border-status-warning-bg bg-status-warning-bg-subtle p-4",
1190
- children: [/* @__PURE__ */ U(N, {
1186
+ children: [/* @__PURE__ */ U(_e, {
1191
1187
  size: 16,
1192
1188
  className: "mt-0.5 shrink-0 text-status-warning-text"
1193
1189
  }), /* @__PURE__ */ W("div", {
@@ -1195,17 +1191,17 @@ var Xe = [
1195
1191
  children: [
1196
1192
  /* @__PURE__ */ U("p", {
1197
1193
  className: "text-sm font-medium text-status-warning-text",
1198
- children: s("devportal.billingAccountRequired", "Billing account required to publish")
1194
+ children: o("devportal.billingAccountRequired", "Billing account required to publish")
1199
1195
  }),
1200
1196
  /* @__PURE__ */ U("p", {
1201
1197
  className: "mt-0.5 text-xs text-text-secondary",
1202
1198
  children: "Paid apps must have a billing account linked to your developer organization before you can submit for review. This is where your earned credits and cash withdrawals will be managed."
1203
1199
  }),
1204
- i && /* @__PURE__ */ U("button", {
1200
+ r && /* @__PURE__ */ U("button", {
1205
1201
  type: "button",
1206
- onClick: i,
1202
+ onClick: r,
1207
1203
  className: "mt-2 text-xs font-medium text-primary hover:underline underline-offset-2",
1208
- children: s("devportal.goToRevenueBilling", "Go to Revenue & Billing →")
1204
+ children: o("devportal.goToRevenueBilling", "Go to Revenue & Billing →")
1209
1205
  })
1210
1206
  ]
1211
1207
  })]
@@ -1218,7 +1214,7 @@ var Xe = [
1218
1214
  className: "rounded-xl border border-border-subtle bg-bg-surface p-5 space-y-3",
1219
1215
  children: [/* @__PURE__ */ U("h3", {
1220
1216
  className: "text-sm font-semibold",
1221
- children: s("devportal.termsTitle", "Developer & Marketplace Terms")
1217
+ children: o("devportal.termsTitle", "Developer & Marketplace Terms")
1222
1218
  }), /* @__PURE__ */ W("ul", {
1223
1219
  className: "space-y-2 text-sm text-text-secondary",
1224
1220
  children: [
@@ -1231,7 +1227,7 @@ var Xe = [
1231
1227
  "By publishing to the marketplace you agree to the",
1232
1228
  " ",
1233
1229
  /* @__PURE__ */ U("a", {
1234
- href: ce.developerAgreement,
1230
+ href: w.developerAgreement,
1235
1231
  target: "_blank",
1236
1232
  rel: "noopener noreferrer",
1237
1233
  className: "text-primary underline-offset-2 hover:underline",
@@ -1280,40 +1276,40 @@ var Xe = [
1280
1276
  className: "border-t border-border-subtle pt-6 space-y-4",
1281
1277
  children: [/* @__PURE__ */ U("button", {
1282
1278
  type: "button",
1283
- onClick: () => void g(),
1284
- disabled: d,
1279
+ onClick: () => void h(),
1280
+ disabled: u,
1285
1281
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
1286
- children: d ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
1282
+ children: u ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
1287
1283
  size: 16,
1288
1284
  className: "animate-spin"
1289
- }), s("devportal.saving", "Saving…")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(F, { size: 16 }), s("devportal.savePricing", "Save Pricing")] })
1290
- }), a && /* @__PURE__ */ W("div", {
1285
+ }), o("devportal.saving", "Saving…")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(F, { size: 16 }), o("devportal.savePricing", "Save Pricing")] })
1286
+ }), i && /* @__PURE__ */ W("div", {
1291
1287
  className: "flex items-start gap-3 rounded-lg border border-status-success-bg bg-status-success-bg-subtle px-4 py-3",
1292
1288
  children: [/* @__PURE__ */ U(P, {
1293
1289
  size: 16,
1294
1290
  className: "mt-0.5 shrink-0 text-status-success-text"
1295
1291
  }), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1296
1292
  className: "text-sm font-medium text-status-success-text",
1297
- children: s("devportal.allSetToSubmit", "You're all set!")
1293
+ children: o("devportal.allSetToSubmit", "You're all set!")
1298
1294
  }), /* @__PURE__ */ U("p", {
1299
1295
  className: "mt-0.5 text-xs text-text-secondary",
1300
- children: s("devportal.allSetDesc", "Store listing, versions, and pricing are complete. Head to the top of the page and click Submit for Review.")
1296
+ children: o("devportal.allSetDesc", "Store listing, versions, and pricing are complete. Head to the top of the page and click Submit for Review.")
1301
1297
  })] })]
1302
1298
  })]
1303
1299
  })
1304
1300
  ]
1305
1301
  });
1306
- }, rt = ({ appId: e, onNavigate: n, pricingDone: i = !1, onNavigateToPricing: a }) => {
1307
- let { t: o } = G(), s = (e, t) => {
1308
- let n = o(e);
1302
+ }, rt = ({ appId: e, onNavigate: t, pricingDone: n = !1, onNavigateToPricing: r }) => {
1303
+ let { t: i } = G(), a = (e, t) => {
1304
+ let n = i(e);
1309
1305
  return n === e ? t : n;
1310
- }, { data: l, loading: u, error: d } = c({
1306
+ }, { data: o, loading: s, error: c } = re({
1311
1307
  variables: { applicationId: e },
1312
1308
  fetchPolicy: "cache-and-network"
1313
1309
  });
1314
- if (u) return /* @__PURE__ */ U(Qe, { message: s("devportal.loadingVersions", "Loading versions…") });
1315
- if (d) return /* @__PURE__ */ U(K, { message: d.message });
1316
- let f = (l?.application?.versions?.edges ?? []).map((e) => e.node);
1310
+ if (s) return /* @__PURE__ */ U(Qe, { message: a("devportal.loadingVersions", "Loading versions…") });
1311
+ if (c) return /* @__PURE__ */ U(K, { message: c.message });
1312
+ let l = (o?.application?.versions?.edges ?? []).map((e) => e.node);
1317
1313
  return /* @__PURE__ */ W("div", {
1318
1314
  className: "space-y-4",
1319
1315
  children: [
@@ -1322,17 +1318,17 @@ var Xe = [
1322
1318
  children: [/* @__PURE__ */ W("p", {
1323
1319
  className: "text-sm text-text-secondary",
1324
1320
  children: [
1325
- f.length,
1321
+ l.length,
1326
1322
  " ",
1327
- f.length === 1 ? s("devportal.version", "version") : s("devportal.versions", "versions")
1323
+ l.length === 1 ? a("devportal.version", "version") : a("devportal.versions", "versions")
1328
1324
  ]
1329
1325
  }), /* @__PURE__ */ W("button", {
1330
- onClick: () => n(`/apps/${e}/versions`),
1326
+ onClick: () => t(`/apps/${e}/versions`),
1331
1327
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
1332
- children: [/* @__PURE__ */ U(Le, { size: 16 }), s("devportal.uploadVersion", "Upload Version")]
1328
+ children: [/* @__PURE__ */ U(Le, { size: 16 }), a("devportal.uploadVersion", "Upload Version")]
1333
1329
  })]
1334
1330
  }),
1335
- f.length > 0 ? /* @__PURE__ */ U("div", {
1331
+ l.length > 0 ? /* @__PURE__ */ U("div", {
1336
1332
  className: "overflow-hidden rounded-lg border border-border-subtle",
1337
1333
  children: /* @__PURE__ */ W("table", {
1338
1334
  className: "w-full text-sm",
@@ -1341,24 +1337,24 @@ var Xe = [
1341
1337
  children: [
1342
1338
  /* @__PURE__ */ U("th", {
1343
1339
  className: "px-4 py-3 text-left font-medium text-text-secondary",
1344
- children: s("devportal.version", "Version")
1340
+ children: a("devportal.version", "Version")
1345
1341
  }),
1346
1342
  /* @__PURE__ */ U("th", {
1347
1343
  className: "px-4 py-3 text-left font-medium text-text-secondary",
1348
- children: s("devportal.status", "Status")
1344
+ children: a("devportal.status", "Status")
1349
1345
  }),
1350
1346
  /* @__PURE__ */ U("th", {
1351
1347
  className: "px-4 py-3 text-left font-medium text-text-secondary",
1352
- children: s("devportal.released", "Released")
1348
+ children: a("devportal.released", "Released")
1353
1349
  }),
1354
1350
  /* @__PURE__ */ U("th", {
1355
1351
  className: "px-4 py-3 text-left font-medium text-text-secondary",
1356
- children: s("devportal.flags", "Flags")
1352
+ children: a("devportal.flags", "Flags")
1357
1353
  })
1358
1354
  ]
1359
1355
  }) }), /* @__PURE__ */ U("tbody", {
1360
1356
  className: "divide-y divide-border-subtle",
1361
- children: f.map((e) => /* @__PURE__ */ W(H, { children: [
1357
+ children: l.map((e) => /* @__PURE__ */ W(H, { children: [
1362
1358
  /* @__PURE__ */ W("tr", {
1363
1359
  className: "hover:bg-bg-sunken/30 transition-colors",
1364
1360
  children: [
@@ -1369,7 +1365,7 @@ var Xe = [
1369
1365
  /* @__PURE__ */ U("td", {
1370
1366
  className: "px-4 py-3",
1371
1367
  children: /* @__PURE__ */ U("span", {
1372
- className: t("inline-flex rounded-full px-2 py-0.5 text-xs font-medium", e.status === "published" ? "bg-status-success-bg-subtle text-status-success-text" : e.status === "pending_review" ? "bg-status-info-bg-subtle text-status-info-text" : e.status === "rejected" ? "bg-status-error-bg-subtle text-status-error-text" : e.status === "deprecated" ? "bg-bg-sunken text-text-secondary" : "bg-status-warning-bg-subtle text-status-warning-text"),
1368
+ className: E("inline-flex rounded-full px-2 py-0.5 text-xs font-medium", e.status === "published" ? "bg-status-success-bg-subtle text-status-success-text" : e.status === "pending_review" ? "bg-status-info-bg-subtle text-status-info-text" : e.status === "rejected" ? "bg-status-error-bg-subtle text-status-error-text" : e.status === "deprecated" ? "bg-bg-sunken text-text-secondary" : "bg-status-warning-bg-subtle text-status-warning-text"),
1373
1369
  children: e.status === "pending_review" ? "In Review" : e.status
1374
1370
  })
1375
1371
  }),
@@ -1420,18 +1416,18 @@ var Xe = [
1420
1416
  ] }))
1421
1417
  })]
1422
1418
  })
1423
- }) : /* @__PURE__ */ U(r, {
1419
+ }) : /* @__PURE__ */ U(m, {
1424
1420
  illustration: "empty-generic",
1425
1421
  icon: /* @__PURE__ */ U(je, { size: 32 }),
1426
- title: s("devportal.noVersions", "No versions yet"),
1427
- description: s("devportal.noVersionsDescription", "Upload your first version to make this item available for review and distribution."),
1422
+ title: a("devportal.noVersions", "No versions yet"),
1423
+ description: a("devportal.noVersionsDescription", "Upload your first version to make this item available for review and distribution."),
1428
1424
  action: /* @__PURE__ */ W("button", {
1429
- onClick: () => n(`/apps/${e}/versions`),
1425
+ onClick: () => t(`/apps/${e}/versions`),
1430
1426
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
1431
- children: [/* @__PURE__ */ U(Le, { size: 16 }), s("devportal.uploadVersion", "Upload Version")]
1427
+ children: [/* @__PURE__ */ U(Le, { size: 16 }), a("devportal.uploadVersion", "Upload Version")]
1432
1428
  })
1433
1429
  }),
1434
- f.length > 0 && !i && a && /* @__PURE__ */ W("div", {
1430
+ l.length > 0 && !n && r && /* @__PURE__ */ W("div", {
1435
1431
  className: "mt-4 flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-sunken px-4 py-3",
1436
1432
  children: [
1437
1433
  /* @__PURE__ */ U(F, {
@@ -1440,13 +1436,13 @@ var Xe = [
1440
1436
  }),
1441
1437
  /* @__PURE__ */ U("p", {
1442
1438
  className: "flex-1 text-sm text-text-secondary",
1443
- children: s("devportal.versionsNextPricing", "You've got versions covered. Now set your pricing before you can submit.")
1439
+ children: a("devportal.versionsNextPricing", "You've got versions covered. Now set your pricing before you can submit.")
1444
1440
  }),
1445
1441
  /* @__PURE__ */ W("button", {
1446
1442
  type: "button",
1447
- onClick: a,
1443
+ onClick: r,
1448
1444
  className: "inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline underline-offset-2 whitespace-nowrap",
1449
- children: [s("devportal.nextSetPricing", "Set Pricing"), /* @__PURE__ */ U(xe, { size: 15 })]
1445
+ children: [a("devportal.nextSetPricing", "Set Pricing"), /* @__PURE__ */ U(xe, { size: 15 })]
1450
1446
  })
1451
1447
  ]
1452
1448
  })
@@ -1456,112 +1452,118 @@ var Xe = [
1456
1452
  let { t: n } = G(), r = (e, t) => {
1457
1453
  let r = n(e);
1458
1454
  return r === e ? t : r;
1459
- }, { data: i, loading: a, error: o } = u({ variables: { applicationId: e } });
1460
- return a ? /* @__PURE__ */ U(Qe, { message: r("devportal.loadingWebhooks", "Loading webhooks...") }) : o ? /* @__PURE__ */ U(K, { message: o.message }) : /* @__PURE__ */ U(ct, {
1455
+ }, { data: i, loading: a, error: o } = A({ variables: { applicationId: e } });
1456
+ if (a) return /* @__PURE__ */ U(Qe, { message: r("devportal.loadingWebhooks", "Loading webhooks...") });
1457
+ if (o) return /* @__PURE__ */ U(K, { message: o.message });
1458
+ let s = (i?.webhooks ?? []).map(qe);
1459
+ return /* @__PURE__ */ U(ct, {
1461
1460
  appId: e,
1462
- webhooks: (i?.webhooks ?? []).map(qe),
1461
+ webhooks: s,
1463
1462
  onNavigate: t
1464
1463
  });
1465
- }, at = ({ authAppId: e, appName: t, onGrantDelegation: n, onNavigate: a }) => {
1466
- let { t: o } = G(), s = (e, t) => {
1467
- let n = o(e);
1464
+ }, at = ({ authAppId: e, appName: t, onGrantDelegation: n, onNavigate: r }) => {
1465
+ let { t: i } = G(), a = (e, t) => {
1466
+ let n = i(e);
1468
1467
  return n === e ? t : n;
1469
- }, { data: c, loading: l, error: u, refetch: d } = i(), [f] = m(), [p, h] = M([]), [g, _] = M(!1), [v, y] = M(/* @__PURE__ */ new Set()), [b, x] = M(null), S = j(() => c?.currentUserDelegations?.delegations ? c.currentUserDelegations.delegations.filter((t) => t.appId === e).map(Ye) : [], [e, c]), C = j(() => S.filter((e) => e.status === "ACTIVE"), [S]), w = j(() => C.filter((e) => v.has(e.id)), [C, v]), T = C.length > 0 && C.every((e) => v.has(e.id)), E = C.some((e) => v.has(e.id)) && !T, D = A((e, t) => {
1470
- y((n) => {
1468
+ }, { data: o, loading: s, error: c, refetch: l } = O(), [u] = se(), [d, f] = N([]), [p, h] = N(!1), [_, v] = N(/* @__PURE__ */ new Set()), [y, b] = N(null), x = M(() => o?.currentUserDelegations?.delegations ? o.currentUserDelegations.delegations.filter((t) => t.appId === e).map(Ye) : [], [e, o]), S = M(() => x.filter((e) => e.status === "ACTIVE"), [x]), C = M(() => S.filter((e) => _.has(e.id)), [S, _]), w = S.length > 0 && S.every((e) => _.has(e.id)), T = S.some((e) => _.has(e.id)) && !w, E = j((e, t) => {
1469
+ v((n) => {
1471
1470
  let r = new Set(n);
1472
1471
  return t ? r.add(e) : r.delete(e), r;
1473
1472
  });
1474
- }, []), O = A((e) => {
1475
- y((t) => {
1473
+ }, []), D = j((e) => {
1474
+ v((t) => {
1476
1475
  let n = new Set(t);
1477
- return C.forEach((t) => {
1476
+ return S.forEach((t) => {
1478
1477
  e ? n.add(t.id) : n.delete(t.id);
1479
1478
  }), n;
1480
1479
  });
1481
- }, [C]), ee = A(() => {
1482
- y(/* @__PURE__ */ new Set());
1483
- }, []), te = A(async (e) => {
1484
- _(!0);
1480
+ }, [S]), ee = j(() => {
1481
+ v(/* @__PURE__ */ new Set());
1482
+ }, []), te = j(async (e) => {
1483
+ h(!0);
1485
1484
  try {
1486
- let t = await Promise.allSettled(e.map((e) => f({ variables: { id: e } }))), n = t.filter((e) => e.status === "fulfilled").length, r = t.length - n;
1487
- x(`Revoked ${n} delegation${n === 1 ? "" : "s"}${r > 0 ? ` • ${r} failed` : ""}`), y((t) => {
1485
+ let t = await Promise.allSettled(e.map((e) => u({ variables: { id: e } }))), n = t.filter((e) => e.status === "fulfilled").length, r = t.length - n;
1486
+ b(`Revoked ${n} delegation${n === 1 ? "" : "s"}${r > 0 ? ` • ${r} failed` : ""}`), v((t) => {
1488
1487
  let n = new Set(t);
1489
1488
  return e.forEach((e) => n.delete(e)), n;
1490
- }), h([]), d();
1489
+ }), f([]), l();
1491
1490
  } catch {} finally {
1492
- _(!1);
1491
+ h(!1);
1493
1492
  }
1494
- }, [f, d]);
1495
- return e ? l ? /* @__PURE__ */ U(Qe, { message: s("devportal.loadingDelegations", "Loading delegations...") }) : u ? /* @__PURE__ */ U(K, { message: u.message }) : /* @__PURE__ */ W(H, { children: [
1496
- b && /* @__PURE__ */ U("div", {
1493
+ }, [u, l]);
1494
+ return e ? s ? /* @__PURE__ */ U(Qe, { message: a("devportal.loadingDelegations", "Loading delegations...") }) : c ? /* @__PURE__ */ U(K, { message: c.message }) : /* @__PURE__ */ W(H, { children: [
1495
+ y && /* @__PURE__ */ U("div", {
1497
1496
  className: "rounded-lg border border-border-subtle bg-status-success-bg-subtle p-3 text-sm text-status-success-text",
1498
1497
  children: /* @__PURE__ */ W("div", {
1499
1498
  className: "flex items-center justify-between gap-3",
1500
- children: [/* @__PURE__ */ U("span", { children: b }), /* @__PURE__ */ U("button", {
1501
- onClick: () => x(null),
1499
+ children: [/* @__PURE__ */ U("span", { children: y }), /* @__PURE__ */ U("button", {
1500
+ onClick: () => b(null),
1502
1501
  className: "text-status-success-text hover:text-status-success-text",
1503
- children: s("devportal.dismiss", "Dismiss")
1502
+ children: a("devportal.dismiss", "Dismiss")
1504
1503
  })]
1505
1504
  })
1506
1505
  }),
1507
1506
  /* @__PURE__ */ U(lt, {
1508
1507
  appName: t,
1509
- delegations: S,
1508
+ delegations: x,
1510
1509
  onGrantDelegation: n,
1511
- onRevokeDelegation: (e) => h([e]),
1512
- selectedDelegationIds: v,
1513
- onToggleSelectDelegation: D,
1514
- onToggleAllDelegations: O,
1510
+ onRevokeDelegation: (e) => f([e]),
1511
+ selectedDelegationIds: _,
1512
+ onToggleSelectDelegation: E,
1513
+ onToggleAllDelegations: D,
1515
1514
  onClearSelection: ee,
1516
- onRevokeSelected: () => h(w.map((e) => e.id)),
1517
- allVisibleSelected: T,
1518
- partiallySelected: E
1515
+ onRevokeSelected: () => f(C.map((e) => e.id)),
1516
+ allVisibleSelected: w,
1517
+ partiallySelected: T
1519
1518
  }),
1520
- /* @__PURE__ */ U(ae, {
1521
- open: p.length > 0,
1519
+ /* @__PURE__ */ U(g, {
1520
+ open: d.length > 0,
1522
1521
  onOpenChange: (e) => {
1523
- e || h([]);
1522
+ e || f([]);
1524
1523
  },
1525
1524
  onConfirm: () => {
1526
- p.length > 0 && te(p);
1525
+ d.length > 0 && te(d);
1527
1526
  },
1528
- title: p.length > 1 ? s("devportal.revokeDelegations", "Revoke Delegations") : s("devportal.revokeDelegation", "Revoke Delegation"),
1529
- description: p.length > 1 ? s("devportal.revokeMultipleDelegationsDescription", `This will immediately revoke ${p.length} selected delegations.`) : s("devportal.revokeDelegationDescription", "This will immediately revoke the delegation. The app will no longer be able to act on your behalf with the selected permissions."),
1530
- confirmLabel: s("devportal.revoke", "Revoke"),
1531
- cancelLabel: s("devportal.cancel", "Cancel"),
1527
+ title: d.length > 1 ? a("devportal.revokeDelegations", "Revoke Delegations") : a("devportal.revokeDelegation", "Revoke Delegation"),
1528
+ description: d.length > 1 ? a("devportal.revokeMultipleDelegationsDescription", `This will immediately revoke ${d.length} selected delegations.`) : a("devportal.revokeDelegationDescription", "This will immediately revoke the delegation. The app will no longer be able to act on your behalf with the selected permissions."),
1529
+ confirmLabel: a("devportal.revoke", "Revoke"),
1530
+ cancelLabel: a("devportal.cancel", "Cancel"),
1532
1531
  variant: "destructive",
1533
- loading: g
1532
+ loading: p
1534
1533
  })
1535
- ] }) : /* @__PURE__ */ U(r, {
1534
+ ] }) : /* @__PURE__ */ U(m, {
1536
1535
  illustration: "empty-generic",
1537
1536
  icon: /* @__PURE__ */ U(B, { size: 32 }),
1538
- title: s("devportal.linkAuthAppFirst", "Link an auth app first"),
1539
- description: s("devportal.linkAuthAppFirstDescription", "Delegations are managed through auth apps. Create or link an auth app before granting app-as-user access."),
1537
+ title: a("devportal.linkAuthAppFirst", "Link an auth app first"),
1538
+ description: a("devportal.linkAuthAppFirstDescription", "Delegations are managed through auth apps. Create or link an auth app before granting app-as-user access."),
1540
1539
  action: /* @__PURE__ */ W("button", {
1541
- onClick: () => a("/oauth"),
1540
+ onClick: () => r("/oauth"),
1542
1541
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
1543
- children: [/* @__PURE__ */ U(I, { size: 16 }), s("devportal.manageOAuthApps", "Manage OAuth Apps")]
1542
+ children: [/* @__PURE__ */ U(I, { size: 16 }), a("devportal.manageOAuthApps", "Manage OAuth Apps")]
1544
1543
  })
1545
1544
  });
1546
1545
  }, ot = ({ appId: e }) => {
1547
1546
  let { t } = G(), n = (e, n) => {
1548
1547
  let r = t(e);
1549
1548
  return r === e ? n : r;
1550
- }, r = j(() => /* @__PURE__ */ new Date(), []), { data: i, loading: a, error: s } = o({ variables: {
1549
+ }, r = M(() => /* @__PURE__ */ new Date(), []), i = M(() => {
1550
+ let e = new Date(r);
1551
+ return e.setDate(e.getDate() - 30), e;
1552
+ }, [r]), { data: a, loading: o, error: s } = te({ variables: {
1551
1553
  applicationId: e,
1552
1554
  period: "daily",
1553
- startDate: j(() => {
1554
- let e = new Date(r);
1555
- return e.setDate(e.getDate() - 30), e;
1556
- }, [r]).toISOString(),
1555
+ startDate: i.toISOString(),
1557
1556
  endDate: r.toISOString()
1558
1557
  } });
1559
- return a ? /* @__PURE__ */ U(Qe, { message: n("devportal.loadingAnalytics", "Loading analytics...") }) : s ? /* @__PURE__ */ U(K, { message: s.message }) : /* @__PURE__ */ U(ut, { analytics: (i?.applicationAnalytics ?? []).map(Je) });
1560
- }, st = ({ app: e, appId: t, refetch: n }) => {
1561
- let { t: r } = G(), i = (e, t) => {
1562
- let n = r(e);
1558
+ if (o) return /* @__PURE__ */ U(Qe, { message: n("devportal.loadingAnalytics", "Loading analytics...") });
1559
+ if (s) return /* @__PURE__ */ U(K, { message: s.message });
1560
+ let c = (a?.applicationAnalytics ?? []).map(Je);
1561
+ return /* @__PURE__ */ U(ut, { analytics: c });
1562
+ }, st = ({ app: e, appId: n, refetch: r }) => {
1563
+ let { t: i } = G(), a = (e, t) => {
1564
+ let n = i(e);
1563
1565
  return n === e ? t : n;
1564
- }, [a, { loading: o }] = g(), [s, { loading: c }] = y(), [l, u] = M(!1);
1566
+ }, [o, { loading: s }] = le(), [c, { loading: l }] = fe(), [u, d] = N(!1);
1565
1567
  return /* @__PURE__ */ W("div", {
1566
1568
  className: "space-y-6",
1567
1569
  children: [e.appType === "WORKFLOW" && /* @__PURE__ */ U("div", {
@@ -1579,46 +1581,46 @@ var Xe = [
1579
1581
  }), /* @__PURE__ */ W("div", { children: [
1580
1582
  /* @__PURE__ */ U("p", {
1581
1583
  className: "text-sm font-medium text-text-primary",
1582
- children: i("devportal.shareWorkflow.title", "Share as Public Link")
1584
+ children: a("devportal.shareWorkflow.title", "Share as Public Link")
1583
1585
  }),
1584
1586
  /* @__PURE__ */ U("p", {
1585
1587
  className: "mt-0.5 text-xs text-text-secondary",
1586
- children: e.visibility === "UNLISTED" ? i("devportal.shareWorkflow.activeDesc", "Anyone with the link can preview and copy this workflow into their FluidGrids workspace.") : i("devportal.shareWorkflow.inactiveDesc", "Generate a public link anyone can use to copy this workflow into their own FluidGrids workspace — no store review needed.")
1588
+ children: e.visibility === "UNLISTED" ? a("devportal.shareWorkflow.activeDesc", "Anyone with the link can preview and copy this workflow into their FluidGrids workspace.") : a("devportal.shareWorkflow.inactiveDesc", "Generate a public link anyone can use to copy this workflow into their own FluidGrids workspace — no store review needed.")
1587
1589
  }),
1588
1590
  e.visibility === "UNLISTED" && (e.status === "PUBLISHED" || e.status === "SUBMITTED") && /* @__PURE__ */ U("p", {
1589
1591
  className: "mt-1.5 text-xs text-status-warning-text",
1590
- children: i("devportal.shareWorkflow.stopSharingPublishedNote", "This app is in the marketplace. Stopping the share link will keep it there — visibility will switch to Public so the store listing is preserved.")
1592
+ children: a("devportal.shareWorkflow.stopSharingPublishedNote", "This app is in the marketplace. Stopping the share link will keep it there — visibility will switch to Public so the store listing is preserved.")
1591
1593
  }),
1592
1594
  e.visibility === "UNLISTED" && /* @__PURE__ */ W("div", {
1593
1595
  className: "mt-2 flex items-center gap-2",
1594
1596
  children: [/* @__PURE__ */ U("code", {
1595
1597
  className: "rounded bg-bg-canvas px-2 py-1 text-xs text-text-secondary",
1596
- children: `${window.location.protocol}//${window.location.host}/shared/${t}`
1598
+ children: `${window.location.protocol}//${window.location.host}/shared/${n}`
1597
1599
  }), /* @__PURE__ */ W("button", {
1598
1600
  type: "button",
1599
1601
  className: "flex items-center gap-1 rounded px-2 py-1 text-xs text-action-primary-text hover:bg-action-primary-bg-subtle transition-colors",
1600
1602
  onClick: () => {
1601
- let e = `${window.location.protocol}//${window.location.host}/shared/${t}`;
1603
+ let e = `${window.location.protocol}//${window.location.host}/shared/${n}`;
1602
1604
  navigator.clipboard.writeText(e).then(() => {
1603
- u(!0), setTimeout(() => u(!1), 2e3);
1605
+ d(!0), setTimeout(() => d(!1), 2e3);
1604
1606
  });
1605
1607
  },
1606
- children: [U(l ? P : Ce, { size: 12 }), l ? i("devportal.copied", "Copied!") : i("devportal.copyLink", "Copy Link")]
1608
+ children: [U(u ? P : Ce, { size: 12 }), u ? a("devportal.copied", "Copied!") : a("devportal.copyLink", "Copy Link")]
1607
1609
  })]
1608
1610
  })
1609
1611
  ] })]
1610
1612
  }), /* @__PURE__ */ U("button", {
1611
1613
  type: "button",
1612
- disabled: o || c || !e.manifest,
1613
- title: e.manifest ? void 0 : i("devportal.shareWorkflow.noManifestHint", "Add a workflow manifest before sharing"),
1614
+ disabled: s || l || !e.manifest,
1615
+ title: e.manifest ? void 0 : a("devportal.shareWorkflow.noManifestHint", "Add a workflow manifest before sharing"),
1614
1616
  onClick: () => {
1615
- e.visibility === "UNLISTED" ? s({ variables: { id: t } }).then(() => n()) : a({ variables: { id: t } }).then(() => n());
1617
+ e.visibility === "UNLISTED" ? c({ variables: { id: n } }).then(() => r()) : o({ variables: { id: n } }).then(() => r());
1616
1618
  },
1617
1619
  className: `flex-shrink-0 rounded-full px-3 py-1.5 text-xs font-medium transition-colors ${e.visibility === "UNLISTED" ? "border border-status-error-bg text-status-error-text hover:bg-status-error-bg-subtle" : "bg-action-primary-bg text-text-on-action hover:opacity-90 disabled:opacity-50"}`,
1618
- children: o || c ? /* @__PURE__ */ U(R, {
1620
+ children: s || l ? /* @__PURE__ */ U(R, {
1619
1621
  size: 12,
1620
1622
  className: "animate-spin"
1621
- }) : e.visibility === "UNLISTED" ? i("devportal.shareWorkflow.stopSharing", "Stop Sharing") : i("devportal.shareWorkflow.share", "Share Link")
1623
+ }) : e.visibility === "UNLISTED" ? a("devportal.shareWorkflow.stopSharing", "Stop Sharing") : a("devportal.shareWorkflow.share", "Share Link")
1622
1624
  })]
1623
1625
  })
1624
1626
  }), /* @__PURE__ */ W("div", {
@@ -1630,40 +1632,40 @@ var Xe = [
1630
1632
  className: "grid gap-4 sm:grid-cols-4",
1631
1633
  children: [
1632
1634
  /* @__PURE__ */ U(Z, {
1633
- label: i("devportal.totalInstalls", "Total Installs"),
1635
+ label: a("devportal.totalInstalls", "Total Installs"),
1634
1636
  value: e.installCount.toLocaleString()
1635
1637
  }),
1636
1638
  /* @__PURE__ */ U(Z, {
1637
- label: i("devportal.activeInstalls", "Active Installs"),
1639
+ label: a("devportal.activeInstalls", "Active Installs"),
1638
1640
  value: e.activeInstallCount.toLocaleString()
1639
1641
  }),
1640
1642
  /* @__PURE__ */ U(Z, {
1641
- label: i("devportal.averageRating", "Average Rating"),
1642
- value: e.averageRating ? `${e.averageRating.toFixed(1)} ★` : i("devportal.notAvailable", "N/A")
1643
+ label: a("devportal.averageRating", "Average Rating"),
1644
+ value: e.averageRating ? `${e.averageRating.toFixed(1)} ★` : a("devportal.notAvailable", "N/A")
1643
1645
  }),
1644
1646
  /* @__PURE__ */ U(Z, {
1645
- label: i("devportal.reviews", "Reviews"),
1647
+ label: a("devportal.reviews", "Reviews"),
1646
1648
  value: e.reviewCount.toString()
1647
1649
  })
1648
1650
  ]
1649
1651
  }) }),
1650
- /* @__PURE__ */ U(S, {
1651
- title: i("devportal.description", "Description"),
1652
- children: e.description ? /* @__PURE__ */ U(_e, {
1652
+ /* @__PURE__ */ U(t, {
1653
+ title: a("devportal.description", "Description"),
1654
+ children: e.description ? /* @__PURE__ */ U(ge, {
1653
1655
  className: "prose prose-sm max-w-none",
1654
1656
  children: e.description
1655
1657
  }) : /* @__PURE__ */ U("p", {
1656
1658
  className: "text-sm text-text-secondary",
1657
- children: i("devportal.noDescriptionProvided", "No description provided.")
1659
+ children: a("devportal.noDescriptionProvided", "No description provided.")
1658
1660
  })
1659
1661
  }),
1660
- /* @__PURE__ */ U(S, {
1661
- title: i("devportal.tagsAndKeywords", "Tags & Keywords"),
1662
+ /* @__PURE__ */ U(t, {
1663
+ title: a("devportal.tagsAndKeywords", "Tags & Keywords"),
1662
1664
  children: /* @__PURE__ */ W("div", {
1663
1665
  className: "space-y-3",
1664
1666
  children: [e.tags.length > 0 && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1665
1667
  className: "text-xs text-text-secondary mb-2",
1666
- children: i("devportal.tags", "Tags")
1668
+ children: a("devportal.tags", "Tags")
1667
1669
  }), /* @__PURE__ */ U("div", {
1668
1670
  className: "flex flex-wrap gap-2",
1669
1671
  children: e.tags.map((e) => /* @__PURE__ */ U("span", {
@@ -1672,7 +1674,7 @@ var Xe = [
1672
1674
  }, e))
1673
1675
  })] }), e.keywords.length > 0 && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1674
1676
  className: "text-xs text-text-secondary mb-2",
1675
- children: i("devportal.keywords", "Keywords")
1677
+ children: a("devportal.keywords", "Keywords")
1676
1678
  }), /* @__PURE__ */ U("div", {
1677
1679
  className: "flex flex-wrap gap-2",
1678
1680
  children: e.keywords.map((e) => /* @__PURE__ */ U("span", {
@@ -1685,74 +1687,74 @@ var Xe = [
1685
1687
  ]
1686
1688
  }), /* @__PURE__ */ W("div", {
1687
1689
  className: "space-y-6",
1688
- children: [/* @__PURE__ */ U(S, {
1689
- title: i("devportal.details", "Details"),
1690
- children: /* @__PURE__ */ U(ne, { items: [
1690
+ children: [/* @__PURE__ */ U(t, {
1691
+ title: a("devportal.details", "Details"),
1692
+ children: /* @__PURE__ */ U(f, { items: [
1691
1693
  {
1692
- label: i("devportal.appId", "App ID"),
1694
+ label: a("devportal.appId", "App ID"),
1693
1695
  value: /* @__PURE__ */ U("code", {
1694
1696
  className: "text-xs",
1695
1697
  children: e.id
1696
1698
  })
1697
1699
  },
1698
1700
  {
1699
- label: i("devportal.slug", "Slug"),
1701
+ label: a("devportal.slug", "Slug"),
1700
1702
  value: e.slug
1701
1703
  },
1702
1704
  {
1703
- label: i("devportal.category", "Category"),
1704
- value: e.category || i("devportal.uncategorized", "Uncategorized")
1705
+ label: a("devportal.category", "Category"),
1706
+ value: e.category || a("devportal.uncategorized", "Uncategorized")
1705
1707
  },
1706
1708
  {
1707
- label: i("devportal.pricing", "Pricing"),
1709
+ label: a("devportal.pricing", "Pricing"),
1708
1710
  value: (() => {
1709
1711
  if (e.pricingType === "PAID") {
1710
1712
  let t = e.pricingDetails ?? {}, n = typeof t.price == "number" ? t.price : null, r = typeof t.currency == "string" ? t.currency : "USD";
1711
1713
  return n == null ? "PAID" : `PAID — ${n} ${r}`;
1712
1714
  }
1713
- return e.pricingType || i("devportal.free", "Free");
1715
+ return e.pricingType || a("devportal.free", "Free");
1714
1716
  })()
1715
1717
  },
1716
1718
  {
1717
- label: i("devportal.created", "Created"),
1719
+ label: a("devportal.created", "Created"),
1718
1720
  value: new Date(e.createdAt).toLocaleDateString()
1719
1721
  },
1720
1722
  {
1721
- label: i("devportal.updated", "Updated"),
1723
+ label: a("devportal.updated", "Updated"),
1722
1724
  value: new Date(e.updatedAt).toLocaleDateString()
1723
1725
  },
1724
1726
  {
1725
- label: i("devportal.published", "Published"),
1726
- value: e.publishedAt ? new Date(e.publishedAt).toLocaleDateString() : i("devportal.notPublished", "Not published")
1727
+ label: a("devportal.published", "Published"),
1728
+ value: e.publishedAt ? new Date(e.publishedAt).toLocaleDateString() : a("devportal.notPublished", "Not published")
1727
1729
  }
1728
1730
  ] })
1729
- }), /* @__PURE__ */ U(S, {
1730
- title: i("devportal.links", "Links"),
1731
+ }), /* @__PURE__ */ U(t, {
1732
+ title: a("devportal.links", "Links"),
1731
1733
  children: /* @__PURE__ */ W("div", {
1732
1734
  className: "space-y-2",
1733
1735
  children: [
1734
1736
  e.websiteUrl && /* @__PURE__ */ U(Q, {
1735
- label: i("devportal.website", "Website"),
1737
+ label: a("devportal.website", "Website"),
1736
1738
  url: e.websiteUrl
1737
1739
  }),
1738
1740
  e.documentationUrl && /* @__PURE__ */ U(Q, {
1739
- label: i("devportal.documentation", "Documentation"),
1741
+ label: a("devportal.documentation", "Documentation"),
1740
1742
  url: e.documentationUrl
1741
1743
  }),
1742
1744
  e.supportUrl && /* @__PURE__ */ U(Q, {
1743
- label: i("devportal.support", "Support"),
1745
+ label: a("devportal.support", "Support"),
1744
1746
  url: e.supportUrl
1745
1747
  }),
1746
1748
  e.githubUrl && /* @__PURE__ */ U(Q, {
1747
- label: i("devportal.github", "GitHub"),
1749
+ label: a("devportal.github", "GitHub"),
1748
1750
  url: e.githubUrl
1749
1751
  }),
1750
1752
  e.privacyPolicyUrl && /* @__PURE__ */ U(Q, {
1751
- label: i("devportal.privacyPolicy", "Privacy Policy"),
1753
+ label: a("devportal.privacyPolicy", "Privacy Policy"),
1752
1754
  url: e.privacyPolicyUrl
1753
1755
  }),
1754
1756
  e.termsOfServiceUrl && /* @__PURE__ */ U(Q, {
1755
- label: i("devportal.termsOfService", "Terms of Service"),
1757
+ label: a("devportal.termsOfService", "Terms of Service"),
1756
1758
  url: e.termsOfServiceUrl
1757
1759
  })
1758
1760
  ]
@@ -1762,8 +1764,8 @@ var Xe = [
1762
1764
  })]
1763
1765
  });
1764
1766
  }, ct = ({ appId: e, webhooks: t, onNavigate: n }) => {
1765
- let { t: i } = G(), a = (e, t) => {
1766
- let n = i(e);
1767
+ let { t: r } = G(), i = (e, t) => {
1768
+ let n = r(e);
1767
1769
  return n === e ? t : n;
1768
1770
  };
1769
1771
  return /* @__PURE__ */ W("div", {
@@ -1775,14 +1777,14 @@ var Xe = [
1775
1777
  children: [
1776
1778
  t.length,
1777
1779
  " ",
1778
- t.length === 1 ? a("devportal.webhook", "webhook") : a("devportal.webhooks", "webhooks"),
1780
+ t.length === 1 ? i("devportal.webhook", "webhook") : i("devportal.webhooks", "webhooks"),
1779
1781
  " ",
1780
- a("devportal.configured", "configured")
1782
+ i("devportal.configured", "configured")
1781
1783
  ]
1782
1784
  }), /* @__PURE__ */ W("button", {
1783
1785
  onClick: () => n(`/apps/${e}/webhooks/new`),
1784
1786
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
1785
- children: [/* @__PURE__ */ U(z, { size: 16 }), a("devportal.addWebhook", "Add Webhook")]
1787
+ children: [/* @__PURE__ */ U(z, { size: 16 }), i("devportal.addWebhook", "Add Webhook")]
1786
1788
  })]
1787
1789
  }), t.length > 0 ? /* @__PURE__ */ U("div", {
1788
1790
  className: "space-y-4",
@@ -1796,7 +1798,7 @@ var Xe = [
1796
1798
  children: [/* @__PURE__ */ U("h3", {
1797
1799
  className: "font-medium",
1798
1800
  children: t.name
1799
- }), /* @__PURE__ */ U(T, {
1801
+ }), /* @__PURE__ */ U(l, {
1800
1802
  status: t.status,
1801
1803
  type: "webhook"
1802
1804
  })]
@@ -1811,14 +1813,14 @@ var Xe = [
1811
1813
  }),
1812
1814
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1813
1815
  className: "text-xs text-text-secondary mb-1",
1814
- children: a("devportal.endpointUrl", "Endpoint URL")
1816
+ children: i("devportal.endpointUrl", "Endpoint URL")
1815
1817
  }), /* @__PURE__ */ U("code", {
1816
1818
  className: "text-sm bg-bg-sunken px-2 py-1 rounded block truncate",
1817
1819
  children: t.url
1818
1820
  })] }),
1819
1821
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1820
1822
  className: "text-xs text-text-secondary mb-2",
1821
- children: a("devportal.events", "Events")
1823
+ children: i("devportal.events", "Events")
1822
1824
  }), /* @__PURE__ */ U("div", {
1823
1825
  className: "flex flex-wrap gap-2",
1824
1826
  children: t.events.map((e) => /* @__PURE__ */ U("span", {
@@ -1831,53 +1833,53 @@ var Xe = [
1831
1833
  children: [
1832
1834
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1833
1835
  className: "text-xs text-text-secondary",
1834
- children: a("devportal.success", "Success")
1836
+ children: i("devportal.success", "Success")
1835
1837
  }), /* @__PURE__ */ U("p", {
1836
1838
  className: "font-medium text-status-success-text",
1837
1839
  children: t.successCount.toLocaleString()
1838
1840
  })] }),
1839
1841
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1840
1842
  className: "text-xs text-text-secondary",
1841
- children: a("devportal.failed", "Failed")
1843
+ children: i("devportal.failed", "Failed")
1842
1844
  }), /* @__PURE__ */ U("p", {
1843
1845
  className: "font-medium text-status-error-text",
1844
1846
  children: t.failureCount.toLocaleString()
1845
1847
  })] }),
1846
1848
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1847
1849
  className: "text-xs text-text-secondary",
1848
- children: a("devportal.successRate", "Success Rate")
1850
+ children: i("devportal.successRate", "Success Rate")
1849
1851
  }), /* @__PURE__ */ W("p", {
1850
1852
  className: "font-medium",
1851
1853
  children: [t.successCount + t.failureCount > 0 ? (t.successCount / (t.successCount + t.failureCount) * 100).toFixed(1) : "0.0", "%"]
1852
1854
  })] }),
1853
1855
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
1854
1856
  className: "text-xs text-text-secondary",
1855
- children: a("devportal.lastTriggered", "Last Triggered")
1857
+ children: i("devportal.lastTriggered", "Last Triggered")
1856
1858
  }), /* @__PURE__ */ U("p", {
1857
1859
  className: "font-medium",
1858
- children: t.lastTriggeredAt ? new Date(t.lastTriggeredAt).toLocaleString() : a("devportal.never", "Never")
1860
+ children: t.lastTriggeredAt ? new Date(t.lastTriggeredAt).toLocaleString() : i("devportal.never", "Never")
1859
1861
  })] })
1860
1862
  ]
1861
1863
  })
1862
1864
  ]
1863
1865
  }, t.id))
1864
- }) : /* @__PURE__ */ U(r, {
1866
+ }) : /* @__PURE__ */ U(m, {
1865
1867
  illustration: "empty-notifications",
1866
1868
  icon: /* @__PURE__ */ U(ze, { size: 32 }),
1867
- title: a("devportal.noWebhooks", "No webhooks"),
1868
- description: a("devportal.noWebhooksDescription", "Add a webhook to receive event notifications"),
1869
+ title: i("devportal.noWebhooks", "No webhooks"),
1870
+ description: i("devportal.noWebhooksDescription", "Add a webhook to receive event notifications"),
1869
1871
  action: /* @__PURE__ */ W("button", {
1870
1872
  onClick: () => n(`/apps/${e}/webhooks/new`),
1871
1873
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
1872
- children: [/* @__PURE__ */ U(z, { size: 16 }), a("devportal.addWebhook", "Add Webhook")]
1874
+ children: [/* @__PURE__ */ U(z, { size: 16 }), i("devportal.addWebhook", "Add Webhook")]
1873
1875
  })
1874
1876
  })]
1875
1877
  });
1876
- }, lt = ({ appName: e, delegations: n, onGrantDelegation: i, onRevokeDelegation: a, selectedDelegationIds: o, onToggleSelectDelegation: s, onToggleAllDelegations: c, onClearSelection: l, onRevokeSelected: u, allVisibleSelected: d, partiallySelected: f }) => {
1877
- let { t: p } = G(), m = (e, t) => {
1878
- let n = p(e);
1878
+ }, lt = ({ appName: e, delegations: t, onGrantDelegation: n, onRevokeDelegation: r, selectedDelegationIds: i, onToggleSelectDelegation: a, onToggleAllDelegations: o, onClearSelection: s, onRevokeSelected: c, allVisibleSelected: l, partiallySelected: u }) => {
1879
+ let { t: d } = G(), f = (e, t) => {
1880
+ let n = d(e);
1879
1881
  return n === e ? t : n;
1880
- }, h = n.filter((e) => e.status === "ACTIVE"), g = n.filter((e) => e.status !== "ACTIVE");
1882
+ }, p = t.filter((e) => e.status === "ACTIVE"), h = t.filter((e) => e.status !== "ACTIVE");
1881
1883
  return /* @__PURE__ */ W("div", {
1882
1884
  className: "space-y-6",
1883
1885
  children: [
@@ -1886,33 +1888,33 @@ var Xe = [
1886
1888
  children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ W("p", {
1887
1889
  className: "text-sm text-text-secondary",
1888
1890
  children: [
1889
- n.length,
1891
+ t.length,
1890
1892
  " ",
1891
- n.length === 1 ? m("devportal.delegation", "delegation") : m("devportal.delegations", "delegations"),
1893
+ t.length === 1 ? f("devportal.delegation", "delegation") : f("devportal.delegations", "delegations"),
1892
1894
  " ",
1893
- m("devportal.for", "for"),
1895
+ f("devportal.for", "for"),
1894
1896
  " ",
1895
1897
  e
1896
1898
  ]
1897
- }), h.length > 0 && /* @__PURE__ */ W("p", {
1899
+ }), p.length > 0 && /* @__PURE__ */ W("p", {
1898
1900
  className: "text-xs text-text-secondary mt-0.5",
1899
1901
  children: [
1900
- h.length,
1902
+ p.length,
1901
1903
  " ",
1902
- m("devportal.active", "active"),
1904
+ f("devportal.active", "active"),
1903
1905
  ",",
1904
1906
  " ",
1905
- g.length,
1907
+ h.length,
1906
1908
  " ",
1907
- m("devportal.revokedExpired", "revoked/expired")
1909
+ f("devportal.revokedExpired", "revoked/expired")
1908
1910
  ]
1909
1911
  })] }), /* @__PURE__ */ W("button", {
1910
- onClick: i,
1912
+ onClick: n,
1911
1913
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
1912
- children: [/* @__PURE__ */ U(z, { size: 16 }), m("devportal.grantDelegation", "Grant Delegation")]
1914
+ children: [/* @__PURE__ */ U(z, { size: 16 }), f("devportal.grantDelegation", "Grant Delegation")]
1913
1915
  })]
1914
1916
  }),
1915
- h.length > 0 && /* @__PURE__ */ U("div", {
1917
+ p.length > 0 && /* @__PURE__ */ U("div", {
1916
1918
  className: "rounded-card border border-border-seam bg-bg-surface p-4",
1917
1919
  children: /* @__PURE__ */ W("div", {
1918
1920
  className: "flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",
@@ -1920,41 +1922,41 @@ var Xe = [
1920
1922
  className: "flex flex-wrap items-center gap-3",
1921
1923
  children: [/* @__PURE__ */ W("div", {
1922
1924
  className: "flex items-center gap-2",
1923
- children: [/* @__PURE__ */ U(D, {
1924
- checked: d,
1925
- indeterminate: f,
1926
- onChange: c,
1927
- ariaLabel: m("devportal.selectAllActiveDelegations", "Select all active app delegations")
1925
+ children: [/* @__PURE__ */ U(_, {
1926
+ checked: l,
1927
+ indeterminate: u,
1928
+ onChange: o,
1929
+ ariaLabel: f("devportal.selectAllActiveDelegations", "Select all active app delegations")
1928
1930
  }), /* @__PURE__ */ U("span", {
1929
1931
  className: "text-sm font-medium",
1930
- children: m("devportal.selectAllActive", "Select all active")
1932
+ children: f("devportal.selectAllActive", "Select all active")
1931
1933
  })]
1932
- }), o.size > 0 && /* @__PURE__ */ U("button", {
1933
- onClick: l,
1934
+ }), i.size > 0 && /* @__PURE__ */ U("button", {
1935
+ onClick: s,
1934
1936
  className: "text-sm text-text-secondary hover:text-text-primary",
1935
- children: m("devportal.clearSelection", "Clear selection")
1937
+ children: f("devportal.clearSelection", "Clear selection")
1936
1938
  })]
1937
1939
  }), /* @__PURE__ */ W("div", {
1938
1940
  className: "flex flex-wrap items-center gap-2",
1939
1941
  children: [/* @__PURE__ */ W("span", {
1940
1942
  className: "rounded-full bg-bg-sunken px-3 py-1 text-sm font-medium text-text-secondary",
1941
1943
  children: [
1942
- o.size,
1944
+ i.size,
1943
1945
  " ",
1944
- m("devportal.selected", "selected")
1946
+ f("devportal.selected", "selected")
1945
1947
  ]
1946
1948
  }), /* @__PURE__ */ W("button", {
1947
- onClick: u,
1948
- disabled: o.size === 0,
1949
+ onClick: c,
1950
+ disabled: i.size === 0,
1949
1951
  className: "rounded-md border border-status-error-bg px-3 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle disabled:cursor-not-allowed disabled:opacity-50",
1950
- children: [m("devportal.revokeSelected", "Revoke Selected"), o.size > 0 ? ` (${o.size})` : ""]
1952
+ children: [f("devportal.revokeSelected", "Revoke Selected"), i.size > 0 ? ` (${i.size})` : ""]
1951
1953
  })]
1952
1954
  })]
1953
1955
  })
1954
1956
  }),
1955
- n.length > 0 ? /* @__PURE__ */ U("div", {
1957
+ t.length > 0 ? /* @__PURE__ */ U("div", {
1956
1958
  className: "space-y-4",
1957
- children: n.map((e) => /* @__PURE__ */ W("div", {
1959
+ children: t.map((e) => /* @__PURE__ */ W("div", {
1958
1960
  className: "rounded-card border border-border-seam bg-bg-surface p-4 space-y-4 shadow-[var(--shadow-pop)]",
1959
1961
  children: [
1960
1962
  /* @__PURE__ */ W("div", {
@@ -1963,9 +1965,9 @@ var Xe = [
1963
1965
  className: "flex items-start gap-3",
1964
1966
  children: [e.status === "ACTIVE" && /* @__PURE__ */ U("div", {
1965
1967
  onClick: (e) => e.stopPropagation(),
1966
- children: /* @__PURE__ */ U(D, {
1967
- checked: o.has(e.id),
1968
- onChange: (t) => s(e.id, t),
1968
+ children: /* @__PURE__ */ U(_, {
1969
+ checked: i.has(e.id),
1970
+ onChange: (t) => a(e.id, t),
1969
1971
  ariaLabel: `Select delegation ${e.id}`,
1970
1972
  className: "mt-1"
1971
1973
  })
@@ -1975,30 +1977,30 @@ var Xe = [
1975
1977
  className: "font-medium",
1976
1978
  children: ["Delegation #", e.id.slice(0, 8)]
1977
1979
  }), /* @__PURE__ */ U("span", {
1978
- className: t("rounded-full px-2 py-0.5 text-xs font-medium", Ze[e.status]),
1980
+ className: E("rounded-full px-2 py-0.5 text-xs font-medium", Ze[e.status]),
1979
1981
  children: e.status
1980
1982
  })]
1981
1983
  }), /* @__PURE__ */ W("p", {
1982
1984
  className: "text-sm text-text-secondary mt-1",
1983
1985
  children: [
1984
- m("devportal.granted", "Granted"),
1986
+ f("devportal.granted", "Granted"),
1985
1987
  " ",
1986
1988
  new Date(e.grantedAt).toLocaleDateString(),
1987
1989
  " ",
1988
- m("devportal.by", "by"),
1990
+ f("devportal.by", "by"),
1989
1991
  " ",
1990
- e.grantedBy === e.userId ? m("devportal.you", "you") : e.grantedBy.slice(0, 8)
1992
+ e.grantedBy === e.userId ? f("devportal.you", "you") : e.grantedBy.slice(0, 8)
1991
1993
  ]
1992
1994
  })] })]
1993
1995
  }), e.status === "ACTIVE" && /* @__PURE__ */ W("button", {
1994
- onClick: () => a(e.id),
1996
+ onClick: () => r(e.id),
1995
1997
  className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-status-error-text hover:bg-status-error-bg-subtle transition-colors",
1996
- children: [/* @__PURE__ */ U(Ve, { size: 14 }), m("devportal.revoke", "Revoke")]
1998
+ children: [/* @__PURE__ */ U(Ve, { size: 14 }), f("devportal.revoke", "Revoke")]
1997
1999
  })]
1998
2000
  }),
1999
2001
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
2000
2002
  className: "text-xs text-text-secondary mb-2",
2001
- children: m("devportal.grantedScopes", "Granted Scopes")
2003
+ children: f("devportal.grantedScopes", "Granted Scopes")
2002
2004
  }), /* @__PURE__ */ U("div", {
2003
2005
  className: "flex flex-wrap gap-2",
2004
2006
  children: e.scopes.map((e) => /* @__PURE__ */ U("span", {
@@ -2008,7 +2010,7 @@ var Xe = [
2008
2010
  })] }),
2009
2011
  e.workspaceIds.length > 0 && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("p", {
2010
2012
  className: "text-xs text-text-secondary mb-2",
2011
- children: m("devportal.workspaceScope", "Workspace Scope")
2013
+ children: f("devportal.workspaceScope", "Workspace Scope")
2012
2014
  }), /* @__PURE__ */ U("div", {
2013
2015
  className: "flex flex-wrap gap-2",
2014
2016
  children: e.workspaceIds.map((e) => /* @__PURE__ */ U("code", {
@@ -2023,7 +2025,7 @@ var Xe = [
2023
2025
  className: "flex items-center gap-1",
2024
2026
  children: [
2025
2027
  /* @__PURE__ */ U(Se, { size: 12 }),
2026
- m("devportal.expires", "Expires"),
2028
+ f("devportal.expires", "Expires"),
2027
2029
  " ",
2028
2030
  new Date(e.expiresAt).toLocaleDateString()
2029
2031
  ]
@@ -2033,7 +2035,7 @@ var Xe = [
2033
2035
  children: [/* @__PURE__ */ U(be, {
2034
2036
  size: 12,
2035
2037
  className: "text-status-success-text"
2036
- }), m("devportal.noExpiration", "No expiration")]
2038
+ }), f("devportal.noExpiration", "No expiration")]
2037
2039
  }),
2038
2040
  e.revokedAt && /* @__PURE__ */ W("span", {
2039
2041
  className: "flex items-center gap-1",
@@ -2042,7 +2044,7 @@ var Xe = [
2042
2044
  size: 12,
2043
2045
  className: "text-status-error-text"
2044
2046
  }),
2045
- m("devportal.revoked", "Revoked"),
2047
+ f("devportal.revoked", "Revoked"),
2046
2048
  " ",
2047
2049
  new Date(e.revokedAt).toLocaleDateString()
2048
2050
  ]
@@ -2051,23 +2053,23 @@ var Xe = [
2051
2053
  })
2052
2054
  ]
2053
2055
  }, e.id))
2054
- }) : /* @__PURE__ */ U(r, {
2056
+ }) : /* @__PURE__ */ U(m, {
2055
2057
  illustration: "empty-people",
2056
2058
  icon: /* @__PURE__ */ U(Re, { size: 32 }),
2057
- title: m("devportal.noDelegations", "No delegations"),
2058
- description: m("devportal.noDelegationsDescription", "Grant a delegation to allow this app to act on your behalf"),
2059
+ title: f("devportal.noDelegations", "No delegations"),
2060
+ description: f("devportal.noDelegationsDescription", "Grant a delegation to allow this app to act on your behalf"),
2059
2061
  action: /* @__PURE__ */ W("button", {
2060
- onClick: i,
2062
+ onClick: n,
2061
2063
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
2062
- children: [/* @__PURE__ */ U(z, { size: 16 }), m("devportal.grantDelegation", "Grant Delegation")]
2064
+ children: [/* @__PURE__ */ U(z, { size: 16 }), f("devportal.grantDelegation", "Grant Delegation")]
2063
2065
  })
2064
2066
  })
2065
2067
  ]
2066
2068
  });
2067
2069
  }, ut = ({ analytics: e }) => {
2068
- let { t } = G(), n = (e, n) => {
2069
- let r = t(e);
2070
- return r === e ? n : r;
2070
+ let { t: n } = G(), r = (e, t) => {
2071
+ let r = n(e);
2072
+ return r === e ? t : r;
2071
2073
  }, i = e[0], a = e[1], o = (e, t) => t ? (e - t) / t * 100 : 0;
2072
2074
  return /* @__PURE__ */ W("div", {
2073
2075
  className: "space-y-6",
@@ -2075,114 +2077,114 @@ var Xe = [
2075
2077
  className: "grid gap-4 sm:grid-cols-4",
2076
2078
  children: [
2077
2079
  /* @__PURE__ */ U(Z, {
2078
- label: n("devportal.activeUsers", "Active Users"),
2080
+ label: r("devportal.activeUsers", "Active Users"),
2079
2081
  value: i?.activeUsers.toLocaleString() || "0",
2080
2082
  trend: a ? o(i.activeUsers, a.activeUsers) : void 0
2081
2083
  }),
2082
2084
  /* @__PURE__ */ U(Z, {
2083
- label: n("devportal.apiCalls", "API Calls"),
2085
+ label: r("devportal.apiCalls", "API Calls"),
2084
2086
  value: i ? `${(i.apiCalls / 1e3).toFixed(1)}K` : "0",
2085
2087
  trend: a ? o(i.apiCalls, a.apiCalls) : void 0
2086
2088
  }),
2087
2089
  /* @__PURE__ */ U(Z, {
2088
- label: n("devportal.avgResponseTime", "Avg Response Time"),
2089
- value: i?.avgResponseTime ? `${i.avgResponseTime}ms` : n("devportal.notAvailable", "N/A"),
2090
+ label: r("devportal.avgResponseTime", "Avg Response Time"),
2091
+ value: i?.avgResponseTime ? `${i.avgResponseTime}ms` : r("devportal.notAvailable", "N/A"),
2090
2092
  trend: a && i?.avgResponseTime ? -o(i.avgResponseTime, a.avgResponseTime || 1) : void 0
2091
2093
  }),
2092
2094
  /* @__PURE__ */ U(Z, {
2093
- label: n("devportal.errorRate", "Error Rate"),
2095
+ label: r("devportal.errorRate", "Error Rate"),
2094
2096
  value: i && i.apiCalls > 0 ? `${(i.errors / i.apiCalls * 100).toFixed(2)}%` : "0%",
2095
2097
  trend: a && i && i.apiCalls > 0 && a.apiCalls > 0 ? -o(i.errors / i.apiCalls, a.errors / a.apiCalls) : void 0
2096
2098
  })
2097
2099
  ]
2098
- }), /* @__PURE__ */ U(S, {
2099
- title: n("devportal.dailyBreakdown", "Daily Breakdown"),
2100
- children: e.length > 0 ? /* @__PURE__ */ U(te, {
2100
+ }), /* @__PURE__ */ U(t, {
2101
+ title: r("devportal.dailyBreakdown", "Daily Breakdown"),
2102
+ children: e.length > 0 ? /* @__PURE__ */ U(d, {
2101
2103
  data: e,
2102
2104
  keyField: "id",
2103
2105
  columns: [
2104
2106
  {
2105
2107
  key: "date",
2106
- header: n("devportal.date", "Date"),
2108
+ header: r("devportal.date", "Date"),
2107
2109
  render: (e) => new Date(e.date).toLocaleDateString()
2108
2110
  },
2109
2111
  {
2110
2112
  key: "activeUsers",
2111
- header: n("devportal.activeUsers", "Active Users"),
2113
+ header: r("devportal.activeUsers", "Active Users"),
2112
2114
  render: (e) => e.activeUsers.toLocaleString()
2113
2115
  },
2114
2116
  {
2115
2117
  key: "newUsers",
2116
- header: n("devportal.newUsers", "New Users"),
2118
+ header: r("devportal.newUsers", "New Users"),
2117
2119
  render: (e) => e.newUsers.toLocaleString()
2118
2120
  },
2119
2121
  {
2120
2122
  key: "apiCalls",
2121
- header: n("devportal.apiCalls", "API Calls"),
2123
+ header: r("devportal.apiCalls", "API Calls"),
2122
2124
  render: (e) => e.apiCalls.toLocaleString()
2123
2125
  },
2124
2126
  {
2125
2127
  key: "errors",
2126
- header: n("devportal.errors", "Errors"),
2128
+ header: r("devportal.errors", "Errors"),
2127
2129
  render: (e) => e.errors.toLocaleString()
2128
2130
  },
2129
2131
  {
2130
2132
  key: "avgResponseTime",
2131
- header: n("devportal.avgResponse", "Avg Response"),
2132
- render: (e) => e.avgResponseTime ? `${e.avgResponseTime}ms` : n("devportal.notAvailable", "N/A")
2133
+ header: r("devportal.avgResponse", "Avg Response"),
2134
+ render: (e) => e.avgResponseTime ? `${e.avgResponseTime}ms` : r("devportal.notAvailable", "N/A")
2133
2135
  },
2134
2136
  {
2135
2137
  key: "sessions",
2136
- header: n("devportal.sessions", "Sessions"),
2138
+ header: r("devportal.sessions", "Sessions"),
2137
2139
  render: (e) => e.sessions.toLocaleString()
2138
2140
  }
2139
2141
  ]
2140
- }) : /* @__PURE__ */ U(r, {
2142
+ }) : /* @__PURE__ */ U(m, {
2141
2143
  illustration: "empty-data",
2142
2144
  icon: /* @__PURE__ */ U(ye, { size: 32 }),
2143
- title: n("devportal.noAnalyticsData", "No analytics data"),
2144
- description: n("devportal.noAnalyticsDataDescription", "Analytics data will appear here once the application starts receiving traffic.")
2145
+ title: r("devportal.noAnalyticsData", "No analytics data"),
2146
+ description: r("devportal.noAnalyticsDataDescription", "Analytics data will appear here once the application starts receiving traffic.")
2145
2147
  })
2146
2148
  })]
2147
2149
  });
2148
- }, dt = "# Sample query — replace with your own\n# Note: introspection is disabled on this gateway for security.\n# Use a real query from your app's API schema instead.\nquery GetCurrentUser {\n currentUser {\n id\n email\n }\n}", ft = ({ app: t }) => {
2149
- let { apiGatewayUrl: n, workspacesGatewayUrl: r, authToken: i } = e(), { t: a } = G(), o = (e, t) => {
2150
- let n = a(e);
2150
+ }, dt = "# Sample query — replace with your own\n# Note: introspection is disabled on this gateway for security.\n# Use a real query from your app's API schema instead.\nquery GetCurrentUser {\n currentUser {\n id\n email\n }\n}", ft = ({ app: e }) => {
2151
+ let { apiGatewayUrl: t, workspacesGatewayUrl: n, authToken: r } = y(), { t: i } = G(), a = (e, t) => {
2152
+ let n = i(e);
2151
2153
  return n === e ? t : n;
2152
- }, [s, c] = M(dt), [l, u] = M("{}"), [d, f] = M(""), [p, m] = M(!1), [h, g] = M(`${n || "https://gw-global.local.burdenoff.com"}/global/graphql`), [_, v] = M(i || ""), [y, b] = M(!1), x = A(async () => {
2153
- m(!0), f("");
2154
+ }, [o, s] = N(dt), [c, l] = N("{}"), [u, d] = N(""), [f, p] = N(!1), [m, h] = N(`${t || "https://gw-global.local.burdenoff.com"}/global/graphql`), [g, _] = N(r || ""), [v, b] = N(!1), x = j(async () => {
2155
+ p(!0), d("");
2154
2156
  try {
2155
2157
  let e = {};
2156
2158
  try {
2157
- e = JSON.parse(l);
2159
+ e = JSON.parse(c);
2158
2160
  } catch {
2159
- f(JSON.stringify({ error: "Invalid JSON in variables" }, null, 2)), m(!1);
2161
+ d(JSON.stringify({ error: "Invalid JSON in variables" }, null, 2)), p(!1);
2160
2162
  return;
2161
2163
  }
2162
2164
  let t = { "Content-Type": "application/json" };
2163
- _ && (t.Authorization = `Bearer ${_}`);
2164
- let n = await (await fetch(h, {
2165
+ g && (t.Authorization = `Bearer ${g}`);
2166
+ let n = await (await fetch(m, {
2165
2167
  method: "POST",
2166
2168
  headers: t,
2167
2169
  body: JSON.stringify({
2168
- query: s,
2170
+ query: o,
2169
2171
  variables: e
2170
2172
  })
2171
2173
  })).json();
2172
- f(JSON.stringify(n, null, 2));
2174
+ d(JSON.stringify(n, null, 2));
2173
2175
  } catch (e) {
2174
- f(JSON.stringify({ error: e instanceof Error ? e.message : "Request failed" }, null, 2));
2176
+ d(JSON.stringify({ error: e instanceof Error ? e.message : "Request failed" }, null, 2));
2175
2177
  } finally {
2176
- m(!1);
2178
+ p(!1);
2177
2179
  }
2178
2180
  }, [
2179
- s,
2180
- l,
2181
- h,
2182
- _
2183
- ]), S = A(() => {
2184
- i && v(i), b(!0);
2185
- }, [i]);
2181
+ o,
2182
+ c,
2183
+ m,
2184
+ g
2185
+ ]), S = j(() => {
2186
+ r && _(r), b(!0);
2187
+ }, [r]);
2186
2188
  return /* @__PURE__ */ W("div", {
2187
2189
  className: "space-y-4",
2188
2190
  children: [
@@ -2190,18 +2192,18 @@ var Xe = [
2190
2192
  className: "flex items-center justify-between",
2191
2193
  children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("h3", {
2192
2194
  className: "text-lg font-semibold",
2193
- children: o("devportal.apiPlayground", "API Playground")
2195
+ children: a("devportal.apiPlayground", "API Playground")
2194
2196
  }), /* @__PURE__ */ W("p", {
2195
2197
  className: "text-sm text-text-secondary",
2196
2198
  children: [
2197
- o("devportal.apiPlaygroundDescription", "Test GraphQL APIs in the context of"),
2199
+ a("devportal.apiPlaygroundDescription", "Test GraphQL APIs in the context of"),
2198
2200
  " ",
2199
- /* @__PURE__ */ U("strong", { children: t.name }),
2200
- t.appId && /* @__PURE__ */ W("span", {
2201
+ /* @__PURE__ */ U("strong", { children: e.name }),
2202
+ e.appId && /* @__PURE__ */ W("span", {
2201
2203
  className: "ml-1 text-xs text-text-secondary",
2202
2204
  children: [
2203
2205
  "(OAuth App: ",
2204
- t.appId.slice(0, 8),
2206
+ e.appId.slice(0, 8),
2205
2207
  "...)"
2206
2208
  ]
2207
2209
  })
@@ -2209,24 +2211,24 @@ var Xe = [
2209
2211
  })] }), /* @__PURE__ */ W("button", {
2210
2212
  onClick: S,
2211
2213
  className: "flex items-center gap-2 rounded-md border px-3 py-1.5 text-sm font-medium hover:bg-accent transition-colors",
2212
- children: [/* @__PURE__ */ U(L, { size: 14 }), o("devportal.autoFillCredentials", "Auto-fill Credentials")]
2214
+ children: [/* @__PURE__ */ U(L, { size: 14 }), a("devportal.autoFillCredentials", "Auto-fill Credentials")]
2213
2215
  })]
2214
2216
  }),
2215
- y && /* @__PURE__ */ W("div", {
2217
+ v && /* @__PURE__ */ W("div", {
2216
2218
  className: "rounded-lg border bg-status-info-bg-subtle p-4 text-sm space-y-2",
2217
2219
  children: [
2218
2220
  /* @__PURE__ */ U("p", {
2219
2221
  className: "font-medium text-status-info-text",
2220
- children: o("devportal.authenticationGuide", "Authentication Guide")
2222
+ children: a("devportal.authenticationGuide", "Authentication Guide")
2221
2223
  }),
2222
2224
  /* @__PURE__ */ W("p", {
2223
2225
  className: "text-status-info-text",
2224
2226
  children: [
2225
- o("devportal.authenticationGuideText", "Your current session token has been filled in. For app-level authentication (Client Credentials flow), use the"),
2227
+ a("devportal.authenticationGuideText", "Your current session token has been filled in. For app-level authentication (Client Credentials flow), use the"),
2226
2228
  " ",
2227
- /* @__PURE__ */ U("strong", { children: o("devportal.oauthClientsTab", "OAuth Clients") }),
2229
+ /* @__PURE__ */ U("strong", { children: a("devportal.oauthClientsTab", "OAuth Clients") }),
2228
2230
  " ",
2229
- o("devportal.authenticationGuideText2", "tab to get the app's clientId and clientSecret, then call:")
2231
+ a("devportal.authenticationGuideText2", "tab to get the app's clientId and clientSecret, then call:")
2230
2232
  ]
2231
2233
  }),
2232
2234
  /* @__PURE__ */ U("pre", {
@@ -2236,95 +2238,95 @@ var Xe = [
2236
2238
  /* @__PURE__ */ W("p", {
2237
2239
  className: "text-status-info-text",
2238
2240
  children: [
2239
- o("devportal.useReturnedAccessToken", "Use the returned"),
2241
+ a("devportal.useReturnedAccessToken", "Use the returned"),
2240
2242
  " ",
2241
2243
  /* @__PURE__ */ U("code", {
2242
2244
  className: "bg-status-info-bg-subtle px-1 rounded",
2243
2245
  children: "accessToken"
2244
2246
  }),
2245
2247
  " ",
2246
- o("devportal.asBearerToken", "as the Bearer token below.")
2248
+ a("devportal.asBearerToken", "as the Bearer token below.")
2247
2249
  ]
2248
2250
  }),
2249
2251
  /* @__PURE__ */ U("button", {
2250
2252
  onClick: () => b(!1),
2251
2253
  className: "text-xs text-accent-blue hover:underline",
2252
- children: o("devportal.dismiss", "Dismiss")
2254
+ children: a("devportal.dismiss", "Dismiss")
2253
2255
  })
2254
2256
  ]
2255
2257
  }),
2256
2258
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
2257
2259
  className: "block text-sm font-medium mb-1",
2258
- children: o("devportal.gatewayEndpoint", "Gateway Endpoint")
2260
+ children: a("devportal.gatewayEndpoint", "Gateway Endpoint")
2259
2261
  }), /* @__PURE__ */ W("div", {
2260
2262
  className: "flex gap-2",
2261
2263
  children: [/* @__PURE__ */ U("input", {
2262
2264
  type: "text",
2263
- value: h,
2264
- onChange: (e) => g(e.target.value),
2265
+ value: m,
2266
+ onChange: (e) => h(e.target.value),
2265
2267
  className: "flex-1 rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface"
2266
2268
  }), /* @__PURE__ */ W("select", {
2267
- onChange: (e) => g(e.target.value),
2269
+ onChange: (e) => h(e.target.value),
2268
2270
  className: "rounded-md border px-3 py-2 text-sm bg-bg-surface scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
2269
- value: h,
2271
+ value: m,
2270
2272
  children: [/* @__PURE__ */ U("option", {
2271
- value: `${n || "https://gw-global.local.burdenoff.com"}/global/graphql`,
2272
- children: o("devportal.globalGateway", "Global Gateway")
2273
+ value: `${t || "https://gw-global.local.burdenoff.com"}/global/graphql`,
2274
+ children: a("devportal.globalGateway", "Global Gateway")
2273
2275
  }), /* @__PURE__ */ U("option", {
2274
- value: `${r || "https://gw-wspace.local.burdenoff.com"}/workspaces/graphql`,
2275
- children: o("devportal.workspaceGateway", "Workspace Gateway")
2276
+ value: `${n || "https://gw-wspace.local.burdenoff.com"}/workspaces/graphql`,
2277
+ children: a("devportal.workspaceGateway", "Workspace Gateway")
2276
2278
  })]
2277
2279
  })]
2278
2280
  })] }),
2279
2281
  /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
2280
2282
  className: "block text-sm font-medium mb-1",
2281
- children: o("devportal.bearerToken", "Bearer Token")
2283
+ children: a("devportal.bearerToken", "Bearer Token")
2282
2284
  }), /* @__PURE__ */ U("input", {
2283
2285
  type: "password",
2284
- value: _,
2285
- onChange: (e) => v(e.target.value),
2286
- placeholder: o("devportal.pasteAccessToken", "Paste access token here..."),
2286
+ value: g,
2287
+ onChange: (e) => _(e.target.value),
2288
+ placeholder: a("devportal.pasteAccessToken", "Paste access token here..."),
2287
2289
  className: "w-full rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface"
2288
2290
  })] }),
2289
2291
  /* @__PURE__ */ W("div", {
2290
2292
  className: "grid grid-cols-1 lg:grid-cols-2 gap-4",
2291
2293
  children: [/* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
2292
2294
  className: "block text-sm font-medium mb-1",
2293
- children: o("devportal.query", "Query")
2295
+ children: a("devportal.query", "Query")
2294
2296
  }), /* @__PURE__ */ U("textarea", {
2295
- value: s,
2296
- onChange: (e) => c(e.target.value),
2297
+ value: o,
2298
+ onChange: (e) => s(e.target.value),
2297
2299
  className: "w-full h-64 rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface resize-y",
2298
2300
  spellCheck: !1
2299
2301
  })] }), /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
2300
2302
  className: "block text-sm font-medium mb-1",
2301
- children: o("devportal.variablesJson", "Variables (JSON)")
2303
+ children: a("devportal.variablesJson", "Variables (JSON)")
2302
2304
  }), /* @__PURE__ */ U("textarea", {
2303
- value: l,
2304
- onChange: (e) => u(e.target.value),
2305
+ value: c,
2306
+ onChange: (e) => l(e.target.value),
2305
2307
  className: "w-full h-64 rounded-md border px-3 py-2 text-sm font-mono bg-bg-surface resize-y",
2306
2308
  spellCheck: !1
2307
2309
  })] })]
2308
2310
  }),
2309
2311
  /* @__PURE__ */ W("button", {
2310
2312
  onClick: x,
2311
- disabled: p,
2313
+ disabled: f,
2312
2314
  className: "flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
2313
- children: [p ? /* @__PURE__ */ U(R, {
2315
+ children: [f ? /* @__PURE__ */ U(R, {
2314
2316
  size: 16,
2315
2317
  className: "animate-spin"
2316
- }) : /* @__PURE__ */ U(I, { size: 16 }), p ? o("devportal.executing", "Executing...") : o("devportal.executeQuery", "Execute Query")]
2318
+ }) : /* @__PURE__ */ U(I, { size: 16 }), f ? a("devportal.executing", "Executing...") : a("devportal.executeQuery", "Execute Query")]
2317
2319
  }),
2318
- d && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
2320
+ u && /* @__PURE__ */ W("div", { children: [/* @__PURE__ */ U("label", {
2319
2321
  className: "block text-sm font-medium mb-1",
2320
- children: o("devportal.response", "Response")
2322
+ children: a("devportal.response", "Response")
2321
2323
  }), /* @__PURE__ */ U("pre", {
2322
2324
  className: "w-full max-h-96 overflow-auto rounded-md border bg-bg-sunken p-4 text-xs font-mono",
2323
- children: d
2325
+ children: u
2324
2326
  })] })
2325
2327
  ]
2326
2328
  });
2327
- }, pt = new Set(["workflow", "template"]), mt = [{
2329
+ }, pt = /* @__PURE__ */ new Set(["workflow", "template"]), mt = [{
2328
2330
  value: "FREE",
2329
2331
  label: "Free"
2330
2332
  }, {
@@ -2433,67 +2435,67 @@ function X(e) {
2433
2435
  manifestJsonContent: typeof t.jsonContent == "string" ? t.jsonContent : typeof t.content == "string" ? t.content : ""
2434
2436
  };
2435
2437
  }
2436
- var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i = !1, onNavigateToVersions: a, onNavigateToPricing: o, onNavigateToSubmission: s }) => {
2437
- let { workspacesGatewayUrl: c, authToken: l, workspaceId: u, getWorkspaceToken: d } = e(), { t: f } = G(), p = (e, t) => {
2438
- let n = f(e);
2438
+ var _t = ({ app: e, versionCount: c = 0, isPackageApp: l = !1, pricingDone: u = !1, onNavigateToVersions: d, onNavigateToPricing: f, onNavigateToSubmission: p }) => {
2439
+ let { workspacesGatewayUrl: m, authToken: h, workspaceId: g, getWorkspaceToken: _ } = y(), { t: v } = G(), S = (e, t) => {
2440
+ let n = v(e);
2439
2441
  return n === e ? t : n;
2440
- }, [m, h] = M(() => X(t)), [g, _] = M(!1), [v, y] = M(null), x = ge(X(t)), C = ge(t);
2441
- C.current = t;
2442
- let w = JSON.stringify(m) !== JSON.stringify(x.current), [T] = b();
2443
- he(() => {
2444
- let e = X(C.current);
2445
- h(e), x.current = e, y(null);
2446
- }, [t.id]);
2447
- let E = (e, t) => {
2448
- h((n) => ({
2442
+ }, [C, w] = N(() => X(e)), [T, E] = N(!1), [D, O] = N(null), ee = he(X(e)), te = he(e);
2443
+ te.current = e;
2444
+ let ne = JSON.stringify(C) !== JSON.stringify(ee.current), [re] = pe();
2445
+ me(() => {
2446
+ let e = X(te.current);
2447
+ w(e), ee.current = e, O(null);
2448
+ }, [e.id]);
2449
+ let k = (e, t) => {
2450
+ w((n) => ({
2449
2451
  ...n,
2450
2452
  [e]: t
2451
- })), y(null);
2452
- }, D = m.shortDescription.trim().length > 0 && m.privacyPolicyUrl.trim().length > 0 && m.termsOfServiceUrl.trim().length > 0, ee = async () => {
2453
- _(!0), y(null);
2453
+ })), O(null);
2454
+ }, A = C.shortDescription.trim().length > 0 && C.privacyPolicyUrl.trim().length > 0 && C.termsOfServiceUrl.trim().length > 0, ie = async () => {
2455
+ E(!0), O(null);
2454
2456
  try {
2455
- let e = m.screenshotsText.split("\n").map((e) => e.trim()).filter(Boolean), n = m.manifestPermissionsText.split("\n").map((e) => e.trim()).filter(Boolean), r = pt.has(m.manifestItemType), i = t.manifest ?? {}, a = {
2457
+ let t = C.screenshotsText.split("\n").map((e) => e.trim()).filter(Boolean), n = C.manifestPermissionsText.split("\n").map((e) => e.trim()).filter(Boolean), r = pt.has(C.manifestItemType), i = e.manifest ?? {}, a = {
2456
2458
  manifestVersion: typeof i.manifestVersion == "string" ? i.manifestVersion : "1.0",
2457
- itemType: m.manifestItemType || void 0,
2459
+ itemType: C.manifestItemType || void 0,
2458
2460
  identity: {
2459
- version: m.manifestVersion || "1.0.0",
2460
- displayName: m.manifestDisplayName
2461
+ version: C.manifestVersion || "1.0.0",
2462
+ displayName: C.manifestDisplayName
2461
2463
  },
2462
- ...r ? { jsonContent: m.manifestJsonContent || void 0 } : { digital: { install: {
2463
- type: m.manifestInstallType,
2464
- ...m.manifestInstallType === "zip" && m.manifestRegistryUrl ? { url: m.manifestRegistryUrl } : {}
2464
+ ...r ? { jsonContent: C.manifestJsonContent || void 0 } : { digital: { install: {
2465
+ type: C.manifestInstallType,
2466
+ ...C.manifestInstallType === "zip" && C.manifestRegistryUrl ? { url: C.manifestRegistryUrl } : {}
2465
2467
  } } },
2466
2468
  permissions: n,
2467
- compatibility: { minPlatformVersion: m.manifestMinPlatformVersion }
2469
+ compatibility: { minPlatformVersion: C.manifestMinPlatformVersion }
2468
2470
  };
2469
- await T({ variables: {
2470
- id: t.id,
2471
+ await re({ variables: {
2472
+ id: e.id,
2471
2473
  input: {
2472
- iconUrl: m.iconUrl || null,
2473
- bannerUrl: m.bannerUrl || null,
2474
- videoUrl: m.videoUrl || null,
2475
- shortDescription: m.shortDescription || null,
2476
- description: m.description || null,
2477
- screenshots: e.length > 0 ? e : null,
2478
- websiteUrl: m.websiteUrl || null,
2479
- documentationUrl: m.documentationUrl || null,
2480
- githubUrl: m.githubUrl || null,
2481
- supportUrl: m.supportUrl || null,
2482
- privacyPolicyUrl: m.privacyPolicyUrl || null,
2483
- termsOfServiceUrl: m.termsOfServiceUrl || null,
2474
+ iconUrl: C.iconUrl || null,
2475
+ bannerUrl: C.bannerUrl || null,
2476
+ videoUrl: C.videoUrl || null,
2477
+ shortDescription: C.shortDescription || null,
2478
+ description: C.description || null,
2479
+ screenshots: t.length > 0 ? t : null,
2480
+ websiteUrl: C.websiteUrl || null,
2481
+ documentationUrl: C.documentationUrl || null,
2482
+ githubUrl: C.githubUrl || null,
2483
+ supportUrl: C.supportUrl || null,
2484
+ privacyPolicyUrl: C.privacyPolicyUrl || null,
2485
+ termsOfServiceUrl: C.termsOfServiceUrl || null,
2484
2486
  manifest: a
2485
2487
  }
2486
- } }), O("success"), y("success"), x.current = m;
2488
+ } }), x("success"), O("success"), ee.current = C;
2487
2489
  } catch {
2488
- O("error"), y("error");
2490
+ x("error"), O("error");
2489
2491
  } finally {
2490
- _(!1);
2492
+ E(!1);
2491
2493
  }
2492
- }, { upload: te, uploading: ne, progress: ae, error: oe } = pe(c, l, u, d, "/DevPortal/Assets"), { upload: ce, uploading: le, progress: ue, error: me } = pe(c, l, u, d, "/DevPortal/Assets"), { upload: A, uploading: j, progress: _e, error: ve } = pe(c, l, u, d, "/DevPortal/Assets"), ye = pt.has(m.manifestItemType), F = t.status === "SUBMITTED";
2494
+ }, { upload: ae, uploading: oe, progress: se, error: ce } = b(m, h, g, _, "/DevPortal/Assets"), { upload: le, uploading: ue, progress: de, error: fe } = b(m, h, g, _, "/DevPortal/Assets"), { upload: j, uploading: M, progress: ge, error: ve } = b(m, h, g, _, "/DevPortal/Assets"), ye = pt.has(C.manifestItemType), F = e.status === "SUBMITTED", Ce = e.status === "PUBLISHED";
2493
2495
  return /* @__PURE__ */ W("div", {
2494
2496
  className: "space-y-8 max-w-3xl",
2495
2497
  children: [
2496
- t.status === "PUBLISHED" ? /* @__PURE__ */ W("div", {
2498
+ Ce ? /* @__PURE__ */ W("div", {
2497
2499
  className: "flex items-start gap-3 rounded-lg border border-success/30 bg-success/10 px-4 py-3",
2498
2500
  children: [/* @__PURE__ */ U(be, {
2499
2501
  size: 16,
@@ -2502,13 +2504,13 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
2502
2504
  className: "text-sm",
2503
2505
  children: [/* @__PURE__ */ U("span", {
2504
2506
  className: "font-medium text-success",
2505
- children: p("devportal.storeListing.published", "Published")
2506
- }), t.publishedAt && /* @__PURE__ */ W("span", {
2507
+ children: S("devportal.storeListing.published", "Published")
2508
+ }), e.publishedAt && /* @__PURE__ */ W("span", {
2507
2509
  className: "text-text-secondary ml-2",
2508
2510
  children: [
2509
- p("devportal.storeListing.since", "since"),
2511
+ S("devportal.storeListing.since", "since"),
2510
2512
  " ",
2511
- new Date(t.publishedAt).toLocaleDateString()
2513
+ new Date(e.publishedAt).toLocaleDateString()
2512
2514
  ]
2513
2515
  })]
2514
2516
  })]
@@ -2524,180 +2526,180 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
2524
2526
  children: [
2525
2527
  /* @__PURE__ */ U("span", {
2526
2528
  className: "font-medium text-primary",
2527
- children: p("devportal.storeListing.underReview", "Submitted for review")
2529
+ children: S("devportal.storeListing.underReview", "Submitted for review")
2528
2530
  }),
2529
- t.submittedAt && /* @__PURE__ */ U("span", {
2531
+ e.submittedAt && /* @__PURE__ */ U("span", {
2530
2532
  className: "text-text-secondary ml-2",
2531
- children: new Date(t.submittedAt).toLocaleDateString()
2533
+ children: new Date(e.submittedAt).toLocaleDateString()
2532
2534
  }),
2533
- t.reviewStatus && /* @__PURE__ */ W("span", {
2535
+ e.reviewStatus && /* @__PURE__ */ W("span", {
2534
2536
  className: "text-text-secondary ml-2",
2535
- children: ["· ", t.reviewStatus]
2537
+ children: ["· ", e.reviewStatus]
2536
2538
  })
2537
2539
  ]
2538
2540
  })]
2539
- }), s && /* @__PURE__ */ W("button", {
2541
+ }), p && /* @__PURE__ */ W("button", {
2540
2542
  type: "button",
2541
- onClick: s,
2543
+ onClick: p,
2542
2544
  className: "shrink-0 text-xs text-primary hover:underline font-medium flex items-center gap-1",
2543
- children: [p("devportal.viewStatus", "View Status"), /* @__PURE__ */ U(I, { size: 12 })]
2545
+ children: [S("devportal.viewStatus", "View Status"), /* @__PURE__ */ U(I, { size: 12 })]
2544
2546
  })]
2545
2547
  }) : /* @__PURE__ */ W("div", {
2546
2548
  className: "flex items-start gap-3 rounded-lg border border-warning/30 bg-warning/5 px-4 py-3",
2547
- children: [/* @__PURE__ */ U(N, {
2549
+ children: [/* @__PURE__ */ U(_e, {
2548
2550
  size: 16,
2549
2551
  className: "text-warning mt-0.5 shrink-0"
2550
2552
  }), /* @__PURE__ */ W("div", {
2551
2553
  className: "text-sm",
2552
2554
  children: [/* @__PURE__ */ U("span", {
2553
2555
  className: "font-medium text-warning",
2554
- children: p("devportal.storeListing.draft", "Draft")
2556
+ children: S("devportal.storeListing.draft", "Draft")
2555
2557
  }), /* @__PURE__ */ U("span", {
2556
2558
  className: "text-text-secondary ml-2",
2557
- children: p("devportal.storeListing.draftHint", "Complete your store listing and submit for review to publish.")
2559
+ children: S("devportal.storeListing.draftHint", "Complete your store listing and submit for review to publish.")
2558
2560
  })]
2559
2561
  })]
2560
2562
  }),
2561
- /* @__PURE__ */ U(S, {
2562
- title: p("devportal.package", "Package"),
2563
- description: p("devportal.packageDescription", "Technical configuration — how FluidGrid installs and runs this item"),
2563
+ /* @__PURE__ */ U(t, {
2564
+ title: S("devportal.package", "Package"),
2565
+ description: S("devportal.packageDescription", "Technical configuration — how FluidGrid installs and runs this item"),
2564
2566
  children: /* @__PURE__ */ W("div", {
2565
2567
  className: "space-y-6",
2566
2568
  children: [
2567
- /* @__PURE__ */ U(re, {
2568
- label: p("devportal.storeItemType", "Item Type"),
2569
- value: m.manifestItemType,
2569
+ /* @__PURE__ */ U(r, {
2570
+ label: S("devportal.storeItemType", "Item Type"),
2571
+ value: C.manifestItemType,
2570
2572
  onChange: (e) => {
2571
2573
  let t = e.target.value;
2572
- E("manifestItemType", t), pt.has(t) ? E("manifestInstallType", "json") : m.manifestInstallType === "json" && E("manifestInstallType", "zip");
2574
+ k("manifestItemType", t), pt.has(t) ? k("manifestInstallType", "json") : C.manifestInstallType === "json" && k("manifestInstallType", "zip");
2573
2575
  },
2574
- options: ht[t.appType] ?? ht.APP,
2575
- placeholder: p("devportal.selectItemType", "Select item type…"),
2576
- hint: p("devportal.storeItemTypeHint", "Sub-category shown in the marketplace (e.g. Node vs Agent vs Parser)")
2576
+ options: ht[e.appType] ?? ht.APP,
2577
+ placeholder: S("devportal.selectItemType", "Select item type…"),
2578
+ hint: S("devportal.storeItemTypeHint", "Sub-category shown in the marketplace (e.g. Node vs Agent vs Parser)")
2577
2579
  }),
2578
- /* @__PURE__ */ U(k, {
2579
- label: p("devportal.manifestDisplayName", "Display Name"),
2580
- value: m.manifestDisplayName,
2581
- onChange: (e) => E("manifestDisplayName", e.target.value),
2580
+ /* @__PURE__ */ U(n, {
2581
+ label: S("devportal.manifestDisplayName", "Display Name"),
2582
+ value: C.manifestDisplayName,
2583
+ onChange: (e) => k("manifestDisplayName", e.target.value),
2582
2584
  placeholder: "My Awesome Node"
2583
2585
  }),
2584
- ye && /* @__PURE__ */ U(ie, {
2585
- label: t.appType === "WORKFLOW" ? p("devportal.workflowJsonContent", "Workflow Canvas Definition (JSON)") : p("devportal.jsonContent", "Template Definition (JSON)"),
2586
- value: m.manifestJsonContent,
2587
- onChange: (e) => E("manifestJsonContent", e.target.value),
2586
+ ye && /* @__PURE__ */ U(i, {
2587
+ label: e.appType === "WORKFLOW" ? S("devportal.workflowJsonContent", "Workflow Canvas Definition (JSON)") : S("devportal.jsonContent", "Template Definition (JSON)"),
2588
+ value: C.manifestJsonContent,
2589
+ onChange: (e) => k("manifestJsonContent", e.target.value),
2588
2590
  rows: 12,
2589
2591
  placeholder: "{\n \"nodes\": [],\n \"edges\": []\n}",
2590
- hint: t.appType === "WORKFLOW" ? p("devportal.workflowJsonContentHint", "Paste the workflow canvas JSON (nodes + edges). This is what recipients receive when they copy your workflow via the share link. Format: { \"nodes\": [...], \"edges\": [...] }") : p("devportal.jsonContentHint", "Paste the full JSON definition. Stored and applied directly — no zip needed.")
2592
+ hint: e.appType === "WORKFLOW" ? S("devportal.workflowJsonContentHint", "Paste the workflow canvas JSON (nodes + edges). This is what recipients receive when they copy your workflow via the share link. Format: { \"nodes\": [...], \"edges\": [...] }") : S("devportal.jsonContentHint", "Paste the full JSON definition. Stored and applied directly — no zip needed.")
2591
2593
  })
2592
2594
  ]
2593
2595
  })
2594
2596
  }),
2595
- /* @__PURE__ */ U(S, {
2596
- title: p("devportal.storePresentation", "Store Presence"),
2597
- description: p("devportal.storePresentationDescription", "Visual assets and copy shown to users browsing the marketplace"),
2597
+ /* @__PURE__ */ U(t, {
2598
+ title: S("devportal.storePresentation", "Store Presence"),
2599
+ description: S("devportal.storePresentationDescription", "Visual assets and copy shown to users browsing the marketplace"),
2598
2600
  children: /* @__PURE__ */ W("div", {
2599
2601
  className: "space-y-5",
2600
2602
  children: [
2601
2603
  /* @__PURE__ */ W("div", {
2602
2604
  className: "grid gap-5 sm:grid-cols-2",
2603
- children: [/* @__PURE__ */ U(de, {
2604
- label: p("devportal.iconUrl", "Icon"),
2605
- value: m.iconUrl,
2606
- onChange: (e) => E("iconUrl", e),
2607
- hint: p("devportal.iconUrlHint", "Shown in marketplace cards and search — square proportions (1:1)"),
2605
+ children: [/* @__PURE__ */ U(o, {
2606
+ label: S("devportal.iconUrl", "Icon"),
2607
+ value: C.iconUrl,
2608
+ onChange: (e) => k("iconUrl", e),
2609
+ hint: S("devportal.iconUrlHint", "Shown in marketplace cards and search — square proportions (1:1)"),
2608
2610
  aspectClass: "aspect-square",
2609
- upload: te,
2610
- uploading: ne,
2611
- progress: ae,
2612
- error: oe
2613
- }), /* @__PURE__ */ U(de, {
2614
- label: p("devportal.bannerUrl", "Banner"),
2615
- value: m.bannerUrl,
2616
- onChange: (e) => E("bannerUrl", e),
2617
- hint: p("devportal.bannerUrlHint", "Fills the right panel on the product page — square or portrait works best on all screen sizes (1:1)"),
2611
+ upload: ae,
2612
+ uploading: oe,
2613
+ progress: se,
2614
+ error: ce
2615
+ }), /* @__PURE__ */ U(o, {
2616
+ label: S("devportal.bannerUrl", "Banner"),
2617
+ value: C.bannerUrl,
2618
+ onChange: (e) => k("bannerUrl", e),
2619
+ hint: S("devportal.bannerUrlHint", "Fills the right panel on the product page — square or portrait works best on all screen sizes (1:1)"),
2618
2620
  aspectClass: "aspect-square",
2619
- upload: ce,
2620
- uploading: le,
2621
- progress: ue,
2622
- error: me
2621
+ upload: le,
2622
+ uploading: ue,
2623
+ progress: de,
2624
+ error: fe
2623
2625
  })]
2624
2626
  }),
2625
- /* @__PURE__ */ U(k, {
2626
- label: p("devportal.videoUrl", "Demo Video URL"),
2627
- value: m.videoUrl,
2628
- onChange: (e) => E("videoUrl", e.target.value),
2627
+ /* @__PURE__ */ U(n, {
2628
+ label: S("devportal.videoUrl", "Demo Video URL"),
2629
+ value: C.videoUrl,
2630
+ onChange: (e) => k("videoUrl", e.target.value),
2629
2631
  placeholder: "https://...",
2630
- hint: p("devportal.videoUrlHint", "YouTube or Vimeo embed URL")
2632
+ hint: S("devportal.videoUrlHint", "YouTube or Vimeo embed URL")
2631
2633
  }),
2632
- /* @__PURE__ */ U(se, {
2633
- label: p("devportal.shortDescription", "Short Description"),
2634
- value: m.shortDescription,
2635
- onChange: (e) => E("shortDescription", e),
2634
+ /* @__PURE__ */ U(a, {
2635
+ label: S("devportal.shortDescription", "Short Description"),
2636
+ value: C.shortDescription,
2637
+ onChange: (e) => k("shortDescription", e),
2636
2638
  maxLength: 200,
2637
2639
  rows: 2,
2638
- hint: `${m.shortDescription.length}/200 · ${p("devportal.shortDescHint", "Shown in search results and cards")}`
2640
+ hint: `${C.shortDescription.length}/200 · ${S("devportal.shortDescHint", "Shown in search results and cards")}`
2639
2641
  }),
2640
- /* @__PURE__ */ U(se, {
2641
- label: p("devportal.longDescription", "Full Description"),
2642
- value: m.description,
2643
- onChange: (e) => E("description", e),
2642
+ /* @__PURE__ */ U(a, {
2643
+ label: S("devportal.longDescription", "Full Description"),
2644
+ value: C.description,
2645
+ onChange: (e) => k("description", e),
2644
2646
  rows: 5,
2645
- hint: p("devportal.fullDescHint", "Markdown supported")
2647
+ hint: S("devportal.fullDescHint", "Markdown supported")
2646
2648
  }),
2647
- /* @__PURE__ */ U(fe, {
2648
- urls: m.screenshotsText.split("\n").map((e) => e.trim()).filter(Boolean),
2649
- onChange: (e) => E("screenshotsText", e.join("\n")),
2650
- upload: A,
2651
- uploading: j,
2652
- progress: _e,
2649
+ /* @__PURE__ */ U(s, {
2650
+ urls: C.screenshotsText.split("\n").map((e) => e.trim()).filter(Boolean),
2651
+ onChange: (e) => k("screenshotsText", e.join("\n")),
2652
+ upload: j,
2653
+ uploading: M,
2654
+ progress: ge,
2653
2655
  error: ve
2654
2656
  })
2655
2657
  ]
2656
2658
  })
2657
2659
  }),
2658
- /* @__PURE__ */ U(S, {
2659
- title: p("devportal.linksPolicies", "Links & Policies"),
2660
- description: p("devportal.linksPoliciesDescription", "External resources and legal documents — privacy policy and terms are required for store submission"),
2660
+ /* @__PURE__ */ U(t, {
2661
+ title: S("devportal.linksPolicies", "Links & Policies"),
2662
+ description: S("devportal.linksPoliciesDescription", "External resources and legal documents — privacy policy and terms are required for store submission"),
2661
2663
  children: /* @__PURE__ */ W("div", {
2662
2664
  className: "grid gap-4 sm:grid-cols-2",
2663
2665
  children: [
2664
- /* @__PURE__ */ U(k, {
2665
- label: p("devportal.websiteUrl", "Website"),
2666
- value: m.websiteUrl,
2667
- onChange: (e) => E("websiteUrl", e.target.value),
2666
+ /* @__PURE__ */ U(n, {
2667
+ label: S("devportal.websiteUrl", "Website"),
2668
+ value: C.websiteUrl,
2669
+ onChange: (e) => k("websiteUrl", e.target.value),
2668
2670
  placeholder: "https://..."
2669
2671
  }),
2670
- /* @__PURE__ */ U(k, {
2671
- label: p("devportal.documentationUrl", "Documentation"),
2672
- value: m.documentationUrl,
2673
- onChange: (e) => E("documentationUrl", e.target.value),
2672
+ /* @__PURE__ */ U(n, {
2673
+ label: S("devportal.documentationUrl", "Documentation"),
2674
+ value: C.documentationUrl,
2675
+ onChange: (e) => k("documentationUrl", e.target.value),
2674
2676
  placeholder: "https://..."
2675
2677
  }),
2676
- /* @__PURE__ */ U(k, {
2677
- label: p("devportal.githubUrl", "GitHub"),
2678
- value: m.githubUrl,
2679
- onChange: (e) => E("githubUrl", e.target.value),
2678
+ /* @__PURE__ */ U(n, {
2679
+ label: S("devportal.githubUrl", "GitHub"),
2680
+ value: C.githubUrl,
2681
+ onChange: (e) => k("githubUrl", e.target.value),
2680
2682
  placeholder: "https://github.com/..."
2681
2683
  }),
2682
- /* @__PURE__ */ U(k, {
2683
- label: p("devportal.supportUrl", "Support"),
2684
- value: m.supportUrl,
2685
- onChange: (e) => E("supportUrl", e.target.value),
2684
+ /* @__PURE__ */ U(n, {
2685
+ label: S("devportal.supportUrl", "Support"),
2686
+ value: C.supportUrl,
2687
+ onChange: (e) => k("supportUrl", e.target.value),
2686
2688
  placeholder: "https://..."
2687
2689
  }),
2688
- /* @__PURE__ */ U(k, {
2689
- label: `${p("devportal.privacyPolicyUrl", "Privacy Policy")} *`,
2690
- value: m.privacyPolicyUrl,
2691
- onChange: (e) => E("privacyPolicyUrl", e.target.value),
2690
+ /* @__PURE__ */ U(n, {
2691
+ label: `${S("devportal.privacyPolicyUrl", "Privacy Policy")} *`,
2692
+ value: C.privacyPolicyUrl,
2693
+ onChange: (e) => k("privacyPolicyUrl", e.target.value),
2692
2694
  placeholder: "https://...",
2693
- hint: p("devportal.requiredForStore", "Required for store submission")
2695
+ hint: S("devportal.requiredForStore", "Required for store submission")
2694
2696
  }),
2695
- /* @__PURE__ */ U(k, {
2696
- label: `${p("devportal.termsOfServiceUrl", "Terms of Service")} *`,
2697
- value: m.termsOfServiceUrl,
2698
- onChange: (e) => E("termsOfServiceUrl", e.target.value),
2697
+ /* @__PURE__ */ U(n, {
2698
+ label: `${S("devportal.termsOfServiceUrl", "Terms of Service")} *`,
2699
+ value: C.termsOfServiceUrl,
2700
+ onChange: (e) => k("termsOfServiceUrl", e.target.value),
2699
2701
  placeholder: "https://...",
2700
- hint: p("devportal.requiredForStore", "Required for store submission")
2702
+ hint: S("devportal.requiredForStore", "Required for store submission")
2701
2703
  })
2702
2704
  ]
2703
2705
  })
@@ -2705,49 +2707,49 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
2705
2707
  /* @__PURE__ */ W("div", {
2706
2708
  className: "border-t pt-6 space-y-3",
2707
2709
  children: [
2708
- v === "success" && /* @__PURE__ */ W("div", {
2710
+ D === "success" && /* @__PURE__ */ W("div", {
2709
2711
  className: "flex items-center gap-2 rounded-md border border-success/30 bg-success/10 px-3 py-2 text-sm text-success",
2710
2712
  children: [/* @__PURE__ */ U(be, {
2711
2713
  size: 15,
2712
2714
  className: "shrink-0"
2713
- }), p("devportal.storeListing.savedSuccess", "Store listing saved successfully.")]
2715
+ }), S("devportal.storeListing.savedSuccess", "Store listing saved successfully.")]
2714
2716
  }),
2715
- v === "error" && /* @__PURE__ */ W("div", {
2717
+ D === "error" && /* @__PURE__ */ W("div", {
2716
2718
  className: "flex items-center gap-2 rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive",
2717
- children: [/* @__PURE__ */ U(N, {
2719
+ children: [/* @__PURE__ */ U(_e, {
2718
2720
  size: 15,
2719
2721
  className: "shrink-0"
2720
- }), p("devportal.storeListing.savedError", "Failed to save. Please try again.")]
2722
+ }), S("devportal.storeListing.savedError", "Failed to save. Please try again.")]
2721
2723
  }),
2722
2724
  /* @__PURE__ */ W("div", {
2723
2725
  className: "flex flex-wrap items-center gap-3",
2724
2726
  children: [
2725
2727
  /* @__PURE__ */ U("button", {
2726
2728
  type: "button",
2727
- onClick: ee,
2728
- disabled: g || !D || !w,
2729
- title: D ? w ? void 0 : p("devportal.storeListing.noChanges", "All changes saved — edit any field to save again") : p("devportal.storeListing.requiredFieldsHint", "Fill in Short Description, Privacy Policy URL, and Terms of Service URL to save"),
2729
+ onClick: ie,
2730
+ disabled: T || !A || !ne,
2731
+ title: A ? ne ? void 0 : S("devportal.storeListing.noChanges", "All changes saved — edit any field to save again") : S("devportal.storeListing.requiredFieldsHint", "Fill in Short Description, Privacy Policy URL, and Terms of Service URL to save"),
2730
2732
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
2731
- children: g ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
2733
+ children: T ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(R, {
2732
2734
  size: 16,
2733
2735
  className: "animate-spin"
2734
- }), p("devportal.saving", "Saving…")] }) : w ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(Fe, { size: 16 }), p("devportal.saveStoreListing", "Save Store Listing")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(P, { size: 16 }), p("devportal.saved", "Saved")] })
2736
+ }), S("devportal.saving", "Saving…")] }) : ne ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(Fe, { size: 16 }), S("devportal.saveStoreListing", "Save Store Listing")] }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(P, { size: 16 }), S("devportal.saved", "Saved")] })
2735
2737
  }),
2736
- !D && /* @__PURE__ */ U("p", {
2738
+ !A && /* @__PURE__ */ U("p", {
2737
2739
  className: "text-xs text-text-secondary",
2738
- children: p("devportal.storeListing.requiredFieldsLabel", "Short Description, Privacy Policy URL, and Terms of Service URL are required")
2740
+ children: S("devportal.storeListing.requiredFieldsLabel", "Short Description, Privacy Policy URL, and Terms of Service URL are required")
2739
2741
  }),
2740
- r && n === 0 && a && /* @__PURE__ */ W("button", {
2742
+ l && c === 0 && d && /* @__PURE__ */ W("button", {
2741
2743
  type: "button",
2742
- onClick: a,
2744
+ onClick: d,
2743
2745
  className: "inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:underline underline-offset-2",
2744
- children: [p("devportal.nextUploadVersion", "Next: Upload a Version"), /* @__PURE__ */ U(xe, { size: 15 })]
2746
+ children: [S("devportal.nextUploadVersion", "Next: Upload a Version"), /* @__PURE__ */ U(xe, { size: 15 })]
2745
2747
  }),
2746
- (!r || n > 0) && !i && o && /* @__PURE__ */ W("button", {
2748
+ (!l || c > 0) && !u && f && /* @__PURE__ */ W("button", {
2747
2749
  type: "button",
2748
- onClick: o,
2750
+ onClick: f,
2749
2751
  className: "inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:underline underline-offset-2",
2750
- children: [p("devportal.nextSetPricing", "Next: Set Pricing"), /* @__PURE__ */ U(xe, { size: 15 })]
2752
+ children: [S("devportal.nextSetPricing", "Next: Set Pricing"), /* @__PURE__ */ U(xe, { size: 15 })]
2751
2753
  })
2752
2754
  ]
2753
2755
  })
@@ -2755,8 +2757,8 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
2755
2757
  })
2756
2758
  ]
2757
2759
  });
2758
- }, Z = ({ label: e, value: n, trend: r }) => {
2759
- let { t: i } = G();
2760
+ }, Z = ({ label: e, value: t, trend: n }) => {
2761
+ let { t: r } = G();
2760
2762
  return /* @__PURE__ */ W(Ge, {
2761
2763
  treatment: "metric",
2762
2764
  className: "p-4",
@@ -2767,16 +2769,16 @@ var _t = ({ app: t, versionCount: n = 0, isPackageApp: r = !1, pricingDone: i =
2767
2769
  }),
2768
2770
  /* @__PURE__ */ U("p", {
2769
2771
  className: "text-2xl font-bold tabular-nums",
2770
- children: n
2772
+ children: t
2771
2773
  }),
2772
- r !== void 0 && /* @__PURE__ */ W("p", {
2773
- className: t("text-xs mt-1 tabular-nums", r > 0 ? "text-status-success-text" : r < 0 ? "text-status-error-text" : "text-text-secondary"),
2774
+ n !== void 0 && /* @__PURE__ */ W("p", {
2775
+ className: E("text-xs mt-1 tabular-nums", n > 0 ? "text-status-success-text" : n < 0 ? "text-status-error-text" : "text-text-secondary"),
2774
2776
  children: [
2775
- r > 0 ? "+" : "",
2776
- r.toFixed(1),
2777
+ n > 0 ? "+" : "",
2778
+ n.toFixed(1),
2777
2779
  "% ",
2778
2780
  ((e, t) => {
2779
- let n = i(e);
2781
+ let n = r(e);
2780
2782
  return n === e ? t : n;
2781
2783
  })("devportal.vsYesterday", "vs yesterday")
2782
2784
  ]
@@ -2872,7 +2874,7 @@ function bt(e) {
2872
2874
  function xt(e, t) {
2873
2875
  if (e.length > 0) return e;
2874
2876
  let n = /* @__PURE__ */ new Set();
2875
- return t.filter((e) => n.has(e.resource) ? !1 : (n.add(e.resource), !0));
2877
+ return t.filter((e) => !n.has(e.resource) && (n.add(e.resource), !0));
2876
2878
  }
2877
2879
  var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
2878
2880
  className: "flex items-center gap-0.5 rounded-md border border-border-subtle bg-bg-sunken/50 p-0.5",
@@ -2882,39 +2884,39 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
2882
2884
  className: `rounded px-2.5 py-1 text-xs font-medium transition-colors whitespace-nowrap ${e === n ? "bg-bg-base text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
2883
2885
  children: n === "read" ? "Read" : "Read & Write"
2884
2886
  }, n))
2885
- }), Ct = ({ app: e, versionScopes: t, locked: n = !1, onNavigateToVersions: r }) => {
2886
- let i = e.manifest ?? {}, [a, o] = M(() => xt(yt(i), bt(t ?? []))), [s, c] = M(!1), [l, u] = M(""), [d, f] = M("read"), [p, m] = M(!1), [h, g] = M(!1), [_] = b(), v = (e, t) => {
2887
- g(!1), o((n) => n.map((n) => n.resource === e ? {
2887
+ }), Ct = ({ app: e, versionScopes: n, locked: r = !1, onNavigateToVersions: i }) => {
2888
+ let a = e.manifest ?? {}, [o, s] = N(() => xt(yt(a), bt(n ?? []))), [c, l] = N(!1), [u, d] = N(""), [f, p] = N("read"), [m, h] = N(!1), [g, _] = N(!1), [v] = pe(), y = (e, t) => {
2889
+ _(!1), s((n) => n.map((n) => n.resource === e ? {
2888
2890
  ...n,
2889
2891
  level: t
2890
2892
  } : n));
2891
- }, y = (e) => {
2892
- g(!1), o((t) => t.filter((t) => t.resource !== e));
2893
+ }, b = (e) => {
2894
+ _(!1), s((t) => t.filter((t) => t.resource !== e));
2893
2895
  }, x = () => {
2894
- let e = l.trim().toLowerCase().replace(/\s+/g, "-");
2895
- !e || a.some((t) => t.resource === e) || (o((t) => [...t, {
2896
+ let e = u.trim().toLowerCase().replace(/\s+/g, "-");
2897
+ e && !o.some((t) => t.resource === e) && (s((t) => [...t, {
2896
2898
  resource: e,
2897
- level: d
2898
- }]), u(""), f("read"), c(!1), g(!1));
2899
- }, C = async () => {
2900
- m(!0);
2899
+ level: f
2900
+ }]), d(""), p("read"), l(!1), _(!1));
2901
+ }, S = async () => {
2902
+ h(!0);
2901
2903
  try {
2902
- await _({ variables: {
2904
+ await v({ variables: {
2903
2905
  id: e.id,
2904
2906
  input: { manifest: {
2905
- ...i,
2906
- permissions: a.map(({ resource: e, level: t }) => ({
2907
+ ...a,
2908
+ permissions: o.map(({ resource: e, level: t }) => ({
2907
2909
  resource: e,
2908
2910
  level: t
2909
2911
  }))
2910
2912
  } }
2911
- } }), g(!0);
2913
+ } }), _(!0);
2912
2914
  } finally {
2913
- m(!1);
2915
+ h(!1);
2914
2916
  }
2915
- }, w = /* @__PURE__ */ U("div", {
2917
+ }, C = /* @__PURE__ */ U("div", {
2916
2918
  className: "rounded-lg border border-border-subtle divide-y divide-border-subtle",
2917
- children: a.map((e) => /* @__PURE__ */ W("div", {
2919
+ children: o.map((e) => /* @__PURE__ */ W("div", {
2918
2920
  className: "flex items-center gap-3 px-4 py-3 hover:bg-bg-sunken/30 transition-colors",
2919
2921
  children: [/* @__PURE__ */ W("div", {
2920
2922
  className: "flex-1 min-w-0",
@@ -2932,27 +2934,27 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
2932
2934
  children: "custom scope"
2933
2935
  })
2934
2936
  ]
2935
- }), n ? /* @__PURE__ */ U("span", {
2937
+ }), r ? /* @__PURE__ */ U("span", {
2936
2938
  className: `rounded-full px-2.5 py-0.5 text-xs font-medium ${e.level === "write" ? "bg-status-warning-bg text-status-warning-text" : "bg-bg-sunken text-text-secondary"}`,
2937
2939
  children: e.level === "write" ? "Read & Write" : "Read"
2938
2940
  }) : /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(St, {
2939
2941
  level: e.level,
2940
- onChange: (t) => v(e.resource, t)
2942
+ onChange: (t) => y(e.resource, t)
2941
2943
  }), /* @__PURE__ */ U("button", {
2942
2944
  type: "button",
2943
- onClick: () => y(e.resource),
2945
+ onClick: () => b(e.resource),
2944
2946
  title: "Remove permission",
2945
2947
  className: "p-1.5 rounded text-text-tertiary hover:text-status-error-text hover:bg-status-error-bg-subtle transition-colors",
2946
2948
  children: /* @__PURE__ */ U(Be, { size: 14 })
2947
2949
  })] })]
2948
2950
  }, e.resource))
2949
2951
  });
2950
- return /* @__PURE__ */ U(S, {
2952
+ return /* @__PURE__ */ U(t, {
2951
2953
  title: "Permissions",
2952
2954
  description: "These are the permissions your app requests from users. Users see exactly this list when authorizing your app.",
2953
2955
  children: /* @__PURE__ */ U("div", {
2954
2956
  className: "space-y-4",
2955
- children: n ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ W("div", {
2957
+ children: r ? /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ W("div", {
2956
2958
  className: "rounded-lg border border-status-warning-bg bg-status-warning-bg-subtle p-3 flex gap-2 text-sm",
2957
2959
  children: [/* @__PURE__ */ U(De, {
2958
2960
  size: 15,
@@ -2963,19 +2965,19 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
2963
2965
  /* @__PURE__ */ U("strong", { children: "Permission changes require a new version." }),
2964
2966
  " Your app is live and users have already consented to the permissions below. To request new or fewer permissions, publish a new version — existing users will be shown what changed and asked to re-consent before the new version takes effect.",
2965
2967
  " ",
2966
- r && /* @__PURE__ */ U("button", {
2968
+ i && /* @__PURE__ */ U("button", {
2967
2969
  type: "button",
2968
- onClick: r,
2970
+ onClick: i,
2969
2971
  className: "underline font-medium hover:opacity-80 transition-opacity",
2970
2972
  children: "Go to Versions →"
2971
2973
  })
2972
2974
  ]
2973
2975
  })]
2974
- }), a.length === 0 ? /* @__PURE__ */ U("div", {
2976
+ }), o.length === 0 ? /* @__PURE__ */ U("div", {
2975
2977
  className: "rounded-lg border border-border-subtle border-dashed p-6 text-center text-sm text-text-secondary",
2976
2978
  children: "No permissions configured for this version."
2977
- }) : w] }) : /* @__PURE__ */ W(H, { children: [
2978
- a.length === 0 ? /* @__PURE__ */ W("div", {
2979
+ }) : C] }) : /* @__PURE__ */ W(H, { children: [
2980
+ o.length === 0 ? /* @__PURE__ */ W("div", {
2979
2981
  className: "rounded-lg border border-border-subtle border-dashed p-8 flex flex-col items-center gap-2 text-center text-text-secondary",
2980
2982
  children: [
2981
2983
  /* @__PURE__ */ U(B, {
@@ -2991,16 +2993,16 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
2991
2993
  children: "Add the permissions your app needs to request from users."
2992
2994
  })
2993
2995
  ]
2994
- }) : w,
2995
- s ? /* @__PURE__ */ W("div", {
2996
+ }) : C,
2997
+ c ? /* @__PURE__ */ W("div", {
2996
2998
  className: "rounded-lg border border-border-subtle p-3 flex items-center gap-2 flex-wrap",
2997
2999
  children: [
2998
3000
  /* @__PURE__ */ U("input", {
2999
3001
  type: "text",
3000
- value: l,
3001
- onChange: (e) => u(e.target.value),
3002
+ value: u,
3003
+ onChange: (e) => d(e.target.value),
3002
3004
  onKeyDown: (e) => {
3003
- e.key === "Enter" && x(), e.key === "Escape" && c(!1);
3005
+ e.key === "Enter" && x(), e.key === "Escape" && l(!1);
3004
3006
  },
3005
3007
  placeholder: "Resource (e.g. auth, files, widgets)",
3006
3008
  list: "perm-resource-suggestions",
@@ -3009,26 +3011,26 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
3009
3011
  }),
3010
3012
  /* @__PURE__ */ U("datalist", {
3011
3013
  id: "perm-resource-suggestions",
3012
- children: vt.filter((e) => !a.some((t) => t.resource === e)).map((e) => /* @__PURE__ */ U("option", {
3014
+ children: vt.filter((e) => !o.some((t) => t.resource === e)).map((e) => /* @__PURE__ */ U("option", {
3013
3015
  value: e,
3014
3016
  children: $[e].label
3015
3017
  }, e))
3016
3018
  }),
3017
3019
  /* @__PURE__ */ U(St, {
3018
- level: d,
3019
- onChange: f
3020
+ level: f,
3021
+ onChange: p
3020
3022
  }),
3021
3023
  /* @__PURE__ */ U("button", {
3022
3024
  type: "button",
3023
3025
  onClick: x,
3024
- disabled: !l.trim(),
3026
+ disabled: !u.trim(),
3025
3027
  className: "px-3 py-1.5 rounded-md bg-action-primary-bg text-action-primary-text text-xs font-medium hover:bg-action-primary-bg/90 disabled:opacity-50 transition-colors",
3026
3028
  children: "Add"
3027
3029
  }),
3028
3030
  /* @__PURE__ */ U("button", {
3029
3031
  type: "button",
3030
3032
  onClick: () => {
3031
- c(!1), u("");
3033
+ l(!1), d("");
3032
3034
  },
3033
3035
  className: "p-1.5 rounded text-text-secondary hover:text-text-primary transition-colors",
3034
3036
  children: /* @__PURE__ */ U(Be, { size: 14 })
@@ -3036,7 +3038,7 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
3036
3038
  ]
3037
3039
  }) : /* @__PURE__ */ W("button", {
3038
3040
  type: "button",
3039
- onClick: () => c(!0),
3041
+ onClick: () => l(!0),
3040
3042
  className: "flex items-center gap-1.5 text-sm text-text-secondary hover:text-text-primary transition-colors",
3041
3043
  children: [/* @__PURE__ */ U(z, { size: 14 }), "Add permission"]
3042
3044
  }),
@@ -3049,15 +3051,15 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
3049
3051
  }),
3050
3052
  /* @__PURE__ */ W("div", {
3051
3053
  className: "flex items-center justify-end gap-3",
3052
- children: [h && /* @__PURE__ */ W("span", {
3054
+ children: [g && /* @__PURE__ */ W("span", {
3053
3055
  className: "flex items-center gap-1.5 text-sm text-status-success-text",
3054
3056
  children: [/* @__PURE__ */ U(be, { size: 14 }), "Saved"]
3055
3057
  }), /* @__PURE__ */ W("button", {
3056
3058
  type: "button",
3057
- onClick: () => void C(),
3058
- disabled: p,
3059
+ onClick: () => void S(),
3060
+ disabled: m,
3059
3061
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
3060
- children: [p ? /* @__PURE__ */ U(R, {
3062
+ children: [m ? /* @__PURE__ */ U(R, {
3061
3063
  size: 14,
3062
3064
  className: "animate-spin"
3063
3065
  }) : /* @__PURE__ */ U(B, { size: 14 }), "Save Permissions"]
@@ -3067,7 +3069,6 @@ var St = ({ level: e, onChange: t }) => /* @__PURE__ */ U("div", {
3067
3069
  })
3068
3070
  });
3069
3071
  };
3070
- //#endregion
3071
3072
  export { q as ApplicationDetailPage };
3072
3073
 
3073
3074
  //# sourceMappingURL=ApplicationDetailPage.js.map