PageSourceSearch

https://humantechsummit.com/assets/Agenda-DCVhswAG.js

js humantechsummit.com collected 2026-10-06 05:14:30 UTC 8,005 bytes, 2 lines download raw bytes

1import{b as U,d as O,u as x,r as w,j as o,w as W,W as Q,U as Y,n as T,t as R,o as v,aA as z,s as F,v as $,an as q,aB as D}from"./index-HM9r5dmR.js";import{m as J}from"./react-error-boundary-D0QT2Cq2.js";import{a as K,b as X}from"./NoData-C7MHFmYm.js";import{j as b,u as Z,L as ee,k as se}from"./Styles-DwidT5SD.js";import{u as te}from"./TopbarActions-DOhzyV_f.js";import{A as y,D as ae,E as ie,F as ne,M as oe,O as re,u as le,Q as pe,T as ue}from"./StatusWrapper-AtB762B_.js";import{I as de}from"./Info-B-RJw_Qf.js";import{F as ge,u as me}from"./useWidgetFilterSlot-D_zer6fc.js";import{u as ce}from"./useNavItemTitle-509OpL0L.js";import{m as H}from"./index-DapDjiEP.js";import{E as he}from"./404-5Yy_oKld.js";import"./Styles-JwMjH20P.js";import"./Text-DrByGwjq.js";import"./Styles-DxskVGBB.js";import"./Avatar-NrDLDVc4.js";import"./Card-DxU2N2Jd.js";import"./navigation-B8aLjik4.js";import"./Icon-BIXves1f.js";import"./Checkbox-Da9GoScF.js";import"./onClickOutside-D4meUhtd.js";import"./index-DsgCFdjn.js";import"./Form-DvMvNQSA.js";import"./Flex-Vzc9YziP.js";import"./PrograssBar2-I3tYGl43.js";import"./FileType-CuKjZSRs.js";import"./Live-DwPSABrN.js";import"./PrograssBar-DYbdFgDj.js";import"./Badge-CULzcVND.js";import"./SocialMedia-D76sDJTd.js";import"./ResourcesSimplified-BLB7DTRB.js";import"./index-Dyn5EnPp.js";import"./usePopperHook-DIhc6OhE.js";import"./useAgendaRating-3r8MYXII.js";import"./Products-CAmIMMXM.js";import"./guards-CyHGcBXG.js";import"./ProductModal-BW6th6tC.js";import"./Styles-CqAYUIRG.js";import"./LocalAlert-Cj0p3dfh.js";import"./useTranslatedLang-DoQjSlZW.js";import"./BottomTabs-VkL7nugR.js";import"./Offcanvas-ennNRpOR.js";import"./hls-CRr8Lqjc.js";import"./useElementDimensions-BpVzpu-P.js";import"./index-DaPaHsm-.js";import"./getStatusWrapper-DYx1E16w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"7b74966b0c1026a006b185fa58b34dde82a7b42c"};var i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4db3dde4-f010-4e4b-970f-19ba67009b62",e._sentryDebugIdIdentifier="sentry-dbid-4db3dde4-f010-4e4b-970f-19ba67009b62")}catch{}})();const N=(e,i)=>e.map(s=>{var r;return((r=i.find(u=>u.id===s))==null?void 0:r.label)??s}),fe=(e,i,s)=>{var u;const r=[];if(i&&r.push({key:"search",label:s.labels.search,displayValue:i,onClear:()=>s.setSearchValue("")}),e.speakers.length>0){const p=e.speakers.map(t=>{var c;return((c=s.options.speakers.find(d=>d.id===t))==null?void 0:c.name)??t});r.push({key:"speakers",label:s.labels.speakers,displayValue:b(p),onClear:()=>s.setSelectedFilters("speakers",[])})}if(e.sessions.length>0&&r.push({key:"sessions",label:s.labels.sessions,displayValue:b(N(e.sessions,s.options.sessions)),onClear:()=>s.setSelectedFilters("sessions",[])}),e.venues.length>0&&r.push({key:"venues",label:s.labels.venues,displayValue:b(N(e.venues,s.options.venues)),onClear:()=>s.setSelectedFilters("venues",[])}),e.tags.length>0&&r.push({key:"tags",label:s.labels.tags,displayValue:b(N(e.tags,s.options.tags)),onClear:()=>s.setSelectedFilters("tags",[])}),e.prelectionLanguages.length>0){const p=e.prelectionLanguages.map(t=>s.options.prelectionLanguages[t]??t);r.push({key:"prelectionLanguages",label:s.labels.prelectionLanguages,displayValue:b(p),onClear:()=>s.setSelectedFilters("prelectionLanguages",[])})}if(e.variant){const p=((u=s.options.variants.find(t=>t.id===e.variant))==null?void 0:u.label)??e.variant;r.push({key:"variant",label:s.labels.variant,displayValue:p,onClear:()=>s.setSelectedFilters("variant",null)})}return e.types.length>0&&r.push({key:"types",label:s.labels.types,displayValue:b(N(e.types,s.options.types)),onClear:()=>s.setSelectedFilters("types",[])}),r},ve=(e,i)=>{let s=0;return i&&(s+=1),s+=e.speakers.length,s+=e.sessions.length,s+=e.venues.length,s+=e.tags.length,e.variant!==null&&(s+=1),s+=e.types.length,s+=e.prelectionLanguages.length,s},P="agendaFilters",be=({showFilters:e=!1})=>{var k,S;const{t:i,i18n:s}=U(),{id:r}=O(),u=ce("agenda","schedule.title",r),p=r??"main",t=x(({agenda:n})=>{var j;return(j=n==null?void 0:n.data)==null?void 0:j[p]}),c=y(n=>n.selectedTimezone),d=y(n=>n.selectedFilters),h=y(n=>n.searchValue),g=y(n=>n.setSelectedFilters),L=y(n=>n.setSearchValue),A=w.useMemo(()=>t?H(t,{t:i,language:s.language}):H({speakers:[],sessions:[],venues:[],tags:[],types:[],variants:[],prelectionLanguages:[]},{t:i,language:s.language}),[t,i,s.language]),C=w.useMemo(()=>
1ve(d,h),[d,h]),E=w.useMemo(()=>{var n;return fe(d,h,{labels:{search:i("general.search"),speakers:((n=t==null?void 0:t.customNames)==null?void 0:n.speakers)??i("general.speakers"),sessions:i("general.sessions",{defaultValue:"Sessions"}),venues:i("general.venues"),tags:i("general.tags"),types:i("general.types"),variant:i("general.variant",{defaultValue:"Variant"}),prelectionLanguages:i("general.languages")},options:A,setSelectedFilters:g,setSearchValue:L})},[d,h,(k=t==null?void 0:t.customNames)==null?void 0:k.speakers,A,g,L,i]),f=(((S=t==null?void 0:t.data)==null?void 0:S.length)??0)>0,I=o.jsx(ge,{title:u,widgetId:P,activeFiltersCount:C,showFilterButton:e,chips:E,actions:f?o.jsx(re,{}):void 0,meta:f?o.jsxs("div",{className:"flex flex-col gap-3",children:[o.jsx(ne,{}),o.jsx(oe,{})]}):void 0,footer:f?o.jsx(ie,{}):void 0});return f?o.jsx(ae,{customTimezone:c,children:I}):I},ye=()=>{var M,_;const e=W(),i=Q(),{id:s}=O(),r=x(({attendee:a})=>a.schedules),{ratingsMaxValue:u,ratingsStyle:p}=x(({event:a})=>a==null?void 0:a.settings)??{},{agendaData:t,crudHandler:c,getAgenda:d}=te({activeNavItemId:s??"main"}),{isLoading:h,isError:g}=c("getAgenda"),{state:L,addScheduleItem:A,removeScheduleItem:C}=K(),{setRating:E,isLoading:f}=X(),{setNote:I,editNote:k,isLoadingAdd:S,isLoadingDelete:n,isLoadingEdit:j}=Z();if(me({id:P,scope:"agenda",enabled:(M=t==null?void 0:t.settings)==null?void 0:M.showFilters}),w.useEffect(()=>{d()},[s]),g)return o.jsx(de,{size:"1rem",iconSize:"1rem",title:g==null?void 0:g.message,variant:"error"});if(h||!t||Object.keys(t??{}).length<=1)return o.jsx(Y,{size:"3",container:!0});const B=(_=t==null?void 0:t.settings)==null?void 0:_.showFilters;return o.jsx(ee,{variant:"inset",children:o.jsx(le,{withAddToCalendar:!0,withRatingModal:!0,ratingsMaxValue:u,ratingsStyle:p,isLoadingRating:f,savedAgendaItemsIds:r,isLoadingAddToCalendar:L.status==="PENDING",onAddToCalendarClick:(a,l)=>l?A(a):C(a),withNotes:!0,notesLoading:{isLoadingAdd:S,isLoadingEdit:j,isLoadingDelete:n},onRatingSave:(a,l,m)=>E({id:a,rating:l,comment:m,onFinish:()=>{e(v({id:a,ratingModel:{rating:l,comment:m}})),e(v({id:a,ratingModel:{rating:l,comment:m},activeNavItemId:"main"}))}}),onNoteAdd:({notableId:a,content:l,title:m})=>{a&&I({content:l,title:m,notableId:a,notableType:"schedule",onFinish:V=>{e(v({id:a,notes:[V]})),e(T({type:"success",title:R("general.message.successEdit")}))}})},onNoteEdit:({id:a,notableId:l,title:m,content:V})=>{a&&k({id:a,title:m,content:V,onFinish:G=>{e(v({id:l,notes:[G]})),e(T({type:"success",title:R("general.message.successEdit")}))}})},onAgendaItemClick:a=>i(F(D.item.full,{id:a})),onPersonClick:(a,l)=>i(F(q.profile.full,{profileId:l})),onExhibitorClick:a=>i(F($.item.full,{exhibitorId:a})),withRegister:!0,onRegister:(a,l)=>{e(v({id:a,registration:l})),e(v({id:a,registration:l,activeNavItemId:"main"})),e(z({registrationLimits:l.registrationLimits})),e(z({registrationLimits:l.registrationLimits,activeNavItemId:"main"}))},onError:a=>e(T({type:"danger",title:R("error"),value:a==null?void 0:a.message})),stickyHeaderTopOffset:"-1rem",children:o.jsxs(pe,{agendaData:t,variant:t.settings.template,withFilters:!0,withFiltersControls:!1,withListHeader:!1,withActiveFiltersChips:!1,children:[o.jsx(be,{showFilters:B}),o.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden rounded-lg",children:o.jsx(se,{children:o.jsx(ue,{})})})]})})})},ds=()=>o.jsx(J,{FallbackComponent:he,children:o.jsx(ye,{})});export{ds as default};
2//# sourceMappingURL=Agenda-DCVhswAG.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.