1(this["webpackJsonpgeneve-en-ete-web"]=this["webpackJsonpgeneve-en-ete-web"]||[]).push([[0],{143:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH8AAAB+CAYAAAAN4c62AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEgAAAABAAAASAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAf6ADAAQAAAABAAAAfgAAAABUCrEGAAAACXBIWXMAAAsTAAALEwEAmpwYAAACaGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjM5NTwvZXhpZjpQaXhlbFhEaW1lbnNpb24+Ci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SCpRknbeG+pcmbgrP2SA5hG8HDHjjzTz3X53r+nzJOrvewI//RqTNOYkA6cvHWoi4DLqxyyhl+9OV7rg8TzaZ2MTGrjLOMbNQ6rII8WO5dGongTAhLHK7XdeaHGFweRP4kbhGwyEDid4Ty+QhMgPQomnlok1NhFdu32lIEEJbhUC5Y6IcnYaDmiYcskIu6lRXJHvoaK/JdWg/hsQyHKiGX494HR/9f6tuNDysIVjZOhRX5FGBchzoobdh7YACGKpTtgbKyhRoPpZ3oyA+ZvkXU0FVCrjSuvpq+zop8yqEM7KkhYgCw9l3GHsiwWUAXMZRJQm3L1Veo66xcPbhIO83jWZQCq3/h0xOpnw/gKUYgYgiYPD5+vk+Qp+jZQozR12Wk4FDlHlbkQ5AiACmCphPBpGhtqbLP+gZ44OrB4s/3ydXVY0e+zzFtS3Ad75hEZeMJkKHXrDAo2fRuHeOs0iY78iHMasf2qxBfhYym67IkHyBgf8YSGtK1o4CLXIGU395lSz6Iwh468PKBRoIjMCDx06x1PMZFmXSrcQ9r8i0g9iSPj5Vu67reoenYl0OHel39crgeBflZoGzGDBY1wsGUyJqtb5/Zw56O0O68cRUpLqKt323v0ZHfiQBMik72AZb0qqdyO/Ub8/ddQ37MJKzW2FmFd1cLBKn9KvlSmTdyK/lKvmAEBIuumq/kC0ZAsOiq+Uq+YAQEi66ar+QLRkCw6Kr5Sr5gBASLrpqv5AtGQLDoqvlKvmAEBIuumq/kC0ZAsOiq+Uq+YAQEi66ar+QLRkCw6Kr5Sr5gBASLrpqv5AtGQLDoqvlKvmAEBIuumq/kC0ZAsOiq+Uq+YAQEi66aL5j8fwF4NvgicaxzHQAAAABJRU5ErkJggg=="},144:function(e,t,a){e.exports=a.p+"static/media/appstore.2928664f.svg"},145:function(e,t,a){e.exports=a.p+"static/media/playstore.b89beec4.svg"},158:function(e,t,a){e.exports=a(271)},168:function(e,t,a){},169:function(e,t,a){},170:function(e,t,a){},259:function(e,t){},271:function(e,t,a){"use strict";a.r(t);
1var n=a(0),r=a.n(n),i=a(8),o=a.n(i),l=a(37),c=a(35),s=a(120),m=a(4),u=a.n(m),d="https://api.openagenda.com/v2/agendas/83618556",p="2020-07-01",g="2022-09-30",v="039c78ea2df44f4ca63b77b422734c5e",E=200,h="Gen\xe8ve en \xe9t\xe9",f=null,A="YYYY-MM-DD",y="HH:mm",b="dd D MMMM YYYY",w="MMMM";var N=u()(g),I=u()(p);function C(e){return u()(e).isSameOrAfter(N.format(A))?e:u()(e).add(1,"day").format(A)}function S(e){return u()(e).isSameOrBefore(I.format(A))?e:u()(e).subtract(1,"day").format(A)}function D(){if(null!==f)return u()(f).format(A);var e=u()();return e.isBefore(I)?I.format(A):e.isAfter(N)?N.format(A):e.format(A)}function k(e){return function(e){return u()().format("YYYY-MM-DD")===e}(e)||!e?u()().toISOString():u()(e).toISOString()}var O={viewingDate:D()},P=Object(c.combineReducers)({date:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CHANGE_DATE":case"RESET_DATE":case"PREVIOUS_DATE":case"NEXT_DATE":return Object.assign({},e,{viewingDate:t.payload.date});default:return e}},langauge:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fr",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CHANGE_LANGUAGE_FR":case"CHANGE_LANGUAGE_EN":return t.payload.language_code;default:return e}}});var x=function(e){var t=[c.applyMiddleware.apply(void 0,[])],a=s.composeWithDevTools.apply(void 0,t);return Object(c.createStore)(P,e,a)}(),T=(a(168),a(169),a(27)),L=a(40),G=a(7),Y=a(278),R=a(276),j=a(57),B=a(282),M=a(3),_=a.n(M),F=(a(170),a(48)),U=a.n(F),W=a(68),q=a(279),Z=a(287),z=Y.a.Content;function J(e){var t=e.children,a=e.sidebar;return r.a.createElement(z,null,r.a.createElement(q.a,null,r.a.createElement(Z.a,{md:24,lg:16},t),r.a.createElement(Z.a,{push:"1",md:23,lg:7},r.a.createElement("div",{className:"hide-on-small-screens sidebar"},a))))}var H=a(283),V=a(281),X=(a(216),a(217),a(284));function K(){var e=document.getElementById("bg-container");"bg-combination-1"===e.className?e.className="bg-combination-2":e.className="bg-combination-1"}function Q(e){var t=e.handleChangeNextDate,a=e.handleChangePreviousDate,n=e.handleChangeResetDate,i=e.viewingDate,o=e.dateFormat,l=Object(X.a)().i18n;u.a.locale(l.language);var c=Object(G.useHistory)(),s=Object(G.useLocation)();return r.a.createElement(q.a,{className:"__DATE_NAVIGATION__"},r.a.createElement(Z.a,{span:"24"},r.a.createElement(q.a,{justify:"center",align:"middle"},r.a.createElement(Z.a,{flex:0},r.a.createElement(R.a,{onClick:function(){a(i),s.pathname.includes("events")&&c.push("/"),K()},type:"link",icon:r.a.createElement(H.a,{style:{fontSize:20,color:"#3867ab"}})})),r.a.createElement(Z.a,{flex:2},r.a.createElement("p",{className:"currentDate"},n&&r.a.createElement(R.a,{type:"text",onClick:function(){n(),s.pathname.includes("events")&&c.push("/"),K()}}
1,u()(i).format(o)),!n&&u()(i).format(o))),r.a.createElement(Z.a,{flex:0},r.a.createElement(R.a,{onClick:function(){t(i),s.pathname.includes("events")&&c.push("/"),K()},type:"link",icon:r.a.createElement(V.a,{style:{fontSize:20,color:"#3867ab"}})})))))}var $=Object(l.b)((function(e){return{viewingDate:e.date.viewingDate}}),(function(e){return{handleChangeNextDate:function(t){return e(function(e){return{type:"NEXT_DATE",payload:{date:C(e)}}}(t))},handleChangePreviousDate:function(t){return e(function(e){return{type:"PREVIOUS_DATE",payload:{date:S(e)}}}(t))},handleChangeResetDate:function(t){return e({type:"RESET_DATE",payload:{date:D()}})}}}))(Q),ee=a(275),te=a(286);function ae(e){var t=e.loading,a=e.children;return t?r.a.createElement("div",{className:"__LOADING__"},r.a.createElement(q.a,{justify:"center",align:"bottom"},r.a.createElement(Z.a,{span:"24"},r.a.createElement(ee.a,{indicator:r.a.createElement(te.a,{style:{margin:"50px 0",color:"#ec6173",fontSize:50},spin:!0})})))):a}var ne=a(131),re=a(130),ie=a.n(re);var oe=function(e,t){var a=e;if("object"===typeof e)try{void 0===(a=e[t])&&(a=e.fr)}catch(n){a=e}return a};function le(e){var t=e.href,a=e.text,n=t;try{/^https?:\/\//i.test(n)||(n="//"+n)}catch(i){}return r.a.createElement(Z.a,{xs:24,lg:24},r.a.createElement("a",{className:"ant-btn event-social-button ant-btn-primary",target:"_blank",rel:"noopener noreferrer",href:n},a))}function ce(e){var t=e.eventId,a=e.viewingDate,n=e.children,i=e.link,o={pathname:"/events/".concat(t),state:{date:a,eventId:t}};return i?r.a.createElement(ne.Link,{className:"event-link",to:o},n):n}function se(e){var t=e.viewingDate,a=e.event,n=e.detail,i=Object(X.a)(),o=i.t,l=i.i18n,c=_()({"event-image":!n,"event-image-detail":n}),s="";try{var m=a.image.base,d=a.image.filename;s="".concat(m).concat(d)}catch(p){}return r.a.createElement(ce,{eventId:a.uid,viewingDate:t,link:!n},r.a.createElement("div",{className:"event-card"},r.a.createElement("div",{className:c},r.a.createElement(ie.a,{height:200,once:!0,offset:100},r.a.createElement("img",{src:s,alt:oe(a.title,l.language)}))),r.a.createElement("div",{className:"event-content"},r.a.createElement(q.a,null,r.a.createElement(Z.a,{xs:18,lg:20},r.a.createElement("h1",null,oe(a.title,l.language)),a.other_place&&r.a.createElement("h3",null,oe(a.other_place,l.language)),!a.other_place&&a.location.name&&r.a.createElement("h3",null,oe(a.location.name,l.language))),r.a.createElement(Z.a,{xs:6,lg:4},r.a.createElement("div",{className:"event-date"},u()(a.nextTiming.begin).format(y)))),n&&r.a.createElement("div",{className:"event-detail"},r.a.createElement(q.a,null,r.a.createElement(Z.a,{xs:24,lg:24},r.a.createElement("div",{className:"event-description-container"},r.a.createElement("p",{className:"event-description"},oe(a["resume-geneve-en-ete"]||a.description,l.language)),a.conditions&&a.conditions.fr&&r.a.createElement("div",{className:"content-metadata"},r.a.createElement("h4",{className:"sub-section"},o("events.price")),r.a.createElement("p",null,oe(a.conditions,l.language))),a.organisator_url&&r.a.createElement(le,{href:a.organisator_url,text:o("events.website")}))))))))}var me=a(132),ue=a(133),de=a(149),pe=a(146),ge=a(45),ve=a.n(ge);function Ee(){var e=Object(X.a)().i18n;return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"day name"},"fr"===e.language?"L":"M"),r.a.createElement("div",{className:"day name"},"fr"===e.language?"M":"T"),r.a.createElement("div",{className:"day name"},"fr"===e.language?"M":"W"),r.a.createElement("div",{className:"day name"},"fr"===e.language?"J":"T"),r.a.createElement("div",{className:"day name"},"fr"===e.language?"V":"F"),r.a.createElement("div",{className:"day name"},(e.language,"S")),r.a.createElement("div",{className:"day name"},"fr"===e.language?"D":"S"))}var he=function(e){Object(de.a)(a,e);var t=Object(pe.a)(a);function a(e){var n;return Object(me.a)(this,a),(n=t.call(this,e)).state={viewingDate:e.viewingDate},n}return Object(ue.a)(a,[{key:"setDate",value:function(e){this.setState({viewingDate:e})}},{key:"formatDateForChange",value:function(e){try{parseInt(e)<10&&(e="0".concat(e))}catch(r){}var t=this.state.viewingDate,a=u()(t).format("MM"),n=u()(t).format("YYYY");return u()("".concat(n,"-").concat(a,"-").concat(e)).format(A)}},{key:"renderEmptyDay",value:function(e){return r.a.createElement("div",{key:e,className:"day day-empty"})}},{key:"handleDate",value:function(e){var t=this.props,a=t.handleChangeDate,n=t.location,r=t.history;a(e),n.pathname.includes("events")&&r.push("/")}},{key:"renderDay",value:function(e){var t=this,a=this.props.viewingDate,n=this.formatDateForChange(e),i=a===n,o=_()("day",{"day-disabled":a===n});return r.a.createElement("div",{key:"".concat(n),className:o},r.a.createElement(R.a,{disabled:i,type:"text",onClick:function(){return t.handleDate(n)}},e))}},{key:"render",value:function(){var e=this,t=this.state.viewingDate,n=this.props.sidebar,i=a.getStartOfTheMonth(t).isoWeekday(),o=a.getEndOfTheMonth(t).date(),l=_()("__CALENDAR__",{sidebar:n});return r.a.createElement("div",{className:l},r.a.createElement("div",{className:"calendar-wrapper"}
1,r.a.createElement("div",{className:"calendar-navigation"},r.a.createElement(Q,{viewingDate:t,handleChangeNextDate:function(){return e.setDate((a=t,u()(a).isSameOrAfter(N.format(A),"month")?a:u()(a).add(1,"month").format(A)));var a},handleChangePreviousDate:function(){return e.setDate((a=t,u()(a).isSameOrBefore(I.format(A),"month")?a:u()(a).subtract(1,"month").format(A)));var a},dateFormat:w})),r.a.createElement("div",{className:"month"},r.a.createElement("div",{className:"week"},r.a.createElement(Ee,null)),r.a.createElement("div",{className:"week"},ve()(1,8).map((function(t){return t<i?e.renderEmptyDay(t-i+1):e.renderDay(t-i+1)}))),r.a.createElement("div",{className:"week"},ve()(8,15).map((function(t){return e.renderDay(t-i+1)}))),r.a.createElement("div",{className:"week"},ve()(15,22).map((function(t){return e.renderDay(t-i+1)}))),r.a.createElement("div",{className:"week"},ve()(22,29).map((function(t){return e.renderDay(t-i+1)}))),r.a.createElement("div",{className:"week"},ve()(29,36).map((function(t){return t-i+1>o?e.renderEmptyDay(t-i+1):e.renderDay(t-i+1)}))),r.a.createElement("div",{className:"week"},ve()(36,43).map((function(t){return t-i+1>o?e.renderEmptyDay(t-i+1):e.renderDay(t-i+1)}))))))}}],[{key:"getStartOfTheMonth",value:function(e){return u()(e).startOf("month")}},{key:"getEndOfTheMonth",value:function(e){return u()(e).endOf("month")}}]),a}(n.Component),fe=Object(G.withRouter)(he),Ae=Object(l.b)((function(e){return{viewingDate:e.date.viewingDate}}),(function(e){return{handleChangeDate:function(t){return e(function(e){return{type:"CHANGE_DATE",payload:{date:e}}}(t))}}}))(fe),ye=a(56),be=a(134),we=a.n(be),Ne=a(135),Ie=a.n(Ne),Ce=we.a.create({timeout:6e4,baseURL:d,paramsSerializer:function(e){return Ie.a.stringify(e,{arrayFormat:"brackets"})},params:{key:v}});Ce.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)}));var Se=Ce;var De=Object(l.b)((function(e){return{viewingDate:e.date.viewingDate}}),null)((function(e){var t=e.viewingDate,a=Object(n.useState)([]),i=Object(T.a)(a,2),o=i[0],l=i[1],c=Object(ye.useInfiniteQuery)(["events",{viewingDate:t}],function(){var e=Object(W.a)(U.a.mark((function e(a){var n,r,i;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.pageParam,r=void 0===n?1:n,e.next=3,Se.get("/events",{params:{key:v,"type-devenement":[[40,47,86,35,48,45,43,38,61]],"thematiques-interne":[71],"publics-cibles":[[30]],timings:{gte:u()(t).toISOString(),lte:k((o=t,u()(o).add(1,"days").format("YYYY-MM-DD")))},detailed:1,sort:"timings.asc",from:(r-1)*E,size:E,relative:["current","upcoming"]}});case 3:return i=e.sent,l(i.data.events),e.abrupt("return",i.data);case 6:case"end":return e.stop()}var o}),e)})));return function(t){return e.apply(this,arguments)}}(),{getNextPageParam:function(e,t){var a=t.length+1;if(e.total>a*E)return a}}).isLoading;return Object(n.useEffect)((function(){document.title="".concat(h)})),r.a.createElement(J,{sidebar:r.a.createElement(Ae,null)},r.a.createElement("div",{className:"__EVENTS__"},r.a.createElement("div",{className:"events-navigation"},r.a.createElement($,{dateFormat:b})),r.a.createElement(q.a,null,r.a.createElement(Z.a,{span:"24"},r.a.createElement(ae,{loading:c},r.a.createElement(q.a,{gutter:{xs:0,md:0,xl:16,lg:16}},o.map((function(e){return r.a.createElement(Z.a,{key:"col-".concat(e.uid),md:24,xs:24,lg:23,xl:12},r.a.createElement(se,{viewingDate:t,key:e.uid,event:e}))}))))))))})),ke=a(277);function Oe(){var e=Object(G.useParams)().eventId,t=Object(n.useState)({}),a=Object(T.a)(t,2),i=a[0],o=a[1],l=Object(n.useState)(!0),c=Object(T.a)(l,2),s=c[0],m=c[1],u=Object(X.a)(),d=u.t,p=u.i18n;return Object(n.useEffect)((function(){function t(){return(t=Object(W.a)(U.a.mark((function t(){var a;return U.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Se.get("/events",{params:{key:v,uid:[e],detailed:1}});case 3:a=t.sent,o(a.data.events[0]),m(!1),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),m(!1),ke.a.error({message:d("messages.error")});case 12:case"end":return t.stop()}}),t,null,[[0,8]])})))).apply(this,arguments)}m(!0),function(){t.apply(this,arguments)}(),j.a.pageview(window.location.pathname+window.location.search)}),[e,p.language,d]),Object(n.useEffect)((function(){i.title&&(document.title="".concat(oe(i.title,p.language)," - ").concat(h))}),[i.title,p.language]),r.a.createElement(J,{sidebar:r.a.createElement(Ae,null)},r.a.createElement("div",{className:"__EVENTS__"},r.a.createElement("div",{className:"events-navigation"},r.a.createElement($,{dateFormat:b})),r.a.createElement("div",{className:"__EVENT__"},r.a.createElement(ae,{loading:s},r.a.createElement(q.a,{gutter:{xs:0,md:16,xl:16,lg:16}},r.a.createElement(Z.a,{span:"24"}
1,r.a.createElement(se,{detail:!0,event:i})))))))}var Pe=a(280),xe=a(285),Te=a(143),Le=a.n(Te),Ge=a(144),Ye=a.n(Ge),Re=a(145),je=a.n(Re);function Be(){return r.a.createElement("a",{className:"app-store",href:"https://apps.apple.com/ch/app/gen-c3-a8ve-en-c3-a9t-c3-a9/id1387220355",title:"Download ".concat(h,"!")},r.a.createElement("img",{src:Ye.a,alt:"Download ".concat(h)}))}function Me(){return r.a.createElement("a",{className:"google-play-store",href:"https://play.google.com/store/apps/details?id=app.geneveenete.ch",title:"Download ".concat(h,"!")},r.a.createElement("img",{src:je.a,alt:"Download ".concat(h)}))}function _e(){return r.a.createElement("div",{className:"__CREDITS__"},r.a.createElement(q.a,null,r.a.createElement(Z.a,{className:"credits",span:24},r.a.createElement(q.a,null,r.a.createElement(Z.a,{span:24},r.a.createElement("div",{className:"pfl-association"},r.a.createElement("h4",null,"Service Culturel, Ville de Gen\xe8ve")))),r.a.createElement(q.a,null,r.a.createElement(Z.a,{span:24},r.a.createElement("div",{className:"credit-section"},r.a.createElement("h4",null,"Identit\xe9"),r.a.createElement("p",null,r.a.createElement("a",{rel:"noopener noreferrer",href:"https://www.basedesign.com/geneva",target:"_blank",title:"BASE Design"},"BASE Design")))),r.a.createElement(Z.a,{span:24},r.a.createElement("div",{className:"credit-section credit-section-with-height"},r.a.createElement("h4",null,"D\xe9veloppement"),r.a.createElement("p",null,r.a.createElement("a",{rel:"noopener noreferrer",href:"https://www.agencegardeners.com",target:"_blank",title:"agencegardeners"},"GARDENERS")," "," / "," ",r.a.createElement("a",{rel:"noopener noreferrer",href:"https://giogos.ch",target:"_blank",title:"GIOGOS"},"GIOGOS"))))))))}function Fe(e){var t=e.className;return r.a.createElement("div",{className:"__LOGO__"},r.a.createElement(L.b,{to:"/"},r.a.createElement("img",{className:t,src:Le.a,alt:"Home"})))}function Ue(e){var t=e.activeLanguage,a=e.changeLanguage;return r.a.createElement("div",{className:"__MOBILE_HAMBERGER__"},r.a.createElement(q.a,null,r.a.createElement(Z.a,{span:24},r.a.createElement("div",{className:"download-app-text"},r.a.createElement("p",null,"T\xe9l\xe9charger l'application"),r.a.createElement("p",null,"Download the app"))),r.a.createElement(Z.a,{span:24},r.a.createElement(q.a,null,r.a.createElement(Z.a,{span:18},r.a.createElement("div",null,r.a.createElement(Be,null)),r.a.createElement("div",null,r.a.createElement(Me,null))),r.a.createElement(Z.a,{span:6},r.a.createElement("div",{className:"language-section"},r.a.createElement(R.a,{disabled:"fr"===t,onClick:function(){return a("fr")}},"FR"),r.a.createElement(R.a,{disabled:"en"===t,onClick:function(){return a("en")}},"EN"))))),r.a.createElement(Z.a,{span:24},r.a.createElement(_e,null))))}function We(){return r.a.createElement("div",{className:"__MOBILE_CALENDAR__"},r.a.createElement(Ae,null))}function qe(){var e=Object(X.a)().i18n,t=Object(n.useState)(!1),a=Object(T.a)(t,2),i=a[0],o=a[1],l=Object(n.useState)(!1),c=Object(T.a)(l,2),s=c[0],m=c[1],u=function(t){e.changeLanguage(t)};return r.a.createElement("div",{className:"__HEADER__ "},r.a.createElement("div",{className:"hide-on-small-screens menu-desktop-wrapper"},r.a.createElement("div",{className:"menu-desktop"},r.a.createElement(q.a,{justify:"start",align:"start"},r.a.createElement(Z.a,null,r.a.createElement("div",{className:"logo"},r.a.createElement(Fe,{className:"logo"}))),r.a.createElement(Z.a,{className:"logoText"},r.a.createElement(L.b,{to:"/"},h)),r.a.createElement(Z.a,{flex:5},r.a.createElement(q.a,{className:"download-app",align:"middle",justify:"center"},r.a.createElement(Z.a,null,r.a.createElement("p",null,"T\xe9l\xe9charger l'application"),r.a.createElement("p",null,"Download the app")),r.a.createElement(Z.a,null,r.a.createElement(Be,null),r.a.
1createElement(Me,null)))),r.a.createElement(Z.a,{flex:3},r.a.createElement("div",{className:"change-language"},r.a.createElement("button",{className:"fr"===e.language?"active-language":null,onClick:function(){return u("fr")}},"fr"),r.a.createElement("button",{className:"en"===e.language?"active-language":null,onClick:function(){return u("en")}},"en")))))),r.a.createElement("div",{className:"show-on-small-screens"},r.a.createElement(q.a,{justify:"start",align:"start"},r.a.createElement(Z.a,{flex:1},r.a.createElement("div",{className:"logo"},r.a.createElement(Fe,{className:"logo-mobile"}))),r.a.createElement(q.a,{justify:"end",align:"middle"},r.a.createElement(Z.a,{flex:0},r.a.createElement(R.a,{onClick:function(){m(!s),o(!1)},style:{width:64,height:64,borderRadius:0,backgroundColor:"#ec6173",border:0},size:"large",type:"primary",icon:s?r.a.createElement(B.a,{style:{fontSize:24,color:"#fff"}}):r.a.createElement(Pe.a,{style:{fontSize:24,color:"#fff"}})})),r.a.createElement(Z.a,{flex:0},r.a.createElement(R.a,{onClick:function(){o(!i),m(!1)},style:{width:64,borderRadius:0,height:64,backgroundColor:"#000",border:0},size:"large",type:"primary",icon:i?r.a.createElement(B.a,{style:{fontSize:24,color:"#fff"}}):r.a.createElement(xe.a,{style:{fontSize:24,color:"#fff"}})})))),i&&r.a.createElement(Ue,{activeLanguage:e.language,changeLanguage:u}),s&&r.a.createElement(We,null)))}var Ze=function(){return Object(n.useEffect)((function(){document.title="Privacy Policy - ".concat(h)})),r.a.createElement("div",{className:"page"},r.a.createElement("strong",null,"Privacy Policy")," ",r.a.createElement("p",null,"Association PFL! built the Gen\xe8ve en \xe9t\xe9 app as a Free app. This SERVICE is provided by Association PFL! at no cost and is intended for use as is.")," ",r.a.createElement("p",null,"This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.")," ",r.a.createElement("p",null,"If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.")," ",r.a.createElement("p",null,"The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Gen\xe8ve en \xe9t\xe9 unless otherwise defined in this Privacy Policy.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Information Collection and Use"))," ",r.a.createElement("p",null,"For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to anonymous usage statistics. The information that we request will be retained by us and used as described in this privacy policy.")," ",r.a.createElement("div",null,r.a.createElement("p",null,"The app does use third party services that may collect information used to identify you.")," ",r.a.createElement("p",null,"Link to privacy policy of third party service providers used by the app")," ",r.a.createElement("ul",null,r.a.createElement("li",null,r.a.createElement("a",{href:"https://www.google.com/policies/privacy/",target:"_blank",rel:"noopener noreferrer"},"Google Play Services")),r.a.createElement("li",null,r.a.createElement("a",{href:"https://firebase.google.com/policies/analytics",target:"_blank",rel:"noopener noreferrer"},"Google Analytics for Firebase")),r.a.createElement("li",null,r.a.createElement("a",{href:"https://firebase.google.com/support/privacy/",target:"_blank",rel:"noopener noreferrer"},"Firebase Crashlytics"))))," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Log Data"))," ",r.a.createElement("p",null,"We want to inform you that whenever you use our Service, in a case of an error in the app we collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (\u201cIP\u201d) address, device name, operating system version, the configuration of the app when utilizing our Service, the time and date of your use of the Service, and other statistics.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Cookies"))," ",r.a.createElement("p",null,"Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.")," ",r.a.createElement("p",null,"This Service does not use these \u201ccookies\u201d explicitly. However, the app may use third party code and libraries that use \u201ccookies\u201d to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may
1not be able to use some portions of this Service.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Service Providers"))," ",r.a.createElement("p",null,"We may employ third-party companies and individuals due to the following reasons:")," ",r.a.createElement("ul",null,r.a.createElement("li",null,"To facilitate our Service;")," ",r.a.createElement("li",null,"To provide the Service on our behalf;")," ",r.a.createElement("li",null,"To perform Service-related services; or")," ",r.a.createElement("li",null,"To assist us in analyzing how our Service is used."))," ",r.a.createElement("p",null,"We want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Security"))," ",r.a.createElement("p",null,"We value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Links to Other Sites"))," ",r.a.createElement("p",null,"This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by us. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Children\u2019s Privacy"))," ",r.a.createElement("p",null,"These Services do not address anyone under the age of 13. We do not knowingly collect personally identifiable information from children under 13. In the case we discover that a child under 13 has provided us with personal information, we immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so that we will be able to do necessary actions.")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Changes to This Privacy Policy"))," ",r.a.createElement("p",null,"We may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page.")," ",r.a.createElement("p",null,"This policy is effective as of 2020-06-14")," ",r.a.createElement("p",null,r.a.createElement("strong",null,"Contact Us"))," ",r.a.createElement("p",null,"If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at [email protected]."))};function ze(){var e=Object(n.useState)(!1),t=Object(T.a)(e,2),a=t[0],i=t[1],o=_()("footer-link",{"footer-link-full":a});return r.a.createElement("div",{id:"bg-container",className:"bg-combination-1"},r.a.createElement(L.a,null,r.a.createElement(qe,null),r.a.createElement("div",{className:"mainContainer"},r.a.createElement(Y.a,{className:"main-container-layout"},r.a.createElement(Y.a,null,r.a.createElement(G.Switch,null,r.a.createElement(G.Route,{path:"/events/:eventId"},r.a.createElement(Oe,null)),r.a.createElement(G.Route,{path:"/privacy-policy"},r.a.createElement(Ze,null)),r.a.createElement(G.Route,{path:"/"},r.a.createElement(De,null))))),r.a.createElement("div",{className:"hide-on-small-screens"},r.a.createElement("div",{className:"footer"},r.a.createElement("div",{className:"footer-wrapper"},r.a.createElement("div",{className:"footer-content"},a&&r.a.createElement(_e,null)),r.a.createElement("div",{className:o},r.a.createElement(R.a,{icon:a?r.a.createElement(B.a,null):null,onClick:function(){return i(!a)}},a?null:"\xe0 propos"))))))))}j.a.initialize("UA-143832571-2",{debug:!1}),j.a.pageview(window.location.pathname+window.location.search);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var Je=a(89),He=a(58);Je.a.use(He.e).init({compatibilityJSON:"v3",fallbackLng:"fr",debug:!1,lng:"fr",resources:{en:{translation:{signIn:"Sign In",logOut:"Log Out",loginLogoutExampleTitle:"Login/Logout Redux + Sagas Example",progressiveImageComponent:"Progressive Image Component",api:"API",locale:"I18n Locale",rnVectorIcons:"RN Vector Icons",loginWithFacebook:"Login with Facebook",rni18n:"RN i18n",igniteGenerated:"Ignite Generate Screens",forgotPassword:"Forgot Password",username:"Username",password:"Password",cancel:"Cancel",welcome:"Welcome",login:"Login",tempIndicator:"F",componentExamples:"Component Examples",usageExamples:"Usage Examples",apiTesting:"API Testing",themeSettings:"Theme Settings",deviceDetails:"Device Details",noItems:"No Items",search:"Search",location:{PERMISSION_DENIED:"Activate your location services.",POSITION_UNAVAILABLE:"Your position is unavailable.",TIMEOUT:"Your position is unavailable.",no_results:"No events within 1km around me."},generic:{howtogo:"How to get there?",empty:"No results.",loadmore:"Load more",loading:"Loading ..."},settings:{title:"Informations",headerLang:"Select Language",participation:"In partnership with",supp
1ort:"With the support of",dev:"Developement",design:"Graphic design ",identity:"Visual identity",pfl:"brought to you by PFL!",database:"Database"},events:{title:"Events",facebook_event:"Facebook Event",vostok:"Radio Vostok",readUp:"Read up",listenUp:"Listen up",ticket_website:"Tickets",website:"Website",price:"Price",organizer:"Organizer",other_place:"Other Place"},tpg:{toDestination:"Destination is",stops:"Stops",nostops:"No stops around",description:"Description tpg"},taxiphone:{description:"Since 1959, Taxiphone SA central has become a major actor in passengers transportation in Geneva. Over the years, this taxi dispatching compagny has always used the best available technical tools to fulfill the increasing demand of Geneva customers."},places:{upcomingEvents:"UPCOMING EVENTS",website:"Website",phone:"Telephone",map:"Map"},categories:{title:"Categories",places:"Venues",nearme:"Near me",atelier_et_visite:"Workshop & Visits",expos:"Exhibition",spectacles:"Spectacles",clubbing:"Clubbing",cinema:"Cinema",child:"Child-friendly",outdoor:"Outdoor",festival:"Festival",lecture:"Reading",concert:"Concert"},favorites:{title:"Favorites",empty:"...and what's your summer going to look like?"}}},fr:{translation:{signIn:"Se connecter",logOut:"Se d\xe9connecter",loginLogoutExampleTitle:"Connexion / D\xe9connexion Redux + Sagas Exemple",progressiveImageComponent:"Composant Image Progressive",api:"Mon Dieu! Une API pour vous!",locale:"I18n Param\xe8tres r\xe9gionaux",rnVectorIcons:"RN ic\xf4nes vectorielles",loginWithFacebook:"Se connecter avec Facebook",rni18n:"RN i18n",igniteGenerated:"Ignite G\xe9n\xe9rer des \xc9crans",forgotPassword:"Mot de passe oubli\xe9",username:"Nom d'utilisateur",password:"Mot de passe",cancel:"Annuler",welcome:"Bienvenue",login:"S'identifier",tempIndicator:"C",componentExamples:"Exemples de Composants",usageExamples:"Exemples d'utilisation",apiTesting:"API Testing",themeSettings:"R\xe9glage des th\xe8mes",deviceDetails:"D\xe9tails du p\xe9riph\xe9rique",noItems:"Aucun",generic:{howtogo:"Comment s'y rendre?",empty:"Pas de r\xe9sultat.",loadmore:"Load more",loading:"Chargement ..."},location:{PERMISSION_DENIED:"Activer vos services de localisation.",POSITION_UNAVAILABLE:"Votre position est indisponible.",TIMEOUT:"Votre position est indisponible.",no_results:"Pas d\u2019\xe9v\xe9nement \xe0 moins d\u20191km autour de moi."},settings:{title:"Informations",headerLang:"Choisir la langue",participation:"En partenariat avec",support:"Avec le soutien de",dev:"D\xe9veloppement",design:"Graphisme",identity:"Identit\xe9",pfl:"Un projet de l'association PFL!",database:"Database"},tpg:{toDestination:"\xc0 destination de",stops:"Arr\xeats",nostops:"No stops around",description:"Description tpg"},places:{upcomingEvents:"PROCHAINS \xc9V\xc9NEMENTS",website:"Site Internet",phone:"T\xe9l\xe9phone",map:"Carte"},categories:{title:"Cat\xe9gories",places:"Lieux",nearme:"Autour de moi",atelier_et_visite:"Ateliers et Visites",expos:"Expos",spectacles:"Spectacles",clubbing:"Clubbing",cinema:"Cin\xe9ma",child:"Enfants",outdoor:"En plein air",festival:"Festival",lecture:"Lecture",concert:"Concert"},favorites:{title:"Favoris",empty:"...et vous, qu'allez-vous faire cet \xe9t\xe9?"},events:{title:"Agenda",facebook_event:"\xc9v\xe9nement Facebook",vostok:"L'avis de Vostok",readUp:"\xc0 lire",listenUp:"\xc0 \xe9couter / \xc0 voir",ticket_website:"Billetterie",website:"Site Internet",price:"Prix",organizer:"Organisateur",other_place:"Autre lieu"},taxiphone:{description:"Taxiphone, 650 taxis, 25 t\xe9l\xe9phonistes (Bilingues) qui se relaient sans rel\xe2che, 7/7 24H/24, un service technique s\u2019occupant de la maintenance des appareils embarqu\xe9s, une administration toujours pr\xe9sente."}}}}});Je.a;var Ve=new ye.QueryClient({defaultOptions:{queries:{retry:1,cacheTime:12e5,retryDelay:function(e){return Math.min(1e3*Math.pow(6,e),3e4)}}}});o.a.render(r.a.createElement(l.a,{store:x},r.a.createElement(ye.QueryClientProvider,{client:Ve},r.a.createElement(ze,null))),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[158,1,2]]]); 2//# sourceMappingURL=main.19bc79d4.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.