PageSourceSearch

https://www-static-cdn.aionauto.co.uk/www/static/js/Default-1790664643186.a1364a18.js

js aionauto.co.uk collected 2026-10-02 15:46:37 UTC 4,445 bytes, 1 lines download raw bytes

1var u=(y,e,o)=>new Promise((r,m)=>{var L=l=>{try{c(o.next(l))}catch(_){m(_)}},C=l=>{try{c(o.throw(l))}catch(_){m(_)}},c=l=>l.done?r(l.value):Promise.resolve(l.value).then(L,C);c((o=o.apply(y,e)).next())});import{C as V,A as E,a2 as j,x as O,ab as H,aj as U,aA as q,a as P,k as x,c6 as B,v as Y,a7 as w,c7 as z,z as T,R as G,bz as J,bj as $,j as K,b as D,T as b,c8 as Q,g as W,r as X,e as Z,c9 as ee,u as I,f as te,F as ae,ca as ne,a8 as v,o as A,cb as se,cc as oe,cd as re,ce as le}from"./components-base-1790664643186.59515b75.js";import{_ as ce}from"./index.vue-1790664643186.76fdf9b0.js";const ie="/gateway/v1/www/api/base/index/topNavigationBar",ue=()=>V(ie),de="/gateway/v1/www/api/showroom/vehicle/query/queryStyleModel",pe=()=>E(de),fe="/gateway/v1/www/api/vehicle/veh-brand/listBrandBySort",ye=()=>E(fe);j();function we(){return u(this,null,function*(){const y=O();H(),U();const e=q();y.setLang(y.lang,e)})}const _e=["innerHTML"],me=P({__name:"Default",props:{error:Object},setup(y){return u(this,null,function*(){var N,M,S;let e,o;x(()=>{B()});const r=O(),{t:m}=Y();[e,o]=w(()=>we()),yield e,o();const L=z(r.trackingCodeBody),{loadDataByCookie:C}=ne(),c=y,{data:l}=([e,o]=w(()=>u(this,null,function*(){return v(()=>u(this,null,function*(){var a;if(!r.path||((a=c==null?void 0:c.error)==null?void 0:a.statusCode)===404)return null;let i=null;try{let n=yield B();n.code==="0000"&&(i=n.data)}catch(n){}return i}),"$ZY9VfkFa91")})),e=yield e,o(),e);if(r.path&&((N=c==null?void 0:c.error)==null?void 0:N.statusCode)!==404){l.value&&(r.setSite(l.value),T(()=>{var t;return{link:[{rel:"icon",type:"image/x-icon",href:(t=l.value)==null?void 0:t.icon}]}}),T({htmlAttrs:{lang:r.lang,dir:r.direction},titleTemplate:t=>`${t||"AION"} | ${l.value.title||"AION"}`,link:[{rel:"canonical",href:j().getAbsoluteRouteUrl(G(J(!0,$().fullPath)||$().fullPath))}]}));const{data:i}=([e,o]=w(()=>u(this,null,function*(){return v(()=>u(this,null,function*(){let t=yield ue(),s=[];return t.code==="0000"&&(s=t.data.list||[]),s}),"$IofiaY6yg3")})),e=yield e,o(),e);r.setColumn(i.value);const{data:a}=([e,o]=w(()=>u(this,null,function*(){return v(()=>u(this,null,function*(){var d;let t=yield oe(`?langCode=${r.lang}`,{pageNo:1,pageSize:100}),s=new Map([]);return t.code==="0000"&&(s=(d=t==null?void 0:t.data)==null?void 0:d.list),s}),"$RDOI4Td7hx")})),e=yield e,o(),e);r.setProtocolList(a.value);const{data:n}=([e,o]=w(()=>u(this,null,function*(){return v(()=>u(this,null,function*(){let t=new Map,s=[],d=yield pe();if(d.code==="0000"){s=d.data||[],(d.data||[]).forEach(p=>{if(!t.has(p.brandCode)&&p.brandCode){let h={};h.label=p.brandCode,h.code=p.seriesCode,h.children=(d.data||[]).filter(F=>h.label===F.brandCode),t.set(p.brandCode,h)}});let g=Array.from(t.values());return g.unshift({label:m("nav.all"),code:"ALL",children:(d.data||[]).filter(p=>p.brandCode)}),{list:g,carNewList:s}}else return{list:[],carNewList:[]}}),"$wX5RItaddK")})),e=yield e,o(),e);r.setCarList(((M=n.value)==null?void 0:M.list)||[]),r.setCarNewList(((S=n.value)==null?void 0:S.carNewList)||[]);const{data:f}=([e,o]=w(()=>u(this,null,function*(){return v(()=>u(this,null,function*(){let t=yield ye(),s=[];return t.code==="0000"&&(s=t.data.list||[]),s}),"$FMFVt7qYE6")})),e=yield e,o(),e);r.setBrandList(f.value||[])}const _=i=>{(function(a,n,f,t,s=null){a._genesysJs=n,a[n]=a[n]||function(){(a[n].q=a[n].q||[]).push(arguments)},a[n].t=Date.now(),a[n].c=t,s=document.createElement("script"),s.async=1,s.src=f,s.charset="utf-8",document.head.appendChild(s)})(window,"Genesys","https://apps.sae1.pure.cloud/genesys-bootstrap/genesys.min.js",{environment:"prod-sae1",deploymentId:i})};x(()=>{var i,a,n;if(C(),((i=c==null?void 0:c.error)==null?void 0:i.statusCode)!==404&&((a=l.value)==null?void 0:a.serviceType)==="1"&&(n=l.value)!=null&&n.isEnableOnlineService){let f={},t="pro";f["pt-br"]="cdbb90d0-f6eb-4572-809c-09ca963623c5";const s=location.pathname;let d="";for(const[g,p]of Object.entries(f))if(s.includes(g)){d=p;break}d&&t==="pro"&&_(d)}});const k=K(null),R=q();return R.$showModal||R.provide("showModal",i=>{var a;(a=k.value)==null||a.open(i)}),(i,a)=>{const n=re,f=le;return A(),D(ae,null,[b(Q,{"color-type":y.error?"black":"white"},null,8,["color-type"]),W("main",null,[X(i.$slots,"default")]),b(se),b(ce),b(n),(A(),Z(ee,{to:"body"},[b(f,{ref_key:"whiteListRef",ref:k},null,512)])),I(L)?(A(),D("div",{key:0,innerHTML:I(L)},null,8,_e)):te("",!0)],64)}})}});
1export{me as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.