@instockng/storefront-ui 1.0.27 → 1.0.28

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 (138) hide show
  1. package/dist/components/ShoppingCart.d.ts +3 -1
  2. package/dist/components/ShoppingCart.d.ts.map +1 -1
  3. package/dist/index10.mjs +39 -38
  4. package/dist/index100.mjs +13 -15
  5. package/dist/index101.mjs +16 -27
  6. package/dist/index102.mjs +26 -20
  7. package/dist/index103.mjs +151 -14
  8. package/dist/index104.mjs +13 -14
  9. package/dist/index105.mjs +23 -39
  10. package/dist/index106.mjs +76 -15
  11. package/dist/index107.mjs +33 -263
  12. package/dist/index108.mjs +138 -63
  13. package/dist/index109.mjs +54 -7
  14. package/dist/index110.mjs +23 -2
  15. package/dist/index111.mjs +27 -2
  16. package/dist/index112.mjs +19 -29
  17. package/dist/index113.mjs +25 -2
  18. package/dist/index114.mjs +18 -232
  19. package/dist/index115.mjs +21 -5
  20. package/dist/index116.mjs +17 -130
  21. package/dist/index117.mjs +64 -67
  22. package/dist/index118.mjs +16 -85
  23. package/dist/index119.mjs +38 -28
  24. package/dist/index120.mjs +23 -8
  25. package/dist/index121.mjs +31 -72
  26. package/dist/index122.mjs +26 -3
  27. package/dist/index123.mjs +19 -2
  28. package/dist/index124.mjs +19 -81
  29. package/dist/index125.mjs +46 -53
  30. package/dist/index126.mjs +22 -5
  31. package/dist/index127.mjs +267 -4
  32. package/dist/index128.mjs +62 -171
  33. package/dist/index129.mjs +8 -53
  34. package/dist/index130.mjs +2 -69
  35. package/dist/index131.mjs +2 -34
  36. package/dist/index132.mjs +32 -42
  37. package/dist/index133.mjs +2 -2
  38. package/dist/index138.mjs +1 -1
  39. package/dist/index139.mjs +1 -1
  40. package/dist/index141.mjs +1 -1
  41. package/dist/index142.mjs +1 -1
  42. package/dist/index144.mjs +1 -1
  43. package/dist/index145.mjs +1 -1
  44. package/dist/index147.mjs +3 -3
  45. package/dist/index148.mjs +1 -1
  46. package/dist/index153.mjs +2 -2
  47. package/dist/index155.mjs +1 -1
  48. package/dist/index157.mjs +2 -2
  49. package/dist/index158.mjs +5 -5
  50. package/dist/index161.mjs +1 -1
  51. package/dist/index167.mjs +2 -2
  52. package/dist/index172.mjs +2 -2
  53. package/dist/index174.mjs +2 -2
  54. package/dist/index180.mjs +1 -1
  55. package/dist/index193.mjs +2 -2
  56. package/dist/index194.mjs +1 -1
  57. package/dist/index195.mjs +6 -6
  58. package/dist/index196.mjs +2 -2
  59. package/dist/index197.mjs +2 -2
  60. package/dist/index199.mjs +2 -2
  61. package/dist/index200.mjs +2 -2
  62. package/dist/index201.mjs +1 -1
  63. package/dist/index203.mjs +4 -4
  64. package/dist/index204.mjs +3 -3
  65. package/dist/index205.mjs +2 -2
  66. package/dist/index206.mjs +2 -2
  67. package/dist/index208.mjs +2 -2
  68. package/dist/index209.mjs +2 -108
  69. package/dist/index210.mjs +2 -2
  70. package/dist/index211.mjs +37 -2
  71. package/dist/index212.mjs +2 -2
  72. package/dist/index213.mjs +2 -2
  73. package/dist/index214.mjs +2 -2
  74. package/dist/index215.mjs +2 -2
  75. package/dist/index216.mjs +244 -2
  76. package/dist/index217.mjs +2 -244
  77. package/dist/index218.mjs +33 -2
  78. package/dist/index219.mjs +60 -28
  79. package/dist/index220.mjs +20 -60
  80. package/dist/index221.mjs +2 -25
  81. package/dist/index222.mjs +2 -2
  82. package/dist/index223.mjs +96 -25
  83. package/dist/index224.mjs +2 -2
  84. package/dist/index236.mjs +30 -12
  85. package/dist/index237.mjs +11 -7
  86. package/dist/index238.mjs +3 -30
  87. package/dist/index239.mjs +3 -10
  88. package/dist/index240.mjs +13 -4
  89. package/dist/index241.mjs +7 -4
  90. package/dist/index242.mjs +1 -1
  91. package/dist/index244.mjs +1 -1
  92. package/dist/index245.mjs +3 -3
  93. package/dist/index246.mjs +3 -3
  94. package/dist/index248.mjs +2 -2
  95. package/dist/index249.mjs +18 -2
  96. package/dist/index250.mjs +47 -2
  97. package/dist/index251.mjs +2 -18
  98. package/dist/index252.mjs +2 -47
  99. package/dist/index253.mjs +2 -2
  100. package/dist/index254.mjs +2 -2
  101. package/dist/index255.mjs +91 -2
  102. package/dist/index256.mjs +2 -91
  103. package/dist/index258.mjs +1 -1
  104. package/dist/index264.mjs +1 -1
  105. package/dist/index47.mjs +17 -17
  106. package/dist/index48.mjs +2 -2
  107. package/dist/index66.mjs +1 -1
  108. package/dist/index70.mjs +35 -35
  109. package/dist/index71.mjs +1 -1
  110. package/dist/index72.mjs +2 -2
  111. package/dist/index73.mjs +1 -1
  112. package/dist/index75.mjs +235 -2
  113. package/dist/index76.mjs +5 -27
  114. package/dist/index77.mjs +130 -14
  115. package/dist/index78.mjs +67 -214
  116. package/dist/index79.mjs +82 -175
  117. package/dist/index80.mjs +28 -21
  118. package/dist/index81.mjs +8 -22
  119. package/dist/index82.mjs +72 -30
  120. package/dist/index83.mjs +3 -155
  121. package/dist/index84.mjs +2 -20
  122. package/dist/index85.mjs +81 -29
  123. package/dist/index86.mjs +53 -83
  124. package/dist/index87.mjs +5 -37
  125. package/dist/index88.mjs +4 -144
  126. package/dist/index89.mjs +173 -49
  127. package/dist/index90.mjs +53 -23
  128. package/dist/index91.mjs +69 -27
  129. package/dist/index92.mjs +2 -23
  130. package/dist/index93.mjs +34 -25
  131. package/dist/index94.mjs +42 -20
  132. package/dist/index95.mjs +2 -22
  133. package/dist/index96.mjs +26 -19
  134. package/dist/index97.mjs +11 -58
  135. package/dist/index98.mjs +210 -13
  136. package/dist/index99.mjs +173 -32
  137. package/package.json +1 -1
  138. package/src/components/ShoppingCart.tsx +5 -2
package/dist/index236.mjs CHANGED
@@ -1,16 +1,34 @@
1
1
  'use client';
2
- import o from "./index258.mjs";
3
- import r from "./index259.mjs";
4
- import t from "./index260.mjs";
5
- const l = {
6
- isBrowser: !0,
7
- classes: {
8
- URLSearchParams: o,
9
- FormData: r,
10
- Blob: t
11
- },
12
- protocols: ["http", "https", "file", "blob", "url", "data"]
2
+ import p from "./index85.mjs";
3
+ function i(n) {
4
+ const t = {
5
+ "!": "%21",
6
+ "'": "%27",
7
+ "(": "%28",
8
+ ")": "%29",
9
+ "~": "%7E",
10
+ "%20": "+",
11
+ "%00": "\0"
12
+ };
13
+ return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
14
+ return t[r];
15
+ });
16
+ }
17
+ function a(n, t) {
18
+ this._pairs = [], n && p(n, this, t);
19
+ }
20
+ const c = a.prototype;
21
+ c.append = function(t, o) {
22
+ this._pairs.push([t, o]);
23
+ };
24
+ c.toString = function(t) {
25
+ const o = t ? function(r) {
26
+ return t.call(this, r, i);
27
+ } : i;
28
+ return this._pairs.map(function(e) {
29
+ return o(e[0]) + "=" + o(e[1]);
30
+ }, "").join("&");
13
31
  };
14
32
  export {
15
- l as default
33
+ a as default
16
34
  };
package/dist/index237.mjs CHANGED
@@ -1,10 +1,14 @@
1
1
  'use client';
2
- const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
2
+ import i from "./index75.mjs";
3
+ import m from "./index79.mjs";
4
+ import s from "./index89.mjs";
5
+ function h(f, t) {
6
+ const o = this || m, r = t || o, n = s.from(r.headers);
7
+ let a = r.data;
8
+ return i.forEach(f, function(e) {
9
+ a = e.call(o, a, n.normalize(), t ? t.status : void 0);
10
+ }), n.normalize(), a;
11
+ }
4
12
  export {
5
- e as hasBrowserEnv,
6
- n as hasStandardBrowserEnv,
7
- t as hasStandardBrowserWebWorkerEnv,
8
- o as navigator,
9
- r as origin
13
+ h as default
10
14
  };
package/dist/index238.mjs CHANGED
@@ -1,34 +1,7 @@
1
1
  'use client';
2
- import p from "./index124.mjs";
3
- function i(n) {
4
- const t = {
5
- "!": "%21",
6
- "'": "%27",
7
- "(": "%28",
8
- ")": "%29",
9
- "~": "%7E",
10
- "%20": "+",
11
- "%00": "\0"
12
- };
13
- return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
14
- return t[r];
15
- });
2
+ function e(t) {
3
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
16
4
  }
17
- function a(n, t) {
18
- this._pairs = [], n && p(n, this, t);
19
- }
20
- const c = a.prototype;
21
- c.append = function(t, o) {
22
- this._pairs.push([t, o]);
23
- };
24
- c.toString = function(t) {
25
- const o = t ? function(r) {
26
- return t.call(this, r, i);
27
- } : i;
28
- return this._pairs.map(function(e) {
29
- return o(e[0]) + "=" + o(e[1]);
30
- }, "").join("&");
31
- };
32
5
  export {
33
- a as default
6
+ e as default
34
7
  };
package/dist/index239.mjs CHANGED
@@ -1,14 +1,7 @@
1
1
  'use client';
2
- import i from "./index114.mjs";
3
- import m from "./index118.mjs";
4
- import s from "./index128.mjs";
5
- function h(f, t) {
6
- const o = this || m, r = t || o, n = s.from(r.headers);
7
- let a = r.data;
8
- return i.forEach(f, function(e) {
9
- a = e.call(o, a, n.normalize(), t ? t.status : void 0);
10
- }), n.normalize(), a;
2
+ function n(e, c) {
3
+ return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
11
4
  }
12
5
  export {
13
- h as default
6
+ n as default
14
7
  };
package/dist/index240.mjs CHANGED
@@ -1,7 +1,16 @@
1
1
  'use client';
2
- function e(t) {
3
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
4
- }
2
+ import o from "./index258.mjs";
3
+ import r from "./index259.mjs";
4
+ import t from "./index260.mjs";
5
+ const l = {
6
+ isBrowser: !0,
7
+ classes: {
8
+ URLSearchParams: o,
9
+ FormData: r,
10
+ Blob: t
11
+ },
12
+ protocols: ["http", "https", "file", "blob", "url", "data"]
13
+ };
5
14
  export {
6
- e as default
15
+ l as default
7
16
  };
package/dist/index241.mjs CHANGED
@@ -1,7 +1,10 @@
1
1
  'use client';
2
- function n(e, c) {
3
- return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
4
- }
2
+ const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
5
4
  export {
6
- n as default
5
+ e as hasBrowserEnv,
6
+ n as hasStandardBrowserEnv,
7
+ t as hasStandardBrowserWebWorkerEnv,
8
+ o as navigator,
9
+ r as origin
7
10
  };
package/dist/index242.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import a from "./index125.mjs";
2
+ import a from "./index86.mjs";
3
3
  function E(i, f, t) {
4
4
  const u = t.config.validateStatus;
5
5
  !t.status || !u || u(t.status) ? i(t) : f(new a(
package/dist/index244.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import i from "./index261.mjs";
3
3
  import m from "./index262.mjs";
4
- import f from "./index114.mjs";
4
+ import f from "./index75.mjs";
5
5
  const h = (t, o, a = 3) => {
6
6
  let r = 0;
7
7
  const c = i(50, 250);
package/dist/index245.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  import n from "./index200.mjs";
3
- import m from "./index114.mjs";
3
+ import m from "./index75.mjs";
4
4
  import c from "./index263.mjs";
5
5
  import h from "./index264.mjs";
6
6
  import w from "./index196.mjs";
7
- import b from "./index117.mjs";
8
- import C from "./index128.mjs";
7
+ import b from "./index78.mjs";
8
+ import C from "./index89.mjs";
9
9
  import g from "./index193.mjs";
10
10
  const E = (a) => {
11
11
  const e = b({}, a);
package/dist/index246.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import a from "./index120.mjs";
3
- import s from "./index125.mjs";
4
- import m from "./index114.mjs";
2
+ import a from "./index81.mjs";
3
+ import s from "./index86.mjs";
4
+ import m from "./index75.mjs";
5
5
  const h = (e, t) => {
6
6
  const { length: l } = e = e ? e.filter(Boolean) : [];
7
7
  if (t || l) {
package/dist/index248.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = {};
2
+ var a = {};
3
3
  export {
4
- e as __exports
4
+ a as __exports
5
5
  };
package/dist/index249.mjs CHANGED
@@ -1,5 +1,21 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ import { __exports as r } from "./index265.mjs";
3
+ var u;
4
+ function s() {
5
+ return u ? r : (u = 1, function(n) {
6
+ Object.defineProperty(n, "__esModule", {
7
+ value: !0
8
+ }), Object.defineProperty(n, "ensureLeadingSlash", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return t;
12
+ }
13
+ });
14
+ function t(e) {
15
+ return e.startsWith("/") ? e : "/" + e;
16
+ }
17
+ }(r), r);
18
+ }
3
19
  export {
4
- e as __module
20
+ s as __require
5
21
  };
package/dist/index250.mjs CHANGED
@@ -1,5 +1,50 @@
1
1
  'use client';
2
- var a = {};
2
+ import { __exports as u } from "./index266.mjs";
3
+ var _;
4
+ function g() {
5
+ return _ ? u : (_ = 1, function(i) {
6
+ Object.defineProperty(i, "__esModule", {
7
+ value: !0
8
+ });
9
+ function a(e, n) {
10
+ for (var t in n) Object.defineProperty(e, t, {
11
+ enumerable: !0,
12
+ get: n[t]
13
+ });
14
+ }
15
+ a(i, {
16
+ DEFAULT_SEGMENT_KEY: function() {
17
+ return E;
18
+ },
19
+ PAGE_SEGMENT_KEY: function() {
20
+ return r;
21
+ },
22
+ addSearchParamsIfPageSegment: function() {
23
+ return s;
24
+ },
25
+ isGroupSegment: function() {
26
+ return c;
27
+ },
28
+ isParallelRouteSegment: function() {
29
+ return f;
30
+ }
31
+ });
32
+ function c(e) {
33
+ return e[0] === "(" && e.endsWith(")");
34
+ }
35
+ function f(e) {
36
+ return e.startsWith("@") && e !== "@children";
37
+ }
38
+ function s(e, n) {
39
+ if (e.includes(r)) {
40
+ const o = JSON.stringify(n);
41
+ return o !== "{}" ? r + "?" + o : r;
42
+ }
43
+ return e;
44
+ }
45
+ const r = "__PAGE__", E = "__DEFAULT__";
46
+ }(u), u);
47
+ }
3
48
  export {
4
- a as __exports
49
+ g as __require
5
50
  };
package/dist/index251.mjs CHANGED
@@ -1,21 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index265.mjs";
3
- var u;
4
- function s() {
5
- return u ? r : (u = 1, function(n) {
6
- Object.defineProperty(n, "__esModule", {
7
- value: !0
8
- }), Object.defineProperty(n, "ensureLeadingSlash", {
9
- enumerable: !0,
10
- get: function() {
11
- return t;
12
- }
13
- });
14
- function t(e) {
15
- return e.startsWith("/") ? e : "/" + e;
16
- }
17
- }(r), r);
18
- }
2
+ var e = { exports: {} };
19
3
  export {
20
- s as __require
4
+ e as __module
21
5
  };
package/dist/index252.mjs CHANGED
@@ -1,50 +1,5 @@
1
1
  'use client';
2
- import { __exports as u } from "./index266.mjs";
3
- var _;
4
- function g() {
5
- return _ ? u : (_ = 1, function(i) {
6
- Object.defineProperty(i, "__esModule", {
7
- value: !0
8
- });
9
- function a(e, n) {
10
- for (var t in n) Object.defineProperty(e, t, {
11
- enumerable: !0,
12
- get: n[t]
13
- });
14
- }
15
- a(i, {
16
- DEFAULT_SEGMENT_KEY: function() {
17
- return E;
18
- },
19
- PAGE_SEGMENT_KEY: function() {
20
- return r;
21
- },
22
- addSearchParamsIfPageSegment: function() {
23
- return s;
24
- },
25
- isGroupSegment: function() {
26
- return c;
27
- },
28
- isParallelRouteSegment: function() {
29
- return f;
30
- }
31
- });
32
- function c(e) {
33
- return e[0] === "(" && e.endsWith(")");
34
- }
35
- function f(e) {
36
- return e.startsWith("@") && e !== "@children";
37
- }
38
- function s(e, n) {
39
- if (e.includes(r)) {
40
- const o = JSON.stringify(n);
41
- return o !== "{}" ? r + "?" + o : r;
42
- }
43
- return e;
44
- }
45
- const r = "__PAGE__", E = "__DEFAULT__";
46
- }(u), u);
47
- }
2
+ var r = {};
48
3
  export {
49
- g as __require
4
+ r as __exports
50
5
  };
package/dist/index253.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/index254.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ var e = {};
3
3
  export {
4
- e as __module
4
+ e as __exports
5
5
  };
package/dist/index255.mjs CHANGED
@@ -1,5 +1,94 @@
1
1
  'use client';
2
- var e = {};
2
+ import { __module as c } from "./index267.mjs";
3
+ var l;
4
+ function T() {
5
+ return l ? c.exports : (l = 1, (() => {
6
+ typeof __nccwpck_require__ < "u" && (__nccwpck_require__.ab = __dirname + "/");
7
+ var m = {};
8
+ (() => {
9
+ var v = m;
10
+ /*!
11
+ * cookie
12
+ * Copyright(c) 2012-2014 Roman Shtylman
13
+ * Copyright(c) 2015 Douglas Christopher Wilson
14
+ * MIT Licensed
15
+ */
16
+ v.parse = S, v.serialize = x;
17
+ var w = decodeURIComponent, h = encodeURIComponent, y = /; */, f = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
18
+ function S(i, n) {
19
+ if (typeof i != "string")
20
+ throw new TypeError("argument str must be a string");
21
+ for (var a = {}, e = n || {}, o = i.split(y), s = e.decode || w, r = 0; r < o.length; r++) {
22
+ var t = o[r], p = t.indexOf("=");
23
+ if (!(p < 0)) {
24
+ var d = t.substr(0, p).trim(), u = t.substr(++p, t.length).trim();
25
+ u[0] == '"' && (u = u.slice(1, -1)), a[d] == null && (a[d] = _(u, s));
26
+ }
27
+ }
28
+ return a;
29
+ }
30
+ function x(i, n, a) {
31
+ var e = a || {}, o = e.encode || h;
32
+ if (typeof o != "function")
33
+ throw new TypeError("option encode is invalid");
34
+ if (!f.test(i))
35
+ throw new TypeError("argument name is invalid");
36
+ var s = o(n);
37
+ if (s && !f.test(s))
38
+ throw new TypeError("argument val is invalid");
39
+ var r = i + "=" + s;
40
+ if (e.maxAge != null) {
41
+ var t = e.maxAge - 0;
42
+ if (isNaN(t) || !isFinite(t))
43
+ throw new TypeError("option maxAge is invalid");
44
+ r += "; Max-Age=" + Math.floor(t);
45
+ }
46
+ if (e.domain) {
47
+ if (!f.test(e.domain))
48
+ throw new TypeError("option domain is invalid");
49
+ r += "; Domain=" + e.domain;
50
+ }
51
+ if (e.path) {
52
+ if (!f.test(e.path))
53
+ throw new TypeError("option path is invalid");
54
+ r += "; Path=" + e.path;
55
+ }
56
+ if (e.expires) {
57
+ if (typeof e.expires.toUTCString != "function")
58
+ throw new TypeError("option expires is invalid");
59
+ r += "; Expires=" + e.expires.toUTCString();
60
+ }
61
+ if (e.httpOnly && (r += "; HttpOnly"), e.secure && (r += "; Secure"), e.sameSite) {
62
+ var p = typeof e.sameSite == "string" ? e.sameSite.toLowerCase() : e.sameSite;
63
+ switch (p) {
64
+ case !0:
65
+ r += "; SameSite=Strict";
66
+ break;
67
+ case "lax":
68
+ r += "; SameSite=Lax";
69
+ break;
70
+ case "strict":
71
+ r += "; SameSite=Strict";
72
+ break;
73
+ case "none":
74
+ r += "; SameSite=None";
75
+ break;
76
+ default:
77
+ throw new TypeError("option sameSite is invalid");
78
+ }
79
+ }
80
+ return r;
81
+ }
82
+ function _(i, n) {
83
+ try {
84
+ return n(i);
85
+ } catch {
86
+ return i;
87
+ }
88
+ }
89
+ })(), c.exports = m;
90
+ })(), c.exports);
91
+ }
3
92
  export {
4
- e as __exports
93
+ T as __require
5
94
  };
package/dist/index256.mjs CHANGED
@@ -1,94 +1,5 @@
1
1
  'use client';
2
- import { __module as c } from "./index267.mjs";
3
- var l;
4
- function T() {
5
- return l ? c.exports : (l = 1, (() => {
6
- typeof __nccwpck_require__ < "u" && (__nccwpck_require__.ab = __dirname + "/");
7
- var m = {};
8
- (() => {
9
- var v = m;
10
- /*!
11
- * cookie
12
- * Copyright(c) 2012-2014 Roman Shtylman
13
- * Copyright(c) 2015 Douglas Christopher Wilson
14
- * MIT Licensed
15
- */
16
- v.parse = S, v.serialize = x;
17
- var w = decodeURIComponent, h = encodeURIComponent, y = /; */, f = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
18
- function S(i, n) {
19
- if (typeof i != "string")
20
- throw new TypeError("argument str must be a string");
21
- for (var a = {}, e = n || {}, o = i.split(y), s = e.decode || w, r = 0; r < o.length; r++) {
22
- var t = o[r], p = t.indexOf("=");
23
- if (!(p < 0)) {
24
- var d = t.substr(0, p).trim(), u = t.substr(++p, t.length).trim();
25
- u[0] == '"' && (u = u.slice(1, -1)), a[d] == null && (a[d] = _(u, s));
26
- }
27
- }
28
- return a;
29
- }
30
- function x(i, n, a) {
31
- var e = a || {}, o = e.encode || h;
32
- if (typeof o != "function")
33
- throw new TypeError("option encode is invalid");
34
- if (!f.test(i))
35
- throw new TypeError("argument name is invalid");
36
- var s = o(n);
37
- if (s && !f.test(s))
38
- throw new TypeError("argument val is invalid");
39
- var r = i + "=" + s;
40
- if (e.maxAge != null) {
41
- var t = e.maxAge - 0;
42
- if (isNaN(t) || !isFinite(t))
43
- throw new TypeError("option maxAge is invalid");
44
- r += "; Max-Age=" + Math.floor(t);
45
- }
46
- if (e.domain) {
47
- if (!f.test(e.domain))
48
- throw new TypeError("option domain is invalid");
49
- r += "; Domain=" + e.domain;
50
- }
51
- if (e.path) {
52
- if (!f.test(e.path))
53
- throw new TypeError("option path is invalid");
54
- r += "; Path=" + e.path;
55
- }
56
- if (e.expires) {
57
- if (typeof e.expires.toUTCString != "function")
58
- throw new TypeError("option expires is invalid");
59
- r += "; Expires=" + e.expires.toUTCString();
60
- }
61
- if (e.httpOnly && (r += "; HttpOnly"), e.secure && (r += "; Secure"), e.sameSite) {
62
- var p = typeof e.sameSite == "string" ? e.sameSite.toLowerCase() : e.sameSite;
63
- switch (p) {
64
- case !0:
65
- r += "; SameSite=Strict";
66
- break;
67
- case "lax":
68
- r += "; SameSite=Lax";
69
- break;
70
- case "strict":
71
- r += "; SameSite=Strict";
72
- break;
73
- case "none":
74
- r += "; SameSite=None";
75
- break;
76
- default:
77
- throw new TypeError("option sameSite is invalid");
78
- }
79
- }
80
- return r;
81
- }
82
- function _(i, n) {
83
- try {
84
- return n(i);
85
- } catch {
86
- return i;
87
- }
88
- }
89
- })(), c.exports = m;
90
- })(), c.exports);
91
- }
2
+ var e = {};
92
3
  export {
93
- T as __require
4
+ e as __exports
94
5
  };
package/dist/index258.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import a from "./index238.mjs";
2
+ import a from "./index236.mjs";
3
3
  const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
4
4
  export {
5
5
  e as default
package/dist/index264.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import r from "./index114.mjs";
2
+ import r from "./index75.mjs";
3
3
  import c from "./index200.mjs";
4
4
  const p = c.hasStandardBrowserEnv ? (
5
5
  // Standard browser envs support document.cookie
package/dist/index47.mjs CHANGED
@@ -1,21 +1,21 @@
1
1
  'use client';
2
- import a from "./index114.mjs";
3
- import p from "./index115.mjs";
4
- import m from "./index116.mjs";
5
- import i from "./index117.mjs";
6
- import f from "./index118.mjs";
7
- import l from "./index119.mjs";
8
- import c from "./index120.mjs";
9
- import d from "./index121.mjs";
10
- import u from "./index122.mjs";
11
- import { VERSION as x } from "./index123.mjs";
12
- import C from "./index124.mjs";
13
- import A from "./index125.mjs";
14
- import E from "./index126.mjs";
15
- import O from "./index127.mjs";
16
- import S from "./index128.mjs";
17
- import H from "./index129.mjs";
18
- import T from "./index130.mjs";
2
+ import a from "./index75.mjs";
3
+ import p from "./index76.mjs";
4
+ import m from "./index77.mjs";
5
+ import i from "./index78.mjs";
6
+ import f from "./index79.mjs";
7
+ import l from "./index80.mjs";
8
+ import c from "./index81.mjs";
9
+ import d from "./index82.mjs";
10
+ import u from "./index83.mjs";
11
+ import { VERSION as x } from "./index84.mjs";
12
+ import C from "./index85.mjs";
13
+ import A from "./index86.mjs";
14
+ import E from "./index87.mjs";
15
+ import O from "./index88.mjs";
16
+ import S from "./index89.mjs";
17
+ import H from "./index90.mjs";
18
+ import T from "./index91.mjs";
19
19
  function n(o) {
20
20
  const t = new m(o), e = p(m.prototype.request, t);
21
21
  return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
package/dist/index48.mjs CHANGED
@@ -2,8 +2,8 @@
2
2
  var p = Object.defineProperty;
3
3
  var k = (r, e, i) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i;
4
4
  var h = (r, e, i) => k(r, typeof e != "symbol" ? e + "" : e, i);
5
- import { serialize as j } from "./index131.mjs";
6
- import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./index132.mjs";
5
+ import { serialize as j } from "./index93.mjs";
6
+ import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./index94.mjs";
7
7
  var v = (r, e) => new Proxy(() => {
8
8
  }, {
9
9
  get(t, s) {
package/dist/index66.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { getDefaultExportFromCjs as d } from "./index60.mjs";
3
- import { __module as v } from "./index133.mjs";
3
+ import { __module as v } from "./index92.mjs";
4
4
  v.exports = function(n) {
5
5
  return g(m(n), n);
6
6
  };