tabexseriescomponents 0.2.770 → 0.2.771
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 +721 -698
- package/dist/index.esm.js +721 -698
- package/dist/index.umd.js +724 -701
- 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,
|
|
@@ -24902,7 +24920,7 @@
|
|
|
24902
24920
|
style: {
|
|
24903
24921
|
position: sectionproperties.respheaderposition,
|
|
24904
24922
|
// position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
|
|
24905
|
-
zIndex:
|
|
24923
|
+
zIndex: 1000,
|
|
24906
24924
|
top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0
|
|
24907
24925
|
}
|
|
24908
24926
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -24912,7 +24930,10 @@
|
|
|
24912
24930
|
templateproperties_contextprops: templateproperties_context,
|
|
24913
24931
|
actions: actions
|
|
24914
24932
|
})), sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24915
|
-
className: "col-lg-12 p-0"
|
|
24933
|
+
className: "col-lg-12 p-0",
|
|
24934
|
+
style: {
|
|
24935
|
+
borderBottom: sectionproperties.headerrespborderbottomwidth + ' solid ' + sectionproperties.headerrespborderbottomcolor
|
|
24936
|
+
}
|
|
24916
24937
|
}, openSearch == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24917
24938
|
className: ' row m-0 w-100 d-none d-md-flex p-0 '
|
|
24918
24939
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33029,12 +33050,8 @@
|
|
|
33029
33050
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33030
33051
|
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
33031
33052
|
}, /*#__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
|
-
}
|
|
33053
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center justify-content-center m-0 p-0 ',
|
|
33054
|
+
style: {}
|
|
33038
33055
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
33039
33056
|
"class": 'ml-2 mr-2'
|
|
33040
33057
|
}, 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 +72405,6 @@
|
|
|
72388
72405
|
|
|
72389
72406
|
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
72407
|
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
72408
|
var Categorycard_details_onhover = function Categorycard_details_onhover(props) {
|
|
72748
72409
|
var _useState = React.useState(''),
|
|
72749
72410
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -72786,14 +72447,14 @@
|
|
|
72786
72447
|
});
|
|
72787
72448
|
}
|
|
72788
72449
|
});
|
|
72789
|
-
setsectionproperties(_objectSpread$
|
|
72450
|
+
setsectionproperties(_objectSpread$I({}, secpropobj));
|
|
72790
72451
|
}, [StatePagePropertiesContext]);
|
|
72791
72452
|
React.useEffect(function () {
|
|
72792
72453
|
setitem(props.cardinfoitemprops);
|
|
72793
72454
|
}, [props.cardinfoitemprops]);
|
|
72794
72455
|
React.useEffect(function () {
|
|
72795
72456
|
var productImagetoBeSelected = '';
|
|
72796
|
-
var Tempitem = _objectSpread$
|
|
72457
|
+
var Tempitem = _objectSpread$I({}, item);
|
|
72797
72458
|
productImagetoBeSelected = item.productmainimage;
|
|
72798
72459
|
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
|
|
72799
72460
|
var variatgalleryid = variantObj.variantgalleryid;
|
|
@@ -72807,11 +72468,11 @@
|
|
|
72807
72468
|
}
|
|
72808
72469
|
}
|
|
72809
72470
|
Tempitem.image = productImagetoBeSelected;
|
|
72810
|
-
setitem(_objectSpread$
|
|
72471
|
+
setitem(_objectSpread$I({}, Tempitem));
|
|
72811
72472
|
}, [variantObj]);
|
|
72812
72473
|
React.useEffect(function () {
|
|
72813
72474
|
var productImagetoBeSelected = '';
|
|
72814
|
-
var Tempitem = _objectSpread$
|
|
72475
|
+
var Tempitem = _objectSpread$I({}, item);
|
|
72815
72476
|
productImagetoBeSelected = item.productmainimage;
|
|
72816
72477
|
if (Variant_Color_ImageObj != undefined && Variant_Color_ImageObj != null && Object.keys(Variant_Color_ImageObj).length != 0 && Variant_Color_ImageObj != '') {
|
|
72817
72478
|
var variatgalleryid = Variant_Color_ImageObj.variantgalleryid;
|
|
@@ -72825,7 +72486,7 @@
|
|
|
72825
72486
|
}
|
|
72826
72487
|
}
|
|
72827
72488
|
Tempitem.image = productImagetoBeSelected;
|
|
72828
|
-
setitem(_objectSpread$
|
|
72489
|
+
setitem(_objectSpread$I({}, Tempitem));
|
|
72829
72490
|
}, [Variant_Color_ImageObj]);
|
|
72830
72491
|
var card_cssstyles = {
|
|
72831
72492
|
innersection: glamor.css({
|
|
@@ -73159,8 +72820,8 @@
|
|
|
73159
72820
|
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
72821
|
styleInject(css_248z$e);
|
|
73161
72822
|
|
|
73162
|
-
function ownKeys$
|
|
73163
|
-
function _objectSpread$
|
|
72823
|
+
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; }
|
|
72824
|
+
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
72825
|
var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
73165
72826
|
var _useState = React.useState(''),
|
|
73166
72827
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -73198,7 +72859,7 @@
|
|
|
73198
72859
|
});
|
|
73199
72860
|
}
|
|
73200
72861
|
});
|
|
73201
|
-
setsectionproperties(_objectSpread$
|
|
72862
|
+
setsectionproperties(_objectSpread$H({}, secpropobj));
|
|
73202
72863
|
}, [StatePagePropertiesContext]);
|
|
73203
72864
|
React.useEffect(function () {
|
|
73204
72865
|
if (item.quantity == 0) {
|
|
@@ -73508,13 +73169,13 @@
|
|
|
73508
73169
|
onClick: function onClick(e) {
|
|
73509
73170
|
e.stopPropagation();
|
|
73510
73171
|
if (item.hasvariants == 0) {
|
|
73511
|
-
var tempitem = _objectSpread$
|
|
73172
|
+
var tempitem = _objectSpread$H({}, item);
|
|
73512
73173
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
73513
73174
|
tempitem.quantity = tempitem.quantity - 1;
|
|
73514
73175
|
if (tempitem.quantity <= 0) {
|
|
73515
73176
|
tempitem.quantity = 0;
|
|
73516
73177
|
}
|
|
73517
|
-
setitem(_objectSpread$
|
|
73178
|
+
setitem(_objectSpread$H({}, tempitem));
|
|
73518
73179
|
addtocartfunc('add', tempitem.quantity);
|
|
73519
73180
|
} else {
|
|
73520
73181
|
setShowProductInfoModalContext(true);
|
|
@@ -73531,13 +73192,13 @@
|
|
|
73531
73192
|
onClick: function onClick(e) {
|
|
73532
73193
|
e.stopPropagation();
|
|
73533
73194
|
if (item.hasvariants == 0) {
|
|
73534
|
-
var tempitem = _objectSpread$
|
|
73195
|
+
var tempitem = _objectSpread$H({}, item);
|
|
73535
73196
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
73536
73197
|
tempitem.quantity = tempitem.quantity + 1;
|
|
73537
73198
|
if (tempitem.quantity <= 0) {
|
|
73538
73199
|
tempitem.quantity = 0;
|
|
73539
73200
|
}
|
|
73540
|
-
setitem(_objectSpread$
|
|
73201
|
+
setitem(_objectSpread$H({}, tempitem));
|
|
73541
73202
|
addtocartfunc('add', tempitem.quantity);
|
|
73542
73203
|
} else {
|
|
73543
73204
|
setShowProductInfoModalContext(true);
|
|
@@ -73693,8 +73354,8 @@
|
|
|
73693
73354
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))))));
|
|
73694
73355
|
};
|
|
73695
73356
|
|
|
73696
|
-
function ownKeys$
|
|
73697
|
-
function _objectSpread$
|
|
73357
|
+
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; }
|
|
73358
|
+
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
73359
|
var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
73699
73360
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
73700
73361
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
@@ -73737,7 +73398,7 @@
|
|
|
73737
73398
|
});
|
|
73738
73399
|
}
|
|
73739
73400
|
});
|
|
73740
|
-
setsectionproperties(_objectSpread$
|
|
73401
|
+
setsectionproperties(_objectSpread$G({}, secpropobj));
|
|
73741
73402
|
}, [StatePagePropertiesContext]);
|
|
73742
73403
|
|
|
73743
73404
|
// Card Information
|
|
@@ -74124,13 +73785,13 @@
|
|
|
74124
73785
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
74125
73786
|
onClick: function onClick() {
|
|
74126
73787
|
if (item.hasvariants == 0) {
|
|
74127
|
-
var tempitem = _objectSpread$
|
|
73788
|
+
var tempitem = _objectSpread$G({}, item);
|
|
74128
73789
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
74129
73790
|
tempitem.quantity = tempitem.quantity - 1;
|
|
74130
73791
|
if (tempitem.quantity <= 0) {
|
|
74131
73792
|
tempitem.quantity = 0;
|
|
74132
73793
|
}
|
|
74133
|
-
setitem(_objectSpread$
|
|
73794
|
+
setitem(_objectSpread$G({}, tempitem));
|
|
74134
73795
|
addtocartfunc('add', tempitem.quantity);
|
|
74135
73796
|
} else {
|
|
74136
73797
|
setShowProductInfoModalContext(true);
|
|
@@ -74146,13 +73807,13 @@
|
|
|
74146
73807
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
74147
73808
|
onClick: function onClick() {
|
|
74148
73809
|
if (item.hasvariants == 0) {
|
|
74149
|
-
var tempitem = _objectSpread$
|
|
73810
|
+
var tempitem = _objectSpread$G({}, item);
|
|
74150
73811
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
74151
73812
|
tempitem.quantity = tempitem.quantity + 1;
|
|
74152
73813
|
if (tempitem.quantity <= 0) {
|
|
74153
73814
|
tempitem.quantity = 0;
|
|
74154
73815
|
}
|
|
74155
|
-
setitem(_objectSpread$
|
|
73816
|
+
setitem(_objectSpread$G({}, tempitem));
|
|
74156
73817
|
addtocartfunc('add', tempitem.quantity);
|
|
74157
73818
|
} else {
|
|
74158
73819
|
setShowProductInfoModalContext(true);
|
|
@@ -74177,8 +73838,8 @@
|
|
|
74177
73838
|
}))))))));
|
|
74178
73839
|
};
|
|
74179
73840
|
|
|
74180
|
-
function ownKeys$
|
|
74181
|
-
function _objectSpread$
|
|
73841
|
+
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; }
|
|
73842
|
+
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
73843
|
var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
74183
73844
|
var _useState = React.useState(''),
|
|
74184
73845
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -74205,7 +73866,7 @@
|
|
|
74205
73866
|
});
|
|
74206
73867
|
}
|
|
74207
73868
|
});
|
|
74208
|
-
setsectionproperties(_objectSpread$
|
|
73869
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74209
73870
|
}, [StatePagePropertiesContext]);
|
|
74210
73871
|
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
74211
73872
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
@@ -74217,7 +73878,7 @@
|
|
|
74217
73878
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
74218
73879
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
74219
73880
|
});
|
|
74220
|
-
setsectionproperties(_objectSpread$
|
|
73881
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74221
73882
|
} else {
|
|
74222
73883
|
var secpropobj = {};
|
|
74223
73884
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -74227,7 +73888,7 @@
|
|
|
74227
73888
|
});
|
|
74228
73889
|
}
|
|
74229
73890
|
});
|
|
74230
|
-
setsectionproperties(_objectSpread$
|
|
73891
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74231
73892
|
}
|
|
74232
73893
|
}, [StatePagePropertiesContext]);
|
|
74233
73894
|
|
|
@@ -74378,8 +74039,8 @@
|
|
|
74378
74039
|
}, CardContent()));
|
|
74379
74040
|
};
|
|
74380
74041
|
|
|
74381
|
-
function ownKeys$
|
|
74382
|
-
function _objectSpread$
|
|
74042
|
+
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; }
|
|
74043
|
+
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
74044
|
var HorizontalCategoryCard = function HorizontalCategoryCard(props) {
|
|
74384
74045
|
var _useState = React.useState(''),
|
|
74385
74046
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -74404,7 +74065,7 @@
|
|
|
74404
74065
|
});
|
|
74405
74066
|
}
|
|
74406
74067
|
});
|
|
74407
|
-
setsectionproperties(_objectSpread$
|
|
74068
|
+
setsectionproperties(_objectSpread$E({}, secpropobj));
|
|
74408
74069
|
}, [StatePagePropertiesContext]);
|
|
74409
74070
|
React.useEffect(function () {
|
|
74410
74071
|
setitem(props.cardinfoitemprops);
|
|
@@ -74548,8 +74209,8 @@
|
|
|
74548
74209
|
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)))))));
|
|
74549
74210
|
};
|
|
74550
74211
|
|
|
74551
|
-
function ownKeys$
|
|
74552
|
-
function _objectSpread$
|
|
74212
|
+
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; }
|
|
74213
|
+
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
74214
|
var NewProductcard = function NewProductcard(props) {
|
|
74554
74215
|
var _useState = React.useState(''),
|
|
74555
74216
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -74576,7 +74237,7 @@
|
|
|
74576
74237
|
});
|
|
74577
74238
|
}
|
|
74578
74239
|
});
|
|
74579
|
-
setsectionproperties(_objectSpread$
|
|
74240
|
+
setsectionproperties(_objectSpread$D({}, secpropobj));
|
|
74580
74241
|
}, [StatePagePropertiesContext]);
|
|
74581
74242
|
React.useEffect(function () {
|
|
74582
74243
|
setitem(props.cardinfoitemprops);
|
|
@@ -74997,8 +74658,8 @@
|
|
|
74997
74658
|
var cardstyles$7 = {"buttons_container1":"UserCardWithSocialMediaOnHover-module_buttons_container1__Ic7UT","productcard":"UserCardWithSocialMediaOnHover-module_productcard__Yf1rE","image_container":"UserCardWithSocialMediaOnHover-module_image_container__OZfNU"};
|
|
74998
74659
|
styleInject(css_248z$d);
|
|
74999
74660
|
|
|
75000
|
-
function ownKeys$
|
|
75001
|
-
function _objectSpread$
|
|
74661
|
+
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; }
|
|
74662
|
+
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
74663
|
var UserCardWithSocialMediaOnHover = function UserCardWithSocialMediaOnHover(props) {
|
|
75003
74664
|
var _useState = React.useState(''),
|
|
75004
74665
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75023,7 +74684,7 @@
|
|
|
75023
74684
|
});
|
|
75024
74685
|
}
|
|
75025
74686
|
});
|
|
75026
|
-
setsectionproperties(_objectSpread$
|
|
74687
|
+
setsectionproperties(_objectSpread$C({}, secpropobj));
|
|
75027
74688
|
}, [StatePagePropertiesContext]);
|
|
75028
74689
|
React.useEffect(function () {
|
|
75029
74690
|
setitem(props.cardinfoitemprops);
|
|
@@ -75168,8 +74829,8 @@
|
|
|
75168
74829
|
}, item.name)))));
|
|
75169
74830
|
};
|
|
75170
74831
|
|
|
75171
|
-
function ownKeys$
|
|
75172
|
-
function _objectSpread$
|
|
74832
|
+
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; }
|
|
74833
|
+
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
74834
|
var Card20 = function Card20(props) {
|
|
75174
74835
|
var _useState = React.useState(''),
|
|
75175
74836
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75202,7 +74863,7 @@
|
|
|
75202
74863
|
});
|
|
75203
74864
|
}
|
|
75204
74865
|
});
|
|
75205
|
-
setsectionproperties(_objectSpread$
|
|
74866
|
+
setsectionproperties(_objectSpread$B({}, secpropobj));
|
|
75206
74867
|
}, [StatePagePropertiesContext]);
|
|
75207
74868
|
React.useEffect(function () {
|
|
75208
74869
|
setitem(props.cardinfoitemprops);
|
|
@@ -75424,8 +75085,8 @@
|
|
|
75424
75085
|
}, langdetect == 'en' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : item.currencyname)))));
|
|
75425
75086
|
};
|
|
75426
75087
|
|
|
75427
|
-
function ownKeys$
|
|
75428
|
-
function _objectSpread$
|
|
75088
|
+
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; }
|
|
75089
|
+
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
75090
|
var Card21 = function Card21(props) {
|
|
75430
75091
|
var _useState = React.useState(''),
|
|
75431
75092
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75455,7 +75116,7 @@
|
|
|
75455
75116
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
75456
75117
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
75457
75118
|
});
|
|
75458
|
-
setsectionproperties(_objectSpread$
|
|
75119
|
+
setsectionproperties(_objectSpread$A({}, secpropobj));
|
|
75459
75120
|
} else {
|
|
75460
75121
|
var secpropobj = {};
|
|
75461
75122
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -75465,7 +75126,7 @@
|
|
|
75465
75126
|
});
|
|
75466
75127
|
}
|
|
75467
75128
|
});
|
|
75468
|
-
setsectionproperties(_objectSpread$
|
|
75129
|
+
setsectionproperties(_objectSpread$A({}, secpropobj));
|
|
75469
75130
|
}
|
|
75470
75131
|
}, [StatePagePropertiesContext]);
|
|
75471
75132
|
React.useEffect(function () {
|
|
@@ -75756,8 +75417,8 @@
|
|
|
75756
75417
|
}, "18 Days"))));
|
|
75757
75418
|
};
|
|
75758
75419
|
|
|
75759
|
-
function ownKeys$
|
|
75760
|
-
function _objectSpread$
|
|
75420
|
+
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; }
|
|
75421
|
+
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
75422
|
var Card22 = function Card22(props) {
|
|
75762
75423
|
var _useState = React.useState(''),
|
|
75763
75424
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -75787,7 +75448,7 @@
|
|
|
75787
75448
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
75788
75449
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
75789
75450
|
});
|
|
75790
|
-
setsectionproperties(_objectSpread$
|
|
75451
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
75791
75452
|
} else {
|
|
75792
75453
|
var secpropobj = {};
|
|
75793
75454
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -75797,7 +75458,7 @@
|
|
|
75797
75458
|
});
|
|
75798
75459
|
}
|
|
75799
75460
|
});
|
|
75800
|
-
setsectionproperties(_objectSpread$
|
|
75461
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
75801
75462
|
}
|
|
75802
75463
|
}, [StatePagePropertiesContext]);
|
|
75803
75464
|
React.useEffect(function () {
|
|
@@ -75988,8 +75649,8 @@
|
|
|
75988
75649
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))));
|
|
75989
75650
|
};
|
|
75990
75651
|
|
|
75991
|
-
function ownKeys$
|
|
75992
|
-
function _objectSpread$
|
|
75652
|
+
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; }
|
|
75653
|
+
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
75654
|
var Card23 = function Card23(props) {
|
|
75994
75655
|
var _useState = React.useState(''),
|
|
75995
75656
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -76026,7 +75687,7 @@
|
|
|
76026
75687
|
});
|
|
76027
75688
|
}
|
|
76028
75689
|
});
|
|
76029
|
-
setsectionproperties(_objectSpread$
|
|
75690
|
+
setsectionproperties(_objectSpread$y({}, secpropobj));
|
|
76030
75691
|
}, [StatePagePropertiesContext]);
|
|
76031
75692
|
React.useEffect(function () {
|
|
76032
75693
|
var _props$cardinfoitempr;
|
|
@@ -76342,7 +76003,7 @@
|
|
|
76342
76003
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
76343
76004
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
76344
76005
|
var forcetocheckoutvalue = forcetocheckout;
|
|
76345
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
76006
|
+
var tempaddtocardpayloadobj = _objectSpread$y({}, addtocardpayloadobj);
|
|
76346
76007
|
tempaddtocardpayloadobj.productid = item.productid;
|
|
76347
76008
|
tempaddtocardpayloadobj.functype = 'add';
|
|
76348
76009
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
@@ -76627,8 +76288,8 @@
|
|
|
76627
76288
|
}, langdetect == 'en' ? 'Buy Now' : 'اشترى الان'))))))));
|
|
76628
76289
|
};
|
|
76629
76290
|
|
|
76630
|
-
function ownKeys$
|
|
76631
|
-
function _objectSpread$
|
|
76291
|
+
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; }
|
|
76292
|
+
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
76293
|
var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {
|
|
76633
76294
|
var _useState = React.useState(''),
|
|
76634
76295
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -76658,7 +76319,7 @@
|
|
|
76658
76319
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
76659
76320
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
76660
76321
|
});
|
|
76661
|
-
setsectionproperties(_objectSpread$
|
|
76322
|
+
setsectionproperties(_objectSpread$x({}, secpropobj));
|
|
76662
76323
|
} else {
|
|
76663
76324
|
var secpropobj = {};
|
|
76664
76325
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -76668,7 +76329,7 @@
|
|
|
76668
76329
|
});
|
|
76669
76330
|
}
|
|
76670
76331
|
});
|
|
76671
|
-
setsectionproperties(_objectSpread$
|
|
76332
|
+
setsectionproperties(_objectSpread$x({}, secpropobj));
|
|
76672
76333
|
}
|
|
76673
76334
|
}, [StatePagePropertiesContext]);
|
|
76674
76335
|
React.useEffect(function () {
|
|
@@ -76972,8 +76633,8 @@
|
|
|
76972
76633
|
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
76634
|
styleInject(css_248z$c);
|
|
76974
76635
|
|
|
76975
|
-
function ownKeys$
|
|
76976
|
-
function _objectSpread$
|
|
76636
|
+
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; }
|
|
76637
|
+
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
76638
|
var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(props) {
|
|
76978
76639
|
var _useState = React.useState(''),
|
|
76979
76640
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -77002,7 +76663,7 @@
|
|
|
77002
76663
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77003
76664
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77004
76665
|
});
|
|
77005
|
-
setsectionproperties(_objectSpread$
|
|
76666
|
+
setsectionproperties(_objectSpread$w({}, secpropobj));
|
|
77006
76667
|
} else {
|
|
77007
76668
|
var secpropobj = {};
|
|
77008
76669
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77012,14 +76673,14 @@
|
|
|
77012
76673
|
});
|
|
77013
76674
|
}
|
|
77014
76675
|
});
|
|
77015
|
-
setsectionproperties(_objectSpread$
|
|
76676
|
+
setsectionproperties(_objectSpread$w({}, secpropobj));
|
|
77016
76677
|
}
|
|
77017
76678
|
}, [StatePagePropertiesContext]);
|
|
77018
76679
|
React.useEffect(function () {
|
|
77019
76680
|
setitem(props.cardinfoitemprops);
|
|
77020
76681
|
}, [props.cardinfoitemprops]);
|
|
77021
76682
|
var updatequantity = function updatequantity(type) {
|
|
77022
|
-
var tempitem = _objectSpread$
|
|
76683
|
+
var tempitem = _objectSpread$w({}, item);
|
|
77023
76684
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
77024
76685
|
if (type == 'add') {
|
|
77025
76686
|
tempitem.quantity = tempitem.quantity + 1;
|
|
@@ -77029,7 +76690,7 @@
|
|
|
77029
76690
|
if (tempitem.quantity <= 0) {
|
|
77030
76691
|
tempitem.quantity = 0;
|
|
77031
76692
|
}
|
|
77032
|
-
setitem(_objectSpread$
|
|
76693
|
+
setitem(_objectSpread$w({}, tempitem));
|
|
77033
76694
|
};
|
|
77034
76695
|
var addtocartfunc = function addtocartfunc() {
|
|
77035
76696
|
var addtocardpayloadobj = {
|
|
@@ -77611,8 +77272,8 @@
|
|
|
77611
77272
|
var cardstyles$6 = {"categoryCard":"categorycard3-module_categoryCard__3mSQo"};
|
|
77612
77273
|
styleInject(css_248z$b);
|
|
77613
77274
|
|
|
77614
|
-
function ownKeys$
|
|
77615
|
-
function _objectSpread$
|
|
77275
|
+
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; }
|
|
77276
|
+
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
77277
|
var Categorycard_with_twolinestransition = function Categorycard_with_twolinestransition(props) {
|
|
77617
77278
|
var _css;
|
|
77618
77279
|
var _useState = React.useState(''),
|
|
@@ -77639,7 +77300,7 @@
|
|
|
77639
77300
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77640
77301
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77641
77302
|
});
|
|
77642
|
-
setsectionproperties(_objectSpread$
|
|
77303
|
+
setsectionproperties(_objectSpread$v({}, secpropobj));
|
|
77643
77304
|
} else {
|
|
77644
77305
|
var secpropobj = {};
|
|
77645
77306
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77649,7 +77310,7 @@
|
|
|
77649
77310
|
});
|
|
77650
77311
|
}
|
|
77651
77312
|
});
|
|
77652
|
-
setsectionproperties(_objectSpread$
|
|
77313
|
+
setsectionproperties(_objectSpread$v({}, secpropobj));
|
|
77653
77314
|
}
|
|
77654
77315
|
}, [StatePagePropertiesContext]);
|
|
77655
77316
|
React.useEffect(function () {
|
|
@@ -77793,8 +77454,8 @@
|
|
|
77793
77454
|
var cardstyles$5 = {"categorycardtext":"Categorcycard_fullimage-module_categorycardtext__WLY3-","x":"Categorcycard_fullimage-module_x__EZ-yx"};
|
|
77794
77455
|
styleInject(css_248z$a);
|
|
77795
77456
|
|
|
77796
|
-
function ownKeys$
|
|
77797
|
-
function _objectSpread$
|
|
77457
|
+
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; }
|
|
77458
|
+
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
77459
|
var Categorycard_fullimage = function Categorycard_fullimage(props) {
|
|
77799
77460
|
var _useState = React.useState(''),
|
|
77800
77461
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -77824,7 +77485,7 @@
|
|
|
77824
77485
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77825
77486
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77826
77487
|
});
|
|
77827
|
-
setsectionproperties(_objectSpread$
|
|
77488
|
+
setsectionproperties(_objectSpread$u({}, secpropobj));
|
|
77828
77489
|
} else {
|
|
77829
77490
|
var secpropobj = {};
|
|
77830
77491
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77834,7 +77495,7 @@
|
|
|
77834
77495
|
});
|
|
77835
77496
|
}
|
|
77836
77497
|
});
|
|
77837
|
-
setsectionproperties(_objectSpread$
|
|
77498
|
+
setsectionproperties(_objectSpread$u({}, secpropobj));
|
|
77838
77499
|
}
|
|
77839
77500
|
}, [StatePagePropertiesContext]);
|
|
77840
77501
|
React.useEffect(function () {
|
|
@@ -77999,8 +77660,8 @@
|
|
|
77999
77660
|
var cardstyles$4 = {"categoryCard":"Categorycard_slidebgscaled-module_categoryCard__-tIaD","hover":"Categorycard_slidebgscaled-module_hover__Voj0y","cardbtn":"Categorycard_slidebgscaled-module_cardbtn__JlkMB"};
|
|
78000
77661
|
styleInject(css_248z$9);
|
|
78001
77662
|
|
|
78002
|
-
function ownKeys$
|
|
78003
|
-
function _objectSpread$
|
|
77663
|
+
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; }
|
|
77664
|
+
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
77665
|
var Categorycard_slidebgscaled = function Categorycard_slidebgscaled(props) {
|
|
78005
77666
|
var _useState = React.useState(''),
|
|
78006
77667
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78026,7 +77687,7 @@
|
|
|
78026
77687
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78027
77688
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78028
77689
|
});
|
|
78029
|
-
setsectionproperties(_objectSpread$
|
|
77690
|
+
setsectionproperties(_objectSpread$t({}, secpropobj));
|
|
78030
77691
|
} else {
|
|
78031
77692
|
var secpropobj = {};
|
|
78032
77693
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -78036,7 +77697,7 @@
|
|
|
78036
77697
|
});
|
|
78037
77698
|
}
|
|
78038
77699
|
});
|
|
78039
|
-
setsectionproperties(_objectSpread$
|
|
77700
|
+
setsectionproperties(_objectSpread$t({}, secpropobj));
|
|
78040
77701
|
}
|
|
78041
77702
|
}, [StatePagePropertiesContext]);
|
|
78042
77703
|
React.useEffect(function () {
|
|
@@ -78186,8 +77847,8 @@
|
|
|
78186
77847
|
}, sectionproperties.generalbtn_content)))))));
|
|
78187
77848
|
};
|
|
78188
77849
|
|
|
78189
|
-
function ownKeys$
|
|
78190
|
-
function _objectSpread$
|
|
77850
|
+
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; }
|
|
77851
|
+
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
77852
|
var Categorycard_with_trianglebg = function Categorycard_with_trianglebg(props) {
|
|
78192
77853
|
var _useState = React.useState(''),
|
|
78193
77854
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78213,7 +77874,7 @@
|
|
|
78213
77874
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78214
77875
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78215
77876
|
});
|
|
78216
|
-
setsectionproperties(_objectSpread$
|
|
77877
|
+
setsectionproperties(_objectSpread$s({}, secpropobj));
|
|
78217
77878
|
} else {
|
|
78218
77879
|
var secpropobj = {};
|
|
78219
77880
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -78223,7 +77884,7 @@
|
|
|
78223
77884
|
});
|
|
78224
77885
|
}
|
|
78225
77886
|
});
|
|
78226
|
-
setsectionproperties(_objectSpread$
|
|
77887
|
+
setsectionproperties(_objectSpread$s({}, secpropobj));
|
|
78227
77888
|
}
|
|
78228
77889
|
}, [StatePagePropertiesContext]);
|
|
78229
77890
|
React.useEffect(function () {
|
|
@@ -78354,8 +78015,8 @@
|
|
|
78354
78015
|
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
78016
|
styleInject(css_248z$8);
|
|
78356
78017
|
|
|
78357
|
-
function ownKeys$
|
|
78358
|
-
function _objectSpread$
|
|
78018
|
+
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; }
|
|
78019
|
+
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
78020
|
var Categorycard_withshapes = function Categorycard_withshapes(props) {
|
|
78360
78021
|
var _useState = React.useState(''),
|
|
78361
78022
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78375,6 +78036,157 @@
|
|
|
78375
78036
|
props.setProductIdProdutInfoModalContext;
|
|
78376
78037
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78377
78038
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78039
|
+
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
78040
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
78041
|
+
_useState6[0];
|
|
78042
|
+
_useState6[1];
|
|
78043
|
+
React.useEffect(function () {
|
|
78044
|
+
if (props.srcfrom == 'addsectionform') {
|
|
78045
|
+
var secpropobj = {};
|
|
78046
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78047
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78048
|
+
});
|
|
78049
|
+
setsectionproperties(_objectSpread$r({}, secpropobj));
|
|
78050
|
+
} else {
|
|
78051
|
+
var secpropobj = {};
|
|
78052
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
78053
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
78054
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
78055
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
78056
|
+
});
|
|
78057
|
+
}
|
|
78058
|
+
});
|
|
78059
|
+
setsectionproperties(_objectSpread$r({}, secpropobj));
|
|
78060
|
+
}
|
|
78061
|
+
}, [StatePagePropertiesContext]);
|
|
78062
|
+
React.useEffect(function () {
|
|
78063
|
+
setitem(props.cardinfoitemprops);
|
|
78064
|
+
}, [props.cardinfoitemprops]);
|
|
78065
|
+
var card_cssstyles = {
|
|
78066
|
+
categoryCard: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
78067
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
78068
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
78069
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
78070
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
78071
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
78072
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
78073
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
78074
|
+
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
78075
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
78076
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
78077
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
78078
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
78079
|
+
height: sectionproperties.height + 'px',
|
|
78080
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : '',
|
|
78081
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78082
|
+
transition: '0.3s',
|
|
78083
|
+
cursor: 'pointer',
|
|
78084
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
78085
|
+
overflow: 'hidden'
|
|
78086
|
+
}, "cursor", 'pointer'), "backgroundSize", 'cover'), "backgroundRepeat", 'no-repeat'), "backgroundPosition", 'center'), "transition", '0.3s'), ':after', {
|
|
78087
|
+
backgroundColor: sectionproperties.transitionbg_color
|
|
78088
|
+
})),
|
|
78089
|
+
categorycardtext: glamor.css({
|
|
78090
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
78091
|
+
color: sectionproperties.generaltext_fontColor,
|
|
78092
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
78093
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
78094
|
+
}),
|
|
78095
|
+
shadow1: glamor.css({
|
|
78096
|
+
background: sectionproperties.firstcolor
|
|
78097
|
+
// primary
|
|
78098
|
+
}),
|
|
78099
|
+
shadow2: glamor.css({
|
|
78100
|
+
background: sectionproperties.secondcolor
|
|
78101
|
+
// primary
|
|
78102
|
+
}),
|
|
78103
|
+
cards_three__rect2: glamor.css({
|
|
78104
|
+
':before': {
|
|
78105
|
+
background: sectionproperties.secondcolor
|
|
78106
|
+
},
|
|
78107
|
+
':after': {
|
|
78108
|
+
background: sectionproperties.firstcolor
|
|
78109
|
+
}
|
|
78110
|
+
}),
|
|
78111
|
+
cards_three__circle: glamor.css({
|
|
78112
|
+
':before': {
|
|
78113
|
+
background: sectionproperties.firstcolor
|
|
78114
|
+
}
|
|
78115
|
+
})
|
|
78116
|
+
};
|
|
78117
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78118
|
+
"class": "".concat(cardstyles$3.card__collection, " ").concat(card_cssstyles.categoryCard),
|
|
78119
|
+
onClick: function onClick() {
|
|
78120
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78121
|
+
}
|
|
78122
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78123
|
+
"class": "".concat(cardstyles$3.cards, " ").concat(cardstyles$3.cards_three),
|
|
78124
|
+
style: {
|
|
78125
|
+
// backgroundImage: `url(${serverbaselink + item.image})`,
|
|
78126
|
+
backgroundPosition: 'center center',
|
|
78127
|
+
backgroundRepeat: 'no-repeat',
|
|
78128
|
+
backgroundSize: 'cover'
|
|
78129
|
+
}
|
|
78130
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
78131
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78132
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78133
|
+
path: item.image,
|
|
78134
|
+
style: {
|
|
78135
|
+
width: '100%',
|
|
78136
|
+
height: '100%',
|
|
78137
|
+
objectFit: 'cover'
|
|
78138
|
+
},
|
|
78139
|
+
loading: "lazy"
|
|
78140
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78141
|
+
"class": "".concat(cardstyles$3.cards_three__rect1)
|
|
78142
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78143
|
+
"class": "".concat(cardstyles$3.shadow1, " ").concat(card_cssstyles.shadow1)
|
|
78144
|
+
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78145
|
+
"class": ' row m-0 w-100 '
|
|
78146
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78147
|
+
"class": "col-lg-12 p-0"
|
|
78148
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78149
|
+
"class": "".concat(card_cssstyles.categorycardtext) + ' m-0 p-0 '
|
|
78150
|
+
}, item.name)))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78151
|
+
"class": "".concat(cardstyles$3.cards_three__rect2, " ").concat(card_cssstyles.cards_three__rect2)
|
|
78152
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78153
|
+
"class": "".concat(cardstyles$3.shadow2, " ").concat(card_cssstyles.shadow2)
|
|
78154
|
+
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78155
|
+
"class": "".concat(cardstyles$3.cards_three__circle, " ").concat(card_cssstyles.cards_three__circle)
|
|
78156
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78157
|
+
"class": "".concat(cardstyles$3.cards_three__list),
|
|
78158
|
+
onClick: function onClick() {
|
|
78159
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78160
|
+
}
|
|
78161
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78162
|
+
"class": "".concat(cardstyles$3.btncont, " ") + ' row m-0 w-100'
|
|
78163
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78164
|
+
style: {
|
|
78165
|
+
zIndex: 1000
|
|
78166
|
+
}
|
|
78167
|
+
}, "More Items")))));
|
|
78168
|
+
};
|
|
78169
|
+
|
|
78170
|
+
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";
|
|
78171
|
+
var cardstyles$2 = {"categorycard":"categorycardwithtext-module_categorycard__itFPD","categorycardtext":"categorycardwithtext-module_categorycardtext__-PiLF","cardbtn":"categorycardwithtext-module_cardbtn__p-if9"};
|
|
78172
|
+
styleInject(css_248z$7);
|
|
78173
|
+
|
|
78174
|
+
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; }
|
|
78175
|
+
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; }
|
|
78176
|
+
var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
78177
|
+
var _useState = React.useState(''),
|
|
78178
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
78179
|
+
sectionproperties = _useState2[0],
|
|
78180
|
+
setsectionproperties = _useState2[1];
|
|
78181
|
+
var _useState3 = React.useState(props.cardinfoitemprops),
|
|
78182
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
78183
|
+
item = _useState4[0],
|
|
78184
|
+
setitem = _useState4[1];
|
|
78185
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
78186
|
+
props.actions.lang;
|
|
78187
|
+
var langdetect = props.actions.langdetect;
|
|
78188
|
+
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78189
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78378
78190
|
var _useState5 = React.useState(props.cardinfoindexprops),
|
|
78379
78191
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
78380
78192
|
_useState6[0];
|
|
@@ -78401,157 +78213,6 @@
|
|
|
78401
78213
|
React.useEffect(function () {
|
|
78402
78214
|
setitem(props.cardinfoitemprops);
|
|
78403
78215
|
}, [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
78216
|
var categorycard_cssstyles = {
|
|
78556
78217
|
categorycard: glamor.css({
|
|
78557
78218
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -78702,8 +78363,8 @@
|
|
|
78702
78363
|
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
78364
|
styleInject(css_248z$6);
|
|
78704
78365
|
|
|
78705
|
-
function ownKeys$
|
|
78706
|
-
function _objectSpread$
|
|
78366
|
+
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; }
|
|
78367
|
+
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
78368
|
var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
78708
78369
|
var _useState = React.useState(''),
|
|
78709
78370
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78736,7 +78397,7 @@
|
|
|
78736
78397
|
});
|
|
78737
78398
|
}
|
|
78738
78399
|
});
|
|
78739
|
-
setsectionproperties(_objectSpread$
|
|
78400
|
+
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78740
78401
|
}, [StatePagePropertiesContext]);
|
|
78741
78402
|
React.useEffect(function () {
|
|
78742
78403
|
setitem(props.cardinfoitemprops);
|
|
@@ -78935,8 +78596,8 @@
|
|
|
78935
78596
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
|
|
78936
78597
|
};
|
|
78937
78598
|
|
|
78938
|
-
function ownKeys$
|
|
78939
|
-
function _objectSpread$
|
|
78599
|
+
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; }
|
|
78600
|
+
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
78601
|
var Classiccategorycard = function Classiccategorycard(props) {
|
|
78941
78602
|
var _useState = React.useState(''),
|
|
78942
78603
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -78962,7 +78623,7 @@
|
|
|
78962
78623
|
});
|
|
78963
78624
|
}
|
|
78964
78625
|
});
|
|
78965
|
-
setsectionproperties(_objectSpread$
|
|
78626
|
+
setsectionproperties(_objectSpread$o({}, secpropobj));
|
|
78966
78627
|
}, [StatePagePropertiesContext]);
|
|
78967
78628
|
React.useEffect(function () {
|
|
78968
78629
|
setitem(props.cardinfoitemprops);
|
|
@@ -79072,8 +78733,8 @@
|
|
|
79072
78733
|
}, item.name))));
|
|
79073
78734
|
};
|
|
79074
78735
|
|
|
79075
|
-
function ownKeys$
|
|
79076
|
-
function _objectSpread$
|
|
78736
|
+
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; }
|
|
78737
|
+
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
78738
|
var Horizontalcard = function Horizontalcard(props) {
|
|
79078
78739
|
var _useState = React.useState(''),
|
|
79079
78740
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -79111,7 +78772,7 @@
|
|
|
79111
78772
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
79112
78773
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
79113
78774
|
});
|
|
79114
|
-
setsectionproperties(_objectSpread$
|
|
78775
|
+
setsectionproperties(_objectSpread$n({}, secpropobj));
|
|
79115
78776
|
} else {
|
|
79116
78777
|
var secpropobj = {};
|
|
79117
78778
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -79121,7 +78782,7 @@
|
|
|
79121
78782
|
});
|
|
79122
78783
|
}
|
|
79123
78784
|
});
|
|
79124
|
-
setsectionproperties(_objectSpread$
|
|
78785
|
+
setsectionproperties(_objectSpread$n({}, secpropobj));
|
|
79125
78786
|
}
|
|
79126
78787
|
}, [StatePagePropertiesContext]);
|
|
79127
78788
|
React.useEffect(function () {
|
|
@@ -79524,9 +79185,9 @@
|
|
|
79524
79185
|
if (showquantity == false) {
|
|
79525
79186
|
setshowquantity(true);
|
|
79526
79187
|
if (item.hasvariants == 0) {
|
|
79527
|
-
var tempitem = _objectSpread$
|
|
79188
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79528
79189
|
tempitem.quantity = 1;
|
|
79529
|
-
setitem(_objectSpread$
|
|
79190
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79530
79191
|
addtocartfunc('add', tempitem.quantity);
|
|
79531
79192
|
}
|
|
79532
79193
|
} else {
|
|
@@ -79546,13 +79207,13 @@
|
|
|
79546
79207
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
79547
79208
|
onClick: function onClick() {
|
|
79548
79209
|
if (item.hasvariants == 0) {
|
|
79549
|
-
var tempitem = _objectSpread$
|
|
79210
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79550
79211
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
79551
79212
|
tempitem.quantity = tempitem.quantity - 1;
|
|
79552
79213
|
if (tempitem.quantity <= 0) {
|
|
79553
79214
|
tempitem.quantity = 0;
|
|
79554
79215
|
}
|
|
79555
|
-
setitem(_objectSpread$
|
|
79216
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79556
79217
|
addtocartfunc('add', tempitem.quantity);
|
|
79557
79218
|
} else {
|
|
79558
79219
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
@@ -79567,13 +79228,13 @@
|
|
|
79567
79228
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
79568
79229
|
onClick: function onClick() {
|
|
79569
79230
|
if (item.hasvariants == 0) {
|
|
79570
|
-
var tempitem = _objectSpread$
|
|
79231
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79571
79232
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
79572
79233
|
tempitem.quantity = tempitem.quantity + 1;
|
|
79573
79234
|
if (tempitem.quantity <= 0) {
|
|
79574
79235
|
tempitem.quantity = 0;
|
|
79575
79236
|
}
|
|
79576
|
-
setitem(_objectSpread$
|
|
79237
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79577
79238
|
addtocartfunc('add', tempitem.quantity);
|
|
79578
79239
|
} else {
|
|
79579
79240
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
@@ -79585,8 +79246,8 @@
|
|
|
79585
79246
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))))))));
|
|
79586
79247
|
};
|
|
79587
79248
|
|
|
79588
|
-
function ownKeys$
|
|
79589
|
-
function _objectSpread$
|
|
79249
|
+
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; }
|
|
79250
|
+
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
79251
|
var MenuCard = function MenuCard(props) {
|
|
79591
79252
|
var _css2;
|
|
79592
79253
|
var _useState = React.useState(''),
|
|
@@ -79616,7 +79277,7 @@
|
|
|
79616
79277
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
79617
79278
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
79618
79279
|
});
|
|
79619
|
-
setsectionproperties(_objectSpread$
|
|
79280
|
+
setsectionproperties(_objectSpread$m({}, secpropobj));
|
|
79620
79281
|
} else {
|
|
79621
79282
|
var secpropobj = {};
|
|
79622
79283
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -79626,7 +79287,7 @@
|
|
|
79626
79287
|
});
|
|
79627
79288
|
}
|
|
79628
79289
|
});
|
|
79629
|
-
setsectionproperties(_objectSpread$
|
|
79290
|
+
setsectionproperties(_objectSpread$m({}, secpropobj));
|
|
79630
79291
|
}
|
|
79631
79292
|
}, [StatePagePropertiesContext]);
|
|
79632
79293
|
React.useEffect(function () {
|
|
@@ -79995,13 +79656,13 @@
|
|
|
79995
79656
|
},
|
|
79996
79657
|
onClick: function onClick() {
|
|
79997
79658
|
if (item.hasvariants == 0) {
|
|
79998
|
-
var tempitem = _objectSpread$
|
|
79659
|
+
var tempitem = _objectSpread$m({}, item);
|
|
79999
79660
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80000
79661
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80001
79662
|
if (tempitem.quantity <= 0) {
|
|
80002
79663
|
tempitem.quantity = 0;
|
|
80003
79664
|
}
|
|
80004
|
-
setitem(_objectSpread$
|
|
79665
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80005
79666
|
addtocartfunc('add', tempitem.quantity);
|
|
80006
79667
|
} else {
|
|
80007
79668
|
setShowProductInfoModalContext(true);
|
|
@@ -80015,13 +79676,13 @@
|
|
|
80015
79676
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
80016
79677
|
onClick: function onClick() {
|
|
80017
79678
|
if (item.hasvariants == 0) {
|
|
80018
|
-
var tempitem = _objectSpread$
|
|
79679
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80019
79680
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80020
79681
|
tempitem.quantity = tempitem.quantity + 1;
|
|
80021
79682
|
if (tempitem.quantity <= 0) {
|
|
80022
79683
|
tempitem.quantity = 0;
|
|
80023
79684
|
}
|
|
80024
|
-
setitem(_objectSpread$
|
|
79685
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80025
79686
|
addtocartfunc('add', tempitem.quantity);
|
|
80026
79687
|
} else {
|
|
80027
79688
|
setShowProductInfoModalContext(true);
|
|
@@ -80046,13 +79707,13 @@
|
|
|
80046
79707
|
},
|
|
80047
79708
|
onClick: function onClick() {
|
|
80048
79709
|
if (item.hasvariants == 0) {
|
|
80049
|
-
var tempitem = _objectSpread$
|
|
79710
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80050
79711
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80051
79712
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80052
79713
|
if (tempitem.quantity <= 0) {
|
|
80053
79714
|
tempitem.quantity = 0;
|
|
80054
79715
|
}
|
|
80055
|
-
setitem(_objectSpread$
|
|
79716
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80056
79717
|
addtocartfunc('add', tempitem.quantity);
|
|
80057
79718
|
} else {
|
|
80058
79719
|
setShowProductInfoModalContext(true);
|
|
@@ -80066,13 +79727,13 @@
|
|
|
80066
79727
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
80067
79728
|
onClick: function onClick() {
|
|
80068
79729
|
if (item.hasvariants == 0) {
|
|
80069
|
-
var tempitem = _objectSpread$
|
|
79730
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80070
79731
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80071
79732
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80072
79733
|
if (tempitem.quantity <= 0) {
|
|
80073
79734
|
tempitem.quantity = 0;
|
|
80074
79735
|
}
|
|
80075
|
-
setitem(_objectSpread$
|
|
79736
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80076
79737
|
addtocartfunc('add', tempitem.quantity);
|
|
80077
79738
|
} else {
|
|
80078
79739
|
setShowProductInfoModalContext(true);
|
|
@@ -80141,8 +79802,8 @@
|
|
|
80141
79802
|
})))))))))));
|
|
80142
79803
|
};
|
|
80143
79804
|
|
|
80144
|
-
function ownKeys$
|
|
80145
|
-
function _objectSpread$
|
|
79805
|
+
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; }
|
|
79806
|
+
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
79807
|
var ServiceCard = function ServiceCard(props) {
|
|
80147
79808
|
var _css, _authdetailsContext$i, _authdetailsContext$i2;
|
|
80148
79809
|
var _useState = React.useState(''),
|
|
@@ -80173,7 +79834,7 @@
|
|
|
80173
79834
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
80174
79835
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
80175
79836
|
});
|
|
80176
|
-
setsectionproperties(_objectSpread$
|
|
79837
|
+
setsectionproperties(_objectSpread$l({}, secpropobj));
|
|
80177
79838
|
} else {
|
|
80178
79839
|
var secpropobj = {};
|
|
80179
79840
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -80183,7 +79844,7 @@
|
|
|
80183
79844
|
});
|
|
80184
79845
|
}
|
|
80185
79846
|
});
|
|
80186
|
-
setsectionproperties(_objectSpread$
|
|
79847
|
+
setsectionproperties(_objectSpread$l({}, secpropobj));
|
|
80187
79848
|
}
|
|
80188
79849
|
}, [StatePagePropertiesContext]);
|
|
80189
79850
|
React.useEffect(function () {
|
|
@@ -80589,8 +80250,8 @@
|
|
|
80589
80250
|
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
80251
|
styleInject(css_248z$5);
|
|
80591
80252
|
|
|
80592
|
-
function ownKeys$
|
|
80593
|
-
function _objectSpread$
|
|
80253
|
+
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; }
|
|
80254
|
+
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
80255
|
var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props) {
|
|
80595
80256
|
var _useState = React.useState(''),
|
|
80596
80257
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -80630,7 +80291,7 @@
|
|
|
80630
80291
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
80631
80292
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
80632
80293
|
});
|
|
80633
|
-
setsectionproperties(_objectSpread$
|
|
80294
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
80634
80295
|
} else {
|
|
80635
80296
|
var secpropobj = {};
|
|
80636
80297
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -80640,7 +80301,7 @@
|
|
|
80640
80301
|
});
|
|
80641
80302
|
}
|
|
80642
80303
|
});
|
|
80643
|
-
setsectionproperties(_objectSpread$
|
|
80304
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
80644
80305
|
}
|
|
80645
80306
|
}, [StatePagePropertiesContext]);
|
|
80646
80307
|
React.useEffect(function () {
|
|
@@ -80981,13 +80642,13 @@
|
|
|
80981
80642
|
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container),
|
|
80982
80643
|
onClick: function onClick() {
|
|
80983
80644
|
if (item.hasvariants == 0) {
|
|
80984
|
-
var tempitem = _objectSpread$
|
|
80645
|
+
var tempitem = _objectSpread$k({}, item);
|
|
80985
80646
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80986
80647
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80987
80648
|
if (tempitem.quantity <= 0) {
|
|
80988
80649
|
tempitem.quantity = 0;
|
|
80989
80650
|
}
|
|
80990
|
-
setitem(_objectSpread$
|
|
80651
|
+
setitem(_objectSpread$k({}, tempitem));
|
|
80991
80652
|
addtocartfunc('add', tempitem.quantity);
|
|
80992
80653
|
} else {
|
|
80993
80654
|
setShowProductInfoModalContext(true);
|
|
@@ -81003,13 +80664,13 @@
|
|
|
81003
80664
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
81004
80665
|
onClick: function onClick() {
|
|
81005
80666
|
if (item.hasvariants == 0) {
|
|
81006
|
-
var tempitem = _objectSpread$
|
|
80667
|
+
var tempitem = _objectSpread$k({}, item);
|
|
81007
80668
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81008
80669
|
tempitem.quantity = tempitem.quantity + 1;
|
|
81009
80670
|
if (tempitem.quantity <= 0) {
|
|
81010
80671
|
tempitem.quantity = 0;
|
|
81011
80672
|
}
|
|
81012
|
-
setitem(_objectSpread$
|
|
80673
|
+
setitem(_objectSpread$k({}, tempitem));
|
|
81013
80674
|
addtocartfunc('add', tempitem.quantity);
|
|
81014
80675
|
} else {
|
|
81015
80676
|
setShowProductInfoModalContext(true);
|
|
@@ -81029,8 +80690,8 @@
|
|
|
81029
80690
|
}, lang.addtocart)))));
|
|
81030
80691
|
};
|
|
81031
80692
|
|
|
81032
|
-
function ownKeys$
|
|
81033
|
-
function _objectSpread$
|
|
80693
|
+
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; }
|
|
80694
|
+
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
80695
|
var ModernProductCard = function ModernProductCard(props) {
|
|
81035
80696
|
var _useState = React.useState(''),
|
|
81036
80697
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -81054,7 +80715,7 @@
|
|
|
81054
80715
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
81055
80716
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
81056
80717
|
var updatequantity = function updatequantity(type) {
|
|
81057
|
-
var tempitem = _objectSpread$
|
|
80718
|
+
var tempitem = _objectSpread$j({}, item);
|
|
81058
80719
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81059
80720
|
if (type == 'add') {
|
|
81060
80721
|
tempitem.quantity = tempitem.quantity + 1;
|
|
@@ -81064,7 +80725,7 @@
|
|
|
81064
80725
|
if (tempitem.quantity <= 0) {
|
|
81065
80726
|
tempitem.quantity = 0;
|
|
81066
80727
|
}
|
|
81067
|
-
setitem(_objectSpread$
|
|
80728
|
+
setitem(_objectSpread$j({}, tempitem));
|
|
81068
80729
|
};
|
|
81069
80730
|
React.useEffect(function () {
|
|
81070
80731
|
if (props.srcfrom == 'addsectionform') {
|
|
@@ -81072,7 +80733,7 @@
|
|
|
81072
80733
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81073
80734
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81074
80735
|
});
|
|
81075
|
-
setsectionproperties(_objectSpread$
|
|
80736
|
+
setsectionproperties(_objectSpread$j({}, secpropobj));
|
|
81076
80737
|
} else {
|
|
81077
80738
|
var secpropobj = {};
|
|
81078
80739
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81082,7 +80743,7 @@
|
|
|
81082
80743
|
});
|
|
81083
80744
|
}
|
|
81084
80745
|
});
|
|
81085
|
-
setsectionproperties(_objectSpread$
|
|
80746
|
+
setsectionproperties(_objectSpread$j({}, secpropobj));
|
|
81086
80747
|
}
|
|
81087
80748
|
}, [StatePagePropertiesContext]);
|
|
81088
80749
|
React.useEffect(function () {
|
|
@@ -81555,8 +81216,8 @@
|
|
|
81555
81216
|
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
81217
|
styleInject(css_248z$4);
|
|
81557
81218
|
|
|
81558
|
-
function ownKeys$
|
|
81559
|
-
function _objectSpread$
|
|
81219
|
+
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; }
|
|
81220
|
+
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
81221
|
var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
81561
81222
|
var _useState = React.useState(''),
|
|
81562
81223
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -81584,7 +81245,7 @@
|
|
|
81584
81245
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81585
81246
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81586
81247
|
});
|
|
81587
|
-
setsectionproperties(_objectSpread$
|
|
81248
|
+
setsectionproperties(_objectSpread$i({}, secpropobj));
|
|
81588
81249
|
} else {
|
|
81589
81250
|
var secpropobj = {};
|
|
81590
81251
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81594,7 +81255,7 @@
|
|
|
81594
81255
|
});
|
|
81595
81256
|
}
|
|
81596
81257
|
});
|
|
81597
|
-
setsectionproperties(_objectSpread$
|
|
81258
|
+
setsectionproperties(_objectSpread$i({}, secpropobj));
|
|
81598
81259
|
}
|
|
81599
81260
|
}, [StatePagePropertiesContext]);
|
|
81600
81261
|
React.useEffect(function () {
|
|
@@ -81859,8 +81520,8 @@
|
|
|
81859
81520
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))))));
|
|
81860
81521
|
};
|
|
81861
81522
|
|
|
81862
|
-
function ownKeys$
|
|
81863
|
-
function _objectSpread$
|
|
81523
|
+
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; }
|
|
81524
|
+
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
81525
|
var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
|
|
81865
81526
|
var _useState = React.useState(''),
|
|
81866
81527
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -81892,7 +81553,7 @@
|
|
|
81892
81553
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81893
81554
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81894
81555
|
});
|
|
81895
|
-
setsectionproperties(_objectSpread$
|
|
81556
|
+
setsectionproperties(_objectSpread$h({}, secpropobj));
|
|
81896
81557
|
} else {
|
|
81897
81558
|
var secpropobj = {};
|
|
81898
81559
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81902,7 +81563,7 @@
|
|
|
81902
81563
|
});
|
|
81903
81564
|
}
|
|
81904
81565
|
});
|
|
81905
|
-
setsectionproperties(_objectSpread$
|
|
81566
|
+
setsectionproperties(_objectSpread$h({}, secpropobj));
|
|
81906
81567
|
}
|
|
81907
81568
|
}, [StatePagePropertiesContext]);
|
|
81908
81569
|
React.useEffect(function () {
|
|
@@ -82117,8 +81778,8 @@
|
|
|
82117
81778
|
}, lang.addtocart)))));
|
|
82118
81779
|
};
|
|
82119
81780
|
|
|
82120
|
-
function ownKeys$
|
|
82121
|
-
function _objectSpread$
|
|
81781
|
+
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; }
|
|
81782
|
+
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
81783
|
var Productcard_with_circularhover = function Productcard_with_circularhover(props) {
|
|
82123
81784
|
var _useState = React.useState(''),
|
|
82124
81785
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -82146,7 +81807,7 @@
|
|
|
82146
81807
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
82147
81808
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
82148
81809
|
});
|
|
82149
|
-
setsectionproperties(_objectSpread$
|
|
81810
|
+
setsectionproperties(_objectSpread$g({}, secpropobj));
|
|
82150
81811
|
} else {
|
|
82151
81812
|
var secpropobj = {};
|
|
82152
81813
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -82156,7 +81817,7 @@
|
|
|
82156
81817
|
});
|
|
82157
81818
|
}
|
|
82158
81819
|
});
|
|
82159
|
-
setsectionproperties(_objectSpread$
|
|
81820
|
+
setsectionproperties(_objectSpread$g({}, secpropobj));
|
|
82160
81821
|
}
|
|
82161
81822
|
}, [StatePagePropertiesContext]);
|
|
82162
81823
|
React.useEffect(function () {
|
|
@@ -82391,8 +82052,8 @@
|
|
|
82391
82052
|
})), item.IsFavExists ? lang.remove : lang.addtofavorites))))));
|
|
82392
82053
|
};
|
|
82393
82054
|
|
|
82394
|
-
function ownKeys$
|
|
82395
|
-
function _objectSpread$
|
|
82055
|
+
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; }
|
|
82056
|
+
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
82057
|
var Productcard_with_slideanimation = function Productcard_with_slideanimation(props) {
|
|
82397
82058
|
var _useState = React.useState(''),
|
|
82398
82059
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -82420,7 +82081,7 @@
|
|
|
82420
82081
|
});
|
|
82421
82082
|
}
|
|
82422
82083
|
});
|
|
82423
|
-
setsectionproperties(_objectSpread$
|
|
82084
|
+
setsectionproperties(_objectSpread$f({}, secpropobj));
|
|
82424
82085
|
}, [StatePagePropertiesContext]);
|
|
82425
82086
|
React.useEffect(function () {
|
|
82426
82087
|
setitem(props.cardinfoitemprops);
|
|
@@ -82682,8 +82343,8 @@
|
|
|
82682
82343
|
})))))))));
|
|
82683
82344
|
};
|
|
82684
82345
|
|
|
82685
|
-
function ownKeys$
|
|
82686
|
-
function _objectSpread$
|
|
82346
|
+
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; }
|
|
82347
|
+
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
82348
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
82688
82349
|
var _useState = React.useState(''),
|
|
82689
82350
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -82719,7 +82380,7 @@
|
|
|
82719
82380
|
});
|
|
82720
82381
|
}
|
|
82721
82382
|
});
|
|
82722
|
-
setsectionproperties(_objectSpread$
|
|
82383
|
+
setsectionproperties(_objectSpread$e({}, secpropobj));
|
|
82723
82384
|
}, [StatePagePropertiesContext]);
|
|
82724
82385
|
React.useEffect(function () {
|
|
82725
82386
|
var _props$cardinfoitempr;
|
|
@@ -83108,8 +82769,8 @@
|
|
|
83108
82769
|
var cardsstyles$2 = {"productcard":"Productcard6-module_productcard__Vx7dM","addbtn":"Productcard6-module_addbtn__x6bMd"};
|
|
83109
82770
|
styleInject(css_248z$3);
|
|
83110
82771
|
|
|
83111
|
-
function ownKeys$
|
|
83112
|
-
function _objectSpread$
|
|
82772
|
+
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; }
|
|
82773
|
+
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
82774
|
var Productcard6 = function Productcard6(props) {
|
|
83114
82775
|
var _useState = React.useState(''),
|
|
83115
82776
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83137,7 +82798,7 @@
|
|
|
83137
82798
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83138
82799
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83139
82800
|
});
|
|
83140
|
-
setsectionproperties(_objectSpread$
|
|
82801
|
+
setsectionproperties(_objectSpread$d({}, secpropobj));
|
|
83141
82802
|
} else {
|
|
83142
82803
|
var secpropobj = {};
|
|
83143
82804
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83147,7 +82808,7 @@
|
|
|
83147
82808
|
});
|
|
83148
82809
|
}
|
|
83149
82810
|
});
|
|
83150
|
-
setsectionproperties(_objectSpread$
|
|
82811
|
+
setsectionproperties(_objectSpread$d({}, secpropobj));
|
|
83151
82812
|
}
|
|
83152
82813
|
}, [StatePagePropertiesContext]);
|
|
83153
82814
|
React.useEffect(function () {
|
|
@@ -83331,8 +82992,8 @@
|
|
|
83331
82992
|
}))))))));
|
|
83332
82993
|
};
|
|
83333
82994
|
|
|
83334
|
-
function ownKeys$
|
|
83335
|
-
function _objectSpread$
|
|
82995
|
+
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; }
|
|
82996
|
+
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
82997
|
var Productcard7 = function Productcard7(props) {
|
|
83337
82998
|
var _useState = React.useState(''),
|
|
83338
82999
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83360,7 +83021,7 @@
|
|
|
83360
83021
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83361
83022
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83362
83023
|
});
|
|
83363
|
-
setsectionproperties(_objectSpread$
|
|
83024
|
+
setsectionproperties(_objectSpread$c({}, secpropobj));
|
|
83364
83025
|
} else {
|
|
83365
83026
|
var secpropobj = {};
|
|
83366
83027
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83370,7 +83031,7 @@
|
|
|
83370
83031
|
});
|
|
83371
83032
|
}
|
|
83372
83033
|
});
|
|
83373
|
-
setsectionproperties(_objectSpread$
|
|
83034
|
+
setsectionproperties(_objectSpread$c({}, secpropobj));
|
|
83374
83035
|
}
|
|
83375
83036
|
}, [StatePagePropertiesContext]);
|
|
83376
83037
|
React.useEffect(function () {
|
|
@@ -83580,8 +83241,8 @@
|
|
|
83580
83241
|
})), langdetect == 'en' ? 'add to cart' : 'اضف الى العرية')));
|
|
83581
83242
|
};
|
|
83582
83243
|
|
|
83583
|
-
function ownKeys$
|
|
83584
|
-
function _objectSpread$
|
|
83244
|
+
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; }
|
|
83245
|
+
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
83246
|
var Productcarddefault = function Productcarddefault(props) {
|
|
83586
83247
|
var _useState = React.useState(''),
|
|
83587
83248
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83609,7 +83270,7 @@
|
|
|
83609
83270
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83610
83271
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83611
83272
|
});
|
|
83612
|
-
setsectionproperties(_objectSpread$
|
|
83273
|
+
setsectionproperties(_objectSpread$b({}, secpropobj));
|
|
83613
83274
|
} else {
|
|
83614
83275
|
var secpropobj = {};
|
|
83615
83276
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83619,7 +83280,7 @@
|
|
|
83619
83280
|
});
|
|
83620
83281
|
}
|
|
83621
83282
|
});
|
|
83622
|
-
setsectionproperties(_objectSpread$
|
|
83283
|
+
setsectionproperties(_objectSpread$b({}, secpropobj));
|
|
83623
83284
|
}
|
|
83624
83285
|
}, [StatePagePropertiesContext]);
|
|
83625
83286
|
React.useEffect(function () {
|
|
@@ -83829,8 +83490,8 @@
|
|
|
83829
83490
|
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
83491
|
styleInject(css_248z$2);
|
|
83831
83492
|
|
|
83832
|
-
function ownKeys$
|
|
83833
|
-
function _objectSpread$
|
|
83493
|
+
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; }
|
|
83494
|
+
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
83495
|
var Productccard_with_imageontopleft = function Productccard_with_imageontopleft(props) {
|
|
83835
83496
|
var _useState = React.useState(''),
|
|
83836
83497
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -83858,7 +83519,7 @@
|
|
|
83858
83519
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83859
83520
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83860
83521
|
});
|
|
83861
|
-
setsectionproperties(_objectSpread$
|
|
83522
|
+
setsectionproperties(_objectSpread$a({}, secpropobj));
|
|
83862
83523
|
} else {
|
|
83863
83524
|
var secpropobj = {};
|
|
83864
83525
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83868,7 +83529,7 @@
|
|
|
83868
83529
|
});
|
|
83869
83530
|
}
|
|
83870
83531
|
});
|
|
83871
|
-
setsectionproperties(_objectSpread$
|
|
83532
|
+
setsectionproperties(_objectSpread$a({}, secpropobj));
|
|
83872
83533
|
}
|
|
83873
83534
|
}, [StatePagePropertiesContext]);
|
|
83874
83535
|
React.useEffect(function () {
|
|
@@ -84094,8 +83755,8 @@
|
|
|
84094
83755
|
var cardsstyles = {"productcard":"Prouductcard_with_zoomhover-module_productcard__Q-cI6"};
|
|
84095
83756
|
styleInject(css_248z$1);
|
|
84096
83757
|
|
|
84097
|
-
function ownKeys$
|
|
84098
|
-
function _objectSpread$
|
|
83758
|
+
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; }
|
|
83759
|
+
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
83760
|
var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
|
|
84100
83761
|
var _useState = React.useState(''),
|
|
84101
83762
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -84127,7 +83788,7 @@
|
|
|
84127
83788
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
84128
83789
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
84129
83790
|
});
|
|
84130
|
-
setsectionproperties(_objectSpread$
|
|
83791
|
+
setsectionproperties(_objectSpread$9({}, secpropobj));
|
|
84131
83792
|
} else {
|
|
84132
83793
|
var secpropobj = {};
|
|
84133
83794
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -84137,7 +83798,7 @@
|
|
|
84137
83798
|
});
|
|
84138
83799
|
}
|
|
84139
83800
|
});
|
|
84140
|
-
setsectionproperties(_objectSpread$
|
|
83801
|
+
setsectionproperties(_objectSpread$9({}, secpropobj));
|
|
84141
83802
|
}
|
|
84142
83803
|
}, [StatePagePropertiesContext]);
|
|
84143
83804
|
React.useEffect(function () {
|
|
@@ -84231,8 +83892,8 @@
|
|
|
84231
83892
|
}, "Showmore"))));
|
|
84232
83893
|
};
|
|
84233
83894
|
|
|
84234
|
-
function ownKeys$
|
|
84235
|
-
function _objectSpread$
|
|
83895
|
+
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; }
|
|
83896
|
+
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
83897
|
var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(props) {
|
|
84237
83898
|
var _useState = React.useState(''),
|
|
84238
83899
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -84259,7 +83920,7 @@
|
|
|
84259
83920
|
});
|
|
84260
83921
|
}
|
|
84261
83922
|
});
|
|
84262
|
-
setsectionproperties(_objectSpread$
|
|
83923
|
+
setsectionproperties(_objectSpread$8({}, secpropobj));
|
|
84263
83924
|
}, [StatePagePropertiesContext]);
|
|
84264
83925
|
React.useEffect(function () {
|
|
84265
83926
|
setitem(props.cardinfoitemprops);
|
|
@@ -84414,6 +84075,362 @@
|
|
|
84414
84075
|
}, plainString(item.description))))));
|
|
84415
84076
|
};
|
|
84416
84077
|
|
|
84078
|
+
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; }
|
|
84079
|
+
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; }
|
|
84080
|
+
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; } } }; }
|
|
84081
|
+
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; } }
|
|
84082
|
+
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; }
|
|
84083
|
+
var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
84084
|
+
var _useState = React.useState(props.actions.item),
|
|
84085
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
84086
|
+
_useState2[0];
|
|
84087
|
+
var setitem = _useState2[1];
|
|
84088
|
+
var _useState3 = React.useState({}),
|
|
84089
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
84090
|
+
variants_iteminfo = _useState4[0],
|
|
84091
|
+
setvariants_iteminfo = _useState4[1];
|
|
84092
|
+
var _useState5 = React.useState([]),
|
|
84093
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
84094
|
+
options_w_values = _useState6[0],
|
|
84095
|
+
setoptions_w_values = _useState6[1];
|
|
84096
|
+
var _useState7 = React.useState([]),
|
|
84097
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
84098
|
+
choosen_values = _useState8[0],
|
|
84099
|
+
setchoosen_values = _useState8[1];
|
|
84100
|
+
var _useState9 = React.useState({}),
|
|
84101
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
84102
|
+
VariantCompletedObj = _useState10[0],
|
|
84103
|
+
setVariantCompletedObj = _useState10[1];
|
|
84104
|
+
var sectionproperties = props.actions.sectionproperties;
|
|
84105
|
+
props.actions.lang;
|
|
84106
|
+
props.actions.langdetect;
|
|
84107
|
+
var foundMatchedVariantFunc = props.foundMatchedVariantFunc;
|
|
84108
|
+
var _useState11 = React.useState(props.cardinfoindexprops),
|
|
84109
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
84110
|
+
_useState12[0];
|
|
84111
|
+
_useState12[1];
|
|
84112
|
+
var _useState13 = React.useState({}),
|
|
84113
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
84114
|
+
VariantColorImageComObj = _useState14[0],
|
|
84115
|
+
setVariantColorImageComObj = _useState14[1];
|
|
84116
|
+
var foundImageColorMatchingFunc = props.foundImageColorMatchingFunc;
|
|
84117
|
+
React.useEffect(function () {
|
|
84118
|
+
foundMatchedVariantFunc(VariantCompletedObj);
|
|
84119
|
+
}, [VariantCompletedObj]);
|
|
84120
|
+
React.useEffect(function () {
|
|
84121
|
+
var completedVariantObj = null;
|
|
84122
|
+
var variantimagematching = null;
|
|
84123
|
+
if (choosen_values.length > 0) {
|
|
84124
|
+
var _iterator = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84125
|
+
_step;
|
|
84126
|
+
try {
|
|
84127
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
84128
|
+
var _variantitem$variantv2;
|
|
84129
|
+
var variantitem = _step.value;
|
|
84130
|
+
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) {
|
|
84131
|
+
return choosen_values.some(function (choosenValue) {
|
|
84132
|
+
return choosenValue.valueid === variantValue.valueid;
|
|
84133
|
+
});
|
|
84134
|
+
});
|
|
84135
|
+
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
84136
|
+
completedVariantObj = variantitem;
|
|
84137
|
+
break;
|
|
84138
|
+
}
|
|
84139
|
+
}
|
|
84140
|
+
} catch (err) {
|
|
84141
|
+
_iterator.e(err);
|
|
84142
|
+
} finally {
|
|
84143
|
+
_iterator.f();
|
|
84144
|
+
}
|
|
84145
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
84146
|
+
var _item$option_info, _item$option_info2;
|
|
84147
|
+
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') {
|
|
84148
|
+
var _iterator2 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84149
|
+
_step2;
|
|
84150
|
+
try {
|
|
84151
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
84152
|
+
var _variantitem$variantv;
|
|
84153
|
+
var variantitem = _step2.value;
|
|
84154
|
+
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) {
|
|
84155
|
+
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
84156
|
+
});
|
|
84157
|
+
if (matchingValue) {
|
|
84158
|
+
variantimagematching = variantitem;
|
|
84159
|
+
}
|
|
84160
|
+
}
|
|
84161
|
+
} catch (err) {
|
|
84162
|
+
_iterator2.e(err);
|
|
84163
|
+
} finally {
|
|
84164
|
+
_iterator2.f();
|
|
84165
|
+
}
|
|
84166
|
+
}
|
|
84167
|
+
});
|
|
84168
|
+
}
|
|
84169
|
+
setVariantColorImageComObj(variantimagematching || {});
|
|
84170
|
+
setVariantCompletedObj(completedVariantObj || {});
|
|
84171
|
+
}, [choosen_values]);
|
|
84172
|
+
React.useEffect(function () {
|
|
84173
|
+
var _props$actions;
|
|
84174
|
+
var iteminfo = props.actions.item;
|
|
84175
|
+
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;
|
|
84176
|
+
var options_w_values = [];
|
|
84177
|
+
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (item, index) {
|
|
84178
|
+
var _item$variantvalues_w;
|
|
84179
|
+
item === null || item === void 0 || (_item$variantvalues_w = item.variantvalues_w_valueinfo) === null || _item$variantvalues_w === void 0 || _item$variantvalues_w.forEach(function (valitem) {
|
|
84180
|
+
var isoptionexists = false;
|
|
84181
|
+
var is_valitemexists = false;
|
|
84182
|
+
var valitemtobeinsreted = _objectSpread$7({}, valitem);
|
|
84183
|
+
valitemtobeinsreted.disabled = false;
|
|
84184
|
+
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
84185
|
+
var _exopitem$values;
|
|
84186
|
+
exopitem === null || exopitem === void 0 || (_exopitem$values = exopitem.values) === null || _exopitem$values === void 0 || _exopitem$values.forEach(function (valexistitem) {
|
|
84187
|
+
if (valexistitem.valueid == valitemtobeinsreted.valueid) {
|
|
84188
|
+
is_valitemexists = true;
|
|
84189
|
+
}
|
|
84190
|
+
});
|
|
84191
|
+
});
|
|
84192
|
+
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
84193
|
+
var _exopitem$option_info, _valitemtobeinsreted$;
|
|
84194
|
+
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)) {
|
|
84195
|
+
if (is_valitemexists == false) {
|
|
84196
|
+
var _valitemtobeinsreted$2;
|
|
84197
|
+
exopitem.values.push(_objectSpread$7(_objectSpread$7({}, valitemtobeinsreted), {}, {
|
|
84198
|
+
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$2 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$2 === void 0 ? void 0 : _valitemtobeinsreted$2.valueindex
|
|
84199
|
+
}));
|
|
84200
|
+
}
|
|
84201
|
+
isoptionexists = true;
|
|
84202
|
+
}
|
|
84203
|
+
});
|
|
84204
|
+
if (isoptionexists == false) {
|
|
84205
|
+
var _valitemtobeinsreted$3;
|
|
84206
|
+
options_w_values.push({
|
|
84207
|
+
option_info: valitem.option_info,
|
|
84208
|
+
optionindex: valitem.option_info.optionindex,
|
|
84209
|
+
values: [_objectSpread$7(_objectSpread$7({}, valitemtobeinsreted), {}, {
|
|
84210
|
+
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$3 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$3 === void 0 ? void 0 : _valitemtobeinsreted$3.valueindex
|
|
84211
|
+
})]
|
|
84212
|
+
});
|
|
84213
|
+
}
|
|
84214
|
+
});
|
|
84215
|
+
});
|
|
84216
|
+
options_w_values.forEach(function (option) {
|
|
84217
|
+
option.values.sort(function (a, b) {
|
|
84218
|
+
return a.valueindex - b.valueindex;
|
|
84219
|
+
});
|
|
84220
|
+
});
|
|
84221
|
+
var Sortedoptions_w_values = options_w_values.sort(function (a, b) {
|
|
84222
|
+
return a.optionindex - b.optionindex;
|
|
84223
|
+
});
|
|
84224
|
+
setoptions_w_values(_toConsumableArray__default["default"](Sortedoptions_w_values));
|
|
84225
|
+
// setoptions_w_values([...options_w_values]);
|
|
84226
|
+
setvariants_iteminfo(variants_iteminfo);
|
|
84227
|
+
setitem(iteminfo);
|
|
84228
|
+
}, [props.actions.item]);
|
|
84229
|
+
var choose_valueFunc = function choose_valueFunc(valitem, optioninfo) {
|
|
84230
|
+
var tempchoosen_values = _toConsumableArray__default["default"](choosen_values);
|
|
84231
|
+
var isvalueexists = false;
|
|
84232
|
+
// var optionid = optioninfo.optionid
|
|
84233
|
+
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (choseitem, choseindex) {
|
|
84234
|
+
if (valitem.optionid == choseitem.optionid) {
|
|
84235
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84236
|
+
}
|
|
84237
|
+
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
84238
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84239
|
+
isvalueexists = true;
|
|
84240
|
+
}
|
|
84241
|
+
});
|
|
84242
|
+
if (isvalueexists == false) {
|
|
84243
|
+
tempchoosen_values.push(valitem);
|
|
84244
|
+
}
|
|
84245
|
+
var tempoptions_w_values = _toConsumableArray__default["default"](options_w_values);
|
|
84246
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84247
|
+
var _item$values;
|
|
84248
|
+
item === null || item === void 0 || (_item$values = item.values) === null || _item$values === void 0 || _item$values.forEach(function (valitemex, valindex) {
|
|
84249
|
+
if (tempchoosen_values.length == 0) {
|
|
84250
|
+
valitemex.disabled = false;
|
|
84251
|
+
} else {
|
|
84252
|
+
valitemex.disabled = true;
|
|
84253
|
+
}
|
|
84254
|
+
});
|
|
84255
|
+
});
|
|
84256
|
+
if (tempchoosen_values.length != 0) {
|
|
84257
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84258
|
+
var _item$values2;
|
|
84259
|
+
item === null || item === void 0 || (_item$values2 = item.values) === null || _item$values2 === void 0 || _item$values2.forEach(function (valitem, valindex) {
|
|
84260
|
+
var _tempchoosen_values$s;
|
|
84261
|
+
var isvaluedisabled = true;
|
|
84262
|
+
(_tempchoosen_values$s = tempchoosen_values.slice(0, 1)) === null || _tempchoosen_values$s === void 0 || _tempchoosen_values$s.forEach(function (chosvalitem) {
|
|
84263
|
+
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (variantitem) {
|
|
84264
|
+
var _variantitem$variantv3;
|
|
84265
|
+
var is_Start_Variant_Found = false;
|
|
84266
|
+
variantitem === null || variantitem === void 0 || (_variantitem$variantv3 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv3 === void 0 || _variantitem$variantv3.forEach(function (variantoptionsitem) {
|
|
84267
|
+
if (variantoptionsitem.valueid == chosvalitem.valueid) {
|
|
84268
|
+
is_Start_Variant_Found = true;
|
|
84269
|
+
}
|
|
84270
|
+
});
|
|
84271
|
+
if (is_Start_Variant_Found) {
|
|
84272
|
+
var _variantitem$variantv4;
|
|
84273
|
+
variantitem === null || variantitem === void 0 || (_variantitem$variantv4 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv4 === void 0 || _variantitem$variantv4.forEach(function (variantoptionsitem) {
|
|
84274
|
+
if (valitem.valueid == variantoptionsitem.valueid) {
|
|
84275
|
+
isvaluedisabled = false;
|
|
84276
|
+
}
|
|
84277
|
+
});
|
|
84278
|
+
}
|
|
84279
|
+
});
|
|
84280
|
+
});
|
|
84281
|
+
valitem.disabled = isvaluedisabled;
|
|
84282
|
+
});
|
|
84283
|
+
});
|
|
84284
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84285
|
+
var _item$values3;
|
|
84286
|
+
item === null || item === void 0 || (_item$values3 = item.values) === null || _item$values3 === void 0 || _item$values3.forEach(function (valitem, valindex) {
|
|
84287
|
+
if (valitem.optionid == tempchoosen_values[0].optionid) {
|
|
84288
|
+
valitem.disabled = false;
|
|
84289
|
+
}
|
|
84290
|
+
});
|
|
84291
|
+
});
|
|
84292
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84293
|
+
var _item$values4;
|
|
84294
|
+
item === null || item === void 0 || (_item$values4 = item.values) === null || _item$values4 === void 0 || _item$values4.forEach(function (valitem, valindex) {
|
|
84295
|
+
if (valitem.disabled == true) {
|
|
84296
|
+
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (chosvalitem, choseindex) {
|
|
84297
|
+
if (chosvalitem.valueid == valitem.valueid) {
|
|
84298
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84299
|
+
}
|
|
84300
|
+
});
|
|
84301
|
+
}
|
|
84302
|
+
});
|
|
84303
|
+
});
|
|
84304
|
+
}
|
|
84305
|
+
setoptions_w_values(_toConsumableArray__default["default"](tempoptions_w_values));
|
|
84306
|
+
setchoosen_values(_toConsumableArray__default["default"](tempchoosen_values));
|
|
84307
|
+
};
|
|
84308
|
+
React.useEffect(function () {
|
|
84309
|
+
foundImageColorMatchingFunc(VariantColorImageComObj);
|
|
84310
|
+
}, [VariantColorImageComObj]);
|
|
84311
|
+
React.useEffect(function () {
|
|
84312
|
+
var completedVariantObj = null;
|
|
84313
|
+
var variantimagematching = null;
|
|
84314
|
+
if (choosen_values.length > 0) {
|
|
84315
|
+
var _iterator3 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84316
|
+
_step3;
|
|
84317
|
+
try {
|
|
84318
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
84319
|
+
var _variantitem$variantv6;
|
|
84320
|
+
var variantitem = _step3.value;
|
|
84321
|
+
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) {
|
|
84322
|
+
return choosen_values.some(function (choosenValue) {
|
|
84323
|
+
return choosenValue.valueid === variantValue.valueid;
|
|
84324
|
+
});
|
|
84325
|
+
});
|
|
84326
|
+
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
84327
|
+
completedVariantObj = variantitem;
|
|
84328
|
+
break;
|
|
84329
|
+
}
|
|
84330
|
+
}
|
|
84331
|
+
} catch (err) {
|
|
84332
|
+
_iterator3.e(err);
|
|
84333
|
+
} finally {
|
|
84334
|
+
_iterator3.f();
|
|
84335
|
+
}
|
|
84336
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
84337
|
+
var _item$option_info3, _item$option_info4;
|
|
84338
|
+
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') {
|
|
84339
|
+
var _iterator4 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84340
|
+
_step4;
|
|
84341
|
+
try {
|
|
84342
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
84343
|
+
var _variantitem$variantv5;
|
|
84344
|
+
var variantitem = _step4.value;
|
|
84345
|
+
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) {
|
|
84346
|
+
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
84347
|
+
});
|
|
84348
|
+
if (matchingValue) {
|
|
84349
|
+
variantimagematching = variantitem;
|
|
84350
|
+
}
|
|
84351
|
+
}
|
|
84352
|
+
} catch (err) {
|
|
84353
|
+
_iterator4.e(err);
|
|
84354
|
+
} finally {
|
|
84355
|
+
_iterator4.f();
|
|
84356
|
+
}
|
|
84357
|
+
}
|
|
84358
|
+
});
|
|
84359
|
+
}
|
|
84360
|
+
setVariantColorImageComObj(variantimagematching || {});
|
|
84361
|
+
setVariantCompletedObj(completedVariantObj || {});
|
|
84362
|
+
}, [choosen_values]);
|
|
84363
|
+
|
|
84364
|
+
// useEffect(() => {
|
|
84365
|
+
// var completedVariantObj = {};
|
|
84366
|
+
// var tempchoosen_values = [...choosen_values];
|
|
84367
|
+
// if (choosen_values.length != 0) {
|
|
84368
|
+
// variants_iteminfo?.forEach(function (variantitem) {
|
|
84369
|
+
// var isVariantValuesAllSame = true;
|
|
84370
|
+
// variantitem?.variantvalues_w_valueinfo?.forEach(function (variantvalues) {
|
|
84371
|
+
// tempchoosen_values?.forEach(function (item, index) {
|
|
84372
|
+
// if (variantvalues.valueid != item.valueid) {
|
|
84373
|
+
// isVariantValuesAllSame = false;
|
|
84374
|
+
// } else {
|
|
84375
|
+
// }
|
|
84376
|
+
// });
|
|
84377
|
+
// });
|
|
84378
|
+
// if (isVariantValuesAllSame == true) {
|
|
84379
|
+
// completedVariantObj = variantitem;
|
|
84380
|
+
// }
|
|
84381
|
+
// });
|
|
84382
|
+
// }
|
|
84383
|
+
// setVariantCompletedObj({ ...completedVariantObj });
|
|
84384
|
+
// }, [choosen_values]);
|
|
84385
|
+
|
|
84386
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84387
|
+
"class": ' row m-0 w-100 mb-2 '
|
|
84388
|
+
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84389
|
+
"class": ' row m-0 w-100 '
|
|
84390
|
+
}, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
|
|
84391
|
+
var _item$values5;
|
|
84392
|
+
// if (index <= 3) {
|
|
84393
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84394
|
+
className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
|
|
84395
|
+
}, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
|
|
84396
|
+
var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
|
|
84397
|
+
var isChoosedValueExists = false;
|
|
84398
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
|
|
84399
|
+
if (choseitem != null) {
|
|
84400
|
+
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
84401
|
+
isChoosedValueExists = true;
|
|
84402
|
+
}
|
|
84403
|
+
}
|
|
84404
|
+
});
|
|
84405
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84406
|
+
style: {
|
|
84407
|
+
textAlign: 'center'
|
|
84408
|
+
},
|
|
84409
|
+
"class": "mx-1"
|
|
84410
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
84411
|
+
onClick: function onClick() {
|
|
84412
|
+
choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
|
|
84413
|
+
},
|
|
84414
|
+
style: {
|
|
84415
|
+
// backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
|
|
84416
|
+
color: isChoosedValueExists ? '#ffffff' : '#000000',
|
|
84417
|
+
border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
|
|
84418
|
+
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',
|
|
84419
|
+
cursor: valitem.disabled ? 'not-allowed' : 'pointer',
|
|
84420
|
+
fontSize: '13px',
|
|
84421
|
+
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 : '',
|
|
84422
|
+
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 : '',
|
|
84423
|
+
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,
|
|
84424
|
+
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',
|
|
84425
|
+
fontWeight: 500
|
|
84426
|
+
},
|
|
84427
|
+
disabled: valitem.disabled
|
|
84428
|
+
}, (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'));
|
|
84429
|
+
}));
|
|
84430
|
+
// }
|
|
84431
|
+
})));
|
|
84432
|
+
};
|
|
84433
|
+
|
|
84417
84434
|
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
84435
|
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
84436
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
@@ -84689,6 +84706,12 @@
|
|
|
84689
84706
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
84690
84707
|
color: sectionproperties.skuColor,
|
|
84691
84708
|
fontWeight: sectionproperties.skuFontWeight
|
|
84709
|
+
}),
|
|
84710
|
+
imagediv: glamor.css({
|
|
84711
|
+
':hover': {
|
|
84712
|
+
transition: 'all .4s ease',
|
|
84713
|
+
transform: sectionproperties.zoomimageonhover == 'Yes' ? 'scale(1.1)' : ''
|
|
84714
|
+
}
|
|
84692
84715
|
})
|
|
84693
84716
|
};
|
|
84694
84717
|
var _useState11 = React.useState(''),
|
|
@@ -84827,7 +84850,7 @@
|
|
|
84827
84850
|
transition = true;
|
|
84828
84851
|
}
|
|
84829
84852
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
84830
|
-
"class":
|
|
84853
|
+
"class": card_cssstyles.imagediv + ' w-100 cursor-pointer ',
|
|
84831
84854
|
style: {
|
|
84832
84855
|
position: 'relative'
|
|
84833
84856
|
}
|