lkd-web-kit 0.0.7 → 0.0.9
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/dist/index.cjs +1 -0
- package/dist/index.js +59 -6322
- package/dist/index10.cjs +1 -0
- package/dist/index10.js +21 -0
- package/dist/index100.cjs +1 -0
- package/dist/index100.js +4 -0
- package/dist/index101.cjs +1 -0
- package/dist/index101.js +4 -0
- package/dist/index102.cjs +1 -0
- package/dist/index102.js +4 -0
- package/dist/index103.cjs +1 -0
- package/dist/index103.js +4 -0
- package/dist/index104.cjs +1 -0
- package/dist/index104.js +21 -0
- package/dist/index105.cjs +1 -0
- package/dist/index105.js +19 -0
- package/dist/index106.cjs +1 -0
- package/dist/index106.js +4 -0
- package/dist/index107.cjs +1 -0
- package/dist/index107.js +4 -0
- package/dist/index108.cjs +1 -0
- package/dist/index108.js +63 -0
- package/dist/index109.cjs +1 -0
- package/dist/index109.js +4 -0
- package/dist/index11.cjs +1 -0
- package/dist/index11.js +18 -0
- package/dist/index110.cjs +1 -0
- package/dist/index110.js +4 -0
- package/dist/index111.cjs +1 -0
- package/dist/index111.js +4 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.js +30 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +26 -0
- package/dist/index114.cjs +1 -0
- package/dist/index114.js +4 -0
- package/dist/index115.cjs +1 -0
- package/dist/index115.js +4 -0
- package/dist/index116.cjs +1 -0
- package/dist/index116.js +19 -0
- package/dist/index117.cjs +1 -0
- package/dist/index117.js +4 -0
- package/dist/index118.cjs +1 -0
- package/dist/index118.js +4 -0
- package/dist/index119.cjs +1 -0
- package/dist/index119.js +4 -0
- package/dist/index12.cjs +1 -0
- package/dist/index12.js +9 -0
- package/dist/index120.cjs +1 -0
- package/dist/index120.js +19 -0
- package/dist/index121.cjs +1 -0
- package/dist/index121.js +76 -0
- package/dist/index122.cjs +1 -0
- package/dist/index122.js +4 -0
- package/dist/index123.cjs +1 -0
- package/dist/index123.js +4 -0
- package/dist/index124.cjs +1 -0
- package/dist/index124.js +4 -0
- package/dist/index125.cjs +1 -0
- package/dist/index125.js +4 -0
- package/dist/index126.cjs +1 -0
- package/dist/index126.js +4 -0
- package/dist/index127.cjs +1 -0
- package/dist/index127.js +4 -0
- package/dist/index128.cjs +1 -0
- package/dist/index128.js +20 -0
- package/dist/index129.cjs +1 -0
- package/dist/index129.js +29 -0
- package/dist/index13.cjs +1 -0
- package/dist/index13.js +9 -0
- package/dist/index130.cjs +1 -0
- package/dist/index130.js +4 -0
- package/dist/index131.cjs +1 -0
- package/dist/index131.js +154 -0
- package/dist/index132.cjs +1 -0
- package/dist/index132.js +22 -0
- package/dist/index133.cjs +1 -0
- package/dist/index133.js +4 -0
- package/dist/index134.cjs +1 -0
- package/dist/index134.js +42 -0
- package/dist/index135.cjs +1 -0
- package/dist/index135.js +167 -0
- package/dist/index136.cjs +1 -0
- package/dist/index136.js +4 -0
- package/dist/index137.cjs +1 -0
- package/dist/index137.js +25 -0
- package/dist/index138.cjs +1 -0
- package/dist/index138.js +4 -0
- package/dist/index139.cjs +1 -0
- package/dist/index139.js +4 -0
- package/dist/index14.cjs +1 -0
- package/dist/index14.js +47 -0
- package/dist/index140.cjs +1 -0
- package/dist/index140.js +4 -0
- package/dist/index141.cjs +1 -0
- package/dist/index141.js +37 -0
- package/dist/index142.cjs +1 -0
- package/dist/index142.js +4 -0
- package/dist/index143.cjs +1 -0
- package/dist/index143.js +28 -0
- package/dist/index144.cjs +1 -0
- package/dist/index144.js +4 -0
- package/dist/index145.cjs +1 -0
- package/dist/index145.js +4 -0
- package/dist/index146.cjs +1 -0
- package/dist/index146.js +4 -0
- package/dist/index147.cjs +1 -0
- package/dist/index147.js +19 -0
- package/dist/index148.cjs +1 -0
- package/dist/index148.js +4 -0
- package/dist/index149.cjs +1 -0
- package/dist/index149.js +4 -0
- package/dist/index15.cjs +1 -0
- package/dist/index15.js +20 -0
- package/dist/index150.cjs +1 -0
- package/dist/index150.js +21 -0
- package/dist/index151.cjs +1 -0
- package/dist/index151.js +24 -0
- package/dist/index152.cjs +1 -0
- package/dist/index152.js +4 -0
- package/dist/index153.cjs +1 -0
- package/dist/index153.js +4 -0
- package/dist/index154.cjs +1 -0
- package/dist/index154.js +65 -0
- package/dist/index155.cjs +1 -0
- package/dist/index155.js +4 -0
- package/dist/index156.cjs +1 -0
- package/dist/index156.js +4 -0
- package/dist/index157.cjs +1 -0
- package/dist/index157.js +4 -0
- package/dist/index158.cjs +1 -0
- package/dist/index158.js +4 -0
- package/dist/index159.cjs +1 -0
- package/dist/index159.js +4 -0
- package/dist/index16.cjs +1 -0
- package/dist/index16.js +17 -0
- package/dist/index160.cjs +1 -0
- package/dist/index160.js +4 -0
- package/dist/index161.cjs +1 -0
- package/dist/index161.js +90 -0
- package/dist/index162.cjs +1 -0
- package/dist/index162.js +4 -0
- package/dist/index163.cjs +1 -0
- package/dist/index163.js +4 -0
- package/dist/index164.cjs +1 -0
- package/dist/index164.js +285 -0
- package/dist/index165.cjs +1 -0
- package/dist/index165.js +21 -0
- package/dist/index166.cjs +1 -0
- package/dist/index166.js +4 -0
- package/dist/index167.cjs +1 -0
- package/dist/index167.js +4 -0
- package/dist/index168.cjs +1 -0
- package/dist/index168.js +4 -0
- package/dist/index169.cjs +1 -0
- package/dist/index169.js +4 -0
- package/dist/index17.cjs +1 -0
- package/dist/index17.js +18 -0
- package/dist/index170.cjs +1 -0
- package/dist/index170.js +4 -0
- package/dist/index171.cjs +1 -0
- package/dist/index171.js +4 -0
- package/dist/index172.cjs +1 -0
- package/dist/index172.js +4 -0
- package/dist/index173.cjs +1 -0
- package/dist/index173.js +4 -0
- package/dist/index174.cjs +1 -0
- package/dist/index174.js +39 -0
- package/dist/index175.cjs +1 -0
- package/dist/index175.js +4 -0
- package/dist/index176.cjs +1 -0
- package/dist/index176.js +4 -0
- package/dist/index177.cjs +1 -0
- package/dist/index177.js +4 -0
- package/dist/index178.cjs +1 -0
- package/dist/index178.js +20 -0
- package/dist/index179.cjs +1 -0
- package/dist/index179.js +4 -0
- package/dist/index18.cjs +1 -0
- package/dist/index18.js +5 -0
- package/dist/index180.cjs +1 -0
- package/dist/index180.js +6 -0
- package/dist/index19.cjs +1 -0
- package/dist/index19.js +11 -0
- package/dist/index2.cjs +1 -0
- package/dist/index2.js +36 -0
- package/dist/index20.cjs +1 -0
- package/dist/index20.js +10 -0
- package/dist/index21.cjs +1 -0
- package/dist/index21.js +8 -0
- package/dist/index22.cjs +1 -0
- package/dist/index22.js +5 -0
- package/dist/index23.cjs +1 -0
- package/dist/index23.js +6 -0
- package/dist/index24.cjs +1 -0
- package/dist/index24.js +34 -0
- package/dist/index25.cjs +1 -0
- package/dist/index25.js +13 -0
- package/dist/index26.cjs +1 -0
- package/dist/index26.js +20 -0
- package/dist/index27.cjs +1 -0
- package/dist/index27.js +4 -0
- package/dist/index28.cjs +1 -0
- package/dist/index28.js +54 -0
- package/dist/index29.cjs +1 -0
- package/dist/index29.js +7 -0
- package/dist/index3.cjs +1 -0
- package/dist/index3.js +6 -0
- package/dist/index30.cjs +1 -0
- package/dist/index30.js +8 -0
- package/dist/index31.cjs +8 -0
- package/dist/index31.js +280 -0
- package/dist/index32.cjs +1 -0
- package/dist/index32.js +8 -0
- package/dist/index33.cjs +1 -0
- package/dist/index33.js +133 -0
- package/dist/index34.cjs +1 -0
- package/dist/index34.js +4 -0
- package/dist/index35.cjs +1 -0
- package/dist/index35.js +41 -0
- package/dist/index36.cjs +1 -0
- package/dist/index36.js +33 -0
- package/dist/index37.cjs +1 -0
- package/dist/index37.js +21 -0
- package/dist/index38.cjs +1 -0
- package/dist/index38.js +49 -0
- package/dist/index39.cjs +1 -0
- package/dist/index39.js +75 -0
- package/dist/index4.cjs +1 -0
- package/dist/index4.js +105 -0
- package/dist/index40.cjs +1 -0
- package/dist/index40.js +34 -0
- package/dist/index41.cjs +4 -0
- package/dist/index41.js +346 -0
- package/dist/index42.cjs +1 -0
- package/dist/index42.js +30 -0
- package/dist/index43.cjs +1 -0
- package/dist/index43.js +4 -0
- package/dist/index44.cjs +1 -0
- package/dist/index44.js +30 -0
- package/dist/index45.cjs +1 -0
- package/dist/index45.js +67 -0
- package/dist/index46.cjs +1 -0
- package/dist/index46.js +29 -0
- package/dist/index47.cjs +1 -0
- package/dist/index47.js +57 -0
- package/dist/index48.cjs +1 -0
- package/dist/index48.js +166 -0
- package/dist/index49.cjs +1 -0
- package/dist/index49.js +25 -0
- package/dist/index5.cjs +1 -0
- package/dist/index5.js +35 -0
- package/dist/index50.cjs +1 -0
- package/dist/index50.js +21 -0
- package/dist/index51.cjs +1 -0
- package/dist/index51.js +85 -0
- package/dist/index52.cjs +1 -0
- package/dist/index52.js +33 -0
- package/dist/index53.cjs +1 -0
- package/dist/index53.js +24 -0
- package/dist/index54.cjs +1 -0
- package/dist/index54.js +44 -0
- package/dist/index55.cjs +1 -0
- package/dist/index55.js +25 -0
- package/dist/index56.cjs +1 -0
- package/dist/index56.js +4 -0
- package/dist/index57.cjs +1 -0
- package/dist/index57.js +13 -0
- package/dist/index58.cjs +1 -0
- package/dist/index58.js +4 -0
- package/dist/index59.cjs +1 -0
- package/dist/index59.js +4 -0
- package/dist/index6.cjs +1 -0
- package/dist/index6.js +4 -0
- package/dist/index60.cjs +1 -0
- package/dist/index60.js +4 -0
- package/dist/index61.cjs +1 -0
- package/dist/index61.js +4 -0
- package/dist/index62.cjs +1 -0
- package/dist/index62.js +80 -0
- package/dist/index63.cjs +1 -0
- package/dist/index63.js +41 -0
- package/dist/index64.cjs +1 -0
- package/dist/index64.js +28 -0
- package/dist/index65.cjs +1 -0
- package/dist/index65.js +34 -0
- package/dist/index66.cjs +1 -0
- package/dist/index66.js +34 -0
- package/dist/index67.cjs +1 -0
- package/dist/index67.js +21 -0
- package/dist/index68.cjs +1 -0
- package/dist/index68.js +4 -0
- package/dist/index69.cjs +1 -0
- package/dist/index69.js +4 -0
- package/dist/index7.cjs +1 -0
- package/dist/index7.js +4 -0
- package/dist/index70.cjs +1 -0
- package/dist/index70.js +36 -0
- package/dist/index71.cjs +1 -0
- package/dist/index71.js +36 -0
- package/dist/index72.cjs +1 -0
- package/dist/index72.js +102 -0
- package/dist/index73.cjs +1 -0
- package/dist/index73.js +19 -0
- package/dist/index74.cjs +1 -0
- package/dist/index74.js +62 -0
- package/dist/index75.cjs +1 -0
- package/dist/index75.js +30 -0
- package/dist/index76.cjs +1 -0
- package/dist/index76.js +45 -0
- package/dist/index77.cjs +1 -0
- package/dist/index77.js +4 -0
- package/dist/index78.cjs +1 -0
- package/dist/index78.js +35 -0
- package/dist/index79.cjs +1 -0
- package/dist/index79.js +4 -0
- package/dist/index8.cjs +1 -0
- package/dist/index8.js +47 -0
- package/dist/index80.cjs +1 -0
- package/dist/index80.js +4 -0
- package/dist/index81.cjs +1 -0
- package/dist/index81.js +64 -0
- package/dist/index82.cjs +1 -0
- package/dist/index82.js +23 -0
- package/dist/index83.cjs +1 -0
- package/dist/index83.js +26 -0
- package/dist/index84.cjs +1 -0
- package/dist/index84.js +32 -0
- package/dist/index85.cjs +1 -0
- package/dist/index85.js +49 -0
- package/dist/index86.cjs +1 -0
- package/dist/index86.js +4 -0
- package/dist/index87.cjs +1 -0
- package/dist/index87.js +23 -0
- package/dist/index88.cjs +1 -0
- package/dist/index88.js +4 -0
- package/dist/index89.cjs +1 -0
- package/dist/index89.js +4 -0
- package/dist/index9.cjs +1 -0
- package/dist/index9.js +15 -0
- package/dist/index90.cjs +1 -0
- package/dist/index90.js +4 -0
- package/dist/index91.cjs +1 -0
- package/dist/index91.js +25 -0
- package/dist/index92.cjs +1 -0
- package/dist/index92.js +4 -0
- package/dist/index93.cjs +1 -0
- package/dist/index93.js +4 -0
- package/dist/index94.cjs +1 -0
- package/dist/index94.js +40 -0
- package/dist/index95.cjs +1 -0
- package/dist/index95.js +4 -0
- package/dist/index96.cjs +1 -0
- package/dist/index96.js +23 -0
- package/dist/index97.cjs +1 -0
- package/dist/index97.js +25 -0
- package/dist/index98.cjs +1 -0
- package/dist/index98.js +4 -0
- package/dist/index99.cjs +1 -0
- package/dist/index99.js +25 -0
- package/package.json +11 -10
- package/dist/index.umd.cjs +0 -6354
package/dist/index35.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __exports as e } from "./index56.js";
|
|
2
|
+
import { __require as x } from "./index57.js";
|
|
3
|
+
import _ from "react";
|
|
4
|
+
var p;
|
|
5
|
+
function y() {
|
|
6
|
+
return p ? e : (p = 1, function(o) {
|
|
7
|
+
"use client";
|
|
8
|
+
Object.defineProperty(o, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
function c(f, i) {
|
|
12
|
+
for (var l in i) Object.defineProperty(f, l, {
|
|
13
|
+
enumerable: !0,
|
|
14
|
+
get: i[l]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
c(o, {
|
|
18
|
+
AppRouterContext: function() {
|
|
19
|
+
return r;
|
|
20
|
+
},
|
|
21
|
+
GlobalLayoutRouterContext: function() {
|
|
22
|
+
return u;
|
|
23
|
+
},
|
|
24
|
+
LayoutRouterContext: function() {
|
|
25
|
+
return n;
|
|
26
|
+
},
|
|
27
|
+
MissingSlotContext: function() {
|
|
28
|
+
return s;
|
|
29
|
+
},
|
|
30
|
+
TemplateContext: function() {
|
|
31
|
+
return a;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
const t = /* @__PURE__ */ (/* @__PURE__ */ x())._(_), r = t.default.createContext(null), n = t.default.createContext(null), u = t.default.createContext(null), a = t.default.createContext(null);
|
|
35
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "AppRouterContext", n.displayName = "LayoutRouterContext", u.displayName = "GlobalLayoutRouterContext", a.displayName = "TemplateContext");
|
|
36
|
+
const s = t.default.createContext(/* @__PURE__ */ new Set());
|
|
37
|
+
}(e), e);
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
y as __require
|
|
41
|
+
};
|
package/dist/index36.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index58.cjs"),C=require("react");var s;function l(){return s||(s=1,function(n){"use client";Object.defineProperty(n,"__esModule",{value:!0});function c(x,u){for(var i in u)Object.defineProperty(x,i,{enumerable:!0,get:u[i]})}c(n,{PathParamsContext:function(){return a},PathnameContext:function(){return o},SearchParamsContext:function(){return r}});const e=C,r=(0,e.createContext)(null),o=(0,e.createContext)(null),a=(0,e.createContext)(null);process.env.NODE_ENV!=="production"&&(r.displayName="SearchParamsContext",o.displayName="PathnameContext",a.displayName="PathParamsContext")}(t.__exports)),t.__exports}exports.__require=l;
|
package/dist/index36.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __exports as t } from "./index58.js";
|
|
2
|
+
import C from "react";
|
|
3
|
+
var s;
|
|
4
|
+
function l() {
|
|
5
|
+
return s ? t : (s = 1, function(n) {
|
|
6
|
+
"use client";
|
|
7
|
+
Object.defineProperty(n, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
});
|
|
10
|
+
function c(m, i) {
|
|
11
|
+
for (var u in i) Object.defineProperty(m, u, {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: i[u]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
c(n, {
|
|
17
|
+
PathParamsContext: function() {
|
|
18
|
+
return a;
|
|
19
|
+
},
|
|
20
|
+
PathnameContext: function() {
|
|
21
|
+
return o;
|
|
22
|
+
},
|
|
23
|
+
SearchParamsContext: function() {
|
|
24
|
+
return r;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const e = C, r = (0, e.createContext)(null), o = (0, e.createContext)(null), a = (0, e.createContext)(null);
|
|
28
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "SearchParamsContext", o.displayName = "PathnameContext", a.displayName = "PathParamsContext");
|
|
29
|
+
}(t), t);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
l as __require
|
|
33
|
+
};
|
package/dist/index37.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index59.cjs");var r;function a(){return r||(r=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getSegmentValue",{enumerable:!0,get:function(){return l}});function l(t){return Array.isArray(t)?t[1]:t}(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),n.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=a;
|
package/dist/index37.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __module as t } from "./index59.js";
|
|
2
|
+
var r;
|
|
3
|
+
function l() {
|
|
4
|
+
return r ? t.exports : (r = 1, function(n, e) {
|
|
5
|
+
Object.defineProperty(e, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
}), Object.defineProperty(e, "getSegmentValue", {
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
get: function() {
|
|
10
|
+
return a;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
function a(u) {
|
|
14
|
+
return Array.isArray(u) ? u[1] : u;
|
|
15
|
+
}
|
|
16
|
+
(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), n.exports = e.default);
|
|
17
|
+
}(t, t.exports), t.exports);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
l as __require
|
|
21
|
+
};
|
package/dist/index38.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index60.cjs");var _;function E(){return _||(_=1,function(i){Object.defineProperty(i,"__esModule",{value:!0});function c(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}c(i,{DEFAULT_SEGMENT_KEY:function(){return S},PAGE_SEGMENT_KEY:function(){return r},addSearchParamsIfPageSegment:function(){return f},isGroupSegment:function(){return s},isParallelRouteSegment:function(){return a}});function s(e){return e[0]==="("&&e.endsWith(")")}function a(e){return e.startsWith("@")&&e!=="@children"}function f(e,t){if(e.includes(r)){const o=JSON.stringify(t);return o!=="{}"?r+"?"+o:r}return e}const r="__PAGE__",S="__DEFAULT__"}(u.__exports)),u.__exports}exports.__require=E;
|
package/dist/index38.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { __exports as u } from "./index60.js";
|
|
2
|
+
var _;
|
|
3
|
+
function g() {
|
|
4
|
+
return _ ? u : (_ = 1, function(i) {
|
|
5
|
+
Object.defineProperty(i, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function a(e, n) {
|
|
9
|
+
for (var t in n) Object.defineProperty(e, t, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: n[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
a(i, {
|
|
15
|
+
DEFAULT_SEGMENT_KEY: function() {
|
|
16
|
+
return E;
|
|
17
|
+
},
|
|
18
|
+
PAGE_SEGMENT_KEY: function() {
|
|
19
|
+
return r;
|
|
20
|
+
},
|
|
21
|
+
addSearchParamsIfPageSegment: function() {
|
|
22
|
+
return s;
|
|
23
|
+
},
|
|
24
|
+
isGroupSegment: function() {
|
|
25
|
+
return c;
|
|
26
|
+
},
|
|
27
|
+
isParallelRouteSegment: function() {
|
|
28
|
+
return f;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
function c(e) {
|
|
32
|
+
return e[0] === "(" && e.endsWith(")");
|
|
33
|
+
}
|
|
34
|
+
function f(e) {
|
|
35
|
+
return e.startsWith("@") && e !== "@children";
|
|
36
|
+
}
|
|
37
|
+
function s(e, n) {
|
|
38
|
+
if (e.includes(r)) {
|
|
39
|
+
const o = JSON.stringify(n);
|
|
40
|
+
return o !== "{}" ? r + "?" + o : r;
|
|
41
|
+
}
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
const r = "__PAGE__", E = "__DEFAULT__";
|
|
45
|
+
}(u), u);
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
g as __require
|
|
49
|
+
};
|
package/dist/index39.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index61.cjs"),p=require("./index62.cjs"),q=require("./index63.cjs"),R=require("./index64.cjs"),m=require("./index65.cjs"),y=require("./index66.cjs"),v=require("./index67.cjs");var i;function w(){return i||(i=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0});function c(n,o){for(var a in o)Object.defineProperty(n,a,{enumerable:!0,get:o[a]})}c(e,{ReadonlyURLSearchParams:function(){return b},RedirectType:function(){return s.RedirectType},forbidden:function(){return f.forbidden},notFound:function(){return _.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return l.unauthorized},unstable_rethrow:function(){return h.unstable_rethrow}});const u=p.__require(),s=q.__require(),_=R.__require(),f=m.__require(),l=y.__require(),h=v.__require();class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class b extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}(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)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=w;
|
package/dist/index39.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __module as t } from "./index61.js";
|
|
2
|
+
import { __require as h } from "./index62.js";
|
|
3
|
+
import { __require as R } from "./index63.js";
|
|
4
|
+
import { __require as b } from "./index64.js";
|
|
5
|
+
import { __require as q } from "./index65.js";
|
|
6
|
+
import { __require as w } from "./index66.js";
|
|
7
|
+
import { __require as y } from "./index67.js";
|
|
8
|
+
var i;
|
|
9
|
+
function z() {
|
|
10
|
+
return i ? t.exports : (i = 1, function(d, e) {
|
|
11
|
+
Object.defineProperty(e, "__esModule", {
|
|
12
|
+
value: !0
|
|
13
|
+
});
|
|
14
|
+
function c(n, u) {
|
|
15
|
+
for (var a in u) Object.defineProperty(n, a, {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
get: u[a]
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
c(e, {
|
|
21
|
+
ReadonlyURLSearchParams: function() {
|
|
22
|
+
return p;
|
|
23
|
+
},
|
|
24
|
+
RedirectType: function() {
|
|
25
|
+
return s.RedirectType;
|
|
26
|
+
},
|
|
27
|
+
forbidden: function() {
|
|
28
|
+
return _.forbidden;
|
|
29
|
+
},
|
|
30
|
+
notFound: function() {
|
|
31
|
+
return f.notFound;
|
|
32
|
+
},
|
|
33
|
+
permanentRedirect: function() {
|
|
34
|
+
return o.permanentRedirect;
|
|
35
|
+
},
|
|
36
|
+
redirect: function() {
|
|
37
|
+
return o.redirect;
|
|
38
|
+
},
|
|
39
|
+
unauthorized: function() {
|
|
40
|
+
return l.unauthorized;
|
|
41
|
+
},
|
|
42
|
+
unstable_rethrow: function() {
|
|
43
|
+
return m.unstable_rethrow;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
const o = h(), s = R(), f = b(), _ = q(), l = w(), m = y();
|
|
47
|
+
class r extends Error {
|
|
48
|
+
constructor() {
|
|
49
|
+
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
class p extends URLSearchParams {
|
|
53
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
54
|
+
append() {
|
|
55
|
+
throw new r();
|
|
56
|
+
}
|
|
57
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
58
|
+
delete() {
|
|
59
|
+
throw new r();
|
|
60
|
+
}
|
|
61
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
62
|
+
set() {
|
|
63
|
+
throw new r();
|
|
64
|
+
}
|
|
65
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
66
|
+
sort() {
|
|
67
|
+
throw new r();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
(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);
|
|
71
|
+
}(t, t.exports), t.exports);
|
|
72
|
+
}
|
|
73
|
+
export {
|
|
74
|
+
z as __require
|
|
75
|
+
};
|
package/dist/index4.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("@mantine/core"),j=require("react"),C=require("./index16.cjs"),S=require("./index3.cjs");function f({value:a,onChange:b,data:s=[],searchValue:p,onSearchChange:l,renderOption:c,onOptionSubmit:x,nothingFoundMessage:d,infinity:t,placeholder:m,...h}){const r=o.useCombobox({onDropdownClose:()=>{r.resetSelectedOption(),r.focusTarget(),l?.("")},onDropdownOpen:()=>{r.focusSearchInput()}}),i=s.map(n=>e.jsx(o.Combobox.Option,{value:n.value,children:c?c({option:n}):n.label},n.value)),g=s.find(n=>n.value===a),u=j.useRef(null);return C.useFetchNextPageOnScroll(t,u),e.jsxs(o.Combobox,{store:r,middlewares:{shift:{crossAxis:!0}},onOptionSubmit:n=>{b?.(n),x?.(n),r.closeDropdown()},children:[e.jsx(o.Combobox.Target,{children:e.jsx(o.InputBase,{component:"button",type:"button",pointer:!0,rightSection:e.jsx(o.Combobox.Chevron,{}),onClick:()=>r.toggleDropdown(),rightSectionPointerEvents:"none",...h,children:g?.label||e.jsx(o.Input.Placeholder,{children:m})})}),e.jsxs(o.Combobox.Dropdown,{children:[e.jsx(o.Combobox.Search,{value:p,onChange:n=>l?.(n.currentTarget.value),placeholder:"Escribe para buscar"}),e.jsx(o.Combobox.Options,{children:e.jsxs(o.ScrollArea.Autosize,{mah:200,type:"scroll",viewportRef:u,children:[i.length>0?i:t.isFetching?null:e.jsx(o.Combobox.Empty,{onClick:()=>r.closeDropdown(),className:"min-h-6",children:d??"Sin resultados"}),e.jsx(S.InfinityLoader,{className:"text-sm",infinity:t,loaderProps:{size:"sm",className:"mt-1 mb-2"}})]})})]})]})}exports.SelectInfinity=f;
|
package/dist/index4.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { useCombobox as S, Combobox as r, InputBase as v, Input as w, ScrollArea as C } from "@mantine/core";
|
|
3
|
+
import { useRef as D } from "react";
|
|
4
|
+
import { useFetchNextPageOnScroll as O } from "./index16.js";
|
|
5
|
+
import { InfinityLoader as I } from "./index3.js";
|
|
6
|
+
function R({
|
|
7
|
+
value: m,
|
|
8
|
+
onChange: u,
|
|
9
|
+
data: s = [],
|
|
10
|
+
searchValue: d,
|
|
11
|
+
onSearchChange: c,
|
|
12
|
+
renderOption: i,
|
|
13
|
+
onOptionSubmit: h,
|
|
14
|
+
nothingFoundMessage: b,
|
|
15
|
+
infinity: n,
|
|
16
|
+
placeholder: f,
|
|
17
|
+
...g
|
|
18
|
+
}) {
|
|
19
|
+
const t = S({
|
|
20
|
+
onDropdownClose: () => {
|
|
21
|
+
t.resetSelectedOption(), t.focusTarget(), c?.("");
|
|
22
|
+
},
|
|
23
|
+
onDropdownOpen: () => {
|
|
24
|
+
t.focusSearchInput();
|
|
25
|
+
}
|
|
26
|
+
}), p = s.map((e) => /* @__PURE__ */ o(
|
|
27
|
+
r.Option,
|
|
28
|
+
{
|
|
29
|
+
value: e.value,
|
|
30
|
+
children: i ? i({ option: e }) : e.label
|
|
31
|
+
},
|
|
32
|
+
e.value
|
|
33
|
+
)), x = s.find((e) => e.value === m), a = D(null);
|
|
34
|
+
return O(n, a), /* @__PURE__ */ l(
|
|
35
|
+
r,
|
|
36
|
+
{
|
|
37
|
+
store: t,
|
|
38
|
+
middlewares: {
|
|
39
|
+
shift: {
|
|
40
|
+
crossAxis: !0
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
onOptionSubmit: (e) => {
|
|
44
|
+
u?.(e), h?.(e), t.closeDropdown();
|
|
45
|
+
},
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ o(r.Target, { children: /* @__PURE__ */ o(
|
|
48
|
+
v,
|
|
49
|
+
{
|
|
50
|
+
component: "button",
|
|
51
|
+
type: "button",
|
|
52
|
+
pointer: !0,
|
|
53
|
+
rightSection: /* @__PURE__ */ o(r.Chevron, {}),
|
|
54
|
+
onClick: () => t.toggleDropdown(),
|
|
55
|
+
rightSectionPointerEvents: "none",
|
|
56
|
+
...g,
|
|
57
|
+
children: x?.label || /* @__PURE__ */ o(w.Placeholder, { children: f })
|
|
58
|
+
}
|
|
59
|
+
) }),
|
|
60
|
+
/* @__PURE__ */ l(r.Dropdown, { children: [
|
|
61
|
+
/* @__PURE__ */ o(
|
|
62
|
+
r.Search,
|
|
63
|
+
{
|
|
64
|
+
value: d,
|
|
65
|
+
onChange: (e) => c?.(e.currentTarget.value),
|
|
66
|
+
placeholder: "Escribe para buscar"
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ o(r.Options, { children: /* @__PURE__ */ l(
|
|
70
|
+
C.Autosize,
|
|
71
|
+
{
|
|
72
|
+
mah: 200,
|
|
73
|
+
type: "scroll",
|
|
74
|
+
viewportRef: a,
|
|
75
|
+
children: [
|
|
76
|
+
p.length > 0 ? p : n.isFetching ? null : /* @__PURE__ */ o(
|
|
77
|
+
r.Empty,
|
|
78
|
+
{
|
|
79
|
+
onClick: () => t.closeDropdown(),
|
|
80
|
+
className: "min-h-6",
|
|
81
|
+
children: b ?? "Sin resultados"
|
|
82
|
+
}
|
|
83
|
+
),
|
|
84
|
+
/* @__PURE__ */ o(
|
|
85
|
+
I,
|
|
86
|
+
{
|
|
87
|
+
className: "text-sm",
|
|
88
|
+
infinity: n,
|
|
89
|
+
loaderProps: {
|
|
90
|
+
size: "sm",
|
|
91
|
+
className: "mt-1 mb-2"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
) })
|
|
98
|
+
] })
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
export {
|
|
104
|
+
R as SelectInfinity
|
|
105
|
+
};
|
package/dist/index40.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index68.cjs"),c=require("./index44.cjs"),a=require("react");var s;function l(){return s||(s=1,function(n){"use client";Object.defineProperty(n,"__esModule",{value:!0});function _(r,e){for(var o in e)Object.defineProperty(r,o,{enumerable:!0,get:e[o]})}_(n,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return d}});const u=c.__require()._(a),i=u.default.createContext(null);function d(r){const e=(0,u.useContext)(i);e&&e(r)}}(t.__exports)),t.__exports}exports.__require=l;
|
package/dist/index40.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { __exports as t } from "./index68.js";
|
|
2
|
+
import { __require as c } from "./index44.js";
|
|
3
|
+
import a from "react";
|
|
4
|
+
var s;
|
|
5
|
+
function p() {
|
|
6
|
+
return s ? t : (s = 1, function(n) {
|
|
7
|
+
"use client";
|
|
8
|
+
Object.defineProperty(n, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
function d(r, e) {
|
|
12
|
+
for (var o in e) Object.defineProperty(r, o, {
|
|
13
|
+
enumerable: !0,
|
|
14
|
+
get: e[o]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
d(n, {
|
|
18
|
+
ServerInsertedHTMLContext: function() {
|
|
19
|
+
return u;
|
|
20
|
+
},
|
|
21
|
+
useServerInsertedHTML: function() {
|
|
22
|
+
return _;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const i = /* @__PURE__ */ (/* @__PURE__ */ c())._(a), u = /* @__PURE__ */ i.default.createContext(null);
|
|
26
|
+
function _(r) {
|
|
27
|
+
const e = (0, i.useContext)(u);
|
|
28
|
+
e && e(r);
|
|
29
|
+
}
|
|
30
|
+
}(t), t);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
p as __require
|
|
34
|
+
};
|
package/dist/index41.cjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index69.cjs"),ae=require("react"),ce=require("./index70.cjs"),se=require("./index71.cjs"),oe=require("./index72.cjs"),ie=require("./index73.cjs"),ue=require("./index74.cjs"),de=require("./index75.cjs"),le=require("./index76.cjs");var O;function fe(){return O||(O=1,function(m){Object.defineProperty(m,"__esModule",{value:!0});function S(n,e){for(var t in e)Object.defineProperty(n,t,{enumerable:!0,get:e[t]})}S(m,{Postpone:function(){return B},abortAndThrowOnSynchronousRequestDataAccess:function(){return M},abortOnSynchronousPlatformIOAccess:function(){return W},accessedDynamicData:function(){return F},annotateDynamicAccess:function(){return J},consumeDynamicAccess:function(){return V},createDynamicTrackingState:function(){return q},createDynamicValidationState:function(){return I},createHangingInputAbortSignal:function(){return z},createPostponedAbortSignal:function(){return Y},formatDynamicAPIAccesses:function(){return H},getFirstDynamicReason:function(){return N},isDynamicPostpone:function(){return G},isPrerenderInterruptedError:function(){return L},markCurrentScopeAsDynamic:function(){return $},postponeWithTracking:function(){return i},throwIfDisallowedDynamic:function(){return re},throwToInterruptStaticGeneration:function(){return g},trackAllowedDynamicAccess:function(){return ne},trackDynamicDataInDynamicRender:function(){return C},trackFallbackParamAccessed:function(){return j},trackSynchronousPlatformIOAccessInDev:function(){return D},trackSynchronousRequestDataAccessInDev:function(){return X},useDynamicRouteParams:function(){return K}});const u=v(ae),p=ce.__require(),s=se.__require(),d=oe.__require(),k=ie.__require(),P=ue.__require(),l=de.__require(),T=le.__require();function v(n){return n&&n.__esModule?n:{default:n}}const x=typeof u.default.unstable_postpone=="function";function q(n){return{isDebugDynamicAccesses:n,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function I(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function N(n){var e;return(e=n.dynamicAccesses[0])==null?void 0:e.expression}function $(n,e,t){if(!(e&&(e.type==="cache"||e.type==="unstable-cache"))&&!(n.forceDynamic||n.forceStatic)){if(n.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${n.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(e)if(e.type==="prerender-ppr")i(n.route,t,e.dynamicTracking);else if(e.type==="prerender-legacy"){e.revalidate=0;const r=Object.defineProperty(new p.DynamicServerError(`Route ${n.route} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw n.dynamicUsageDescription=t,n.dynamicUsageStack=r.stack,r}else process.env.NODE_ENV==="development"&&e&&e.type==="request"&&(e.usedDynamic=!0)}}function j(n,e){const t=d.workUnitAsyncStorage.getStore();!t||t.type!=="prerender-ppr"||i(n.route,e,t.dynamicTracking)}function g(n,e,t){const r=Object.defineProperty(new p.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used \`${n}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw t.revalidate=0,e.dynamicUsageDescription=n,e.dynamicUsageStack=r.stack,r}function C(n,e){if(e){if(e.type==="cache"||e.type==="unstable-cache")return;(e.type==="prerender"||e.type==="prerender-legacy")&&(e.revalidate=0),process.env.NODE_ENV==="development"&&e.type==="request"&&(e.usedDynamic=!0)}}function E(n,e,t){const r=`Route ${n} needs to bail out of prerendering at this point because it used ${e}.`,a=w(r);t.controller.abort(a);const c=t.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?new Error().stack:void 0,expression:e})}function W(n,e,t,r){const a=r.dynamicTracking;a&&a.syncDynamicErrorWithStack===null&&(a.syncDynamicExpression=e,a.syncDynamicErrorWithStack=t),E(n,e,r)}function D(n){n.prerenderPhase=!1}function M(n,e,t,r){if(r.controller.signal.aborted===!1){const c=r.dynamicTracking;c&&c.syncDynamicErrorWithStack===null&&(c.syncDynamicExpression=e,c.syncDynamicErrorWithStack=t,r.validating===!0&&(c.syncDynamicLogged=!0)),E(n,e,r)}throw w(`Route ${n} needs to bail out of prerendering at this point because it used ${e}.`)}const X=D;function B({reason:n,route:e}){const t=d.workUnitAsyncStorage.getStore(),r=t&&t.type==="prerender-ppr"?t.dynamicTracking:null;i(e,n,r)}function i(n,e,t){A(),t&&t.dynamicAccesses.push({stack:t.isDebugDynamicAccesses?new Error().stack:void 0,expression:e}),u.default.unstable_postpone(_(n,e))}function _(n,e){return`Route ${n} needs to bail out of prerendering at this point because it used ${e}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function G(n){return typeof n=="object"&&n!==null&&typeof n.message=="string"?b(n.message):!1}function b(n){return n.includes("needs to bail out of prerendering at this point because it used")&&n.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(b(_("%%%","^^^"))===!1)throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});const R="NEXT_PRERENDER_INTERRUPTED";function w(n){const e=Object.defineProperty(new Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return e.digest=R,e}function L(n){return typeof n=="object"&&n!==null&&n.digest===R&&"name"in n&&"message"in n&&n instanceof Error}function F(n){return n.length>0}function V(n,e){return n.dynamicAccesses.push(...e.dynamicAccesses),n.dynamicAccesses}function H(n){return n.filter(e=>typeof e.stack=="string"&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split(`
|
|
2
|
+
`).slice(4).filter(r=>!(r.includes("node_modules/next/")||r.includes(" (<anonymous>)")||r.includes(" (node:"))).join(`
|
|
3
|
+
`),`Dynamic API Usage Debug - ${e}:
|
|
4
|
+
${t}`))}function A(){if(!x)throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function Y(n){A();const e=new AbortController;try{u.default.unstable_postpone(n)}catch(t){e.abort(t)}return e.signal}function z(n){const e=new AbortController;return n.cacheSignal?n.cacheSignal.inputReady().then(()=>{e.abort()}):(0,T.scheduleOnNextTick)(()=>e.abort()),e.signal}function J(n,e){const t=e.dynamicTracking;t&&t.dynamicAccesses.push({stack:t.isDebugDynamicAccesses?new Error().stack:void 0,expression:n})}function K(n){const e=k.workAsyncStorage.getStore();if(e&&e.isStaticGeneration&&e.fallbackRouteParams&&e.fallbackRouteParams.size>0){const t=d.workUnitAsyncStorage.getStore();t&&(t.type==="prerender"?u.default.use((0,P.makeHangingPromise)(t.renderSignal,n)):t.type==="prerender-ppr"?i(e.route,n,t.dynamicTracking):t.type==="prerender-legacy"&&g(n,e,t))}}const Q=/\n\s+at Suspense \(<anonymous>\)/,Z=new RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`),U=new RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),ee=new RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function ne(n,e,t,r,a){if(!ee.test(e))if(Z.test(e)){t.hasDynamicMetadata=!0;return}else if(U.test(e)){t.hasDynamicViewport=!0;return}else if(Q.test(e)){t.hasSuspendedDynamic=!0;return}else if(r.syncDynamicErrorWithStack||a.syncDynamicErrorWithStack){t.hasSyncDynamicErrors=!0;return}else{const c=`Route "${n}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,o=te(c,e);t.dynamicErrors.push(o);return}}function te(n,e){const t=Object.defineProperty(new Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.stack="Error: "+n+e,t}function re(n,e,t,r){let a,c,o;if(t.syncDynamicErrorWithStack?(a=t.syncDynamicErrorWithStack,c=t.syncDynamicExpression,o=t.syncDynamicLogged===!0):r.syncDynamicErrorWithStack?(a=r.syncDynamicErrorWithStack,c=r.syncDynamicExpression,o=r.syncDynamicLogged===!0):(a=null,c=void 0,o=!1),e.hasSyncDynamicErrors&&a)throw o||console.error(a),new s.StaticGenBailoutError;const f=e.dynamicErrors;if(f.length){for(let y=0;y<f.length;y++)console.error(f[y]);throw new s.StaticGenBailoutError}if(!e.hasSuspendedDynamic){if(e.hasDynamicMetadata)throw a?(console.error(a),Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E608",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E534",enumerable:!1,configurable:!0});if(e.hasDynamicViewport)throw a?(console.error(a),Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that could not finish rendering before ${c} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E573",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${n}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E590",enumerable:!1,configurable:!0})}}}(h.__exports)),h.__exports}exports.__require=fe;
|