@anoki/fse-ui 1.0.764 → 1.0.765

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 (271) hide show
  1. package/dist/components/ui/EditorialWidget/EditorialWidget.css +1 -1
  2. package/dist/index.cjs221.js +1 -1
  3. package/dist/index.cjs228.js +1 -1
  4. package/dist/index.cjs249.js +1 -1
  5. package/dist/index.cjs253.js +1 -1
  6. package/dist/index.cjs260.js +1 -1
  7. package/dist/index.cjs270.js +1 -1
  8. package/dist/index.cjs276.js +1 -1
  9. package/dist/index.cjs283.js +1 -1
  10. package/dist/index.cjs288.js +1 -1
  11. package/dist/index.cjs295.js +1 -1
  12. package/dist/index.cjs303.js +1 -1
  13. package/dist/index.cjs342.js +1 -1
  14. package/dist/index.cjs381.js +1 -1
  15. package/dist/index.cjs394.js +1 -27
  16. package/dist/index.cjs394.js.map +1 -1
  17. package/dist/index.cjs395.js +1 -1
  18. package/dist/index.cjs395.js.map +1 -1
  19. package/dist/index.cjs396.js +1 -1
  20. package/dist/index.cjs396.js.map +1 -1
  21. package/dist/index.cjs397.js +1 -2
  22. package/dist/index.cjs397.js.map +1 -1
  23. package/dist/index.cjs398.js +1 -1
  24. package/dist/index.cjs398.js.map +1 -1
  25. package/dist/index.cjs399.js +2 -0
  26. package/dist/index.cjs399.js.map +1 -0
  27. package/dist/index.cjs400.js +2 -0
  28. package/dist/index.cjs400.js.map +1 -0
  29. package/dist/index.cjs401.js +2 -0
  30. package/dist/index.cjs401.js.map +1 -0
  31. package/dist/index.cjs403.js +1 -1
  32. package/dist/index.cjs403.js.map +1 -1
  33. package/dist/index.cjs404.js +1 -1
  34. package/dist/index.cjs404.js.map +1 -1
  35. package/dist/index.cjs405.js +1 -1
  36. package/dist/index.cjs405.js.map +1 -1
  37. package/dist/index.cjs406.js +27 -1
  38. package/dist/index.cjs406.js.map +1 -1
  39. package/dist/index.cjs407.js +1 -1
  40. package/dist/index.cjs407.js.map +1 -1
  41. package/dist/index.cjs408.js +1 -1
  42. package/dist/index.cjs408.js.map +1 -1
  43. package/dist/index.cjs409.js +2 -1
  44. package/dist/index.cjs409.js.map +1 -1
  45. package/dist/index.cjs410.js +1 -1
  46. package/dist/index.cjs410.js.map +1 -1
  47. package/dist/index.cjs413.js +1 -1
  48. package/dist/index.cjs413.js.map +1 -1
  49. package/dist/index.cjs414.js +1 -1
  50. package/dist/index.cjs414.js.map +1 -1
  51. package/dist/index.cjs417.js +1 -1
  52. package/dist/index.cjs418.js +1 -1
  53. package/dist/index.cjs418.js.map +1 -1
  54. package/dist/index.cjs419.js +1 -1
  55. package/dist/index.cjs419.js.map +1 -1
  56. package/dist/index.cjs420.js +1 -1
  57. package/dist/index.cjs420.js.map +1 -1
  58. package/dist/index.cjs421.js +1 -1
  59. package/dist/index.cjs421.js.map +1 -1
  60. package/dist/index.cjs422.js +1 -1
  61. package/dist/index.cjs422.js.map +1 -1
  62. package/dist/index.cjs423.js +1 -1
  63. package/dist/index.cjs423.js.map +1 -1
  64. package/dist/index.cjs424.js +1 -1
  65. package/dist/index.cjs424.js.map +1 -1
  66. package/dist/index.cjs425.js +2 -0
  67. package/dist/index.cjs425.js.map +1 -0
  68. package/dist/index.cjs426.js +2 -0
  69. package/dist/index.cjs426.js.map +1 -0
  70. package/dist/index.cjs428.js +1 -1
  71. package/dist/{index.cjs429.js → index.cjs435.js} +2 -2
  72. package/dist/{index.cjs429.js.map → index.cjs435.js.map} +1 -1
  73. package/dist/{index.cjs430.js → index.cjs436.js} +2 -2
  74. package/dist/{index.cjs430.js.map → index.cjs436.js.map} +1 -1
  75. package/dist/{index.cjs431.js → index.cjs437.js} +2 -2
  76. package/dist/{index.cjs431.js.map → index.cjs437.js.map} +1 -1
  77. package/dist/index.cjs441.js +1 -1
  78. package/dist/index.cjs441.js.map +1 -1
  79. package/dist/{index.cjs439.js → index.cjs442.js} +1 -1
  80. package/dist/{index.cjs439.js.map → index.cjs442.js.map} +1 -1
  81. package/dist/{index.cjs440.js → index.cjs443.js} +2 -2
  82. package/dist/{index.cjs440.js.map → index.cjs443.js.map} +1 -1
  83. package/dist/index.cjs444.js +2 -0
  84. package/dist/index.cjs444.js.map +1 -0
  85. package/dist/index.cjs448.js +1 -4
  86. package/dist/index.cjs448.js.map +1 -1
  87. package/dist/index.cjs449.js +1 -1
  88. package/dist/index.cjs449.js.map +1 -1
  89. package/dist/index.cjs450.js +1 -1
  90. package/dist/index.cjs450.js.map +1 -1
  91. package/dist/index.cjs451.js +4 -1
  92. package/dist/index.cjs451.js.map +1 -1
  93. package/dist/index.cjs452.js +1 -1
  94. package/dist/index.cjs452.js.map +1 -1
  95. package/dist/index.cjs453.js +1 -1
  96. package/dist/index.cjs453.js.map +1 -1
  97. package/dist/index.cjs454.js +1 -38
  98. package/dist/index.cjs454.js.map +1 -1
  99. package/dist/index.cjs455.js +1 -1
  100. package/dist/index.cjs455.js.map +1 -1
  101. package/dist/index.cjs456.js +38 -1
  102. package/dist/index.cjs456.js.map +1 -1
  103. package/dist/index.cjs457.js +1 -1
  104. package/dist/index.cjs457.js.map +1 -1
  105. package/dist/index.cjs458.js +1 -1
  106. package/dist/index.cjs458.js.map +1 -1
  107. package/dist/index.cjs459.js +2 -0
  108. package/dist/index.cjs459.js.map +1 -0
  109. package/dist/index.cjs460.js +2 -0
  110. package/dist/index.cjs460.js.map +1 -0
  111. package/dist/index.cjs463.js +1 -1
  112. package/dist/index.cjs463.js.map +1 -1
  113. package/dist/index.cjs464.js +1 -1
  114. package/dist/index.cjs464.js.map +1 -1
  115. package/dist/index.cjs465.js +1 -1
  116. package/dist/index.cjs465.js.map +1 -1
  117. package/dist/index.cjs466.js +1 -1
  118. package/dist/index.cjs466.js.map +1 -1
  119. package/dist/index.cjs479.js +1 -1
  120. package/dist/index.es221.js +1 -1
  121. package/dist/index.es228.js +1 -1
  122. package/dist/index.es249.js +7 -7
  123. package/dist/index.es253.js +1 -1
  124. package/dist/index.es260.js +8 -8
  125. package/dist/index.es270.js +1 -1
  126. package/dist/index.es276.js +13 -13
  127. package/dist/index.es283.js +1 -1
  128. package/dist/index.es288.js +1 -1
  129. package/dist/index.es295.js +1 -1
  130. package/dist/index.es303.js +7 -7
  131. package/dist/index.es342.js +4 -4
  132. package/dist/index.es381.js +1 -1
  133. package/dist/index.es394.js +25 -3673
  134. package/dist/index.es394.js.map +1 -1
  135. package/dist/index.es395.js +68 -2
  136. package/dist/index.es395.js.map +1 -1
  137. package/dist/index.es396.js +6 -5
  138. package/dist/index.es396.js.map +1 -1
  139. package/dist/index.es397.js +28 -519
  140. package/dist/index.es397.js.map +1 -1
  141. package/dist/index.es398.js +6 -15
  142. package/dist/index.es398.js.map +1 -1
  143. package/dist/index.es399.js +28 -0
  144. package/dist/index.es399.js.map +1 -0
  145. package/dist/index.es400.js +72 -0
  146. package/dist/index.es400.js.map +1 -0
  147. package/dist/index.es401.js +36 -0
  148. package/dist/index.es401.js.map +1 -0
  149. package/dist/index.es403.js +10 -67
  150. package/dist/index.es403.js.map +1 -1
  151. package/dist/index.es404.js +4 -7
  152. package/dist/index.es404.js.map +1 -1
  153. package/dist/index.es405.js +49 -26
  154. package/dist/index.es405.js.map +1 -1
  155. package/dist/index.es406.js +3674 -5
  156. package/dist/index.es406.js.map +1 -1
  157. package/dist/index.es407.js +2 -25
  158. package/dist/index.es407.js.map +1 -1
  159. package/dist/index.es408.js +5 -68
  160. package/dist/index.es408.js.map +1 -1
  161. package/dist/index.es409.js +519 -31
  162. package/dist/index.es409.js.map +1 -1
  163. package/dist/index.es410.js +13 -620
  164. package/dist/index.es410.js.map +1 -1
  165. package/dist/index.es413.js +621 -3
  166. package/dist/index.es413.js.map +1 -1
  167. package/dist/index.es414.js +10 -52
  168. package/dist/index.es414.js.map +1 -1
  169. package/dist/index.es417.js +4 -4
  170. package/dist/index.es418.js +134 -14
  171. package/dist/index.es418.js.map +1 -1
  172. package/dist/index.es419.js +13 -134
  173. package/dist/index.es419.js.map +1 -1
  174. package/dist/index.es420.js +13 -216
  175. package/dist/index.es420.js.map +1 -1
  176. package/dist/index.es421.js +7 -12
  177. package/dist/index.es421.js.map +1 -1
  178. package/dist/index.es422.js +48 -176
  179. package/dist/index.es422.js.map +1 -1
  180. package/dist/index.es423.js +45 -49
  181. package/dist/index.es423.js.map +1 -1
  182. package/dist/index.es424.js +8 -9
  183. package/dist/index.es424.js.map +1 -1
  184. package/dist/index.es425.js +221 -0
  185. package/dist/index.es425.js.map +1 -0
  186. package/dist/index.es426.js +181 -0
  187. package/dist/index.es426.js.map +1 -0
  188. package/dist/index.es428.js +1 -1
  189. package/dist/{index.es429.js → index.es435.js} +3 -3
  190. package/dist/{index.es429.js.map → index.es435.js.map} +1 -1
  191. package/dist/{index.es430.js → index.es436.js} +2 -2
  192. package/dist/{index.es430.js.map → index.es436.js.map} +1 -1
  193. package/dist/{index.es431.js → index.es437.js} +4 -4
  194. package/dist/{index.es431.js.map → index.es437.js.map} +1 -1
  195. package/dist/index.es441.js +15 -5
  196. package/dist/index.es441.js.map +1 -1
  197. package/dist/{index.es439.js → index.es442.js} +1 -1
  198. package/dist/{index.es439.js.map → index.es442.js.map} +1 -1
  199. package/dist/{index.es440.js → index.es443.js} +5 -5
  200. package/dist/{index.es440.js.map → index.es443.js.map} +1 -1
  201. package/dist/index.es444.js +8 -0
  202. package/dist/index.es444.js.map +1 -0
  203. package/dist/index.es448.js +5 -110
  204. package/dist/index.es448.js.map +1 -1
  205. package/dist/index.es449.js +3 -16
  206. package/dist/index.es449.js.map +1 -1
  207. package/dist/index.es450.js +21 -520
  208. package/dist/index.es450.js.map +1 -1
  209. package/dist/index.es451.js +109 -126
  210. package/dist/index.es451.js.map +1 -1
  211. package/dist/index.es452.js +15 -128
  212. package/dist/index.es452.js.map +1 -1
  213. package/dist/index.es453.js +512 -54
  214. package/dist/index.es453.js.map +1 -1
  215. package/dist/index.es454.js +126 -68
  216. package/dist/index.es454.js.map +1 -1
  217. package/dist/index.es455.js +128 -8
  218. package/dist/index.es455.js.map +1 -1
  219. package/dist/index.es456.js +68 -13
  220. package/dist/index.es456.js.map +1 -1
  221. package/dist/index.es457.js +8 -61
  222. package/dist/index.es457.js.map +1 -1
  223. package/dist/index.es458.js +14 -15
  224. package/dist/index.es458.js.map +1 -1
  225. package/dist/index.es459.js +65 -0
  226. package/dist/index.es459.js.map +1 -0
  227. package/dist/index.es460.js +68 -0
  228. package/dist/index.es460.js.map +1 -0
  229. package/dist/index.es463.js +21 -11
  230. package/dist/index.es463.js.map +1 -1
  231. package/dist/index.es464.js +11 -26
  232. package/dist/index.es464.js.map +1 -1
  233. package/dist/index.es465.js +27 -4
  234. package/dist/index.es465.js.map +1 -1
  235. package/dist/index.es466.js +4 -22
  236. package/dist/index.es466.js.map +1 -1
  237. package/dist/index.es479.js +8 -8
  238. package/package.json +1 -1
  239. package/dist/index.cjs402.js +0 -2
  240. package/dist/index.cjs402.js.map +0 -1
  241. package/dist/index.cjs411.js +0 -2
  242. package/dist/index.cjs411.js.map +0 -1
  243. package/dist/index.cjs412.js +0 -2
  244. package/dist/index.cjs412.js.map +0 -1
  245. package/dist/index.cjs415.js +0 -2
  246. package/dist/index.cjs415.js.map +0 -1
  247. package/dist/index.cjs416.js +0 -2
  248. package/dist/index.cjs416.js.map +0 -1
  249. package/dist/index.cjs445.js +0 -2
  250. package/dist/index.cjs445.js.map +0 -1
  251. package/dist/index.cjs446.js +0 -2
  252. package/dist/index.cjs446.js.map +0 -1
  253. package/dist/index.cjs447.js +0 -2
  254. package/dist/index.cjs447.js.map +0 -1
  255. package/dist/index.es402.js +0 -30
  256. package/dist/index.es402.js.map +0 -1
  257. package/dist/index.es411.js +0 -14
  258. package/dist/index.es411.js.map +0 -1
  259. package/dist/index.es412.js +0 -14
  260. package/dist/index.es412.js.map +0 -1
  261. package/dist/index.es415.js +0 -49
  262. package/dist/index.es415.js.map +0 -1
  263. package/dist/index.es416.js +0 -11
  264. package/dist/index.es416.js.map +0 -1
  265. package/dist/index.es445.js +0 -8
  266. package/dist/index.es445.js.map +0 -1
  267. package/dist/index.es446.js +0 -6
  268. package/dist/index.es446.js.map +0 -1
  269. package/dist/index.es447.js +0 -27
  270. package/dist/index.es447.js.map +0 -1
  271. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1,8 +1,31 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
1
+ import { getNonce as o } from "./index.es466.js";
2
+ function r() {
3
+ if (!document)
4
+ return null;
5
+ var t = document.createElement("style");
6
+ t.type = "text/css";
7
+ var e = o();
8
+ return e && t.setAttribute("nonce", e), t;
9
+ }
10
+ function l(t, e) {
11
+ t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
+ }
13
+ function a(t) {
14
+ var e = document.head || document.getElementsByTagName("head")[0];
15
+ e.appendChild(t);
16
+ }
17
+ var c = function() {
18
+ var t = 0, e = null;
19
+ return {
20
+ add: function(n) {
21
+ t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
+ },
23
+ remove: function() {
24
+ t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
+ }
26
+ };
4
27
  };
5
28
  export {
6
- e as getNonce
29
+ c as stylesheetSingleton
7
30
  };
8
31
  //# sourceMappingURL=index.es465.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es465.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es465.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
@@ -1,26 +1,8 @@
1
- var a = {
2
- left: 0,
3
- top: 0,
4
- right: 0,
5
- gap: 0
6
- }, e = function(t) {
7
- return parseInt(t || "", 10) || 0;
8
- }, o = function(t) {
9
- var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
- return [e(i), e(r), e(d)];
11
- }, f = function(t) {
12
- if (t === void 0 && (t = "margin"), typeof window > "u")
13
- return a;
14
- var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
- return {
16
- left: n[0],
17
- top: n[1],
18
- right: n[2],
19
- gap: Math.max(0, r - i + n[2] - n[0])
20
- };
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
21
4
  };
22
5
  export {
23
- f as getGapWidth,
24
- a as zeroGap
6
+ e as getNonce
25
7
  };
26
8
  //# sourceMappingURL=index.es466.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es466.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es466.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
@@ -1,13 +1,13 @@
1
1
  import * as c from "react";
2
- import { Primitive as L } from "./index.es409.js";
3
- import { Presence as O } from "./index.es408.js";
4
- import { createContextScope as le } from "./index.es403.js";
5
- import { useComposedRefs as T } from "./index.es402.js";
6
- import { useCallbackRef as x } from "./index.es412.js";
7
- import { useDirection as ce } from "./index.es416.js";
8
- import { useLayoutEffect as se } from "./index.es413.js";
2
+ import { Primitive as L } from "./index.es401.js";
3
+ import { Presence as O } from "./index.es400.js";
4
+ import { createContextScope as le } from "./index.es395.js";
5
+ import { useComposedRefs as T } from "./index.es394.js";
6
+ import { useCallbackRef as x } from "./index.es403.js";
7
+ import { useDirection as ce } from "./index.es424.js";
8
+ import { useLayoutEffect as se } from "./index.es404.js";
9
9
  import { clamp as ie } from "./index.es495.js";
10
- import { composeEventHandlers as C } from "./index.es404.js";
10
+ import { composeEventHandlers as C } from "./index.es396.js";
11
11
  import { j as b } from "./index.es216.js";
12
12
  function ae(e, t) {
13
13
  return c.useReducer((r, l) => t[r][l] ?? r, e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anoki/fse-ui",
3
- "version": "1.0.764",
3
+ "version": "1.0.765",
4
4
  "description": "FSE UI components library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
- //# sourceMappingURL=index.cjs402.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs402.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACb,CAAK,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAS,EAETR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAEhC,CACO,CAEJ,CACH,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs413.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
2
- //# sourceMappingURL=index.cjs411.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs411.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,UAAU,KAAM,EAAC,SAAU,CAAA,IAAM,IAAA,IACpDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACED,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACvE,EAAK,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
2
- //# sourceMappingURL=index.cjs412.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs412.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs403.js"),I=require("./index.cjs402.js"),M=require("./index.cjs414.js"),f=require("./index.cjs216.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
2
- //# sourceMappingURL=index.cjs415.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs415.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CACvE,EACKM,EAAsBC,GAAU,CACpC,KAAM,CAAE,MAAAC,EAAO,SAAAC,CAAQ,EAAKF,EACtBG,EAAMC,EAAM,OAAO,IAAI,EACvBC,EAAUD,EAAM,OAAuB,IAAI,GAAK,EAAE,QACxD,OAAuBE,EAAG,kBAAA,IAACT,EAAwB,CAAE,MAAAI,EAAO,QAAAI,EAAS,cAAeF,EAAK,SAAAD,EAAU,CACpG,EACDH,EAAmB,YAAcN,EACjC,MAAMc,EAAuBf,EAAO,iBAC9BgB,EAAqBC,EAAU,WAACF,CAAoB,EACpDG,EAAiBN,EAAM,WAC3B,CAACJ,EAAOW,IAAiB,CACvB,KAAM,CAAE,MAAAV,EAAO,SAAAC,CAAQ,EAAKF,EACtBY,EAAUd,EAAqBS,EAAsBN,CAAK,EAC1DY,EAAeC,EAAe,gBAACH,EAAcC,EAAQ,aAAa,EACxE,OAAuBN,EAAAA,kBAAAA,IAAIE,EAAoB,CAAE,IAAKK,EAAc,SAAAX,CAAQ,CAAE,CACpF,CACG,EACDQ,EAAe,YAAcH,EAC7B,MAAMQ,EAAiBvB,EAAO,qBACxBwB,EAAiB,6BACjBC,EAAyBR,EAAU,WAACM,CAAc,EAClDG,EAAqBd,EAAM,WAC/B,CAACJ,EAAOW,IAAiB,CACvB,KAAM,CAAE,MAAAV,EAAO,SAAAC,EAAU,GAAGiB,CAAU,EAAGnB,EACnCG,EAAMC,EAAM,OAAO,IAAI,EACvBS,EAAeC,EAAAA,gBAAgBH,EAAcR,CAAG,EAChDS,EAAUd,EAAqBiB,EAAgBd,CAAK,EAC1D,OAAAG,EAAM,UAAU,KACdQ,EAAQ,QAAQ,IAAIT,EAAK,CAAE,IAAAA,EAAK,GAAGgB,EAAU,EACtC,IAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,EACsBG,wBAAIW,EAAwB,CAAO,CAACD,CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAX,EAAU,CACrH,CACG,EACDgB,EAAmB,YAAcH,EACjC,SAASK,EAAcnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAE,EAC9B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs216.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
2
- //# sourceMappingURL=index.cjs416.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs416.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"gaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
2
- //# sourceMappingURL=index.cjs445.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs445.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs453.js");var r=e.createSidecarMedium();exports.effectCar=r;
2
- //# sourceMappingURL=index.cjs446.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs446.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"qHACU,IAACA,EAAYC,EAAmB,oBAAA","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs461.js"),g=require("./index.cjs462.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
2
- //# sourceMappingURL=index.cjs447.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs447.js","sources":["../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":"icAGA,IAAIA,EAA4B,OAAO,OAAW,IAAcC,EAAM,gBAAkBA,EAAM,UAC1FC,EAAgB,IAAI,QAejB,SAASC,EAAaC,EAAMC,EAAc,CAC7C,IAAIC,EAAcC,EAAAA,eAA+B,KAAM,SAAUC,EAAU,CACvE,OAAOJ,EAAK,QAAQ,SAAUK,EAAK,CAAE,OAAOC,EAAAA,UAAUD,EAAKD,CAAQ,EAAI,CAC/E,CAAK,EAED,OAAAR,EAA0B,UAAY,CAClC,IAAIW,EAAWT,EAAc,IAAII,CAAW,EAC5C,GAAIK,EAAU,CACV,IAAIC,EAAa,IAAI,IAAID,CAAQ,EAC7BE,EAAa,IAAI,IAAIT,CAAI,EACzBU,EAAYR,EAAY,QAC5BM,EAAW,QAAQ,SAAUH,EAAK,CACzBI,EAAW,IAAIJ,CAAG,GACnBC,EAAS,UAACD,EAAK,IAAI,CAEvC,CAAa,EACDI,EAAW,QAAQ,SAAUJ,EAAK,CACzBG,EAAW,IAAIH,CAAG,GACnBC,EAAS,UAACD,EAAKK,CAAS,CAE5C,CAAa,CACb,CACQZ,EAAc,IAAII,EAAaF,CAAI,CAC3C,EAAO,CAACA,CAAI,CAAC,EACFE,CACX","x_google_ignoreList":[0]}
@@ -1,30 +0,0 @@
1
- import * as f from "react";
2
- function l(n, o) {
3
- if (typeof n == "function")
4
- return n(o);
5
- n != null && (n.current = o);
6
- }
7
- function i(...n) {
8
- return (o) => {
9
- let u = !1;
10
- const c = n.map((t) => {
11
- const e = l(t, o);
12
- return !u && typeof e == "function" && (u = !0), e;
13
- });
14
- if (u)
15
- return () => {
16
- for (let t = 0; t < c.length; t++) {
17
- const e = c[t];
18
- typeof e == "function" ? e() : l(n[t], null);
19
- }
20
- };
21
- };
22
- }
23
- function s(...n) {
24
- return f.useCallback(i(...n), n);
25
- }
26
- export {
27
- i as composeRefs,
28
- s as useComposedRefs
29
- };
30
- //# sourceMappingURL=index.es402.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es402.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
@@ -1,14 +0,0 @@
1
- import * as o from "react";
2
- import { useLayoutEffect as a } from "./index.es413.js";
3
- var s = o[" useId ".trim().toString()] || (() => {
4
- }), f = 0;
5
- function i(t) {
6
- const [e, r] = o.useState(s());
7
- return a(() => {
8
- r((u) => u ?? String(f++));
9
- }, [t]), t || (e ? `radix-${e}` : "");
10
- }
11
- export {
12
- i as useId
13
- };
14
- //# sourceMappingURL=index.es411.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es411.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":";;AAGA,IAAIA,IAAaC,EAAM,UAAU,KAAM,EAAC,SAAU,CAAA,MAAM,MAAA;AAAA,IACpDC,IAAQ;AACZ,SAASC,EAAMC,GAAiB;AAC9B,QAAM,CAACC,GAAIC,CAAK,IAAIL,EAAM,SAASD,GAAY;AAC/CO,SAAAA,EAAgB,MAAM;AACE,IAAAD,EAAM,CAACE,MAAYA,KAAW,OAAON,GAAO,CAAC;AAAA,EACvE,GAAK,CAACE,CAAe,CAAC,GACbA,MAAoBC,IAAK,SAASA,CAAE,KAAK;AAClD;","x_google_ignoreList":[0]}
@@ -1,14 +0,0 @@
1
- import * as r from "react";
2
- function o(t) {
3
- const e = r.useRef(t);
4
- return r.useEffect(() => {
5
- e.current = t;
6
- }), r.useMemo(() => (...n) => {
7
- var u;
8
- return (u = e.current) == null ? void 0 : u.call(e, ...n);
9
- }, []);
10
- }
11
- export {
12
- o as useCallbackRef
13
- };
14
- //# sourceMappingURL=index.es412.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es412.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
@@ -1,49 +0,0 @@
1
- import r from "react";
2
- import { createContextScope as y } from "./index.es403.js";
3
- import { useComposedRefs as S } from "./index.es402.js";
4
- import { createSlot as M } from "./index.es414.js";
5
- import { j as d } from "./index.es216.js";
6
- function D(s) {
7
- const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
- m,
9
- { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
- ), p = (c) => {
11
- const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
- return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
- };
14
- p.displayName = m;
15
- const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
- (c, e) => {
17
- const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
- return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
19
- }
20
- );
21
- C.displayName = a;
22
- const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
- (c, e) => {
24
- const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
- return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
26
- }
27
- );
28
- x.displayName = u;
29
- function O(c) {
30
- const e = f(s + "CollectionConsumer", c);
31
- return r.useCallback(() => {
32
- const o = e.collectionRef.current;
33
- if (!o) return [];
34
- const t = Array.from(o.querySelectorAll(`[${R}]`));
35
- return Array.from(e.itemMap.values()).sort(
36
- (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
- );
38
- }, [e.collectionRef, e.itemMap]);
39
- }
40
- return [
41
- { Provider: p, Slot: C, ItemSlot: x },
42
- O,
43
- E
44
- ];
45
- }
46
- export {
47
- D as createCollection
48
- };
49
- //# sourceMappingURL=index.es415.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es415.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,gBAAAA,EAAG,IAACT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACpG;AACD,EAAAH,EAAmB,cAAcN;AACjC,QAAMc,IAAuBf,IAAO,kBAC9BgB,IAAqBC,EAAWF,CAAoB,GACpDG,IAAiBN,EAAM;AAAA,IAC3B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,EAAQ,IAAKF,GACtBY,IAAUd,EAAqBS,GAAsBN,CAAK,GAC1DY,IAAeC,EAAgBH,GAAcC,EAAQ,aAAa;AACxE,aAAuBN,gBAAAA,EAAAA,IAAIE,GAAoB,EAAE,KAAKK,GAAc,UAAAX,EAAQ,CAAE;AAAA,IACpF;AAAA,EACG;AACD,EAAAQ,EAAe,cAAcH;AAC7B,QAAMQ,IAAiBvB,IAAO,sBACxBwB,IAAiB,8BACjBC,IAAyBR,EAAWM,CAAc,GAClDG,IAAqBd,EAAM;AAAA,IAC/B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,GAAU,GAAGiB,EAAU,IAAGnB,GACnCG,IAAMC,EAAM,OAAO,IAAI,GACvBS,IAAeC,EAAgBH,GAAcR,CAAG,GAChDS,IAAUd,EAAqBiB,GAAgBd,CAAK;AAC1DG,aAAAA,EAAM,UAAU,OACdQ,EAAQ,QAAQ,IAAIT,GAAK,EAAE,KAAAA,GAAK,GAAGgB,GAAU,GACtC,MAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,GACsBG,gBAAAA,MAAIW,GAAwB,EAAO,CAACD,CAAc,GAAG,IAAM,KAAKH,GAAc,UAAAX,GAAU;AAAA,IACrH;AAAA,EACG;AACD,EAAAgB,EAAmB,cAAcH;AACjC,WAASK,EAAcnB,GAAO;AAC5B,UAAMW,IAAUd,EAAqBN,IAAO,sBAAsBS,CAAK;AAWvE,WAViBG,EAAM,YAAY,MAAM;AACvC,YAAMiB,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAE;AAC9B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- import * as t from "react";
2
- import "./index.es216.js";
3
- var r = t.createContext(void 0);
4
- function n(o) {
5
- const e = t.useContext(r);
6
- return o || e || "ltr";
7
- }
8
- export {
9
- n as useDirection
10
- };
11
- //# sourceMappingURL=index.es416.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es416.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM;AAKjD,SAASC,EAAaC,GAAU;AAC9B,QAAMC,IAAYH,EAAM,WAAWD,CAAgB;AACnD,SAAOG,KAAYC,KAAa;AAClC;","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
- export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
7
- };
8
- //# sourceMappingURL=index.es445.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es445.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
@@ -1,6 +0,0 @@
1
- import { createSidecarMedium as e } from "./index.es453.js";
2
- var a = e();
3
- export {
4
- a as effectCar
5
- };
6
- //# sourceMappingURL=index.es446.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es446.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
@@ -1,27 +0,0 @@
1
- import * as f from "react";
2
- import { assignRef as o } from "./index.es461.js";
3
- import { useCallbackRef as l } from "./index.es462.js";
4
- var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
- function v(e, m) {
6
- var t = l(null, function(n) {
7
- return e.forEach(function(u) {
8
- return o(u, n);
9
- });
10
- });
11
- return s(function() {
12
- var n = c.get(t);
13
- if (n) {
14
- var u = new Set(n), r = new Set(e), i = t.current;
15
- u.forEach(function(a) {
16
- r.has(a) || o(a, null);
17
- }), r.forEach(function(a) {
18
- u.has(a) || o(a, i);
19
- });
20
- }
21
- c.set(t, e);
22
- }, [e]), t;
23
- }
24
- export {
25
- v as useMergeRefs
26
- };
27
- //# sourceMappingURL=index.es447.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es447.js","sources":["../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAS;AAe1B,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,KAAI;AAAA,EAC/E,CAAK;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAEvC,CAAa,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAE5C,CAAa;AAAA,IACb;AACQ,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EAC3C,GAAO,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}