1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2d13e56b-9610-4e0c-b739-28270accca88",e._sentryDebugIdIdentifier="sentry-dbid-2d13e56b-9610-4e0c-b739-28270accca88")}catch(e1){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1900],{87037:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/[userId]/events",function(){return __webpack_require__(84996)}])},73740:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{i:function(){return ColorLine}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(51857),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__);let ColorLine=param=>{let{side="top",color}=param;return color?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"jsx-6a1824f2c55b084d "+styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default().dynamic([["5f3d66c3bad21b69",[side,color?"".concat(color," .5rem solid"):"0"]]]),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"6a1824f2c55b084d",children:'div.jsx-6a1824f2c55b084d:before{content:"";display:block;pointer-events:none;position:absolute;bottom:0;top:0;left:0;right:0}'}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"5f3d66c3bad21b69",dynamic:[side,color?"".concat(color," .5rem solid"):"0"],children:"div.__jsx-style-dynamic-selector:before{border-".concat(side,":").concat(color?"".concat(color," .5rem solid"):"0","}")})]}):null}},95986:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{DL:function(){return UserLink},JH:function(){return Entity},JW:function(){return EventLink},T$:function(){return HubLink},gE:function(){return TrackLink}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(51857),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__),classnames__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(94184),classnames__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__),next_link__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(41664),next_link__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_3__),_components_ImageIcon__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(27290);let styles={styles:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"1cdb29fee218a91",children:".Entity.jsx-1cdb29fee218a91{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:var(--color-action-text);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:500;font-size:1.4rem;text-decoration:none}a.Entity.jsx-1cdb29fee218a91:hover{color:var(--color-action-hover)}.notice.jsx-1cdb29fee218a91{color:var(--color-notice);font-weight:400}a.notice.jsx-1cdb29fee218a91:hover{color:var(--color-notice-hover)}.small.jsx-1cdb29fee218a91{font-size:1.2rem}.x-small.jsx-1cdb29fee218a91{font-size:1rem}.image.jsx-1cdb29fee218a91{margin-right:.7rem}.title.jsx-1cdb29fee218a91{min-width:0;max-width:15rem;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}"}),className:"jsx-1cdb29fee218a91"},Entity=param=>{let{image,color,size="default",imageTheme="rounded-square",title,href,children}=param,className=classnames__WEBPACK_IMPORTED_MODULE_2___default()(styles.className,"Entity",color,size),content=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[image?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:classnames__WEBPACK_IMPORTED_MODULE_2___default()(styles.className,"image"),children:"string"==typeof image?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_ImageIcon__WEBPACK_IMPORTED_MODULE_4__.X,{src:image,theme:imageTheme}):image}):null,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:classnames__WEBPACK_IMPORTED_MODULE_2___default()(styles.className,"title"),children:children}),styles.styles]});return href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(next_link__WEBPACK_IMPORTED_MODULE_3___default(),{legacyBehavior:!0,href:href,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a",{className:className,children:content})}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:className,title:title,children:content})},TrackLink=param=>{let{track:{icon,image,slug,id,title},...rest}=param;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Entity,{...rest,image:icon||image,href:"/tracks/".concat(slug||id),children:title})},EventLink=param=>{let{event:{icon,image,slug,id,title},...rest}=param;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Entity,{...rest,image:icon||image,href:"/events/".concat(slug||id),children:title})},HubLink=param=>{let{hub:{icon,slug,id,title},...rest}=param;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Entity,{...rest,image:icon,href:"/hubs/".concat(slug||id),children:title})},UserLink=param=>{let{user:{id,username,display_name,avatar},...rest}=param;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Entity,{...rest,title:display_name,image:avatar,imageTheme:"circle",href:"/users/".concat(username||id),children:display_name||username})}},83765:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:function(){return ProfileEventCard}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(51857),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__),classnames__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(94184),classnames__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__),next_link__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(41664),next_link__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_3__),react_intl__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(44012),_components_Card__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(21730),_components_Card_ColorLine__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(73740),_components_Card_Figure__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(77763),_components_Card_Footer__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(78942),_components_Card_Header__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(33730),_components_Card_Reactions__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(71136),_components_EntityLink__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(95986),_components_FormattedDate_DateRange__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(39805),_helpers_serverTimeDifference__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(96436),_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(81039),_types__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(82702);let subtypeStyles=new Map([["external",{styles:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"3ed44c5ce394520c",children:".content.jsx-3ed44c5ce394520c{padding:.8rem;width:11.2rem}@media(max-width:800px){.content.jsx-3ed44c5ce394520c{width:auto}}"}),className:"jsx-3ed44c5ce394520c"}],["secondary",{styles:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"aedce364ca7925bd",children:".image.jsx-aedce364ca7925bd{display:none}.content.jsx-aedce364ca7925bd{width:18rem}@media(max-width:800px){.content.jsx-aedce364ca7925bd{width:auto}}"}),className:"jsx-aedce364ca7925bd"}],["standalone",{styles:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"ab1372a07b3abf8a",children:".image.jsx-ab1372a07b3abf8a{aspect-ratio:1}.content.jsx-ab1372a07b3abf8a{width:20.4rem}@media(max-width:800px){.inner.jsx-ab1372a07b3abf8a{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.image.jsx-ab1372a07b3abf8a{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%}.content.jsx-ab1372a07b3abf8a{width:auto}}"}),className:"jsx-ab1372a07b3abf8a"}],["conference",{styles:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"bdbdfda5c6e58f4a",children:".image.jsx-bdbdfda5c6e58f4a{aspect-ratio:2.1}.content.jsx-bdbdfda5c6e58f4a{width:21rem}@media(max-width:800px){.image.jsx-bdbdfda5c6e58f4a{aspect-ratio:1.84}.content.jsx-bdbdfda5c6e58f4a{width:auto}}"}),className:"jsx-bdbdfda5c6e58f4a"}],["special",{styles:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"c7140d82130fef89",children:".content.jsx-c7140d82130fef89{width:18rem}@media(max-width:800px){.content.jsx-c7140d82130fef89{width:auto}}"}),className:"jsx-c7140d82130fef89"}]]),ProfileEventCard=param=>{let{event:{id,slug,title,start_dt,end_dt,location,subtype=_types__WEBPACK_IMPORTED_MODULE_14__.ey,color,reactions,reactions_count,banner}}=param,from=(0,_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_13__.q)(start_dt||0),to=(0,_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_13__.q)(end_dt||from),current=(0,_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_13__.q)((0,_helpers_serverTimeDifference__WEBPACK_IMPORTED_MODULE_12__.z)()),subtypeStyle=subtypeStyles.get(subtype);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(next_link__WEBPACK_IMPORTED_MODULE_3___default(),{legacyBehavior:!0,href:"/events/".concat(slug||id),passHref:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("a",{className:"jsx-c7e532e62c20910f "+((null==subtypeStyle?void 0:subtypeStyle.className)||""),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components_Card__WEBPACK_IMPORTED_MODULE_4__.Z,{noPadding:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"jsx-c7e532e62c20910f "+(classnames__WEBPACK_IMPORTED_MODULE_2___default()(null==subtypeStyle?void 0:subtypeStyle.className,"inner")||""),children:["secondary"===subtype||"external"===subtype?null:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"jsx-c7e532e62c20910f "+(classnames__WEBPACK_IMPORTED_MODULE_2___default()(null==subtypeStyle?void 0:subtypeStyle.className,"image")||""),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_Card_Figure__WEBPACK_IMPORTED_MODULE_6__.jA,{src:banner,alt:title})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"jsx-c7e532e62c20910f "+(classnames__WEBPACK_IMPORTED_MODULE_2___default()(null==subtypeStyle?void 0:subtypeStyle.className,"content")||""),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p",{className:"jsx-c7e532e62c20910f "+(classnames__WEBPACK_IMPORTED_MODULE_2___default()(null==subtypeStyle?void 0:subtypeStyle.className,"header")||""),children:"external"===subtype?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:"jsx-c7e532e62c20910f",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_EntityLink__WEBPACK_IMPORTED_MODULE_10__.JH,{image:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img",{alt:"",src:"/images/external-square.svg",className:"jsx-c7e532e62c20910f"}),size:"x-small",color:"notice",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_15__.Z,{defaultMessage:"External event",id:"YXdAb6",description:"Events card"})})}):null}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p",{className:"jsx-c7e532e62c20910f "+(classnames__WEBPACK_IMPORTED_MODULE_2___default()(null==subtypeStyle?void 0:subtypeStyle.className,"date")||""),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{className:"jsx-c7e532e62c20910f",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_FormattedDate_DateRange__WEBPACK_IMPORTED_MODULE_11__.C,{from:from,to:to,month:"short",current:current})})}),location?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p",{className:"jsx-c7e532e62c20910f "+(classnames__WEBPACK_IMPORTED_MODULE_2___default()(null==subtypeStyle?void 0:subtypeStyle.className,"location")||""),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{title:location,className:"jsx-c7e532e62c20910f",children:location})}):null,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{title:title,className:"jsx-c7e532e62c20910f header",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_Card_Header__WEBPACK_IMPORTED_MODULE_8__.O,{lineClamp:"external"===subtype?3:2,children:title})}),"external"!==subtype&&reactions&&reactions_count?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_Card_Footer__WEBPACK_IMPORTED_MODULE_7__.e,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_Card_Reactions__WEBPACK_IMPORTED_MODULE_9__.N,{reactions:reactions,reactions_count:reactions_count})}):null]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_Card_ColorLine__WEBPACK_IMPORTED_MODULE_5__.i,{side:"left",color:color})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"c7e532e
162c20910f",children:"a.jsx-c7e532e62c20910f{-webkit-box-align:stretch;-webkit-align-items:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;color:inherit;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-decoration:inherit}.inner.jsx-c7e532e62c20910f{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.visibility.jsx-c7e532e62c20910f{color:var(--color-text);font-size:1rem;font-weight:500;text-transform:uppercase}.header.jsx-c7e532e62c20910f{height:1.8rem;position:relative}.image.jsx-c7e532e62c20910f{min-height:18rem;overflow:hidden;position:relative}.content.jsx-c7e532e62c20910f{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:18rem;padding:.8rem 1.6rem}p.jsx-c7e532e62c20910f{color:var(--color-notice);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:1.2rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:.9rem}p.jsx-c7e532e62c20910f:first-child{margin-top:0}span.jsx-c7e532e62c20910f{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.date.jsx-c7e532e62c20910f{color:var(--color-text);font-weight:700;font-size:1rem}.header.jsx-c7e532e62c20910f{margin-top:1.4rem}@media(max-width:800px){a.jsx-c7e532e62c20910f{width:-webkit-calc((100% - var(--layout-gutter-width)*2)/2);width:-moz-calc((100% - var(--layout-gutter-width)*2)/2);width:calc((100% - var(--layout-gutter-width)*2)/2)}.image.jsx-c7e532e62c20910f{min-height:0}.inner.jsx-c7e532e62c20910f{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}p.jsx-c7e532e62c20910f{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-top:.5rem}p.jsx-c7e532e62c20910f:first-child{margin-top:0}.content.jsx-c7e532e62c20910f{height:14.6rem;min-width:0}.header.jsx-c7e532e62c20910f{margin-top:.4rem}}"}),null==subtypeStyle?void 0:subtypeStyle.styles]})})}},82702:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ss:function(){return getEventTabs},YR:function(){return getSectionId},ey:function(){return DEFAULT_EVENT_SUBTYPE},mf:function(){return getEventParentUrl}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),react_intl__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44012),react_intl__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(54490);let DEFAULT_EVENT_SUBTYPE="secondary";function getSectionId(sectionDate){let index=sectionDate.indexOf("T");return index>-1?sectionDate.substr(0,index):sectionDate}function getEventParentUrl(event){return"meetup"===event.type&&event.parent_course?"/tracks/".concat(event.parent_course.slug||event.parent_course.id):"meetup"===event.type&&event.parent_event?"/events/".concat(event.parent_event.slug||event.parent_event.id):"/events"}function getEventTabs(event,selected){var ref;let{slug,id,sections,pages,is_member,news,is_editable,roles}=event,hrefPrefix="/events/".concat(slug||id),result=[];return((null==news?void 0:news.length)||is_editable)&&result.push({id:"news",href:"".concat(hrefPrefix,"/news"),content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_1__.Z,{defaultMessage:"News",id:"yG0ScA",description:"[caption] Tab caption on event page"}),selected:"news"===selected,visibility:(null==news?void 0:news.length)===0?"hidden":void 0}),null==sections||sections.forEach(sections=>{let id=getSectionId(sections.date);result.push({id,href:"".concat(hrefPrefix,"/sections/").concat(id),content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_2__.Ji,{value:sections.date,month:"long",day:"numeric",year:"numeric"}),selected:id===selected})}),null==pages||pages.filter(param=>{let{visibility}=param;
1return is_member||"hidden"!==visibility}).forEach(page=>{let id=page.slug||page.id;result.push({id,href:"".concat(hrefPrefix,"/").concat(id),content:page.title,selected:id===selected,visibility:page.visibility})}),"event"===event.type&&(null===(ref=event.courses)||void 0===ref?void 0:ref.length)&&result.push({id:"tracks",href:"".concat(hrefPrefix,"/tracks"),content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_1__.Z,{defaultMessage:"Tracks",id:"l7AO+v",description:"[caption] Tab caption on event page"}),selected:"tracks"===selected}),event.is_editable&&result.push({id:"members",href:"".concat(hrefPrefix,"/members"),content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_1__.Z,{defaultMessage:"Members",id:"i6+Hnr",description:"[caption] Tab caption on event page"}),selected:"members"===selected,visibility:"hidden"}),(null==roles?void 0:roles.some(role=>"owner"===role||"smm_manager"===role))&&result.push({id:"analytics",href:"".concat(hrefPrefix,"/analytics"),content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_1__.Z,{defaultMessage:"Analytics",id:"2tlMBW",description:"[caption] Tab caption on course page"}),selected:"analytics"===selected,visibility:"hidden"}),result}},39805:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{C:function(){return DateRange}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(51857),styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__),react_intl__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(97526),_helpers_serverTimeDifference__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(96436),_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81039),_hooks_useMounted__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(40696);let DateRange=props=>{let from=(0,_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_3__.q)(props.from),to=(0,_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_3__.q)(props.to||props.from),current=(0,_hooks_useMemoDate__WEBPACK_IMPORTED_MODULE_3__.q)(props.current||(0,_helpers_serverTimeDifference__WEBPACK_IMPORTED_MODULE_2__.z)()),mounted=(0,_hooks_useMounted__WEBPACK_IMPORTED_MODULE_4__.s)(),{day="numeric",month="long",year=current.getFullYear()!==to.getFullYear()?"numeric":void 0}=props;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",{className:"jsx-20a3b62a606fcef5",children:[mounted?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_intl__WEBPACK_IMPORTED_MODULE_5__.Z,{from:from,to:from>to?from:to,day:day,month:month,year:year}):null," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default(),{id:"20a3b62a606fcef5",children:'span.jsx-20a3b62a606fcef5:after{content:".";color:transparent;display:inline-block;width:0}'})]})}},81039:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{V:function(){return useMemoDateOrUndefined},q:function(){return useMemoDate}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(67294),_helpers_date__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(92011);let useMemoDate=date=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>(0,_helpers_date__WEBPACK_IMPORTED_MODULE_1__.P9)(date),[date]),useMemoDateOrUndefined=date=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>void 0===date?void 0:(0,_helpers_date__WEBPACK_IMPORTED_MODULE_1__.P9)(date),[date])},84996:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__N_SSP:function(){return __N_SSP},default:function(){return User},formatUserInput:function(){return formatUserInput}});var jsx_runtime=__webpack_require__(85893),style=__webpack_require__(51857),style_default=__webpack_require__.n(style),next_router=__webpack_require__(11163),next_seo_module=__webpack_require__(2962),react=__webpack_require__(67294),lib=__webpack_require__(54490),useIntl=__webpack_require__(86896),message=__webpack_require__(44012),Avatar=__webpack_require__(187),Container=__webpack_require__(64175),Header=__webpack_require__(80170),usePaging=__webpack_require__(92394),classnames=__webpack_require__(94184),classnames_default=__webpack_require__.n(classnames),ProfileCard=__webpack_require__(83765),LoadNextContainer=__webpack_require__(80620),types=__webpack_require__(82702);let mobileHalfSubtype=new Set(["external","secondary"]),EventsGrid=param=>{let{items,...rest}=param,halfsInARow=0;return(0,jsx_runtime.jsx)(LoadNextContainer.z,{...rest,children:(null==items?void 0:items.length)?(0,jsx_runtime.jsxs)("div",{className:"jsx-41b0687cef16b306 list",children:[items.map((event,
1index)=>{var ref;let isHalf=mobileHalfSubtype.has(event.subtype||types.ey),isNexthalf=mobileHalfSubtype.has((null===(ref=items[index+1])||void 0===ref?void 0:ref.subtype)||types.ey);return isHalf?halfsInARow+=1:halfsInARow=0,(0,jsx_runtime.jsx)("div",{className:"jsx-41b0687cef16b306 "+(classnames_default()("item",{mobileHalf:!!halfsInARow&&(isNexthalf||halfsInARow%2==0)})||""),children:(0,jsx_runtime.jsx)(ProfileCard.Q,{event:event})},"".concat(event.id,"-").concat(index))}),(0,jsx_runtime.jsx)(style_default(),{id:"41b0687cef16b306",children:".list.jsx-41b0687cef16b306{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin:-webkit-calc(var(--layout-gutter-half-width)*-1)0;margin:-moz-calc(var(--layout-gutter-half-width)*-1)0;margin:calc(var(--layout-gutter-half-width)*-1)0;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;--list-padding:calc(\n (var(--layout-content-width) - var(--layout-max-width)) / 2 +\n var(--layout-gutter-half-width)\n );padding:0 var(--layout-gutter-half-width)0 max(var(--list-padding),var(--layout-gutter-half-width))}.item.jsx-41b0687cef16b306{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;min-width:0;margin:var(--layout-gutter-half-width)}@media(max-width:800px){.item.jsx-41b0687cef16b306{width:-webkit-calc(100% - var(--layout-gutter-width));width:-moz-calc(100% - var(--layout-gutter-width));width:calc(100% - var(--layout-gutter-width))}.mobileHalf.jsx-41b0687cef16b306{width:-webkit-calc((100% - var(--layout-gutter-width)*2)/2);width:-moz-calc((100% - var(--layout-gutter-width)*2)/2);width:calc((100% - var(--layout-gutter-width)*2)/2)}}"})]}):null})},extractItems=data=>data.data,EventsListGrid=param=>{let{title,loadBehavior,initialData,params,url,itemsAdapter=extractItems}=param,getRequestConfig=(0,react.useCallback)(param=>{let{offset}=param;return{url,params:{...params,offset}}},[params,url]),{items,loading,error,loadNext}=(0,usePaging.C)({getRequestConfig,data:initialData,extractItems:itemsAdapter});return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[title?(0,jsx_runtime.jsx)(Header.h4,{size:2,children:title}):null,(0,jsx_runtime.jsx)(EventsGrid,{loadBehavior:loadBehavior,items:items,loading:loading,error:error,loadNext:loadNext})]})};
1var ContentWithSidebar=__webpack_require__(37494),ListRequestForm=__webpack_require__(87723),ListRequestParams=__webpack_require__(42086),Location=__webpack_require__(95919),PersonalLink=__webpack_require__(47474),Properties=__webpack_require__(46474),UserTabs=__webpack_require__(19883),Sidebar=__webpack_require__(71324),MainMenu=__webpack_require__(61887),UserMenu=__webpack_require__(68833);let messages=(0,lib.vU)({title:{defaultMessage:"Profile",id:"eSa/51",description:"[title] Profile page"}});var __N_SSP=!0;let formatUserInput=function(){let rawText=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",trimmedText=rawText.trim();return trimmedText?trimmedText.split(/[\s\uFEFF\xA0]*\n[\n\s\uFEFF\xA0]+/).map((text,id)=>({id:id.toString(),lines:text.split("\n")})):[]},itemsAdapter=data=>data.data.map(event=>{let{reactions,reactions_count,...restFields}=event;return restFields});function User(param){let{userData,activePageData,activeParams,pastPageData,pastParams,relations}=param,intl=(0,useIntl.Z)(),router=(0,next_router.useRouter)(),handleParams=(0,react.useCallback)(params=>router.replace({pathname:router.pathname,query:(0,ListRequestParam
1s.JO)(params,router.query)},void 0,{scroll:!1}),[router]),aboutList=(0,react.useMemo)(()=>formatUserInput(userData.about||""),[userData.about]);return(0,jsx_runtime.jsxs)(ContentWithSidebar.uX,{children:[(0,jsx_runtime.jsx)(ContentWithSidebar._G,{children:(0,jsx_runtime.jsxs)(Sidebar.Y,{children:[(0,jsx_runtime.jsx)(MainMenu.l,{}),(0,jsx_runtime.jsx)(UserMenu.I,{user:userData,relations:relations,slug:"events"})]})}),(0,jsx_runtime.jsxs)(ContentWithSidebar.OO,{children:[(0,jsx_runtime.jsxs)(Container.W,{children:[(0,jsx_runtime.jsx)(next_seo_module.PB,{title:userData.display_name||intl.formatMessage(messages.title)}),(0,jsx_runtime.jsxs)("div",{className:"jsx-1fd1739529682167 layout",children:[(0,jsx_runtime.jsx)("div",{className:"jsx-1fd1739529682167 avatar",children:(0,jsx_runtime.jsx)(Avatar.q,{url:userData.avatar,id:userData.id})}),(0,jsx_runtime.jsxs)("div",{className:"jsx-1fd1739529682167 content",children:[(0,jsx_runtime.jsx)("div",{className:"jsx-1fd1739529682167 header",children:(0,jsx_runtime.jsx)("div",{className:"jsx-1fd1739529682167 name",children:userData.talent_id||userData.display_name||userData.username})}),(0,jsx_runtime.jsx)("div",{className:"jsx-1fd1739529682167 props",children:userData.is_verified||userData.country||userData.city?(0,jsx_runtime.jsx)("div",{className:"jsx-1fd1739529682167 prop",children:(0,jsx_runtime.jsxs)(Properties.E,{children:[(0,jsx_runtime.jsx)(Location.Y,{country:userData.country,city:userData.city}),userData.is_verified?(0,jsx_runtime.jsx)(PersonalLink.A,{username:userData.username}):null]})}):null})]})]}),(0,jsx_runtime.jsx)("div",{className:"jsx-1fd1739529682167 about",children:aboutList.map(param=>{let{id,lines}=param;return(0,jsx_runtime.jsx)("p",{className:"jsx-1fd1739529682167",children:lines.map((line,index)=>(0,jsx_runtime.jsxs)(react.Fragment,{children:[index?(0,jsx_runtime.jsx)("br",{className:"jsx-1fd1739529682167"}):null,line]},index))},id)})})]}),(0,jsx_runtime.jsx)(UserTabs.Z,{relations:relations,userData:userData,activeRelation:"events"}),(0,jsx_runtime.jsx)(ListRequestForm.Z,{onChange:handleParams,params:activeParams}),activePageData.data.length?(0,jsx_runtime.jsx)(EventsListGrid,{initialData:activePageData,url:"/users/relations/".concat(userData.id,"/events/"),title:(0,jsx_runtime.jsx)(message.Z,{defaultMessage:"Active",id:"Df6rQd",description:"[header] User events List"}),params:activeParams,itemsAdapter:itemsAdapter}):null,pastPageData.data.length?(0,jsx_runtime.jsx)(EventsListGrid,{initialData:pastPageData,url:"/users/relations/".concat(userData.id,"/events/"),title:(0,jsx_runtime.jsx)(message.Z,{defaultMessage:"Completed",id:"GRQ55O",description:"[header] User events List"}),params:pastParams,itemsAdapter:itemsAdapter}):null,(0,jsx_runtime.jsx)(style_default(),{id:"1fd1739529682167",children:".layout.jsx-1fd1739529682167{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;position:relative}.avatar.jsx-1fd1739529682167{margin-right:2rem;height:6.4rem;width:6.4rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.content.jsx-1fd1739529682167{font-size:1.8rem;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.header.jsx-1fd1739529682167{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:1.3rem}.name.jsx-1fd1739529682167{font-size:2rem;font-weight:500}.about.jsx-1fd1739529682167{color:var(--color-notice);font-size:1.6rem;line-height:1.4;margin-top:2.4rem}p.jsx-1fd1739529682167+p.jsx-1fd1739529682167{margin-top:1em}.props.jsx-1fd1739529682167{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;
1-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:-.5rem -1rem}.prop.jsx-1fd1739529682167{margin:.5rem 1rem}.invite.jsx-1fd1739529682167{margin:0 1rem 0 auto}@media(max-width:550px){.layout.jsx-1fd1739529682167{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.avatar.jsx-1fd1739529682167{margin:0 0 1.2rem}.invite.jsx-1fd1739529682167{margin-left:1rem}}"})]})]})}},97526:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(25719),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(67294),_useIntl__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(86896),FormattedDateTimeRange=function(props){var intl=(0,_useIntl__WEBPACK_IMPORTED_MODULE_1__.Z)(),from=props.from,to=props.to,children=props.children,formatProps=(0,tslib__WEBPACK_IMPORTED_MODULE_2__._T)(props,["from","to","children"]),formattedValue=intl.formatDateTimeRange(from,to,formatProps);if("function"==typeof children)return children(formattedValue);var Text=intl.textComponent||react__WEBPACK_IMPORTED_MODULE_0__.Fragment;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Text,null,formattedValue)};FormattedDateTimeRange.displayName="FormattedDateTimeRange",__webpack_exports__.Z=FormattedDateTimeRange}},function(__webpack_require__){__webpack_require__.O(0,[5551,1601,6337,4302,4978,4232,4469,4130,9064,9774,2888,179],function(){return __webpack_require__(__webpack_require__.s=87037)}),_N_E=__webpack_require__.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.