1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f2514f31-73f7-5a23-948f-56081ce16f61")}catch(e){}}(); 3import {b,y}from'./chunk-HkWlSU3L.js';import {j as jM,b$ as rn,P as d,I as Ia,Q as Qx,p as bf,J as JN,C as X_,X as XN,v,f as bn,u as nx,s as yx,G as rx,M as bD,D as TD,O as rE,N as Af,q as _D}from'./main-CAjEjBVh.js';import {l}from'./chunk-XApU2rQR.js';import'./chunk-YA-QRxSh.js';var u=(t,e)=>e.id;function T(t,e){t&1&&_D(0,"tm-loading-spinner");}function G(t,e){if(t&1&&(Ia(0,"a",7),Qx(1),bf()),t&2){let i=e.$implicit;TD("routerLink",i.route),X_(),Af(" Salary trends in ",i.name," ");}}function w(t,e){if(t&1&&(Ia(0,"a",6),Qx(1),bf(),nx(2,G,2,2,"a",7,u)),t&2){let i=e.$implicit;TD("routerLink",i.route),X_(),Af(" Salary trends in ",i.name," "),X_(),rx(i.children);}}function D(t,e){if(t&1&&(Ia(0,"a",6),Qx(1),bf()),t&2){let i=e.$implicit;TD("routerLink",i.route),X_(),Af(" Salary trends in ",i.name," ");}}function E(t,e){if(t&1&&(Ia(0,"section",2)(1,"h2",3)(2,"a",4),Qx(3),bf()(),Ia(4,"div",5)(5,"a",6),Qx(6),bf(),nx(7,w,4,2,null,null,u),nx(9,D,2,2,"a",6,u),bf()()),t&2){let i=e.$implicit;bD("aria-labelledby",i.headingId),X_(),TD("id",i.headingId),X_(),TD("routerLink",i.route),X_(),rE(i.name),X_(2),TD("routerLink",i.route),X_(),Af(" Salary trends in ",i.name," "),X_(),rx(i.subcategories),X_(2),rx(i.roles);}}function $(t,e){if(t&1&&nx(0,E,11,6,"section",2,u),t&2){let i=yx();rx(i.sections());}}var H=(()=>{let e=class e{constructor(){this._taxonomyService=v(b),this._metaDataFacade=v(l),this.isLoading=this._taxonomyService.taxonomy.isLoading,this.sections=bn(()=>this._taxonomyService.categories().map(o=>({id:o.categoryId,name:o.categoryName,route:y(o.canonicalPath),headingId:`salary-guide-category-${o.categoryId}`,subcategories:F(o.subcategories),roles:I(o)}))),this._metaDataFacade.updateMetaData({title:"Browse All Salary Guides | Trade Me Jobs",description:"Browse salary guides by job category, subcategory and role on Trade Me Jobs.",noPostfix:true});}};e.\u0275fac=function(p){return new(p||e)},e.\u0275cmp=jM({type:e,selectors:[["tm-salary-guide-links"]],decls:5,vars:1,consts:[[1,"tm-salary-guide-links","l-container"],[1,"tm-salary-guide-links__title"],[1,"tm-salary-guide-links__section"],[1,"tm-salary-guide-links__category-heading",3,"id"],[3,"routerLink"],[1,"tm-salary-guide-links__links"],[1,"tm-salary-guide-links__link",3,"routerLink"],[1,"tm-salary-guide-links__link","tm-salary-guide-links__link--child",3,"routerLink"]],template:function(p,O){p&1&&(Ia(0,"div",0)(1,"h1",1),Qx(2,"Browse All Salary Guides"),bf(),JN(3,T,1,0,"tm-loading-spinner")(4,$,2,0),bf()),p&2&&(X_(3),XN(O.isLoading()?3:4));},dependencies:[rn,d],styles:[".tm-salary-guide-links[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:48px}@media(min-width:1024px){.tm-salary-guide-links[_ngcontent-%COMP%]{padding-top:32px}}.tm-salary-guide-links__title[_ngcontent-%COMP%]{font-weight:700;line-height:32px;font-size:24px;margin-bottom:24px}.tm-salary-guide-links__section[_ngcontent-%COMP%]{margin-bottom:24px}.tm-salary-guide-links__category-heading[_ngcontent-%COMP%]{font-weight:500;font-size:1rem;line-height:20px;margin:0 0 8px}.tm-salary-guide-links__category-heading[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#2f2c28}.tm-salary-guide-links__links[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:8px}@media(min-width:768px){.tm-salary-guide-links__links[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.tm-salary-guide-links__links[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}.tm-salary-guide-links__link[_ngcontent-%COMP%]{color:#007acd;font-size:.875rem;line-height:20px}.tm-salary-guide-links__link--child[_ngcontent-%COMP%]{padding-left:16px}"]});let t=e;return t})();function F(t){return (t??[]).flatMap(e=>[{id:e.categoryId,name:e.categoryName,route:y(e.canonicalPath),children:I(e)},...F(e.subcategories)])}function I(t){return (t.roles??[]).map(e=>({id:e.roleId,name:e.roleName,route:y(e.canonicalPath)}))}export{H as SalaryGuideLinksComponent};//# sourceMappingURL=salary-guide-links.component-Ba7wiclk.js.map 4 5//# debugId=f2514f31-73f7-5a23-948f-56081ce16f61
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.