@nextblock-cms/ecom 0.15.5 → 0.15.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.
@@ -1,90 +1,92 @@
1
1
  'use client';
2
- import { jsxDEV as e, Fragment as Q } from "react/jsx-dev-runtime";
3
- import Y, { useState as V, useEffect as j, useMemo as B } from "react";
4
- import { Download as Z, Package as ee, ShieldCheck as se } from "lucide-react";
2
+ import { jsxDEV as e, Fragment as Z } from "react/jsx-dev-runtime";
3
+ import ee, { useState as V, useEffect as j, useMemo as B } from "react";
4
+ import { Download as se, Package as te, ShieldCheck as re } from "lucide-react";
5
5
  import { Badge as H } from "@nextblock-cms/ui/badge";
6
- import { Button as te } from "@nextblock-cms/ui/button";
7
- import { Label as re } from "@nextblock-cms/ui/label";
8
- import { Separator as oe } from "@nextblock-cms/ui/separator";
9
- import { useTranslations as ie, cn as ne, formatPrice as O } from "@nextblock-cms/utils";
10
- import { useProduct as le } from "../product-context.es.js";
11
- import { ProductGallery as ce } from "./ProductGallery.es.js";
12
- import { AddToCartButton as ae } from "./AddToCartButton.es.js";
13
- import { SubscriptionSelector as de } from "./SubscriptionSelector.es.js";
14
- import { toNoCookieEmbedSrc as me, SimpleTiptapRenderer as ue } from "./SimpleTiptapRenderer.es.js";
15
- import { chooseInitialVariantSelections as $, normalizeSelectionsToAvailableVariants as F, findMatchingVariant as Ne, resolveTranslatedText as be, getAvailableTermIdsForAttribute as pe } from "../variation-utils.es.js";
16
- import { useCurrency as fe } from "../CurrencyProvider.es.js";
6
+ import { Button as oe } from "@nextblock-cms/ui/button";
7
+ import { Label as ie } from "@nextblock-cms/ui/label";
8
+ import { Separator as ne } from "@nextblock-cms/ui/separator";
9
+ import { useTranslations as le, cn as ce, formatPrice as O } from "@nextblock-cms/utils";
10
+ import { useProduct as ae } from "../product-context.es.js";
11
+ import { ProductGallery as de } from "./ProductGallery.es.js";
12
+ import { AddToCartButton as me } from "./AddToCartButton.es.js";
13
+ import { SubscriptionSelector as ue } from "./SubscriptionSelector.es.js";
14
+ import { toNoCookieEmbedSrc as Ne, SimpleTiptapRenderer as be } from "./SimpleTiptapRenderer.es.js";
15
+ import { chooseInitialVariantSelections as $, normalizeSelectionsToAvailableVariants as F, findMatchingVariant as pe, resolveTranslatedText as fe, getAvailableTermIdsForAttribute as xe } from "../variation-utils.es.js";
16
+ import { useCurrency as ke } from "../CurrencyProvider.es.js";
17
17
  import { resolveEffectivePriceForCurrency as M } from "../currency.es.js";
18
- import { isDigitalProduct as xe } from "../types.es.js";
19
- import { getTrialSummary as ke } from "../trials.es.js";
20
- function w(a, p, g, s) {
21
- const n = {
18
+ import { isDigitalProduct as ve } from "../types.es.js";
19
+ import { getTrialSummary as De } from "../trials.es.js";
20
+ function w(a, p, y, _) {
21
+ const P = {
22
22
  kind: "product-field",
23
23
  field: p,
24
- input: g,
25
- label: s
26
- }, _ = typeof window < "u" ? window.location.origin : process.env.NEXT_PUBLIC_URL || process.env.TARGET_URL || (process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "") || "http://localhost:3000";
27
- let m = (typeof window < "u" ? window.location.origin : process.env.NEXT_PUBLIC_URL || process.env.TARGET_URL || (process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "") || "http://localhost:3000").replace(/\/+$/, "");
24
+ input: y,
25
+ label: _
26
+ }, s = typeof window < "u" ? window.location.origin : process.env.NEXT_PUBLIC_URL || process.env.TARGET_URL || (process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "") || "http://localhost:3000";
27
+ let u = (typeof window < "u" ? window.location.origin : process.env.NEXT_PUBLIC_URL || process.env.TARGET_URL || (process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "") || "http://localhost:3000").replace(/\/+$/, "");
28
28
  try {
29
- (m.startsWith("http://") || m.startsWith("https://")) && (m = new URL(m).hostname);
29
+ (u.startsWith("http://") || u.startsWith("https://")) && (u = new URL(u).hostname);
30
30
  } catch {
31
31
  }
32
- const y = process.env.NEXTBLOCK_VERCEL_PROJECT_ID || process.env.VERCEL_PROJECT_ID, P = process.env.NEXTBLOCK_VERCEL_WORKSPACE_ID || process.env.VERCEL_ORG_ID, k = {
33
- origin: m,
34
- editUrl: `${_}/cms/products/${a.id}/edit`,
32
+ const d = process.env.NEXTBLOCK_VERCEL_PROJECT_ID || process.env.VERCEL_PROJECT_ID, k = process.env.NEXTBLOCK_VERCEL_WORKSPACE_ID || process.env.VERCEL_ORG_ID, v = {
33
+ origin: u,
34
+ editUrl: `${s}/cms/products/${a.id}/edit`,
35
35
  data: {
36
36
  parentType: "product",
37
37
  parentId: a.id,
38
38
  slug: a.slug,
39
39
  languageId: a.language_id,
40
40
  draftId: null,
41
- target: n
41
+ target: P
42
42
  }
43
43
  };
44
- return y && (k.projectId = y), P && (k.workspaceId = P), {
45
- "data-vercel-edit-info": JSON.stringify(k),
46
- "data-vercel-edit-target": JSON.stringify(n),
44
+ return d && (v.projectId = d), k && (v.workspaceId = k), {
45
+ "data-vercel-edit-info": JSON.stringify(v),
46
+ "data-vercel-edit-target": JSON.stringify(P),
47
47
  "data-nextblock-visual-edit": `product:${p}`
48
48
  };
49
49
  }
50
- const Ie = ({
50
+ const Ve = ({
51
51
  visualEditingEnabled: a = !1,
52
52
  descriptionNode: p,
53
- reviewsNode: g
53
+ reviewsNode: y,
54
+ canPurchase: _ = !0,
55
+ purchaseFallbackNode: P
54
56
  }) => {
55
- const s = le(), { t: n, lang: _ } = ie(), { activeCurrencyCode: u, currencies: m } = fe(), y = a ? w(
57
+ const s = ae(), { t: c, lang: u } = le(), { activeCurrencyCode: d, currencies: k } = ke(), v = a ? w(
56
58
  s,
57
59
  "title",
58
60
  "plain-text",
59
61
  "Product title"
60
- ) : void 0, P = a ? w(
62
+ ) : void 0, J = a ? w(
61
63
  s,
62
64
  "short_description",
63
65
  "plain-text",
64
66
  "Short description"
65
- ) : void 0, k = a ? w(
67
+ ) : void 0, G = a ? w(
66
68
  s,
67
69
  "description_json",
68
70
  "tiptap",
69
71
  "Product description"
70
- ) : void 0, f = (r, c, i) => {
71
- const A = n(r, i);
72
- return A === r ? c : A;
73
- }, L = s.images && s.images.length > 0 ? s.images : s.image_url ? [{ url: s.image_url, alt: s.title }] : [], x = s.custom_props?.provider === "freemius" || xe(s), S = ke(s), o = !x && !!(s.has_variants && s.attributes?.length && s.variants?.length), N = s.attributes || [], d = s.variants || [], [v, R] = V(() => $(N, d)), [C, U] = V(1);
72
+ ) : void 0, f = (r, l, i) => {
73
+ const A = c(r, i);
74
+ return A === r ? l : A;
75
+ }, L = s.images && s.images.length > 0 ? s.images : s.image_url ? [{ url: s.image_url, alt: s.title }] : [], x = s.custom_props?.provider === "freemius" || ve(s), S = De(s), o = !x && !!(s.has_variants && s.attributes?.length && s.variants?.length), N = s.attributes || [], m = s.variants || [], [D, R] = V(() => $(N, m)), [C, U] = V(1);
74
76
  j(() => {
75
77
  U(1);
76
78
  }, [s.id]), j(() => {
77
- o && R($(N, d));
78
- }, [N, o, s.id, d]);
79
+ o && R($(N, m));
80
+ }, [N, o, s.id, m]);
79
81
  const b = B(() => o ? F(
80
82
  N,
81
- d,
82
- v
83
- ) : v, [N, o, v, d]);
83
+ m,
84
+ D
85
+ ) : D, [N, o, D, m]);
84
86
  j(() => {
85
- JSON.stringify(b) !== JSON.stringify(v) && R(b);
86
- }, [b, v]);
87
- const t = B(() => o ? Ne(d, b) : null, [o, b, d]), E = M({
87
+ JSON.stringify(b) !== JSON.stringify(D) && R(b);
88
+ }, [b, D]);
89
+ const t = B(() => o ? pe(m, b) : null, [o, b, m]), E = M({
88
90
  prices: s.prices,
89
91
  salePrices: s.sale_prices,
90
92
  fallbackPrice: s.price,
@@ -94,8 +96,8 @@ const Ie = ({
94
96
  scheduledPrice: s.scheduled_price,
95
97
  scheduledPrices: s.scheduled_prices,
96
98
  scheduledPriceAt: s.scheduled_price_at,
97
- currencyCode: u,
98
- currencies: m
99
+ currencyCode: d,
100
+ currencies: k
99
101
  }), T = o && t ? M({
100
102
  prices: t.prices,
101
103
  salePrices: t.sale_prices,
@@ -106,21 +108,21 @@ const Ie = ({
106
108
  scheduledPrice: t.scheduled_price,
107
109
  scheduledPrices: t.scheduled_prices,
108
110
  scheduledPriceAt: t.scheduled_price_at,
109
- currencyCode: u,
110
- currencies: m
111
- }) : null, D = T?.price ?? E.price, h = T?.sale_price ?? E.sale_price, l = o ? t?.stock_quantity ?? 0 : s.stock ?? 0, J = B(() => {
111
+ currencyCode: d,
112
+ currencies: k
113
+ }) : null, h = T?.price ?? E.price, g = T?.sale_price ?? E.sale_price, n = o ? t?.stock_quantity ?? 0 : s.stock ?? 0, K = B(() => {
112
114
  if (!t?.image_url)
113
115
  return L;
114
116
  const r = {
115
117
  url: t.image_url,
116
118
  alt: `${s.title} ${t.label}`
117
- }, c = L.filter(
119
+ }, l = L.filter(
118
120
  (i) => i.url !== t.image_url
119
121
  );
120
- return [r, ...c];
121
- }, [L, s.title, t]), G = typeof h == "number" && D > 0 ? Math.round(
122
- (D - h) / D * 100
123
- ) : 0, K = o && t ? {
122
+ return [r, ...l];
123
+ }, [L, s.title, t]), X = typeof g == "number" && h > 0 ? Math.round(
124
+ (h - g) / h * 100
125
+ ) : 0, q = o && t ? {
124
126
  ...s,
125
127
  sku: t.sku,
126
128
  price: t.price,
@@ -132,40 +134,40 @@ const Ie = ({
132
134
  variant_id: t.id,
133
135
  variant_label: t.label,
134
136
  selected_options: t.selected_options,
135
- currency_code: u
137
+ currency_code: d
136
138
  } : {
137
139
  ...s,
138
- currency_code: u
139
- }, X = (r, c) => {
140
+ currency_code: d
141
+ }, z = (r, l) => {
140
142
  R(
141
- (i) => F(N, d, {
143
+ (i) => F(N, m, {
142
144
  ...i,
143
- [r]: c
145
+ [r]: l
144
146
  })
145
147
  );
146
- }, q = f(
148
+ }, W = f(
147
149
  "ecommerce.in_stock",
148
- `${l} in stock`,
149
- { count: String(l) }
150
+ `${n} in stock`,
151
+ { count: String(n) }
150
152
  ), I = f(
151
153
  "ecommerce.out_of_stock",
152
154
  "Out of stock"
153
- ), z = f(
155
+ ), Q = f(
154
156
  "ecommerce.select_options",
155
157
  "Select Options"
156
- ), W = f(
158
+ ), Y = f(
157
159
  "ecommerce.variant_selection_required",
158
160
  "Select one term from every dropdown to resolve a variation."
159
161
  );
160
162
  return /* @__PURE__ */ e("div", { className: "w-full animate-in fade-in slide-in-from-bottom-4 duration-700 ease-out", children: [
161
163
  /* @__PURE__ */ e("div", { className: "container mx-auto px-4 md:px-6 py-12", children: /* @__PURE__ */ e("div", { className: "grid gap-12 lg:grid-cols-[2fr_3fr] items-start", children: [
162
- /* @__PURE__ */ e("div", { className: "w-full max-w-2xl mx-auto lg:max-w-none", children: /* @__PURE__ */ e(ce, { images: J, className: "w-full" }, void 0, !1, {
164
+ /* @__PURE__ */ e("div", { className: "w-full max-w-2xl mx-auto lg:max-w-none", children: /* @__PURE__ */ e(de, { images: K, className: "w-full" }, void 0, !1, {
163
165
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
164
- lineNumber: 333,
166
+ lineNumber: 343,
165
167
  columnNumber: 13
166
168
  }, void 0) }, void 0, !1, {
167
169
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
168
- lineNumber: 332,
170
+ lineNumber: 342,
169
171
  columnNumber: 11
170
172
  }, void 0),
171
173
  /* @__PURE__ */ e("div", { className: "flex flex-col gap-4 pb-2 max-w-xl mx-auto lg:mx-0 lg:max-w-none", children: [
@@ -174,14 +176,14 @@ const Ie = ({
174
176
  "h1",
175
177
  {
176
178
  className: "text-3xl sm:text-4xl lg:text-5xl font-extrabold tracking-tight text-foreground leading-[1.1] lg:mt-0",
177
- ...y,
179
+ ...v,
178
180
  children: s.title
179
181
  },
180
182
  void 0,
181
183
  !1,
182
184
  {
183
185
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
184
- lineNumber: 341,
186
+ lineNumber: 351,
185
187
  columnNumber: 17
186
188
  },
187
189
  void 0
@@ -192,56 +194,56 @@ const Ie = ({
192
194
  href: "#reviews-section",
193
195
  className: "flex items-center gap-1.5 group hover:opacity-85 transition-opacity",
194
196
  children: [
195
- /* @__PURE__ */ e("div", { className: "flex items-center text-amber-500", children: Array.from({ length: 5 }).map((r, c) => /* @__PURE__ */ e(
197
+ /* @__PURE__ */ e("div", { className: "flex items-center text-amber-500", children: Array.from({ length: 5 }).map((r, l) => /* @__PURE__ */ e(
196
198
  "svg",
197
199
  {
198
- className: ne(
200
+ className: ce(
199
201
  "h-4 w-4 fill-current",
200
- c < Math.round(s.average_rating || 0) ? "text-amber-500" : "text-slate-300 dark:text-slate-700"
202
+ l < Math.round(s.average_rating || 0) ? "text-amber-500" : "text-slate-300 dark:text-slate-700"
201
203
  ),
202
204
  viewBox: "0 0 20 20",
203
205
  fill: "currentColor",
204
206
  children: /* @__PURE__ */ e("path", { d: "M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" }, void 0, !1, {
205
207
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
206
- lineNumber: 367,
208
+ lineNumber: 377,
207
209
  columnNumber: 27
208
210
  }, void 0)
209
211
  },
210
- c,
212
+ l,
211
213
  !1,
212
214
  {
213
215
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
214
- lineNumber: 356,
216
+ lineNumber: 366,
215
217
  columnNumber: 25
216
218
  },
217
219
  void 0
218
220
  )) }, void 0, !1, {
219
221
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
220
- lineNumber: 354,
222
+ lineNumber: 364,
221
223
  columnNumber: 21
222
224
  }, void 0),
223
- s.total_reviews && s.total_reviews > 0 ? /* @__PURE__ */ e(Q, { children: [
225
+ s.total_reviews && s.total_reviews > 0 ? /* @__PURE__ */ e(Z, { children: [
224
226
  /* @__PURE__ */ e("span", { className: "text-sm font-semibold text-slate-700 dark:text-slate-300", children: s.average_rating?.toFixed(1) }, void 0, !1, {
225
227
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
226
- lineNumber: 373,
228
+ lineNumber: 383,
227
229
  columnNumber: 25
228
230
  }, void 0),
229
231
  /* @__PURE__ */ e("span", { className: "text-sm text-muted-foreground underline decoration-dotted group-hover:text-primary", children: [
230
232
  "(",
231
- s.total_reviews === 1 ? n("reviews.review_count_one", { count: s.total_reviews }) : n("reviews.review_count_other", { count: s.total_reviews }),
233
+ s.total_reviews === 1 ? c("reviews.review_count_one", { count: s.total_reviews }) : c("reviews.review_count_other", { count: s.total_reviews }),
232
234
  ")"
233
235
  ] }, void 0, !0, {
234
236
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
235
- lineNumber: 376,
237
+ lineNumber: 386,
236
238
  columnNumber: 25
237
239
  }, void 0)
238
240
  ] }, void 0, !0, {
239
241
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
240
- lineNumber: 372,
242
+ lineNumber: 382,
241
243
  columnNumber: 23
242
- }, void 0) : /* @__PURE__ */ e("span", { className: "text-xs text-muted-foreground group-hover:text-primary underline decoration-dotted", children: n("reviews.be_the_first") }, void 0, !1, {
244
+ }, void 0) : /* @__PURE__ */ e("span", { className: "text-xs text-muted-foreground group-hover:text-primary underline decoration-dotted", children: c("reviews.be_the_first") }, void 0, !1, {
243
245
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
244
- lineNumber: 383,
246
+ lineNumber: 393,
245
247
  columnNumber: 23
246
248
  }, void 0)
247
249
  ]
@@ -250,66 +252,66 @@ const Ie = ({
250
252
  !0,
251
253
  {
252
254
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
253
- lineNumber: 350,
255
+ lineNumber: 360,
254
256
  columnNumber: 19
255
257
  },
256
258
  void 0
257
259
  ) }, void 0, !1, {
258
260
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
259
- lineNumber: 349,
261
+ lineNumber: 359,
260
262
  columnNumber: 17
261
263
  }, void 0),
262
- s.categories && s.categories.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap items-center gap-1.5 text-xs font-bold uppercase tracking-widest text-amber-600 dark:text-amber-400", children: s.categories.map((r, c) => {
263
- const i = be(
264
+ s.categories && s.categories.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap items-center gap-1.5 text-xs font-bold uppercase tracking-widest text-amber-600 dark:text-amber-400", children: s.categories.map((r, l) => {
265
+ const i = fe(
264
266
  r.name,
265
267
  r.name_translations,
266
- _
268
+ u
267
269
  );
268
- return /* @__PURE__ */ e(Y.Fragment, { children: [
269
- c > 0 && /* @__PURE__ */ e("span", { className: "text-muted-foreground/30", children: "•" }, void 0, !1, {
270
+ return /* @__PURE__ */ e(ee.Fragment, { children: [
271
+ l > 0 && /* @__PURE__ */ e("span", { className: "text-muted-foreground/30", children: "•" }, void 0, !1, {
270
272
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
271
- lineNumber: 401,
273
+ lineNumber: 411,
272
274
  columnNumber: 29
273
275
  }, void 0),
274
276
  /* @__PURE__ */ e("span", { children: i }, void 0, !1, {
275
277
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
276
- lineNumber: 403,
278
+ lineNumber: 413,
277
279
  columnNumber: 27
278
280
  }, void 0)
279
281
  ] }, r.id, !0, {
280
282
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
281
- lineNumber: 399,
283
+ lineNumber: 409,
282
284
  columnNumber: 25
283
285
  }, void 0);
284
286
  }) }, void 0, !1, {
285
287
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
286
- lineNumber: 391,
288
+ lineNumber: 401,
287
289
  columnNumber: 19
288
290
  }, void 0),
289
291
  /* @__PURE__ */ e(
290
292
  "div",
291
293
  {
292
294
  className: "prose prose-neutral dark:prose-invert max-w-none text-muted-foreground leading-relaxed text-left",
293
- ...P,
295
+ ...J,
294
296
  children: s.short_description ? /* @__PURE__ */ e(
295
297
  "div",
296
298
  {
297
299
  className: "text-lg mb-4 leading-relaxed",
298
300
  dangerouslySetInnerHTML: {
299
- __html: me(s.short_description) ?? s.short_description
301
+ __html: Ne(s.short_description) ?? s.short_description
300
302
  }
301
303
  },
302
304
  void 0,
303
305
  !1,
304
306
  {
305
307
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
306
- lineNumber: 415,
308
+ lineNumber: 425,
307
309
  columnNumber: 21
308
310
  },
309
311
  void 0
310
312
  ) : a ? /* @__PURE__ */ e("p", { className: "text-lg mb-4 italic text-muted-foreground", children: "Add a short product description." }, void 0, !1, {
311
313
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
312
- lineNumber: 424,
314
+ lineNumber: 434,
313
315
  columnNumber: 21
314
316
  }, void 0) : null
315
317
  },
@@ -317,44 +319,44 @@ const Ie = ({
317
319
  !1,
318
320
  {
319
321
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
320
- lineNumber: 410,
322
+ lineNumber: 420,
321
323
  columnNumber: 17
322
324
  },
323
325
  void 0
324
326
  ),
325
327
  /* @__PURE__ */ e("div", { className: "flex items-center gap-3", children: [
326
- typeof h == "number" && /* @__PURE__ */ e(
328
+ typeof g == "number" && /* @__PURE__ */ e(
327
329
  H,
328
330
  {
329
331
  variant: "destructive",
330
332
  className: "px-2.5 py-1 text-xs font-bold uppercase tracking-wide animate-pulse shadow-sm",
331
- children: n("ecommerce.sale_badge", {
332
- percent: String(G)
333
+ children: c("ecommerce.sale_badge", {
334
+ percent: String(X)
333
335
  })
334
336
  },
335
337
  void 0,
336
338
  !1,
337
339
  {
338
340
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
339
- lineNumber: 432,
341
+ lineNumber: 442,
340
342
  columnNumber: 21
341
343
  },
342
344
  void 0
343
345
  ),
344
- !x && l > 0 && l < 10 && /* @__PURE__ */ e(
346
+ !x && n > 0 && n < 10 && /* @__PURE__ */ e(
345
347
  H,
346
348
  {
347
349
  variant: "outline",
348
350
  className: "text-amber-600 border-amber-200 bg-amber-50",
349
- children: n("ecommerce.low_stock", {
350
- count: String(l)
351
+ children: c("ecommerce.low_stock", {
352
+ count: String(n)
351
353
  })
352
354
  },
353
355
  void 0,
354
356
  !1,
355
357
  {
356
358
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
357
- lineNumber: 442,
359
+ lineNumber: 452,
358
360
  columnNumber: 21
359
361
  },
360
362
  void 0
@@ -370,60 +372,60 @@ const Ie = ({
370
372
  !1,
371
373
  {
372
374
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
373
- lineNumber: 452,
375
+ lineNumber: 462,
374
376
  columnNumber: 21
375
377
  },
376
378
  void 0
377
379
  )
378
380
  ] }, void 0, !0, {
379
381
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
380
- lineNumber: 430,
382
+ lineNumber: 440,
381
383
  columnNumber: 17
382
384
  }, void 0)
383
385
  ] }, void 0, !0, {
384
386
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
385
- lineNumber: 338,
387
+ lineNumber: 348,
386
388
  columnNumber: 15
387
389
  }, void 0) }, void 0, !1, {
388
390
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
389
- lineNumber: 337,
391
+ lineNumber: 347,
390
392
  columnNumber: 13
391
393
  }, void 0),
392
394
  /* @__PURE__ */ e("div", { className: "p-5 rounded-2xl bg-card/60 border border-border/80 shadow-md backdrop-blur-md space-y-4", children: [
393
- x ? /* @__PURE__ */ e(de, { product: s }, void 0, !1, {
395
+ _ ? x ? /* @__PURE__ */ e(ue, { product: s }, void 0, !1, {
394
396
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
395
- lineNumber: 466,
397
+ lineNumber: 478,
396
398
  columnNumber: 17
397
399
  }, void 0) : /* @__PURE__ */ e("div", { className: "space-y-3.5", children: [
398
400
  /* @__PURE__ */ e("div", { className: "flex items-center justify-between gap-4", children: [
399
401
  /* @__PURE__ */ e("div", { className: "space-y-1", children: [
400
402
  /* @__PURE__ */ e("span", { className: "text-[10px] font-bold text-muted-foreground uppercase tracking-widest", children: f("ecommerce.price", "Price") }, void 0, !1, {
401
403
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
402
- lineNumber: 472,
404
+ lineNumber: 484,
403
405
  columnNumber: 23
404
406
  }, void 0),
405
407
  /* @__PURE__ */ e("div", { className: "flex items-baseline gap-2.5", children: [
406
408
  /* @__PURE__ */ e("span", { className: "text-3xl font-extrabold text-foreground", children: O(
407
- h ?? D,
408
- u
409
+ g ?? h,
410
+ d
409
411
  ) }, void 0, !1, {
410
412
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
411
- lineNumber: 476,
413
+ lineNumber: 488,
412
414
  columnNumber: 25
413
415
  }, void 0),
414
- typeof h == "number" && /* @__PURE__ */ e("span", { className: "text-lg text-muted-foreground line-through decoration-destructive/20 decoration-1", children: O(D, u) }, void 0, !1, {
416
+ typeof g == "number" && /* @__PURE__ */ e("span", { className: "text-lg text-muted-foreground line-through decoration-destructive/20 decoration-1", children: O(h, d) }, void 0, !1, {
415
417
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
416
- lineNumber: 483,
418
+ lineNumber: 495,
417
419
  columnNumber: 27
418
420
  }, void 0)
419
421
  ] }, void 0, !0, {
420
422
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
421
- lineNumber: 475,
423
+ lineNumber: 487,
422
424
  columnNumber: 23
423
425
  }, void 0)
424
426
  ] }, void 0, !0, {
425
427
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
426
- lineNumber: 471,
428
+ lineNumber: 483,
427
429
  columnNumber: 21
428
430
  }, void 0),
429
431
  !x && (t || !o) && /* @__PURE__ */ e("div", { className: "text-right space-y-1", children: [
@@ -433,40 +435,40 @@ const Ie = ({
433
435
  s.sku
434
436
  ] }, void 0, !0, {
435
437
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
436
- lineNumber: 494,
438
+ lineNumber: 506,
437
439
  columnNumber: 29
438
440
  }, void 0),
439
441
  f("ecommerce.status", "Status")
440
442
  ] }, void 0, !0, {
441
443
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
442
- lineNumber: 492,
444
+ lineNumber: 504,
443
445
  columnNumber: 25
444
446
  }, void 0),
445
- /* @__PURE__ */ e("div", { className: (l ?? 0) > 0 ? "text-emerald-600 dark:text-emerald-400 font-semibold text-sm" : "text-destructive font-semibold text-sm", children: (l ?? 0) > 0 ? q : I }, void 0, !1, {
447
+ /* @__PURE__ */ e("div", { className: (n ?? 0) > 0 ? "text-emerald-600 dark:text-emerald-400 font-semibold text-sm" : "text-destructive font-semibold text-sm", children: (n ?? 0) > 0 ? W : I }, void 0, !1, {
446
448
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
447
- lineNumber: 500,
449
+ lineNumber: 512,
448
450
  columnNumber: 25
449
451
  }, void 0)
450
452
  ] }, void 0, !0, {
451
453
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
452
- lineNumber: 491,
454
+ lineNumber: 503,
453
455
  columnNumber: 23
454
456
  }, void 0)
455
457
  ] }, void 0, !0, {
456
458
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
457
- lineNumber: 470,
459
+ lineNumber: 482,
458
460
  columnNumber: 19
459
461
  }, void 0),
460
462
  o && /* @__PURE__ */ e("div", { className: "space-y-3", children: /* @__PURE__ */ e("div", { className: "grid gap-3 sm:grid-cols-2", children: N.map((r) => {
461
- const c = pe(
462
- d,
463
+ const l = xe(
464
+ m,
463
465
  r.id,
464
466
  b
465
467
  );
466
468
  return /* @__PURE__ */ e("div", { className: "space-y-1", children: [
467
469
  /* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: [
468
470
  /* @__PURE__ */ e(
469
- re,
471
+ ie,
470
472
  {
471
473
  htmlFor: `attribute-${r.id}`,
472
474
  className: "text-[11px] font-semibold text-muted-foreground uppercase tracking-wider",
@@ -476,19 +478,19 @@ const Ie = ({
476
478
  !1,
477
479
  {
478
480
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
479
- lineNumber: 522,
481
+ lineNumber: 534,
480
482
  columnNumber: 33
481
483
  },
482
484
  void 0
483
485
  ),
484
486
  t?.sku && /* @__PURE__ */ e("span", { className: "text-[10px] text-muted-foreground font-mono", children: t.sku }, void 0, !1, {
485
487
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
486
- lineNumber: 529,
488
+ lineNumber: 541,
487
489
  columnNumber: 35
488
490
  }, void 0)
489
491
  ] }, void 0, !0, {
490
492
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
491
- lineNumber: 521,
493
+ lineNumber: 533,
492
494
  columnNumber: 31
493
495
  }, void 0),
494
496
  /* @__PURE__ */ e(
@@ -497,7 +499,7 @@ const Ie = ({
497
499
  id: `attribute-${r.id}`,
498
500
  className: "flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
499
501
  value: b[r.id] || "",
500
- onChange: (i) => X(
502
+ onChange: (i) => z(
501
503
  r.id,
502
504
  i.target.value
503
505
  ),
@@ -505,14 +507,14 @@ const Ie = ({
505
507
  "option",
506
508
  {
507
509
  value: i.id,
508
- disabled: !c.has(i.id),
510
+ disabled: !l.has(i.id),
509
511
  children: i.value
510
512
  },
511
513
  i.id,
512
514
  !1,
513
515
  {
514
516
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
515
- lineNumber: 546,
517
+ lineNumber: 558,
516
518
  columnNumber: 35
517
519
  },
518
520
  void 0
@@ -522,32 +524,32 @@ const Ie = ({
522
524
  !1,
523
525
  {
524
526
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
525
- lineNumber: 534,
527
+ lineNumber: 546,
526
528
  columnNumber: 31
527
529
  },
528
530
  void 0
529
531
  )
530
532
  ] }, r.id, !0, {
531
533
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
532
- lineNumber: 520,
534
+ lineNumber: 532,
533
535
  columnNumber: 29
534
536
  }, void 0);
535
537
  }) }, void 0, !1, {
536
538
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
537
- lineNumber: 510,
539
+ lineNumber: 522,
538
540
  columnNumber: 23
539
541
  }, void 0) }, void 0, !1, {
540
542
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
541
- lineNumber: 509,
543
+ lineNumber: 521,
542
544
  columnNumber: 21
543
545
  }, void 0),
544
- o && !t && /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground italic pt-1", children: W }, void 0, !1, {
546
+ o && !t && /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground italic pt-1", children: Y }, void 0, !1, {
545
547
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
546
- lineNumber: 563,
548
+ lineNumber: 575,
547
549
  columnNumber: 21
548
550
  }, void 0),
549
551
  /* @__PURE__ */ e("div", { className: "flex items-center gap-3 pt-1", children: [
550
- !x && (l ?? 0) > 0 && /* @__PURE__ */ e("div", { className: "flex items-center border rounded-lg h-12 bg-background border-input select-none", children: [
552
+ !x && (n ?? 0) > 0 && /* @__PURE__ */ e("div", { className: "flex items-center border rounded-lg h-12 bg-background border-input select-none", children: [
551
553
  /* @__PURE__ */ e(
552
554
  "button",
553
555
  {
@@ -561,14 +563,14 @@ const Ie = ({
561
563
  !1,
562
564
  {
563
565
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
564
- lineNumber: 572,
566
+ lineNumber: 584,
565
567
  columnNumber: 25
566
568
  },
567
569
  void 0
568
570
  ),
569
571
  /* @__PURE__ */ e("span", { className: "w-8 text-center text-sm font-semibold", children: C }, void 0, !1, {
570
572
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
571
- lineNumber: 580,
573
+ lineNumber: 592,
572
574
  columnNumber: 25
573
575
  }, void 0),
574
576
  /* @__PURE__ */ e(
@@ -576,45 +578,45 @@ const Ie = ({
576
578
  {
577
579
  type: "button",
578
580
  onClick: () => U(
579
- (r) => l !== null && r >= l ? r : r + 1
581
+ (r) => n !== null && r >= n ? r : r + 1
580
582
  ),
581
583
  className: "px-3 h-full flex items-center justify-center text-muted-foreground hover:text-foreground active:scale-95 transition-all text-lg font-medium",
582
- disabled: l !== null && C >= l,
584
+ disabled: n !== null && C >= n,
583
585
  children: "+"
584
586
  },
585
587
  void 0,
586
588
  !1,
587
589
  {
588
590
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
589
- lineNumber: 583,
591
+ lineNumber: 595,
590
592
  columnNumber: 25
591
593
  },
592
594
  void 0
593
595
  )
594
596
  ] }, void 0, !0, {
595
597
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
596
- lineNumber: 571,
598
+ lineNumber: 583,
597
599
  columnNumber: 23
598
600
  }, void 0),
599
- o && (!t || (l ?? 0) <= 0) ? /* @__PURE__ */ e(
600
- te,
601
+ o && (!t || (n ?? 0) <= 0) ? /* @__PURE__ */ e(
602
+ oe,
601
603
  {
602
604
  disabled: !0,
603
605
  className: "flex-1 h-12 text-md font-bold shadow-md",
604
- children: t ? I : z
606
+ children: t ? I : Q
605
607
  },
606
608
  void 0,
607
609
  !1,
608
610
  {
609
611
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
610
- lineNumber: 604,
612
+ lineNumber: 616,
611
613
  columnNumber: 23
612
614
  },
613
615
  void 0
614
616
  ) : /* @__PURE__ */ e(
615
- ae,
617
+ me,
616
618
  {
617
- product: K,
619
+ product: q,
618
620
  quantity: C,
619
621
  className: "flex-1 h-12 text-md font-bold shadow-md transition-all hover:shadow-lg active:scale-[0.98]"
620
622
  },
@@ -622,126 +624,126 @@ const Ie = ({
622
624
  !1,
623
625
  {
624
626
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
625
- lineNumber: 611,
627
+ lineNumber: 623,
626
628
  columnNumber: 23
627
629
  },
628
630
  void 0
629
631
  )
630
632
  ] }, void 0, !0, {
631
633
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
632
- lineNumber: 569,
634
+ lineNumber: 581,
633
635
  columnNumber: 19
634
636
  }, void 0)
635
637
  ] }, void 0, !0, {
636
638
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
637
- lineNumber: 468,
639
+ lineNumber: 480,
638
640
  columnNumber: 17
639
- }, void 0),
640
- /* @__PURE__ */ e(oe, { className: "opacity-60 my-0.5" }, void 0, !1, {
641
+ }, void 0) : P,
642
+ /* @__PURE__ */ e(ne, { className: "opacity-60 my-0.5" }, void 0, !1, {
641
643
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
642
- lineNumber: 621,
644
+ lineNumber: 633,
643
645
  columnNumber: 15
644
646
  }, void 0),
645
647
  /* @__PURE__ */ e("div", { className: "grid grid-cols-2 gap-4 text-center text-[11px] font-medium text-muted-foreground pt-1", children: [
646
648
  /* @__PURE__ */ e("div", { className: "flex items-center justify-center gap-2", children: x ? /* @__PURE__ */ e("span", { className: "inline-flex items-center gap-1.5", children: [
647
- /* @__PURE__ */ e(Z, { className: "h-3.5 w-3.5" }, void 0, !1, {
649
+ /* @__PURE__ */ e(se, { className: "h-3.5 w-3.5" }, void 0, !1, {
648
650
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
649
- lineNumber: 627,
651
+ lineNumber: 639,
650
652
  columnNumber: 23
651
653
  }, void 0),
652
- n("ecommerce.instant_digital_delivery")
654
+ c("ecommerce.instant_digital_delivery")
653
655
  ] }, void 0, !0, {
654
656
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
655
- lineNumber: 626,
657
+ lineNumber: 638,
656
658
  columnNumber: 21
657
659
  }, void 0) : /* @__PURE__ */ e("span", { className: "inline-flex items-center gap-1.5", children: [
658
- /* @__PURE__ */ e(ee, { className: "h-3.5 w-3.5" }, void 0, !1, {
660
+ /* @__PURE__ */ e(te, { className: "h-3.5 w-3.5" }, void 0, !1, {
659
661
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
660
- lineNumber: 632,
662
+ lineNumber: 644,
661
663
  columnNumber: 23
662
664
  }, void 0),
663
- n("ecommerce.free_shipping")
665
+ c("ecommerce.free_shipping")
664
666
  ] }, void 0, !0, {
665
667
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
666
- lineNumber: 631,
668
+ lineNumber: 643,
667
669
  columnNumber: 21
668
670
  }, void 0) }, void 0, !1, {
669
671
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
670
- lineNumber: 624,
672
+ lineNumber: 636,
671
673
  columnNumber: 17
672
674
  }, void 0),
673
675
  /* @__PURE__ */ e("div", { className: "flex items-center justify-center gap-2", children: /* @__PURE__ */ e("span", { className: "inline-flex items-center gap-1.5", children: [
674
- /* @__PURE__ */ e(se, { className: "h-3.5 w-3.5" }, void 0, !1, {
676
+ /* @__PURE__ */ e(re, { className: "h-3.5 w-3.5" }, void 0, !1, {
675
677
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
676
- lineNumber: 639,
678
+ lineNumber: 651,
677
679
  columnNumber: 21
678
680
  }, void 0),
679
- n("ecommerce.secure_checkout")
681
+ c("ecommerce.secure_checkout")
680
682
  ] }, void 0, !0, {
681
683
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
682
- lineNumber: 638,
684
+ lineNumber: 650,
683
685
  columnNumber: 19
684
686
  }, void 0) }, void 0, !1, {
685
687
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
686
- lineNumber: 637,
688
+ lineNumber: 649,
687
689
  columnNumber: 17
688
690
  }, void 0)
689
691
  ] }, void 0, !0, {
690
692
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
691
- lineNumber: 623,
693
+ lineNumber: 635,
692
694
  columnNumber: 15
693
695
  }, void 0)
694
696
  ] }, void 0, !0, {
695
697
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
696
- lineNumber: 464,
698
+ lineNumber: 474,
697
699
  columnNumber: 13
698
700
  }, void 0)
699
701
  ] }, void 0, !0, {
700
702
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
701
- lineNumber: 336,
703
+ lineNumber: 346,
702
704
  columnNumber: 11
703
705
  }, void 0)
704
706
  ] }, void 0, !0, {
705
707
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
706
- lineNumber: 331,
708
+ lineNumber: 341,
707
709
  columnNumber: 9
708
710
  }, void 0) }, void 0, !1, {
709
711
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
710
- lineNumber: 330,
712
+ lineNumber: 340,
711
713
  columnNumber: 7
712
714
  }, void 0),
713
- /* @__PURE__ */ e("div", { className: "min-w-0 w-full", ...p ? void 0 : k, children: p || (s.description_json ? /* @__PURE__ */ e("div", { className: "container mx-auto px-4 md:px-6 pb-12 prose prose-neutral dark:prose-invert max-w-none leading-relaxed", children: /* @__PURE__ */ e(ue, { content: s.description_json }, void 0, !1, {
715
+ /* @__PURE__ */ e("div", { className: "min-w-0 w-full", ...p ? void 0 : G, children: p || (s.description_json ? /* @__PURE__ */ e("div", { className: "container mx-auto px-4 md:px-6 pb-12 prose prose-neutral dark:prose-invert max-w-none leading-relaxed", children: /* @__PURE__ */ e(be, { content: s.description_json }, void 0, !1, {
714
716
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
715
- lineNumber: 654,
717
+ lineNumber: 666,
716
718
  columnNumber: 13
717
719
  }, void 0) }, void 0, !1, {
718
720
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
719
- lineNumber: 653,
721
+ lineNumber: 665,
720
722
  columnNumber: 11
721
- }, void 0) : /* @__PURE__ */ e("div", { className: "container mx-auto px-4 md:px-6 pb-12", children: /* @__PURE__ */ e("p", { className: "italic text-sm text-muted-foreground", children: n("ecommerce.no_description") }, void 0, !1, {
723
+ }, void 0) : /* @__PURE__ */ e("div", { className: "container mx-auto px-4 md:px-6 pb-12", children: /* @__PURE__ */ e("p", { className: "italic text-sm text-muted-foreground", children: c("ecommerce.no_description") }, void 0, !1, {
722
724
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
723
- lineNumber: 658,
725
+ lineNumber: 670,
724
726
  columnNumber: 13
725
727
  }, void 0) }, void 0, !1, {
726
728
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
727
- lineNumber: 657,
729
+ lineNumber: 669,
728
730
  columnNumber: 11
729
731
  }, void 0)) }, void 0, !1, {
730
732
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
731
- lineNumber: 649,
733
+ lineNumber: 661,
732
734
  columnNumber: 7
733
735
  }, void 0),
734
- g && /* @__PURE__ */ e("div", { id: "reviews-section", className: "border-t border-border mt-12 pt-12", children: g }, void 0, !1, {
736
+ y && /* @__PURE__ */ e("div", { id: "reviews-section", className: "border-t border-border mt-12 pt-12", children: y }, void 0, !1, {
735
737
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
736
- lineNumber: 667,
738
+ lineNumber: 679,
737
739
  columnNumber: 9
738
740
  }, void 0)
739
741
  ] }, void 0, !0, {
740
742
  fileName: "C:/Users/desjardinsn/Desktop/NRH-NextBlock/libs/ecommerce/src/lib/components/ProductDetailsLayout.tsx",
741
- lineNumber: 329,
743
+ lineNumber: 339,
742
744
  columnNumber: 5
743
745
  }, void 0);
744
746
  };
745
747
  export {
746
- Ie as ProductDetailsLayout
748
+ Ve as ProductDetailsLayout
747
749
  };