Tiger Woods to line up with 11-year-old son Charlie in Orlando event

0




“+t+””+”script>”},d=function()tryn=document.domain&&new ActiveXObject(“htmlfile”)catch(t)var t,r;d=n?function(t)t.write(h(“”)),t.close();var r=t.parentWindow.Object;return t=null,r(n):((r=s(“iframe”)).style.display=”none”,c.appendChild(r),r.src=String(“javascript:”),(t=r.contentWindow.document).open(),t.write(h(“document.F=Object”)),t.close(),t.F);for(var e=u.length;e–;)delete d.prototype[u[e]];return d();a[l]=!0,t.exports=Object.create||function(t,r)var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=d(),void 0===r?e:i(e,r)},6048:function(t,r,e)var n=e(9781),o=e(3070),i=e(9670),u=e(1956);t.exports=n?Object.defineProperties:function(t,r)i(t);for(var e,n=u(r),a=n.length,c=0;a>c;)o.f(t,e=n[c++],r[e]);return t,3070:function(t,r,e)var n=e(9781),o=e(4664),i=e(9670),u=e(7593),a=Object.defineProperty;r.f=n?a:function(t,r,e)”set”in e)throw TypeError(“Accessors not supported”);return”value”in e&&(t[r]=e.value),t,1236:function(t,r,e)var n=e(9781),o=e(5296),i=e(9114),u=e(5656),a=e(7593),c=e(6656),s=e(4664),f=Object.getOwnPropertyDescriptor;r.f=n?f:function(t,r)if(t=u(t),r=a(r,!0),s)tryreturn f(t,r)catch(t)if(c(t,r))return i(!o.f.call(t,r),t[r]),8006:function(t,r,e)var n=e(6324),o=e(748).concat(“length”,”prototype”);r.f=Object.getOwnPropertyNames,5181:function(t,r)r.f=Object.getOwnPropertySymbols,9518:function(t,r,e)var n=e(6656),o=e(7908),i=e(6200),u=e(8544),a=i(“IE_PROTO”),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t)return t=o(t),n(t,a)?t[a]:”function”==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null,6324:function(t,r,e)var n=e(6656),o=e(5656),i=e(1318).indexOf,u=e(3501);t.exports=function(t,r)s.push(e));return s,1956:function(t,r,e)var n=e(6324),o=e(748);t.exports=Object.keys,5296:function(t,r)”use strict”;var e=.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call(1:2,1);r.f=o?function(t)var r=n(this,t);return!!r&&r.enumerable:e,7674:function(t,r,e),288:function(t,r,e)”use strict”;var n=e(1694),o=e(648);t.exports=n?.toString:function()return”[object “+o(this)+”]”,3887:function(t,r,e),857:function(t,r,e)var n=e(7854);t.exports=n,2534:function(t)t.exports=function(t)tryreturnerror:!1,value:t()catch(t)returnerror:!0,value:t,9478:function(t,r,e)var n=e(9670),o=e(111),i=e(8523);t.exports=function(t,r)if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise,2248:function(t,r,e)var n=e(1320);t.exports=function(t,r,e)for(var o in r)n(t,o,r[o],e);return t,1320:function(t,r,e)var n=e(7854),o=e(8880),i=e(6656),u=e(3505),a=e(2788),c=e(9909),s=c.get,f=c.enforce,l=String(String).split(“String”);(t.exports=function(t,r,e,a))(Function.prototype,”toString”,(function()return”function”==typeof this&&s(this).source)),7651:function(t,r,e)var n=e(4326),o=e(2261);t.exports=function(t,r)var e=t.exec;if(“function”==typeof e)var i=e.call(t,r);if(“object”!=typeof i)throw TypeError(“RegExp exec method returned something other than an Object or null”);return iif(“RegExp”!==n(t))throw TypeError(“RegExp#exec called on incompatible receiver”);return o.call(t,r),2261:function(t,r,e){“use strict”;var n,o,i=e(7066),u=e(2999),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,f=(n=/a/,o=/b*/g,a.call(n,”a”),a.call(o,”a”),0!==n.lastIndex||0!==o.lastIndex),l=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec(“”)[1];(f||p||l)&&(s=function(t)var r,e,n,o,u=this,s=l&&u.sticky,h=i.call(u),d=u.source,v=0,y=t;return s&&(-1===(h=h.replace(“y”,””)).indexOf(“g”)&&(h+=”g”),y=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline,8710:function(t,r,e)var n=e(9958),o=e(4488),i=function(t)return function(r,e)c+1===s;t.exports=start:a(!1),end:a(!0),8415:function(t,r,e)function(t)var r=String(o(this)),e=””,i=n(t);if(i0;(i>>>=1)&&(r+=r))1&i&&(e+=r);return e,6091:function(t,r,e)var n=e(7293),o=e(1361);t.exports=function(t)return n((function()return!!o[t]())),3111:function(t,r,e)var n=e(4488),o=”[“+e(1361)+”]”,i=RegExp(“^”+o+o+”*”),u=RegExp(o+o+”*$”),a=function(t)return function(r)var e=String(n(r));return 1&t&&(e=e.replace(i,””)),2&t&&(e=e.replace(u,””)),e;t.exports=start:a(1),end:a(2),trim:a(3),261:function(t,r,e),1400:function(t,r,e)var n=e(9958),o=Math.max,i=Math.min;t.exports=function(t,r)var e=n(t);return e0?e:r)(t),7466:function(t,r,e)var n=e(9958),o=Math.min;t.exports=function(t)return t>0?o(n(t),9007199254740991):0,7908:function(t,r,e)var n=e(4488);t.exports=function(t)return Object(n(t)),7593:function(t,r,e)var n=e(111);t.exports=function(t,r)if(!n(t))return t;var e,o;if(r&&”function”==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if(“function”==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&”function”==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError(“Can’t convert object to primitive value”),1694:function(t,r,e)var n=;n[e(5112)(“toStringTag”)]=”z”,t.exports=”[object z]”===String(n),9711:function(t)var r=0,e=Math.random();t.exports=function(t)return”Symbol(“+String(void 0===t?””:t)+”)_”+(++r+e).toString(36),3307:function(t,r,e)var n=e(133);t.exports=n&&!Symbol.sham&&”symbol”==typeof Symbol.iterator,5112:function(t,r,e)u;t.exports=function(t)(a&&i(f,t)?s[t]=f[t]:s[t]=l(“Symbol.”+t)),s[t],1361:function(t)t.exports=”tnvfr                 u2028u2029ufeff”,6992:function(t,r,e)”use strict”;var n=e(5656),o=e(1223),i=e(7497),u=e(9909),a=e(654),c=”Array Iterator”,s=u.set,f=u.getterFor(c);t.exports=a(Array,”Array”,(function(t,r)s(this,type:c,target:n(t),index:0,kind:r)),(function()n>=r.length?(t.target=void 0,value:void 0,done:!0):”keys”==e?value:n,done:!1:”values”==e?value:r[n],done:!1:value:[n,r[n]],done:!1),”values”),i.Arguments=i.Array,o(“keys”),o(“values”),o(“entries”),1539:function(t,r,e),7922:function(t,r,e){“use strict”;var n=e(2109),o=e(3099),i=e(8523),u=e(2534),a=e(408);n(target:”Promise”,stat:!0,{allSettled:function(t){var r=this,e=i.f(r),n=e.resolve,c=e.reject,s=u((function()n(i)));return s.error&&c(s.value),e.promise}})},7727:function(t,r,e){“use strict”;var n=e(2109),o=e(1913),i=e(3366),u=e(7293),a=e(5005),c=e(6707),s=e(9478),f=e(1320);n(target:”Promise”,proto:!0,real:!0,forced:!!i&&u((function()i.prototype.finally.call(then:function(),(function())))),finally:function(t)var r=c(this,a(“Promise”)),e=”function”==typeof t;return this.then(e?function(e)return s(r,t()).then((function()return e)):t,e?function(e)return s(r,t()).then((function()throw e)):t)),o||”function”!=typeof i||i.prototype.finally||f(i.prototype,”finally”,a(“Promise”).prototype.finally)},8674:function(t,r,e){“use strict”;var n,o,i,u,a=e(2109),c=e(1913),s=e(7854),f=e(5005),l=e(3366),p=e(1320),h=e(2248),d=e(8003),v=e(6340),y=e(111),g=e(3099),m=e(5787),b=e(4326),x=e(2788),w=e(408),S=e(7072),E=e(6707),_=e(261).set,O=e(5948),T=e(9478),A=e(842),P=e(8523),j=e(2534),I=e(9909),R=e(4705),L=e(5112),k=e(7392),B=L(“species”),C=”Promise”,D=I.get,U=I.set,F=I.getterFor(C),M=l,N=s.TypeError,X=s.document,G=s.process,$=f(“fetch”),H=P.f,W=H,q=”process”==b(G),V=!!(X&&X.createEvent&&s.dispatchEvent),z=”unhandledrejection”,K=R(C,(function()if(!(x(M)!==String(M)))if(66===k)return!0;if(!q&&”function”!=typeof PromiseRejectionEvent)return!0if(c&&!M.prototype.finally)return!0;if(k>=51&&/native code/.test(M))return!1;var t=M.resolve(1),r=function(t)t((function()),(function()));return(t.constructor=)[B]=r,!(t.then((function()))instanceof r))),Y=K||!S((function(t)M.all(t).catch((function())))),J=function(t),Q=function(t,r,e){if(!r.notified)r.notified=!0;var n=r.reactions;O((function()for(var o=r.value,i=1==r.state,u=0;n.length>u;)var a,c,s,f=n[u++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,d=f.domain;trycatch(t)d&&!s&&d.exit(),h(t)r.reactions=[],r.notified=!1,e&&!r.rejection&&tt(t,r)))},Z=function(t,r,e)var n,o;V?((n=X.createEvent(“Event”)).promise=r,n.reason=e,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n=promise:r,reason:e,(o=s[“on”+t])?o(n):t===z&&A(“Unhandled promise rejection”,e),tt=function(t,r)_.call(s,(function()rt(r)?2:1,e.error))throw e.value)),rt=function(t)return 1!==t.rejection&&!t.parent,et=function(t,r)_.call(s,(function()q?G.emit(“rejectionHandled”,t):Z(“rejectionhandled”,t,r.value))),nt=function(t,r,e,n)return function(o)t(r,e,o,n),ot=function(t,r,e,n)(r.done=!0,n&&(r=n),r.value=e,r.state=2,Q(t,r,!0)),it=function(t,r,e,n){if(!r.done)r.done=!0,n&&(r=n);tryif(t===e)throw N(“Promise can’t be resolved itself”);var o=J(e);o?O((function()var n=done:!1;tryo.call(e,nt(it,t,n,r),nt(ot,t,n,r))catch(e)ot(t,n,e,r))):(r.value=e,r.state=1,Q(t,r,!1))catch(e)ot(t,done:!1,e,r)};K&&(M=function(t)m(this,M,C),g(t),n.call(this);var r=D(this);tryt(nt(it,this,r),nt(ot,this,r))catch(t)ot(this,r,t),(n=function(t)U(this,type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0)).prototype=h(M.prototype,then:function(t,r)t,n.fail=”function”==typeof r&&r,n.domain=q?G.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&Q(this,e,!1),n.promise,catch:function(t)return this.then(void 0,t)),o=function()var t=new n,r=D(t);this.promise=t,this.resolve=nt(it,t,r),this.reject=nt(ot,t,r),P.f=H=function(t),c||”function”!=typeof l||(u=l.prototype.then,p(l.prototype,”then”,(function(t,r)var e=this;return new M((function(t,r)u.call(e,t,r))).then(t,r)),unsafe:!0),”function”==typeof $&&a(global:!0,enumerable:!0,forced:!0,fetch:function(t)return T(M,$.apply(s,arguments))))),a(global:!0,wrap:!0,forced:K,Promise:M),d(M,C,!1,!0),v(C),i=f(C),a(target:C,stat:!0,forced:K,reject:function(t)var r=H(this);return r.reject.call(void 0,t),r.promise),a(target:C,stat:!0,forced:c,resolve:function(t)return T(c&&this===i?M:this,t)),a(target:C,stat:!0,forced:Y,{all:function(t)var r=this,e=H(r),n=e.resolve,o=e.reject,i=j((function()var e=g(r.resolve),i=[],u=0,a=1;w(t,(function(t)var c=u++,s=!1;i.push(void 0),a++,e.call(r,t).then((function(t)(s=!0,i[c]=t,–a),o))),–a));return i.error&&o(i.value),e.promise,race:function(t)var r=this,e=H(r),n=e.reject,o=j((function()var o=g(r.resolve);w(t,(function(t)o.call(r,t).then(e.resolve,n)))));return o.error&&n(o.value),e.promise})},4916:function(t,r,e)”use strict”;var n=e(2109),o=e(2261);n(target:”RegExp”,proto:!0,forced:/./.exec!==o,exec:o),5218:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“anchor”),anchor:function(t)return o(this,”a”,”name”,t)),4475:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“big”),big:function()return o(this,”big”,””,””)),7929:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“blink”),blink:function()return o(this,”blink”,””,””)),915:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“bold”),bold:function()return o(this,”b”,””,””)),9841:function(t,r,e)”use strict”;var n=e(2109),o=e(8710).codeAt;n(target:”String”,proto:!0,codePointAt:function(t)return o(this,t)),7852:function(t,r,e)”use strict”;var n,o=e(2109),i=e(1236).f,u=e(7466),a=e(3929),c=e(4488),s=e(4964),f=e(1913),l=””.endsWith,p=Math.min,h=s(“endsWith”);o(,endsWith:function(t)var r=String(c(this));a(t);var e=arguments.length>1?arguments[1]:void 0,n=u(r.length),o=void 0===e?n:p(u(e),n),i=String(t);return l?l.call(r,i,o):r.slice(o-i.length,o)===i),9253:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“fixed”),fixed:function()return o(this,”tt”,””,””)),2125:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“fontcolor”),fontcolor:function(t)return o(this,”font”,”color”,t)),8830:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“fontsize”),fontsize:function(t)return o(this,”font”,”size”,t)),4953:function(t,r,e)var n=e(2109),o=e(1400),i=String.fromCharCode,u=String.fromCodePoint;n(target:”String”,stat:!0,forced:!!u&&1!=u.length,fromCodePoint:function(t)for(var r,e=[],n=arguments.length,u=0;n>u;)if(r=+arguments[u++],o(r,1114111)!==r)throw RangeError(r+” is not a valid code point”);e.push(r>10),r%1024+56320))return e.join(“”)),2023:function(t,r,e)”use strict”;var n=e(2109),o=e(3929),i=e(4488);n(target:”String”,proto:!0,forced:!e(4964)(“includes”),includes:function(t)return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)),8734:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“italics”),italics:function()return o(this,”i”,””,””)),8783:function(t,r,e)”use strict”;var n=e(8710).charAt,o=e(9909),i=e(654),u=”String Iterator”,a=o.set,c=o.getterFor(u);i(String,”String”,(function(t)a(this,type:u,string:String(t),index:0)),(function()var t,r=c(this),e=r.string,o=r.index;return o>=e.length?value:void 0,done:!0:(t=n(e,o),r.index+=t.length,value:t,done:!1))),9254:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“link”),link:function(t)return o(this,”a”,”href”,t)),6373:function(t,r,e)b in _,4723:function(t,r,e)”use strict”;var n=e(7007),o=e(9670),i=e(7466),u=e(4488),a=e(1530),c=e(7651);n(“match”,1,(function(t,r,e)return[function(r)var e=u(this),n=null==r?void 0:r[t];return void 0!==n?n.call(r,e):new RegExp(r)[t](String(e)),function(t)var n=e(r,t,this);if(n.done)return n.value;var u=o(t),s=String(this);if(!u.global)return c(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],h=0;null!==(l=c(u,s));)var d=String(l[0]);p[h]=d,””===d&&(u.lastIndex=a(s,i(u.lastIndex),f)),h++return 0===h?null:p])),6528:function(t,r,e)”use strict”;var n=e(2109),o=e(6650).end;n(target:”String”,proto:!0,forced:e(4986),padEnd:function(t)return o(this,t,arguments.length>1?arguments[1]:void 0)),3112:function(t,r,e)”use strict”;var n=e(2109),o=e(6650).start;n(target:”String”,proto:!0,forced:e(4986),padStart:function(t)return o(this,t,arguments.length>1?arguments[1]:void 0)),8992:function(t,r,e){var n=e(2109),o=e(5656),i=e(7466);n(target:”String”,stat:!0,{raw:function(t){for(var r=o(t.raw),e=i(r.length),n=arguments.length,u=[],a=0;e>a;)u.push(String(r[a++])),a]*>)/g,v=/$([$&’`]|dd?)/g;n(“replace”,2,(function(t,r,e,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=y?”$”:”$0″;return[function(e,n)var o=c(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n),function(t,n)if(!y&&g];function b(t,e,n,o,u,a){var c=n+t.length,s=o.length,f=v;return void 0!==u&&(u=i(u),f=d),r.call(a,f,(function(r,i){var a;switch(i.charAt(0))case”$”:return”$”;case”&”:return t;case”`”:return e.slice(0,n);case”‘”:return e.slice(c);case”s)””.split(/.?/).length?function(t,e)f.push(“”):f.push(n.slice(d)),f.length>i?f.slice(0,i):f:”0″.split(void 0,0).length?function(t,e)return void 0===t&&0===e?[]:r.call(this,t,e):r,[function(r,e)var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e),function(t,o)var u=e(n,t,this,o,n!==r);if(u.done)return u.value;var l=i(t),p=String(this),h=a(l,RegExp),g=l.unicode,m=(l.ignoreCase?”i”:””)+(l.multiline?”m”:””)+(l.unicode?”u”:””)+(y?”y”:”g”),b=new h(y?l:”^(?:”+l.source+”)”,m),x=void 0===o?v:o>>>0;if(0===x)return[];if(0===p.length)return null===f(b,p)?[p]:[];for(var w=0,S=0,E=[];S1?arguments[1]:void 0,r.length)),n=String(t);return l?l.call(r,n,e):r.slice(e,e+n.length)===n),7397:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“strike”),strike:function()return o(this,”strike”,””,””)),86:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“sub”),sub:function()return o(this,”sub”,””,””)),623:function(t,r,e)”use strict”;var n=e(2109),o=e(4230);n(target:”String”,proto:!0,forced:e(3429)(“sup”),sup:function()return o(this,”sup”,””,””)),8702:function(t,r,e)”use strict”;var n=e(2109),o=e(3111).end,i=e(6091)(“trimEnd”),u=i?function()return o(this):””.trimEnd;n(target:”String”,proto:!0,forced:i,trimEnd:u,trimRight:u),5674:function(t,r,e)”use strict”;var n=e(2109),o=e(3111).start,i=e(6091)(“trimStart”),u=i?function()return o(this):””.trimStart;n(target:”String”,proto:!0,forced:i,trimStart:u,trimLeft:u),3210:function(t,r,e)”use strict”;var n=e(2109),o=e(3111).trim;n(target:”String”,proto:!0,forced:e(6091)(“trim”),trim:function()return o(this)),3948:function(t,r,e)var n=e(7854),o=e(8324),i=e(6992),u=e(8880),a=e(5112),c=a(“iterator”),s=a(“toStringTag”),f=i.values;for(var l in o)var p=n[l],h=p&&p.prototype;if(h)if(h[c]!==f)tryu(h,c,f)catch(t)h[c]=fif(h[s],1150:function(t,r,e)var n=e(7633);t.exports=n,9712:function(t,r,e)var n=e(1111);t.exports=n,5666:function(t){var r=function(t){“use strict”;var r,e=Object.prototype,n=e.hasOwnProperty,o=”function”==typeof Symbol?Symbol:,i=o.iterator||”@@iterator”,u=o.asyncIterator||”@@asyncIterator”,a=o.toStringTag||”@@toStringTag”;function c(t,r,e)return Object.defineProperty(t,r,value:e,enumerable:!0,configurable:!0,writable:!0),t[r]tryc(,””)catch(t)c=function(t,r,e)return t[r]=efunction s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),u=new P(n||[]);return i._invoke=function(t,r,e){var n=l;return function(o,i)if(n===h)throw new Error(“Generator is already running”);if(n===d)if(“throw”===o)throw i;return I()for(e.method=o,e.arg=i;;)var u=e.delegate;if(u)var a=O(u,e);if(a)if(a===v)continue;return aif(“next”===e.method)e.sent=e._sent=e.arg;else if(“throw”===e.method)if(n===l)throw n=d,e.arg;e.dispatchException(e.arg)else”return”===e.method&&e.abrupt(“return”,e.arg);n=h;var c=f(t,r,e);if(“normal”===c.type)if(n=e.done?d:p,c.arg===v)continue;returnvalue:c.arg,done:e.done”throw”===c.type&&(n=d,e.method=”throw”,e.arg=c.arg)}(t,e,u),i}function f(t,r,e)tryreturntype:”normal”,arg:t.call(r,e)catch(t)returntype:”throw”,arg:tt.wrap=s;var l=”suspendedStart”,p=”suspendedYield”,h=”executing”,d=”completed”,v=;function y()function g()function m()var b=;b[i]=function()return this;var x=Object.getPrototypeOf,w=x&&x(x(j([])));w&&w!==e&&n.call(w,i)&&(b=w);var S=m.prototype=y.prototype=Object.create(b);function E(t)[“next”,”throw”,”return”].forEach((function(r)c(t,r,(function(t)return this._invoke(r,t)))))function _(t,r)function e(o,i,u,a)var c=f(t[o],t,i);if(“throw”!==c.type)var s=c.arg,l=s.value;return l&&”object”==typeof l&&n.call(l,”__await”)?r.resolve(l.__await).then((function(t)e(“next”,t,u,a)),(function(t)e(“throw”,t,u,a))):r.resolve(l).then((function(t)s.value=t,u(s)),(function(t)return e(“throw”,t,u,a)))a(c.arg)var o;this._invoke=function(t,n)function i()return new r((function(r,o)e(t,n,r,o)))return o=o?o.then(i,i):i()function O(t,e)var n=t.iterator[e.method];if(n===r)if(e.delegate=null,”throw”===e.method)if(t.iterator.return&&(e.method=”return”,e.arg=r,O(t,e),”throw”===e.method))return v;e.method=”throw”,e.arg=new TypeError(“The iterator does not provide a ‘throw’ method”)return vvar o=f(n,t.iterator,e.arg);if(“throw”===o.type)return e.method=”throw”,e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,”return”!==e.method&&(e.method=”next”,e.arg=r),e.delegate=null,v):i:(e.method=”throw”,e.arg=new TypeError(“iterator result is not an object”),e.delegate=null,v)function T(t)var r=tryLoc:t[0];1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)function A(t);r.type=”normal”,delete r.arg,t.completion=rfunction P(t)this.tryEntries=[tryLoc:”root”],t.forEach(T,this),this.reset(!0)function j(t)if(t)var e=t[i];if(e)return e.call(t);if(“function”==typeof t.next)return t;if(!isNaN(t.length))var o=-1,u=function e()for(;++o=0;–i){var u=this.tryEntries[i],a=u.completion;if(“root”===u.tryLoc)return o(“end”);if(u.tryLoc=0;–e)var o=this.tryEntries[e];if(o.tryLoc=0;–r)var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),v,catch:function(t)for(var r=this.tryEntries.length-1;r>=0;–r)var e=this.tryEntries[r];if(e.tryLoc===t)var n=e.completion;if(“throw”===n.type)var o=n.arg;A(e)return othrow new Error(“illegal catch attempt”),delegateYield:function(t,e,n)return this.delegate=iterator:j(t),resultName:e,nextLoc:n,”next”===this.method&&(this.arg=r),v},t}(t.exports);tryregeneratorRuntime=rcatch(t)Function(“r”,”regeneratorRuntime = r”)(r)},7147:function(t,r,e){“use strict”;var n=”undefined”!=typeof globalThis&&globalThis||”undefined”!=typeof self&&self||void 0!==n&&n,o=”URLSearchParams”in n,i=”Symbol”in n&&”iterator”in Symbol,u=”FileReader”in n&&”Blob”in n&&function()tryreturn new Blob,!0catch(t)return!1(),a=”FormData”in n,c=”ArrayBuffer”in n;if(c)var s=[“[object Int8Array]”,”[object Uint8Array]”,”[object Uint8ClampedArray]”,”[object Int16Array]”,”[object Uint16Array]”,”[object Int32Array]”,”[object Uint32Array]”,”[object Float32Array]”,”[object Float64Array]”],f=ArrayBuffer.isView||function(t)return t&&s.indexOf(Object.prototype.toString.call(t))>-1;function l(t)~!]/i.test(t)function p(t)return”string”!=typeof t&&(t=String(t)),tfunction h(t)var r=next:function()var r=t.shift();returndone:void 0===r,value:r;return i&&(r[Symbol.iterator]=function()return r),rfunction d(t)this.map=,t instanceof d?t.forEach((function(t,r)this.append(r,t)),this):Array.isArray(t)?t.forEach((function(t)this.append(t[0],t[1])),this):t&&Object.getOwnPropertyNames(t).forEach((function(r)this.append(r,t[r])),this)function v(t)if(t.bodyUsed)return Promise.reject(new TypeError(“Already read”));t.bodyUsed=!0function y(t)return new Promise((function(r,e)t.onload=function()r(t.result),t.onerror=function()e(t.error)))function g(t)var r=new FileReader,e=y(r);return r.readAsArrayBuffer(t),efunction m(t)if(t.slice)return t.slice(0);var r=new Uint8Array(t.byteLength);return r.set(new Uint8Array(t)),r.bufferfunction b(){return this.bodyUsed=!1,this._initBody=function(t)(“string”==typeof t?this.headers.set(“content-type”,”text/plain;charset=UTF-8″):this._bodyBlob&&this._bodyBlob.type?this.headers.set(“content-type”,this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set(“content-type”,”application/x-www-form-urlencoded;charset=UTF-8″)),u&&(this.blob=function()var t=v(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error(“could not read FormData body as blob”);return Promise.resolve(new Blob([this._bodyText])),this.arrayBuffer=function()if(this._bodyArrayBuffer)(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))return this.blob().then(g)),this.text=function(),function(t,e,n)var r=n(36),o=n(24);t.exports=Object.keys,function(t,e)t.exports=”constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf”.split(“,”),function(t,e,n)var r=n(3).f,o=n(2),i=n(9)(“toStringTag”);t.exports=function(t,e,n)t&&!o(t=n?t:t.prototype,i)&&r(t,i,configurable:!0,value:e),function(t,e,n)e.f=n(9),function(t,e,n)var r=n(1),o=n(0),i=n(12),u=n(26),f=n(3).f;t.exports=function(t),function(t,e)e.f=.propertyIsEnumerable,function(t,e,n)var r=n(2),o=n(15),i=n(17)(“IE_PROTO”),u=Object.prototype;t.exports=Object.getPrototypeOf,function(t,e,n)var r=n(47);t.exports=function(t,e,n)if(r(t),void 0===e)return t;switch(n)case 1:return function(n)return t.call(e,n);case 2:return function(n,r)return t.call(e,n,r);case 3:return function(n,r,o)return t.call(e,n,r,o)return function()return t.apply(e,arguments),function(t,e,n)t.exports=!n(4)&&!n(11)(function()return 7!=Object.defineProperty(n(32)(“div”),”a”,get:function()return 7).a),function(t,e,n)var r=n(7),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t)return i?o.createElement(t):,function(t,e,n)”use strict”;function r(t)return t&&t.__esModule?t:default:te.__esModule=!0;var o=n(54),i=r(o),u=n(69),f=r(u),s=”function”==typeof f.default&&”symbol”==typeof i.default?function(t)return typeof t:function(t)return t&&”function”==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?”symbol”:typeof t;e.default=”function”==typeof f.default&&”symbol”===s(i.default)?function(t)return void 0===t?”undefined”:s(t):function(t)return t&&”function”==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?”symbol”:void 0===t?”undefined”:s(t),function(t,e,n){“use strict”;var r=n(12),o=n(5),i=n(35),u=n(6),f=n(21),s=n(58),c=n(25),a=n(29),p=n(9)(“iterator”),l=!([].keys&&”next”in[].keys()),y=function()return this;t.exports=function(t,e,n,d,v,h,m)s(n,e,d);var b,g,_,x=function(t)if(!l&&t in P)return P[t];switch(t)case”keys”:case”values”:return function()return new n(this,t)return function()return new n(this,t),O=e+” Iterator”,S=”values”==v,T=!1,P=t.prototype,w=P[p]},function(t,e,n)t.exports=n(6),function(t,e,n)var r=n(2),o=n(8),i=n(61)(!1),u=n(17)(“IE_PROTO”);t.exports=function(t,e)var n,f=o(t),s=0,c=[];for(n in f)n!=u&&r(f,n)&&c.push(n);for(;e.length>s;)r(f,n=e[s++])&&(~i(c,n),function(t,e)var n=.toString;t.exports=function(t)return n.call(t).slice(8,-1),function(t,e)e.f=Object.getOwnPropertySymbols,function(t,e,n),function(t,e,n)var r=n(28),o=n(14),i=n(8),u=n(19),f=n(2),s=n(31),c=Object.getOwnPropertyDescriptor;e.f=n(4)?c:function(t,e)if(t=i(t),e=u(e,!0),s)tryreturn c(t,e)catch(t)if(f(t,e))return o(!r.f.call(t,e),t[e]),function(t,e,n)”use strict”;Object.defineProperty(e,”__esModule”,value:!0);var r=n(42),o=n.n(r);Morph.modules[“bbc-morph-gs-item-status@9.0.2”]=o.a,function(t,e,n){“use strict”;function r(t)return t&&t.__esModule?t:default:tObject.defineProperty(e,”__esModule”,value:!0);var o=n(43),i=r(o),u=n(48),f=r(u),s=n(49),c=r(s),a=n(53),p=r(a),l=n(79),y=r(l),d=n(87),v=r(d),h=n(88),m=r(h),b=n(89),g=r(b),_=n(90),x=r(_),O=function(t){function e()return(0,f.default)(this,e),(0,p.default)(this,(e.__proto__return(0,y.default)(e,t),(0,c.default)(e,[key:”renderDateTime”,value:function()if(this.hasDateTime())var t=dateTime:this.props.dateTime,includeIcon:!0,onScreenDateTime:this.props.onScreenDateTime,offScreenDateTime:this.props.offScreenDateTime,iconClasses:this.props.iconClasses,timestampClasses:this.props.timestampClasses;return v.default.createElement(g.default,t)return null,key:”renderLivePulse”,value:function()if(this.isLive())var t=text:this.getText(),theme:this.getTheme();return v.default.createElement(x.default,t)return null,key:”renderContent”,value:function()return this.getText()?this.renderLivePulse():this.renderDateTime(),key:”hasDateTime”,value:function()return this.props.dateTime&&this.props.onScreenDateTime&&this.props.offScreenDateTime,key:”getTheme”,value:function()return this.props.theme?this.props.theme:null,key:”getText”,value:function()return this.props.text,key:”isLive”,value:function(),key:”render”,value:function()var t=(0,m.default)(“gs-c-item-status”,this.props.className,”br-box-secondary__link”:”true”===this.props.brandingTool&&this.isLive(),”gs-u-pr”:!0===this.props.liveHeading&&this.isLive());return v.default.createElement(“span”,className:t,this.renderContent())]),e}(v.default.Component);e.default=O,O.displayName=”GrandStand__ItemStatus”,O.propTypes=brandingTool:v.default.PropTypes.oneOfType([v.default.PropTypes.string,v.default.PropTypes.bool]),className:v.default.PropTypes.array,dateTime:v.default.PropTypes.string,offScreenDateTime:v.default.PropTypes.string,onScreenDateTime:v.default.PropTypes.string,status:v.default.PropTypes.string,text:v.default.PropTypes.string,theme:v.default.PropTypes.string,featureToggles:v.default.PropTypes.object,liveHeading:v.default.PropTypes.bool,iconClasses:v.default.PropTypes.arrayOf(v.default.PropTypes.string),timestampClasses:v.default.PropTypes.arrayOf(v.default.PropTypes.string),O.defaultProps=status:”DEFAULT”},function(t,e,n)t.exports=default:n(44),__esModule:!0,function(t,e,n)n(45),t.exports=n(0).Object.getPrototypeOf,function(t,e,n)var r=n(15),o=n(29);n(46)(“getPrototypeOf”,function()return function(t)return o(r(t))),function(t,e,n)var r=n(5),o=n(0),i=n(11);t.exports=function(t,e),function(t,e)t.exports=function(t)if(“function”!=typeof t)throw TypeError(t+” is not a function!”);return t,function(t,e,n)”use strict”;e.__esModule=!0,e.default=function(t,e)if(!(t instanceof e))throw new TypeError(“Cannot call a class as a function”),function(t,e,n){“use strict”;e.__esModule=!0;var r=n(50),o=function(t)return t&&t.__esModule?t:default:t(r);e.default=function()function t(t,e)),function(t,e,n){var r=n(20),o=n(16);t.exports=function(t)return function(e,n),function(t,e,n)var r=n(37);t.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(t)return”String”==r(t)?t.split(“”):Object(t),function(t,e,n)var r=n(8),o=n(62),i=n(63);t.exports=function(t)return function(e,n,u),function(t,e,n)var r=n(20),o=Math.min;t.exports=function(t)return t>0?o(r(t),9007199254740991):0,function(t,e,n)var r=n(20),o=Math.max,i=Math.min;t.exports=function(t,e)return t=r(t),t=t.length?(this._t=void 0,o(1)):”keys”==e?o(0,n):”values”==e?o(0,t[n]):o(0,[n,t[n]]),”values”),i.Arguments=i.Array,r(“keys”),r(“values”),r(“entries”),function(t,e)t.exports=function(),function(t,e)t.exports=function(t,e)returnvalue:e,done:!!t,function(t,e,n)t.exports=default:n(70),__esModule:!0,function(t,e,n)n(71),n(76),n(77),n(78),t.exports=n(0).Symbol,function(t,e,n){“use strict”;var r=n(1),o=n(2),i=n(4),u=n(5),f=n(35),s=n(72).KEY,c=n(11),a=n(18),p=n(25),l=n(13),y=n(9),d=n(26),v=n(27),h=n(73),m=n(74),b=n(10),g=n(7),_=n(15),x=n(8),O=n(19),S=n(14),T=n(22),P=n(75),w=n(40),j=n(38),M=n(3),E=n(23),L=w.f,k=M.f,C=P.f,D=r.Symbol,F=r.JSON,N=F&&F.stringify,A=y(“_hidden”),I=y(“toPrimitive”),R=.propertyIsEnumerable,G=a(“symbol-registry”),V=a(“symbols”),H=a(“op-symbols”),W=Object.prototype,J=”function”==typeof D&&!!j.f,z=r.QObject,B=!z||!z.prototype||!z.prototype.findChild,K=i&&c(function()return 7!=T(k(,”a”,get:function()return k(this,”a”,value:7).a)).a)?function(t,e,n)var r=L(W,e);r&&delete W[e],k(t,e,n),r&&t!==W&&k(W,e,r):k,U=function(t)var e=V[t]=T(D.prototype);return e._k=t,e,Y=J&&”symbol”==typeof D.iterator?function(t)return”symbol”==typeof t:function(t)return t instanceof D,q=function(t,e,n),Q=function(t,e)b(t);for(var n,r=h(e=x(e)),o=0,i=r.length;i>o;)q(t,n=r[o++],e[n]);return t,X=function(t,e)return void 0===e?T(t):Q(T(t),e),Z=function(t),$=function(t,e),tt=function(t),et=function(t);J||(D=function()if(this instanceof D)throw TypeError(“Symbol is not a constructor!”);var t=l(arguments.length>0?arguments[0]:void 0),e=function(n)this===W&&e.call(H,n),o(this,A)&&o(this[A],t)&&(this[A][t]=!1),K(this,t,S(1,n));return i&&B&&K(W,t,configurable:!0,set:e),U(t),f(D.prototype,”toString”,function()return this._k),w.f=$,M.f=q,n(39).f=P.f=tt,n(28).f=Z,j.f=et,i&&!n(12)&&f(W,”propertyIsEnumerable”,Z,!0),d.f=function(t)return U(y(t))),u(u.G+u.W+u.F*!J,Symbol:D);for(var nt=”hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables”.split(“,”),rt=0;nt.length>rt;)y(nt[rt++]);for(var ot=E(y.store),it=0;ot.length>it;)v(ot[it++]);u(u.S+u.F*!J,”Symbol”,for:function(t)return o(G,t+=””)?G[t]:G[t]=D(t),keyFor:function(t)if(!Y(t))throw TypeError(t+” is not a symbol!”);for(var e in G)if(G[e]===t)return e,useSetter:function()B=!0,useSimple:function()B=!1),u(u.S+u.F*!J,”Object”,create:X,defineProperty:q,defineProperties:Q,getOwnPropertyDescriptor:$,getOwnPropertyNames:tt,getOwnPropertySymbols:et);var ut=c(function()j.f(1));u(u.S+u.F*ut,”Object”,getOwnPropertySymbols:function(t)return j.f(_(t))),F&&u(u.S+u.F*(!J||c(function())),”JSON”,stringify:function(t)),D.prototype[I]||n(6)(D.prototype,I,D.prototype.valueOf),p(D,”Symbol”),p(Math,”Math”,!0),p(r.JSON,”JSON”,!0)},function(t,e,n){var r=n(13)(“meta”),o=n(7),i=n(2),u=n(3).f,f=0,s=Object.isExtensible||function()return!0,c=!n(11)(function()return s(Object.preventExtensions())),a=function(t)u(t,r,value:i:”O”+ ++f,w:),p=function(t,e)if(!o(t))return”symbol”==typeof t?t:(“string”==typeof t?”S”:”P”)+t;if(!i(t,r))if(!s(t))return”F”;if(!e)return”E”;a(t)return t[r].i,l=function(t,e)if(!i(t,r))if(!s(t))return!0;if(!e)return!1;a(t)return t[r].w,y=function(t)return c&&d.NEED&&s(t)&&!i(t,r)&&a(t),t,d=t.exports=KEY:r,NEED:!1,fastKey:p,getWeak:l,onFreeze:y},function(t,e,n)var r=n(23),o=n(38),i=n(28);t.exports=function(t)var e=r(t),n=o.f;if(n)for(var u,f=n(t),s=i.f,c=0;f.length>c;)s.call(t,u=f[c++])&&e.push(u);return e,function(t,e,n),function(t,e,n)var r=n(8),o=n(39).f,i=.toString,u=”object”==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t)tryreturn o(t)catch(t)return u.slice();t.exports.f=function(t)return u&&”[object Window]”==i.call(t)?f(t):o(r(t)),function(t,e),function(t,e,n)n(27)(“asyncIterator”),function(t,e,n)n(27)(“observable”),function(t,e,n)”use strict”;function r(t)return t&&t.__esModule?t:default:te.__esModule=!0;var o=n(80),i=r(o),u=n(84),f=r(u),s=n(33),c=r(s);e.default=function(t,e)if(“function”!=typeof e&&null!==e)throw new TypeError(“Super expression must either be null or a function, not “+(void 0===e?”undefined”:(0,c.default)(e)));t.prototype=(0,f.default)(e&&e.prototype,constructor:value:t,enumerable:!1,writable:!0,configurable:!0),e&&(i.default?(0,i.default)(t,e):t.__proto__=e),function(t,e,n)t.exports=default:n(81),__esModule:!0,function(t,e,n)n(82),t.exports=n(0).Object.setPrototypeOf,function(t,e,n)var r=n(5);r(r.S,”Object”,setPrototypeOf:n(83).set),function(t,e,n)var r=n(7),o=n(10),i=function(t,e)if(o(t),!r(e)&&null!==e)throw TypeError(e+”: can’t set as prototype!”);t.exports=,function(t,e,n)t.exports=default:n(85),__esModule:!0,function(t,e,n)n(86);var r=n(0).Object;t.exports=function(t,e)return r.create(t,e),function(t,e,n)var r=n(5);r(r.S,”Object”,create:n(22)),function(t,e)t.exports=React,function(t,e)t.exports=Morph.modules[“bbc-morph-classnames@1.0.2”],function(t,e)t.exports=Morph.modules[“bbc-morph-gs-timestamp@3.0.0”],function(t,e)t.exports=Morph.modules[“bbc-morph-gs-live-pulse@6.0.12″]]);
//# sourceMappingURL=bundle.js.map;
});

/gi,””)},getIdcta=function()return new _promise2.default(function(e,t)requirejs([“idcta-v2/idcta-1″],e,t)),IDCTA_PURPOSE=””,IDCTA_TIMEOUT=1e4;exports.default={setupIdctaLibrary:function(e)return setupIdcta(e),refreshToken:function()return getIdcta().then(function(e)var t=e.initiateTokenRefresh;return t()).catch(function()throw _errorTypes.ErrorTypes.TOKEN_REFRESH_FAILED),getIdctaInfo:function(e){var t=this,n=e.idctaEnv,r=e.policy,o=e.signInContext,i=e.embeddingPageUri,a=e.shouldCallIdcta,s=void 0===a||a;return(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e()var a,u;return _regenerator2.default.wrap(function(e)for(;;)switch(e.prev=e.next)case 0:return e.next=2,isCurrentUserSignedIn();case 2:if(a=e.sent,u=policy:r,env:n,context:o,embeddingPageUri:i,!(0,_helpers.not)(s))e.next=6;breakreturn e.abrupt(“return”,_idctaBuilder2.default.new().signedIn(a).build());case 6:if(!a)e.next=9;breakreturn e.next=9,t.refreshToken();case 9:return e.abrupt(“return”,buildIdctaInfo(u,a));case 10:case”end”:return e.stop(),e,t)))()},getUserDetailsFromCookie:getUserDetailsFromCookie},module.exports=exports.default},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(2),i=r(o),a=function e()var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:,r=(0,i.default)(,t,n);returnsignedIn:function(t)return e(r,signedIn:t),withSignInButton:function(t)return e(r,signInButton:t),withSignedInMessage:function(t)return e(r,signedInMessage:t),withPolicyCheck:function(t)return e(r,policyCheck:t),build:function()return r;t.default=new:a,e.exports=t.default},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);t.ErrorTypes=IDCTA_FAILED:”idctaFailed”,TOKEN_REFRESH_FAILED:”tokenRefreshFailed”,POSTING_EMPTY_COMMENTS_NOT_ALLOWED:”postingEmptyCommentsNotAllowed”,PROFANITY_FOUND_IN_TEXT:”profanityFoundInText”,POSTING_TO_CLOSED_FORUM:”postingToClosedForum”,MORE_COMMENTS_FAILED:”loadMoreCommentsFailed”,ID_UNAVAILABLE:”idUnavailable”,UNKNOWN_ERROR:”unknownError”,RATING_COMMENT_FAILED:”ratingCommentFailed”,DISCUSSION_ALREADY_EXISTS:”DISCUSSION_ALREADY_EXISTS”,COMMENT_NOT_FOUND:”commentNotFound”,REPLY_NOT_FOUND:”replyNotFound”,DISCUSSION_NOT_FOUND:”discussionNotFound”,VALIDATION_ERROR:”VALIDATION_ERROR”,MISSING_API_KEY:”MISSING_API_KEY”,UNAUTHORIZED:”UNAUTHORIZED”,RESOURCE_CLOSED:”RESOURCE_CLOSED”,DISCUSSION_READ_ONLY:”DISCUSSION_READ_ONLY”,AUTHENTICATION_POLICY:”AUTHENTICATION_POLICY”,USER_NOT_SIGNED_IN:”userNotSignIn”,UAS_CANNOT_GET_CONTENT_ID:”uasCannotGetContentId”,UAS_MISSING_FORUM_ID:”uasMissingForumId”,UAS_INVALID_SITE_CONFIG:”uasInvalidSiteConfig”,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=cbbccomments:urnStructure:”urn:bbc:isite2:file_id:cbbc:content-id”,contentIdRegexp:/^__CBBC__comments__([a-zA-Z0-9_]+)$/,resourceType:”article”,ownit:urnStructure:”urn:bbc:isite2:file_id:stay-safe:content-id”,contentIdRegexp:/^ownit__([a-zA-Z0-9_]+)$/,resourceType:”article”,newsroundcommentsmodule:urnStructure:”urn:bbc:cps::articleid:id”,contentIdRegexp:/^__newsround__([0-9]+$)/,resourceType:”article”,sportcommentsmodule:urnStructure:”urn:bbc:cps::articleid:id”,contentIdRegexp:/^__CPS_([0-9]+$)/,resourceType:”article”,newscommentsmodule:urnStructure:”urn:bbc:cps::articleid:id”,contentIdRegexp:/^__CPS__([0-9]+)$/,resourceType:”article”,bbcthreecomments:urnStructure:”urn:bbc:isite2:guid::id”,contentIdRegexp:/^__BBCTHREE__comments__article_([a-zA-Z0-9]8-[a-zA-Z0-9]4-[a-zA-Z0-9]4-[a-zA-Z0-9]4-[a-zA-Z0-9]12)$/,resourceType:”article”,blogsreactive:urnStructure:”urn:bbc:isite2:guid::id”,contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]8_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]12)$/,resourceType:”article”,blogspremoderated:urnStructure:”urn:bbc:isite2:guid::id”,contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]8_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]12)$/,resourceType:”article”,blogspostmoderated:urnStructure:”urn:bbc:isite2:guid::id”,contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]8_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]12)$/,resourceType:”article”,blogstrictlycomedancing:urnStructure:”urn:bbc:isite2:guid::id”,contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]8_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]12)$/,resourceType:”article”,blogbbccymru:urnStructure:”urn:bbc:isite2:guid::id”,contentIdRegexp:/^blogs_[a-zA-Z0-9-]*_([a-zA-Z0-9]8_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]4_[a-zA-Z0-9]12)$/,resourceType:”article”,e.exports=t.default,function(e,t,n)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);var r=n(165),o=function(e,t)var n=e.contentIdRegexp,o=t.match(n);if(!o;t.default=buildResourceId:function(e,t)!e.urnStructure)throw new Error(r.ErrorTypes.UAS_INVALID_SITE_CONFIG);if(!t,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ContributorAvatar=t.ViewCommentsButton=t.CommentsSortError=t.CommentsSort=t.LoadRepliesButton=t.ReplySnippet=t.ReplyButton=t.A11yText=t.CommentsModerationMessage=t.ShowNewCommentsButton=t.CommentRatingContainer=t.NoJSMessage=t.Tooltip=t.TooltipLauncher=t.CommentsLoading=t.CommentRating=t.CommentsAlert=t.CommentsFooter=t.CommentsTextLimit=t.IdctaSignedInMessage=t.IdctaSignInButton=t.CommentsList=t.Comment=t.CommentsInput=t.CommentsButton=t.PostedDate=t.UserDescription=t.Username=t.CommentsTotal=t.CommentsModuleTitle=t.CommentsTitle=t.CommentsHeader=t.Stylesheets=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=n(169),l=n(209),c=n(171),d=n(172),m=n(170),f=n(234),p=n(189),h=n(235),y=n(190),g=n(202),v=n(236),_=n(188),b=n(237),T=n(238),C=n(239),E=n(199),P=n(200),S=n(240),w=n(198),O=n(241),x=n(178),M=n(185),R=n(211),I=n(232),N=n(242),k=n(245),A=n(246),D=n(173),L=function(e)var t=e.children;return i.default.createElement(“div”,className:”comments__header comments–border comments–shadow”,t);L.displayName=”CommentsHeader”,L.propTypes=children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]);var j=function(e)var t=e.children;return i.default.createElement(“h4″,className:”comments__heading-module-title”,t);j.displayName=”CommentsModuleTitle”,j.propTypes=children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]);var F=function(e)var t=e.children;return i.default.createElement(“h4″,className:”comments__heading-title”,i.default.createElement(“span”,className:”comments__heading-title-text”,t));F.displayName=”CommentsTitle”,F.propTypes=children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]);var U=function(e)var t=e.totalCommentsCount,n=”comment”+(1===t?””:”s”),r=t+” “+n;return i.default.createElement(“div”,className:”comments-total”,i.default.createElement(“span”,null,r));U.displayName=”CommentsTotal”,U.propTypes=totalCommentsCount:o.PropTypes.number;var q=function(e)var t=e.children,n=e.className;return i.default.createElement(“div”,className:(0,s.default)(“comments__footer”,n),t);q.displayName=”CommentsFooter”,q.propTypes=children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string,t.Stylesheets=v.Stylesheets,t.CommentsHeader=L,t.CommentsTitle=F,t.CommentsModuleTitle=j,t.CommentsTotal=U,t.Username=c.Username,t.UserDescription=d.UserDescription,t.PostedDate=m.PostedDate,t.CommentsButton=f.CommentsButton,t.CommentsInput=p.CommentsInput,t.Comment=u.Comment,t.CommentsList=l.CommentsList,t.IdctaSignInButton=_.IdctaSignInButton,t.IdctaSignedInMessage=b.IdctaSignedInMessage,t.CommentsTextLimit=h.CommentsTextLimit,t.CommentsFooter=q,t.CommentsAlert=y.CommentsAlert,t.CommentRating=g.CommentRating,t.CommentsLoading=C.CommentsLoading,t.TooltipLauncher=E.TooltipLauncher,t.Tooltip=P.Tooltip,t.NoJSMessage=S.NoJSMessage,t.CommentRatingContainer=w.CommentRatingContainer,t.ShowNewCommentsButton=T.ShowNewCommentsButton,t.CommentsModerationMessage=O.CommentsModerationMessage,t.A11yText=x.A11yText,t.ReplyButton=M.ReplyButton,t.ReplySnippet=R.ReplySnippet,t.LoadRepliesButton=I.LoadRepliesButton,t.CommentsSort=N.CommentsSort,t.CommentsSortError=k.CommentsSortError,t.ViewCommentsButton=A.ViewCommentsButton,t.ContributorAvatar=D.ContributorAvatar,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.Comment=t.CommentText=void 0;var o=n(41),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(147),_=r(v),b=n(170),T=n(171),C=n(172),E=n(173),P=n(175),S=n(176),w=n(183),O=n(179),x=r(O),M=n(208),R=n(153),I=n(209),N=n(232),k=n(212),A=n(206),D=n(233),L=r(D),j=n(197),F=15e3,U=t.CommentText=function(e)var t=e.commentText;return g.default.createElement(“div”,tabIndex:”0″,className:”comment__text”,dangerouslySetInnerHTML:__html:t);U.displayName=”CommentText”,U.propTypes=commentText:y.PropTypes.string.isRequired,U.default=commentText:””;var q=t.Comment=function(e){function t(e)(0,s.default)(t)).call(this,e));return n.state=maxNumberOfRepliesVisible:1,shouldFocusMoreReplies:!1,requestCounter:1,n.handleLoadReplies=n.handleLoadReplies.bind(n),n.setMaxNumberOfRepliesVisible=n.setMaxNumberOfRepliesVisible.bind(n),n.setLoadRepliesAllyMessage=n.setLoadRepliesAllyMessage.bind(n),n.newRepliesToShow=0,nreturn(0,h.default)(t,e),(0,d.default)(t,[key:”render”,value:function(),key:”getCollapsedRemovedComment”,value:function(e)var t=this,n=this.context.theme.formatMessage;return g.default.createElement(P.CollapsiblePanel,title:n(“removedCommentButton”),setCollapsiblePanelRef:function(e)return t.collapsedRemovedCommentElement=e,e),key:”getLoadRepliesButtonComponentWithStats”,value:function(e,t)if(this.newRepliesToShow=this.props.commentData.totalReplies-this.state.maxNumberOfRepliesVisible,this.newRepliesToShow>0)return this.getLoadRepliesButtonComponentWithLoadStats();var n=!e&&!t;return n?this.getLoadRepliesButtonComponentWithCheckStats():null,key:”getLoadRepliesButtonComponentWithCheckStats”,value:function()var e=this.context.WithStatsIncludeCommonLabels;return g.default.createElement(e,key:”more-replies-check-“+this.props.commentData.id,id:”stats-more-replies-check”,labels:label:”more-replies-check”,fireOnView:!0,fireOnClick:!0,minimumTimeInView:0,this.getLoadRepliesButtonComponent()),key:”getLoadRepliesButtonComponentWithLoadStats”,value:function()var e=this.context.WithStatsIncludeCommonLabels,t=(0,i.default)(this.state.maxNumberOfRepliesVisible/this.props.repliesPageSize+1),n=PAG:t,RSC:this.newRepliesToShow;return g.default.createElement(e,key:”more-replies-load-“+this.props.commentData.id+”-“+t,id:”stats-more-replies-load”,labels:label:”more-replies-load”,metadata:n,fireOnView:!0,fireOnClick:!0,minimumTimeInView:0,this.getLoadRepliesButtonComponent()),key:”getLoadRepliesButtonComponent”,value:function()var e=this;return g.default.createElement(N.LoadRepliesButton,setMaxNumberOfRepliesVisible:this.setMaxNumberOfRepliesVisible,setLoadRepliesAllyMessage:this.setLoadRepliesAllyMessage,sendMoreRepliesLoadErrorStat:function()return(0,j.sendMoreRepliesLoadErrorStat)(e.context),sendMoreRepliesCheckErrorStat:function()return(0,j.sendMoreRepliesCheckErrorStat)(e.context),onClick:this.handleLoadReplies,newRepliesToShow:this.newRepliesToShow,checkingForReplies:this.props.commentData.checkingForReplies,requestTimeoutMs:F),key:”isCommentWithReplies”,value:function()return(0,A.hasReplies)(this.props.commentData,this.context.isFeatureEnabled),key:”isCollapsedRemovedComment”,value:function()return(0,A.isRemovedComment)(this.props.commentData)&&!this.isCommentWithReplies(),key:”componentDidUpdate”,value:function(e)if(e.focusOn!==this.props.focusOn&&this.props.focusOn)var t=this.isCollapsedRemovedComment()?this.collapsedRemovedCommentElement:this.commentElement;(0,R.focusOnElement)(t),key:”requestReplies”,value:function(e)this.context.triggerAggregatorDataFetch(parentCommentId:this.props.commentData.id,nextReplyIndexToLoadFrom:e,requestCounter:this.state.requestCounter,requestType:L.default.replies),key:”setLoadRepliesAllyMessage”,value:function(e)var t=this.context.theme.formatMessage;e?this.context.setA11yAlertText(t(“moreRepliesDisplayed”)):this.context.setA11yAlertText(t(“newRepliesChecked”)),key:”setMaxNumberOfRepliesVisible”,value:function()var e=this.props.commentData.replies.length,t=this.props.repliesPageSize;this.setState(function(n)returnmaxNumberOfRepliesVisible:Math.min(n.maxNumberOfRepliesVisible,e)+t),key:”handleLoadReplies”,value:function()var e=this.props.commentData.replies.length;this.requestReplies(e),this.setState(function(e)returnrequestCounter:e.requestCounter+1)]),t}(y.Component);q.displayName=”Comment”,q.propTypes=repliesPageSize:y.PropTypes.number,commentData:y.PropTypes.shape(index:y.PropTypes.number,id:y.PropTypes.number,firstNewReplyId:y.PropTypes.number,actions:y.PropTypes.shape(reportUrl:y.PropTypes.string.isRequired),checkingForReplies:y.PropTypes.bool,distressMessage:y.PropTypes.shape(text:y.PropTypes.string),author:y.PropTypes.shape(userId:y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number]).isRequired,displayName:y.PropTypes.string.isRequired,isNotable:y.PropTypes.bool.isRequired,description:y.PropTypes.string,avatarUrl:y.PropTypes.string).isRequired,dateCreated:y.PropTypes.string,text:y.PropTypes.string.isRequired,rating:y.PropTypes.oneOfType([y.PropTypes.shape(positive:y.PropTypes.number.isRequired),y.PropTypes.shape(negative:y.PropTypes.number.isRequired)]),status:y.PropTypes.oneOf([x.default.FAIL,x.default.PASS,x.default.REFER,x.default.UNKNOWN]),replies:y.PropTypes.array,totalReplies:y.PropTypes.number).isRequired,rulesPageUrl:y.PropTypes.string.isRequired,isRatingEnabled:y.PropTypes.bool,userCanPostToForum:y.PropTypes.bool,personalisationDetails:y.PropTypes.shape(userId:y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number]),displayNameModerationStatus:y.PropTypes.string,displayNameModerationMessage:y.PropTypes.string,displayNameModerationUrl:y.PropTypes.string,isEditor:y.PropTypes.bool,commentAdminLinks:y.PropTypes.shape(report:y.PropTypes.shape(url:y.PropTypes.string.isRequired),viewModerationHistory:y.PropTypes.shape(url:y.PropTypes.string.isRequired),makeTopPick:y.PropTypes.shape(url:y.PropTypes.string.isRequired),memberDetails:y.PropTypes.shape(url:y.PropTypes.string.isRequired))),idctaData:y.PropTypes.object.isRequired,forumId:y.PropTypes.string.isRequired,focusOn:y.PropTypes.bool,commentInputTextLimit:y.PropTypes.number,commentInputModerationStatus:y.PropTypes.string,isForumClosed:y.PropTypes.bool,q.defaultProps=personalisationDetails:,isAvatarEnabled:!1,isMoreIconIsOpen:!1,focusOn:!1,replies:[],repliesPageSize:10,firstNewReplyId:0,q.contextTypes=theme:y.PropTypes.shape(formatMessage:y.PropTypes.func,getComponent:y.PropTypes.func.isRequired,productLabel:y.PropTypes.string),isFeatureEnabled:y.PropTypes.func.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,triggerAggregatorDataFetch:y.PropTypes.func.isRequired,WithStatsIncludeCommonLabels:y.PropTypes.func.isRequired,logImpressionEventWithCommonLabels:y.PropTypes.func.isRequired},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.PostedDate=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=t.PostedDate=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()return h.default.createElement(“div”,”data-time”:this.props.time,className:(0,g.default)(“posted-date”,this.props.className),h.default.createElement(“span”,”aria-hidden”:”true”,this.props.formattedTime))]),t(p.Component);v.displayName=”PostedDate”,v.propTypes=time:p.PropTypes.string.isRequired,className:p.PropTypes.string,formattedTime:p.PropTypes.string.isRequired},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.Username=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=t.Username=function(e)var t=e.children,n=e.className;return i.default.createElement(“span”,”aria-hidden”:”true”,title:t,className:(0,s.default)(“username”,n),t);u.displayName=”Username”,u.propTypes=className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.UserDescription=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=t.UserDescription=function(e)var t=e.children,n=e.className;return i.default.createElement(“span”,”aria-hidden”:”true”,className:(0,s.default)(“userdescription”,n),t);u.displayName=”UserDescription”,u.propTypes=className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ContributorAvatar=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=n(174),_=/^((https?)(://|(%3A%2F%2F)))|^data:image//i,b=t.ContributorAvatar=function(e){function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”getAvatarLetter”,value:function(e),key:”handleAvatarImageError”,value:function(e)e&&(e.target.onerror=null,e.target.src=v.noImageForAvatarError,e.target.style.backgroundColor=”transparent”),key:”render”,value:function()var e=this,t=this.props,n=t.displayName,r=t.isCurrentUser,o=t.avatarImageUrl,i=(0,g.default)(“contributor-avatar__letter”,”contributor-avatar__letter–current”:r),a=o&&o.match(_);return h.default.createElement(“div”,className:”contributor-avatar”,”aria-hidden”:”true”,a&&h.default.createElement(“img”,className:”contributor-avatar__image”,alt:””,src:o,onError:function(t)return e.handleAvatarImageError(t)),h.default.createElement(“div”,className:i,this.getAvatarLetter(n)))]),t}(p.Component);b.displayName=”ContributorAvatar”,b.propTypes=displayName:p.PropTypes.string,isCurrentUser:p.PropTypes.bool,avatarImageUrl:p.PropTypes.string,b.defaultProps=displayName:”u”,isCurrentUser:!1},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);t.exampleAvatarUrl96x96PngBase64=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAsSwAALEsBpT2WqQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABZfSURBVHic5Z15nBXVlce/p+rtrzcaaHalRcElGqAbBFFAZTRGu0NUoqjRRBMnmcwniUaUaOL0TGaULcsni8ZPPmo0Juo4joK7okLUYJAGDBGBGFHAlsVu6H77e1V154/X9Ou3dPdb6jWY+X0+/YGqd+vcU+fce+655557SzhKsaBhSXVUc0wUU01SWCeKyERgHODv/hvS/S9ACDjY/W8I2K2U2iFo25Qu2z2WseOx1sWdR+I9BoIcaQYOY8EpLRVxn38GFvMUah4wBdBsrOJ9hNUoVptxc/UzW75/0EbaReOIKmD+5J/WWFriSwhXAWcA+iBVbSLqDSztIc1yPPbk5hsODVK9WRh0BbTQom1s8F8A1tUgzYBnsHnIQBTUKhF5YMqG8PMttFiDWfmgKaCFFm3TVP+FSlQLMHWw6i0Q74iwrLMi/Ic1a1qMwaiw7AqYO7fFUR3wfUXBYmBCueuzB/KeEpYEKkIPlFsRZVVA85SljehyN4rGctZTPsjbiPrWqg03v1G2GspBdMHMn9RG44l/E+RfsdeTORJQouQhzeCmJ/6yaL/dxG1XQFPD0vkg9wrU2k37CKNdiVz31IZFK+0kapsCkrbe/58KdbOddI8yKIX6hScaWfTYOy1xOwjaIqim6cvrxVCPIkyzg97RDgXrddO87MnN3/+gVFolK6B5ytJGNHkWGF4qrU8TFHQoSy56etOidaXQKWmAbJq6/Bw0eYX/Z8IHEKjVNPVS89RlnyuFTtEKaJ669GIR9SxQWQoDpUFhqlj3X+JIMOBHWNnUuGxhsQSKMkFNjcsWiuIhjoCLGTU6OBjbQSD+AVGjI03wDs2DxzGUCucYqlz1+JwjkMHxByxErly1YdEjhT5YMHcXTVl6rqbJM4C70GdLQSjRRlvwTYKJ3Xk/49KrGO49jaGeU9E1Vxm5AyAhympauXHxC4U8VJACmqatmCaWegVURWG8FQ/DivJRcC0d0W1F03BqfkZXzKLWc5KNnOVE2LJkXiEDc94KaJq+vF5MtR4YVhRrRSCY2M3OzucxrHDafY9LaJrt5KzJDupHC5aCRAI+2Gvx8lsJXlxnYOaIadZ6TuKYynMRKWvU+4BmmtPzdVHzUsD1Dfc490nnWqWYWRJrBeBAZDMfBV9DqZQkRw/TuO1aN6efpKP1w7lC2LbH4o77orzzvpn2W4VzHMcPmY+Uc/hSvOWOhc/MZ7KWV1MYM3r2T4BLS2YsT+wN/Zm24BuAAkAEbrzCzZ3f8DCuTkNyCF9zCE6PhrtCx1OhMXa0gy/Oc+P3a2z4a6KnR8StLhJWiGr3ceV7AWGM6XD4t3+8+sWBiw6ApqnLLhJhVT5lS4diT3AtB8Jv99zxeYR7b/MyaVx2ixUBpzcpdN3ZN3sbtxp8syXAgYOq596E6i9Q5R5vK/cZUAp18VOttzzZX6F+hXrBlDuGOzTHtsEKrLUF32BfeEPP9ZAq4bE7/NRmDvkCLq+Gp9qBlqcl2bLD5LIbu4jGkkrw6LWcWHslImX1pNsV2olPtd70SV8F+q3doTuXDpbwD0Q2pwl/9DCNVcuzha85hMphDnxD8hc+wKkTdb7/dW/PddTsoD26tVS2B8JQsO7sr0Cfr9DcuGyWKPUV21nKgWBiNx8FX+u5Hj9K47E7fPgzZhour0ZlnRPdVVyrveIiN8eNSw17+8OtKFQ/T5QOgWsvmrK8T+cl55vMndviQMmvGAS7HzcD7Ox8rsfbGVsnPPTvPrwZ8yZPlY6v1pFzAM4Xui589+pUL4iZhwjEPyieYH7QNE3dM3duiyPnj7luVnX5vwrqs+XlCyxl8H7n0xhWBIARtcKDt/vwZQjfV6PjqbTHd//8bBfHjE699v7wZlvoDoBTq4K+q3P9kKWABQv+W0fUovLzBLsDrxAxkqt8Q6uF+3/gpaaiVxMX8A3RcVXYF0bQNFj4+ZRtC8R3Eze7bKPfJxS35uoFWQqI/X3n5cAJ5eanM/Z3OqLvAuB0wM++62VkbYod0VxUTbwez8nPoJ/Qij7hNaTu+6CVHgVZ8Dk37h6dqsEYjAEmVAZ9CzJvZihAiYgsLjcnhhVhV9crPde3XePmlPoUK5p7BNXTHsE5+gbEdSwgoFeh1VyONu4+0Lw5qOaP2mqN82alekFH5F0o82AMIIoftNCSJvO0i+aGFZ9X8JlyM7KrazWGSsZ3FpzjpPksZ4pJZw3VU+5H9+UOnIl7EjL0WyXz0HR2qs641UUo8XHJNPPAya2NFef3vpHZA64pNwftkXfojL8PwKhhGt+9LN2+V5zYguat75eGVn1JyaZodqOLql7jzcHo30qily/EMtMG4x4FLGhYUg1cVM7KDSvc4++LwA+/6sLrTgnBWXsGrmHn9/V4CpoP8TWUxIvLCeefmVL+odh7DIYZQmT+/Mk/rTl82aOAuOiXA6UZ1wHwUfCPmCoGQNOZTmacku4U+I/7Zq8riw+3r2Tnu0+ASo9oQtIUZd3zTUdG3I429h60UcuQqgvpb7J/wVkpBSSsIKHE3sJeqDh4TIdxyeGLHgkopa4sZ63BxG46otuBpMt548J00+OsGINemWrVjz5wCzffnlzh+91vdjH7vO+klVdadepC86CN+BFSeV5aGak8H1V1MVbbd8AKZvE0c7ITv1cIRZItvzP+Pn7nqOJfMl8odRVwL3Q3j27zc0bZ6sNkV9eanutbrnJT5Uv39/1jz+XwxDt08O0e4QPcueLhHES7c2bFiTbmrizh95D2NaKN/jG5JvVuF5zVkOqFXbGdeb9TKRA484LTf14F3QqIicyhjJsj9oVaiZkdAJz1WQfzpqWbHneFjuZPOV+bN7yc9vu2v2V7KGIldxzJsG8j3v7HA/HNQKpyD2/nzkz1xIjRTtwM9EvLJjicRuwsSBnIs8tVU8IKsr87yunzCLd9JT3CpumSDDM4x/bc+3jvvrQyx44bmkVXxXYgrvFoNVfkxYfU5Lawc6Y70+JLXfEP86JXOtTZcFgBSs4pVzVtwdd7Uke+1uykbki6KfBU60kB9HIr6+rSl52/cW2GZ6QMVHQL1CwESfWmWOgD1rzwK7ra38niQzwngWNE1v1hNRqT6lOdfxCCc91Q5wBo3fb/1HJUEUp8TEd0B5AMMV95fvrA63ALLm93J1TRnvvTz2jC404KdsyoGi5dmDEAh/8EZgCtMpWUFg99wIxZF3DN9UuYNecS4pE9WfyIN/drzpqampQFErtRDMYuJfls86yllVpCZBJlCDsrFB8F13LYt/7eQjfOjFHGW91rLEikzI6n8kTWv/4ID9+3iLWvPofDPTKd9qFHEXc96D3uNPffu5yOg0lPpysQ4u0Nz2fxJHruhI5ZU1IKMK04wXhbXu9YIjQtok/UTMh2qG3Aweg2Qt1CPXeag1mnpUvf5ctYx41uSvu9uu50zjj32zi9Y9Puq8hGVOh1cPWOF1rcc1/6wN3efiCbKS33fsDppzlw9moLgcTgjANK1CQNy34FKGXycSiZm+RxCTdenhFOFvBUpk+QrMALMFB+pxVC7b09SaJX61dmiPaDobSidcNztPY+ws4+j9DQa1IYiOeffVcKLNQkTUSzXQH7I5t63LmvXuhk1NB0Ybt8Opojw+oZB7AOPtg3URXDarsRdTg1UXqHrn0cM6aq51rXhc9MzvYrVD9pjb3HgYhxoGfGXlYIkzQRNcZOmqaKsT/cCiSzGq4835leQARPRe7wgGq/C9X1VPb9+IdYu69Fhd9M3TN7bXQXnX9bnEpb+vVPr8Plz9iQqUxU9K998j1zcopPpSyC8exB3G6IYqxDKaoGLpo/9ob+jGElPZqvNbnwedJbusurZbf+w1AG1t4fIJ2Pg28GiAuiW1DBNZDpmXR7V4cxr+lW1h4/EY+3kpH1TdmkQ69D99JnLpw2yYHPI4SjSachEN9Dtbvsu2orHQIVdsUA42aAA+G/AFBTKVwy15lVpq/W3xsqsgkim/ovE98Jxn5w1CVviJvxJ/cdzlKd/9MvPYcOk09y8KdNyXEoUEAWdgmo1CwbN1jsj7SiSEYum8904sqQv9OjofWTwVYYLKxDj+dVUoXXo0J/HLDcjM+mBuKo0U7cKvtacaUmYEuquWFF6Yik1la/OCc7C8NdYW+4SR36LSrxUf+FzEOofS150Zs7Pb3FdMU+KI6x/FFZXIZTDnwSebsn5HDCOI1jR6aT1hyCw23zfM+KotpuALOPw06MfVh7rh9YSd045XgHo4an+O4svwLQFGQHyguEpQwORFIJtbMn52j9vvLkYKrYdswPv5T0ng7H/I39WB0PYH64ABXbnjctkfReEEzsxlJlPSoi4NAgoErM/zwU+3tPchXA6adkmBoRnHkqIBzWCIU0hg8v4MWNfVh7f5B/+X4wb6aLh59JzgEsZRCI7ypnKnvAlh7QHkmPPp40Pl3YDlcy7JwPXniuil//6sjtep052ZG2Tt0Z+3s5qwtoIpQ01CdTOlKTlrohgj/D93d68jc/72718uY6Py8+b+v0JG943MKMXia0M/5+2i4dmxHQlJL8Rqg+0BHZlpZhPKI2u6U7XPkPvp2dSWXd9cvh/OVtXymsFY1zTk+NA4YVJWzs66d08VDCHk0pK/9RKgcyMwlGD89u7ZKn+YHk/i6AREJo+eEo1q4Z2EuOxzXWrqlAWfZ4WWdMSXdHg4kyhSUU2zU0SlJA3Ep3AWtyebYFTLXrhqciorGYsOzOkfyoZRTvbPFgmCkBB4Mab63388ufD+fLC8fTusGPaPbM6ceP0Rlak3qPQLwkI9EnNGS7Q4ftpVg4w0yPGnYGs4Vgmarv+E8GTpgY49VX0ifnb67z8+Y6Pw6Hwu9XgKKzM+VpicDFl9h3CqUInHiczhsbk5IJJdpQWLbvrBQl27WY7t1GKSlhGXLd9kG2Oi0jf/Izzwz1uQnDMITOTi1N+ABz5gYYX2/L8T09qB+bqsNSiXJkS1iW19yhPffnb3cBW4ql4sjIVN6z38rSplHAORp1wxOcfW7+jpnfb3Hd9e35V5AnMseyuGn3wbvq7VVv3BJI1iLqlQFK9wlPr5UpAMNUfNSergIjWpiRu+7r7dTUZKcjZkLTYdHifdTW2j9b9WUkacZs3sQhyMuQygt6tVhCvhypfM+tSxeIZSrMRP5mqKbG5L+WtFFX13fXcToV37lhH9Omh/osUwpcGWNWwrLZBElS5hqAW6m1wMBNLgeqXdnT9HtXxkhkNPpEpLBeML4+xi/u3s2Cyw5m9YbjT4ix/McfMe+fypfF1hVK59fmVBUjrnteh+7k3MdaF3c2Ny59AyWzC6XkcQzB7xyZNh+IJ+DR1QmuOi/lT8dCJu5KvaBdjhUVFl+5tp2rr2ln1y43hw7qjBodZ8TI8h9qe7Aro8cqW1PXX+see3v5VZb8vlhqI3ynZ937+aMx2ntFmZQFiXBxrUjTkz1i8tTwoAgfYPO76fVkOhslQXjo8H97FOAW61Gg70XTflDtHo/fmZ48ZZjwzSVhzF4NJxowbG5I5cGevSYb3kk3ew7NtrBIVDOc/3v4okcByQ8cqOyUhDwxpmJ21rkL7+2xuPXuVMqhZUI0UNRQM6hYcV8U00xvKT5nnT3ElXqy93H5aRITkQeKpet3jmKEb3rW/ZfWG9x6T6xnbhALmAV5RION1evirHo1fXbvcdTi0bMztIuB0vS05Kc0BazcsOg5gb6TZwbASN80Kl1js+4/vy7Bd34WxeqWe6jDwLKOPiW8v9vkpmXZbm2dd4pdVWxt2BBMO1MuI7ghSim1pFjqIhr11U14Hdnd9fXNBgtuCxOIJkMT4Q5zUPbE5YvdH1t8+ZYAXRmxLK9jGLWek+2pRORHmR+IyIouuSfUPwIUvWdTFxfH18zH48he5dzZZnHut0L8ebuFEbcIHzKOCiVsfc/gSzd08fGBdC9NEwfHVJ5n05lC8p67/tjHMu9m5Yls3fqYmjjmvLBAc7FVaeKkxn0CocTHJDI2x1kKnnk9wY49Fmd8RkdMC6dHQ0o5BqUEPPlynH/5j2CW3y+iUV91QU6TWgyU4ntPvHx9VrZZTtV66o/9LVDSMSJOzccJQy7p86jIVzcYzPnnIE+sNWhvSxQUMbUDB7sU31sa5MYlwZ5dkr0xxj/bztTEjZ4J43+X64c+m938xqXTLSXrsOF03AORTbQF/9Rnike1X7j9eg/TTnUydlzOY3Vsg2EqHn8hzor7I7Qfyp4YimiMrZjDMO9pdlVpWZac2ddZov32++apy+5FuNYOLmJmJ7u6XiLYT5JUhU9YeL6LGQ1Ozmp04ihgKXPA+uPw9JoYdz0cZeee3HMRh+ZhfNUFVLqOsa1eUL9Z1XrL9X392u8bNjWsGCZY2wBbnGClLA5ENrM3tH7A/PvhQ4QLZrs5b5aT6ac5ilKGUvD2NoNn/xjnidXxnC3+MLyOYdRXX4Rbr+6zTBH4RNeNE59Yf2ufCxYDvlVzw/ILu2fItjVHw4qyL7yBA5HNqBzHEGSiwidMO9XB9FOdnDRB57ixGqPr9KxD+z45aLFzj8l7uyze2pJg3WaDfe39x58EjeG+KYyumInYu1VaKZEvDvTJk7yE2jR12U9EuMEevlKIm53sD2+mI7YV0yp8SbHCJ7hdgmGonGvRA6HGPYFR/ll4HEMKfnYgCKxY2XrzgCeP5TXijZLqW/ZJ5wy7jy526dWMrZzDqIqZtEe2cCDyl4KODwuGFcFwYYIXhCr3cYzwNZTtXAgF693R8G358ZMn5k++c7yl6+sp89cyQom9HIzu4FBsBwnLvtUul17JEPckhnpPwZ2xjGoz9iusaU+1Lt6VT+GC7Hr392JeYRC+mqFQRIwDBOK7CSX2EEy0FWSmNHHgddRR5TqGStcx+JwjB+NjDgEFc59qvXljvg8UzFHT1OXndH+6ZFA/4KCURczsJGZ2EDM7SVhhlDKwlImIhiZOXLofp1aFW6/Go9eW+1jiTMQVND3VevOAB3b3RlFNorlx+eUo9Xs+/V/JswuWKK5YufHmRwt9sCgBrtqw6BGUWgBEByz8j484IlcWI3wo0bfvNkdPgL1bXT89kKAo89JCvxuTRqFUFuZPXdFgifUsYNOa3acG+zSlXfjkxptaSyFSsg1/cuNNraLpjSj5U6m0PjVQvKV0mVmq8MGmY8q2t73YNWrSrAfdCYcCmc0/+sc8Y5GFT2y+zZaEVNsF1dy4tBkl92FTAO8owiei5NqVGxcVnTmSC7Yf1Le9bfX244ed8xvRxSvIND79vUGJkocSyvjC05sW939+QhEoq3DmT13RYGHd/Sn+zO1m0axvrXxrcdnGt7JOpJ7ceFOre8L4mQjXUcJC/+BD7VCKr7qPG99YTuHDIJqHFlq0TVP9FypRLcDUwaq3EAj8FWF5Z0X4D2vWtAxKEuoRsM9Kmhp//DmwrhFFM2U+rzoPRFBqpdL0B5/a8L3nQQY1O+CIDpALGpZUR0W/FKWuEjiTPNcnbICh4HURfudW1uPJvNgjg6PGQznvtOV+r5uZWMxTqHnAFOwdo95HWI1itWY6X+qdIHskcdQoIBPNs5ZWEmaSaNpEhXUiMAmljUVUBclTvmoOn3WkIChwCAiiJKg0tVuU2iFo20TJdstr7lj1xi2Dcih0ofg/Chj0h9J0t9UAAAAASUVORK5CYII=”,t.noImageForAvatarError=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=”,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CollapsiblePanel=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=t.CollapsiblePanel=function(e){
function t(e)(0,i.default)(t)).call(this,e));return n.state=buttonClicked:!1,expanded:!1,n.togglePanel=n.togglePanel.bind(n),nreturn(0,f.default)(t,e),(0,l.default)(t,[key:”togglePanel”,value:function()this.setState(function(e)returnbuttonClicked:!0,expanded:!e.expanded),key:”render”,value:function()var e=this.props,t=e.title,n=e.children,r=e.setCollapsiblePanelRef,o=e.isReply,i=this.context,a=i.WithStatsIncludeCommonLabels,s=i.theme,u=i.noJS,l=s.formatMessage,c=l(“showCollapsiblePanel”,title:t),d=l(“hideCollapsiblePanel”,title:t),m=TYP:o?”reply”:”comment”;return h.default.createElement(“div”,className:”collapsible-panel”,h.default.createElement(a,id:”stats-removed-comment”,labels:label:”removed-comment”,metadata:m,fireOnView:!0,fireOnClick:!this.state.buttonClicked,minimumTimeInView:0,h.default.createElement(“button”,className:(0,g.default)(“collapsible-panel__title”,”collapsible-panel__title–disabled”:u),”aria-hidden”:u?”true”:”false”,disabled:u,ref:r,onClick:this.togglePanel,”aria-label”:this.state.expanded?d:c,”aria-expanded”:this.state.expanded?”true”:”false”,t)),this.state.expanded&&h.default.createElement(“div”,className:(0,g.default)(“collapsible-panel__content”,”collapsible-panel__content-no-separator”:o),n))]),t}(p.Component);v.displayName=”CollapsiblePanel”,v.propTypes=title:p.PropTypes.string.isRequired,children:p.PropTypes.node.isRequired,setCollapsiblePanelRef:p.PropTypes.func,isReply:p.PropTypes.bool,v.defaultProps=isReply:!1,v.contextTypes=noJS:p.PropTypes.bool.isRequired,WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentLinks=t.getCommentLinks=void 0;var o=n(149),i=r(o),a=n(2),s=r(a),u=n(99),l=r(u),c=n(177),d=n(178),m=n(179),f=r(m),p=n(180),h=n(159),y=n(181),g=n(182),v=r(g),_=function(e)var t=e.commentData,n=e.commentAdminLinks,r=void 0===n?:n,o=e.isUserAnEditor,a=void 0!==o&&o,u=e.isFeatureEnabled,l=t.status===f.default.PASS,c=(0,h.not)(t.author.isNotable),d=l&&(c,b=function(e)s;return l.default.createElement(“div”,null,o&&l.default.createElement(c.ActionLinks,className:”action-links–comment-links”,l.default.createElement(c.ActionLink,href:o,icon:l.default.createElement(v.default,height:13,width:13,alignBaseline:!0),className:”action-link–report”,”Report this comment”)),u&&l.default.createElement(c.ActionLinks,className:”action-links–admin-links”,a&&l.default.createElement(c.ActionLink,href:a,className:”action-link–makeTopPick”,”Make “,l.default.createElement(d.A11yText,contents:”comment number “+t+” “),”Editor’s Pick”),i&&l.default.createElement(c.ActionLink,href:i,className:”action-link–viewModerationHistory”,l.default.createElement(d.A11yText,contents:”View “),”Moderation History”,l.default.createElement(d.A11yText,contents:” for comment number “+t)),s&&l.default.createElement(c.ActionLink,href:s,className:”action-link–memberDetails”,l.default.createElement(d.A11yText,contents:”View “),”Member Details”,l.default.createElement(d.A11yText,contents:” for “+r))));b.propTypes=commentLinks:u.PropTypes.shape(reportCommentUrl:u.PropTypes.string,viewModerationHistoryUrl:u.PropTypes.string,makeTopPickUrl:u.PropTypes.string,memberDetailsUrl:u.PropTypes.string),commentNumber:u.PropTypes.number.isRequired,authorDisplayName:u.PropTypes.string.isRequired,b.defaultProps=commentLinks:,t.getCommentLinks=_,t.CommentLinks=b,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ActionLinks=t.ActionLink=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=t.ActionLink=function(e)var t=e.href,n=e.className,r=e.children,o=e.icon,a=void 0===o?null:o;return i.default.createElement(“a”,className:(0,s.default)(“action-link”,n),href:t,a&&i.default.createElement(“span”,className:”action-link__icon”,”aria-hidden”:”true”,a),i.default.createElement(“span”,className:”action-link__text”,r));u.displayName=”ActionLink”,u.propTypes=className:o.PropTypes.string,href:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),icon:o.PropTypes.object;var l=t.ActionLinks=function(e)var t=e.children,n=e.className,r=Array.isArray(t)?t:[t];return 0===r.length?i.default.createElement(“noscript”,null):i.default.createElement(“ul”,className:(0,s.default)(“action-links”,n),r.filter(function(e)return Boolean(e)).map(function(e,t)var n=0!==t;return i.default.createElement(“li”,key:t,className:(0,s.default)(“action-links__item”,”action-links__item–with-separator”:n),e)));l.displayName=”ActionLinks”,l.propTypes=children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.A11yText=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=t.A11yText=function(e){function t(e)(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__return(0,f.default)(t,e),(0,l.default)(t,[key:”componentDidUpdate”,value:function(e)e.contents!==this.props.contents;this.props.timeout>0&&n&&(this.messageTimeout&&clearTimeout(this.messageTimeout),this.setState(showText:!0),this.messageTimeout=setTimeout(function()t.setState(showText:!1),this.props.timeout)),key:”componentWillUnmount”,value:function()clearTimeout(this.messageTimeout),key:”getCurrentA11yContents”,value:function()return this.state.showText?this.props.contents:” “,key:”render”,value:function()return h.default.createElement(“span”,className:”comment__hidden-text”,this.getCurrentA11yContents())]),t}(p.Component);y.displayName=”A11yText”,y.propTypes=contents:p.PropTypes.node.isRequired,timeout:p.PropTypes.number,y.defaultProps=timeout:0},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);var n=”pass”,r=”fail”,o=”refer”,i=”unknown”;t.default=PASS:n,FAIL:r,REFER:o,UNKNOWN:i,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(121),i=r(o),a=n(124),s=r(a),u=n(157),l=r(u),c=n(160),d=r(c),m=n(162),f=n(163),p=n(161);t.default={getAdminLinks:function(e){var t=this,n=e.apiKey,r=e.forumId;return(0,s.default)(i.default.mark(function e(){var o;return i.default.wrap(function(e)for(;;)switch(e.prev=e.next)case 0:return e.next=2,(0,f.refreshToken)();case 2:return e.next=4,l.default.get(d.default.getAdminLinksUrl(env:(0,m.getEnv)(),forumId:r),headers:”x-api-key”:n);case 4:return o=e.sent,e.abrupt(“return”,forumAdminLinks:o.forumLinks,commentAdminLinks:o.commentLinks);case 6:case”end”:return e.stop(),e,t)}))()},formatCommentLinkUrlTemplate:function(e,t)return e.replace(“commentId”,t.id).replace(“userId”,t.author.userId).replace(“pageUrl”,function()return encodeURIComponent((0,p.getClientLocation)())),formatForumAdminLinkUrlTemplate:function(e)return e.replace(“pageTitle”,function()return encodeURIComponent((0,p.getPageTitle)())).replace(“pageUrl”,function()return encodeURIComponent((0,p.getClientLocation)()))},e.exports=t.default},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)var t=(0,a.default)(u).reduce(function(t,n)var r=u[n];return t[r]=e&&Boolean(e[r]),t,);returnisFeatureEnabled:function(e)Object.defineProperty(t,”__esModule”,value:!0),t.FeaturesToggles=void 0;var i=n(149),a=r(i);t.setupFeatureToggles=o;var s=n(162),u=t.FeaturesToggles=downRatings:”downRatings”,ratings:”ratings”,makeTopPick:”makeTopPick”,liveUpdate:”liveUpdate”,replies:”replies”,sort:”sort”,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function(e)var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r,a=e.alignToBaseline,s=void 0!==a&&a;return i.default.createElement(“span”,className:”alert-icon”,i.default.createElement(“svg”,xmlns:”http://www.w3.org/2000/svg”,width:o,height:n,viewBox:”0 0 32 “+(s?30:32),i.default.createElement(“path”,d:”M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z”)));a.displayName=”Alert”,a.propTypes=height:o.PropTypes.number,width:o.PropTypes.number,alignToBaseline:o.PropTypes.bool,t.default=a,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentFooter=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=n(153),_=n(179),b=r(_),T=n(184),C=r(T),E=n(185),P=n(187),S=n(198),w=n(176),O=n(205),x=r(O),M=n(154),R=n(206),I=n(196),N=r(I),k=t.CommentFooter=function(e){function t(e)(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__return(0,f.default)(t,e),(0,l.default)(t,[key:”setCurrentSelectedRatingType”,value:function(e)this.setState(function()returncurrentSelectedRatingType:e),key:”toggleActionTray”,value:function()this.setState(function(e)returnisReplyTrayOpen:!1,isActionTrayOpen:!e.isActionTrayOpen),key:”cancelInput”,value:function()this.toggleReplyTray(!0),key:”getReplyInputStatId”,value:function()return”reply-input-“+this.props.commentData.id,key:”toggleReplyTray”,value:function()var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.replyButtonElement&&(0,v.focusOnElement)(this.replyButtonElement),this.state.isReplyTrayOpen&&this.context.canSendStat(this.getReplyInputStatId(),N.default.commentInput)&&this.context.setStatSent(this.getReplyInputStatId(),N.default.commentInput),this.setState(function(e)returnisActionTrayOpen:!1,isReplyTrayOpen:!e.isReplyTrayOpen,shouldReplyTrayRender:!0),e&&(this.setState(function()returnshouldReplyTrayRender:!1),this.context.setA11yAlertText(this.context.theme.formatMessage(“clearReplyMessage”))),key:”replyButtonArea”,value:function(e,t,n,r)var o=this,i=null;return r&&t&&(i=h.default.createElement(“div”,className:”comment__reply-button”,h.default.createElement(E.ReplyButton,setReplyButtonRef:function(e)return o.replyButtonElement=e,onClick:function()return o.toggleReplyTray(!1),replyTo:e.author.displayName,isReplyTrayOpen:n))),i,key:”getReplyInputWrapper”,value:function(e,t,n,r,o,i,a,s)return h.default.createElement(P.ReplyInputWrapper,isReplyTrayOpen:a,isCommentWithReplies:(0,R.hasReplies)(t,this.context.isFeatureEnabled),isReplyToReply:n,cancelInput:this.cancelInput,inputTextLimit:r,inputModerationStatus:o,replyTo:t.author.displayName,idctaData:i,signinPrompt:this.context.theme.formatMessage(“signInPrompt”,),commentData:t,forumId:e,instanceId:s),{key:”replyInputArea”,value:function(e,t,n,r,o,i,a,s,u,l)var c=null,d=this.context.WithStatsIncludeCommonLabels,m=l&&n&&u,f=this.getReplyInputStatId(),p=this.context.canSendStat(f,N.default.commentInput)&&m&&s,y=this.context.getInstanceId(f),g=”stats-comments-input-“+t.id+”-“+y,v=m?this.getReplyInputWrapper(e,t,r,o,i,a,s,y):h.default.createElement(“div”,null);return c=h.default.createElement(“div”,id:”reply”,h.default.createElement(d,id:g,key:g,labels:label:N.default.commentInput,metadata:TYP:”reply”,fireOnView:p,minimumTimeInView:0,v))},key:”commentRatingContainer”,value:function(e,t,n,r,o)return h.default.createElement(“div”,className:”comment__ratings”,h.default.createElement(S.CommentRatingContainer,idctaData:t,isReply:o,isRatingEnabled:n,commentData:e,ratingValue:e.rating.positive,forumId:r,postRatingFunction:M.postRating,ratingType:C.default.POSITIVE,iconType:”Upvote”,isSelected:this.state.currentSelectedRatingType===C.default.POSITIVE,setCurrentSelectedRatingType:this.setCurrentSelectedRatingType)),key:”commentDownRatingContainer”,value:function(e,t,n,r,o)return h.default.createElement(“div”,className:”comment__down-ratings”,h.default.createElement(S.CommentRatingContainer,idctaData:t,isReply:o,isRatingEnabled:n,commentData:e,ratingValue:Math.abs(e.rating.negative),forumId:r,postRatingFunction:M.postNegativeRating,ratingType:C.default.NEGATIVE,iconType:”Downvote”,isSelected:this.state.currentSelectedRatingType===C.default.NEGATIVE,setCurrentSelectedRatingType:this.setCurrentSelectedRatingType)),key:”commentLinksToggle”,value:function(e,t)var n=null;return e&&(n=h.default.createElement(“button”,onClick:this.toggleActionTray,className:(0,g.default)(“comment__links-toggle”,”comment__links-toggle–enabled”:t),”aria-label”:t?”Hide comment links”:”Show comment links”,”aria-expanded”:t?”true”:”false”,h.default.createElement(x.default,null))),n,key:”commentLinksArea”,value:function(e,t,n,r)var o=null;return e&&t&&(o=h.default.createElement(“div”,className:”comment__action-tray”,h.default.createElement(w.CommentLinks,commentLinks:n,commentNumber:r.index+1,authorDisplayName:r.author.displayName))),o,key:”repliesSeparatorArea”,value:function(e)var t=null;return(0,R.hasReplies)(e,this.context.isFeatureEnabled)&&!this.state.isReplyTrayOpen&&(t=h.default.createElement(“div”,className:”reply-separator”)),t,key:”render”,value:function()_,T=h.default.createElement(“div”,null,b&&h.default.createElement(“div”,className:”comment__footer”,this.replyButtonArea(t,y,f,u),h.default.createElement(“div”,className:”comment__toolbar”,this.replyInputArea(l,t,y,r,o,i,a,f,p,u),h.default.createElement(“div”,className:”comment__toolbar-section comment__toolbar-section–right”,g&&this.commentRatingContainer(t,a,s,l,r),v&&this.commentDownRatingContainer(t,a,s,l,r),this.commentLinksToggle(_,m))),this.commentLinksArea(_,m,n,t)),h.default.createElement(“div”,null,this.repliesSeparatorArea(t)));return T]),t}(p.Component);k.displayName=”CommentFooter”,k.propTypes=commentData:p.PropTypes.shape(index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape(reportUrl:p.PropTypes.string.isRequired),children:p.PropTypes.arrayOf(p.PropTypes.shape(text:p.PropTypes.string,distressMessage:p.PropTypes.bool)),author:p.PropTypes.shape(userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]).isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.oneOfType([p.PropTypes.shape(positive:p.PropTypes.number.isRequired),p.PropTypes.shape(negative:p.PropTypes.number.isRequired)]),status:p.PropTypes.oneOf([b.default.FAIL,b.default.PASS,b.default.REFER,b.default.UNKNOWN])).isRequired,commentLinks:p.PropTypes.shape(reportCommentUrl:p.PropTypes.string,viewModerationHistoryUrl:p.PropTypes.string,makeTopPickUrl:p.PropTypes.string,memberDetailsUrl:p.PropTypes.string,hasLinks:p.PropTypes.Boolean),isReply:p.PropTypes.bool,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string,idctaData:p.PropTypes.object.isRequired,isRatingEnabled:p.PropTypes.bool,userCanPostToForum:p.PropTypes.bool,forumId:p.PropTypes.string.isRequired,isReplyTrayOpen:p.PropTypes.bool,isActionTrayOpen:p.PropTypes.bool,isParentCommentRemoved:p.PropTypes.bool,k.defaultProps=isReplyTrayOpen:!1,isReply:!1,k.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired,WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,canSendStat:p.PropTypes.func.isRequired,setStatSent:p.PropTypes.func.isRequired,getInstanceId:p.PropTypes.func.isRequired},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);var n=”positive”,r=”negative”;t.default=POSITIVE:n,NEGATIVE:r,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ReplyButton=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=n(186),_=r(v),b=t.ReplyButton=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.className,n=e.onClick,r=e.replyTo,o=e.isReplyTrayOpen,i=e.setReplyButtonRef,a=r?this.context.theme.formatMessage(“replyTo”)+” “+r:””+this.context.theme.formatMessage(“replyComment”),s=o?””+this.context.theme.formatMessage(“closeReply”):a,u=o;return h.default.createElement(“div”,className:”reply-button-wrapper”,h.default.createElement(“button”,ref:i,className:(0,g.default)(“reply-button”,t),”aria-label”:s,”aria-expanded”:u,onClick:n,h.default.createElement(“span”,className:”reply-button__icon”,h.default.createElement(_.default,iconName:”comments”,additionalClassNames:”reply-button__icon-gel”)),h.default.createElement(“span”,className:”reply-button__text”,”Reply”)))]),t(p.Component);b.displayName=”ReplyButton”,b.propTypes=className:p.PropTypes.string,onClick:p.PropTypes.func,replyTo:p.PropTypes.string,isReplyTrayOpen:p.PropTypes.bool,setReplyButtonRef:p.PropTypes.func,b.defaultProps=isReplyTrayOpen:!1,b.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t)e.exports=Morph.modules[“bbc-morph-gel-icons@4.0.0”],function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ReplyInputWrapper=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(188),g=n(189),v=n(147),_=r(v),b=n(154),T=t.ReplyInputWrapper=function(e){function t(e)return(0,f.default)(t,e),(0,l.default)(t,[key:”getIdctaData”,value:function()return this.props.idctaData,key:”isSignedIn”,value:function()return this.getIdctaData().signedIn===!0,key:”isEligibleToComment”,value:function()return Boolean(this.getIdctaData().policyCheck)===!1,key:”postCommentHandler”,value:function(e)var t=this.context.apiKey,n=this.props.commentData,r=n.id,o=n.commentId,i=this.props.forumId;return(0,b.postReply)(apiKey:t,forumId:i,replyText:e,id:r,commentId:o),key:”render”,value:function()var e=this.props,t=e.isCommentWithReplies,n=e.isReplyToReply,r=e.signinPrompt,o=e.replyTo,i=e.cancelInput,a=e.inputTextLimit,s=e.inputModerationStatus,u=e.isReplyTrayOpen,l=e.commentData,c=e.instanceId,d=(0,_.default)(“reply”,”reply-to-reply”:n,”reply-input-hidden”:!u);return h.default.createElement(“div”,className:d,!this.isSignedIn()&&h.default.createElement(“div”,className:”reply__signin”,h.default.createElement(“p”,className:”reply__signin–prompt”,r),h.default.createElement(y.IdctaSignInButton,markup:this.getIdctaData().signInButton)),this.isSignedIn()&&h.default.createElement(“div”,className:”reply__signedin”,!this.isEligibleToComment()&&h.default.createElement(“div”,className:”reply__signedin-ineligible”,dangerouslySetInnerHTML:__html:””+this.getIdctaData().signedInMessage),this.isEligibleToComment()&&h.default.createElement(“div”,className:”reply__signedin-eligible”,h.default.createElement(“p”,className:”reply__signedin-eligible-header”,”Your reply to “,o),h.default.createElement(g.CommentsInput,commentInputClass:”reply-input”,buttonsWrapperClass:”reply-input-buttons-wrapper”,cancelInput:i,isDisabled:!1,textLimit:a,moderationStatus:s,createForum:!1,postCommentHandler:this.postCommentHandler,isReply:!0,id:l.id,instanceId:c))),t&&h.default.createElement(“div”,className:”replies-separator”))]),t}(p.Component);T.displayName=”ReplyInputWrapper”,T.propTypes=isReplyTrayOpen:p.PropTypes.bool,isCommentWithReplies:p.PropTypes.oneOfType([p.PropTypes.bool,p.PropTypes.array]),isReplyToReply:p.PropTypes.bool,idctaData:p.PropTypes.object,signinPrompt:p.PropTypes.string,replyTo:p.PropTypes.string,cancelInput:p.PropTypes.func,inputTextLimit:p.PropTypes.number,inputModerationStatus:p.PropTypes.string,commentData:p.PropTypes.object.isRequired,forumId:p.PropTypes.string.isRequired,instanceId:p.PropTypes.number,T.defaultProps=signinPrompt:””,idctaData:signedIn:!1,policyCheck:!1,isReplyTrayOpen:!1,instanceId:1,T.contextTypes=apiKey:p.PropTypes.string.isRequired},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.IdctaSignInButton=void 0;var o=n(99),i=r(o),a=t.IdctaSignInButton=function(e)var t=e.markup;return i.default.createElement(“div”,className:”comments__idcta-btn”,dangerouslySetInnerHTML:__html:t);a.displayName=”IdctaSignInButton”,a.propTypes=markup:o.PropTypes.string,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsInput=void 0;var o=n(44),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(147),_=r(v),b=n(168),T=n(190),C=n(191),E=r(C),P=n(165),S=n(193),w=n(194),O=n(153),x=n(196),M=r(x),R=n(197),I=t.CommentsInput=function(e){function t(e)(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__return(0,h.default)(t,e),(0,d.default)(t,[key:”componentDidMount”,value:function()this.props.instanceId>1&&this.showPostSuccessMessage(),key:”isPostCommentButtonDisabled”,value:function()this.state.isSubmittingComment,key:”isInputBoxEmpty”,value:function()return 0===this.state.inputText.trim().length,key:”focusHandler”,value:function()var e=this.state.isInputFocused;this.setState(isInputFocused:!e),key:”getCommentType”,value:function()return this.props.isReply?”reply”:”comment”,key:”setCommentAlert”,value:function(e,t)this.setState(commentAlert:type:e,message:t),key:”getRemainingCharactersMessage”,value:function(e)var t=this.props.textLimit-e;if(e>this.props.textLimit)var n=e-this.props.textLimit;return this.context.theme.formatMessage(“overCharacterLimitMessage”,excessCharacters:n)return ethis.props.textLimit&&this.context.setA11yAlertText(r),this.state.inputLength>this.props.textLimit&&nthis.props.textLimit,key:”getRemainingCharacters”,value:function()return this.props.textLimit-this.state.inputLength,key:”resetInputBox”,value:function()this.commentsInput&&(0,O.focusOnElement)(this.commentsInput),this.setState(inputText:””,inputLength:0,hasInputChanged:!1,remainingCharactersMessage:this.getRemainingCharactersMessage(0)),key:”handlePostCommentErrors”,value:function(e)var t=(0,S.getMessageKeyForError)(e),n=this.context.theme.formatMessage(t);if(this.context.canSendStat(this.getStatId(),M.default.commentPostError))var r=commentType:this.getCommentType(),length:this.state.inputLength,errorType:e;(0,R.sendCommentPostErrorStat)(this.context,r),this.context.setStatSent(this.getStatId(),M.default.commentPostError)this.setCommentAlert(T.AlertTypes.ERROR,n),this.context.setA11yAlertText(n),key:”getSuccessIcon”,value:function(e)return e===T.AlertTypes.SUCCESS?this.context.theme.getIcon(“SuccessIcon”):null,key:”showPostSuccessMessage”,value:function()var e=(0,w.getPostCommentSuccessMessageKey)(this.props.moderationStatus),t=this.context.theme.formatMessage(e);this.setCommentAlert(T.AlertTypes.SUCCESS,t),this.context.setA11yAlertText(t),{key:”formOnSubmit”,value:function(e){var t=this;e.preventDefault();var n=this.state.inputText;if(this.context.canSendStat(this.getStatId(),M.default.commentPost)&&(this.context.setStatSent(this.getStatId(),M.default.commentPost),(0,R.sendCommentPostStat)(this.context,this.getCommentType(),this.state.inputLength)),this.setState(isSubmittingComment:!0),this.isInputBoxEmpty())this.handlePostCommentErrors(P.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED);elsevar r=this.props.postCommentHandler;r(n).then(function()t.resetInputBox(),t.showPostSuccessMessage(),t.context.clearStatsSent(t.getStatId()),t.setState(function(e)returnstatIndex:e.statIndex+1,createForum:!1)).catch(function(e)t.handlePostCommentErrors(e)).then(function()t.setState(isSubmittingComment:!1))}},key:”hasTextLimit”,value:function()return(0,i.default)(this.props.textLimit),key:”postCommentButtonText”,value:function()return this.context.theme.formatMessage(“postCommentButtonText”),key:”cancelInput”,value:function()this.context.setStatSent(this.getStatId(),M.default.commentInput),this.context.canSendStat(this.getStatId(),M.default.commentCancel)&&(this.context.setStatSent(this.getStatId(),M.default.commentCancel),(0,R.sendCommentCancelStat)(this.context,this.getCommentType(),this.state.inputLength)),this.props.cancelInput?this.props.cancelInput():(this.resetInputBox(),this.context.setA11yAlertText(this.context.theme.formatMessage(“clearCommentMessage”))),key:”getStatId”,value:function()return this.props.isReply?”reply-input-“+this.props.id:”comment-input”,key:”render”,value:function()var e=this,t=this.state.hasInputChanged&&this.state.inputLength>0;return g.default.createElement(“div”,className:this.props.commentInputClass,this.state.commentAlert&&g.default.createElement(b.CommentsAlert,type:this.state.commentAlert.type,Icon:this.getSuccessIcon(this.state.commentAlert.type),this.state.commentAlert.message),g.default.createElement(“form”,onSubmit:this.formOnSubmit,className:”comments__input”,g.default.createElement(“div”,className:”comments__input-area”,g.default.createElement(E.default,className:(0,_.default)(“comments-input-box”,”comments-input-box–focused”:this.state.isInputFocused,”comments-input-box–has-input”:t),useCacheForDOMMeasurements:!0,value:this.state.inputText,placeholder:”Add your comment…”,minRows:1,maxRows:8,onFocus:this.focusHandler,onBlur:this.focusHandler,onChange:this.inputBoxOnChange,ref:function(t)return e.commentsInput=t,”aria-label”:this.state.remainingCharactersMessage),this.hasTextLimit()&&this.state.hasInputChanged&&g.default.createElement(b.CommentsTextLimit,remainingCharacters:this.getRemainingCharacters(),isTextOverLimit:this.isTextOverLimit(),textLimit:this.props.textLimit,inputText:this.state.inputText,remainingCharactersMessage:this.state.remainingCharactersMessage)),t&&g.default.createElement(“div”,className:this.props.buttonsWrapperClass,g.default.createElement(b.CommentsButton,type:”submit”,className:”comments__submit-button”,isDisabled:this.isPostCommentButtonDisabled(),this.postCommentButtonText()),g.default.createElement(“button”,type:”button”,className:”comments__cancel-link”,onClick:this.cancelInput,”aria-label”:this.context.theme.formatMessage(“clearCommentButtonText”),”Cancel”))))]),t}(y.Component);I.displayName=”CommentsInput”,I.propTypes=commentInputClass:y.PropTypes.string,buttonsWrapperClass:y.PropTypes.string,textLimit:y.PropTypes.number,moderationStatus:y.PropTypes.string.isRequired,createForum:y.PropTypes.bool.isRequired,isDisabled:y.PropTypes.bool,cancelInput:y.PropTypes.func,postCommentHandler:y.PropTypes.func.isRequired,isReply:y.PropTypes.bool,id:y.PropTypes.oneOfType([y.PropTypes.number,y.PropTypes.bool]),instanceId:y.PropTypes.number,I.contextTypes=apiKey:y.PropTypes.string.isRequired,forumId:y.PropTypes.string.isRequired,isFeatureEnabled:y.PropTypes.func.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,theme:y.PropTypes.shape(formatMessage:y.PropTypes.func.isRequired,getIcon:y.PropTypes.func.isRequired).isRequired,logImpressionEventWithCommonLabels:y.PropTypes.func.isRequired,logClickEventWithCommonLabels:y.PropTypes.func.isRequired,canSendStat:y.PropTypes.func.isRequired,setStatSent:y.PropTypes.func.isRequired,clearStatsSent:y.PropTypes.func.isRequired,I.defaultProps=commentInputClass:””,buttonsWrapperClass:””,isReply:!1,id:!1,instanceId:1},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsAlert=t.AlertTypes=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=(t.AlertTypes=ERROR:”error”,SUCCESS:”success”,t.CommentsAlert=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.type,n=e.role,r=e.children,o=e.Icon;return h.default.createElement(“div”,role:n,className:”comments__alert”
,h.default.createElement(“div”,className:”comments-“+t+”-message”,o&&h.default.createElement(“div”,className:”comments-success-message-icon”,h.default.createElement(o,null)),h.default.createElement(“div”,className:”comments-success-message-text”,r)))]),t(p.Component));y.displayName=”CommentsAlert”,y.propTypes=type:p.PropTypes.string.isRequired,role:p.PropTypes.string,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),Icon:p.PropTypes.func},function(e,t,n),m=n(99),f=r(m),p=n(192),h=r(p),y=function(),g=function(e)null!==i)s.value="";var” h=”s.scrollHeight-u;null!==n&&(m=h*n,"border-box"===c&&(m=m+u+l),p=Math.max(m,p)),null!==i&&(f=h*i,"border-box"===c&&(f=f+u+l),p=Math.min(f,p))returnheight:p,minHeight:m,maxHeight:ffunction” r.errortypes.token_refresh_failed:case=”” r.errortypes.idcta_failed:return=”” r.errortypes.posting_empty_comments_not_allowed:return=”” r.errortypes.profanity_found_in_text:return=”” r.errortypes.posting_to_closed_forum:return=”” r.errortypes.comment_not_found:case=”” r.errortypes.reply_not_found:case=”” r.errortypes.discussion_not_found:case=”” r.errortypes.more_comments_failed:case=”” r.errortypes.id_unavailable:case=”” r.errortypes.unknown_error:default:return=”” i.default.pre_moderated:return=”” i=”” c=”” d=”” f=”” p=”” y=”” g=”” v=”” _=”” b=”” r.state=”hasError:!1,tooltipText:o,isSendingRating:!1,r.ratingErrorHandler=r.ratingErrorHandler.bind(r),r.handleClick=r.handleClick.bind(r),r.tooltipCloseHandler=r.tooltipCloseHandler.bind(r),r}return(0,g.default)(t,e),(0,f.default)(t,[{key:"render",value:function()this.state.hasError)var” _.default.createelement=”” this.rendercommentrating=”” this.props.idctadata.signedin=”” t.apply=”” i.default.wrap=”” e.abrupt=”” e.stop=”” e.next=”4,this.sendReactionStat();case” n.state=”isTooltipOpen:e.isTooltipOpen,n.openTooltip=n.openTooltip.bind(n),n.closeToolTip=n.closeToolTip.bind(n),nreturn(0,f.default)(t,e),(0,l.default)(t,[key:"render",value:function()var” h.default.createelement=”” e.commenttooltip=”t,h.default.createElement("span",className:"comment-tooltip__pointer",style:s),h.default.createElement("div",className:"comment-tooltip__inner",h.default.createElement("div",className:"comment-tooltip__content",h.default.createElement("p",tabIndex:"0",className:(0,E.default)("comment-tooltip__subtitle","comment-tooltip__subtitle–alert":i),"aria-label":n,ref:function(t)return” e.commenttooltipsubtitle=”t,i&&h.default.createElement(_.default,null),n),h.default.createElement("div",className:"comment-tooltip__body",r),h.default.createElement("button",onClick:o,className:"comment-tooltip__close",title:"Close","aria-label":"Close” tooltip=””>0)var t=e+P;this.setState(tooltipCssLeft:-t,tooltipPointCssLeft:t)]),t}(p.Component);S.displayName=”Tooltip”,S.propTypes=subtitle:p.PropTypes.string.isRequired,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),handleClose:p.PropTypes.func.isRequired,isAlert:p.PropTypes.bool,shouldAutoFocus:p.PropTypes.bool,S.defaultProps=isAlert:!1,shouldAutoFocus:!0},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function(e)var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement(“svg”,viewBox:”0 0 32 32″,id:”gel-icon-no”,width:o,height:n,i.default.createElement(“path”,d:”M32 3.5L28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32l3.5-3.5L19.5 16″));a.displayName=”Close”,a.propTypes=height:o.PropTypes.number,width:o.PropTypes.number,t.default=a,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentRating=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=n(203),l=r(u),c=n(184),d=r(c),m=n(204),f=r(m),p=t.CommentRating=function(e,t)var n=e.ratingType,r=e.Icon,o=e.isDisabled,a=e.isSendingRating,u=e.hasRatedComment,c=e.ratingValue,d=e.handleClick,m=e.numberPlacement,p=t.theme.formatMessage,h=i.default.createElement(“div”,className:”comment-rating__button-number”,c),y=function()var e=p(n+”RatedComment”),t=p(n+”RatingsCount”,rateCount:c+1),r=e+”. “+t;d(ratingStatusText:r),g=function(e)var t=p(u?n+”RatedComment”:n+”RateComment”),r=p(n+”RatingsCount”,rateCount:e);return t+”. “+r;return i.default.createElement(“div”,className:”comment-rating”,i.default.createElement(“button”,className:(0,s.default)(“comment-rating__button”,”comment-rating__button–“+n,”comment-rating__button–number-placement-“+m,”comment-rating__button–posted”:u),disabled:o,”aria-label”:g(c),onClick:y,m===l.default.LEFT&&h,i.default.createElement(“div”,className:”comment-rating__button-icon”,a?i.default.createElement(f.default,null):i.default.createElement(r,null)),m===l.default.RIGHT&&h));p.displayName=”CommentRating”,p.propTypes=ratingType:o.PropTypes.oneOf([d.default.POSITIVE,d.default.NEGATIVE]),Icon:o.PropTypes.func.isRequired,ratingValue:o.PropTypes.number.isRequired,isDisabled:o.PropTypes.bool,isSendingRating:o.PropTypes.bool.isRequired,hasRatedComment:o.PropTypes.bool,handleClick:o.PropTypes.func.isRequired,numberPlacement:o.PropTypes.oneOf([l.default.LEFT,l.default.RIGHT]),p.defaultProps=numberPlacement:l.default.RIGHT,p.contextTypes=theme:o.PropTypes.shape(formatMessage:o.PropTypes.func),function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);var n=”left”,r=”right”;t.default=LEFT:n,RIGHT:r,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function(e)var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement(“svg”,className:”loading-spinner”,xmlns:”http://www.w3.org/2000/svg”,width:n,height:o,viewBox:”0 0 32 32″,i.default.createElement(“path”,d:”M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z”));a.displayName=”LoadingSpinner”,a.propTypes=height:o.PropTypes.number,width:o.PropTypes.number,t.default=a,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function()return i.default.createElement(“div”,className:”more-icon-vertical”,i.default.createElement(“svg”,xmlns:”http://www.w3.org/2000/svg”,width:”32″,height:”32″,viewBox:”0 0 32 32″,i.default.createElement(“rect”,x:”12″,width:”8″,height:”8″),i.default.createElement(“rect”,x:”12″,y:”12″,width:”8″,height:”8″),i.default.createElement(“rect”,x:”12″,y:”24″,width:”8″,height:”8″)));a.displayName=”MoreIconVertical”,a.propTypes=,t.default=a,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)return!e.distressMessagefunction i(e)return e.status===E.default.PASSfunction a(e)var t=!e.author.isNotable;return t&&o(e)function s(e)return e.status===E.default.FAILfunction u(e,t,n)switch(e.status)case E.default.FAIL:return n(“removedComment”,rulesUrl:t);case E.default.REFER:return n(“referredComment”,rulesUrl:t);case E.default.PASS:default:return e.textfunction l(e,t,n)return g(t)&&i(e)&&o(e)&&!nfunction c(e,t)return h(t)&&i(e)&&a(e)function d(e,t)return y(t)&&i(e)&&a(e)function m(e)return e.isEditor===!0function f(e,t)return p(e,t)&&e.displayNameModerationStatus===b.default.FAILED_OR_AWAITINGfunction p(e,t)return e.userId===t.author.userIdfunction h(e)return e(T.FeaturesToggles.ratings)function y(e)return e(T.FeaturesToggles.downRatings)function g(e)return e(T.FeaturesToggles.replies)function v(e,t)return g(t)&&e.totalReplies>0Object.defineProperty(t,”__esModule”,value:!0),t.isNotDistressMessage=o,t.commentPassedModeration=i,t.isNormalComment=a,t.isRemovedComment=s,t.getCommentTextToDisplay=u,t.canReplyComment=l,t.canRateComment=c,t.canDownRateComment=d,t.isUserAnEditor=m,t.shouldShowDisplayNameModerationWarning=f,t.isAuthoredByCurrentUser=p,t.isRatingsFeatureEnabled=h,t.isDownRatingsFeatureEnabled=y,t.isRepliesFeatureEnabled=g,t.hasReplies=v;var _=n(207),b=r(_),T=n(181),C=n(179),E=r(C),function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);var n=”passed”,r=”failedOrAwaiting”,o=0:n,1:r,2:r,3:n,4:r;t.toDisplayNameStatus=function(e)return o[e];t.default=PASSED:n,FAILED_OR_AWAITING:r,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentDistressText=void 0;var o=n(99),i=r(o),a=t.CommentDistressText=function(e,t)var n=e.commentDistressText,r=t.theme;return i.default.createElement(“div”,className:”comment–distress”,r.getComponent(“distressMessageFlag”),i.default.createElement(“p”,dangerouslySetInnerHTML:__html:n));a.displayName=”CommentDistressText”,a.propTypes=commentDistressText:o.PropTypes.string.isRequired,a.contextTypes=theme:o.PropTypes.shape(getComponent:o.PropTypes.func.isRequired),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)var t=e.commentData,n=e.isRepliesList,r=”comment_”+t.id,o=(0,f.default)(“comments-list__item”,”comments-list__item-reply”:n);return u.default.createElement(“li”,className:o,key:r,n?u.default.createElement(c.Reply,e):u.default.createElement(l.Comment,(0,a.default)(,e,focusOn:t.id===e.focusOnCommentId)))Object.defineProperty(t,”__esModule”,value:!0),t.CommentsList=void 0;var i=n(2),a=r(i),s=n(99),u=r(s),l=n(169),c=n(210),d=n(215),m=n(147),f=r(m),p=t.CommentsList=function(e)var t=e.isRepliesList,n=e.comments,r=e.rulesPageUrl,i=e.isRatingEnabled,a=e.userCanPostToForum,s=e.personalisationDetails,l=e.idctaData,c=e.focusOnCommentId,m=e.commentInputTextLimit,p=e.commentInputModerationStatus,h=e.forumId,y=e.repliesPageSize,g=e.firstNewReplyId,v=e.isParentCommentRemoved,_=e.isForumClosed;if(0===n.length)return u.default.createElement(“noscript”,null);var b=n.map(function(e)return o(isRepliesList:t,commentData:e,rulesPageUrl:r,isRatingEnabled:i,userCanPostToForum:a,personalisationDetails:s,idctaData:l,focusOnCommentId:c,commentInputTextLimit:m,commentInputModerationStatus:p,forumId:h,repliesPageSize:y,focusOnMount:e.id===g,isParentCommentRemoved:v,isForumClosed:_)),T=(0,f.default)(“comments-list”,”replies-list-reply-open”:t);return u.default.createElement(“div”,null,u.default.createElement(“div”,className:”comments-list-anchor”),u.default.createElement(d.CSSTransitionGroup,component:”ul”,className:T,transitionName:enter:”comments-list__item–entering-list”,enterActive:”comments-list__item–entered-list”,transitionEnterTimeout:2e3,transitionLeave:!1,b));o.propTypes=focusOnMount:s.PropTypes.bool,isRepliesList:s.PropTypes.bool,rulesPageUrl:s.PropTypes.string,isRatingEnabled:s.PropTypes.bool.isRequired,userCanPostToForum:s.PropTypes.bool.isRequired,personalisationDetails:s.PropTypes.object,idctaData:s.PropTypes.object,focusOnCommentId:s.PropTypes.number,commentData:s.PropTypes.object,commentInputTextLimit:s.PropTypes.number,commentInputModerationStatus:s.PropTypes.string,forumId:s.PropTypes.string.isRequired,repliesPageSize:s.PropTypes.number.isRequired,isForumClosed:s.PropTypes.bool,p.displayName=”CommentsList”,p.propTypes=isRepliesList:s.PropTypes.bool,comments:s.PropTypes.arrayOf(s.PropTypes.shape(id:s.PropTypes.number)).isRequired,firstNewReplyId:s.PropTypes.number,rulesPageUrl:s.PropTypes.string,isRatingEnabled:s.PropTypes.bool.isRequired,userCanPostToForum:s.PropTypes.bool.isRequired,personalisationDetails:s.PropTypes.object,idctaData:s.PropTypes.object,focusOnCommentId:s.PropTypes.number,commentInputTextLimit:s.PropTypes.number,commentInputModerationStatus:s.PropTypes.string,forumId:s.PropTypes.string.isRequired,repliesPageSize:s.PropTypes.number.isRequired,isParentCommentRemoved:s.PropTypes.bool,isForumClosed:s.PropTypes.bool,p.defaultProps=comments:[],function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.Reply=t.ReplyText=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=n(170),_=n(171),b=n(172),T=n(173),C=n(175),E=n(176),P=n(183),S=n(179),w=r(S),O=n(208),x=n(153),M=n(211),R=n(212),I=n(206),N=t.ReplyText=function(e)var t=e.replyText,n=e.replyOfName,r=e.formatMessage,o=e.withPreMessageForSR;return h.default.createElement(“div”,null,o&&h.default.createElement(“span”,className:”comment__hidden-text”,r(“whoReplied”,replyOfName:n)),h.default.createElement(“div”,className:”comment__text”,dangerouslySetInnerHTML:__html:t));N.displayName=”ReplyText”,N.propTypes=replyText:p.PropTypes.string.isRequired,replyOfName:p.PropTypes.string.isRequired,formatMessage:p.PropTypes.func.isRequired,withPreMessageForSR:p.PropTypes.bool,N.defaultProps=replyText:””,withPreMessageForSR:!0;var k=t.Reply=function(e){function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this,t=this.props,n=t.commentData,r=t.personalisationDetails,o=t.commentInputTextLimit,i=t.commentInputModerationStatus,a=t.idctaData,s=t.isRatingEnabled,u=t.userCanPostToForum,l=t.forumId,c=t.rulesPageUrl,d=t.isParentCommentRemoved,m=this.context.theme.formatMessage,f=n.replyTo,p=(0,I.isUserAnEditor)(r),y=r.commentAdminLinks,C=this.context.isFeatureEnabled,S=(0,E.getCommentLinks)(commentData:n,commentAdminLinks:y,isUserAnEditor:p,isFeatureEnabled:C),w=(0,I.canRateComment)(n,C),key:”getCollapsedRemovedReply”,value:function(e)var t=this,n=this.context.theme.formatMessage;return h.default.createElement(C.CollapsiblePanel,title:n(“removedCommentButton”),isReply:!0,setCollapsiblePanelRef:function(e)return t.collapsedRemovedReplyElement=e,e),key:”componentDidMount”,value:function()if(this.props.focusOnMount)var e=(0,I.isRemovedComment)(this.props.commentData),t=e?this.collapsedRemovedReplyElement:this.commentElement;(0,x.focusOnElement)(t)]),t}(p.Component);k.displayName=”Reply”,k.propTypes=focusOnMount:p.PropTypes.bool,commentData:p.PropTypes.shape(index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape(reportUrl:p.PropTypes.string.isRequired),distressMessage:p.PropTypes.shape(text:p.PropTypes.string),author:p.PropTypes.shape(userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]).isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired,description:p.PropTypes.string,avatarUrl:p.PropTypes.string).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.oneOfType([p.PropTypes.shape(positive:p.PropTypes.number.isRequired),p.PropTypes.shape(negative:p.PropTypes.number.isRequired)]),status:p.PropTypes.oneOf([w.default.FAIL,w.default.PASS,w.default.REFER,w.default.UNKNOWN]),replyTo:p.PropTypes.object).isRequired,rulesPageUrl:p.PropTypes.string.isRequired,isRatingEnabled:p.PropTypes.bool,userCanPostToForum:p.PropTypes.bool,personalisationDetails:p.PropTypes.shape(userId:p.PropTypes.oneOfType([p.PropTypes.string,p.PropTypes.number]),displayNameModerationStatus:p.PropTypes.string,displayNameModerationMessage:p.PropTypes.string,displayNameModerationUrl:p.PropTypes.string,isEditor:p.PropTypes.bool,commentAdminLinks:p.PropTypes.shape(report:p.PropTypes.shape(url:p.PropTypes.string.isRequired),viewModerationHistory:p.PropTypes.shape(url:p.PropTypes.string.isRequired),makeTopPick:p.PropTypes.shape(url:p.PropTypes.string.isRequired),memberDetails:p.PropTypes.shape(url:p.PropTypes.string.isRequired))),idctaData:p.PropTypes.object.isRequired,forumId:p.PropTypes.string.isRequired,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string,isParentCommentRemoved:p.PropTypes.bool,k.defaultProps=focusOnMount:!1,personalisationDetails:,isMoreIconIsOpen:!1,replyToComment:displayName:””,text:””,k.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func,getComponent:p.PropTypes.func.isRequired,productLabel:p.PropTypes.string),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ReplySnippet=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=t.ReplySnippet=function(e){function t(e)(0,i.default)(t)).call(this,e));return n.state=isSnippetContentShowing:!1,n.toggleSnippetTray=n.toggleSnippetTray.bind(n),nreturn(0,f.default)(t,e),(0,l.default)(t,[key:”cleanString”,value:function(e)&nbsp/gi,” “).trim(),t=t.replace(/s+/gi,” “).trim(),key:”toggleSnippetTray”,value:function()this.setState(function(e)returnisSnippetContentShowing:!e.isSnippetContentShowing),key:”render”,value:function()var e=this.props,t=e.replyToName,n=e.replyToMsg,r=this.context.theme.formatMessage,o=this.cleanString(n),i=r(“toWho”,replyToName:t),a='”‘,s=r(“replyingTo”,replyToName:t),u=r(“hideSnippetContentLabel”,replyToName:t),l=r(“readSnippetContentLabel”,replyToName:t);return h.default.createElement(“div”,className:”reply-snippet”,h.default.createElement(“div”,className:”reply-snippet__control”,h.default.createElement(“div”,role:”text”,className:”reply-snippet__control–prelink”,”aria-label”:s,h.default.createElement(“span”,”aria-label”:s),h.default.createElement(“span”,className:”reply-snippet__control–prelink-text”,title:t,”aria-hidden”:”true”,i)),h.default.createElement(“button”,className:”reply-snippet__control–link reply-snippet-button”,onClick:this.toggleSnippetTray,”aria-label”:this.state.isSnippetContentShowing?u:l,”aria-expanded”:this.state.isSnippetContentShowing?”true”:”false”,h.default.createElement(“div”,null,a),h.default.createElement(“div”,className:”reply-snippet__control–msg-short”,dangerouslySetInnerHTML:__html:o),h.default.createElement(“div”,null,a))),this.state.isSnippetContentShowing&&h.default.createElement(“div”,className:”reply-snippet__show-content”,h.default.createElement(“div”,className:”reply-snippet__show-content–msg”,dangerouslySetInnerHTML:__html:n)))]),t}(p.Component);y.displayName=”ReplySnippet”,y.propTypes=replyToName:p.PropTypes.string,replyToMsg:p.PropTypes.string,y.defaultProps=replyToName:””,replyToMsg:””,y.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t,n)”use strict”;function r(e)var t=(0,o.moment)(e,o.moment.ISO_8601).tz(i),n=(0,o.moment)().tz(i).startOf(“day”),r=(0,o.moment)().tz(i).startOf(“year”);return t.isAfter(n)?a(t,”HH:mm”,”today at”):t.isAfter(r)?a(t,”HH:mm D MMM”):a(t,”HH:mm D MMM YYYY”)Object.defineProperty(t,”__esModule”,value:!0),t.parseTimestamp=r;var o=n(213),i=”Europe/London”,a=function(e,t)var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:”at”;returntime:e.format(),formattedTimestamp:e.format(t),description:n,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.moment=void 0;var o=n(214),i=r(o);i.default.updateLocale(“en”,relativeTime:future:”in %s”,past:”%s ago”,s:”seconds”,m:”1 minute”,mm:”%d minutes”,h:”1 hour”,hh:”%d hours”,d:”1 day”,dd:”%d days”,M:”1 month”,MM:”%d months”,y:”1 year”,yy:”%d years”),t.moment=i.default,function(e,t,n){!function(t,n)e.exports=n()(“undefined”!=typeof self?self:this,function(){return 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.exportsvar n=;return t.m=e,t.c=n,t.d=function(e,n,r)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=0)([function(e,t,n)0 -10 -20,function(e,t,n)var r,o,i;!function(a,s)”use strict”;o=[n(2)],r=s,i=”function”==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))(this,function(e)”use strict”;function t(e)return e>96?e-87:e>64?e-29:e-48function n(e)””,s=1,u=0,l=1;for(45===e.charCodeAt(0)&&(r=1,l=-1),r;r3)var t=k[g(e)];if(t)return t;S(“Moment Timezone found “+e+” from the Intl api, but did not have that data loaded.”)catch(e)var n,r,o,i=d(),a=i.length,s=p(i),u=[];for(r=0;r0?u[0].zone.name:void 0}function y(e)return M&&!efunction g(e)””).toLowerCase().replace(///g,”_”)function v(e){var t,n,r,o;for(“string”==typeof e&&(e=[e]),t=0;t= 2.6.0. You are using Moment.js “+e.version+”. See momentjs.com”),s.prototype=_set:function(e)this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population,_index:function(e)var t,n=+e,r=this.untils;for(t=0;tr&&w.moveInvalidForward&&(t=r),i= 2.9.0. You are using Moment.js “+e.version+”.”),e.defaultZone=t?_(t):null,e;var U=e.momentProperties;return”[object Array]”===Object.prototype.toString.call(U)?(U.push(“_z”),U.push(“_a”)):U&&(U._z=null),e),function(e,t,n)(function(e)!function(t,n)e.exports=n()(this,function()”use strict”;function t()return xr.apply(null,arguments)function n(e)xr=efunction r(e)function o(e)return null!=e&&”[object Object]”===Object.prototype.toString.call(e)function i(e)if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0function a(e)return void 0===efunction s(e)return”number”==typeof efunction u(e)function l(e,t)var n,r=[];for(n=0;n0)for(n=0;n0?”future”:”past”];return w(n)?n(t):n.replace(/%s/i,t)function L(e,t)var n=e.toLowerCase();qr[n]=qr[n+”s”]=qr[t]=efunction j(e)function F(e)var t,n,r=;for(n in e)c(e,n)&&(t=j(n),t&&(r[t]=e[n]));return rfunction U(e,t)Wr[e]=tfunction q(e)var t=[];for(var n in e)t.push(unit:n,priority:Wr[n]);return t.sort(function(e,t)return e.priority-t.priority),tfunction W(e,t,n)var r=””+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?”+”:””:”-“)+Math.pow(10,Math.max(0,o)).toString().substr(1)+rfunction B(e,t,n,r)var o=r;”string”==typeof r&&(o=function()return this[r]()),e&&(Hr[e]=o),t&&(Hr[t[0]]=function()return W(o.apply(this,arguments),t[1],t[2])),n&&(Hr[n]=function()return this.localeData().ordinal(o.apply(this,arguments),e))function V(e)return e.match(/[[sS]/)?e.replace(/^[function Y(e)var t,n,r=e.match(Br);for(t=0,n=r.length;t=0&&Vr.test(e);)e=e.replace(Vr,n),Vr.lastIndex=0,r-=1;return efunction G(e,t,n)lo[e]=w(t)?t:function(e,r)return e&&n?n:tfunction Z(e,t)return c(lo,e)?lo[e](t._strict,t._locale):new RegExp(K(e))function K(e)return X(e.replace(“\”,””).replace(/\([)function X(e)return e.replace(/[-/\^$*+?.()function J(e,t)var n,r=t;for(“string”==typeof e&&(e=[e]),s(t)&&(r=function(e,n)n[t]=T(e)),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),sfunction Te(e)var t=new Date(Date.UTC.apply(null,arguments));return e=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),tfunction Ce(e,t,n)var r=7+t-n,o=(7+Te(e,0,r).getUTCDay()-t)%7;return-o+r-1function Ee(e,t,n,r,o)var i,a,s=(7+n-r)%7,u=Ce(e,r,o),l=1+7*(t-1)+s+u;return lee(e)?(i=e+1,a=l-ee(e)):(i=e,a=l),year:i,dayOfYear:afunction Pe(e,t,n)var r,o,i=Ce(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return aSe(e.year(),t,n)?(r=a-Se(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),week:r,year:ofunction Se(e,t,n)var r=Ce(e,t,n),o=Ce(e+1,t,n);return(ee(e)-r+o)/7function we(e)return Pe(e,this._week.dow,this._week.doy).weekfunction Oe()return this._week.dowfunction xe()return this._week.doyfunction Me(e)var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),”d”)function Re(e)var t=Pe(this,1,4).week;return null==e?t:this.add(7*(e-t),”d”)function Ie(e,t)return”string”!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),”number”==typeof e?e:null):parseInt(e,10)function Ne(e,t)function ke(e,t)return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?”format”:”standalone”][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalonefunction Ae(e)return e?this._weekdaysShort[e.day()]:this._weekdaysShortfunction De(e)return e?this._weekdaysMin[e.day()]:this._weekdaysMinfunction Le(e,t,n)var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r11?n?”pm”:”PM”:n?”am”:”AM”function Je(e)return e?e.toLowerCase().replace(“_”,”-“):efunction Qe(e)for(var t,n,r,o,i=0;i0;)if(r=$e(o.slice(0,t).join(“-“)))return r;if(n&&n.length>=t&&C(o,n,!0)>=t-1)break;t–i++return nullfunction $e(t)var n=null;if(!Uo[t]&&”undefined”!=typeof e&&e&&e.exports)tryn=Do._abbr;!function()var e=new Error(‘Cannot find module “./locale”‘);throw e.code=”MODULE_NOT_FOUND”,e(),et(n)catch(e)return Uo[t]function et(e,t)var n;return e&&(n=a(t)?rt(e):tt(e,t),n&&(Do=n)),Do._abbrfunction tt(e,t)if(null!==t)var n=Fo;if(t.abbr=e,null!=Uo[e])S(“defineLocaleOverride”,”use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.”),n=Uo[e]._config;else if(null!=t.parentLocale)return Uo[e]=new M(x(n,t)),qo[e]&&qo[e].forEach(function(e)tt(e.name,e.config)),et(e),Uo[e]return delete Uo[e],nullfunction nt(e,t)if(null!=t)var n,r,o=Fo;r=$e(e),null!=r&&(o=r._config),t=x(o,t),n=new M(t),n.parentLocale=Uo[e],Uo[e]=n,et(e)else null!=Uo[e]&&(null!=Uo[e].parentLocale?Uo[e]=Uo[e].parentLocale:null!=Uo[e]&&delete Uo[e]);return Uo[e]function rt(e)var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Do;if(!r(e))if(t=$e(e))return t;e=[e]return Qe(e)function ot()return kr(Uo)function it(e)24===n[ho]&&(0!==n[yo]function at(e,t,n)return null!=e?e:null!=t?t:nfunction st(e)var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]function ut(e)var t,n,r,o,i,a=[];if(!e._d)for(r=st(e),e._w&&null==e._a[po]&&null==e._a[fo]&&lt(e),null!=e._dayOfYear&&(i=at(e._a[mo],r[mo]),(e._dayOfYear>ee(i)function ct(e)Bo.exec(s);if(u)for(p(e).iso=!0,t=0,n=Yo.length;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Hr[i]?(r?p(e).empty=!1:p(e).unusedTokens.push(i),$(i,r,e)):e._strict&&!r&&p(e).unusedTokens.push(i);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ho]0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ho]=_t(e._locale,e._a[ho],e._meridiem),ut(e),it(e)function _t(e,t,n)var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&tthis.clone().month(0).utcOffset()function Gt()if(!a(this._isDSTShifted))return this._isDSTShifted;var e=;if(g(e,this),e=Et(e),e._a)var t=e._isUTC?m(e._a):wt(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0else this._isDSTShifted=!1;return this._isDSTShiftedfunction Zt()return!!this.isValid()&&!this._isUTCfunction Kt()return!!this.isValid()&&this._isUTCfunction Xt()return!!this.isValid()&&(this._isUTC&&0===this._offset)function Jt(e,t)var n,r,o,i=e,a=null;return At(e)?i=ms:e._milliseconds,d:e._days,M:e._months:s(e)?(i=,t?i[t]=e:i.milliseconds=e):(a=ei.exec(e))?(n=”-“===a[1]?-1:1,i=y:0,d:T(a[po])*n,h:T(a[ho])*n,m:T(a[yo])*n,s:T(a[go])*n,ms:T(Dt(1e3*a[vo]))*n):(a=ti.exec(e))?(n=”-“===a[1]?-1:(“+”===a[1],1),i=y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)):null==i?i=:”object”==typeof i&&(“from”in ifunction Qt(e,t)var n=e&&parseFloat(e.replace(“,”,”.”));return(isNaN(n)?0:n)*tfunction $t(e,t)var n=milliseconds:0,months:0;return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,”M”).isAfter(t)&&–n.months,n.milliseconds=+t-+e.clone().add(n.months,”M”),nfunction en(e,t)var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=$t(e,t):(n=$t(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):milliseconds:0,months:0function tn(e,t)return function(n,r)isNaN(+r)function nn(e,n,r,o)function rn(e,t)function” ln=”” r=”r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function” cn=”” dn=”” this.issame=”” mn=”” fn=”” nan=”” pn=”” t-i=”” hn=”” this.clone=”” mmm=”” dd=”” yyyy=”” hh:mm:ss=”” yn=”” null=”” t=”e!==!0,n=t?this.clone().utc():this;return” n.year=””>9999?H(n,t?”YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]”:”YYYYYY-MM-DD[T]HH:mm:ss.SSSZ”):w(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace(“Z”,H(n,”Z”)):H(n,t?”YYYY-MM-DD[T]HH:mm:ss.SSS[Z]”:”YYYY-MM-DD[T]HH:mm:ss.SSSZ”)}function gn()(e=0===this.utcOffset()?”moment.utc”:”moment.parseZone”,t=”Z”);var n=”[“+e+'(“]’,r=0i&&(t=i),Vn.call(this,e,t,n,r,o))function Vn(e,t,n,r,o)var i=Ee(e,t,n,r,o),a=Te(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),thisfunction Yn(e)return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)function Hn(e)var t=Math.round((this.clone().startOf(“day”)-this.clone().startOf(“year”))/864e5)+1;return null==e?t:this.add(e-t,”d”)function zn(e,t)t[vo]=T(1e3*(“0.”+e))function Gn()return this._isUTC?”UTC”:””function Zn()return this._isUTC?”Coordinated Universal Time”:””function Kn(e)return wt(1e3*e)function Xn()return wt.apply(null,arguments).parseZone()function Jn(e)return efunction Qn(e,t,n,r)var o=rt(),i=m().set(r,t);return o[n](i,e)function $n(e,t,n)function Er(e)return void 0===e?xi:”function”==typeof e&&(xi=e,!0)function Pr(e,t)return void 0!==Mi[e]&&(void 0===t?Mi[e]:(Mi[e]=t,”s”===e&&(Mi.ss=t-1),!0))function Sr(e)if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)function wr(e)s)+MMMM?/,Po="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),So="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wo=uo,Oo=uo;B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),U("week",5),U("isoWeek",5),G("w",Jr),G("ww",Jr,Gr),G("W",Jr),G("WW",Jr,Gr),Q(["w","ww","W","WW"],function(e,t,n,r)t[r.substr(0,1)]=T(e));var” xo=”dow:0,doy:6;B("d",0,"do","day"),B("dd",0,0,function(e)return” t.weekdaysminregex=”” t.weekdaysshortregex=”” t.weekdaysregex=”” mo=”Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday” .split=”” r=”T(e);t[ho]=24===r?0:r),J(["a","A"],function(e,t,n)n._isPm=n._locale.isPM(e),n._meridiem=e),J(["h","hh"],function(e,t,n)t[ho]=T(e),p(n).bigHour=!0),J("hmm",function(e,t,n)var” do=”” provided=”” is=”” not=”” in=”” a=”” recognized=”” rfc2822=”” or=”” iso=”” format.=”” moment=”” construction=”” falls=”” back=”” to=”” js=”” date=”” which=”” reliable=”” across=”” all=”” browsers=”” and=”” versions.=”” non=”” formats=”” are=”” discouraged=”” will=”” be=”” removed=”” an=”” upcoming=”” major=”” release.=”” please=”” refer=”” http:=”” for=”” more=”” info.=”” utc=”” ko=”P("moment().min” deprecated=”” use=”” moment.max=”” instead.=”” e=”wt.apply(null,arguments);return” this.isvalid=”” moment.min=””>this?this:e:y()),Jo=function()return Date.now?Date.now():+new Date,Qo=[“year”,”quarter”,”month”,”week”,”day”,”hour”,”minute”,”second”,”millisecond”];Lt(“Z”,”:”),Lt(“ZZ”,””),G(“Z”,ao),G(“ZZ”,ao),J([“Z”,”ZZ”],function(e,t,n)n._useUTC=!0,n._tzm=jt(ao,e));var $o=/([+-]var” window=”” m=”i;t.default=m,e.exports=t.default},function(e,t)"use” e.tolowercase=”” c=”” p=”” v=”r();s=v.prefix,t.transitionEnd=u=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=a=s+"-"+a,t.transitionProperty=c=s+"-transition-property",t.transitionDuration=d=s+"-transition-duration",t.transitionDelay=f=s+"-transition-delay",t.transitionTiming=m=s+"-transition-timing-function",t.animationName=p=s+"-animation-name",t.animationDuration=h=s+"-animation-duration",t.animationTiming=y=s+"-animation-delay",t.animationDelay=g=s+"-animation-timing-function"var” _=”transform:a,end:u,property:c,timing:m,delay:f,duration:d;t.default=_},function(e,t)e.exports=ReactDOM,function(e,t,n)"use” wasn=”” supplied=”” csstransitiongroup:=”” can=”” cause=”” unreliable=”” animations=”” and=”” won=”” supported=”” future=”” version=”” of=”” react.=”” see=”” https:=”” for=”” information.=”” number=”” milliseconds=”” h.default.createelement=”” n.state=”checkingForReplies:n.props.checkingForReplies,n.handleClick=n.handleClick.bind(n),nreturn(0,f.default)(t,e),(0,l.default)(t,[key:"render",value:function()var” this.newrepliestoshow=””>0,key:”newRepliesToShow”,value:function()return this.props.newRepliesToShow,key:”getText”,value:function()return this.isShowMoreReplies()?this.context.theme.formatMessage(“moreReplies”,nMoreReplies:this.newRepliesToShow()):this.context.theme.formatMessage(“checkForNewReplies”),key:”getAriaLabel”,value:function()return this.isShowMoreReplies()?this.context.theme.formatMessage(“displayMoreReplies”,nMoreReplies:this.newRepliesToShow()):this.context.theme.formatMessage(“checkForNewReplies”),key:”getIconClass”,value:function()return this.isShowMoreReplies()?”reply-more-replies__icon-gel”:”reply-more-replies__icon-gel reply-more-replies__icon-gel-spin”,key:”getIcon”,value:function()return this.isShowMoreReplies()?”down”:”refresh”,key:”sendMoreRepliesErrorStat”,value:function()return this.isShowMoreReplies()?this.props.sendMoreRepliesLoadErrorStat():this.props.sendMoreRepliesCheckErrorStat(),key:”startSpinTimer”,value:function()var e=this;this.spinTimer=setTimeout(function()e.sendMoreRepliesErrorStat(),e.stopSpinner(),this.props.requestTimeoutMs),key:”startSpinner”,value:function()this.setState(checkingForReplies:!0),key:”stopSpinner”,value:function()this.setState(checkingForReplies:!1),key:”clearSpinTimer”,value:function()this.spinTimer&&clearTimeout(this.spinTimer),this.spinTimer=null,key:”handleClick”,value:function()this.startSpinner(),this.startSpinTimer(),this.props.onClick()]),t}(p.Component);b.displayName=”LoadRepliesIcon”,b.propTypes=checkingForReplies:p.PropTypes.bool,iconName:p.PropTypes.string,iconClass:p.PropTypes.string,T.displayName=”LoadRepliesButton”,T.propTypes=onClick:p.PropTypes.func,newRepliesToShow:p.PropTypes.number,checkingForReplies:p.PropTypes.bool,requestTimeoutMs:p.PropTypes.number,setMaxNumberOfRepliesVisible:p.PropTypes.func.isRequired,setLoadRepliesAllyMessage:p.PropTypes.func.isRequired,sendMoreRepliesLoadErrorStat:p.PropTypes.func.isRequired,sendMoreRepliesCheckErrorStat:p.PropTypes.func.isRequired,T.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=replies:”replies”,sort:”sort”,moreComments:”moreComments”,newComments:”newComments”,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsButton=void 0;var o=n(2),i=r(o),a=n(99),s=r(a),u=n(147),l=r(u),c=t.CommentsButton=function(e)var t=e.children,n=e.className,r=e.isDisabled,o=e.type,a=void 0===o?”button”:o,u=e.onClick,c=e.rel,d=e.ariaLabel,m=e.isFullWidth,f=className:(0,l.default)(“comments-button”,n,”comments-button–full-width”:m),disabled:r,onClick:u,”aria-label”:d,rel:c;switch(a)case”button”:return s.default.createElement(“button”,f,t);case”submit”:return s.default.createElement(“input”,(0,i.default)(type:”submit”,value:t,f));default:return s.default.createElement(“noscript”,null);c.displayName=”CommentsButton”,c.propTypes=children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),className:a.PropTypes.string,isDisabled:a.PropTypes.bool,isFullWidth:a.PropTypes.bool,type:a.PropTypes.oneOf([“button”,”submit”]),onClick:a.PropTypes.func,rel:a.PropTypes.string,ariaLabel:a.PropTypes.string,c.defaultProps=isFullWidth:!1,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsTextLimit=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=t.CommentsTextLimit=function(e)var t=e.remainingCharacters,n=e.isTextOverLimit,r=e.textLimit,o=e.remainingCharactersMessage,a=(0,s.default)(“comments__text-limit”,”comments__text-limit–over-limit”:n);return i.default.createElement(“div”,className:a,i.default.createElement(“span”,className:”comment__hidden-text”,o),i.default.createElement(“span”,className:”comment__limit-visible-text”,”aria-hidden”:”true”,t+”/”+r));u.displayName=”CommentsTextLimit”,u.propTypes=remainingCharacters:o.PropTypes.number.isRequired,isTextOverLimit:o.PropTypes.bool.isRequired,textLimit:o.PropTypes.number.isRequired,remainingCharactersMessage:o.PropTypes.string.isRequired,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.Stylesheets=void 0;var o=n(99),i=r(o),a=t.Stylesheets=function(e)var t=e.stylesheets,n=t.map(function(e,t)return i.default.createElement(“link”,rel:”stylesheet”,href:e,key:t));return i.default.createElement(“span”,null,n);a.displayName=”Stylesheets”,a.propTypes=stylesheets:o.PropTypes.arrayOf(o.PropTypes.string),function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.IdctaSignedInMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(160),g=n(162),v=function(e){function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=(0,y.getActivityHubUrl)((0,g.getEnv)()),t=this.context.WithStatsIncludeCommonLabels,n=this.props.displayName,r=this.context.theme.formatMessage(“signedInMessage”,),o=n?r+”, “:r;return h.default.createElement(“div”,className:”comments__idcta-msg”,o,n&&h.default.createElement(t,id:”stats-activity-hub-link”,labels:label:”activity-hub-link”,fireOnView:!0,fireOnClick:!0,h.default.createElement(“a”,className:”comments__display-name”,href:e,n)))]),t}(p.Component);v.displayName=”IdctaSignedInMessage”,v.propTypes=displayName:p.PropTypes.string,v.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func),WithStatsIncludeCommonLabels:p.PropTypes.func.isRequired,t.IdctaSignedInMessage=v},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ShowNewCommentsButton=void 0;var o=n(99),i=r(o),a=n(168),s=n(186),u=r(s),l=function(e)return e?i.default.createElement(“span”,className:”header-icon-refresh”,i.default.createElement(u.default,iconName:e)):i.default.createElement(“noscript”,null),c=t.ShowNewCommentsButton=function(e)var t=e.newCommentCount,n=e.onClick;if(tn To use comments you will need to have JavaScript enabled.n ‘)}},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsModerationMessage=void 0;var o=n(99),i=r(o),a=n(147),s=r(a),u=n(195),l=r(u),c=function(e)return i.default.createElement(“span”,null,”are “,i.default.createElement(“a”,className:”comments-moderation__rules-link”,href:e,”moderated”),” and”),d=t.CommentsModerationMessage=function(e)var t=e.moderationStatus,n=e.rulesPageUrl;return i.default.createElement(“p”,className:(0,s.default)(“comments-moderation__rules-msg”),”Comments “,t===l.default.PRE_MODERATED.toString()?c(n):””,” must follow the “,i.default.createElement(“a”,href:n,”house rules”),”.”);d.displayName=”CommentsModerationMessage”,d.propTypes=moderationStatus:o.PropTypes.string,rulesPageUrl:o.PropTypes.string,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsSort=void 0;var o=n(117),i=r(o),a=n(48),s=r(a),u=n(53),l=r(u),c=n(54),d=r(c),m=n(58),f=r(m),p=n(91),h=r(p),y=n(99),g=r(y),v=n(243),_=r(v),b=n(204),T=r(b),C=n(244),E=r(C),P=n(147),S=r(P),w=t.CommentsSort=function(e){function t(e)(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__return(0,h.default)(t,e),(0,d.default)(t,[key:”handleSort”,value:function(e)this.props.sortCallback(e),key:”getSortLabel”,value:function(e)return this.context.theme.formatMessage(“commentsSort”+e),key:”isRelevantOption”,value:function(e)e.featureToggles.map(function(e)return t.context.isFeatureEnabled(e)).some(function(e)return e===!0),key:”getRelevantSortOptions”,value:function()var e=this;return(0,i.default)(_.default).filter(function(t)return e.isRelevantOption(t)).map(function(e)return e.name),key:”render”,value:function()var e=this,t=this.context.theme.formatMessage,n=t(“commentsSortLabel”),r=this.props,o=r.isLoading,i=r.defaultValue,a=(0,S.default)(“comments-sort__select”,”comments-sort__select–loading”:o),s=function(e)o&&e.preventDefault();return g.default.createElement(“div”,className:”comments-sort”,g.default.createElement(“label”,className:”comments-sort__label”,”aria-hidden”:”true”,”Show”),g.default.createElement(“div”,className:”comments-sort__dropdown”,g.default.createElement(“select”,id:”sort-select”,”aria-label”:n,className:a,defaultValue:i,onChange:function(t)return e.handleSort(t.target.value),autoComplete:”off”,onMouseDown:s,onKeyPress:s,this.getRelevantSortOptions().map(function(t)return g.default.createElement(“option”,id:t,key:t,value:t,e.getSortLabel(t)))),g.default.createElement(“div”,className:”comments-sort__icon”,”aria-hidden”:”true”,o?g.default.createElement(T.default,null):g.default.createElement(E.default,null))))]),t}(y.Component);w.displayName=”CommentsSort”,w.propTypes=sortCallback:y.PropTypes.func,isLoading:y.PropTypes.bool,defaultValue:y.PropTypes.string,w.defaultProps=defaultValue:_.default.NewestFirst.name,w.contextTypes=isFeatureEnabled:y.PropTypes.func.isRequired,theme:y.PropTypes.shape(formatMessage:y.PropTypes.func)},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=NewestFirst:name:”NewestFirst”,indexName:”startIndex”,statsName:”Latest”,OldestFirst:name:”OldestFirst”,indexName:”startIndex”,statsName:”Oldest”,HighestRated:name:”HighestRated”,indexName:”startAtItem”,featureToggles:[“ratings”,”downRatings”],statsName:”HighestRated”,MostRepliesFirst:name:”MostRepliesFirst”,indexName:”startAtItem”,featureToggles:[“replies”],statsName:”MostReplied”,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function()return i.default.createElement(“svg”,className:”down-arrow”,xmlns:”http://www.w3.org/2000/svg”,width:”24″,height:”24″,viewBox:”0 0 24 24″,i.default.createElement(“path”,d:”M12 21l-10-14h20z”));a.displayName=”DownArrow”,t.default=a,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsSortError=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(186),g=r(y),v=t.CommentsSortError=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()return h.default.createElement(“div”,className:”comments-sort-error comments–border comments–shadow”,h.default.createElement(“div”,className:”comments-sort-error__icon”,”aria-hidden”:”true”,h.default.createElement(g.default,iconName:”info”,additionalClassNames:”comments-sort__icon-gel”)),h.default.createElement(“div”,className:”comments-sort-error__message”,this.context.theme.formatMessage(“commentsSortError”)))]),t(p.Component);v.displayName=”CommentsSortError”,v.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ViewCommentsButton=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(186),g=r(y),v=t.ViewCommentsButton=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.totalCommentsCount,n=e.onClick,r=this.context.theme.formatMessage(“viewCommentsButton”),o=t>0?”, “+t:””,i=””+r+o;return h.default.createElement(“div”,className:”comments view-comments-button-container”,h.default.createElement(“button”,className:”view-comments-button”,onClick:n,”aria-label”:i,h.default.createElement(“span”,className:”view-comments-button__icon”,h.default.createElement(g.default,iconName:”comments”,additionalClassNames:”view-comments__icon-gel”)),h.default.createElement(“span”,className:”view-comments-button__text”,r),t>0&&h.default.createElement(“span”,className:”view-comments-button__count”,t)))]),t(p.Component);v.displayName=”ViewCommentsButton”,v.propTypes=totalCommentsCount:p.PropTypes.number,onClick:p.PropTypes.func,v.defaultProps=totalCommentsCount:0,v.contextTypes=theme:p.PropTypes.shape(formatMessage:p.PropTypes.func)},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ForumLinks=t.getForumLinks=void 0;var o=n(149),i=r(o),a=n(2),s=r(a),u=n(99),l=r(u),c=n(177),d=n(180),m=(t.getForumLinks=function(e)var t=e.forumAdminLinks,n=void 0===t?:t,r=;return n.administerCommentsForum&&(r.administerCommentsForumUrl=(0,d.formatForumAdminLinkUrlTemplate)(n.administerCommentsForum.url)),(0,s.default)(hasLinks:(0,i.default)(r).length>0,r),t.ForumLinks=function(e)var t=e.forumLinks;return l.default.createElement(c.ActionLinks,className:”action-links–forum-links”,l.default.createElement(c.ActionLink,href:t.administerCommentsForumUrl,”Administer Comment Forum”)));m.displayName=”ForumLinks”,m.propTypes=forumLinks:u.PropTypes.shape(administerCommentsForumUrl:u.PropTypes.string.isRequired),m.defaultProps=forumLinks:,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.ToTop=void 0;var o=n(99),i=r(o),a=t.ToTop=function(e)var t=e.height,n=void 0===t?14:t,r=e.width,o=void 0===r?14:r;return i.default.createElement(“span”,className:”to-top-icon”,”aria-hidden”:”true”,i.default.createElement(“svg”,xmlns:”http://www.w3.org/2000/svg”,height:n,width:o,viewBox:”0 0 32 32″,i.default.createElement(“rect”,y:”2″,width:”32″,height:”3″),i.default.createElement(“polygon”,points:”16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5″)));a.displayName=”ToTop”,a.propTypes=height:o.PropTypes.number,width:o.PropTypes.number,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.A11yAlertMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(178),g=t.A11yAlertMessage=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”getMessageFragment”,value:function(e)return h.default.createElement(“div”,className:”comments__a11y-message comment__hidden-text”,”aria-live”:”assertive”,”aria-atomic”:”true”,e),key:”render”,value:function()return h.default.createElement(y.A11yText,contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout)]),t(p.Component);g.displayName=”A11yAlertMessage”,g.propTypes=message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number,g.defaultProps=timeout:0},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.A11yPoliteMessage=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(178),g=t.A11yPoliteMessage=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”getMessageFragment”,value:function(e)return h.default.createElement(“div”,className:”comments__a11y-message comment__hidden-text”,”aria-live”:”polite”,”aria-atomic”:”true”,e),key:”render”,value:function()return h.default.createElement(y.A11yText,contents:this.getMessageFragment(this.props.message),timeout:this.props.timeout)]),t(p.Component);g.displayName=”A11yPoliteMessage”,g.propTypes=message:p.PropTypes.string.isRequired,timeout:p.PropTypes.number,g.defaultProps=timeout:0},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);t.ThemeVariants=DEFAULT:”default”,CHILDRENS:”childrens”,t.Products=DEFAULT:”default”,CBBC:”cbbc”,CBEEBIES:”cbeebies”,OWNIT:”stay-safe”,NEWSROUND:”newsround”,NIGHTFALL:”nightfall”,SPORT:”sport”,NEWS:”news”,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=ALERT:”Alert”,POLITE:”Polite”,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)return e.length0?t-1:0),(0,u.default)(a,c.default.OldestFirst.name,function(e)return o(e)+1),(0,u.default)(a,c.default.HighestRated.name,function(e)return e.length),(0,u.default)(a,c.default.MostRepliesFirst.name,function(e)return e.length),a),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CannotCommentMessage=void 0;var o=n(99),i=r(o),a=t.CannotCommentMessage=function(e)var t=e.message;return i.default.createElement(“p”,dangerouslySetInnerHTML:__html:t);a.displayName=”CannotCommentMessage”,a.propTypes=message:o.PropTypes.string,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.addModeSupportOnBrowser=t.addModeSupport=t.MODE_STANDALONE=void 0;var o=n(256),i=r(o),a=n(125),s=r(a),u=n(263),l=r(u),c=n(163),d=r(c),m=n(264),f=r(m),p=t.MODE_STANDALONE=”standalone”,h=[p],y=function(e)return”acc”===e?s.default.resolve():d.default.setupIdctaLibrary(e);t.addModeSupport=function(e)var t=e.component,n=e.mode;h.indexOf(n)!==-1&&l.default.selfTransitiveThenUpdate(“modes-“+n,t),t.addModeSupportOnBrowser=function(e)var t=e.mode;return t===p?(document.title=”Standalone Comment Morph View”,s.default.all([y(e.idctaEnv),f.default.atiStatsListener()]).then(function(e)var t=(0,i.default)(e,1),n=t[0];returnidctaCss:n)):s.default.resolve(),function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:et.__esModule=!0;var o=n(257),i=r(o),a=n(260),s=r(a);t.default=function()function e(e,t)var n=[],r=!0,o=!1,i=void 0;tryfor(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!tcatch(e)o=!0,i=efinallytry!r&&u.return&&u.return()finallyif(o)throw ireturn nreturn function(t,n)if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)()},function(e,t,n)e.exports=default:n(258),__esModule:!0,function(e,t,n)n(73),n(62),e.exports=n(259),function(e,t,n)var r=n(128),o=n(72)(“iterator”),i=n(66);e.exports=n(8).isIterable=function(e),function(e,t,n)e.exports=default:n(261),__esModule:!0,function(e,t,n)n(73),n(62),e.exports=n(262),function(e,t,n)var r=n(13),o=n(133);e.exports=n(8).getIterator=function(e)var t=o(e);if(“function”!=typeof t)throw TypeError(e+” is not iterable!”);return r(t.call(e)),function(e,t)e.exports=transitive:function(e,t)return Morph.requireTransitiveWithCaller(“bbc-morph-comments-view@3.62.0”,e,t),selfTransitive:function(e,t)return Morph.requireTransitiveWithCaller(“bbc-morph-comments-view@3.62.0”,e,t,!0),transitiveThenUpdate:function(e,t)return Morph.requireTransitiveWithCallerThenUpdate(“bbc-morph-comments-view@3.62.0”,e,t),selfTransitiveThenUpdate:function(e,t)return Morph.requireTransitiveWithCallerThenUpdate(“bbc-morph-comments-view@3.62.0″,e,t,!0),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(155),i=r(o);t.default=atiStatsListener:function()var e=”ac-ati-stats-listener”;window.sessionStorage.setItem(e,”[]”),document.addEventListener(“bbc-user-event”,function(t)var n=JSON.parse(window.sessionStorage.getItem(e));n.push(t.detail),window.sessionStorage.setItem(e,(0,i.default)(n))),e.exports=t.default,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=MAX_API_LIMIT_PAGE_SIZE:50,MIN_PAG_SIZE_MULTIPLIER:1,MAX_PAG_SIZE_MULTIPLIER:4,PAGE_SIZE:20,REPLIES_PAGE_SIZE:10,e.exports=t.default,function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0);t.initialViewOptions=BUTTON:”button”,COMMENTS:”comments”,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(2),i=r(o),a=n(121),s=r(a),u=n(124),l=r(u),c=function(){var e=(0,l.default)(s.default.mark(function e(t)var n=t.apiKey,r=t.forumId;return s.default.wrap(function(e)for(;;)switch(e.prev=e.next)case 0:return e.prev=0,e.next=3,p.default.getAdminLinks(apiKey:n,forumId:r);case 3:return e.abrupt(“return”,e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt(“return”,);case 9:case”end”:return e.stop(),e,this,[[0,6]])));return function(t)return e.apply(this,arguments)}(),d=n(268),m=r(d),f=n(180),p=r(f),h=n(207);t.default={getPersonalisationDetails:function(e){var t=this,n=e.apiKey,r=e.forumData,o=e.forumId;return(0,l.default)(s.default.mark(function e()var a,u;return s.default.wrap(function(e)for(;;)switch(e.prev=e.next)case 0:return e.prev=0,e.next=3,m.default.getModeratedUserDetails(n);case 3:if(a=e.sent,!a.isEditor)e.next=10;breakreturn e.next=7,c(apiKey:n,forumId:o);case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0=;case 11:return u=e.t0,e.abrupt(“return”,(0,i.default)(userId:a.modUserId,displayNameModerationStatus:(0,h.toDisplayNameStatus)(a.displayNameStatus),isEditor:a.isEditor,displayNameModerationMessage:r.displayNameModerationMessage,displayNameModerationUrl:r.displayNameModerationUrl,u));case 15:return e.prev=15,e.t1=e.catch(0),e.abrupt(“return”,);case 18:case”end”:return e.stop(),e,t,[[0,15]])))()}},e.exports=t.default},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(157),i=r(o),a=n(160),s=r(a),u=n(162),l=n(163);t.default={getModeratedUserDetails:function(e)return(0,l.refreshToken)().then(function()return i.default.get(s.default.getModeratedUserUrl((0,u.getEnv)()),headers:”x-api-key”:e))},e.exports=t.default},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)var t=e.themeVariant,n=e.product,r=e.productLabel,o=e.getIcon,a=e.getComponent,u=e.formatMessage;returnthemeVariant:t,product:n,productLabel:r,formatMessage:u,getIcon:o,getComponent:a,ratingsNumberPlacement:t===i.ThemeVariants.CHILDRENS?s.default.LEFT:s.default.RIGHTObject.defineProperty(t,”__esModule”,value:!0);var i=n(251),a=n(203),s=r(a),u=n(270),l=r(u),c=n(263),d=r(c),m=n(272),f=r(m);t.default=use:function(e)var t=e.component,n=e.themeVariant,r=e.product,a=n===i.ThemeVariants.CHILDRENS?n:i.ThemeVariants.DEFAULT,s=d.default.selfTransitiveThenUpdate(“messages-“+a,t),u=l.default.use(s),c=d.default.selfTransitiveThenUpdate(“icons-“+a,t),m=d.default.selfTransitiveThenUpdate(“product-config-“+a,t),p=r in m?r:”default”,h=m[p],y=h.label?h.label:””,g=f.default.use(h,c);return o(themeVariant:a,product:p,productLabel:y,getIcon:g.getIcon,getComponent:g.getComponent,formatMessage:u.formatMessage),e.exports=t.default,function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,value:!0);var r=n(271);t.default=use:function()var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:;returnformatMessage:function(t,n)var o=e[t];if(o)return(0,r.formatString)(e[t],n);throw new Error(‘”‘+t+'” does not exist’),e.exports=t.default},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:;return(0,a.default)(t).reduce(function(e,n)var r=new RegExp(“”+n+””,”g”);return e.replace(r,t[n]),e)Object.defineProperty(t,”__esModule”,value:!0);var i=n(149),a=r(i);t.formatString=o},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e,t)h[e]=tfunction i(e)return e in h?h[e]:m.defaultfunction a(e)return e in y?y[e]:m.defaultfunction s(e)var t=a(e.flagIconDistress);return c.default.createElement(f.DistressMessageFlag,product:e.product,productLabel:e.label,Logo:t)function u(e,t)var n=a(e.flagIconNotable);return c.default.createElement(p.NotableMessageFlag,product:e.product,Logo:n,type:t)Object.defineProperty(t,”__esModule”,value:!0);var l=n(99),c=r(l),d=n(273),m=r(d),f=n(274),p=n(275),h=,y=;t.default=use:function(e)var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:;return y=t,o(“distressMessageFlag”,s(e)),o(“notableCommentFlag”,u(e,”comment”)),o(“notableReplyFlag”,u(e,”reply”)),add:o,getIcon:a,getComponent:i,e.exports=t.default,function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(99),i=r(o),a=function()return i.default.createElement(“div”,className:”icon”);a.displayName=”PlaceholderIcon”,t.default=a,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.DistressMessageFlag=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=t.DistressMessageFlag=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.product,n=e.productLabel,r=e.Logo,o=”comment__product-flag-“+t;return h.default.createElement(“div”,className:(0,g.default)(“comment__distress-message-product-flag”,o),role:”text”,h.default.createElement(“span”,className:”comment__distress-message-logo”,r&&h.default.createElement(r,null)),h.default.createElement(“span”,className:”comment__hidden-text”,”Message from “+n),h.default.createElement(“span”,className:”comment__distress-message-username”,”aria-hidden”:”true”,n))]),t(p.Component);v.displayName=”DistressMessageFlag”,v.propTypes=product:p.PropTypes.string,productLabel:p.PropTypes.string,Logo:p.PropTypes.func},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.NotableMessageFlag=void 0;var o=n(48),i=r(o),a=n(53),s=r(a),u=n(54),l=r(u),c=n(58),d=r(c),m=n(91),f=r(m),p=n(99),h=r(p),y=n(147),g=r(y),v=t.NotableMessageFlag=function(e)function t()return(0,f.default)(t,e),(0,l.default)(t,[key:”render”,value:function()var e=this.props,t=e.product,n=e.Logo,r=e.type,o=”comment__product-flag-“+t,i=”comment__product-flag-“+r;return h.default.createElement(“div”,className:(0,g.default)(“comment__notable-flag”,”comment__distress-message-product-flag”,i,o),”aria-hidden”:”true”,h.default.createElement(“span”,className:”comment__distress-message-logo comment__product-logo”,n&&h.default.createElement(n,null)))]),t(p.Component);v.displayName=”NotableMessageFlag”,v.propTypes=product:p.PropTypes.string,Logo:p.PropTypes.func,type:p.PropTypes.string},function(e,t)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),t.default=under13:”u13″,under16:”u16″,under18:”u18″,over18:”o18″,e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.CommentsStatsProvider=void 0;var o=n(117),i=r(o),a=n(152),s=r(a),u=n(2),l=r(u),c=n(48),d=r(c),m=n(53),f=r(m),p=n(54),h=r(p),y=n(58),g=r(y),v=n(91),_=r(v),b=n(99),T=r(b),C=n(278),E=n(197),P=n(251),S=n(195),w=r(S),O=t.CommentsStatsProvider=function(e){function t(e)(0,d.default)(t)).call(this,e));return n.state=statsSent:,instanceIds:,n.setStatSent=n.setStatSent.bind(n),n.canSendStat=n.canSendStat.bind(n),n.clearStatsSent=n.clearStatsSent.bind(n),n.getInstanceId=n.getInstanceId.bind(n),nreturn(0,_.default)(t,e),(0,h.default)(t,[key:”setStatSent”,value:function(e,t)this.setState(function(n)var r=n.statsSent[e]?n.statsSent[e]:(0,l.default)(,E.postStatsSentValues);r[t]=!0;var o=(0,l.default)(,n.statsSent,(0,s.default)(,e,r));returnstatsSent:o),key:”canSendStat”,value:function(e,t)return!(this.state.statsSent[e]&&this.state.statsSent[e][t]),{key:”clearStatsSent”,value:function(e)this.setState(function(t)var n=t.instanceIds[e]?t.instanceIds[e]+1:2;returnstatsSent:(0,l.default)(,t.statsSent,(0,s.default)(,e,(0,l.default)(,E.postStatsSentValues))),instanceIds:(0,l.default)(,t.instanceIds,(0,s.default)(,e,n)))},key:”getInstanceId”,value:function(e)return this.state.instanceIds[e]?this.state.instanceIds[e]:1,key:”getChildContext”,value:function()returnWithStatsIncludeCommonLabels:C.WithStatsIncludeCommonLabels,canSendStat:this.canSendStat,setStatSent:this.setStatSent,clearStatsSent:this.clearStatsSent,getInstanceId:this.getInstanceId,key:”render”,value:function()var e=(0,E.commonStatsLabels)(this.props.forumData,this.props.themeVariant);return T.default.createElement(C.WithStatsCommonLabelsProvider,labels:e,this.props.children)]),t}(b.Component);O.displayName=”CommentsStatsProvider”,O.propTypes=children:b.PropTypes.node,themeVariant:b.PropTypes.oneOf((0,i.default)(P.ThemeVariants)),forumData:b.PropTypes.shape(title:b.PropTypes.string.isRequired,totalCommentsCount:b.PropTypes.number.isRequired,commentTextLimit:b.PropTypes.number.isRequired,moderation:b.PropTypes.shape(rulesPageUrl:b.PropTypes.string.isRequired,status:b.PropTypes.oneOf((0,i.default)(w.default)).isRequired),createForum:b.PropTypes.bool.isRequired,isClosed:b.PropTypes.bool.isRequired).isRequired,O.childContextTypes=WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired},function(e,t,n)”use strict”;Object.defineProperty(t,”__esModule”,value:!0),Object.defineProperty(t,”logClickEvent”,enumerable:!0,get:function()return r.logClickEvent),Object.defineProperty(t,”logImpressionEvent”,enumerable:!0,get:function()return r.logImpressionEvent),Object.defineProperty(t,”WithStats”,enumerable:!0,get:function()return o.WithStats),Object.defineProperty(t,”WithStatsCommonLabelsProvider”,enumerable:!0,get:function()return i.WithStatsCommonLabelsProvider),Object.defineProperty(t,”WithStatsIncludeCommonLabels”,enumerable:!0,get:function()return a.WithStatsIncludeCommonLabels);var r=n(279),o=n(361),i=n(436),a=n(438),function(e,t,n){“use strict”;function r(e,t)var n=Object.keys(e);if(Object.getOwnPropertySymbols)var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t)return Object.getOwnPropertyDescriptor(e,t).enumerable)),n.push.apply(n,r)return nfunction o(e)for(var t=1;t-1function _(e,t)var n=this.__data__,r=D(n,e);return r1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&”function”==typeof i?(o–,i):void 0,a&&re(n[0],n[1],a)&&(i=o-1&&e%1==0&&e0)if(++t>=xe)return arguments[0]else t=0;return e.apply(void 0,arguments)}function me(e)if(null!=e)tryreturn Et.call(e)catch(e)tryreturn e+””catch(e)return””function fe(e,t)return e===tfunction pe(e)return null!=e&&ge(e.length)&&!ye(e)function he(e)return _e(e)&&pe(e)function ye(e)if(!ve(e))return!1;var t=j(e);return t==jefunction ge(e)return”number”==typeof e&&e>-1&&e%1==0&&en .view-comments-button-wrapped-component display: block !important;n .view-comments-button-wrapper display: none !important;n “}),E.default.createElement(“div”,className:(0,S.default)(“view-comments-button-wrapper”,”view-comments-button-wrapper-hidden”:this.isViewCommentsButtonWrapperHidden()),E.default.createElement(t,id:”stats-view-comments”,labels:label:”view-comments”,metadata:r,fireOnView:!0,fireOnClick:!0,minimumTimeInView:0,E.default.createElement(M.ViewCommentsButton,totalCommentsCount:n,onClick:this.showWrappedComponent))),E.default.createElement(“div”,className:(0,S.default)(“view-comments-button-wrapped-component”,”view-comments-button-wrapped-component-hidden”:this.isCommentsModuleWrapperHidden()),E.default.createElement(e,(0,d.default)(,this.props,autoFocusHeader:this.state.isWrappedComponentVisible))))}}]),n}(C.Component);return t.displayName=”WithViewCommentsButton(“+i(e)+”)”,t.propTypes=forumData:C.PropTypes.shape(title:C.PropTypes.string.isRequired,totalCommentsCount:C.PropTypes.number.isRequired,commentTextLimit:C.PropTypes.number.isRequired,moderation:C.PropTypes.shape(rulesPageUrl:C.PropTypes.string.isRequired,status:C.PropTypes.oneOf((0,l.default)(x.default)).isRequired),createForum:C.PropTypes.bool.isRequired,isClosed:C.PropTypes.bool.isRequired).isRequired,sortOrder:C.PropTypes.oneOf((0,s.default)(I.default)),t.contextTypes=WithStatsIncludeCommonLabels:C.PropTypes.func.isRequired,t}function i(e)return e.displayNameObject.defineProperty(t,”__esModule”,value:!0);var a=n(149),s=r(a),u=n(117),l=r(u),c=n(2),d=r(c),m=n(48),f=r(m),p=n(53),h=r(p),y=n(54),g=r(y),v=n(58),_=r(v),b=n(91),T=r(b);t.withViewCommentsButton=o;var C=n(99),E=r(C),P=n(147),S=r(P),w=n(159),O=n(195),x=r(O),M=n(246),R=n(243),I=r(R)},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o()var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:””,t=e.split(“,”);return t.reduce(function(e,t)if(t.indexOf(“:”)!==-1)var n=t.trim().split(“:”),r=(0,m.default)(n,2),o=r[0],i=r[1];e[o]=”on”===i.trim()return e,)function i(e,t,n)var r=function(e,n)return t[n]?(0,c.default)(,e,(0,u.default)(,n,t[n])):e,i=f.reduce(r,);return n&&(i.featureToggles=o(n)),(0,c.default)(,e,i)function a(e)Object.defineProperty(t,”__esModule”,value:!0),t.overridableProps=void 0;var s=n(152),u=r(s),l=n(2),c=r(l),d=n(256),m=r(d);t.parseToggleOverridesProp=o,t.getConfig=a;var f=t.overridableProps=[“pageSize”,”theme”,”subtheme”,”initialView”],function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0),t.StyleGuideModule=void 0;var o=n(117),i=r(o),a=n(2),s=r(a),u=n(48),l=r(u),c=n(53),d=r(c),m=n(54),f=r(m),p=n(58),h=r(p),y=n(91),g=r(y),v=n(147),_=r(v),b=n(99),T=r(b),C=n(213),E=n(174),P=n(442),S=r(P),w=n(191),O=r(w),x=n(168),M=n(182),R=r(M),I=n(248),N=n(177),k=n(190),A=n(255),D=n(179),L=r(D),j=n(195),F=r(j),U=n(207),q=r(U),W=n(251),B=n(269),V=r(B),Y=n(165),H=n(193),z=n(249),G=function(),Z=function(e)var t=e.children;return T.default.createElement(“h3″,className:”comments-styleguide__heading”,t),K=function(e)var t=e.children;return t,X=function()return!1,J=function()return 1,Q=S.default.getSignedOutResponse(),$=S.default.getSignedInResponse(),ee=S.default.getSignedInResponseWithoutDisplayName(),te=signedIn:!1,signInButton:Q.signInButton,ne=displayName:”test-u16″,under16:!0,re=20,oe=10,ie=6e4;Z.displayName=”SectionHeading”,Z.propTypes=children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node]);var ae=function(e)var t=e.children;return T.default.createElement(“h4″,className:”comments-styleguide__subheading”,t);ae.displayName=”SubHeading”,ae.propTypes=children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node]);var se=function(e)var t=e.id,n=e.heading,r=e.children,o=e.className;return T.default.createElement(“section”,id:t,className:(0,_.default)(“comments-styleguide__section”,o),T.default.createElement(Z,null,n),r);se.displayName=”Section”,se.propTypes=id:b.PropTypes.string.isRequired,heading:b.PropTypes.string.isRequired,children:b.PropTypes.oneOfType([b.PropTypes.arrayOf(b.PropTypes.node),b.PropTypes.node]),className:b.PropTypes.string;var ue=”Presenter”,le=E.exampleAvatarUrl96x96PngBase64,ce=”https://wrong_dummy_url”,de=function(e){function t(e)return(0,g.default)(t,e),(0,f.default)(t,[key:”setA11yAlertText”,value:function(e)var t=this.state.audibleMessage===e?e+” “:e;this.setState(audibleMessage:t),key:”menu”,value:function()return T.default.createElement(se,heading:”Comments Styleguide”,id:”comments-styleguide-menu”,T.default.createElement(“ul”,null,T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-typography”,”Typography”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-buttons”,”Buttons”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-alerts”,”Alerts”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-form-elements”,”Form Elements”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-header”,”Header”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-footer”,”Footer”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-comment”,”Comment”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-list”,”Comments List”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#tool-tip”,”Tooltip”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-ratings”,”Ratings”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-down-ratings”,”Down Ratings”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-replies”,”Replies”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#comments-sort”,”Comments Sort”)),T.default.createElement(“li”,null,T.default.createElement(“a”,href:”#view-comments-button”,”View Comments Button”)))),key:”typography”,value:function()var e=this.theme.formatMessage(“moduleTitleText”),t=this.theme.formatMessage(“closedForum”);return T.default.createElement(se,heading:”Typography”,id:”comments-typography”,T.default.createElement(ae,null,”Title”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,e),T.default.createElement(x.CommentsTitle,null,”Comments”))),T.default.createElement(ae,null,”Paragraph”),T.default.createElement(“p”,null,”Sample paragraph with some “,T.default.createElement(“b”,null,”bold text”),” “,T.default.createElement(“em”,null,”emphasised, italic text”),” and a “,T.default.createElement(“a”,href:”#”,”Link”),”.”),T.default.createElement(ae,null,”Links”),T.default.createElement(N.ActionLink,href:”#”,”Sample Link”),T.default.createElement(N.ActionLinks,null,T.default.createElement(N.ActionLink,href:”#”,”Action link without icon”),T.default.createElement(N.ActionLink,icon:T.default.createElement(R.default,alignToBaseline:!0),href:”#”,”Action link with icon”)),T.default.createElement(ae,null,”Comments Message”),T.default.createElement(“p”,className:”comments__message comments__message–closed-forum”,t)),key:”buttons”,value:function()return T.default.createElement(se,heading:”Buttons”,id:”comments-buttons”,T.default.createElement(ae,null,”Active”),T.default.createElement(x.CommentsButton,null,”Post comment”),T.default.createElement(ae,null,”Disabled”),T.default.createElement(x.CommentsButton,isDisabled:!0,”Post comment”),T.default.createElement(ae,null,”Submit Button”),T.default.createElement(x.CommentsButton,type:”submit”,”Post comment”),T.default.createElement(ae,null,”More Comments Button”),T.default.createElement(x.CommentsButton,className:”comments__more-comments-button”,type:”button”,onClick:G,”More comments”),T.default.createElement(ae,null,”Show New Comments Button”),T.default.createElement(x.ShowNewCommentsButton,newCommentCount:2,onClick:G),T.default.createElement(ae,null,”Stylized button”),T.default.createElement(x.CommentsButton,className:”comments-button–styled”,”Stylized button”)),key:”formElements”,value:function()return T.default.createElement(se,heading:”Form Elements”,id:”comments-form-elements”,T.default.createElement(ae,null,”Expanding Text Area”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(O.default,className:”comments-input-box”,placeholder:”Add your comment…”,minRows:2,maxRows:8)),T.default.createElement(ae,null,”Comments Input”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsInput,textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G))),key:”header”,value:function()var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage(“moduleTitleText”),n=this.theme.formatMessage(“closedForum”);return T.default.createElement(se,heading:”Header”,id:”comments-header”,T.default.createElement(ae,null,”Not signed in”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(“p”,className:”comments__signin–prompt”,”Sign in to comment, reply and rate.”),T.default.createElement(x.IdctaSignInButton,markup:e.signInButton),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.PRE_MODERATED,signedOut:!0)),T.default.createElement(ae,null,”Not signed in with comments total”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(“p”,className:”comments__signin–prompt”,”Sign in to comment, reply and rate.”),T.default.createElement(x.IdctaSignInButton,markup:e.signInButton),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.PRE_MODERATED,signedOut:!0),T.default.createElement(“div”,className:”comments__comments-total”,T.default.createElement(x.CommentsTotal,totalCommentsCountIncludingNewComments:10))),T.default.createElement(ae,null,”Not signed in with longer comments heading title”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”Do you think England will qualify for the World Cup?”)),T.default.createElement(“p”,className:”comments__signin–prompt”,”Sign in to comment, reply and rate.”),T.default.createElement(x.IdctaSignInButton,markup:e.signInButton),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.PRE_MODERATED,
signedOut:!0),T.default.createElement(“div”,className:”comments__comments-total”,T.default.createElement(x.CommentsTotal,totalCommentsCountIncludingNewComments:10))),T.default.createElement(ae,null,”Signed In”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(x.IdctaSignedInMessage,displayName:ne.displayName,under16:!1),T.default.createElement(O.default,className:”comments-input-box”,placeholder:”Add your comment…”,minRows:1,maxRows:8),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.PRE_MODERATED,signedOut:!1)),T.default.createElement(ae,null,”Pre-moderated forum message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(x.IdctaSignedInMessage,displayName:ne.displayName,under16:ne.under16),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.PRE_MODERATED,signedOut:!1)),T.default.createElement(ae,null,”Post-moderated forum message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(x.IdctaSignedInMessage,displayName:ne.displayName,under16:!1),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.POST_MODERATED,signedOut:!1)),T.default.createElement(ae,null,”Reactively-moderated forum message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(x.IdctaSignedInMessage,displayName:ne.displayName,under16:!1),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.REACTIVELY_MODERATED,signedOut:!1)),T.default.createElement(ae,null,”Signed In With Policy Error”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What is the best pizza topping?”)),T.default.createElement(x.IdctaSignedInMessage,displayName:ne.displayName,under16:!1),T.default.createElement(“p”,className:”comments__message–user-ineligible”,this.theme.formatMessage(“ineligibleToComment”,)),T.default.createElement(x.CommentsModerationMessage,rulesPageUrl:”#”,moderationStatus:F.default.PRE_MODERATED,signedOut:!1)),T.default.createElement(ae,null,”Closed forum”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(“div”,className:”comments__heading-wrapper”,tabIndex:”0″,T.default.createElement(x.CommentsModuleTitle,null,t),T.default.createElement(x.CommentsTitle,null,”What was your highlight of 2017?”)),T.default.createElement(“p”,className:”comments__message comments__message–closed-forum”,n))),key:”footer”,value:function()var e=this.theme.formatMessage(“backToTop”);return T.default.createElement(se,heading:”Footer”,id:”comments-footer”,T.default.createElement(ae,null,”Without more comments”),T.default.createElement(x.CommentsFooter,null,T.default.createElement(“div”,null,T.default.createElement(“div”,null,T.default.createElement(“a”,className:”comments__back-to-top-link”,href:”#”,e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,”With more comments”),T.default.createElement(x.CommentsFooter,null,T.default.createElement(“div”,null,T.default.createElement(x.CommentsButton,className:”comments__more-comments-button”,type:”button”,onClick:G,rel:”next”,”More comments”),T.default.createElement(“div”,null,T.default.createElement(“a”,className:”comments__back-to-top-link”,href:”#”,e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,”With slow loading message”),T.default.createElement(x.CommentsFooter,null,T.default.createElement(“div”,null,T.default.createElement(x.CommentsLoading,slowMessageTimerInSeconds:6),T.default.createElement(“div”,null,T.default.createElement(“a”,className:”comments__back-to-top-link”,href:”#”,e,T.default.createElement(I.ToTop,null))))),T.default.createElement(ae,null,”With error message”),T.default.createElement(x.CommentsFooter,null,T.default.createElement(“div”,null,T.default.createElement(x.CommentsAlert,type:k.AlertTypes.ERROR,this.theme.formatMessage((0,H.getMessageKeyForError)(Y.ErrorTypes.MORE_COMMENTS_FAILED))),T.default.createElement(x.CommentsButton,className:”comments__more-comments-button”,type:”button”,onClick:G,rel:”next”,”More comments”),T.default.createElement(“div”,null,T.default.createElement(“a”,className:”comments__back-to-top-link”,href:”#”,e,T.default.createElement(I.ToTop,null)))))),{key:”comment”,value:function(){var e=(0,C.moment)(),t=(0,C.moment)().subtract(1,”year”),n=reportUrl:”/#/”,r=”/rulesPageUrl”;return T.default.createElement(se,heading:”Comment”,id:”comments-comment”,T.default.createElement(ae,null,”Contributor Avatar Image”),T.default.createElement(x.ContributorAvatar,displayName:”ApricotLaughingIguana”,isCurrentUser:!1,avatarImageUrl:le),T.default.createElement(ae,null,”Contributor Avatar Letter”),T.default.createElement(x.ContributorAvatar,displayName:”ApricotLaughingIguana”,isCurrentUser:!1),T.default.createElement(ae,null,”Contributor Avatar Letter for current user”),T.default.createElement(x.ContributorAvatar,displayName:”ApricotLaughingIguana”,isCurrentUser:!0),T.default.createElement(ae,null,”Username”),T.default.createElement(x.Username,null,”ApricotLaughingIguana”),T.default.createElement(ae,null,”Description”),T.default.createElement(x.UserDescription,null,”Presenter”),T.default.createElement(ae,null,”Date/Time”),T.default.createElement(“b”,null,”Today:”),T.default.createElement(x.PostedDate,time:e.format(),formattedTime:e.format(“HH:mm”)),T.default.createElement(“b”,null,”This year:”),T.default.createElement(x.PostedDate,time:e.format(),formattedTime:e.format(“HH:mm D MMM”)),T.default.createElement(“b”,null,”Last year:”),T.default.createElement(x.PostedDate,time:t.format(),formattedTime:t.format(“HH:mm D MMM YYYY”)),T.default.createElement(ae,null,”Single line comment”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a single line comment”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Multi-line comment”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:1,id:1,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a test comment that goes on for quite a while and it
n spans over multiple lines and contains further lines that are separated by

n many line breaks.
And also emojis 😂”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,description:ue,avatarUrl:le,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment without description”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,avatarUrl:le,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment without avatar image”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,description:ue,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment with wrong avatar url image”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,avatarUrl:ce,description:ue,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment without description and avatar image”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Notable user comment with admin links”),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:2,id:2,totalReplies:0,replies:[],author:displayName:”HackerTDog”,isNotable:!0,userId:100,description:ue,avatarUrl:le,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,text:”This is a comment by a notable user.”,status:L.default.PASS,rulesPageUrl:r,personalisationDetails:isEditor:!0,commentAdminLinks:report:url:”/dummy/report/commentId”,makeTopPick:url:”/dummy/makecommenteditorpick/commentId?forumId=forumId&parentUri=pageUrl”,memberDetails:url:”/dummy/memberDetails/userId”,viewModerationHistory:url:”/dummy/moderationHistory/commentId”,forumId:”dummy”,idctaData:te}),T.default.createElement(ae,null,”Comment with Distress Message”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:0,id:2,totalReplies:0,replies:[],distressMessage:text:”Hi UnicornPrincess,

n you sound like you need to talk to someone about what you are going through at the moment.n You could speak to a family member, a friend, a guardian or a teacher.

n If there’s really no one you can speak to, you can speak with a ChildLine counsellor by callingn 0800 11 11 (calls are free), visiting their website at childline.org.uk, or by downloadingn the free ChildLine app, called For Me.

n Or you could call the Samaritans on their helpline: 08457 90 90 90 (charged at local rates) or visit their website.

n Always remember bullying is NOT acceptable and you don’t have to stand for it

n For further help, we also have some useful advice and helplines.

n We hope this helps,
n CBBC”,author:displayName:”UnicornPrincess”,isNotable:!1,userId:100,dateCreated:”2019-02-20T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”I love this episode. I know what Drew is feeling.
n I am being bullied too and sometimes you just need to ignore them :(

n
And also emojis 😁”,status:L.default.PASS,rulesPageUrl:r,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Comment with Distress Message with admin links”),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],distressMessage:text:”Hi Spiderman,

n you sound like you need to talk to someone about what you are going through at the moment.n You could speak to a family member, a friend, a guardian or a teacher.”,author:displayName:”Spiderman”,isNotable:!1,userId:300,dateCreated:”2019-08-02T11:56:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This a comment with a Distress Message if you are logged as moderator”,status:L.default.PASS,rulesPageUrl:r,personalisationDetails:isEditor:!0,commentAdminLinks:makeTopPick:url:”#AdminLink-makeTopPick”,memberDetails:url:”#AdminLink-memberDetails”,viewModerationHistory:url:”#AdminLink-viewModerationHistory”,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Comment with admin links (closed)”),T.default.createElement(“p”,null,'(this causes an React Warning/Error: “checksum was invalid” in the console that you can ignore)’),T.default.createElement(“br”,null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment with admin links”,status:L.default.PASS,personalisationDetails:isEditor:!0,commentAdminLinks:report:url:”/dummy/report/commentId”,makeTopPick:url:”/dummy/makecommenteditorpick/commentId?forumId=forumId&parentUri=pageUrl”,memberDetails:url:”/dummy/memberDetails/userId”,viewModerationHistory:url:”/dummy/moderationHistory/commentId”,rulesPageUrl:r,forumId:”dummy”,idctaData:te}),T.default.createElement(ae,null,”Comment with admin links (open)”),T.default.createElement(“br”,null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment with admin links”,status:L.default.PASS,personalisationDetails:isEditor:!0,commentAdminLinks:report:url:”/dummy/report/commentId”,makeTopPick:url:”/dummy/makecommenteditorpick/commentId?forumId=forumId&parentUri=pageUrl”,memberDetails:url:”/dummy/memberDetails/userId”,viewModerationHistory:url:”/dummy/moderationHistory/commentId”,rulesPageUrl:r,forumId:”dummy”,idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,”Comment that failed moderation”),T.default.createElement(“br”,null),T.default.createElement(x.Comment,userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”CaptainAmerica”,isNotable:!1,userId:100,dateCreated:”2019-04-10T10:08:45+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment that failed moderation”,status:L.default.FAIL,rulesPageUrl:r,forumId:”dummy”,idctaData:te,isActionTrayOpen:!0),T.default.createElement(ae,null,”Comment that failed moderation with admin links”),T.default.createElement(“br”,null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment with admin links”,status:L.default.FAIL,personalisationDetails:isEditor:!0,commentAdminLinks:report:url:”/dummy/report/commentId”,makeTopPick:url:”/dummy/makecommenteditorpick/commentId?forumId=forumId&parentUri=pageUrl”,memberDetails:url:”/dummy/memberDetails/userId”,viewModerationHistory:url:”/dummy/moderationHistory/commentId”,rulesPageUrl:r,forumId:”dummy”,idctaData:te,isActionTrayOpen:!0}),T.default.createElement(ae,null,”Comment by the current user”),T.default.createElement(“br”,null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment by the current user who has an un-moderated display name”,status:L.default.PASS,personalisationDetails:userId:100,commentAdminLinks:report:url:”/dummy/report/commentId”,rulesPageUrl:r,forumId:”dummy”,idctaData:te}),T.default.createElement(ae,null,”Comment with link inside comment”),T.default.createElement(“br”,null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”ApricotLaughingIguana”,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:’This is a comment that has a link.’,status:L.default.PASS,personalisationDetails:userId:100,commentAdminLinks:report:url:”/dummy/report/commentId”,rulesPageUrl:r,forumId:”dummy”,idctaData:te}),T.default.createElement(ae,null,”Comment by the current user with an un-moderated display name”),T.default.createElement(“br”,null),T.default.createElement(x.Comment,{userCanPostToForum:!0,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”U16123456″,isNotable:!1,userId:100,dateCreated:”2014-02-01T10:23:00+00:00″,actions:n,rating:positive:0,negative:0,text:”This is a comment by the current user who has an un-moderated display name”,status:L.default.PASS,personalisationDetails:userId:100,displayNameModerationStatus:q.default.FAILED_OR_AWAITING,displayNameModerationMessage:”Where is my display name?”,displayNameModerationUrl:”/moderation/user/help”,commentAdminLinks:report:url:”/dummy/report/commentId”,rulesPageUrl:r,forumId:”dummy”,idctaData:te}))}},{key:”commentsList”,value:function()var e=reportUrl:”/#/”,t=”/rulesPageUrl”,n=function t(n,r)var o=n.id,i=n.text,a=n.reply,s=n.displayName,u=(0,C.moment)().subtract(3*(r-o),”minutes”).format();returnindex:o,id:1233+o,key:1233+o,author:,dateCreated:u,actions:e,text:i,rating:positive:0,negative:0,status:L.default.PASS,replies:a?[t(id:o+1,text:a,displayName:”CarrotSmilingGiraffe”,inReplyToId:0,commentId:0)]:[],totalReplies:a?1:0,replyTo:displayName:”displayNamePlaceholder”,text:”text placeholder”,r=4,o=[n(id:3,text:”This is a single line comment”,r),n(id:2,text:”This is another single line comment, with replies”,reply:”This is the first reply to a parent comment”,r),n(id:1,text:”This is a test comment that goes on for quite a while and it
spans over multiple lines and contains further lines that are separated by

many line breaks.
And also emojis 😂”,r),n(id:0,text:”😂”,r)];return T.default.createElement(se,heading:”Comments List”,id:”comments-list”,T.default.createElement(ae,null,”Standard List”),T.default.createElement(x.CommentsList,comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:”dummy”,idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0),T.default.createElement(ae,null,”New comments available”),T.default.createElement(“div”,null,T.default.createElement(“div”,className:”comments__show-new-comments-container”,T.default.createElement(x.ShowNewCommentsButton,newCommentCount:12,onClick:G)),T.default.createElement(x.CommentsList,comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:”dummy”,idctaData:te,pageSize:re,repliesPageSize:oe,userCanPostToForum:!0)))},key:”alerts”,value:function()var e=this.theme.formatMessage(“postCommentSuccessPremoderated”),t=this.theme.getIcon(“SuccessIcon”);return T.default.createElement(se,heading:”Alerts”,id:”comments-alerts”,T.default.createElement(ae,null,”Under Character Limit Message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,remainingCharacters:2,isTextOverLimit:!1,textLimit:750,remainingCharactersMessage:”You have 2 characters remaining”)),T.default.createElement(ae,null,”Over Character Limit Message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsTextLimit,remainingCharacters:-5,isTextOverLimit:!0,textLimit:750,remainingCharactersMessage:”You’ve written 5 too many characters!”)),T.default.createElement(ae,null,”Error Message”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,type:k.AlertTypes.ERROR,”Sorry, there was a problem. Please refresh your browser and try again.”)),T.default.createElement(ae,null,”Success Message Pre-moderated”),T.default.createElement(x.CommentsHeader,null,T.default.createElement(x.CommentsAlert,type:k.AlertTypes.SUCCESS,Icon:t,e)),T.default.createElement(ae,null,”Comments Loading”),T.default.createElement(x.CommentsLoading,null)),key:”ratings”,value:function()var e=this,t=function(t)return T.default.createElement(x.CommentRating,(0,s.default)(ratingType:”positive”,Icon:e.theme.getIcon(“Upvote”),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:”right”,handleClick:G,t));return T.default.createElement(se,heading:”Ratings”,id:”comments-ratings”,T.default.createElement(ae,null,”Positive rating”),T.default.createElement(“p”,null,”Text on the right side.”),T.default.createElement(“div”,null,T.default.createElement(t,null)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:99)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:999)),T.default.createElement(“p”,null,”Text on the left side.”),T.default.createElement(“div”,null,T.default.createElement(t,numberPlacement:”left”)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:99,numberPlacement:”left”)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:999,numberPlacement:”left”)),T.default.createElement(ae,null,”Sending”),T.default.createElement(t,isSendingRating:!0),T.default.createElement(ae,null,”Rated”),T.default.createElement(t,hasRatedComment:!0),T.default.createElement(ae,null,”Disabled”),T.default.createElement(t,isDisabled:!0)),key:”donwRatings”,value:function()var e=this,t=function(t)return T.default.createElement(x.CommentRating,(0,s.default)(ratingType:”negative”,Icon:e.theme.getIcon(“Downvote”),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:”right”,handleClick:G,t));return T.default.createElement(se,heading:”Down Ratings”,id:”comments-down-ratings”,T.default.createElement(ae,null,”Negative rating”),T.default.createElement(“p”,null,”Text on the right side.”),T.default.createElement(“div”,null,T.default.createElement(t,null)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:99)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:999)),T.default.createElement(“p”,null,”Text on the left side.”),T.default.createElement(“div”,null,T.default.createElement(t,numberPlacement:”left”)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:99,numberPlacement:”left”)),T.default.createElement(“div”,null,T.default.createElement(t,ratingValue:999,numberPlacement:”left”)),T.default.createElement(ae,null,”Sending”),T.default.createElement(t,isSendingRating:!0),T.default.createElement(ae,null,”Down Rated”),T.default.createElement(t,hasRatedComment:!0),T.default.createElement(ae,null,”Disabled”),T.default.createElement(t,isDisabled:!0)),key:”tooltip”,value:function()var e=S.default.getSignedOutResponse(),t=this.theme.formatMessage(“tooltipErrorSubtitle”),n=this.theme.formatMessage(“otherErrorBody”);return T.default.createElement(se,heading:”Tooltip”,id:”tool-tip”,T.default.createElement(ae,null,”Tooltip”),T.default.createElement(“div”,className:”comments-styleguide__tooltip”,T.default.createElement(x.Tooltip,subtitle:”Sign in to your BBC account to do this.”,handleClose:G,shouldAutoFocus:!1,T.default.createElement(x.IdctaSignInButton,markup:e.signInButton))),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(ae,null,”Error Tooltip”),T.default.createElement(“div”,className:”comments-styleguide__tooltip”,T.default.createElement(x.Tooltip,subtitle:t,isAlert:!0,handleClose:G,shouldAutoFocus:!1,n)),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(“br”,null),T.default.createElement(ae,null,”Tooltip Launcher”),T.default.createElement(x.TooltipLauncher,tooltipSubtitle:”Sign in to your BBC account to do this.”,isTooltipOpen:!1,tooltipBody:T.default.createElement(x.IdctaSignInButton,markup:e.signInButton),T.default.createElement(x.CommentsButton,null,”Click me to view Tooltip”))),{key:”replies”,value:function(){var e=reportUrl:”/#/”,t=”/rulesPageUrl”,n=[“This is a snippet only with text”,”😂”,”😂😂😂😂😂😂😂😂”,”

  Yee😂eeeeeeeeeeeeeeee&nbsp&nbsp&nbsp😂
n    &nbsp&nbsp&nbspis a snippet 😂 with everything.
n Emoticons 😂😂😂 and text like this and break lines
n like this, I really like this snippet component 😂😂😂😂”];return T.default.createElement(se,heading:”Replies”,id:”comments-replies”,T.default.createElement(ae,null,”Reply button”),T.default.createElement(x.ReplyButton,null),T.default.createElement(ae,null,”Reply functionality when signed out”),T.default.createElement(x.Comment,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”Superman”,isNotable:!1,userId:200,dateCreated:”2019-04-02T16:33:00+00:00″,actions:e,rating:positive:0,negative:0,text:”This is a single line comment with Reply Button and functionality when signed out”,status:L.default.PASS,rulesPageUrl:t,forumId:”dummy”,idctaData:te),T.default.createElement(ae,null,”Reply functionality when the user is ineligible to comment”),T.default.createElement(x.Comment,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”MrBean”,isNotable:!1,userId:100,dateCreated:”2019-04-12T10:08:38+00:00″,actions:e,rating:positive:0,negative:0,text:”This is a comment that the user can not reply because the user is ineligible to comment”,status:L.default.PASS,rulesPageUrl:t,forumId:”dummy”,idctaData:ee),T.default.createElement(ae,null,”Replying to a parent comment”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,totalReplies:0,replies:[],author:displayName:”Thor”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”This is a single line comment with Reply Button and functionality when signed in and the user is eligible to comment”,status:L.default.PASS,rulesPageUrl:t,forumId:”dummy”,idctaData:$),T.default.createElement(ae,null,”Replying to a reply”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,author:displayName:”Hercules”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂 This is a single line comment”,status:L.default.PASS,totalReplies:1,replies:[index:0,id:0,author:displayName:”Ironman”,isNotable:!1,userId:100,dateCreated:”2019-04-05T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is the first reply of the comment and it is the only one”,status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:displayName:”Hercules”,text:”😂 This is a single line comment”],rulesPageUrl:t,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0),T.default.createElement(ae,null,”Reply snippet in place”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:12345,author:displayName:”CarpetMan”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂
This is the test comment that goes on for quite a while and it
n spans over multiple lines and contains further lines that are separated by

n many line breaks.
And also emojis 😂”,status:L.default.PASS,totalReplies:1,replies:[index:0,id:12346,author:displayName:”WaterMan”,isNotable:!1,userId:100,dateCreated:”2019-04-06T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is the first reply of the comment and it is the only one”,status:L.default.PASS,inReplyToId:12345,commentId:12345,replyTo:displayName:”CarpetMan”,text:”😂
This is the test comment that goes on for quite a while and it
n spans over multiple lines and contains further lines that are separated by

n many line breaks.
And also emojis 😂”],rulesPageUrl:t,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0),T.default.createElement(ae,null,”Reply snippet only text”),T.default.createElement(“div”,dangerouslySetInnerHTML:__html:”Comment: “+n[0]),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ReplySnippet,replyToName:”SugarMan”,replyToMsg:n[0])),T.default.createElement(ae,null,”Reply snippet only 1 emoticon”),T.default.createElement(“div”,dangerouslySetInnerHTML:__html:”Comment: “+n[1]),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ReplySnippet,replyToName:”SaltMan”,replyToMsg:n[1])),T.default.createElement(ae,null,”Reply snippet only emoticons”),T.default.createElement(“div”,dangerouslySetInnerHTML:__html:”Comment: “+n[2]),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ReplySnippet,replyToName:”PepperMan”,replyToMsg:n[2])),T.default.createElement(ae,null,”Reply snippet mixed”),T.default.createElement(“div”,dangerouslySetInnerHTML:__html:”Comment: “+n[3]),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ReplySnippet,replyToName:”CurryMan”,replyToMsg:n[3])),T.default.createElement(ae,null,”More replies”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:123456,author:displayName:”PeterPan”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂 This is a single line comment”,
status:L.default.PASS,totalReplies:13,replies:[index:12,id:12,author:displayName:”Bambi”,isNotable:!1,userId:100,dateCreated:”2019-04-07T07:24:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 1″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:11,id:11,author:displayName:”LionKing”,isNotable:!1,userId:100,dateCreated:”2019-04-06T08:39:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 2, replying to Bambi”,status:L.default.PASS,inReplyToId:12,commentId:123456,replyTo:displayName:”Bambi”,text:”This is a example of reply number 1″,index:10,id:10,author:displayName:”Romeo”,isNotable:!1,userId:100,dateCreated:”2019-04-05T05:19:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 3, replying to LionKing”,status:L.default.PASS,inReplyToId:11,commentId:123456,replyTo:displayName:”LionKing”,text:”This is a example of reply number 2, replying to Bambi”,index:9,id:9,author:displayName:”Wendy”,isNotable:!1,userId:100,dateCreated:”2019-04-05T05:00:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 4″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:8,id:8,author:displayName:”CaptainHook”,isNotable:!1,userId:100,dateCreated:”2019-04-05T04:00:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 5″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:7,id:7,author:displayName:”Julieta”,isNotable:!1,userId:100,dateCreated:”2019-04-05T03:19:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 6″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:6,id:6,author:displayName:”Shirkan”,isNotable:!1,userId:100,dateCreated:”2019-04-05T03:09:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 7″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:5,id:5,author:displayName:”Rambo”,isNotable:!1,userId:100,dateCreated:”2019-04-05T03:01:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 8″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:4,id:4,author:displayName:”Rocky”,isNotable:!1,userId:100,dateCreated:”2019-04-05T02:19:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 9″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:3,id:3,author:displayName:”LuckyLuke”,isNotable:!1,userId:100,dateCreated:”2019-04-05T02:09:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 10″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:2,id:2,author:displayName:”CristobalColon”,isNotable:!1,userId:100,dateCreated:”2019-04-05T02:01:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 11″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:1,id:1,author:displayName:”Nadal”,isNotable:!1,userId:100,dateCreated:”2019-04-05T01:19:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 12″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”,index:0,id:0,author:displayName:”Federer”,isNotable:!1,userId:100,dateCreated:”2019-04-05T01:09:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a example of reply number 13″,status:L.default.PASS,inReplyToId:123456,commentId:123456,replyTo:displayName:”PeterPan”,text:”😂 This is a single line comment”],rulesPageUrl:t,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0),T.default.createElement(ae,null,”Error after posting a reply”),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(“div”,className:”reply”,T.default.createElement(“div”,className:”reply__signedin”,T.default.createElement(“div”,className:”reply__signedin-eligible”,T.default.createElement(“p”,className:”reply__signedin-eligible-header”,”Your reply to Albert”),T.default.createElement(x.CommentsAlert,type:k.AlertTypes.ERROR,this.theme.formatMessage(“postCommentIdctaError”)),T.default.createElement(x.CommentsInput,isDisabled:!0,commentInputClass:”reply-input”,textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G))))),T.default.createElement(ae,null,”Confirmation after posting a reply”),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(“div”,className:”reply”,T.default.createElement(“div”,className:”reply__signedin”,T.default.createElement(“div”,className:”reply__signedin-eligible”,T.default.createElement(“p”,className:”reply__signedin-eligible-header”,”Your reply to Henry”),T.default.createElement(x.CommentsAlert,type:k.AlertTypes.SUCCESS,Icon:this.theme.getIcon(“SuccessIcon”),this.theme.formatMessage(“postCommentSuccessPremoderated”)),T.default.createElement(x.CommentsInput,isDisabled:!0,commentInputClass:”reply-input”,textLimit:270,moderationStatus:F.default.PRE_MODERATED,createForum:!1,postCommentHandler:G))))),T.default.createElement(ae,null,”Reply of removed parent”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,author:displayName:”Planetman”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”This comment was removed”,status:L.default.FAIL,totalReplies:1,replies:[index:0,id:0,author:displayName:”Ironman”,isNotable:!1,userId:100,dateCreated:”2019-04-05T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a reply of parent comment which was removed by moderation”,status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:displayName:”Planetman”,text:”This comment was removed”],rulesPageUrl:t,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0),T.default.createElement(ae,null,”Reply of removed parent with admin links”),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,author:displayName:”Planetman”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”This comment was removed”,status:L.default.FAIL,totalReplies:1,replies:[index:0,id:0,author:displayName:”Ironman”,isNotable:!1,userId:100,dateCreated:”2019-04-05T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a reply of parent comment which was removed by moderation”,status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:displayName:”Planetman”,text:”This comment was removed”],rulesPageUrl:t,personalisationDetails:isEditor:!0,commentAdminLinks:report:url:”/dummy/report/commentId”,makeTopPick:url:”/dummy/makecommenteditorpick/commentId?forumId=forumId&parentUri=pageUrl”,memberDetails:url:”/dummy/memberDetails/userId”,viewModerationHistory:url:”/dummy/moderationHistory/commentId”,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,”Removed reply”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,author:displayName:”Earthman”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂 This is a single line comment”,status:L.default.PASS,totalReplies:1,replies:[index:0,id:0,author:displayName:”Riceman”,isNotable:!1,userId:100,dateCreated:”2019-04-05T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a reply of parent comment which was removed by moderation”,status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:displayName:”Riceman”,text:”😂 This is a single line comment”],rulesPageUrl:t,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0),T.default.createElement(ae,null,”Removed reply with admin links”),T.default.createElement(x.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,author:displayName:”Martianman”,isNotable:!1,userId:300,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂 This is a single line comment”,status:L.default.PASS,totalReplies:1,replies:[index:0,id:0,author:displayName:”Foodman”,isNotable:!1,userId:100,dateCreated:”2019-04-05T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is a reply of parent comment which was removed by moderation”,status:L.default.FAIL,inReplyToId:0,commentId:0,replyTo:displayName:”Martianman”,text:”😂 This is a single line comment”],rulesPageUrl:t,personalisationDetails:isEditor:!0,commentAdminLinks:report:url:”/dummy/report/commentId”,makeTopPick:url:”/dummy/makecommenteditorpick/commentId?forumId=forumId&parentUri=pageUrl”,memberDetails:url:”/dummy/memberDetails/userId”,viewModerationHistory:url:”/dummy/moderationHistory/commentId”,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0}),T.default.createElement(ae,null,”Replied by notable”),T.default.createElement(x.Comment,commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:index:0,id:0,author:displayName:”Hercules”,isNotable:!0,userId:300,description:ue,avatarUrl:le,dateCreated:”2019-04-02T18:05:00+00:00″,actions:e,rating:positive:0,negative:0,text:”😂 This is a single line comment”,status:L.default.PASS,totalReplies:1,replies:[index:0,id:0,author:displayName:”Hercules”,isNotable:!0,userId:100,description:ue,avatarUrl:le,dateCreated:”2019-04-05T10:23:00+00:00″,actions:reportUrl:”/#/”,rating:positive:0,negative:0,text:”This is the first reply of the comment and it is the only one”,status:L.default.PASS,inReplyToId:0,commentId:0,replyTo:displayName:”Hercules”,text:”😂 This is a single line comment”],rulesPageUrl:t,forumId:”dummy”,idctaData:$,isRatingEnabled:!0,userCanPostToForum:!0),T.default.createElement(z.A11yAlertMessage,timeout:ie,message:this.state.audibleMessage))}},key:”commentsSort”,value:function()return T.default.createElement(se,heading:”Comments Sort”,id:”comments-sort”,T.default.createElement(ae,null,”Comments Sort Select”),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.CommentsSort,null)),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.CommentsSort,isLoading:!0)),T.default.createElement(ae,null,”Comments Sort Error”),T.default.createElement(x.CommentsSortError,null)),key:”viewCommentsButton”,value:function()return T.default.createElement(se,heading:”View Comments Button”,id:”view-comments-button”,T.default.createElement(ae,null,”With comments”),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ViewCommentsButton,totalCommentsCount:1)),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ViewCommentsButton,totalCommentsCount:11)),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ViewCommentsButton,totalCommentsCount:263)),T.default.createElement(ae,null,”Without comments”),T.default.createElement(“div”,className:”comments-styleguide__white-background”,T.default.createElement(x.ViewCommentsButton,null))),key:”getChildContext”,value:function()returnisFeatureEnabled:function()return!0,apiKey:”styleguide”,forumId:”noForum”,theme:this.theme,setA11yAlertText:this.setA11yAlertText,triggerAggregatorDataFetch:G,logImpressionEventWithCommonLabels:G,WithStatsIncludeCommonLabels:K,logClickEventWithCommonLabels:G,canSendStat:X,setStatSent:G,clearStatsSent:G,getInstanceId:J,noJS:!1,key:”render”,value:function()var e=this.theme,t=e.themeVariant,n=e.product;return T.default.createElement(“div”,className:(0,_.default)(“comments-theme-variant–“+t,”comments__product–“+n),T.default.createElement(“div”,className:”comments-styleguide comments”,T.default.createElement(x.NoJSMessage,null),this.menu(),this.typography(),this.buttons(),this.alerts(),this.formElements(),this.header(),this.footer(),this.comment(),this.commentsList(),this.tooltip(),this.ratings(),this.donwRatings(),this.replies(),this.commentsSort(),this.viewCommentsButton()))]),t}(b.Component);de.displayName=”StyleGuideModule”,de.propTypes=mode:b.PropTypes.string,themeVariant:b.PropTypes.string,product:b.PropTypes.oneOf((0,i.default)(W.Products)),de.defaultProps=mode:A.MODE_STANDALONE,themeVariant:W.ThemeVariants.DEFAULT,product:W.Products.DEFAULT,de.childContextTypes=isFeatureEnabled:b.PropTypes.func.isRequired,apiKey:b.PropTypes.string.isRequired,forumId:b.PropTypes.string.isRequired,theme:b.PropTypes.shape(formatMessage:b.PropTypes.func.isRequired,getIcon:b.PropTypes.func.isRequired,getComponent:b.PropTypes.func.isRequired,ratingsNumberPlacement:b.PropTypes.string.isRequired).isRequired,setA11yAlertText:b.PropTypes.func,triggerAggregatorDataFetch:b.PropTypes.func,logImpressionEventWithCommonLabels:b.PropTypes.func,WithStatsIncludeCommonLabels:b.PropTypes.func.isRequired,logClickEventWithCommonLabels:b.PropTypes.func,canSendStat:b.PropTypes.func.isRequired,setStatSent:b.PropTypes.func.isRequired,clearStatsSent:b.PropTypes.func.isRequired,getInstanceId:b.PropTypes.func.isRequired,noJS:b.PropTypes.bool.isRequired,t.StyleGuideModule=de},function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(164),i=r(o);t.default=getSignedOutResponse:function()return i.default.new().signedIn(!1).withSignInButton(‘n Sign inn or Registern ‘).build(),getSignedInResponse:function()return i.default.new().signedIn(!0).withPolicyCheck(!1).withSignedInMessage(‘You’re signed in as test-u16. Sign out‘).build(),getSignedInResponseWithUnder16PolicyError:function()return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage(‘Sorry, it looks like you’re not the right age to comment.‘).build(),getSignedInResponseWithoutDisplayName:function()return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage(‘

n You need a display name to comment, reply and react.n Create a display namen n

‘).build(),e.exports=t.default,function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:eObject.defineProperty(t,”__esModule”,value:!0);var o=n(2),i=r(o),a=n(149),s=r(a),u=n(444),l=r(u),c=n(445),d=n(233),m=r(d),f=n(243),p=r(f),h=n(253),y=function(e)return null!==e;t.default=l.default.create(displayName:”CommentsAggregator”,getInitialState:function()returnfirstPageOfCommentsRequestUri:null,latestCommentsDataRequestUri:null,commentsDataPaginationRequestUri:null,loadedComments:this.buildSortOrderArrays(),forumData:totalCommentsCount:0,repliesDataPaginationRequestUri:null,sortDataRequestUri:null,retryCounters:,sortOrder:p.default.NewestFirst.name,latestResponseType:null,fetchingSortedComments:!1,canLoadMore:!1,buildSortOrderArrays:function()return(0,s.default)(p.default).reduce(function(e,t)return e[t]=[],e,),listenerAdded:function(e)switch(e.requestType)case m.default.replies:this.repliesListenerAdded(e);break;case m.default.sort:this.sortListenerAdded(e);break;case m.default.newComments:this.newCommentsListenerAdded(e);break;default:this.commentsListenerAdded(e),sortListenerAdded:function(e)var t=(0,i.default)(,e.commentsDataUri);if(this.state.sortOrder!==e.sortOrder)var n=p.default[e.sortOrder].indexName;this.state.sortOrder=e.sortOrder,t.pageSize=e.initialPageSize,delete t[n],t.sortOrder=e.sortOrder,t.retry=this.getRetryCounter(e.sortOrder),this.state.sortDataRequestUri=t,this.state.fetchingSortedComments=!0,getSortParameter:function(e)return h.sortParameterBySortOrder[e],newCommentsListenerAdded:function(e)var t=e.commentsDataUri,n=t.forumId,r=t.apiKey,o=this.getLoadedComments(p.default.NewestFirst.name),i=(0,c.getIndexOfLatestComment)(o);this.state.latestCommentsDataRequestUri=forumId:n,apiKey:r,sinceIndex:i,data:”bbc-morph-comments-data”,commentsListenerAdded:function(e)var t=(0,i.default)(,e.commentsDataUri),n=this.getSortParameter(this.state.sortOrder);e.nextIndexToLoadFrom>0?(t[n]=e.nextIndexToLoadFrom,t.pageSize=e.pageSize,t.sortOrder=this.state.sortOrder,this.state.commentsDataPaginationRequestUri=t):this.state.firstPageOfCommentsRequestUri=t,repliesListenerAdded:function(e)var t=(0,i.default)(,e.repliesDataUri),n=this.getRetryCounter(e.parentCommentId,e.nextReplyIndexToLoadFrom,e.repliesDataUri.pageSize);this.setCheckingForReplies(commentId:e.parentCommentId,value:!0),t.startIndex=e.nextReplyIndexToLoadFrom,t.commentId=e.parentCommentId,t.retry=n,this.state.repliesDataPaginationRequestUri=t,getRetryCounter:function()for(var e=arguments.length,t=Array(e),n=0;n0)var n=(0,c.mapComments)(e.comments),r=this.getLoadedComments(p.default.NewestFirst.name),o=(0,c.prependNewComments)(r,n),i=(0,c.getIndexOfLatestComment)(r);this.setLoadedComments(p.default.NewestFirst.name,o),this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.state.latestCommentsDataRequestUri.sinceIndex=i,this.state.latestResponseType=m.default.newComments,processFirstPageOfCommentsDataRequest:function()if(this.state.firstPageOfCommentsRequestUri)var e=this.getDataResponseIfAvailable(this.state.firstPageOfCommentsRequestUri);if(!e)returnuri:this.state.firstPageOfCommentsRequestUri,requireSuccess:!0,updates:!1;this.handleFirstPageOfCommentsDataResponse(e)return null,processLatestCommentsDataRequest:function()if(this.state.latestCommentsDataRequestUri)var e=this.getDataResponseIfAvailable(this.state.latestCommentsDataRequestUri);return e&&this.handleLatestCommentsDataResponse(e),uri:this.state.latestCommentsDataRequestUri,requireSuccess:!0,updates:!0return null,processPaginatedCommentsDataRequest:function()if(this.state.commentsDataPaginationRequestUri)var e=this.getDataResponseIfAvailable(this.state.commentsDataPaginationRequestUri);if(!e)returnuri:this.state.commentsDataPaginationRequestUri,requireSuccess:!0,updates:!1;var t=(0,c.mapComments)(e.comments),n=this.getLoadedComments(this.state.sortOrder),r=(0,c.appendNewComments)(n,t,this.state.sortOrder);this.setLoadedComments(this.state.sortOrder,r),this.state.commentsDataPaginationRequestUri=null,this.state.latestResponseType=m.default.moreComments,this.state.canLoadMore=e.canLoadMorereturn null,processRepliesDataRequest:function()if(this.state.repliesDataPaginationRequestUri)var e=this.getDataResponseIfAvailable(this.state.repliesDataPaginationRequestUri);if(!e)return[uri:this.state.repliesDataPaginationRequestUri,requireSuccess:!0,updates:!1];var t=this.state.repliesDataPaginationRequestUri.commentId;this.setCheckingForReplies(commentId:t,value:!1);var n=this.state.repliesDataPaginationRequestUri.startIndex+e.replies.length+e.totalRemaining;this.storeNewRepliesForComment(t,e.replies,n),this.state.latestResponseType=m.default.replies,this.state.repliesDataPaginationRequestUri=nullreturn null,setCheckingForReplies:function(e)var t=e.commentId,n=e.value,r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,t);o&&(o.checkingForReplies=n),storeNewRepliesForComment:function(e,t,n)var r=this.getLoadedComments(this.state.sortOrder),o=(0,c.findById)(r,e);if(o)var i=(0,c.mapReplies)(t,o,this.state.forumData.siteName);o.firstNewReplyId=(0,c.getFirstNewReplyId)(i),o.replies=(0,c.appendNewReplies)(o.replies,i),o.totalReplies=n,handleSortResponse:function(e)var t=e.sortOrder,n=this.getLoadedComments(t),r=(0,c.mapComments)(e.comments),o=(0,c.appendNewComments)(n,r,t);this.state.sortOrder=t,this.state.forumData=(0,c.getUpdatedForumData)(this.state.forumData,e),this.setLoadedComments(t,o),this.state.latestResponseType=m.default.sort,this.state.canLoadMore=e.canLoadMore,this.state.fetchingSortedComments=!1,processSortDataRequest:function()if(this.state.sortDataRequestUri)var e=this.getDataResponseIfAvailable(this.state.sortDataRequestUri);if(!e)return[uri:this.state.sortDataRequestUri,requireSuccess:!0,updates:!1];this.handleSortResponse(e),this.state.sortDataRequestUri=nullreturn null,getDataResponseIfAvailable:function(e)var t=this.getAvailablePayload(e);return t&&200===t.meta.responseCode?t.body:null,setLoadedComments:function(e,t)this.state.loadedComments[e]=t,getLoadedComments:function(e)return this.state.loadedComments[e],data:function()var e=this.processFirstPageOfCommentsDataRequest(),t=this.processLatestCommentsDataRequest(),n=this.processPaginatedCommentsDataRequest(),r=this.processRepliesDataRequest(),o=this.processSortDataRequest();return[e,t,n,r,o].filter(y),getPayload:function()var e=this.state,t=e.forumData,n=e.loadedComments,r=e.sortOrder,o=e.latestResponseType,i=e.fetchingSortedComments,a=e.canLoadMore,s=n[r],u=null!==this.state.latestCommentsDataRequestUri;returnmeta:responseCode:200,body:forumData:t,loadedComments:s,latestResponseType:o,sortOrder:r,fetchingSortedComments:i,canLoadMore:a,pollingForNewComments:u),e.exports=t.default},function(e,t)e.exports=create:function(e)return Morph.createAggregatorWithCaller(“bbc-morph-comments-view@3.62.0″,e),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)return(0,l.pickBy)(e,function(e,t)return(0,c.not)(“comments”===t))Object.defineProperty(t,”__esModule”,value:!0),t.mapComments=t.mapReplies=t.appendNewReplies=t.getFirstNewReplyId=t.appendNewComments=t.prependNewComments=t.getUpdatedForumData=t.getIndexOfLatestComment=t.findById=void 0;var i=n(446),a=r(i),s=n(2),u=r(s),l=n(102),c=n(159),d=function(e,t)return t.some(function(t)return t.id===e.id),m=function(e,t)return(0,u.default)(,e,actions:reportUrl:e.actions.reportUrl.replace(“[sitename]”,t)),f=function(e,t)var n=y(t,e.inReplyToId);return(0,u.default)(,e,replyTo:displayName:n.author.displayName,text:n.text),p=function(e)return e.replies&&e.replies[0]&&(e.replies[0].replyTo=displayName:e.author.displayName,text:e.text),e.hasOwnProperty(“checkingForReplies”)===!1&&(e.checkingForReplies=!1),e,h=function(e,t)var n=e.map(function(e)return e.id),r=t.filter(function(e)return(0,c.not)(n.indexOf(e.id)!==-1));return r,y=t.findById=function(e,t)for(var n=0;ne?t.index:e,-1),t.getUpdatedForumData=function(e,t)var n=o(t),r=Math.max(n.totalCommentsCount,e.totalCommentsCount),i=n.hasOwnProperty(“isClosed”)?n.isClosed:e.isClosed;return(0,u.default)(,n,e,totalCommentsCount:r,isClosed:i),t.prependNewComments=function(e,t)var n=Array.isArray(t)&&t.length>0;if(n)if(0===e.length)return t.slice();var r=t.filter(function(t)var n=e.some(function(e)return e.index===t.index);return!n);return r.concat(e)return e,t.appendNewComments=function(e,t)var n=Array.isArray(t)&&t.length>0;if(n)if(0===e.length)return t.slice();var r=h(e,t);return e.concat(r)return e,t.getFirstNewReplyId=function(e)var t=Array.isArray(e)&&e.length>0;return t?e[0].id:0,t.appendNewReplies=function(e,t)var n=Array.isArray(t)&&t.length>0;return n?[].concat((0,a.default)(e),(0,a.default)(t.filter(function(t)return!d(t,e)))):e,t.mapReplies=function(e,t,n)var r=[].concat((0,a.default)(e),(0,a.default)(t.replies),[t]);return e.map(function(e)return f(e,r)).map(function(e)return m(e,n)),t.mapComments=function(e)return e.map(function(e)return p(e))},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:et.__esModule=!0;var o=n(447),i=r(o);t.default=function(e)if(Array.isArray(e))for(var t=0,n=Array(e.length);te.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1?[].concat(A(e.slice(0,r)),A(e.slice(r+1))):e.length>3?e.slice(0,-1):e(e.data,e.path);return o.a.createElement(“section”,className:”top-stories gs-u-mt+ gs-u-mb+@m gs-u-ph gs-u-pl-alt@xs gs-u-pl-alt+@m gs-u-pl-alt+@l”,o.a.createElement(“h2″,className:”component__title gs-u-pl@xs gs-u-pl0@m”,”Top Stories”),o.a.createElement(“ul”,className:”gel-layout gs-u-pl+”,t.map((function(e,t)var r,n,i,a=;return o.a.createElement(“li”,key:t,className:”qa-top-stories-list-item gel-1/1@xs gel-1/3@m gel-1/1@l gs-u-pb+ gs-u-pb0@m”,o.a.createElement(w,promoType:”stackedToInline”,promo:a)))))),k=C;C.propTypes=data:n.PropTypes.shape([]).isRequired,path:n.PropTypes.string.isRequired;var N=function(e)var t=e.path,r=e.isApp;return o.a.createElement(i.Query,query:u(r,!0),(function(e)if(f(e))return o.a.createElement(“noscript”,null);var r=e.data.content.topStories;return o.a.createElement(k,data:r,path:t))),I=N;function U(e)return(U=”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)(e)function M(e,t)if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)function L(e,t))(e,t)function” h=”” t=”function()if("undefined"==typeof” reflect=”” proxy=”” date.prototype.tostring.call=”” function=”” r=”” o=”F(this).constructor;r=Reflect.construct(n,arguments,o)else” z=”” b=”” new=”” referenceerror=”” hasn=”” been=”” initialised=”” super=”” called=”” e=”” f=”” k=”” in=”” v=”function(e){!function(e,t)if("function"!=typeof” typeerror=”” expression=”” must=”” either=”” be=”” null=”” or=”” a=”” array=”” o.a.createelement=”” w=”V;function” q=”” symbol=”” symbol.iterator=”” typeof=”” g=”” object=”” array.from=”” attempt=”” to=”” spread=”” non-iterable=”” instance.=”” order=”” iterable=”” non-array=”” objects=”” have=”” method.=””>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1&&(a=[].concat(G(i.slice(0,s)),G(i.slice(s+1)))),o.a.createElement(“div”,className:”qa-multi-thumb-promo gs-u-ph gs-u-pl+”,e.sectionName&&o.a.createElement(“h2″,className:”component__title gs-u-pl@m gs-u-pt+@xs gs-u-pt0@l”,id:”multi-thumb-promo-“.concat(n,”-title”),e.sectionName),o.a.createElement(“ul”,className:”qa-multi-thumb-promo-list multi-thumb-promo__list gel-layout gs-u-pl-alt+@m gs-u-pl@l”,a.map((function(e)e.link;return o.a.createElement(“li”,className:”qa-multi-thumb-promo-list-item multi-thumb-promo__item multi-thumb-promo–flex gel-layout__item gel-1/1@l gs-u-mb+ n “.concat(t.getClasses(a.length)),key:r,t.buildPromo(a.length,e)))))))),t.promoList=t.promoList.bind(ee(t)),treturn t=a,(r=[key:”render”,value:function()var e=this,t=this.props,r=t.data,n=t.path,i=r.length;return 0===i?o.a.createElement(“noscript”,null):o.a.createElement(“div”,null,r.map((function(t,r)var a=r+1===i?”gs-u-mt++@l”:”gs-u-mv++@l”,s=t.sectionName?”gs-u-pt+@l”:”gs-u-pt++@l”;return o.a.createElement(“section”,id:”multi-thumb-promo-“.concat(r),className:”box-promo “.concat(s,” “).concat(a,” multi-promo__centre”),key:r,e.promoList(t,n,r)))))])&&J(t.prototype,r),n&&J(t,n),a}(n.Component),oe=ne;ne.propTypes=data:n.PropTypes.arrayOf(n.PropTypes.shape(items:n.PropTypes.shape(altText:n.PropTypes.string,headline:n.PropTypes.string.isRequired,href:n.PropTypes.href,link:n.PropTypes.uri,mediaType:n.PropTypes.string,summary:n.PropTypes.string),sectionName:n.PropTypes.string)).isRequired,path:n.PropTypes.string.isRequired;var ie=function(e)var t=e.path;return o.a.createElement(i.Query,query:p(t,!0),(function(e)if(f(e))return o.a.createElement(“noscript”,null);var r=e.data.content.multiPromos;return o.a.createElement(oe,data:r,path:t)));ie.propTypes=path:n.PropTypes.string.isRequired;var ae=ie,se=r(13),pe=r(3),ce=r.n(pe),ue=function(e)var t=e.isApp,r=e.scores;if(!r)return o.a.createElement(“noscript”,null);var n=ce.a.transitiveThenUpdate(“bbc-morph-sport-football-scores-oppm”),i=r.date,a=r.tournament,s=””.concat(i.slice(0,4),”-“).concat(i.slice(4,6),”-“).concat(i.slice(6,8));return o.a.createElement(“section”,className:”oppm-promos__section”,o.a.createElement(“div”,className:”oppm-promos__scores”,o.a.createElement(n,isApp:t,date:s,tournament:a)));ue.propTypes=isApp:n.PropTypes.bool.isRequired,scores:n.PropTypes.shape(date:n.PropTypes.string,tournament:n.PropTypes.string).isRequired;var le=ue,fe=function(e)var t=e.isApp,r=e.tables;if(!r)return o.a.createElement(“noscript”,null);var n=ce.a.transitiveThenUpdate(“bbc-morph-sport-football-table-oppm”),i=r.date,a=r.tournament;return o.a.createElement(“section”,className:”oppm-promos__section”,o.a.createElement(“div”,className:”oppm-promos__table”,o.a.createElement(n,isApp:t,date:i,tournament:a)));fe.propTypes=isApp:n.PropTypes.bool.isRequired,tables:n.PropTypes.shape(date:n.PropTypes.string,tournament:n.PropTypes.string).isRequired;var me=fe,de=function(e)var t=e.isOppm,r=e.isApp,n=e.path;return t?o.a.createElement(i.Query,query:l(n,!0),(function(e))):o.a.createElement(“noscript”,null);de.propTypes=isOppm:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired,path:n.PropTypes.string.isRequired;var ye=de,he=function(e)var t=e.path,r=e.isUk,n=e.isApp,i=e.allowRightHandSide,a=e.allowAdvertising,s=e.featureToggles,p=e.isOppm;return i?o.a.createElement(“div”,className:”gel-layout__item gel-1/3@l layout__secondary-col–spaced”,o.a.createElement(ye,path:t,isOppm:p,isApp:n),o.a.createElement(I,path:t,isUk:r,isApp:n),o.a.createElement(se.a,type:”rightHandSideBetween”,isUk:r,featureToggles:s,allowAdvertising:a),o.a.createElement(ae,path:t),o.a.createElement(se.a,type:”rightHandSideBottom”,isUk:r,featureToggles:s,allowAdvertising:a)):o.a.createElement(“noscript”,null);he.propTypes=allowRightHandSide:n.PropTypes.bool.isRequired,allowAdvertising:n.PropTypes.string.isRequired,featureToggles:n.PropTypes.shape([]).isRequired,path:n.PropTypes.string.isRequired,isUk:n.PropTypes.bool.isRequired,isApp:n.PropTypes.bool.isRequired,isOppm:n.PropTypes.bool.isRequired;var be=he,ge=function(e)var t=e.path,r=e.isUk,n=e.isApp,a=e.env,p=function(e)return”true”===e,u=p(r),l=p(n);return o.a.createElement(i.Query,query:c(t,u,!0),(function(e)if(f(e))return s.a.throw(500,”article query returned null”),o.a.createElement(“noscript”,null);var r=e.data.content,n=r.article,i=r.article,p=i.allowRightHandSide,c=i.allowAdvertising,d=i.pageType,y=r.dynamicFeatureToggles,h=p?””:” gel-layout–center”;return o.a.createElement(“div”,className:”gel-wrap”,o.a.createElement(“div”,className:”gel-layout”.concat(h),o.a.createElement(“div”,className:”gel-layout__item gel-2/3@l”,o.a.createElement(m.a,isOppm:”oppm”===d,article:n,isUk:u,isApp:l,env:a,featureToggles:y,path:t)),o.a.createElement(be,isOppm:”oppm”===d,path:t,isUk:u,isApp:l,allowRightHandSide:p,allowAdvertising:c,featureToggles:y)))));ge.propTypes=path:n.PropTypes.string.isRequired,isUk:n.PropTypes.string.isRequired,isApp:n.PropTypes.string.isRequired,env:n.PropTypes.string.isRequired;var ve=ge;Morph.modules[“bbc-morph-cps-story@2.21.6”]=ve}]);
//# sourceMappingURL=bundle.js.map;
});



Source link

Share.

About Author

Leave A Reply

Pin It on Pinterest

Share This

Warning: Parameter 1 to Abovethefold_Optimization::end_buffering() expected to be a reference, value given in /home/skynews24/public_html/wp-includes/functions.php on line 3575