PageSourceSearch

https://bikeverona.it/_next/static/chunks/pages/open-data-56b4af7a2a09e82d0dee.js

js bikeverona.it collected 2026-10-02 15:30:20 UTC 8,849 bytes, 2 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[56],{"0JZY":function(e,i,t){"use strict";t.d(i,"b",(function(){return p}));var n=t("nKUr"),a=t("cpVT"),s=t("vOnD"),r=t("7++0"),c=t("kriW"),l=t("bgFo"),d=t("qrrX");function o(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function u(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?o(Object(t),!0).forEach((function(i){Object(a.a)(e,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}))}return e}var p=Object(r.e)({showcase:{id:"modules.OpenData.showcase",defaultMessage:"Showcase"},realtime:{id:"modules.OpenData.realtimeButton.title",defaultMessage:"Realtime"},realtimeDescription:{id:"modules.OpenData.realtimeButton.description",defaultMessage:"Availability of stations and bikes, in live updated JSON feeds"},historical:{id:"modules.OpenData.historicalButton.title",defaultMessage:"Historical"},historicalDescription:{id:"modules.OpenData.historicalButton.description",defaultMessage:"Monthly data of all trips published in CSV and JSON formats"},app:{id:"modules.OpenData.appButton.title",defaultMessage:"App integration"},appDescription:{id:"modules.OpenData.appButton.description",defaultMessage:"Integrate with our apps"},licence:{id:"modules.OpenData.licence",defaultMessage:"The data is published under the {licence}"}}),m=s.f.div.withConfig({displayName:"OpenData__OpenDataWrapper",componentId:"sc-1ib87c2-0"})(["max-width:50em;margin-left:auto;margin-right:auto;"]);i.a=function(e){var i=e.data,t=e.showGBFS,a=e.showTripHistory,s=e.showAppIntegration;if(!i.openData)return null;var r=i.openData;return Object(n.jsx)(l.l,{mt:6,children:Object(n.jsxs)(m,{children:[Object(n.jsx)(l.B,{textAlign:"center",mb:5,children:r.title}),r.description&&Object(n.jsx)(l.mb,{lead:!0,mb:5,textAlign:"center",children:Object(n.jsx)(d.a,{blocks:r.description})}),Object(n.jsxs)(l.t,{flexWrap:"wrap",mt:7,justifyContent:"center",children:[t&&Object(n.jsx)(l.e,{width:[1,1,.5,.5,1/3],pr:[0,0,4,4,4],pb:[4,4,4,4,0],children:Object(n.jsx)(l.V,{route:"open-data.realtime",passHref:!0,children:Object(n.jsx)(l.b,{children:Object(n.jsxs)(l.cb,{children:[Object(n.jsx)(l.z,{children:Object(n.jsx)(c.a,u({},p.realtime))}),Object(n.jsx)(l.mb,{children:Object(n.jsx)(c.a,u({},p.realtimeDescription))})]})})})}),a&&Object(n.jsx)(l.e,{width:[1,1,.5,.5,1/3],pr:[0,0,0,0,4],pb:[4,4,4,4,0],children:Object(n.jsx)(l.V,{route:"open-data.historical",passHref:!0,children:Object(n.jsx)(l.b,{children:Object(n.jsxs)(l.cb,{children:[Object(n.jsx)(l.z,{children:Object(n.jsx)(c.a,u({},p.historical))}),Object(n.jsx)(l.mb,{children:Object(n.jsx)(c.a,u({},p.historicalDescription))})]})})})}),s&&Object(n.jsx)(l.e,{width:[1,1,.5,.5,1/3],children:Object(n.jsx)(l.V,{route:"open-data.app",passHref:!0,children:Object(n.jsx)(l.b,{children:Object(n.jsxs)(l.cb,{children:[Object(n.jsx)(l.z,{children:Object(n.jsx)(c.a,u({},p.app))}),Object(n.jsx)(l.mb,{children:Object(n.jsx)(c.a,u({},p.appDescription))})]})})})})]}),r.licence&&r.licence.licence_title&&Object(n.jsx)(l.mb,{mt:6,children:r.licence.licence_url?Object(n.jsx)(c.a,u(u({},p.licence),{},{values:{licence:Object(n.jsx)(l.b,{href:r.licence.licence_url,children:r.licence.licence_title})}})):Object(n.jsx)(c.a,u(u({},p.licence),{},{values:{licence:r.licence.licence_title}}))}),r.showcases&&r.showcases.length>0&&Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)(l.z,{textAlign:"center",mb:5,mt:8,children:Object(n.jsx)(c.a,u({},p.showcase))}),r.showcaseDescription&&Object(n.jsx)(l.mb,{lead:!0,mb:5,children:Object(n.jsx)(d.a,{blocks:r.showcaseDescription})}),r.showcases.map((function(e){return e?Object(n.jsxs)(l.s,{heading:e.title||"",media:e.image&&e.image.url?Object(n.jsx)(l.P,{src:e.image.url}):null,children:[Object(n.jsx)(d.a,{blocks:e.description}),e.url&&Object(n.jsx)(l.b,{href:e.url,children:"Link to project"})]},e._key):null}))]})]})})}},"0LJ9":function(e,i,t){"use strict";t.r(i);var n=t("vJKn"),a=t.n(n),s=t("rg98"),r=t("nKUr"),c=t("lGJd"),l=t("0JZY"),d=t("hT9b"),o=t("n8X0"),u=t("+TN3"),p=function(e){var i=e.url,t=e.statusCode,n=e.showGBFS,a=e.showTripHistory,s=e.showAppIntegration,o=Object(u.f)(d.a),p=o.loading,m=o.data,b=m&&m.openData&&m.openData.title;return Object(r.jsx)(c.a,{statusCode:t,title:b,url:i,loading:p,contentProps:{py:0,mx:0,mb:0},render:function(){return m&&m.openData?Object(r.jsx)(l.a,{data:m,showGBFS:n,showTripHistory:a,showAppIntegration:s}):null}})};p.getInitialProps=function(){var e=Object(s.a)(a.a.mark((function e(i){var t,n,s,r,c,l,o,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.apolloClient.query({query:d.a});case 2:return n=e.sent,s=n.data,r=!1,c=!1,l=!1,s&&s.system&&(null!==(o=s.system).GBFS&&(r=o.GBFS),null!==o.publicTripHistory&&(c=o.publicTripHistory),l=Boolean(o.appDeepLinkingPrefix)),null!==(t=n.data)&&void 0!==t&&t.openData&&(r||c)||(u=404,i.res&&(i.res.statusCode=u)),e.abrupt("return",{openDataPageResult:n,statusCode:u,showGBFS:r,showTripHistory:c,showAppIntegration:l});case 10:case"end":return e.stop()}}),e)})));return function(i){return e.apply(this,arguments)}}(),i.default=Object(o.a)(p)},"4Hki":function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/open-data",function(){return t("0LJ9")}])},hT9b:function(e,i,t){"use strict";t.d(i,"a",(function(){return n}));var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"openDataQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"openData"},name:{kind:"Name",value:"sanityOpenData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"licence"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showcaseDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showcases"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"realtimeTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"realtimeDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"historicalTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"historicalDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"appIntegrationTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"appIntegrationDescription"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"system"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"GBFS"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicTripHistory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"openDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"appDeepLinkingPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicDomain"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:539,source:{body:"\n  query openDataQuery {\n    openData: sanityOpenData {\n      title\n      description\n      licence\n      showcaseDescription\n      showcases {\n        _key\n        title\n        description\n        image {\n          url\n        }\n        url\n      }\n      realtimeTitle\n      realtimeDescription\n      historicalTitle\n      historicalDescription\n      appIntegrationTitle\n      appIntegrationDescription\n    }\n    system {\n      id\n      GBFS\n      publicTripHistory\n      openDate\n      appDeepLinkingPrefix\n      publicDomain\n    }\n  }\n",name:"GraphQL request",locationOffset:{line:1,column:1}}}}}},[["4Hki",1,2,3,0,4,5,6,7]]]);
2//# sourceMappingURL=open-data-56b4af7a2a09e82d0dee.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.