PageSourceSearch

https://abbinfoservice.com/_next/static/chunks/pages/events/[subpage]-b1c484668fc1bc84.js

js abbinfoservice.com collected 2026-10-02 00:46:30 UTC 9,801 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9633],{4381:function(e,t,n){"use strict";var a,r=n(82684);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(this,arguments)}var o=function(e,t){return r.createElement("svg",s({width:20,height:20,fill:"#1F1F1F",xmlns:"http://www.w3.org/2000/svg",ref:t},e),a||(a=r.createElement("path",{d:"M3.18 16H0v2h3.18a3 3 0 0 0 5.64 0H20v-2H8.82a3 3 0 0 0-5.64 0ZM7 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4.18-8H0v2h11.18a3 3 0 0 0 5.64 0H20V9h-3.18a3 3 0 0 0-5.64 0ZM15 10a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 0a3 3 0 0 0-2.82 2H0v2h6.18a3 3 0 0 0 5.64 0H20V2h-8.18A3 3 0 0 0 9 0Zm1 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})))},i=(0,r.forwardRef)(o);t.Z=i},61621:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[subpage]",function(){return n(75064)}])},75064:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var a=n(28598),r=n(82684),s=n(4381),o=n(68925),i=n.n(o),l=n(44550),c=n(81870),u=n(99228),d=n.n(u),h=n(78128),v=n(66028),_=n(3626),f=n(12691),m=n.n(f),x=n(57379),g=n(93361),p=n(42787),j=n(32393),b=n(56158),y=n(89552),C=n(12295),Z=n(99605),w=n(7770),N=n(81178),S=n(50195),k=n(15153),E=n(5740),B=n(33945),L=(0,w.Pi)((function(e){var t=e.subpage,n=void 0===t?"active":t,o=(0,N.Y)(),u=o.eventsStore,f=o.eventCategoriesStore,w=o.unreadChatThreadsService,L=u.isLoading,O=u.error,I=(0,r.useState)(!1),P=I[0],R=I[1],D=function(){return R(!P)},F=(0,C.$)().t;if((0,r.useEffect)((function(){u.setSubpage(n),L||u.load(n),f.isLoaded||f.load()}),[n,u.getQuery]),O)return(0,a.jsx)(S.default,{statusCode:500,title:u.error});if(L)return(0,a.jsx)(k.Z,{});var A,q=u.data,M=q.length,z=u.eventsCount[n];return(0,a.jsxs)("div",{className:d().contentBox,children:[(0,a.jsxs)("header",{className:d().header,children:[(0,a.jsx)("h1",{children:F("events.heading")}),(0,a.jsx)(E.Z,{})]}),(0,a.jsx)(b.Z,{links:[{title:F("events.active"),href:y.Z.EventsActive(),count:u.eventsCount.active},{title:F("events.closed"),href:y.Z.EventsClosed()}],activeSub:n}),(0,a.jsx)("div",{className:"spacer25"}),(0,a.jsxs)("div",{className:d().columns,children:[(0,a.jsxs)("div",{className:d().mainCol,children:[(0,a.jsxs)(l.Z.Group,{className:d().filterSearch,children:[(0,a.jsx)(l.Z.Control,{className:"searchInput",required:!0,type:"text",placeholder:F("events.searchEvents"),value:u.searchQuery,onChange:function(e){return u.searchEvents(e.target.value)}}),(0,a.jsx)(c.Z,{variant:"grey",size:"justIcon",icon:(0,a.jsx)(s.Z,{}),onClick:D})]}),(0,a.jsxs)("p",{className:d().showingStatus,children:[(0,a.jsxs)(Z.c,{i18nKey:"common.captions.resultsShowing",count:z,children:["Showing ",(0,a.jsx)("span",{children:{visibleCount:M}})," of",(0,a.jsx)("span",{children:{totalCount:z}}),")"]}),F("events.showing",{count:z})]}),(0,a.jsxs)("section",{className:d().itemList,children:[q.length>0&&q.map((function(e){var t,n;return(0,a.jsx)(m(),{href:y.Z.EventsDetail(e.id.toString()),children:(0,a.jsx)(h.Z,{badge:(0,a.jsx)(p.Z,{name:e.category.name,textColor:e.category.textColor,bgColor:e.category.color}),date:null!==(A=(0,x.o0)(new Date(e.lastChangeAt),F))&&void 0!==A?A:"",label:(0,a.jsxs)(a.Fragment,{children:[e.name,e.category.isChatable?(0,a.jsx)(_.Z,{hideOnZeroValue:!0,value:w.countByEventIdParam(e.id),small:!0,variant:"red"}):null]}),robot:null===(t=e.product)||void 0===t?void 0:t.internalCode,serialNum:(null===(n=e.product)||void 0===n?void 0:n.uniqueCode)?"SN: ".concat(e.product.uniqueCode):"",bold:!e.isRead,repeatedErr:!!e.relatedEventId,serviceRequest:!!e.serviceRequestId,hotlineRequest:e.category.hotlineRelated&&void 0!==e.relatedServiceMissionId&&null!==e.relatedServiceMissionId})},e.id)})),0===q.length&&(0,a.jsx)("div",{children:u.searchQuery||u.filters.query?(0,a.jsx)(j.Z,{variant:"search",text:F("common.errors.noResultsFound")}):(0,a.jsx)(j.Z,{variant:"events",text:F("active"===n?"events.noActiveEvents":"events.noClosedEvents")})})]}),(0,a.jsx)(B.Z,{store:u,setListStart:function(e){return u.setListStart(e.selected,n)},start:u.paginationStart[n]})]}),(0,a.jsxs)("div",{className:i()(d().filters,P?d().showFilters:void 0),children:[P&&(0,a.jsx)(c.Z,{className:d().filtersDone,variant:"transBlue",label:F("common.buttons.done"),size:"mediumCompactBold",onClick:D}),(0,a.jsxs)("h4",{className:d().filtersCaption,children:[(0,a.jsx)(s.Z,{}),(0,a.jsx)("span",{children:F("common.filtering.filter")}),!u.areFiltersReseted&&(0,a.jsx)(c.Z,{icon:(0,a.jsx)(g.Z,{style:{width:"9.4px",verticalAlign:"middle"}}),variant:"transBorder",size:"mediumCompactBold",label:F("common.filtering.clearAll"),onClick:function(){return u.clearFilters()}})]}),(0,a.jsxs)("div",{className:d().status,children:[(0,a.jsx)("h6",{className:"body2_medium",children:F("common.filtering.type")}),f.data.map((function(e){return(0,a.jsx)(l.Z.Check,{type:"checkbox",id:e.sysName,label:(0,a.jsx)(p.Z,{name:e.name,textColor:e.textColor,bgColor:e.color}),onChange:function(t){return u.updateFilter(e.id,t.target.checked)}
1,checked:u.filters.categories.includes(e.id)},e.sysName)}))]}),(0,a.jsxs)("div",{className:d().sortBy,children:[(0,a.jsx)("h6",{className:"body2_medium",children:F("common.sort.sortBy")}),(0,a.jsx)(v.Z,{selected:u.filters.sort,choices:u.sortOptions.map((function(e){return F("common.sort.".concat(e))})),choicesID:u.sortOptions,onSelect:function(e){return u.updateSort(e)}})]})]})]})]})})),O=n(34376),I=function(){switch((0,O.useRouter)().query.subpage){case"active":return(0,a.jsx)(L,{subpage:"active"});case"closed":return(0,a.jsx)(L,{subpage:"closed"});default:return(0,a.jsx)(S.default,{statusCode:404})}}},5740:function(e,t,n){"use strict";var a=n(28598),r=n(12691),s=n.n(r),o=n(7770),i=n(89552),l=n(81870),c=n(75968),u=n(3626),d=(n(82684),n(12295)),h=n(81178),v=(0,o.Pi)((function(){var e=(0,d.$)().t,t=(0,h.Y)().unreadChatThreadsService;return(0,a.jsx)(s(),{href:i.Z.ChatsActive(),children:(0,a.jsx)(l.Z,{icon:(0,a.jsx)(c.Z,{}),variant:"white",size:"large",bubble:t.dataCount>0&&(0,a.jsx)(u.Z,{value:t.dataCount,variant:"red"}),label:e("common.buttons.chats")})})}));t.Z=v},56158:function(e,t,n){"use strict";var a=n(28598),r=(n(82684),n(27090)),s=n(52084),o=n(3626),i=n(12691),l=n.n(i);t.Z=function(e){var t=e.links,n=e.activeSub,i=e.replaceMode,c=void 0!==i&&i;return(0,a.jsxs)(r.Z,{className:"submenu",children:[(0,a.jsx)(r.Z.Toggle,{"aria-controls":"basic-navbar-nav"}),(0,a.jsx)(r.Z.Collapse,{id:"basic-navbar-nav",children:(0,a.jsx)(s.Z,{className:"mr-auto",children:t.map((function(e){return(0,a.jsx)(l(),{href:e.href,passHref:!0,replace:c,children:(0,a.jsxs)(s.Z.Link,{active:n===e.href.substring(e.href.lastIndexOf("/")+1),href:e.href,children:[e.title,void 0!==e.count&&(0,a.jsx)(o.Z,{bubbleClass:"bubble",value:e.count,variant:"grey"})]})},e.href)}))})})]})}},66028:function(e,t,n){"use strict";var a=n(28598),r=(n(82684),n(81870)),s=n(24154),o=n(58036),i=n(13515),l=n.n(i);t.Z=function(e){var t=e.choices,n=e.choicesID,i=e.selected,c=void 0===i?0:i,u=e.onSelect,d=n?n.indexOf(c.toString()):c;return(0,a.jsx)("div",{className:l().RadioGroup,children:t.map((function(e,t){var i=function(e,t){return"LABEL_ICON_VAN"===e?(0,a.jsx)(o.Z,{style:{height:"1.125rem",margin:0,fill:t?"white":"black"}}):"LABEL_ICON_WRENCH"===e?(0,a.jsx)(s.Z,{style:{margin:0,fill:t?"white":"black"}}):void 0}(e,d===t);return(0,a.jsx)(r.Z,{label:i?void 0:e,icon:i,variant:d===t?"black":"grey",size:"mediumCompact",onClick:function(){return e=t,void u(n?n[e]:e);var e}},e)}))})}},33945:function(e,t,n){"use strict";var a=n(28598),r=n(82684),s=n(8031),o=n.n(s),i=n(76456);t.Z=function(e){var t,n=e.store,s=e.setListStart,l=e.start;(0,r.useEffect)((function(){n.isLoaded&&window.scrollY>320&&window.scrollTo({top:320})}),[n.isLoaded]);var c=null!==(t=n.start)&&void 0!==t?t:l;if(void 0===c)throw new Error("StorePagination: start must be provided");return(0,a.jsx)("div",{className:"paginate",children:(0,a.jsx)(o(),{breakLabel:"...",nextLabel:(0,a.jsx)(i.Z,{}),onPageChange:s,forcePage:c/n.eventsPerPage,pageRangeDisplayed:3,marginPagesDisplayed:1,pageCount:n.pageCount,previousLabel:(0,a.jsx)(i.Z,{}),renderOnZeroPageCount:function(){return null}})})}},42787:function(e,t,n){"use strict";var a=n(28598);n(82684);t.Z=function(e){var t=e.name,n=e.textColor,r=e.bgColor;return(0,a.jsx)("span",{className:"sticker",style:{backgroundColor:r?"#".concat(r):void 0,color:n?"#".concat(n):void 0},children:t})}},13515:function(e){e.exports={RadioGroup:"RadioGroup_RadioGroup__9NGhe"}},99228:function(e){e.exports={contentBox:"layout_contentBox___he4h",headerDetail:"layout_headerDetail__ft8mU",headerDetailExtraButton:"layout_headerDetailExtraButton___hgYo",imageBlock:"layout_imageBlock__PgjOj",textBlock:"layout_textBlock__Cm7h_",contentBoxNarrow:"layout_contentBoxNarrow__IfEhz",header:"layout_header__ZB00T",navigation:"layout_navigation__62E2f",buttRight:"layout_buttRight__56Sfb",columns:"layout_columns__pSZWk",columnsEqual:"layout_columnsEqual__Ple_Y",showingStatus:"layout_showingStatus__V2Lsd",mainCol:"layout_mainCol__61aoO",status:"layout_status__FPFpv",sortBy:"layout_sortBy__0jkqT",itemList:"layout_itemList__VwzAk",filters:"layout_filters__PI16I",filtersCaption:"layout_filtersCaption__zOOx_",bigModal:"layout_bigModal__lmdvS",smallModal:"layout_smallModal__KeXhw",infoBox:"layout_infoBox__J12dh",divider:"layout_divider__QVNfU",note:"layout_note__Srror",buttonWithCenteredIcon:"layout_buttonWithCenteredIcon__LAVfc",filtersDone:"layout_filtersDone__bhvTw",filterSearch:"layout_filterSearch__sznp5",showFilters:"layout_showFilters__h6UvW",doubleDeckerButton:"layout_doubleDeckerButton__s9a7N"}}},function(e){e.O(0,[8437,9188,9774,2888,179],(function(){return t=61621,e(e.s=t);var t}));var t=e.O();_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.