PageSourceSearch

https://www.canstar.com.au/chunk-MSLUJNRZ.js

js canstar.com.au collected 2026-10-02 04:00:48 UTC 1,831 bytes, 1 lines download raw bytes

1import{a as R}from"./chunk-4BZ2255L.js";import{g as S}from"./chunk-5CRRRTRQ.js";import{a as M}from"./chunk-J2FK7LHM.js";import{l as g}from"./chunk-A2OTBGMY.js";import{ba as d,da as j,ea as y}from"./chunk-JJPZDSOO.js";var B=(()=>{class r{addRedirects(t){return t=t.filter(o=>o.status==="enabled"),{matcher:(o,f,n)=>{let c;if(o&&o.length>0&&o[0].path!==""){let m=`/${o.join("/")}`;if(S.getRedirectMatch(t,m)&&(c=o),c)return{consumed:c}}},component:R}}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=d({token:r,factory:r.\u0275fac})}}return r})();var I=new j("SITEMAP_MODULES_TOKEN");var x=(r,i)=>{let t=[],e=r.filter((o,f)=>i(o)&&t.push(f));return t.reverse().forEach(o=>r.splice(o,1)),e};var w=(r,i,t=null)=>(t&&i>t&&([t,i]=[i,t]),t==null?r>=0&&r<i:r>=i&&r<t);var H=(()=>{class r{constructor(t,e){this.logger=t,this.modules=e}addSitemapRoutes(t){let e=[];return Object.entries(this.modules).forEach(([o,f])=>{if(t[o]){let n=this.getUrlMatcher(t[o]);e.push({matcher:n,loadChildren:this.modules[o]})}else this.logger.logWarn(`Unhandled sitemap group - ${o}`)}),e}getUrlMatcher(t){return(e,o,f)=>{let n;if(e.length>0&&e[0].path!==""){let c=g(`${e.join("/").split("%23")[0]}`),m=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/;if(t.find(a=>{let s=m.exec(a);if(s&&s[3])return g(s[3])===c}))n=e,e[e.length-1].path===""&&(n=e.slice(0,e.length-1));else{let a=[];if(t.forEach(s=>{let l=s.match(m);if(l&&l[3]){let u=g(l[3]);u.length>1&&c.startsWith(u)&&a.push(u)}}),a.length>0){let s=a.reduce((h,E)=>E.length>h.length?E:h),l=x(c.split("/"),h=>h),u=x(s.split("/"),h=>h),p=l.length;p=l[p-2]==="page"?p-1:p,n=e.slice(0,p-u.length)}}}return n?{consumed:n}:null}}static{this.\u0275fac=function(e){return new(e||r)(y(M),y(I))}}static{this.\u0275prov=d({token:r,factory:r.\u0275fac})}}return r})();export{w as a,B as b,I as c,H as d};

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.