PageSourceSearch

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

js tax-free.no collected 2026-10-06 15:02:26 UTC 5,173 bytes, 1 lines download raw bytes

1import{a as Q}from"./chunk-4MPROCDJ.js";import"./chunk-MOINSKK7.js";import{a as j}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-DFKOY57W.js";import"./chunk-3OSB33KW.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import"./chunk-A3QLZGQA.js";import{Y as A}from"./chunk-LJH5OBMW.js";import{Eb as p,Ec as x,Gb as r,Ge as z,Jc as d,Kc as C,Lb as R,Lc as w,Mb as s,Mh as I,Nb as a,Nh as N,Ob as F,Uc as V,Ue as H,Vb as O,Xb as f,Zb as c,ab as b,cb as o,fc as L,gc as T,jc as B,mc as u,nc as _,nd as k,ob as y,pb as M,ra as v,ua as h,vc as S,wc as E,xc as g,ya as D,za as P}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";var U=["descriptionRef"],$=()=>({name:"Live Shopping"});function G(n,l){if(n&1&&(s(0,"h1",2),u(1),a()),n&2){c(2);let e=g(0);o(),_(e.title)}}function J(n,l){n&1&&F(0,"div",6)}function K(n,l){if(n&1){let e=O();s(0,"trn-link",8),d(1,"cxTranslate"),d(2,"cxTranslate"),d(3,"cxTranslate"),d(4,"cxTranslate"),f("onClick",function(){D(e);let i=c(3);return P(i.handleShowFullDescription())}),a()}if(n&2){let e=c(3);R("ariaLabel",e.showFullDescription?w(1,3,"common.read_less_about",x(13,$)):w(2,6,"common.read_more_about",x(14,$)))("icon",e.showFullDescription?"expand_less":"expand_more")("label",e.showFullDescription?C(3,9,"common.read_less"):C(4,11,"common.read_more"))}}function X(n,l){if(n&1&&(s(0,"div",3)(1,"div",4)(2,"p",5,0),u(4),a(),p(5,J,1,0,"div",6),a(),p(6,K,5,15,"trn-link",7),a()),n&2){let e=c(2),t=g(0);
1o(),B("overflow",!e.showFullDescription),o(3),_(t.description),o(),r(e.showReadButton&&!e.showFullDescription?5:-1),o(),r(e.showReadButton?6:-1)}}function Y(n,l){if(n&1&&(s(0,"div",1),p(1,G,2,1,"h1",2),p(2,X,7,5,"div",3),a()),n&2){c();let e=g(0);o(),r(e.title?1:-1),o(),r(e.description?2:-1)}}var W=(()=>{class n{component=h(A);winRef=h(H);descriptionRef=V("descriptionRef");onResize(){this.handleDescriptionDropdown()}component$=this.component.data$;showReadButton=!0;showFullDescription=!1;ngAfterViewInit(){this.handleDescriptionDropdown()}handleDescriptionDropdown(){this.descriptionRef()?.nativeElement&&this.winRef.isBrowser()&&(this.showReadButton=this.getDescriptionLineCount()>2)}getDescriptionLineCount(){let e=this.descriptionRef(),t=this.getStylePxValue(e?.nativeElement&&getComputedStyle(e.nativeElement).getPropertyValue("height")),i=this.descriptionRef(),m=this.getStylePxValue(i?.nativeElement&&getComputedStyle(i.nativeElement).getPropertyValue("line-height"));return Math.round(t/m)}getStylePxValue(e){return parseInt(e?.replace("px",""))}handleShowFullDescription(){this.showFullDescription=!this.showFullDescription,this.handleDescriptionDropdown()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=y({type:n,selectors:[["trn-page-description-content"]],viewQuery:function(t,i){t&1&&L(i.descriptionRef,U,5),t&2&&T()},hostBindings:function(t,i){t&1&&f("resize",function(){return i.onResize()},b)},decls:3,vars:4,consts:[["descriptionRef",""],[1,"page-description-content"],["id","main-content","trnFocusOnNavigate","",1,"heading"],[1,"page-description-wrapper"],[1,"page-description-container"],[1,"description"],[1,"description-shadow"],["appearance","button","iconPlacement","icon-right",1,"read-button",3,"ariaLabel","icon","label"],["appearance","button","iconPlacement","icon-right",1,"read-button",3,"onClick","ariaLabel","icon","label"]],template:function(t,i){if(t&1&&(S(0),d(1,"async"),p(2,Y,3,2,"div",1)),t&2){let m=E(C(1,1,i.component$));o(2),r(m?2:-1)}},dependencies:[N,j,Q,k,I],styles:["[_nghost-%COMP%]{padding-bottom:32px}@media all and (min-width:992px){[_nghost-%COMP%]{padding-bottom:48px}}.page-description-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.page-description-container[_ngcontent-%COMP%]{position:relative}.page-description-container.overflow[_ngcontent-%COMP%]{overflow:hidden;max-height:46px}@media all and (min-width:992px){.page-description-container.overflow[_ngcontent-%COMP%]{max-height:60px}}.heading[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:28px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.heading[_ngcontent-%COMP%]{font-size:48px;line-height:56px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.description[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:992px){.description[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.description-shadow[_ngcontent-%COMP%]{position:absolute;bottom:0;height:24px;width:100%;background:linear-gradient(0deg,#f2f1f0,#0000)}@media all and (min-width:992px){.description-shadow[_ngcontent-%COMP%]{height:32px}}.read-button[_ngcontent-%COMP%]{margin-top:4px}"]})}return n})();var le=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=M({type:n});static \u0275inj=v({providers:[z({cmsComponents:{TrnPageDescriptionContentComponent:{component:W}}})]})}return n})();export{le as PageDescriptionContentModule};

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.