@calcom/atoms 1.7.0 → 1.8.0

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 (191) hide show
  1. package/dist/{AddressInput-xFwoBxsZ.js → AddressInput-TPAoTrPC.js} +1 -1
  2. package/dist/{AlbyPriceComponent-NnD6qUfW.js → AlbyPriceComponent-OnR4fSwr.js} +1 -1
  3. package/dist/{AppCard--JDiTUMU.js → AppCard-UnBkV2QT.js} +4 -4
  4. package/dist/{AppListCardPlatformWrapper-ncgLQL4r.js → AppListCardPlatformWrapper-4eRy1NRK.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-YnM7-ccd.js → AppListCardWebWrapper-0wdYjkAE.js} +1 -1
  6. package/dist/{AppSettingsInterface-_WywrNHs.js → AppSettingsInterface-BUXklHpI.js} +1 -1
  7. package/dist/{AppSettingsInterface-EvAriEj2.js → AppSettingsInterface-IN675-GK.js} +1 -1
  8. package/dist/{AppSettingsInterface-OGwTTVN7.js → AppSettingsInterface-ZJ3ZsCsg.js} +1 -1
  9. package/dist/{DateRangePicker-m_y_P8tk.js → DateRangePicker-SbXQ2kUs.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-EPHC3SF7.js → EventTypeAppCardInterface--4xE4p79.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface--74geeRF.js → EventTypeAppCardInterface-9HzRYyCd.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-bNGYsiB0.js → EventTypeAppCardInterface-CtmOV4QG.js} +2 -2
  13. package/dist/{EventTypeAppCardInterface-sIqZFcBV.js → EventTypeAppCardInterface-DAoHQNia.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-2Q1qvV5K.js → EventTypeAppCardInterface-EY8MHHWr.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-JQgzokgl.js → EventTypeAppCardInterface-EqotF69G.js} +2 -2
  16. package/dist/{EventTypeAppCardInterface-R8-Y-hSu.js → EventTypeAppCardInterface-FseQRHaF.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-rV1vgpRv.js → EventTypeAppCardInterface-FzWJaItj.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-qO1PKt6x.js → EventTypeAppCardInterface-Hbrbd-An.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-_x7wFmBk.js → EventTypeAppCardInterface-LQ-94Fnd.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-G3OAa6sU.js → EventTypeAppCardInterface-LsiRGQxy.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-LvigpfyE.js → EventTypeAppCardInterface-MVTbWGAp.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-YlTC8St1.js → EventTypeAppCardInterface-M_zIE3R2.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-d-rOMdsH.js → EventTypeAppCardInterface-Nl4Tca0J.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-iHpJPDlc.js → EventTypeAppCardInterface-SBbEmado.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-2r4pxyRt.js → EventTypeAppCardInterface-V42P65Il.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-MIro_wur.js → EventTypeAppCardInterface-VC5GD6mP.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-li1GK953.js → EventTypeAppCardInterface-Yy5z6qq3.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface--UDAdk0r.js → EventTypeAppCardInterface-bKY65jzr.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-jBTRuVkO.js → EventTypeAppCardInterface-c7y6h3cZ.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-3T7Bcarm.js → EventTypeAppCardInterface-cYsx04dT.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-O0yLol5y.js → EventTypeAppCardInterface-eD2zI5jR.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-KDalRazj.js → EventTypeAppCardInterface-gqJqYQI9.js} +3 -3
  33. package/dist/{EventTypeAppCardInterface-rKAjvg4x.js → EventTypeAppCardInterface-iHRMY1ck.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-Na5tUt6e.js → EventTypeAppCardInterface-kyhbIMJn.js} +4 -4
  35. package/dist/EventTypeAppCardInterface-qX_8phKX.js +24 -0
  36. package/dist/{EventTypeAppCardInterface-lXddHFhd.js → EventTypeAppCardInterface-tvM_AuJk.js} +4 -4
  37. package/dist/{EventTypeAppSettingsInterface-J_c1VzIk.js → EventTypeAppSettingsInterface-3MhYVxkM.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-cbkdr04f.js → EventTypeAppSettingsInterface-3kl4RpMT.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-LIn3bMv4.js → EventTypeAppSettingsInterface-L2pesx9r.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-CPvfqJkx.js → EventTypeAppSettingsInterface-L9xlb8NR.js} +11 -11
  41. package/dist/{EventTypeAppSettingsInterface-JBpWa3pz.js → EventTypeAppSettingsInterface-Ld18-sOn.js} +123 -78
  42. package/dist/{EventTypeAppSettingsInterface-EZZkJrLi.js → EventTypeAppSettingsInterface-UpTmiEej.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-mOdk6pDR.js → EventTypeAppSettingsInterface-XQsGNWJq.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-eejB8RJX.js → EventTypeAppSettingsInterface-jPvK2jsX.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-K4kVWoog.js → EventTypeAppSettingsInterface-pdQn6Kfx.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-7e1qbHi8.js → EventTypeAppSettingsInterface-phZiaYXT.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-xYWyd_Dz.js → EventTypeAppSettingsInterface-vBrvSwct.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-CLwwrZv6.js → EventTypeAppSettingsInterface-x4ZemVo7.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-vNhCP6vQ.js → EventTypeAppSettingsInterface-yrvZgDxq.js} +1 -1
  50. package/dist/{InstallAppButton-J51NRgMF.js → InstallAppButton--2C7ML1T.js} +1 -1
  51. package/dist/{InstallAppButton-9sn2Jtoz.js → InstallAppButton-9ZNVw7xC.js} +1 -1
  52. package/dist/{InstallAppButton-6HzB5_Be.js → InstallAppButton-VKYchQNN.js} +1 -1
  53. package/dist/{PhoneInput-uymiSRfv.js → PhoneInput-eualhMpw.js} +1 -1
  54. package/dist/{StripePaymentForm-cXAJjJV3.js → StripePaymentForm-J3d6--In.js} +1 -1
  55. package/dist/cal-atoms.js +5 -5
  56. package/dist/{index-WXyiFeKd.js → index-QxAbeUbm.js} +1 -1
  57. package/dist/{index--iR_feQQ.js → index-ZTlhgZJm.js} +65069 -63763
  58. package/dist/{index-tEqQSBcP.js → index-ZiXm_Vsp.js} +1 -1
  59. package/dist/{index-XoFQv1cd.js → index-jrRDyJSN.js} +7 -7
  60. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/utils/event.d.ts +39 -33
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +83 -0
  64. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -0
  65. package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
  66. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
  67. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
  68. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +40 -38
  69. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
  71. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
  72. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
  73. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
  74. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +16 -0
  75. package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -0
  78. package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
  80. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
  81. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
  82. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +60 -57
  83. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
  85. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
  86. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
  87. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts +1 -0
  88. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
  90. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
  92. package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
  93. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
  94. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  96. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
  97. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
  98. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +2 -1
  99. package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
  100. package/dist/packages/features/ee/billing/credit-service.d.ts +5 -1
  101. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  102. package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
  103. package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
  104. package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
  105. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
  106. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
  107. package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
  108. package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
  109. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
  110. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
  111. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
  112. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
  113. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
  114. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  115. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  116. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  117. package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
  118. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  119. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
  120. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +0 -3
  121. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  122. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +0 -3
  123. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  124. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  125. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  126. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  127. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  128. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
  129. package/dist/packages/features/ee/workflows/lib/schema.d.ts +7 -2
  130. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  131. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
  132. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
  133. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
  134. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
  135. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  136. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
  137. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
  138. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
  139. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
  140. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +42 -33
  141. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  142. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
  143. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
  144. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  145. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
  146. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  147. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
  148. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
  149. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +20 -17
  150. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  151. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  152. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +3 -0
  153. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
  154. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  155. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  156. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +91 -91
  157. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
  158. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
  159. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
  160. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +39 -33
  161. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  162. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
  163. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
  164. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  165. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
  166. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
  167. package/dist/packages/platform/libraries/event-types.d.ts +5 -5
  168. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  169. package/dist/packages/platform/libraries/index.d.ts +4 -6
  170. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  171. package/dist/packages/prisma/zod/creditexpenselog.d.ts +6 -0
  172. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
  173. package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
  174. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  175. package/dist/packages/prisma/zod/task.d.ts +2 -2
  176. package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
  177. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  178. package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
  179. package/dist/packages/prisma/zod/workflow.d.ts +7 -2
  180. package/dist/packages/prisma/zod/workflow.d.ts.map +1 -1
  181. package/dist/packages/prisma/zod-utils.d.ts +52 -0
  182. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  183. package/dist/packages/prisma-client/index.d.ts +86 -1
  184. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
  185. package/dist/packages/trpc/react/shared.d.ts +1 -1
  186. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  187. package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
  188. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  189. package/dist/{useIsAppEnabled-C_9eRB94.js → useIsAppEnabled-kSS-8pZp.js} +1 -1
  190. package/package.json +1 -1
  191. package/dist/EventTypeAppCardInterface-safQ0enm.js +0 -24
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { U as n, e as o, r as c } from "./index--iR_feQQ.js";
2
+ import { U as n, e as o, r as c } from "./index-ZTlhgZJm.js";
3
3
  function i({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
@@ -1,6 +1,6 @@
1
1
  import { jsx as z, jsxs as er } from "react/jsx-runtime";
2
2
  import J from "react";
3
- import { R as tr, V as nr } from "./index--iR_feQQ.js";
3
+ import { R as tr, V as nr } from "./index-ZTlhgZJm.js";
4
4
  const K = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, Fragment as V, jsxs as a } from "react/jsx-runtime";
2
- import { am as W, an as v, r as u, U as N, ao as H, K as A, w as j, v as T, ap as q, B as R, a4 as C, y as L, ak as U, aq as g, p as F } from "./index--iR_feQQ.js";
2
+ import { an as W, ao as v, r as u, U as N, ap as H, K as A, w as j, v as T, aq as q, B as R, a4 as C, y as L, al as U, ar as g, p as F } from "./index-ZTlhgZJm.js";
3
3
  import * as c from "react";
4
4
  var y = c.forwardRef((e, r) => {
5
5
  const { children: t, ...n } = e, s = c.Children.toArray(t), i = s.find(K);
@@ -219,7 +219,7 @@ function le({
219
219
  hideSettingsIcon: m = !1,
220
220
  hideAppCardOptions: I = !1
221
221
  }) {
222
- const { t: w } = j(), [P] = v(), { setAppData: k, LockedIcon: B, disabled: D } = L(), O = U();
222
+ const { t: w } = j(), [P] = v(), { setAppData: B, LockedIcon: k, disabled: D } = L(), O = U();
223
223
  return /* @__PURE__ */ a(h, { className: u(!(e != null && e.isInstalled) && "rounded-xl"), children: [
224
224
  /* @__PURE__ */ l(
225
225
  h.Header,
@@ -248,10 +248,10 @@ function le({
248
248
  size: "sm",
249
249
  disabled: !e.enabled || D || f,
250
250
  onCheckedChange: (S) => {
251
- t && t(S), k("enabled", S);
251
+ t && t(S), B("enabled", S);
252
252
  },
253
253
  checked: n,
254
- LockedIcon: B,
254
+ LockedIcon: k,
255
255
  "data-testid": `${e.slug}-app-switch`,
256
256
  tooltip: d
257
257
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index--iR_feQQ.js";
2
+ import { A as p } from "./index-ZTlhgZJm.js";
3
3
  function s(o) {
4
4
  const t = `https://app.cal.com${o.logo}`;
5
5
  return /* @__PURE__ */ r(p, { ...o, logo: t });
@@ -1,5 +1,5 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
- import { X as i, x as y, Y as A, Z as R, A as $ } from "./index--iR_feQQ.js";
2
+ import { X as i, x as y, Y as A, Z as R, A as $ } from "./index-ZTlhgZJm.js";
3
3
  import { useMemo as Q, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
4
4
  i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
5
5
  i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { B as i, w as o } from "./index--iR_feQQ.js";
2
+ import { B as i, w as o } from "./index-ZTlhgZJm.js";
3
3
  function d({ template: t }) {
4
4
  return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
5
5
  /* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { w as r, f as u, B as i } from "./index--iR_feQQ.js";
3
+ import { w as r, f as u, B as i } from "./index-ZTlhgZJm.js";
4
4
  function d() {
5
5
  const { t: e } = r(), [s, n] = p("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as s } from "react";
3
- import { w as i, f as l, B as m } from "./index--iR_feQQ.js";
3
+ import { w as i, f as l, B as m } from "./index-ZTlhgZJm.js";
4
4
  function h() {
5
5
  const { t: a } = i(), n = "metric", [e, c] = s("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as c, Fragment as f } from "react/jsx-runtime";
2
- import { q as h, r as m, $ as y, s as d, B as g, t as n, u as k } from "./index--iR_feQQ.js";
2
+ import { q as h, r as m, $ as y, s as d, B as g, t as n, u as k } from "./index-ZTlhgZJm.js";
3
3
  function w({
4
4
  className: s,
5
5
  dates: t,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { x as d, W as i } from "./index--iR_feQQ.js";
3
- import { A as m } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { x as d, W as i } from "./index-ZTlhgZJm.js";
3
+ import { A as m } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as t, Fragment as u } from "react/jsx-runtime";
2
- import { w as A, x as y, y as g, z as b, W as f } from "./index--iR_feQQ.js";
2
+ import { w as A, x as y, y as g, z as b, W as f } from "./index-ZTlhgZJm.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard--JDiTUMU.js";
5
- import w from "./EventTypeAppSettingsInterface-EZZkJrLi.js";
4
+ import { A as v } from "./AppCard-UnBkV2QT.js";
5
+ import w from "./EventTypeAppSettingsInterface-UpTmiEej.js";
6
6
  const _ = function({
7
7
  eventType: o,
8
8
  app: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { x as v, w as T, y as _, G as t, W as q, J as L, f as V, S as x } from "./index--iR_feQQ.js";
2
+ import { x as v, w as T, y as _, G as t, W as q, J as L, f as V, S as x } from "./index-ZTlhgZJm.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard--JDiTUMU.js";
4
+ import { A as $ } from "./AppCard-UnBkV2QT.js";
5
5
  import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
6
  const z = function({ app: S, eventType: A }) {
7
7
  var f, h;
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { y as m, w as f } from "./index--iR_feQQ.js";
3
- import { A as l } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
- import A from "./EventTypeAppSettingsInterface-CPvfqJkx.js";
2
+ import { y as m, w as f } from "./index-ZTlhgZJm.js";
3
+ import { A as l } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import A from "./EventTypeAppSettingsInterface-L9xlb8NR.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var o;
8
8
  const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { y as d } from "./index--iR_feQQ.js";
3
- import { A as m } from "./AppCard--JDiTUMU.js";
4
- import { u as c } from "./useIsAppEnabled-C_9eRB94.js";
5
- import u from "./EventTypeAppSettingsInterface-J_c1VzIk.js";
2
+ import { y as d } from "./index-ZTlhgZJm.js";
3
+ import { A as m } from "./AppCard-UnBkV2QT.js";
4
+ import { u as c } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import u from "./EventTypeAppSettingsInterface-3MhYVxkM.js";
6
6
  const E = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { y as m, f as l } from "./index--iR_feQQ.js";
4
- import { A as f } from "./AppCard--JDiTUMU.js";
3
+ import { y as m, f as l } from "./index-ZTlhgZJm.js";
4
+ import { A as f } from "./AppCard-UnBkV2QT.js";
5
5
  const k = function({ app: p, eventType: i }) {
6
6
  var n;
7
7
  const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
- import { y as m, U as o } from "./index--iR_feQQ.js";
3
- import { A as u } from "./AppCard--JDiTUMU.js";
4
- import { u as h } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { y as m, U as o } from "./index-ZTlhgZJm.js";
3
+ import { A as u } from "./AppCard-UnBkV2QT.js";
4
+ import { u as h } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const E = function({ eventType: a, app: s }) {
6
6
  var n;
7
7
  const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
- import { x as i, w as g, y as f, z as b, W as S } from "./index--iR_feQQ.js";
2
+ import { x as i, w as g, y as f, z as b, W as S } from "./index-ZTlhgZJm.js";
3
3
  import { useMemo as v, useState as w } from "react";
4
- import { A as C } from "./AppCard--JDiTUMU.js";
5
- import E from "./EventTypeAppSettingsInterface-vNhCP6vQ.js";
4
+ import { A as C } from "./AppCard-UnBkV2QT.js";
5
+ import E from "./EventTypeAppSettingsInterface-yrvZgDxq.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { x as i, y as f, z as g, w as S, W as b } from "./index--iR_feQQ.js";
2
+ import { x as i, y as f, z as g, w as S, W as b } from "./index-ZTlhgZJm.js";
3
3
  import { useMemo as v, useState as w } from "react";
4
- import { A as C } from "./AppCard--JDiTUMU.js";
5
- import E from "./EventTypeAppSettingsInterface-mOdk6pDR.js";
4
+ import { A as C } from "./AppCard-UnBkV2QT.js";
5
+ import E from "./EventTypeAppSettingsInterface-XQsGNWJq.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { x as d, W as i } from "./index--iR_feQQ.js";
3
- import { A as m } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { x as d, W as i } from "./index-ZTlhgZJm.js";
3
+ import { A as m } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { w as b, x as f, y, z as E, W as P } from "./index--iR_feQQ.js";
2
+ import { w as b, x as f, y, z as E, W as P } from "./index-ZTlhgZJm.js";
3
3
  import { useState as w } from "react";
4
- import { A as C } from "./AppCard--JDiTUMU.js";
5
- import { u as g } from "./useIsAppEnabled-C_9eRB94.js";
6
- import v from "./EventTypeAppSettingsInterface-JBpWa3pz.js";
4
+ import { A as C } from "./AppCard-UnBkV2QT.js";
5
+ import { u as g } from "./useIsAppEnabled-kSS-8pZp.js";
6
+ import v from "./EventTypeAppSettingsInterface-Ld18-sOn.js";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: t,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { y as h, f as n } from "./index--iR_feQQ.js";
3
- import { A as I } from "./AppCard--JDiTUMU.js";
4
- import { u as C } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { y as h, f as n } from "./index-ZTlhgZJm.js";
3
+ import { A as I } from "./AppCard-UnBkV2QT.js";
4
+ import { u as C } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const R = function({ app: s, eventType: o }) {
6
6
  var i;
7
7
  const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
- import { y as m, f as p } from "./index--iR_feQQ.js";
3
- import { A } from "./AppCard--JDiTUMU.js";
4
- import { u as I } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { y as m, f as p } from "./index-ZTlhgZJm.js";
3
+ import { A } from "./AppCard-UnBkV2QT.js";
4
+ import { u as I } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const x = function({ app: a, eventType: s }) {
6
6
  var i;
7
7
  const { getAppData: r, setAppData: n, disabled: o } = m(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = I(a);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { y as m } from "./index--iR_feQQ.js";
3
- import { A as c } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
- import l from "./EventTypeAppSettingsInterface-LIn3bMv4.js";
2
+ import { y as m } from "./index-ZTlhgZJm.js";
3
+ import { A as c } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import l from "./EventTypeAppSettingsInterface-3kl4RpMT.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { y as m } from "./index--iR_feQQ.js";
3
- import { A as c } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
- import l from "./EventTypeAppSettingsInterface-7e1qbHi8.js";
2
+ import { y as m } from "./index-ZTlhgZJm.js";
3
+ import { A as c } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import l from "./EventTypeAppSettingsInterface-phZiaYXT.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { y as m } from "./index--iR_feQQ.js";
3
- import { A as c } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
- import l from "./EventTypeAppSettingsInterface-cbkdr04f.js";
2
+ import { y as m } from "./index-ZTlhgZJm.js";
3
+ import { A as c } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import l from "./EventTypeAppSettingsInterface-pdQn6Kfx.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { y as m } from "./index--iR_feQQ.js";
3
- import { A as c } from "./AppCard--JDiTUMU.js";
4
- import { u as l } from "./useIsAppEnabled-C_9eRB94.js";
5
- import u from "./EventTypeAppSettingsInterface-eejB8RJX.js";
2
+ import { y as m } from "./index-ZTlhgZJm.js";
3
+ import { A as c } from "./AppCard-UnBkV2QT.js";
4
+ import { u as l } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import u from "./EventTypeAppSettingsInterface-jPvK2jsX.js";
6
6
  const g = function({ eventType: e, app: t }) {
7
7
  var p;
8
8
  const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
@@ -1,8 +1,8 @@
1
1
  import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
- import { w as ae, a1 as h, a2 as $, a3 as J, p, I as b, S as f, B as F, a4 as D, x as te, y as ce, a5 as m, W as se, L as q, a6 as re, J as de } from "./index--iR_feQQ.js";
2
+ import { w as ae, a1 as h, a2 as $, a3 as J, p, I as b, S as f, B as F, a4 as D, x as te, y as ce, a5 as m, W as se, L as q, a6 as re, J as de } from "./index-ZTlhgZJm.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard--JDiTUMU.js";
5
- import { u as he } from "./useIsAppEnabled-C_9eRB94.js";
4
+ import { S as c, A as ue } from "./AppCard-UnBkV2QT.js";
5
+ import { u as he } from "./useIsAppEnabled-kSS-8pZp.js";
6
6
  var Q = /* @__PURE__ */ ((x) => (x.ON_BOOKING = "on_booking", x.ON_CANCEL = "on_cancel", x))(Q || {});
7
7
  const le = ({
8
8
  bookingAction: x,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { x as d, W as i } from "./index--iR_feQQ.js";
3
- import { A as m } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { x as d, W as i } from "./index-ZTlhgZJm.js";
3
+ import { A as m } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { y as h, f as n } from "./index--iR_feQQ.js";
3
- import { A } from "./AppCard--JDiTUMU.js";
4
- import { u as I } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { y as h, f as n } from "./index-ZTlhgZJm.js";
3
+ import { A } from "./AppCard-UnBkV2QT.js";
4
+ import { u as I } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const E = function({ app: t, eventType: i }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { y as d } from "./index--iR_feQQ.js";
3
- import { A as c } from "./AppCard--JDiTUMU.js";
4
- import { u as m } from "./useIsAppEnabled-C_9eRB94.js";
5
- import l from "./EventTypeAppSettingsInterface-CLwwrZv6.js";
2
+ import { y as d } from "./index-ZTlhgZJm.js";
3
+ import { A as c } from "./AppCard-UnBkV2QT.js";
4
+ import { u as m } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import l from "./EventTypeAppSettingsInterface-x4ZemVo7.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { y as l, f as m } from "./index--iR_feQQ.js";
3
- import { A as u } from "./AppCard--JDiTUMU.js";
4
- import { u as I } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { y as l, f as m } from "./index-ZTlhgZJm.js";
3
+ import { A as u } from "./AppCard-UnBkV2QT.js";
4
+ import { u as I } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const D = function({ app: t, eventType: n }) {
6
6
  var a;
7
7
  const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { y as l, f as m } from "./index--iR_feQQ.js";
3
- import { A as u } from "./AppCard--JDiTUMU.js";
4
- import { u as h } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { y as l, f as m } from "./index-ZTlhgZJm.js";
3
+ import { A as u } from "./AppCard-UnBkV2QT.js";
4
+ import { u as h } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const D = function({ app: a, eventType: d }) {
6
6
  var s;
7
7
  const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { x as d, W as i } from "./index--iR_feQQ.js";
3
- import { A as m } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
2
+ import { x as d, W as i } from "./index-ZTlhgZJm.js";
3
+ import { A as m } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { y as m } from "./index--iR_feQQ.js";
3
- import { A as c } from "./AppCard--JDiTUMU.js";
4
- import { u } from "./useIsAppEnabled-C_9eRB94.js";
5
- import l from "./EventTypeAppSettingsInterface-K4kVWoog.js";
2
+ import { y as m } from "./index-ZTlhgZJm.js";
3
+ import { A as c } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ import l from "./EventTypeAppSettingsInterface-L2pesx9r.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { x as d, W as i } from "./index-ZTlhgZJm.js";
3
+ import { A as m } from "./AppCard-UnBkV2QT.js";
4
+ import { u } from "./useIsAppEnabled-kSS-8pZp.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { w as b, x as f, y, z as E, W as w } from "./index--iR_feQQ.js";
2
+ import { w as b, x as f, y, z as E, W as w } from "./index-ZTlhgZJm.js";
3
3
  import { useState as C } from "react";
4
- import { A as P } from "./AppCard--JDiTUMU.js";
5
- import { u as g } from "./useIsAppEnabled-C_9eRB94.js";
6
- import v from "./EventTypeAppSettingsInterface-xYWyd_Dz.js";
4
+ import { A as P } from "./AppCard-UnBkV2QT.js";
5
+ import { u as g } from "./useIsAppEnabled-kSS-8pZp.js";
6
+ import v from "./EventTypeAppSettingsInterface-vBrvSwct.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index--iR_feQQ.js";
2
+ import { f as o } from "./index-ZTlhgZJm.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index--iR_feQQ.js";
2
+ import { f as s } from "./index-ZTlhgZJm.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index--iR_feQQ.js";
2
+ import { f as c } from "./index-ZTlhgZJm.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
- import { w as I, ad as M, ae as j, e as T, B as g, r as k, J as A, af as E, ag as B, U as R } from "./index--iR_feQQ.js";
3
+ import { w as I, ae as M, af as j, e as T, B as g, r as k, J as A, ag as E, ah as B, U as R } from "./index-ZTlhgZJm.js";
4
4
  const y = "search", C = "url", z = (s) => {
5
- const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, f] = d(""), [x, _] = d(y), w = async (n, h) => {
5
+ const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [x, _] = d(y), w = async (n, f) => {
6
6
  if (u)
7
7
  return;
8
- b(!0), f("");
8
+ b(!0), h("");
9
9
  const t = await fetch("/api/integrations/giphy/search", {
10
10
  method: "POST",
11
11
  headers: {
@@ -13,16 +13,16 @@ const y = "search", C = "url", z = (s) => {
13
13
  },
14
14
  body: JSON.stringify({
15
15
  keyword: n,
16
- offset: h
16
+ offset: f
17
17
  })
18
18
  }), r = await t.json();
19
- return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || f("No Result found")) : f((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
19
+ return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || h("No Result found")) : h((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
20
20
  }, G = async (n) => {
21
21
  var r;
22
22
  if (u)
23
23
  return;
24
- b(!0), f("");
25
- const h = await fetch("/api/integrations/giphy/get", {
24
+ b(!0), h("");
25
+ const f = await fetch("/api/integrations/giphy/get", {
26
26
  method: "POST",
27
27
  headers: {
28
28
  "Content-Type": "application/json"
@@ -30,9 +30,9 @@ const y = "search", C = "url", z = (s) => {
30
30
  body: JSON.stringify({
31
31
  url: n
32
32
  })
33
- }), t = await h.json();
34
- return h.ok ? (l(t.image || ""), t.image || f("No Result found")) : f((t == null ? void 0 : t.message) || ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
35
- }, S = (n, h, t) => /* @__PURE__ */ o(
33
+ }), t = await f.json();
34
+ return f.ok ? (l(t.image || ""), t.image || h("No Result found")) : h((t == null ? void 0 : t.message) || ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
35
+ }, S = (n, f, t) => /* @__PURE__ */ o(
36
36
  "div",
37
37
  {
38
38
  className: k(
@@ -44,7 +44,7 @@ const y = "search", C = "url", z = (s) => {
44
44
  },
45
45
  children: [
46
46
  /* @__PURE__ */ e(R, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
47
- h
47
+ f
48
48
  ]
49
49
  }
50
50
  ), P = async (n) => {