1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[9252],{5085:function(t,n,o){o.r(n),o.d(n,{default:function(){return y}});var a=o(6540),i=o(3819),r=function(t){var n=t.articleType,o=t.articlePublishFormattedDate,r=(t.articleDescription,t.articleUrl),l=t.articleImgUrl,c=t.tabletArticleImgUrl,s=t.mobileArticleImgUrl,u=t.articleImgAlt,d=t.dateFormat,m=t.articleTitle,h=t.index,p=t.searchType,w=t.componentName,v=t.totalResults;function f(e){var t=e%10,n=e%100;return 1===t&&11!==n?e+"st":2===t&&12!==n?e+"nd":3===t&&13!==n?e+"rd":e+"th"}var g,b=function(e){var t=new Date(e),n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=t.getMonth(),a=t.getDate(),i=t.getFullYear();switch(d){case"MMM dd, YYYY":return"".concat(n[o]," ").concat(f(a),", ").concat(i);case"dd MMM, YYYY":return"".concat(f(a)," ").concat(n[o],", ").concat(i);case"MM/dd/YYYY":return"".concat(o+1,"/").concat(a,"/").concat(i);case"dd/MM/YYYY":return"".concat(a,"/").concat(o+1,"/").concat(i);case"YYYY/MM/dd":return"".concat(i,"/").concat(o+1,"/").concat(a);case"YYYY MMM dd":return"".concat(i," ").concat(n[o]," ").concat(f(a));default:return e}};function y(e,t,n,o){var a,i,r,l="p"+Number(null===(a=document.querySelector("#insightsArticleNewsListing .pageNoSelected"))||void 0===a?void 0:a.innerText)+"_pos"+Number(n+1)||0;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"search_result_click",eventLabel:e.target.textContent||"",eventSource:w,eventSourceLabel:o,searchTerm:null===(i=document.querySelector("#insightsArticleNewsListing input[type=text]"))||void 0===i?void 0:i.value,searchResults:(null==v?void 0:v.length)||Number(null===(r=document.querySelector("#insightsArticleNewsListing .article-results"))||void 0===r||null===(r=r.innerText)||void 0===r?void 0:r.split(" ")[0]),searchType:p,searchCategory:"",searchResultDestination:window.location.origin+t,searchResultsPagePosition:l})}return a.createElement("div",null,a.createElement("div",{className:"iel-search-results"},a.createElement("div",{className:"iel-results-category mobile-view"},a.createElement("p",{className:"heading-category",tabIndex:"0"},n),a.createElement("span",null,a.createElement("span",{className:"icon icon-dot circle-icon"})),a.createElement("p",{className:"date"},b(o))),a.createElement("a",{href:r,onClick:function(e){y(e,r,h,n)},className:"handIcon",tabIndex:"0",onKeyDown:function(t){"Enter"===t.key&&y(e,r,h,n)}},a.createElement("div",{className:"iel-results"},a.createElement("div",{className:"iel-result-details"},a.createElement("div",{className:"iel-results-category desktop-view"},a.createElement("p",{className:"heading-category"},n),null!==o&&""!==o&&a.createElement(a.Fragment,null,a.createElement("span",null,a.createElement("span",{className:"icon icon-dot circle-icon"})),a.createElement("p",{className:"date"},b(o)))),a.createElement("div",{className:"iel-results-heading"},a.createElement("p",null,m))),a.createElement("div",{className:"iel-result-img"},a.createElement("picture",null,a.createElement("source",{media:"(max-width:575px)",srcSet:s}),a.createElement("source",{media:"(max-width:991px)",srcSet:c}),a.createElement(i.A,{src:l,className:"image-fit",alt:(g=u,(null==g?void 0:g.length)>50?g.slice(0,50)+"...":g)})))))))},l=function(e){var t,n=e.data,o=void 0===n?{}:n;return a.createElement("div",{className:"selected-icon article-secondary-info-box"},a.createElement("i",{className:null==o?void 0:o.secondaryinfoicon}),a.createElement("p",{className:"article-secondary-heading"},null==o?void 0:o.secondaryinfoheading),a.createElement("p",{className:"article-secondary-description"},null==o?void 0:o.secondaryinfodesc),(null==o?void 0:o.secondaryinfobuttonurl)&&(null==o?void 0:o.secondaryinfobuttonlabel)&&a.createElement("a",{className:"article-secondary-link cursor-pointer",href:(t=null==o?void 0:o.secondaryinfobuttonurl,t.endsWith(".html")?t:t+".html")},null==o?void 0:o.secondaryinfobuttonlabel))};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}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 o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(null,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,i,r,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(s)throw a}}return l}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var f=function(e){var t=e.jsonData,n=void 0===t?[]:t,o=e.data,i=void 0===o?{}:o,c=p((0,a.useState)(n),2),u=c[0],w=c[1],v=p((0,a.useState)(!1),2),f=(v[0],v[1]),g=p((0,a.useState)(parseInt(null==i?void 0:i.records)),2),b=g[0],y=(g[1],p((0,a.useState)(1),2)),S=y[0],k=y[1],E=p((0,a.useState)(n),2),N=E[0],I=E[1],x=p((0,a.useState)([]),2),D=x[0],C=x[1],O=p((0,a.useState)(!0),2),A=O[0],M=O[1],j=p((0,a.useState)(!0),2),P=j[0],L=j[1],F=p((0,a.useState)(!0),2),J=F[0],T=F[1],Y=p((0,a.useState)(),2),R=Y[0],q=Y[1],U=p((0,a.useState)(""),2),K=U[0],H=U[1],_=(0,a.useRef)(),V=p((0,a.useState)(""),2),W=V[0],$=V[1],B=p((0,a.useState)(""),2),G=B[0],z=B[1],Q=p((0,a.useState)(""),2),X=Q[0],Z=Q[1],ee=p((0,a.useState)(""),2),te=ee[0],ne=ee[1],oe=p((0,a.useState)(!1),2),ae=oe[0],ie=oe[1],re=p((0,a.useState)(0),2),le=re[0],ce=re[1],se=p((0,a.useState)({}),2),ue=se[0],de=se[1],me=p((0,a.useState)({}),2),he=me[0],pe=me[1],we=p((0,a.useState)({}),2),ve=we[0],fe=we[1],ge=p((0,a.useState)(!1),2),be=ge[0],ye=ge[1],Se=p((0,a.useState)(!1),2),ke=Se[0],Ee=Se[1],Ne=p((0,a.useState)(!1),2),Ie=Ne[0],xe=Ne[1],De=p((0,a.useState)(n),2),Ce=De[0],Oe=De[1],Ae=p((0,a.useState)(window.location.pathname),2),Me=Ae[0],je=Ae[1],Pe=(0,a.useRef)([]),Le=function(e){_.current&&!_.current.contains(e.target)&&f(!1)};(0,a.useEffect)((function(){return document.addEventListener("mousedown",Le),function(){document.removeEventListener("mousedown",Le)}}),[]),(0,a.useEffect)((function(){var e=function(){window.location.pathname!==Me&&(sessionStorage.removeItem("checkboxState"),sessionStorage.removeItem("productCheckboxState"),sessionStorage.removeItem("applicationCheckboxState"),sessionStorage.removeItem("startDate"),sessionStorage.removeItem("endDate"),sessionStorage.removeItem("sortdata"),sessionStorage.removeItem("insightlistpagenumber"),je(window.location.pathname))};window.addEventListener("popstate",e);var t=setInterval(e,100);return function(){window.removeEventListener("popstate",e),clearInterval(t)}}),[Me]);var Fe=p((0,a.useState)({}),2),Je=Fe[0],Te=Fe[1],Ye=p((0,a.useState)({}),2),Re=Ye[0],qe=Ye[1],Ue=p((0,a.useState)({}),2),Ke=Ue[0],He=Ue[1],_e=(0,a.useMemo)((function(){return Array.from(new Set(null==u?void 0:u.flatMap((function(e){return e.articleType}))))}),[u]),Ve=(0,a.useMemo)((function(){return Array.from(new Set(null==u?void 0:u.flatMap((function(e){return e.applicationInsightsList}))))}),[u]),We=(0,a.useMemo)((function(){return Array.from(new Set(null==u?void 0:u.flatMap((function(e){return e.productInsightsList}))))}),[u]);(0,a.useEffect)((function(){var e={},t={},n={},o=Array.from(new Set(null==u?void 0:u.flatMap((function(e){return e.articleType})))),a=Array.from(new Set(null==u?void 0:u.flatMap((function(e){return e.applicationInsightsList})))),i=Array.from(new Set(null==u?void 0:u.flatMap((function(e){return e.productInsightsList}))));o.forEach((function(t){e[t]=!0}
1)),i.forEach((function(e){t[e]=!0})),a.forEach((function(e){n[e]=!0}));var r=sessionStorage.getItem("checkboxState");if(r){var l=JSON.parse(r),c=Object.keys(l);(c.some((function(e){return!o.includes(e)}))||c.length!==o.length)&&(sessionStorage.removeItem("checkboxState"),sessionStorage.removeItem("productCheckboxState"),sessionStorage.removeItem("applicationCheckboxState"),sessionStorage.removeItem("startDate"),sessionStorage.removeItem("endDate"),sessionStorage.removeItem("sortdata"),sessionStorage.removeItem("insightlistpagenumber"))}de(e),pe(t),fe(n),Te(e),qe(t),He(n)}),[u,Me,n]);var $e=be?We:We.slice(0,5),Be=ke?_e:_e.slice(0,5),Ge=Ie?Ve:Ve.slice(0,5);(0,a.useEffect)((function(){if(null===sessionStorage.getItem("checkboxState")&&null===sessionStorage.getItem("productCheckboxState")&&null===sessionStorage.getItem("applicationCheckboxState")&&null===sessionStorage.getItem("startDate")&&null===sessionStorage.getItem("endDate"))w(n),I(n);else if(null!==sessionStorage.getItem("checkboxState")){var e=sessionStorage.getItem("checkboxState");if(e=JSON.parse(e),Te(e),null!==sessionStorage.getItem("productCheckboxState")){var t=sessionStorage.getItem("productCheckboxState");t=JSON.parse(t),qe(t)}if(null!==sessionStorage.getItem("applicationCheckboxState")){var o=sessionStorage.getItem("applicationCheckboxState");o=JSON.parse(o),He(o)}var a=sessionStorage.getItem("insightlistpagenumber");if(a=Number(a),gt(a,!0),null!==sessionStorage.getItem("startDate")&&null!==sessionStorage.getItem("endDate")){var i,r=sessionStorage.getItem("startDate"),l=sessionStorage.getItem("endDate");$(r),z(l);var c=St(r),s=St(l);k(1);var u=null==n?void 0:n.filter((function(t){return 0===Object.keys(e).length||e[null==t?void 0:t.articleType]}));u=null===(i=u)||void 0===i?void 0:i.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=c&&t<=s}return e})),I(u),Oe(u)}else if(null!==sessionStorage.getItem("startDate")&&null===sessionStorage.getItem("endDate")){var d,m=sessionStorage.getItem("startDate");$(m),z(G);var h=St(m),p=St(G);k(1);var v=null==n?void 0:n.filter((function(t){return 0===Object.keys(e).length||e[null==t?void 0:t.articleType]}));v=null===(d=v)||void 0===d?void 0:d.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=h&&t<=p}return e})),I(v),Oe(v)}else if(null===sessionStorage.getItem("startDate")&&null!==sessionStorage.getItem("endDate")){var f,g=sessionStorage.getItem("endDate");$(W),z(g);var b=St(W),y=St(G);k(1);var S=null==n?void 0:n.filter((function(t){return 0===Object.keys(e).length||e[null==t?void 0:t.articleType]}));S=null===(f=S)||void 0===f?void 0:f.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=b&&t<=y}return e})),I(S),Oe(S)}}}),[Me]),(0,a.useEffect)((function(){var e="true"===(null==i?void 0:i.hasproducts),t="true"===(null==i?void 0:i.hasapplications);sessionStorage.setItem("checkboxState",JSON.stringify(Je));var n=sessionStorage.getItem("checkboxState");n=JSON.parse(n),sessionStorage.setItem("productCheckboxState",JSON.stringify(Re));var o=sessionStorage.getItem("productCheckboxState");o=JSON.parse(o),sessionStorage.setItem("applicationCheckboxState",JSON.stringify(Ke));var a=sessionStorage.getItem("applicationCheckboxState");if(a=JSON.parse(a),null!==sessionStorage.getItem("startDate")&&null!==sessionStorage.getItem("endDate")){var r,l=sessionStorage.getItem("startDate"),c=sessionStorage.getItem("endDate");$(l),z(c);var s=St(l),d=St(c);k(1);var m=Object.keys(n).filter((function(e){return 1==n[e]})),h=null==u?void 0:u.filter((function(e){return 0===m.length||m.includes(null==e?void 0:e.articleType)})),p=h;if(e){var w=Object.keys(o||{}).filter((function(e){return o[e]}));p=null==h?void 0:h.filter((function(e){var t;return 0===w.length||(null===(t=e.productInsightsList)||void 0===t?void 0:t.some((function(e){return w.includes(e)})))}))}var v=p;if(t){var f,g=Object.keys(a||{}).filter((function(e){return a[e]}));v=null===(f=p)||void 0===f?void 0:f.filter((function(e){var t;return 0===g.length||(null===(t=e.applicationInsightsList)||void 0===t?void 0:t.some((function(e){return g.includes(e)})))}
1))}v=null===(r=v)||void 0===r?void 0:r.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=s&&t<=d}return e})),sessionStorage.setItem("checkboxState",JSON.stringify(Je)),e?sessionStorage.setItem("productCheckboxState",JSON.stringify(Re)):sessionStorage.removeItem("productCheckboxState"),t?sessionStorage.setItem("applicationCheckboxState",JSON.stringify(Ke)):sessionStorage.removeItem("applicationCheckboxState"),I(v),Oe(v)}else if(null!==sessionStorage.getItem("startDate")&&null===sessionStorage.getItem("endDate")){var b,y=sessionStorage.getItem("startDate");$(y),z(G);var S=St(y),E=St(G);k(1);var N=null==u?void 0:u.filter((function(e){return 0===Object.keys(n).length||n[null==e?void 0:e.articleType]}));N=null===(b=N)||void 0===b?void 0:b.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=S&&t<=E}return e})),sessionStorage.setItem("checkboxState",JSON.stringify(Je)),sessionStorage.setItem("applicationCheckboxState",JSON.stringify(Ke)),sessionStorage.setItem("productCheckboxState",JSON.stringify(Re)),I(N),Oe(N)}else if(null===sessionStorage.getItem("startDate")&&null!==sessionStorage.getItem("endDate")){var x,D=sessionStorage.getItem("endDate");$(W),z(D);var C=St(W),O=St(G);k(1);var A=null==u?void 0:u.filter((function(e){return 0===Object.keys(n).length||n[null==e?void 0:e.articleType]}));A=null===(x=A)||void 0===x?void 0:x.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=C&&t<=O}return e})),sessionStorage.setItem("checkboxState",JSON.stringify(Je)),sessionStorage.setItem("applicationCheckboxState",JSON.stringify(Ke)),sessionStorage.setItem("productCheckboxState",JSON.stringify(Re)),I(A),Oe(A)}else{var M=Object.keys(n).filter((function(e){return!0===n[e]})),j=null==u?void 0:u.filter((function(e){return 0===M.length||M.includes(null==e?void 0:e.articleType)})),P=j;if(e){var L=Object.keys(o||{}).filter((function(e){return o[e]}));P=null==j?void 0:j.filter((function(e){var t;return 0===L.length||(null===(t=e.productInsightsList)||void 0===t?void 0:t.some((function(e){return L.includes(e)})))}))}var F=P;if(t){var J,T=Object.keys(a||{}).filter((function(e){return a[e]}));F=null===(J=P)||void 0===J?void 0:J.filter((function(e){var t;return 0===T.length||(null===(t=e.applicationInsightsList)||void 0===t?void 0:t.some((function(e){return T.includes(e)})))}))}sessionStorage.setItem("checkboxState",JSON.stringify(Je)),e?sessionStorage.setItem("productCheckboxState",JSON.stringify(Re)):sessionStorage.removeItem("productCheckboxState"),t?sessionStorage.setItem("applicationCheckboxState",JSON.stringify(Ke)):sessionStorage.removeItem("applicationCheckboxState"),Pe.current=F,I(F),Oe(F)}}),[Je,Ke,Re]);var ze=function(){M(!A)},Qe=function(){L(!P)},Xe=function(){T(!J)},Ze=function(){var e,t=JSON.stringify(Je)===JSON.stringify(ue),o=JSON.stringify(Re)===JSON.stringify(he),a=JSON.stringify(Ke)===JSON.stringify(ve);if(!(t&&o&&a&&""===K)){sessionStorage.removeItem("checkboxState"),sessionStorage.removeItem("productCheckboxState"),sessionStorage.removeItem("applicationCheckboxState"),sessionStorage.removeItem("startDate"),sessionStorage.removeItem("endDate"),Te(ue),qe(he),He(ve),H("");var i=null==u?void 0:u.map((function(e){return new Date(null==e?void 0:e.articlePublishFormattedDate).getTime()})),r=new Date(Math.min.apply(Math,h(i))),l=new Date(Math.max.apply(Math,h(i))),c=bt(r),s=bt(l);sessionStorage.setItem("startDate","".concat(c[2],"-").concat(c[1],"-").concat(c[0])),$("".concat(c[2],"-").concat(c[1],"-").concat(c[0])),sessionStorage.setItem("endDate","".concat(s[2],"-").concat(s[1],"-").concat(s[0])),z("".concat(s[2],"-").concat(s[1],"-").concat(s[0])),(null===(e=Pe.current)||void 0===e?void 0:e.length)>0?(I(Pe.current),Oe(Pe.current)):(I(n),Oe(n)),gt(1,!1)}};(0,a.useEffect)((function(){var e=sessionStorage.getItem("sortdata");if(null!=e&&null!=e){var t=JSON.parse(e);(function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(JSON.stringify(e[n])!==JSON.stringify(t[n]))return!1;return!0})(u,t)||(sessionStorage.setItem("sortdata",JSON.stringify(u)),Ze())}}),[u]);var et=function(e){Pe.current=N;var t=e.target,n=t.id,o=t.checked;Te((function(e){return d(d({},e),{},m({},n,o))})),gt(1,!1)},tt=function(e){Pe.current=N;var t=e.target,n=t.id,o=t.checked;qe((function(e){return d(d({},e),{},m({},n,o))})),gt(1,!1)},nt=function(e){Pe.current=N;var t=e.target,n=t.id,o=t.checked;He((function(e){return d(d({},e),{},m({},n,o))})),gt(1,!1)},ot=function(e){var t=e.target.checked,n={};Object.keys(Je).forEach((function(e){n[e]=t})),Te(n)},at=function(e){var t=e.target.checked,n={};Object.keys(Re).forEach((function(e){n[e]=t})),qe(n)},it=function(e){var t=e.target.checked,n={};Object.keys(Ke).forEach((function(e){n[e]=t})),He(n)},rt=function(e,t){var n="true"===(null==i?void 0:i.hasproducts),o="true"===(null==i?void 0:i.hasapplications);switch(t){case"Products":return n?null==u?void 0:u.filter((function(t){var n;return null==t||null===(n=t.productInsightsList)||void 0===n?void 0:n.includes(e)})).length:0;case"Applications":return o?null==u?void 0:u.filter((function(t){var n;return null==t||null===(n=t.applicationInsightsList)||void 0===n?void 0:n.includes(e)})).length:0;case"Category":return null==u?void 0:u.filter((function(t){return(null==t?void 0:t.articleType)===e})).length}},lt=null==u?void 0:u.reduce((function(e,t){var n;return e+((null==t||null===(n=t.productInsightsList)||void 0===n?void 0:n.length)||0)}),0),ct="true"===(null==i?void 0:i.hasapplications)?null==u?void 0:u.reduce((function(e,t){var n;return e+((null==t||null===(n=t.applicationInsightsList)||void 0===n?void 0:n.length)||0)}),0):0,st=(0,a.useMemo)((function(){return Object.keys(Je).filter((function(e){return Je[e]}))}),[Je]),ut=st.map((function(e,t){return a.createElement("span",{key:t},e,t<st.length-1&&",")})),dt=(0,a.useMemo)((function(){return Object.keys(Re).filter((function(e){return Re[e]}))}),[Re]),mt=(0,a.useMemo)((function(){return Object.keys(Ke).filter((function(e){return Ke[e]}
1))}),[Ke]),ht=dt.map((function(e,t){return a.createElement("span",{key:t},e,t<dt.length-1&&", ")})),pt=mt.map((function(e,t){return a.createElement("span",{key:t},e,t<mt.length-1&&", ")})),wt=function(e){return Object.entries(e).filter((function(e){var t=p(e,2);t[0];return!0===t[1]})).length},vt=function(e,t){if(Object.values(t).every((function(e){return!1===e})))return e.length;var n=0;return null==e||e.forEach((function(e){t[null==e?void 0:e.articleType]&&n++})),n},ft=function(){var e=Math.ceil((null==N?void 0:N.length)/b),t=3;window.innerWidth<=1150&&(t=5);var n=Math.max(1,S-Math.floor(t/2)),o=Math.min(e,n+t-1);return o-n+1<t&&(n=Math.max(1,o-t+1)),o>e&&(o=e),Array.from({length:o-n+1},(function(e,t){return n+t}))},gt=function(e,t){var n=(e-1)*b,o=n+b,a=function(e){var t=e;return t.sort((function(e,t){var n=new Date(null==e?void 0:e.articlePublishFormattedDate);return new Date(null==t?void 0:t.articlePublishFormattedDate)-n})),t}(N),i=a.slice(n,o);C(i);var r=sessionStorage.getItem("insightlistpagenumber");if(null!==r&&"1"!=r&&t)k(Number(r)),sessionStorage.setItem("insightlistpagenumber",r);else{k(e);var l=sessionStorage.getItem("sortdata");null!=l&&null!=l||sessionStorage.setItem("sortdata",JSON.stringify(u)),sessionStorage.setItem("insightlistpagenumber",e)}};(0,a.useEffect)((function(){var e=sessionStorage.getItem("insightlistpagenumber");if(null!==e&&""!==e&&void 0!==e&&0!==parseInt(e)&&1!==parseInt(e)){var t=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+e;window.history.pushState({path:t},"",t);var n=document.querySelector("link[rel=canonical]"),o=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+e;n.setAttribute("href",o)}gt(S,null!==e&&"1"!=e)}),[N]);var bt=function(e){var t,n,o,a;return[null===(t=a=""!==e?new Date(e):new Date)||void 0===t?void 0:t.getDate().toString().padStart(2,"0"),((null===(n=a)||void 0===n?void 0:n.getMonth())+1).toString().padStart(2,"0"),null===(o=a)||void 0===o?void 0:o.getFullYear()]};(0,a.useEffect)((function(){if(Ce&&Ce.length>0){var e=null==Ce?void 0:Ce.map((function(e){return""!==e.articlePublishFormattedDate?new Date(e.articlePublishFormattedDate).getTime():(new Date).getTime()})),t=new Date(Math.min.apply(Math,h(e))),n=new Date(Math.max.apply(Math,h(e))),o=bt(t),a=bt(n),i=sessionStorage.getItem("startDate"),r=sessionStorage.getItem("endDate");Z("".concat(o[2],"-").concat(o[1],"-").concat(o[0])),$(null!==i?i:"".concat(o[2],"-").concat(o[1],"-").concat(o[0])),z(null!==r?r:"".concat(a[2],"-").concat(a[1],"-").concat(a[0]));var l=new Date,c=bt(l),s="".concat(c[2],"-").concat(c[1],"-").concat(c[0]);ne(s)}}),[Ce]);var yt=function(e){if(""!==e){var t=bt(e);return"".concat(t[0],".").concat(t[1],".").concat(t[2])}return e},St=function(e){var t=new Date(e),n=t.getFullYear(),o=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0");return"".concat(n,"-").concat(o,"-").concat(a)},kt=function(e){"Enter"===e.key&&(e.preventDefault(),e.target.click())};function Et(){document.getElementById("insightsArticleNewsListing").scrollIntoView({behavior:"smooth"})}var Nt=function(e,t,n){var o=St(e),a=St(t);k(1);var i=null==Ce?void 0:Ce.filter((function(e){if(""!==e.articlePublishFormattedDate){var t=St(e.articlePublishFormattedDate);return t>=o&&t<=a}return e}));if(I(i),e){var r=t||St(new Date);xt(e.replaceAll("-","/")+" - "+r.replaceAll("-","/"),n)}},It=function(e){var t={target:{checked:!1}};switch(e){case"Products":at(t);break;case"Applications":it(t);break;case"Category":ot(t)}};function xt(e,t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"search_filter",eventLabel:e,eventSource:null==i?void 0:i.componentname,eventSourceLabel:null==i?void 0:i.searchpageheadingen,searchType:"Press Release & Marketing News Search",filterCategory:t,filterValue:e})}var Dt=function(e,t){return a.createElement(a.Fragment,null,a.createElement("div",{className:"applied-category",tabIndex:"0"},a.createElement("p",null,e," : ",t),a.createElement("span",{className:"category-cross icon icon-cross",tabIndex:"0",onClick:function(){return It(e)},onKeyDown:function(t){"Enter"===t.key&&It(e)}})))},Ct=(0,a.useRef)(le);(0,a.useEffect)((function(){Ct.current=le.length}),[le]);var Ot=function(e,t){var n,o;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"search",eventLabel:null!==(n=e.trim())&&void 0!==n?n:"",eventSource:null==i?void 0:i.componentname,eventSourceLabel:null==i?void 0:i.searchpageheadingen,searchTerm:null!==(o=e.trim())&&void 0!==o?o:"",searchResults:t,searchType:"Press Release & Marketing News Search",searchCategory:""})};return a.createElement("div",null,a.createElement("div",{className:"articles-searchHeader-wrapper"},a.createElement("form",{className:"ifx-fixed articles-searchHeader",onSubmit:function(e){e.preventDefault(),k(1),sessionStorage.setItem("insightlistpagenumber",S),function(e){if(Object.values(Je).every((function(e){return!1===e})))I([]);else{Pe.current=N;var t=u.filter((function(e){return!0===Je[e.articleType]})).filter((function(t){var n,o,a=null===(n=t.articleType)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()),i=null===(o=t.articleTitle)||void 0===o?void 0:o.toLowerCase().includes(e.toLowerCase());return a||i}));I(t),ce(t)}}(K),setTimeout((function(){Ot(K,0)}),200)}},a.createElement("h1",{className:"articles-searchHeader-heading"},null==i?void 0:i.searchpageheading),a.createElement("div",{className:"articles-searchHeader-search-wrapper"},a.createElement("div",{className:"articles-searchHeader-input"}," ",a.createElement("div",{className:"articles-searchHeader-search"},a.createElement("span",{className:"icon icon-search"}),a.createElement("input",{type:"text",placeholder:null==i?void 0:i.searchpageplaceholder,onChange:function(e){return t=e.target.value,void H(t);var t},value:K}),K&&a.createElement("span",{className:"cursor-pointer search-clear icon icon-c-remove",onClick:function(){H("")}})),a.createElement("div",{className:"mobile-view-filter d-lg-none",onClick:function(){return q(!0)}},a.createElement("span",{className:"icon icon-preferences"}),a.createElement("p",{className:"mobile-view-category-count-text"},wt(Je)))),a.createElement("button",{type:"submit"},null==i?void 0:i.searchpagebutton)))),a.createElement("div",{className:"ifx-fixed article-filter-active-wrapper"},a.createElement("div",{className:"articles-comp"},a.createElement("nav",null,a.createElement("div",{className:"article-left-side-filters"},a.createElement("div",{className:R?"filter-article mobile-view-filters-absolute":"filter-article desktop-view"},a.createElement("h2",{className:"filter-heading desktop-view"},i.filterlabel),a.createElement("div",{className:"mobile-view-filter-close mobile-view",onClick:function(){return q(!1)}},a.createElement("p",{className:"filter-heading"},i.filterlabel," (",wt(Je),")"),a.createElement("span",{className:"mobile-view icon icon-cross"})),a.createElement("div",{className:"true"==i.hascategory?A?"category-filter-article border-left-active":"category-filter-article category-filter-article-not-active":"d-none"},a.createElement("div",{className:"category-accordion cursor-pointer",onClick:ze,onKeyDown:ze},a.createElement("p",{className:A?"category-heading font-weight-heading-active":"category-heading"},i.categorylabel),a.createElement("span",{onClick:ze,className:A?"icon icon-minus":"icon icon-plus",alt:"icon"})),a.createElement("div",{className:A?"active input-checkbox":"hidden input-checkbox",tabIndex:"0"},a.createElement("div",{className:"checkbox",tabIndex:"0"},a.createElement("input",{id:"allcheckbox",type:"checkbox",value:"all",checked:Object.values(Je).every((function(e){return e})),onChange:ot,onClick:function(e){var t;null!=e&&null!==(t=e.target)&&void 0!==t&&t.checked&&xt(e.target.value,"Category")}}),a.createElement("label",{htmlFor:"allcheckbox"},i.alllabel," (",u.length,")")),Be.map((function(e){return a.createElement("div",{className:"checkbox",key:e,tabIndex:"0"},a.createElement("input",{id:e,type:"checkbox",value:e,checked:Je[e]||!1,onChange:et,onClick:function(e){var t;null!=e&&null!==(t=e.target)&&void 0!==t&&t.checked&&xt(e.target.value,"Category")}}),a.createElement("label",{htmlFor:e},e," (",rt(e,"Category"),")"))})),(null==_e?void 0:_e.length)>5&&a.createElement("span",{onClick:function(){return Ee(!ke)},className:"showmoreless-span"},a.createElement("span",{className:"showmoreless-plus"},ke?"-":"+"),ke?"Show less":"".concat((null==_e?void 0:_e.length)-5," more")))),a.createElement("div",{className:"true"==i.hasproducts?P?"category-filter-article border-left-active":"category-filter-article category-filter-article-not-active":"d-none"},a.createElement("div",{className:"category-accordion cursor-pointer",onClick:Qe,onKeyDown:Qe},a.createElement("p",{className:P?"category-heading font-weight-heading-active":"category-heading"},"Products"),a.createElement("span",{onClick:Qe,className:P?"icon icon-minus":"icon icon-plus",alt:"icon"})),a.createElement("div",{className:P?"active input-checkbox":"hidden input-checkbox",tabIndex:"0"},a.createElement("div",{className:"checkbox",tabIndex:"0"},a.createElement("input",{id:"allcheckbox-products",type:"checkbox",value:"all",checked:Object.values(Re).every((function(e){return e})),onChange:at,onClick:function(e){var t;null!=e&&null!==(t=e.target)&&void 0!==t&&t.checked&&xt(e.target.value,"Products")}}),a.createElement("label",{htmlFor:"allcheckbox-products"},i.alllabel," (",lt,")")),$e.map((function(e){return a.createElement("div",{className:"checkbox",key:e,tabIndex:"0"},a.createElement("input",{id:e,type:"checkbox",value:e,checked:Re[e]||!1,onChange:tt,onClick:function(e){var t;null!=e&&null!==(t=e.target)&&void 0!==t&&t.checked&&xt(e.target.value,"Products")}}),a.createElement("label",{htmlFor:e},e," (",rt(e,"Products"),")"))})),(null==We?void 0:We.length)>5&&a.createElement("span",{onClick:function(){return ye(!be)},className:"showmoreless-span"},a.createElement("span",{className:"showmoreless-plus"},be?"-":"+"),be?"Show less":"".concat((null==We?void 0:We.length)-5," more")))),a.createElement("div",{className:"true"==i.hasapplications?J?"category-filter-article border-left-active":"category-filter-article category-filter-article-not-active":"d-none"},a.createElement("div",{className:"category-accordion cursor-pointer",onClick:Xe,onKeyDown:Xe},a.createElement("p",{className:J?"category-heading font-weight-heading-active":"category-heading"},"Applications"),a.createElement("span",{onClick:Xe,className:J?"icon icon-minus":"icon icon-plus",alt:"icon"})),a.createElement("div",{className:J?"active input-checkbox":"hidden input-checkbox",tabIndex:"0"},a.createElement("div",{className:"checkbox",tabIndex:"0"},a.createElement("input",{id:"allcheckbox-applications",type:"checkbox",value:"all",checked:Object.values(Ke).every((function(e){return e})),onChange:it,onClick:function(e){var t;null!=e&&null!==(t=e.target)&&void 0!==t&&t.checked&&xt(e.target.value,"Applications")}}),a.createElement("label",{htmlFor:"allcheckbox-applications"},i.alllabel," (",ct,")")),Ge.map((function(e){return a.createElement("div",{className:"checkbox",key:e,tabIndex:"0"},a.createElement("input",{id:e,type:"checkbox",value:e,checked:Ke[e]||!1,onChange:nt,onClick:function(e){var t;null!=e&&null!==(t=e.target)&&void 0!==t&&t.checked&&xt(e.target.value,"Applications")}}),a.createElement("label",{htmlFor:e},e," (",rt(e,"Applications"),")"))})),(null==Ve?void 0:Ve.length)>5&&a.createElement("span",{onClick:function(){return xe(!Ie)},className:"showmoreless-span"},a.createElement("span",{className:"showmoreless-plus"},Ie?"-":"+"),Ie?"Show less":"".concat((null==Ve?void 0:Ve.length)-5," more")))),a.createElement("div",{className:"true"==i.hasdaterange?ae?"publication-date border-left-active":"publication-date publication-date-not-active":"d-none"},a.createElement("div",{className:"publication-date-accordion cursor-pointer",tabIndex:"0",onClick:function(){return ie(!ae)},onKeyDown:function(){return ie(!ae)}},a.createElement("p",{className:ae?"publication-date-heading font-weight-heading-active":"publication-date-heading"},i.publicationdatelabel),a.createElement("span",{className:ae?"icon icon-minus":"icon icon-plus",alt:"icon"})),a.createElement("div",{className:ae?"active publication-date-range-input"
1:"hidden",tabIndex:"0"},a.createElement("div",{className:"datepicker-toggle",onKeyDown:kt(event)},a.createElement("span",{className:"datepicker-toggle-button"},yt(W)),a.createElement("label",{htmlFor:"from-date",className:"hideClass"},"From"),a.createElement("input",{type:"date",className:"datepicker-input",tabIndex:"0",id:"from-date",value:W,onChange:function(e){!function(e){$(e.target.value),sessionStorage.setItem("startDate",e.target.value),Nt(e.target.value,G,"Publication date range"),gt(1,!1)}(e)},min:X,max:G})),a.createElement("p",null,"to"),a.createElement("div",{className:"datepicker-toggle",onKeyDown:kt(event)},a.createElement("span",{className:"datepicker-toggle-button"},yt(G)),a.createElement("label",{htmlFor:"to-date",className:"hideClass"},"To"),a.createElement("input",{type:"date",className:"datepicker-input",tabIndex:"0",id:"to-date",value:G,onChange:function(e){!function(e){z(e.target.value),sessionStorage.setItem("endDate",e.target.value),Nt(W,e.target.value,"Publication date range"),gt(1,!1)}(e)},min:W,max:te})))),a.createElement("div",{className:"mobile-view mobile-view-filter-btns"},a.createElement("button",{onClick:Ze,className:"mobile-view-reset-btn"}," ",a.createElement("span",{className:"icon icon-restore"}),i.resetlabel," "),a.createElement("button",{onClick:function(){return q(!1)},className:"mobile-view-total-results"},i.viewlabel," ",vt(N,Je)," ",i.resultLabel))),a.createElement("div",{className:"article-secondary-info-desktop desktop-view"},((null==i?void 0:i.secondaryinfoicon)||(null==i?void 0:i.secondaryinfoheading)||(null==i?void 0:i.secondaryinfodesc)||(null==i?void 0:i.secondaryinfobuttonlabel)||(null==i?void 0:i.secondaryinfobuttonurl))&&a.createElement(l,{data:i})))),a.createElement("div",{style:{width:"100%"}},a.createElement("div",{className:""},a.createElement("div",{className:"mobile-view mobile-view-wrapper"},a.createElement("div",{className:"mobile-view mobile-view-filters-dropdown"},a.createElement("div",{className:"mobile-view mobile-view-results"},a.createElement("p",{className:"article-results"},vt(N,Je)," ",i.totalresultlabel)," "))),a.createElement("div",{className:"iel-applied-filters desktop-view"},a.createElement("div",{className:"applied-filters"},"true"===i.hascategory&&a.createElement(a.Fragment,null,Dt(i.appliedcategorylabel,ut)),"true"===i.hasproducts&&ht.length>0&&a.createElement(a.Fragment,null,Dt("Products",ht)),"true"===i.hasapplications&&pt.length>0&&a.createElement(a.Fragment,null,Dt("Applications",pt)),a.createElement("div",{className:"category-reset",tabIndex:"0",onClick:Ze,onKeyDown:function(e){"Enter"===e.key&&Ze()}},a.createElement("span",{className:"reset-all-icon icon icon-curved-arrow-right"}),a.createElement("p",null," ",i.resetlabel," "))),a.createElement("div",{className:"total-results"},a.createElement("p",{className:"article-results"},vt(N,Je)," ",i.totalresultlabel)," "))),a.createElement("div",{className:"iel-results-container"},D.map((function(e,t){return a.createElement(r,s({key:t},e,{dateFormat:i.dateformat,index:t,searchType:"Press Release & Marketing News Search",totalResults:le,componentName:(null==i?void 0:i.componentname)||""}))}))),D.length>0&&ft().length>1&&a.createElement("div",{className:" pagination-mobile-view-wrapper"},a.createElement("nav",{className:"pagination"},a.createElement("span",{tabIndex:1===S?"-1":"0",className:1===S?"left-page-btn disabled-btn icon icon-arrow-left":"left-page-btn cursor-pointer enabled-btn icon icon-arrow-left",onClick:function(){if(1!==S&>(S-1,!1),S-1==0||S-1==1){var e=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;window.history.pushState({path:e},"",e);var t=document.querySelector("link[rel=canonical]"),n=window.location.protocol+"//"+window.location.host+window.location.pathname;t.setAttribute("href",n)}else{var o=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S-1):window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+(S-1);window.history.pushState({path:o},"",o);var a=document.querySelector("link[rel=canonical]"),i=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S-1);a.setAttribute("href",i)}Et()},onKeyDown:function(e){if("Enter"===e.key){if(1!==S&>(S-1,!1),S-1==0||S-1==1){var t=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;window.history.pushState({path:t},"",t);var n=document.querySelector("link[rel=canonical]"),o=window.location.protocol+"//"+window.location.host+window.location.pathname;n.setAttribute("href",o)}else{var a=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S-1):window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+(S-1);window.history.pushState({path:a},"",a);var i=document.querySelector("link[rel=canonical]"),r=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S-1);i.setAttribute("href",r)}Et()}},"aria-label":"Previous"}),a.createElement("div",{className:"pagination-number"},ft().map((function(e){return a.createElement("a",{key:e,onClick:function(t){var n;if(t.preventDefault(),gt(e,!1),"1"!==(null==t||null===(n=t.target)||void 0===n?void 0:n.innerHTML)){var o=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+e:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+e;window.history.pushState({path:o},"",o);var a=document.querySelector("link[rel=canonical]"),i=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+e;a.setAttribute("href",i)}
1else{var r=new URLSearchParams(window.location.search),l=(null==r||r.get("eventfilters"),""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash);window.history.pushState({path:l},"",l);var c=document.querySelector("link[rel=canonical]"),s=window.location.protocol+"//"+window.location.host+window.location.pathname;c.setAttribute("href",s)}Et()},onKeyDown:function(t){if(t.preventDefault(),"Enter"===t.key){var n;if(gt(e,!1),"1"!==(null==t||null===(n=t.target)||void 0===n?void 0:n.innerHTML)){var o=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+e:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+e;window.history.pushState({path:o},"",o);var a=document.querySelector("link[rel=canonical]"),i=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+e;a.setAttribute("href",i)}else{var r=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;window.history.pushState({path:r},"",r);var l=document.querySelector("link[rel=canonical]"),c=window.location.protocol+"//"+window.location.host+window.location.pathname;l.setAttribute("href",c)}Et()}},className:S===e?"pageNoSelected":"pageNo",href:1!==e?"?page="+e:"#","aria-label":"Go to page "+S,tabIndex:S===e?"-1":"0"},e)}))),a.createElement("span",{tabIndex:S===ft()[ft().length-1]?"-1":"0",className:S===ft()[ft().length-1]?"right-page-btn disabled-btn icon icon-arrow-right":"right-page-btn enabled-btn cursor-pointer icon icon-arrow-right",onClick:function(){if(S!==ft()[ft().length-1]&>(S+1,!1),Math.ceil((null==N?void 0:N.length)/b)!==S){var e=new URLSearchParams(window.location.search),t=null==e?void 0:e.get("eventfilters");if(""!==t&&null!=t){var n=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?eventfilters="+encodeURIComponent(t)+"&page="+(S+1):window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+encodeURIComponent(t)+"&page="+(S+1);window.history.pushState({path:n},"",n);var o=document.querySelector("link[rel=canonical]"),a=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S+1);o.setAttribute("href",a)}else{var i=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S+1):window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+(S+1);window.history.pushState({path:i},"",i);var r=document.querySelector("link[rel=canonical]"),l=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S+1);r.setAttribute("href",l)}}else{var c=new URLSearchParams(window.location.search),s=null==c?void 0:c.get("eventfilters");if(""!==s&&null!=s){var u=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?eventfilters="+encodeURIComponent(s)+"&page="+S:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+encodeURIComponent(s)+"&page="+S;window.history.pushState({path:u},"",u);var d=document.querySelector("link[rel=canonical]"),m=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+S;d.setAttribute("href",m)}else{var h=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+S:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+S;window.history.pushState({path:h},"",h);var p=document.querySelector("link[rel=canonical]"),w=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+S;p.setAttribute("href",w)}}Et()},onKeyDown:function(e){if("Enter"===e.key){if(S!==ft()[ft().length-1]&>(S+1,!1),Math.ceil((null==N?void 0:N.length)/b)!==S){var t=new URLSearchParams(window.location.search),n=null==t?void 0:t.get("eventfilters");if(""!==n&&null!=n){var o=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?eventfilters="+encodeURIComponent(n)+"&page="+(S+1):window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+encodeURIComponent(n)+"&page="+(S+1);window.history.pushState({path:o},"",o);var a=document.querySelector("link[rel=canonical]"),i=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S+1);a.setAttribute("href",i)}else{var r=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S+1):window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+(S+1);window.history.pushState({path:r},"",r);var l=document.querySelector("link[rel=canonical]"),c=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+(S+1);l.setAttribute("href",c)}}else{var s=new URLSearchParams(window.location.search),u=null==s?void 0:s.get("eventfilters");if(""!==u&&null!=u){var d=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?eventfilters="+encodeURIComponent(u)+"&page="+S:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+encodeURIComponent(u)+"&page="+S;window.history.pushState({path:d},"",d);var m=document.querySelector("link[rel=canonical]"),h=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+S;m.setAttribute("href",h)}else{var p=""===window.location.hash?window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+S:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash+"?page="+S;window.history.pushState({path:p},"",p);var w=document.querySelector("link[rel=canonical]"),v=window.location.protocol+"//"+window.location.host+window.location.pathname+"?page="+S;w.setAttribute("href",v)}}Et()}},"aria-label":"Next"}))))),a.createElement("div",{className:"article-secondary-info-mobile mobile-view"},((null==i?void 0:i.secondaryinfoicon)||(null==i?void 0:i.secondaryinfoheading)||(null==i?void 0:i.secondaryinfodesc)||(null==i?void 0:i.secondaryinfobuttonlabel)||(null==i?void 0:i.secondaryinfobuttonurl))&&a.createElement(l,{data:i}))))};function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,i,r,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}
1finally{try{if(!c&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(s)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var y=function(e){var t=g((0,a.useState)([]),2),n=t[0],o=t[1],i=g((0,a.useState)(null),2),r=i[0],l=i[1];return(0,a.useEffect)((function(){fetch(null==e?void 0:e.api).then((function(e){return e.json()})).then((function(e){e&&(o(e),l(e))}))}),[null==e?void 0:e.api]),null===r?a.createElement("div",null,"Loading........"):a.createElement(f,{jsonData:n,data:e})}}}]);
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.