@okam/stack-ui 1.27.2 → 1.28.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 (57) hide show
  1. package/components/Box/interface.d.ts +0 -1
  2. package/components/Typography/interface.d.ts +0 -1
  3. package/index116.js +1 -1
  4. package/index116.mjs +2 -2
  5. package/index12.js +1 -0
  6. package/index12.mjs +1 -0
  7. package/index124.js +1 -1
  8. package/index124.mjs +1 -1
  9. package/index126.js +1 -1
  10. package/index126.mjs +1 -1
  11. package/index13.js +1 -1
  12. package/index13.mjs +32 -15
  13. package/index133.js +1 -1
  14. package/index133.mjs +49 -19
  15. package/index134.js +1 -1
  16. package/index134.mjs +25 -49
  17. package/index135.js +1 -1
  18. package/index135.mjs +19 -25
  19. package/index137.js +1 -1
  20. package/index137.mjs +14 -14
  21. package/index143.js +1 -1
  22. package/index143.mjs +1 -1
  23. package/index147.js +1 -1
  24. package/index147.mjs +1 -1
  25. package/index159.js +1 -11
  26. package/index159.mjs +2 -116
  27. package/index160.js +1 -1
  28. package/index160.mjs +6 -2
  29. package/index161.js +1 -1
  30. package/index161.mjs +64 -5
  31. package/index162.js +1 -1
  32. package/index162.mjs +16 -54
  33. package/index163.js +1 -1
  34. package/index163.mjs +49 -21
  35. package/index164.js +1 -1
  36. package/index164.mjs +143 -42
  37. package/index165.js +1 -1
  38. package/index165.mjs +18 -151
  39. package/index166.js +1 -1
  40. package/index166.mjs +14 -17
  41. package/index167.js +1 -1
  42. package/index167.mjs +34 -14
  43. package/index168.js +1 -1
  44. package/index168.mjs +79 -36
  45. package/index169.js +1 -1
  46. package/index169.mjs +23 -75
  47. package/index170.js +1 -1
  48. package/index170.mjs +13 -22
  49. package/index171.js +1 -1
  50. package/index171.mjs +48 -16
  51. package/index172.js +1 -1
  52. package/index172.mjs +2 -54
  53. package/index173.js +11 -1
  54. package/index173.mjs +116 -2
  55. package/index248.js +1 -1
  56. package/index248.mjs +1 -1
  57. package/package.json +1 -1
package/index159.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 e = { exports: {} };
115
2
  export {
116
- p as c,
117
- y as r
3
+ e as __module
118
4
  };
package/index160.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";const r=require("./index172.js");r.__exports._=r.__exports._interop_require_default=_;function _(e){return e&&e.__esModule?e:{default:e}}module.exports=r.__exports;
package/index160.mjs CHANGED
@@ -1,4 +1,8 @@
1
- var e = { exports: {} };
1
+ import { __exports as r } from "./index172.mjs";
2
+ r._ = r._interop_require_default = _;
3
+ function _(e) {
4
+ return e && e.__esModule ? e : { default: e };
5
+ }
2
6
  export {
3
- e as __module
7
+ r as default
4
8
  };
package/index161.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index173.js");r.__exports._=r.__exports._interop_require_default=_;function _(e){return e&&e.__esModule?e:{default:e}}module.exports=r.__exports;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index201.js"),j=require("./index202.js"),z=require("./index163.js"),H=require("./index203.js"),L=require("./index164.js"),M=require("./index204.js"),O=require("./index162.js"),w=require("./index205.js"),T=require("./index206.js");var m;function A(){return m||(m=1,function(q,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return U}});const p=j.__require(),c=z.__require(),g=H.__require(),y=L.__require(),P=M.__require(),b=O.__require(),R=w.__require(),v=T.__require();function U(s,l,a){let n,r=typeof l=="string"?l:(0,c.formatWithValidation)(l);const i=r.match(/^[a-zA-Z]{1,}:\/\//),_=i?r.slice(i[0].length):r;if((_.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+r+"' passed to next/router in page: '"+s.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const e=(0,y.normalizeRepeatedSlashes)(_);r=(i?i[0]:"")+e}if(!(0,b.isLocalURL)(r))return a?[r]:r;try{n=new URL(r.startsWith("#")?s.asPath:s.pathname,"http://n")}catch{n=new URL("/","http://n")}try{const e=new URL(r,n);e.pathname=(0,P.normalizePathTrailingSlash)(e.pathname);let f="";if((0,R.isDynamicRoute)(e.pathname)&&e.searchParams&&a){const h=(0,p.searchParamsToUrlQuery)(e.searchParams),{result:d,params:S}=(0,v.interpolateAs)(e.pathname,e.pathname,h);d&&(f=(0,c.formatWithValidation)({pathname:d,hash:e.hash,query:(0,g.omit)(h,S)}))}const u=e.origin===n.origin?e.href.slice(e.origin.length):e.href;return a?[u,f||u]:u}catch{return a?[r]:r}}(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),q.exports=t.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=A;
package/index161.mjs CHANGED
@@ -1,8 +1,67 @@
1
- import { __exports as r } from "./index173.mjs";
2
- r._ = r._interop_require_default = _;
3
- function _(e) {
4
- return e && e.__esModule ? e : { default: e };
1
+ import { __module as n } from "./index201.mjs";
2
+ import { __require as H } from "./index202.mjs";
3
+ import { __require as L } from "./index163.mjs";
4
+ import { __require as j } from "./index203.mjs";
5
+ import { __require as O } from "./index164.mjs";
6
+ import { __require as S } from "./index204.mjs";
7
+ import { __require as w } from "./index162.mjs";
8
+ import { __require as M } from "./index205.mjs";
9
+ import { __require as A } from "./index206.mjs";
10
+ var p;
11
+ function $() {
12
+ return p ? n.exports : (p = 1, function(d, t) {
13
+ Object.defineProperty(t, "__esModule", {
14
+ value: !0
15
+ }), Object.defineProperty(t, "resolveHref", {
16
+ enumerable: !0,
17
+ get: function() {
18
+ return v;
19
+ }
20
+ });
21
+ const q = H(), f = L(), g = j(), y = O(), P = S(), U = w(), R = M(), b = A();
22
+ function v(s, l, a) {
23
+ let i, r = typeof l == "string" ? l : (0, f.formatWithValidation)(l);
24
+ const o = r.match(/^[a-zA-Z]{1,}:\/\//), m = o ? r.slice(o[0].length) : r;
25
+ if ((m.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
26
+ console.error("Invalid href '" + r + "' passed to next/router in page: '" + s.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
27
+ const e = (0, y.normalizeRepeatedSlashes)(m);
28
+ r = (o ? o[0] : "") + e;
29
+ }
30
+ if (!(0, U.isLocalURL)(r))
31
+ return a ? [
32
+ r
33
+ ] : r;
34
+ try {
35
+ i = new URL(r.startsWith("#") ? s.asPath : s.pathname, "http://n");
36
+ } catch {
37
+ i = new URL("/", "http://n");
38
+ }
39
+ try {
40
+ const e = new URL(r, i);
41
+ e.pathname = (0, P.normalizePathTrailingSlash)(e.pathname);
42
+ let c = "";
43
+ if ((0, R.isDynamicRoute)(e.pathname) && e.searchParams && a) {
44
+ const h = (0, q.searchParamsToUrlQuery)(e.searchParams), { result: _, params: z } = (0, b.interpolateAs)(e.pathname, e.pathname, h);
45
+ _ && (c = (0, f.formatWithValidation)({
46
+ pathname: _,
47
+ hash: e.hash,
48
+ query: (0, g.omit)(h, z)
49
+ }));
50
+ }
51
+ const u = e.origin === i.origin ? e.href.slice(e.origin.length) : e.href;
52
+ return a ? [
53
+ u,
54
+ c || u
55
+ ] : u;
56
+ } catch {
57
+ return a ? [
58
+ r
59
+ ] : r;
60
+ }
61
+ }
62
+ (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), d.exports = t.default);
63
+ }(n, n.exports), n.exports);
5
64
  }
6
65
  export {
7
- r as default
66
+ $ as __require
8
67
  };
package/index162.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index201.js"),j=require("./index202.js"),z=require("./index164.js"),H=require("./index203.js"),L=require("./index165.js"),M=require("./index204.js"),O=require("./index163.js"),w=require("./index205.js"),T=require("./index206.js");var m;function A(){return m||(m=1,function(q,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return U}});const p=j.__require(),c=z.__require(),g=H.__require(),y=L.__require(),P=M.__require(),b=O.__require(),R=w.__require(),v=T.__require();function U(s,l,a){let n,r=typeof l=="string"?l:(0,c.formatWithValidation)(l);const i=r.match(/^[a-zA-Z]{1,}:\/\//),_=i?r.slice(i[0].length):r;if((_.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+r+"' passed to next/router in page: '"+s.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const e=(0,y.normalizeRepeatedSlashes)(_);r=(i?i[0]:"")+e}if(!(0,b.isLocalURL)(r))return a?[r]:r;try{n=new URL(r.startsWith("#")?s.asPath:s.pathname,"http://n")}catch{n=new URL("/","http://n")}try{const e=new URL(r,n);e.pathname=(0,P.normalizePathTrailingSlash)(e.pathname);let f="";if((0,R.isDynamicRoute)(e.pathname)&&e.searchParams&&a){const h=(0,p.searchParamsToUrlQuery)(e.searchParams),{result:d,params:S}=(0,v.interpolateAs)(e.pathname,e.pathname,h);d&&(f=(0,c.formatWithValidation)({pathname:d,hash:e.hash,query:(0,g.omit)(h,S)}))}const u=e.origin===n.origin?e.href.slice(e.origin.length):e.href;return a?[u,f||u]:u}catch{return a?[r]:r}}(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),q.exports=t.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index207.js"),c=require("./index164.js"),l=require("./index208.js");var s;function _(){return s||(s=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});const i=c.__require(),u=l.__require();function a(n){if(!(0,i.isAbsoluteUrl)(n))return!0;try{const e=(0,i.getLocationOrigin)(),o=new URL(n,e);return o.origin===e&&(0,u.hasBasePath)(o.pathname)}catch{return!1}}}(r.__exports)),r.__exports}exports.__require=_;
package/index162.mjs CHANGED
@@ -1,67 +1,29 @@
1
- import { __module as n } from "./index201.mjs";
2
- import { __require as H } from "./index202.mjs";
3
- import { __require as L } from "./index164.mjs";
4
- import { __require as j } from "./index203.mjs";
5
- import { __require as O } from "./index165.mjs";
6
- import { __require as S } from "./index204.mjs";
7
- import { __require as w } from "./index163.mjs";
8
- import { __require as M } from "./index205.mjs";
9
- import { __require as A } from "./index206.mjs";
10
- var p;
11
- function $() {
12
- return p ? n.exports : (p = 1, function(d, t) {
1
+ import { __exports as r } from "./index207.mjs";
2
+ import { __require as c } from "./index164.mjs";
3
+ import { __require as l } from "./index208.mjs";
4
+ var n;
5
+ function h() {
6
+ return n ? r : (n = 1, function(t) {
13
7
  Object.defineProperty(t, "__esModule", {
14
8
  value: !0
15
- }), Object.defineProperty(t, "resolveHref", {
9
+ }), Object.defineProperty(t, "isLocalURL", {
16
10
  enumerable: !0,
17
11
  get: function() {
18
- return v;
12
+ return u;
19
13
  }
20
14
  });
21
- const q = H(), f = L(), g = j(), y = O(), P = S(), U = w(), R = M(), b = A();
22
- function v(s, l, a) {
23
- let i, r = typeof l == "string" ? l : (0, f.formatWithValidation)(l);
24
- const o = r.match(/^[a-zA-Z]{1,}:\/\//), m = o ? r.slice(o[0].length) : r;
25
- if ((m.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
26
- console.error("Invalid href '" + r + "' passed to next/router in page: '" + s.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
27
- const e = (0, y.normalizeRepeatedSlashes)(m);
28
- r = (o ? o[0] : "") + e;
29
- }
30
- if (!(0, U.isLocalURL)(r))
31
- return a ? [
32
- r
33
- ] : r;
34
- try {
35
- i = new URL(r.startsWith("#") ? s.asPath : s.pathname, "http://n");
36
- } catch {
37
- i = new URL("/", "http://n");
38
- }
15
+ const i = c(), s = l();
16
+ function u(o) {
17
+ if (!(0, i.isAbsoluteUrl)(o)) return !0;
39
18
  try {
40
- const e = new URL(r, i);
41
- e.pathname = (0, P.normalizePathTrailingSlash)(e.pathname);
42
- let c = "";
43
- if ((0, R.isDynamicRoute)(e.pathname) && e.searchParams && a) {
44
- const h = (0, q.searchParamsToUrlQuery)(e.searchParams), { result: _, params: z } = (0, b.interpolateAs)(e.pathname, e.pathname, h);
45
- _ && (c = (0, f.formatWithValidation)({
46
- pathname: _,
47
- hash: e.hash,
48
- query: (0, g.omit)(h, z)
49
- }));
50
- }
51
- const u = e.origin === i.origin ? e.href.slice(e.origin.length) : e.href;
52
- return a ? [
53
- u,
54
- c || u
55
- ] : u;
19
+ const e = (0, i.getLocationOrigin)(), a = new URL(o, e);
20
+ return a.origin === e && (0, s.hasBasePath)(a.pathname);
56
21
  } catch {
57
- return a ? [
58
- r
59
- ] : r;
22
+ return !1;
60
23
  }
61
24
  }
62
- (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), d.exports = t.default);
63
- }(n, n.exports), n.exports);
25
+ }(r), r);
64
26
  }
65
27
  export {
66
- $ as __require
28
+ h as __require
67
29
  };
package/index163.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index207.js"),c=require("./index165.js"),l=require("./index208.js");var s;function _(){return s||(s=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});const i=c.__require(),u=l.__require();function a(n){if(!(0,i.isAbsoluteUrl)(n))return!0;try{const e=(0,i.getLocationOrigin)(),o=new URL(n,e);return o.origin===e&&(0,u.hasBasePath)(o.pathname)}catch{return!1}}}(r.__exports)),r.__exports}exports.__require=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index209.js"),y=require("./index210.js"),g=require("./index202.js");var p;function U(){return p||(p=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});function _(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}_(u,{formatUrl:function(){return h},urlObjectKeys:function(){return l},formatWithValidation:function(){return q}});const d=y.__require()._(g.__require()),m=/https?|ftp|gopher|file/;function h(e){let{auth:t,hostname:o}=e,s=e.protocol||"",n=e.pathname||"",c=e.hash||"",a=e.query||"",r=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?r=t+e.host:o&&(r=t+(~o.indexOf(":")?"["+o+"]":o),e.port&&(r+=":"+e.port)),a&&typeof a=="object"&&(a=String(d.urlQueryToSearchParams(a)));let i=e.search||a&&"?"+a||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||m.test(s))&&r!==!1?(r="//"+(r||""),n&&n[0]!=="/"&&(n="/"+n)):r||(r=""),c&&c[0]!=="#"&&(c="#"+c),i&&i[0]!=="?"&&(i="?"+i),n=n.replace(/[?#]/g,encodeURIComponent),i=i.replace("#","%23"),""+s+r+n+i+c}const l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function q(e){return process.env.NODE_ENV==="development"&&e!==null&&typeof e=="object"&&Object.keys(e).forEach(t=>{l.includes(t)||console.warn("Unknown key passed via urlObject into url.format: "+t)}),h(e)}}(f.__exports)),f.__exports}exports.__require=U;
package/index163.mjs CHANGED
@@ -1,29 +1,57 @@
1
- import { __exports as r } from "./index207.mjs";
2
- import { __require as c } from "./index165.mjs";
3
- import { __require as l } from "./index208.mjs";
4
- var n;
5
- function h() {
6
- return n ? r : (n = 1, function(t) {
7
- Object.defineProperty(t, "__esModule", {
1
+ import { __exports as c } from "./index209.mjs";
2
+ import { __require as y } from "./index210.mjs";
3
+ import { __require as U } from "./index202.mjs";
4
+ var l;
5
+ function x() {
6
+ return l ? c : (l = 1, function(h) {
7
+ Object.defineProperty(h, "__esModule", {
8
8
  value: !0
9
- }), Object.defineProperty(t, "isLocalURL", {
10
- enumerable: !0,
11
- get: function() {
9
+ });
10
+ function m(e, t) {
11
+ for (var o in t) Object.defineProperty(e, o, {
12
+ enumerable: !0,
13
+ get: t[o]
14
+ });
15
+ }
16
+ m(h, {
17
+ formatUrl: function() {
18
+ return p;
19
+ },
20
+ urlObjectKeys: function() {
12
21
  return u;
22
+ },
23
+ formatWithValidation: function() {
24
+ return q;
13
25
  }
14
26
  });
15
- const i = c(), s = l();
16
- function u(o) {
17
- if (!(0, i.isAbsoluteUrl)(o)) return !0;
18
- try {
19
- const e = (0, i.getLocationOrigin)(), a = new URL(o, e);
20
- return a.origin === e && (0, s.hasBasePath)(a.pathname);
21
- } catch {
22
- return !1;
23
- }
27
+ const _ = /* @__PURE__ */ y()._(U()), d = /https?|ftp|gopher|file/;
28
+ function p(e) {
29
+ let { auth: t, hostname: o } = e, a = e.protocol || "", n = e.pathname || "", f = e.hash || "", s = e.query || "", r = !1;
30
+ t = t ? encodeURIComponent(t).replace(/%3A/i, ":") + "@" : "", e.host ? r = t + e.host : o && (r = t + (~o.indexOf(":") ? "[" + o + "]" : o), e.port && (r += ":" + e.port)), s && typeof s == "object" && (s = String(_.urlQueryToSearchParams(s)));
31
+ let i = e.search || s && "?" + s || "";
32
+ return a && !a.endsWith(":") && (a += ":"), e.slashes || (!a || d.test(a)) && r !== !1 ? (r = "//" + (r || ""), n && n[0] !== "/" && (n = "/" + n)) : r || (r = ""), f && f[0] !== "#" && (f = "#" + f), i && i[0] !== "?" && (i = "?" + i), n = n.replace(/[?#]/g, encodeURIComponent), i = i.replace("#", "%23"), "" + a + r + n + i + f;
33
+ }
34
+ const u = [
35
+ "auth",
36
+ "hash",
37
+ "host",
38
+ "hostname",
39
+ "href",
40
+ "path",
41
+ "pathname",
42
+ "port",
43
+ "protocol",
44
+ "query",
45
+ "search",
46
+ "slashes"
47
+ ];
48
+ function q(e) {
49
+ return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
50
+ u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
51
+ }), p(e);
24
52
  }
25
- }(r), r);
53
+ }(c), c);
26
54
  }
27
55
  export {
28
- h as __require
56
+ x as __require
29
57
  };
package/index164.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index209.js"),y=require("./index210.js"),g=require("./index202.js");var p;function U(){return p||(p=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});function _(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}_(u,{formatUrl:function(){return h},urlObjectKeys:function(){return l},formatWithValidation:function(){return q}});const d=y.__require()._(g.__require()),m=/https?|ftp|gopher|file/;function h(e){let{auth:t,hostname:o}=e,s=e.protocol||"",n=e.pathname||"",c=e.hash||"",a=e.query||"",r=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?r=t+e.host:o&&(r=t+(~o.indexOf(":")?"["+o+"]":o),e.port&&(r+=":"+e.port)),a&&typeof a=="object"&&(a=String(d.urlQueryToSearchParams(a)));let i=e.search||a&&"?"+a||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||m.test(s))&&r!==!1?(r="//"+(r||""),n&&n[0]!=="/"&&(n="/"+n)):r||(r=""),c&&c[0]!=="#"&&(c="#"+c),i&&i[0]!=="?"&&(i="?"+i),n=n.replace(/[?#]/g,encodeURIComponent),i=i.replace("#","%23"),""+s+r+n+i+c}const l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function q(e){return process.env.NODE_ENV==="development"&&e!==null&&typeof e=="object"&&Object.keys(e).forEach(t=>{l.includes(t)||console.warn("Unknown key passed via urlObject into url.format: "+t)}),h(e)}}(f.__exports)),f.__exports}exports.__require=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index211.js");var g;function _(){return g||(g=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function m(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}m(a,{WEB_VITALS:function(){return p},execOnce:function(){return E},isAbsoluteUrl:function(){return P},getLocationOrigin:function(){return c},getURL:function(){return N},getDisplayName:function(){return s},isResSent:function(){return f},normalizeRepeatedSlashes:function(){return y},loadGetInitialProps:function(){return l},SP:function(){return d},ST:function(){return S},DecodeError:function(){return w},NormalizeError:function(){return O},PageNotFoundError:function(){return v},MissingStaticPage:function(){return I},MiddlewareNotFoundError:function(){return b},stringifyError:function(){return T}});const p=["CLS","FCP","FID","INP","LCP","TTFB"];function E(e){let r=!1,t;return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return r||(r=!0,t=e(...n)),t}}const h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,P=e=>h.test(e);function c(){const{protocol:e,hostname:r,port:t}=window.location;return e+"//"+r+(t?":"+t:"")}function N(){const{href:e}=window.location,r=c();return e.substring(r.length)}function s(e){return typeof e=="string"?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function y(e){const r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function l(e,r){if(process.env.NODE_ENV!=="production"){var t;if((t=e.prototype)!=null&&t.getInitialProps){const o='"'+s(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw new Error(o)}}const i=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await l(r.Component,r.ctx)}:{};const n=await e.getInitialProps(r);if(i&&f(i))return n;if(!n){const o='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw new Error(o)}return process.env.NODE_ENV!=="production"&&Object.keys(n).length===0&&!r.ctx&&console.warn(""+s(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),n}const d=typeof performance<"u",S=d&&["mark","measure","getEntriesByName"].every(e=>typeof performance[e]=="function");class w extends Error{}class O extends Error{}class v extends Error{constructor(r){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+r}}class I extends Error{constructor(r,t){super(),this.message="Failed to load static file for page: "+r+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function T(e){return JSON.stringify({message:e.message,stack:e.stack})}}(u.__exports)),u.__exports}exports.__require=_;
package/index164.mjs CHANGED
@@ -1,57 +1,158 @@
1
- import { __exports as c } from "./index209.mjs";
2
- import { __require as y } from "./index210.mjs";
3
- import { __require as U } from "./index202.mjs";
4
- var l;
5
- function x() {
6
- return l ? c : (l = 1, function(h) {
7
- Object.defineProperty(h, "__esModule", {
1
+ import { __exports as a } from "./index211.mjs";
2
+ var g;
3
+ function j() {
4
+ return g ? a : (g = 1, function(u) {
5
+ Object.defineProperty(u, "__esModule", {
8
6
  value: !0
9
7
  });
10
- function m(e, t) {
11
- for (var o in t) Object.defineProperty(e, o, {
8
+ function m(e, r) {
9
+ for (var t in r) Object.defineProperty(e, t, {
12
10
  enumerable: !0,
13
- get: t[o]
11
+ get: r[t]
14
12
  });
15
13
  }
16
- m(h, {
17
- formatUrl: function() {
14
+ m(u, {
15
+ WEB_VITALS: function() {
18
16
  return p;
19
17
  },
20
- urlObjectKeys: function() {
21
- return u;
18
+ execOnce: function() {
19
+ return E;
22
20
  },
23
- formatWithValidation: function() {
24
- return q;
21
+ isAbsoluteUrl: function() {
22
+ return N;
23
+ },
24
+ getLocationOrigin: function() {
25
+ return c;
26
+ },
27
+ getURL: function() {
28
+ return P;
29
+ },
30
+ getDisplayName: function() {
31
+ return s;
32
+ },
33
+ isResSent: function() {
34
+ return f;
35
+ },
36
+ normalizeRepeatedSlashes: function() {
37
+ return y;
38
+ },
39
+ loadGetInitialProps: function() {
40
+ return l;
41
+ },
42
+ SP: function() {
43
+ return d;
44
+ },
45
+ ST: function() {
46
+ return w;
47
+ },
48
+ DecodeError: function() {
49
+ return S;
50
+ },
51
+ NormalizeError: function() {
52
+ return I;
53
+ },
54
+ PageNotFoundError: function() {
55
+ return O;
56
+ },
57
+ MissingStaticPage: function() {
58
+ return v;
59
+ },
60
+ MiddlewareNotFoundError: function() {
61
+ return b;
62
+ },
63
+ stringifyError: function() {
64
+ return L;
25
65
  }
26
66
  });
27
- const _ = /* @__PURE__ */ y()._(U()), d = /https?|ftp|gopher|file/;
28
- function p(e) {
29
- let { auth: t, hostname: o } = e, a = e.protocol || "", n = e.pathname || "", f = e.hash || "", s = e.query || "", r = !1;
30
- t = t ? encodeURIComponent(t).replace(/%3A/i, ":") + "@" : "", e.host ? r = t + e.host : o && (r = t + (~o.indexOf(":") ? "[" + o + "]" : o), e.port && (r += ":" + e.port)), s && typeof s == "object" && (s = String(_.urlQueryToSearchParams(s)));
31
- let i = e.search || s && "?" + s || "";
32
- return a && !a.endsWith(":") && (a += ":"), e.slashes || (!a || d.test(a)) && r !== !1 ? (r = "//" + (r || ""), n && n[0] !== "/" && (n = "/" + n)) : r || (r = ""), f && f[0] !== "#" && (f = "#" + f), i && i[0] !== "?" && (i = "?" + i), n = n.replace(/[?#]/g, encodeURIComponent), i = i.replace("#", "%23"), "" + a + r + n + i + f;
33
- }
34
- const u = [
35
- "auth",
36
- "hash",
37
- "host",
38
- "hostname",
39
- "href",
40
- "path",
41
- "pathname",
42
- "port",
43
- "protocol",
44
- "query",
45
- "search",
46
- "slashes"
67
+ const p = [
68
+ "CLS",
69
+ "FCP",
70
+ "FID",
71
+ "INP",
72
+ "LCP",
73
+ "TTFB"
47
74
  ];
48
- function q(e) {
49
- return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
50
- u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
51
- }), p(e);
75
+ function E(e) {
76
+ let r = !1, t;
77
+ return function() {
78
+ for (var i = arguments.length, n = new Array(i), o = 0; o < i; o++)
79
+ n[o] = arguments[o];
80
+ return r || (r = !0, t = e(...n)), t;
81
+ };
82
+ }
83
+ const h = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, N = (e) => h.test(e);
84
+ function c() {
85
+ const { protocol: e, hostname: r, port: t } = window.location;
86
+ return e + "//" + r + (t ? ":" + t : "");
87
+ }
88
+ function P() {
89
+ const { href: e } = window.location, r = c();
90
+ return e.substring(r.length);
91
+ }
92
+ function s(e) {
93
+ return typeof e == "string" ? e : e.displayName || e.name || "Unknown";
94
+ }
95
+ function f(e) {
96
+ return e.finished || e.headersSent;
97
+ }
98
+ function y(e) {
99
+ const r = e.split("?");
100
+ return r[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (r[1] ? "?" + r.slice(1).join("?") : "");
101
+ }
102
+ async function l(e, r) {
103
+ if (process.env.NODE_ENV !== "production") {
104
+ var t;
105
+ if ((t = e.prototype) != null && t.getInitialProps) {
106
+ const o = '"' + s(e) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
107
+ throw new Error(o);
108
+ }
109
+ }
110
+ const i = r.res || r.ctx && r.ctx.res;
111
+ if (!e.getInitialProps)
112
+ return r.ctx && r.Component ? {
113
+ pageProps: await l(r.Component, r.ctx)
114
+ } : {};
115
+ const n = await e.getInitialProps(r);
116
+ if (i && f(i))
117
+ return n;
118
+ if (!n) {
119
+ const o = '"' + s(e) + '.getInitialProps()" should resolve to an object. But found "' + n + '" instead.';
120
+ throw new Error(o);
121
+ }
122
+ return process.env.NODE_ENV !== "production" && Object.keys(n).length === 0 && !r.ctx && console.warn("" + s(e) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), n;
123
+ }
124
+ const d = typeof performance < "u", w = d && [
125
+ "mark",
126
+ "measure",
127
+ "getEntriesByName"
128
+ ].every((e) => typeof performance[e] == "function");
129
+ class S extends Error {
130
+ }
131
+ class I extends Error {
132
+ }
133
+ class O extends Error {
134
+ constructor(r) {
135
+ super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + r;
136
+ }
137
+ }
138
+ class v extends Error {
139
+ constructor(r, t) {
140
+ super(), this.message = "Failed to load static file for page: " + r + " " + t;
141
+ }
142
+ }
143
+ class b extends Error {
144
+ constructor() {
145
+ super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
146
+ }
147
+ }
148
+ function L(e) {
149
+ return JSON.stringify({
150
+ message: e.message,
151
+ stack: e.stack
152
+ });
52
153
  }
53
- }(c), c);
154
+ }(a), a);
54
155
  }
55
156
  export {
56
- x as __require
157
+ j as __require
57
158
  };
package/index165.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index211.js");var g;function _(){return g||(g=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function m(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}m(a,{WEB_VITALS:function(){return p},execOnce:function(){return E},isAbsoluteUrl:function(){return P},getLocationOrigin:function(){return c},getURL:function(){return N},getDisplayName:function(){return s},isResSent:function(){return f},normalizeRepeatedSlashes:function(){return y},loadGetInitialProps:function(){return l},SP:function(){return d},ST:function(){return S},DecodeError:function(){return w},NormalizeError:function(){return O},PageNotFoundError:function(){return v},MissingStaticPage:function(){return I},MiddlewareNotFoundError:function(){return b},stringifyError:function(){return T}});const p=["CLS","FCP","FID","INP","LCP","TTFB"];function E(e){let r=!1,t;return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return r||(r=!0,t=e(...n)),t}}const h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,P=e=>h.test(e);function c(){const{protocol:e,hostname:r,port:t}=window.location;return e+"//"+r+(t?":"+t:"")}function N(){const{href:e}=window.location,r=c();return e.substring(r.length)}function s(e){return typeof e=="string"?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function y(e){const r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function l(e,r){if(process.env.NODE_ENV!=="production"){var t;if((t=e.prototype)!=null&&t.getInitialProps){const o='"'+s(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw new Error(o)}}const i=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await l(r.Component,r.ctx)}:{};const n=await e.getInitialProps(r);if(i&&f(i))return n;if(!n){const o='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw new Error(o)}return process.env.NODE_ENV!=="production"&&Object.keys(n).length===0&&!r.ctx&&console.warn(""+s(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),n}const d=typeof performance<"u",S=d&&["mark","measure","getEntriesByName"].every(e=>typeof performance[e]=="function");class w extends Error{}class O extends Error{}class v extends Error{constructor(r){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+r}}class I extends Error{constructor(r,t){super(),this.message="Failed to load static file for page: "+r+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function T(e){return JSON.stringify({message:e.message,stack:e.stack})}}(u.__exports)),u.__exports}exports.__require=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index212.js"),c=require("./index204.js"),f=require("./index213.js");var l;function _(){return l||(l=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return i}});const o=c.__require(),i=function(a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return process.env.__NEXT_I18N_SUPPORT?(0,o.normalizePathTrailingSlash)(f.__require().addLocale(a,...n)):a};(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)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=_;