1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4257],{2e3:(e,t,n)=>{"use strict";n.d(t,{G:()=>g});var a=n(55729),i=n(35460),r=n(26066),c=n(51849),o=n(64341),l=n(99828),s=n(1040);class d extends s.p{buildEndpointURL(e){return"ck_character"===e.postType&&e.feature?"/wp-json/wp/v2/ck_character/".concat(e.feature):"ck_creator"===e.postType&&e.feature?"/wp-json/wp/v2/ck_creator/".concat(e.feature):super.buildEndpointURL(e)}}var p=n(80069);let m={data:{posts:[],pageInfo:{totalItems:null,page:1}},error:null,loading:!0};function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,l.JC)(),c=(0,p.j)(e),s=(0,a.useMemo)(()=>{let t={...e};return Object.keys(t).forEach(e=>{void 0===t[e]&&delete t[e]}),t},[e]),d=(0,a.useMemo)(()=>{var e;let a=(null==n||null==(e=n.data)?void 0:e.accessToken)||void 0;return a&&(t.fetchStrategyOptions=t.fetchStrategyOptions||{},a&&c&&(t.fetchStrategyOptions.bearerToken=a)),t},[n,t,c]),u=(0,r.$)(s,d),{data:h,error:x,loading:f}=(0,o.t)(u.params,u.options,u.path,g.fetcher());return(0,a.useEffect)(()=>{null!==x&&"string"!=typeof x&&(null==x?void 0:x.message)==="Expired token"&&(0,i.signOut)()},[x,n]),(0,a.useMemo)(()=>!1!==t.shouldFetch||x||f||h?{data:h,error:x,loading:f}:m,[h,x,f,t.shouldFetch])}g.fetcher=(e,t)=>new d(null!=e?e:(0,c.BS)(),t)},5582:(e,t,n)=>{"use strict";n.d(t,{C:()=>p});var a=n(6029),i=n(15696),r=n(28185);n(85617);var c=n(37107),o=n(34528),l=n(87821),s=n(44480),d=n(3671);let p=e=>{let{byline:t,cardHref:n,className:p,content:m,ctaText:g,grid:u=!1,highlight:h,id:x,imageAlt:f,imageSrc:v,imageHeight:j,imageWidth:_,imageSizes:w,style:y,title:k,truncate:b=!1,variant:S}=e,{Animated:N,environment:P}=(0,r.A)();if(!k)return null;let C=b&&m&&m.length>190?"".concat(m.substring(0,97),"..."):m;return(0,a.jsx)(N,{as:u?"li":"div",animation:"slideUpFade",transition:{delay:0},children:(0,a.jsxs)("div",{className:(0,i.cx)("ck-card","news-card","archive"===S?"card--archive":"","n1p8mhaz",p),id:x,style:y,children:[(0,a.jsxs)("div",{className:(0,i.cx)("card__content"),children:[(0,a.jsxs)("div",{className:"card__meta",children:[h&&(0,a.jsx)(l.l,{variant:"black",children:h}),t&&(0,a.jsx)(o.W,{variant:"xxs",children:t})]}),k&&(0,a.jsx)(d.Z,{href:n,clickable:"gutenberg"!==P,children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:k}})}),m&&(0,a.jsx)(o.W,{children:C}),g&&(0,a.jsx)(c.v,{variant:"secondary",children:g})]}),v&&_&&(0,a.jsx)(s.M,{src:v,imageAlt:f,aspectRatio:S,imageHeight:j,imageWidth:_,imageSizes:w})]})})}},36071:(e,t,n)=>{"use strict";n.d(t,{d:()=>l});var a=n(6029),i=n(15696),r=n(55729),c=n(28185);let o=e=>{let{totalPages:t,currentPage:n,pathName:o="",handleClick:l,pageParam:s="page"}=e,{Link:d}=(0,c.A)();return(0,r.useMemo)(()=>{let e=[];
1if(t<6)for(let n=1;n<=t;n++)e.push(n);else{let a=Math.min(Math.floor(1.5),n),i=Math.min(Math.floor(1.5),t-n),r=n-a,c=n+i;r<=0||n<=3?(r=1,c=4):(c>t||t-n<3)&&(r=t-3,c=t);for(let t=r;t<=c;t++)e.push(t);r>1&&(e.unshift("..."),e.unshift(1)),c<t&&(e.push("..."),e.push(t))}return e},[n,t]).map((e,t)=>(0,a.jsx)(r.Fragment,{children:"string"==typeof e?(0,a.jsx)("span",{className:"ck-pagination__dots",children:e}):(0,a.jsx)(d,{className:(0,i.cx)("ck-pagination__item",e===n?"ck-pagination__item--active":""),onClick:t=>{t.preventDefault(),"number"==typeof e&&l(e)},rel:e===n?"nofollow":void 0,href:"".concat(o,"/?").concat(s,"=").concat(e),"aria-label":"Go to page ".concat(e),children:e})},"page-number-".concat(t)))};n(99958);let l=e=>{let{id:t,totalItems:n,itemsPerPage:r=10,currentPage:l,onPageChange:s,pathName:d="",className:p,pageParam:m="page",style:g}=e,{Link:u}=(0,c.A)(),h=Math.ceil(n/r);if(1===h)return"";let x=e=>{e>=1&&e<=h&&s(e)};return(0,a.jsxs)("nav",{className:(0,i.cx)("ck-pagination","p1pxetud",p),role:"navigation","aria-label":"Pagination",id:t,style:g,children:[(0,a.jsx)(u,{onClick:e=>{e.preventDefault(),x(l-1)},className:(0,i.cx)("ck-pagination__item--prev",1===l?"ck-pagination__item--disabled":""),href:"".concat(d,"/?").concat(m,"=").concat(l-1),"aria-label":"Previous","aria-disabled":1===l,tabIndex:1===l?-1:0,rel:1===l?"nofollow":void 0,children:(0,a.jsx)("span",{children:"Previous"})}),(0,a.jsx)(o,{totalPages:h,handleClick:x,currentPage:l,pathName:d,pageParam:m}),(0,a.jsx)(u,{onClick:e=>{e.preventDefault(),x(l+1)},className:(0,i.cx)("ck-pagination__item--next",l===h?"ck-pagination__item--disabled":""),href:"".concat(d,"/?").concat(m,"=").concat(l+1),rel:l===h?"nofollow":void 0,"aria-label":"Previous","aria-disabled":l===h,tabIndex:l===h?-1:0,children:(0,a.jsx)("span",{children:"Next"})})]})}},55614:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var a=n(6029),i=n(95669),r=n.n(i),c=n(81278),o=n(97125);let l=e=>e?e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)):"",s=e=>{var t,n;let{description:i,title:s,ignoreQueryParams:d=!0,type:p="WebPage",robots:m="index, follow"}=e,{asPath:g}=(0,c.useRouter)(),{data:u,loading:h,error:x}=(0,o.F)(),f=h||x?"":null==u||null==(t=u.settings)?void 0:t.site_name,v=h||x?"":null==u||null==(n=u.settings)?void 0:n.site_desc,j=l("".concat(s?"".concat(s," | "):"").concat(f)),_=l(s),w=l(i),y=d?g.split("?")[0]:g,k="https://comicskingdom.com".replace(/\/+$/,"");return(0,a.jsxs)(r(),{children:[(0,a.jsx)("title",{children:j}),i&&(0,a.jsx)("meta",{name:"description",content:i}),m&&(0,a.jsx)("meta",{name:"robots",content:m}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:title",content:j}),i&&(0,a.jsx)("meta",{property:"og:description",content:i}),(0,a.jsx)("meta",{property:"og:url",content:y}),(0,a.jsx)("meta",{property:"og:site_name",content:f}),(0,a.jsx)("meta",{property:"og:image",content:"/placeholder.jpg"}),(0,a.jsx)("meta",{property:"og:image:width",content:"1080"}),(0,a.jsx)("meta",{property:"og:image:height",content:"1080"}),(0,a.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),(0,a.jsx)("meta",{property:"article:publisher",content:"https://www.facebook.com/TheComicsKingdom"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@comicskingdom"}),(0,a.jsx)("meta",{name:"twitter:title",content:_}),i&&(0,a.jsx)("meta",{name:"twitter:description",content:w}),(0,a.jsx)("link",{rel:"canonical",href:"".concat(k).concat(y),name:"canonical"}),(0,a.jsx)("script",{type:"application/ld+json",children:'\n {\n "@context": "https://schema.org",\n "@graph": [\n {\n "@type": "'.concat(p,'",\n "@id": "').concat(y,'",\n "url": "').concat(y,'",\n "name": "').concat(j,'",\n "isPartOf": {\n "@id": "/#website"\n },\n "description": "').concat(w,'",\n "inLanguage": "en-US",\n "potentialAction": [\n {\n "@type": "ReadAction",\n "target": [\n "').concat(y,'"\n ]\n }\n ]\n },\n {\n "@type": "WebSite",\n "@id": "/#website",\n "url": "/",\n "name": "').concat(f,'",\n "description": "').concat(v,'",\n "publisher": {\n "@id": "/#organization"\n },\n "potentialAction": [\n {\n "@type": "SearchAction",\n "target": {\n "@type": "
1EntryPoint",\n "urlTemplate": "/?s={search_term_string}"\n },\n "query-input": "required name=search_term_string"\n }\n ],\n "inLanguage": "en-US"\n },\n {\n "@type": "Organization",\n "@id": "/#organization",\n "name": "King Features Syndicate",\n "url": "/",\n "logo": {\n "@type": "ImageObject",\n "inLanguage": "en-US",\n "@id": "/#/schema/logo/image/",\n "url": "/placeholder.jpg",\n "contentUrl": "/placeholder.jpg",\n "width": 1080,\n "height": 1080,\n "caption": "King Features Syndicate"\n },\n "image": {\n "@id": "/#/schema/logo/image/"\n },\n "sameAs": [\n "https://www.facebook.com/TheComicsKingdom",\n "https://twitter.com/comicskingdom",\n "https://www.instagram.com/comicskingdom/",\n "https://www.youtube.com/channel/UCITxE1wlcJD-cNsrBF-D6fw",\n "https://www.tiktok.com/@comics.kingdom"\n ]\n }\n ]\n }\n ')})]})}},68382:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>v,default:()=>j});var a=n(6029),i=n(55729),r=n(94670),c=n(87821),o=n(9485),l=n(5582),s=n(36071),d=n(81278),p=n(28125),m=n(9349),g=n(2e3),u=n(18134),h=n(70763),x=n(55614),f=n(49288),v=!0;let j=e=>{var t,n;let{params:v,postName:j,comicParams:_}=e,{feature:w}=(0,f.i)(),y=(0,d.useRouter)(),{data:k,loading:b,error:S}=(0,g.G)(v),[N,P]=(0,i.useState)(0),C=(0,i.useRef)(null),{data:E,loading:I,error:T}=(0,g.G)(_);(0,i.useEffect)(()=>{var e,t;!b&&!S&&(null==k||null==(e=k.posts)?void 0:e.length)&&P(null==(t=k.pageInfo)?void 0:t.totalItems)},[b,k,S]);let A=(0,i.useMemo)(()=>{var e;let t="",n=w.title.rendered;n&&(t="".concat(n));let a=null==(e=w.meta)?void 0:e.ck_byline_on_app;return a&&(t="".concat(t," ").concat(a)),t.trim()},[w]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.k,{title:A,description:null==w||null==(t=w.excerpt)?void 0:t.rendered.replace(/<[^>]+>/g,"")}),(0,a.jsx)(p.A,{post:w,comic:T||I?null:null==E||null==(n=E.posts)?void 0:n[0],showFavoriteButton:(0,u.Y)(h.gY)}),(0,a.jsx)("div",{tabIndex:-1,ref:C,children:(0,a.jsxs)(o.p,{variant:"stacked",children:[(0,a.jsxs)(c.l,{as:"span",variant:"black",style:{"justify-self":"flex-start","margin-block":"var(--wp--preset--spacing--md) 0"},children:["Showing ",N.toLocaleString()," blog articles"]}),(b||S?[]:k.posts).map(e=>(0,a.jsx)(l.C,{variant:"archive",cardHref:e.link,title:e.title.rendered,content:e.excerpt.rendered,ctaText:"Read now",highlight:e.ck_formatted_date,byline:e.ck_author||"",imageSrc:(0,r.Kc)({post:e}),imageAlt:(0,r.nb)({post:e}),imageHeight:(0,r.PF)({post:e}),imageWidth:(0,r.IS)({post:e}),imageSizes:"(min-width: 900px) 382px, (min-width: 768px) calc((100vw - 88px) * 0.478), calc(100vw - 88px)",grid:!0},e.id))]})}),(0,a.jsx)(s.d,{totalItems:N,currentPage:b||S?0:k.pageInfo.page,itemsPerPage:10,onPageChange:e=>{let t=C.current;t&&(null==t||t.focus()),y.push({pathname:"/".concat(j,"/blog/").concat(e)})}}),(0,a.jsx)(m.Z,{features:[w.id]})]})}},72203:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[feature]/blog/[[...page]]",function(){return n(68382)}])},80069:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var a=n(99828);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!(null==e?void 0:e.accessToken))return!1;if(t.before_ymd){let e=n;if(!e){let[t,n,a]=new Date().toLocaleDateString("en-US",{timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit"}).split("/");e="".concat(a,"-").concat(t,"-").concat(n)}return t.before_ymd>e}return!1},r=e=>{let t=(0,a.JC)();return i(null==t?void 0:t.data,e)}},85617:()=>{},99958:()=>{}},e=>{e.O(0,[4341,2229,2971,6225,636,6593,8792],()=>e(e.s=72203)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.