@calcom/atoms 1.0.89 → 1.0.90

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 (414) hide show
  1. package/dist/{AddressInput-fwX9Uuer.js → AddressInput-5Kw1E8QY.js} +1 -1
  2. package/dist/AlbyPriceComponent-4DMmTz9W.js +461 -0
  3. package/dist/{AppCard-s-2QgrJn.js → AppCard-yu9Iepe2.js} +10 -10
  4. package/dist/{AppSettingsInterface--gSCK8_s.js → AppSettingsInterface-6ehC005_.js} +1 -1
  5. package/dist/{AppSettingsInterface-NMG9GgM0.js → AppSettingsInterface-KVltq3IA.js} +1 -1
  6. package/dist/{AppSettingsInterface-_V6ImdYK.js → AppSettingsInterface-fkAo2tvL.js} +1 -1
  7. package/dist/{Card-rwZwQR8p.js → Card-LaPXIn0Q.js} +1 -1
  8. package/dist/{DateRangePicker-eQSbWePP.js → DateRangePicker-qq_EwO-Z.js} +1 -1
  9. package/dist/{EventTypeAppCardInterface-fkDA6zKp.js → EventTypeAppCardInterface-2TpFLl2v.js} +4 -4
  10. package/dist/{EventTypeAppCardInterface-_qSLdDRb.js → EventTypeAppCardInterface-6wvYewGO.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface-bMW_N79H.js → EventTypeAppCardInterface-9q_ZTz30.js} +4 -4
  12. package/dist/{EventTypeAppCardInterface-i6hGlQGV.js → EventTypeAppCardInterface-B5aZ5v9Q.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-ReSvUCV3.js → EventTypeAppCardInterface-GfqzxhNT.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-2JUcQR92.js → EventTypeAppCardInterface-IdBLIDf_.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-ec0V8mMr.js → EventTypeAppCardInterface-M8PQ1Ugs.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-zcUhGR-A.js → EventTypeAppCardInterface-P6yWtouo.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-1nfgfDsj.js → EventTypeAppCardInterface-Rtczihgx.js} +10 -10
  18. package/dist/{EventTypeAppCardInterface-5hWqZ-iq.js → EventTypeAppCardInterface-S2w0q3AM.js} +5 -5
  19. package/dist/{EventTypeAppCardInterface-XblQ4xrJ.js → EventTypeAppCardInterface-S_bu9kOC.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-W_w4Ukb0.js → EventTypeAppCardInterface-TUdUQkt1.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-yw9rYY7Z.js → EventTypeAppCardInterface-VQuk0I6C.js} +4 -4
  22. package/dist/{EventTypeAppCardInterface-pKedkm6d.js → EventTypeAppCardInterface-W5qRtltd.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-Vq4Jr0sM.js → EventTypeAppCardInterface-XHUU--Ym.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-gHuGVUsL.js → EventTypeAppCardInterface-XPTK8T08.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-3IWylq_y.js → EventTypeAppCardInterface-ZsPH6qDf.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-BpzfkH-1.js → EventTypeAppCardInterface-beQhtWls.js} +5 -5
  27. package/dist/{EventTypeAppCardInterface-F-rcBYha.js → EventTypeAppCardInterface-go7v3Qdg.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-_goQWYEj.js → EventTypeAppCardInterface-mO8z3Xs3.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-I8V27C1P.js → EventTypeAppCardInterface-mrWpqmy8.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface--UMtnNEX.js → EventTypeAppCardInterface-nxW9Pgte.js} +3 -3
  31. package/dist/EventTypeAppCardInterface-ohU1fkfk.js +23 -0
  32. package/dist/{EventTypeAppCardInterface-wuKf1BXt.js → EventTypeAppCardInterface-tT-8BQ1b.js} +5 -5
  33. package/dist/{EventTypeAppCardInterface-4qa9lxhI.js → EventTypeAppCardInterface-vCsT5M2L.js} +16 -16
  34. package/dist/{EventTypeAppCardInterface-XG4W-GJ6.js → EventTypeAppCardInterface-wkA4rbXj.js} +2 -2
  35. package/dist/{EventTypeAppSettingsInterface-UoRBgUBs.js → EventTypeAppSettingsInterface--pe9oIM8.js} +1 -1
  36. package/dist/{EventTypeAppSettingsInterface-3xrOV-wo.js → EventTypeAppSettingsInterface-6XFoEqsk.js} +3 -3
  37. package/dist/{EventTypeAppSettingsInterface-eVJROgca.js → EventTypeAppSettingsInterface-A_X5WoW4.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-orGSJPmr.js → EventTypeAppSettingsInterface-Exq5LBOw.js} +4 -4
  39. package/dist/{EventTypeAppSettingsInterface-J5vh_22E.js → EventTypeAppSettingsInterface-KZ_NqqWf.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-d7xJoFwT.js → EventTypeAppSettingsInterface-MTheEL-3.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface--StSo41h.js → EventTypeAppSettingsInterface-OV_0fKAk.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-qV2-2ldJ.js → EventTypeAppSettingsInterface-OrAwvkmP.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-VtAF5rrR.js → EventTypeAppSettingsInterface-QetCt9h7.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-JDwh0vvR.js → EventTypeAppSettingsInterface-fjR-GX8G.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-23kVVJUV.js → EventTypeAppSettingsInterface-n2fcw7L9.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-m5r0ZMm0.js → EventTypeAppSettingsInterface-ucsnIrLN.js} +1 -1
  47. package/dist/{InstallAppButton-Y4EkPhL3.js → InstallAppButton-EOWrc317.js} +10 -10
  48. package/dist/{InstallAppButton-kBwtV7mL.js → InstallAppButton-V6wJHKYe.js} +1 -1
  49. package/dist/{InstallAppButton-aEXZ-ENt.js → InstallAppButton-aUNrukz3.js} +1 -1
  50. package/dist/{InstallAppButton-DzdfakKL.js → InstallAppButton-cYFBIHmw.js} +1 -1
  51. package/dist/{PhoneInput-eUlnD4eQ.js → PhoneInput-u5AZbSOo.js} +592 -539
  52. package/dist/{StripePaymentForm-j5PYKg1F.js → StripePaymentForm-D2MhzXCx.js} +24 -24
  53. package/dist/cal-atoms.js +2 -2
  54. package/dist/cal-atoms.umd.cjs +286 -461
  55. package/dist/{framer-features-7s3XwMDg.js → framer-features-IQkezCas.js} +1 -1
  56. package/dist/index-GxSJi0Ar.js +113 -0
  57. package/dist/{index-TrtbkvHb.js → index-Nv2LUbO1.js} +2 -2
  58. package/dist/{index-eTL_JteR.js → index-O8MpDUAS.js} +20 -20
  59. package/dist/{index-CQJkVs4j.js → index-WXiJMNQH.js} +71317 -71696
  60. package/dist/{index-Ne4HP15a.js → index-ib2U5qt8.js} +1 -1
  61. package/dist/isSupportedCountry-_1AzPota.js +7 -0
  62. package/dist/packages/app-store/_appRegistry.d.ts +1 -1
  63. package/dist/packages/app-store/_appRegistry.d.ts.map +1 -1
  64. package/dist/packages/app-store/_utils/getAppCategories.d.ts +1 -0
  65. package/dist/packages/app-store/_utils/getAppCategories.d.ts.map +1 -1
  66. package/dist/packages/app-store/_utils/oauth/OAuthManager.d.ts +2 -2
  67. package/dist/packages/app-store/_utils/oauth/getTokenObjectFromCredential.d.ts +2 -2
  68. package/dist/packages/app-store/_utils/oauth/universalSchema.d.ts +18 -18
  69. package/dist/packages/app-store/apps.metadata.generated.d.ts +32 -0
  70. package/dist/packages/app-store/apps.metadata.generated.d.ts.map +1 -1
  71. package/dist/packages/app-store/apps.server.generated.d.ts +2 -0
  72. package/dist/packages/app-store/apps.server.generated.d.ts.map +1 -1
  73. package/dist/packages/app-store/basecamp3/trpc/projectMutation.handler.d.ts +1 -1
  74. package/dist/packages/app-store/dailyvideo/lib/VideoApiAdapter.d.ts.map +1 -1
  75. package/dist/packages/app-store/dailyvideo/lib/types.d.ts +5 -0
  76. package/dist/packages/app-store/dailyvideo/lib/types.d.ts.map +1 -1
  77. package/dist/packages/app-store/googlecalendar/lib/googleCredentialSchema.d.ts +4 -4
  78. package/dist/packages/app-store/index.d.ts.map +1 -1
  79. package/dist/packages/app-store/intercom/api/get.d.ts +3 -0
  80. package/dist/packages/app-store/intercom/api/get.d.ts.map +1 -0
  81. package/dist/packages/app-store/intercom/api/index.d.ts +1 -0
  82. package/dist/packages/app-store/intercom/api/index.d.ts.map +1 -1
  83. package/dist/packages/app-store/intercom/api/initialize.d.ts.map +1 -1
  84. package/dist/packages/app-store/intercom/lib/index.d.ts +1 -1
  85. package/dist/packages/app-store/intercom/lib/index.d.ts.map +1 -1
  86. package/dist/packages/app-store/millis-ai/api/add.d.ts +4 -0
  87. package/dist/packages/app-store/millis-ai/api/add.d.ts.map +1 -0
  88. package/dist/packages/app-store/millis-ai/api/index.d.ts +2 -0
  89. package/dist/packages/app-store/millis-ai/api/index.d.ts.map +1 -0
  90. package/dist/packages/app-store/millis-ai/config.json.d.ts +19 -0
  91. package/dist/packages/app-store/millis-ai/index.d.ts +2 -0
  92. package/dist/packages/app-store/millis-ai/index.d.ts.map +1 -0
  93. package/dist/packages/app-store/monobot/api/add.d.ts +4 -0
  94. package/dist/packages/app-store/monobot/api/add.d.ts.map +1 -0
  95. package/dist/packages/app-store/monobot/api/index.d.ts +2 -0
  96. package/dist/packages/app-store/monobot/api/index.d.ts.map +1 -0
  97. package/dist/packages/app-store/monobot/config.json.d.ts +19 -0
  98. package/dist/packages/app-store/monobot/index.d.ts +2 -0
  99. package/dist/packages/app-store/monobot/index.d.ts.map +1 -0
  100. package/dist/packages/app-store/office365calendar/package.json.d.ts +2 -1
  101. package/dist/packages/app-store/routing-forms/components/FormActions.d.ts +13 -3
  102. package/dist/packages/app-store/routing-forms/components/FormActions.d.ts.map +1 -1
  103. package/dist/packages/app-store/routing-forms/components/FormInputFields.d.ts.map +1 -1
  104. package/dist/packages/app-store/routing-forms/components/SingleForm.d.ts +2 -1
  105. package/dist/packages/app-store/routing-forms/components/SingleForm.d.ts.map +1 -1
  106. package/dist/packages/app-store/routing-forms/components/getServerSidePropsSingleForm.d.ts.map +1 -1
  107. package/dist/packages/app-store/routing-forms/lib/handleResponse.d.ts.map +1 -1
  108. package/dist/packages/app-store/routing-forms/lib/isRouterLinkedField.d.ts +3 -0
  109. package/dist/packages/app-store/routing-forms/lib/isRouterLinkedField.d.ts.map +1 -1
  110. package/dist/packages/app-store/routing-forms/pages/app-routing.config.d.ts +1 -3
  111. package/dist/packages/app-store/routing-forms/pages/app-routing.config.d.ts.map +1 -1
  112. package/dist/packages/app-store/routing-forms/pages/form-edit/[...appPages].d.ts +1 -5
  113. package/dist/packages/app-store/routing-forms/pages/form-edit/[...appPages].d.ts.map +1 -1
  114. package/dist/packages/app-store/routing-forms/pages/forms/[...appPages].d.ts +1 -5
  115. package/dist/packages/app-store/routing-forms/pages/forms/[...appPages].d.ts.map +1 -1
  116. package/dist/packages/app-store/routing-forms/pages/incomplete-booking/[...appPages].d.ts +1 -5
  117. package/dist/packages/app-store/routing-forms/pages/incomplete-booking/[...appPages].d.ts.map +1 -1
  118. package/dist/packages/app-store/routing-forms/pages/layout-handler/[...appPages].d.ts +1 -12
  119. package/dist/packages/app-store/routing-forms/pages/layout-handler/[...appPages].d.ts.map +1 -1
  120. package/dist/packages/app-store/routing-forms/pages/reporting/[...appPages].d.ts +1 -6
  121. package/dist/packages/app-store/routing-forms/pages/reporting/[...appPages].d.ts.map +1 -1
  122. package/dist/packages/app-store/routing-forms/pages/route-builder/[...appPages].d.ts +1 -6
  123. package/dist/packages/app-store/routing-forms/pages/route-builder/[...appPages].d.ts.map +1 -1
  124. package/dist/packages/app-store/routing-forms/pages/routing-link/[...appPages].d.ts +1 -5
  125. package/dist/packages/app-store/routing-forms/pages/routing-link/[...appPages].d.ts.map +1 -1
  126. package/dist/packages/app-store/routing-forms/pages/routing-link/getServerSideProps.d.ts.map +1 -1
  127. package/dist/packages/app-store/routing-forms/playwright/tests/basic.e2e.d.ts.map +1 -1
  128. package/dist/packages/app-store/routing-forms/trpc/_router.d.ts +29 -3
  129. package/dist/packages/app-store/routing-forms/trpc/_router.d.ts.map +1 -1
  130. package/dist/packages/app-store/routing-forms/trpc/forms.handler.d.ts +31 -3
  131. package/dist/packages/app-store/routing-forms/trpc/forms.handler.d.ts.map +1 -1
  132. package/dist/packages/app-store/routing-forms/trpc/getAttributesForTeam.handler.d.ts +1 -1
  133. package/dist/packages/app-store/routing-forms/trpc/procedures/forms.d.ts +28 -2
  134. package/dist/packages/app-store/routing-forms/trpc/procedures/forms.d.ts.map +1 -1
  135. package/dist/packages/app-store/routing-forms/trpc/report.schema.d.ts +1 -1
  136. package/dist/packages/app-store/routing-forms/trpc/utils.d.ts +1 -0
  137. package/dist/packages/app-store/routing-forms/trpc/utils.d.ts.map +1 -1
  138. package/dist/packages/app-store/salesforce/lib/CrmService.d.ts.map +1 -1
  139. package/dist/packages/app-store/stripepayment/lib/server.d.ts +6 -6
  140. package/dist/packages/app-store/zapier/lib/validateAccountOrApiKey.d.ts +1 -1
  141. package/dist/packages/app-store/zoomvideo/lib/VideoApiAdapter.d.ts +4 -4
  142. package/dist/packages/features/Segment.d.ts +1 -1
  143. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts +1 -1
  144. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  145. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
  146. package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +1 -1
  147. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  148. package/dist/packages/features/bookings/Booker/components/Section.d.ts +1 -1
  149. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts +3 -2
  150. package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +1 -1
  151. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  152. package/dist/packages/features/bookings/Booker/store.d.ts +2 -2
  153. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  154. package/dist/packages/features/bookings/Booker/utils/event.d.ts +1 -1
  155. package/dist/packages/features/bookings/components/AvailableTimes.d.ts +3 -2
  156. package/dist/packages/features/bookings/components/AvailableTimes.d.ts.map +1 -1
  157. package/dist/packages/features/bookings/components/FilterToggle.d.ts.map +1 -1
  158. package/dist/packages/features/bookings/components/FiltersContainer.d.ts.map +1 -1
  159. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +1 -1
  160. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +1 -1
  161. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
  162. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  163. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +9 -3
  164. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  165. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  166. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  167. package/dist/packages/features/calendars/DatePicker.d.ts +1 -1
  168. package/dist/packages/features/calendars/DatePicker.d.ts.map +1 -1
  169. package/dist/packages/features/calendars/weeklyview/types/state.d.ts +1 -1
  170. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts +2 -2
  171. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts.map +1 -1
  172. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +2 -1
  173. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  174. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  175. package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts.map +1 -1
  176. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  177. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  178. package/dist/packages/features/data-table/lib/types.d.ts +46 -11
  179. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  180. package/dist/packages/features/ee/api-keys/lib/findValidApiKey.d.ts +1 -1
  181. package/dist/packages/features/ee/billing/teams/index.d.ts +1 -1
  182. package/dist/packages/features/ee/cal-ai-phone/promptTemplates.d.ts +1 -1
  183. package/dist/packages/features/ee/cal-ai-phone/promptTemplates.d.ts.map +1 -1
  184. package/dist/packages/features/ee/managed-event-types/lib/handleChildrenEventTypes.d.ts.map +1 -1
  185. package/dist/packages/features/ee/organizations/context/provider.d.ts +1 -1
  186. package/dist/packages/features/ee/organizations/pages/settings/attributes/attributes-create-view.d.ts.map +1 -1
  187. package/dist/packages/features/ee/organizations/pages/settings/attributes/attributes-edit-view.d.ts.map +1 -1
  188. package/dist/packages/features/ee/sso/components/SSOConfiguration.d.ts.map +1 -1
  189. package/dist/packages/features/ee/sso/page/orgs-sso-view.d.ts.map +1 -1
  190. package/dist/packages/features/ee/teams/components/CreateANewTeamForm.d.ts.map +1 -1
  191. package/dist/packages/features/ee/teams/components/DeleteBulkTeamMembers.d.ts.map +1 -1
  192. package/dist/packages/features/ee/teams/components/EventTypesList.d.ts.map +1 -1
  193. package/dist/packages/features/ee/teams/components/TeamAvailabilityTimes.d.ts.map +1 -1
  194. package/dist/packages/features/ee/teams/pages/team-listing-view.d.ts.map +1 -1
  195. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  196. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +1 -0
  197. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  198. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  199. package/dist/packages/features/embed/Embed.d.ts.map +1 -1
  200. package/dist/packages/features/embed/lib/EmbedTabs.d.ts +2 -0
  201. package/dist/packages/features/embed/lib/EmbedTabs.d.ts.map +1 -1
  202. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  203. package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
  204. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
  205. package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
  206. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  207. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  208. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  209. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +1 -1
  210. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  211. package/dist/packages/features/flags/server/router.d.ts +1 -1
  212. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  213. package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
  214. package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
  215. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +1 -1
  216. package/dist/packages/features/insights/hooks/useInsightsParameters.d.ts +1 -29
  217. package/dist/packages/features/insights/hooks/useInsightsParameters.d.ts.map +1 -1
  218. package/dist/packages/features/insights/server/raw-data.schema.d.ts +58 -37
  219. package/dist/packages/features/insights/server/raw-data.schema.d.ts.map +1 -1
  220. package/dist/packages/features/kbar/Kbar.d.ts.map +1 -1
  221. package/dist/packages/features/mintlify-chat/MintlifyChat.d.ts +9 -0
  222. package/dist/packages/features/mintlify-chat/MintlifyChat.d.ts.map +1 -0
  223. package/dist/packages/features/mintlify-chat/util.d.ts +34 -0
  224. package/dist/packages/features/mintlify-chat/util.d.ts.map +1 -0
  225. package/dist/packages/features/node_modules/class-variance-authority/dist/index.d.ts +36 -0
  226. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  227. package/dist/packages/features/schedules/index.d.ts +1 -1
  228. package/dist/packages/features/schedules/index.d.ts.map +1 -1
  229. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +1 -1
  230. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +1 -1
  231. package/dist/packages/features/schedules/lib/use-schedule/types.d.ts +3 -0
  232. package/dist/packages/features/schedules/lib/use-schedule/types.d.ts.map +1 -1
  233. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  234. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts +11 -13
  235. package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +1 -1
  236. package/dist/packages/features/settings/outOfOffice/CreateNewOutOfOfficeEntryButton.d.ts +5 -1
  237. package/dist/packages/features/settings/outOfOffice/CreateNewOutOfOfficeEntryButton.d.ts.map +1 -1
  238. package/dist/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.d.ts.map +1 -1
  239. package/dist/packages/features/settings/outOfOffice/OutOfOfficeEntriesList.d.ts.map +1 -1
  240. package/dist/packages/features/shell/Shell.d.ts.map +1 -1
  241. package/dist/packages/features/shell/SideBar.d.ts.map +1 -1
  242. package/dist/packages/features/shell/navigation/Navigation.d.ts.map +1 -1
  243. package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
  244. package/dist/packages/features/shell/useBottomNavItems.d.ts +10 -0
  245. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -0
  246. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  247. package/dist/packages/features/tasker/internal-tasker.d.ts +1 -1
  248. package/dist/packages/features/timezone-buddy/store.d.ts +1 -1
  249. package/dist/packages/features/users/components/UserTable/BulkActions/DeleteBulkUsers.d.ts.map +1 -1
  250. package/dist/packages/features/users/components/UserTable/BulkActions/DynamicLink.d.ts.map +1 -1
  251. package/dist/packages/features/users/components/UserTable/BulkActions/EventTypesList.d.ts.map +1 -1
  252. package/dist/packages/features/users/components/UserTable/BulkActions/MassAssignAttributes.d.ts.map +1 -1
  253. package/dist/packages/features/users/components/UserTable/BulkActions/TeamList.d.ts.map +1 -1
  254. package/dist/packages/features/webhooks/components/WebhookForm.d.ts.map +1 -1
  255. package/dist/packages/features/webhooks/lib/scheduleTrigger.d.ts +7 -7
  256. package/dist/packages/lib/CalEventParser.d.ts.map +1 -1
  257. package/dist/packages/lib/CalEventParser.test.d.ts +2 -0
  258. package/dist/packages/lib/CalEventParser.test.d.ts.map +1 -0
  259. package/dist/packages/lib/apps/getEnabledAppsFromCredentials.d.ts +1 -1
  260. package/dist/packages/lib/bookings/filterHostsByLeadThreshold.d.ts +29 -17
  261. package/dist/packages/lib/bookings/filterHostsByLeadThreshold.d.ts.map +1 -1
  262. package/dist/packages/lib/bookings/filterHostsBySameRoundRobinHost.d.ts +12 -0
  263. package/dist/packages/lib/bookings/filterHostsBySameRoundRobinHost.d.ts.map +1 -0
  264. package/dist/packages/lib/bookings/filterHostsBySameRoundRobinHost.test.d.ts +2 -0
  265. package/dist/packages/lib/bookings/filterHostsBySameRoundRobinHost.test.d.ts.map +1 -0
  266. package/dist/packages/lib/bookings/findQualifiedHosts.d.ts +48 -18
  267. package/dist/packages/lib/bookings/findQualifiedHosts.d.ts.map +1 -1
  268. package/dist/packages/lib/bookings/getRoutedUsers.d.ts +3 -17
  269. package/dist/packages/lib/bookings/getRoutedUsers.d.ts.map +1 -1
  270. package/dist/packages/lib/event-types/getEventTypeById.d.ts +2 -2
  271. package/dist/packages/lib/hooks/useUrlMatchesCurrentUrl.d.ts +1 -1
  272. package/dist/packages/lib/hooks/useUrlMatchesCurrentUrl.d.ts.map +1 -1
  273. package/dist/packages/lib/payment/getBooking.d.ts +1 -1
  274. package/dist/packages/lib/payment/handlePaymentSuccess.d.ts.map +1 -1
  275. package/dist/packages/lib/raqb/findTeamMembersMatchingAttributeLogic.d.ts +1 -1
  276. package/dist/packages/lib/server/getLuckyUser.d.ts +1 -1
  277. package/dist/packages/lib/server/getLuckyUser.d.ts.map +1 -1
  278. package/dist/packages/lib/server/getTeamMemberEmailFromCrm.d.ts.map +1 -1
  279. package/dist/packages/lib/server/repository/attribute.d.ts +1 -1
  280. package/dist/packages/lib/server/repository/attributeToUser.d.ts +2 -2
  281. package/dist/packages/lib/server/repository/domainWideDelegation.d.ts +3 -3
  282. package/dist/packages/lib/server/repository/event.d.ts +1 -1
  283. package/dist/packages/lib/server/repository/eventType.d.ts +5 -2
  284. package/dist/packages/lib/server/repository/eventType.d.ts.map +1 -1
  285. package/dist/packages/lib/server/repository/organization.d.ts.map +1 -1
  286. package/dist/packages/lib/server/repository/user.d.ts +3 -2
  287. package/dist/packages/lib/server/repository/user.d.ts.map +1 -1
  288. package/dist/packages/lib/server/repository/user.test.d.ts +2 -0
  289. package/dist/packages/lib/server/repository/user.test.d.ts.map +1 -0
  290. package/dist/packages/lib/server/repository/webhook.d.ts +3 -4
  291. package/dist/packages/lib/server/repository/webhook.d.ts.map +1 -1
  292. package/dist/packages/lib/server/repository/workflow.d.ts +1 -1
  293. package/dist/packages/lib/server/service/userCreationService.d.ts +73 -0
  294. package/dist/packages/lib/server/service/userCreationService.d.ts.map +1 -0
  295. package/dist/packages/lib/server/service/userCreationService.test.d.ts +2 -0
  296. package/dist/packages/lib/server/service/userCreationService.test.d.ts.map +1 -0
  297. package/dist/packages/lib/service/attribute/server/getAttributes.d.ts +3 -3
  298. package/dist/packages/lib/service/attribute/server/utils.d.ts +1 -1
  299. package/dist/packages/lib/slots.d.ts +8 -6
  300. package/dist/packages/lib/slots.d.ts.map +1 -1
  301. package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts.map +1 -1
  302. package/dist/packages/platform/atoms/connect/stripe/StripeConnect.d.ts.map +1 -1
  303. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +2 -2
  304. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  305. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts.map +1 -1
  306. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
  307. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +7 -3
  308. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  309. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +1 -1
  310. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +1 -0
  311. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  312. package/dist/packages/platform/types/index.d.ts +1 -0
  313. package/dist/packages/platform/types/index.d.ts.map +1 -1
  314. package/dist/packages/platform/types/routing-forms/index.d.ts +2 -0
  315. package/dist/packages/platform/types/routing-forms/index.d.ts.map +1 -0
  316. package/dist/packages/platform/types/routing-forms/responses/index.d.ts +2 -0
  317. package/dist/packages/platform/types/routing-forms/responses/index.d.ts.map +1 -0
  318. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +14 -0
  319. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts.map +1 -0
  320. package/dist/packages/prisma/zod/attributeoption.d.ts +2 -2
  321. package/dist/packages/prisma/zod/domainwidedelegation.d.ts +2 -2
  322. package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
  323. package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
  324. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  325. package/dist/packages/prisma/zod/webhook.d.ts +4 -4
  326. package/dist/packages/prisma/zod/workflow.d.ts +2 -2
  327. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +0 -2
  328. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  329. package/dist/packages/trpc/server/routers/_app.d.ts +192 -99
  330. package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
  331. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts +1 -3
  332. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts.map +1 -1
  333. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts +0 -2
  334. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts.map +1 -1
  335. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.handler.d.ts +1 -1
  336. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts +0 -2
  337. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts.map +1 -1
  338. package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts +4 -1
  339. package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts.map +1 -1
  340. package/dist/packages/trpc/server/routers/publicViewer/event.handler.d.ts +1 -1
  341. package/dist/packages/trpc/server/routers/publicViewer/procedures/event.d.ts +1 -1
  342. package/dist/packages/trpc/server/routers/viewer/_router.d.ts +192 -99
  343. package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
  344. package/dist/packages/trpc/server/routers/viewer/admin/_router.d.ts +1 -1
  345. package/dist/packages/trpc/server/routers/viewer/admin/toggleFeatureFlag.handler.d.ts +1 -1
  346. package/dist/packages/trpc/server/routers/viewer/admin/toggleFeatureFlag.procedure.d.ts +1 -1
  347. package/dist/packages/trpc/server/routers/viewer/apiKeys/_router.d.ts +3 -3
  348. package/dist/packages/trpc/server/routers/viewer/apiKeys/edit.handler.d.ts +1 -1
  349. package/dist/packages/trpc/server/routers/viewer/apiKeys/findKeyOfType.handler.d.ts +1 -1
  350. package/dist/packages/trpc/server/routers/viewer/apiKeys/list.handler.d.ts +1 -1
  351. package/dist/packages/trpc/server/routers/viewer/attributes/_router.d.ts +1 -1
  352. package/dist/packages/trpc/server/routers/viewer/attributes/list.handler.d.ts +1 -1
  353. package/dist/packages/trpc/server/routers/viewer/availability/_router.d.ts +1 -0
  354. package/dist/packages/trpc/server/routers/viewer/availability/_router.d.ts.map +1 -1
  355. package/dist/packages/trpc/server/routers/viewer/availability/schedule/_router.d.ts +1 -0
  356. package/dist/packages/trpc/server/routers/viewer/availability/schedule/_router.d.ts.map +1 -1
  357. package/dist/packages/trpc/server/routers/viewer/availability/schedule/bulkUpdateDefaultAvailability.schema.d.ts +3 -0
  358. package/dist/packages/trpc/server/routers/viewer/availability/schedule/bulkUpdateDefaultAvailability.schema.d.ts.map +1 -1
  359. package/dist/packages/trpc/server/routers/viewer/bookings/get.handler.d.ts.map +1 -1
  360. package/dist/packages/trpc/server/routers/viewer/domainWideDelegation/_router.d.ts +1 -1
  361. package/dist/packages/trpc/server/routers/viewer/domainWideDelegation/list.handler.d.ts +1 -1
  362. package/dist/packages/trpc/server/routers/viewer/eventTypes/_router.d.ts +2 -2
  363. package/dist/packages/trpc/server/routers/viewer/eventTypes/get.handler.d.ts +2 -2
  364. package/dist/packages/trpc/server/routers/viewer/eventTypes/procedures/get.d.ts +2 -2
  365. package/dist/packages/trpc/server/routers/viewer/highPerf/_router.d.ts +2 -0
  366. package/dist/packages/trpc/server/routers/viewer/highPerf/_router.d.ts.map +1 -1
  367. package/dist/packages/trpc/server/routers/viewer/highPerf/getTeamSchedule.schema.d.ts +14 -0
  368. package/dist/packages/trpc/server/routers/viewer/highPerf/getTeamSchedule.schema.d.ts.map +1 -1
  369. package/dist/packages/trpc/server/routers/viewer/organizations/_router.d.ts +1 -1
  370. package/dist/packages/trpc/server/routers/viewer/organizations/listMembers.handler.d.ts +1 -1
  371. package/dist/packages/trpc/server/routers/viewer/organizations/listMembers.schema.d.ts +35 -35
  372. package/dist/packages/trpc/server/routers/viewer/routing-forms/findTeamMembersMatchingAttributeLogicOfRoute.handler.d.ts.map +1 -1
  373. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +3 -0
  374. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  375. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.schema.d.ts +14 -0
  376. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.schema.d.ts.map +1 -1
  377. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.schema.d.ts +5 -0
  378. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.schema.d.ts.map +1 -1
  379. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +19 -0
  380. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  381. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +10 -25
  382. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  383. package/dist/packages/trpc/server/routers/viewer/teams/_router.d.ts +1 -1
  384. package/dist/packages/trpc/server/routers/viewer/teams/getMemberAvailability.schema.d.ts +2 -2
  385. package/dist/packages/trpc/server/routers/viewer/webhook/_router.d.ts +9 -9
  386. package/dist/packages/trpc/server/routers/viewer/webhook/_router.d.ts.map +1 -1
  387. package/dist/packages/trpc/server/routers/viewer/webhook/create.schema.d.ts +2 -2
  388. package/dist/packages/trpc/server/routers/viewer/webhook/edit.handler.d.ts +3 -3
  389. package/dist/packages/trpc/server/routers/viewer/webhook/get.handler.d.ts +2 -2
  390. package/dist/packages/trpc/server/routers/viewer/webhook/getByViewer.handler.d.ts.map +1 -1
  391. package/dist/packages/trpc/server/routers/viewer/webhook/list.handler.d.ts +3 -3
  392. package/dist/packages/trpc/server/routers/viewer/workflows/_router.d.ts +3 -3
  393. package/dist/packages/trpc/server/routers/viewer/workflows/get.handler.d.ts +1 -1
  394. package/dist/packages/trpc/server/routers/viewer/workflows/getAllActiveWorkflows.schema.d.ts +4 -4
  395. package/dist/packages/trpc/server/routers/viewer/workflows/update.handler.d.ts +1 -1
  396. package/dist/packages/trpc/server/routers/viewer/workflows/update.schema.d.ts +2 -2
  397. package/dist/style.css +1 -1
  398. package/dist/{useIsAppEnabled-w7JLTQbp.js → useIsAppEnabled-ryNGws4v.js} +1 -1
  399. package/globals.min.css +20 -1
  400. package/package.json +1 -1
  401. package/dist/AlbyPriceComponent-Q0h3dW-u.js +0 -955
  402. package/dist/EventTypeAppCardInterface-v5qSzRdb.js +0 -23
  403. package/dist/index-KN921gow.js +0 -110
  404. package/dist/isSupportedCountry-FkyYiyij.js +0 -7
  405. package/dist/packages/app-store/hitpay/components/KeyInput.d.ts +0 -27
  406. package/dist/packages/app-store/hitpay/components/KeyInput.d.ts.map +0 -1
  407. package/dist/packages/app-store/typeform/pages/app-routing.config.d.ts +0 -6
  408. package/dist/packages/app-store/typeform/pages/app-routing.config.d.ts.map +0 -1
  409. package/dist/packages/features/ee/teams/api/upgrade.d.ts +0 -4
  410. package/dist/packages/features/ee/teams/api/upgrade.d.ts.map +0 -1
  411. package/dist/packages/lib/server/apiRouteMiddleware.d.ts +0 -4
  412. package/dist/packages/lib/server/apiRouteMiddleware.d.ts.map +0 -1
  413. package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts +0 -2
  414. package/dist/packages/trpc/server/routers/viewer/slots/util.test.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { aT as s, aQ as m, m as n, b4 as c } from "./index-CQJkVs4j.js";
1
+ import { aW as s, aT as m, m as n, b7 as c } from "./index-WXiJMNQH.js";
2
2
  function p({ value: e, onChange: t, ...a }) {
3
3
  return /* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
4
4
  /* @__PURE__ */ s.jsx(
@@ -0,0 +1,461 @@
1
+ import { aW as D, ac as er, bf as tr } from "./index-WXiJMNQH.js";
2
+ import J from "react";
3
+ const K = function(s, r = !0) {
4
+ if (s.destroyed)
5
+ throw new Error("Hash instance has been destroyed");
6
+ if (r && s.finished)
7
+ throw new Error("Hash#digest() has already been called");
8
+ }, nr = (s) => s instanceof Uint8Array, N = (s) => new DataView(s.buffer, s.byteOffset, s.byteLength), L = (s, r) => s << 32 - r | s >>> r;
9
+ if (new Uint8Array(new Uint32Array([287454020]).buffer)[0] !== 68)
10
+ throw new Error("Non little-endian hardware is not supported");
11
+ Array.from({ length: 256 }, (s, r) => r.toString(16).padStart(2, "0"));
12
+ function Z(s) {
13
+ if (typeof s == "string" && (s = function(r) {
14
+ if (typeof r != "string")
15
+ throw new Error("utf8ToBytes expected string, got " + typeof r);
16
+ return new Uint8Array(new TextEncoder().encode(r));
17
+ }(s)), !nr(s))
18
+ throw new Error("expected Uint8Array, got " + typeof s);
19
+ return s;
20
+ }
21
+ class or {
22
+ clone() {
23
+ return this._cloneInto();
24
+ }
25
+ }
26
+ function q(s) {
27
+ const r = (c) => s().update(Z(c)).digest(), i = s();
28
+ return r.outputLen = i.outputLen, r.blockLen = i.blockLen, r.create = () => s(), r;
29
+ }
30
+ class sr extends or {
31
+ constructor(r, i, c, f) {
32
+ super(), this.blockLen = r, this.outputLen = i, this.padOffset = c, this.isLE = f, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(r), this.view = N(this.buffer);
33
+ }
34
+ update(r) {
35
+ K(this);
36
+ const { view: i, buffer: c, blockLen: f } = this, u = (r = Z(r)).length;
37
+ for (let l = 0; l < u; ) {
38
+ const g = Math.min(f - this.pos, u - l);
39
+ if (g !== f)
40
+ c.set(r.subarray(l, l + g), this.pos), this.pos += g, l += g, this.pos === f && (this.process(i, 0), this.pos = 0);
41
+ else {
42
+ const m = N(r);
43
+ for (; f <= u - l; l += f)
44
+ this.process(m, l);
45
+ }
46
+ }
47
+ return this.length += r.length, this.roundClean(), this;
48
+ }
49
+ digestInto(r) {
50
+ K(this), function(b, y) {
51
+ (function(x, ...B) {
52
+ if (!(x instanceof Uint8Array))
53
+ throw new Error("Expected Uint8Array");
54
+ if (B.length > 0 && !B.includes(x.length))
55
+ throw new Error(`Expected Uint8Array of length ${B}, not of length=${x.length}`);
56
+ })(b);
57
+ const E = y.outputLen;
58
+ if (b.length < E)
59
+ throw new Error(`digestInto() expects output buffer of length at least ${E}`);
60
+ }(r, this), this.finished = !0;
61
+ const { buffer: i, view: c, blockLen: f, isLE: u } = this;
62
+ let { pos: l } = this;
63
+ i[l++] = 128, this.buffer.subarray(l).fill(0), this.padOffset > f - l && (this.process(c, 0), l = 0);
64
+ for (let b = l; b < f; b++)
65
+ i[b] = 0;
66
+ (function(b, y, E, x) {
67
+ if (typeof b.setBigUint64 == "function")
68
+ return b.setBigUint64(y, E, x);
69
+ const B = BigInt(32), k = BigInt(4294967295), F = Number(E >> B & k), C = Number(E & k), _ = x ? 0 : 4;
70
+ b.setUint32(y + (x ? 4 : 0), F, x), b.setUint32(y + _, C, x);
71
+ })(c, f - 8, BigInt(8 * this.length), u), this.process(c, 0);
72
+ const g = N(r), m = this.outputLen;
73
+ if (m % 4)
74
+ throw new Error("_sha2: outputLen should be aligned to 32bit");
75
+ const U = m / 4, A = this.get();
76
+ if (U > A.length)
77
+ throw new Error("_sha2: outputLen bigger than state");
78
+ for (let b = 0; b < U; b++)
79
+ g.setUint32(4 * b, A[b], u);
80
+ }
81
+ digest() {
82
+ const { buffer: r, outputLen: i } = this;
83
+ this.digestInto(r);
84
+ const c = r.slice(0, i);
85
+ return this.destroy(), c;
86
+ }
87
+ _cloneInto(r) {
88
+ r || (r = new this.constructor()), r.set(...this.get());
89
+ const { blockLen: i, buffer: c, length: f, finished: u, destroyed: l, pos: g } = this;
90
+ return r.length = f, r.pos = g, r.finished = u, r.destroyed = l, f % i && r.buffer.set(c), r;
91
+ }
92
+ }
93
+ const ir = (s, r, i) => s & r ^ s & i ^ r & i, ar = new Uint32Array([1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]), I = new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), T = new Uint32Array(64);
94
+ class rr extends sr {
95
+ constructor() {
96
+ super(64, 32, 8, !1), this.A = 0 | I[0], this.B = 0 | I[1], this.C = 0 | I[2], this.D = 0 | I[3], this.E = 0 | I[4], this.F = 0 | I[5], this.G = 0 | I[6], this.H = 0 | I[7];
97
+ }
98
+ get() {
99
+ const { A: r, B: i, C: c, D: f, E: u, F: l, G: g, H: m } = this;
100
+ return [r, i, c, f, u, l, g, m];
101
+ }
102
+ set(r, i, c, f, u, l, g, m) {
103
+ this.A = 0 | r, this.B = 0 | i, this.C = 0 | c, this.D = 0 | f, this.E = 0 | u, this.F = 0 | l, this.G = 0 | g, this.H = 0 | m;
104
+ }
105
+ process(r, i) {
106
+ for (let y = 0; y < 16; y++, i += 4)
107
+ T[y] = r.getUint32(i, !1);
108
+ for (let y = 16; y < 64; y++) {
109
+ const E = T[y - 15], x = T[y - 2], B = L(E, 7) ^ L(E, 18) ^ E >>> 3, k = L(x, 17) ^ L(x, 19) ^ x >>> 10;
110
+ T[y] = k + T[y - 7] + B + T[y - 16] | 0;
111
+ }
112
+ let { A: c, B: f, C: u, D: l, E: g, F: m, G: U, H: A } = this;
113
+ for (let y = 0; y < 64; y++) {
114
+ const E = A + (L(g, 6) ^ L(g, 11) ^ L(g, 25)) + ((b = g) & m ^ ~b & U) + ar[y] + T[y] | 0, x = (L(c, 2) ^ L(c, 13) ^ L(c, 22)) + ir(c, f, u) | 0;
115
+ A = U, U = m, m = g, g = l + E | 0, l = u, u = f, f = c, c = E + x | 0;
116
+ }
117
+ var b;
118
+ c = c + this.A | 0, f = f + this.B | 0, u = u + this.C | 0, l = l + this.D | 0, g = g + this.E | 0, m = m + this.F | 0, U = U + this.G | 0, A = A + this.H | 0, this.set(c, f, u, l, g, m, U, A);
119
+ }
120
+ roundClean() {
121
+ T.fill(0);
122
+ }
123
+ destroy() {
124
+ this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
125
+ }
126
+ }
127
+ class cr extends rr {
128
+ constructor() {
129
+ super(), this.A = -1056596264, this.B = 914150663, this.C = 812702999, this.D = -150054599, this.E = -4191439, this.F = 1750603025, this.G = 1694076839, this.H = -1090891868, this.outputLen = 28;
130
+ }
131
+ }
132
+ q(() => new rr());
133
+ q(() => new cr());
134
+ var Q, V;
135
+ Q = function(s, r) {
136
+ function i(e) {
137
+ if (!Number.isSafeInteger(e))
138
+ throw new Error(`Wrong integer: ${e}`);
139
+ }
140
+ function c(...e) {
141
+ const t = (n, o) => (a) => n(o(a));
142
+ return { encode: Array.from(e).reverse().reduce((n, o) => n ? t(n, o.encode) : o.encode, void 0), decode: e.reduce((n, o) => n ? t(n, o.decode) : o.decode, void 0) };
143
+ }
144
+ function f(e) {
145
+ return { encode: (t) => {
146
+ if (!Array.isArray(t) || t.length && typeof t[0] != "number")
147
+ throw new Error("alphabet.encode input should be an array of numbers");
148
+ return t.map((n) => {
149
+ if (i(n), n < 0 || n >= e.length)
150
+ throw new Error(`Digit index outside alphabet: ${n} (alphabet: ${e.length})`);
151
+ return e[n];
152
+ });
153
+ }, decode: (t) => {
154
+ if (!Array.isArray(t) || t.length && typeof t[0] != "string")
155
+ throw new Error("alphabet.decode input should be array of strings");
156
+ return t.map((n) => {
157
+ if (typeof n != "string")
158
+ throw new Error(`alphabet.decode: not string element=${n}`);
159
+ const o = e.indexOf(n);
160
+ if (o === -1)
161
+ throw new Error(`Unknown letter: "${n}". Allowed: ${e}`);
162
+ return o;
163
+ });
164
+ } };
165
+ }
166
+ function u(e = "") {
167
+ if (typeof e != "string")
168
+ throw new Error("join separator should be string");
169
+ return { encode: (t) => {
170
+ if (!Array.isArray(t) || t.length && typeof t[0] != "string")
171
+ throw new Error("join.encode input should be array of strings");
172
+ for (let n of t)
173
+ if (typeof n != "string")
174
+ throw new Error(`join.encode: non-string input=${n}`);
175
+ return t.join(e);
176
+ }, decode: (t) => {
177
+ if (typeof t != "string")
178
+ throw new Error("join.decode input should be string");
179
+ return t.split(e);
180
+ } };
181
+ }
182
+ function l(e, t = "=") {
183
+ if (i(e), typeof t != "string")
184
+ throw new Error("padding chr should be string");
185
+ return { encode(n) {
186
+ if (!Array.isArray(n) || n.length && typeof n[0] != "string")
187
+ throw new Error("padding.encode input should be array of strings");
188
+ for (let o of n)
189
+ if (typeof o != "string")
190
+ throw new Error(`padding.encode: non-string input=${o}`);
191
+ for (; n.length * e % 8; )
192
+ n.push(t);
193
+ return n;
194
+ }, decode(n) {
195
+ if (!Array.isArray(n) || n.length && typeof n[0] != "string")
196
+ throw new Error("padding.encode input should be array of strings");
197
+ for (let a of n)
198
+ if (typeof a != "string")
199
+ throw new Error(`padding.decode: non-string input=${a}`);
200
+ let o = n.length;
201
+ if (o * e % 8)
202
+ throw new Error("Invalid padding: string should have whole number of bytes");
203
+ for (; o > 0 && n[o - 1] === t; o--)
204
+ if (!((o - 1) * e % 8))
205
+ throw new Error("Invalid padding: string has too much padding");
206
+ return n.slice(0, o);
207
+ } };
208
+ }
209
+ function g(e) {
210
+ if (typeof e != "function")
211
+ throw new Error("normalize fn should be function");
212
+ return { encode: (t) => t, decode: (t) => e(t) };
213
+ }
214
+ function m(e, t, n) {
215
+ if (t < 2)
216
+ throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);
217
+ if (n < 2)
218
+ throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);
219
+ if (!Array.isArray(e))
220
+ throw new Error("convertRadix: data should be array");
221
+ if (!e.length)
222
+ return [];
223
+ let o = 0;
224
+ const a = [], h = Array.from(e);
225
+ for (h.forEach((d) => {
226
+ if (i(d), d < 0 || d >= t)
227
+ throw new Error(`Wrong integer: ${d}`);
228
+ }); ; ) {
229
+ let d = 0, w = !0;
230
+ for (let p = o; p < h.length; p++) {
231
+ const $ = h[p], v = t * d + $;
232
+ if (!Number.isSafeInteger(v) || t * d / t !== d || v - $ != t * d)
233
+ throw new Error("convertRadix: carry overflow");
234
+ if (d = v % n, h[p] = Math.floor(v / n), !Number.isSafeInteger(h[p]) || h[p] * n + d !== v)
235
+ throw new Error("convertRadix: carry overflow");
236
+ w && (h[p] ? w = !1 : o = p);
237
+ }
238
+ if (a.push(d), w)
239
+ break;
240
+ }
241
+ for (let d = 0; d < e.length - 1 && e[d] === 0; d++)
242
+ a.push(0);
243
+ return a.reverse();
244
+ }
245
+ Object.defineProperty(r, "__esModule", { value: !0 }), r.bytes = r.stringToBytes = r.str = r.bytesToString = r.hex = r.utf8 = r.bech32m = r.bech32 = r.base58check = r.base58xmr = r.base58xrp = r.base58flickr = r.base58 = r.base64url = r.base64 = r.base32crockford = r.base32hex = r.base32 = r.base16 = r.utils = r.assertNumber = void 0, r.assertNumber = i;
246
+ const U = (e, t) => t ? U(t, e % t) : e, A = (e, t) => e + (t - U(e, t));
247
+ function b(e, t, n, o) {
248
+ if (!Array.isArray(e))
249
+ throw new Error("convertRadix2: data should be array");
250
+ if (t <= 0 || t > 32)
251
+ throw new Error(`convertRadix2: wrong from=${t}`);
252
+ if (n <= 0 || n > 32)
253
+ throw new Error(`convertRadix2: wrong to=${n}`);
254
+ if (A(t, n) > 32)
255
+ throw new Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${A(t, n)}`);
256
+ let a = 0, h = 0;
257
+ const d = 2 ** n - 1, w = [];
258
+ for (const p of e) {
259
+ if (i(p), p >= 2 ** t)
260
+ throw new Error(`convertRadix2: invalid data word=${p} from=${t}`);
261
+ if (a = a << t | p, h + t > 32)
262
+ throw new Error(`convertRadix2: carry overflow pos=${h} from=${t}`);
263
+ for (h += t; h >= n; h -= n)
264
+ w.push((a >> h - n & d) >>> 0);
265
+ a &= 2 ** h - 1;
266
+ }
267
+ if (a = a << n - h & d, !o && h >= t)
268
+ throw new Error("Excess padding");
269
+ if (!o && a)
270
+ throw new Error(`Non-zero padding: ${a}`);
271
+ return o && h > 0 && w.push(a >>> 0), w;
272
+ }
273
+ function y(e) {
274
+ return i(e), { encode: (t) => {
275
+ if (!(t instanceof Uint8Array))
276
+ throw new Error("radix.encode input should be Uint8Array");
277
+ return m(Array.from(t), 256, e);
278
+ }, decode: (t) => {
279
+ if (!Array.isArray(t) || t.length && typeof t[0] != "number")
280
+ throw new Error("radix.decode input should be array of strings");
281
+ return Uint8Array.from(m(t, e, 256));
282
+ } };
283
+ }
284
+ function E(e, t = !1) {
285
+ if (i(e), e <= 0 || e > 32)
286
+ throw new Error("radix2: bits should be in (0..32]");
287
+ if (A(8, e) > 32 || A(e, 8) > 32)
288
+ throw new Error("radix2: carry overflow");
289
+ return { encode: (n) => {
290
+ if (!(n instanceof Uint8Array))
291
+ throw new Error("radix2.encode input should be Uint8Array");
292
+ return b(Array.from(n), 8, e, !t);
293
+ }, decode: (n) => {
294
+ if (!Array.isArray(n) || n.length && typeof n[0] != "number")
295
+ throw new Error("radix2.decode input should be array of strings");
296
+ return Uint8Array.from(b(n, e, 8, t));
297
+ } };
298
+ }
299
+ function x(e) {
300
+ if (typeof e != "function")
301
+ throw new Error("unsafeWrapper fn should be function");
302
+ return function(...t) {
303
+ try {
304
+ return e.apply(null, t);
305
+ } catch {
306
+ }
307
+ };
308
+ }
309
+ function B(e, t) {
310
+ if (i(e), typeof t != "function")
311
+ throw new Error("checksum fn should be function");
312
+ return { encode(n) {
313
+ if (!(n instanceof Uint8Array))
314
+ throw new Error("checksum.encode: input should be Uint8Array");
315
+ const o = t(n).slice(0, e), a = new Uint8Array(n.length + e);
316
+ return a.set(n), a.set(o, n.length), a;
317
+ }, decode(n) {
318
+ if (!(n instanceof Uint8Array))
319
+ throw new Error("checksum.decode: input should be Uint8Array");
320
+ const o = n.slice(0, -e), a = t(o).slice(0, e), h = n.slice(-e);
321
+ for (let d = 0; d < e; d++)
322
+ if (a[d] !== h[d])
323
+ throw new Error("Invalid checksum");
324
+ return o;
325
+ } };
326
+ }
327
+ r.utils = { alphabet: f, chain: c, checksum: B, radix: y, radix2: E, join: u, padding: l }, r.base16 = c(E(4), f("0123456789ABCDEF"), u("")), r.base32 = c(E(5), f("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"), l(5), u("")), r.base32hex = c(E(5), f("0123456789ABCDEFGHIJKLMNOPQRSTUV"), l(5), u("")), r.base32crockford = c(E(5), f("0123456789ABCDEFGHJKMNPQRSTVWXYZ"), u(""), g((e) => e.toUpperCase().replace(/O/g, "0").replace(/[IL]/g, "1"))), r.base64 = c(E(6), f("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), l(6), u("")), r.base64url = c(E(6), f("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), l(6), u(""));
328
+ const k = (e) => c(y(58), f(e), u(""));
329
+ r.base58 = k("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"), r.base58flickr = k("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"), r.base58xrp = k("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");
330
+ const F = [0, 2, 3, 5, 6, 7, 9, 10, 11];
331
+ r.base58xmr = { encode(e) {
332
+ let t = "";
333
+ for (let n = 0; n < e.length; n += 8) {
334
+ const o = e.subarray(n, n + 8);
335
+ t += r.base58.encode(o).padStart(F[o.length], "1");
336
+ }
337
+ return t;
338
+ }, decode(e) {
339
+ let t = [];
340
+ for (let n = 0; n < e.length; n += 11) {
341
+ const o = e.slice(n, n + 11), a = F.indexOf(o.length), h = r.base58.decode(o);
342
+ for (let d = 0; d < h.length - a; d++)
343
+ if (h[d] !== 0)
344
+ throw new Error("base58xmr: wrong padding");
345
+ t = t.concat(Array.from(h.slice(h.length - a)));
346
+ }
347
+ return Uint8Array.from(t);
348
+ } }, r.base58check = (e) => c(B(4, (t) => e(e(t))), r.base58);
349
+ const C = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), _ = [996825010, 642813549, 513874426, 1027748829, 705979059];
350
+ function S(e) {
351
+ const t = e >> 25;
352
+ let n = (33554431 & e) << 5;
353
+ for (let o = 0; o < _.length; o++)
354
+ (t >> o & 1) == 1 && (n ^= _[o]);
355
+ return n;
356
+ }
357
+ function O(e, t, n = 1) {
358
+ const o = e.length;
359
+ let a = 1;
360
+ for (let h = 0; h < o; h++) {
361
+ const d = e.charCodeAt(h);
362
+ if (d < 33 || d > 126)
363
+ throw new Error(`Invalid prefix (${e})`);
364
+ a = S(a) ^ d >> 5;
365
+ }
366
+ a = S(a);
367
+ for (let h = 0; h < o; h++)
368
+ a = S(a) ^ 31 & e.charCodeAt(h);
369
+ for (let h of t)
370
+ a = S(a) ^ h;
371
+ for (let h = 0; h < 6; h++)
372
+ a = S(a);
373
+ return a ^= n, C.encode(b([a % 2 ** 30], 30, 5, !1));
374
+ }
375
+ function W(e) {
376
+ const t = e === "bech32" ? 1 : 734539939, n = E(5), o = n.decode, a = n.encode, h = x(o);
377
+ function d(w, p = 90) {
378
+ if (typeof w != "string")
379
+ throw new Error("bech32.decode input should be string, not " + typeof w);
380
+ if (w.length < 8 || p !== !1 && w.length > p)
381
+ throw new TypeError(`Wrong string length: ${w.length} (${w}). Expected (8..${p})`);
382
+ const $ = w.toLowerCase();
383
+ if (w !== $ && w !== w.toUpperCase())
384
+ throw new Error("String must be lowercase or uppercase");
385
+ const v = (w = $).lastIndexOf("1");
386
+ if (v === 0 || v === -1)
387
+ throw new Error('Letter "1" must be present between prefix and data only');
388
+ const M = w.slice(0, v), R = w.slice(v + 1);
389
+ if (R.length < 6)
390
+ throw new Error("Data must be at least 6 characters long");
391
+ const P = C.decode(R).slice(0, -6), z = O(M, P, t);
392
+ if (!R.endsWith(z))
393
+ throw new Error(`Invalid checksum in ${w}: expected "${z}"`);
394
+ return { prefix: M, words: P };
395
+ }
396
+ return { encode: function(w, p, $ = 90) {
397
+ if (typeof w != "string")
398
+ throw new Error("bech32.encode prefix should be string, not " + typeof w);
399
+ if (!Array.isArray(p) || p.length && typeof p[0] != "number")
400
+ throw new Error("bech32.encode words should be array of numbers, not " + typeof p);
401
+ const v = w.length + 7 + p.length;
402
+ if ($ !== !1 && v > $)
403
+ throw new TypeError(`Length ${v} exceeds limit ${$}`);
404
+ return `${w = w.toLowerCase()}1${C.encode(p)}${O(w, p, t)}`;
405
+ }, decode: d, decodeToBytes: function(w) {
406
+ const { prefix: p, words: $ } = d(w, !1);
407
+ return { prefix: p, words: $, bytes: o($) };
408
+ }, decodeUnsafe: x(d), fromWords: o, fromWordsUnsafe: h, toWords: a };
409
+ }
410
+ r.bech32 = W("bech32"), r.bech32m = W("bech32m"), r.utf8 = { encode: (e) => new TextDecoder().decode(e), decode: (e) => new TextEncoder().encode(e) }, r.hex = c(E(4), f("0123456789abcdef"), u(""), g((e) => {
411
+ if (typeof e != "string" || e.length % 2)
412
+ throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);
413
+ return e.toLowerCase();
414
+ }));
415
+ const j = { utf8: r.utf8, hex: r.hex, base16: r.base16, base32: r.base32, base64: r.base64, base64url: r.base64url, base58: r.base58, base58xmr: r.base58xmr }, G = `Invalid encoding type. Available types: ${Object.keys(j).join(", ")}`;
416
+ r.bytesToString = (e, t) => {
417
+ if (typeof e != "string" || !j.hasOwnProperty(e))
418
+ throw new TypeError(G);
419
+ if (!(t instanceof Uint8Array))
420
+ throw new TypeError("bytesToString() expects Uint8Array");
421
+ return j[e].encode(t);
422
+ }, r.str = r.bytesToString, r.stringToBytes = (e, t) => {
423
+ if (!j.hasOwnProperty(e))
424
+ throw new TypeError(G);
425
+ if (typeof t != "string")
426
+ throw new TypeError("stringToBytes() expects string");
427
+ return j[e].decode(t);
428
+ }, r.bytes = r.stringToBytes;
429
+ }, Q(V = { exports: {} }, V.exports), V.exports;
430
+ BigInt(1e3), BigInt(1e6), BigInt(1e9), BigInt(1e12);
431
+ BigInt("2100000000000000000");
432
+ BigInt(1e11);
433
+ const X = { payment_hash: 1, payment_secret: 16, description: 13, payee: 19, description_hash: 23, expiry: 6, min_final_cltv_expiry: 24, fallback_address: 9, route_hint: 3, feature_bits: 5, metadata: 27 };
434
+ for (let s = 0, r = Object.keys(X); s < r.length; s++)
435
+ r[s], X[r[s]].toString();
436
+ const H = async (s) => {
437
+ const r = "https://getalby.com/api/rates/" + s.toLowerCase() + ".json";
438
+ return (await (await fetch(r)).json()).rate_float / 1e8;
439
+ }, Y = async ({ satoshi: s, currency: r }) => {
440
+ const i = await H(r);
441
+ return Number(s) * i;
442
+ };
443
+ var hr = { __proto__: null, getFiatBtcRate: H, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
444
+ const i = await H(r);
445
+ return Math.floor(Number(s) / i);
446
+ }, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await Y({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
447
+ function ur({ displaySymbol: s, price: r, formattedPrice: i }) {
448
+ const [c, f] = J.useState("loading...");
449
+ return J.useEffect(() => {
450
+ (async () => {
451
+ const u = await hr.getFiatValue({ satoshi: r, currency: "USD" });
452
+ f(`$${u.toFixed(2)}`);
453
+ })();
454
+ }, [r]), /* @__PURE__ */ D.jsx(er, { content: c, children: /* @__PURE__ */ D.jsxs("div", { className: "inline-flex items-center justify-center", children: [
455
+ s && /* @__PURE__ */ D.jsx(tr, { className: "h-4 w-4" }),
456
+ i
457
+ ] }) });
458
+ }
459
+ export {
460
+ ur as AlbyPriceComponent
461
+ };
@@ -1,5 +1,5 @@
1
- import { bj as I, b0 as j, aU as _, aS as S, aT as s, bk as B, b4 as i, e as b, aq as g, bl as k, bm as O, aW as P, bn as C, ba as u, B as E, A as R, K as T, aQ as $ } from "./index-CQJkVs4j.js";
2
- function q(e) {
1
+ import { bm as I, b3 as j, aX as _, aV as S, aW as s, bn as B, b7 as i, e as b, aq as g, bo as O, bp as P, aZ as k, bq as C, bd as u, B as q, A as E, K as R, aT as T } from "./index-WXiJMNQH.js";
2
+ function $(e) {
3
3
  const { status: r } = I.useSession();
4
4
  return j.viewer.appById.useQuery(
5
5
  { appId: e },
@@ -14,7 +14,7 @@ function L({
14
14
  returnTo: c,
15
15
  teamId: l
16
16
  }) {
17
- const { t: a } = _(), { data: n } = q(e), m = j.useUtils(), o = S(null, {
17
+ const { t: a } = _(), { data: n } = $(e), m = j.useUtils(), o = S(null, {
18
18
  returnTo: c,
19
19
  onSuccess: (t) => {
20
20
  m.viewer.appById.invalidate({ appId: e }), m.viewer.integrations.invalidate({
@@ -56,7 +56,7 @@ function L({
56
56
  }
57
57
  ) : null;
58
58
  }
59
- function D({
59
+ function U({
60
60
  app: e,
61
61
  description: r,
62
62
  switchOnClick: c,
@@ -69,7 +69,7 @@ function D({
69
69
  hideSettingsIcon: d = !1,
70
70
  hideAppCardOptions: v = !1
71
71
  }) {
72
- const { t: x } = k(), [N] = O(), { setAppData: w, LockedIcon: y, disabled: A } = P(), f = C();
72
+ const { t: x } = O(), [N] = P(), { setAppData: w, LockedIcon: y, disabled: A } = k(), f = C();
73
73
  return /* @__PURE__ */ s.jsxs(
74
74
  "div",
75
75
  {
@@ -107,9 +107,9 @@ function D({
107
107
  /* @__PURE__ */ s.jsx("p", { title: e == null ? void 0 : e.description, className: "text-default line-clamp-1 pt-1 text-sm font-normal", children: r || (e == null ? void 0 : e.description) })
108
108
  ] }),
109
109
  /* @__PURE__ */ s.jsxs("div", { className: "ml-auto flex items-center space-x-2", children: [
110
- e.credentialOwner && !f && /* @__PURE__ */ s.jsx("div", { className: "ml-auto", children: /* @__PURE__ */ s.jsx(E, { variant: "gray", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center", children: [
110
+ e.credentialOwner && !f && /* @__PURE__ */ s.jsx("div", { className: "ml-auto", children: /* @__PURE__ */ s.jsx(q, { variant: "gray", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center", children: [
111
111
  /* @__PURE__ */ s.jsx(
112
- R,
112
+ E,
113
113
  {
114
114
  className: "mr-2",
115
115
  alt: e.credentialOwner.name || "Credential Owner Name",
@@ -120,7 +120,7 @@ function D({
120
120
  e.credentialOwner.name
121
121
  ] }) }) }),
122
122
  e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ s.jsx("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ s.jsx(
123
- T,
123
+ R,
124
124
  {
125
125
  disabled: !e.enabled || A || o,
126
126
  onCheckedChange: (h) => {
@@ -145,7 +145,7 @@ function D({
145
145
  v ? null : /* @__PURE__ */ s.jsxs("div", { ref: N, children: [
146
146
  (e == null ? void 0 : e.isInstalled) && l && /* @__PURE__ */ s.jsx("hr", { className: "border-subtle" }),
147
147
  e != null && e.isInstalled && l ? e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ s.jsxs("div", { className: "relative p-4 pt-5 text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
148
- !d && !f && /* @__PURE__ */ s.jsx(u, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ s.jsx($, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
148
+ !d && !f && /* @__PURE__ */ s.jsx(u, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ s.jsx(T, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
149
149
  a
150
150
  ] }) : /* @__PURE__ */ s.jsxs("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
151
151
  /* @__PURE__ */ s.jsx("p", { children: x("this_app_is_not_setup_already") }),
@@ -157,5 +157,5 @@ function D({
157
157
  );
158
158
  }
159
159
  export {
160
- D as A
160
+ U as A
161
161
  };
@@ -1,4 +1,4 @@
1
- import { aT as e, e as t, aU as l } from "./index-CQJkVs4j.js";
1
+ import { aW as e, e as t, aX as l } from "./index-WXiJMNQH.js";
2
2
  function r({ template: s }) {
3
3
  return /* @__PURE__ */ e.jsxs("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
4
4
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-start", children: [
@@ -1,4 +1,4 @@
1
- import { aU as p, aT as t, s as o, e as u } from "./index-CQJkVs4j.js";
1
+ import { aX as p, aW as t, s as o, e as u } from "./index-WXiJMNQH.js";
2
2
  import { useState as r } from "react";
3
3
  function l() {
4
4
  const { t: e } = p(), [s, a] = r("");
@@ -1,4 +1,4 @@
1
- import { aU as r, aT as e, s as o, e as i } from "./index-CQJkVs4j.js";
1
+ import { aX as r, aW as e, s as o, e as i } from "./index-WXiJMNQH.js";
2
2
  import { useState as l } from "react";
3
3
  function m() {
4
4
  const { t: a } = r(), s = "metric", [t, n] = l("");
@@ -1,4 +1,4 @@
1
- import { ba as u, aT as s, b4 as t, e as C, bb as N } from "./index-CQJkVs4j.js";
1
+ import { bd as u, aW as s, b7 as t, e as C, be as N } from "./index-WXiJMNQH.js";
2
2
  const i = N("", {
3
3
  // Variants won't have any style by default. Style will only be applied if the variants are combined.
4
4
  // So, style is defined in compoundVariants.
@@ -1,4 +1,4 @@
1
- import { aT as l, b4 as $, h as Se, bN as We, aQ as Te, bO as wt, bP as pt, e as xt, bQ as Dt } from "./index-CQJkVs4j.js";
1
+ import { aW as l, b7 as $, h as Se, bN as We, aT as Te, bO as wt, bP as pt, e as xt, bQ as Dt } from "./index-WXiJMNQH.js";
2
2
  import { createContext as H, forwardRef as Mt, useContext as A, useState as U, useEffect as re, useLayoutEffect as _t, useRef as kt } from "react";
3
3
  function D(e) {
4
4
  const t = Object.prototype.toString.call(e);
@@ -1,8 +1,8 @@
1
- import { aU as b, aV as f, aW as E, aX as y, aT as p, aY as P } from "./index-CQJkVs4j.js";
1
+ import { aX as b, aY as f, aZ as E, a_ as y, aW as p, a$ as P } from "./index-WXiJMNQH.js";
2
2
  import { useState as x } from "react";
3
- import { A as C } from "./AppCard-s-2QgrJn.js";
4
- import { u as g } from "./useIsAppEnabled-w7JLTQbp.js";
5
- import v from "./EventTypeAppSettingsInterface-qV2-2ldJ.js";
3
+ import { A as C } from "./AppCard-yu9Iepe2.js";
4
+ import { u as g } from "./useIsAppEnabled-ryNGws4v.js";
5
+ import v from "./EventTypeAppSettingsInterface-OrAwvkmP.js";
6
6
  const I = function({
7
7
  app: e,
8
8
  eventType: t,
@@ -1,6 +1,6 @@
1
- import { aW as l, aT as t, s as m } from "./index-CQJkVs4j.js";
2
- import { A as u } from "./AppCard-s-2QgrJn.js";
3
- import { u as h } from "./useIsAppEnabled-w7JLTQbp.js";
1
+ import { aZ as l, aW as t, s as m } from "./index-WXiJMNQH.js";
2
+ import { A as u } from "./AppCard-yu9Iepe2.js";
3
+ import { u as h } from "./useIsAppEnabled-ryNGws4v.js";
4
4
  const C = function({ app: a, eventType: n }) {
5
5
  var p;
6
6
  const { getAppData: d, setAppData: i, disabled: s } = l(), r = d("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
@@ -1,8 +1,8 @@
1
- import { aU as b, aV as f, aW as E, aX as x, aT as p, aY as y } from "./index-CQJkVs4j.js";
1
+ import { aX as b, aY as f, aZ as E, a_ as x, aW as p, a$ as y } from "./index-WXiJMNQH.js";
2
2
  import { useState as C } from "react";
3
- import { A as P } from "./AppCard-s-2QgrJn.js";
4
- import { u as g } from "./useIsAppEnabled-w7JLTQbp.js";
5
- import v from "./EventTypeAppSettingsInterface-orGSJPmr.js";
3
+ import { A as P } from "./AppCard-yu9Iepe2.js";
4
+ import { u as g } from "./useIsAppEnabled-ryNGws4v.js";
5
+ import v from "./EventTypeAppSettingsInterface-Exq5LBOw.js";
6
6
  const D = function({
7
7
  app: t,
8
8
  eventType: e,
@@ -1,7 +1,7 @@
1
- import { aW as m, aU as l, aT as a } from "./index-CQJkVs4j.js";
2
- import { A as f } from "./AppCard-s-2QgrJn.js";
3
- import { u } from "./useIsAppEnabled-w7JLTQbp.js";
4
- import A from "./EventTypeAppSettingsInterface-3xrOV-wo.js";
1
+ import { aZ as m, aX as l, aW as a } from "./index-WXiJMNQH.js";
2
+ import { A as f } from "./AppCard-yu9Iepe2.js";
3
+ import { u } from "./useIsAppEnabled-ryNGws4v.js";
4
+ import A from "./EventTypeAppSettingsInterface-6XFoEqsk.js";
5
5
  const S = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: o, setAppData: i, disabled: n } = m(), { enabled: p, updateEnabled: r } = u(t), { t: c } = l();
@@ -1,7 +1,7 @@
1
- import { aW as m, aT as s } from "./index-CQJkVs4j.js";
2
- import { A as c } from "./AppCard-s-2QgrJn.js";
3
- import { u } from "./useIsAppEnabled-w7JLTQbp.js";
4
- import l from "./EventTypeAppSettingsInterface--StSo41h.js";
1
+ import { aZ as m, aW as s } from "./index-WXiJMNQH.js";
2
+ import { A as c } from "./AppCard-yu9Iepe2.js";
3
+ import { u } from "./useIsAppEnabled-ryNGws4v.js";
4
+ import l from "./EventTypeAppSettingsInterface-OV_0fKAk.js";
5
5
  const E = function({ eventType: e, app: t }) {
6
6
  var a;
7
7
  const { enabled: p, updateEnabled: n } = u(t), { disabled: r, getAppData: o, setAppData: d } = m();
@@ -1,7 +1,7 @@
1
- import { aW as c, aT as a } from "./index-CQJkVs4j.js";
2
- import { A as m } from "./AppCard-s-2QgrJn.js";
3
- import { u } from "./useIsAppEnabled-w7JLTQbp.js";
4
- import l from "./EventTypeAppSettingsInterface-VtAF5rrR.js";
1
+ import { aZ as c, aW as a } from "./index-WXiJMNQH.js";
2
+ import { A as m } from "./AppCard-yu9Iepe2.js";
3
+ import { u } from "./useIsAppEnabled-ryNGws4v.js";
4
+ import l from "./EventTypeAppSettingsInterface-MTheEL-3.js";
5
5
  const E = function({ app: t, eventType: e }) {
6
6
  var s;
7
7
  const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);