1"use strict";(("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__=("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__||[]).push([[5465],{95465:function(t,e,n){n.d(e,{Z:function(){return F}});n(96928),n(61229),n(34115),n(634),n(58188),n(20796),n(15735),n(28673),n(6886);var o=n(12167),r=(n(43450),n(18178),n(2784)),i=n(17394),c=n(49372),l=n(5109),u=n(32707),a=n(52750),f=n(44158),s=(n(43105),n(90856)),p=n(4361),y=n(52021),b=n(22749),d=n(80768),h=n(58123),v=n(37757),m=n(52322);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function _(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},O(t,e)}function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=x(t);if(e){var r=x(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?j(t):e}function j(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function P(){return P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P.apply(this,arguments)}var k=(0,o.Z)("li",P({},{target:"exty2xe1"},(0,p.t)("isSelected")))("text-align:left;",(function(t){if(t.isSelected)return{backgroundColor:s.EU.secondary}}),""),R=(0,o.Z)("p",{target:"exty2xe0"})(l.TK.SUPPORTING,""),D=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(c,t);var e,n,o,i=S(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),E(j(e=i.call(this,t)),"itemEl",void 0),E(j(e),"handleClick",(function(t){e.props.onClick(t,e.props.section)})),e.itemEl=r.createRef(),e}return e=c,(n=[{key:"componentDidUpdate",value:function(t){var e,n;this.props.isSelected&&!t.isSelected&&(null===(e=this.itemEl)||void 0===e||null===(n=e.current)||void 0===n||n.scrollIntoView({block:"nearest"}))}},{key:"render",value:function(){var t=this.props,e=t.section,n=t.isSelected,o=t.displayFollowers,r=t.t,i=d.Z.projection(e).canonicalPath;return(0,m.jsx)(k,{isSelected:n,ref:this.itemEl,children:(0,m.jsxs)(h.Z,{className:"topic-list__item-target ui-text--title",href:i,onClick:this.handleClick,navFromEventName:b.f2.SECTION_ENTER,children:[e.title,o&&e.followers&&(0,m.jsxs)(R,{children:[(0,y._H)(e.followers),"Â ",r("reading_about_this")]})]})})}}])&&_(e.prototype,n),o&&_(e,o),c}(r.Component),C=(0,v.Z)(D);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T(t,e){return T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},T(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=A(t);if(e){var r=A(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return U(this,n)}}function U(t,e){return!e||"object"!==N(e)&&"function"!=typeof e?Z(t):e}function Z(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},A(t)}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var G=(0,o.Z)("ul",{target:"ebzp0c62"})({maxWidth:u.L6.MAIN_COLUMN_WIDTH,margin:"0 auto"},""),L=(0,o.Z)("h2",{target:"ebzp0c61"})(l.TK.SUPPORTING_EMPHASIS,""),H=(0,o.Z)("nav",{target:"ebzp0c60"})({paddingBottom:c.N.BASE8X},(0,a.hy)(i.j.tabletPortraitUp({paddingBottom:"0px"})),""),F=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(i,t);var e,n,o,r=K(i);function i(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),B(Z(e=r.call(this,t)),"windowKeyDown",void 0),B(Z(e),"handleKeyDown",(function(t){var n=e.props.sectionGroups.map((function(t){return t.sections})).reduce((function(t,e){return t.concat(e)}),[]);if(n&&0!==n.length){var o=e.state.selectedGlobalIndex;switch(t.keyCode){case f.t.UP:var r;r=null===o||o-1<0?n.length-1:o-1,e.setState({selectedGlobalIndex:r});break;case f.t.DOWN:var i;i=null===o||o+1>=n.length?0:o+1,e.setState({selectedGlobalIndex:i});break;case f.t.ENTER:if(null!==o){var c=n[o];e.props.onSelect(t,c)}}}})),e.state={selectedGlobalIndex:null},e.windowKeyDown=new f.Z(e.handleKeyDown),e}return e=i,(n=[{key:"componentDidMount",value:function(){this.windowKeyDown.subscribe()}},{key:"componentWillUnmount",value:function(){this.windowKeyDown.unsubscribe()}},{key:"render",value:function(){var t=this.props,e=t.sectionGroups,n=t.displayFollowers,o=t.onSelect,r=this.state.selectedGlobalIndex,i=-1;return e.map((function(t){return 0===t.sections.length?null:[t.title?(0,m.jsx)(L,{children:t.title},"".concat(t.title,"-title")):null,(0,m.jsx)(H,{children:(0,m.jsx)(G,{children:t.sections.map((function(t){return i+=1,(0,m.jsx)(C,{section:t,isSelected:r===i,displayFollowers:n,onClick:o},t.remoteid)}))})},"".concat(t.title,"-topics"))]}))}}])&&I(e.prototype,n),o&&I(e,o),i}(r.Component)}}]); 2//# sourceMappingURL=5465.3264c4273c9bddc77b6c.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.