whatmore-react-assets 1.0.1644 → 1.0.1646
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/package.json +1 -1
- package/static/css/{carousel-template-i.7523cc3a.chunk.css → 872.e566ff5e.chunk.css} +1 -1
- package/static/js/131.90afb45a.chunk.js +1 -0
- package/static/js/262.5014b74a.chunk.js +1 -0
- package/static/js/304.e3530c2f.chunk.js +280 -0
- package/static/js/375.2cd5e9d8.chunk.js +1 -0
- package/static/js/437.bb6da7be.chunk.js +1 -0
- package/static/js/438.43aaa179.chunk.js +2 -0
- package/static/js/475.98cc793a.chunk.js +2 -0
- package/static/js/{451.8b0f1d96.chunk.js → 498.e82b91d7.chunk.js} +2 -2
- package/static/js/571.6d50c925.chunk.js +1 -0
- package/static/js/59.566aa66d.chunk.js +2 -0
- package/static/js/620.f1fb0745.chunk.js +1 -0
- package/static/js/647.e656bdd7.chunk.js +127 -0
- package/static/js/{669.52b9a3bb.chunk.js → 669.3f9049b3.chunk.js} +1 -1
- package/static/js/691.ade3bef0.chunk.js +2 -0
- package/static/js/72.f2a7d007.chunk.js +2 -0
- package/static/js/872.b7128f2e.chunk.js +1 -0
- package/static/js/879.b16b58a2.chunk.js +1 -0
- package/static/js/{925.b301cf3b.chunk.js → 925.14e2015f.chunk.js} +1 -1
- package/static/js/946.7875c6c1.chunk.js +1 -0
- package/static/js/{banner-template-a.37712eb9.chunk.js → banner-template-a.59da50f4.chunk.js} +1 -1
- package/static/js/carousel-template-a.8ccd196e.chunk.js +2 -0
- package/static/js/carousel-template-b.cc5946ff.chunk.js +2 -0
- package/static/js/carousel-template-feed.89fdfe00.chunk.js +16 -0
- package/static/js/carousel-template-g.a334d92c.chunk.js +1 -0
- package/static/js/carousel-template-h.ffd5d66b.chunk.js +1 -0
- package/static/js/carousel-template-i.aa7f7ff6.chunk.js +1 -0
- package/static/js/carousel-template-view-more.1138eae5.chunk.js +55 -0
- package/static/js/event-click-product.df346f75.chunk.js +2 -0
- package/static/js/event-click-spotlight.7ec902ae.chunk.js +2 -0
- package/static/js/event-click.7018517f.chunk.js +2 -0
- package/static/js/homepage-carousel-view.962a01c8.chunk.js +1 -0
- package/static/js/product-page-view.cca07e16.chunk.js +1 -0
- package/static/js/share-shimmer-loader.f70b8c55.chunk.js +1 -0
- package/static/js/{spotlight-view.b0ad0b09.chunk.js → spotlight-view.618010a4.chunk.js} +1 -1
- package/static/js/stories-template-a.9e364754.chunk.js +1 -0
- package/static/js/whatmore-root.8fc4dec5.chunk.js +1 -0
- package/whatmore.js +2 -2
- package/static/css/carousel-template-a.b1f03ac1.chunk.css +0 -2
- package/static/css/carousel-template-h.b1f03ac1.chunk.css +0 -2
- package/static/js/262.5003f11d.chunk.js +0 -1
- package/static/js/304.024ba064.chunk.js +0 -280
- package/static/js/340.7bf77729.chunk.js +0 -2
- package/static/js/413.7616573d.chunk.js +0 -127
- package/static/js/437.4ec0efaf.chunk.js +0 -1
- package/static/js/438.7e398c10.chunk.js +0 -2
- package/static/js/475.5847558a.chunk.js +0 -2
- package/static/js/516.8bf0a5f4.chunk.js +0 -15
- package/static/js/57.59168a33.chunk.js +0 -2
- package/static/js/571.93bc3a3d.chunk.js +0 -1
- package/static/js/59.e9279ab1.chunk.js +0 -2
- package/static/js/620.0989f175.chunk.js +0 -1
- package/static/js/879.b4278841.chunk.js +0 -1
- package/static/js/946.f96cd49c.chunk.js +0 -1
- package/static/js/988.47eebc6c.chunk.js +0 -1
- package/static/js/carousel-template-a.ba8a94e9.chunk.js +0 -1
- package/static/js/carousel-template-b.dc5dc194.chunk.js +0 -1
- package/static/js/carousel-template-feed.fd453a82.chunk.js +0 -2
- package/static/js/carousel-template-g.3f96b508.chunk.js +0 -1
- package/static/js/carousel-template-h.a334544b.chunk.js +0 -1
- package/static/js/carousel-template-i.9519224f.chunk.js +0 -1
- package/static/js/carousel-template-view-more.444b462c.chunk.js +0 -41
- package/static/js/event-click-product.d76d1580.chunk.js +0 -2
- package/static/js/event-click-spotlight.fdddf784.chunk.js +0 -2
- package/static/js/event-click.10c5af5d.chunk.js +0 -2
- package/static/js/homepage-carousel-view.5b2f5d87.chunk.js +0 -1
- package/static/js/product-page-view.e852ddb2.chunk.js +0 -1
- package/static/js/share-shimmer-loader.325ec052.chunk.js +0 -1
- package/static/js/stories-template-a.3c063429.chunk.js +0 -1
- package/static/js/whatmore-root.711ad255.chunk.js +0 -1
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
.whatmore-ios-css-relative-fix{-webkit-transform:translateZ(0)}.whatmore-root{clip:auto;all:initial;animation:none 0s ease 0s 1 normal none running;backface-visibility:visible;background:transparent none repeat 0 0/auto auto padding-box border-box scroll;border:none;border-collapse:separate;-o-border-image:none;border-image:none;border-radius:0;border-spacing:0;bottom:auto;box-shadow:none;box-sizing:content-box;caption-side:top;clear:none;color:#000;-moz-columns:auto;-moz-column-count:auto;-moz-column-fill:balance;column-fill:balance;-moz-column-gap:normal;column-gap:normal;-moz-column-rule:medium none currentColor;column-rule:medium none currentColor;-moz-column-span:1;column-span:1;-moz-column-width:auto;columns:auto;content:normal;counter-increment:none;counter-reset:none;cursor:auto;direction:ltr;display:inline;empty-cells:show;float:none;font-family:serif;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:medium;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;height:auto;-webkit-hyphens:none;hyphens:none;left:auto;letter-spacing:normal;line-height:normal;list-style:disc none outside;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;orphans:2;outline:medium none invert;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;position:static;right:auto;-moz-tab-size:8;-o-tab-size:8;tab-size:8;table-layout:auto;text-align:left;-moz-text-align-last:auto;text-align-last:auto;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-origin:50% 50% 0;transform-style:flat;transition:none 0s ease 0s;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:2;width:auto;word-spacing:normal;z-index:auto}.whatmore-story-horizontal-flex{-ms-overflow-style:none;overflow-x:auto;scrollbar-width:none}.whatmore-story-horizontal-flex::-webkit-scrollbar,.wht-hide-scrollbar::-webkit-scrollbar{display:none}.whatmore-carousel-horizontal-flex,.wht-hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.whatmore-carousel-horizontal-flex{overflow-x:auto}.whatmore-carousel-horizontal-flex::-webkit-scrollbar{display:none}.whatmore-carousel-horizontal-flex:after,.whatmore-carousel-horizontal-flex:before{content:"";margin:auto}.whatmore-arrow-left .whatmore-arrow-right
|
|
2
|
-
.whatmore-arrow-left-portrait .whatmore-arrow-right-portrait{opacity:1!important;position:relative}.whatmore-arrow-left:before{border-left:3px solid #fff;transform:translateX(50%) rotate(45deg)}.whatmore-arrow-left:before,.whatmore-arrow-right:before{border-bottom:3px solid #fff;content:"";height:30px;width:30px}.whatmore-arrow-right:before{border-right:3px solid #fff;transform:rotate(-45deg)}.whatmore-arrow-left-portrait:before{border-bottom:3px solid #fff;border-left:3px solid #fff;content:"";height:15px;transform:translateX(130%) translateY(110%) rotate(45deg);width:15px}.whatmore-arrow-right-portrait:before{border-bottom:3px solid #fff;border-right:3px solid #fff;content:"";height:15px;transform:translateX(90%) translateY(110%) rotate(-45deg);width:15px}@keyframes whatmoreEventTileScaleOut{0%{transform:scale(1)}to{transform:scale(1.05)}}@keyframes whatmoreEventTileScaleIn{0%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes whatmoreProductOnEventTileSweepInandOut{0%{opacity:1;transform:translateY(100%)}10%{transform:translateY(0)}12%{transform:translateY(-5%)}20%{transform:translateY(0)}}@keyframes whatmoreEventTileFadeInAnimation{0%{opacity:0}to{opacity:1}}@keyframes whatmoreEventTileFadeOutAnimation{0%{opacity:1}to{opacity:0}}@keyframes whatmoreCarouselHorizontalSwipeNext{0%{opacity:1;transform:translateX(500%)}10%{transform:translateX(0)}12%{transform:translateX(-20%)}20%{transform:translateX(0)}}@keyframes whatmoreCarouselHorizontalSwipePrev{0%{opacity:1;transform:translateX(-500%)}10%{transform:translateX(0)}12%{transform:translateX(20%)}20%{transform:translateX(0)}}.whatmore-event-tile-scale-out-animation{animation-direction:linear;animation-duration:.2s;animation-fill-mode:forwards;animation-name:whatmoreEventTileScaleOut;animation-timing-function:ease-in}.whatmore-event-tile-scale-in-animation{animation-direction:linear;animation-duration:.2s;animation-fill-mode:forwards;animation-name:whatmoreEventTileScaleIn;animation-timing-function:ease-in}.whatmore-event-tile-product-scale-in-and-out-animation{animation-direction:linear;animation-duration:3s;animation-fill-mode:forwards;animation-name:whatmoreProductOnEventTileSweepInandOut;animation-timing-function:ease-in-out}.whatmore-event-tile-component-fade-in-animation{animation-direction:linear;animation-duration:1s;animation-fill-mode:forwards;animation-name:whatmoreEventTileFadeInAnimation;animation-timing-function:ease-in-out}.whatmore-event-tile-component-fade-out-animation{animation-direction:linear;animation-duration:.5s;animation-fill-mode:forwards;animation-name:whatmoreEventTileFadeOutAnimation;animation-timing-function:ease-in-out}.whatmore-event-tile-horizontal-swipe-animation-next{animation-direction:linear;animation-duration:2.3s;animation-fill-mode:forwards;animation-name:whatmoreCarouselHorizontalSwipeNext;animation-timing-function:ease-in-out}.whatmore-event-tile-horizontal-swipe-animation-prev{animation-direction:linear;animation-duration:2.3s;animation-fill-mode:forwards;animation-name:whatmoreCarouselHorizontalSwipePrev;animation-timing-function:ease-in-out}@keyframes whatmore-scale-on-tap-keyframe{0%{transform:scale(1)}50%{transform:scale(.9)}to{transform:scale(1)}}@keyframes whatmore-rotate-indefinitely-keyframe{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes whatmore-pulse-keyframe{0%{transform:scale(.8)}50%{transform:scale(1)}to{transform:scale(.8)}}.whatmore-scale-on-tap{animation-direction:linear;animation-duration:.2s;animation-fill-mode:forwards;animation-name:whatmore-scale-on-tap-keyframe;animation-timing-function:linear}.whatmore-rotate-indefinitely{animation-direction:linear;animation-duration:.6s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:whatmore-rotate-indefinitely-keyframe;animation-timing-function:linear}.whatmore-rotate-for-a-while{animation-direction:linear;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:2;animation-name:whatmore-rotate-indefinitely-keyframe;animation-timing-function:linear}.whatmore-pulse{animation-direction:linear;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:4;animation-name:whatmore-pulse-keyframe;animation-timing-function:linear}@keyframes whatmore-shimmer-kf{0%{background:#fff}50%{background:#e0e0e0}to{background:#fff}}.whatmore-shimmer{animation:whatmore-shimmer-kf 1.4s ease-in-out infinite}@keyframes whatmore-share-modal{0%{opacity:0}to{opacity:1}}.whatmore-share-modal{animation:whatmore-share-modal .35s ease-in-out}@keyframes tickAnimation{0%{opacity:0;transform:scale(0)}50%{opacity:.8;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.tick-animation{animation:tickAnimation .5s ease-in-out}.whatmore-loading-indicator{animation:whatmore-loading-indicator-keyframe 1.1s ease infinite;border-radius:50%;font-size:10px;height:1em;position:relative;text-indent:-9999em;transform:translateZ(0);width:1em}@keyframes fadeInFromNoneAnimation{0%{display:none;opacity:.3}1%{display:block;opacity:.3}to{display:block;opacity:.8}}.whatmore-landscape-modal{height:100%;height:100vh!important;left:0!important;position:fixed!important;top:0!important;width:100%;z-index:2147483647!important}.whatmore-landscape-modal .whatmore-landscape-modal-overlay{background-color:rgba(0,0,0,.45)!important;height:100%;left:0!important;position:absolute!important;top:0!important;width:100%;z-index:2147483647!important}.whatmore-landscape-modal .whatmore-landscape-modal-content{box-shadow:0 1px 5px rgba(0,0,0,.7);box-sizing:border-box;position:absolute!important;z-index:2147483647!important}.whatmore-video-player{height:100%!important;width:100%!important}.whatmore-video-player,.whatmore-video-player-muted{-o-object-fit:cover!important;object-fit:cover!important;overflow:hidden!important}.whatmore-landscape-modal{--swiper-theme-color:#303632!important}.whatmore-landscape-modal .swiper{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0!important;position:relative;z-index:1}.whatmore-landscape-modal .swiper-vertical>.swiper-wrapper{flex-direction:column}.whatmore-landscape-modal .swiper-wrapper{box-sizing:content-box;box-sizing:initial;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.whatmore-landscape-modal .swiper-android .swiper-slide,.whatmore-landscape-modal .swiper-wrapper{transform:translateZ(0)}.whatmore-landscape-modal .swiper-pointer-events{touch-action:pan-y}.whatmore-landscape-modal .swiper-pointer-events.swiper-vertical{touch-action:pan-x}.whatmore-landscape-modal .swiper-slide{background:transparent;display:block;flex-shrink:0;height:auto!important;position:relative;-webkit-transform:translateZ(0);transition-property:transform;width:100%}.product-tile .swiper-slide{display:flex!important;justify-content:center}.whatmore-landscape-modal .swiper-slide-invisible-blank{visibility:hidden}.whatmore-landscape-modal .swiper-autoheight,.whatmore-landscape-modal .swiper-autoheight .swiper-slide{height:auto}.whatmore-landscape-modal .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.whatmore-landscape-modal .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.whatmore-landscape-modal .swiper-3d,.whatmore-landscape-modal .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-bottom,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-left,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-right,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.whatmore-landscape-modal .swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.whatmore-landscape-modal .swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.whatmore-landscape-modal .swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.whatmore-landscape-modal .swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.whatmore-landscape-modal .swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.whatmore-landscape-modal .swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.whatmore-landscape-modal .swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.whatmore-landscape-modal .swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.whatmore-landscape-modal .swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.whatmore-landscape-modal .swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.whatmore-landscape-modal{--swiper-navigation-size:48px!important}.whatmore-landscape-modal .swiper-button-next,.whatmore-landscape-modal .swiper-button-prev{align-items:center!important;background-color:#fff!important;background-image:none!important;border:1.3px solid #000;border-radius:50%!important;color:var(--swiper-theme-color)!important;color:var(--swiper-navigation-color,var(--swiper-theme-color))!important;cursor:pointer!important;display:flex!important;height:calc(var(--swiper-navigation-size));justify-content:center!important;opacity:1!important;position:absolute!important;top:40%!important;width:var(--swiper-navigation-size);z-index:10!important}.whatmore-landscape-modal .swiper-button-next{right:25%!important}.whatmore-shopping-close-button{position:absolute!important;right:25%!important;top:0!important;z-index:10!important}.whatmore-landscape-modal .swiper-button-prev{left:25%!important}.whatmore-landscape-modal .swiper-button-next.swiper-button-disabled,.whatmore-landscape-modal .swiper-button-next.swiper-button-hidden,.whatmore-landscape-modal .swiper-button-prev.swiper-button-disabled,.whatmore-landscape-modal .swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0!important;pointer-events:none}.whatmore-landscape-modal .swiper-navigation-disabled .whatmore-landscape-modal .swiper-button-next,.whatmore-landscape-modal .swiper-navigation-disabled .whatmore-landscape-modal .swiper-button-prev{display:none!important}.whatmore-landscape-modal .swiper-button-next:after,.whatmore-landscape-modal .swiper-button-prev:after{background-color:transparent!important;color:#fff;font-family:whatmore-swiper-icons!important;font-size:0;font-variant:normal!important;letter-spacing:0!important;line-height:1!important;margin:0;position:absolute;text-align:center!important;text-transform:none!important;top:50%;transform:translateY(-50%)}.whatmore-landscape-modal .swiper-button-prev,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-next{left:0;right:auto}.whatmore-landscape-modal .swiper-button-prev:after,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-next:after{content:url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27black%27 stroke=%27currentColor%27 stroke-width=%270.5%27 class=%27bi bi-arrow-left%27 viewBox=%270 0 16 16%27><path fill-rule=%27evenodd%27 d=%27M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8%27/></svg>")!important}.whatmore-landscape-modal .swiper-button-next,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-prev{left:auto;right:0}.whatmore-landscape-modal .swiper-button-next:after,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-prev:after{content:url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27black%27 stroke=%27currentColor%27 stroke-width=%270.5%27 class=%27bi bi-arrow-right%27 viewBox=%270 0 16 16%27><path fill-rule=%27evenodd%27 d=%27M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8%27/></svg>")!important}.whatmore-landscape-modal .swiper-button-lock{display:none}.whatmore-landscape-modal .swiper-cube{overflow:visible}.whatmore-landscape-modal .swiper-cube .swiper-slide{backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.whatmore-landscape-modal .swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.whatmore-landscape-modal .swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.whatmore-landscape-modal .swiper-cube .swiper-slide-active,.whatmore-landscape-modal .swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.whatmore-landscape-modal .swiper-cube .swiper-slide-active,.whatmore-landscape-modal .swiper-cube .swiper-slide-next,.whatmore-landscape-modal .swiper-cube .swiper-slide-next+.swiper-slide,.whatmore-landscape-modal .swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-bottom,.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-left,.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-right,.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-top{backface-visibility:hidden;z-index:0}.whatmore-landscape-modal .swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.whatmore-landscape-modal .swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}
|
|
2
|
+
.whatmore-arrow-left-portrait .whatmore-arrow-right-portrait{opacity:1!important;position:relative}.whatmore-arrow-left:before{border-left:3px solid #fff;transform:translateX(50%) rotate(45deg)}.whatmore-arrow-left:before,.whatmore-arrow-right:before{border-bottom:3px solid #fff;content:"";height:30px;width:30px}.whatmore-arrow-right:before{border-right:3px solid #fff;transform:rotate(-45deg)}.whatmore-arrow-left-portrait:before{border-bottom:3px solid #fff;border-left:3px solid #fff;content:"";height:15px;transform:translateX(130%) translateY(110%) rotate(45deg);width:15px}.whatmore-arrow-right-portrait:before{border-bottom:3px solid #fff;border-right:3px solid #fff;content:"";height:15px;transform:translateX(90%) translateY(110%) rotate(-45deg);width:15px}@keyframes whatmoreEventTileScaleOut{0%{transform:scale(1)}to{transform:scale(1.05)}}@keyframes whatmoreEventTileScaleIn{0%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes whatmoreProductOnEventTileSweepInandOut{0%{opacity:1;transform:translateY(100%)}10%{transform:translateY(0)}12%{transform:translateY(-5%)}20%{transform:translateY(0)}}@keyframes whatmoreEventTileFadeInAnimation{0%{opacity:0}to{opacity:1}}@keyframes whatmoreEventTileFadeOutAnimation{0%{opacity:1}to{opacity:0}}@keyframes whatmoreCarouselHorizontalSwipeNext{0%{opacity:1;transform:translateX(500%)}10%{transform:translateX(0)}12%{transform:translateX(-20%)}20%{transform:translateX(0)}}@keyframes whatmoreCarouselHorizontalSwipePrev{0%{opacity:1;transform:translateX(-500%)}10%{transform:translateX(0)}12%{transform:translateX(20%)}20%{transform:translateX(0)}}.whatmore-event-tile-scale-out-animation{animation-direction:linear;animation-duration:.2s;animation-fill-mode:forwards;animation-name:whatmoreEventTileScaleOut;animation-timing-function:ease-in}.whatmore-event-tile-scale-in-animation{animation-direction:linear;animation-duration:.2s;animation-fill-mode:forwards;animation-name:whatmoreEventTileScaleIn;animation-timing-function:ease-in}.whatmore-event-tile-product-scale-in-and-out-animation{animation-direction:linear;animation-duration:3s;animation-fill-mode:forwards;animation-name:whatmoreProductOnEventTileSweepInandOut;animation-timing-function:ease-in-out}.whatmore-event-tile-component-fade-in-animation{animation-direction:linear;animation-duration:1s;animation-fill-mode:forwards;animation-name:whatmoreEventTileFadeInAnimation;animation-timing-function:ease-in-out}.whatmore-event-tile-component-fade-out-animation{animation-direction:linear;animation-duration:.5s;animation-fill-mode:forwards;animation-name:whatmoreEventTileFadeOutAnimation;animation-timing-function:ease-in-out}.whatmore-event-tile-horizontal-swipe-animation-next{animation-direction:linear;animation-duration:2.3s;animation-fill-mode:forwards;animation-name:whatmoreCarouselHorizontalSwipeNext;animation-timing-function:ease-in-out}.whatmore-event-tile-horizontal-swipe-animation-prev{animation-direction:linear;animation-duration:2.3s;animation-fill-mode:forwards;animation-name:whatmoreCarouselHorizontalSwipePrev;animation-timing-function:ease-in-out}.whatmore-loading-indicator{animation:whatmore-loading-indicator-keyframe 1.1s ease infinite;border-radius:50%;font-size:10px;height:1em;position:relative;text-indent:-9999em;transform:translateZ(0);width:1em}@keyframes fadeInFromNoneAnimation{0%{display:none;opacity:.3}1%{display:block;opacity:.3}to{display:block;opacity:.8}}@keyframes whatmore-scale-on-tap-keyframe{0%{transform:scale(1)}50%{transform:scale(.9)}to{transform:scale(1)}}@keyframes whatmore-rotate-indefinitely-keyframe{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes whatmore-pulse-keyframe{0%{transform:scale(.8)}50%{transform:scale(1)}to{transform:scale(.8)}}.whatmore-scale-on-tap{animation-direction:linear;animation-duration:.2s;animation-fill-mode:forwards;animation-name:whatmore-scale-on-tap-keyframe;animation-timing-function:linear}.whatmore-rotate-indefinitely{animation-direction:linear;animation-duration:.6s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:whatmore-rotate-indefinitely-keyframe;animation-timing-function:linear}.whatmore-rotate-for-a-while{animation-direction:linear;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:2;animation-name:whatmore-rotate-indefinitely-keyframe;animation-timing-function:linear}.whatmore-pulse{animation-direction:linear;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:4;animation-name:whatmore-pulse-keyframe;animation-timing-function:linear}@keyframes whatmore-shimmer-kf{0%{background:#fff}50%{background:#e0e0e0}to{background:#fff}}.whatmore-shimmer{animation:whatmore-shimmer-kf 1.4s ease-in-out infinite}@keyframes whatmore-share-modal{0%{opacity:0}to{opacity:1}}.whatmore-share-modal{animation:whatmore-share-modal .35s ease-in-out}@keyframes tickAnimation{0%{opacity:0;transform:scale(0)}50%{opacity:.8;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.tick-animation{animation:tickAnimation .5s ease-in-out}.whatmore-landscape-modal{height:100%;height:100vh!important;left:0!important;position:fixed!important;top:0!important;width:100%;z-index:2147483647!important}.whatmore-landscape-modal .whatmore-landscape-modal-overlay{background-color:rgba(0,0,0,.45)!important;height:100%;left:0!important;position:absolute!important;top:0!important;width:100%;z-index:2147483647!important}.whatmore-landscape-modal .whatmore-landscape-modal-content{box-shadow:0 1px 5px rgba(0,0,0,.7);box-sizing:border-box;position:absolute!important;z-index:2147483647!important}.whatmore-video-player{height:100%!important;width:100%!important}.whatmore-video-player,.whatmore-video-player-muted{-o-object-fit:cover!important;object-fit:cover!important;overflow:hidden!important}.whatmore-landscape-modal{--swiper-theme-color:#303632!important}.whatmore-landscape-modal .swiper{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0!important;position:relative;z-index:1}.whatmore-landscape-modal .swiper-vertical>.swiper-wrapper{flex-direction:column}.whatmore-landscape-modal .swiper-wrapper{box-sizing:content-box;box-sizing:initial;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.whatmore-landscape-modal .swiper-android .swiper-slide,.whatmore-landscape-modal .swiper-wrapper{transform:translateZ(0)}.whatmore-landscape-modal .swiper-pointer-events{touch-action:pan-y}.whatmore-landscape-modal .swiper-pointer-events.swiper-vertical{touch-action:pan-x}.whatmore-landscape-modal .swiper-slide{background:transparent;display:block;flex-shrink:0;height:auto!important;position:relative;-webkit-transform:translateZ(0);transition-property:transform;width:100%}.product-tile .swiper-slide{display:flex!important;justify-content:center}.whatmore-landscape-modal .swiper-slide-invisible-blank{visibility:hidden}.whatmore-landscape-modal .swiper-autoheight,.whatmore-landscape-modal .swiper-autoheight .swiper-slide{height:auto}.whatmore-landscape-modal .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.whatmore-landscape-modal .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.whatmore-landscape-modal .swiper-3d,.whatmore-landscape-modal .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-bottom,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-left,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-right,.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.whatmore-landscape-modal .swiper-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.whatmore-landscape-modal .swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.whatmore-landscape-modal .swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.whatmore-landscape-modal .swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.whatmore-landscape-modal .swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.whatmore-landscape-modal .swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.whatmore-landscape-modal .swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.whatmore-landscape-modal .swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.whatmore-landscape-modal .swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.whatmore-landscape-modal .swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.whatmore-landscape-modal .swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.whatmore-landscape-modal{--swiper-navigation-size:48px!important}.whatmore-landscape-modal .swiper-button-next,.whatmore-landscape-modal .swiper-button-prev{align-items:center!important;background-color:#fff!important;background-image:none!important;border:1.3px solid #000;border-radius:50%!important;color:var(--swiper-theme-color)!important;color:var(--swiper-navigation-color,var(--swiper-theme-color))!important;cursor:pointer!important;display:flex!important;height:calc(var(--swiper-navigation-size));justify-content:center!important;opacity:1!important;position:absolute!important;top:40%!important;width:var(--swiper-navigation-size);z-index:10!important}.whatmore-landscape-modal .swiper-button-next{right:25%!important}.whatmore-shopping-close-button{position:absolute!important;right:25%!important;top:0!important;z-index:10!important}.whatmore-landscape-modal .swiper-button-prev{left:25%!important}.whatmore-landscape-modal .swiper-button-next.swiper-button-disabled,.whatmore-landscape-modal .swiper-button-next.swiper-button-hidden,.whatmore-landscape-modal .swiper-button-prev.swiper-button-disabled,.whatmore-landscape-modal .swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0!important;pointer-events:none}.whatmore-landscape-modal .swiper-navigation-disabled .whatmore-landscape-modal .swiper-button-next,.whatmore-landscape-modal .swiper-navigation-disabled .whatmore-landscape-modal .swiper-button-prev{display:none!important}.whatmore-landscape-modal .swiper-button-next:after,.whatmore-landscape-modal .swiper-button-prev:after{background-color:transparent!important;color:#fff;font-family:whatmore-swiper-icons!important;font-size:0;font-variant:normal!important;letter-spacing:0!important;line-height:1!important;margin:0;position:absolute;text-align:center!important;text-transform:none!important;top:50%;transform:translateY(-50%)}.whatmore-landscape-modal .swiper-button-prev,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-next{left:0;right:auto}.whatmore-landscape-modal .swiper-button-prev:after,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-next:after{content:url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27black%27 stroke=%27currentColor%27 stroke-width=%270.5%27 class=%27bi bi-arrow-left%27 viewBox=%270 0 16 16%27><path fill-rule=%27evenodd%27 d=%27M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8%27/></svg>")!important}.whatmore-landscape-modal .swiper-button-next,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-prev{left:auto;right:0}.whatmore-landscape-modal .swiper-button-next:after,.whatmore-landscape-modal .swiper-rtl .whatmore-landscape-modal .swiper-button-prev:after{content:url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27black%27 stroke=%27currentColor%27 stroke-width=%270.5%27 class=%27bi bi-arrow-right%27 viewBox=%270 0 16 16%27><path fill-rule=%27evenodd%27 d=%27M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8%27/></svg>")!important}.whatmore-landscape-modal .swiper-button-lock{display:none}.whatmore-landscape-modal .swiper-cube{overflow:visible}.whatmore-landscape-modal .swiper-cube .swiper-slide{backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.whatmore-landscape-modal .swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.whatmore-landscape-modal .swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.whatmore-landscape-modal .swiper-cube .swiper-slide-active,.whatmore-landscape-modal .swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.whatmore-landscape-modal .swiper-cube .swiper-slide-active,.whatmore-landscape-modal .swiper-cube .swiper-slide-next,.whatmore-landscape-modal .swiper-cube .swiper-slide-next+.swiper-slide,.whatmore-landscape-modal .swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-bottom,.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-left,.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-right,.whatmore-landscape-modal .swiper-cube .swiper-slide-shadow-top{backface-visibility:hidden;z-index:0}.whatmore-landscape-modal .swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.whatmore-landscape-modal .swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[131],{1131:function(e,n,t){var r=t(4994);n.A=void 0;var u=r(t(9526)),c=t(4414);n.A=(0,u.default)([(0,c.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z",opacity:".3"},"0"),(0,c.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"},"1")],"ShoppingBagTwoTone")},6474:function(e,n,t){t.r(n),t.d(n,{capitalize:function(){return u.A},createChainedFunction:function(){return c},createSvgIcon:function(){return o.A},debounce:function(){return i},deprecatedPropType:function(){return a},isMuiElement:function(){return f},ownerDocument:function(){return v},ownerWindow:function(){return h},requirePropFactory:function(){return m},setRef:function(){return y},unstable_ClassNameGenerator:function(){return x},unstable_useEnhancedEffect:function(){return b},unstable_useId:function(){return I},unsupportedProp:function(){return A},useControlled:function(){return T},useEventCallback:function(){return k},useForkRef:function(){return C},useIsFocusVisible:function(){return j}});var r=t(4501),u=t(1676);var c=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.reduce(((e,n)=>null==n?e:function(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];e.apply(this,r),n.apply(this,r)}),(()=>{}))},o=t(3059);var i=function(e){let n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];clearTimeout(n),n=setTimeout((()=>{e.apply(this,u)}),t)}return r.clear=()=>{clearTimeout(n)},r};var a=function(e,n){return()=>null},l=t(9950),s=t.t(l,2);var f=function(e,n){var t,r;return l.isValidElement(e)&&-1!==n.indexOf(null!=(t=e.type.muiName)?t:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)};function d(e){return e&&e.ownerDocument||document}var v=d;var h=function(e){return d(e).defaultView||window};t(8168);var m=function(e,n){return()=>null};function p(e,n){"function"===typeof e?e(n):e&&(e.current=n)}var y=p;var w="undefined"!==typeof window?l.useLayoutEffect:l.useEffect,b=w;let E=0;const g=s["useId".toString()];var I=function(e){if(void 0!==g){const n=g();return null!=e?e:n}return function(e){const[n,t]=l.useState(e),r=e||n;return l.useEffect((()=>{null==n&&(E+=1,t(`mui-${E}`))}),[n]),r}(e)};var A=function(e,n,t,r,u){return null};var T=function(e){let{controlled:n,default:t,name:r,state:u="value"}=e;const{current:c}=l.useRef(void 0!==n),[o,i]=l.useState(t);return[c?n:o,l.useCallback((e=>{c||i(e)}),[])]};var V=function(e){const n=l.useRef(e);return w((()=>{n.current=e})),l.useRef((function(){return(0,n.current)(...arguments)})).current},k=V;var C=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return l.useMemo((()=>n.every((e=>null==e))?null:e=>{n.forEach((n=>{p(n,e)}))}),n)};class R{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new R}start(e,n){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,n()}),e)}}let S=!0,_=!1;const F=new R,L={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function P(e){e.metaKey||e.altKey||e.ctrlKey||(S=!0)}function M(){S=!1}function N(){"hidden"===this.visibilityState&&_&&(S=!0)}function O(e){const{target:n}=e;try{return n.matches(":focus-visible")}catch(t){}return S||function(e){const{type:n,tagName:t}=e;return!("INPUT"!==t||!L[n]||e.readOnly)||"TEXTAREA"===t&&!e.readOnly||!!e.isContentEditable}(n)}var j=function(){const e=l.useCallback((e=>{var n;null!=e&&((n=e.ownerDocument).addEventListener("keydown",P,!0),n.addEventListener("mousedown",M,!0),n.addEventListener("pointerdown",M,!0),n.addEventListener("touchstart",M,!0),n.addEventListener("visibilitychange",N,!0))}),[]),n=l.useRef(!1);return{isFocusVisibleRef:n,onFocus:function(e){return!!O(e)&&(n.current=!0,!0)},onBlur:function(){return!!n.current&&(_=!0,F.start(100,(()=>{_=!1})),n.current=!1,!0)},ref:e}};const x={configure:e=>{r.A.configure(e)}}},9526:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=t(6474)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[262],{3262:function(t,e,r){r.r(e),r.d(e,{initiateCartSliderEvent:function(){return n}});var o=r(1745);const n=async function(t,e,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"",l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"";if("STRNV8MHJTF"!=t&&"STR6HU283UZ"!=t&&"STR9T3LLEJB"!=t&&"STRWJMIOJNX"!=t&&"STRUDQ36YAC"!=t&&"STR1D5ONOZX"!=t){var s;await fetch("https://"+window.location.hostname+"/cart.js",{cache:"reload"}).then((t=>t.json()));fetch(null===l||void 0===l||null===(s=l.split("?"))||void 0===s?void 0:s[0]).then((t=>t.text())).then((t=>{var e,r;const n=(new DOMParser).parseFromString(t,"text/html");let l=Array.from(n.querySelectorAll("product-form")).find((t=>t.querySelector('form > input[name="id"]')&&t.querySelector('form button[type="submit"]')));if(l||(l=Array.from(n.querySelectorAll('form[action*="/cart/add"]')).find((t=>t.querySelector('button[type="submit"]')&&t.querySelector(':scope > input[name="id"]')))),!l&&(l=Array.from(n.querySelectorAll('form[action*="/cart/add"]')).find((t=>t.querySelector('button[type="submit"]'))),!l.querySelector(':scope > input[name="id"]'))){const t=document.createElement("input");t.type="hidden",t.name="id",t.value=i,l.appendChild(t)}sessionStorage.setItem("wht_atc_form",l.outerHTML),l.hasAttribute("data-product-id")&&l.setAttribute("data-product-id",u),l.hasAttribute("data-product-variant-id")&&l.setAttribute("data-product-variant-id",i);const s=l.querySelector('input[name="id"]');s&&(s.setAttribute("value",i),s.hasAttribute("disabled")&&s.removeAttribute("disabled"));const m=l.querySelector('input[name="product-id"]');m&&m.setAttribute("value",u);const p=document.createElement("div");p.appendChild(l),document.body.appendChild(p),console.log(p,"formElement");const h=null===(e=Array.from((null===(r=document.querySelectorAll("product-form"))||void 0===r?void 0:r.length)>0?document.querySelectorAll("product-form"):document.querySelectorAll('form[action*="/cart/add"]')).find((t=>{const e=t.querySelector('input[name="id"]'),r=t.querySelector("product-form");return r&&r.getAttribute("data-product-variant-id")==i||e&&e.value==i})))||void 0===e?void 0:e.querySelector('button[type="submit"]');h&&h.click(),setTimeout((()=>{(0,o.js)().then((t=>t.json())).then((t=>{const e=t.items.find((t=>t.id==i)),r=e.key,n=e.quantity,u=e.properties;(0,o.CP)(r,n,u,a,d,c,!0,!0,!0)}))}),2e3)})),setTimeout(e,r)}else{console.log("Executing cart refresh script..");document.getElementById("whatsmorecart").value=Math.random()}}}}]);
|