var AUTOWEBLOG_FirstTime='2024-04-27 13:46:24'; var AUTODOMAIN='.bitauto.com'; var AUTOREPORT_DOMAIN='ga.yiche.com'; var AUTOWEBLOG_ID='1d70769ac06d310aaa0bbac5b289e9ef'; var AUTOWEBLOG_IP=''; var AUTOWEBLOG_BACKWARD_IP=''; var XCLOGALL_IP=''; !function(n){var o={};function i(t){var e;return(o[t]||(e=o[t]={i:t,l:!1,exports:{}},n[t].call(e.exports,e,e.exports,i),e.l=!0,e)).exports}i.m=n,i.c=o,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,n){"use strict";var o=n(1),i=n(2),r=n(3),s=o(n(4)),n=window.location.protocol,a=new r.PageView({closeCb:null}),c=null,o={sdkVer:"3.0.21",verDesc:encodeURIComponent("http/https接口兼容"),reportUrl:n+"//ga.yiche.com/uat/report/pcm",sdkType:"2",isSelect:!0,businessType:"yichePcm",sourceInfo:"",osType:"",deviceModel:"",deviceBrand:"",containerType:"",pageUrl:"",prevPage:"",referrer:"",userId:"",userInfo:{},init_extend_para:{},openId:"",unionId:"",cookieId:"",userGuid:"",fingerprintId:"",sessionId:"",abTest:"",userFrom:"0",maxReportCount:100,stay_time:0,threshold:0,domainAccounts:"",clickId:"",rFailList:[],isLoaded:!1,protocol:n,isHybridSDK:!1,reportUrlMap:{dev:n+"//ga.yiche.com/uat/report/pcm",prod:n+"//ga.yiche.com/report/pcm"},eventTypeMap:{1:"$JS_PageView",2:"$JS_PageEvent",3:"$JS_PageExposure",4:"$JS_PageDurations",5:"$JS_PagePlay"},keysMap:{rFailList:"report-fail-list",rCookieId:"report-cookie-id",rSourceId:"report-source-id",rDeviceId:"report-device-id",rUserinfoId:"report-userinfo-id",rRoutesId:"report-routes-id",rInitId:"report-init-id",rSourceUrlKey:"source",rUserFromId:"report-user-from-id"},addEvents:function(t,e,n,o){t.addEventListener?t.addEventListener(e,n,o):t.attachEvent("on"+e,n)},beforeInit:function(t){void 0===t&&(t={});var e=this.keysMap.rInitId;window.localStorage.setItem(e,JSON.stringify(t)),this.businessType=t.businessType||"yichePcm"},exposureInit:function(t){var n=this,t=(void 0===t&&(t={}),console.log("exposureInit"),{threshold:t.threshold||.8,time:t.time||2e3});this.threshold=t.threshold||.8,(c=c||new s["default"](t,function(t){var e=t._time,t=t.target.getAttribute("data-exposure-extend")||{};n.sendPageExposure({time:e,data:t})})).observe(".sdk-exposure")},routerInit:function(t){void 0===t&&(t={}),this.routerExposure()},routerExposure:function(){var o=this;c&&0=options.time&&(n=t.target.getAttribute("data-exposure-extend")||{},o.sendPageExposure({time:t._time,data:n})),c.intersectionArr.splice(e,1))})},init:function(){var t=this;console.log("【SDK_ALL版本】 "+this.sdkVer),this.getHybridSDK(),this.setPageRoutes(),this.getLocalCookies(),this.getSourceByUrlParams(),this.getUserFrom(),this.setDomainCookie(),this.setCurrentCookie(),this.addEvents(window,"load",function(){setTimeout(function(){t.isLoaded||t.setBeforeEvent()},2e3)}),setTimeout(function(){t.isLoaded||t.setBeforeEvent()},5e3)},setBeforeEvent:function(){this.setPagePath(),this.DurationsBefore(),this.pageUrl=window.location.href,this.addElementEvent(),this.addTagElementEvent(),this.isLoaded=!0},DurationsBefore:function(){var e=this;a.closeCb=function(t){e.stay_time=t.stay_time,e.sendPageDurations({bury_point_type:2})}},getHybridSDK:function(){-1=o.threshold?r.intersectionArr.has(t.target)||(n=(new Date).getTime(),t.date=n,r.intersectionArr.set(t.target,t)):r.intersectionArr.has(t.target)&&(n=(new Date).getTime(),t._time=n-r.intersectionArr.get(t.target).date,t._time>=o.time&&i(t),r.intersectionArr["delete"](t.target)))})},{threshold:[o.threshold]}),window.onbeforeunload=function(t){0=o.time&&i(t),r.intersectionArr["delete"](e))})}}var e=t.prototype;return e.observe=function(t,e){var n,o=this;this.intersectionObserver&&t&&(n=[],(n=this.isDOM(t)?[t]:document.querySelectorAll(t)).length)&&n.forEach(function(t){!e&&t.__wg__tracker__exposured__||(t.__wg__tracker__exposured__=!0,console.log("observe"),o.intersectionObserver.observe(t))})},e.disconnect=function(){this.intersectionObserver&&this.intersectionObserver.disconnect()},e.isDOM=function(t){return!!t&&("object"==typeof HTMLElement?t instanceof HTMLElement:"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName)},t}()},function(t,e){!function(){"use strict";var p,n,g,f;function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(e){return null}}function c(t){this.time=t.time,this.target=t.target,this.rootBounds=i(t.rootBounds),this.boundingClientRect=i(t.boundingClientRect),this.intersectionRect=i(t.intersectionRect||o()),this.isIntersecting=!!t.intersectionRect;var t=this.boundingClientRect,t=t.width*t.height,e=this.intersectionRect,e=e.width*e.height;this.intersectionRatio=t?Number((e/t).toFixed(4)):this.isIntersecting?1:0}function t(t,e){var n,o,i,e=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(e.root&&1!=e.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i=i||setTimeout(function(){n(),i=null},o)}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(e.rootMargin),this.thresholds=this._initThresholds(e.threshold),this.root=e.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function a(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function m(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?e.width&&e.height?e:{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}:o()}function o(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function i(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function w(t,e){var n=e.top-t.top,t=e.left-t.left;return{top:n,left:t,height:e.height,width:e.width,bottom:n+e.height,right:t+e.width}}function e(t,e){for(var n=e;n;){if(n==t)return!0;n=v(n)}return!1}function v(t){var e=t.parentNode;return 9==t.nodeType&&t!=p?r(t):e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}"object"==typeof window&&("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0