PageSourceSearch

https://www.peopleforbikes.org/_next/static/chunks/pages/locations/[uid]-8d6cf5b1172b79d4.js

js peopleforbikes.org collected 2026-10-01 10:22:34 UTC 19,330 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8040],{85771:function(e,t,n){"use strict";n.d(t,{v:function(){return PrismicRichText_PrismicRichText}});var i=n(85893);let composeSerializers=(...e)=>(...t)=>{for(let n=0;n<e.length;n++){let i=e[n];if(i){let e=i(...t);if(null!=e)return e}}};var r=n(32716);let a={[r.M.listItem]:"listItem",[r.M.oListItem]:"oListItem",[r.M.list]:"list",[r.M.oList]:"oList"},wrapMapSerializer=e=>(t,n,i,r,o)=>{let s=e[a[t]||t];if(s)return s({type:t,node:n,text:i,children:r,key:o})};var o=n(67294);let uuid=()=>(++uuid.i).toString();uuid.i=0;let asTree=e=>{let t=prepareNodes(e),n=[];for(let e=0;e<t.length;e++)n.push(nodeToTreeNode(t[e]));return{key:uuid(),children:n}},createTreeNode=(e,t=[])=>({key:uuid(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}),createTextTreeNode=e=>createTreeNode({type:r.M.span,text:e,spans:[]}),prepareNodes=e=>{let t=e.slice(0);for(let e=0;e<t.length;e++){let n=t[e];if(n.type===r.M.listItem||n.type===r.M.oListItem){let i=[n];for(;t[e+1]&&t[e+1].type===n.type;)i.push(t[e+1]),t.splice(e,1);n.type===r.M.listItem?t[e]={type:r.M.list,items:i}:t[e]={type:r.M.oList,items:i}}}return t},nodeToTreeNode=e=>{if("text"in e)return createTreeNode(e,textNodeSpansToTreeNodeChildren(e.spans,e));if("items"in e){let t=[];for(let n=0;n<e.items.length;n++)t.push(nodeToTreeNode(e.items[n]));return createTreeNode(e,t)}return createTreeNode(e)},textNodeSpansToTreeNodeChildren=(e,t,n)=>{if(!e.length)return[createTextTreeNode(t.text)];let i=e.slice(0);i.sort((e,t)=>e.start-t.start||t.end-e.end);let r=[];for(let e=0;e<i.length;e++){let a=i[e],o=n&&n.start||0,s=a.start-o,l=a.end-o,c=t.text.slice(s,l),d=[];for(let t=e;t<i.length;t++){let e=i[t];e!==a&&(e.start>=a.start&&e.end<=a.end?(d.push(e),i.splice(t,1),t--):e.start<a.end&&e.end>a.start&&(d.push({...e,end:a.end}),i[t]={...e,start:a.end}))}0===e&&s>0&&r.push(createTextTreeNode(t.text.slice(0,s)));let p={...a,text:c};r.push(createTreeNode(p,textNodeSpansToTreeNodeChildren(d,{...t,text:c},a))),l<t.text.length&&r.push(createTextTreeNode(t.text.slice(l,i[e+1]?i[e+1].start-o:void 0)))}return r},serialize=(e,t)=>serializeTreeNodes(asTree(e).children,t),serializeTreeNodes=(e,t)=>{let n=[];for(let i=0;i<e.length;i++){let r=e[i],a=t(r.type,r.node,r.text,serializeTreeNodes(r.children,t),r.key);null!=a&&n.push(a)}return n},isInternalURL=e=>{let t=/^(\/(?!\/)|#)/.test(e),n=!t&&!/^https?:\/\//.test(e);return t&&!n},s={Any:"Any",Document:"Document",Media:"Media",Web:"Web"},documentToLinkField=e=>{var t;return{link_type:s.Document,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:null==(t=e.slugs)?void 0:t[0],...e.data&&Object.keys(e.data).length>0?{data:e.data}:{}}},asLink=(e,...t)=>{let n;if(!e)return null;let i="link_type"in e?e:documentToLinkField(e),[r]=t;switch(n="function"==typeof r||null==r?{linkResolver:r}:{...r},i.link_type){case s.Media:case s.Web:return"url"in i?i.url:null;case s.Document:if("id"in i&&n.linkResolver){let e=n.linkResolver(i);if(null!=e)return e}if("url"in i&&i.url)return i.url;return null;case s.Any:default:return null}},isNonNullish=e=>null!=e,isFilled_richText=e=>!!isNonNullish(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length),isFilled_link=e=>isNonNullish(e)&&("id"in e||"url"in e),asLinkAttrs=(e,t={})=>{if(e&&("link_type"in e?isFilled_link(e):e)){let n="target"in e?e.target:void 0,i=asLink(e,t.linkResolver),r=null==i?void 0:i,a="string"==typeof r&&!isInternalURL(r),o=t.rel?t.rel({href:r,isExternal:a,target:n}):a?"noreferrer":void 0;return{href:r,target:n,rel:null==o?void 0:o}}return{}},isInternalURL_isInternalURL=e=>{let t=/^(\/(?!\/)|#)/.test(e),n=!t&&!/^https?:\/\//.test(e);return t&&!n};n(83454);let l=o.forwardRef(function({field:e,document:t,linkResolver:n,internalComponent:r,externalComponent:a,...o},s){let{href:l,rel:c,...d}=asLinkAttrs(e??t,{linkResolver:n,rel:"function"==typeof o.rel?o.rel:void 0}),p=c;"rel"in o&&"function"!=typeof o.rel&&(p=o.rel);let m=("href"in o?o.href:l)||"",u=m&&isInternalURL_isInternalURL(m)?r||"a":a||"a";return(0,i.jsx)(u,{ref:s,...d,...o,href:m,rel:p})});n(83454);
1let createDefaultSerializer=e=>wrapMapSerializer({heading1:({children:e,key:t})=>(0,i.jsx)("h1",{children:e},t),heading2:({children:e,key:t})=>(0,i.jsx)("h2",{children:e},t),heading3:({children:e,key:t})=>(0,i.jsx)("h3",{children:e},t),heading4:({children:e,key:t})=>(0,i.jsx)("h4",{children:e},t),heading5:({children:e,key:t})=>(0,i.jsx)("h5",{children:e},t),heading6:({children:e,key:t})=>(0,i.jsx)("h6",{children:e},t),paragraph:({children:e,key:t})=>(0,i.jsx)("p",{children:e},t),preformatted:({node:e,key:t})=>(0,i.jsx)("pre",{children:e.text},t),strong:({children:e,key:t})=>(0,i.jsx)("strong",{children:e},t),em:({children:e,key:t})=>(0,i.jsx)("em",{children:e},t),listItem:({children:e,key:t})=>(0,i.jsx)("li",{children:e},t),oListItem:({children:e,key:t})=>(0,i.jsx)("li",{children:e},t),list:({children:e,key:t})=>(0,i.jsx)("ul",{children:e},t),oList:({children:e,key:t})=>(0,i.jsx)("ol",{children:e},t),image:({node:t,key:n})=>{let r=(0,i.jsx)("img",{src:t.url,alt:t.alt??void 0,"data-copyright":t.copyright?t.copyright:void 0});return(0,i.jsx)("p",{className:"block-img",children:t.linkTo?(0,i.jsx)(l,{linkResolver:e.linkResolver,internalComponent:e.internalLinkComponent,externalComponent:e.externalLinkComponent,field:t.linkTo,children:r}):r},n)},embed:({node:e,key:t})=>(0,i.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},t),hyperlink:({node:t,children:n,key:r})=>(0,i.jsx)(l,{field:t.data,linkResolver:e.linkResolver,internalComponent:e.internalLinkComponent,externalComponent:e.externalLinkComponent,children:n},r),label:({node:e,children:t,key:n})=>(0,i.jsx)("span",{className:e.data.label,children:t},n),span:({text:e,key:t})=>{let n=[],r=0;for(let t of e.split("\n"))r>0&&n.push((0,i.jsx)("br",{},`${r}__break`)),n.push((0,i.jsx)(o.Fragment,{children:t},`${r}__line`)),r++;return(0,i.jsx)(o.Fragment,{children:n},t)}});function PrismicRichText({linkResolver:e,field:t,fallback:n,components:r,externalLinkComponent:a,internalLinkComponent:s,...l}){return o.useMemo(()=>{if(!isFilled_richText(t))return null!=n?(0,i.jsx)(i.Fragment,{children:n}):null;{let n=composeSerializers("object"==typeof r?wrapMapSerializer(r):r,createDefaultSerializer({linkResolver:e,internalLinkComponent:s,externalLinkComponent:a})),l=serialize(t,(e,t,i,r,a)=>{let s=n(e,t,i,r,a);return o.isValidElement(s)&&null==s.key?o.cloneElement(s,{key:a}):s});return(0,i.jsx)(i.Fragment,{children:l})}},[t,s,a,r,e,n])}var c=n(83696);let usePrismicContext=()=>o.useContext(c.Z)||{},PrismicRichText_PrismicRichText=function({components:e,...t}){let n=usePrismicContext(),r=composeSerializers("object"==typeof e?wrapMapSerializer(e):e,"object"==typeof n.richTextComponents?wrapMapSerializer(n.richTextComponents):n.richTextComponents);return(0,i.jsx)(PrismicRichText,{components:r,internalLinkComponent:n.internalLinkComponent,externalLinkComponent:n.externalLinkComponent,...t})}},25302:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/locations/[uid]",function(){return n(15539)}])},15611:function(e,t,n){"use strict";var i=n(82729),r=n(85893);n(67294);var a=n(89755),o=n.n(a),s=n(85444);function _templateObject(){var e=(0,i._)(["\n  align-items: "," !important;\n  display: flex !important;\n  height: "," !important;\n  justify-content: "," !important;\n  margin: "," !important;\n  position: relative !important;\n  width: "," !important;\n\n  @media screen and (min-width: ",") {\n    height: "," !important;\n  }\n\n  @media screen and (min-width: ",") {\n    height: "," !important;\n  }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,i._)(["\n  align-items: center !important;\n  display: flex !important;\n  flex-direction: column !important;\n  justify-content: center !important;\n  height: 100% !important;\n  width: 100% !important;\n  z-index: "," !important;\n\n  span {\n    color: rgba(",") !important;\n    font-family: "," !important;\n    font-size: 40px !important;\n    font-weight: 600 !important;\n    line-height: 30px !important;\n    letter-spacing: 1px !important;\n    margin: 0 !important;\n    text-transform: uppercase !important;\n  }\n  @media screen and (min-width: 320px) {\n    span {\n      font-size: calc(40px + 20 * ((100vw - 320px) / 880)) !important;\n      line-height: calc(30px + 20 * ((100vw - 320px) / 880)) !important;\n    }\n  }\n  @media screen and (min-width: 1200px) {\n    span {\n      font-size: 60px !important;\n      line-height: 50px !important;\n    }\n  }\n\n  h1 {\n    color: rgba(",") !important;\n    text-align: center !important;\n    text-transform: uppercase !important;\n  }\n"]);
1return _templateObject1=function(){return e},e}var l=s.ZP.section.withConfig({componentId:"sc-93471706-0"})(_templateObject(),function(e){return e.alignItems},function(e){return e.height},function(e){return e.justifyContent},function(e){return e.margin},function(e){return e.width},function(e){return e.theme.sm},function(e){return e.heightTablet},function(e){return e.theme.lg},function(e){return e.heightDesktop}),c=s.ZP.div.withConfig({componentId:"sc-93471706-1"})(_templateObject1(),function(e){return e.theme.zIndex01},function(e){return e.headingRGBA?e.headingRGBA:"255,255,255,1"},function(e){return e.theme.dharma},function(e){return e.headingRGBA?e.headingRGBA:"255,255,255,1"});t.Z=function(e){var t=e.alignItems,n=e.children,i=e.headingRGBA,a=e.imgalt,s=e.imgsrc,d=e.height,p=e.heightTablet,m=e.heightDesktop,u=e.justifyContent,h=e.margin,g=e.quality,x=e.width;return(0,r.jsxs)(l,{alignItems:void 0===t?"center":t,height:void 0===d?"50vh":d,heightTablet:void 0===p?"70vh":p,heightDesktop:void 0===m?"80vh":m,justifyContent:void 0===u?"center":u,margin:void 0===h?"0":h,width:void 0===x?"100%":x,children:[(0,r.jsx)(o(),{alt:void 0===a?"Background Image":a,src:s,layout:"fill",objectFit:"cover",quality:void 0===g?80:g}),n&&(0,r.jsx)(c,{headingRGBA:void 0===i?"255,255,255,1":i,children:n})]})}},44670:function(e,t,n){"use strict";var i=n(82729),r=n(85893);n(67294);var a=n(89755),o=n.n(a),s=n(85444),l=n(15611);function _templateObject(){var e=(0,i._)(["\n  margin-bottom: 2vh !important;\n  max-height: 70vh !important;\n  object-fit: cover !important;\n  width: 100% !important;\n"]);return _templateObject=function(){return e},e}var c=(0,s.ZP)(o()).withConfig({componentId:"sc-f9b8f76e-0"})(_templateObject());t.Z=function(e){var t=e.children,n=e.headingRGBA,i=e.source,a=e.srcSet;return(0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)(l.Z,{alignItems:"center",headingRGBA:n,imgsrc:i,justifyContent:"center",children:t}),a&&(null==a?void 0:a.url)&&(0,r.jsx)(c,{alt:a.alt?a.alt:"Bike-oriented image",src:a.url,height:a.dimensions.height,width:a.dimensions.width,layout:"responsive"})]})}},69995:function(e,t,n){"use strict";var i=n(82729),r=n(85893);n(67294);var a=n(85444);function _templateObject(){var e=(0,i._)(["\n  background-color: "," !important;\n  color: "," !important;\n  padding: "," !important;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,i._)(["\n  margin: 0 auto !important;\n  max-width: "," !important;\n\n  li {\n    list-style-type: disc !important;\n    padding-left: 10px !important;\n  }\n"]);return _templateObject1=function(){return e},e}var o=a.ZP.section.withConfig({componentId:"sc-976ceb3c-0"})(_templateObject(),function(e){return e.bgColor||"transparent"},function(e){return e.textColor||"black"},function(e){return e.contentPadding||"2vh 4vw"}),s=a.ZP.div.withConfig({componentId:"sc-976ceb3c-1"})(_templateObject1(),function(e){return e.maxWidth||e.theme.lg});t.Z=function(e){var t=e.bgColor,n=e.children,i=e.className,a=e.contentPadding,l=e.textColor,c=e.maxWidth;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(o,{bgColor:t,className:i,contentPadding:a,textColor:l,children:(0,r.jsx)(s,{maxWidth:c,children:n})})})}},29635:function(e,t,n){"use strict";var i=n(85893);n(67294);var r=n(9008),a=n.n(r);t.Z=function(e){var t=e.desc,n=e.imgHeight,r=e.imgSrc,o=e.imgWidth,s=e.keywords,l=e.ldJSON,c=e.path,d=e.title;return(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:d},"title"),(0,i.jsx)("meta",{name:"description",content:t},"metadesc"),(0,i.jsx)("meta",{name:"keywords",content:s},"metakeywords"),(0,i.jsx)("meta",{property:"fb:app_id",content:"1771036746278242"}),(0,i.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,i.jsx)("meta",{property:"og:site_name",content:"PeopleForBikes"}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:image",content:r},"ogimg"),(0,i.jsx)("meta",{property:"og:image:width",content:o},"ogimgw"),(0,i.jsx)("meta",{property:"og:image:height",content:n},"ogimgh"),(0,i.jsx)("meta",{property:"og:title",content:d},"ogtitle"),(0,i.jsx)("meta",{property:"og:description",content:t},"ogdesc"),(0,i.jsx)("meta",{property:"og:url",content:c},"ogurl"),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:site",content:"@peopleforbikes"}),(0,i.jsx)("meta",{name:"twitter:domain",content:"peopleforbikes.org"}),(0,i.jsx)("meta",{name:"twitter:title",content:d}
1,"twtrtitle"),(0,i.jsx)("meta",{name:"twitter:description",content:t},"twtrdesc"),(0,i.jsx)("meta",{name:"twitter:image",content:r},"twitterimg"),(0,i.jsx)("link",{rel:"canonical",href:c},"canonical"),l&&(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l,null,2)}})]})}},81829:function(e,t){"use strict";var n=["https://pfb-main-site-assets.s3.amazonaws.com/PFB_Social-01.jpg","https://pfb-main-site-assets.s3.amazonaws.com/PFB_Social-02.jpg","https://pfb-main-site-assets.s3.amazonaws.com/PFB_Social-03.jpg","https://pfb-main-site-assets.s3.amazonaws.com/PFB_Social-04.jpg"],i={meta:{desc:"PeopleForBikes is committed to improving biking for everyone. Learn more about our work and join our movement.",title:"PeopleForBikes | Every ride. Every rider. Join us.",imgHeight:"900",imgSrc:"".concat(n[Math.floor(Math.random()*n.length)]),imgWidth:"1600",keywords:"PeopleForBikes, bikes, cycles, cycling, sustainable transportation, bicycling benefits, bike business, bike commuting, bike networks, bike racing, bike rides, bike safety, electric bikes, first time bikers, city riding, e-bikes, inclusive biking, recreational bike access, senior cycling, trade and tariffs for bicycles, youth bicycling",path:"https://www.peopleforbikes.org"},actionItems:[{title:[{type:"heading2",text:"Become a Member",spans:[]}],extended_text:null,text:"PeopleForBikes is making a difference around the country but we need your help. Becoming a member doesn't cost you a thing and helps us to build a stronger voice for the future of biking.",icon:"Join (link icon)",link:{__typename:"Landing_page",_meta:{id:"01",uid:"join"}}},{title:[{type:"heading2",text:"Discover an Electric Bike Ride Near You",spans:[]}],extended_text:null,text:"Find great electric bike rides around the United States with our lists and helpful mapping tools.",icon:"E-bikes (battery icon)",link:{__typename:"Electric Bikes",_meta:{id:"02",uid:"rides-and-routes"}}},{title:[{type:"heading2",text:"Learn What's Happening in the World of Biking",spans:[]}],extended_text:null,text:"Ready to learn about how your next great ride comes into being? Check out the latest work from the whole PeopleForBikes team. We're advancing polices, helping to build infrastructure and need your help.",icon:"News (newspaper icon)",link:{__typename:"Landing_page",_meta:{id:"03",uid:"news"}}}],rideSpotRides:{rideone:{title:[{type:"heading1",text:"NW Grand Rapids Tour",spans:[]}],distance:"6.5 miles",organization:{name:[{type:"heading1",text:"GVSU - Recreation and Wellness",spans:[]}]},ridespot_link:{url:"https://ridespot.org/rides/209896",target:"_blank"}},ridetwo:{title:[{type:"heading1",text:"Reed's Lake Cyclocross Loop",spans:[]}],distance:"10 Miles",organization:{name:[{type:"heading1",text:"Alger Bikes",spans:[]}]},ridespot_link:{url:"https://ridespot.org/rides/10653",target:"_blank"}},ridethree:{title:[{type:"heading1",text:"Waterloo G&G",spans:[]}],distance:"10 Miles",organization:{name:[{type:"heading1",text:"Fraser Bicycle - Ann Arbor",spans:[]}]},ridespot_link:{url:"https://ridespot.org/rides/7561",target:"_blank"}}}};t.Z=i},15539:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return h},default:function(){return LocationPage}});var i=n(85893);n(67294);var r=n(17965),a=n(1588),o=n(81829),s=n(98045),l=n(94077),c=n(29635),d=n(44670),p=n(69995),m=n(3743),u=n(54339),h=!0;function LocationPage(e){var t,n=e.fallback,h=e.page;e.preview;var g=h[0].locations,x=o.Z.meta,f=o.Z.actionItems;return o.Z.rideSpotRides,(0,i.jsxs)(s.m,{children:[(0,i.jsx)(c.Z,{desc:g.intro?"".concat(g.intro[0].text.substring(0,180),"... "):x.desc,title:g.location?"".concat(g.location[0].text," | PeopleForBikes"):x.title,imgHeight:g.header_image?g.header_image.mobile2x.dimensions.height:x.imgHeight,imgSrc:g.header_image?g.header_image.mobile2x.url:x.imgSrc,imgWidth:g.header_image?g.header_image.mobile2x.dimensions.width:x.imgWidth,path:g?"https://www.peopleforbikes.org/locations/".concat(g._meta.uid):x.path}),(0,i.jsxs)(l.Z,{postPath:"/locations/",postTitle:"Locations",isWide:!!g.header_image,children:[g.header_image?(0,i.jsx)(d.Z,{headingRGBA:"255,255,255,1",source:g.header_image.url,children:(0,i.jsx)("h1",{children:g.location[0].text})}):(0,i.jsx)("h1",{children:g.location[0].text}),g.body&&g.body.map(function(e){return"action_item"===e.type?(0,i.jsx)(u.Z,{payload:e.fields},(0,a.c)(1e7)):(0,i.jsx)(u.Z,{payload:f},(0,a.c)(1e7))}),(0,i.jsxs)(p.Z,{children:[(null===(t=h[1])||void 0===t?void 0:t.length)>1&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("h2",{children:["PeopleForBikes Work in ",g.location[0].text]}),(0,i.jsx)("h3",{children:"News"})]}),h[1]&&h[1].map(function(e){var t,a=new Date(e.data.publication_date?(0,r.q)(e.data.publication_date):(0,r.q)(e.last_publication_date));
1return(0,i.jsx)(m.Z,{date:"".concat(a.toLocaleString("en-us",{month:"long"}),"\n                        ").concat(a.getDate(),",\n                        ").concat(a.getFullYear()),image:(null===(t=Object.keys(e.data.header_image))||void 0===t?void 0:t.length)!==0&&e.data.header_image?e.data.header_image:n[Math.floor(6*Math.random())],path:"/news/".concat(e.uid),text:"paragraph"===e.data.main_content[0].type?e.data.main_content[0].text:"",title:e.data.title[0].text},e.id)})]})]})]})}},17965:function(e,t,n){"use strict";n.d(t,{q:function(){return asDate}});let asDate=e=>e?new Date(24===e.length?e.replace(/(\+|-)(\d{2})(\d{2})$/,".000$1$2:$3"):e):null},32716:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});let i={heading1:"heading1",heading2:"heading2",heading3:"heading3",heading4:"heading4",heading5:"heading5",heading6:"heading6",paragraph:"paragraph",preformatted:"preformatted",strong:"strong",em:"em",listItem:"list-item",oListItem:"o-list-item",list:"group-list-item",oList:"group-o-list-item",image:"image",embed:"embed",hyperlink:"hyperlink",label:"label",span:"span"}}},function(e){e.O(0,[6610,1777,2304,8045,4077,9324,9774,2888,179],function(){return e(e.s=25302)}),_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.