1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3972],{52016:function(t,e,n){"use strict";function i(t){return[].concat(t)}function o(t){return t.startsWith(":")}function s(t){return a(t)&&("*"===t||t.length>1&&":>~.+*".includes(t.slice(0,1))||u(t))}function r(t,e){return(a(e)||"number"==typeof e)&&"--"!==t&&!o(t)&&!l(t)}function l(t){return t.startsWith("@media")}function a(t){return t+""===t}function u(t){return a(t)&&(t.startsWith("&")||o(t))}function c(t,e=""){return t.filter(Boolean).join(e)}function d(t,e){let n=0;if(0===e.length)return n.toString();for(let i=0;i<e.length;i++){let o=e.charCodeAt(i);n=(n<<5)-n+o,n&=n}return`${t??"cl"}_${n.toString(36)}`}n.d(e,{S:function(){return y},cx:function(){return function t(...e){let n=e.reduce((e,n)=>(n instanceof Set?e.push(...n):"string"==typeof n?e.push(n):Array.isArray(n)?e.push(t(...n)):"object"==typeof n&&Object.entries(n).forEach(([t,n])=>{n&&e.push(t)}),e),[]);return c(n," ").trim()}}});var h=class t{constructor(t,e,n,i){this.sheet=t,this.property=e,this.value=n,this.selector=i,this.property=e,this.value=n,this.joined=`${e}:${n}`;let o=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:d(this.sheet.name,this.joined),this.key=c([this.joined,o,this.hash])}toString(){let e=f(this.selector.preconditions,{right:this.hash});return`${e=f(this.selector.postconditions,{left:e})} {${t.genRule(this.property,this.value)}}`}static genRule(t,e){let n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return`${n}:${"content"===t?`"${e}"`:e};`}};function f(t,{left:e="",right:n=""}={}){let i=t.reduce((t,e)=>o(e)?t+e:u(e)?t+e.slice(1):c([t,e]," "),e);return c([i,n?`.${n}`:""]," ")}var p=class t{constructor(t,e=null,{preconditions:n,postconditions:o}={}){this.sheet=t,this.preconditions=[],this.scopeClassName=null,this.scopeName=null,this.postconditions=[],this.preconditions=n?i(n):[],this.postconditions=o?i(o):[],this.setScope(e)}setScope(t){return t&&(this.scopeClassName||(this.scopeName=t,this.scopeClassName=d(this.sheet.name,t+this.sheet.count))),this}get hasConditions(){return this.preconditions.length>0||this.postconditions.length>0}addScope(e){return new t(this.sheet,e,{preconditions:this.preconditions,postconditions:this.postconditions})}addPrecondition(e){return new t(this.sheet,this.scopeClassName,{postconditions:this.postconditions,preconditions:this.preconditions.concat(e)})}addPostcondition(e){return new t(this.sheet,this.scopeClassName,{preconditions:this.preconditions,postconditions:this.postconditions.concat(e)})}createRule(t,e){return new h(this.sheet,t,e,this)}},v=class{constructor(t,e){this.name=t,this.rootNode=e,this.storedStyles={},this.storedClasses={},this.style="",this.count=0,this.id=`flairup-${t}`,this.styleTag=this.createStyleTag()}getStyle(){return this.style}append(t){var e;this.style=(e=this.style)?`${e} 2${t}`:t}apply(){this.count++,this.styleTag&&(this.styleTag.innerHTML=this.style)}isApplied(){return!!this.styleTag}createStyleTag(){if("undefined"==typeof document||this.isApplied()||null===this.rootNode)return this.styleTag;let t=document.createElement("style");return t.type="text/css",t.id=this.id,(this.rootNode??document.head).appendChild(t),t}addRule(t){let e=this.storedClasses[t.key];return a(e)?e:(this.storedClasses[t.key]=t.hash,this.storedStyles[t.hash]=[t.property,t.value],this.append(t.toString()),t.hash)}};function m(t,e){for(let n in t)e(n.trim(),t[n])}function y(t,e){let n=new v(t,e);return{create:function(t){let e={};return(function t(e,n,i){let o=[];return m(n,(r,l)=>{if(s(r))return t(e,l,i.addPrecondition(r)).forEach(t=>o.push(t));o.push([r,n[r],i.addScope(r)])}),o})(n,t,new p(n)).forEach(([t,o,a])=>{(function t(e,n,o){let a=new Set;return m(n,(n,u)=>{let c=[];if(s(n))c=t(e,u,o.addPostcondition(n));else if("."===n)c=i(u);else if(l(n))c=function(e,n,i,o){e.append(i+" {");let s=t(e,n,o);return e.append("}"),s}(e,u,n,o);else if("--"===n)c=function(e,n,i){let o=new Set,s=[];if(m(n,(n,l)=>{if(r(n,l)){s.push(h.genRule(n,l));return}let a=t(e,l??{},i);g(a,o)}),!i.scopeClassName)return o;if(s.length){let l=s.join(" ");e.append(`${f(i.preconditions,{right:i.scopeClassName})} {${l}}`)}return o.add(i.scopeClassName),o}(e,u,o);else if(r(n,u)){let d=o.createRule(n,u);e.addRule(d),a.add(d.hash)}return g(c,a)}),a}
2)(n,o,a).forEach(n=>{e[t]=e[t]??new Set,e[t].add(n)})}),n.apply(),e},getStyle:n.getStyle.bind(n),isApplied:n.isApplied.bind(n)}}function g(t,e){return t.forEach(t=>e.add(t)),e}},59674:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[eventId]/breakout-rooms/[roomId]",function(){return n(34255)}])},25513:function(t,e,n){"use strict";var i=n(85893),o=n(86893),s=n(51773);let r=t=>{let{className:e,show:n}=t;return(0,i.jsx)(s.default,{className:null!=e?e:"sticky flex-1 bottom-0 text-white p-8 flex space-x-4 w-full justify-end items-end z-30 pointer-events-none translate-x-2",children:(0,i.jsx)(s.default,{show:n,className:"bg-white w-15 h-15 rounded-full flex items-center justify-center cursor-pointer pointer-events-auto hover:bg-gray-200 transform border border-forumm-menu-border",onClick(){document.dispatchEvent(new CustomEvent("toggle-chatbox"))},children:(0,i.jsx)(o.EQ9,{className:"text-forumm-blue w-8 h-8 "})})})};e.Z=r},28093:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(85893),o=n(12451);function s(t){let{children:e,className:n="",onClick:s}=t;return(0,i.jsx)(o.E.div,{initial:{x:-10,opacity:0},animate:{x:0,opacity:1},exit:{x:300,opacity:0},transition:{type:"spring",stiffness:260,damping:20},className:"flex-1 overflow-y-scroll outline-red-500 scrollbar-hide relative flex flex-col ".concat(n),onClick:()=>null==s?void 0:s(),children:e})}},87755:function(t,e,n){"use strict";n.d(e,{p:function(){return o}});var i=n(66703);let o=(0,i.B)("\n query getEventById($input: GetEventByIdInput!) {\n getEventById(input: $input) {\n ...EventFull\n }\n }\n")},44714:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var i=n(66703);let o=(0,i.B)("\n mutation addStatistic(\n $anonymousId: String\n $userId: String\n $url: String\n $ip: String\n $country: String\n $browser: String\n ) {\n addStatistic(\n anonymousId: $anonymousId\n userId: $userId\n url: $url\n ip: $ip\n country: $country\n browser: $browser\n )\n }\n")},57752:function(t,e,n){"use strict";n.d(e,{MJ:function(){return E},_E:function(){return I},ZP:function(){return b}});var i=n(85893),o=n(66252),s=n(6812),r=n(62293),l=n(38999),a=n(87755),u=n(5779),c=n(65820),d=n(11163),h=n(67294),f=n(95996),p=n(39099),v=n(51773),m=n(66703);let y=(0,m.B)("\n query getBreakoutUserCount($input: GetEventByIdInput!) {\n getEventById(input: $input) {\n eventId\n breakoutRooms {\n title\n channelName\n totalUsers\n maxAttendees\n }\n }\n }\n");var g=n(65676),w=n(24499);let x=t=>{var e,n,m;let{children:x,requiresAuth:b=!0,showHeader:E=!0}=t,{refreshTheme:I}=(0,u.Fg)(),[N,$]=(0,h.useState)(),{query:S,push:j,...C}=(0,d.useRouter)(),[k]=(0,g.ZP)(),_="true"===S.preview,B=(0,o.x)(),R=null==N?void 0:N.getEventById,{profile:Z}=(0,w.aC)(),{data:A,loading:P,startPolling:T,stopPolling:q}=(0,s.a)(y,{variables:{input:{eventId:S.eventId}},skip:!Z,fetchPolicy:"network-only"}),z=null!==(m=null==window?void 0:null===(e=window.location)||void 0===e?void 0:e.pathname)&&void 0!==m?m:"",F=["/agenda","/stages","breakout-rooms","/donate"].some(t=>z.endsWith(t))||z.includes("recording")?"ml-0":"ml-16 md:ml-24";return(0,h.useEffect)(()=>{var t;let e=null==A?void 0:A.getEventById.breakoutRooms;if(!e||(null==e?void 0:e.length)<1)return;let n=null===(t=null==N?void 0:N.getEventById.breakoutRooms)||void 0===t?void 0:t.map(t=>{let n=null==e?void 0:e.find(e=>e.channelName===t.channelName);return n?{...t,totalUsers:null==n?void 0:n.totalUsers}:t});$(N?{...N,getEventById:{...N.getEventById,breakoutRooms:n}}:void 0)},[A]),(0,h.useEffect)(()=>{async function t(){let{data:t,errors:e,error:n}=await B.query({query:a.p,variables:{input:{eventId:S.eventId}}});(n||e)&&!t&&j("/dashboard"),$(t)}!S.eventId&&(null==window?void 0:window.location.pathname.length)<32&&j("/dashboard"),S.eventId&&!N&&t()},[B,N,S.eventId]),(0,h.useEffect)(()=>{R&&I(R)},[R,I]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(p.A.Provider,{value:{event:R,refreshBreakoutRooms:{startPolling:T,stopPolling:q}},children:(0,i.jsx)(f.ZP,{className:"h-screen",wrapperClasses:"flex flex-col flex-1",title:null==R?void 0:null===(n=R.event)||void 0===n?void 0:n.title,showFooter:!1,requireAuth:b,showHeader:E,children:(0,i.jsx)(c.M,{mode:"wait",children:(0,i.jsxs)(v.default,{className:"flex flex-1 ".concat(F),children:[k,R?x:(0,i.jsx)(v.default,{className:"flex flex-1 justify-center items-center",children:(0,i.jsx)(l.Z,{size:"medium"})}),!_&&(0,i.jsx)(r.Z,{defaultChatId:null==R?void 0:R.eventId,defaultChatName:"Event Chat"})]})})})})})};var b=x;let E=t=>{let{children:e}=t;return(0,i.jsx)(x,{requiresAuth:!1,children:e})},I=t=>{let{children:e}=t;return(0,i.jsx)(x,{requiresAuth:!1,showHeader:!1,children:e})}},91875:function(t,e,n){"use strict";n.d(e,{Y:function(){return s}});var i=n(5121);let o="94eca36f44d046199de1789193c7b867",s=async()=>{let t="",e="";if(!o)return{address:t,ip:e};try{let n=await i.Z.get("https://api.geoapify.com/v1/ipinfo?&apiKey=".concat(o));if(n&&n.data){var s,r,l,a,u,c,d;let h=null==n?void 0:n.data;t="".concat(null==h?void 0:null===(s=h.country)||void 0===s?void 0:s.name),e=null==h?void 0:h.ip,(null==h?void 0:null===(r=h.state)||void 0===r?void 0:r.name)&&(t+=" | ".concat(null==h?void 0:null===(l=h.state)||void 0===l?void 0:l.name)),(null==h?void 0:null===(a=h.city)||void 0===a?void 0:a.name)&&(t+=" | ".concat(null==h?void 0:null===(u=h.city)||void 0===u?void 0:u.name)),(null==h?void 0:h.location)&&(t+=" | lat: ".concat(null==h?void 0:null===(c=h.location)||void 0===c?void 0:c.latitude," lng: ").concat(null==h?void 0:null===(d=h.location)||void 0===d?void 0:d.longitude))}}catch(f){console.warn(f)}return{address:t,ip:e}}},23638:function(t,e,n){"use strict";var i=n(67294),o=n(57632),s=n(72742),r=n(3830),l=n(44714),a=n(91875);let u=()=>{let[t,e]=(0,i.useState)(!1),[n]=(0,s.D)(l._),[u,c]=(0,r.Z)("Forum_Statistic_Tracker","");(0,i.useEffect)(()=>{u||c((0,o.Z)())},[u,c]);let d=async()=>{try{var t,i;if(e(!0),"function"!=typeof a.Y)return;let o=null==window?void 0:null===(t=window.location)||void 0===t?void 0:t.href,s=null==window?void 0:null===(i=window.navigator)||void 0===i?void 0:i.userAgent,{address:r,ip:l}=await (0,a.Y)();await n({variables:{anonymousId:u,url:o,country:r,browser:s,ip:l}})}catch(c){console.warn(c)}};return(0,i.useEffect)(()=>{!t&&u&&d()},[u,n,t]),u};e.Z=u},34255:function(t,e,n){"use strict";n.r(e);var i=n(85893),o=n(51773),s=n(25513),r=n(28093),l=n(91394),a=n(57752),u=n(23687),c=n(39099),d=n(11163),h=n(23638),f=n(67294);let p=()=>{var t;(0,h.Z)();let{event:e}=(0,c.z)(),{eventChats:n,setEventChats:a,setShowDefaultChat:p}=(0,u.R)(),{query:v,push:m}=(0,d.useRouter)(),y=null==e?void 0:null===(t=e.breakoutRooms)||void 0===t?void 0:t.find(t=>t.title===v.roomId),g=y.token,w=y.channelName;return(0,f.useEffect)(()=>(p(!1),null==a||a([{chatId:w,title:y.title}]),()=>{p(!0),null==a||a([])}),[y.title,w,a]),(0,i.jsxs)(o.default,{className:"size-full flex flex-col relative",children:[(0,i.jsx)(r.Z,{className:"flex-col",children:(0,i.jsx)(l.Z,{channel:w,token:g,title:"Breakout Room",leftCall:()=>m("/event/".concat(null==e?void 0:e.eventId,"/breakout-rooms"))})}),(0,i.jsx)(s.Z,{className:"absolute bottom-0 text-white p-8 flex space-x-4 w-full justify-end items-end z-30 pointer-events-none translate-x-2"})]})};p.Layout=a.ZP,e.default=p}},function(t){t.O(0,[8307,6893,5121,2293,9774,2888,179],function(){return t(t.s=59674)}),_N_E=t.O()}]); 3//# sourceMappingURL=[roomId]-c2d1c83dd9c1ddb5.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.