1import{a as vf}from"./chunk-ADQCCISQ.js";import{a as gf}from"./chunk-2ICFQIPM.js";import{a as Wm,b as cr,c as Ff,d as Nf,e as xf,f as Lf,g as $f,h as Hf,i as js,j as qh}from"./chunk-D33YMQDW.js";import{a as Rr}from"./chunk-W7DMDDNX.js";import{a as Kf}from"./chunk-VVPJ2DC4.js";import{a as Wf}from"./chunk-S6ZBR2TW.js";import{a as ef}from"./chunk-P23XKLYQ.js";import{a as Vh,b as Kh}from"./chunk-U66OKHP2.js";import{a as Km,b as Di}from"./chunk-RKYIHD27.js";import{a as Mo}from"./chunk-2NUHZIE4.js";import{a as Uf,b as Fn}from"./chunk-PRYDNR7C.js";import{a as xh}from"./chunk-YBLBA6D6.js";import{a as qo}from"./chunk-WSBIFOSJ.js";import{a as Ph,b as Ah,c as Ih,d as Rh,e as Oh,f as Fh,g as Nh,h as Us,i as Ln,j as Lh}from"./chunk-PFXRCZEI.js";import{a as Dh,b as Uh,c as jh,d as Bh,e as $h,f as Hh,g as Gh,h as zh}from"./chunk-TVHZO7RU.js";import{c as Wh}from"./chunk-KJM33COJ.js";import{a as Ls,b as Po}from"./chunk-QHADHBCS.js";import{a as zf}from"./chunk-WWGKEPUM.js";import{c as Ds}from"./chunk-LGOQ47B4.js";import{a as fh,b as hh,c as gh,d as _h,e as yh}from"./chunk-74G4FPYC.js";import{a as gc,b as Sf,c as Cf,d as ws,e as xi}from"./chunk-AJVH4JSO.js";import{a as vh,b as Sh,c as Ch,d as bh,e as Th,f as Eh,g as wh,h as Mh,i as kh}from"./chunk-OLJJJJQP.js";import{c as As,g as wf,h as Mf,i as kf}from"./chunk-5OCIMU4M.js";import{a as Gf,b as Yf,c as Qf,d as Xf,e as Zf,f as Jf,g as eh,h as th,j as rh,k as oh,l as ih,m as xs,n as yt,o as nh,p as ah,q as sh}from"./chunk-YPUAN4S3.js";import{a as Os}from"./chunk-SVDI3U25.js";import"./chunk-ZRZ5BRAO.js";import{a as vc}from"./chunk-JAIHCA2P.js";import{a as Pf,c as jf,g as ko,h as dh}from"./chunk-OUQUGTPA.js";import{a as lh}from"./chunk-BPP3E2TO.js";import{a as Rs}from"./chunk-VTK5J2DS.js";import"./chunk-3SDC52M5.js";import"./chunk-4KNFSRE5.js";import{a as Kr,b as Ms,c as ks,d as Li}from"./chunk-PMDFIPZC.js";import{a as Nn}from"./chunk-6TVGUYD6.js";import{a as Fs,b as Df,c as On}from"./chunk-EHPRDZBY.js";import"./chunk-TNTKRQ5I.js";import"./chunk-56A6QMAO.js";import{a as ff,b as hf}from"./chunk-ZH6IOVTT.js";import"./chunk-NUJSW3VU.js";import{a as Bf}from"./chunk-MOFVCWFZ.js";import{a as Xm,b as Zm,c as Jm,d as Ri}from"./chunk-543EVXPR.js";import{a as Mn,b as kn,c as tf,d as rf,e as of,f as nf,g as uf}from"./chunk-KJKIPU3Z.js";import{a as af}from"./chunk-6NEIA7KQ.js";import{a as fc,f as bs}from"./chunk-CNBMOLNM.js";import{a as _s}from"./chunk-INSB3ZVY.js";import{f as Ts,g as Es,j as hc}from"./chunk-YMDDGZ5U.js";import"./chunk-3OL3GXBR.js";import{b as Vr}from"./chunk-4DAUCYCB.js";import{a as as}from"./chunk-ETUAYI3G.js";import"./chunk-XUPYV42H.js";import{a as uh}from"./chunk-4MPROCDJ.js";import{a as Is,b as ch}from"./chunk-TYQB6DAR.js";import{a as Vf}from"./chunk-4F3YZWOP.js";import"./chunk-GW6I55VC.js";import"./chunk-4ZJHJNLB.js";import"./chunk-3IRW6MAO.js";import{a as mf}from"./chunk-FVZKEHFL.js";import{a as pf}from"./chunk-CABTRMED.js";import"./chunk-7EDV3FYO.js";import"./chunk-OBUWOHWX.js";import"./chunk-AWTSZHSK.js";import"./chunk-KUHFH43V.js";import{a as vs,b as Ss,c as Cs,d as df}from"./chunk-JC5PZU5R.js";import{q as Ns,r as xn,t as qf,w as Sc}from"./chunk-R7DBMOVJ.js";import{c as If,d as Ui,e as _c,h as yc,n as Rf,o as Of}from"./chunk-3GQXY7WQ.js";import"./chunk-NNMU3X7G.js";import{a as _f,b as yf}from"./chunk-J3XN2YRB.js";import"./chunk-UNHUUWFF.js";import{a as Ps,b as In,c as bf,d as Rn,f as Tf,g as Ef}from"./chunk-N4SAKXVX.js";import"./chunk-GJK2E2S6.js";import"./chunk-QIWZL5RQ.js";import{j as Af}from"./chunk-MOINSKK7.js";import{A as ys,D as cf,G as Sr,I as An,g as Oi,h as sf,j as Pn,k as Fi,l as lf,y as Ko,z as Ni}from"./chunk-SU7S3GV3.js";import{a as gs}from"./chunk-7OWGJP2F.js";import{a as qm,b as Ym,c as Qm,d as hs,e as Ii}from"./chunk-OT5BIL5I.js";import{a as ph,b as mh}from"./chunk-7H4WWXDH.js";import"./chunk-3KYWNODB.js";import{a as ps}from"./chunk-LCAEI3KW.js";import{c as zm,d as Vm}from"./chunk-NOYQY4IF.js";import"./chunk-ME6REO5O.js";import{a as Hm,b as Gm}from"./chunk-RPX352E4.js";import{a as bo}from"./chunk-CIDLE6M4.js";import"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-ELFTTI6P.js";
1import"./chunk-DFKOY57W.js";import{g as Zp}from"./chunk-3OSB33KW.js";import{a as ms,b as Eo,c as wo,d as fs}from"./chunk-DL3JVWPO.js";import{b as is,c as Qp,h as Xp,m as ns}from"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import{a as Et}from"./chunk-4Z5MUJO3.js";import{a as se}from"./chunk-A3QLZGQA.js";import{$ as dm,Ba as bm,Bb as Nm,Ca as pc,Cb as xm,Da as Pi,Db as Lm,Ea as Tm,Eb as Dm,Fa as Em,Fb as Um,Ga as wm,Gb as jm,H as rm,Ha as Mm,Hb as Bm,I as om,Ia as Ai,Ib as $m,Ja as km,Ma as mc,N as im,Q as nm,R as am,S as En,T as wi,Ta as Pm,U as ss,V as sm,W as Wt,X as lm,Y as To,Z as cm,_ as ls,aa as um,ba as pm,c as Jp,ca as mm,da as cs,ea as fm,fa as tt,g as em,ga as hm,ha as gm,ia as ds,j as tm,ka as _m,la as ym,ma as Mi,na as At,oa as vm,pa as us,qa as ki,ra as wn,sa as Sm,vb as Am,wb as Im,xb as Rm,ya as Cm,yb as Om,zb as Fm}from"./chunk-LJH5OBMW.js";import{$ as li,$d as Xu,$e as Ir,$f as gp,$h as Vp,A as Ho,Ad as oc,Ag as nr,B as Mr,Bd as Cn,Bg as Pt,Bh as Up,C as va,Ca as ci,Cb as yr,Cd as Hu,Ce as np,Ch as jp,D as kr,Da as fo,Dd as fi,Dg as Tp,Dh as Bp,E as Nt,Ea as di,Eb as Ae,Ec as Ra,Ed as zo,Eg as Ep,Eh as $p,F as D,Fa as Jl,Fb as _n,Fc as Oa,Fd as Ar,Fe as b,Fg as wp,Ga as ho,Gb as Ie,Gd as Gu,Ge as ir,Ha as Tu,Hb as Ru,Hd as zu,Hh as rs,Ia as Eu,Id as Wu,Ie as ac,Ig as Va,Ih as Hp,J as Sa,Ja as wu,Jb as ui,Jc as ee,Jg as Ka,Jh as os,K as yu,Kb as pi,Kc as te,L as Ge,Lb as We,Mb as ne,Md as _o,Mh as ar,N as vu,Nb as ge,Nh as sr,Ob as Le,Od as Wo,Of as mp,Pa as x,Pb as Ou,Pd as xa,Pe as Ua,Q as Ca,Qb as Fu,Qe as ap,Qg as Mp,Qh as dc,R as Su,Rb as Pr,Re as sp,Rg as qa,Rh as uc,S as ht,Sb as yn,Sd as ic,Sf as lc,Sh as Gp,Ta as tr,Tb as vn,Tc as rc,Td as La,Tf as ja,U as Cu,Ua as ec,Ub as Nu,Uc as Sn,Ud as Vu,Ue as de,Uf as bi,Ug as cc,V as ie,Vb as Go,Ve as lp,Vf as fp,Vh as lr,Wd as Ku,Wf as Ba,Wg as Ya,Wh as zp,Xa as Mu,Xb as zt,Xd as qu,Xf as $a,Xg as kp,Xh as Wp,Yb as xu,Yd as nc,Ye as cp,Yg as Pp,Z as me,Zb as Fe,Zc as Lu,Zd as Yu,Zg as Qa,_c as Fa,_d as Qu,_f as hp,_h as Co,a as Pe,aa as ba,ab as ku,af as dp,ai as Kp,b as fn,ba as Ta,bf as up,bh as Ap,bi as qp,c as si,ca as fe,cb as J,cf as pp,ch as Xa,d as uo,da as Ea,de as Zu,df as bn,dh as Ne,e as uu,ee as vr,eh as Ip,f as pu,fa as xt,fc as Pa,fe as hi,ff as Wr,fh as Za,ga as N,gc as Aa,ge as or,gg as et,h as mu,he as gi,hf as vi,hg as _p,i as fu,ia as wa,ib as Ma,ie as _i,j as _t,jc as Ia,je as Ju,jf as sc,jh as Rp,ka as Mt,kc as tc,ke as ep,kf as vo,kh as Op,ki as Yp,le as yi,lf as rt,lg as Ha,lh as Ja,m as hu,ma as Lt,mc as bt,mh as Fp,n as hn,na as Me,nc as Tt,nd as Qe,nf as Si,nh as Np,o as H,ob as ue,oe as Da,og as Ga,oh as xp,p as gu,pb as h,pg as yp,ph as ot,qa as S,qh as Vo,ra as f,re as tp,rg as za,rh as Ei,s as _u,sa as xe,sb as Pu,sd as Na,se as yo,sf as Ci,sg as Ti,sh as Lp,t as ya,ta as X,tb as ka,td as Du,te as rp,tf as Tn,tg as vp,th as Dp,u as v,ua as d,ud as go,ue as op,uf as So,uh as es,v as ve,va as bu,vc as st,vd as mi,ve as ip,vg as Sp,vh as ts,w as Gr,wc as kt,wd as Uu,we as Te,xa as gn,xb as Au,xc as lt,xd as ju,xg as Wa,y as zr,ya as po,yb as rr,yd as Bu,ye as gt,yg as Cp,za as mo,zb as Iu,zd as $u,zg as bp}from"./chunk-PMSJWPYZ.js";import{a as re,b as He,d as du,g as Zl,h as ft,k as _a}from"./chunk-NIF3MU5U.js";var Yh=(()=>{class t extends Pp{load(e){let r=this.getPagesRequestParams(e);return this.userIdService.getUserId().pipe(N(i=>{let n;if(r&&r?.pageLabelOrId?.startsWith("/wishlist/")){let l=r.pageLabelOrId.substring(10),u=l.indexOf("/",0);u>0&&(l=l.slice(0,u)),n=this.occEndpoints.buildUrl("pages",{urlParams:{userId:i},queryParams:{pageType:"TrnWishlistPage",code:l}})}else if(r&&r?.pageLabelOrId?.startsWith("/merker/")){let l=r.pageLabelOrId.substring(8),u=l.indexOf("/",0);u>0&&(l=l.slice(0,u)),n=this.occEndpoints.buildUrl("pages",{urlParams:{userId:i},queryParams:{pageType:"TrnBrandPage",code:l}})}else if(r&&r?.pageLabelOrId?.startsWith("/tilbud/")){let l=r.pageLabelOrId.substring(8);n=this.occEndpoints.buildUrl("pages",{urlParams:{userId:i},queryParams:{pageType:"TrnOfferPage",code:l}})}else if(r&&r?.pageLabelOrId?.startsWith("/tips-og-trender/kategori/")){let l=r.pageLabelOrId.substring(26),u=r.pageLabelOrId.lastIndexOf("/"+l),m=r.pageLabelOrId.substring(0,u);
1n=this.occEndpoints.buildUrl("pages",{urlParams:{userId:i},queryParams:{pageType:"ContentPage",pageLabelOrId:m,code:l}})}else n=e.type?this.occEndpoints.buildUrl("pages",{urlParams:{userId:i},queryParams:r}):this.occEndpoints.buildUrl("page",{urlParams:{id:e.id,userId:i}});return this.http.get(n,{headers:this.headers})}),this.converter.pipeable(qa),ht(1))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qh=[[["mn.","mg.","fm.","em.","kv.","nt."],["midn.","morg.","form.","etterm.","kveld","natt"],["midnatt","p\xE5 morgenen","p\xE5 formiddagen","p\xE5 ettermiddagen","p\xE5 kvelden","p\xE5 natten"]],[["mn.","mg.","fm.","em.","kv.","nt."],["midn.","morg.","form.","etterm.","kveld","natt"],["midnatt","morgen","formiddag","ettermiddag","kveld","natt"]],["00:00",["06:00","10:00"],["10:00","12:00"],["12:00","18:00"],["18:00","24:00"],["00:00","06:00"]]];function hE(t){return t===1?1:5}var Xh=["nb",[["a","p"],["a.m.","p.m."]],[["a.m.","p.m."]],[["S","M","T","O","T","F","L"],["s\xF8n.","man.","tir.","ons.","tor.","fre.","l\xF8r."],["s\xF8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xF8rdag"],["s\xF8.","ma.","ti.","on.","to.","fr.","l\xF8."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]],[["f.Kr.","e.Kr."],void 0,["f\xF8r Kristus","etter Kristus"]],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","\u2212","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4;-#,##0.00\xA0\xA4","#E0"],"NOK","kr","norske kroner",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:["kr"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XAF:[],XCD:[void 0,"$"],XPF:[],XXX:[]},"ltr",hE];var pe=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(pe||{}),Cr="*";function Zh(t,o=null){return{type:pe.Sequence,steps:t,options:o}}function Cc(t){return{type:pe.Style,styles:t,offset:null}}var qr=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(o=0,e=0){this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){let e=o=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},ji=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(o){this.players=o;let e=0,r=0,i=0,n=this.players.length;n==0?queueMicrotask(()=>
vendor: 60,605 bytes, line 1
1this._onFinish()):this.players.forEach(l=>{l.onDone(()=>{++e==n&&this._onFinish()}),l.onDestroy(()=>{++r==n&&this._onDestroy()}),l.onStart(()=>{++i==n&&this._onStart()})}),this.totalTime=this.players.reduce((l,u)=>Math.max(l,u.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){let e=o*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){let o=this.players.reduce((e,r)=>e===null||r.totalTime>e.totalTime?r:e,null);return o!=null?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){let e=o=="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},Dn="!";function Jh(t){return new Me(3e3,!1)}function gE(){return new Me(3100,!1)}function _E(){return new Me(3101,!1)}function yE(t){return new Me(3001,!1)}function vE(t){return new Me(3003,!1)}function SE(t){return new Me(3004,!1)}function tg(t,o){return new Me(3005,!1)}function rg(){return new Me(3006,!1)}function og(){return new Me(3007,!1)}function ig(t,o){return new Me(3008,!1)}function ng(t){return new Me(3002,!1)}function ag(t,o,e,r,i){return new Me(3010,!1)}function sg(){return new Me(3011,!1)}function lg(){return new Me(3012,!1)}function cg(){return new Me(3200,!1)}function dg(){return new Me(3202,!1)}function ug(){return new Me(3013,!1)}function pg(t){return new Me(3014,!1)}function mg(t){return new Me(3015,!1)}function fg(t){return new Me(3016,!1)}function hg(t,o){return new Me(3404,!1)}function CE(t){return new Me(3502,!1)}function gg(t){return new Me(3503,!1)}function _g(){return new Me(3300,!1)}function yg(t){return new Me(3504,!1)}function vg(t){return new Me(3301,!1)}function Sg(t,o){return new Me(3302,!1)}function Cg(t){return new Me(3303,!1)}function bg(t,o){return new Me(3400,!1)}function Tg(t){return new Me(3401,!1)}function Eg(t){return new Me(3402,!1)}function wg(t,o){return new Me(3505,!1)}function Yr(t){switch(t.length){case 0:return new qr;case 1:return t[0];default:return new ji(t)}}function wc(t,o,e=new Map,r=new Map){let i=[],n=[],l=-1,u=null;if(o.forEach(m=>{let _=m.get("offset"),P=_==l,M=P&&u||new Map;m.forEach((L,U)=>{let A=U,F=L;if(U!=="offset")switch(A=t.normalizePropertyName(A,i),F){case Dn:F=e.get(U);break;case Cr:F=r.get(U);break;default:F=t.normalizeStyleValue(U,A,F,i);break}M.set(A,F)}),P||n.push(M),u=M,l=_}),i.length)throw CE(i);return n}function Bs(t,o,e,r){switch(o){case"start":t.onStart(()=>r(e&&bc(e,"start",t)));break;case"done":t.onDone(()=>r(e&&bc(e,"done",t)));break;case"destroy":t.onDestroy(()=>r(e&&bc(e,"destroy",t)));break}}function bc(t,o,e){let r=e.totalTime,i=!!e.disabled,n=$s(t.element,t.triggerName,t.fromState,t.toState,o||t.phaseName,r??t.totalTime,i),l=t._data;return l!=null&&(n._data=l),n}function $s(t,o,e,r,i="",n=0,l){return{element:t,triggerName:o,fromState:e,toState:r,phaseName:i,totalTime:n,disabled:!!l}}function Dt(t,o,e){let r=t.get(o);return r||t.set(o,r=e),r}function Mc(t){let o=t.indexOf(":"),e=t.substring(1,o),r=t.slice(o+1);return[e,r]}var bE=typeof document>"u"?null:document.documentElement;function Hs(t){let o=t.parentNode||t.host||null;return o===bE?null:o}function TE(t){return t.substring(1,6)=="ebkit"}var Yo=null,eg=!1;function Mg(t){Yo||(Yo=EE()||{},eg=Yo.style?"WebkitAppearance"in Yo.style:!1);let o=!0;return Yo.style&&!TE(t)&&(o=t in Yo.style,!o&&eg&&(o="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Yo.style)),o}function EE(){return typeof document<"u"?document.body:null}function kc(t,o){for(;o;){if(o===t)return!0;o=Hs(o)}return!1}function Pc(t,o,e){if(e)return Array.from(t.querySelectorAll(o));let r=t.querySelector(o);return r?[r]:[]}var wE=1e3,Ac="{{",ME="}}",Ic="ng-enter",Gs="ng-leave",Un="ng-trigger",jn=".ng-trigger",Rc="ng-animating",zs=".ng-animating";function Or(t){if(typeof t=="number")return t;let o=t.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Tc(parseFloat(o[1]),o[2])}function Tc(t,o){return o==="s"?t*wE:t}function Bn(t,o,e){return t.hasOwnProperty("duration")?t:PE(t,o,e)}var kE=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function PE(t,o,e){let r,i=0,n="";if(typeof t=="string"){let l=t.match(kE);if(l===null)return o.push(Jh(t)),{duration:0,delay:0,easing:""};r=Tc(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(i=Tc(parseFloat(u),l[4]));let m=l[5];m&&(n=m)}else r=t;if(!e){let l=!1,u=o.length;r<0&&(o.push(gE()),l=!0),i<0&&(o.push(_E()),l=!0),l&&o.splice(u,0,Jh(t))}return{duration:r,delay:i,easing:n}}function kg(t){return t.length?t[0]instanceof Map?t:t.map(o=>new Map(Object.entries(o))):[]}function br(t,o,e){o.forEach((r,i)=>{let n=Ws(i);e&&!e.has(i)&&e.set(i,t.style[n]),t.style[n]=r})}function Ao(t,o){o.forEach((e,r)=>{let i=Ws(r);t.style[i]=""})}function Bi(t){return Array.isArray(t)?t.length==1?t[0]:Zh(t):t}function Pg(t,o,e){let r=o.params||{},i=Oc(t);i.length&&i.forEach(n=>{r.hasOwnProperty(n)||e.push(yE(n))})}var Ec=new RegExp(`${Ac}\\s*(.+?)\\s*${ME}`,"g");function Oc(t){let o=[];if(typeof t=="string"){let e;for(;e=Ec.exec(t);)o.push(e[1]);Ec.lastIndex=0}return o}function $i(t,o,e){let r=`${t}`,i=r.replace(Ec,(n,l)=>{let u=o[l];return u==null&&(e.push(vE(l)),u=""),u.toString()});return i==r?t:i}var AE=/-+([a-z0-9])/g;function Ws(t){return t.replace(AE,(...o)=>o[1].toUpperCase())}function Ag(t,o){return t===0||o===0}function Ig(t,o,e){if(e.size&&o.length){let r=o[0],i=[];if(e.forEach((n,l)=>{r.has(l)||i.push(l),r.set(l,n)}),i.length)for(let n=1;n<o.length;n++){let l=o[n];i.forEach(u=>l.set(u,Vs(t,u)))}}return o}function Ut(t,o,e){switch(o.type){case pe.Trigger:return t.visitTrigger(o,e);case pe.State:return t.visitState(o,e);case pe.Transition:return t.visitTransition(o,e);case pe.Sequence:return t.visitSequence(o,e);case pe.Group:return t.visitGroup(o,e);case pe.Animate:return t.visitAnimate(o,e);case pe.Keyframes:return t.visitKeyframes(o,e);case pe.Style:return t.visitStyle(o,e);case pe.Reference:return t.visitReference(o,e);case pe.AnimateChild:return t.visitAnimateChild(o,e);case pe.AnimateRef:return t.visitAnimateRef(o,e);case pe.Query:return t.visitQuery(o,e);case pe.Stagger:return t.visitStagger(o,e);default:throw SE(o.type)}}function Vs(t,o){return window.getComputedStyle(t)[o]}var Yc=(()=>{class t{validateStyleProperty(e){return Mg(e)}containsElement(e,r){return kc(e,r)}getParentElement(e){return Hs(e)}query(e,r,i){return Pc(e,r,i)}computeStyle(e,r,i){return i||""}animate(e,r,i,n,l,u=[],m){return new qr(i,n)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Xo=class{static NOOP=new Yc},Zo=class{};var IE=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Xs=class extends Zo{normalizePropertyName(o,e){return Ws(o)}normalizeStyleValue(o,e,r,i){let n="",l=r.toString().trim();if(IE.has(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let u=r.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&u[1].length==0&&i.push(tg(o,r))}return l+n}};var Zs="*";function RE(t,o){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>OE(r,e,o)):e.push(t),e}function OE(t,o,e){if(t[0]==":"){let m=FE(t,e);if(typeof m=="function"){o.push(m);return}t=m}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return e.push(mg(t)),o;let i=r[1],n=r[2],l=r[3];o.push(Rg(i,l));let u=i==Zs&&l==Zs;n[0]=="<"&&!u&&o.push(Rg(l,i))}function FE(t,o){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return o.push(fg(t)),"* => *"}}var Ks=new Set(["true","1"]),qs=new Set(["false","0"]);function Rg(t,o){let e=Ks.has(t)||qs.has(t),r=Ks.has(o)||qs.has(o);return(i,n)=>{let l=t==Zs||t==i,u=o==Zs||o==n;return!l&&e&&typeof i=="boolean"&&(l=i?Ks.has(t):qs.has(t)),!u&&r&&typeof n=="boolean"&&(u=n?Ks.has(o):qs.has(o)),l&&u}}var $g=":self",NE=new RegExp(`s*${$g}s*,?`,"g");function Hg(t,o,e,r){return new Uc(t).build(o,e,r)}var Og="",Uc=class{_driver;constructor(o){this._driver=o}build(o,e,r){let i=new jc(e);return this._resetContextStyleTimingState(i),Ut(this,Bi(o),i)}_resetContextStyleTimingState(o){o.currentQuerySelector=Og,o.collectedStyles=new Map,o.collectedStyles.set(Og,new Map),o.currentTime=0}visitTrigger(o,e){let r=e.queryCount=0,i=e.depCount=0,n=[],l=[];return o.name.charAt(0)=="@"&&e.errors.push(rg()),o.definitions.forEach(u=>{if(this._resetContextStyleTimingState(e),u.type==pe.State){let m=u,_=m.name;_.toString().split(/\s*,\s*/).forEach(P=>{m.name=P,n.push(this.visitState(m,e))}),m.name=_}else if(u.type==pe.Transition){let m=this.visitTransition(u,e);r+=m.queryCount,i+=m.depCount,l.push(m)}else e.errors.push(og())}),{type:pe.Trigger,name:o.name,states:n,transitions:l,queryCount:r,depCount:i,options:null}}visitState(o,e){let r=this.visitStyle(o.styles,e),i=o.options&&o.options.params||null;if(r.containsDynamicStyles){let n=new Set,l=i||{};r.styles.forEach(u=>{u instanceof Map&&u.forEach(m=>{Oc(m).forEach(_=>{l.hasOwnProperty(_)||n.add(_)})})}),n.size&&e.errors.push(ig(o.name,[...n.values()]))}return{type:pe.State,name:o.name,style:r,options:i?{params:i}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;let r=Ut(this,Bi(o.animation),e),i=RE(o.expr,e.errors);return{type:pe.Transition,matchers:i,animation:r,queryCount:e.queryCount,depCount:e.depCount,options:Qo(o.options)}}visitSequence(o,e){return{type:pe.Sequence,steps:o.steps.map(r=>Ut(this,r,e)),options:Qo(o.options)}}visitGroup(o,e){let r=e.currentTime,i=0,n=o.steps.map(l=>{e.currentTime=r;let u=Ut(this,l,e);return i=Math.max(i,e.currentTime),u});return e.currentTime=i,{type:pe.Group,steps:n,options:Qo(o.options)}}visitAnimate(o,e){let r=UE(o.timings,e.errors);e.currentAnimateTimings=r;let i,n=o.styles?o.styles:Cc({});if(n.type==pe.Keyframes)i=this.visitKeyframes(n,e);else{let l=o.styles,u=!1;if(!l){u=!0;let _={};r.easing&&(_.easing=r.easing),l=Cc(_)}e.currentTime+=r.duration+r.delay;let m=this.visitStyle(l,e);m.isEmptyStep=u,i=m}return e.currentAnimateTimings=null,{type:pe.Animate,timings:r,style:i,options:null}}visitStyle(o,e){let r=this._makeStyleAst(o,e);return this._validateStyleAst(r,e),r}_makeStyleAst(o,e){let r=[],i=Array.isArray(o.styles)?o.styles:[o.styles];for(let u of i)typeof u=="string"?u===Cr?r.push(u):e.errors.push(ng(u)):r.push(new Map(Object.entries(u)));let n=!1,l=null;return r.forEach(u=>{if(u instanceof Map&&(u.has("easing")&&(l=u.get("easing"),u.delete("easing")),!n)){for(let m of u.values())if(m.toString().indexOf(Ac)>=0){n=!0;break}}}),{type:pe.Style,styles:r,easing:l,offset:o.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(o,e){let r=e.currentAnimateTimings,i=e.currentTime,n=e.currentTime;r&&n>0&&(n-=r.duration+r.delay),o.styles.forEach(l=>{typeof l!="string"&&l.forEach((u,m)=>{let _=e.collectedStyles.get(e.currentQuerySelector),P=_.get(m),M=!0;P&&(n!=i&&n>=P.startTime&&i<=P.endTime&&(e.errors.push(ag(m,P.startTime,P.endTime,n,i)),M=!1),n=P.startTime),M&&_.set(m,{startTime:n,endTime:i}),e.options&&Pg(u,e.options,e.errors)})})}visitKeyframes(o,e){let r={type:pe.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(sg()),r;let i=1,n=0,l=[],u=!1,m=!1,_=0,P=o.steps.map(Z=>{let oe=this._makeStyleAst(Z,e),he=oe.offset!=null?oe.offset:DE(oe.styles),G=0;return he!=null&&(n++,G=oe.offset=he),m=m||G<0||G>1,u=u||G<_,_=G,l.push(G),oe});m&&e.errors.push(lg()),u&&e.errors.push(cg());let M=o.steps.length,L=0;n>0&&n<M?e.errors.push(dg()):n==0&&(L=i/(M-1));let U=M-1,A=e.currentTime,F=e.currentAnimateTimings,le=F.duration;return P.forEach((Z,oe)=>{let he=L>0?oe==U?1:L*oe:l[oe],G=he*le;e.currentTime=A+F.delay+G,F.duration=G,this._validateStyleAst(Z,e),Z.offset=he,r.styles.push(Z)}),r}visitReference(o,e){return{type:pe.Reference,animation:Ut(this,Bi(o.animation),e),options:Qo(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:pe.AnimateChild,options:Qo(o.options)}}visitAnimateRef(o,e){return{type:pe.AnimateRef,animation:this.visitReference(o.animation,e),options:Qo(o.options)}}visitQuery(o,e){let r=e.currentQuerySelector,i=o.options||{};e.queryCount++,e.currentQuery=o;let[n,l]=xE(o.selector);e.currentQuerySelector=r.length?r+" "+n:n,Dt(e.collectedStyles,e.currentQuerySelector,new Map);let u=Ut(this,Bi(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:pe.Query,selector:n,limit:i.limit||0,optional:!!i.optional,includeSelf:l,animation:u,originalSelector:o.selector,options:Qo(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push(ug());let r=o.timings==="full"?{duration:0,delay:0,easing:"full"}:Bn(o.timings,e.errors,!0);return{type:pe.Stagger,animation:Ut(this,Bi(o.animation),e),timings:r,options:null}}};function xE(t){let o=!!t.split(/\s*,\s*/).find(e=>e==$g);return o&&(t=t.replace(NE,"")),t=t.replace(/@\*/g,jn).replace(/@\w+/g,e=>jn+"-"+e.slice(1)).replace(/:animating/g,zs),[t,o]}function LE(t){return t?re({},t):null}var jc=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(o){this.errors=o}};function DE(t){if(typeof t=="string")return null;let o=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let r=e;o=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;o=parseFloat(e.get("offset")),e.delete("offset")}return o}function UE(t,o){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let n=Bn(t,o).duration;return Fc(n,0,"")}let e=t;if(e.split(/\s+/).some(n=>n.charAt(0)=="{"&&n.charAt(1)=="{")){let n=Fc(0,0,"");return n.dynamic=!0,n.strValue=e,n}let i=Bn(e,o);return Fc(i.duration,i.delay,i.easing)}function Qo(t){return t?(t=re({},t),t.params&&(t.params=LE(t.params))):t={},t}function Fc(t,o,e){return{duration:t,delay:o,easing:e}}function Qc(t,o,e,r,i,n,l=null,u=!1){return{type:1,element:t,keyframes:o,preStyleProps:e,postStyleProps:r,duration:i,delay:n,totalTime:i+n,easing:l,subTimeline:u}}var Hn=class{_map=new Map;get(o){return this._map.get(o)||[]}append(o,e){let r=this._map.get(o);r||this._map.set(o,r=[]),r.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}},jE=1,BE=":enter",$E=new RegExp(BE,"g"),HE=":leave",GE=new RegExp(HE,"g");function Gg(t,o,e,r,i,n=new Map,l=new Map,u,m,_=[]){return new Bc().buildKeyframes(t,o,e,r,i,n,l,u,m,_)}var Bc=class{buildKeyframes(o,e,r,i,n,l,u,m,_,P=[]){_=_||new Hn;let M=new $c(o,e,_,i,n,P,[]);M.options=m;let L=m.delay?Or(m.delay):0;M.currentTimeline.delayNextStep(L),M.currentTimeline.setStyles([l],null,M.errors,m),Ut(this,r,M);let U=M.timelines.filter(A=>A.containsAnimation());if(U.length&&u.size){let A;for(let F=U.length-1;F>=0;F--){let le=U[F];if(le.element===e){A=le;break}}A&&!A.allowOnlyTimelineStyles()&&A.setStyles([u],null,M.errors,m)}return U.length?U.map(A=>A.buildKeyframes()):[Qc(e,[],[],[],0,L,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){let r=e.subInstructions.get(e.element);if(r){let i=e.createSubContext(o.options),n=e.currentTimeline.currentTime,l=this._visitSubInstructions(r,i,i.options);n!=l&&e.transformIntoNewTimeline(l)}e.previousNode=o}visitAnimateRef(o,e){let r=e.createSubContext(o.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],e,r),this.visitReference(o.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=o}_applyAnimationRefDelays(o,e,r){for(let i of o){let n=i?.delay;if(n){let l=typeof n=="number"?n:Or($i(n,i?.params??{},e.errors));r.delayNextStep(l)}}}_visitSubInstructions(o,e,r){let n=e.currentTimeline.currentTime,l=r.duration!=null?Or(r.duration):null,u=r.delay!=null?Or(r.delay):null;return l!==0&&o.forEach(m=>{let _=e.appendInstructionToTimeline(m,l,u);n=Math.max(n,_.duration+_.delay)}),n}visitReference(o,e){e.updateOptions(o.options,!0),Ut(this,o.animation,e),e.previousNode=o}visitSequence(o,e){let r=e.subContextCount,i=e,n=o.options;if(n&&(n.params||n.delay)&&(i=e.createSubContext(n),i.transformIntoNewTimeline(),n.delay!=null)){i.previousNode.type==pe.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Js);let l=Or(n.delay);i.delayNextStep(l)}o.steps.length&&(o.steps.forEach(l=>Ut(this,l,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){let r=[],i=e.currentTimeline.currentTime,n=o.options&&o.options.delay?Or(o.options.delay):0;o.steps.forEach(l=>{let u=e.createSubContext(o.options);n&&u.delayNextStep(n),Ut(this,l,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(i),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){let r=o.strValue,i=e.params?$i(r,e.params,e.errors):r;return Bn(i,e.errors)}else return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){let r=e.currentAnimateTimings=this._visitTiming(o.timings,e),i=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),i.snapshotCurrentStyles());let n=o.style;n.type==pe.Keyframes?this.visitKeyframes(n,e):(e.incrementTime(r.duration),this.visitStyle(n,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){let r=e.currentTimeline,i=e.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let n=i&&i.easing||o.easing;o.isEmptyStep?r.applyEmptyStep(n):r.setStyles(o.styles,n,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){let r=e.currentAnimateTimings,i=e.currentTimeline.duration,n=r.duration,u=e.createSubContext().currentTimeline;u.easing=r.easing,o.styles.forEach(m=>{let _=m.offset||0;u.forwardTime(_*n),u.setStyles(m.styles,m.easing,e.errors,e.options),u.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(u),e.transformIntoNewTimeline(i+n),e.previousNode=o}visitQuery(o,e){let r=e.currentTimeline.currentTime,i=o.options||{},n=i.delay?Or(i.delay):0;n&&(e.previousNode.type===pe.Style||r==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Js);let l=r,u=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=u.length;let m=null;u.forEach((_,P)=>{e.currentQueryIndex=P;let M=e.createSubContext(o.options,_);n&&M.delayNextStep(n),_===e.element&&(m=M.currentTimeline),Ut(this,o.animation,M),M.currentTimeline.applyStylesToKeyframe();let L=M.currentTimeline.currentTime;l=Math.max(l,L)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),m&&(e.currentTimeline.mergeTimelineCollectedStyles(m),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){let r=e.parentContext,i=e.currentTimeline,n=o.timings,l=Math.abs(n.duration),u=l*(e.currentQueryTotal-1),m=l*e.currentQueryIndex;switch(n.duration<0?"reverse":n.easing){case"reverse":m=u-m;break;case"full":m=r.currentStaggerTime;break}let P=e.currentTimeline;m&&P.delayNextStep(m);let M=P.currentTime;Ut(this,o.animation,e),e.previousNode=o,r.currentStaggerTime=i.currentTime-M+(i.startTime-r.currentTimeline.startTime)}},Js={},$c=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Js;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(o,e,r,i,n,l,u,m){this._driver=o,this.element=e,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=n,this.errors=l,this.timelines=u,this.currentTimeline=m||new el(this._driver,e,0),u.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;let r=o,i=this.options;r.duration!=null&&(i.duration=Or(r.duration)),r.delay!=null&&(i.delay=Or(r.delay));let n=r.params;if(n){let l=i.params;l||(l=this.options.params={}),Object.keys(n).forEach(u=>{(!e||!l.hasOwnProperty(u))&&(l[u]=$i(n[u],l,this.errors))})}}_copyOptions(){let o={};if(this.options){let e=this.options.params;if(e){let r=o.params={};Object.keys(e).forEach(i=>{r[i]=e[i]})}}return o}createSubContext(o=null,e,r){let i=e||this.element,n=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return n.previousNode=this.previousNode,n.currentAnimateTimings=this.currentAnimateTimings,n.options=this._copyOptions(),n.updateOptions(o),n.currentQueryIndex=this.currentQueryIndex,n.currentQueryTotal=this.currentQueryTotal,n.parentContext=this,this.subContextCount++,n}transformIntoNewTimeline(o){return this.previousNode=Js,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,r){let i={duration:e??o.duration,delay:this.currentTimeline.currentTime+(r??0)+o.delay,easing:""},n=new Hc(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,i,o.stretchStartingKeyframe);return this.timelines.push(n),i}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,r,i,n,l){let u=[];if(i&&u.push(this.element),o.length>0){o=o.replace($E,"."+this._enterClassName),o=o.replace(GE,"."+this._leaveClassName);let m=r!=1,_=this._driver.query(this.element,o,m);r!==0&&(_=r<0?_.slice(_.length+r,_.length):_.slice(0,r)),u.push(..._)}return!n&&u.length==0&&l.push(pg(e)),u}},el=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(o,e,r,i){this._driver=o,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new t(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=jE,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles.set(o,e),this._globalTimelineStyles.set(o,e),this._styleSummary.set(o,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||Cr),this._currentKeyframe.set(e,Cr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,r,i){e&&this._previousKeyframe.set("easing",e);let n=i&&i.params||{},l=zE(o,this._globalTimelineStyles);for(let[u,m]of l){let _=$i(m,n,r);this._pendingStyles.set(u,_),this._localTimelineStyles.has(u)||this._backFill.set(u,this._globalTimelineStyles.get(u)??Cr),this._updateStyle(u,_)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((o,e)=>{this._currentKeyframe.set(e,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,o)}))}snapshotCurrentStyles(){for(let[o,e]of this._localTimelineStyles)this._pendingStyles.set(o,e),this._updateStyle(o,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((e,r)=>{let i=this._styleSummary.get(r);(!i||e.time>i.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let o=new Set,e=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((u,m)=>{let _=new Map([...this._backFill,...u]);_.forEach((P,M)=>{P===Dn?o.add(M):P===Cr&&e.add(M)}),r||_.set("offset",m/this.duration),i.push(_)});let n=[...o.values()],l=[...e.values()];if(r){let u=i[0],m=new Map(u);u.set("offset",0),m.set("offset",1),i=[u,m]}return Qc(this.element,i,n,l,this.duration,this.startTime,this.easing,!1)}},Hc=class extends el{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(o,e,r,i,n,l,u=!1){super(o,e,l.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=n,this._stretchStartingKeyframe=u,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){let n=[],l=r+e,u=e/l,m=new Map(o[0]);m.set("offset",0),n.push(m);let _=new Map(o[0]);_.set("offset",Fg(u)),n.push(_);let P=o.length-1;for(let M=1;M<=P;M++){let L=new Map(o[M]),U=L.get("offset"),A=e+U*r;L.set("offset",Fg(A/l)),n.push(L)}r=l,e=0,i="",o=n}return Qc(this.element,o,this.preStyleProps,this.postStyleProps,r,e,i,!0)}};function Fg(t,o=3){let e=Math.pow(10,o-1);return Math.round(t*e)/e}function zE(t,o){let e=new Map,r;return t.forEach(i=>{if(i==="*"){r??=o.keys();for(let n of r)e.set(n,Cr)}else for(let[n,l]of i)e.set(n,l)}),e}function Ng(t,o,e,r,i,n,l,u,m,_,P,M,L){return{type:0,element:t,triggerName:o,isRemovalTransition:i,fromState:e,fromStyles:n,toState:r,toStyles:l,timelines:u,queriedElements:m,preStyleProps:_,postStyleProps:P,totalTime:M,errors:L}}var Nc={},tl=class{_triggerName;ast;_stateStyles;constructor(o,e,r){this._triggerName=o,this.ast=e,this._stateStyles=r}match(o,e,r,i){return WE(this.ast.matchers,o,e,r,i)}buildStyles(o,e,r){let i=this._stateStyles.get("*");return o!==void 0&&(i=this._stateStyles.get(o?.toString())||i),i?i.buildStyles(e,r):new Map}build(o,e,r,i,n,l,u,m,_,P){let M=[],L=this.ast.options&&this.ast.options.params||Nc,U=u&&u.params||Nc,A=this.buildStyles(r,U,M),F=m&&m.params||Nc,le=this.buildStyles(i,F,M),Z=new Set,oe=new Map,he=new Map,G=i==="void",Q={params:zg(F,L),delay:this.ast.options?.delay},z=P?[]:Gg(o,e,this.ast.animation,n,l,A,le,Q,_,M),De=0;return z.forEach(Re=>{De=Math.max(Re.duration+Re.delay,De)}),M.length?Ng(e,this._triggerName,r,i,G,A,le,[],[],oe,he,De,M):(z.forEach(Re=>{let vt=Re.element,fr=Dt(oe,vt,new Set);Re.preStyleProps.forEach(Ft=>fr.add(Ft));let Xe=Dt(he,vt,new Set);Re.postStyleProps.forEach(Ft=>Xe.add(Ft)),vt!==e&&Z.add(vt)}),Ng(e,this._triggerName,r,i,G,A,le,z,[...Z.values()],oe,he,De))}};function WE(t,o,e,r,i){return t.some(n=>n(o,e,r,i))}function zg(t,o){let e=re({},o);return Object.entries(t).forEach(([r,i])=>{i!=null&&(e[r]=i)}),e}var Gc=class{styles;defaultParams;normalizer;constructor(o,e,r){this.styles=o,this.defaultParams=e,this.normalizer=r}buildStyles(o,e){let r=new Map,i=zg(o,this.defaultParams);return this.styles.styles.forEach(n=>{typeof n!="string"&&n.forEach((l,u)=>{l&&(l=$i(l,i,e));let m=this.normalizer.normalizePropertyName(u,e);l=this.normalizer.normalizeStyleValue(u,m,l,e),r.set(u,l)})}),r}};function VE(t,o,e){return new zc(t,o,e)}var zc=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(o,e,r){this.name=o,this.ast=e,this._normalizer=r,e.states.forEach(i=>{let n=i.options&&i.options.params||{};this.states.set(i.name,new Gc(i.style,n,r))}),xg(this.states,"true","1"),xg(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new tl(o,i,this.states))}),this.fallbackTransition=KE(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,r,i){return this.transitionFactories.find(l=>l.match(o,e,r,i))||null}matchStyles(o,e,r){return this.fallbackTransition.buildStyles(o,e,r)}};function KE(t,o,e){let r=[(l,u)=>!0],i={type:pe.Sequence,steps:[],options:null},n={type:pe.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new tl(t,n,o)}function xg(t,o,e){t.has(o)?t.has(e)||t.set(e,t.get(o)):t.has(e)&&t.set(o,t.get(e))}var qE=new Hn,Wc=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(o,e,r){this.bodyNode=o,this._driver=e,this._normalizer=r}register(o,e){let r=[],i=[],n=Hg(this._driver,e,r,i);if(r.length)throw gg(r);this._animations.set(o,n)}_buildPlayer(o,e,r){let i=o.element,n=wc(this._normalizer,o.keyframes,e,r);return this._driver.animate(i,n,o.duration,o.delay,o.easing,[],!0)}create(o,e,r={}){let i=[],n=this._animations.get(o),l,u=new Map;if(n?(l=Gg(this._driver,e,n,Ic,Gs,new Map,new Map,r,qE,i),l.forEach(P=>{let M=Dt(u,P.element,new Map);P.postStyleProps.forEach(L=>M.set(L,null))})):(i.push(_g()),l=[]),i.length)throw yg(i);u.forEach((P,M)=>{P.forEach((L,U)=>{P.set(U,this._driver.computeStyle(M,U,Cr))})});let m=l.map(P=>{let M=u.get(P.element);return this._buildPlayer(P,new Map,M)}),_=Yr(m);return this._playersById.set(o,_),_.onDestroy(()=>this.destroy(o)),this.players.push(_),_}destroy(o){let e=this._getPlayer(o);e.destroy(),this._playersById.delete(o);let r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(o){let e=this._playersById.get(o);if(!e)throw vg(o);return e}listen(o,e,r,i){let n=$s(e,"","","");return Bs(this._getPlayer(o),r,n,i),()=>{}}command(o,e,r,i){if(r=="register"){this.register(o,i[0]);return}if(r=="create"){let l=i[0]||{};this.create(o,e,l);return}let n=this._getPlayer(o);switch(r){case"play":n.play();break;case"pause":n.pause();break;case"reset":n.reset();break;case"restart":n.restart();break;case"finish":n.finish();break;case"init":n.init();break;case"setPosition":n.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(o);break}}},Lg="ng-animate-queued",YE=".ng-animate-queued",xc="ng-animate-disabled",QE=".ng-animate-disabled",XE="ng-star-inserted",ZE=".ng-star-inserted",JE=[],Wg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ew={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tr="__ng_removed",Gn=class{namespaceId;value;options;get params(){return this.options.params}constructor(o,e=""){this.namespaceId=e;let r=o&&o.hasOwnProperty("value"),i=r?o.value:o;if(this.value=rw(i),r){let n=o,{value:l}=n,u=du(n,["value"]);this.options=u}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){let e=o.params;if(e){let r=this.options.params;Object.keys(e).forEach(i=>{r[i]==null&&(r[i]=e[i])})}}},$n="void",Lc=new Gn($n),Vc=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(o,e,r){this.id=o,this.hostElement=e,this._engine=r,this._hostClassName="ng-tns-"+o,dr(e,this._hostClassName)}listen(o,e,r,i){if(!this._triggers.has(e))throw Sg(r,e);if(r==null||r.length==0)throw Cg(e);if(!ow(r))throw bg(r,e);let n=Dt(this._elementListeners,o,[]),l={name:e,phase:r,callback:i};n.push(l);let u=Dt(this._engine.statesByElement,o,new Map);return u.has(e)||(dr(o,Un),dr(o,Un+"-"+e),u.set(e,Lc)),()=>{this._engine.afterFlush(()=>{let m=n.indexOf(l);m>=0&&n.splice(m,1),this._triggers.has(e)||u.delete(e)})}}register(o,e){return this._triggers.has(o)?!1:(this._triggers.set(o,e),!0)}_getTrigger(o){let e=this._triggers.get(o);if(!e)throw Tg(o);return e}trigger(o,e,r,i=!0){let n=this._getTrigger(e),l=new zn(this.id,e,o),u=this._engine.statesByElement.get(o);u||(dr(o,Un),dr(o,Un+"-"+e),this._engine.statesByElement.set(o,u=new Map));let m=u.get(e),_=new Gn(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&m&&_.absorbOptions(m.options),u.set(e,_),m||(m=Lc),!(_.value===$n)&&m.value===_.value){if(!aw(m.params,_.params)){let F=[],le=n.matchStyles(m.value,m.params,F),Z=n.matchStyles(_.value,_.params,F);F.length?this._engine.reportError(F):this._engine.afterFlush(()=>{Ao(o,le),br(o,Z)})}return}let L=Dt(this._engine.playersByElement,o,[]);L.forEach(F=>{F.namespaceId==this.id&&F.triggerName==e&&F.queued&&F.destroy()});let U=n.matchTransition(m.value,_.value,o,_.params),A=!1;if(!U){if(!i)return;U=n.fallbackTransition,A=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:U,fromState:m,toState:_,player:l,isFallbackTransition:A}),A||(dr(o,Lg),l.onStart(()=>{Hi(o,Lg)})),l.onDone(()=>{let F=this.players.indexOf(l);F>=0&&this.players.splice(F,1);let le=this._engine.playersByElement.get(o);if(le){let Z=le.indexOf(l);Z>=0&&le.splice(Z,1)}}),this.players.push(l),L.push(l),l}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(e=>e.delete(o)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(i=>i.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);let e=this._engine.playersByElement.get(o);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){let r=this._engine.driver.query(o,jn,!0);r.forEach(i=>{if(i[Tr])return;let n=this._engine.fetchNamespacesByElement(i);n.size?n.forEach(l=>l.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(o,e,r,i){let n=this._engine.statesByElement.get(o),l=new Map;if(n){let u=[];if(n.forEach((m,_)=>{if(l.set(_,m.value),this._triggers.has(_)){let P=this.trigger(o,_,$n,i);P&&u.push(P)}}),u.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,l),r&&Yr(u).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){let e=this._elementListeners.get(o),r=this._engine.statesByElement.get(o);if(e&&r){let i=new Set;e.forEach(n=>{let l=n.name;if(i.has(l))return;i.add(l);let m=this._triggers.get(l).fallbackTransition,_=r.get(l)||Lc,P=new Gn($n),M=new zn(this.id,l,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:l,transition:m,fromState:_,toState:P,player:M,isFallbackTransition:!0})})}}removeNode(o,e){let r=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let i=!1;if(r.totalAnimations){let n=r.players.length?r.playersByQueriedElement.get(o):[];if(n&&n.length)i=!0;else{let l=o;for(;l=l.parentNode;)if(r.statesByElement.get(l)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(o),i)r.markElementAsRemoved(this.id,o,!1,e);else{let n=o[Tr];(!n||n===Wg)&&(r.afterFlush(()=>this.clearElementCache(o)),r.destroyInnerAnimations(o),r._onRemovalComplete(o,e))}}insertNode(o,e){dr(o,this._hostClassName)}drainQueuedTransitions(o){let e=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let n=r.element,l=this._elementListeners.get(n);l&&l.forEach(u=>{if(u.name==r.triggerName){let m=$s(n,r.triggerName,r.fromState.value,r.toState.value);m._data=o,Bs(r.player,u.phase,m,u.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(r)}),this._queue=[],e.sort((r,i)=>{let n=r.transition.ast.depCount,l=i.transition.ast.depCount;return n==0||l==0?n-l:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}},Kc=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(o,e)=>{};_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}constructor(o,e,r){this.bodyNode=o,this.driver=e,this._normalizer=r}get queuedPlayers(){let o=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&o.push(r)})}),o}createNamespace(o,e){let r=new Vc(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[o]=r}_balanceNamespaceList(o,e){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let l=!1,u=this.driver.getParentElement(e);for(;u;){let m=i.get(u);if(m){let _=r.indexOf(m);r.splice(_+1,0,o),l=!0;break}u=this.driver.getParentElement(u)}l||r.unshift(o)}else r.push(o);return i.set(e,o),o}register(o,e){let r=this._namespaceLookup[o];return r||(r=this.createNamespace(o,e)),r}registerTrigger(o,e,r){let i=this._namespaceLookup[o];i&&i.register(e,r)&&this.totalAnimations++}destroy(o,e){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(o);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(e),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){let e=new Set,r=this.statesByElement.get(o);if(r){for(let i of r.values())if(i.namespaceId){let n=this._fetchNamespace(i.namespaceId);n&&e.add(n)}}return e}trigger(o,e,r,i){if(Ys(e)){let n=this._fetchNamespace(o);if(n)return n.trigger(e,r,i),!0}return!1}insertNode(o,e,r,i){if(!Ys(e))return;let n=e[Tr];if(n&&n.setForRemoval){n.setForRemoval=!1,n.setForMove=!0;let l=this.collectedLeaveElements.indexOf(e);l>=0&&this.collectedLeaveElements.splice(l,1)}if(o){let l=this._fetchNamespace(o);l&&l.insertNode(e,r)}i&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),dr(o,xc)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Hi(o,xc))}removeNode(o,e,r){if(Ys(e)){let i=o?this._fetchNamespace(o):null;i?i.removeNode(e,r):this.markElementAsRemoved(o,e,!1,r);let n=this.namespacesByHostElement.get(e);n&&n.id!==o&&n.removeNode(e,r)}else this._onRemovalComplete(e,r)}markElementAsRemoved(o,e,r,i,n){this.collectedLeaveElements.push(e),e[Tr]={namespaceId:o,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:n}}listen(o,e,r,i,n){return Ys(e)?this._fetchNamespace(o).listen(e,r,i,n):()=>{}}_buildInstruction(o,e,r,i,n){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,r,i,o.fromState.options,o.toState.options,e,n)}destroyInnerAnimations(o){let e=this.driver.query(o,jn,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(o,zs,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(o){let e=this.playersByElement.get(o);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(o){let e=this.playersByQueriedElement.get(o);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Yr(this.players).onDone(()=>o());o()})}processLeaveNode(o){let e=o[Tr];if(e&&e.setForRemoval){if(o[Tr]=Wg,e.namespaceId){this.destroyInnerAnimations(o);let r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(o)}this._onRemovalComplete(o,e.setForRemoval)}o.classList?.contains(xc)&&this.markElementAsDisabled(o,!1),this.driver.query(o,QE,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let i=this.collectedEnterElements[r];dr(i,XE)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{e=this._flushAnimations(r,o)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],e.length?Yr(e).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(o){throw Eg(o)}_flushAnimations(o,e){let r=new Hn,i=[],n=new Map,l=[],u=new Map,m=new Map,_=new Map,P=new Set;this.disabledNodes.forEach(B=>{P.add(B);let V=this.driver.query(B,YE,!0);for(let q=0;q<V.length;q++)P.add(V[q])});let M=this.bodyNode,L=Array.from(this.statesByElement.keys()),U=jg(L,this.collectedEnterElements),A=new Map,F=0;U.forEach((B,V)=>{let q=Ic+F++;A.set(V,q),B.forEach(ae=>dr(ae,q))});let le=[],Z=new Set,oe=new Set;for(let B=0;B<this.collectedLeaveElements.length;B++){let V=this.collectedLeaveElements[B],q=V[Tr];q&&q.setForRemoval&&(le.push(V),Z.add(V),q.hasAnimation?this.driver.query(V,ZE,!0).forEach(ae=>Z.add(ae)):oe.add(V))}let he=new Map,G=jg(L,Array.from(Z));G.forEach((B,V)=>{let q=Gs+F++;he.set(V,q),B.forEach(ae=>dr(ae,q))}),o.push(()=>{U.forEach((B,V)=>{let q=A.get(V);B.forEach(ae=>Hi(ae,q))}),G.forEach((B,V)=>{let q=he.get(V);B.forEach(ae=>Hi(ae,q))}),le.forEach(B=>{this.processLeaveNode(B)})});let Q=[],z=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(q=>{let ae=q.player,Be=q.element;if(Q.push(ae),this.collectedEnterElements.length){let qe=Be[Tr];if(qe&&qe.setForMove){if(qe.previousTriggersValues&&qe.previousTriggersValues.has(q.triggerName)){let Yt=qe.previousTriggersValues.get(q.triggerName),it=this.statesByElement.get(q.element);if(it&&it.has(q.triggerName)){let Ur=it.get(q.triggerName);Ur.value=Yt,it.set(q.triggerName,Ur)}}ae.destroy();return}}let Oe=!M||!this.driver.containsElement(M,Be),ct=he.get(Be),ke=A.get(Be),Ue=this._buildInstruction(q,r,ke,ct,Oe);if(Ue.errors&&Ue.errors.length){z.push(Ue);return}if(Oe){ae.onStart(()=>Ao(Be,Ue.fromStyles)),ae.onDestroy(()=>br(Be,Ue.toStyles)),i.push(ae);return}if(q.isFallbackTransition){ae.onStart(()=>Ao(Be,Ue.fromStyles)),ae.onDestroy(()=>br(Be,Ue.toStyles)),i.push(ae);return}let $e=[];Ue.timelines.forEach(qe=>{qe.stretchStartingKeyframe=!0,this.disabledNodes.has(qe.element)||$e.push(qe)}),Ue.timelines=$e,r.append(Be,Ue.timelines);let wt={instruction:Ue,player:ae,element:Be};l.push(wt),Ue.queriedElements.forEach(qe=>Dt(u,qe,[]).push(ae)),Ue.preStyleProps.forEach((qe,Yt)=>{if(qe.size){let it=m.get(Yt);it||m.set(Yt,it=new Set),qe.forEach((Ur,eo)=>it.add(eo))}}),Ue.postStyleProps.forEach((qe,Yt)=>{let it=_.get(Yt);it||_.set(Yt,it=new Set),qe.forEach((Ur,eo)=>it.add(eo))})});if(z.length){let B=[];z.forEach(V=>{B.push(wg(V.triggerName,V.errors))}),Q.forEach(V=>V.destroy()),this.reportError(B)}let De=new Map,Re=new Map;l.forEach(B=>{let V=B.element;r.has(V)&&(Re.set(V,V),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,De))}),i.forEach(B=>{let V=B.element;this._getPreviousPlayers(V,!1,B.namespaceId,B.triggerName,null).forEach(ae=>{Dt(De,V,[]).push(ae),ae.destroy()})});let vt=le.filter(B=>Bg(B,m,_)),fr=new Map;Ug(fr,this.driver,oe,_,Cr).forEach(B=>{Bg(B,m,_)&&vt.push(B)});let Ft=new Map;U.forEach((B,V)=>{Ug(Ft,this.driver,new Set(B),m,Dn)}),vt.forEach(B=>{let V=fr.get(B),q=Ft.get(B);fr.set(B,new Map([...V?.entries()??[],...q?.entries()??[]]))});let Dr=[],Jr=[],ri={};l.forEach(B=>{let{element:V,player:q,instruction:ae}=B;if(r.has(V)){if(P.has(V)){q.onDestroy(()=>br(V,ae.toStyles)),q.disabled=!0,q.overrideTotalTime(ae.totalTime),i.push(q);return}let Be=ri;if(Re.size>1){let ct=V,ke=[];for(;ct=ct.parentNode;){let Ue=Re.get(ct);if(Ue){Be=Ue;break}ke.push(ct)}ke.forEach(Ue=>Re.set(Ue,Be))}let Oe=this._buildAnimation(q.namespaceId,ae,De,n,Ft,fr);if(q.setRealPlayer(Oe),Be===ri)Dr.push(q);else{let ct=this.playersByElement.get(Be);ct&&ct.length&&(q.parentPlayer=Yr(ct)),i.push(q)}}else Ao(V,ae.fromStyles),q.onDestroy(()=>br(V,ae.toStyles)),Jr.push(q),P.has(V)&&i.push(q)}),Jr.forEach(B=>{let V=n.get(B.element);if(V&&V.length){let q=Yr(V);B.setRealPlayer(q)}}),i.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B<le.length;B++){let V=le[B],q=V[Tr];if(Hi(V,Gs),q&&q.hasAnimation)continue;let ae=[];if(u.size){let Oe=u.get(V);Oe&&Oe.length&&ae.push(...Oe);let ct=this.driver.query(V,zs,!0);for(let ke=0;ke<ct.length;ke++){let Ue=u.get(ct[ke]);Ue&&Ue.length&&ae.push(...Ue)}}let Be=ae.filter(Oe=>!Oe.destroyed);Be.length?iw(this,V,Be):this.processLeaveNode(V)}return le.length=0,Dr.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();let V=this.players.indexOf(B);this.players.splice(V,1)}),B.play()}),Dr}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,r,i,n){let l=[];if(e){let u=this.playersByQueriedElement.get(o);u&&(l=u)}else{let u=this.playersByElement.get(o);if(u){let m=!n||n==$n;u.forEach(_=>{_.queued||!m&&_.triggerName!=i||l.push(_)})}}return(r||i)&&(l=l.filter(u=>!(r&&r!=u.namespaceId||i&&i!=u.triggerName))),l}_beforeAnimationBuild(o,e,r){let i=e.triggerName,n=e.element,l=e.isRemovalTransition?void 0:o,u=e.isRemovalTransition?void 0:i;for(let m of e.timelines){let _=m.element,P=_!==n,M=Dt(r,_,[]);this._getPreviousPlayers(_,P,l,u,e.toState).forEach(U=>{let A=U.getRealPlayer();A.beforeDestroy&&A.beforeDestroy(),U.destroy(),M.push(U)})}Ao(n,e.fromStyles)}_buildAnimation(o,e,r,i,n,l){let u=e.triggerName,m=e.element,_=[],P=new Set,M=new Set,L=e.timelines.map(A=>{let F=A.element;P.add(F);let le=F[Tr];if(le&&le.removedBeforeQueried)return new qr(A.duration,A.delay);let Z=F!==m,oe=nw((r.get(F)||JE).map(De=>De.getRealPlayer())).filter(De=>{let Re=De;return Re.element?Re.element===F:!1}),he=n.get(F),G=l.get(F),Q=wc(this._normalizer,A.keyframes,he,G),z=this._buildPlayer(A,Q,oe);if(A.subTimeline&&i&&M.add(F),Z){let De=new zn(o,u,F);De.setRealPlayer(z),_.push(De)}return z});_.forEach(A=>{Dt(this.playersByQueriedElement,A.element,[]).push(A),A.onDone(()=>tw(this.playersByQueriedElement,A.element,A))}),P.forEach(A=>dr(A,Rc));let U=Yr(L);return U.onDestroy(()=>{P.forEach(A=>Hi(A,Rc)),br(m,e.toStyles)}),M.forEach(A=>{Dt(i,A,[]).push(U)}),U}_buildPlayer(o,e,r){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,r):new qr(o.duration,o.delay)}},zn=class{namespaceId;triggerName;element;_player=new qr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(o,e,r){this.namespaceId=o,this.triggerName=e,this.element=r}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((e,r)=>{e.forEach(i=>Bs(o,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){let e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){Dt(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){let e=this._player;e.triggerCallback&&e.triggerCallback(o)}};function tw(t,o,e){let r=t.get(o);if(r){if(r.length){let i=r.indexOf(e);r.splice(i,1)}r.length==0&&t.delete(o)}return r}function rw(t){return t??null}function Ys(t){return t&&t.nodeType===1}function ow(t){return t=="start"||t=="done"}function Dg(t,o){let e=t.style.display;return t.style.display=o??"none",e}function Ug(t,o,e,r,i){let n=[];e.forEach(m=>n.push(Dg(m)));let l=[];r.forEach((m,_)=>{let P=new Map;m.forEach(M=>{let L=o.computeStyle(_,M,i);P.set(M,L),(!L||L.length==0)&&(_[Tr]=ew,l.push(_))}),t.set(_,P)});let u=0;return e.forEach(m=>Dg(m,n[u++])),l}function jg(t,o){let e=new Map;if(t.forEach(u=>e.set(u,[])),o.length==0)return e;let r=1,i=new Set(o),n=new Map;function l(u){if(!u)return r;let m=n.get(u);if(m)return m;let _=u.parentNode;return e.has(_)?m=_:i.has(_)?m=r:m=l(_),n.set(u,m),m}return o.forEach(u=>{let m=l(u);m!==r&&e.get(m).push(u)}),e}function dr(t,o){t.classList?.add(o)}function Hi(t,o){t.classList?.remove(o)}function iw(t,o,e){Yr(e).onDone(()=>t.processLeaveNode(o))}function nw(t){let o=[];return Vg(t,o),o}function Vg(t,o){for(let e=0;e<t.length;e++){let r=t[e];r instanceof ji?Vg(r.players,o):o.push(r)}}function aw(t,o){let e=Object.keys(t),r=Object.keys(o);if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){let n=e[i];if(!o.hasOwnProperty(n)||t[n]!==o[n])return!1}return!0}function Bg(t,o,e){let r=e.get(t);if(!r)return!1;let i=o.get(t);return i?r.forEach(n=>i.add(n)):o.set(t,r),e.delete(t),!0}var Gi=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(o,e)=>{};constructor(o,e,r){this._driver=e,this._normalizer=r,this._transitionEngine=new Kc(o.body,e,r),this._timelineEngine=new Wc(o.body,e,r),this._transitionEngine.onRemovalComplete=(i,n)=>this.onRemovalComplete(i,n)}registerTrigger(o,e,r,i,n){let l=o+"-"+i,u=this._triggerCache[l];if(!u){let m=[],_=[],P=Hg(this._driver,n,m,_);if(m.length)throw hg(i,m);u=VE(i,P,this._normalizer),this._triggerCache[l]=u}this._transitionEngine.registerTrigger(e,i,u)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,r,i){this._transitionEngine.insertNode(o,e,r,i)}onRemove(o,e,r){this._transitionEngine.removeNode(o,e,r)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,r,i){if(r.charAt(0)=="@"){let[n,l]=Mc(r),u=i;this._timelineEngine.command(n,e,l,u)}else this._transitionEngine.trigger(o,e,r,i)}listen(o,e,r,i,n){if(r.charAt(0)=="@"){let[l,u]=Mc(r);return this._timelineEngine.listen(l,e,u,n)}return this._transitionEngine.listen(o,e,r,i,n)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}};function sw(t,o){let e=null,r=null;return Array.isArray(o)&&o.length?(e=Dc(o[0]),o.length>1&&(r=Dc(o[o.length-1]))):o instanceof Map&&(e=Dc(o)),e||r?new lw(t,e,r):null}var lw=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,r,i){this._element=e,this._startStyles=r,this._endStyles=i;let n=t.initialStylesByElement.get(e);n||t.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&br(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(br(this._element,this._initialStyles),this._endStyles&&(br(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ao(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ao(this._element,this._endStyles),this._endStyles=null),br(this._element,this._initialStyles),this._state=3)}}return t})();function Dc(t){let o=null;return t.forEach((e,r)=>{cw(r)&&(o=o||new Map,o.set(r,e))}),o}function cw(t){return t==="display"||t==="position"}var rl=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(o,e,r,i){this.element=o,this.keyframes=e,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let o=this.keyframes,e=this._triggerWebAnimation(this.element,o,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=o.length?o[o.length-1]:new Map;let r=()=>this._onFinish();return e.addEventListener("finish",r),this.onDestroy(()=>{e.removeEventListener("finish",r)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(o){let e=[];return o.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(o,e,r){let i=this._convertKeyframesToObject(e);try{return o.animate(i,r)}catch(n){return null}}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){let o=this._buildPlayer();o&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),o.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=o*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&o.set(i,this._finished?r:Vs(this.element,i))}),this.currentSnapshot=o}triggerCallback(o){let e=o==="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},ol=class{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}containsElement(o,e){return kc(o,e)}getParentElement(o){return Hs(o)}query(o,e,r){return Pc(o,e,r)}computeStyle(o,e,r){return Vs(o,e)}animate(o,e,r,i,n,l=[]){let u=i==0?"both":"forwards",m={duration:r,delay:i,fill:u};n&&(m.easing=n);let _=new Map,P=l.filter(U=>U instanceof rl);Ag(r,i)&&P.forEach(U=>{U.currentSnapshot.forEach((A,F)=>_.set(F,A))});let M=kg(e).map(U=>new Map(U));M=Ig(o,M,_);let L=sw(o,M);return new rl(o,M,m,L)}};var Qs="@",Kg="@.disabled",il=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(o,e,r,i){this.namespaceId=o,this.delegate=e,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,r,i=!0){this.delegate.insertBefore(o,e,r),this.engine.onInsert(this.namespaceId,e,o,i)}removeChild(o,e,r,i){if(i){this.delegate.removeChild(o,e,r,i);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,r,i){this.delegate.setAttribute(o,e,r,i)}removeAttribute(o,e,r){this.delegate.removeAttribute(o,e,r)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,r,i){this.delegate.setStyle(o,e,r,i)}removeStyle(o,e,r){this.delegate.removeStyle(o,e,r)}setProperty(o,e,r){e.charAt(0)==Qs&&e==Kg?this.disableAnimations(o,!!r):this.delegate.setProperty(o,e,r)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,r,i){return this.delegate.listen(o,e,r,i)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}},qc=class extends il{factory;constructor(o,e,r,i,n){super(e,r,i,n),this.factory=o,this.namespaceId=e}setProperty(o,e,r){e.charAt(0)==Qs?e.charAt(1)=="."&&e==Kg?(r=r===void 0?!0:!!r,this.disableAnimations(o,r)):this.engine.process(this.namespaceId,o,e.slice(1),r):this.delegate.setProperty(o,e,r)}listen(o,e,r,i){if(e.charAt(0)==Qs){let n=dw(o),l=e.slice(1),u="";return l.charAt(0)!=Qs&&([l,u]=uw(l)),this.engine.listen(this.namespaceId,n,l,u,m=>{let _=m._data||-1;this.factory.scheduleListenerCallback(_,r,m)})}return this.delegate.listen(o,e,r,i)}};function dw(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function uw(t){let o=t.indexOf("."),e=t.substring(0,o),r=t.slice(o+1);return[e,r]}var nl=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(o,e,r){this.delegate=o,this.engine=e,this._zone=r,e.onRemovalComplete=(i,n)=>{n?.removeChild(null,i)}}createRenderer(o,e){let i=this.delegate.createRenderer(o,e);if(!o||!e?.data?.animation){let _=this._rendererCache,P=_.get(i);if(!P){let M=()=>_.delete(i);P=new il("",i,this.engine,M),_.set(i,P)}return P}let n=e.id,l=e.id+"-"+this._currentId;this._currentId++,this.engine.register(l,o);let u=_=>{Array.isArray(_)?_.forEach(u):this.engine.registerTrigger(n,l,o,_.name,_)};return e.data.animation.forEach(u),new qc(this,l,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(o,e,r){if(o>=0&&o<this._microtaskId){this._zone.run(()=>e(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>
1{i.forEach(n=>{let[l,u]=n;l(u)}),this._animationCallbacksBuffer=[]})}),i.push([e,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(o){this.engine.flush(),this.delegate.componentReplaced?.(o)}};var mw=(()=>{class t extends Gi{constructor(e,r,i){super(e,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(X(fo),X(Xo),X(Zo))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();function fw(){return new Xs}function hw(){return new nl(d(ju),d(Gi),d(ho))}var qg=[{provide:Zo,useFactory:fw},{provide:Gi,useClass:mw},{provide:Ma,useFactory:hw}],gw=[{provide:Xo,useClass:Yc},{provide:ec,useValue:"NoopAnimations"},...qg],Mk=[{provide:Xo,useFactory:()=>new ol},{provide:ec,useFactory:()=>"BrowserAnimations"},...qg];function Yg(){return[...gw]}var al=(()=>{class t{winRef=d(de);showButton=wu(!1);onScroll(){this.showButton.set(!!this.winRef.nativeWindow?.scrollY)}scrollTop(){this.winRef.nativeWindow?.scroll({top:0,left:0,behavior:"smooth"})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-back-to-top"]],hostBindings:function(r,i){r&1&&zt("scroll",function(){return i.onScroll()},ku)},decls:3,vars:11,consts:[[1,"back-to-top-btn",3,"onClick","label","ariaLabel","icon","iconPlacement","color"]],template:function(r,i){r&1&&(ne(0,"trn-button",0),ee(1,"cxTranslate"),ee(2,"cxTranslate"),zt("onClick",function(){return i.scrollTop()}),ge()),r&2&&(Ia("hidden",!i.showButton()),We("label",te(1,7,"common.back_to_top"))("ariaLabel",te(2,9,"common.back_to_top"))("icon","expand_less")("iconPlacement","icon-right")("color","quaternary"))},dependencies:[bo,sr,ar],styles:[".back-to-top-btn[_ngcontent-%COMP%]{transition:all .15s cubic-bezier(.35,0,0,1);position:fixed;bottom:0;left:50%;z-index:2;margin-bottom:16px;transform:translate(-50%)}@media all and (min-width:992px){.back-to-top-btn[_ngcontent-%COMP%]{margin-bottom:24px}}.back-to-top-btn.hidden[_ngcontent-%COMP%]{opacity:0;pointer-events:none}"],changeDetection:0})}return t})();var vw=new xe("",{factory:()=>{let{defaultView:t}=d(fo);if(!t)throw new Error("Window is not available");return t}});var Xc=new xe("",{factory:()=>d(vw).navigator}),sl=new xe("",{factory:()=>d(Xc).mediaDevices});var Qg=new xe("",{factory:()=>d(Xc).permissions}),Sw=new xe("",{factory:()=>!!d(Qg)}),ll=(()=>{class t{isServer=mi(d(tr));permissions=d(Qg);permissionsSupported=d(Sw);state(e){let r=typeof e=="string"?{name:e}:e;return this.isServer?_t:new fn(i=>this.permissionsSupported?hn(this.permissions.query(r)).pipe(N(n=>Ho(n,"change").pipe(xt(null),v(()=>n.state)))).subscribe(i):(i.error("Permissions is not supported in your browser"),new Pe)).pipe(fe({bufferSize:1,refCount:!0}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var o_=ft(Et());var Xg=t=>{let o,e=new Set,r=(l,u)=>{let m=typeof l=="function"?l(o):l;if(!Object.is(m,o)){let _=o;o=u??typeof m!="object"?m:Object.assign({},o,m),e.forEach(P=>P(o,_))}},i=()=>o,n={setState:r,getState:i,subscribe:l=>(e.add(l),()=>e.delete(l)),destroy:()=>{e.clear()}};return o=t(r,i,n),n},Cw=t=>t?Xg(t):Xg,bw={locateFile:(t,o)=>{var e;let r=(e=t.match(/_(.+?)\.wasm$/))==null?void 0:e[1];return r?`https://fastly.jsdelivr.net/npm/@sec-ant/[email protected]/dist/${r}/${t}`:o+t}},zi=Cw()(()=>({zxingModuleWeakMap:new WeakMap,zxingModuleOverrides:bw}));function Jc(t){zi.setState({zxingModuleOverrides:t})}function Jg(t,o=zi.getState().zxingModuleOverrides){let{zxingModuleWeakMap:e}=zi.getState(),r=e.get(t);if(r&&Object.is(o,zi.getState().zxingModuleOverrides))return r;{zi.setState({zxingModuleOverrides:o});let i=t(o);return e.set(t,i),i}}var Zc=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","UPC-A","UPC-E"];var Qr={tryHarder:!0,formats:[],maxSymbols:255};
1function e_(n){return _a(this,arguments,function*(t,{tryHarder:o=Qr.tryHarder,formats:e=Qr.formats,maxSymbols:r=Qr.maxSymbols}=Qr,i){let l=yield Jg(i,zi.getState().zxingModuleOverrides),{data:u,width:m,height:_,data:{byteLength:P}}=t,M=l._malloc(P);l.HEAPU8.set(u,M);let L=l.readBarcodesFromPixmap(M,m,_,o,Tw(e),r);l._free(M);let U=[];for(let A=0;A<L.size();++A){let F=L.get(A);U.push(He(re({},F),{format:Ew(F.format)}))}return U})}function Tw(t){return t.join("|")}function Ew(t){let o=Zg(t),e=0,r=Zc.length-1;for(;e<=r;){let i=Math.floor((e+r)/2),n=Zc[i],l=Zg(n);if(l===o)return n;l<o?e=i+1:r=i-1}return"None"}function Zg(t){return t.toLowerCase().replace(/_-\[\]/g,"")}var ww=(()=>{var t=import.meta.url;return function(o={}){var e=o,r,i;e.ready=new Promise((a,s)=>{r=a,i=s});var n=Object.assign({},e),l="./this.program",u=typeof window=="object",m=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&process.versions.node;var _="";function P(a){return e.locateFile?e.locateFile(a,_):_+a}var M;(u||m)&&(m?_=self.location.href:typeof document<"u"&&document.currentScript&&(_=document.currentScript.src),t&&(_=t),_.indexOf("blob:")!==0?_=_.substr(0,_.replace(/[?#].*/,"").lastIndexOf("/")+1):_="",m&&(M=a=>{var s=new XMLHttpRequest;return s.open("GET",a,!1),s.responseType="arraybuffer",s.send(null),new Uint8Array(s.response)})),e.print||console.log.bind(console);var L=e.printErr||console.error.bind(console);Object.assign(e,n),n=null,e.arguments&&e.arguments,e.thisProgram&&(l=e.thisProgram),e.quit&&e.quit;var U;e.wasmBinary&&(U=e.wasmBinary),typeof WebAssembly!="object"&&ke("no native wasm support detected");var A,F=!1;function le(a,s){a||ke(s)}var Z,oe,he,G,Q,z,De,Re;function vt(){var a=A.buffer;e.HEAP8=Z=new Int8Array(a),e.HEAP16=he=new Int16Array(a),e.HEAPU8=oe=new Uint8Array(a),e.HEAPU16=G=new Uint16Array(a),e.HEAP32=Q=new Int32Array(a),e.HEAPU32=z=new Uint32Array(a),e.HEAPF32=De=new Float32Array(a),e.HEAPF64=Re=new Float64Array(a)}var fr=[],Xe=[],Ft=[];function Dr(){if(e.preRun)for(typeof e.preRun=="function"&&(e.preRun=[e.preRun]);e.preRun.length;)B(e.preRun.shift());wr(fr)}function Jr(){wr(Xe)}function ri(){if(e.postRun)for(typeof e.postRun=="function"&&(e.postRun=[e.postRun]);e.postRun.length;)q(e.postRun.shift());wr(Ft)}function B(a){fr.unshift(a)}function V(a){Xe.unshift(a)}function q(a){Ft.unshift(a)}var ae=0,Be=null;function Oe(a){ae++,e.monitorRunDependencies&&e.monitorRunDependencies(ae)}function ct(a){if(ae--,e.monitorRunDependencies&&e.monitorRunDependencies(ae),ae==0&&Be){var s=Be;Be=null,s()}}function ke(a){e.onAbort&&e.onAbort(a),a="Aborted("+a+")",L(a),F=!0,a+=". Build with -sASSERTIONS for more info.";var s=new WebAssembly.RuntimeError(a);throw i(s),s}var Ue="data:application/octet-stream;base64,",$e=a=>a.startsWith(Ue),wt;e.locateFile?(wt="zxing_full.wasm",$e(wt)||(wt=P(wt))):wt=new URL("/full/zxing_full.wasm",self.location).href;function qe(a){if(a==wt&&U)return new Uint8Array(U);if(M)return M(a);throw"both async and sync fetching of the wasm failed"}function Yt(a){return!U&&(u||m)&&typeof fetch=="function"?fetch(a,{credentials:"same-origin"}).then(s=>{if(!s.ok)throw"failed to load wasm binary file at '"+a+"'";return s.arrayBuffer()}).catch(()=>qe(a)):Promise.resolve().then(()=>qe(a))}function it(a,s,c){return Yt(a).then(p=>WebAssembly.instantiate(p,s)).then(p=>p).then(c,p=>{L(`failed to asynchronously prepare wasm: ${p}`),ke(p)})}function Ur(a,s,c,p){return!a&&typeof WebAssembly.instantiateStreaming=="function"&&!$e(s)&&typeof fetch=="function"?fetch(s,{credentials:"same-origin"}).then(y=>{var T=WebAssembly.instantiateStreaming(y,c);return T.then(p,function(E){return L(`wasm streaming compile failed: ${E}`),L("falling back to ArrayBuffer instantiation"),it(s,c,p)})}):it(s,c,p)}function eo(){var a={a:xT};function s(p,y){return Ye=p.exports,A=Ye.ra,vt(),$d=Ye.va,V(Ye.sa),ct(),Ye}Oe();function c(p){s(p.instance)}if(e.instantiateWasm)try{return e.instantiateWasm(a,s)}catch(p){L(`Module.instantiateWasm callback failed with error: ${p}`),i(p)}return Ur(U,wt,a,c).catch(i),{}}var wr=a=>{for(;a.length>0;)a.shift()(e)};e.noExitRuntime;var to=[],Qt=0,on=a=>{var s=new jr(a);return s.get_caught()||(s.set_caught(!0),Qt--),s.set_rethrown(!1),to.push(s),iu(s.excPtr),s.get_exception_ptr()},Bt=0,ro=()=>{ye(0,0);var a=to.pop();ou(a.excPtr),Bt=0};
1function jr(a){this.excPtr=a,this.ptr=a-24,this.set_type=function(s){z[this.ptr+4>>2]=s},this.get_type=function(){return z[this.ptr+4>>2]},this.set_destructor=function(s){z[this.ptr+8>>2]=s},this.get_destructor=function(){return z[this.ptr+8>>2]},this.set_caught=function(s){s=s?1:0,Z[this.ptr+12>>0]=s},this.get_caught=function(){return Z[this.ptr+12>>0]!=0},this.set_rethrown=function(s){s=s?1:0,Z[this.ptr+13>>0]=s},this.get_rethrown=function(){return Z[this.ptr+13>>0]!=0},this.init=function(s,c){this.set_adjusted_ptr(0),this.set_type(s),this.set_destructor(c)},this.set_adjusted_ptr=function(s){z[this.ptr+16>>2]=s},this.get_adjusted_ptr=function(){return z[this.ptr+16>>2]},this.get_exception_ptr=function(){var s=au(this.get_type());if(s)return z[this.excPtr>>2];var c=this.get_adjusted_ptr();return c!==0?c:this.excPtr}}var oi=a=>{throw Bt||(Bt=a),Bt},ii=a=>{var s=Bt;if(!s)return mn(0),0;var c=new jr(s);c.set_adjusted_ptr(s);var p=c.get_type();if(!p)return mn(0),s;for(var y in a){var T=a[y];if(T===0||T===p)break;var E=c.ptr+16;if(nu(T,p,E))return mn(T),s}return mn(p),s},ia=()=>ii([]),jl=a=>ii([a]),nn=(a,s)=>ii([a,s]),xo=a=>{var s=new jr(a).get_exception_ptr();return s},oo=()=>{var a=to.pop();a||ke("no exception to throw");var s=a.excPtr;throw a.get_rethrown()||(to.push(a),a.set_rethrown(!0),a.set_caught(!1),Qt++),Bt=s,Bt},io=(a,s,c)=>{var p=new jr(a);throw p.init(s,c),Bt=a,Qt++,Bt},na=()=>Qt,Lo={},an=a=>{for(;a.length;){var s=a.pop(),c=a.pop();c(s)}};function Do(a){return this.fromWireType(Q[a>>2])}var Br={},Xt={},$r={},Zt,hr=a=>{throw new Zt(a)},gr=(a,s,c)=>{a.forEach(function(w){$r[w]=s});function p(w){var k=c(w);k.length!==a.length&&hr("Mismatched type converter count");for(var I=0;I<a.length;++I)je(a[I],k[I])}var y=new Array(s.length),T=[],E=0;s.forEach((w,k)=>{Xt.hasOwnProperty(w)?y[k]=Xt[w]:(T.push(w),Br.hasOwnProperty(w)||(Br[w]=[]),Br[w].push(()=>{y[k]=Xt[w],++E,E===T.length&&p(y)}))}),T.length===0&&p(y)},sn=a=>{var s=Lo[a];delete Lo[a];var c=s.rawConstructor,p=s.rawDestructor,y=s.fields,T=y.map(E=>E.getterReturnType).concat(y.map(E=>E.setterArgumentType));gr([a],T,E=>{var w={};return y.forEach((k,I)=>{var j=k.fieldName,Y=E[I],ce=k.getter,we=k.getterContext,Ve=E[I+y.length],pt=k.setter,Ke=k.setterContext;w[j]={read:mt=>Y.fromWireType(ce(we,mt)),write:(mt,R)=>{var W=[];pt(Ke,mt,Ve.toWireType(W,R)),an(W)}}}),[{name:s.name,fromWireType:k=>{var I={};for(var j in w)I[j]=w[j].read(k);return p(k),I},toWireType:(k,I)=>{for(var j in w)if(!(j in I))throw new TypeError(`Missing field: "${j}"`);var Y=c();for(j in w)w[j].write(Y,I[j]);return k!==null&&k.push(p,Y),Y},argPackAdvance:St,readValueFromPointer:Do,destructorFunction:p}]})},Bl=(a,s,c,p,y)=>{},ni=()=>{for(var a=new Array(256),s=0;s<256;++s)a[s]=String.fromCharCode(s);Uo=a},Uo,dt=a=>{for(var s="",c=a;oe[c];)s+=Uo[oe[c++]];return s},Jt,Se=a=>{throw new Jt(a)};function $l(a,s,c={}){var p=s.name;if(a||Se(`type "${p}" must have a positive integer typeid pointer`),Xt.hasOwnProperty(a)){if(c.ignoreDuplicateRegistrations)return;Se(`Cannot register type '${p}' twice`)}if(Xt[a]=s,delete $r[a],Br.hasOwnProperty(a)){var y=Br[a];delete Br[a],y.forEach(T=>T())}}function je(a,s,c={}){if(!("argPackAdvance"in s))throw new TypeError("registerType registeredInstance requires argPackAdvance");return $l(a,s,c)}var St=8,Hl=(a,s,c,p)=>{s=dt(s),je(a,{name:s,fromWireType:function(y){return!!y},toWireType:function(y,T){return T?c:p},argPackAdvance:St,readValueFromPointer:function(y){return this.fromWireType(oe[y])},destructorFunction:null})},aa=a=>({count:a.count,deleteScheduled:a.deleteScheduled,preservePointerOnDelete:a.preservePointerOnDelete,ptr:a.ptr,ptrType:a.ptrType,smartPtr:a.smartPtr,smartPtrType:a.smartPtrType}),jo=a=>{function s(c){return c.$$.ptrType.registeredClass.name}Se(s(a)+" instance already deleted")},ai=!1,ln=a=>{},Gl=a=>{a.smartPtr?a.smartPtrType.rawDestructor(a.smartPtr):a.ptrType.registeredClass.rawDestructor(a.ptr)},$t=a=>{a.count.value-=1;var s=a.count.value===0;s&&Gl(a)},Bo=(a,s,c)=>{if(s===c)return a;if(c.baseClass===void 0)return null;var p=Bo(a,s,c.baseClass);return p===null?null:c.downcast(p)},cn={},sa=()=>Object.keys(so).length,dn=()=>{var a=[];for(var s in so)so.hasOwnProperty(s)&&a.push(so[s]);return a},no=[],Ht=()=>{for(;no.length;){var a=no.pop();a.$$.deleteScheduled=!1,a.delete()}},ao,la=a=>{ao=a,no.length&&ao&&ao(Ht)},ca=()=>{e.getInheritedInstanceCount=sa,e.getLiveInheritedInstances=dn,e.flushPendingDeletes=Ht,e.setDelayFunction=la},so={},zl=(a,s)=>{for(s===void 0&&Se("ptr should not be undefined");a.baseClass;)s=a.upcast(s),a=a.baseClass;return s},K=(a,s)=>(s=zl(a,s),so[s]),C=(a,s)=>{(!s.ptrType||!s.ptr)&&hr("makeClassHandle requires ptr and ptrType");var c=!!s.smartPtrType,p=!!s.smartPtr;
vendor: 1,700 bytes, line 1
1return c!==p&&hr("Both smartPtrType and smartPtr must be specified"),s.count={value:1},$(Object.create(a,{$$:{value:s}}))};function O(a){var s=this.getPointee(a);if(!s)return this.destructor(a),null;var c=K(this.registeredClass,s);if(c!==void 0){if(c.$$.count.value===0)return c.$$.ptr=s,c.$$.smartPtr=a,c.clone();var p=c.clone();return this.destructor(a),p}function y(){return this.isSmartPointer?C(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:s,smartPtrType:this,smartPtr:a}):C(this.registeredClass.instancePrototype,{ptrType:this,ptr:a})}var T=this.registeredClass.getActualType(s),E=cn[T];if(!E)return y.call(this);var w;this.isConst?w=E.constPointerType:w=E.pointerType;var k=Bo(s,this.registeredClass,w.registeredClass);return k===null?y.call(this):this.isSmartPointer?C(w.registeredClass.instancePrototype,{ptrType:w,ptr:k,smartPtrType:this,smartPtr:a}):C(w.registeredClass.instancePrototype,{ptrType:w,ptr:k})}var $=a=>typeof FinalizationRegistry>"u"?($=s=>s,a):(ai=new FinalizationRegistry(s=>{$t(s.$$)}),$=s=>{var c=s.$$,p=!!c.smartPtr;if(p){var y={$$:c};ai.register(s,y,s)}return s},ln=s=>ai.unregister(s),$(a)),ze=()=>{Object.assign(Ze.prototype,{isAliasOf(a){if(!(this instanceof Ze)||!(a instanceof Ze))return!1;var s=this.$$.ptrType.registeredClass,c=this.$$.ptr;a.$$=a.$$;for(var p=a.$$.ptrType.registeredClass,y=a.$$.ptr;s.baseClass;)c=s.upcast(c),s=s.baseClass;for(;p.baseClass;)y=p.upcast(y),p=p.baseClass;return s===p&&c===y},clone(){if(this.$$.ptr||jo(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var a=$(Object.create(Object.getPrototypeOf(this),{$$:{value:aa(this.$$)}}));return a.$$.count.value+=1,a.$$.deleteScheduled=!1,a}
vendor: 4,383 bytes, line 1
1,delete(){this.$$.ptr||jo(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Se("Object already scheduled for deletion"),ln(this),$t(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||jo(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Se("Object already scheduled for deletion"),no.push(this),no.length===1&&ao&&ao(Ht),this.$$.deleteScheduled=!0,this}})};function Ze(){}var nt=48,Ct=57,Gt=a=>{if(a===void 0)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var s=a.charCodeAt(0);return s>=nt&&s<=Ct?`_${a}`:a};function lo(a,s){return a=Gt(a),{[a]:function(){return s.apply(this,arguments)}}[a]}var ut=(a,s,c)=>{if(a[s].overloadTable===void 0){var p=a[s];a[s]=function(){return a[s].overloadTable.hasOwnProperty(arguments.length)||Se(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[s].overloadTable})!`),a[s].overloadTable[arguments.length].apply(this,arguments)},a[s].overloadTable=[],a[s].overloadTable[p.argCount]=p}},un=(a,s,c)=>{e.hasOwnProperty(a)?((c===void 0||e[a].overloadTable!==void 0&&e[a].overloadTable[c]!==void 0)&&Se(`Cannot register public name '${a}' twice`),ut(e,a,a),e.hasOwnProperty(c)&&Se(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`),e[a].overloadTable[c]=s):(e[a]=s,c!==void 0&&(e[a].numArguments=c))};function da(a,s,c,p,y,T,E,w){this.name=a,this.constructor=s,this.instancePrototype=c,this.rawDestructor=p,this.baseClass=y,this.getActualType=T,this.upcast=E,this.downcast=w,this.pureVirtualFunctions=[]}var Wl=(a,s,c)=>{for(;s!==c;)s.upcast||Se(`Expected null or instance of ${c.name}, got an instance of ${s.name}`),a=s.upcast(a),s=s.baseClass;return a};function Ob(a,s){if(s===null)return this.isReference&&Se(`null is not a valid ${this.name}`),0;s.$$||Se(`Cannot pass "${ql(s)}" as a ${this.name}`),s.$$.ptr||Se(`Cannot pass deleted object as a pointer of type ${this.name}`);var c=s.$$.ptrType.registeredClass,p=Wl(s.$$.ptr,c,this.registeredClass);return p}function Fb(a,s){var c;if(s===null)return this.isReference&&Se(`null is not a valid ${this.name}`),this.isSmartPointer?(c=this.rawConstructor(),a!==null&&a.push(this.rawDestructor,c),c):0;s.$$||Se(`Cannot pass "${ql(s)}" as a ${this.name}`),s.$$.ptr||Se(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&s.$$.ptrType.isConst&&Se(`Cannot convert argument of type ${s.$$.smartPtrType?s.$$.smartPtrType.name:s.$$.ptrType.name} to parameter type ${this.name}`);var p=s.$$.ptrType.registeredClass;if(c=Wl(s.$$.ptr,p,this.registeredClass),this.isSmartPointer)switch(s.$$.smartPtr===void 0&&Se("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:s.$$.smartPtrType===this?c=s.$$.smartPtr:Se(`Cannot convert argument of type ${s.$$.smartPtrType?s.$$.smartPtrType.name:s.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:c=s.$$.smartPtr;break;case 2:if(s.$$.smartPtrType===this)c=s.$$.smartPtr;else{var y=s.clone();c=this.rawShare(c,co.toHandle(()=>y.delete())),a!==null&&a.push(this.rawDestructor,c)}break;default:Se("Unsupporting sharing policy")}return c}function Nb(a,s){if(s===null)return this.isReference&&Se(`null is not a valid ${this.name}`),0;s.$$||Se(`Cannot pass "${ql(s)}" as a ${this.name}`),s.$$.ptr||Se(`Cannot pass deleted object as a pointer of type ${this.name}`),s.$$.ptrType.isConst&&Se(`Cannot convert argument of type ${s.$$.ptrType.name} to parameter type ${this.name}`);var c=s.$$.ptrType.registeredClass,p=Wl(s.$$.ptr,c,this.registeredClass);return p}function jd(a){return this.fromWireType(z[a>>2])}var xb=()=>{Object.assign(ua.prototype,{getPointee(a){return this.rawGetPointee&&(a=this.rawGetPointee(a)),a},destructor(a){this.rawDestructor&&this.rawDestructor(a)},argPackAdvance:St,readValueFromPointer:jd,deleteObject(a){a!==null&&a.delete()},fromWireType:O})};function ua(a,s,c,p,y,T,E,w,k,I,j){this.name=a,this.registeredClass=s,this.isReference=c,this.isConst=p,this.isSmartPointer=y,this.pointeeType=T,this.sharingPolicy=E,this.rawGetPointee=w,this.rawConstructor=k,this.rawShare=I,this.rawDestructor=j,!y&&s.baseClass===void 0?p?(this.toWireType=Ob,this.destructorFunction=null):(this.toWireType=Nb,this.destructorFunction=null):this.toWireType=Fb}var Bd=(a,s,c)=>
1{e.hasOwnProperty(a)||hr("Replacing nonexistant public symbol"),e[a].overloadTable!==void 0&&c!==void 0?e[a].overloadTable[c]=s:(e[a]=s,e[a].argCount=c)},Lb=(a,s,c)=>{var p=e["dynCall_"+a];return c&&c.length?p.apply(null,[s].concat(c)):p.call(null,s)},pa=[],$d,Ee=a=>{var s=pa[a];return s||(a>=pa.length&&(pa.length=a+1),pa[a]=s=$d.get(a)),s},Db=(a,s,c)=>{if(a.includes("j"))return Lb(a,s,c);var p=Ee(s).apply(null,c);return p},Ub=(a,s)=>{var c=[];return function(){return c.length=0,Object.assign(c,arguments),Db(a,s,c)}},_r=(a,s)=>{a=dt(a);function c(){return a.includes("j")?Ub(a,s):Ee(s)}var p=c();return typeof p!="function"&&Se(`unknown function pointer with signature ${a}: ${s}`),p},jb=(a,s)=>{var c=lo(s,function(p){this.name=s,this.message=p;var y=new Error(p).stack;y!==void 0&&(this.stack=this.toString()+` 2`+y.replace(/^Error(:[^\n]*)?\n/,""))});return c.prototype=Object.create(a.prototype),c.prototype.constructor=c,c.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},c},Hd,Gd=a=>{var s=ru(a),c=dt(s);return Hr(s),c},ma=(a,s)=>{var c=[],p={};function y(T){if(!p[T]&&!Xt[T]){if($r[T]){$r[T].forEach(y);return}c.push(T),p[T]=!0}}throw s.forEach(y),new Hd(`${a}: `+c.map(Gd).join([", "]))},Bb=(a,s,c,p,y,T,E,w,k,I,j,Y,ce)=>{j=dt(j),T=_r(y,T),w&&(w=_r(E,w)),I&&(I=_r(k,I)),ce=_r(Y,ce);var we=Gt(j);un(we,function(){ma(`Cannot construct ${j} due to unbound types`,[p])}),gr([a,s,c],p?[p]:[],function(Ve){Ve=Ve[0];var pt,Ke;p?(pt=Ve.registeredClass,Ke=pt.instancePrototype):Ke=Ze.prototype;var mt=lo(we,function(){if(Object.getPrototypeOf(this)!==R)throw new Jt("Use 'new' to construct "+j);if(W.constructor_body===void 0)throw new Jt(j+" has no accessible constructor");var ga=W.constructor_body[arguments.length];if(ga===void 0)throw new Jt(`Tried to invoke ctor of ${j} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(W.constructor_body).toString()}) parameters instead!`);return ga.apply(this,arguments)}),R=Object.create(Ke,{constructor:{value:mt}});mt.prototype=R;var W=new da(j,mt,R,ce,pt,T,w,I);W.baseClass&&(W.baseClass.__derivedClasses===void 0&&(W.baseClass.__derivedClasses=[]),W.baseClass.__derivedClasses.push(W));var Je=new ua(j,W,!0,!1,!1),at=new ua(j+"*",W,!1,!1,!1),$o=new ua(j+" const*",W,!1,!0,!1);return cn[a]={pointerType:at,constPointerType:$o},Bd(we,mt),[Je,at,$o]})},Vl=(a,s)=>{for(var c=[],p=0;p<a;p++)c.push(z[s+p*4>>2]);return c};function Kl(a,s,c,p,y,T){var E=s.length;E<2&&Se("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var w=s[1]!==null&&c!==null,k=!1,I=1;I<s.length;++I)if(s[I]!==null&&s[I].destructorFunction===void 0){k=!0;break}var j=s[0].name!=="void",Y=E-2,ce=new Array(Y),we=[],Ve=[];return function(){arguments.length!==Y&&Se(`function ${a} called with ${arguments.length} arguments, expected ${Y}`),Ve.length=0;var pt;we.length=w?2:1,we[0]=y,w&&(pt=s[1].toWireType(Ve,this),we[1]=pt);for(var Ke=0;Ke<Y;++Ke)ce[Ke]=s[Ke+2].toWireType(Ve,arguments[Ke]),we.push(ce[Ke]);var mt=p.apply(null,we);function R(W){if(k)an(Ve);else for(var Je=w?1:2;Je<s.length;Je++){var at=Je===1?pt:ce[Je-2];s[Je].destructorFunction!==null&&s[Je].destructorFunction(at)}if(j)return s[0].fromWireType(W)}return R(mt)}}var $b=(a,s,c,p,y,T)=>{var E=Vl(s,c);y=_r(p,y),gr([],[a],function(w){w=w[0];var k=`constructor ${w.name}`;if(w.registeredClass.constructor_body===void 0&&(w.registeredClass.constructor_body=[]),w.registeredClass.constructor_body[s-1]!==void 0)throw new Jt(`Cannot register multiple constructors with identical number of parameters (${s-1}) for class '${w.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return w.registeredClass.constructor_body[s-1]=()=>{ma(`Cannot construct ${w.name} due to unbound types`,E)},gr([],E,I=>(I.splice(1,0,null),w.registeredClass.constructor_body[s-1]=Kl(k,I,null,y,T),[])),[]})},zd=a=>{a=a.trim();let s=a.indexOf("(");return s!==-1?(le(a[a.length-1]==")","Parentheses for argument names should match."),a.substr(0,s)):a},Hb=(a,s,c,p,y,T,E,w,k)=>{var I=Vl(c,p);s=dt(s),s=zd(s),T=_r(y,T),gr([],[a],function(j){j=j[0];var Y=`${j.name}.${s}`;s.startsWith("@@")&&(s=Symbol[s.substring(2)]),w&&j.registeredClass.pureVirtualFunctions.push(s);function ce(){ma(`Cannot call ${Y} due to unbound types`,I)}var we=j.registeredClass.instancePrototype,Ve=we[s];return Ve===void 0||Ve.overloadTable===void 0&&Ve.className!==j.name&&Ve.argCount===c-2?(ce.argCount=c-2,ce.className=j.name,we[s]=ce):(ut(we,s,Y),we[s].overloadTable[c-2]=ce),gr([],I,function(pt){var Ke=Kl(Y,pt,j,T,E);return we[s].overloadTable===void 0?(Ke.argCount=c-2,we[s]=Ke):we[s].overloadTable[c-2]=Ke,[]}),[]})};function Gb(){Object.assign(Wd.prototype,{get(a){return this.allocated[a]},has(a){return this.allocated[a]!==void 0},allocate(a){var s=this.freelist.pop()||this.allocated.length;return this.allocated[s]=a,s},free(a){this.allocated[a]=void 0,this.freelist.push(a)}})}function Wd(){this.allocated=[void 0],this.freelist=[]}var er=new Wd,Vd=a=>{a>=er.reserved&&--er.get(a).refcount===0&&er.free(a)},zb=()=>{for(var a=0,s=er.reserved;s<er.allocated.length;++s)er.allocated[s]!==void 0&&++a;return a},Wb=()=>{er.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),er.reserved=er.allocated.length,e.count_emval_handles=zb},co={toValue:a=>(a||Se("Cannot use deleted val. handle = "+a),er.get(a).value),toHandle:a=>{switch(a){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return er.allocate({refcount:1,value:a})}}},Vb=(a,s)=>{s=dt(s),je(a,{name:s,fromWireType:c=>{var p=co.toValue(c);return Vd(c),p},toWireType:(c,p)=>co.toHandle(p),argPackAdvance:St,readValueFromPointer:Do,destructorFunction:null})},ql=a=>{if(a===null)return"null";var s=typeof a;return s==="object"||s==="array"||s==="function"?a.toString():""+a},Kb=(a,s)=>{switch(s){case 4:return function(c){return this.fromWireType(De[c>>2])};case 8:return function(c){return this.fromWireType(Re[c>>3])};default:throw new TypeError(`invalid float width (${s}): ${a}`)}},qb=(a,s,c)=>{s=dt(s),je(a,{name:s,fromWireType:p=>p,toWireType:(p,y)=>y,argPackAdvance:St,readValueFromPointer:Kb(s,c),destructorFunction:null})},Yb=(a,s,c,p,y,T,E)=>{var w=Vl(s,c);a=dt(a),a=zd(a),y=_r(p,y),un(a,function(){ma(`Cannot call ${a} due to unbound types`,w)},s-1),gr([],w,function(k){var I=[k[0],null].concat(k.slice(1));return Bd(a,Kl(a,I,null,y,T),s-1),[]})},Qb=(a,s,c)=>{switch(s){case 1:return c?p=>Z[p>>0]:p=>oe[p>>0];case 2:return c?p=>he[p>>1]:p=>G[p>>1];case 4:return c?p=>Q[p>>2]:p=>z[p>>2];default:throw new TypeError(`invalid integer width (${s}): ${a}`)}},Xb=(a,s,c,p,y)=>{s=dt(s);var T=j=>j;if(p===0){var E=32-8*c;T=j=>j<<E>>>E}var w=s.includes("unsigned"),k=(j,Y)=>{},I;
2w?I=function(j,Y){return k(Y,this.name),Y>>>0}:I=function(j,Y){return k(Y,this.name),Y},je(a,{name:s,fromWireType:T,toWireType:I,argPackAdvance:St,readValueFromPointer:Qb(s,c,p!==0),destructorFunction:null})},Zb=(a,s,c)=>{var p=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],y=p[s];function T(E){var w=z[E>>2],k=z[E+4>>2];return new y(Z.buffer,k,w)}c=dt(c),je(a,{name:c,fromWireType:T,argPackAdvance:St,readValueFromPointer:T},{ignoreDuplicateRegistrations:!0})},Kd=(a,s,c,p)=>{if(!(p>0))return 0;for(var y=c,T=c+p-1,E=0;E<a.length;++E){var w=a.charCodeAt(E);if(w>=55296&&w<=57343){var k=a.charCodeAt(++E);w=65536+((w&1023)<<10)|k&1023}if(w<=127){if(c>=T)break;s[c++]=w}else if(w<=2047){if(c+1>=T)break;s[c++]=192|w>>6,s[c++]=128|w&63}else if(w<=65535){if(c+2>=T)break;s[c++]=224|w>>12,s[c++]=128|w>>6&63,s[c++]=128|w&63}else{if(c+3>=T)break;s[c++]=240|w>>18,s[c++]=128|w>>12&63,s[c++]=128|w>>6&63,s[c++]=128|w&63}}return s[c]=0,c-y},Jb=(a,s,c)=>Kd(a,oe,s,c),qd=a=>{for(var s=0,c=0;c<a.length;++c){var p=a.charCodeAt(c);p<=127?s++:p<=2047?s+=2:p>=55296&&p<=57343?(s+=4,++c):s+=3}return s},Yd=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,eT=(a,s,c)=>{for(var p=s+c,y=s;a[y]&&!(y>=p);)++y;if(y-s>16&&a.buffer&&Yd)return Yd.decode(a.subarray(s,y));for(var T="";s<y;){var E=a[s++];if(!(E&128)){T+=String.fromCharCode(E);continue}var w=a[s++]&63;if((E&224)==192){T+=String.fromCharCode((E&31)<<6|w);continue}var k=a[s++]&63;if((E&240)==224?E=(E&15)<<12|w<<6|k:E=(E&7)<<18|w<<12|k<<6|a[s++]&63,E<65536)T+=String.fromCharCode(E);else{var I=E-65536;T+=String.fromCharCode(55296|I>>10,56320|I&1023)}}return T},Yl=(a,s)=>a?eT(oe,a,s):"",tT=(a,s)=>{s=dt(s);var c=s==="std::string";je(a,{name:s,fromWireType(p){var y=z[p>>2],T=p+4,E;if(c)for(var w=T,k=0;k<=y;++k){var I=T+k;if(k==y||oe[I]==0){var j=I-w,Y=Yl(w,j);E===void 0?E=Y:(E+="\0",E+=Y),w=I+1}}else{for(var ce=new Array(y),k=0;k<y;++k)ce[k]=String.fromCharCode(oe[T+k]);E=ce.join("")}return Hr(p),E},toWireType(p,y){y instanceof ArrayBuffer&&(y=new Uint8Array(y));var T,E=typeof y=="string";E||y instanceof Uint8Array||y instanceof Uint8ClampedArray||y instanceof Int8Array||Se("Cannot pass non-string to std::string"),c&&E?T=qd(y):T=y.length;var w=Xl(4+T+1),k=w+4;if(z[w>>2]=T,c&&E)Jb(y,k,T+1);else if(E)for(var I=0;I<T;++I){var j=y.charCodeAt(I);j>255&&(Hr(k),Se("String has UTF-16 code units that do not fit in 8 bits")),oe[k+I]=j}else for(var I=0;I<T;++I)oe[k+I]=y[I];return p!==null&&p.push(Hr,w),w},argPackAdvance:St,readValueFromPointer:jd,destructorFunction(p){Hr(p)}})},Qd=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,rT=(a,s)=>{for(var c=a,p=c>>1,y=p+s/2;!(p>=y)&&G[p];)++p;if(c=p<<1,c-a>32&&Qd)return Qd.decode(oe.subarray(a,c));for(var T="",E=0;!(E>=s/2);++E){var w=he[a+E*2>>1];if(w==0)break;T+=String.fromCharCode(w)}return T},oT=(a,s,c)=>{if(c===void 0&&(c=2147483647),c<2)return 0;c-=2;for(var p=s,y=c<a.length*2?c/2:a.length,T=0;T<y;++T){var E=a.charCodeAt(T);he[s>>1]=E,s+=2}return he[s>>1]=0,s-p},iT=a=>a.length*2,nT=(a,s)=>{for(var c=0,p="";!(c>=s/4);){var y=Q[a+c*4>>2];if(y==0)break;if(++c,y>=65536){var T=y-65536;p+=String.fromCharCode(55296|T>>10,56320|T&1023)}else p+=String.fromCharCode(y)}return p},aT=(a,s,c)=>{if(c===void 0&&(c=2147483647),c<4)return 0;for(var p=s,y=p+c-4,T=0;T<a.length;++T){var E=a.charCodeAt(T);if(E>=55296&&E<=57343){var w=a.charCodeAt(++T);E=65536+((E&1023)<<10)|w&1023}if(Q[s>>2]=E,s+=4,s+4>y)break}return Q[s>>2]=0,s-p},sT=a=>{for(var s=0,c=0;c<a.length;++c){var p=a.charCodeAt(c);p>=55296&&p<=57343&&++c,s+=4}return s},lT=(a,s,c)=>{c=dt(c);var p,y,T,E,w;s===2?(p=rT,y=oT,E=iT,T=()=>G,w=1):s===4&&(p=nT,y=aT,E=sT,T=()=>z,w=2),je(a,{name:c,fromWireType:k=>{for(var I=z[k>>2],j=T(),Y,ce=k+4,we=0;we<=I;++we){var Ve=k+4+we*s;if(we==I||j[Ve>>w]==0){var pt=Ve-ce,Ke=p(ce,pt);Y===void 0?Y=Ke:(Y+="\0",Y+=Ke),ce=Ve+s}}return Hr(k),Y},toWireType:(k,I)=>{typeof I!="string"&&Se(`Cannot pass non-string to C++ string type ${c}`);var j=E(I),Y=Xl(4+j+s);return z[Y>>2]=j>>w,y(I,Y+4,j+s),k!==null&&k.push(Hr,Y),Y},argPackAdvance:St,readValueFromPointer:Do,destructorFunction(k){Hr(k)}})},cT=(a,s,c,p,y,T)=>{Lo[a]={name:dt(s),rawConstructor:_r(c,p),rawDestructor:_r(y,T),fields:[]}},dT=(a,s,c,p,y,T,E,w,k,I)=>
2{Lo[a].fields.push({fieldName:dt(s),getterReturnType:c,getter:_r(p,y),getterContext:T,setterArgumentType:E,setter:_r(w,k),setterContext:I})},uT=(a,s)=>{s=dt(s),je(a,{isVoid:!0,name:s,argPackAdvance:0,fromWireType:()=>{},toWireType:(c,p)=>{}})},pT={},mT=a=>{var s=pT[a];return s===void 0?dt(a):s},Xd=()=>{if(typeof globalThis=="object")return globalThis;function a(s){s.$$$embind_global$$$=s;var c=typeof $$$embind_global$$$=="object"&&s.$$$embind_global$$$==s;return c||delete s.$$$embind_global$$$,c}if(typeof $$$embind_global$$$=="object"||(typeof global=="object"&&a(global)?$$$embind_global$$$=global:typeof self=="object"&&a(self)&&($$$embind_global$$$=self),typeof $$$embind_global$$$=="object"))return $$$embind_global$$$;throw Error("unable to get global object.")},fT=a=>a===0?co.toHandle(Xd()):(a=mT(a),co.toHandle(Xd()[a])),hT=a=>{a>4&&(er.get(a).refcount+=1)},Zd=(a,s)=>{var c=Xt[a];return c===void 0&&Se(s+" has unknown type "+Gd(a)),c},gT=a=>{var s=new Array(a+1);return function(c,p,y){s[0]=c;for(var T=0;T<a;++T){var E=Zd(z[p+T*4>>2],"parameter "+T);s[T+1]=E.readValueFromPointer(y),y+=E.argPackAdvance}var w=new(c.bind.apply(c,s));return co.toHandle(w)}},Jd={},_T=(a,s,c,p)=>{a=co.toValue(a);var y=Jd[s];return y||(y=gT(s),Jd[s]=y),y(a,c,p)},yT=(a,s)=>{a=Zd(a,"_emval_take_value");var c=a.readValueFromPointer(s);return co.toHandle(c)},vT=()=>{ke("")},ST=(a,s,c)=>oe.copyWithin(a,s,s+c),CT=()=>2147483648,bT=a=>{var s=A.buffer,c=(a-s.byteLength+65535)/65536;try{return A.grow(c),vt(),1}catch(p){}},TT=a=>{var s=oe.length;a>>>=0;var c=CT();if(a>c)return!1;for(var p=(k,I)=>k+(I-k%I)%I,y=1;y<=4;y*=2){var T=s*(1+.2/y);T=Math.min(T,a+100663296);var E=Math.min(c,p(Math.max(a,T),65536)),w=bT(E);if(w)return!0}return!1},Ql={},ET=()=>l||"./this.program",pn=()=>{if(!pn.strings){var a=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",s={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:a,_:ET()};for(var c in Ql)Ql[c]===void 0?delete s[c]:s[c]=Ql[c];var p=[];for(var c in s)p.push(`${c}=${s[c]}`);pn.strings=p}return pn.strings},wT=(a,s)=>{for(var c=0;c<a.length;++c)Z[s++>>0]=a.charCodeAt(c);Z[s>>0]=0},MT=(a,s)=>{var c=0;return pn().forEach((p,y)=>{var T=s+c;z[a+y*4>>2]=T,wT(p,T),c+=p.length+1}),0}
2,kT=(a,s)=>{var c=pn();z[a>>2]=c.length;var p=0;return c.forEach(y=>p+=y.length+1),z[s>>2]=p,0},PT=a=>a,fa=a=>a%4===0&&(a%100!==0||a%400===0),AT=(a,s)=>{for(var c=0,p=0;p<=s;c+=a[p++]);return c},eu=[31,29,31,30,31,30,31,31,30,31,30,31],tu=[31,28,31,30,31,30,31,31,30,31,30,31],IT=(a,s)=>{for(var c=new Date(a.getTime());s>0;){var p=fa(c.getFullYear()),y=c.getMonth(),T=(p?eu:tu)[y];if(s>T-c.getDate())s-=T-c.getDate()+1,c.setDate(1),y<11?c.setMonth(y+1):(c.setMonth(0),c.setFullYear(c.getFullYear()+1));else return c.setDate(c.getDate()+s),c}return c};function RT(a,s,c){var p=c>0?c:qd(a)+1,y=new Array(p),T=Kd(a,y,0,y.length);return s&&(y.length=T),y}var OT=(a,s)=>{Z.set(a,s)},FT=(a,s,c,p)=>{var y=z[p+40>>2],T={tm_sec:Q[p>>2],tm_min:Q[p+4>>2],tm_hour:Q[p+8>>2],tm_mday:Q[p+12>>2],tm_mon:Q[p+16>>2],tm_year:Q[p+20>>2],tm_wday:Q[p+24>>2],tm_yday:Q[p+28>>2],tm_isdst:Q[p+32>>2],tm_gmtoff:Q[p+36>>2],tm_zone:y?Yl(y):""},E=Yl(c),w={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var k in w)E=E.replace(new RegExp(k,"g"),w[k]);var I=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],j=["January","February","March","April","May","June","July","August","September","October","November","December"];function Y(R,W,Je){for(var at=typeof R=="number"?R.toString():R||"";at.length<W;)at=Je[0]+at;return at}function ce(R,W){return Y(R,W,"0")}function we(R,W){function Je($o){return $o<0?-1:$o>0?1:0}var at;return(at=Je(R.getFullYear()-W.getFullYear()))===0&&(at=Je(R.getMonth()-W.getMonth()))===0&&(at=Je(R.getDate()-W.getDate())),at}function Ve(R){switch(R.getDay()){case 0:return new Date(R.getFullYear()-1,11,29);case 1:return R;case 2:return new Date(R.getFullYear(),0,3);case 3:return new Date(R.getFullYear(),0,2);case 4:return new Date(R.getFullYear(),0,1);case 5:return new Date(R.getFullYear()-1,11,31);case 6:return new Date(R.getFullYear()-1,11,30)}}function pt(R){var W=IT(new Date(R.tm_year+1900,0,1),R.tm_yday),Je=new Date(W.getFullYear(),0,4),at=new Date(W.getFullYear()+1,0,4),$o=Ve(Je),ga=Ve(at);return we($o,W)<=0?we(ga,W)<=0?W.getFullYear()+1:W.getFullYear():W.getFullYear()-1}var Ke={"%a":R=>I[R.tm_wday].substring(0,3),"%A":R=>I[R.tm_wday],"%b":R=>j[R.tm_mon].substring(0,3),"%B":R=>j[R.tm_mon],"%C":R=>{var W=R.tm_year+1900;return ce(W/100|0,2)},"%d":R=>ce(R.tm_mday,2),"%e":R=>Y(R.tm_mday,2," "),"%g":R=>pt(R).toString().substring(2),"%G":R=>pt(R),"%H":R=>ce(R.tm_hour,2),"%I":R=>{var W=R.tm_hour;return W==0?W=12:W>12&&(W-=12),ce(W,2)},"%j":R=>ce(R.tm_mday+AT(fa(R.tm_year+1900)?eu:tu,R.tm_mon-1),3),"%m":R=>ce(R.tm_mon+1,2),"%M":R=>ce(R.tm_min,2),"%n":()=>` 3`,"%p":R=>R.tm_hour>=0&&R.tm_hour<12?"AM":"PM","%S":R=>ce(R.tm_sec,2),"%t":()=>" ","%u":R=>R.tm_wday||7,"%U":R=>{var W=R.tm_yday+7-R.tm_wday;return ce(Math.floor(W/7),2)},"%V":R=>{var W=Math.floor((R.tm_yday+7-(R.tm_wday+6)%7)/7);if((R.tm_wday+371-R.tm_yday-2)%7<=2&&W++,W){if(W==53){var Je=(R.tm_wday+371-R.tm_yday)%7;Je!=4&&(Je!=3||!fa(R.tm_year))&&(W=1)}}else{W=52;var at=(R.tm_wday+7-R.tm_yday-1)%7;(at==4||at==5&&fa(R.tm_year%400-1))&&W++}return ce(W,2)},"%w":R=>R.tm_wday,"%W":R=>{var W=R.tm_yday+7-(R.tm_wday+6)%7;return ce(Math.floor(W/7),2)},"%y":R=>(R.tm_year+1900).toString().substring(2),"%Y":R=>R.tm_year+1900,"%z":R=>{var W=R.tm_gmtoff,Je=W>=0;return W=Math.abs(W)/60,W=W/60*100+W%60,(Je?"+":"-")+("0000"+W).slice(-4)},"%Z":R=>R.tm_zone,"%%":()=>"%"};E=E.replace(/%%/g,"\0\0");for(var k in Ke)E.includes(k)&&(E=E.replace(new RegExp(k,"g"),Ke[k](T)));E=E.replace(/\0\0/g,"%");var mt=RT(E,!1);return mt.length>s?0:(OT(mt,a),mt.length-1)},NT=(a,s,c,p,y)=>FT(a,s,c,p);Zt=e.InternalError=class extends Error{constructor(a){super(a),this.name="InternalError"}},ni(),Jt=e.BindingError=class extends Error{constructor(a){super(a),this.name="BindingError"}}
3,ze(),ca(),xb(),Hd=e.UnboundTypeError=jb(Error,"UnboundTypeError"),Gb(),Wb();var xT={r:on,v:ro,a:ia,h:jl,m:nn,K:xo,R:oo,p:io,ba:na,d:oi,pa:sn,Y:Bl,ga:Hl,oa:Bb,na:$b,E:Hb,fa:Vb,V:qb,F:Yb,y:Xb,t:Zb,U:tT,N:lT,L:cT,qa:dT,ha:uT,ca:Vd,ma:fT,W:hT,ka:_T,la:yT,M:vT,ea:ST,da:TT,$:MT,aa:kT,J:eE,T:dE,D:oE,q:XT,b:LT,B:ZT,ia:nE,c:$T,i:GT,j:jT,o:rE,Q:JT,w:QT,I:sE,P:lE,C:iE,H:uE,Z:mE,X:fE,k:HT,e:BT,f:UT,g:DT,O:cE,l:qT,ja:tE,n:zT,S:WT,u:KT,x:YT,A:aE,s:VT,G:pE,z:PT,_:NT},Ye=eo(),Hr=e._free=a=>(Hr=e._free=Ye.ta)(a),Xl=e._malloc=a=>(Xl=e._malloc=Ye.ua)(a),ru=a=>(ru=Ye.wa)(a);e.__embind_initialize_bindings=()=>(e.__embind_initialize_bindings=Ye.xa)();var ye=(a,s)=>(ye=Ye.ya)(a,s),mn=a=>(mn=Ye.za)(a),Ce=()=>(Ce=Ye.Aa)(),be=a=>(be=Ye.Ba)(a),ou=a=>(ou=Ye.Ca)(a),iu=a=>(iu=Ye.Da)(a),nu=(a,s,c)=>(nu=Ye.Ea)(a,s,c),au=a=>(au=Ye.Fa)(a);e.dynCall_viijii=(a,s,c,p,y,T,E)=>(e.dynCall_viijii=Ye.Ga)(a,s,c,p,y,T,E);var su=e.dynCall_jiii=(a,s,c,p)=>(su=e.dynCall_jiii=Ye.Ha)(a,s,c,p),lu=e.dynCall_jiiii=(a,s,c,p,y)=>(lu=e.dynCall_jiiii=Ye.Ia)(a,s,c,p,y);e.dynCall_iiiiij=(a,s,c,p,y,T,E)=>(e.dynCall_iiiiij=Ye.Ja)(a,s,c,p,y,T,E),e.dynCall_iiiiijj=(a,s,c,p,y,T,E,w,k)=>(e.dynCall_iiiiijj=Ye.Ka)(a,s,c,p,y,T,E,w,k),e.dynCall_iiiiiijj=(a,s,c,p,y,T,E,w,k,I)=>(e.dynCall_iiiiiijj=Ye.La)(a,s,c,p,y,T,E,w,k,I);function LT(a,s){var c=Ce();try{return Ee(a)(s)}catch(p){if(be(c),p!==p+0)throw p;ye(1,0)}}function DT(a,s,c,p){var y=Ce();try{Ee(a)(s,c,p)}catch(T){if(be(y),T!==T+0)throw T;ye(1,0)}}function UT(a,s,c){var p=Ce();try{Ee(a)(s,c)}catch(y){if(be(p),y!==y+0)throw y;ye(1,0)}}function jT(a,s,c,p,y){var T=Ce();try{return Ee(a)(s,c,p,y)}catch(E){if(be(T),E!==E+0)throw E;ye(1,0)}}function BT(a,s){var c=Ce();try{Ee(a)(s)}catch(p){if(be(c),p!==p+0)throw p;ye(1,0)}}function $T(a,s,c){var p=Ce();try{return Ee(a)(s,c)}catch(y){if(be(p),y!==y+0)throw y;ye(1,0)}}function HT(a){var s=Ce();try{Ee(a)()}catch(c){if(be(s),c!==c+0)throw c;ye(1,0)}}function GT(a,s,c,p){var y=Ce();try{return Ee(a)(s,c,p)}catch(T){if(be(y),T!==T+0)throw T;ye(1,0)}}function zT(a,s,c,p,y,T){var E=Ce();try{Ee(a)(s,c,p,y,T)}catch(w){if(be(E),w!==w+0)throw w;ye(1,0)}}function WT(a,s,c,p,y,T,E){var w=Ce();try{Ee(a)(s,c,p,y,T,E)}catch(k){if(be(w),k!==k+0)throw k;ye(1,0)}}function VT(a,s,c,p,y,T,E,w,k,I,j){var Y=Ce();try{Ee(a)(s,c,p,y,T,E,w,k,I,j)}catch(ce){if(be(Y),ce!==ce+0)throw ce;ye(1,0)}}function KT(a,s,c,p,y,T,E,w){var k=Ce();try{Ee(a)(s,c,p,y,T,E,w)}catch(I){if(be(k),I!==I+0)throw I;ye(1,0)}}function qT(a,s,c,p,y){var T=Ce();try{Ee(a)(s,c,p,y)}catch(E){if(be(T),E!==E+0)throw E;ye(1,0)}}function YT(a,s,c,p,y,T,E,w,k){var I=Ce();try{Ee(a)(s,c,p,y,T,E,w,k)}catch(j){if(be(I),j!==j+0)throw j;ye(1,0)}}function QT(a,s,c,p,y,T,E){var w=Ce();try{return Ee(a)(s,c,p,y,T,E)}catch(k){if(be(w),k!==k+0)throw k;ye(1,0)}}function XT(a){var s=Ce();try{return Ee(a)()}catch(c){if(be(s),c!==c+0)throw c;ye(1,0)}}function ZT(a,s,c,p){var y=Ce();try{return Ee(a)(s,c,p)}catch(T){if(be(y),T!==T+0)throw T;ye(1,0)}}function JT(a,s,c,p,y,T,E){var w=Ce();try{return Ee(a)(s,c,p,y,T,E)}catch(k){if(be(w),k!==k+0)throw k;ye(1,0)}}function eE(a,s,c,p){var y=Ce();try{return Ee(a)(s,c,p)}catch(T){if(be(y),T!==T+0)throw T;ye(1,0)}}function tE(a,s,c,p,y,T,E,w){var k=Ce();try{Ee(a)(s,c,p,y,T,E,w)}catch(I){if(be(k),I!==I+0)throw I;ye(1,0)}}function rE(a,s,c,p,y,T){var E=Ce();try{return Ee(a)(s,c,p,y,T)}catch(w){if(be(E),w!==w+0)throw w;ye(1,0)}}function oE(a,s,c,p,y,T){var E=Ce();try{return Ee(a)(s,c,p,y,T)}catch(w){if(be(E),w!==w+0)throw w;ye(1,0)}}function iE(a,s,c,p,y,T,E,w,k,I){var j=Ce();try{return Ee(a)(s,c,p,y,T,E,w,k,I)}catch(Y){if(be(j),Y!==Y+0)throw Y;ye(1,0)}}function nE(a,s,c){var p=Ce();try{return Ee(a)(s,c)}catch(y){if(be(p),y!==y+0)throw y;ye(1,0)}}function aE(a,s,c,p,y,T,E,w,k,I){var j=Ce();try{Ee(a)(s,c,p,y,T,E,w,k,I)}catch(Y){if(be(j),Y!==Y+0)throw Y;ye(1,0)}}function sE(a,s,c,p,y,T,E,w){var k=Ce();try{return Ee(a)(s,c,p,y,T,E,w)}catch(I){if(be(k),I!==I+0)throw I;ye(1,0)}}function lE(a,s,c,p,y,T,E,w,k){var I=Ce();try{return Ee(a)(s,c,p,y,T,E,w,k)}catch(j){if(be(I),j!==j+0)throw j;ye(1,0)}}function cE(a,s,c,p,y,T,E){var w=Ce();try{Ee(a)(s,c,p,y,T,E)}catch(k){if(be(w),k!==k+0)throw k;ye(1,0)}}function dE(a,s,c,p){var y=Ce();try{return Ee(a)(s,c,p)}catch(T){if(be(y),T!==T+0)throw T;ye(1,0)}}function uE(a,s,c,p,y,T,E,w,k,I,j,Y){var ce=Ce();try{return Ee(a)(s,c,p,y,T,E,w,k,I,j,Y)}catch(we){if(be(ce),we!==we+0)throw we;ye(1,0)}}function pE(a,s,c,p,y,T,E,w,k,I,j,Y,ce,we,Ve,pt){var Ke=Ce();try{Ee(a)(s,c,p,y,T,E,w,k,I,j,Y,ce,we,Ve,pt)}catch(mt){if(be(Ke),mt!==mt+0)throw mt;ye(1,0)}}function mE(a,s,c,p){var y=Ce();try{return su(a,s,c,p)}catch(T){if(be(y),T!==T+0)throw T;ye(1,0)}}function fE(a,s,c,p,y){var T=Ce();try{return lu(a,s,c,p,y)}
3catch(E){if(be(T),E!==E+0)throw E;ye(1,0)}}var ha;Be=function a(){ha||cu(),ha||(Be=a)};function cu(){if(ae>0||(Dr(),ae>0))return;function a(){ha||(ha=!0,e.calledRun=!0,!F&&(Jr(),r(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),ri()))}e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),a()},1)):a()}if(e.preInit)for(typeof e.preInit=="function"&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();return cu(),o.ready}})();function t_(i){return _a(this,arguments,function*(t,{tryHarder:o=Qr.tryHarder,formats:e=Qr.formats,maxSymbols:r=Qr.maxSymbols}=Qr){return e_(t,{tryHarder:o,formats:e,maxSymbols:r},ww)})}var Ro=ft(Et());var Mw=["canvas"],kw=["video"],r_=(()=>{class t{mediaDevices=d(sl);permissionsService=d(ll);winRef=d(de);canvas=Sn("canvas");frameSize=rc({width:250,height:150});pause=rc(!1);scanSuccess=new Jl;frameSize$=Wo(this.frameSize);pause$=Wo(this.pause);canvas$=Wo(this.canvas).pipe(v(e=>e?.nativeElement),D(Boolean));canvasCtx$=this.canvas$.pipe(v(e=>e.getContext("2d")),fe({bufferSize:1,refCount:!0}));videoEl=Sn("video");videoEl$=Wo(this.videoEl).pipe(v(e=>e?.nativeElement),D(Boolean));frame$=H(this.winRef.document.createElement("canvas")).pipe(fe({bufferSize:1,refCount:!0}));frameCtx$=this.frame$.pipe(v(e=>e.getContext("2d")),fe({bufferSize:1,refCount:!0}));frameFPS=15;delayBetweenScanSuccess=1e3;mediaStream$=hn(this.mediaDevices.getUserMedia({video:{facingMode:{ideal:"environment"}}})).pipe(N(e=>{let r=(0,Ro.head)(e.getTracks()),i=r.getCapabilities(),n=r.getConstraints();return hn(r.applyConstraints(Object.assign({},n,{width:Math.min(i.width.max,2048),height:Math.min(i.height.max,1536)}))).pipe(v(()=>e))}),fe(1));video$=ve({mediaStream:this.mediaStream$,videoEl:this.videoEl$}).pipe(v(({mediaStream:e,videoEl:r})=>(r.srcObject=e,r.autoplay=!0,r.muted=!0,r.controls=!1,r.playsInl
3ine=!0,r)),N(e=>Ho(e,"loadeddata").pipe(v(()=>e))),fe(1));videoSrcSize$=this.video$.pipe(N(e=>Ho(e,"resize").pipe(xt(null),v(()=>e))),v(e=>({width:e.videoWidth,height:e.videoHeight})),ie(Ro.isEqual));renderedVideoSize$=this.video$.pipe(N(e=>Qp(e).pipe(Sa(100),xt(null),v(()=>e))),v(e=>({width:e.clientWidth,height:e.clientHeight})),ie(Ro.isEqual));relativeFrameSizeAndPosition$=ve({videoSrcSize:this.videoSrcSize$,renderedVideoSize:this.renderedVideoSize$,frameSize:this.frameSize$}).pipe(v(({videoSrcSize:e,renderedVideoSize:r,frameSize:i})=>{let n=e.width/e.height,l=r.width/r.height,u=n<l?e.width/r.width:e.height/r.height,m=(0,Ro.mapValues)(i,P=>P*u),_={x:(e.width-m.width)/2,y:(e.height-m.height)/2};return Object.assign({},m,_)}),fe({bufferSize:1,refCount:!0}));subs=new Pe;constructor(){Jc({locateFile:(e,r)=>e.endsWith(".wasm")?`/assets/wasm/${e}`:r+e}),this.subs.add(ve({pause:this.pause$,video:this.video$}).subscribe(({pause:e,video:r})=>e?r.pause():r.play())),this.subs.add(ve({ctx:this.canvasCtx$,canvas:this.canvas$,videSize:this.videoSrcSize$,frame:this.relativeFrameSizeAndPosition$}).subscribe(({ctx:e,canvas:r,videSize:i,frame:n})=>{r.width=i.width,r.height=i.height,e.clearRect(0,0,i.width,i.height),e.globalAlpha=.5,e.fillStyle="#000",e.fillRect(0,0,i.width,i.height),e.lineWidth=2,e.strokeStyle="#fff",e.globalAlpha=.3,e.clearRect(n.x,n.y,n.width,n.height)})),this.subs.add(ve({ctx:this.frameCtx$,canvas:this.frame$,frame:this.relativeFrameSizeAndPosition$,video:this.video$}).pipe(N(e=>this.scanSuccess.pipe(xt(null),N(r=>va(r?this.delayBetweenScanSuccess:0,1e3/this.frameFPS,fu)),v(()=>e))),Lt(this.pause$),N(([{ctx:e,canvas:r,frame:i,video:n},l])=>l?_t:(r.width=i.width,r.height=i.height,e.drawImage(n,i.x,i.y,i.width,i.height,0,0,i.width,i.height),e.getImageData(0,0,i.width,i.height),t_(e.getImageData(0,0,i.width,i.height),{formats:["EAN-8","EAN-13","UPC-A","UPC-E","Code39","Code93","Code128","DataMatrix"],tryHarder:!0,maxSymbols:1})))).subscribe(e=>{e.length&&this.scanSuccess.next((0,Ro.head)(e)?.text)}))}ngOnDestroy(){this.subs.unsubscribe(),this.mediaStream$.pipe(me()).subscribe(e=>e.getTracks().forEach(r=>r.stop()))}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-barcode-scanner"]],viewQuery:function(r,i){r&1&&Pa(i.canvas,Mw,5)(i.videoEl,kw,5),r&2&&Aa(2)},inputs:{frameSize:[1,"frameSize"],pause:[1,"pause"]},outputs:{scanSuccess:"scanSuccess"},decls:4,vars:0,consts:[["video",""],["canvas",""]],template:function(r,i){r&1&&Pr(0,"video",null,0)(2,"canvas",null,1)},styles:["[_nghost-%COMP%]{display:block;position:relative}video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%]{display:block;width:100%;height:100%;object-fit:cover}canvas[_ngcontent-%COMP%]{position:absolute;left:0;top:0}"]})}return t})();function Pw(t,o){if(t&1){let e=Go();ne(0,"div",2),Le(1,"trn-icon",3),ne(2,"h3"),bt(3),ee(4,"cxTranslate"),ge(),ne(5,"trn-button",4),ee(6,"cxTranslate"),zt("onClick",function(){po(e);let i=Fe();return mo(i.tryOneMoreTime())}),ge(),ne(7,"p"),bt(8),ee(9,"cxTranslate"),ge(),ne(10,"trn-button",4),ee(11,"cxTranslate"),zt("onClick",function(){po(e);let i=Fe();return mo(i.findSimilarProducts())}),ge()()}t&2&&(J(3),Tt(te(4,10,"barcode.nothing_was_found")),J(2),tc("solid"),We("label",te(6,12,"barcode.scan_other_products"))("size","small"),J(3),Tt(te(9,14,"barcode.or")),J(2),tc("outlined"),We("label",te(11,16,"barcode.type_in_product_number"))("size","small"))}function Aw(t,o){t&1&&Le(0,"trn-spinner")}function Iw(t,o){if(t&1){let e=Go();st(0),ee(1,"async"),Le(2,"trn-spinner",5),ne(3,"trn-barcode-scanner",6),zt("scanSuccess",function(i){po(e);let n=Fe(2);return mo(n.successScanHandler(i))}),ge(),Ae(4,Aw,1,0,"trn-spinner")}if(t&2){let e=te(1,2,Fe(2).loading$);J(3),We("pause",e),J(),Ie(e?4:-1)}}function Rw(t,o){t&1&&(ne(0,"div",2),Le(1,"trn-icon",3),ne(2,"h3"),bt(3),ee(4,"cxTranslate"),ge()()),t&2&&(J(3),Tt(te(4,1,"barcode.provide_camera_permission")))}function Ow(t,o){if(t&1&&(Ae(0,Iw,5,4),ee(1,"async"),_n(2,Rw,5,3,"div",2)),t&2){let e=Fe();Ie(te(1,1,e.cameraAvailable$)?0:2)}}function Fw(t,o){t&1&&(ne(0,"div",2),Le(1,"trn-icon",3),ne(2,"h3"),bt(3),ee(4,"cxTranslate"),ge()()),t&2&&(J(3),Tt(te(4,1,"barcode.no_camera_found")))}var cl=(()=>{class t{barcodeModalService=d(Km);barcodeSearchService=d(Wm);permissionsService=d(ll);routerService=d(Ti);winRef=d(de);mediaDevices=d(sl);modalId=this.barcodeModalService.modalId;modalOpened$=new uo(!1);loading$=new uo(!1);nothingWasFoundCode$=new uo(null);nothingWasFound$=this.nothingWasFoundCode$.pipe(v(Boolean),ie());permissionStatus$=va(0,500).pipe(N(()=>this.permissionsService.state("camera")),ie(),fe({bufferSize:1,refCount:!0}));permissionGranted$=this.permissionStatus$.pipe(v(e=>e==="granted"),ie());cameraAvailable$=this.modalOpened$.pipe(N(e=>e?this.permissionGranted$:H(!1)),ie());cameraExist$=Mr(()=>this.winRef.isBrowser(),zr(()=>Ho(this.mediaDevices,"devicechange").pipe(xt(null))),Nt).pipe(N(()=>this.mediaDevices.enumerateDevices()),v(e=>e.filter(r=>r.kind==="videoinput")),v(e=>e.length>0),ie());showTitle$=ve([this.cameraExist$,this.cameraAvailable$,this.nothingWasFound$.pipe(v(e=>!e))]).pipe(v(e=>e.every(Boolean)),ie());sub=new Pe;constructor(){this.sub.add(ve([this.modalOpened$,this.cameraExist$]).pipe(N(([e,r])=>e&&r?this.permissionStatus$:Nt),D(e=>e==="prompt")).subscribe(()=>this.mediaDevices.getUserMedia({video:!0}))),this.sub.add(this.modalOpened$.pipe(ie()).subscribe(e=>{e&&(this.loading$.next(!1),this.nothingWasFoundCode$.next(null))}))}ngOnDestroy(){this.sub.unsubscribe()}modalStateHandler(e){this.modalOpened$.next(e)}successScanHandler(e){this.loading$.next(!0),this.barcodeSearchService.eanSearch$(e).pipe(me()).subscribe(r=>{let i=(0,o_.head)(r)?.url;i?this.routerService.go(i).then(()=>{this.barcodeModalService.closeModal(),this.loading$.next(!1)}):(this.nothingWasFoundCode$.next(e),this.loading$.next(!1))})}tryOneMoreTime(){this.nothingWasFoundCode$.next(null)}findSimilarProducts(){this.loading$.next(!0),this.nothingWasFoundCode$.pipe(me()).subscribe(e=>{e?this.redirectToSearch(e).then(()=>{this.barcodeModalService.closeModal(),this.loading$.next(!1)}):this.loading$.next(!1)})}redirectToSearch(e){let r=e.length?{query:e}:{};return this.routerService.go("/produkter",{queryParams:r})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-barcode-modal"]],decls:9,vars:14,consts:[[3,"onOpen","onClose","identifier","closable","padding","showFooter","title"],["content",""],[1,"error_note"],["icon","report_problem"],[3,"onClick","label","size"],[1,"float-spinner"],[3,"scanSuccess","pause"]],template:function(r,i){r&1&&(ne(0,"trn-modal",0),ee(1,"async"),ee(2,"cxTranslate"),zt("onOpen",function(){return i.modalStateHandler(!0)})("onClose",function(){return i.modalStateHandler(!1)}),yn(3,1),Ae(4,Pw,12,18,"div",2),ee(5,"async"),ee(6,"async"),_n(7,Ow,3,3)(8,Fw,5,3,"div",2),vn(),ge()),r&2&&(We("identifier",i.modalId)("closable",!1)("padding",!1)("showFooter",!1)("title",te(1,6,i.showTitle$)?te(2,8,"barcode.please_position_the_code"):""),J(4),Ie(te(5,10,i.nothingWasFound$)?4:te(6,12,i.cameraExist$)?7:8))},dependencies:[ps,bo,as,Zp,sr,r_,Qe,ar],styles:[".float-spinner[_ngcontent-%COMP%]{position:absolute;
3left:50%;top:50%;transform:translate(-50%,-50%)}zxing-scanner[_ngcontent-%COMP%]{height:100%;overflow:hidden}zxing-scanner[_ngcontent-%COMP%] video{height:100%;display:block}.error_note[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:16px;padding:16px}.error_note[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%]{height:40px;width:auto;font-size:40px}.error_note[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%] img{height:40px;width:auto}.error_note[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%]{color:#ded11d}trn-barcode-scanner[_ngcontent-%COMP%]{height:100%}"]})}return t})();var l_=ft(Et());var Lw=new xe("recaptcha-language"),Dw=new xe("recaptcha-base-url"),Uw=new xe("recaptcha-nonce-tag"),i_=new xe("recaptcha-settings"),dl=new xe("recaptcha-v3-site-key"),ed=new xe("recaptcha-loader-options");function jw(t,o,e,{url:r,lang:i,nonce:n}={}){window.ng2recaptchaloaded=()=>{e(grecaptcha)};let l=document.createElement("script");l.innerHTML="";let{url:u,nonce:m}=o(new URL(r||"https://www.google.com/recaptcha/api.js"));u.searchParams.set("render",t==="explicit"?t:t.key),u.searchParams.set("onload","ng2recaptchaloaded"),u.searchParams.set("trustedtypes","true"),i&&u.searchParams.set("hl",i),l.src=u.href;let _=m||n;_&&l.setAttribute("nonce",_),l.async=!0,l.defer=!0,document.head.appendChild(l)}function Bw({v3SiteKey:t,onBeforeLoad:o,onLoaded:e}){let r=t?{key:t}:"explicit";n_.loadScript(r,o,e)}var n_={loadScript:jw,newLoadScript:Bw};function $w(t){return t.asObservable().pipe(D(o=>o!==null))}var a_=(()=>{class t{static{this.ready=null}constructor(e,r,i,n,l,u){this.platformId=e,this.language=r,this.baseUrl=i,this.nonce=n,this.v3SiteKey=l,this.options=u;let m=this.init();this.ready=m?$w(m):H()}init(){if(t.ready)return t.ready;if(!go(this.platformId))return;let e=new uo(null);return t.ready=e,n_.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:r=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(r);let i=new URL(this.baseUrl??r);return this.language&&i.searchParams.set("hl",this.language),{url:i,nonce:this.nonce}},onLoaded:r=>{let i=r;this.options?.onLoaded&&(i=this.options.onLoaded(r)),e.next(i)}}),e}static{this.\u0275fac=function(r){return new(r||t)(X(tr),X(Lw,8),X(Dw,8),X(Uw,8),X(dl,8),X(ed,8))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var Hw=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({})}}return t})(),s_=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({providers:[a_],imports:[Hw]})}}return t})(),ul=(()=>{class t{constructor(e,r,i){this.recaptchaLoader=r,this.zone=e,this.siteKey=i,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new si,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new si,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(e){let r=new si;return this.grecaptcha?this.executeActionWithSubject(e,r):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([e,r])),r.asObservable()}executeActionWithSubject(e,r){let i=n=>{this.zone.run(()=>{r.error(n),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:e,error:n})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:e}).then(n=>{this.zone.run(()=>{r.next(n),r.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:e,token:n})})},i)}catch(n){i(n)}})}init(){this.recaptchaLoader.ready.subscribe(e=>{this.grecaptcha=e,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([r,i])=>this.executeActionWithSubject(r,i)),this.actionBacklog=void 0)})}static{this.\u0275fac=function(r){return new(r||t)(X(ho),X(a_),X(dl))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var Wi=(()=>{class t{baseSiteService=d(vo);data$=this.baseSiteService.get().pipe(v(e=>e.captchaConfig),fe(1));enabled$=this.data$.pipe(v(e=>e.enabled??!1),ie());enabled=!1;publicKey$=this.data$.pipe(v(e=>e.publicKey??""),ie());publicKey;loadConfigs$(){return ve([this.enabled$,this.publicKey$]).pipe(Mt(([e,r])=>{this.enabled=e,this.publicKey=r}),v(()=>null),me())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var c_=(()=>{class t{injector=d(ci);captchaSettingsService=d(Wi);static headerName="sap-commerce-cloud-captcha-token";protectedUrls=[{url:"/users",name:"registration"},{url:"/forgottenpasswordtokens",name:"passwordReset"},{url:"/passwordRestoreToken",name:"passwordReset"},{url:"/guest-info",name:"guestCheckout"}];intercept(e,r){if(!this.captchaSettingsService.enabled)return r.handle(e);let i=this.protectedUrls.find(({url:n})=>new RegExp((0,l_.escapeRegExp)(n)+"(\\?.+)?$").test(e.url));return i?this.injector.get(ul).execute(i.name).pipe(v(l=>e.clone({setHeaders:{[t.headerName]:l}})),N(l=>r.handle(l))):r.handle(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var d_=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:ed,useFactory:e=>({onBeforeLoad(r){return r.searchParams.set("hl",e.locale),{url:r}}}),deps:[gs]},{provide:i_,useFactory:e=>({siteKey:e.publicKey}),deps:[Wi]},{provide:dl,useFactory:e=>e.publicKey,deps:[Wi]},rr(()=>_u(d(Wi).loadConfigs$())),{provide:zo,useExisting:c_,multi:!0},ul],imports:[s_]})}return t})();var u_=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[rr(()=>{d(Ri).script$.subscribe()})]})}return t})();var pl=(()=>{class t{modalService=d(Vm);modalContainerService=d(hf);addToWishListModalId="addToWishListModalId";data;subscription=new Pe;ngOnInit(){this.subscription.add(this.modalContainerService.openModal$.subscribe(e=>{this.data=e.data,this.modalService.open(e.modalId,e)})),this.subscription.add(this.modalContainerService.closeModal$.subscribe(e=>{this.data=null,this.modalService.close(e)}))}ngOnDestroy(){this.subscription?.unsubscribe()}closeModal(e){this.modalService.close(e)}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-modal-container"]],decls:8,vars:18,consts:[[3,"identifier","closable","padding","title"],["content",""],[3,"productC
3odes","showOnlyContent","popperId"],["footer",""],[3,"onClick","ariaLabel","label","color","fill","size"]],template:function(r,i){r&1&&(ne(0,"trn-modal",0),ee(1,"cxTranslate"),yn(2,1),Le(3,"trn-wish-list-selector",2),vn(),yn(4,3),ne(5,"trn-button",4),ee(6,"cxTranslate"),ee(7,"cxTranslate"),zt("onClick",function(){return i.closeModal(i.addToWishListModalId)}),ge(),vn(),ge()),r&2&&(We("identifier",i.addToWishListModalId)("closable",!1)("padding",!1)("title",te(1,12,"wish_list.add_to_favorites")),J(3),We("productCodes",i.data)("showOnlyContent",!0)("popperId",i.addToWishListModalId),J(2),We("ariaLabel",te(6,14,"common.done"))("label",te(7,16,"common.done"))("color","primary")("fill",!0)("size","medium"))},dependencies:[ps,sr,bo,ff,ar],encapsulation:2})}return t})();var p_=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-ssr-loading"]],decls:2,vars:0,consts:[[1,"ssr-loading"]],template:function(r,i){r&1&&(ne(0,"div",0),Le(1,"trn-spinner"),ge())},dependencies:[as],styles:[".ssr-loading[_ngcontent-%COMP%]{height:500px;display:flex;justify-content:center;align-items:center}"],changeDetection:0})}return t})();var Ww=()=>({disableMouseFocus:!0});function Vw(t,o){t&1&&(ne(0,"header",5),Le(1,"cx-page-layout",6)(2,"cx-page-layout",7)(3,"cx-page-layout",8),ge())}function Kw(t,o){t&1&&Le(0,"trn-ssr-loading")}function qw(t,o){t&1&&Le(0,"cx-page-slot",9)(1,"cx-global-message")(2,"router-outlet")}function Yw(t,o){t&1&&(ne(0,"div",10)(1,"footer"),Le(2,"cx-page-layout",11),ne(3,"div",12),Le(4,"cx-page-layout",13),ge(),ne(5,"div",14),Le(6,"cx-add-to-home-screen-banner"),ge()()()),t&2&&We("cxFocus",Ra(1,Ww))}function Qw(t,o){if(t&1&&(ne(0,"trn-skip-content",1),bt(1),ee(2,"cxTranslate"),ge(),ka(3,Vw,4,0,"ng-template",2),ne(4,"main",3),Ae(5,Kw,1,0,"trn-ssr-loading"),ee(6,"async"),_n(7,qw,3,0),ge(),ka(8,Yw,7,2,"ng-template",4)),t&2){let e=Fe();J(),Tt(te(2,2,"common.jump_to_content")),J(4),Ie(te(6,4,e.showSSRLoading$)?5:7)}}var ml=(()=>{class t extends bm{route=d(yo);winRef=d(de);showSSRLoading$=Mr(()=>this.winRef.isBrowser(),H(!1),this.route.queryParamMap.pipe(v(e=>!!e.get("showSSRLoading"))));ngAfterViewInit(){this.elementRef.nativeElement.removeAttribute("tabindex")}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275cmp=ue({type:t,selectors:[["trn-storefront"]],features:[Pu],decls:1,vars:1,consts:[["cxPageTemplateStyle","",3,"cxOutlet"],["tag","main-content"],["cxOutlet","cx-header"],["cxSkipLink","cx-main","tabindex","-1"],["cxOutlet","cx-footer"],[1,"cx-header"],["section","prologue"],["section","header",1,"page-header"],["section","navigation"],["position","BottomHeaderSlot"],[3,"cxFocus"],["section","footer"],[1,"certifications-container"],["section","certifications"],[1,"install-pwa-container"]],template:function(r,i){r&1&&ka(0,Qw,9,6,"ng-template",0),r&2&&We("cxOutlet",i.StorefrontOutlets.STOREFRONT)},dependencies:[gf,Gm,Hm,am,nm,lm,sm,hm,tt,fm,pm,um,ym,_m,p_,gt,rp,sr,Qe,ar],styles:["header[_ngcontent-%COMP%]{display:contents}"]})}return t})();var m_=(()=>{class t extends Ya{normalizePageData(e,r){if(!e)return;let i={};e.name&&(i.name=e.name),e.typeCode&&(i.type=e.typeCode),e.label&&(i.label=e.label),e.template&&(i.template=e.template),e.uid&&(i.pageId=e.uid),e.title&&(i.title=e.title),e.description&&(i.description=e.description),e.properties&&(i.properties=e.properties),e.pageContextCode&&(i.pageContextCode=e.pageContextCode),e.categoryCodes&&(i.categoryCodes=e.categoryCodes.split(",")),e.rootCategoryCode&&(i.rootCategoryCode=e.rootCategoryCode),e.pageContextName&&(i.pageContextName=e.pageContextName),e.showDefaultImage&&(i.showDefaultImage=JSON.parse(e.showDefaultImage)||!1),e.updatedTime&&(i.updatedTime=e.updatedTime),e.abData&&(i.abData=e.abData),e.metadata&&(i.metadata=e.metadata),e.previewImageUrl&&(i.previewImageUrl=e.previewImageUrl),e.headingBackgroundColor&&(i.headingBackgroundColor=e.headingBackgroundColor),e.headingBackgroundImageMap&&(i.headingBackgroundImageMap=JSON.parse(e.headingBackgroundImageMap)),e.headingFontColor&&(i.headingFontColor=e.headingFontColor),this.normalizeRobots(e,i),r.page=i}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function f_(t){return t.split("?")[0]}function Zw(t){return t.includes("${")}function Xr(t,o,e,r){if(!e)return!1;let i=f_(t.buildUrl(o,void 0,r)).split("/"),n=f_(e).split("/");return n.length===i.length&&i.every((l,u)=>Zw(l)?n[u].length>0:l===n[u])}var h_=(()=>{class t{occEndpointsService=d(rt);cookieService=d(yf);intercept(e,r){let i=this.cookieService.get("AB");if(!i)return r.handle(e);let n=Xr(this.occEndpointsService,"pages",e.url)||Xr(this.occEndpointsService,"components",e.url),l=Xr(this.occEndpointsService,"baseSites",e.url,{baseSite:!1});return!n&&!l?r.handle(e):r.handle(e.clone(re({headers:e.headers.set("AB-Test-Version",i),withCredentials:!0},n?{setParams:{abVersion:i}}:{})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var g_=(()=>{class t{router=d(Te);intercept(e,r){return e.url.endsWith("/users")&&(e.body?.store?(e=e.clone({params:e.params.append("store",e.body.store)}),delete e.body.store):this.router.url.split("/").length>2&&(e=e.clone({params:e.params.append("store",this.router.url.split("/").reverse()[0].replace(/\?.*/,""))}))),r.handle(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fl="warehouse",__=(()=>{class t extends Ja{warehouseContextService=d(Ii);getConfig(e){let r=super.getConfig(e),i;return this.warehouseContextService.getAll().pipe(me()).subscribe(l=>{i=l}),{context:He(re({},r.context),{warehouses:i})}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var y_=(()=>{class t extends Za{shopService=d(fs);trnOccEndpoints=d(rt);warehouseContextService=d(Ii);winRef=d(de);activeWarehouse;storedWarehouse;sub=new Pe;constructor(){let e=d(vi);super(d(et),d(Ga),d(rt),e),this.winRef.isBrowser()&&(this.activeWarehouse=dp(e,fl),this.shopService.getStoredStoreValues$().pipe(me()).subscribe(r=>this.storedWarehouse=r?.storeCode),this.warehouseContextService.getActive().subscribe(r=>this.activeWarehouse=r))}ngOnDestroy(){this.sub.unsubscribe()}intercept(e,r){if(e.url.includes(this.trnOccEndpoints.getBaseUrl({prefix:!1,baseSite:!1}))){let i=Object.entries({lang:this.activeLang,curr:this.activeCurr,pos:this.activeWarehouse||this.storedWarehouse}).reduce((n,[l,u])=>u&&!e.params.has(l)?Object.assign(n,{[l]:u}):n,{});e=e.clone({setParams:i}
3)}return r.handle(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fr=(()=>{class t{resolveImage(e){return e?.showDefaultImage?se.appUrl+"assets/manifest/icons/icon-512x512.png":e?.previewImageUrl?this.resolveImageUrl(e.previewImageUrl):null}resolveImageUrl(e){return se.occConfig.backend.occ.baseUrl+e}parseQueryParams(e){let[,r]=e.split("?");return new Cn({fromString:r||""})}filterParams(e,r){if(!r||r.length===0)return e;let i=new Cn;return r.forEach(n=>{if(e.has(n)){let l=e.get(n);l!==null&&(i=i.set(n,l))}}),i}filterUrlParameters(e,r){try{let[i]=e.split("?"),n=this.parseQueryParams(e),u=this.filterParams(n,r).toString();return u?`${i}?${u}`:i}catch(i){return e}}getQueryParameters(e,r){try{let i=this.parseQueryParams(e);return this.filterParams(i,r).toString()}catch(i){return""}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Vt=(()=>{class t extends es{routingService=d(Rr);config=d(vi);languageService=d(et);trnPageMetaResolverUtil=d(Fr);_page$=zr(()=>this.cmsService.getCurrentPage()).pipe(D(e=>!!e));get page(){return this._page$}robots$=this._page$.pipe(v(e=>e.pageId==="notFound"||!se.production?[cc.NOINDEX,cc.NOFOLLOW]:e.robots||[]));languages$=this.languageService.getAll().pipe(v(e=>e.map(r=>r.isocode)));currentUrl$=ve([this.router.events.pipe(D(e=>e instanceof Da),v(e=>e.url),xt(this.router.url)),this.languages$]).pipe(v(([e,r])=>e.split("/").filter(Boolean).filter((i,n)=>!(n===0&&r.includes(i))).join("/")),v(e=>decodeURIComponent(e)),ie(),fe(1));sub=new Pe;constructor(){super(d(ot),d(Ei),d(Lp),d(Te),d(Dp)),this.sub.add(this.currentUrl$.subscribe())}ngOnDestroy(){this.sub.unsubscribe()}resolveTitle(){return this._page$.pipe(v(({title:e})=>e))}resolveCanonicalUrl(e){return this.currentUrl$.pipe(v(r=>this.buildCanonicalUrl(r,e)))}resolveHrefLang(e){return ve([this.currentUrl$,this.languages$]).pipe(v(([r,i])=>this.buildAlternateURLs(r,i,e)))}buildCanonicalUrl(e,r){let i=r?.language?{language:r?.language}:{},n=this.routingService.getFullUrl(e,void 0,i);return this.pageLinkService.getCanonicalUrl(r,this.trnPageMetaResolverUtil.filterUrlParameters(n,r?.queryParameters))}resolveAlternateURLs(e,r,i){let n=r?"?"+r:"",l=e?.alternateUrls.entry.reduce((u,m)=>this.collectURLs(u,m.key,m.value+n,i),{});return this.resolveXDefaultUrl(l)}buildAlternateURLs(e,r,i){let n=r.reduce((l,u)=>this.collectURLs(l,u,e,i),{});return this.resolveXDefaultUrl(n)}resolveXDefaultUrl(e){return e&&e.en&&(e["x-default"]=e.en),e}collectURLs(e,r,i,n){return e[r==="no"?"nb":r]=this.buildCanonicalUrl(i,He(re({},n),{language:r})),e}resolveImage(){return this._page$.pipe(v(e=>this.trnPageMetaResolverUtil.resolveImage(e)))}resolveUpdateTime(){return this._page$.pipe(v(e=>e?.updatedTime))}getCurrentUrlParameters(e){return this.currentUrl$.pipe(v(r=>this.trnPageMetaResolverUtil.getQueryParameters(r,e)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Oo=(()=>{class t extends ts{basePageMetaResolver=d(Vt);resolveHrefLang(){return this.basePageMetaResolver.resolveHrefLang()}resolveImage(){return this.basePageMetaResolver.resolveImage()}resolveUpdateTime(){return this.basePageMetaResolver.resolveUpdateTime()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var v_=(()=>{class t extends Oo{basePageMetaResolver=d(Vt);brandService=d(Mo);languageService=d(et);trnPageMetaResolverUtil=d(Fr);brand$=this.basePageMetaResolver.page.pipe(v(e=>e?.pageContextCode),N(e=>this.brandService.getBrand$(e)));seo$=this.brand$.pipe(v(e=>e?.seo));getScore(e){return e.type==="TrnBrandPage"?1:-1}resolveCanonicalUrl(){return this.seo$.pipe(N(e=>H(this.basePageMetaResolver.buildCanonicalUrl(e?.canonicalUrl))))}resolveTitle(){return this.seo$.pipe(N(e=>e?.title?H(e.title):this.brand$.pipe(v(r=>r?.name))))}resolveDescription(){return this.seo$.pipe(N(e=>e?.description?H(e.description):this.brand$.pipe(v(r=>r?.description))))}resolveHrefLang(){return this.seo$.pipe(v(e=>this.basePageMetaResolver.resolveAlternateURLs(e)))}resolveImage(){return this.brand$.pipe(v(e=>this.brandService.getBrandsMedia(e,Ts.THUMBNAIL,Es.LARGE)),v(e=>e.src),v(e=>this.trnPageMetaResolverUtil.resolveImageUrl(e)))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var S_=(()=>{class t extends Oo{basePageMetaResolver=d(Vt);offerService=d(vf);languageService=d(et);trnPageMetaResolverUtil=d(Fr);offer$=this.basePageMetaResolver.page.pipe(v(e=>e?.pageContextCode),N(e=>this.offerService.getOffer(e)),fe({bufferSize:1,refCount:!0}));languages$=this.languageService.getAll().pipe(v(e=>e.map(r=>r.isocode)));getScore(e){return e.type==="TrnOfferPage"?1:-1}resolveTitle(){return this.offer$.pipe(v(e=>e?.name))}resolveDescription(){return this.offer$.pipe(v(e=>
3e?.description))}resolveHrefLang(){return ve([this.offer$,this.languages$]).pipe(v(([e,r])=>this.basePageMetaResolver.buildAlternateURLs(e.url,r)))}resolveImage(){return this.offer$.pipe(v(e=>e?.image?.url),v(e=>this.trnPageMetaResolverUtil.resolveImageUrl(e)))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var C_=(()=>{class t extends vm{setHrefLangLink(e,r){let i=this.winRef.document.querySelector(`link[rel="alternate"][hreflang="${r}"]`);if(!e){i?.remove();return}i?(i?.setAttribute("href",e),i?.setAttribute("hreflang",r)):(i=this.renderer.createElement("link"),i.rel="alternate",i.hreflang=r,i.href=e,this.renderer.appendChild(this.winRef.document.head,i))}removeHrefLangLinksExcept(e){this.winRef.document.querySelectorAll('link[rel="alternate"][hreflang]').forEach(r=>{e.has(r.hreflang)||r.remove()})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Jw="common.title_suffix",eM=" | ",b_="Travel Retail Norway",T_=(()=>{class t extends us{pageMetaLinkService=d(C_);translationService=d(Ei);set meta(e){this.title=e.title,this.description=e.description,this.image=e.image,this.robots=e.robots,this.canonicalUrl=decodeURIComponent(e.canonicalUrl),this.hreflang=e.hreflang,this.updated_time=e.updated_time}set title(e){this.translationService.translate(Jw).pipe(ht(1)).subscribe(r=>this.ngTitle.setTitle(this.suffixTitle(e,r)))}suffixTitle(e,r){let i=this.stripLegacySuffix(e?.trim());return i?i.endsWith(r)?i:`${i}${eM}${r}`:r}
3stripLegacySuffix(e){return e?.endsWith(b_)?e.slice(0,-b_.length).replace(/\s*\|?\s*$/,""):e}set hreflang(e){let r=new Set(Object.keys(e??{}));this.pageMetaLinkService.removeHrefLangLinksExcept(r),e&&Object.entries(e).forEach(([i,n])=>{this.pageMetaLinkService.setHrefLangLink(decodeURIComponent(n),i)})}set updated_time(e){e?this.addTag({name:"og:updated_time",content:e}):this.ngMeta.removeTag('name="og:updated_time"')}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var E_=ft(Et());var w_=(()=>{class t extends Oo{pageType="TrnArticlePage";pageTemplate="TrnArticlePageTemplate";articlesService=d(xi);article$=this.basePageMetaResolver.page.pipe(D(e=>!!e?.pageId),N(e=>this.articlesService.getArticleById(e?.pageId)),ie(E_.isEqual));seo$=this.article$.pipe(v(e=>e?.seo));resolveTitle(){return this.seo$.pipe(N(e=>e?.title?H(e.title):super.resolveTitle()))}resolveDescription(){return this.seo$.pipe(N(e=>e?.description?H(e.description):super.resolveDescription()))}resolveCanonicalUrl(){return this.seo$.pipe(N(e=>e?.canonicalUrl?H(e.canonicalUrl):super.resolveCanonicalUrl()))}resolveHrefLang(){return this.seo$.pipe(N(e=>e?.alternateUrls?H(this.basePageMetaResolver.resolveAlternateURLs(e)):super.resolveHrefLang()))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var M_=(()=>{class t extends Vp{categoryService=d(Li);basePageMetaResolver=d(Vt);trnPageMetaResolverUtil=d(Fr);category$=this.cms.getCurrentPage().pipe(v(e=>e?.pageContextCode),Gr(e=>e?this.categoryService.getCategory$(e,Kr.DETAILS):_t),fe({bufferSize:1,refCount:!0}));seo$=this.category$.pipe(v(e=>e?.seo));resolveDescription(){return this.seo$.pipe(N(e=>e?.description?H(e.description):this.category$.pipe(v(r=>r?.description))))}resolveCanonicalUrl(){return ve({canonicalUrl:this.seo$.pipe(v(e=>e?.canonicalUrl)),parameters:this.basePageMetaResolver.getCurrentUrlParameters(["page"])}).pipe(v(({canonicalUrl:e,parameters:r})=>r?`${e}?${r}`:e),v(e=>this.basePageMetaResolver.buildCanonicalUrl(e,{removeQueryParams:!1,queryParameters:["page"]})))}resolveTitle(){return this.seo$.pipe(N(e=>e?.title?H(e.title):this.category$.pipe(v(r=>r?.name))))}resolveHrefLang(){return ve({seo:this.seo$,parameters:this.basePageMetaResolver.getCurrentUrlParameters()}).pipe(v(({seo:e,parameters:r})=>{let i=new URLSearchParams(r);return i.delete("page"),i.size>0?{}:this.basePageMetaResolver.resolveAlternateURLs(e,r,{removeQueryParams:!1,queryParameters:["page"]})}))}resolveAlternateLanguageUrls(){return this.seo$.pipe(v(e=>e?.alternateUrls?this.basePageMetaResolver.resolveAlternateURLs(e):{}))}resolveImage(){return this.cms.getCurrentPage().pipe(v(e=>this.trnPageMetaResolverUtil.resolveImage(e)))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var{entries:L_,setPrototypeOf:k_,isFrozen:tM,getPrototypeOf:rM,getOwnPropertyDescriptor:oM}=Object,{freeze:Rt,seal:ur,create:D_}=Object,{apply:ad,construct:sd}=typeof Reflect<"u"&&Reflect;Rt||(Rt=function(o){return o});ur||(ur=function(o){return o});ad||(ad=function(o,e,r){return o.apply(e,r)});sd||(sd=function(o,e){return new o(...e)});var hl=Ot(Array.prototype.forEach),iM=Ot(Array.prototype.lastIndexOf),P_=Ot(Array.prototype.pop),Wn=Ot(Array.prototype.push),nM=Ot(Array.prototype.splice),_l=Ot(String.prototype.toLowerCase),td=Ot(String.prototype.toString),A_=Ot(String.prototype.match),Vn=Ot(String.prototype.replace),aM=Ot(String.prototype.indexOf),sM=Ot(String.prototype.trim),Er=Ot(Object.prototype.hasOwnProperty),It=Ot(RegExp.prototype.test),Kn=lM(TypeError);function Ot(t){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return ad(t,o,r)}}function lM(t){return function(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return sd(t,e)}}function _e(t,o){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_l;k_&&k_(t,null);let r=o.length;for(;r--;){let i=o[r];if(typeof i=="string"){let n=e(i);
vendor: 6,708 bytes, line 3
3n!==i&&(tM(o)||(o[r]=n),i=n)}t[i]=!0}return t}function cM(t){for(let o=0;o<t.length;o++)Er(t,o)||(t[o]=null);return t}function Jo(t){let o=D_(null);for(let[e,r]of L_(t))Er(t,e)&&(Array.isArray(r)?o[e]=cM(r):r&&typeof r=="object"&&r.constructor===Object?o[e]=Jo(r):o[e]=r);return o}function qn(t,o){for(;t!==null;){let r=oM(t,o);if(r){if(r.get)return Ot(r.get);if(typeof r.value=="function")return Ot(r.value)}t=rM(t)}function e(){return null}return e}var I_=Rt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),rd=Rt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),od=Rt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),dM=Rt(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),id=Rt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),uM=Rt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),R_=Rt(["#text"]),O_=Rt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),nd=Rt(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F_=Rt(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
3subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),gl=Rt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pM=ur(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mM=ur(/<%[\w\W]*|[\w\W]*%>/gm),fM=ur(/\$\{[\w\W]*/gm),hM=ur(/^data-[\-\w.\u00B7-\uFFFF]+$/),gM=ur(/^aria-[\-\w]+$/),U_=ur(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_M=ur(/^(?:\w+script|data):/i),yM=ur(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),j_=ur(/^html$/i),vM=ur(/^[a-z][.\w]*(-[.\w]+)+$/i),N_=Object.freeze({__proto__:null,ARIA_ATTR:gM,ATTR_WHITESPACE:yM,CUSTOM_ELEMENT:vM,DATA_ATTR:hM,DOCTYPE_NAME:j_,ERB_EXPR:mM,IS_ALLOWED_URI:U_,IS_SCRIPT_OR_DATA:_M,MUSTACHE_EXPR:pM,TMPLIT_EXPR:fM}),Yn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},SM=function(){return typeof window>"u"?null:window},CM=function(o,e){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let n="dompurify"+(r?"#"+r:"");try{return o.createPolicy(n,{createHTML(l){return l},createScriptURL(l){return l}})}catch(l){return console.warn("TrustedTypes policy "+n+" could not be created."),null}},x_=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function B_(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:SM(),o=K=>B_(K);if(o.version="3.2.5",o.removed=[],!t||!t.document||t.document.nodeType!==Yn.document||!t.Element)return o.isSupported=!1,o;let{document:e}=t,r=e,i=r.currentScript,{DocumentFragment:n,HTMLTemplateElement:l,Node:u,Element:m,NodeFilter:_,NamedNodeMap:P=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:M,DOMParser:L,trustedTypes:U}=t,A=m.prototype,F=qn(A,"cloneNode"),le=qn(A,"remove"),Z=qn(A,"nextSibling"),oe=qn(A,"childNodes"),he=qn(A,"parentNode");if(typeof l=="function"){let K=e.createElement("template");K.content&&K.content.ownerDocument&&(e=K.content.ownerDocument)}let G,Q="",{implementation:z,createNodeIterator:De,createDocumentFragment:Re,getElementsByTagName:vt}=e,{importNode:fr}=r,Xe=x_();o.isSupported=typeof L_=="function"&&typeof he=="function"&&z&&z.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Ft,ERB_EXPR:Dr,TMPLIT_EXPR:Jr,DATA_ATTR:ri,ARIA_ATTR:B,IS_SCRIPT_OR_DATA:V,ATTR_WHITESPACE:q,CUSTOM_ELEMENT:ae}=N_,{IS_ALLOWED_URI:Be}=N_,Oe=null,ct=_e({},[...I_,...rd,...od,...id,...R_]),ke=null,Ue=_e({},[...O_,...nd,...F_,...gl]),$e=Object.seal(D_(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),wt=null,qe=null,Yt=!0,it=!0,Ur=!1,eo=!0,wr=!1,to=!0,Qt=!1,on=!1,Bt=!1,ro=!1,jr=!1,oi=!1,ii=!0,ia=!1,jl="user-content-",nn=!0,xo=!1,oo={},io=null,na=_e({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Lo=null,an=_e({},["audio","video","img","source","image","track"]),Do=null,Br=_e({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xt="http://www.w3.org/1998/Math/MathML",$r="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xhtml",hr=Zt,gr=!1,sn=null,Bl=_e({},[Xt,$r,Zt],td),ni=_e({},["mi","mo","mn","ms","mtext"]),Uo=_e({},["annotation-xml"]),dt=_e({},["title","style","font","a","script"]),Jt=null,Se=["application/xhtml+xml","text/html"],$l="text/html",je=null,St=null,Hl=e.createElement("form"),aa=function(C){return C instanceof RegExp||C instanceof Function},jo=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};
vendor: 7,382 bytes, line 3
3if(!(St&&St===C)){if((!C||typeof C!="object")&&(C={}),C=Jo(C),Jt=Se.indexOf(C.PARSER_MEDIA_TYPE)===-1?$l:C.PARSER_MEDIA_TYPE,je=Jt==="application/xhtml+xml"?td:_l,Oe=Er(C,"ALLOWED_TAGS")?_e({},C.ALLOWED_TAGS,je):ct,ke=Er(C,"ALLOWED_ATTR")?_e({},C.ALLOWED_ATTR,je):Ue,sn=Er(C,"ALLOWED_NAMESPACES")?_e({},C.ALLOWED_NAMESPACES,td):Bl,Do=Er(C,"ADD_URI_SAFE_ATTR")?_e(Jo(Br),C.ADD_URI_SAFE_ATTR,je):Br,Lo=Er(C,"ADD_DATA_URI_TAGS")?_e(Jo(an),C.ADD_DATA_URI_TAGS,je):an,io=Er(C,"FORBID_CONTENTS")?_e({},C.FORBID_CONTENTS,je):na,wt=Er(C,"FORBID_TAGS")?_e({},C.FORBID_TAGS,je):{},qe=Er(C,"FORBID_ATTR")?_e({},C.FORBID_ATTR,je):{},oo=Er(C,"USE_PROFILES")?C.USE_PROFILES:!1,Yt=C.ALLOW_ARIA_ATTR!==!1,it=C.ALLOW_DATA_ATTR!==!1,Ur=C.ALLOW_UNKNOWN_PROTOCOLS||!1,eo=C.ALLOW_SELF_CLOSE_IN_ATTR!==!1,wr=C.SAFE_FOR_TEMPLATES||!1,to=C.SAFE_FOR_XML!==!1,Qt=C.WHOLE_DOCUMENT||!1,ro=C.RETURN_DOM||!1,jr=C.RETURN_DOM_FRAGMENT||!1,oi=C.RETURN_TRUSTED_TYPE||!1,Bt=C.FORCE_BODY||!1,ii=C.SANITIZE_DOM!==!1,ia=C.SANITIZE_NAMED_PROPS||!1,nn=C.KEEP_CONTENT!==!1,xo=C.IN_PLACE||!1,Be=C.ALLOWED_URI_REGEXP||U_,hr=C.NAMESPACE||Zt,ni=C.MATHML_TEXT_INTEGRATION_POINTS||ni,Uo=C.HTML_INTEGRATION_POINTS||Uo,$e=C.CUSTOM_ELEMENT_HANDLING||{},C.CUSTOM_ELEMENT_HANDLING&&aa(C.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($e.tagNameCheck=C.CUSTOM_ELEMENT_HANDLING.tagNameCheck),C.CUSTOM_ELEMENT_HANDLING&&aa(C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($e.attributeNameCheck=C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),C.CUSTOM_ELEMENT_HANDLING&&typeof C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&($e.allowCustomizedBuiltInElements=C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),wr&&(it=!1),jr&&(ro=!0),oo&&(Oe=_e({},R_),ke=[],oo.html===!0&&(_e(Oe,I_),_e(ke,O_)),oo.svg===!0&&(_e(Oe,rd),_e(ke,nd),_e(ke,gl)),oo.svgFilters===!0&&(_e(Oe,od),_e(ke,nd),_e(ke,gl)),oo.mathMl===!0&&(_e(Oe,id),_e(ke,F_),_e(ke,gl))),C.ADD_TAGS&&(Oe===ct&&(Oe=Jo(Oe)),_e(Oe,C.ADD_TAGS,je)),C.ADD_ATTR&&(ke===Ue&&(ke=Jo(ke)),_e(ke,C.ADD_ATTR,je)),C.ADD_URI_SAFE_ATTR&&_e(Do,C.ADD_URI_SAFE_ATTR,je),C.FORBID_CONTENTS&&(io===na&&(io=Jo(io)),_e(io,C.FORBID_CONTENTS,je)),nn&&(Oe["#text"]=!0),Qt&&_e(Oe,["html","head","body"]),Oe.table&&(_e(Oe,["tbody"]),delete wt.tbody),C.TRUSTED_TYPES_POLICY){if(typeof C.TRUSTED_TYPES_POLICY.createHTML!="function")throw Kn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof C.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Kn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');G=C.TRUSTED_TYPES_POLICY,Q=G.createHTML("")}else G===void 0&&(G=CM(U,i)),G!==null&&typeof Q=="string"&&(Q=G.createHTML(""));Rt&&Rt(C),St=C}},ai=_e({},[...rd,...od,...dM]),ln=_e({},[...id,...uM]),Gl=function(C){let O=he(C);(!O||!O.tagName)&&(O={namespaceURI:hr,tagName:"template"});let $=_l(C.tagName),ze=_l(O.tagName);return sn[C.namespaceURI]?C.namespaceURI===$r?O.namespaceURI===Zt?$==="svg":O.namespaceURI===Xt?$==="svg"&&(ze==="annotation-xml"||ni[ze]):!!ai[$]:C.namespaceURI===Xt?O.namespaceURI===Zt?$==="math":O.namespaceURI===$r?$==="math"&&Uo[ze]:!!ln[$]:C.namespaceURI===Zt?O.namespaceURI===$r&&!Uo[ze]||O.namespaceURI===Xt&&!ni[ze]?!1:!ln[$]&&(dt[$]||!ai[$]):!!(Jt==="application/xhtml+xml"&&sn[C.namespaceURI]):!1},$t=function(C){Wn(o.removed,{element:C});try{he(C).removeChild(C)}catch(O){le(C)}},Bo=function(C,O){try{Wn(o.removed,{attribute:O.getAttributeNode(C),from:O})}catch($){Wn(o.removed,{attribute:null,from:O})}if(O.removeAttribute(C),C==="is")if(ro||jr)try{$t(O)}catch($){}else try{O.setAttribute(C,"")}catch($){}},cn=function(C){let O=null,$=null;if(Bt)C="<remove></remove>"+C;else{let nt=A_(C,/^[\r\n\t ]+/);$=nt&&nt[0]}Jt==="application/xhtml+xml"&&hr===Zt&&(C='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+C+"</body></html>");let ze=G?G.createHTML(C):C;if(hr===Zt)try{O=new L().parseFromString(ze,Jt)}catch(nt){}if(!O||!O.documentElement){O=z.createDocument(hr,"template",null);try{O.documentElement.innerHTML=gr?Q:ze}catch(nt){}}let Ze=O.body||O.documentElement;return C&&$&&Ze.insertBefore(e.createTextNode($),Ze.childNodes[0]||null),hr===Zt?vt.call(O,Qt?"html":"body")[0]:Qt?O.documentElement:Ze},sa=function(C){return De.call(C.ownerDocument||C,C,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},dn=function(C){return C instanceof M&&(typeof C.nodeName!="string"||typeof C.textContent!="string"||typeof C.removeChild!="function"||!(C.attributes instanceof P)||typeof C.removeAttribute!="function"||typeof C.setAttribute!="function"||typeof C.namespaceURI!="string"||typeof C.insertBefore!="function"||typeof C.hasChildNodes!="function")},no=function(C){return typeof u=="function"&&C instanceof u};function Ht(K,C,O){hl(K,$=>{$.call(o,C,O,St)})}let ao=function(C){let O=null;if(Ht(Xe.beforeSanitizeElements,C,null),dn(C))return $t(C),!0;let $=je(C.nodeName);if(Ht(Xe.uponSanitizeElement,C,{tagName:$,allowedTags:Oe}),C.hasChildNodes()&&!no(C.firstElementChild)&&It(/<[/\w!]/g,C.innerHTML)&&It(/<[/\w!]/g,C.textContent)||C.nodeType===Yn.progressingInstruction||to&&C.nodeType===Yn.comment&&It(/<[/\w]/g,C.data))return $t(C),!0;if(!Oe[$]||wt[$]){if(!wt[$]&&ca($)&&($e.tagNameCheck instanceof RegExp&&It($e.tagNameCheck,$)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck($)))return!1;if(nn&&!io[$]){let ze=he(C)||C.parentNode,Ze=oe(C)||C.childNodes;if(Ze&&ze){let nt=Ze.length;for(let Ct=nt-1;Ct>=0;--Ct){let Gt=F(Ze[Ct],!0);Gt.__removalCount=(C.__removalCount||0)+1,ze.insertBefore(Gt,Z(C))}}}return $t(C),!0}return C instanceof m&&!Gl(C)||($==="noscript"||$==="noembed"||$==="noframes")&&It(/<\/no(script|embed|frames)/i,C.innerHTML)?($t(C),!0):(wr&&C.nodeType===Yn.text&&(O=C.textContent,hl([Ft,Dr,Jr],ze=>{O=Vn(O,ze," ")}),C.textContent!==O&&(Wn(o.removed,{element:C.cloneNode()}),C.textContent=O)),Ht(Xe.afterSanitizeElements,C,null),!1)},la=function(C,O,$){if(ii&&(O==="id"||O==="name")&&($ in e||$ in Hl))return!1;if(!(it&&!qe[O]&&It(ri,O))){if(!(Yt&&It(B,O))){if(!ke[O]||qe[O]){if(!(ca(C)&&($e.tagNameCheck instanceof RegExp&&It($e.tagNameCheck,C)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck(C))&&($e.attributeNameCheck instanceof RegExp&&It($e.attributeNameCheck,O)||$e.attributeNameCheck instanceof Function&&$e.attributeNameCheck(O))||O==="is"&&$e.allowCustomizedBuiltInElements&&($e.tagNameCheck instanceof RegExp&&It($e.tagNameCheck,$)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck($))))return!1}else if(!Do[O]){if(!It(Be,Vn($,q,""))){if(!((O==="src"||O==="xlink:href"||O==="href")&&C!=="script"&&aM($,"data:")===0&&Lo[C])){if(!(Ur&&!It(V,Vn($,q,"")))){if($)return!1}}}}}}return!0},ca=function(C){return C!=="annotation-xml"&&A_(C,ae)},so=function(C){Ht(Xe.beforeSanitizeAttributes,C,null);let{attributes:O}=C;if(!O||dn(C))return;let $={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke,forceKeepAttr:void 0},ze=O.length;for(;ze--;){let Ze=O[ze],{name:nt,namespaceURI:Ct,value:Gt}=Ze,lo=je(nt),ut=nt==="value"?Gt:sM(Gt);if($.attrName=lo,$.attrValue=ut,$.keepAttr=!0,$.forceKeepAttr=void 0,Ht(Xe.uponSanitizeAttribute,C,$),ut=$.attrValue,ia&&(lo==="id"||lo==="name")&&(Bo(nt,C),ut=jl+ut),to&&It(/((--!?|])>)|<\/(style|title)/i,ut)){Bo(nt,C);continue}if($.forceKeepAttr||(Bo(nt,C),!$.keepAttr))continue;if(!eo&&It(/\/>/i,ut)){Bo(nt,C);continue}wr&&hl([Ft,Dr,Jr],da=>{ut=Vn(ut,da," ")}
3);let un=je(C.nodeName);if(la(un,lo,ut)){if(G&&typeof U=="object"&&typeof U.getAttributeType=="function"&&!Ct)switch(U.getAttributeType(un,lo)){case"TrustedHTML":{ut=G.createHTML(ut);break}case"TrustedScriptURL":{ut=G.createScriptURL(ut);break}}try{Ct?C.setAttributeNS(Ct,nt,ut):C.setAttribute(nt,ut),dn(C)?$t(C):P_(o.removed)}catch(da){}}}Ht(Xe.afterSanitizeAttributes,C,null)},zl=function K(C){let O=null,$=sa(C);for(Ht(Xe.beforeSanitizeShadowDOM,C,null);O=$.nextNode();)Ht(Xe.uponSanitizeShadowNode,O,null),ao(O),so(O),O.content instanceof n&&K(O.content);Ht(Xe.afterSanitizeShadowDOM,C,null)};return o.sanitize=function(K){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=null,$=null,ze=null,Ze=null;if(gr=!K,gr&&(K="<!-->"),typeof K!="string"&&!no(K))if(typeof K.toString=="function"){if(K=K.toString(),typeof K!="string")throw Kn("dirty is not a string, aborting")}else throw Kn("toString is not a function");if(!o.isSupported)return K;if(on||jo(C),o.removed=[],typeof K=="string"&&(xo=!1),xo){if(K.nodeName){let Gt=je(K.nodeName);if(!Oe[Gt]||wt[Gt])throw Kn("root node is forbidden and cannot be sanitized in-place")}}else if(K instanceof u)O=cn("<!---->"),$=O.ownerDocument.importNode(K,!0),$.nodeType===Yn.element&&$.nodeName==="BODY"||$.nodeName==="HTML"?O=$:O.appendChild($);else{if(!ro&&!wr&&!Qt&&K.indexOf("<")===-1)return G&&oi?G.createHTML(K):K;if(O=cn(K),!O)return ro?null:oi?Q:""}O&&Bt&&$t(O.firstChild);let nt=sa(xo?K:O);for(;ze=nt.nextNode();)ao(ze),so(ze),ze.content instanceof n&&zl(ze.content);if(xo)return K;if(ro){if(jr)for(Ze=Re.call(O.ownerDocument);O.firstChild;)Ze.appendChild(O.firstChild);else Ze=O;return(ke.shadowroot||ke.shadowrootmode)&&(Ze=fr.call(r,Ze,!0)),Ze}let Ct=Qt?O.outerHTML:O.innerHTML;return Qt&&Oe["!doctype"]&&O.ownerDocument&&O.ownerDocument.doctype&&O.ownerDocument.doctype.name&&It(j_,O.ownerDocument.doctype.name)&&(Ct="<!DOCTYPE "+O.ownerDocument.doctype.name+`> 4`+Ct),wr&&hl([Ft,Dr,Jr],Gt=>{Ct=Vn(Ct,Gt," ")}),G&&oi?G.createHTML(Ct):Ct},o.setConfig=function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};jo(K),on=!0},o.clearConfig=function(){St=null,on=!1},o.isValidAttribute=function(K,C,O){St||jo({});let $=je(K),ze=je(C);return la($,ze,O)},o.addHook=function(K,C){typeof C=="function"&&Wn(Xe[K],C)},o.removeHook=function(K,C){if(C!==void 0){let O=iM(Xe[K],C);return O===-1?void 0:nM(Xe[K],O,1)[0]}return P_(Xe[K])},o.removeHooks=function(K){Xe[K]=[]},o.removeAllHooks=function(){Xe=x_()},o}var $_=B_();var bM=new xe("Config for DOMPurify",{factory:()=>({}),providedIn:"root"}),TM=new xe("Hooks for DOMPurify",{factory:()=>[],providedIn:"root"}),EM=new xe("A function that sanitizes value for a CSS rule",{factory:()=>t=>t,providedIn:"root"}),wM=$_,H_=(()=>{class t{constructor(e,r,{defaultView:i},n){this.config=e,this.sanitizeStyle=r,this.domPurify=wM(i),n.forEac
4h(({name:l,hook:u})=>{this.domPurify.addHook(l,u)})}sanitize(e,r,i=this.config){if(e===gn.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return e===gn.STYLE?this.sanitizeStyle(String(r)):this.domPurify.sanitize(String(r||""),i)}}return t.\u0275fac=function(e){return new(e||t)(X(bM),X(EM),X(fo),X(TM))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var G_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h({type:t}),t.\u0275inj=f({}),t})();var z_=(()=>{class t extends Kp{routingService=d(Rr);basePageMetaResolver=d(Vt);languageService=d(et);config=d(vi);dompurifySanitizer=d(H_);seo$=this.product$.pipe(v(e=>e?.seo));resolveHeading(){return this.product$.pipe(v(({name:e})=>e))}resolveTitle(){return this.product$.pipe(v(({name:e})=>e))}resolveDescription(){return this.product$.pipe(v(({description:e})=>this.dompurifySanitizer.sanitize(gn.HTML,e,{USE_PROFILES:{html:!1}})))}resolveCanonicalUrl(){return this.seo$.pipe(v(e=>this.basePageMetaResolver.buildCanonicalUrl(e?.canonicalUrl)))}resolveHrefLang(){return this.seo$.pipe(v(e=>this.basePageMetaResolver.resolveAlternateURLs(e)))}resolveImage(){return super.resolveImage().pipe(v(e=>this.isValidUrl(e)?e:this.buildImageUrl(e)))}isValidUrl(e){return e&&e.startsWith("https://")}buildImageUrl(e){let r=e,i=se.occConfig.backend.occ.baseUrl,n="/";return(!e?.startsWith(n)||!i.endsWith(n))&&(r+=n),i+r}resolveBreadcrumbs(){return ve([this.product$.pipe(),this.translation.translate("common.home")]).pipe(v(([e,r])=>{let i=[];i.push({label:r,link:"/"});for(let{name:n,code:l,url:u}of e.breadcrumbCategories||[])i.push({label:n||l,link:u});return i}))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var W_=ft(Et());var V_=(()=>{class t{cmsService=d(ot);articlesService=d(xi);routingService=d(Rr);mediaService=d(Pi);article$=this.cmsService.getCurrentPage().pipe(D(e=>!!e?.pageId),N(e=>e?.template===this.pageTemplate?this.articlesService.getArticleById(e?.pageId):H(null)),ie(W_.isEqual));pageTemplate="TrnArticlePageTemplate";build(){return this.article$.pipe(v(e=>e?is({"@type":"BlogPosting",datePublished:e.publishDate,articleBody:e.seo?.description??e.content,headline:e.seo?.title??e.title,url:e.url&&this.routingService.getFullUrl(e.url),image:this.mediaService.getMedia(e.image)?.src}):{}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var K_=(()=>{class t extends Tm{collect(e){if(!e?.breadcrumbs)return{};let r=e.breadcrumbs.map((i,n)=>{let l=Array.isArray(i.link)?i.link.join():i.link;return{"@type":"ListItem",position:n+1,item:{"@id":l||i.label,name:i.label}}});return e.title&&r.push({"@type":"ListItem",position:r.length+1,item:{"@id":e.title,name:e.title}}),{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:r}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var q_=ft(Et());var Y_=(()=>{class t{categoryService=d(Li);stripHtml=d(mf);build(){return this.categoryService.currentCategory$.pipe(v(e=>{let r=(e?.faqQuestions??[]).map(i=>({name:this.stripHtml.transform(i.question??"").trim(),text:this.stripHtml.transform(i.answer??"").trim()})).filter(({name:i,text:n})=>i&&n);return r.length?{"@type":"FAQPage",mainEntity:r.map(({name:i,text:n})=>({"@type":"Question",name:i,acceptedAnswer:{"@type":"Answer",text:n}}))}:{}}),ie(q_.isEqual))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Q_=(()=>{class t{cmsService=d(ot);pageId="kontakt";page$=this.cmsService.getCurrentPage();build(){return this.page$.pipe(v(e=>e?.pageId!==this.pageId?{}:{"@type":"Organization",logo:se.appUrl+"/assets/svg/trn-logo.svg",url:se.appUrl}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qn="https://schema.org",X_=(()=>{class t extends wm{routingService=d(Rr);build(e){return super.build(e).pipe(v(r=>He(re({},r),{offers:He(re(He(re(re({},r.offers),e.url&&{url:this.routingService.getFullUrl(e.url)}),{itemCondition:`${Qn}/NewCondition`}),e.ean&&{gtin:e.ean}),{hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",applicableCountry:"NO",returnPolicyCountry:"NO",returnPolicyCategory:`${Qn}/MerchantReturnUnlimitedWindow`,merchantReturnLink:se.seo.merchantReturnPolicyLink,returnMethod:[`${Qn}/ReturnInStore`,`${Qn}/ReturnByMail`],refundType:`${Qn}/FullRefund`}})})))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Z_=(()=>{class t{routingService=d(Rr);brandService=d(Mo);mediaService=d(Pi);build(e){return H(is({description:e.description,category:e.categories?.slice(-1)?.pop()?.name,url:e.url&&this.routingService.getFullUrl(e.url),productID:e.code,brand:{"@type":"Brand",name:e.brand?.name,description:e.brand?.description,url:e.brand?.url&&this.routingService.getFullUrl(e.brand?.url),logo:this.brandService.getBrandsMedia(e.brand,Ts.THUMBNAIL,Es.SMALL)?.src},color:e.colour,material:e.material,size:e.size,image:this.mediaService.getMedia(e?.images?.PRIMARY)?.src||this.routingService.getAppUrl("assets/images/product/fallback_266x266.png")}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var J_=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:es,useClass:Vt},{provide:ki,useExisting:K_,multi:!0},{provide:Vo,useClass:z_,multi:!0},{provide:Vo,useClass:w_,multi:!0},{provide:Vo,useClass:M_,multi:!0},{provide:Vo,useClass:v_,multi:!0},{provide:Vo,useClass:S_,multi:!0},{provide:Vo,useClass:Vt,multi:!0},{provide:ts,useClass:Oo},{provide:us,useExisting:T_},{provide:wn,useExisting:Em,multi:!0},{provide:wn,useExisting:X_,multi:!0},{provide:wn,useExisting:Mm,multi:!0},{provide:wn,useExisting:Z_,multi:!0},{provide:ki,useExisting:km,multi:!0},{provide:ki,useExisting:Q_,multi:!0},{provide:ki,useExisting:V_,multi:!0},{provide:ki,useExisting:Y_,multi:!0},Fr],imports:[Sm]})}return t})();var ld=ft(Et());var ey=(()=>{class t{destroyRef=d(di);document=d(fo);cmsService=d(ot);abData$=this.cmsService.getCurrentPage().pipe(D(Boolean),v(e=>e.abData||{}),ie((e,r)=>(0,ld.isEqual)(e,r)));bodyClassNames$=this.abData$.pipe(v(e=>Object.entries(e).map(r=>["AB"].concat(r).join("_"))),ie((e,r)=>(0,ld.isEqual)(e,r)));init(){this.bodyClassNames$.pipe(xt([]),li(),_o(this.destroyRef)).subscribe(([e,r])=>{e.length>0&&this.document.body?.classList.remove(...e),r.length>0&&this.document.body?.classList.add(...r)})}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ty=(()=>{class t extends ds{deviceService=d(Di);constructor(){super(d(gm),d(nr),d(de)),this.config.pwa.addToHomeScreen&&this.deviceService.getDeviceInfo().browser!=="Safari"&&this.init()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ry=(()=>{class t extends As{baseSiteService=d(vo);enabled$=Mr(()=>this.winRef.isBrowser(),this.baseSiteService.get().pipe(v(e=>e.asmEnabled),ie(),fe(1)),H(!1));addUi(){this.enabled$.pipe(D(e=>e),N(()=>
4this.featureModules.resolveFeature("asm")),me()).subscribe(()=>this.launchDialogService.launch(Cm.ASM))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oy=(()=>{class t extends wf{shouldAddAuthorizationHeader(e){return super.shouldAddAuthorizationHeader(e)&&!this.isStoreSetupUrl(e)}alterRequest(e,r){return this.isStoreSetupUrl(e)?e:super.alterRequest(e,r)}isStoreSetupUrl(e){return e.url.includes("/stores/setup")}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var iy=(()=>{class t extends Ba{sessionStorageService=d(Pf);storageKey="redirectUrl";constructor(){super(),this.persistRedirectUrl(),this.getRedirectUrl().pipe(D(Boolean),_o()).subscribe(e=>this.sessionStorageService.setItem(this.storageKey,e))}persistRedirectUrl(){let e=this.sessionStorageService.getItem(this.storageKey);e&&this.setRedirectUrl(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ny=ft(Et());var ay=(()=>{class t extends $a{onRead(e){e?.userId?(this.authStorageService.setToken(e?.token??{}),this.userIdService.setUserId(e.userId)):(this.authStorageService.setToken({}),this.userIdService.clearUserId())}getAuthState(){return ve([this.authStorageService.getToken().pipe(D(e=>!!e)),this.userIdService.getUserId()]).pipe(v(([e,r])=>({token:(0,ny.omit)(e,["refresh_token"]),userId:r})),Sa(0))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var sy=(()=>{class t extends cs{deviceService=d(Di);breakpoint$=go(this.platform)?this.winRef.resize$.pipe(v(e=>this.getBreakpoint(e.target.innerWidth)),ie()):H(this.fallback);get fallback(){return this.deviceService.isMobile()?ss.sm:this.deviceService.isTablet()?ss.md:this.deviceService.isDesktop()?ss.lg:super.fallbackBreakpoint}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nr=new xe("RESPONSE");var ly=(()=>{class t extends Mi{res=d(Nr,{optional:!0});logger=d(Ir);canActivateNotFoundPage(e,r,i){return this.res&&(this.logger.warn(`Not found (404): ${i.url}`),this.res.status(404)),super.canActivateNotFoundPage(e,r,i)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cy=(()=>{class t extends Wa{onRead(e){e&&this.currencyService.setActive(e),this.initialized$.closed||this.initialized$.next(void 0)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var dy=(()=>{class t{router=d(Te);winRef=d(de);sub=new Pe;ngOnDestroy(){this.sub.unsubscribe()}init(){this.winRef.isBrowser()&&this.sub.add(this.router.events.pipe(D(e=>e instanceof Da),Ea(1)).subscribe(()=>this.winRef.nativeWindow?.ScarabUtil?.loadedModules?.emarsys_webpersonalization?.instance?.reload()))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var uy=(()=>{class t extends nr{winRef=d(de);liveAnnouncer=d(Af);translationService=d(Ei);add(...e){this.winRef.isBrowser()&&(super.add(...e),this.announce(e[0]))}announce(e){e&&(typeof e=="string"?this.liveAnnouncer.announce(e):typeof e.raw=="string"?this.liveAnnouncer.announce(e.raw):this.translationService.translate(e.key,e.params).pipe(me()).subscribe(r=>this.liveAnnouncer.announce(r)))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var MM={nb:"no"},py=(()=>{class t{pageMetaService=d(Gp);router=d(Te);urlSerializer=d(yi);urlTrees$=this.pageMetaService.getMeta().pipe(v(e=>this.toUrlTrees(e)));getUrlTree(e){return this.urlTrees$.pipe(v(r=>r[e]??this.buildFallbackUrlTree(e)))}toUrlTrees(e){let r=e?.alternateUrls??e?.hreflang??{};return Object.entries(r).reduce((i,[n,l])=>(i[MM[n]??n]=this.urlSerializer.parse(this.toRelativeUrl(l)),i),{})}buildFallbackUrlTree(e){let r=this.urlSerializer.parse(this.router.url);return r.siteContext={language:e},r}toRelativeUrl(e){let{pathname:r,search:i}=new URL(e,se.appUrl);return`${r}${i}`}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var my=(()=>{class t extends et{injector=d(ci);setActive(e){let r=this.injector.get(Te);if(!this.isValid(e)||!r.navigated||this.isNavigatingTo(r,e)){super.setActive(e);return}this.getActive().pipe(ht(1),D(i=>i!==e),N(()=>this.injector.get(py).getUrlTree(e)),ht(1)).subscribe(i=>r.navigateByUrl(i,{onSameUrlNavigation:"reload"}))}isNavigatingTo(e,r){let i=e.getCurrentNavigation()?.extractedUrl,n=i?.siteContext?.language;return!!i&&(!n||n===r)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var fy=(()=>{class t extends bs{activeCartService=d(Sr);winRef=d(de);cartModifiedTime$=this.activeCartService.getActive().pipe(N(e=>this.activeCartService.isStable().pipe(D(Boolean),v(()=>e.modifiedtime),D(Boolean))),Su(null),fe({bufferSize:1,refCount:!0}));cartState$=this.activeCartService.getActiveCartId().pipe(N(e=>this.activeCartService.isStable().pipe(D(Boolean),v(()=>({active:e})))));initSync(){this.winRef.isBrowser()&&(this.subscription.add(this.statePersistenceService.syncWithStorage({key:"cart",state$:this.cartState$,context$:this.siteContextParamsService.getValues([bn]),onRead:e=>this.onRead(e)})),this.subscription.add(this.statePersistenceService.syncWithStorage({key:"cart_modified_time",state$:this.cartModifiedTime$,context$:this.siteContextParamsService.getValues([bn]),onRead:e=>{this.winRef.document.hasFocus()||this.cartModifiedTime$.pipe(me()).subscribe(r=>{(e&&r?new Date(r)<new Date(e):e!==r)&&this.activeCartService.reloadActiveCart()})}})))}onRead(e){e?this.store.dispatch(new fc.SetActiveCartId(e.active)):this.store.dispatch(new fc.SetActiveCartId(""))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var xr=(()=>{class t{winRef=d(de);response=d(Nr,{optional:!0});setRedirectHeaders(e,r=301){this.response?.status(r),this.response?.header(r===302?{location:e,"cache-control":"no-store"}:{location:e})}redirectExternally(e,r=301){if(this.winRef.isBrowser()){this.winRef.location.href=e;return}this.setRedirectHeaders(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hy=(()=>{class t{productAlgoliaService=d(Rs);genericLinkService=d(Pm);redirectService=d(xr);occEndpoints=d(rt);http=d(Ar);router=d(Te);winRef=d(de);mapping$=zr(()=>this.fetchMapping$()).pipe(fe({bufferSize:1,refCount:!0}),Ge(()=>H({})));redirect$=this.productAlgoliaService.searchResults$.pipe(N(e=>this.getSearchRedirectUrl$(e)),v(e=>this.toRedirect(e)),D(Boolean));init(){this.redirect$.subscribe(e=>this.follow(e))}follow(e){if(e.type==="internal"&&this.winRef.isBrowser()){this.router.navigateByUrl(e.urlTree,{replaceUrl:!0});return}this.redirectService.redirectExternally(e.url,302)}
4getRedirectUrl$(e){let r=this.normalize(e);return r?this.mapping$.pipe(v(i=>Object.entries(i).find(([n])=>this.normalize(n)===r)?.[1]),v(i=>i?.trim()||null)):H(null)}getSearchRedirectUrl$(e){let r=this.getRuleRedirectUrl(e);return r?H(r):this.getRedirectUrl$(e?.query)}getRuleRedirectUrl(e){let r=e?.renderingContent?.redirect?.url;if(r)return r;let i=e?.userData;if(Array.isArray(i))return i.find(n=>typeof n?.redirect=="string"&&!!n.redirect.trim())?.redirect}toRedirect(e){if(!e?.trim())return null;let r;try{r=new URL(e,se.appUrl)}catch(i){return null}if(r.origin===new URL(se.appUrl).origin){let i=this.router.parseUrl(r.pathname+r.search+r.hash);return{type:"internal",url:new URL(this.router.serializeUrl(i),se.appUrl).href,urlTree:i}}return this.genericLinkService.isExternalUrl(e)?{type:"external",url:r.href}:null}fetchMapping$(){return this.http.get(this.occEndpoints.buildUrl("redirects/keywords"))}normalize(e){return e?.trim().toLocaleLowerCase()??""}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gy=(()=>{class t extends ja{localStorageService=d(af);syncWithStorage({key:e,state$:r,context$:i=H(""),onRead:n=()=>{}}){let l=new Pe,u=i.pipe(v(m=>this.generateKeyWithContext(m,e)),ie());return l.add(u.pipe(N(m=>this.localStorageService.getItem$(m)),v(m=>this.parseJSON(m))).subscribe(m=>n(m))),l.add(r.pipe(Lt(u)).subscribe(([m,_])=>{m&&this.localStorageService.setItem(_,JSON.stringify(m))})),l}parseJSON(e){try{return JSON.parse(e)}catch(r){return null}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _y=(()=>{class t{swUpdate=d(rm);winRef=d(de);handle(){this.updateHandler(),this.unrecoverableHandler()}updateHandler(){this.swUpdate.isEnabled&&this.swUpdate.versionUpdates.pipe(D(e=>e.type==="VERSION_READY"),me(),Mt(()=>this.clearStorages()),N(()=>this.swUpdate.activateUpdate()),me()).subscribe(()=>this.winRef.document.location.reload())}unrecoverableHandler(){this.swUpdate.isEnabled&&this.swUpdate.unrecoverable.pipe(me()).subscribe(()=>{this.clearStorages(),this.winRef.document.location.reload()})}clearStorages(){window.localStorage.clear(),window.sessionStorage.clear()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var kM=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=S({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=X(np),i},providedIn:"root"})}}return t})(),Xn=(()=>{class t{constructor(e,r,i,n){this.eventsService=e,this.windowRef=r,this.tmsConfig=i,this.injector=n,this.subscription=new Pe,this.logger=d(Ir)}collect(){if(this.windowRef.isBrowser())for(let e in this.tmsConfig.tagManager){if(!this.tmsConfig.tagManager?.hasOwnProperty(e))continue;let r=this.tmsConfig.tagManager[e]??{};if(!r.collector){Fa()&&this.logger.warn(`Skipping the '${e}', as the collector is not defined.`);continue}let i=r.events?.map(l=>this.eventsService.get(l))||[],n=this.injector.get(r.collector);n.init(r,this.windowRef.nativeWindow),this.subscription.add(this.mapEvents(i).subscribe(l=>{r.debug&&this.logger.log(`\u{1F3A4} Pushing the following event to ${e}: `,l),l=n.map?.(l)??l,n.pushEvent(r,this.windowRef.nativeWindow,l)}))}}mapEvents(e){return kr(...e)}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||t)(X(So),X(de),X(kM),X(ci))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function PM(t){return()=>t.collect()}var yy=(()=>{class t{static forRoot(){return{ngModule:t,providers:[{provide:Au,useFactory:PM,deps:[Xn],multi:!0}]}}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({})}}return t})();var vy=(()=>{class t extends Xn{collect(){if(this.windowRef.isBrowser())for(let e in this.tmsConfig.tagManager){if(!this.tmsConfig.tagManager?.hasOwnProperty(e))continue;let r=this.tmsConfig.tagManager[e]??{};if(!r.collector){Fa()&&console.warn(`Skipping the '${e}', as the collector is not defined.`);continue}let i=r.events?.map(u=>this.eventsService.get(u))||[],n=this.injector.get(r.collector),l=this.injector.get(Ri);n.init(r,this.windowRef.nativeWindow),this.subscription.add(this.mapEvents(i).pipe(Lt(l.consented$),D(([,u])=>u),v(([u])=>u)).subscribe(u=>{r.debug&&console.log(`\u{1F3A4} Pushing the following event to ${e}: `,u),u=n.map?n.map(u):u,n.pushEvent(r,this.windowRef.nativeWindow,u)}))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sy=(()=>{class t{platformId=d(tr);cookiebotService=d(Ri);userService=d(Rn);userProfileService=d(Cs);occEndpoints=d(rt);http=d(Ar);userIdService=d(bi);userData$=this.userService.get().pipe(fe({bufferSize:1,refCount:!0}));sub=new Pe;ngOnDestroy(){this.sub.unsubscribe()}init(){go(this.platformId)&&this.sub.add(ve({userData:this.userData$,selectedConsent:this.cookiebotService.consent$}).subscribe(({userData:e,selectedConsent:r})=>{e&&typeof e.googleAdUserDataConsent=="boolean"&&typeof e.googleAdUserPersonalizationConsent=="boolean"&&e.googleAdUserDataConsent!==r.preferences&&e.googleAdUserPersonalizationConsent!==r.statistics&&this.updateConsent(r)}))}updateConsent(e){this.userIdService.takeUserId().pipe(me(),N(r=>this.applyConsent$(r,e)),me()).subscribe()}applyConsent$(e,r){let i=this.occEndpoints.buildUrl(`/users/${e}/googleConsents`,{queryParams:{adUserDataConsent:r.preferences,adUserPersonalizationConsent:r.statistics}});return this.http.post(i,{})}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yl=(()=>{class t{winRef=d(de);scriptService=d(_s);languageService=d(et);userProfile=d(Cs);bambuserProvidersService=d(Lf);script$=Mr(()=>this.winRef.isBrowser(),this.scriptService.runScript("https://one-to-one.bambuser.com/embed.js").pipe(Ge(()=>_t),fe(1),D(Boolean)),Nt);constructor$=new uo(null);embed$=this.script$.pipe(N(()=>this.constructor$.asObservable()),D(Boolean),Lt(this.languageService.getActive(),this.userData$()),v(([e,r,i])=>new e({orgId:se.liveShoppingConfig.orgId,withMinimizeSupport:!0,disableCoBrowsing:!1,triggers:["smart","connect-link","queue-link"],allowFirstPartyCookies:!0,enableScanning:!0,floatingPlayer:{navigationMode:e.FLOATING_PLAYER_NAVIGATION_MODE.MANUAL},locale:r,data:i,queue:""})),fe(1),D(Boolean));show(e){this.embed$.pipe(Lt(this.languageService.getActive(),this.userData$()),me()).subscribe(([r,i,n])=>{r.updateData(n),r.config=Object.assign({},r.config,{locale:i,queue:""},e||{}),r.show()})}userData$(){return this.userProfile.get().pipe(v(e=>e?{email:e.email,externalId:e.hmeId,firstName:e.firstName,lastName:e.lastName,phone:e.uid&&`+${e.uid}`}:void 0))}init(){se.bambuser.oneToOneEnabled&&this.embed$.subscribe(e=>{e.on("goto-chat",this.bambuserProvidersService.gotoChatProvider()),e.on("goto-checkout",this.bambuserProvidersService.gotoCheckoutProvider(e)),e.on("should-update-item-in-cart",this.bambuserProvidersService.updateItemInCartProvider()),e.on("should-add-item-to-cart",this.bambuserProvidersService.addItemToCartProvider(e)),e.on("provide-search-data",this.bambuserProvidersService.searchDataProvider()),e.on("provide-product-data",this.bambuserProvidersService.productDataProvider(e))})}constructor(){this.winRef.isBrowser()&&(this.winRef.nativeWindow.onBambuserOneToOneReady=e=>this.constructor$.next(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vi=class extends Tn{ecommerce;event;source},Ki=class extends Tn{ecommerce;event};var Cy=(()=>{class t{activatedRoute=d(yo);activeCartService=d(Sr);productAlgoliaService=d(Rs);cmsService=d(ot);eventService=d(So);routingService=d(Ti);siteContext=d(gs);sub=new Pe;ngOnDestroy(){this.sub.unsubscribe()}init(){this.setOrderConfirmationCheckoutEvent(),this.setPromotionImpressionsEvent(),this.setProductImpressionsEvent(),this.watchCartAddEntrySuccessEvent(),this.watchCartRemoveEntrySuccessEvent(),this.watchProductDetailsPageEvent(),this.setSharedWishListImpressionsEvent(),this.setWishListImpressionsEvent()}setOrderConfirmationCheckoutEvent(){let e=this.routingService.getPageContext().pipe(N(r=>this.cmsService.getPageState(r).pipe(me())),D(Boolean),D(r=>r.pageId==="orderConfirmationPage"),v(()=>Ci(Nn,{event:"checkout",ecommerce:{checkout:{actionField:{step:5,option:"Order confirmation"}}}})));this.eventService.register(Nn,e)}setPromotionImpressionsEvent(){let e=this.routingService.getPageContext().pipe(N(r=>this.cmsService.getPageState(r).pipe(me())),D(Boolean),D(r=>r.pageId==="offers"),v(r=>
4{let i=(r?.slots?.OfferList?.components||[]).map(l=>({id:l?.uid?.replace("BannerComponent","")}));return Ci(Fn,{event:"view_promotion",ecommerce:{promoView:{promotions:i}}})}));this.eventService.register(Fn,e)}setSharedWishListImpressionsEvent(){let e=this.routingService.getPageContext().pipe(N(r=>this.cmsService.getPageState(r).pipe(me())),D(Boolean),D(r=>r.pageId==="sharedWishlist"),v(r=>Ci(kn,{event:"sharedWishList_view",wishList:{id:r.pageContextCode}})));this.eventService.register(kn,e)}setWishListImpressionsEvent(){let e=this.routingService.getPageContext().pipe(N(r=>this.cmsService.getPageState(r).pipe(me())),D(Boolean),D(r=>r.pageId==="wishlist"),v(()=>Ci(Mn,{event:"wishList_view",wishList:{id:this.activatedRoute?.snapshot?.queryParams?.wishListId}})));this.eventService.register(Mn,e)}setProductImpressionsEvent(){let e=["SearchResultsListPageTemplate","ProductListPageTemplate","CategoryPageTemplate","BrandCategoryPageTemplate","OfferPageTemplate"],r=this.routingService.getPageContext().pipe(N(i=>this.cmsService.getPageState(i).pipe(me())),D(Boolean),D(i=>e.includes(i.template)),ie(),N(()=>this.productAlgoliaService.loadedHits$),Lt(this.siteContext.currency$),v(([i,n])=>{let l=(i||[]).map(m=>({brand:m?.brandName?.en||m?.brandName?.no||"",category:m?.categoryName?.en||m?.categoryName?.no||"",id:m.code,name:m?.name?.en||m?.name?.no||"",price:m?.price?.[n]?.toString()}));return Ci(On,{event:"product_impressions",ecommerce:{currencyCode:n,impressions:l}})}));this.eventService.register(On,r)}watchCartAddEntrySuccessEvent(){this.sub.add(this.eventService.get(Oi).pipe(Lt(this.siteContext.currency$)).subscribe(([e,r])=>{let i={category:e?.entry?.product?.categories?.[0]?.name,id:e?.entry?.product?.code,name:e?.entry?.product?.name,price:e?.entry?.totalPrice?.value.toString(),quantity:e?.entry?.quantity};this.eventService.dispatch(He(re({event:"addToCart"},e.source?{source:e.source}:{}),{ecommerce:{currencyCode:r,add:{products:[i]}}}),Vi)}))}watchCartRemoveEntrySuccessEvent(){this.sub.add(this.eventService.get(Pn).subscribe(e=>{let r={category:e?.entry?.product?.categories?.[0]?.name,id:e?.entry?.product?.code,name:e?.entry?.product?.name,price:e?.entry?.totalPrice?.value.toString(),quantity:e?.entry?.quantity};this.eventService.dispatch({event:"removeFromCart",ecommerce:{remove:{products:[r]}}},Ki)}))}watchProductDetailsPageEvent(){this.sub.add(this.eventService.get(Lm).subscribe(e=>{let r={category:e?.categories?.[0]?.name,id:e?.code,name:e?.name,price:e?.price?.value.toString()};this.eventService.dispatch({event:"product_detail",ecommerce:{detail:{products:[r]}}},Fs)}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var by=(()=>{class t{cmsService=d(ot);winRef=d(de);formatCssVarMap={"768X216":"--heading-background-image-768","1200X338":"--heading-background-image-1200","1920X540":"--heading-background-image-1920"};init(){this.cmsService.getCurrentPage().subscribe(e=>{this.winRef.isBrowser()&&(this.setCssVar("--heading-background-color",e?.headingBackgroundColor),this.setCssVar("--heading-font-color",e?.headingFontColor),this.setHeadingBackgroundImage(e?.headingBackgroundImageMap))})}setHeadingBackgroundImage(e){Object.entries(this.formatCssVarMap).forEach(([r,i])=>{this.setCssVar(i,e?this.toImageUrl(e[r]):void 0)})}setCssVar(e,r){r?this.winRef.document.body.style.setProperty(e,r):this.winRef.document.body.style.removeProperty(e)}toImageUrl(e){if(e)return`url('${Xp(e)}')`}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ty=(()=>{class t{emarsys=d(Os);measurmentService=d(Cy);liveShoppingOneToOneService=d(yl);pageStyleService=d(by);ngOnInit(){this.emarsys.init(),this.measurmentService.init(),this.liveShoppingOneToOneService.init(),this.pageStyleService.init()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-root"]],standalone:!1,decls:4,vars:0,template:function(r,i){r&1&&Le(0,"trn-storefront")(1,"trn-back-to-top")(2,"trn-modal-container")(3,"trn-barcode-modal")},dependencies:[ml,pl,al,cl],encapsulation:2})}return t})();var Ey={backend:{occ:{endpoints:{articles:"cms/articles",article:"cms/articles/${articleId}",featuredArticles:"cms/articles/featured",shareArticle:"cms/articles/${articleId}/share"}}}};var wy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(Ey)]})}return t})();var AM=new xe("FATAL_ERROR");function pr(t){return{provide:AM,multi:!0,useFactory:t}}function IM(t){return!(t instanceof Hp)||!(t.cause instanceof fi)?null:t.cause.url}
4var mr=t=>()=>{let o=d(rt);return e=>Xr(o,t,IM(e))};var My={backend:{occ:{endpoints:{brands:"cms/brands",brand:"cms/brands/${brandCode}"}}}};var ky=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(My),pr(mr("brand"))]})}return t})();var Py={backend:{occ:{endpoints:{categories:{[Wr]:"catalogs/trnProductCatalog/Online/categories?fields=DEFAULT",[Kr.DETAILS]:"catalogs/trnProductCatalog/Online/categories?fields=DEFAULT",[Kr.LIST]:"catalogs/trnProductCatalog/Online/categories?fields=BASIC"},category:{[Wr]:"catalogs/trnProductCatalog/Online/categories/${code}?fields=DEFAULT",[Kr.DETAILS]:"catalogs/trnProductCatalog/Online/categories/${code}?fields=DEFAULT",[Kr.LIST]:"catalogs/trnProductCatalog/Online/categories/${code}?fields=BASIC"}}}}};var vl=ft(Et());var Ay=(()=>{class t extends ks{http=d(Ar);occEndpoints=d(rt);requests$=new si;batches$=this.requests$.pipe(yu(this.requests$.pipe(Ca(0,pu))),Gr(e=>Object.values((0,vl.groupBy)(e,({by:r,scope:i})=>`${r}|${i}`))),Gr(e=>this.fetch(e).pipe(v(r=>({requests:e,categories:r})),Ge(r=>H({requests:e,error:r})))),Ta());load(e,r=Wr){return this.request({by:"id",value:e,scope:r})}loadByPath(e,r=Wr){return this.request({by:"path",value:e,scope:r})}request(e){return zr(()=>kr(this.batches$.pipe(D(r=>r.requests.includes(e)),ht(1),v(r=>this.pick(r,e))),zr(()=>(this.requests$.next(e),_t))))}pick(e,{by:r,value:i}){if(e.error)throw e.error;let n=e.categories.find(l=>l[r]===i);if(!n)throw new Error(`Category ${r} ${i} is not in the response`);return n}fetch(e){let[{by:r,scope:i}]=e,n=(0,vl.uniq)(e.map(({value:u})=>u));if(r==="id"&&n.length===1){let u=this.occEndpoints.buildUrl("category",{urlParams:{code:n[0]},scope:i});return this.http.get(u).pipe(v(m=>[m]))}let l=this.occEndpoints.buildUrl("categories",{queryParams:{[r==="id"?"categoryIds":"categoryPaths"]:n},scope:i});return this.http.get(l).pipe(v(u=>u.categories??[]))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Iy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(Py),{provide:ks,useClass:Ay},pr(mr("category"))]})}return t})();var cd=new xe("EXPECTED_HTTP_ERROR"),dd=new xe("EXPECTED_ERROR_ACTION");function ud(t){return{provide:cd,multi:!0,useFactory:t}}function Ry(t){return{provide:dd,multi:!0,useFactory:t}}var Oy=()=>t=>t.type===xp.CMS_SET_PAGE_FAIL_INDEX;var pd=t=>Array.isArray(t.error?.errors)?t.error.errors:[],Fy=()=>{let t=d(rt);return o=>o.status===400&&Xr(t,"product",o.url)&&pd(o).some(e=>e.type==="UnknownIdentifierError")},Ny=()=>{let t=d(rt);return o=>Xr(t,"pages",o.url)?o.status===404?pd(o).some(e=>e.type==="CMSItemNotFoundError"):o.status===400?pd(o).some(e=>e.type==="ValidationError"&&e.subject==="code"):!1:!1};var xy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[ud(Fy),ud(Ny),Ry(Oy)]})}return t})();var Ly=(()=>{class t extends Va{handleError(e,r){this.handleBadPassword(e,r),this.handleBadLoginResponse(e,r),this.handleGuestDuplicateEmail(e,r)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dy=(()=>{class t extends Ka{handleError(){}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Uy=(()=>{class t extends os{expectedErrors=d(cd,{optional:!0})??[];shouldHandleError(e){return super.shouldHandleError(e)?e instanceof fi?!this.expectedErrors.some(r=>r(e)):!0:!1}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var RM=[{urlFragment:"/cms/components",emptyBody:()=>({component:[]})}],jy=(()=>{class t{isServer=mi(d(tr));logger=d(Ir);intercept(e,r){if(!this.isServer||e.method!=="GET")return r.handle(e);let i=RM.find(n=>e.url.includes(n.urlFragment));return i?r.handle(e).pipe(Ge(n=>n instanceof fi&&n.status===0?(this.logger.warn(`[occ-ssr-fallback] Suppressing SSR OCC fetch failure: ${e.url}`),H(new Hu({status:200,body:i.emptyBody()}))):gu(()=>n))):r.handle(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var By=(()=>{class t extends rs{expectedActions=d(dd,{optional:!0})??[];handle(e){this.expectedActions.some(r=>r(e))||super.handle(e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $y=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:os,useExisting:Uy},{provide:zo,useExisting:jy,multi:!0},{provide:rs,useExisting:By},{provide:Ka,useClass:Dy},{provide:Va,useClass:Ly}],imports:[xy]})}return t})();var Hy={backend:{occ:{endpoints:{offers:"offers",offer:"offers/${code}"}}}};var Gy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(Hy),pr(mr("offer"))]})}return t})();var qi=class extends Xa{};
4var Kt="products/${productCode}?fields=FULL,baseOptions(FULL),images(FULL),standardPrice(FULL),standardDisplayPrice(FULL),numberOfReviews,reviews,potentialPromotions(FULL),categories(FULL),breadcrumbCategories(FULL)",qt="products?fields=FULL",zy={backend:{occ:{endpoints:{product:{[Wr]:Kt,[Ne.LIST]:Kt,[Ne.DETAILS]:Kt,[Ne.ATTRIBUTES]:Kt,[Ne.VARIANTS]:Kt,[Ne.CODE]:Kt,[Ne.PRICE]:Kt,[Ne.STOCK]:Kt,[Ne.UNIT]:Kt,[Ne.PROMOTIONS]:Kt,[Ne.LIST_ITEM]:Kt,[Ne.MULTI_DIMENSIONAL]:Kt,[Ne.MULTI_DIMENSIONAL_AVAILABILITY]:Kt,[vc]:"products/${productCode}?fields=CARD,baseOptions(FULL),images(FULL),standardPrice(FULL),standardDisplayPrice(FULL)"},products:{[Wr]:qt,[Ne.LIST]:qt,[Ne.DETAILS]:qt,[Ne.ATTRIBUTES]:qt,[Ne.VARIANTS]:qt,[Ne.CODE]:qt,[Ne.PRICE]:qt,[Ne.STOCK]:qt,[Ne.UNIT]:qt,[Ne.PROMOTIONS]:qt,[Ne.LIST_ITEM]:qt,[Ne.MULTI_DIMENSIONAL]:qt,[Ne.MULTI_DIMENSIONAL_AVAILABILITY]:qt,[vc]:"products?fields=CARD"},productFeatures:"products/${productCode}/features?fields=DEFAULT",productStock:"products/${productCode}/allstocks"}},loadingScopes:{product:{[Ne.DETAILS]:{include:[]}}}}};var Wy=(()=>{class t{convert(e,r=re({},e)){return r.customProductCode=`product${e.code}`,jf(r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Yi=ft(Et());var md=(()=>{class t extends Ap{loadMany(e){let r=(0,Yi.groupBy)(e,({scope:i})=>this.occEndpoints.buildUrl("products",{scope:i}));return Object.entries(r).flatMap(([i,n])=>{let l=(0,Yi.uniq)(n.map(({code:m})=>m));if(l.length===1)return super.loadMany(n);let u=this.loadBatch(i,l).pipe(fe({bufferSize:1,refCount:!0}));return n.map(m=>He(re({},m),{data$:u.pipe(v(_=>{let P=_[m.code];if(!P)throw new Error(`Product ${m.code} is not in the batch response`);return P}),this.converter.pipeable(Qa))}))})}loadFeatures(e){return this.http.get(this.occEndpoints.buildUrl("productFeatures",{urlParams:{productCode:e}}))}loadBatch(e,r){return this.http.get(e,{params:{productIds:r.join(",")}}).pipe(v(i=>(0,Yi.keyBy)(i.products,"code")))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vy=(()=>{class t extends Ai{cmsService=d(Ms);getCode(){return ve([super.getCode(),this.cmsService.getCurrentPage()]).pipe(v(([e,r])=>r?.pageContextCode&&r?.type&&r?.type==="ProductPage"?r.pageContextCode:e))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ky=(()=>{class t extends zp{adapter=d(qi);getFeatures(e){return this.adapter.loadFeatures(e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qy=(()=>{class t extends Co{actions$=d(gi);connector=d(Ky);loadingScopes=d(Op);contextChange$=this.actions$.pipe(_i(sc.CURRENCY_CHANGE,sc.LANGUAGE_CHANGE));get(e,r=Ne.DETAILS){return super.get(e,r)}getMany(e,r=Ne.DETAILS){let i=e.filter(n=>n?.trim());return i.length?ve(i.map(n=>this.settled$(n,[].concat(r)))).pipe(v(n=>n.filter(Boolean))):H([])}getProductFeatures(e){return this.connector.getFeatures(e).pipe(mp(this.contextChange$))}settled$(e,r){let i=this.loadingScopes.expand("product",r).map(n=>this.hasError(e,n));return ve({product:this.get(e,r),failed:ve(i).pipe(v(n=>n.some(Boolean)))}).pipe(D(({product:n,failed:l})=>!!n||l),v(({product:n})=>n))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Yy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(zy),{provide:Xa,useExisting:md},{provide:qi,useExisting:md},{provide:Co,useClass:qy},{provide:Ai,useClass:Vy},{provide:Qa,useClass:Wy,multi:!0},pr(mr("product"))],imports:[qp.forRoot(),Ip,Rm,Om,jm]})}return t})();var Qy=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});
4static \u0275inj=f({imports:[$y,Yy,ky,Iy,wy,Gy]})}return t})();var Xy=(()=>{class t{http=d(Ar);occEndPointService=d(rt);getUrlByCode(e){let r=this.occEndPointService.buildUrl("/s/${shortUrlCode}",{urlParams:{shortUrlCode:e}});return this.http.get(r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fo=class t{res=d(Nr,{optional:!0});redirectService=d(xr);siteContextUrlSerializer=d(yi);shortUrlService=d(Xy);static SHORT_URL_REGEXP=new RegExp(/^\/?((?<lang>\w+)\/)?(\w+\/)?s\/(?<code>\w+)\/?$/);static isShortUrl(o){return this.SHORT_URL_REGEXP.test(decodeURIComponent(o))}parseShortUrl(o){let e=t.SHORT_URL_REGEXP.exec(decodeURIComponent(o));return`${se.occConfig.backend.occ.baseUrl.replace(/\/$/,"")}/trnws/s/${e.groups.code}`}getCodeFromUrl(o){return t.SHORT_URL_REGEXP.exec(decodeURIComponent(o)).groups.code}canActivate(o,e){return t.isShortUrl(e.url)?this.redirect(e.url):!0}redirect(o){return this.shortUrlService.getUrlByCode(this.getCodeFromUrl(o)).pipe(Ge(()=>H(null)),v(e=>this.externalUrlRedirect(e?.url)))}externalUrlRedirect(o){return o?(this.redirectService.redirectExternally(o),this.siteContextUrlSerializer.parse(o)):(this.res?.status(404),!0)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var Zy=(()=>{class t extends za{parse(e){return super.parse(this.parseInternal(this.encodeBrackets(e)))}parseInternal(e){if(this.isAllowed(e)){let r=e.split("?")[0],i=e.split("?")[1];return r.toLowerCase()+(i?"?"+i:"")}return e}isAllowed(e){return!Fo.isShortUrl(e)}encodeBrackets(e){return e.replace(/\(/g,"%28").replace(/\)/g,"%29")}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Jy=(()=>{class t{globalMessageService=d(nr);router=d(Te);activatedRoute=d(yo);sub=new Pe;ngOnDestroy(){this.sub.unsubscribe()}handleMessages(){this.sub.add(this.activatedRoute.queryParams.pipe(v(e=>Object.keys(e)),D(e=>[Vr.Accept,Vr.Decline,Vr.Callback].some(r=>e.includes(r)))).subscribe(e=>{e.includes(Vr.Accept)&&this.globalMessageService.add({key:"bank_cards.add_bank_card_success"},Pt.MSG_TYPE_CONFIRMATION),e.includes(Vr.Decline)&&this.globalMessageService.add({key:"bank_cards.add_bank_card_decline"},Pt.MSG_TYPE_CONFIRMATION),this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:{[Vr.Accept]:null,[Vr.Decline]:null,[Vr.Callback]:null},queryParamsHandling:"merge"})}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ev=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[rr(()=>d(Jy).handleMessages())]})}return t})();var No=ft(Et());var tv=(()=>{class t extends ls{logger=d(Ir);launcher(e,r,i,n){return super.launcher(e,r,i,n).pipe(N(({elementRef:l,componentRef:u})=>u.injector.get(To).data$.pipe(Mt(m=>{try{this.cmsClasses(m?.metadata).forEach(_=>l.nativeElement.classList.add(_))}catch(_){this.logger.warn("Failed to apply CMS metadata class",_)}}),v(()=>({elementRef:l,componentRef:u})))))}cmsClasses(e){return!e||typeof e!="object"?[]:(0,No.reduce)(e,(r,i,n)=>(0,No.isString)(i)||(0,No.isNumber)(i)||(0,No.isBoolean)(i)?r.concat([["cms",n,String(i)].map(l=>l.replace(/[^a-zA-Z0-9_-]/g,"")).join("-")]):r,[])}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sl=class extends Tn{event;search};var rv=(()=>{class t{redirectService=d(xr);canActivate(e,r){return this.redirectService.redirectExternally(r.url),!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var fd=(()=>{class t{constructor(e){this.winRef=e}init(e,r){let i=e.dataLayerProperty??"dataLayer";r[i]=r[i]??[],e.gtmId&&(function(n,l,u,m,_){n[m]=n[m]||[],n[m].push({"gtm.start":new Date().getTime(),event:"gtm.js"});let P=l.getElementsByTagName(u)[0],M=l.createElement(u),L=m!=="dataLayer"?"&l="+m:"";M.async=!0,M.src="https://www.googletagmanager.com/gtm.js?id="+_+L,P.parentNode?.insertBefore(M,P)})(r,this.winRef.document,"script",i,e.gtmId)}pushEvent(e,r,i){let n=e.dataLayerProperty??"dataLayer";r[n].push(i)}static{this.\u0275fac=function(r){return new(r||t)(X(de))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),OM={tagManager:{gtm:{collector:fd}}},ov=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({providers:[ir(OM)]})}}return t})();var iv=(()=>{class t extends fd{init(e,r){if(!this.winRef.isBrowser())return;let i=e.dataLayerProperty??"dataLayer";if(r[i]=r[i]??[],e.gtmId){let n=i!=="dataLayer"?"&l="+i:"",l=r.document.createElement("script");l.type="text/javascript",l.src="https://www.googletagmanager.com/gtm.js?id="+e.gtmId+n;let u=r.document.createElement("script");u.type="text/javascript",u.innerHTML=` 5 window.${i} = window.${i} || []; 6 window.${i}.push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }) 7 `,document.head.appendChild(l),document.head.appendChild(u),window.dispatchEvent(new CustomEvent("ptupdate"))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Tv=ft(Et());function nv(t){if(t.length>=1&&t[0].path.startsWith("category")){let o=t[0].path.substring(8);return{consumed:t,posParams:{categoryCode:new ep(o,{})}}}return null}var Tl={};Zl(Tl,{en:()=>hd,no:()=>gd});var hd={};Zl(hd,{aria_labels:()=>sv,asm:()=>lv,assets:()=>cv,common:()=>dv,countries:()=>$M,date:()=>uv,errors:()=>pv,vipps:()=>mv});
7var Cl=ft(Vf());var av={locale:"en",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:["People's Republic of China","China"],CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:["Republic of the Congo","Congo"],CD:["Democratic Republic of the Congo","Congo"],CK:"Cook Islands",CR:"Costa Rica",CI:["Cote d'Ivoire","C\xF4te d'Ivoire","Ivory Coast"],HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:["Czech Republic","Czechia"],DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:["Republic of The Gambia","The Gambia","Gambia"],GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:["Islamic Republic of Iran","Iran"],IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:["South Korea","Korea, Republic of","Republic of Korea"],KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:["The Republic of North Macedonia","North Macedonia"],MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:["State of Palestine","Palestine"],PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:["Pitcairn","Pitcairn Islands"],PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:["Russian Federation","Russia"],RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Eswatini",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:["Taiwan, Province of China","Taiwan"],TJ:"Tajikistan",TZ:["United Republic of Tanzania","Tanzania"],TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:["T\xFCrkiye","Turkey"],TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:["United Arab Emirates","UAE"],GB:["United Kingdom","UK","Great Britain"],US:["United States of America","United States","USA","U.S.A.","US","U.S."],UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:["\xC5land Islands","Aland Islands"],BQ:"Bonaire, Sint Eustatius and Saba",CW:"Cura\xE7ao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barth\xE9lemy",MF:"Saint Martin (French part)",RS:"Serb
7ia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"}};var sv={announcements:{password_hidden:"Password hidden",password_shown:"Password shown"},element_labels:{language_picker:"Language picker",login:"Sign in",my_profile:"My profile",price_before_discount:"Price before discount",price_discounted:"Discounted price",quantity:"Quantity {{count}}",variant_color:"Color {{color}}",variant_size:"Size {{size}}",view_brand_products:"View {{brand}} products",view_my_favorites:"View my favorites"},icon_labels:{add_to_favorites:"Add to favorites",clear:"Clear",close:"Close",collapse_filter:"Collapse filter {{filter}}",expand_filter:"Expand filter {{filter}}",hide_password:"Hide password",remove_from_favorites:"Remove from favorites",show_password:"Show password"},link_labels:{add_new_card:"Add new bank card",add_to_cart:"Add to cart {{product}} {{brand}} {{price}}",all_filters_cleared:"All filters cleared",clear_all_filters:"Clear all filters",edit_section:"Edit {{section}}",go_to_step:"Go to {{step}}",move_all_category_product_to_favorites:"Move all {{category}} products to favorites",move_all_products_to_favorites:"Move all products to favorites",read_article:"Read article {{article}}",read_less_about_product:"Read less",read_more_about_click_and_collect:"Read more about Click & collect",read_more_about_norway_quota_calculation:"Read more",read_more_about_product:"Read more",read_more_about_product_quota:"Read more about product quota",read_more_about_quota:"Read more",show_less_filter:"Show less {{filter}}",show_more_filter:"Show more {{filter}}",social_link:"Link to {{platform}}",view_all_category:"View all {{category}}",view_product_details:"View details {{product}} {{price}}",zoom_in_qr_code:"Zoom in QR code"}};var lv={asm:{mainLogoLabel:"SAP",mainTitle:"Assisted Service Mode",logout:"Sign Out",hideUi:"Close ASM",helpPortalUrl:"Help",customers:"Customers",asmCustomer360Button:"Customer 360 View",asmCustomer360ViewButton:"Customer 360\xB0",createCustomerSuccessfullyAlert:"The customer account has been created and the customer session has started.",saveInactiveCartAlertInfo:"The identified cart is an inactive cart. To take further actions on this cart, save it first.",activeCartAlertInfo:"The identified cart is an active cart.",startCustomerEmulationAlertInfo:"Customer emulation has started. Any actions you do will reflect the effects on the customer account.",toggleUi:{collapse:"Hide ASM",expand:"Show ASM"},loginForm:{submit:"Sign In",userId:{label:"Agent ID or Email"},password:{label:"Password"}},customerSearch:{searchTerm:{label:"Customer Name/Email Address"},searchCustomer:{label:"Search by name or email address"},searchOrder:{label:"Search by full order ID"},submit:"Start Session",startEmulation:"Start Emulation",noMatch:"No customer found.",noMatchResult:"This account cannot be found.",noCustomerMatchResult:"No matching customer found.",noOrderMatchResult:"Search by full order ID.",createCustomer:"Create New Customer",customer:"Customer",orderID:"Order ID"},createCustomerForm:{title:"Create New Customer",createAccount:"Create",cancel:"Cancel",firstName:{label:"First Name",placeholder:"First name"},lastName:{label:"Last Name",placeholder:"Last name"},emailAddress:{label:"Email Address",placeholder:"Email address"},createAccountAlert:"The customer session starts once you create the customer account.",validationErrors:{firstName:"Enter a valid first name.",lastName:"Enter a valid last name.",emailAddress:"Enter a valid email address."},badRequestDuplicatedEmail:"Enter a different email address as {{ emailAddress }} already exists."},customerList:{title:"Customer List",description:"Select a customer from one of several provided lists.",createCustomer:"Create New Customer",cancel:"Cancel",tableHeader:{customer:"Customer",customerName:"Customer Name",name:"Name",email:"Email",emailId:"Email/ID",phone:"Phone",account:"Account",cart:"Cart",order:"Order",view:"360 View",activeCart:"Active Cart",viewActiveCart:"View Active Cart",orders:"Orders",viewOrders:"View Orders",customer360:"Customer 360\xB0",viewCustomer360:"View Customer 360\xB0"},tableSort:{sortBy:"Sort by",byName:"Name (Asc)",byNameAsc:"Name (Asc)",byNameDesc:"Name (Desc)",byDateAsc:"Date (Asc)",byDateDesc:"Date (Desc)",byOrderDateAsc:"Order date (Asc)",byOrderDateDesc:"Order date (Desc)",byUnit:"Account (Asc)",byUnitDesc:"Account (Desc)"},page:{page:"Page {{count}}",previous:"Previous",next:"Next"},noOfCustomers:"{{count}} Customers",oneCustomer:"1 Customer",noCustomers:"There are currently no customers in this customer list.",noLists:"There are currently no customer lists available. Contact your system administrator.",listsError:"The customer lists could not be retrieved. Please try again later.",searchBox:"Search",enterSearchBox:"Enter customer name or email"},switchCustomer:{dialog:{title:"Warning",body:'Clicking "Switch Customer" will end the emulation for "{{ customerA }}" and start for "{{ customerB }}". Any unsaved changes for "{{ customerA }}" will be lost.',actions:{switch:"Switch Customer"}}},saveCart:{saveCartBtn:"Save for Later",dialog:{saveInfo:"Save the cart before you can take further actions.",disableInfo:"Cannot save the cart as it is empty.",title:"Save Cart",row:{id:"ID",qty:"Qty",qtyFull:"Quantity",total:"Total"},actions:{save:"Save for Later"}}},bindCart:{cartNumber:"Cart Number",bindCartToCustomer:"Assign Cart to Customer",success:"Cart has been successfully assigned",assignCartId:"Assign a cart id to customer",enterCartId:"Enter cart id",resetCartId:"Reset",dialog:{title:"Assign Anonymous Cart",body:"Do you want to replace the current active cart with the anonymous cart? If you replace the current active cart, it is saved as a saved cart.",actions:{replace:"Replace Cart"}}},csagentTokenExpired:"Your customer support agent session is expired.",endSession:"End Session",endEmulation:"End Emulation",agentSessionTimer:{label:"Session Timeout",minutes:"min",reset:"Reset"},auth:{agentLoggedInError:"Cannot login as user when there is an active
7CS agent session. Please either emulate user or logout CS agent."},error:{noCustomerId:"No customerId found for selected user. Session cannot be started."}},formErrors:{labeled:{required:"Field {{label}} is required",cxInvalidEmail:"Field {{label}} has not a valid email format. Match pattern: [email protected]",cxInvalidPassword:"Field {{label}} has not a valid password format",cxMinOneUpperCaseCharacter:"Password must contain at least one uppercase character",cxMinOneDigit:"Password must contain at least one digit",cxMinOneSpecialCharacter:"Password must contain at least one special character",cxMinSixCharactersLength:"Password must contain at least 6 characters",cxMinEightCharactersLength:"Password must contain at least 8 characters",cxMaxCharactersLength:"Password cannot have more than 128 characters",cxContainsSpecialCharacters:"Password cannot contain special characters",cxNoConsecutiveCharacters:"Password cannot contain consecutive identical characters",invalidTokenCodeError:"This code is not valid",date:{required:"Field {{label}} is required",min:"Field {{label}} cannot be before {{min}}",max:"Field {{label}} cannot be after {{max}}",pattern:"Use dateformat yyyy-mm-dd in field {{label}}",invalid:"Use a valid date in field {{label}}"}}
7,globalMessage:"The form you are trying to submit contains errors.",required:"This field is required",cxInvalidEmail:"This is not a valid email format",cxInvalidPassword:"This is not a valid password format",cxPasswordsMustMatch:"Password fields must match",cxPasswordsCannotMatch:"Password fields cannot match",cxEmailsMustMatch:"Email fields must match",cxStarRatingEmpty:"Rating field is required",cxNoSelectedItemToCancel:"Select at least one item",cxNegativeAmount:"Amount must be equal or greater than zero",cxContainsSpecialCharacters:"Field cannot contain special characters",date:{required:"This field is required",min:"Date cannot be before {{min}}",max:"Date cannot be after {{max}}",pattern:"Use dateformat yyyy-mm-dd",invalid:"Use a valid date"},file:{required:"File is required",empty:"File should not be empty",invalidExtension:"File extension is not valid",tooLarge:"File size should not exceed {{ maxSize }} MB",tooManyEntries:"The number of items is greater than {{ maxEntries }}",notParsable:"File is not parsable",fileNotAllowed:"This file type is not allowed"}},httpHandlers:{badRequest:{bad_credentials:"{{ errorMessage }}. Please login again.",user_is_disabled:"{{ errorMessage }}. Please contact administration."},badGateway:"A server error occurred. Please try again later.",badRequestPleaseLoginAgain:"{{ errorMessage }}. Please login again.",badRequestOldPasswordIncorrect:"Old password incorrect.",badRequestGuestDuplicateEmail:"{{ errorMessage }} email already exist. Please checkout with a different email to register using a guest account.",conflict:"Already exists.",forbidden:"You are not authorized to perform this action. Please contact your administrator if you think this is a mistake.",gatewayTimeout:"The server did not respond, please try again later.",internalServerError:"An Internal Server Error occurred. Please try again later.",sessionExpired:"Your session has expired. Please login again.",unknownError:"An unknown error occurred",unauthorized:{common:"An unknown authorization error occured",invalid_client:"Bad client credentials"},validationErrors:{missing:{card_cardType:"The selected credit card is not supported. Please select another.",card_accountNumber:"The credit card number entered is not valid.",card_cvNumber:"The security code entered is not valid.",card_expirationMonth:"The credit card expiration date entered is not valid.",card_expirationYear:"The credit card expiration date entered is not valid.",billTo_firstName:"The first name entered is not valid.",billTo_lastName:"The last name entered is not valid.",billTo_street1:"The address entered is not valid.",billTo_street2:"The address entered is not valid.",billTo_city:"The city entered is not valid for this credit card.",billTo_state:"The state/province entered is not valid for this credit card.",billTo_country:"The country/region entered is not valid for this credit card.",billTo_postalCode:"The zip/postal code is not valid for this credit card.",country:{isocode:"Missing country/region"}},invalid:{card_expirationMonth:"The credit card expiration date entered is not valid.",firstName:"First Name entered is not valid.",lastName:"Last Name entered is not valid.",password:"Password entered is not valid.",uid:"UID is not valid.",code:"Code is not valid.",email:"Email is not valid.",loginId:"Email is not valid."}},cartNotFound:"Cart not found.",invalidCodeProvided:"Invalid code provided.",voucherExceeded:"This coupon has exceeded the number of times it can be used",unknownIdentifier:"Item not found.",otherCartErrors:"Cart errors occurred."}};var cv={assets:{icons:{add_to_apple_wallet:"Add to Apple Wallet",american_express:"American express",apple_pay:"Apple pay",bankaxept:"Bankaxept",birthday_present:"Birthday present",cc_logo:"Click & collect",collect_me:"Collect me",dankort:"Dankort",diners_club:"Diners club",edankort:"Edankort",fifteen_beers:"Fifteen beers",forbrugsforeningen:"Forbrugsforeningen",four_wines:"Four wines",google_pay:"Google pay",jcb:"JCB",loading_spinner:"Loading spinner",maestro:"Maestro",mastercard:"Mastercard",norwegian_flag:"Norwegian flag",one_liquor:"One liquor",one_tobacco:"One tobacco",paypal:"PayPal",pie_chart:{"1_of_3":"Pie chart 1 of 3","1_of_4":"Pie chart 1 of 4","2_of_3":"Pie chart 2 of 3","2_of_4":"Pie chart 2 of 4","3_of_3":"Pie chart 3 of 3","3_of_4":"Pie chart 3 of 4","4_of_4":"Pie chart 4 of 4",alt_with_context:"{{level}} of {{total}} {{label}}, {{value}}"},six_beers:"Six beers",surprise_me:"Surprise me",tax_free_logo:"Tax Free Norway",two_wines:"Two wines",vipps:"Vipps",visa:"Visa",visa_electron:"Visa Electron",visa_verification:"Visa verification",welcome_discount:"Welcome discount"}}};var dv={account:{about_this_coupon:"About this coupon",become_a_member:"Become a member",become_a_tax_free_me_member:"Become a member of Tax Free & Me",become_a_tax_free_me_member_to_receive_discounts:"Become a Tax Free & Me member and get full access to our loyalty programme",coupon:"Coupon",does_not_apply_to_alcohol_and_tobacco_products:"* Does not apply to alcohol and tobacco products, deposit return, Apple products, or print media, books and shopping bags",earned_in_year:"earned in {{year}}",easy_point_collection_with_linked:"Easy point collection with linked bank cards for Tax Free & Me members",expired:"Expired",expires_in:"Expires in",get_points_on_all_your_purchases:"Receive points for all your purchases. Points are converted into a coupon once a year","level.1":"Level 1","level.2":"Level 2","level.3":"Level 3",load_qr_code:"Load QR code",membership_card:"Membership card",membership_card_no:"Membership card number",no_cards_added:"No cards added",no_coupons:"No coupons",no_coupons_refresh:"No coupons yet, please refresh the page",no_membership_card_yet:"No membership card yet",no_membership_card_yet_refresh:"No membership card yet, please refresh the page",no_points_collected_yet:"No points collected yet",points:"{{points}} points",points_earned_in_year:"points earned in {{year}}",qr_code:"QR Code",registration_successful:"Registration successful",show_more_coupons:"View more coupons",try_again:"Try again",valid_until:"Valid until",why_do_i_need_to_share_this:"Why do I need to share this?",with_tax_free_me_you_get_one:"With Tax Free & Me you collect one point per 10 NOK when you purchase*",you_are_now_registered_as_a_tax_free_me_member:"You are now a Tax Free & Me member and can access all benef
7its",you_are_points_points_from_achieving:"You are {{points}} points away from reaching {{bonus}} in loyalty bonus in {{year}}",you_are_points_points_of_reaching:"You are {{points}} points of reaching {{bonus}} in loyalty bonus",you_have_reached_bonus:"You have reached {{bonus}} in loyalty bonus",zoom_in:"Zoom in"},account_settings:{apple_account:"Apple account",are_you_sure_you_want_to_delete:"Are you sure you want to delete your profile?",avinor_no_email_newsletters:"Avinor.no email newsletter",by_deleting_your_account:"If you delete your profile, your membership, order history and newsletter subscription will be terminated. All stored data and information will be deleted",collect_loyalty_points:"Collect loyalty points",country:"Country",country_code:"Country code",create_a_new_password:"Create a new password",current_password:"Current password",date_of_birth:"Date of birth",delete_account:"Delete profile",deleted:"Your profile has been deleted",edit_personal_information:"Edit personal information",edit_sign_in_information:"Edit credentials",edit_subscriptions:"Edit subscriptions",email_address:"Email address",exclusive_benefits:"Exclusive benefits and special offers",female:"Female",first_name:"First name",gender:"Gender",go_to_avinor_no:"Go to avinor.no",google_account:"Google account",if_you_want_to_change_your_phone_number_please:"If you would like to change your phone number, please",invalid_request:"Invalid request",last_name:"Last name",make_a_request_to_support:"Make a request for support",male:"Male",message:"Message",new_password:"New password",new_password_label:"New password (Contains 6 or more characters)",new_phone_number:"New phone number",newsletter_and_digital_communication:"Consent to digital marketing and email newsletters with good deals, news, and inspiration based on your preferences. You can expect about 2 newsletters per month.",not_deleted:"Your profile was not deleted",not_linked:"Not linked",not_respond:"Prefer not to respond",not_saved:"Changes to personal information have not been saved",not_specified:"Not specified",not_subscribed:"Not subscribed",once_you_delete_your_account:"If you delete your profile, all your order history, coupons and points you have collected will be deleted",our_support_staff_will:"Our customer service will contact you on your registered phone number or email address",password_recovery_link_is_invali
7d:"The password recovery link has expired or is invalid. Please create a new password recovery request",personal_information:"Personal information",phone_number:"Phone number",receive_a_birthday_present:"Receive a birthday gift",reminder_birth_date:"Please note that only one birthday coupon is issued per year",request_has_been_sent:"Request has been sent",request_to_change_phone_number:"Request to change phone number",saved_successfully:"Changes to personal information saved",sign_in_information:"Login information",sign_in_not_saved:"Changes to credentials were not saved",sign_in_page:"Sign in page",sign_in_saved_successfully:"Changes to credentials saved","subscribe_to_tax-freeno_email_newsletters":"Subscribe to the tax-free.no email newsletter",subscribed:"Subscribed",subscription_settings_to_avinor_no_can_be_change:"Subscription settings for avinor.no can be changed on their website",subscriptions:"Subscriptions",taxfree_no_email_newsletters:"Tax-free.no newsletter",welcome_discount:"10% welcome discount"},article:{article_listing_page:"Inspiration & Guides",call_us:"+47 94 85 80 00",can_t_find_what_you_were_looking_for:"Can\u2019t find what you were looking for?",chat_with_support:"Chat with support",copy_link:"Copy link",download_pdf:"Download PDF",email_form:{message_label:"Message",message_placeholder:"Question, complaint or comment about the issue you are having",reason_label:"Reason for contacting",reason_placeholder:"Specify a reason"},email_has_been_sent:"E-mail has been sent",email_sending_failed:"Failed to send e-mail",link_copied_message:"The link has been copied to the clipboard",minute_read_one:"{{count}} minute to read",minute_read_other:"{{count}} minutes to read",my_email:"My e-mail",my_first_name:"My first name",my_last_name:"My last name",published_on:"Published on",read_article:"Read article",recipients_email:"Recipient's email",recipients_phone_number:"Recipient's phone number",search_help_articles:"Search help articles",send_email:"Send e-mail",send_sms:"Send SMS",send_us_an_email:"Send us an e-mail",share:"Share",share_by_email:"Share by e-mail",share_by_email_body:"This article is interesting. Take a look here: {{url}}",share_by_email_subject:"I think this article is interesting",share_by_facebook:"Share on Facebook",share_by_sms:"Share by SMS",sms_has_been_sent:"SMS has been sent",sms_sending_failed:"Failed to send SMS",social_media_post_alt_text:"Social media post {{index}}",write_an_email:"Write an e-mail",written_by:"Written by"},authMessages:{signedOutSuccessfully:"You have successfully signed out."},bank_cards:{account_number:"Account number",add_bank_card:"Add bank card",add_bank_card_decline:"Bank card declined",add_bank_card_success:"Bank card added",are_you_sure_you_want_to_delete:"Are you sure you want to delete associated card?",are_you_sure_you_want_to_delete_description:"Once you delete your associated card ending in {{card_number}}, you will no longer be able to earn points with this card in the store",associate_bank_card:"Associate bank card",associate_bank_card_description:"Link your payment card to your membership and you will automatically earn points for your in-store purchases",card_number:"Card number",delete_associated_card:"Delete associated card",delete_error:"Card was not deleted",delete_success:"Card was successfully deleted",do_you_have_bankaxept:"Do you a have payment card with BankAxept?",ending_with:"Ending with {{card_number}}",expiration_date:"Expiration date",membership_description:"Linking payment cards to your membership allows us to recognize you when you use them as payment. This means that we can automatically assign points to you for your purchases. For more information about the information we collect in connection with your membership, please see our <a href='/kundeservice/personvernerklaering' target='_blank'>Privacy Policy</a>.",no_cards_added:"No cards added",no_cards_added_description:"Easy point collection with linked bank cards for Tax Free & Me members",security:"Security",security_description:"We are focused on providing secure solutions and to live up to high security standards. Payment card data are stored in a PCI compliant environment. The systems which contain payment card data are tested by external security experts"},barcode:{no_camera_found:"No camera found",nothing_was_found:"Sorry, nothing was found",or:"or",please_position_the_code:"Please position the code within the frame on the screen.",provide_camera_permission:"Please provide camera permission",scan:"Scan",scan_other_products:"Scan other products",type_in_product_number:"Type in product number"},cart:{available_coupons:"You have {{ couponsCount }} coupon(s) available",best_sellers_label:"View bestsellers",bottle_fee:"Bottle fee",bottle_fee_explanation:"Refundable fee which can be redeemed when drinks bottle or can is returned to a designated recycling station.",brand_limit_reached:"{{brand}} product limit reached",brand_limit_reached_cart:"You can purchase up to {{max}} {{brand}} products per order.",brand_limit_reached_pdp:"Your cart already contains the maximum of {{max}} {{brand}} products allowed per order.",brand_max_per_product:"Max {{max}} pcs. per product",cart_page_header_description:"Remember to order at least {{time}} before your pickup at",checkout_blocked_by_shop:"Please select airport, terminal, and direction before proceeding to checkout",coupon:{something_went_wrong:"Something went wrong",successfully_applied:"Coupon successfully applied",successfully_removed:"Coupon successfully removed"},discount:"Discount",empty_cart_title:"Your shopping cart is empty",enter_promo_code:"Enter promo code",low_stock_error_message:"Only {{count}} pieces left in stock",max_order_quantity_error_message:"Oops! Limited edition \u2013 max {{maxOrderQty}} per customer",max_quantity_error_message:"Oops, these are the last pieces available",more_products:"+{{ count }} more products",move_all_to_favorites:"Move all to favorites",no_tax:"No tax or fees",not_available_in_store_error_message:"This product is out of stock in the selected store and will be removed in the checkout process",payment_currency_total:"Total - Payment currency",proceed_to_checkout:"Go to checkout",product_count_one:"{{count}} product",product_count_other:"{{count}} products",product_was_removed:"{{product_name}} has been removed from your shopping cart",promo_code:"Promo code",promo_code_applied:"Promo code applied",quota_not_calculated:"Oops, here is some data missing so we can not calculate the quota.",remove_all_from_cart:"Remove all",remove_all_question_header:"Are you sure you want to remove all products?",remove_all_question_text:"Once you have removed all products, this action cannot be undone",remove_code:"Remove c
7ode",required_quota_years:"years are required at pickup",secure_checkout:"100% secure checkout",see_all_our_offers:"See all our offers",see_and_edit_products:"View and edit products",see_products:"See products",select_a_coupon:"Select a coupon",selected_promo_code:"Selected promo code",skip_queues:"Skip queues",stock_level_notification_title:"One or more products are out of stock or unavailable in {{airport}} {{terminal}} ({{direction}}) store",subtotal:"Subtotal",tax:"Tax",tax_free_always_open:"Tax Free is always open",tax_incl:"Incl. tax or fees",total:"Total",traveler:"{{count}} traveler(s) over",undo:"Undo",view_cart_btn:"View shopping cart",years_18:"18",years_20:"20",your_currency_total:"Total - Your currency",your_currency_total_description:"Converted currency is only for reference. Payment currency will be in Norwegian Kroner. Your card issuer may charge you foreign transaction fee."},checkout:{checkoutProgress:{confirm:"Confirm",details:"Details",guest:"Guest",register:"Register",shopping_cart:"Shopping cart",sign_in:"Sign in"},details:{continue_to_confirmation:"Continue to confirmation",noPaymentNeededNow:"No payment required now",order_pickup_point:"Order pickup location",order_pickup_point_description:"Pick up your products at your flight destination with Click & collect",order_pickup_time:"Order pickup time",order_pickup_time_description_one:"Order at least {{ count }} hour before pickup. We will hold your order for up to 24 hours after the chosen collection time",order_pickup_time_description_other:"Order at least {{ count }} hours before pickup. We will hold your order for up to 24 hours after the chosen collection time",payment_method:"Payment method",payment_method_description:"All transactions are secure and encrypted",personal_information:"Personal information",pickup_clarification:"For pickup confirmation code",placeholders:{flight_number:"Flight number (optional)",pickup_date:"Pickup date",pickup_time:"Pickup time"},registration:"I would like to become a member to receive benefits and track order history",time_clarification:"Local Oslo time"},no_thanks_proceed_to_checkout:"No thanks, proceed to checkout",proceed_to_payment:"Proceed to checkout",review:{edit_order_pickup_point:"Edit pickup location",edit_order_pickup_time:"Edit pickup time",edit_payment_method:"Edit payment method",heading:"Confirm the order",oslo_time:"(Oslo time)",place_and_place_order:"Confirm and place order",place_order:"Confirm and place order",see_the_map:"See the map",table:{payment:{payment_method:"Payment method",title:"Payment"},pickup_code:"Pickup code",pickup_point:{title:"Order pickup point"},pickup_time:{pickup_date:"Pickup date",pickup_time:"Pickup time",title:"Time of order pickup"}},where_to_pick_up:"Not sure where to pick it up?"},tax_free_me:"Tax Free & Me",tax_free_me_description:"For this order you will receive {{ count }} points. When you reach or exceed one of the point thresholds at the end of the year, you will receive a loyalty coupon",tax_free_me_description_guest:"This order will earn you <strong>{{ count }} points</strong> if you become a member"},common:{about_purchasing_options:"About purchasing options",about_us:"About us",add:"Add",agreements:"Agreements",airport:"Airport",all_brands:"All brands",all_category:"All {{ category }}",all_popular_brands:"All popular brands",all_premium_brands:"All premium brands",apply:"Apply",arrivals:"Arrival",availability_in_other_stores:"Availability in other stores",available:"Available",available_for:"Available in {{ name }}",available_for_click_and_collect:"Available in webshop",back:"Back",back_to_top:"Back to top",brands:"Brands",breadcrumb_navigation:"Breadcrumb navigation",cancel:"Cancel",cart:"Shopping cart",category_navigation:"Category navigation",change_location:"Change location",change_location_to:"Change location to {{ airportName }}",chat_with_us:"Chat",checkout:"Go to Checkout",close:"Close",closed:"Closed",code_was_sent:"Password recovery link sent",confirm:"Confirm",continue:"Continue",copyright_info:"Copyright \xA9 {{ year }} Travel Retail Norway",create_an_account:"Create a profile",currency:"Currency",date_of_birth:"Date of birth",delete:"Delete",departure:"Departure",description:"Description",done:"Done",edit:"Edit",email_address:"Email address",favorites:"Favorites",few_available_for:"Few available in {{ name }}",first_name:"First name",flight_direction:"Flight direction",footer_navigation:"Footer navigation",forgot_your_password:"Forgot your password?",got_to_page:"Go to page",hide:"Hide",home:"Home",hours:"hour(s)",how_to_use:"How to use",ingredients:"Ingredients",invali
7d_login:"Invalid phone number/password, or this profile is not registered",jump_to_content:"Jump to content",jump_to_products:"Jump to products",key_features:"Key features",language:"Language",last_name:"Last name",link_to:"Link to",load_more:"Load {{ count}} more",load_previous:"Previous {{ count}}",load_previous_aria:"Load previous {{ count}} products",minutes:"minutes",next_slide:"Next slide",no:"No",not_available:"Not available",not_available_for:"Sold out in {{ name }}",not_available_for_click_and_collect:"Sold out in webshop",not_selected:"Not selected",offer:"Offer",optional:"optional",or:"or",password:"Password",password_recovery:"Password recovery",password_registration:"Password (Contains 6 or more characters)",phone_number:"Phone number",popular_brands:"Popular brands",premium:"Premium",premium_brands:"Premium brands",prev_slide:"Previous slide",product_page_info_icon_content:"We reserve the right that the item delivered may have a different vintage/label than stated",product_stock:"Product stock",profile:"Profile",read_less:"Read less",read_less_about:"Read less about {{name}}",read_more:"Read more",read_more_about:"Read more about {{name}}",register:"Register",register_description:"Track your order history as a Tax Free & Me member",resend_code:"Resend code",save:"Save",save_changes:"Save changes",save_settings:"Save settings",schedule_a_call:"Book now",scroll_down:"Scroll down",scroll_left:"Scroll left",scroll_right:"Scroll right",scroll_up:"Scroll up",search:"Search",search_country:"Search country",search_filters:"Search {{ name }} filters",search_filters_one:"{{ count }} {{ name }} filter found",search_filters_other:"{{ count }} {{ name }} filters found",search_filters_zero:"No {{ name }} filters found",search_label:"Search keyword (suggestions are available below and will update as you type)",search_placeholder:"Search for products",search_results:"Search results '{{ query }}'",see_all:"See all",see_all_brands:"See all brands",see_stock_in_all_airports:"See stock in all shops",select:"Select",select_currency:"Select your preferred currency",select_language:"Select your preferred language",send:"Send",send_code:"Please click here to receive code by SMS",serving_suggestion:"Serving suggestion",settings:"Settings",share:"Share",shopSelectorError:"Please select airport,terminal and flight direction before shopping",shopping_cart:"Shopping cart",show_all:"Show all",show_all_category:"Show {{ category }}",show_all_category_with_count:"Show {{ category }} ({{ count }})",show_all_with_count:"Show all ({{ count }})",show_less:"Show less",show_more:"Show more",sign_in:"Sign in",sign_out:"Sign out",skip:"Skip",sr_search_results:"Search results: {{ query }}",store_selector:"Store selector",store_selector_close:"Close store selector modal",store_selector_direction_error_message:"Please, select flight direction",store_selector_modal_description:"Before purchasing, please let us make sure that the products you have selected are available in a store that matches your flight details",store_selector_modal_title:"Check your flight details",store_selector_terminal_error_message:"Please, select terminal / delivery option",successful_login:"You've successfully logged in",support:"Support",tax_free_me:"Tax free & me, A Heinemann & me",technical_error:"An error occurred, we could not add the product to the cart. Please try again",terminal:"Terminal",title_suffix:"Tax Free Norway",try_rephrasing_search:"Try rephrasing your search",what_to_select:"What should I choose?",why_need_to_share_this:"Why do I need to share this?",working_hours:"Working hours",yes:"Yes"},complaint:{error_submit:"Something went wrong",login_error_message:"Please login first and try again.",login_error_title:"Only registered users have access to the complaint form",reasons:{CLICK_AND_COLLECT:"Error when delivering Click & Collect",EXCHANGE:"Want to exchange an item",FORGOTTEN_ITEM:"Forgotten item",OTHER:"Other",PAYMENT:"Payment error",PRODUCT:"Fault with product (complaint)"},success_banner:{description:"We'll get in touch with you once we've reviewed the matter.",title:"Your inquiry has safely landed in our inbox!"},success_submit:"Your complaint has been successfully sent"},dropdown_navigation:{all:"All {{ category }}",see_all:"View all",see_all_relevant_articles:"View all relevant articles",toggle_submenu:"Show submenu for {{category}}"},forgottenPassword:{passwordResetSuccess:"Success! You can now login using your new password."},icon:{add_to_apple_wallet:"custom_add_to_apple_wallet_en"},itemCounter:{addOneMore:"Add one more",quantity:"Quantity",removeOne:"Remove one"},live_shopping:{join_us:"Join us at Live Shopping",live:"Live",load_more:"Load {{count}}
7 more",play_recording:"Play recording",recordings_one:"{{ count }} recording",recordings_other:"{{ count }} recordings",remind_in_calendar:"Add to calendar",section_title:"Live shopping",set_reminder:"Set reminder",shows_count_progress:"1-{{displayed_recordings}} of {{all_recordings}} recordings",upcoming:"Upcoming show"},miniLogin:{signInRegister:"Sign In / Register",userGreeting:"Hi, {{name}}"},offer:{offers:"Offers",offers_count_one:"{{count}} offer",offers_count_other:"{{count}} offers",see_offers:"See offers"},order_confirmation:{date_of_birth:"Date of birth",order_number:"Order #{{order}}",order_summary:"Order summary",payment:"Payment",payment_description:"You can also add additional items at pickup",payment_method:"Payment method",pickup_date:"Pickup date",pickup_info:"Pickup information",pickup_info_description:"We have our own designated cash registers for Click & collect order collection. These are located with clear signs. If in doubt, don't hesitate to ask one of our friendly staff. Please remember to state your name and order number at the pickup point.",pickup_location:"Pickup location",pickup_location_description:"Estimated walking distance from arrivals to Click & collect point is < > minutes",pickup_person_first_name:"First name",pickup_person_last_name:"Last name",pickup_time:"Pickup time",registration_email:"E-mail address",shop_location_image:"Shop map image"},order_edit:{are_you_sure_to_revoke:"Are you sure you want to revoke order #{{ orderCode }}?",edit:"Edit order",edit_confirmation_1:"By accepting this, your current shopping cart will be replaced with the items from this order.",edit_confirmation_2:"You can add or remove products in the shopping cart as desired.",edit_confirmation_3:"If you want to add products that are not already in the shopping cart, you can use the search function or the regular menu to find the desired product.",edit_confirmation_4:"You can also change the date, and time before confirming the order again.",edit_confirmation_5:"If you choose not to complete the purchase, we will keep this order as it is.",edit_confirmation_6:"Please note that there is a two-hour limit for changes to the order at {{ storeName }}.",edit_confirmation_title:"Order amendment confirmation",revoke:"Revoke order edit",revoke_number:"Revoke order {{orderCode}}",revoke_warning:"When you revoke order edit, we will keep current order status as-is."},order_history:{are_you_sure_you_want_to_cancel_order:"Are you sure you want to cancel order?",cancel_order:"Cancel order",card_number:"Card number",cardholders_name:"Cardholders name",complaint_or_comment_about_the_order:"Complaint or comment about the order",complaints_and_returns:"Complaints and returns",did_the_product_not_match_the_quality:"Is the product not of the quality you expected or did you forget a product? Is there an error in the payment? In case of a product complaint, it must be possible to return the product in approximately the same quantity and in the same condition in which you purchased it",edit_products:"Edit products",editing_warning_message:"You are editing order #{{orderCode}}",expiration_date:"Expiration date",filter_sort:"Filter & sort",if_you_already_paid:"If you have already paid for this order, you will be refunded to your previously used payment method.",load_more:"Load {{size}} more",message:"Message",not_found:"Orders are not found",of_orders:"1 - {{length}} of {{total}} orders",once_you_cancel_your_order:"Once you cancel your order, you will not be able to pick it up and will have to place a new order",order_again:"Order again",order_has_been_canceled:"Order #{{orderCode}} has been canceled",order_id:"Order #{{id}}",order_number:"Order number",order_summary:"Order summary",order_was_not_repeated:"The order was not repeated",orders:"Orders",our_support_staff_will:"Customer service will contact you at the phone number or e-mail address you provided",payment:"Payment",pickup_date_time:"Pickup date & time",pickup_info_in_process:"We have our own designated cash registers for Click & collect order collection. These are located with clear signs. If in doubt, don't hesitate to ask one of our friendly staff. Please remember to state your name and order number at the pickup point.",pickup_info_product_list_in_process:"If you want to remove some of your products, you can still do that 1 hour before the pickup",pickup_information:"Pickup information",pickup_location:"Pickup location",products:"products",products_for_order_did_not_edit:"Products for order #{order} did not edit",products_for_order_edited_successfully:"Products for order #{order} edited successfully",reason_for_complaint:"Reason for complaint",reasons:{other:"Other",payment:"Payment",product:"Product",specify_a_reason:"Specify a reason"},remember_about_pickup_time_no_shop:"Remember to order at least 2 hours before your pickup",remember_about_pickup_time_one:"Remember to order at least {{ c
7ount }} hour before your pickup in {{ cityName }} {{ terminal }} ({{ direction }})",remember_about_pickup_time_other:"Remember to order at least {{ count }} hours before your pickup in {{ cityName }} {{ terminal }} ({{ direction }})",report_a_problem:"Report a problem",report_has_been_sent:"Feedback has been sent",see_edit_products:"See and edit products",see_my_profile:"See my profile",see_order_details:"See order details",show_orders:"Show {{stage}} orders",show_stages:"{{stage}} orders",sort:{byDateAsc:"Oldest",byDateDesc:"Latest",label:"Sort",sort_by:"Sort by"},stage:{ALL:"All orders",CANCELLED:"Cancelled",FULFILLED:"Fulfilled",IN_PROCESS:"In process",ORDERED:"Ordered",READY_FOR_PICKUP:"Ready for pickup"},there_are_no_orders:"There are no orders",this_order_earned_me_points:"This order earned you",total:"Total",total_result_orders:"{{total}} orders",you_may_add_additional_items_now:"You can also add additional items at pick-up"},password_criteria:{contains_special_character:"Contains one special character",for_6_character:"Contains 6 or more characters",for_9_character:"Contains 9 or more characters",for_format:"Contains onr numeric character or a special character",for_lowercase:"Contains at least one lowercase letter",for_number:"Contains at least one number",for_uppercase:"Contains at least one capital letter",medium:"Medium",password_strength:"Password strength",strong:"Strong",title:"Password criteria",weak:"Weak"},product_add_to_cart:{earn_buying_this_one:"Earn <strong>{{ count }} point</strong> by buying this item",earn_buying_this_other:"Earn <strong>{{ count }} points</strong> by buying this item"},product_card:{add:"Add",add_to_cart:"Add to cart",added:"Added",added_product_message:"{{product_name}} successfully added to cart",brand_per_product_limit_error:"Product cannot be added. A maximum of {{max}} units is allowed per {{brand}} product.",brand_per_transaction_limit_error:"Product cannot be added. The maximum of {{max}} {{brand}} products per order has been reached.",color_swatches:{more_aria:"Show {{count}} more colors"},free_product:"Free",new:"New",not_available_in:"Not available in {{airport}}",only_available_in_store:"Only available in store",out_in_stock_error_message:"Sorry, product is not in stock for selected store",out_of_stock:"Out of stock",price_and_quantity:"Price & quantity",price_change:"Price change",price_change_warning:"Heads-up! This items price has increased due to pricing change in selected store.",size:"Size",update_product:"Update the quantity in the cart",update_rejected_message:"Quantity could not be updated due to product restrictions",updated:"Updated",updated_product_message:"{{product_name}} is successfully updated in the cart"},product_variants:{color:"Color",size:"Size",size_guide:"See size chart"},pwa:{add_to_home_screen:"Add to Homescreen",add_to_home_screen_description:"Add Tax-free.no to your device homescreen for a faster return visit",add_to_home_screen_list_element_first:"No installation needed",add_to_home_screen_list_element_second:"Fast access to application",for_frequent_clients:"For frequent clients"},refinement:{and:"and",article_one:"{{count}} article",article_other:"{{count}} articles",articles:"Articles ({{count}})",availability:"Availability",brand_one:"{{count}} brand",brand_other:"{{count}} brands",brand_page:"brand page",brands:"Brands ({{count}})",categories:"Categories",category_page:"category page",clear:"Clear",clear_all:"Clear all",currently_on_page:"You are currently on the {{page}}",currently_on_page_titled:'You are currently on the "{{title}}" {{page}}',false:"No",filter:"Filter",filter_and_sort:"Filter & Sort",filter_removed:"{{filter}} filter removed",filter_selected_one:"{{count}} filter selected",filter_selected_other:"{{count}} filters selected",filter_selected_zero:"no filters selected",from:"{{refinement}} from {{value}}",name:"Name",newest:"Newest",no_brand_results_found:"No results found in all brands",no_results_found:"No results found",norwegian_quota_tooltip:{description:"Tobacco products where one unit fits within the duty-free tobacco allowance when arriving in Norway.",title:"Norwegian Arrival Quota"},of:"of",of_articles:"of {{count}} articles",offers_page:"offers page",page:"page",pagination_products:"products",price_asc:"Price (low to high)",price_desc:"Price (high to low)",product_list:"Product list",product_one:"{{count}} product",product_other:"{{count}} products",products:"Products ({{count}})",products_load_failed:"Failed to load products. Please try again.",products_loaded:"{{count}} products loaded. Showing products {{from}} to {{to}}.",range:{all:"All"},relevance:"Relevance",remove_filter:"Remove filter: {{filter}}",result_one:"{{count}} result",result_other:"{{count}} results",results_announcement_one:"{{count}} result for {{query}}",results_announcement_other:"{{count}} results for {{query}}",search_page:"search page",see_all_articles:"See all articles",see_all_brands:"View all brands",see_all_products:"View all products",see_all_results:"See all results",show_all_articles:"Show all articles",show_less:"Show less -",show_more:"Show more +",show_only_in_stock:"Show only items in stock",sort:"Sort",till:"{{refinement}} to {{value}}",tre_tooltip:{description:"Products that are only available at duty-free / airport stores.",title:"Travel Retail Exclusive"},true:"Yes",with_filter_one:"with {{count}} filter",with_filter_other:"with {{count}} filters",with_offer_one:"with {{count}} offer",with_offer_other:"with {{count}} offers",with_offer_zero:"with no offers",with_product_one:"with {{count}} product",with_product_other:"with {{count}} products",with_product_zero:"with no products"},registration:{agreements:{terms_and_conditions:"I agree to the <a href='/termsAndConditions' target='_blank'>terms and conditions</a> that Tax Free Norway can transfer my contact information to Avinor so that Avinor can send me newsletter",terms_of_use:"I agree to the Terms of Use and Privacy Policy, and confirm that I am over 18 years old, and will receive occasional newsletters about inspirations, updates, special offers and promotions"}}
7,registration_bank_card:{form_label:"Bank card form",subtitle:"In order for you to earn bonus points on everything you buy, both in shops and online, we need your bank card information.",title:"Do not miss out your bonus points!"},shop_selector:{airport:"{{airport}} airport",airport_info_tooltip:"Select the airport where you want to pick up your purchase.",direction:"{{direction}} direction",direction_info_tooltip:"Select arrival or departure. Select Departure when you leave the airport, Arrival when you arrive at the airport. Select Arrival to domestic transit if you have a ticket to your final destination and you are not going to pick up your luggage in the arrivals hall. This only applies to some airlines. <a href='https://avinor.no/en/airport/oslo-airport/plan-your-trip/transfer/domestic-transfer' target='_blank'>Read more about Arrival to domestic transit here</a>",preselected_message:{button:"Please select here",message:"For the correct selection of items for Click & Collect, please also specify the terminal and flight direction.",title:"We've chosen ({{airport}}) for you."},select_airport:"Select {{airport}} airport",select_direction:"Select {{direction}} direction",select_terminal:"Select {{terminal}} terminal",terminal:"{{terminal}} terminal",terminal_info_tooltip:"If you are traveling to or from abroad, please select International. If you are flying within Norway, please select Domestic"},stock:{cnc:{in_stock:"In stock for Click & Collect",info:{description:"Order online and collect your item at the tax-free store when you arrive or depart.",title:"Click & collect"},low_stock:"Few available for Click & Collect",out_of_stock:"Sold out for Click & Collect"},online_exclusive:"Online Exclusive",selected_store:{in_stock:"In stock at {{shop}}",info:{description:"Available for immediate purchase at the tax-free store.",title:"Availability in store"},low_stock:"Few available in {{shop}}",out_of_stock:"Sold out at {{shop}}"},unavailable_in_store:"Can not be bought in store"},store:{location:{and:"and"},map:{enlarge:"Enlarge map"},schedule:{closed:"Closed",open_always:"Open 24/7"}},taxes:{incl_vat:"Incl. VAT",of_which_tax:"Of which {{ value }}% VAT",price_includes_vat:"Includes {{ value }}% VAT",sum:"Total",taxable_amount:"Taxable Amount",total:"Total VAT",vat:"VAT",vat_info:"This product is sold with VAT in accordance with Norwegian law",vat_value:"VAT-%"},wish_list:{add_all_error:"Error during adding products to cart",add_all_products:"Add all products",add_all_success:"All products were added to the cart successfully",add_all_to_cart:"Add all to cart",add_to_cart:"Add to cart",add_to_cart_mobile:"Add",add_to_favorites:"Add to favorites",added:"Added",choose_new_folder_to_add_all:"Choose a folder you want to add all products to",choose_new_folder_to_move:"Choose a new folder you want to move product to",choose_new_folder_to_move_all:"Choose a new folder you want to move all '{{ name }}' folder products to",create_and_add:"Create & add",create_list:"Create list",create_new_list:"Create new list",delete_are_you_sure:"Are you sure you want to delete {{ name }} from your favorites?",delete_error:"Error during deleting favorites list",delete_list:"Delete list",delete_once_you_delete_wish_list:"Once you delete this folder from your favorites, all your added items in this folder will also be permanently removed.",delete_product_error:"Error during deleting product from favorites list",delete_product_success:"Product deleted from favorites list successfully",delete_success:"Favorites list deleted successfully",delete_wish_list:"Delete {{ name }}",edit_error:"Error during renaming favorites list",edit_list:"Edit favorites list name",edit_list_label:"Favorites list name",edit_success:"Favorites list renamed successfully",error_adding_to_wish_list:"Error during adding to {{ name }}",error_removing_from_wish_list:"Error during removing from {{ name }}",favorites_list_name:"Favorites list name",link_copied:"Link copied to clipboard",more_wishlist_options_menu:"More wishlist options menu",move_all_items:"Move all items",move_all_products:"Move all products",move_product:"Move product",move_to_folder:"Move to folder",moved_error:"Error during moving products",moved_product_error:"Error during moving product",moved_product_success:"Product was successfully moved to '{{ name }}'",moved_success:"All products were successfully moved to '{{ name }}
7'",of_products_one:"of {{ count }} product",of_products_other:"of {{ count }} products",placeholder:"E.g. Summer wishlist, Favorite sweets list, etc.",remove_from_favorites:"Remove from favorites",remove_product:"Remove product",rename_list:"Rename list",see_availability:"See availability",share:"Share",share_folder:"Share {{ name }}",share_options:{copy_link:"Copy link",download_pdf:"Download PDF",my_email_address:"My e-mail address",my_firstname:"My first name",my_lastname:"My last name",recipient_email_address:"Recipient\u2019s e-mail address",recipient_phone_number:"Recipient\u2019s phone number",send_list_by_email:"Send list by e-mail",send_list_by_sms:"Send list by SMS",share_by_email:"Share by e-mail",share_by_email_error:"Error during sending e-mail",share_by_email_success:"E-mail has been sent",share_by_sms:"Share by SMS",share_by_sms_error:"Error during sending sms",share_by_sms_success:"SMS has been sent",title:"Choose how you want to share this favorites list"},shared_list:{add_all_to_favorites:"Add all to favorites",title_one:"{{ count }} product",title_other:"{{ count }} products"},success_adding_to_default_wish_list:"Added to Wishlist",success_adding_to_wish_list:"Added to {{ name }}",success_remove_from_default_wish_list:"Removed from Wishlist",success_remove_from_wish_list:"Removed from {{ name }}",wish_list_default_name:"Wishlist",wish_list_error_created_message:"There was a problem with favorites list creation",wish_list_name:"Favorites list name",wish_list_success_created_message:"\u201D{{ name }}\u201D favorites list created"}};var uv={days:{friday:"Friday",monday:"Monday",saturday:"Saturday",sunday:"Sunday",thursday:"Thursday",tuesday:"Tuesday",wednesday:"Wednesday"},months:{april:"April",august:"August",december:"December",february:"February",january:"January",july:"July",june:"June",march:"March",may:"May",november:"November",october:"October",september:"September"},time_period:{after_days:"After {{count}} days",next_month:"Next month",previous_month:"Previous month",today:"Today",tomorrow:"Tomorrow"}};var pv={error:{date_is_in_the_past:"Date is in the past",incorrect_current_password:"Incorrect password",invalid_date:"Invalid date. Date must be in format: dd/mm/yyyy",invalid_email:"Invalid email. The email must be in the format: [email protected]",invalid_time:"Invalid time. The time must be in the format: hh:mm",invalid_working_hours:"Please select a time within our working hours.",maximum_time_to_pickup:"The date is later than 30 days from today",min_length_plural:"Must contain at least {{count}} characters",minimum_time_before_pickup:"You need to make an order at least {{hours}} hour(s) before the pickup.",minlength:"Must contain at least {{requiredLength}} characters",missing_lowercase_char:"Must contain at least one lowercase letter",missing_numeric_char:"Must contain at least one numeric character",missing_numeric_or_special_char:"Must contain at least one numeric character or special character",missing_special_char:"Must contain at least one special character",missing_uppercase:"Must contain at least one capital letter",not_old_enough:"You must be over 18 years old",payment:{cancelled:"Payment was cancelled",error:"There was a payment error",initialization:"Error initializing payment, please try again later"},phone_number:{invalid:"Phone number is invalid",too_long:"Phone number is too long",too_short:"Phone number is too short"},promo_code_does_not_exist:"Promo code \u201C{{promoCode}}\u201D does not exist",required:"This field is required",required_labeled:"{{label}} is required",should_contain_only_alphabetic_characters:"Must contain alphabetical characters only",should_contain_only_alphanumeric:"Must contain only alphanumeric characters",should_contain_only_numbers:"Must contain only numbers",terms_and_conditions:"When you sign up for Tax Free & Me, you are also accepting communication via email or other electronic means of communication. This is because member communication is the very purpose of Tax Free & Me. If you no longer wish to receive our newsletter or other communications, you may opt out at any time. <a target='_blank' href='https://www.tax-free.no/no/informasjon/brukervilkar/v
7ilkar-tax-free-me'>Read more about Tax Free & Me terms</a>."},httpHandlers:{actionCanNotBeDone:"Unfortunately, due to a server error, this action cannot be performed at the moment. Please try again later",badGateway:"A server error has occurred. Please try again later",badRequestGuestDuplicateEmail:"{{ errorMessage }} email already exists. Please sign in with a different email address to register",badRequestOldPasswordIncorrect:"Invalid password entered",badRequestPleaseLoginAgain:"{{ errorMessage }}. Please sign in again",cartNotFound:"Shopping cart not found",conflict:"Already exists",forbidden:"You are not authorised to perform this action. Please contact your administrator if you believe this is an error",gatewayTimeout:"The server did not respond, please try again later",internalServerError:"An internal server error has occurred. Please try again later",invalidCodeProvided:"Invalid code provided",sessionExpired:"Your session has expired. Please sign in again",unauthorized:{common:"An unknown authorisation error has occurred",invalid_client:"Invalid client credentials"},unknownError:"An unknown error has occurred",validationErrors:{invalid:{card_expirationMonth:"The credit card expiration date entered is not valid",code:"The code is not valid",email:"Email is not valid",firstName:"The first name entered is invalid",lastName:"The surname entered is invalid",password:"Invalid password entered",uid:"UID is not valid"}}}};var mv={vipps:{loginCompleted:"You are now logged in to Tax Free x ME and have access to all member benefits.",loginError:"Something went wrong. Try Vipps again.",tokenExchangeError:"Something went wrong. Try Vipps again."}};(0,Cl.registerLocale)(av);var $M={countries:(0,Cl.getNames)("en")};var gd={};Zl(gd,{aria_labels:()=>hv,asm:()=>gv,assets:()=>_v,common:()=>yv,countries:()=>QM,date:()=>vv,errors:()=>Sv,vipps:()=>Cv});var bl=ft(Vf());var fv={locale:"no",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algerie",AS:"Amerikansk Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua og Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"\xD8sterrike",AZ:"Aserbajdsjan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Hviterussland",BE:"Belgia",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia-Hercegovina",BW:"Botswana",BV:"Bouvet\xF8ya",BR:"Brasil",IO:"Det britiske territoriet i Indiahavet",BN:"Brunei",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Kambodsja",CM:"Kamerun",CA:"Canada",CV:"Kapp Verde",KY:"Cayman\xF8yene",CF:"Den sentralafrikanske republikk",TD:"Tsjad",CL:"Chile",CN:"Kina",CX:"Christmas\xF8ya",CC:"Kokos\xF8yene",CO:"Colombia",KM:"Komorene",CG:"Kongo-Brazzaville",CD:"Kongo",CK:"Cook\xF8yene",CR:"Costa Rica",CI:"Elfenbenskysten",HR:"Kroatia",CU:"Cuba",CY:"Kypros",CZ:"Tsjekkia",DK:"Danmark",DJ:"Djibouti",DM:"Dominica",DO:"Den dominikanske republikk",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Ekvatorial-Guinea",ER:"Eritrea",EE:"Estland",ET:"Etiopia",FK:"Falklands\xF8yene",FO:"F\xE6r\xF8yene",FJ:"Fiji",FI:"Finland",FR:"Frankrike",GF:"Fransk Guyana",PF:"Fransk Polynesia",TF:"De franske s\xF8rterritorier",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Tyskland",GH:"Ghana",GI:"Gibraltar",GR:"Hellas",GL:"Gr\xF8nland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard- og McDonald\xF8yene",VA:"Vatikanstaten",HN:"Honduras",HK:"Hongkong SAR Kina",HU:"Ungarn",IS:"Island",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Irland",IL:"Israel",IT:"Italia",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kasakhstan",KE:"Kenya",KI:"Kiribati",KP:"Nord-Korea",KR:"S\xF8r-Korea",KW:"Kuwait",KG:"Kirgisistan",LA:"Laos",LV:"Latvia",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"Macao SAR Kina",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Maldivene",ML:"Mali",MT:"Malta",MH:"Marshall\xF8yene",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Mikronesiaf\xF8derasjonen",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Marokko",MZ:"Mosambik",MM:"Myanmar (Burma)",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Ny-Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk\xF8ya",MK:"Nord-Makedonia",MP:"Nord-Marianene",NO:"Norge",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Det palestinske omr\xE5det",PA:"Panama",PG:"Papua Ny-Guinea",PY:"Paraguay",PE:"Peru",PH:"Filippinene",PN:"Pitcairn\xF8yene",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"R\xE9union",RO:"Romania",RU:"Russland",RW:"Rwanda",SH:"St. Helena",KN:"Saint Kitts og Nevis",LC:"St. Lucia",PM:"Saint-Pierre-et-Miquelon",VC:"St. Vincent og Grenadinene",WS:"Samoa",SM:"San Marino",ST:"S\xE3o Tom\xE9 og Pr\xEDncipe",SA:"Saudi-Arabia",SN:"Senegal",SC:"Seychellene",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Salomon\xF8yene",SO:"Somalia",ZA:"S\xF8r-Afrika",GS:"S\xF8r-Georgia og S\xF8r-Sandwich\xF8yene",ES:"Spania",LK:"Sri Lanka",SD:"Sudan",SR:"Surinam",SJ:"Svalbard og Jan Mayen",SZ:"Eswatini",SE:"Sverige",CH:"Sveits",SY:"Syria",TW:"Taiwan",TJ:"Tadsjikistan",TZ:"Tanzania",TH:"Thailand",TL:"\xD8st-Timor",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad og Tobago",TN:"Tunisia",TR:"Tyrkia",TM:"Turkmenistan",TC:"Turks- og Caicos\xF8yene",TV:"Tuvalu",UG:"Uganda",UA:"Ukraina",AE:"De forente arabiske emirater",GB:"Storbritannia",US:"USA",UM:"USAs ytre \xF8yer",
7UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"De britiske jomfru\xF8yene",VI:"De amerikanske jomfru\xF8yene",WF:"Wallis og Futuna",EH:"Vest-Sahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"\xC5land",BQ:"Karibisk Nederland",CW:"Cura\xE7ao",GG:"Guernsey",IM:"Man",JE:"Jersey",ME:"Montenegro",BL:"Saint-Barth\xE9lemy",MF:"Saint-Martin",RS:"Serbia",SX:"Sint Maarten",SS:"S\xF8r-Sudan",XK:"Kosovo"}};var hv={announcements:{password_hidden:"Passordet er skjult",password_shown:"Passordet vises"},element_labels:{language_picker:"Spr\xE5kvelger",login:"Logg inn",my_profile:"Min profil",price_before_discount:"Pris f\xF8r avslag",price_discounted:"Tilbudspris",quantity:"Antall {{count}}",variant_color:"Farge {{color}}",variant_size:"St\xF8rrelse {{size}}",view_brand_products:"Se {{brand}}-produkter",view_my_favorites:"Se mine favoritter"},icon_labels:{add_to_favorites:"Legg til i favoritter",clear:"Fjern",close:"Lukk",collapse_filter:"Skjul filter {{filter}}",expand_filter:"Utvid filter {{filter}}",hide_password:"Skjul passord",remove_from_favorites:"Fjern fra favoritter",show_password:"Vis passord"},link_labels:{add_new_card:"Legg til nytt bankkort",add_to_cart:"Legg i handlekurven {{product}} {{brand}} {{price}}",all_filters_cleared:"Alle filtre er fjernet",clear_all_filters:"Fjern alle filtre",edit_section:"Rediger {{section}}",go_to_step:"G\xE5 til {{step}}",move_all_category_product_to_favorites:"Legg alle {{category}} produkter i favoritter",move_all_products_to_favorites:"Legg alle produkter i favoritter",read_article:"Les artikkel {{article}}",read_less_about_product:"Les mindre",read_more_about_click_and_collect:"Les mer om Klikk & hent",read_more_about_norway_quota_calculation:"Les mer",read_more_about_product:"Les mer",read_more_about_product_quota:"Les mer om produktkvote",read_more_about_quota:"Les mer",show_less_filter:"Vis mindre {{filter}}",show_more_filter:"Vis mer {{filter}}",social_link:"Lenke til {{platform}}",view_all_category:"Se alt i {{category}}",view_product_details:"Se detaljer {{product}} {{price}}",zoom_in_qr_code:"Zoom inn QR-kode"}};var gv={asm:{mainLogoLabel:"SAP",mainTitle:"Assisted Service Mode",logout:"Sign Out",hideUi:"Close ASM",helpPortalUrl:"Help",customers:"Customers",asmCustomer360Button:"Customer 360 View",asmCustomer360ViewButton:"Customer 360\xB0",createCustomerSuccessfullyAlert:"The customer account has been created and the customer session has started.",saveInactiveCartAlertInfo:"The identified cart is an inactive cart. To take further actions on this cart, save it first.",activeCartAlertInfo:"The identified cart is an active cart.",startCustomerEmulationAlertInfo:"Customer emulation has started. Any actions you do will reflect the effects on the customer account.",toggleUi:{collapse:"Hide ASM",expand:"Show ASM"},loginForm:{submit:"Sign In",userId:{label:"Agent ID or Email"},password:{label:"Password"}},customerSearch:{searchTerm:{label:"Customer Name/Email Address"},searchCustomer:{label:"Search by name or email address"},searchOrder:{label:"Search by full order ID"},submit:"Start Session",startEmulation:"Start Emulation",noMatch:"No customer found.",noMatchResult:"This account cannot be found.",noCustomerMatchResult:"No matching customer found.",noOrderMatchResult:"Search by full order ID.",createCustomer:"Create New Customer",customer:"Customer",orderID:"Order ID"},createCustomerForm:{title:"Create New Customer",createAccount:"Create",cancel:"Cancel",firstName:{label:"First Name",placeholder:"First name"},lastName:{label:"Last Name",placeholder:"Last name"},emailAddress:{label:"Email Address",placeholder:"Email address"},createAccountAlert:"The customer session starts once you create the customer account.",validationErrors:{firstName:"Enter a valid first name.",lastName:"Enter a valid last name.",emailAddress:"Enter a valid email address."},badRequestDuplicatedEmail:"Enter a different email address as {{ emailAddress }} already exists."},customerList:{title:"Customer List",description:"Select a customer from one of several provided lists.",createCustomer:"Create New Customer",cancel:"Cancel",tableHeader:{customer:"Customer",customerName:"Customer Name",name:"Name",email:"Email",emailId:"Email/ID",phone:"Phone",account:"Account",cart:"Cart",order:"Order",view:"360 View",activeCart:"Active Cart",viewActiveCart:"View Active Cart",orders:"Orders",viewOrders:"View Orders",customer360:"Customer 360\xB0",viewCustomer360:"View Customer 360\xB0"},tableSort:{sortBy:"Sort by",byName:"Name (Asc)",byNameAsc:"Name (Asc)",byNameDesc:"Name (Desc)",byDateAsc:"Date (Asc)",byDateDesc:"Date (Desc)",byOrderDateAsc:"Order date (Asc)",byOrderDateDesc:"Order date (Desc)",byUnit:"Account (Asc)",byUnitDesc:"Account (Desc)"},page:{page:"Page {{count}}",previous:"Previous",next:"Next"},noOfCustomers:"{{count}} Customers",oneCustomer:"1 Customer",noCustomers:"There are currently no customers in this customer list.",noLists:"There are currently no customer lists available. Contact your system administrator.",listsError:"The customer lists could not be retrieved. Please try again later.",searchBox:"Search",enterSearchBox:"Enter customer name or email"},switchCustomer:{dialog:{title:"Warning",body:'Clicking "Switch Customer" will end the emulation for "{{ customerA }}" and start for "{{ customerB }}". Any unsaved changes for "{{ customerA }}" will be lost.',actions:{switch:"Switch Customer"}}},saveCart:{saveCartBtn:"Save for Later",dialog:{saveInfo:"Save the cart before you can take further actions.",disableInfo:"Cannot save the cart as it is empty.",title:"Save Cart",row:{id:"ID",qty:"Qty",qtyFull:"Quantity",total:"Total"},actions:{save:"Save for Later"}}},bindCart:{cartNumber:"Cart Number",bindCartToCustomer:"Assign Cart to Customer",success:"Cart has been successfully assigned",assignCartId:"Assign a cart id to customer",enterCartId:"Enter cart id",resetCartId:"Reset",dialog:{title:"Assign Anonymous Cart",body:"Do you want to replace the current active cart with the anonymous cart? If you replace the current active cart, it is saved as a saved cart.",actions:{replace:"Replace Cart"}}},csagentTokenExpired:"Your customer support agent session is expired.",endSession:"End Session",endEmulation:"End Emulation",agentSessionTimer:{label:"Session Timeout",minutes:"min",reset:"Reset"},auth:{agentLoggedInError:"Cannot login as user when there is an active
7CS agent session. Please either emulate user or logout CS agent."},error:{noCustomerId:"No customerId found for selected user. Session cannot be started."}},formErrors:{labeled:{required:"Field {{label}} is required",cxInvalidEmail:"Field {{label}} has not a valid email format. Match pattern: [email protected]",cxInvalidPassword:"Field {{label}} has not a valid password format",cxMinOneUpperCaseCharacter:"Password must contain at least one uppercase character",cxMinOneDigit:"Password must contain at least one digit",cxMinOneSpecialCharacter:"Password must contain at least one special character",cxMinSixCharactersLength:"Password must contain at least 6 characters",cxMinEightCharactersLength:"Password must contain at least 8 characters",cxMaxCharactersLength:"Password cannot have more than 128 characters",cxContainsSpecialCharacters:"Password cannot contain special characters",cxNoConsecutiveCharacters:"Password cannot contain consecutive identical characters",invalidTokenCodeError:"This code is not valid",date:{required:"Field {{label}} is required",min:"Field {{label}} cannot be before {{min}}",max:"Field {{label}} cannot be after {{max}}",pattern:"Use dateformat yyyy-mm-dd in field {{label}}",invalid:"Use a valid date in field {{label}}"}}
7,globalMessage:"The form you are trying to submit contains errors.",required:"This field is required",cxInvalidEmail:"This is not a valid email format",cxInvalidPassword:"This is not a valid password format",cxPasswordsMustMatch:"Password fields must match",cxPasswordsCannotMatch:"Password fields cannot match",cxEmailsMustMatch:"Email fields must match",cxStarRatingEmpty:"Rating field is required",cxNoSelectedItemToCancel:"Select at least one item",cxNegativeAmount:"Amount must be equal or greater than zero",cxContainsSpecialCharacters:"Field cannot contain special characters",date:{required:"This field is required",min:"Date cannot be before {{min}}",max:"Date cannot be after {{max}}",pattern:"Use dateformat yyyy-mm-dd",invalid:"Use a valid date"},file:{required:"File is required",empty:"File should not be empty",invalidExtension:"File extension is not valid",tooLarge:"File size should not exceed {{ maxSize }} MB",tooManyEntries:"The number of items is greater than {{ maxEntries }}",notParsable:"File is not parsable",fileNotAllowed:"This file type is not allowed"}},httpHandlers:{badRequest:{bad_credentials:"{{ errorMessage }}. Please login again.",user_is_disabled:"{{ errorMessage }}. Please contact administration."},badGateway:"A server error occurred. Please try again later.",badRequestPleaseLoginAgain:"{{ errorMessage }}. Please login again.",badRequestOldPasswordIncorrect:"Old password incorrect.",badRequestGuestDuplicateEmail:"{{ errorMessage }} email already exist. Please checkout with a different email to register using a guest account.",conflict:"Already exists.",forbidden:"You are not authorized to perform this action. Please contact your administrator if you think this is a mistake.",gatewayTimeout:"The server did not respond, please try again later.",internalServerError:"An Internal Server Error occurred. Please try again later.",sessionExpired:"Your session has expired. Please login again.",unknownError:"An unknown error occurred",unauthorized:{common:"An unknown authorization error occured",invalid_client:"Bad client credentials"},validationErrors:{missing:{card_cardType:"The selected credit card is not supported. Please select another.",card_accountNumber:"The credit card number entered is not valid.",card_cvNumber:"The security code entered is not valid.",card_expirationMonth:"The credit card expiration date entered is not valid.",card_expirationYear:"The credit card expiration date entered is not valid.",billTo_firstName:"The first name entered is not valid.",billTo_lastName:"The last name entered is not valid.",billTo_street1:"The address entered is not valid.",billTo_street2:"The address entered is not valid.",billTo_city:"The city entered is not valid for this credit card.",billTo_state:"The state/province entered is not valid for this credit card.",billTo_country:"The country/region entered is not valid for this credit card.",billTo_postalCode:"The zip/postal code is not valid for this credit card.",country:{isocode:"Missing country/region"}},invalid:{card_expirationMonth:"The credit card expiration date entered is not valid.",firstName:"First Name entered is not valid.",lastName:"Last Name entered is not valid.",password:"Password entered is not valid.",uid:"UID is not valid.",code:"Code is not valid.",email:"Email is not valid.",loginId:"Email is not valid."}},cartNotFound:"Cart not found.",invalidCodeProvided:"Invalid code provided.",voucherExceeded:"This coupon has exceeded the number of times it can be used",unknownIdentifier:"Item not found.",otherCartErrors:"Cart errors occurred."}};var _v={assets:{icons:{add_to_apple_wallet:"Legg til i Apple Wallet",american_express:"American express",apple_pay:"Apple pay",bankaxept:"Bankaxept",birthday_present:"Bursdagsgave",cc_logo:"Klikk & he
7nt",collect_me:"Samle meg",dankort:"Dankort",diners_club:"Diners club",edankort:"Edankort",fifteen_beers:"Femten \xF8l",forbrugsforeningen:"Forbrugsforeningen",four_wines:"Fire viner",google_pay:"Google pay",jcb:"JCB",loading_spinner:"Laster spinner",maestro:"Maestro",mastercard:"Mastercard",norwegian_flag:"Norsk flagg",one_liquor:"En brennevin",one_tobacco:"En tobakk",paypal:"PayPal",pie_chart:{"1_of_3":"Cirkeldiagram 1 av 3","1_of_4":"Cirkeldiagram 1 av 4","2_of_3":"Cirkeldiagram 2 av 3","2_of_4":"Cirkeldiagram 2 av 4","3_of_3":"Cirkeldiagram 3 av 3","3_of_4":"Cirkeldiagram 3 av 4","4_of_4":"Cirkeldiagram 4 av 4",alt_with_context:"{{level}} av {{total}} {{label}}, {{value}}"},six_beers:"Seks \xF8l",surprise_me:"Overrask meg",tax_free_logo:"Tax Free Norway",two_wines:"To viner",vipps:"Vipps",visa:"Visa",visa_electron:"Visa Electron",visa_verification:"Visa verification",welcome_discount:"Velkommen rabatt"}}};var yv={account:{about_this_coupon:"Om denne kupongen",become_a_member:"Bli medlem",become_a_tax_free_me_member:"Bli medlem av Tax Free & Me",become_a_tax_free_me_member_to_receive_discounts:"Bli medlem av Tax Free & Me for \xE5 f\xE5 tilgang til v\xE5rt lojalitetsprogram",coupon:"Coupon",does_not_apply_to_alcohol_and_tobacco_products:"* Gjelder ikke allerede nedsatte produkter, spesialtilbud, alkohol
7-og tobakksprodukter, pant, handleposer, Apple-produkter, trykksaker og b\xF8ker. Ikke gyldig i Australia",earned_in_year:"opptjent i {{year}}",easy_point_collection_with_linked:"Enkel poengopptjening med tilknyttede bankkort for Tax Free & Me-medlemmer",expired:"Utl\xF8pt",expires_in:"Utg\xE5r om",get_points_on_all_your_purchases:"F\xE5 poeng for alle dine kj\xF8p. Poeng konverteres til en kupong en gang i \xE5ret","level.1":"Niv\xE5 1","level.2":"Niv\xE5 2","level.3":"Niv\xE5 3",load_qr_code:"Hent QR-kode",membership_card:"Membership card",membership_card_no:"Medlemsnummer",no_cards_added:"Ingen kort lagt til",no_coupons:"Ingen kuponger",no_coupons_refresh:"Ingen kuponger enn\xE5, vennligst oppdater siden",no_membership_card_yet:"Ingen medlemskort enn\xE5",no_membership_card_yet_refresh:"Ingen medlemskort enn\xE5, vennligst oppdater siden",no_points_collected_yet:"Ingen poeng samlet enn\xE5",points:"{{points}} poeng",points_earned_in_year:"poeng spart i {{year}}",qr_code:"QR-kode",registration_successful:"Registrering fullf\xF8rt",show_more_coupons:"Se flere kuponger",try_again:"Pr\xF8v igjen",valid_until:"Gyldig til",why_do_i_need_to_share_this:"Hvorfor m\xE5 jeg oppgi dette?",with_tax_free_me_you_get_one:"Med Tax Free & Me f\xE5r du ett poeng per 10-krone n\xE5r du handler*",you_are_now_registered_as_a_tax_free_me_member:"Du er n\xE5 et Tax Free & Me-medlem og har tilgang til alle fordelene",you_are_points_points_from_achieving:"Du er {{points}} poeng fra \xE5 n\xE5 {{bonus}} i lojalitetsbonus i {{year}}",you_are_points_points_of_reaching:"Du er {{points}} poeng fra \xE5 n\xE5 {{bonus}} lojalitetsbonus",you_have_reached_bonus:"Du har n\xE5dd {{bonus}} i lojalitetsbonus",zoom_in:"Zoom in"},account_settings:{apple_account:"Apple-konto",are_you_sure_you_want_to_delete:"Er du sikker p\xE5 at du vil slette profilen din?",avinor_no_email_newsletters:"Avinor.no nyhetsbrev",by_deleting_your_account:"Hvis du sletter din profil blir medlemskapet, bestillingshistorikken og abonnementet p\xE5 nyhetsbrev avsluttet. All lagret data og informasjon vil bli slettet",collect_loyalty_points:"Samle lojalitetspoeng",country:"Land",country_code:"Landskode",create_a_new_password:"Lag et nytt passord",current_password:"N\xE5v\xE6rende passord",date_of_birth:"F\xF8dselsdato",delete_account:"Slett profil",deleted:"Profilen din er slettet",edit_personal_information:"Rediger personopplysninger",edit_sign_in_information:"Rediger p\xE5loggingsinformasjon",edit_subscriptions:"Rediger samtykker",email_address:"E-post",exclusive_benefits:"Eksklusive fordeler og tilpassede tilbud",female:"Kvinne",first_name:"Fornavn",gender:"Kj\xF8nn",go_to_avinor_no:"G\xE5 til avinor.no",google_account:"Google-konto",if_you_want_to_change_your_phone_number_please:"Hvis du \xF8nsker \xE5 endre telefonnummeret ditt, vennligst",invalid_request:"Ugyldig foresp\xF8rsel",last_name:"Etternavn",make_a_request_to_support:"Send en foresp\xF8rsel til support",male:"Mann",message:"Melding",new_password:"Nytt passord",new_password_label:"Nytt passord (Inneholder 6 eller flere tegn)",new_phone_number:"Nytt telefonnummer",newsletter_and_digital_communication:"Samtykke til digital markedsf\xF8ring og nyhetsbrev p\xE5 e-post med gode tilbud, nyheter og inspirasjon relevant for deg. Du kan forvente ca. 2 nyhetsbrev pr mnd.",not_deleted:"Profilen din ble ikke slettet",not_linked:"Ikke linket",not_respond:"Foretrekker ikke \xE5 oppgi",not_saved:"Endringer ble ikke lagret",not_specified:"Ikke spesifisert",not_subscribed:"Nei, jeg gir ikke samtykke",once_you_delete_your_account:"Hvis du sletter din profil, slettes all bestillingshistorikk, kuponger og poeng du har samlet",our_support_staff_will:"V\xE5r kundeservice vil kontakte deg p\xE5 ditt oppgitte telefonnummer eller e-postadresse",password_recovery_link_is_invali
7d:"Koblingen for gjenoppretting av passord har utl\xF8pt eller er ugyldig. Vennligst send ny foresp\xF8rsel om gjenoppretting av passord",personal_information:"Personlig informasjon",phone_number:"Telefonnummer",receive_a_birthday_present:"F\xE5 en bursdagsgave",reminder_birth_date:"V\xE6r oppmerksom p\xE5 at vi usteder kun en bursdagskupong per \xE5r",request_has_been_sent:"Foresp\xF8rsel er sendt",request_to_change_phone_number:"Foresp\xF8rsel om \xE5 endre telefonnummer",saved_successfully:"Endringer ble lagret",sign_in_information:"P\xE5loggingsinformasjon",sign_in_not_saved:"Endringer ble ikke lagret",sign_in_page:"Innloggingsside",sign_in_saved_successfully:"Endringer ble lagret","subscribe_to_tax-freeno_email_newsletters":"Ja, jeg samtykker til \xE5 motta nyhetsbrev p\xE5 e-post med gode tilbud og kampanjer",subscribed:"Ja, jeg gir samtykke",subscription_settings_to_avinor_no_can_be_change:"Abonnementsinnstillinger for avinor.no kan endres p\xE5 deres hjemmeside",subscriptions:"Samtykke til dialog",taxfree_no_email_newsletters:"Tax-free.no nyhetsbrev",welcome_discount:"10 % velkomstrabatt"},article:{article_listing_page:"Inspirasjon & guider",call_us:"94 85 80 00",can_t_find_what_you_were_looking_for:"Finner du ikke det du leter etter?",chat_with_support:"Chat med kundeservice",copy_link:"Kopier link",download_pdf:"Last ned PDF",email_form:{message_label:"Beskjed",message_placeholder:"Sp\xF8rsm\xE5l, klage eller kommentar om problemet du har",reason_label:"Grunn til \xE5 kontakte",reason_placeholder:"Angi en \xE5rsak"},email_has_been_sent:"E-posten er sendt",email_sending_failed:"Klarte ikke \xE5 sende e-posten",link_copied_message:"Linken har blitt kopiert til utklippstavlen",minute_read_one:"{{count}} minutt \xE5 lese",minute_read_other:"{{count}} minutter \xE5 lese",my_email:"Min e-post",my_first_name:"Min fornavn",my_last_name:"Min Etternavn",published_on:"Publisert",read_article:"Les artikkelen",recipients_email:"Mottakerens e-post",recipients_phone_number:"Mottakers telefonnummer",search_help_articles:"S\xF8k informasjon",send_email:"Send epost",send_sms:"Send SMS",send_us_an_email:"Send oss en epost",share:"Del",share_by_email:"Del p\xE5 epost",share_by_email_body:"Denne artikkelen er interessant. Ta en titt her: {{url}}",share_by_email_subject:"Denne artikkelen er interessant",share_by_facebook:"Del i Facebook",share_by_sms:"Del p\xE5 SMS",sms_has_been_sent:"SMS er sendt",sms_sending_failed:"Kunne ikke sende SMS",social_media_post_alt_text:"Innlegg i sosiale medier {{index}}",write_an_email:"Skrive en epost",written_by:"Skrevet av"},authMessages:{signedOutSuccessfully:"Du har logget ut."},bank_cards:{account_number:"Kontonummer",add_bank_card:"Legg til kort",add_bank_card_decline:"Kort avvist",add_bank_card_success:"Kort lagt til",are_you_sure_you_want_to_delete:"Er du sikker p\xE5 at du vil slette kortet?",are_you_sure_you_want_to_delete_description:"N\xE5r du sletter kortet, vil du ikke lenger automatisk spare poeng ved \xE5 bruke dette kortet i butikken",associate_bank_card:"Tilknyttet bankkort",associate_bank_card_description:"Koble betalingskortet ditt til medlemskapet ditt, og du vil automatisk tjene poeng n\xE5r du handler i v\xE5re butikker",card_number:"Kortnummer",delete_associated_card:"Slett kort",delete_error:"Kortet ble ikke slettet",delete_success:"Kortet ble slettet",do_you_have_bankaxept:"St\xE5r det BankAxept p\xE5 kortet ditt?",ending_with:"Slutter p\xE5 {{card_number}}",expiration_date:"Utl\xF8psdato",membership_description:"Ved \xE5 knytte betalingskort til medlemskapet ditt kan vi kjenne deg igjen n\xE5r du bruker dem som betaling i v\xE5re butikker. Dette betyr at vi automatisk kan tildele poeng til deg for kj\xF8pet. For mer informasjon om opplysningene vi samler inn i forbindelse med ditt medlemskap, se v\xE5r <a href='/kundeservice/personvernerklaering' target='_blank'>personvernerkl\xE6ring</a>.",no_cards_added:"Ingen kort",no_cards_added_description:"Enkel poengsamling med tilknyttede bankkort for Tax Free & Me-medlemmer",security:"Sikkerhet",security_description:"Vi f\xF8lger de strengeste sikkerhetsstandardene og kortdata er lagret i et PCI sertifisert milj\xF8. Systemene er gjennomtestet og systemene for kortdata blir jevnlig testet av eksterne sikkerhetskonsulenter"},barcode:{no_camera_found:"No camera found",nothing_was_found:"Beklager, vi fant ingen resultater",or:"eller",please_position_the_code:"Plasser koden innenfor rammen p\xE5 skjermen.",provide_camera_permission:"Please provide camera permission",scan:"Skanne",scan_other_products:"Skann flere produkter",type_in_product_number:"Skriv inn produktnummer"},cart:{available_coupons:"Du har {{ couponsCount }} kupong(er) tilgjengelig",best_sellers_label:"Se bestselgere",bottle_fee:"Pant",bottle_fee_explanation:"Refunderbart gebyr som kan innl\xF8ses n\xE5r drikkeflasker eller bokser returneres til en designert gjenvinningsstasjon.",brand_limit_reached:"{{brand}}
7-produktgrense n\xE5dd",brand_limit_reached_cart:"Du kan kj\xF8pe opptil {{max}} {{brand}}-produkter per ordre.",brand_limit_reached_pdp:"Handlekurven din inneholder allerede maksimalt {{max}} {{brand}}-produkter per ordre.",brand_max_per_product:"Maks {{max}} stk. per produkt",cart_page_header_description:"Husk \xE5 bestille minst {{time}} f\xF8r henting p\xE5",checkout_blocked_by_shop:"Vennligst velg flyplass, terminal og retning f\xF8r du fortsetter til kassen",coupon:{something_went_wrong:"Noe gikk galt",successfully_applied:"Kupongen ble brukt",successfully_removed:"Kupong vellykket fjernet"},discount:"Rabatt",empty_cart_title:"Handlekurven din er tom",enter_promo_code:"Skriv inn kampanjekode",low_stock_error_message:"Kun {{count}} varer igjen",max_order_quantity_error_message:"Ups! Begrenset opplag - maks {{maxOrderQty}} stk per kunde",max_quantity_error_message:"Ups, dette er de siste tilgjengelige varene",more_products:"+{{ count }} more products",move_all_to_favorites:"Flytt alle til favoritter",no_tax:"Ingen",not_available_in_store_error_message:"Ett eller flere produkter er utsolgt i den valgte butikken og vil bli fjernet fra handlekurven",payment_currency_total:"Totalt - Betalingsvaluta",proceed_to_checkout:"G\xE5 til kassen",product_count_one:"{{count}} produkt",product_count_other:"{{count}} produkter",product_was_removed:"{{product_name}} ble fjernet fra handlekurven din",promo_code:"Rabattkode",promo_code_applied:"Rabattkode brukt",quota_not_calculated:"Oj, her mangler det noen data slik at vi ikke f\xE5r beregnet kvoten.",remove_all_from_cart:"Fjern alle",remove_all_question_header:"Er du sikker p\xE5 at du vil fjerne alle produktene?",remove_all_question_text:"N\xE5r du har fjernet alle produktene, kan ikke denne handlingen angres",remove_code:"Fjern kode",required_quota_years:"\xE5r kreves ved henting",secure_checkout:"100% sikker utsjekking",see_all_our_offers:"Se v\xE5re tilbud",see_and_edit_products:"Se og rediger produkter",see_products:"Se produkter",select_a_coupon:"Velg en kupong",selected_promo_code:"Valgt kampanjekode",skip_queues:"Slipp k\xF8en",stock_level_notification_title:"Ett eller flere produkter er utsolgt eller er ikke tilgjengelig i butikken {{airport}} {{terminal}} ({{direction}})",subtotal:"Subtotal",tax:"Skatter og avgifter",tax_free_always_open:"Tax Free har alltid \xE5pent",tax_incl:"Inkl. skatter og avgifter",total:"Totalt",traveler:"{{count}} reisende over",undo:"Angre",view_cart_btn:"Se handlekurv",years_18:"18",years_20:"20",your_currency_total:"Totalt - Din valuta",your_currency_total_description:"Omregnet valuta er kun for referanse. Betalingsvaluta vil v\xE6re i norske kroner. Kortutstederen din kan belaste deg for utenlandske transaksjonsgebyrer."},checkout:{checkoutProgress:{confirm:"Bekreft",details:"Detajer",guest:"Gjest",register:"Registrer",shopping_cart:"Handlekurv",sign_in:"Logg inn"},details:{continue_to_confirmation:"Fortsett til bekreftelse",noPaymentNeededNow:"Ingen betaling kreves n\xE5",order_pickup_point:"Hentested",order_pickup_point_description:"Hent produktene dine p\xE5 reisem\xE5let ditt med Klikk & hent",order_pickup_time:"Hentetid",order_pickup_time_description_one:"Bestill minst {{ count }} time f\xF8r henting. Vi holder varene dine i opptil 24 timer etter angitt tidspunkt for henting",order_pickup_time_description_other:"Bestill minst {{ count }} timer f\xF8r henting. Vi holder varene dine i opptil 24 timer etter angitt tidspunkt for henting",payment_method:"Betalingsvalg",payment_method_description:"Alle transaksjoner er sikre og krypterte",personal_information:"Personlig informasjon",pickup_clarification:"For bekreftelseskode for henting",placeholders:{flight_number:"Flightnummer (valgfri)",pickup_date:"Hentedato",pickup_time:"Hentetid"},registration:"Jeg vil bli medlem for \xE5 f\xE5 tilgang til fordeler og poeng, og f\xF8lge min ordrehistorikk",time_clarification:"Lokal Oslo tid"},no_thanks_proceed_to_checkout:"Nei takk, fortsett til kassen",proceed_to_payment:"Fortsett til kassen",review:{edit_order_pickup_point:"Endre hentested",edit_order_pickup_time:"Endre hentetidspunkt",edit_payment_method:"Endre betalingsvalg",heading:"Bekreft bestilling",oslo_time:"(Oslo tid)",place_and_place_order:"Bekreft og bestill ordren",place_order:"Bekreft bestilling",see_the_map:"Se kart her",table:{payment:{payment_method:"Betalingsvalg",title:"Betaling"},pickup_code:"Hentekode",pickup_point:{title:"Hentested"},pickup_time:{pickup_date:"Hentedato",pickup_time:"Hentetid",title:"Hentetidspunkt"}},where_to_pick_up:"Usikker p\xE5 hvor du henter ordren?"},tax_free_me:"Tax Free & Me",tax_free_me_description:"For denne bestillingen vil du f\xE5 {{ count }} poeng. Spar opp og motta en verdikupong etter endt \xE5r",tax_free_me_description_guest:"Denne bestillingen gir deg <strong>{{ count }} poeng</strong> hvis du blir medlem"},common:{about_purchasing_options:"Om kj\xF8psmuligheter",about_us:"Om oss",add:"Legg til",agreements:"Vilk\xE5r og betingelser",airport:"Flyplass",all_brands:"Alle merker",all_category:"Alle {{ category }}",all_popular_brands:"Alle popul\xE6re merker",all_premium_brands:"Alle premium merker",apply:"Bruk",arrivals:"Ankomst",availability_in_other_stores:"Tilgjengelighet i andre butikker",available:"Tilgjengelig",available_for:"Tilgjengelig i {{ name }}",available_for_click_and_collect:"Tilgjengelig i nettbutikk",back:"Tilbake",back_to_top:"Tilbake til toppen",brands:"Merker",breadcrumb_navigation:"Br\xF8dsmulenavigasjon",cancel:"Avbryt",cart:"Handlekurv",category_navigation:"Kategori navigasjon",change_location:"Endre hentested",change_location_to:"Endre hentested til {{ airportName }}",chat_with_us:"Chat",checkout:"G\xE5 til kassen",close:"Lukk",closed:"Closed",code_was_sent:"Link for gjenoppretting av passord er sendt",confirm:"Bekreft",continue:"Continue",copyright_info:"Copyright \xA9 {{ year }} Travel Retail Norway",create_an_account:"Bli medlem",currency:"Valuta",date_of_birth:"F\xF8dselsdato",delete:"Slett",departure:"Avgang",description:"Beskrivelse",done:"Ferdig",edit:"Rediger",email_address:"E-postadresse",favorites:"Favoritter",few_available_for:"F\xE5 igjen i {{ name }}",first_name:"Fornavn",flight_direction:"Flyretning",footer_navigation:"Navigasjon i bunntekst",forgot_your_password:"Glemt passordet ditt?",got_to_page:"G\xE5 til side",home:"Hjem",hours:"time(r)",how_to_use:"Hvordan bruke",ingredients:"Ingredienser",invalid_login:"Ugyldig telefonnummer/passord, eller denne profilen er ikke registrert",jump_to_content:"Hopp til innhold",jump_to_products:"Hopp til produkter",key_features:"Egenskaper",language:"Spr\xE5k",last_name:"Etternavn",link_to:"Lenke til",load_more:"Last {{ count}}
7 til",load_previous:"Forrige {{ count}}",load_previous_aria:"Last inn forrige {{ count}} produkter",minutes:"minutter",next_slide:"Neste lysbilde",no:"Nei",not_available:"Ikke tilgjengelig",not_available_for:"Utsolgt i {{ name }}",not_available_for_click_and_collect:"Utsolgt i nettbutikk",not_selected:"Ikke valgt",offer:"Tilbud",optional:"valgfritt",or:"eller",password:"Passord",password_recovery:"Gjenoppretting av passord",password_registration:"Passord (Inneholder 6 eller flere tegn)",phone_number:"Telefonnummer",popular_brands:"Popul\xE6re merker",premium:"Premium",premium_brands:"Premium merker",prev_slide:"Forrige lysbilde",product_page_info_icon_content:"Vi tar forbehold om at varen som leveres kan ha en annen \xE5rgang/merke enn oppgitt",product_stock:"Produktlager",profile:"Profil",read_less:"Les mindre",read_less_about:"Les mindre om {{name}}",read_more:"Les mer",read_more_about:"Les mer om {{name}}",register:"Registrer",register_description:"F\xF8lg bestillingshistorikken din som Tax Free & Me-medlem",resend_code:"Send kode p\xE5 nytt",save:"Lagre",save_changes:"Lagre endringer",save_settings:"Lagre instillinger",schedule_a_call:"Book n\xE5",scroll_down:"Rull ned",scroll_left:"Rull til venstre",scroll_right:"Rull til h\xF8yre",scroll_up:"Rull opp",search:"S\xF8k",search_country:"S\xF8k p\xE5 land",search_filters:"S\xF8k etter {{ name }}-filtre",search_filters_one:"{{ count }} {{ name }}-filter funnet",search_filters_other:"{{ count }} {{ name }}-filtre funnet",search_filters_zero:"Ingen {{ name }}-filtre funnet",search_label:"S\xF8keord (forslag er tilgjengelige nedenfor og vil oppdateres etter hvert som du skriver)",search_placeholder:"S\xF8k etter produkter",search_results:"S\xF8keresultater '{{ query }}'",see_all:"Se alle",see_all_brands:"Se alle merker",see_stock_in_all_airports:"Se varebeholdning p\xE5 alle butikker",select:"Velg",select_currency:"Velg \xF8nsket valuta",select_language:"Velg \xF8nsket spr\xE5k",send:"Send",send_code:"Klikk her for \xE5 f\xE5 tilsendt kode p\xE5 SMS",serving_suggestion:"Serveringsforslag",settings:"Innstillinger",share:"Dele",shopSelectorError:"Vennligst velg flyplass,terminal og flyretning f\xF8r du handler",shopping_cart:"Handlekurv",show_all:"Vis alle",show_all_category:"Vis {{ category }}",show_all_category_with_count:"Vis {{ category }} ({{ count }})",show_all_with_count:"Vis alle ({{ count }})",show_less:"Vis mindre",show_more:"Vis mer",sign_in:"Logg inn",sign_out:"Logg ut",skip:"Skip",sr_search_results:"S\xF8keresultater: {{ query }}",store_selector:"Butikkvelger",store_selector_close:"Lukk butikkvelger modal",store_selector_direction_error_message:"Vennligst velg flyretning",store_selector_modal_description:"La oss s\xF8rge for at produktene du velger er tilgjengelig i en butikk som samsvarer med flydetaljene dine f\xF8r du bestiller",store_selector_modal_title:"Sjekk flydetaljene dine",store_selector_terminal_error_message:"Vennligst velg terminal / leveringsalternativ",successful_login:"du har logget inn",support:"Kundeservice",tax_free_me:"Tax free & me, A Heinemann & me",technical_error:"Det oppsto en feil, vi kunne ikke legge produktet i handlekurven. Vennligst pr\xF8v igjen",terminal:"Terminal",title_suffix:"Tax Free",try_rephrasing_search:"Pr\xF8v \xE5 omformulere s\xF8ket ditt",what_to_select:"Hva skal du velge?",why_need_to_share_this:"Hvorfor m\xE5 jeg oppgi f\xF8dselsdato?",working_hours:"\xC5pningstider",yes:"Ja"},complaint:{error_submit:"Noe gikk galt",login_error_message:"Logg inn f\xF8rst og pr\xF8v igjen.",login_error_title:"Kun registrerte brukere har tilgang til klageskjemaet",reasons:{CLICK_AND_COLLECT:"Feil ved utlevering av Klikk & hent",EXCHANGE:"\xD8nsker \xE5 bytte vare",FORGOTTEN_ITEM:"Gjenglemt vare",OTHER:"Annet",PAYMENT:"Feil ved betaling",PRODUCT:"Feil med vare (reklamasjon)"},success_banner:{description:"Vi tar fatt p\xE5 saken og gir lyd fra oss snart.",title:"Din henvendelse har landet trygt i v\xE5r innboks! "},success_submit:"Klagen din er sendt"},dropdown_navigation:{all:"Alle {{ category }}",see_all:"Se alle",see_all_relevant_articles:"Se alle relevante artikler",toggle_submenu:"Vis undermeny for {{category}}"},forgottenPassword:{passwordResetSuccess:"Suksess! Du kan n\xE5 logge p\xE5 med ditt nye passord."},icon:{add_to_apple_wallet:"custom_add_to_apple_wallet_no"},itemCounter:{addOneMore:"Legg til en",quantity:"Antall",removeOne:"Fjern en"},live_shopping:{join_us:"Bli med oss p\xE5 Live shopping",live:"Live",load_more:"Last inn {{count}}
7 til",play_recording:"Spill av opptak",recordings_one:"Ett opptak",recordings_other:"{{ count }} opptak",remind_in_calendar:"Legg til i kalenderen",section_title:"Live shopping",set_reminder:"legg til i kalender",shows_count_progress:"1-{{displayed_recordings}} av {{all_recordings}} opptak",upcoming:"Kommende sendinger"},miniLogin:{signInRegister:"Sign In / Register",userGreeting:"Hi, {{name}}"},offer:{offers:"Tilbud",offers_count_one:"{{count}} tilbud",offers_count_other:"{{count}} tilbud",see_offers:"Se alle tilbud"},order_confirmation:{date_of_birth:"F\xF8dselsdato",order_number:"Ordre #{{order}}",order_summary:"Ordresammendrag",payment:"Betaling",payment_description:"Du kan ogs\xE5 legge til flere varer ved henting",payment_method:"Betalingsvalg",pickup_date:"Hentedato",pickup_info:"Henteinformasjon",pickup_info_description:"Vi har egne kasser kun for Klikk & hent. Disse er godt merket ved utgangen av butikken. Husk \xE5 oppgi ditt navn og ordrenummer ved hentetidspunket.",pickup_location:"Hentested",pickup_location_description:"Estimert gangavstand fra ankomster til Klikk & hentepunkt er < > minutter",pickup_person_first_name:"Fornavn",pickup_person_last_name:"Etternavn",pickup_time:"Hentetid",registration_email:"E-post adresse",shop_location_image:"Butikkart"},order_edit:{are_you_sure_to_revoke:"Er du sikker p\xE5 at du vil avslutte ordre redigering #{{ orderCode }}?",edit:"Redigere ordren",edit_confirmation_1:"Ved \xE5 godta dette, vil den n\xE5v\xE6rende handlekurven din bli erstattet med varene fra denne ordren.",edit_confirmation_2:"Du kan legge til eller fjerne produkter i handlekurven etter \xF8nske.",edit_confirmation_3:"Hvis du \xF8nsker \xE5 legge til produkter som ikke allerede er i handlekurven, kan du bruke s\xF8kefunksjonen eller vanlig meny for \xE5 finne \xF8nsket produkt.",edit_confirmation_4:"Du kan ogs\xE5 endre dato og tid f\xF8r du bekrefter ordren p\xE5 nytt.",edit_confirmation_5:"Hvis du velger \xE5 ikke fullf\xF8re kj\xF8pet, vil vi beholde denne bestillingen som den er.",edit_confirmation_6:"V\xE6r oppmerksom p\xE5 at det er en to timers grense for endringer i bestillingen ved {{ storeName }}.",edit_confirmation_title:"Bekreftelse p\xE5 endring av bestilling",revoke:"Avslutt redigering av ordre",revoke_number:"Avslutt endring av ordre {{orderCode}}",revoke_warning:"N\xE5r du avslutter redigering av ordren, vil vi beholde gjeldende bestillingsstatus uendret."},order_history:{are_you_sure_you_want_to_cancel_order:"Er du sikker p\xE5 at du vil kansellere bestillingen?",cancel_order:"Kanseller ordre",card_number:"Kortnummer",cardholders_name:"Kortholders navn",complaint_or_comment_about_the_order:"Klage eller kommentere bestillingen",complaints_and_returns:"Klager og retur",did_the_product_not_match_the_quality:"Er produktet ikke av den kvaliteten du forventet eller glemte du et produkt? Er det feil i betalingen? Ved produktklage skal det v\xE6re mulig \xE5 returnere produktet i omtrent samme mengde og stand som du kj\xF8pte det i",edit_products:"Endre produkter",editing_warning_message:"You are editing order #{{orderCode}}",expiration_date:"Utl\xF8psdato",filter_sort:"Filtrer og sorter",if_you_already_paid:"Hvis du allerede har betalt for denne bestillingen, vil pengene bli refundert tilbakebetalt til deg.",load_more:"Last inn {{size}} til",message:"Melding",not_found:"Bestillinger ble ikke funnet",of_orders:"1 - {{length}} av {{total}} ordre",once_you_cancel_your_order:"N\xE5r du kansellerer bestillingen din, vil du ikke kunne hente den og m\xE5 legge inn en ny bestilling",order_again:"Bestill igjen",order_has_been_canceled:"Ordre #{{orderCode}} er kansellert",order_id:"Ordre #{{id}}",order_number:"Ordrenummer",order_summary:"Ordresammendrag",order_was_not_repeated:"Ordren ble ikke gjentatt",orders:"Ordre",our_support_staff_will:"Kundeservice vil kontakte deg p\xE5 ditt oppgitte telefonnummeret eller e-postadresse",payment:"Betaling",pickup_date_time:"Hentedato og tid",pickup_info_in_process:"Vi har egne kasser kun for Klikk & he
7nt. Disse er godt merket ved utgangen av butikken. Husk \xE5 oppgi ditt navn og ordrenummer ved hentetidspunket.",pickup_info_product_list_in_process:"Hvis du \xF8nsker \xE5 fjerne noen av produktene dine, kan du fortsatt gj\xF8re det inntil 1 time f\xF8r henting",pickup_information:"Henteinformasjon",pickup_location:"Hentested",products:"produkter",products_for_order_did_not_edit:"Produkter for ordre #{order} ble ikke endret",products_for_order_edited_successfully:"Produkter for ordre #{order} ble oppdatert",reason_for_complaint:"\xC5rsak",reasons:{other:"Annet",payment:"Betaling",product:"Produkt",specify_a_reason:"Oppgi \xE5rsak"},remember_about_pickup_time_no_shop:"Husk \xE5 bestille minst 2 timer f\xF8r henting",remember_about_pickup_time_one:"Husk \xE5 bestille minst {{ count }} time f\xF8r henting p\xE5 {{ cityName }} {{ terminal }} ({{ direction }})",remember_about_pickup_time_other:"Husk \xE5 bestille minst {{ count }} timer f\xF8r henting p\xE5 {{ cityName }} {{ terminal }} ({{ direction }})",report_a_problem:"Rapporter et problem",report_has_been_sent:"Din tilbakemelding har blitt sendt",see_edit_products:"Se og endre produkter",see_my_profile:"Se profilen min",see_order_details:"Se ordredetaljer",show_orders:"Vis {{stage}} ordre",show_stages:"{{stage}} ordre",sort:{byDateAsc:"Eldste",byDateDesc:"Nyeste",label:"Sortering",sort_by:"Sortering"},stage:{ALL:"Alle ordre",CANCELLED:"Kansellert",FULFILLED:"Levert",IN_PROCESS:"I prosess / under bestilling",ORDERED:"Bestilt",READY_FOR_PICKUP:"Klar for henting"},there_are_no_orders:"Det er ingen ordre",this_order_earned_me_points:"Ved denne bestillingen samlet du",total:"Totalt",total_result_orders:"{{total}} ordre",you_may_add_additional_items_now:"Du kan ogs\xE5 legge til flere varer ved henting"},password_criteria:{contains_special_character:"Inneholder ett spesialtegn",for_6_character:"Inneholder 6 eller flere tegn",for_9_character:"Inneholder 9 eller flere tegn",for_format:"Inneholder et numerisk tegn eller et spesialtegn",for_lowercase:"Inneholder minst \xE9n liten bokstav",for_number:"Inneholder minst ett tall",for_uppercase:"Inneholder minst \xE9n stor bokstav",medium:"Medium",password_strength:"Passordstyrke",strong:"Sterkt",title:"Passordkriterier",weak:"Svakt"},product_add_to_cart:{earn_buying_this_one:"F\xE5 <strong>{{ count }} poeng</strong> ved \xE5 kj\xF8pe denne varen",earn_buying_this_other:"F\xE5 <strong>{{ count }} poeng</strong> ved \xE5 kj\xF8pe denne varen"},product_card:{add:"Legg til",add_to_cart:"Legg i handlekurv",added:"Lagt til",added_product_message:"{{product_name}} lagt til i handlekurv",brand_per_product_limit_error:"Produktet kan ikke legges til. Maksimalt {{max}} enheter er tillatt per {{brand}}-produkt.",brand_per_transaction_limit_error:"Produktet kan ikke legges til. Maksimalt {{max}} {{brand}}-produkter per ordre er n\xE5dd.",color_swatches:{more_aria:"Vis {{count}} flere farger"},free_product:"Free",new:"Ny",not_available_in:"Ikke tilgjengelig p\xE5 {{airport}}",only_available_in_store:"Kun tilgjengelig i butikk",out_in_stock_error_message:"Beklager, produktet er ikke p\xE5 lager for valgt butikk",out_of_stock:"Utsolgt",price_and_quantity:"Pris og mengde",price_change:"Price change",price_change_warning:"Heads-up! This items price has increased due to pricing change in selected store.",size:"St\xF8rrelse",update_product:"Oppdater antall i handlekurven",update_rejected_message:"Antall kunne ikke oppdateres p\xE5 grunn av produktbegrensninger",updated:"Antall er oppdatert",updated_product_message:"{{product_name}} er n\xE5 oppdatert i handlekrurven."},product_variants:{color:"Farge",size:"St\xF8rrelse",size_guide:"Se st\xF8rrelsestabell"},pwa:{add_to_home_screen:"Legg til p\xE5 startskjermen",add_to_home_screen_description:"Legg til Tax-free.no p\xE5 enhetens startskjerm for et raskere returbes\xF8k",add_to_home_screen_list_element_first:"Ingen installasjon n\xF8dvendig",add_to_home_screen_list_element_second:"Rask tilgang til applikasjonen",for_frequent_clients:"For hyppige kunder"},refinement:{and:"og",article_one:"{{count}} artikkel",article_other:"{{count}} artikler",articles:"Artikler ({{count}})",availability:"Tilgjengelighet",brand_one:"{{count}} merke",brand_other:"{{count}} merker",brand_page:"merkesiden",brands:"Merker ({{count}})",categories:"Kategori",category_page:"kategorisiden",clear:"Fjern",clear_all:"Fjern alle",currently_on_page:"Du er for \xF8yeblikket p\xE5 {{page}}",currently_on_page_titled:'Du er for \xF8yeblikket p\xE5 "{{title}}" {{page}}',false:"Nei",filter:"Filter",filter_and_sort:"Filtrer & Sorter",filter_removed:"{{filter}} filter fjernet",filter_selected_one:"{{count}} valgt filter",filter_selected_other:"{{count}} valgte filtre",filter_selected_zero:"ingen filtre valgt",from:"{{refinement}} fra {{value}}",name:"Navn",newest:"Nyeste",no_brand_results_found:"Ingen resultater funnet i merkers",no_results_found:"Ingen resultater funnet",norweg
7ian_quota_tooltip:{description:"Tobakksvarer der \xE9n enhet er innenfor den avgiftsfrie tobakkskvoten ved ankomst til Norge.",title:"Kvote inn til Norge"},of:"av",of_articles:"av {{count}} artikler",offers_page:"tilbudsside",page:"siden",pagination_products:"produkter",price_asc:"Pris stigende",price_desc:"Pris synkende",product_list:"Product list",product_one:"{{count}} produkt",product_other:"{{count}} produkter",products:"Produkter ({{count}})",products_load_failed:"Kunne ikke laste produkter. Vennligst prov igjen.",products_loaded:"{{count}} produkter lastet. Viser produkter {{from}} til {{to}}.",range:{all:"Alle"},relevance:"Relevans",remove_filter:"Fjern filteret: {{filter}}",result_one:"{{count}} resultat",result_other:"{{count}} resultat",results_announcement_one:"{{count}} resultat for {{query}}",results_announcement_other:"{{count}} resultat for {{query}}",search_page:"s\xF8k-siden",see_all_articles:"Se alle artikler",see_all_brands:"Se alle merker",see_all_products:"Se alle produkter",see_all_results:"Se alle resultater",show_all_articles:"Vis alle artikler",show_less:"Vis mindre -",show_more:"Vis mer +",show_only_in_stock:"Vis kun produkt p\xE5 lager",sort:"Sorter",till:"{{refinement}} til {{value}}",tre_tooltip:{description:"Produkter som kun selges p\xE5 taxfree- eller flyplassutsalg.",title:"Travel Retail Exclusive"},true:"Ja",with_filter_one:"med {{count}} filter",with_filter_other:"med {{count}} filtre",with_filter_zero:"uten filtre",with_offer_one:"med {{count}} tilbud",with_offer_other:"med {{count}} tilbud",with_offer_zero:"uten tilbud",with_product_one:"med {{count}} produkt",with_product_other:"med {{count}} produkter",with_product_zero:"uten produkter"},registration:{agreements:{terms_and_conditions:"Jeg samtykker til at Tax Free Norway <a href='/termsAndConditions' target='_blank'>kan overf\xF8re</a> mine kontaktopplysninger til Avinor slik at Avinor kan sende meg nyhetsbrev",terms_of_use:"Jeg godtar vilk\xE5rene for bruk og personvernerkl\xE6ring, og bekrefter at jeg er over 18 \xE5r gammel, og samtykker til \xE5 motta nyhetsbrev p\xE5 e-post med gode tilbud og kampanjer"}},registration_bank_card:{form_label:"P\xE5meldingsskjema for bankkort",subtitle:"For at du skal opptjene bonuspoeng p\xE5 alt du handler eller bestiller p\xE5 nett, trenger vi din konto-eller kortinformasjon.",title:"Ikke g\xE5 glipp av dine bonuspoeng!"},shop_selector:{airport:"{{airport}} flyplass",airport_info_tooltip:"Her velger du flyplassen du vil hente varene dine.",direction:"{{direction}} retning",direction_info_tooltip:"Her velger du utreise eller hjemreise. Velg Avgang om du reiser ut av flyplassen, ankomst om du ankommer flyplassen. Velg Ankomst til innenlands transit om du mellomlander, men ikke skal hente bagasjen din i ankomsthallen. Dette gjelder kun enkelte flyselskap. <a href='https://avinor.no/flyplass/oslo/planlegg-reisen/transfer/domestic-transfer' target='_blank'>Les mer om Ankomst til innenlands transit her</a>",preselected_message:{button:"Velg her",message:"Hvis du vil ha det det riktige vareutvalget for en Klikk & hent-handel, m\xE5 du ogs\xE5 velge terminal og flyretning.",title:"Vi har valgt Oslo ({{airport}}) for deg"},select_airport:"Velg {{airport}} flyplass",select_direction:"Velg {{direction}} retning",select_terminal:"Velg {{terminal}} terminal",terminal:"{{terminal}} terminal",terminal_info_tooltip:"Hvis du skal reise til eller fra utlandet, velger du Internasjonal. Hvis du skal du fly innad i Norge velger du Innenlands"}
7,stock:{cnc:{in_stock:"Tilgjengelig for Klikk & hent",info:{description:"Bestill p\xE5 nett og hent varene dine i taxfree-butikken n\xE5r du ankommer eller reiser ut.",title:"Klikk & hent"},low_stock:"F\xE5 tilgjengelig for Klikk & hent",out_of_stock:"Utsolgt for Klikk & hent"},online_exclusive:"Online Exclusive",selected_store:{in_stock:"Tilgjengelig i {{shop}}",info:{description:"Varene kan kj\xF8pes direkte i taxfree-butikken.",title:"Tilgjengelighet i butikk"},low_stock:"F\xE5 igjen i {{shop}}",out_of_stock:"Utsolgt i {{shop}}"},unavailable_in_store:"Kan ikke kj\xF8pes i butikk"},store:{location:{and:"og"},map:{enlarge:"Forst\xF8rr kart"},schedule:{closed:"Stengt",open_always:"\xC5pent 24/7"}},taxes:{incl_vat:"Inkl. MVA",of_which_tax:"Hvorav {{ value }}% MVA",price_includes_vat:"Inkluderer {{ value }}% MVA",sum:"SUM",taxable_amount:"MVA-Grunnlag",total:"Total MVA",vat:"MVA",vat_info:"Dette produktet selges med merverdiavgift i henhold til norsk lov",vat_value:"MVA-%"},wish_list:{add_all_error:"Oj, klarte ikke legge produkter i handlekurven",add_all_products:"Legg til alle produkter",add_all_success:"Alle produkter ble lagt til i handlekurven",add_all_to_cart:"Legg alle i handlekurven",add_to_cart:"Legg i handlekurv",add_to_cart_mobile:"Legg til",add_to_favorites:"Legg til i favoritter",added:"Lagt til",choose_new_folder_to_add_all:"Velg en mappe du vil legge alle produktene til",choose_new_folder_to_move:"Velg en ny mappe du vil flytte produktet til",choose_new_folder_to_move_all:"Velg en ny mappe du vil flytte alle '{{ name }}' produkter til",create_and_add:"Opprett og legg til",create_list:"Opprett liste",create_new_list:"Opprett ny liste",delete_are_you_sure:"Er du sikker p\xE5 at du vil slette {{ name }} fra favorittene dine?",delete_error:"Feil under sletting av favorittliste",delete_list:"Slett liste",delete_once_you_delete_wish_list:"N\xE5r du har slettet denne mappen fra favorittene dine, vil alle elementene du har lagt til i denne mappen ogs\xE5 bli permanent fjernet.",delete_product_error:"Feil under sletting av produkt fra favorittlisten",delete_product_success:"Produktet er slettet fra favorittlisten",delete_success:"Favorittlisten er slettet",delete_wish_list:"Slett {{ name }}",edit_error:"Feil under endring av navn p\xE5 favorittliste",edit_list:"Rediger favorittlistenavn",edit_list_label:"Favorittlistenavn",edit_success:"Favorittlisten har f\xE5tt nytt navn",error_adding_to_wish_list:"Oj, klarte ikke legge produktet til {{ name }}",error_removing_from_wish_list:"Feil under fjerning fra {{ name }}",favorites_list_name:"Favorittlistenavn",link_copied:"Link kopiert til utklippstavlen",more_wishlist_options_menu:"Meny for flere \xF8nskelister",move_all_items:"Flytt alle elementer",move_all_products:"Flytt alle produkter",move_product:"Flytt produkt",move_to_folder:"Flytt til mappe",moved_error:"Feil under flytting av produkter",moved_product_error:"Feil under flytting av produktet",moved_product_success:"Produktet ble flyttet til '{{ name }}'",moved_success:"Alle produkter ble flyttet til '{{ name }}'",of_products_one:"av {{ count }} produkt",of_products_other:"av {{ count }} produkter",placeholder:"F.eks. sommer \xF8nskeliste, favoritt s\xF8tsaker osv.",remove_from_favorites:"Fjern fra favoritter",remove_product:"Fjern produktet",rename_list:"Endre navn",see_availability:"Se tilgjengelighet",share:"Del",share_folder:"Del {{ name }}",share_options:{copy_link:"Kopier lenke",download_pdf:"Last ned PDF",my_email_address:"Min e-postadresse",my_firstname:"Mitt fornavn",my_lastname:"Mitt etternavn",recipient_email_address:"Mottakerens e-postadresse",recipient_phone_number:"Mottakerens telefonnummer",send_list_by_email:"Send liste via e-post",send_list_by_sms:"Send liste via SMS",share_by_email:"Del via e-post",share_by_email_error:"Feil under sending av e-post",share_by_email_success:"E-post er sendt",share_by_sms:"Del via SMS",share_by_sms_error:"Feil under sending av sms",share_by_sms_success:"SMS er sendt",title:"Velg hvordan du vil dele denne favorittlisten"},shared_list:{add_all_to_favorites:"Legg alle til favoritter",title_one:"{{ count }} produkt",title_other:"{{ count }} produkter"},success_adding_to_default_wish_list:"Legg til i \xF8nskeliste",success_adding_to_wish_list:"Lagt til i {{ name }}",success_remove_from_default_wish_list:"Fjernet fra \xF8nskeliste",success_remove_from_wish_list:"Fjernet fra {{ name }}",wish_list_default_name:"\xD8nskeliste",wish_list_error_created_message:"Det var et problem med \xE5 lage favorittliste",wish_list_name:"Favorittlistenavn",
7wish_list_success_created_message:"\u201D{{ name }}\u201D favorittliste er opprettet"}};var vv={days:{friday:"Fredag",monday:"Mandag",saturday:"L\xF8rdag",sunday:"S\xF8ndag",thursday:"Torsdag",tuesday:"Tirsdag",wednesday:"Onsdag"},months:{april:"April",august:"August",december:"Desember",february:"Februar",january:"Januar",july:"Juli",june:"Juni",march:"Mars",may:"Mai",november:"November",october:"Oktober",september:"September"},time_period:{after_days:"Om {{count}} dager",next_month:"Neste m\xE5ned",previous_month:"Forrige m\xE5ned",today:"I dag",tomorrow:"I morgen"}};var Sv={error:{date_is_in_the_past:"Ugyldig dato",incorrect_current_password:"Ugyldig passord",invalid_date:"Ugyldig dato. Dato m\xE5 v\xE6re i formatet: dd/mm/\xE5\xE5\xE5\xE5",invalid_email:"Ugyldig e-postadresse. E-post m\xE5 v\xE6re i formatet: [email protected]",invalid_time:"Ugyldig tid angitt. Tid m\xE5 v\xE6re i formatet: tt:mm",invalid_working_hours:"Vennligst velg en tid innenfor v\xE5re \xE5pningstider.",maximum_time_to_pickup:"Datoen er senere enn 30 dager fra i dag",min_length_plural:"M\xE5 inneholde minst {{count}} tegn",minimum_time_before_pickup:"Du m\xE5 bestille minst {{hours}} timer f\xF8r henting",minlength:"Must contain at least {{requiredLength}} characters",missing_lowercase_char:"M\xE5 inneholde minst \xE9n liten bokstav",missing_numeric_char:"M\xE5 inneholde minst ett numerisk tegn",missing_numeric_or_special_char:"M\xE5 inneholde minst ett numerisk tegn eller spesialtegn",missing_special_char:"M\xE5 inneholde minst ett spesialtegn",missing_uppercase:"M\xE5 inneholde minst \xE9n stor bokstav",not_old_enough:"Du m\xE5 v\xE6re over 18",phone_number:{invalid:"Telefonnummeret er ugyldig",too_long:"Telefonnummeret er for langt",too_short:"Telefonnummeret er for kort"},promo_code_does_not_exist:"Kampanjekoden \u201C{{promoCode}}\u201D finnes ikke",required:"Dette feltet er obligatorisk",required_labeled:"{{label}} er obligatorisk",should_contain_only_alphabetic_characters:"M\xE5 kun inneholde alfabetiske tegn",should_contain_only_alphanumeric:"M\xE5 kun inneholde alfanumeriske tegn",should_contain_only_numbers:"M\xE5 kun inneholde tall",terms_and_conditions:"N\xE5r du melder deg inn i Tax Free & Me godtar du ogs\xE5 kommunikasjon p\xE5 e-post eller via andre elektroniske kommunikasjonsmetoder. Dette er fordi kommunikasjon med medlemmer er selve hensikten med Tax Free & Me. <a target='_blank' href='https://www.tax-free.no/no/informasjon/brukervilkar/vilkar-tax-free-me' >Les mer om vilk\xE5r for Tax Free & Me</a>. Hvis du ikke lenger \xF8nsker \xE5 motta v\xE5rt nyhetsbrev eller kommunikasjon, kan du n\xE5r som helst melde deg av disse."},httpHandlers:{actionCanNotBeDone:"Beklager, det har oppst\xE5tt en serverfeil. Vennligst pr\xF8v igjen senere",badGateway:"Beklager, det har oppst\xE5tt en serverfeil. Vennligst pr\xF8v igjen senere",badRequestGuestDuplicateEmail:"{{ errorMessage }} e-postadressen eksisterer allerede. Vennligst bruk en annen e-postadresse",badRequestOldPasswordIncorrect:"Ugyldig passord",badRequestPleaseLoginAgain:"{{ errorMessage }}. Vennligst logg inn igjen",cartNotFound:"Handlekurv ikke funnet",conflict:"Eksisterer allerede",forbidden:"Du er ikke autorisert til \xE5 utf\xF8re denne handlingen. Kontakt administrator hvis du mener dette er en feil",gatewayTimeout:"Serveren svarte ikke. Vennligst pr\xF8v igjen senere",internalServerError:"Det har oppst\xE5tt en intern serverfeil. Vennligst pr\xF8v igjen senere",invalidCodeProvided:"Ugyldig kode oppgitt",sessionExpired:"\xD8kten din har utl\xF8pt. Vennligst logg inn igjen",unauthorized:{common:"Det oppstod en ukjent autorisasjonsfeil",invalid_client:"Ugyldig klientlegitimasjon"},unknownError:"En ukjent feil har oppst\xE5tt",validationErrors:{invalid:{card_expirationMonth:"Kredittkortets utl\xF8psdato er ugyldig",code:"Koden er ikke gyldig",email:"Ugyldig e-postadresse",firstName:"Ugyldig fornavn",lastName:"Ugyldig etternavn",password:"Ugyldig passord angitt",uid:"BrukerID er ikke gyldig"}}}};var Cv={vipps:{loginCompleted:"Du er n\xE5 logget inn hos Tax Free x ME og har tilgang til alle fordelene.",loginError:"Noe gikk galt. Fors\xF8k Vipps igjen.",tokenExchangeError:"Noe gikk galt. Fors\xF8k Vipps igjen."}};(0,bl.registerLocale)(fv);var QM={countries:(0,bl.getNames)("no")};var bv={layoutSlots:He(re({}
7,Bm.layoutSlots),{prologue:{slots:["SiteLogo","SiteLinks","LanguageCurrencySlot","SiteContext","SiteLogin","FavoriteProductsSlot","MiniCart","ProductQuotaAndHelpLinks"]},header:{slots:["HamburgerNavigation","SiteLogo","SearchBox","SiteLogin","FavoriteProductsSlot","MiniCart"]},navigation:{slots:["NavigationBar"]},footer:{slots:["TopFooter","TopFooterSlot","Footer","BottomFooterSlot"]},certifications:{slots:["BottomFooter"]},LandingPageTemplate:{slots:["SrOnlySlot","TopContentSlot","ContentSlot","BottomContentSlot"]},BrandLandingPageTemplate:{slots:["TopContentSlot","ContentSlot","BottomContentSlot"]},LandingPage2Template:{pageFold:"Section2B",slots:["Section1","Section2A","Section2B","Section2C","Section3","Section4","Section5"]},ProductListPageTemplate:{slots:["ProductListSlot"]},ProductDetailsPageTemplate:{slots:["TopHeaderSlot","TopContentSlot","Summary","UpSelling","Reviews"]},ProductDetailsBrandPageTemplate:{slots:["TopHeaderSlot","TopContentSlot","Summary","UpSellingSlot","Reviews"]},CategoryPageTemplate:{slots:["ProductListSlot"]},BrandCategoryPageTemplate:{slots:["TopContentSlot","ProductListSlot"]},LoginPageTemplate:{slots:["LeftContentSlot","RightContentSlot"]},CartPageTemplate:{slots:["TopContentSlot","CenterLeftContentSlot","CenterRightContentSlot","EmptyCartMiddleContent","BottomContentSlot"]},MultiStepCheckoutSummaryPageTemplate:{slots:["TopContentSlot","BodyContent","SideContent"]},CheckoutLoginPageTemplate:{slots:["TopContentSlot","LeftContentSlot","RightContentSlot"]},OrderConfirmationPageTemplate:{slots:["TopContent","BodyContent","SideContent","BottomContent"]},AccountPageTemplate:{slots:["TopContent","BodyContent","SideContent"]},SearchResultsListPageTemplate:{slots:["SearchResultsListSlot"]},BrandListPageTemplate:{slots:["BrandsList"]},TrnArticlePageTemplate:{slots:["ContentSlot","RightContentSlot"]},ArticleListPageTemplate:{slots:["ArticleListSlot"]},ErrorPageTemplate:{slots:["MiddleContent","BottomContent"]},BrandPageTemplate:{slots:["TopContent","BrandsList"]},OfferListPageTemplate:{slots:["OfferList"]},ItemListPageTemplate:{slots:["ItemListSlot","ItemGridSlot"]},OfferPageTemplate:{slots:["ProductListSlot"]},WishlistPageTemplate:{slots:["WishlistContent","EmptyWishlistContent"]},SharedWishlistPageTemplate:{slots:["WishlistContent","EmptyWishlistContent"]},HelpPageTemplate:{slots:["ContentSlot","RightContentSlot"]},EmptyPageTemplate:{slots:["ContentSlot"]}})};var Ev=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(bv),b(Kf),b(se.authConfig),Ua({authorizationCodeFlowByDefault:!1}),b(se.occConfig),b(se.siteContextConfig),b({imageLoadingStrategy:pc.LAZY}),b({i18n:{resources:Tl,chunks:Object.entries((0,Tv.head)(Object.values(Tl))).reduce((e,[r,i])=>Object.assign({},e,{[r]:Object.keys(i)}),{}),fallbackLang:se.defaultLanguage}}),b({routing:{internal:["/**"],routes:{product:{matchers:[xf],paths:[":customProductCode/:name"]},category:{matchers:[nv],paths:[":customCategoryCode/:categoryPath"]},wishlist:{paths:["wishlists","my-account/wishlists"]}},loadStrategy:_p.ALWAYS}}),b({features:{level:"221121.17"}}),b({pageMeta:{resolvers:[{property:"title",method:"resolveTitle"},{property:"heading",method:"resolveHeading"},{property:"breadcrumbs",method:"resolveBreadcrumbs"},{property:"description",method:"resolveDescription"},{property:"image",method:"resolveImage"},{property:"robots",method:"resolveRobots"},{property:"canonicalUrl",method:"resolveCanonicalUrl"},{property:"hreflang",method:"resolveHrefLang"},{property:"alternateUrls",method:"resolveAlternateLanguageUrls"},{property:"updated_time",method:"resolveUpdateTime"}],canonicalUrl:{forceHttps:!0,forceWww:!1,removeQueryParams:!0,forceTrailingSlash:!1}}}),b({seo:{structuredData:{disableInDevMode:!1}}}),b({enableResetViewOnNavigate:{active:!0,ignoreQueryString:!0}}),b({tagManager:{gtm:{gtmId:se.gtm.gtmId,collector:iv,events:[Fi,Dm,Np,Wp,Fp,bp,Cp,Fm,Um,Ef,Tf,nf,Bf,Vi,Ki,Nn,tf,$f,Hf,Df,Fs,On,Uf,Fn,Gf,zf,rf,Sl,kn,of,Wf,Mn],debug:!1}}}),b(se.pwa),b({state:{ssrTransfer:{keys:{router:Si.TRANSFER_STATE,articles:Si.TRANSFER_STATE,product:Si.TRANSFER_STATE,warehouse:Si.TRANSFER_STATE,siteContext:Si.TRANSFER_STATE}}}}),b({imageLoadingStrategy:pc.LAZY}),{provide:Up,useClass:rv}
7,b({icon:{resources:[{type:im.LINK,url:"https://use.fontawesome.com/releases/v7.0.1/css/all.css"}]}})],imports:[yy.forRoot(),ov,om.register("ngsw-worker.js",{scope:"/",enabled:!0,registrationStrategy:"registerWhenStable:10000"})]})}return t})();var _d=t=>()=>{let o=d(Te),e=d(Ha);return o.parseUrl(e.get(t)??"")};var wv=(()=>{class t{activeCartFacade=d(Sr);router=d(Te);semanticPathService=d(Ha);cartGuestUserFacade=d(An);userIdService=d(bi);canActivate(){return this.activeCartFacade.getAssignedUser().pipe(N(e=>e?.uid===sp?this.assignGuest():H(null)),v(()=>!0))}assignGuest(){return this.cartGuestUserFacade.assignGuest().pipe(Mt(()=>this.activeCartFacade.reloadActiveCart()),N(()=>this.activeCartFacade.isStable().pipe(D(Boolean))),me())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Mv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({routing:{routes:{checkout:{paths:["checkout"]},checkoutAsGuest:{paths:["checkout/continue-as-guest"],authFlow:!0},checkoutLogin:{paths:["checkout/login"],authFlow:!0},checkoutRegister:{paths:["checkout/register"],authFlow:!0}
7,checkoutDetails:{paths:["checkout/details"]},checkoutSummary:{paths:["checkout/summary"]},checkoutRecommendation:{paths:["checkout/recommendations"]},orderConfirmation:{paths:["order-confirmation"]}}}}),b({checkout:{flows:{[xs.GUEST]:{steps:[yt.SHOPPING_CART,yt.LOGIN_GUEST,yt.DETAILS,yt.SUMMARY],guest:!0},[xs.AUTHORIZED]:{steps:[yt.SHOPPING_CART,yt.LOGIN,yt.DETAILS,yt.SUMMARY],guest:!1},[xs.REGISTRATION]:{steps:[yt.SHOPPING_CART,yt.REGISTER,yt.DETAILS,yt.SUMMARY],guest:!1}},steps:[yt.SHOPPING_CART,yt.LOGIN,yt.DETAILS,yt.SUMMARY],guest:!1}}),b({featureModules:{[Ns]:{cmsComponents:[Yf,Qf,Xf,Zf,Jf,eh,th,rh,oh,ih]},[xn]:{}}}),{provide:Sc,useFactory:()=>lr({facade:Sc,feature:xn,methods:["getPaymentCardTypesState","getPaymentCardTypes","getPaymentDetailsState","createPaymentDetails","setPaymentDetails","setPaymentMode","getSupportedPaymentModesState","getSupportedPaymentModes"],async:!0})}],imports:[qf,gt.forChild([{path:"checkout",canActivate:[nh,sh],children:[{path:"",canActivate:[ah,_d("checkoutDetails")],children:[]},{path:"continue-as-guest",canActivate:[wv,_d("checkoutDetails")],children:[]}]}])]})}return t})();var kv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[xn]:{module:()=>import("./chunk-YDCT72IR.js").then(e=>e.TrnCheckoutCoreModule)},[Ns]:{module:()=>import("./chunk-7UD5SNVT.js").then(e=>e.TrnCheckoutBaseComponentsModule)}}})],imports:[Mv]})}return t})();var Pv={backend:{occ:{endpoints:{baseSites:"basesites?fields=baseSites(uid,defaultLanguage(isocode),urlEncodingAttributes,urlPatterns,stores(currencies(isocode,displayDigits),defaultCurrency(isocode,displayDigits),languages(isocode),defaultLanguage(isocode)),theme,defaultPreviewCatalogId,defaultPreviewCategoryCode,defaultPreviewProductCode,captchaConfig(FULL),asmEnabled,cdnUrl,abData)"}}}};var Av=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[ir({featureModules:{[ms]:{},[Eo]:{cmsComponents:[ph]},[wo]:{cmsComponents:[mh]}}})]})}return t})();var Iv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(Pv),b({featureModules:{[ms]:{module:()=>import("./chunk-KPFSVQWR.js").then(e=>e.ContextCoreModule)},[Eo]:{module:()=>import("./chunk-U4VRZBCH.js").then(e=>e.ShopSelectorModule)},[wo]:{module:()=>import("./chunk-XULKIMGI.js").then(e=>e.LanguageCurrencyModule)}}}),pr(mr("baseSites")),pr(mr("languages")),pr(mr("currencies"))],imports:[Av]})}return t})();var XM=t=>[t],ZM=(t,o)=>o.productCode;function JM(t,o){if(t&1&&Pr(0,"div",0),t&2){let e=o.$implicit;yr("data-ls-product-name",e.productName)("data-ls-brand",e.brand)("data-ls-product-id",e.productCode)("data-ls-product-url",e.url)}}function e0(t,o){if(t&1&&ui(0,JM,1,4,"div",0,ZM),t&2){let e=Fe();pi(Oa(0,XM,e))}}function t0(t,o){if(t&1&&Ae(0,e0,2,2),t&2){let e=o;Ie(!e.hideReview&&e.productCode?0:-1)}}var Rv=(()=>{class t{lipScoreFacade=d(Po);destroyRef=d(di);outletContextData=d(wi,{optional:!0});context$=this.outletContextData?this.outletContextData.context$:Nt;constructor(){this.context$.pipe(v(e=>e.productCode),ie(),N(()=>this.lipScoreFacade.init$()),_o(this.destroyRef)).subscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-lipscore-rating"]],decls:2,vars:3,consts:[["id","lipscore-rating"]],template:function(r,i){if(r&1&&(Ae(0,t0,1,1),ee(1,"async")),r&2){let n;Ie((n=te(1,1,i.context$))?0:-1,n)}},dependencies:[Qe],encapsulation:2})}return t})();var Ov=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[Wt({id:ko.RATING.id,component:Rv})]})}return t})();function r0(t,o){if(t&1&&Pr(0,"span",0),t&2){let e=Fe();yr("data-ls-product-name",e.productName)("data-ls-brand",e.brand)("data-ls-product-id",e.productCode)("data-ls-product-url",e.url)}}function o0(t,o){if(t&1&&Ae(0,r0,1,4,"span",0),t&2){let e=o;Ie(!e.hideReview&&e.productCode?0:-1)}}var Fv=(()=>{class t{lipScoreFacade=d(Po);outletContextData=d(wi,{optional:!0});context$=this.outletContextData?this.outletContextData.context$:Nt;sub=new Pe;ngAfterViewInit(){this.sub.add(this.lipScoreFacade.init$().subscribe())}ngOnDestroy(){this.sub.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-lipscore-rating-small"]],decls:2,vars:3,consts:[[1,"lipscore-rating-small"]],template:function(r,i){if(r&1&&(Ae(0,o0,1,1),ee(1,"async")),r&2){let n;Ie((n=te(1,1,i.context$))?0:-1,n)}},dependencies:[Qe],styles:["[_nghost-%COMP%]{display:block;min-height:12px;visibility:hidden}[_nghost-%COMP%]:has(svg){visibility:visible}"]})}return t})();var Nv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[Wt({id:ko.RATING_SMALL.id,component:Fv})]})}return t})();var i0=t=>[t],n0=(t,o)=>
7o.productCode;function a0(t,o){if(t&1&&Pr(0,"div",0),t&2){let e=o.$implicit;yr("data-ls-product-name",e.productName)("data-ls-brand",e.brand)("data-ls-product-id",e.productCode)("data-ls-product-url",e.url)}}function s0(t,o){if(t&1&&ui(0,a0,1,4,"div",0,n0),t&2){let e=Fe();pi(Oa(0,i0,e))}}function l0(t,o){if(t&1&&Ae(0,s0,2,2),t&2){let e=o;Ie(!e.hideReview&&e.productCode?0:-1)}}var xv=(()=>{class t{lipScoreFacade=d(Po);destroyRef=d(di);outletContextData=d(wi,{optional:!0});context$=this.outletContextData?this.outletContextData.context$:Nt;constructor(){this.context$.pipe(v(e=>e.productCode),ie(),N(()=>this.lipScoreFacade.init$()),_o(this.destroyRef)).subscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-lipscore-reviews"]],decls:2,vars:3,consts:[["id","lipscore-review-list"]],template:function(r,i){if(r&1&&(Ae(0,l0,1,1),ee(1,"async")),r&2){let n;Ie((n=te(1,1,i.context$))?0:-1,n)}},dependencies:[Qe],encapsulation:2})}return t})();var Lv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[Wt({id:ko.REVIEWS.id,component:xv})]})}return t})();var El="LipScoreServiceReviewComponent";var yd=(()=>{class t{lipScoreFacade=d(Po);sub=new Pe;ngAfterViewInit(){this.sub.add(this.lipScoreFacade.init$().subscribe())}ngOnDestroy(){this.sub.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-lipscore-service-review"]],decls:1,vars:0,consts:[["data-ls-widget-height","35px","data-ls-widget-width","100%",1,"lipscore-service-review-badge-small-long"]],template:function(r,i){r&1&&Pr(0,"div",0)},styles:["div[_ngcontent-%COMP%]{background:#fff}"]})}return t})();var Dv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[Wt({id:ko.SERVICE_REVIEW.id,component:yd}),ir({cmsComponents:{[El]:{component:yd}}})]})}return t})();var Uv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[Ls]:{cmsComponents:[El]}}})],imports:[Ov,Lv,Nv,Dv]})}return t})();var jv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[Ls]:{module:()=>import("./chunk-Q4ARLDD6.js").then(e=>e.LipScoreBaseCoreModule)}}})],imports:[Uv]})}return t})();var Bv={backend:{occ:{endpoints:{accountCoupons:"users/${userId}/coupons"}}}};var wl="USER_LOGIN_FEATURE";var $v=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:Rn,useFactory:()=>lr({facade:Rn,feature:In,methods:["get","getById","getGeoPosition","getState","reload"]})},b({featureModules:{[wl]:{cmsComponents:[fh]},[Ps]:{cmsComponents:[yh,hh,gh,_h]},[In]:{}}})],imports:[bf]})}return t})();var Ml="USER_PROFILE_SETTINGS_FEATURE";var Hv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[vs]:{cmsComponents:[vh,Sh,Ch,bh,Th]},[Ml]:{cmsComponents:[Eh,wh,Mh,kh]},[Ss]:{}}})],imports:[df]})}return t})();var Gv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(Bv),b({featureModules:{[In]:{module:()=>import("./chunk-PQIFCJJ5.js").then(e=>e.TrnUserAccountCoreModule)},[Ps]:{module:()=>import("./chunk-7JS6X37W.js").then(e=>e.UserAccountModule)},[wl]:{module:()=>import("./chunk-MYX2VCYN.js").then(e=>e.UserAccountLoginModule)},[Ss]:{module:()=>import("./chunk-BALVM53T.js").then(e=>e.TrnUserProfileCoreModule)},[vs]:{module:()=>import("./chunk-2HBCAXUJ.js").then(e=>e.ProfileBaseModule)},[Ml]:{module:()=>import("./chunk-MTJB2OGJ.js").then(e=>e.ProfileSettingsModule)}}})],imports:[$v,Hv]})}return t})();var zv=(()=>{class t extends Mi{res=d(Nr,{optional:!0});router=d(Te);canActivateNotFoundPage(e,r,i){return this.res?(this.res.status(410),super.canActivateNotFoundPage(e,r,i)):H(this.router.parseUrl("/tilbud"))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var vd=(()=>{class t extends At{service=d(zv);static isOfferPageUrl(e){return e&&e.startsWith("tilbud/")}static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lr=(()=>{class t{authService=d(Sp);authRedirectService=d(vp);router=d(Te);winRef=d(de);canActivate(e){return this.winRef.isBrowser()?this.authService.isUserLoggedIn().pipe(v(r=>r||(this.authRedirectService.saveCurrentNavigationUrl(),this.router.createUrlTree(["/redirecting"])))):e.queryParamMap.get("showSSRLoading")?!0:this.router.createUrlTree(["."],{queryParams:{showSSRLoading:!0},queryParamsHandling:"merge"})}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Wv=(()=>{class t{service=d(Bp);authGuard=d(Lr);canActivate(e){let r=e.url.map(i=>i.path);return r=r.length?r:[""],this.service.isUrlProtected(r)?this.authGuard.canActivate(e):H(!0)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qi=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-redirect"]],decls:0,vars:0,template:function(r,i){},encapsulation:2})}return t})();function d0(t,o,e){if(!t)return null;let r=t.seo?.canonicalUrl;if(!r)return null;let i=e.extractCanonicalSlug(r);return i?i===e.getActualSlug(o)?{match:!0}:{match:!1,canonicalUrl:r}:null}function u0(t,o,e,r){return o?.status(301),o?.header({location:t}),mi(e)?!0:new op(r.parse(t),{onSameUrlNavigation:"reload"})}function Xi(t){return(o,e)=>{let r=d(et),i=d(yi),n=d(Te),l=d(tr),u=d(Nr,{optional:!0}),m=t.injectFetcher(),_="/"+e.map(M=>M.path).join("/");if(!t.isUrl(_))return!1;let P=t.parseUrl(_);return P?r.getActive().pipe(ht(1),N(M=>m(P.code).pipe(ya(5e3),ht(1),v(L=>{let U=d0(L,P,t);if(!U||U.match===!0)return!1;let{canonicalUrl:A}=U,F=Nf(u,n,i),le=Ff(A,M,F);return u0(le,u,l,i)}))),Ge(()=>H(!1))):!1}}var Vv=/^\/?((?<lang>[a-z]{2})\/)?merker\/(?<code>[^\/ \t\r\n]+)(\/(?<slug>[^\/ \t\r\n?#]+))?/;function Sd(t){return Vv.test(cr(t))}function p0(t){let o=Vv.exec(cr(t));return o?.groups?.code?{lang:o.groups.lang,code:o.groups.code,slug:o.groups.slug}:null}
7function m0(t){let e=cr(t).split("/").filter(Boolean);return e.length>=3?e[e.length-1]:void 0}var Kv=Xi({isUrl:Sd,parseUrl:p0,injectFetcher:()=>{let t=d(Mo);return o=>t.getBrand$(o)},extractCanonicalSlug:m0,getActualSlug:t=>t?.slug});var qv=t=>{let o="/"+t.map(e=>e.path).join("/");return Sd(o)?{consumed:t}:null};var Yv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[gt.forChild([{matcher:qv,canMatch:[Kv],component:Qi}])]})}return t})();var Qv=/^\/?((?<lang>[a-z]{2})\/)?category(?<code>\d+)(\/(?<path>.+))?/;function Cd(t){return Qv.test(cr(t))}function f0(t){let o=Qv.exec(cr(t));return o?.groups?.code?{lang:o.groups.lang,code:o.groups.code,path:o.groups.path}:null}function h0(t){let e=cr(t).split("/").filter(Boolean);return e.length>=2?e.slice(1).join("/"):void 0}var Xv=Xi({isUrl:Cd,parseUrl:f0,injectFetcher:()=>{let t=d(Li);return o=>t.getCategory$(o,Kr.DETAILS)},extractCanonicalSlug:h0,getActualSlug:t=>t?.path});var Zv=t=>{let o="/"+t.map(e=>e.path).join("/");return Cd(o)?{consumed:t}:null};var Jv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[gt.forChild([{matcher:Zv,canMatch:[Xv],component:Qi}])]})}return t})();var Zi=class t{redirectService=d(xr);router=d(Te);brandService=d(Mo);static BRAND_REGEXP=new RegExp(/^\/?((?<lang>\w+)\/)?(\w+\/)?merker\/(?<name>[\wæøå%]+)\/?$/);static isBrandUrl(o){return this.BRAND_REGEXP.test(decodeURIComponent(o))}parseBrandUrl$(o){let e=t.BRAND_REGEXP.exec(decodeURIComponent(o)),r=se.siteContextConfig.context.language.find(i=>i===e.groups?.lang);return this.brandService.getBrands$().pipe(v(i=>(i?.brands||[]).find(n=>decodeURIComponent(n.url).endsWith(`/${e.groups?.name}`)||n.code===e.groups?.name)),v(i=>i&&e&&"/"+[r,i.url.replace(/^\//,"")].filter(Boolean).join("/")))}canActivate(o,e){return t.isBrandUrl(e.url)?this.parseBrandUrl$(e.url).pipe(v(r=>r?(this.redirectService.setRedirectHeaders(r),this.router.parseUrl(r)):!0)):!0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ji=class t{redirectService=d(xr);router=d(Te);productService=d(Co);static PRODUCT_REGEXP=new RegExp(/^\/?((?<lang>\w+)\/)?(\w+\/)?produkter\/(?<code>\d+)\/?(?<name>[^\/\s]+)?/);static isProductUrl(o){return this.PRODUCT_REGEXP.test(decodeURIComponent(o))}parseProductUrl$(o){let e=t.PRODUCT_REGEXP.exec(decodeURIComponent(o)),r=se.siteContextConfig.context.language.find(i=>i===e.groups?.lang);return e.groups?.code?this.productService.get(e.groups.code).pipe(v(i=>i&&e&&"/"+[r,i.url.replace(/^\//,"")].filter(Boolean).join("/"))):H(void 0)}canActivate(o,e){return t.isProductUrl(e.url)?this.parseProductUrl$(e.url).pipe(v(r=>r?(this.redirectService.setRedirectHeaders(r),this.router.parseUrl(r)):!0)):!0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var eS=(t,o)=>Ji.isProductUrl(o.toString())?{consumed:t}:null,tS=(t,o)=>Zi.isBrandUrl(o.toString())?{consumed:t}:null;var rS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[gt.forChild([{pathMatch:"full",matcher:eS,canActivate:[Ji,At],component:tt},{pathMatch:"full",matcher:tS,canActivate:[Zi,At],component:tt}])]})}return t})();var oS=/^\/?((?<lang>[a-z]{2})\/)?product(?<code>\d+)(\/(?<slug>[^\/ \t\r\n?#]+))?/;function bd(t){return oS.test(cr(t))}function g0(t){let o=oS.exec(cr(t));return o?.groups?.code?{lang:o.groups.lang,code:o.groups.code,slug:o.groups.slug}:null}function _0(t){let e=cr(t).split("/").filter(Boolean);return e.length>=2?e[1]:void 0}var iS=Xi({isUrl:bd,parseUrl:g0,injectFetcher:()=>{let t=d(Co);return o=>t.get(o,Ne.DETAILS)},extractCanonicalSlug:_0,getActualSlug:t=>t?.slug});var nS=t=>{let o="/"+t.map(e=>e.path).join("/");return bd(o)?{consumed:t}:null};var aS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[gt.forChild([{matcher:nS,canMatch:[iS],component:Qi}])]})}return t})();var sS=(()=>{class t{router=d(Te);viewportScroller=d(Uu);lastScrollEvent$=this.router.events.pipe(D(e=>e instanceof tp),fe(1));constructor(){this.viewportScroller.setHistoryScrollRestoration("auto")}static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:ip,useValue:{scrollPositionRestoration:"disabled",anchorScrolling:"enabled",onSameUrlNavigation:"ignore",initialNavigation:"enabledBlocking",urlUpdateStrategy:"eager"}}]})}return t})();var lS=(t,o)=>Fo.isShortUrl(o.toString())?{consumed:t}:null;var cS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[gt.forChild([{pathMatch:"full",matcher:lS,canActivate:[Fo,At],component:tt}])]})}return t})();var y0=[{path:"produkter",component:tt,canActivate:[At]},{path:"my-account",component:tt,canActivate:[Lr,At]},{path:"register/success",component:tt,canActivate:[Lr,At]},{path:"login/success",component:tt,canActivate:[Lr,At]},{path:"my-account/update-profile",component:tt,canActivate:[Lr,At]},{path:null,canActivate:[Lr,At],component:tt,data:{pageLabel:"order",cxRoute:"orderGuest"}}
7,{path:null,canActivate:[Lr,At],component:tt,data:{cxRoute:"orders"}},{matcher:(t,o)=>vd.isOfferPageUrl(o.toString())?{consumed:t}:null,component:tt,canActivate:[vd]}],dS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:$p,useClass:Wv},{provide:wp,useClass:Lr}],imports:[Na,Yv,Jv,rS,aS,cS,gt.forChild(y0),sS]})}return t})();var uS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[kf]:{module:()=>import("./chunk-OERILIFF.js").then(e=>e.TrnAsmModule)}}})],imports:[Mf]})}return t})();var pS={backend:{occ:{endpoints:{cart:"users/${userId}/carts/${cartId}?fields=DEFAULT,entries(totalPrice(DEFAULT),product(baseOptions(FULL),images(FULL),stock(FULL)),basePrice(DEFAULT),updateable),totalPrice(DEFAULT),totalItems,totalPriceWithTax(DEFAULT),subTotal(DEFAULT),totalTax(DEFAULT),totalBottleFee(FULL),user,saveTime,name,description,paymentInfo(FULL),paymentMode(FULL),deliveryDate,numberOfEntriesAvailable,loyaltyPoints,hasUnavailableEntries,flightDetails(FULL),pointOfService(FULL),quotas(FULL),userInfo(FULL),totalUnitCount,editableOrder(FULL),appliedVouchers(FULL),totalDiscounts(FULL),brandRestrictionSummaries(FULL)&ngsw-bypass=true",carts:"users/${userId}/carts?fields=carts(DEFAULT,entries(totalPrice(DEFAULT),product(baseOptions(FULL),images(FULL),stock(FULL)),basePrice(DEFAULT),updateable),totalPrice(DEFAULT),totalItems,totalPriceWithTax(DEFAULT),subTotal(DEFAULT),totalTax(DEFAULT),totalBottleFee(FULL),user,saveTime,name,description,paymentInfo(FULL),paymentMode(FULL),deliveryDate,numberOfEntriesAvailable,loyaltyPoints,hasUnavailableEntries,flightDetails(FULL),pointOfService(FULL),quotas(FULL),userInfo(FULL),totalUnitCount,editableOrder(FULL),brandRestrictionSummaries(FULL))",createCart:"users/${userId}/carts?fields=DEFAULT,entries(totalPrice(DEFAULT),product(images(FULL),stock(FULL)),basePrice(DEFAULT),updateable),totalPrice(DEFAULT),totalItems,totalPriceWithTax(DEFAULT),subTotal(DEFAULT),totalTax(DEFAULT),totalBottleFee(FULL),user,saveTime,name,description,paymentInfo(FULL),paymentMode(FULL),deliveryDate,numberOfEntriesAvailable,loyaltyPoints,hasUnavailableEntries,flightDetails(FULL),pointOfService(FULL),quotas(FULL),userInfo(FULL),totalUnitCount,editableOrder(FULL),brandRestrictionSummaries(FULL)"}}}};var Zr="ORDER_EDIT_FEATURE",kl="ORDER_HISTORY_FEATURE",Zn="ORDER_REPORT_FEATURE",Pl="ORDER_DETAILS_FEATURE";var mS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:Sr,useFactory:()=>lr({facade:Sr,feature:Ni,methods:["getActive","takeActive","getActiveCartId","takeActiveCartId","getEntries","getLastEntry","getLoading","isStable","addEntry","removeEntry","updateEntry","getEntry","addEmail","getAssignedUser","isGuestCart","addEntries","requireLoadedCart","reloadActiveCart","hasPickupItems","hasDeliveryItems","getPickupEntries","getDeliveryEntries","addEntryWithSource","addEntry$","updateEntry$","replaceEntry","deleteActiveCart"],properties:["busy$"],async:!0})},{provide:An,useFactory:()=>lr({facade:An,feature:Ni,methods:["createCartGuestUser","updateCartGuestUser","assignGuest","setGuestInfo"]})},b({featureModules:{[Ko]:{cmsComponents:[Ah,Ih,Rh,Oh,Fh,Nh],dependencies:[Zr]},[ys]:{cmsComponents:[Ph],dependencies:[Ko,Zr]},[Ni]:{}}})],imports:[cf]})}return t})();var fS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(pS),b({featureModules:{[Ni]:{module:()=>import("./chunk-WSWCOBYR.js").then(e=>e.TrnCartBaseCoreModule)}}}),b({featureModules:{[Ko]:{module:()=>import("./chunk-FAQRD76D.js").then(e=>e.TrnCartBaseComponentsModule)}}}),b({featureModules:{[ys]:{module:()=>import("./chunk-CGYNUI2N.js").then(e=>e.MiniCartModule)}}})],imports:[mS]})}return t})();var hS={backend:{occ:{endpoints:{orderHistory:"users/${userId}/orders?fields=FULL&ngsw-bypass=true"}}}};var gS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:_c,useFactory:()=>lr({facade:_c,feature:Ui,methods:["getOrderDetails","loadOrderDetails","clearOrderDetails","getOrderHistoryList","getOrderHistoryListLo
7aded","loadOrderList","clearOrderList","getConsignmentTracking","loadConsignmentTracking","clearConsignmentTracking","cancelOrder","getCancelOrderLoading","getCancelOrderSuccess","resetCancelOrderProcessState","getOrderDetailsLoading","loadStagedOrderList"],async:!0})},{provide:yc,useFactory:()=>lr({facade:yc,feature:Ui,methods:["reorder","moveOrderToCart"]})},b({featureModules:{[If]:{},[kl]:{cmsComponents:[Dh,Uh],dependencies:[Zr,Zn]},[Zr]:{},[Pl]:{cmsComponents:[jh,Bh,$h,Hh,Gh,zh],dependencies:[Ko,Zr,Zn]},[Ui]:{}}})],imports:[Rf]})}return t})();var _S=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(hS),b({featureModules:{[Ui]:{module:()=>import("./chunk-W3ESZ4RE.js").then(e=>e.TrnOrderCoreModule)},[Pl]:{module:()=>import("./chunk-ZXRG4O4K.js").then(e=>e.TrnOrderDetailsModule)},[kl]:{module:()=>import("./chunk-PY6PYDSP.js").then(e=>e.TrnOrderHistoryModule)},[Zr]:{module:()=>import("./chunk-RP4T7WIO.js").then(e=>e.TrnOrderEditModule)},[Zn]:{module:()=>import("./chunk-M7L65SGW.js").then(e=>e.TrnOrderReportModule)}}})],imports:[gS]})}return t})();var Td=(()=>{class t{constructor(e,r,i,n,l,u,m){if(this.cmsService=e,this.routingService=r,this.baseSiteService=i,this.zone=n,this.winRef=l,this.rendererFactory=u,this.config=m,this.isPreviewPage=!1,l.nativeWindow){let _=l.nativeWindow;_.smartedit=_.smartedit||{},_.smartedit.renderComponent=(P,M,L)=>this.renderComponent(P,M,L),_.smartedit.reprocessPage=this.reprocessPage}}processCmsPage(){this.baseSiteService.get().pipe(D(e=>!!e),ht(1)).subscribe(e=>{this.defaultPreviewCategoryCode=e.defaultPreviewCategoryCode,this.defaultPreviewProductCode=e.defaultPreviewProductCode,this.cmsService.getCurrentPage().pipe(D(Boolean)).subscribe(r=>{this._currentPageId=r.pageId,this.goToPreviewPage(r),this.addPageContract(r)})})}addPageContract(e){let r=this.rendererFactory.createRenderer("body",null),i=this.winRef.document.body,n=[];Array.from(i.classList).forEach(l=>
7n.push(l)),n.forEach(l=>r.removeClass(i,l)),this.addSmartEditContract(i,r,e.properties)}goToPreviewPage(e){this.isPreviewPage||(this.isPreviewPage=!0,e.type===ac.PRODUCT_PAGE&&this.defaultPreviewProductCode?this.routingService.go({cxRoute:"product",params:{code:this.defaultPreviewProductCode,name:""}}):e.type===ac.CATEGORY_PAGE&&this.defaultPreviewCategoryCode&&this.routingService.go({cxRoute:"category",params:{code:this.defaultPreviewCategoryCode}}))}renderComponent(e,r,i){return e&&this.zone.run(()=>{i?r&&this.cmsService.refreshComponent(e):(this.cmsService.clearComponentState(),this._currentPageId?this.cmsService.refreshPageById(this._currentPageId):this.cmsService.refreshLatestPage())}),!0}reprocessPage(){}addSmartEditContract(e,r,i){i&&Object.keys(i).forEach(n=>{let l="data-"+n+"-",u=i[n];Object.keys(u).forEach(m=>{let _=u[m];m==="classes"?_.split(" ").forEach(M=>{r.addClass(e,M)}):r.setAttribute(e,l+m.split(/(?=[A-Z])/).join("-").toLowerCase(),_)})})}static{this.\u0275fac=function(r){return new(r||t)(X(ot),X(Ti),X(vo),X(ho),X(de),X(Ma),X(Xm))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),v0=(()=>{class t extends dc{constructor(e){super(),this.smartEditService=e}decorate(e,r,i){i&&this.smartEditService.addSmartEditContract(e,r,i.properties)}static{this.\u0275fac=function(r){return new(r||t)(X(Td))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),S0=(()=>{class t extends uc{constructor(e){super(),this.smartEditService=e}decorate(e,r,i){i&&this.smartEditService.addSmartEditContract(e,r,i.properties)}static{this.\u0275fac=function(r){return new(r||t)(X(Td))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),C0=[{provide:dc,useExisting:v0,multi:!0},{provide:uc,useExisting:S0,multi:!0}],yS=(()=>{class t{constructor(e){this.smartEditService=e,this.smartEditService.processCmsPage()}static{this.\u0275fac=function(r){return new(r||t)(X(Td))}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({providers:[...C0]})}}return t})();var vS=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({imports:[yS]})}}return t})();var SS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[Zm]:{module:()=>Promise.resolve(vS)}}}),b(se.smartEditConfig)],imports:[Jm]})}return t})();var CS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[Vh]:{module:()=>import("./chunk-JAYA4DGZ.js").then(e=>e.PersonalizationModule)}}})],imports:[Kh]})}return t})();var bS=(()=>{class t{winRef=d(de);scriptService=d(_s);endpoint$=H("https://checkout.vipps.no/checkout-button/v1/vipps-checkout-button.js");script$=Mr(()=>this.winRef.isBrowser(),this.endpoint$.pipe(Mt(()=>{this.winRef.nativeWindow.vippsButtonInit=()=>{this.winRef.nativeWindow.vippsButton?.init?.()}}),N(e=>this.scriptService.runScript(e).pipe(Ge(()=>_t))),fe(1),D(Boolean)),Nt);init$(){return this.winRef.isBrowser()?this.script$.pipe(Mt(()=>this.winRef.nativeWindow.vippsButton?.reInit?.())):Nt}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var en=class{};var TS=(()=>{class t{logger=d(Ir);http=d(Ar);occEndpoints=d(rt);authConfigService=d(hp);getRedirectUrl(e,r){let i=cp.createHeader(lp,!0,new oc),n=this.occEndpoints.buildUrl("vippsLogin",{urlParams:{loginFlow:r,state:e}});return this.http.get(n,{responseType:"text",headers:i}).pipe(Ge(l=>{throw lc(l,this.logger)}))}exchangeVippsCode(e,r,i){let n=new Cn({fromObject:re({grant_type:"vipps",client_id:this.authConfigService.getClientId(),client_secret:this.authConfigService.getClientSecret(),code:e,loginFlow:r},i?{registrationStore:i}:{})});return this.http.post(this.authConfigService.getTokenEndpoint(),n,{headers:new oc({"Content-Type":"application/x-www-form-urlencoded"})}).pipe(Ge(l=>{throw lc(l,this.logger)}))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var ES=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:en,useClass:TS}],imports:[Na]})}return t})();var Al="VIPPS_CORE_FEATURE";var Il=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:()=>lr({facade:t,feature:Al,methods:["init$"]}),providedIn:"root"})}return t})();var wS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:Il,useClass:bS}],imports:[ES]})}return t})();var MS={backend:{occ:{endpoints:{vippsLogin:"vipps/login/${loginFlow}/auth?state=${state}"}}}};var Rl=(()=>{class t{adapter=d(en);getRedirectUrl(e,r){return this.adapter.getRedirectUrl(e,r)}exchangeVippsCode(e,r,i){return this.adapter.exchangeVippsCode(e,r,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jt=(function(t){return t.CUSTOMER_LOGIN="CUSTOMER_LOGIN",t.CUSTOMER_REGISTRATION="CUSTOMER_REGISTRATION",t.CHECKOUT_LOGIN="CHECKOUT_LOGIN",t.CHECKOUT_REGISTRATION="CHECKOUT_REGISTRATION",t})(jt||{});var Jn=(()=>{class t{vippsConnector=d(Rl);globalMessageService=d(nr);router=d(Te);store=d(Xu);authStorageService=d(fp);userIdService=d(bi);platformId=d(tr);canActivate(e){if(!go(this.platformId))return H(!0);let r=e.data.vippsGuardConfig,i=e.queryParams,n=r?.successUrl?r.successUrl:"/my-account",l=r?.errorUrl?r.errorUrl:"/login",u=r?.loginFlow?r.loginFlow:jt.CUSTOMER_LOGIN;
7if(i.error)return H(this.handleError(i,"vipps.loginError",l));let m=i.code,_=this.extractStoreCode(i.state);return m?this.vippsConnector.exchangeVippsCode(m,u,_).pipe(v(P=>{if(this.isTokenUnusable(P))return this.handleError(i,"vipps.tokenExchangeError",l);this.setTokenData(P),this.userIdService.setUserId(ap),this.store.dispatch(new gp.Login),this.globalMessageService.remove(Pt.MSG_TYPE_ERROR);let M=P.customer_registered===!1;return M&&r?.existingCustomerMessageKey&&this.globalMessageService.add({key:r.existingCustomerMessageKey},Pt.MSG_TYPE_CONFIRMATION),this.router.parseUrl(this.resolveSuccessUrl(r,n,M))}),Ge(()=>H(this.handleError(i,"vipps.tokenExchangeError",l)))):H(this.handleError(i,"vipps.loginError",l))}extractStoreCode(e){if(!e)return null;let r=/^S_(\d+)_/,i=e.match(r);return i?i[1]:null}handleError(e,r,i){return this.globalMessageService.add({key:r,params:{error:e.error}},Pt.MSG_TYPE_ERROR),this.router.parseUrl(i)}isTokenUnusable(e){return!e||!e.access_token}resolveSuccessUrl(e,r,i){return i&&e?.existingCustomerSuccessUrl||r}setTokenData(e){let r=Date.now();this.authStorageService.setToken({access_token:e.access_token,access_token_stored_at:""+r,token_type:e.token_type,refresh_token:e.refresh_token,expires_at:e.expires_in?""+(r+e.expires_in*1e3):void 0,granted_scopes:e.scope?e.scope.split(" "):void 0})}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ol="VippsLoginButton",ei="VippsRegistrationButton",Fl="VippsCheckoutLoginButton",ea="VippsCheckoutRegistrationButton";function b0(t,o){if(t&1){let e=Go();Ou(0,"vipps-mobilepay-button",1),xu("click",function(){po(e);let i=Fe(),n=lt(4);return mo(i.initiateVippsFlow(n))}),Fu()}if(t&2){Fe();let e=lt(0),r=lt(2);yr("language",r)("verb",e==="REGISTER"?"register":"login")("loading",!1)}}var ta=(()=>{class t{vippsFacade=d(Il);vippsConnector=d(Rl);winRef=d(de);languageService=d(et);activatedRoute=d(yo);componentData=d(To);buttonType$=this.componentData.data$.pipe(v(e=>[ea,ei].includes(e.flexType)?hc.REGISTER:hc.LOGIN));loginFlow$=this.componentData.data$.pipe(v(e=>{switch(e.flexType){case ei:return jt.CUSTOMER_REGISTRATION;case Fl:return jt.CHECKOUT_LOGIN;case ea:return jt.CHECKOUT_REGISTRATION;default:return jt.CUSTOMER_LOGIN}}));lang$=this.languageService.getActive();initiateVippsFlow(e){this.vippsConnector.getRedirectUrl(this.getState(e),e).pipe(ht(1)).subscribe({next:r=>{r&&this.winRef.nativeWindow&&(this.winRef.nativeWindow.location.href=r)}})}getState(e){let r=Math.random().toString(36).substring(2,15);if(jt.CUSTOMER_REGISTRATION===e){let i=this.activatedRoute.snapshot,n=i.queryParams.storeid;if(!n&&i.url.length==2&&i.url[0].path=="register"&&(n=i.url[1].path),n)return`S_${n}_${r}`}return r}sub=new Pe;ngAfterViewInit(){this.sub.add(this.vippsFacade.init$().subscribe())}ngOnDestroy(){this.sub.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-vipps-button"]],decls:7,vars:10,consts:[["type","button","brand","vipps","variant","primary","rounded","false","stretched","true","branded","true"],["type","button","brand","vipps","variant","primary","rounded","false","stretched","true","branded","true",3,"click"]],template:function(r,i){if(r&1&&(st(0),ee(1,"async"),st(2),ee(3,"async"),st(4),ee(5,"async"),Ae(6,b0,1,3,"vipps-mobilepay-button",0)),r&2){let n=kt(te(1,1,i.buttonType$));J(2),kt(te(3,4,i.lang$)),J(2),kt(te(5,7,i.loginFlow$)),J(2),Ie(n?6:-1)}},dependencies:[Qe],styles:["[_nghost-%COMP%]{display:block;width:100%}"],changeDetection:0})}return t})();var kS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[ir({cmsComponents:{[Ol]:{component:ta},[ei]:{component:ta},[Fl]:{component:ta},[ea]:{component:ta}}})]})}return t})();var PS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{[Al]:{cmsComponents:[Ol,ei]}}})],imports:[kS,gt.forChild([{path:"login/vipps",canActivate:[Jn],component:tt,data:{vippsGuardConfig:{successUrl:"/my-account",errorUrl:"/login",loginFlow:jt.CUSTOMER_LOGIN}}},{path:"register/vipps",canActivate:[Jn],component:tt,data:{vippsGuardConfig:{successUrl:"/register/success",existingCustomerSuccessUrl:"/login/success",errorUrl:"/register",loginFlow:jt.CUSTOMER_REGISTRATION}}},{path:"checkout/login/vipps",canActivate:[Jn],component:tt,data:{vippsGuardConfig:{successUrl:"/checkout",errorUrl:"/checkout/login",loginFlow:jt.CHECKOUT_LOGIN}}},{path:"checkout/register/vipps",canActivate:[Jn],component:tt,data:{vippsGuardConfig:{successUrl:"/checkout/register",existingCustomerMessageKey:"vipps.loginCompleted",errorUrl:"/checkout/register",loginFlow:jt.CHECKOUT_REGISTRATION}}}])]})}return t})();var AS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b(MS)],imports:[PS,wS]})}return t})();var IS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[Ua({showCouponComponent:se?.coupons?.showCouponComponent,showCouponInputField:se?.coupons?.showCouponInputField})],imports:[Ep.forRoot(),dS,Im,Am,Yp,Rp,xm,Nm,jp.forRoot(),Gv,fS,_S,CS,uS,SS,Iv,kv,jv,AS]})}return t})();var RS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:ls,useExisting:tv}],imports:[mc,IS,Ev,ev,mc]})}return t})();var OS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{article:{module:()=>import("./chunk-I4XV4LAD.js").then(e=>
7e.ArticleModule),cmsComponents:["TrnBannerComponent","TrnButtonComponent","TrnContentLinkComponent","TrnHelpPageContentLinkComponent","TrnArticleListComponent","TrnArticleNavigationComponent","TrnHelpPageNavigationComponent","TrnArticlePageDescriptionComponent","TrnArticlePublishDetailsComponent"]}}})]})}return t})();function T0(t,o){if(t&1&&(Le(0,"h2",2),ee(1,"safeHtml")),t&2){Fe(2);let e=lt(0);We("innerHTML",te(1,1,e.title),Mu)}}function E0(t,o){t&1&&(ne(0,"h2",3),bt(1),ee(2,"cxTranslate"),ge()),t&2&&(J(),Tt(te(2,1,"live_shopping.section_title")))}function w0(t,o){if(t&1&&Ae(0,T0,2,3,"h2",2)(1,E0,3,3,"h2",3),t&2){Fe();let e=lt(0),r=lt(2);Ie(r&&e.title?0:1)}}var FS=(()=>{class t{component=d(To);componentData$=this.component.data$;bambuser=Sn(js);hasVideos=xa(Wo(this.bambuser).pipe(D(Boolean),N(e=>e.videosExists$)),{initialValue:!1});static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-cms-bambuser-on-demand"]],viewQuery:function(r,i){r&1&&Pa(i.bambuser,js,5),r&2&&Aa()},decls:6,vars:10,consts:[[1,"container-secondary"],[3,"playerFit"],[1,"section-title",3,"innerHTML"],[1,"sr-only"]],template:function(r,i){if(r&1&&(st(0),ee(1,"async"),st(2),ne(3,"div",0),Ae(4,w0,2,1),Le(5,"trn-bambuser-on-demand",1),ge()),r&2){let n=kt(te(1,6,i.componentData$));J(2);let l=kt((n==null||n.metadata==null?null:n.metadata.version)==="version_1");J(),Ia("ab-version_1",l)("is-empty",!i.hasVideos()),J(),Ie(i.hasVideos()?4:-1),J(),We("playerFit",l?"exact-size":void 0)}},dependencies:[js,sr,Qe,pf,ar],styles:['.ab-version_1[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;padding-top:40px;padding-bottom:40px}.ab-version_1[_ngcontent-%COMP%] trn-bambuser-on-demand{--bam-player-width: 225px;--bam-player-height: 287px;--bam-playlist-gap: 24px;--bam-player-corner-radius: 12px;--bam-player-title-10-font-size: 28px;--bam-player-title-10-line-height: 32px;--bam-player-overlay-font-family: "Ubuntu", sans-serif;--bam-player-overlay-font-weight: 500}@media all and (max-width:991px){.ab-version_1[_ngcontent-%COMP%]{gap:16px;padding:0 16px}.ab-version_1[_ngcontent-%COMP%] trn-bambuser-on-demand{--bam-player-width: calc((100vw - 2 * 16px - 2 * 8px) / 2.2);--bam-player-height: calc(var(--bam-player-width) * 153 / 150);--bam-player-corner-radius: 8px;--bam-player-title-10-font-size: 16px;--bam-player-title-10-line-height: 20px;--bam-playlist-gap: 8px}}.section-title[_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){.section-title[_ngcontent-%COMP%]{font-size:40px;line-height:48px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.container-secondary.is-empty[_ngcontent-%COMP%]{padding:0;margin:0;background:none;gap:0}'],changeDetection:0})}return t})();var NS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[ir({cmsComponents:{TrnBambuserOnDemandComponent:{component:FS}}})]})}return t})();var xS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{brandList:{module:()=>import("./chunk-J3VM6AQF.js").then(e=>e.TrnBrandListModule),cmsComponents:["TrnBrandListComponent"]}}})]})}return t})();var LS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{brandPage:{module:()=>import("./chunk-JLUHHRXC.js").then(e=>e.BrandPageModule),cmsComponents:["TrnBrandPageDescriptionComponent","TrnBrandPageFooterDescriptionComponent","TrnTextBlockComponent"]}}})]})}return t})();var DS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{campaignBannerFeature:{module:()=>import("./chunk-7DWZLAKT.js").then(e=>e.TrnCampaignBannerModule),cmsComponents:["TrnCampaignBannerComponent"]}}})]})}return t})();var US=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{categoryFeature:{module:()=>import("./chunk-ST6NBU4Z.js").then(e=>e.CategoryModule),cmsComponents:["TrnCTAImageListComponent","TrnCategoryEntryCarou
7selComponent","TrnCategoryExtendedDescriptionComponent","TrnCategoryFAQSectionComponent"]}}})]})}return t})();var jS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{trnBreadcrumbFeature:{module:()=>import("./chunk-T76FDHLY.js").then(e=>e.TrnBreadcrumbModule),cmsComponents:["BreadcrumbComponent"]}}})]})}return t})();var BS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{cmsLinkFeature:{module:()=>import("./chunk-PHB7SZTQ.js").then(e=>e.CmsLinkModule),cmsComponents:["CMSLinkComponent"]}}})]})}return t})();var $S=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{iconCarouselFeature:{module:()=>import("./chunk-UTPBLPWE.js").then(e=>e.IconCarouselModule),cmsComponents:["TrnIconCarouselComponent"]}}})]})}return t})();var HS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{imageBannerFeature:{module:()=>import("./chunk-MOWJOV7G.js").then(e=>e.ImageBannerComponentModule),cmsComponents:["TrnImageBannerComponent"]}}})]})}return t})();var GS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{trnOrSeparatorFeature:{module:()=>import("./chunk-H3Q5OVNZ.js").then(e=>e.TrnOrSeparatorModule),cmsComponents:["TrnOrSeparatorComponent"]}}})]})}return t})();var zS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{pageDescriptionFeature:{module:()=>import("./chunk-CEUCEXSS.js").then(e=>e.PageDescriptionModule),cmsComponents:["TrnPageDescriptionComponent"]}}})]})}return t})();var WS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{pageDescriptionContentFeature:{module:()=>import("./chunk-EKSH4QTV.js").then(e=>e.PageDescriptionContentModule),cmsComponents:["TrnPageDescriptionContentComponent"]}}})]})}return t})();var VS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{productCarouselFeature:{module:()=>import("./chunk-6ZI3UHKU.js").then(e=>e.ProductCarouselModule),cmsComponents:["TrnProductCarouselComponent"]}}})]})}return t})();var KS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{sharePageFeature:{module:()=>import("./chunk-PPLS6FJA.js").then(e=>e.SharePageModule),cmsComponents:["TrnSharePageComponent"]}}})]})}return t})();var qS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[jS,BS,$S,HS,GS,zS,WS,VS,KS]})}return t})();var YS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{complaintForm:{module:()=>import("./chunk-C7OEHE4V.js").then(e=>e.ComplaintFormModule),cmsComponents:["TrnComplaintComponent"]}}})]})}return t})();var QS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{trnCMSComponentContainerFeature:{module:()=>import("./chunk-RECIRDQC.js").then(e=>e.TrnComponentContainerModule),cmsComponents:["TrnCMSComponentContainer"]}}})]})}return t})();var XS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{contactPerson:{module:()=>import("./chunk-WF6G65ZU.js").then(e=>e.TrnContactPersonModule),cmsComponents:["TrnContactPersonComponent"]}}})]})}return t})();var ZS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{couponQrCode:{module:()=>import("./chunk-OP6LO24A.js").then(e=>
7e.CouponQrCodeModule),cmsComponents:["CouponQRCodeComponent"]}}})]})}return t})();var JS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{customerSupportActions:{module:()=>import("./chunk-Q6TD6PNF.js").then(e=>e.CustomerSupportActionsModule),cmsComponents:["TrnCustomerSupportActionsComponent"]}}})]})}return t})();var eC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{footer:{module:()=>import("./chunk-FRWSBCO6.js").then(e=>e.FooterModule),cmsComponents:["TrnFooterLinksNavigationComponent","FooterNavigationComponent","TrnRegistrationBannerComponent","TrnSiteCertificationsComponent"],dependencies:[Eo,wo]}}})]})}return t})();var tC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{trnSearchBoxFeature:{module:()=>import("./chunk-YZ7H4Y6S.js").then(e=>e.TrnSearchBoxModule),cmsComponents:["SearchBoxComponent"]},wishListIconFeature:{module:()=>import("./chunk-KRJDOYRD.js").then(e=>e.WishListIconModule),cmsComponents:["AddToWishListComponent"]},siteLogoFeature:{module:()=>import("./chunk-ZZSULPFI.js").then(e=>e.SiteLogoModule),cmsComponents:["TrnSiteLogoComponent"]},trnNavigationFeature:{module:()=>import("./chunk-6XBL7OW2.js").then(e=>e.TrnNavigationModule),cmsComponents:["CategoryNavigationComponent"],dependencies:[Eo,wo]},trnHamburgerMenuFeature:{module:()=>import("./chunk-NOQGAMUB.js").then(e=>e.HamburgerModule),cmsComponents:["TrnHamburgerMenuComponent","HamburgerMenuComponent"]},headerBannerFeature:{module:()=>import("./chunk-OI45JEMO.js").then(e=>e.HeaderBannerModule),cmsComponents:["TrnHeaderBannerComponent"]}}})]})}return t})();var rC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{headerQuotaCarousel:{module:()=>import("./chunk-NAJBHUAE.js").then(e=>e.TrnHeaderQuotaCarouselModule),cmsComponents:["TrnHeaderQuotaCarouselComponent"]}}})]})}return t})();var oC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{helpPage:{module:()=>import("./chunk-DZDJGXDK.js").then(e=>e.HelpPageModule),cmsComponents:["TrnHelpPageCMSParagraphComponent","TrnHelpPageListComponent","TrnHelpPageBreadcrumbComponent"]}}})]})}return t})();var iC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{articleCarousel:{module:()=>import("./chunk-G7M62GXI.js").then(e=>e.ArticleCarouselModule),cmsComponents:["TrnArticleCarouselComponent"]}}})]})}return t})();var nC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{bannerProductCarouselFeature:{module:()=>import("./chunk-3WVVKCSV.js").then(e=>e.BannerProductCarouselModule),cmsComponents:["TrnBannerProductCarouselComponent"]}}})]})}return t})();var aC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{categoryListFeature:{module:()=>import("./chunk-WBHLVZBN.js").then(e=>e.CategoryModule),cmsComponents:["TrnCategoryListComponent"]}}})]})}return t})();var sC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{clickAndCollectFeature:{module:()=>import("./chunk-DPMTDJSO.js").then(e=>
7e.ClickAndCollectModule),cmsComponents:["TrnClickAndCollectComponent"]}}})]})}return t})();var lC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{clickAndCollectCardFeature:{module:()=>import("./chunk-NS5WKF7R.js").then(e=>e.ClickAndCollectCardModule),cmsComponents:["TrnClickAndCollectCardComponent"]}}})]})}return t})();var cC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{clickAndCollectCarouselFeature:{module:()=>import("./chunk-Y3PQ6ACD.js").then(e=>e.ClickAndCollectCarouselModule),cmsComponents:["TrnClickAndCollectCarouselComponent"]}}})]})}return t})();var dC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{homepageBrandsFeature:{module:()=>import("./chunk-PRRCM2QX.js").then(e=>e.HomepageBrandsModule),cmsComponents:["TrnBrandCarouselComponent"]}}})]})}return t})();var uC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{homepageCategoryFeature:{module:()=>import("./chunk-MS5XVZKF.js").then(e=>e.HomepageCategoryModule),cmsComponents:["TrnCategoryCarouselComponent"]}}})]})}return t})();var pC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{liveShoppingFeature:{module:()=>import("./chunk-HOVADU3Z.js").then(e=>e.LiveShoppingModule),cmsComponents:["TrnLiveShoppingCarouselComponent"]},liveShoppingUpcomingFeature:{module:()=>import("./chunk-WKL4QTNN.js").then(e=>e.LiveShoppingUpcomingModule),cmsComponents:["TrnLiveShoppingHeaderCarouselComponent"]},liveShoppingListFeature:{module:()=>import("./chunk-UFCYIJRO.js").then(e=>e.LiveShoppingListModule),cmsComponents:["TrnLiveShoppingListComponent"]}}})]})}return t})();var mC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{mediaBannerFeature:{module:()=>import("./chunk-H3SHRJNN.js").then(e=>e.MediaBannerModule),cmsComponents:["TrnMediaBannerListComponent"]}}})]})}return t})();var fC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{productQuotaFeature:{module:()=>import("./chunk-NMLZ6Y6J.js").then(e=>e.ProductQuotaModule),cmsComponents:["TrnQuotaCarouselComponent","TrnQuotaComponent"]}}})]})}return t})();var hC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{quotaFeature:{module:()=>import("./chunk-GVG4RFMC.js").then(e=>e.QuotaModule),cmsComponents:["TrnQuotaBannerComponent"]}}})]})}return t})();var gC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{trnRollingTextFeature:{module:()=>import("./chunk-ZKSZWJUD.js").then(e=>e.TrnRollingTextModule),cmsComponents:["TrnRollingTextComponent"]}}})]})}return t})();var _C=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{socialCarouselFeature:{module:()=>import("./chunk-6TTY6CVX.js").then(e=>e.SocialCarouselModule),cmsComponents:["TrnSocialMediaComponent"]}}})]})}return t})();var yC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[iC,nC,aC,sC,lC,cC,dC,uC,pC,mC,fC,hC,gC,_C]})}return t})();var vC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{iconBanner:{module:()=>import("./chunk-6XTLLIT5.js").then(e=>e.IconBannerModule),cmsComponents:["TrnIconBannerComponent"]}}})]})}return t})();var SC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{IconList:{module:()=>import("./chunk-E6ICNQ4U.js").then(e=>
7e.IconListModule),cmsComponents:["TrnIconListComponent"]}}})]})}return t})();var CC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{iconListBanner:{module:()=>import("./chunk-7WA736OV.js").then(e=>e.IconListBannerModule),cmsComponents:["TrnIconListBannerComponent"]}}})]})}return t})();var bC=ft(Et());function M0(t,o){if(t&1&&Le(0,"trn-media",2),t&2){Fe();let e=lt(1);We("container",e)}}function k0(t,o){t&1&&Le(0,"div",3)}function P0(t,o){if(t&1&&(ne(0,"h3",5),bt(1),ge()),t&2){Fe(2);let e=lt(0);J(),Tt(e.title)}}function A0(t,o){if(t&1&&(ne(0,"p",6),bt(1),ge()),t&2){Fe(2);let e=lt(0);J(),Tt(e.description)}}function I0(t,o){if(t&1){let e=Go();ne(0,"div",0),st(1),ee(2,"async"),ne(3,"div",1),Ae(4,M0,1,1,"trn-media",2)(5,k0,1,0,"div",3),ge(),ne(6,"div",4),Ae(7,P0,2,1,"h3",5),Ae(8,A0,2,1,"p",6),ne(9,"trn-button",7),ee(10,"cxTranslate"),zt("onClick",function(){po(e);let i=Fe();return mo(i.show())}),ge()()()}if(t&2){let e=Fe(),r=lt(0);J();let i=kt(te(2,7,e.image$));J(3),Ie(i?4:5),J(3),Ie(r.title?7:-1),J(),Ie(r.description?8:-1),J(),We("label",te(10,10,"common.schedule_a_call"))("size","small")("icon","calendar_today")("iconPlacement","icon-right")}}var TC=(()=>{class t{component=d(To);liveShoppingOneToOneService=d(yl);mediaService=d(Is);data$=this.component.data$;image$=this.data$.pipe(v(e=>this.mediaService.trnImageToImageGroup(e.image)),v(e=>(0,bC.isEmpty)(e)?null:e));show(){this.data$.pipe(me()).subscribe(e=>{this.liveShoppingOneToOneService.show({queue:e?.queueId})})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-live-shopping-one-to-one-category"]],decls:3,vars:4,consts:[[1,"card"],[1,"image-wrap"],[1,"image",3,"container"],[1,"fallback-image"],[1,"content"],[1,"title"],[1,"description"],[1,"add-to-calendar-btn",3,"onClick","label","size","icon","iconPlacement"]],template:function(r,i){if(r&1&&(st(0),ee(1,"async"),Ae(2,I0,11,12,"div",0)),r&2){let n=kt(te(1,1,i.data$));J(2),Ie(n?2:-1)}},dependencies:[ch,bo,sr,Qe,ar],styles:[".card[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;background-color:#f2f1f0;border-radius:12px}@media all and (min-width:576px){.card[_ngcontent-%COMP%]{flex-direction:row;gap:16px}}.card[_ngcontent-%COMP%] .image-wrap[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex:1 1 0}.card[_ngcontent-%COMP%] .image-wrap[_ngcontent-%COMP%]{padding:0 16px}@media all and (min-width:576px){.card[_ngcontent-%COMP%] .image-wrap[_ngcontent-%COMP%]{padding-right:0}}.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:16px}@media all and (min-width:576px){.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:16px 16px 16px 0}}.card[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{display:block;position:relative;top:-12px;width:100%}.card[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img, .card[_ngcontent-%COMP%] .fallback-image[_ngcontent-%COMP%]{width:100%;aspect-ratio:9/16;border-radius:12px;object-fit:cover;background-color:#fff;border:1px solid #f2f1f0}.card[_ngcontent-%COMP%] .fallback-image[_ngcontent-%COMP%]{position:relative;top:-12px;background-image:url(/assets/images/product/fallback_266x266.png);background-position:center;background-repeat:no-repeat;background-size:contain}.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.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){.title[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.title[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.description[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}"]})}return t})();var EC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[ir({cmsComponents:{TrnLiveShoppingCategoryComponent:{component:TC}}})]})}return t})();var wC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{offerPageDescription:{module:()=>import("./chunk-7IGNEEFM.js").then(e=>e.TrnOfferPageDescriptionModule),cmsComponents:["TrnOfferPageDescriptionComponent"]}}})]})}return t})();var MC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{offers:{module:()=>import("./chunk-LQLUXUGU.js").then(e=>e.OffersModule),cmsComponents:["TrnAllOffersProductListComponent"]}}})]})}return t})();var kC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{partnershipBannerFeature:{module:()=>import("./chunk-TNTY32DI.js").then(e=>
7e.PartnershipBannerModule),cmsComponents:["TrnPartnershipBannerComponent"]}}})]})}return t})();var PC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{productList:{module:()=>import("./chunk-MNBZXUOL.js").then(e=>e.ProductListModule),cmsComponents:["CMSProductListComponent"]}}})]})}return t})();var R0=()=>({flexType:"TrnProductSummary"}),AC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-product-summary-slot"]],decls:1,vars:2,consts:[[3,"cxComponentWrapper"]],template:function(r,i){r&1&&Nu(0,0),r&2&&We("cxComponentWrapper",Ra(1,R0))},dependencies:[dm,cm],encapsulation:2})}return t})();var IC=ft(Et());function O0(t,o){if(t&1&&(ne(0,"h2",1),bt(1),ge()),t&2){Fe(2);let e=lt(0);J(),Tt(e)}}function F0(t,o){if(t&1&&Le(0,"trn-product-card",5),t&2){let e=o.$implicit;We("product",e)("simple",!0)}}function N0(t,o){if(t&1&&(ne(0,"div",0),Ae(1,O0,2,1,"h2",1),ne(2,"div",2),Le(3,"div",3),ne(4,"trn-carousel",4),ui(5,F0,1,2,"trn-product-card",5,Ru),ge()()()),t&2){let e=Fe(),r=lt(0),i=lt(2);J(),Ie(r?1:-1),J(),We("id",e.containerId),J(2),yr("aria-label",r),J(),pi(i)}}var RC=(()=>{class t{MIN_PRODUCTS_TO_DISPLAY=4;cmsService=d(ot);emarsysService=d(Os);searchInsightService=d(lh);componentData$=this.cmsService.getComponentData("ProductDetailsSimilarProductsCarouselComponent");title$=this.componentData$.pipe(v(e=>e?.title));productCodes$=this.componentData$.pipe(v(e=>e.productCodes));componentEmarsysData$=this.componentData$.pipe(v(e=>({fetchDataFromEmarsys:JSON.parse(e?.fetchDataFromEmarsys)||!1,emarsysDataType:e?.emarsysDataType})));products$=this.emarsysService.productCode$.pipe(ie(),N(()=>this.emarsysService.getRecommendedProducts({componentEmarsysData:this.componentEmarsysData$,fallbackLogic:"CATEGORY",limit:8,productCodes:this.productCodes$,containerId:this.containerId})),fe({bufferSize:1,refCount:!0}));containerId=(0,IC.uniqueId)("go-together-");subs=new Pe;constructor(){this.subs.add(this.products$.subscribe(e=>this.searchInsightService.viewedObjectIDs({index:se.algoliaConfig.index.products.relevance,objectIDs:e.map(r=>r.algoliaObjectId)})))}ngOnDestroy(){this.subs.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-product-go-together"]],decls:5,vars:7,consts:[[1,"recommendation-block"],[1,"heading-3"],[3,"id"],["data-scarabitem",""],["fade","",1,"recommendation-carousel"],[3,"product","simple"]],template:function(r,i){if(r&1&&(st(0),ee(1,"async"),st(2),ee(3,"async"),Ae(4,N0,7,3,"div",0)),r&2){kt(te(1,1,i.title$)),J(2);let n=kt(te(3,4,i.products$));J(2),Ie((n==null?null:n.length)>=i.MIN_PRODUCTS_TO_DISPLAY?4:-1)}},dependencies:[Wh,dh,Qe],styles:["[_nghost-%COMP%]{display:contents}.recommendation-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;padding:0 0 32px}@media all and (min-width:992px){.recommendation-block[_ngcontent-%COMP%]{padding:0 0 48px;gap:32px}}.recommendation-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 2;--trn-carousel-fade-size: 0;--trn-carousel-fade-color: #f2f1f0}@media all and (min-width:768px){.recommendation-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 4}}@media all and (min-width:992px){.recommendation-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 5;--trn-carousel-gap: 16px;--trn-carousel-fade-size: 48px}}"],changeDetection:0})}return t})();function x0(t,o){t&1&&(ne(0,"div",0),Le(1,"trn-product-others-bought")(2,"trn-product-go-together"),ge())}var OC=(()=>{class t{currentProductService=d(Ai);allowUpselling$=this.currentProductService.getProduct().pipe(v(e=>e?.allowUpselling));static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-product-upselling"]],decls:3,vars:3,consts:[[1,"product-recommendations","container-primary"]],template:function(r,i){if(r&1&&(st(0),ee(1,"async"),Ae(2,x0,3,0,"div",0)),r&2){let n=te(1,1,i.allowUpselling$);J(2),Ie(n?2:-1)}},dependencies:[qh,RC,Qe],styles:["[_nghost-%COMP%]{width:100%}.product-recommendations[_ngcontent-%COMP%]{display:flex;flex-direction:column}.product-recommendations[_ngcontent-%COMP%]:not(:has(.recommendation-block)){display:none}"]})}return t})();var FC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[Wt({id:"UpSelling",position:En.REPLACE,component:OC}),Wt({id:"Summary",position:En.REPLACE,component:AC}),b({featureModules:{productPage:{module:()=>import("./chunk-RL45ZXQR.js").then(e=>
7e.ProductPageModule),cmsComponents:["TrnProductUpselling","TrnProductSummary","TrnProductReviewsComponent"]}}})]})}return t})();var NC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{quotaBanner:{module:()=>import("./chunk-DI4YMLO7.js").then(e=>e.TrnQuotaBannerModule),cmsComponents:["TrnQuotaNotificationComponent"]}}})]})}return t})();var xC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{redirecting:{module:()=>import("./chunk-2ELJMC6A.js").then(e=>e.RedirectingModule),cmsComponents:["TrnRedirectComponent"]}}})]})}return t})();var LC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{registerButton:{module:()=>import("./chunk-JRMGWCYZ.js").then(e=>e.TrnRegisterButtonModule),cmsComponents:["TrnRegisterButtonComponent"]}}})]})}return t})();var DC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{registrationBankCardFeature:{module:()=>import("./chunk-OTINYSZ6.js").then(e=>e.RegistrationBankCardModule),cmsComponents:["RegistrationBankCardFormComponent"]}}})]})}return t})();var UC=(()=>{class t extends Ds{resetToken$=this.routingService.getRouterState().pipe(v(e=>{let r=e.state.queryParams.token;return r&&r.replace(/ /g,"+")}));form=new em({password:new tm("",[Jp.required])});static \u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[{provide:Ds,useExisting:UC},b({featureModules:{resetPasswordForm:{module:()=>import("./chunk-JEIIQS2I.js").then(e=>e.ResetPasswordFormModule),cmsComponents:["TrnResetPasswordFormComponent"]}}})]})}return t})();var BC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{searchResult:{module:()=>import("./chunk-IP4B6X6L.js").then(e=>e.TrnSearchResultsListModule),cmsComponents:["SearchResultsListComponent"]}}})]})}return t})();function L0(t,o){if(t&1&&(ne(0,"h1",0),bt(1),ge()),t&2){Fe();let e=lt(0);J(),Tt(e)}}var Ed=(()=>{class t{cmsService=d(ot);currentPage$=this.cmsService.getCurrentPage();title$=this.currentPage$.pipe(v(e=>e?.title||""),ie());static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ue({type:t,selectors:[["trn-sr-only"]],decls:3,vars:4,consts:[["id","main-content","trnFocusOnNavigate","",1,"sr-only"]],template:function(r,i){if(r&1&&(st(0),ee(1,"async"),Ae(2,L0,2,1,"h1",0)),r&2){let n=kt(te(1,1,i.title$));J(2),Ie(n?2:-1)}},dependencies:[uh,Qe],encapsulation:2})}return t})();var $C=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({cmsStructure:{SrOnlyComponent:{component:Ed},slots:{SrOnlySlot:{componentIds:["SrOnlyComponent"]}}}}),Wt({id:"SrOnlySlot",position:En.REPLACE,component:Ed})]})}return t})();var HC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{storeLocations:{module:()=>import("./chunk-7DARBBBH.js").then(e=>e.StoreLocationsModule),cmsComponents:["TrnStoreLocationsComponent"]}}})]})}return t})();var GC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{successBanner:{module:()=>import("./chunk-V75KUTBI.js").then(e=>e.SuccessBannerModule),cmsComponents:["TrnSuccessBannerComponent"]}}})]})}return t})();var zC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{typography:{module:()=>import("./chunk-3DSWCHQE.js").then(e=>e.TypographyModule),cmsComponents:["TrnCardParagraphComponent","TrnContentProductCarouselComponent","TrnIconParagraphComponent","TrnImageParagraphComponent","TrnBrandImageBannerComponent","TrnPageTitleComponent","CMSParagraphComponent","TrnCMSParagraphComponent","TrnStepperCMSParagraphComponent","TrnSimpleDescriptionComponent","TrnCMSTabParagraphContainer","TrnCMSTabListComponent","TrnPageTitleWithSearchComponent","CMSTabParagraphComponent"]}}})]})}return t})();var WC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{UiExperienceFeature:{module:()=>import("./chunk-VKSOZEG2.js").then(e=>
7e.UiExperienceModule),cmsComponents:["TrnUIExperienceComponent"]}}})]})}return t})();var VC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{video:{module:()=>import("./chunk-H4KT45PE.js").then(e=>e.TrnVideoModule),cmsComponents:["TrnVideoComponent"]}}})]})}return t})();var ti=ft(Et());var KC=(()=>{class t{wishListService=d(uf);router=d(Te);handle(e,r,i){if(r==="WishlistPageTemplate"&&!i)return ve([e,ve([this.wishListService.getLists(),this.wishListService.selectedWishListId$]).pipe(v(([n,l])=>l?n.find(u=>u.id===l):(0,ti.head)(n)),v(n=>!!n?.entries?.length),Ge(()=>H(!1)))]).pipe(v(([n,l])=>l?(0,ti.difference)(n,["EmptyWishlistContent"]):n),Ge(()=>e));if(r==="SharedWishlistPageTemplate"&&!i){let n=(0,ti.head)(this.router.url?.split("/")?.reverse());if(new RegExp("^[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$").test(n))return ve([e,this.wishListService.get(n).pipe(v(u=>!!u?.entries?.length))]).pipe(v(([u,m])=>m?(0,ti.difference)(u,["EmptyWishlistContent"]):(0,ti.difference)(u,["WishlistContent"])),Ge(()=>e))}return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({providers:[b({featureModules:{wishList:{module:()=>import("./chunk-7PRUUULK.js").then(e=>e.TrnWishListModule),cmsComponents:["TrnWishlistEntriesComponent","TrnWishlistTabsComponent","TrnSharedWishlistEntriesComponent","TrnWishlistNameComponent"]}}}),{provide:mm,useExisting:KC,multi:!0}]})}return t})();var YC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[qS,QS,tC,eC,zC,NC,yC,GC,OS,NS,xS,LS,DS,US,PC,FC,xC,LC,DC,jC,BC,$C,WC,VC,qC,YS,XS,ZS,JS,rC,oC,vC,SC,CC,EC,wC,MC,kC,HC]})}return t})();var oa="PERFORM_ACTION",D0="REFRESH",tb="RESET",rb="ROLLBACK",ob="COMMIT",ib="SWEEP",nb="TOGGLE_ACTION",U0="SET_ACTIONS_ACTIVE",ab="JUMP_TO_STATE",sb="JUMP_TO_ACTION",Dd="IMPORT_STATE",lb="LOCK_CHANGES",cb="PAUSE_RECORDING",tn=class{constructor(o,e){if(this.action=o,this.timestamp=e,this.type=oa,typeof o.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},wd=class{constructor(){this.type=D0}},Md=class{constructor(o){this.timestamp=o,this.type=tb}},kd=class{constructor(o){this.timestamp=o,this.type=rb}},Pd=class{constructor(o){this.timestamp=o,this.type=ob}},Ad=class{constructor(){this.type=ib}},Id=class{constructor(o){this.id=o,this.type=nb}};var Rd=class{constructor(o){this.index=o,this.type=ab}},Od=class{constructor(o){this.actionId=o,this.type=sb}},Fd=class{constructor(o){this.nextLiftedState=o,this.type=Dd}},Nd=class{constructor(o){this.status=o,this.type=lb}},xd=class{constructor(o){this.status=o,this.type=cb}};var Dl=new xe("@ngrx/store-devtools Options"),QC=new xe("@ngrx/store-devtools Initial Config");function db(){return null}var j0="NgRx Store DevTools";function B0(t){let o={maxAge:!1,monitor:db,actionSanitizer:void 0,stateSanitizer:void 0,name:j0,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},e=typeof t=="function"?t():t,r=e.logOnly?{pause:!0,export:!0,test:!0}:!1,i=e.features||r||o.features;i.import===!0&&(i.import="custom");let n=Object.assign({},o,{features:i},e);if(n.maxAge&&n.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${n.maxAge}`);return n}function XC(t,o){return t.filter(e=>o.indexOf(e)<0)}function ub(t){let{computedStates:o,currentStateIndex:e}=t;if(e>=o.length){let{state:i}=o[o.length-1];return i}let{state:r}=o[e];return r}function ra(t){return new tn(t,+Date.now())}function $0(t,o){return Object.keys(o).reduce((e,r)=>{let i=Number(r);return e[i]=pb(t,o[i],i),e},{})}function pb(t,o,e){return He(re({},o),{action:t(o.action,e)})}function H0(t,o){return o.map((e,r)=>({state:mb(t,e.state,r),error:e.error}))}function mb(t,o,e){return t(o,e)}function fb(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function G0(t,o,e,r){let i=[],n={},l=[];return t.stagedActionIds.forEach((u,m)=>{let _=t.actionsById[u];_&&(m&&Ud(t.computedStates[m],_,o,e,r)||(n[u]=_,i.push(u),l.push(t.computedStates[m])))}),He(re({},t),{stagedActionIds:i,actionsById:n,computedStates:l})}function Ud(t,o,e,r,i){let n=e&&!e(t,o.action),l=r&&!o.action.type.match(r.map(m=>ZC(m)).join("|")),u=i&&o.action.type.match(i.map(m=>ZC(m)).join("|"));return n||l||u}function ZC(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function hb(t){return{ngZone:t?d(ho):null,connectInZone:t}}var Ul=(()=>{class t extends La{static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=x(t)))(i||t)}})()}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t}
7)(),Nl={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},Ld=new xe("@ngrx/store-devtools Redux Devtools Extension"),gb=(()=>{class t{constructor(e,r,i){this.config=r,this.dispatcher=i,this.zoneConfig=hb(this.config.connectInZone),this.devtoolsExtension=e,this.createActionStreams()}notify(e,r){if(this.devtoolsExtension)if(e.type===oa){if(r.isLocked||r.isPaused)return;let i=ub(r);if(fb(this.config)&&Ud(i,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let n=this.config.stateSanitizer?mb(this.config.stateSanitizer,i,r.currentStateIndex):i,l=this.config.actionSanitizer?pb(this.config.actionSanitizer,e,r.nextActionId):e;this.sendToReduxDevtools(()=>this.extensionConnection.send(l,n))}else{let i=He(re({},r),{stagedActionIds:r.stagedActionIds,actionsById:this.config.actionSanitizer?$0(this.config.actionSanitizer,r.actionsById):r.actionsById,computedStates:this.config.stateSanitizer?H0(this.config.stateSanitizer,r.computedStates):r.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,i,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new fn(e=>{let r=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=r,r.init(),r.subscribe(i=>e.next(i)),r.unsubscribe}):_t}createActionStreams(){let e=this.createChangesObservable().pipe(Ta()),r=e.pipe(D(_=>_.type===Nl.START)),i=e.pipe(D(_=>_.type===Nl.STOP)),n=e.pipe(D(_=>_.type===Nl.DISPATCH),v(_=>this.unwrapAction(_.payload)),vu(_=>_.type===Dd?this.dispatcher.pipe(D(P=>P.type===nc),ya(1e3),Ca(1e3),v(()=>_),Ge(()=>H(_)),ht(1)):H(_))),u=e.pipe(D(_=>_.type===Nl.ACTION),v(_=>this.unwrapAction(_.payload))).pipe(wa(i)),m=n.pipe(wa(i));this.start$=r.pipe(wa(i)),this.actions$=this.start$.pipe(N(()=>u)),this.liftedActions$=this.start$.pipe(N(()=>m))}unwrapAction(e){return typeof e=="string"?(0,eval)(`(${e})`):e}getExtensionConfig(e){let r={name:e.name,features:e.features,serialize:e.serialize,autoPause:e.autoPause??!1,trace:e.trace??!1,traceLimit:e.traceLimit??75};return e.maxAge!==!1&&(r.maxAge=e.maxAge),r}sendToReduxDevtools(e){try{e()}catch(r){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",r)}}static{this.\u0275fac=function(r){return new(r||t)(X(Ld),X(Dl),X(Ul))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})(),Ll={type:ic},z0="@ngrx/store-devtools/recompute",W0={type:z0};function _b(t,o,e,r,i){if(r)return{state:e,error:"Interrupted by an error up the chain"};let n=e,l;try{n=t(e,o)}catch(u){l=u.toString(),i.handleError(u)}return{state:n,error:l}}function xl(t,o,e,r,i,n,l,u,m){if(o>=t.length&&t.length===n.length)return t;let _=t.slice(0,o),P=n.length-(m?1:0);for(let M=o;M<P;M++){let L=n[M],U=i[L].action,A=_[M-1],F=A?A.state:r,le=A?A.error:void 0,oe=l.indexOf(L)>-1?A:_b(e,U,F,le,u);_.push(oe)}return m&&_.push(t[t.length-1]),_}function V0(t,o){return{monitorState:o(void 0,{}),nextActionId:1,actionsById:{0:ra(Ll)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function K0(t,o,e,r,i={}){return n=>(l,u)=>{let{monitorState:m,actionsById:_,nextActionId:P,stagedActionIds:M,skippedActionIds:L,committedState:U,currentStateIndex:A,computedStates:F,isLocked:le,isPaused:Z}=l||o;l||(_=Object.create(_));function oe(Q){let z=Q,De=M.slice(1,z+1);for(let Re=0;Re<De.length;Re++)if(F[Re+1].error){z=Re,De=M.slice(1,z+1);break}else delete _[De[Re]];L=L.filter(Re=>De.indexOf(Re)===-1),M=[0,...M.slice(z+1)],U=F[z].state,F=F.slice(z),A=A>z?A-z:0}function he(){_={0:ra(Ll)},P=1,M=[0],L=[],U=F[A].state,A=0,F=[]}let G=0;switch(u.type){case lb:{le=u.status,G=1/0;break}case cb:{Z=u.status,Z?(M=[...M,P],_[P]=new tn({type:"@ngrx/devtools/pause"},+Date.now()),P++,G=M.length-1,F=F.concat(F[F.length-1]),A===M.length-2&&A++,G=1/0):he();break}case tb:{_={0:ra(Ll)},P=1,M=[0],L=[],U=t,A=0,F=[];break}case ob:{he();break}case rb:{_={0:ra(Ll)},P=1,M=[0],L=[],A=0,F=[];break}case nb:{let{id:Q}=u;L.indexOf(Q)===-1?L=[Q,...L]:L=L.filter(De=>De!==Q),G=M.indexOf(Q);break}case U0:{let{start:Q,end:z,active:De}=u,Re=[];for(let vt=Q;vt<z;vt++)Re.push(vt);De?L=XC(L,Re):L=[...L,...Re],G=M.indexOf(Q);break}case ab:{A=u.index,G=1/0;break}case sb:{let Q=M.indexOf(u.actionId);Q!==-1&&(A=Q),G=1/0;break}case ib:{M=XC(M,L),L=[],A=Math.min(A,M.length-1);break}case oa:{if(le)return l||o;if(Z||l&&Ud(l.computedStates[A],u,i.predicate,i.actionsSafelist,i.actionsBlocklist)){let z=F[F.length-1];F=[...F.slice(0,-1),_b(n,u.action,z.state,z.error,e)],G=1/0;break}i.maxAge&&M.length===i.maxAge&&oe(1),A===M.length-1&&A++;let Q=P++;_[Q]=u,M=[...M,Q],G=M.length-1;break}case Dd:{({monitorState:m,actionsById:_,nextActionId:P,stagedActionIds:M,skippedActionIds:L,committedState:U,currentStateIndex:A,computedStates:F,isLocked:le,isPau
7sed:Z}=u.nextLiftedState);break}case ic:{G=0,i.maxAge&&M.length>i.maxAge&&(F=xl(F,G,n,U,_,M,L,e,Z),oe(M.length-i.maxAge),G=1/0);break}case nc:{if(F.filter(z=>z.error).length>0)G=0,i.maxAge&&M.length>i.maxAge&&(F=xl(F,G,n,U,_,M,L,e,Z),oe(M.length-i.maxAge),G=1/0);else{if(!Z&&!le){A===M.length-1&&A++;let z=P++;_[z]=new tn(u,+Date.now()),M=[...M,z],G=M.length-1,F=xl(F,G,n,U,_,M,L,e,Z)}F=F.map(z=>He(re({},z),{state:n(z.state,W0)})),A=M.length-1,i.maxAge&&M.length>i.maxAge&&oe(M.length-i.maxAge),G=1/0}break}default:{G=1/0;break}}return F=xl(F,G,n,U,_,M,L,e,Z),m=r(m,u),{monitorState:m,actionsById:_,nextActionId:P,stagedActionIds:M,skippedActionIds:L,committedState:U,currentStateIndex:A,computedStates:F,isLocked:le,isPaused:Z}}}var JC=(()=>{class t{constructor(e,r,i,n,l,u,m,_){let P=V0(m,_.monitor),M=K0(m,P,u,_.monitor,_),L=kr(kr(r.asObservable().pipe(Ea(1)),n.actions$).pipe(v(ra)),e,n.liftedActions$).pipe(hu(mu)),U=i.pipe(v(M)),A=hb(_.connectInZone),F=new uu(1);this.liftedStateSubscription=L.pipe(Lt(U),eb(A),ba(({state:oe},[he,G])=>{let Q=G(oe,he);return he.type!==oa&&fb(_)&&(Q=G0(Q,_.predicate,_.actionsSafelist,_.actionsBlocklist)),n.notify(he,Q),{state:Q,action:he}},{state:P,action:null})).subscribe(({state:oe,action:he})=>{if(F.next(oe),he.type===oa){let G=he.action;l.next(G)}}),this.extensionStartSubscription=n.start$.pipe(eb(A)).subscribe(()=>{this.refresh()});let le=F.asObservable(),Z=le.pipe(v(ub));Object.defineProperty(Z,"state",{value:xa(Z,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=e,this.liftedState=le,this.state=Z}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new tn(e,+Date.now()))}refresh(){this.dispatch(new wd)}reset(){this.dispatch(new Md(+Date.now()))}rollback(){this.dispatch(new kd(+Date.now()))}commit(){this.dispatch(new Pd(+Date.now()))}sweep(){this.dispatch(new Ad)}toggleAction(e){this.dispatch(new Id(e))}jumpToAction(e){this.dispatch(new Od(e))}jumpToState(e){this.dispatch(new Rd(e))}importState(e){this.dispatch(new Fd(e))}lockChanges(e){this.dispatch(new Nd(e))}pauseRecording(e){this.dispatch(new xd(e))}static{this.\u0275fac=function(r){return new(r||t)(X(Ul),X(La),X(Ku),X(gb),X(Yu),X(Tu),X(Vu),X(Dl))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();function eb({ngZone:t,connectInZone:o}){return e=>o?new fn(r=>e.subscribe({next:i=>t.run(()=>r.next(i)),error:i=>t.run(()=>r.error(i)),complete:()=>t.run(()=>r.complete())})):e}var q0=new xe("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function Y0(t,o){return!!t||o.monitor!==db}function Q0(){let t="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[t]<"u"?window[t]:null}function X0(t){return t.state}function Z0(t={}){return bu([gb,Ul,JC,{provide:QC,useValue:t},{provide:q0,deps:[Ld,Dl],useFactory:Y0},{provide:Ld,useFactory:Q0},{provide:Dl,deps:[QC],useFactory:B0},{provide:Qu,deps:[JC],useFactory:X0},{provide:qu,useExisting:Ul}])}var yb=(()=>{class t{static instrument(e={}){return{ngModule:t,providers:[Z0(e)]}}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=h({type:t})}static{this.\u0275inj=f({})}}return t})();var rn=ft(Et());var vb=(()=>{class t{actions$=d(gi);articlesService=d(xi);addArticlesToStore$=or(()=>this.actions$.pipe(_i(gc,Sf),v(e=>e.type===gc.type?[e.id]:e.ids),xt([]),ba((e,r)=>(0,rn.uniq)(e.concat(r))),ie((e,r)=>(0,rn.isEqual)(r,e)),li(),v(([e,r])=>(0,rn.difference)(r,e)),Gr(e=>e.length===0?_t:this.articlesService.fetchArticles(e).pipe(v(r=>ws({articles:r})),Ge(()=>_t)))));static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var J0=[],Sb=hi(J0,vr(Cf,(t,{article:o})=>t.filter(e=>e.uid!==o.uid).concat([o])),vr(ws,(t,{articles:o})=>t.filter(e=>!o.some(r=>e.uid===r.uid)).concat(o)));var Cb=(()=>{class t{events=d(So);globalMessageService=d(nr);activeCartFacade=d(Sr);cartModificationStore=d(xh);addEntrySuccessMessages$=or(()=>kr(this.events.get(Oi),this.events.get(Fi)).pipe(v(e=>({event:e,statusCode:this.resolveStatusCode(e)})),Gr(({event:e,statusCode:r})=>{if(!(r===qo.MAX_ORDER_QUANTITY_EXCEEDED||r===qo.MAX_BRAND_QUANTITY_PER_TRANSACTION_EXCEEDED))return H({event:e,statusCode:r,cart:null});let n=e.entry?.product?.brand?.code;return this.activeCartFacade.getActive().pipe(D(l=>!n||!!l?.brandRestrictionSummaries?.find(u=>u.brandCode===n)),me(),v(l=>({event:e,statusCode:r,cart:l})))}),Mt(({event:e,statusCode:r,cart:i})=>{if(r===qo.NO_STOCK){this.globalMessageService.add({key:"product_card.out_in_stock_error_message"},Pt.MSG_TYPE_ERROR);return}if(r===qo.MAX_ORDER_QUANTITY_EXCEEDED){this.showBrandPerProductLimitError(e,i);return}if(r===qo.MAX_BRAND_QUANTITY_PER_TRANSACTION_EXCEEDED){this.showBrandPerTransactionLimitError(e,i);return}if(r&&r!==qo.SUCCESS){this.globalMessageService.add({key:"product_card.update_rejected_message"},Pt.MSG_TYPE_WARNING);return}this.globalMessageService.add({key:e instanceof Fi?"product_card.updated_product_message":"product_card.added_product_message",params:{product_name:e.entry?.product?.name}},Pt.MSG_TYPE_CONFIRMATION)})),{dispatch:!1});brandTransactionLimitMessages$=or(()=>this.activeCartFacade.getActive().pipe(v(e=>(e?.brandRestrictionSummaries??[]).filter(r=>r.currentTotalInCart>=r.maxPerTransaction)),ie((e,r)=>{let i=new Set(e.map(l=>l.brandCode)),n=new Set(r.map(l=>l.brandCode));return i.size===n.size&&[...n].every(l=>i.has(l))}),li(),Mt(([e,r])=>{let i=new Set(e.map(n=>n.brandCode));r.filter(n=>
7!i.has(n.brandCode)).forEach(n=>{this.showBrandTransactionLimitMessage(n)})})),{dispatch:!1});resolveStatusCode(e){if(e instanceof Fi){let r=String(e.entry?.entryNumber??"");return this.cartModificationStore.consumeForEntry(r)?.statusCode}return e.statusCode}showBrandPerProductLimitError(e,r){let i=e.entry?.product?.brand?.code,n=this.findBrandRestrictionSummary(r?.brandRestrictionSummaries,i);n?this.globalMessageService.add({key:"product_card.brand_per_product_limit_error",params:{max:String(n.maxPerProduct),brand:n.brandName}},Pt.MSG_TYPE_INFO,5e3):this.globalMessageService.add({key:"product_card.update_rejected_message"},Pt.MSG_TYPE_WARNING)}showBrandPerTransactionLimitError(e,r){let i=e.entry?.product?.brand?.code,n=this.findBrandRestrictionSummary(r?.brandRestrictionSummaries,i);n&&this.showBrandTransactionLimitMessage(n)}showBrandTransactionLimitMessage(e){this.globalMessageService.add({key:"product_card.brand_per_transaction_limit_error",params:{max:String(e.maxPerTransaction),brand:e.brandName}},Pt.MSG_TYPE_INFO,5e3)}addEntryFailMessages$=or(()=>kr(this.events.get(sf),this.events.get(lf)).pipe(Mt(()=>{this.globalMessageService.add({key:"common.technical_error"},Pt.MSG_TYPE_ERROR)})),{dispatch:!1});findBrandRestrictionSummary(e,r){if(!(!e||!r))return e.find(i=>i.brandCode===r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var bb=(()=>{class t{events=d(So);defaultRemoveTimeout=1e4;addUndoOrderEntry$=or(()=>this.events.get(Pn).pipe(v(({entry:e})=>Us({entry:He(re({},e),{deleted:!0})}))));removeUndoOrderEntry$=or(()=>this.events.get(Oi).pipe(v(({entry:e})=>Ln({entry:e}))));removeUndoOrderEntryAfterTimeout$=or(()=>this.events.get(Pn).pipe(Cu(this.defaultRemoveTimeout),v(({entry:e})=>Ln({entry:e}))));static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Tb=[],Eb=hi(Tb,vr(Us,(t,{entry:o})=>t.concat(o)),vr(Ln,(t,{entry:o})=>t.filter(e=>e.product?.code!==o.product?.code)),vr(Lh,()=>Tb));var wb=(()=>{class t{shopFacade=d(fs);actions$=d(gi);addWarehousesToStore$=or(()=>this.actions$.pipe(_i(Ym),N(()=>this.shopFacade.cities$.pipe(v(e=>{let r=[];return e?.forEach(i=>{i.terminals?.forEach(n=>{n.directions?.forEach(l=>{r.push(l?.storeCode)})})}),r}))),v(e=>hs({warehouses:e}))));static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var ek={active:null,list:[]},Mb=hi(ek,vr(Qm,(t,{warehouse:o})=>He(re({},t),{list:[...t.list,o]})),vr(hs,(t,{warehouses:o})=>He(re({},t),{list:[...t.list,...o]})),vr(qm,(t,{warehouseId:o})=>He(re({},t),{active:o})));var kb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t});static \u0275inj=f({imports:[Zu.forRoot({articles:Sb,recentlyDeletedOrders:Eb,warehouse:Mb}),Ju.forRoot([vb,bb,Cb,wb]),se.production?[]:yb.instrument({maxAge:25})]})}return t})();var Pb=(()=>{class t{convert(e,r){return re(re(re({},r),e),ns(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Ab=(()=>{class t{convert(e,r){let i=re(re({},r),e);return i.components&&(i.components=i.components.map(n=>re(re({},n),ns(n)))),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Ib=(()=>{class t{convert(e,r){return r=e,r}static \u0275fac=function(r){return new(r||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();Du(Xh,"no",Qh);var Rb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=h({type:t,bootstrap:[Ty]});static \u0275inj=f({providers:[Gu(Wu(),zu()),Yg(),{provide:ds,useClass:ty},{provide:Tp,useClass:oy},{provide:As,useClass:ry},{provide:za,useClass:Zy},{provide:et,useClass:my},{provide:Of,useClass:Ib,multi:!0},{provide:Mp,useExisting:Yh},{provide:Ya,useExisting:m_},{provide:kp,useClass:Pb,multi:!0},{provide:qa,useClass:Ab,multi:!0},{provide:yp,useValue:{[up]:et,[pp]:Ga,[bn]:vo,[fl]:Ii}},{provide:Pi,useExisting:Is},{provide:ja,useExisting:gy},{provide:$a,useExisting:ay},{provide:bs,useExisting:fy},{provide:Wa,useExisting:cy},{provide:Ba,useExisting:iy},Di,{provide:cs,useClass:sy},{provide:nr,useClass:uy},_f,rr(()=>d(dy).init()),rr(()=>{d(ef).script$.subscribe()}),rr(()=>d(_y).handle()),{provide:Xn,useExisting:vy},{provide:Mi,useExisting:ly},rr(()=>d(Sy).init()),rr(()=>d(hy).init()),{provide:ot,useClass:Ms},{provide:Ja,useClass:__},{provide:Za,useClass:y_},{provide:zo,useExisting:g_,multi:!0},{provide:zo,useExisting:h_,multi:!0},{provide:Iu,multi:!0,useFactory:()=>{let e=d(ey);return()=>e.init()}},Eu(),Lu({eventCoalescing:!0})],imports:[$m,$u,kb,RS,Qy,YC,zm.forRoot(),ml,pl,G_,u_,J_,al,d_,cl]})}return t})();Bu().bootstrapModule(Rb).catch(t=>console.error(t));
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.