PageSourceSearch

https://breezit.com/112.7a15300c864ea87d.js

js breezit.com collected 2026-09-29 03:13:24 UTC 44,800 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmarketplace=self.webpackChunkmarketplace||[]).push([[112],{21112:(pt,E,l)=>{l.r(E),l.d(E,{MarketplaceRecommendationsComponent:()=>M});var m=l(36895),e=l(94650),x=l(61135),I=l(39646),z=l(34782),D=l(77579),L=l(82722),Z=l(18505),v=l(63900),A=l(39841),g=l(54004),q=l(95698),O=l(80529),H=l(89999),P=l(15439),Y=l(37887),u=l(47713),F=l(93607),$=l(15177);const B="recommendations_quick_buttons",V=[u.v4.venueCateringMenuMain||u.v4.venueCateringMenuAdditional||u.v4.venueCateringMenuBeverages||u.v4.venueCateringMenuChildren||u.v4.venueCateringMenuBeveragesChildren];class b{constructor(){this.baseUrl=(0,e.f3M)(u._n),this.serviceEndpoint=`${this.baseUrl}/marketplace/service`,this.domainCountry=(0,e.f3M)(u.gn),this.authService=(0,e.f3M)(Y.Pr),this.likesService=(0,e.f3M)(H.o2),this.document=(0,e.f3M)(m.K0),this.httpService=(0,e.f3M)(O.eN),this.searchParamStore=(0,e.f3M)(u.VV),this.recommendedFromSearchService=(0,e.f3M)(u.H9),this.filterService=(0,e.f3M)($.n),this.similairServiceSort=(n,t,o)=>{const r=[...n];return"similarType"===t?this.sortBySubcategory(r,o.subCategory):"budgetFriendly"===t?this.sortByPrice(r):"similarStyleAndPrice"===t?this.sortByPriceAndFilter(r,+o.price):this.defaultSort(r)}}retrieveSearchRequestFilterParams(n){this.filterService.clearFilters();const t={category:"venues",eventType:"wedding",venueSubtype:n.subCategory,cateringType:n.cateringType,personCount:n.guestCount,dateFrom:n.date,priceFrom:n.priceRange.from,priceTo:n.priceRange.to};return this.searchParamStore.setParamByCategory("venues",t),t.dateFrom&&this.searchParamStore.setParam({date:t.dateFrom}),this.filterService.setFilters(t),this.filterService.parsedFilter$.pipe((0,q.q)(1),(0,g.U)(o=>{const r={...o,limit:100,showDisabled:!0,location:n.location},s={};return Object.entries(r).forEach(([a,c])=>{s[a]="object"==typeof c?JSON.stringify(c):c}),[s,n]}))}getRecommendationsFromSearch(n){return this.retrieveSearchRequestFilterParams(n).pipe((0,v.w)(([t,o])=>this.recommendedFromSearchService.getRecommendationsGeneric(t).pipe((0,v.w)(r=>r.length>=5?(0,I.of)(r):this.retrieveSearchRequestFilterParams({...o,subCategory:null}).pipe((0,v.w)(([s,a])=>this.recommendedFromSearchService.getRecommendationsGeneric(s)),(0,g.U)(s=>{const a=s.filter(c=>!r.some(d=>d._id===c._id));return[...r,...a]}))))))}getBookingData(n,t){return this.httpService.get(`${this.serviceEndpoint}/${n}`).pipe((0,g.U)(o=>{var r,s;const a=null!==(r=o.serviceBase.subcategories)&&void 0!==r&&r.types?null===(s=Object.entries(o.serviceBase.subcategories.types).find(([,d])=>!0===d))||void 0===s?void 0:s[0]:null,c={serviceEventId:o._id,excludeServiceBaseId:o.serviceBase._id,eventType:t.eventType,date:t.date,category:o.serviceBaseParams.type,subCategory:a,guestCount:t.guestCount,slug:o.slug,name:o.name,price:t.price,email:t.email,budgetLabel:t.budgetLabel,budgetPercent:t.budgetPercent,budgetPrice:t.budgetPrice,cateringType:t.cateringType,userName:t.name,location:{latitude:o.serviceBaseParams.address.latitude,longitude:o.serviceBaseParams.address.longitude,area1:o.serviceBaseParams.address.area1,city:o.serviceBaseParams.address.city,distance:12e4}};return"lt"===this.domainCountry?c:this.recommendedFromSearchService.mapParamsForRecsAfterInquiry(c)}),(0,Z.b)(o=>{if(o.category){const r={};o.guestCount&&(r.personCount=o.guestCount),this.searchParamStore.setParamByCategory(o.category,r)}o.date&&this.searchParamStore.setParam({date:o.date})}))}getSimilairServicesStream(n,t){const o={country:this.domainCountry.toUpperCase(),venueType:n.eventType,serviceType:n.category,type:n.category},r=t||this.getEmailFromLocalStorage();r&&(o.email=r),n.date&&(o.dateFrom=F.ED.sameAsGMT(P(n.date).startOf("day").toDate()).getTime(),o.dateTo=F.ED.sameAsGMT(P(n.date).endOf("day").toDate()).getTime());const s=Object.fromEntries(Object.entries(o).filter(([d])=>"similarByPhoto"!==d)),a=this.httpService.get(`${this.baseUrl}/marketplace/search/similarServices/`+n.serviceEventId,{params:new O.LE({fromObject:o})}),c=this.httpService.get(`${this.baseUrl}/marketplace/search/similarServices/`+n.serviceEventId,{params:new O.LE({fromObject:s})});
1return"us"===this.domainCountry?a.pipe((0,v.w)(d=>d&&0!==d.length?(0,I.of)(d):c)):c}getRecommendations(n,t){if("lt"===this.domainCountry)return this.recommendedFromSearchService.getRecommendations(n);if("similarStyle"===t)return this.getRecommendationsFromSimilarServices(n);if(["beverages","bringMyOwn"].includes(n.cateringType)){let o=["beverages","catering"];return"bringMyOwn"===n.cateringType&&(o=["bringMyOwn","beverages"]),this.getRecommendationsFromSearch({...n,cateringType:o[0]}).pipe((0,v.w)(r=>this.getRecommendationsFromSearch({...n,cateringType:o[1]}).pipe((0,g.U)(s=>{const a=s.filter(c=>!r.some(d=>d._id===c._id));return[...r,...a]}))))}return this.getRecommendationsFromSearch(n)}getRecommendationsFromSimilarServices(n){return this.authService.userData$.pipe((0,q.q)(1),(0,v.w)(t=>this.getSimilairServicesStream(n,null==t?void 0:t.email).pipe((0,g.U)(o=>({similairServices:o,userData:t})))),(0,g.U)(({similairServices:t,userData:o})=>{if(!t[0])return[];let r=[...t];return r=r.filter(s=>!s.bookings||0===s.bookings).map(s=>{const a=Object.entries(s.serviceEvent.enabledTypes).filter(({0:_,1:f})=>{var p;return f&&(null===(p=s.serviceEvent[_])||void 0===p?void 0:p.completed)}).map(_=>_[0])[0],c=!s.serviceEvent.customPricing&&s.serviceEvent.enabledTypes[n.eventType]||s.serviceEvent.customPricing&&s.serviceEvent.enabledTypes[n.eventType]&&s.serviceEvent[n.eventType].completed,d=c?n.eventType:a;return{...s,activeEventType:d,activeEventTypeKebab:(0,F.w9)(d),eventTypeDifferent:!c}}).filter(s=>!s.paid).filter(s=>s._id!==n.serviceEventId).filter((s,a,c)=>a===c.findIndex(d=>d.serviceEvent._id===s.serviceEvent._id)).sort((s,a)=>s.eventTypeDifferent===a.eventTypeDifferent?0:s.eventTypeDifferent?1:-1),r.map(s=>{var a,c;
1return s.slug=s.serviceEvent.slug,s.customPricing=s.serviceEvent.customPricing,s.likeId=o?null===(a=s.liked)||void 0===a||null===(c=a[0])||void 0===c?void 0:c._id:this.likesService.isLocalLiked(s.serviceEvent._id)?s.serviceEvent._id:null,{...s,...this.calculatePrice(s.serviceEvent,s.serviceBase,n.guestCount,n.date),_id:s.serviceEvent._id}})}))}calculatePrice(n,t,o=1,r=null){var s,a,c,d;const _=(0,u.fw)({base:t,event:n.wedding}),f=(0,u.yA)(_,o,r),p=null===(s=f.first)||void 0===s||null===(a=s.service)||void 0===a||null===(c=a.originalService)||void 0===c?void 0:c.description,h={price:f.first.price,innerPrices:f.first,defaultPrice:{description:{hoursIncluded:"hour"==(null==p?void 0:p.priceUnit)?null==p?void 0:p.minimalBudget:null==p?void 0:p.hoursIncluded}},cateringPrice:null};return V.includes(null===(d=f.first.service)||void 0===d?void 0:d.type)&&(h.cateringPrice=h.price),h}serviceLikeHandler(n){var t;n.likeId?this.likesService.removeLike(n.likeId,n.serviceEvent._id).subscribe(()=>{n.likeId=null}):this.likesService.saveLike(n.serviceEvent._id,void 0,n.serviceEvent.
1slug,null,null===(t=n.extra)||void 0===t?void 0:t.prioritised).subscribe(o=>{n.likeId=o._id})}getShowQuickButtons(n=!1){var t;const o=null===(t=this.document.defaultView)||void 0===t?void 0:t.localStorage;if(o){const r=o.getItem(B);if(n||!r){const s=Math.random()>=.5;return o.setItem(B,JSON.stringify(s)),s}return JSON.parse(r)}return null}defaultSort(n){return{result:n}}sortBySubcategory(n,t=null){const o=!!n.find(s=>Object.entries(s.serviceBase.subcategories.types).find(([,a])=>!0===a)[0]===t);return o?{hasSubcategory:o,result:n.filter(a=>Object.entries(a.serviceBase.subcategories.types).find(([,c])=>!0===c)[0]===t)}:{result:n.sort((s,a)=>{const c=Object.entries(s.serviceBase.subcategories.types).find(([,_])=>!0===_)[0],d=Object.entries(a.serviceBase.subcategories.types).find(([,_])=>!0===_)[0];return c===d?0:c>d?1:-1}),hasSubcategory:o}}sortByPrice(n){return{result:n.sort((o,r)=>Math.abs(o.price)-Math.abs(r.price))}}sortByPriceAndFilter(n,t){const o=n.sort((s,a)=>Math.abs(s.price)-Math.abs(a.price));return{result:t?o.filter(s=>s.price<1.45*t&&s.price>.8*t):o}}getEmailFromLocalStorage(){var n,t;const o=null===(n=this.document.defaultView)||void 0===n||null===(t=n.localStorage)||void 0===t?void 0:t.getItem("QUEST_CONTACT_FORM");return o&&JSON.parse(o).email||""}}b.\u0275fac=function(n){return new(n||b)},b.\u0275prov=e.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"});var T=l(97392),S=l(32925),K=l(21281);const G=[[["","suffix",""]]],X=function(i,n){return{"bztt-bg-[#1F1F1F] bztt-text-white selected":i,"bztt-bg-white bztt-text-[#1F1F1F] not-selected":n}};class C{constructor(){this.elementRef=(0,e.f3M)(e.SBq)}set selected(n){const t=(0,K.Ig)(n);this._selected=t}get selected(){return this._selected}}C.\u0275fac=function(n){return new(n||C)},C.\u0275cmp=e.Xpm({type:C,selectors:[["type-selector-badge"]],inputs:{label:"label",selected:"selected"},standalone:!0,features:[e.jDz],ngContentSelectors:["[suffix]"],decls:4,vars:5,consts:[[1,"bztt-h-10","bztt-px-3","bztt-border","bztt-border-[#DCDCDC]","bztt-flex","bztt-font-sora","bztt-font-medium","bztt-text-sm","bztt-items-center","bztt-justify-center","bztt-rounded-lg","bztt-gap-1","md:bztt-cursor-pointer",3,"ngClass"]],template:function(n,t){1&n&&(e.F$t(G),e.TgZ(0,"div",0),e.Hsn(1),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&n&&(e.Q6J("ngClass",e.WLB(2,X,t.selected,!t.selected)),e.xp6(3),e.Oqu(t.label))},dependencies:[m.ez,m.mk],encapsulation:2});
1const ee=["scrollContainer"];function te(i,n){if(1&i&&(e.TgZ(0,"mat-icon",7),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.icon)}}function ne(i,n){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"type-selector-badge",4,5),e.NdJ("click",function(){const s=e.CHM(t).$implicit,a=e.MAs(2),c=e.oxw();return e.KtG(c.selectBadge(s,a))}),e.ALo(3,"translate"),e.YNc(4,te,2,1,"mat-icon",6),e.qZA(),e.BQk()}if(2&i){const t=n.$implicit,o=e.oxw();e.xp6(1),e.s9C("label",e.lcZ(3,3,"recommendations.types."+t.key)),e.Q6J("selected",o.selected===t.key),e.xp6(3),e.Q6J("ngIf",t.icon)}}class w{constructor(){this.typeSelected=new e.vpe}set types(n){this._types=n}get types(){return this._types}set selected(n){this._selected=n}get selected(){return this._selected}ngOnInit(){}selectBadge(n,t){"boolean"==typeof n.selectable&&!1===n.selectable||(this.selected=n.key),this.scrollIntoView(t.elementRef),this.typeSelected.emit(n.key)}scrollIntoView(n){this.scrollContainer.nativeElement.scrollTo({left:n.nativeElement.offsetLeft+n.nativeElement.clientWidth/2-this.scrollContainer.nativeElement.clientWidth/2,behavior:"smooth"})}}w.\u0275fac=function(n){return new(n||w)},w.\u0275cmp=e.Xpm({type:w,selectors:[["recommendations-type-selector"]],viewQuery:function(n,t){if(1&n&&e.Gf(ee,5),2&n){let o;e.iGM(o=e.CRH())&&(t.scrollContainer=o.first)}},inputs:{types:"types",selected:"selected"},outputs:{typeSelected:"typeSelected"},standalone:!0,features:[e.jDz],decls:4,vars:1,consts:[[1,"bztt-overflow-hidden","bztt-overflow-x-auto","bztt-flex","bztt-jarvis-no-scrollbar"],["scrollContainer",""],[1,"bztt-flex","bztt-gap-2","bztt-flex-auto","bztt-flex-shrink-0","bztt-flex-grow-0"],[4,"ngFor","ngForOf"],[1,"bztt-backdrop-blur-[2px]",3,"label","selected","click"],["badgeRef",""],["suffix","","class","bztt-flex bztt-justify-center bztt-w-3",4,"ngIf"],["suffix","",1,"bztt-flex","bztt-justify-center","bztt-w-3"]],template:function(n,t){1&n&&(e.TgZ(0,"div",0,1)(2,"div",2),e.YNc(3,ne,5,5,"ng-container",3),e.qZA()()),2&n&&(e.xp6(3),e.Q6J("ngForOf",t.types))},dependencies:[m.ez,m.sg,m.O5,T.Ps,T.Hw,S.aw,S.X$,C],encapsulation:2});var ie=l(71507),N=l(94778),oe=l(94811),re=l(12610),se=l(85051),y=l(9944),ae=l(49439),ce=l(43928),j=l(51572),J=l(11481),le=l(10266);function de(i,n){if(1&i&&(e.TgZ(0,"li")(1,"div",3),e._uU(2," \u{1f4c5} "),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"date"),e.qZA()()),2&i){const t=e.oxw();e.xp6(4),e.Oqu(e.Dn7(5,1,t.data.date,"MMMM d, y","UTC"))}}function me(i,n){1&i&&(e.ynx(0),e.TgZ(1,"div",3),e._uU(2," \u{1f35d} "),e.qZA(),e._uU(3," Catering included"),e.BQk())}function ue(i,n){1&i&&(e.ynx(0),e.TgZ(1,"div",3),e._uU(2," \u{1f35d} "),e.qZA(),e._uU(3," F&B included"),e.BQk())}function pe(i,n){1&i&&(e.ynx(0),e.TgZ(1,"span",8),e._uU(2," Bring your own "),e.TgZ(3,"div",9),e._uU(4," \u{1f35d} "),e.qZA()(),e.BQk())}function _e(i,n){if(1&i&&(e.TgZ(0,"li")(1,"span",4),e.ynx(2,5),e.YNc(3,me,4,0,"ng-container",6),e.YNc(4,ue,4,0,"ng-container",6),e.YNc(5,pe,5,0,"ng-container",7),e.BQk(),e.qZA()()),2&i){const t=e.oxw();e.xp6(2),e.Q6J("ngSwitch",t.data.cateringType),e.xp6(1),e.Q6J("ngSwitchCase","catering"),e.xp6(1),e.Q6J("ngSwitchCase","beverages")}}function ge(i,n){if(1&i&&(e.TgZ(0,"li")(1,"div",3),e._uU(2," \u{1f483} "),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()),2&i){const t=e.oxw();e.xp6(4),e.hij("",t.data.guestCount," guests")}}const fe=function(i,n,t){return[i,n,"symbol","1.0-0",t]};function ve(i,n){if(1&i&&(e.TgZ(0,"li")(1,"div",3),e._uU(2," \u{1f4b0} "),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"currency"),e.ALo(6,"async"),e.ALo(7,"async"),e.qZA()()),2&i){const t=e.oxw();e.xp6(4),e.hij("Budget: ",e.G7q(5,1,e.kEZ(11,fe,t.data.priceRange.to,e.lcZ(6,7,t.activeCurrencyCode$),e.lcZ(7,9,t.activeLocale$)))," ")}}class k{constructor(){this.measurementUnitService=(0,e.f3M)(u.vn),this.activeCurrencyCode$=this.measurementUnitService.activeCurrencyCode$,this.activeLocale$=this.measurementUnitService.activeLocale$}ngOnInit(){}}k.\u0275fac=function(n){return new(n||k)},k.\u0275cmp=e.Xpm({type:k,selectors:[["recs-tags"]],inputs:{data:"data"},standalone:!0,features:[e._Bn([u.vn]),e.jDz],decls:6,vars:4,consts:[[1,"service-statuses","service-statuses__new"],[1,"bztt-flex-wrap","md:bztt-flex-row"],[4,"ngIf"],[1,"bztt-w-6","bztt-h-6","bztt-flex","bztt-items-center","bztt-justify-center","bztt-mr-2","bztt-text-2xl"],[1,"bztt-flex","bztt-flex-row"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"bztt-flex"],[1,"bztt-w-6","bztt-h-6","bztt-flex","bztt-items-center","bztt-justify-center","bztt-ml-2","bztt-text-2xl"]],template:function(n,t){1&n&&(e.TgZ(0,"div",0)(1,"ul",1),e.YNc(2,de,6,5,"li",2),e.YNc(3,_e,6,3,"li",2),e.YNc(4,ge,5,1,"li",2),e.YNc(5,ve,8,15,"li",2),e.qZA()()),2&n&&(e.xp6(2),e.Q6J("ngIf",t.data.date),e.xp6(1),e.Q6J("ngIf",t.data.cateringType),e.xp6(1),e.Q6J("ngIf",t.data.guestCount),e.xp6(1),e.Q6J("ngIf",t.data.priceRange.to&&5e3!==t.data.priceRange.to))},dependencies:[m.ez,m.O5,m.RF,m.n9,m.ED,m.Ov,m.H9,m.uU,T.Ps,S.aw,le.AV,u.p7],styles:[".service-statuses[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:flex;padding:0;margin:24px 0 0;flex-wrap:wrap;gap:.75rem}.service-statuses[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{background-color:#fff;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-family:Montserrat;font-size:14px;font-weight:600;color:#222;padding:8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:transparent;background-color:#ededed}"]});var be=l(2676),he=l(24330),ye=l(28688),xe=l(33653),ze=l(50200),Te=l(48897);const Q=function(i){return{listingNameList:i}};
1function Se(i,n){if(1&i&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,"recommendations.inquiryNotice.subTitleMulti",e.VKq(4,Q,t.sentRecommendedListingNames.join(", "))))}}const U=function(i){return{listingName:i}};function Ce(i,n){if(1&i&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const t=e.oxw(3).ngIf;e.xp6(1),e.Oqu(e.xi3(2,1,"recommendations.inquiryNotice.subTitle",e.VKq(4,U,t.bookingParams.name)))}}function we(i,n){if(1&i&&(e.TgZ(0,"div",22)(1,"span",23),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.ynx(4,24),e.YNc(5,Se,3,6,"span",25),e.YNc(6,Ce,3,6,"span",26),e.BQk(),e.qZA()),2&i){const t=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,3,"recommendations.inquiryNotice.title")),e.xp6(2),e.Q6J("ngSwitch",!!t.sentRecommendedListingNames),e.xp6(1),e.Q6J("ngSwitchCase",!0)}}function ke(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"jarvis-banner",16,17),e.NdJ("closed",function(){e.CHM(t);const r=e.oxw(2);return e.KtG(r.hideInquirySentBanner())}),e.TgZ(2,"div",18)(3,"mat-icon",19),e._uU(4,"check_circle"),e.qZA(),e.YNc(5,we,7,5,"div",20),e.TgZ(6,"span",21),e.NdJ("click",function(){e.CHM(t);const r=e.MAs(1);return e.KtG(r.handleClose())}),e._uU(7),e.ALo(8,"translate"),e.qZA()()()}if(2&i){const t=e.oxw(2),o=e.MAs(26);e.Q6J("duration",t.inquiryNoticeDurationMillis),e.xp6(5),e.Q6J("ngIf",!t.offeredPriceFlow)("ngIfElse",o),e.xp6(2),e.Oqu(e.lcZ(8,4,"recommendations.inquiryNotice.done"))}}function Me(i,n){if(1&i&&e._UZ(0,"recs-tags",28),2&i){const t=e.oxw().ngIf;e.Q6J("data",t.bookingParams)}}const Re=function(i){return{name:i}};function Ie(i,n){if(1&i&&(e.ynx(0),e.YNc(1,ke,9,6,"jarvis-banner",13),e.TgZ(2,"h1",14),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Me,1,1,"recs-tags",15),e.BQk()),2&i){const t=n.ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.isMobile&&o.inquirySentNoticeShown&&t.bookingParams),e.xp6(2),e.hij(" ",e.xi3(4,3,null!=t.bookingParams&&t.bookingParams.userName?"recommendations.nameTitle":"recommendations.title",e.VKq(6,Re,null==t.bookingParams?null:t.bookingParams.userName))," "),e.xp6(2),e.Q6J("ngIf","us"===o.domainCountry&&t.bookingParams)}}function Ze(i,n){if(1&i){const t=e.EpF();
1e.TgZ(0,"jarvis-product-shorts",33,34),e.NdJ("reelsClosed",function(){e.CHM(t);const r=e.oxw(3);return e.KtG(r.navigateToSearch(!0))})("listingOpenHandler",function(r){e.CHM(t);const s=e.oxw(3);return e.KtG(s.handleListingPreviewOpen(r))}),e.ALo(2,"async"),e.TgZ(3,"recommendations-type-selector",35),e.NdJ("typeSelected",function(r){e.CHM(t);const s=e.oxw(3);return e.KtG(s.handleSortTypeSelected(r,!0))}),e.qZA()()}if(2&i){const t=e.oxw(2).ngIf,o=e.oxw();e.Q6J("main",!0)("total",t.length)("hideSelectorCards",!0)("initialData",t)("queryParams",e.lcZ(2,10,o.bookingParam$))("dynamicParams$",o.dynamicCardParam$)("showOnInit",o.showReelsView)("isRecommendations",!0),e.xp6(3),e.Q6J("types",o.sortTypes)("selected",o.sortTypes[1].key)}}function Ae(i,n){if(1&i&&(e.TgZ(0,"div",31),e.YNc(1,Ze,4,12,"jarvis-product-shorts",32),e.qZA()),2&i){const t=n.ngIf,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.isMobile&&"lt"===o.domainCountry)}}function Ne(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const r=e.oxw(3).$implicit,s=e.oxw(3);return e.KtG(s.handleInquiryFlow(r))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"recommendations.actions.instantQuote")," "))}function qe(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(t);const r=e.oxw(3).$implicit,s=e.oxw(3);return e.KtG(s.handleInquiryFlow(r))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"recommendations.actions.inquirySent")," "))}function Oe(i,n){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",42),e.NdJ("click",function(){e.CHM(t);const r=e.oxw(2).$implicit,s=e.oxw(3);return e.KtG(s.handleListingPreviewOpen((null==r.serviceEvent?null:r.serviceEvent._id)||r._id))}),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,Ne,3,3,"button",43),e.YNc(5,qe,3,3,"button",44),e.BQk()}if(2&i){const t=n.ngIf;e.xp6(2),e.hij(" ",e.lcZ(3,3,"recommendations.actions.quickView")," "),e.xp6(2),e.Q6J("ngIf",!t.inquirySent),e.xp6(1),e.Q6J("ngIf",t.inquirySent)}}const Fe=function(i){return{inquirySent:i}};function Ee(i,n){if(1&i&&(e.TgZ(0,"div",41),e.YNc(1,Oe,6,5,"ng-container",2),e.ALo(2,"async"),e.qZA()),2&i){const t=e.oxw().$implicit,o=e.oxw(3);let r;e.xp6(1),e.Q6J("ngIf",e.VKq(3,Fe,null==(r=e.lcZ(2,1,o.sentInquiryIdList$))?null:r.includes((null==t.serviceEvent?null:t.serviceEvent._id)||t._id)))}}function Le(i,n){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"jarvis-ui-marketplace-card",39),e.NdJ("likeEvent",function(){const s=e.CHM(t).$implicit,a=e.oxw(3);return e.KtG(a.handleServiceLike(s))}),e.ALo(2,"async"),e.ALo(3,"CardData"),e.ALo(4,"CardPictures"),e.ALo(5,"async"),e.ALo(6,"CardImageCount"),e.ALo(7,"async"),e.ALo(8,"async"),e.YNc(9,Ee,3,5,"div",40),e.ALo(10,"async"),e.qZA(),e.BQk()}if(2&i){const t=n.$implicit,o=e.oxw(3);let r;e.xp6(1),e.Q6J("data",e.lcZ(2,8,e.Dn7(3,10,t,t.activeEventTypeKebab||"wedding",o.dynamicCardParam$)))("images",e.xi3(4,14,t,t.activeEventType||(null==(r=e.lcZ(5,17,o.bookingParam$))?null:r.eventType)))("imageCount",e.lcZ(6,19,t))("liked",t.likeId)("isMobile",e.lcZ(7,21,o.isMobile$))("disableRedirect",e.lcZ(8,23,o.showQuickButtons&&o.isMobile$))("recommendationType",o.currentRecommendationType),e.xp6(8),e.Q6J("ngIf",e.lcZ(10,25,o.showQuickButtons&&o.isMobile$))}}const Pe=function(){return["/ai-planner"]};function $e(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"div",47)(1,"div",48)(2,"div",49),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"a",50),e.NdJ("click",function(){e.CHM(t);const r=e.oxw(3);return e.KtG(r.handleTrackEvent(["try_ai_planner_widget_click",{page_type:"afterBookingRecs"}]))}),e.ALo(6,"async"),e.TgZ(7,"button",51),e._uU(8),e.ALo(9,"translate"),e.qZA()()()()}if(2&i){const t=e.oxw(3);e.xp6(3),e.hij(" ",e.lcZ(4,4,"listingRecommendations.AILink.title3")," "),e.xp6(2),e.Q6J("target",e.lcZ(6,6,t.isMobile$)?"_self":"_blank")("routerLink",e.DdM(10,Pe)),e.xp6(3),e.hij(" ",e.lcZ(9,8,"listingRecommendations.AILink.button")," ")}}function Be(i,n){if(1&i&&(e.TgZ(0,"div",36),e.YNc(1,Le,11,27,"ng-container",37),e.YNc(2,$e,10,11,"div",38),e.qZA()),2&i){const t=e.oxw().ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",t)("ngForTrackBy",o.trackById),e.xp6(1),e.Q6J("ngIf","us"===o.domainCountry)}}const je=function(i){return{isMobile:i}};
1function Je(i,n){if(1&i&&(e.ynx(0),e.YNc(1,Ae,2,1,"div",29),e.ALo(2,"async"),e.YNc(3,Be,3,3,"div",30),e.BQk()),2&i){const t=n.ngIf,o=e.oxw(),r=e.MAs(11);e.xp6(1),e.Q6J("ngIf",e.VKq(5,je,e.lcZ(2,3,o.isMobile$))),e.xp6(2),e.Q6J("ngIf",t&&t.length>0)("ngIfElse",r)}}function Qe(i,n){if(1&i&&(e.TgZ(0,"div",53),e._UZ(1,"jarvis-ui-marketplace-card",54),e.ALo(2,"async"),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("isMobile",e.lcZ(2,1,t.isMobile$))}}function Ue(i,n){if(1&i&&(e.TgZ(0,"div",36),e.YNc(1,Qe,3,3,"div",52),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.emptyCards)}}function De(i,n){1&i&&(e.TgZ(0,"div",55)(1,"div",56),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&i&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"filters.noData.nothingHere")," "))}function He(i,n){1&i&&e._UZ(0,"jarvis-overlay",57),2&i&&e.Q6J("bottom",0)("backdrop",!1)("closeOnNavigation",!1)}function Ye(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"marketplace-listing-preview-main",58),e.NdJ("inquirySent",function(r){e.CHM(t);const s=e.oxw();return e.KtG(s.handleInquirySent(r))})("close",function(){e.CHM(t);const r=e.oxw();return e.KtG(r.handleListingPreviewClose())}),e.ALo(1,"async"),e.qZA()}if(2&i){const t=n.ngIf,o=e.oxw();let r;e.Q6J("listingId",t)("showGallery",!0)("showTitle",!0)("recommendationType",o.currentRecommendationType)("inquiryDisabled",null==(r=e.lcZ(1,5,o.sentInquiryIdList$))?null:r.includes(t))}}function Ve(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"recommendations-inquiry-flow",59),e.NdJ("inquirySent",function(r){e.CHM(t);const s=e.oxw();return e.KtG(s.handleInquirySent(r))})("closed",function(){e.CHM(t);const r=e.oxw();return e.KtG(r.handleInquiryFlowClose())}),e.ALo(1,"async"),e.qZA()}if(2&i){const t=n.ngIf,o=e.oxw();e.Q6J("listingData",t)("bookingParams",e.lcZ(1,3,o.bookingParam$))("recommendationType",o.currentRecommendationType)}}function Ke(i,n){if(1&i&&(e.TgZ(0,"span",64),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,"recommendations.inquiryNotice.subTitleMultiNewLine",e.VKq(4,Q,t.sentRecommendedListingNames.join(",\n"))))}}function Ge(i,n){if(1&i&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const t=e.oxw(3).ngIf;e.xp6(1),e.Oqu(e.xi3(2,1,"recommendations.inquiryNotice.subTitle",e.VKq(4,U,t.bookingParams.name)))}}function Xe(i,n){if(1&i&&(e.TgZ(0,"div",22)(1,"span",23),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.ynx(4,24),e.YNc(5,Ke,3,6,"span",63),e.YNc(6,Ge,3,6,"span",26),e.BQk(),e.qZA()),2&i){const t=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,3,"recommendations.inquiryNotice.title")),e.xp6(2),e.Q6J("ngSwitch",!!t.sentRecommendedListingNames),e.xp6(1),e.Q6J("ngSwitchCase",!0)}}const We=function(i){return{"bztt-items-center":i}};function et(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"jarvis-snackbar",16,60),e.NdJ("closed",function(){e.CHM(t);const r=e.oxw(2);return e.KtG(r.closeSuccessSnackbar())}),e.TgZ(2,"div",61)(3,"mat-icon",19),e._uU(4,"check_circle"),e.qZA(),e.YNc(5,Xe,7,5,"div",20),e.TgZ(6,"span",62),e.NdJ("click",function(){e.CHM(t);const r=e.MAs(1);return e.KtG(r.handleClose())}),e._uU(7),e.ALo(8,"translate"),e.qZA()()()}if(2&i){const t=e.oxw(2),o=e.MAs(26);e.Q6J("duration",t.inquiryNoticeDurationMillis),e.xp6(2),e.Q6J("ngClass",e.VKq(7,We,!t.sentRecommendedListingNames)),e.xp6(3),e.Q6J("ngIf",!t.offeredPriceFlow)("ngIfElse",o),e.xp6(2),e.Oqu(e.lcZ(8,5,"recommendations.inquiryNotice.done"))}}function tt(i,n){if(1&i&&(e.ynx(0),e.YNc(1,et,9,9,"jarvis-snackbar",13),e.BQk()),2&i){const t=n.ngIf;e.xp6(1),e.Q6J("ngIf",t.isMobile&&t.showSuccessSnackbar&&t.bookingParams)}}function nt(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"jarvis-overlay",66),e.NdJ("closed",function(){e.CHM(t);const r=e.oxw(2);return e.KtG(r.handleHideOverlay())}),e.GkF(1,67),e.qZA()}if(2&i){e.oxw(2);const t=e.MAs(28);e.Q6J("closeOnNavigation",!1),e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function it(i,n){if(1&i&&(e.ynx(0),e.YNc(1,nt,2,2,"jarvis-overlay",65),e.BQk()),2&i){const t=n.ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.showPriceGuideOverlay&&t.mobile)}}function ot(i,n){1&i&&(e.TgZ(0,"jarvis-overlay",68)(1,"div",69),e._UZ(2,"mat-spinner",70),e.qZA()()),2&i&&(e.Q6J("closeOnNavigation",!1)("height","100%"),e.xp6(2),e.Q6J("diameter",30))}function rt(i,n){1&i&&(e.TgZ(0,"span",64),e._uU(1,"Your preferred price request sent. We will contact you shortly."),e.qZA())}const st=function(i){return{"bztt-border-b bztt-border-slate-200":i}};
1function at(i,n){if(1&i){const t=e.EpF();e.TgZ(0,"div",71),e.NdJ("closeAnimationEnd",function(){e.CHM(t);const r=e.oxw();return e.KtG(r.handleHideOverlay())}),e.TgZ(1,"div",72),e.NdJ("click",function(){e.CHM(t);const r=e.oxw();return e.KtG(r.handleHideOverlay())}),e.ALo(2,"async"),e._UZ(3,"div",73),e.qZA(),e.TgZ(4,"div",74)(5,"div",75),e._UZ(6,"marketplace-pricing-guide",76),e.qZA()(),e.TgZ(7,"div",74)(8,"div",75),e.Hsn(9),e.qZA()()()}if(2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(5,st,e.lcZ(2,3,t.scrollBehavior$))),e.xp6(5),e.Q6J("fromRecs",!0)("fromBookATour",t.fromBookATour)}}const ct=function(i,n){return{bookingParams:i,isMobile:n}},lt=function(i,n,t){return{showSuccessSnackbar:i,bookingParams:n,isMobile:t}},dt=function(i){return{mobile:i}},ut={lt:[{key:"otherUsersLiked"},{key:"budgetFriendly"}],us:[{key:"similarVenue"},{key:"similarStyle"}]};class M{constructor(){var n,t,o;this.domainCountry=(0,e.f3M)(u.gn),this.layoutService=(0,e.f3M)(re.v),this.dataService=(0,e.f3M)(b),this.router=(0,e.f3M)(N.F0),this.currentRoute=(0,e.f3M)(N.gz),this.headerService=(0,e.f3M)(ae.r6),this.document=(0,e.f3M)(m.K0),this.paramStoreService=(0,e.f3M)(u.VV),this.trackService=(0,e.f3M)(u.J9),this.metaService=(0,e.f3M)(J.h_),this.titleService=(0,e.f3M)(J.Dx),this.servicesService=(0,e.f3M)(u.rm),this.showQuickButtons=!0,this.newListingName=null,this.showPriceGuideOverlay=!1,this.emptyCards=new Array(24).fill(null),this.sortTypes=[{key:"all",selectable:!1,icon:"chevron_left"},...ut[this.domainCountry]],this.sortTypeSource=new x.X(this.sortTypes[1]),this.sortType$=this.sortTypeSource.asObservable(),this.dynamicCardParam$=(0,I.of)([]),this.isMobile$=this.layoutService.isMobileObserver,this.listingPreviewIdSource=new x.X(null),this.listingPreviewId$=this.listingPreviewIdSource.asObservable(),this.scrollBehavior$=new x.X(!1),this.inquiryFlowDataSource=new x.X(null),this.inquiryFlowData$=this.inquiryFlowDataSource.asObservable(),this.sentInquiryIdListSource=new x.X([]),this.sentInquiryIdList$=this.sentInquiryIdListSource.asObservable().pipe((0,z.d)(1)),this.inquirySentNoticeShown=!1,this.inquiryNoticeDurationMillis="lt"===this.domainCountry?45e3:6e3,this.personCount=null,this.date=null,this.showReelsView=!1,this.offeredPriceFlow=!1,this.sentRecommendedListingNames=null,this.fromBookATour=!1,this.destroy$=new D.x,this.trackById=(a,c)=>c._id,this.cache={similarVenue:null,similarStyle:null},this.scroll=a=>{this.scrollBehavior$.next(a.srcElement.scrollTop>0)};const r=this.router.getCurrentNavigation();var s;null!=r&&null!==(n=r.extras.state)&&void 0!==n&&n.showInquiryNotice&&this.openSuccessSnackbar(),null!=r&&null!==(t=r.extras.state)&&void 0!==t&&t.showOfferedPriceNotice&&(this.offeredPriceFlow=!0),null!=r&&null!==(o=r.extras.state)&&void 0!==o&&o.sentRecommendedListingNames&&(this.sentRecommendedListingNames=null==r||null===(s=r.extras.state)||void 0===s?void 0:s.sentRecommendedListingNames),"reels"in this.currentRoute.snapshot.queryParams&&(this.showReelsView=!0),this.layoutService.isMobileObserver.pipe((0,L.R)(this.destroy$)).subscribe(a=>{this.headerService.showSecondaryHeader$.next(!a&&"lt"===this.domainCountry)}),this.sortType$.pipe((0,L.R)(this.destroy$)).subscribe(()=>{this.document.getElementById("bContent").scrollTo({top:0})})}ngOnInit(){var n;const{queryParams:t,params:o}=this.currentRoute.snapshot,{slug:r}=o;this.fromBookATour=!0===(null===(n=history.state)||void 0===n?void 0:n.fromBookATour),console.log(this.router.getCurrentNavigation(),history.state),window.addEventListener("scroll",this.scroll,!0),t.id&&(this.showPriceGuideOverlay=!0),this.bookingParam$=this.dataService.getBookingData(r,t).pipe((0,Z.b)(a=>{this.addSentInquiryId(a.serviceEventId),a.slug!==r&&this.router.navigate(["..",a.slug],{queryParamsHandling:"preserve",relativeTo:this.currentRoute,replaceUrl:!0}).then(()=>{this.trackPageLoad()})}),(0,z.d)(1));const s=this.bookingParam$.pipe((0,v.w)(a=>(this.activeServiceName=null==a?void 0:a.name,(0,A.a)([this.getRecommendations(a,"similarVenue").pipe((0,Z.b)(c=>this.cache.similarVenue=c)),this.getRecommendations(a,"similarStyle").pi
1pe((0,Z.b)(c=>this.cache.similarStyle=c))]).pipe((0,g.U)(([c,d])=>({bookingData:a,similarVenue:c,similarStyle:d}))))),(0,z.d)(1));this.dataSource$="lt"===this.domainCountry?this.bookingParam$.pipe((0,v.w)(a=>(this.activeServiceName=null==a?void 0:a.name,(0,A.a)({similairServices:this.dataService.getRecommendations(a),sortType:this.sortType$,bookingData:(0,I.of)(a)}).pipe((0,g.U)(({similairServices:c,sortType:d,bookingData:_})=>{const f=this.dataService.similairServiceSort(c,d.key,_);return this.currentRecommendationType=this.parseRecommendationType(!!f.hasSubcategory,d.key),this.trackPageView(),f.result})))),(0,z.d)(1)):(0,A.a)([s,this.sortType$]).pipe((0,g.U)(([{bookingData:a},c])=>{var d;const _=null!==(d="similarVenue"===c.key?this.cache.similarVenue:this.cache.similarStyle)&&void 0!==d?d:[],f=a.excludeServiceBaseId,p=(null==_?void 0:_.filter(R=>{var h;return(null==R||null===(h=R.serviceBase)||void 0===h?void 0:h._id)!==f}))||[];return this.trackPageView(),p}),(0,z.d)(1)),this.dynamicCardParam$=(0,A.a)({bookingParams:this.bookingParam$,sortType:this.sortType$}).pipe((0,g.U)(({bookingParams:a})=>{const c=[{type:"fromRecommended",value:this.currentRecommendationType}];return a.date&&(this.date=new Date(a.date),c.push({type:"dateFrom",value:this.date})),a.guestCount&&(this.personCount=+a.guestCount,c.push({type:"personCount",value:this.personCount})),a.subCategory&&(c.push({type:"subtype",value:a.subCategory}),c.push({type:"cateringType",value:a.cateringType})),c})),this.setMetaTags()}handleHideOverlay(){this.showPriceGuideOverlay=!1}ngOnDestroy(){this.headerService.showSecondaryHeader$.next(!0),this.listingPreviewIdSource.complete(),this.inquiryFlowDataSource.complete(),this.destroy$.next(),this.destroy$.complete(),window.removeEventListener("scroll",this.scroll,!0)}getRecommendations(n,t){return this.dataService.getRecommendations(n,t)}handleServiceLike(n){this.dataService.serviceLikeHandler(n)}openSuccessSnackbar(){this.inquirySentNoticeShown=!0}closeSuccessSnackbar(){this.inquirySentNoticeShown=!1,this.newListingName=null}hideInquirySentBanner(){this.closeSuccessSnackbar()}handleInquirySent(n){this.newListingName=n.serviceName,this.addSentInquiryId(n.serviceEventId),this.handleListingPreviewClose(),this.openSuccessSnackbar()}handleListingPreviewOpen(n){this.listingPreviewIdSource.next(n)}handleListingPreviewClose(){this.listingPreviewIdSource.next(null)}handleInquiryFlow(n){this.servicesService.getMarketplaceListing(n._id).subscribe(t=>{n.serviceEvent=t,this.inquiryFlowDataSource.next(n)})}handleInquiryFlowClose(){this.inquiryFlowDataSource.next(null)}handleSortTypeSelected(n,t=!1){const o=this.sortTypes.find(r=>r.key===n);"all"===n?(this.navigateToSearch(this.showReelsView),this.trackAllClicked(t)):(this.trackBadgeClick(n,t),this.sortTypeSource.next(o))}handleNavSelection(n){"allVenues"===n&&this.navigateToSearch(),"reels"===n&&this.navigateToSearch(!0)}addSentInquiryId(n){const o=[...this.sentInquiryIdListSource.value,n];this.sentInquiryIdListSource.next(o)}handleTrackEvent(n){const[t,o]=n,r={...o,source:"afterBookingRecs"};this.trackService.handleEvent({trackers:["amplitude","mixpanel"],eventName:t,data:r})}trackBadgeClick(n,t=!1){this.trackService.handleEvent({trackers:["amplitude","mixpanel"],eventName:t?"recommendations_reels_tab_clicked":"recommendations_tab_clicked",data:{tab:n}})}trackPageLoad(){this.trackService.handleEvent({trackers:["amplitude","mixpanel"],eventName:"page_load",data:{page_type:"recsAfterInquiry"}})}trackAllClicked(n=!1){this.trackService.handleEvent({trackers:["amplitude","mixpanel"],eventName:n?"recommendations_reels_back_to_all_clicked":"recommendations_back_to_all_clicked"})}trackPageView(){const n={tab:this.currentRecommendationType};this.layoutService.isMobile&&(n.quick_buttons=this.showQuickButtons),this.trackService.handleEvent({trackers:["amplitude","mixpanel"],eventName:"recommendations_page_view",data:n})}parseRecommendationType(n,t){return"similarType"===t&&n?"similarType":"similarType"===t?"similarTypeFallback":t}navigateToSearch(n=!1){return this.bookingParam$.pipe((0,q.q)(1),(0,v.w)(t=>this.paramStoreService.getParamByCategory(t.category).pipe((0,g.U)(o=>({bookingParams:t,categoryParams:o})))),(0,g.U)(({bookingParams:t,categoryParams:o})=>{const r={};t.guestCount&&(r.personCount=t.guestCount),n&&(r.reels="");const{budgetList:s,cateringType:a}=o;return s&&(r.budgetList=s),a&&(r.cateringType=a),r.category=t.category,r.eventType="general"===t.eventType?t.eventType:"wedding",r})).subscribe(t=>{this.router.navigate(["search"],{queryParams:t,state:{fromRecommendations:!0,currentRecommendationType:this.currentRecommendationType}})})}setMetaTags(){this.metaService.addTag({name:"robots",content:"noindex, nofollow"}),setTimeout(()=>{let n="";n="lt"===this.domainCountry?`Rekomendacijos po u\u017eklausos | Pana\u0161ios \u012f ${this.activeServiceName} | Breezit`:`Inquiry Recommendations: Similar to ${this.activeServiceName} | Breezit`,this.titleService.setTitle(n),this.metaService.updateTag({property:"og:title",content:n})},500)}}M.\u0275fac=function(n){return new(n||M)},M.\u0275cmp=e.Xpm({type:M,selectors:[["marketplace-recommendations"]],standalone:!0,features:[e._Bn([b,$.n]),e.jDz],ngContentSelectors:["*"],decls:29,vars:40,consts:[[1,"bztt-flex","bztt-justify-center","bztt-mb-4","bztt-h-full","bztt-pb-8","bztt-bg-[#F9F9F9]"],[1,"bztt-h-full","bztt-mt-3","md:bztt-mt-6","bztt-flex","bztt-flex-col","bztt-w-full","bztt-px-4","md:bztt-mx-4"],[4,"ngIf"],[1,"bztt-mt-4","bztt-py-2","bztt-sticky","bztt-top-0","bztt-z-10","bztt-bg-[#F9F9F9]",3,"types","selected","typeSelected"],[4,"ngIf","ngIfElse"],["loading",""],["noData",""],["type","global",3,"bottom","backdrop","closeOnNavigation",4,"ngIf"],[3,"listingId","showGallery","showTitle","recommendationType","inquiryDisabled","inquirySent","close",4,"ngIf"],[3,"listingData","bookingParams","recommendationType","inquirySent","closed",4,"ngIf"],["type","global",3,"closeOnNavigation","height",4,"ngIf"],["offeredPriceSnackbar",""],["mobilePricingSlideoutOverlay",""],[3,"duration","closed",4,"ngIf"],[1,"bztt-mb-3","bztt-mt-3","bztt-font-sora","bztt-font-semibold","bztt-text-[#1F1F1F]","bztt-text-3xl","md:bztt-text-4xl"],[3,"data",4,"ngIf"],[3,"duration","closed"],["successBanner",""],[1,"bztt-flex","bztt-items-center","bztt-bg-[#1ACC4C]","bztt-text-white","bztt-p-4","bztt-rounded-lg","bztt-font-sora","bztt-mb-3"],[1,"bztt-mr-3"],["class","bztt-flex bztt-gap-1 md:bztt-gap-3 bztt-flex-wrap",4,"ngIf","ngIfElse"],[1,"bztt-font-medium","bztt-text-sm","bztt-ml-auto","bztt-select-none","bztt-cursor-pointer","bztt-pl-5",3,"click"],[1,"bztt-flex","bztt-gap-1","md:bztt-gap-3","bztt-flex-wrap"],[1,"bztt-font-bold","bztt-text-sm"],[3,"ngSwitch"],["class","bztt-text-sm bztt-font-light",4,"ngSwitchCase"],["class","bztt-text-sm bztt-font-light",4,"ngSwitchDefault"],[1,"bztt-text-sm","bztt-font-light"],[3,"data"],["class","shorts-1 bztt-mb-5 bztt-mt-2 md:bztt-mt-0",4,"ngIf"],["class","marketplace-grid bztt-mt-4 bztt-gap-6 bztt-mb-4 child:bztt-flex-shrink md:child:bztt-flex-shrink-0 bztt-flex-wrap bztt-relative",4,"ngIf","ngIfElse"],[1,"shorts-1","bztt-mb-5","bztt-mt-2","md:bztt-mt-0"],["customTopBar","true",3,"main","total","hideSelectorCards","initialData","queryParams","dynamicParams$","showOnInit","isRecommendations","reelsClosed","listingOpenHandler",4,"ngIf"],["customTopBar","true",3,"main","total","hideSelectorCards","initialData","queryParams","dynamicParams$","showOnInit","isRecommendations","reelsClosed","listingOpenHandler"],["productShorts",""],[1,"bztt-z-10","bztt-bg-[#F9F9F9]","reels-filters","bztt-pt-[2px]",3,"types","selected","typeSelected"],[1,"marketplace-grid","bztt-mt-4","bztt-gap-6","bztt-mb-4","child:bztt-flex-shrink","md:child:bztt-flex-shrink-0","bztt-flex-wrap","bztt-relative"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","AI-card lg:bztt-max-w-[324px] bztt-min-w-[291px] lg:bztt-min-w-[unset] bztt-w-full bztt-flex bztt-items-center bztt-justify-center bztt-cursor-pointer bztt-border-gray-300 bztt-border bztt-bg-gray-50","matRipple","",4,"ngIf"],["cardClickEventType","search",1,"bztt-w-full","md:bztt-w-full","md:bztt-min-h-[440px]",3,"data","images","imageCount","liked","isMobile","disableRedirect","recommendationType","likeEvent"],["cardBottom","","class","bztt-flex bztt-gap-3 bztt-mt-4 bztt-font-sora bztt-text-sm bztt-font-normal",4,"ngIf"],["cardBottom","",1,"bztt-flex","bztt-gap-3","bztt-mt-4","bztt-font-sora","bztt-text-sm","bztt-font-normal"],["track","quick_view","trackKey","quick_button",1,"bztt-h-10","bztt-rounded-full","bztt-bg-[#E1E1E1]","bztt-w-full",3,"click"],["track","get_a_quote","trackKey","quick_button","class","bztt-h-10 bztt-rounded-full bztt-bg-[#EF5518] bztt-w-full bztt-text-white",3,"click",4,"ngIf"],["disabled","","class","bztt-h-10 bztt-rounded-full bztt-bg-[#696969] bztt-w-full bztt-text-white",3,"click",4,"ngIf"],["track","get_a_quote","trackKey","quick_button",1,"bztt-h-10","bztt-rounded-full","bztt-bg-[#EF5518]","bztt-w-full","bztt-text-white",3,"click"],["disabled","",1,"bztt-h-10","bztt-rounded-full","bztt-bg-[#696969]","bztt-w-full","bztt-text-white",3,"click"],["matRipple","",1,"AI-card","lg:bztt-max-w-[324px]","bztt-min-w-[291px]","lg:bztt-min-w-[unset]","bztt-w-full","bztt-flex","bztt-items-center","bztt-justify-center","bztt-cursor-pointer","bztt-border-gray-300","bztt-border","bztt-bg-gray-50"],[1,"bztt-flex","bztt-flex-col","bztt-gap-y-3","bztt-items-center","bztt-font-semibold","bztt-px-5"],[1,"bztt-text-center","bztt-text-xl","bztt-font-bold"],["rel","noreferrer",1,"bztt-border-none",3,"target","routerLink","click"],["app-button","","color","accent",1,"bztt-w-48","bztt-mt-5"],["class","bztt-p-0 bztt-border-none",4,"ngFor","ngForOf"],[1,"bztt-p-0","bztt-border-none"],["pageType","marketplace","cardType","loading",1,"bztt-w-full","md:bztt-w-full","md:bztt-min-h-[440px]",3,"isMobile"],[1,"bztt-relative","bztt-text-center","bztt-flex","bztt-items-center","bztt-justify-center","bztt-flex-col","bztt-gap-10","bztt-py-16"],[1,"bztt-text-3xl","bztt-font-montserrat-bold"],["type","global",3,"bottom","backdrop","closeOnNavigation"],[3,"listingId","showGallery","showTitle","recommendationType","inquiryDisabled","inquirySent","close"],[3,"listingData","bookingParams","recommendationType","inquirySent","closed"],["snackBar",""],[1,"bztt-flex","bztt-bg-[#1ACC4C]","bztt-text-white","bztt-p-4","bztt-rounded-lg","bztt-font-sora","bztt-shadow-lg",3,"ngClass"],[1,"bztt-font-medium","bztt-text-sm","bztt-ml-auto","bztt-select-none","bztt-cursor-pointer","bztt-pl-5","bztt-self-ce
1nter",3,"click"],["class","bztt-text-sm bztt-font-light bztt-whitespace-pre-wrap",4,"ngSwitchCase"],[1,"bztt-text-sm","bztt-font-light","bztt-whitespace-pre-wrap"],["type","global","height","93%",3,"closeOnNavigation","closed",4,"ngIf"],["type","global","height","93%",3,"closeOnNavigation","closed"],[3,"ngTemplateOutlet"],["type","global",3,"closeOnNavigation","height"],[1,"short-loading-container","bztt-w-full","bztt-bg-[#1F1F1F]","bztt-relative","bztt-text-white"],[1,"bztt-opacity-80","center-absolut",3,"diameter"],["draggableDown","",1,"bztt-flex","bztt-flex-col","bztt-bg-white","scrollbar-hide","bztt-overflow-y-auto","bztt-overflow-x-hidden","bztt-rounded-t-3xl","bztt-font-sora","bztt-flex-grow","bztt-w-full","bztt-shadow-[0_-5px_14px_-5px_rgb(0,0,0,0.35)]",3,"closeAnimationEnd"],["dragHandle","",1,"bztt-flex","bztt-sticky","bztt-z-10","bztt-top-0","bztt-gap-1","bztt-bg-white","bztt-flex-col","bztt-items-center","bztt-w-full","bztt-pt-5","bztt-pb-5",3,"ngClass","click"],[1,"bztt-w-[40px]","bztt-h-[5px]","bztt-bg-[#6B6060]","bztt-rounded-sm"],[1,"bztt-flex","bztt-px-4","bztt-flex-col","bztt-w-full"],[1,"bztt-flex","bztt-w-full","bztt-flex-col","bztt-px-[var(--padding-x)]","bztt-py-[var(--padding-y)]","bztt-flex-grow"],[3,"fromRecs","fromBookATour"]],template:function(n,t){if(1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Ie,6,8,"ng-container",2),e.ALo(3,"async"),e.ALo(4,"async"),e.TgZ(5,"recommendations-type-selector",3),e.NdJ("typeSelected",function(r){return t.handleSortTypeSelected(r)}),e.qZA(),e.YNc(6,Je,4,7,"ng-container",4),e.ALo(7,"async"),e.qZA()(),e.YNc(8,Ue,2,1,"ng-template",null,5,e.W1O),e.YNc(10,De,4,3,"ng-template",null,6,e.W1O),e.YNc(12,He,1,3,"jarvis-overlay",7),e.ALo(13,"async"),e.YNc(14,Ye,2,7,"marketplace-listing-preview-main",8),e.ALo(15,"async"),e.YNc(16,Ve,2,5,"recommendations-inquiry-flow",9),e.ALo(17,"async"),e.YNc(18,tt,2,1,"ng-container",2),e.ALo(19,"async"),e.ALo(20,"async"),e.YNc(21,it,2,1,"ng-container",2),e.ALo(22,"async"),e.YNc(23,ot,3,3,"jarvis-overlay",10),e.ALo(24,"async"),e.YNc(25,rt,2,0,"ng-template",null,11,e.W1O),e.YNc(27,at,10,7,"ng-template",null,12,e.W1O)),2&n){const o=e.MAs(9);e.xp6(2),e.Q6J("ngIf",e.WLB(31,ct,e.lcZ(3,11,t.bookingParam$),e.lcZ(4,13,t.isMobile$))),e.xp6(3),e.Q6J("types",t.sortTypes)("selected",t.sortTypes[1].key),e.xp6(1),e.Q6J("ngIf",e.lcZ(7,15,t.dataSource$))("ngIfElse",o),e.xp6(6),e.Q6J("ngIf",e.lcZ(13,17,t.isMobile$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(15,19,t.listingPreviewId$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(17,21,t.inquiryFlowData$)),e.xp6(2),e.Q6J("ngIf",e.kEZ(34,lt,t.inquirySentNoticeShown,e.lcZ(19,23,t.bookingParam$),e.lcZ(20,25,t.isMobile$))),e.xp6(3),e.Q6J("ngIf",e.VKq(38,dt,e.lcZ(22,27,t.isMobile$))),e.xp6(2),e.Q6J("ngIf",e.lcZ(24,29,t.isMobile$)&&t.showReelsView)}},dependencies:[m.ez,m.mk,m.sg,m.O5,m.tP,m.RF,m.n9,m.ED,m.Ov,T.Ps,T.Hw,S.aw,S.X$,j.Cq,j.Ou,y.JarvisDraggableDownDirective,y.JarvisDragHandleDirective,w,ie.$,oe.n,k,be.PricingGuideComponent,y.JarvisSnackbarComponent,y.JarvisBannerComponent,y.JarvisOverlayComponent,se.Z7,he.P,u.EX,ye.J,xe.n,ze.S,y.ButtonModule,Te.r,ce.h,N.Bz,N.rH],styles:["[_nghost-%COMP%]{--padding-x: 1.5rem;--padding-y: 1rem}.marketplace-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,324px);justify-content:space-between}@media screen and (max-width: 768px){.marketplace-grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr)}}.short-loading-container[_ngcontent-%COMP%]     .mat-mdc-progress-spinner circle, .short-loading-container[_ngcontent-%COMP%]     .mat-mdc-spinner circle{stroke:#fff!important}.center-absolut[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.reels-filters[_ngcontent-%COMP%]    {background-color:transparent!important}.reels-filters[_ngcontent-%COMP%]     type-selector-badge .not-selected{background-color:#0000001a!important;color:#fff!important;border:none!important;height:30px!important;font-size:10px!important;font-weight:500!important}.reels-filters[_ngcontent-%COMP%]     type-selector-badge .selected{height:30px!important;font-size:10px!important;background-color:#fff!important;color:#111!important;border:none!important;font-weight:500!important}.AI-card[_ngcontent-%COMP%]{font-family:Sora;border-radius:12px;font-size:16px;min-height:443px}"]})}}]);

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.