@okam/stack-ui 1.26.0 → 1.27.0

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 (446) hide show
  1. package/components/Alerts/interface.d.ts +3 -28
  2. package/components/Button/index.d.ts +2 -2
  3. package/components/Button/interface.d.ts +2 -2
  4. package/components/Carousel/components/CarouselNavigationButton.d.ts +8 -0
  5. package/components/Carousel/components/CarouselSlide.d.ts +3 -0
  6. package/components/Carousel/components/CarouselSwiper.d.ts +3 -0
  7. package/components/Carousel/components/pagination/CarouselPagination.d.ts +3 -0
  8. package/components/Carousel/components/pagination/CarouselPaginationBullet.d.ts +3 -0
  9. package/components/Carousel/interface.d.ts +34 -17
  10. package/index.d.ts +2 -2
  11. package/index.js +1 -1
  12. package/index.mjs +150 -149
  13. package/index100.js +2 -1
  14. package/index100.mjs +11 -64
  15. package/index101.js +1 -1
  16. package/index101.mjs +44 -141
  17. package/index102.js +1 -1
  18. package/index102.mjs +62 -119
  19. package/index103.js +1 -1
  20. package/index103.mjs +28 -217
  21. package/index104.js +1 -1
  22. package/index104.mjs +4 -175
  23. package/index105.js +1 -1
  24. package/index105.mjs +11 -127
  25. package/index106.js +1 -1
  26. package/index106.mjs +13 -240
  27. package/index107.js +1 -1
  28. package/index107.mjs +23 -4
  29. package/index108.js +1 -1
  30. package/index108.mjs +23 -11
  31. package/index109.js +1 -1
  32. package/index109.mjs +39 -14
  33. package/index11.js +1 -1
  34. package/index11.mjs +67 -60
  35. package/index110.js +2 -1
  36. package/index110.mjs +11 -21
  37. package/index111.js +1 -1
  38. package/index111.mjs +8 -23
  39. package/index112.js +1 -1
  40. package/index112.mjs +20 -37
  41. package/index113.js +1 -2
  42. package/index113.mjs +38 -12
  43. package/index114.js +1 -1
  44. package/index114.mjs +49 -7
  45. package/index115.js +1 -1
  46. package/index115.mjs +40 -21
  47. package/index116.js +1 -1
  48. package/index116.mjs +13 -38
  49. package/index117.js +1 -1
  50. package/index117.mjs +26 -50
  51. package/index118.js +1 -1
  52. package/index118.mjs +20 -41
  53. package/index119.js +1 -1
  54. package/index119.mjs +9 -14
  55. package/index120.js +1 -1
  56. package/index120.mjs +30 -26
  57. package/index121.js +1 -1
  58. package/index121.mjs +13 -18
  59. package/index122.js +1 -1
  60. package/index122.mjs +16 -8
  61. package/index123.js +1 -1
  62. package/index123.mjs +5 -30
  63. package/index124.js +1 -1
  64. package/index124.mjs +21 -15
  65. package/index125.js +1 -1
  66. package/index125.mjs +11 -17
  67. package/index126.js +1 -1
  68. package/index126.mjs +42 -5
  69. package/index127.js +2 -1
  70. package/index127.mjs +21 -20
  71. package/index128.js +1 -1
  72. package/index128.mjs +12 -11
  73. package/index129.js +1 -1
  74. package/index129.mjs +46 -104
  75. package/index13.js +1 -1
  76. package/index13.mjs +3 -3
  77. package/index130.js +1 -1
  78. package/index130.mjs +237 -38
  79. package/index131.js +1 -1
  80. package/index131.mjs +12 -21
  81. package/index132.js +1 -1
  82. package/index132.mjs +29 -11
  83. package/index133.js +1 -1
  84. package/index133.mjs +49 -19
  85. package/index134.js +1 -1
  86. package/index134.mjs +25 -49
  87. package/index135.js +1 -1
  88. package/index135.mjs +19 -25
  89. package/index136.js +1 -1
  90. package/index136.mjs +4 -25
  91. package/index137.js +4 -1
  92. package/index137.mjs +247 -46
  93. package/index138.js +1 -2
  94. package/index138.mjs +61 -11
  95. package/index139.js +1 -0
  96. package/index139.mjs +97 -0
  97. package/index140.js +1 -0
  98. package/index140.mjs +34 -0
  99. package/index141.js +1 -1
  100. package/index141.mjs +119 -39
  101. package/index142.js +1 -1
  102. package/index142.mjs +28 -29
  103. package/index143.js +1 -1
  104. package/index143.mjs +122 -197
  105. package/index144.js +1 -1
  106. package/index144.mjs +131 -187
  107. package/index145.js +1 -1
  108. package/index145.mjs +14 -69
  109. package/index146.js +1 -1
  110. package/index146.mjs +85 -248
  111. package/index147.js +1 -1
  112. package/index147.mjs +102 -93
  113. package/index148.js +1 -1
  114. package/index148.mjs +5 -84
  115. package/index149.js +1 -1
  116. package/index149.mjs +3 -58
  117. package/index15.js +1 -1
  118. package/index15.mjs +2 -2
  119. package/index150.js +1 -1
  120. package/index150.mjs +121 -112
  121. package/index151.js +1 -1
  122. package/index151.mjs +26 -119
  123. package/index152.js +1 -1
  124. package/index152.mjs +51 -72
  125. package/index153.js +1 -1
  126. package/index153.mjs +41 -107
  127. package/index154.js +1 -1
  128. package/index154.mjs +36 -51
  129. package/index155.js +1 -1
  130. package/index155.mjs +111 -91
  131. package/index156.js +1 -1
  132. package/index156.mjs +77 -70
  133. package/index157.js +1 -1
  134. package/index157.mjs +101 -56
  135. package/index158.js +1 -1
  136. package/index158.mjs +98 -100
  137. package/index159.js +1 -5
  138. package/index159.mjs +2 -81
  139. package/index160.js +1 -1
  140. package/index160.mjs +5 -2011
  141. package/index161.js +1 -1
  142. package/index161.mjs +64 -59
  143. package/index162.js +1 -1
  144. package/index162.mjs +25 -187
  145. package/index163.js +1 -1
  146. package/index163.mjs +54 -5
  147. package/index164.js +1 -4
  148. package/index164.mjs +148 -239
  149. package/index165.js +1 -1
  150. package/index165.mjs +23 -31
  151. package/index166.js +1 -1
  152. package/index166.mjs +18 -60
  153. package/index167.js +1 -1
  154. package/index167.mjs +38 -93
  155. package/index168.js +1 -1
  156. package/index168.mjs +82 -31
  157. package/index169.js +1 -1
  158. package/index169.mjs +28 -128
  159. package/index17.js +1 -1
  160. package/index17.mjs +1 -1
  161. package/index170.js +1 -1
  162. package/index170.mjs +19 -177
  163. package/index171.js +1 -1
  164. package/index171.mjs +52 -8
  165. package/index172.js +1 -1
  166. package/index172.mjs +2 -4
  167. package/index173.js +11 -1
  168. package/index173.mjs +114 -35
  169. package/index174.js +1 -1
  170. package/index174.mjs +199 -5
  171. package/index175.js +1 -1
  172. package/index175.mjs +61 -26
  173. package/index176.js +1 -1
  174. package/index176.mjs +141 -6
  175. package/index177.js +1 -1
  176. package/index177.mjs +114 -116
  177. package/index178.js +1 -1
  178. package/index178.mjs +217 -27
  179. package/index179.js +1 -1
  180. package/index179.mjs +188 -122
  181. package/index18.js +1 -1
  182. package/index18.mjs +2 -2
  183. package/index180.js +1 -1
  184. package/index180.mjs +67 -132
  185. package/index181.js +1 -1
  186. package/index181.mjs +258 -14
  187. package/index182.js +1 -1
  188. package/index182.mjs +92 -90
  189. package/index183.js +1 -1
  190. package/index183.mjs +172 -104
  191. package/index184.js +1 -1
  192. package/index184.mjs +84 -5
  193. package/index185.js +1 -1
  194. package/index185.mjs +58 -3
  195. package/index186.js +1 -1
  196. package/index186.mjs +123 -122
  197. package/index187.js +1 -1
  198. package/index187.mjs +113 -26
  199. package/index188.js +1 -1
  200. package/index188.mjs +119 -48
  201. package/index189.js +1 -1
  202. package/index189.mjs +72 -44
  203. package/index19.js +1 -1
  204. package/index19.mjs +1 -1
  205. package/index190.js +1 -1
  206. package/index190.mjs +107 -34
  207. package/index191.js +1 -1
  208. package/index191.mjs +50 -111
  209. package/index192.js +1 -1
  210. package/index192.mjs +93 -77
  211. package/index193.js +1 -1
  212. package/index193.mjs +70 -101
  213. package/index194.js +1 -1
  214. package/index194.mjs +57 -98
  215. package/index195.js +1 -1
  216. package/index195.mjs +100 -2
  217. package/index196.js +5 -1
  218. package/index196.mjs +80 -5
  219. package/index197.js +1 -1
  220. package/index197.mjs +2005 -58
  221. package/index198.js +1 -1
  222. package/index198.mjs +59 -26
  223. package/index199.js +1 -1
  224. package/index199.mjs +187 -53
  225. package/index200.js +1 -1
  226. package/index200.mjs +5 -155
  227. package/index201.js +1 -1
  228. package/index201.mjs +2 -23
  229. package/index202.js +1 -1
  230. package/index202.mjs +47 -14
  231. package/index203.js +1 -1
  232. package/index203.mjs +17 -36
  233. package/index204.js +1 -1
  234. package/index204.mjs +18 -77
  235. package/index205.js +1 -1
  236. package/index205.mjs +23 -27
  237. package/index206.js +1 -1
  238. package/index206.mjs +40 -15
  239. package/index207.js +1 -1
  240. package/index207.mjs +2 -61
  241. package/index208.js +1 -1
  242. package/index208.mjs +21 -2
  243. package/index209.js +1 -11
  244. package/index209.mjs +2 -116
  245. package/index210.js +1 -1
  246. package/index210.mjs +29 -2
  247. package/index211.js +1 -1
  248. package/index211.mjs +2 -6
  249. package/index212.mjs +2 -2
  250. package/index213.js +1 -1
  251. package/index213.mjs +18 -48
  252. package/index214.js +1 -1
  253. package/index214.mjs +2 -21
  254. package/index215.js +1 -1
  255. package/index215.mjs +2 -24
  256. package/index216.js +1 -1
  257. package/index216.mjs +2 -27
  258. package/index217.js +1 -1
  259. package/index217.mjs +34 -43
  260. package/index218.js +1 -1
  261. package/index218.mjs +2 -2
  262. package/index219.js +1 -1
  263. package/index219.mjs +12 -12
  264. package/index22.js +1 -1
  265. package/index22.mjs +3 -3
  266. package/index220.js +1 -1
  267. package/index220.mjs +23 -2
  268. package/index221.js +1 -1
  269. package/index221.mjs +2 -29
  270. package/index222.js +1 -1
  271. package/index222.mjs +23 -2
  272. package/index223.mjs +2 -2
  273. package/index224.js +1 -1
  274. package/index224.mjs +311 -20
  275. package/index225.js +1 -1
  276. package/index225.mjs +193 -2
  277. package/index226.js +1 -1
  278. package/index226.mjs +9 -2
  279. package/index227.js +1 -1
  280. package/index227.mjs +27 -2
  281. package/index228.js +1 -1
  282. package/index228.mjs +55 -37
  283. package/index229.js +1 -1
  284. package/index229.mjs +47 -2
  285. package/index23.js +1 -1
  286. package/index23.mjs +4 -4
  287. package/index230.js +1 -1
  288. package/index230.mjs +124 -20
  289. package/index231.js +1 -1
  290. package/index231.mjs +128 -20
  291. package/index232.js +1 -1
  292. package/index232.mjs +180 -2
  293. package/index233.js +1 -1
  294. package/index233.mjs +8 -21
  295. package/index234.js +1 -1
  296. package/index234.mjs +4 -2
  297. package/index235.js +1 -1
  298. package/index235.mjs +35 -312
  299. package/index236.js +1 -1
  300. package/index236.mjs +5 -192
  301. package/index237.js +1 -1
  302. package/index237.mjs +29 -8
  303. package/index238.js +1 -1
  304. package/index238.mjs +6 -26
  305. package/index239.js +1 -1
  306. package/index239.mjs +2 -56
  307. package/index240.js +1 -1
  308. package/index240.mjs +2 -47
  309. package/index241.js +1 -1
  310. package/index241.mjs +2 -125
  311. package/index242.js +1 -1
  312. package/index242.mjs +17 -5
  313. package/index243.js +1 -1
  314. package/index243.mjs +27 -2
  315. package/index244.mjs +2 -2
  316. package/index245.js +1 -1
  317. package/index245.mjs +89 -2
  318. package/index246.js +1 -1
  319. package/index246.mjs +11 -9
  320. package/index247.js +1 -1
  321. package/index247.mjs +2 -27
  322. package/index248.js +1 -1
  323. package/index248.mjs +38 -2
  324. package/index249.js +1 -1
  325. package/index249.mjs +131 -83
  326. package/index25.js +1 -1
  327. package/index25.mjs +2 -2
  328. package/index250.js +1 -1
  329. package/index250.mjs +2 -20
  330. package/index251.js +1 -1
  331. package/index251.mjs +23 -2
  332. package/index252.js +1 -1
  333. package/index252.mjs +2 -38
  334. package/index253.js +1 -1
  335. package/index253.mjs +2 -137
  336. package/index254.mjs +2 -2
  337. package/index255.js +1 -1
  338. package/index255.mjs +2 -23
  339. package/index256.js +1 -1
  340. package/index256.mjs +23 -2
  341. package/index257.js +1 -1
  342. package/index257.mjs +2 -2
  343. package/index258.js +1 -1
  344. package/index258.mjs +26 -2
  345. package/index259.js +1 -1
  346. package/index259.mjs +2 -2
  347. package/index26.js +1 -1
  348. package/index26.mjs +3 -3
  349. package/index260.js +1 -1
  350. package/index260.mjs +2 -23
  351. package/index261.js +1 -1
  352. package/index261.mjs +2 -2
  353. package/index262.js +1 -1
  354. package/index262.mjs +2 -26
  355. package/index264.js +1 -1
  356. package/index264.mjs +72 -2
  357. package/index265.mjs +2 -2
  358. package/index267.js +1 -1
  359. package/index267.mjs +19 -2
  360. package/index268.js +1 -1
  361. package/index268.mjs +2 -72
  362. package/index269.js +1 -1
  363. package/index269.mjs +6 -2
  364. package/index270.mjs +2 -2
  365. package/index271.js +1 -1
  366. package/index271.mjs +2 -19
  367. package/index272.js +1 -1
  368. package/index272.mjs +29 -2
  369. package/index273.js +1 -1
  370. package/index273.mjs +7 -2
  371. package/index274.js +1 -1
  372. package/index274.mjs +8 -2
  373. package/index275.js +1 -1
  374. package/index275.mjs +7 -28
  375. package/index276.js +1 -1
  376. package/index276.mjs +2 -7
  377. package/index277.js +1 -1
  378. package/index277.mjs +36 -7
  379. package/index278.js +1 -1
  380. package/index278.mjs +2 -8
  381. package/index279.js +1 -1
  382. package/index279.mjs +5 -2
  383. package/index28.js +1 -1
  384. package/index28.mjs +1 -1
  385. package/index280.js +1 -1
  386. package/index280.mjs +5 -36
  387. package/index281.js +1 -1
  388. package/index281.mjs +10 -2
  389. package/index282.js +1 -1
  390. package/index282.mjs +2 -5
  391. package/index283.js +1 -1
  392. package/index283.mjs +17 -5
  393. package/index284.js +1 -1
  394. package/index284.mjs +30 -9
  395. package/index285.mjs +2 -2
  396. package/index286.js +1 -1
  397. package/index286.mjs +2 -18
  398. package/index30.js +1 -1
  399. package/index30.mjs +2 -2
  400. package/index31.js +1 -1
  401. package/index31.mjs +1 -1
  402. package/index32.js +1 -1
  403. package/index32.mjs +1 -1
  404. package/index33.js +1 -1
  405. package/index33.mjs +1 -1
  406. package/index34.js +1 -1
  407. package/index34.mjs +30 -29
  408. package/index35.js +1 -1
  409. package/index35.mjs +16 -15
  410. package/index37.js +1 -1
  411. package/index37.mjs +1 -1
  412. package/index65.js +1 -1
  413. package/index65.mjs +1 -1
  414. package/index66.js +1 -1
  415. package/index66.mjs +1 -1
  416. package/index67.js +1 -1
  417. package/index67.mjs +1 -1
  418. package/index69.js +1 -1
  419. package/index69.mjs +1 -1
  420. package/index70.js +1 -1
  421. package/index70.mjs +1 -1
  422. package/index79.js +1 -1
  423. package/index79.mjs +13 -13
  424. package/index83.js +9 -1
  425. package/index83.mjs +52 -17
  426. package/index96.js +1 -1
  427. package/index96.mjs +3 -3
  428. package/index97.js +1 -1
  429. package/index97.mjs +1 -1
  430. package/package.json +1 -1
  431. package/providers/Swiper/index.d.ts +4 -0
  432. package/providers/{Alerts → Swiper}/interface.d.ts +2 -2
  433. package/theme/Alerts/index.d.ts +1 -1
  434. package/theme/Carousel/index.d.ts +216 -8
  435. package/components/Alerts/components/AlertsNavigationButton.d.ts +0 -8
  436. package/components/Alerts/components/AlertsSwiper.d.ts +0 -3
  437. package/components/Alerts/components/pagination/AlertsPagination.d.ts +0 -3
  438. package/components/Alerts/components/pagination/AlertsPaginationBullet.d.ts +0 -3
  439. package/index287.js +0 -1
  440. package/index287.mjs +0 -33
  441. package/index288.js +0 -1
  442. package/index288.mjs +0 -4
  443. package/index289.js +0 -1
  444. package/index289.mjs +0 -4
  445. package/providers/Alerts/index.d.ts +0 -4
  446. package/style.css +0 -1
package/index202.mjs CHANGED
@@ -1,21 +1,54 @@
1
- import { __exports as e } from "./index225.mjs";
2
- import "./index196.mjs";
3
- import u from "react";
4
- import { __exports as n } from "./index208.mjs";
5
- var o;
1
+ import { __exports as i } from "./index239.mjs";
2
+ var a;
6
3
  function d() {
7
- return o ? e : (o = 1, function(t) {
8
- Object.defineProperty(t, "__esModule", {
4
+ return a ? i : (a = 1, function(f) {
5
+ Object.defineProperty(f, "__esModule", {
9
6
  value: !0
10
- }), Object.defineProperty(t, "RouterContext", {
11
- enumerable: !0,
12
- get: function() {
13
- return r;
7
+ });
8
+ function c(e, r) {
9
+ for (var t in r) Object.defineProperty(e, t, {
10
+ enumerable: !0,
11
+ get: r[t]
12
+ });
13
+ }
14
+ c(f, {
15
+ searchParamsToUrlQuery: function() {
16
+ return y;
17
+ },
18
+ urlQueryToSearchParams: function() {
19
+ return h;
20
+ },
21
+ assign: function() {
22
+ return l;
14
23
  }
15
24
  });
16
- const r = (/* @__PURE__ */ n._(u)).default.createContext(null);
17
- process.env.NODE_ENV !== "production" && (r.displayName = "RouterContext");
18
- }(e), e);
25
+ function y(e) {
26
+ const r = {};
27
+ return e.forEach((t, n) => {
28
+ typeof r[n] > "u" ? r[n] = t : Array.isArray(r[n]) ? r[n].push(t) : r[n] = [
29
+ r[n],
30
+ t
31
+ ];
32
+ }), r;
33
+ }
34
+ function s(e) {
35
+ return typeof e == "string" || typeof e == "number" && !isNaN(e) || typeof e == "boolean" ? String(e) : "";
36
+ }
37
+ function h(e) {
38
+ const r = new URLSearchParams();
39
+ return Object.entries(e).forEach((t) => {
40
+ let [n, u] = t;
41
+ Array.isArray(u) ? u.forEach((o) => r.append(n, s(o))) : r.set(n, s(u));
42
+ }), r;
43
+ }
44
+ function l(e) {
45
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
46
+ t[n - 1] = arguments[n];
47
+ return t.forEach((u) => {
48
+ Array.from(u.keys()).forEach((o) => e.delete(o)), u.forEach((o, g) => e.append(g, o));
49
+ }), e;
50
+ }
51
+ }(i), i);
19
52
  }
20
53
  export {
21
54
  d as __require
package/index203.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index226.js");require("./index196.js");const x=require("react"),d=require("./index208.js");var c;function f(){return c||(c=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0});function p(_,i){for(var l in i)Object.defineProperty(_,l,{enumerable:!0,get:i[l]})}p(o,{AppRouterContext:function(){return r},GlobalLayoutRouterContext:function(){return u},LayoutRouterContext:function(){return n},MissingSlotContext:function(){return s},TemplateContext:function(){return a}});const e=d.__exports._(x),r=e.default.createContext(null),n=e.default.createContext(null),u=e.default.createContext(null),a=e.default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="AppRouterContext",n.displayName="LayoutRouterContext",u.displayName="GlobalLayoutRouterContext",a.displayName="TemplateContext");const s=e.default.createContext(new Set)}(t.__exports)),t.__exports}exports.__require=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index240.js");var n;function f(){return n||(n=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"omit",{enumerable:!0,get:function(){return o}});function o(i,c){const u={};return Object.keys(i).forEach(e=>{c.includes(e)||(u[e]=i[e])}),u}}(t.__exports)),t.__exports}exports.__require=f;
package/index203.mjs CHANGED
@@ -1,42 +1,23 @@
1
- import { __exports as e } from "./index226.mjs";
2
- import "./index196.mjs";
3
- import f from "react";
4
- import { __exports as x } from "./index208.mjs";
5
- var p;
6
- function b() {
7
- return p ? e : (p = 1, function(o) {
8
- "use client";
9
- Object.defineProperty(o, "__esModule", {
1
+ import { __exports as r } from "./index240.mjs";
2
+ var u;
3
+ function m() {
4
+ return u ? r : (u = 1, function(t) {
5
+ Object.defineProperty(t, "__esModule", {
10
6
  value: !0
11
- });
12
- function c(_, i) {
13
- for (var l in i) Object.defineProperty(_, l, {
14
- enumerable: !0,
15
- get: i[l]
16
- });
17
- }
18
- c(o, {
19
- AppRouterContext: function() {
20
- return n;
21
- },
22
- GlobalLayoutRouterContext: function() {
23
- return u;
24
- },
25
- LayoutRouterContext: function() {
26
- return r;
27
- },
28
- MissingSlotContext: function() {
29
- return s;
30
- },
31
- TemplateContext: function() {
32
- return a;
7
+ }), Object.defineProperty(t, "omit", {
8
+ enumerable: !0,
9
+ get: function() {
10
+ return o;
33
11
  }
34
12
  });
35
- const t = /* @__PURE__ */ x._(f), n = t.default.createContext(null), r = t.default.createContext(null), u = t.default.createContext(null), a = t.default.createContext(null);
36
- process.env.NODE_ENV !== "production" && (n.displayName = "AppRouterContext", r.displayName = "LayoutRouterContext", u.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
37
- const s = t.default.createContext(/* @__PURE__ */ new Set());
38
- }(e), e);
13
+ function o(i, f) {
14
+ const n = {};
15
+ return Object.keys(i).forEach((e) => {
16
+ f.includes(e) || (n[e] = i[e]);
17
+ }), n;
18
+ }
19
+ }(r), r);
39
20
  }
40
21
  export {
41
- b as __require
22
+ m as __require
42
23
  };
package/index204.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index227.js"),C=require("react"),R=require("./index228.js");var q;function p(){return q||(q=1,function(O,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return y}});const f=C,g=R.__require(),m=typeof IntersectionObserver=="function",v=new Map,d=[];function k(r){const t={root:r.root||null,margin:r.rootMargin||""},u=d.find(c=>c.root===t.root&&c.margin===t.margin);let e;if(u&&(e=v.get(u),e))return e;const i=new Map,s=new IntersectionObserver(c=>{c.forEach(o=>{const l=i.get(o.target),b=o.isIntersecting||o.intersectionRatio>0;l&&b&&l(b)})},r);return e={id:t,observer:s,elements:i},d.push(t),v.set(t,e),e}function M(r,t,u){const{id:e,observer:i,elements:s}=k(u);return s.set(r,t),i.observe(r),function(){if(s.delete(r),i.unobserve(r),s.size===0){i.disconnect(),v.delete(e);const o=d.findIndex(l=>l.root===e.root&&l.margin===e.margin);o>-1&&d.splice(o,1)}}}function y(r){let{rootRef:t,rootMargin:u,disabled:e}=r;const i=e||!m,[s,c]=(0,f.useState)(!1),o=(0,f.useRef)(null),l=(0,f.useCallback)(a=>{o.current=a},[]);(0,f.useEffect)(()=>{if(m){if(i||s)return;const a=o.current;if(a&&a.tagName)return M(a,I=>I&&c(I),{root:t==null?void 0:t.current,rootMargin:u})}else if(!s){const a=(0,g.requestIdleCallback)(()=>c(!0));return()=>(0,g.cancelIdleCallback)(a)}},[i,u,t,s,o.current]);const b=(0,f.useCallback)(()=>{c(!1)},[]);return[l,s,b]}(typeof n.default=="function"||typeof n.default=="object"&&n.default!==null)&&typeof n.default.__esModule>"u"&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),O.exports=n.default)}(_.__module,_.__module.exports)),_.__module.exports}exports.__require=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index241.js"),f=require("./index242.js"),d=require("./index243.js");var u;function c(){return u||(u=1,function(o,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return _}});const l=f.__require(),s=d.__require(),_=a=>{if(!a.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return a;const{pathname:r,query:t,hash:i}=(0,s.parsePath)(a);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(r)?""+(0,l.removeTrailingSlash)(r)+t+i:r.endsWith("/")?""+r+t+i:r+"/"+t+i:""+(0,l.removeTrailingSlash)(r)+t+i};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),o.exports=e.default)}(n.__module,n.__module.exports)),n.__module.exports}exports.__require=c;
package/index204.mjs CHANGED
@@ -1,85 +1,26 @@
1
- import { __module as v } from "./index227.mjs";
2
- import R from "react";
3
- import { __require as C } from "./index228.mjs";
4
- var k;
5
- function E() {
6
- return k ? v.exports : (k = 1, function(p, n) {
7
- Object.defineProperty(n, "__esModule", {
1
+ import { __module as t } from "./index241.mjs";
2
+ import { __require as _ } from "./index242.mjs";
3
+ import { __require as d } from "./index243.mjs";
4
+ var u;
5
+ function S() {
6
+ return u ? t.exports : (u = 1, function(s, e) {
7
+ Object.defineProperty(e, "__esModule", {
8
8
  value: !0
9
- }), Object.defineProperty(n, "useIntersection", {
9
+ }), Object.defineProperty(e, "normalizePathTrailingSlash", {
10
10
  enumerable: !0,
11
11
  get: function() {
12
- return M;
12
+ return f;
13
13
  }
14
14
  });
15
- const f = R, _ = C(), g = typeof IntersectionObserver == "function", m = /* @__PURE__ */ new Map(), d = [];
16
- function q(r) {
17
- const t = {
18
- root: r.root || null,
19
- margin: r.rootMargin || ""
20
- }, u = d.find((c) => c.root === t.root && c.margin === t.margin);
21
- let e;
22
- if (u && (e = m.get(u), e))
23
- return e;
24
- const i = /* @__PURE__ */ new Map(), s = new IntersectionObserver((c) => {
25
- c.forEach((o) => {
26
- const l = i.get(o.target), b = o.isIntersecting || o.intersectionRatio > 0;
27
- l && b && l(b);
28
- });
29
- }, r);
30
- return e = {
31
- id: t,
32
- observer: s,
33
- elements: i
34
- }, d.push(t), m.set(t, e), e;
35
- }
36
- function O(r, t, u) {
37
- const { id: e, observer: i, elements: s } = q(u);
38
- return s.set(r, t), i.observe(r), function() {
39
- if (s.delete(r), i.unobserve(r), s.size === 0) {
40
- i.disconnect(), m.delete(e);
41
- const o = d.findIndex((l) => l.root === e.root && l.margin === e.margin);
42
- o > -1 && d.splice(o, 1);
43
- }
44
- };
45
- }
46
- function M(r) {
47
- let { rootRef: t, rootMargin: u, disabled: e } = r;
48
- const i = e || !g, [s, c] = (0, f.useState)(!1), o = (0, f.useRef)(null), l = (0, f.useCallback)((a) => {
49
- o.current = a;
50
- }, []);
51
- (0, f.useEffect)(() => {
52
- if (g) {
53
- if (i || s) return;
54
- const a = o.current;
55
- if (a && a.tagName)
56
- return O(a, (I) => I && c(I), {
57
- root: t == null ? void 0 : t.current,
58
- rootMargin: u
59
- });
60
- } else if (!s) {
61
- const a = (0, _.requestIdleCallback)(() => c(!0));
62
- return () => (0, _.cancelIdleCallback)(a);
63
- }
64
- }, [
65
- i,
66
- u,
67
- t,
68
- s,
69
- o.current
70
- ]);
71
- const b = (0, f.useCallback)(() => {
72
- c(!1);
73
- }, []);
74
- return [
75
- l,
76
- s,
77
- b
78
- ];
79
- }
80
- (typeof n.default == "function" || typeof n.default == "object" && n.default !== null) && typeof n.default.__esModule > "u" && (Object.defineProperty(n.default, "__esModule", { value: !0 }), Object.assign(n.default, n), p.exports = n.default);
81
- }(v, v.exports), v.exports);
15
+ const l = _(), o = d(), f = (n) => {
16
+ if (!n.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH)
17
+ return n;
18
+ const { pathname: r, query: a, hash: i } = (0, o.parsePath)(n);
19
+ return process.env.__NEXT_TRAILING_SLASH ? /\.[^/]+\/?$/.test(r) ? "" + (0, l.removeTrailingSlash)(r) + a + i : r.endsWith("/") ? "" + r + a + i : r + "/" + a + i : "" + (0, l.removeTrailingSlash)(r) + a + i;
20
+ };
21
+ (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), s.exports = e.default);
22
+ }(t, t.exports), t.exports);
82
23
  }
83
24
  export {
84
- E as __require
25
+ S as __require
85
26
  };
package/index205.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index229.js"),g=require("./index215.js"),h=require("./index230.js"),q=require("./index231.js");var r;function b(){return r||(r=1,function(l,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return c}});const i=g.__require(),u=process.env.__NEXT_ROUTER_BASEPATH||"";function c(a,d,_,f){if(process.env.__NEXT_I18N_SUPPORT){const s=h.__require().normalizeLocalePath,m=q.__require().detectDomainLocale,n=d||s(a,_).detectedLocale,t=m(f,void 0,n);if(t){const L="http"+(t.http?"":"s")+"://",P=n===t.defaultLocale?"":"/"+n;return""+L+t.domain+(0,i.normalizePathTrailingSlash)(""+u+P+a)}return!1}else return!1}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),l.exports=e.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index244.js"),_=require("./index245.js"),d=require("./index246.js");var o;function f(){return o||(o=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function u(c,t){for(var i in t)Object.defineProperty(c,i,{enumerable:!0,get:t[i]})}u(r,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return s.isDynamicRoute}});const n=_.__require(),s=d.__require()}(e.__exports)),e.__exports}exports.__require=f;
package/index205.mjs CHANGED
@@ -1,33 +1,29 @@
1
- import { __module as a } from "./index229.mjs";
2
- import { __require as h } from "./index215.mjs";
3
- import { __require as p } from "./index230.mjs";
4
- import { __require as g } from "./index231.mjs";
5
- var n;
6
- function y() {
7
- return n ? a.exports : (n = 1, function(i, e) {
8
- Object.defineProperty(e, "__esModule", {
1
+ import { __exports as e } from "./index244.mjs";
2
+ import { __require as _ } from "./index245.mjs";
3
+ import { __require as f } from "./index246.mjs";
4
+ var o;
5
+ function p() {
6
+ return o ? e : (o = 1, function(r) {
7
+ Object.defineProperty(r, "__esModule", {
9
8
  value: !0
10
- }), Object.defineProperty(e, "getDomainLocale", {
11
- enumerable: !0,
12
- get: function() {
13
- return c;
14
- }
15
9
  });
16
- const l = h(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
17
- function c(r, f, s, d) {
18
- if (process.env.__NEXT_I18N_SUPPORT) {
19
- const m = p().normalizeLocalePath, _ = g().detectDomainLocale, o = f || m(r, s).detectedLocale, t = _(d, void 0, o);
20
- if (t) {
21
- const L = "http" + (t.http ? "" : "s") + "://", P = o === t.defaultLocale ? "" : "/" + o;
22
- return "" + L + t.domain + (0, l.normalizePathTrailingSlash)("" + u + P + r);
23
- }
24
- return !1;
25
- } else
26
- return !1;
10
+ function u(c, t) {
11
+ for (var i in t) Object.defineProperty(c, i, {
12
+ enumerable: !0,
13
+ get: t[i]
14
+ });
27
15
  }
28
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), i.exports = e.default);
29
- }(a, a.exports), a.exports);
16
+ u(r, {
17
+ getSortedRoutes: function() {
18
+ return n.getSortedRoutes;
19
+ },
20
+ isDynamicRoute: function() {
21
+ return s.isDynamicRoute;
22
+ }
23
+ });
24
+ const n = _(), s = f();
25
+ }(e), e);
30
26
  }
31
27
  export {
32
- y as __require
28
+ p as __require
33
29
  };
package/index206.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index232.js"),o=require("./index233.js"),f=require("./index215.js");var r;function s(){return r||(r=1,function(u,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return _}});const d=o.__require(),n=f.__require(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function _(a,l){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!l?a:(0,d.addPathPrefix)(a,i))}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),u.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index247.js"),b=require("./index248.js"),m=require("./index249.js");var f;function x(){return f||(f=1,function(c){Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"interpolateAs",{enumerable:!0,get:function(){return R}});const y=b.__require(),g=m.__require();function R(n,s,q){let t="";const a=(0,g.getRouteRegex)(n),l=a.groups,p=(s!==n?(0,y.getRouteMatcher)(a)(s):"")||q;t=n;const _=Object.keys(l);return _.every(r=>{let e=p[r]||"";const{repeat:o,optional:d}=l[r];let u="["+(o?"...":"")+r+"]";return d&&(u=(e?"":"/")+"["+u+"]"),o&&!Array.isArray(e)&&(e=[e]),(d||r in p)&&(t=t.replace(u,o?e.map(A=>encodeURIComponent(A)).join("/"):encodeURIComponent(e))||"/")})||(t=""),{params:_,result:t}}}(i.__exports)),i.__exports}exports.__require=x;
package/index206.mjs CHANGED
@@ -1,24 +1,49 @@
1
- import { __module as a } from "./index232.mjs";
2
- import { __require as _ } from "./index233.mjs";
3
- import { __require as l } from "./index215.mjs";
4
- var t;
5
- function h() {
6
- return t ? a.exports : (t = 1, function(u, e) {
7
- Object.defineProperty(e, "__esModule", {
1
+ import { __exports as u } from "./index247.mjs";
2
+ import { __require as A } from "./index248.mjs";
3
+ import { __require as x } from "./index249.mjs";
4
+ var d;
5
+ function v() {
6
+ return d ? u : (d = 1, function(c) {
7
+ Object.defineProperty(c, "__esModule", {
8
8
  value: !0
9
- }), Object.defineProperty(e, "addBasePath", {
9
+ }), Object.defineProperty(c, "interpolateAs", {
10
10
  enumerable: !0,
11
11
  get: function() {
12
- return f;
12
+ return y;
13
13
  }
14
14
  });
15
- const i = _(), d = l(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
16
- function f(r, o) {
17
- return (0, d.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !o ? r : (0, i.addPathPrefix)(r, n));
15
+ const m = A(), R = x();
16
+ function y(o, s, g) {
17
+ let t = "";
18
+ const a = (0, R.getRouteRegex)(o), p = a.groups, l = (
19
+ // Try to match the dynamic route against the asPath
20
+ (s !== o ? (0, m.getRouteMatcher)(a)(s) : "") || // Fall back to reading the values from the href
21
+ // TODO: should this take priority; also need to change in the router.
22
+ g
23
+ );
24
+ t = o;
25
+ const f = Object.keys(p);
26
+ return f.every((r) => {
27
+ let e = l[r] || "";
28
+ const { repeat: n, optional: _ } = p[r];
29
+ let i = "[" + (n ? "..." : "") + r + "]";
30
+ return _ && (i = (e ? "" : "/") + "[" + i + "]"), n && !Array.isArray(e) && (e = [
31
+ e
32
+ ]), (_ || r in l) && // Interpolate group into data URL if present
33
+ (t = t.replace(i, n ? e.map(
34
+ // these values should be fully encoded instead of just
35
+ // path delimiter escaped since they are being inserted
36
+ // into the URL and we expect URL encoded segments
37
+ // when parsing dynamic route params
38
+ (q) => encodeURIComponent(q)
39
+ ).join("/") : encodeURIComponent(e)) || "/");
40
+ }) || (t = ""), {
41
+ params: f,
42
+ result: t
43
+ };
18
44
  }
19
- (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), u.exports = e.default);
20
- }(a, a.exports), a.exports);
45
+ }(u), u);
21
46
  }
22
47
  export {
23
- h as __require
48
+ v as __require
24
49
  };
package/index207.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index234.js");var i;function a(){return i||(i=1,function(c,t){Object.defineProperty(t,"__esModule",{value:!0});function _(e,o){for(var f in o)Object.defineProperty(e,f,{enumerable:!0,get:o[f]})}_(t,{ACTION_FAST_REFRESH:function(){return E},ACTION_NAVIGATE:function(){return R},ACTION_PREFETCH:function(){return A},ACTION_REFRESH:function(){return T},ACTION_RESTORE:function(){return d},ACTION_SERVER_ACTION:function(){return l},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return u},PrefetchKind:function(){return r},isThenable:function(){return O}});const T="refresh",R="navigate",d="restore",s="server-patch",A="prefetch",E="fast-refresh",l="server-action";var r;(function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"})(r||(r={}));var u;(function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"})(u||(u={}));function O(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),c.exports=t.default)}(n.__module,n.__module.exports)),n.__module.exports}exports.__require=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index207.mjs CHANGED
@@ -1,63 +1,4 @@
1
- import { __module as n } from "./index234.mjs";
2
- var i;
3
- function C() {
4
- return i ? n.exports : (i = 1, function(c, t) {
5
- Object.defineProperty(t, "__esModule", {
6
- value: !0
7
- });
8
- function T(e, o) {
9
- for (var f in o) Object.defineProperty(e, f, {
10
- enumerable: !0,
11
- get: o[f]
12
- });
13
- }
14
- T(t, {
15
- ACTION_FAST_REFRESH: function() {
16
- return a;
17
- },
18
- ACTION_NAVIGATE: function() {
19
- return R;
20
- },
21
- ACTION_PREFETCH: function() {
22
- return E;
23
- },
24
- ACTION_REFRESH: function() {
25
- return _;
26
- },
27
- ACTION_RESTORE: function() {
28
- return s;
29
- },
30
- ACTION_SERVER_ACTION: function() {
31
- return O;
32
- },
33
- ACTION_SERVER_PATCH: function() {
34
- return A;
35
- },
36
- PrefetchCacheEntryStatus: function() {
37
- return u;
38
- },
39
- PrefetchKind: function() {
40
- return r;
41
- },
42
- isThenable: function() {
43
- return d;
44
- }
45
- });
46
- const _ = "refresh", R = "navigate", s = "restore", A = "server-patch", E = "prefetch", a = "fast-refresh", O = "server-action";
47
- var r;
48
- (function(e) {
49
- e.AUTO = "auto", e.FULL = "full", e.TEMPORARY = "temporary";
50
- })(r || (r = {}));
51
- var u;
52
- (function(e) {
53
- e.fresh = "fresh", e.reusable = "reusable", e.expired = "expired", e.stale = "stale";
54
- })(u || (u = {}));
55
- function d(e) {
56
- return e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function";
57
- }
58
- (typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), c.exports = t.default);
59
- }(n, n.exports), n.exports);
60
- }
1
+ var r = {};
61
2
  export {
62
- C as __require
3
+ r as __exports
63
4
  };
package/index208.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index250.js"),o=require("./index251.js");var u;function s(){return u||(u=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"hasBasePath",{enumerable:!0,get:function(){return f}});const r=o.__require(),n=process.env.__NEXT_ROUTER_BASEPATH||"";function f(i){return(0,r.pathHasPrefix)(i,n)}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=s;
package/index208.mjs CHANGED
@@ -1,4 +1,23 @@
1
- var e = {};
1
+ import { __module as t } from "./index250.mjs";
2
+ import { __require as s } from "./index251.mjs";
3
+ var a;
4
+ function _() {
5
+ return a ? t.exports : (a = 1, function(u, e) {
6
+ Object.defineProperty(e, "__esModule", {
7
+ value: !0
8
+ }), Object.defineProperty(e, "hasBasePath", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return n;
12
+ }
13
+ });
14
+ const r = s(), f = process.env.__NEXT_ROUTER_BASEPATH || "";
15
+ function n(i) {
16
+ return (0, r.pathHasPrefix)(i, f);
17
+ }
18
+ (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), u.exports = e.default);
19
+ }(t, t.exports), t.exports);
20
+ }
2
21
  export {
3
- e as __exports
22
+ _ as __require
4
23
  };
package/index209.js CHANGED
@@ -1,11 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function l(c){const a=c.replace(/-/g,"+").replace(/_/g,"/"),b=typeof Buffer<"u"?Buffer.from(a,"base64"):Uint8Array.from(atob(a),r=>r.charCodeAt(0));return new Uint8Array(b)}/**
2
- * Encodes an RGBA image to a PNG data URI. RGB should not be premultiplied by A.
3
- *
4
- * @remarks
5
- * This is optimized for speed and simplicity and does not optimize for size
6
- * at all. This doesn't do any compression (all values are stored uncompressed).
7
- *
8
- * @see https://github.com/evanw/thumbhash
9
- * @author Evan Wallace
10
- * @license MIT
11
- */function y(c,a,b){const r=c*4+1,i=6+a*(5+r),t=[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,c>>8,c&255,0,0,a>>8,a&255,8,6,0,0,0,0,0,0,0,i>>>24,i>>16&255,i>>8&255,i&255,73,68,65,84,120,1],d=[0,498536548,997073096,651767980,1994146192,1802195444,1303535960,1342533948,-306674912,-267414716,-690576408,-882789492,-1687895376,-2032938284,-1609899400,-1111625188];let n=1,f=0;for(let u=0,o=0,e=r-1;u<a;u++,e+=r-1)for(t.push(u+1<a?0:1,r&255,r>>8,~r&255,r>>8^255,0),f=(f+n)%65521;o<e;o++){const s=b[o]&255;t.push(s),n=(n+s)%65521,f=(f+n)%65521}t.push(f>>8,f&255,n>>8,n&255,0,0,0,0,0,0,0,0,73,69,78,68,174,66,96,130);for(let[u,o]of[[12,29],[37,41+i]]){let e=-1;for(let s=u;s<o;s++)e^=t[s],e=e>>>4^d[e&15],e=e>>>4^d[e&15];e=~e,t[o++]=e>>>24,t[o++]=e>>16&255,t[o++]=e>>8&255,t[o++]=e&255}return`data:image/png;base64,${typeof Buffer<"u"?Buffer.from(new Uint8Array(t)).toString("base64"):btoa(String.fromCharCode(...t))}`}exports.c=l;exports.r=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index209.mjs CHANGED
@@ -1,118 +1,4 @@
1
- function p(c) {
2
- const a = c.replace(/-/g, "+").replace(/_/g, "/"), b = typeof Buffer < "u" ? Buffer.from(a, "base64") : Uint8Array.from(atob(a), (r) => r.charCodeAt(0));
3
- return new Uint8Array(b);
4
- }
5
- /**
6
- * Encodes an RGBA image to a PNG data URI. RGB should not be premultiplied by A.
7
- *
8
- * @remarks
9
- * This is optimized for speed and simplicity and does not optimize for size
10
- * at all. This doesn't do any compression (all values are stored uncompressed).
11
- *
12
- * @see https://github.com/evanw/thumbhash
13
- * @author Evan Wallace
14
- * @license MIT
15
- */
16
- function y(c, a, b) {
17
- const r = c * 4 + 1, i = 6 + a * (5 + r), t = [
18
- 137,
19
- 80,
20
- 78,
21
- 71,
22
- 13,
23
- 10,
24
- 26,
25
- 10,
26
- 0,
27
- 0,
28
- 0,
29
- 13,
30
- 73,
31
- 72,
32
- 68,
33
- 82,
34
- 0,
35
- 0,
36
- c >> 8,
37
- c & 255,
38
- 0,
39
- 0,
40
- a >> 8,
41
- a & 255,
42
- 8,
43
- 6,
44
- 0,
45
- 0,
46
- 0,
47
- 0,
48
- 0,
49
- 0,
50
- 0,
51
- i >>> 24,
52
- i >> 16 & 255,
53
- i >> 8 & 255,
54
- i & 255,
55
- 73,
56
- 68,
57
- 65,
58
- 84,
59
- 120,
60
- 1
61
- ], d = [
62
- 0,
63
- 498536548,
64
- 997073096,
65
- 651767980,
66
- 1994146192,
67
- 1802195444,
68
- 1303535960,
69
- 1342533948,
70
- -306674912,
71
- -267414716,
72
- -690576408,
73
- -882789492,
74
- -1687895376,
75
- -2032938284,
76
- -1609899400,
77
- -1111625188
78
- ];
79
- let n = 1, f = 0;
80
- for (let u = 0, o = 0, e = r - 1; u < a; u++, e += r - 1)
81
- for (t.push(u + 1 < a ? 0 : 1, r & 255, r >> 8, ~r & 255, r >> 8 ^ 255, 0), f = (f + n) % 65521; o < e; o++) {
82
- const s = b[o] & 255;
83
- t.push(s), n = (n + s) % 65521, f = (f + n) % 65521;
84
- }
85
- t.push(
86
- f >> 8,
87
- f & 255,
88
- n >> 8,
89
- n & 255,
90
- 0,
91
- 0,
92
- 0,
93
- 0,
94
- 0,
95
- 0,
96
- 0,
97
- 0,
98
- 73,
99
- 69,
100
- 78,
101
- 68,
102
- 174,
103
- 66,
104
- 96,
105
- 130
106
- );
107
- for (let [u, o] of [[12, 29], [37, 41 + i]]) {
108
- let e = -1;
109
- for (let s = u; s < o; s++)
110
- e ^= t[s], e = e >>> 4 ^ d[e & 15], e = e >>> 4 ^ d[e & 15];
111
- e = ~e, t[o++] = e >>> 24, t[o++] = e >> 16 & 255, t[o++] = e >> 8 & 255, t[o++] = e & 255;
112
- }
113
- return `data:image/png;base64,${typeof Buffer < "u" ? Buffer.from(new Uint8Array(t)).toString("base64") : btoa(String.fromCharCode(...t))}`;
114
- }
1
+ var r = {};
115
2
  export {
116
- p as c,
117
- y as r
3
+ r as __exports
118
4
  };
package/index210.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index252.js");var _;function o(){if(_)return u.__exports;_=1;function c(e){if(typeof WeakMap!="function")return null;var n=new WeakMap,r=new WeakMap;return(c=function(t){return t?r:n})(e)}u.__exports._=u.__exports._interop_require_wildcard=p;function p(e,n){if(!n&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=c(n);if(r&&r.has(e))return r.get(e);var t={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=f?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(t,i,a):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t}return u.__exports}exports.__require=o;