"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3665],{84521:function(e,l,a){var n,t,i,r,s,u,o,c;a.r(l);let d=(n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"headline",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},c=[{alias:null,args:null,concreteType:"CoreImageBlockType",kind:"LinkedField",name:"images",plural:!0,selections:o=[u={alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:s=[t={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"alt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mimeType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"normalizedRatio",storageKey:null},{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ArticleSEOContainer_feedContentResource",selections:[n,t,{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"dek",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"plaintext",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"RobotsType",kind:"LinkedField",name:"robots",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"index",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"follow",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"canonicalUrlOverride",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"seo",plural:!1,selections:[i,r],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"social",plural:!1,selections:[i,r,u],storageKey:null},{alias:null,args:null,concreteType:"PromoDataType",kind:"LinkedField",name:"promo",plural:!1,selections:[i],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[{kind:"InlineFragment",selections:o,type:"LedeMediaImageType",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"FeaturedImageType",kind:"LinkedField",name:"featuredImage",plural:!1,selections:o,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"seoArticleBody",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"quickAttachment",plural:!1,selections:[n,{kind:"InlineFragment",selections:o,type:"CoreImageBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"VolumeVideoResourceType",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"poster",plural:!1,selections:s,storageKey:null}],storageKey:null}],type:"VideoBlockType",abstractKey:null},{kind:"InlineFragment",selections:c,type:"ImageSliderBlockType",abstractKey:null},{kind:"InlineFragment",selections:c,type:"CoreGalleryBlockType",abstractKey:null}],storageKey:null}],type:"QuickPostResourceType",abstractKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"});d.hash="92fafce82311bf370fc8af929d5f9b18",l.default=d},93819:function(e,l,a){var n,t,i,r,s,u,o;a.r(l);let c=(n={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s=[r={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null}],u=[t,i],{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ParselyTagsContainer_feedContentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},n,{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resourceType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},t,i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:[n,r],storageKey:null},{alias:null,args:null,concreteType:"InternalCategoryResourceType",kind:"LinkedField",name:"internalCategories",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"PackageResourceType",kind:"LinkedField",name:"package",plural:!1,selections:u,storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:100}],concreteType:"FeedContentStreamsConnection",kind:"LinkedField",name:"streams",plural:!1,selections:[{alias:null,args:null,concreteType:"StreamResourceType",kind:"LinkedField",name:"nodes",plural:!0,selections:u,storageKey:null}],storageKey:"streams(first:100)"},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"FeedContentResourceInterfaceVideoGamesConnection",kind:"LinkedField",name:"games",plural:!1,selections:[{alias:null,args:null,concreteType:"VideoGameResourceType",kind:"LinkedField",name:"nodes",plural:!0,selections:[n],storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[{kind:"InlineFragment",selections:o=[{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"LedeMediaImageType",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"social",plural:!1,selections:o,storageKey:null},{alias:null,args:null,concreteType:"FeaturedImageType",kind:"LinkedField",name:"featuredImage",plural:!1,selections:o,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"template",storageKey:null}],type:"PostResourceType",abstractKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"});c.hash="7f8efc0fd4a06b2e16e43caa3abee996",l.default=c},38971:function(e,l,a){var n,t,i,r,s,u,o,c,d,g,y,p,m,k,T,h,F,K,f,b;a.r(l);let S=(n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},i={alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"seo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"headline",storageKey:null}],storageKey:null},s={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"dek",plural:!1,selections:r=[{alias:null,args:null,kind:"ScalarField",name:"plaintext",storageKey:null}],storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"isAccessibleForFree",storageKey:null},g={alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null}],storageKey:null},p={alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:y=[t],storageKey:null},h=[t,m={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"showScores",storageKey:null},{alias:null,args:null,concreteType:"ProductBrandResourceType",kind:"LinkedField",name:"brand",plural:!1,selections:y,storageKey:null},{alias:null,args:null,concreteType:"ProductRetailLinkType",kind:"LinkedField",name:"retailLinks",plural:!0,selections:T=[{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"retailer",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"salePrice",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null}],F=[t,m,{alias:null,args:null,kind:"ScalarField",name:"brand",storageKey:null},{alias:null,args:null,concreteType:"LegacyProductBlockRetailLinkType",kind:"LinkedField",name:"retailLinks",plural:!0,selections:T,storageKey:null}],K=[{alias:null,args:null,kind:"ScalarField",name:"autoplay",storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"caption",plural:!1,selections:r,storageKey:null},{alias:null,args:null,concreteType:"VolumeVideoResourceType",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"volumeUuid",storageKey:null},t,{alias:null,args:null,kind:"ScalarField",name:"player",storageKey:null},o,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"poster",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:[k],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],b={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[n,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:f=[k,{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:f,storageKey:null}],storageKey:null}],storageKey:null}],type:"LedeMediaImageType",abstractKey:null},{kind:"InlineFragment",selections:K,type:"LedeMediaVideoType",abstractKey:null}],storageKey:null},{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SEOSchemasContainer_feedContentResource",selections:[n,t,i,s,u,o,c,d,{alias:null,args:null,concreteType:"LiveStatusType",kind:"LinkedField",name:"liveStatus",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endAt",storageKey:null}],storageKey:null},g,{alias:null,args:null,kind:"ScalarField",name:"seoArticleBody",storageKey:null},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:[t,c,{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"parent",plural:!1,selections:[t,c,{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"parent",plural:!1,selections:[t,c],storageKey:null}],storageKey:null}],storageKey:null},p,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"blocks",plural:!0,selections:[n,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductBlockProductType",kind:"LinkedField",name:"product",plural:!1,selections:h,storageKey:null}],type:"ProductBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"LegacyProductBlockProductType",kind:"LinkedField",name:"legacyProduct",plural:!1,selections:F,storageKey:null}],type:"LegacyProductBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductBlockProductType",kind:"LinkedField",name:"products",plural:!0,selections:h,storageKey:null}],type:"ProductsTableBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"LegacyProductBlockProductType",kind:"LinkedField",name:"legacyProducts",plural:!0,selections:F,storageKey:null}],type:"LegacyProductsTableBlockType",abstractKey:null},{kind:"InlineFragment",selections:K,type:"VideoBlockType",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:"streamPosts",args:[{kind:"Literal",name:"first",value:100}],concreteType:"ArchiveFeedContentConnection",kind:"LinkedField",name:"posts",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[t,i,s,u,o,c,d,g,{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:y,storageKey:null},p,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CoreParagraphBlockType",kind:"LinkedField",name:"excerpt",plural:!0,selections:[{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"contents",plural:!1,selections:r,storageKey:null}],storageKey:null}],type:"PostResourceType",abstractKey:null},b],storageKey:null}],storageKey:"posts(first:100)"}],type:"StreamResourceType",abstractKey:null},b],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"});S.hash="5c2215e1c5c35540e668b16b5235319f",l.default=S},97453:function(e,l,a){var n;a.r(l);let t={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SearchTagsContainer_feedContentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusUuid",storageKey:null},{alias:null,args:null,concreteType:"CommentsType",kind:"LinkedField",name:"comments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mode",storageKey:null}],storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"};t.hash="cd493bcb606656182d2cb6d18b4e0d25",l.default=t},65130:function(e,l,a){a.d(l,{Z:function(){return K}});var n,t=a(59243),i=a.n(t),r=a(86273),s=a(84326),u=a(82201),o=a(24860),c=a(47382),d=a(45293),g=a(19738),y=a(58842),p=e=>{let{enabled:l=!0}=e,{communityDomain:a}=(0,d.q)().communityConfig,n=(0,c.aC)();(0,u.useEffect)(()=>{if(!l||n.userLoading)return;let e=(0,y.oQ)(n.user?.uid||n.viewer?.id.toString()||null)||"",t=new URL(window.location.toString());t.host!==a&&(t.host=a,t.port="",t.protocol="https:"),(0,g.ej)(o.lV)||(0,y.p1)(a,e,t.toString())},[a,l,n,n.userLoading])},m=a(78796),k=a(31218),T=a(92501),h=a(31561);let F=e=>"videoGame"===e||"quickPost"===e?"index":"post";var K=(0,k.n)(e=>{let{pageTypeOverride:l,...t}=e,u=(0,r.useFragment)((void 0!==n||(n=a(93819)).hash&&"7f8efc0fd4a06b2e16e43caa3abee996"!==n.hash&&console.error("The definition of 'ParselyTagsContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),t.feedContentResource),{siteSlug:o,placeholderImageUrl:c}=(0,m.Q)().siteSettings,{tagsToInverse:g,enableTraining:y}=(0,d.q)().parselyConfig,{internalCategories:k,primaryCategory:K,resourceType:f,categories:b,streams:S,title:L,permalink:C,social:R,originalPublishedAt:v,authors:_,status:I,ledeMedia:P,featuredImage:x,package:w,template:A}=u,B=l||(0,T.C2)(f,!!A),$=[o,`pagetype:${B}`,[...k||[],...b||[]].map(e=>e.slug)];"package"===u.resourceType&&$.push(`package-${u.chorusId||u.id}`),w&&$.push(`package-${w.chorusId?w.chorusId:w.id}`),S?.nodes.length&&S.nodes.map(e=>{$.push(`stream-${e.chorusId?e.chorusId:e.id}`)}),u.games?.nodes.map(e=>{$.push(`game:${e.title}`)});let j=$.flat();g.forEach(e=>{j.some(l=>l.toLowerCase()===e)||j.push(`not-${e}`)});let M=[...new Set(j)].filter(e=>"string"==typeof e&&e.length>0);return(p({enabled:y}),I!==s.Dj.publish)?null:(0,h.jsxs)(i(),{children:[(0,h.jsx)("meta",{name:"parsely-type",content:F(f)}),(0,h.jsx)("meta",{name:"parsely-title",content:L}),(0,h.jsx)("meta",{name:"parsely-link",content:C}),(0,h.jsx)("meta",{name:"parsely-image-url",content:R.image?.thumbnails.social.url||P?.image?.thumbnails.social.url||x?.image.thumbnails.social.url||c.social}),(0,h.jsx)("meta",{name:"parsely-pub-date",content:v||""}),K&&(0,h.jsx)("meta",{name:"parsely-section",content:K.slug}),(0,h.jsx)("meta",{name:"parsely-tags",content:M.join(",")}),_?.map(e=>h.jsx("meta",{name:"parsely-author",content:e.name},e.id))]})},{context:"ParselyTagsErrorBoundary"})},30821:function(e,l,a){var n,t=a(59243),i=a.n(t),r=a(86273),s=a(84326),u=a(7588),o=a(31218),c=a(31561);l.Z=(0,o.n)(e=>{let{primaryCategory:l,authors:t,status:o,chorusId:d,chorusUuid:g,id:y,comments:p}=(0,r.useFragment)((void 0!==n||(n=a(97453)).hash&&"cd493bcb606656182d2cb6d18b4e0d25"!==n.hash&&console.error("The definition of 'SearchTagsContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),e.feedContentResource),m=(0,u.w)({chorusId:d,chorusUuid:g,id:y});return o!==s.Dj.publish?null:(0,c.jsxs)(i(),{children:[l&&(0,c.jsx)("meta",{name:"cse-category",content:l.title}),p.enabled&&"standard"===p.mode&&m&&(0,c.jsx)("meta",{name:"cse-coral-id",content:m}),t&&t.length>0&&(0,c.jsx)("meta",{name:"cse-authors",content:t.map(e=>e.name).join(",")})]})},{context:"SearchTagsContainerErrorBoundary"})},61576:function(e,l,a){a.d(l,{Z:function(){return i}});var n=a(26996),t=a(83419);function i(e){let{totalPages:l,totalPagesLimit:a=Number.MAX_SAFE_INTEGER,firstPageAsIndex:i=!0,hasNextPage:r=!0}=e,s=(0,t.Z)(),u=s.page||1,o=i?s.base:`${(0,n.xs)(s.base)}${(0,n.FS)(1)}`,c=null!==s.page?1===u?o:`${(0,n.xs)(s.base)}${(0,n.FS)(u)}`:void 0,d=u>1?2===u?o:`${(0,n.xs)(s.base)}${(0,n.FS)(u-1)}`:void 0,g=r?`${(0,n.xs)(s.base)}${(0,n.FS)(u+1)}`:void 0;return{pageNumber:u,firstPage:o,updatedTotalPages:l?Math.min(a,l):void 0,currentPageHref:c,previousPageHref:d,nextPageHref:g,isPaginating:null!==s.page}}},64236:function(e,l,a){a.d(l,{Z:function(){return g}});var n,t=a(37254),i=a(86273),r=a(61576),s=a(34112),u=a(45293),o=a(78796),c=a(20352),d=a(31561),g=e=>{let{hasNextPage:l=!1,includeAuthors:g=!0,getModifiedTitle:y=e=>e,...p}=e,m=(0,i.useFragment)((void 0!==n||(n=a(84521)).hash&&"92fafce82311bf370fc8af929d5f9b18"!==n.hash&&console.error("The definition of 'ArticleSEOContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),p.feedContentResource),{title:k,permalink:T,canonicalUrlOverride:h,dek:F,robots:K,authors:f,primaryCampaign:b,originalPublishedAt:S,publishedAt:L,seo:C,social:R,ledeMedia:v,featuredImage:_}=m,{placeholderImageUrl:I}=(0,o.Q)().siteSettings,P=p.nofollow||!K.follow||!!b,x=h||T,w=g&&f&&f[0]?{name:"author",content:f[0].name}:null,A=C.headline,B="QuickPostResourceType"===m.__typename&&m.seoArticleBody||C.description||F.plaintext,$=R.headline,j=R.description||B||F.plaintext,M={type:"article",url:x,title:$||k,description:j,article:{publishedTime:S||void 0,modifiedTime:L||void 0}},D=R.image||v?.image||_?.image||null;if("QuickPostResourceType"===m.__typename)switch(m.quickAttachment?.__typename){case"CoreImageBlockType":D=m.quickAttachment.image??D;break;case"VideoBlockType":D=m.quickAttachment.video?.poster??D;break;case"CoreGalleryBlockType":case"ImageSliderBlockType":D=m.quickAttachment.images[0]?.image??D}let E=D?.thumbnails.social||null,V=(0,s._1)({image:D,imageThumbnail:E,placeholderImageUrl:I.social});M.images=[V];let q=[{name:"twitter:url",content:x},{name:"twitter:title",content:$||k},{name:"twitter:description",content:j},{name:"twitter:image",content:V.url},...V.alt?[{name:"twitter:image:alt",content:V.alt}]:[]],{pageNumber:U,currentPageHref:Z,previousPageHref:N,nextPageHref:O,isPaginating:Q}=(0,r.Z)({hasNextPage:l}),G=e=>e&&Q?`${e} - Page ${U}`:e,z=e=>G(y(e)),H=[],W=new URL(String(T)).origin;!h&&Q&&(x=`${W}${Z}`),U>1&&H.push({rel:"prev",href:`${W}${N}`}),l&&H.push({rel:"next",href:`${W}${O}`});let X=!K.index,{communityName:J}=(0,u.q)().communityConfig;return(0,d.jsx)(t.PB,{title:(0,c.F)([z(A),z(k)],J),description:B,canonical:x,openGraph:M,robotsProps:{maxImagePreview:"large"},additionalMetaTags:[...w?[w]:[],...q],nofollow:P,additionalLinkTags:H,noindex:X})}},18490:function(e,l,a){var n,t=a(86273),i=a(731),r=a(34112),s=a(5550),u=a(45293),o=a(78796),c=a(56853),d=a(25308),g=a(18881),y=a(31561);l.Z=e=>{let l=(0,t.useFragment)((void 0!==n||(n=a(38971)).hash&&"5c2215e1c5c35540e668b16b5235319f"!==n.hash&&console.error("The definition of 'SEOSchemasContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),e.feedContentResource),{communityConfig:p}=(0,u.q)(),{siteLogo:m}=(0,o.Q)().siteSettings;if(!i.F.includes(l.__typename))return;let k=(0,r.lc)(p.communityName,m),T=[];l.liveStatus.startAt&&T.push((0,r.Rz)(l,k)),l.primaryCampaign?T.push((0,r.TY)(l,k)):T.push((0,r.an)(l,k));let h=(0,s._N)(l.primaryCategory,3);"PackageResourceType"===l.__typename||"QuickPostResourceType"===l.__typename||l.liveStatus.status||l.primaryCampaign||T.push((0,r.Xn)(h));let F=(0,d.Z)(p.communityDomain);if(l.ledeMedia?.__typename==="LedeMediaVideoType"){let e=(0,c.Z)({volumeEmbedHost:F,uuid:l.ledeMedia.video.volumeUuid,autoplay:l.ledeMedia.autoplay,playerType:l.ledeMedia.video.player});T.push((0,r.lA)(l.ledeMedia,e))}return l.blocks.forEach(e=>{if("VideoBlockType"===e.__typename&&e.video?.volumeUuid){let l=(0,c.Z)({volumeEmbedHost:F,uuid:e.video.volumeUuid,autoplay:e.autoplay,playerType:e.video.player});T.push((0,r.lA)(e,l))}else if("ProductBlockType"===e.__typename)T.push((0,r.Dp)(e.product));else if("LegacyProductBlockType"===e.__typename){let{brand:l,...a}=e.legacyProduct;T.push((0,r.Dp)({brand:l.length>0?{title:l}:null,showScores:!1,...a}))}else"ProductsTableBlockType"===e.__typename?T.push((0,r.yw)(e.products)):"LegacyProductsTableBlockType"===e.__typename&&T.push((0,r.yw)(e.legacyProducts.map(e=>{let{brand:l,...a}=e;return{brand:l.length>0?{title:l}:null,showScores:!1,...a}})))}),(0,y.jsx)(g.Z,{schema:T})}},5550:function(e,l,a){a.d(l,{Vx:function(){return u},_N:function(){return s},xE:function(){return r}});let n=e=>e.map(e=>e.category.length).reduce((e,l)=>e+l,0),t=e=>{for(;n(e)>42;)e.shift();return e},i=e=>function(l){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=[];return!function l(a,t){t>0&&(n.unshift(e(a)),a.parent&&l(a.parent,t-1))}(l,a),t(n)},r=i(e=>({category:e.title,path:e.path||""})),s=i(e=>({category:e.title,url:e.permalink||""})),u=e=>{let l=e.filter(e=>e.displayAsChildCategory),a=[...l];if(l.length>7){let e=new Date;e.setMonth(e.getMonth()-6),a=l.filter(l=>new Date(l.lastContentPublishedAt||"")>e)}return a.sort((e,l)=>new Date(l.lastContentPublishedAt||"").valueOf()-new Date(e.lastContentPublishedAt||"").valueOf()).map(e=>({text:e.title,url:e.permalink})).slice(0,8)}},58842:function(e,l,a){a.d(l,{oQ:function(){return r},p1:function(){return s},rA:function(){return i},xA:function(){return u}});var n=a(87784),t=a(19738);let i=e=>e.filter(e=>e.pub_date).map((e,l)=>({author:{fullName:e.author},image_url:e.image_url,publishDate:e.pub_date,tags:e.tags,title:e.title,url:e.url?new URL(e.url).pathname:void 0,uid:l.toString()})),r=e=>{let l=(0,t.ej)("OptanonConsent");if(e&&l.includes("C0002:1"))return e;let a=(0,t.ej)("_parsely_visitor");try{return JSON.parse(a).id}catch(e){return null}},s=(e,l,a)=>{var t,i,r,s;return t=void 0,i=void 0,r=void 0,s=function*(){let t=e.replace(/^www\./,"");try{let e=yield fetch(`https://api.parsely.com/v2/profile?apikey=${t}&uuid=${encodeURIComponent(l)}&url=${encodeURIComponent(a)}`);if(!e.ok)throw Error(`${e.status} response from parsely API`)}catch(e){(0,n.Tb)(e,{tags:{context:"parsely"},extra:{message:"failed to send training data to Parsely"}})}},new(r||(r=Promise))(function(e,l){function a(e){try{u(s.next(e))}catch(e){l(e)}}function n(e){try{u(s.throw(e))}catch(e){l(e)}}function u(l){var t;l.done?e(l.value):((t=l.value)instanceof r?t:new r(function(e){e(t)})).then(a,n)}u((s=s.apply(t,i||[])).next())})},u=e=>null==e?void 0:e.map(e=>({authors:[{name:e.author.fullName||""}],headline:e.title||"",timestamp:e.publishDate||"",thumbnails:{horizontal:e.image_url||"",square:e.image_url||""},id:e.url||"",permalink:e.url||"",contentType:"post"}))}}]);