1"use strict";(self.webpackChunkdailycalprojectsv2=self.webpackChunkdailycalprojectsv2||[]).push([[3745,8252,7752],{33745:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});var r=t(72791),i=t(77514),o=t(19913),a=t(38725),u=t(90466),s=t(12891),c=t(71827),d=t(23782),l=t(41048),h=t(47752),p=(t(78252),t(80184));const f={"Measure T1":(0,p.jsxs)("p",{children:["Measure T1 provides $100 million of funding from bond revenue to pay for improvements to",(0,p.jsx)("b",{children:" City infrastructure and facilities"}),"."]}),"Capital Improvement Fund":(0,p.jsxs)("p",{children:["The Capital Improvement Fund provides funding for annual street rehabilitations, and most recently, the",(0,p.jsx)("b",{children:" Southside Complete Streets project"}),"."]}),"State Transportation Tax":(0,p.jsxs)("p",{children:["A county-level tax applied to shipping within the county's jurisdiction; also used to fund",(0,p.jsx)("b",{children:" annual street rehabilitations"}),"."]}),"Measure O":(0,p.jsxs)("p",{style:{color:"#215775"},children:["Measure O provides $135 million of funding from bond revenue to pay for",(0,p.jsx)("b",{children:" affordable housing"})," ","projects."]}),"Measure M":(0,p.jsxs)("p",{children:["Measure M provided $30 million of funding from bond revenue to improve Berkeley\u2019s streets and install",(0,p.jsx)("b",{children:" green infrastructure"})," ","to protect water quality in the Bay."]}),"Measure F":(0,p.jsxs)("p",{children:["Starting in FY 2015, Measure F provided an additional 17% of annual funding to the Parks Tax, a parcel tax that pays for",(0,p.jsx)("b",{children:" park maintenance."})]}),"Measure B & BB":(0,p.jsxs)("p",{children:["Measure B was approved in 2000, and Measure BB in 2014 to provide sales tax funding for",(0,p.jsx)("b",{children:" transportation projects"}),"."]}),"Sanitary Sewer Fund":(0,p.jsxs)("p",{children:["The Sanitary Sewer Fund provides funds for rehabilitating",(0,p.jsx)("b",{children:" sewage systems"}),"."]}),"Marina Fund":(0,p.jsxs)("p",{children:["The Marina Fund provides $15 million of funding for repairing docks and dredging in",(0,p.jsx)("b",{children:" Berkeley's Marina"}),"."]}),"Vehicle Registration Fee (VRF)":(0,p.jsxs)("p",{children:[" ","A 0.65% fee applied to the purchase price/value of the vehicle; also used to fund",(0,p.jsx)("b",{children:" annual street rehabilitations"}),"."]}),"Senate Bill 1":(0,p.jsxs)("p",{children:["Also known as the Road Repair and Accountability Act, this invests $5.4 billion annually to fix",(0,p.jsx)("b",{children:" roads, freeways and bridges"})," ","in communities across California."]})};const g=function(){const[e,n]=(0,r.useState)("Measure O"),t=h.slice(0,13),g={height:600,margin:{top:20,right:20,left:20,bottom:130}};return(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"fund-title-div",children:(0,p.jsx)("h4",{children:"Funding sources for Berkeley Capital Projects"})}),(0,p.jsx)("div",{className:"fund-desc-div",children:(0,p.jsx)("p",{children:"Click a bar to learn more about the funding source"})}),(0,p.jsx)("div",{id:"measure-explainer-container-div",children:(0,p.jsxs)("div",{id:"measure-explainer-div",children:[(0,p.jsx)("b",{style:{color:"Measure O"===e?"#215775":"#888"},children:e}),(0,p.jsx)("p",{style:{color:"Measure O"===e?"#215775":"#888"},children:f[e]})]})}),(0,p.jsx)("div",{className:"fund-chart-div",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,p.jsx)(o.h,{height:g.height,children:(0,p.jsxs)(a.v,{data:t,margin:g.margin,children:[(0,p.jsx)(u.K,{dataKey:"Funding Source",label:()=>(0,p.jsx)(i.x,{x:g.width/2,y:g.height-g.margin.top,textAnchor:"middle",dx:g.width/2-g.margin.right/2,dy:-g.margin.bottom,children:"Funding Source"}),angle:-40,interval:0,tick:{fontSize:10,fill:"#000"},textAnchor:"end"}),(0,p.jsx)(s.B,{label:()=>(0,p.jsx)(i.x,{x:g.margin.left,y:g.height/2,textAnchor:"middle",angle:-90,children:"Number of projects"}),domain:[0,53],ticks:[0,10,20,30,40,50]}),(0,p.jsx)(c.u,{cursor:!1}),(0,p.jsx)(d.$,{dataKey:"count",fill:"#BABABA",children:h.map((e=>(0,p.jsx)(l.b,{cursor:"pointer",fill:"Measure O"===e["Funding Source"]?"#215775":"#BABABA",onClick:()=>{Object.keys(f).includes(e["Funding Source"])?n(e["Funding Source"]):n("")}})))})]})})}),(0,p.jsx)("div",{className:"fund-data-note-div",children:(0,p.jsxs)("p",{style:{marginTop:0},children:[(0,p.jsx)("b",{children:" About the data:"}),"This visualization includes projects with permits that were approved between Jan. 2019 and Dec. 2022. It does not include permits for additions or modifications."]})})]})}},38725:(e,n,t)=>{t.d(n,{v:()=>s});var r=t(83856),i=t(23782),o=t(90466),a=t(12891),u=t(93137),s=(0,r.z)({chartName:"BarChart",GraphicalChild:i.$,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:o.K},{axisType:"yAxis",AxisComp:a.B}],formatAxisMap:u.t9})},19913:(e,n,t)=>{t.d(n,{h:()=>y});var r=t(63733),i=t(72791),o=t(33038),a=t.n(o),u=t(8493),s=t(70587),c=t(15303),d=t(23031);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?h(Object(t),!0).forEach((function(n){f(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function f(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==l(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function g(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o,a,u=[],s=!0,c=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=o.call(t)).done)&&(u.push(r.value),u.length!==n);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return m(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var y=(0,i.forwardRef)((function(e,n){var t=e.aspect,o=e.initialDimension,l=void 0===o?{width:-1,height:-1}:o,h=e.width,f=void 0===h?"100%":h,m=e.height,y=void 0===m?"100%":m,v=e.minWidth,b=void 0===v?0:v,x=e.minHeight,S=e.maxHeight,j=e.children,F=e.debounce,w=void 0===F?0:F,M=e.id,A=e.className,C=e.onResize,O=e.style,T=void 0===O?{}:O,B=(0,i.useRef)(null),k=(0,i.useRef)();k.current=C,(0,i.useImperativeHandle)(n,(function(){return Object.assign(B.current,{get current(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),B.current}})}));var P=g((0,i.useState)({containerWidth:l.width,containerHeight:l.height}),2),H=P[0],R=P[1],W=(0,i.useCallback)((function(e,n){R((function(t){var r=Math.round(e),i=Math.round(n);return t.containerWidth===r&&t.containerHeight===i?t:{containerWidth:r,containerHeight:i}}))}),[]);(0,i.useEffect)((function(){var e=function(e){var n,t=e[0].contentRect,r=t.width,i=t.height;W(r,i),null===(n=k.current)||void 0===n||n.call(k,r,i)};w>0&&(e=a()(e,w,{trailing:!0,leading:!1}));var n=new ResizeObserver(e),t=B.current.getBoundingClientRect(),r=t.width,i=t.height;return W(r,i),n.observe(B.current),function(){n.disconnect()}}),[W,w]);var E=(0,i.useMemo)((function(){var e=H.containerWidth,n=H.containerHeight;if(e<0||n<0)return null;(0,c.Z)((0,s.hU)(f)||(0,s.hU)(y),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",f,y),(0,c.Z)(!t||t>0,"The aspect(%s) must be greater than zero.",t);var r=(0,s.hU)(f)?e:f,o=(0,s.hU)(y)?n:y;t&&t>0&&(r?o=r/t:o&&(r=o*t),S&&o>S&&(o=S)),(0,c.Z)(r>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,o,f,y,b,x,t);var a=!Array.isArray(j)&&(0,u.isElement)(j)&&(0,d.Gf)(j.type).endsWith("Chart");return i.Children.map(j,(function(e){return(0,u.isElement)(e)?(0,i.cloneElement)(e,p({width:r,height:o},a?{style:p({height:"100%",width:"100%",maxHeight:o,maxWidth:r},e.props.style)}:{})):e}))}),[t,j,y,S,x,b,H,f]);return i.createElement("div",{id:M?"".concat(M):void 0,className:(0,r.Z)("recharts-responsive-container",A),style:p(p({},T),{},{width:f,height:y,minWidth:b,minHeight:x,maxHeight:S}
1),ref:B},E)}))},78252:(e,n,t)=>{t.r(n),t.d(n,{default:()=>r});const r={}},47752:e=>{e.exports=JSON.parse('[{"Funding Source":"Measure T1","count":50},{"Funding Source":"Measure B & BB","count":19},{"Funding Source":"Capital Improvement Fund","count":17},{"Funding Source":"Measure M","count":14},{"Funding Source":"Measure F","count":14},{"Funding Source":"State Transportation Tax","count":10},{"Funding Source":"Measure O","count":7},{"Funding Source":"Sanitary Sewer Fund","count":6},{"Funding Source":"Marina Fund","count":5},{"Funding Source":"Vehicle Registration Fee (VRF)","count":4},{"Funding Source":"Senate Bill 1","count":3},{"Funding Source":"Fed. Emergency Mgmt. Agency Grant","count":3},{"Funding Source":"General Fund","count":3},{"Funding Source":"State Local Housing Trust Fund","count":2},{"Funding Source":"Measure WW","count":2},{"Funding Source":"Measure U1","count":2},{"Funding Source":"Active Transportation Program","count":2},{"Funding Source":"Affordable Housing & Sustainable Communities","count":2},{"Funding Source":"Housing Trust Fund","count":2},{"Funding Source":"Clean Storm Fund 616","count":2},{"Funding Source":"Fed. Transit Admin.: Transit Oriented Dev. Pilot Program","count":1},{"Funding Source":"Doubletree Hotel: Capital Contribution","count":1},{"Funding Source":"Mental Health Services Act","count":1},{"Funding Source":"Mental Health State Aid Realignment Fund","count":1},{"Funding Source":"Metro. Transportation Commission Grant","count":1},{"Funding Source":"Prop 68: CA Statewide Park Program","count":1},{"Funding Source":"Prop 84: Department of Water Resources","count":1},{"Funding Source":"Department of Boating and Waterways Loan","count":1},{"Funding Source":"Community Development Block Grant","count":1},{"Funding Source":"Clean California Local Grant Program","count":1},{"Funding Source":"UC Berkeley Settlement","count":1},{"Funding Source":"Alameda County Transportation Commission","count":1},{"Funding Source":"WETA Grant","count":1}]')}}]); 2//# sourceMappingURL=3745.4482e804.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.