@anoki/fse-ui 1.0.425 → 1.0.426

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 (325) hide show
  1. package/dist/components/navigations/Footer/Footer.css +1 -1
  2. package/dist/index.cjs16.js +1 -1
  3. package/dist/index.cjs16.js.map +1 -1
  4. package/dist/index.cjs18.js +1 -1
  5. package/dist/index.cjs186.js +1 -1
  6. package/dist/index.cjs186.js.map +1 -1
  7. package/dist/index.cjs190.js +1 -1
  8. package/dist/index.cjs191.js +1 -1
  9. package/dist/index.cjs197.js +1 -1
  10. package/dist/index.cjs208.js +1 -1
  11. package/dist/index.cjs215.js +1 -1
  12. package/dist/index.cjs220.js +1 -1
  13. package/dist/index.cjs227.js +1 -1
  14. package/dist/index.cjs235.js +1 -1
  15. package/dist/index.cjs237.js +2 -2
  16. package/dist/index.cjs237.js.map +1 -1
  17. package/dist/index.cjs24.js +1 -1
  18. package/dist/index.cjs25.js +1 -1
  19. package/dist/index.cjs26.js +1 -1
  20. package/dist/index.cjs27.js +1 -1
  21. package/dist/index.cjs280.js +2 -2
  22. package/dist/index.cjs281.js +9 -9
  23. package/dist/index.cjs287.js +2 -0
  24. package/dist/index.cjs287.js.map +1 -0
  25. package/dist/index.cjs288.js +1 -1
  26. package/dist/index.cjs288.js.map +1 -1
  27. package/dist/index.cjs289.js +2 -0
  28. package/dist/index.cjs289.js.map +1 -0
  29. package/dist/{index.cjs294.js → index.cjs290.js} +2 -2
  30. package/dist/{index.cjs294.js.map → index.cjs290.js.map} +1 -1
  31. package/dist/index.cjs291.js +1 -1
  32. package/dist/index.cjs291.js.map +1 -1
  33. package/dist/index.cjs292.js +1 -1
  34. package/dist/index.cjs292.js.map +1 -1
  35. package/dist/index.cjs293.js +1 -1
  36. package/dist/index.cjs293.js.map +1 -1
  37. package/dist/index.cjs295.js +1 -1
  38. package/dist/index.cjs295.js.map +1 -1
  39. package/dist/index.cjs296.js +1 -1
  40. package/dist/index.cjs296.js.map +1 -1
  41. package/dist/index.cjs297.js +1 -1
  42. package/dist/index.cjs297.js.map +1 -1
  43. package/dist/index.cjs298.js +1 -1
  44. package/dist/index.cjs298.js.map +1 -1
  45. package/dist/index.cjs299.js +1 -1
  46. package/dist/index.cjs299.js.map +1 -1
  47. package/dist/index.cjs30.js +1 -1
  48. package/dist/index.cjs300.js +1 -1
  49. package/dist/index.cjs300.js.map +1 -1
  50. package/dist/index.cjs301.js +1 -1
  51. package/dist/index.cjs301.js.map +1 -1
  52. package/dist/index.cjs302.js +1 -1
  53. package/dist/index.cjs302.js.map +1 -1
  54. package/dist/index.cjs303.js +1 -1
  55. package/dist/index.cjs303.js.map +1 -1
  56. package/dist/index.cjs304.js +1 -1
  57. package/dist/index.cjs304.js.map +1 -1
  58. package/dist/index.cjs305.js +1 -1
  59. package/dist/index.cjs305.js.map +1 -1
  60. package/dist/index.cjs306.js +1 -1
  61. package/dist/index.cjs306.js.map +1 -1
  62. package/dist/index.cjs307.js +1 -1
  63. package/dist/index.cjs307.js.map +1 -1
  64. package/dist/index.cjs308.js +1 -1
  65. package/dist/index.cjs308.js.map +1 -1
  66. package/dist/index.cjs309.js +1 -1
  67. package/dist/index.cjs309.js.map +1 -1
  68. package/dist/index.cjs310.js +1 -1
  69. package/dist/index.cjs310.js.map +1 -1
  70. package/dist/index.cjs311.js +1 -1
  71. package/dist/index.cjs311.js.map +1 -1
  72. package/dist/index.cjs312.js +1 -1
  73. package/dist/index.cjs312.js.map +1 -1
  74. package/dist/index.cjs313.js +1 -1
  75. package/dist/index.cjs313.js.map +1 -1
  76. package/dist/index.cjs314.js +1 -1
  77. package/dist/index.cjs314.js.map +1 -1
  78. package/dist/index.cjs315.js +1 -1
  79. package/dist/index.cjs315.js.map +1 -1
  80. package/dist/index.cjs316.js +2 -0
  81. package/dist/index.cjs316.js.map +1 -0
  82. package/dist/index.cjs32.js +1 -1
  83. package/dist/index.cjs320.js +1 -1
  84. package/dist/index.cjs320.js.map +1 -1
  85. package/dist/index.cjs321.js +1 -1
  86. package/dist/index.cjs321.js.map +1 -1
  87. package/dist/index.cjs322.js +1 -1
  88. package/dist/index.cjs322.js.map +1 -1
  89. package/dist/{index.cjs347.js → index.cjs323.js} +2 -2
  90. package/dist/{index.cjs347.js.map → index.cjs323.js.map} +1 -1
  91. package/dist/{index.cjs348.js → index.cjs324.js} +2 -2
  92. package/dist/{index.cjs348.js.map → index.cjs324.js.map} +1 -1
  93. package/dist/index.cjs325.js +2 -0
  94. package/dist/{index.cjs349.js.map → index.cjs325.js.map} +1 -1
  95. package/dist/{index.cjs350.js → index.cjs326.js} +1 -1
  96. package/dist/{index.cjs350.js.map → index.cjs326.js.map} +1 -1
  97. package/dist/{index.cjs351.js → index.cjs327.js} +2 -2
  98. package/dist/{index.cjs351.js.map → index.cjs327.js.map} +1 -1
  99. package/dist/index.cjs328.js +2 -0
  100. package/dist/index.cjs328.js.map +1 -0
  101. package/dist/index.cjs329.js +38 -1
  102. package/dist/index.cjs329.js.map +1 -1
  103. package/dist/index.cjs330.js +1 -1
  104. package/dist/index.cjs330.js.map +1 -1
  105. package/dist/index.cjs331.js +1 -1
  106. package/dist/index.cjs331.js.map +1 -1
  107. package/dist/index.cjs332.js +1 -1
  108. package/dist/index.cjs332.js.map +1 -1
  109. package/dist/index.cjs333.js +2 -0
  110. package/dist/{index.cjs352.js.map → index.cjs333.js.map} +1 -1
  111. package/dist/index.cjs334.js +2 -0
  112. package/dist/index.cjs334.js.map +1 -0
  113. package/dist/index.cjs340.js +1 -1
  114. package/dist/index.cjs340.js.map +1 -1
  115. package/dist/index.cjs341.js +1 -1
  116. package/dist/index.cjs341.js.map +1 -1
  117. package/dist/index.cjs342.js +1 -1
  118. package/dist/index.cjs342.js.map +1 -1
  119. package/dist/index.cjs343.js +1 -1
  120. package/dist/index.cjs343.js.map +1 -1
  121. package/dist/index.cjs344.js +1 -1
  122. package/dist/index.cjs344.js.map +1 -1
  123. package/dist/index.cjs345.js +1 -1
  124. package/dist/index.cjs345.js.map +1 -1
  125. package/dist/index.cjs35.js +1 -1
  126. package/dist/index.cjs37.js +1 -1
  127. package/dist/index.cjs47.js +1 -1
  128. package/dist/index.cjs68.js +1 -1
  129. package/dist/index.cjs69.js +1 -1
  130. package/dist/index.cjs93.js +1 -1
  131. package/dist/index.es142.js +1 -1
  132. package/dist/index.es144.js +2 -2
  133. package/dist/index.es145.js +24 -24
  134. package/dist/index.es152.js +1 -1
  135. package/dist/index.es16.js +13 -13
  136. package/dist/index.es16.js.map +1 -1
  137. package/dist/index.es18.js +22 -22
  138. package/dist/index.es186.js +22 -22
  139. package/dist/index.es186.js.map +1 -1
  140. package/dist/index.es190.js +25 -25
  141. package/dist/index.es191.js +10 -10
  142. package/dist/index.es197.js +8 -8
  143. package/dist/index.es208.js +57 -57
  144. package/dist/index.es215.js +1 -1
  145. package/dist/index.es220.js +1 -1
  146. package/dist/index.es227.js +1 -1
  147. package/dist/index.es235.js +32 -32
  148. package/dist/index.es237.js +22 -22
  149. package/dist/index.es237.js.map +1 -1
  150. package/dist/index.es24.js +4 -4
  151. package/dist/index.es25.js +38 -38
  152. package/dist/index.es26.js +21 -21
  153. package/dist/index.es27.js +2 -2
  154. package/dist/index.es280.js +20 -20
  155. package/dist/index.es281.js +91 -91
  156. package/dist/index.es287.js +10 -0
  157. package/dist/index.es287.js.map +1 -0
  158. package/dist/index.es288.js +27 -15
  159. package/dist/index.es288.js.map +1 -1
  160. package/dist/index.es289.js +71 -0
  161. package/dist/index.es289.js.map +1 -0
  162. package/dist/index.es290.js +33 -0
  163. package/dist/{index.es294.js.map → index.es290.js.map} +1 -1
  164. package/dist/index.es291.js +32 -6
  165. package/dist/index.es291.js.map +1 -1
  166. package/dist/index.es292.js +618 -23
  167. package/dist/index.es292.js.map +1 -1
  168. package/dist/index.es293.js +10 -67
  169. package/dist/index.es293.js.map +1 -1
  170. package/dist/index.es295.js +10 -32
  171. package/dist/index.es295.js.map +1 -1
  172. package/dist/index.es296.js +41 -621
  173. package/dist/index.es296.js.map +1 -1
  174. package/dist/index.es297.js +45 -10
  175. package/dist/index.es297.js.map +1 -1
  176. package/dist/index.es298.js +7 -5
  177. package/dist/index.es298.js.map +1 -1
  178. package/dist/index.es299.js +123 -23
  179. package/dist/index.es299.js.map +1 -1
  180. package/dist/index.es300.js +13 -67
  181. package/dist/index.es300.js.map +1 -1
  182. package/dist/index.es301.js +134 -28
  183. package/dist/index.es301.js.map +1 -1
  184. package/dist/index.es302.js +217 -10
  185. package/dist/index.es302.js.map +1 -1
  186. package/dist/index.es303.js +13 -45
  187. package/dist/index.es303.js.map +1 -1
  188. package/dist/index.es304.js +66 -43
  189. package/dist/index.es304.js.map +1 -1
  190. package/dist/index.es305.js +177 -7
  191. package/dist/index.es305.js.map +1 -1
  192. package/dist/index.es306.js +47 -122
  193. package/dist/index.es306.js.map +1 -1
  194. package/dist/index.es307.js +8 -14
  195. package/dist/index.es307.js.map +1 -1
  196. package/dist/index.es308.js +4 -135
  197. package/dist/index.es308.js.map +1 -1
  198. package/dist/index.es309.js +11 -217
  199. package/dist/index.es309.js.map +1 -1
  200. package/dist/index.es310.js +204 -13
  201. package/dist/index.es310.js.map +1 -1
  202. package/dist/index.es311.js +19 -175
  203. package/dist/index.es311.js.map +1 -1
  204. package/dist/index.es312.js +25 -50
  205. package/dist/index.es312.js.map +1 -1
  206. package/dist/index.es313.js +393 -9
  207. package/dist/index.es313.js.map +1 -1
  208. package/dist/index.es314.js +24 -3
  209. package/dist/index.es314.js.map +1 -1
  210. package/dist/index.es315.js +28 -41
  211. package/dist/index.es315.js.map +1 -1
  212. package/dist/index.es316.js +8 -0
  213. package/dist/index.es316.js.map +1 -0
  214. package/dist/index.es32.js +4 -4
  215. package/dist/index.es320.js +5 -14
  216. package/dist/index.es320.js.map +1 -1
  217. package/dist/index.es321.js +3 -33
  218. package/dist/index.es321.js.map +1 -1
  219. package/dist/index.es322.js +23 -41
  220. package/dist/index.es322.js.map +1 -1
  221. package/dist/{index.es347.js → index.es323.js} +6 -6
  222. package/dist/{index.es347.js.map → index.es323.js.map} +1 -1
  223. package/dist/{index.es348.js → index.es324.js} +2 -2
  224. package/dist/{index.es348.js.map → index.es324.js.map} +1 -1
  225. package/dist/{index.es349.js → index.es325.js} +98 -98
  226. package/dist/{index.es349.js.map → index.es325.js.map} +1 -1
  227. package/dist/{index.es350.js → index.es326.js} +7 -7
  228. package/dist/{index.es350.js.map → index.es326.js.map} +1 -1
  229. package/dist/{index.es351.js → index.es327.js} +43 -43
  230. package/dist/{index.es351.js.map → index.es327.js.map} +1 -1
  231. package/dist/index.es328.js +9 -0
  232. package/dist/index.es328.js.map +1 -0
  233. package/dist/index.es329.js +68 -11
  234. package/dist/index.es329.js.map +1 -1
  235. package/dist/index.es330.js +8 -204
  236. package/dist/index.es330.js.map +1 -1
  237. package/dist/index.es331.js +14 -22
  238. package/dist/index.es331.js.map +1 -1
  239. package/dist/index.es332.js +60 -391
  240. package/dist/index.es332.js.map +1 -1
  241. package/dist/{index.es352.js → index.es333.js} +2 -2
  242. package/dist/{index.es352.js.map → index.es333.js.map} +1 -1
  243. package/dist/index.es334.js +18 -0
  244. package/dist/index.es334.js.map +1 -0
  245. package/dist/index.es340.js +3 -24
  246. package/dist/index.es340.js.map +1 -1
  247. package/dist/index.es341.js +23 -29
  248. package/dist/index.es341.js.map +1 -1
  249. package/dist/index.es342.js +23 -5
  250. package/dist/index.es342.js.map +1 -1
  251. package/dist/index.es343.js +13 -42
  252. package/dist/index.es343.js.map +1 -1
  253. package/dist/index.es344.js +28 -5
  254. package/dist/index.es344.js.map +1 -1
  255. package/dist/index.es345.js +5 -3
  256. package/dist/index.es345.js.map +1 -1
  257. package/dist/index.es35.js +14 -14
  258. package/dist/index.es37.js +6 -6
  259. package/dist/index.es47.js +2 -2
  260. package/dist/index.es5.js +4 -4
  261. package/dist/index.es65.js +44 -44
  262. package/dist/index.es68.js +25 -25
  263. package/dist/index.es69.js +23 -23
  264. package/dist/index.es93.js +17 -17
  265. package/package.json +2 -2
  266. package/dist/index.cjs318.js +0 -2
  267. package/dist/index.cjs318.js.map +0 -1
  268. package/dist/index.cjs319.js +0 -2
  269. package/dist/index.cjs319.js.map +0 -1
  270. package/dist/index.cjs339.js +0 -2
  271. package/dist/index.cjs339.js.map +0 -1
  272. package/dist/index.cjs346.js +0 -2
  273. package/dist/index.cjs346.js.map +0 -1
  274. package/dist/index.cjs349.js +0 -2
  275. package/dist/index.cjs352.js +0 -2
  276. package/dist/index.cjs353.js +0 -39
  277. package/dist/index.cjs353.js.map +0 -1
  278. package/dist/index.cjs354.js +0 -2
  279. package/dist/index.cjs354.js.map +0 -1
  280. package/dist/index.cjs355.js +0 -2
  281. package/dist/index.cjs355.js.map +0 -1
  282. package/dist/index.cjs356.js +0 -2
  283. package/dist/index.cjs356.js.map +0 -1
  284. package/dist/index.cjs357.js +0 -2
  285. package/dist/index.cjs357.js.map +0 -1
  286. package/dist/index.cjs358.js +0 -2
  287. package/dist/index.cjs358.js.map +0 -1
  288. package/dist/index.cjs359.js +0 -2
  289. package/dist/index.cjs359.js.map +0 -1
  290. package/dist/index.cjs360.js +0 -2
  291. package/dist/index.cjs360.js.map +0 -1
  292. package/dist/index.cjs361.js +0 -2
  293. package/dist/index.cjs361.js.map +0 -1
  294. package/dist/index.cjs362.js +0 -2
  295. package/dist/index.cjs362.js.map +0 -1
  296. package/dist/index.es294.js +0 -33
  297. package/dist/index.es318.js +0 -128
  298. package/dist/index.es318.js.map +0 -1
  299. package/dist/index.es319.js +0 -138
  300. package/dist/index.es319.js.map +0 -1
  301. package/dist/index.es339.js +0 -32
  302. package/dist/index.es339.js.map +0 -1
  303. package/dist/index.es346.js +0 -27
  304. package/dist/index.es346.js.map +0 -1
  305. package/dist/index.es353.js +0 -72
  306. package/dist/index.es353.js.map +0 -1
  307. package/dist/index.es354.js +0 -12
  308. package/dist/index.es354.js.map +0 -1
  309. package/dist/index.es355.js +0 -17
  310. package/dist/index.es355.js.map +0 -1
  311. package/dist/index.es356.js +0 -65
  312. package/dist/index.es356.js.map +0 -1
  313. package/dist/index.es357.js +0 -7
  314. package/dist/index.es357.js.map +0 -1
  315. package/dist/index.es358.js +0 -26
  316. package/dist/index.es358.js.map +0 -1
  317. package/dist/index.es359.js +0 -16
  318. package/dist/index.es359.js.map +0 -1
  319. package/dist/index.es360.js +0 -31
  320. package/dist/index.es360.js.map +0 -1
  321. package/dist/index.es361.js +0 -8
  322. package/dist/index.es361.js.map +0 -1
  323. package/dist/index.es362.js +0 -26
  324. package/dist/index.es362.js.map +0 -1
  325. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1,28 +1,7 @@
1
- var p = function() {
2
- return p = Object.assign || function(e) {
3
- for (var n, r = 1, o = arguments.length; r < o; r++) {
4
- n = arguments[r];
5
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
6
- }
7
- return e;
8
- }, p.apply(this, arguments);
9
- };
10
- function c(t, e) {
11
- var n = {};
12
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
- e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
- return n;
17
- }
18
- function l(t, e, n) {
19
- if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
- (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
- return t.concat(a || Array.prototype.slice.call(e));
1
+ function i(n, t) {
2
+ return typeof n == "function" ? n(t) : n && (n.current = t), n;
22
3
  }
23
4
  export {
24
- p as __assign,
25
- c as __rest,
26
- l as __spreadArray
5
+ i as assignRef
27
6
  };
28
7
  //# sourceMappingURL=index.es340.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es340.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IACrF;AACM,WAAOJ;AAAA,EACb,GACSD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAE;AACV,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es340.js","sources":["../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
@@ -1,32 +1,26 @@
1
- import { __rest as k, __assign as r } from "./index.es340.js";
2
- import * as a from "react";
3
- import { fullWidthClassName as E, zeroRightClassName as I } from "./index.es344.js";
4
- import { effectCar as Z } from "./index.es345.js";
5
- import { useMergeRefs as W } from "./index.es346.js";
6
- var l = function() {
7
- }, m = a.forwardRef(function(e, d) {
8
- var o = a.useRef(null), n = a.useState({
9
- onScrollCapture: l,
10
- onWheelCapture: l,
11
- onTouchMoveCapture: l
12
- }), f = n[0], h = n[1], u = e.forwardProps, t = e.children, v = e.className, C = e.removeScrollBar, g = e.enabled, P = e.shards, R = e.sideCar, S = e.noIsolation, b = e.inert, w = e.allowPinchZoom, s = e.as, N = s === void 0 ? "div" : s, M = e.gapMode, _ = k(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), B = R, i = W([o, d]), c = r(r({}, _), f);
13
- return a.createElement(
14
- a.Fragment,
15
- null,
16
- g && a.createElement(B, { sideCar: Z, removeScrollBar: C, shards: P, noIsolation: S, inert: b, setCallbacks: h, allowPinchZoom: !!w, lockRef: o, gapMode: M }),
17
- u ? a.cloneElement(a.Children.only(t), r(r({}, c), { ref: i })) : a.createElement(N, r({}, c, { className: v, ref: i }), t)
18
- );
19
- });
20
- m.defaultProps = {
21
- enabled: !0,
22
- removeScrollBar: !0,
23
- inert: !1
24
- };
25
- m.classNames = {
26
- fullWidth: E,
27
- zeroRight: I
28
- };
1
+ import { useState as u } from "react";
2
+ function n(c, r) {
3
+ var e = u(function() {
4
+ return {
5
+ // value
6
+ value: c,
7
+ // last callback
8
+ callback: r,
9
+ // "memoized" public interface
10
+ facade: {
11
+ get current() {
12
+ return e.value;
13
+ },
14
+ set current(a) {
15
+ var t = e.value;
16
+ t !== a && (e.value = a, e.callback(a, t));
17
+ }
18
+ }
19
+ };
20
+ })[0];
21
+ return e.callback = r, e.facade;
22
+ }
29
23
  export {
30
- m as RemoveScroll
24
+ n as useCallbackRef
31
25
  };
32
26
  //# sourceMappingURL=index.es341.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es341.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAcb,EAAM,aAAac,IAAQd,EAAM,OAAOe,IAAiBf,EAAM,gBAAgBgB,IAAKhB,EAAM,IAAIiB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUlB,EAAM,SAASmB,IAAOC,EAAOpB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACtiBqB,IAAUT,GACVU,IAAeC,EAAa,CAACrB,GAAKD,CAAS,CAAC,GAC5CuB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGf,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcsB,GAAS,EAAE,SAASK,GAAW,iBAAiBjB,GAAiB,QAAQE,GAAQ,aAAaE,GAAa,OAAOC,GAAO,cAAcT,GAAc,gBAAgB,CAAC,CAACU,GAAgB,SAASb,GAAK,SAASgB,EAAS,CAAA;AAAA,IACvPZ,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGkB,EAASA,EAAS,CAAE,GAAED,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMvB,EAAM,cAAckB,GAAWQ,EAAS,CAAE,GAAED,GAAgB,EAAE,WAAWhB,GAAW,KAAKc,EAAc,CAAA,GAAGf,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW6B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es341.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACd;AAAA,QACD,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAE/B;AAAA,MACJ;AAAA,IACT;AAAA,EAAO,CAAE,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
@@ -1,8 +1,26 @@
1
- import { RemoveScrollSideCar as r } from "./index.es347.js";
2
- import { effectCar as o } from "./index.es345.js";
3
- import { exportSidecar as e } from "./index.es348.js";
4
- const f = e(o, r);
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
+ };
21
+ };
5
22
  export {
6
- f as default
23
+ f as getGapWidth,
24
+ a as zeroGap
7
25
  };
8
26
  //# sourceMappingURL=index.es342.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es342.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es342.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,45 +1,16 @@
1
- import * as l from "react";
2
- import { composeRefs as u } from "./index.es292.js";
3
- import { j as c } from "./index.es161.js";
4
- var d = l.forwardRef((r, n) => {
5
- const { children: e, ...t } = r, o = l.Children.toArray(e), i = o.find(g);
6
- if (i) {
7
- const s = i.props.children, a = o.map((p) => p === i ? l.Children.count(s) > 1 ? l.Children.only(null) : l.isValidElement(s) ? s.props.children : null : p);
8
- return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: l.isValidElement(s) ? l.cloneElement(s, void 0, a) : null });
9
- }
10
- return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: e });
11
- });
12
- d.displayName = "Slot";
13
- var f = l.forwardRef((r, n) => {
14
- const { children: e, ...t } = r;
15
- if (l.isValidElement(e)) {
16
- const o = h(e), i = y(t, e.props);
17
- return e.type !== l.Fragment && (i.ref = n ? u(n, o) : o), l.cloneElement(e, i);
18
- }
19
- return l.Children.count(e) > 1 ? l.Children.only(null) : null;
20
- });
21
- f.displayName = "SlotClone";
22
- var m = ({ children: r }) => /* @__PURE__ */ c.jsx(c.Fragment, { children: r });
23
- function g(r) {
24
- return l.isValidElement(r) && r.type === m;
25
- }
26
- function y(r, n) {
27
- const e = { ...n };
28
- for (const t in n) {
29
- const o = r[t], i = n[t];
30
- /^on[A-Z]/.test(t) ? o && i ? e[t] = (...a) => {
31
- i(...a), o(...a);
32
- } : o && (e[t] = o) : t === "style" ? e[t] = { ...o, ...i } : t === "className" && (e[t] = [o, i].filter(Boolean).join(" "));
33
- }
34
- return { ...r, ...e };
35
- }
36
- function h(r) {
37
- var t, o;
38
- let n = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, e = n && "isReactWarning" in n && n.isReactWarning;
39
- return e ? r.ref : (n = (o = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : o.get, e = n && "isReactWarning" in n && n.isReactWarning, e ? r.props.ref : r.props.ref || r.ref);
40
- }
1
+ import * as o from "react";
2
+ import { stylesheetSingleton as r } from "./index.es344.js";
3
+ var i = function() {
4
+ var t = r();
5
+ return function(e, n) {
6
+ o.useEffect(function() {
7
+ return t.add(e), function() {
8
+ t.remove();
9
+ };
10
+ }, [e && n]);
11
+ };
12
+ };
41
13
  export {
42
- d as Slot,
43
- m as Slottable
14
+ i as styleHookSingleton
44
15
  };
45
16
  //# sourceMappingURL=index.es343.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es343.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,WAAuBC,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,EACtL;AACE,SAAuBE,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAAC,GAAU;AACrF,CAAC;AACDJ,EAAK,cAAc;AACnB,IAAIa,IAAYZ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACxD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,MAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,UAAMU,IAAcC,EAAcX,CAAQ,GACpCY,IAASC,EAAWZ,GAAWD,EAAS,KAAK;AACnD,WAAIA,EAAS,SAASH,EAAM,aAC1Be,EAAO,MAAMb,IAAee,EAAYf,GAAcW,CAAW,IAAIA,IAEhEb,EAAM,aAAaG,GAAUY,CAAM;AAAA,EAC9C;AACE,SAAOf,EAAM,SAAS,MAAMG,CAAQ,IAAI,IAAIH,EAAM,SAAS,KAAK,IAAI,IAAI;AAC1E,CAAC;AACDY,EAAU,cAAc;AACrB,IAACM,IAAY,CAAC,EAAE,UAAAf,QACMQ,gBAAAA,MAAIQ,EAAAA,UAAW,EAAE,UAAAhB,GAAU;AAEpD,SAASI,EAAYG,GAAO;AAC1B,SAAOV,EAAM,eAAeU,CAAK,KAAKA,EAAM,SAASQ;AACvD;AACA,SAASF,EAAWZ,GAAWgB,GAAY;AACzC,QAAMC,IAAgB,EAAE,GAAGD,EAAY;AACvC,aAAWE,KAAYF,GAAY;AACjC,UAAMG,IAAgBnB,EAAUkB,CAAQ,GAClCE,IAAiBJ,EAAWE,CAAQ;AAE1C,IADkB,WAAW,KAAKA,CAAQ,IAEpCC,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,MAAAD,EAAe,GAAGC,CAAI,GACtBF,EAAc,GAAGE,CAAI;AAAA,IACtB,IACQF,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAgB,IACxDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAExF;AACE,SAAO,EAAE,GAAGpB,GAAW,GAAGiB,EAAe;AAC3C;AACA,SAASP,EAAcY,GAAS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es343.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
@@ -1,8 +1,31 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
1
+ import { getNonce as o } from "./index.es345.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
+ };
27
+ };
2
28
  export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
29
+ c as stylesheetSingleton
7
30
  };
8
31
  //# sourceMappingURL=index.es344.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es344.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
+ {"version":3,"file":"index.es344.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,6 +1,8 @@
1
- import { createSidecarMedium as e } from "./index.es352.js";
2
- var a = e();
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
4
+ };
3
5
  export {
4
- a as effectCar
6
+ e as getNonce
5
7
  };
6
8
  //# sourceMappingURL=index.es345.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es345.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
+ {"version":3,"file":"index.es345.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]}
@@ -3,42 +3,42 @@ import { ArrowRight as o } from "./index.es113.js";
3
3
  const j = ({
4
4
  href: a,
5
5
  asLink: i = "a",
6
- isExternal: n = !1,
6
+ isExternal: r = !1,
7
7
  fs: l = "6",
8
- children: r,
8
+ children: n,
9
9
  className: c = "",
10
- onClick: d,
11
- type: m = "button",
10
+ onClick: m,
11
+ type: d = "button",
12
12
  asButton: f,
13
13
  ...s
14
14
  }) => {
15
- const t = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${((h) => `fs-${h}`)(l)} ${c}`;
15
+ const t = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${((p) => `fs-${p}`)(l)} ${c}`;
16
16
  if (f)
17
17
  return /* @__PURE__ */ e.jsxs(
18
18
  "button",
19
19
  {
20
20
  className: `bg-transparent border-none ${t}`,
21
- onClick: d,
22
- type: m,
21
+ onClick: m,
22
+ type: d,
23
23
  ...s,
24
24
  children: [
25
- r,
25
+ n,
26
26
  /* @__PURE__ */ e.jsx(o, { color: "primary", width: 24, height: 24 })
27
27
  ]
28
28
  }
29
29
  );
30
- const u = i;
30
+ const h = i;
31
31
  return /* @__PURE__ */ e.jsxs(
32
- u,
32
+ h,
33
33
  {
34
34
  className: t,
35
35
  href: a,
36
- target: n ? "_blank" : void 0,
37
- rel: n ? "noreferrer noopener" : void 0,
36
+ target: r ? "_blank" : void 0,
37
+ rel: r ? "noreferrer noopener" : void 0,
38
38
  ...s,
39
39
  children: [
40
- r,
41
- n && /* @__PURE__ */ e.jsxs("span", { className: "visually-hidden", children: [
40
+ n,
41
+ r && /* @__PURE__ */ e.jsxs("span", { className: "visually-hidden", children: [
42
42
  " ",
43
43
  "(si apre in una nuova finestra)"
44
44
  ] }),
@@ -1,9 +1,9 @@
1
1
  import { j as o } from "./index.es161.js";
2
- import { Root as d, Portal as n, Overlay as i, Content as l } from "./index.es208.js";
2
+ import { Root as d, Portal as i, Overlay as l, Content as n } from "./index.es208.js";
3
3
  import { BaseModalHeader as p } from "./index.es209.js";
4
4
  import { BaseModalFooter as x } from "./index.es210.js";
5
5
  import { BaseModalContent as c } from "./index.es211.js";
6
- import { BaseModalBackHeader as f } from "./index.es212.js";
6
+ import { BaseModalBackHeader as B } from "./index.es212.js";
7
7
  import './components/ui/BaseModal/BaseModal.css';/* empty css */
8
8
  const e = ({
9
9
  open: a,
@@ -11,10 +11,10 @@ const e = ({
11
11
  overrideClassNames: t,
12
12
  id: s = void 0,
13
13
  children: m
14
- }) => /* @__PURE__ */ o.jsx(d, { open: a, onOpenChange: r, children: /* @__PURE__ */ o.jsxs(n, { children: [
15
- /* @__PURE__ */ o.jsx(i, { className: "ui-base-modal-overlay" }),
14
+ }) => /* @__PURE__ */ o.jsx(d, { open: a, onOpenChange: r, children: /* @__PURE__ */ o.jsxs(i, { children: [
15
+ /* @__PURE__ */ o.jsx(l, { className: "ui-base-modal-overlay" }),
16
16
  /* @__PURE__ */ o.jsx(
17
- l,
17
+ n,
18
18
  {
19
19
  className: `bg-white shadow br-x4 ui-base-modal-body ${t ?? ""}`,
20
20
  id: s,
@@ -23,7 +23,7 @@ const e = ({
23
23
  )
24
24
  ] }) });
25
25
  e.Header = p;
26
- e.HeaderBack = f;
26
+ e.HeaderBack = B;
27
27
  e.Content = c;
28
28
  e.Footer = x;
29
29
  export {
@@ -2,7 +2,7 @@ import { j as e } from "./index.es161.js";
2
2
  import { Root as l, Thumb as c } from "./index.es235.js";
3
3
  import { Row as x } from "./index.es9.js";
4
4
  import './components/ui/Switch/Switch.css';/* empty css */
5
- const g = ({
5
+ const p = ({
6
6
  id: t = void 0,
7
7
  label: s = "",
8
8
  checked: o = !1,
@@ -70,6 +70,6 @@ const g = ({
70
70
  ] });
71
71
  };
72
72
  export {
73
- g as Switch
73
+ p as Switch
74
74
  };
75
75
  //# sourceMappingURL=index.es47.js.map
package/dist/index.es5.js CHANGED
@@ -1,5 +1,5 @@
1
- import { signedOffset as E, parseFloating as l, parseMillis as F, untruncateYear as w, parseInteger as f, isUndefined as Y } from "./index.es148.js";
2
- import { monthsShort as v, weekdaysLong as z, weekdaysShort as P } from "./index.es277.js";
1
+ import { signedOffset as E, parseMillis as F, parseFloating as l, parseInteger as f, untruncateYear as w, isUndefined as Y } from "./index.es148.js";
2
+ import { weekdaysLong as v, weekdaysShort as z, monthsShort as P } from "./index.es277.js";
3
3
  import y from "./index.es146.js";
4
4
  import q from "./index.es156.js";
5
5
  const W = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
@@ -95,12 +95,12 @@ const te = {
95
95
  function D(e, t, n, r, o, i, d) {
96
96
  const s = {
97
97
  year: t.length === 2 ? w(f(t)) : f(t),
98
- month: v.indexOf(n) + 1,
98
+ month: P.indexOf(n) + 1,
99
99
  day: f(r),
100
100
  hour: f(o),
101
101
  minute: f(i)
102
102
  };
103
- return d && (s.second = f(d)), e && (s.weekday = e.length > 3 ? z.indexOf(e) + 1 : P.indexOf(e) + 1), s;
103
+ return d && (s.second = f(d)), e && (s.weekday = e.length > 3 ? v.indexOf(e) + 1 : z.indexOf(e) + 1), s;
104
104
  }
105
105
  const ne = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
106
106
  function re(e) {