PageSourceSearch

https://flugboerse.de/chunk-R6FGQ5NH.js

js flugboerse.de collected 2026-09-26 07:30:14 UTC 31,683 bytes, 6 lines download raw bytes

1import{a as N}from"./chunk-4DYRWS4W.js";import{C as Fe,b as ke,ba as ze,i as Ie,j as Le,k as Ee,l as j,m as V,n as De}from"./chunk-WB42RJNB.js";import{Ca as Te,Z as Re,k as Me,ra as Se,ya as Ge}from"./chunk-MJVFGSUM.js";import{Db as Pe,E as xe,F as I,G as F,L as ve,Lb as Oe,Oa as we,Pb as z,ub as ye,wa as Ce,xa as be}from"./chunk-N6EUFMGX.js";import{$ as u,A as U,Ab as b,Bb as ae,Ca as h,Cb as le,D as $,Eb as m,Ec as pe,Fb as D,Gb as v,Ha as E,Hb as ce,Ia as Q,Ic as he,Lc as ge,M as A,Na as p,Pa as ee,Rc as ue,S as J,Sc as fe,T as K,V as Y,W as X,Xa as f,Xb as M,Yb as k,Za as _,Zb as G,_ as g,_a as te,ab as ne,ac as S,bb as ie,c as H,cb as d,db as o,dd as _e,ea as Z,eb as r,fb as x,h as W,ha as O,jb as oe,kb as re,lb as w,mb as P,ob as C,oc as se,qb as s,y as q,ya as a,yc as me,zc as de}from"./chunk-FYPADC63.js";import{g as Ye}from"./chunk-WCABR6TI.js";var T=Ye(Ge());var je=(()=>{class n{http;authGuardService;constructor(e,t){this.http=e,this.authGuardService=t}request(e,t){e.partnerid=this.authGuardService.getPartnerId(),e.licence=this.authGuardService.getPartnerLicense();let i={headers:new ue({"Content-Type":"application/json","ngsw-bypass":""})};return this.http.post("api/trafics/"+t,{body:e},i).pipe(U(50),$(),q(c=>W(c)))}static \u0275fac=function(t){return new(t||n)(Y(fe),Y(z))};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function qe(n,l){n&1&&w(0)}function Ue(n,l){if(n&1&&p(0,qe,1,0,"ng-container",7),n&2){s();let e=b(4);d("ngTemplateOutlet",e)}}function $e(n,l){n&1&&w(0)}function Je(n,l){if(n&1&&p(0,$e,1,0,"ng-container",7),n&2){s();let e=b(4);d("ngTemplateOutlet",e)}}function Ke(n,l){n&1&&w(0)}function Xe(n,l){if(n&1&&p(0,Ke,1,0,"ng-container",7),n&2){s();let e=b(6);d("ngTemplateOutlet",e)}}function Ze(n,l){n&1&&w(0)}function Qe(n,l){n&1&&w(0)}function et(n,l){n&1&&w(0)}function tt(n,l){if(n&1&&(o(0,"div",8)(1,"div",9),p(2,Ze,1,0,"ng-container",7),r(),o(3,"div",10),p(4,Qe,1,0,"ng-container",7),r(),o(5,"div",11),p(6,et,1,0,"ng-container",7),r()()),n&2){s();let e=b(8),t=b(10),i=b(14);a(2),d("ngTemplateOutlet",i),a(2),d("ngTemplateOutlet",t),a(2),d("ngTemplateOutlet",e)}}function nt(n,l){n&1&&w(0)}function it(n,l){n&1&&w(0)}function ot(n,l){n&1&&(o(0,"mat-icon",20),m(1," favorite_border "),r())}function rt(n,l){n&1&&(o(0,"mat-icon",21),m(1,"favorite "),r())}function at(n,l){if(n&1){let e=P();o(0,"div",12)(1,"div",13),p(2,nt,1,0,"ng-container",7),r(),o(3,"div",14),p(4,it,1,0,"ng-container",7),r(),o(5,"div",15),x(6,"app-share",16),M(7,"number"),M(8,"cacheResource"),o(9,"button",17),C("click",function(i){g(e);let c=s();return u(c.addRemoveToFromFavorite(i))}),p(10,ot,2,0,"mat-icon",18)(11,rt,2,0,"mat-icon",19),r()()()}if(n&2){let e=s(),t=b(10),i=b(12);a(2),d("ngTemplateOutlet",i),a(2),d("ngTemplateOutlet",t),a(2),d("shareLink",e.shareLink())("description",(e.hotel==null||e.hotel.location==null?null:e.hotel.location.name)+((e.hotel==null||e.hotel.location==null||e.hotel.location.region==null||e.hotel.location.region.name==null?null:e.hotel.location.region.name.length)>0?" ("+(e.hotel==null||e.hotel.location==null||e.hotel.location.region==null?null:e.hotel.location.region.name)+")":"")+`
2`+(e.tmp_realparams==null||e.tmp_realparams.reisedauerResult==null?null:e.tmp_realparams.reisedauerResult.name)+" "+(e.tmp_realparams==null?null:e.tmp_realparams.reisendeResult.adults)+" Personen "+(e.hotel==null||e.hotel.offerList[0].boardType==null?null:e.hotel.offerList[0].boardType.name)+" ab "+G(7,8,e.hotel==null||e.hotel.bestPricePerPerson==null?null:e.hotel.bestPricePerPerson.value,"1.2-2")+" \u20AC p.P.")("title",e.hotel==null||e.hotel.name==null?null:e.hotel.name.trim())("imageurl",k(8,11,e.imageList[0])),a(4),d("ngIf",!e.inFavorites),a(),d("ngIf",e.inFavorites)}}function lt(n,l){if(n&1&&(o(0,"span",31),m(1),r()),n&2){let e=s(3);a(),v(" \u2212 ",e.higherPricePr()," % ")}}function ct(n,l){if(n&1&&(o(0,"div",33)(1,"b"),m(2),r(),x(3,"br")(4,"br"),m(5," Ihr Reisepreis ist niedriger als der dritth\xF6chste Preis, den Kunden f\xFCr dasselbe Angebot bereits gesehen haben. Kurz gesagt: Ihr Reiseangebot ist besonders preiswert! "),x(6,"br")(7,"br"),o(8,"b"),m(9,"Wichtige Informationen zum Reisepreis und m\xF6glichen Abweichungen:"),r(),x(10,"br")(11,"br"),m(12," Der angegebene Reisepreis unterliegt t\xE4glichen Schwankungen. Daher kann es bei der letzten Preispr\xFCfung vor der Buchung zu kurzfristigen Preis\xE4nderungen durch den Veranstalter kommen. "),r()),n&2){let e=s(3);a(2),v("Ihr Angebotspreis ist ",e.higherPrice()-e.curprice()," \u20AC g\xFCnstiger!")}
2}function st(n,l){if(n&1){let e=P();o(0,"div",28)(1,"div",29)(2,"span"),m(3),M(4,"number"),r(),o(5,"mat-icon",30,6),C("click",function(i){g(e);let c=s(2);return c.fixinfo=!0,u(i.stopPropagation())})("mouseover",function(){g(e);let i=s(2);return u(i.fixinfo=!0)})("mouseleave",function(){g(e);let i=s(2);return u(i.mediaService.media()==="xs"||i.mediaService.media()==="sm"?i.fixinfo=!0:i.fixinfo=!1)}),r()(),f(7,lt,2,1,"span",31),r(),p(8,ct,13,1,"ng-template",32),C("overlayOutsideClick",function(){g(e);let i=s(2);return u(i.fixinfo=!1)})}if(n&2){let e=b(6),t=s(2);a(3),v("ab ",k(4,4,t.higherPrice())," p.P."),a(4),_(t.higherPricePr()?7:-1),a(),d("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.fixinfo)}}function mt(n,l){if(n&1){let e=P();o(0,"div",22),f(1,st,9,6),o(2,"div",23)(3,"span",24),m(4,"ab "),o(5,"span",25),m(6),M(7,"number"),r(),m(8," p.P."),r(),o(9,"span",26),m(10),M(11,"number"),r()(),o(12,"button",27),C("click",function(){g(e);let i=s();return u(i.goToOffers())}),m(13,"Zum Angebot"),r()()}if(n&2){let e=s();a(),_(e.higherPrice()?1:-1),a(5),v("",k(7,3,e.hotel==null||e.hotel.bestPricePerPerson==null?null:e.hotel.bestPricePerPerson.value)," \u20AC"),a(4),v("(Gesamtpreis ",k(11,5,e.hotel==null||e.hotel.totalPrice==null?null:e.hotel.totalPrice.value)," \u20AC)")}}function dt(n,l){if(n&1&&(o(0,"mat-icon",53),m(1),r()),n&2){let e=l.$implicit;a(),v(" ",e===1?"star":"star_half"," ")}}function pt(n,l){n&1&&(o(0,"span",41),m(1,"|"),r())}function ht(n,l){if(n&1&&(o(0,"span",61),m(1),r()),n&2){let e=s(3);a(),v("",e.hotel==null?null:e.hotel.rating.recommendation,"%")}}function gt(n,l){if(n&1){let e=P();oe(0),o(1,"div",54)(2,"div",55)(3,"button",56),C("click",function(i){g(e);let c=s(2);return u(c.openReview(i))}),o(4,"mat-icon",57),m(5," thumb_up_alt"),r(),p(6,ht,2,1,"span",58),r(),x(7,"img",59),r(),o(8,"button",60),C("click",function(i){g(e);let c=s(2);return u(c.openReview(i))}),m(9),r()(),re()}if(n&2){let e=s(2);a(6),d("ngIf",e.hotel==null||e.hotel.rating==null?null:e.hotel.rating.recommendation),a(3),D((e.hotel==null||e.hotel.rating==null?null:e.hotel.rating.count)+((e.hotel==null||e.hotel.rating==null?null:e.hotel.rating.count)>1?" Bewertungen":" Bewertung"))}}function ut(n,l){if(n&1&&x(0,"keywords",51),n&2){let e=s(2);d("data",e.hotel==null?null:e.hotel.keywordList)}}function ft(n,l){n&1&&w(0)}function _t(n,l){if(n&1&&(o(0,"div",52),p(1,ft,1,0,"ng-container",7),r()),n&2){s(2);let e=b(8);a(),d("ngTemplateOutlet",e)}}function xt(n,l){if(n&1){let e=P();o(0,"div",34)(1,"div",35)(2,"div",36)(3,"span",37),m(4),r()()(),o(5,"div",38)(6,"div",39),p(7,dt,2,1,"mat-icon",40),r(),f(8,pt,2,0,"span",41),o(9,"button",42),C("click",function(){g(e);let i=s();return u(i.openMaps())}),o(10,"span",43),m(11),r()()(),p(12,gt,10,2,"ng-container",44),o(13,"span",45),m(14),r()(),o(15,"div",46)(16,"div",47)(17,"div",48)(18,"span",49),m(19),o(20,"span",50),m(21,"|"),r(),m(22),r(),o(23,"span"),m(24),o(25,"span",50),m(26,"|"),r(),m(27),r()(),o(28,"div"),f(29,ut,1,1,"keywords",51),r()(),f(30,_t,2,1,"div",52),r()}if(n&2){let e=s();a(4),D(e.hotel==null?null:e.hotel.name),a(3),d("ngForOf",e.categoryAr),a(),_((e.categoryAr==null?null:e.categoryAr.length)>0?8:-1),a(3),ce("",e.hotel==null||e.hotel.location==null?null:e.hotel.location.name," (",e.hotel==null||e.hotel.country==null?null:e.hotel.country.name,")"),a(),d("ngIf",(e.hotel==null||e.hotel.rating==null?null:e.hotel.rating.recommendation)||(e.hotel==null||e.hotel.rating==null?null:e.hotel.rating.count)),a(2),D(e.hotel==null||e.hotel.catalogData==null?null:e.hotel.catalogData.previewText),a(2),le("w100",e.mediaService.media()==="xs"||e.mediaService.media()==="sm"),a(3),v("",e.dauer," "),a(3),v(" ",e.hotel==null||e.hotel.offerList[0].boardType==null?null:e.hotel.offerList[0].boardType.name),a(2),v("",e.prs," "),a(3),v(" ",e.hotel==null||e.hotel.offerList[0].roomType==null?null:e.hotel.offerList[0].roomType.name),a(2),_((e.hotel==null||e.hotel.keywordList==null?null:e.hotel.keywordList.length)>0?29:-1),a(),_(e.mediaService.media()!=="xs"&&e.mediaService.media()!=="sm"?30:-1)}}function vt(n,l){if(n&1){let e=P();o(0,"imageslider",63),C("clickOnImg",function(i){g(e);let c=s(2);return u(c.openImageModal(i))}),r()}if(n&2){let e=s(2);
2d("data",e.imageList())("radiustopleft",!0)("radiusbottomleft",!0)}}function Ct(n,l){if(n&1&&f(0,vt,1,3,"imageslider",62),n&2){let e,t=s();_(((e=t.imageList())==null?null:e.length)>0?0:-1)}}function bt(n,l){if(n&1){let e=P();o(0,"imageslider",65),C("clickOnImg",function(i){g(e);let c=s(2);return u(c.openImageModal(i))}),r()}if(n&2){let e=s(2);d("data",e.imageList())("radiustopleft",!0)("radiustopright",!0)}}function wt(n,l){n&1&&(o(0,"mat-icon",20),m(1," favorite_border "),r())}function yt(n,l){n&1&&(o(0,"mat-icon",21),m(1,"favorite "),r())}function Pt(n,l){if(n&1){let e=P();f(0,bt,1,3,"imageslider",64),o(1,"div",15),x(2,"app-share",16),M(3,"number"),M(4,"cacheResource"),o(5,"button",17),C("click",function(i){g(e);let c=s();return u(c.addRemoveToFromFavorite(i))}),p(6,wt,2,0,"mat-icon",18)(7,yt,2,0,"mat-icon",19),r()()}if(n&2){let e,t=s();_(((e=t.imageList())==null?null:e.length)>0?0:-1),a(2),d("shareLink",t.shareLink())("description",(t.hotel==null||t.hotel.location==null?null:t.hotel.location.name)+((t.hotel==null||t.hotel.location==null||t.hotel.location.region==null||t.hotel.location.region.name==null?null:t.hotel.location.region.name.length)>0?" ("+(t.hotel==null||t.hotel.location==null||t.hotel.location.region==null?null:t.hotel.location.region.name)+")":"")+`
3`+(t.tmp_realparams==null||t.tmp_realparams.reisedauerResult==null?null:t.tmp_realparams.reisedauerResult.name)+" "+(t.tmp_realparams==null?null:t.tmp_realparams.reisendeResult.adults)+" Personen "+(t.hotel==null||t.hotel.offerList[0].boardType==null?null:t.hotel.offerList[0].boardType.name)+" ab "+G(3,7,t.hotel==null||t.hotel.bestPricePerPerson==null?null:t.hotel.bestPricePerPerson.value,"1.2-2")+" \u20AC p.P.")("title",t.hotel==null||t.hotel.name==null?null:t.hotel.name.trim())("imageurl",k(4,10,t.imageList[0])),a(4),d("ngIf",!t.inFavorites),a(),d("ngIf",t.inFavorites)}}var Ve=(()=>{class n{trafficsService;mediaService;dialog;encservice;favoritesService;router;guardService;acvisService;cdr;hotel;giataIdG;tmp_realparams;removeHotel=new ee;realparams;firstOffer;dauer="";prs="";categoryAr=[];loading=!0;inFavorites=!1;hotelReviewList;start;end;fixinfo=!1;shareLink=O("");higherPricePr=O("");higherPrice=O(0);curprice=O(0);imageList=O([]);destroyRef=X(Z);flexinfo="F\xFCr dieses Hotel gibt es Angebote mit flexiblen Stornierungs- und Umbuchungsm\xF6glichkeiten.";specialinfo="F\xFCr dieses Hotel gibt es Angebote mit Sonderaktionen (z.B. Rabatte, Kinderfestpreise oder andere Vorteile).";constructor(e,t,i,c,y,L,R,Ne,Ae){this.trafficsService=e,this.mediaService=t,this.dialog=i,this.encservice=c,this.favoritesService=y,this.router=L,this.guardService=R,this.acvisService=Ne,this.cdr=Ae}ngOnInit(){this.realparams=JSON.parse(JSON.stringify(this.tmp_realparams)),this.initFilters(),this.getGiataReviews(),this.getGiataMedia(),this.inFavorites=this.favoritesService.inFavorites(this.hotel?.code)}async checkRed(){if(this.hotel?.offerList?.length>0&&(this.higherPrice.set(this.getMaxPrice(this.hotel.offerList)),!isNaN(Number(this.higherPrice))&&!isNaN(Number(this.hotel?.bestPricePerPerson?.value)))){this.curprice.set(Number(this.hotel?.bestPricePerPerson?.value));let e=100-Number(100*Number(this.hotel?.bestPricePerPerson?.value))/Number(this.higherPrice);e>=15&&e<=55?this.higherPricePr.set(e.toFixed(0)):this.higherPrice=null}}getMaxPrice(e){let t=0;for(let i=0;i<e.length;i++)t<Number(e[i].personPrice.value)&&(t=Number(e[i].personPrice.value));return t}initFilters(){this.start=this.realparams?.reisezeitraumResult.start,this.end=this.realparams?.reisezeitraumResult.end;let e=Number(this.realparams?.reisendeResult.adults)+(this.realparams?.reisendeResult.children?.length>0?this.realparams?.reisendeResult.children.length:0);this.prs=e+(e>1?" Personen":" Person"),this.dauer=this.realparams?.reisedauerResult?.name,this.createLink(),this.cdr.detectChanges()}async getGiataMedia(){this.imageList.set([]);let e=this.hotel?.giata?.hotelId;Number(e)===0&&(e=this.hotel.tourOperator.code+"_"+this.hotel.code),this.trafficsService.request({giataId:e,fromdrive:!0,hotelcode:this.hotel?.code,tourOperatorList:this.hotel.tourOperator.code,hotelcodetour:this.hotel?.tourOperator.code+"_"+this.hotel?.code},"hotels/giataId").pipe(F(this.destroyRef)).subscribe(t=>
3{if(t?.hotel?.code?.length>0||t?.hotel?.giata?.hotelId?.length>0){this.hotel.mediaData=t?.hotel?.mediaData,this.hotel.catalogData=t?.hotel?.catalogData;let i=Number(String(t?.hotel?.category).replace(/,/g,".").replace(/\+/g,""));for(let c=0;c<Math.floor(i);c++)this.categoryAr.push(1);i>Math.floor(i)&&this.categoryAr.push(.5);for(let c=0;c<this.hotel?.catalogData?.imageList?.length;c++)this.imageList().push(this.hotel?.catalogData.imageList[c].replace("size=320","size=800").replace("size=180","size=800"))}else this.removeHotel.emit(this.hotel.code),this.hotel=null;this.loading=!1,this.cdr.detectChanges()})}async getGiataReviews(){let e=this.hotel?.giata?.hotelId;this.trafficsService.request({giataId:e,source:"holidaycheck"},"/hotels/giataId/reviews").pipe(F(this.destroyRef)).subscribe(t=>{t?.error||(t.hotelReviewList=t.hotelReviewList?.sort((i,c)=>new Date(c.travelDate).getTime()-new Date(i.travelDate).getTime()),this.hotelReviewList=t,this.cdr.detectChanges())})}async openReview(e){if(e.stopPropagation(),this.hotelReviewList){let t={autoFocus:!1,disableClose:!0};this.mediaService.media()!=="xs"&&this.mediaService.media()!=="sm"?t={height:"98vh",panelClass:"customModal",maxWidth:"800px",data:{reviews:this.hotelReviewList,title:this.hotel.name,rating:this.hotel.rating}}:t={width:"100%",height:"100%",maxWidth:"100%",panelClass:"customModal",data:{reviews:this.hotelReviewList,title:this.hotel.name,rating:this.hotel.rating}},this.dialog.open(Le,t)}}async openImageModal(e){let t={disableClose:!0,panelClass:["full-screen-modal"],data:{hotel:this.hotel,images:this.imageList,videos:[],current:e,to800:!0,desktopTemplate:this.mediaService.media()}};this.dialog.open(Ee,t)}async openMaps(){if(this.hotel?.location?.latitude){let e={autoFocus:!1,disableClose:!0};this.mediaService.media()!=="xs"?e={width:"80%",height:"81vh",maxWidth:"100%",panelClass:"customModal",data:{poi:this.hotel}}:e={width:"100%",height:"100%",maxWidth:"100%",panelClass:"customModal",data:{poi:this.hotel}},this.dialog.open(Ie,e)}}createLink(){if(this.realparams){this.realparams.extra=null;let e=this.hotel?.giata?.hotelId?.length>1?this.hotel?.giata?.hotelId:this.hotel?.tourOperator?.code+"_"+this.hotel?.code;this.realparams.giataIdList=e,this.realparams.hotelCodeList=this.hotel?.code,this.hotel?.name?.length>0&&(this.realparams.pauschalreiseResult={data:{name:this.hotel?.name,code:e},type:1}),this.shareLink.set(this.router.createUrlTree([this.guardService.getPartnerId(),"ibeoffers"],{queryParams:{params:this.encservice.encrypt(this.realparams)}}).toString())}}async goToOffers(){let e=window.open("about:blank","_blank");e.location.href=this.shareLink(),this.trafficsService.request({giataId:this.hotel?.giata?.hotelId,giataIdG:this.giataIdG},"/hotels/giataId/recommendationFeedback").pipe(F(this.destroyRef)).subscribe(t=>{})}async addRemoveToFromFavorite(e){e.stopPropagation(),this?.inFavorites?(this.favoritesService.removeHotel(this.hotel?.code),this.inFavorites=!1):(this.favoritesService.addHotel(this.hotel,this.realparams),this.inFavorites=!0)}static \u0275fac=function(t){return new(t||n)(h(j),h(Oe),h(we),h(ve),h(ke),h(_e),h(z),h(Fe),h(se))};static \u0275cmp=E({type:n,selectors:[["app-recommendationcard"]],inputs:{hotel:"hotel",giataIdG:"giataIdG",tmp_realparams:"tmp_realparams"},outputs:{removeHotel:"removeHotel"},standalone:!1,decls:15,vars:1,consts:[["xs",""],["big",""],["pricewrapper",""],["hotelnamewrapper",""],["hotelimgwrapper",""],["hotelimgwrapperXs",""],["triggerinfo","cdkOverlayOrigin"],[4,"ngTemplateOutlet"],[1,"hotelwrapper_xs"],[1,"hotelimgwrapper_xs"],[1,"hotelnamewrapper_xs"],[1,"pricewrapper_xs"],[1,"hotelwrapper"],[1,"hotelimgwrapper"],[1,"hotelnamewrapper"],[1,"sharwrapper"],[3,"shareLink","description","title","imageurl"],[1,"m-favbtn",3,"click"],["class","m-fav","matTooltip","Als Favorit markieren",4,"ngIf"],["class","m-fav","matTooltip","Von Favoriten entfernen",4,"ngIf"],["matTooltip","Als Favorit markieren",1,"m-fav"],["matTooltip","Von Favoriten entfernen",1,"m-fav"],[1,"prcbzn"],[1,"price_card_wrapper"],[1,"prctw"],[1,"prctotal"],[1,"prcpp"],[1,"sumagb",3,"click"],[1,"flexdiv"],[1,"prctext"],["cdkOverlayOrigin","","fontIcon","info",1,"prci",3,"click","mouseover","mouseleave"],[1,"purcw"],["cdkConnectedOverlay","",3,"overlayOutsideClick","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"cc17infos","mat-elevation-z1"],[1,"h-wrapper"],[1,"namecontainer_
3col"],[1,"topwrapper"],[1,"hotelname"],[1,"locwrapperm"],[1,"starts"],["class","stars",4,"ngFor","ngForOf"],[1,"seplocation"],[1,"namecontainer","linkf",3,"click"],[1,"ellipsis"],[4,"ngIf"],[1,"previewtext"],[1,"cc890"],[1,"cc8901"],[1,"smalldesc"],[1,"mb5"],[1,"colorgray"],[1,"keywordList",3,"data"],[1,"pricewrapper"],[1,"stars"],[1,"bwertwrapper"],[1,"hcheckbtnwrp"],[1,"reatingico",3,"click"],[1,"reatingicomat-ico"],["class","reatingprc",4,"ngIf"],["loading","lazy","src","assets/images/holidaycheck.svg","width","auto","height","30px","alt","holidaycheck"],[1,"bwertcount",3,"click"],[1,"reatingprc"],[1,"cardimg",3,"data","radiustopleft","radiusbottomleft"],[1,"cardimg",3,"clickOnImg","data","radiustopleft","radiusbottomleft"],[1,"cardimg",3,"data","radiustopleft","radiustopright"],[1,"cardimg",3,"clickOnImg","data","radiustopleft","radiustopright"]],template:function(t,i){if(t&1&&(f(0,Ue,1,1,"ng-container")(1,Je,1,1,"ng-container")(2,Xe,1,1,"ng-container"),p(3,tt,7,3,"ng-template",null,0,S)(5,at,12,13,"ng-template",null,1,S)(7,mt,14,7,"ng-template",null,2,S)(9,xt,31,15,"ng-template",null,3,S)(11,Ct,1,1,"ng-template",null,4,S)(13,Pt,8,12,"ng-template",null,5,S)),t&2){let c;_((c=i.mediaService.media())==="xs"?0:c==="sm"?1:2)}},dependencies:[me,de,pe,be,Ce,Pe,Me,N,V,De,he,Se],styles:[`.hotelwrapper[_ngcontent-%COMP%]{display:flex;margin:1rem 0;border-radius:.3rem;background-color:#fff;position:relative;box-shadow:#0000001a 0 8px 24px,#00000014 0 0 24px}.hotelwrapper_sm[_ngcontent-%COMP%]{display:flex;padding:.5rem;border:1px solid #d3d6e0;border-radius:.3rem;flex-direction:column;margin-bottom:1rem;box-shadow:#0000001a 0 8px 24px,#00000014 0 0 24px}.hotelwrapper_xs[_ngcontent-%COMP%]{display:flex;border-radius:.3rem;flex-direction:column;margin-bottom:1rem;background-color:#fff;box-shadow:#0000001a 0 8px 24px,#00000014 0 0 24px}.flexdiv[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.hcheckbtnwrp[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid #2572d7;border-radius:.4rem}.purcw[_ngcontent-%COMP%]{color:var(--cl-text-color);background-color:var(--cl-bg-color);padding:.1rem .2rem;font-size:.7rem;border-radius:.1rem;margin-left:.3rem;font-weight:400;white-space:nowrap}.prci[_ngcontent-%COMP%]{cursor:help;font-size:1rem;width:unset!important;height:unset!important}.prctext[_ngcontent-%COMP%]{display:flex;align-items:center;position:relative;white-space:nowrap;text-decoration:line-through}.sm_top[_ngcontent-%COMP%]{display:flex;width:100%;border-bottom:1px solid #d3d6e0;padding-bottom:.5rem}.hotelimgwrapper[_ngcontent-%COMP%]{display:flex;width:40%;position:relative}.hotelimgwrapper_sm[_ngcontent-%COMP%]{display:flex;width:50%;position:relative;min-height:224px}.hotelimgwrapper_xs[_ngcontent-%COMP%]{display:flex;width:100%;position:relative;min-height:224px}.cardimg[_ngcontent-%COMP%]{width:100%;max-height:430px}.stars[_ngcontent-%COMP%]{font-size:1.3rem;height:unset!important;width:unset!important}.hotelnamewrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:.5rem;width:60%;justify-content:space-between}.hotelnamewrapper_sm[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:50%;justify-content:space-between;margin:0 .5rem}.hotelnamewrapper_xs[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;margin:.5rem;border-bottom:1px solid #d3d6e0;padding-bottom:.5rem}.hotelname[_ngcontent-%COMP%]{font-size:1.3rem;font-weight:900;line-height:2rem;margin-right:.3rem}.namecontainer[_ngcontent-%COMP%]{display:flex;align-items:center}.namecontainer_col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.starts[_ngcontent-%COMP%]{display:flex;color:orange}.place_icon[_ngcontent-%COMP%]{font-size:1.2rem;width:unset;height:unset;cursor:pointer}.placetext[_ngcontent-%COMP%]{cursor:pointer}.placetext[_ngcontent-%COMP%]:hover{text-decoration:underline}.top5[_ngcontent-%COMP%]{margin-top:.3rem;margin-left:-3px}.pricewrapper[_ngcontent-%COMP%]{display:flex;width:40%;flex-direction:column;justify-content:space-between}.pricewrapper_sm[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;justify-content:space-between;margin-top:1rem}.pricewrapper_xs[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;margin:.5rem}.sumagb[_ngcontent-%COMP%]{background-color:var(--cl-bg-color);color:var(--cl-text-color);font-size:1rem;line-height:1.5rem;width:100%;padding:.8rem 1rem;
3border:1px solid #f0f0f0;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.sumagb[_ngcontent-%COMP%]:hover{opacity:.6}.operator[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.price_card_wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:1rem}.imgop[_ngcontent-%COMP%]{height:30px}.prctotal[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;color:var(--cl-bg-color)}.prcpp[_ngcontent-%COMP%]{font-size:.75rem}.infoprc[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:1rem}.prcbzn[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:flex-end}.linkf[_ngcontent-%COMP%]{color:#2572d7;width:calc(100% - 125px)}.reatingwrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.reatingcont[_ngcontent-%COMP%]{display:flex;border-block-color:rgba(27,28,74,.8);border:1px rgba(27,28,74,.8) solid;align-items:center}.reatingico[_ngcontent-%COMP%]{display:flex;align-items:center;width:max-content;border-top-left-radius:.3rem;border-bottom-left-radius:.3rem;padding:.2rem .3rem;border:1px solid #2572d7;color:#fff;background-color:#2572d7}.topwrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.prctw[_ngcontent-%COMP%]{line-height:2rem}.reatingicomat-ico[_ngcontent-%COMP%]{font-size:1rem;width:unset!important;height:unset!important;color:#fff;margin-right:.3rem}.flex-t[_ngcontent-%COMP%]{color:green}.s-actionen[_ngcontent-%COMP%]{color:#ff6e04}.reatingprc[_ngcontent-%COMP%]{margin-left:.3rem;margin-right:.3rem}.reatingcount[_ngcontent-%COMP%]{margin-left:.3rem;font-size:.8rem;margin-right:.3rem}.smalldesc[_ngcontent-%COMP%]{display:flex;margin-bottom:1rem;flex-direction:column}.mb5[_ngcontent-%COMP%]{margin-bottom:.5rem}.previewtext[_ngcontent-%COMP%]{margin-top:2rem;font-size:.9rem}.colorgray[_ngcontent-%COMP%]{color:#d6d6d6}.badgg[_ngcontent-%COMP%]{background-color:rgb(0,130,0) e0}.badgs[_ngcontent-%COMP%]{background-color:#ff6e04e0}.badg[_ngcontent-%COMP%]{color:#fff;font-weight:400;padding:3px 5px;font-size:.7rem;display:flex;cursor:help;align-items:center;border-radius:.1rem}.info[_ngcontent-%COMP%]{height:unset;font-size:.8rem;width:unset;margin-left:.3rem;color:#fff}.h-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.flexwrapper[_ngcontent-%COMP%]{display:flex;margin-bottom:.3rem;align-items:center;justify-content:center;flex-direction:column}.sharwrapper[_ngcontent-%COMP%]{position:absolute;top:.5rem;right:.5rem;display:flex;align-items:center}.m-favbtn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#fff;padding:5px;margin-left:.3rem;border:1px solid #dad6d6}.m-fav[_ngcontent-%COMP%]{color:#545454;height:unset;width:unset}.bwertcount[_ngcontent-%COMP%]{font-size:.8rem;margin-left:.5rem;text-decoration:underline}.bwertwrapper[_ngcontent-%COMP%]{display:flex;margin-top:1rem;align-items:center}.seplocation[_ngcontent-%COMP%]{margin-left:.5rem;margin-right:.5rem}.locwrapper[_ngcontent-%COMP%], .locwrapperm[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:.5rem}.sico[_ngcontent-%COMP%]{font-size:1.2rem;width:unset;height:unset}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.cc17infos[_ngcontent-%COMP%]{max-width:350px;border:solid 1px #ccc;border-radius:5px;background:#fff;padding:10px;margin:0}.cc890[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:2rem;border-top:1px solid #e7e7e7;padding-top:1rem}.cc8901[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;width:60%}.w100[_ngcontent-%COMP%]{width:100%}@media screen and (max-width: 599.98px){.imgop[_ngcontent-%COMP%]{height:30px;margin-bottom:1rem}.smalldesc[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}}@media screen and (min-width: 600px) and (max-width: 959.98px){.imgop[_ngcontent-%COMP%]{height:30px;margin-bottom:1rem}.smalldesc[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}}
4/*# sourceMappingURL=recommendationcard.component-IGCJ5SHZ.css.map */`]})}return n})();function Mt(n,l){n&1&&(o(0,"div",0)(1,"h2"),m(2,"Alternative Angebote, die deinen W\xFCnschen am n\xE4chsten kommen."),r(),o(3,"div",1)(4,"div",2),x(5,"div",3)(6,"div",4)(7,"div",5),r()()())}function Rt(n,l){if(n&1&&x(0,"app-recommendationcard",9),n&2){let e=l.$implicit,t=s(3);
4d("hotel",e)("giataIdG",t.data==null?null:t.data.giataId)("tmp_realparams",t.realparams)}}function St(n,l){if(n&1&&(x(0,"mat-divider"),o(1,"div",6)(2,"span",7),m(3,"Alternative Angebote, die deinen W\xFCnschen am n\xE4chsten kommen."),r(),o(4,"div",8),ne(5,Rt,1,3,"app-recommendationcard",9,te),r()()),n&2){let e=s(2);a(4),ae("flex-direction",e.desktopTemplate!=="xs"&&e.desktopTemplate!=="sm"?"row":"column"),a(),ie(e.hotels)}}function Tt(n,l){if(n&1&&f(0,St,7,2),n&2){let e=s();_((e.hotels==null?null:e.hotels.length)>0?0:-1)}}var dn=(()=>{class n{recommendationService;trafficsService;mediaObserver;data;realparams;unsubscribe$=new H;hotels;loading=O(!0);desktopTemplate="xl";recommendationResponse;constructor(e,t,i){this.recommendationService=e,this.trafficsService=t,this.mediaObserver=i,this.mediaObserver.isMatched(I.XSmall)&&(this.desktopTemplate="xs"),this.mediaObserver.isMatched(I.Small)&&(this.desktopTemplate="sm"),this.mediaObserver.isMatched(I.Medium)&&(this.desktopTemplate="md"),this.mediaObserver.isMatched(I.Large)&&(this.desktopTemplate="lg"),this.mediaObserver.isMatched(I.XLarge)&&(this.desktopTemplate="xl")}ngOnInit(){this.hotels=[],this.getrecommendations()}async getrecommendations(){let e="";if(this.realparams?.reisendeResult?.children?.length>0)for(let t=0;t<this.realparams.reisendeResult.children.length;t++)e+=this.realparams.reisendeResult.children[t].age+(t<this.realparams.reisendeResult.children.length-1?",":"");if(this.data.giataId?.length>0){let t={giataId:this.data.giataId,productType:this.data.filtersData?.productType?.length>0?this.data.filtersData?.productType:"pauschal",adults:this.realparams?.reisendeResult?.adults?this.realparams.reisendeResult.adults:"2",children:e};this.recommendationService.request(t,"hotels/giataId/recommendations").pipe(A(this.unsubscribe$)).subscribe(i=>{if(this.recommendationResponse=i,this.recommendationResponse?.recommendationList?.length>0){let c="";for(let y=0;y<this.recommendationResponse.recommendationList.length&&y<11;y++)c+=this.recommendationResponse?.recommendationList[y].giataId+",";this.gettophotels(c)}else this.loading.set(!1)})}else this.loading.set(!1)}ngOnDestroy(){this.unsubscribe$.next(!0),this.unsubscribe$.complete()}async gettophotels(e){let t={};t.productType=this.data.productType?.length>0?this.data.productType:"pauschal",t.productSubType="all",t.adults=this.data.adults?.length>0?this.data.adults:"2",t.children=this.data.children?.length>0?this.data.children:"",t.rating={source:"holidaycheck",count:0,recommendation:0,overall:0},this.data?.filtersData?.searchDate?.length>0?t.searchDate=this.data?.filtersData?.searchDate:((0,T.default)(this.realparams?.reisezeitraumResult?.start).format("YYYY-MM-DD")<(0,T.default)().format("YYYY-MM-DD")&&(this.realparams.reisezeitraumResult.start=(0,T.default)().format("YYYY-MM-DD")),(0,T.default)(this.realparams?.reisezeitraumResult?.end).format("YYYY-MM-DD")<(0,T.default)().format("YYYY-MM-DD")&&(this.realparams.reisezeitraumResult.end=(0,T.default)(this.realparams.reisezeitraumResult.start).add(180,"days").format("YYYY-MM-DD")),t.duration=",,"+this.realparams?.reisezeitraumResult?.minDuration+","+t.maxDuration,t.searchDate=this.realparams?.reisezeitraumResult?.start+","+this.realparams?.reisezeitraumResult?.end),t.giataIdList=e,this.trafficsService.request(t,"hotels").pipe(A(this.unsubscribe$)).subscribe(i=>{if(i?.hotelList?.length){let c=[],y=t.giataIdList.split(",");for(let L=0;L<y?.length;L++)for(let R=0;R<i.hotelList.length;R++)i.hotelList[R].giata?.hotelId===y[L]&&(c.push(i.hotelList[R]),R=i.hotelList.length);this.hotels=JSON.parse(JSON.stringify(c))}this.loading.set(!1)})}static \u0275fac=function(t){return new(t||n)(h(je),h(j),h(xe))};static \u0275cmp=E({type:n,selectors:[["app-recommendations"]],inputs:{data:"data",realparams:"realparams"},standalone:!1,decls:2,vars:1,consts:[[1,"cc4"],[1,"cc5"],[1,"cc6"],[1,"skeleton",2,"width","80%","height","15px","border-radius",".3rem"],[1,"skeleton",2,"width","60%","height","15px","border-radius",".3rem","margin-top",".5rem"],[1,"skeleton",2,"width","20%","height","15px","border-radius",".3rem","margin-top","3rem"],[1,"cc1"],[1,"cc2"],[1,"cc3"],[1,"w100",3,"hotel","giataIdG","tmp_realparams"]],template:function(t,i){t&1&&f(0,Mt,8,0,"div",0)(1,Tt,1,1),t&2&&_(i.loading()?0:1)},dependencies:[ye,Ve],styles:[`.cc1[_ngcontent-%COMP%]{display:flex;flex-direction:column}.cc2[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;margin:1rem 0}.cc3[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;justify-content:center}
4.cc4[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:.3rem;flex-direction:column}.cc5[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:.3rem;flex-direction:column;width:100%}.cc6[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid rgba(84,84,84,.1803921569);margin-top:.5rem;border-radius:.3rem;padding:.5rem}.w100[_ngcontent-%COMP%]{width:100%}
5/*# sourceMappingURL=recommendations.component-YS63HNWV.css.map */`]})}return n})();var yn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=Q({type:n});static \u0275inj=K({imports:[ge,Re,N,V,ze,Te]})}return n})();export{dn as a,yn as b};
6//# sourceMappingURL=chunk-R6FGQ5NH.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.