PageSourceSearch

https://www.cm-pet.com/dist/js/frontend/chunk/7485.048a9979eee6efa7.js

js cm-pet.com collected 2026-10-08 21:20:45 UTC 20,057 bytes, 1 lines download raw bytes

1(self.webpackChunkwinshop=self.webpackChunkwinshop||[]).push([[7485],{736886:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(898595),i=o.n(n),s=null;null!==document.querySelector("#banner_block")&&(s=new(i())("#banner_block",{type:"loop",width:"100%",perPage:1,perMove:1,autoplay:!0,arrows:!1,pagination:!0,pauseOnHover:!0,lazyLoad:!1,keyboard:!1}));const r=s},693775:()=>{$(function(){!function(){for(var e=document.getElementsByClassName("accordion"),t=0;t<e.length;t++)e[t].addEventListener("click",function(){this.classList.toggle("active");var e=this.nextElementSibling;null!==e&&(e.style.maxHeight?e.style.maxHeight=null:e.style.maxHeight=e.scrollHeight+"px")})}()})},405166:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}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 r,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw r}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(t){var o=function(t,o){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,o||"default");if("object"!=e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"==e(o)?o:o+""}null!==document.getElementById("product-filter")&&(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getParams()},o=[{key:"getParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=null!==e?"?".concat(e):window.location.search;this.params=new URLSearchParams(t)}},{key:"activeAssign",value:function(e){if(this.params.has(e)){var t=e.replace("_","-");$("#product-filter-".concat(t)).addClass("active")}}},{key:"rangeValueAssign",value:function(e){if(this.params.has(e)){var t=e.replace("_","-");$("#product-filter-price-".concat(t)).val(this.params.get(e))}}},{key:"urlParamsSet",value:function(e,o){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.params.has(e),s=null!==e.match(/^range_(start|end)/);switch(!0){case s&&i&&0!==o&&"0"!==o&&""!==o:this.params.set(e,o);break;case s&&!i&&(0===o||0===o||""===o):break;case s&&!i&&0!==o&&0!==o&&""!==o:this.params.append(e,o);break;case s&&i&&(0===o||0===o||""===o):case i:this.params.delete(e);break;case!i:this.params.append(e,o)}var r,a=0,l=t(this.params.keys());try{for(l.s();!(r=l.n()).done;)r.value,a++}catch(e){l.e(e)}finally{l.f()}var c=window.location.pathname,u=this.params.toString();n?window.location.href=a>0?"".concat(c,"?").concat(u):c:this.getParams(u)}},{key:"exec",value:function(){var e=this;$("#product-filter-top-sales").on("click",function(){e.urlParamsSet("top_sales",1)}),$("#product-filter-new-items").on("click",function(){e.urlParamsSet("new_items",1)}),$("#product-filter-price-range-submit").on("click",function(){var t=$("#product-filter-price-range-start").val(),o=$("#product-filter-price-range-end").val();
1e.urlParamsSet("range_start",t,!1),e.urlParamsSet("range_end",o)}),this.activeAssign("top_sales"),this.activeAssign("new_items"),this.rangeValueAssign("range_start"),this.rangeValueAssign("range_end")}}],o&&n(e.prototype,o),i&&n(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,o,i}())).exec()},444520:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});const n=function(){var e,t=document.getElementById("follow_state"),o=null!==t?t.getAttribute("data-setup"):null;null!==o&&"1"===o&&($(".follow_btn").on("click",function(){var e=$(this).attr("data-indexid");$(".follow_"+e).hasClass("follow")?n(e):i(e)}),e=cookies.get("product_follow")||{},collect(e).each(function(e,t){var o=null,n=null;"1"===e?(o="followed",n="follow"):(o="follow",n="followed"),$(".follow_"+t).removeClass(n).addClass(o)}));var n=function(e){Common.addFollow(e,function(t){t&&$(".follow_"+e).removeClass("follow").addClass("followed")})},i=function(e){Common.cancelFollow(e,function(t){t&&$(".follow_"+e).removeClass("followed").addClass("follow")})}}},507485:(e,t,o)=>{"use strict";o.r(t);o(693775),o(405166);var n=o(528630),i=o.n(n),s=o(736886),r=o(444520),a=o(342982);function l(){$("#main-menu2").smartmenus({collapsibleBehavior:"default",noMouseOver:!0,subIndicatorsText:"",showFunction:function(e,t){e.slideDown(250,t)},hideFunction:function(e,t){e.slideUp(250,t)}})}$(window).on("load",function(){var e,t,o;Common.smartMenus().nav(),null!==document.querySelector("#main-menu2")&&(l(),$(window).resize(function(){setTimeout(function(){$("#main-menu2").smartmenus("destroy"),l()},1e3)})),(0,r.Z)(),(0,a.Z)().update(),function(){null!==document.querySelectorAll("[data-toggle='collapse']")&&$("[data-toggle='collapse']").each(function(){$(this).click(function(){$(this).parent(".aside_title").toggleClass("active"),$(this).parent(".aside_title").siblings(".children_items").fadeToggle("slow")})});!0===$(".d-table-cell").hasClass("current")&&$(".d-table-cell.current").parent(".aside_title").addClass("active")}(),$(function(){$("body").css("opacity","1"),new(i())({live:!1}).init()}),$("#icon_open").click(function(){$("#icon_open").parent(".aside_title").toggleClass("open")}),$("#openBtn").click(function(){$("#closeBtn").fadeIn(800),$(".mobile-bottom").fadeIn(800),$(this).hide()}),$("#closeBtn").click(function(){$("#myNavbar").removeClass("show"),$("#openBtn").fadeIn(800),$(".mobile-bottom").hide(),$(this).hide()}
1),function(){var e=$(".scroll-down");null!=e&&e.on("click",function(e){e.preventDefault(),$("html,body").animate({scrollTop:$(".index.about").offset().top-100},1e3)})}(),e=$("#header").height(),$(window).scroll(function(){clearTimeout(t);var t=setTimeout(function(){$(this).scrollTop()>e?($("#header").addClass("scroll"),$("#top-menu").addClass("scroll")):($("#header").removeClass("scroll"),$("#top-menu").removeClass("scroll"))},100)}),$(".pd-slider").slick({infinite:!0,slidesToShow:3,slidesToScroll:1,centerMode:!1,arrows:!0,autoplay:!0,autoplaySpeed:5e3,speed:1e3,pauseOnFocus:!1,pauseOnHover:!1,prevArrow:'<div class="arrow-block prev"></div>',nextArrow:'<div class="arrow-block next"></div>',appendArrows:$(".index.product .title-col .custom-arrow"),responsive:[{breakpoint:992,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1,appendArrows:$(".index.product .slider-col .custom-arrow")}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,appendArrows:$(".index.product .slider-col .custom-arrow")}}]}),$(".index.product .custom-arrow.desktop .next").click(function(){$(".pd-slider").slick("slickNext")}),$(".index.product .custom-arrow.desktop .prev").click(function(){$(".pd-slider").slick("slickPrev")}),$(".oem-slider").slick({infinite:!0,slidesToShow:2,slidesToScroll:1,centerMode:!1,arrows:!0,autoplay:!0,autoplaySpeed:5e3,speed:1e3,pauseOnFocus:!1,pauseOnHover:!1,prevArrow:'<div class="arrow-block prev"></div>',nextArrow:'<div class="arrow-block next"></div>',appendArrows:$(".index.oem .title-col .custom-arrow"),variableWidth:!0,responsive:[{breakpoint:768,settings:{appendArrows:$(".index.oem .slider-col .custom-arrow"),variableWidth:!1}},{breakpoint:631,settings:{slidesToShow:1,slidesToScroll:1,appendArrows:$(".index.oem .slider-col .custom-arrow")}}]}),$(".index.oem .custom-arrow.desktop .next").click(function(){$(".oem-slider").slick("slickNext")}),$(".index.oem .custom-arrow.desktop .prev").click(function(){$(".oem-slider").slick("slickPrev")}),$(".energy-slider").slick({infinite:!0,slidesToShow:1,slidesToScroll:3,centerMode:!0,arrows:!0,autoplay:!0,autoplaySpeed:7e3,speed:700,asNavFor:".energy-slider-text",responsive:[{breakpoint:768,settings:{slidesToShow:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,variableWidth:!1}}]}),$(".energy-slider-text").slick({infinite:!0,slidesToShow:1,slidesToScroll:1,centerMode:!1,arrows:!0,autoplay:!0,autoplaySpeed:7e3,speed:700,prevArrow:'<div class="arrow-block prev"></div>',nextArrow:'<div class="arrow-block next"></div>',appendArrows:$(".slider-text-block .custom-arrow"),asNavFor:".energy-slider",responsive:[{breakpoint:768,settings:{slidesToShow:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,variableWidth:!1}}]}),$(".energy-slider-text .custom-arrow .next").click(function(){$(".energy-slider").slick("slickNext")}),$(".energy-slider-text .custom-arrow .prev").click(function(){$(".energy-slider").slick("slickPrev")}),$(".cert-slider").slick({infinite:!0,slidesToShow:2,slidesToScroll:2,centerMode:!1,lazyLoad:"progressive",arrows:!0,autoplay:!0,autoplaySpeed:6e3,pauseOnFocus:!1,pauseOnHover:!1,prevArrow:'<div class="arrow-block prev"></div>',nextArrow:'<div class="arrow-block next"></div>',responsive:[{breakpoint:992,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:577,settings:{slidesToShow:1,slidesToScroll:1}}]}),$(".cus-main-carousel").slick({slidesToShow:1,slidesToScroll:1,arrows:!0,fade:!0,asNavFor:".cus-sub-carousel",prevArrow:'<div class="arrow-block prev"></div>',nextArrow:'<div class="arrow-block next"></div>'}),$(".cus-sub-carousel").slick({slidesToShow:4,slidesToScroll:1,vertical:!0,asNavFor:".cus-main-carousel",centerMode:!1,focusOnSelect:!0,arrows:!1,responsive:[{breakpoint:992,settings:{slidesToShow:4,slidesToScroll:1,vertical:!1}}]}
1),$(window).scroll(function(){var e=$("#footer").height(),t=$("#footer").offset().top-e;$(this).scrollTop()+700>=t?$("#gotop_animate").removeClass("fixed-scroll"):$("#gotop_animate").addClass("fixed-scroll").fadeIn(),0===$(this).scrollTop()&&$("#gotop_animate").fadeOut()}),t=$(".accordion-content"),o=t.find(".item"),t.find(".item:first-child").addClass("active"),o.on("click",function(){var e=t.find(".item:nth-child(2)");$(this).addClass("active").siblings().removeClass("active"),e.hasClass("active")?t.find(".item:first-child").css("background-color","#375d50"):t.find(".item:first-child").css("background-color","#c8b591")}),$(".accordion-item.product:first-child").find(".accordion-title").addClass("active"),$(".accordion-item.product:first-child").find(".accordion-content").slideDown(),$(".accordion-item.product").on("click",".accordion-title",function(){$(".accordion-content").stop().slideUp(),$(this).hasClass("active")?($(this).next().stop().slideUp("fast"),$(this).removeClass("active")):($(this).next().stop().slideDown(),$(".accordion-title").removeClass("active"),$(this).addClass("active"))}
1),function(){var e=$(".quick-menu");if(e.length){var t=e.offset().top,o=e.height();$(window).on("scroll",function(){$(this).scrollTop()>t-o-300?$("#cart_area").addClass("white"):$("#cart_area").removeClass("white")})}}()}),null!==s.Z&&(s.Z.options={type:"fade",rewind:!0,perPage:1,autoplay:!0,interval:7e3,speed:1500,arrows:!1,pagination:!0,drag:!0,keyboard:!0,pauseOnHover:!1,pauseOnFocus:!1},s.Z.mount()),$(window).on("scroll resize",function(){var e,t,o,n,i;e=$(window),t=$(window).height(),o=$("html").height(),n=$("#footer").outerHeight(),i=e.scrollTop(),$(".imgFlipRightIn,.textMoveUp,.textMoveRight,.textMoveLeft").each(function(e,s){var r=$(this).offset().top;i>r-.7*t||i>=o-t-n-.5*t?$(this).addClass("show"):$(this).removeClass("show")})})},528630:function(e,t){var o,n,i;n=[e,t],o=function(e,t){"use strict";var o,n;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}();function r(e,t){return t.indexOf(e)>=0}function a(e,t){for(var o in t)if(null==e[o]){var n=t[o];e[o]=n}return e}function l(e){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)}function c(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],o=!(arguments.length<=2||void 0===arguments[2])&&arguments[2],n=arguments.length<=3||void 0===arguments[3]?null:arguments[3],i=void 0;return null!=document.createEvent?(i=document.createEvent("CustomEvent")).initCustomEvent(e,t,o,n):null!=document.createEventObject?(i=document.createEventObject()).eventType=e:i.eventName=e,i}function u(e,t){null!=e.dispatchEvent?e.dispatchEvent(t):t in(null!=e)?e[t]():"on"+t in(null!=e)&&e["on"+t]()}function d(e,t,o){null!=e.addEventListener?e.addEventListener(t,o,!1):null!=e.attachEvent?e.attachEvent("on"+t,o):e[t]=o}function h(e,t,o){null!=e.removeEventListener?e.removeEventListener(t,o,!1):null!=e.detachEvent?e.detachEvent("on"+t,o):delete e[t]}function f(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight}var v=window.WeakMap||window.MozWeakMap||function(){function e(){i(this,e),this.keys=[],this.values=[]}return s(e,[{key:"get",value:function(e){for(var t=0;t<this.keys.length;t++)if(this.keys[t]===e)return this.values[t]}},{key:"set",value:function(e,t){for(var o=0;o<this.keys.length;o++)if(this.keys[o]===e)return this.values[o]=t,this;return this.keys.push(e),this.values.push(t),this}}]),e}(),p=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver||(n=o=function(){function e(){i(this,e),"undefined"!=typeof console&&null!==console&&(console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content."))}return s(e,[{key:"observe",value:function(){}}]),e}(),o.notSupported=!0,n),m=window.getComputedStyle||function(e){var t=/(\-([a-z]){1})/g;return{getPropertyValue:function(o){"float"===o&&(o="styleFloat"),t.test(o)&&o.replace(t,function(e,t){return t.toUpperCase()});var n=e.currentStyle;return(null!=n?n[o]:void 0)||null}}},w=function(){function e(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,e),this.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},this.animate="requestAnimationFrame"in window?function(e){return window.requestAnimationFrame(e)}:function(e){return e()},this.vendors=["moz","webkit"],this.start=this.start.bind(this),this.resetAnimation=this.resetAnimation.bind(this),this.scrollHandler=this.scrollHandler.bind(this),this.scrollCallback=this.scrollCallback.bind(this),this.scrolled=!0,this.config=a(t,this.defaults),null!=t.scrollContainer&&(this.config.scrollContainer=document.querySelector(t.scrollContainer)),this.animationNameCache=new v,this.wowEvent=c(this.config.boxClass)}return s(e,[{key:"init",value:function(){this.element=window.document.documentElement,r(document.readyState,["interactive","complete"])?this.start():d(document,"DOMContentLoaded",this.start),this.finished=[]}},{key:"start",value:function(){var e=this;if(this.stopped=!1,this.boxes=[].slice.call(this.element.querySelectorAll("."+this.config.boxClass)),this.all=this.boxes.slice(0),this.boxes.length)if(this.disabled())this.resetStyle();else for(var t=0;t<this.boxes.length;t++){var o=this.boxes[t];this.applyStyle(o,!0)}
1this.disabled()||(d(this.config.scrollContainer||window,"scroll",this.scrollHandler),d(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live&&new p(function(t){for(var o=0;o<t.length;o++)for(var n=t[o],i=0;i<n.addedNodes.length;i++){var s=n.addedNodes[i];e.doSync(s)}}).observe(document.body,{childList:!0,subtree:!0})}},{key:"stop",value:function(){this.stopped=!0,h(this.config.scrollContainer||window,"scroll",this.scrollHandler),h(window,"resize",this.scrollHandler),null!=this.interval&&clearInterval(this.interval)}},{key:"sync",value:function(){p.notSupported&&this.doSync(this.element)}},{key:"doSync",value:function(e){if(null==e&&(e=this.element),1===e.nodeType)for(var t=(e=e.parentNode||e).querySelectorAll("."+this.config.boxClass),o=0;o<t.length;o++){var n=t[o];r(n,this.all)||(this.boxes.push(n),this.all.push(n),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(n,!0),this.scrolled=!0)}}},{key:"show",value:function(e){return this.applyStyle(e),e.className=e.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(e),u(e,this.wowEvent),d(e,"animationend",this.resetAnimation),d(e,"oanimationend",this.resetAnimation),d(e,"webkitAnimationEnd",this.resetAnimation),d(e,"MSAnimationEnd",this.resetAnimation),e}},{key:"applyStyle",value:function(e,t){var o=this,n=e.getAttribute("data-wow-duration"),i=e.getAttribute("data-wow-delay"),s=e.getAttribute("data-wow-iteration");return this.animate(function(){return o.customStyle(e,t,n,i,s)})}},{key:"resetStyle",value:function(){for(var e=0;e<this.boxes.length;e++)this.boxes[e].style.visibility="visible"}},{key:"resetAnimation",value:function(e){if(e.type.toLowerCase().indexOf("animationend")>=0){var t=e.target||e.srcElement;t.className=t.className.replace(this.config.animateClass,"").trim()}}},{key:"customStyle",value:function(e,t,o,n,i){return t&&this.cacheAnimationName(e),e.style.visibility=t?"hidden":"visible",o&&this.vendorSet(e.style,{animationDuration:o}),n&&this.vendorSet(e.style,{animationDelay:n}),i&&this.vendorSet(e.style,{animationIterationCount:i}),this.vendorSet(e.style,{animationName:t?"none":this.cachedAnimationName(e)}),e}},{key:"vendorSet",value:function(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=t[o];e[""+o]=n;for(var i=0;i<this.vendors.length;i++)e[""+this.vendors[i]+o.charAt(0).toUpperCase()+o.substr(1)]=n}}},{key:"vendorCSS",value:function(e,t){for(var o=m(e),n=o.getPropertyCSSValue(t),i=0;i<this.vendors.length;i++){var s=this.vendors[i];n=n||o.getPropertyCSSValue("-"+s+"-"+t)}return n}},{key:"animationName",value:function(e){var t=void 0;try{t=this.vendorCSS(e,"animation-name").cssText}catch(o){t=m(e).getPropertyValue("animation-name")}return"none"===t?"":t}},{key:"cacheAnimationName",value:function(e){return this.animationNameCache.set(e,this.animationName(e))}},{key:"cachedAnimationName",value:function(e){return this.animationNameCache.get(e)}},{key:"scrollHandler",value:function(){this.scrolled=!0}},{key:"scrollCallback",value:function(){if(this.scrolled){this.scrolled=!1;for(var e=[],t=0;t<this.boxes.length;t++){var o=this.boxes[t];if(o){if(this.isVisible(o)){this.show(o);continue}e.push(o)}}this.boxes=e,this.boxes.length||this.config.live||this.stop()}}},{key:"offsetTop",value:function(e){for(;void 0===e.offsetTop;)e=e.parentNode;for(var t=e.offsetTop;e.offsetParent;)t+=(e=e.offsetParent).offsetTop;return t}},{key:"isVisible",value:function(e){var t=e.getAttribute("data-wow-offset")||this.config.offset,o=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,n=o+Math.min(this.element.clientHeight,f())-t,i=this.offsetTop(e),s=i+e.clientHeight;return i<=n&&s>=o}},{key:"disabled",value:function(){return!this.config.mobile&&l(navigator.userAgent)}}]),e}();t.default=w,e.exports=t.default},void 0===(i="function"==typeof o?o.apply(t,n):o)||(e.exports=i)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.