PageSourceSearch

https://learn.supernovaconsulting.com/packs/js/MobileEventsContent-6bdf9c5c760f2a0e.chunk.js

js supernovaconsulting.com collected 2026-09-30 14:05:37 UTC 4,514 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[80250],{460547(t,r,n){var e=n(74203),l=n(16643),i=n(678548),u=function(){var t=(0,i.G)().canCreatePost,r=(0,e.w)().canCreateEvent,n=(0,l.k)();return t||r||n};n.d(r,{d:()=>u})},423426(t,r,n){n.d(r,{EventsContent:()=>K});var e=n(391426),l=n(559574),i=n(36764),u=n(879995),o=n(760250),a=n(238189),c=n(118955),s=n(230763),f=n(570310),v=n(450225),d=n(933578),y=n(417980),m=n(655726),p=n(508479),g=n(515479),h=n(6418),b=n(14930),C=n(978421),A=n(191662);function S(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}var j=function(){var t,r=(0,A.d)().setDrawerOverride,n=(0,s.Od)().currentCommunityMember,l=(0,h.V8)(n),i=function(t){if(Array.isArray(t))return t}(t=(0,b.C)(!1))||function(t){var r,n,e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var l=[],i=!0,u=!1;try{for(e=e.call(t);!(i=(r=e.next()).done)&&(l.push(r.value),2!==l.length);i=!0);}catch(t){u=!0,n=t}finally{try{i||null==e.return||e.return()}finally{if(u)throw n}}return l}}(t)||function(t){if(t){if("string"==typeof t)return S(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=i[0],o=i[1],a=(0,d.useMemo)(function(){return l?(0,e.jsx)(C.g,{icon:"settings-gear",label:(0,y.t)("all_events.settings.modal.title_v4"),onClick:o}):null},[l,o]);return(0,d.useEffect)(function(){return r(a),function(){return r(function(t){return t===a?null:t})}},[a,r]),l?(0,e.jsx)(g.L,{open:u,onClose:o}):null},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.enabled;return(0,p.T)(j,void 0===r||r?{}:null)},w=n(417230),E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.enabled;return(0,p.T)(w.W,void 0===r||r?{}:null)},_=n(804939),O=n(813455);function k(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function I(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,e,l=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=l){var i=[],u=!0,o=!1;try{for(l=l.call(t);!(u=(n=l.next()).done)&&(i.push(n.value),!r||i.length!==r);u=!0);}catch(t){o=!0,e=t}finally{try{u||null==l.return||l.return()}finally{if(o)throw e}}return i}}(t,r)||function(t,r){if(t){if("string"==typeof t)return k(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(t,r)}}(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var K=function(){var t=(0,s.Od)().currentCommunitySettings,r=(0,v.YQ)().data,n=(0,l.r)().eventLink,p=(0,_.P)(),g=E(),h=x(),b=(null==r?void 0:r.community_settings)||t,C="calendar"===(null==b?void 0:b.public_events_view)?u.K.CALENDAR:u.K.LIST,A=I((0,O.D)({defaultCommunityView:C,views:u.K,activeStorageKey:"all_events_active_view"}),2),S=A[0],j=A[1],w=I((0,d.useState)(!1),2),k=w[0],K=w[1],T=Array.from((0,c.R)().currentFilters),L=S===u.K.CALENDAR,M=(null==n?void 0:n.label)||(0,y.t)("all_events.title");return b?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(m.$,{title:M}),g,h,(0,e.jsxs)("div",{className:(0,f.x)("flex flex-col gap-6 pt-2",{"p-0 pt-4":L,"pt-0 gap-3":p}),children:[(0,e.jsx)(a.s,{activeView:S,displayStatusFilter:!L,isPastEvents:k,onStatusChange:K,onViewChange:j}),L?(0,e.jsx)(i.S,{topics:T}):(0,e.jsx)(o.u,{isPastEvents:k,topics:T})]})]}):null}},417230(t,r,n){var e=n(933578),l=n(417980),i=n(460547),u=n(314833),o=n(260007),a=function(){var t=(0,u.g)().onCreateOpen,r=(0,i.d)(),n=(0,o.K)().setTrailingOverride,a=!!t&&r,c=(0,e.useMemo)(function(){return a?[{id:"create",label:(0,l.t)("mobile_shell.create"),icon:"plus",onClick:function(){return null==t?void 0:t()}}]:[]},[a,t]);return(0,e.useEffect)(function(){return n(c),function(){return n(function(t){return t===c?null:t})}},[c,n]),null};n.d(r,{W:()=>a})}}]);
2//# sourceMappingURL=/packs/js/MobileEventsContent-6bdf9c5c760f2a0e.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.