1(self.webpackChunk=self.webpackChunk||[]).push([[7096],{12184(e,t,i){"use strict";const n={ENTITIES_TREE:"entitiesTree",SEARCH:"search",SEARCH_ALERT:"searchAlert"};i.d(t,["A",0,n])},55535(e,t,i){"use strict";var n=i(53080),s=i(70576),o={baseClassName:"iw-c-contentList-countInfo",initialize:function(){},setOptions:function(e){var t,i;(0,s.WE)(e,{startIndex:"mandatory",actualCount:"mandatory",totalCount:"mandatory"}),i=(t=e.startIndex+1)+e.actualCount-1,this.removeViews(),e.totalCount>0&&this.appendView(new n.A({text:$.i18n._pl("core.list.entitiesCountInfo",{"#START#":t,"#END#":i,"#TOTAL#":e.totalCount})}))}};const a=i(95389).A.extend(o);i.d(t,["A",0,a])},7084(e,t,i){"use strict";var n=i(69331),s=i(53080),o=i(95389),a=i(22998),l=i(66890),r=o.A,d=o.A.extend({initialize:function(){this.options.formattedDate=this.options.formattedDate||"",this.options.displayName=this.options.displayName||"",this.options.targetLink=this.options.targetLink||"",this.options.imgSrc=this.options.imgSrc||"",!1!==this.options.showLink&&this.options.targetLink?this.appendView(new n.A({link:this.options.targetLink,text:this.options.displayName})):this.appendView(new s.A({text:this.options.displayName})),this.appendView(new s.A({text:this.options.formattedDate})),this.options.profilePicture&&this.appendView(new l.A({profilePicture:this.options.profilePicture,title:this.options.displayName}))}}),h={tagName:"span",initialize:function(){var e,t,i,n=this.model.get("creator")||{},s=this.model.get("created")||this.model.get("_created"),o=n.meta||{};e=n.fullname,t=$.i18n.formatDateTimeDifference(s||""),i=(0,a.A)(n),this.appendView(new d({showLink:o.ACCESSIBLE,displayName:e,formattedDate:t,targetLink:i,profilePicture:n.profilePicture}))}};const u=r.extend(h);i.d(t,["A",0,u])},95530(e,t,i){"use strict";var n=i(50953),s=i(20641),o=i(51172),a=i(9375),l={baseClassName:"iw-c-contentList-paging",page:null,pageSize:null,countAll:null,initialize:function(){var e,t;this.options.showPageSizeSelector=null===(e=this.options.showPageSizeSelector)||void 0===e||e,this.options.pagingLimit=null!==(t=this.options.pagingLimit)&&void 0!==t?t:1/0,this.page=(0,n.KR)(null),this.pageSize=(0,n.KR)(null),this.countAll=(0,n.KR)(null);const i=(0,s.EW)(()=>Boolean(this.page.value&&this.pageSize.value&&this.countAll.value));this.setOptions(this.options);const l=this;this._app=(0,o.A)({setup:()=>()=>(0,s.h)(i.value?a.A:"div",{page:l.page.value,pageSize:l.pageSize.value,countAll:l.countAll.value,disablePageSizeChange:!l.options.showPageSizeSelector,pagingLimit:l.options.pagingLimit,onPageClick:e=>{l.trigger("gotoPage",e,l)},onPageSizeChange:(e,t)=>
1{l.trigger("setPageSize",{pageSize:e,applyToAll:t},l)}})})},afterRender:function(){this._mounted||(this._app.mount(this.el),this._mounted=!0)},setOptions:function(e){this.page.value=e.page,this.pageSize.value=e.pageSize,this.countAll.value=e.countAll}};const r=i(95389).A.extend(l);i.d(t,["A",0,r])},14507(e,t,i){"use strict";var n=i(66245),s=i.n(n),o=i(76135),a=i.n(o),l=i(21585),r=i.n(l),d=i(95950),h=i.n(d),u=i(55378),c=i.n(u),p=i(63375),w=i.n(p),m=i(91648),f=i.n(m),g=i(79312),V=i(84019),A=i(95389),b={_NOVALUE:"",_SELECTALL:"###SELECTALL###",_REMOVEALL:"###REMOVEALL###",initialize:function(){var e,t;this.options=$.extend(!0,{},this.options),this.options.text=this.options.text||$.i18n._("core.ui.chooseOptions"),this.options.options=this.options.options||[],this.options.showRemoveAll&&this.options.options.unshift({value:this._REMOVEALL,text:"-- "+$.i18n._("core.ui.removeAllItems")+" --"}),this.options.showSelectAll&&this.options.options.unshift({value:this._SELECTALL,text:"-- "+$.i18n._("core.ui.allItems")+" --"}),this.options.selectAllAsRegularValue=this.options.selectAllAsRegularValue||!1,this.options.forceNumeric=this.options.forceNumeric||!0,this.options.values=this.options.values||[],(e=new g.A({name:this.options.name?this.options.name+"-combobox":void 0,options:this.options.options,text:this.options.text,showText:!0})).on("change",function(e){this.pickOption(e),this.blur()},this),t=new A.A,this.appendView(e,"combobox").appendView(t,"tagContainer"),this.SubView=V.A},afterRender:function(){var e;e=this.options.values,this.options.values=[],this.getView("tagContainer").removeViews(),this.setValues(e,!0)},beforeRender:function(){this.options.id&&this.getView("combobox").setId(this.options.id)},setOptions:function(e,t){e=$.extend(!0,[],e);const i=this.getValue();return this.setValues([],!0),this.options.options=e,delete this._hashValueToText,delete this._allValues,delete this._valueEnabled,this.options.showRemoveAll&&this.options.options.unshift({value:this._REMOVEALL,text:"-- "+$.i18n._("core.ui.removeAllItems")+" --"}),this.options.showSelectAll&&this.options.options.unshift({value:this._SELECTALL,text:"-- "+$.i18n._("core.ui.allItems")+" --"}),this.getView("combobox").setOptions(e,t),this.setValues(i,!0),this},getValue:function(){return this.getValues()},getValues:function(){return this.options.values},setValue:function(e,t){return this.setValues(e,t)},setValues:function(e,t){var i,n,o,a,l=[];for(o=0,a=(e=w()(e)).length;o<a;o++)void 0!==this._getTextByValue(e[o])&&this._isValueEnabled(e[o])&&l.push(e[o]);if(this.isRendered()){for(i=this.getValues(),o=0,a=(n=s()(i,l)).length;o<a;o++)this.unpickOption(n[o],!0);for(o=0,a=(n=s()(l,i)).length;o<a;o++)this.pickOption(n[o],!0)}return this.options.values=l,t||this.trigger("change",this.options.values),this},pickOption:function(e,t){var i,n;if(e===this._SELECTALL&&this.options.selectAllAsRegularValue){this.setValues([]),this.options.values.push(e),this.getView("combobox").disableOption(e),this.getView("combobox").setValue(this._NOVALUE,!0);for(let e of this._getAllValues())this.getView("combobox").disableOption(e);(n=new this.SubView({text:this._getTextByValue(e)})).on("close",function(){this._tagCloseHandler(e),this.getView("combobox").enableOption(e);for(let e of this._getAllValues())this.getView("combobox").enableOption(e)},this),this.getView("tagContainer").appendView(n,e)}else if(e===this._SELECTALL){const e=this.getValues(),s=c()(e,"id"),o=this._getAllValues().map(t=>{var i;return null!==(i=e.find(e=>Object.hasOwn(e,"id")&&e.id===t.id))&&void 0!==i?i:t});this.setValues(o),this.getView("combobox").setValue(this._NOVALUE,!0),t||(a()(this.getValues(),e=>{-1===r()(e.id,s)&&(i=Number(e.id),n=this.getView("tagContainer").existsView(i)?this.getView("tagContainer").getView(i):null,this.trigger("pick",i,n))}),this.trigger("change",this.getValues()))}else e===this._REMOVEALL?(this.setValues([]),this.getView("combobox").setValue(this._NOVALUE,!0)):e!==this._NOVALUE&&(this.options.values.push(e),this.getView("combobox").disableOption(e),this.getView("combobox").setValue(this._NOVALUE,!0),(n=new this.SubView({text:this._getTextByValue(e),showCloseIcon:this._showCloseIcon(e)})).on("close",function(){this._tagCloseHandler(e)},this),this.getView("tagContainer").existsView(e)&&this.getView("tagContainer").removeView(e),this.getView("tagContainer").appendView(n,e),t||(this.trigger("pick",e,n),this.trigger("change",this.getValues())));return this},unpickOption:function(e,t){return this.isRendered()?(this.silent=t,this.getView("tagContainer").getView(e).close(),this.silent=!1):this.options.values=f()(this.options.values,e),this},focus:function(){if(this.isRendered()){var e=this.getView("combobox").$el;setTimeout(function(){e.focus()},0)}return this},blur:function(){if(this.isRendered()){var e=this.getView("combobox").$el;setTimeout(function(){e.blur()},0)}return this},_tagCloseHandler:function(e){this.options.values=f()(this.options.values,e),this.getView("combobox").enableOption(e),this.getView("tagContainer").removeView(e),this.silent||(this.trigger("unpick",e),this.trigger("change",this.getValues()))},_getTextByValue:function(e){var t,i,n,s,o=this.options;if(!this._hashValueToText)for(this._hashValueToText={},n=(t=o.options).length,i=0;i<n;i++)s=t[i],this._hashValueToText[s.value]=s.tagText||s.text;return this._hashValueToText[e]},_showCloseIcon:function(e){let t=this.options.options.find(t=>t.value==e);return!Object.prototype.hasOwnProperty.call(t,"showCloseIcon")||t.showCloseIcon},_isValueEnabled:function(e){var t,i,n=this.options.options;if(!this._valueEnabled)for(this._valueEnabled={},t=0,i=n.length;t<i;t++)this._valueEnabled[n[t].value]=!0!==n[t].disabled;return this._valueEnabled[e]},_getAllValues:function(){return this._allValues||(this._hashValueToText||this._getTextByValue(this._SELECTALL),this._allValues=f()(h()(this._hashValueToText),this._NOVALUE,this._SELECTALL,this._REMOVEALL),this.options.forceNumeric&&(this._allValues=this._allValues.map(e=>{const t=parseInt(e,10);return isNaN(t)?e:t}))),this._allValues}};const v=A.A.extend(b);i.d(t,["A",0,v])},33160(e,t,i){"use strict";var n=i(30872),s=i.n(n),o=i(95389).A,a={template:s()('<div class="iw-radio-group"></div>'),optionTemplate:s()('<span class="iw-radio"><input type="radio" name="<%= name %>" value="<%- value %>" id="<%- id %>"><label for="<%- id %>"><span></span><%- $.i18n._(text) %></label></span>'),initialize:function(){this.options=$.extend(!0,{},this.options),this.options.options=this.options.options||[],this.options.value=this.options.value||""},afterRender:function(){this.setOptions(this.options.options,!0)},setOptions:function(e){var t,i;e=$.extend(!0,[],e);var n="radio"+this.cid,s=1;if(this.isRendered())for(this.$el.html(""),t=0,i=e.length;t<i;t++)e[t].name=n,e[t].id=n+"_"+s++,this.$el.append(this.optionTemplate(e[t])),e[t].checked&&this.$el.find("input[id="+e[t].id+"]").prop("checked",!0),e[t].afterLabelView&&this.$el.find("label[for="+e[t].id+"]").after(e[t].afterLabelView.render().el);return this.options.options=e,this},setValue:function(e,t){var i,n;for(this.isRendered()&&(this.$el.find("input").prop("checked",!1),this.$el.find('input[value="'+e+'"]').prop("checked",!0)),n=this.options.options,i=0;i<n.length;i++)n[i].value==e?n[i].checked="checked":n[i].checked=void 0;this.options.options=n,this._changeHandler(t)},getValue:function(){var e,t;if(this.isRendered())return this.$el.find('input[name="radio'+this.cid+'"]:checked').val();for(t=this.options.options,e=0;e<t.length;e++)if("checked"==t[e].checked)return t[e].value;return!1},disableOption:function(e){this.isRendered()&&this.$el.find('input[value="'+e+'"]').prop("disabled","disabled")},_changeHandler:function(e){var t=this.getValue();t!==this.lastValue&&(this.lastValue=t,!0!==e&&this.trigger("change",t))},events:{change:"_changeHandler"}};const l=o.extend(a);i.d(t,["A",0,l])},88931(e,t,i){"use strict";
1var n=i(19101),s=i(43422),o=i(8014),a=i(95389),l={initialize:function(){var e,t,i;for(this.options=$.extend(!0,{},this.options),this.options.actions=this.options.actions||[],this.options.icon=this.options.icon||"ellipsis-v",this.options.actionViews=this.options.actionViews||[],this._openerView=this._buildOpenerView(),this._closerView=new n.A({className:"iw-actions-close",icon:"times",title:"core.close"}),i=new a.A({tagName:"span",className:"iw-actions-icon iw-actions-candy"}),this._innerContainerView=this._buildInnerContainerView(),this._outerContainerView=new a.A({className:"iw-actions"}),this._outerContainerView.appendView(this._innerContainerView).appendView(this._closerView),e=0,t=this.options.actionViews.length;e<t;e++)i.appendView(this.options.actionViews[e]);this.appendView(i.appendView(this._openerView)).appendView(this._outerContainerView),this._outerContainerView.hide(),this._openerView.on("click",this._toggleActions,this),this._closerView.on("click",this._toggleActions,this)},getInnerView:function(){return this._innerContainerView},_buildOpenerView:function(){return this.options.actions.length||this.options.InnerView?new o.A({name:this.options.icon,title:"core.edit"}):new s.A({name:"sync"})},_buildInnerContainerView:function(){var e,t,i,s;if(this.options.InnerView)(s=new this.options.InnerView({model:this.model})).on("click",this._handleAction,this);else for(s=new a.A({layoutType:"LIST"}),e=0,t=this.options.actions.length;e<t;e++)(i=new n.A(this.options.actions[e])).on("click",this._handleAction,this),s.appendView(i);return s},_toggleActions:function(){this._outerContainerView.toggle(),!1===this._outerContainerView.isHidden()&&this.trigger("open")},_handleAction:function(e){this._toggleActions(),this.trigger("select",e.icon),this.trigger("action:selected",e)}};const r=a.A.extend(l);i.d(t,["A",0,r])},19101(e,t,i){"use strict";var n=i(30872),s=i.n(n),o=i(70576),a=i(89875),l=i(95389);var r={template:s()('<a class="iw-link <%- iconClassName %>" role="button" tabindex="0"><%- $.i18n._(text) %></a>'),events:{click:"clickHandler",keydown:"keydownHandler"},initialize:function(){this.options.link&&(this.options.link=(0,o.cO)(this.options.link),this.template=s()('<a href="<%- link %>" class="iw-link <%- iconClassName %>"><%- $.i18n._(text) %></a>')),this.options.icon=this.options.icon||"",this.options.text=this.options.text||this.options.label||"",this.options.text||(this.template=s()('<i class="iw-icon-button <%- iconClassName %>" role="button" tabindex="0" title="<%- $.i18n._(text) %>"></i>')),this.options.iconClassName="iw-icon-"+this.options.icon},clickHandler:function(){this.trigger("click",this.options)},keydownHandler:function(e){"Enter"!==e.key||(0,a.A)(e)||this.trigger("click",this.options)}};const d=l.A.extend(r);i.d(t,["A",0,d])},24964(e,t,i){"use strict";var n=i(1375),s=i(95389),o=i(46847),a={baseClassName:"iw-c-linkButtonMenu",initialize:function(){this.options=$.extend(!0,{},this.options),this.options.text=this.options.text||"Show menu...",this.options.items=this.options.items||[],this._opener=this._buildOpenerView().on("click",this.toggleMenu,this),this._menu=new o.A({items:this.options.items}).on("select",this._menuAddHandler,this),this.appendView(this._opener).appendView(this._menu.hide())},getTextByIndex:function(e){return this._menu.getTextByIndex(e)},toggleMenu:function(){this._menu.toggle()},showOption:function(e){this._menu.showOption(e)},hideOption:function(e){this._menu.hideOption(e)},enableOption:function(e){this._menu.enableOption(e)},disableOption:function(e){this._menu.disableOption(e)},_buildOpenerView:function(){return new n.A({text:this.options.text,separator:"",icon:this.options.icon,buttonType:"button"})},_menuAddHandler:function(e,t){this._menu.hide(),this.trigger("select",e,t)}};const l=s.A.extend(a);i.d(t,["A",0,l])},37390(e,t,i){"use strict";i.d(t,{default:()=>ne});var n=i(61239),s=i(38873),o=i(68424),a=i(96666),l=i(10072),r=i(95389),d=i(25825);const h=d.A.extend({uri:"/events/registrations/search/values",parse:function(e){return this.meta=e.meta||{},e.items}});var u=i(53080),c=i(50869);const p={initialize:function(){this.setClassName("iw-c-resultList-itemRow-hasThumbnail");const e=new r.A({className:"iw-c-resultList-fixed"}).appendView(this._buildThumbnail()).appendView(this._buildTitle());for(let t of this._buildSubtitleViews())e.appendView(t);e.appendView(this._buildStaticAdditionalData("event.search.item.eventNameLabel",this.model.get("eventName"))),this.model.get("created")&&e.appendView(this._buildCreated()),this.appendView(e)},buildAdditionalFieldView:function(e){return new r.A({className:"iw-c-resultList-additional"}).appendView(this._buildTitledFieldView(e))},buildAdditionalFieldSlot:function(){return new r.A({className:"iw-c-resultList-additional"}).appendView(new u.A({text:"core.loading"}))}},w={initialize:function(){this.setClassName("iw-c-resultList-tableRow");let e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-picture"}).appendView(this._buildThumbnail());this.appendView(e),e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-text"}).appendView(this._buildTitle());for(let t of this._buildSubtitleViews())e.appendView(t);this.appendView(e),e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-text"}).appendView(this._buildEventName()),this.appendView(e),e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-datetime"}).appendView(this._buildCreated()),this.appendView(e)},buildAdditionalFieldView:function(e){return new r.A({className:"iw-c-resultList-tableCell"}).appendView(this._buildNakedFieldView(e))},buildAdditionalFieldSlot:function(){return new r.A({className:"iw-c-resultList-tableCell"}).appendView(new u.A({text:"core.loading"}))}},m={initialize:function(){this.setClassName("iw-c-resultList-tile-hasThumbnail-noCheckbox");const e=new r.A({className:"iw-c-resultList-tileCell"}).appendView(this._buildThumbnail()).appendView(this._buildTitle());for(let t of this._buildSubtitleViews())e.appendView(t);e.appendView(this._buildStaticAdditionalData("event.search.item.eventNameLabel",this.model.get("eventName"))),e.appendView(this._buildStaticAdditionalData("event.registration.list.header.created",$.i18n.formatDateTime(this.model.get("created")))),this.appendView(e)},buildAdditionalFieldView:function(e){return this._buildTitledFieldView(e)},buildAdditionalFieldSlot:function(){return new u.A({text:"core.loading"})}};var f=i(66890),g=i(76494);const V=c.A.extend({initialize:function(){switch(this.options.listType){case g.A.ITEMS:this._layoutRenderer=p;break;case g.A.TABLE:this._layoutRenderer=w;break;case g.A.TILES:this._layoutRenderer=m;break;default:throw new Error("Unknown layout")}this._layoutRenderer.initialize.apply(this,arguments)},buildAdditionalFieldView:function(){return this._layoutRenderer.buildAdditionalFieldView.apply(this,arguments)},buildAdditionalFieldSlot:function(){return this._layoutRenderer.buildAdditionalFieldSlot.apply(this,arguments)},_buildTitle:function(){return new r.A({className:"iw-c-resultList-title"}).appendView(new u.A({text:this.model.get("user").fullname}))},_buildStaticAdditionalData:function(e,t){const i=new r.A({className:"iw-c-resultList-additionalData"});return i.appendView(new u.A({className:"iw-c-resultList-additionalData-label",text:$.i18n._(e)})),i.appendView(new u.A({className:"iw-c-resultList-additionalData-data",text:t})),i},_buildSubtitleViews:function(){const e=[],t=["workInfoCompanyName","workInfoPosition"];for(let i of t){let t=this.model.get(i);t&&e.push(new u.A({className:"iw-c-resultList-subtitle",text:t.value}))}return e},_buildEventName:function(){return new u.A({text:this.model.get("eventName")}
1)},_buildCreated:function(){return new u.A({className:"iw-c-creator",text:$.i18n.formatDateTime(this.model.get("created"))})},_buildThumbnail:function(){return new f.A({profilePicture:this.model.get("user").profilePicture,title:this.model.get("user").fullname})}}),A=V.extend({baseClassName:"iw-c-resultList-tableHeader",buildAdditionalFieldSlot:function(e){return new r.A({className:"iw-c-resultList-tableCell"}).appendView(this._createTextView(e.text))},_buildThumbnail:function(){return this._createTextView("")},_buildEventName:function(){return this._createTextView("event.registration.list.header.eventName")},_buildSubtitleViews:function(){return[]},_buildTitle:function(){return this._createTextView("event.registration.list.header.user")},_buildCreated:function(){return this._createTextView("event.registration.list.header.created")},_createTextView:function(e){return new u.A({text:e})}});var b=i(55623),v=i(88773),_={uri:"/events/registrations",parse:function(e){return{id:Number(e.id),userId:Number(e.userId)||e.user.id,eventId:Number(e.eventId),status:Number(e.status),workshopRegistrations:e.workshopRegistrations||[],guests:e.guests||[],RAFs:e.RAFs||[]}}};const y=v.A.extend(_);function x(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function L(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?x(Object(i),!0).forEach(function(t){T(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):x(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function T(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const N=y.extend({parse:function(e){return L(L({},y.prototype.parse.apply(this,arguments)),{},{user:e.user,eventName:e.eventName,created:e.created,workInfoCompanyName:e.workInfoCompanyName,workInfoPosition:e.workInfoPosition})}}),C=d.A.extend({model:N,initialize:function(){d.A.prototype.initialize.apply(this,arguments),this.uri="/events/registrations/search",this.baseUri=this.uri},parse:function(e){return this.filterParams=e.filter,this.allIds=e.allIds,this.meta=e.meta||{},e.items},fetch:function(){var e=$.param(this._queryParams||{});return this.uri=e?this.baseUri+"?"+e:this.baseUri,d.A.prototype.fetch.apply(this,arguments)}}),E=b.A.extend({listId:"eventRegistrationsAdminList",initialize:function(){this.collection=new C,b.A.prototype.initialize.apply(this,arguments)}});var O=i(73141),S=i(20696),k=i(20932);const I=r.A.extend({layoutType:"BOX",layoutOptions:{boxId:"iw-event-registration-list",boxTitle:$.i18n._("event.registration.search.title")},initialize:function(){this.hide(),this.showLoader();const e=new l.A({model:this.options.model,reportId:this.options.reportId,type:k.A.EVENT_REGISTRATION,searchLogic:new E,listViewId:this.options.listViewId,loadEmptyView:!1,resultList:{itemValuesCollection:new h,ItemView:V,HeaderView:A},modifiers:{searchPattern:{innerView:new O.A({preloadedFilters:this.options.preloadedFilters})},fields:{fieldSelector:{entityType:S.A.EVENT_REGISTRATION}},layout:!0,sort:{sortFields:{stamp:$.i18n._("event.registration.search.sortFields.creationDate")}}}});this.appendView(e),e.once("loaded",()=>{this.show(),this.hideLoader()}),e.on("loaded model:changed",function(){a.A.candyApp.setToolboxActions(e.getBoxActions())},this)}}),R=d.A.extend({uri:"/events/search/values",parse:function(e){return this.meta=e.meta||{},e.items}});var P=i(7084),F=i(14246),z=i(43422),D=i(87426),M=i(69331),j=i(70576);const B={initialize:function(){this.setClassName("iw-c-resultList-itemRow-hasThumbnail-noCheckbox");const e=new r.A({className:"iw-c-resultList-fixed"}).appendView(this._buildPicture()).appendView(this._buildTitle());for(let t of this._buildAdditionalDataViews())e.appendView(t);e.appendView(this._buildCreated()),this.appendView(e)},buildAdditionalFieldView:function(e){return new r.A({className:"iw-c-resultList-additional"}).appendView(this._buildTitledFieldView(e))},buildAdditionalFieldSlot:function(){return new r.A({className:"iw-c-resultList-additional"}).appendView(new u.A({text:"core.loading"}))}},H={initialize:function(){this.setClassName("iw-c-resultList-tableRow");let e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-userInfo"}).appendView(this._buildTitle());this.appendView(e),e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-text"}).appendView(this._buildLocationValue()),this.appendView(e),e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-datetimeRange"}).appendView(this._buildTimeValue()),this.appendView(e),e=new r.A({className:"iw-c-resultList-tableCell iw-c-resultList-field-created"}).appendView(this._buildCreated()),this.appendView(e)},buildAdditionalFieldView:function(e){return new r.A({className:"iw-c-resultList-tableCell"}).appendView(this._buildNakedFieldView(e))},buildAdditionalFieldSlot:function(){return new r.A({className:"iw-c-resultList-tableCell"}).appendView(new u.A({text:"core.loading"}))}},U={initialize:function(){this.setClassName("iw-c-resultList-tile-hasThumbnail-noCheckbox");let e=new r.A({className:"iw-c-resultList-tileCell"}).appendView(this._buildPicture()).appendView(this._buildTitle());for(let t of this._buildAdditionalDataViews())e.appendView(t);e.appendView(this._buildCreated()),this.appendView(e)},buildAdditionalFieldView:function(e){return this._buildTitledFieldView(e)},buildAdditionalFieldSlot:function(){return new u.A({text:"core.loading"})}},W=c.A.extend({initialize:function(){switch(this.options.listType){case g.A.ITEMS:this._layoutRenderer=B;break;case g.A.TABLE:this._layoutRenderer=H;break;case g.A.TILES:this._layoutRenderer=U;break;default:throw new Error("Unknown layout")}this._layoutRenderer.initialize.apply(this,arguments)},buildAdditionalFieldView:function(){return this._layoutRenderer.buildAdditionalFieldView.apply(this,arguments)},buildAdditionalFieldSlot:function(){return this._layoutRenderer.buildAdditionalFieldSlot.apply(this,arguments)},_buildTitle:function(){const e=new r.A({className:"iw-c-resultList-title"}).appendView(new M.A({text:this.model.get("title"),link:(0,j.cO)("event/event/detail/event-id/"+this.model.get("id")),target:"_blank"})),t=new r.A({className:"iw-c-resultList-subtitle"}).appendView(new u.A({text:$.i18n._pl("core.in_community",{"#COMMUNITY_NAME#":this.model.get("communityName")})}));return(new r.A).appendView(e).appendView(t)},_buildPicture:function(){var e,t;return t=null===(e=this.model.get("picture"))?new z.A({disabled:!0,name:"calendar-alt"}):new D.A({imgSrc:e}),new r.A({className:"iw-entity-image iw-c-resultList-image",tagName:"span"}).appendView(t)},_buildLocation:function(){const e=this._buildLocationValue(),t=new u.A({value:$.i18n._("event.event.location")});return new r.A({className:"iw-c-resultList-additional-field"}).appendView(t.setClassName("iw-c-resultList-location-title")).appendView(e.setClassName("iw-c-resultList-location-value"))},_buildLocationValue:function(){let e;return e=null===this.model.get("googleMap")?new u.A({value:this.model.get("location")}):new M.A({text:this.model.get("location"),link:this.model.get("googleMap"),target:"_blank"}),e},_buildTimeValue:function(){return new F.A({from:this.model.get("dateTimeFrom"),to:this.model.get("dateTimeTo"),displayTime:!0})},_buildAdditionalDataViews:function(){let e=[];
1if(this.model.get("location")||this.model.get("googleMap")){const t=new r.A({className:"iw-c-resultList-additionalData"});t.appendView(new u.A({className:"iw-c-resultList-additionalData-label",text:$.i18n._("event.search.item.locationLabel")})).appendView(this._buildLocationValue().setClassName("iw-c-resultList-additionalData-data")),e.push(t)}const t=new r.A({className:"iw-c-resultList-additionalData"});return t.appendView(new u.A({className:"iw-c-resultList-additionalData-label",text:$.i18n._("event.search.item.timeLabel")})).appendView(this._buildTimeValue().setClassName("iw-c-resultList-additionalData-data")),e.push(t),e},_buildCreated:function(){return new P.A({model:this.model,className:"iw-c-creator"})}}),G=W.extend({baseClassName:"iw-c-resultList-tableHeader",buildAdditionalFieldSlot:function(e){return new r.A({className:"iw-c-resultList-tableCell"}).appendView(new u.A({text:e.text}))},_buildTitle:function(){return this._createTextView("event.list.header.title")},_buildTimeValue:function(){return this._createTextView("event.list.header.time")},_buildLocationValue:function(){return this._createTextView("event.list.header.location")},_buildCreated:function(){return this._createTextView("event.list.header.creator")},_createTextView:function(e){return new u.A({text:e})}});const q=v.A.extend({uri:"/events"}),K=d.A.extend({model:q,initialize:function(){d.A.prototype.initialize.apply(this,arguments),this.uri="/events/search",this.baseUri=this.uri},parse:function(e){return this.filterParams=e.filter,this.allIds=e.allIds,this.meta=e.meta||{},e.items},fetch:function(){var e=$.param(this._queryParams||{});return this.uri=e?this.baseUri+"?"+e:this.baseUri,d.A.prototype.fetch.apply(this,arguments)}}),X=b.A.extend({listId:"eventAdminList",initialize:function(){this.collection=new K,b.A.prototype.initialize.apply(this,arguments)}});var Y=i(60454);const J=r.A.extend({layoutType:"BOX",layoutOptions:{boxId:"iw-event-list",boxTitle:$.i18n._("event.search.title")},initialize:function(){this.hide(),this.showLoader();const e=new l.A({model:this.options.model,reportId:this.options.reportId,type:k.A.EVENT,searchLogic:new X,listViewId:this.options.listViewId,loadEmptyView:!1,resultList:{itemValuesCollection:new R,ItemView:W,HeaderView:G},modifiers:{searchPattern:{innerView:new Y.A({preloadedFilters:this.options.preloadedFilters})},fields:{fieldSelector:{entityType:S.A.EVENT}},layout:!0,sort:{sortFields:{startDate:$.i18n._("event.search.sortFields.startDate"),creationDate:$.i18n._("event.search.sortFields.creationDate"),title:$.i18n._("event.search.sortFields.title")}}}});this.appendView(e),e.once("loaded",()=>{this.show(),this.hideLoader()}),e.on("loaded model:changed",function(){a.A.candyApp.setToolboxActions(e.getBoxActions())},this)}});var Q=i(41610),Z=i(69014);function ee(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function te(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(i),!0).forEach(function(t){ie(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ee(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function ie(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class ne extends Z.A{getRoutes(){return[new Q.A("search/report/:reportId/cid/(:cid)",this.searchEventReportAction),new Q.A("search/view/:listViewId",this.searchByViewAction),new Q.A("search",this.searchAction),new Q.A("registration/search/report/:reportId/cid/(:cid)",this.searchRegistrationReportAction),new Q.A("registration/search/view/:listViewId",this.searchRegistrationByViewAction),new Q.A("registration/search",this.searchRegistrationAction)]}searchAction(){this._showSearchView(J)}searchRegistrationAction(){this._showSearchView(I)}searchByViewAction(e){this._showSearchView(J,{listViewId:e.listViewId})}searchRegistrationByViewAction(e){this._showSearchView(I,{listViewId:e.listViewId})}searchRegistrationReportAction(e){this._searchReportAction(e,I)}searchEventReportAction(e){this._searchReportAction(e,J)}_showSearchView(e,t={}){const i=te(te({},t),{},{preloadedFilters:this.options.preloadedFilters});this._slotContainer.removeViews().appendView(new e(i))}async _searchReportAction(e,t){let i=e.cid||"grandtotal";const a=new s.A(s.A.METHOD.GET,"/listviews/report/"+e.reportId+"/cid/"+i);try{let i=await a.send();i.id="fakeId",this._slotContainer.removeViews().appendView(new t({searchBy:"FILTERS",searchValue:i.searchPattern,model:new n.A(i),reportId:e.reportId,preloadedFilters:this.options.preloadedFilters}))}catch(e){let t=$.i18n._("core.error");e.error.message&&(t=e.error.message);let i=new o.A({level:"ERROR",content:t});this._slotContainer.removeViews().appendView(i)}}}},73141(e,t,i){"use strict";i.d(t,{A:()=>u});var n=i(40648),s=i(25789),o=i(17942);const a=i(88773).A.extend({uri:"/events/registrations/search/counters"});var l=i(8009),r=i(53336);const d={getEditView:function(e){var t;if("userPicker"===e.fieldType)(t=new l.A({singleSelect:!1})).on("loaded",function(){this.trigger("change",this.getValue())},t);return void 0===t&&(t=r.A.getEditView(e)),t}
1,getDetailView:function(){return r.A.prototype.getDetailView.apply(this,arguments)}};var h=i(20696);const u=n.A.extend({initialize:function(){this.options.searchCountersModel=new a,this.options.optionsLoader=this.options.optionsLoader||new o.A(h.A.EVENT_REGISTRATION),this.options.searchPatternWidget=new s.A({attributeSelectorConfig:{entityType:h.A.EVENT_REGISTRATION},Adapter:d,entityPluralName:$.i18n._("event.registration.search.all.name"),optionsLoader:this.options.optionsLoader,preloadedFilters:this.options.preloadedFilters,countersClickable:this.options.countersClickable}),this.options.Adapter=d,n.A.prototype.initialize.apply(this,arguments),this.options.searchPatternWidget.on("all",this.trigger,this)}})},60454(e,t,i){"use strict";i.d(t,{A:()=>c});var n=i(10637),s=i(40648),o=i(25789),a=i(17942);const l=i(88773).A.extend({uri:"/events/search/counters"});var r=i(8009),d=i(53336);const h={getEditView:function(e){var t;if("userPicker"===e.fieldType)(t=new r.A({singleSelect:!1})).on("loaded",function(){this.trigger("change",this.getValue())},t);return void 0===t&&(t=d.A.getEditView(e)),t},getDetailView:function(){return d.A.prototype.getDetailView.apply(this,arguments)}};var u=i(20696);const c=s.A.extend({initialize:function(){this.options.searchCountersModel=new l,this.options.optionsLoader=this.options.optionsLoader||new a.A(u.A.EVENT),this.options.searchPatternWidget=new o.A({attributeSelectorConfig:{entityType:u.A.EVENT},Adapter:h,entityPluralName:$.i18n._("event.search.all.name"),optionsLoader:this.options.optionsLoader,conditionLinks:[new n.A],preloadedFilters:this.options.preloadedFilters,countersClickable:this.options.countersClickable}),this.options.Adapter=h,s.A.prototype.initialize.apply(this,arguments),this.options.searchPatternWidget.on("all",this.trigger,this)}})},75252(e,t,i){"use strict";i.d(t,{A:()=>a});var n=i(97759),s=i(84477),o=i(20932);function a(e){if(!e.id)throw new n.A(`ListView ID is required for generating links, got "${e.id}"`);switch(e.type){case o.A.USER:return`user/admin/main/search/view/${e.id}`;case o.A.EVENT:return`event/admin/search/view/${e.id}`;case o.A.EVENT_REGISTRATION:return`event/admin/registration/search/view/${e.id}`;case o.A.ACTIVITY:return`activity/admin/view/${e.id}`;case o.A.MODEMAN:return`modeman/instance/main/name/${e.apiName}/search/view/${e.id}`;case o.A.MODEMAN_VIEWER:return`modeman/instance/main/name/${e.apiName}/list/view/${e.id}`;case o.A.MEMBER:return`member/search/view/${e.id}`;default:throw new s.A(e.type)}}},66890(e,t,i){"use strict";var n=i(51172),s=i(95389),o=i(91942);const a=s.A.extend({tagName:"span",baseClassName:"iw-entity-image-wrapper",afterRender:function(){var e;null===(e=this._app)||void 0===e||e.unmount(),this._app=(0,n.A)(o.A,{profilePicture:this.options.profilePicture,title:this.options.title,link:this.options.link,hideForSr:this.options.hideForSr}),this._app.mount(this.el)}});i.d(t,["A",0,a])},27185(e,t,i){var n=i(38859),s=i(15325),o=i(29905),a=i(34932),l=i(27301),r=i(19219),d=Math.min;e.exports=function(e,t,i){for(var h=i?o:s,u=e[0].length,c=e.length,p=c,w=Array(c),m=1/0,f=[];p--;){var g=e[p];p&&t&&(g=a(g,l(t))),m=d(g.length,m),w[p]=!i&&(t||u>=120&&g.length>=120)?new n(p&&g):void 0}g=e[0];var V=-1,A=w[0];e:for(;++V<u&&f.length<m;){var b=g[V],v=t?t(b):b;if(b=i||0!==b?b:0,!(A?r(A,v):h(f,v,i))){for(p=c;--p;){var _=w[p];if(!(_?r(_,v):h(e[p],v,i)))continue e}A&&A.push(v),f.push(b)}}return f}},13195(e){var t=Math.floor,i=Math.random;e.exports=function(e,n){return e+t(i()*(n-e+1))}},3122(e,t,i){var n=i(83693);e.exports=function(e){return n(e)?e:[]}},87612(e,t,i){var n=i(79770),s=i(16574),o=i(15389),a=i(56449);e.exports=function(e,t){return(a(e)?n:s)(e,o(t,3))}},5287(e,t,i){var n=i(34932),s=i(27185),o=i(69302),a=i(3122),l=o(function(e){var t=n(e,a);return t.length&&t[0]===e[0]?s(t):[]});e.exports=l},58253(e,t,i){var n=i(13195),s=i(36800),o=i(17400),a=parseFloat,l=Math.min,r=Math.random;e.exports=function(e,t,i){if(i&&"boolean"!=typeof i&&s(e,t,i)&&(t=i=void 0),void 0===i&&("boolean"==typeof t?(i=t,t=void 0):"boolean"==typeof e&&(i=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=o(e),void 0===t?(t=e,e=0):t=o(t)),e>t){var d=e;e=t,t=d}if(i||e%1||t%1){var h=r();return l(e+h*(t-e+a("1e-"+((h+"").length-1))),t)}return n(e,t)}}}]);
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.