var $=Object.defineProperty,W=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var R=(r,s,n)=>s in r?$(r,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[s]=n,x=(r,s)=>{for(var n in s||(s={}))A.call(s,n)&&R(r,n,s[n]);if(k)for(var n of k(s))H.call(s,n)&&R(r,n,s[n]);return r},N=(r,s)=>W(r,V(s));var M=(r,s)=>{var n={};for(var e in r)A.call(r,e)&&s.indexOf(e)<0&&(n[e]=r[e]);if(r!=null&&k)for(var e of k(r))s.indexOf(e)<0&&H.call(r,e)&&(n[e]=r[e]);return n};import{J as G,r as F,K as z,z as Q,L as U,w as X,f as C,M as Y,s as Z,N as tt,O as E}from"./entry.824e8fc7.js";const T=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function et(r,s){s?s=x(x({},T),s):s=T;const n=J(s);return n.dispatch(r),n.toString()}const rt=Object.freeze(["prototype","__proto__","constructor"]);function J(r){let s="",n=new Map;const e=t=>{s+=t};return{toString(){return s},getContext(){return n},dispatch(t){return r.replacer&&(t=r.replacer(t)),this[t===null?"null":typeof t](t)},object(t){if(t&&typeof t.toJSON=="function")return this.object(t.toJSON());const a=Object.prototype.toString.call(t);let o="";const l=a.length;l<10?o="unknown:["+a+"]":o=a.slice(8,l-1),o=o.toLowerCase();let i=null;if((i=n.get(t))===void 0)n.set(t,n.size);else return this.dispatch("[CIRCULAR:"+i+"]");if(typeof Buffer!="undefined"&&Buffer.isBuffer&&Buffer.isBuffer(t))return e("buffer:"),e(t.toString("utf8"));if(o!=="object"&&o!=="function"&&o!=="asyncfunction")this[o]?this[o](t):r.ignoreUnknown||this.unkown(t,o);else{let f=Object.keys(t);r.unorderedObjects&&(f=f.sort());let h=[];r.respectType!==!1&&!j(t)&&(h=rt),r.excludeKeys&&(f=f.filter(u=>!r.excludeKeys(u)),h=h.filter(u=>!r.excludeKeys(u))),e("object:"+(f.length+h.length)+":");const y=u=>{this.dispatch(u),e(":"),r.excludeValues||this.dispatch(t[u]),e(",")};for(const u of f)y(u);for(const u of h)y(u)}},array(t,a){if(a=a===void 0?r.unorderedArrays!==!1:a,e("array:"+t.length+":"),!a||t.length<=1){for(const i of t)this.dispatch(i);return}const o=new Map,l=t.map(i=>{const f=J(r);f.dispatch(i);for(const[h,y]of f.getContext())o.set(h,y);return f.toString()});return n=o,l.sort(),this.array(l,!1)},date(t){return e("date:"+t.toJSON())},symbol(t){return e("symbol:"+t.toString())},unkown(t,a){if(e(a),!!t&&(e(":"),t&&typeof t.entries=="function"))return this.array(Array.from(t.entries()),!0)},error(t){return e("error:"+t.toString())},boolean(t){return e("bool:"+t)},string(t){e("string:"+t.length+":"),e(t)},function(t){e("fn:"),j(t)?this.dispatch("[native]"):this.dispatch(t.toString()),r.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(t.name)),r.respectFunctionProperties&&this.object(t)},number(t){return e("number:"+t)},xml(t){return e("xml:"+t.toString())},null(){return e("Null")},undefined(){return e("Undefined")},regexp(t){return e("regex:"+t.toString())},uint8array(t){return e("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},uint8clampedarray(t){return e("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},int8array(t){return e("int8array:"),this.dispatch(Array.prototype.slice.call(t))},uint16array(t){return e("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},int16array(t){return e("int16array:"),this.dispatch(Array.prototype.slice.call(t))},uint32array(t){return e("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},int32array(t){return e("int32array:"),this.dispatch(Array.prototype.slice.call(t))},float32array(t){return e("float32array:"),this.dispatch(Array.prototype.slice.call(t))},float64array(t){return e("float64array:"),this.dispatch(Array.prototype.slice.call(t))},arraybuffer(t){return e("arraybuffer:"),this.dispatch(new Uint8Array(t))},url(t){return e("url:"+t.toString())},map(t){e("map:");const a=[...t];return this.array(a,r.unorderedSets!==!1)},set(t){e("set:");const a=[...t];return this.array(a,r.unorderedSets!==!1)},file(t){return e("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},blob(){if(r.ignoreUnknown)return e("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return e("domwindow")},bigint(t){return e("bigint:"+t.toString())},process(){return e("process")},timer(){return e("timer")},pipe(){return e("pipe")},tcp(){return e("tcp")},udp(){return e("udp")},tty(){return e("tty")},statwatcher(){return e("statwatcher")},securecontext(){return e("securecontext")},connection(){return e("connection")},zlib(){return e("zlib")},context(){return e("context")},nodescript(){return e("nodescript")},httpparser(){return e("httpparser")},dataview(){return e("dataview")},signal(){return e("signal")},fsevent(){return e("fsevent")},tlswrap(){return e("tlswrap")}}}const q="[native code] }",st=q.length;function j(r){return typeof r!="function"?!1:Function.prototype.toString.call(r).slice(-st)===q}var nt=Object.defineProperty,at=(r,s,n)=>s in r?nt(r,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[s]=n,P=(r,s,n)=>(at(r,typeof s!="symbol"?s+"":s,n),n);class v{constructor(s,n){P(this,"words"),P(this,"sigBytes"),s=this.words=s||[],this.sigBytes=n===void 0?s.length*4:n}toString(s){return(s||it).stringify(this)}concat(s){if(this.clamp(),this.sigBytes%4)for(let n=0;n<s.sigBytes;n++){const e=s.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=e<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<s.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=s.words[n>>>2];return this.sigBytes+=s.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new v([...this.words])}}const it={stringify(r){const s=[];for(let n=0;n<r.sigBytes;n++){const e=r.words[n>>>2]>>>24-n%4*8&255;s.push((e>>>4).toString(16),(e&15).toString(16))}return s.join("")}},ot={stringify(r){const s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let e=0;e<r.sigBytes;e+=3){const t=r.words[e>>>2]>>>24-e%4*8&255,a=r.words[e+1>>>2]>>>24-(e+1)%4*8&255,o=r.words[e+2>>>2]>>>24-(e+2)%4*8&255,l=t<<16|a<<8|o;for(let i=0;i<4&&e*8+i*6<r.sigBytes*8;i++)n.push(s.charAt(l>>>6*(3-i)&63))}return n.join("")}},ct={parse(r){const s=r.length,n=[];for(let e=0;e<s;e++)n[e>>>2]|=(r.charCodeAt(e)&255)<<24-e%4*8;return new v(n,s)}},ut={parse(r){return ct.parse(unescape(encodeURIComponent(r)))}};class lt{constructor(){P(this,"_data",new v),P(this,"_nDataBytes",0),P(this,"_minBufferSize",0),P(this,"blockSize",512/32)}reset(){this._data=new v,this._nDataBytes=0}_append(s){typeof s=="string"&&(s=ut.parse(s)),this._data.concat(s),this._nDataBytes+=s.sigBytes}_doProcessBlock(s,n){}_process(s){let n,e=this._data.sigBytes/(this.blockSize*4);s?e=Math.ceil(e):e=Math.max((e|0)-this._minBufferSize,0);const t=e*this.blockSize,a=Math.min(t*4,this._data.sigBytes);if(t){for(let o=0;o<t;o+=this.blockSize)this._doProcessBlock(this._data.words,o);n=this._data.words.splice(0,t),this._data.sigBytes-=a}return new v(n,a)}}class ft extends lt{update(s){return this._append(s),this._process(),this}finalize(s){s&&this._append(s)}}var ht=Object.defineProperty,dt=(r,s,n)=>s in r?ht(r,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[s]=n,yt=(r,s,n)=>(dt(r,typeof s!="symbol"?s+"":s,n),n);const K=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],gt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],O=[];class pt extends ft{constructor(){super(...arguments),yt(this,"_hash",new v([...K]))}reset(){super.reset(),this._hash=new v([...K])}_doProcessBlock(s,n){const e=this._hash.words;let t=e[0],a=e[1],o=e[2],l=e[3],i=e[4],f=e[5],h=e[6],y=e[7];for(let u=0;u<64;u++){if(u<16)O[u]=s[n+u]|0;else{const d=O[u-15],p=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,c=O[u-2],g=(c<<15|c>>>17)^(c<<13|c>>>19)^c>>>10;O[u]=p+O[u-7]+g+O[u-16]}const b=i&f^~i&h,B=t&a^t&o^a&o,S=(t<<30|t>>>2)^(t<<19|t>>>13)^(t<<10|t>>>22),w=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),m=y+w+b+gt[u]+O[u],_=S+B;y=h,h=f,f=i,i=l+m|0,l=o,o=a,a=t,t=m+_|0}e[0]=e[0]+t|0,e[1]=e[1]+a|0,e[2]=e[2]+o|0,e[3]=e[3]+l|0,e[4]=e[4]+i|0,e[5]=e[5]+f|0,e[6]=e[6]+h|0,e[7]=e[7]+y|0}finalize(s){super.finalize(s);const n=this._nDataBytes*8,e=this._data.sigBytes*8;return this._data.words[e>>>5]|=128<<24-e%32,this._data.words[(e+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(e+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function mt(r){return new pt().finalize(r).toString(ot)}function I(r,s={}){const n=typeof r=="string"?r:et(r,s);return mt(n).slice(0,10)}const _t=()=>null;function xt(...r){var u,b,B,S,w,m,_;const s=typeof r[r.length-1]=="string"?r.pop():void 0;typeof r[0]!="string"&&r.unshift(s);let[n,e,t={}]=r;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof e!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");t.server=(u=t.server)!=null?u:!0,t.default=(b=t.default)!=null?b:_t,t.lazy=(B=t.lazy)!=null?B:!1,t.immediate=(S=t.immediate)!=null?S:!0;const a=G(),o=()=>a.isHydrating?a.payload.data[n]:a.static.data[n],l=()=>o()!==void 0;a._asyncData[n]||(a._asyncData[n]={data:F((_=(m=o())!=null?m:(w=t.default)==null?void 0:w.call(t))!=null?_:null),pending:F(!l()),error:F(a.payload._errors[n]?z(a.payload._errors[n]):null)});const i=x({},a._asyncData[n]);i.refresh=i.execute=(d={})=>{if(a._asyncDataPromises[n]){if(d.dedupe===!1)return a._asyncDataPromises[n];a._asyncDataPromises[n].cancelled=!0}if(d._initial&&l())return o();i.pending.value=!0;const p=new Promise((c,g)=>{try{c(e(a))}catch(D){g(D)}}).then(c=>{if(p.cancelled)return a._asyncDataPromises[n];let g=c;t.transform&&(g=t.transform(c)),t.pick&&(g=wt(g,t.pick)),i.data.value=g,i.error.value=null}).catch(c=>{var g,D;if(p.cancelled)return a._asyncDataPromises[n];i.error.value=c,i.data.value=C((D=(g=t.default)==null?void 0:g.call(t))!=null?D:null)}).finally(()=>{p.cancelled||(i.pending.value=!1,a.payload.data[n]=i.data.value,i.error.value&&(a.payload._errors[n]=z(i.error.value)),delete a._asyncDataPromises[n])});return a._asyncDataPromises[n]=p,a._asyncDataPromises[n]};const f=()=>i.refresh({_initial:!0}),h=t.server!==!1&&a.payload.serverRendered;{const d=Y();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const c=d._nuxtOnBeforeMountCbs;d&&(Q(()=>{c.forEach(g=>{g()}),c.splice(0,c.length)}),U(()=>c.splice(0,c.length)))}h&&a.isHydrating&&l()?i.pending.value=!1:d&&(a.payload.serverRendered&&a.isHydrating||t.lazy)&&t.immediate?d._nuxtOnBeforeMountCbs.push(f):t.immediate&&f(),t.watch&&X(t.watch,()=>i.refresh());const p=a.hook("app:data:refresh",c=>{if(!c||c.includes(n))return i.refresh()});d&&U(p)}const y=Promise.resolve(a._asyncDataPromises[n]).then(()=>i);return Object.assign(y,i),y}function wt(r,s){const n={};for(const e of s)n[e]=r[e];return n}function bt(r,s,n){const[e={},t]=typeof s=="string"?[{},s]:[s,n],a=e.key||I([t,C(e.baseURL),typeof r=="string"?r:"",C(e.params||e.query)]);if(!a||typeof a!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+a);if(!r)throw new Error("[nuxt] [useFetch] request is missing.");const o=a===t?"$f"+a:a,l=Z(()=>{let c=r;return typeof c=="function"&&(c=c()),C(c)}),p=e,{server:i,lazy:f,default:h,transform:y,pick:u,watch:b,immediate:B}=p,S=M(p,["server","lazy","default","transform","pick","watch","immediate"]),w=tt(N(x({},S),{cache:typeof e.cache=="boolean"?void 0:e.cache})),m={server:i,lazy:f,default:h,transform:y,pick:u,immediate:B,watch:[w,l,...b||[]]};let _;return xt(o,()=>{var g;return(g=_==null?void 0:_.abort)==null||g.call(_),_=typeof AbortController!="undefined"?new AbortController:{},typeof l.value=="string"&&l.value.startsWith("/"),(e.$fetch||globalThis.$fetch)(l.value,x({signal:_.signal},w))},m)}const L=(r,s)=>{var _,d;if(E()!=="production")return;const{url:n,method:e,params:t,body:a,query:o}=s,l=navigator.userAgent,i=window.location.href||"",f=()=>{const p=window.localStorage;let c=p.getItem("car_model_pc_uuid");return c||(c="xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,g=>{const D=Math.random()*16|0;return(g==="x"?D:D&3|8).toString(16)}),p.setItem("car_model_pc_uuid",c)),c},h=(r==null?void 0:r.code)||(r==null?void 0:r.status)||1e5,y=((_=r==null?void 0:r.data)==null?void 0:_.message)||(r==null?void 0:r.message)||((d=r==null?void 0:r._data)==null?void 0:d.message)||"",u={uuid:f(),userAgent:l,page:i,url:n||(r==null?void 0:r.url)||"url为空",status:h,message:y,method:e,params:t||o||a||{},response:r};if(u.url.includes("/qd/news/priceTrend.xsp")&&h===91)return;const b="car-model-pc-logs",B="车型库PC",S=`https://pcauto-c-front-logs.cn-shanghai.log.aliyuncs.com/logstores/${b}/track`,w={__logs__:[{info:JSON.stringify(u)}],__topic__:"错误日志",__source__:B},m=new XMLHttpRequest;m.open("POST",S,!0),m.setRequestHeader("Content-Type","application/x-protobuf; charset=utf-8"),m.setRequestHeader("x-log-apiversion","0.6.0"),m.setRequestHeader("x-log-bodyrawsize","53421"),m.send(JSON.stringify(w)),m.onload=p=>{},m.onerror=p=>{}},Bt=(r,s)=>{const n=E()==="production",e=I(JSON.stringify(s)+r);return bt(r,N(x({key:e,onResponse({request:t,response:a,options:o}){var f,h;let l=a._data;if(!((s==null?void 0:s.judgeIsSuccess)||(y=>(y==null?void 0:y.code)===200))(l))throw L(a,x({url:r},s)),((f=a._data)==null?void 0:f.code)===404?z({statusCode:404,message:((h=a._data)==null?void 0:h.message)||"Page Not Found"}):z({statusCode:10001,message:"判断响应成功失败！"})},onResponseError({request:t,response:a,options:o}){if(L(a,x({url:r},o)),n&&!1)try{}catch(l){}}},s||{}),{transform(t){let a=t;if(typeof t=="string")try{a=JSON.parse(t)}catch(o){a=t}return s!=null&&s.returnRawData||(a=a.data),s!=null&&s.transform?s==null?void 0:s.transform(a):a}}),"$uQCmsBYagJ")},Ot=(r,s={},n={})=>Bt(r,x({query:s},n));export{Ot as u};
