Italian Open: Kyle Edmund loses in first round

0


0)if(++t>=xe)return arguments[0]else t=0;return e.apply(void 0,arguments)}}function me(e)if(null!=e)tryreturn Pt.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)function 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 “}),P.default.createElement(“div”,className:(0,S.default)(“view-comments-button-wrapper”,”view-comments-button-wrapper-hidden”:this.isViewCommentsButtonWrapperHidden()),P.default.createElement(t,id:”stats-view-comments”,labels:label:”view-comments”,metadata:r,fireOnView:!0,fireOnClick:!0,minimumTimeInView:0,P.default.createElement(M.ViewCommentsButton,totalCommentsCount:n,onClick:this.showWrappedComponent))),P.default.createElement(“div”,className:(0,S.default)(“view-comments-button-wrapped-component”,”view-comments-button-wrapped-component-hidden”:this.isCommentsModuleWrapperHidden()),P.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)(R.default)),t.contextTypes=WithStatsIncludeCommonLabels:C.PropTypes.func.isRequired,t}function i(e)”Component”Object.defineProperty(t,”__esModule”,value:!0);var a=n(145),s=r(a),u=n(113),l=r(u),c=n(2),d=r(c),m=n(44),f=r(m),p=n(49),h=r(p),y=n(50),g=r(y),v=n(54),_=r(v),b=n(87),T=r(b);t.withViewCommentsButton=o;var C=n(95),P=r(C),E=n(143),S=r(E),w=n(155),O=n(195),x=r(O),M=n(251),I=n(248),R=r(I)},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)(n.featureToggles=),l?i(n,o,s):nObject.defineProperty(t,”__esModule”,value:!0),t.overridableProps=void 0;var s=n(148),u=r(s),l=n(2),c=r(l),d=n(261),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(113),i=r(o),a=n(2),s=r(a),u=n(44),l=r(u),c=n(49),d=r(c),m=n(50),f=r(m),p=n(54),h=r(p),y=n(87),g=r(y),v=n(143),_=r(v),b=n(95),T=r(b),C=n(213),P=n(170),E=n(448),S=r(E),w=n(191),O=r(w),x=n(164),M=n(178),I=r(M),R=n(253),N=n(173),k=n(190),A=n(260),D=n(175),L=r(D),j=n(195),F=r(j),U=n(207),q=r(U),W=n(256),V=n(275),B=r(V),Y=n(161),H=n(193),z=n(254),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=P.exampleAvatarUrl96x96PngBase64,ce=”https://wrong_dummy_url”,de=function(e){function t(e)(0,l.default)(t)).call(this,e));return n.theme=B.default.use(component:n,themeVariant:n.props.themeVariant,product:e.product),(0,A.addModeSupport)(mode:e.mode,component:n),n.state=audibleMessage:””,n.setA11yAlertText=n.setA11yAlertText.bind(n),nreturn(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(I.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(R.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(R.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(R.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(R.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(160),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(145),s=r(a),u=n(450),l=r(u),c=n(451),d=n(233),m=r(d),f=n(248),p=r(f),h=n(258),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(this.state.sortOrder),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];returnmeta:responseCode:200,body:forumData:t,loadedComments:s,latestResponseType:o,sortOrder:r,fetchingSortedComments:i,canLoadMore:a),e.exports=t.default},function(e,t)e.exports=create:function(e)return Morph.createAggregatorWithCaller(“bbc-morph-comments-view@3.56.1″,e),function(e,t,n)”use strict”;function r(e)return e&&e.__esModule?e:default:efunction o(e)return(0,c.pickBy)(e,function(e,t)return(0,d.not)(“comments”===t))function i(e,t)var n=t[0];return e.some(function(e)return e.index===n.index)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 a=n(452),s=r(a),u=n(2),l=r(u),c=n(98),d=n(155),m=n(258),f=function(e,t)return t.some(function(t)return t.id===e.id),p=function(e,t)return(0,l.default)(,e,actions:reportUrl:e.actions.reportUrl.replace(“[sitename]”,t)),h=function(e,t)var n=g(t,e.inReplyToId);return(0,l.default)(,e,replyTo:displayName:n.author.displayName,text:n.text),y=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,g=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,l.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,n)var r=Array.isArray(t)&&t.length>0,o=m.hasOutOfSequenceCommentsBySortOrder[n];if(r)if(0===e.length)return t.slice();if((0,d.not)(o(e,t))&&(0,d.not)(i(e,t)))return e.concat(t)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,s.default)(e),(0,s.default)(t.filter(function(t)return!f(t,e)))):e,t.mapReplies=function(e,t,n)var r=[].concat((0,s.default)(e),(0,s.default)(t.replies),[t]);return e.map(function(e)return h(e,r)).map(function(e)return p(e,n)),t.mapComments=function(e)return e.map(function(e)return y(e))},function(e,t,n){“use strict”;function r(e)return e&&e.__esModule?e:default:et.__esModule=!0;var o=n(453),i=r(o);t.default=function(e)if(Array.isArray(e))for(var t=0,n=Array(e.length);t1?arguments[1]:void 0,y=void 0!==h,g=0,v=c(m);if(y&&(h=r(h,p>2?arguments[2]:void 0,2)),void 0==v),function(e,t,n)”use strict”;var r=n(12),o=n(20);e.exports=function(e,t,n)t in e?r.f(e,t,o(0,n)):e[t]=n]);;
);
document.F=Object”),t.close(),c=t.F;r–;)delete c.prototype[u[r]];return c()};t.exports=Object.create||function(t,n)var e;return null!==t?(f.prototype=r(t),e=new f,f.prototype=null,e[i]=t):e=c(),void 0===n?e:o(e,n)},function(t,n,e),function(t,n)t.exports=”constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf”.split(“,”),function(t,n,e)var r=e(3).f,o=e(2),u=e(9)(“toStringTag”);t.exports=function(t,n,e)t&&!o(t=e?t:t.prototype,u)&&r(t,u,configurable:!0,value:n),function(t,n,e)n.f=e(9),function(t,n,e)var r=e(1),o=e(0),u=e(12),i=e(26),f=e(3).f;t.exports=function(t)(o.Symbol=u?:r.Symbol,function(t,n)n.f=.propertyIsEnumerable,function(t,n,e)var r=e(2),o=e(15),u=e(17)(“IE_PROTO”),i=Object.prototype;t.exports=Object.getPrototypeOf,function(t,n,e)var r=e(49);t.exports=function(t,n,e)if(r(t),void 0===n)return t;switch(e)case 1:return function(e)return t.call(n,e);case 2:return function(e,r)return t.call(n,e,r);case 3:return function(e,r,o)return t.call(n,e,r,o)return function()return t.apply(n,arguments),function(t,n,e)t.exports=!e(4)&&!e(11)(function()return 7!=Object.defineProperty(e(32)(“div”),”a”,get:function()return 7).a),function(t,n,e)var r=e(7),o=e(1).document,u=r(o)&&r(o.createElement);t.exports=function(t)return u?o.createElement(t):,function(t,n,e)”use strict”;function r(t)return t&&t.__esModule?t:default:tn.__esModule=!0;var o=e(56),u=r(o),i=e(71),f=r(i),c=”function”==typeof f.default&&”symbol”==typeof u.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;n.default=”function”==typeof f.default&&”symbol”===c(u.default)?function(t)return void 0===t?”undefined”:c(t):function(t)return t&&”function”==typeof f.default&&t.constructor===f.default&&t!==f.default.prototype?”symbol”:void 0===t?”undefined”:c(t),function(t,n,e){“use strict”;var r=e(12),o=e(5),u=e(35),i=e(6),f=e(21),c=e(60),a=e(25),s=e(29),l=e(9)(“iterator”),p=!([].keys&&”next”in[].keys()),y=function()return this;t.exports=function(t,n,e,d,v,h,b)c(e,n,d);var _,m,x,O=function(t)if(!p&&t in j)return j[t];switch(t)case”keys”:case”values”:return function()return new e(this,t)return function()return new e(this,t),g=n+” Iterator”,S=”values”==v,w=!1,j=t.prototype,P=j[l]},function(t,n,e)t.exports=e(6),function(t,n,e)var r=e(2),o=e(8),u=e(63)(!1),i=e(17)(“IE_PROTO”);t.exports=function(t,n)a.push(e));return a,function(t,n)var e=.toString;t.exports=function(t)return e.call(t).slice(8,-1),function(t,n)n.f=Object.getOwnPropertySymbols,function(t,n,e),function(t,n,e)var r=e(28),o=e(14),u=e(8),i=e(19),f=e(2),c=e(31),a=Object.getOwnPropertyDescriptor;n.f=e(4)?a:function(t,n)if(t=u(t),n=i(n,!0),c)tryreturn a(t,n)catch(t)if(f(t,n))return o(!r.f.call(t,n),t[n]),function(t,n,e)”use strict”;Object.defineProperty(n,”__esModule”,value:!0);var r=e(42),o=e.n(r);Morph.modules[“bbc-morph-comments-wrapper@1.4.0″]=o.a,function(t,n,e)”use strict”;function r(t)return t&&t.__esModule?t:default:tObject.defineProperty(n,”__esModule”,value:!0);var o=e(43),u=r(o),i=e(44),f=r(i);n.default=u.default.create(f.default,),function(t,n)t.exports=create:function(t,n)return Morph.createContainerWithCaller(“bbc-morph-comments-wrapper@1.4.0″,t,n),function(t,n,e)”use strict”;function r(t)return t&&t.__esModule?t:default:tObject.defineProperty(n,”__esModule”,value:!0);var o=e(45),u=r(o),i=e(50),f=r(i),c=e(51),a=r(c),s=e(55),l=r(s),p=e(81),y=r(p),d=e(89),v=r(d),h=e(90),b=r(h),_=function(t)function n()(0,u.default)(n)).apply(this,arguments))return(0,y.default)(n,t),(0,a.default)(n,[key:”render”,value:function()return v.default.createElement(b.default,this.props)]),n(d.Component);_.displayName=”CommentsWrapper”,n.default=_,function(t,n,e)t.exports=default:e(46),__esModule:!0,function(t,n,e)e(47),t.exports=e(0).Object.getPrototypeOf,function(t,n,e)var r=e(15),o=e(29);e(48)(“getPrototypeOf”,function()return function(t)return o(r(t))),function(t,n,e)var r=e(5),o=e(0),u=e(11);t.exports=function(t,n)Object[t],i=;i[t]=n(e),r(r.S+r.F*u(function()e(1)),”Object”,i),function(t,n)t.exports=function(t)if(“function”!=typeof t)throw TypeError(t+” is not a function!”);return t,function(t,n,e)”use strict”;n.__esModule=!0,n.default=function(t,n)if(!(t instanceof n))throw new TypeError(“Cannot call a class as a function”),function(t,n,e){“use strict”;n.__esModule=!0;var r=e(52),o=function(t)return t&&t.__esModule?t:default:t(r);n.default=function()function t(t,n)for(var e=0;ee.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=href:e.image.href,altText:e.image.altText;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)!1,n.configurable=!0,"value"in” d=”” e.__proto__=”t,e)(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)var r=e.uri)))))),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)i?o.a.createElement(“div”,null,o.a.createElement(le,scores:n,isApp:r),o.a.createElement(me,tables:i,isApp:r)):o.a.createElement(“noscript”,null))):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(404,”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.19.38”]=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