1import{a as Te}from"./chunk-7MWEPMNW.js";import{a as _e}from"./chunk-KQMISKYF.js";import{a as ae,f as re,g as le}from"./chunk-EESDXGXC.js";import{a as Tt}from"./chunk-GC5LCTE4.js";import{s as oe}from"./chunk-D4SIU22F.js";import{a as ie}from"./chunk-PHDVWMQ2.js";import{a as ee,b as ne,c as Ct,d as ce,e as me,f as ge,g as ue}from"./chunk-BJCE3NW2.js";import{a as at}from"./chunk-JYW47NJB.js";import{b as se,c as pe,d as de}from"./chunk-ZXTNCAT7.js";import{a as te}from"./chunk-XHUBUTTF.js";import"./chunk-7DXCBT3O.js";import{r as Q}from"./chunk-4X2ZFLPG.js";import"./chunk-IQSV7GWL.js";import"./chunk-JPEZUZTN.js";import"./chunk-MNYW33DM.js";import"./chunk-PE6LQAHG.js";import{r as jt,s as Xt,u as Wt,v as Zt}from"./chunk-KJULMNDR.js";import{a as F}from"./chunk-ZWT3THZM.js";import{a as Et}from"./chunk-M4V5K35M.js";import{F as Ce,e as V,h as Ht,i as G,l as Kt,n as qt,p as Yt,q as Qt,r as gt,x as ut,y as Jt}from"./chunk-S2C3UPUK.js";import"./chunk-36WNFWNB.js";import"./chunk-ZLT5HC32.js";import{s as R,w as it,x as K}from"./chunk-EWQC2LGF.js";import{r as mt}from"./chunk-KSSU2Y6F.js";import{a as ot}from"./chunk-I4OSGISS.js";import{C as Z,p as Ut,r as Bt,s as zt}from"./chunk-JOXB7VFZ.js";import{Ab as Rt,Bb as x,C as I,Cb as q,Da as C,Db as Y,F as tt,Fb as E,Hb as c,Ia as et,Ib as Dt,Jb as Vt,Lb as Gt,Mb as Ft,Nb as $t,Rb as pt,Tb as k,Vb as u,Wb as O,Xb as H,Yb as dt,ab as St,bb as d,db as _,ea as Lt,ec as nt,f as At,gb as B,gc as J,hb as z,ib as p,ic as j,ja as l,jb as o,jc as W,k as g,kb as a,kc as Nt,lb as m,lc as _t,mb as S,nb as N,ob as P,q as f,r as v,rb as wt,rc as L,s as h,t as yt,ub as M,v as It,vc as A,zb as kt}from"./chunk-5O6FDRY4.js";import{V as bt,w as st}from"./chunk-RPXV2CFT.js";import"./chunk-CIY7H4US.js";var ft=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-arrow-left-tasting-event-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","30","height","31","viewBox","0 0 30 31","fill","none"],["d","M18.75 23L11.25 15.5L18.75 8","stroke","#667085","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{min-height:30px;min-width:30px;display:inline-block;line-height:0} 2/*# sourceMappingURL=arrow-left-tasting-event-icon.component-ZPNCGIXO.css.map */`],changeDetection:0})}}return e})();var vt=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-not-found"]],decls:5,vars:0,consts:[[1,"event-not-found-box","container"],[1,"event-not-found-text"]],template:function(n,i){n&1&&(o(0,"div",0),m(1,"app-sad-wineglass-icon"),o(2,"div",1)(3,"h3"),u(4,"Kunne ikke finde det event du leder efter"),a()()())},dependencies:[ot],styles:[`.event-not-found-box[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:20px;padding:20px;background-color:var(--Hvid, #FFFFFF)}.event-not-found-box[_ngcontent-%COMP%] .event-not-found-text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:25px;color:var(--Brdtekst, #212529)} 3/*# sourceMappingURL=tasting-event-not-found.component-TCFQ6TTI.css.map */`],changeDetection:0})}}return e})();var Be=["*"];function ze(e,r){e&1&&wt(0)}function He(e,r){e&1&&et(0,ze,1,0,"ng-container",16),e&2&&p("ngTemplateOutlet",r)}function je(e,r){if(e&1&&(o(0,"div",8),u(1),a()),e&2){let t=c(2);l(),H(" ",t.pageTitle()," ")}}function Xe(e,r){if(e&1&&(o(0,"a",12),x(1,4),a()),e&2){let t,n,i=c(2);k("active",i.routerSignal().includes("event/"+((t=i.tastingEvent())==null?null:t.urlKey)+"/find-vej")),p("routerLink","/event/"+((n=i.tastingEvent())==null?null:n.urlKey)+"/find-vej")}}function We(e,r){if(e&1&&(o(0,"a",12),x(1,5),a()),e&2){let t,n=c(2);p("routerLink","/"+((t=n.tastingEvent())==null?null:t.discountPagePath))}}function Ze(e,r){if(e&1){let t=M();o(0,"div",6)(1,"app-arrow-left-tasting-event-icon",7),E("click",function(){f(t);let i=c();return v(i.navigateBack())}),a(),d(2,He,1,1,"ng-container")(3,je,2,1,"div",8),a(),o(4,"div",9)(5,"div",10)(6,"div",11)(7,"a",12),u(8),a()(),o(9,"div",13)(10,"a",12),x(11,0),a(),o(12,"a",12),x(13,1),a(),o(14,"a",12),x(15,2),a(),o(16,"a",12),x(17,3),a(),d(18,Xe,2,3,"a",14),d(19,We,2,1,"a",12),a()(),o(20,"div",15),Vt(21),a()()}if(e&2){let t,n,i,s,T,y,D,lt,ct,X,Pt,Mt,Ot,w=c();l(2),_((t=w.pageTitleTemplate())?2:w.pageTitle()?3:-1,t),l(5),p("routerLink","/event/"+((n=w.tastingEvent())==null?null:n.urlKe
3y)),l(),H(" ",(i=w.tastingEvent())==null?null:i.name," "),l(2),k("active",w.routerSignal().includes("event/"+((s=w.tastingEvent())==null?null:s.urlKey)+"/alle-vine")),p("routerLink","/event/"+((T=w.tastingEvent())==null?null:T.urlKey)+"/alle-vine"),l(2),k("active",w.routerSignal().includes("event/"+((y=w.tastingEvent())==null?null:y.urlKey)+"/borde")),p("routerLink","/event/"+((D=w.tastingEvent())==null?null:D.urlKey)+"/borde"),l(2),k("active",w.routerSignal().includes("event/"+((lt=w.tastingEvent())==null?null:lt.urlKey)+"/smageliste")),p("routerLink","/event/"+((ct=w.tastingEvent())==null?null:ct.urlKey)+"/smageliste"),l(2),k("active",w.routerSignal().includes("event/"+((X=w.tastingEvent())==null?null:X.urlKey)+"/ratings")),p("routerLink","/event/"+((Pt=w.tastingEvent())==null?null:Pt.urlKey)+"/ratings"),l(2),_((Mt=w.tastingEvent())!=null&&Mt.mapImage?18:-1),l(),_((Ot=w.tastingEvent())!=null&&Ot.discountPagePath?19:-1)}}function Ke(e,r){e&1&&m(0,"app-tasting-event-not-found")}function qe(e,r){e&1&&m(0,"app-loading-icon")}var $=(()=>{class e{constructor(){this.router=g(it),this.routingService=g(Ht),this.activatedRoute=g(R),this.pageTitle=A(),this.pageTitleTemplate=A(),this.navigateBackRoute=A(null),this.routerSignal=this.routingService.routerSignal,this.tastingEvent=A.required()}navigateBack(){let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");this.router.navigateByUrl(this.navigateBackRoute()??"/event/"+t)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-layout"]],inputs:{pageTitle:[1,"pageTitle"],pageTitleTemplate:[1,"pageTitleTemplate"],navigateBackRoute:[1,"navigateBackRoute"],tastingEvent:[1,"tastingEvent"]},ngContentSelectors:Be,decls:3,vars:1,consts:()=>{let t;t=$localize` Alle vine `;let n;n=$localize` Borde `;let i;i=$localize` Min smageliste `;let s;s=$localize` Mine ratings `;let T;T=$localize` Find vej `;let y;return y=$localize` DE BEDSTE TILBUD `,[t,n,i,s,T,y,[1,"user-header-mobile","hide-element-on-desktop"],[3,"click"],[1,"page-title"],[1,"container","p-0","d-flex"],[1,"desktop-menu","hide-element-on-mobile"],[1,"menu-title"],[3,"routerLink"],[1,"menu-items"],[3,"active","routerLink"],[1,"content-container"],[4,"ngTemplateOutlet"]]},template:function(n,i){if(n&1&&(Dt(),d(0,Ze,22,17)(1,Ke,1,0,"app-tasting-event-not-found")(2,qe,1,0,"app-loading-icon")),n&2){let s;_((s=i.tastingEvent())!=null&&s.id?0:i.tastingEvent()?1:2)}},dependencies:[K,ft,F,Ut,vt],styles:[`@media(min-width:992px){[_nghost-%COMP%]{margin:0 20px 20px;display:block}}.user-header-mobile[_ngcontent-%COMP%]{display:flex;min-height:75px;padding:10px 5px;justify-content:center;align-items:center;flex-shrink:0;align-self:stretch;border-bottom:1px solid var(--Fine-lines, #D3D3D3);background:var(--Hvid, #FFF);position:relative}.user-header-mobile[_ngcontent-%COMP%] app-arrow-left-tasting-event-icon[_ngcontent-%COMP%]{position:absolute;left:10px;padding:22px 20px 22px 0}.user-header-mobile[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%]{text-align:center;font-family:"PT Serif";font-size:25px;font-weight:400;line-height:100%}.desktop-menu[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:320px 0;min-width:320px;background:var(--Hvid, #FFFFFF);padding:30px 0;gap:30px;margin:20px 0 auto;border-radius:8px}.menu-title[_ngcontent-%COMP%]{font-size:25px;font-weight:700;line-height:35px;padding:5px 30px 20px;border-bottom:1px solid var(--Fine-lines, #D3D3D3)}.menu-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--Brdtekst, #212529)}.menu-items[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 30px;gap:10px}.menu-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:25px;color:var(--Brdtekst, #212529);text-decoration:none}.menu-items[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:var(--Lighter-text, #525F6E)}p[_ngcontent-%COMP%]{margin-bottom:0}.container[_ngcontent-%COMP%]{gap:20px}.content-container[_ngcontent-%COMP%]{width:calc(100% - 340px);flex-grow:1;display:flex;flex-direction:column;margin-top:20px;min-height:485px}@media(max-width:991.98px){.content-container[_ngcontent-%COMP%]{margin-top:0}} 4/*# sourceMappingURL=tasting-event-layout.component-IIYTTGX2.css.map */`],changeDetection:0})}}return e})();var U=(()=>{class e{constructor(){this.apolloService=g(Jt)}getWineFestivalData(t){return this.apolloService.watchQuery({queryName:"getWineFestivalEventQuery",variables:{urlKey:t}}).pipe(bt(),st(n=>n.data?.getWineFestivalEvent??{id:null}))}getWineFestivalTableById(t,n){return this.apolloService.watchQuery({queryName:"getWineFestivalTableQuery",variables:{eventUrlKey:t,tableNumber:parseInt(n,10)}})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ee=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-bag-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","31","height","30","viewBox","0 0 31 30","fill","none"],["d","M20.1875 13.125V7.5C20.1875 6.2568 19.6937 5.06451 18.8146 4.18544C17.9355 3.30636 16.7432 2.8125 15.5 2.8125C14.2568 2.8125 13.0646 3.30636 12.1855 4.18544C11.3064 5.06451 10.8125 6.2568 10.8125 7.5V13.125M25.0075 10.6337L26.5863 25.6337C26.6738 26.465 26.0238 27.1875 25.1875 27.1875H5.81254C5.6153 27.1877 5.42022 27.1464 5.23998 27.0663C5.05973 26.9862 4.89835 26.8691 4.76632 26.7226C4.63429 26.5761 4.53456 26.4034 4.47361 26.2158C4.41266 26.0282 4.39185 25.8299 4.41254 25.6337L5.99254 10.6337C6.02899 10.2882 6.19207 9.96838 6.45036 9.73595C6.70864 9.50352 7.04383 9.37494 7.39129 9.375H23.6088C24.3288 9.375 24.9325 9.91875 25.0075 10.6337ZM11.2813 13.125C11.2813 13.2493 11.2319 13.3685 11.144 13.4565C11.0561 13.5444 10.9369 13.5938 10.8125 13.5938C10.6882 13.5938 10.569 13.5444 10.4811 13.4565C10.3932 13.3685 10.3438 13.2493 10.3438 13.125C10.3438 13.0007 10.3932 12.8815 10.4811 12.7935C10.569 12.7056 10.6882 12.6562 10.8125 12.6562C10.9369 12.6562 11.0561 12.7056 11.144 12.7935C11.2319 12.8815 11.2813 13.0007 11.2813 13.125ZM20.6563 13.125C20.6563 13.2493 20.6069 13.3685 20.519 13.4565C20.4311 13.5444 20.3119 13.5938 20.1875 13.5938C20.0632 13.5938 19.944 13.5444 19.8561 13.4565C19.7682 13.3685 19.7188 13.2493 19.7188 13.125C19.7188 13.0007 19.7682 12.8815 19.8561 12.7935C19.944 12.7056 20.0632 12.6562 20.1875 12.6562C20.3119 12.6562 20.4311 12.7056 20.519 12.7935C20.6069 12.8815 20.6563 13.0007 20.6563 13.125Z","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:30px;width:30px;display:inline-block;line-height:0} 5/*# sourceMappingURL=bag-icon.component-DBSI7UVR.css.map */`],changeDetection:0})}}return e})();var Ye=(e,r)=>r.price+"-"+r.label;function Qe(e,r){if(e&1&&(o(0,"p",5),u(1),o(2,"span",8),u(3),a()()),e&2){let t=c(2).$implicit;l(),H(" ",t.prefix==null?null:t.prefix[0]," "),l(),p("title",t.prefix==null?null:t.prefix[1]),l(),O(t.prefix==null?null:t.prefix[1])}}function Je(e,r){e&1&&(o(0,"p",5),u(1,"BEDSTE "),o(2,"span"),u(3,"PRIS"),a()())}function tn(e,r){if(e&1&&(o(0,"div",3),d(1,Qe,4,3,"p",5)(2,Je,4,0,"p",5),o(3,"div")(4,"div",6),j(5,"price"),j(6,"number"),o(7,"p"),u(8),j(9,"price"),j(10,"currency"),a(),o(11,"span"),u(12),a()(),o(13,"p",7),u(14),a()()()),e&2){let t=c().$implicit,n=c();l(),_((t.prefix==null?null:t.prefix.length)===2?1:2),l(3),k("base-price",t.qty===1&&!t.isDiscounted)("volume-discounted-price",t.isDiscounted||t.qty&&t.qty>1),St("data-min-qty",t.qty)("data-price",Nt(6,13,W(5,11,t.price),"1.2-2")),l(4),O(W(10,18,W(9,16,t.price))),l(4),O(n.currencyCode()),l(2),dt("pr. ",t.unitName," v. ",t.qty," stk.")}}function en(e,r){if(e&1&&(o(0,"div",9),j(1,"price"),j(2,"number"),o(3,"p"),u(4),a(),o(5,"p"),u(6),j(7,"price"),j(8,"currency"),a()()),e&2){let t=c().$implicit,n=c();k("is-striked",t.isStriked)("base-price",t.qty===1&&!t.isDiscounted)("volume-discounted-price",t.isDiscounted||t.qty&&t.qty>1),St("data-min-qty",t.qty)("data-price",Nt(2,13,W(1,11,t.price),"1.2-2")),l(4),O(t.label),l(2),dt("",W(8,18,W(7,16,t.price))," ",n.currencyCode())}}function nn(e,r){if(e&1&&d(0,tn,15,20,"div",3)(1,en,9,20,"div",4),e&2){let t=r.$index,n=r.$count;_(t===n-1?0:t===0?1:-1)}}function on(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t,n=c();l(),dt("",n.qtyInCart()," ",(t=n.product())==null||t.meta==null||t.meta.units==null?null:t.meta.units.shortName," i kurven")}}
5function an(e,r){e&1&&(o(0,"p"),u(1,"Udsolgt"),a())}var fe=(()=>{class e{constructor(){this.productService=g(Qt),this.groupVoucherService=g(qt),this.productPriceService=g(Ct),this.cartService=g(Ce),this.googleService=g(te),this.storeConfigService=g(Kt),this.product=A.required(),this.hitPosition=A(),this.addingToCart=I(!1),this.currencyCode=this.storeConfigService.currencyCode,this.qtyInCart=L(()=>{let t=this.product();return t?this.cartService.cartSignal().cart.items?.find(s=>s?.vismaId===t.vismaProductNumber)?.qty??0:0}),this.priceLines=L(()=>{let t=this.product();if(!t)return[];let n=this.groupVoucherService.groupVoucherSignal(),i=this.productService.getFormattedProductPricesSignal(this.product)();return this.productPriceService.formatPriceLines(n.groupVoucher,t,i,n.isCustomerLinked)})}addToCart(){let t=this.product();if(t){let n=!!t?.preorderDate,i=!!t?.isEnPrimeur,s=t.defaultQuantity??1;this.addingToCart.set(!0),this.cartService.addToCart(t.vismaProductNumber,parseInt(t.id,10),s,"TastingEvent",void 0,this.hitPosition(),n,i).then(()=>{this.googleService.addProductToCartEvent(t,s)}).finally(()=>{this.addingToCart.set(!1)})}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-price-table"]],inputs:{product:[1,"product"],hitPosition:[1,"hitPosition"]},decls:8,vars:3,consts:[[1,"price-box"],[1,"prices"],[1,"btn-add-to-cart",3,"click","disabled"],[1,"best-price"],[1,"price-one-stk",3,"is-striked","base-price","volume-discounted-price"],[1,"best-price-text"],[1,"best-price-price"],[1,"best-price-unit"],[3,"title"],[1,"price-one-stk"]],template:function(n,i){if(n&1&&(o(0,"div",0)(1,"div",1),B(2,nn,2,1,null,null,Ye),a(),o(4,"button",2),E("click",function(){return i.addToCart()}),m(5,"app-bag-icon"),d(6,on,2,2,"p"),d(7,an,2,0,"p"),a()()),n&2){let s,T;l(2),z(i.priceLines()),l(2),p("disabled",i.addingToCart()||!((s=i.product())!=null&&s.inStock)),l(2),_(i.qtyInCart()>0?6:-1),l(),_((T=i.product())!=null&&T.inStock?-1:7)}},dependencies:[Ee,zt,Bt,Yt],styles:[`.price-box[_ngcontent-%COMP%]{display:flex;padding:10px;align-items:flex-end;gap:15px;align-self:stretch;border-top:1px solid var(--Fine-lines, #D3D3D3);min-height:89px}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;flex:1 0 0;width:calc(100% - 86px)}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .price-one-stk[_ngcontent-%COMP%]{display:flex;margin:0 5px 3px;justify-content:space-between;align-items:center;gap:10px;align-self:stretch;position:relative}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .price-one-stk.is-striked[_ngcontent-%COMP%]:before{content:"";height:1px;position:absolute;top:50%;left:0;right:0;background-color:#5c0a31}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .price-one-stk[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Form-labels, #424549);font-size:12px;font-style:normal;line-height:16px;margin-bottom:0}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%]{display:flex;padding:5px;align-items:center;gap:10px;align-self:stretch;background:var(--Supervin-bourgogne-2, #5C0A31);justify-content:space-between}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%] .best-price-text[_ngcontent-%COMP%]{color:var(--Web-orange, #FF9812);font-size:12px;font-weight:700;line-height:12px;display:flex;flex-direction:column;width:35%;margin-bottom:-4px}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%] .best-price-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--Web-orange, #FF9812);font-size:20px;font-weight:700;line-height:24px;margin-top:-4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%] .best-price-price[_ngcontent-%COMP%]{display:flex;gap:4px;align-items:flex-end}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%] .best-price-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Hvid, #FFF);text-align:right;font-size:22px;font-weight:700;line-height:22px;white-space:nowrap;margin-bottom:0}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%] .best-price-price[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--Hvid, #FFF);font-size:12px;font-weight:700;line-height:12px}.price-box[_ngcontent-%COMP%] .prices[_ngcontent-%COMP%] .best-price[_ngcontent-%COMP%] .best-price-unit[_ngcontent-%COMP%]{color:var(--Knkket-hvid, #FFFEFD);text-align:right;font-size:12px;font-weight:400;line-height:15px;margin-bottom:0;white-space:nowrap}.price-box[_ngcontent-%COMP%] .btn-add-to-cart[_ngcontent-%COMP%]{display:flex;padding:4px 0;flex-direction:column;justify-content:center;align-items:center;flex:71px 0 0;align-self:stretch;border-radius:3px;background:var(--Supervin-orange, #FD8E00);border:none}.price-box[_ngcontent-%COMP%] .btn-add-to-cart[_ngcontent-%COMP%]:disabled{background:#ffbc66}.price-box[_ngcontent-%COMP%] .btn-add-to-cart[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Hvid, #FFF);text-align:center;font-size:10px;font-weight:600;line-height:12px;margin-bottom:0} 6/*# sourceMappingURL=tasting-event-price-table.component-3QBJ44VV.css.map */`],changeDetection:0})}}return e})();function rn(e,r){if(e&1){let t=M();o(0,"app-star-solid-icon",3),E("click",function(){f(t);let i=c(),s=c(),T=c();return v(T.addReviewProduct(s,1,i.rating===1))}),a()}}function ln(e,r){if(e&1){let t=M();o(0,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(2),s=c();return v(s.addReviewProduct(i,1))}),a()}}function cn(e,r){if(e&1){let t=M();o(0,"app-star-solid-icon",3),E("click",function(){f(t);let i=c(),s=c(),T=c();return v(T.addReviewProduct(s,2,i.rating===2))}),a()}}function sn(e,r){if(e&1){let t=M();o(0,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(2),s=c();return v(s.addReviewProduct(i,2))}),a()}}function pn(e,r){if(e&1){let t=M();o(0,"app-star-solid-icon",3),E("click",function(){f(t);let i=c(),s=c(),T=c();return v(T.addReviewProduct(s,3,i.rating===3))}),a()}}function dn(e,r){if(e&1){let t=M();o(0,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(2),s=c();return v(s.addReviewProduct(i,3))}),a()}}function _n(e,r){if(e&1){let t=M();o(0,"app-star-solid-icon",3),E("click",function(){f(t);let i=c(),s=c(),T=c();return v(T.addReviewProduct(s,4,i.rating===4))}),a()}}function mn(e,r){if(e&1){let t=M();o(0,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(2),s=c();return v(s.addReviewProduct(i,4))}),a()}}function gn(e,r){if(e&1){let t=M();o(0,"app-star-solid-icon",3),E("click",function(){f(t);let i=c(),s=c(),T=c();return v(T.addReviewProduct(s,5,i.rating===5))}),a()}}function un(e,r){if(e&1){let t=M();o(0,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(2),s=c();return v(s.addReviewProduct(i,5))}),a()}}function Cn(e,r){if(e&1&&(d(0,rn,1,0,"app-star-solid-icon")(1,ln,1,0,"app-star-empty-icon"),d(2,cn,1,0,"app-star-solid-icon")(3,sn,1,0,"app-star-empty-icon"),d(4,pn,1,0,"app-star-solid-icon")(5,dn,1,0,"app-star-empty-icon"),d(6,_n,1,0,"app-star-solid-icon")(7,mn,1,0,"app-star-empty-icon"),d(8,gn,1,0,"app-star-solid-icon")(9,un,1,0,"app-star-empty-icon")),e&2){let t=r;_(t.rating>0?0:1),l(2),_(t.rating>1?2:3),l(2),_(t.rating>2?4:5),l(2),_(t.rating>3?6:7),l(2),_(t.rating>4?8:9)}}function Tn(e,r){if(e&1){let t=M();o(0,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(),s=c();return v(s.addReviewProduct(i,1))}),a(),o(1,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(),s=c();return v(s.addReviewProduct(i,2))}),a(),o(2,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(),s=c();return v(s.addReviewProduct(i,3))}
6),a(),o(3,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(),s=c();return v(s.addReviewProduct(i,4))}),a(),o(4,"app-star-empty-icon",3),E("click",function(){f(t);let i=c(),s=c();return v(s.addReviewProduct(i,5))}),a()}}function En(e,r){if(e&1){let t=M();o(0,"app-heart-solid-icon",3),E("click",function(){f(t);let i=c(2);return v(i.toggleWishlist(!0))}),a()}}function fn(e,r){if(e&1){let t=M();o(0,"app-heart-empty-icon",3),E("click",function(){f(t);let i=c(2);return v(i.toggleWishlist(!1))}),a()}}function vn(e,r){if(e&1&&(o(0,"div",0)(1,"div",1),d(2,Cn,10,5)(3,Tn,5,0),a(),o(4,"p"),u(5,"Min rating"),a()(),o(6,"div",2),d(7,En,1,0,"app-heart-solid-icon")(8,fn,1,0,"app-heart-empty-icon"),o(9,"p"),u(10,"Tilf\xF8j smageliste"),a()()),e&2){let t,n=c();k("show-animation",n.ratingClicked()),l(2),_((t=n.isItemReviewed())?2:3,t),l(4),k("show-animation",n.heartClicked()),l(),_(n.isItemInWishlist()?7:8)}}var ve=(()=>{class e{constructor(){this.customerReviewsAndWishlistService=g(at),this.product=A.required(),this.customerReviews=this.customerReviewsAndWishlistService.customerReviews,this.wishlist=this.customerReviewsAndWishlistService.wishlist,this.ratingClicked=I(!1),this.heartClicked=I(!1),this.isItemInWishlist=L(()=>this.wishlist().some(t=>t?.id===this.product()?.id)),this.isItemReviewed=L(()=>this.customerReviews().find(t=>t?.product?.id===this.product()?.id))}toggleWishlist(t){this.customerReviewsAndWishlistService.adjustWishlist(this.product(),t),t||(this.heartClicked.set(!0),setTimeout(()=>{this.heartClicked.set(!1)},300))}addReviewProduct(t,n,i=!1){this.ratingClicked.set(!0),this.customerReviewsAndWishlistService.addReviewProduct(t,n,i),setTimeout(()=>{this.ratingClicked.set(!1)},600)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-rate-and-like"]],inputs:{product:[1,"product"]},decls:1,vars:1,consts:[[1,"user-rating"],[1,"d-flex"],[1,"user-like"],[3,"click"]],template:function(n,i){if(n&1&&d(0,vn,11,6),n&2){let s;_((s=i.product())?0:-1,s)}},dependencies:[pe,ee,ne,se],styles:[`[_nghost-%COMP%]{display:flex;padding:3px 10px;height:49px;justify-content:space-between;align-items:center;border-top:1px solid var(--Fine-lines, #D3D3D3)}[_nghost-%COMP%] .user-rating[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}[_nghost-%COMP%] .user-rating.show-animation[_ngcontent-%COMP%] app-star-solid-icon[_ngcontent-%COMP%]:nth-child(1){animation:_ngcontent-%COMP%_star-1 .6s}[_nghost-%COMP%] .user-rating.show-animation[_ngcontent-%COMP%] app-star-solid-icon[_ngcontent-%COMP%]:nth-child(2){animation:_ngcontent-%COMP%_star-2 .6s}[_nghost-%COMP%] .user-rating.show-animation[_ngcontent-%COMP%] app-star-solid-icon[_ngcontent-%COMP%]:nth-child(3){animation:_ngcontent-%COMP%_star-3 .6s}[_nghost-%COMP%] .user-rating.show-animation[_ngcontent-%COMP%] app-star-solid-icon[_ngcontent-%COMP%]:nth-child(4){animation:_ngcontent-%COMP%_star-4 .6s}[_nghost-%COMP%] .user-rating.show-animation[_ngcontent-%COMP%] app-star-solid-icon[_ngcontent-%COMP%]:nth-child(5){animation:_ngcontent-%COMP%_star-5 .6s}[_nghost-%COMP%] .user-rating[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Form-labels, #424549);font-size:10px;font-weight:400;line-height:15px;margin-bottom:0}[_nghost-%COMP%] .user-like[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-end}[_nghost-%COMP%] .user-like.show-animation[_ngcontent-%COMP%] app-heart-solid-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_heart .2s}[_nghost-%COMP%] .user-like[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Form-labels, #424549);font-size:10px;font-weight:400;line-height:15px;margin-bottom:0}app-star-solid-icon[_ngcontent-%COMP%], app-star-empty-icon[_ngcontent-%COMP%], app-heart-solid-icon[_ngcontent-%COMP%], app-heart-empty-icon[_ngcontent-%COMP%]{cursor:pointer}@keyframes _ngcontent-%COMP%_heart{0%{transform:scale(1)}75%{transform:scale(1.2)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_star-1{0%{transform:scale(1)}20%{transform:scale(1.2)}35%{transform:scale(1)}}@keyframes _ngcontent-%COMP%_star-2{15%{transform:scale(1)}35%{transform:scale(1.2)}50%{transform:scale(1)}}@keyframes _ngcontent-%COMP%_star-3{30%{transform:scale(1)}50%{transform:scale(1.2)}65%{transform:scale(1)}}@keyframes _ngcontent-%COMP%_star-4{45%{transform:scale(1)}65%{transform:scale(1.2)}80%{transform:scale(1)}}@keyframes _ngcontent-%COMP%_star-5{60%{transform:scale(1)}80%{transform:scale(1.2)}95%{transform:scale(1)}} 7/*# sourceMappingURL=tasting-event-rate-and-like.component-YZ3XOZF2.css.map */`],changeDetection:0})}}return e})();var xe=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-grapes-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 30 30","fill","none"],["d","M26.8889 13.3997C26.8889 10.9731 24.9147 8.99889 22.4881 8.99889C21.0494 8.99889 19.7697 9.69299 18.9663 10.7638C18.3309 9.91699 17.3976 9.30586 16.3233 9.08725V4.09178C16.3233 2.80482 17.3703 1.75781 18.6573 1.75781C19.9443 1.75781 20.9913 2.80482 20.9913 4.09178C20.9913 4.82953 20.3911 5.42971 19.6534 5.42971H18.9796V7.18752H19.6534C21.3604 7.187
752 22.7491 5.79879 22.7491 4.09178C22.7491 1.83557 20.9136 0 18.6573 0C17.1268 0 15.7907 0.845215 15.089 2.09285C14.2921 1.2692 13.1765 0.755684 11.9426 0.755684H9.23348V3.46482C9.23348 5.88035 11.1987 7.84553 13.6142 7.84553H14.5655V9.08725C13.4912 9.30586 12.558 9.91699 11.9226 10.7639C11.1191 9.69305 9.83951 8.99895 8.40074 8.99895C5.97414 8.99895 4 10.9731 4 13.3997C4 15.6511 5.69963 17.5118 7.88295 17.769C7.65572 18.2996 7.52951 18.8833 7.52951 19.496C7.52951 21.7451 9.22586 23.6044 11.4061 23.8645C11.1767 24.3971 11.0491 24.9835 11.0491 25.5993C11.0491 28.0259 13.0233 30 15.4499 30C17.8765 30 19.8506 28.0259 19.8506 25.5993C19.8506 24.9833 19.7229 24.3969 19.4935 23.8641C21.6723 23.6027 23.3671 21.7441 23.3671 19.496C23.3671 18.8829 23.2407 18.2989 23.0132 17.7681C25.193 17.5076 26.8889 15.6486 26.8889 13.3997ZM13.6142 6.08766C12.1679 6.08766 10.9913 4.91104 10.9913 3.46477V2.51344H11.9426C13.3889 2.51344 14.5655 3.69006 14.5655 5.13639V6.08766H13.6142ZM15.4444 10.7567C16.9018 10.7567 18.0873 11.9423 18.0873 13.3997C18.0873 14.857 16.9018 16.0427 15.4444 16.0427C15.0072 16.0427 14.5948 15.9353 14.2312 15.7466C14.1614 15.7037 14.0905 15.6623 14.0183 15.6231C13.2871 15.1525 12.8015 14.332 12.8015 13.3997C12.8015 11.9423 13.9871 10.7567 15.4444 10.7567ZM5.75775 13.3997C5.75775 11.9423 6.94334 10.7567 8.40068 10.7567C9.85803 10.7567 11.0436 11.9423 11.0436 13.3997C11.0436 14.857 9.85803 16.0426 8.40068 16.0426C6.94334 16.0426 5.75775 14.8571 5.75775 13.3997ZM9.28721 19.496C9.28721 18.0386 10.4728 16.853 11.9301 16.853C12.3674 16.853 12.7797 16.9604 13.1434 17.1491C13.2132 17.1921 13.284 17.2334 13.3562 17.2726C14.0498 17.719 14.5224 18.4802 14.5691 19.3531C14.5676 19.4007 14.5654 19.4481 14.5654 19.496C14.5654 19.5439 14.5676 19.5913 14.5691 19.6389C14.4946 21.0301 13.3395 22.139 11.9301 22.139C10.4728 22.1389 9.28721 20.9534 9.28721 19.496ZM15.4498 28.2422C13.9925 28.2422 12.8069 27.0566 12.8069 25.5993C12.8069 24.1419 13.9925 22.9563 15.4498 22.9563C16.9071 22.9563 18.0927 24.1419 18.0927 25.5993C18.0927 27.0566 16.9071 28.2422 15.4498 28.2422ZM18.9662 22.1389C17.5568 22.1389 16.4018 21.0301 16.3273 19.6389C16.3288 19.5913 16.3309 19.5439 16.3309 19.496C16.3309 19.448 16.3288 19.4006 16.3273 19.353C16.4018 17.9619 17.5569 16.853 18.9662 16.853C20.4236 16.853 21.6092 18.0386 21.6092 19.4959C21.6092 20.9532 20.4237 22.1389 18.9662 22.1389ZM22.4881 16.0427C21.0308 16.0427 19.8452 14.8571 19.8452 13.3997C19.8452 11.9424 21.0308 10.7568 22.4881 10.7568C23.9455 10.7568 25.1311 11.9424 25.1311 13.3997C25.1311 14.8571 23.9455 16.0427 22.4881 16.0427Z","fill","#212529"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:30px;width:30px;display:inline-block;line-height:0} 8/*# sourceMappingURL=grapes-icon.component-4BBLIZWH.css.map */`],changeDetection:0})}}return e})();var he=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-calendar-icon"]],decls:11,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 30 30","fill","none"],["d","M26.3121 3.19731H24.2224V2.42169C24.2224 1.90384 23.803 1.48413 23.2851 1.48413C22.7673 1.48413 22.3479 1.90384 22.3479 2.42169V3.19731H15.9375V2.42169C15.9375 1.90384 15.518 1.48413 15.0002 1.48413C14.4824 1.48413 14.0629 1.90384 14.0629 2.42169V3.19731H7.65253V2.42169C7.65253 1.90384 7.2331 1.48413 6.71525 1.48413C6.19741 1.48413 5.77798 1.90384 5.77798 2.42169V3.19731H3.68829C1.97797 3.19731 0.586365 4.58891 0.586365 6.29952V25.4137C0.586365 27.1243 1.97797 28.5159 3.68829 28.5159H26.3121C28.0224 28.5159 29.414 27.1243 29.414 25.4137V6.29952C29.414 4.58891 28.0224 3.19731 26.3121 3.19731ZM3.68829 5.07242H5.77799V5.84833C5.77799 6.36618 6.19741 6.78589 6.71526 6.78589C7.23311 6.78589 7.65253 6.36618 7.65253 5.84833V5.07242H14.0629V5.84833C14.0629 6.36618 14.4824 6.78589 15.0002 6.78589C15.5181 6.78589 15.9375 6.36618 15.9375 5.84833V5.07242H22.3479V5.84833C22.3479 6.36618 22.7673 6.78589 23.2852 6.78589C23.803 6.78589 24.2224 6.36618 24.2224 5.84833V5.07242H26.3121C26.989 5.07242 27.5395 5.62288 27.5395 6.29952V9.45122H2.46091V6.29952C2.46091 5.62288 3.01137 5.07242 3.68829 5.07242ZM26.3121 26.6408H3.68829C3.01138 26.6408 2.46091 26.0904 2.46091 25.4137V11.3263H27.5395V25.4137C27.5395 26.0904 26.989 26.6408 26.3121 26.6408Z","fill","black"],["d","M9.08077 13.6855H6.33247C5.81463 13.6855 5.3952 14.1053 5.3952 14.6231C5.3952 15.141 5.81463 15.5607 6.33247 15.5607H9.08077C9.598
862 15.5607 10.018 15.141 10.018 14.6231C10.018 14.1053 9.59862 13.6855 9.08077 13.6855Z","fill","black"],["d","M9.08077 18.1418H6.33247C5.81463 18.1418 5.3952 18.5616 5.3952 19.0794C5.3952 19.5972 5.81463 20.017 6.33247 20.017H9.08077C9.59862 20.017 10.018 19.5972 10.018 19.0794C10.018 18.5616 9.59862 18.1418 9.08077 18.1418Z","fill","black"],["d","M9.08077 22.5981H6.33247C5.81463 22.5981 5.3952 23.0179 5.3952 23.5357C5.3952 24.0535 5.81463 24.4733 6.33247 24.4733H9.08077C9.59862 24.4733 10.018 24.0535 10.018 23.5357C10.018 23.0179 9.59862 22.5981 9.08077 22.5981Z","fill","black"],["d","M16.3254 13.6855H13.5771C13.0593 13.6855 12.6398 14.1053 12.6398 14.6231C12.6398 15.141 13.0593 15.5607 13.5771 15.5607H16.3254C16.8432 15.5607 17.2627 15.141 17.2627 14.6231C17.2627 14.1053 16.8432 13.6855 16.3254 13.6855Z","fill","black"],["d","M16.3254 18.1418H13.5771C13.0593 18.1418 12.6398 18.5616 12.6398 19.0794C12.6398 19.5972 13.0593 20.017 13.5771 20.017H16.3254C16.8432 20.017 17.2627 19.5972 17.2627 19.0794C17.2627 18.5616 16.8432 18.1418 16.3254 18.1418Z","fill","black"],["d","M16.3254 22.5981H13.5771C13.0593 22.5981 12.6398 23.0179 12.6398 23.5357C12.6398 24.0535 13.0593 24.4733 13.5771 24.4733H16.3254C16.8432 24.4733 17.2627 24.0535 17.2627 23.5357C17.2627 23.0179 16.8432 22.5981 16.3254 22.5981Z","fill","black"],["d","M23.5707 13.6855H20.8224C20.3046 13.6855 19.8851 14.1053 19.8851 14.6231C19.8851 15.141 20.3046 15.5607 20.8224 15.5607H23.5707C24.0885 15.5607 24.508 15.141 24.508 14.6231C24.508 14.1053 24.0885 13.6855 23.5707 13.6855Z","fill","black"],["d","M23.5707 18.1418H20.8224C20.3046 18.1418 19.8851 18.5616 19.8851 19.0794C19.8851 19.5972 20.3046 20.017 20.8224 20.017H23.5707C24.0885 20.017 24.508 19.5972 24.508 19.0794C24.508 18.5616 24.0885 18.1418 23.5707 18.1418Z","fill","black"],["d","M23.5707 22.5981H20.8224C20.3046 22.5981 19.8851 23.0179 19.8851 23.5357C19.8851 24.0535 20.3046 24.4733 20.8224 24.4733H23.5707C24.0885 24.4733 24.508 24.0535 24.508 23.5357C24.508 23.0179 24.0885 22.5981 23.5707 22.5981Z","fill","black"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10),N())},styles:[`[_nghost-%COMP%]{height:30px;width:30px;display:inline-block;line-height:0} 9/*# sourceMappingURL=calendar-icon.component-RXBFEOPM.css.map */`],changeDetection:0})}}return e})();var Se=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-percentage-icon"]],decls:12,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 30 30","fill","none"],["clip-path","url(#clip0_2737_1902)"],["d","M20.8688 5.24379L19.4229 0.616758C19.3082 0.249844 18.9684 0 18.584 0H11.4161C11.0316 0 10.6918 0.249844 10.5772 0.616758L9.13126 5.24379C8.54157 7.13092 8.87497 9.12685 10.0461 10.7198C11.0411 12.0732 12.4941 12.9358 14.1211 13.1648V17.9297H12.3633C11.8779 17.9297 11.4844 18.3232 11.4844 18.8086C11.4844 19.294 11.8779 19.6875 12.3633 19.6875H17.6367C18.1221 19.6875 18.5156 19.294 18.5156 18.8086C18.5156 18.3232 18.1221 17.9297 17.6367 17.9297H15.8789V13.1648C17.5059 12.9358 18.959 12.0732 19.9539 10.7198C21.125 9.12691 21.4585 7.13092 20.8688 5.24379ZM12.0622 1.75781H17.9378L18.7631 4.39904C18.0654 4.5167 17.5924 4.7233 17.159 4.91291C16.5909 5.16135 16.1003 5.37592 15 5.37592C13.8996 5.37592 13.409 5.16135 12.8409 4.91291C12.4075 4.72336 11.9345 4.5167 11.2368 4.39904L12.0622 1.75781ZM18.5377 9.67869C17.7014 10.8162 16.4119 11.4687 15 11.4687C13.5881 11.4687 12.2987 10.8162 11.4624 9.67869C10.6945 8.63426 10.4313 7.3473 10.7193 6.10055C11.3357 6.17373 11.7146 6.33885 12.1366 6.52342C12.7907 6.80953 13.532 7.13373 15 7.13373C16.468 7.13373 17.2093 6.80953 17.8634 6.52342C18.2854 6.33885 18.6643 6.17373 19.2808 6.10055C19.5687 7.34725 19.3055 8.6342 18.5377 9.67869Z","fill","black"],["d","M15.8314 22.6539C15.8289 22.6472 15.8262 22.6404 15.8235 22.6339C15.6875 22.3031 15.3687 22.0895 15.0111 22.0895C15.0108 22.0895 15.0106 22.0895 15.0103 22.0895C14.6524 22.0898 14.3335 22.304 14.198 22.6353C14.1957 22.6409 14.1935 22.6464 14.1914 22.652L11.7712 29.0065C11.6272 29.3845 11.8169 29.8077 12.1949 29.9516C12.5731 30.0956 12.99
961 29.9059 13.1401 29.5279L13.5632 28.417H16.4407L16.8591 29.5258C16.9698 29.8191 17.2485 29.9999 17.5445 29.9998C17.6304 29.9998 17.7178 29.9846 17.803 29.9525C18.1815 29.8096 18.3725 29.387 18.2296 29.0086L15.8314 22.6539ZM14.1211 26.9522L15.0085 24.6221L15.8879 26.9522H14.1211Z","fill","black"],["d","M22.3395 28.5293C22.3381 28.5293 22.3367 28.5293 22.3353 28.5293C21.8086 28.5323 21.2428 28.5344 20.8149 28.5348V22.8219C20.8149 22.4174 20.4869 22.0895 20.0825 22.0895C19.678 22.0895 19.35 22.4174 19.35 22.8219V29.2618C19.35 29.6184 19.6069 29.9232 19.9584 29.9836C20.0111 29.9926 20.0538 30 20.7631 30C21.1073 30 21.6084 29.9983 22.3435 29.9941C22.748 29.9918 23.0741 29.6621 23.0718 29.2576C23.0696 28.8545 22.7421 28.5293 22.3395 28.5293Z","fill","black"],["d","M29.7383 27.7963C29.4283 27.5364 28.9663 27.5768 28.7064 27.8868C28.6479 27.9565 28.5848 28.0217 28.5189 28.0804C28.1804 28.3819 27.7492 28.5349 27.2374 28.5349C25.8642 28.5349 24.7471 27.4178 24.7471 26.0446C24.7471 24.6715 25.8642 23.5544 27.2374 23.5544C27.7365 23.5544 28.2177 23.7013 28.6291 23.9792C28.9644 24.2058 29.4196 24.1176 29.646 23.7824C29.8724 23.4473 29.7843 22.9919 29.4492 22.7655C28.7947 22.3233 28.0298 22.0896 27.2373 22.0896C25.0564 22.0896 23.2822 23.8638 23.2822 26.0447C23.2822 28.2255 25.0564 29.9998 27.2373 29.9998C28.1068 29.9998 28.8868 29.7143 29.4931 29.1744C29.6119 29.0686 29.7248 28.9522 29.8287 28.8283C30.0887 28.5183 30.0482 28.0563 29.7383 27.7963Z","fill","black"],["d","M3.38657 29.3198C3.29206 29.3198 3.19603 29.3015 3.10345 29.2626C2.73044 29.106 2.55501 28.6768 2.71157 28.3038L6.90308 18.3165C7.05964 17.9435 7.48901 17.7681 7.86185 17.9245C8.23485 18.0811 8.41028 18.5103 8.25372 18.8833L4.06222 28.8707C3.94456 29.1511 3.67274 29.3198 3.38657 29.3198Z","fill","black"],["d","M2.58445 23.171C1.15939 23.171 0 21.877 0 20.2865C0 18.696 1.15939 17.402 2.58445 17.402C4.00951 17.402 5.16891 18.696 5.16891 20.2865C5.16891 21.877 4.00951 23.171 2.58445 23.171ZM2.58445 18.8668C1.96711 18.8668 1.46484 19.5036 1.46484 20.2865C1.46484 21.0694 1.96711 21.7062 2.58445 21.7062C3.2018 21.7062 3.70406 21.0693 3.70406 20.2865C3.70406 19.5037 3.2018 18.8668 2.58445 18.8668Z","fill","black"],["d","M8.24528 29.9996C6.82022 29.9996 5.66089 28.7056 5.66089 27.115C5.66089 25.5245 6.82028 24.2305 8.24528 24.2305C9.67034 24.2305 10.8297 25.5245 10.8297 27.115C10.8297 28.7056 9.67034 29.9996 8.24528 29.9996ZM8.24528 25.6953C7.62794 25.6953 7.12573 26.3322 7.12573 27.115C7.12573 27.8978 7.628 28.5346 8.24528 28.5346C8.86263 28.5346 9.36489 27.8978 9.36489 27.115C9.36489 26.3322 8.86263 25.6953 8.24528 25.6953Z","fill","black"],["id","clip0_2737_1902"],["width","30","height","30","fill","white"]],template:function(n,i){n&1&&(h(),S(0,"svg",0)(1,"g",1),P(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8),N(),S(9,"defs")(10,"clipPath",9),P(11,"rect",10),N()()())},styles:[`[_nghost-%COMP%]{height:30px;width:30px;display:inline-block;line-height:0} 10/*# sourceMappingURL=percentage-icon.component-2UTI66JT.css.map */`],changeDetection:0})}}return e})();var Ne=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-clock-icon"]],decls:6,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 30 30","fill","none"],["clip-path","url(#clip0_2737_830)"],["fill-rule","evenodd","clip-rule","evenodd","d","M15 0.9375C7.23844 0.9375 0.9375 7.23844 0.9375 15C0.9375 22.7616 7.23844 29.0625 15 29.0625C22.7616 29.0625 29.0625 22.7616 29.0625 15C29.0625 7.23844 22.7616 0.9375 15 0.9375ZM15 2.8125C21.7266 2.8125 27.1875 8.27344 27.1875 15C27.1875 21.7266 21.7266 27.1875 15 27.1875C8.27344 27.1875 2.8125 21.7266 2.8125 15C2.8125 8.27344 8.27344 2.8125 15 2.8125ZM14.0625 13.3762V6.5625C14.0625 6.045 14.4825 5.625 15 5.625C15.5175 5.625 15.9375 6.045 15.9375 6.5625V13.3762C16.4981 13.7006 16.875 14.3062 16.875 15C16.875 15.1678 16.8525 15.3309 16.8112 15.4856L21.2878 19.9622C21.6534 20.3278 21.6534 20.9222 21.2878 21.2878C20.9222 21.6534 20.3278 21.6534 19.9622 21.2878L15.4856 16.8112C15.3309 16.8525 15.1678 16.875 15 16.875C13.965 16.875 13.125 16.035 13.125 15C13.125 14.3062 13.5019 13.7006 14.0625 13.3762Z","fill","black"],["id","clip0_2737_830"],["width","30","height","30","fill","white"]],template:function(n,i){n&1&&(h(),S(0,"svg",0)(1,"g",1),P(2,"path",2),N(),S(3,"defs")(4,"clipPath",3),P(5,"rect",4),N()()())},styles:[`[_nghost-%COMP%]{height:30px;width:30px;display:inline-block;line-height:0} 11/*# sourceMappingURL=clock-icon.component-GB2DZ7M6.css.map */`],changeDetection:0})}}return e})();var xn=(e,r)=>
11r==null?null:r.id;function hn(e,r){e&1&&m(0,"img",4),e&2&&p("ngSrc",r||"")}function Sn(e,r){if(e&1&&m(0,"app-product-custom-badge",5),e&2){let t=c();p("product",t.product()??void 0)}}function Nn(e,r){if(e&1&&m(0,"app-product-discount-label",5),e&2){let t=c();p("product",t.product())}}function Pn(e,r){if(e&1&&(o(0,"div",9),m(1,"app-grapes-icon"),o(2,"div",10)(3,"p",11),u(4,"Drue"),a(),o(5,"p",12),u(6),a()()()),e&2){let t,n,i=c(3);l(5),p("title",(t=i.product())==null||t.meta==null||t.meta.grapes==null?null:t.meta.grapes.join(", ")),l(),O((n=i.product())==null||n.meta==null||n.meta.grapes==null?null:n.meta.grapes.join(", "))}}function Mn(e,r){if(e&1&&(o(0,"div",9),m(1,"app-calendar-icon"),o(2,"div",10)(3,"p",11),u(4,"\xC5rgang"),a(),o(5,"p",13),u(6),a()()()),e&2){let t,n=c(3);l(6),O((t=n.product())==null||t.meta==null?null:t.meta.vintage)}}function On(e,r){if(e&1&&(o(0,"div",9),m(1,"app-percentage-icon"),o(2,"div",10)(3,"p",11),u(4,"Alkohol-%"),a(),o(5,"p",13),u(6),a()()()),e&2){let t,n=c(3);l(6),H("",(t=n.product())==null||t.meta==null?null:t.meta.alcohol," %")}}function bn(e,r){if(e&1&&(o(0,"div",9),m(1,"app-clock-icon"),o(2,"div",10)(3,"p",11),u(4,"Gemmepotentiale"),a(),o(5,"p",13),u(6),a()()()),e&2){let t,n=c(3);l(6),O((t=n.product())==null||t.meta==null?null:t.meta.savingPotential)}}function An(e,r){if(e&1&&(d(0,Pn,7,2,"div",9),d(1,Mn,7,1,"div",9),d(2,On,7,1,"div",9),d(3,bn,7,1,"div",9)),e&2){let t,n,i,s,T=c(2);_((((t=T.product())==null||t.meta==null||t.meta.grapes==null?null:t.meta.grapes.length)??0)>0?0:-1),l(),_(!((n=T.product())==null||n.meta==null)&&n.meta.vintage?1:-1),l(),_(!((i=T.product())==null||i.meta==null)&&i.meta.alcohol?2:-1),l(),_(!((s=T.product())==null||s.meta==null)&&s.meta.savingPotential?3:-1)}}function yn(e,r){if(e&1&&(o(0,"div",14),m(1,"app-product-compact-rating-points",15),o(2,"p",16),u(3),a()()),e&2){let t=r.$implicit;l(),p("rating",t),l(),p("title",t==null?null:t.name),l(),H("- ",t==null?null:t.name)}}function In(e,r){if(e&1&&(o(0,"div",7),B(1,yn,4,3,"div",14,xn),a()),e&2){let t,n=c(2);l(),z((t=n.product())==null||t.meta==null||t.meta.ratings==null?null:t.meta.ratings.slice(0,3))}}function Ln(e,r){if(e&1){let t=M();o(0,"p",17),E("click",function(){f(t);let i=c(2);return v(i.toggleInformation())}),u(1,"Se ratings"),a()}}function wn(e,r){if(e&1){let t=M();o(0,"p",17),E("click",function(){f(t);let i=c(2);return v(i.toggleInformation())}),u(1,"Se mere info"),a()}}function kn(e,r){if(e&1&&(o(0,"div",6),d(1,An,4,4)(2,In,3,0,"div",7),d(3,Ln,2,0,"p",8)(4,wn,2,0,"p",8),a()),e&2){let t=c();l(),_(t.showProductDetails()||!t.hasRatings()?1:2),l(2),_(t.showProductDetails()&&t.hasRatings()?3:4)}}var xt=(()=>{class e{constructor(){this.cloudflareCache=g(ue),this.productPriceService=g(Ct),this.product=A.required({transform:t=>(t?.id&&this.cloudflareCache.addTag(`product-${t.id}`),t)}),this.productNumber=A.required(),this.tableNumber=A.required(),this.showProductDetails=I(!1),this.hasRatings=L(()=>(this.product()?.meta?.ratings?.length??0)>0),this.hasProductsDetails=L(()=>!!((this.product()?.meta?.grapes?.length??0)>0||this.product()?.meta?.vintage||this.product()?.meta?.alcohol||this.product()?.meta?.savingPotential)),this.showProductInfoBox=L(()=>this.hasRatings()||this.hasProductsDetails()),this.hasCustomBadge=L(()=>{let t=this.product();return t?.customBadgeHTML?this.productPriceService.calculateDiscountPercentage(t)>0:!1})}toggleInformation(){this.showProductDetails.set(!this.showProductDetails())}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-product-widget"]],inputs:{product:[1,"product"],productNumber:[1,"productNumber"],tableNumber:[1,"tableNumber"]},decls:15,vars:11,consts:[[1,"top-bar"],[1,"title","font-serif",3,"routerLink"],[1,"product-box"],[1,"product-image"],["alt","product image","fill","",3,"ngSrc"],[3,"product"],[1,"product-info"],[1,"ratings"],[1,"product-see-more"],[1,"info-box"],[1,"info-box-text"],[1,"info-title"],[1,"info-data",3,"title"],[1,"info-data"],[1,"rating"],[3,"rating"],[3,"title"],[1,"product-see-more",3,"click"]],template:function(n,i){if
11(n&1&&(o(0,"div",0)(1,"span"),u(2),a(),o(3,"span"),u(4),a()(),o(5,"a",1),u(6),a(),o(7,"div",2)(8,"div",3),d(9,hn,1,1,"img",4),d(10,Sn,1,1,"app-product-custom-badge",5)(11,Nn,1,1,"app-product-discount-label",5),a(),d(12,kn,5,2,"div",6),a(),m(13,"app-tasting-event-rate-and-like",5)(14,"app-tasting-event-price-table",5)),n&2){let s,T,y,D;l(2),H("Bord ",i.tableNumber()),l(2),H("#",i.productNumber()),l(),p("routerLink","/"+((s=i.product())==null?null:s.nodePath)),l(),O((T=i.product())==null?null:T.title),l(2),k("show-big-image",!i.showProductInfoBox()),l(),_((y=(y=i.product())==null||y.image==null?null:y.image.small)?9:-1,y),l(),_(i.hasCustomBadge()?10:!((D=i.product())==null||D.productImageBadge==null)&&D.productImageBadge.type?11:-1),l(2),_(i.showProductInfoBox()?12:-1),l(),p("product",i.product()),l(),p("product",i.product())}},dependencies:[Z,de,fe,ve,xe,he,Se,Ne,K,ge,me],styles:[`[_nghost-%COMP%]{border-radius:5px;background:var(--Hvid, #FFF);display:flex;flex-direction:column;align-items:stretch}.top-bar[_ngcontent-%COMP%]{border-bottom:1px solid var(--Fine-lines, #D3D3D3);display:flex;padding:5px 10px;align-items:center;gap:11px;align-self:stretch}.top-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--Lighter-text, #525F6E);font-weight:400;font-size:14px}.title[_ngcontent-%COMP%]{display:flex;padding:10px;justify-content:flex-start;align-items:flex-start;gap:10px;align-self:stretch;margin-bottom:0;font-size:18px;font-weight:400;line-height:20px;flex-grow:1;text-decoration:none;color:var(--Brdtekst, #212529)}.product-box[_ngcontent-%COMP%]{display:flex;padding:10px;align-items:center;gap:10px;align-self:stretch}.product-box[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%]{position:relative;display:flex;flex:70px 0 0;height:190px;padding:5px 0;flex-direction:column;justify-content:center;align-items:center;gap:5px}.product-box[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%] app-product-custom-badge[_ngcontent-%COMP%], .product-box[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%] app-product-discount-label[_ngcontent-%COMP%]{transform:scale(.6);transform-origin:top left;top:5px;left:0}.product-box[_ngcontent-%COMP%] .product-image.show-big-image[_ngcontent-%COMP%]{flex:1 0 0}.product-box[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-position:center}.product-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;flex:1 0 0;align-self:stretch;width:calc(100% - 80px)}.ratings[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;align-self:stretch}.ratings[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%]{display:flex;padding:5px 10px;flex-direction:column;align-items:flex-start;gap:2px;align-self:stretch;border-bottom:1px solid var(--Supervin-gr, #EFEFEF)}.ratings[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%] app-product-compact-rating-points[_ngcontent-%COMP%]{color:var(--Supervin-orange, #FD8E00);font-size:16px;font-weight:700;line-height:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.ratings[_ngcontent-%COMP%] .rating[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{overflow:hidden;color:var(--Lighter-text, #525F6E);text-overflow:ellipsis;text-wrap:nowrap;font-size:12px;font-weight:400;line-height:15px;margin-bottom:0;width:100%}.info-box[_ngcontent-%COMP%]{display:flex;padding:5px 0;align-items:center;gap:5px;align-self:stretch;border-bottom:1px solid var(--Supervin-gr, #EFEFEF)}.info-box[_ngcontent-%COMP%] .info-box-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;flex:1 0 0;width:calc(100% - 35px)}.info-box[_ngcontent-%COMP%] .info-box-text[_ngcontent-%COMP%] .info-title[_ngcontent-%COMP%]{overflow:hidden;color:var(--Lighter-text, #525F6E);text-overflow:ellipsis;font-size:12px;font-weight:400;line-height:20px;margin-bottom:-12px;margin-top:-2px;white-space:nowrap;width:100%}.info-box[_ngcontent-%COMP%] .info-box-text[_ngcontent-%COMP%] .info-data[_ngcontent-%COMP%]{overflow:hidden;color:var(--Brdtekst, #212529);text-overflow:ellipsis;font-size:15px;font-weight:400;line-height:20px;margin-bottom:-3px;white-space:nowrap;width:100%}.product-see-more[_ngcontent-%COMP%]{display:flex;height:25px;flex-direction:column;justify-content:flex-end;align-self:stretch;color:var(--Supervin-bourgogne-2, #5C0A31);font-size:15px;font-weight:600;line-height:20px;text-decoration-line:underline;margin-bottom:0;cursor:pointer;margin-top:auto} 12/*# sourceMappingURL=tasting-event-product-widget.component-MWLU23JU.css.map */`],changeDetection:0})}}return e})();var Pe=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-arrow-right-tasting-event-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","30","height","31","viewBox","0 0 30 31","fill","none"],["d","M11.25 23L18.75 15.5L11.25 8","stroke","#667085","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{min-height:30px;min-width:30px;display:inline-block;line-height:0} 13/*# sourceMappingURL=arrow-right-tasting-event-icon.component-HRFNYCXZ.css.map */`],changeDetection:0})}}return e})();var Me=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-arrow-down-tasting-event-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","25","height","26","viewBox","0 0 25 26","fill","none"],["d","M6.25 9.875L12.5 16.125L18.75 9.875","stroke","#667085","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{min-height:25px;min-width:25px;display:inline-block;line-height:0} 14/*# sourceMappingURL=arrow-down-tasting-event-icon.component-REUJS3ZM.css.map */`],changeDetection:0})}}return e})();var ht=(e,r)=>["/event",e,"borde",r],Rn=(e,r)=>
14r==null?null:r.id;function Dn(e,r){if(e&1&&(o(0,"a",1),m(1,"app-arrow-left-tasting-event-icon"),a()),e&2){let t=c(2);p("routerLink",J(1,ht,t.tastingEvent().urlKey,t.lastTableNumber()))}}function Vn(e,r){if(e&1&&(o(0,"a",1),m(1,"app-arrow-left-tasting-event-icon"),a()),e&2){let t=c(),n=c();p("routerLink",J(1,ht,n.tastingEvent().urlKey,t-1))}}function Gn(e,r){if(e&1&&(o(0,"option",5),u(1),a()),e&2){let t=r.$implicit,n=c();p("value",t==null?null:t.number)("selected",(t==null?null:t.number)===n),l(),H(" ",t==null?null:t.number," ")}}function Fn(e,r){if(e&1&&(o(0,"a",1),m(1,"app-arrow-right-tasting-event-icon"),a()),e&2){let t=c(2);p("routerLink",J(1,ht,t.tastingEvent().urlKey,t.firstTableNumber()))}}function $n(e,r){if(e&1&&(o(0,"a",1),m(1,"app-arrow-right-tasting-event-icon"),a()),e&2){let t=c(),n=c();p("routerLink",J(1,ht,n.tastingEvent().urlKey,t+1))}}function Un(e,r){if(e&1){let t=M();d(0,Dn,2,4,"a",1)(1,Vn,2,4,"a",1),o(2,"div",2)(3,"label",3),u(4,"Bord"),a(),o(5,"select",4),E("change",function(i){f(t);let s=c();return v(s.selectChange(i))}),B(6,Gn,2,3,"option",5,Rn),a(),o(8,"label",6),m(9,"app-arrow-down-tasting-event-icon"),a()(),d(10,Fn,2,4,"a",1)(11,$n,2,4,"a",1)}if(e&2){let t,n=c();_(n.isFirstTable()?0:1),l(6),z((t=n.tastingEvent())==null?null:t.tables),l(4),_(n.isLastTable()?10:11)}}var Oe=(()=>{class e{constructor(){this.router=g(it),this.currentTableNumber=A.required(),this.tastingEvent=A.required(),this.firstTableNumber=L(()=>this.tastingEvent().tables?.reduce((t,n)=>Math.min(t,n?.number??1),1)),this.lastTableNumber=L(()=>this.tastingEvent().tables?.reduce((t,n)=>Math.max(t,n?.number??1),1)),this.isFirstTable=L(()=>this.currentTableNumber()===this.firstTableNumber()),this.isLastTable=L(()=>this.currentTableNumber()===this.lastTableNumber())}selectChange(t){this.router.navigate(["event",this.tastingEvent().urlKey,"borde",t.target.value])}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-table-page-selector"]],inputs:{currentTableNumber:[1,"currentTableNumber"],tastingEvent:[1,"tastingEvent"]},decls:2,vars:1,consts:[[1,"table-page-selector"],[3,"routerLink"],[1,"position-relative","select-container"],["for","table-select",1,"select-label"],["id","table-select",1,"form-select",3,"change"],[3,"value","selected"],["for","table-select",1,"arrow-down"]],template:function(n,i){if(n&1&&(o(0,"div",0),d(1,Un,12,2),a()),n&2){let s;l(),_((s=i.currentTableNumber())?1:-1,s)}},dependencies:[ft,Pe,Zt,jt,Xt,Wt,K,Me],styles:[`.table-page-selector[_ngcontent-%COMP%]{display:flex;padding:10px;align-items:center;gap:10px;flex:100% 1 1;justify-content:space-between}.select-container[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:25px;cursor:pointer}.select-container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:25px}.form-select[_ngcontent-%COMP%]{padding:6px 66px 6px 56px;border-radius:2px;border:1px solid var(--Fine-lines, #D3D3D3);background:var(--Light-fill, #F9F9F9)}select[_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}.select-label[_ngcontent-%COMP%]{position:absolute;top:7px;left:16px}label[_ngcontent-%COMP%]{pointer-events:none}.arrow-down[_ngcontent-%COMP%]{position:absolute;top:5px;right:8px}@media(max-width:991.98px){.select-container[_ngcontent-%COMP%], .select-container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:22px;font-weight:600;line-height:25px}.form-select[_ngcontent-%COMP%]{padding:6px 66px 6px 76px;border-radius:2px;border:1px solid var(--Fine-lines, #D3D3D3);background:var(--Light-fill, #F9F9F9)}} 15/*# sourceMappingURL=tasting-event-table-page-selector.component-N2F4LLSK.css.map */`],changeDetection:0})}}return e})();var Bn=(e,r)=>r==null?null:r.id;function zn(e,r){if(e&1&&m(0,"img",7),e&2){let t=c();p("ngSrc",t.countryIcon)}}function Hn(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t=c();l(),O(t.area)}}function jn(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t=c();l(),O(t.country)}}function Xn(e,r){if(e&1&&(o(0,"div",4)(1,"p",5),u(2),a(),o(3,"div",6),d(4,zn,1,1,"img",7),d(5,Hn,2,1,"p")(6,jn,2,1,"p"),a()()),e&2){let t=r;l(2),O(t.name),l(2),_(t.countryIcon?4:-1),l(),_(t.area?5:6)}}function Wn(e,r){if(e&1&&d(0,Xn,7,3,"div",4),e&2){let t,n=c();_((t=n.tastingEventTable())?0:-1,t)}}function Zn(e,r){if(e&1&&m(0,"img",7),e&2){let t=c(2);p("ngSrc",t.countryIcon)}}function Kn(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t=c(2);l(),O(t.area)}}function qn(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t=c(2);l(),O(t.country)}}function Yn(e,r){if(e&1&&m(0,"app-tasting-event-table-page-selector",14),e&2){let t=c(3);p("currentTableNumber",t.tableNumber())("tastingEvent",r)}}function Qn(e,r){if(e&1&&(o(0,"div",8)(1,"div",13)(2,"h3",5),u(3),a(),o(4,"div",6),d(5,Zn,1,1,"img",7),d(6,Kn,2,1,"p")(7,qn,2,1,"p"),a()(),d(8,Yn,1,2,"app-tasting-event-table-page-selector",14),a()),e&2){let t,n=c(),i=c();l(3),O(n.name),l(2),_(n.countryIcon?5:-1),l(),_(n.area?6:7),l(2),_((t=i.tastingEvent())?8:-1,t)}}function Jn(e,r){if(e&1&&m(0,"app-tasting-event-product-widget",11),e&2){let t=r.$implicit,n=c();p("product",(t==null?null:t.product)??null)("productNumber",(t==null?null:t.number)??null)("tableNumber",(n==null?null:n.number)??null)}}function ti(e,r){if(e&1&&(o(0,"div",17),m(1,"img",22),a()),e&2){let t=c(2);l(),p("ngSrc",r??"")("alt",(t.producer==null?null:t.producer.name)??"")}}function ei(e,r){if(e&1&&(o(0,"a",21),x(1,2),a()),e&2){let t=c(2);p("routerLink",r),l(),q(t.producer==null?null:t.producer.name),Y(1)}}function ni(e,r){if(e&1&&(o(0,"div",12)(1,"h4",15),x(2,1),a(),o(3,"div",16),d(4,ti,2,2,"div",17),o(5,"div",18)(6,"div",19),m(7,"div",20),j(8,"replaceImg"),j(9,"safeHtml"),a()()(),d(10,ei,2,2,"a",21),a()),e&2){let t,n,i=c(),s=c();l(2),q(i==null||i.producer==null?null:i.producer.name),Y(2),l(2),_((t=i.producer==null?null:i.producer.image)?4:-1,t),l(2),p("useReadMore",!0)("maxBo
15dyHeight",s.isLarge()?240:148),l(),p("innerHTML",W(9,8,W(8,6,i.producer==null?null:i.producer.description)),Lt),l(3),_((n=i.producer==null?null:i.producer.urlPath)?10:-1,n)}}function ii(e,r){if(e&1&&(d(0,Qn,9,4,"div",8),o(1,"div",9)(2,"div",10),B(3,Jn,1,3,"app-tasting-event-product-widget",11,Bn),a()(),d(5,ni,11,10,"div",12)),e&2){let t=r,n=c();_(n.isLarge()?0:-1),l(3),z(t==null?null:t.products),l(2),_(t.producer!=null&&t.producer.description?5:-1)}}function oi(e,r){e&1&&m(0,"app-loading-icon")}function ai(e,r){if(e&1&&m(0,"app-tasting-event-table-page-selector",14),e&2){let t=c(2);p("currentTableNumber",t.tableNumber())("tastingEvent",r)}}function ri(e,r){if(e&1&&d(0,ai,1,2,"app-tasting-event-table-page-selector",14),e&2){let t,n=c();_((t=n.tastingEvent())?0:-1,t)}}var be=(()=>{class e{constructor(){this.tastingEventService=g(U),this.activatedRoute=g(R),this.gridService=g(Tt),this.pageService=g(G),this.tableNumber=I(null),this.isLarge=this.gridService.isLargeSignal;let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId"),n=this.activatedRoute.snapshot.paramMap.get("tableNumber");!t||!n||(this.tableNumber.set(Number(n)),this.tastingEventTable=V(this.tastingEventService.getWineFestivalTableById(t,n).pipe(st(i=>i.data.getWineFestivalTable||void 0))),this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t)),this.pageService.setPage({path:"/event/"+t+"/borde/"+n,title:$localize`Supervin - Event bord # ${n}`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"}))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-table"]],decls:6,vars:5,consts:()=>{let t;t=$localize`Om ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let n;return n=$localize`Se alle produkter fra ${"\uFFFD0\uFFFD"}:INTERPOLATION:`,[["pageTitleTemplate",""],t,n,[3,"navigateBackRoute","pageTitleTemplate","tastingEvent"],[1,"table-title-mobile"],[1,"font-serif"],[1,"table-subtitle"],["width","20","height","20","alt","",3,"ngSrc"],[1,"table-title-box-desktop","hide-element-on-mobile"],[1,"product-list-container"],[1,"product-list"],[3,"product","productNumber","tableNumber"],[1,"producer-container"],[1,"table-title-and-subtitle"],[3,"currentTableNumber","tastingEvent"],[1,"producer-title"],[1,"producer-information"],[1,"producer-image"],[1,"producer-text"],["app-read-more","",3,"useReadMore","maxBodyHeight"],["data-rr-shared","true",1,"producer-description",3,"innerHTML"],[3,"routerLink"],["fill","",3,"ngSrc","alt"]]},template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",3),et(1,Wn,1,1,"ng-template",null,0,_t),d(3,ii,6,2)(4,oi,1,0,"app-loading-icon"),d(5,ri,1,1),a()),n&2){let s,T,y=pt(2);p("navigateBackRoute","/event/"+((s=i.tastingEvent())==null?null:s.urlKey)+"/borde")("pageTitleTemplate",y)("tastingEvent",i.tastingEvent()),l(3),_((T=i.tastingEventTable())?3:4,T),l(2),_(i.isLarge()?-1:5)}},dependencies:[$,F,xt,Z,Oe,K,ie,_e,ce],styles:[`.table-title-mobile[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1 0 0;width:100%;padding:0 40px}.table-title-mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Brdtekst, #212529);text-align:center;font-size:25px;font-weight:400;line-height:100%;margin-bottom:0;width:100%}.table-title-mobile[_ngcontent-%COMP%] .table-subtitle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.table-title-mobile[_ngcontent-%COMP%] .table-subtitle[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Form-labels, #424549);font-size:16px;font-weight:400;line-height:100%;margin-bottom:0}.table-title-box-desktop[_ngcontent-%COMP%]{display:flex;padding:10px 0;align-items:center;gap:10px;align-self:stretch;background:var(--Hvid, #FFF);border-radius:8px}.table-title-box-desktop[_ngcontent-%COMP%] .table-title-and-subtitle[_ngcontent-%COMP%]{display:flex;padding:10px 25px;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;flex:1 0 0}.table-title-box-desktop[_ngcontent-%COMP%] .table-title-and-subtitle[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:var(--Brdtekst, #212529);font-size:30px;font-weight:700;line-height:40px;margin-bottom:0}.table-title-box-desktop[_ngcontent-%COMP%] .table-title-and-subtitle[_ngcontent-%COMP%] .table-subtitle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.table-title-box-desktop[_ngcontent-%COMP%] .table-title-and-subtitle[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Form-labels, #424549);font-size:16px;font-weight:400;line-height:25px;margin-bottom:0}.product-list-container[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));padding:15px;align-items:stretch;gap:25px;align-self:stretch}.product-list-container[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] app-tasting-event-product-widget[_ngcontent-%COMP%]{min-width:285px}.producer-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:10px 15px;justify-content:center;align-items:flex-start;gap:10px}.producer-container[_ngcontent-%COMP%] .producer-title[_ngcontent-%COMP%]{font-size:25px;font-weight:700;line-height:35px;margin-bottom:0}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%]{display:flex}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-image[_ngcontent-%COMP%]{width:285px;height:354px;flex-shrink:0}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:fit-content!important;border-radius:5px}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;flex:1 0 0}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-text[_ngcontent-%COMP%] .read-more-btn{margin:4px 0}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-text[_ngcontent-%COMP%] .producer-description[_ngcontent-%COMP%] p{font-size:16px;font-weight:400;line-height:25px;margin-bottom:0}.producer-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline;font-size:16px;font-weight:400;line-height:20px}@media(max-width:991.98px){app-tasting-event-table-page-selector[_ngcontent-%COMP%]{position:fixed;bottom:0;right:0;left:0;border-top:1px solid var(--Gr-outline, #CFD4DA);background:var(--Hvid, #FFF);display:flex;justify-content:space-between;align-items:center;align-self:stretch}.product-list-container[_ngcontent-%COMP%]{overflow-x:auto;display:flex}.product-list-container[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%]{display:flex;gap:15px}.product-list-container[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] app-tasting-event-product-widget[_ngcontent-%COMP%]{max-width:285px}.producer-container[_ngcontent-%COMP%] .producer-title[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:20px}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-image[_ngcontent-%COMP%]{width:140px;height:175px}.producer-container[_ngcontent-%COMP%] .producer-information[_ngcontent-%COMP%] .producer-description[_ngcontent-%COMP%] p{font-size:14px;line-height:20px}.producer-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}} 16/*# sourceMappingURL=tasting-event-table.component-BCYR2DHO.css.map */`],changeDetection:0})}}return e})();var Ae=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-arrow-right-tasting-event-table-list-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 20 20","fill","none"],["d","M7.5 15L12.5 10L7.5 5","stroke","#667085","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:20px;width:20px;
16display:inline-block;color:#212529;line-height:0} 17/*# sourceMappingURL=arrow-right-tasting-event-table-list-icon.component-QNVJPCTU.css.map */`],changeDetection:0})}}return e})();var li=(e,r)=>r==null?null:r.id;function ci(e,r){if(e&1&&m(0,"img",11),e&2){let t=c().$implicit;p("ngSrc",(t==null?null:t.countryIcon)??"")}}function si(e,r){e&1&&m(0,"p")}function pi(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t=c().$implicit;l(),O(t==null?null:t.area)}}function di(e,r){if(e&1&&(o(0,"p"),u(1),a()),e&2){let t=c().$implicit;l(),O(t==null?null:t.country)}}function _i(e,r){if(e&1){let t=M();o(0,"div",10),E("click",function(){let i=f(t).$implicit,s=c(2);return v(s.goToTable(i==null?null:i.number))}),o(1,"p"),u(2),a(),d(3,ci,1,1,"img",11)(4,si,1,0,"p"),d(5,pi,2,1,"p")(6,di,2,1,"p"),o(7,"p"),u(8),a(),m(9,"app-arrow-right-tasting-event-table-list-icon"),a()}if(e&2){let t=r.$implicit;l(2),O(t==null?null:t.number),l(),_(t!=null&&t.countryIcon?3:4),l(2),_(t!=null&&t.area?5:6),l(3),O(t==null?null:t.name)}}function mi(e,r){if(e&1&&B(0,_i,10,4,"div",9,li),e&2){let t=r;z(t==null?null:t.tables)}}var ye=(()=>{class e{constructor(){this.tastingEventService=g(U),this.activatedRoute=g(R),this.router=g(it),this.pageService=g(G);let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");t&&(this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t)),this.pageService.setPage({path:"/event/"+t+"/borde",title:$localize`Supervin - Event bordliste`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"}))}goToTable(t){this.router.navigate([t],{relativeTo:this.activatedRoute})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-table-list"]],decls:14,vars:2,consts:()=>{let t;t=$localize`Borde`;let n;n=$localize`Borde`;let i;i=$localize`Område`;let s;return s=$localize`Producent`,[n,i,s,["pageTitle",t,3,"tastingEvent"],[1,"table-list-container"],[1,"hide-element-on-mobile","desktop-title-box"],[1,"table-list"],[1,"table","table-header"],[2,"grid-column","span 2"],[1,"table","table-body"],[1,"table","table-body",3,"click"],["width","20","height","20","alt","",3,"ngSrc"]]},template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",3)(1,"div",4)(2,"div",5)(3,"h1"),x(4,0),a()(),o(5,"div",6)(6,"div",7)(7,"p"),u(8,"#"),a(),o(9,"p",8),x(10,1),a(),o(11,"p",8),x(12,2),a()(),d(13,mi,2,0),a()()()),n&2){let s;p("tastingEvent",i.tastingEvent()),l(13),_((s=i.tastingEvent())?13:-1,s)}},dependencies:[$,Z,Ae],styles:[`.table-list-container[_ngcontent-%COMP%]{border-radius:8px;background:var(--Hvid, #FFF)}.desktop-title-box[_ngcontent-%COMP%]{border-bottom:1px solid var(--Fine-lines, #D3D3D3);display:flex;padding:20px 25px;align-items:center}.desktop-title-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-family:"PT Serif";font-size:30px;font-weight:700;line-height:40px;margin-bottom:0}.table-list[_ngcontent-%COMP%]{display:flex;padding:10px 25px;flex-direction:column;align-items:flex-start;flex:1 0 0;align-self:stretch}@media(max-width:991.98px){.table-list[_ngcontent-%COMP%]{padding:10px 15px}}.table[_ngcontent-%COMP%]{display:grid;grid-template-columns:22px 20px 80px 1fr 20px;padding:10px;align-items:center;gap:10px;align-self:stretch;border-bottom:1px solid var(--Supervin-gr, #EFEFEF);background:var(--Hvid, #FFF);margin-bottom:0}.table[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{overflow:hidden;margin-bottom:0;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:16px}.table-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:600}.table-body[_ngcontent-%COMP%]{cursor:pointer}@media(max-width:991.98px){.table-list-container[_ngcontent-%COMP%]{border-radius:0}} 18/*# sourceMappingURL=tasting-event-table-list.component-L5DM2KEH.css.map */`],changeDetection:0})}}return e})();var Ie=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-list-bullet-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"size-6"],["stroke-linecap","round","stroke-linejoin","round","d","M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:24px;width:24px;display:inline-block;color:#fff;line-height:0} 19/*# sourceMappingURL=list-bullet-icon.component-KVA5JIKH.css.map */`],changeDetection:0})}}return e})();var Le=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-percent-badge-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"size-6"],["stroke-linecap","round","stroke-linejoin","round","d","m8.99 14.993 6-6m6 3.001c0 1.268-.63 2.39-1.593 3.069a3.746 3.746 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043 3.745 3.745 0 0 1-3.068 1.593c-1.268 0-2.39-.63
19-3.068-1.593a3.745 3.745 0 0 1-3.296-1.043 3.746 3.746 0 0 1-1.043-3.297 3.746 3.746 0 0 1-1.593-3.068c0-1.268.63-2.39 1.593-3.068a3.746 3.746 0 0 1 1.043-3.297 3.745 3.745 0 0 1 3.296-1.042 3.745 3.745 0 0 1 3.068-1.594c1.268 0 2.39.63 3.068 1.593a3.745 3.745 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.297 3.746 3.746 0 0 1 1.593 3.068ZM9.74 9.743h.008v.007H9.74v-.007Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:24px;width:24px;display:inline-block;color:#fff;line-height:0} 20/*# sourceMappingURL=percent-badge-icon.component-7MRRO4DB.css.map */`],changeDetection:0})}}return e})();var we=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-heart-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M21 8.25C21 5.765 18.901 3.75 16.312 3.75C14.377 3.75 12.715 4.876 12 6.483C11.285 4.876 9.623 3.75 7.687 3.75C5.1 3.75 3 5.765 3 8.25C3 15.47 12 20.25 12 20.25C12 20.25 21 15.47 21 8.25Z","stroke","white","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:24px;width:24px;display:inline-block;line-height:0} 21/*# sourceMappingURL=heart-icon.component-UVSIYCJH.css.map */`],changeDetection:0})}}return e})();var ke=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-flag-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M3 3V4.5M3 4.5L5.77 3.807C7.8544 3.28605 10.0564 3.52795 11.978 4.489L12.086 4.543C13.9688 5.4843 16.1219 5.73589 18.171 5.254L21.281 4.522C20.9029 8.01155 20.9046 11.5318 21.286 15.021L18.172 15.753C16.1227 16.2354 13.9692 15.9842 12.086 15.043L11.978 14.989C10.0564 14.028 7.8544 13.786 5.77 14.307L3 15M3 4.5V15M3 21V15","stroke","white","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:24px;width:24px;display:inline-block;line-height:0} 22/*# sourceMappingURL=flag-icon.component-FZRS3CVO.css.map */`],changeDetection:0})}}return e})();var Re=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-map-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M9 6.75001V15M15 9.00001V17.25M15.503 20.748L20.378 18.311C20.759 18.121 21 17.731 21 17.305V4.82001C21 3.98401 20.12 3.44001 19.372 3.81401L15.503 5.74801C15.186 5.90701 14.813 5.90701 14.497 5.74801L9.503 3.25201C9.34682 3.17394 9.17461 3.1333 9 3.1333C8.82539 3.1333 8.65318 3.17394 8.497 3.25201L3.622 5.68901C3.24 5.88001 3 6.27001 3 6.69501V19.18C3 20.016 3.88 20.56 4.628 20.186L8.497 18.252C8.814 18.093 9.187 18.093 9.503 18.252L14.497 20.749C14.814 20.907 15.187 20.907 15.503 20.749V20.748Z","stroke","white","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:24px;width:24px;display:inline-block;line-height:0} 23/*# sourceMappingURL=map-icon.component-ZSXW6F3C.css.map */`],changeDetection:0})}}return e})();var De=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-star-icon"]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M11.6364 3.34882C11.6787 3.24566 11.7507 3.1574 11.8433 3.09528C11.9359 3.03317 12.0449 3 12.1564 3C12.2679 3 12.3769 3.03317 12.4695 3.09528C12.5621 3.1574 12.6341 3.24566 12.6764 3.34882L14.8014 8.45982C14.8412 8.55546 14.9066 8.63827 14.9904 8.69914C15.0742 8.76001 15.1732 8.79658 15.2764 8.80482L20.7944 9.24682C21.2934 9.28682 21.4954 9.90982 21.1154 10.2348L16.9114 13.8368C16.8329 13.904 16.7743 13.9915 16.7422 14.0898C16.7101 14.188 16.7057 14.2932 16.7294 14.3938L18.0144 19.7788C18.0402 19.8869 18.0335 20.0001 17.995 20.1043C17.9565 20.2085 17.8879 20.299 17.798 20.3642C17.7082 20.4295 17.601 20.4667 17.49 20.4711C17.379 20.4754 17.2692 20.4468 17.1744 20.3888L12.4494 17.5038C12.3612 17.4499 12.2598 17.4214 12.1564 17.4214C12.053 17.4214 11.9516 17.4499 11.8634 17.5038L7.13841 20.3898C7.04367 20.4478 6.93387 20.4764 6.82287 20.4721C6.71187 20.4677 6.60466 20.4305 6.51478 20.3652C6.4249 20.3 6.35638 20.2095 6.31787 20.1053C6.27936 20.0011 6.27259 19.8879 6.29841 19.7798L7.58341 14.3938C7.60725 14.2932 7.60286 14.188 7.57075 14.0897C7.53864 13.9915 7.48005 13.9039 7.40141 13.8368L3.19741 10.2348C3.11276 10.1627 3.05142 10.067 3.02117 9.95994C2.99093 9.85289 2.99313 9.73927 3.0275 9.63347C3.06188 9.52768 3.12687 9.43446 3.21427 9.36563C3.30166 9.2968 3.40751 9.25545 3.51841 9.24682L9.03641 8.80482C9.13966 8.79658 9.23864 8.76001 9.32244 8.69914C9.40625 8.63827 9.47164 8.55546 9.51141 8.45982L11.6364 3.34882Z","stroke","white","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"]],template:function(n,i){n&1&&(h(),S(0,"svg",0),P(1,"path",1),N())},styles:[`[_nghost-%COMP%]{height:24px;width:24px;display:inline-block;line-height:0} 24/*# sourceMappingURL=star-icon.component-OJXHU5TR.css.map */`],changeDetection:0})}}return e})();var gi=()=>["alle-vine"],ui=()=>["borde"],Ci=()=>["smageliste"],Ti=()=>["ratings"],Ei=()=>["find-vej"];function fi(e,r){if(e&1&&m(0,"img",11),e&2){let t,n=c();p("ngSrc",((t=n.tastingEvent())==null?null:t.image)??"")}}function vi(e,r){e&1&&(o(0,"a",16),m(1,"app-map-icon"),o(2,"p"),x(3,6),a()()),e&2&&p("routerLink",nt(1,Ei))}function xi(e,r){if(e&1&&(o(0,"a",16),m(1,"app-percent-badge-icon"),o(2,"p"),x(3,7),a()()),e&2){let t,n=c(2);p("routerLink","/"+((t=n.tastingEvent())==null?null:t.discountPagePath))}}function hi(e,r){if(e&1&&(o(0,"div",13)(1,"h1",14),kt(2,1),m(3,"br"),Rt(),a(),o(4,"div",15)(5,"a",16),m(6,"app-list-bullet-icon"),o(7,"p"),x(8,2),a()(),o(9,"a",16),m(10,"app-flag-icon"),o(11,"p"),x(12,3),a()(),o(13,"a",16),m(14,"app-heart-icon"),o(15,"p"),x(16,4),a()(),o(17,"a",16),m(18,"app-star-icon"),o(19,"p"),x(20,5),a()(),d(21,vi,4,2,"a",16),d(22,xi,4,1,"a",16),a()()),e&2){let t,n,i,s=c();l(3),q((t=s.tastingEvent())==null?null:t.name),Y(2),l(2),p("routerLink",nt(7,gi)),l(4),p("routerLink",nt(8,ui)),l(4),p("routerLink",nt(9,Ci)),l(4),p("routerLink",nt(10,Ti)),l(4),_((n=s.tastingEvent())!=null&&n.mapImage?21:-1),l(),_((i=s.tastingEvent())!=null&&i.discountPagePath?22:-1)}}function Si(e,r){e&1&&m(0,"app-tasting-event-not-found")}function Ni(e,r){e&1&&m(0,"app-loading-icon")}var Ve=(()=>{class e{constructor(){this.tastingEventService=g(U),this.activatedRoute=g(
24R),this.pageService=g(G);let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");t&&(this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t)),this.pageService.setPage({path:"/event/"+t,title:$localize`Supervin - Event startside`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"}))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-start-page"]],decls:10,vars:4,consts:()=>{let t;t=$localize`Event billed`;let n;n=$localize` Velkommen til ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let i;i=$localize` Velkommen til ${"\uFFFD#3\uFFFD\uFFFD/#3\uFFFD"}:LINE_BREAK: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let s;s=$localize`Alle vine`;let T;T=$localize`Borde`;let y;y=$localize`Min smageliste`;let D;D=$localize`Mine ratings`;let lt;lt=$localize`Find vej`;let ct;return ct=$localize`DE BEDSTE TILBUD`,[n,i,s,T,y,D,lt,ct,[1,"hide-element-on-mobile",3,"tastingEvent"],[1,"desktop-container"],[1,"desktop-title-box"],["alt",t,"width","1000","height","1000",3,"ngSrc"],[1,"hide-element-on-desktop"],[1,"mobile-menu"],[1,"font-serif"],[1,"orange-box-container"],[1,"orange-box",3,"routerLink"]]},template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",8)(1,"div",9)(2,"h1",10),x(3,0),a(),o(4,"div"),d(5,fi,1,1,"img",11),a()()(),o(6,"div",12),d(7,hi,23,11,"div",13)(8,Si,1,0,"app-tasting-event-not-found")(9,Ni,1,0,"app-loading-icon"),a()),n&2){let s,T,y;p("tastingEvent",i.tastingEvent()),l(3),q((s=i.tastingEvent())==null?null:s.name),Y(3),l(2),_((T=i.tastingEvent())!=null&&T.image?5:-1),l(2),_((y=i.tastingEvent())!=null&&y.id?7:i.tastingEvent()?8:9)}},dependencies:[ke,Re,Le,F,K,we,Ie,$,Z,De,vt],styles:[`[_nghost-%COMP%]{display:block}.desktop-container[_ngcontent-%COMP%]{background:var(--Hvid, #FFF);padding-bottom:30px;border-radius:8px}.desktop-title-box[_ngcontent-%COMP%]{display:flex;padding:30px 50px 20px;align-items:center;align-self:stretch;border-bottom:1px solid var(--Fine-lines, #D3D3D3);font-family:"PT Serif";font-size:30px;font-weight:700;line-height:40px;margin-bottom:0}.orange-box-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr) 1fr;gap:20px;padding:0 10px}.orange-box[_ngcontent-%COMP%]{padding:30px 20px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border-radius:5px;border:1px solid var(--Fine-lines, #D3D3D3);background:var(--Supervin-orange, #FD8E00);text-decoration:none}.orange-box[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Hvid, #FFF);font-size:17px;font-weight:600;line-height:100%;text-align:center;margin-bottom:0}.orange-box.orange-box-big[_ngcontent-%COMP%]{grid-column:span 2;padding:35px 20px}.mobile-menu[_ngcontent-%COMP%]{padding:30px 15px;margin-bottom:30px}@media(max-width:991.98px){h1[_ngcontent-%COMP%]{font-size:24px;font-weight:400;padding:10px;text-align:center;margin-bottom:15px}} 25/*# sourceMappingURL=tasting-event-start-page.component-GBBYJQJS.css.map */`],changeDetection:0})}}return e})();var Pi=["instantSearch"],Mi=(e,r)=>({algoliaAttribute:e,label:r,instantSearchType:"refinement-list",hidden:!1}),Oi=(e,r)=>r.key;function bi(e,r){e&1&&m(0,"app-instantsearch-configure",5),e&2&&p("searchParameters",r)}function Ai(e,r){if(e&1){let t=M();o(0,"div",18),E("selectChange",function(){let i=f(t).$implicit,s=c(2);return v(s.selectChange(i.key))}),a()}if(e&2){let t=r.$implicit,n=c(2);k("d-none",t.label==="HIDDEN")("selected-filter",n.selectedAttribute()===t.key),p("attribute",J(8,Mi,t.key,t.label))("isSelected",n.selectedAttribute()===t.key)("hasLoadedHits",!0)("hideExtraFilters",!1)}}function yi(e,r){if(e&1){let t=M();o(0,"div",16)(1,"button",19),E("click",function(){f(t);let i=c(2);return v(i.toggleFilters())}),x(2,2),a()()}if(e&2){let t=c(2);l(2),q(t.hitCount()),Y(2)}}function Ii(e,r){if(e&1&&m(0,"app-tasting-event-product-widget",20),e&2){let t=r.item,n=c(2);p("product",t.wineProduct??null)("productNumber",n.getProductNumberByAlgoliaProduct(t.raw)??null)("tableNumber",n.getTableNumberByAlgoliaProduct(t.raw)??null)}}function Li(e,r){if(e&1){let t=M();o(0,"app-instantsearch",4),E("changeEvent",function(i){f(t);let s=c();return v(s.hitsChange(i))}),d(1,bi,1,1,"app-instantsearch-configure",5),o(2,"div",6)(3,"div",7)(4,"h1"),u(5),a()(),o(6,"div",8),m(7,"app-tasting-event-searchbox",9),o(8,"div",10),E("click",function(){f(t);let i=c();return v(i.toggleFilters())}),o(9,"span",11),x(10,1),a(),h(),o(11,"svg",12),m(12,"path",13),a()()(),yt(),o(13,"div",14),B(14,Ai,1,11,"div",15,Oi),a(),d(16,yi,3,1,"div",16),a(),et(17,Ii,1,3,"ng-template",null,0,_t),m(19,"app-search-page-results",17),a()}if(e&2){let t,n=pt(18),i=c();p("config",r),l(),_((t=i.filter())?1:-1,t),l(),k("filters-open",i.showFilters()),l(3),O(i.pageTitle()),l(8),k("d-none",!i.showFilters()),l(),z(i.attributes),l(2),_(i.showFilters()?16:-1),l(3),p("hitsTemplate",n)("hitMinWidthPx",285)}}var rt=(()=>{class e{set instantSearch(t){this._instantSearch=t}constructor(){this.algoliaService=g(Q),this.gridService=g(Tt),this.document=g(It),this.tastingEvent=A.required(),this.vismaProductNumbers=A([]),this.hitCount=I(0),this.pageTitle=A.required(),this.filter=L(()=>{let t=this.vismaProductNumbers();if(!(!t||t.length===0))return{filters:this.algoliaService.getVismaIdFilter(t)}}),this.attributes=[{key:"country",label:$localize`Land`},{key:"area",label:$localize`Område`},{key:"district",label:$localize`Distrikt`},{key:"facet_types",label:$localize`Type`},{key:"producer",label:$localize`Producent`},{key:"field_grapes",label:$localize`Drue`},{key:"tasting_event_url_keys",label:"HIDDEN"}],this.config=L(()=>{let t=this.tastingEvent();if(!t?.urlKey||!t?.name)throw new Error("Missing urlKey or name for event");return this.algoliaService.searchConfigWithUIState(void 0,{objectIds:[],storyblok:void 0,types:[{name:t.urlKey,attribute:"tasting_event_url_keys"}],title:t.name},()=>this._instantSearch,t.algoliaIndex??null)()}
25),this.showFilters=I(!1),this.selectedAttribute=I(void 0),tt(()=>{let t=this.showFilters();this.gridService.isLargeSignal()||(t?this.document.body.classList.add("stop-scrolling"):this.document.body.classList.remove("stop-scrolling"))})}toggleFilters(){this.showFilters.update(t=>!t)}selectChange(t){this.selectedAttribute()===t?this.selectedAttribute.set(void 0):this.selectedAttribute.set(t)}getEventForProduct(t){let n=t.tasting_events;if(n&&Array.isArray(n)&&(n=n[0]),!n)return;let i=this.tastingEvent().urlKey;if(i)return n[i]}getProductNumberByAlgoliaProduct(t){return this.getEventForProduct(t)?.productNumber}getTableNumberByAlgoliaProduct(t){return this.getEventForProduct(t)?.tableNumber}hitsChange({results:t}){t&&this.hitCount.set(t.nbHits)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-product-list"]],viewQuery:function(n,i){if(n&1&&Gt(Pi,5),n&2){let s;Ft(s=$t())&&(i.instantSearch=s.first)}},inputs:{tastingEvent:[1,"tastingEvent"],vismaProductNumbers:[1,"vismaProductNumbers"],pageTitle:[1,"pageTitle"]},decls:1,vars:1,consts:()=>{let t;t=$localize`Filtre`;let n;return n=$localize`Se ${"\uFFFD0\uFFFD"}:INTERPOLATION: produkter`,[["productsTemplate",""],t,n,[3,"config"],[3,"changeEvent","config"],[3,"searchParameters"],[1,"product-list-top"],[1,"product-list-title","hide-element-on-mobile"],[1,"d-flex","filter-wrapper"],[1,"flex-grow-1"],[1,"filter-toggle-button",3,"click"],[1,"system-text-14"],["xmlns","http://www.w3.org/2000/svg","width","13","height","13","viewBox","0 0 13 13","fill","none"],["d","M6.5 0.875002C8.22188 0.875002 9.90938 1.02 11.5519 1.29875C11.885 1.355 12.125 1.64625 12.125 1.98375V2.63625C12.125 2.82092 12.0886 3.00379 12.018 3.1744C11.9473 3.34502 11.8437 3.50004 11.7131 3.63063L8.31813 7.02563C8.18754 7.15621 8.08396 7.31124 8.01329 7.48185C7.94262 7.65247 7.90625 7.83533 7.90625 8.02V9.84938C7.9063 10.1106 7.83358 10.3667 7.69626 10.5889C7.55893 10.8111 7.36241 10.9907 7.12875 11.1075L5.09375 12.125V8.02C5.09375 7.83533 5.05738 7.65247 4.98671 7.48185C4.91604 7.31124 4.81246 7.15621 4.68187 7.02563L1.28687 3.63063C1.15629 3.50004 1.05271 3.34502 0.98204 3.1744C0.911371 3.00379 0.874998 2.82092 0.875 2.63625V1.98375C0.875 1.64625 1.115 1.355 1.44813 1.29875C3.11723 1.01616 4.80714 0.874411 6.5 0.875002Z","stroke","#212529","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],[1,"filters-wrapper"],["app-top-filter-facet","",1,"filter-facet",3,"attribute","isSelected","d-none","selected-filter","hasLoadedHits","hideExtraFilters"],[1,"filter-button-wrapper"],[3,"hitsTemplate","hitMinWidthPx"],["app-top-filter-facet","",1,"filter-facet",3,"selectChange","attribute","isSelected","hasLoadedHits","hideExtraFilters"],[1,"btn","btn-primary","w-100",3,"click"],[3,"product","productNumber","tableNumber"]]},template:function(n,i){if(n&1&&d(0,Li,20,10,"app-instantsearch",3),n&2){let s;_((s=i.config())?0:-1,s)}},dependencies:[oe,ae,Te,re,le,xt],styles:[`.filter-wrapper[_ngcontent-%COMP%]{background-color:var(--Supervin-gr);border-bottom:solid 1px var(--Fine-lines);display:flex;gap:10px;padding-bottom:10px}.filter-wrapper[_ngcontent-%COMP%] .filter-toggle-button[_ngcontent-%COMP%]{padding:10px;display:flex;gap:10px;border:1px solid var(--Fine-lines);border-radius:5px;background-color:#fff;align-items:center;cursor:pointer}.filter-wrapper[_ngcontent-%COMP%] .filter-toggle-button[_ngcontent-%COMP%] .system-text-14[_ngcontent-%COMP%]{color:var(--Brdtekst, #212529)}.filters-wrapper[_ngcontent-%COMP%]{display:flex;align-items:start;flex-basis:100px;flex-shrink:1;flex-grow:1}.product-list-top[_ngcontent-%COMP%]{padding-bottom:5px}.product-list-top.filters-open[_ngcontent-%COMP%]{padding-bottom:0}.filter-button-wrapper[_ngcontent-%COMP%]{display:none}@media(min-width:992px){.product-list-top[_ngcontent-%COMP%]{background-color:#fff;border-radius:8px}.product-list-top[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding:20px 25px;font-family:"PT Serif";font-size:30px;font-style:normal;font-weight:700;line-height:40px;margin:0}.filter-wrapper[_ngcontent-%COMP%]{background-color:#fff;padding:10px 10px 5px;border-top:1px solid var(--Fine-lines);border-bottom:none}app-search-page-results[_ngcontent-%COMP%]{padding:15px}.filters-wrapper[_ngcontent-%COMP%]{padding:0 10px 5px}.filters-wrapper[_ngcontent-%COMP%] .filter-facet[_ngcontent-%COMP%]{border-radius:5px;background-color:#f9f9f9}}@media(max-width:991.98px){.filter-wrapper[_ngcontent-%COMP%]{padding:10px}.filters-wrapper[_ngcontent-%COMP%]{flex-direction:column}.filters-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column}.filters-wrapper[_ngcontent-%COMP%] > *.filter-selected[_ngcontent-%COMP%]{height:100dvh}.filters-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] .refinement{overflow:auto}.filters-open[_ngcontent-%COMP%]{height:100dvh;position:absolute;top:0;width:100%;z-index:99999;overflow:auto;background-color:#fff;display:flex;flex-direction:column}.filter-button-wrapper[_ngcontent-%COMP%]{display:block;position:sticky;width:100%;bottom:0;padding:15px;border-top:1px solid #cacaca;z-index:99999999;background-color:#fff}app-search-page-results[_ngcontent-%COMP%]{padding:10px}app-tasting-event-product-widget[_ngcontent-%COMP%]{width:310px;max-width:100%;justify-self:center}} 26/*# sourceMappingURL=tasting-event-product-list.component-EOMI63VD.css.map */`],changeDetection:0})}}return e})();function wi(e,r){if(e&1&&m(0,"app-tasting-event-product-list",1),e&2){let t=c();p("tastingEvent",t.tastingEvent())}}function ki(e,r){e&1&&m(0,"app-loading-icon")}var Ge=(()=>{class e{constructor(){this.algoliaService=g(Q),this.tastingEventService=g(U),this.activatedRoute=g(
26R),this.pageService=g(G);let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");t&&(this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t)),this.pageService.setPage({path:"/event/"+t+"/alle-vine",title:$localize`Supervin - Alle vine til eventet`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"}))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-all-products"]],decls:3,vars:2,consts:()=>{let t;t=$localize`Alle vine`;let n;return n=$localize`Alle vine`,[["pageTitle",t,3,"tastingEvent"],["pageTitle",n,3,"tastingEvent"]]},template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",0),d(1,wi,1,1,"app-tasting-event-product-list",1)(2,ki,1,0,"app-loading-icon"),a()),n&2){let s;p("tastingEvent",i.tastingEvent()),l(),_((s=i.tastingEvent())!=null&&s.id?1:2)}},dependencies:[$,rt,F],encapsulation:2,changeDetection:0})}}return e})();function Ri(e,r){if(e&1&&m(0,"img",4),e&2){let t=c();p("ngSrc",t.getMapImage(t.tastingEvent()))}}function Di(e,r){e&1&&m(0,"app-loading-icon")}var Fe=(()=>{class e{constructor(){this.tastingEventService=g(U),this.activatedRoute=g(R),this.pageService=g(G);let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");t&&(this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t)),this.pageService.setPage({path:"/event/"+t+"/find-vej",title:$localize`Supervin - Event find vej`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"}))}getMapImage(t){return!t||!t.mapImage?"":t.mapImage}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-map"]],decls:7,vars:3,consts:()=>{let t;t=$localize`Find vej`;let n;n=$localize`Kort`;let i;return i=$localize`Find vej`,[i,["pageTitle",t,3,"tastingEvent"],[1,"content-box"],[1,"hide-element-on-mobile","desktop-title-box"],["width","1000","height","1000","alt",n,3,"ngSrc"]]},template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",1)(1,"div",2)(2,"div",3)(3,"h1"),x(4,0),a()(),d(5,Ri,1,1,"img",4),a(),d(6,Di,1,0,"app-loading-icon"),a()),n&2){let s;p("tastingEvent",i.tastingEvent()),l(5),_((s=i.tastingEvent())!=null&&s.id?5:-1),l(),_(i.tastingEvent()?-1:6)}},dependencies:[$,F,Z],styles:[`.content-box[_ngcontent-%COMP%]{border-radius:8px;background:var(--Hvid, #FFF);padding-bottom:12px}.desktop-title-box[_ngcontent-%COMP%]{border-bottom:1px solid var(--Fine-lines, #D3D3D3);display:flex;padding:20px 25px;align-items:center}.desktop-title-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-family:"PT Serif";font-size:30px;font-weight:700;line-height:40px;margin-bottom:0}@media(max-width:991.98px){.content-box[_ngcontent-%COMP%]{padding-bottom:0;border-radius:0}} 27/*# sourceMappingURL=tasting-event-map.component-727XPKOU.css.map */`],changeDetection:0})}}return e})();function Vi(e,r){if(e&1&&m(0,"app-tasting-event-product-list",5),e&2){let t=c(2);p("pageTitle",t.pageTitle)("vismaProductNumbers",t.likedProducts())("tastingEvent",t.tastingEvent())}}function Gi(e,r){if(e&1&&d(0,Vi,1,3,"app-tasting-event-product-list",5),e&2){let t,n=c();_((t=n.tastingEvent())!=null&&t.id?0:-1)}}function Fi(e,r){if(e&1&&(o(0,"div",4)(1,"div",6)(2,"h1"),u(3),a()(),o(4,"div",7),m(5,"app-sad-wineglass-icon",8),o(6,"p"),x(7,0),a()()()),e&2){let t=c();l(3),O(t.pageTitle),l(2),p("blackWineglass",!0)}}function $i(e,r){if(e&1){let t=M();o(0,"div",4)(1,"div",6)(2,"h1"),u(3),a()(),o(4,"div",7),m(5,"app-sad-wineglass-icon",8),o(6,"div",9)(7,"p"),x(8,1),a(),o(9,"button",10),E("click",function(){f(t);let i=c();return v(i.openLoginModal())}),x(10,2),a()()()()}if(e&2){let t=c();l(3),O(t.pageTitle),l(2),p("blackWineglass",!0)}}function Ui(e,r){e&1&&m(0,"app-loading-icon")}var $e=(()=>{class e{constructor(){this.algoliaService=g(Q),this.customerReviewsAndWishlistService=g(at),this.tastingEventService=g(U),this.activatedRoute=g(R),this.pageService=g(G),this.userService=g(Et),this.trackEventService=g(gt),this.modalService=g(mt),this.userInitService=g(ut),this.user=this.userService.userSignal,this.isUserInitialized=this.userInitService.onInitializedSignal,this.pageTitle=$localize`Min smageliste`,this.hasInitializedLikedProducts=I(!1),this.likedProducts=I([]),this.initializeLikedProducts();let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");t&&(this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t))),this.pageService.setPage({path:"/event/"+t+"/smageliste",title:$localize`Supervin - Event smageliste`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"})}openLoginModal(){this.trackEventService.trackClickEvent("openLoginFromRateAndLikeClick"),import("./chunk-QRCL7AOC.js").then(t=>{this.modalService.open(t.LoginModalComponent)})}initializeLikedProducts(){return tt(()=>{if(!this.isUserInitialized()||this.hasInitializedLikedProducts())return;this.hasInitializedLikedProducts.set(!0);let t=this.customerReviewsAndWishlistService.wishlist();this.likedProducts.set(t?.map(n=>
27n?.vismaProductNumber).filter(Boolean)||[])})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-liked-products"]],decls:5,vars:3,consts:()=>{let t;t=$localize`Du har endnu ikke tilføjet nogen produkter til din smageliste...`;let n;n=$localize`Du skal være logget ind for at se og tilføje til din smageliste`;let i;return i=$localize`LOGIN ELLER OPRET KONTO`,[t,n,i,[3,"pageTitle","tastingEvent"],[1,"content-box"],[3,"pageTitle","vismaProductNumbers","tastingEvent"],[1,"product-list-top","hide-element-on-mobile"],[1,"error-message-box"],[3,"blackWineglass"],[1,"error-message"],[1,"btn-primary-supervin",3,"click"]]},template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",3),d(1,Gi,1,1)(2,Fi,8,2,"div",4)(3,$i,11,2,"div",4)(4,Ui,1,0,"app-loading-icon"),a()),n&2){let s;p("pageTitle",i.pageTitle)("tastingEvent",i.tastingEvent()),l(),_(i.likedProducts().length>0?1:(s=i.user())!=null&&s.id?2:i.isUserInitialized()?3:4)}},dependencies:[$,rt,ot,F],styles:[`.content-box[_ngcontent-%COMP%]{border-radius:8px;background:var(--Hvid, #FFF);padding-bottom:8px}.product-list-top[_ngcontent-%COMP%]{border-bottom:1px solid var(--Fine-lines)}.product-list-top[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding:20px 25px;font-family:"PT Serif";font-size:30px;font-style:normal;font-weight:700;line-height:40px;margin:0}.error-message-box[_ngcontent-%COMP%]{display:flex;padding:25px;align-items:center;gap:25px;background:var(--Hvid, #FFF)}.error-message-box[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0;font-size:18px;font-weight:400;line-height:25px}.error-message-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:0}.error-message-box[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:25px}app-sad-wineglass-icon[_ngcontent-%COMP%]{height:100px;min-width:51px;width:51px} 28/*# sourceMappingURL=tasting-event-liked-products.component-VXFK4JKH.css.map */`],changeDetection:0})}}return e})();function Bi(e,r){if(e&1&&m(0,"app-tasting-event-product-list",5),e&2){let t=c(2);p("pageTitle",t.pageTitle)("vismaProductNumbers",t.ratedProducts())("tastingEvent",t.tastingEvent())}}function zi(e,r){if(e&1&&d(0,Bi,1,3,"app-tasting-event-product-list",5),e&2){let t,n=c();_((t=n.tastingEvent())!=null&&t.id?0:-1)}}function Hi(e,r){if(e&1&&(o(0,"div",4)(1,"div",6)(2,"h1"),u(3),a()(),o(4,"div",7),m(5,"app-sad-wineglass-icon",8),o(6,"p"),x(7,0),a()()()),e&2){let t=c();l(3),O(t.pageTitle),l(2),p("blackWineglass",!0)}}function ji(e,r){if(e&1){let t=M();o(0,"div",4)(1,"div",6)(2,"h1"),u(3),a()(),o(4,"div",7),m(5,"app-sad-wineglass-icon",8),o(6,"div",9)(7,"p"),x(8,1),a(),o(9,"button",10),E("click",function(){f(t);let i=c();return v(i.openLoginModal())}),x(10,2),a()()()()}if(e&2){let t=c();l(3),O(t.pageTitle),l(2),p("blackWineglass",!0)}}function Xi(e,r){e&1&&m(0,"app-loading-icon")}var Ue=(()=>{class e{constructor(){this.algoliaService=g(Q),this.customerReviewsAndWishlistService=g(at),this.tastingEventService=g(U),this.activatedRoute=g(R),this.pageService=g(G),this.userService=g(Et),this.trackEventService=g(gt),this.modalService=g(mt),this.userInitService=g(ut),this.user=this.userService.userSignal,this.isUserInitialized=this.userInitService.onInitializedSignal,this.pageTitle=$localize`Mine ratings`,this.hasInitializedRatedProducts=I(!1),this.ratedProducts=I([]),this.initializeRatedProducts();let t=this.activatedRoute.snapshot.paramMap.get("tastingEventId");t&&(this.tastingEvent=V(this.tastingEventService.getWineFestivalData(t)),this.pageService.setPage({path:"/event/"+t+"/smageliste",title:$localize`Supervin - Event smageliste`,breadcrumbs:[],breadcrumbStyle:"dark",head:{link:[],meta:[{name:"robots",content:"noindex",property:""}],structuredDataScheme:void 0},type:"TASTING_EVENT"}))}openLoginModal(){this.trackEventService.trackClickEvent("openLoginFromRateAndLikeClick"),import("./chunk-QRCL7AOC.js").then(t=>{this.modalService.open(t.LoginModalComponent)})}initializeRatedProducts(){return tt(()=>{if(!this.isUserInitialized()||this.hasInitializedRatedProducts())return;this.hasInitializedRatedProducts.set(!0);let t=this.customerReviewsAndWishlistService.customerReviews();this.ratedProducts.set(t?.map(n=>n?.product?.vismaProductNumber).filter(n=>n)??[])})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-tasting-event-rated-products"]],decls:5,vars:3,consts:()=>{let t;t=$localize`Du har endnu ikke tilføjet ratings til nogen produkter...`;let n;n=$localize`Du skal være logget ind for at se og tilføje ratings til produkter`;let i;return i=$localize`LOGIN ELLER OPRET KONTO`,[t,n,i,[3,"pageTitle","tastingEvent"],[1,"content-box"],[3,"pageTitle","vismaProductNumbers","tastingEvent"],[1,"product-list-top","hide-element-on-mobile"],[1,"error-message-box"],[3,"blackWineglass"],[1,"error-message"],[1,"btn-primary-supervin",3,"click"]]}
28,template:function(n,i){if(n&1&&(o(0,"app-tasting-event-layout",3),d(1,zi,1,1)(2,Hi,8,2,"div",4)(3,ji,11,2,"div",4)(4,Xi,1,0,"app-loading-icon"),a()),n&2){let s;p("pageTitle",i.pageTitle)("tastingEvent",i.tastingEvent()),l(),_(i.ratedProducts().length>0?1:(s=i.user())!=null&&s.id?2:i.isUserInitialized()?3:4)}},dependencies:[$,rt,ot,F],styles:[`.content-box[_ngcontent-%COMP%]{border-radius:8px;background:var(--Hvid, #FFF);padding-bottom:8px}.product-list-top[_ngcontent-%COMP%]{border-bottom:1px solid var(--Fine-lines)}.product-list-top[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{padding:20px 25px;font-family:"PT Serif";font-size:30px;font-style:normal;font-weight:700;line-height:40px;margin:0}.error-message-box[_ngcontent-%COMP%]{display:flex;padding:25px;align-items:center;gap:25px;background:var(--Hvid, #FFF)}.error-message-box[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0;font-size:18px;font-weight:400;line-height:25px}.error-message-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:0}.error-message-box[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:25px}app-sad-wineglass-icon[_ngcontent-%COMP%]{height:100px;min-width:51px;width:51px} 29/*# sourceMappingURL=tasting-event-rated-products.component-GGC5H2AP.css.map */`],changeDetection:0})}}return e})();var Ul=[{path:":tastingEventId",children:[{path:"borde",component:ye},{path:"borde/:tableNumber",component:be},{path:"alle-vine",component:Ge},{path:"smageliste",component:$e},{path:"ratings",component:Ue},{path:"find-vej",component:Fe},{path:"",component:Ve}]}];export{Ul as default}; 30//# sourceMappingURL=chunk-UTDGQVW7.js.map
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.