PageSourceSearch

https://www.birminghamal.gov/_next/static/chunks/pages/government/city-departments-54ad49e6ac0364b5.js

js birminghamal.gov collected 2026-10-02 02:57:49 UTC 6,700 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[819],{6399:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/government/city-departments",function(){return n(4084)}])},5643:function(e,t,n){"use strict";n.d(t,{k:function(){return m}});var a=n(2322),l=n(2784),i=n(9097),r=n.n(i),s=n(1286),o=n(5632),c=n(5705),p=n(6925),u=n(4978);let d="https://content.birminghamal.gov/api/alerts/www";function m(e){var t;let{children:n,header:i,footer:m}=e,_=(0,o.useRouter)(),{data:g,error:f}=(0,s.ZP)(d,u.C,{refreshInterval:3e4,revalidateOnFocus:!0,revalidateIfStale:!0,dedupingInterval:0,keepPreviousData:!1,revalidateOnReconnect:!0}),h=null!==(t=null==g?void 0:g.alerts)&&void 0!==t?t:[];f&&console.log("Error fetching alerts:",f),(0,l.useEffect)(()=>{let e=()=>(0,s.JG)(d);return _.events.on("routeChangeComplete",e),()=>{_.events.off("routeChangeComplete",e)}},[_.events]);let v=(0,l.useRef)(null);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.n,{}),h.length>0&&h.map(e=>{var t;return(0,a.jsx)("section",{id:"alert-content","aria-label":"Site alert",children:(0,a.jsx)(c.bZ,{id:e.id,severity:e.severity,title:e.title,body:"string"==typeof e.body?e.body:(null===(t=e.body)||void 0===t?void 0:t.processed)||"",icon:"message-exclamation",dismissible:"emergency"!==e.severity})},e.id)}),(0,a.jsx)(r(),{href:"#main-content",className:"absolute overflow-hidden h-[1px] w-[1px] focus:static focus:w-auto focus:h-auto focus:border-2 focus:border-black",onKeyDown:e=>{if("Enter"===e.key||" "===e.key){var t;e.preventDefault(),null===(t=v.current)||void 0===t||t.focus()}},tabIndex:0,children:"Skip to main content"}),(0,a.jsx)(c.h4,{...i}),(0,a.jsxs)("main",{className:"w-full dark:bg-coolGray-10",id:"main-content",tabIndex:-1,ref:v,children:[n?null:(0,a.jsx)(c.Vm,{}),n]}),(0,a.jsx)(c.$_,{...m})]})}},542:function(e,t,n){"use strict";function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;void 0===window.mixpanel&&function(e,t){if(!t.__SV){var n,a,l,i;window.mixpanel=t,t._i=[],t.init=function(e,n,a){var r=t;for(void 0!==a?r=t[a]=[]:a="mixpanel",r.people=r.people||[],r.toString=function(e){var t="mixpanel";return"mixpanel"!==a&&(t+="."+a),e||(t+=" (stub)"),t},r.people.toString=function(){return r.toString(1)+".people (stub)"},l="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" "),i=0;i<l.length;i++)!function(e,t){var n=t.split(".");2==n.length&&(e=e[n[0]],t=n[1]),e[t]=function(){e.push([t].concat(Array.prototype.slice.call(arguments,0)))}}(r,l[i]);var s="set set_once union unset remove delete".split(" ");r.get_group=function(){for(var e={},t=["get_group"].concat(Array.prototype.slice.call(arguments,0)),n=0;n<s.length;n++)!function(n){e[n]=function(){call2_args=arguments,call2=[n].concat(Array.prototype.slice.call(call2_args,0)),r.push([t,call2])}}(s[n]);return e},t._i.push([e,n,a])},t.__SV=1.2,(n=e.createElement("script")).type="text/javascript",n.async=!0,n.src="undefined"!=typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js",(a=e.getElementsByTagName("script")[0]).parentNode.insertBefore(n,a)}}(document,window.mixpanel||[]),mixpanel.init("f6049e293b681dae7303948b362cff82",{track_pageview:!1,persistence:"localStorage"});let r={subsite:"www",page_title:l||t.title,protected_access:i||null};null===l&&(r.page_title=t.title,r.page_type=e,r.department=n,r.categories=a,null!==e&&(r.node_id=t.id,r.last_updated=t.changed)),mixpanel.track_pageview(r)}n.d(t,{c:function(){return a}})},4084:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return u},default:function(){return d}});var a=n(2322),l=n(2784),i=n(3881),r=n(5705),s=n(5643);let o=e=>{let{placeholder:t,searchInput:n,handleSearchInput:l,ariaLabel:i,ariaLabelledBy:s}=e;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:"text",value:n,onChange:l,placeholder:t,className:"bg-white","aria-label":i,"aria-labelledby":s}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center p-s",children:(0,a.jsx)(r.JO,{name:"magnifying-glass",additionalClasses:"text-neutral-600"})})]})};
1var c=n(4100),p=n(542),u=!0;function d(e){let{departments:t,header:n,footer:u,name:d}=e,[m,_]=(0,l.useState)(""),[g,f]=(0,l.useState)([]);(0,l.useEffect)(()=>{f(t.filter(i.Fn).filter(e=>e.title.toLowerCase().includes(m.toLowerCase())||e.summary.toLowerCase().includes(m.toLowerCase())))},[m,t]),(0,l.useEffect)(()=>{(0,p.c)(null,null,null,null,"City Departments Listing")},[]);let h=d||"CitizenForward";return(0,a.jsxs)(s.k,{header:n,footer:u,children:[(0,a.jsx)(c.S,{title:"City Departments | ".concat(h),description:"View and navigate a listing of ".concat(h," departments."),norobots:"true"}),(0,a.jsxs)("article",{children:[(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)(r.Oo,{links:[{url:"/",title:"Home",internal:!0,__typename:"Link"},{url:"/government",title:"Government",internal:!0,__typename:"Link"},{url:"/city-departments",title:"City Departments",internal:!0,__typename:"Link"}],numberOfItems:3}),(0,a.jsx)("h1",{className:"mt-m lg:mt-m-desktop dark:text-white",children:"City Departments"})]}),(0,a.jsx)("div",{className:"bg-coolGray-10 py-m lg:py-m-desktop my-m lg:my-m-desktop",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("label",{className:"mb-2 font-medium dark:text-white",children:"Search Departments"}),(0,a.jsx)(o,{searchInput:m,handleSearchInput:e=>{_(e.target.value)},placeholder:"Filter departments...",ariaLabel:"Filter department"})]})}),(0,a.jsx)("div",{className:"container mb-l lg:mb-l-desktop",children:(null==g?void 0:g.length)?(0,a.jsx)(r.gy,{cardType:"listing",columns:"2",cards:g.map(e=>{let{title:t,summary:n,path:a}=e;return{title:t,description:n,imageAlt:"",path:a,isHorizontal:!0}})}):(0,a.jsx)("p",{className:"dark:text-white",children:"No Departments found."})})]})]})}}},function(e){e.O(0,[538,436,335,888,774,179],function(){return e(e.s=6399)}),_N_E=e.O()}]);

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.