@instockng/storefront-ui 1.0.60 → 1.0.62
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/index10.mjs +20 -20
- package/dist/index141.mjs +1 -1
- package/dist/index143.mjs +1 -1
- package/dist/index144.mjs +2 -2
- package/dist/index148.mjs +2 -2
- package/dist/index172.mjs +2 -2
- package/dist/index174.mjs +1 -1
- package/dist/index176.mjs +2 -2
- package/dist/index177.mjs +5 -5
- package/dist/index180.mjs +1 -1
- package/dist/index183.mjs +1 -1
- package/dist/index191.mjs +1 -1
- package/dist/index193.mjs +1 -1
- package/dist/index197.mjs +1 -1
- package/dist/index199.mjs +1 -1
- package/dist/index212.mjs +12 -30
- package/dist/index213.mjs +7 -11
- package/dist/index214.mjs +30 -3
- package/dist/index215.mjs +10 -3
- package/dist/index216.mjs +4 -13
- package/dist/index217.mjs +4 -7
- package/dist/index234.mjs +2 -2
- package/dist/index235.mjs +2 -37
- package/dist/index236.mjs +37 -2
- package/dist/index237.mjs +2 -244
- package/dist/index238.mjs +244 -2
- package/dist/index239.mjs +2 -33
- package/dist/index240.mjs +28 -60
- package/dist/index241.mjs +60 -20
- package/dist/index242.mjs +25 -2
- package/dist/index249.mjs +2 -2
- package/dist/index250.mjs +2 -2
- package/dist/index252.mjs +1 -1
- package/dist/index255.mjs +1 -1
- package/dist/index263.mjs +2 -2
- package/dist/index264.mjs +2 -18
- package/dist/index265.mjs +13 -42
- package/dist/index266.mjs +47 -2
- package/dist/index40.mjs +1 -1
- package/dist/index42.mjs +2 -2
- package/dist/index49.mjs +1 -1
- package/dist/index68.mjs +20 -21
- package/dist/index69.mjs +21 -150
- package/dist/index70.mjs +149 -19
- package/dist/index74.mjs +1 -1
- package/dist/index97.mjs +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/ProductAddOns.tsx +3 -3
- package/src/styles.css +4 -0
package/dist/index10.mjs
CHANGED
|
@@ -4,28 +4,28 @@ import { useRef as W, useState as E } from "react";
|
|
|
4
4
|
import { ChevronLeft as F, ChevronRight as L } from "lucide-react";
|
|
5
5
|
import { Switch as O } from "./index43.mjs";
|
|
6
6
|
import { Badge as R } from "./index18.mjs";
|
|
7
|
-
import { cn as
|
|
7
|
+
import { cn as u, formatCurrency as v } from "./index22.mjs";
|
|
8
8
|
import "./index23.mjs";
|
|
9
9
|
import "@tanstack/react-query";
|
|
10
10
|
import { useGetProductAddOns as U } from "./index37.mjs";
|
|
11
11
|
import { useCart as G } from "./index3.mjs";
|
|
12
12
|
function Y({
|
|
13
|
-
slug:
|
|
14
|
-
products:
|
|
15
|
-
onToggle:
|
|
13
|
+
slug: d,
|
|
14
|
+
products: m,
|
|
15
|
+
onToggle: h,
|
|
16
16
|
selectedProductIds: N,
|
|
17
|
-
className:
|
|
17
|
+
className: f,
|
|
18
18
|
title: b = "Popular add-ons",
|
|
19
19
|
limit: y = 6
|
|
20
20
|
}) {
|
|
21
|
-
const { cart: i, addItem: w, removeItem: C } = G(), { data: P, isLoading:
|
|
22
|
-
enabled: !!
|
|
23
|
-
}), c =
|
|
21
|
+
const { cart: i, addItem: w, removeItem: C } = G(), { data: P, isLoading: x } = U(d || "", y, {
|
|
22
|
+
enabled: !!d && !m
|
|
23
|
+
}), c = m || P || [], k = N || c.filter((e) => i == null ? void 0 : i.items.some((n) => {
|
|
24
24
|
var r;
|
|
25
25
|
return n.variant.id === ((r = e.variants[0]) == null ? void 0 : r.id);
|
|
26
26
|
})).map((e) => e.id), A = async (e, n) => {
|
|
27
|
-
if (
|
|
28
|
-
|
|
27
|
+
if (h) {
|
|
28
|
+
h(e, n);
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
const r = e.variants[0];
|
|
@@ -47,7 +47,7 @@ function Y({
|
|
|
47
47
|
const { scrollLeft: e, scrollWidth: n, clientWidth: r } = o.current, s = e / (n - r);
|
|
48
48
|
D(s || 0);
|
|
49
49
|
}
|
|
50
|
-
},
|
|
50
|
+
}, g = (e) => {
|
|
51
51
|
if (o.current) {
|
|
52
52
|
const { clientWidth: n } = o.current, r = n * 0.9;
|
|
53
53
|
o.current.scrollBy({
|
|
@@ -56,27 +56,27 @@ function Y({
|
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
return (!c || c.length === 0) && !
|
|
59
|
+
return (!c || c.length === 0) && !x ? null : x ? /* @__PURE__ */ l("div", { className: u("w-full py-8 space-y-4 animate-pulse", f), children: [
|
|
60
60
|
/* @__PURE__ */ t("div", { className: "h-4 w-32 bg-gray-200 rounded px-1 mb-6" }),
|
|
61
61
|
/* @__PURE__ */ l("div", { className: "flex gap-4 overflow-x-hidden", children: [
|
|
62
62
|
/* @__PURE__ */ t("div", { className: "min-w-[340px] h-[148px] bg-gray-100 rounded-[2rem]" }),
|
|
63
63
|
/* @__PURE__ */ t("div", { className: "min-w-[340px] h-[148px] bg-gray-100 rounded-[2rem]" })
|
|
64
64
|
] })
|
|
65
|
-
] }) : /* @__PURE__ */ l("div", { className:
|
|
65
|
+
] }) : /* @__PURE__ */ l("div", { className: f, children: [
|
|
66
66
|
/* @__PURE__ */ t("div", { className: "px-1 mb-3", children: /* @__PURE__ */ t("h3", { className: "text-lg font-bold tracking-tight text-gray-900", children: b }) }),
|
|
67
67
|
/* @__PURE__ */ t("div", { className: "relative", children: /* @__PURE__ */ t(
|
|
68
68
|
"div",
|
|
69
69
|
{
|
|
70
70
|
ref: o,
|
|
71
71
|
onScroll: I,
|
|
72
|
-
className: "flex gap-4 overflow-x-auto scrollbar-hide snap-x snap-mandatory px-1",
|
|
72
|
+
className: "flex gap-4 overflow-x-auto scrollbar-hide snap-x snap-mandatory px-1 instock-product-add-ons",
|
|
73
73
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
74
74
|
children: c.map((e) => {
|
|
75
|
-
const n = k.includes(e.id), r = e.variants[0], s = (r == null ? void 0 : r.price) || 0, a = e.compareAtPrice || r.compareAtPrice,
|
|
75
|
+
const n = k.includes(e.id), r = e.variants[0], s = (r == null ? void 0 : r.price) || 0, a = e.compareAtPrice || r.compareAtPrice, p = a && a > s, S = p ? Math.round((a - s) / a * 100) : 0;
|
|
76
76
|
return /* @__PURE__ */ l(
|
|
77
77
|
"div",
|
|
78
78
|
{
|
|
79
|
-
className: "relative flex min-w-[
|
|
79
|
+
className: "relative flex min-w-[90%] md:min-w-[420px] snap-start items-center gap-4 rounded-xl bg-[#EBEBEB] p-3 transition-all",
|
|
80
80
|
children: [
|
|
81
81
|
/* @__PURE__ */ t("div", { className: "h-16 w-16 flex-shrink-0 overflow-hidden rounded-xl bg-white/40 flex items-center justify-center", children: e.thumbnailUrl ? /* @__PURE__ */ t(
|
|
82
82
|
"img",
|
|
@@ -91,7 +91,7 @@ function Y({
|
|
|
91
91
|
e.addonDescription && /* @__PURE__ */ t("p", { className: "text-[11px] text-gray-500 line-clamp-3 italic mb-1", children: e.addonDescription }),
|
|
92
92
|
/* @__PURE__ */ l("div", { className: "flex items-center gap-2 mt-1", children: [
|
|
93
93
|
/* @__PURE__ */ t("span", { className: "text-md font-bold text-[#333]", children: v(s) }),
|
|
94
|
-
|
|
94
|
+
p && /* @__PURE__ */ l(M, { children: [
|
|
95
95
|
/* @__PURE__ */ t("span", { className: "text-sm text-[#DC143C] line-through", children: v(a) }),
|
|
96
96
|
/* @__PURE__ */ l(R, { className: "bg-[#DC143C]/10 hover:bg-[#DC143C]/20 text-[#DC143C] border-none text-[10px] font-bold px-2 py-0.5 rounded-lg uppercase tracking-tight", children: [
|
|
97
97
|
S,
|
|
@@ -121,7 +121,7 @@ function Y({
|
|
|
121
121
|
return /* @__PURE__ */ t(
|
|
122
122
|
"div",
|
|
123
123
|
{
|
|
124
|
-
className:
|
|
124
|
+
className: u(
|
|
125
125
|
"h-2 w-2 rounded-full transition-all duration-300",
|
|
126
126
|
r ? "bg-gray-600 scale-110" : "bg-gray-300"
|
|
127
127
|
)
|
|
@@ -133,7 +133,7 @@ function Y({
|
|
|
133
133
|
/* @__PURE__ */ t(
|
|
134
134
|
"button",
|
|
135
135
|
{
|
|
136
|
-
onClick: () =>
|
|
136
|
+
onClick: () => g("left"),
|
|
137
137
|
className: "text-gray-400 hover:text-gray-900 transition-colors",
|
|
138
138
|
"aria-label": "Previous",
|
|
139
139
|
children: /* @__PURE__ */ t(F, { className: "h-6 w-6 stroke-[2.5px]" })
|
|
@@ -142,7 +142,7 @@ function Y({
|
|
|
142
142
|
/* @__PURE__ */ t(
|
|
143
143
|
"button",
|
|
144
144
|
{
|
|
145
|
-
onClick: () =>
|
|
145
|
+
onClick: () => g("right"),
|
|
146
146
|
className: "text-gray-400 hover:text-gray-900 transition-colors",
|
|
147
147
|
"aria-label": "Next",
|
|
148
148
|
children: /* @__PURE__ */ t(L, { className: "h-6 w-6 stroke-[2.5px]" })
|
package/dist/index141.mjs
CHANGED
package/dist/index143.mjs
CHANGED
package/dist/index144.mjs
CHANGED
package/dist/index148.mjs
CHANGED
package/dist/index172.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as u } from "./
|
|
3
|
-
import { __require as d } from "./
|
|
2
|
+
import { __exports as u } from "./index235.mjs";
|
|
3
|
+
import { __require as d } from "./index236.mjs";
|
|
4
4
|
var a;
|
|
5
5
|
function h() {
|
|
6
6
|
return a ? u : (a = 1, function(c) {
|
package/dist/index174.mjs
CHANGED
package/dist/index176.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as n } from "./
|
|
3
|
-
import { __require as d } from "./
|
|
2
|
+
import { __exports as n } from "./index237.mjs";
|
|
3
|
+
import { __require as d } from "./index238.mjs";
|
|
4
4
|
var o;
|
|
5
5
|
function p() {
|
|
6
6
|
return o ? n : (o = 1, function(i) {
|
package/dist/index177.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as A } from "./
|
|
3
|
-
import { __require as T } from "./
|
|
2
|
+
import { __exports as A } from "./index239.mjs";
|
|
3
|
+
import { __require as T } from "./index238.mjs";
|
|
4
4
|
import { __require as L } from "./index180.mjs";
|
|
5
|
-
import { __require as N } from "./
|
|
5
|
+
import { __require as N } from "./index240.mjs";
|
|
6
6
|
import { __require as U } from "./index172.mjs";
|
|
7
|
-
import { __require as j } from "./
|
|
8
|
-
import { __require as v } from "./
|
|
7
|
+
import { __require as j } from "./index241.mjs";
|
|
8
|
+
import { __require as v } from "./index242.mjs";
|
|
9
9
|
var S;
|
|
10
10
|
function W() {
|
|
11
11
|
return S ? A : (S = 1, function(R) {
|
package/dist/index180.mjs
CHANGED
package/dist/index183.mjs
CHANGED
package/dist/index191.mjs
CHANGED
package/dist/index193.mjs
CHANGED
package/dist/index197.mjs
CHANGED
package/dist/index199.mjs
CHANGED
package/dist/index212.mjs
CHANGED
|
@@ -1,34 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
14
|
-
return t[r];
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function a(n, t) {
|
|
18
|
-
this._pairs = [], n && p(n, this, t);
|
|
19
|
-
}
|
|
20
|
-
const c = a.prototype;
|
|
21
|
-
c.append = function(t, o) {
|
|
22
|
-
this._pairs.push([t, o]);
|
|
23
|
-
};
|
|
24
|
-
c.toString = function(t) {
|
|
25
|
-
const o = t ? function(r) {
|
|
26
|
-
return t.call(this, r, i);
|
|
27
|
-
} : i;
|
|
28
|
-
return this._pairs.map(function(e) {
|
|
29
|
-
return o(e[0]) + "=" + o(e[1]);
|
|
30
|
-
}, "").join("&");
|
|
2
|
+
import o from "./index255.mjs";
|
|
3
|
+
import r from "./index256.mjs";
|
|
4
|
+
import t from "./index257.mjs";
|
|
5
|
+
const l = {
|
|
6
|
+
isBrowser: !0,
|
|
7
|
+
classes: {
|
|
8
|
+
URLSearchParams: o,
|
|
9
|
+
FormData: r,
|
|
10
|
+
Blob: t
|
|
11
|
+
},
|
|
12
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
31
13
|
};
|
|
32
14
|
export {
|
|
33
|
-
|
|
15
|
+
l as default
|
|
34
16
|
};
|
package/dist/index213.mjs
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import s from "./index89.mjs";
|
|
5
|
-
function h(f, t) {
|
|
6
|
-
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
7
|
-
let a = r.data;
|
|
8
|
-
return i.forEach(f, function(e) {
|
|
9
|
-
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
10
|
-
}), n.normalize(), a;
|
|
11
|
-
}
|
|
2
|
+
const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
3
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
|
|
12
4
|
export {
|
|
13
|
-
|
|
5
|
+
e as hasBrowserEnv,
|
|
6
|
+
n as hasStandardBrowserEnv,
|
|
7
|
+
t as hasStandardBrowserWebWorkerEnv,
|
|
8
|
+
o as navigator,
|
|
9
|
+
r as origin
|
|
14
10
|
};
|
package/dist/index214.mjs
CHANGED
|
@@ -1,7 +1,34 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import p from "./index85.mjs";
|
|
3
|
+
function i(n) {
|
|
4
|
+
const t = {
|
|
5
|
+
"!": "%21",
|
|
6
|
+
"'": "%27",
|
|
7
|
+
"(": "%28",
|
|
8
|
+
")": "%29",
|
|
9
|
+
"~": "%7E",
|
|
10
|
+
"%20": "+",
|
|
11
|
+
"%00": "\0"
|
|
12
|
+
};
|
|
13
|
+
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
14
|
+
return t[r];
|
|
15
|
+
});
|
|
4
16
|
}
|
|
17
|
+
function a(n, t) {
|
|
18
|
+
this._pairs = [], n && p(n, this, t);
|
|
19
|
+
}
|
|
20
|
+
const c = a.prototype;
|
|
21
|
+
c.append = function(t, o) {
|
|
22
|
+
this._pairs.push([t, o]);
|
|
23
|
+
};
|
|
24
|
+
c.toString = function(t) {
|
|
25
|
+
const o = t ? function(r) {
|
|
26
|
+
return t.call(this, r, i);
|
|
27
|
+
} : i;
|
|
28
|
+
return this._pairs.map(function(e) {
|
|
29
|
+
return o(e[0]) + "=" + o(e[1]);
|
|
30
|
+
}, "").join("&");
|
|
31
|
+
};
|
|
5
32
|
export {
|
|
6
|
-
|
|
33
|
+
a as default
|
|
7
34
|
};
|
package/dist/index215.mjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import i from "./index75.mjs";
|
|
3
|
+
import m from "./index79.mjs";
|
|
4
|
+
import s from "./index89.mjs";
|
|
5
|
+
function h(f, t) {
|
|
6
|
+
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
7
|
+
let a = r.data;
|
|
8
|
+
return i.forEach(f, function(e) {
|
|
9
|
+
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
10
|
+
}), n.normalize(), a;
|
|
4
11
|
}
|
|
5
12
|
export {
|
|
6
|
-
|
|
13
|
+
h as default
|
|
7
14
|
};
|
package/dist/index216.mjs
CHANGED
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const l = {
|
|
6
|
-
isBrowser: !0,
|
|
7
|
-
classes: {
|
|
8
|
-
URLSearchParams: o,
|
|
9
|
-
FormData: r,
|
|
10
|
-
Blob: t
|
|
11
|
-
},
|
|
12
|
-
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
13
|
-
};
|
|
2
|
+
function e(t) {
|
|
3
|
+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
4
|
+
}
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
e as default
|
|
16
7
|
};
|
package/dist/index217.mjs
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
function n(e, c) {
|
|
3
|
+
return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
|
|
4
|
+
}
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
-
n as hasStandardBrowserEnv,
|
|
7
|
-
t as hasStandardBrowserWebWorkerEnv,
|
|
8
|
-
o as navigator,
|
|
9
|
-
r as origin
|
|
6
|
+
n as default
|
|
10
7
|
};
|
package/dist/index234.mjs
CHANGED
package/dist/index235.mjs
CHANGED
|
@@ -1,40 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import { __require as l } from "./index264.mjs";
|
|
4
|
-
import { __require as d } from "./index265.mjs";
|
|
5
|
-
var t;
|
|
6
|
-
function R() {
|
|
7
|
-
return t ? n : (t = 1, function(i) {
|
|
8
|
-
Object.defineProperty(i, "__esModule", {
|
|
9
|
-
value: !0
|
|
10
|
-
});
|
|
11
|
-
function o(u, e) {
|
|
12
|
-
for (var r in e) Object.defineProperty(u, r, {
|
|
13
|
-
enumerable: !0,
|
|
14
|
-
get: e[r]
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
o(i, {
|
|
18
|
-
normalizeAppPath: function() {
|
|
19
|
-
return a;
|
|
20
|
-
},
|
|
21
|
-
normalizeRscURL: function() {
|
|
22
|
-
return p;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const s = l(), f = d();
|
|
26
|
-
function a(u) {
|
|
27
|
-
return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
|
|
28
|
-
}
|
|
29
|
-
function p(u) {
|
|
30
|
-
return u.replace(
|
|
31
|
-
/\.rsc($|\?)/,
|
|
32
|
-
// $1 ensures `?` is preserved
|
|
33
|
-
"$1"
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
}(n), n);
|
|
37
|
-
}
|
|
2
|
+
var e = {};
|
|
38
3
|
export {
|
|
39
|
-
|
|
4
|
+
e as __exports
|
|
40
5
|
};
|
package/dist/index236.mjs
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import { __exports as n } from "./index264.mjs";
|
|
3
|
+
import { __require as l } from "./index265.mjs";
|
|
4
|
+
import { __require as d } from "./index266.mjs";
|
|
5
|
+
var t;
|
|
6
|
+
function R() {
|
|
7
|
+
return t ? n : (t = 1, function(i) {
|
|
8
|
+
Object.defineProperty(i, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
function o(u, e) {
|
|
12
|
+
for (var r in e) Object.defineProperty(u, r, {
|
|
13
|
+
enumerable: !0,
|
|
14
|
+
get: e[r]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
o(i, {
|
|
18
|
+
normalizeAppPath: function() {
|
|
19
|
+
return a;
|
|
20
|
+
},
|
|
21
|
+
normalizeRscURL: function() {
|
|
22
|
+
return p;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const s = l(), f = d();
|
|
26
|
+
function a(u) {
|
|
27
|
+
return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
|
|
28
|
+
}
|
|
29
|
+
function p(u) {
|
|
30
|
+
return u.replace(
|
|
31
|
+
/\.rsc($|\?)/,
|
|
32
|
+
// $1 ensures `?` is preserved
|
|
33
|
+
"$1"
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
}(n), n);
|
|
37
|
+
}
|
|
3
38
|
export {
|
|
4
|
-
|
|
39
|
+
R as __require
|
|
5
40
|
};
|