@salla.sa/twilight-theme-engine 1.0.144 → 1.0.145
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/{AddToCartForm-LWT2QINY.js → AddToCartForm-NZNFVGDV.js} +3 -3
- package/dist/{AddToCartForm-LWT2QINY.js.map → AddToCartForm-NZNFVGDV.js.map} +1 -1
- package/dist/{BlogAuthorPage-52C2OHXW.js → BlogAuthorPage-BXRIYXVN.js} +27 -27
- package/dist/{BlogAuthorPage-52C2OHXW.js.map → BlogAuthorPage-BXRIYXVN.js.map} +1 -1
- package/dist/{BlogCategoryPage-LBLIAN6Q.js → BlogCategoryPage-GHWC2WVM.js} +27 -27
- package/dist/{BlogCategoryPage-LBLIAN6Q.js.map → BlogCategoryPage-GHWC2WVM.js.map} +1 -1
- package/dist/{BlogPage-U56CLHI4.js → BlogPage-ZCGNKBLI.js} +25 -25
- package/dist/{BlogPage-U56CLHI4.js.map → BlogPage-ZCGNKBLI.js.map} +1 -1
- package/dist/{BlogSinglePage-NQJDYUFB.js → BlogSinglePage-TH7Z3MKB.js} +25 -25
- package/dist/{BlogSinglePage-NQJDYUFB.js.map → BlogSinglePage-TH7Z3MKB.js.map} +1 -1
- package/dist/{BlogTagPage-XP3XGVCO.js → BlogTagPage-GM422SOW.js} +27 -27
- package/dist/{BlogTagPage-XP3XGVCO.js.map → BlogTagPage-GM422SOW.js.map} +1 -1
- package/dist/{BrandsPage-22AET7DW.js → BrandsPage-LNNPU4NX.js} +26 -26
- package/dist/{BrandsPage-22AET7DW.js.map → BrandsPage-LNNPU4NX.js.map} +1 -1
- package/dist/{Breadcrumb-YTYXSTKO.js → Breadcrumb-TSG2CW3S.js} +25 -25
- package/dist/{Breadcrumb-YTYXSTKO.js.map → Breadcrumb-TSG2CW3S.js.map} +1 -1
- package/dist/{CartItem-UTU4GLDN.js → CartItem-UVSLCSEP.js} +25 -25
- package/dist/{CartItem-UTU4GLDN.js.map → CartItem-UVSLCSEP.js.map} +1 -1
- package/dist/{CartSummary-4UGWZ3B3.js → CartSummary-ZCXTED4G.js} +25 -25
- package/dist/{CartSummary-4UGWZ3B3.js.map → CartSummary-ZCXTED4G.js.map} +1 -1
- package/dist/{Copyright-B2GYPZBZ.js → Copyright-B25RLEVV.js} +3 -3
- package/dist/{Copyright-B2GYPZBZ.js.map → Copyright-B25RLEVV.js.map} +1 -1
- package/dist/{CustomerLayout-I4XFBCOH.js → CustomerLayout-WGEUJEDP.js} +25 -25
- package/dist/{CustomerLayout-I4XFBCOH.js.map → CustomerLayout-WGEUJEDP.js.map} +1 -1
- package/dist/{Footer-OWOF2AGC.js → Footer-QMNESEEI.js} +4 -4
- package/dist/{Footer-OWOF2AGC.js.map → Footer-QMNESEEI.js.map} +1 -1
- package/dist/{Header-KDJL4YRP.js → Header-ZPDXQ7U6.js} +11 -11
- package/dist/{Header-KDJL4YRP.js.map → Header-ZPDXQ7U6.js.map} +1 -1
- package/dist/{LatestProducts-YBFHXG5V.js → LatestProducts-UEUM47MI.js} +27 -27
- package/dist/{LatestProducts-YBFHXG5V.js.map → LatestProducts-UEUM47MI.js.map} +1 -1
- package/dist/{LoyaltyPage-GFWTFQA7.js → LoyaltyPage-ZM3FDTV3.js} +25 -25
- package/dist/{LoyaltyPage-GFWTFQA7.js.map → LoyaltyPage-ZM3FDTV3.js.map} +1 -1
- package/dist/{LoyaltyPointsPage-WJDZL6G4.js → LoyaltyPointsPage-QQIKIBTH.js} +8 -8
- package/dist/{LoyaltyPointsPage-WJDZL6G4.js.map → LoyaltyPointsPage-QQIKIBTH.js.map} +1 -1
- package/dist/{MainMenu-AWSLHAEE.js → MainMenu-3Z7HRQGU.js} +7 -7
- package/dist/{MainMenu-AWSLHAEE.js.map → MainMenu-3Z7HRQGU.js.map} +1 -1
- package/dist/{MasterLayout-ZMHHLGYL.js → MasterLayout-ZRTWOZGC.js} +25 -25
- package/dist/{MasterLayout-ZMHHLGYL.js.map → MasterLayout-ZRTWOZGC.js.map} +1 -1
- package/dist/{MobileMenu-56MF2EAS.js → MobileMenu-SC7HJ6BT.js} +26 -26
- package/dist/{MobileMenu-56MF2EAS.js.map → MobileMenu-SC7HJ6BT.js.map} +1 -1
- package/dist/{NotificationsPage-7QC66446.js → NotificationsPage-JMAZ2N2A.js} +25 -25
- package/dist/{NotificationsPage-7QC66446.js.map → NotificationsPage-JMAZ2N2A.js.map} +1 -1
- package/dist/{OrderSinglePage-WXJHUJ6C.js → OrderSinglePage-6MAFH4Q6.js} +26 -26
- package/dist/{OrderSinglePage-WXJHUJ6C.js.map → OrderSinglePage-6MAFH4Q6.js.map} +1 -1
- package/dist/{OrdersPage-ZNM4YGXR.js → OrdersPage-NMINSG67.js} +25 -25
- package/dist/{OrdersPage-ZNM4YGXR.js.map → OrdersPage-NMINSG67.js.map} +1 -1
- package/dist/{PageSingle-NQZM6O5A.js → PageSingle-WLIXOODC.js} +6 -6
- package/dist/{PageSingle-NQZM6O5A.js.map → PageSingle-WLIXOODC.js.map} +1 -1
- package/dist/{ProductDetails-N4KYBKBG.js → ProductDetails-NFZLUKLN.js} +7 -7
- package/dist/{ProductDetails-N4KYBKBG.js.map → ProductDetails-NFZLUKLN.js.map} +1 -1
- package/dist/{ProfilePage-XOGVATHX.js → ProfilePage-5PBU637J.js} +25 -25
- package/dist/{ProfilePage-XOGVATHX.js.map → ProfilePage-5PBU637J.js.map} +1 -1
- package/dist/{ReviewsPage-WOLLCLAY.js → ReviewsPage-RWNFVHWR.js} +3 -3
- package/dist/{ReviewsPage-WOLLCLAY.js.map → ReviewsPage-RWNFVHWR.js.map} +1 -1
- package/dist/{SeoCartWidget-EVJOTXPO.js → SeoCartWidget-HPBQ6673.js} +25 -25
- package/dist/{SeoCartWidget-EVJOTXPO.js.map → SeoCartWidget-HPBQ6673.js.map} +1 -1
- package/dist/{SettingsPage-LYDZFUF3.js → SettingsPage-Y5X5BNHD.js} +25 -25
- package/dist/{SettingsPage-LYDZFUF3.js.map → SettingsPage-Y5X5BNHD.js.map} +1 -1
- package/dist/{StoreClosedNotification-62SFSGRH.js → StoreClosedNotification-5DOQFF2O.js} +26 -26
- package/dist/{StoreClosedNotification-62SFSGRH.js.map → StoreClosedNotification-5DOQFF2O.js.map} +1 -1
- package/dist/{TestimonialsPage-WPZBQQO2.js → TestimonialsPage-ZDALOH2L.js} +6 -6
- package/dist/{TestimonialsPage-WPZBQQO2.js.map → TestimonialsPage-ZDALOH2L.js.map} +1 -1
- package/dist/{ThankYouPage-44VMBXGI.js → ThankYouPage-SYMPRWCS.js} +25 -25
- package/dist/{ThankYouPage-44VMBXGI.js.map → ThankYouPage-SYMPRWCS.js.map} +1 -1
- package/dist/{WalletPage-YVSIECSM.js → WalletPage-DPWZBROY.js} +26 -26
- package/dist/{WalletPage-YVSIECSM.js.map → WalletPage-DPWZBROY.js.map} +1 -1
- package/dist/{WebMcpTools-VA2A62E3.js → WebMcpTools-3TBLKZL5.js} +9 -9
- package/dist/{WebMcpTools-VA2A62E3.js.map → WebMcpTools-3TBLKZL5.js.map} +1 -1
- package/dist/{WishlistPage-IGWDG4HC.js → WishlistPage-BM3XSMQF.js} +27 -27
- package/dist/{WishlistPage-IGWDG4HC.js.map → WishlistPage-BM3XSMQF.js.map} +1 -1
- package/dist/api/advertisement.js +4 -4
- package/dist/api/apps.js +4 -4
- package/dist/api/blog.js +6 -6
- package/dist/api/brands.js +6 -6
- package/dist/api/cart.js +6 -6
- package/dist/api/category.js +6 -6
- package/dist/api/client.js +3 -3
- package/dist/api/home.js +4 -4
- package/dist/api/loyalty.js +6 -6
- package/dist/api/menu.js +4 -4
- package/dist/api/notification.js +4 -4
- package/dist/api/order.js +6 -6
- package/dist/api/page.js +6 -6
- package/dist/api/product.js +6 -6
- package/dist/api/profile.js +3 -3
- package/dist/api/store.js +5 -5
- package/dist/api/translations.js +4 -4
- package/dist/api/user.js +4 -4
- package/dist/api/wallet.js +4 -4
- package/dist/api/wishlist.js +7 -7
- package/dist/{chunk-BXMU3ARO.js → chunk-2N6XZZ4W.js} +4 -4
- package/dist/{chunk-BXMU3ARO.js.map → chunk-2N6XZZ4W.js.map} +1 -1
- package/dist/{chunk-KVBWIXXG.js → chunk-2ZESCQRM.js} +3 -3
- package/dist/{chunk-KVBWIXXG.js.map → chunk-2ZESCQRM.js.map} +1 -1
- package/dist/{chunk-RWAOBMAK.js → chunk-52QZKUDU.js} +6 -6
- package/dist/{chunk-RWAOBMAK.js.map → chunk-52QZKUDU.js.map} +1 -1
- package/dist/{chunk-BBQATCYN.js → chunk-5JZSBFA5.js} +3 -3
- package/dist/{chunk-BBQATCYN.js.map → chunk-5JZSBFA5.js.map} +1 -1
- package/dist/{chunk-N6ZE6HUX.js → chunk-5V4W3GBI.js} +5 -5
- package/dist/{chunk-N6ZE6HUX.js.map → chunk-5V4W3GBI.js.map} +1 -1
- package/dist/{chunk-3E3ABCPC.js → chunk-6TFM3UTF.js} +3 -3
- package/dist/{chunk-3E3ABCPC.js.map → chunk-6TFM3UTF.js.map} +1 -1
- package/dist/{chunk-CRO7DXS3.js → chunk-7NTPNCIK.js} +3 -3
- package/dist/{chunk-CRO7DXS3.js.map → chunk-7NTPNCIK.js.map} +1 -1
- package/dist/{chunk-LVUH4FOB.js → chunk-AJM7KUA3.js} +5 -5
- package/dist/{chunk-LVUH4FOB.js.map → chunk-AJM7KUA3.js.map} +1 -1
- package/dist/{chunk-WU5Z4JGX.js → chunk-BMCECPSU.js} +3 -3
- package/dist/{chunk-WU5Z4JGX.js.map → chunk-BMCECPSU.js.map} +1 -1
- package/dist/{chunk-O7OFWC34.js → chunk-DHWMC6VU.js} +4 -4
- package/dist/{chunk-O7OFWC34.js.map → chunk-DHWMC6VU.js.map} +1 -1
- package/dist/{chunk-YVQXIZY7.js → chunk-DMR3ICV5.js} +6 -6
- package/dist/{chunk-YVQXIZY7.js.map → chunk-DMR3ICV5.js.map} +1 -1
- package/dist/{chunk-WQPG22DY.js → chunk-EGI7F57E.js} +3 -3
- package/dist/{chunk-WQPG22DY.js.map → chunk-EGI7F57E.js.map} +1 -1
- package/dist/{chunk-3KTDODC5.js → chunk-ETC7OJT5.js} +3 -3
- package/dist/{chunk-3KTDODC5.js.map → chunk-ETC7OJT5.js.map} +1 -1
- package/dist/{chunk-PYUTATUY.js → chunk-FPGR63AQ.js} +3 -3
- package/dist/{chunk-PYUTATUY.js.map → chunk-FPGR63AQ.js.map} +1 -1
- package/dist/{chunk-AXTVBTO4.js → chunk-GBMMP344.js} +22 -22
- package/dist/{chunk-AXTVBTO4.js.map → chunk-GBMMP344.js.map} +1 -1
- package/dist/{chunk-5XWGYFZ2.js → chunk-GFRJHCRX.js} +4 -4
- package/dist/{chunk-5XWGYFZ2.js.map → chunk-GFRJHCRX.js.map} +1 -1
- package/dist/{chunk-TF6HFXTW.js → chunk-H7LRGY7U.js} +3 -3
- package/dist/{chunk-TF6HFXTW.js.map → chunk-H7LRGY7U.js.map} +1 -1
- package/dist/{chunk-TAVF4E7T.js → chunk-HJGN3XVG.js} +8 -8
- package/dist/{chunk-TAVF4E7T.js.map → chunk-HJGN3XVG.js.map} +1 -1
- package/dist/{chunk-2ZR562TA.js → chunk-HRW4YFHR.js} +5 -5
- package/dist/{chunk-2ZR562TA.js.map → chunk-HRW4YFHR.js.map} +1 -1
- package/dist/{chunk-HOJ5E2PG.js → chunk-IHOUADLX.js} +3 -3
- package/dist/{chunk-HOJ5E2PG.js.map → chunk-IHOUADLX.js.map} +1 -1
- package/dist/{chunk-S4KV6QGP.js → chunk-ITNUDQVP.js} +27 -20
- package/dist/chunk-ITNUDQVP.js.map +1 -0
- package/dist/{chunk-6JH4QYKT.js → chunk-KGSB2Y7O.js} +4 -4
- package/dist/{chunk-6JH4QYKT.js.map → chunk-KGSB2Y7O.js.map} +1 -1
- package/dist/{chunk-W5LVGFHX.js → chunk-KKTVDCVO.js} +6 -6
- package/dist/{chunk-W5LVGFHX.js.map → chunk-KKTVDCVO.js.map} +1 -1
- package/dist/{chunk-LNTLWEYI.js → chunk-LSMKTPIE.js} +4 -4
- package/dist/{chunk-LNTLWEYI.js.map → chunk-LSMKTPIE.js.map} +1 -1
- package/dist/{chunk-LFHYQ6AN.js → chunk-M5WTY3EH.js} +3 -3
- package/dist/{chunk-LFHYQ6AN.js.map → chunk-M5WTY3EH.js.map} +1 -1
- package/dist/{chunk-RYGEIQWO.js → chunk-MGG4XAJ5.js} +3 -3
- package/dist/{chunk-RYGEIQWO.js.map → chunk-MGG4XAJ5.js.map} +1 -1
- package/dist/{chunk-GN7V2QHO.js → chunk-MIAVMNPM.js} +6 -6
- package/dist/{chunk-GN7V2QHO.js.map → chunk-MIAVMNPM.js.map} +1 -1
- package/dist/{chunk-4L5RHZHJ.js → chunk-N44U2AA7.js} +4 -4
- package/dist/{chunk-4L5RHZHJ.js.map → chunk-N44U2AA7.js.map} +1 -1
- package/dist/{chunk-7IQFONJR.js → chunk-NGWHUW34.js} +3 -3
- package/dist/{chunk-7IQFONJR.js.map → chunk-NGWHUW34.js.map} +1 -1
- package/dist/{chunk-GUODUINX.js → chunk-NLKLS3GZ.js} +5 -5
- package/dist/{chunk-GUODUINX.js.map → chunk-NLKLS3GZ.js.map} +1 -1
- package/dist/{chunk-VNEMV6IC.js → chunk-NR5YIBTS.js} +4 -4
- package/dist/{chunk-VNEMV6IC.js.map → chunk-NR5YIBTS.js.map} +1 -1
- package/dist/{chunk-AT6YLLT4.js → chunk-OLL5OGQ5.js} +4 -4
- package/dist/{chunk-AT6YLLT4.js.map → chunk-OLL5OGQ5.js.map} +1 -1
- package/dist/{chunk-AD4QPYNG.js → chunk-PCB5DCS4.js} +4 -4
- package/dist/{chunk-AD4QPYNG.js.map → chunk-PCB5DCS4.js.map} +1 -1
- package/dist/{chunk-GCXFTIHV.js → chunk-QIHSKEWU.js} +4 -4
- package/dist/{chunk-GCXFTIHV.js.map → chunk-QIHSKEWU.js.map} +1 -1
- package/dist/{chunk-MWYKP7CI.js → chunk-QMWP2ZP6.js} +3 -3
- package/dist/{chunk-MWYKP7CI.js.map → chunk-QMWP2ZP6.js.map} +1 -1
- package/dist/{chunk-ODP2N7CD.js → chunk-R64ITZ7U.js} +4 -4
- package/dist/{chunk-ODP2N7CD.js.map → chunk-R64ITZ7U.js.map} +1 -1
- package/dist/{chunk-5UWRPWK2.js → chunk-R7VWIXFX.js} +3 -3
- package/dist/{chunk-5UWRPWK2.js.map → chunk-R7VWIXFX.js.map} +1 -1
- package/dist/{chunk-VV7MDVGS.js → chunk-RJKMW36K.js} +8 -8
- package/dist/{chunk-VV7MDVGS.js.map → chunk-RJKMW36K.js.map} +1 -1
- package/dist/{chunk-Q7E4TNN7.js → chunk-SLBO4SEE.js} +3 -3
- package/dist/{chunk-Q7E4TNN7.js.map → chunk-SLBO4SEE.js.map} +1 -1
- package/dist/{chunk-FXVII733.js → chunk-T2752RH7.js} +27 -3
- package/dist/chunk-T2752RH7.js.map +1 -0
- package/dist/{chunk-MDU7ERR3.js → chunk-TF46NIZF.js} +4 -4
- package/dist/{chunk-MDU7ERR3.js.map → chunk-TF46NIZF.js.map} +1 -1
- package/dist/{chunk-MZ4LTJQD.js → chunk-TWYTA2SX.js} +7 -7
- package/dist/{chunk-MZ4LTJQD.js.map → chunk-TWYTA2SX.js.map} +1 -1
- package/dist/{chunk-G3NCSKQ3.js → chunk-U2UNWN4G.js} +5 -5
- package/dist/{chunk-G3NCSKQ3.js.map → chunk-U2UNWN4G.js.map} +1 -1
- package/dist/{chunk-W6KPVZZR.js → chunk-U5TWRPMK.js} +7 -7
- package/dist/{chunk-W6KPVZZR.js.map → chunk-U5TWRPMK.js.map} +1 -1
- package/dist/{chunk-JYPIPQ3V.js → chunk-VCMGBB5Y.js} +3 -3
- package/dist/{chunk-JYPIPQ3V.js.map → chunk-VCMGBB5Y.js.map} +1 -1
- package/dist/{chunk-P3WHN7JA.js → chunk-VZRZQV4Q.js} +3 -3
- package/dist/{chunk-P3WHN7JA.js.map → chunk-VZRZQV4Q.js.map} +1 -1
- package/dist/{chunk-WATFGHFK.js → chunk-WIDH6AK6.js} +4 -4
- package/dist/{chunk-WATFGHFK.js.map → chunk-WIDH6AK6.js.map} +1 -1
- package/dist/{chunk-V46O3Z7J.js → chunk-X4ITNSMT.js} +5 -5
- package/dist/{chunk-V46O3Z7J.js.map → chunk-X4ITNSMT.js.map} +1 -1
- package/dist/{chunk-NHA4SBKG.js → chunk-XMRNYUQY.js} +3 -3
- package/dist/{chunk-NHA4SBKG.js.map → chunk-XMRNYUQY.js.map} +1 -1
- package/dist/{chunk-IVZNTLAA.js → chunk-XV3HPKLI.js} +3 -3
- package/dist/{chunk-IVZNTLAA.js.map → chunk-XV3HPKLI.js.map} +1 -1
- package/dist/{chunk-IAM44RPN.js → chunk-YQOCPSOI.js} +4 -4
- package/dist/{chunk-IAM44RPN.js.map → chunk-YQOCPSOI.js.map} +1 -1
- package/dist/{chunk-C6WYORKW.js → chunk-YYVZFOUI.js} +3 -3
- package/dist/{chunk-C6WYORKW.js.map → chunk-YYVZFOUI.js.map} +1 -1
- package/dist/components/cart/index.js +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/drawer/index.js +23 -23
- package/dist/components/home/index.js +28 -28
- package/dist/components/layout/index.js +6 -6
- package/dist/components/product/index.js +25 -25
- package/dist/components/store/index.js +24 -24
- package/dist/components/toast/index.js +4 -4
- package/dist/dev/editor/index.js +2 -2
- package/dist/dev/index.js +2 -2
- package/dist/document-class-VHDNGZQK.js +32 -0
- package/dist/{document-class-TRLFCQHJ.js.map → document-class-VHDNGZQK.js.map} +1 -1
- package/dist/hooks/index.js +23 -23
- package/dist/hooks/useComments.js +3 -3
- package/dist/hooks/useGtm.js +23 -23
- package/dist/hooks/useMoney.js +23 -23
- package/dist/hooks/useProduct.js +3 -3
- package/dist/hooks/useStore.js +23 -23
- package/dist/hooks/useUser.js +5 -5
- package/dist/hooks/useWishlist.js +3 -3
- package/dist/index.js +23 -23
- package/dist/native-app/index.js +3 -3
- package/dist/{navigation-HWFEKUG6.js → navigation-C5K5SOU2.js} +8 -8
- package/dist/{navigation-HWFEKUG6.js.map → navigation-C5K5SOU2.js.map} +1 -1
- package/dist/{navigation-E75N4EU3.js → navigation-VW5P7XQM.js} +7 -7
- package/dist/{navigation-E75N4EU3.js.map → navigation-VW5P7XQM.js.map} +1 -1
- package/dist/{not-found-7SZU5K7G.js → not-found-U2LJEYDT.js} +26 -26
- package/dist/{not-found-7SZU5K7G.js.map → not-found-U2LJEYDT.js.map} +1 -1
- package/dist/providers/index.js +23 -23
- package/dist/routes/account/orders.js +8 -8
- package/dist/routes/account.js +17 -17
- package/dist/routes/blog.js +12 -12
- package/dist/routes/brands.js +8 -8
- package/dist/routes/cart.js +32 -32
- package/dist/routes/home.js +29 -29
- package/dist/routes/index.js +6 -6
- package/dist/routes/loyalty.js +9 -9
- package/dist/routes/page.js +8 -8
- package/dist/routes/product-listing.js +30 -30
- package/dist/routes/product.js +28 -28
- package/dist/routes/root/beforeLoad.d.ts.map +1 -1
- package/dist/routes/seo-redirects.js +6 -6
- package/dist/routes/testimonials.js +4 -4
- package/dist/routes/thank-you.js +8 -8
- package/dist/skeleton.js +29 -29
- package/dist/{store-lookup-LGYGZ4PU.js → store-lookup-YL4EUIS2.js} +11 -11
- package/dist/{store-lookup-LGYGZ4PU.js.map → store-lookup-YL4EUIS2.js.map} +1 -1
- package/dist/tanstack.js +19 -19
- package/dist/types/index.d.ts +5 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/baseHead.js +2 -2
- package/dist/utils/index.js +6 -6
- package/dist/utils/store-base.d.ts +30 -0
- package/dist/utils/store-base.d.ts.map +1 -1
- package/dist/utils/store-identity.d.ts +8 -0
- package/dist/utils/store-identity.d.ts.map +1 -1
- package/dist/vite/index.js +3 -3
- package/package.json +1 -1
- package/tailwind/routes/root/beforeLoad.ts.txt +27 -9
- package/dist/chunk-FXVII733.js.map +0 -1
- package/dist/chunk-S4KV6QGP.js.map +0 -1
- package/dist/document-class-TRLFCQHJ.js +0 -32
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { NavigationSetup, TanStackNavigationProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { NavigationSetup, TanStackNavigationProvider } from './chunk-KKTVDCVO.js';
|
|
2
|
+
import './chunk-HRW4YFHR.js';
|
|
3
3
|
import './chunk-OUW6WESU.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-U2UNWN4G.js';
|
|
5
5
|
import './chunk-Z5M4YYWT.js';
|
|
6
6
|
import './chunk-BYMOPN2S.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-6TFM3UTF.js';
|
|
8
|
+
import './chunk-XMRNYUQY.js';
|
|
9
|
+
import './chunk-T2752RH7.js';
|
|
10
10
|
import './chunk-6K34BCUP.js';
|
|
11
11
|
import './chunk-T72DAX7R.js';
|
|
12
12
|
import './chunk-DF6FBKDN.js';
|
|
13
13
|
import './chunk-DGUM43GV.js';
|
|
14
|
-
//# sourceMappingURL=navigation-
|
|
15
|
-
//# sourceMappingURL=navigation-
|
|
14
|
+
//# sourceMappingURL=navigation-C5K5SOU2.js.map
|
|
15
|
+
//# sourceMappingURL=navigation-C5K5SOU2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"navigation-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"navigation-C5K5SOU2.js"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NextJsLinkAdapter } from './chunk-HTGBIA7K.js';
|
|
2
|
-
import { NavigationProvider, defaultNavigate } from './chunk-
|
|
2
|
+
import { NavigationProvider, defaultNavigate } from './chunk-HRW4YFHR.js';
|
|
3
3
|
import './chunk-OUW6WESU.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-U2UNWN4G.js';
|
|
5
5
|
import './chunk-Z5M4YYWT.js';
|
|
6
6
|
import { LinkProvider } from './chunk-BYMOPN2S.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-6TFM3UTF.js';
|
|
8
|
+
import './chunk-XMRNYUQY.js';
|
|
9
|
+
import './chunk-T2752RH7.js';
|
|
10
10
|
import './chunk-6K34BCUP.js';
|
|
11
11
|
import './chunk-T72DAX7R.js';
|
|
12
12
|
import './chunk-DF6FBKDN.js';
|
|
@@ -18,5 +18,5 @@ function NavigationSetup({ children }) {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export { NavigationSetup };
|
|
21
|
-
//# sourceMappingURL=navigation-
|
|
22
|
-
//# sourceMappingURL=navigation-
|
|
21
|
+
//# sourceMappingURL=navigation-VW5P7XQM.js.map
|
|
22
|
+
//# sourceMappingURL=navigation-VW5P7XQM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/nextjs/navigation.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AASO,SAAS,eAAA,CAAgB,EAAE,QAAA,EAAS,EAA4B;AACrE,EAAA,uBACE,GAAA,CAAC,sBAAmB,QAAA,EAAU,eAAA,EAC5B,8BAAC,YAAA,EAAA,EAAa,OAAA,EAAS,iBAAA,EAAoB,QAAA,EAAS,CAAA,EACtD,CAAA;AAEJ","file":"navigation-
|
|
1
|
+
{"version":3,"sources":["../src/nextjs/navigation.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AASO,SAAS,eAAA,CAAgB,EAAE,QAAA,EAAS,EAA4B;AACrE,EAAA,uBACE,GAAA,CAAC,sBAAmB,QAAA,EAAU,eAAA,EAC5B,8BAAC,YAAA,EAAA,EAAa,OAAA,EAAS,iBAAA,EAAoB,QAAA,EAAS,CAAA,EACtD,CAAA;AAEJ","file":"navigation-VW5P7XQM.js","sourcesContent":["import { NavigationProvider, defaultNavigate } from '../providers/NavigationProvider';\nimport { LinkProvider } from '../providers/LinkProvider';\nimport { NextJsLinkAdapter } from './link';\nimport type { ReactNode } from 'react';\n\n/**\n * Next.js navigation setup - wraps children with NavigationProvider and LinkProvider.\n * Called by TwilightProvider when client.framework === 'nextjs'.\n */\nexport function NavigationSetup({ children }: { children: ReactNode }) {\n return (\n <NavigationProvider navigate={defaultNavigate}>\n <LinkProvider adapter={NextJsLinkAdapter}>{children}</LinkProvider>\n </NavigationProvider>\n );\n}\n"]}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { product } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { product } from './chunk-WIDH6AK6.js';
|
|
2
|
+
import './chunk-GBMMP344.js';
|
|
3
3
|
import './chunk-Q77J3D2W.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-U5TWRPMK.js';
|
|
5
|
+
import './chunk-YYVZFOUI.js';
|
|
6
|
+
import './chunk-5V4W3GBI.js';
|
|
7
7
|
import './chunk-X55R4VVK.js';
|
|
8
8
|
import './chunk-YL6X3ZMG.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-PCB5DCS4.js';
|
|
10
10
|
import './chunk-OXMUPNMH.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-NGWHUW34.js';
|
|
12
12
|
import './chunk-VVZNW5CB.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-EGI7F57E.js';
|
|
14
14
|
import './chunk-GD26FI4J.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import { useLocation, useNavigate } from './chunk-
|
|
15
|
+
import './chunk-SLBO4SEE.js';
|
|
16
|
+
import './chunk-MGG4XAJ5.js';
|
|
17
|
+
import { useLocation, useNavigate } from './chunk-HRW4YFHR.js';
|
|
18
18
|
import './chunk-OUW6WESU.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-IHOUADLX.js';
|
|
20
20
|
import './chunk-HI5V5X3S.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
21
|
+
import './chunk-XV3HPKLI.js';
|
|
22
|
+
import './chunk-5JZSBFA5.js';
|
|
23
23
|
import './chunk-MVT5AF2A.js';
|
|
24
24
|
import './chunk-Z653O7MX.js';
|
|
25
25
|
import './chunk-ZCH7W7DZ.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-H7LRGY7U.js';
|
|
27
27
|
import './chunk-JWXJPJBO.js';
|
|
28
28
|
import './chunk-CW625T2E.js';
|
|
29
29
|
import './chunk-7V36I5GT.js';
|
|
30
30
|
import './chunk-6WI7R2BD.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-M5WTY3EH.js';
|
|
32
32
|
import './chunk-OAMIDZKW.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-KGSB2Y7O.js';
|
|
34
34
|
import './chunk-OQIIJRAS.js';
|
|
35
35
|
import './chunk-V2ZDTY6H.js';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-ETC7OJT5.js';
|
|
37
37
|
import { HookSlot } from './chunk-5XDPAKF5.js';
|
|
38
38
|
import './chunk-GCPEMNSU.js';
|
|
39
|
-
import './chunk-
|
|
39
|
+
import './chunk-U2UNWN4G.js';
|
|
40
40
|
import './chunk-Z5M4YYWT.js';
|
|
41
41
|
import { useTranslation } from './chunk-TYNZ5B2B.js';
|
|
42
|
-
import { LazyErrorPage } from './chunk-
|
|
42
|
+
import { LazyErrorPage } from './chunk-VZRZQV4Q.js';
|
|
43
43
|
import './chunk-AXW67SY7.js';
|
|
44
44
|
import './chunk-BYMOPN2S.js';
|
|
45
45
|
import './chunk-SKLEJJ6M.js';
|
|
@@ -47,10 +47,10 @@ import './chunk-6BZ5TKEV.js';
|
|
|
47
47
|
import './chunk-FZKRSGLP.js';
|
|
48
48
|
import './chunk-KYMWEUN2.js';
|
|
49
49
|
import './chunk-YA6ABQB7.js';
|
|
50
|
-
import './chunk-
|
|
51
|
-
import './chunk-
|
|
52
|
-
import './chunk-
|
|
53
|
-
import './chunk-
|
|
50
|
+
import './chunk-QMWP2ZP6.js';
|
|
51
|
+
import './chunk-6TFM3UTF.js';
|
|
52
|
+
import './chunk-XMRNYUQY.js';
|
|
53
|
+
import './chunk-T2752RH7.js';
|
|
54
54
|
import './chunk-6K34BCUP.js';
|
|
55
55
|
import { isLocale } from './chunk-T72DAX7R.js';
|
|
56
56
|
import './chunk-DF6FBKDN.js';
|
|
@@ -157,5 +157,5 @@ function NotFoundPage(props = {}) {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
export { NotFoundPage };
|
|
160
|
-
//# sourceMappingURL=not-found-
|
|
161
|
-
//# sourceMappingURL=not-found-
|
|
160
|
+
//# sourceMappingURL=not-found-U2LJEYDT.js.map
|
|
161
|
+
//# sourceMappingURL=not-found-U2LJEYDT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/routes/product-short-link.ts","../src/routes/not-found.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAM,UAAA,GAAa,qBAAA;AAOZ,SAAS,mBAAmB,QAAA,EAA4D;AAC7F,EAAA,MAAM,WAAW,QAAA,CAAS,KAAA,CAAM,GAAG,CAAA,CAAE,OAAO,OAAO,CAAA;AACnD,EAAA,IAAI,QAAA,CAAS,MAAA,KAAW,CAAA,IAAK,QAAA,CAAS,QAAA,CAAS,CAAC,CAAC,CAAA,IAAK,UAAA,CAAW,IAAA,CAAK,QAAA,CAAS,CAAC,CAAC,CAAA,EAAG;AAClF,IAAA,OAAO,EAAE,MAAM,QAAA,CAAS,CAAC,GAAG,MAAA,EAAQ,QAAA,CAAS,CAAC,CAAA,EAAE;AAAA,EAClD;AACA,EAAA,IAAI,QAAA,CAAS,MAAA,KAAW,CAAA,IAAK,CAAC,SAAS,QAAA,CAAS,CAAC,CAAC,CAAA,IAAK,U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AAQ,WAAA,EAAa,MAAA,EAAQ,QAAQ,CAAC,CAAA;AAE1C,EAAA,OAAO,CAAC,CAAC,MAAA,IAAU,MAAA,KAAW,MAAA;AAChC;ACpFO,SAAS,YAAA,CAAa,KAAA,GAA2B,EAAC,EAAG;AAC1D,EAAA,MAAM,EAAE,CAAA,EAAE,GAAI,cAAA,EAAe;AAE7B,EAAA,MAAM,qBAAqB,mBAAA,EAAoB;AAE/C,EAAA,MAAM;AAAA,IACJ,KAAA,GAAQ,CAAA,CAAE,mBAAmB,CAAA,IAAK,gBAAA;AAAA,IAClC,OAAA,GAAU,CAAA,CAAE,8BAA8B,CAAA,IACxC,gEAAA;AAAA,IACF,YAAA,GAAe,IAAA;AAAA,IACf,YAAA,GAAe,CAAA,CAAE,2BAA2B,CAAA,IAAK,cAAA;AAAA,IACjD;AAAA,GACF,GAAI,KAAA;AAEJ,EAAA,IAAI,oBAAoB,OAAO,IAAA;AAE/B,EAAA,uBACE,IAAA;AAAA,IAAC,aAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,GAAA;AAAA,MACN,KAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA,EAAY,YAAA;AAAA,MACZ,UAAA,EAAY,YAAA;AAAA,MACZ,aAAA;AAAA,MAEA,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,QAAA,EAAA,EAAS,MAAK,gBAAA,EAAiB,CAAA;AAAA,wBAChC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,kBAAA,EAAmB,CAAA;AAAA,wBAClC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,cAAA,EAAe;AAAA;AAAA;AAAA,GAChC;AAEJ","file":"not-found-7SZU5K7G.js","sourcesContent":["import { useEffect, useState } from 'react';\nimport { product } from '../api/product';\nimport { isLocale } from '../providers/locale-constants';\nimport { useLocation, useNavigate } from '../providers/NavigationProvider';\n\n/** Short codes are 5-10 letters/digits (e.g. `lvXvzln`). */\nconst SHORT_CODE = /^[A-Za-z0-9]{5,10}$/;\n\n/**\n * The product short code in a path shaped `/{locale}/{code}` or `/{code}` (the\n * store base is already stripped from the router's location), plus the locale\n * segment to keep when redirecting. `null` for any other path.\n */\nexport function parseShortLinkPath(pathname: string): { code: string; locale?: string } | null {\n const segments = pathname.split('/').filter(Boolean);\n if (segments.length === 2 && isLocale(segments[0]) && SHORT_CODE.test(segments[1])) {\n return { code: segments[1], locale: segments[0] };\n }\n if (segments.length === 1 && !isLocale(segments[0]) && SHORT_CODE.test(segments[0])) {\n return { code: segments[0] };\n }\n return null;\n}\n\n/** A product URL in the stores' \"new URLs\" format: `{sku}-{name}`, or `p{id}-{name}` without a SKU. */\nconst PRODUCT_KEY = /^([0-9A-Za-z]+)-./;\n\n/** The `{sku}` or `p{id}` key of `/{locale}/{sku}-{name}` or `/{sku}-{name}`, with that locale. */\nexport function parseProductKeyPath(pathname: string): { key: string; locale?: string } | null {\n const segments = pathname.split('/').filter(Boolean);\n const hasLocale = segments.length === 2 && isLocale(segments[0]);\n if (!hasLocale && (segments.length !== 1 || isLocale(segments[0]))) return null;\n const key = segments[segments.length - 1].match(PRODUCT_KEY)?.[1];\n if (!key) return null;\n return hasLocale ? { key, locale: segments[0] } : { key };\n}\n\nfunction productKeyOf(url: string | undefined): string | undefined {\n try {\n const last = new URL(url ?? '').pathname.split('/').filter(Boolean).pop() ?? '';\n return last.match(PRODUCT_KEY)?.[1];\n } catch {\n return undefined;\n }\n}\n\n/** Like Laravel: `p{id}` is the id; anything else is a SKU, which only search can find. */\nasync function findByProductKey(key: string): Promise<number | null> {\n const id = key.match(/^p(\\d+)$/)?.[1];\n if (id) return Number(id);\n const { items } = await product.list({ source: 'search', keyword: key, perPage: 50 });\n const found = items.find((item) => productKeyOf(item.url) === key);\n return found ? Number(found.id) : null;\n}\n\n/** The SEO slug from a product URL (`…/{slug}/p{id}`), `-` when it has none. */\nexport function slugFromProductUrl(url: string | undefined): string {\n try {\n const segments = new URL(url ?? '').pathname.split('/').filter(Boolean);\n const last = segments[segments.length - 1] ?? '';\n return /^p\\d+$/.test(last) && segments.length > 1 ? segments[segments.length - 2] : '-';\n } catch {\n return '-';\n }\n}\n\n/**\n * Resolves a product URL that matched no route, a short link (`/ar/lvXvzln`) or\n * a \"new URLs\" one (`/ar/1213asa-chocolate`), and replaces the URL with the\n * product's page. Returns `true` while a lookup is in flight (so the 404 isn't\n * flashed); settles to `false` when the path is neither or doesn't resolve.\n */\nexport function useProductShortLink(): boolean {\n const { pathname } = useLocation();\n const navigate = useNavigate();\n const shortLink = parseShortLinkPath(pathname);\n const productKey = parseProductKeyPath(pathname);\n const lookup = shortLink?.code ?? productKey?.key;\n const locale = shortLink?.locale ?? productKey?.locale;\n const isShortLink = !!shortLink;\n const [failed, setFailed] = useState<string | null>(null);\n\n useEffect(() => {\n if (!lookup) return;\n let cancelled = false;\n const productPath = isShortLink\n ? product\n .find(lookup)\n .then((found) => (found?.id ? `${slugFromProductUrl(found.url)}/p${found.id}` : null))\n : findByProductKey(lookup).then((id) => (id ? `-/p${id}` : null));\n productPath\n .then((path) => {\n if (cancelled) return;\n if (!path) return setFailed(lookup);\n navigate(`${locale ? `/${locale}` : ''}/${path}`, { replace: true });\n })\n .catch(() => !cancelled && setFailed(lookup));\n return () => {\n cancelled = true;\n };\n }, [lookup, isShortLink, locale, navigate]);\n\n return !!lookup && failed !== lookup;\n}\n","import type { ComponentType, ReactNode } from 'react';\nimport { HookSlot } from '../hooks';\nimport { useTranslation } from '../providers/I18nProvider';\nimport { ErrorPage } from '../components/common';\nimport { useProductShortLink } from './product-short-link';\n\nexport interface NotFoundPageProps {\n title?: string;\n message?: string;\n showHomeLink?: boolean;\n homeLinkText?: string;\n LinkComponent?: ComponentType<{\n to: string;\n className?: string;\n style?: React.CSSProperties;\n children: ReactNode;\n }>;\n}\n\nexport function NotFoundPage(props: NotFoundPageProps = {}) {\n const { t } = useTranslation();\n // A product short link (`/ar/lvXvzln`) or \"new URLs\" link (`/ar/1213asa-name`) matches no route; resolve it instead of 404ing.\n const resolvingShortLink = useProductShortLink();\n\n const {\n title = t('common.errors.404') || 'Page Not Found',\n message = t('common.errors.error_occurred') ||\n 'The page you are looking for does not exist or has been moved.',\n showHomeLink = true,\n homeLinkText = t('common.elements.back_home') || 'Back to Home',\n LinkComponent,\n } = props;\n\n if (resolvingShortLink) return null;\n\n return (\n <ErrorPage\n code={404}\n title={title}\n message={message}\n showAction={showHomeLink}\n actionText={homeLinkText}\n LinkComponent={LinkComponent}\n >\n <HookSlot name=\"notfound:start\" />\n <HookSlot name=\"notfound:content\" />\n <HookSlot name=\"notfound:end\" />\n </ErrorPage>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/routes/product-short-link.ts","../src/routes/not-found.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAM,UAAA,GAAa,qBAAA;AAOZ,SAAS,mBAAmB,QAAA,EAA4D;AAC7F,EAAA,MAAM,WAAW,QAAA,CAAS,KAAA,CAAM,GAAG,CAAA,CAAE,OAAO,OAAO,CAAA;AACnD,EAAA,IAAI,QAAA,CAAS,MAAA,KAAW,CAAA,IAAK,QAAA,CAAS,QAAA,CAAS,CAAC,CAAC,CAAA,IAAK,UAAA,CAAW,IAAA,CAAK,QAAA,CAAS,CAAC,CAAC,CAAA,EAAG;AAClF,IAAA,OAAO,EAAE,MAAM,QAAA,CAAS,CAAC,GAAG,MAAA,EAAQ,QAAA,CAAS,CAAC,CAAA,EAAE;AAAA,EAClD;AACA,EAAA,IAAI,QAAA,CAAS,MAAA,KAAW,CAAA,IAAK,CAAC,SAAS,QAAA,CAAS,CAAC,CAAC,CAAA,IAAK,UAAA,CAAW,IAAA,CAAK,QAAA,CAAS,CAAC,CAAC,CAAA,EAAG;AACnF,IAAA,OAAO,EAAE,IAAA,EAAM,QAAA,CAAS,CAAC,CAAA,EAAE;AAAA,EAC7B;AACA,EAAA,OAAO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B,EAAC,EAAG;AAC1D,EAAA,MAAM,EAAE,CAAA,EAAE,GAAI,cAAA,EAAe;AAE7B,EAAA,MAAM,qBAAqB,mBAAA,EAAoB;AAE/C,EAAA,MAAM;AAAA,IACJ,KAAA,GAAQ,CAAA,CAAE,mBAAmB,CAAA,IAAK,gBAAA;AAAA,IAClC,OAAA,GAAU,CAAA,CAAE,8BAA8B,CAAA,IACxC,gEAAA;AAAA,IACF,YAAA,GAAe,IAAA;AAAA,IACf,YAAA,GAAe,CAAA,CAAE,2BAA2B,CAAA,IAAK,cAAA;AAAA,IACjD;AAAA,GACF,GAAI,KAAA;AAEJ,EAAA,IAAI,oBAAoB,OAAO,IAAA;AAE/B,EAAA,uBACE,IAAA;AAAA,IAAC,aAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,GAAA;AAAA,MACN,KAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA,EAAY,YAAA;AAAA,MACZ,UAAA,EAAY,YAAA;AAAA,MACZ,aAAA;AAAA,MAEA,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,QAAA,EAAA,EAAS,MAAK,gBAAA,EAAiB,CAAA;AAAA,wBAChC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,kBAAA,EAAmB,CAAA;AAAA,wBAClC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,cAAA,EAAe;AAAA;AAAA;AAAA,GAChC;AAEJ","file":"not-found-U2LJEYDT.js","sourcesContent":["import { useEffect, useState } from 'react';\nimport { product } from '../api/product';\nimport { isLocale } from '../providers/locale-constants';\nimport { useLocation, useNavigate } from '../providers/NavigationProvider';\n\n/** Short codes are 5-10 letters/digits (e.g. `lvXvzln`). */\nconst SHORT_CODE = /^[A-Za-z0-9]{5,10}$/;\n\n/**\n * The product short code in a path shaped `/{locale}/{code}` or `/{code}` (the\n * store base is already stripped from the router's location), plus the locale\n * segment to keep when redirecting. `null` for any other path.\n */\nexport function parseShortLinkPath(pathname: string): { code: string; locale?: string } | null {\n const segments = pathname.split('/').filter(Boolean);\n if (segments.length === 2 && isLocale(segments[0]) && SHORT_CODE.test(segments[1])) {\n return { code: segments[1], locale: segments[0] };\n }\n if (segments.length === 1 && !isLocale(segments[0]) && SHORT_CODE.test(segments[0])) {\n return { code: segments[0] };\n }\n return null;\n}\n\n/** A product URL in the stores' \"new URLs\" format: `{sku}-{name}`, or `p{id}-{name}` without a SKU. */\nconst PRODUCT_KEY = /^([0-9A-Za-z]+)-./;\n\n/** The `{sku}` or `p{id}` key of `/{locale}/{sku}-{name}` or `/{sku}-{name}`, with that locale. */\nexport function parseProductKeyPath(pathname: string): { key: string; locale?: string } | null {\n const segments = pathname.split('/').filter(Boolean);\n const hasLocale = segments.length === 2 && isLocale(segments[0]);\n if (!hasLocale && (segments.length !== 1 || isLocale(segments[0]))) return null;\n const key = segments[segments.length - 1].match(PRODUCT_KEY)?.[1];\n if (!key) return null;\n return hasLocale ? { key, locale: segments[0] } : { key };\n}\n\nfunction productKeyOf(url: string | undefined): string | undefined {\n try {\n const last = new URL(url ?? '').pathname.split('/').filter(Boolean).pop() ?? '';\n return last.match(PRODUCT_KEY)?.[1];\n } catch {\n return undefined;\n }\n}\n\n/** Like Laravel: `p{id}` is the id; anything else is a SKU, which only search can find. */\nasync function findByProductKey(key: string): Promise<number | null> {\n const id = key.match(/^p(\\d+)$/)?.[1];\n if (id) return Number(id);\n const { items } = await product.list({ source: 'search', keyword: key, perPage: 50 });\n const found = items.find((item) => productKeyOf(item.url) === key);\n return found ? Number(found.id) : null;\n}\n\n/** The SEO slug from a product URL (`…/{slug}/p{id}`), `-` when it has none. */\nexport function slugFromProductUrl(url: string | undefined): string {\n try {\n const segments = new URL(url ?? '').pathname.split('/').filter(Boolean);\n const last = segments[segments.length - 1] ?? '';\n return /^p\\d+$/.test(last) && segments.length > 1 ? segments[segments.length - 2] : '-';\n } catch {\n return '-';\n }\n}\n\n/**\n * Resolves a product URL that matched no route, a short link (`/ar/lvXvzln`) or\n * a \"new URLs\" one (`/ar/1213asa-chocolate`), and replaces the URL with the\n * product's page. Returns `true` while a lookup is in flight (so the 404 isn't\n * flashed); settles to `false` when the path is neither or doesn't resolve.\n */\nexport function useProductShortLink(): boolean {\n const { pathname } = useLocation();\n const navigate = useNavigate();\n const shortLink = parseShortLinkPath(pathname);\n const productKey = parseProductKeyPath(pathname);\n const lookup = shortLink?.code ?? productKey?.key;\n const locale = shortLink?.locale ?? productKey?.locale;\n const isShortLink = !!shortLink;\n const [failed, setFailed] = useState<string | null>(null);\n\n useEffect(() => {\n if (!lookup) return;\n let cancelled = false;\n const productPath = isShortLink\n ? product\n .find(lookup)\n .then((found) => (found?.id ? `${slugFromProductUrl(found.url)}/p${found.id}` : null))\n : findByProductKey(lookup).then((id) => (id ? `-/p${id}` : null));\n productPath\n .then((path) => {\n if (cancelled) return;\n if (!path) return setFailed(lookup);\n navigate(`${locale ? `/${locale}` : ''}/${path}`, { replace: true });\n })\n .catch(() => !cancelled && setFailed(lookup));\n return () => {\n cancelled = true;\n };\n }, [lookup, isShortLink, locale, navigate]);\n\n return !!lookup && failed !== lookup;\n}\n","import type { ComponentType, ReactNode } from 'react';\nimport { HookSlot } from '../hooks';\nimport { useTranslation } from '../providers/I18nProvider';\nimport { ErrorPage } from '../components/common';\nimport { useProductShortLink } from './product-short-link';\n\nexport interface NotFoundPageProps {\n title?: string;\n message?: string;\n showHomeLink?: boolean;\n homeLinkText?: string;\n LinkComponent?: ComponentType<{\n to: string;\n className?: string;\n style?: React.CSSProperties;\n children: ReactNode;\n }>;\n}\n\nexport function NotFoundPage(props: NotFoundPageProps = {}) {\n const { t } = useTranslation();\n // A product short link (`/ar/lvXvzln`) or \"new URLs\" link (`/ar/1213asa-name`) matches no route; resolve it instead of 404ing.\n const resolvingShortLink = useProductShortLink();\n\n const {\n title = t('common.errors.404') || 'Page Not Found',\n message = t('common.errors.error_occurred') ||\n 'The page you are looking for does not exist or has been moved.',\n showHomeLink = true,\n homeLinkText = t('common.elements.back_home') || 'Back to Home',\n LinkComponent,\n } = props;\n\n if (resolvingShortLink) return null;\n\n return (\n <ErrorPage\n code={404}\n title={title}\n message={message}\n showAction={showHomeLink}\n actionText={homeLinkText}\n LinkComponent={LinkComponent}\n >\n <HookSlot name=\"notfound:start\" />\n <HookSlot name=\"notfound:content\" />\n <HookSlot name=\"notfound:end\" />\n </ErrorPage>\n );\n}\n"]}
|
package/dist/providers/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
export { TwilightProvider, registerDocumentSync, routeDocumentSyncs } from '../chunk-
|
|
1
|
+
export { TwilightProvider, registerDocumentSync, routeDocumentSyncs } from '../chunk-GBMMP344.js';
|
|
2
2
|
import '../chunk-Q77J3D2W.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-U5TWRPMK.js';
|
|
4
|
+
import '../chunk-YYVZFOUI.js';
|
|
5
|
+
import '../chunk-5V4W3GBI.js';
|
|
6
6
|
import '../chunk-X55R4VVK.js';
|
|
7
7
|
import '../chunk-YL6X3ZMG.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-PCB5DCS4.js';
|
|
9
9
|
import '../chunk-OXMUPNMH.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-NGWHUW34.js';
|
|
11
11
|
import '../chunk-VVZNW5CB.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-EGI7F57E.js';
|
|
13
13
|
import '../chunk-GD26FI4J.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
export { NavigationInterceptor, NavigationProvider, NotFoundError, RedirectError, UnauthorizedError, configureNavigation, notFound, orThrow, orUnauthorized, redirect, unauthorized, useIsBlog, useIsBrands, useIsCart, useIsCustomer, useIsHome, useIsProduct, useIsSearch, useLocation, useNavigate, useRouteId } from '../chunk-
|
|
14
|
+
import '../chunk-SLBO4SEE.js';
|
|
15
|
+
import '../chunk-MGG4XAJ5.js';
|
|
16
|
+
export { NavigationInterceptor, NavigationProvider, NotFoundError, RedirectError, UnauthorizedError, configureNavigation, notFound, orThrow, orUnauthorized, redirect, unauthorized, useIsBlog, useIsBrands, useIsCart, useIsCustomer, useIsHome, useIsProduct, useIsSearch, useLocation, useNavigate, useRouteId } from '../chunk-HRW4YFHR.js';
|
|
17
17
|
export { RouteId } from '../chunk-OUW6WESU.js';
|
|
18
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-IHOUADLX.js';
|
|
19
19
|
import '../chunk-HI5V5X3S.js';
|
|
20
|
-
import '../chunk-
|
|
21
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-XV3HPKLI.js';
|
|
21
|
+
import '../chunk-5JZSBFA5.js';
|
|
22
22
|
import '../chunk-MVT5AF2A.js';
|
|
23
23
|
import '../chunk-Z653O7MX.js';
|
|
24
24
|
import '../chunk-ZCH7W7DZ.js';
|
|
25
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-H7LRGY7U.js';
|
|
26
26
|
export { DocumentClassProvider, useDocumentClassContext, useDocumentClassOutput } from '../chunk-JWXJPJBO.js';
|
|
27
27
|
import '../chunk-CW625T2E.js';
|
|
28
28
|
import '../chunk-7V36I5GT.js';
|
|
29
29
|
import '../chunk-6WI7R2BD.js';
|
|
30
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-M5WTY3EH.js';
|
|
31
31
|
import '../chunk-OAMIDZKW.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-KGSB2Y7O.js';
|
|
33
33
|
import '../chunk-OQIIJRAS.js';
|
|
34
34
|
import '../chunk-V2ZDTY6H.js';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-ETC7OJT5.js';
|
|
36
36
|
import '../chunk-5XDPAKF5.js';
|
|
37
37
|
import '../chunk-GCPEMNSU.js';
|
|
38
|
-
import '../chunk-
|
|
38
|
+
import '../chunk-U2UNWN4G.js';
|
|
39
39
|
import '../chunk-Z5M4YYWT.js';
|
|
40
40
|
import '../chunk-TYNZ5B2B.js';
|
|
41
|
-
import '../chunk-
|
|
41
|
+
import '../chunk-VZRZQV4Q.js';
|
|
42
42
|
import '../chunk-AXW67SY7.js';
|
|
43
43
|
export { LinkProvider, LinkProviderError, createLinkWithAdapter, useLinkAdapter } from '../chunk-BYMOPN2S.js';
|
|
44
44
|
import '../chunk-SKLEJJ6M.js';
|
|
@@ -46,10 +46,10 @@ import '../chunk-6BZ5TKEV.js';
|
|
|
46
46
|
import '../chunk-FZKRSGLP.js';
|
|
47
47
|
import '../chunk-KYMWEUN2.js';
|
|
48
48
|
import '../chunk-YA6ABQB7.js';
|
|
49
|
-
import '../chunk-
|
|
50
|
-
import '../chunk-
|
|
51
|
-
import '../chunk-
|
|
52
|
-
import '../chunk-
|
|
49
|
+
import '../chunk-QMWP2ZP6.js';
|
|
50
|
+
import '../chunk-6TFM3UTF.js';
|
|
51
|
+
import '../chunk-XMRNYUQY.js';
|
|
52
|
+
import '../chunk-T2752RH7.js';
|
|
53
53
|
export { SettingsError } from '../chunk-6K34BCUP.js';
|
|
54
54
|
import '../chunk-T72DAX7R.js';
|
|
55
55
|
export { useTwilight } from '../chunk-DF6FBKDN.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-RJKMW36K.js';
|
|
2
|
+
import '../../chunk-N44U2AA7.js';
|
|
3
|
+
import '../../chunk-MGG4XAJ5.js';
|
|
4
|
+
import '../../chunk-HRW4YFHR.js';
|
|
5
5
|
import '../../chunk-OUW6WESU.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-U2UNWN4G.js';
|
|
7
7
|
import '../../chunk-Z5M4YYWT.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-6TFM3UTF.js';
|
|
9
|
+
import '../../chunk-XMRNYUQY.js';
|
|
10
|
+
import '../../chunk-T2752RH7.js';
|
|
11
11
|
import '../../chunk-6K34BCUP.js';
|
|
12
12
|
import '../../chunk-T72DAX7R.js';
|
|
13
13
|
import '../../chunk-DF6FBKDN.js';
|
package/dist/routes/account.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { wallet } from '../chunk-
|
|
2
|
-
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import { notification } from '../chunk-
|
|
5
|
-
import { wishlist } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import { buildHreflangAlternates } from '../chunk-
|
|
8
|
-
import { unauthorized, orUnauthorized } from '../chunk-
|
|
1
|
+
import { wallet } from '../chunk-VCMGBB5Y.js';
|
|
2
|
+
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-RJKMW36K.js';
|
|
3
|
+
import '../chunk-N44U2AA7.js';
|
|
4
|
+
import { notification } from '../chunk-BMCECPSU.js';
|
|
5
|
+
import { wishlist } from '../chunk-TF46NIZF.js';
|
|
6
|
+
import '../chunk-WIDH6AK6.js';
|
|
7
|
+
import { buildHreflangAlternates } from '../chunk-MGG4XAJ5.js';
|
|
8
|
+
import { unauthorized, orUnauthorized } from '../chunk-HRW4YFHR.js';
|
|
9
9
|
import { RouteId } from '../chunk-OUW6WESU.js';
|
|
10
|
-
import { getAuthToken } from '../chunk-
|
|
10
|
+
import { getAuthToken } from '../chunk-U2UNWN4G.js';
|
|
11
11
|
import '../chunk-Z5M4YYWT.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-6TFM3UTF.js';
|
|
13
|
+
import '../chunk-XMRNYUQY.js';
|
|
14
|
+
import '../chunk-T2752RH7.js';
|
|
15
15
|
import { getTwilightContext } from '../chunk-6K34BCUP.js';
|
|
16
16
|
import '../chunk-T72DAX7R.js';
|
|
17
17
|
import '../chunk-DF6FBKDN.js';
|
|
@@ -32,7 +32,7 @@ async function profileLoader(_ctx) {
|
|
|
32
32
|
|
|
33
33
|
// src/routes/account/profile/index.tsx
|
|
34
34
|
var LazyProfilePage = lazyComponent(
|
|
35
|
-
() => import('../ProfilePage-
|
|
35
|
+
() => import('../ProfilePage-5PBU637J.js').then((m) => ({ default: m.ProfilePage }))
|
|
36
36
|
);
|
|
37
37
|
var ProfilePage = LazyProfilePage;
|
|
38
38
|
var Profile = {
|
|
@@ -74,7 +74,7 @@ async function wishlistLoader(ctx) {
|
|
|
74
74
|
|
|
75
75
|
// src/routes/account/wishlist/index.tsx
|
|
76
76
|
var LazyWishlistPage = lazyComponent(
|
|
77
|
-
() => import('../WishlistPage-
|
|
77
|
+
() => import('../WishlistPage-BM3XSMQF.js').then((m) => ({ default: m.WishlistPage }))
|
|
78
78
|
);
|
|
79
79
|
var WishlistPage = LazyWishlistPage;
|
|
80
80
|
var Wishlist = {
|
|
@@ -117,7 +117,7 @@ async function walletLoader(ctx) {
|
|
|
117
117
|
|
|
118
118
|
// src/routes/account/wallet/index.tsx
|
|
119
119
|
var LazyWalletPage = lazyComponent(
|
|
120
|
-
() => import('../WalletPage-
|
|
120
|
+
() => import('../WalletPage-DPWZBROY.js').then((m) => ({ default: m.WalletPage }))
|
|
121
121
|
);
|
|
122
122
|
var WalletPage = LazyWalletPage;
|
|
123
123
|
var Wallet = {
|
|
@@ -154,7 +154,7 @@ async function notificationsLoader(_ctx) {
|
|
|
154
154
|
|
|
155
155
|
// src/routes/account/notifications/index.tsx
|
|
156
156
|
var LazyNotificationsPage = lazyComponent(
|
|
157
|
-
() => import('../NotificationsPage-
|
|
157
|
+
() => import('../NotificationsPage-JMAZ2N2A.js').then((m) => ({ default: m.NotificationsPage }))
|
|
158
158
|
);
|
|
159
159
|
var NotificationsPage = LazyNotificationsPage;
|
|
160
160
|
var Notifications = {
|
|
@@ -187,7 +187,7 @@ async function settingsLoader(_ctx) {
|
|
|
187
187
|
|
|
188
188
|
// src/routes/account/settings/index.tsx
|
|
189
189
|
var LazySettingsPage = lazyComponent(
|
|
190
|
-
() => import('../SettingsPage-
|
|
190
|
+
() => import('../SettingsPage-Y5X5BNHD.js').then((m) => ({ default: m.SettingsPage }))
|
|
191
191
|
);
|
|
192
192
|
var SettingsPage = LazySettingsPage;
|
|
193
193
|
var Settings = {
|
package/dist/routes/blog.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { blog } from '../chunk-
|
|
2
|
-
import { buildHreflangAlternates } from '../chunk-
|
|
3
|
-
import { notFound, orThrow } from '../chunk-
|
|
1
|
+
import { blog } from '../chunk-GFRJHCRX.js';
|
|
2
|
+
import { buildHreflangAlternates } from '../chunk-MGG4XAJ5.js';
|
|
3
|
+
import { notFound, orThrow } from '../chunk-HRW4YFHR.js';
|
|
4
4
|
import { RouteId } from '../chunk-OUW6WESU.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-U2UNWN4G.js';
|
|
6
6
|
import '../chunk-Z5M4YYWT.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-6TFM3UTF.js';
|
|
8
|
+
import '../chunk-XMRNYUQY.js';
|
|
9
|
+
import '../chunk-T2752RH7.js';
|
|
10
10
|
import { getTwilightContext } from '../chunk-6K34BCUP.js';
|
|
11
11
|
import '../chunk-T72DAX7R.js';
|
|
12
12
|
import '../chunk-DF6FBKDN.js';
|
|
@@ -147,19 +147,19 @@ async function blogTagLoader({
|
|
|
147
147
|
|
|
148
148
|
// src/routes/blog/index.tsx
|
|
149
149
|
var LazyBlogPage = lazyComponent(
|
|
150
|
-
() => import('../BlogPage-
|
|
150
|
+
() => import('../BlogPage-ZCGNKBLI.js').then((m) => ({ default: m.BlogPage }))
|
|
151
151
|
);
|
|
152
152
|
var LazyBlogSinglePage = lazyComponent(
|
|
153
|
-
() => import('../BlogSinglePage-
|
|
153
|
+
() => import('../BlogSinglePage-TH7Z3MKB.js').then((m) => ({ default: m.BlogSinglePage }))
|
|
154
154
|
);
|
|
155
155
|
var LazyBlogAuthorPage = lazyComponent(
|
|
156
|
-
() => import('../BlogAuthorPage-
|
|
156
|
+
() => import('../BlogAuthorPage-BXRIYXVN.js').then((m) => ({ default: m.BlogAuthorPage }))
|
|
157
157
|
);
|
|
158
158
|
var LazyBlogCategoryPage = lazyComponent(
|
|
159
|
-
() => import('../BlogCategoryPage-
|
|
159
|
+
() => import('../BlogCategoryPage-GHWC2WVM.js').then((m) => ({ default: m.BlogCategoryPage }))
|
|
160
160
|
);
|
|
161
161
|
var LazyBlogTagPage = lazyComponent(
|
|
162
|
-
() => import('../BlogTagPage-
|
|
162
|
+
() => import('../BlogTagPage-GM422SOW.js').then((m) => ({ default: m.BlogTagPage }))
|
|
163
163
|
);
|
|
164
164
|
var BlogPage = LazyBlogPage;
|
|
165
165
|
var BlogSinglePage = LazyBlogSinglePage;
|
package/dist/routes/brands.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { brand } from '../chunk-
|
|
2
|
-
import { buildHreflangAlternates } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
import { brand } from '../chunk-LSMKTPIE.js';
|
|
2
|
+
import { buildHreflangAlternates } from '../chunk-MGG4XAJ5.js';
|
|
3
|
+
import '../chunk-HRW4YFHR.js';
|
|
4
4
|
import { RouteId } from '../chunk-OUW6WESU.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-U2UNWN4G.js';
|
|
6
6
|
import '../chunk-Z5M4YYWT.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-6TFM3UTF.js';
|
|
8
|
+
import '../chunk-XMRNYUQY.js';
|
|
9
|
+
import '../chunk-T2752RH7.js';
|
|
10
10
|
import { getTwilightContext } from '../chunk-6K34BCUP.js';
|
|
11
11
|
import '../chunk-T72DAX7R.js';
|
|
12
12
|
import '../chunk-DF6FBKDN.js';
|
|
@@ -26,7 +26,7 @@ async function brandsLoader() {
|
|
|
26
26
|
|
|
27
27
|
// src/routes/brands/index.tsx
|
|
28
28
|
var LazyBrandsPage = lazyComponent(
|
|
29
|
-
() => import('../BrandsPage-
|
|
29
|
+
() => import('../BrandsPage-LNNPU4NX.js').then((m) => ({ default: m.BrandsPage }))
|
|
30
30
|
);
|
|
31
31
|
var BrandsPage = LazyBrandsPage;
|
|
32
32
|
async function brandsLoaderWithExtend(_ctx, extend) {
|
package/dist/routes/cart.js
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { cart } from '../chunk-
|
|
2
|
-
import { loyalty } from '../chunk-
|
|
1
|
+
import { cart } from '../chunk-AJM7KUA3.js';
|
|
2
|
+
import { loyalty } from '../chunk-OLL5OGQ5.js';
|
|
3
3
|
import { CartSkeleton } from '../chunk-N7CCSGZF.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-52QZKUDU.js';
|
|
5
5
|
import '../chunk-IXHM24Z4.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import { LazySeoCartWidget, LazyCartItem, LazyCartSummary } from '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-HJGN3XVG.js';
|
|
7
|
+
import '../chunk-7NTPNCIK.js';
|
|
8
|
+
import '../chunk-WIDH6AK6.js';
|
|
9
|
+
import { LazySeoCartWidget, LazyCartItem, LazyCartSummary } from '../chunk-X4ITNSMT.js';
|
|
10
|
+
import '../chunk-MIAVMNPM.js';
|
|
11
|
+
import '../chunk-NLKLS3GZ.js';
|
|
12
12
|
import '../chunk-Y32RHCOH.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-GBMMP344.js';
|
|
14
14
|
import '../chunk-Q77J3D2W.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-U5TWRPMK.js';
|
|
16
|
+
import '../chunk-YYVZFOUI.js';
|
|
17
|
+
import '../chunk-5V4W3GBI.js';
|
|
18
18
|
import '../chunk-X55R4VVK.js';
|
|
19
19
|
import '../chunk-YL6X3ZMG.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-PCB5DCS4.js';
|
|
21
21
|
import '../chunk-OXMUPNMH.js';
|
|
22
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-NGWHUW34.js';
|
|
23
23
|
import '../chunk-VVZNW5CB.js';
|
|
24
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-EGI7F57E.js';
|
|
25
25
|
import '../chunk-GD26FI4J.js';
|
|
26
|
-
import '../chunk-
|
|
27
|
-
import { buildHreflangAlternates } from '../chunk-
|
|
28
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-SLBO4SEE.js';
|
|
27
|
+
import { buildHreflangAlternates } from '../chunk-MGG4XAJ5.js';
|
|
28
|
+
import '../chunk-HRW4YFHR.js';
|
|
29
29
|
import { RouteId } from '../chunk-OUW6WESU.js';
|
|
30
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-IHOUADLX.js';
|
|
31
31
|
import '../chunk-HI5V5X3S.js';
|
|
32
|
-
import '../chunk-
|
|
33
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-XV3HPKLI.js';
|
|
33
|
+
import '../chunk-5JZSBFA5.js';
|
|
34
34
|
import '../chunk-MVT5AF2A.js';
|
|
35
35
|
import '../chunk-Z653O7MX.js';
|
|
36
36
|
import '../chunk-ZCH7W7DZ.js';
|
|
37
|
-
import '../chunk-
|
|
37
|
+
import '../chunk-H7LRGY7U.js';
|
|
38
38
|
import '../chunk-JWXJPJBO.js';
|
|
39
39
|
import '../chunk-CW625T2E.js';
|
|
40
40
|
import '../chunk-7V36I5GT.js';
|
|
41
41
|
import '../chunk-6WI7R2BD.js';
|
|
42
|
-
import '../chunk-
|
|
42
|
+
import '../chunk-M5WTY3EH.js';
|
|
43
43
|
import '../chunk-OAMIDZKW.js';
|
|
44
|
-
import '../chunk-
|
|
44
|
+
import '../chunk-KGSB2Y7O.js';
|
|
45
45
|
import '../chunk-OQIIJRAS.js';
|
|
46
46
|
import '../chunk-V2ZDTY6H.js';
|
|
47
|
-
import '../chunk-
|
|
47
|
+
import '../chunk-ETC7OJT5.js';
|
|
48
48
|
import { HookSlot } from '../chunk-5XDPAKF5.js';
|
|
49
49
|
import '../chunk-GCPEMNSU.js';
|
|
50
|
-
import '../chunk-
|
|
50
|
+
import '../chunk-U2UNWN4G.js';
|
|
51
51
|
import '../chunk-Z5M4YYWT.js';
|
|
52
52
|
import { useTranslation } from '../chunk-TYNZ5B2B.js';
|
|
53
|
-
import { LazyBreadcrumb, LazyNoContent } from '../chunk-
|
|
53
|
+
import { LazyBreadcrumb, LazyNoContent } from '../chunk-VZRZQV4Q.js';
|
|
54
54
|
import '../chunk-AXW67SY7.js';
|
|
55
55
|
import '../chunk-BYMOPN2S.js';
|
|
56
56
|
import '../chunk-SKLEJJ6M.js';
|
|
@@ -58,10 +58,10 @@ import '../chunk-6BZ5TKEV.js';
|
|
|
58
58
|
import '../chunk-FZKRSGLP.js';
|
|
59
59
|
import '../chunk-KYMWEUN2.js';
|
|
60
60
|
import '../chunk-YA6ABQB7.js';
|
|
61
|
-
import '../chunk-
|
|
62
|
-
import '../chunk-
|
|
63
|
-
import '../chunk-
|
|
64
|
-
import '../chunk-
|
|
61
|
+
import '../chunk-QMWP2ZP6.js';
|
|
62
|
+
import '../chunk-6TFM3UTF.js';
|
|
63
|
+
import '../chunk-XMRNYUQY.js';
|
|
64
|
+
import '../chunk-T2752RH7.js';
|
|
65
65
|
import { getTwilightContext } from '../chunk-6K34BCUP.js';
|
|
66
66
|
import '../chunk-T72DAX7R.js';
|
|
67
67
|
import { useTwilight } from '../chunk-DF6FBKDN.js';
|