1import{Q as f,v as c,O as h}from"./analytics.BV5f9B0N.js";import{aX as m}from"./vue-core.BcGShZEc.js";import"./nuxt-core._ZaFvyP7.js";const p=()=>{},$=f(async e=>{let t,s;const l=e.path.match(/^\/knowledge-base\/detail\/([^/]+)\/.+$/);if(l)return c(`/knowledge-base/detail/${l[1]}`,{});const n=e.path.match(/^\/faqs\/detail\/([^/]+)\/.+$/);if(n)return c(`/faqs/detail/${n[1]}`,{});const r=e.params.slug,i=Array.isArray(r)?r[0]:r;if(i)try{const a=([t,s]=h(()=>$fetch("/salesforce/article",{method:"GET",params:{articleName:i}})),t=await t,s(),t),d=m(`kb-article-prefetch:${e.fullPath}`,()=>null);d.value=a;const o=typeof a?.data?.urlName=="string"&&a.data.urlName.length>0?a.data.urlName:null;if(a?.shouldCanonicalRedirect&&o){const u=e.path.replace(/\/detail\/[^/?#]+/,`/detail/${o}`);return p(),c({path:u,query:e.query},{redirectCode:301,replace:!0})}}catch{}});export{$ 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.