@okam/stack-ui 1.27.2 → 1.27.3
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.
- package/index116.js +1 -1
- package/index116.mjs +2 -2
- package/index12.js +1 -0
- package/index12.mjs +1 -0
- package/index124.js +1 -1
- package/index124.mjs +1 -1
- package/index126.js +1 -1
- package/index126.mjs +1 -1
- package/index133.js +1 -1
- package/index133.mjs +49 -19
- package/index134.js +1 -1
- package/index134.mjs +25 -49
- package/index135.js +1 -1
- package/index135.mjs +19 -25
- package/index137.js +1 -1
- package/index137.mjs +14 -14
- package/index143.js +1 -1
- package/index143.mjs +1 -1
- package/index147.js +1 -1
- package/index147.mjs +1 -1
- package/index159.js +1 -11
- package/index159.mjs +2 -116
- package/index160.js +1 -1
- package/index160.mjs +6 -2
- package/index161.js +1 -1
- package/index161.mjs +64 -5
- package/index162.js +1 -1
- package/index162.mjs +16 -54
- package/index163.js +1 -1
- package/index163.mjs +49 -21
- package/index164.js +1 -1
- package/index164.mjs +143 -42
- package/index165.js +1 -1
- package/index165.mjs +18 -151
- package/index166.js +1 -1
- package/index166.mjs +14 -17
- package/index167.js +1 -1
- package/index167.mjs +34 -14
- package/index168.js +1 -1
- package/index168.mjs +79 -36
- package/index169.js +1 -1
- package/index169.mjs +23 -75
- package/index170.js +1 -1
- package/index170.mjs +13 -22
- package/index171.js +1 -1
- package/index171.mjs +48 -16
- package/index172.js +1 -1
- package/index172.mjs +2 -54
- package/index173.js +11 -1
- package/index173.mjs +116 -2
- package/index208.js +1 -1
- package/index208.mjs +2 -2
- package/index210.js +1 -1
- package/index210.mjs +1 -1
- package/index213.js +1 -1
- package/index213.mjs +1 -1
- package/index248.js +1 -1
- package/index248.mjs +1 -1
- package/index250.js +1 -1
- package/index250.mjs +2 -2
- package/index251.js +1 -1
- package/index251.mjs +2 -23
- package/index252.js +1 -1
- package/index252.mjs +23 -2
- package/package.json +1 -1
package/index165.mjs
CHANGED
|
@@ -1,158 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { __module as a } from "./index212.mjs";
|
|
2
|
+
import { __require as f } from "./index204.mjs";
|
|
3
|
+
import { __require as c } from "./index213.mjs";
|
|
4
|
+
var i;
|
|
5
|
+
function g() {
|
|
6
|
+
return i ? a.exports : (i = 1, function(o, e) {
|
|
7
|
+
Object.defineProperty(e, "__esModule", {
|
|
6
8
|
value: !0
|
|
7
|
-
})
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: r[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
m(u, {
|
|
15
|
-
WEB_VITALS: function() {
|
|
16
|
-
return p;
|
|
17
|
-
},
|
|
18
|
-
execOnce: function() {
|
|
19
|
-
return E;
|
|
20
|
-
},
|
|
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() {
|
|
9
|
+
}), Object.defineProperty(e, "addLocale", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
40
12
|
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;
|
|
65
13
|
}
|
|
66
14
|
});
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
];
|
|
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
|
-
});
|
|
153
|
-
}
|
|
154
|
-
}(a), a);
|
|
15
|
+
const d = f(), l = function(t) {
|
|
16
|
+
for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), r = 1; r < u; r++)
|
|
17
|
+
n[r - 1] = arguments[r];
|
|
18
|
+
return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
|
|
19
|
+
};
|
|
20
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
|
|
21
|
+
}(a, a.exports), a.exports);
|
|
155
22
|
}
|
|
156
23
|
export {
|
|
157
|
-
|
|
24
|
+
g as __require
|
|
158
25
|
};
|
package/index166.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index214.js");require("./index160.js");const o=require("react"),n=require("./index172.js");var u;function i(){return u||(u=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=n.__exports._(o).default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="RouterContext")}(e.__exports)),e.__exports}exports.__require=i;
|
package/index166.mjs
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { __exports as e } from "./index214.mjs";
|
|
2
|
+
import "./index160.mjs";
|
|
3
|
+
import u from "react";
|
|
4
|
+
import { __exports as n } from "./index172.mjs";
|
|
5
|
+
var o;
|
|
6
|
+
function d() {
|
|
7
|
+
return o ? e : (o = 1, function(t) {
|
|
8
|
+
Object.defineProperty(t, "__esModule", {
|
|
8
9
|
value: !0
|
|
9
|
-
}), Object.defineProperty(
|
|
10
|
+
}), Object.defineProperty(t, "RouterContext", {
|
|
10
11
|
enumerable: !0,
|
|
11
12
|
get: function() {
|
|
12
|
-
return
|
|
13
|
+
return r;
|
|
13
14
|
}
|
|
14
15
|
});
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
|
|
19
|
-
};
|
|
20
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
|
|
21
|
-
}(a, a.exports), a.exports);
|
|
16
|
+
const r = (/* @__PURE__ */ n._(u)).default.createContext(null);
|
|
17
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "RouterContext");
|
|
18
|
+
}(e), e);
|
|
22
19
|
}
|
|
23
20
|
export {
|
|
24
|
-
|
|
21
|
+
d as __require
|
|
25
22
|
};
|
package/index167.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index215.js");require("./index160.js");const x=require("react"),d=require("./index172.js");var c;function f(){return c||(c=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0});function p(_,i){for(var l in i)Object.defineProperty(_,l,{enumerable:!0,get:i[l]})}p(o,{AppRouterContext:function(){return r},LayoutRouterContext:function(){return n},GlobalLayoutRouterContext:function(){return u},TemplateContext:function(){return a},MissingSlotContext:function(){return s}});const e=d.__exports._(x),r=e.default.createContext(null),n=e.default.createContext(null),u=e.default.createContext(null),a=e.default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="AppRouterContext",n.displayName="LayoutRouterContext",u.displayName="GlobalLayoutRouterContext",a.displayName="TemplateContext");const s=e.default.createContext(new Set)}(t.__exports)),t.__exports}exports.__require=f;
|
package/index167.mjs
CHANGED
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
import { __exports as e } from "./
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import { __exports as
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
return
|
|
8
|
-
|
|
1
|
+
import { __exports as e } from "./index215.mjs";
|
|
2
|
+
import "./index160.mjs";
|
|
3
|
+
import f from "react";
|
|
4
|
+
import { __exports as x } from "./index172.mjs";
|
|
5
|
+
var p;
|
|
6
|
+
function b() {
|
|
7
|
+
return p ? e : (p = 1, function(o) {
|
|
8
|
+
"use client";
|
|
9
|
+
Object.defineProperty(o, "__esModule", {
|
|
9
10
|
value: !0
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
});
|
|
12
|
+
function c(_, i) {
|
|
13
|
+
for (var l in i) Object.defineProperty(_, l, {
|
|
14
|
+
enumerable: !0,
|
|
15
|
+
get: i[l]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
c(o, {
|
|
19
|
+
AppRouterContext: function() {
|
|
20
|
+
return n;
|
|
21
|
+
},
|
|
22
|
+
LayoutRouterContext: function() {
|
|
13
23
|
return r;
|
|
24
|
+
},
|
|
25
|
+
GlobalLayoutRouterContext: function() {
|
|
26
|
+
return u;
|
|
27
|
+
},
|
|
28
|
+
TemplateContext: function() {
|
|
29
|
+
return a;
|
|
30
|
+
},
|
|
31
|
+
MissingSlotContext: function() {
|
|
32
|
+
return s;
|
|
14
33
|
}
|
|
15
34
|
});
|
|
16
|
-
const
|
|
17
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "
|
|
35
|
+
const t = /* @__PURE__ */ x._(f), n = t.default.createContext(null), r = t.default.createContext(null), u = t.default.createContext(null), a = t.default.createContext(null);
|
|
36
|
+
process.env.NODE_ENV !== "production" && (n.displayName = "AppRouterContext", r.displayName = "LayoutRouterContext", u.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
|
|
37
|
+
const s = t.default.createContext(/* @__PURE__ */ new Set());
|
|
18
38
|
}(e), e);
|
|
19
39
|
}
|
|
20
40
|
export {
|
|
21
|
-
|
|
41
|
+
b as __require
|
|
22
42
|
};
|
package/index168.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index216.js"),C=require("react"),R=require("./index217.js");var q;function p(){return q||(q=1,function(O,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return y}});const f=C,g=R.__require(),m=typeof IntersectionObserver=="function",v=new Map,d=[];function k(r){const t={root:r.root||null,margin:r.rootMargin||""},u=d.find(c=>c.root===t.root&&c.margin===t.margin);let e;if(u&&(e=v.get(u),e))return e;const i=new Map,s=new IntersectionObserver(c=>{c.forEach(o=>{const l=i.get(o.target),b=o.isIntersecting||o.intersectionRatio>0;l&&b&&l(b)})},r);return e={id:t,observer:s,elements:i},d.push(t),v.set(t,e),e}function M(r,t,u){const{id:e,observer:i,elements:s}=k(u);return s.set(r,t),i.observe(r),function(){if(s.delete(r),i.unobserve(r),s.size===0){i.disconnect(),v.delete(e);const o=d.findIndex(l=>l.root===e.root&&l.margin===e.margin);o>-1&&d.splice(o,1)}}}function y(r){let{rootRef:t,rootMargin:u,disabled:e}=r;const i=e||!m,[s,c]=(0,f.useState)(!1),o=(0,f.useRef)(null),l=(0,f.useCallback)(a=>{o.current=a},[]);(0,f.useEffect)(()=>{if(m){if(i||s)return;const a=o.current;if(a&&a.tagName)return M(a,I=>I&&c(I),{root:t==null?void 0:t.current,rootMargin:u})}else if(!s){const a=(0,g.requestIdleCallback)(()=>c(!0));return()=>(0,g.cancelIdleCallback)(a)}},[i,u,t,s,o.current]);const b=(0,f.useCallback)(()=>{c(!1)},[]);return[l,s,b]}(typeof n.default=="function"||typeof n.default=="object"&&n.default!==null)&&typeof n.default.__esModule>"u"&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),O.exports=n.default)}(_.__module,_.__module.exports)),_.__module.exports}exports.__require=p;
|
package/index168.mjs
CHANGED
|
@@ -1,42 +1,85 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
"use client";
|
|
9
|
-
Object.defineProperty(o, "__esModule", {
|
|
1
|
+
import { __module as v } from "./index216.mjs";
|
|
2
|
+
import R from "react";
|
|
3
|
+
import { __require as C } from "./index217.mjs";
|
|
4
|
+
var k;
|
|
5
|
+
function E() {
|
|
6
|
+
return k ? v.exports : (k = 1, function(p, n) {
|
|
7
|
+
Object.defineProperty(n, "__esModule", {
|
|
10
8
|
value: !0
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
get: i[l]
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
c(o, {
|
|
19
|
-
AppRouterContext: function() {
|
|
20
|
-
return n;
|
|
21
|
-
},
|
|
22
|
-
LayoutRouterContext: function() {
|
|
23
|
-
return r;
|
|
24
|
-
},
|
|
25
|
-
GlobalLayoutRouterContext: function() {
|
|
26
|
-
return u;
|
|
27
|
-
},
|
|
28
|
-
TemplateContext: function() {
|
|
29
|
-
return a;
|
|
30
|
-
},
|
|
31
|
-
MissingSlotContext: function() {
|
|
32
|
-
return s;
|
|
9
|
+
}), Object.defineProperty(n, "useIntersection", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return M;
|
|
33
13
|
}
|
|
34
14
|
});
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
15
|
+
const f = R, _ = C(), g = typeof IntersectionObserver == "function", m = /* @__PURE__ */ new Map(), d = [];
|
|
16
|
+
function q(r) {
|
|
17
|
+
const t = {
|
|
18
|
+
root: r.root || null,
|
|
19
|
+
margin: r.rootMargin || ""
|
|
20
|
+
}, u = d.find((c) => c.root === t.root && c.margin === t.margin);
|
|
21
|
+
let e;
|
|
22
|
+
if (u && (e = m.get(u), e))
|
|
23
|
+
return e;
|
|
24
|
+
const i = /* @__PURE__ */ new Map(), s = new IntersectionObserver((c) => {
|
|
25
|
+
c.forEach((o) => {
|
|
26
|
+
const l = i.get(o.target), b = o.isIntersecting || o.intersectionRatio > 0;
|
|
27
|
+
l && b && l(b);
|
|
28
|
+
});
|
|
29
|
+
}, r);
|
|
30
|
+
return e = {
|
|
31
|
+
id: t,
|
|
32
|
+
observer: s,
|
|
33
|
+
elements: i
|
|
34
|
+
}, d.push(t), m.set(t, e), e;
|
|
35
|
+
}
|
|
36
|
+
function O(r, t, u) {
|
|
37
|
+
const { id: e, observer: i, elements: s } = q(u);
|
|
38
|
+
return s.set(r, t), i.observe(r), function() {
|
|
39
|
+
if (s.delete(r), i.unobserve(r), s.size === 0) {
|
|
40
|
+
i.disconnect(), m.delete(e);
|
|
41
|
+
const o = d.findIndex((l) => l.root === e.root && l.margin === e.margin);
|
|
42
|
+
o > -1 && d.splice(o, 1);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function M(r) {
|
|
47
|
+
let { rootRef: t, rootMargin: u, disabled: e } = r;
|
|
48
|
+
const i = e || !g, [s, c] = (0, f.useState)(!1), o = (0, f.useRef)(null), l = (0, f.useCallback)((a) => {
|
|
49
|
+
o.current = a;
|
|
50
|
+
}, []);
|
|
51
|
+
(0, f.useEffect)(() => {
|
|
52
|
+
if (g) {
|
|
53
|
+
if (i || s) return;
|
|
54
|
+
const a = o.current;
|
|
55
|
+
if (a && a.tagName)
|
|
56
|
+
return O(a, (I) => I && c(I), {
|
|
57
|
+
root: t == null ? void 0 : t.current,
|
|
58
|
+
rootMargin: u
|
|
59
|
+
});
|
|
60
|
+
} else if (!s) {
|
|
61
|
+
const a = (0, _.requestIdleCallback)(() => c(!0));
|
|
62
|
+
return () => (0, _.cancelIdleCallback)(a);
|
|
63
|
+
}
|
|
64
|
+
}, [
|
|
65
|
+
i,
|
|
66
|
+
u,
|
|
67
|
+
t,
|
|
68
|
+
s,
|
|
69
|
+
o.current
|
|
70
|
+
]);
|
|
71
|
+
const b = (0, f.useCallback)(() => {
|
|
72
|
+
c(!1);
|
|
73
|
+
}, []);
|
|
74
|
+
return [
|
|
75
|
+
l,
|
|
76
|
+
s,
|
|
77
|
+
b
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
(typeof n.default == "function" || typeof n.default == "object" && n.default !== null) && typeof n.default.__esModule > "u" && (Object.defineProperty(n.default, "__esModule", { value: !0 }), Object.assign(n.default, n), p.exports = n.default);
|
|
81
|
+
}(v, v.exports), v.exports);
|
|
39
82
|
}
|
|
40
83
|
export {
|
|
41
|
-
|
|
84
|
+
E as __require
|
|
42
85
|
};
|
package/index169.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index218.js"),g=require("./index204.js"),h=require("./index219.js"),q=require("./index220.js");var r;function b(){return r||(r=1,function(l,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return c}});const i=g.__require(),u=process.env.__NEXT_ROUTER_BASEPATH||"";function c(a,d,_,f){if(process.env.__NEXT_I18N_SUPPORT){const s=h.__require().normalizeLocalePath,m=q.__require().detectDomainLocale,n=d||s(a,_).detectedLocale,t=m(f,void 0,n);if(t){const L="http"+(t.http?"":"s")+"://",P=n===t.defaultLocale?"":"/"+n;return""+L+t.domain+(0,i.normalizePathTrailingSlash)(""+u+P+a)}return!1}else return!1}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),l.exports=e.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=b;
|
package/index169.mjs
CHANGED
|
@@ -1,85 +1,33 @@
|
|
|
1
|
-
import { __module as
|
|
2
|
-
import
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { __module as a } from "./index218.mjs";
|
|
2
|
+
import { __require as h } from "./index204.mjs";
|
|
3
|
+
import { __require as p } from "./index219.mjs";
|
|
4
|
+
import { __require as g } from "./index220.mjs";
|
|
5
|
+
var n;
|
|
6
|
+
function y() {
|
|
7
|
+
return n ? a.exports : (n = 1, function(i, e) {
|
|
8
|
+
Object.defineProperty(e, "__esModule", {
|
|
8
9
|
value: !0
|
|
9
|
-
}), Object.defineProperty(
|
|
10
|
+
}), Object.defineProperty(e, "getDomainLocale", {
|
|
10
11
|
enumerable: !0,
|
|
11
12
|
get: function() {
|
|
12
|
-
return
|
|
13
|
+
return c;
|
|
13
14
|
}
|
|
14
15
|
});
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
if (u && (e = m.get(u), e))
|
|
23
|
-
return e;
|
|
24
|
-
const i = /* @__PURE__ */ new Map(), s = new IntersectionObserver((c) => {
|
|
25
|
-
c.forEach((o) => {
|
|
26
|
-
const l = i.get(o.target), b = o.isIntersecting || o.intersectionRatio > 0;
|
|
27
|
-
l && b && l(b);
|
|
28
|
-
});
|
|
29
|
-
}, r);
|
|
30
|
-
return e = {
|
|
31
|
-
id: t,
|
|
32
|
-
observer: s,
|
|
33
|
-
elements: i
|
|
34
|
-
}, d.push(t), m.set(t, e), e;
|
|
35
|
-
}
|
|
36
|
-
function O(r, t, u) {
|
|
37
|
-
const { id: e, observer: i, elements: s } = q(u);
|
|
38
|
-
return s.set(r, t), i.observe(r), function() {
|
|
39
|
-
if (s.delete(r), i.unobserve(r), s.size === 0) {
|
|
40
|
-
i.disconnect(), m.delete(e);
|
|
41
|
-
const o = d.findIndex((l) => l.root === e.root && l.margin === e.margin);
|
|
42
|
-
o > -1 && d.splice(o, 1);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function M(r) {
|
|
47
|
-
let { rootRef: t, rootMargin: u, disabled: e } = r;
|
|
48
|
-
const i = e || !g, [s, c] = (0, f.useState)(!1), o = (0, f.useRef)(null), l = (0, f.useCallback)((a) => {
|
|
49
|
-
o.current = a;
|
|
50
|
-
}, []);
|
|
51
|
-
(0, f.useEffect)(() => {
|
|
52
|
-
if (g) {
|
|
53
|
-
if (i || s) return;
|
|
54
|
-
const a = o.current;
|
|
55
|
-
if (a && a.tagName)
|
|
56
|
-
return O(a, (I) => I && c(I), {
|
|
57
|
-
root: t == null ? void 0 : t.current,
|
|
58
|
-
rootMargin: u
|
|
59
|
-
});
|
|
60
|
-
} else if (!s) {
|
|
61
|
-
const a = (0, _.requestIdleCallback)(() => c(!0));
|
|
62
|
-
return () => (0, _.cancelIdleCallback)(a);
|
|
16
|
+
const l = h(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
17
|
+
function c(r, f, s, d) {
|
|
18
|
+
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
19
|
+
const m = p().normalizeLocalePath, _ = g().detectDomainLocale, o = f || m(r, s).detectedLocale, t = _(d, void 0, o);
|
|
20
|
+
if (t) {
|
|
21
|
+
const L = "http" + (t.http ? "" : "s") + "://", P = o === t.defaultLocale ? "" : "/" + o;
|
|
22
|
+
return "" + L + t.domain + (0, l.normalizePathTrailingSlash)("" + u + P + r);
|
|
63
23
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
t,
|
|
68
|
-
s,
|
|
69
|
-
o.current
|
|
70
|
-
]);
|
|
71
|
-
const b = (0, f.useCallback)(() => {
|
|
72
|
-
c(!1);
|
|
73
|
-
}, []);
|
|
74
|
-
return [
|
|
75
|
-
l,
|
|
76
|
-
s,
|
|
77
|
-
b
|
|
78
|
-
];
|
|
24
|
+
return !1;
|
|
25
|
+
} else
|
|
26
|
+
return !1;
|
|
79
27
|
}
|
|
80
|
-
(typeof
|
|
81
|
-
}(
|
|
28
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), i.exports = e.default);
|
|
29
|
+
}(a, a.exports), a.exports);
|
|
82
30
|
}
|
|
83
31
|
export {
|
|
84
|
-
|
|
32
|
+
y as __require
|
|
85
33
|
};
|
package/index170.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index221.js"),o=require("./index222.js"),f=require("./index204.js");var r;function s(){return r||(r=1,function(u,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return _}});const d=o.__require(),n=f.__require(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function _(a,l){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!l?a:(0,d.addPathPrefix)(a,i))}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),u.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=s;
|
package/index170.mjs
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
import { __module as a } from "./
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
return n ? a.exports : (n = 1, function(i, e) {
|
|
1
|
+
import { __module as a } from "./index221.mjs";
|
|
2
|
+
import { __require as _ } from "./index222.mjs";
|
|
3
|
+
import { __require as l } from "./index204.mjs";
|
|
4
|
+
var t;
|
|
5
|
+
function h() {
|
|
6
|
+
return t ? a.exports : (t = 1, function(u, e) {
|
|
8
7
|
Object.defineProperty(e, "__esModule", {
|
|
9
8
|
value: !0
|
|
10
|
-
}), Object.defineProperty(e, "
|
|
9
|
+
}), Object.defineProperty(e, "addBasePath", {
|
|
11
10
|
enumerable: !0,
|
|
12
11
|
get: function() {
|
|
13
|
-
return
|
|
12
|
+
return f;
|
|
14
13
|
}
|
|
15
14
|
});
|
|
16
|
-
const
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
const m = p().normalizeLocalePath, _ = g().detectDomainLocale, o = f || m(r, s).detectedLocale, t = _(d, void 0, o);
|
|
20
|
-
if (t) {
|
|
21
|
-
const L = "http" + (t.http ? "" : "s") + "://", P = o === t.defaultLocale ? "" : "/" + o;
|
|
22
|
-
return "" + L + t.domain + (0, l.normalizePathTrailingSlash)("" + u + P + r);
|
|
23
|
-
}
|
|
24
|
-
return !1;
|
|
25
|
-
} else
|
|
26
|
-
return !1;
|
|
15
|
+
const i = _(), d = l(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
16
|
+
function f(r, o) {
|
|
17
|
+
return (0, d.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !o ? r : (0, i.addPathPrefix)(r, n));
|
|
27
18
|
}
|
|
28
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e),
|
|
19
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), u.exports = e.default);
|
|
29
20
|
}(a, a.exports), a.exports);
|
|
30
21
|
}
|
|
31
22
|
export {
|
|
32
|
-
|
|
23
|
+
h as __require
|
|
33
24
|
};
|
package/index171.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index223.js");var f;function a(){return f||(f=1,function(c,e){Object.defineProperty(e,"__esModule",{value:!0});function _(t,u){for(var o in u)Object.defineProperty(t,o,{enumerable:!0,get:u[o]})}_(e,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return T},ACTION_RESTORE:function(){return R},ACTION_SERVER_PATCH:function(){return E},ACTION_PREFETCH:function(){return A},ACTION_FAST_REFRESH:function(){return d},ACTION_SERVER_ACTION:function(){return O},isThenable:function(){return s}});const i="refresh",T="navigate",R="restore",E="server-patch",A="prefetch",d="fast-refresh",O="server-action";var r;(function(t){t.AUTO="auto",t.FULL="full",t.TEMPORARY="temporary"})(r||(r={}));function s(t){return t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}(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),c.exports=e.default)}(n.__module,n.__module.exports)),n.__module.exports}exports.__require=a;
|