your-ai-workflow-firebase-os 2.0.8 → 2.0.9

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 (139) hide show
  1. package/dist/{Assets-Dd_96avv.js → Assets-COH4Ji57.js} +5 -5
  2. package/dist/{Assets-CBBNIHrw.cjs → Assets-D7fDckSi.cjs} +1 -1
  3. package/dist/{Attachments-C6QrTcNt.cjs → Attachments-BMuQ0CD4.cjs} +1 -1
  4. package/dist/{Attachments-YyjQmhBx.js → Attachments-Co1UkdWB.js} +2 -2
  5. package/dist/{Billing-B6f49cGH.cjs → Billing-DkuJdls5.cjs} +1 -1
  6. package/dist/{Billing-BZafAizg.js → Billing-kk4ZMd3z.js} +4 -4
  7. package/dist/{BookingCalendar-DYsA71vl.cjs → BookingCalendar-BcvJiyaq.cjs} +1 -1
  8. package/dist/{BookingCalendar-_xoRa2tL.js → BookingCalendar-Bej__mIs.js} +1 -1
  9. package/dist/{Button-DSldWACF.js → Button-BGN6q7lY.js} +1 -1
  10. package/dist/{Button-PyTaaoyu.cjs → Button-Ccy4wFZ1.cjs} +1 -1
  11. package/dist/{ConfirmModal-CQ73WYUg.cjs → ConfirmModal-BUNtss4a.cjs} +1 -1
  12. package/dist/{ConfirmModal-C1dM-bzk.js → ConfirmModal-BW9e6Y7d.js} +3 -3
  13. package/dist/{ContactPopup-D5Hh0bfE.cjs → ContactPopup-D8aSSlmS.cjs} +1 -1
  14. package/dist/{ContactPopup-CL4AMwK9.js → ContactPopup-Fs7wzrOX.js} +7 -7
  15. package/dist/{CopyLink-BnYpVy6H.cjs → CopyLink-C5lKLyOU.cjs} +1 -1
  16. package/dist/{CopyLink-rLr_5eNM.js → CopyLink-CNjDLzOl.js} +2 -2
  17. package/dist/{DashboardNav-B0G943ux.js → DashboardNav-CEd8gGPm.js} +3 -3
  18. package/dist/{DashboardNav-DOl9gJuu.cjs → DashboardNav-GgEUpyTa.cjs} +1 -1
  19. package/dist/{EmailAdmin-CWHMMybh.cjs → EmailAdmin-d_gWd48U.cjs} +1 -1
  20. package/dist/{EmailAdmin-humrSTzI.js → EmailAdmin-pbQ-f9Ge.js} +9 -9
  21. package/dist/{EventCard-CrPswwyG.js → EventCard-BSGLYD64.js} +2 -2
  22. package/dist/{EventCard-6eCfvOA-.cjs → EventCard-DAsGsicK.cjs} +1 -1
  23. package/dist/{FileViewerPopup-DQmhXMSg.cjs → FileViewerPopup-CkLUYCNo.cjs} +1 -1
  24. package/dist/{FileViewerPopup-Dnl3td2o.js → FileViewerPopup-gqhRT22v.js} +2 -2
  25. package/dist/{FormNote-BWGLs9lx.js → FormNote-DJ9HBokL.js} +1 -1
  26. package/dist/{FormNote-CX2rSBDB.cjs → FormNote-DP0GK9ya.cjs} +1 -1
  27. package/dist/{FormsAdmin-Tg20B0iA.cjs → FormsAdmin-5KTTp6zo.cjs} +1 -1
  28. package/dist/{FormsAdmin-CHwmKnYU.js → FormsAdmin-BNI63vEk.js} +9 -9
  29. package/dist/{Inbox-Cgq4MALU.js → Inbox-D9Y5K8Se.js} +9 -9
  30. package/dist/{Inbox-BPwIiThg.cjs → Inbox-DjslBakx.cjs} +1 -1
  31. package/dist/{Loader-DP_dL5qC.js → Loader-CVoz1Zf0.js} +1 -1
  32. package/dist/{Loader-p3eNQDUU.cjs → Loader-QHqQsXLr.cjs} +1 -1
  33. package/dist/{ManagePlanButton-BRW7Sevd.cjs → ManagePlanButton-Buwfs2bU.cjs} +1 -1
  34. package/dist/{ManagePlanButton-CNLCxK-o.js → ManagePlanButton-CE4uyh_7.js} +2 -2
  35. package/dist/{MyBookings-C_pqsSEk.js → MyBookings-B4DndHV6.js} +7 -7
  36. package/dist/{MyBookings-BC5sn_fE.cjs → MyBookings-CkEioQIj.cjs} +1 -1
  37. package/dist/{PageTitle-DFGW71q8.js → PageTitle-DCoUQWw6.js} +2 -2
  38. package/dist/{PageTitle-BWmE74WQ.cjs → PageTitle-DQkvCB11.cjs} +1 -1
  39. package/dist/PagesAdmin-D0qgoZtW.js +3 -0
  40. package/dist/{PagesAdmin-jjnDLYmF.js → PagesAdmin-DzLJWKBJ.js} +21 -21
  41. package/dist/PagesAdmin-KUxCI1Mr.cjs +1 -0
  42. package/dist/{PagesAdmin-BZZ3by92.cjs → PagesAdmin-YdYgmuEB.cjs} +1 -1
  43. package/dist/{PaymentsAdmin-CI0zXraR.cjs → PaymentsAdmin-B5l-f0mp.cjs} +1 -1
  44. package/dist/{PaymentsAdmin-DeBMmFFo.js → PaymentsAdmin-C3cEOeIs.js} +15 -15
  45. package/dist/{Popup-DmPEk98h.js → Popup-Bi63lzoS.js} +1 -1
  46. package/dist/{Popup-nq7YNM4N.cjs → Popup-COnHpbrY.cjs} +1 -1
  47. package/dist/{ProviderMark-DJ5mYjYn.cjs → ProviderMark--adeeajP.cjs} +1 -1
  48. package/dist/{ProviderMark-CAeOnBsB.js → ProviderMark-BvEMlZAm.js} +1 -1
  49. package/dist/{PublishApp-mMMwf_in.js → PublishApp-B9Fo6xN0.js} +7 -7
  50. package/dist/{PublishApp-DI96gX9b.cjs → PublishApp-Bc82Ijkq.cjs} +1 -1
  51. package/dist/{Said-DAD7Ctp_.js → Said-BvSRaEfZ.js} +1 -1
  52. package/dist/{Said-DlJOjNMN.cjs → Said-W3KFi5uX.cjs} +1 -1
  53. package/dist/{ScheduleAdmin-dWj_N_tf.cjs → ScheduleAdmin-Dh_hW6p4.cjs} +1 -1
  54. package/dist/{ScheduleAdmin-C4W8Ls0D.js → ScheduleAdmin-bk3GgxKP.js} +14 -14
  55. package/dist/{SchedulePicker-CwKId9JF.cjs → SchedulePicker-CN0755Ek.cjs} +1 -1
  56. package/dist/{SchedulePicker-BOSJEcfL.js → SchedulePicker-DO4PewPJ.js} +2 -2
  57. package/dist/{Setup-DcZzh6Xd.cjs → Setup-R4r6_tbV.cjs} +1 -1
  58. package/dist/{Setup-NOvtplUS.js → Setup-_G-s5y5Q.js} +3 -3
  59. package/dist/{SetupPayments-DrXK0LQa.js → SetupPayments-CkolcOtv.js} +5 -5
  60. package/dist/{SetupPayments-CZ0KqXdR.cjs → SetupPayments-CuFk9REC.cjs} +1 -1
  61. package/dist/{SignInAdmin-CwIUAJrv.cjs → SignInAdmin-B1yLLaQu.cjs} +1 -1
  62. package/dist/{SignInAdmin-Cb65ChHL.js → SignInAdmin-BLEn0rId.js} +9 -9
  63. package/dist/{SupportBar-528kXe-Z.js → SupportBar-DI_XbEsG.js} +4 -4
  64. package/dist/{SupportBar-CNVXSYwT.cjs → SupportBar-DLWruzQb.cjs} +1 -1
  65. package/dist/{SystemTabContent-EegzTuLd.cjs → SystemTabContent-BWhRHoXx.cjs} +1 -1
  66. package/dist/{SystemTabContent-C4azXKMs.js → SystemTabContent-CMyT7mDN.js} +2 -2
  67. package/dist/{TemplateDrive-XDRPkxIj.cjs → TemplateDrive-BJN-ReA_.cjs} +1 -1
  68. package/dist/{TemplateDrive-CfPXKMKX.js → TemplateDrive-DNBwL0oy.js} +10 -10
  69. package/dist/{ThemeAdmin-XLbC9fX7.js → ThemeAdmin-Cnqefrz6.js} +6 -6
  70. package/dist/ThemeAdmin-CoE_c5-P.cjs +1 -0
  71. package/dist/ThemeAdmin-DI7QaZ-0.js +2 -0
  72. package/dist/{ThemeAdmin-BrEozdpZ.cjs → ThemeAdmin-DkgmjW3g.cjs} +1 -1
  73. package/dist/TimeZoneField-Ckn1pKAL.cjs +11 -0
  74. package/dist/{TimeZoneField-Dv389mAe.js → TimeZoneField-oIMwb5_X.js} +119 -107
  75. package/dist/{TransactionsAdmin-X-NjI4NB.js → TransactionsAdmin-Brs-CEcG.js} +11 -11
  76. package/dist/{TransactionsAdmin-DgsG629u.cjs → TransactionsAdmin-C5wQRR1g.cjs} +1 -1
  77. package/dist/{Trouble-qjWYeKzC.js → Trouble-CtFq7tjk.js} +1 -1
  78. package/dist/{Trouble-DokPNHQZ.cjs → Trouble-KQZyf6aY.cjs} +1 -1
  79. package/dist/{Users-BEjl_Vjc.cjs → Users-B16L9cKI.cjs} +1 -1
  80. package/dist/{Users-BUGb7-Kz.js → Users-CbI4K_Le.js} +15 -15
  81. package/dist/{VideoPlayer-BVOkrJBR.cjs → VideoPlayer-CggwpVXH.cjs} +1 -1
  82. package/dist/{VideoPlayer-DB0oz6lM.js → VideoPlayer-QI1Jc3bS.js} +1 -1
  83. package/dist/appIcons-C90OKlV5.cjs +130 -0
  84. package/dist/{appIcons-CUXAX_gJ.js → appIcons-CCArfCDe.js} +761 -735
  85. package/dist/{arrivalRoads-BZk39p8Z.js → arrivalRoads-CGXm9Ntm.js} +0 -0
  86. package/dist/{arrivalRoads-CD7pt03E.cjs → arrivalRoads-Cc6AZM-d.cjs} +0 -0
  87. package/dist/{bookingPages-BxqkyZ-M.js → bookingPages-BFSY3Riv.js} +1 -1
  88. package/dist/{bookingPages-2fn9xPiA.cjs → bookingPages-Dx1ViiwW.cjs} +1 -1
  89. package/dist/{contentFallback-C6xLwXTs.js → contentFallback-BGGpI1Ts.js} +2 -2
  90. package/dist/{contentFallback-DLm_iHo9.cjs → contentFallback-DVCrIUvK.cjs} +1 -1
  91. package/dist/{email-DxxovRtf.js → email-PBHbXXgR.js} +1 -1
  92. package/dist/{email-DD48BP42.cjs → email-Sya6gl4F.cjs} +1 -1
  93. package/dist/lib/basket.d.ts +29 -9
  94. package/dist/lib/recordPrice.d.ts +1 -1
  95. package/dist/{notices-Cwon5Q0Y.cjs → notices-CKm9-Pqt.cjs} +1 -1
  96. package/dist/{notices-C4yqYzBw.js → notices-CysS7BLF.js} +1 -1
  97. package/dist/{ownerMail-CGmDk7aP.cjs → ownerMail-BS9SjJ2u.cjs} +1 -1
  98. package/dist/{ownerMail-Chzy5Ehy.js → ownerMail-DepG5-Qw.js} +2 -2
  99. package/dist/{pageFiles-BClshvXs.cjs → pageFiles-Cn0YQ4Ur.cjs} +1 -1
  100. package/dist/{pageFiles-D-GYqRgZ.js → pageFiles-ZFPSCDZz.js} +1 -1
  101. package/dist/{paidInFull-KuStok9_.cjs → paidInFull-CZywIs-V.cjs} +1 -1
  102. package/dist/{paidInFull-D14Eh0QV.js → paidInFull-mBOh9iwN.js} +1 -1
  103. package/dist/{paidSessions-Cr_93LGa.js → paidSessions-B8e5RHi4.js} +7 -7
  104. package/dist/{paidSessions-QXv7SHeb.cjs → paidSessions-D-zHC4oG.cjs} +1 -1
  105. package/dist/{people-D8nPPMlM.cjs → people-BwWVVLfy.cjs} +1 -1
  106. package/dist/{people-sk2DcHPi.js → people-Wk2opW4G.js} +1 -1
  107. package/dist/{publishSteps-DB1Hxr6H.js → publishSteps-Cf5pSB_H.js} +1 -1
  108. package/dist/{publishSteps-CaZRpC3C.cjs → publishSteps-DvWlF0p_.cjs} +1 -1
  109. package/dist/{recordLock-Dnz61J-_.js → recordLock-CMOiezNC.js} +1 -1
  110. package/dist/{recordLock-CLUp3QNh.cjs → recordLock-CiulizO1.cjs} +1 -1
  111. package/dist/{recordsKey-R5BjLoGQ.cjs → recordsKey-C4E2vOti.cjs} +1 -1
  112. package/dist/{recordsKey-DHJJWWOo.js → recordsKey-Cd216nq1.js} +2 -2
  113. package/dist/{registrationFields-COv8jW4n.cjs → registrationFields-DHHTptcl.cjs} +1 -1
  114. package/dist/{registrationFields-CeTZSerx.js → registrationFields-DdHoMPAQ.js} +1 -1
  115. package/dist/renderer.cjs.js +1 -1
  116. package/dist/renderer.es.js +1 -1
  117. package/dist/{roles-5juCr5sY.cjs → roles-BBDIJzox.cjs} +1 -1
  118. package/dist/{roles-hzcMnn_M.js → roles-DiwP6-WQ.js} +3 -3
  119. package/dist/{scheduleData-BpkfnBjP.cjs → scheduleData-BXjNXVHY.cjs} +1 -1
  120. package/dist/{scheduleData-BLCUm84s.js → scheduleData-DR6A-Q7Z.js} +1 -1
  121. package/dist/server.cjs.js +1 -1
  122. package/dist/server.es.js +1 -1
  123. package/dist/{serviceStatus-5sk8MPjW.js → serviceStatus-C9izcuQz.js} +2 -2
  124. package/dist/{serviceStatus-1pGLLilF.cjs → serviceStatus-Cde96_OO.cjs} +1 -1
  125. package/dist/{serviceSwitches-BWnZBooS.js → serviceSwitches-CZHwvVfP.js} +1 -1
  126. package/dist/{serviceSwitches-Do_pkFCu.cjs → serviceSwitches-mhJbQBrV.cjs} +1 -1
  127. package/dist/vite.cjs.js +1 -1
  128. package/dist/vite.es.js +1 -1
  129. package/dist/your-ai-workflow-firebase-os.cjs.js +8 -8
  130. package/dist/your-ai-workflow-firebase-os.css +1 -1
  131. package/dist/your-ai-workflow-firebase-os.es.js +358 -316
  132. package/package.json +1 -1
  133. package/src/index.css +41 -6
  134. package/dist/PagesAdmin-B-XopEi9.js +0 -3
  135. package/dist/PagesAdmin-nL5ZltFn.cjs +0 -1
  136. package/dist/ThemeAdmin-CwCiTp2I.js +0 -2
  137. package/dist/ThemeAdmin-Db5edTYj.cjs +0 -1
  138. package/dist/TimeZoneField-zR8N2Fj0.cjs +0 -11
  139. package/dist/appIcons-BNovDw6_.cjs +0 -130
@@ -9889,35 +9889,35 @@ function Hx(e, t, n) {
9889
9889
  }
9890
9890
  //#endregion
9891
9891
  //#region src/components/media/Picture.tsx
9892
- var Ux = 260, Wx = {
9892
+ var Ux = 260, Wx = 150, Gx = {
9893
9893
  width: "fit-content",
9894
9894
  height: "auto"
9895
- }, Gx = {
9895
+ }, Kx = {
9896
9896
  display: "block",
9897
9897
  visibility: "hidden",
9898
9898
  width: "auto",
9899
9899
  height: "auto",
9900
9900
  maxWidth: "100%",
9901
9901
  maxHeight: "inherit"
9902
- }, Kx = (e) => !!e && e.complete && e.naturalWidth > 0, qx = (e) => {
9902
+ }, qx = (e) => !!e && e.complete && e.naturalWidth > 0, Jx = (e) => {
9903
9903
  let t = hx(e);
9904
9904
  return !t || /^pub_files\/[^/]+$/.test(t) ? !1 : /^(?:[a-z0-9_]*_files|pub_form_uploads)\//.test(t);
9905
- }, Jx = (e) => /(^|\s)(?:inset-0|size-full)(\s|$)/.test(e) || /(^|\s)h-full(\s|$)/.test(e) && /(^|\s)w-full(\s|$)/.test(e), Yx = (e) => {
9905
+ }, Yx = (e) => /(^|\s)(?:inset-0|size-full)(\s|$)/.test(e) || /(^|\s)h-full(\s|$)/.test(e) && /(^|\s)w-full(\s|$)/.test(e), Xx = (e) => {
9906
9906
  let t = (typeof getComputedStyle == "function" ? getComputedStyle(e).aspectRatio : "") || "", n = /([\d.]+)\s*(?:\/\s*([\d.]+))?\s*$/.exec(t);
9907
9907
  if (!n) return 0;
9908
9908
  let r = Number(n[1]), i = n[2] ? Number(n[2]) : 1;
9909
9909
  return r > 0 && i > 0 ? r / i : 0;
9910
- }, Xx = (e, t, n) => {
9911
- if (n && Yx(e)) return e;
9912
- let r = !n || Jx(t);
9910
+ }, Zx = (e, t, n) => {
9911
+ if (n && Xx(e)) return e;
9912
+ let r = !n || Yx(t);
9913
9913
  for (let t = e, i = 0; r && i < 3; i++) {
9914
9914
  let i = t.parentElement;
9915
9915
  if (!i || !n && t === e && i.childElementCount !== 1) return null;
9916
- if (Yx(i)) return i;
9917
- t = i, r = Jx(typeof i.className == "string" ? i.className : "");
9916
+ if (Xx(i)) return i;
9917
+ t = i, r = Yx(typeof i.className == "string" ? i.className : "");
9918
9918
  }
9919
9919
  return null;
9920
- }, Zx = (e) => {
9920
+ }, Qx = (e) => {
9921
9921
  let t = e.getBoundingClientRect(), n = /* @__PURE__ */ new Set();
9922
9922
  for (let r of e.querySelectorAll("*")) {
9923
9923
  if (r.closest("[data-picture]")) continue;
@@ -9925,7 +9925,7 @@ var Ux = 260, Wx = {
9925
9925
  !e.width || !e.height || (e.top < t.top - 1 || e.bottom > t.bottom + 1 || e.left < t.left - 1 || e.right > t.right + 1) && n.add(r);
9926
9926
  }
9927
9927
  return n;
9928
- }, Qx = (e) => {
9928
+ }, $x = (e) => {
9929
9929
  let t = e.getBoundingClientRect();
9930
9930
  if (!t.height) return 0;
9931
9931
  let n = 0;
@@ -9935,30 +9935,32 @@ var Ux = 260, Wx = {
9935
9935
  !e.width || !e.height || e.width >= t.width - 2 && e.height >= t.height - 2 || (n = Math.max(n, e.height));
9936
9936
  }
9937
9937
  return n / t.height;
9938
- }, $x = (e) => {
9938
+ }, eS = (e) => {
9939
9939
  let t = e.parentElement;
9940
9940
  if (!t || typeof getComputedStyle != "function") return !1;
9941
9941
  let n = getComputedStyle(t);
9942
9942
  return !/flex/.test(n.display) || /column/.test(n.flexDirection) ? !1 : [...t.children].some((t) => t !== e && !!t.textContent?.trim());
9943
- }, eS = 120, tS = .8;
9944
- function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, ratio: o, className: c = "", imgClassName: l = "", fit: u = "cover", priority: d = !1, preload: f, tint: p, onClick: m, draggable: h, fallback: g, onError: _ }) {
9943
+ }, tS = 120, nS = .8;
9944
+ function rS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, ratio: o, className: c = "", imgClassName: l = "", fit: u = "cover", priority: d = !1, preload: f, tint: p, onClick: m, draggable: h, fallback: g, onError: _ }) {
9945
9945
  let v = L(null), y = L(null), [b, x] = R(null), [S, C] = R(""), [w, T] = R(""), [ee, te] = R(!1), ne = M(wv), [E, re] = R(!1), D = L(null), O = (e, t) => !e || !t ? "" : t === "full" ? e : t === "sm" && n ? n : t === "md" && r ? r : Ox(e, t), k = typeof e != "string" || !e.trim(), [A, ie] = R(() => ({
9946
9946
  src: e,
9947
9947
  rung: null,
9948
9948
  link: "",
9949
9949
  ready: !1,
9950
9950
  under: "",
9951
+ switched: !1,
9951
9952
  failed: k,
9952
9953
  covered: !1
9953
9954
  })), j = !E && !A.under && !A.covered && !A.failed && !ne && !d;
9954
9955
  if (A.src !== e || A.rung !== b) {
9955
- let t = O(e, b), n = !!t && ux(t);
9956
+ let t = O(e, b), n = !!t && ux(t), r = k || n ? "" : A.ready && !A.failed && !j ? A.link : A.under;
9956
9957
  ie({
9957
9958
  src: e,
9958
9959
  rung: b,
9959
9960
  link: t,
9960
9961
  ready: n,
9961
- under: k || n ? "" : A.ready && !A.failed && !j ? A.link : A.under,
9962
+ under: r,
9963
+ switched: !!r && (A.src !== e || A.switched),
9962
9964
  failed: k,
9963
9965
  covered: n
9964
9966
  });
@@ -10070,24 +10072,24 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10070
10072
  } : void 0) || (hx(e) ? void 0 : H), be = o || (H ? H.width / H.height : 0), xe = ye || (be ? {
10071
10073
  width: 2e3,
10072
10074
  height: Math.round(2e3 / be)
10073
- } : void 0), Se = ae && !I && (!F || w === c) && !!xe, Ce = P(), we = qx(e), Te = H ? H.width / H.height : o || 0;
10075
+ } : void 0), Se = ae && !I && (!F || w === c) && !!xe, Ce = P(), we = Jx(e), Te = H ? H.width / H.height : o || 0;
10074
10076
  se(() => {
10075
10077
  let e = v.current;
10076
10078
  if (!e || !we || !Te || /(^|\s)rounded-full(\s|$)/.test(c) || e.closest("[data-fbos-own]")) return;
10077
- let t = Xx(e, c, he);
10078
- if (!t || t.dataset.fbosWhole && t.dataset.fbosWhole !== Ce || Math.abs(Yx(t) / Te - 1) < .03) return;
10079
+ let t = Zx(e, c, he);
10080
+ if (!t || t.dataset.fbosWhole && t.dataset.fbosWhole !== Ce || Math.abs(Xx(t) / Te - 1) < .03) return;
10079
10081
  let n = t.getBoundingClientRect();
10080
- if (n.width < eS || $x(t)) return;
10082
+ if (n.width < tS || eS(t)) return;
10081
10083
  if (t !== e) {
10082
10084
  let t = e.getBoundingClientRect();
10083
10085
  if (Math.abs(t.width - n.width) > 2 || Math.abs(t.height - n.height) > 2) return;
10084
10086
  }
10085
10087
  let r = typeof window > "u" ? 0 : window.innerHeight;
10086
- if (r && n.width / Te > Math.max(r * tS, n.height)) return;
10087
- let i = t.style.aspectRatio, a = Zx(t), o = Qx(t);
10088
+ if (r && n.width / Te > Math.max(r * nS, n.height)) return;
10089
+ let i = t.style.aspectRatio, a = Qx(t), o = $x(t);
10088
10090
  t.style.aspectRatio = H ? `${H.width} / ${H.height}` : String(Te);
10089
- let s = t.style.aspectRatio, l = Qx(t);
10090
- if (Math.abs(t.getBoundingClientRect().width - n.width) > 1 || [...Zx(t)].some((e) => !a.has(e)) || l > .5 && l > o) {
10091
+ let s = t.style.aspectRatio, l = $x(t);
10092
+ if (Math.abs(t.getBoundingClientRect().width - n.width) > 1 || [...Qx(t)].some((e) => !a.has(e)) || l > .5 && l > o) {
10091
10093
  t.style.aspectRatio = i;
10092
10094
  return;
10093
10095
  }
@@ -10125,7 +10127,13 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10125
10127
  } : e);
10126
10128
  }, a = n.decode?.();
10127
10129
  a && typeof a.then == "function" ? a.then(i, i) : i();
10128
- }, je = ge || he ? "" : A.under || A.link, Me = A.failed, Ne = !A.covered && !Me && !A.under, Pe = Ne && !!V.link && V.key === fe, Fe = A.ready && !j, Ie = Fe && (u === "contain" || !!A.under);
10130
+ }, je = ge || he ? "" : A.under || A.link, Me = A.failed, Ne = !A.covered && !Me && !A.under, Pe = Ne && !!V.link && V.key === fe, Fe = A.ready && !j, Ie = Fe && (u === "contain" || !!A.under), Le = A.switched && !!A.under && !A.ready && !Me, [Re, ze] = R("");
10131
+ N(() => {
10132
+ if (!Le) return;
10133
+ let e = A.src, t = setTimeout(() => ze(e), Wx);
10134
+ return () => clearTimeout(t);
10135
+ }, [Le, A.src]);
10136
+ let Be = Le && Re === A.src;
10129
10137
  N(() => {
10130
10138
  let e = v.current;
10131
10139
  if (!j || !e) return;
@@ -10134,11 +10142,11 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10134
10142
  t.leave(), D.current === t && (D.current = null);
10135
10143
  };
10136
10144
  }, [j]);
10137
- let Le = j && !Me && (A.ready || Pe && V.ready);
10145
+ let Ve = j && !Me && (A.ready || Pe && V.ready);
10138
10146
  N(() => {
10139
- Le && D.current?.landed();
10140
- }, [Le]);
10141
- let Re = oe((e) => {
10147
+ Ve && D.current?.landed();
10148
+ }, [Ve]);
10149
+ let He = oe((e) => {
10142
10150
  ie((t) => t.link === e && t.ready && !t.covered ? {
10143
10151
  ...t,
10144
10152
  covered: !0,
@@ -10147,23 +10155,23 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10147
10155
  }, []);
10148
10156
  N(() => {
10149
10157
  if (!Fe || A.covered) return;
10150
- let e = A.link, t = setTimeout(() => Re(e), Ux + 90);
10158
+ let e = A.link, t = setTimeout(() => He(e), Ux + 90);
10151
10159
  return () => clearTimeout(t);
10152
10160
  }, [
10153
10161
  Fe,
10154
10162
  A.covered,
10155
10163
  A.link,
10156
- Re
10164
+ He
10157
10165
  ]);
10158
- let ze = /(^|\s)(absolute|fixed|sticky)(\s|$)/.test(c);
10166
+ let Ue = /(^|\s)(absolute|fixed|sticky)(\s|$)/.test(c);
10159
10167
  return /* @__PURE__ */ B("span", {
10160
10168
  ref: le,
10161
10169
  onClick: m,
10162
10170
  "data-picture": Fe ? "ready" : "loading",
10163
10171
  "data-ratio": ge ? String(ge) : void 0,
10164
10172
  "data-rung": b || void 0,
10165
- className: `${ze ? "" : "relative"} block overflow-hidden isolate ${c}`,
10166
- style: Se ? Wx : ge || Oe ? {
10173
+ className: `${Ue ? "" : "relative"} block overflow-hidden isolate ${c}`,
10174
+ style: Se ? Gx : ge || Oe ? {
10167
10175
  ...ge ? { aspectRatio: String(ge) } : null,
10168
10176
  ...Oe
10169
10177
  } : void 0,
@@ -10172,7 +10180,7 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10172
10180
  "aria-hidden": "true",
10173
10181
  width: xe.width,
10174
10182
  height: xe.height,
10175
- style: Gx
10183
+ style: Kx
10176
10184
  }),
10177
10185
  Ne && /* @__PURE__ */ z("span", {
10178
10186
  "aria-hidden": "true",
@@ -10188,7 +10196,7 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10188
10196
  loading: d ? "eager" : "lazy",
10189
10197
  fetchPriority: d ? "high" : void 0,
10190
10198
  ref: (e) => {
10191
- Kx(e) && !V.ready && pe((e) => e.link === V.link ? {
10199
+ qx(e) && !V.ready && pe((e) => e.link === V.link ? {
10192
10200
  ...e,
10193
10201
  ready: !0
10194
10202
  } : e);
@@ -10216,9 +10224,13 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10216
10224
  className: `fbos-picture-under ${je === A.under ? `block w-full h-auto ${_e} ${l}` : ve} ${Ie ? "fbos-picture-leaving opacity-0" : ""}`,
10217
10225
  style: je === A.under ? ke : void 0
10218
10226
  }, A.under),
10227
+ A.switched && !!A.under && /* @__PURE__ */ z("span", {
10228
+ "aria-hidden": "true",
10229
+ className: `fbos-picture-coming absolute inset-0 pointer-events-none ${Be ? "opacity-100" : "opacity-0"}`
10230
+ }),
10219
10231
  !Me && !!A.link && /* @__PURE__ */ z("img", {
10220
10232
  ref: (e) => {
10221
- e && Kx(e) && !A.ready && Ae(A.link, e);
10233
+ e && qx(e) && !A.ready && Ae(A.link, e);
10222
10234
  },
10223
10235
  src: A.link,
10224
10236
  alt: t,
@@ -10228,7 +10240,7 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10228
10240
  decoding: "async",
10229
10241
  onLoad: (e) => Ae(A.link, e.currentTarget),
10230
10242
  onTransitionEnd: (e) => {
10231
- e.propertyName === "opacity" && Fe && Re(A.link);
10243
+ e.propertyName === "opacity" && Fe && He(A.link);
10232
10244
  },
10233
10245
  onError: () => {
10234
10246
  if (A.rung && A.rung !== "full") {
@@ -10252,22 +10264,22 @@ function nS({ src: e, alt: t = "", small: n, medium: r, width: i, height: a, rat
10252
10264
  }
10253
10265
  //#endregion
10254
10266
  //#region src/components/Reveal.tsx
10255
- var rS = [
10267
+ var iS = [
10256
10268
  .16,
10257
10269
  1,
10258
10270
  .3,
10259
10271
  1
10260
- ], iS = {
10272
+ ], aS = {
10261
10273
  duration: .3,
10262
- ease: rS
10263
- }, aS = {
10274
+ ease: iS
10275
+ }, oS = {
10264
10276
  opacity: 0,
10265
10277
  y: 24
10266
- }, oS = {
10278
+ }, sS = {
10267
10279
  opacity: 1,
10268
10280
  y: 0
10269
- }, sS = "0px 0px -20% 0px", cS = .98, lS = 700;
10270
- function uS() {
10281
+ }, cS = "0px 0px -20% 0px", lS = .98, uS = 700;
10282
+ function dS() {
10271
10283
  let [e, t] = R(null), [n, r] = R(() => typeof IntersectionObserver > "u");
10272
10284
  return N(() => {
10273
10285
  if (!e || n) return;
@@ -10282,63 +10294,63 @@ function uS() {
10282
10294
  }
10283
10295
  }, o = a((e) => {
10284
10296
  e.some((e) => e.isIntersecting) && i();
10285
- }, { rootMargin: sS }), s = a((e) => {
10297
+ }, { rootMargin: cS }), s = a((e) => {
10286
10298
  let n = e[e.length - 1];
10287
10299
  if (n) {
10288
- if (n.intersectionRatio >= cS) return i();
10289
- clearTimeout(t), n.isIntersecting && (t = setTimeout(i, lS));
10300
+ if (n.intersectionRatio >= lS) return i();
10301
+ clearTimeout(t), n.isIntersecting && (t = setTimeout(i, uS));
10290
10302
  }
10291
- }, { threshold: [0, cS] });
10303
+ }, { threshold: [0, lS] });
10292
10304
  return o.observe(e), s.observe(e), () => {
10293
10305
  o.disconnect(), s.disconnect(), clearTimeout(t);
10294
10306
  };
10295
10307
  }, [e, n]), [t, n];
10296
10308
  }
10297
- var dS = k(!1), fS = ({ children: e, as: t = "div", delay: n = 0, className: r, id: i }) => {
10298
- let a = Sv(), [o, s] = uS(), c = xv[t];
10309
+ var fS = k(!1), pS = ({ children: e, as: t = "div", delay: n = 0, className: r, id: i }) => {
10310
+ let a = Sv(), [o, s] = dS(), c = xv[t];
10299
10311
  return /* @__PURE__ */ z(c, {
10300
10312
  ref: o,
10301
10313
  id: i,
10302
10314
  className: r,
10303
- initial: a ? !1 : aS,
10304
- animate: a || s ? oS : aS,
10315
+ initial: a ? !1 : oS,
10316
+ animate: a || s ? sS : oS,
10305
10317
  transition: {
10306
10318
  duration: .7,
10307
- ease: rS,
10319
+ ease: iS,
10308
10320
  delay: Math.min(Math.max(n, 0), .5)
10309
10321
  },
10310
- children: /* @__PURE__ */ z(dS.Provider, {
10322
+ children: /* @__PURE__ */ z(fS.Provider, {
10311
10323
  value: !0,
10312
10324
  children: e
10313
10325
  })
10314
10326
  });
10315
10327
  };
10316
- fS.displayName = "Reveal";
10317
- var pS = ({ children: e, className: t, itemClassName: n, as: r = "div" }) => /* @__PURE__ */ z(r, {
10328
+ pS.displayName = "Reveal";
10329
+ var mS = ({ children: e, className: t, itemClassName: n, as: r = "div" }) => /* @__PURE__ */ z(r, {
10318
10330
  className: t,
10319
- children: re.toArray(e).map((e, t) => /* @__PURE__ */ z(mS, {
10331
+ children: re.toArray(e).map((e, t) => /* @__PURE__ */ z(hS, {
10320
10332
  li: r !== "div",
10321
10333
  className: n,
10322
10334
  index: t,
10323
10335
  children: e
10324
10336
  }, e?.key ?? t))
10325
10337
  });
10326
- pS.displayName = "RevealList";
10327
- var mS = ({ children: e, li: t, className: n, index: r }) => {
10328
- let i = Sv(), a = M(dS), [o, s] = uS();
10338
+ mS.displayName = "RevealList";
10339
+ var hS = ({ children: e, li: t, className: n, index: r }) => {
10340
+ let i = Sv(), a = M(fS), [o, s] = dS();
10329
10341
  return /* @__PURE__ */ z(t ? xv.li : xv.div, {
10330
10342
  ref: o,
10331
10343
  className: n,
10332
- initial: i || a ? !1 : aS,
10333
- animate: i || a || s ? oS : aS,
10344
+ initial: i || a ? !1 : oS,
10345
+ animate: i || a || s ? sS : oS,
10334
10346
  transition: {
10335
10347
  duration: .6,
10336
- ease: rS,
10348
+ ease: iS,
10337
10349
  delay: r % 8 * .06
10338
10350
  },
10339
10351
  children: e
10340
10352
  });
10341
- }, hS = ({ show: e, children: t, className: n }) => Sv() ? /* @__PURE__ */ z("div", {
10353
+ }, gS = ({ show: e, children: t, className: n }) => Sv() ? /* @__PURE__ */ z("div", {
10342
10354
  className: n,
10343
10355
  children: t
10344
10356
  }) : /* @__PURE__ */ z(Tg, {
@@ -10360,70 +10372,70 @@ var mS = ({ children: e, li: t, className: n, index: r }) => {
10360
10372
  },
10361
10373
  transition: {
10362
10374
  duration: .2,
10363
- ease: rS
10375
+ ease: iS
10364
10376
  },
10365
10377
  children: t
10366
10378
  }, String(e))
10367
10379
  });
10368
- hS.displayName = "Swap";
10380
+ gS.displayName = "Swap";
10369
10381
  //#endregion
10370
10382
  //#region src/components/fields/Fields.tsx
10371
- var gS = "rounded-2xl border border-[var(--panel-border)] bg-[var(--panel-bg)] transition-colors hover:border-accent/40", _S = "inline-flex items-center justify-center gap-1.5 h-8 px-2.5 sm:h-9 sm:px-3 shrink-0 whitespace-nowrap rounded-[var(--btn-radius,0.75rem)] text-[12.5px] font-semibold border border-[var(--panel-border)] bg-transparent text-foreground/60 hover:text-foreground hover:border-accent/40 hover:bg-foreground/[0.04] active:scale-[0.98] transition-all cursor-pointer disabled:opacity-40 disabled:pointer-events-none", vS = "w-full h-11 px-4 rounded-[var(--input-radius,0.75rem)] border border-[var(--panel-border)] bg-[var(--panel-bg)] text-[14px] text-foreground outline-none transition-all duration-300 placeholder:text-foreground/35 hover:border-accent/40 focus:border-accent disabled:opacity-50 disabled:cursor-not-allowed console-field", yS = "w-full h-11 flex items-center px-4 rounded-[var(--input-radius,0.75rem)] border border-[var(--panel-border)] bg-[var(--panel-bg)] transition-all duration-300 hover:border-accent/40 focus-within:border-accent console-field", bS = "flex-1 min-w-0 h-full bg-transparent border-none outline-none shadow-none text-[14px] text-foreground placeholder:text-foreground/35 disabled:cursor-not-allowed", xS = "text-[12.5px] sm:text-[13px] font-medium text-foreground/50 select-none", SS = "text-[11px] sm:text-[11.5px] text-foreground/40 font-medium leading-snug";
10372
- function CS({ label: e = "cog" }) {
10383
+ var _S = "rounded-2xl border border-[var(--panel-border)] bg-[var(--panel-bg)] transition-colors hover:border-accent/40", vS = "inline-flex items-center justify-center gap-1.5 h-8 px-2.5 sm:h-9 sm:px-3 shrink-0 whitespace-nowrap rounded-[var(--btn-radius,0.75rem)] text-[12.5px] font-semibold border border-[var(--panel-border)] bg-transparent text-foreground/60 hover:text-foreground hover:border-accent/40 hover:bg-foreground/[0.04] active:scale-[0.98] transition-all cursor-pointer disabled:opacity-40 disabled:pointer-events-none", yS = "w-full h-11 px-4 rounded-[var(--input-radius,0.75rem)] border border-[var(--panel-border)] bg-[var(--panel-bg)] text-[14px] text-foreground outline-none transition-all duration-300 placeholder:text-foreground/35 hover:border-accent/40 focus:border-accent disabled:opacity-50 disabled:cursor-not-allowed console-field", bS = "w-full h-11 flex items-center px-4 rounded-[var(--input-radius,0.75rem)] border border-[var(--panel-border)] bg-[var(--panel-bg)] transition-all duration-300 hover:border-accent/40 focus-within:border-accent console-field", xS = "flex-1 min-w-0 h-full bg-transparent border-none outline-none shadow-none text-[14px] text-foreground placeholder:text-foreground/35 disabled:cursor-not-allowed", SS = "text-[12.5px] sm:text-[13px] font-medium text-foreground/50 select-none", CS = "text-[11px] sm:text-[11.5px] text-foreground/40 font-medium leading-snug";
10384
+ function wS({ label: e = "cog" }) {
10373
10385
  return /* @__PURE__ */ z(Ds, {
10374
10386
  role: "img",
10375
10387
  "aria-label": e,
10376
10388
  className: "inline-block w-[1.1em] h-[1.1em] align-[-0.18em] mx-[0.08em] text-foreground/85"
10377
10389
  });
10378
10390
  }
10379
- function wS({ children: e, tone: t = "quiet" }) {
10391
+ function TS({ children: e, tone: t = "quiet" }) {
10380
10392
  return /* @__PURE__ */ z("p", {
10381
10393
  className: `text-[12.5px] font-medium leading-relaxed px-1 ${t === "error" ? "text-red-500" : "text-foreground/50"}`,
10382
10394
  children: e
10383
10395
  });
10384
10396
  }
10385
- function TS({ state: e = "saved", label: t }) {
10397
+ function ES({ state: e = "saved", label: t }) {
10386
10398
  return /* @__PURE__ */ B("span", {
10387
10399
  className: "inline-flex items-center gap-1.5 text-[11.5px] font-semibold text-foreground/50 whitespace-nowrap shrink-0",
10388
10400
  children: [e === "saving" ? /* @__PURE__ */ z(te, { className: "w-3 h-3 animate-spin text-foreground/40 shrink-0" }) : /* @__PURE__ */ z("span", { className: `w-1.5 h-1.5 rounded-full shrink-0 ${e === "saved" ? "bg-emerald-500" : e === "error" ? "bg-red-500" : "bg-foreground/25"}` }), t]
10389
10401
  });
10390
10402
  }
10391
- function ES({ icon: e, children: t, onClick: n, disabled: r, busy: i, tone: a = "default", className: o = "", title: s, compact: c }) {
10403
+ function DS({ icon: e, children: t, onClick: n, disabled: r, busy: i, tone: a = "default", className: o = "", title: s, compact: c }) {
10392
10404
  return /* @__PURE__ */ B("button", {
10393
10405
  type: "button",
10394
10406
  title: s,
10395
10407
  onClick: n,
10396
10408
  disabled: r || i,
10397
- className: `${_S} ${a === "danger" ? "hover:text-red-500 hover:border-red-500/40 hover:bg-red-500/[0.06]" : ""} ${c ? "max-sm:w-8 max-sm:px-0 max-sm:gap-0 max-sm:border-transparent max-sm:hover:border-transparent max-sm:hover:bg-foreground/[0.06]" : ""} ${o}`,
10409
+ className: `${vS} ${a === "danger" ? "hover:text-red-500 hover:border-red-500/40 hover:bg-red-500/[0.06]" : ""} ${c ? "max-sm:w-8 max-sm:px-0 max-sm:gap-0 max-sm:border-transparent max-sm:hover:border-transparent max-sm:hover:bg-foreground/[0.06]" : ""} ${o}`,
10398
10410
  children: [i ? /* @__PURE__ */ z(te, { className: "w-3.5 h-3.5 animate-spin shrink-0" }) : e ? /* @__PURE__ */ z(e, { className: "w-3.5 h-3.5 shrink-0" }) : null, c ? /* @__PURE__ */ z("span", {
10399
10411
  className: "max-sm:hidden sm:inline-flex items-center gap-1.5",
10400
10412
  children: t
10401
10413
  }) : t]
10402
10414
  });
10403
10415
  }
10404
- function DS({ to: e, title: t, children: n, className: r = "" }) {
10416
+ function OS({ to: e, title: t, children: n, className: r = "" }) {
10405
10417
  return /* @__PURE__ */ B("a", {
10406
10418
  href: e,
10407
10419
  target: "_blank",
10408
10420
  rel: "noreferrer",
10409
10421
  title: t,
10410
10422
  onClick: (e) => e.stopPropagation(),
10411
- className: `${_S} max-sm:w-8 max-sm:px-0 max-sm:gap-0 max-sm:border-transparent max-sm:hover:border-transparent max-sm:hover:bg-foreground/[0.06] ${r}`,
10423
+ className: `${vS} max-sm:w-8 max-sm:px-0 max-sm:gap-0 max-sm:border-transparent max-sm:hover:border-transparent max-sm:hover:bg-foreground/[0.06] ${r}`,
10412
10424
  children: [/* @__PURE__ */ z(Cs, { className: "w-3.5 h-3.5 shrink-0" }), /* @__PURE__ */ z("span", {
10413
10425
  className: "max-sm:hidden",
10414
10426
  children: n
10415
10427
  })]
10416
10428
  });
10417
10429
  }
10418
- var OS = "w-6 h-6 rounded-md flex items-center justify-center text-inherit outline-none hover:text-foreground hover:bg-foreground/[0.07] focus-visible:text-foreground focus-visible:ring-2 focus-visible:ring-accent transition-colors cursor-pointer disabled:opacity-25 disabled:pointer-events-none";
10419
- function kS({ label: e, canUp: t = !0, canDown: n = !0, onMove: r, hideOnPhone: i, className: a = "" }) {
10430
+ var kS = "w-6 h-6 rounded-md flex items-center justify-center text-inherit outline-none hover:text-foreground hover:bg-foreground/[0.07] focus-visible:text-foreground focus-visible:ring-2 focus-visible:ring-accent transition-colors cursor-pointer disabled:opacity-25 disabled:pointer-events-none";
10431
+ function AS({ label: e, canUp: t = !0, canDown: n = !0, onMove: r, hideOnPhone: i, className: a = "" }) {
10420
10432
  let o = (t, n) => /* @__PURE__ */ z("button", {
10421
10433
  type: "button",
10422
10434
  title: t === "up" ? "Move up" : "Move down",
10423
10435
  "aria-label": `Move ${e} ${t}`,
10424
10436
  disabled: !n,
10425
10437
  onClick: () => r(t),
10426
- className: OS,
10438
+ className: kS,
10427
10439
  children: z(t === "up" ? _s : hs, { className: "w-3 h-3" })
10428
10440
  });
10429
10441
  return /* @__PURE__ */ B("div", {
@@ -10432,7 +10444,7 @@ function kS({ label: e, canUp: t = !0, canDown: n = !0, onMove: r, hideOnPhone:
10432
10444
  children: [o("up", t), o("down", n)]
10433
10445
  });
10434
10446
  }
10435
- function AS({ icon: e, title: t, description: n, actions: r, children: i, defaultOpen: a = !0, collapsible: o = !0 }) {
10447
+ function jS({ icon: e, title: t, description: n, actions: r, children: i, defaultOpen: a = !0, collapsible: o = !0 }) {
10436
10448
  let [s, c] = R(a), l = o ? s : !0, u = typeof r == "function" ? r({ open: () => c(!0) }) : r;
10437
10449
  return /* @__PURE__ */ B("div", {
10438
10450
  className: "fbos-section rounded-2xl border border-[var(--panel-border)]/60 bg-foreground/[0.015] overflow-hidden transition-all",
@@ -10479,7 +10491,7 @@ function AS({ icon: e, title: t, description: n, actions: r, children: i, defaul
10479
10491
  height: 0,
10480
10492
  opacity: 0
10481
10493
  },
10482
- transition: iS,
10494
+ transition: aS,
10483
10495
  className: "overflow-hidden",
10484
10496
  children: /* @__PURE__ */ z("div", {
10485
10497
  className: "border-t border-[var(--panel-border)]/40 p-4 sm:p-5 flex flex-col gap-5 bg-background/30",
@@ -10489,7 +10501,7 @@ function AS({ icon: e, title: t, description: n, actions: r, children: i, defaul
10489
10501
  })]
10490
10502
  });
10491
10503
  }
10492
- function jS({ icon: e, title: t, description: n, chip: r, enabled: i, onChange: a, label: o, children: s }) {
10504
+ function MS({ icon: e, title: t, description: n, chip: r, enabled: i, onChange: a, label: o, children: s }) {
10493
10505
  return /* @__PURE__ */ B("div", {
10494
10506
  className: "rounded-2xl border border-[var(--panel-border)]/60 bg-foreground/[0.015] overflow-hidden",
10495
10507
  children: [/* @__PURE__ */ B("div", {
@@ -10511,11 +10523,11 @@ function jS({ icon: e, title: t, description: n, chip: r, enabled: i, onChange:
10511
10523
  className: "row-start-1 row-span-2 col-start-3 self-center justify-self-end flex items-center gap-2 sm:gap-3 shrink-0",
10512
10524
  children: [r && /* @__PURE__ */ z("span", {
10513
10525
  className: "max-sm:hidden",
10514
- children: /* @__PURE__ */ z(TS, {
10526
+ children: /* @__PURE__ */ z(ES, {
10515
10527
  state: r.state,
10516
10528
  label: r.label
10517
10529
  })
10518
- }), i !== null && /* @__PURE__ */ z(LS, {
10530
+ }), i !== null && /* @__PURE__ */ z(RS, {
10519
10531
  enabled: i,
10520
10532
  onChange: a,
10521
10533
  label: o || t
@@ -10528,14 +10540,14 @@ function jS({ icon: e, title: t, description: n, chip: r, enabled: i, onChange:
10528
10540
  })]
10529
10541
  });
10530
10542
  }
10531
- function MS({ label: e, hint: t, action: n, children: r, error: i }) {
10543
+ function NS({ label: e, hint: t, action: n, children: r, error: i }) {
10532
10544
  return /* @__PURE__ */ B("div", {
10533
10545
  className: "flex flex-col w-full",
10534
10546
  children: [
10535
10547
  /* @__PURE__ */ B("div", {
10536
10548
  className: "flex items-center justify-between gap-3 mb-1 sm:mb-1.5 ml-1",
10537
10549
  children: [/* @__PURE__ */ z("label", {
10538
- className: xS,
10550
+ className: SS,
10539
10551
  children: e
10540
10552
  }), n]
10541
10553
  }),
@@ -10551,14 +10563,14 @@ function MS({ label: e, hint: t, action: n, children: r, error: i }) {
10551
10563
  ]
10552
10564
  });
10553
10565
  }
10554
- function NS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder: a, prefix: o, error: s, disabled: c, action: l }) {
10555
- return /* @__PURE__ */ z(MS, {
10566
+ function PS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder: a, prefix: o, error: s, disabled: c, action: l }) {
10567
+ return /* @__PURE__ */ z(NS, {
10556
10568
  label: e,
10557
10569
  hint: t,
10558
10570
  error: s,
10559
10571
  action: l,
10560
10572
  children: o ? /* @__PURE__ */ B("div", {
10561
- className: `${yS} ${s ? "is-invalid border-red-500/60" : ""} ${c ? "opacity-50" : ""}`,
10573
+ className: `${bS} ${s ? "is-invalid border-red-500/60" : ""} ${c ? "opacity-50" : ""}`,
10562
10574
  children: [/* @__PURE__ */ z("span", {
10563
10575
  className: "mr-0.5 text-[14px] font-semibold text-foreground/40 select-none shrink-0",
10564
10576
  children: o
@@ -10570,7 +10582,7 @@ function NS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder:
10570
10582
  onChange: (e) => r(e.target.value),
10571
10583
  onBlur: i,
10572
10584
  "aria-label": e,
10573
- className: `${bS} no-glow`
10585
+ className: `${xS} no-glow`
10574
10586
  })]
10575
10587
  }) : /* @__PURE__ */ z("input", {
10576
10588
  type: "text",
@@ -10580,12 +10592,12 @@ function NS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder:
10580
10592
  onChange: (e) => r(e.target.value),
10581
10593
  onBlur: i,
10582
10594
  "aria-label": e,
10583
- className: `${vS} ${s ? "is-invalid border-red-500/60" : ""}`
10595
+ className: `${yS} ${s ? "is-invalid border-red-500/60" : ""}`
10584
10596
  })
10585
10597
  });
10586
10598
  }
10587
- function PS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder: a, rows: o, error: s }) {
10588
- return /* @__PURE__ */ z(MS, {
10599
+ function FS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder: a, rows: o, error: s }) {
10600
+ return /* @__PURE__ */ z(NS, {
10589
10601
  label: e,
10590
10602
  hint: t,
10591
10603
  error: s,
@@ -10596,16 +10608,16 @@ function PS({ label: e, hint: t, value: n, onChange: r, onBlur: i, placeholder:
10596
10608
  onChange: (e) => r(e.target.value),
10597
10609
  onBlur: i,
10598
10610
  "aria-label": e,
10599
- className: `${vS.replace("h-11 ", "")} min-h-11 py-2.5 leading-5 ${s ? "is-invalid border-red-500/60" : ""}`
10611
+ className: `${yS.replace("h-11 ", "")} min-h-11 py-2.5 leading-5 ${s ? "is-invalid border-red-500/60" : ""}`
10600
10612
  })
10601
10613
  });
10602
10614
  }
10603
- function FS({ label: e, hint: t, value: n, onChange: r, options: i, placeholder: a = "None", allowEmpty: o = !0, disabled: s }) {
10615
+ function IS({ label: e, hint: t, value: n, onChange: r, options: i, placeholder: a = "None", allowEmpty: o = !0, disabled: s }) {
10604
10616
  let c = [...o ? [{
10605
10617
  value: "",
10606
10618
  label: a
10607
10619
  }] : [], ...i.filter((e) => e.value !== "")];
10608
- return /* @__PURE__ */ z(MS, {
10620
+ return /* @__PURE__ */ z(NS, {
10609
10621
  label: e,
10610
10622
  hint: t,
10611
10623
  children: /* @__PURE__ */ z(tb, {
@@ -10621,7 +10633,7 @@ function FS({ label: e, hint: t, value: n, onChange: r, options: i, placeholder:
10621
10633
  })
10622
10634
  });
10623
10635
  }
10624
- function IS({ label: e, hint: t, enabled: n, onChange: r, disabled: i, hintWideOnly: a }) {
10636
+ function LS({ label: e, hint: t, enabled: n, onChange: r, disabled: i, hintWideOnly: a }) {
10625
10637
  return /* @__PURE__ */ B("div", {
10626
10638
  className: "flex items-center justify-between gap-4 w-full",
10627
10639
  children: [/* @__PURE__ */ B("div", {
@@ -10633,7 +10645,7 @@ function IS({ label: e, hint: t, enabled: n, onChange: r, disabled: i, hintWideO
10633
10645
  className: `text-[11px] sm:text-[11.5px] text-foreground/40 font-medium leading-snug${a ? " max-sm:hidden" : ""}`,
10634
10646
  children: t
10635
10647
  })]
10636
- }), /* @__PURE__ */ z(LS, {
10648
+ }), /* @__PURE__ */ z(RS, {
10637
10649
  enabled: n,
10638
10650
  onChange: r,
10639
10651
  disabled: i,
@@ -10641,7 +10653,7 @@ function IS({ label: e, hint: t, enabled: n, onChange: r, disabled: i, hintWideO
10641
10653
  })]
10642
10654
  });
10643
10655
  }
10644
- function LS({ enabled: e, onChange: t, disabled: n, label: r }) {
10656
+ function RS({ enabled: e, onChange: t, disabled: n, label: r }) {
10645
10657
  return /* @__PURE__ */ z("button", {
10646
10658
  type: "button",
10647
10659
  role: "switch",
@@ -10655,25 +10667,25 @@ function LS({ enabled: e, onChange: t, disabled: n, label: r }) {
10655
10667
  children: /* @__PURE__ */ z("span", { className: `absolute top-1 left-1 w-4 h-4 rounded-full bg-[var(--button-fg,#fff)] shadow transition-transform ${e ? "translate-x-4" : "translate-x-0"}` })
10656
10668
  });
10657
10669
  }
10658
- function RS({ saving: e, savedAt: t, error: n }) {
10659
- return n ? /* @__PURE__ */ z(TS, {
10670
+ function zS({ saving: e, savedAt: t, error: n }) {
10671
+ return n ? /* @__PURE__ */ z(ES, {
10660
10672
  state: "error",
10661
10673
  label: n
10662
- }) : e ? /* @__PURE__ */ z(TS, {
10674
+ }) : e ? /* @__PURE__ */ z(ES, {
10663
10675
  state: "saving",
10664
10676
  label: "Saving"
10665
- }) : t ? /* @__PURE__ */ z(TS, {
10677
+ }) : t ? /* @__PURE__ */ z(ES, {
10666
10678
  state: "saved",
10667
10679
  label: "Saved"
10668
10680
  }) : null;
10669
10681
  }
10670
10682
  //#endregion
10671
10683
  //#region src/components/fields/TimeZoneField.tsx
10672
- function zS({ label: e = "Time zone", hint: t, value: n, onChange: r, compact: i }) {
10684
+ function BS({ label: e = "Time zone", hint: t, value: n, onChange: r, compact: i }) {
10673
10685
  let [a, o] = R(""), s = v(), c = (n || "").trim(), l = I(() => _(a), [a]), u = a.trim().length > 0, d = t ?? (c === s ? "Detected from your browser." : `Your browser is in ${b(s)}.`), f = /* @__PURE__ */ B("div", {
10674
10686
  className: "flex flex-col gap-2",
10675
10687
  children: [/* @__PURE__ */ B("div", {
10676
- className: yS,
10688
+ className: bS,
10677
10689
  children: [c && !u ? /* @__PURE__ */ B("span", {
10678
10690
  className: "inline-flex items-center gap-2 mr-2.5 shrink-0 min-w-0 text-accent",
10679
10691
  children: [
@@ -10690,7 +10702,7 @@ function zS({ label: e = "Time zone", hint: t, value: n, onChange: r, compact: i
10690
10702
  onChange: (e) => o(e.target.value),
10691
10703
  placeholder: c ? "Type a city to change it" : "Type a city, e.g. Rome",
10692
10704
  "aria-label": "Search time zones",
10693
- className: `${bS} no-glow`
10705
+ className: `${xS} no-glow`
10694
10706
  })]
10695
10707
  }), u && /* @__PURE__ */ z("div", {
10696
10708
  className: "rounded-[var(--input-radius,0.75rem)] border border-[var(--panel-border)] bg-[var(--panel-bg)] p-1.5 max-h-56 overflow-y-auto",
@@ -10711,11 +10723,11 @@ function zS({ label: e = "Time zone", hint: t, value: n, onChange: r, compact: i
10711
10723
  })
10712
10724
  })]
10713
10725
  });
10714
- return i ? f : /* @__PURE__ */ z(MS, {
10726
+ return i ? f : /* @__PURE__ */ z(NS, {
10715
10727
  label: e,
10716
10728
  hint: d,
10717
10729
  children: f
10718
10730
  });
10719
10731
  }
10720
10732
  //#endregion
10721
- export { Yy as $, Rn as $n, St as $r, mo as $t, Jb as A, wi as An, rr as Ar, ys as At, zb as B, ra as Bn, en as Br, Co as Bt, DS as C, Qa as Cn, Sr as Cr, Js as Ct, hS as D, Ei as Dn, Yn as Dr, Ts as Dt, pS as E, ga as En, nr as Er, Ns as Et, Fb as F, bi as Fn, On as Fr, ps as Ft, nb as G, Gr as Gn, tn as Gr, Do as Gt, Ib as H, ai as Hn, an as Hr, vo as Ht, Ub as I, Ci as In, Mn as Ir, Yo as It, Tb as J, Jr as Jn, fn as Jr, Bo as Jt, Cb as K, Ur as Kn, un as Kr, Wo as Kt, Vb as L, $i as Ln, kn as Lr, $o as Lt, Mb as M, zi as Mn, wr as Mr, hs as Mt, Wb as N, Si as Nn, br as Nr, fs as Nt, nS as O, mi as On, Mr as Or, Cs as Ot, Bb as P, Ri as Pn, Nn as Pr, os as Pt, Xy as Q, Ln as Qn, Yt as Qr, fo as Qt, Pb as R, na as Rn, In as Rr, Qo as Rt, IS as S, Ba as Sn, Qn as Sr, gc as St, fS as T, _a as Tn, hr as Tr, Ls as Tt, Eb as U, di as Un, gn as Ur, To as Ut, Lb as V, gi as Vn, nn as Vr, Eo as Vt, jb as W, Br as Wn, pn as Wr, So as Wt, pb as X, cr as Xn, dn as Xr, uo as Xt, wb as Y, Qr as Yn, ln as Yr, Oo as Yt, tb as Z, or as Zn, Qt as Zr, po as Zt, TS as _, za as _n, yr as _r, ou as _t, _S as a, pt as ai, co as an, _r as ar, Tm as at, NS as b, Pa as bn, Wn as br, Ul as bt, vS as c, gt as ci, ba as cn, Hn as cr, _p as ct, kS as d, it as di, wa as dn, Lr as dr, Xf as dt, kt as ei, lo as en, mr as er, wv as et, bS as f, $e as fi, Oa as fn, xr as fr, Ef as ft, FS as g, Sa as gn, Un as gr, td as gt, wS as h, Ra as hn, Dr as hr, Wd as ht, MS as i, Jt as ii, so as in, kr as ir, wh as it, Rb as j, ia as jn, vr as jr, _s as jt, px as k, aa as kn, Pr as kr, xs as kt, yS as l, U as li, xa as ln, ar as lr, Y as lt, AS as m, Xe as mi, Aa as mn, Nr as mr, Yd as mt, CS as n, jt as ni, ho as nn, Tr as nr, xv as nt, ES as o, mt as oi, no as on, Vn as or, hm as ot, RS as p, Ye as pi, Ca as pn, Zn as pr, nf as pt, fb as q, Hr as qn, hn as qr, yo as qt, gS as r, qt as ri, ro as rn, Er as rr, Tg as rt, SS as s, _t as si, Da as sn, Bn as sr, Np as st, zS as t, Et as ti, oo as tn, lr as tr, Sv as tt, xS as u, Qe as ui, ka as un, Or as ur, dp as ut, jS as v, La as vn, Cr as vr, au as vt, iS as w, va as wn, $n as wr, Ks as wt, LS as x, Ia as xn, tr as xr, q as xt, PS as y, Fa as yn, er as yr, $l as yt, Gb as z, Ui as zn, rn as zr, Ro as zt };
10733
+ export { Yy as $, Rn as $n, St as $r, mo as $t, Jb as A, wi as An, rr as Ar, ys as At, zb as B, ra as Bn, en as Br, Co as Bt, OS as C, Qa as Cn, Sr as Cr, Js as Ct, gS as D, Ei as Dn, Yn as Dr, Ts as Dt, mS as E, ga as En, nr as Er, Ns as Et, Fb as F, bi as Fn, On as Fr, ps as Ft, nb as G, Gr as Gn, tn as Gr, Do as Gt, Ib as H, ai as Hn, an as Hr, vo as Ht, Ub as I, Ci as In, Mn as Ir, Yo as It, Tb as J, Jr as Jn, fn as Jr, Bo as Jt, Cb as K, Ur as Kn, un as Kr, Wo as Kt, Vb as L, $i as Ln, kn as Lr, $o as Lt, Mb as M, zi as Mn, wr as Mr, hs as Mt, Wb as N, Si as Nn, br as Nr, fs as Nt, rS as O, mi as On, Mr as Or, Cs as Ot, Bb as P, Ri as Pn, Nn as Pr, os as Pt, Xy as Q, Ln as Qn, Yt as Qr, fo as Qt, Pb as R, na as Rn, In as Rr, Qo as Rt, LS as S, Ba as Sn, Qn as Sr, gc as St, pS as T, _a as Tn, hr as Tr, Ls as Tt, Eb as U, di as Un, gn as Ur, To as Ut, Lb as V, gi as Vn, nn as Vr, Eo as Vt, jb as W, Br as Wn, pn as Wr, So as Wt, pb as X, cr as Xn, dn as Xr, uo as Xt, wb as Y, Qr as Yn, ln as Yr, Oo as Yt, tb as Z, or as Zn, Qt as Zr, po as Zt, ES as _, za as _n, yr as _r, ou as _t, vS as a, pt as ai, co as an, _r as ar, Tm as at, PS as b, Pa as bn, Wn as br, Ul as bt, yS as c, gt as ci, ba as cn, Hn as cr, _p as ct, AS as d, it as di, wa as dn, Lr as dr, Xf as dt, kt as ei, lo as en, mr as er, wv as et, xS as f, $e as fi, Oa as fn, xr as fr, Ef as ft, IS as g, Sa as gn, Un as gr, td as gt, TS as h, Ra as hn, Dr as hr, Wd as ht, NS as i, Jt as ii, so as in, kr as ir, wh as it, Rb as j, ia as jn, vr as jr, _s as jt, px as k, aa as kn, Pr as kr, xs as kt, bS as l, U as li, xa as ln, ar as lr, Y as lt, jS as m, Xe as mi, Aa as mn, Nr as mr, Yd as mt, wS as n, jt as ni, ho as nn, Tr as nr, xv as nt, DS as o, mt as oi, no as on, Vn as or, hm as ot, zS as p, Ye as pi, Ca as pn, Zn as pr, nf as pt, fb as q, Hr as qn, hn as qr, yo as qt, _S as r, qt as ri, ro as rn, Er as rr, Tg as rt, CS as s, _t as si, Da as sn, Bn as sr, Np as st, BS as t, Et as ti, oo as tn, lr as tr, Sv as tt, SS as u, Qe as ui, ka as un, Or as ur, dp as ut, MS as v, La as vn, Cr as vr, au as vt, aS as w, va as wn, $n as wr, Ks as wt, RS as x, Ia as xn, tr as xr, q as xt, FS as y, Fa as yn, er as yr, $l as yt, Gb as z, Ui as zn, rn as zr, Ro as zt };