PageSourceSearch

https://gdch.app/_next/static/chunks/pages/event/[...params]-3a93a309d821d990.js

js gdch.app collected 2026-09-24 19:11:48 UTC 34,498 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6113],{24033:function(e,t,n){var i=n(13927),a=n(58919);e.exports=function(e,t){1==arguments.length&&(t=e,e={}),t=i(t),function(e,t){a(t).each(function(t,n){void 0===e[t]&&(e[t]=n)})}(e,{timeout:5e3,maximumAge:6e4,enableHighAccuracy:!0}),navigator.geolocation.getCurrentPosition(function(e){t(null,a(e.coords).clone().set("timestamp",e.timestamp).get())},t,e)}},13927:function(e){function t(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}e.exports=t,t.proto=t(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return t(this)},configurable:!0})})},56355:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[...params]",function(){return n(69657)}])},6122:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(85893);function a(e){let{prompt:t}=e,n=new URLSearchParams;return n.append("prompt",t),(0,i.jsx)("div",{className:"adp-sticky-bar__icon-container",children:(0,i.jsx)("a",{href:"https://librechat.gdch.app/c/new?".concat(n.toString()),target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)("i",{className:"far fa-brain"})})})}},45004:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(85893);function a(e){let{isEvent:t,contentUrls:n,id:a}=e;return(0,i.jsx)("div",{className:"adp-sticky-bar__icon-container",children:(0,i.jsx)("a",{href:t?"".concat(n[0]).concat(a):"".concat(n[1]).concat(a),target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)("i",{className:"far fa-edit"})})})}},52143:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(85893),a=n(67294),o=n(11163),l=n(93967),s=n.n(l),r=n(21817),c=n(93162);function d(e){let t,n;let{isCalendars:l,id:d,baseClass:u,eventType:p,title:h,description:m,startDate:v,endDate:f,locationTitle:g,locationAddress:x,talkLecturer:j,talkLecturerAffiliation:y,toggleFontSize:b,toggleShare:N,toggleBookmark:w,children:k}=e,_=(0,a.createRef)(),D=(0,o.useRouter)();("string"==typeof v||v instanceof Date)&&(t=new Date(v)),("string"==typeof f||f instanceof Date)&&(n=new Date(f));let L=(0,a.useMemo)(()=>({title:"talk"===p?"".concat(j||"").concat(y?" "+y+": ":"").concat(h):"".concat(h),location:x||g,description:m,start:new Date(t),end:new Date(n)}),[m,f,x,g,v,h]),[S,C]=(0,a.useState)(""),[T,E]=(0,a.useState)(""),[A,Z]=(0,a.useState)("");(0,a.useEffect)(()=>{C(new r.Pn(L).render()),E(new r.eg(L).render()),Z(new r.Gj(L).render())},[L]);let I=e=>{if(window.isRNWebView){_.current&&_.current.blur();let e={eventCalendar:!0,title:h,notes:m,startDate:v,endDate:f,location:x||g,url:"".concat("https://gdch.app").concat(D.asPath)};window.ReactNativeWebView.postMessage(JSON.stringify(e))}else{let e=new Blob([new r.J5(L).render()],{type:"text/calendar"});c.saveAs(e,D.query.params[0])}};if(l)return(0,i.jsx)("div",{className:"event-detail-calendar-options",children:[{type:"ical",title:"Download ICS",fa:"fab fa-apple calendars first",href:""},{type:"google",title:"Google Calendar",fa:"fab fa-google calendars",href:T},{type:"outlook",title:"Outlook Calendar",fa:"fab fa-windows calendars",href:A},{type:"yahoo",title:"Yahoo Calendar",fa:"fab fa-yahoo calendars last",href:S}].map((e,t)=>"ical"===e.type?(0,i.jsx)("div",{children:(0,i.jsx)("button",{onClick:e=>I(e),title:"".concat(e.title),children:(0,i.jsx)("i",{className:"".concat(e.fa)})})},t):(0,i.jsx)("div",{children:(0,i.jsx)("a",{href:"".concat(e.href),target:"_blank",rel:"noopener noreferrer",title:"".concat(e.title),children:(0,i.jsx)("i",{className:"".concat(e.fa)})})},t))});let O=s()(u,{"has-font-popup":b,"has-share-popup":N,"has-bookmark":w});return(0,i.jsx)("div",{id:"".concat(d),className:O,children:(0,i.jsx)("div",{className:"adp-sticky-bar__icons",children:k})})}},95666:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(85893),a=n(2962),o=n(9008),l=n.n(o),s=n(36573);function r(e){let{title:t,author:n}=e,{darkModeActive:a}=(0,s.vs)(),o=()=>{if(window)return localStorage.getItem("userMode")};return(0,i.jsxs)(l(),{children:[(0,i.jsx)("meta",{name:"application-name",content:"GDCh.app"}),(0,i.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,i.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),(0,i.jsx)("meta",{name:"apple-mobile-web-app-title",content:"GDCh.app"}),(0,i.jsx)("meta",{name:"description",content:"GDCh.app"}),(0,i.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,i.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),(0,i.jsx)("meta",{name:"msapplication-config",content:"/browserconfig.xml"}),(0,i.jsx)("meta",{name:"msapplication-TileColor",content:"#2B5797"}),(0,i.jsx)("meta",{name:"msapplication-tap-highlight",content:"no"}),(0,i.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,i.jsx)("link",{rel:"apple-touch-icon",href:"/touch-icon-iphone.png"}),"light"===o()&&(0,i.jsx)("meta",{name:"color-scheme",content:"light"}),"light"!==o()&&(0,i.jsx)("meta",{name:"color-scheme",content:"dark light"}),"auto"===o()&&a&&(0,i.jsx)("meta",{name:"color-scheme",content:"dark light"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,i.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,i.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,i.jsx)("meta",{name:"author",content:n}),(0,i.jsx)("title",{children:t})]})}function c(e){let{pageAuthor:t,pageTitle:n,pageDescription:o,canonicalURL:l,openGraphCard:s,twitterCard:c,additionalMetaTags:d,noindex:u,children:p}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r,{title:n,author:t}),(0,i.jsx)(a.PB,{title:n,description:o,canonical:l,openGraph:s,twitter:c,additionalMetaTags:d,noindex:!!u}),(0,i.jsx)("div",{className:"min-h-screen",children:(0,i.jsx)("main",{children:p})})]})}},60262:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(85893),a=n(48137),o=n(66339),l=n(16573),s=n(1020),r=n(53597),c=n(37332),d=n(46616),u=n(87385),p=n(12834),h=n(69275);function m(e){let{url:t,selectedItem:n,toggleShare:m,onClickShare:v}=e;return(0,i.jsxs)("div",{className:"adp-sticky-bar__icon-container",children:[(0,i.jsxs)("div",{className:"adp-sticky-bar__share-popup",children:[(0,i.jsx)(a.Z,{url:"".concat(t,"/article/").concat(n.slug),subject:n.title,body:n.content?n.content.substring(0,140):n.description.substring(0,140),beforeOnClick:v,children:(0,i.jsx)(o.Z,{size:32,round:!0})}),(0,i.jsx)(l.Z,{url:"".concat(t,"/article/").concat(n.slug),quote:n.content?n.content.substring(0,140):n.description.substring(0,140),beforeOnClick:v,children:(0,i.jsx)(s.Z,{size:32,round:!0})}),(0,i.jsx)(r.Z,{url:"".concat(t,"/article/").concat(n.slug),title:n.title,summary:n.content?n.content.substring(0,140):n.description.substring(0,140),source:"GDCh",beforeOnClick:v,children:(0,i.jsx)(c.Z,{size:32,round:!0})}),(0,i.jsx)(d.Z,{url:"".concat(t,"/article/").concat(n.slug),title:n.title,beforeOnClick:v,children:(0,i.jsx)(u.Z,{size:32,round:!0})}),(0,i.jsx)(p.Z,{url:"".concat(t,"/article/").concat(n.slug),title:n.title,beforeOnClick:v,children:(0,i.jsx)(h.Z,{size:32,round:!0})})]}),(0,i.jsx)("i",{className:"far fa-share-alt",id:"share-popup-btn",onClick:v})]})}},21e3:function(e,t,n){"use strict";var i=n(24033),a=n(17187).EventEmitter,o=n(79720).inherits;function l(){if(!(this instanceof l))return new l;a.call(this),this.iframe=document.createElement("iframe"),this._position=null,this._radius=.004}
1e.exports=l,o(l,a),l.prototype.radius=function(e){return this._radius=e,this},l.prototype.position=function(e,t){return this._position={latitude:e,longitude:t},this.emit("position",this._position),this},l.prototype.show=function(){var e=this,t=e.iframe,n=e._radius;function a(i,a){if(i)return e.emit("error",i);e.emit("position",a);var o=a.longitude,l=a.latitude;t.src="https://www.openstreetmap.org/export/embed.html?layer=mapnik&bbox="+[o-n/2,l-n/4,o+n/2,l+n/4].join(",")+"&marker="+[l,o].join(",")}return e._position?a(null,e._position):i(function(e,t){a(e,t)}),t}},69657:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return B},default:function(){return V}});var i=n(85893),a=n(67294),o=n(11163),l=n(73606),s=n(2962),r=n(67421),c=n(95666),d=n(25675),u=n.n(d),p=n(41664),h=n.n(p),m=n(52238);function v(e){var t,n,a;let{manager:o,eventContactEmail:l}=e,s=async e=>{if(window.isRNWebView)window.ReactNativeWebView.postMessage(JSON.stringify({clipboard:e}));else try{await navigator.clipboard.writeText(e),alert("In die Zwischenablage kopiert!")}catch(e){alert("Error: ".concat(e))}};return(0,i.jsxs)("div",{className:"event-detail-single-contact-container",children:[(0,i.jsx)("div",{className:"image-container",children:(0,i.jsxs)(h(),{href:"/profile/".concat(o.slugName),children:[(null==o?void 0:null===(t=o.profileImage)||void 0===t?void 0:t.url)&&(0,i.jsx)(u(),{src:null==o?void 0:null===(n=o.profileImage)||void 0===n?void 0:n.url,alt:"".concat(o.firstname," ").concat(o.lastname),width:170,height:170,sizes:"100vw",style:{width:"100%",height:"auto"}}),!(null==o?void 0:null===(a=o.profileImage)||void 0===a?void 0:a.url)&&(0,i.jsx)("img",{src:(0,m.sA)(o,"size=400x400"),alt:"".concat(o.firstname," ").concat(o.lastname),width:"170",height:"170",style:{width:"100%",height:"auto"}})]})}),(0,i.jsxs)("div",{className:"info-container",children:[(0,i.jsx)("span",{children:o.title}),(0,i.jsx)("p",{children:(0,i.jsxs)(h(),{href:"/profile/".concat(o.slugName),children:[o.firstname," ",o.lastname]})}),o.phoneSocialLink&&(0,i.jsxs)("div",{className:"info-container__links",children:[(0,i.jsxs)("a",{href:"tel:".concat(o.phoneSocialLink),children:[(0,i.jsx)("i",{className:"far fa-phone"}),o.phoneSocialLink]}),(0,i.jsx)("button",{onClick:()=>s(o.phoneSocialLink),children:(0,i.jsx)("i",{className:"far fa-copy"})})]}),(()=>{let e=l||o.mailSocialLink||o.authMail;if(e)return(0,i.jsxs)("div",{className:"info-container__links",children:[(0,i.jsxs)("a",{href:"mailto:".concat(e),children:[(0,i.jsx)("i",{className:"far fa-envelope"}),e]}),(0,i.jsx)("button",{onClick:()=>s(e),children:(0,i.jsx)("i",{className:"far fa-copy"})})]})})()]})]})}function f(e){let{title:t}=e;return(0,i.jsx)("article",{className:"event-detail-title-small",children:(0,i.jsx)("section",{className:"title__heading",children:(0,i.jsx)("h2",{children:t})})})}function g(e){let{title:t,manager:n,eventContactEmail:a}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)(f,{title:t}),(0,i.jsx)(v,{manager:n,eventContactEmail:a})]})}var x=n(53731),j=n(25935);function y(e){let{description:t}=e;return(0,i.jsx)("article",{className:"event-detail-description-container",children:(0,i.jsx)("section",{className:"container",children:(0,i.jsx)("div",{className:"description-container active",children:(0,i.jsx)(x.Z,{componentDecorator:(e,t,n)=>(0,i.jsx)("a",{target:"blank",href:e,children:t},n),children:(0,j.ZP)(t.replace(/\n/g,"\n\n"),{replace:e=>{if("br"===e.name)return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{})," ",(0,i.jsx)("br",{})]})}})})})})})}var b=n(52143);function N(e){let{ctaTitle:t,ctaLink:n}=e;return t&&n?(0,i.jsx)("a",{className:"event-detail-primary-button",href:n.includes("mailto")||n.includes("tel")||n.includes("sms")?n:(null==n?void 0:n.indexOf("://"))>-1?n:"https://".concat(n),target:"_blank",rel:"noopener noreferrer",children:t}):(0,i.jsx)(i.Fragment,{})}var w=n(35608);function k(e){let t,n;let{organization:a,attendanceType:o,eventType:l,title:s,description:r,organiser:c,startDate:d,endDate:p,locationTitle:v,locationAddress:f,talkLecturer:g,talkLecturerAffiliation:x,toggleEventLocationModal:j,ctaTitle:y,ctaLink:k,collectionTitle:_}=e;("string"==typeof d||d instanceof Date)&&(t=new Date(d)),("string"==typeof p||p instanceof Date)&&(n=new Date(p));let D=t.toISOString();D=D.replace(/[-:.]/g,"");let L=n.toISOString();L=L.replace(/[-:.]/g,"");let S=t.getDate()===n.getDate(),C=t&&t.getHours()>5&&22>t.getHours(),T=n&&n.getHours()>5&&22>n.getHours();return(0,i.jsxs)("div",{className:"event-detail-scroll-card-container",children:[(0,i.jsxs)("div",{className:"container",children:[(null==a?void 0:a.logo)&&(0,i.jsx)("div",{className:"image-container",children:(0,i.jsx)(u(),{src:a.logo.url,alt:s,width:a.logo.width,height:a.logo.height,sizes:"100vw",style:{width:"100%",height:"auto"}})}),(0,i.jsx)(h(),{href:"/events/organization/".concat(null==a?void 0:a.slug),children:(null==a?void 0:a.type)&&(0,i.jsxs)("div",{className:"reverse",children:[(0,i.jsx)("span",{children:c}),(0,i.jsx)("h3",{children:(0,m.tq)(a)})]})})]}),(0,i.jsx)("div",{className:"off-border",children:(0,i.jsxs)("div",{className:"flex-container",children:[(0,i.jsx)("div",{children:(0,i.jsx)("i",{className:"fas fa-calendar-alt border"})}),(0,i.jsxs)("div",{className:"text-left",children:[S&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{children:null==t?void 0:t.toLocaleStr
1ing("de-DE",w.iv)}),(0,i.jsxs)("span",{children:[C&&t.toLocaleString("de-DE",w.ZD),T&&" – "+n.toLocaleString("de-DE",w.ZD)]})]}),!S&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{children:[null==t?void 0:t.toLocaleString("de-DE",C?w.nX:w.iv),t&&n&&" – "]}),(0,i.jsx)("p",{children:null==n?void 0:n.toLocaleString("de-DE",T?w.nX:w.iv)})]})]})]})}),(0,i.jsx)("button",{onClick:"online"!==o&&f?j:null,className:"online"!==o&&f?"off-border":"off-border no-cursor",children:(0,i.jsxs)("div",{className:"flex-container",children:[(0,i.jsx)("div",{children:(0,i.jsx)("i",{className:"online"===o?"fas fa-video border":"fas fa-map-marker-alt border"})}),(0,i.jsxs)("div",{className:"text-left",children:[(0,i.jsx)("p",{children:v}),f&&(0,i.jsx)("span",{children:f})]}),"online"!==o&&f&&(0,i.jsx)("div",{className:"icon",children:(0,i.jsx)("i",{className:"fas fa-chevron-right flex-end"})})]})}),(0,i.jsx)(b.Z,{isEvent:!0,isCalendars:!0,eventType:l,title:s,description:r,startDate:d,endDate:p,locationTitle:v,locationAddress:f,talkLecturer:g,talkLecturerAffiliation:x}),_&&(0,i.jsxs)("div",{className:"container event-collection",children:[(0,i.jsx)("div",{className:"icon-container",children:(0,i.jsx)("i",{className:"far fa-calendar"})}),(0,i.jsx)("div",{children:(0,i.jsx)("p",{children:_})})]}),""!==k&&(0,i.jsx)(N,{ctaTitle:y||"Mehr Infos",ctaLink:k})]})}var _=n(60262);function D(e){let{session:t,id:n,isFavoriting:a,isFavoritedByUser:o,favoriteEvent:l}=e;return(0,i.jsx)(i.Fragment,{children:t&&(0,i.jsxs)("div",{className:"adp-sticky-bar__icon-container",children:[a!==n&&(0,i.jsx)("i",{className:o?"fal fa-heart filled":"far fa-heart",onClick:()=>l(n,o)}),a===n&&(0,i.jsx)("div",{className:"is-favoriting"})]})})}var L=n(45004),S=n(69810),C=n(6122),T=n(27484),E=n.n(T);function A(e){var t;let{session:n,contentUrls:o,editors:l,event:s,id:r,slug:c,title:d,icon:u,type:p,attendanceType:h,excursionDestinationLabel:m,excursionDestination:v,talkLecturer:f,talkLecturerAffiliation:g,isFavoritedByUser:x,isFavoriting:j,favoriteEvent:y}=e,N=!!n&&(null==n?void 0:n.nickname)!=="guest"&&/^\d+$/.test(String((null==n?void 0:n.membershipNumber)||"")),[w,k]=(0,a.useState)("");return(0,i.jsx)("article",{className:"event-detail-title",children:(0,i.jsxs)("section",{className:"container",children:[(0,i.jsxs)("div",{className:"subtitle",children:[(0,i.jsx)("i",{className:u})," ",(0,i.jsxs)("p",{children:[p," (",h,")"]})]}),(0,i.jsx)("div",{className:"title__heading",children:(0,i.jsx)("h1",{children:d})}),(0,i.jsxs)("div",{className:"title__subheading",children:[v&&(0,i.jsxs)("p",{children:[(0,i.jsxs)("strong",{children:[m,":"]})," ",v]}),f&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h2",{children:f}),(0,i.jsx)("p",{children:g&&"".concat(g)})]})]}),(0,i.jsxs)(b.Z,{isEvent:!0,id:r,baseClass:"adp-sticky-bar",toggleShare:w===r,toggleBookmark:j===r,children:[(0,i.jsx)(_.Z,{url:"https://gdch.app",selectedItem:s,toggleShare:w===r,onClickShare:()=>{if(window.isRNWebView){let e={isPerson:!1,title:d,url:c.indexOf("http")>-1?"".concat(c):"".concat("https://gdch.app","/event/").concat(c)};window.ReactNativeWebView.postMessage(JSON.stringify(e))}else navigator.share?navigator.share({title:d,url:c.indexOf("http")>-1?"".concat(c):"".concat("https://gdch.app","/event/").concat(c)}).then(function(){console.log("Sharing successfull")}).catch(function(){console.log("Sharing failed"),""!==w?k(""):k(r)}):""!==w?k(""):k(r)}}),!(null==n?void 0:n.sso)&&N&&(0,i.jsx)(D,{session:n,id:r,isFavoriting:j,isFavoritedByUser:x,favoriteEvent:()=>y(r,x)}),n&&l.includes(parseInt(null==n?void 0:n.membershipNumber))&&(0,i.jsx)(L.Z,{isEvent:!0,contentUrls:o,id:r}),n&&(n.email.includes("@gdch.de")||"87137"===n.nickname)&&(0,i.jsx)(C.Z,{prompt:"\n### Veranstaltung\n# ".concat(d,"\n## Typ: ").concat(s.type," (").concat(h,")\n\n* Direktlink zur Veranstaltung: https://gdch.app/event/").concat(c,"\n* Start: ").concat(E()(s.startDate).format("YYYY-MM-DD HH:mm"),"\n* Ende: ").concat(E()(s.endDate).format("YYYY-MM-DD HH:mm"),"\n").concat(s.ctaTitle&&"* Call-to-Action: ".concat(s.ctaTitle,", ").concat(s.ctaLink,"\n"),"* Ansprechperson: ").concat(s.manager.title?s.manager.title:""," ").concat(s.manager.firstname," ").concat(s.manager.lastname,", ").concat((null==s?void 0:s.eventContactEmail)?s.eventContactEmail:null==s?void 0:null===(t=s.manager)||void 0===t?void 0:t.authMail,"\n").concat(f&&"* Vortragend: ".concat(f,", ").concat(g,"\n"),"* Ort: ").concat(s.organisationName,", ").concat(s.addressLine1,", ").concat(s.addressLine2&&s.addressLine2+", ").concat(s.postalCode," ").concat(s.city,"\n* Tags: ").concat(s.tags.join(", "),"\n* Interessen: ").concat(s.interests.map(e=>e.name).join(", "),"\n\n").concat(S.zD(s.description).text().replaceAll("%","Prozent").trim(),"\n\n---\n")})]})]})})}function Z(e){let{image:t,width:n,height:a,copyright:o,alt:l}=e;return(0,i.jsxs)("div",{className:"events-detail-image-container",children:[(0,i.jsx)("div",{className:"inner
1-image-container",children:(0,i.jsx)(u(),{src:t,alt:l,width:n,height:a,sizes:"500px",style:{width:"100%",height:"auto"}})}),""!==o&&(0,i.jsx)("div",{className:"inner-image-copyright",children:o})]})}function I(e){let{downloadableAssets:t}=e;return(0,i.jsx)("div",{className:"event-download-list-container",children:t&&t.map((e,t)=>(0,i.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",children:[e.originalFilename,(0,i.jsx)("i",{className:"fas fa-download"})]},t))})}function O(e){let{title:t,downloadableAssets:n}=e;return(0,i.jsxs)("div",{className:"event-download-container",children:[(0,i.jsx)(f,{title:t}),(0,i.jsx)(I,{downloadableAssets:n})]})}function M(e){let{type:t,value:n}=e;return(0,i.jsx)("div",{className:"event-single-tags-container",children:(0,i.jsx)(h(),{href:"tags"===t?"/events/tag/".concat(n):"/events/interest/".concat(n),children:(0,i.jsx)("li",{className:"single-tag",children:n})})})}function z(e){let{type:t,values:n}=e;return(0,i.jsx)("ul",{className:"event-tags-list-container",children:n&&n.map((e,n)=>(0,i.jsx)(M,{type:t,value:(null==e?void 0:e.name)?e.name:e},n))})}function R(e){let{type:t,title:n,values:a}=e;return(0,i.jsxs)("div",{className:"event-tags-container",children:[(0,i.jsx)(f,{title:n}),(0,i.jsx)(z,{type:t,values:a})]})}var U=n(21e3),P=n.n(U),F=(0,r.Zh)()(function(e){let{t,locationTitle:n,locationDescription:o,locationAddress:l,locationLatitude:s,locationLongitude:r,closeModal:c}=e,d=encodeURIComponent(l);return(0,a.useEffect)(()=>{let e=P()().position(s,r),t=document.getElementById("OpenStreetMap");(null==t?void 0:t.children.length)===1&&t.appendChild(e.show())},[s,r]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"event-location-content__modal__overlay active",onClick:()=>c(),children:(0,i.jsxs)("div",{className:"event-location-content__modal",children:[(0,i.jsx)("i",{className:"fal fa-times event-location-content__modal-close",onClick:()=>c()}),(0,i.jsxs)("div",{className:"heading",children:[(0,i.jsx)("i",{className:"fas fa-map-marker-alt"}),(0,i.jsx)("h1",{children:t("locationDescription.text")})]}),(0,i.jsx)("div",{id:"OpenStreetMap",className:"event-location-content",children:(0,i.jsx)("div",{className:"is-loading-map"})}),(0,i.jsxs)("a",{href:"https://www.google.com/maps/search/".concat(d,"/"),target:"_blank",rel:"noopener noreferrer",children:[t("calculateRoute.text")," ",(0,i.jsx)("i",{className:"far fa-chevron-right"})]}),(0,i.jsxs)("div",{className:"event-location-content__details",children:[(0,i.jsx)("div",{className:"event-location-content__details__left",children:(0,i.jsx)("i",{className:"fas fa-home-alt"})}),(0,i.jsxs)("div",{className:"event-location-content__details__right",children:[n&&(0,i.jsx)("p",{className:"event-location-content__details__title",children:n}),(0,i.jsx)("p",{className:"event-location-content__details__subtitle",children:l}),o&&(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)("p",{className:"event-location-content__details__title",children:t("additionalLocationInformation.text")}),(0,i.jsx)("div",{className:"event-location-content__details__subtitle",dangerouslySetInnerHTML:{__html:o}})]})]})]})]})})})}),G=n(98347),B=!0,V=(0,r.Zh)()(function(e){var t,n,r,d,u,p;let h,v,{t:f,contentUrls:x,editors:j,currentEvent:b}=e,{user:N,isLoading:_}=(0,l.aF)(),D=(0,o.useRouter)(),[L,S]=(0,a.useState)(w.Gg),[C,T]=(0,a.useState)(!1),[E,I]=(0,a.useState)(""),[M,z]=(0,a.useState)(b),[U,P]=(0,a.useState)(!1),B=async e=>await (0,m.Io)("post","/api/events/user/slug",{slug:e});(0,a.useEffect)(()=>{let e=sessionStorage.getItem("userSession");T(!0);let t=async()=>{!_&&N&&S(N)},n=async()=>{S(JSON.parse(e)),T(!1)};e?n():t()},[_]);let V=async e=>await (0,m.Io)("post","/api/events/user/favorite",{eventId:e}),H=async e=>await (0,m.Io)("post","/api/events/user/unfavorite",{eventId:e}),Y=async(e,t)=>{I(e),t||await V(e),t&&await H(e),z(await B(D.query.params[0])),I("")},W=()=>{P(!U)},J=e=>{switch(e){case"symposia":return"".concat("https://gdch.app","/assets/event-type-1.jpg");case"talk":return"".concat("https://gdch.app","/assets/event-type-2.jpg");case"recurring_meetup":return"".concat("https://gdch.app","/assets/event-type-3.jpg");case"excursion":return"".concat("https://gdch.app","/assets/event-type-4.jpg");default:return"".concat("https://gdch.app","/assets/event-type-5.jpg")}}
1,{id:q,attendanceType:X,slug:$,image:K,type:Q,title:ee,startDate:et,endDate:en,organization:ei,locationTitle:ea,locationDescription:eo,coordinates:el,manager:es}=M;("string"==typeof et||et instanceof Date)&&(h=new Date(et)),("string"==typeof en||en instanceof Date)&&(v=new Date(en));let er=L?null==M?void 0:M.favoritedByPersons.filter(e=>e.membershipNumber===parseInt(L.membershipNumber)):[],ec=[{icon:"far fa-users-class",title:f("eventSymposium.text"),value:"symposia",description:f("eventSymposiumDescription.text")},{icon:"far fa-microphone-stand",title:f("eventTalk.text"),value:"talk",description:f("eventTalkDescription.text")},{icon:"far fa-glass-cheers",title:f("eventRecurring.text"),value:"recurring_meetup",description:f("eventRecurringDescription.text")},{icon:"far fa-walking",title:f("eventExcursion.text"),value:"excursion",description:f("eventExcursionDescription.text")},{icon:"fal fa-ellipsis-h-alt",title:f("eventOther.text"),value:"other",description:f("eventOtherDescription.text")}].filter(e=>e.value===(null==M?void 0:M.type)),ed=[{label:f("presenceEvent.text"),value:"offline"},{label:f("onlineEvent.text"),value:"online"},{label:f("hybridEvent.text"),value:"hybrid"}].filter(e=>e.value===(null==M?void 0:M.attendanceType)),eu=(e,t)=>e?"".concat(t).concat(e.substring(0,160)):"",ep="".concat(new Date(h).toLocaleString("de-DE",{dateStyle:"medium",timeStyle:"short"})).concat(eu(null==M?void 0:M.locationTitle,", ")).concat(eu(null==M?void 0:M.talkLecturer," | ")).concat(eu(null==M?void 0:M.talkLecturerAffiliation,", ")).concat(eu(null==M?void 0:M.description," | ")),eh=j.includes(parseInt(null==L?void 0:L.membershipNumber)),em=e=>{var t;return null===(t=G.od.filter(t=>t.value===e)[0])||void 0===t?void 0:t.label},ev=()=>{let e=null;return(null==M?void 0:M.attendanceType)==="online"?e=f("onlineEventAddress.text"):(null==M?void 0:M.addressLine1)?e="".concat(M.addressLine1).concat(""!==M.addressLine2?", "+M.addressLine2:"",", ").concat(M.postalCode,", ").concat(M.city,", ").concat(em(M.country)):(null==M?void 0:M.locationAddress)&&(e=null==M?void 0:M.locationAddress),e};return(0,i.jsxs)(c.Z,{pageTitle:"".concat(ee," | GDCh.app"),pageDescription:ep,pageAuthor:"",canonicalURL:"".concat("https://gdch.app","/event/").concat($),openGraphCard:{type:"website",url:"".concat("https://gdch.app","/event/").concat($),title:ee,description:ep,images:[{url:"".concat(K?K.ogUrl:J(Q)),alt:"".concat(f("events.text"))}],site_name:"GDCh.app"},twitterCard:{cardType:"summary",handle:"@GDCh_aktuell",site:"@GDCh_aktuell"},additionalMetaTags:[{property:"title",content:ee},{property:"twitter:domain",content:"gdch.app"},{property:"twitter:url",content:"".concat("https://gdch.app","/event/").concat($)},{property:"twitter:title",content:ee},{property:"twitter:description",content:ep},{property:"twitter:image",content:"".concat(K?K.ogUrl:J(Q))}],children:[(0,i.jsx)(s.yA,{name:ee,startDate:"".concat(new Date(h).toLocaleString("de-DE",{dateStyle:"medium",timeStyle:"short"})),endDate:"".concat(new Date(v).toLocaleString("de-DE",{dateStyle:"medium",timeStyle:"short"})),location:(()=>{if((null==M?void 0:M.attendanceType)==="online")return{url:"".concat("https://gdch.app","/event/").concat($)};if((null==M?void 0:M.attendanceType)==="offline"){if(!(null==M?void 0:M.locationAddress)&&!(null==M?void 0:M.addressLine1))return;if(null==M?void 0:M.addressLine1)return{name:null==M?void 0:M.organisationName,address:{streetAddress:null==M?void 0:M.addressLine1,addressLocality:null==M?void 0:M.city,postalCode:null==M?void 0:M.postalCode,addressCountry:null==M?void 0:M.country}};let e=null==M?void 0:M.locationAddress.split(","),t=e[1].trim().split(/ (.*)/);return{name:null==M?void 0:M.locationTitle,address:{streetAddress:e[0],addressLocality:t[1],postalCode:t[0],addressCountry:e[e.length-1]}}}})(),url:"".concat("https://gdch.app","/event/").concat($),images:["".concat(K?K.url:J(Q))],description:ep,organizer:{type:"Organization",name:"".concat(null==M?void 0:null===(t=M.organization)||void 0===t?void 0:t.name)},eventStatus:"EventScheduled",eventAttendanceMode:"online"===X?"OnlineEventAttendanceMode":"offline"===X?"OfflineEventAttendanceMode":"MixedEventAttendanceMode"}),(0,i.jsx)("div",{className:"wrapper",children:(0,i.jsx)("div",{className:"events-detail-page-wrapper",children:(0,i.jsxs)("div",{className:"container-inner",children:[(0,i.jsxs)("div",{className:"container-left",children:[(0,i.jsx)(Z,{image:K?K.url:J(Q),copyright:"symposia"!==Q||K?null==K?void 0:K.copyright:"\xa9 Christian Augustin, Hamburg",width:K?K.width:1200,height:K?K.height:830,alt:ee}),(0,i.jsx)(A,{session:L,contentUrls:x,editors:j,userCanEdit:eh,event:M,id:q,slug:$,title:null==M?void 0:M.title,icon:null===(n=ec[0])||void 0===n?void 0:n.icon,type:null===(r=ec[0])||void 0===r?void 0:r.title,attendanceType:null===(d=ed[0])||void 0===d?void 0:d.label,excursionDestinationLabel:f("destinationTitle.text"),excursionDestination:null==M?void 0:M.excursionDestination,talkLecturer:null==M?void 0:M.talkLecturer,talkLecturerAffiliation:null==M?void 0:M.talkLecturerAffiliation,isFavoritedByUser:er.length>0,isFavoriting:E,favoriteEvent:(e,t)=>
1Y(e,t)}),(0,i.jsx)(y,{description:null==M?void 0:M.description}),(0,i.jsx)("div",{className:"mobile-container",children:(0,i.jsx)(k,{organization:null==M?void 0:M.organization,attendanceType:null==M?void 0:M.attendanceType,title:null==M?void 0:M.title,eventType:null==M?void 0:M.type,description:null==M?void 0:M.description,organiser:f("organiser.text"),startDate:null==M?void 0:M.startDate,endDate:null==M?void 0:M.endDate,locationTitle:(null==M?void 0:M.attendanceType)==="online"?f("onlineEvent.text"):(null==M?void 0:M.locationTitle)?null==M?void 0:M.locationTitle:null==M?void 0:M.organisationName,locationAddress:ev(),talkLecturer:null==M?void 0:M.talkLecturer,talkLecturerAffiliation:null==M?void 0:M.talkLecturerAffiliation,toggleEventLocationModal:W,ctaTitle:null==M?void 0:M.ctaTitle,ctaLink:null==M?void 0:M.ctaLink,collectionTitle:null==M?void 0:M.collectionTitle})}),(null==M?void 0:M.tags)&&(null==M?void 0:M.tags.length)>0&&(0,i.jsx)(R,{type:"tags",title:f("tags.text"),values:null==M?void 0:M.tags}),(null==M?void 0:M.interests)&&(null==M?void 0:M.interests.length)>0&&(0,i.jsx)(R,{type:"interests",title:f("interests.text"),values:null==M?void 0:M.interests}),(null==M?void 0:M.downloadableAssets)&&(null==M?void 0:M.downloadableAssets.length)>0&&(0,i.jsx)(O,{title:f("downloads.text"),downloadableAssets:null==M?void 0:M.downloadableAssets}),(null==M?void 0:M.manager)&&!G.AU.includes(ei.name)&&(0,i.jsx)(g,{title:f("contactPerson.text"),manager:null==M?void 0:M.manager,eventContactEmail:null==M?void 0:M.eventContactEmail}),!es&&(null==ei?void 0:null===(u=ei.personRoles)||void 0===u?void 0:u.length)>0&&!G.AU.includes(ei.name)&&(0,i.jsx)(g,{title:f("contactPerson"),manager:null==ei?void 0:null===(p=ei.personRoles[0])||void 0===p?void 0:p.person,eventContactEmail:null==M?void 0:M.eventContactEmail})]}),(0,i.jsx)("div",{className:"container-right",children:(0,i.jsx)(k,{organization:null==M?void 0:M.organization,attendanceType:null==M?void 0:M.attendanceType,eventType:null==M?void 0:M.type,title:null==M?void 0:M.title,description:null==M?void 0:M.description,organiser:f("organiser.text"),startDate:null==M?void 0:M.startDate,endDate:null==M?void 0:M.endDate,locationTitle:(null==M?void 0:M.attendanceType)==="online"?f("onlineEvent.text"):(null==M?void 0:M.locationTitle)?null==M?void 0:M.locationTitle:null==M?void 0:M.organisationName,locationAddress:ev(),talkLecturer:null==M?void 0:M.talkLecturer,talkLecturerAffiliation:null==M?void 0:M.talkLecturerAffiliation,toggleEventLocationModal:W,ctaTitle:null==M?void 0:M.ctaTitle,ctaLink:null==M?void 0:M.ctaLink,collectionTitle:null==M?void 0:M.collectionTitle})})]})})}),U&&(0,i.jsx)(F,{locationTitle:ea,locationDescription:eo,locationAddress:ev(),locationLatitude:el.latitude,locationLongitude:el.longitude,closeModal:()=>W()})]})})},35608:function(e,t,n){"use strict";n.d(t,{Gg:function(){return s},Pq:function(){return d},Vy:function(){return c},ZD:function(){return l},iA:function(){return r},iv:function(){return a},nX:function(){return o}});var i=n(57632);let a={weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:"Europe/Berlin"},o={weekday:"long",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",timeZone:"Europe/Berlin"},l={hour:"numeric",minute:"numeric",timeZone:"Europe/Berlin"},s={initialData:!0,email:"",email_verified:!1,id:"",image:"",membershipNumber:"",name:"",nickname:"",noltJWT:"",picture:"",sid:"",sso:!1,sub:"",updated_at:""},r={id:"",slug:"",type:"",talkLecturer:"",talkLecturerAffiliation:"",talkORCID:"",excursionDestination:"",title:"",description:"",image:{id:"",originalFilename:""},downloadableAssets:[],copyright:"",ctaLink:"",ctaTitle:"",startDate:null,endDate:null,emailDate:null,attendanceType:"",organisationName:"",addressLine1:"",addressLine2:"",postalCode:"",city:"",country:"",coordinates:{latitude:0,longitude:0},locationTitle:"",locationAddress:"",locationDescription:"",tags:[],interests:[],previousInterests:[],organization:{id:""},manager:{},eventContactEmail:"",organizations:[],message:"",favoritedByPersons:[],collectionTitle:"",shortSlug:null},c=[{id:"",slug:"",type:"",talkLecturer:"",talkLecturerAffiliation:"",talkORCID:"",excursionDestination:"",title:"",description:"",image:{id:"",originalFilename:""},downloadableAssets:[],copyright:"",ctaLink:"",ctaTitle:"",startDate:new Date,endD
1ate:new Date,attendanceType:"",organisationName:"",addressLine1:"",addressLine2:"",postalCode:"",city:"",country:"",coordinates:{latitude:0,longitude:0},locationTitle:"",locationAddress:"",locationDescription:"",tags:[],interests:[],previousInterests:[],organization:{id:""},manager:{},organizations:[],message:"",favoritedByPersons:[],collectionTitle:"",shortSlug:""}],d={id:(0,i.Z)(),awardId:"",formType:"",awardName:null,nominatingPeople:[{id:(0,i.Z)(),title_1:"",firstname_1:"",lastname_1:"",email_1:"",additional:[],gdchMember:{membershipNumber:null}}],nominatedPeople:[{id:(0,i.Z)(),title_1:"",firstname_1:"",lastname_1:"",email_1:"",universityCompany_1:"",country_1:"",additional:[],gdchMember:{membershipNumber:null}}],additional:[],privacyAgreement:!1};(0,i.Z)(),(0,i.Z)()},58919:function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);this.obj=e||{},this.par=n}function n(e){return function(){return e.apply(this,arguments),this}}e.exports=t,t.prototype.use=n(function(e){this.obj=e(this.obj)}),t.prototype.set=n(function(e,t){this.obj[e]=t}),t.prototype.get=function(e){return e?this.obj[e]:this.obj},t.prototype.sub=function(e){var n=this.obj;return n[e]||(n[e]={}),t(n[e],this)},t.prototype.tmp=function(){return t({},this)},t.prototype.out=function(){return this.par},t.prototype.keys=function(){return Object.keys(this.obj)},t.prototype.parEach=n(function(e){var t=this;t.par.keys().forEach(function(n){e.call(t,n,t.par.get(n))})}),t.prototype.each=n(function(e){var t=this;t.keys().forEach(function(n){e.call(t,n,t.get(n))})}),t.prototype.clone=function(){return this.tmp({}).parEach(function(e,t){this.set(e,t)})}},57632:function(e,t,n){"use strict";let i;n.d(t,{Z:function(){return s}});var a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o=new Uint8Array(16),l=[];for(let e=0;e<256;++e)l.push((e+256).toString(16).slice(1));var s=function(e,t,n){if(a.randomUUID&&!t&&!e)return a.randomUUID();let s=(e=e||{}).random||(e.rng||function(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)})();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=s[e];return t}return function(e,t=0){return l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]}(s)}}},function(e){e.O(0,[2962,188,5935,8764,4397,3731,949,2888,9774,179],function(){return e(e.s=56355)}),_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.