'+e.name+'
'+e.price+"
"}),t+=""),this.asideContentDom.innerHTML=this.asideContentDom.innerHTML+t,yicheUtils.initLazyLoad()},showToolBox:function(e){var t='",this.asideContentDom.innerHTML=this.asideContentDom.innerHTML+t},showLocationBox:function(e){var e=e+"-box",i=document.createElement("div");i.setAttribute("id",e),this.asideContentDom.appendChild(i),this.city=new City({el:"#"+e,city_id:this.location.cityId,style:{border:"none","border-top":"1px solid #ccc","box-sizing":"border-box","box-shadow":"0 0 0"},width:"235px",height:"98%",show_search:!1,show_near:!1,componentLoadedCb:function(){this.show()}})},showFeedBackDialog:function(e){this.oUser.userId?this.feedbackInstance.show():window.location.href="https://accionvegana.org/accio/ANy02bj5SZoNWa55Sa6MHc0/authenservice/login.html?returnurl="+encodeURIComponent(window.location.href)},showCustomBox:function(a){var n=this;n.topMenuList.concat(n.bottomMenuList).forEach(function(e){var i,t;e.id==a&&(i=a+"-box",(t=document.createElement("div")).setAttribute("id",i),n.asideContentDom.appendChild(t),e.callback)&&e.callback(i)})},jumpMine:function(){this.oUser.userId?window.open("https://i.yiche.com/u"+this.oUser.userId):window.location.href="https://accionvegana.org/accio/ANy02bj5SZoNWa55Sa6MHc0/authenservice/login.html?returnurl="+encodeURIComponent(window.location.href)},docScrollTop:function(){var t=(document.body.scrollTop||document.documentElement.scrollTop)/10,a=s.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},n=s.cancelAnimationFrame||clearTimeout,o=this;!function i(){n(o.scrollTimer),o.scrollTimer=a(function(){var e=document.body.scrollTop||document.documentElement.scrollTop;0 '+e.name+" ","bottom"==i?(this.bottomMenuList.unshift(e),n("#ycc-asideFooterContainer").innerHTML=t+n("#ycc-asideFooterContainer").innerHTML):(this.topMenuList.push(e),n("#ycc-asideHeaderContainer").innerHTML=n("#ycc-asideHeaderContainer").innerHTML+t)},getAiEntrance:function(){var t=this;s.yicheUtils.yicheAxios.apiGetData({url:"https://mhapi.yiche.com/hcar/h_car/api/v1/user/get_ai_entrance"},function(e){if("1"==e.status&&e.data&&e.data.entrance){var e=e.data,i={id:"ycc-asideAi",classname:"ycc-aside-ai",name:e.aiName||"易车AI",type:1,ctitle:"yicheai",link:"https://ai.yiche.com/pc/"},e=e.icon||"static1.bitautoimg.com/yc-common/imgs/icon.png",i=(t.addAsideMenu(i,"top"),n("#ycc-asideAi i").style.background="url("+e+") 8px 8px/24px 24px no-repeat",{cttitle:"yicheai",opav:"11.0.0"});if(l=l||s._YC_&&s._YC_.stat,!r){if(!s.Stat)return;r=new Stat({})}l&&l.lg_vl&&l.lg_vl.ptitle&&(l.base||(l.base={}),l.yc_log||(l.yc_log={}),l.base.ltype="content",i=s.yicheUtils.extend({cttitle:i.cttitle,opav:i.opav||""},l.lg_vl),r({base:l.base,yc_log:l.yc_log,lg_vl:i}))}})},updateUserInfo:function(e){var i;e.userId&&(this.oUser.userName=e.showName,this.oUser.userId=e.userId,this.getAiEntrance(),i=s.yicheUtils.getCookie("csids"),e=s.yicheUtils.getCookie("oldcsids"),0!==(i||"").replace(/_+/gi,",").length)&&i&&i!=e&&(e=this.getNotEqualString(i,e))&&s.yicheUtils.yicheAxios.apiPostData({url:"https://mapi.yiche.com/web_api/car_model_api/api/v1/footprint/add_footprint",data:{type:1,id:e}},function(e){s.yicheUtils.setCookie("oldcsids",i,525600,".yiche.com","https://accionvegana.org/accio/QjMt92YuUGajlWeu8GdvhGc6MHc0/")})},getNotEqualString:function(e,i){var t,a,n;return e&&i?(t=e.split("_"),a=i.split("_"),n=[],t.forEach(function(e){-1==a.indexOf(e)&&e&&n.push(e)}),n.join(",")):e?e.replace(/_+/g,","):""}}).init()}(window)