PageSourceSearch

https://www.webcar.eu/assets/pages.cda12029.js

js webcar.eu collected 2026-10-10 01:41:39 UTC 3,908 bytes, 1 lines download raw bytes

1var P=Object.defineProperty;var A=(a,n,l)=>n in a?P(a,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[n]=l;var u=(a,n,l)=>(A(a,typeof n!="symbol"?n+"":n,l),l);import{l as o}from"./vendor.3765fd31.js";import{h as b}from"./vehicleNavigationOverlay.700ee384.js";const U={install(a,n){class l{constructor(e,t,s,i){var g,h,r,p,d,c,m,f;this.pageTitle=e.pageTitle,this.metaTitle=e.metaTitle,this.metaDescription=e.metaDescription,this.metaImage=e.metaImage,this.paths=e.paths,this.availableAtSites=e.availableAtSites,this.isIndexingDisabled=e.isIndexingDisabled,this.isAdBotIndexingDisabled=(g=e.isAdBotIndexingDisabled)!=null?g:!1,this.isCacheControlDisabled=(h=e.isCacheControlDisabled)!=null?h:!1,this.isBladeOnly=(r=e.isBladeOnly)!=null?r:!1,this.googlebot=(p=e.googlebot)!=null?p:null,this.slugConstraints=(d=e.slugConstraints)!=null?d:{},this.hasDynamicMeta=(c=e.hasDynamicMeta)!=null?c:!1,this.requiresAuth=(m=e.requiresAuth)!=null?m:!1,this.showMobileFirst=(f=e.showMobileFirst)!=null?f:!1,this.languageCode=s,this.onlyIncludedParametersInAlternateUrl=e.onlyIncludedParametersInAlternateUrl,this.excludedParametersFromAlternateUrl=e.excludedParametersFromAlternateUrl,this.appUrl=i,this.siteId=t}allPaths(){return this.paths}path(e=this.siteId,t=this.languageCode){return b.methods.enforceFullUrl(this.appUrl,this.pathAtSite(e,t))}pathForLanguage(e){return this.paths[e]}pathAtSite(e,t){let s=e;return typeof e=="object"&&e!==null&&(s=e.id),this.pathForLanguage(t).replace(/^\/[a-z]{2}-/,"/"+s+"-")}isAvailableAtSite(e){return this.availableAtSites.includes(e)}metaInfo(){return{title:this.pageTitle,meta:[{name:"title",content:this.metaTitle},{name:"description",content:this.metaDescription},{vmid:"ogTitle",property:"og:title",content:this.metaTitle},{vmid:"ogDescription",property:"og:description",content:this.metaDescription},{vmid:"ogImage",property:"og:image",content:this.metaImage}]}}}class I{constructor(e){u(this,"pageInstances",[]);u(this,"languageCode","en");u(this,"appUrl","");this.loadPages(e)}async loadPages(e){!e||(typeof e.appUrl<"u"&&(this.appUrl=e.appUrl),typeof e.currentLanguage<"u"&&(this.languageCode=e.currentLanguage.code),typeof e.currentSite<"u"&&(this.siteId=e.currentSite.id),this.pageInstances=o.exports.zipObject(o.exports.keys(e.pages),o.exports.map(e.pages,t=>new l(t,this.siteId,this.languageCode,this.appUrl))))}get(e){var t;return(t=this.pageInstances[e])!=null?t:null}getSiteId(){return this.siteId}getLanguageCode(){return this.languageCode}getAppUrl(){return this.appUrl}normalizeToPathname(e){if(!e||typeof e!="string")return"";const t=e.trim();if(/^https?:\/\//i.test(t))try{return new URL(t).pathname||"/"}catch{return t}const s=t.split("?")[0].split("#")[0];return s.startsWith("/")?s:`/${s}`}isBladeOnlyPath(e){if(!e)return!1;const t=this.normalizeToPathname(e);return!!o.exports.find(this.pageInstances,s=>s.isBladeOnly&&t.startsWith(s.path()))}findByPath(e){const t=this.normalizeToPathname(e),s=this.getPathSegments(t);return o.exports.find(this.pageInstances,i=>!!o.exports.find(i.paths,g=>{const h=this.normalizeToPathname(g);if(h===t)return!0;const r=this.getPathSegments(h);return r.length!==s.length||this.completeDynamicPathSegments([...r],s).join("/")!==s.join("/")?!1:this.slugConstraintsMatch(r,s,i.slugConstraints)}))}slugConstraintsMatch(e,t,s){return!s||Object.keys(s).length===0?!0:e.every((i,g)=>{if(!i.startsWith("{")||!i.endsWith("}"))return!0;const h=i.slice(1,-1).replace(/\?$/,""),r=s[h];if(!r)return!0;const p=t[g];return p!==void 0&&new RegExp("^(?:"+r+")$").test(p)})}overrideMetaInformation(e,t){a.set(this.pageInstances,e,new l(t,this.getSiteId(),this.getLanguageCode(),this.getAppUrl()))}getPathSegments(e){return o.exports.filter(e.split("/"),t=>t!=="")}completeDynamicPathSegments(e,t){return e.forEach((s,i)=>{s!==t[i]&&s.startsWith("{")&&s.endsWith("}")&&(e[i]=t[i])}),e}}a.prototype.$pages=new I(n)}};export{U as P};

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.