!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="89ebbbc2-29da-4f95-919f-52e2f2ab666c",e._sentryDebugIdIdentifier="sentry-dbid-89ebbbc2-29da-4f95-919f-52e2f2ab666c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5061],{49790:function(e,o,n){Promise.resolve().then(n.bind(n,28545)),Promise.resolve().then(n.bind(n,38755)),Promise.resolve().then(n.bind(n,70247)),Promise.resolve().then(n.bind(n,13073)),Promise.resolve().then(n.bind(n,66250)),Promise.resolve().then(n.bind(n,15789)),Promise.resolve().then(n.bind(n,35797)),Promise.resolve().then(n.bind(n,961)),Promise.resolve().then(n.bind(n,41594)),Promise.resolve().then(n.bind(n,75455)),Promise.resolve().then(n.bind(n,71562)),Promise.resolve().then(n.bind(n,89231)),Promise.resolve().then(n.bind(n,94184)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,96849)),Promise.resolve().then(n.bind(n,63911)),Promise.resolve().then(n.bind(n,5852)),Promise.resolve().then(n.bind(n,30844)),Promise.resolve().then(n.bind(n,89923)),Promise.resolve().then(n.bind(n,63728)),Promise.resolve().then(n.bind(n,36242)),Promise.resolve().then(n.bind(n,15610)),Promise.resolve().then(n.bind(n,99447)),Promise.resolve().then(n.bind(n,67332)),Promise.resolve().then(n.bind(n,77180)),Promise.resolve().then(n.bind(n,61373)),Promise.resolve().then(n.bind(n,62687)),Promise.resolve().then(n.bind(n,16268)),Promise.resolve().then(n.bind(n,36806)),Promise.resolve().then(n.bind(n,96068)),Promise.resolve().then(n.bind(n,3574)),Promise.resolve().then(n.bind(n,61448)),Promise.resolve().then(n.bind(n,74678)),Promise.resolve().then(n.bind(n,80550)),Promise.resolve().then(n.bind(n,80053)),Promise.resolve().then(n.bind(n,9892)),Promise.resolve().then(n.bind(n,22322)),Promise.resolve().then(n.bind(n,22048)),Promise.resolve().then(n.bind(n,62415)),Promise.resolve().then(n.bind(n,50062)),Promise.resolve().then(n.bind(n,83768)),Promise.resolve().then(n.bind(n,70266)),Promise.resolve().then(n.bind(n,79988)),Promise.resolve().then(n.bind(n,10630)),Promise.resolve().then(n.bind(n,2052)),Promise.resolve().then(n.bind(n,27722)),Promise.resolve().then(n.bind(n,61358)),Promise.resolve().then(n.bind(n,17691)),Promise.resolve().then(n.bind(n,49016)),Promise.resolve().then(n.bind(n,17301)),Promise.resolve().then(n.bind(n,45049)),Promise.resolve().then(n.bind(n,35158)),Promise.resolve().then(n.bind(n,12323)),Promise.resolve().then(n.bind(n,26654)),Promise.resolve().then(n.bind(n,43451)),Promise.resolve().then(n.bind(n,94987)),Promise.resolve().then(n.bind(n,29735)),Promise.resolve().then(n.bind(n,76848)),Promise.resolve().then(n.bind(n,97538)),Promise.resolve().then(n.bind(n,61986)),Promise.resolve().then(n.bind(n,79240)),Promise.resolve().then(n.bind(n,63569)),Promise.resolve().then(n.bind(n,80844)),Promise.resolve().then(n.bind(n,93333)),Promise.resolve().then(n.bind(n,53165)),Promise.resolve().then(n.bind(n,92789)),Promise.resolve().then(n.bind(n,23684)),Promise.resolve().then(n.bind(n,50695)),Promise.resolve().then(n.bind(n,32245)),Promise.resolve().then(n.bind(n,68993)),Promise.resolve().then(n.bind(n,83875)),Promise.resolve().then(n.bind(n,78707)),Promise.resolve().then(n.bind(n,59823)),Promise.resolve().then(n.bind(n,3597)),Promise.resolve().then(n.bind(n,680)),Promise.resolve().then(n.bind(n,26942)),Promise.resolve().then(n.bind(n,53964)),Promise.resolve().then(n.bind(n,51307)),Promise.resolve().then(n.bind(n,95743)),Promise.resolve().then(n.bind(n,92532)),Promise.resolve().then(n.bind(n,87610)),Promise.resolve().then(n.bind(n,57298)),Promise.resolve().then(n.bind(n,9296)),Promise.resolve().then(n.bind(n,60322)),Promise.resolve().then(n.bind(n,2093)),Promise.resolve().then(n.bind(n,17194)),Promise.resolve().then(n.bind(n,2104)),Promise.resolve().then(n.bind(n,87143)),Promise.resolve().then(n.bind(n,99688)),Promise.resolve().then(n.bind(n,5713)),Promise.resolve().then(n.bind(n,88653)),Promise.resolve().then(n.bind(n,5055)),Promise.resolve().then(n.bind(n,29030)),Promise.resolve().then(n.bind(n,69519)),Promise.resolve().then(n.bind(n,45151)),Promise.resolve().then(n.bind(n,49130)),Promise.resolve().then(n.bind(n,47530)),Promise.resolve().then(n.bind(n,12679)),Promise.resolve().then(n.bind(n,58594)),Promise.resolve().then(n.bind(n,15231)),Promise.resolve().then(n.bind(n,38632)),Promise.resolve().then(n.bind(n,80519)),Promise.resolve().then(n.bind(n,35174)),Promise.resolve().then(n.bind(n,84786)),Promise.resolve().then(n.bind(n,85147)),Promise.resolve().then(n.bind(n,48247)),Promise.resolve().then(n.bind(n,57305)),Promise.resolve().then(n.bind(n,6683)),Promise.resolve().then(n.bind(n,34434)),Promise.resolve().then(n.bind(n,54636)),Promise.resolve().then(n.bind(n,59486)),Promise.resolve().then(n.bind(n,40508)),Promise.resolve().then(n.bind(n,33719)),Promise.resolve().then(n.bind(n,15707)),Promise.resolve().then(n.bind(n,18450)),Promise.resolve().then(n.bind(n,46624)),Promise.resolve().then(n.bind(n,97120)),Promise.resolve().then(n.bind(n,20029)),Promise.resolve().then(n.bind(n,63804)),Promise.resolve().then(n.bind(n,26897)),Promise.resolve().then(n.bind(n,27335)),Promise.resolve().then(n.bind(n,95772)),Promise.resolve().then(n.bind(n,506)),Promise.resolve().then(n.bind(n,42735)),Promise.resolve().then(n.bind(n,76011)),Promise.resolve().then(n.bind(n,95893)),Promise.resolve().then(n.bind(n,8949)),Promise.resolve().then(n.bind(n,57803)),Promise.resolve().then(n.bind(n,14361)),Promise.resolve().then(n.bind(n,73936)),Promise.resolve().then(n.bind(n,58035)),Promise.resolve().then(n.bind(n,38778)),Promise.resolve().then(n.bind(n,17019)),Promise.resolve().then(n.bind(n,61583)),Promise.resolve().then(n.bind(n,69008)),Promise.resolve().then(n.bind(n,92533)),Promise.resolve().then(n.bind(n,15028)),Promise.resolve().then(n.bind(n,33996)),Promise.resolve().then(n.bind(n,18966)),Promise.resolve().then(n.bind(n,50477)),Promise.resolve().then(n.bind(n,54473)),Promise.resolve().then(n.bind(n,74541))},13073:function(e,o,n){"use strict";var t=n(27573),i=n(7653),r=n(80879),s=n(67754),a=n(87659),l=n(49185),d=n(26981),c=n(96511),m=n(45892),h=n(57578),v=n(80504),u=n(34940),p=n(16485);const g=r.ZP.section.withConfig({componentId:"sc-80155a33-0"})(["max-width:1300px;margin:auto;padding:30px 25px 30px 15px;"]),b=(0,r.ZP)(d.W20).withConfig({componentId:"sc-80155a33-1"})(["display:flex !important;align-items:center;width:100%;max-width:1350px;"]),P=r.ZP.div.withConfig({componentId:"sc-80155a33-2"})(["background-color:",";color:",";padding:15px;"],(e=>{let{theme:o}=e;return o.colors.PRIMARY_500}),(e=>{let{theme:o}=e;return o.colors.WHITE})),f=r.ZP.section.withConfig({componentId:"sc-80155a33-3"})(["max-width:1000px;margin:50px auto 70px;padding-top:12px;","{margin:auto;}"],(e=>{let{theme:o}=e;return o.mediaQueries.md})),y=r.ZP.div.withConfig({componentId:"sc-80155a33-4"})(["margin-top:20px;"]),x=r.ZP.section.withConfig({componentId:"sc-80155a33-5"})(["max-width:1300px;margin:auto;padding:30px 15px;"]),I=r.ZP.section.withConfig({componentId:"sc-80155a33-6"})(["max-width:1300px;margin:auto;padding:30px 15px;overflow-x:hidden;a{display:flex;justify-content:center;align-items:center;color:",";font-weight:",";}"],(e=>{let{theme:o}=e;return o.colors.PRIMARY_500}),(e=>{let{theme:o}=e;return o.fontWeights.semibold})),C=r.ZP.section.withConfig({componentId:"sc-80155a33-7"})(["max-width:1300px;margin:auto;padding:30px 15px;"]),w=r.ZP.div.withConfig({componentId:"sc-80155a33-8"})(["display:flex;flex-flow:wrap row;gap:10px;justify-content:space-between;align-items:center;a{display:flex;justify-content:center;align-items:center;color:",";font-weight:",";}"],(e=>{let{theme:o}=e;return o.colors.PRIMARY_500}),(e=>{let{theme:o}=e;return o.fontWeights.semibold})),A=r.ZP.section.withConfig({componentId:"sc-80155a33-9"})(["max-width:1300px;margin:auto;padding:30px 15px 0px;"]),T=r.ZP.section.withConfig({componentId:"sc-80155a33-10"})(["max-width:1300px;margin:auto;padding:0 15px 30px;.title{margin-bottom:10px;}"]),k=r.ZP.section.withConfig({componentId:"sc-80155a33-11"})(["max-width:1300px;margin:auto;padding:30px 15px;"]);o.default=e=>{let{dictionary:o,locale:n,currency:S,popularLocations:j,productsTags:F,marketplaceReviews:E,marketplaceReviewsStatistics:Z,company:N}=e;var D,M,R,U,O,_,W,B,H,L,V,G,K,X,z,Y,q,Q,J,$,ee;const[oe,ne]=(0,i.useState)(!1),[te,ie]=(0,i.useState)(null),[re,se]=(0,i.useState)([]),[ae,le]=(0,i.useState)(!1),[de,ce]=(0,i.useState)(j),[me,he]=(0,i.useState)(F),ve=(0,r.Fg)(),{isXs:ue,isSm:pe,isMd:ge}=(0,d.SLI)(),be=ue||pe||ge,Pe=(0,s.useSearchParams)(),fe=null===Pe||void 0===Pe?void 0:Pe.get("search"),ye=N.id!==v.el,{state:{categories:xe,allCategoriesChildren:Ie,selectedTypes:Ce,categoriesIds:we,facilities:Ae,facilityIds:Te,showAvailable:ke},setSelectedTypes:Se,getSearchFunc:je,setCategoriesIds:Fe,setFacilitiesIds:Ee}=(0,m.Rx)(),{state:{user:Ze,temporaryUser:Ne,temporaryUserChecked:De,autoLoginLoading:Me},setTemporaryUserCreated:Re,toggleFavProductFunc:Ue,checkFavCompanyFunc:Oe,toggleFavCompanyFunc:_e,toggleFavProductTagFunc:We}=(0,m.aF)();(0,i.useEffect)((()=>{var e;const o=null!==(e=localStorage.getItem("token"))&&void 0!==e?e:null;o&&(0,p.N)({currency:S,currentCompanyId:N.id,locale:n,sellerId:N.id,per:8,orderBy:"orders_count",onlyRootTags:!1,token:o}).then((e=>{e&&e.length>0&&ce(e)}))}),[]),(0,i.useEffect)((()=>{var e;const o=null!==(e=localStorage.getItem("token"))&&void 0!==e?e:null;o&&(0,p.N)({currency:S,currentCompanyId:N.id,locale:n,sellerId:N.id,per:"all",orderBy:"products_count",type:"category",onlyRootTags:!1,token:o}).then((e=>{e&&e.length>0&&he(e)}))}),[]),(0,i.useEffect)((()=>{if(Pe){const e=Pe.get("dateFrom"),o=Pe.get("dateTo"),t=[];Ce.accommodations&&t.push(d.kvN.ACCOMMODATION),Ce.attractions&&t.push(d.kvN.COUPON,d.kvN.TICKET,d.kvN.VOUCHER),Ce.trips&&t.push(d.kvN.STANDARD);const i=Pe.get("lat"),r=Pe.get("lng"),s=i&&r?{origin:{lat:i,lon:r},within:"100km"}:void 0;je({anyDate:ke,categoryIds:we.map((e=>"string"===typeof e?parseInt(e,10):e)),facilityIds:Te,currency:S,currentCompanyId:N.id,dateFrom:e,dateTo:o,locale:n,locationIds:[],page:1,per:10,search:fe||null,sellerId:N.id,sortBy:"GEO_DISTANCE",sortDirection:"ASC",location:s,people:{adults:1,children:0,infants:0},productType:t})}}),[we,Te,Ce,ke]),(0,i.useEffect)((()=>{const e=null===Pe||void 0===Pe?void 0:Pe.get("reset_password_token");e&&(ne(!0),ie(e))}),[Pe]),(0,i.useEffect)((()=>{(0,u.IT)(S,n).then((e=>se(e)))}),[]);const Be=xe?xe.flatMap((e=>["Zakwaterowanie","Accommodation"].includes(e.name)?e.children.map((e=>e.id)):null)).filter((e=>null!==e)):[],He=Array.isArray(me)?me.filter((e=>Be.includes(e.id))):[],Le=xe?xe.flatMap((e=>["Wycieczki","Trips"].includes(e.name)?e.children.map((e=>e.id)):null)).filter((e=>null!==e)):[],Ve=Array.isArray(me)?me.filter((e=>Le.includes(e.id))):[],Ge=e=>{Fe([e])};var Ke;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P,{children:(0,t.jsxs)(f,{children:[(0,t.jsx)(d.xvT,{text:o.pages.home.headerH1,variant:be?d.rKG.H6:d.rKG.H3}),(0,t.jsx)(d.xvT,{text:o.pages.home.headerP,fontSize:be?d.yH7.S:d.yH7.L}),(0,t.jsx)(y,{children:(0,t.jsx)(c.qd,{locale:n,currency:S,dictionary:o,companyId:N.id,filtersProps:{categories:xe,categoriesIds:we.map((e=>"string"===typeof e?parseInt(e,10):e)),allCategoriesChildren:Ie,setCategoriesIds:Fe,setSelectedTypes:Se,facilities:Ae,facilitiesIds:Te,setFacilitiesIds:Ee}})})]})}),re.length>0?(0,t.jsx)(x,{children:(0,t.jsx)(d.sUW,{title:o.common.lastViewedSection.title,products:re,locale:n,storageLastViewed:JSON.parse(null!==(Ke=localStorage.getItem(v.dR.LAST_VIEWED))&&void 0!==Ke?Ke:"[]"),rows:2,negotiateButtonText:o.common.lastViewedSection.negotiateButtonText,toggleFavProduct:Ue,toggleFavCompanyFunc:_e,checkFavCompanyFunc:Oe})}):null,(0,t.jsx)(b,{maxWidth:!1,children:(0,t.jsx)(h.fw,{dictionary:o})}),(0,t.jsx)(I,{children:(0,t.jsx)(d.Ew,{locale:n,title:null===o||void 0===o||null===(R=o.pages)||void 0===R||null===(M=R.home)||void 0===M||null===(D=M.popularLocationsSection)||void 0===D?void 0:D.title,itemSubtitle:"",items:de,icon:d.HQh.TRIP,toggleFavProductTagFunc:We,linkComponent:(0,t.jsxs)(a.default,{href:"/".concat(n).concat(v.nf.en["things-to-do"]),children:[null===o||void 0===o||null===(_=o.pages)||void 0===_||null===(O=_.home)||void 0===O||null===(U=O.popularLocationsSection)||void 0===U?void 0:U.seeAll,(0,t.jsx)(d.LZ3,{color:ve.colors.PRIMARY_500,width:15,height:15})]})})}),Ve.length>0&&(0,t.jsxs)(C,{children:[(0,t.jsxs)(w,{children:[(0,t.jsx)(d.xvT,{text:null===o||void 0===o||null===(H=o.pages)||void 0===H||null===(B=H.home)||void 0===B||null===(W=B.typeOfTripsSection)||void 0===W?void 0:W.title,variant:d.rKG.H5}),(0,t.jsxs)(a.default,{href:"/".concat(n).concat(v.nf.en.categories),children:[null===o||void 0===o||null===(G=o.pages)||void 0===G||null===(V=G.home)||void 0===V||null===(L=V.typeOfTripsSection)||void 0===L?void 0:L.all,(0,t.jsx)(d.LZ3,{color:ve.colors.PRIMARY_500,width:15,height:15})]})]}),(0,t.jsx)(d.m2Z,{tags:Ve,handleTagClick:Ge,locale:n,offersText:o.common.tagCard.offers,offerText:o.common.tagCard.offer,toggleFavProductTagFunc:We})]}),He.length>0&&(0,t.jsxs)(C,{children:[(0,t.jsxs)(w,{children:[(0,t.jsx)(d.xvT,{text:null===o||void 0===o||null===(z=o.pages)||void 0===z||null===(X=z.home)||void 0===X||null===(K=X.typeOfAccommodationSection)||void 0===K?void 0:K.title,variant:d.rKG.H5}),(0,t.jsxs)(a.default,{href:"/".concat(n).concat(v.nf.en.categories),children:[null===o||void 0===o||null===(Q=o.pages)||void 0===Q||null===(q=Q.home)||void 0===q||null===(Y=q.typeOfAccommodationSection)||void 0===Y?void 0:Y.all,(0,t.jsx)(d.LZ3,{color:ve.colors.PRIMARY_500,width:15,height:15})]})]}),(0,t.jsx)(d.m2Z,{tags:He,handleTagClick:Ge,locale:n,offersText:o.common.tagCard.offers,toggleFavProductTagFunc:We})]}),(0,t.jsx)(A,{children:(0,t.jsx)(d.GmK,{negotiateInfoDictionary:o.common.negotiateInfo,modalSteps:(0,u.ay)(o.common.negotiateInfoSteps)})}),(0,t.jsxs)(T,{children:[(0,t.jsx)(d.xvT,{text:null===o||void 0===o||null===(ee=o.pages)||void 0===ee||null===($=ee.home)||void 0===$||null===(J=$.offersSection)||void 0===J?void 0:J.title,variant:d.rKG.H5,className:"title"}),(0,t.jsx)(h.NB,{locale:n,currency:S,dictionary:o,companyId:v.el,locations:j,productsSSR:[],per:8,toggleFavProduct:Ue,checkFavCompanyFunc:Oe,toggleFavCompanyFunc:_e})]}),(0,t.jsxs)(k,{children:[(0,t.jsx)(d.xvT,{text:o.common.negotiateInfo.howToNegotiateText,variant:d.rKG.H5}),(0,t.jsx)(d.GmK,{negotiateInfoDictionary:o.common.negotiateInfo,modalSteps:(0,u.ay)(o.common.negotiateInfoSteps),inModal:!1})]}),(0,t.jsx)(g,{children:(0,t.jsx)(d.Zvr,{locale:n,reviewText:o.pages.location.Reviews,average:Z.average,totals:Z.totals,gradePercentages:Z.gradePercentages,reviews:E,marketplaceReviews:!0})}),!Me&&(0,t.jsx)(l.en,{companyId:N.id,restUrl:"https://discountly.evobot-dev.evoqai.com",restToken:"Basic ZXZvcWFpOmV2b3FhaV9oaWxsc185MDIxMA==",websocketUrl:"wss://discountly.evobot-dev.evoqai.com/text-conversation",websocketToken:"NDg0OTNkZDUtMTEwZC00ZDlkLWI2MjEtZWNkNTE4ZjE1NDhi",isWidget:!0,isOpen:ae,setOpen:le,currency:S,language:n,productId:null,productName:"",productUrl:"",productImage:"",productImageHtml:"",productCategory:"",productCompany:"",productCompanyId:"",productPriceFrom:"",bookingDateFrom:"",bookingDateTo:"",productCompanyEmail:"",customerEmail:"",bookingPartySizeAdults:"",bookingPartySizeChildren:"",bookingPartySizeInfants:"",tripsomaniaNegotiationMode:"",tripsomaniaCommissionCap:"",clientCompanyCustomerId:(null===Ze||void 0===Ze?void 0:Ze.id)||null,clientCompanyEmployeeId:N.id,setVoucherCode:()=>{},setTemporaryUserCreated:Re,temporaryUserId:(null===Ne||void 0===Ne?void 0:Ne.id)||null,temporaryUserChecked:De,currentCompanyId:N.id,locationId:null,isSaas:ye,env:"production"}),(0,t.jsx)(d.u_l,{open:oe,handleClose:()=>ne(!1),blockClose:!0,children:(0,t.jsx)(c.sm,{locale:n,dictionary:o,resetPasswordToken:te,closeForm:()=>ne(!1)})})]})}},70247:function(e,o,n){"use strict";n.d(o,{default:function(){return g}});var t=n(27573),i=n(7653),r=n(80879),s=n(26981),a=n(49185),l=n(67754),d=n(57578),c=n(34940),m=n(80504),h=n(45892),v=n(96511),u={src:"/_next/static/media/companyInfoImage.b748f5a0.png",height:186,width:186,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAV1BMVEVMaXFdsLwuLy87oZgwmIYyftwwgNeIo71OREUlQVcoKy04pZEWMVEmctgyf+E+qpcpICNvZ2cnZFhNcXEuTkgMHh4mOjc1kIAYGBy8wsKVmpx3eX8tKivOYcV6AAAAG3RSTlMAItB5MEaYBwokuIpOFHCgXV5Ujn4qx8CHdvHeZ2Q5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAQElEQVR4nBXFRxKAMBAEsXZixzY5p/+/k0IXAVg2gCja/H9sp/cGNeh+imDdp2uZZYxviXXoDOXsQtM7JJGaZB9LHAI7mGk6EgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};const p=r.ZP.div.withConfig({componentId:"sc-aea7546f-0"})(["display:flex;flex-direction:column;padding-top:20px;","{padding-top:0;}"],(e=>{let{theme:o}=e;return o.mediaQueries.sm}));var g=e=>{let{dictionary:o,locale:n,currency:r,company:g,companyToShow:b,reviews:P,reviewsStatistics:f,bestsellers:y,locations:x,numberOfActiveCampaigns:I}=e;const[C,w]=(0,i.useState)(!1),[A,T]=(0,i.useState)(null),[k,S]=(0,i.useState)(!1),{state:{user:j,temporaryUser:F,temporaryUserChecked:E,autoLoginLoading:Z},setTemporaryUserCreated:N,toggleFavProductFunc:D}=(0,h.aF)(),M=(0,i.useRef)(null),R=g.id!==m.el,U=(0,l.useSearchParams)();return(0,i.useEffect)((()=>{const e=null===U||void 0===U?void 0:U.get("reset_password_token");e&&(w(!0),T(e))}),[U]),(0,t.jsxs)(p,{children:[b&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Jeq,{googleMapsApiKey:"AIzaSyALv785VdUmTPbWmdMGSHrT6FXwuD7Kwgo",image:null===b||void 0===b?void 0:b.marketplaceCoverImageUrl,slug:"/".concat(n,"/c/").concat(b.id,"-").concat(b.slug),title:b.name,getDiscountText:o.pages.location["Get discounts!"],seeAvailableText:o.pages.location["See available"],discountCount:3,onSeeDiscountClick:()=>console.log("onSeeDiscountClick"),mapText:o.pages.location.Map,discountText:o.pages.location.Discount,companyPage:!0,company:b,companySubtitleText:o.pages.company["Search among offers"],reviewsStatistics:f,reviewsText:o.pages.company.reviews,mapUrl:"/".concat(n).concat(m.nf.en.map,"?sellerId=").concat(b.id),askText:o.pages.location["Ask for location"],askTextCompany:o.pages.location["Ask for offers"],setNegotiateChatOpen:()=>{M.current&&M.current.askForOffer()}}),!R&&(0,t.jsx)(s.GmK,{negotiateInfoDictionary:o.common.negotiateInfo,modalSteps:(0,c.ay)(o.common.negotiateInfoSteps)}),(0,t.jsx)(d.NB,{locale:n,currency:r,dictionary:o,companyId:g.id,supplierId:b.id,locations:x,productsSSR:[],toggleFavProduct:D}),I&&I>0&&!g.hideDiscounting?(0,t.jsx)(s.u7U,{discountsInfoDictionary:o.common.discountsInfo,discountsUrl:"/".concat(n).concat(m.nf.en.discounts)}):null,y.length>0&&(0,t.jsx)(s.LmZ,{locale:n,title:"".concat(o.pages.company.Bestsellers," ").concat(b.name),products:y,offerCardDictionary:o.common.offerCard,isSaas:R}),(0,t.jsx)(s.Zvr,{locale:n,title:"".concat(b.name,": ").concat(o.pages.company["What others say about our offers"],"?"),reviewText:o.pages.location.Reviews,average:f.average,totals:f.totals,gradePercentages:f.gradePercentages,reviews:P}),(0,t.jsx)(s.zWt,{locale:n,company:b,verifiedText:o.pages.company.verifiedText,askText:o.pages.company.askText,setNegotiateChatOpen:()=>{M.current&&M.current.askForOffer()},extended:!0,companyInfoImage:u})]}),(0,t.jsx)(d.fw,{dictionary:o}),!Z&&(0,t.jsx)(a.en,{companyId:g.id,restUrl:"https://discountly.evobot-dev.evoqai.com",restToken:"Basic ZXZvcWFpOmV2b3FhaV9oaWxsc185MDIxMA==",websocketUrl:"wss://discountly.evobot-dev.evoqai.com/text-conversation",websocketToken:"NDg0OTNkZDUtMTEwZC00ZDlkLWI2MjEtZWNkNTE4ZjE1NDhi",isWidget:!0,isOpen:k,setOpen:S,currency:r,language:n,productId:null,productName:"",productUrl:"",productImage:"",productImageHtml:"",productCategory:"",productCompany:"",productCompanyId:"",productPriceFrom:"",bookingDateFrom:"",bookingDateTo:"",productCompanyEmail:"",customerEmail:"",bookingPartySizeAdults:"",bookingPartySizeChildren:"",bookingPartySizeInfants:"",tripsomaniaNegotiationMode:"",tripsomaniaCommissionCap:"",clientCompanyCustomerId:(null===j||void 0===j?void 0:j.id)||null,clientCompanyEmployeeId:b.id,setVoucherCode:()=>{},setTemporaryUserCreated:N,temporaryUserId:(null===F||void 0===F?void 0:F.id)||null,temporaryUserChecked:E,currentCompanyId:b.id,locationId:null,ref:M,isSaas:R,env:"production"}),(0,t.jsx)(s.u_l,{open:C,handleClose:()=>w(!1),blockClose:!0,children:(0,t.jsx)(v.sm,{locale:n,dictionary:o,resetPasswordToken:A,closeForm:()=>w(!1)})})]})}},57578:function(e,o,n){"use strict";n.d(o,{fw:function(){return i.default},Pz:function(){return a.Pz},NB:function(){return s.default},qe:function(){return t.default},mH:function(){return r.Z},ap:function(){return a.ap}});n(96849),n(75455),n(65432);var t=n(41594),i=n(66250),r=(n(961),n(45666)),s=(n(801),n(35797)),a=(n(72708),n(60190))},16485:function(e,o,n){"use strict";n.d(o,{N:function(){return r}});var t=n(31141),i=n(34940);const r=async e=>{let{currency:o,currentCompanyId:n,locale:r,sellerId:s,type:a="location",orderBy:l="products_count",sortDirection:d="desc",per:c="all",onlyRootTags:m=!0,token:h}=e;try{const e=(0,i.uM)((0,i.Oi)({type:a,currency:o,currentCompanyId:n,locale:r,sellerId:s,order_by:"".concat(l," ").concat(d),per:c,onlyRootTags:m})),v=await fetch("".concat("https://old.tripsomnia.com/api/customer/v2").concat(t.NI,"?").concat(e),{method:"GET",headers:{Authorization:"Bearer ".concat(h),"Content-Type":"application/json"},next:{revalidate:0}}),u=await v.json();return(0,i.od)(u)}catch(v){return[]}}}},function(e){e.O(0,[5471,9488,4689,188,6925,3076,6511,454,5898,1293,9936,1744],(function(){return o=49790,e(e.s=o);var o}));var o=e.O();_N_E=o}]);