s-platform-landing-section 0.1.32 → 0.1.34

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.js CHANGED
@@ -21,8 +21,8 @@ require('slick-carousel/slick/slick.css');
21
21
  require('slick-carousel/slick/slick-theme.css');
22
22
  var ai = require('react-icons/ai');
23
23
  var go = require('react-icons/go');
24
- var hi = require('react-icons/hi');
25
24
  var ri = require('react-icons/ri');
25
+ var hi = require('react-icons/hi');
26
26
  var gi = require('react-icons/gi');
27
27
 
28
28
  var Button = function Button(props) {
@@ -428,18 +428,17 @@ var NavBar7 = function NavBar7(props) {
428
428
  position: "fixed",
429
429
  top: "-100px"
430
430
  }
431
- }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.defaultDomain, " | ", shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName), /*#__PURE__*/React__default.createElement("div", {
431
+ }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName), /*#__PURE__*/React__default.createElement("div", {
432
432
  className: "hidden lg:flex gap-6 justify-between items-center py-2 px-4 xl:px-20"
433
433
  }, /*#__PURE__*/React__default.createElement(LinkToPage, {
434
434
  Link: Link,
435
435
  href: "/",
436
436
  className: "flex items-center gap-2"
437
437
  }, /*#__PURE__*/React__default.createElement("img", {
438
- className: "object-cover w-12 h-12",
439
- src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
440
- alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
438
+ className: "object-cover w-12 max-h-12",
439
+ src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl
441
440
  }), /*#__PURE__*/React__default.createElement("h3", {
442
- className: "text-xl md:text-2xl text-primary text-wrap line-clamp-2 leading-tight"
441
+ className: "text-xl md:text-2xl text-primary font-headingFont text-wrap line-clamp-2 leading-tight"
443
442
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
444
443
  className: "hidden lg:flex flex-1 items-center gap-4"
445
444
  }, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB === void 0 ? void 0 : (_shopConfigStyle$navB2 = _shopConfigStyle$navB.filter(function (e) {
@@ -499,11 +498,10 @@ var NavBar7 = function NavBar7(props) {
499
498
  href: "/",
500
499
  className: "flex flex-1 gap-2 items-center"
501
500
  }, /*#__PURE__*/React__default.createElement("img", {
502
- className: "object-cover w-12 h-12",
503
- src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
504
- alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
501
+ className: "object-cover w-12 max-h-12",
502
+ src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl
505
503
  }), /*#__PURE__*/React__default.createElement("h3", {
506
- className: "text-xl md:text-2xl text-wrap text-primary line-clamp-2"
504
+ className: "text-xl md:text-2xl font-headingFont text-wrap text-primary line-clamp-2"
507
505
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), cart(), /*#__PURE__*/React__default.createElement("button", {
508
506
  type: "button",
509
507
  onClick: function onClick() {
@@ -531,12 +529,12 @@ var NavBar7 = function NavBar7(props) {
531
529
  return setIsOpen(false);
532
530
  }
533
531
  }, /*#__PURE__*/React__default.createElement("div", {
534
- className: "flex gap-2 items-center"
532
+ className: "flex gap-2 items-center mb-2"
535
533
  }, /*#__PURE__*/React__default.createElement("img", {
536
534
  src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
537
- className: "h-14 w-14 bg-cover bg-no-repeat"
535
+ className: "max-h-14 w-14 object-cover"
538
536
  }), /*#__PURE__*/React__default.createElement("h3", {
539
- className: "text-xl font-semibold line-clamp-1"
537
+ className: "text-xl font-headingFont text-primary line-clamp-1"
540
538
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName))), /*#__PURE__*/React__default.createElement("button", {
541
539
  className: "text-gray4",
542
540
  onClick: function onClick() {
@@ -730,11 +728,11 @@ var NavBar1 = function NavBar1(props) {
730
728
  href: "/",
731
729
  className: "flex items-center gap-2"
732
730
  }, /*#__PURE__*/React__default.createElement("img", {
733
- className: "object-cover w-12 h-12",
731
+ className: "object-cover w-12 max-h-12",
734
732
  src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
735
733
  alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
736
734
  }), /*#__PURE__*/React__default.createElement("h3", {
737
- className: "text-xl md:text-2xl text-wrap font-fredoka text-primary"
735
+ className: "text-xl md:text-2xl text-wrap font-headingFont text-primary"
738
736
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
739
737
  className: "hidden lg:flex flex-1 items-center gap-4"
740
738
  }, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB === void 0 ? void 0 : (_shopConfigStyle$navB2 = _shopConfigStyle$navB.filter(function (e) {
@@ -792,11 +790,11 @@ var NavBar1 = function NavBar1(props) {
792
790
  href: "/",
793
791
  className: "flex flex-1 gap-2 items-center"
794
792
  }, /*#__PURE__*/React__default.createElement("img", {
795
- className: "object-cover w-12 h-12",
793
+ className: "object-cover w-12 max-h-12",
796
794
  src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
797
795
  alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
798
796
  }), /*#__PURE__*/React__default.createElement("h3", {
799
- className: "text-xl md:text-2xl text-wrap text-primary"
797
+ className: "text-xl md:text-2xl text-wrap text-primary font-headingFont"
800
798
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), cart(), /*#__PURE__*/React__default.createElement("button", {
801
799
  type: "button",
802
800
  onClick: function onClick() {
@@ -824,12 +822,12 @@ var NavBar1 = function NavBar1(props) {
824
822
  return setIsOpen(false);
825
823
  }
826
824
  }, /*#__PURE__*/React__default.createElement("div", {
827
- className: "flex gap-2 items-center"
825
+ className: "flex gap-2 items-center mb-2"
828
826
  }, /*#__PURE__*/React__default.createElement("img", {
829
827
  src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
830
- className: "h-14 w-14 bg-cover bg-no-repeat"
828
+ className: "max-h-14 w-14 bg-cover bg-no-repeat"
831
829
  }), /*#__PURE__*/React__default.createElement("div", {
832
- className: "text-xl line-clamp-1"
830
+ className: "text-xl font-headingFont text-primary line-clamp-1"
833
831
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName))), /*#__PURE__*/React__default.createElement("button", {
834
832
  className: "text-gray4",
835
833
  onClick: function onClick() {
@@ -965,6 +963,24 @@ var SectionTitle3 = function SectionTitle3(props) {
965
963
  }, data === null || data === void 0 ? void 0 : data.sectionDescription) : null);
966
964
  };
967
965
 
966
+ var SectionTitle4 = function SectionTitle4(props) {
967
+ var _data$sectionTitle;
968
+ var data = props.data;
969
+ return /*#__PURE__*/React__default.createElement("div", {
970
+ className: true
971
+ }, data !== null && data !== void 0 && data.sectionTitle ? /*#__PURE__*/React__default.createElement("div", {
972
+ className: "flex justify-center items-center gap-6"
973
+ }, /*#__PURE__*/React__default.createElement("div", {
974
+ className: "border w-32 border-primary"
975
+ }), /*#__PURE__*/React__default.createElement("h2", {
976
+ className: "font-headingFont !leading-relaxed text-primary text-center text-2xl md:text-4xl"
977
+ }, data === null || data === void 0 ? void 0 : (_data$sectionTitle = data.sectionTitle) === null || _data$sectionTitle === void 0 ? void 0 : _data$sectionTitle.toUpperCase()), /*#__PURE__*/React__default.createElement("div", {
978
+ className: "border w-32 border-primary"
979
+ })) : null, data !== null && data !== void 0 && data.sectionDescription ? /*#__PURE__*/React__default.createElement("p", {
980
+ className: "text-xl text-center font-medium leading-relaxed text-secondary mt-2"
981
+ }, data === null || data === void 0 ? void 0 : data.sectionDescription) : null);
982
+ };
983
+
968
984
  var Input = React.forwardRef(function (props, ref) {
969
985
  var _props$label = props.label,
970
986
  label = _props$label === void 0 ? "" : _props$label,
@@ -1273,7 +1289,7 @@ var Hero6 = function Hero6(props) {
1273
1289
  };
1274
1290
 
1275
1291
  var Hero10 = function Hero10(props) {
1276
- var _data$data, _data$data$, _data$data$$srcImages, _sectionData$, _sectionData$2, _sectionData$2$button;
1292
+ var _data$data, _data$data$, _data$data$$srcImages, _sectionData$, _sectionData$2, _sectionData$3, _sectionData$4, _sectionData$4$button;
1277
1293
  var shopConfigStyle = props.shopConfigStyle,
1278
1294
  data = props.data,
1279
1295
  _props$Link = props.Link,
@@ -1290,7 +1306,9 @@ var Hero10 = function Hero10(props) {
1290
1306
  className: "relative w-full min-h-[540px] p-12 z-10 flex flex-col gap-6 items-center justify-center"
1291
1307
  }, /*#__PURE__*/React__default.createElement("div", {
1292
1308
  className: "text-3xl md:text-5xl text-white leading-[1.6] md:leading-[1.6] text-center font-headingFont"
1293
- }, sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$ = sectionData[0]) === null || _sectionData$ === void 0 ? void 0 : _sectionData$.title), sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$2 = sectionData[0]) === null || _sectionData$2 === void 0 ? void 0 : (_sectionData$2$button = _sectionData$2.buttons) === null || _sectionData$2$button === void 0 ? void 0 : _sectionData$2$button.map(function (button, index) {
1309
+ }, sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$ = sectionData[0]) === null || _sectionData$ === void 0 ? void 0 : _sectionData$.title), sectionData !== null && sectionData !== void 0 && (_sectionData$2 = sectionData[0]) !== null && _sectionData$2 !== void 0 && _sectionData$2.description ? /*#__PURE__*/React__default.createElement("div", {
1310
+ className: "text-lg text-center text-white md:text-2xl"
1311
+ }, sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$3 = sectionData[0]) === null || _sectionData$3 === void 0 ? void 0 : _sectionData$3.description) : null, sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$4 = sectionData[0]) === null || _sectionData$4 === void 0 ? void 0 : (_sectionData$4$button = _sectionData$4.buttons) === null || _sectionData$4$button === void 0 ? void 0 : _sectionData$4$button.map(function (button, index) {
1294
1312
  return /*#__PURE__*/React__default.createElement(LinkToPage, {
1295
1313
  Link: Link,
1296
1314
  key: "gdf-" + index,
@@ -1302,7 +1320,51 @@ var Hero10 = function Hero10(props) {
1302
1320
  })));
1303
1321
  };
1304
1322
 
1323
+ var SECTION_DEFAULT_CLASS = "my-12 mx-4 xl:mx-20 bg-background";
1324
+ var SECTION_CLASS = "my-6 md:my-12 px-4 xl:px-20 bg-background";
1325
+
1305
1326
  var Hero11 = function Hero11(props) {
1327
+ var _data$data, _data$data$, _data$data$$srcImages, _data$data2, _data$data2$, _data$data2$$title, _data$data3, _data$data3$;
1328
+ var _props$data = props.data,
1329
+ data = _props$data === void 0 ? {} : _props$data,
1330
+ _props$shopConfigStyl = props.shopConfigStyle,
1331
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl;
1332
+ return /*#__PURE__*/React__default.createElement("div", {
1333
+ className: SECTION_CLASS + " grid grid-cols-1 md:grid-cols-2 py-12 !bg-bgSecondary gap-6 md:gap-12"
1334
+ }, /*#__PURE__*/React__default.createElement("div", {
1335
+ className: "flex w-full"
1336
+ }, /*#__PURE__*/React__default.createElement("div", {
1337
+ className: "w-4"
1338
+ }, /*#__PURE__*/React__default.createElement("div", {
1339
+ className: "bg-primary w-4 h-1/2 mt-6 "
1340
+ }), /*#__PURE__*/React__default.createElement("div", {
1341
+ className: "h-[45%]"
1342
+ })), /*#__PURE__*/React__default.createElement("div", {
1343
+ className: "w-full"
1344
+ }, /*#__PURE__*/React__default.createElement("img", {
1345
+ src: data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : (_data$data$ = _data$data[0]) === null || _data$data$ === void 0 ? void 0 : (_data$data$$srcImages = _data$data$.srcImages) === null || _data$data$$srcImages === void 0 ? void 0 : _data$data$$srcImages[0],
1346
+ className: "object-cover max-w-full h-auto"
1347
+ })), /*#__PURE__*/React__default.createElement("div", {
1348
+ className: "w-4"
1349
+ }, /*#__PURE__*/React__default.createElement("div", {
1350
+ className: "h-[45%]"
1351
+ }), /*#__PURE__*/React__default.createElement("div", {
1352
+ className: "bg-primary w-4 h-1/2 mb-6"
1353
+ }))), /*#__PURE__*/React__default.createElement("div", {
1354
+ className: "relative flex flex-col justify-center gap-6 lg:gap-10"
1355
+ }, /*#__PURE__*/React__default.createElement("div", {
1356
+ className: "text-2xl md:text-4xl !leading-[1.6] font-headingFont w-max text-center text-primary"
1357
+ }, data === null || data === void 0 ? void 0 : (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : (_data$data2$ = _data$data2[0]) === null || _data$data2$ === void 0 ? void 0 : (_data$data2$$title = _data$data2$.title) === null || _data$data2$$title === void 0 ? void 0 : _data$data2$$title.toUpperCase()), /*#__PURE__*/React__default.createElement("div", {
1358
+ className: "text-lg md:text-xl lg:text-2xl"
1359
+ }, data === null || data === void 0 ? void 0 : (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : (_data$data3$ = _data$data3[0]) === null || _data$data3$ === void 0 ? void 0 : _data$data3$.description), /*#__PURE__*/React__default.createElement(Button, {
1360
+ label: "\u0110\u1EB7t b\xE0n ngay",
1361
+ shopConfigStyle: shopConfigStyle,
1362
+ className: "!font-normal w-max",
1363
+ sho: true
1364
+ })));
1365
+ };
1366
+
1367
+ var Hero12 = function Hero12(props) {
1306
1368
  var _data$data, _data$data$, _data$data$$srcImages, _data$data2, _data$data2$, _data$data3, _data$data3$;
1307
1369
  var _props$data = props.data,
1308
1370
  data = _props$data === void 0 ? {} : _props$data;
@@ -1397,7 +1459,7 @@ var CarouselItem = function CarouselItem(props) {
1397
1459
  }, /*#__PURE__*/React__default.createElement("div", {
1398
1460
  className: "w-full overflow-hidden "
1399
1461
  }, /*#__PURE__*/React__default.createElement("div", {
1400
- className: "flex overflow-x-auto gap-2 no-scrollbar items-center",
1462
+ className: "flex overflow-x-auto gap-2 " + (isNavigateButton ? "no-scrollbar" : "scroll-custom pb-2") + " items-center",
1401
1463
  ref: listRef
1402
1464
  }, isAll ? /*#__PURE__*/React__default.createElement("div", {
1403
1465
  className: " " + ((Object === null || Object === void 0 ? void 0 : (_Object$keys = Object.keys(value)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) <= 0 ? "bg-primary text-textButton" : "bg-background") + " w-max border border-primary p-1 md:p-2 rounded-lg cursor-pointer whitespace-nowrap",
@@ -7502,7 +7564,7 @@ var lib = {
7502
7564
  };
7503
7565
 
7504
7566
  var getBaseUrl = function getBaseUrl() {
7505
- return process.env.NEXT_PUBLIC_BASE_URL || "https://proapi.sspa.com.vn";
7567
+ return process.env.NEXT_PUBLIC_BASE_URL || "https://test-apigateway.sfin.vn";
7506
7568
  };
7507
7569
  var request = axios.create();
7508
7570
  request.interceptors.request.use(function (config) {
@@ -7553,7 +7615,7 @@ var getYoutubeVideoIdByUrl = function getYoutubeVideoIdByUrl(url) {
7553
7615
  var linkPagePolicy = "https://sites.google.com/view/sodofin-landing-page-policy";
7554
7616
  var endpointLandingShop = "/landing-shop/v2";
7555
7617
  var endpointLanding = "/landing/v2";
7556
- var baseURL = process.env.NEXT_PUBLIC_BASE_URL || "https://proapi.sspa.com.vn";
7618
+ var baseURL = process.env.NEXT_PUBLIC_BASE_URL || "https://test-apigateway.sfin.vn";
7557
7619
 
7558
7620
  var getShopCategoriesApi = function getShopCategoriesApi(shopId, types) {
7559
7621
  return api({
@@ -7648,9 +7710,6 @@ var Hero13 = function Hero13(props) {
7648
7710
  }));
7649
7711
  };
7650
7712
 
7651
- var SECTION_DEFAULT_CLASS = "my-12 mx-4 xl:mx-20 bg-background";
7652
- var SECTION_CLASS = "my-6 md:my-12 px-4 xl:px-20 bg-background";
7653
-
7654
7713
  var Features2 = function Features2(props) {
7655
7714
  var data = props.data;
7656
7715
  var sectionData = data === null || data === void 0 ? void 0 : data.data;
@@ -8064,7 +8123,11 @@ var ProductPrice = function ProductPrice(props) {
8064
8123
  _props$className = props.className,
8065
8124
  className = _props$className === void 0 ? "" : _props$className,
8066
8125
  _props$style = props.style,
8067
- style = _props$style === void 0 ? {} : _props$style;
8126
+ style = _props$style === void 0 ? {} : _props$style,
8127
+ _props$priceClassName = props.priceClassName,
8128
+ priceClassName = _props$priceClassName === void 0 ? "" : _props$priceClassName,
8129
+ _props$priceBeforeDis = props.priceBeforeDiscountClassName,
8130
+ priceBeforeDiscountClassName = _props$priceBeforeDis === void 0 ? "" : _props$priceBeforeDis;
8068
8131
  var _useState = React.useState(),
8069
8132
  displayPrice = _useState[0],
8070
8133
  setDisplayPrice = _useState[1];
@@ -8099,12 +8162,12 @@ var ProductPrice = function ProductPrice(props) {
8099
8162
  };
8100
8163
  return /*#__PURE__*/React__default.createElement("div", {
8101
8164
  className: className
8102
- }, displayPriceBeforeDiscount !== displayPrice && displayPriceBeforeDiscount != null ? /*#__PURE__*/React__default.createElement("span", {
8103
- className: "text-gray3 line-through mr-2"
8104
- }, displayPriceBeforeDiscount) : null, /*#__PURE__*/React__default.createElement("span", {
8105
- className: "text-primary font-semibold",
8165
+ }, /*#__PURE__*/React__default.createElement("span", {
8166
+ className: "text-primary font-semibold mr-4 " + priceClassName,
8106
8167
  style: style
8107
- }, displayPrice));
8168
+ }, displayPrice), displayPriceBeforeDiscount !== displayPrice && displayPriceBeforeDiscount != null ? /*#__PURE__*/React__default.createElement("span", {
8169
+ className: "text-gray3 line-through " + priceBeforeDiscountClassName + " "
8170
+ }, "200,000\u0111") : null);
8108
8171
  };
8109
8172
 
8110
8173
  var ProductItem1 = function ProductItem1(props) {
@@ -10095,6 +10158,39 @@ var ProductItem7 = function ProductItem7(props) {
10095
10158
  }, 1 - 100 * (product === null || product === void 0 ? void 0 : product.price) / (product === null || product === void 0 ? void 0 : product.priceBeforeDiscount)) : null));
10096
10159
  };
10097
10160
 
10161
+ var ProductItem8 = function ProductItem8(props) {
10162
+ var product = props.product,
10163
+ _props$Link = props.Link,
10164
+ Link = _props$Link === void 0 ? null : _props$Link,
10165
+ _props$className = props.className,
10166
+ className = _props$className === void 0 ? "" : _props$className,
10167
+ _props$shopConfigStyl = props.shopConfigStyle,
10168
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl;
10169
+ return /*#__PURE__*/React__default.createElement(LinkToPage, {
10170
+ Link: Link,
10171
+ href: getLinkProductDetail(product)
10172
+ }, /*#__PURE__*/React__default.createElement("div", {
10173
+ className: "text-center rounded relative group " + className
10174
+ }, /*#__PURE__*/React__default.createElement("div", {
10175
+ className: "relative "
10176
+ }, /*#__PURE__*/React__default.createElement(ProductImage, {
10177
+ product: product,
10178
+ className: "min-h-[360px] md:min-h-[400px] xl:min-h-[440px] !object-cover !rounded"
10179
+ }), /*#__PURE__*/React__default.createElement("div", {
10180
+ className: "absolute bottom-0 rounded-b pb-6 px-4 bg-gradient-to-t from-black/50 to-transparent flex flex-col items-center h-1/2 gap-2 w-full justify-end "
10181
+ }, /*#__PURE__*/React__default.createElement("div", {
10182
+ className: "text-lg text-textButton"
10183
+ }, product === null || product === void 0 ? void 0 : product.productName), /*#__PURE__*/React__default.createElement(ProductPrice, {
10184
+ product: product,
10185
+ priceClassName: "text-textButton !font-normal",
10186
+ priceBeforeDiscountClassName: "text-textButton !font-normal"
10187
+ }), /*#__PURE__*/React__default.createElement(Button, {
10188
+ label: "Th\xEAm v\xE0o gi\u1ECF",
10189
+ shopConfigStyle: shopConfigStyle,
10190
+ className: "hidden group-hover:block transition-all duration-300 !font-normal"
10191
+ })))));
10192
+ };
10193
+
10098
10194
  var TreatmentItem1 = function TreatmentItem1(props) {
10099
10195
  var product = props.product,
10100
10196
  _props$Link = props.Link,
@@ -10154,7 +10250,7 @@ var ProductList7 = function ProductList7(props) {
10154
10250
  }, /*#__PURE__*/React__default.createElement(SectionTitle, {
10155
10251
  data: data,
10156
10252
  shopConfigStyle: shopConfigStyle
10157
- }), /*#__PURE__*/React__default.createElement("div", {
10253
+ }), (products === null || products === void 0 ? void 0 : products.length) > 0 ? /*#__PURE__*/React__default.createElement("div", {
10158
10254
  className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-10 mt-12"
10159
10255
  }, products === null || products === void 0 ? void 0 : (_products$slice = products.slice(0, 4)) === null || _products$slice === void 0 ? void 0 : _products$slice.map(function (product, index) {
10160
10256
  return /*#__PURE__*/React__default.createElement(ProductItem, {
@@ -10163,14 +10259,14 @@ var ProductList7 = function ProductList7(props) {
10163
10259
  key: index,
10164
10260
  product: product === null || product === void 0 ? void 0 : product.productInfo
10165
10261
  });
10166
- })), (products === null || products === void 0 ? void 0 : products.length) > 4 ? /*#__PURE__*/React__default.createElement(LinkToPage, {
10262
+ })) : /*#__PURE__*/React__default.createElement(NotFoundProduct, null), (products === null || products === void 0 ? void 0 : products.length) > 4 ? /*#__PURE__*/React__default.createElement(LinkToPage, {
10167
10263
  href: "/san-pham",
10168
10264
  Link: Link
10169
10265
  }, /*#__PURE__*/React__default.createElement(Button, {
10170
10266
  label: "Xem tất cả",
10171
10267
  shopConfigStyle: shopConfigStyle,
10172
10268
  className: "mt-12"
10173
- })) : /*#__PURE__*/React__default.createElement(NotFoundProduct, null)), /*#__PURE__*/React__default.createElement(Dash, {
10269
+ })) : null), /*#__PURE__*/React__default.createElement(Dash, {
10174
10270
  color: secondary
10175
10271
  }));
10176
10272
  };
@@ -10433,7 +10529,7 @@ var Products3 = function Products3(props) {
10433
10529
  }, /*#__PURE__*/React__default.createElement("div", {
10434
10530
  className: "text-xl"
10435
10531
  }, "Danh m\u1EE5c s\u1EA3n ph\u1EA9m"), /*#__PURE__*/React__default.createElement("div", {
10436
- className: "overflow-y-auto max-h-96"
10532
+ className: "overflow-y-auto max-h-96 scroll-container pr-3"
10437
10533
  }, /*#__PURE__*/React__default.createElement("div", {
10438
10534
  className: "flex gap-2 py-4 border-b border-stroke cursor-pointer hover:text-primary " + (!(categorySelected !== null && categorySelected !== void 0 && categorySelected.categoryId) ? "text-primary" : "text-textSecondary"),
10439
10535
  onClick: function onClick() {
@@ -10770,6 +10866,80 @@ var Products11 = function Products11(props) {
10770
10866
  }) : null)));
10771
10867
  };
10772
10868
 
10869
+ var ProductItem9 = function ProductItem9(props) {
10870
+ var product = props.product;
10871
+ return /*#__PURE__*/React__default.createElement("div", {
10872
+ className: "flex border-b border-stroke items-center py-4"
10873
+ }, /*#__PURE__*/React__default.createElement(ProductImage, {
10874
+ product: product,
10875
+ className: "!w-24 rounded-lg"
10876
+ }), /*#__PURE__*/React__default.createElement("div", {
10877
+ className: "ml-4 flex-1"
10878
+ }, /*#__PURE__*/React__default.createElement("div", {
10879
+ className: "text-xl"
10880
+ }, product === null || product === void 0 ? void 0 : product.productName), /*#__PURE__*/React__default.createElement("div", {
10881
+ className: "mt-2"
10882
+ }, /*#__PURE__*/React__default.createElement(ProductPrice, {
10883
+ product: product,
10884
+ priceClassName: "!font-normal text-lg"
10885
+ }))));
10886
+ };
10887
+
10888
+ var Products12 = function Products12(props) {
10889
+ var _props$shopConfigStyl = props.shopConfigStyle,
10890
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
10891
+ _props$data = props.data,
10892
+ data = _props$data === void 0 ? {} : _props$data,
10893
+ _props$SectionTitle = props.SectionTitle,
10894
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle,
10895
+ _props$Link = props.Link,
10896
+ Link = _props$Link === void 0 ? null : _props$Link;
10897
+ var _useState = React.useState({
10898
+ types: "0"
10899
+ }),
10900
+ params = _useState[0],
10901
+ setParams = _useState[1];
10902
+ var _CategoryController = CategoryController(_extends({}, props, {
10903
+ types: "0"
10904
+ })),
10905
+ categories = _CategoryController.categories;
10906
+ var _ProductController = ProductController(_extends({}, props, {
10907
+ params: params
10908
+ })),
10909
+ _ProductController$pr = _ProductController.products,
10910
+ products = _ProductController$pr === void 0 ? [] : _ProductController$pr,
10911
+ loading = _ProductController.loading;
10912
+ var handleFilterByCategory = function handleFilterByCategory(category) {
10913
+ setParams(function (prev) {
10914
+ return _extends({}, prev, {
10915
+ categoryId: category === null || category === void 0 ? void 0 : category.categoryId
10916
+ });
10917
+ });
10918
+ };
10919
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
10920
+ className: SECTION_DEFAULT_CLASS + " flex flex-col gap-6"
10921
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
10922
+ data: data,
10923
+ shopConfigStyle: shopConfigStyle
10924
+ }), /*#__PURE__*/React__default.createElement(CarouselItem, {
10925
+ isNavigateButton: false,
10926
+ data: categories,
10927
+ onClick: handleFilterByCategory
10928
+ }), loading ? /*#__PURE__*/React__default.createElement("div", {
10929
+ className: "flex w-full justify-center p-12"
10930
+ }, /*#__PURE__*/React__default.createElement(Loading, null)) : products !== null && products !== void 0 && products.length ? /*#__PURE__*/React__default.createElement("div", {
10931
+ className: "grid grid-cols-1 md:grid-cols-2 gap-x-12"
10932
+ }, products === null || products === void 0 ? void 0 : products.map(function (product, index) {
10933
+ return /*#__PURE__*/React__default.createElement(LinkToPage, {
10934
+ key: index,
10935
+ Link: Link,
10936
+ href: getLinkProductDetail(product === null || product === void 0 ? void 0 : product.productInfo)
10937
+ }, /*#__PURE__*/React__default.createElement(ProductItem9, {
10938
+ product: product === null || product === void 0 ? void 0 : product.productInfo
10939
+ }));
10940
+ })) : /*#__PURE__*/React__default.createElement(NotFoundProduct, null)));
10941
+ };
10942
+
10773
10943
  var ProductCategory2 = function ProductCategory2(props) {
10774
10944
  var _products$slice;
10775
10945
  var _props$Link = props.Link,
@@ -11023,7 +11193,7 @@ var ProductHot1 = function ProductHot1(props) {
11023
11193
  }));
11024
11194
  };
11025
11195
  return /*#__PURE__*/React__default.createElement("div", {
11026
- className: SECTION_CLASS + " flex flex-col gap-4 md:gap-8"
11196
+ className: SECTION_CLASS + " flex flex-col gap-6 md:gap-12"
11027
11197
  }, /*#__PURE__*/React__default.createElement(SectionTitle, {
11028
11198
  data: data,
11029
11199
  shopConfigStyle: shopConfigStyle
@@ -11814,57 +11984,354 @@ var BookingForm6 = function BookingForm6(props) {
11814
11984
  })));
11815
11985
  };
11816
11986
 
11817
- var Banner1 = function Banner1(props) {
11818
- var data = props.data,
11819
- shopConfigStyle = props.shopConfigStyle,
11820
- _props$SectionTitle = props.SectionTitle,
11821
- SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
11822
- var sectionData = data === null || data === void 0 ? void 0 : data.data;
11987
+ var TextArea = React.forwardRef(function (props, ref) {
11988
+ var _props$label = props.label,
11989
+ label = _props$label === void 0 ? "" : _props$label,
11990
+ _props$placeholder = props.placeholder,
11991
+ placeholder = _props$placeholder === void 0 ? "" : _props$placeholder,
11992
+ _props$rules = props.rules,
11993
+ rules = _props$rules === void 0 ? [] : _props$rules,
11994
+ _props$textareaClassN = props.textareaClassName,
11995
+ textareaClassName = _props$textareaClassN === void 0 ? "" : _props$textareaClassN,
11996
+ _props$className = props.className,
11997
+ className = _props$className === void 0 ? "" : _props$className,
11998
+ _props$defaultValue = props.defaultValue,
11999
+ defaultValue = _props$defaultValue === void 0 ? "" : _props$defaultValue,
12000
+ _props$labelClassName = props.labelClassName,
12001
+ labelClassName = _props$labelClassName === void 0 ? "" : _props$labelClassName,
12002
+ _props$onChange = props.onChange,
12003
+ onChange = _props$onChange === void 0 ? function () {} : _props$onChange;
12004
+ var _useState = React.useState(defaultValue),
12005
+ value = _useState[0],
12006
+ _setValue = _useState[1];
12007
+ var _useState2 = React.useState(""),
12008
+ error = _useState2[0],
12009
+ _setError = _useState2[1];
12010
+ React.useImperativeHandle(ref, function () {
12011
+ return {
12012
+ validateData: function validateData() {
12013
+ return _validateData();
12014
+ },
12015
+ setValue: function setValue(text) {
12016
+ return _setValue(text);
12017
+ },
12018
+ getValue: function getValue() {
12019
+ return value;
12020
+ },
12021
+ setError: function setError(err) {
12022
+ return _setError(err);
12023
+ }
12024
+ };
12025
+ });
12026
+ var _validateData = function _validateData() {
12027
+ var count = 0;
12028
+ for (var _iterator = _createForOfIteratorHelperLoose(rules), _step; !(_step = _iterator()).done;) {
12029
+ var _e$pattern;
12030
+ var e = _step.value;
12031
+ if ((e === null || e === void 0 ? void 0 : e.type) === 'required' && value === '') {
12032
+ _setError(e === null || e === void 0 ? void 0 : e.message);
12033
+ count++;
12034
+ break;
12035
+ } else if ((e === null || e === void 0 ? void 0 : e.type) === 'pattern' && !(e !== null && e !== void 0 && (_e$pattern = e.pattern) !== null && _e$pattern !== void 0 && _e$pattern.test(value))) {
12036
+ _setError(e === null || e === void 0 ? void 0 : e.message);
12037
+ count++;
12038
+ break;
12039
+ }
12040
+ }
12041
+ if (count) {
12042
+ return false;
12043
+ } else {
12044
+ _setError('');
12045
+ return true;
12046
+ }
12047
+ };
12048
+ var handleOnChangeValue = function handleOnChangeValue(e) {
12049
+ var value = e.target.value;
12050
+ _setValue(value);
12051
+ onChange === null || onChange === void 0 ? void 0 : onChange(value);
12052
+ };
12053
+ var required = !!(rules !== null && rules !== void 0 && rules.find(function (e) {
12054
+ return (e === null || e === void 0 ? void 0 : e.type) === "required";
12055
+ }));
12056
+ var labelRequired = required ? /*#__PURE__*/React__default.createElement("span", {
12057
+ className: "text-danger"
12058
+ }, " *") : null;
11823
12059
  return /*#__PURE__*/React__default.createElement("div", {
11824
- className: "" + SECTION_DEFAULT_CLASS
11825
- }, /*#__PURE__*/React__default.createElement(SectionTitle, {
11826
- data: data,
11827
- shopConfigStyle: shopConfigStyle
11828
- }), /*#__PURE__*/React__default.createElement("div", {
11829
- className: "grid grid-cols-1 sm:grid-cols-3 gap-4 lg:gap-6 mt-6"
11830
- }, sectionData && sectionData.length > 0 && sectionData.map(function (item, index) {
11831
- return /*#__PURE__*/React__default.createElement("img", {
11832
- src: item === null || item === void 0 ? void 0 : item.srcImage,
11833
- alt: "",
11834
- className: "rounded-2xl",
11835
- key: "hnfhn-" + index
11836
- });
11837
- })));
11838
- };
12060
+ className: "" + className
12061
+ }, label ? /*#__PURE__*/React__default.createElement("div", {
12062
+ className: "mb-1 " + labelClassName
12063
+ }, label, labelRequired) : null, /*#__PURE__*/React__default.createElement("textarea", {
12064
+ name: "",
12065
+ id: "",
12066
+ className: "focus:outline-none focus:ring-0 border rounded-xl min-h-24 " + textareaClassName,
12067
+ placeholder: placeholder,
12068
+ value: value,
12069
+ onChange: function onChange(e) {
12070
+ handleOnChangeValue(e);
12071
+ }
12072
+ }), error ? /*#__PURE__*/React__default.createElement("div", {
12073
+ className: "text-danger"
12074
+ }, error) : null);
12075
+ });
11839
12076
 
11840
- var Banner2 = function Banner2(props) {
11841
- var data = props.data,
11842
- shopConfigStyle = props.shopConfigStyle,
11843
- _props$SectionTitle = props.SectionTitle,
11844
- SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
11845
- var sectionData = data === null || data === void 0 ? void 0 : data.data;
11846
- var _useState = React.useState(0),
11847
- currentSlide = _useState[0],
11848
- setCurrentSlide = _useState[1];
11849
- function RenderArrow(props) {
11850
- var className = props.className,
11851
- style = props.style,
11852
- onClick = props.onClick;
11853
- return /*#__PURE__*/React__default.createElement("div", {
11854
- className: className,
11855
- style: _extends({}, style, {
11856
- display: "none"
11857
- }),
11858
- onClick: onClick
11859
- });
11860
- }
11861
- return /*#__PURE__*/React__default.createElement("div", {
12077
+ var BookingFoodForm = function BookingFoodForm(props) {
12078
+ var _props$shopConfig = props.shopConfig,
12079
+ shopConfig = _props$shopConfig === void 0 ? {} : _props$shopConfig,
12080
+ _props$shopConfigStyl = props.shopConfigStyle,
12081
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
12082
+ _props$onCloseFormBoo = props.onCloseFormBooking,
12083
+ onCloseFormBooking = _props$onCloseFormBoo === void 0 ? function () {} : _props$onCloseFormBoo,
12084
+ _props$defaultValue = props.defaultValue,
12085
+ defaultValue = _props$defaultValue === void 0 ? [] : _props$defaultValue,
12086
+ _props$className = props.className,
12087
+ className = _props$className === void 0 ? "" : _props$className,
12088
+ _props$isModalBooking = props.isModalBooking,
12089
+ isModalBooking = _props$isModalBooking === void 0 ? false : _props$isModalBooking;
12090
+ var _useState = React.useState(defaultValue),
12091
+ listProductSelected = _useState[0],
12092
+ setListProductSelected = _useState[1];
12093
+ var inputNameRef = React.useRef(null);
12094
+ var inputDateRef = React.useRef(null);
12095
+ var inputPhoneNumberRef = React.useRef(null);
12096
+ var inputQuantityRef = React.useRef(null);
12097
+ var _useState2 = React.useState(false),
12098
+ isOpenPopup = _useState2[0],
12099
+ setIsOpenPopup = _useState2[1];
12100
+ var _useState3 = React.useState(false),
12101
+ isHiddenForm = _useState3[0],
12102
+ setIsHiddenForm = _useState3[1];
12103
+ var _BookingController = BookingController(props),
12104
+ _BookingController$cr = _BookingController.createSchedule,
12105
+ createSchedule = _BookingController$cr === void 0 ? function () {} : _BookingController$cr;
12106
+ var checkDateBooking = function checkDateBooking() {
12107
+ var _inputDateRef$current;
12108
+ var scheduleDate = inputDateRef === null || inputDateRef === void 0 ? void 0 : (_inputDateRef$current = inputDateRef.current) === null || _inputDateRef$current === void 0 ? void 0 : _inputDateRef$current.getValue();
12109
+ return scheduleDate && scheduleDate >= Date.now();
12110
+ };
12111
+ var handleSubmit = function handleSubmit() {
12112
+ try {
12113
+ var _inputNameRef$current, _inputPhoneNumberRef$, _inputDateRef$current2, _inputQuantityRef$cur;
12114
+ var validateName = inputNameRef === null || inputNameRef === void 0 ? void 0 : (_inputNameRef$current = inputNameRef.current) === null || _inputNameRef$current === void 0 ? void 0 : _inputNameRef$current.validateData();
12115
+ var validatePhoneNumber = inputPhoneNumberRef === null || inputPhoneNumberRef === void 0 ? void 0 : (_inputPhoneNumberRef$ = inputPhoneNumberRef.current) === null || _inputPhoneNumberRef$ === void 0 ? void 0 : _inputPhoneNumberRef$.validateData();
12116
+ var validateDate = inputDateRef === null || inputDateRef === void 0 ? void 0 : (_inputDateRef$current2 = inputDateRef.current) === null || _inputDateRef$current2 === void 0 ? void 0 : _inputDateRef$current2.validateData();
12117
+ var validateQuantity = inputQuantityRef === null || inputQuantityRef === void 0 ? void 0 : (_inputQuantityRef$cur = inputQuantityRef.current) === null || _inputQuantityRef$cur === void 0 ? void 0 : _inputQuantityRef$cur.validateData();
12118
+ var _temp = function () {
12119
+ if (validateName && validatePhoneNumber && validateDate && validateQuantity) {
12120
+ var _inputPhoneNumberRef$2, _inputNameRef$current2, _inputDateRef$current3;
12121
+ var customerPhone = inputPhoneNumberRef === null || inputPhoneNumberRef === void 0 ? void 0 : (_inputPhoneNumberRef$2 = inputPhoneNumberRef.current) === null || _inputPhoneNumberRef$2 === void 0 ? void 0 : _inputPhoneNumberRef$2.getValue();
12122
+ var customerName = inputNameRef === null || inputNameRef === void 0 ? void 0 : (_inputNameRef$current2 = inputNameRef.current) === null || _inputNameRef$current2 === void 0 ? void 0 : _inputNameRef$current2.getValue();
12123
+ var scheduleDate = inputDateRef === null || inputDateRef === void 0 ? void 0 : (_inputDateRef$current3 = inputDateRef.current) === null || _inputDateRef$current3 === void 0 ? void 0 : _inputDateRef$current3.getValue();
12124
+ var services = listProductSelected === null || listProductSelected === void 0 ? void 0 : listProductSelected.map(function (item) {
12125
+ var _item$technical;
12126
+ return {
12127
+ productId: item === null || item === void 0 ? void 0 : item.value,
12128
+ technicalStaffIds: [item === null || item === void 0 ? void 0 : (_item$technical = item.technical) === null || _item$technical === void 0 ? void 0 : _item$technical.sysUserId],
12129
+ quantity: item === null || item === void 0 ? void 0 : item.quantity,
12130
+ oldService: item === null || item === void 0 ? void 0 : item.oldService
12131
+ };
12132
+ });
12133
+ var shopId = shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopId;
12134
+ console.log("check payload:::", services);
12135
+ return Promise.resolve(createSchedule(customerName, customerPhone, scheduleDate, services, shopId)).then(function (response) {
12136
+ var _response$data, _response$data$status;
12137
+ if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$status = _response$data.status) === null || _response$data$status === void 0 ? void 0 : _response$data$status.code) === '200') {
12138
+ var _inputPhoneNumberRef$3, _inputNameRef$current3, _inputDateRef$current4;
12139
+ if (isModalBooking) {
12140
+ setIsHiddenForm(true);
12141
+ }
12142
+ setIsOpenPopup(true);
12143
+ inputPhoneNumberRef === null || inputPhoneNumberRef === void 0 ? void 0 : (_inputPhoneNumberRef$3 = inputPhoneNumberRef.current) === null || _inputPhoneNumberRef$3 === void 0 ? void 0 : _inputPhoneNumberRef$3.setValue("");
12144
+ inputNameRef === null || inputNameRef === void 0 ? void 0 : (_inputNameRef$current3 = inputNameRef.current) === null || _inputNameRef$current3 === void 0 ? void 0 : _inputNameRef$current3.setValue("");
12145
+ inputDateRef === null || inputDateRef === void 0 ? void 0 : (_inputDateRef$current4 = inputDateRef.current) === null || _inputDateRef$current4 === void 0 ? void 0 : _inputDateRef$current4.setValue(new Date());
12146
+ setListProductSelected([]);
12147
+ }
12148
+ });
12149
+ }
12150
+ }();
12151
+ return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
12152
+ } catch (e) {
12153
+ return Promise.reject(e);
12154
+ }
12155
+ };
12156
+ var handleClosePopup = function handleClosePopup() {
12157
+ setIsOpenPopup(false);
12158
+ setIsHiddenForm(false);
12159
+ };
12160
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, !isHiddenForm ? /*#__PURE__*/React__default.createElement("div", {
12161
+ className: "flex flex-col gap-4 rounded-2xl p-6 border bg-white " + className
12162
+ }, /*#__PURE__*/React__default.createElement("div", {
12163
+ className: "grid grid-cols-1 md:grid-cols-2 gap-4"
12164
+ }, /*#__PURE__*/React__default.createElement(Input, {
12165
+ ref: inputNameRef,
12166
+ label: "Họ và tên",
12167
+ placeholder: "Nhập họ tên",
12168
+ rules: [{
12169
+ type: "required",
12170
+ message: "Bắt buộc nhập họ tên"
12171
+ }],
12172
+ className: "w-full rounded-lg bg-white",
12173
+ inputClassName: "w-full focus:outline-none focus:ring-0"
12174
+ }), /*#__PURE__*/React__default.createElement(InputPhoneNumber, {
12175
+ ref: inputPhoneNumberRef,
12176
+ name: "customerPhone",
12177
+ label: "Số điện thoại",
12178
+ placeholder: "Nhập số điện thoại",
12179
+ rules: [{
12180
+ type: "required",
12181
+ message: "Bắt buộc nhập số điện thoại"
12182
+ }, {
12183
+ type: "pattern",
12184
+ pattern: pattern === null || pattern === void 0 ? void 0 : pattern.phoneNumberPattern,
12185
+ message: "Số điện thoại không hợp lệ!"
12186
+ }],
12187
+ className: "bg-bgSecondary"
12188
+ })), /*#__PURE__*/React__default.createElement("div", {
12189
+ className: "grid grid-cols-1 md:grid-cols-2 gap-4"
12190
+ }, /*#__PURE__*/React__default.createElement(Input, {
12191
+ ref: inputQuantityRef,
12192
+ label: "Số người",
12193
+ placeholder: "Nhập số người",
12194
+ rules: [{
12195
+ type: "required",
12196
+ message: "Bắt buộc nhập số người"
12197
+ }],
12198
+ className: "w-full rounded-lg bg-white",
12199
+ inputClassName: "w-full focus:outline-none focus:ring-0"
12200
+ }), /*#__PURE__*/React__default.createElement(DateTimePicker, {
12201
+ ref: inputDateRef,
12202
+ label: "Thời gian",
12203
+ className: "w-full rounded-lg",
12204
+ placeholder: "Chọn thời gian",
12205
+ time: true,
12206
+ rules: [{
12207
+ type: "required",
12208
+ message: "Bắt buộc chọn ngày đặt"
12209
+ }, {
12210
+ type: "validate",
12211
+ message: "Thời gian không hợp lệ",
12212
+ validate: checkDateBooking
12213
+ }]
12214
+ })), /*#__PURE__*/React__default.createElement("div", {
12215
+ className: "grid grid-cols-1 gap-6"
12216
+ }, /*#__PURE__*/React__default.createElement(TextArea, {
12217
+ label: "Ghi ch\xFA",
12218
+ placeholder: "Nh\u1EADp ghi ch\xFA (n\u1EBFu c\xF3)",
12219
+ className: " w-full ",
12220
+ textareaClassName: "px-4 py-3 w-full min-h-32"
12221
+ })), /*#__PURE__*/React__default.createElement("div", {
12222
+ className: "text-center"
12223
+ }, /*#__PURE__*/React__default.createElement(Button, {
12224
+ label: "Đặt lịch ngay",
12225
+ shopConfigStyle: shopConfigStyle,
12226
+ onClick: handleSubmit
12227
+ }))) : null, isOpenPopup && /*#__PURE__*/React__default.createElement(ModalNotification, {
12228
+ onCloseFormBooking: onCloseFormBooking,
12229
+ onClose: handleClosePopup
12230
+ }, /*#__PURE__*/React__default.createElement("div", {
12231
+ className: "bg-white rounded-lg shadow-lg p-6 lg:px-16 lg:pb-10 max-w-sm flex gap-4 flex-col items-center justify-center"
12232
+ }, /*#__PURE__*/React__default.createElement("div", {
12233
+ className: "flex items-center justify-center"
12234
+ }, /*#__PURE__*/React__default.createElement(fa.FaCheckCircle, {
12235
+ className: "h-full text-green-500",
12236
+ style: {
12237
+ fontSize: "56px"
12238
+ }
12239
+ })), /*#__PURE__*/React__default.createElement("div", {
12240
+ className: "font-medium text-2xl"
12241
+ }, "\u0110\u1EB7t l\u1ECBch th\xE0nh c\xF4ng"), /*#__PURE__*/React__default.createElement("div", {
12242
+ className: "text-center"
12243
+ }, "Ch\xFAng t\xF4i \u0111\xE3 ghi nh\u1EADn th\xF4ng tin c\u1EE7a b\u1EA1n v\xE0 s\u1EBD li\xEAn h\u1EC7 l\u1EA1i ngay"))));
12244
+ };
12245
+
12246
+ var BookingTable1 = function BookingTable1(props) {
12247
+ var _data$data, _data$data$, _data$data2, _data$data2$, _data$data3, _data$data3$, _data$data4, _data$data4$, _data$data5, _data$data5$, _data$data6, _data$data6$;
12248
+ var _props$shopConfigStyl = props.shopConfigStyle,
12249
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
12250
+ _props$shopConfig = props.shopConfig,
12251
+ shopConfig = _props$shopConfig === void 0 ? {} : _props$shopConfig,
12252
+ _props$data = props.data,
12253
+ data = _props$data === void 0 ? {} : _props$data,
12254
+ _props$SectionTitle = props.SectionTitle,
12255
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
12256
+ console.log("booking data", data);
12257
+ return /*#__PURE__*/React__default.createElement("div", {
12258
+ className: "relative w-full px-4 xl:px-20 py-12"
12259
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
12260
+ data: data,
12261
+ shopConfigStyle: shopConfigStyle
12262
+ }), /*#__PURE__*/React__default.createElement("div", {
12263
+ className: "mt-6 md:mt-12 grid grid-cols-1 gap-6 md:grid-cols-3 md:gap-12"
12264
+ }, /*#__PURE__*/React__default.createElement(LinkToPage, {
12265
+ href: convertURL(data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : (_data$data$ = _data$data[0]) === null || _data$data$ === void 0 ? void 0 : _data$data$.route) || (data === null || data === void 0 ? void 0 : (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : (_data$data2$ = _data$data2[0]) === null || _data$data2$ === void 0 ? void 0 : _data$data2$.link) || "#"
12266
+ }, data !== null && data !== void 0 && (_data$data3 = data.data) !== null && _data$data3 !== void 0 && (_data$data3$ = _data$data3[0]) !== null && _data$data3$ !== void 0 && _data$data3$.svgImage ? /*#__PURE__*/React__default.createElement("div", {
12267
+ className: "text-primary w-full h-auto"
12268
+ }, /*#__PURE__*/React__default.createElement("div", {
12269
+ dangerouslySetInnerHTML: {
12270
+ __html: configSvg(data === null || data === void 0 ? void 0 : (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : (_data$data4$ = _data$data4[0]) === null || _data$data4$ === void 0 ? void 0 : _data$data4$.svgImage)
12271
+ }
12272
+ })) : /*#__PURE__*/React__default.createElement("img", {
12273
+ src: data === null || data === void 0 ? void 0 : (_data$data5 = data.data) === null || _data$data5 === void 0 ? void 0 : (_data$data5$ = _data$data5[0]) === null || _data$data5$ === void 0 ? void 0 : _data$data5$.srcImage,
12274
+ className: "w-full h-auto"
12275
+ }), /*#__PURE__*/React__default.createElement("div", {
12276
+ className: "mt-4 whitespace-pre-line"
12277
+ }, data === null || data === void 0 ? void 0 : (_data$data6 = data.data) === null || _data$data6 === void 0 ? void 0 : (_data$data6$ = _data$data6[0]) === null || _data$data6$ === void 0 ? void 0 : _data$data6$.description)), /*#__PURE__*/React__default.createElement(BookingFoodForm, {
12278
+ shopConfigStyle: shopConfigStyle,
12279
+ shopConfig: shopConfig,
12280
+ className: "col-span-2"
12281
+ })));
12282
+ };
12283
+
12284
+ var Banner1 = function Banner1(props) {
12285
+ var data = props.data,
12286
+ shopConfigStyle = props.shopConfigStyle,
12287
+ _props$SectionTitle = props.SectionTitle,
12288
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
12289
+ var sectionData = data === null || data === void 0 ? void 0 : data.data;
12290
+ return /*#__PURE__*/React__default.createElement("div", {
12291
+ className: "" + SECTION_DEFAULT_CLASS
12292
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
12293
+ data: data,
12294
+ shopConfigStyle: shopConfigStyle
12295
+ }), /*#__PURE__*/React__default.createElement("div", {
12296
+ className: "grid grid-cols-1 sm:grid-cols-3 gap-4 lg:gap-6 mt-6"
12297
+ }, sectionData && sectionData.length > 0 && sectionData.map(function (item, index) {
12298
+ return /*#__PURE__*/React__default.createElement("img", {
12299
+ src: item === null || item === void 0 ? void 0 : item.srcImage,
12300
+ alt: "",
12301
+ className: "rounded-2xl",
12302
+ key: "hnfhn-" + index
12303
+ });
12304
+ })));
12305
+ };
12306
+
12307
+ var Banner2 = function Banner2(props) {
12308
+ var data = props.data,
12309
+ shopConfigStyle = props.shopConfigStyle,
12310
+ _props$SectionTitle = props.SectionTitle,
12311
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
12312
+ var sectionData = data === null || data === void 0 ? void 0 : data.data;
12313
+ var _useState = React.useState(0),
12314
+ currentSlide = _useState[0],
12315
+ setCurrentSlide = _useState[1];
12316
+ function RenderArrow(props) {
12317
+ var className = props.className,
12318
+ style = props.style,
12319
+ onClick = props.onClick;
12320
+ return /*#__PURE__*/React__default.createElement("div", {
12321
+ className: className,
12322
+ style: _extends({}, style, {
12323
+ display: "none"
12324
+ }),
12325
+ onClick: onClick
12326
+ });
12327
+ }
12328
+ return /*#__PURE__*/React__default.createElement("div", {
11862
12329
  className: "" + SECTION_DEFAULT_CLASS
11863
12330
  }, /*#__PURE__*/React__default.createElement(SectionTitle, {
11864
12331
  data: data,
11865
12332
  shopConfigStyle: shopConfigStyle
11866
12333
  }), /*#__PURE__*/React__default.createElement(Slider, {
11867
- className: "center",
12334
+ className: "center mt-6 lg:mt-12",
11868
12335
  infinite: false,
11869
12336
  slidesToShow: 2,
11870
12337
  speed: 500,
@@ -12154,6 +12621,101 @@ function SvgVnpay(props) {
12154
12621
  }))));
12155
12622
  }
12156
12623
 
12624
+ var dataFake = [{
12625
+ title: "Đa dạng thanh toán",
12626
+ data: [{
12627
+ svgImage: "",
12628
+ srcImage: /*#__PURE__*/React__default.createElement(fa6.FaArrowsRotate, null),
12629
+ label: "Chuyển khoản",
12630
+ link: ""
12631
+ }, {
12632
+ svgImage: "",
12633
+ srcImage: /*#__PURE__*/React__default.createElement(bs.BsCurrencyDollar, null),
12634
+ label: "Tiền mặt",
12635
+ link: ""
12636
+ }, {
12637
+ srcImage: /*#__PURE__*/React__default.createElement(SvgVnpay, null),
12638
+ svgImage: "",
12639
+ label: "VNPay",
12640
+ link: ""
12641
+ }, {
12642
+ srcImage: /*#__PURE__*/React__default.createElement(SvgVietQr, null),
12643
+ svgImage: "",
12644
+ label: "VietQR",
12645
+ link: ""
12646
+ }, {
12647
+ srcImage: /*#__PURE__*/React__default.createElement(go.GoCreditCard, null),
12648
+ svgImage: "",
12649
+ label: "Thẻ ATM",
12650
+ link: ""
12651
+ }, {
12652
+ srcImage: /*#__PURE__*/React__default.createElement(fa.FaCcVisa, null),
12653
+ svgImage: "",
12654
+ label: "Thẻ Quốc tế",
12655
+ link: ""
12656
+ }]
12657
+ }, {
12658
+ title: "Thông tin hữu ích",
12659
+ data: [{
12660
+ srcImage: /*#__PURE__*/React__default.createElement(io.IoMdCheckmarkCircleOutline, null),
12661
+ svgImage: "",
12662
+ label: "Chính sách bảo hành",
12663
+ link: ""
12664
+ }, {
12665
+ srcImage: /*#__PURE__*/React__default.createElement(fa6.FaArrowsRotate, null),
12666
+ svgImage: "",
12667
+ label: "Chính sách đổi trả",
12668
+ link: ""
12669
+ }, {
12670
+ srcImage: /*#__PURE__*/React__default.createElement(lu.LuShoppingBag, null),
12671
+ svgImage: "",
12672
+ label: "Hướng dẫn mua hàng online",
12673
+ link: ""
12674
+ }, {
12675
+ srcImage: /*#__PURE__*/React__default.createElement(ai.AiOutlineInfoCircle, null),
12676
+ svgImage: "",
12677
+ label: "Giới thiệu về chúng tôi",
12678
+ link: ""
12679
+ }]
12680
+ }, {
12681
+ title: "Mạng xã hội",
12682
+ data: [{
12683
+ srcImage: /*#__PURE__*/React__default.createElement(fa.FaFacebookF, {
12684
+ className: "p-1 rounded bg-primary text-white"
12685
+ }),
12686
+ svgImage: "",
12687
+ label: "Facebook",
12688
+ link: ""
12689
+ }, {
12690
+ srcImage: /*#__PURE__*/React__default.createElement(fa.FaYoutube, {
12691
+ className: "p-1 rounded bg-primary text-white"
12692
+ }),
12693
+ svgImage: "",
12694
+ label: "Youtube",
12695
+ link: ""
12696
+ }, {
12697
+ srcImage: /*#__PURE__*/React__default.createElement(fa.FaTiktok, {
12698
+ className: "p-1 rounded bg-primary text-white"
12699
+ }),
12700
+ svgImage: "",
12701
+ label: "Tiktok",
12702
+ link: ""
12703
+ }, {
12704
+ srcImage: /*#__PURE__*/React__default.createElement(ri.RiMessengerFill, {
12705
+ className: "p-1 rounded bg-primary text-white"
12706
+ }),
12707
+ svgImage: "",
12708
+ label: "Messenger",
12709
+ link: ""
12710
+ }, {
12711
+ srcImage: /*#__PURE__*/React__default.createElement(si.SiZalo, {
12712
+ className: "p-1 rounded bg-primary text-white"
12713
+ }),
12714
+ svgImage: "",
12715
+ label: "Zalo",
12716
+ link: ""
12717
+ }]
12718
+ }];
12157
12719
  var Links1 = function Links1(props) {
12158
12720
  var data = props.data,
12159
12721
  _props$SectionTitle = props.SectionTitle,
@@ -12167,26 +12729,23 @@ var Links1 = function Links1(props) {
12167
12729
  shopConfigStyle: shopConfigStyle
12168
12730
  }), /*#__PURE__*/React__default.createElement("div", {
12169
12731
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6 lg:gap-8 w-full bg-background"
12170
- }, [1, 2, 3].map(function (item, index) {
12732
+ }, dataFake === null || dataFake === void 0 ? void 0 : dataFake.map(function (item, index) {
12733
+ var _item$data;
12171
12734
  return /*#__PURE__*/React__default.createElement("div", {
12172
- key: "qwikf-" + index + " "
12735
+ key: "qwikf-" + index + " ",
12736
+ className: "h-full overflow-hidden rounded-b-xl"
12173
12737
  }, /*#__PURE__*/React__default.createElement("h3", {
12174
12738
  className: "text-lg md:text-2xl font-semibold mb-4"
12175
- }, "\u0110a d\u1EA1ng thanh to\xE1n"), /*#__PURE__*/React__default.createElement("div", {
12176
- className: "leading-10 flex flex-col bg-background2 p-4 rounded-xl bg-bgSecondary "
12177
- }, /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(fa6.FaArrowsRotate, {
12178
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12179
- }), " Chuy\u1EC3n kho\u1EA3n"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(bs.BsCurrencyDollar, {
12180
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12181
- }), " Ti\u1EC1n m\u1EB7t"), /*#__PURE__*/React__default.createElement("label", {
12182
- className: "flex items-center gap-[18px]"
12183
- }, /*#__PURE__*/React__default.createElement(SvgVietQr, null), "VietQR"), /*#__PURE__*/React__default.createElement("label", {
12184
- className: "flex items-center gap-[18px]"
12185
- }, /*#__PURE__*/React__default.createElement(SvgVnpay, null), "VNPay"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(go.GoCreditCard, {
12186
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12187
- }), " Th\u1EBB ATM"), /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(si.SiVisa, {
12188
- className: "inline-block\t text-primary text-2xl mb-1 me-3"
12189
- }), " Th\u1EBB Qu\u1ED1c t\u1EBF")));
12739
+ }, item === null || item === void 0 ? void 0 : item.title), /*#__PURE__*/React__default.createElement("div", {
12740
+ className: "leading-10 flex flex-col bg-background2 p-4 rounded-xl bg-bgSecondary h-full"
12741
+ }, item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.map(function (it, idx) {
12742
+ return /*#__PURE__*/React__default.createElement("label", {
12743
+ className: "flex gap-4 items-center",
12744
+ key: "ikgf-" + idx
12745
+ }, /*#__PURE__*/React__default.createElement("div", {
12746
+ className: "text-primary text-2xl"
12747
+ }, it === null || it === void 0 ? void 0 : it.srcImage), it === null || it === void 0 ? void 0 : it.label);
12748
+ })));
12190
12749
  })));
12191
12750
  };
12192
12751
 
@@ -12232,11 +12791,10 @@ var Footer1 = function Footer1(props) {
12232
12791
  href: "/",
12233
12792
  className: "flex items-center"
12234
12793
  }, /*#__PURE__*/React__default.createElement("img", {
12235
- className: "object-cover w-16 h-16",
12236
- src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
12237
- alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
12794
+ className: "object-cover w-14 max-h-14",
12795
+ src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl
12238
12796
  }), /*#__PURE__*/React__default.createElement("h3", {
12239
- className: " text-2xl md:text-3xl font-semibold ms-2",
12797
+ className: "text-2xl md:text-3xl ms-2 font-headingFont ",
12240
12798
  style: {
12241
12799
  color: primary
12242
12800
  }
@@ -12377,11 +12935,10 @@ var Footer7 = function Footer7(props) {
12377
12935
  href: "/",
12378
12936
  className: "flex items-center gap-2"
12379
12937
  }, /*#__PURE__*/React__default.createElement("img", {
12380
- className: "object-cover w-14",
12381
- src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl,
12382
- alt: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName
12938
+ className: "object-cover w-14 max-h-14",
12939
+ src: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.logoUrl
12383
12940
  }), /*#__PURE__*/React__default.createElement("h3", {
12384
- className: " text-2xl md:text-3xl ms-2",
12941
+ className: " text-2xl md:text-3xl ms-2 font-headingFont ",
12385
12942
  style: {
12386
12943
  color: primary
12387
12944
  }
@@ -12641,6 +13198,46 @@ var CustomerRating6 = function CustomerRating6(props) {
12641
13198
  }))));
12642
13199
  };
12643
13200
 
13201
+ var CustomerRating8 = function CustomerRating8(props) {
13202
+ var _data$data;
13203
+ var _props$shopConfigStyl = props.shopConfigStyle,
13204
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
13205
+ _props$data = props.data,
13206
+ data = _props$data === void 0 ? {} : _props$data,
13207
+ _props$SectionTitle = props.SectionTitle,
13208
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
13209
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
13210
+ className: SECTION_CLASS + " !my-0 py-12 bg-bgSecondary"
13211
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
13212
+ data: data,
13213
+ shopConfigStyle: shopConfigStyle
13214
+ }), /*#__PURE__*/React__default.createElement("div", {
13215
+ className: " mt-6 md:mt-12 grid grid-cols-1 md:grid-cols-3 gap-6"
13216
+ }, data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.map(function (item, index) {
13217
+ return /*#__PURE__*/React__default.createElement("div", {
13218
+ className: "flex flex-col items-center gap-2 p-4 border border-stroke rounded-2xl ",
13219
+ key: "ht-" + index
13220
+ }, /*#__PURE__*/React__default.createElement("img", {
13221
+ src: item === null || item === void 0 ? void 0 : item.avatar,
13222
+ className: "w-40 h-40 rounded-full object-cover border-8 border-stroke"
13223
+ }), /*#__PURE__*/React__default.createElement("div", {
13224
+ className: "text-xl text-primary"
13225
+ }, item === null || item === void 0 ? void 0 : item.name), /*#__PURE__*/React__default.createElement("div", {
13226
+ className: "text-gray3"
13227
+ }, item === null || item === void 0 ? void 0 : item.description), /*#__PURE__*/React__default.createElement("div", {
13228
+ className: "flex gap-2 "
13229
+ }, /*#__PURE__*/React__default.createElement(ri.RiDoubleQuotesL, {
13230
+ className: "text-gray3",
13231
+ size: 36
13232
+ }), /*#__PURE__*/React__default.createElement("div", {
13233
+ className: "pt-4"
13234
+ }, item === null || item === void 0 ? void 0 : item.content), /*#__PURE__*/React__default.createElement(ri.RiDoubleQuotesL, {
13235
+ className: " mt-auto text-gray3",
13236
+ size: 36
13237
+ })));
13238
+ }))));
13239
+ };
13240
+
12644
13241
  var CustomerRating10 = function CustomerRating10(props) {
12645
13242
  var _data$data;
12646
13243
  var _props$shopConfigStyl = props.shopConfigStyle,
@@ -12815,7 +13412,65 @@ var Gallery1 = function Gallery1(props) {
12815
13412
  }));
12816
13413
  };
12817
13414
 
12818
- var PageTitle1 = function PageTitle1(props) {
13415
+ var Gallery1$1 = function Gallery1(props) {
13416
+ var _data$data, _data$data$slice, _data$data2, _data$data2$slice, _data$data3, _data$data3$slice;
13417
+ var _props$shopConfigStyl = props.shopConfigStyle,
13418
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
13419
+ _props$data = props.data,
13420
+ data = _props$data === void 0 ? {} : _props$data,
13421
+ _props$SectionTitle = props.SectionTitle,
13422
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
13423
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
13424
+ className: "" + SECTION_DEFAULT_CLASS
13425
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
13426
+ data: data,
13427
+ shopConfigStyle: shopConfigStyle
13428
+ }), /*#__PURE__*/React__default.createElement("div", {
13429
+ className: "grid grid-cols-3 gap-2 md:gap-6 mt-6 md:mt-12"
13430
+ }, /*#__PURE__*/React__default.createElement("div", {
13431
+ className: "flex flex-col gap-2 md:gap-4"
13432
+ }, data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : (_data$data$slice = _data$data.slice(0, 2)) === null || _data$data$slice === void 0 ? void 0 : _data$data$slice.map(function (item, index) {
13433
+ return /*#__PURE__*/React__default.createElement("img", {
13434
+ src: item === null || item === void 0 ? void 0 : item.srcImage,
13435
+ className: "w-full h-full object-cover rounded-xl md:rounded-2xl"
13436
+ });
13437
+ })), /*#__PURE__*/React__default.createElement("div", {
13438
+ className: "flex flex-col gap-2 md:gap-4"
13439
+ }, data === null || data === void 0 ? void 0 : (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : (_data$data2$slice = _data$data2.slice(2, 4)) === null || _data$data2$slice === void 0 ? void 0 : _data$data2$slice.map(function (item, index) {
13440
+ return /*#__PURE__*/React__default.createElement("img", {
13441
+ src: item === null || item === void 0 ? void 0 : item.srcImage,
13442
+ className: "w-full h-full object-cover rounded-xl md:rounded-2xl odd:h-[130%]"
13443
+ });
13444
+ })), /*#__PURE__*/React__default.createElement("div", {
13445
+ className: "flex flex-col gap-2 md:gap-4"
13446
+ }, data === null || data === void 0 ? void 0 : (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : (_data$data3$slice = _data$data3.slice(4, 6)) === null || _data$data3$slice === void 0 ? void 0 : _data$data3$slice.map(function (item, index) {
13447
+ return /*#__PURE__*/React__default.createElement("img", {
13448
+ src: item === null || item === void 0 ? void 0 : item.srcImage,
13449
+ className: "w-full h-full object-cover rounded-xl md:rounded-2xl even:h-[130%]"
13450
+ });
13451
+ })))));
13452
+ };
13453
+
13454
+ var PageTitle1 = function PageTitle1(props) {
13455
+ var _sectionData$;
13456
+ var data = props.data,
13457
+ route = props.route;
13458
+ var sectionData = data === null || data === void 0 ? void 0 : data.data;
13459
+ return /*#__PURE__*/React__default.createElement("div", {
13460
+ className: "relative w-full bg-cover bg-center bg-no-repeat ",
13461
+ style: {
13462
+ backgroundImage: "url(" + (sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$ = sectionData[0]) === null || _sectionData$ === void 0 ? void 0 : _sectionData$.srcImage) + ")"
13463
+ }
13464
+ }, /*#__PURE__*/React__default.createElement("div", {
13465
+ className: "absolute top-0 w-full h-full bg-black opacity-40 z-0"
13466
+ }), /*#__PURE__*/React__default.createElement("div", {
13467
+ className: "relative w-full p-20 z-10 flex flex-col gap-6 items-center justify-center"
13468
+ }, /*#__PURE__*/React__default.createElement("h2", {
13469
+ className: "text-3xl md:text-5xl text-white leading-[1.6] md:leading-[1.6] text-center font-headingFont"
13470
+ }, data !== null && data !== void 0 && data.sectionTitle ? data === null || data === void 0 ? void 0 : data.sectionTitle : route === null || route === void 0 ? void 0 : route.label)));
13471
+ };
13472
+
13473
+ var PageTitle2 = function PageTitle2(props) {
12819
13474
  var _sectionData$;
12820
13475
  var data = props.data,
12821
13476
  route = props.route;
@@ -12831,7 +13486,103 @@ var PageTitle1 = function PageTitle1(props) {
12831
13486
  className: "relative w-full p-20 z-10 flex flex-col gap-6 items-center justify-center"
12832
13487
  }, /*#__PURE__*/React__default.createElement("h2", {
12833
13488
  className: "text-3xl md:text-5xl text-white leading-[1.6] md:leading-[1.6] text-center font-headingFont"
12834
- }, sectionData !== null && sectionData !== void 0 && sectionData.sectionTitle ? sectionData === null || sectionData === void 0 ? void 0 : sectionData.sectionTitle : route === null || route === void 0 ? void 0 : route.label)));
13489
+ }, data !== null && data !== void 0 && data.sectionTitle ? data === null || data === void 0 ? void 0 : data.sectionTitle : route === null || route === void 0 ? void 0 : route.label), data !== null && data !== void 0 && data.sectionDescription ? /*#__PURE__*/React__default.createElement("div", {
13490
+ className: "text-lg md:text-2xl text-white"
13491
+ }, data === null || data === void 0 ? void 0 : data.sectionDescription) : null));
13492
+ };
13493
+
13494
+ var Breadcrumb1 = function Breadcrumb1(props) {
13495
+ var shopConfigStyle = props.shopConfigStyle,
13496
+ route = props.route,
13497
+ _props$routes = props.routes,
13498
+ routes = _props$routes === void 0 ? [] : _props$routes,
13499
+ _props$Link = props.Link,
13500
+ Link = _props$Link === void 0 ? null : _props$Link,
13501
+ _props$className = props.className,
13502
+ className = _props$className === void 0 ? "" : _props$className,
13503
+ _props$routeClassName = props.routeClassName,
13504
+ routeClassName = _props$routeClassName === void 0 ? "" : _props$routeClassName;
13505
+ var _shopConfigStyle$colo = shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : shopConfigStyle.color,
13506
+ _shopConfigStyle$colo3 = _shopConfigStyle$colo.textHeading,
13507
+ textHeading = _shopConfigStyle$colo3 === void 0 ? "#000" : _shopConfigStyle$colo3;
13508
+ var _useState = React.useState([]),
13509
+ items = _useState[0],
13510
+ setItems = _useState[1];
13511
+ React.useEffect(function () {
13512
+ getItems();
13513
+ }, [route]);
13514
+ var getItems = function getItems() {
13515
+ var _route$route, _route$route$split, _route$route$split$fi, _items, _items2;
13516
+ var items = route === null || route === void 0 ? void 0 : (_route$route = route.route) === null || _route$route === void 0 ? void 0 : (_route$route$split = _route$route.split("/")) === null || _route$route$split === void 0 ? void 0 : (_route$route$split$fi = _route$route$split.filter(function (e) {
13517
+ return e === null || e === void 0 ? void 0 : e.length;
13518
+ })) === null || _route$route$split$fi === void 0 ? void 0 : _route$route$split$fi.slice(0, 2);
13519
+ items = (_items = items) === null || _items === void 0 ? void 0 : _items.map(function (e) {
13520
+ var _e, _e$replace, _e$replace$replace, _e$replace$replace$re;
13521
+ if (e === "product") e = "products";else if (e === "service") e = "services";
13522
+ return (routes === null || routes === void 0 ? void 0 : routes.find(function (r) {
13523
+ return (r === null || r === void 0 ? void 0 : r.name) === e;
13524
+ })) || {
13525
+ label: (_e = e) === null || _e === void 0 ? void 0 : (_e$replace = _e.replace(/-{3}/g, "###")) === null || _e$replace === void 0 ? void 0 : (_e$replace$replace = _e$replace.replace(/-/g, " ")) === null || _e$replace$replace === void 0 ? void 0 : (_e$replace$replace$re = _e$replace$replace.replace(/###/g, "-")) === null || _e$replace$replace$re === void 0 ? void 0 : _e$replace$replace$re.replace(/~/g, "/")
13526
+ };
13527
+ });
13528
+ (_items2 = items) === null || _items2 === void 0 ? void 0 : _items2.unshift({
13529
+ name: "home",
13530
+ label: "Trang chủ",
13531
+ route: "/"
13532
+ });
13533
+ console.log(items);
13534
+ setItems(items);
13535
+ };
13536
+ return /*#__PURE__*/React__default.createElement("div", {
13537
+ className: SECTION_DEFAULT_CLASS + " !my-6 flex gap-2 overflow-x-auto scroll-custom " + className
13538
+ }, items === null || items === void 0 ? void 0 : items.map(function (item, index) {
13539
+ return /*#__PURE__*/React__default.createElement("div", {
13540
+ key: index,
13541
+ className: "flex gap-2 flex-shrink-0"
13542
+ }, index ? /*#__PURE__*/React__default.createElement("div", {
13543
+ className: "text-gray4"
13544
+ }, "/") : null, item !== null && item !== void 0 && item.route ? /*#__PURE__*/React__default.createElement(LinkToPage, {
13545
+ Link: Link,
13546
+ href: convertURL(item === null || item === void 0 ? void 0 : item.route) || "#",
13547
+ style: {
13548
+ color: textHeading
13549
+ },
13550
+ className: routeClassName
13551
+ }, item === null || item === void 0 ? void 0 : item.label) : /*#__PURE__*/React__default.createElement("div", null, item === null || item === void 0 ? void 0 : item.label));
13552
+ }));
13553
+ };
13554
+
13555
+ var PageTitle3 = function PageTitle3(props) {
13556
+ var _sectionData$, _route$route, _route$route$split, _route$route$split$fi, _route$route$split$fi2, _route$route$split$fi3, _route$route$split$fi4, _route$route$split$fi5;
13557
+ var data = props.data,
13558
+ route = props.route,
13559
+ shopConfigStyle = props.shopConfigStyle,
13560
+ _props$routes = props.routes,
13561
+ routes = _props$routes === void 0 ? [] : _props$routes,
13562
+ _props$Link = props.Link,
13563
+ Link = _props$Link === void 0 ? null : _props$Link;
13564
+ var sectionData = data === null || data === void 0 ? void 0 : data.data;
13565
+ return /*#__PURE__*/React__default.createElement("div", {
13566
+ className: "relative w-full bg-cover bg-center bg-no-repeat mb-6 md:mb-12 ",
13567
+ style: {
13568
+ backgroundImage: "url(" + (sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$ = sectionData[0]) === null || _sectionData$ === void 0 ? void 0 : _sectionData$.srcImage) + ")"
13569
+ }
13570
+ }, /*#__PURE__*/React__default.createElement("div", {
13571
+ className: "absolute top-0 w-full h-full bg-black opacity-60 z-0"
13572
+ }), /*#__PURE__*/React__default.createElement("div", {
13573
+ className: "relative w-full p-20 z-10 flex flex-col items-center justify-center"
13574
+ }, /*#__PURE__*/React__default.createElement("h2", {
13575
+ className: "text-3xl md:text-5xl text-white leading-[1.6] md:leading-[1.6] text-center font-headingFont"
13576
+ }, route === null || route === void 0 ? void 0 : (_route$route = route.route) === null || _route$route === void 0 ? void 0 : (_route$route$split = _route$route.split("/")) === null || _route$route$split === void 0 ? void 0 : (_route$route$split$fi = _route$route$split.filter(function (e) {
13577
+ return e === null || e === void 0 ? void 0 : e.length;
13578
+ })) === null || _route$route$split$fi === void 0 ? void 0 : (_route$route$split$fi2 = _route$route$split$fi.at(-1)) === null || _route$route$split$fi2 === void 0 ? void 0 : (_route$route$split$fi3 = _route$route$split$fi2.replace(/-{3}/g, "###")) === null || _route$route$split$fi3 === void 0 ? void 0 : (_route$route$split$fi4 = _route$route$split$fi3.replace(/-/g, " ")) === null || _route$route$split$fi4 === void 0 ? void 0 : (_route$route$split$fi5 = _route$route$split$fi4.replace(/###/g, "-")) === null || _route$route$split$fi5 === void 0 ? void 0 : _route$route$split$fi5.replace(/~/g, "/")), /*#__PURE__*/React__default.createElement(Breadcrumb1, {
13579
+ className: "!bg-transparent !text-gray4",
13580
+ routeClassName: "!text-textButton",
13581
+ shopConfigStyle: shopConfigStyle,
13582
+ route: route,
13583
+ routes: routes,
13584
+ Link: Link
13585
+ })));
12835
13586
  };
12836
13587
 
12837
13588
  var About1 = function About1(props) {
@@ -12846,7 +13597,7 @@ var About1 = function About1(props) {
12846
13597
  data: data,
12847
13598
  shopConfigStyle: shopConfigStyle
12848
13599
  }) : null, /*#__PURE__*/React__default.createElement("div", {
12849
- className: "text-wrap",
13600
+ className: "text-wrap ck-content",
12850
13601
  dangerouslySetInnerHTML: {
12851
13602
  __html: shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopAbout
12852
13603
  }
@@ -12871,7 +13622,7 @@ var About5 = function About5(props) {
12871
13622
  className: "grid grid-cols-1 lg:grid-cols-2 gap-12 mt-4 md:mt-6"
12872
13623
  }, /*#__PURE__*/React__default.createElement("img", {
12873
13624
  src: sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$ = sectionData[0]) === null || _sectionData$ === void 0 ? void 0 : _sectionData$.srcImage,
12874
- className: "w-full hidden lg:block rounded-xl"
13625
+ className: "w-full object-cover hidden lg:block rounded-xl"
12875
13626
  }), /*#__PURE__*/React__default.createElement("div", {
12876
13627
  className: "ck-content text-wrap",
12877
13628
  dangerouslySetInnerHTML: {
@@ -12879,7 +13630,7 @@ var About5 = function About5(props) {
12879
13630
  }
12880
13631
  }), /*#__PURE__*/React__default.createElement("img", {
12881
13632
  src: sectionData === null || sectionData === void 0 ? void 0 : (_sectionData$2 = sectionData[0]) === null || _sectionData$2 === void 0 ? void 0 : _sectionData$2.srcImage,
12882
- className: "w-full block lg:hidden rounded-xl"
13633
+ className: "w-full block object-cover lg:hidden rounded-xl"
12883
13634
  })));
12884
13635
  };
12885
13636
 
@@ -12958,62 +13709,6 @@ var Contact1 = function Contact1(props) {
12958
13709
  }) : null));
12959
13710
  };
12960
13711
 
12961
- var Breadcrumb1 = function Breadcrumb1(props) {
12962
- var shopConfigStyle = props.shopConfigStyle,
12963
- route = props.route,
12964
- _props$routes = props.routes,
12965
- routes = _props$routes === void 0 ? [] : _props$routes,
12966
- _props$Link = props.Link,
12967
- Link = _props$Link === void 0 ? null : _props$Link;
12968
- var _shopConfigStyle$colo = shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : shopConfigStyle.color,
12969
- _shopConfigStyle$colo3 = _shopConfigStyle$colo.textHeading,
12970
- textHeading = _shopConfigStyle$colo3 === void 0 ? "#000" : _shopConfigStyle$colo3;
12971
- var _useState = React.useState([]),
12972
- items = _useState[0],
12973
- setItems = _useState[1];
12974
- React.useEffect(function () {
12975
- getItems();
12976
- }, [route]);
12977
- var getItems = function getItems() {
12978
- var _route$route, _route$route$split, _route$route$split$fi, _items, _items2;
12979
- var items = route === null || route === void 0 ? void 0 : (_route$route = route.route) === null || _route$route === void 0 ? void 0 : (_route$route$split = _route$route.split("/")) === null || _route$route$split === void 0 ? void 0 : (_route$route$split$fi = _route$route$split.filter(function (e) {
12980
- return e === null || e === void 0 ? void 0 : e.length;
12981
- })) === null || _route$route$split$fi === void 0 ? void 0 : _route$route$split$fi.slice(0, 2);
12982
- items = (_items = items) === null || _items === void 0 ? void 0 : _items.map(function (e) {
12983
- var _e, _e$replace, _e$replace$replace, _e$replace$replace$re;
12984
- if (e === "product") e = "products";else if (e === "service") e = "services";
12985
- return (routes === null || routes === void 0 ? void 0 : routes.find(function (r) {
12986
- return (r === null || r === void 0 ? void 0 : r.name) === e;
12987
- })) || {
12988
- label: (_e = e) === null || _e === void 0 ? void 0 : (_e$replace = _e.replace(/-{3}/g, "###")) === null || _e$replace === void 0 ? void 0 : (_e$replace$replace = _e$replace.replace(/-/g, " ")) === null || _e$replace$replace === void 0 ? void 0 : (_e$replace$replace$re = _e$replace$replace.replace(/###/g, "-")) === null || _e$replace$replace$re === void 0 ? void 0 : _e$replace$replace$re.replace(/~/g, "/")
12989
- };
12990
- });
12991
- (_items2 = items) === null || _items2 === void 0 ? void 0 : _items2.unshift({
12992
- name: "home",
12993
- label: "Trang chủ",
12994
- route: "/"
12995
- });
12996
- console.log(items);
12997
- setItems(items);
12998
- };
12999
- return /*#__PURE__*/React__default.createElement("div", {
13000
- className: SECTION_DEFAULT_CLASS + " !my-6 flex gap-2 overflow-x-auto scroll-custom"
13001
- }, items === null || items === void 0 ? void 0 : items.map(function (item, index) {
13002
- return /*#__PURE__*/React__default.createElement("div", {
13003
- key: index,
13004
- className: "flex gap-2 flex-shrink-0"
13005
- }, index ? /*#__PURE__*/React__default.createElement("div", {
13006
- className: "text-gray4"
13007
- }, "/") : null, item !== null && item !== void 0 && item.route ? /*#__PURE__*/React__default.createElement(LinkToPage, {
13008
- Link: Link,
13009
- href: convertURL(item === null || item === void 0 ? void 0 : item.route) || "#",
13010
- style: {
13011
- color: textHeading
13012
- }
13013
- }, item === null || item === void 0 ? void 0 : item.label) : /*#__PURE__*/React__default.createElement("div", null, item === null || item === void 0 ? void 0 : item.label));
13014
- }));
13015
- };
13016
-
13017
13712
  var getRegionApi = function getRegionApi(parentId) {
13018
13713
  return api({
13019
13714
  method: "get",
@@ -13131,96 +13826,6 @@ var RegionController = function RegionController(props) {
13131
13826
  };
13132
13827
  };
13133
13828
 
13134
- var TextArea = React.forwardRef(function (props, ref) {
13135
- var _props$label = props.label,
13136
- label = _props$label === void 0 ? "" : _props$label,
13137
- _props$placeholder = props.placeholder,
13138
- placeholder = _props$placeholder === void 0 ? "" : _props$placeholder,
13139
- _props$rules = props.rules,
13140
- rules = _props$rules === void 0 ? [] : _props$rules,
13141
- _props$textareaClassN = props.textareaClassName,
13142
- textareaClassName = _props$textareaClassN === void 0 ? "" : _props$textareaClassN,
13143
- _props$className = props.className,
13144
- className = _props$className === void 0 ? "" : _props$className,
13145
- _props$defaultValue = props.defaultValue,
13146
- defaultValue = _props$defaultValue === void 0 ? "" : _props$defaultValue,
13147
- _props$labelClassName = props.labelClassName,
13148
- labelClassName = _props$labelClassName === void 0 ? "" : _props$labelClassName,
13149
- _props$onChange = props.onChange,
13150
- onChange = _props$onChange === void 0 ? function () {} : _props$onChange;
13151
- var _useState = React.useState(defaultValue),
13152
- value = _useState[0],
13153
- _setValue = _useState[1];
13154
- var _useState2 = React.useState(""),
13155
- error = _useState2[0],
13156
- _setError = _useState2[1];
13157
- React.useImperativeHandle(ref, function () {
13158
- return {
13159
- validateData: function validateData() {
13160
- return _validateData();
13161
- },
13162
- setValue: function setValue(text) {
13163
- return _setValue(text);
13164
- },
13165
- getValue: function getValue() {
13166
- return value;
13167
- },
13168
- setError: function setError(err) {
13169
- return _setError(err);
13170
- }
13171
- };
13172
- });
13173
- var _validateData = function _validateData() {
13174
- var count = 0;
13175
- for (var _iterator = _createForOfIteratorHelperLoose(rules), _step; !(_step = _iterator()).done;) {
13176
- var _e$pattern;
13177
- var e = _step.value;
13178
- if ((e === null || e === void 0 ? void 0 : e.type) === 'required' && value === '') {
13179
- _setError(e === null || e === void 0 ? void 0 : e.message);
13180
- count++;
13181
- break;
13182
- } else if ((e === null || e === void 0 ? void 0 : e.type) === 'pattern' && !(e !== null && e !== void 0 && (_e$pattern = e.pattern) !== null && _e$pattern !== void 0 && _e$pattern.test(value))) {
13183
- _setError(e === null || e === void 0 ? void 0 : e.message);
13184
- count++;
13185
- break;
13186
- }
13187
- }
13188
- if (count) {
13189
- return false;
13190
- } else {
13191
- _setError('');
13192
- return true;
13193
- }
13194
- };
13195
- var handleOnChangeValue = function handleOnChangeValue(e) {
13196
- var value = e.target.value;
13197
- _setValue(value);
13198
- onChange === null || onChange === void 0 ? void 0 : onChange(value);
13199
- };
13200
- var required = !!(rules !== null && rules !== void 0 && rules.find(function (e) {
13201
- return (e === null || e === void 0 ? void 0 : e.type) === "required";
13202
- }));
13203
- var labelRequired = required ? /*#__PURE__*/React__default.createElement("span", {
13204
- className: "text-danger"
13205
- }, " *") : null;
13206
- return /*#__PURE__*/React__default.createElement("div", {
13207
- className: "" + className
13208
- }, label ? /*#__PURE__*/React__default.createElement("div", {
13209
- className: "mb-1 " + labelClassName
13210
- }, label, labelRequired) : null, /*#__PURE__*/React__default.createElement("textarea", {
13211
- name: "",
13212
- id: "",
13213
- className: "focus:outline-none focus:ring-0 " + textareaClassName,
13214
- placeholder: placeholder,
13215
- value: value,
13216
- onChange: function onChange(e) {
13217
- handleOnChangeValue(e);
13218
- }
13219
- }), error ? /*#__PURE__*/React__default.createElement("div", {
13220
- className: "text-danger"
13221
- }, error) : null);
13222
- });
13223
-
13224
13829
  var FormCheckout = React.forwardRef(function (props, ref) {
13225
13830
  var _props$label = props.label,
13226
13831
  label = _props$label === void 0 ? "" : _props$label,
@@ -14294,6 +14899,37 @@ var ShopHighlights7 = function ShopHighlights7(props) {
14294
14899
  }));
14295
14900
  };
14296
14901
 
14902
+ var ShopHighlights8 = function ShopHighlights8(props) {
14903
+ var data = props.data,
14904
+ _props$Link = props.Link,
14905
+ Link = _props$Link === void 0 ? null : _props$Link,
14906
+ _props$SectionTitle = props.SectionTitle,
14907
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
14908
+ var sectionData = data === null || data === void 0 ? void 0 : data.data;
14909
+ return /*#__PURE__*/React__default.createElement("div", {
14910
+ className: SECTION_CLASS + " flex flex-col gap-6 md:gap-10"
14911
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
14912
+ data: data
14913
+ }), /*#__PURE__*/React__default.createElement("div", {
14914
+ className: "grid grid-cols-2 lg:grid-cols-4 gap-4 md:gap-10"
14915
+ }, sectionData === null || sectionData === void 0 ? void 0 : sectionData.map(function (item, index) {
14916
+ return /*#__PURE__*/React__default.createElement(LinkToPage, {
14917
+ Link: Link,
14918
+ href: convertURL(item === null || item === void 0 ? void 0 : item.route) || (item === null || item === void 0 ? void 0 : item.link) || "#",
14919
+ key: "kdf-" + index
14920
+ }, /*#__PURE__*/React__default.createElement("div", {
14921
+ className: "flex flex-col h-full gap-3"
14922
+ }, /*#__PURE__*/React__default.createElement("img", {
14923
+ src: item === null || item === void 0 ? void 0 : item.srcImage,
14924
+ className: "object-cover"
14925
+ }), /*#__PURE__*/React__default.createElement("div", {
14926
+ className: "text-2xl text-textBody"
14927
+ }, item === null || item === void 0 ? void 0 : item.title), /*#__PURE__*/React__default.createElement("div", {
14928
+ className: "flex-grow text-textBody leading-relaxed"
14929
+ }, item === null || item === void 0 ? void 0 : item.description)));
14930
+ })));
14931
+ };
14932
+
14297
14933
  var VideoFull1 = function VideoFull1(props) {
14298
14934
  var _data$data, _data$data$;
14299
14935
  var shopConfigStyle = props.shopConfigStyle,
@@ -14865,6 +15501,7 @@ exports.BannerFull1 = BannerFull1;
14865
15501
  exports.BannerFull2 = BannerFull2;
14866
15502
  exports.Booking1 = Booking1;
14867
15503
  exports.BookingForm6 = BookingForm6;
15504
+ exports.BookingTable1 = BookingTable1;
14868
15505
  exports.Breadcrumb1 = Breadcrumb1;
14869
15506
  exports.Button = Button;
14870
15507
  exports.Carts1 = Carts1;
@@ -14873,6 +15510,7 @@ exports.CustomerRating1 = CustomerRating1;
14873
15510
  exports.CustomerRating10 = CustomerRating10;
14874
15511
  exports.CustomerRating5 = CustomerRating5;
14875
15512
  exports.CustomerRating6 = CustomerRating6;
15513
+ exports.CustomerRating8 = CustomerRating8;
14876
15514
  exports.DateTimePicker = DateTimePicker;
14877
15515
  exports.Employees1 = Employees1;
14878
15516
  exports.Features2 = Features2;
@@ -14880,9 +15518,11 @@ exports.Features3 = Features3;
14880
15518
  exports.Footer1 = Footer1;
14881
15519
  exports.Footer7 = Footer7;
14882
15520
  exports.Gallery1 = Gallery1;
15521
+ exports.Gallery2 = Gallery1$1;
14883
15522
  exports.Hero1 = Hero1;
14884
15523
  exports.Hero10 = Hero10;
14885
- exports.Hero12 = Hero11;
15524
+ exports.Hero11 = Hero11;
15525
+ exports.Hero12 = Hero12;
14886
15526
  exports.Hero13 = Hero13;
14887
15527
  exports.Hero2 = Hero2;
14888
15528
  exports.Hero5 = Hero5;
@@ -14897,6 +15537,8 @@ exports.News1 = News1;
14897
15537
  exports.NewsDetail1 = NewsDetail1;
14898
15538
  exports.NewsHighlight1 = NewsHighlight1;
14899
15539
  exports.PageTitle1 = PageTitle1;
15540
+ exports.PageTitle2 = PageTitle2;
15541
+ exports.PageTitle3 = PageTitle3;
14900
15542
  exports.Partner1 = Partner1;
14901
15543
  exports.ProductCategory2 = ProductCategory2;
14902
15544
  exports.ProductDetail10 = ProductDetail10;
@@ -14911,12 +15553,14 @@ exports.ProductItem4 = ProductItem4;
14911
15553
  exports.ProductItem5 = ProductItem5;
14912
15554
  exports.ProductItem6 = ProductItem6;
14913
15555
  exports.ProductItem7 = ProductItem7;
15556
+ exports.ProductItem8 = ProductItem8;
14914
15557
  exports.ProductList5 = ProductList5;
14915
15558
  exports.ProductList7 = ProductList7;
14916
15559
  exports.ProductSale2 = ProductSale2;
14917
15560
  exports.ProductSearch1 = ProductSearch1;
14918
15561
  exports.Products10 = Products10;
14919
15562
  exports.Products11 = Products11;
15563
+ exports.Products12 = Products12;
14920
15564
  exports.Products2 = Products2;
14921
15565
  exports.Products3 = Products3;
14922
15566
  exports.Products9 = Products9;
@@ -14928,12 +15572,14 @@ exports.SearchProduct1 = SearchProduct1;
14928
15572
  exports.SectionTitle1 = SectionTitle1;
14929
15573
  exports.SectionTitle2 = SectionTitle2;
14930
15574
  exports.SectionTitle3 = SectionTitle3;
15575
+ exports.SectionTitle4 = SectionTitle4;
14931
15576
  exports.Select = Select$1;
14932
15577
  exports.ServiceDetail1 = ServiceDetail1;
14933
15578
  exports.ShopHighlights2 = ShopHighlights2;
14934
15579
  exports.ShopHighlights5 = ShopHighlights5;
14935
15580
  exports.ShopHighlights6 = ShopHighlights6;
14936
15581
  exports.ShopHighlights7 = ShopHighlights7;
15582
+ exports.ShopHighlights8 = ShopHighlights8;
14937
15583
  exports.TextArea = TextArea;
14938
15584
  exports.TreatmentDetail1 = TreatmentDetail1;
14939
15585
  exports.TreatmentItem1 = TreatmentItem1;