PageSourceSearch

https://www.tax-free.no/chunk-6ZI3UHKU.js

js tax-free.no collected 2026-10-06 15:02:27 UTC 9,905 bytes, 1 lines download raw bytes

1import{a as le}from"./chunk-ZRUP5G3P.js";import{c as se}from"./chunk-KJM33COJ.js";import{a as ae}from"./chunk-SVDI3U25.js";import"./chunk-ZRZ5BRAO.js";import"./chunk-JAIHCA2P.js";import{h as de}from"./chunk-OUQUGTPA.js";import{a as ce}from"./chunk-BPP3E2TO.js";import"./chunk-VTK5J2DS.js";import"./chunk-3SDC52M5.js";import"./chunk-4KNFSRE5.js";import"./chunk-PMDFIPZC.js";import"./chunk-EHPRDZBY.js";import"./chunk-TNTKRQ5I.js";import"./chunk-56A6QMAO.js";import"./chunk-ZH6IOVTT.js";import"./chunk-NUJSW3VU.js";import"./chunk-543EVXPR.js";import"./chunk-KJKIPU3Z.js";import"./chunk-6NEIA7KQ.js";import"./chunk-CNBMOLNM.js";import"./chunk-INSB3ZVY.js";import"./chunk-YMDDGZ5U.js";import"./chunk-3OL3GXBR.js";import"./chunk-4DAUCYCB.js";import"./chunk-XUPYV42H.js";import"./chunk-TYQB6DAR.js";import"./chunk-GW6I55VC.js";import"./chunk-4ZJHJNLB.js";import"./chunk-3IRW6MAO.js";import"./chunk-FVZKEHFL.js";import"./chunk-CABTRMED.js";import"./chunk-7EDV3FYO.js";import"./chunk-OBUWOHWX.js";import"./chunk-AWTSZHSK.js";import"./chunk-KUHFH43V.js";import"./chunk-JC5PZU5R.js";import"./chunk-3GQXY7WQ.js";import"./chunk-UNHUUWFF.js";import"./chunk-N4SAKXVX.js";import"./chunk-GJK2E2S6.js";import"./chunk-QIWZL5RQ.js";import"./chunk-MOINSKK7.js";import"./chunk-SU7S3GV3.js";import"./chunk-7OWGJP2F.js";import"./chunk-OT5BIL5I.js";import"./chunk-3KYWNODB.js";import"./chunk-ME6REO5O.js";import"./chunk-RPX352E4.js";import{a as ie}from"./chunk-CIDLE6M4.js";import"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-ELFTTI6P.js";import"./chunk-DFKOY57W.js";import"./chunk-3OSB33KW.js";import"./chunk-DL3JVWPO.js";import{j as I}from"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import{a as _e}from"./chunk-4Z5MUJO3.js";import{a as oe}from"./chunk-A3QLZGQA.js";import{Y as re}from"./chunk-LJH5OBMW.js";import{Cb as q,Eb as l,Ec as $,Gb as p,Ge as te,Hb as D,Jb as w,Jc as m,Kb as E,Kc as u,Lb as d,Mb as f,Nb as _,Nc as W,Ob as x,Pb as b,Qb as M,Rb as h,Ta as A,Tc as X,Ub as L,V as k,Zb as a,a as B,cb as i,dh as ne,ga as N,hc as J,ic as K,jc as y,kc as G,lc as H,mc as Q,md as Y,nc as V,nd as Z,o as z,ob as P,pb as R,ra as j,rb as U,tb as v,u as g,ua as C,vc as O,vd as ee,wc as S,xc as c}from"./chunk-PMSJWPYZ.js";import{h as fe}from"./chunk-NIF3MU5U.js";function ge(e,r){e&1&&(b(0,"div",6),h(1,"div",9)(2,"div",10),M())}var pe=(()=>{class e{simple=X(!1);static \u0275fac=function(n){return new(n||e)};static \u0275cmp=P({type:e,selectors:[["trn-skeleton-product-card"]],inputs:{simple:[1,"simple"]},decls:9,vars:3,consts:[[1,"card"],[1,"image"],[1,"content"],[1,"info"],[1,"rating"],[1,"title"],[1,"description"],[1,"price"],[1,"add-to-cart"],[1,"brand"],[1,"size"]],template:function(n,o){n&1&&(b(0,"div",0),h(1,"div",1),b(2,"div",2)(3,"div",3),h(4,"div",4)(5,"div",5),l(6,ge,3,0,"div",6),M(),h(7,"div",7)(8,"div",8),M()()),n&2&&(i(),y("small",o.simple()),i(5),p(o.simple()?-1:6))},styles:[".card[_ngcontent-%COMP%]{transition:all .15s cubic-bezier(.35,0,0,1);position:relative;display:flex;flex-direction:column;height:100%;background-color:#fff;border-radius:6px;border:1px solid transparent}@media(hover:hover){.card[_ngcontent-%COMP%]:hover{border-color:#a8a7a5}}.image[_ngcontent-%COMP%]{background-color:#e7e5e5;border-radius:4px;margin:4px;height:132px}@media all and (min-width:992px){.image[_ngcontent-%COMP%]{margin:8px}.image.small[_ngcontent-%COMP%]{height:150px}.image[_ngcontent-%COMP%]:not(.small){height:auto;aspect-ratio:1}}.content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:8px;padding:4px}@media all and (min-width:992px){.content[_ngcontent-%COMP%]{gap:12px;padding:8px}}.info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:4px}.rating[_ngcontent-%COMP%]{width:80px;height:14px;background-color:#e7e5e5;border-radius:2px}.title[_ngcontent-%COMP%]{width:80%;height:16px;background-color:#e7e5e5;border-radius:2px}.brand[_ngcontent-%COMP%], .size[_ngcontent-%COMP%]{width:92px;height:12px;margin:1px 0;background-color:#e7e5e5;border-radius:2px}.size[_ngcontent-%COMP%]{width:40px}.price[_ngcontent-%COMP%]{width:68px;background-color:#e7e5e5;border-radius:2px;height:16px}@media all and (min-width:992px){.price[_ngcontent-%COMP%]{height:18px}}.add-to-cart[_ngcontent-%COMP%]{height:40px;background-color:#e7e5e5;border-radius:6px}"]})}return e})();var me=(()=>{class e{transform(t){return[...Array(t).keys()]}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=U({name:"enumerate",type:e,pure:!0})}return e})();var T=fe(_e());var xe=()=>({visibility:"visible-lg",fill:!1}),he=()=>({visibility:"visible-xs",fill:!0});function ye(e,r){if(e&1&&(f(0,"div",10),x(1,"trn-button",11),_()),e&2){let t=a(),n=t.visibility,o=t.fill;a(2);let s=c(0);H(n),i(),G("outlined"),d("appearance","link")("size","medium")("iconPlacement","icon-right")("icon","arrow_forward")("fill",o)("url",s.externalLink.url)("label",s.externalLink.linkName)("targetBlank",
1s.externalLink.target==="true")}}function Pe(e,r){if(e&1&&l(0,ye,2,12,"div",9),e&2){a(2);let t=c(0);p(t.externalLink!=null&&t.externalLink.url?0:-1)}}function ve(e,r){if(e&1&&(f(0,"h2",6),Q(1),_()),e&2){a(2);let t=c(0);i(),V(t.title)}}function be(e,r){e&1&&L(0)}function Me(e,r){if(e&1&&(x(0,"trn-product-card",12),m(1,"async")),e&2){let t=r.$implicit,n=a(3),o=c(0);d("product",t)("dark",u(1,3,n.dark$))("simple",o.emarsysDataType==="CART")}}function Oe(e,r){if(e&1&&w(0,Me,2,5,"trn-product-card",12,D),e&2){a();let t=c(8);E(t)}}function Se(e,r){if(e&1&&x(0,"trn-skeleton-product-card",13),e&2){a(3);let t=c(0);d("simple",t.emarsysDataType==="CART")}}function Te(e,r){if(e&1&&(w(0,Se,1,1,"trn-skeleton-product-card",13,D),m(2,"enumerate")),e&2){a();let t=c(10);E(u(2,0,t))}}function ke(e,r){e&1&&L(0)}function De(e,r){if(e&1&&(f(0,"section",2),x(1,"div",3),v(2,Pe,1,1,"ng-template",null,0,W),f(4,"div",4)(5,"div",5),l(6,ve,2,1,"h2",6),v(7,be,1,0,"ng-container",7),_(),O(8),m(9,"async"),O(10),m(11,"async"),f(12,"trn-carousel",8),m(13,"async"),l(14,Oe,2,0)(15,Te,3,2),_(),v(16,ke,1,0,"ng-container",7),_()()),e&2){let t=J(3),n=a(),o=c(0);y("ab-version_1",(o.metadata==null?null:o.metadata.version)==="version_1"),d("id",n.containerId),i(4),y("container-primary",o.name==="CartProductCarouselComponent")("container-secondary",o.name!=="CartProductCarouselComponent"),i(2),p(o.title?6:-1),i(),d("ngTemplateOutlet",t)("ngTemplateOutletContext",$(27,xe)),i();let s=S(u(9,19,n.products$));i(2);let Ce=S(u(11,22,n.productsPerSlide$));i(2),K("--trn-carousel-slides-md",u(13,25,n.slidesPerPageMd$))("--trn-carousel-slides-lg",Ce),d("fade",o.name==="CartProductCarouselComponent"),q("aria-label",o.title),i(2),p(s?14:15),i(2),d("ngTemplateOutlet",t)("ngTemplateOutletContext",$(28,he))}}var ue=(()=>{class e{component=C(re);emarsysService=C(ae);darkTemplateService=C(le);searchInsightService=C(ce);PRODUCT_SCOPE=ne.DETAILS;isServer=ee(C(A));componentData$=this.component.data$;productsPerSlide$=this.componentData$.pipe(g(t=>parseInt(t.productsPerSlide)||4),k());productCodes$=this.componentData$.pipe(g(t=>t.productCodes),k(T.isEqual));componentEmarsysData$=this.componentData$.pipe(I(["fetchDataFromEmarsys","emarsysDataType"]),g(t=>({fetchDataFromEmarsys:JSON.parse(t?.fetchDataFromEmarsys)||!1,emarsysDataType:t?.emarsysDataType})));products$=this.isServer?z([]):this.componentData$.pipe(I(["emarsysProductLimit","displayProductLimit"]),N(t=>this.emarsysService.getRecommendedProductsFiltered({componentEmarsysData:this.componentEmarsysData$,limit:t?.emarsysProductLimit||20,productCodes:this.productCodes$,showUnavailableProducts:JSON.parse(t?.showUnavailableProducts),displayProductLimit:t?.displayProductLimit||20,containerId:this.containerId})));slidesPerPageMd$=this.productsPerSlide$.pipe(g(t=>Math.round(t*.75)));dark$=this.darkTemplateService.currentTemplateIsDark$;containerId=(0,T.uniqueId)("product-carousel-");subs=new B;constructor(){this.subs.add(this.products$.subscribe(t=>this.searchInsightService.viewedObjectIDs({index:oe.algoliaConfig.index.products.relevance,objectIDs:t.map(n=>n.algoliaObjectId)})))}ngOnDestroy(){this.subs.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=P({type:e,selectors:[["trn-product-carousel"]],decls:3,vars:4,consts:[["allProducts",""],[1,"product-carousel","trn-showcase-layout",3,"ab-version_1","id"],[1,"product-carousel","trn-showcase-layout",3,"id"],["data-scarabitem",""],[1,"trn-showcase-layout-body"],[1,"trn-showcase-layout-header"],[1,"heading","heading-2"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"products-carousel",3,"fade"],[1,"trn-showcase-layout-actions",3,"class"],[1,"trn-showcase-layout-actions"],[3,"appearance","size","iconPlacement","icon","fill","url","label","targetBlank"],[3,"product","dark","simple"],[3,"simple"]],template:function(n,o){if(n&1&&(O(0),m(1,"async"),l(2,De,17,29,"section",1)),n&2){let s=S(u(1,1,o.componentData$));i(2),p(s?2:-1)}},dependencies:[Y,se,de,pe,ie,Z,me],styles:[".trn-showcase-layout-body[_ngcontent-%COMP%]{--trn-showcase-layout-gap: 32px;--trn-showcase-layout-header-gap: 24px}
1.products-carousel[_ngcontent-%COMP%]{width:100%;--trn-carousel-slides: 2;--trn-carousel-fade-size: 0;--trn-carousel-fade-color: #f2f1f0}@media all and (min-width:768px){.products-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: var(--trn-carousel-slides-md)}}@media all and (min-width:992px){.products-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: var(--trn-carousel-slides-lg);--trn-carousel-gap: 16px;--trn-carousel-fade-size: 48px}}@media all and (min-width:576px){.ab-version_1[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{font-size:36px}}"],changeDetection:0})}return e})();var tt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=R({type:e});static \u0275inj=j({providers:[te({cmsComponents:{TrnProductCarouselComponent:{component:ue}}})]})}return e})();export{tt as ProductCarouselModule};

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.