[ad_1] Australian Open 2024 LIVE: Medvedev, Alcaraz, Zverev, Zheng in action - radio, text & updates - Live - BBC Sport SummaryListen to Tennis Breakfast on 5 Sports Extra from 07:00 GMT (UK only)NOW: Daniil Medvedev 7-6 (7-6) 2-6 6-3 Hubert Hurkacz for semi-final spot08:15 GMT: Zheng Qinwen v Anna KalinskayaFollowed by Carlos Alcaraz v Alexander ZverevQualifier Dayana Yastremska beats Linda Noskova in straight-sets to reach first major semi-finalBritain's Neal Skupski in mixed doubles semi-finals with American partner Desirae Krawczyk; Gordon Reid and Alfie Hewett among Britons in action in wheelchair eventsMen's and women's singles quarter-finals at Melbourne Park Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-lx-stream-v4@3.6.5"]={"bbc-morph-app-bridge":"2.2.0","bbc-morph-classnames":"1.0.2","bbc-morph-cookie-config":"3.0.1","bbc-morph-cs-enriched-post":"1.3.13","bbc-morph-feature-toggle-manager":"1.0.3","bbc-morph-gel-icons":"5.1.0","bbc-morph-gnl-smp-adverts":"1.1.0","bbc-morph-gnl-smp-analytics":"1.1.0","bbc-morph-grandstand":"5.7.0","bbc-morph-image-chef-url-transformer":"2.1.0","bbc-morph-isequal":"1.0.0","bbc-morph-lazysizes":"1.0.1","bbc-morph-lx-adverts":"1.0.8","bbc-morph-lx-commentary-data-paged":"1.5.6","bbc-morph-lx-istats":"1.1.4","bbc-morph-lx-reactions":"3.0.3","bbc-morph-moment-ws-timezone-wrapper":"1.0.7","bbc-morph-news-translations":"2.2.4","bbc-morph-responsive-image-srcset":"3.0.1","bbc-morph-share-tools":"5.1.4","bbc-morph-smp":"9.1.1","bbc-morph-ws-typography-info":"1.0.8","morph-container":"4.0.0","morph-require":"3.0.17","react":"0.14.7","react-dom":"0.14.7"}; !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=101)}([function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=r},function(e,t,n){"use strict";var r=n(7),o=r;e.exports=o},function(e,t,n){"use strict";function r(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,o=1;o<arguments.length;o++){var a=arguments[o];if(null!=a){var i=Object(a);for(var s in i)r.call(i,s)&&(n[s]=i[s])}}return n}e.exports=r},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===F?e.documentElement:e.firstChild:null}function a(e){var t=o(e);return t&&G.getID(t)}function i(e){var t=s(e);if(t)if(B.hasOwnProperty(t)){var n=B[t];n!==e&&(p(n,t)&&L(!1),B[t]=e)}else B[t]=e;return t}function s(e){return e&&e.getAttribute&&e.getAttribute(q)||""}function l(e,t){var n=s(e);n!==t&&delete B[n],e.setAttribute(q,t),B[t]=e}function u(e){return B.hasOwnProperty(e)&&p(B[e],e)||(B[e]=G.findReactNodeByID(e)),B[e]}function c(e){var t=w.get(e)._rootNodeID;return x.isNullComponentID(t)?null:(B.hasOwnProperty(t)&&p(B[t],t)||(B[t]=G.findReactNodeByID(t)),B[t])}function p(e,t){if(e){s(e)!==t&&L(!1);var n=G.findReactContainerForID(t);if(n&&D(n,e))return!0}return!1}function d(e){delete B[e]}function f(e){var t=B[e];if(!t||!p(t,e))return!1;z=t}function m(e){z=null,C.traverseAncestors(e,f);var t=z;return z=null,t}function h(e,t,n,r,o,a){T.useCreateElement&&(a=O({},a),n.nodeType===F?a[V]=n:a[V]=n.ownerDocument);var i=M.mountComponent(e,t,r,a);e._renderedComponent._topLevelWrapper=e,G._mountImageIntoNode(i,n,o,r)}function g(e,t,n,r,o){var a=I.ReactReconcileTransaction.getPooled(r);a.perform(h,null,e,t,n,a,r,o),I.ReactReconcileTransaction.release(a)}function v(e,t){for(M.unmountComponent(e),t.nodeType===F&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function y(e){var t=a(e);return!!t&&t!==C.getReactRootIDFromNodeID(t)}function b(e){for(;e&&e.parentNode!==e;e=e.parentNode)if(1===e.nodeType){var t=s(e);if(t){var n,r=C.getReactRootIDFromNodeID(t),o=e;do{if(n=s(o),null==(o=o.parentNode))return null}while(n!==r);if(o===W[r])return e}}return null}var _=n(17),P=n(32),T=(n(15),n(71)),E=n(11),x=n(72),C=n(26),w=n(27),N=n(74),k=n(9),M=n(16),S=n(42),I=n(8),O=n(3),R=n(28),D=n(75),A=n(43),L=n(1),U=n(33),j=n(47),q=(n(48),n(2),_.ID_ATTRIBUTE_NAME),B={},F=9,V="__ReactMount_ownerDocument$"+Math.random().toString(36).slice(2),H={},W={},K=[],z=null,Y=function(){};Y.prototype.isReactComponent={},Y.prototype.render=function(){return this.props};var G={TopLevelWrapper:Y,_instancesByReactRootID:H,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return G.scrollMonitor(n,function(){S.enqueueElementInternal(e,t),r&&S.enqueueCallbackInternal(e,r)}),e},_registerComponent:function(e,t){(!t||1!==t.nodeType&&t.nodeType!==F&&11!==t.nodeType)&&L(!1),P.ensureScrollValueMonitoring();var n=G.registerContainer(t);return H[n]=e,n},_renderNewRootComponent:function(e,t,n,r){var o=A(e,null),a=G._registerComponent(o,t);return I.batchedUpdates(g,o,a,t,n,r),o},renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||null==e._reactInternalInstance)&&L(!1),G._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){E.isValidElement(t)||L(!1);var i=new E(Y,null,null,null,null,null,t),l=H[a(n)];if(l){var u=l._currentElement,c=u.props;if(j(c,t)){var p=l._renderedComponent.getPublicInstance(),d=r&&function(){r.call(p)};return G._updateRootComponent(l,i,n,d),p}G.unmountComponentAtNode(n)}var f=o(n),m=f&&!!s(f),h=y(n),g=m&&!l&&!h,v=G._renderNewRootComponent(i,n,g,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):R)._renderedComponent.getPublicInstance();return r&&r.call(v),v},render:function(e,t,n){return G._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=a(e);return t&&(t=C.getReactRootIDFromNodeID(t)),t||(t=C.createReactRootID()),W[t]=e,t},unmountComponentAtNode:function(e){(!e||1!==e.nodeType&&e.nodeType!==F&&11!==e.nodeType)&&L(!1);var t=a(e),n=H[t];if(!n){var r=(y(e),s(e));r&&C.getReactRootIDFromNodeID(r);return!1}return I.batchedUpdates(v,n,e),delete H[t],delete W[t],!0},findReactContainerForID:function(e){var t=C.getReactRootIDFromNodeID(e),n=W[t];return n},findReactNodeByID:function(e){var t=G.findReactContainerForID(e);return G.findComponentRoot(t,e)},getFirstReactDOM:function(e){return b(e)},findComponentRoot:function(e,t){var n=K,r=0,o=m(t)||e;for(n[0]=o.firstChild,n.length=1;r<n.length;){for(var a,i=n[r++];i;){var s=G.getID(i);s?t===s?a=i:C.isAncestorIDOf(s,t)&&(n.length=r=0,n.push(i.firstChild)):n.push(i.firstChild),i=i.nextSibling}if(a)return n.length=0,a}n.length=0,L(!1)},_mountImageIntoNode:function(e,t,n,a){if((!t||1!==t.nodeType&&t.nodeType!==F&&11!==t.nodeType)&&L(!1),n){var i=o(t);if(N.canReuseMarkup(e,i))return;var s=i.getAttribute(N.CHECKSUM_ATTR_NAME);i.removeAttribute(N.CHECKSUM_ATTR_NAME);var l=i.outerHTML;i.setAttribute(N.CHECKSUM_ATTR_NAME,s);var u=e,c=r(u,l);u.substring(c-20,c+20),l.substring(c-20,c+20);t.nodeType===F&&L(!1)}if(t.nodeType===F&&L(!1),a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);t.appendChild(e)}else U(t,e)},ownerDocumentContextKey:V,getReactRootID:a,getID:i,setID:l,getNode:u,getNodeFromInstance:c,isValid:p,purgeID:d};k.measureMethods(G,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),e.exports=G},function(e,t,n){"use strict";function r(e){return function(){return e}}function o(){}o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(){w.ReactReconcileTransaction&&_||g(!1)}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=w.ReactReconcileTransaction.getPooled(!1)}function a(e,t,n,o,a,i){r(),_.batchedUpdates(e,t,n,o,a,i)}function i(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==v.length&&g(!1),v.sort(i);for(var n=0;n<t;n++){var r=v[n],o=r._pendingCallbacks;if(r._pendingCallbacks=null,f.performUpdateIfNecessary(r,e.reconcileTransaction),o)for(var a=0;a<o.length;a++)e.callbackQueue.enqueue(o[a],r.getPublicInstance())}}function l(e){if(r(),!_.isBatchingUpdates)return void _.batchedUpdates(l,e);v.push(e)}function u(e,t){_.isBatchingUpdates||g(!1),y.enqueue(e,t),b=!0}var c=n(37),p=n(12),d=n(9),f=n(16),m=n(30),h=n(3),g=n(1),v=[],y=c.getPooled(),b=!1,_=null,P={initialize:function(){this.dirtyComponentsLength=v.length},close:function(){this.dirtyComponentsLength!==v.length?(v.splice(0,this.dirtyComponentsLength),x()):v.length=0}},T={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},E=[P,T];h(o.prototype,m.Mixin,{getTransactionWrappers:function(){return E},destructor:function(){this.dirtyComponentsLength=null,c.release(this.callbackQueue),this.callbackQueue=null,w.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return m.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var x=function(){for(;v.length||b;){if(v.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(b){b=!1;var t=y;y=c.getPooled(),t.notifyAll(),c.release(t)}}};x=d.measure("ReactUpdates","flushBatchedUpdates",x);var C={injectReconcileTransaction:function(e){e||g(!1),w.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e||g(!1),"function"!=typeof e.batchedUpdates&&g(!1),"boolean"!=typeof e.isBatchingUpdates&&g(!1),_=e}},w={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:l,flushBatchedUpdates:x,injection:C,asap:u};e.exports=w},function(e,t,n){"use strict";function r(e,t,n){return n}var o={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){o.storedMeasure=e}}};e.exports=o},function(e,t,n){"use strict";var r=n(29),o=r({bubbled:null,captured:null}),a=r({topAbort:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null,topWheel:null}),i={topLevelTypes:a,PropagationPhases:o};e.exports=i},function(e,t,n){"use strict";var r=n(15),o=n(3),a=(n(41),"function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103),i={key:!0,ref:!0,__self:!0,__source:!0},s=function(e,t,n,r,o,i,s){var l={$$typeof:a,type:e,key:t,ref:n,props:s,_owner:i};return l};s.createElement=function(e,t,n){var o,a={},l=null,u=null;if(null!=t){u=void 0===t.ref?null:t.ref,l=void 0===t.key?null:""+t.key,void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(o in t)t.hasOwnProperty(o)&&!i.hasOwnProperty(o)&&(a[o]=t[o])}var c=arguments.length-2;if(1===c)a.children=n;else if(c>1){for(var p=Array(c),d=0;d<c;d++)p[d]=arguments[d+2];a.children=p}if(e&&e.defaultProps){var f=e.defaultProps;for(o in f)void 0===a[o]&&(a[o]=f[o])}return s(e,l,u,0,0,r.current,a)},s.createFactory=function(e){var t=s.createElement.bind(null,e);return t.type=e,t},s.cloneAndReplaceKey=function(e,t){return s(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},s.cloneAndReplaceProps=function(e,t){var n=s(e.type,e.key,e.ref,e._self,e._source,e._owner,t);return n},s.cloneElement=function(e,t,n){var a,l=o({},e.props),u=e.key,c=e.ref,p=(e._self,e._source,e._owner);if(null!=t){void 0!==t.ref&&(c=t.ref,p=r.current),void 0!==t.key&&(u=""+t.key);for(a in t)t.hasOwnProperty(a)&&!i.hasOwnProperty(a)&&(l[a]=t[a])}var d=arguments.length-2;if(1===d)l.children=n;else if(d>1){for(var f=Array(d),m=0;m<d;m++)f[m]=arguments[m+2];l.children=f}return s(e.type,u,c,0,0,p,l)},s.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},e.exports=s},function(e,t,n){"use strict";var r=n(1),o=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},l=function(e,t,n,r,o){var a=this;if(a.instancePool.length){var i=a.instancePool.pop();return a.call(i,e,t,n,r,o),i}return new a(e,t,n,r,o)},u=function(e){var t=this;e instanceof t||r(!1),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},c=o,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=10),n.release=u,n},d={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:s,fiveArgumentPooler:l};e.exports=d},function(e,t,n){"use strict";var r=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;this.isDefaultPrevented=l?i.thatReturnsTrue:i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse}var o=n(12),a=n(3),i=n(7),s=(n(2),{type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null});a(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=s,r.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);a(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=a({},n.Interface,t),e.augmentClass=n.augmentClass,o.addPoolingTo(e,o.fourArgumentPooler)},o.addPoolingTo(r,o.fourArgumentPooler),e.exports=r},function(e,t,n){"use strict";var r={current:null};e.exports=r},function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(130),a={mountComponent:function(e,t,n,o){var a=e.mountComponent(t,n,o);return e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e),a},unmountComponent:function(e){o.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,a){var i=e._currentElement;if(t!==i||a!==e._context){var s=o.shouldUpdateRefs(i,t);s&&o.detachRefs(e,i),e.receiveComponent(t,n,a),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};e.exports=a},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(1),a={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)&&o(!1);var d=p.toLowerCase(),f=n[p],m={attributeName:d,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseAttribute:r(f,t.MUST_USE_ATTRIBUTE),mustUseProperty:r(f,t.MUST_USE_PROPERTY),hasSideEffects:r(f,t.HAS_SIDE_EFFECTS),hasBooleanValue:r(f,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(f,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(f,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(f,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(m.mustUseAttribute&&m.mustUseProperty&&o(!1),!m.mustUseProperty&&m.hasSideEffects&&o(!1),m.hasBooleanValue+m.hasNumericValue+m.hasOverloadedBooleanValue<=1||o(!1),l.hasOwnProperty(p)){var h=l[p];m.attributeName=h}i.hasOwnProperty(p)&&(m.attributeNamespace=i[p]),u.hasOwnProperty(p)&&(m.propertyName=u[p]),c.hasOwnProperty(p)&&(m.mutationMethod=c[p]),s.properties[p]=m}}},i={},s={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){if((0,s._isCustomAttributeFunctions[t])(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=i[e];return r||(i[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:a};e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return{postTitle:e.title,postPosition:e.isPinned?"shared":e.postIndex+1,postId:e.assetId,postHasVideo:e.postHasVideo||!1,postHasImage:e.postHasImage||!1,postHasSocial:e.postHasSocial||!1,postIsBreakingNews:e.postIsBreakingNews||e.postIsPriority||!1,actionLocation:e.mode,linkLocation:void 0!==t&&t}},o=function(e){return{pageNumber:e}};t.default={getIstatsData:r,getPageNumberIstatsData:o},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(219),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e,t,n){o.default.track(e,t,{post_id:n.postId,post_title:n.postTitle,post_position:n.postPosition,post_has_video:n.postHasVideo,post_has_image:n.postHasImage,post_has_social:n.postHasSocial,post_is_breaking_news:n.postIsBreakingNews,action_location:n.actionLocation,link_location:n.linkLocation})},i=function(e,t,n){o.default.track(e,t,{page_number:n.pageNumber})};t.default={configureAndSendIstats:a,configureAndSendPageNumberIstats:i},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return"undefined"!=typeof window&&window},o=function(){return!!r()&&(window.location.search.indexOf("lxDev=true")>-1||window.location.pathname.indexOf("lxDev/true")>-1)};t.default={devModeEnabled:o,profileStart:function(e){o()&&(console.profile(e),console.time(e))},profileEnd:function(e){o()&&(console.profileEnd(e),console.timeEnd(e))},log:function(e){o()&&console.info(e)}},e.exports=t.default},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@5.1.0"]},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return y(e,r)}function o(e,t,n){var o=t?v.bubbled:v.captured,a=r(e,n,o);a&&(n._dispatchListeners=h(n._dispatchListeners,a),n._dispatchIDs=h(n._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&m.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,o,e)}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&m.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,o,e)}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=y(e,r);o&&(n._dispatchListeners=h(n._dispatchListeners,o),n._dispatchIDs=h(n._dispatchIDs,e))}}function l(e){e&&e.dispatchConfig.registrationName&&s(e.dispatchMarker,null,e)}function u(e){g(e,a)}function c(e){g(e,i)}function p(e,t,n,r){m.injection.getInstanceHandle().traverseEnterLeave(n,r,s,e,t)}function d(e){g(e,l)}var f=n(10),m=n(24),h=(n(2),n(66)),g=n(67),v=f.PropagationPhases,y=m.getListener,b={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:p};e.exports=b},function(e,t,n){"use strict";var r=n(64),o=n(125),a=n(65),i=n(66),s=n(67),l=n(1),u=(n(2),{}),c=null,p=function(e,t){e&&(o.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},d=function(e){return p(e,!0)},f=function(e){return p(e,!1)},m=null,h={injection:{injectMount:o.injection.injectMount,injectInstanceHandle:function(e){m=e},getInstanceHandle:function(){return m},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n&&l(!1),(u[t]||(u[t]={}))[e]=n;var o=r.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,n)},getListener:function(e,t){var n=u[t];return n&&n[e]},deleteListener:function(e,t){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var o=u[t];o&&delete o[e]},deleteAllListeners:function(e){for(var t in u)if(u[t][e]){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete u[t][e]}},extractEvents:function(e,t,n,o,a){for(var s,l=r.plugins,u=0;u<l.length;u++){var c=l[u];if(c){var p=c.extractEvents(e,t,n,o,a);p&&(s=i(s,p))}}return s},enqueueEvents:function(e){e&&(c=i(c,e))},processEventQueue:function(e){var t=c;c=null,e?s(t,d):s(t,f),c&&l(!1),a.rethrowCaughtError()},__purge:function(){u={}},__getListenerBank:function(){return u}};e.exports=h},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a=n(38),i={view:function(e){if(e.view)return e.view;var t=a(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){return f+e.toString(36)}function o(e,t){return e.charAt(t)===f||t===e.length}function a(e){return""===e||e.charAt(0)===f&&e.charAt(e.length-1)!==f}function i(e,t){return 0===t.indexOf(e)&&o(t,e.length)}function s(e){return e?e.substr(0,e.lastIndexOf(f)):""}function l(e,t){if(a(e)&&a(t)||d(!1),i(e,t)||d(!1),e===t)return e;var n,r=e.length+m;for(n=r;n<t.length&&!o(t,n);n++);return t.substr(0,n)}function u(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var r=0,i=0;i<=n;i++)if(o(e,i)&&o(t,i))r=i;else if(e.charAt(i)!==t.charAt(i))break;var s=e.substr(0,r);return a(s)||d(!1),s}function c(e,t,n,r,o,a){e=e||"",t=t||"",e===t&&d(!1);var u=i(t,e);u||i(e,t)||d(!1);for(var c=0,p=u?s:l,f=e;;f=p(f,t)){var m;if(o&&f===e||a&&f===t||(m=n(f,u,r)),!1===m||f===t)break;c++<h||d(!1)}}var p=n(73),d=n(1),f=".",m=f.length,h=1e4,g={createReactRootID:function(){return r(p.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===f&&e.length>1){var t=e.indexOf(f,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var a=u(e,t);a!==e&&c(e,a,n,r,!1,!0),a!==t&&c(a,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(c("",e,t,n,!0,!0),c(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},getFirstCommonAncestorID:u,_getNextDescendantID:l,isAncestorIDOf:i,SEPARATOR:f};e.exports=g},function(e,t,n){"use strict";var r={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=n(1),o=function(e){var t,n={};e instanceof Object&&!Array.isArray(e)||r(!1);for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};e.exports=o},function(e,t,n){"use strict";var r=n(1),o={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,a,i,s,l){this.isInTransaction()&&r(!1);var u,c;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),c=e.call(t,n,o,a,i,s,l),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=a.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===a.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()||r(!1);for(var t=this.transactionWrappers,n=e;n<t.length;n++){var o,i=t[n],s=this.wrapperInitData[n];try{o=!0,s!==a.OBSERVED_ERROR&&i.close&&i.close.call(this,s),o=!1}finally{if(o)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}},a={Mixin:o,OBSERVED_ERROR:{}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(25),a=n(70),i=n(40),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+a.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+a.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=m++,d[e[g]]={}),d[e[g]]}var o=n(10),a=n(24),i=n(64),s=n(135),l=n(9),u=n(70),c=n(3),p=n(39),d={},f=!1,m=0,h={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),v=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,a=r(n),s=i.registrationNameDependencies[e],l=o.topLevelTypes,u=0;u<s.length;u++){var c=s[u];a.hasOwnProperty(c)&&a[c]||(c===l.topWheel?p("wheel")?v.ReactEventListener.trapBubbledEvent(l.topWheel,"wheel",n):p("mousewheel")?v.ReactEventListener.trapBubbledEvent(l.topWheel,"mousewheel",n):v.ReactEventListener.trapBubbledEvent(l.topWheel,"DOMMouseScroll",n):c===l.topScroll?p("scroll",!0)?v.ReactEventListener.trapCapturedEvent(l.topScroll,"scroll",n):v.ReactEventListener.trapBubbledEvent(l.topScroll,"scroll",v.ReactEventListener.WINDOW_HANDLE):c===l.topFocus||c===l.topBlur?(p("focus",!0)?(v.ReactEventListener.trapCapturedEvent(l.topFocus,"focus",n),v.ReactEventListener.trapCapturedEvent(l.topBlur,"blur",n)):p("focusin")&&(v.ReactEventListener.trapBubbledEvent(l.topFocus,"focusin",n),v.ReactEventListener.trapBubbledEvent(l.topBlur,"focusout",n)),a[l.topBlur]=!0,a[l.topFocus]=!0):h.hasOwnProperty(c)&&v.ReactEventListener.trapBubbledEvent(c,h[c],n),a[c]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!f){var e=u.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),f=!0}},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:a.putListener,getListener:a.getListener,deleteListener:a.deleteListener,deleteAllListeners:a.deleteAllListeners});l.measureMethods(v,"ReactBrowserEventEmitter",{putListener:"putListener",deleteListener:"deleteListener"}),e.exports=v},function(e,t,n){"use strict";var r=n(4),o=/^[ rntf]/,a=/<(!--|link|noscript|meta|script|style)[ rntf/>]/,i=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(i=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(i=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(t)||"<"===t[0]&&a.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=i},function(e,t,n){"use strict";function r(e){return a[e]}function o(e){return(""+e).replace(i,r)}var a={"&":"&",">":">","<":"<",'"':""","'":"'"},i=/[&><"']/g;e.exports=o},function(e,t){e.exports=Morph.modules["bbc-morph-responsive-image-srcset@3.0.1"]},function(e,t,n){"use strict";e.exports=n(122)},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=n(12),a=n(3),i=n(1);a(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length&&i(!1),this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(4);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=a[e];return!!r&&!!n[r]}function o(e){return r}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=o},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";function r(e){s.enqueueUpdate(e)}function o(e,t){var n=i.get(e);return n||null}var a=(n(15),n(11)),i=n(27),s=n(8),l=n(3),u=n(1),c=(n(2),{isMounted:function(e){var t=i.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t){"function"!=typeof t&&u(!1);var n=o(e);if(!n)return null;n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],r(n)},enqueueCallbackInternal:function(e,t){"function"!=typeof t&&u(!1),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=o(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueSetProps:function(e,t){var n=o(e,"setProps");n&&c.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;n||u(!1);var o=n._pendingElement||n._currentElement,i=o.props,s=l({},i.props,t);n._pendingElement=a.cloneAndReplaceProps(o,a.cloneAndReplaceProps(i,s)),r(n)},enqueueReplaceProps:function(e,t){var n=o(e,"replaceProps");n&&c.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;n||u(!1);var o=n._pendingElement||n._currentElement,i=o.props;n._pendingElement=a.cloneAndReplaceProps(o,a.cloneAndReplaceProps(i,t)),r(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}});e.exports=c},function(e,t,n){"use strict";function r(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function o(e){var t;if(null===e||!1===e)t=new i(o);else if("object"==typeof e){var n=e;(!n||"function"!=typeof n.type&&"string"!=typeof n.type)&&u(!1),t="string"==typeof n.type?s.createInternalComponent(n):r(n.type)?new n.type(n):new c}else"string"==typeof e||"number"==typeof e?t=s.createInstanceForText(e):u(!1);return t.construct(e),t._mountIndex=0,t._mountImage=null,t}var a=n(139),i=n(76),s=n(77),l=n(3),u=n(1),c=(n(2),function(){});l(c.prototype,a.Mixin,{_instantiateReactComponent:o}),e.exports=o},function(e,t,n){"use strict";var r=n(1),o=!1,a={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o&&r(!1),a.unmountIDFromEnvironment=e.unmountIDFromEnvironment,a.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,a.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=a},function(e,t,n){"use strict";var r=n(29),o=r({prop:null,context:null,childContext:null});e.exports=o},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null===e||!1===e,r=null===t||!1===t;if(n||r)return n===r;var o=typeof e,a=typeof t;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}e.exports=r},function(e,t,n){"use strict";var r=(n(3),n(7)),o=(n(2),r);e.exports=o},function(e,t,n){"use strict";var r=n(50),o=n(6),a={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){o.purgeID(e)}};e.exports=a},function(e,t,n){"use strict";var r=n(79),o=n(52),a=n(6),i=n(9),s=n(1),l={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},u={updatePropertyByID:function(e,t,n){var r=a.getNode(e);l.hasOwnProperty(t)&&s(!1),null!=n?o.setValueForProperty(r,t,n):o.deleteValueForProperty(r,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=a.getNode(e);r.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=a.getNode(e[n].parentID);r.processUpdates(e,t)}};i.measureMethods(u,"ReactDOMIDOperations",{dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),e.exports=u},function(e,t,n){"use strict";var r=n(4),o=n(34),a=n(33),i=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){a(e,o(t))})),e.exports=i},function(e,t,n){"use strict";function r(e){return!!c.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(l.test(e)?(c[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&!1===t}var a=n(17),i=n(9),s=n(146),l=(n(2),/^[a-zA-Z_][w.-]*$/),u={},c={},p={createMarkupForID:function(e){return a.ID_ATTRIBUTE_NAME+"="+s(e)},setAttributeForID:function(e,t){e.setAttribute(a.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,t){var n=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t?r+'=""':r+"="+s(t)}return a.isCustomAttribute(e)?null==t?"":e+"="+s(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+s(t):""},setValueForProperty:function(e,t,n){var r=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(r){var i=r.mutationMethod;if(i)i(e,n);else if(o(r,n))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute){var s=r.attributeName,l=r.attributeNamespace;l?e.setAttributeNS(l,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?e.setAttribute(s,""):e.setAttribute(s,""+n)}else{var u=r.propertyName;r.hasSideEffects&&""+e[u]==""+n||(e[u]=n)}}else a.isCustomAttribute(t)&&p.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){r(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){var n=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseAttribute)e.removeAttribute(n.attributeName);else{var o=n.propertyName,i=a.getDefaultValueForProperty(e.nodeName,o);n.hasSideEffects&&""+e[o]===i||(e[o]=i)}}else a.isCustomAttribute(t)&&e.removeAttribute(t)}};i.measureMethods(p,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),e.exports=p},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink&&u(!1)}function o(e){r(e),(null!=e.value||null!=e.onChange)&&u(!1)}function a(e){r(e),(null!=e.checked||null!=e.onChange)&&u(!1)}function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(158),l=n(45),u=n(1),c=(n(2),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),p={value:function(e,t,n){return!e[t]||c[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.func},d={},f={checkPropTypes:function(e,t,n){for(var r in p){if(p.hasOwnProperty(r))var o=p[r](t,r,e,l.prop);if(o instanceof Error&&!(o.message in d)){d[o.message]=!0;i(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(a(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(a(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=f},function(e,t,n){"use strict";function r(e){return h[e]}function o(e,t){return e&&null!=e.key?i(e.key):t.toString(36)}function a(e){return(""+e).replace(g,r)}function i(e){return"$"+a(e)}function s(e,t,n,r){var a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||u.isValidElement(e))return n(r,e,""===t?f+o(e,0):t),1;var l,c,h=0,g=""===t?f:t+m;if(Array.isArray(e))for(var v=0;v<e.length;v++)l=e[v],c=g+o(l,v),h+=s(l,c,n,r);else{var y=p(e);if(y){var b,_=y.call(e);if(y!==e.entries)for(var P=0;!(b=_.next()).done;)l=b.value,c=g+o(l,P++),h+=s(l,c,n,r);else for(;!(b=_.next()).done;){var T=b.value;T&&(l=T[1],c=g+i(T[0])+m+o(l,0),h+=s(l,c,n,r))}}else if("object"===a){String(e);d(!1)}}return h}function l(e,t,n){return null==e?0:s(e,"",t,n)}var u=(n(15),n(11)),c=n(26),p=n(85),d=n(1),f=(n(2),c.SEPARATOR),m=":",h={"=":"=0",".":"=1",":":"=2"},g=/[=.:]/g;e.exports=l},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(a),s=n(92),l=(0,s.getOptions)(),u=function(e){return e.reduce(function(e,t){return o({},e,r({},t.name,i.default.PropTypes[t.type]))},{})},c=function(e){var t=function(t,n){var r=o({},n,t);return i.default.createElement(e,r)};return t.displayName="OptionsConsumer",t.contextTypes=o({ltsConfig:i.default.PropTypes.object,getTranslationFor:i.default.PropTypes.func},u(l)),t};t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return(e||[]).filter(function(e){return e.name===t})},o=function(e,t){var n=r(e,t);return!!n.length&&n[0]},a=function(e,t){var n=void 0,r=void 0;return!!(n=t?o(e,t):e)&&(!(!(r=o(n.children,"text"))||!r.text)&&r.text)};t.default={filterContent:r,findFirst:o,findText:a},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){window.setTimeout(e,1e3/60)},o=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;t&&t(function(){t(e)}),r(e)};t.default=o,e.exports=t.default},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-lx-stream-v4@3.6.5",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-lx-stream-v4@3.6.5",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-lx-stream-v4@3.6.5",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-lx-stream-v4@3.6.5",e,t,!0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=window.location,t=e.port?":"+e.port:"";return e.protocol+"//"+e.hostname+t},o=function(){var e=window.location;return""+r()+e.pathname};t.default={getBaseUrl:r,getUrlWithPath:o},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-app-bridge@2.2.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-moment-ws-timezone-wrapper@1.0.7"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(120),s=r(i),l=n(220),u=r(l),c=n(221),p=r(c),d=n(222),f=r(d),m=n(223),h=r(m),g=n(56),v=r(g),y={post:s.default,cit:s.default,sty:u.default,liv:u.default,csp:u.default,pgl:p.default,map:(0,v.default)(f.default),clip:(0,v.default)(f.default),envelope:h.default},b=function(e){var t=y[e.type.toLowerCase()];return a.default.createElement(t,e)};b.displayName="PostBody",t.default=b,e.exports=t.default},function(e,t,n){"use strict";function r(){if(s)for(var e in l){var t=l[e],n=s.indexOf(e);if(n>-1||i(!1),!u.plugins[n]){t.extractEvents||i(!1),u.plugins[n]=t;var r=t.eventTypes;for(var a in r)o(r[a],t,a)||i(!1)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&i(!1),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,t,n)}return!0}return!!e.registrationName&&(a(e.registrationName,t,n),!0)}function a(e,t,n){u.registrationNameModules[e]&&i(!1),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=n(1),s=null,l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s&&i(!1),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]&&i(!1),l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},function(e,t,n){"use strict";function r(e,t,n,r){try{return t(n,r)}catch(e){return void(null===o&&(o=e))}}var o=null,a={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};e.exports=a},function(e,t,n){"use strict";function r(e,t){if(null==t&&o(!1),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var o=n(1);e.exports=r},function(e,t,n){"use strict";var r=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=r},function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(4),a=null;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&o[e.type]||"textarea"===t)}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=r},function(e,t,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){r.currentScrollLeft=e.x,r.currentScrollTop=e.y}};e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!1};e.exports=r},function(e,t,n){"use strict";function r(e){return!!i[e]}function o(e){i[e]=!0}function a(e){delete i[e]}var i={},s={isNullComponentID:r,registerNullComponentID:o,deregisterNullComponentID:a};e.exports=s},function(e,t,n){"use strict";var r={injectCreateReactRootIndex:function(e){o.createReactRootIndex=e}},o={createReactRootIndex:null,injection:r};e.exports=o},function(e,t,n){"use strict";var r=n(136),o=//?>/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t){var n=!0;e:for(;n;){var r=e,a=t;if(n=!1,r&&a){if(r===a)return!0;if(o(r))return!1;if(o(a)){e=r,t=a.parentNode,n=!0;continue e}return r.contains?r.contains(a):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(a))}return!1}}var o=n(137);e.exports=r},function(e,t,n){"use strict";var r,o=n(11),a=n(72),i=n(16),s=n(3),l={injectEmptyComponent:function(e){r=o.createElement(e)}},u=function(e){this._currentElement=null,this._rootNodeID=null,this._renderedComponent=e(r)};s(u.prototype,{construct:function(e){},mountComponent:function(e,t,n){return a.registerNullComponentID(e),this._rootNodeID=e,i.mountComponent(this._renderedComponent,e,t,n)},receiveComponent:function(){},unmountComponent:function(e,t,n){i.unmountComponent(this._renderedComponent),a.deregisterNullComponentID(this._rootNodeID),this._rootNodeID=null,this._renderedComponent=null}}),u.injection=l,e.exports=u},function(e,t,n){"use strict";function r(e){if("function"==typeof e.type)return e.type;var t=e.type,n=p[t];return null==n&&(p[t]=n=u(t)),n}function o(e){return c||l(!1),new c(e.type,e.props)}function a(e){return new d(e)}function i(e){return e instanceof d}var s=n(3),l=n(1),u=null,c=null,p={},d=null,f={injectGenericComponentClass:function(e){c=e},injectTextComponentClass:function(e){d=e},injectComponentClasses:function(e){s(p,e)}},m={getComponentClassForElement:r,createInternalComponent:o,createInstanceForText:a,isTextComponent:i,injection:f};e.exports=m},function(e,t,n){"use strict";function r(e){return null==e?null:1===e.nodeType?e:o.has(e)?a.getNodeFromInstance(e):(null!=e.render&&"function"==typeof e.render&&i(!1),void i(!1))}var o=(n(15),n(27)),a=n(6),i=n(1);n(2);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,r)}var o=n(142),a=n(81),i=n(9),s=n(33),l=n(51),u=n(1),c={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:l,processUpdates:function(e,t){for(var n,i=null,c=null,p=0;p<e.length;p++)if(n=e[p],n.type===a.MOVE_EXISTING||n.type===a.REMOVE_NODE){var d=n.fromIndex,f=n.parentNode.childNodes[d],m=n.parentID;f||u(!1),i=i||{},i[m]=i[m]||[],i[m][d]=f,c=c||[],c.push(f)}var h;if(h=t.length&&"string"==typeof t[0]?o.dangerouslyRenderMarkup(t):t,c)for(var g=0;g<c.length;g++)c[g].parentNode.removeChild(c[g]);for(var v=0;v<e.length;v++)switch(n=e[v],n.type){case a.INSERT_MARKUP:r(n.parentNode,h[n.markupIndex],n.toIndex);break;case a.MOVE_EXISTING:r(n.parentNode,i[n.parentID][n.fromIndex],n.toIndex);break;case a.SET_MARKUP:s(n.parentNode,n.content);break;case a.TEXT_CONTENT:l(n.parentNode,n.content);break;case a.REMOVE_NODE:}}};i.measureMethods(c,"DOMChildrenOperations",{updateTextContent:"updateTextContent"}),e.exports=c},function(e,t,n){"use strict";function r(e){return i||a(!1),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(i.innerHTML="*"===e?"<link />":"<"+e+"></"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var o=n(4),a=n(1),i=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'<select multiple="true">',"</select>"],u=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(29),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(8),a=n(30),i=n(3),s=n(7),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];i(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=d.isBatchingUpdates;d.isBatchingUpdates=!0,i?e(t,n,r,o,a):p.perform(e,null,t,n,r,o,a)}};e.exports=d},function(e,t,n){"use strict";function r(e){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},a=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){a.forEach(function(t){o[r(t,e)]=o[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:i};e.exports=s},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[a]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";e.exports=r},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=i.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,a=s.getNode(e._rootNodeID).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<a.length;o++){var i=r.hasOwnProperty(a[o].value);a[o].selected!==i&&(a[o].selected=i)}}else{for(r=""+n,o=0;o<a.length;o++)if(a[o].value===r)return void(a[o].selected=!0);a.length&&(a[0].selected=!0)}}function a(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);return this._wrapperState.pendingUpdate=!0,l.asap(r,this),n}var i=n(53),s=n(6),l=n(8),u=n(3),c=(n(2),"__ReactDOMSelect_value$"+Math.random().toString(36).slice(2)),p={valueContextKey:c,getNativeProps:function(e,t,n){return u({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=i.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,onChange:a.bind(e),wasMultiple:Boolean(t.multiple)}},processChildContext:function(e,t,n){var r=u({},n);return r[c]=e._wrapperState.initialValue,r},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=i.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=p},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=o.bind(t),i=0;i<n.length;i++)if(!a(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";var r=n(7),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t,n){"use strict";var r=(n(2),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){},enqueueReplaceState:function(e,t){},enqueueSetState:function(e,t){},enqueueSetProps:function(e,t){},enqueueReplaceProps:function(e,t){}});e.exports=r},function(e,t,n){"use strict";function r(e){return a(document.documentElement,e)}var o=n(172),a=n(75),i=n(83),s=n(91),l={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,o),i(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",r-n),a.select()}else o.setOffsets(e,t)}};e.exports=l},function(e,t,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={options:[{name:"appName",type:"string",default:"false"},{name:"appCapabilities",type:"object",default:null},{name:"assetUri",type:"string",default:"false"},{name:"theme",type:"string",default:"false"},{name:"brandingTool",type:"string",default:"false"},{name:"isApp",type:"string",default:"false"},{name:"isUk",type:"string",default:"false"},{name:"env",type:"string",default:"live"},{name:"socialEmbedConsentStreamV4Toggle",type:"boolean",default:!1}],ltsConfig:{default:{twitterName:"",smpProduct:"news",capabilities:{oembed:{enabled:!0}}},sport:{twitterName:"BBCSport",smpProduct:"sport",bbcSite:"sport",capabilities:{oembed:{enabled:!0}}},"sport-app":{twitterName:"BBCSport",smpProduct:"sport",bbcSite:"sport",capabilities:{oembed:{enabled:!0}}},news:{twitterName:"BBCNews",smpProduct:"news",bbcSite:"news",capabilities:{oembed:{enabled:!0}}},"news-welsh":{twitterName:"BBCWalesNews",smpProduct:"news",bbcSite:"news",capabilities:{oembed:{enabled:!0}}},music:{twitterName:"BBCMusic",smpProduct:"iplayer",bbcSite:"music",capabilities:{oembed:{enabled:!0}}},events:{twitterName:"",smpProduct:"iplayer",bbcSite:"music",capabilities:{oembed:{enabled:!0}}}}},o=function(e){var t=e.assetUri||"";if("true"===e.isApp)return"sport-app";if(e.context)return e.context;if(e.discipline)return"sport";var n=t.match(/(sport|news|events)/gi);return n?n[0]:"default"};t.default={getConfig:function(e){return r.ltsConfig[o(e)]},getOptions:function(){return r.options}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=r(a),s=n(35),l=r(s),u=n(202),c=r(u),p=n(62),d=r(p),f=n(203),m=r(f),h=n(204),g=r(h),v=n(94),y=n(20),b=n(206),_=function(e,t,n){(0,b.dotComAdsEnabled)()&&(!0!==t.advertisingAllowed&&"true"!==t.advertisingAllowed||"programme"!==n||e.items.unshift({kind:"advert"}))},P=(0,v.IntersectComponent)(m.default),T=function(e,t){var n=void 0;if(e&&e.length)for(var r=0;r<e.length;r+=1)if(e[r].name===t){n=e[r];break}return n},E=function(e){var t=T(e,"caption"),n=void 0;return t&&(n=T(t.children,"text"))&&n.text?n.text:null},x=function(e){return E(e.children)||e.synopses&&e.synopses.short},C=function(e,t){var n=E(e.children)||e.synopses.short,r=t("video_caption")+": "+n;return i.default.createElement("figcaption",{className:"lx-media-asset__caption gel-brevier"},i.default.createElement("span",{className:"gs-u-vh qa-media-smp-accessible-caption-text"},r),i.default.createElement("span",{"aria-hidden":"true",className:"qa-media-smp-caption-text"},n))},w=function(e){return!!e&&d.default.duration(e).asSeconds()},N=function(e){var t={guidance:e.guidance||"",holdingImageURL:e.holdingImageUrl},n=w(e.duration),r="audio"===e.name?"radioProgramme":"programme";return e.vpid?o({},t,{title:e.title,items:[{vpid:e.vpid,kind:r,duration:n}]}):o({},t,{items:[{vpid:e.externalId,kind:r,duration:n}]})},k=function(e){return"mediaPlayerLoaded:"+(e.vpid||e.externalId)},M=function(e,t,n,r){return{controlsAvailableOnMediaEnded:!0,parentPid:e.parentPid,mediaType:e.name,appName:t.appName||t.smpProduct,product:t.smpProduct,mediaForm:e.clipType,playlistObject:N(e),superResponsive:!1,quality:"hd",responsive:!0,onPlayerLoaded:function(t){(0,y.profileEnd)(k(e)),(0,b.loadDotComAnalyticsAndAdsPluginIfRequired)(t),r&&(0,g.default)(t)},ui:{cta:{mode:"duration"},subtitles:{enabled:!0,defaultOn:n.indexOf("news")>-1}}}},S=function(e,t,n,r,o,a){var s=M(e,t,o,a);s.mediator={host:"open."+r+".bbc.co.uk"};var u="audio"===e.mediaType?"radioProgramme":"programme";if(_(s.playlistObject,e,u),(0,y.profileStart)(k(e)),!e.isPlayable){var p=n("alert_uk_text"),d=c.default.transform(e.holdingImageUrl);return i.default.createElement("div",{className:"gs-o-responsive-image gs-o-responsive-image--16by9"},i.default.createElement(l.default,{className:"qa-warning-alert-image",src:d}),i.default.createElement("div",{className:"lx-media-asset__warning-alert"},i.default.createElement("div",{className:"gel-brevier lx-media-asset__warning-alert-message"},i.default.createElement("div",{className:"gs-u-mb"},i.default.createElement("svg",{className:"lx-media-asset__warning-alert-icon",width:"24",height:"24",viewBox:"0 0 32 32"},i.default.createElement("path",{d:"M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z"}))),i.default.createElement("p",{className:"gs-u-mt0 gs-u-mb- qa-message-uk-alert"},p))))}return i.default.createElement("div",{className:"gs-o-responsive-image gs-o-responsive-image--16by9"},i.default.createElement("div",{className:"smp-embed"},i.default.createElement(P,s)))},I=function(e){var t=e.media,n=e.ltsConfig,r=e.getTranslationFor,o=e.env,a=e.assetUri,s=e.isApp,l=S(t,n,r,o,a,s),u=i.default.createElement("h4",{className:"gs-u-vh qa-map-smp-accessible-title"},r("video_context"));return x(t)&&t.isPlayable?i.default.createElement("figure",{className:"lx-stream-post-body__media-asset lx-media-asset lx-media-asset--landscape lx-media-asset--smp qa-media-asset-smp"},u,i.default.createElement("div",{className:"lx-media-asset__body"},l),C(t,r)):i.default.createElement("div",{className:"lx-stream-post-body__media-asset lx-media-asset lx-media-asset--landscape lx-media-asset--smp qa-media-asset-smp"},u,i.default.createElement("div",{className:"lx-media-asset__body"},l))};I.displayName="LXSmp",I.propTypes={media:i.default.PropTypes.object.isRequired,ltsConfig:i.default.PropTypes.object.isRequired,getTranslationFor:i.default.PropTypes.func.isRequired,env:i.default.PropTypes.string,assetUri:i.default.PropTypes.string.isRequired,isApp:i.default.PropTypes.boolean},I.defaultProps={env:"live",isApp:!1},t.default=I,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(0),c=r(u),p=n(21),d=r(p),f=n(95),m=r(f),h=function(e,t,n){return l({root:null,rootMargin:"35%",threshold:0,triggerOnce:!0,toObserve:n},t,e.opts)},g=function e(t,n){var r=function(e){function r(e){o(this,r);var t=a(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.state={isVisible:!1},t}return i(r,e),s(r,[{key:"componentDidMount",value:function(){var e=this;(0,m.default)(function(){e.state.isVisible||e.setState({isVisible:!0})},h(this.props,n,d.default.findDOMNode(this)))}},{key:"render",value:function(){return this.state.isVisible?c.default.createElement(t,this.props):c.default.createElement("div",{className:"react-intersect"})}}]),r}(c.default.Component);return e.displayName="IntersectComponent",e.propTypes={opts:c.default.PropTypes.object},r};t.default={IntersectComponent:g,Observer:m.default},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(58),a=r(o),i=n(205),s=r(i),l=function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype},u=function(e){return e||document.documentElement},c=function(e,t){var n=t.getBoundingClientRect();return n.bottom>0&&n.right>0&&n.left<u(e).clientWidth&&n.top<u(e).clientHeight},p=function(e,t){var n=t.toObserve,r=t.root,o=!0,i=function(){l(t.triggerOnce)},l=(0,s.default)(function(){(0,a.default)(function(){o&&c(r,n)&&(e(),t.triggerOnce&&(o=!1,document.removeEventListener("scroll",i),document.removeEventListener("resize",i),t.triggeredOnce&&t.triggeredOnce()))})},16.667);document.addEventListener("scroll",i),document.addEventListener("resize",i),l()};t.default=function(e,t){if(l()){return void new IntersectionObserver(function(n,r){n.forEach(function(n){n.isIntersecting&&(e(n),t.triggerOnce&&r.unobserve(t.toObserve))})},t).observe(t.toObserve)}p(e,t)},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(18),s=n(19),l=n(97),u=r(l),c=function(e){var t={sty:"story",csp:"story",pgl:"gallery"},n="related-"+t[e.type.toLowerCase()];return function(){var t=(0,i.getIstatsData)(e,n);(0,s.configureAndSendIstats)("click",n,t)}},p=function(e){return e.title||e.shortTitle},d=function(e,t,n){return a.default.createElement("h3",{className:"lx-stream-post__header-title gel-great-primer-bold qa-post-title gs-u-mt0 gs-u-mb-"},(0,u.default)(e,n),e.relatedUrl?a.default.createElement("a",{className:"qa-heading-link lx-stream-post__header-link",href:e.relatedUrl,onClick:c(e)},a.default.createElement("span",{className:"lx-stream-post__header-text gs-u-align-middle",id:e.titleId},n)):a.default.createElement("span",{className:"lx-stream-post__header-text gs-u-align-middle",id:e.titleId},n))},f=function(e){var t={post:e.getTranslationFor("post"),cit:e.getTranslationFor("post"),map:e.getTranslationFor("clip"),clip:e.getTranslationFor("clip"),sty:e.getTranslationFor("story"),csp:e.getTranslationFor("story"),pgl:e.getTranslationFor("photo_gallery"),envelope:e.getTranslationFor("envelope")},n=p(e);return n?e.isContextualised?a.default.createElement("header",{className:"lx-stream-post__header gs-o-media gs-u-mb-alt qa-lx-stream-contextualised-header"},d(e,0,n)):d(e,0,n):a.default.createElement("h3",{id:e.titleId,className:"qa-post-title"},(0,u.default)(e,n),a.default.createElement("span",{className:"gs-u-vh"},t[e.type.toLowerCase()]+" "+e.getTranslationFor("update")))};t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(5),s=r(i),l=function(e,t,n){var r=(0,s.default)("qa-stream-tag","lx-tag","lx-stream-post__header-tag","gs-u-align-middle","gs-u-mr","gel-minion",{"br-page-bg-ontext":"true"===e.brandingTool,"br-page-link-onbg":"true"===e.brandingTool,"gs-u-mb-":!(t&&t.length)});if(n)return a.default.createElement("span",{className:r},"New");if(e.postIsBreakingNews&&!e.isPinned){var o={tagText:e.getTranslationFor("breaking")};return a.default.createElement("span",{className:r},o.tagText)}return e.tagText?a.default.createElement("span",{className:r},e.tagText):a.default.createElement("noscript",null)};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=r(a),s=n(35),l=r(s),u=n(5),c=r(u),p=function(e){return/^//.test(e)},d=function(e){return p(e)||/bbc.co/.test(e)},f=function(e){return"true"===e.external},m=function(e){return e.name?i.default.createElement("p",{className:"qa-contributor-name lx-stream-post__contributor-name gel-long-primer gs-u-m0"},e.name):i.default.createElement("noscript",null)},h=function(e){return e.role?i.default.createElement("p",{className:"qa-contributor-role lx-stream-post__contributor-description gel-brevier gs-u-m0"},e.role):i.default.createElement("noscript",null)},g=function(e,t){var n={sty:"story",post:"post",csp:"correspondent",pgl:"gallery",map:"map"},r=e;return r+="?intlink_from_url="+t.baseUrl,r+="&link_location=live-reporting-"+n[t.type]},v=function(e,t){var n=t.link,r=(0,c.default)("gs-u-display-inline-block","lx-stream-post__contributor-link","qa-contributor-link",{"br-subtle-text-ontext":"true"===t.brandingTool});return d(n)&&(n=g(n,t)),i.default.createElement("a",{className:r,href:n},e)},y=function(e){if(e.image){var t=f(e),n={src:e.image,alt:"",chefSizes:[64,96,128],srcsetMode:"x",sizes:"(min-width: 600px) 56px, 48px",width:96},r=(0,c.default)("lx-stream-post__contributor-image","gs-o-media__img",{"lx-stream-post__contributor-image--external":t,"lx-stream-post__contributor-image--internal":!t});return i.default.createElement("div",{className:r},i.default.createElement("div",{className:"gs-o-responsive-image gs-o-responsive-image--1by1"},i.default.createElement(l.default,n)))}return i.default.createElement("noscript",null)},b=function(e){if(e.contributor){var t=e.contributor,n=o({},t,{brandingTool:e.brandingTool,baseUrl:e.baseUrl,type:e.type}),r=f(t),a=(0,c.default)("lx-stream-post__contributor","gs-o-media","qa-contributor","gs-u-mb-alt",{"lx-stream-post__contributor--external":r,"lx-stream-post__contributor--internal":!r}),s=i.default.createElement("div",{className:a},!e.shouldHideImage&&y(t),i.default.createElement("div",{className:"lx-stream-post__contributor-body gs-o-media__body"},m(t),h(t)));return t.link?v(s,n):s}return i.default.createElement("noscript",null)};t.default=b,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){var t=e.number,n=e.isBranded;return o.default.createElement("span",{className:"dot-outer dot-outer--"+t},o.default.createElement("span",{className:"dot-inner dot-inner--"+t+(n?" br-box-page":"")}))};a.propTypes={number:r.PropTypes.number.isRequired,isBranded:r.PropTypes.bool},a.defaultProps={isBranded:!1},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(5),s=r(i),l=n(22),u=r(l),c=n(231),p=r(c),d=n(60),f=function(e){return e?decodeURIComponent(e):"{assetUri}/page/{pageNumber}"},m=function(e,t){if(t){return""+decodeURIComponent(t).split("/page/")[0]}return"{assetUri}"},h=function(e,t){var n=t.assetUri,r=t.urlTemplate,o=(t.isApp,e<=1?m(0,r):f(r)),a=(0,p.default)(o,{assetUri:decodeURIComponent(n),pageNumber:e});return 0===a.indexOf("http")||0===a.indexOf("/")?a:"/"+a},g=function(e,t){window.history.replaceState({},null,""+(0,d.getBaseUrl)()+e+(t?".app":""))},v=function(e,t,n){return function(r){r.preventDefault(),n.useServerSidePagination&&g(e,n.isApp),n.onClick&&n.onClick(t)}},y=function(e,t,n,r,o,i,s,l){return 1===e.currentPageNumber?a.default.createElement("div",{className:r},a.default.createElement("div",{"aria-hidden":"true",className:"lx-pagination__btn-icon"},a.default.createElement(u.default,{iconName:l}))):a.default.createElement("a",{href:t+(e.isApp?".app":""),onClick:v(t,n,e),rel:s,className:r},a.default.createElement("span",{className:o},i),a.default.createElement("div",{"aria-hidden":"true",className:"lx-pagination__btn-icon"},a.default.createElement(u.default,{iconName:l})))},b=function(e,t,n,r,o,i,s,l){return e.currentPageNumber===e.totalPageNumber?a.default.createElement("div",{className:r},a.default.createElement("div",{"aria-hidden":"true",className:"lx-pagination__btn-icon"},a.default.createElement(u.default,{iconName:l}))):a.default.createElement("a",{href:t+(e.isApp?".app":""),onClick:v(t,n,e),rel:s,className:r},a.default.createElement("span",{className:o},i),a.default.createElement("div",{"aria-hidden":"true",className:"lx-pagination__btn-icon"},a.default.createElement(u.default,{iconName:l})))},_=function(e){var t=(0,s.default)("lx-pagination","gs-u-mt+","gel-body-copy","qa-pagination",{"no-server-side-pagination":!e.useServerSidePagination}),n=e.totalPageNumber,r=e.currentPageNumber-1,o=e.currentPageNumber+1,i=h(1,e),l=h(n,e),u=h(r,e),c=h(o,e),p=(0,s.default)("lx-pagination__btn","gs-u-mr+","qa-pagination-first-page",{"lx-pagination__btn--rtl":"rtl"===e.cssDirection,"lx-pagination__btn--inactive":1===e.currentPageNumber,"lx-pagination__btn--active":e.currentPageNumber>1,"br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg--hover br-page-bg-ontext--hover":"true"===e.brandingTool}),d=(0,s.default)("gs-u-vh","qa-vh-navigation-first"),f=(0,s.default)("lx-pagination__btn","qa-pagination-previous-page",{"lx-pagination__btn--rtl":"rtl"===e.cssDirection,"lx-pagination__btn--inactive":1===e.currentPageNumber,"lx-pagination__btn--active":e.currentPageNumber>1,"br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg--hover br-page-bg-ontext--hover":"true"===e.brandingTool}),m=(0,s.default)("gs-u-vh","qa-vh-navigation-previous"),g=(0,s.default)("lx-pagination__btn","gs-u-mr+","qa-pagination-next-page",{"lx-pagination__btn--rtl":"rtl"===e.cssDirection,"lx-pagination__btn--inactive":e.currentPageNumber===e.totalPageNumber,"lx-pagination__btn--active":e.currentPageNumber!==e.totalPageNumber,"br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg--hover br-page-bg-ontext--hover":"true"===e.brandingTool}),v=(0,s.default)("gs-u-vh","qa-vh-navigation-next"),_=(0,s.default)("lx-pagination__btn","qa-pagination-last-page",{"lx-pagination__btn--rtl":"rtl"===e.cssDirection,"lx-pagination__btn--inactive":e.currentPageNumber===e.totalPageNumber,"lx-pagination__btn--active":e.currentPageNumber!==e.totalPageNumber,"br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg--hover br-page-bg-ontext--hover":"true"===e.brandingTool}),P=(0,s.default)("gs-u-vh","qa-vh-navigation-last"),T={pageText:e.getTranslationFor("page"),ofText:e.getTranslationFor("of"),nextPage:e.getTranslationFor("next_page"),lastPage:e.getTranslationFor("last_page"),previousPage:e.getTranslationFor("previous_page"),firstPage:e.getTranslationFor("first_page")};return a.default.createElement("div",{className:t},a.default.createElement("div",{className:"lx-pagination__details gs-u-ph qa-pagination-details"},T.pageText,a.default.createElement("span",{className:"lx-pagination__page-number qa-pagination-current-page-number"}," "+e.currentPageNumber+" "),T.ofText,a.default.createElement("span",{className:"lx-pagination__page-number qa-pagination-total-page-number"}," "+e.totalPageNumber)),a.default.createElement("div",{className:"lx-pagination__controls lx-pagination__controls--left qa-pagination-left"},y(e,i,1,p,d,T.firstPage,"first","rewind"),y(e,u,r,f,m,T.previousPage,"prev","previous")),a.default.createElement("div",{className:"lx-pagination__controls lx-pagination__controls--right qa-pagination-right"},b(e,c,o,g,v,T.nextPage,"next","next"),b(e,l,n,_,P,T.lastPage,"last","forward")))};y.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,isApp:a.default.PropTypes.bool},y.defaultProps={isApp:!1},b.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,totalPageNumber:a.default.PropTypes.number.isRequired,isApp:a.default.PropTypes.bool},b.defaultProps={isApp:!1},_.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,totalPageNumber:a.default.PropTypes.number.isRequired,getTranslationFor:a.default.PropTypes.func.isRequired,cssDirection:a.default.PropTypes.string.isRequired,brandingTool:a.default.PropTypes.string.isRequired,useServerSidePagination:a.default.PropTypes.bool},_.defaultProps={currentPageNumber:1,useServerSidePagination:!0},t.default={Pagination:_,getPaginationUrl:h},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(102),o=n.n(r);Morph.modules["bbc-morph-lx-stream-v4@3.6.5"]=o.a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(103),i=r(a),s=n(104),l=r(s),u=function(e,t){return t.parentAssetUri?o({},e,{assetUri:t.parentAssetUri}):t.assetUri?o({},e,{assetUri:t.assetUri}):t.geoname&&t.radius?o({},e,{geoname:t.geoname,radius:t.radius}):t.discipline&&t.eventId?o({},e,{discipline:t.discipline,eventId:t.eventId}):o({},e,{about:t.about})},c=function(e){var t={data:"bbc-morph-lx-commentary-data-paged",pageNumber:e.pageNumber,limit:e.ltsLimit||20,isUk:e.isUk||"false",nitroKey:e.nitroKey};return e.serviceName&&(t.serviceName=e.serviceName),u(t,e)},p=function(e){return!1!==e},d=function(e,t){var n={data:"bbc-morph-lx-commentary-data-paged",pageNumber:t,limit:e.ltsLimit||20,isUk:e.isUk||"false",nitroKey:e.nitroKey};return e.serviceName&&(n.serviceName=e.serviceName),u(n,e)};t.default=i.default.create(l.default,{dataParams:{pinnedPostLocator:!1,pageNumber:!1,numberOfPages:!1},data:function(e,t){var n=o({pageNumber:1},e);t&&t.pageNumber&&(n=o({},e,t));var r=p(e.updateStreamData);n.pageNumber=Number(n.pageNumber);var a={streamData:{uri:c(n),requireSuccess:!1,updates:r},langTranslations:{uri:{data:"bbc-morph-news-translations",serviceName:n.serviceName||"news",language:n.language||"en-gb",id:"bbc-live"},requireSuccess:!0,updates:!1}},i=o({reactionsStreamV4Toggle:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"reactions-stream-v4"},requireSuccess:!0,updates:!0},hasAnimationsEnabled:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.isTopic?"topics":e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"animated-stream"},requireSuccess:!0,updates:!0},breakingNewsAnimationEnabled:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"mlfl-breaking-news"},requireSuccess:!0,updates:!0},lxStreamReactionCountsToggle:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"lx-stream-reaction-counts"},requireSuccess:!0,updates:!1},analysisPostsEnabled:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"analysis-posts"},requireSuccess:!0,updates:!1},yourQuestionsAnsweredPostsEnabled:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"your-questions-answered-post"},requireSuccess:!0,updates:!1},socialEmbedConsentStreamV4Toggle:{uri:{data:"bbc-morph-feature-toggle-manager",assetUri:e.parentAssetUri||e.assetUri,project:"bbc-live",featureToggle:"lx-social-embed-consent"},requireSuccess:!0,updates:!1}},a),s=n.pageNumber>1,l=s?n.pageNumber-1:void 0,u=t.numberOfPages>1&&n.pageNumber<t.numberOfPages,f=u?n.pageNumber+1:void 0,m=parseInt(t.numberOfPages,10),h=m&&m!==n.pageNumber&&m!==f,g={uri:d(n,1),requireSuccess:!1,updates:r},v={uri:d(n,l),requireSuccess:!1,updates:r},y={uri:d(n,f),requireSuccess:!1,updates:r},b={uri:d(n,m),requireSuccess:!1,updates:r},_={};if(s&&(_.cachedFirstPage=g),l&&(_.cachedPreviousPage=v),f&&(_.cachedNextPage=y),h&&(_.cachedLastPage=b),t&&t.pinnedPostLocator){var P={pinnedPost:{uri:{data:"bbc-morph-cs-enriched-post",locator:t.pinnedPostLocator,isUk:e.isUk||"false",nitroKey:e.nitroKey},requireSuccess:!1,updates:!1}};return o({},i,_,P)}return e.discipline&&e.eventId||e.isTopic?o({},a,_):o({},i,_)}}),e.exports=t.default},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-lx-stream-v4@3.6.5",e,t)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=r(a),s=n(5),l=r(s),u=n(105),c=r(u),p=n(106),d=r(p),f=n(59),m=r(f),h=n(107),g=r(h),v=n(108),y=r(v),b=n(110),_=n(111),P=n(60),T=n(20),E=r(T),x=n(112),C=r(x),w=n(114),N=r(w),k=n(230),M=r(k),S=n(100),I=n(232),O=r(I),R=n(56),D=r(R),A=n(235),L=r(A),U=n(19),j=n(18),q=function(){document.querySelector("#lx-stream").scrollIntoView()},B=function(e){return function(t){var n=(0,j.getPageNumberIstatsData)(t);(0,U.configureAndSendPageNumberIstats)("click","page",n),q(),e.props.setDataParams({pageNumber:t})}},F=function(e,t){return e>t},V=function(e,t,n,r,o,a,s){if(s?t>=2&&!F(t,n):n>1&&!F(t,n)){var l="robotext"!==a&&!0!==e.props.noServerSidePagination&&"true"!==e.props.noServerSidePagination;return i.default.createElement("div",{className:"lx-pagination__nav n gs-u-mb+ n qa-"+(s?"top":"bottom")+"-navigation"},i.default.createElement(S.Pagination,{onClick:B(e),assetUri:e.props.assetUri,urlTemplate:e.props.urlTemplate,isApp:r,currentPageNumber:t,useServerSidePagination:l,totalPageNumber:n,getTranslationFor:e.props.getTranslationFor,cssDirection:o,brandingTool:e.props.brandingTool,mode:a}))}return i.default.createElement("noscript",null)},H=function(e,t,n,r,o,a,s,l,u,c,p,d,f,m,h,g,v,y,b,_){return 0===o.length&&F(d,f)?i.default.createElement(L.default,e):i.default.createElement(N.default,{renderBefore:p,isUk:t,adsProhibitedCps:n,isApp:r,brandingTool:e.brandingTool,posts:o,cssDirection:a,getTranslationFor:s,assetUri:l,mode:u,baseUrl:c,currentPageNumber:d,limit:e.ltsLimit,nitroKey:e.nitroKey,useReactionsStreamV4Toggle:m,useReactionCountsToggle:h,userSignedIn:g,theme:e.theme,totalNumberOfPages:f,hasAnimationsEnabled:v,hasBreakingNewsAnimationsEnabled:y,analysisPostsEnabled:b,yourQuestionsAnsweredPostsEnabled:_,isTopic:e.isTopic})},W=i.default.createClass({displayName:"LXStream",propTypes:{isApp:i.default.PropTypes.string,experimental:i.default.PropTypes.string,serviceName:i.default.PropTypes.string,theme:i.default.PropTypes.string,brandingTool:i.default.PropTypes.string,noServerSidePagination:i.default.PropTypes.string},getInitialState:function(){return{pinnedPost:{loading:!1,locator:!1,inPayload:!1},baseUrl:""}},componentWillMount:function(){E.default.profileStart("startRender"),(0,c.default)(y.default.getGrandstandServiceName(this.props)),m.default.selfTransitiveThenUpdate(y.default.getCSSDirection(this.props),this)},isPinnedPostInPayload:function(e,t){return!!t&&(0,b.postInPayload)(e,t)},setPinnedPost:function(){var e=this,t=(0,_.getQueryParamValueFor)("pinned_post_locator"),n=this.isPinnedPostInPayload(this.props,t);t&&(q(),this.setState({pinnedPost:{locator:t,inPayload:n}},function(){!n&&t&&e.props.setDataParams({pinnedPostLocator:t})}))},shouldRenderPinnedPostLoadingMessage:function(e,t){return!e.some(function(e){return e.isPinned})&&!t.pinnedPost.inPayload&&t.pinnedPost.locator},renderPinnedLoadingMessage:function(){var e=(0,b.getAllPostsIncludingPinned)(this.props,this.state);return this.shouldRenderPinnedPostLoadingMessage(e,this.state)?i.default.createElement("li",{className:"lx-stream__post-container qa-pinned-post-loading-message"},i.default.createElement(M.default,{loadingText:this.props.getTranslationFor("loading_shared")})):i.default.createElement("noscript",null)},setBaseUrl:function(){this.setState({baseUrl:(0,P.getUrlWithPath)()})},advertisingProhibitedCpsToggle:function(){var e=this.getCpsOptionsData(this.props.commentaryMeta),t=void 0!==e.allowAdvertising&&!e.allowAdvertising;return"undefined"!=typeof window&&window.bbcdotcom&&t&&window.bbcdotcom.disableAndCloseOpenAds(),t},hasValidCpsOptionData:function(e){return!(!e||!e.meta)&&(200===e.meta.responseCode&&e.body)},getCpsOptionsData:function(e){return this.hasValidCpsOptionData(e)&&e.body&&e.body.options?e.body.options:{}},componentDidMount:function(){this.setBaseUrl(),this.setPinnedPost(),d.default.load(),E.default.profileEnd("startRender")},componentWillUpdate:function(){E.default.profileStart("streamRerender")},componentDidUpdate:function(){this.props.setDataParams({numberOfPages:this.props.streamData.body.numberOfPages}),E.default.profileEnd("streamRerender")},render:function(){var e=(0,b.getAllPostsIncludingPinned)(this.props,this.state),t="true"===this.props.isUk,n=this.advertisingProhibitedCpsToggle(),r="true"===this.props.isApp,a=this.props.getTranslationFor,s=this.props.streamHeadingId||!1,u=this.props.assetUri,c=this.props.ltsConfig.mode,p=this.props.streamData.body.currentPage,d=this.props.streamData.body.numberOfPages,f=this.props.reactionsStreamV4Toggle&&void 0!==this.props.reactionsStreamV4Toggle.body&&!0===this.props.reactionsStreamV4Toggle.body,m=this.props.lxStreamReactionCountsToggle&&void 0!==this.props.lxStreamReactionCountsToggle.body&&!0===this.props.lxStreamReactionCountsToggle.body,h=Boolean(this.props.hasAnimationsEnabled&&this.props.hasAnimationsEnabled.body),v=Boolean(this.props.breakingNewsAnimationEnabled&&this.props.breakingNewsAnimationEnabled.body),_=Boolean(this.props.analysisPostsEnabled&&this.props.analysisPostsEnabled.body),P=Boolean(this.props.yourQuestionsAnsweredPostsEnabled&&this.props.yourQuestionsAnsweredPostsEnabled.body),T=this.renderPinnedLoadingMessage,E=this.state.baseUrl,x=this.props.userSignedIn,C=y.default.getCSSDirection(this.props),w=(0,l.default)("lx-stream","qa-stream","gs-u-box-size",g.default.getProductThemeClass(this.props),{"br-keyline":"true"===this.props.brandingTool}),N={className:w,dir:y.default.getCSSDirection(this.props)};s&&(N=o({},N,{"aria-labelledby":s}));var k=V(this,p,d,r,C,c,!0),M=H(this.props,t,n,r,e,C,a,u,c,E,T,p,d,f,m,x,h,v,_,P),S=V(this,p,d,r,C,c,!1);return i.default.createElement("div",o({id:"lx-stream"},N),k,M,S)}});t.default=(0,C.default)((0,O.default)((0,D.default)(W))),e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-grandstand@5.7.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-lazysizes@1.0.1"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={getProductThemeClass:function(e){return e&&e.theme?"gs-t-"+e.theme:""}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(109),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={getGrandstandServiceName:function(e){return e&&e.serviceName?e.serviceName:"latin-flexbox"},getCSSDirection:function(e){return o.default.getDirectionality(e.serviceName).toLowerCase()}},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-ws-typography-info@1.0.8"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(e,t){var n=t;return e&&(n=t.filter(function(t){return t.assetId!==e.assetId})),n.map(function(e){return r({isPinned:!1,tagText:""},e)})},a=function(e){return o(null,e.streamData.body.results)},i=function(e,t){var n=a(e),r=n.filter(function(e){return e.locator===t});return r&&r.length>0},s=function(e,t){if(e.pinnedPost&&e.pinnedPost.body)return r({isPinned:!0,tagText:e.getTranslationFor("shared")},e.pinnedPost.body);if(t.pinnedPost&&t.pinnedPost.locator){var n=a(e),o=n.filter(function(e){return e.locator===t.pinnedPost.locator});if(o&&o.length>0){var i=o[0];return i.isPinned=!0,i.tagText=e.getTranslationFor("shared"),i}}return null},l=function(e,t){var n=s(e,t);return n?[n].concat(o(n,e.streamData.body.results)):a(e)};t.default={postInPayload:i,getAllPosts:a,getAllPostsIncludingPinned:l},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){var e=decodeURIComponent(window.location.search).replace("?","").split("&");return!!(e.length>0&&e[0])&&e.reduce(function(e,t){var n=t.split("=");return o(r({},n[0],n[1]),e)},{})},i=function(e){return a()[e]||!1};t.default={getQueryParamsAsObject:a,getQueryParamValueFor:i},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c=r(u),p=n(113),d=r(p);t.default=function(e){var t=function(t){function n(e){o(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.getAppCapabilities=t.getAppCapabilities.bind(t),t.state={appCapabilities:null},t}return i(n,t),l(n,[{key:"componentDidMount",value:function(){this.getAppCapabilities()}},{key:"getAppCapabilities",value:function(){var e=this;"true"===this.props.isApp&&(0,d.default)(function(t){e.setState({appCapabilities:t.appinfo.capabilities})})}},{key:"render",value:function(){return c.default.createElement(e,s({},this.props,this.state))}}]),n}(c.default.Component);return t.displayName="AppBridge",t.propTypes={isApp:c.default.PropTypes.string.isRequired},t},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(61),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){o.default.on("app:info:response",e),o.default.ready().then(function(e){if(e)return void o.default.sendToApp("app:info:request");o.default.on("app:pageinfo:request",function(){o.default.sendToApp("app:info:request")})})},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(5),p=r(c),d=n(115),f=r(d),m=n(116),h=r(m),g=n(226),v=r(g),y=n(227),b=r(y),_=n(228),P=r(_),T=n(229),E=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return x.call(n),n.state={activeDropdown:"",mostRecentFirstPagePosts:1===e.currentPageNumber?e.posts:[],hasNewPost:!1,hasPinnedPost:(0,T.hasPinnedPost)(e.posts),newPostHeight:null,shouldShowNewPostPill:!1,inView:!0,newPostPosition:0,lastSeenPost:n.props.posts[0].assetId,previousSeenPosts:null,newBatchContainsKeyMoment:!1,keyMomentType:null},n.postsList=null,n}return i(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){this.trackWhichPostsAreNew(e),this.hasAnimationsEnabled()?(this.isStreamVisible()&&this.setNewPostStatus(e),this.setState({mostRecentFirstPagePosts:e.posts})):this.animationFinishedCallback()}},{key:"render",value:function(){var e=this,t=this.props,n=t.renderBefore,r=t.renderAfter,o=t.isApp,a=t.brandingTool,i=t.hasBreakingNewsAnimationsEnabled,s=i?this.state.keyMomentType:null,l={BREAKING:"There is some breaking news.",GOAL:"There is a goal.",GOLD:"There is a gold medal.",TRY:"There is a try.",WICKET:"There is a wicket.",FLAG_CHEQUERED:"Chequered flag."};return u.default.createElement("div",null,u.default.createElement("span",{className:"gs-u-vh screenreader-new-post","aria-live":"polite"},this.state.hasNewPost&&u.default.createElement("span",null,l[s]||"There is a new post.")),u.default.createElement("ol",{className:"gs-u-m0 gs-u-p0 lx-stream__feed qa-stream",ref:function(t){return e.postsList=t}},(0,T.renderComponentIfExists)(n),this.renderPosts(),(0,T.renderComponentIfExists)(r)),this.hasAnimationsEnabled()&&u.default.createElement(P.default,{isApp:o,shouldShow:this.shouldShowNewPostPill(),brandingTool:a,type:{code:s,displayText:s?v.default.formatType(s):null},isIncident:v.default.isSupportedIncidentType(s)}))}}]),t}(l.Component),x=function(){var e=this;this.setNewPostStatus=function(t){var n=t.posts,r=(0,T.hasNewPost)(e.state.mostRecentFirstPagePosts,n,e.state.hasNewPost),o=n.findIndex(function(t){return t.assetId===e.state.lastSeenPost}),a=n.some(function(e,t){return(v.default.postIsBreakingNews(e)||v.default.isSupportedIncidentType(e.typeCode))&&t<o}),i=null;if(a){i="BREAKING";for(var s=0;s<o;s+=1)if(v.default.isSupportedIncidentType(n[s].typeCode)){i=n[s].typeCode;break}}e.setState({hasNewPost:r,hasPinnedPost:(0,T.hasPinnedPost)(n),newBatchContainsKeyMoment:a,keyMomentType:i},function(){e.state.hasNewPost&&e.shouldShowNewPostPill()&&e.rerenderWhenTopIsInView()})},this.setActiveDropdown=function(t){return e.setState({activeDropdown:t})},this.setNewPostHeight=function(t){e.setState({newPostHeight:t})},this.scrollFunctionWithDebounce=function(){var t=void 0;window.requestAnimationFrame(function(){window.clearTimeout(t),t=setTimeout(e.bringInNewPostsAndHidePill,200)})},this.bringInNewPostsAndHidePill=function(){!e.isScrolledBelowPlaceholder()&&e.state.hasNewPost&&(window.removeEventListener("scroll",e.scrollFunctionWithDebounce),e.setState(function(t){return{hasNewPost:!1,lastSeenPost:e.state.hasPinnedPost?e.props.posts[1].assetId:e.props.posts[0].assetId,newPostPosition:e.state.hasPinnedPost?1:0,previousSeenPosts:t.newPostPosition}}))},this.rerenderWhenTopIsInView=function(){e.scrollFunctionWithDebounce(),window.addEventListener("scroll",e.scrollFunctionWithDebounce,{passive:!0})},this.trackWhichPostsAreNew=function(t){for(var n=e.state.lastSeenPost,r=0;r<t.posts.length;r+=1){if(t.posts[r].assetId===n){e.setState({newPostPosition:r,lastSeenPost:t.posts[r].assetId});break}}},this.shouldShowNewPostPill=function(){return e.state.hasNewPost&&e.isScrolledBelowPlaceholder()},this.shouldShowPostPlaceholder=function(){return e.state.hasNewPost&&e.hasAnimationsEnabled()&&!e.shouldShowNewPostPill()},this.isScrolledBelowPlaceholder=function(){return e.postsList.getBoundingClientRect().top<-68},this.isStreamVisible=function(){return null!==e.postsList.offsetParent},this.animationFinishedCallback=function(){e.setState(function(t){return{hasNewPost:!1,lastSeenPost:e.state.hasPinnedPost?e.props.posts[1].assetId:e.props.posts[0].assetId,newPostPosition:e.state.hasPinnedPost?1:0,previousSeenPosts:t.newPostPosition}})},this.hasAnimationsEnabled=function(){return Boolean(e.props.hasAnimationsEnabled&&1===e.props.currentPageNumber)},this.renderPosts=function(){return e.props.isUk||e.props.adsProhibitedCps?e.renderPostsWithoutAdverts():f.default.insertAdverts(e.renderPostsWithoutAdverts())},this.renderPostsWithoutAdverts=function(){var t=e.props;return t.posts.map(function(n,r){if(n.isPinned&&1!==t.currentPageNumber)return null;var o={};n.sourceAsset&&(o=n.sourceAsset,o.indexImage=n.sourceAsset.image,o.relatedUrl=n.sourceAsset.url,o.getTranslationFor=t.getTranslationFor,o.brandingTool=t.brandingTool);var a=e.state.hasPinnedPost?1:0,i=r===a,s=e.shouldShowPostPlaceholder()&&i,l=e.hasAnimationsEnabled(),c=l&&r<e.state.newPostPosition&&(r>a&&s||r>=a&&!s),d=l&&r<e.state.previousSeenPosts&&r>=a&&!c,f=(0,p.default)("lx-stream__post-container",{"has-placeholder":s,"placeholder-animation-finished":!e.state.hasNewPost&&i,"is-below-pinned":s&&e.state.hasPinnedPost,"gs-u-vh":c}),m=t.hasBreakingNewsAnimationsEnabled?e.state.keyMomentType:null,g=t.analysisPostsEnabled&&!t.isTopic&&"ANALYSIS"===n.typeCode,y=t.yourQuestionsAnsweredPostsEnabled&&!t.isTopic&&"QUESTION"===n.typeCode,_=n.contributor&&"BBC Verify"===n.contributor.name;return u.default.createElement("li",{key:"post-"+n.assetId,className:f},u.default.createElement(h.default,{setNewPostHeight:s?e.setNewPostHeight:null,postIndex:r,isApp:t.isApp,isPinned:n.isPinned,isRealityCheck:n.isRealityCheck&&!t.isTopic,isAnalysisPost:g,isYQAPost:y,isBBCVerify:_,tagText:n.tagText,getTranslationFor:t.getTranslationFor,setActiveDropdown:e.setActiveDropdown,activeDropdown:e.state.activeDropdown,isNew:d,body:n.body,locator:n.locator,assetId:n.assetId,type:n.type,title:n.title,subtitle:n.subtitle,summary:n.summary,relatedUrl:n.url,indexImage:n.image,brandingTool:t.brandingTool,firstPublished:n.firstPublished,lastPublished:n.lastPublished,language:n.language,manualTime:n.time,cssDirection:t.cssDirection,media:n.media,assetUri:t.assetUri,head:n.head,bodyInline:n.bodyInline,bodyLast:n.bodyLast,postHasVideo:v.default.postHasVideo(n),postHasImage:v.default.postHasImage(n),postHasSocial:v.default.postHasMediaType(n,"embed")||v.default.postHasMediaType(n,"tweet"),postIsBreakingNews:v.default.postIsBreakingNews(n),postIsPriority:v.default.postIsPriority(n),contributor:n.contributor,mode:t.mode,options:n.options,icon:n.icon||"",baseUrl:t.baseUrl,pageNumber:t.currentPageNumber,limit:t.limit,nitroKey:t.nitroKey,isUk:t.isUk,photogallery:n.photogallery,sourceAsset:o,useReactionsStreamV4Toggle:t.useReactionsStreamV4Toggle,useReactionCountsToggle:t.useReactionCountsToggle,liveState:n.liveState,theme:t.theme,totalNumberOfPages:t.totalNumberOfPages,userSignedIn:t.userSignedIn}),s&&null!==e.state.newPostHeight&&u.default.createElement(b.default,{postHeight:e.state.newPostHeight,callback:e.animationFinishedCallback,key:"post-placeholder-"+n.assetId,useBrandingTool:"true"===t.brandingTool,displayText:m?v.default.formatType(m):null,isIncident:v.default.isSupportedIncidentType(m)}))})}};E.propTypes={brandingTool:u.default.PropTypes.string,renderBefore:u.default.PropTypes.func,renderAfter:u.default.PropTypes.func,posts:u.default.PropTypes.array.isRequired,limit:u.default.PropTypes.number,nitroKey:u.default.PropTypes.string.isRequired,currentPageNumber:u.default.PropTypes.number.isRequired,isUk:u.default.PropTypes.bool.isRequired,isApp:u.default.PropTypes.bool.isRequired,adsProhibitedCps:u.default.PropTypes.bool.isRequired,hasAnimationsEnabled:u.default.PropTypes.bool.isRequired,hasBreakingNewsAnimationsEnabled:u.default.PropTypes.bool,analysisPostsEnabled:u.default.PropTypes.bool,yourQuestionsAnsweredPostsEnabled:u.default.PropTypes.bool,getTranslationFor:u.default.PropTypes.func.isRequired,cssDirection:u.default.PropTypes.string.isRequired,assetUri:u.default.PropTypes.string.isRequired,mode:u.default.PropTypes.string.isRequired,baseUrl:u.default.PropTypes.string.isRequired,useReactionsStreamV4Toggle:u.default.PropTypes.bool.isRequired,useReactionCountsToggle:u.default.PropTypes.bool.isRequired,theme:u.default.PropTypes.string.isRequired,totalNumberOfPages:u.default.PropTypes.number.isRequired,userSignedIn:u.default.PropTypes.bool.isRequired,isTopic:u.default.PropTypes.bool},E.defaultProps={brandingTool:"false",renderBefore:null,renderAfter:null,limit:20,nitroKey:"lx-nitro",hasBreakingNewsAnimationsEnabled:!1,isTopic:!1,analysisPostsEnabled:!1,yourQuestionsAnsweredPostsEnabled:!1},t.default=E,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-lx-adverts@1.0.8"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(21),c=r(u),p=n(0),d=r(p),f=n(5),m=r(f),h=n(117),g=r(h),v=n(22),y=r(v),b=n(118),_=r(b),P=n(119),T=r(P),E=n(63),x=r(E),C=n(224),w=r(C),N=n(98),k=r(N),M=n(18),S=n(19),I=n(95),O=r(I),R=n(96),D=r(R),A=n(97),L=r(A),U=function(e){return e.icon?d.default.createElement("div",{className:"gs-o-media__img qa-lx-stream-post__header-icon","aria-hidden":"true"},d.default.createElement("span",{className:"lx-stream-post__header-icon"},d.default.createElement(y.default,{iconName:e.icon}))):d.default.createElement("noscript",null)},j=function(e){return!!e.length&&d.default.createElement("p",{className:"gel-long-primer qa-post-subtitle gs-u-m0"},e)},q=function(e){var t=(0,T.default)(e);return d.default.createElement(_.default,{time:t.time,date:t.date,year:t.year,alternateDate:t.alternateDate,brandingTool:e.brandingTool,getTranslationFor:e.getTranslationFor,manualTime:t.manualTime})},B=function(e,t){return d.default.createElement("header",{className:"lx-stream-post__header gs-o-media gs-u-mb-alt"},U(e),d.default.createElement("div",{className:"gs-o-media__body"},d.default.createElement(D.default,l({},e,{titleId:t})),j(e.subtitle)))},F=function(e,t){return d.default.createElement("div",{className:"gs-u-mb+ gel-body-copy qa-post-body"},d.default.createElement(x.default,l({},e,{titleId:t})))},V=function(e,t){return"csp"!==e.type.toLowerCase()?d.default.createElement(k.default,{contributor:e.contributor,brandingTool:e.brandingTool,baseUrl:e.baseUrl,shouldHideImage:t}):d.default.createElement("noscript",null)},H=function(e,t){return e.isApp?d.default.createElement("noscript",null):d.default.createElement(w.default,l({},e,{shareToolsTitleId:t}))},W=function(e,t){var n=e.assetId,r=e.brandingTool,o=e.assetUri,a=e.pageNumber,i=e.limit,s=e.isUk,l=e.nitroKey,u=e.postIsPriority,c=e.totalNumberOfPages,p=e.useReactionsStreamV4Toggle,f=e.useReactionCountsToggle,m=e.isPinned,h=e.userSignedIn,v=(0,M.getIstatsData)(e),y=null;return m&&(y=n),p?d.default.createElement("div",{className:"lx-stream-post__footer-reactions qa-post-reactions"},d.default.createElement("span",{className:"gs-u-vh qa-post-reactions-accesssible-title",id:t},"Article Reactions"),d.default.createElement(g.default,{postId:n,istatsData:v,brandingTool:r,streamAssetUri:o,pageNumber:a,limit:i,isUk:s,nitroKey:l,postIsPriority:u,lxStreamReactionCountsEnabled:f,alternatePositiveIcon:"yes",pinnedPostId:y,reactionsTitleId:t,totalNumberOfPages:c,userSignedIn:h})):d.default.createElement("noscript",null)},K=function(e){var t=e.isStreamPage,n=e.isRobotText,r=e.isLegacy,o=e.assetId,a="share-tools-title-"+o,i="reactions-title-"+o;return n||r?d.default.createElement("noscript",null):d.default.createElement("footer",{className:"lx-stream-post__footer"},t&&W(e,i),d.default.createElement("div",{className:"lx-stream-post__footer-share"},d.default.createElement("span",{className:"gs-u-vh qa-share-tools-heading",id:a},"Article share tools"),H(e,a)))},z=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={canBeNew:!0,newCountdownBegun:!1},n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this;null!==this.props.setNewPostHeight&&this.props.setNewPostHeight(this.post.offsetHeight),(0,O.default)(function(){var t=(0,M.getIstatsData)(e.props);(0,S.configureAndSendIstats)("post_view","view",t)},{root:null,rootMargin:"0%",threshold:0,triggerOnce:!0,toObserve:c.default.findDOMNode(this)})}},{key:"componentWillReceiveProps",value:function(e){var t=this;!this.state.newCountdownBegun&&e.isNew&&(setTimeout(function(){t.setState({canBeNew:!1})},3e4),this.setState({newCountdownBegun:!0}))}},{key:"render",value:function(){var e=this,t=!(this.props.postIsBreakingNews||this.props.postIsPriority||this.props.isPinned)&&"true"===this.props.brandingTool,n=(this.props.postIsBreakingNews||this.props.postIsPriority)&&"true"===this.props.brandingTool,r=(this.props.postIsBreakingNews||this.props.postIsPriority||this.props.isPinned)&&"true"===this.props.brandingTool,o=(this.props.postIsBreakingNews||this.props.postIsPriority)&&!this.props.isPinned,a=this.props.postIsBreakingNews||this.props.isBBCVerify||this.props.isRealityCheck||this.props.isAnalysisPost||this.props.postIsPriority||this.props.isPinned,i=(0,m.default)("qa-post","gs-u-pb-alt+","lx-stream-post","gs-u-pt-alt+","gs-u-align-left",{"lx-stream-post--pinned":this.props.isPinned,"reality-check":this.props.isRealityCheck,"bbc-verify":this.props.isBBCVerify,"analysis-post":this.props.isAnalysisPost,"your-questions-answered-post":this.props.isYQAPost,"br-keyline":t,"br-page-link-onborder":n,"br-box-secondary":r,"lx-stream-post--breaking":o,"gs-u-ph+":a}),s="stream"===this.props.mode,u="robotext"===this.props.mode,c="legacy"===this.props.mode,p="title_"+this.props.assetId,f=l({},this.props,{isStreamPage:s,isRobotText:u,isLegacy:c});return d.default.createElement("article",{ref:function(t){return e.post=t},"aria-labelledby":"title_"+this.props.assetId,id:"post_"+this.props.assetId,className:i},(this.props.isRealityCheck||this.props.isBBCVerify)&&V(this.props,this.props.isBBCVerify),this.props.isAnalysisPost&&d.default.createElement("span",{className:"post-type--analysis gs-u-mb-alt"},"Analysis"),this.props.isYQAPost&&d.default.createElement("span",{className:"post-type--question gs-u-mb-alt gel-trafalgar"},"Your questions"," ",d.default.createElement("span",{className:"post-type--question__inner"},"answered")),d.default.createElement("div",{className:"gs-u-display-flex"},this.state.canBeNew&&this.props.isNew&&(0,L.default)(this.props,"",!0),q(this.props)),B(this.props,p),!this.props.isRealityCheck&&!this.props.isBBCVerify&&V(this.props),F(this.props,p),K(f))}}]),t}(p.Component);z.defaultProps={title:"",subtitle:"",useReactionsStreamV4Toggle:!1,useReactionCountsToggle:!1,tagText:"",isPinned:!1,isUk:!0,liveState:{isCatchUp:!1,isComingUp:!1,isLive:!1},brandingTool:"false",pageNumber:1,setNewPostHeight:null,isNew:!1,postIsBreakingNews:!1,postIsPriority:!1,mode:"",sourceAsset:null,isRealityCheck:!1,isAnalysisPost:!1,isYQAPost:!1,isBBCVerify:!1},z.propTypes={postIndex:p.PropTypes.number.isRequired,type:p.PropTypes.string.isRequired,title:p.PropTypes.string,subtitle:p.PropTypes.string,tagText:p.PropTypes.string,isPinned:p.PropTypes.bool,isNew:p.PropTypes.bool,brandingTool:p.PropTypes.string.isRequired,assetId:p.PropTypes.string.isRequired,locator:p.PropTypes.string.isRequired,pageNumber:p.PropTypes.number.isRequired,limit:p.PropTypes.number.isRequired,nitroKey:p.PropTypes.string.isRequired,isUk:p.PropTypes.oneOfType([p.PropTypes.bool,p.PropTypes.string]).isRequired,useReactionsStreamV4Toggle:p.PropTypes.bool.isRequired,useReactionCountsToggle:p.PropTypes.bool.isRequired,sourceAsset:p.PropTypes.object,liveState:p.PropTypes.shape({isCatchUp:p.PropTypes.bool.isRequired,isComingUp:p.PropTypes.bool.isRequired,isLive:p.PropTypes.bool.isRequired}),setNewPostHeight:p.PropTypes.func,postIsBreakingNews:p.PropTypes.bool,postIsPriority:p.PropTypes.bool,mode:p.PropTypes.string,isRealityCheck:p.PropTypes.bool,isAnalysisPost:p.PropTypes.bool,isYQAPost:p.PropTypes.bool,isBBCVerify:p.PropTypes.bool},t.default=z,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-lx-reactions@3.0.3"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){var t=e.getTranslationFor("posted_at")+" ",n=e.time?""+e.time:"",r=e.date?" "+e.date:"",a=e.year?" "+e.year:"",i=e.alternateDate?" - "+e.alternateDate:"",s=""+n+r+a+i,l=""+t+s,u=o.default.createElement("time",{dateTime:e.lastPublished,className:"lx-stream-post__meta-time gs-u-align-middle gs-u-display-inline-block gs-u-mr0@m gs-u-mr gel-long-primer qa-post-manual-meta"},e.manualTime),c=o.default.createElement("time",{dateTime:e.lastPublished,className:"lx-stream-post__meta-time gs-u-align-middle gs-u-display-inline-block gs-u-mr0@m gs-u-mr gel-long-primer"},o.default.createElement("span",{className:"gs-u-vh qa-visually-hidden-meta"},l),o.default.createElement("span",{className:"qa-post-auto-meta","aria-hidden":"true"},s));return"string"==typeof e.manualTime?u:c},i=function(e){return o.default.createElement("div",{className:"gs-u-mb-"},a(e))};i.displayName="PostMeta",t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){return(0,o.default)().isSame(e,"day")},i=function(e){return e.year()<(0,o.default)().year()},s=function(e,t,n){var r=Date.parse(e)/1e3;return o.default.unix(r).locale(n).format(t)},l=function(e){return"LL"===e||"ll"===e},u=function(e,t,n){if(!a(e)){var r=s(e,t,n);if(l(t)&&r.indexOf("-")>-1){return r.split("-")[0]}return r}return!1},c=function(e,t,n){return!(!i(e)||l(t))&&s(e,"YYYY",n)},p=function(e,t,n){if(!a(e)&&l(t)){var r=s(e,t,n);if(r.indexOf("-")>-1){return r.split("-")[1]}}return!1},d=function(e){return e&&"date-format"!==e?e:"ll"},f=function(e){var t=(0,o.default)(e.lastPublished),n="string"==typeof e.manualTime,r=d(e.getTranslationFor("date-format")),a=e.language||"en-GB",i={manualTime:e.manualTime};return!n&&t&&(i.time=t.format("H:mm"),i.date=u(t,r,a),i.year=c(t,r,a),i.alternateDate=p(t,r,a)),i};t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=r(a),s=n(121),l=n(63),u=r(l),c=n(96),p=r(c),d=function(e){return i.default.createElement(p.default,o({},e,{isContextualised:!0}))},f=function(e){if(e.body&&e.body.length>0){var t={children:e.body},n=i.default.createElement("noscript",null);return e.sourceAsset&&e.sourceAsset.type&&"MAP"!==e.sourceAsset.type&&(n=i.default.createElement("div",{className:"lx-stream-contextual-body"},d(e.sourceAsset),(0,u.default)(e.sourceAsset))),i.default.createElement("div",{className:"lx-stream-post-body"},(0,s.renderChildren)(t),n)}return i.default.createElement("noscript",null)};f.displayName="PostType",t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var a="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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(0),l=r(s),u=n(36),c=r(u),p=n(56),d=r(p),f=n(189),m=r(f),h=n(191),g=r(h),v=n(192),y=r(v),b=n(193),_=r(b),P=n(195),T=r(P),E=n(196),x=r(E),C=n(197),w=r(C),N=n(198),k=r(N),M=n(199),S=r(M),I=n(200),O=r(I),R=n(201),D=r(R),A=n(209),L=r(A),U={bold:(0,d.default)(g.default),italic:(0,d.default)(y.default),link:(0,d.default)(_.default),list:(0,d.default)(T.default),listItem:(0,d.default)(x.default),paragraph:(0,d.default)(w.default),quote:(0,d.default)(m.default),sms:(0,d.default)(m.default),blockquote:(0,d.default)(m.default),email:(0,d.default)(m.default),span:(0,d.default)(k.default),image:(0,d.default)(O.default),embed:(0,d.default)(L.default),video:(0,d.default)(D.default),audio:(0,d.default)(D.default)},j=function(e){return U[e]||S.default},q=function(e){var t={class:"className","xml:lang":"xmlLang"};return e.reduce(function(e,n){var r=t[n.name]||n.name;return i({},e,o({},r,n.value))},{})},B=function(e,t){if("text"===e.name)return e.text;var n=j(e.name),r={key:"post_"+t,postPosition:t,attributes:q(e.attributes),element:e,renderChildren:F,renderChildrenToStaticMarkup:V};return l.default.createElement(n,r)},F=function(e){return e.children.map(function(e,t){return B(e,t)})},V=function(e){return F(e).map(function(e){return"object"===(void 0===e?"undefined":a(e))?c.default.renderToStaticMarkup(e):e}).join("")};t.default={renderChildren:F,renderChildrenToStaticMarkup:V},e.exports=t.default},function(e,t,n){"use strict";var r=n(123),o=n(185),a=n(188);r.inject();var i={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:a};e.exports=i},function(e,t,n){"use strict";function r(){if(!C){C=!0,v.EventEmitter.injectReactEventListener(g),v.EventPluginHub.injectEventPluginOrder(s),v.EventPluginHub.injectInstanceHandle(y),v.EventPluginHub.injectMount(b),v.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:E,EnterLeaveEventPlugin:l,ChangeEventPlugin:a,SelectEventPlugin:P,BeforeInputEventPlugin:o}),v.NativeComponent.injectGenericComponentClass(m),v.NativeComponent.injectTextComponentClass(h),v.Class.injectMixin(p),v.DOMProperty.injectDOMPropertyConfig(c),v.DOMProperty.injectDOMPropertyConfig(x),v.EmptyComponent.injectEmptyComponent("noscript"),v.Updates.injectReconcileTransaction(_),v.Updates.injectBatchingStrategy(f),v.RootIndex.injectCreateReactRootIndex(u.canUseDOM?i.createReactRootIndex:T.createReactRootIndex),v.Component.injectEnvironment(d)}}var o=n(124),a=n(129),i=n(132),s=n(133),l=n(134),u=n(4),c=n(140),p=n(141),d=n(49),f=n(82),m=n(147),h=n(165),g=n(166),v=n(168),y=n(26),b=n(6),_=n(171),P=n(174),T=n(175),E=n(176),x=n(184),C=!1;e.exports={inject:r}},function(e,t,n){"use strict";function r(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function o(e){switch(e){case N.topCompositionStart:return k.compositionStart;case N.topCompositionEnd:return k.compositionEnd;case N.topCompositionUpdate:return k.compositionUpdate}}function a(e,t){return e===N.topKeyDown&&t.keyCode===_}function i(e,t){switch(e){case N.topKeyUp:return-1!==b.indexOf(t.keyCode);case N.topKeyDown:return t.keyCode!==_;case N.topKeyPress:case N.topMouseDown:case N.topBlur:return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r,l){var u,c;if(P?u=o(e):S?i(e,r)&&(u=k.compositionEnd):a(e,r)&&(u=k.compositionStart),!u)return null;x&&(S||u!==k.compositionStart?u===k.compositionEnd&&S&&(c=S.getData()):S=h.getPooled(t));var p=g.getPooled(u,n,r,l);if(c)p.data=c;else{var d=s(r);null!==d&&(p.data=d)}return f.accumulateTwoPhaseDispatches(p),p}function u(e,t){switch(e){case N.topCompositionEnd:return s(t);case N.topKeyPress:return t.which!==C?null:(M=!0,w);case N.topTextInput:var n=t.data;return n===w&&M?null:n;default:return null}}function c(e,t){if(S){if(e===N.topCompositionEnd||i(e,t)){var n=S.getData();return h.release(S),S=null,n}return null}switch(e){case N.topPaste:return null;case N.topKeyPress:return t.which&&!r(t)?String.fromCharCode(t.which):null;case N.topCompositionEnd:return x?null:t.data;default:return null}}function p(e,t,n,r,o){var a;if(!(a=E?u(e,r):c(e,r)))return null;var i=v.getPooled(k.beforeInput,n,r,o);return i.data=a,f.accumulateTwoPhaseDispatches(i),i}var d=n(10),f=n(23),m=n(4),h=n(126),g=n(127),v=n(128),y=n(13),b=[9,13,27,32],_=229,P=m.canUseDOM&&"CompositionEvent"in window,T=null;m.canUseDOM&&"documentMode"in document&&(T=document.documentMode);var E=m.canUseDOM&&"TextEvent"in window&&!T&&!function(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}(),x=m.canUseDOM&&(!P||T&&T>8&&T<=11),C=32,w=String.fromCharCode(C),N=d.topLevelTypes,k={beforeInput:{phasedRegistrationNames:{bubbled:y({onBeforeInput:null}),captured:y({onBeforeInputCapture:null})},dependencies:[N.topCompositionEnd,N.topKeyPress,N.topTextInput,N.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:y({onCompositionEnd:null}),captured:y({onCompositionEndCapture:null})},dependencies:[N.topBlur,N.topCompositionEnd,N.topKeyDown,N.topKeyPress,N.topKeyUp,N.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:y({onCompositionStart:null}),captured:y({onCompositionStartCapture:null})},dependencies:[N.topBlur,N.topCompositionStart,N.topKeyDown,N.topKeyPress,N.topKeyUp,N.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:y({onCompositionUpdate:null}),captured:y({onCompositionUpdateCapture:null})},dependencies:[N.topBlur,N.topCompositionUpdate,N.topKeyDown,N.topKeyPress,N.topKeyUp,N.topMouseDown]}},M=!1,S=null,I={eventTypes:k,extractEvents:function(e,t,n,r,o){return[l(e,t,n,r,o),p(e,t,n,r,o)]}};e.exports=I},function(e,t,n){"use strict";function r(e){return e===g.topMouseUp||e===g.topTouchEnd||e===g.topTouchCancel}function o(e){return e===g.topMouseMove||e===g.topTouchMove}function a(e){return e===g.topMouseDown||e===g.topTouchStart}function i(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=h.Mount.getNode(r),t?f.invokeGuardedCallbackWithCatch(o,n,e,r):f.invokeGuardedCallback(o,n,e,r),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)i(e,t,n[o],r[o]);else n&&i(e,t,n,r);e._dispatchListeners=null,e._dispatchIDs=null}function l(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function u(e){var t=l(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchIDs;Array.isArray(t)&&m(!1);var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function p(e){return!!e._dispatchListeners}var d=n(10),f=n(65),m=n(1),h=(n(2),{Mount:null,injectMount:function(e){h.Mount=e}}),g=d.topLevelTypes,v={isEndish:r,isMoveish:o,isStartish:a,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:u,hasDispatches:p,getNode:function(e){return h.Mount.getNode(e)},getID:function(e){return h.Mount.getID(e)},injection:h};e.exports=v},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(12),a=n(3),i=n(68);a(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=E.getPooled(M.change,I,e,x(e));_.accumulateTwoPhaseDispatches(t),T.batchedUpdates(a,t)}function a(e){b.enqueueEvents(e),b.processEventQueue(!1)}function i(e,t){S=e,I=t,S.attachEvent("onchange",o)}function s(){S&&(S.detachEvent("onchange",o),S=null,I=null)}function l(e,t,n){if(e===k.topChange)return n}function u(e,t,n){e===k.topFocus?(s(),i(t,n)):e===k.topBlur&&s()}function c(e,t){S=e,I=t,O=e.value,R=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(S,"value",L),S.attachEvent("onpropertychange",d)}function p(){S&&(delete S.value,S.detachEvent("onpropertychange",d),S=null,I=null,O=null,R=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==O&&(O=t,o(e))}}function f(e,t,n){if(e===k.topInput)return n}function m(e,t,n){e===k.topFocus?(p(),c(t,n)):e===k.topBlur&&p()}function h(e,t,n){if((e===k.topSelectionChange||e===k.topKeyUp||e===k.topKeyDown)&&S&&S.value!==O)return O=S.value,I}function g(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function v(e,t,n){if(e===k.topClick)return n}var y=n(10),b=n(24),_=n(23),P=n(4),T=n(8),E=n(14),x=n(38),C=n(39),w=n(69),N=n(13),k=y.topLevelTypes,M={change:{phasedRegistrationNames:{bubbled:N({onChange:null}),captured:N({onChangeCapture:null})},dependencies:[k.topBlur,k.topChange,k.topClick,k.topFocus,k.topInput,k.topKeyDown,k.topKeyUp,k.topSelectionChange]}},S=null,I=null,O=null,R=null,D=!1;P.canUseDOM&&(D=C("change")&&(!("documentMode"in document)||document.documentMode>8));var A=!1;P.canUseDOM&&(A=C("input")&&(!("documentMode"in document)||document.documentMode>9));var L={get:function(){return R.get.call(this)},set:function(e){O=""+e,R.set.call(this,e)}},U={eventTypes:M,extractEvents:function(e,t,n,o,a){var i,s;if(r(t)?D?i=l:s=u:w(t)?A?i=f:(i=h,s=m):g(t)&&(i=v),i){var c=i(e,t,n);if(c){var p=E.getPooled(M.change,c,o,a);return p.type="change",_.accumulateTwoPhaseDispatches(p),p}}s&&s(e,t,n)}};e.exports=U},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=n(131),i={};i.attachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&r(n,e,t._owner)}},i.shouldUpdateRefs=function(e,t){var n=null===e||!1===e,r=null===t||!1===t;return n||r||t._owner!==e._owner||t.ref!==e.ref},i.detachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=i},function(e,t,n){"use strict";var r=n(1),o={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){o.isValidOwner(n)||r(!1),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){o.isValidOwner(n)||r(!1),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};e.exports=o},function(e,t,n){"use strict";var r=0,o={createReactRootIndex:function(){return r++}};e.exports=o},function(e,t,n){"use strict";var r=n(13),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=o},function(e,t,n){"use strict";var r=n(10),o=n(23),a=n(31),i=n(6),s=n(13),l=r.topLevelTypes,u=i.getFirstReactDOM,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},p=[null,null],d={eventTypes:c,extractEvents:function(e,t,n,r,s){if(e===l.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var d;if(t.window===t)d=t;else{var f=t.ownerDocument;d=f?f.defaultView||f.parentWindow:window}var m,h,g="",v="";if(e===l.topMouseOut?(m=t,g=n,h=u(r.relatedTarget||r.toElement),h?v=i.getID(h):h=d,h=h||d):(m=d,h=t,v=n),m===h)return null;var y=a.getPooled(c.mouseLeave,g,r,s);y.type="mouseleave",y.target=m,y.relatedTarget=h;var b=a.getPooled(c.mouseEnter,v,r,s);return b.type="mouseenter",b.target=h,b.relatedTarget=m,o.accumulateEnterLeaveDispatches(y,b,g,v),p[0]=y,p[1]=b,p}};e.exports=d},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(24),a={handleTopLevel:function(e,t,n,a,i){r(o.extractEvents(e,t,n,a,i))}};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,a=e.length,i=-4&a;r<i;){for(;r<Math.min(r+4096,i);r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=o,n%=o}for(;r<a;r++)n+=t+=e.charCodeAt(r);return t%=o,n%=o,t|n<<16}var o=65521;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(138);e.exports=r},function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}function o(e){}var a=n(44),i=n(15),s=n(11),l=n(27),u=n(9),c=n(45),p=(n(46),n(16)),d=n(42),f=n(3),m=n(28),h=n(1),g=n(47);n(2);o.prototype.render=function(){return(0,l.get(this)._currentElement.type)(this.props,this.context,this.updater)};var v=1,y={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=v++,this._rootNodeID=e;var r,a,i=this._processProps(this._currentElement.props),u=this._processContext(n),c=this._currentElement.type,f="prototype"in c;f&&(r=new c(i,u,d)),f&&null!==r&&!1!==r&&!s.isValidElement(r)||(a=r,r=new o(c)),r.props=i,r.context=u,r.refs=m,r.updater=d,this._instance=r,l.set(r,this);var g=r.state;void 0===g&&(r.state=g=null),("object"!=typeof g||Array.isArray(g))&&h(!1),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,r.componentWillMount&&(r.componentWillMount(),this._pendingStateQueue&&(r.state=this._processPendingState(r.props,r.context))),void 0===a&&(a=this._renderValidatedComponent()),this._renderedComponent=this._instantiateReactComponent(a);var y=p.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return r.componentDidMount&&t.getReactMountReady().enqueue(r.componentDidMount,r),y},unmountComponent:function(){var e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),p.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._instance=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWrapper=null,l.remove(e)},_maskContext:function(e){var t=null,n=this._currentElement.type,r=n.contextTypes;if(!r)return m;t={};for(var o in r)t[o]=e[o];return t},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t=this._currentElement.type,n=this._instance,r=n.getChildContext&&n.getChildContext();if(r){"object"!=typeof t.childContextTypes&&h(!1);for(var o in r)o in t.childContextTypes||h(!1);return f({},e,r)}return e},_processProps:function(e){return e},_checkPropTypes:function(e,t,n){var o=this.getName();for(var a in e)if(e.hasOwnProperty(a)){var i;try{"function"!=typeof e[a]&&h(!1),i=e[a](t,a,o,n)}catch(e){i=e}if(i instanceof Error){r(this);c.prop}}},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&p.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},updateComponent:function(e,t,n,r,o){var a,i=this._instance,s=this._context===o?i.context:this._processContext(o);t===n?a=n.props:(a=this._processProps(n.props),i.componentWillReceiveProps&&i.componentWillReceiveProps(a,s));var l=this._processPendingState(a,s),u=this._pendingForceUpdate||!i.shouldComponentUpdate||i.shouldComponentUpdate(a,l,s);u?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,a,l,s,e,o)):(this._currentElement=n,this._context=o,i.props=a,i.state=l,i.context=s)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=f({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var s=r[i];f(a,"function"==typeof s?s.call(n,a,e,t):s)}return a},_performComponentUpdate:function(e,t,n,r,o,a){var i,s,l,u=this._instance,c=Boolean(u.componentDidUpdate);c&&(i=u.props,s=u.state,l=u.context),u.componentWillUpdate&&u.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,u.props=t,u.state=n,u.context=r,this._updateRenderedComponent(o,a),c&&o.getReactMountReady().enqueue(u.componentDidUpdate.bind(u,i,s,l),u)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent();if(g(r,o))p.receiveComponent(n,o,e,this._processChildContext(t));else{var a=this._rootNodeID,i=n._rootNodeID;p.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(o);var s=p.mountComponent(this._renderedComponent,a,e,this._processChildContext(t));this._replaceNodeWithMarkupByID(i,s)}},_replaceNodeWithMarkupByID:function(e,t){a.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return t},_renderValidatedComponent:function(){var e;i.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{i.current=null}return null===e||!1===e||s.isValidElement(e)||h(!1),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n&&h(!1);var r=t.getPublicInstance();(n.refs===m?n.refs={}:n.refs)[e]=r},detachRef:function(e){delete this.getPublicInstance().refs[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return e instanceof o?null:e},_instantiateReactComponent:null};u.measureMethods(y,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var b={Mixin:y};e.exports=b},function(e,t,n){"use strict";var r,o=n(17),a=n(4),i=o.injection.MUST_USE_ATTRIBUTE,s=o.injection.MUST_USE_PROPERTY,l=o.injection.HAS_BOOLEAN_VALUE,u=o.injection.HAS_SIDE_EFFECTS,c=o.injection.HAS_NUMERIC_VALUE,p=o.injection.HAS_POSITIVE_NUMERIC_VALUE,d=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(a.canUseDOM){var f=document.implementation;r=f&&f.hasFeature&&f.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var m={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-zd_.-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|l,allowTransparency:i,alt:null,async:l,autoComplete:null,autoPlay:l,capture:i|l,cellPadding:null,cellSpacing:null,charSet:i,challenge:i,checked:s|l,classID:i,className:r?i:s,cols:i|p,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:s|l,coords:null,crossOrigin:null,data:null,dateTime:i,default:l,defer:l,dir:null,disabled:i|l,download:d,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:l,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|l,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:s,inputMode:i,integrity:null,is:i,keyParams:i,keyType:i,kind:null,label:null,lang:null,list:i,loop:s|l,low:null,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,minLength:i,multiple:s|l,muted:s|l,name:null,nonce:i,noValidate:l,open:l,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:s|l,rel:null,required:l,reversed:l,role:i,rows:i|p,rowSpan:null,sandbox:null,scope:null,scoped:l,scrolling:null,seamless:i|l,selected:s|l,shape:null,size:i|p,sizes:i,span:p,spellCheck:null,src:null,srcDoc:s,srcLang:null,srcSet:i,start:c,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:s|u,width:i,wmode:i,wrap:null,about:i,datatype:i,inlist:i,prefix:i,property:i,resource:i,typeof:i,vocab:i,autoCapitalize:i,autoCorrect:i,autoSave:null,color:null,itemProp:i,itemScope:i|l,itemType:i,itemID:i,itemRef:i,results:null,security:i,unselectable:i},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};e.exports=m},function(e,t,n){"use strict";var r=(n(27),n(78)),o=(n(2),{getDOMNode:function(){return this.constructor._getDOMNodeDidWarn=!0,r(this)}});e.exports=o},function(e,t,n){"use strict";function r(e){return e.substring(1,e.indexOf(" "))}var o=n(4),a=n(143),i=n(7),s=n(80),l=n(1),u=/^(<[^ />]+)/,c={dangerouslyRenderMarkup:function(e){o.canUseDOM||l(!1);for(var t,n={},c=0;c<e.length;c++)e[c]||l(!1),t=r(e[c]),t=s(t)?t:"*",n[t]=n[t]||[],n[t][c]=e[c];var p=[],d=0;for(t in n)if(n.hasOwnProperty(t)){var f,m=n[t];for(f in m)if(m.hasOwnProperty(f)){var h=m[f];m[f]=h.replace(u,'$1 data-danger-index="'+f+'" ')}for(var g=a(m.join(""),i),v=0;v<g.length;++v){var y=g[v];y.hasAttribute&&y.hasAttribute("data-danger-index")&&(f=+y.getAttribute("data-danger-index"),y.removeAttribute("data-danger-index"),p.hasOwnProperty(f)&&l(!1),p[f]=y,d+=1)}}return d!==p.length&&l(!1),p.length!==e.length&&l(!1),p},dangerouslyReplaceNodeWithMarkup:function(e,t){o.canUseDOM||l(!1),t||l(!1),"html"===e.tagName.toLowerCase()&&l(!1);var n;n="string"==typeof t?a(t,i)[0]:t,e.parentNode.replaceChild(n,e)}};e.exports=c},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=u;u||l(!1);var o=r(e),a=o&&s(o);if(a){n.innerHTML=a[1]+e+a[2];for(var c=a[0];c--;)n=n.lastChild}else n.innerHTML=e;var p=n.getElementsByTagName("script");p.length&&(t||l(!1),i(p).forEach(t));for(var d=i(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var a=n(4),i=n(144),s=n(80),l=n(1),u=a.canUseDOM?document.createElement("div"):null,c=/^s*<(w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function o(e){return r(e)?Array.isArray(e)?e.slice():a(e):[e]}var a=n(145);e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&o(!1),"number"!=typeof t&&o(!1),0===t||t-1 in e||o(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}var o=n(1);e.exports=r},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(34);e.exports=r},function(e,t,n){"use strict";function r(){return this}function o(){var e=this._reactInternalComponent;return!!e}function a(){}function i(e,t){var n=this._reactInternalComponent;n&&(O.enqueueSetPropsInternal(n,e),t&&O.enqueueCallbackInternal(n,t))}function s(e,t){var n=this._reactInternalComponent;n&&(O.enqueueReplacePropsInternal(n,e),t&&O.enqueueCallbackInternal(n,t))}function l(e,t){t&&(null!=t.dangerouslySetInnerHTML&&(null!=t.children&&L(!1),"object"==typeof t.dangerouslySetInnerHTML&&z in t.dangerouslySetInnerHTML||L(!1)),null!=t.style&&"object"!=typeof t.style&&L(!1))}function u(e,t,n,r){var o=M.findReactContainerForID(e);if(o){var a=o.nodeType===Y?o.ownerDocument:o;F(t,a)}r.getReactMountReady().enqueue(c,{id:e,registrationName:t,listener:n})}function c(){var e=this;T.putListener(e.id,e.registrationName,e.listener)}function p(){var e=this;e._rootNodeID||L(!1);var t=M.getNode(e._rootNodeID);switch(t||L(!1),e._tag){case"iframe":e._wrapperState.listeners=[T.trapBubbledEvent(P.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in G)G.hasOwnProperty(n)&&e._wrapperState.listeners.push(T.trapBubbledEvent(P.topLevelTypes[n],G[n],t));break;case"img":e._wrapperState.listeners=[T.trapBubbledEvent(P.topLevelTypes.topError,"error",t),T.trapBubbledEvent(P.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[T.trapBubbledEvent(P.topLevelTypes.topReset,"reset",t),T.trapBubbledEvent(P.topLevelTypes.topSubmit,"submit",t)]}}function d(){C.mountReadyWrapper(this)}function f(){N.postUpdateWrapper(this)}function m(e){J.call(Z,e)||($.test(e)||L(!1),Z[e]=!0)}function h(e,t){return e.indexOf("-")>=0||null!=t.is}function g(e){m(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null}var v=n(148),y=n(149),b=n(17),_=n(52),P=n(10),T=n(32),E=n(49),x=n(156),C=n(157),w=n(159),N=n(86),k=n(161),M=n(6),S=n(162),I=n(9),O=n(42),R=n(3),D=n(41),A=n(34),L=n(1),U=(n(39),n(13)),j=n(33),q=n(51),B=(n(87),n(48),n(2),T.deleteListener),F=T.listenTo,V=T.registrationNameModules,H={string:!0,number:!0},W=U({children:null}),K=U({style:null}),z=U({__html:null}),Y=1,G={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},$=(R({menuitem:!0},Q),/^[a-zA-Z][a-zA-Z:_.-d]*$/),Z={},J={}.hasOwnProperty;g.displayName="ReactDOMComponent",g.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(p,this);break;case"button":r=x.getNativeProps(this,r,n);break;case"input":C.mountWrapper(this,r,n),r=C.getNativeProps(this,r,n);break;case"option":w.mountWrapper(this,r,n),r=w.getNativeProps(this,r,n);break;case"select":N.mountWrapper(this,r,n),r=N.getNativeProps(this,r,n),n=N.processChildContext(this,r,n);break;case"textarea":k.mountWrapper(this,r,n),r=k.getNativeProps(this,r,n)}l(this,r);var o;if(t.useCreateElement){var a=n[M.ownerDocumentContextKey],i=a.createElement(this._currentElement.type);_.setAttributeForID(i,this._rootNodeID),M.getID(i),this._updateDOMProperties({},r,t,i),this._createInitialChildren(t,r,n,i),o=i}else{var s=this._createOpenTagMarkupAndPutListeners(t,r),u=this._createContentMarkup(t,r,n);o=!u&&Q[this._tag]?s+"/>":s+">"+u+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(d,this);case"button":case"select":case"textarea":r.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this)}return o},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(V.hasOwnProperty(r))o&&u(this._rootNodeID,r,o,e);else{r===K&&(o&&(o=this._previousStyleCopy=R({},t.style)),o=y.createMarkupForStyles(o));var a=null;null!=this._tag&&h(this._tag,t)?r!==W&&(a=_.createMarkupForCustomAttribute(r,o)):a=_.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:n+" "+_.createMarkupForID(this._rootNodeID)},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=H[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=A(a);else if(null!=i){var s=this.mountChildren(i,e,n);r=s.join("")}}return X[this._tag]&&"n"===r.charAt(0)?"n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&j(r,o.__html);else{var a=H[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)q(r,a);else if(null!=i)for(var s=this.mountChildren(i,e,n),l=0;l<s.length;l++)r.appendChild(s[l])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var o=t.props,a=this._currentElement.props;switch(this._tag){case"button":o=x.getNativeProps(this,o),a=x.getNativeProps(this,a);break;case"input":C.updateWrapper(this),o=C.getNativeProps(this,o),a=C.getNativeProps(this,a);break;case"option":o=w.getNativeProps(this,o),a=w.getNativeProps(this,a);break;case"select":o=N.getNativeProps(this,o),a=N.getNativeProps(this,a);break;case"textarea":k.updateWrapper(this),o=k.getNativeProps(this,o),a=k.getNativeProps(this,a)}l(this,a),this._updateDOMProperties(o,a,e,null),this._updateDOMChildren(o,a,e,r),!D&&this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties.props=a),"select"===this._tag&&e.getReactMountReady().enqueue(f,this)},_updateDOMProperties:function(e,t,n,r){var o,a,i;for(o in e)if(!t.hasOwnProperty(o)&&e.hasOwnProperty(o))if(o===K){var s=this._previousStyleCopy;for(a in s)s.hasOwnProperty(a)&&(i=i||{},i[a]="");this._previousStyleCopy=null}else V.hasOwnProperty(o)?e[o]&&B(this._rootNodeID,o):(b.properties[o]||b.isCustomAttribute(o))&&(r||(r=M.getNode(this._rootNodeID)),_.deleteValueForProperty(r,o));for(o in t){var l=t[o],c=o===K?this._previousStyleCopy:e[o];if(t.hasOwnProperty(o)&&l!==c)if(o===K)if(l?l=this._previousStyleCopy=R({},l):this._previousStyleCopy=null,c){for(a in c)!c.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(i=i||{},i[a]="");for(a in l)l.hasOwnProperty(a)&&c[a]!==l[a]&&(i=i||{},i[a]=l[a])}else i=l;else V.hasOwnProperty(o)?l?u(this._rootNodeID,o,l,n):c&&B(this._rootNodeID,o):h(this._tag,t)?(r||(r=M.getNode(this._rootNodeID)),o===W&&(l=null),_.setValueForAttribute(r,o,l)):(b.properties[o]||b.isCustomAttribute(o))&&(r||(r=M.getNode(this._rootNodeID)),null!=l?_.setValueForProperty(r,o,l):_.deleteValueForProperty(r,o))}i&&(r||(r=M.getNode(this._rootNodeID)),y.setValueForStyles(r,i))},_updateDOMChildren:function(e,t,n,r){var o=H[typeof e.children]?e.children:null,a=H[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=o?null:e.children,u=null!=a?null:t.children,c=null!=o||null!=i,p=null!=a||null!=s;null!=l&&null==u?this.updateChildren(null,n,r):c&&!p&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=s?i!==s&&this.updateMarkup(""+s):null!=u&&this.updateChildren(u,n,r)},unmountComponent:function(){switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":var e=this._wrapperState.listeners;if(e)for(var t=0;t<e.length;t++)e[t].remove();break;case"input":C.unmountWrapper(this);break;case"html":case"head":case"body":L(!1)}if(this.unmountChildren(),T.deleteAllListeners(this._rootNodeID),E.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacyProperties){this._nodeWithLegacyProperties._reactInternalComponent=null,this._nodeWithLegacyProperties=null}},getPublicInstance:function(){if(!this._nodeWithLegacyProperties){var e=M.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=r,e.isMounted=o,e.setState=a,e.replaceState=a,e.forceUpdate=a,e.setProps=i,e.replaceProps=s,e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return this._nodeWithLegacyProperties}},I.measureMethods(g,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),R(g.prototype,g.Mixin,S.Mixin),e.exports=g},function(e,t,n){"use strict";var r=n(6),o=n(78),a=n(83),i={componentDidMount:function(){this.props.autoFocus&&a(o(this))}},s={Mixin:i,focusDOMComponent:function(){a(r.getNode(this._rootNodeID))}};e.exports=s},function(e,t,n){"use strict";var r=n(84),o=n(4),a=n(9),i=(n(150),n(152)),s=n(153),l=n(155),u=(n(2),l(function(e){return s(e)})),c=!1,p="cssFloat";if(o.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(p="styleFloat")}var f={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=u(n)+":",t+=i(n,r)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var o in t)if(t.hasOwnProperty(o)){var a=i(o,t[o]);if("float"===o&&(o=p),a)n[o]=a;else{var s=c&&r.shorthandPropertyExpansions[o];if(s)for(var l in s)n[l]="";else n[o]=""}}}};a.measureMethods(f,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),e.exports=f},function(e,t,n){"use strict";function r(e){return o(e.replace(a,"ms-"))}var o=n(151),a=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},function(e,t,n){"use strict";function r(e,t){return null==t||"boolean"==typeof t||""===t?"":isNaN(t)||0===t||a.hasOwnProperty(e)&&a[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var o=n(84),a=o.isUnitlessNumber;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(a,"-ms-")}var o=n(154),a=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){"use strict";var r={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},o={getNativeProps:function(e,t,n){if(!t.disabled)return t;var o={};for(var a in t)t.hasOwnProperty(a)&&!r[a]&&(o[a]=t[a]);return o}};e.exports=o},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);l.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=s.getNode(this._rootNodeID),u=a;u.parentNode;)u=u.parentNode;for(var d=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),f=0;f<d.length;f++){var m=d[f];if(m!==a&&m.form===a.form){var h=s.getID(m);h||c(!1);var g=p[h];g||c(!1),l.asap(r,g)}}}return n}var a=n(50),i=n(53),s=n(6),l=n(8),u=n(3),c=n(1),p={},d={getNativeProps:function(e,t,n){var r=i.getValue(t),o=i.getChecked(t);return u({},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=r?r:e._wrapperState.initialValue,checked:null!=o?o:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:t.defaultChecked||!1,initialValue:null!=n?n:null,onChange:o.bind(e)}},mountReadyWrapper:function(e){p[e._rootNodeID]=e},unmountWrapper:function(e){delete p[e._rootNodeID]},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&a.updatePropertyByID(e._rootNodeID,"checked",n||!1);var r=i.getValue(t);null!=r&&a.updatePropertyByID(e._rootNodeID,"value",""+r)}};e.exports=d},function(e,t,n){"use strict";function r(e){function t(t,n,r,o,a,i){if(o=o||b,i=i||r,null==n[r]){var s=g[a];return t?new Error("Required "+s+" `"+i+"` was not specified in `"+o+"`."):null}return e(n,r,o,a,i)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function o(e){function t(t,n,r,o,a){var i=t[n];if(d(i)!==e){var s=g[o],l=f(i);return new Error("Invalid "+s+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `"+e+"`.")}return null}return r(t)}function a(e){function t(t,n,r,o,a){var i=t[n];if(!Array.isArray(i)){var s=g[o],l=d(i);return new Error("Invalid "+s+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<i.length;u++){var c=e(i,u,r,o,a+"["+u+"]");if(c instanceof Error)return c}return null}return r(t)}function i(e){function t(t,n,r,o,a){if(!(t[n]instanceof e)){var i=g[o],s=e.name||b,l=m(t[n]);return new Error("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected instance of `"+s+"`.")}return null}return r(t)}function s(e){function t(t,n,r,o,a){for(var i=t[n],s=0;s<e.length;s++)if(i===e[s])return null;var l=g[o],u=JSON.stringify(e);return new Error("Invalid "+l+" `"+a+"` of value `"+i+"` supplied to `"+r+"`, expected one of "+u+".")}return r(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function l(e){function t(t,n,r,o,a){var i=t[n],s=d(i);if("object"!==s){var l=g[o];return new Error("Invalid "+l+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.")}for(var u in i)if(i.hasOwnProperty(u)){var c=e(i,u,r,o,a+"."+u);if(c instanceof Error)return c}return null}return r(t)}function u(e){function t(t,n,r,o,a){for(var i=0;i<e.length;i++){if(null==(0,e[i])(t,n,r,o,a))return null}var s=g[o];return new Error("Invalid "+s+" `"+a+"` supplied to `"+r+"`.")}return r(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function c(e){function t(t,n,r,o,a){var i=t[n],s=d(i);if("object"!==s){var l=g[o];return new Error("Invalid "+l+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.")}for(var u in e){var c=e[u];if(c){var p=c(i,u,r,o,a+"."+u);if(p)return p}}return null}return r(t)}function p(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(p);if(null===e||h.isValidElement(e))return!0;var t=y(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!p(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!p(o[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function f(e){var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){return e.constructor&&e.constructor.name?e.constructor.name:"<<anonymous>>"}var h=n(11),g=n(46),v=n(7),y=n(85),b="<<anonymous>>",_={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:function(){return r(v.thatReturns(null))}(),arrayOf:a,element:function(){function e(e,t,n,r,o){if(!h.isValidElement(e[t])){var a=g[r];return new Error("Invalid "+a+" `"+o+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return r(e)}(),instanceOf:i,node:function(){function e(e,t,n,r,o){if(!p(e[t])){var a=g[r];return new Error("Invalid "+a+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return r(e)}(),objectOf:l,oneOf:s,oneOfType:u,shape:c};e.exports=_},function(e,t,n){"use strict";var r=n(160),o=n(86),a=n(3),i=(n(2),o.valueContextKey),s={mountWrapper:function(e,t,n){var r=n[i],o=null;if(null!=r)if(o=!1,Array.isArray(r)){for(var a=0;a<r.length;a++)if(""+r[a]==""+t.value){o=!0;break}}else o=""+r==""+t.value;e._wrapperState={selected:o}},getNativeProps:function(e,t,n){var o=a({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(o.selected=e._wrapperState.selected);var i="";return r.forEach(t.children,function(e){null!=e&&("string"!=typeof e&&"number"!=typeof e||(i+=e))}),i&&(o.children=i),o}};e.exports=s},function(e,t,n){"use strict";function r(e){return(""+e).replace(_,"//")}function o(e,t){this.func=e,this.context=t,this.count=0}function a(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function i(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);v(e,a,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function l(e,t,n){var o=e.result,a=e.keyPrefix,i=e.func,s=e.context,l=i.call(s,t,e.count++);Array.isArray(l)?u(l,o,n,g.thatReturnsArgument):null!=l&&(h.isValidElement(l)&&(l=h.cloneAndReplaceKey(l,a+(l!==t?r(l.key||"")+"/":"")+n)),o.push(l))}function u(e,t,n,o,a){var i="";null!=n&&(i=r(n)+"/");var u=s.getPooled(t,i,o,a);v(e,l,u),s.release(u)}function c(e,t,n){if(null==e)return e;var r=[];return u(e,r,null,t,n),r}function p(e,t,n){return null}function d(e,t){return v(e,p,null)}function f(e){var t=[];return u(e,t,null,g.thatReturnsArgument),t}var m=n(12),h=n(11),g=n(7),v=n(54),y=m.twoArgumentPooler,b=m.fourArgumentPooler,_=//(?!/)/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},m.addPoolingTo(o,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},m.addPoolingTo(s,b);var P={forEach:i,map:c,mapIntoWithKeyPrefixInternal:u,count:d,toArray:f};e.exports=P},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=a.executeOnChange(t,e);return s.asap(r,this),n}var a=n(53),i=n(50),s=n(8),l=n(3),u=n(1),c=(n(2),{getNativeProps:function(e,t,n){return null!=t.dangerouslySetInnerHTML&&u(!1),l({},t,{defaultValue:void 0,value:void 0,children:e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=t.defaultValue,r=t.children;null!=r&&(null!=n&&u(!1),Array.isArray(r)&&(r.length<=1||u(!1),r=r[0]),n=""+r),null==n&&(n="");var i=a.getValue(t);e._wrapperState={initialValue:""+(null!=i?i:n),onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=a.getValue(t);null!=n&&i.updatePropertyByID(e._rootNodeID,"value",""+n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t,n){g.push({parentID:e,parentNode:null,type:p.INSERT_MARKUP,markupIndex:v.push(t)-1,content:null,fromIndex:null,toIndex:n})}function o(e,t,n){g.push({parentID:e,parentNode:null,type:p.MOVE_EXISTING,markupIndex:null,content:null,fromIndex:t,toIndex:n})}function a(e,t){g.push({parentID:e,parentNode:null,type:p.REMOVE_NODE,markupIndex:null,content:null,fromIndex:t,toIndex:null})}function i(e,t){g.push({parentID:e,parentNode:null,type:p.SET_MARKUP,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function s(e,t){g.push({parentID:e,parentNode:null,type:p.TEXT_CONTENT,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function l(){g.length&&(c.processChildrenUpdates(g,v),u())}function u(){g.length=0,v.length=0}var c=n(44),p=n(81),d=(n(15),n(16)),f=n(163),m=n(164),h=0,g=[],v=[],y={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return f.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r){var o;return o=m(t),f.updateChildren(e,o,n,r)},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],l=this._rootNodeID+i,u=d.mountComponent(s,l,t,n);s._mountIndex=a++,o.push(u)}return o},updateTextContent:function(e){h++;var t=!0;try{var n=this._renderedChildren;f.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChild(n[r]);this.setTextContent(e),t=!1}finally{h--,h||(t?u():l())}},updateMarkup:function(e){h++;var t=!0;try{var n=this._renderedChildren;f.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setMarkup(e),t=!1}finally{h--,h||(t?u():l())}},updateChildren:function(e,t,n){h++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{h--,h||(r?u():l())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=this._reconcilerUpdateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var a,i=0,s=0;for(a in o)if(o.hasOwnProperty(a)){var l=r&&r[a],u=o[a];l===u?(this.moveChild(l,s,i),i=Math.max(l._mountIndex,i),l._mountIndex=s):(l&&(i=Math.max(l._mountIndex,i),this._unmountChild(l)),this._mountChildByNameAtIndex(u,a,s,t,n)),s++}for(a in r)!r.hasOwnProperty(a)||o&&o.hasOwnProperty(a)||this._unmountChild(r[a])}},unmountChildren:function(){var e=this._renderedChildren;f.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&o(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){r(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){a(this._rootNodeID,e._mountIndex)},setTextContent:function(e){s(this._rootNodeID,e)},setMarkup:function(e){i(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,o){var a=this._rootNodeID+t,i=d.mountComponent(e,a,r,o);e._mountIndex=n,this.createChild(e,i)},_unmountChild:function(e){this.removeChild(e),e._mountIndex=null}}};e.exports=y},function(e,t,n){"use strict";function r(e,t,n){var r=void 0===e[n];null!=t&&r&&(e[n]=a(t,null))}var o=n(16),a=n(43),i=n(47),s=n(54),l=(n(2),{instantiateChildren:function(e,t,n){if(null==e)return null;var o={};return s(e,r,o),o},updateChildren:function(e,t,n,r){if(!t&&!e)return null;var s;for(s in t)if(t.hasOwnProperty(s)){var l=e&&e[s],u=l&&l._currentElement,c=t[s];if(null!=l&&i(u,c))o.receiveComponent(l,c,n,r),t[s]=l;else{l&&o.unmountComponent(l,s);var p=a(c,null);t[s]=p}}for(s in e)!e.hasOwnProperty(s)||t&&t.hasOwnProperty(s)||o.unmountComponent(e[s]);return t},unmountChildren:function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];o.unmountComponent(n)}}});e.exports=l},function(e,t,n){"use strict";function r(e,t,n){var r=e,o=void 0===r[n];o&&null!=t&&(r[n]=t)}function o(e){if(null==e)return e;var t={};return a(e,r,t),t}var a=n(54);n(2);e.exports=o},function(e,t,n){"use strict";var r=n(79),o=n(52),a=n(49),i=n(6),s=n(3),l=n(34),u=n(51),c=(n(48),function(e){});s(c.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){if(this._rootNodeID=e,t.useCreateElement){var r=n[i.ownerDocumentContextKey],a=r.createElement("span");return o.setAttributeForID(a,e),i.getID(a),u(a,this._stringText),a}var s=l(this._stringText);return t.renderToStaticMarkup?s:"<span "+o.createMarkupForID(e)+">"+s+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var o=i.getNode(this._rootNodeID);r.updateTextContent(o,n)}}},unmountComponent:function(){a.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},function(e,t,n){"use strict";function r(e){var t=d.getID(e),n=p.getReactRootIDFromNodeID(t),r=d.findReactContainerForID(n);return d.getFirstReactDOM(r)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){i(e)}function i(e){for(var t=d.getFirstReactDOM(h(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=r(n);for(var o=0;o<e.ancestors.length;o++){t=e.ancestors[o];var a=d.getID(t)||"";v._handleTopLevel(e.topLevelType,t,a,e.nativeEvent,h(e.nativeEvent))}}function s(e){e(g(window))}var l=n(88),u=n(4),c=n(12),p=n(26),d=n(6),f=n(8),m=n(3),h=n(38),g=n(167);m(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:u.canUseDOM?window:null,setHandleTopLevel:function(e){v._handleTopLevel=e},setEnabled:function(e){v._enabled=!!e},isEnabled:function(){return v._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?l.listen(r,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?l.capture(r,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=s.bind(null,e);l.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=o.getPooled(e,t);try{f.batchedUpdates(a,n)}finally{o.release(n)}}}};e.exports=v},function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},function(e,t,n){"use strict";var r=n(17),o=n(24),a=n(44),i=n(169),s=n(76),l=n(32),u=n(77),c=n(9),p=n(73),d=n(8),f={Component:a.injection,Class:i.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventEmitter:l.injection,NativeComponent:u.injection,Perf:c.injection,RootIndex:p.injection,Updates:d.injection};e.exports=f},function(e,t,n){"use strict";function r(e,t){var n=T.hasOwnProperty(t)?T[t]:null;x.hasOwnProperty(t)&&n!==_.OVERRIDE_BASE&&g(!1),e.hasOwnProperty(t)&&n!==_.DEFINE_MANY&&n!==_.DEFINE_MANY_MERGED&&g(!1)}function o(e,t){if(t){"function"==typeof t&&g(!1),d.isValidElement(t)&&g(!1);var n=e.prototype;t.hasOwnProperty(b)&&E.mixins(e,t.mixins);for(var o in t)if(t.hasOwnProperty(o)&&o!==b){var a=t[o];if(r(n,o),E.hasOwnProperty(o))E[o](e,a);else{var i=T.hasOwnProperty(o),u=n.hasOwnProperty(o),c="function"==typeof a,p=c&&!i&&!u&&!1!==t.autobind;if(p)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[o]=a,n[o]=a;else if(u){var f=T[o];(!i||f!==_.DEFINE_MANY_MERGED&&f!==_.DEFINE_MANY)&&g(!1),f===_.DEFINE_MANY_MERGED?n[o]=s(n[o],a):f===_.DEFINE_MANY&&(n[o]=l(n[o],a))}else n[o]=a}}}}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in E;o&&g(!1);var a=n in e;a&&g(!1),e[n]=r}}}function i(e,t){e&&t&&"object"==typeof e&&"object"==typeof t||g(!1);for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]&&g(!1),e[n]=t[n]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return i(o,n),i(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function u(e,t){var n=t.bind(e);return n}function c(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=u(e,n)}}var p=n(170),d=n(11),f=(n(45),n(46),n(89)),m=n(3),h=n(28),g=n(1),v=n(29),y=n(13),b=(n(2),y({mixins:null})),_=v({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),P=[],T={mixins:_.DEFINE_MANY,statics:_.DEFINE_MANY,propTypes:_.DEFINE_MANY,contextTypes:_.DEFINE_MANY,childContextTypes:_.DEFINE_MANY,getDefaultProps:_.DEFINE_MANY_MERGED,getInitialState:_.DEFINE_MANY_MERGED,getChildContext:_.DEFINE_MANY_MERGED,render:_.DEFINE_ONCE,componentWillMount:_.DEFINE_MANY,componentDidMount:_.DEFINE_MANY,componentWillReceiveProps:_.DEFINE_MANY,shouldComponentUpdate:_.DEFINE_ONCE,componentWillUpdate:_.DEFINE_MANY,componentDidUpdate:_.DEFINE_MANY,componentWillUnmount:_.DEFINE_MANY,updateComponent:_.OVERRIDE_BASE},E={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)o(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=m({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=m({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=s(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=m({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},x={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t){this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},replaceProps:function(e,t){this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}},C=function(){};m(C.prototype,p.prototype,x);var w={createClass:function(e){var t=function(e,t,n){this.__reactAutoBindMap&&c(this),this.props=e,this.context=t,this.refs=h,this.updater=n||f,this.state=null;var r=this.getInitialState?this.getInitialState():null;("object"!=typeof r||Array.isArray(r))&&g(!1),this.state=r};t.prototype=new C,t.prototype.constructor=t,P.forEach(o.bind(null,t)),o(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render||g(!1);for(var n in T)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){P.push(e)}}};e.exports=w},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||o}var o=n(89),a=(n(41),n(28)),i=n(1);n(2);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&i(!1),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)};e.exports=r},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=o.getPooled(null),this.useCreateElement=!e&&s.useCreateElement}var o=n(37),a=n(12),i=n(32),s=n(71),l=n(90),u=n(30),c=n(3),p={initialize:l.getSelectionInformation,close:l.restoreSelection},d={initialize:function(){var e=i.isEnabled();return i.setEnabled(!1),e},close:function(e){i.setEnabled(e)}},f={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},m=[p,d,f],h={getTransactionWrappers:function(){return m},getReactMountReady:function(){return this.reactMountReady},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};c(r.prototype,u.Mixin,h),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var a=o.text.length;return{start:a,end:a+r}}function a(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,a=t.focusNode,i=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var l=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),u=l?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var p=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),d=p?0:c.toString().length,f=d+u,m=document.createRange();m.setStart(n,o),m.setEnd(a,i);var h=m.collapsed;return{start:h?f:d,end:h?d:f}}function i(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(p),n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var l=n(4),u=n(173),c=n(68),p=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:a,setOffsets:p?i:s};e.exports=d},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function a(e,t){for(var n=r(e),a=0,i=0;n;){if(3===n.nodeType){if(i=a+n.textContent.length,a<=t&&i>=t)return{node:n,offset:t-a};a=i}n=r(o(n))}}e.exports=a},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(_||null==v||v!==c())return null;var n=r(v);if(!b||!f(b,n)){b=n;var o=u.getPooled(g.select,y,e,t);return o.type="select",o.target=v,i.accumulateTwoPhaseDispatches(o),o}return null}var a=n(10),i=n(23),s=n(4),l=n(90),u=n(14),c=n(91),p=n(69),d=n(13),f=n(87),m=a.topLevelTypes,h=s.canUseDOM&&"documentMode"in document&&document.documentMode<=11,g={select:{phasedRegistrationNames:{bubbled:d({onSelect:null}),captured:d({onSelectCapture:null})},dependencies:[m.topBlur,m.topContextMenu,m.topFocus,m.topKeyDown,m.topMouseDown,m.topMouseUp,m.topSelectionChange]}},v=null,y=null,b=null,_=!1,P=!1,T=d({onSelect:null}),E={eventTypes:g,extractEvents:function(e,t,n,r,a){if(!P)return null;switch(e){case m.topFocus:(p(t)||"true"===t.contentEditable)&&(v=t,y=n,b=null);break;case m.topBlur:v=null,y=null,b=null;break;case m.topMouseDown:_=!0;break;case m.topContextMenu:case m.topMouseUp:return _=!1,o(r,a);case m.topSelectionChange:if(h)break;case m.topKeyDown:case m.topKeyUp:return o(r,a)}return null},didPutListener:function(e,t,n){t===T&&(P=!0)}};e.exports=E},function(e,t,n){"use strict";var r=Math.pow(2,53),o={createReactRootIndex:function(){return Math.ceil(Math.random()*r)}};e.exports=o},function(e,t,n){"use strict";var r=n(10),o=n(88),a=n(23),i=n(6),s=n(177),l=n(14),u=n(178),c=n(179),p=n(31),d=n(181),f=n(182),m=n(25),h=n(183),g=n(7),v=n(55),y=n(1),b=n(13),_=r.topLevelTypes,P={abort:{phasedRegistrationNames:{bubbled:b({onAbort:!0}),captured:b({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:b({onBlur:!0}),captured:b({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:b({onCanPlay:!0}),captured:b({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:b({onCanPlayThrough:!0}),captured:b({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:b({onClick:!0}),captured:b({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:b({onContextMenu:!0}),captured:b({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:b({onCopy:!0}),captured:b({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:b({onCut:!0}),captured:b({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:b({onDoubleClick:!0}),captured:b({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:b({onDrag:!0}),captured:b({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:b({onDragEnd:!0}),captured:b({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:b({onDragEnter:!0}),captured:b({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:b({onDragExit:!0}),captured:b({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:b({onDragLeave:!0}),captured:b({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:b({onDragOver:!0}),captured:b({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:b({onDragStart:!0}),captured:b({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:b({onDrop:!0}),captured:b({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:b({onDurationChange:!0}),captured:b({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:b({onEmptied:!0}),captured:b({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:b({onEncrypted:!0}),captured:b({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:b({onEnded:!0}),captured:b({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:b({onError:!0}),captured:b({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:b({onFocus:!0}),captured:b({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:b({onInput:!0}),captured:b({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:b({onKeyDown:!0}),captured:b({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:b({onKeyPress:!0}),captured:b({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:b({onKeyUp:!0}),captured:b({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:b({onLoad:!0}),captured:b({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:b({onLoadedData:!0}),captured:b({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:b({onLoadedMetadata:!0}),captured:b({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:b({onLoadStart:!0}),captured:b({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:b({onMouseDown:!0}),captured:b({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:b({onMouseMove:!0}),captured:b({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:b({onMouseOut:!0}),captured:b({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:b({onMouseOver:!0}),captured:b({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:b({onMouseUp:!0}),captured:b({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:b({onPaste:!0}),captured:b({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:b({onPause:!0}),captured:b({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:b({onPlay:!0}),captured:b({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:b({onPlaying:!0}),captured:b({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:b({onProgress:!0}),captured:b({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:b({onRateChange:!0}),captured:b({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:b({onReset:!0}),captured:b({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:b({onScroll:!0}),captured:b({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:b({onSeeked:!0}),captured:b({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:b({onSeeking:!0}),captured:b({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:b({onStalled:!0}),captured:b({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:b({onSubmit:!0}),captured:b({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:b({onSuspend:!0}),captured:b({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:b({onTimeUpdate:!0}),captured:b({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:b({onTouchCancel:!0}),captured:b({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:b({onTouchEnd:!0}),captured:b({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:b({onTouchMove:!0}),captured:b({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:b({onTouchStart:!0}),captured:b({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:b({onVolumeChange:!0}),captured:b({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:b({onWaiting:!0}),captured:b({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:b({onWheel:!0}),captured:b({onWheelCapture:!0})}}},T={topAbort:P.abort,topBlur:P.blur,topCanPlay:P.canPlay,topCanPlayThrough:P.canPlayThrough,topClick:P.click,topContextMenu:P.contextMenu,topCopy:P.copy,topCut:P.cut,topDoubleClick:P.doubleClick,topDrag:P.drag,topDragEnd:P.dragEnd,topDragEnter:P.dragEnter,topDragExit:P.dragExit,topDragLeave:P.dragLeave,topDragOver:P.dragOver,topDragStart:P.dragStart,topDrop:P.drop,topDurationChange:P.durationChange,topEmptied:P.emptied,topEncrypted:P.encrypted,topEnded:P.ended,topError:P.error,topFocus:P.focus,topInput:P.input,topKeyDown:P.keyDown,topKeyPress:P.keyPress,topKeyUp:P.keyUp,topLoad:P.load,topLoadedData:P.loadedData,topLoadedMetadata:P.loadedMetadata,topLoadStart:P.loadStart,topMouseDown:P.mouseDown,topMouseMove:P.mouseMove,topMouseOut:P.mouseOut,topMouseOver:P.mouseOver,topMouseUp:P.mouseUp,topPaste:P.paste,topPause:P.pause,topPlay:P.play,topPlaying:P.playing,topProgress:P.progress,topRateChange:P.rateChange,topReset:P.reset,topScroll:P.scroll,topSeeked:P.seeked,topSeeking:P.seeking,topStalled:P.stalled,topSubmit:P.submit,topSuspend:P.suspend,topTimeUpdate:P.timeUpdate,topTouchCancel:P.touchCancel,topTouchEnd:P.touchEnd,topTouchMove:P.touchMove,topTouchStart:P.touchStart,topVolumeChange:P.volumeChange,topWaiting:P.waiting,topWheel:P.wheel};for(var E in T)T[E].dependencies=[E];var x=b({onClick:null}),C={},w={eventTypes:P,extractEvents:function(e,t,n,r,o){var i=T[e];if(!i)return null;var g;switch(e){case _.topAbort:case _.topCanPlay:case _.topCanPlayThrough:case _.topDurationChange:case _.topEmptied:case _.topEncrypted:case _.topEnded:case _.topError:case _.topInput:case _.topLoad:case _.topLoadedData:case _.topLoadedMetadata:case _.topLoadStart:case _.topPause:case _.topPlay:case _.topPlaying:case _.topProgress:case _.topRateChange:case _.topReset:case _.topSeeked:case _.topSeeking:case _.topStalled:case _.topSubmit:case _.topSuspend:case _.topTimeUpdate:case _.topVolumeChange:case _.topWaiting:g=l;break;case _.topKeyPress:if(0===v(r))return null;case _.topKeyDown:case _.topKeyUp:g=c;break;case _.topBlur:case _.topFocus:g=u;break;case _.topClick:if(2===r.button)return null;case _.topContextMenu:case _.topDoubleClick:case _.topMouseDown:case _.topMouseMove:case _.topMouseOut:case _.topMouseOver:case _.topMouseUp:g=p;break;case _.topDrag:case _.topDragEnd:case _.topDragEnter:case _.topDragExit:case _.topDragLeave:case _.topDragOver:case _.topDragStart:case _.topDrop:g=d;break;case _.topTouchCancel:case _.topTouchEnd:case _.topTouchMove:case _.topTouchStart:g=f;break;case _.topScroll:g=m;break;case _.topWheel:g=h;break;case _.topCopy:case _.topCut:case _.topPaste:g=s}g||y(!1);var b=g.getPooled(i,n,r,o);return a.accumulateTwoPhaseDispatches(b),b},didPutListener:function(e,t,n){if(t===x){var r=i.getNode(e);C[e]||(C[e]=o.listen(r,"click",g))}},willDeleteListener:function(e,t){t===x&&(C[e].remove(),delete C[e])}};e.exports=w},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(25),a={relatedTarget:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(25),a=n(55),i=n(180),s=n(40),l={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,l),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var o=n(55),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(31),a={dataTransfer:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(25),a=n(40),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(31),a={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";var r=n(17),o=r.injection.MUST_USE_ATTRIBUTE,a={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},i={Properties:{clipPath:o,cx:o,cy:o,d:o,dx:o,dy:o,fill:o,fillOpacity:o,fontFamily:o,fontSize:o,fx:o,fy:o,gradientTransform:o,gradientUnits:o,markerEnd:o,markerMid:o,markerStart:o,offset:o,opacity:o,patternContentUnits:o,patternUnits:o,points:o,preserveAspectRatio:o,r:o,rx:o,ry:o,spreadMethod:o,stopColor:o,stopOpacity:o,stroke:o,strokeDasharray:o,strokeLinecap:o,strokeOpacity:o,strokeWidth:o,textAnchor:o,transform:o,version:o,viewBox:o,x1:o,x2:o,x:o,xlinkActuate:o,xlinkArcrole:o,xlinkHref:o,xlinkRole:o,xlinkShow:o,xlinkTitle:o,xlinkType:o,xmlBase:o,xmlLang:o,xmlSpace:o,y1:o,y2:o,y:o},DOMAttributeNamespaces:{xlinkActuate:a.xlink,xlinkArcrole:a.xlink,xlinkHref:a.xlink,xlinkRole:a.xlink,xlinkShow:a.xlink,xlinkTitle:a.xlink,xlinkType:a.xlink,xmlBase:a.xml,xmlLang:a.xml,xmlSpace:a.xml},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space"}};e.exports=i},function(e,t,n){"use strict";function r(e){i.isValidElement(e)||m(!1);var t;try{p.injection.injectBatchingStrategy(u);var n=s.createReactRootID();return t=c.getPooled(!1),t.perform(function(){var r=f(e,null),o=r.mountComponent(n,t,d);return l.addChecksumToMarkup(o)},null)}finally{c.release(t),p.injection.injectBatchingStrategy(a)}}function o(e){i.isValidElement(e)||m(!1);var t;try{p.injection.injectBatchingStrategy(u);var n=s.createReactRootID();return t=c.getPooled(!0),t.perform(function(){return f(e,null).mountComponent(n,t,d)},null)}finally{c.release(t),p.injection.injectBatchingStrategy(a)}}var a=n(82),i=n(11),s=n(26),l=n(74),u=n(186),c=n(187),p=n(8),d=n(28),f=n(43),m=n(1);e.exports={renderToString:r,renderToStaticMarkup:o}},function(e,t,n){"use strict";var r={isBatchingUpdates:!1,batchedUpdates:function(e){}};e.exports=r},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=a.getPooled(null),this.useCreateElement=!1}var o=n(12),a=n(37),i=n(30),s=n(3),l=n(7),u={initialize:function(){this.reactMountReady.reset()},close:l},c=[u],p={getTransactionWrappers:function(){return c},getReactMountReady:function(){return this.reactMountReady},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};s(r.prototype,i.Mixin,p),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";e.exports="0.14.7"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(5),i=r(a),s=n(0),l=r(s),u=n(57),c=r(u),p=n(190),d=r(p),f=function(e,t,n,r){var o=n+" "+t+" "+r;if("email"===e){var a=t.replace("<p>","<p>"+n+" "),i=""+a+r;return l.default.createElement("div",null,l.default.createElement("div",{className:"gs-u-vh qa-visually-hidden-title",dangerouslySetInnerHTML:{__html:i}}),l.default.createElement("div",{className:"lx-stream-post-quote__body gs-u-mb qa-blockquote",dangerouslySetInnerHTML:{__html:t},"aria-hidden":"true"}))}return l.default.createElement("div",null,l.default.createElement("span",{className:"gs-u-vh qa-visually-hidden-title"},o),l.default.createElement("div",{className:"lx-stream-post-quote__body gs-u-mb qa-blockquote","aria-hidden":"true"},l.default.createElement("p",{dangerouslySetInnerHTML:{__html:t}})))},m=function(e){var t=e.element.children,n=e.element.name,r=(0,d.default)(n),a=c.default.findFirst(t,r.textLocator),s=e.renderChildrenToStaticMarkup(a),u=c.default.findText(t,r.sourceLocator),p=c.default.findFirst(t,r.sourceLocator),m=(0,i.default)(["lx-stream-post-quote","lx-stream-post-quote--"+r.className,"gs-u-mb-alt","gs-u-mr-alt+","gs-u-ml-alt+","gs-u-mr-alt++@m","gs-u-ml-alt++@m"]),h=(0,i.default)(["gs-u-mr","lx-stream-post-quote__icon","lx-stream-post-quote__icon--"+r.icon,"gel-icon","gel-icon-"+r.gelIconClass]),g=void 0,v=void 0;p&&p.attributes&&(g=c.default.findFirst(p.attributes,"title").value)&&(v=l.default.createElement("span",{className:"lx-stream-post-quote__cite-profession qa-blockquote-source-profession"},g));var y=void 0!==g?g:"",b=e.getTranslationFor("from"),_="string"==typeof u?b+" "+u+" "+y:"",P=e.getTranslationFor(r.hiddenTitleText)+":";return l.default.createElement("blockquote",o({},e.attributes,{className:m}),f(n,s,P,_),l.default.createElement("footer",{className:"lx-stream-post-quote__cite gel-brevier gel-brevier-bold","aria-hidden":"true"},l.default.createElement("cite",{className:"lx-stream-post-quote__cite-name qa-blockquote-source"},u),v),l.default.createElement("div",{className:h},r.iconSvg))};m.displayName="Blockquote",m.propTypes={attributes:l.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:l.default.PropTypes.func.isRequired,element:l.default.PropTypes.object.isRequired},t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a={sms:{hiddenTitleText:"sms_message",gelIconClass:"sms",icon:"mobile",className:"sms",textLocator:"smsText",sourceLocator:"smsSource",iconSvg:o.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M22 0v2H6v30h20V0h-4zm-9 28h-3v-2h3v2zm0-4h-3v-2h3v2zm0-4h-3v-2h3v2zm5 8h-4v-2h4v2zm0-4h-4v-2h4v2zm0-4h-4v-2h4v2zm4 8h-3v-2h3v2zm0-4h-3v-2h3v2zm0-4h-3v-2h3v2zm0-5H10V6h12v9z"}))},quote:{hiddenTitleText:"quote_message",gelIconClass:"quote",icon:"quote",className:"default",textLocator:"quoteText",sourceLocator:"quoteSource",iconSvg:o.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M0 17v15h15V17H7c.2-5.9 2.4-8.8 8-9.9V0C6.7 1.2.2 8.3 0 17zM32 7.1V0c-8.3 1.2-14.8 8.3-15 17v15h15V17h-8c.2-5.9 2.4-8.8 8-9.9z"}))},email:{hiddenTitleText:"email_message",gelIconClass:"email",icon:"email",className:"email",textLocator:"emailText",sourceLocator:"emailSource",iconSvg:o.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M16 19.4l16-15V3H0v26h32V8l-4 4v13H4V8.2l12 11.2zm0-2.8L5.8 7h20.4L16 16.6z"}))}},i=function(e){return a[e]||a.quote};t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return a.default.createElement("strong",r({},e.attributes,{dangerouslySetInnerHTML:{__html:t}}))};i.displayName="Bold",i.propTypes={attributes:a.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:a.default.PropTypes.func.isRequired,element:a.default.PropTypes.object.isRequired},t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return a.default.createElement("em",r({},e.attributes,{dangerouslySetInnerHTML:{__html:t}}))};i.displayName="Italic",i.propTypes={attributes:a.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:a.default.PropTypes.func.isRequired,element:a.default.PropTypes.object.isRequired},t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=r(a),s=n(36),l=r(s),u=n(194),c=r(u),p=n(57),d=r(p),f=function(e){return e.indexOf("bbc.co")>-1||e.indexOf("bbc.in")>-1},m=function(e){var t=e.element.children,n=d.default.findText(t,"altText"),r=d.default.findFirst(t,"url"),a=d.default.findFirst(r.attributes,"href").value,s={href:a,alt:n},u=d.default.findText(t,"caption");if(!f(a)){var p=i.default.createElement(c.default,null);u+=l.default.renderToStaticMarkup(p)}return i.default.createElement("a",o({},s,{dangerouslySetInnerHTML:{__html:u}}))};m.displayName="Link",m.propTypes={element:i.default.PropTypes.object.isRequired},t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement("span",{className:"lx-stream-post-body__external-link gel-icon gel-icon-external-link"},o.default.createElement("svg",{viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0z"})))};a.displayName="ExternalLink",t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){return o.default.createElement("ol",{dangerouslySetInnerHTML:{__html:e}})},i=function(e){return o.default.createElement("ul",{dangerouslySetInnerHTML:{__html:e}})},s=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return"ordered"===e.attributes.type?a(t):i(t)};s.displayName="List",s.propTypes={attributes:o.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:o.default.PropTypes.func.isRequired,element:o.default.PropTypes.object.isRequired},t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return o.default.createElement("li",{dangerouslySetInnerHTML:{__html:t}})};a.displayName="ListItem",a.propTypes={renderChildrenToStaticMarkup:o.default.PropTypes.func.isRequired,element:o.default.PropTypes.object.isRequired},t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return a.default.createElement("p",r({},e.attributes,{dangerouslySetInnerHTML:{__html:t}}))};i.displayName="Paragraph",i.propTypes={attributes:a.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:a.default.PropTypes.func.isRequired,element:a.default.PropTypes.object.isRequired},t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return t&&t.length&&"function"==typeof e.postBodyHasText&&e.postBodyHasText(),a.default.createElement("span",r({},e.attributes,{dangerouslySetInnerHTML:{__html:t}}))};i.displayName="Span",i.propTypes={attributes:a.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:a.default.PropTypes.func.isRequired,element:a.default.PropTypes.object.isRequired},t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement("noscript",null)};a.displayName="Noop",t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(59),s=r(i),l=n(5),u=r(l),c=function(e,t){return e.copyrightHolder?a.default.createElement("div",{className:"lx-media-asset__copyright gel-minion"},a.default.createElement("span",{"aria-hidden":"true"},e.copyrightHolder),a.default.createElement("span",{className:"gs-u-vh"},t.getTranslationFor("image_copyrightHolder")+": "+e.copyrightHolder)):a.default.createElement("noscript",null)};c.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},t.default=a.default.createClass({displayName:"ResponsiveImage",render:function(){var e=s.default.transitiveThenUpdate("bbc-morph-responsive-image-srcset",this);if(!e)return a.default.createElement("noscript",null);var t=this.props.element,n={src:t.imageChefHref,alt:t.altText,delayed:!0,chefSizes:[240,320,400,480,512,624]},r=(0,u.default)("lx-stream-post-body__media-asset","lx-media-asset","lx-media-asset--image","lx-media-asset--"+t.orientation,"gs-u-mb+"),o=a.default.createElement("div",{className:"lx-media-asset__body"},a.default.createElement("div",{className:"lx-media-asset__image gs-o-responsive-image js-responsive-image qa-responsive-image",style:{paddingBottom:t.ratio+"%"}},a.default.createElement(e,n)),c(t,this.props));return t.caption?a.default.createElement("figure",{className:r},o,a.default.createElement("figcaption",{className:"lx-media-asset__caption gel-brevier"},a.default.createElement("span",{"aria-hidden":"true"},t.caption),a.default.createElement("span",{className:"gs-u-vh"},this.props.getTranslationFor("image_caption")+": "+t.caption))):a.default.createElement("div",{className:r},o)}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(93),s=r(i),l=function(e){var t={ltsConfig:e.ltsConfig,media:e.element,getTranslationFor:e.getTranslationFor,env:e.env,assetUri:e.assetUri,isApp:e.isApp};return a.default.createElement("div",{className:"gs-u-mb+"},a.default.createElement(s.default,t))};l.displayName="LXSmpPostComponent",l.propTypes={element:a.default.PropTypes.object.isRequired,ltsConfig:a.default.PropTypes.object.isRequired,getTranslationFor:a.default.PropTypes.func.isRequired,assetUri:a.default.PropTypes.string.isRequired,env:a.default.PropTypes.string,isApp:a.default.PropTypes.boolean},l.defaultProps={env:"live",isApp:"false"},t.default=l,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-image-chef-url-transformer@2.1.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-smp@9.1.1"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(61),o=function(e){e.bind("fullscreenEnter",function(){(0,r.sendToApp)("app:media:enter-fullscreen")}),e.bind("fullscreenExit",function(){(0,r.sendToApp)("app:media:exit-fullscreen")})};t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=void 0;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(207),a=r(o),i=n(208),s=r(i),l=function(){return"undefined"!=typeof window&&window.bbcdotcom&&window.bbcdotcom.config&&window.bbcdotcom.config.isAdsEnabled&&window.bbcdotcom.config.isAdsEnabled()},u=function(){return"undefined"!=typeof window&&window.bbcdotcom&&window.bbcdotcom.config&&window.bbcdotcom.config.isAnalyticsEnabled&&window.bbcdotcom.config.isAnalyticsEnabled()},c=function(e){u()&&s.default.load().then(function(t){t.addEventListeners(e)}),l()&&a.default.load().then(function(t){return t&&t.addSmpPlugin(e.settings().domid,e),null})};t.default={dotComAdsEnabled:l,dotComAnalyticsEnabled:u,loadDotComAnalyticsAndAdsPluginIfRequired:c},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-gnl-smp-adverts@1.1.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-gnl-smp-analytics@1.1.0"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(210),s=n(57),l=r(s),u=n(20),c=n(58),p=r(c),d=n(211),f=r(d),m=n(212),h=r(m),g=n(218),v=r(g),y=function(e){return l.default.findText(e.children,"href")},b=function(e){return l.default.findText(e.children,"type")},_=function(){return(0,i.getCookiePolicy)()||(0,u.devModeEnabled)()},P=function(e){var t={};t.heading=e.split("?")[0]+"?";var n=e.split("? ")[1].split(/[[]]{1,2}/);t.cookiePolicyLink=n[1],t.privacyPolicyLink=n[3],t.content={partOne:n[0].trim(),partTwo:n[2].trim(),partThree:n[4].trim()};var r=t.content.partOne.split(".");return t.content.partOne={beforeNewLine:r[0].trim()+". "+r[1].trim()+". ",afterNewLine:""+r[2].trim()},t},T=a.default.createClass({displayName:"Embed",getInitialState:function(){return{onClient:!1,userHasConsented:!1}},componentDidMount:function(){var e=this;(0,p.default)(function(){e.setState({onClient:!0})})},render:function(){var e=this,t=this.props.ltsConfig.capabilities&&this.props.ltsConfig.capabilities.oembed&&this.props.ltsConfig.capabilities.oembed.enabled,n=this.props.element,r=this.props.getTranslationFor,o=y(n),i=b(n),s=a.default.createElement(f.default,{text:r("report"),accessibilityText:""+r("report_social_embed_complaint")});if(t&&this.state.onClient&&_()){if(this.state.userHasConsented||!this.props.socialEmbedConsentStreamV4Toggle.body){var l=r("social_embed_accessibility_context")+" "+i;return a.default.createElement("div",{className:"lx-stream-embed gs-u-clearfix"},a.default.createElement("h4",{className:"qa-accessibility-context gs-u-vh"},l),a.default.createElement(h.default,{url:o,title:i}),s)}var u=i[0].toLowerCase()+i.slice(1),c=P(r("social_embed_consent_"+u));return a.default.createElement("div",{className:"social-media-consent-message"},a.default.createElement("h2",{className:"social-media-consent-text-heading"},c.heading),a.default.createElement("span",{className:"social-media-consent-text-body"},c.content.partOne.beforeNewLine,a.default.createElement("p",{className:"social-media-consent-text-body-after-new-line"},c.content.partOne.afterNewLine," ",a.default.createElement("a",{className:"consent-cookie-policy-link",href:c.cookiePolicyLink},c.cookiePolicyLink)," ",c.content.partTwo," ",a.default.createElement("a",{className:"consent-privacy-policy-link",href:c.privacyPolicyLink},c.privacyPolicyLink)," ",c.content.partThree)),a.default.createElement("button",{className:"social-media-consent-message-button",onClick:function(){e.setState({userHasConsented:!0})}},r("accept_and_continue")))}if(t&&this.state.onClient&&!_())return a.default.createElement("div",{className:"lx-stream-embed gs-u-clearfix"},a.default.createElement(v.default,{getTranslationFor:r,url:o,brandingTool:this.props.brandingTool}),s);var p=r("view_more_on")+" "+i;return a.default.createElement("div",{className:"lx-stream-post-body lx-stream-post-body--embed gs-u-clearfix"},a.default.createElement("a",{className:"lx-stream__cta gel-long-primer-bold",href:o},a.default.createElement("span",{"aria-hidden":"true",className:"qa-cta-text gs-o-bullet"},a.default.createElement("span",{className:"gs-o-bullet__icon gel-icon lx-stream__cta-icon--embed"},a.default.createElement("svg",{viewBox:"0 0 32 32"},a.default.createElement("path",{d:"M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0"}))),a.default.createElement("span",{className:"gs-o-bullet__text gs-u-pl"},a.default.createElement("span",null,r("view_more_on")+" "),a.default.createElement("span",{className:"lx-stream__cta--embed-type"},i))),a.default.createElement("span",{className:"gs-u-vh qa-cta-accessibility-text"},p)))}});t.default=T,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-cookie-config@3.0.1"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){return o.default.createElement("a",{className:"lx-stream-embed__report-button gel-long-primer gs-u-mt",href:"/complaints/complain-online"},o.default.createElement("span",{"aria-hidden":"true",className:"qa-embed-report-button"},e.text),o.default.createElement("span",{className:"gs-u-vh qa-report-accessibility"},e.accessibilityText))};a.propTypes={text:o.default.PropTypes.string.isRequired,accessibilityText:o.default.PropTypes.string.isRequired},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(0),c=r(u),p=n(213),d=r(p),f=n(217),m=r(f),h=n(94),g=n(20),v=function(e){return e.replace(/^s*|s*$/g,"")},y=function(e){var t=Object.keys(d.default).map(function(t){var n=d.default[t],r=v(e.url).match(n.regex);return l({},n,{matches:r})}).filter(function(e){return e.matches&&e.matches.length>0});return!!(t&&t.length>0)&&t[0]},b=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.url!==e.url||this.props.title!==e.title}},{key:"render",value:function(){var e=this.props.title,t=v(this.props.url),n=y(this.props),r=n.urlTemplate;if(n){(0,g.profileStart)("embedRender:"+t);var o=n.component,a={matches:n.matches,title:e,url:t,urlTemplate:r};return c.default.createElement(o,{title:e,url:n.transform(a),cssClasses:n.cssClasses,componentDidMount:n.componentDidMount})}return c.default.createElement(m.default,this.props)}}]),t}(c.default.Component);b.displayName="LazyEmbed",b.propTypes={title:c.default.PropTypes.string.isRequired,url:c.default.PropTypes.string.isRequired,isVisible:c.default.PropTypes.bool.isRequired},t.default=(0,h.IntersectComponent)(b),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(214),a=r(o),i=n(215),s=r(i),l=n(216),u=r(l),c=n(20),p=function(e){return e.url},d=function(e){return e.urlTemplate.replace("{identifier}",e.matches[1])},f=function(e){return e.urlTemplate.replace("{identifier}",encodeURIComponent(e.matches[1]))};t.default={youtube:{regex:/http(?:s)?://(?:www.)?youtu(?:be.com|.be)/(?:watch)?(?:/?)?(?:.*v=)?(.[^&#]*)/i,transform:d,component:s.default,urlTemplate:"https://www.youtube.com/embed/{identifier}",componentDidMount:function(e){(0,c.profileEnd)("embedRender:"+e.url)}},twitter:{regex:/^http.+twitter.com/.*/status/(.*)/i,transform:p,component:a.default,cssClasses:"twitter-tweet",componentDidMount:function(e,t){requirejs(["//platform.twitter.com/widgets.js"],function(){twttr.widgets.load(t),(0,c.profileEnd)("embedRender:"+e.url)})}},instagram:{regex:/^http.+instagr(?:.am|am.com)/i,transform:p,component:a.default,cssClasses:"instagram-media instagram-iframe-container",componentDidMount:function(e,t){requirejs(["//platform.instagram.com/en_GB/embeds.js"],function(){instgrm.Embeds.process(t),(0,c.profileEnd)("embedRender:"+e.url)})}},soundcloud:{regex:/(^http.+soundcloud.com(.*))/i,transform:f,component:s.default,componentDidMount:function(e){(0,c.profileEnd)("embedRender:"+e.url)},urlTemplate:"https://w.soundcloud.com/player/?visual=true&url={identifier}&show_artwork=true"},facebookVideo:{regex:/(http.+www.facebook.com/video.php.*|http.+www.facebook.com/.*/videos/.*)/i,transform:p,component:u.default,componentDidMount:function(e,t){requirejs(["//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.5"],function(){window.FB.XFBML.parse(t),(0,c.profileEnd)("embedRender:"+e.url)})}},facebookPost:{regex:/(http.+www.facebook.com/.*/(posts|activity|photos)/.*|http.+www.facebook.com/(media/set|questions|notes|photos|permalink.php).*)/i,transform:p,component:u.default,componentDidMount:function(e,t){requirejs(["//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.5"],function(){window.FB.XFBML.parse(t),(0,c.profileEnd)("embedRender:"+e.url)})}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(5),p=r(c),d=n(21),f=r(d),m=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"componentDidMount",value:function(){null!==this.props.componentDidMount&&this.props.componentDidMount(this.props,f.default.findDOMNode(this))}},{key:"render",value:function(){var e={};return this.props.cssClasses&&(e.className=(0,p.default)(this.props.cssClasses)),e["data-instgrm-captioned"]=!0,e.scrolling="no",u.default.createElement("div",{className:"lx-social-embed"},u.default.createElement("blockquote",e,u.default.createElement("a",{href:this.props.url},this.props.title)))}}]),t}(u.default.Component);m.propTypes={title:u.default.PropTypes.string.isRequired,url:u.default.PropTypes.string.isRequired,cssClasses:u.default.PropTypes.string,componentDidMount:u.default.PropTypes.func},m.defaultProps={cssClasses:"",componentDidMount:null},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(21),p=r(c),d=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"componentDidMount",value:function(){null!==this.props.componentDidMount&&this.props.componentDidMount(this.props,p.default.findDOMNode(this))}},{key:"render",value:function(){return u.default.createElement("div",{className:"lx-social-embed"},u.default.createElement("iframe",{title:this.props.title,src:this.props.url,width:"100%",height:"400",frameBorder:"0"}))}}]),t}(u.default.Component);d.propTypes={title:u.default.PropTypes.string.isRequired,url:u.default.PropTypes.string.isRequired,componentDidMount:u.default.PropTypes.func},d.defaultProps={componentDidMount:null},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(21),p=r(c),d=n(58),f=r(d),m=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={width:0},n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this;(0,f.default)(function(){var t=p.default.findDOMNode(e),n=t.clientWidth;e.setState({width:n},function(){null!==e.props.componentDidMount&&e.props.componentDidMount(e.props,t)})})}},{key:"render",value:function(){return u.default.createElement("div",{className:"lx-social-embed lx-social-embed--facebook"},u.default.createElement("div",{className:"fb-post","data-href":this.props.url,"data-width":this.state.width},u.default.createElement("blockquote",{className:"fb-xfbml-parse-ignore"})))}}]),t}(u.default.Component);m.propTypes={title:u.default.PropTypes.string.isRequired,url:u.default.PropTypes.string.isRequired,cssClasses:u.default.PropTypes.string,componentDidMount:u.default.PropTypes.func},m.defaultProps={cssClasses:"",componentDidMount:null},t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){return o.default.createElement("a",{href:e.url},e.title)};a.propTypes={title:o.default.PropTypes.string.isRequired,url:o.default.PropTypes.string.isRequired},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(36),s=r(i),l=function(e){var t=["lx-stream-embed__message","gel-long-primer","gs-u-p+"];"true"===e.brandingTool&&t.push("br-box-page");var n=s.default.renderToStaticMarkup(a.default.createElement("a",{href:"/privacy/cookies/managing/cookie-settings.html"},e.getTranslationFor("cookie_settings"))),r=s.default.renderToStaticMarkup(a.default.createElement("a",{href:e.url},e.url)),o="You are unable to view this content because you have disabled third party cookies. If you would like to view this content, you will need to amend your "+n+". You can change your settings at any time.",i=e.getTranslationFor("view_content")+": "+r;return a.default.createElement("div",{className:t.join(" ")},a.default.createElement("p",{className:"gs-u-mb+ qa-embed-cookie-message",dangerouslySetInnerHTML:{__html:o}}),a.default.createElement("p",{className:"gs-u-mb+ qa-view-content-message",dangerouslySetInnerHTML:{__html:i}}))};l.propTypes={url:a.default.PropTypes.string.isRequired,brandingTool:a.default.PropTypes.string.isRequired,getTranslationFor:a.default.PropTypes.func.isRequired},t.default=l,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-lx-istats@1.1.4"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(35),s=r(i),l=n(22),u=r(l),c=n(5),p=r(c),d=n(19),f=n(18),m=n(98),h=r(m),g=function(e){return e.indexImage&&e.indexImage.ichefHref},v=function(e){return function(){var t={sty:"story",csp:"story"},n="related-"+t[e.type.toLowerCase()],r=(0,f.getIstatsData)(e,n);(0,d.configureAndSendIstats)("click",n,r)}},y=function(e){if(e.contributor){var t=e.contributor,n="string"==typeof t.link&&t.link.length>0?t.link:"",r={role:t.role,name:t.name,link:n};return a.default.createElement(h.default,{contributor:r,brandingTool:e.brandingTool,baseUrl:e.baseUrl})}return a.default.createElement("noscript",null)},b=function(e){return a.default.createElement("div",{className:"gel-3/8@l"},a.default.createElement("a",{href:e.relatedUrl,className:"qa-story-image-link",onClick:e.postIstats()},a.default.createElement("div",{className:"lx-stream-related-story--index-image-wrapper qa-story-image-wrapper"},a.default.createElement(s.default,{className:"lx-stream-related-story--index-image qa-story-image",src:e.indexImage.ichefHref,alt:e.indexImage.altText}))))},_=function(e){var t="cta_text";"LIV"===e.type&&(e.liveState.isLive?t="live_cta":e.liveState.isCatchUp&&(t="catch_up_cta"));var n=(0,p.default)("gs-o-button","lx-stream-related-story--cta-button","gel-long-primer-bold","qa-story-text-cta",{"br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg--hover br-page-bg-ontext--hover":"true"===e.brandingTool}),r=(0,p.default)("lx-stream-related-story--cta-text",{"br-page-bg-ontext br-page-bg-ontext--hover":"true"===e.brandingTool}),o=(0,p.default)({"br-page-bg-ontext br-page-bg-ontext--hover":"true"===e.brandingTool});return a.default.createElement("a",{href:e.relatedUrl,className:"qa-story-cta-link",onClick:e.postIstats()},a.default.createElement("span",{className:n},a.default.createElement("span",{className:r},e.getTranslationFor(t)),a.default.createElement(u.default,{iconName:"next",additionalClassNames:o})))},P=function(e){return a.default.createElement("div",{className:"lx-stream-related-story"},g(e)?a.default.createElement(b,{relatedUrl:e.relatedUrl,indexImage:e.indexImage,postIstats:function(){return v(e)}}):null,a.default.createElement("div",{className:g(e)?"gel-5/8@l":""},"STY"!==e.type?y(e):null,e.summary?a.default.createElement("p",{className:"lx-stream-related-story--summary qa-story-summary"},e.summary):null,a.default.createElement(_,{getTranslationFor:e.getTranslationFor,liveState:e.liveState,relatedUrl:e.relatedUrl,type:e.type,postIstats:function(){return v(e)},brandingTool:e.brandingTool})))};P.displayName="StoryType",y.propTypes={contributor:o.PropTypes.shape({name:o.PropTypes.string,role:o.PropTypes.string,link:o.PropTypes.string}),brandingTool:o.PropTypes.string.isRequired,baseUrl:o.PropTypes.string},y.defaultProps={contributor:void 0,baseUrl:void 0},P.propTypes={summary:o.PropTypes.string,indexImage:o.PropTypes.shape({ichefHref:o.PropTypes.string.isRequired,altText:o.PropTypes.string}),relatedUrl:o.PropTypes.string.isRequired},P.defaultProps={indexImage:{ichefHref:""},summary:void 0},b.propTypes={indexImage:o.PropTypes.shape({ichefHref:o.PropTypes.string.isRequired,altText:o.PropTypes.string}).isRequired,relatedUrl:o.PropTypes.string.isRequired,postIstats:o.PropTypes.func.isRequired},_.propTypes={type:o.PropTypes.string.isRequired,liveState:o.PropTypes.shape({isCatchUp:o.PropTypes.bool.isRequired,isComingUp:o.PropTypes.bool.isRequired,isLive:o.PropTypes.bool.isRequired}),postIstats:o.PropTypes.func.isRequired,brandingTool:o.PropTypes.string.isRequired},_.defaultProps={liveState:{isCatchUp:!1,isComingUp:!1,isLive:!0},brandingTool:"false"},t.default=P,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),i=n(35),s=r(i),l=n(22),u=r(l),c=n(5),p=r(c),d=n(19),f=n(18),m=function(e){return function(){var t=(0,f.getIstatsData)(e,"related-gallery");(0,d.configureAndSendIstats)("click","related-gallery",t)}},h=function(e){return e.summary&&e.summary.length>0?a.default.createElement("p",{className:"lx-media-asset-summary qa-photogallery-summary gel-pica"},e.summary):a.default.createElement("noscript",null)},g=function(e){return e.indexImage.copyrightHolder?a.default.createElement("div",{className:"lx-media-asset__copyright gel-minion qa-photogallery-image-copyright"},a.default.createElement("span",{"aria-hidden":"true"},e.indexImage.copyrightHolder)):a.default.createElement("noscript",null)},v=function(e){if(e.indexImage){var t=e.indexImage.ichefHref,n=a.default.createElement(s.default,{className:"qa-responsive-image",src:t,delayed:!0});return a.default.createElement("div",{className:"lx-media-asset__image gs-o-responsive-image gs-o-responsive-image--16by9 qa-photogallery-image"},n,g(e))}return a.default.createElement("div",{className:"lx-media-asset__image gs-o-responsive-image gs-o-responsive-image--16by9 qa-photogallery-image"},a.default.createElement(s.default,{className:"qa-responsive-image"}))},y=function(e){var t=e.photogallery.galleryImageCount;return t+" "+(1===t?e.getTranslationFor("photo"):e.getTranslationFor("photos"))},b=function(e,t){return a.default.createElement("div",{className:"lx-stream-asset__gallery-cta-text qa-photogallery-count"},a.default.createElement("span",{"aria-hidden":"true",id:t},y(e)))},_=function(e){var t="count_"+e.assetId,n=(0,p.default)("gs-o-media-island__icon lx-stream-asset__gallery-cta gel-long-primer-bold",{"br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg--hover br-page-bg-ontext--hover":"true"===e.brandingTool});return a.default.createElement("div",{className:"gel-body-copy lx-stream-post-body"},h(e),a.default.createElement("div",{className:"lx-stream-asset lx-stream-asset--pgl"},a.default.createElement("a",{className:"lx-stream-asset__link qa-photogallery-link",href:e.relatedUrl,"aria-labelledby":""+e.titleId,"aria-describedby":t,onClick:m(e)},a.default.createElement("div",{className:"gs-o-media-island lx-media-asset__island"},v(e),a.default.createElement("div",{className:n},a.default.createElement("span",{className:"lx-stream-asset__gallery-cta-icon gel-icon"},a.default.createElement(u.default,{iconName:"image"})),b(e,t))))))};_.propTypes={relatedUrl:a.default.PropTypes.string.isRequired,assetId:a.default.PropTypes.string.isRequired,titleId:a.default.PropTypes.string.isRequired,summary:a.default.PropTypes.string,brandingTool:a.default.PropTypes.string},y.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},v.propTypes={indexImage:a.default.PropTypes.shape({copyrightHolder:a.default.PropTypes.string,ichefHref:a.default.PropTypes.string.isRequired,altText:a.default.PropTypes.string})},g.propTypes={indexImage:a.default.PropTypes.shape({copyrightHolder:a.default.PropTypes.string}),getTranslationFor:a.default.PropTypes.func.isRequired},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},h.propTypes={summary:a.default.PropTypes.shape({length:a.default.PropTypes.string.isRequired}).isRequired},g.defaultProps={indexImage:void 0},v.defaultProps={indexImage:void 0},_.defaultProps={summary:void 0,brandingTool:"false",titleId:""},_.displayName="PhotoGalleryType",t.default=_,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=r(a),s=n(93),l=r(s),u=function(e){return{ltsConfig:e.ltsConfig,getTranslationFor:e.getTranslationFor,media:o({},e.media,{isPlayable:!0}),assetUri:e.assetUri}},c=function(e){return e.media&&e.media.synopses&&e.media.synopses.medium?i.default.createElement("p",{className:"lx-media-asset-summary qa-map-summary gel-pica"},e.media.synopses.medium):i.default.createElement("noscript",null)},p=function(e){var t=u(e);return i.default.createElement("div",null,i.default.createElement("div",{className:"gs-u-mb+"},i.default.createElement(l.default,t)),c(t))};p.displayName="MapType",t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return t in e&&Array.isArray(e[t])?e[t].join(""):""}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){return r(e,"head")},s=function(e){return r(e,"bodyLast")},l=function(e){var t=i(e)+e.bodyInline+s(e);return a.default.createElement("div",{key:"k"+e.assetUri,dangerouslySetInnerHTML:{__html:t},className:"lx-stream-post-envelope"})};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.LiveShareButton=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(5),p=r(c),d=n(225),f=n(19),m=n(18),h=/(http)(s)?(://)(www.)?((int.)|(test.))?(bbc.)((com)|(co.uk))(/[a-z]+)(/beta)?(/)((live/[a-z-0-9]+)|([a-z-0-9]+)/live)(/(?!page)[a-z0-9]+)?/g,g=/((http://)|(https://))(localhost:)[1-9]w+(((/page/bbc-morph-)[a-zA-Z-0-9]+(/)[a-zA-Z1-9]w+(/)[a-z]w+(%2F)[a-z]w+(%2F)[a-z]w+(%2F)[0-9]+)|(/)[a-z]+(/)[a-z]+(/)[a-z]+(/)[0-9]+)/g,v=t.LiveShareButton=function(e){var t=e.translations,n=e.buttonProps,r=e.isOpen,o=e.assetId,a=t.shareText,i=t.viewMoreShare,s=(0,p.default)("lx-share-tools__cta","gel-long-primer",{"ev-button":"true"===e.brandingTool,"lx-share-tools__cta-share-button":"true"!==e.brandingTool});return u.default.createElement("button",{className:s,onClick:n.onButtonClick,"aria-controls":"share-popup-"+o,"aria-expanded":r?"true":"false"},u.default.createElement("span",{className:"lx-share-tools__cta-icon qa-share-tools__cta-icon gel-icon"},u.default.createElement("svg",{viewBox:"0 0 32 32"},u.default.createElement("path",{d:"M6.8 22.2c1.6 0 3-.7 4-1.8l9 4.8c-.1.4-.2.8-.2 1.3 0 3 2.5 5.5 5.5 5.5s5.5-2.4 5.5-5.5-2.5-5.5-5.5-5.5c-1.6 0-3 .7-4 1.8l-9.5-5.2-.1-2.8 9.7-5.5c1 1 2.3 1.5 3.8 1.5 3 0 5.5-2.5 5.5-5.5S28.2 0 25.2 0s-5.5 2.4-5.5 5.5c0 .6.1 1.1.2 1.6l-9.3 5.7c-1-.9-2.3-1.5-3.8-1.5-3 0-5.5 2.4-5.5 5.5.1 2.9 2.5 5.4 5.5 5.4z "}))),u.default.createElement("span",{className:"lx-share-tools__cta-text qa-share-tools__cta-text","aria-hidden":"true"},a),u.default.createElement("span",{className:"gs-u-vh qa-accessible-share"},i))};v.propTypes={translations:u.default.PropTypes.object.isRequired,buttonProps:u.default.PropTypes.object.isRequired,brandingTool:u.default.PropTypes.string.isRequired,isOpen:u.default.PropTypes.bool.isRequired,assetId:u.default.PropTypes.string.isRequired};var y=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={shareUrl:"",pageTitle:"",isOpen:!1},n.buildLinkName=n.buildLinkName.bind(n),n.toggleSharePanel=n.toggleSharePanel.bind(n),n.twitterShareUrl=n.twitterShareUrl.bind(n),n.facebookShareUrl=n.facebookShareUrl.bind(n),n.sendIStats=n.sendIStats.bind(n),n.getShareImage=n.getShareImage.bind(n),n.getPostShareImage=n.getPostShareImage.bind(n),n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){this.setInitialState()}},{key:"getFallbackLogo",value:function(){return this.state.shareUrl.indexOf("https://www.bbc.co.uk/sport")>-1?"https://ichef.bbci.co.uk/images/ic/raw/p05d1g60.png":this.state.shareUrl.indexOf("/news")>-1?"http://ichef.bbci.co.uk/images/ic/raw/p05d1g0s.png":"https://ichef.bbci.co.uk/images/ic/raw/p05d1fth.png"}},{key:"getTwitterHandle",value:function(){return this.state.shareUrl.indexOf("https://www.bbc.co.uk/sport")>-1?"BBCSport":this.state.shareUrl.indexOf("/news")>-1?"BBCNews":"BBC"}},{key:"getPostShareImage",value:function(){var e=this.props.body.filter(function(e){var t=e.name;return"image"===t||"video"===t})[0];return e&&(e.imageChefHref||e.holdingImageUrl).replace("{width}","320")}},{key:"getShareImage",value:function(){var e=this.props,t=e.type,n=e.body,r=e.media;return"POST"===t&&n.length>0?this.getPostShareImage()||this.getFallbackLogo():"CLIP"!==t&&"MAP"!==t||!r?this.getFallbackLogo():r.holdingImageUrl||this.getFallbackLogo()}},{key:"buildLinkName",value:function(){return encodeURIComponent(this.props.assetId+"&"+this.props.title+"&"+this.props.lastPublished).replace(/'/g,"%27").replace(/"/g,"%22")}},{key:"sendIStats",value:function(e){var t=this;return function(){var n=(0,m.getIstatsData)(t.props);(0,f.configureAndSendIstats)(e,"share",n)}}},{key:"toggleSharePanel",value:function(){var e=this.props,t=e.assetId,n=e.activeDropdown,r=e.setActiveDropdown,o=n===t?"":t;return this.sendIStats("share_panel")(),this.setState({isOpen:!!o}),r(o)}},{key:"twitterShareUrl",value:function(){return this.state.shareUrl+"?ns_mchannel=social&ns_source=twitter&ns_campaign=bbc_live&ns_linkname="+this.buildLinkName(this.props)+"&ns_fee=0&pinned_post_locator="+this.props.locator+"&pinned_post_asset_id="+this.props.assetId+"&pinned_post_type=share"}},{key:"facebookShareUrl",value:function(){return this.state.shareUrl+"?ns_mchannel=social&ns_source=facebook&ns_campaign=bbc_live&ns_linkname="+this.buildLinkName(this.props)+"&ns_fee=0&pinned_post_locator="+this.props.locator+"&pinned_post_asset_id="+this.props.assetId+"&pinned_post_type=share"}},{key:"setInitialState",value:function(){var e="";if(this.props.relatedUrl)e=window.location.origin+this.props.relatedUrl;else{e=window.location.href;var t=e.match(h);if(t)e=t[0];else{var n=e.match(g);n&&(e=n[0])}}this.setState({shareUrl:e,pageTitle:document.title})}},{key:"render",value:function(){var e=this,t=this.props,n=t.activeDropdown,r=t.assetId,o=t.getTranslationFor,a=t.title,i=t.cssDirection,s=t.shareToolsTitleId,l=t.useReactionsStreamV4Toggle,c=this.state,f=c.isOpen,m=c.shareUrl,h=c.pageTitle,g=(0,p.default)({"ev-button":"true"===this.props.brandingTool},"qa-facebook-share","lx-share-tools__cta"),y=(0,p.default)({"ev-button":"true"===this.props.brandingTool},"qa-twitter-share","lx-share-tools__cta"),b=n===r&&f,_=m.indexOf("bbc.com")>-1?"https://www.bbc.com":"https://www.bbc.co.uk",P={shareText:o("share"),viewMoreShare:o("view_more_share"),shareThisPost:o("share_this_post"),copyThisLink:o("copy_this_link"),readMoreOnLinks:o("read_more_on_links"),readMoreOnLinksLabel:o("read_more_on_links_label"),shareThisPostOn:o("share_this_post_on"),closeButtonLabel:o("close_button_label"),copyShareLinkLabel:o("copy_share_link_label")},T=P.shareThisPostOn+" Facebook",E=P.shareThisPostOn+" Twitter",x=l?"alternate-up":"alternate-transformation",C=l?"right":"left";return u.default.createElement("ul",{"aria-labelledby":s,className:"lx-share-tools__items lx-share-tools__items--align-"+C+" qa-share-tools"},u.default.createElement("li",null,u.default.createElement(d.Facebook,{link:this.facebookShareUrl(),name:h,description:a,image:this.getShareImage(),classes:g,caption:_,customFacebookAriaLabel:T,clickCallback:this.sendIStats("share_facebook"),small:!0,noButtonPadding:!0,brandingTool:this.props.brandingTool})),u.default.createElement("li",null,u.default.createElement(d.Twitter,{link:this.twitterShareUrl(),description:this.props.title,viaHandle:this.getTwitterHandle(),classes:y,customTwitterAriaLabel:E,clickCallback:this.sendIStats("share_twitter"),small:!0,noButtonPadding:!0,brandingTool:this.props.brandingTool})),u.default.createElement("li",null,u.default.createElement(d.SharePanel,{shareButtonComponent:function(t){return u.default.createElement(v,{translations:P,buttonProps:t,brandingTool:e.props.brandingTool,isOpen:b,assetId:r})},accessibilityId:"share-popup-"+r,classes:"lx-share-tools__panel",headerText:P.shareThisPost,readMoreText:P.readMoreOnLinks,readMoreTextAriaLabel:P.readMoreOnLinksLabel,closeButtonLabel:P.closeButtonLabel,copyShareLinkLabel:P.copyShareLinkLabel,direction:x,cssDirection:i,clickCallback:this.toggleSharePanel,onCloseCallback:this.toggleSharePanel,isOpen:b},u.default.createElement("div",{className:"gs-c-share-tools__button share-tools__button--no-hover-effect"},u.default.createElement(d.CopyLinkBox,{theme:"dark",link:this.twitterShareUrl(),shareText:P.copyThisLink,feedbackDuration:2e3,classes:"lx-share-tools__copylink-box"})))))}}]),t}(l.Component);y.propTypes={type:l.PropTypes.string.isRequired,assetId:l.PropTypes.string.isRequired,lastPublished:l.PropTypes.string.isRequired,locator:l.PropTypes.string.isRequired,activeDropdown:l.PropTypes.string.isRequired,setActiveDropdown:l.PropTypes.func.isRequired,brandingTool:l.PropTypes.string.isRequired,getTranslationFor:l.PropTypes.func.isRequired,title:l.PropTypes.string.isRequired,cssDirection:l.PropTypes.string.isRequired,body:l.PropTypes.array.isRequired,media:l.PropTypes.object.isRequired,useReactionsStreamV4Toggle:l.PropTypes.bool.isRequired,postIndex:l.PropTypes.number.isRequired,postHasVideo:l.PropTypes.bool.isRequired,postHasImage:l.PropTypes.bool.isRequired,postHasSocial:l.PropTypes.bool.isRequired,postIsBreakingNews:l.PropTypes.bool.isRequired,mode:l.PropTypes.string.isRequired,shareToolsTitleId:l.PropTypes.string.isRequired,relatedUrl:l.PropTypes.string},y.defaultProps={relatedUrl:null,brandingTool:"false",activeDropdown:"",media:{},postHasVideo:!1,postHasImage:!1,postHasSocial:!1,postIsBreakingNews:!1},t.default=y},function(e,t){e.exports=Morph.modules["bbc-morph-share-tools@5.1.4"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e.title||e.subtitle||e.icon},o=function(e){return"POST"===e.type||"CIT"===e.type},a=function(e){return e.body&&e.body.length>0},i=function(e){return"STY"===e.type||"CSP"===e.type},s=function(e,t){return!(!e||!e.body)&&e.body.some(function(e){return e.name===t})},l=function(e){return s(e,"video")||"MAP"===e.type||"video"===e.mediaType},u=function(e){return s(e,"image")},c=function(e){return Boolean(e&&e.options&&e.options.isBreakingNews&&void 0!==e.options.isBreakingNews)},p=function(e){return Boolean(e&&e.options&&e.options.isPriorityPost&&void 0!==e.options.isPriorityPost)},d=function(e){return!!e&&["FLAG_CHEQUERED","GOLD","WICKET","TRY","GOAL"].includes(e)},f=function(e){return{BREAKING:"Breaking",GOAL:"Goal",GOLD:"Gold medal",TRY:"Try",WICKET:"Wicket",FLAG_CHEQUERED:"Chequered flag"}[e]};t.default={postHasHeading:r,isPostType:o,postIsStory:i,hasValidContent:a,postHasMediaType:s,postHasVideo:l,postHasImage:u,postIsBreakingNews:c,postIsPriority:p,isSupportedIncidentType:d,formatType:f},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(5),p=r(c),d=n(99),f=r(d),m=function(e){var t=e.postHeight;return u.default.createElement("style",null,"n @keyframes enlarge3 {n from { transform: translateY(6px); }n to {n left: 16px;n top: 100px;n width: calc(100% - 32px);n height: "+(t-116)+"px;n transform: translateY(0);n }n }nn @keyframes increaseHeight {n from { height: 68px }n to {n height: "+t+"px;n }n }n ")},h=function(){var e=window.navigator.userAgent;return-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")},g=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.animationFallback=function(){setTimeout(function(){n.completeAnimation()},4500)},n.addAnimationListener=function(){n.element.addEventListener("animationend",function(e){"increaseHeight"===e.animationName&&n.completeAnimation()},{passive:!0})},n.completeAnimation=function(){n.setState({animationComplete:!0}),null!==n.props.callback&&n.props.callback()},n.state={animationComplete:!1},n.element=null,n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){window.matchMedia("(prefers-reduced-motion: reduce)").matches||!h()?this.animationFallback():this.addAnimationListener()}},{key:"render",value:function(){var e=this,t=this.props,n=t.postHeight,r=t.displayText,o=t.useBrandingTool,a=t.isIncident,i=(0,p.default)("post-placeholder__wrapper",{"animation-fallback":!h(),"is--key-moment":r,"is--incident":a}),s=(0,p.default)("post-placeholder",{"animation-finished":this.state.animationComplete}),l=(0,p.default)("gel-pica-bold","gel-trafalgar","gs-u-mv0","post-placeholder__text",{"br-page-bg-ontext":o,"br-page-link-onbg":o});return u.default.createElement("div",{"aria-hidden":"true",className:i},u.default.createElement(m,{postHeight:n}),u.default.createElement("div",{className:"post-placeholder__inner"},u.default.createElement("div",{className:s,ref:function(t){return e.element=t}},u.default.createElement(f.default,{number:1}),u.default.createElement(f.default,{number:2}),u.default.createElement(f.default,{number:3})),r&&u.default.createElement("p",{className:l},u.default.createElement("span",{className:"post-placeholder__text__inner"},r))))}}]),t}(l.Component);g.propTypes={postHeight:l.PropTypes.number.isRequired,callback:l.PropTypes.func,useBrandingTool:l.PropTypes.bool,displayText:u.default.PropTypes.string,isIncident:l.PropTypes.bool},g.defaultProps={callback:null,displayText:null,useBrandingTool:!1,isIncident:!1},m.propTypes={postHeight:l.PropTypes.number.isRequired},t.default=g,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(5),p=r(c),d=n(22),f=r(d),m=n(99),h=r(m),g=function(e,t){var n=window.location,r=n.pathname.split("/")[1],o={container:"Live",label:"new_post_pill",type:"popup",source:r,result:n.href,metadata:{MSG:t?t.toLowerCase():"latest-post"}};e&&(o.isClick=!0),document.dispatchEvent(new CustomEvent("bbc-user-event",{detail:o}))},v=function(e,t){if(g(!0,t),!window.matchMedia("(prefers-reduced-motion: reduce)").matches){e.preventDefault();var n=document.querySelector(".lx-c-tabs"),r=document.querySelector("#lx-commentary-top"),o=document.querySelector("#lx-stream");(n||r||o).scrollIntoView({behavior:"smooth"})}},y=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={canShow:!0},n}return i(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;e.shouldShow&&(this.state.canShow||this.setState({canShow:!0}),setTimeout(function(){t.setState({canShow:!1})},1e4))}},{key:"render",value:function(){var e=this.props,t=e.shouldShow,n=e.brandingTool,r=e.isApp,o=e.type,a=o.code,i=o.displayText,s=e.isIncident;t&&!document.querySelector(".lx-c-new-post-pill.hello")&&g(!1,a);var l="true"===n,c=(0,p.default)("lx-c-new-post-pill gel-pica",{hello:t&&this.state.canShow,"is--app":r,"br-page-bg-ontext":l,"br-page-link-onbg":l,"br-page-linkhover-onbg--hover":l,"br-page-bg-ontext--hover":l,"is--key-moment gel-pica-bold gs-u-ph+":i,"is--incident":s});return u.default.createElement("a",{href:"#lx-stream",onClick:function(e){return v(e,a)},className:c,"aria-hidden":"true"},u.default.createElement("span",{className:"lx-c-new-post-pill__container"},u.default.createElement("span",{className:"lx-c-new-post-pill__content"},!i&&u.default.createElement(f.default,{iconName:"to-top",additionalClassNames:"lx-c-new-post-pill__icon"}),u.default.createElement("span",{className:"lx-c-new-post-pill__text gs-u-mv0"},i||"Latest Post")),u.default.createElement("div",{className:"lx-c-new-post-pill__dots","aria-hidden":"true"},[1,2,3].map(function(e){return u.default.createElement(h.default,{number:e,key:"pill-dot-"+e,isBranded:l})}))))}}]),t}(l.Component);y.propTypes={shouldShow:u.default.PropTypes.bool,isApp:u.default.PropTypes.bool.isRequired,brandingTool:u.default.PropTypes.string,type:u.default.PropTypes.shape({code:u.default.PropTypes.string,displayText:u.default.PropTypes.string}),isIncident:u.default.PropTypes.bool},y.defaultProps={shouldShow:!1,brandingTool:"false",type:{code:null,displayText:null},isIncident:!1},t.default=y,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return null!==e?e():null},o=function(e,t){return e.some(function(e,n){return e.assetId!==t[n].assetId})},a=function(e,t){return e.length!==t.length||o(e,t)},i=function(e,t){return!e.some(function(e){return t.assetId===e.assetId})},s=function(e){return e.some(function(e){return e.isPinned})},l=function(e,t,n){if(e.length>0&&a(e,t)&&t.length>0){var r=s(t)?t[1]:t[0];return i(e,r)}return n};t.renderComponentIfExists=r,t.hasNewPost=l,t.hasPinnedPost=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement("svg",{className:"qa-loading-icon-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},o.default.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"1.224",y1:"8.111",x2:"25.888",y2:"21.225"},o.default.createElement("stop",{offset:"0",stopColor:"#5a5a5a"}),o.default.createElement("stop",{offset:"1",stopColor:"#5a5a5a",stopOpacity:"0"})),o.default.createElement("path",{d:"M26 7l-3 1.7c.9 1.5 1.4 3.3 1.4 5.2 0 5.8-4.7 10.5-10.5 10.5-5.7 0-10.4-4.7-10.4-10.4C3.5 8.2 7.8 3.5 14 3.5V0C6.1 0 0 6.2 0 14c0 7.7 6.2 14 14 14 7.7 0 14-6.2 14-14-.1-2.6-.8-5-2-7z",fill:"url(#a)"}))},i=function(e){return o.default.createElement("div",{className:"gs-u-align-center gs-u-pv-alt+ gs-u-ph+ lx-loading-message"},o.default.createElement("span",{"aria-hidden":"true",className:"gs-u-mb gel-icon lx-loading-message__icon qa-loading-icon"},o.default.createElement(a,null)),o.default.createElement("p",{className:"gs-u-m0 gel-body-copy qa-loading-text"},e.loadingText))};i.propTypes={loadingText:o.default.PropTypes.string.isRequired},t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e;for(var r in t)t[r]&&(n=n.replace("{"+r+"}",t[r]));return n},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.getMode=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(0),p=r(c),d=n(233),f=r(d),m=n(92),h=n(234),g=r(h),v=(0,m.getOptions)(),y=function(e){return e.reduce(function(e,t){return u({},e,s({},t.name,p.default.PropTypes[t.type]))},{})},b=function(e){return e.reduce(function(e,t){return u({},e,s({},t.name,t.default))},{})},_=function(e,t){return e.reduce(function(e,n){return u({},e,s({},n.name,t[n.name]))},{})},P=function(e){return(0,g.default)(e.langTranslations.body)},T=t.getMode=function(e){return e.about?"topics":e.event&&e.discipline?"robotext":e.streamData.body.mode},E=function(e){var t=function(t){function n(){return o(this,n),a(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),l(n,[{key:"getChildContext",value:function(){var e=this.props.appCapabilities,t=u({},(0,m.getConfig)(this.props),{mode:T(this.props)});return e&&(t=u({},t,{capabilities:u({},t.capabilities,e)})),u({ltsConfig:t,getTranslationFor:P(this.props)},_(v,this.props))}},{key:"shouldComponentUpdate",value:function(e){return!(0,f.default)(e,this.props)}},{key:"render",value:function(){return p.default.createElement(e,this.props)}}]),n}(p.default.Component);return t.displayName="OptionsProvider",t.childContextTypes=u({ltsConfig:p.default.PropTypes.object,getTranslationFor:p.default.PropTypes.func},y(v)),t.propTypes=u({langTranslations:p.default.PropTypes.object},y(v)),t.defaultProps=u({langTranslations:{}},b(v)),t};t.default=E},function(e,t){e.exports=Morph.modules["bbc-morph-isequal@1.0.0"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={posted_at:"Posted at",post:"Post",clip:"Clip",story:"Story",photo_gallery:"Photo gallery",envelope:"Envelope",update:"update","date-format":"date-format",from:"from",sms_message:"SMS Message",quote_message:"Quote Message",email_message:"Email Message",breaking:"Breaking",live_cta:"Follow",catch_up_cta:"Catch up",alert_uk_text:"This content only works in the UK.",video_caption:"Video caption",video_context:"Video content",image_caption:"Image caption",image_copyrightHolder:"Copyright",report:"Report",view_content:"View content",cookie_settings:"cookie settings",view_more_on:"View more on",report_social_embed_complaint:"Report this social embed, make a complaint",social_embed_accessibility_context:"Social embed from",loading_shared:"Loading shared post",share:"Share",shared:"Shared",share_this_post:"Share this post",view_more_share:"View more share options",copy_this_link:"Copy this link",read_more_on_links:"Read more about these links.",read_more_on_links_label:"Read more about externally sharing BBC Content",share_this_post_on:"Share this post on",close_button_label:"Close share options",copy_share_link_label:"Copy share URL",no_content_message:"Oops! It looks like there is no content on this page.",return_to_content_message:"Please click here to view the most recent content.",photo:"photo",photos:"photos",in_this_gallery:"in this gallery",page:"Page",of:"of",next_page:"Navigate to the next page",last_page:"Navigate to the last page",previous_page:"Navigate to the previous page",first_page:"Navigate to the first page",social_embed_consent_twitter:"Allow Twitter content? This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy [https://help.twitter.com/en/rules-and-policies/twitter-cookies] and privacy policy [https://twitter.com/en/privacy] before accepting. To view this content choose ‘accept and continue’.",social_embed_consent_tiktok:"Allow TikTok content? This article contains content provided by TikTok. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read TikTok’s cookie policy [https://www.tiktok.com/legal/cookie-policy] and privacy policy [https://www.tiktok.com/legal/privacy-policy] before accepting. To view this content choose ‘accept and continue’.",social_embed_consent_youtube:"Allow YouTube content? This article contains content provided by Google YouTube. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Google’s cookie policy [https://policies.google.com/technologies/cookies] and privacy policy [https://policies.google.com/privacy] before accepting. To view this content choose ‘accept and continue’.",social_embed_consent_facebook:"Allow Facebook content? This article contains content provided by Facebook. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Meta's Facebook cookie policy [https://www.facebook.com/privacy/policies/cookies] and privacy policy [https://www.facebook.com/privacy/policy/] before accepting. To view this content choose ‘accept and continue’.",social_embed_consent_instagram:"Allow Instagram content? This article contains content provided by Instagram. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Meta's Instagram cookie policy [https://privacycenter.instagram.com/policies/cookies/] and privacy policy [https://privacycenter.instagram.com/policy] before accepting. To view this content choose ‘accept and continue’.",accept_and_continue:"Accept and continue"};t.default=function(e){return function(t){return e&&e[t]?e[t]:r[t]}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=n(100),i=function(e){var t={assetUri:e.assetUri,urlTemplate:e.urlTemplate,isApp:"true"===e.isApp},n=e.getTranslationFor("no_content_message"),r=e.getTranslationFor("return_to_content_message"),i=["lx-stream-no-content__message","gs-u-align-center"];return"true"===e.brandingTool&&i.push("br-box-subtle"),o.default.createElement("p",{className:i.join(" ")},o.default.createElement("span",{className:"gs-u-display-block gs-u-mb qa-no-content-message"},n),o.default.createElement("a",{href:(0,a.getPaginationUrl)(1,t),className:"lx-stream-no-content__link qa-no-content-link gel-pica-bold"},r))},s=function(e){var t=["lx-stream-no-content","gel-pica","gs-u-p+","gs-u-mt+","qa-no-content"];return"true"===e.brandingTool&&t.push("br-box-page"),o.default.createElement("div",{className:t.join(" ")},i(e))};s.propTypes={brandingTool:o.default.PropTypes.string.isRequired},t.default=s,e.exports=t.default}]); //# sourceMappingURL=bundle.js.map; }); [ad_2] Source link