1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6889,2012],{76889:function(e,n,t){t.r(n);var r=t(10253),o=t(85893),i=t(5152),a=t.n(i),c=t(67294),l=t(72012),u=t(31138),s=t(6279),d=t(81947),f=a()(function(){return t.e(7817).then(t.bind(t,87817))},{loadableGenerated:{webpack:function(){return[87817]}},ssr:!0});n.default=function(e){var n=e.setShowNeighborhoodFilterBottomSheet,t=(0,u.a)("(min-width: 1024px)"),i=(0,c.useRef)(null),a=(0,r.Z)((0,c.useState)(!1),2),p=a[0],h=a[1],b=(0,d.I)(),m=b.city,x=b.current,v=b.hasNeighborhoods,g=b.goTo;return v?(0,o.jsxs)("div",{className:"relative shrink-0",children:[(0,o.jsxs)("div",{ref:i,role:"button",tabIndex:0,"aria-haspopup":"dialog","aria-label":"Ø§ÙØªØ®Ø§Ø¨ Ù
ØÙÙ",className:"px-8 cursor-pointer h-32 border-1 border-solid rounded-50 flex items-center ".concat(x?"border-primary-main border-opacity-[50%] bg-primary-main bg-opacity-[3%]":"border-gray-CACFD3"),onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.currentTarget.click())},onClick:function(){t?h(function(e){return!e}):n(!0)},children:[(0,o.jsx)("span",{className:"text-12 leading-16 font-m text-black pl-8 text-nowrap",children:x?x.name:"Ù
ØÙÙ"}),!!x&&!!(null==m?void 0:m.title_en)&&(0,o.jsx)(f,{"aria-label":"ØØ°Ù ÙÛÙØªØ± Ù
ØÙÙ",onClose:function(e){e.preventDefault(),e.stopPropagation(),g(m.title_en)}})]}),p&&(0,o.jsx)(l.Z,{handleClick:function(){return h(!1)},exceptionElementsRef:[i],children:(0,o.jsxs)("div",{className:"shadow-[0px_8px_32px_rgba(24,39,58,0.15)] bg-white rounded-16 p-24 w-[320px] absolute top-42 right-0",children:[(0,o.jsx)("p",{className:"text-14 leading-24 font-b text-black mb-16",children:"Ù
ØÙÙ"}),(0,o.jsx)(s.Z,{onNavigate:function(){return h(!1)}})]})})]}):null}},72012:function(e,n,t){var r=t(85893),o=t(67294);n.Z=function(e){var n,t=e.children,i=e.handleClick,a=e.exceptionElementsRef,c=(0,o.useRef)(null);return n=void 0===a?[]:a,(0,o.useEffect)(function(){var e=function(e){var t=e.target;(!t||document.contains(t))&&(n.some(function(e){var n;return null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.contains(t)})||!c.current||c.current.contains(t)||i())};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[c]),(0,r.jsx)("div",{ref:c,children:t})}}}]);
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.