@flamingo-stack/openframe-frontend-core 0.0.291 → 0.0.292-snapshot.20260619040151

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 (201) hide show
  1. package/dist/{chunk-ODR6A6FC.js → chunk-26PKDALD.js} +7 -67
  2. package/dist/chunk-26PKDALD.js.map +1 -0
  3. package/dist/{chunk-EGSAB76W.js → chunk-2U2M2TG2.js} +4 -4
  4. package/dist/{chunk-EI4WALN2.cjs → chunk-4W7NYJ3B.cjs} +39 -29
  5. package/dist/chunk-4W7NYJ3B.cjs.map +1 -0
  6. package/dist/{chunk-KBKZYJRI.cjs → chunk-5E2HOSSH.cjs} +66 -19
  7. package/dist/chunk-5E2HOSSH.cjs.map +1 -0
  8. package/dist/{chunk-6BWZFRUG.cjs → chunk-6G2INVGG.cjs} +24 -22
  9. package/dist/chunk-6G2INVGG.cjs.map +1 -0
  10. package/dist/{chunk-7NM7DEUK.js → chunk-6GCI7JOE.js} +2 -2
  11. package/dist/{chunk-N6ZM5PYZ.js → chunk-7RIYT7ZH.js} +49 -2
  12. package/dist/chunk-7RIYT7ZH.js.map +1 -0
  13. package/dist/{chunk-AGRSALEN.js → chunk-BRNHX6C6.js} +15 -13
  14. package/dist/chunk-BRNHX6C6.js.map +1 -0
  15. package/dist/{chunk-Z2EOXZBW.js → chunk-DOMJSNXW.js} +262 -162
  16. package/dist/chunk-DOMJSNXW.js.map +1 -0
  17. package/dist/{chunk-7EYWERFT.js → chunk-E4XABBSU.js} +16 -8
  18. package/dist/{chunk-7EYWERFT.js.map → chunk-E4XABBSU.js.map} +1 -1
  19. package/dist/{chunk-ZLN6SM2U.js → chunk-EJXHZX2E.js} +3 -3
  20. package/dist/{chunk-3SDBXXDP.cjs → chunk-EYEW6PTA.cjs} +44 -36
  21. package/dist/chunk-EYEW6PTA.cjs.map +1 -0
  22. package/dist/{chunk-D4R2MUPA.js → chunk-FJDPUPXC.js} +5 -5
  23. package/dist/{chunk-VRSXJ5QJ.js → chunk-FQJK446R.js} +10 -3
  24. package/dist/chunk-FQJK446R.js.map +1 -0
  25. package/dist/{chunk-I6ZPGKZ2.cjs → chunk-FT4FCV7L.cjs} +6 -6
  26. package/dist/{chunk-I6ZPGKZ2.cjs.map → chunk-FT4FCV7L.cjs.map} +1 -1
  27. package/dist/{chunk-Y4JNA4W6.cjs → chunk-J54Z3OCR.cjs} +10 -3
  28. package/dist/chunk-J54Z3OCR.cjs.map +1 -0
  29. package/dist/{chunk-ZYBUFVQV.cjs → chunk-JSOMFVEV.cjs} +30 -30
  30. package/dist/{chunk-ZYBUFVQV.cjs.map → chunk-JSOMFVEV.cjs.map} +1 -1
  31. package/dist/{chunk-D6RK5YXX.cjs → chunk-KXCRGTRN.cjs} +10 -70
  32. package/dist/chunk-KXCRGTRN.cjs.map +1 -0
  33. package/dist/{chunk-5KD3S25X.cjs → chunk-LFGGF7OT.cjs} +139 -2
  34. package/dist/chunk-LFGGF7OT.cjs.map +1 -0
  35. package/dist/{chunk-R2KT5GDD.js → chunk-NSPOYUBH.js} +14 -4
  36. package/dist/chunk-NSPOYUBH.js.map +1 -0
  37. package/dist/{chunk-TYZEMPPH.js → chunk-OQ6X7ZOC.js} +138 -1
  38. package/dist/chunk-OQ6X7ZOC.js.map +1 -0
  39. package/dist/{chunk-2YSC3API.cjs → chunk-RJL6PIOK.cjs} +1091 -991
  40. package/dist/chunk-RJL6PIOK.cjs.map +1 -0
  41. package/dist/{chunk-CSL3ECOF.js → chunk-SOJCR63T.js} +4 -4
  42. package/dist/{chunk-BVNYQDZE.cjs → chunk-TYMUKFP2.cjs} +40 -40
  43. package/dist/{chunk-BVNYQDZE.cjs.map → chunk-TYMUKFP2.cjs.map} +1 -1
  44. package/dist/{chunk-VMRPM24G.cjs → chunk-VTY7S2QG.cjs} +25 -19
  45. package/dist/chunk-VTY7S2QG.cjs.map +1 -0
  46. package/dist/{chunk-Z4GAFSNM.cjs → chunk-X3TSMCKX.cjs} +12 -12
  47. package/dist/{chunk-Z4GAFSNM.cjs.map → chunk-X3TSMCKX.cjs.map} +1 -1
  48. package/dist/{chunk-RSIFEDZX.js → chunk-YICTMMXP.js} +13 -7
  49. package/dist/{chunk-RSIFEDZX.js.map → chunk-YICTMMXP.js.map} +1 -1
  50. package/dist/{chunk-EL5GCMPU.cjs → chunk-YIGPRLQY.cjs} +9 -9
  51. package/dist/{chunk-EL5GCMPU.cjs.map → chunk-YIGPRLQY.cjs.map} +1 -1
  52. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  53. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  54. package/dist/components/chat/embeddable-chat.d.ts +15 -0
  55. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  56. package/dist/components/chat/entity-cards/roadmap-card.d.ts +7 -1
  57. package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
  58. package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts.map +1 -1
  59. package/dist/components/chat/index.cjs +9 -7
  60. package/dist/components/chat/index.cjs.map +1 -1
  61. package/dist/components/chat/index.d.ts +1 -0
  62. package/dist/components/chat/index.d.ts.map +1 -1
  63. package/dist/components/chat/index.js +8 -6
  64. package/dist/components/chat/remark-mention-chips.d.ts +30 -0
  65. package/dist/components/chat/remark-mention-chips.d.ts.map +1 -0
  66. package/dist/components/chat/types/api.types.d.ts +4 -0
  67. package/dist/components/chat/types/api.types.d.ts.map +1 -1
  68. package/dist/components/chat/types/component.types.d.ts +24 -0
  69. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  70. package/dist/components/chat/types/context-item.types.d.ts +5 -0
  71. package/dist/components/chat/types/context-item.types.d.ts.map +1 -1
  72. package/dist/components/chat/types/processing.types.d.ts +4 -0
  73. package/dist/components/chat/types/processing.types.d.ts.map +1 -1
  74. package/dist/components/chat/utils/chunk-parser.d.ts.map +1 -1
  75. package/dist/components/chat/utils/nav-anchor-props.d.ts +8 -3
  76. package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -1
  77. package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
  78. package/dist/components/contact/index.cjs +8 -8
  79. package/dist/components/contact/index.js +7 -7
  80. package/dist/components/docs/index.cjs +6 -6
  81. package/dist/components/docs/index.js +5 -5
  82. package/dist/components/docs/use-document-tree.d.ts.map +1 -1
  83. package/dist/components/embeds/index.cjs +8 -8
  84. package/dist/components/embeds/index.js +7 -7
  85. package/dist/components/faq/faq-section.d.ts.map +1 -1
  86. package/dist/components/faq/index.cjs +8 -8
  87. package/dist/components/faq/index.js +7 -7
  88. package/dist/components/features/index.cjs +7 -7
  89. package/dist/components/features/index.js +6 -6
  90. package/dist/components/index.cjs +216 -193
  91. package/dist/components/index.cjs.map +1 -1
  92. package/dist/components/index.js +52 -29
  93. package/dist/components/index.js.map +1 -1
  94. package/dist/components/navigation/index.cjs +7 -7
  95. package/dist/components/navigation/index.js +6 -6
  96. package/dist/components/onboarding-guides/index.cjs +24 -24
  97. package/dist/components/onboarding-guides/index.js +4 -4
  98. package/dist/components/related-content/index.cjs +8 -8
  99. package/dist/components/related-content/index.js +7 -7
  100. package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
  101. package/dist/components/shared/delivery/delivery-row.d.ts +8 -1
  102. package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
  103. package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
  104. package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
  105. package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
  106. package/dist/components/tickets/help-center-card.d.ts +7 -1
  107. package/dist/components/tickets/help-center-card.d.ts.map +1 -1
  108. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  109. package/dist/components/tickets/index.cjs +82 -73
  110. package/dist/components/tickets/index.cjs.map +1 -1
  111. package/dist/components/tickets/index.js +24 -15
  112. package/dist/components/tickets/index.js.map +1 -1
  113. package/dist/components/tickets/ticket-center.d.ts.map +1 -1
  114. package/dist/components/tickets/ticket-row.d.ts +6 -1
  115. package/dist/components/tickets/ticket-row.d.ts.map +1 -1
  116. package/dist/components/ui/index.cjs +9 -7
  117. package/dist/components/ui/index.cjs.map +1 -1
  118. package/dist/components/ui/index.js +8 -6
  119. package/dist/components/ui/simple-markdown-renderer.d.ts.map +1 -1
  120. package/dist/components/ui/tag.d.ts +10 -1
  121. package/dist/components/ui/tag.d.ts.map +1 -1
  122. package/dist/hooks/index.cjs +5 -3
  123. package/dist/hooks/index.cjs.map +1 -1
  124. package/dist/hooks/index.d.ts +1 -0
  125. package/dist/hooks/index.d.ts.map +1 -1
  126. package/dist/hooks/index.js +4 -2
  127. package/dist/hooks/use-scroll-to-hash.d.ts +17 -0
  128. package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -0
  129. package/dist/index.cjs +21 -7
  130. package/dist/index.cjs.map +1 -1
  131. package/dist/index.js +21 -7
  132. package/dist/utils/dev-sections/dev-section-param-keys.d.ts +10 -0
  133. package/dist/utils/dev-sections/dev-section-param-keys.d.ts.map +1 -1
  134. package/dist/utils/index.cjs +92 -10
  135. package/dist/utils/index.cjs.map +1 -1
  136. package/dist/utils/index.d.ts +2 -1
  137. package/dist/utils/index.d.ts.map +1 -1
  138. package/dist/utils/index.js +88 -11
  139. package/dist/utils/index.js.map +1 -1
  140. package/dist/utils/same-page-hash-nav.d.ts +37 -0
  141. package/dist/utils/same-page-hash-nav.d.ts.map +1 -0
  142. package/dist/utils/scroll-into-view.d.ts +12 -0
  143. package/dist/utils/scroll-into-view.d.ts.map +1 -1
  144. package/dist/utils/source-icons.d.ts.map +1 -1
  145. package/package.json +1 -1
  146. package/src/components/chat/chat-message-enhanced.tsx +71 -9
  147. package/src/components/chat/chat-message-list.tsx +2 -0
  148. package/src/components/chat/embeddable-chat.tsx +50 -6
  149. package/src/components/chat/entity-cards/roadmap-card.tsx +8 -1
  150. package/src/components/chat/hooks/use-realtime-chunk-processor.ts +1 -0
  151. package/src/components/chat/index.ts +1 -0
  152. package/src/components/chat/remark-mention-chips.ts +72 -0
  153. package/src/components/chat/types/api.types.ts +1 -1
  154. package/src/components/chat/types/component.types.ts +18 -0
  155. package/src/components/chat/types/context-item.types.ts +5 -0
  156. package/src/components/chat/types/processing.types.ts +8 -1
  157. package/src/components/chat/utils/chunk-parser.ts +11 -0
  158. package/src/components/chat/utils/nav-anchor-props.ts +22 -4
  159. package/src/components/chat/utils/process-historical-messages.ts +22 -0
  160. package/src/components/docs/use-document-tree.ts +45 -3
  161. package/src/components/faq/faq-section.tsx +22 -9
  162. package/src/components/shared/delivery/delivery-lists.tsx +9 -0
  163. package/src/components/shared/delivery/delivery-row.tsx +15 -2
  164. package/src/components/shared/delivery/delivery-table.tsx +7 -1
  165. package/src/components/shared/roadmap/roadmap-grid.tsx +7 -0
  166. package/src/components/shared/roadmap/roadmap-view.tsx +11 -0
  167. package/src/components/tickets/help-center-card.tsx +9 -17
  168. package/src/components/tickets/help-center-list.tsx +13 -0
  169. package/src/components/tickets/ticket-center.tsx +2 -0
  170. package/src/components/tickets/ticket-row.tsx +7 -1
  171. package/src/components/ui/simple-markdown-renderer.tsx +14 -11
  172. package/src/components/ui/tag.tsx +12 -2
  173. package/src/hooks/index.ts +5 -0
  174. package/src/hooks/use-scroll-to-hash.ts +74 -0
  175. package/src/utils/.source-icons.md +1 -1
  176. package/src/utils/dev-sections/dev-section-param-keys.ts +14 -0
  177. package/src/utils/index.ts +17 -1
  178. package/src/utils/same-page-hash-nav.ts +115 -0
  179. package/src/utils/scroll-into-view.ts +51 -9
  180. package/src/utils/source-icons.ts +7 -1
  181. package/dist/chunk-2YSC3API.cjs.map +0 -1
  182. package/dist/chunk-3SDBXXDP.cjs.map +0 -1
  183. package/dist/chunk-5KD3S25X.cjs.map +0 -1
  184. package/dist/chunk-6BWZFRUG.cjs.map +0 -1
  185. package/dist/chunk-AGRSALEN.js.map +0 -1
  186. package/dist/chunk-D6RK5YXX.cjs.map +0 -1
  187. package/dist/chunk-EI4WALN2.cjs.map +0 -1
  188. package/dist/chunk-KBKZYJRI.cjs.map +0 -1
  189. package/dist/chunk-N6ZM5PYZ.js.map +0 -1
  190. package/dist/chunk-ODR6A6FC.js.map +0 -1
  191. package/dist/chunk-R2KT5GDD.js.map +0 -1
  192. package/dist/chunk-TYZEMPPH.js.map +0 -1
  193. package/dist/chunk-VMRPM24G.cjs.map +0 -1
  194. package/dist/chunk-VRSXJ5QJ.js.map +0 -1
  195. package/dist/chunk-Y4JNA4W6.cjs.map +0 -1
  196. package/dist/chunk-Z2EOXZBW.js.map +0 -1
  197. /package/dist/{chunk-EGSAB76W.js.map → chunk-2U2M2TG2.js.map} +0 -0
  198. /package/dist/{chunk-7NM7DEUK.js.map → chunk-6GCI7JOE.js.map} +0 -0
  199. /package/dist/{chunk-ZLN6SM2U.js.map → chunk-EJXHZX2E.js.map} +0 -0
  200. /package/dist/{chunk-D4R2MUPA.js.map → chunk-FJDPUPXC.js.map} +0 -0
  201. /package/dist/{chunk-CSL3ECOF.js.map → chunk-SOJCR63T.js.map} +0 -0
@@ -7,7 +7,9 @@
7
7
 
8
8
 
9
9
 
10
- var _chunk5KD3S25Xcjs = require('./chunk-5KD3S25X.cjs');
10
+
11
+
12
+ var _chunkLFGGF7OTcjs = require('./chunk-LFGGF7OT.cjs');
11
13
 
12
14
 
13
15
  var _chunk27APPAJNcjs = require('./chunk-27APPAJN.cjs');
@@ -855,7 +857,7 @@ function usePlatformConfig() {
855
857
  label: platform.label
856
858
  }))
857
859
  ];
858
- const selectableOptions = _chunk5KD3S25Xcjs.transformPlatformConfigsToOptions.call(void 0, platforms);
860
+ const selectableOptions = _chunkLFGGF7OTcjs.transformPlatformConfigsToOptions.call(void 0, platforms);
859
861
  return {
860
862
  platforms,
861
863
  platformOptions,
@@ -894,15 +896,15 @@ var renderOpenFrameLogo = (_size, className) => (
894
896
  )
895
897
  );
896
898
  var toolIconMap = {
897
- [_chunk5KD3S25Xcjs.ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.FleetMdmLogoGreyIcon, { size, className }),
898
- [_chunk5KD3S25Xcjs.ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MeshcentralLogoGreyIcon, { size, className }),
899
- [_chunk5KD3S25Xcjs.ToolTypeValues.TACTICAL_RMM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TacticalRmmLogoIcon, { size, className }),
900
- [_chunk5KD3S25Xcjs.ToolTypeValues.OPENFRAME]: renderOpenFrameLogo,
901
- [_chunk5KD3S25Xcjs.ToolTypeValues.OPENFRAME_CHAT]: renderOpenFrameLogo,
902
- [_chunk5KD3S25Xcjs.ToolTypeValues.OPENFRAME_CLIENT]: renderOpenFrameLogo,
903
- [_chunk5KD3S25Xcjs.ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.AuthentikLogoGreyIcon, { size, className }),
904
- [_chunk5KD3S25Xcjs.ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.OsqueryLogoGreyIcon, { size, className }),
905
- [_chunk5KD3S25Xcjs.ToolTypeValues.SYSTEM]: () => null
899
+ [_chunkLFGGF7OTcjs.ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.FleetMdmLogoGreyIcon, { size, className }),
900
+ [_chunkLFGGF7OTcjs.ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MeshcentralLogoGreyIcon, { size, className }),
901
+ [_chunkLFGGF7OTcjs.ToolTypeValues.TACTICAL_RMM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TacticalRmmLogoIcon, { size, className }),
902
+ [_chunkLFGGF7OTcjs.ToolTypeValues.OPENFRAME]: renderOpenFrameLogo,
903
+ [_chunkLFGGF7OTcjs.ToolTypeValues.OPENFRAME_CHAT]: renderOpenFrameLogo,
904
+ [_chunkLFGGF7OTcjs.ToolTypeValues.OPENFRAME_CLIENT]: renderOpenFrameLogo,
905
+ [_chunkLFGGF7OTcjs.ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.AuthentikLogoGreyIcon, { size, className }),
906
+ [_chunkLFGGF7OTcjs.ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.OsqueryLogoGreyIcon, { size, className }),
907
+ [_chunkLFGGF7OTcjs.ToolTypeValues.SYSTEM]: () => null
906
908
  };
907
909
  var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access', _11 => _11[toolType], 'optionalCall', _12 => _12(size, className)]), () => ( null)) });
908
910
  ToolIcon.displayName = "ToolIcon";
@@ -2624,7 +2626,7 @@ function useAccessCodeIntegration() {
2624
2626
  const validate = async (email, code) => {
2625
2627
  setIsValidating(true);
2626
2628
  try {
2627
- return await _chunk5KD3S25Xcjs.validateAccessCode.call(void 0, email, code, endpoints);
2629
+ return await _chunkLFGGF7OTcjs.validateAccessCode.call(void 0, email, code, endpoints);
2628
2630
  } finally {
2629
2631
  setIsValidating(false);
2630
2632
  }
@@ -2632,7 +2634,7 @@ function useAccessCodeIntegration() {
2632
2634
  const consume = async (email, code) => {
2633
2635
  setIsConsuming(true);
2634
2636
  try {
2635
- return await _chunk5KD3S25Xcjs.consumeAccessCode.call(void 0, email, code, endpoints);
2637
+ return await _chunkLFGGF7OTcjs.consumeAccessCode.call(void 0, email, code, endpoints);
2636
2638
  } finally {
2637
2639
  setIsConsuming(false);
2638
2640
  }
@@ -2641,7 +2643,7 @@ function useAccessCodeIntegration() {
2641
2643
  setIsValidating(true);
2642
2644
  setIsConsuming(true);
2643
2645
  try {
2644
- return await _chunk5KD3S25Xcjs.validateAndConsumeAccessCode.call(void 0, email, code, endpoints);
2646
+ return await _chunkLFGGF7OTcjs.validateAndConsumeAccessCode.call(void 0, email, code, endpoints);
2645
2647
  } finally {
2646
2648
  setIsValidating(false);
2647
2649
  setIsConsuming(false);
@@ -2657,6 +2659,50 @@ function useAccessCodeIntegration() {
2657
2659
  };
2658
2660
  }
2659
2661
 
2662
+ // src/hooks/use-scroll-to-hash.ts
2663
+
2664
+ var MAX_POLL_FRAMES = 60;
2665
+ function useScrollToHash(readyDep = true, options) {
2666
+ const headerOffset = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _16 => _16.headerOffset]), () => ( 0));
2667
+ _react.useEffect.call(void 0, () => {
2668
+ if (typeof window === "undefined") return;
2669
+ if (readyDep === null || readyDep === false) return;
2670
+ let rafId = null;
2671
+ const cancelPoll = () => {
2672
+ if (rafId !== null) {
2673
+ cancelAnimationFrame(rafId);
2674
+ rafId = null;
2675
+ }
2676
+ };
2677
+ const tryScrollToHash = () => {
2678
+ const hash = _chunkLFGGF7OTcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
2679
+ if (!hash) return;
2680
+ cancelPoll();
2681
+ let frames = 0;
2682
+ const tick = () => {
2683
+ const el = document.getElementById(hash);
2684
+ if (el) {
2685
+ rafId = null;
2686
+ _chunkLFGGF7OTcjs.scrollElementIntoView.call(void 0, el, { headerOffset });
2687
+ return;
2688
+ }
2689
+ if (frames++ < MAX_POLL_FRAMES) {
2690
+ rafId = requestAnimationFrame(tick);
2691
+ } else {
2692
+ rafId = null;
2693
+ }
2694
+ };
2695
+ tick();
2696
+ };
2697
+ tryScrollToHash();
2698
+ window.addEventListener("hashchange", tryScrollToHash);
2699
+ return () => {
2700
+ window.removeEventListener("hashchange", tryScrollToHash);
2701
+ cancelPoll();
2702
+ };
2703
+ }, [readyDep, headerOffset]);
2704
+ }
2705
+
2660
2706
  // src/hooks/use-humanity-signals.ts
2661
2707
 
2662
2708
  function useHumanitySignals() {
@@ -2664,8 +2710,8 @@ function useHumanitySignals() {
2664
2710
  const mountedAt = _react.useRef.call(void 0, typeof performance !== "undefined" ? performance.now() : 0);
2665
2711
  const getSignals = _react.useCallback.call(void 0,
2666
2712
  () => ({
2667
- [_chunk5KD3S25Xcjs.HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _16 => _16.current, 'optionalAccess', _17 => _17.value]), () => ( "")),
2668
- [_chunk5KD3S25Xcjs.ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - mountedAt.current) : 0
2713
+ [_chunkLFGGF7OTcjs.HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _17 => _17.current, 'optionalAccess', _18 => _18.value]), () => ( "")),
2714
+ [_chunkLFGGF7OTcjs.ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - mountedAt.current) : 0
2669
2715
  }),
2670
2716
  []
2671
2717
  );
@@ -2673,7 +2719,7 @@ function useHumanitySignals() {
2673
2719
  if (ref.current) ref.current.value = "";
2674
2720
  if (typeof performance !== "undefined") mountedAt.current = performance.now();
2675
2721
  }, []);
2676
- return { honeypotInputProps: { ref, name: _chunk5KD3S25Xcjs.HONEYPOT_FIELD }, getSignals, resetSignals };
2722
+ return { honeypotInputProps: { ref, name: _chunkLFGGF7OTcjs.HONEYPOT_FIELD }, getSignals, resetSignals };
2677
2723
  }
2678
2724
 
2679
2725
 
@@ -2740,5 +2786,6 @@ function useHumanitySignals() {
2740
2786
 
2741
2787
 
2742
2788
 
2743
- exports.useHeaderHeight = useHeaderHeight; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useSearch = useSearch; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.useHumanitySignals = useHumanitySignals;
2744
- //# sourceMappingURL=chunk-KBKZYJRI.cjs.map
2789
+
2790
+ exports.useHeaderHeight = useHeaderHeight; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useSearch = useSearch; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.useScrollToHash = useScrollToHash; exports.useHumanitySignals = useHumanitySignals;
2791
+ //# sourceMappingURL=chunk-5E2HOSSH.cjs.map