1import{j as c,m as p}from"./chunk-DUNKPRHK.js";import{a as u}from"./chunk-F6BJ4PYD.js";import{C as n,aa as s,fa as i,qa as a}from"./chunk-UNWOG4YV.js";var l=class r{router=i(p);destroyRef=i(a);previousUrl;currentUrl;constructor(){this.currentUrl=this.router.url,this.router.events.pipe(n(t=>t instanceof c),u(this.destroyRef)).subscribe(t=>{this.previousUrl=this.currentUrl,this.currentUrl=t.url})}getPreviousUrl(){return this.previousUrl}createSeoFriendlyUrl(t,e){let o=new URL(t),m=o.pathname.split("/").filter(f=>f.length>0)[1],h=o.searchParams.get("id"),d=e.tt_name.replace(/[_\W]+/g,"-").toLowerCase();return`http://${o.host}/products/${m}/${d}`}static \u0275fac=function(e){return new(e||r)};static \u0275prov=s({token:r,factory:r.\u0275fac,providedIn:"root"})};export{l as a}; 2/**i18n:9329bb7fbf100b7bae35e37bb015b70e55486adb3449bfabeaea9a1e68803427*/
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.