1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8891],{85528:function(e,t,l){l.r(t),l.d(t,{default:function(){return s}});var n=l(42982),a=l(67294),i=l(859),r=l(46369),d=l(78960),o=l(83445),c=l(89707),f=l(96255);var s=e=>{let{items:t,whitelist:l,blacklist:s,headline:u,headlineTag:_,maxItems:p,location:m,terms:g}=e;const{0:h,1:v}=(0,a.useState)(t),I=t.map((e=>{var t;return null===(t=e.drupal_node__field_content_link[0])||void 0===t?void 0:t.fields.nid})),{0:b,1:w}=(0,a.useState)(3),{0:E,1:C}=(0,a.useState)((0,r.Hb)(t,b,g,p)),L=(0,r.k2)();return(0,a.useEffect)((()=>{(async()=>{const e=(0,d.BC)(l,s,g),a=await(0,r.Ve)(L,e,m),i=(0,r.Nv)(a,e,I);v([].concat((0,n.Z)(t),(0,n.Z)(i)))})()}),[]),(0,a.useEffect)((()=>{C((0,r.Hb)(h,b,g,p))}),[b,h]),a.createElement("div",{"data-bg":(0,i.d)(),"data-test-class":"teaser-3-col-paragraph","data-tracking-id":"teaser-3-col-paragraph",className:"Teaser3ColParagraph-module--container--a4be2 g--10--d g--o1--d g--fw--t"},u&&a.createElement(c.Z,{className:"h4--mobile h3--tablet h2--desktop Teaser3ColParagraph-module--headline--7cc8d g--12--m g--8--t g--12--d",tagName:_,headline:u}),!!E.length&&a.createElement(f.Z,{items:E,arrowIconRight:"chevronRight",arrowIconLeft:"chevronLeft",rotate:!0,tabletItemsPerSlide:2,debug:!1}),!!E.length&&t.length>b&&a.createElement("button",{className:"Teaser3ColParagraph-module--loadMoreButton--115ec c1--mobile",onClick:()=>{w(b+3)}},(0,o.t)("button.label.load_more")),t.length>b&&a.createElement("hr",null))}},78960:function(e,t,l){l.d(t,{BC:function(){return r},MI:function(){return d},yK:function(){return i}});var n=l(42982),a=l(33558);const i=e=>{const t=e.filter((e=>{var t;return"Array"===(null===(t=e.field_location)||void 0===t?void 0:t.constructor.name)&&0<e.field_location.length})).map((e=>e.field_location.map((e=>e.label))));return 0===t.length?[]:(0,a.Tw)(t.reduce(((e,t)=>[].concat((0,n.Z)(e),(0,n.Z)(t)))))},r=(e,t,l)=>{const n=t.map((e=>parseInt(e.id))),a=e.map((e=>"number"==typeof e.id?e.id:parseInt(e.id)));if(l){let e=!0;for(;e;)e=!1,l.filter((e=>a.includes(e.parentId))).forEach((t=>{a.includes(t.drupalId)||(a.push(t.drupalId),e=!1)}))}return a.filter((e=>!n.includes(e)))},d=(e,t,l,n,d,o,c)=>{if(!e.length)return t;const f=r(e.map((e=>({id:e}))),[],c);if("dropdowns"===o){const r=[];for(const t of c){const l=c.filter((e=>String(e.parentId)===String(t.drupalId))).filter((e=>"(alle)"!==e.name.toLowerCase()));if(l.length){const t=l.map((e=>e.drupalId));(0,a.wf)(t,e.map((e=>parseInt(e)))).length&&r.push(t)}}return t.filter((o=>{var c;const f=(0,a.Tw)(t.filter((e=>e.field_date||e.field_date_and_time)).map((e=>e.field_date?e.field_date.split("/")[0]:e.field_date_and_time.split("/")[0])));if(n&&e.find((e=>f.includes(e)))){let t=o.field_date&&e.includes(o.field_date.split("/")[0]);if(t||(t=o.field_date_and_time&&e.includes(o.field_date_and_time.split("/")[0])),!t)return!1}const s=i(t);if(d&&d&&e.find((e=>s.includes(e)))){if(!o.field_location||0===o.field_location.length)return!1;let t=!1;for(const l of o.field_location)e.includes(l.label)&&(t=!0);if(!t)return!1}const u=o.field_category||(null===(c=o.drupal_node__field_content_link[0])||void 0===c?void 0:c.fields.field_category);if(l&&console.log("[TeaserFilteredParagraph]","filterItems()",o),(0,a.eY)((0,a.eY)(e,f),s).length){let t=!0;for(const l of r)u?0===(0,a.wf)((0,a.wf)(l,e.map((e=>parseInt(e)))),u.map((e=>parseInt(e.id)))).length&&(t=!1):t=!1;return t}return!0}))}return t.filter((t=>{var l;if(n&&t.field_date&&e.includes(t.field_date.split("/")[0]))return!0;if(d&&t.field_location&&t.field_location.length)for(const n of t.field_location)if(e.includes(n.label))return!0;const a=t.field_category||(null===(l=t.drupal_node__field_content_link[0])||void 0===l?void 0:l.fields.field_category);return!(null==a||!a.map((e=>parseInt(e.id))).filter((e=>f.includes(e))).length)}))}}}]);
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.