@instockng/storefront-ui 1.0.66 → 1.0.67

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 (267) hide show
  1. package/dist/components/ProductAddOns.d.ts.map +1 -1
  2. package/dist/index10.mjs +49 -44
  3. package/dist/index100.mjs +52 -41
  4. package/dist/index101.mjs +6 -2
  5. package/dist/index102.mjs +4 -27
  6. package/dist/index103.mjs +176 -15
  7. package/dist/index104.mjs +53 -215
  8. package/dist/index105.mjs +69 -180
  9. package/dist/index106.mjs +2 -22
  10. package/dist/index107.mjs +34 -23
  11. package/dist/index108.mjs +42 -32
  12. package/dist/index109.mjs +2 -156
  13. package/dist/index110.mjs +21 -18
  14. package/dist/index111.mjs +11 -24
  15. package/dist/index112.mjs +206 -75
  16. package/dist/index113.mjs +176 -33
  17. package/dist/index114.mjs +17 -140
  18. package/dist/index115.mjs +17 -49
  19. package/dist/index116.mjs +27 -17
  20. package/dist/index117.mjs +150 -21
  21. package/dist/index118.mjs +13 -16
  22. package/dist/index119.mjs +24 -18
  23. package/dist/index120.mjs +77 -14
  24. package/dist/index121.mjs +31 -15
  25. package/dist/index122.mjs +140 -16
  26. package/dist/index123.mjs +51 -60
  27. package/dist/index124.mjs +17 -12
  28. package/dist/index125.mjs +19 -31
  29. package/dist/index126.mjs +16 -17
  30. package/dist/index127.mjs +17 -26
  31. package/dist/index128.mjs +14 -20
  32. package/dist/index129.mjs +14 -11
  33. package/dist/index13.mjs +1 -1
  34. package/dist/index130.mjs +14 -14
  35. package/dist/index131.mjs +58 -40
  36. package/dist/index132.mjs +11 -16
  37. package/dist/index133.mjs +33 -262
  38. package/dist/index134.mjs +17 -63
  39. package/dist/index135.mjs +31 -5
  40. package/dist/index136.mjs +27 -2
  41. package/dist/index137.mjs +19 -2
  42. package/dist/index138.mjs +14 -26
  43. package/dist/index139.mjs +47 -2
  44. package/dist/index140.mjs +23 -2
  45. package/dist/index141.mjs +268 -2
  46. package/dist/index142.mjs +69 -20
  47. package/dist/index143.mjs +7 -55
  48. package/dist/index144.mjs +2 -29
  49. package/dist/index145.mjs +2 -7
  50. package/dist/index146.mjs +2 -52
  51. package/dist/index147.mjs +33 -6
  52. package/dist/index148.mjs +2 -12
  53. package/dist/index149.mjs +19 -9
  54. package/dist/index15.mjs +4 -4
  55. package/dist/index150.mjs +16 -30
  56. package/dist/index151.mjs +64 -4
  57. package/dist/index152.mjs +2 -70
  58. package/dist/index153.mjs +2 -167
  59. package/dist/index155.mjs +2 -2
  60. package/dist/index156.mjs +134 -2
  61. package/dist/index157.mjs +16 -12
  62. package/dist/index158.mjs +26 -20
  63. package/dist/index159.mjs +2 -38
  64. package/dist/index16.mjs +2 -2
  65. package/dist/index160.mjs +35 -13
  66. package/dist/index161.mjs +42 -13
  67. package/dist/index162.mjs +21 -2
  68. package/dist/index163.mjs +54 -18
  69. package/dist/index164.mjs +28 -45
  70. package/dist/index165.mjs +7 -2
  71. package/dist/index166.mjs +50 -28
  72. package/dist/index167.mjs +6 -18
  73. package/dist/index168.mjs +12 -2
  74. package/dist/index169.mjs +7 -2
  75. package/dist/index170.mjs +28 -2
  76. package/dist/index171.mjs +2 -2
  77. package/dist/index172.mjs +67 -69
  78. package/dist/index173.mjs +167 -2
  79. package/dist/index174.mjs +2 -53
  80. package/dist/index175.mjs +2 -2
  81. package/dist/index176.mjs +2 -36
  82. package/dist/index177.mjs +13 -147
  83. package/dist/index178.mjs +32 -2
  84. package/dist/index179.mjs +38 -2
  85. package/dist/index18.mjs +1 -1
  86. package/dist/index180.mjs +11 -12
  87. package/dist/index181.mjs +18 -2
  88. package/dist/index182.mjs +2 -2
  89. package/dist/index183.mjs +13 -19
  90. package/dist/index184.mjs +46 -2
  91. package/dist/index185.mjs +2 -2
  92. package/dist/index186.mjs +26 -20
  93. package/dist/index187.mjs +10 -15
  94. package/dist/index188.mjs +2 -2
  95. package/dist/index189.mjs +2 -2
  96. package/dist/index19.mjs +1 -1
  97. package/dist/index190.mjs +2 -2
  98. package/dist/index191.mjs +2 -23
  99. package/dist/index192.mjs +72 -2
  100. package/dist/index193.mjs +2 -23
  101. package/dist/index194.mjs +53 -2
  102. package/dist/index196.mjs +36 -2
  103. package/dist/index197.mjs +146 -17
  104. package/dist/index198.mjs +2 -2
  105. package/dist/index199.mjs +2 -23
  106. package/dist/index200.mjs +19 -2
  107. package/dist/index202.mjs +2 -2
  108. package/dist/index203.mjs +26 -2
  109. package/dist/index204.mjs +2 -2
  110. package/dist/index205.mjs +2 -2
  111. package/dist/index206.mjs +24 -2
  112. package/dist/index207.mjs +23 -2
  113. package/dist/index208.mjs +2 -127
  114. package/dist/index210.mjs +2 -74
  115. package/dist/index211.mjs +20 -71
  116. package/dist/index212.mjs +2 -2
  117. package/dist/index213.mjs +23 -2
  118. package/dist/index217.mjs +23 -2
  119. package/dist/index218.mjs +2 -2
  120. package/dist/index219.mjs +23 -2
  121. package/dist/index22.mjs +2 -2
  122. package/dist/index220.mjs +2 -2
  123. package/dist/index221.mjs +2 -37
  124. package/dist/index222.mjs +2 -2
  125. package/dist/index223.mjs +2 -2
  126. package/dist/index224.mjs +2 -2
  127. package/dist/index225.mjs +2 -2
  128. package/dist/index226.mjs +2 -2
  129. package/dist/index227.mjs +2 -244
  130. package/dist/index228.mjs +127 -2
  131. package/dist/index229.mjs +2 -33
  132. package/dist/index230.mjs +72 -63
  133. package/dist/index231.mjs +71 -22
  134. package/dist/index232.mjs +2 -2
  135. package/dist/index233.mjs +640 -100
  136. package/dist/index234.mjs +2 -2
  137. package/dist/index235.mjs +2 -2
  138. package/dist/index236.mjs +43 -2
  139. package/dist/index237.mjs +20 -2
  140. package/dist/index238.mjs +19 -2
  141. package/dist/index239.mjs +2 -2
  142. package/dist/index240.mjs +2 -4
  143. package/dist/index241.mjs +1 -1
  144. package/dist/index242.mjs +3 -3
  145. package/dist/index245.mjs +13 -2
  146. package/dist/index246.mjs +7 -2
  147. package/dist/index247.mjs +12 -13
  148. package/dist/index248.mjs +5 -7
  149. package/dist/index249.mjs +33 -12
  150. package/dist/index25.mjs +2 -2
  151. package/dist/index250.mjs +31 -5
  152. package/dist/index251.mjs +27 -32
  153. package/dist/index252.mjs +58 -28
  154. package/dist/index253.mjs +2 -28
  155. package/dist/index254.mjs +2 -61
  156. package/dist/index255.mjs +2 -2
  157. package/dist/index256.mjs +2 -18
  158. package/dist/index257.mjs +2 -47
  159. package/dist/index258.mjs +2 -2
  160. package/dist/index259.mjs +108 -2
  161. package/dist/index26.mjs +1 -1
  162. package/dist/index260.mjs +2 -2
  163. package/dist/index262.mjs +2 -91
  164. package/dist/index264.mjs +37 -2
  165. package/dist/index265.mjs +2 -3
  166. package/dist/index266.mjs +2 -2
  167. package/dist/index267.mjs +2 -2
  168. package/dist/index268.mjs +243 -16
  169. package/dist/index269.mjs +2 -13
  170. package/dist/index270.mjs +33 -6
  171. package/dist/index271.mjs +64 -29
  172. package/dist/index272.mjs +25 -2
  173. package/dist/index274.mjs +2 -2
  174. package/dist/index275.mjs +5 -0
  175. package/dist/index276.mjs +5 -0
  176. package/dist/index277.mjs +5 -0
  177. package/dist/index278.mjs +5 -0
  178. package/dist/index279.mjs +5 -0
  179. package/dist/index280.mjs +5 -0
  180. package/dist/index281.mjs +7 -0
  181. package/dist/index282.mjs +5 -0
  182. package/dist/index283.mjs +5 -0
  183. package/dist/index284.mjs +5 -0
  184. package/dist/index285.mjs +5 -0
  185. package/dist/index286.mjs +5 -0
  186. package/dist/index287.mjs +5 -0
  187. package/dist/index288.mjs +6 -0
  188. package/dist/index289.mjs +5 -0
  189. package/dist/index290.mjs +5 -0
  190. package/dist/index291.mjs +20 -0
  191. package/dist/index292.mjs +16 -0
  192. package/dist/index293.mjs +9 -0
  193. package/dist/index294.mjs +33 -0
  194. package/dist/index295.mjs +5 -0
  195. package/dist/index296.mjs +5 -0
  196. package/dist/index297.mjs +21 -0
  197. package/dist/index298.mjs +50 -0
  198. package/dist/index299.mjs +5 -0
  199. package/dist/index300.mjs +5 -0
  200. package/dist/index301.mjs +5 -0
  201. package/dist/index302.mjs +5 -0
  202. package/dist/index303.mjs +94 -0
  203. package/dist/index304.mjs +5 -0
  204. package/dist/index305.mjs +5 -0
  205. package/dist/index306.mjs +5 -0
  206. package/dist/index307.mjs +5 -0
  207. package/dist/index34.mjs +11 -11
  208. package/dist/index40.mjs +2 -2
  209. package/dist/index42.mjs +2 -2
  210. package/dist/index43.mjs +6 -32
  211. package/dist/index44.mjs +32 -7
  212. package/dist/index45.mjs +6 -1432
  213. package/dist/index46.mjs +1432 -69
  214. package/dist/index47.mjs +70 -2
  215. package/dist/index48.mjs +2 -60
  216. package/dist/index49.mjs +57 -48
  217. package/dist/index50.mjs +51 -33
  218. package/dist/index51.mjs +33 -15
  219. package/dist/index52.mjs +12 -2260
  220. package/dist/index53.mjs +2263 -36
  221. package/dist/index54.mjs +36 -44
  222. package/dist/index55.mjs +44 -99
  223. package/dist/index56.mjs +99 -113
  224. package/dist/index57.mjs +82 -50
  225. package/dist/index58.mjs +53 -79
  226. package/dist/index59.mjs +75 -63
  227. package/dist/index60.mjs +71 -57
  228. package/dist/index61.mjs +57 -55
  229. package/dist/index62.mjs +75 -15
  230. package/dist/index63.mjs +13 -14
  231. package/dist/index64.mjs +16 -59
  232. package/dist/index65.mjs +43 -105
  233. package/dist/index66.mjs +89 -93
  234. package/dist/index67.mjs +128 -23
  235. package/dist/index68.mjs +23 -2
  236. package/dist/index69.mjs +21 -150
  237. package/dist/index70.mjs +2 -23
  238. package/dist/index71.mjs +37 -74
  239. package/dist/index72.mjs +2 -15
  240. package/dist/index73.mjs +148 -58
  241. package/dist/index75.mjs +75 -2
  242. package/dist/index76.mjs +15 -6
  243. package/dist/index77.mjs +57 -1128
  244. package/dist/index78.mjs +5 -19
  245. package/dist/index79.mjs +352 -51
  246. package/dist/index80.mjs +216 -30
  247. package/dist/index81.mjs +59 -2
  248. package/dist/index82.mjs +2 -235
  249. package/dist/index83.mjs +2 -6
  250. package/dist/index84.mjs +2 -134
  251. package/dist/index85.mjs +1134 -67
  252. package/dist/index86.mjs +19 -86
  253. package/dist/index87.mjs +54 -28
  254. package/dist/index88.mjs +32 -8
  255. package/dist/index89.mjs +229 -69
  256. package/dist/index90.mjs +5 -3
  257. package/dist/index91.mjs +134 -2
  258. package/dist/index92.mjs +64 -79
  259. package/dist/index93.mjs +84 -51
  260. package/dist/index94.mjs +28 -5
  261. package/dist/index95.mjs +8 -4
  262. package/dist/index96.mjs +69 -173
  263. package/dist/index97.mjs +4 -53
  264. package/dist/index98.mjs +2 -69
  265. package/dist/index99.mjs +80 -31
  266. package/package.json +1 -1
  267. package/src/components/ProductAddOns.tsx +8 -3
package/dist/index150.mjs CHANGED
@@ -1,31 +1,17 @@
1
1
  'use client';
2
- import n from "./index82.mjs";
3
- const a = n.toObjectSet([
4
- "age",
5
- "authorization",
6
- "content-length",
7
- "content-type",
8
- "etag",
9
- "expires",
10
- "from",
11
- "host",
12
- "if-modified-since",
13
- "if-unmodified-since",
14
- "last-modified",
15
- "location",
16
- "max-forwards",
17
- "proxy-authorization",
18
- "referer",
19
- "retry-after",
20
- "user-agent"
21
- ]), u = (s) => {
22
- const t = {};
23
- let e, r, i;
24
- return s && s.split(`
25
- `).forEach(function(o) {
26
- i = o.indexOf(":"), e = o.substring(0, i).trim().toLowerCase(), r = o.substring(i + 1).trim(), !(!e || t[e] && a[e]) && (e === "set-cookie" ? t[e] ? t[e].push(r) : t[e] = [r] : t[e] = t[e] ? t[e] + ", " + r : r);
27
- }), t;
28
- };
29
- export {
30
- u as default
31
- };
2
+ import { __exports as v } from "./index154.mjs";
3
+ (function(e) {
4
+ Object.defineProperty(e, "__esModule", {
5
+ value: !0
6
+ }), Object.defineProperty(e, "getImageBlurSvg", {
7
+ enumerable: !0,
8
+ get: function() {
9
+ return u;
10
+ }
11
+ });
12
+ function u(a) {
13
+ let { widthInt: g, heightInt: c, blurWidth: t, blurHeight: i, blurDataURL: d, objectFit: r } = a;
14
+ const o = 20, s = t ? t * 40 : g, n = i ? i * 40 : c, l = s && n ? "viewBox='0 0 " + s + " " + n + "'" : "", f = l ? "none" : r === "contain" ? "xMidYMid" : r === "cover" ? "xMidYMid slice" : "none";
15
+ return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + l + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + o + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + o + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + f + "' style='filter: url(%23b);' href='" + d + "'/%3E%3C/svg%3E";
16
+ }
17
+ })(v);
package/dist/index151.mjs CHANGED
@@ -1,5 +1,65 @@
1
1
  'use client';
2
- const t = null;
3
- export {
4
- t as default
5
- };
2
+ import { __exports as s } from "./index152.mjs";
3
+ (function(e) {
4
+ Object.defineProperty(e, "__esModule", {
5
+ value: !0
6
+ });
7
+ function n(r, t) {
8
+ for (var i in t) Object.defineProperty(r, i, {
9
+ enumerable: !0,
10
+ get: t[i]
11
+ });
12
+ }
13
+ n(e, {
14
+ VALID_LOADERS: function() {
15
+ return a;
16
+ },
17
+ imageConfigDefault: function() {
18
+ return o;
19
+ }
20
+ });
21
+ const a = [
22
+ "default",
23
+ "imgix",
24
+ "cloudinary",
25
+ "akamai",
26
+ "custom"
27
+ ], o = {
28
+ deviceSizes: [
29
+ 640,
30
+ 750,
31
+ 828,
32
+ 1080,
33
+ 1200,
34
+ 1920,
35
+ 2048,
36
+ 3840
37
+ ],
38
+ imageSizes: [
39
+ 16,
40
+ 32,
41
+ 48,
42
+ 64,
43
+ 96,
44
+ 128,
45
+ 256,
46
+ 384
47
+ ],
48
+ path: "/_next/image",
49
+ loader: "default",
50
+ loaderFile: "",
51
+ domains: [],
52
+ disableStaticImages: !1,
53
+ minimumCacheTTL: 60,
54
+ formats: [
55
+ "image/webp"
56
+ ],
57
+ dangerouslyAllowSVG: !1,
58
+ contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;",
59
+ contentDispositionType: "attachment",
60
+ localPatterns: void 0,
61
+ remotePatterns: [],
62
+ qualities: void 0,
63
+ unoptimized: !1
64
+ };
65
+ })(s);
package/dist/index152.mjs CHANGED
@@ -1,73 +1,5 @@
1
1
  'use client';
2
- import H from "./index82.mjs";
3
- import D from "./index249.mjs";
4
- import L from "./index147.mjs";
5
- import n from "./index93.mjs";
6
- import y from "./index88.mjs";
7
- import O from "./index250.mjs";
8
- import U from "./index149.mjs";
9
- import q from "./index96.mjs";
10
- import { progressEventReducer as A } from "./index251.mjs";
11
- import v from "./index252.mjs";
12
- const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
13
- return new Promise(function(C, i) {
14
- const t = v(s);
15
- let E = t.data;
16
- const T = q.from(t.headers).normalize();
17
- let { responseType: d, onUploadProgress: R, onDownloadProgress: h } = t, l, g, w, u, f;
18
- function x() {
19
- u && u(), f && f(), t.cancelToken && t.cancelToken.unsubscribe(l), t.signal && t.signal.removeEventListener("abort", l);
20
- }
21
- let e = new XMLHttpRequest();
22
- e.open(t.method.toUpperCase(), t.url, !0), e.timeout = t.timeout;
23
- function b() {
24
- if (!e)
25
- return;
26
- const o = q.from(
27
- "getAllResponseHeaders" in e && e.getAllResponseHeaders()
28
- ), a = {
29
- data: !d || d === "text" || d === "json" ? e.responseText : e.response,
30
- status: e.status,
31
- statusText: e.statusText,
32
- headers: o,
33
- config: s,
34
- request: e
35
- };
36
- D(function(c) {
37
- C(c), x();
38
- }, function(c) {
39
- i(c), x();
40
- }, a), e = null;
41
- }
42
- "onloadend" in e ? e.onloadend = b : e.onreadystatechange = function() {
43
- !e || e.readyState !== 4 || e.status === 0 && !(e.responseURL && e.responseURL.indexOf("file:") === 0) || setTimeout(b);
44
- }, e.onabort = function() {
45
- e && (i(new n("Request aborted", n.ECONNABORTED, s, e)), e = null);
46
- }, e.onerror = function(r) {
47
- const a = r && r.message ? r.message : "Network Error", p = new n(a, n.ERR_NETWORK, s, e);
48
- p.event = r || null, i(p), e = null;
49
- }, e.ontimeout = function() {
50
- let r = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
51
- const a = t.transitional || L;
52
- t.timeoutErrorMessage && (r = t.timeoutErrorMessage), i(new n(
53
- r,
54
- a.clarifyTimeoutError ? n.ETIMEDOUT : n.ECONNABORTED,
55
- s,
56
- e
57
- )), e = null;
58
- }, E === void 0 && T.setContentType(null), "setRequestHeader" in e && H.forEach(T.toJSON(), function(r, a) {
59
- e.setRequestHeader(a, r);
60
- }), H.isUndefined(t.withCredentials) || (e.withCredentials = !!t.withCredentials), d && d !== "json" && (e.responseType = t.responseType), h && ([w, f] = A(h, !0), e.addEventListener("progress", w)), R && e.upload && ([g, u] = A(R), e.upload.addEventListener("progress", g), e.upload.addEventListener("loadend", u)), (t.cancelToken || t.signal) && (l = (o) => {
61
- e && (i(!o || o.type ? new y(null, s, e) : o), e.abort(), e = null);
62
- }, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
63
- const m = O(t.url);
64
- if (m && U.protocols.indexOf(m) === -1) {
65
- i(new n("Unsupported protocol " + m + ":", n.ERR_BAD_REQUEST, s));
66
- return;
67
- }
68
- e.send(E || null);
69
- });
70
- };
2
+ var a = {};
71
3
  export {
72
- Q as default
4
+ a as __exports
73
5
  };
package/dist/index153.mjs CHANGED
@@ -1,170 +1,5 @@
1
1
  'use client';
2
- import K from "./index149.mjs";
3
- import t from "./index82.mjs";
4
- import b from "./index93.mjs";
5
- import ee from "./index253.mjs";
6
- import { trackStream as z } from "./index254.mjs";
7
- import te from "./index96.mjs";
8
- import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index251.mjs";
9
- import se from "./index252.mjs";
10
- import re from "./index249.mjs";
11
- const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: r, Response: n }) => ({
12
- Request: r,
13
- Response: n
14
- }))(t.global), {
15
- ReadableStream: V,
16
- TextEncoder: W
17
- } = t.global, Z = (r, ...n) => {
18
- try {
19
- return !!r(...n);
20
- } catch {
21
- return !1;
22
- }
23
- }, oe = (r) => {
24
- r = t.merge.call({
25
- skipUndefined: !0
26
- }, ne, r);
27
- const { fetch: n, Request: o, Response: y } = r, g = n ? P(n) : typeof fetch == "function", f = P(o), F = P(y);
28
- if (!g)
29
- return !1;
30
- const w = g && P(V), R = g && (typeof W == "function" ? /* @__PURE__ */ ((e) => (s) => e.encode(s))(new W()) : async (e) => new Uint8Array(await new o(e).arrayBuffer())), d = f && w && Z(() => {
31
- let e = !1;
32
- const s = new o(K.origin, {
33
- body: new V(),
34
- method: "POST",
35
- get duplex() {
36
- return e = !0, "half";
37
- }
38
- }).headers.has("Content-Type");
39
- return e && !s;
40
- }), h = F && w && Z(() => t.isReadableStream(new y("").body)), x = {
41
- stream: h && ((e) => e.body)
42
- };
43
- g && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
44
- !x[e] && (x[e] = (s, i) => {
45
- let c = s && s[e];
46
- if (c)
47
- return c.call(s);
48
- throw new b(`Response type '${e}' is not supported`, b.ERR_NOT_SUPPORT, i);
49
- });
50
- });
51
- const $ = async (e) => {
52
- if (e == null)
53
- return 0;
54
- if (t.isBlob(e))
55
- return e.size;
56
- if (t.isSpecCompliantForm(e))
57
- return (await new o(K.origin, {
58
- method: "POST",
59
- body: e
60
- }).arrayBuffer()).byteLength;
61
- if (t.isArrayBufferView(e) || t.isArrayBuffer(e))
62
- return e.byteLength;
63
- if (t.isURLSearchParams(e) && (e = e + ""), t.isString(e))
64
- return (await R(e)).byteLength;
65
- }, G = async (e, s) => {
66
- const i = t.toFiniteNumber(e.getContentLength());
67
- return i ?? $(s);
68
- };
69
- return async (e) => {
70
- let {
71
- url: s,
72
- method: i,
73
- data: c,
74
- signal: Q,
75
- cancelToken: _,
76
- timeout: X,
77
- onDownloadProgress: O,
78
- onUploadProgress: B,
79
- responseType: l,
80
- headers: q,
81
- withCredentials: C = "same-origin",
82
- fetchOptions: U
83
- } = se(e), v = n || fetch;
84
- l = l ? (l + "").toLowerCase() : "text";
85
- let E = ee([Q, _ && _.toAbortSignal()], X), T = null;
86
- const m = E && E.unsubscribe && (() => {
87
- E.unsubscribe();
88
- });
89
- let D;
90
- try {
91
- if (B && d && i !== "get" && i !== "head" && (D = await G(q, c)) !== 0) {
92
- let p = new o(s, {
93
- method: "POST",
94
- body: c,
95
- duplex: "half"
96
- }), S;
97
- if (t.isFormData(c) && (S = p.headers.get("content-type")) && q.setContentType(S), p.body) {
98
- const [A, L] = I(
99
- D,
100
- M(j(B))
101
- );
102
- c = z(p.body, J, A, L);
103
- }
104
- }
105
- t.isString(C) || (C = C ? "include" : "omit");
106
- const a = f && "credentials" in o.prototype, N = {
107
- ...U,
108
- signal: E,
109
- method: i.toUpperCase(),
110
- headers: q.normalize().toJSON(),
111
- body: c,
112
- duplex: "half",
113
- credentials: a ? C : void 0
114
- };
115
- T = f && new o(s, N);
116
- let u = await (f ? v(T, U) : v(s, N));
117
- const k = h && (l === "stream" || l === "response");
118
- if (h && (O || k && m)) {
119
- const p = {};
120
- ["status", "statusText", "headers"].forEach((H) => {
121
- p[H] = u[H];
122
- });
123
- const S = t.toFiniteNumber(u.headers.get("content-length")), [A, L] = O && I(
124
- S,
125
- M(j(O), !0)
126
- ) || [];
127
- u = new y(
128
- z(u.body, J, A, () => {
129
- L && L(), m && m();
130
- }),
131
- p
132
- );
133
- }
134
- l = l || "text";
135
- let Y = await x[t.findKey(x, l) || "text"](u, e);
136
- return !k && m && m(), await new Promise((p, S) => {
137
- re(p, S, {
138
- data: Y,
139
- headers: te.from(u.headers),
140
- status: u.status,
141
- statusText: u.statusText,
142
- config: e,
143
- request: T
144
- });
145
- });
146
- } catch (a) {
147
- throw m && m(), a && a.name === "TypeError" && /Load failed|fetch/i.test(a.message) ? Object.assign(
148
- new b("Network Error", b.ERR_NETWORK, e, T),
149
- {
150
- cause: a.cause || a
151
- }
152
- ) : b.from(a, a && a.code, e, T);
153
- }
154
- };
155
- }, ae = /* @__PURE__ */ new Map(), ie = (r) => {
156
- let n = r ? r.env : {};
157
- const { fetch: o, Request: y, Response: g } = n, f = [
158
- y,
159
- g,
160
- o
161
- ];
162
- let F = f.length, w = F, R, d, h = ae;
163
- for (; w--; )
164
- R = f[w], d = h.get(R), d === void 0 && h.set(R, d = w ? /* @__PURE__ */ new Map() : oe(n)), h = d;
165
- return d;
166
- };
167
- ie();
2
+ var r = {};
168
3
  export {
169
- ie as getFetch
4
+ r as __exports
170
5
  };
package/dist/index155.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var r = {};
2
+ var e = { exports: {} };
3
3
  export {
4
- r as __exports
4
+ e as __module
5
5
  };
package/dist/index156.mjs CHANGED
@@ -1,5 +1,137 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ import { __module as c } from "./index235.mjs";
3
+ import "./index78.mjs";
4
+ import "./index110.mjs";
5
+ import T from "react/jsx-runtime";
6
+ import A from "react";
7
+ import { __require as N } from "./index236.mjs";
8
+ import { __require as $ } from "./index237.mjs";
9
+ import { __require as D } from "./index183.mjs";
10
+ import { __require as R } from "./index238.mjs";
11
+ import "./index149.mjs";
12
+ import { __exports as I } from "./index82.mjs";
13
+ import { __exports as U } from "./index144.mjs";
14
+ import { __exports as F } from "./index153.mjs";
15
+ var g;
16
+ function te() {
17
+ return g ? c.exports : (g = 1, function(q, a) {
18
+ "use client";
19
+ Object.defineProperty(a, "__esModule", {
20
+ value: !0
21
+ });
22
+ function w(r, t) {
23
+ for (var n in t) Object.defineProperty(r, n, {
24
+ enumerable: !0,
25
+ get: t[n]
26
+ });
27
+ }
28
+ w(a, {
29
+ default: function() {
30
+ return P;
31
+ },
32
+ defaultHead: function() {
33
+ return _;
34
+ }
35
+ });
36
+ const x = I, v = U, d = T, p = /* @__PURE__ */ v._(A), k = /* @__PURE__ */ x._(N()), S = $(), O = D(), E = R(), m = F;
37
+ function _(r) {
38
+ r === void 0 && (r = !1);
39
+ const t = [
40
+ /* @__PURE__ */ (0, d.jsx)("meta", {
41
+ charSet: "utf-8"
42
+ }, "charset")
43
+ ];
44
+ return r || t.push(/* @__PURE__ */ (0, d.jsx)("meta", {
45
+ name: "viewport",
46
+ content: "width=device-width"
47
+ }, "viewport")), t;
48
+ }
49
+ function b(r, t) {
50
+ return typeof t == "string" || typeof t == "number" ? r : t.type === p.default.Fragment ? r.concat(
51
+ // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
52
+ p.default.Children.toArray(t.props.children).reduce(
53
+ // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
54
+ (n, e) => typeof e == "string" || typeof e == "number" ? n : n.concat(e),
55
+ []
56
+ )
57
+ ) : r.concat(t);
58
+ }
59
+ const y = [
60
+ "name",
61
+ "httpEquiv",
62
+ "charSet",
63
+ "itemProp"
64
+ ];
65
+ function j() {
66
+ const r = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), e = {};
67
+ return (o) => {
68
+ let u = !0, s = !1;
69
+ if (o.key && typeof o.key != "number" && o.key.indexOf("$") > 0) {
70
+ s = !0;
71
+ const f = o.key.slice(o.key.indexOf("$") + 1);
72
+ r.has(f) ? u = !1 : r.add(f);
73
+ }
74
+ switch (o.type) {
75
+ case "title":
76
+ case "base":
77
+ t.has(o.type) ? u = !1 : t.add(o.type);
78
+ break;
79
+ case "meta":
80
+ for (let f = 0, H = y.length; f < H; f++) {
81
+ const i = y[f];
82
+ if (o.props.hasOwnProperty(i))
83
+ if (i === "charSet")
84
+ n.has(i) ? u = !1 : n.add(i);
85
+ else {
86
+ const h = o.props[i], l = e[i] || /* @__PURE__ */ new Set();
87
+ (i !== "name" || !s) && l.has(h) ? u = !1 : (l.add(h), e[i] = l);
88
+ }
89
+ }
90
+ break;
91
+ }
92
+ return u;
93
+ };
94
+ }
95
+ function M(r, t) {
96
+ const { inAmpMode: n } = t;
97
+ return r.reduce(b, []).reverse().concat(_(n).reverse()).filter(j()).reverse().map((e, o) => {
98
+ const u = e.key || o;
99
+ if (process.env.NODE_ENV !== "development" && process.env.__NEXT_OPTIMIZE_FONTS && !n && e.type === "link" && e.props.href && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
100
+ [
101
+ "https://fonts.googleapis.com/css",
102
+ "https://use.typekit.net/"
103
+ ].some((s) => e.props.href.startsWith(s))) {
104
+ const s = {
105
+ ...e.props || {}
106
+ };
107
+ return s["data-href"] = s.href, s.href = void 0, s["data-optimized-fonts"] = !0, /* @__PURE__ */ p.default.cloneElement(e, s);
108
+ }
109
+ if (process.env.NODE_ENV === "development")
110
+ if (e.type === "script" && e.props.type !== "application/ld+json") {
111
+ const s = e.props.src ? '<script> tag with src="' + e.props.src + '"' : "inline <script>";
112
+ (0, m.warnOnce)("Do not add <script> tags using next/head (see " + s + `). Use next/script instead.
113
+ See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);
114
+ } else e.type === "link" && e.props.rel === "stylesheet" && (0, m.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="' + e.props.href + `"). Use Document instead.
115
+ See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);
116
+ return /* @__PURE__ */ p.default.cloneElement(e, {
117
+ key: u
118
+ });
119
+ });
120
+ }
121
+ function C(r) {
122
+ let { children: t } = r;
123
+ const n = (0, p.useContext)(S.AmpStateContext), e = (0, p.useContext)(O.HeadManagerContext);
124
+ return /* @__PURE__ */ (0, d.jsx)(k.default, {
125
+ reduceComponentsToState: M,
126
+ headManager: e,
127
+ inAmpMode: (0, E.isInAmpMode)(n),
128
+ children: t
129
+ });
130
+ }
131
+ const P = C;
132
+ (typeof a.default == "function" || typeof a.default == "object" && a.default !== null) && typeof a.default.__esModule > "u" && (Object.defineProperty(a.default, "__esModule", { value: !0 }), Object.assign(a.default, a), q.exports = a.default);
133
+ }(c, c.exports), c.exports);
134
+ }
3
135
  export {
4
- e as __module
136
+ te as __require
5
137
  };
package/dist/index157.mjs CHANGED
@@ -1,21 +1,25 @@
1
1
  'use client';
2
- import { __exports as r } from "./index212.mjs";
3
- var u;
4
- function a() {
5
- return u ? r : (u = 1, function(n) {
6
- Object.defineProperty(n, "__esModule", {
2
+ import { __exports as e } from "./index239.mjs";
3
+ import "./index78.mjs";
4
+ import a from "react";
5
+ import "./index151.mjs";
6
+ import { __exports as _ } from "./index82.mjs";
7
+ import { __exports as u } from "./index152.mjs";
8
+ var o;
9
+ function d() {
10
+ return o ? e : (o = 1, function(t) {
11
+ Object.defineProperty(t, "__esModule", {
7
12
  value: !0
8
- }), Object.defineProperty(n, "default", {
13
+ }), Object.defineProperty(t, "ImageConfigContext", {
9
14
  enumerable: !0,
10
15
  get: function() {
11
- return o;
16
+ return r;
12
17
  }
13
18
  });
14
- function o(e, t) {
15
- return t === void 0 && (t = ""), (e === "/" ? "/index" : /^\/index(\/|$)/.test(e) ? "/index" + e : e) + t;
16
- }
17
- }(r), r);
19
+ const i = /* @__PURE__ */ _._(a), n = u, r = i.default.createContext(n.imageConfigDefault);
20
+ process.env.NODE_ENV !== "production" && (r.displayName = "ImageConfigContext");
21
+ }(e), e);
18
22
  }
19
23
  export {
20
- a as __require
24
+ d as __require
21
25
  };
package/dist/index158.mjs CHANGED
@@ -1,35 +1,41 @@
1
1
  'use client';
2
- import { __module as r } from "./index213.mjs";
2
+ import { __module as r } from "./index240.mjs";
3
+ import s from "react";
3
4
  var i;
4
- function c() {
5
- return i ? r.exports : (i = 1, function(f, e) {
5
+ function R() {
6
+ return i ? r.exports : (i = 1, function(d, e) {
6
7
  Object.defineProperty(e, "__esModule", {
7
8
  value: !0
8
- }), Object.defineProperty(e, "__unsafeCreateTrustedScriptURL", {
9
+ }), Object.defineProperty(e, "useMergedRef", {
9
10
  enumerable: !0,
10
11
  get: function() {
11
12
  return a;
12
13
  }
13
14
  });
14
- let n;
15
- function d() {
16
- if (typeof n > "u" && typeof window < "u") {
17
- var u;
18
- n = ((u = window.trustedTypes) == null ? void 0 : u.createPolicy("nextjs", {
19
- createHTML: (t) => t,
20
- createScript: (t) => t,
21
- createScriptURL: (t) => t
22
- })) || null;
23
- }
24
- return n;
15
+ const f = s;
16
+ function a(u, t) {
17
+ const n = (0, f.useRef)(() => {
18
+ }), c = (0, f.useRef)(() => {
19
+ });
20
+ return (0, f.useMemo)(() => !u || !t ? u || t : (l) => {
21
+ l === null ? (n.current(), c.current()) : (n.current = o(u, l), c.current = o(t, l));
22
+ }, [
23
+ u,
24
+ t
25
+ ]);
25
26
  }
26
- function a(u) {
27
- var t;
28
- return ((t = d()) == null ? void 0 : t.createScriptURL(u)) || u;
27
+ function o(u, t) {
28
+ if (typeof u == "function") {
29
+ const n = u(t);
30
+ return typeof n == "function" ? n : () => u(null);
31
+ } else
32
+ return u.current = t, () => {
33
+ u.current = null;
34
+ };
29
35
  }
30
- (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), f.exports = e.default);
36
+ (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), d.exports = e.default);
31
37
  }(r, r.exports), r.exports);
32
38
  }
33
39
  export {
34
- c as __require
40
+ R as __require
35
41
  };
package/dist/index159.mjs CHANGED
@@ -1,41 +1,5 @@
1
1
  'use client';
2
- import { __module as n } from "./index214.mjs";
3
- var a;
4
- function o() {
5
- return a ? n.exports : (a = 1, function(f, e) {
6
- Object.defineProperty(e, "__esModule", {
7
- value: !0
8
- });
9
- function d(l, t) {
10
- for (var u in t) Object.defineProperty(l, u, {
11
- enumerable: !0,
12
- get: t[u]
13
- });
14
- }
15
- d(e, {
16
- cancelIdleCallback: function() {
17
- return c;
18
- },
19
- requestIdleCallback: function() {
20
- return r;
21
- }
22
- });
23
- const r = typeof self < "u" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(l) {
24
- let t = Date.now();
25
- return self.setTimeout(function() {
26
- l({
27
- didTimeout: !1,
28
- timeRemaining: function() {
29
- return Math.max(0, 50 - (Date.now() - t));
30
- }
31
- });
32
- }, 1);
33
- }, c = typeof self < "u" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(l) {
34
- return clearTimeout(l);
35
- };
36
- (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), f.exports = e.default);
37
- }(n, n.exports), n.exports);
38
- }
2
+ var a = {};
39
3
  export {
40
- o as __require
4
+ a as __exports
41
5
  };
package/dist/index16.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { jsxs as c, jsx as u } from "react/jsx-runtime";
3
- import { Root as v } from "./index49.mjs";
4
- import { cva as g } from "./index50.mjs";
3
+ import { Root as v } from "./index50.mjs";
4
+ import { cva as g } from "./index51.mjs";
5
5
  import { Loader2 as l } from "lucide-react";
6
6
  import { cn as p } from "./index22.mjs";
7
7
  const b = g(