PageSourceSearch

https://www.morizon.pl/nuxt-assets/WithUtils.CA3DejMT.js

js morizon.pl collected 2026-09-24 19:57:16 UTC 22,526 bytes, 173 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Item.BN7_e3xU.js","./Thumbnail.D5juD9Kf.js","./entry.C_n6xFpF.js","./entry.Ck--Re16.css","./Thumbnail.B0G38P3P.css","./OmnibusPrice.Bn9yGpu0.js","./OmnibusPrice.tiCirnn7.css","./useCtaIntent.B6BqDO4f.js","./favourites.tv_lpmHD.js","./gaHelper.BZAWFgfr.js","./OwnerContact.E2VT2Pzx.js","./sessionStorage.C0jzPujC.js","./OwnerContact.Ba6E4TcE.css","./useLocationHighestAccuracy.CC4EDJ2J.js","./CardOfferItemType.BtEQfIX_.js","./Item.cSwm6-0E.css","./PopupCluster.KoFSHZ3Y.js","./useNumeral.aEp1Fpcp.js","./PopupCluster.CPXBwmCk.css","./PopupMarker.Bt7dvl8T.js","./Base.CX73yZUu.js","./Base.BJp-wWBY.css","./ResponsivePreset.ca0cEyPW.js","./PopupMarker.BcZZFJCh.css","./Base.BUiL5gvz.js","./map.tIrXQEuM.js","./locations.CYodxG8_.js","./checkIfWebGLSupport.kTYNFRdH.js","./useSendEventWithoutData.CMi0rXXg.js","./simplifyRingToLimit.BVl3vXq1.js","./useTravelTimeFeatureFlag.B_DsjRW4.js","./Base.Ber_V-J-.css"])))=>i.map(i=>d[i]);
2import{b1 as he,ba as p,bl as y,bR as Ye,cd as G,ce as j,b4 as Je,aZ as Xe,cr as et,b2 as tt,b3 as at,f4 as ot,b5 as b,dh as nt,bJ as E,bL as x,bu as d,bb as A,bc as e,bo as Q,bd as V,bB as l,cb as st,bt as rt,bh as M,df as it,cM as be,bp as R,bj as Ee,bi as re,be as I,b0 as lt,cQ as F,cB as B,c3 as _e,cK as ut,cx as dt,bK as ke,f5 as pt,bC as ct}from"#entry";import{T as mt,_ as ft}from"./TooltipWrapper.RQ2p08s8.js";import{f as vt,u as gt,i as O,c as Z,j as Y,g as Mt,r as yt}from"./useSendEventListing.BJ6vYzBe.js";import{sendEventWithoutData as h}from"./useSendEventWithoutData.CMi0rXXg.js";import{u as Ct}from"./useListMapToggle.Dwf3xWR3.js";import{u as bt,M as J}from"./map.tIrXQEuM.js";import{C as Et}from"./CardOfferItemType.BtEQfIX_.js";import{a as _t,F as kt}from"./favourites.tv_lpmHD.js";import{u as Pt}from"./locations.CYodxG8_.js";import{u as ht}from"./useTravelTimeFeatureFlag.B_DsjRW4.js";import{b as Dt}from"./useTravelTimeMapEntry.4R7MldVv.js";import{u as Tt}from"./useScrollTo.rfjYbPET.js";import{s as Ot}from"./searchMap.DqAtGXud.js";import{d as wt}from"./decodeListingUrl.FjIYntwC.js";import"./toListingParametersInput.B8ZUpNZT.js";import"./simplifyRingToLimit.BVl3vXq1.js";import"./gaHelper.BZAWFgfr.js";import"./useGalleryEvent.BwMwhCRJ.js";import"./addPropertyPhoneContactStatistic.DUYBlcmY.js";import"./useWishlistEvent.CymtjUH1.js";import"./localStorage.BkVHOkEv.js";import"./useGetSortNameBySortKeyAndOrder.CdCvgInz.js";import"./useClickSource.It2vspp-.js";import"./encodeListingParametersAndNavigate.naROh7sj.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new s.Error().stack;v&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[v]="d11eadd2-d9d1-4087-bb0f-9a521aeda9f6",s._sentryDebugIdIdentifier="sentry-dbid-d11eadd2-d9d1-4087-bb0f-9a521aeda9f6")}catch{}})();const Lt=G(()=>j(()=>import("#entry").then(s=>s.fD),[],import.meta.url).then(s=>s.default||s)),St=he({__name:"MapUtils",setup(s){const v=s;return(X,_)=>{const ee=Lt;return p(),y(ee,Ye(v,{"is-primary":""}),null,16)}}}),At=Object.assign(St,{__name:"ButtonMapUtils"});function Rt(s){const v="getMarkers";return{queryName:v,query:`query ${v}($ids: [String!]!) {
3      properties: ${v}(ids: $ids) {
4        addedAt(format: "dd.MM.y")
5        advertisementText
6        area
7        contact {
8          company {
9            address
10            faxes
11            name
12            logo {
13              alt
14              id
15              name
16            }
17            phones
18            type
19          }
20          person {
21            faxes
22            name
23            phones
24            photo {
25              alt
26              id
27              name
28            }
29            type
30            url
31          }
32        }
33        development {
34          id
35          name
36        }
37        floorFormatted
38        highlightText
39        id
40        idOnFrontend
41        isHighlighted
42        isRecommended
43        location {
44          location
45          street
46        }
47        numberOfRooms
48        photos (maxPhotoNumber: 5) {
49          alt
50          id
51          name
52        }
53        photosNumber
54        has3dView
55        hasVideo
56        plans {
57          alt
58          id
59          name
60        }
61        price {
62          amount
63          currency
64        }
65        priceFormatted
66        priceM2 {
67          amount
68          currency
69        }
70        priceM2Formatted
71        promotionPoints
72        title
73        url
74        servicePromocenaIsActive
75        omnibusPreviousSalePrice {
76          amount
77          currency
78        }
79        omnibusPreviousLowestPrice {
80          amount
81          currency
82        }
83      }
84    }`,variables:{ids:s}}}function Pe(s){const v="getPropertyClusterData";return{cache:!0,queryName:v,query:`query ${v}($url: String!) {
85      searchResult: searchProperties(url: $url) {
86        hasTopPromoted
87        properties {
88          nodes {
89            addedAt(format: "dd.MM.y")
90            advertisementText
91            area
92            contact {
93              company {
94                address
95                faxes
96                id
97                name
98                logo {
99                  alt
100                  id
101                  name
102                }
103                phones
104                type
105              }
106              person {
107                faxes
108                name
109                phones
110                photo {
111                  alt
112                  id
113                  name
114                }
115                type
116                url
117              }
118            }
119            development {
120              id
121              name
122            }
123            floorFormatted
124            highlightText
125            id
126            idOnFrontend
127            isHighlighted
128            isRecommended
129            location {
130              location
131              street
132            }
133            numberOfRooms
134            photos (maxPhotoNumber: 1) {
135              alt
136              id
137              name
138            }
139            photosNumber
140            has3dView
141            hasVideo
142            plans {
143              alt
144              id
145              name
146            }
147            price {
148              amount
149              currency
150            }
151            priceFormatted
152            priceM2 {
153              amount
154              currency
155            }
156            priceM2Formatted
157            promotionPoints
158            title
159            url
160            servicePromocenaIsActive
161            omnibusPreviousSalePrice {
162              amount
163              currency
164            }
165            omnibusPreviousLowestPrice {
166              amount
167              currency
168            }
169          }
170          totalCount
171        }
172      }
173    }`,variables:{url:s}}}const It=G(()=>j(()=>import("./Item.BN7_e3xU.js").then(s=>s.I),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url).then(s=>s.default||s)),Ft=G(()=>j(()=>import("./PopupCluster.KoFSHZ3Y.js"),__vite__mapDeps([16,2,3,0,1,4,5,6,7,8,9,10,11,12,13,14,15,17,18]),import.meta.url).then(s=>
173s.default||s)),Bt=G(()=>j(()=>import("./PopupMarker.Bt7dvl8T.js"),__vite__mapDeps([19,2,3,1,4,7,8,9,20,10,11,12,5,6,21,13,22,23]),import.meta.url).then(s=>s.default||s)),Nt=G(()=>j(()=>import("./Base.BUiL5gvz.js"),__vite__mapDeps([24,2,3,25,26,8,27,28,29,30,31]),import.meta.url).then(s=>s.default||s)),zt={class:"map"},Wt={key:0},Ut={key:1,class:"map__cluster"},$t={key:0},Vt={key:1},Gt={class:"map__buttons"},jt={class:"map__buttons-controls"},Ht=300,Kt=he({__name:"WithUtils",props:{isMapFullscreen:{type:Boolean,default:!1},isMapListing:{type:Boolean,default:!1},isMapOutline:{type:Boolean,default:!1},isMapPage:{type:Boolean,default:!1},isLoadingData:{type:Boolean,default:!1},topPromotedProperties:{},propertiesIds:{}},emits:["map:loaded"],setup(s,{expose:v,emit:X}){const _=s,ee=X,te=lt(),c=Je(),De=Xe(),m=et(),ae=Pt(),n=bt(),i=tt(),H=_t(),{toPublicListingUrl:Te}=at(),ie=Ct(),Oe=ht(),{handleTravelTimeMapClick:we}=Dt(),{isTravelTimeSourceActive:Le}=vt(),{clearTravelTimeFromLocation:le}=gt(),N=ot(pt,null),Se=Number(te.public.allowedMapAreaPointsNumberToDraw),L=b(!1),w=b(!1),z=b(!1),W=b(!1),oe=b(!1),u=nt(),ne=b(),C=b([]),K=b(),S=b([]),q=b(!1),Ae=E(()=>_.topPromotedProperties?.map(a=>a.id)??[]),Re=E(()=>n.getMarker(_.propertiesIds,Ae.value));v({handleSearchExitDrawingMode:je,handleSearchInShape:Me});const Ie=dt(a=>{i.setLocation({identifiers:i.searchParameters.location?.identifiers,mapBounds:a,mapArea:n.drawnPointsShape?.length>0?n.drawnPointsShape:i.searchParameters.location?.mapArea,onMap:!0}),U()},Ht);async function U(){await Tt(),i.setMapMode(ie.shouldUseMapUrls(_.isMapPage));const a=`encode-listing-parameters-query-${JSON.stringify(i.$state)}`,{data:{value:t}}=await F(a,async()=>{try{return await B(Mt(i.$state))}catch(r){throw console.error(r),r}},"$fTYpe117t4");if(t?.data?.encodeListingParameters){const r=t.data.encodeListingParameters.url;yt(r),De.push(Te(r))}}function Fe(){ae.setLocations([]),i.setPageNumber(1),i.setLocations([]),i.setLocation({mapBounds:u.value.getMapBounds(),onMap:!0}),n.setIsSearchInThisArea(!0),U(),oe.value=!1}const Be=E(()=>`search-map-markers-${m.fullPath}-${H.getFavouritesIds.join("-")}`);x(()=>H.getFavouritesIds,async()=>{const{data:{value:a}}=await F(Be.value,async()=>{try{return await B(Ot(i.$state,{numberOfMarkers:n.numberOfMarkers,propertyIds:[...H.getFavouritesIds]}))}catch(r){throw console.error(r),r}},{deep:!1}),t=a?.data?.searchMap?.markers;(t.length??0)>0&&n.setMarkers(t,_.topPromotedProperties)}),x(()=>[n.isDrawingMode,n.drawnPointsShape.length],([a,t])=>{a&&Number(t)>0&&Me()});async function ue(a){n.setActivePointData({event:a,type:J.EmitMarker}),w.value=!0,z.value=!1,C.value=[];const t=E(()=>`markers-${a.ids.join("-")}`),{data:{value:r}}=await F(t.value,async()=>{try{return await B(Rt(a.ids.map(String)))}catch(g){throw console.error(g),g}},"$WXGPiiUHrn");if(r?.data?.properties)C.value=r.data.properties,ke(()=>u.value?.handlePopupUpdate(a.coords));else if(r?.errors)throw new Error(r.errors[0].message)}async function de(a){n.setActivePointData({event:a,type:J.EmitCluster}),w.value=!1,z.value=!0,S.value=[];const t=`decode-listing-url-query-${a.url}`,{data:{value:r}}=await F(t,async()=>{try{return await B(wt(a.url))}catch(T){throw console.error(T),T}},"$E84387QuMI");if(r?.data?.decodeListingUrl)n.setClusterData({pageNumber:r.data.decodeListingUrl.listingParameters.pageNumber??0,totalCount:r.data.decodeListingUrl.totalCount??0,url:r.data.decodeListingUrl.url,numberOfResults:r.data.decodeListingUrl.listingParameters.numberOfResults??0});else if(r?.errors)throw new Error(r.errors[0].message);const g=`property-cluster-data-${a.url}`,{data:{value:P}}=await F(g,async()=>{try{return await B(Pe(a.url))}catch(T){throw console.error(T),T}},"$gHsBd5qk27");if(P?.data?.searchResult)S.value=P.data.searchResult.properties.nodes,ke(()=>u.value?.handlePopupUpdate(a.coords));else if(P?.errors)throw new Error(P.errors[0].message)}async function Ne(a){await ue(a),ne.value=a.coords,a.isAutoClicked||h(m.name,d.MAP_SINGLE_OFFER_CLICKED)}async function ze(a){await de(a),K.value=a.coords,a.isAutoClicked||h(m.name,d.MAP_BLOB_CLICKED)}async function pe(a){const t=n.getClusterUrlWithPageNumber(a);q.value=!0;const r=`property-cluster-data-${t}`,{data:{value:g}}=await F(r,async()=>{try{return await B(Pe(t))}catch(P){throw console.error(P),P}},"$rZyXqtlQLL");if(g?.data?.searchResult)S.value.push(...g.data.searchResult.properties.nodes),q.value=!1;else if(g?.errors)throw new Error(g.errors[0].message)}function ce(){w.value=!1,n.setActivePointData(null),C.value=[]}function se(a){ce(),u.value?.handlePopupClose(a),z.value=!1,S.value=[]}
173function We(){n.setActivePointData(null)}function me(a){Ie(a),n.setActivePointData(null),oe.value=!0}const f=E({get(){return n.isDrawingMode},set(a){n.setIsDrawingMode(a)}}),fe=E(()=>L.value&&!f.value&&n.drawnPointsShape.length===0),ve=E(()=>fe.value&&!Le()),Ue=E(()=>Oe&&fe.value),$e=E(()=>L.value&&n.isVisibleActionButton&&!f.value&&!(n.drawnPointsShape?.length>0)),Ve=E(()=>(f.value&&n.drawnPointsShape.length===0||!f.value&&n.drawnPointsShape.length)&&L.value);function ge(){n.setPendingStartDrawing(!1),le(),n.startDrawingShape(),W.value=!0,f.value=!0,u.value?.startDrawing(),N.value||(N.value=!0),h(m.name,d.MAP_DRAW_BUTTON_CLICKED)}x(()=>[L.value,n.pendingStartDrawing],([a,t])=>{a&&t&&ge()}),x([L,()=>n.pendingFitBounds],([a,t])=>{!a||!t||!u.value||(u.value.fitBounds(t),n.setPendingFitBounds(null))});async function Ge(){n.drawnPointsShape.length===0?h(m.name,d.MAP_DRAWING_CANCELED):h(m.name,d.MAP_DRAWING_CLEARED),f.value=!1,n.setDrawnPointsShape([]),n.clearDrawingShape(),u.value?.clearDrawing(),n.isSearchInShape&&(i.setPageNumber(1),i.setLocations([]),n.setIsSearchInShape(!1)),i.setLocation({mapBounds:u.value.getMapBounds(),mapArea:[],onMap:!0}),W.value=!1,U()}async function je(){f.value=!1,n.setDrawnPointsShape([]),n.setIsSearchInShape(!1),i.setPageNumber(1),i.getIsLocations||i.setLocation({mapBounds:u.value.getMapBounds(),mapArea:[],onMap:!0}),u.value?.clearDrawing(),W.value=!1,U()}async function Me(){f.value=!1,n.setIsSearchInShape(!0),u.value?.addShapeLayer(n.drawnPointsShape),u.value?.removeDrawingCanvas(),u.value?.enableMapInteractions(),ae.setLocations([]),i.setPageNumber(1),i.setLocations([]),le(),i.setLocation({mapBounds:u.value.getMapBounds(),mapArea:n.drawnPointsShape,onMap:!0}),n.setIsSearchInThisArea(!0),W.value=!1,h(m.name,d.MAP_SHOW_OFFER_CLICKED),U()}async function ye(a,t,r){await t(a.event),r(a.event.coords),c.isDesktop&&u.value?.refreshPopupContent(a.event)}async function He(){const a=n.getActivePointData;a===null||H.isPopupOfferFavouriteButtonClicked||(a.type===J.EmitMarker?await ye(a,ue,t=>{ne.value=t}):a.type===J.EmitCluster&&await ye(a,de,t=>{K.value=t}))}function k(){return(m.query["ps[location][custom_area]"]||m.query["location[custom_area]"])&&(i.searchParameters.location?.mapArea?.length??0)>0}function D(){return k()?_e.MapDrawn:_e.Map}function Ke(){N.value||(N.value=!0)}async function Ce(){await ie.closeMap()}return(a,t)=>{const r=It,g=ut,P=st,T=Ft,qe=Bt,xe=it,Qe=Nt,$=At,Ze=ft;return p(),A("div",zt,[e(c).isMobileOrTablet&&e(w)?(p(),A("div",Wt,[e(C)[0]?(p(),y(g,{key:0,"has-header":!1,"is-animation":!1,"is-full-width":e(c).isMobileOrTablet,"is-toast":e(c).isMobileOrTablet,"is-disable-background-scroll":e(c).isMobileOrTablet,"has-background":!1,"is-emit-content-scroll":"","onModal:close":ce},{content:Q(()=>[V(r,{type:e(Et).POPUP,offers:e(C)[0],"favourite-type":e(kt).PROPERTY,"onClick:offer":t[0]||(t[0]=o=>("sendEventClickedMapOfferTeaser"in a?a.sendEventClickedMapOfferTeaser:e(Y))(D(),e(C)[0],e(m).name)),"onClick:phone":t[1]||(t[1]=o=>("sendEventClickedPhoneListing"in a?a.sendEventClickedPhoneListing:e(Z))(D(),e(C)[0],null,o,e(l).OFFER_CARD_OWNER_CONTACT)),"onClicked:favouritesAdd":t[2]||(t[2]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).ADD_TO_WISHLIST,e(C)[0],null,k()?e(l).MAP_SINGLE_OFFER_DRAWING:e(l).MAP_SINGLE_OFFER)),"onClicked:favouritesRemove":t[3]||(t[3]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).REMOVE_FROM_WISHLIST,e(C)[0],null,k()?e(l).MAP_SINGLE_OFFER_DRAWING:e(l).MAP_SINGLE_OFFER))},null,8,["type","offers","favourite-type"])]),_:1},8,["is-full-width","is-toast","is-disable-background-scroll"])):(p(),y(rt,{key:1,to:"footer"},[V(P,{"is-transparent":!0})]))])):M("",!0),e(c).isMobileOrTablet&&e(z)?(p(),A("div",Ut,[V(T,{id:e(K),count:e(n).getClusterCount,"max-page":e(n).getClusterMaxPageNumber,offers:e(S),"is-loading-next-page":e(q),"onPopup:cluster:close":t[4]||(t[4]=o=>se(o)),"onPopup:cluster:click:offer":t[5]||(t[5]=o=>{("sendEventClickedMapOfferTeaser"in a?a.sendEventClickedMapOfferTeaser:e(Y))(D(),o.offer,e(m).name,o.index)}),"onPopup:cluster:click:phone":t[6]||(t[6]=o=>("sendEventClickedPhoneListing"in a?a.sendEventClickedPhoneListing:e(Z))(D(),o.offer,o.index,o.phoneNumber,e(l).OFFER_CARD_OWNER_CONTACT)),"onPopup:cluster:scroll":t[7]||(t[7]=o=>pe(o)),"onClicked:favouritesAdd":t[8]||(t[8]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).ADD_TO_WISHLIST,o.offer,o.index,k()?e(l).MAP_CLUSTERED_OFFER_DRAWING:e(l).MAP_CLUSTERED_OFFER)),"onClicked:favouritesRemove":t[9]||(t[9]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).REMOVE_FROM_WISHLIST,o.offer,o.index,k()?e(l).MAP_CLUSTERED_OFFER_DRAWING:e(l).MAP_CLUSTERED_OFFER))},null,8,["id","count","max-page","offers","is-loading-next-page"])])):M("",!0),V(Qe,{ref_key:"mapComponent",ref:u,"container-id":"map-container","display-controls":{bottomRight:e(c).isDesktop,topLeft:_.isLoadingData,topRight:!1},"is-map-listing":_.isMapListing,"is-map-outline":_.isMapOutline,"is-map-markers-hidden":e(W),"is-drawing-mode":e(f),"map-data-type":e(te).public.listingMapVectorEnabled?"vector":"raster","map-view-bounds":e(i).searchParameters.location?.mapBounds,"map-outline":e(ae).getOutline,"maptiler-api-key":e(te).public.maptilerApiKey,"marker-size":e(R).Small,"marker-active":e(n).activePointData?.event.coords,"max-polygon-points":e(Se),points:e(Re),"color-outline-line":("useIsCurrentBrandMorizon"in a?a.useIsCurrentBrandMorizon:e(be))()?"rgba(0, 91, 255, 1)":"rgba(9, 35, 167, 1)","color-outline-fill":("useIsCurrentBrandMorizon"in a?a.useIsCurrentBrandMorizon:e(be))()?"rgba(0, 91, 255, 0.1)":"rgba(9, 35, 167, 0.1)","onMap:marker:clicked":t[21]||(t[21]=o=>Ne(o)),"onMap:cluster:clicked":t[22]||(t[22]=o=>ze(o)),"onMap:moved":t[23]||(t[23]=o=>(("sendEventWithoutData"in a?a.sendEventWithoutData:e(h))(e(m).name,e(d).MAP_MOVED),w.value=!1,me(
173o))),"onMap:mousedown":t[24]||(t[24]=o=>We()),"onMap:loaded":t[25]||(t[25]=o=>(L.value=!0,ee("map:loaded"))),"onMap:markers:updated":t[26]||(t[26]=o=>He()),"onMap:zoomed":t[27]||(t[27]=o=>{me(o),w.value=!1}),"onMap:zoomed:in":t[28]||(t[28]=o=>("sendEventWithoutData"in a?a.sendEventWithoutData:e(h))(e(m).name,e(d).MAP_ZOOMED_IN)),"onMap:zoomed:out":t[29]||(t[29]=o=>("sendEventWithoutData"in a?a.sendEventWithoutData:e(h))(e(m).name,e(d).MAP_ZOOMED_OUT)),"onNavigate:to:list":Ce},{popup:Q(()=>[e(c).isDesktop&&e(w)?(p(),y(qe,{key:0,coords:e(ne),offers:e(C),"onPopup:close":t[10]||(t[10]=o=>se(o)),"onPopup:click":t[11]||(t[11]=o=>{("sendEventClickedMapOfferTeaser"in a?a.sendEventClickedMapOfferTeaser:e(Y))(D(),o,e(m).name)}),"onPopup:phone:click":t[12]||(t[12]=o=>("sendEventClickedPhoneListing"in a?a.sendEventClickedPhoneListing:e(Z))(D(),o.offer,null,o.phoneNumber,e(l).OFFER_CARD_OWNER_CONTACT)),"onClicked:favouritesAdd":t[13]||(t[13]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).ADD_TO_WISHLIST,o,null,k()?e(l).MAP_SINGLE_OFFER_DRAWING:e(l).MAP_SINGLE_OFFER)),"onClicked:favouritesRemove":t[14]||(t[14]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).REMOVE_FROM_WISHLIST,o,null,k()?e(l).MAP_SINGLE_OFFER_DRAWING:e(l).MAP_SINGLE_OFFER))},null,8,["coords","offers"])):M("",!0),e(c).isDesktop&&e(z)?(p(),y(T,{key:1,id:e(K),count:e(n).getClusterCount,"max-page":e(n).getClusterMaxPageNumber,offers:e(S),"is-loading-next-page":e(q),"onPopup:cluster:close":t[15]||(t[15]=o=>se(o)),"onPopup:cluster:click:offer":t[16]||(t[16]=o=>{("sendEventClickedMapOfferTeaser"in a?a.sendEventClickedMapOfferTeaser:e(Y))(D(),o.offer,e(m).name,o.index)}),"onPopup:cluster:click:phone":t[17]||(t[17]=o=>("sendEventClickedPhoneListing"in a?a.sendEventClickedPhoneListing:e(Z))(D(),o.offer,o.index,o.phoneNumber,e(l).OFFER_CARD_OWNER_CONTACT)),"onPopup:cluster:scroll":t[18]||(t[18]=o=>pe(o)),"onClicked:favouritesAdd":t[19]||(t[19]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).ADD_TO_WISHLIST,o.offer,o.index,k()?e(l).MAP_CLUSTERED_OFFER_DRAWING:e(l).MAP_CLUSTERED_OFFER)),"onClicked:favouritesRemove":t[20]||(t[20]=o=>("sendEventFavouriteButtonClicked"in a?a.sendEventFavouriteButtonClicked:e(O))(e(d).REMOVE_FROM_WISHLIST,o.offer,o.index,k()?e(l).MAP_CLUSTERED_OFFER_DRAWING:e(l).MAP_CLUSTERED_OFFER))},null,8,["id","count","max-page","offers","is-loading-next-page"])):M("",!0)]),topLeftController:Q(()=>[_.isLoadingData?(p(),y(xe,{key:0,color:"var(--color-surface-brand-primary-100)"})):M("",!0)]),_:1},8,["display-controls","is-map-listing","is-map-outline","is-map-markers-hidden","is-drawing-mode","map-data-type","map-view-bounds","map-outline","maptiler-api-key","marker-size","marker-active","max-polygon-points","points","color-outline-line","color-outline-fill"]),e(f)&&e(n).drawnPointsShape.length===0?(p(),A("div",{key:2,class:Ee(["map__drawing-info",{"map__drawing-info--bottom":e(c).isMobileOrTablet,"map__drawing-info--top":e(c).isDesktop}])},[e(c).isMobileOrTablet?(p(),A("span",$t," Narysuj obszar wyszukiwania ")):(p(),A("span",Vt," Narysuj obszar, w którym szukasz nieruchomości "))],2)):M("",!0),re("div",Gt,[re("div",jt,[e(Ve)?(p(),y($,{key:0,class:Ee(["map__cancel-button",{"map__cancel-button--drawing-disabled":!e(f)}]),size:e(R).Small,icon:e(f)?e(I).Close:e(I).Erase,label:e(c).isMobileOrTablet?e(f)?"Anuluj":"Wyczyść":e(f)?"Anuluj":"Wyczyść obszar",onClicked:t[30]||(t[30]=o=>Ge())},null,8,["class","size","icon","label"])):M("",!0),V(Ze,{"is-tooltip-enabled":e(ve)&&!e(N),position:e(mt).BottomRight,heading:"Rysuj swój obszar na mapie",text:"Zaznacz dokładnie, gdzie chcesz szukać ogłoszeń – narysuj własny obszar i przeglądaj oferty tylko z wybranego terenu.","onTooltip:close":t[32]||(t[32]=o=>Ke())},{default:Q(()=>[e(ve)?(p(),y($,{key:0,class:"map__draw-button",size:e(R).Small,icon:e(I).Draw,label:e(c).isMobileOrTablet?"":"Rysuj",onClicked:t[31]||(t[31]=o=>ge())},null,8,["size","icon","label"])):M("",!0)]),_:1},8,["is-tooltip-enabled","position"]),e(Ue)?(p(),y($,{key:1,class:"map__travel-time-button",size:e(R).Small,icon:e(I).CommuteTime,label:e(c).isMobileOrTablet?"":"Czas dojazdu",alt:"Czas dojazdu",onClicked:t[33]||(t[33]=o=>e(we)())},null,8,["size","icon","label"])):M("",!0)]),re("div",null,[e(c).isDesktop?(p(),y($,{key:0,class:"map__close-button",size:e(R).Small,icon:e(I).Close,alt:"Zamknij","data-cy":"mapClose",onClicked:t[34]||(t[34]=o=>Ce())},null,8,["size","icon"])):M("",!0)])]),e($e)&&e(oe)?(p(),y($,{key:3,class:"map__area-button",size:e(R).Small,icon:e(I).MapSearch,label:"Szukaj w tym obszarze",onClicked:t[35]||(t[35]=o=>Fe())},null,8,["size","icon"])):M("",!0)])}}}),Ma=Object.assign(ct(Kt,[["__scopeId","data-v-ebb052ae"]]),{__name:"MapWithUtils"});export{Ma as default};

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.