PageSourceSearch

https://policedata.org/static/js/10.d13514c7.chunk.js

js policedata.org collected 2026-09-28 11:16:33 UTC 2,048 bytes, 2 lines download raw bytes

1(this["webpackJsonppolice-data-website"]=this["webpackJsonppolice-data-website"]||[]).push([[10],{201:function(e,t,a){"use strict";a.r(t);var c=a(14),s=a(87),n=a.n(s),r=a(1),o=a(257),i=a(4),d=a(98),l=a(96),b=a(84),u=["mousedown","touchstart"],j=function(e,t,a){void 0===a&&(a=u);var c=Object(r.useRef)(t);Object(r.useEffect)((function(){c.current=t}),[t]),Object(r.useEffect)((function(){for(var t=function(t){var a=e.current;a&&!a.contains(t.target)&&c.current(t)},s=0,n=a;s<n.length;s++){var r=n[s];Object(b.d)(document,r,t)}return function(){for(var e=0,c=a;e<c.length;e++){var s=c[e];Object(b.c)(document,s,t)}}}),[a,e])},f=a(21);var m=e=>{let{stateCode:t,trail:a}=e;const[s,b]=Object(r.useState)(!1),u=Object(r.useRef)(),m=Object(i.g)(),{t:p}=Object(o.a)();j(u,(()=>{b(!1)}));const O=Object(d.f)(s,{from:{opacity:0,transform:"translate3d(0, 2px, 0)",zIndex:999},enter:{opacity:1,transform:"translate3d(0, 0px, 0)",zIndex:999},leave:{opacity:0,transform:"translate3d(0, 2px, 0)",zIndex:999},config:{mass:1,tension:210,friction:20}}),h=Object(r.useCallback)((e=>{b(!1),l.b.dismiss(),m.push("/report/".concat(e.toLowerCase()))}),[m]);return Object(f.jsxs)("div",{className:"StateDropdown",ref:u,children:[Object(f.jsx)(d.b.h1,{className:n()("state-name","fadeInUp",{expanded:s}),style:a,onClick:b.bind(void 0,!s),children:p(c.u[t])}),O(((e,t)=>t&&Object(f.jsx)(d.b.div,{className:"dropdown",style:e,children:Object.keys(c.l).map((e=>Object(f.jsx)("h1",{className:"item",onClick:h.bind(void 0,e),children:p(c.u[e])},e)))}))),s&&Object(f.jsx)("div",{className:"backdrop"})]})};function p(e){let{data:t,stateCode:a,mapStatistic:c}=e;const s=Object(r.useMemo)((()=>{const e=[];return[0,0,0].map(((t,a)=>(e.push({animationDelay:"".concat(250*a,"ms")}),null))),e}),[]);return Object(f.jsx)("div",{className:"StateHeader state-".concat(a.toLowerCase()),children:Object(f.jsx)("div",{className:"header-left",children:Object(f.jsx)(m,{stateCode:a,hyperlink:!1,trail:s[0]})})})}t.default=Object(r.memo)(p)}}]);
2//# sourceMappingURL=10.d13514c7.chunk.js.map

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.