PageSourceSearch

https://abri-staging.vercel.app/_next/static/chunks/6563.23ec26aacc28aff2.js

js abri-staging.vercel.app collected 2026-10-03 06:04:10 UTC 6,220 bytes, 37 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6563],{603:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(37876),s=a(15039),n=a.n(s),o=a(29246),l=a.n(o);let r=function({children:e,loading:t}){return(0,i.jsx)("div",{className:n()(l().loadingWrapper,t&&l().loading),children:e})}},9857:e=>{e.exports={propertyList:"AltPropertyList_propertyList__4KWpd",list:"AltPropertyList_list__AX0vS",listFilters:"AltPropertyList_listFilters__e8gmQ"}},18314:e=>{e.exports={checkboxGroup:"CheckboxGroup_checkboxGroup__MPoKq"}},24969:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(37876),s=a(15039),n=a.n(s),o=a(76893),l=a.n(o);let r=({currentPage:e,totalPages:t,handleChangePage:a,className:s})=>(0,i.jsx)("div",{className:n()("pagination",l()[`${s}`]),children:(0,i.jsxs)("nav",{className:n()("pagination",l().appPagination),role:"navigation","aria-label":"pagination",children:[(0,i.jsx)("a",{className:"pagination-previous",title:"go to next page",disabled:e===t&&t,onClick:()=>{e!==t&&a(e+1)},children:"Next"}),(0,i.jsx)("a",{className:"pagination-next",disabled:e===t&&t,onClick:()=>a(t),children:"Last"}),(0,i.jsxs)("ul",{className:"pagination-list",children:[(0,i.jsx)("li",{children:(0,i.jsx)("a",{className:`pagination-link ${1===e?"is-current":""}`,onClick:()=>a(1),"aria-label":"Page 1","aria-current":"page",children:"1"})}),t>1&&Array(t-1).fill(null).map((e,t)=>t).map((t,s)=>(0,i.jsx)("li",{children:(0,i.jsx)("a",{className:n()("pagination-link",`${e===s+2?"is-current":""}`),"aria-label":"Goto page 2",onClick:()=>a(s+2),children:s+2})},s))]})]})})},29246:e=>{e.exports={loadingWrapper:"LoadingWrapper_loadingWrapper__VssHU",loading:"LoadingWrapper_loading__VHhjR"}},36032:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var i=a(37876),s=a(14232),n=a(18314),o=a.n(n);let l=s.memo(({groupState:e,option:t,setGroupState:a})=>(0,i.jsxs)("div",{className:o().checkboxGroup,children:[(0,i.jsx)("input",{type:"checkbox",checked:e?.includes(t.slug)||!1,onChange:i=>{var s,n;i.preventDefault(),a((s=e,n=t.slug,Array.isArray(s)?s.includes(n)?s.filter(e=>e!==n):[...s,n]:[n]))}}),(0,i.jsx)("label",{children:t.name})]}))},38254:e=>{e.exports={dropdown:"Dropdown_dropdown__TefVb",dropdownButton:"Dropdown_dropdownButton__nCNHu",dropdownContent:"Dropdown_dropdownContent___VdwG",dropdownShow:"Dropdown_dropdownShow__M_I9A"}},66563:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>f});var i=a(37876),s=a(14232),n=a(51948),o=a(66586),l=a(15039),r=a.n(l),d=a(89099),c=a(95359);a(24969);var p=a(36032),u=a(89483),h=a(50555),g=a(603),m=a(63191),x=a(37191),_=a(81904),j=a(48345),N=a(9857),P=a.n(N);let w=(0,n.J1)`
2  query (
3    $hostname: String!
4    $urlPath: String!
5    $limit: Int
6    $search: String
7    $locations: [String]
8    $facilities: [String]
9  ) {
10    altPropertyListResults(hostname: $hostname, urlPath: $urlPath) {
11      id(search: $search, locations: $locations, facilities: $facilities)
12      listItems(search: $search, locations: $locations, facilities: $facilities, limit: $limit) {
13        id
14        name
15        title
16        description
17        image {
18          id
19          rendition(fill: "750x750") {
20            url
21          }
22        }
23      }
24      listItemCount
25      locations(search: $search) {
26        id
27        name
28        slug
29      }
30      facilities(search: $search) {
31        id
32        name
33        slug
34      }
35    }
36  }
37`,f=({data:e})=>{let{site:t}=e,{page:a}=t,n=(0,d.useRouter)(),[l,{loading:N,error:f,data:v}]=(0,o._)(w),[$,A]=(0,s.useState)(""),[k,b]=(0,s.useState)([]),[S,y]=(0,s.useState)([]),[C,L]=(0,s.useState)([]),[R,G]=(0,s.useState)([]),[q,I]=(0,s.use
37State)([]),[V]=(0,j.A)($,1e3),[W,B]=(0,s.useState)(6);return(0,s.useEffect)(()=>{let e={hostname:t.hostname,urlPath:`/${n.query.urlPath.join("/")}`,limit:W};R?.length&&(e.locations=R),C?.length&&(e.facilities=C),V&&(e.search=V),l({variables:e})},[R,C,V,n,W]),(0,s.useEffect)(()=>{if(v&&v.altPropertyListResults){let{listItems:e,locations:t,facilities:a}=v?.altPropertyListResults;e&&I(e),t&&b(t),a&&y(a)}},[v]),(0,i.jsxs)("div",{className:P().propertyList,children:[(0,i.jsx)(c.A,{title:a.title}),(0,i.jsxs)("section",{className:"page-content",children:[a.introBody&&(0,i.jsx)(x.A,{data:a.introBody,rootPage:t.rootPage}),q&&(0,i.jsxs)("div",{className:r()("container",P().list),children:[a?.listTitle&&(0,i.jsx)("h2",{children:a.listTitle}),(0,i.jsx)("div",{className:P().listFilters,children:(0,i.jsxs)("div",{className:"columns is-desktop",children:[(0,i.jsx)("div",{className:"column is-one-quarter-desktop",children:(0,i.jsx)(h.A,{_onChange:A,className:"search",placeholder:"Search",icon:"search",value:$})}),k&&k.length>0&&(0,i.jsx)("div",{className:"column is-one-quarter-desktop",children:(0,i.jsx)(u.A,{buttonText:"Locations",children:k.map(e=>(0,i.jsx)(p.A,{option:e,groupState:R,setGroupState:G},`${a.id}-location-option-${e.id}`))})}),S&&S.length>0&&(0,i.jsx)("div",{className:"column is-one-quarter-desktop",children:(0,i.jsx)(u.A,{buttonText:"Facilities",children:S.map(e=>(0,i.jsx)(p.A,{option:e,groupState:C,setGroupState:L},`${a.id}-facility-option-${e.id}`))})})]})}),(0,i.jsx)(g.A,{loading:N,children:(0,i.jsx)(_.A,{white:!0,teamMembers:q})}),v&&v.altPropertyListResults?.listItemCount>q.length&&(0,i.jsx)("div",{className:P().newsLoadMore,children:(0,i.jsx)("button",{className:"button is-outlined",onClick:()=>{B(e=>e+6)},children:"Load more"})})]}),a.body&&(0,i.jsx)(x.A,{rootPage:t.rootPage,data:a.body}),a.teamPageRelated&&0!==a.teamPageRelated.length&&(0,i.jsx)(m.A,{rootPage:t.rootPage,data:a.teamPageRelated})]})]})}},76893:e=>{e.exports={appPagination:"Pagination_appPagination__Nw_rV","margin-top":"Pagination_margin-top__eE6Vl"}},89483:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var i=a(37876),s=a(14232),n=a(15039),o=a.n(n),l=a(31130),r=a(38254),d=a.n(r);let c=function({buttonText:e,children:t}){let[a,n]=(0,s.useState)(!1);return(0,i.jsx)("div",{className:o()(d().dropdown,a&&d().dropdownShow),children:(0,i.jsxs)(l.default,{onOutsideClick:()=>{a&&n(!1)},children:[(0,i.jsx)("button",{className:d().dropdownButton,onClick:()=>n(e=>!e),"aria-haspopup":"true","aria-controls":"filter-dropdown",children:e}),(0,i.jsx)("div",{className:o()("filter-dropdown",d().dropdownContent),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.