tabexseriescomponents 0.2.770 → 0.2.772
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +734 -701
- package/dist/index.esm.js +734 -701
- package/dist/index.umd.js +737 -704
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-datepicker'), require('@react-icons/all-files/fi/FiCalendar'), require('@mui/system'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('react-select'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/fa/FaMap'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/fi/FiArrowUpRight'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/fi/FiArrowUpLeft'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaSnapchat'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/fa/FaGoogle'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaPinterestP'), require('@react-icons/all-files/fa/FaTripadvisor'), require('@react-icons/all-files/fa/FaBehance'), require('@react-icons/all-files/fi/FiHome'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-countdown-circle-timer'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-datepicker', '@react-icons/all-files/fi/FiCalendar', '@mui/system', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', 'react-select', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/fa/FaMap', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/fi/FiArrowUpRight', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/fi/FiArrowUpLeft', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaSnapchat', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/fa/FaGoogle', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaPinterestP', '@react-icons/all-files/fa/FaTripadvisor', '@react-icons/all-files/fa/FaBehance', '@react-icons/all-files/fi/FiHome', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-countdown-circle-timer', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._possibleConstructorReturn, global._getPrototypeOf, global._inherits, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox$1, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.HiOutlinePlusCircle, null, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.DatePicker, global.FiCalendar, null, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.Select$4, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FaLinkedinIn, global.FaMap, global.FiMenu, global.BsChevronDown, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.MdKeyboardArrowUp, global.RiUserSettingsLine, global.HiUserCircle, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.FiArrowUpRight, global.BiUserCircle, global.FiArrowUpLeft, global.GoLocation, global.FaSnapchat, global.RiRoadMapLine, global.HiOutlineClock, global.FaGoogle, global.AiOutlineLinkedin, global.FaPinterestP, global.FaTripadvisor, global.FaBehance, global.FiHome, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.GoStar, global.IoIosStar, global.reactCountdownCircleTimer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _possibleConstructorReturn, _getPrototypeOf, _inherits, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox$1, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, DatePicker, FiCalendar, system, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, Select$4, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FaLinkedinIn, FaMap, FiMenu, BsChevronDown, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, MdKeyboardArrowUp, RiUserSettingsLine, HiUserCircle, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, FiArrowUpRight, BiUserCircle, FiArrowUpLeft, GoLocation, FaSnapchat, RiRoadMapLine, HiOutlineClock, FaGoogle, AiOutlineLinkedin, FaPinterestP, FaTripadvisor, FaBehance, FiHome, FaArrowAltCircleRight, FaArrowAltCircleLeft, GoStar, IoIosStar, reactCountdownCircleTimer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-datepicker'), require('@react-icons/all-files/fi/FiCalendar'), require('@mui/system'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('react-select'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/fa/FaMap'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/fi/FiArrowUpRight'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/fi/FiArrowUpLeft'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaSnapchat'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/fa/FaGoogle'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaPinterestP'), require('@react-icons/all-files/fa/FaTripadvisor'), require('@react-icons/all-files/fa/FaBehance'), require('@react-icons/all-files/fi/FiHome'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-countdown-circle-timer'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-datepicker', '@react-icons/all-files/fi/FiCalendar', '@mui/system', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', 'react-select', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/fa/FaMap', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/fi/FiArrowUpRight', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/fi/FiArrowUpLeft', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaSnapchat', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/fa/FaGoogle', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaPinterestP', '@react-icons/all-files/fa/FaTripadvisor', '@react-icons/all-files/fa/FaBehance', '@react-icons/all-files/fi/FiHome', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-countdown-circle-timer', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._possibleConstructorReturn, global._getPrototypeOf, global._inherits, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox$1, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.HiOutlinePlusCircle, null, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.DatePicker, global.FiCalendar, null, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.Select$4, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FaLinkedinIn, global.FaMap, global.FiMenu, global.BsChevronDown, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.MdKeyboardArrowUp, global.RiUserSettingsLine, global.HiUserCircle, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.FiArrowUpRight, global.BiUserCircle, global.FiArrowUpLeft, global.GoLocation, global.FaSnapchat, global.RiRoadMapLine, global.HiOutlineClock, global.FaGoogle, global.AiOutlineLinkedin, global.FaPinterestP, global.FaTripadvisor, global.FaBehance, global.FiHome, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.GoStar, global.IoIosStar, global.reactCountdownCircleTimer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _possibleConstructorReturn, _getPrototypeOf, _inherits, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox$1, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, DatePicker, FiCalendar, system, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, Select$4, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FaLinkedinIn, FaMap, FiMenu, BsChevronDown, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, MdKeyboardArrowUp, RiUserSettingsLine, HiUserCircle, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, FiArrowUpRight, BiUserCircle, FiArrowUpLeft, GoLocation, FaSnapchat, RiRoadMapLine, HiOutlineClock, FaGoogle, AiOutlineLinkedin, FaPinterestP, FaTripadvisor, FaBehance, FiHome, FaArrowAltCircleRight, FaArrowAltCircleLeft, GoStar, IoIosStar, reactCountdownCircleTimer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -2645,23 +2645,25 @@
|
|
|
2645
2645
|
React__default["default"].createElement("div", {
|
|
2646
2646
|
"class": "w-100 scrollhorizontalwithscrollbar "
|
|
2647
2647
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productimages) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productimages.map(function (item, index) {
|
|
2648
|
-
|
|
2649
|
-
"
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2648
|
+
if (item.is_size_guide != 1) {
|
|
2649
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2650
|
+
"class": ' scrollhorizontalcard mx-2 ',
|
|
2651
|
+
style: {
|
|
2652
|
+
height: sectionproperties.image_height + 'px',
|
|
2653
|
+
width: sectionproperties.image_width + 'px'
|
|
2654
|
+
}
|
|
2655
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
2656
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2657
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2658
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path,
|
|
2659
|
+
style: {
|
|
2660
|
+
width: '100%',
|
|
2661
|
+
height: '100%',
|
|
2662
|
+
objectFit: 'contain'
|
|
2663
|
+
},
|
|
2664
|
+
loading: "lazy"
|
|
2665
|
+
}));
|
|
2666
|
+
}
|
|
2665
2667
|
}))), sectionproperties.gallerystyle == 'One Centered Image' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2666
2668
|
"class": "col-lg-12 allcentered"
|
|
2667
2669
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productimages) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productimages.map(function (item, index) {
|
|
@@ -2952,7 +2954,23 @@
|
|
|
2952
2954
|
fontWeight: sectionproperties.featurefontweight,
|
|
2953
2955
|
fontSize: sectionproperties.featurefontsize
|
|
2954
2956
|
}
|
|
2955
|
-
},
|
|
2957
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2958
|
+
"class": "row m-0 d-flex align-items-center"
|
|
2959
|
+
}, (fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2960
|
+
style: {
|
|
2961
|
+
width: '20px'
|
|
2962
|
+
},
|
|
2963
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
2964
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
2965
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2966
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2967
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
2968
|
+
loading: "lazy",
|
|
2969
|
+
style: {
|
|
2970
|
+
maxWidth: '100%',
|
|
2971
|
+
maxHeight: '100%'
|
|
2972
|
+
}
|
|
2973
|
+
})), langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
2956
2974
|
style: {
|
|
2957
2975
|
color: sectionproperties.featurevaluecolor,
|
|
2958
2976
|
fontWeight: sectionproperties.featurevaluefontweight,
|
|
@@ -16516,6 +16534,7 @@
|
|
|
16516
16534
|
_useState30 = _slicedToArray__default["default"](_useState29, 2),
|
|
16517
16535
|
otherfilters = _useState30[0];
|
|
16518
16536
|
_useState30[1];
|
|
16537
|
+
var fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
|
|
16519
16538
|
var _useState31 = React.useState(false),
|
|
16520
16539
|
_useState32 = _slicedToArray__default["default"](_useState31, 2),
|
|
16521
16540
|
checked = _useState32[0],
|
|
@@ -17790,6 +17809,7 @@
|
|
|
17790
17809
|
})))));
|
|
17791
17810
|
};
|
|
17792
17811
|
var PriceInputRangeFilter = function PriceInputRangeFilter() {
|
|
17812
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4;
|
|
17793
17813
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17794
17814
|
"class": "row m-0 w-100 mb-3 mt-2"
|
|
17795
17815
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -17797,7 +17817,7 @@
|
|
|
17797
17817
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17798
17818
|
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
17799
17819
|
}, langdetect == 'en' ? 'Price' : 'السعر')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17800
|
-
"class": 'col-lg-12 pl-
|
|
17820
|
+
"class": 'col-lg-12 pl-3 pr-3 mt-2 mb-2',
|
|
17801
17821
|
style: {
|
|
17802
17822
|
direction: 'ltr'
|
|
17803
17823
|
}
|
|
@@ -17819,7 +17839,13 @@
|
|
|
17819
17839
|
// }
|
|
17820
17840
|
setprice_rangevalue(_objectSpread$2h({}, value));
|
|
17821
17841
|
}
|
|
17822
|
-
}))
|
|
17842
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17843
|
+
"class": "col-lg-12 mt-3",
|
|
17844
|
+
style: {
|
|
17845
|
+
color: '#000',
|
|
17846
|
+
fontSize: 15
|
|
17847
|
+
}
|
|
17848
|
+
}, langdetect == 'en' ? fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en : fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu2 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu2 === void 0 || (_fetchAuthorizationQu2 = _fetchAuthorizationQu2.data) === null || _fetchAuthorizationQu2 === void 0 ? void 0 : _fetchAuthorizationQu2.currencyname_ar, " ", price_rangevalue.min, " -", ' ', langdetect == 'en' ? fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.currencyname_en : fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.currencyname_ar, " ", price_rangevalue.max));
|
|
17823
17849
|
};
|
|
17824
17850
|
React.useEffect(function () {
|
|
17825
17851
|
if (timeoutRef_price.current !== null) {
|
|
@@ -18492,7 +18518,9 @@
|
|
|
18492
18518
|
className: "mt-2 mb-3"
|
|
18493
18519
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18494
18520
|
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
|
|
18495
|
-
}, sectionproperties.
|
|
18521
|
+
}, sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18522
|
+
"class": "row m-0 w-100 px-3"
|
|
18523
|
+
}, PriceInputRangeFilter()), sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18496
18524
|
"class": "row m-0 w-100"
|
|
18497
18525
|
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18498
18526
|
"class": "row m-0 w-100"
|
|
@@ -24902,7 +24930,7 @@
|
|
|
24902
24930
|
style: {
|
|
24903
24931
|
position: sectionproperties.respheaderposition,
|
|
24904
24932
|
// position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
|
|
24905
|
-
zIndex:
|
|
24933
|
+
zIndex: 1000,
|
|
24906
24934
|
top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0
|
|
24907
24935
|
}
|
|
24908
24936
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -24912,7 +24940,10 @@
|
|
|
24912
24940
|
templateproperties_contextprops: templateproperties_context,
|
|
24913
24941
|
actions: actions
|
|
24914
24942
|
})), sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24915
|
-
className: "col-lg-12 p-0"
|
|
24943
|
+
className: "col-lg-12 p-0",
|
|
24944
|
+
style: {
|
|
24945
|
+
borderBottom: sectionproperties.headerrespborderbottomwidth + ' solid ' + sectionproperties.headerrespborderbottomcolor
|
|
24946
|
+
}
|
|
24916
24947
|
}, openSearch == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24917
24948
|
className: ' row m-0 w-100 d-none d-md-flex p-0 '
|
|
24918
24949
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33029,12 +33060,8 @@
|
|
|
33029
33060
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33030
33061
|
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
33031
33062
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33032
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
33033
|
-
style: {
|
|
33034
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
33035
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
33036
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
33037
|
-
}
|
|
33063
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center justify-content-center m-0 p-0 ',
|
|
33064
|
+
style: {}
|
|
33038
33065
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33039
33066
|
"class": 'ml-2 mr-2'
|
|
33040
33067
|
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -72388,362 +72415,6 @@
|
|
|
72388
72415
|
|
|
72389
72416
|
function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
72390
72417
|
function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
72391
|
-
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
72392
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
72393
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
72394
|
-
var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
72395
|
-
var _useState = React.useState(props.actions.item),
|
|
72396
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
72397
|
-
_useState2[0];
|
|
72398
|
-
var setitem = _useState2[1];
|
|
72399
|
-
var _useState3 = React.useState({}),
|
|
72400
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
72401
|
-
variants_iteminfo = _useState4[0],
|
|
72402
|
-
setvariants_iteminfo = _useState4[1];
|
|
72403
|
-
var _useState5 = React.useState([]),
|
|
72404
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
72405
|
-
options_w_values = _useState6[0],
|
|
72406
|
-
setoptions_w_values = _useState6[1];
|
|
72407
|
-
var _useState7 = React.useState([]),
|
|
72408
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
72409
|
-
choosen_values = _useState8[0],
|
|
72410
|
-
setchoosen_values = _useState8[1];
|
|
72411
|
-
var _useState9 = React.useState({}),
|
|
72412
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
72413
|
-
VariantCompletedObj = _useState10[0],
|
|
72414
|
-
setVariantCompletedObj = _useState10[1];
|
|
72415
|
-
var sectionproperties = props.actions.sectionproperties;
|
|
72416
|
-
props.actions.lang;
|
|
72417
|
-
props.actions.langdetect;
|
|
72418
|
-
var foundMatchedVariantFunc = props.foundMatchedVariantFunc;
|
|
72419
|
-
var _useState11 = React.useState(props.cardinfoindexprops),
|
|
72420
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
72421
|
-
_useState12[0];
|
|
72422
|
-
_useState12[1];
|
|
72423
|
-
var _useState13 = React.useState({}),
|
|
72424
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
72425
|
-
VariantColorImageComObj = _useState14[0],
|
|
72426
|
-
setVariantColorImageComObj = _useState14[1];
|
|
72427
|
-
var foundImageColorMatchingFunc = props.foundImageColorMatchingFunc;
|
|
72428
|
-
React.useEffect(function () {
|
|
72429
|
-
foundMatchedVariantFunc(VariantCompletedObj);
|
|
72430
|
-
}, [VariantCompletedObj]);
|
|
72431
|
-
React.useEffect(function () {
|
|
72432
|
-
var completedVariantObj = null;
|
|
72433
|
-
var variantimagematching = null;
|
|
72434
|
-
if (choosen_values.length > 0) {
|
|
72435
|
-
var _iterator = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72436
|
-
_step;
|
|
72437
|
-
try {
|
|
72438
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
72439
|
-
var _variantitem$variantv2;
|
|
72440
|
-
var variantitem = _step.value;
|
|
72441
|
-
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv2 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv2 === void 0 ? void 0 : _variantitem$variantv2.filter(function (variantValue) {
|
|
72442
|
-
return choosen_values.some(function (choosenValue) {
|
|
72443
|
-
return choosenValue.valueid === variantValue.valueid;
|
|
72444
|
-
});
|
|
72445
|
-
});
|
|
72446
|
-
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
72447
|
-
completedVariantObj = variantitem;
|
|
72448
|
-
break;
|
|
72449
|
-
}
|
|
72450
|
-
}
|
|
72451
|
-
} catch (err) {
|
|
72452
|
-
_iterator.e(err);
|
|
72453
|
-
} finally {
|
|
72454
|
-
_iterator.f();
|
|
72455
|
-
}
|
|
72456
|
-
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
72457
|
-
var _item$option_info, _item$option_info2;
|
|
72458
|
-
if ((item === null || item === void 0 || (_item$option_info = item.option_info) === null || _item$option_info === void 0 ? void 0 : _item$option_info.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info2 = item.option_info) === null || _item$option_info2 === void 0 ? void 0 : _item$option_info2.optionname) == 'Color') {
|
|
72459
|
-
var _iterator2 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72460
|
-
_step2;
|
|
72461
|
-
try {
|
|
72462
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
72463
|
-
var _variantitem$variantv;
|
|
72464
|
-
var variantitem = _step2.value;
|
|
72465
|
-
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv === void 0 ? void 0 : _variantitem$variantv.find(function (value) {
|
|
72466
|
-
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
72467
|
-
});
|
|
72468
|
-
if (matchingValue) {
|
|
72469
|
-
variantimagematching = variantitem;
|
|
72470
|
-
}
|
|
72471
|
-
}
|
|
72472
|
-
} catch (err) {
|
|
72473
|
-
_iterator2.e(err);
|
|
72474
|
-
} finally {
|
|
72475
|
-
_iterator2.f();
|
|
72476
|
-
}
|
|
72477
|
-
}
|
|
72478
|
-
});
|
|
72479
|
-
}
|
|
72480
|
-
setVariantColorImageComObj(variantimagematching || {});
|
|
72481
|
-
setVariantCompletedObj(completedVariantObj || {});
|
|
72482
|
-
}, [choosen_values]);
|
|
72483
|
-
React.useEffect(function () {
|
|
72484
|
-
var _props$actions;
|
|
72485
|
-
var iteminfo = props.actions.item;
|
|
72486
|
-
var variants_iteminfo = props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.item) === null || _props$actions === void 0 ? void 0 : _props$actions.variants_w_options;
|
|
72487
|
-
var options_w_values = [];
|
|
72488
|
-
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (item, index) {
|
|
72489
|
-
var _item$variantvalues_w;
|
|
72490
|
-
item === null || item === void 0 || (_item$variantvalues_w = item.variantvalues_w_valueinfo) === null || _item$variantvalues_w === void 0 || _item$variantvalues_w.forEach(function (valitem) {
|
|
72491
|
-
var isoptionexists = false;
|
|
72492
|
-
var is_valitemexists = false;
|
|
72493
|
-
var valitemtobeinsreted = _objectSpread$I({}, valitem);
|
|
72494
|
-
valitemtobeinsreted.disabled = false;
|
|
72495
|
-
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
72496
|
-
var _exopitem$values;
|
|
72497
|
-
exopitem === null || exopitem === void 0 || (_exopitem$values = exopitem.values) === null || _exopitem$values === void 0 || _exopitem$values.forEach(function (valexistitem) {
|
|
72498
|
-
if (valexistitem.valueid == valitemtobeinsreted.valueid) {
|
|
72499
|
-
is_valitemexists = true;
|
|
72500
|
-
}
|
|
72501
|
-
});
|
|
72502
|
-
});
|
|
72503
|
-
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
72504
|
-
var _exopitem$option_info, _valitemtobeinsreted$;
|
|
72505
|
-
if ((exopitem === null || exopitem === void 0 || (_exopitem$option_info = exopitem.option_info) === null || _exopitem$option_info === void 0 ? void 0 : _exopitem$option_info.optionid) == (valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$ = valitemtobeinsreted.option_info) === null || _valitemtobeinsreted$ === void 0 ? void 0 : _valitemtobeinsreted$.optionid)) {
|
|
72506
|
-
if (is_valitemexists == false) {
|
|
72507
|
-
var _valitemtobeinsreted$2;
|
|
72508
|
-
exopitem.values.push(_objectSpread$I(_objectSpread$I({}, valitemtobeinsreted), {}, {
|
|
72509
|
-
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$2 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$2 === void 0 ? void 0 : _valitemtobeinsreted$2.valueindex
|
|
72510
|
-
}));
|
|
72511
|
-
}
|
|
72512
|
-
isoptionexists = true;
|
|
72513
|
-
}
|
|
72514
|
-
});
|
|
72515
|
-
if (isoptionexists == false) {
|
|
72516
|
-
var _valitemtobeinsreted$3;
|
|
72517
|
-
options_w_values.push({
|
|
72518
|
-
option_info: valitem.option_info,
|
|
72519
|
-
optionindex: valitem.option_info.optionindex,
|
|
72520
|
-
values: [_objectSpread$I(_objectSpread$I({}, valitemtobeinsreted), {}, {
|
|
72521
|
-
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$3 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$3 === void 0 ? void 0 : _valitemtobeinsreted$3.valueindex
|
|
72522
|
-
})]
|
|
72523
|
-
});
|
|
72524
|
-
}
|
|
72525
|
-
});
|
|
72526
|
-
});
|
|
72527
|
-
options_w_values.forEach(function (option) {
|
|
72528
|
-
option.values.sort(function (a, b) {
|
|
72529
|
-
return a.valueindex - b.valueindex;
|
|
72530
|
-
});
|
|
72531
|
-
});
|
|
72532
|
-
var Sortedoptions_w_values = options_w_values.sort(function (a, b) {
|
|
72533
|
-
return a.optionindex - b.optionindex;
|
|
72534
|
-
});
|
|
72535
|
-
setoptions_w_values(_toConsumableArray__default["default"](Sortedoptions_w_values));
|
|
72536
|
-
// setoptions_w_values([...options_w_values]);
|
|
72537
|
-
setvariants_iteminfo(variants_iteminfo);
|
|
72538
|
-
setitem(iteminfo);
|
|
72539
|
-
}, [props.actions.item]);
|
|
72540
|
-
var choose_valueFunc = function choose_valueFunc(valitem, optioninfo) {
|
|
72541
|
-
var tempchoosen_values = _toConsumableArray__default["default"](choosen_values);
|
|
72542
|
-
var isvalueexists = false;
|
|
72543
|
-
// var optionid = optioninfo.optionid
|
|
72544
|
-
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (choseitem, choseindex) {
|
|
72545
|
-
if (valitem.optionid == choseitem.optionid) {
|
|
72546
|
-
tempchoosen_values.splice(choseindex, 1);
|
|
72547
|
-
}
|
|
72548
|
-
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
72549
|
-
tempchoosen_values.splice(choseindex, 1);
|
|
72550
|
-
isvalueexists = true;
|
|
72551
|
-
}
|
|
72552
|
-
});
|
|
72553
|
-
if (isvalueexists == false) {
|
|
72554
|
-
tempchoosen_values.push(valitem);
|
|
72555
|
-
}
|
|
72556
|
-
var tempoptions_w_values = _toConsumableArray__default["default"](options_w_values);
|
|
72557
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72558
|
-
var _item$values;
|
|
72559
|
-
item === null || item === void 0 || (_item$values = item.values) === null || _item$values === void 0 || _item$values.forEach(function (valitemex, valindex) {
|
|
72560
|
-
if (tempchoosen_values.length == 0) {
|
|
72561
|
-
valitemex.disabled = false;
|
|
72562
|
-
} else {
|
|
72563
|
-
valitemex.disabled = true;
|
|
72564
|
-
}
|
|
72565
|
-
});
|
|
72566
|
-
});
|
|
72567
|
-
if (tempchoosen_values.length != 0) {
|
|
72568
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72569
|
-
var _item$values2;
|
|
72570
|
-
item === null || item === void 0 || (_item$values2 = item.values) === null || _item$values2 === void 0 || _item$values2.forEach(function (valitem, valindex) {
|
|
72571
|
-
var _tempchoosen_values$s;
|
|
72572
|
-
var isvaluedisabled = true;
|
|
72573
|
-
(_tempchoosen_values$s = tempchoosen_values.slice(0, 1)) === null || _tempchoosen_values$s === void 0 || _tempchoosen_values$s.forEach(function (chosvalitem) {
|
|
72574
|
-
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (variantitem) {
|
|
72575
|
-
var _variantitem$variantv3;
|
|
72576
|
-
var is_Start_Variant_Found = false;
|
|
72577
|
-
variantitem === null || variantitem === void 0 || (_variantitem$variantv3 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv3 === void 0 || _variantitem$variantv3.forEach(function (variantoptionsitem) {
|
|
72578
|
-
if (variantoptionsitem.valueid == chosvalitem.valueid) {
|
|
72579
|
-
is_Start_Variant_Found = true;
|
|
72580
|
-
}
|
|
72581
|
-
});
|
|
72582
|
-
if (is_Start_Variant_Found) {
|
|
72583
|
-
var _variantitem$variantv4;
|
|
72584
|
-
variantitem === null || variantitem === void 0 || (_variantitem$variantv4 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv4 === void 0 || _variantitem$variantv4.forEach(function (variantoptionsitem) {
|
|
72585
|
-
if (valitem.valueid == variantoptionsitem.valueid) {
|
|
72586
|
-
isvaluedisabled = false;
|
|
72587
|
-
}
|
|
72588
|
-
});
|
|
72589
|
-
}
|
|
72590
|
-
});
|
|
72591
|
-
});
|
|
72592
|
-
valitem.disabled = isvaluedisabled;
|
|
72593
|
-
});
|
|
72594
|
-
});
|
|
72595
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72596
|
-
var _item$values3;
|
|
72597
|
-
item === null || item === void 0 || (_item$values3 = item.values) === null || _item$values3 === void 0 || _item$values3.forEach(function (valitem, valindex) {
|
|
72598
|
-
if (valitem.optionid == tempchoosen_values[0].optionid) {
|
|
72599
|
-
valitem.disabled = false;
|
|
72600
|
-
}
|
|
72601
|
-
});
|
|
72602
|
-
});
|
|
72603
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72604
|
-
var _item$values4;
|
|
72605
|
-
item === null || item === void 0 || (_item$values4 = item.values) === null || _item$values4 === void 0 || _item$values4.forEach(function (valitem, valindex) {
|
|
72606
|
-
if (valitem.disabled == true) {
|
|
72607
|
-
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (chosvalitem, choseindex) {
|
|
72608
|
-
if (chosvalitem.valueid == valitem.valueid) {
|
|
72609
|
-
tempchoosen_values.splice(choseindex, 1);
|
|
72610
|
-
}
|
|
72611
|
-
});
|
|
72612
|
-
}
|
|
72613
|
-
});
|
|
72614
|
-
});
|
|
72615
|
-
}
|
|
72616
|
-
setoptions_w_values(_toConsumableArray__default["default"](tempoptions_w_values));
|
|
72617
|
-
setchoosen_values(_toConsumableArray__default["default"](tempchoosen_values));
|
|
72618
|
-
};
|
|
72619
|
-
React.useEffect(function () {
|
|
72620
|
-
foundImageColorMatchingFunc(VariantColorImageComObj);
|
|
72621
|
-
}, [VariantColorImageComObj]);
|
|
72622
|
-
React.useEffect(function () {
|
|
72623
|
-
var completedVariantObj = null;
|
|
72624
|
-
var variantimagematching = null;
|
|
72625
|
-
if (choosen_values.length > 0) {
|
|
72626
|
-
var _iterator3 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72627
|
-
_step3;
|
|
72628
|
-
try {
|
|
72629
|
-
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
72630
|
-
var _variantitem$variantv6;
|
|
72631
|
-
var variantitem = _step3.value;
|
|
72632
|
-
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv6 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv6 === void 0 ? void 0 : _variantitem$variantv6.filter(function (variantValue) {
|
|
72633
|
-
return choosen_values.some(function (choosenValue) {
|
|
72634
|
-
return choosenValue.valueid === variantValue.valueid;
|
|
72635
|
-
});
|
|
72636
|
-
});
|
|
72637
|
-
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
72638
|
-
completedVariantObj = variantitem;
|
|
72639
|
-
break;
|
|
72640
|
-
}
|
|
72641
|
-
}
|
|
72642
|
-
} catch (err) {
|
|
72643
|
-
_iterator3.e(err);
|
|
72644
|
-
} finally {
|
|
72645
|
-
_iterator3.f();
|
|
72646
|
-
}
|
|
72647
|
-
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
72648
|
-
var _item$option_info3, _item$option_info4;
|
|
72649
|
-
if ((item === null || item === void 0 || (_item$option_info3 = item.option_info) === null || _item$option_info3 === void 0 ? void 0 : _item$option_info3.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info4 = item.option_info) === null || _item$option_info4 === void 0 ? void 0 : _item$option_info4.optionname) == 'Color') {
|
|
72650
|
-
var _iterator4 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72651
|
-
_step4;
|
|
72652
|
-
try {
|
|
72653
|
-
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
72654
|
-
var _variantitem$variantv5;
|
|
72655
|
-
var variantitem = _step4.value;
|
|
72656
|
-
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv5 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv5 === void 0 ? void 0 : _variantitem$variantv5.find(function (value) {
|
|
72657
|
-
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
72658
|
-
});
|
|
72659
|
-
if (matchingValue) {
|
|
72660
|
-
variantimagematching = variantitem;
|
|
72661
|
-
}
|
|
72662
|
-
}
|
|
72663
|
-
} catch (err) {
|
|
72664
|
-
_iterator4.e(err);
|
|
72665
|
-
} finally {
|
|
72666
|
-
_iterator4.f();
|
|
72667
|
-
}
|
|
72668
|
-
}
|
|
72669
|
-
});
|
|
72670
|
-
}
|
|
72671
|
-
setVariantColorImageComObj(variantimagematching || {});
|
|
72672
|
-
setVariantCompletedObj(completedVariantObj || {});
|
|
72673
|
-
}, [choosen_values]);
|
|
72674
|
-
|
|
72675
|
-
// useEffect(() => {
|
|
72676
|
-
// var completedVariantObj = {};
|
|
72677
|
-
// var tempchoosen_values = [...choosen_values];
|
|
72678
|
-
// if (choosen_values.length != 0) {
|
|
72679
|
-
// variants_iteminfo?.forEach(function (variantitem) {
|
|
72680
|
-
// var isVariantValuesAllSame = true;
|
|
72681
|
-
// variantitem?.variantvalues_w_valueinfo?.forEach(function (variantvalues) {
|
|
72682
|
-
// tempchoosen_values?.forEach(function (item, index) {
|
|
72683
|
-
// if (variantvalues.valueid != item.valueid) {
|
|
72684
|
-
// isVariantValuesAllSame = false;
|
|
72685
|
-
// } else {
|
|
72686
|
-
// }
|
|
72687
|
-
// });
|
|
72688
|
-
// });
|
|
72689
|
-
// if (isVariantValuesAllSame == true) {
|
|
72690
|
-
// completedVariantObj = variantitem;
|
|
72691
|
-
// }
|
|
72692
|
-
// });
|
|
72693
|
-
// }
|
|
72694
|
-
// setVariantCompletedObj({ ...completedVariantObj });
|
|
72695
|
-
// }, [choosen_values]);
|
|
72696
|
-
|
|
72697
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72698
|
-
"class": ' row m-0 w-100 mb-2 '
|
|
72699
|
-
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72700
|
-
"class": ' row m-0 w-100 '
|
|
72701
|
-
}, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
|
|
72702
|
-
var _item$values5;
|
|
72703
|
-
// if (index <= 3) {
|
|
72704
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72705
|
-
className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
|
|
72706
|
-
}, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
|
|
72707
|
-
var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
|
|
72708
|
-
var isChoosedValueExists = false;
|
|
72709
|
-
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
|
|
72710
|
-
if (choseitem != null) {
|
|
72711
|
-
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
72712
|
-
isChoosedValueExists = true;
|
|
72713
|
-
}
|
|
72714
|
-
}
|
|
72715
|
-
});
|
|
72716
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72717
|
-
style: {
|
|
72718
|
-
textAlign: 'center'
|
|
72719
|
-
},
|
|
72720
|
-
"class": "mx-1"
|
|
72721
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
72722
|
-
onClick: function onClick() {
|
|
72723
|
-
choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
|
|
72724
|
-
},
|
|
72725
|
-
style: {
|
|
72726
|
-
// backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
|
|
72727
|
-
color: isChoosedValueExists ? '#ffffff' : '#000000',
|
|
72728
|
-
border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
|
|
72729
|
-
padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
|
|
72730
|
-
cursor: valitem.disabled ? 'not-allowed' : 'pointer',
|
|
72731
|
-
fontSize: '13px',
|
|
72732
|
-
width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
|
|
72733
|
-
height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
|
|
72734
|
-
borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
|
|
72735
|
-
background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
|
|
72736
|
-
fontWeight: 500
|
|
72737
|
-
},
|
|
72738
|
-
disabled: valitem.disabled
|
|
72739
|
-
}, (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
|
|
72740
|
-
}));
|
|
72741
|
-
// }
|
|
72742
|
-
})));
|
|
72743
|
-
};
|
|
72744
|
-
|
|
72745
|
-
function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
72746
|
-
function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
72747
72418
|
var Categorycard_details_onhover = function Categorycard_details_onhover(props) {
|
|
72748
72419
|
var _useState = React.useState(''),
|
|
72749
72420
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -72786,14 +72457,14 @@
|
|
|
72786
72457
|
});
|
|
72787
72458
|
}
|
|
72788
72459
|
});
|
|
72789
|
-
setsectionproperties(_objectSpread$
|
|
72460
|
+
setsectionproperties(_objectSpread$I({}, secpropobj));
|
|
72790
72461
|
}, [StatePagePropertiesContext]);
|
|
72791
72462
|
React.useEffect(function () {
|
|
72792
72463
|
setitem(props.cardinfoitemprops);
|
|
72793
72464
|
}, [props.cardinfoitemprops]);
|
|
72794
72465
|
React.useEffect(function () {
|
|
72795
72466
|
var productImagetoBeSelected = '';
|
|
72796
|
-
var Tempitem = _objectSpread$
|
|
72467
|
+
var Tempitem = _objectSpread$I({}, item);
|
|
72797
72468
|
productImagetoBeSelected = item.productmainimage;
|
|
72798
72469
|
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
|
|
72799
72470
|
var variatgalleryid = variantObj.variantgalleryid;
|
|
@@ -72807,11 +72478,11 @@
|
|
|
72807
72478
|
}
|
|
72808
72479
|
}
|
|
72809
72480
|
Tempitem.image = productImagetoBeSelected;
|
|
72810
|
-
setitem(_objectSpread$
|
|
72481
|
+
setitem(_objectSpread$I({}, Tempitem));
|
|
72811
72482
|
}, [variantObj]);
|
|
72812
72483
|
React.useEffect(function () {
|
|
72813
72484
|
var productImagetoBeSelected = '';
|
|
72814
|
-
var Tempitem = _objectSpread$
|
|
72485
|
+
var Tempitem = _objectSpread$I({}, item);
|
|
72815
72486
|
productImagetoBeSelected = item.productmainimage;
|
|
72816
72487
|
if (Variant_Color_ImageObj != undefined && Variant_Color_ImageObj != null && Object.keys(Variant_Color_ImageObj).length != 0 && Variant_Color_ImageObj != '') {
|
|
72817
72488
|
var variatgalleryid = Variant_Color_ImageObj.variantgalleryid;
|
|
@@ -72825,7 +72496,7 @@
|
|
|
72825
72496
|
}
|
|
72826
72497
|
}
|
|
72827
72498
|
Tempitem.image = productImagetoBeSelected;
|
|
72828
|
-
setitem(_objectSpread$
|
|
72499
|
+
setitem(_objectSpread$I({}, Tempitem));
|
|
72829
72500
|
}, [Variant_Color_ImageObj]);
|
|
72830
72501
|
var card_cssstyles = {
|
|
72831
72502
|
innersection: glamor.css({
|
|
@@ -73159,8 +72830,8 @@
|
|
|
73159
72830
|
var generalCardsStyles = {"productcard":"generalCardsStyles-module_productcard__3PgiR","Simpleproductcard":"generalCardsStyles-module_Simpleproductcard__GhVP7","ClassicCategoryCard":"generalCardsStyles-module_ClassicCategoryCard__UWO1a","newproductcard":"generalCardsStyles-module_newproductcard__ATddn","imagecontainer":"generalCardsStyles-module_imagecontainer__9bhlL","intialimage":"generalCardsStyles-module_intialimage__JUCyy","secondaryimage":"generalCardsStyles-module_secondaryimage__FrA62","fadeIn":"generalCardsStyles-module_fadeIn__xhIy3"};
|
|
73160
72831
|
styleInject(css_248z$e);
|
|
73161
72832
|
|
|
73162
|
-
function ownKeys$
|
|
73163
|
-
function _objectSpread$
|
|
72833
|
+
function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
72834
|
+
function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
73164
72835
|
var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
73165
72836
|
var _useState = React.useState(''),
|
|
73166
72837
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -73198,7 +72869,7 @@
|
|
|
73198
72869
|
});
|
|
73199
72870
|
}
|
|
73200
72871
|
});
|
|
73201
|
-
setsectionproperties(_objectSpread$
|
|
72872
|
+
setsectionproperties(_objectSpread$H({}, secpropobj));
|
|
73202
72873
|
}, [StatePagePropertiesContext]);
|
|
73203
72874
|
React.useEffect(function () {
|
|
73204
72875
|
if (item.quantity == 0) {
|
|
@@ -73508,13 +73179,13 @@
|
|
|
73508
73179
|
onClick: function onClick(e) {
|
|
73509
73180
|
e.stopPropagation();
|
|
73510
73181
|
if (item.hasvariants == 0) {
|
|
73511
|
-
var tempitem = _objectSpread$
|
|
73182
|
+
var tempitem = _objectSpread$H({}, item);
|
|
73512
73183
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
73513
73184
|
tempitem.quantity = tempitem.quantity - 1;
|
|
73514
73185
|
if (tempitem.quantity <= 0) {
|
|
73515
73186
|
tempitem.quantity = 0;
|
|
73516
73187
|
}
|
|
73517
|
-
setitem(_objectSpread$
|
|
73188
|
+
setitem(_objectSpread$H({}, tempitem));
|
|
73518
73189
|
addtocartfunc('add', tempitem.quantity);
|
|
73519
73190
|
} else {
|
|
73520
73191
|
setShowProductInfoModalContext(true);
|
|
@@ -73531,13 +73202,13 @@
|
|
|
73531
73202
|
onClick: function onClick(e) {
|
|
73532
73203
|
e.stopPropagation();
|
|
73533
73204
|
if (item.hasvariants == 0) {
|
|
73534
|
-
var tempitem = _objectSpread$
|
|
73205
|
+
var tempitem = _objectSpread$H({}, item);
|
|
73535
73206
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
73536
73207
|
tempitem.quantity = tempitem.quantity + 1;
|
|
73537
73208
|
if (tempitem.quantity <= 0) {
|
|
73538
73209
|
tempitem.quantity = 0;
|
|
73539
73210
|
}
|
|
73540
|
-
setitem(_objectSpread$
|
|
73211
|
+
setitem(_objectSpread$H({}, tempitem));
|
|
73541
73212
|
addtocartfunc('add', tempitem.quantity);
|
|
73542
73213
|
} else {
|
|
73543
73214
|
setShowProductInfoModalContext(true);
|
|
@@ -73693,8 +73364,8 @@
|
|
|
73693
73364
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))))));
|
|
73694
73365
|
};
|
|
73695
73366
|
|
|
73696
|
-
function ownKeys$
|
|
73697
|
-
function _objectSpread$
|
|
73367
|
+
function ownKeys$G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
73368
|
+
function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
73698
73369
|
var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
73699
73370
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
73700
73371
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
@@ -73737,7 +73408,7 @@
|
|
|
73737
73408
|
});
|
|
73738
73409
|
}
|
|
73739
73410
|
});
|
|
73740
|
-
setsectionproperties(_objectSpread$
|
|
73411
|
+
setsectionproperties(_objectSpread$G({}, secpropobj));
|
|
73741
73412
|
}, [StatePagePropertiesContext]);
|
|
73742
73413
|
|
|
73743
73414
|
// Card Information
|
|
@@ -74124,13 +73795,13 @@
|
|
|
74124
73795
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
74125
73796
|
onClick: function onClick() {
|
|
74126
73797
|
if (item.hasvariants == 0) {
|
|
74127
|
-
var tempitem = _objectSpread$
|
|
73798
|
+
var tempitem = _objectSpread$G({}, item);
|
|
74128
73799
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
74129
73800
|
tempitem.quantity = tempitem.quantity - 1;
|
|
74130
73801
|
if (tempitem.quantity <= 0) {
|
|
74131
73802
|
tempitem.quantity = 0;
|
|
74132
73803
|
}
|
|
74133
|
-
setitem(_objectSpread$
|
|
73804
|
+
setitem(_objectSpread$G({}, tempitem));
|
|
74134
73805
|
addtocartfunc('add', tempitem.quantity);
|
|
74135
73806
|
} else {
|
|
74136
73807
|
setShowProductInfoModalContext(true);
|
|
@@ -74146,13 +73817,13 @@
|
|
|
74146
73817
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
74147
73818
|
onClick: function onClick() {
|
|
74148
73819
|
if (item.hasvariants == 0) {
|
|
74149
|
-
var tempitem = _objectSpread$
|
|
73820
|
+
var tempitem = _objectSpread$G({}, item);
|
|
74150
73821
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
74151
73822
|
tempitem.quantity = tempitem.quantity + 1;
|
|
74152
73823
|
if (tempitem.quantity <= 0) {
|
|
74153
73824
|
tempitem.quantity = 0;
|
|
74154
73825
|
}
|
|
74155
|
-
setitem(_objectSpread$
|
|
73826
|
+
setitem(_objectSpread$G({}, tempitem));
|
|
74156
73827
|
addtocartfunc('add', tempitem.quantity);
|
|
74157
73828
|
} else {
|
|
74158
73829
|
setShowProductInfoModalContext(true);
|
|
@@ -74177,8 +73848,8 @@
|
|
|
74177
73848
|
}))))))));
|
|
74178
73849
|
};
|
|
74179
73850
|
|
|
74180
|
-
function ownKeys$
|
|
74181
|
-
function _objectSpread$
|
|
73851
|
+
function ownKeys$F(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
73852
|
+
function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
74182
73853
|
var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
74183
73854
|
var _useState = React.useState(''),
|
|
74184
73855
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -74205,7 +73876,7 @@
|
|
|
74205
73876
|
});
|
|
74206
73877
|
}
|
|
74207
73878
|
});
|
|
74208
|
-
setsectionproperties(_objectSpread$
|
|
73879
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74209
73880
|
}, [StatePagePropertiesContext]);
|
|
74210
73881
|
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
74211
73882
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
@@ -74217,7 +73888,7 @@
|
|
|
74217
73888
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
74218
73889
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
74219
73890
|
});
|
|
74220
|
-
setsectionproperties(_objectSpread$
|
|
73891
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74221
73892
|
} else {
|
|
74222
73893
|
var secpropobj = {};
|
|
74223
73894
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -74227,7 +73898,7 @@
|
|
|
74227
73898
|
});
|
|
74228
73899
|
}
|
|
74229
73900
|
});
|
|
74230
|
-
setsectionproperties(_objectSpread$
|
|
73901
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74231
73902
|
}
|
|
74232
73903
|
}, [StatePagePropertiesContext]);
|
|
74233
73904
|
|
|
@@ -74378,8 +74049,8 @@
|
|
|
74378
74049
|
}, CardContent()));
|
|
74379
74050
|
};
|
|
74380
74051
|
|
|
74381
|
-
function ownKeys$
|
|
74382
|
-
function _objectSpread$
|
|
74052
|
+
function ownKeys$E(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74053
|
+
function _objectSpread$E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$E(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
74383
74054
|
var HorizontalCategoryCard = function HorizontalCategoryCard(props) {
|
|
74384
74055
|
var _useState = React.useState(''),
|
|
74385
74056
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -74404,7 +74075,7 @@
|
|
|
74404
74075
|
});
|
|
74405
74076
|
}
|
|
74406
74077
|
});
|
|
74407
|
-
setsectionproperties(_objectSpread$
|
|
74078
|
+
setsectionproperties(_objectSpread$E({}, secpropobj));
|
|
74408
74079
|
}, [StatePagePropertiesContext]);
|
|
74409
74080
|
React.useEffect(function () {
|
|
74410
74081
|
setitem(props.cardinfoitemprops);
|
|
@@ -74548,8 +74219,8 @@
|
|
|
74548
74219
|
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)))))));
|
|
74549
74220
|
};
|
|
74550
74221
|
|
|
74551
|
-
function ownKeys$
|
|
74552
|
-
function _objectSpread$
|
|
74222
|
+
function ownKeys$D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74223
|
+
function _objectSpread$D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
74553
74224
|
var NewProductcard = function NewProductcard(props) {
|
|
74554
74225
|
var _useState = React.useState(''),
|
|
74555
74226
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -74576,7 +74247,7 @@
|
|
|
74576
74247
|
});
|
|
74577
74248
|
}
|
|
74578
74249
|
});
|
|
74579
|
-
setsectionproperties(_objectSpread$
|
|
74250
|
+
setsectionproperties(_objectSpread$D({}, secpropobj));
|
|
74580
74251
|
}, [StatePagePropertiesContext]);
|
|
74581
74252
|
React.useEffect(function () {
|
|
74582
74253
|
setitem(props.cardinfoitemprops);
|
|
@@ -74997,8 +74668,8 @@
|
|
|
74997
74668
|
var cardstyles$7 = {"buttons_container1":"UserCardWithSocialMediaOnHover-module_buttons_container1__Ic7UT","productcard":"UserCardWithSocialMediaOnHover-module_productcard__Yf1rE","image_container":"UserCardWithSocialMediaOnHover-module_image_container__OZfNU"};
|
|
74998
74669
|
styleInject(css_248z$d);
|
|
74999
74670
|
|
|
75000
|
-
function ownKeys$
|
|
75001
|
-
function _objectSpread$
|
|
74671
|
+
function ownKeys$C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74672
|
+
function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75002
74673
|
var UserCardWithSocialMediaOnHover = function UserCardWithSocialMediaOnHover(props) {
|
|
75003
74674
|
var _useState = React.useState(''),
|
|
75004
74675
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75023,7 +74694,7 @@
|
|
|
75023
74694
|
});
|
|
75024
74695
|
}
|
|
75025
74696
|
});
|
|
75026
|
-
setsectionproperties(_objectSpread$
|
|
74697
|
+
setsectionproperties(_objectSpread$C({}, secpropobj));
|
|
75027
74698
|
}, [StatePagePropertiesContext]);
|
|
75028
74699
|
React.useEffect(function () {
|
|
75029
74700
|
setitem(props.cardinfoitemprops);
|
|
@@ -75168,8 +74839,8 @@
|
|
|
75168
74839
|
}, item.name)))));
|
|
75169
74840
|
};
|
|
75170
74841
|
|
|
75171
|
-
function ownKeys$
|
|
75172
|
-
function _objectSpread$
|
|
74842
|
+
function ownKeys$B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74843
|
+
function _objectSpread$B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75173
74844
|
var Card20 = function Card20(props) {
|
|
75174
74845
|
var _useState = React.useState(''),
|
|
75175
74846
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75202,7 +74873,7 @@
|
|
|
75202
74873
|
});
|
|
75203
74874
|
}
|
|
75204
74875
|
});
|
|
75205
|
-
setsectionproperties(_objectSpread$
|
|
74876
|
+
setsectionproperties(_objectSpread$B({}, secpropobj));
|
|
75206
74877
|
}, [StatePagePropertiesContext]);
|
|
75207
74878
|
React.useEffect(function () {
|
|
75208
74879
|
setitem(props.cardinfoitemprops);
|
|
@@ -75424,8 +75095,8 @@
|
|
|
75424
75095
|
}, langdetect == 'en' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : item.currencyname)))));
|
|
75425
75096
|
};
|
|
75426
75097
|
|
|
75427
|
-
function ownKeys$
|
|
75428
|
-
function _objectSpread$
|
|
75098
|
+
function ownKeys$A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75099
|
+
function _objectSpread$A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75429
75100
|
var Card21 = function Card21(props) {
|
|
75430
75101
|
var _useState = React.useState(''),
|
|
75431
75102
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75455,7 +75126,7 @@
|
|
|
75455
75126
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
75456
75127
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
75457
75128
|
});
|
|
75458
|
-
setsectionproperties(_objectSpread$
|
|
75129
|
+
setsectionproperties(_objectSpread$A({}, secpropobj));
|
|
75459
75130
|
} else {
|
|
75460
75131
|
var secpropobj = {};
|
|
75461
75132
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -75465,7 +75136,7 @@
|
|
|
75465
75136
|
});
|
|
75466
75137
|
}
|
|
75467
75138
|
});
|
|
75468
|
-
setsectionproperties(_objectSpread$
|
|
75139
|
+
setsectionproperties(_objectSpread$A({}, secpropobj));
|
|
75469
75140
|
}
|
|
75470
75141
|
}, [StatePagePropertiesContext]);
|
|
75471
75142
|
React.useEffect(function () {
|
|
@@ -75756,8 +75427,8 @@
|
|
|
75756
75427
|
}, "18 Days"))));
|
|
75757
75428
|
};
|
|
75758
75429
|
|
|
75759
|
-
function ownKeys$
|
|
75760
|
-
function _objectSpread$
|
|
75430
|
+
function ownKeys$z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75431
|
+
function _objectSpread$z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75761
75432
|
var Card22 = function Card22(props) {
|
|
75762
75433
|
var _useState = React.useState(''),
|
|
75763
75434
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75787,7 +75458,7 @@
|
|
|
75787
75458
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
75788
75459
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
75789
75460
|
});
|
|
75790
|
-
setsectionproperties(_objectSpread$
|
|
75461
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
75791
75462
|
} else {
|
|
75792
75463
|
var secpropobj = {};
|
|
75793
75464
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -75797,7 +75468,7 @@
|
|
|
75797
75468
|
});
|
|
75798
75469
|
}
|
|
75799
75470
|
});
|
|
75800
|
-
setsectionproperties(_objectSpread$
|
|
75471
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
75801
75472
|
}
|
|
75802
75473
|
}, [StatePagePropertiesContext]);
|
|
75803
75474
|
React.useEffect(function () {
|
|
@@ -75988,8 +75659,8 @@
|
|
|
75988
75659
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))));
|
|
75989
75660
|
};
|
|
75990
75661
|
|
|
75991
|
-
function ownKeys$
|
|
75992
|
-
function _objectSpread$
|
|
75662
|
+
function ownKeys$y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75663
|
+
function _objectSpread$y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75993
75664
|
var Card23 = function Card23(props) {
|
|
75994
75665
|
var _useState = React.useState(''),
|
|
75995
75666
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -76026,7 +75697,7 @@
|
|
|
76026
75697
|
});
|
|
76027
75698
|
}
|
|
76028
75699
|
});
|
|
76029
|
-
setsectionproperties(_objectSpread$
|
|
75700
|
+
setsectionproperties(_objectSpread$y({}, secpropobj));
|
|
76030
75701
|
}, [StatePagePropertiesContext]);
|
|
76031
75702
|
React.useEffect(function () {
|
|
76032
75703
|
var _props$cardinfoitempr;
|
|
@@ -76342,7 +76013,7 @@
|
|
|
76342
76013
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
76343
76014
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
76344
76015
|
var forcetocheckoutvalue = forcetocheckout;
|
|
76345
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
76016
|
+
var tempaddtocardpayloadobj = _objectSpread$y({}, addtocardpayloadobj);
|
|
76346
76017
|
tempaddtocardpayloadobj.productid = item.productid;
|
|
76347
76018
|
tempaddtocardpayloadobj.functype = 'add';
|
|
76348
76019
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
@@ -76627,8 +76298,8 @@
|
|
|
76627
76298
|
}, langdetect == 'en' ? 'Buy Now' : 'اشترى الان'))))))));
|
|
76628
76299
|
};
|
|
76629
76300
|
|
|
76630
|
-
function ownKeys$
|
|
76631
|
-
function _objectSpread$
|
|
76301
|
+
function ownKeys$x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
76302
|
+
function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
76632
76303
|
var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {
|
|
76633
76304
|
var _useState = React.useState(''),
|
|
76634
76305
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -76658,7 +76329,7 @@
|
|
|
76658
76329
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
76659
76330
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
76660
76331
|
});
|
|
76661
|
-
setsectionproperties(_objectSpread$
|
|
76332
|
+
setsectionproperties(_objectSpread$x({}, secpropobj));
|
|
76662
76333
|
} else {
|
|
76663
76334
|
var secpropobj = {};
|
|
76664
76335
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -76668,7 +76339,7 @@
|
|
|
76668
76339
|
});
|
|
76669
76340
|
}
|
|
76670
76341
|
});
|
|
76671
|
-
setsectionproperties(_objectSpread$
|
|
76342
|
+
setsectionproperties(_objectSpread$x({}, secpropobj));
|
|
76672
76343
|
}
|
|
76673
76344
|
}, [StatePagePropertiesContext]);
|
|
76674
76345
|
React.useEffect(function () {
|
|
@@ -76972,8 +76643,8 @@
|
|
|
76972
76643
|
var cardsstyles$4 = {"productcard":"Productccard_with_zoominonhover-module_productcard__8ASdR","card_thumbnail":"Productccard_with_zoominonhover-module_card_thumbnail__xCWyB","wishlistbtn":"Productccard_with_zoominonhover-module_wishlistbtn__-9K6V","card_inner":"Productccard_with_zoominonhover-module_card_inner__-pVNl","product_details":"Productccard_with_zoominonhover-module_product_details__3SLId","card_informationcontainer":"Productccard_with_zoominonhover-module_card_informationcontainer__suyHK","price":"Productccard_with_zoominonhover-module_price__12djA","intialimage":"Productccard_with_zoominonhover-module_intialimage__8hcdc","secondaryimage":"Productccard_with_zoominonhover-module_secondaryimage__EHpKK","img_container":"Productccard_with_zoominonhover-module_img_container__lSsmX"};
|
|
76973
76644
|
styleInject(css_248z$c);
|
|
76974
76645
|
|
|
76975
|
-
function ownKeys$
|
|
76976
|
-
function _objectSpread$
|
|
76646
|
+
function ownKeys$w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
76647
|
+
function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
76977
76648
|
var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(props) {
|
|
76978
76649
|
var _useState = React.useState(''),
|
|
76979
76650
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -77002,7 +76673,7 @@
|
|
|
77002
76673
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77003
76674
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77004
76675
|
});
|
|
77005
|
-
setsectionproperties(_objectSpread$
|
|
76676
|
+
setsectionproperties(_objectSpread$w({}, secpropobj));
|
|
77006
76677
|
} else {
|
|
77007
76678
|
var secpropobj = {};
|
|
77008
76679
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77012,14 +76683,14 @@
|
|
|
77012
76683
|
});
|
|
77013
76684
|
}
|
|
77014
76685
|
});
|
|
77015
|
-
setsectionproperties(_objectSpread$
|
|
76686
|
+
setsectionproperties(_objectSpread$w({}, secpropobj));
|
|
77016
76687
|
}
|
|
77017
76688
|
}, [StatePagePropertiesContext]);
|
|
77018
76689
|
React.useEffect(function () {
|
|
77019
76690
|
setitem(props.cardinfoitemprops);
|
|
77020
76691
|
}, [props.cardinfoitemprops]);
|
|
77021
76692
|
var updatequantity = function updatequantity(type) {
|
|
77022
|
-
var tempitem = _objectSpread$
|
|
76693
|
+
var tempitem = _objectSpread$w({}, item);
|
|
77023
76694
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
77024
76695
|
if (type == 'add') {
|
|
77025
76696
|
tempitem.quantity = tempitem.quantity + 1;
|
|
@@ -77029,7 +76700,7 @@
|
|
|
77029
76700
|
if (tempitem.quantity <= 0) {
|
|
77030
76701
|
tempitem.quantity = 0;
|
|
77031
76702
|
}
|
|
77032
|
-
setitem(_objectSpread$
|
|
76703
|
+
setitem(_objectSpread$w({}, tempitem));
|
|
77033
76704
|
};
|
|
77034
76705
|
var addtocartfunc = function addtocartfunc() {
|
|
77035
76706
|
var addtocardpayloadobj = {
|
|
@@ -77611,8 +77282,8 @@
|
|
|
77611
77282
|
var cardstyles$6 = {"categoryCard":"categorycard3-module_categoryCard__3mSQo"};
|
|
77612
77283
|
styleInject(css_248z$b);
|
|
77613
77284
|
|
|
77614
|
-
function ownKeys$
|
|
77615
|
-
function _objectSpread$
|
|
77285
|
+
function ownKeys$v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77286
|
+
function _objectSpread$v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
77616
77287
|
var Categorycard_with_twolinestransition = function Categorycard_with_twolinestransition(props) {
|
|
77617
77288
|
var _css;
|
|
77618
77289
|
var _useState = React.useState(''),
|
|
@@ -77639,7 +77310,7 @@
|
|
|
77639
77310
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77640
77311
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77641
77312
|
});
|
|
77642
|
-
setsectionproperties(_objectSpread$
|
|
77313
|
+
setsectionproperties(_objectSpread$v({}, secpropobj));
|
|
77643
77314
|
} else {
|
|
77644
77315
|
var secpropobj = {};
|
|
77645
77316
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77649,7 +77320,7 @@
|
|
|
77649
77320
|
});
|
|
77650
77321
|
}
|
|
77651
77322
|
});
|
|
77652
|
-
setsectionproperties(_objectSpread$
|
|
77323
|
+
setsectionproperties(_objectSpread$v({}, secpropobj));
|
|
77653
77324
|
}
|
|
77654
77325
|
}, [StatePagePropertiesContext]);
|
|
77655
77326
|
React.useEffect(function () {
|
|
@@ -77793,8 +77464,8 @@
|
|
|
77793
77464
|
var cardstyles$5 = {"categorycardtext":"Categorcycard_fullimage-module_categorycardtext__WLY3-","x":"Categorcycard_fullimage-module_x__EZ-yx"};
|
|
77794
77465
|
styleInject(css_248z$a);
|
|
77795
77466
|
|
|
77796
|
-
function ownKeys$
|
|
77797
|
-
function _objectSpread$
|
|
77467
|
+
function ownKeys$u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77468
|
+
function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
77798
77469
|
var Categorycard_fullimage = function Categorycard_fullimage(props) {
|
|
77799
77470
|
var _useState = React.useState(''),
|
|
77800
77471
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -77824,7 +77495,7 @@
|
|
|
77824
77495
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77825
77496
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77826
77497
|
});
|
|
77827
|
-
setsectionproperties(_objectSpread$
|
|
77498
|
+
setsectionproperties(_objectSpread$u({}, secpropobj));
|
|
77828
77499
|
} else {
|
|
77829
77500
|
var secpropobj = {};
|
|
77830
77501
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77834,7 +77505,7 @@
|
|
|
77834
77505
|
});
|
|
77835
77506
|
}
|
|
77836
77507
|
});
|
|
77837
|
-
setsectionproperties(_objectSpread$
|
|
77508
|
+
setsectionproperties(_objectSpread$u({}, secpropobj));
|
|
77838
77509
|
}
|
|
77839
77510
|
}, [StatePagePropertiesContext]);
|
|
77840
77511
|
React.useEffect(function () {
|
|
@@ -77999,8 +77670,8 @@
|
|
|
77999
77670
|
var cardstyles$4 = {"categoryCard":"Categorycard_slidebgscaled-module_categoryCard__-tIaD","hover":"Categorycard_slidebgscaled-module_hover__Voj0y","cardbtn":"Categorycard_slidebgscaled-module_cardbtn__JlkMB"};
|
|
78000
77671
|
styleInject(css_248z$9);
|
|
78001
77672
|
|
|
78002
|
-
function ownKeys$
|
|
78003
|
-
function _objectSpread$
|
|
77673
|
+
function ownKeys$t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77674
|
+
function _objectSpread$t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78004
77675
|
var Categorycard_slidebgscaled = function Categorycard_slidebgscaled(props) {
|
|
78005
77676
|
var _useState = React.useState(''),
|
|
78006
77677
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78026,7 +77697,7 @@
|
|
|
78026
77697
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78027
77698
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78028
77699
|
});
|
|
78029
|
-
setsectionproperties(_objectSpread$
|
|
77700
|
+
setsectionproperties(_objectSpread$t({}, secpropobj));
|
|
78030
77701
|
} else {
|
|
78031
77702
|
var secpropobj = {};
|
|
78032
77703
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -78036,7 +77707,7 @@
|
|
|
78036
77707
|
});
|
|
78037
77708
|
}
|
|
78038
77709
|
});
|
|
78039
|
-
setsectionproperties(_objectSpread$
|
|
77710
|
+
setsectionproperties(_objectSpread$t({}, secpropobj));
|
|
78040
77711
|
}
|
|
78041
77712
|
}, [StatePagePropertiesContext]);
|
|
78042
77713
|
React.useEffect(function () {
|
|
@@ -78186,8 +77857,8 @@
|
|
|
78186
77857
|
}, sectionproperties.generalbtn_content)))))));
|
|
78187
77858
|
};
|
|
78188
77859
|
|
|
78189
|
-
function ownKeys$
|
|
78190
|
-
function _objectSpread$
|
|
77860
|
+
function ownKeys$s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77861
|
+
function _objectSpread$s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78191
77862
|
var Categorycard_with_trianglebg = function Categorycard_with_trianglebg(props) {
|
|
78192
77863
|
var _useState = React.useState(''),
|
|
78193
77864
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78213,7 +77884,7 @@
|
|
|
78213
77884
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78214
77885
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78215
77886
|
});
|
|
78216
|
-
setsectionproperties(_objectSpread$
|
|
77887
|
+
setsectionproperties(_objectSpread$s({}, secpropobj));
|
|
78217
77888
|
} else {
|
|
78218
77889
|
var secpropobj = {};
|
|
78219
77890
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -78223,7 +77894,7 @@
|
|
|
78223
77894
|
});
|
|
78224
77895
|
}
|
|
78225
77896
|
});
|
|
78226
|
-
setsectionproperties(_objectSpread$
|
|
77897
|
+
setsectionproperties(_objectSpread$s({}, secpropobj));
|
|
78227
77898
|
}
|
|
78228
77899
|
}, [StatePagePropertiesContext]);
|
|
78229
77900
|
React.useEffect(function () {
|
|
@@ -78354,8 +78025,8 @@
|
|
|
78354
78025
|
var cardstyles$3 = {"card__collection":"Categorycard_withshapes-module_card__collection__t31ng","cards":"Categorycard_withshapes-module_cards__8qyGo","cards_three":"Categorycard_withshapes-module_cards_three__z9TYx","cards_three__rect1":"Categorycard_withshapes-module_cards_three__rect1__jEF-E","shadow1":"Categorycard_withshapes-module_shadow1__l3waE","cards_three__rect2":"Categorycard_withshapes-module_cards_three__rect2__utoxo","shadow2":"Categorycard_withshapes-module_shadow2__KvWAN","cards_three__circle":"Categorycard_withshapes-module_cards_three__circle__6CirK","cards_three__list":"Categorycard_withshapes-module_cards_three__list__mjWmc","btncont":"Categorycard_withshapes-module_btncont__w2Uy-"};
|
|
78355
78026
|
styleInject(css_248z$8);
|
|
78356
78027
|
|
|
78357
|
-
function ownKeys$
|
|
78358
|
-
function _objectSpread$
|
|
78028
|
+
function ownKeys$r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78029
|
+
function _objectSpread$r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78359
78030
|
var Categorycard_withshapes = function Categorycard_withshapes(props) {
|
|
78360
78031
|
var _useState = React.useState(''),
|
|
78361
78032
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78375,6 +78046,157 @@
|
|
|
78375
78046
|
props.setProductIdProdutInfoModalContext;
|
|
78376
78047
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78377
78048
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78049
|
+
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
78050
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
78051
|
+
_useState6[0];
|
|
78052
|
+
_useState6[1];
|
|
78053
|
+
React.useEffect(function () {
|
|
78054
|
+
if (props.srcfrom == 'addsectionform') {
|
|
78055
|
+
var secpropobj = {};
|
|
78056
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78057
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78058
|
+
});
|
|
78059
|
+
setsectionproperties(_objectSpread$r({}, secpropobj));
|
|
78060
|
+
} else {
|
|
78061
|
+
var secpropobj = {};
|
|
78062
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
78063
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
78064
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
78065
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
78066
|
+
});
|
|
78067
|
+
}
|
|
78068
|
+
});
|
|
78069
|
+
setsectionproperties(_objectSpread$r({}, secpropobj));
|
|
78070
|
+
}
|
|
78071
|
+
}, [StatePagePropertiesContext]);
|
|
78072
|
+
React.useEffect(function () {
|
|
78073
|
+
setitem(props.cardinfoitemprops);
|
|
78074
|
+
}, [props.cardinfoitemprops]);
|
|
78075
|
+
var card_cssstyles = {
|
|
78076
|
+
categoryCard: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
78077
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
78078
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
78079
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
78080
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
78081
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
78082
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
78083
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
78084
|
+
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
78085
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
78086
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
78087
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
78088
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
78089
|
+
height: sectionproperties.height + 'px',
|
|
78090
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : '',
|
|
78091
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78092
|
+
transition: '0.3s',
|
|
78093
|
+
cursor: 'pointer',
|
|
78094
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
78095
|
+
overflow: 'hidden'
|
|
78096
|
+
}, "cursor", 'pointer'), "backgroundSize", 'cover'), "backgroundRepeat", 'no-repeat'), "backgroundPosition", 'center'), "transition", '0.3s'), ':after', {
|
|
78097
|
+
backgroundColor: sectionproperties.transitionbg_color
|
|
78098
|
+
})),
|
|
78099
|
+
categorycardtext: glamor.css({
|
|
78100
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
78101
|
+
color: sectionproperties.generaltext_fontColor,
|
|
78102
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
78103
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
78104
|
+
}),
|
|
78105
|
+
shadow1: glamor.css({
|
|
78106
|
+
background: sectionproperties.firstcolor
|
|
78107
|
+
// primary
|
|
78108
|
+
}),
|
|
78109
|
+
shadow2: glamor.css({
|
|
78110
|
+
background: sectionproperties.secondcolor
|
|
78111
|
+
// primary
|
|
78112
|
+
}),
|
|
78113
|
+
cards_three__rect2: glamor.css({
|
|
78114
|
+
':before': {
|
|
78115
|
+
background: sectionproperties.secondcolor
|
|
78116
|
+
},
|
|
78117
|
+
':after': {
|
|
78118
|
+
background: sectionproperties.firstcolor
|
|
78119
|
+
}
|
|
78120
|
+
}),
|
|
78121
|
+
cards_three__circle: glamor.css({
|
|
78122
|
+
':before': {
|
|
78123
|
+
background: sectionproperties.firstcolor
|
|
78124
|
+
}
|
|
78125
|
+
})
|
|
78126
|
+
};
|
|
78127
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78128
|
+
"class": "".concat(cardstyles$3.card__collection, " ").concat(card_cssstyles.categoryCard),
|
|
78129
|
+
onClick: function onClick() {
|
|
78130
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78131
|
+
}
|
|
78132
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78133
|
+
"class": "".concat(cardstyles$3.cards, " ").concat(cardstyles$3.cards_three),
|
|
78134
|
+
style: {
|
|
78135
|
+
// backgroundImage: `url(${serverbaselink + item.image})`,
|
|
78136
|
+
backgroundPosition: 'center center',
|
|
78137
|
+
backgroundRepeat: 'no-repeat',
|
|
78138
|
+
backgroundSize: 'cover'
|
|
78139
|
+
}
|
|
78140
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
78141
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78142
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78143
|
+
path: item.image,
|
|
78144
|
+
style: {
|
|
78145
|
+
width: '100%',
|
|
78146
|
+
height: '100%',
|
|
78147
|
+
objectFit: 'cover'
|
|
78148
|
+
},
|
|
78149
|
+
loading: "lazy"
|
|
78150
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78151
|
+
"class": "".concat(cardstyles$3.cards_three__rect1)
|
|
78152
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78153
|
+
"class": "".concat(cardstyles$3.shadow1, " ").concat(card_cssstyles.shadow1)
|
|
78154
|
+
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78155
|
+
"class": ' row m-0 w-100 '
|
|
78156
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78157
|
+
"class": "col-lg-12 p-0"
|
|
78158
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78159
|
+
"class": "".concat(card_cssstyles.categorycardtext) + ' m-0 p-0 '
|
|
78160
|
+
}, item.name)))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78161
|
+
"class": "".concat(cardstyles$3.cards_three__rect2, " ").concat(card_cssstyles.cards_three__rect2)
|
|
78162
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78163
|
+
"class": "".concat(cardstyles$3.shadow2, " ").concat(card_cssstyles.shadow2)
|
|
78164
|
+
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78165
|
+
"class": "".concat(cardstyles$3.cards_three__circle, " ").concat(card_cssstyles.cards_three__circle)
|
|
78166
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78167
|
+
"class": "".concat(cardstyles$3.cards_three__list),
|
|
78168
|
+
onClick: function onClick() {
|
|
78169
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78170
|
+
}
|
|
78171
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78172
|
+
"class": "".concat(cardstyles$3.btncont, " ") + ' row m-0 w-100'
|
|
78173
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78174
|
+
style: {
|
|
78175
|
+
zIndex: 1000
|
|
78176
|
+
}
|
|
78177
|
+
}, "More Items")))));
|
|
78178
|
+
};
|
|
78179
|
+
|
|
78180
|
+
var css_248z$7 = ".categorycardwithtext-module_categorycard__itFPD {\n position: relative;\n display: block;\n overflow: hidden;\n cursor: pointer;\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n transition: 0.3s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover::after {\n background-color: rgba(0, 0, 0, 0.1);\n}\n.categorycardwithtext-module_categorycardtext__-PiLF {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n display: flex;\n justify-content: center;\n width: 100%;\n align-items: center;\n}\n\n.categorycardwithtext-module_cardbtn__p-if9 {\n /* position: relative; */\n text-align: center;\n vertical-align: middle;\n display: inline-block;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover .categorycardwithtext-module_cardbtn__p-if9 {\n opacity: 1;\n top: 0;\n}\n";
|
|
78181
|
+
var cardstyles$2 = {"categorycard":"categorycardwithtext-module_categorycard__itFPD","categorycardtext":"categorycardwithtext-module_categorycardtext__-PiLF","cardbtn":"categorycardwithtext-module_cardbtn__p-if9"};
|
|
78182
|
+
styleInject(css_248z$7);
|
|
78183
|
+
|
|
78184
|
+
function ownKeys$q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78185
|
+
function _objectSpread$q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78186
|
+
var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
78187
|
+
var _useState = React.useState(''),
|
|
78188
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
78189
|
+
sectionproperties = _useState2[0],
|
|
78190
|
+
setsectionproperties = _useState2[1];
|
|
78191
|
+
var _useState3 = React.useState(props.cardinfoitemprops),
|
|
78192
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
78193
|
+
item = _useState4[0],
|
|
78194
|
+
setitem = _useState4[1];
|
|
78195
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
78196
|
+
props.actions.lang;
|
|
78197
|
+
var langdetect = props.actions.langdetect;
|
|
78198
|
+
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78199
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78378
78200
|
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
78379
78201
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
78380
78202
|
_useState6[0];
|
|
@@ -78401,157 +78223,6 @@
|
|
|
78401
78223
|
React.useEffect(function () {
|
|
78402
78224
|
setitem(props.cardinfoitemprops);
|
|
78403
78225
|
}, [props.cardinfoitemprops]);
|
|
78404
|
-
var card_cssstyles = {
|
|
78405
|
-
categoryCard: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
78406
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
78407
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
78408
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
78409
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
78410
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
78411
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
78412
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
78413
|
-
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
78414
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
78415
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
78416
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
78417
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
78418
|
-
height: sectionproperties.height + 'px',
|
|
78419
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : '',
|
|
78420
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78421
|
-
transition: '0.3s',
|
|
78422
|
-
cursor: 'pointer',
|
|
78423
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
78424
|
-
overflow: 'hidden'
|
|
78425
|
-
}, "cursor", 'pointer'), "backgroundSize", 'cover'), "backgroundRepeat", 'no-repeat'), "backgroundPosition", 'center'), "transition", '0.3s'), ':after', {
|
|
78426
|
-
backgroundColor: sectionproperties.transitionbg_color
|
|
78427
|
-
})),
|
|
78428
|
-
categorycardtext: glamor.css({
|
|
78429
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
78430
|
-
color: sectionproperties.generaltext_fontColor,
|
|
78431
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
78432
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
78433
|
-
}),
|
|
78434
|
-
shadow1: glamor.css({
|
|
78435
|
-
background: sectionproperties.firstcolor
|
|
78436
|
-
// primary
|
|
78437
|
-
}),
|
|
78438
|
-
shadow2: glamor.css({
|
|
78439
|
-
background: sectionproperties.secondcolor
|
|
78440
|
-
// primary
|
|
78441
|
-
}),
|
|
78442
|
-
cards_three__rect2: glamor.css({
|
|
78443
|
-
':before': {
|
|
78444
|
-
background: sectionproperties.secondcolor
|
|
78445
|
-
},
|
|
78446
|
-
':after': {
|
|
78447
|
-
background: sectionproperties.firstcolor
|
|
78448
|
-
}
|
|
78449
|
-
}),
|
|
78450
|
-
cards_three__circle: glamor.css({
|
|
78451
|
-
':before': {
|
|
78452
|
-
background: sectionproperties.firstcolor
|
|
78453
|
-
}
|
|
78454
|
-
})
|
|
78455
|
-
};
|
|
78456
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78457
|
-
"class": "".concat(cardstyles$3.card__collection, " ").concat(card_cssstyles.categoryCard),
|
|
78458
|
-
onClick: function onClick() {
|
|
78459
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78460
|
-
}
|
|
78461
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78462
|
-
"class": "".concat(cardstyles$3.cards, " ").concat(cardstyles$3.cards_three),
|
|
78463
|
-
style: {
|
|
78464
|
-
// backgroundImage: `url(${serverbaselink + item.image})`,
|
|
78465
|
-
backgroundPosition: 'center center',
|
|
78466
|
-
backgroundRepeat: 'no-repeat',
|
|
78467
|
-
backgroundSize: 'cover'
|
|
78468
|
-
}
|
|
78469
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
78470
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78471
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78472
|
-
path: item.image,
|
|
78473
|
-
style: {
|
|
78474
|
-
width: '100%',
|
|
78475
|
-
height: '100%',
|
|
78476
|
-
objectFit: 'cover'
|
|
78477
|
-
},
|
|
78478
|
-
loading: "lazy"
|
|
78479
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78480
|
-
"class": "".concat(cardstyles$3.cards_three__rect1)
|
|
78481
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78482
|
-
"class": "".concat(cardstyles$3.shadow1, " ").concat(card_cssstyles.shadow1)
|
|
78483
|
-
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78484
|
-
"class": ' row m-0 w-100 '
|
|
78485
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78486
|
-
"class": "col-lg-12 p-0"
|
|
78487
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78488
|
-
"class": "".concat(card_cssstyles.categorycardtext) + ' m-0 p-0 '
|
|
78489
|
-
}, item.name)))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78490
|
-
"class": "".concat(cardstyles$3.cards_three__rect2, " ").concat(card_cssstyles.cards_three__rect2)
|
|
78491
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78492
|
-
"class": "".concat(cardstyles$3.shadow2, " ").concat(card_cssstyles.shadow2)
|
|
78493
|
-
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78494
|
-
"class": "".concat(cardstyles$3.cards_three__circle, " ").concat(card_cssstyles.cards_three__circle)
|
|
78495
|
-
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78496
|
-
"class": "".concat(cardstyles$3.cards_three__list),
|
|
78497
|
-
onClick: function onClick() {
|
|
78498
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78499
|
-
}
|
|
78500
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78501
|
-
"class": "".concat(cardstyles$3.btncont, " ") + ' row m-0 w-100'
|
|
78502
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78503
|
-
style: {
|
|
78504
|
-
zIndex: 1000
|
|
78505
|
-
}
|
|
78506
|
-
}, "More Items")))));
|
|
78507
|
-
};
|
|
78508
|
-
|
|
78509
|
-
var css_248z$7 = ".categorycardwithtext-module_categorycard__itFPD {\n position: relative;\n display: block;\n overflow: hidden;\n cursor: pointer;\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n transition: 0.3s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover::after {\n background-color: rgba(0, 0, 0, 0.1);\n}\n.categorycardwithtext-module_categorycardtext__-PiLF {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n display: flex;\n justify-content: center;\n width: 100%;\n align-items: center;\n}\n\n.categorycardwithtext-module_cardbtn__p-if9 {\n /* position: relative; */\n text-align: center;\n vertical-align: middle;\n display: inline-block;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover .categorycardwithtext-module_cardbtn__p-if9 {\n opacity: 1;\n top: 0;\n}\n";
|
|
78510
|
-
var cardstyles$2 = {"categorycard":"categorycardwithtext-module_categorycard__itFPD","categorycardtext":"categorycardwithtext-module_categorycardtext__-PiLF","cardbtn":"categorycardwithtext-module_cardbtn__p-if9"};
|
|
78511
|
-
styleInject(css_248z$7);
|
|
78512
|
-
|
|
78513
|
-
function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78514
|
-
function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78515
|
-
var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
78516
|
-
var _useState = React.useState(''),
|
|
78517
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
78518
|
-
sectionproperties = _useState2[0],
|
|
78519
|
-
setsectionproperties = _useState2[1];
|
|
78520
|
-
var _useState3 = React.useState(props.cardinfoitemprops),
|
|
78521
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
78522
|
-
item = _useState4[0],
|
|
78523
|
-
setitem = _useState4[1];
|
|
78524
|
-
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
78525
|
-
props.actions.lang;
|
|
78526
|
-
var langdetect = props.actions.langdetect;
|
|
78527
|
-
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78528
|
-
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78529
|
-
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
78530
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
78531
|
-
_useState6[0];
|
|
78532
|
-
_useState6[1];
|
|
78533
|
-
React.useEffect(function () {
|
|
78534
|
-
if (props.srcfrom == 'addsectionform') {
|
|
78535
|
-
var secpropobj = {};
|
|
78536
|
-
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78537
|
-
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78538
|
-
});
|
|
78539
|
-
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78540
|
-
} else {
|
|
78541
|
-
var secpropobj = {};
|
|
78542
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
78543
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
78544
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
78545
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
78546
|
-
});
|
|
78547
|
-
}
|
|
78548
|
-
});
|
|
78549
|
-
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78550
|
-
}
|
|
78551
|
-
}, [StatePagePropertiesContext]);
|
|
78552
|
-
React.useEffect(function () {
|
|
78553
|
-
setitem(props.cardinfoitemprops);
|
|
78554
|
-
}, [props.cardinfoitemprops]);
|
|
78555
78226
|
var categorycard_cssstyles = {
|
|
78556
78227
|
categorycard: glamor.css({
|
|
78557
78228
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -78702,8 +78373,8 @@
|
|
|
78702
78373
|
var cardstyles$1 = {"img":"categorycard-module_img__3WuXu","container":"categorycard-module_container__pJHqx","buttons_container":"categorycard-module_buttons_container__tZolu","text":"categorycard-module_text__lXtJq"};
|
|
78703
78374
|
styleInject(css_248z$6);
|
|
78704
78375
|
|
|
78705
|
-
function ownKeys$
|
|
78706
|
-
function _objectSpread$
|
|
78376
|
+
function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78377
|
+
function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78707
78378
|
var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
78708
78379
|
var _useState = React.useState(''),
|
|
78709
78380
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78736,7 +78407,7 @@
|
|
|
78736
78407
|
});
|
|
78737
78408
|
}
|
|
78738
78409
|
});
|
|
78739
|
-
setsectionproperties(_objectSpread$
|
|
78410
|
+
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78740
78411
|
}, [StatePagePropertiesContext]);
|
|
78741
78412
|
React.useEffect(function () {
|
|
78742
78413
|
setitem(props.cardinfoitemprops);
|
|
@@ -78935,8 +78606,8 @@
|
|
|
78935
78606
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
|
|
78936
78607
|
};
|
|
78937
78608
|
|
|
78938
|
-
function ownKeys$
|
|
78939
|
-
function _objectSpread$
|
|
78609
|
+
function ownKeys$o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78610
|
+
function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78940
78611
|
var Classiccategorycard = function Classiccategorycard(props) {
|
|
78941
78612
|
var _useState = React.useState(''),
|
|
78942
78613
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78962,7 +78633,7 @@
|
|
|
78962
78633
|
});
|
|
78963
78634
|
}
|
|
78964
78635
|
});
|
|
78965
|
-
setsectionproperties(_objectSpread$
|
|
78636
|
+
setsectionproperties(_objectSpread$o({}, secpropobj));
|
|
78966
78637
|
}, [StatePagePropertiesContext]);
|
|
78967
78638
|
React.useEffect(function () {
|
|
78968
78639
|
setitem(props.cardinfoitemprops);
|
|
@@ -79072,8 +78743,8 @@
|
|
|
79072
78743
|
}, item.name))));
|
|
79073
78744
|
};
|
|
79074
78745
|
|
|
79075
|
-
function ownKeys$
|
|
79076
|
-
function _objectSpread$
|
|
78746
|
+
function ownKeys$n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78747
|
+
function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
79077
78748
|
var Horizontalcard = function Horizontalcard(props) {
|
|
79078
78749
|
var _useState = React.useState(''),
|
|
79079
78750
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -79111,7 +78782,7 @@
|
|
|
79111
78782
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
79112
78783
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
79113
78784
|
});
|
|
79114
|
-
setsectionproperties(_objectSpread$
|
|
78785
|
+
setsectionproperties(_objectSpread$n({}, secpropobj));
|
|
79115
78786
|
} else {
|
|
79116
78787
|
var secpropobj = {};
|
|
79117
78788
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -79121,7 +78792,7 @@
|
|
|
79121
78792
|
});
|
|
79122
78793
|
}
|
|
79123
78794
|
});
|
|
79124
|
-
setsectionproperties(_objectSpread$
|
|
78795
|
+
setsectionproperties(_objectSpread$n({}, secpropobj));
|
|
79125
78796
|
}
|
|
79126
78797
|
}, [StatePagePropertiesContext]);
|
|
79127
78798
|
React.useEffect(function () {
|
|
@@ -79524,9 +79195,9 @@
|
|
|
79524
79195
|
if (showquantity == false) {
|
|
79525
79196
|
setshowquantity(true);
|
|
79526
79197
|
if (item.hasvariants == 0) {
|
|
79527
|
-
var tempitem = _objectSpread$
|
|
79198
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79528
79199
|
tempitem.quantity = 1;
|
|
79529
|
-
setitem(_objectSpread$
|
|
79200
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79530
79201
|
addtocartfunc('add', tempitem.quantity);
|
|
79531
79202
|
}
|
|
79532
79203
|
} else {
|
|
@@ -79546,13 +79217,13 @@
|
|
|
79546
79217
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
79547
79218
|
onClick: function onClick() {
|
|
79548
79219
|
if (item.hasvariants == 0) {
|
|
79549
|
-
var tempitem = _objectSpread$
|
|
79220
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79550
79221
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
79551
79222
|
tempitem.quantity = tempitem.quantity - 1;
|
|
79552
79223
|
if (tempitem.quantity <= 0) {
|
|
79553
79224
|
tempitem.quantity = 0;
|
|
79554
79225
|
}
|
|
79555
|
-
setitem(_objectSpread$
|
|
79226
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79556
79227
|
addtocartfunc('add', tempitem.quantity);
|
|
79557
79228
|
} else {
|
|
79558
79229
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
@@ -79567,13 +79238,13 @@
|
|
|
79567
79238
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
79568
79239
|
onClick: function onClick() {
|
|
79569
79240
|
if (item.hasvariants == 0) {
|
|
79570
|
-
var tempitem = _objectSpread$
|
|
79241
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79571
79242
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
79572
79243
|
tempitem.quantity = tempitem.quantity + 1;
|
|
79573
79244
|
if (tempitem.quantity <= 0) {
|
|
79574
79245
|
tempitem.quantity = 0;
|
|
79575
79246
|
}
|
|
79576
|
-
setitem(_objectSpread$
|
|
79247
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79577
79248
|
addtocartfunc('add', tempitem.quantity);
|
|
79578
79249
|
} else {
|
|
79579
79250
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
@@ -79585,8 +79256,8 @@
|
|
|
79585
79256
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))))))));
|
|
79586
79257
|
};
|
|
79587
79258
|
|
|
79588
|
-
function ownKeys$
|
|
79589
|
-
function _objectSpread$
|
|
79259
|
+
function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
79260
|
+
function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
79590
79261
|
var MenuCard = function MenuCard(props) {
|
|
79591
79262
|
var _css2;
|
|
79592
79263
|
var _useState = React.useState(''),
|
|
@@ -79616,7 +79287,7 @@
|
|
|
79616
79287
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
79617
79288
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
79618
79289
|
});
|
|
79619
|
-
setsectionproperties(_objectSpread$
|
|
79290
|
+
setsectionproperties(_objectSpread$m({}, secpropobj));
|
|
79620
79291
|
} else {
|
|
79621
79292
|
var secpropobj = {};
|
|
79622
79293
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -79626,7 +79297,7 @@
|
|
|
79626
79297
|
});
|
|
79627
79298
|
}
|
|
79628
79299
|
});
|
|
79629
|
-
setsectionproperties(_objectSpread$
|
|
79300
|
+
setsectionproperties(_objectSpread$m({}, secpropobj));
|
|
79630
79301
|
}
|
|
79631
79302
|
}, [StatePagePropertiesContext]);
|
|
79632
79303
|
React.useEffect(function () {
|
|
@@ -79995,13 +79666,13 @@
|
|
|
79995
79666
|
},
|
|
79996
79667
|
onClick: function onClick() {
|
|
79997
79668
|
if (item.hasvariants == 0) {
|
|
79998
|
-
var tempitem = _objectSpread$
|
|
79669
|
+
var tempitem = _objectSpread$m({}, item);
|
|
79999
79670
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80000
79671
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80001
79672
|
if (tempitem.quantity <= 0) {
|
|
80002
79673
|
tempitem.quantity = 0;
|
|
80003
79674
|
}
|
|
80004
|
-
setitem(_objectSpread$
|
|
79675
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80005
79676
|
addtocartfunc('add', tempitem.quantity);
|
|
80006
79677
|
} else {
|
|
80007
79678
|
setShowProductInfoModalContext(true);
|
|
@@ -80015,13 +79686,13 @@
|
|
|
80015
79686
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
80016
79687
|
onClick: function onClick() {
|
|
80017
79688
|
if (item.hasvariants == 0) {
|
|
80018
|
-
var tempitem = _objectSpread$
|
|
79689
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80019
79690
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80020
79691
|
tempitem.quantity = tempitem.quantity + 1;
|
|
80021
79692
|
if (tempitem.quantity <= 0) {
|
|
80022
79693
|
tempitem.quantity = 0;
|
|
80023
79694
|
}
|
|
80024
|
-
setitem(_objectSpread$
|
|
79695
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80025
79696
|
addtocartfunc('add', tempitem.quantity);
|
|
80026
79697
|
} else {
|
|
80027
79698
|
setShowProductInfoModalContext(true);
|
|
@@ -80046,13 +79717,13 @@
|
|
|
80046
79717
|
},
|
|
80047
79718
|
onClick: function onClick() {
|
|
80048
79719
|
if (item.hasvariants == 0) {
|
|
80049
|
-
var tempitem = _objectSpread$
|
|
79720
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80050
79721
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80051
79722
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80052
79723
|
if (tempitem.quantity <= 0) {
|
|
80053
79724
|
tempitem.quantity = 0;
|
|
80054
79725
|
}
|
|
80055
|
-
setitem(_objectSpread$
|
|
79726
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80056
79727
|
addtocartfunc('add', tempitem.quantity);
|
|
80057
79728
|
} else {
|
|
80058
79729
|
setShowProductInfoModalContext(true);
|
|
@@ -80066,13 +79737,13 @@
|
|
|
80066
79737
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
80067
79738
|
onClick: function onClick() {
|
|
80068
79739
|
if (item.hasvariants == 0) {
|
|
80069
|
-
var tempitem = _objectSpread$
|
|
79740
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80070
79741
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80071
79742
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80072
79743
|
if (tempitem.quantity <= 0) {
|
|
80073
79744
|
tempitem.quantity = 0;
|
|
80074
79745
|
}
|
|
80075
|
-
setitem(_objectSpread$
|
|
79746
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80076
79747
|
addtocartfunc('add', tempitem.quantity);
|
|
80077
79748
|
} else {
|
|
80078
79749
|
setShowProductInfoModalContext(true);
|
|
@@ -80141,8 +79812,8 @@
|
|
|
80141
79812
|
})))))))))));
|
|
80142
79813
|
};
|
|
80143
79814
|
|
|
80144
|
-
function ownKeys$
|
|
80145
|
-
function _objectSpread$
|
|
79815
|
+
function ownKeys$l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
79816
|
+
function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
80146
79817
|
var ServiceCard = function ServiceCard(props) {
|
|
80147
79818
|
var _css, _authdetailsContext$i, _authdetailsContext$i2;
|
|
80148
79819
|
var _useState = React.useState(''),
|
|
@@ -80173,7 +79844,7 @@
|
|
|
80173
79844
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
80174
79845
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
80175
79846
|
});
|
|
80176
|
-
setsectionproperties(_objectSpread$
|
|
79847
|
+
setsectionproperties(_objectSpread$l({}, secpropobj));
|
|
80177
79848
|
} else {
|
|
80178
79849
|
var secpropobj = {};
|
|
80179
79850
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -80183,7 +79854,7 @@
|
|
|
80183
79854
|
});
|
|
80184
79855
|
}
|
|
80185
79856
|
});
|
|
80186
|
-
setsectionproperties(_objectSpread$
|
|
79857
|
+
setsectionproperties(_objectSpread$l({}, secpropobj));
|
|
80187
79858
|
}
|
|
80188
79859
|
}, [StatePagePropertiesContext]);
|
|
80189
79860
|
React.useEffect(function () {
|
|
@@ -80589,8 +80260,8 @@
|
|
|
80589
80260
|
var cardsstyles$3 = {"productcard":"ModernCardWithQuantityButton-module_productcard__PaOc-","wishlistbtn":"ModernCardWithQuantityButton-module_wishlistbtn__mXt2e","card_inner":"ModernCardWithQuantityButton-module_card_inner__1ySNo","card_informationcontainer":"ModernCardWithQuantityButton-module_card_informationcontainer__P-vrl"};
|
|
80590
80261
|
styleInject(css_248z$5);
|
|
80591
80262
|
|
|
80592
|
-
function ownKeys$
|
|
80593
|
-
function _objectSpread$
|
|
80263
|
+
function ownKeys$k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
80264
|
+
function _objectSpread$k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$k(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
80594
80265
|
var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props) {
|
|
80595
80266
|
var _useState = React.useState(''),
|
|
80596
80267
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -80630,7 +80301,7 @@
|
|
|
80630
80301
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
80631
80302
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
80632
80303
|
});
|
|
80633
|
-
setsectionproperties(_objectSpread$
|
|
80304
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
80634
80305
|
} else {
|
|
80635
80306
|
var secpropobj = {};
|
|
80636
80307
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -80640,7 +80311,7 @@
|
|
|
80640
80311
|
});
|
|
80641
80312
|
}
|
|
80642
80313
|
});
|
|
80643
|
-
setsectionproperties(_objectSpread$
|
|
80314
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
80644
80315
|
}
|
|
80645
80316
|
}, [StatePagePropertiesContext]);
|
|
80646
80317
|
React.useEffect(function () {
|
|
@@ -80981,13 +80652,13 @@
|
|
|
80981
80652
|
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container),
|
|
80982
80653
|
onClick: function onClick() {
|
|
80983
80654
|
if (item.hasvariants == 0) {
|
|
80984
|
-
var tempitem = _objectSpread$
|
|
80655
|
+
var tempitem = _objectSpread$k({}, item);
|
|
80985
80656
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80986
80657
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80987
80658
|
if (tempitem.quantity <= 0) {
|
|
80988
80659
|
tempitem.quantity = 0;
|
|
80989
80660
|
}
|
|
80990
|
-
setitem(_objectSpread$
|
|
80661
|
+
setitem(_objectSpread$k({}, tempitem));
|
|
80991
80662
|
addtocartfunc('add', tempitem.quantity);
|
|
80992
80663
|
} else {
|
|
80993
80664
|
setShowProductInfoModalContext(true);
|
|
@@ -81003,13 +80674,13 @@
|
|
|
81003
80674
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
81004
80675
|
onClick: function onClick() {
|
|
81005
80676
|
if (item.hasvariants == 0) {
|
|
81006
|
-
var tempitem = _objectSpread$
|
|
80677
|
+
var tempitem = _objectSpread$k({}, item);
|
|
81007
80678
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81008
80679
|
tempitem.quantity = tempitem.quantity + 1;
|
|
81009
80680
|
if (tempitem.quantity <= 0) {
|
|
81010
80681
|
tempitem.quantity = 0;
|
|
81011
80682
|
}
|
|
81012
|
-
setitem(_objectSpread$
|
|
80683
|
+
setitem(_objectSpread$k({}, tempitem));
|
|
81013
80684
|
addtocartfunc('add', tempitem.quantity);
|
|
81014
80685
|
} else {
|
|
81015
80686
|
setShowProductInfoModalContext(true);
|
|
@@ -81029,8 +80700,8 @@
|
|
|
81029
80700
|
}, lang.addtocart)))));
|
|
81030
80701
|
};
|
|
81031
80702
|
|
|
81032
|
-
function ownKeys$
|
|
81033
|
-
function _objectSpread$
|
|
80703
|
+
function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
80704
|
+
function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
81034
80705
|
var ModernProductCard = function ModernProductCard(props) {
|
|
81035
80706
|
var _useState = React.useState(''),
|
|
81036
80707
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -81054,7 +80725,7 @@
|
|
|
81054
80725
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
81055
80726
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
81056
80727
|
var updatequantity = function updatequantity(type) {
|
|
81057
|
-
var tempitem = _objectSpread$
|
|
80728
|
+
var tempitem = _objectSpread$j({}, item);
|
|
81058
80729
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81059
80730
|
if (type == 'add') {
|
|
81060
80731
|
tempitem.quantity = tempitem.quantity + 1;
|
|
@@ -81064,7 +80735,7 @@
|
|
|
81064
80735
|
if (tempitem.quantity <= 0) {
|
|
81065
80736
|
tempitem.quantity = 0;
|
|
81066
80737
|
}
|
|
81067
|
-
setitem(_objectSpread$
|
|
80738
|
+
setitem(_objectSpread$j({}, tempitem));
|
|
81068
80739
|
};
|
|
81069
80740
|
React.useEffect(function () {
|
|
81070
80741
|
if (props.srcfrom == 'addsectionform') {
|
|
@@ -81072,7 +80743,7 @@
|
|
|
81072
80743
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81073
80744
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81074
80745
|
});
|
|
81075
|
-
setsectionproperties(_objectSpread$
|
|
80746
|
+
setsectionproperties(_objectSpread$j({}, secpropobj));
|
|
81076
80747
|
} else {
|
|
81077
80748
|
var secpropobj = {};
|
|
81078
80749
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81082,7 +80753,7 @@
|
|
|
81082
80753
|
});
|
|
81083
80754
|
}
|
|
81084
80755
|
});
|
|
81085
|
-
setsectionproperties(_objectSpread$
|
|
80756
|
+
setsectionproperties(_objectSpread$j({}, secpropobj));
|
|
81086
80757
|
}
|
|
81087
80758
|
}, [StatePagePropertiesContext]);
|
|
81088
80759
|
React.useEffect(function () {
|
|
@@ -81555,8 +81226,8 @@
|
|
|
81555
81226
|
var cardstyles = {"buttonContainerCenter":"productcard_animatedbuttons-module_buttonContainerCenter__xApc7","productcard":"productcard_animatedbuttons-module_productcard__LQiP0","image_container":"productcard_animatedbuttons-module_image_container__6Rgm4","buttonContainerBottom":"productcard_animatedbuttons-module_buttonContainerBottom__ienAr","buttonContainerBottom_show":"productcard_animatedbuttons-module_buttonContainerBottom_show__C-v73","cardcont":"productcard_animatedbuttons-module_cardcont__bK-HM"};
|
|
81556
81227
|
styleInject(css_248z$4);
|
|
81557
81228
|
|
|
81558
|
-
function ownKeys$
|
|
81559
|
-
function _objectSpread$
|
|
81229
|
+
function ownKeys$i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
81230
|
+
function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
81560
81231
|
var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
81561
81232
|
var _useState = React.useState(''),
|
|
81562
81233
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -81584,7 +81255,7 @@
|
|
|
81584
81255
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81585
81256
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81586
81257
|
});
|
|
81587
|
-
setsectionproperties(_objectSpread$
|
|
81258
|
+
setsectionproperties(_objectSpread$i({}, secpropobj));
|
|
81588
81259
|
} else {
|
|
81589
81260
|
var secpropobj = {};
|
|
81590
81261
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81594,7 +81265,7 @@
|
|
|
81594
81265
|
});
|
|
81595
81266
|
}
|
|
81596
81267
|
});
|
|
81597
|
-
setsectionproperties(_objectSpread$
|
|
81268
|
+
setsectionproperties(_objectSpread$i({}, secpropobj));
|
|
81598
81269
|
}
|
|
81599
81270
|
}, [StatePagePropertiesContext]);
|
|
81600
81271
|
React.useEffect(function () {
|
|
@@ -81859,8 +81530,8 @@
|
|
|
81859
81530
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))))));
|
|
81860
81531
|
};
|
|
81861
81532
|
|
|
81862
|
-
function ownKeys$
|
|
81863
|
-
function _objectSpread$
|
|
81533
|
+
function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
81534
|
+
function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
81864
81535
|
var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
|
|
81865
81536
|
var _useState = React.useState(''),
|
|
81866
81537
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -81892,7 +81563,7 @@
|
|
|
81892
81563
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81893
81564
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81894
81565
|
});
|
|
81895
|
-
setsectionproperties(_objectSpread$
|
|
81566
|
+
setsectionproperties(_objectSpread$h({}, secpropobj));
|
|
81896
81567
|
} else {
|
|
81897
81568
|
var secpropobj = {};
|
|
81898
81569
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81902,7 +81573,7 @@
|
|
|
81902
81573
|
});
|
|
81903
81574
|
}
|
|
81904
81575
|
});
|
|
81905
|
-
setsectionproperties(_objectSpread$
|
|
81576
|
+
setsectionproperties(_objectSpread$h({}, secpropobj));
|
|
81906
81577
|
}
|
|
81907
81578
|
}, [StatePagePropertiesContext]);
|
|
81908
81579
|
React.useEffect(function () {
|
|
@@ -82117,8 +81788,8 @@
|
|
|
82117
81788
|
}, lang.addtocart)))));
|
|
82118
81789
|
};
|
|
82119
81790
|
|
|
82120
|
-
function ownKeys$
|
|
82121
|
-
function _objectSpread$
|
|
81791
|
+
function ownKeys$g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
81792
|
+
function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82122
81793
|
var Productcard_with_circularhover = function Productcard_with_circularhover(props) {
|
|
82123
81794
|
var _useState = React.useState(''),
|
|
82124
81795
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -82146,7 +81817,7 @@
|
|
|
82146
81817
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
82147
81818
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
82148
81819
|
});
|
|
82149
|
-
setsectionproperties(_objectSpread$
|
|
81820
|
+
setsectionproperties(_objectSpread$g({}, secpropobj));
|
|
82150
81821
|
} else {
|
|
82151
81822
|
var secpropobj = {};
|
|
82152
81823
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -82156,7 +81827,7 @@
|
|
|
82156
81827
|
});
|
|
82157
81828
|
}
|
|
82158
81829
|
});
|
|
82159
|
-
setsectionproperties(_objectSpread$
|
|
81830
|
+
setsectionproperties(_objectSpread$g({}, secpropobj));
|
|
82160
81831
|
}
|
|
82161
81832
|
}, [StatePagePropertiesContext]);
|
|
82162
81833
|
React.useEffect(function () {
|
|
@@ -82391,8 +82062,8 @@
|
|
|
82391
82062
|
})), item.IsFavExists ? lang.remove : lang.addtofavorites))))));
|
|
82392
82063
|
};
|
|
82393
82064
|
|
|
82394
|
-
function ownKeys$
|
|
82395
|
-
function _objectSpread$
|
|
82065
|
+
function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
82066
|
+
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82396
82067
|
var Productcard_with_slideanimation = function Productcard_with_slideanimation(props) {
|
|
82397
82068
|
var _useState = React.useState(''),
|
|
82398
82069
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -82420,7 +82091,7 @@
|
|
|
82420
82091
|
});
|
|
82421
82092
|
}
|
|
82422
82093
|
});
|
|
82423
|
-
setsectionproperties(_objectSpread$
|
|
82094
|
+
setsectionproperties(_objectSpread$f({}, secpropobj));
|
|
82424
82095
|
}, [StatePagePropertiesContext]);
|
|
82425
82096
|
React.useEffect(function () {
|
|
82426
82097
|
setitem(props.cardinfoitemprops);
|
|
@@ -82682,8 +82353,8 @@
|
|
|
82682
82353
|
})))))))));
|
|
82683
82354
|
};
|
|
82684
82355
|
|
|
82685
|
-
function ownKeys$
|
|
82686
|
-
function _objectSpread$
|
|
82356
|
+
function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
82357
|
+
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82687
82358
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
82688
82359
|
var _useState = React.useState(''),
|
|
82689
82360
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -82719,7 +82390,7 @@
|
|
|
82719
82390
|
});
|
|
82720
82391
|
}
|
|
82721
82392
|
});
|
|
82722
|
-
setsectionproperties(_objectSpread$
|
|
82393
|
+
setsectionproperties(_objectSpread$e({}, secpropobj));
|
|
82723
82394
|
}, [StatePagePropertiesContext]);
|
|
82724
82395
|
React.useEffect(function () {
|
|
82725
82396
|
var _props$cardinfoitempr;
|
|
@@ -83108,8 +82779,8 @@
|
|
|
83108
82779
|
var cardsstyles$2 = {"productcard":"Productcard6-module_productcard__Vx7dM","addbtn":"Productcard6-module_addbtn__x6bMd"};
|
|
83109
82780
|
styleInject(css_248z$3);
|
|
83110
82781
|
|
|
83111
|
-
function ownKeys$
|
|
83112
|
-
function _objectSpread$
|
|
82782
|
+
function ownKeys$d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
82783
|
+
function _objectSpread$d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$d(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83113
82784
|
var Productcard6 = function Productcard6(props) {
|
|
83114
82785
|
var _useState = React.useState(''),
|
|
83115
82786
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83137,7 +82808,7 @@
|
|
|
83137
82808
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83138
82809
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83139
82810
|
});
|
|
83140
|
-
setsectionproperties(_objectSpread$
|
|
82811
|
+
setsectionproperties(_objectSpread$d({}, secpropobj));
|
|
83141
82812
|
} else {
|
|
83142
82813
|
var secpropobj = {};
|
|
83143
82814
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83147,7 +82818,7 @@
|
|
|
83147
82818
|
});
|
|
83148
82819
|
}
|
|
83149
82820
|
});
|
|
83150
|
-
setsectionproperties(_objectSpread$
|
|
82821
|
+
setsectionproperties(_objectSpread$d({}, secpropobj));
|
|
83151
82822
|
}
|
|
83152
82823
|
}, [StatePagePropertiesContext]);
|
|
83153
82824
|
React.useEffect(function () {
|
|
@@ -83331,8 +83002,8 @@
|
|
|
83331
83002
|
}))))))));
|
|
83332
83003
|
};
|
|
83333
83004
|
|
|
83334
|
-
function ownKeys$
|
|
83335
|
-
function _objectSpread$
|
|
83005
|
+
function ownKeys$c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83006
|
+
function _objectSpread$c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$c(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83336
83007
|
var Productcard7 = function Productcard7(props) {
|
|
83337
83008
|
var _useState = React.useState(''),
|
|
83338
83009
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83360,7 +83031,7 @@
|
|
|
83360
83031
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83361
83032
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83362
83033
|
});
|
|
83363
|
-
setsectionproperties(_objectSpread$
|
|
83034
|
+
setsectionproperties(_objectSpread$c({}, secpropobj));
|
|
83364
83035
|
} else {
|
|
83365
83036
|
var secpropobj = {};
|
|
83366
83037
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83370,7 +83041,7 @@
|
|
|
83370
83041
|
});
|
|
83371
83042
|
}
|
|
83372
83043
|
});
|
|
83373
|
-
setsectionproperties(_objectSpread$
|
|
83044
|
+
setsectionproperties(_objectSpread$c({}, secpropobj));
|
|
83374
83045
|
}
|
|
83375
83046
|
}, [StatePagePropertiesContext]);
|
|
83376
83047
|
React.useEffect(function () {
|
|
@@ -83580,8 +83251,8 @@
|
|
|
83580
83251
|
})), langdetect == 'en' ? 'add to cart' : 'اضف الى العرية')));
|
|
83581
83252
|
};
|
|
83582
83253
|
|
|
83583
|
-
function ownKeys$
|
|
83584
|
-
function _objectSpread$
|
|
83254
|
+
function ownKeys$b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83255
|
+
function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83585
83256
|
var Productcarddefault = function Productcarddefault(props) {
|
|
83586
83257
|
var _useState = React.useState(''),
|
|
83587
83258
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83609,7 +83280,7 @@
|
|
|
83609
83280
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83610
83281
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83611
83282
|
});
|
|
83612
|
-
setsectionproperties(_objectSpread$
|
|
83283
|
+
setsectionproperties(_objectSpread$b({}, secpropobj));
|
|
83613
83284
|
} else {
|
|
83614
83285
|
var secpropobj = {};
|
|
83615
83286
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83619,7 +83290,7 @@
|
|
|
83619
83290
|
});
|
|
83620
83291
|
}
|
|
83621
83292
|
});
|
|
83622
|
-
setsectionproperties(_objectSpread$
|
|
83293
|
+
setsectionproperties(_objectSpread$b({}, secpropobj));
|
|
83623
83294
|
}
|
|
83624
83295
|
}, [StatePagePropertiesContext]);
|
|
83625
83296
|
React.useEffect(function () {
|
|
@@ -83829,8 +83500,8 @@
|
|
|
83829
83500
|
var cardsstyles$1 = {"productcard":"productccard_with_imageontopleft-module_productcard__U5ZuO","img_container":"productccard_with_imageontopleft-module_img_container__Ifhcy","pill":"productccard_with_imageontopleft-module_pill__SWuR5","addbtn":"productccard_with_imageontopleft-module_addbtn__S2ER2","play-on-hover":"productccard_with_imageontopleft-module_play-on-hover__Wf1UL"};
|
|
83830
83501
|
styleInject(css_248z$2);
|
|
83831
83502
|
|
|
83832
|
-
function ownKeys$
|
|
83833
|
-
function _objectSpread$
|
|
83503
|
+
function ownKeys$a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83504
|
+
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83834
83505
|
var Productccard_with_imageontopleft = function Productccard_with_imageontopleft(props) {
|
|
83835
83506
|
var _useState = React.useState(''),
|
|
83836
83507
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83858,7 +83529,7 @@
|
|
|
83858
83529
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83859
83530
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83860
83531
|
});
|
|
83861
|
-
setsectionproperties(_objectSpread$
|
|
83532
|
+
setsectionproperties(_objectSpread$a({}, secpropobj));
|
|
83862
83533
|
} else {
|
|
83863
83534
|
var secpropobj = {};
|
|
83864
83535
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83868,7 +83539,7 @@
|
|
|
83868
83539
|
});
|
|
83869
83540
|
}
|
|
83870
83541
|
});
|
|
83871
|
-
setsectionproperties(_objectSpread$
|
|
83542
|
+
setsectionproperties(_objectSpread$a({}, secpropobj));
|
|
83872
83543
|
}
|
|
83873
83544
|
}, [StatePagePropertiesContext]);
|
|
83874
83545
|
React.useEffect(function () {
|
|
@@ -84094,8 +83765,8 @@
|
|
|
84094
83765
|
var cardsstyles = {"productcard":"Prouductcard_with_zoomhover-module_productcard__Q-cI6"};
|
|
84095
83766
|
styleInject(css_248z$1);
|
|
84096
83767
|
|
|
84097
|
-
function ownKeys$
|
|
84098
|
-
function _objectSpread$
|
|
83768
|
+
function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83769
|
+
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84099
83770
|
var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
|
|
84100
83771
|
var _useState = React.useState(''),
|
|
84101
83772
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -84127,7 +83798,7 @@
|
|
|
84127
83798
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
84128
83799
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
84129
83800
|
});
|
|
84130
|
-
setsectionproperties(_objectSpread$
|
|
83801
|
+
setsectionproperties(_objectSpread$9({}, secpropobj));
|
|
84131
83802
|
} else {
|
|
84132
83803
|
var secpropobj = {};
|
|
84133
83804
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -84137,7 +83808,7 @@
|
|
|
84137
83808
|
});
|
|
84138
83809
|
}
|
|
84139
83810
|
});
|
|
84140
|
-
setsectionproperties(_objectSpread$
|
|
83811
|
+
setsectionproperties(_objectSpread$9({}, secpropobj));
|
|
84141
83812
|
}
|
|
84142
83813
|
}, [StatePagePropertiesContext]);
|
|
84143
83814
|
React.useEffect(function () {
|
|
@@ -84231,8 +83902,8 @@
|
|
|
84231
83902
|
}, "Showmore"))));
|
|
84232
83903
|
};
|
|
84233
83904
|
|
|
84234
|
-
function ownKeys$
|
|
84235
|
-
function _objectSpread$
|
|
83905
|
+
function ownKeys$8(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83906
|
+
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84236
83907
|
var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(props) {
|
|
84237
83908
|
var _useState = React.useState(''),
|
|
84238
83909
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -84259,7 +83930,7 @@
|
|
|
84259
83930
|
});
|
|
84260
83931
|
}
|
|
84261
83932
|
});
|
|
84262
|
-
setsectionproperties(_objectSpread$
|
|
83933
|
+
setsectionproperties(_objectSpread$8({}, secpropobj));
|
|
84263
83934
|
}, [StatePagePropertiesContext]);
|
|
84264
83935
|
React.useEffect(function () {
|
|
84265
83936
|
setitem(props.cardinfoitemprops);
|
|
@@ -84414,6 +84085,362 @@
|
|
|
84414
84085
|
}, plainString(item.description))))));
|
|
84415
84086
|
};
|
|
84416
84087
|
|
|
84088
|
+
function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
84089
|
+
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84090
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
84091
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
84092
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
84093
|
+
var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
84094
|
+
var _useState = React.useState(props.actions.item),
|
|
84095
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
84096
|
+
_useState2[0];
|
|
84097
|
+
var setitem = _useState2[1];
|
|
84098
|
+
var _useState3 = React.useState({}),
|
|
84099
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
84100
|
+
variants_iteminfo = _useState4[0],
|
|
84101
|
+
setvariants_iteminfo = _useState4[1];
|
|
84102
|
+
var _useState5 = React.useState([]),
|
|
84103
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
84104
|
+
options_w_values = _useState6[0],
|
|
84105
|
+
setoptions_w_values = _useState6[1];
|
|
84106
|
+
var _useState7 = React.useState([]),
|
|
84107
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
84108
|
+
choosen_values = _useState8[0],
|
|
84109
|
+
setchoosen_values = _useState8[1];
|
|
84110
|
+
var _useState9 = React.useState({}),
|
|
84111
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
84112
|
+
VariantCompletedObj = _useState10[0],
|
|
84113
|
+
setVariantCompletedObj = _useState10[1];
|
|
84114
|
+
var sectionproperties = props.actions.sectionproperties;
|
|
84115
|
+
props.actions.lang;
|
|
84116
|
+
props.actions.langdetect;
|
|
84117
|
+
var foundMatchedVariantFunc = props.foundMatchedVariantFunc;
|
|
84118
|
+
var _useState11 = React.useState(props.cardinfoindexprops),
|
|
84119
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
84120
|
+
_useState12[0];
|
|
84121
|
+
_useState12[1];
|
|
84122
|
+
var _useState13 = React.useState({}),
|
|
84123
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
84124
|
+
VariantColorImageComObj = _useState14[0],
|
|
84125
|
+
setVariantColorImageComObj = _useState14[1];
|
|
84126
|
+
var foundImageColorMatchingFunc = props.foundImageColorMatchingFunc;
|
|
84127
|
+
React.useEffect(function () {
|
|
84128
|
+
foundMatchedVariantFunc(VariantCompletedObj);
|
|
84129
|
+
}, [VariantCompletedObj]);
|
|
84130
|
+
React.useEffect(function () {
|
|
84131
|
+
var completedVariantObj = null;
|
|
84132
|
+
var variantimagematching = null;
|
|
84133
|
+
if (choosen_values.length > 0) {
|
|
84134
|
+
var _iterator = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84135
|
+
_step;
|
|
84136
|
+
try {
|
|
84137
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
84138
|
+
var _variantitem$variantv2;
|
|
84139
|
+
var variantitem = _step.value;
|
|
84140
|
+
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv2 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv2 === void 0 ? void 0 : _variantitem$variantv2.filter(function (variantValue) {
|
|
84141
|
+
return choosen_values.some(function (choosenValue) {
|
|
84142
|
+
return choosenValue.valueid === variantValue.valueid;
|
|
84143
|
+
});
|
|
84144
|
+
});
|
|
84145
|
+
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
84146
|
+
completedVariantObj = variantitem;
|
|
84147
|
+
break;
|
|
84148
|
+
}
|
|
84149
|
+
}
|
|
84150
|
+
} catch (err) {
|
|
84151
|
+
_iterator.e(err);
|
|
84152
|
+
} finally {
|
|
84153
|
+
_iterator.f();
|
|
84154
|
+
}
|
|
84155
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
84156
|
+
var _item$option_info, _item$option_info2;
|
|
84157
|
+
if ((item === null || item === void 0 || (_item$option_info = item.option_info) === null || _item$option_info === void 0 ? void 0 : _item$option_info.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info2 = item.option_info) === null || _item$option_info2 === void 0 ? void 0 : _item$option_info2.optionname) == 'Color') {
|
|
84158
|
+
var _iterator2 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84159
|
+
_step2;
|
|
84160
|
+
try {
|
|
84161
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
84162
|
+
var _variantitem$variantv;
|
|
84163
|
+
var variantitem = _step2.value;
|
|
84164
|
+
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv === void 0 ? void 0 : _variantitem$variantv.find(function (value) {
|
|
84165
|
+
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
84166
|
+
});
|
|
84167
|
+
if (matchingValue) {
|
|
84168
|
+
variantimagematching = variantitem;
|
|
84169
|
+
}
|
|
84170
|
+
}
|
|
84171
|
+
} catch (err) {
|
|
84172
|
+
_iterator2.e(err);
|
|
84173
|
+
} finally {
|
|
84174
|
+
_iterator2.f();
|
|
84175
|
+
}
|
|
84176
|
+
}
|
|
84177
|
+
});
|
|
84178
|
+
}
|
|
84179
|
+
setVariantColorImageComObj(variantimagematching || {});
|
|
84180
|
+
setVariantCompletedObj(completedVariantObj || {});
|
|
84181
|
+
}, [choosen_values]);
|
|
84182
|
+
React.useEffect(function () {
|
|
84183
|
+
var _props$actions;
|
|
84184
|
+
var iteminfo = props.actions.item;
|
|
84185
|
+
var variants_iteminfo = props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.item) === null || _props$actions === void 0 ? void 0 : _props$actions.variants_w_options;
|
|
84186
|
+
var options_w_values = [];
|
|
84187
|
+
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (item, index) {
|
|
84188
|
+
var _item$variantvalues_w;
|
|
84189
|
+
item === null || item === void 0 || (_item$variantvalues_w = item.variantvalues_w_valueinfo) === null || _item$variantvalues_w === void 0 || _item$variantvalues_w.forEach(function (valitem) {
|
|
84190
|
+
var isoptionexists = false;
|
|
84191
|
+
var is_valitemexists = false;
|
|
84192
|
+
var valitemtobeinsreted = _objectSpread$7({}, valitem);
|
|
84193
|
+
valitemtobeinsreted.disabled = false;
|
|
84194
|
+
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
84195
|
+
var _exopitem$values;
|
|
84196
|
+
exopitem === null || exopitem === void 0 || (_exopitem$values = exopitem.values) === null || _exopitem$values === void 0 || _exopitem$values.forEach(function (valexistitem) {
|
|
84197
|
+
if (valexistitem.valueid == valitemtobeinsreted.valueid) {
|
|
84198
|
+
is_valitemexists = true;
|
|
84199
|
+
}
|
|
84200
|
+
});
|
|
84201
|
+
});
|
|
84202
|
+
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
84203
|
+
var _exopitem$option_info, _valitemtobeinsreted$;
|
|
84204
|
+
if ((exopitem === null || exopitem === void 0 || (_exopitem$option_info = exopitem.option_info) === null || _exopitem$option_info === void 0 ? void 0 : _exopitem$option_info.optionid) == (valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$ = valitemtobeinsreted.option_info) === null || _valitemtobeinsreted$ === void 0 ? void 0 : _valitemtobeinsreted$.optionid)) {
|
|
84205
|
+
if (is_valitemexists == false) {
|
|
84206
|
+
var _valitemtobeinsreted$2;
|
|
84207
|
+
exopitem.values.push(_objectSpread$7(_objectSpread$7({}, valitemtobeinsreted), {}, {
|
|
84208
|
+
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$2 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$2 === void 0 ? void 0 : _valitemtobeinsreted$2.valueindex
|
|
84209
|
+
}));
|
|
84210
|
+
}
|
|
84211
|
+
isoptionexists = true;
|
|
84212
|
+
}
|
|
84213
|
+
});
|
|
84214
|
+
if (isoptionexists == false) {
|
|
84215
|
+
var _valitemtobeinsreted$3;
|
|
84216
|
+
options_w_values.push({
|
|
84217
|
+
option_info: valitem.option_info,
|
|
84218
|
+
optionindex: valitem.option_info.optionindex,
|
|
84219
|
+
values: [_objectSpread$7(_objectSpread$7({}, valitemtobeinsreted), {}, {
|
|
84220
|
+
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$3 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$3 === void 0 ? void 0 : _valitemtobeinsreted$3.valueindex
|
|
84221
|
+
})]
|
|
84222
|
+
});
|
|
84223
|
+
}
|
|
84224
|
+
});
|
|
84225
|
+
});
|
|
84226
|
+
options_w_values.forEach(function (option) {
|
|
84227
|
+
option.values.sort(function (a, b) {
|
|
84228
|
+
return a.valueindex - b.valueindex;
|
|
84229
|
+
});
|
|
84230
|
+
});
|
|
84231
|
+
var Sortedoptions_w_values = options_w_values.sort(function (a, b) {
|
|
84232
|
+
return a.optionindex - b.optionindex;
|
|
84233
|
+
});
|
|
84234
|
+
setoptions_w_values(_toConsumableArray__default["default"](Sortedoptions_w_values));
|
|
84235
|
+
// setoptions_w_values([...options_w_values]);
|
|
84236
|
+
setvariants_iteminfo(variants_iteminfo);
|
|
84237
|
+
setitem(iteminfo);
|
|
84238
|
+
}, [props.actions.item]);
|
|
84239
|
+
var choose_valueFunc = function choose_valueFunc(valitem, optioninfo) {
|
|
84240
|
+
var tempchoosen_values = _toConsumableArray__default["default"](choosen_values);
|
|
84241
|
+
var isvalueexists = false;
|
|
84242
|
+
// var optionid = optioninfo.optionid
|
|
84243
|
+
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (choseitem, choseindex) {
|
|
84244
|
+
if (valitem.optionid == choseitem.optionid) {
|
|
84245
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84246
|
+
}
|
|
84247
|
+
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
84248
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84249
|
+
isvalueexists = true;
|
|
84250
|
+
}
|
|
84251
|
+
});
|
|
84252
|
+
if (isvalueexists == false) {
|
|
84253
|
+
tempchoosen_values.push(valitem);
|
|
84254
|
+
}
|
|
84255
|
+
var tempoptions_w_values = _toConsumableArray__default["default"](options_w_values);
|
|
84256
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84257
|
+
var _item$values;
|
|
84258
|
+
item === null || item === void 0 || (_item$values = item.values) === null || _item$values === void 0 || _item$values.forEach(function (valitemex, valindex) {
|
|
84259
|
+
if (tempchoosen_values.length == 0) {
|
|
84260
|
+
valitemex.disabled = false;
|
|
84261
|
+
} else {
|
|
84262
|
+
valitemex.disabled = true;
|
|
84263
|
+
}
|
|
84264
|
+
});
|
|
84265
|
+
});
|
|
84266
|
+
if (tempchoosen_values.length != 0) {
|
|
84267
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84268
|
+
var _item$values2;
|
|
84269
|
+
item === null || item === void 0 || (_item$values2 = item.values) === null || _item$values2 === void 0 || _item$values2.forEach(function (valitem, valindex) {
|
|
84270
|
+
var _tempchoosen_values$s;
|
|
84271
|
+
var isvaluedisabled = true;
|
|
84272
|
+
(_tempchoosen_values$s = tempchoosen_values.slice(0, 1)) === null || _tempchoosen_values$s === void 0 || _tempchoosen_values$s.forEach(function (chosvalitem) {
|
|
84273
|
+
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (variantitem) {
|
|
84274
|
+
var _variantitem$variantv3;
|
|
84275
|
+
var is_Start_Variant_Found = false;
|
|
84276
|
+
variantitem === null || variantitem === void 0 || (_variantitem$variantv3 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv3 === void 0 || _variantitem$variantv3.forEach(function (variantoptionsitem) {
|
|
84277
|
+
if (variantoptionsitem.valueid == chosvalitem.valueid) {
|
|
84278
|
+
is_Start_Variant_Found = true;
|
|
84279
|
+
}
|
|
84280
|
+
});
|
|
84281
|
+
if (is_Start_Variant_Found) {
|
|
84282
|
+
var _variantitem$variantv4;
|
|
84283
|
+
variantitem === null || variantitem === void 0 || (_variantitem$variantv4 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv4 === void 0 || _variantitem$variantv4.forEach(function (variantoptionsitem) {
|
|
84284
|
+
if (valitem.valueid == variantoptionsitem.valueid) {
|
|
84285
|
+
isvaluedisabled = false;
|
|
84286
|
+
}
|
|
84287
|
+
});
|
|
84288
|
+
}
|
|
84289
|
+
});
|
|
84290
|
+
});
|
|
84291
|
+
valitem.disabled = isvaluedisabled;
|
|
84292
|
+
});
|
|
84293
|
+
});
|
|
84294
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84295
|
+
var _item$values3;
|
|
84296
|
+
item === null || item === void 0 || (_item$values3 = item.values) === null || _item$values3 === void 0 || _item$values3.forEach(function (valitem, valindex) {
|
|
84297
|
+
if (valitem.optionid == tempchoosen_values[0].optionid) {
|
|
84298
|
+
valitem.disabled = false;
|
|
84299
|
+
}
|
|
84300
|
+
});
|
|
84301
|
+
});
|
|
84302
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84303
|
+
var _item$values4;
|
|
84304
|
+
item === null || item === void 0 || (_item$values4 = item.values) === null || _item$values4 === void 0 || _item$values4.forEach(function (valitem, valindex) {
|
|
84305
|
+
if (valitem.disabled == true) {
|
|
84306
|
+
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (chosvalitem, choseindex) {
|
|
84307
|
+
if (chosvalitem.valueid == valitem.valueid) {
|
|
84308
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84309
|
+
}
|
|
84310
|
+
});
|
|
84311
|
+
}
|
|
84312
|
+
});
|
|
84313
|
+
});
|
|
84314
|
+
}
|
|
84315
|
+
setoptions_w_values(_toConsumableArray__default["default"](tempoptions_w_values));
|
|
84316
|
+
setchoosen_values(_toConsumableArray__default["default"](tempchoosen_values));
|
|
84317
|
+
};
|
|
84318
|
+
React.useEffect(function () {
|
|
84319
|
+
foundImageColorMatchingFunc(VariantColorImageComObj);
|
|
84320
|
+
}, [VariantColorImageComObj]);
|
|
84321
|
+
React.useEffect(function () {
|
|
84322
|
+
var completedVariantObj = null;
|
|
84323
|
+
var variantimagematching = null;
|
|
84324
|
+
if (choosen_values.length > 0) {
|
|
84325
|
+
var _iterator3 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84326
|
+
_step3;
|
|
84327
|
+
try {
|
|
84328
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
84329
|
+
var _variantitem$variantv6;
|
|
84330
|
+
var variantitem = _step3.value;
|
|
84331
|
+
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv6 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv6 === void 0 ? void 0 : _variantitem$variantv6.filter(function (variantValue) {
|
|
84332
|
+
return choosen_values.some(function (choosenValue) {
|
|
84333
|
+
return choosenValue.valueid === variantValue.valueid;
|
|
84334
|
+
});
|
|
84335
|
+
});
|
|
84336
|
+
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
84337
|
+
completedVariantObj = variantitem;
|
|
84338
|
+
break;
|
|
84339
|
+
}
|
|
84340
|
+
}
|
|
84341
|
+
} catch (err) {
|
|
84342
|
+
_iterator3.e(err);
|
|
84343
|
+
} finally {
|
|
84344
|
+
_iterator3.f();
|
|
84345
|
+
}
|
|
84346
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
84347
|
+
var _item$option_info3, _item$option_info4;
|
|
84348
|
+
if ((item === null || item === void 0 || (_item$option_info3 = item.option_info) === null || _item$option_info3 === void 0 ? void 0 : _item$option_info3.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info4 = item.option_info) === null || _item$option_info4 === void 0 ? void 0 : _item$option_info4.optionname) == 'Color') {
|
|
84349
|
+
var _iterator4 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84350
|
+
_step4;
|
|
84351
|
+
try {
|
|
84352
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
84353
|
+
var _variantitem$variantv5;
|
|
84354
|
+
var variantitem = _step4.value;
|
|
84355
|
+
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv5 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv5 === void 0 ? void 0 : _variantitem$variantv5.find(function (value) {
|
|
84356
|
+
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
84357
|
+
});
|
|
84358
|
+
if (matchingValue) {
|
|
84359
|
+
variantimagematching = variantitem;
|
|
84360
|
+
}
|
|
84361
|
+
}
|
|
84362
|
+
} catch (err) {
|
|
84363
|
+
_iterator4.e(err);
|
|
84364
|
+
} finally {
|
|
84365
|
+
_iterator4.f();
|
|
84366
|
+
}
|
|
84367
|
+
}
|
|
84368
|
+
});
|
|
84369
|
+
}
|
|
84370
|
+
setVariantColorImageComObj(variantimagematching || {});
|
|
84371
|
+
setVariantCompletedObj(completedVariantObj || {});
|
|
84372
|
+
}, [choosen_values]);
|
|
84373
|
+
|
|
84374
|
+
// useEffect(() => {
|
|
84375
|
+
// var completedVariantObj = {};
|
|
84376
|
+
// var tempchoosen_values = [...choosen_values];
|
|
84377
|
+
// if (choosen_values.length != 0) {
|
|
84378
|
+
// variants_iteminfo?.forEach(function (variantitem) {
|
|
84379
|
+
// var isVariantValuesAllSame = true;
|
|
84380
|
+
// variantitem?.variantvalues_w_valueinfo?.forEach(function (variantvalues) {
|
|
84381
|
+
// tempchoosen_values?.forEach(function (item, index) {
|
|
84382
|
+
// if (variantvalues.valueid != item.valueid) {
|
|
84383
|
+
// isVariantValuesAllSame = false;
|
|
84384
|
+
// } else {
|
|
84385
|
+
// }
|
|
84386
|
+
// });
|
|
84387
|
+
// });
|
|
84388
|
+
// if (isVariantValuesAllSame == true) {
|
|
84389
|
+
// completedVariantObj = variantitem;
|
|
84390
|
+
// }
|
|
84391
|
+
// });
|
|
84392
|
+
// }
|
|
84393
|
+
// setVariantCompletedObj({ ...completedVariantObj });
|
|
84394
|
+
// }, [choosen_values]);
|
|
84395
|
+
|
|
84396
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84397
|
+
"class": ' row m-0 w-100 mb-2 '
|
|
84398
|
+
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84399
|
+
"class": ' row m-0 w-100 '
|
|
84400
|
+
}, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
|
|
84401
|
+
var _item$values5;
|
|
84402
|
+
// if (index <= 3) {
|
|
84403
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84404
|
+
className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
|
|
84405
|
+
}, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
|
|
84406
|
+
var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
|
|
84407
|
+
var isChoosedValueExists = false;
|
|
84408
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
|
|
84409
|
+
if (choseitem != null) {
|
|
84410
|
+
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
84411
|
+
isChoosedValueExists = true;
|
|
84412
|
+
}
|
|
84413
|
+
}
|
|
84414
|
+
});
|
|
84415
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84416
|
+
style: {
|
|
84417
|
+
textAlign: 'center'
|
|
84418
|
+
},
|
|
84419
|
+
"class": "mx-1"
|
|
84420
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
84421
|
+
onClick: function onClick() {
|
|
84422
|
+
choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
|
|
84423
|
+
},
|
|
84424
|
+
style: {
|
|
84425
|
+
// backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
|
|
84426
|
+
color: isChoosedValueExists ? '#ffffff' : '#000000',
|
|
84427
|
+
border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
|
|
84428
|
+
padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
|
|
84429
|
+
cursor: valitem.disabled ? 'not-allowed' : 'pointer',
|
|
84430
|
+
fontSize: '13px',
|
|
84431
|
+
width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
|
|
84432
|
+
height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
|
|
84433
|
+
borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
|
|
84434
|
+
background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
|
|
84435
|
+
fontWeight: 500
|
|
84436
|
+
},
|
|
84437
|
+
disabled: valitem.disabled
|
|
84438
|
+
}, (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
|
|
84439
|
+
}));
|
|
84440
|
+
// }
|
|
84441
|
+
})));
|
|
84442
|
+
};
|
|
84443
|
+
|
|
84417
84444
|
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
84418
84445
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84419
84446
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
@@ -84689,6 +84716,12 @@
|
|
|
84689
84716
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
84690
84717
|
color: sectionproperties.skuColor,
|
|
84691
84718
|
fontWeight: sectionproperties.skuFontWeight
|
|
84719
|
+
}),
|
|
84720
|
+
imagediv: glamor.css({
|
|
84721
|
+
':hover': {
|
|
84722
|
+
transition: 'all .4s ease',
|
|
84723
|
+
transform: sectionproperties.zoomimageonhover == 'Yes' ? 'scale(1.1)' : ''
|
|
84724
|
+
}
|
|
84692
84725
|
})
|
|
84693
84726
|
};
|
|
84694
84727
|
var _useState11 = React.useState(''),
|
|
@@ -84827,7 +84860,7 @@
|
|
|
84827
84860
|
transition = true;
|
|
84828
84861
|
}
|
|
84829
84862
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84830
|
-
"class":
|
|
84863
|
+
"class": card_cssstyles.imagediv + ' w-100 cursor-pointer ',
|
|
84831
84864
|
style: {
|
|
84832
84865
|
position: 'relative'
|
|
84833
84866
|
}
|