PageSourceSearch

https://www.tax-free.no/chunk-DZDJGXDK.js

js tax-free.no collected 2026-10-06 15:02:42 UTC 12,422 bytes, 1 lines download raw bytes

1import{a as E}from"./chunk-IFXFOH6A.js";import{a as le}from"./chunk-QMUYHL4Q.js";import{a as se,b as de}from"./chunk-SEXALJXL.js";import{a as ce}from"./chunk-JRFWOYYF.js";import"./chunk-3SDC52M5.js";import"./chunk-4KNFSRE5.js";import"./chunk-YMDDGZ5U.js";import"./chunk-3OL3GXBR.js";import"./chunk-4DAUCYCB.js";import"./chunk-XUPYV42H.js";import"./chunk-7EDV3FYO.js";import"./chunk-OBUWOHWX.js";import"./chunk-KUHFH43V.js";import"./chunk-UNHUUWFF.js";import"./chunk-7OWGJP2F.js";import"./chunk-OT5BIL5I.js";import{a as oe}from"./chunk-CIDLE6M4.js";import{a as ae}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import{g as ie}from"./chunk-3OSB33KW.js";import"./chunk-DL3JVWPO.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import"./chunk-A3QLZGQA.js";import{lb as z,nb as re,pb as pe}from"./chunk-LJH5OBMW.js";import{Eb as l,F as R,Fc as D,Gb as c,Gc as K,Ge as A,Hb as V,Jb as W,Jc as a,Kb as G,Kc as p,Lb as T,Lc as w,Mb as d,Mh as H,Nb as m,Nh as B,Ob as h,Pa as F,Pc as X,Pd as Z,Q as U,Tc as Y,V as I,Zb as f,cb as i,da as Q,ga as k,mc as C,nc as O,nd as S,o as j,ob as y,oc as N,pb as M,pc as J,ph as te,ra as b,rh as ne,sb as q,se as ee,u as P,ua as u,v as $,vc as x,wc as _,xc as s}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";function be(e,r){if(e&1&&(h(0,"trn-breadcrumb",0),a(1,"cxTranslate")),e&2){f();let t=s(0),n=s(2);T("crumbs",t)("type",n)("ariaLabel",p(1,3,"common.breadcrumb_navigation"))}}var ge=(()=>{class e extends pe{cmsService=u(te);translationService=u(ne);breadcrumbAdapter=u(se);page$=this.cmsService.getCurrentPage();pageType$=this.page$.pipe(P(t=>de.isProductPage(t)?"product-page":""));ngOnInit(){super.ngOnInit(),this.crumbs$=this.page$.pipe(k(t=>{switch(t?.type){case"TrnArticlePage":return this.setHelpPageCrumbs(t);case"ContentPage":return this.setContentPageCrumbs(t);default:return this.setDefaultCrumbs()}}))}setHelpPageCrumbs(t){return $([this.breadcrumbAdapter.getBreadcrumb$(t.label,"TrnArticlePage"),this.translationService.translate("common.home")]).pipe(P(([n,o])=>[{label:o,link:"/"},...n]))}setContentPageCrumbs(t){return t?.label?.startsWith("/tips-og-trender/kategori")?this.setArticleCategoryPageCrumbs(t?.pageContextCode,t?.pageContextName):this.setDefaultCrumbs()}setArticleCategoryPageCrumbs(t,n){return $([this.translationService.translate("article.article_listing_page"),this.translationService.translate("common.home")]).pipe(P(([o,g])=>{let v=[this.createCrumb("/",g),this.createCrumb("/tips-og-trender",o)];return t&&n&&v.push(this.createCrumb("/tips-og-trender/kategori/"+t,n)),v}))}createCrumb(t,n){return{label:n,link:t}}setDefaultCrumbs(){return $([this.page$,this.translationService.translate("common.home")]).pipe(I(),P(([t,n])=>[{label:n,link:"/"},{label:t?.title,link:t?.label}]))}static \u0275fac=(()=>{let t;return function(o){return(t||(t=F(e)))(o||e)}})();static \u0275cmp=y({type:e,selectors:[["trn-cms-help-page-breadcrumb"]],features:[q],decls:5,vars:7,consts:[[3,"crumbs","type","ariaLabel"]],template:function(n,o){if(n&1&&(x(0),a(1,"async"),x(2),a(3,"async"),l(4,be,2,5,"trn-breadcrumb",0)),n&2){let g=_(p(1,1,o.crumbs$));i(2);let v=_(p(3,4,o.pageType$));i(2),c(g&&typeof v=="string"?4:-1)}},dependencies:[B,ce,S,H],styles:["[_nghost-%COMP%]{display:flex;padding-top:24px;padding-bottom:16px}@media all and (min-width:992px){[_nghost-%COMP%]{padding-top:48px}}"]})}return e})();var ue=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=M({type:e});static \u0275inj=b({providers:[A({cmsComponents:{TrnHelpPageBreadcrumbComponent:{component:ge}}})]})}return e})();var ye=e=>({article:e});function Me(e,r){if(e&1&&(d(0,"h3",1),C(1),m()),e&2){f(2);let t=s(0);i(),O(t.title)}}function ve(e,r){if(e&1&&(d(0,"p",2),C(1),m()),e&2){f(2);let t=s(0);i(),O(t.description)}}function Te(e,r){if(e&1&&(h(0,"trn-link",3),a(1,"cxTranslate"),a(2,"cxTranslate")),e&2){f(2);let t=s(0);T("ariaLabel",w(1,3,"link_labels.read_article",D(8,ye,t.title)))("label",p(2,6,"common.got_to_page"))("url",t.url)}}function Le(e,r){if(e&1&&(d(0,"article",0),l(1,Me,2,1,"h3",1),l(2,ve,2,1,"p",2),l(3,Te,3,10,"trn-link",3),m()),e&2){f();let t=s(0);i(),c(t.title?1:-1),i(),c(t.description?2:-1),i(),c(t.url?3:-1)}}var fe=(()=>{class e{articleDataMapperService=u(le);article=Y();articleData=X(()=>
1this.article()?this.articleDataMapperService.map(this.article()):null);static \u0275fac=function(n){return new(n||e)};static \u0275cmp=y({type:e,selectors:[["trn-help-page-article-card"]],inputs:{article:[1,"article"]},decls:2,vars:2,consts:[[1,"article"],[1,"heading"],[1,"description"],["icon","arrow_forward","iconPlacement","icon-right",3,"ariaLabel","label","url"]],template:function(n,o){if(n&1&&(x(0),l(1,Le,4,3,"article",0)),n&2){let g=_(o.articleData());i(),c(g?1:-1)}},dependencies:[ae,B,H],styles:[".article[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1);border-radius:12px;padding:15px}.heading[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.heading[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.heading[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.heading[_ngcontent-%COMP%]{margin-bottom:8px}.description[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}.description[_ngcontent-%COMP%]{margin-bottom:16px}"]})}return e})();var Oe=(e,r)=>({count:e,query:r}),he=e=>({count:e});function we(e,r){if(e&1&&(C(0),a(1,"cxTranslate")),e&2){let t=r;N(" ",w(1,1,"refinement.results_announcement",K(4,Oe,t.count,t.query))," ")}}function Se(e,r){if(e&1&&(d(0,"li"),h(1,"trn-help-page-article-card",6),m()),e&2){let t=r.$implicit;i(),T("article",t)}}function Ae(e,r){if(e&1&&(d(0,"ul",3),W(1,Se,2,1,"li",null,V),m()),e&2){f();let t=s(5);i(),G(t)}}function He(e,r){if(e&1&&(d(0,"div",4)(1,"p",7),C(2),a(3,"cxTranslate"),m(),h(4,"trn-button",8),a(5,"cxTranslate"),a(6,"async"),m()),e&2){let t=f(2),n=s(0),o=s(2);i(2),J(" 0 - ",o," ",w(3,7,"refinement.of_articles",D(14,he,n.nbHits))," "),i(2),T("size","large")("color","primary")("label",p(5,10,"common.show_more"))("appearance","link")("queryParams",p(6,12,t.nextPageQueryParams$))}}function Be(e,r){e&1&&(d(0,"div",5),h(1,"trn-icon",9),d(2,"div",10),C(3),a(4,"cxTranslate"),m()()),e&2&&(i(3),O(p(4,1,"refinement.no_results_found")))}function De(e,r){if(e&1&&(d(0,"h2",1),C(1),a(2,"cxTranslate"),m(),d(3,"h3",2),C(4),m(),x(5),a(6,"async"),l(7,Ae,3,0,"ul",3),l(8,He,7,16,"div",4)(9,Be,5,3,"div",5)),e&2){let t=f(),n=s(0),o=s(2);i(),O(w(2,4,"refinement.result",D(10,he,n.nbHits))),i(3),N("\u201C",n.query,"\u201D"),i();let g=_(p(6,7,t.hits$));i(2),c(g!=null&&g.length?7:-1),i(),c(n.nbHits>0&&o<n.nbHits?8:n.nbHits===0?9:-1)}}var $e=1500,Ce=(()=>{class e{helpPageArticlesAlgoliaService=u(E);route=u(ee);hits$=this.helpPageArticlesAlgoliaService.hits$;searchResults$=this.helpPageArticlesAlgoliaService.searchResults$;hitsLength$=this.helpPageArticlesAlgoliaService.hits$.pipe(P(t=>t.length));nextPageQueryParams$=this.helpPageArticlesAlgoliaService.nextPageQueryParams$;deepLinked=!!this.route.snapshot.queryParamMap.get("query");announcement=Z(this.searchResults$.pipe(P(({query:t,nbHits:n})=>({query:t,count:n})),I((t,n)=>t.query===n.query),Q(this.deepLinked?1:0),U($e),R(t=>t.query!=="")),{initialValue:null});static \u0275fac=function(n){return new(n||e)};static \u0275cmp=y({type:e,selectors:[["trn-help-page-list"]],decls:7,vars:8,consts:[["aria-live","assertive","aria-atomic","true",1,"cdk-visually-hidden"],[1,"heading"],[1,"query"],[1,"list"],[1,"button-wrapper"],[1,"no-results"],[3,"article"],[1,"pagination-stats"],["url",".",3,"size","color","label","appearance","queryParams"],["icon","search_off",1,"icon"],[1,"title"]],template:function(n,o){if(n&1&&(x(0),a(1,"async"),x(2),a(3,"async"),d(4,"div",0),l(5,we,2,7),m(),l(6,De,10,12)),n&2){let g,v=_(p(1,2,o.searchResults$));i(2),_(p(3,5,o.hitsLength$)),i(3),c((g=o.announcement())?5:-1,g),i(),c(v&&v.query!==""?6:-1)}},dependencies:[B,fe,oe,ie,S,H],styles:[".heading[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:20px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}@media all and (min-width:576px){.heading[_ngcontent-%COMP%]{font-size:40px;line-height:48px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.heading[_ngcontent-%COMP%]{margin-bottom:8px}.query[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.query[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.query[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.query[_ngcontent-%COMP%]{margin-bottom:16px}@media all and (min-width:576px){.query[_ngcontent-%COMP%]{margin-bottom:24px}}.list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-gap:8px}@media all and (min-width:576px){.list[_ngcontent-%COMP%]{grid-gap:16px}}.button-wrapper[_ngcontent-%COMP%]{text-align:center;margin-top:16px}.pagination-stats[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}.pagination-stats[_ngcontent-%COMP%]{color:#0000008c;margin-bottom:8px}[_nghost-%COMP%]     .button{width:100%}@media all and (min-width:576px){[_nghost-%COMP%]     .button{width:auto;min-width:448px}}.no-results[_ngcontent-%COMP%]{border:1px solid #e7e5e5;border-radius:12px;padding:31px 16px;text-align:center}@media all and (min-width:576px){.no-results[_ngcontent-%COMP%]{padding:47px}}.no-results[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:24px;width:auto;font-size:24px}.no-results[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]     img{height:24px;width:auto}.no-results[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-bottom:16px;color:#0000008c}@media all and (min-width:576px){.no-results[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:32px;width:auto;font-size:32px}.no-results[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]     img{height:32px;width:auto}}.no-results[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.no-results[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.no-results[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}"],changeDetection:0})}return e})();var xe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=M({type:e});static \u0275inj=b({providers:[A({cmsComponents:{TrnHelpPageListComponent:{component:Ce}}})]})}return e})();function Ie(e,r){e&1&&h(0,"cx-paragraph",0)}var _e=(()=>{class e extends z{helpPageArticlesAlgoliaService=u(E);componentData$=this.helpPageArticlesAlgoliaService.queryParamsSearchQuery$.pipe(k(t=>t===""?this.component.data$:j(null)));static \u0275fac=(()=>{let t;return function(o){return(t||(t=F(e)))(o||e)}})();static \u0275cmp=y({type:e,selectors:[["trn-help-page-paragraph"]],features:[q],decls:2,vars:3,consts:[[1,"rich-text","rich-text--shift-headings","rich-text--framed-images","text-large"]],template:function(n,o){n&1&&(l(0,Ie,1,0,"cx-paragraph",0),a(1,"async")),n&2&&c(p(1,1,o.componentData$)?0:-1)},dependencies:[re,z,S],encapsulation:2})}return e})();var Pe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=M({type:e});static \u0275inj=b({providers:[A({cmsComponents:{TrnHelpPageCMSParagraphComponent:{component:_e}}})]})}return e})();var Dt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=M({type:e});static \u0275inj=b({imports:[Pe,xe,ue]})}return e})();export{Dt as HelpPageModule};

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.