"; if(q){i+=''+(q>99?"99+":q)+""}a.innerHTML=i}if(l){l=parseInt(l,10);var n=document.querySelector(".J-sc-hd-ms-order");if(l&&n){var i=''+(l>99?"99+":l)+"";n.innerHTML+=i}}if(d){d=parseInt(d,10);var h=document.querySelector(".J-sc-hd-ms-message");if(d&&h){var i=''+(d>99?"99+":d)+"";h.innerHTML+=i}}if(v){v=parseInt(v,10);var m=document.querySelector(".J-sc-hd-ms-cart");if(m&&v){var i=''+(v>99?"99+":v)+"";m.innerHTML+=i;t.cartCount=v}}}}}catch(p){console.error(p)}})();(function(){var b=function(){var c=document.querySelector(".sc-hd-main .sc-hd-searchbar-wrap"),d=document.querySelector(".sc-hd-main .sc-hd-m-notify"); c&&(c.style.width="calc(100% - "+(d.clientWidth+230+24)+"px)",c.style.display="block")};window.addEventListener("resize",function(){b()},!1);b()})();