"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9719],{62379:(e,t,r)=>{r.r(t),r.d(t,{default:()=>S});var n=r(83051),i=r(74437),a=r(468),o=r(35289),m=r(49147),s=r(54498),c=r(49514),l=r(63593),d=r(41738),u=e=>e.reduce(((e,t)=>e.concat(t.model.blocks)),[]),p=r(90360),g=r(9745),v=r(32038),b=r(62540),h=e=>{var{commentsCount:t,showCommentsMetadata:r}=e,{pathname:n}=(0,g.t)(),i=(0,v.A)(),a=[{iconType:"participate:comments",text:"".concat(t," Comments"),url:"#comments"}],o={click:{name:"livexp_metadata_snippet_click",attributes:{is_dotcom:i,destination:n}}},m={groupName:"Comments Snippet",groupType:"comments-snippet",itemType:"link",itemName:"View Comments",itemLabel:a[0].text,itemPosition:0,groupEngineStats:{engineType:["experimentation"],engineID:["optimizely.".concat("livexp_comments_on_live_pages_2",".").concat("live_reporting_tab")]}};return r&&(0,b.jsx)(p.A,{items:a,tracking:m,experimentation:o})};const f={default:{SUMMARY:"Summary"},cy:{SUMMARY:"Crynodeb"},gd:{SUMMARY:"Geàrr-chunntas"}};function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=(0,n.default)("div",{target:"ezidyz80",label:"SummaryPointsWrapper"})("min-height:",(e=>{var{hasData:t}=e;return t?i.SPACING_10:0}),";margin-bottom:",(e=>{var{hasData:t}=e;return t?0:i.SPACING_8}),";@media (min-width: ",(0,a.A)(960),"){margin-top:",(e=>{var{hasData:t}=e;return t?i.SPACING_6:0}),";margin-bottom:",(e=>{var{hasData:t}=e;return t?i.SPACING_4:0}),";}@media (max-width: ",(0,a.A)(959),"){margin-top:",(e=>{var{hasData:t}=e;return t?i.SPACING_4:0}),";margin-bottom:",(e=>{var{hasData:t}=e;return t?i.SPACING_4:0}),";}>div{margin-bottom:0rem;border-top:none;}@media (max-width: ",(0,a.A)(o.R4-1),") and (min-width: ",(0,a.A)(375),"){>div{margin-left:0rem;margin-right:0rem;}}"),P=e=>{var{filteredBlocks:t,setPost:r}=e,{setSelectedTabId:n}=(0,l.QM)(),i=(0,m.N)(r,n),a=(0,d.Dn)(),o=f[a]||f.default,u={headingLevel:2,blocksOverride:t,isContained:!0,isFullWidth:!0,headingFontScale:"indexHeadlineMedium",overrides:{linkTrackingOverride:{group:{name:"Summary Points"}},linkOnClickOverride:i}};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.A,{fontScale:"indexHeadlineMedium",level:"2",type:"section-heading",children:o.SUMMARY}),(0,b.jsx)(c.A,_({},u))]})};const S=e=>{var{data:t,setPost:r,commentsCount:n,showCommentsMetadata:i}=e,a=(e=>e.length>1?[{type:"unorderedList",model:{blocks:u(e)}}]:e)(t);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(A,{hasData:(null==a?void 0:a.length)>0,id:"summaryPoints",children:Boolean(null==a?void 0:a.length)&&P({filteredBlocks:a,setPost:r})}),(0,b.jsx)(h,{commentsCount:n,showCommentsMetadata:i})]})}}}]);