! function () {
    function d(e, t) {
        for (var i = 0; i < t.length; i++) {
            var n = t[i];
            n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
        }
    }
    Array.prototype.findIndex || Object.defineProperty(Array.prototype, "findIndex", {
        value: function (e) {
            if (null == this) throw new TypeError('"this" is null or not defined');
            var t = Object(this),
                i = t.length >>> 0;
            if ("function" != typeof e) throw new TypeError("predicate must be a function");
            for (var n = arguments[1], a = 0; a < i;) {
                var o = t[a];
                if (e.call(n, o, a, t)) return a;
                a++
            }
            return -1
        }
    }), Array.prototype.find || (Array.prototype.find = function (e) { return e && (this.filter(e) || [])[0] }),
        function e() {
            var t = window.orientation;
            var i = null;

            function n() {
                var e, t;
                null === document.getElementById("preventTran") && ((i = document.createElement("div")).setAttribute("id", "preventTran"), i.style.position = "fixed", i.style.left = "0", i.style.top = "0", i.style.width = "100%", i.style.height = "100%", i.style.overflow = "hidden", i.style.backgroundColor = "#2e2e2e", i.style.textAlign = "center", i.style.zIndex = "99999", document.getElementsByTagName("body")[0].appendChild(i), (t = document.createElement("img")).src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABaCAYAAADkUTU1AAAI9ElEQVR4Xu1cfXBcVRU/5+Z1N8GEj2AhFQvUIigfBetYaRVbBhADU2wHVoYk3bx3k8kMcSyFPxzUf8IfOjrqIHYUXbL3vW6mKXbtINapg1ColLEUnYIj9QPGOE0VdUjjlE3tdnffO87J7GY26yZ9H5tNst37X5tzzu/87rl777v3nnMR5rhFo9HLhBDrhRC3AMBqAFgBABfmYU8CwAgAHAGAVwDgJaXUO+Vc6u7uXhkOh0/GYrGxIC5jEOVZdLG3t7fdcZyHiOgORHSL4xDRfiHEE/F4fB8AEGNIKdcS0fMA8IxpmluC+OzWEdcY0Wh0jaZp2wFgjWulMoJE9CoRbRVCEHcCIp4PAOOpVOqSZDJp+7VdMcIbNmzQVqxYMYCIXwEA4dehEj2O+GlEfF/h/xFxfTw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4ZEIvGWH/u+Ceu6/pAQ4ntlQF87ffr03UFL5Xt7ey+1bXsfP4ZSjOE4zqOWZfH7A76ab8JdXV1XhUKht2cY0qOO48gdO3bs9+OVYRh3AkAcES8r0edSHM7e5yMcX8034fyw/jMAXAMAXFNYehTETvFE83Wl1F/ceNfd3X2dEOJr+Sdqpj1CRkSHJyYmbg/6UwlE2DAMPuyLZLPZezVNiyFi6ZtazJOJ8+0F54Mdymazbx0/fnwyU2758uWtoVDoI7Ztr+WTRSJaW67eiSfBTCazeefOne+56bjZZAIRzhtmG8Q7mba2tu8AwBcrWKTFnfX4yMjIowcOHMgFJcv6lSA8zQ8p5a0AwJPZqiAOEtEb/AigZVkHg9gp1a04YQaIRCINzc3N9yHil4honYeIF4b/9/Pf374np5k6aU4IF4NJKT8EAO355E5+NelyACjcBvJ7WKMAwLusV3K53L5EIsH/nrP2PzAJNfmP9znfAAAAAElFTkSuQmCC", i.appendChild(t), t.style.margin = "60px auto 30px", e = document.createElement("br"), (t = document.createElement("p")).style.width = "100%", t.style.height = "auto", t.style.fontSize = "22px", t.style.color = "#626262", t.style.lineHeight = "34px", t.style.textAlign = "center", t.innerHTML = "为了更好的体验", t.appendChild(e), t.innerHTML += "请竖直使用您的手机/平板", i.appendChild(t))
            }
            90 != t && -90 != t || (null == i && null === document.getElementById("preventTran") && n(), document.getElementById("preventTran").style.display = "block", $("header").css("display", "none"));
            window.onorientationchange = function () { null == i && null == document.getElementById("preventTran") && n(), document.getElementById("preventTran").style.display = "none", $("header").css("display", "block"), e() }
        }(), (window.ActiveXObject || "ActiveXObject" in window) && $("body").addClass("ie"), $(document).ready(function () {
            var e = this,
                t = window.createLocker();
            $("#xyz .xyz12 span").click(function () { $("#xyz").toggleClass("active"), $("#xyz .xyz12 span").toggleClass("dp") });
            var i = $("#xyz");
            $(window).width() < 1300 && $(".nav1").before(i);
            var n = $(".LiLevel1");
            n.map(function (e) { 1 === $(n[e]).children("ul").length && ($(n[e]).prepend('<i class="fa fa-angle-down active--rotate-right" aria-hidden="true" ></i>'), $(".LiLevel1").children("ul").hide()) }), $(".LiLevel1").children("i").click(function () { $(this).parent().children("ul").slideToggle() });
            var a = $(".bPosition").text();
            a.trim();
            var i = a.lastIndexOf(">"),
                o = (o = a.substr(i + 1)).trim();
            $(".has-children2>ul li").map(function (e, t) { $(t).text() == o && $(t).children("a").addClass("currentProType") }), $(".currentProType").next("ul").show(), $(".currentProType").prev("i").removeClass("active--rotate-right"), $(".currentProType").parent("li").parent("ul").parent("li").children("i").removeClass("active--rotate-right"), $(".currentProType").parent("li").parent("ul").show(), 0 === $(".index").length && $(".top-box").css("top", "0"), $(window).width() <= 820 && ($(".top-box ").css("top", "0px"), $("header .nav-box").removeClass("nav-set-top-40"), $("header .nav-box").addClass("top-0"), $("header .nav-box").addClass("nav-set-top")), 0 === $(".index").length && $(window).width() <= 820 && $(".top-box ").css("top", "0"), $("header .top-box .nav-box .right nav").addClass("set-top-70"), $("a.go-top").click(function () { $(window).scrollTop(0) }), $("a.desc").parent().click(function () {
                $("html").css("scroll-behavior", " smooth");
                var e = $("div.form")[0].offsetTop;
                $(window).scrollTop(e - 70), $("html").css("scroll-behavior", "auto")
            }), $(".pho-footer").hide(), $(".shop-car").css("bottom", "0px"), $(window).width() <= 1080 ? $(window).scroll(function () { 200 <= $(e).scrollTop() ? ($(".pho-footer").show(), $(".shop-car").css("bottom", "")) : ($(".shop-car").css("bottom", "0px"), "fixed" === $("html").css("position") || $(".pho-footer").hide()) }) : $(".pho-footer").hide();
            try { $("table").wrap('<section class="table-wrap"></section>') } catch (e) { throw new Error("table is not found in this page") }
            $(".search-box-mob").hide(), $("#search").click(function () { $(".mb-all").slideToggle(), $(".search-box-mob").slideToggle(500), console.log("unlock", document.querySelector(".search-box-mob")) }), $(".mb-all").click(function () { $(".mb-all").slideToggle(), $(".search-box-mob").slideToggle(500), flag = !0 });
            try { $(".count-up").countUp({ time: 1300 }) } catch (e) { new Error("该页面无countUp动画！", e) }
            $("aside.nav2-template > ul > li.has-children2 ul li i").click(function () { $(this).parent().children("ul"), $(this).toggleClass("active--rotate-right") });
            var r, l, a = $("header .index-page.nav-box").css("top"),
                i = $(this).scrollTop();
            1080 < $(document).width() && "0px" != a && 0 < i && $("header .nav-box").addClass("top-0"), $(document).width() < 1080 && "0px" != a && 0 < i && $("header .index-page.nav-box").addClass("top-0"), $(document).scroll(function () { r = $(window).scrollTop(), l < r && ($(this).scrollTop() < 10 ? $("header .index-page.nav-box").removeClass("top-0") : 0 === $(".index").length && $(window).width() <= 820 || ($("header .nav-box").removeClass("nav-set-top-40"), $("header .nav-box").addClass("nav-set-top"), $("header .nav-box").addClass("top-0"), $(".search-box-mob").addClass("w-100")), (window.ActiveXObject || "ActiveXObject" in window) && $(".nav-box").css("transform", "none")), r < l && ((window.ActiveXObject || "ActiveXObject" in window) && $(".nav-box").css("transform", "translateX(0%)"), r <= 10 && ($(window).scrollTop() < 10 && ($("header .index-page.nav-box").removeClass("top-0"), $("header .nav-box").removeClass("top-0"), (window.ActiveXObject || "ActiveXObject" in window) && $(".nav-box").css("transform", "translateX(-50%)")), $(document).width() < 1080 || ($("header .nav-box").removeClass("top-0"), $("header .nav-box").removeClass("nav-set-top"), $("header .nav-box").addClass("nav-set-top-40")))), l = r });
            try {
                (new WOW).init()
            } catch (e) { }
            $(document).width() <= 1080 && $("ul.nav1>li .products-down").click(function () { $(this).parent().children(".show-box").slideToggle(250) }), 1300 < $(document).width() ? ($(".nav2-left>ul>li").click(function () { $(this).children("ul.nav3").slideToggle() }), $("header #searchClose").click(function () { $("header .nav1").slideDown(250), $("header .search-input").slideUp(250), $("header #searchClose").css("display", "none"), $("header #search").css("display", "inline") })) : ($(".mob-nav .fa-bars").click(function () {
                $("header .top-box .nav-box .right nav").slideToggle();
                $(window)[0].outerHeight;
                $(this).hide(200), $(".mob-nav .fa-close").show(), t.lock()
            }), $(".mob-nav .fa-close").click(function () { $("header .top-box .nav-box .right nav").slideToggle(), $(this).hide(200), $(".mob-nav .fa-bars").show(), t.unlock() }), $("header .top-box .nav-box .right nav ul.nav1 > li > a").click(function () { $(this).parent().children(".show-box").slideToggle() }), $(document).keyup(function (e) { 13 == e.keyCode && $(".search-input").slideUp(250) })), $(".has-children2 > a").click(function () { $(".has-children2>ul").slideToggle() });
            var c = [];
            null == JSON.parse(localStorage.getItem("productCachePC")) && localStorage.setItem("productCachePC", JSON.stringify([]));
            var s = new (function () {
                function e() { ! function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, e), this.view(), this.count(), this.isNullView(), $(".feedback-list").length && this.delFeedBack() }
                var t, i, n;
                return t = e, (i = [{ key: "delFeedBack", value: function () { JSON.parse(localStorage.getItem("productCachePC")).map(function (e) { $(".feedback-list").append('\n               <div class="list-li" data-id="'.concat(e.id, '">\n                   <div><img src="').concat(e.src, '" alt=""></div>\n                   <div class="feedback-title"><span><a href="').concat(e.href, '">').concat(e.title, '</a></span></div>\n                   <div class="close"><i class="fa fa-times" aria-hidden="true"></i></div>\n               </div>\n               ')) }), this.addDeleteMethodForFeedBack() } }, {
                    key: "addDeleteMethodForFeedBack",
                    value: function () {
                        $(".feedback-list .list-li").map(function (t) {
                            $($(".feedback-list").children(".list-li")[t]).children(".close").click(function () {
                                var e = $($(".feedback-list").children(".list-li")[t]).attr("data-id");
                                s.removeItem(e), s.reloadFeedBackView()
                            })
                        })
                    }
                }, { key: "reloadFeedBackView", value: function () { $(".feedback-list").text(""), JSON.parse(localStorage.getItem("productCachePC")).map(function (e) { $(".feedback-list").append('\n               <div class="list-li" data-id="'.concat(e.id, '">\n                   <div><img src="').concat(e.src, '" alt=""></div>\n                   <div class="feedback-title"><span><a href="').concat(e.href, '">').concat(e.title, '</a></span></div>\n                   <div class="close"><i class="fa fa-times" aria-hidden="true"></i></div>\n               </div>\n               ')) }), this.addDeleteMethodForFeedBack(), this.isEmptyDeedBackView() } }, { key: "isEmptyDeedBackView", value: function () { } }, {
                    key: "removeItem",
                    value: function (t) {
                        var e = JSON.parse(localStorage.getItem("productCachePC")),
                            i = e.findIndex(function (e) { return e.id == t });
                        e.splice(i, 1), localStorage.setItem("productCachePC", JSON.stringify(e)), this.count(), this.view(t)
                    }
                }, { key: "isNullView", value: function () { 0 == JSON.parse(localStorage.getItem("productCachePC")) ? $(".shop-car").css("display", "none") : $(".shop-car").css("display", "") } }, {
                    key: "addItem",
                    value: function (e) {
                        var t = $("[data-id=".concat(e, "]")).parent().parent().children(".left").children("a").children("img").attr("src"),
                            i = $("[data-id=".concat(e, "]")).parent().parent().children(".left").children("a").attr("href"),
                            i = { id: e, title: $("[data-id=".concat(e, "]")).parent().children("p:nth-of-type(1)").children("a").text(), src: t, href: i };
                        (c = JSON.parse(localStorage.getItem("productCachePC"))).push(i), localStorage.setItem("productCachePC", JSON.stringify(c)), this.count(), this.view()
                    }
                }, {
                    key: "view",
                    value: function () {
                        var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null;
                        $(".shop-car ul").text("");
                        var t = JSON.parse(localStorage.getItem("productCachePC"));
                        t.map(function (e) { $(".shop-car ul").append('\n               <li data-id="'.concat(e.id, '">\n                   <div class="left"><img src="').concat(e.src, '" alt=""></div>\n                   <div class="center"><span style="overflow: hidden;\n                   height: 34px;\n                   display: inline-block;\n                   display: -webkit-box;\n                   text-overflow: ellipsis;\n                   overflow: hidden;\n                   -webkit-line-clamp: 2;\n                   -ms-flex-wrap: nowrap;\n                   flex-wrap: nowrap;\n                   -webkit-box-orient: vertical;">').concat(e.title, '</span></div>\n                   <div class="right"><i class="fa fa-times" aria-hidden="true"></i></div>\n               </li>\n               ')) }), 0 < t.length ? null != e ? ($(".item-products.only button"), $("button[data-id=" + e + "]").children("span").children("i").addClass("visibility"), $("button[data-id=" + e + "]").css("background", "black")) : ($(".item-products.only button"), t.map(function (e) { $("button[data-id=" + e.id + "]").children("span").children("i").removeClass("visibility"), $("button[data-id=" + e.id + "]").css("background", "#cc1616") })) : $(".item-products.only button").each(function (e, t) { $(t).css("background", "black"), $(t).children("span").children("i").addClass("visibility") });
                        var i = $(".shop-car ul li");
                        $(".shop-car ul li").map(function (t) {
                            $(i[t]).children(".right").click(function () {
                                var e = $(i[t]).attr("data-id");
                                s.removeItem(e)
                            })
                        }), this.isNullView()
                    }
                }, {
                    key: "count",
                    value: function () {
                        var e = 0,
                            t = JSON.parse(localStorage.getItem("productCachePC"));
                        t != [] && (e = t.length), $(".buy .count").text(e)
                    }
                }, { key: "clear", value: function () { localStorage.setItem("productCachePC", JSON.stringify([])), this.count(), this.view() } }]) && d(t.prototype, i), n && d(t, n), e
            }());
            $(".item-products ul li button").click(function () {
                var e = $(this).children("span").children("i");
                e.toggleClass("visibility");
                var t = $(this).attr("data-id"),
                    i = JSON.parse(localStorage.getItem("productCachePC"));
                e.hasClass("visibility") ? s.removeItem(t) : i.length < 10 ? s.addItem(t) : (e.toggleClass("visibility"), toastr.warning("The number of products is limited to ten or less."))
            }), $(".shop-car .clear").click(function () { s.clear() })
        });
    try { new Swiper(".swiper-index", { autoplay: !0, loop: !0, pagination: { el: ".swiper-pagination", currentClass: "my-pagination-current" }, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev" } }) } catch (e) { }
    var e = {},
        e = 1213 < $(document).width() ? { loop: !1, slidesPerView: 4, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev" }, scrollbar: { el: ".swiper-scrollbar" } } : {
            loop: !1,
            slidesPerView: 1,
            pagination: { el: ".swiper-pagination" },
            navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev" },
            scrollbar: { el: ".swiper-scrollbar" },
            on: {
                slideChangeTransitionStart: function () {
                    var e = $(".swiper-slide").length;
                    $("#index-count").text("".concat(this.activeIndex + 1, "/").concat(e))
                }
            }
        },
        t = $(".swiper-slide").length;
    $("#index-count").text("1/".concat(t));
    try {
        new Swiper(".swiper-products-details", e);
        $(".productsDetails-article .swiper-products-details .swiper-slide img").hover(function () {
            var e = $(this).attr("src"),
                t = $(".productsDetails-article .details section.left .img > img"),
                i = $(".productsDetails-article .details section.left .img .big img");
            t.attr("src", e), i.attr("src", e)
        })
    } catch (e) { }

    $(".swiper-button-next").click(function () {
        var e = $(".item-hover"),
            t = e.parent().next().children("img");
        e.removeClass("item-hover"), t.addClass("item-hover"), $(".img img").attr("src", t.attr("src"))
    }), $(".swiper-button-prev").click(function () {
        var e = $(".item-hover"),
            t = e.parent().prev().children("img");
        e.removeClass("item-hover"), t.addClass("item-hover"), $(".img img").attr("src", t.attr("src"))
    }), $(".singglepic").parent().children(".right").css("padding-top", "0"), $(".singglepic").css("height", "310px !important");
    e = $(".productsDetails-article .swiper-slide")[0];



    // 主页底部BUG
    $('.footlinks').parent().children('.copyright').css('margin-bottom', '0px')
    if($(document).width()<1250){
        $('.footlinks').parent('body').css('background', '#000')
    }
    // 123123123123123123123123123123123123123123123123

    // if($(document).width()<1100){
    //     $('.footlinks').css('margin-bottom', '10.5vw')
    //     $('.footlinks').parent('body').css('background', '#000')
    // }

    // if($(document).width()<850){
    //     $('.footlinks').css('margin-bottom', '12.5vw')
    //     $('.footlinks').parent('body').css('background', '#000')
    // }

    // if($(document).width()<400){
    //     $('.footlinks').css('margin-bottom', '14.5vw')
    //     $('.footlinks').parent('body').css('background', '#000')
    // }

    
    
    try { $(".submenu").addClass("nav0"); var e = $(".bPosition").text(), o = (o = /[\s\S]*?>([\s\S]*)/gi.exec(e))[1].trim(); console.log(o), $("aside ul.nav1:nth-of-type(1)").children().each(function (e, a) { $(a).children("a").text() === o && $(a).addClass("LocalCurrent") }), 0 == $(".btn-groups .button")[1].children.length && $($(".btn-groups .button")[1]).css("display", "none") } catch (e) { } "" === $(".banner2-box img").attr("src") && ($(".banner2-box img").css("display", "none"), $("header .top-box .info .left span").css("color", "black"), $("header .top-box .info .left > span:nth-of-type(1)").css("color", "black"), $("header .top-box .info .left span a, header .top-box .info .left span a:visited").css("color", "black"), $("header .top-box .info .left span a, header .top-box .info .left span a").css("color", "black"), $(".ie main.page-template-1").css("margin-top", "-515px"), $("body.ie").css("background", "white")); e = $(".pages")[1]; $(e).css("display", "none"), /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent || $(document).width() < 600) && $("header .nav1").css("height", "80%")
    
    $(e).children("img").addClass("item-hover"), $(".productsDetails-article .swiper-slide img").hover(function () { console.log($(this).parent().parent().children(".swiper-slide ").children("img").removeClass("item-hover")), $(this).addClass("item-hover") }), $(window).width() <= 1080 && ($(".submenu").css("display", "block"), $(".submenu").parent().children("a").after('<i class="fa fa-chevron-down rotate180" aria-hidden="true"></i>'), $(".submenu").parent().css({ position: "relative" }), $(window).width() < 600 ? ($(".submenu").parent().children("i").css({ position: "absolute", top: "18px" }), $(".submenu").parent().children("a").css({ "margin-right": "20px" })) : ($(".submenu").parent().children("i").css({ position: "absolute", top: "17px", "font-size": "24px" }), $(".submenu").parent().children("a").css({ "margin-right": "30px" })), window.displaySubMenu = function (e) { }, window.hideSubMenu = function (e) { }, $(".submenu").parent().children("i").click(function () { $(this).parent().children("ul").toggle(500), $(this).toggleClass("rotate180") }))
    // 搜索页BUG

    if( $('#searchBug').length == 1 && $(window).width()>1300){
        let img = $('.searchPic')
        $('.search-box #search').text('')
        $('.search-box #search').append(img)
        $('#searchBug li').children('i').attr('class','1111111111111')
        $('#searchBug li').children('i').css('display','none !important')
    }
}();


