@anoki/fse-ui 1.10.1-RC2.13 → 1.10.1-RC2.15

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 (233) hide show
  1. package/dist/components/ui/GroupCodeExemptionFilterDropDown/GroupCodeExemptionFilterDropDown.css +1 -1
  2. package/dist/index.cjs113.js +1 -1
  3. package/dist/index.cjs113.js.map +1 -1
  4. package/dist/index.cjs251.js +1 -1
  5. package/dist/index.cjs258.js +1 -1
  6. package/dist/index.cjs265.js +1 -1
  7. package/dist/index.cjs266.js +1 -1
  8. package/dist/index.cjs267.js +1 -1
  9. package/dist/index.cjs310.js +1 -1
  10. package/dist/index.cjs321.js +1 -1
  11. package/dist/index.cjs328.js +1 -1
  12. package/dist/index.cjs335.js +1 -1
  13. package/dist/index.cjs340.js +1 -1
  14. package/dist/index.cjs351.js +1 -1
  15. package/dist/index.cjs359.js +1 -1
  16. package/dist/index.cjs400.js +1 -1
  17. package/dist/index.cjs441.js +1 -1
  18. package/dist/index.cjs462.js +27 -1
  19. package/dist/index.cjs462.js.map +1 -1
  20. package/dist/index.cjs463.js +1 -2
  21. package/dist/index.cjs463.js.map +1 -1
  22. package/dist/index.cjs464.js +1 -27
  23. package/dist/index.cjs464.js.map +1 -1
  24. package/dist/index.cjs465.js +1 -1
  25. package/dist/index.cjs465.js.map +1 -1
  26. package/dist/index.cjs466.js +2 -1
  27. package/dist/index.cjs466.js.map +1 -1
  28. package/dist/index.cjs467.js +1 -1
  29. package/dist/index.cjs474.js +1 -1
  30. package/dist/index.cjs475.js +1 -1
  31. package/dist/index.cjs480.js +1 -1
  32. package/dist/index.cjs480.js.map +1 -1
  33. package/dist/index.cjs481.js +1 -1
  34. package/dist/index.cjs481.js.map +1 -1
  35. package/dist/index.cjs482.js +1 -1
  36. package/dist/index.cjs482.js.map +1 -1
  37. package/dist/index.cjs488.js +2 -0
  38. package/dist/index.cjs488.js.map +1 -0
  39. package/dist/index.cjs489.js +1 -1
  40. package/dist/index.cjs489.js.map +1 -1
  41. package/dist/index.cjs490.js +1 -1
  42. package/dist/index.cjs490.js.map +1 -1
  43. package/dist/index.cjs491.js +1 -1
  44. package/dist/index.cjs491.js.map +1 -1
  45. package/dist/index.cjs492.js +1 -1
  46. package/dist/index.cjs492.js.map +1 -1
  47. package/dist/index.cjs493.js +1 -1
  48. package/dist/index.cjs493.js.map +1 -1
  49. package/dist/index.cjs494.js +1 -1
  50. package/dist/index.cjs494.js.map +1 -1
  51. package/dist/index.cjs498.js +2 -0
  52. package/dist/index.cjs498.js.map +1 -0
  53. package/dist/index.cjs513.js +1 -1
  54. package/dist/index.cjs527.js +1 -1
  55. package/dist/index.cjs527.js.map +1 -1
  56. package/dist/index.cjs528.js +1 -1
  57. package/dist/index.cjs529.js +1 -1
  58. package/dist/index.cjs529.js.map +1 -1
  59. package/dist/index.cjs530.js +1 -1
  60. package/dist/index.cjs530.js.map +1 -1
  61. package/dist/index.cjs532.js +1 -1
  62. package/dist/index.cjs534.js +1 -1
  63. package/dist/index.cjs537.js +1 -1
  64. package/dist/index.cjs537.js.map +1 -1
  65. package/dist/index.cjs538.js +1 -1
  66. package/dist/index.cjs538.js.map +1 -1
  67. package/dist/index.cjs576.js +1 -1
  68. package/dist/index.cjs576.js.map +1 -1
  69. package/dist/index.cjs577.js +1 -1
  70. package/dist/index.cjs577.js.map +1 -1
  71. package/dist/index.cjs578.js +1 -1
  72. package/dist/index.cjs578.js.map +1 -1
  73. package/dist/index.cjs579.js +1 -1
  74. package/dist/index.cjs579.js.map +1 -1
  75. package/dist/index.cjs580.js +1 -1
  76. package/dist/index.cjs580.js.map +1 -1
  77. package/dist/index.cjs581.js +1 -1
  78. package/dist/index.cjs581.js.map +1 -1
  79. package/dist/index.cjs582.js +1 -1
  80. package/dist/index.cjs583.js +1 -1
  81. package/dist/index.cjs584.js +1 -1
  82. package/dist/index.cjs589.js +1 -1
  83. package/dist/index.cjs593.js +1 -1
  84. package/dist/index.cjs594.js +1 -1
  85. package/dist/index.cjs601.js +1 -1
  86. package/dist/index.cjs606.js +1 -1
  87. package/dist/index.cjs645.js +1 -1
  88. package/dist/index.cjs647.js +1 -1
  89. package/dist/index.cjs648.js +1 -1
  90. package/dist/index.cjs655.js +1 -1
  91. package/dist/index.cjs662.js +1 -38
  92. package/dist/index.cjs662.js.map +1 -1
  93. package/dist/index.cjs663.js +38 -1
  94. package/dist/index.cjs663.js.map +1 -1
  95. package/dist/index.cjs664.js +1 -1
  96. package/dist/index.cjs664.js.map +1 -1
  97. package/dist/index.cjs665.js +1 -1
  98. package/dist/index.cjs665.js.map +1 -1
  99. package/dist/index.cjs666.js +1 -1
  100. package/dist/index.cjs666.js.map +1 -1
  101. package/dist/index.cjs667.js +1 -1
  102. package/dist/index.cjs667.js.map +1 -1
  103. package/dist/index.cjs668.js +1 -1
  104. package/dist/index.cjs668.js.map +1 -1
  105. package/dist/index.cjs669.js +1 -1
  106. package/dist/index.cjs669.js.map +1 -1
  107. package/dist/index.cjs670.js +1 -1
  108. package/dist/index.cjs670.js.map +1 -1
  109. package/dist/index.cjs671.js +1 -1
  110. package/dist/index.cjs671.js.map +1 -1
  111. package/dist/index.cjs672.js +1 -1
  112. package/dist/index.cjs672.js.map +1 -1
  113. package/dist/index.es113.js +11 -12
  114. package/dist/index.es113.js.map +1 -1
  115. package/dist/index.es251.js +1 -1
  116. package/dist/index.es258.js +2 -2
  117. package/dist/index.es265.js +1 -1
  118. package/dist/index.es266.js +2 -2
  119. package/dist/index.es267.js +2 -2
  120. package/dist/index.es310.js +3 -3
  121. package/dist/index.es321.js +1 -1
  122. package/dist/index.es328.js +8 -8
  123. package/dist/index.es335.js +1 -1
  124. package/dist/index.es340.js +1 -1
  125. package/dist/index.es351.js +1 -1
  126. package/dist/index.es359.js +2 -2
  127. package/dist/index.es400.js +1 -1
  128. package/dist/index.es441.js +1 -1
  129. package/dist/index.es462.js +3674 -5
  130. package/dist/index.es462.js.map +1 -1
  131. package/dist/index.es463.js +5 -520
  132. package/dist/index.es463.js.map +1 -1
  133. package/dist/index.es464.js +2 -3675
  134. package/dist/index.es464.js.map +1 -1
  135. package/dist/index.es465.js +5 -5
  136. package/dist/index.es465.js.map +1 -1
  137. package/dist/index.es466.js +521 -2
  138. package/dist/index.es466.js.map +1 -1
  139. package/dist/index.es467.js +1 -1
  140. package/dist/index.es474.js +1 -1
  141. package/dist/index.es475.js +8 -8
  142. package/dist/index.es480.js +5 -14
  143. package/dist/index.es480.js.map +1 -1
  144. package/dist/index.es481.js +24 -5
  145. package/dist/index.es481.js.map +1 -1
  146. package/dist/index.es482.js +67 -23
  147. package/dist/index.es482.js.map +1 -1
  148. package/dist/index.es488.js +128 -0
  149. package/dist/index.es488.js.map +1 -0
  150. package/dist/index.es489.js +126 -116
  151. package/dist/index.es489.js.map +1 -1
  152. package/dist/index.es490.js +13 -134
  153. package/dist/index.es490.js.map +1 -1
  154. package/dist/index.es491.js +14 -13
  155. package/dist/index.es491.js.map +1 -1
  156. package/dist/index.es492.js +8 -14
  157. package/dist/index.es492.js.map +1 -1
  158. package/dist/index.es493.js +50 -9
  159. package/dist/index.es493.js.map +1 -1
  160. package/dist/index.es494.js +55 -49
  161. package/dist/index.es494.js.map +1 -1
  162. package/dist/index.es498.js +18 -0
  163. package/dist/index.es498.js.map +1 -0
  164. package/dist/index.es513.js +1 -1
  165. package/dist/index.es527.js +131 -8
  166. package/dist/index.es527.js.map +1 -1
  167. package/dist/index.es528.js +1 -1
  168. package/dist/index.es529.js +9 -3
  169. package/dist/index.es529.js.map +1 -1
  170. package/dist/index.es530.js +2 -131
  171. package/dist/index.es530.js.map +1 -1
  172. package/dist/index.es532.js +1 -1
  173. package/dist/index.es534.js +4 -4
  174. package/dist/index.es537.js +14 -2
  175. package/dist/index.es537.js.map +1 -1
  176. package/dist/index.es538.js +2 -14
  177. package/dist/index.es538.js.map +1 -1
  178. package/dist/index.es576.js +22 -202
  179. package/dist/index.es576.js.map +1 -1
  180. package/dist/index.es577.js +27 -20
  181. package/dist/index.es577.js.map +1 -1
  182. package/dist/index.es578.js +5 -393
  183. package/dist/index.es578.js.map +1 -1
  184. package/dist/index.es579.js +202 -22
  185. package/dist/index.es579.js.map +1 -1
  186. package/dist/index.es580.js +20 -27
  187. package/dist/index.es580.js.map +1 -1
  188. package/dist/index.es581.js +393 -5
  189. package/dist/index.es581.js.map +1 -1
  190. package/dist/index.es582.js +1 -1
  191. package/dist/index.es583.js +1 -1
  192. package/dist/index.es584.js +1 -1
  193. package/dist/index.es589.js +1 -1
  194. package/dist/index.es593.js +1 -1
  195. package/dist/index.es594.js +8 -8
  196. package/dist/index.es601.js +2 -2
  197. package/dist/index.es606.js +3 -3
  198. package/dist/index.es645.js +1 -1
  199. package/dist/index.es647.js +5 -5
  200. package/dist/index.es648.js +1 -1
  201. package/dist/index.es655.js +2 -2
  202. package/dist/index.es662.js +65 -69
  203. package/dist/index.es662.js.map +1 -1
  204. package/dist/index.es663.js +68 -8
  205. package/dist/index.es663.js.map +1 -1
  206. package/dist/index.es664.js +9 -14
  207. package/dist/index.es664.js.map +1 -1
  208. package/dist/index.es665.js +14 -62
  209. package/dist/index.es665.js.map +1 -1
  210. package/dist/index.es666.js +61 -64
  211. package/dist/index.es666.js.map +1 -1
  212. package/dist/index.es667.js +3 -522
  213. package/dist/index.es667.js.map +1 -1
  214. package/dist/index.es668.js +509 -113
  215. package/dist/index.es668.js.map +1 -1
  216. package/dist/index.es669.js +121 -123
  217. package/dist/index.es669.js.map +1 -1
  218. package/dist/index.es670.js +129 -3
  219. package/dist/index.es670.js.map +1 -1
  220. package/dist/index.es671.js +3 -2
  221. package/dist/index.es671.js.map +1 -1
  222. package/dist/index.es672.js +2 -4
  223. package/dist/index.es672.js.map +1 -1
  224. package/package.json +1 -1
  225. package/dist/index.cjs483.js +0 -2
  226. package/dist/index.cjs483.js.map +0 -1
  227. package/dist/index.cjs495.js +0 -2
  228. package/dist/index.cjs495.js.map +0 -1
  229. package/dist/index.es483.js +0 -72
  230. package/dist/index.es483.js.map +0 -1
  231. package/dist/index.es495.js +0 -59
  232. package/dist/index.es495.js.map +0 -1
  233. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es498.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":";;AAgDA,SAASA,IAAqB;AAC5B,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,IAAI,GAC3CC,IAAOC,EAAY,OAAOC,MAAS;AACvC,QAAI,EAAE,aAAa,QAAgB,UAAU;AAC3C,qBAAQ,KAAK,yBAAyB,GAC/B;AAET,QAAI;AACF,mBAAM,UAAU,UAAU,UAAUA,CAAI,GACxCJ,EAAcI,CAAI,GACX;AAAA,IACR,SAAQC,GAAO;AACd,qBAAQ,KAAK,eAAeA,CAAK,GACjCL,EAAc,IAAI,GACX;AAAA,IACb;AAAA,EACG,GAAE,EAAE;AACL,SAAO,CAACD,GAAYG,CAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { commonjsGlobal as u } from "./index.es465.js";
1
+ import { commonjsGlobal as u } from "./index.es463.js";
2
2
  import { __module as f } from "./index.es514.js";
3
3
  var j = f.exports, E;
4
4
  function S() {
@@ -1,13 +1,136 @@
1
- import { e as i, c as m } from "./index.es528.js";
2
- function o(f, a, n, l) {
3
- return f.params.createElements && Object.keys(l).forEach((e) => {
4
- if (!n[e] && n.auto === !0) {
5
- let t = i(f.el, `.${l[e]}`)[0];
6
- t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
1
+ function r(e) {
2
+ return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
+ }
4
+ function o(e, n) {
5
+ e === void 0 && (e = {}), n === void 0 && (n = {});
6
+ const u = ["__proto__", "constructor", "prototype"];
7
+ Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
8
+ typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
9
+ });
10
+ }
11
+ const i = {
12
+ body: {},
13
+ addEventListener() {
14
+ },
15
+ removeEventListener() {
16
+ },
17
+ activeElement: {
18
+ blur() {
19
+ },
20
+ nodeName: ""
21
+ },
22
+ querySelector() {
23
+ return null;
24
+ },
25
+ querySelectorAll() {
26
+ return [];
27
+ },
28
+ getElementById() {
29
+ return null;
30
+ },
31
+ createEvent() {
32
+ return {
33
+ initEvent() {
34
+ }
35
+ };
36
+ },
37
+ createElement() {
38
+ return {
39
+ children: [],
40
+ childNodes: [],
41
+ style: {},
42
+ setAttribute() {
43
+ },
44
+ getElementsByTagName() {
45
+ return [];
46
+ }
47
+ };
48
+ },
49
+ createElementNS() {
50
+ return {};
51
+ },
52
+ importNode() {
53
+ return null;
54
+ },
55
+ location: {
56
+ hash: "",
57
+ host: "",
58
+ hostname: "",
59
+ href: "",
60
+ origin: "",
61
+ pathname: "",
62
+ protocol: "",
63
+ search: ""
64
+ }
65
+ };
66
+ function s() {
67
+ const e = typeof document < "u" ? document : {};
68
+ return o(e, i), e;
69
+ }
70
+ const c = {
71
+ document: i,
72
+ navigator: {
73
+ userAgent: ""
74
+ },
75
+ location: {
76
+ hash: "",
77
+ host: "",
78
+ hostname: "",
79
+ href: "",
80
+ origin: "",
81
+ pathname: "",
82
+ protocol: "",
83
+ search: ""
84
+ },
85
+ history: {
86
+ replaceState() {
87
+ },
88
+ pushState() {
89
+ },
90
+ go() {
91
+ },
92
+ back() {
7
93
  }
8
- }), n;
94
+ },
95
+ CustomEvent: function() {
96
+ return this;
97
+ },
98
+ addEventListener() {
99
+ },
100
+ removeEventListener() {
101
+ },
102
+ getComputedStyle() {
103
+ return {
104
+ getPropertyValue() {
105
+ return "";
106
+ }
107
+ };
108
+ },
109
+ Image() {
110
+ },
111
+ Date() {
112
+ },
113
+ screen: {},
114
+ setTimeout() {
115
+ },
116
+ clearTimeout() {
117
+ },
118
+ matchMedia() {
119
+ return {};
120
+ },
121
+ requestAnimationFrame(e) {
122
+ return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
123
+ },
124
+ cancelAnimationFrame(e) {
125
+ typeof setTimeout > "u" || clearTimeout(e);
126
+ }
127
+ };
128
+ function a() {
129
+ const e = typeof window < "u" ? window : {};
130
+ return o(e, c), e;
9
131
  }
10
132
  export {
11
- o as c
133
+ a,
134
+ s as g
12
135
  };
13
136
  //# sourceMappingURL=index.es527.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es527.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es527.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { a } from "./index.es530.js";
1
+ import { a } from "./index.es527.js";
2
2
  function y(e) {
3
3
  return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
4
4
  }
@@ -1,7 +1,13 @@
1
- function r(e) {
2
- return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
1
+ import { e as i, c as m } from "./index.es528.js";
2
+ function o(f, a, n, l) {
3
+ return f.params.createElements && Object.keys(l).forEach((e) => {
4
+ if (!n[e] && n.auto === !0) {
5
+ let t = i(f.el, `.${l[e]}`)[0];
6
+ t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
7
+ }
8
+ }), n;
3
9
  }
4
10
  export {
5
- r as c
11
+ o as c
6
12
  };
7
13
  //# sourceMappingURL=index.es529.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es529.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es529.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
@@ -1,136 +1,7 @@
1
1
  function r(e) {
2
- return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
- }
4
- function o(e, n) {
5
- e === void 0 && (e = {}), n === void 0 && (n = {});
6
- const u = ["__proto__", "constructor", "prototype"];
7
- Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
8
- typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
9
- });
10
- }
11
- const i = {
12
- body: {},
13
- addEventListener() {
14
- },
15
- removeEventListener() {
16
- },
17
- activeElement: {
18
- blur() {
19
- },
20
- nodeName: ""
21
- },
22
- querySelector() {
23
- return null;
24
- },
25
- querySelectorAll() {
26
- return [];
27
- },
28
- getElementById() {
29
- return null;
30
- },
31
- createEvent() {
32
- return {
33
- initEvent() {
34
- }
35
- };
36
- },
37
- createElement() {
38
- return {
39
- children: [],
40
- childNodes: [],
41
- style: {},
42
- setAttribute() {
43
- },
44
- getElementsByTagName() {
45
- return [];
46
- }
47
- };
48
- },
49
- createElementNS() {
50
- return {};
51
- },
52
- importNode() {
53
- return null;
54
- },
55
- location: {
56
- hash: "",
57
- host: "",
58
- hostname: "",
59
- href: "",
60
- origin: "",
61
- pathname: "",
62
- protocol: "",
63
- search: ""
64
- }
65
- };
66
- function s() {
67
- const e = typeof document < "u" ? document : {};
68
- return o(e, i), e;
69
- }
70
- const c = {
71
- document: i,
72
- navigator: {
73
- userAgent: ""
74
- },
75
- location: {
76
- hash: "",
77
- host: "",
78
- hostname: "",
79
- href: "",
80
- origin: "",
81
- pathname: "",
82
- protocol: "",
83
- search: ""
84
- },
85
- history: {
86
- replaceState() {
87
- },
88
- pushState() {
89
- },
90
- go() {
91
- },
92
- back() {
93
- }
94
- },
95
- CustomEvent: function() {
96
- return this;
97
- },
98
- addEventListener() {
99
- },
100
- removeEventListener() {
101
- },
102
- getComputedStyle() {
103
- return {
104
- getPropertyValue() {
105
- return "";
106
- }
107
- };
108
- },
109
- Image() {
110
- },
111
- Date() {
112
- },
113
- screen: {},
114
- setTimeout() {
115
- },
116
- clearTimeout() {
117
- },
118
- matchMedia() {
119
- return {};
120
- },
121
- requestAnimationFrame(e) {
122
- return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
123
- },
124
- cancelAnimationFrame(e) {
125
- typeof setTimeout > "u" || clearTimeout(e);
126
- }
127
- };
128
- function a() {
129
- const e = typeof window < "u" ? window : {};
130
- return o(e, c), e;
2
+ return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
131
3
  }
132
4
  export {
133
- a,
134
- s as g
5
+ r as c
135
6
  };
136
7
  //# sourceMappingURL=index.es530.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es530.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es530.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import r from "react";
2
2
  import { createContextScope as y } from "./index.es472.js";
3
3
  import { useComposedRefs as S } from "./index.es471.js";
4
- import { createSlot as M } from "./index.es495.js";
4
+ import { createSlot as M } from "./index.es494.js";
5
5
  import { j as d } from "./index.es247.js";
6
6
  function D(s) {
7
7
  const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
@@ -1,14 +1,14 @@
1
1
  import * as s from "react";
2
- import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es576.js";
3
- import { Root as Oe } from "./index.es577.js";
2
+ import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es579.js";
3
+ import { Root as Oe } from "./index.es580.js";
4
4
  import { useComposedRefs as T } from "./index.es471.js";
5
5
  import { createContextScope as Re } from "./index.es472.js";
6
6
  import { Primitive as z } from "./index.es474.js";
7
7
  import { useCallbackRef as Ee } from "./index.es531.js";
8
8
  import { useLayoutEffect as B } from "./index.es536.js";
9
- import { useSize as Ne } from "./index.es482.js";
9
+ import { useSize as Ne } from "./index.es481.js";
10
10
  import { j as f } from "./index.es247.js";
11
- import { autoUpdate as _e } from "./index.es578.js";
11
+ import { autoUpdate as _e } from "./index.es581.js";
12
12
  var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
13
  const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
14
  return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
@@ -1,3 +1,15 @@
1
- import { __require as e } from "./index.es582.js";
2
- e();
1
+ import * as r from "react";
2
+ import { useCallbackRef as s } from "./index.es531.js";
3
+ function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
+ const t = s(n);
5
+ r.useEffect(() => {
6
+ const o = (a) => {
7
+ a.key === "Escape" && t(a);
8
+ };
9
+ return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
+ }, [t, e]);
11
+ }
12
+ export {
13
+ p as useEscapeKeydown
14
+ };
3
15
  //# sourceMappingURL=index.es537.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es537.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.es537.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
@@ -1,15 +1,3 @@
1
- import * as r from "react";
2
- import { useCallbackRef as s } from "./index.es531.js";
3
- function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
- const t = s(n);
5
- r.useEffect(() => {
6
- const o = (a) => {
7
- a.key === "Escape" && t(a);
8
- };
9
- return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
- }, [t, e]);
11
- }
12
- export {
13
- p as useEscapeKeydown
14
- };
1
+ import { __require as e } from "./index.es582.js";
2
+ e();
15
3
  //# sourceMappingURL=index.es538.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es538.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es538.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}