PageSourceSearch

https://nyczoning.ai/static/js/3567.302cd5c6.chunk.js

js nyczoning.ai collected 2026-10-05 13:38:34 UTC 6,627 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[3567],{25202(e,i,t){t.d(i,{RX:()=>r,mf:()=>o});var n=t(92858),l=t(74711);function r(e){let{devPreview:i=!1,localConfirmed:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const l=(0,n.Z$)(e),r=Boolean(l.enlargeVertical)||Boolean(l.enlargeHorizontal),o=Boolean(l.isBuildingDemolished)&&!r,a=Array.isArray(l.demolishedBuildingIds)?l.demolishedBuildingIds.filter(Boolean):[];return{isDemolished:Boolean(t)||o||Boolean(i),demolishedBuildingIds:a}}function o(e){const i=(0,n.Z$)(e),t=i.enlargeOriginalExistingFloors,r=Array.isArray(t)&&t.length>0&&!(0,l.hf)(t);return{vertical:Boolean(i.enlargeVertical),horizontal:Boolean(i.enlargeHorizontal),originalFloors:r?t:null}}},92858(e,i,t){t.d(i,{Z$:()=>o,s9:()=>a,vO:()=>s});const n=["lotGeo","editedPropertyLine","editedStreetLines","editedZoningDistricts","editedBlockLines","annotationLines"],l=[...n,"isBuildingDemolished","demolishedBuildingIds","newBuildingFrontFt","newBuildingDepthFt","enlargeVertical","enlargeHorizontal","enlargeOriginalExistingFloors","existingFloorsExplicitlyEmptied","selectedFarCategories","filter2Selections"],r={lotGeo:null,editedPropertyLine:null,editedStreetLines:null,editedZoningDistricts:null,editedBlockLines:null,annotationLines:null,isBuildingDemolished:!1,demolishedBuildingIds:[],newBuildingFrontFt:0,newBuildingDepthFt:60,enlargeVertical:!1,enlargeHorizontal:!1,enlargeOriginalExistingFloors:null,existingFloorsExplicitlyEmptied:!1,selectedFarCategories:[],filter2Selections:[]};function o(e){const i=(null==e?void 0:e.propertyData)||{},t={};for(const e of l){const n=i[e];t[e]=void 0!==n?n:r[e]}return t}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i={};for(const t of l)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t]);return i}function s(e,i){const t=i&&"object"==typeof i?i:{},l={...e&&"object"==typeof e?e:{},...t};for(const e of n)Object.prototype.hasOwnProperty.call(t,e)||delete l[e];return l}},13862(e,i,t){t.d(i,{Gn:()=>g,FY:()=>c,tb:()=>f,Ay:()=>m,cD:()=>d});var n=t(9950),l=t(22064),r=t(39953),o=t(44414);const a=(0,n.createContext)(null),s=(0,n.createContext)(null),u="uui:section-maximized";function d(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const[i,t]=(0,n.useState)(()=>new Set),l=(0,n.useCallback)((e,i)=>{t(t=>{if(t.has(e)===i)return t;const n=new Set(t);return i?n.add(e):n.delete(e),n})},[]);return{hostValue:(0,n.useMemo)(()=>({busy:Boolean(e),report:l}),[e,l]),anyMaximized:i.size>0}}const c=s.Provider;const m=(0,n.forwardRef)(function(e,i){let{enabled:t=!1,title:r="",className:d="",children:c,onMaximizedChange:m,...f}=e;const[g,h]=(0,n.useState)(!1),x=(0,n.useId)(),v=(0,n.useContext)(s),y=null==v?void 0:v.report,p=(0,n.useRef)(null),b=(0,n.useRef)(null),z=(0,n.useRef)(null),B=(0,n.useRef)(!1),w=(0,n.useRef)(!1),C=(0,n.useRef)(m);C.current=m;const j=(0,n.useCallback)(e=>{p.current=e,"function"==typeof i?i(e):i&&(i.current=e)},[i]),_=(0,n.useCallback)(()=>h(e=>!e),[]),E=(0,n.useCallback)(()=>h(!1),[]);(0,n.useEffect)(()=>{t||h(!1)},[t]),(0,n.useEffect)(()=>{if(B.current!==g){var e,i;if(B.current=g,g)w.current=!1,window.dispatchEvent(new CustomEvent(u,{detail:{id:x}})),null===(e=z.current)||void 0===e||null===(i=e.focus)||void 0===i||i.call(e);else if(w.current)w.current=!1;else{var t,n;null===(t=b.current)||void 0===t||null===(n=t.focus)||void 0===n||n.call(t)}"function"==typeof C.current&&C.current(g)}},[g,x]);const k=t&&g;(0,n.useEffect)(()=>{if(y&&k)return y(x,!0),()=>y(x,!1)},[y,x,k]),(0,n.useEffect)(()=>{if(!g)return;const e=e=>{if(e.defaultPrevented)return;if("Escape"===e.key)return e.preventDefault(),void h(!1);if("Tab"!==e.key)return;const i=p.current;if(!i)return;const t=function(e){const i=Array.from(e.querySelectorAll('a[href], area[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), iframe, [contenteditable="true"], [tabindex]:not([tabindex="-1"])')).filter(e=>!e.closest('[hidden], [inert], [aria-hidden="true"]'));return e.getClientRects().length>0?i.filter(e=>e.getClientRects().length>0):i}(i);if(0===t.length)return;const n=t[0],l=t[t.length-1],r=document.activeElement,o=!r||r===document.body;if(!o&&!i.contains(r))return;let a=null;o?a=e.shiftKey?l:n:e.shiftKey&&r===n?a=l:e.shiftKey||r!==l||(a=n),a&&(e.preventDefault(),a.focus())},i=e=>{var i;(null==e||null===(i=e.detail)||void 0===i?void 0:i.id)!==x&&(w.current=!0,h(!1))};return document.addEventListener("keydown",e),window.addEventListener(u,i),()=>{document.removeEventListener("keydown",e),window.removeEventListener(u,i)}},[g,x]);const F=(0,n.useMemo)(()=>t?{maximized:g,toggle:_,toggleRef:b,title:r}:null,[t,g,_,r]),N=k&&Boolean(null==v?void 0:v.busy),D=[d,t?"uui-maximizable":"",k?"uui-maximized":"",N?"uui-maximized--busy":""].filter(
1Boolean).join(" ");return(0,o.jsx)("div",{ref:j,className:D||void 0,"data-maximized":k?"true":void 0,role:k?"dialog":void 0,"aria-modal":k?"true":void 0,"aria-label":k&&r?r:void 0,"aria-busy":N?"true":void 0,...f,children:(0,o.jsxs)(a.Provider,{value:F,children:[k?(0,o.jsxs)("div",{className:"uui-maximized__bar","data-cy":"uui-maximized-bar",children:[(0,o.jsx)("span",{className:"uui-maximized__title",children:r}),N?(0,o.jsxs)("span",{className:"uui-maximized__busy",role:"status","data-cy":"uui-maximized-busy",children:[(0,o.jsx)("span",{className:"uui-maximized__spinner","aria-hidden":"true"}),"Updating analysis"]}):null,(0,o.jsxs)("button",{type:"button",ref:z,className:"uui-maximized__minimize",onClick:E,"data-cy":"uui-maximized-minimize",children:[(0,o.jsx)(l.A,{className:"uui-maximized__minimize-icon","aria-hidden":"true"}),"Minimize"]})]}):null,c]})})});function f(e){let{className:i=""}=e;const t=(0,n.useContext)(a);if(!t)return null;const{maximized:s,toggle:u,toggleRef:d,title:c}=t,m=s?l.A:r.A,f=`${s?"Minimize":"Maximize"}${c?` ${c}`:""}`;return(0,o.jsx)("button",{type:"button",ref:d,className:"uui-maximize-toggle"+(i?` ${i}`:""),onClick:e=>{e.stopPropagation(),u()},"aria-label":f,title:f,"data-cy":"uui-maximize-toggle",children:(0,o.jsx)(m,{className:"uui-maximize-toggle__icon","aria-hidden":"true"})})}function g(e){let{children:i,cellClassName:t="",center:l=!1}=e;if(!(0,n.useContext)(a))return i;const r=["uui-maximize-header__cell",l?"uui-maximize-header__cell--center":"",t].filter(Boolean).join(" ");return(0,o.jsxs)("div",{className:"uui-maximize-header",children:[(0,o.jsx)("div",{className:"uui-maximize-header__main",children:i}),(0,o.jsx)("div",{className:r,children:(0,o.jsx)(f,{})})]})}}}]);

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.