(window.webpackJsonp=window.webpackJsonp||[]).push([[219],{1152:function(t,e,n){var content=n(1341);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("d7bc59f4",content,!0,{sourceMap:!1})},1330:function(t,e,n){var content=n(1390);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("b0a819d0",content,!0,{sourceMap:!1})},1340:function(t,e,n){"use strict";n(1152)},1341:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,'.line-height-22[data-v-5e0afe7c]{line-height:22px!important}.review-text-container p[data-v-5e0afe7c]{overflow:hidden;position:relative}.closed p[data-v-5e0afe7c]{max-height:200px}.open p[data-v-5e0afe7c]{max-height:none}.read-more p[data-v-5e0afe7c]:before{bottom:0;content:"";height:100%;left:0;position:absolute;width:100%}.bgwhite p[data-v-5e0afe7c]:before{background:linear-gradient(transparent,#fff)}.bgsecondary p[data-v-5e0afe7c]:before{background:linear-gradient(transparent,var(--secondary-color))}div[data-v-5e0afe7c] .v-input__slot{box-shadow:none!important;padding:0!important}div[data-v-5e0afe7c] .v-ripple__container{display:none!important}.review-border[data-v-5e0afe7c]{border:1px dashed var(--interaction-color)}',""]),r.locals={},t.exports=r},1354:function(t,e,n){"use strict";n.r(e);var r=n(1052),o=n(262),c=n(1068),l=n(1062),d=(n(29),n(23)),v=(n(31),n(159),n(33),{components:{InfoPopup:n(104).default},props:{bgcolor:String,content:Object,isEventDetail:Boolean},data:function(){return{eventinfo:{},hilfreich:!1,showmore:!1,showButton:!1,loaded:!0}},computed:{textareaHeight:function(){try{return this.$refs.thisisweird.$el.querySelector("textarea").scrollHeight}catch(t){return"100%"}}},mounted:function(){this.hilfreich=this.content.voted;try{this.$refs.reviewtext.offsetHeight<this.$refs.reviewtext.scrollHeight&&(this.showButton=!0)}catch(t){console.log("textfading failed")}},jsonld:function(){if(!this.content||!this.content.event_data.genre.name)return{};var t=this.content.event_data.starttime.match(/(\d{2})\.(\d{2})\.(\d{2}) (\d{2}:\d{2})/),e=Object(d.a)(t,5),n=(e[0],e[1]),r=e[2],o=e[3],time=e[4],c="20".concat(o,"-").concat(r,"-").concat(n,"T").concat(time);return{"@context":"http://schema.org","@type":"Review",reviewBody:this.content.text,itemReviewed:{"@type":"Event",name:this.content.event_data.title,startDate:c,location:{"@type":"Place",name:this.content.event_data.event_location.name,address:{"@type":"PostalAddress",addressLocality:this.content.event_data.event_location.city,addressRegion:"DE",postalCode:this.content.event_data.event_location.zip_code,streetAddress:this.content.event_data.event_location.street}}},author:{"@type":"Person",name:this.content.member.username},reviewRating:{"@type":"Rating",ratingValue:this.content.stars,worstRating:1,bestRating:5}}}}),h=(n(1340),n(0)),component=Object(h.a)(v,(function(){var t=this,e=t._self._c;return t.loaded?e("div",{staticClass:"mx-auto",staticStyle:{"max-width":"600px"}},[e(l.a,{staticClass:"justify-space-between",attrs:{"no-gutters":""}},[e("div",[e("ProfilePicture",{attrs:{size:60,image:t.content.member.profile_image,"user-i-d":t.content.member.id,username:t.content.member.username,linked:!0}})],1),t._v(" "),e("div",[e(c.a,{staticClass:"text-right",attrs:{color:"interaction",value:t.content.stars,dense:"",size:"20",readonly:""}}),t._v(" "),e("p",{staticClass:"e2 ma-0 fitlineheight text-right"},[t._v("\n Geschrieben von "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.content.member.username))])]),t._v(" "),e("p",{staticClass:"e2 ma-0 fitlineheight text-right"},[t._v("\n am "+t._s(t.content.created)+"\n ")])],1)]),t._v(" "),e(l.a,{staticClass:"flex-column my-8",attrs:{"no-gutters":""}},[e("p",{staticClass:"e2 ma-0 line-height-22"},[t.content.event_data.genre.name?e("span",[t._v(t._s(t.content.event_data.genre.name)+" in "+t._s(t.content.event_data.event_location.city))]):t._e()]),t._v(" "),e("nuxt-link",{attrs:{to:"".concat(t.content.event)}},[e("h5",{staticClass:"interaction--text text-decoration-underline line-height-22"},[t._v("\n "+t._s(t.content.event_data.title)+"\n ")])]),t._v(" "),e("h5",{staticClass:"line-height-22 blackToWhite--text"},[t._v("\n "+t._s(t.content.event_data.starttime)+"\n ")]),t._v(" "),e("p",{staticClass:"e2 ma-0 line-height-22"},[t._v("\n "+t._s(t.content.event_data.subtitle)+"\n ")])],1),t._v(" "),e(l.a,{attrs:{"no-gutters":""}},[e("div",{class:"review-text-container "+(t.showmore?"open":"closed bg"+t.bgcolor+(t.showButton?" read-more":"")),staticStyle:{"word-break":"break-word"}},[e("p",{ref:"reviewtext",staticClass:"ma-0"},[t._v("\n "+t._s(t.content.text)+"\n ")])])]),t._v(" "),e(l.a,{staticClass:"justify-space-between mt-sm-5 mt-md-8",attrs:{"no-gutters":""}},[e(r.a,{staticClass:"pa-0 text-none text-decoration-underline font-weigt-bold reduceLetterSpaceing",style:t.showButton?"":"visibility: hidden;",attrs:{height:"30",text:""},on:{click:function(){t.showmore=!t.showmore}}},[t._v("\n "+t._s(t.showmore?"Weniger anzeigen":"Alles anzeigen")+"\n ")]),t._v(" "),e(r.a,{class:"text-none reduceLetterSpaceing e2 "+(t.hilfreich?"":"v-btn--outlined"),staticStyle:{"background-color":"white"},attrs:{dark:"",outlined:!t.hilfreich,height:"30",width:"120",elevation:"0",rounded:"",color:t.hilfreich?"interaction":"grey"},on:{click:function(){if(t.$auth.loggedIn){var e=t.isEventDetail?"/api/rating/eventreview/vote/":"/api/rating/eventlocationreview/vote/";t.$axios.post(e+t.content.id+"/").then((function(e){t.hilfreich?t.content.score-=1:t.content.score+=1,t.hilfreich=!t.hilfreich}))}else t.$refs.loginPopup.openLoginAlert()}}},[t.hilfreich?e(o.a,{staticClass:"mr-1",attrs:{size:"15"}},[t._v("\n $thumbupsolid\n ")]):e(o.a,{staticClass:"mr-1",attrs:{size:"15"}},[t._v("\n $thumbup\n ")]),t._v(" "),e("span",[t._v("Hilfreich "+t._s(t.content.score))])],1),t._v(" "),t.content.organizer_comment?e("div",{staticClass:"mb-4 mt-6 px-2 py-2 review-border"},[e("h5",[t._v("Antwort vom Veranstalter:")]),t._v(" "),e("p",{staticClass:"mb-0 mt-1"},[t._v("\n "+t._s(t.content.organizer_comment)+"\n ")])]):t._e()],1),t._v(" "),e("InfoPopup",{ref:"loginPopup"})],1):e("div",[t._v("\n Loading.....\n")])}),[],!1,null,"5e0afe7c",null);e.default=component.exports;installComponents(component,{ProfilePicture:n(1102).default})},1355:function(t,e,n){"use strict";n.r(e);var r=n(1052),o=n(1063),c=n(1099),l=n(1064),d=n(1068),v=n(1062),h=n(1150),f=(n(51),n(16),n(15),n(17),n(9),n(20),n(18),n(21),n(3)),m=n(13),j=(n(38),n(1485));function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(f.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var x={components:{InfoPopup:n(104).default},props:{reviews:{type:Array,required:!0},canreview:{type:Boolean,required:!0,default:!1},isEventDetail:{type:Boolean,required:!0}},data:function(){return{maxreviews:3,formvalid:!1,reviewtext:"",rating:5,loadBtn:!1}},created:function(){},methods:{shouldUseModulesPlugins:j.shouldUseModulesPlugins,submitReview:function(){var t=this;return Object(m.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loadBtn=!0,!t.isEventDetail){e.next=7;break}return e.next=4,t.$axios.$post("/api/rating/eventreview/create/",{text:t.reviewtext,event:t.$route.params.eventdetail,stars:t.rating});case 4:n=e.sent,e.next=10;break;case 7:return e.next=9,t.$axios.$post("/api/rating/eventlocation/review/create/",{text:t.reviewtext,location:t.$route.params.veranstaltungsort,stars:t.rating});case 9:n=e.sent;case 10:t.reviews.unshift(_({member:t.$auth.user},n)),t.reviewtext="",t.rating=1,t.formvalid=!1,t.loadBtn=!1;case 15:case"end":return e.stop()}}),e)})))()}}},y=(n(1389),n(0)),component=Object(y.a)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex flex-column mt-15",class:t.$vuetify.theme.dark?"darkmode":"lightmode"},[t.canreview?e(c.a,{staticClass:"pa-0"},[e(l.a,{ref:"form",staticClass:"d-flex flex-column align-center mx-auto",staticStyle:{"max-width":"584px !important"},model:{value:t.formvalid,callback:function(e){t.formvalid=e},expression:"formvalid"}},[e("h5",{staticClass:"align-self-start font-size-18 mb-8 blackToWhite--text",class:t.$vuetify.breakpoint.smAndDown?"ml-5":""},[t._v("\n Erfahrungsbericht\n ")]),t._v(" "),e(h.a,{class:t.$vuetify.theme.dark?"darkmode":"lightmode",staticStyle:{"border-radius":"0px",width:"90vw"},attrs:{rules:[function(t){return(t||"").length>=100||"Bitte schreibe min. 100 Zeichen."}],"no-resize":"",counter:"","counter-value":function(t){return(t||"").length+" Zeichen"},placeholder:"Deinen Erfahrungsbericht schreiben",color:"red",outlined:"",height:"172"},on:{click:function(e){!t.$auth.loggedIn&&t.$refs.loginPopup.openLoginAlert()}},model:{value:t.reviewtext,callback:function(e){t.reviewtext=e},expression:"reviewtext"}}),t._v(" "),e(v.a,{staticClass:"mt-5",staticStyle:{width:"100%"},on:{click:function(e){!t.$auth.loggedIn&&t.$refs.loginPopup.openLoginAlert()}}},[e(o.a,{staticClass:"pl-0",class:t.$vuetify.breakpoint.smAndDown?"text-center":""},[e("div",{staticClass:"d-flex flex-column"},[e("p",{staticClass:"e2 font-size-sm-14 mb-0",class:t.$vuetify.breakpoint.smAndDown?"mx-auto":"",staticStyle:{width:"fit-content"}},[t._v("\n Deine Gesamtbewertung\n ")]),t._v(" "),e(d.a,{staticClass:"align-self-center mb-4",class:t.$vuetify.breakpoint.mdAndUp?"ml-n2":"mx-auto",staticStyle:{"align-self":"inherit !important",width:"fit-content"},attrs:{size:"45",color:"interaction",hover:"",dense:""},on:{click:function(e){!t.$auth.loggedIn&&t.$refs.loginPopup.openLoginAlert()}},model:{value:t.rating,callback:function(e){t.rating=e},expression:"rating"}})],1)]),t._v(" "),e(o.a,{staticClass:"px-0",class:t.$vuetify.breakpoint.smAndDown?"pt-0 text-center":"",style:t.$vuetify.breakpoint.mdAndUp?"padding-top: 30px;":""},[e(r.a,{staticClass:"white--text text-none reduceLetterSpaceing mb-9",class:t.$vuetify.breakpoint.mdAndUp?"px-0 float-right":"",attrs:{disabled:!t.formvalid||!t.$auth.loggedIn||t.loadBtn,rounded:"",width:"270",height:"48",color:"interaction",elevation:"0"},on:{click:t.submitReview}},[t._v("\n Abschicken\n ")])],1)],1)],1)],1):t._e(),t._v(" "),t.reviews?e("div",t._l(t.reviews.slice(0,t.maxreviews),(function(n,r){return e(c.a,{key:r,class:"review py-8 "+(r%2!=0?"whiteToAd":"secondary")},[e("ReviewTT",{attrs:{content:n,bgcolor:r%2!=0?"whiteToAd":"secondary","is-event-detail":t.isEventDetail}})],1)})),1):t._e(),t._v(" "),t.reviews&&t.maxreviews<t.reviews.length?e(r.a,{staticClass:"align-self-center mt-8 mb-15 no-uppercase",attrs:{color:"interaction",outlined:"",border:"interaction",elevation:"0",rounded:"",width:"290",height:"48",dark:""},on:{click:function(e){t.maxreviews+=3}}},[t._v("\n Mehr anzeigen\n ")]):t._e(),t._v(" "),e("InfoPopup",{ref:"loginPopup"})],1)}),[],!1,null,"0d546cf8",null);e.default=component.exports;installComponents(component,{ReviewTT:n(1354).default})},1389:function(t,e,n){"use strict";n(1330)},1390:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,"div[data-v-0d546cf8] .v-rating>button{color:var(--interaction-color)!important}#abschickencontianer[data-v-0d546cf8]{align-items:center}.no-uppercase[data-v-0d546cf8]{text-transform:none}.lightmode[data-v-0d546cf8] .v-input__slot fieldset{color:var(--secondary-color-dark)!important}.lightmode[data-v-0d546cf8] textarea::placeholder{color:var(--secondary-color-dark)!important}.lightmode[data-v-0d546cf8] textarea::-moz-placeholder{color:var(--secondary-color-dark)!important}.darkmode[data-v-0d546cf8] .v-input__slot fieldset{color:#fff!important}.darkmode[data-v-0d546cf8] textarea::placeholder{color:#fff!important}.darkmode[data-v-0d546cf8] textarea::-moz-placeholder{color:#fff!important}div[data-v-0d546cf8] .v-text-field__details{padding:0!important}.review[data-v-0d546cf8]{overflow-x:visible;padding:42.5px;width:100vw}@media screen and (min-width:1000px){.review[data-v-0d546cf8]{margin-left:-88px;max-width:796px!important;overflow-x:visible;padding-left:88px!important;padding-right:128px!important;width:62.5vw}}",""]),r.locals={},t.exports=r},1403:function(t,e,n){var map={"./af":1169,"./af.js":1169,"./ar":1170,"./ar-dz":1171,"./ar-dz.js":1171,"./ar-kw":1172,"./ar-kw.js":1172,"./ar-ly":1173,"./ar-ly.js":1173,"./ar-ma":1174,"./ar-ma.js":1174,"./ar-sa":1175,"./ar-sa.js":1175,"./ar-tn":1176,"./ar-tn.js":1176,"./ar.js":1170,"./az":1177,"./az.js":1177,"./be":1178,"./be.js":1178,"./bg":1179,"./bg.js":1179,"./bm":1180,"./bm.js":1180,"./bn":1181,"./bn-bd":1182,"./bn-bd.js":1182,"./bn.js":1181,"./bo":1183,"./bo.js":1183,"./br":1184,"./br.js":1184,"./bs":1185,"./bs.js":1185,"./ca":1186,"./ca.js":1186,"./cs":1187,"./cs.js":1187,"./cv":1188,"./cv.js":1188,"./cy":1189,"./cy.js":1189,"./da":1190,"./da.js":1190,"./de":1191,"./de-at":1192,"./de-at.js":1192,"./de-ch":1193,"./de-ch.js":1193,"./de.js":1191,"./dv":1194,"./dv.js":1194,"./el":1195,"./el.js":1195,"./en-au":1196,"./en-au.js":1196,"./en-ca":1197,"./en-ca.js":1197,"./en-gb":1198,"./en-gb.js":1198,"./en-ie":1199,"./en-ie.js":1199,"./en-il":1200,"./en-il.js":1200,"./en-in":1201,"./en-in.js":1201,"./en-nz":1202,"./en-nz.js":1202,"./en-sg":1203,"./en-sg.js":1203,"./eo":1204,"./eo.js":1204,"./es":1205,"./es-do":1206,"./es-do.js":1206,"./es-mx":1207,"./es-mx.js":1207,"./es-us":1208,"./es-us.js":1208,"./es.js":1205,"./et":1209,"./et.js":1209,"./eu":1210,"./eu.js":1210,"./fa":1211,"./fa.js":1211,"./fi":1212,"./fi.js":1212,"./fil":1213,"./fil.js":1213,"./fo":1214,"./fo.js":1214,"./fr":1215,"./fr-ca":1216,"./fr-ca.js":1216,"./fr-ch":1217,"./fr-ch.js":1217,"./fr.js":1215,"./fy":1218,"./fy.js":1218,"./ga":1219,"./ga.js":1219,"./gd":1220,"./gd.js":1220,"./gl":1221,"./gl.js":1221,"./gom-deva":1222,"./gom-deva.js":1222,"./gom-latn":1223,"./gom-latn.js":1223,"./gu":1224,"./gu.js":1224,"./he":1225,"./he.js":1225,"./hi":1226,"./hi.js":1226,"./hr":1227,"./hr.js":1227,"./hu":1228,"./hu.js":1228,"./hy-am":1229,"./hy-am.js":1229,"./id":1230,"./id.js":1230,"./is":1231,"./is.js":1231,"./it":1232,"./it-ch":1233,"./it-ch.js":1233,"./it.js":1232,"./ja":1234,"./ja.js":1234,"./jv":1235,"./jv.js":1235,"./ka":1236,"./ka.js":1236,"./kk":1237,"./kk.js":1237,"./km":1238,"./km.js":1238,"./kn":1239,"./kn.js":1239,"./ko":1240,"./ko.js":1240,"./ku":1241,"./ku.js":1241,"./ky":1242,"./ky.js":1242,"./lb":1243,"./lb.js":1243,"./lo":1244,"./lo.js":1244,"./lt":1245,"./lt.js":1245,"./lv":1246,"./lv.js":1246,"./me":1247,"./me.js":1247,"./mi":1248,"./mi.js":1248,"./mk":1249,"./mk.js":1249,"./ml":1250,"./ml.js":1250,"./mn":1251,"./mn.js":1251,"./mr":1252,"./mr.js":1252,"./ms":1253,"./ms-my":1254,"./ms-my.js":1254,"./ms.js":1253,"./mt":1255,"./mt.js":1255,"./my":1256,"./my.js":1256,"./nb":1257,"./nb.js":1257,"./ne":1258,"./ne.js":1258,"./nl":1259,"./nl-be":1260,"./nl-be.js":1260,"./nl.js":1259,"./nn":1261,"./nn.js":1261,"./oc-lnc":1262,"./oc-lnc.js":1262,"./pa-in":1263,"./pa-in.js":1263,"./pl":1264,"./pl.js":1264,"./pt":1265,"./pt-br":1266,"./pt-br.js":1266,"./pt.js":1265,"./ro":1267,"./ro.js":1267,"./ru":1268,"./ru.js":1268,"./sd":1269,"./sd.js":1269,"./se":1270,"./se.js":1270,"./si":1271,"./si.js":1271,"./sk":1272,"./sk.js":1272,"./sl":1273,"./sl.js":1273,"./sq":1274,"./sq.js":1274,"./sr":1275,"./sr-cyrl":1276,"./sr-cyrl.js":1276,"./sr.js":1275,"./ss":1277,"./ss.js":1277,"./sv":1278,"./sv.js":1278,"./sw":1279,"./sw.js":1279,"./ta":1280,"./ta.js":1280,"./te":1281,"./te.js":1281,"./tet":1282,"./tet.js":1282,"./tg":1283,"./tg.js":1283,"./th":1284,"./th.js":1284,"./tk":1285,"./tk.js":1285,"./tl-ph":1286,"./tl-ph.js":1286,"./tlh":1287,"./tlh.js":1287,"./tr":1288,"./tr.js":1288,"./tzl":1289,"./tzl.js":1289,"./tzm":1290,"./tzm-latn":1291,"./tzm-latn.js":1291,"./tzm.js":1290,"./ug-cn":1292,"./ug-cn.js":1292,"./uk":1293,"./uk.js":1293,"./ur":1294,"./ur.js":1294,"./uz":1295,"./uz-latn":1296,"./uz-latn.js":1296,"./uz.js":1295,"./vi":1297,"./vi.js":1297,"./x-pseudo":1298,"./x-pseudo.js":1298,"./yo":1299,"./yo.js":1299,"./zh-cn":1300,"./zh-cn.js":1300,"./zh-hk":1301,"./zh-hk.js":1301,"./zh-mo":1302,"./zh-mo.js":1302,"./zh-tw":1303,"./zh-tw.js":1303};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}r.keys=function(){return Object.keys(map)},r.resolve=o,t.exports=r,r.id=1403},1487:function(t,e){},1488:function(t,e){},1490:function(t,e){},1491:function(t,e){},1493:function(t,e){},1494:function(t,e){},1495:function(t,e){},1496:function(t,e){},1497:function(t,e){},1498:function(t,e){},1999:function(t,e,n){var content=n(2331);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("30fd3fe0",content,!0,{sourceMap:!1})},2330:function(t,e,n){"use strict";n(1999)},2331:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,"div[data-v-905bb0ae] .event-description p{margin-bottom:0!important}.grid-width[data-v-905bb0ae]{max-width:290px}.disabled-link[data-v-905bb0ae]{pointer-events:none;text-decoration-line:none}.v-icon__svg[data-v-905bb0ae],div[data-v-905bb0ae] .v-icon__component{height:18px;width:18px}div[data-v-905bb0ae] .v-rating>button{color:var(--interaction-color)!important}#eventdetail[data-v-905bb0ae]{justify-content:center}#desccontainer p[data-v-905bb0ae]{margin-bottom:0!important}@media screen and (min-width:650px){.grid-width[data-v-905bb0ae]{max-width:584px}.grid-width.event-description[data-v-905bb0ae]{max-width:356px}div[data-v-905bb0ae] #additionalinfoconatiner>div{display:flex;flex-direction:column;justify-content:space-between}div[data-v-905bb0ae] #shareicons{max-width:80px}div[data-v-905bb0ae] #shareicons div{display:flex;flex-wrap:wrap;gap:5px}}@media screen and (min-width:1000px){#eventdetail[data-v-905bb0ae]{padding-left:60px!important}.grid-width[data-v-905bb0ae]{max-width:584px!important}}",""]),r.locals={},t.exports=r},2434:function(t,e,n){"use strict";n.r(e);var r=n(1099),o=(n(15),n(62),n(3)),c=n(23),l=n(13),d=(n(38),n(27),n(35),n(31),n(159),n(33),n(29),n(42),n(16),n(17),n(9),n(20),n(18),n(21),n(85)),v=n(1101),h=n.n(v),f=n(1140),m=(n(1995),n(1867)),j=n(1521),w=n(128);function _(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?_(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):_(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={auth:!1,components:{HeaderSection:j.default,ImageAndButtons:m.default,ProfilePictureSlider:f.default},layout:"desktop",fetchOnServer:!0,ssr:!0,props:{id:{type:Object}},data:function(){return{name:"eventdetail",content:null,desc:"",selected:"event",reviewtext:"",rating:0,formvalid:!1,interestbuttondisabled:!1,isEntry:!1,wantsArticle:!1}},fetch:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.fetchEvent();case 2:if(!t.$auth.loggedIn){e.next=9;break}return e.next=5,t.$axios.$get("/api/users/settings/profile/");case 5:n=e.sent,t.wantsArticle=n.profile.wants_article,e.next=10;break;case 9:try{r=navigator.userAgent,t.wantsArticle=!(!r||!r.toLowerCase().includes("bot"))}catch(e){t.wantsArticle=!1}case 10:case"end":return e.stop()}}),e)})))()},jsonld:function(){if(!this.content)return{};var t=this.content.starttime.match(/(\d{2})\.(\d{2})\.(\d{2}) (\d{2}:\d{2})/),e=Object(c.a)(t,5),n=(e[0],e[1]),r=e[2],o=e[3],time=e[4],l="20".concat(o,"-").concat(r,"-").concat(n,"T").concat(time),d={"@context":"http://schema.org","@type":"Event",name:this.content.title,description:this.content.description,image:this.content.image_url,startDate:l,url:this.content?this.content.url:"/",organizer:{"@type":"Organization",name:this.content.event_organizer.name,url:this.content.event_organizer.website},location:{"@type":"Place",name:this.content.event_location.name,address:{"@type":"PostalAddress",addressLocality:this.content.event_location.city,addressRegion:"DE",postalCode:this.content.event_location.zip_code,streetAddress:this.content.event_location.street}}};return this.content.get_reseller_url&&(d.offers={"@type":"Offer",url:this.content.get_reseller_url,price:this.content.price}),this.content.rating&&this.content.review_count>0&&(d.aggregateRating={"@type":"AggregateRating",ratingValue:this.content.rating,reviewCount:this.content.review_count}),d},head:function(){if(!this.content)return{};h.a.locale("de");var t=h()(this.content.starttime,"ddd. DD.MM.YY HH:mm",!0);if(t.isValid()||(t=h()(this.content.starttime,"ddd DD.MM.YY HH:mm",!0)).isValid(),t.isBefore(h()()))return{title:this.content.title+" - twotickets",meta:[{hid:"description",name:"description",content:"Erhalte Freikarten für diese Veranstaltung: "+this.content.title+" - "+this.content.subtitle+", "+this.content.event_location.name+" in "+this.content.event_location.city+" am "+this.content.starttime+"."},{hid:"robots",name:"robots",content:"noindex"}]};if(this.content.other_dates&&this.content.other_dates.length>0){var e=this.content.other_dates[0];if(e.starttime!==this.content.starttime)return{title:this.content.title+" - twotickets",meta:[{hid:"description",name:"description",content:"Erhalte Freikarten für diese Veranstaltung: "+this.content.title+" - "+this.content.subtitle+", "+this.content.event_location.name+" in "+this.content.event_location.city+" am "+this.content.starttime+"."}],link:[{rel:"canonical",href:"https://www.twotickets.de/event/"+e.id+"/"}]}}return{title:this.content.title+" - twotickets",meta:[{hid:"description",name:"description",content:"Erhalte Freikarten für diese Veranstaltung: "+this.content.title+" - "+this.content.subtitle+", "+this.content.event_location.name+" in "+this.content.event_location.city+" am "+this.content.starttime+"."},{hid:"og:title",property:"og:title",content:"".concat(this.content.title," - twotickets")},{hid:"og:description",property:"og:description",content:"Erhalte Freikarten für diese Veranstaltung: ".concat(this.content.title," - ").concat(this.content.subtitle,", ").concat(this.content.event_location.name," in ").concat(this.content.event_location.city," am ").concat(this.content.starttime,".")},{hid:"og:type",property:"og:type",content:"article"},{hid:"og:url",property:"og:url",content:"https://www.twotickets.de/event/".concat(this.content.id,"/")},{hid:"og:image",property:"og:image",content:this.content.image_url}]}},created:function(){},mounted:function(){var t=this;this.$nextTick((function(){t.fetchAdditionalEventInfo()})),setTimeout((function(){t.$nuxt.$emit("eventCity",t.content.event_location.city),t.$nuxt.$emit("eventName",t.content.title)}),1e3),(!this.$auth.loggedIn||this.$auth.loggedIn&&!this.$auth.user.is_member)&&(Object(w.b)("https://ad4m.at/whagfyl1.js"),Object(w.c)("generic"))},computed:x(x({},Object(d.c)({getContent:"eventdetail/getContent"})),{},{buttonWidth:function(){return this.$vuetify.breakpoint.lgAndUp?"320":this.$vuetify.breakpoint.mdOnly?"232":"290"}}),methods:x({fetchEvent:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="/api/events/event/",t.$route.query.entry&&(n="/api/events/entry/",t.isEntry=!0),e.next=4,t.$axios.get(n+t.$route.params.eventdetail+"/");case 4:200!==(r=e.sent).status?(t.$toast.error("Das Event wurde nicht gefunden."),t.$router.go(-1)):(t.content=r.data,t.content.event_interests=[],t.content.reviews=[],t.isEntry&&(t.content.event_organizer={},t.content.event_location={})),t.$nuxt.$emit("eventCity",t.content.event_location.city),t.$nuxt.$emit("eventName",t.content.title);case 8:case"end":return e.stop()}}),e)})))()},fetchAdditionalEventInfo:function(){var t=this;return Object(l.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.query.entry){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.$axios.get("/api/events/event-additional/"+t.$route.params.eventdetail+"/");case 4:200===(n=e.sent).status&&(t.content.event_interests=n.data.event_interests,t.content.reviews=n.data.reviews);case 6:case"end":return e.stop()}}),e)})))()},submit:function(){}},Object(d.b)({fetchContent:"eventdetail/fetchContent"}))},k=(n(2330),n(0)),component=Object(k.a)(y,(function(){var t=this,e=t._self._c;return e("div",[t.content?e("div",[e(r.a,{class:"pa-0 ma-0 ",staticStyle:{padding:"0"},attrs:{id:"eventdetail"}},[e("portal",{attrs:{to:"desktopMenuSlot"}},[e("ImageAndButtons",{attrs:{"is-entry":t.isEntry,content:t.content,interestbuttondisabled:t.interestbuttondisabled},on:{fetchEvent:t.fetchEvent}})],1),t._v(" "),e("HeaderSection",{staticClass:"grid-width",attrs:{content:t.content}}),t._v(" "),e("div",{staticClass:"d-flex flex-wrap justify-space-around"},[t.$vuetify.breakpoint.mdAndDown?e("ImageAndButtons",{staticClass:"mb-9",attrs:{"is-entry":t.isEntry,content:t.content,interestbuttondisabled:t.interestbuttondisabled}}):t._e(),t._v(" "),e("EventDescription",{staticClass:"grid-width event-description",attrs:{id:"",description:t.content.description,article:t.content.article,"wants-article":t.wantsArticle}})],1),t._v(" "),e("EventInformation",{staticClass:"grid-width mx-auto mt-8",attrs:{"is-entry":t.isEntry,content:t.content}}),t._v(" "),e("div",{staticClass:"mt-10 mb-5 mx-auto grid-width"},[e("p",{staticClass:"e2 ma-0 text-md-center font-size-14"},[t._v("\n Für diese Veranstaltungen gibt es\n ")]),t._v(" "),e("h5",{staticClass:"interaction--text text-md-center font-size-sm-16 font-size-14"},[t._v("\n "+t._s(t.content.interest_count)+" Interessenten\n ")])]),t._v(" "),e("div",{staticClass:"mx-auto mb-6"},[e("ProfilePictureSlider",{staticClass:"mx-auto",attrs:{"event-detail":!0,linked:!0,size:60,users:t.content.event_interests}})],1)],1),t._v(" "),t.isEntry?t._e():e("ReviewListing",{staticClass:"pl-lg-15 pl-md-15",attrs:{"is-event-detail":!0,reviews:t.content.reviews,canreview:!0}})],1):t._e()])}),[],!1,null,"905bb0ae",null);e.default=component.exports;installComponents(component,{EventDescription:n(1868).default,EventInformation:n(1869).default,ProfilePictureSlider:n(1140).default,ReviewListing:n(1355).default})}}]);