(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1160],{104:function(t,e,n){"use strict";async function o(t){let e={"Content-Type":"application/json"};e.Authorization="Bearer ".concat("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvd3AudGhlY29sbGVjdG9yLmNvbSIsImlhdCI6MTcyNDA2NDAzNSwibmJmIjoxNzI0MDY0MDM1LCJleHAiOjE3NTU2MDAwMzUsImRhdGEiOnsidXNlciI6eyJpZCI6IjQ1MiIsInVzZXJfc2VjcmV0IjoiZ3JhcGhxbF9qd3RfNjYyMjEwMmNjYTQzOCJ9fX0.gVdkxMhtKz9Q1CsJ6WlSYvoXY5fo6HdeWow1tijwtIA");let n=await fetch("https://wp.thecollector.com/graphql",{headers:e,method:"POST",body:JSON.stringify(t)});if(!n.ok)throw Error("API request failed with status ".concat(n.status));return await n.json()}n.d(e,{Z:function(){return o}})},5564:function(t,e,n){"use strict";n.d(e,{Au:function(){return a},iS:function(){return i},uk:function(){return r}});var o=n(104);async function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n='after: "'.concat(t,'", first: ').concat(e,", where: {role: AUTHOR, hasPublishedPosts: POST, roleNotIn: AUTHORS__NOTDISPLAY_, orderby: {field: DISPLAY_NAME}}");return(await (0,o.Z)({query:"query AuthorsQuery {\n users(".concat(n,") {\n nodes {\n slug\n name\n description\n designation\n avatar(size: 600) {\n url\n width\n height\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n offsetPagination {\n total\n }\n }\n }\n }")})).data.users}async function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,r=(e-1)*n,a="where: {\n offsetPagination: { offset: ".concat(r,", size: ").concat(n," },\n orderby: { field: DATE, order: DESC }\n }");try{let e=await (0,o.Z)({query:"query Author($slug: ID!) {\n user(id: $slug, idType: SLUG) {\n authorCountry\n expertise\n jobTitle\n authorLinkedinURL\n authorFacebookURL\n authorTwitterXURL\n authorInstagramURL\n authorBlueskyURL\n authorAcademiaURL\n authorPortfolioURL\n authorUniversityURL\n authorWikipediaURL\n authorBiographical\n authorAcademicCredential1\n authorEducationalOrganization1\n authorAcademicCredential2\n authorEducationalOrganization2\n authorAcademicCredential3\n authorEducationaOrganization3\n authorAwards\n registeredDate\n slug\n name\n designation\n description\n avatar(size: 600) {\n url\n width\n height\n }\n posts(".concat(a,") {\n nodes {\n slug\n title\n subtitle\n featuredImage {\n node {\n altText\n sourceUrl(size: MEDIUM_LARGE)\n mediaDetails {\n width\n height\n }\n }\n }\n }\n pageInfo {\n endCursor\n startCursor\n hasNextPage\n hasPreviousPage\n offsetPagination {\n total\n }\n }\n }\n }\n }"),variables:{slug:t}});if(!e.data||!e.data.user)throw console.error("User data not found in the response"),Error("User not found");return e.data.user}catch(t){throw t}}async function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n='after: "'.concat(t,'", first: ').concat(e,", where: {role: EDITOR, roleNotIn: STAFF__NOTDISPLAY_, orderby: {field: DISPLAY_NAME}}");return(await (0,o.Z)({query:"query StaffQuery {\n users(".concat(n,") {\n nodes {\n name\n description\n designation\n avatar(size: 600) {\n url\n width\n height\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n offsetPagination {\n total\n }\n }\n }\n }")})).data.users}},3272:function(t,e,n){"use strict";var o=n(5893),r=n(9008),a=n.n(r),i=n(9585),s=n(3043);e.Z=t=>{let{title:e=i.dW.title,description:n=i.dW.description,canonical:r=i.dW.siteURL,robots:c="index, follow",author:l=i.dW.title,ogType:h="website",url:u=i.dW.siteURL,ogTitle:d=e||i.dW.title,imageUrl:p=i.dW.defaultOGimage,imageWidth:m="746",imageHeight:g="746",imageType:_="image/jpg",ga4Json:f}=t,[y]=(0,s.F)();return(0,o.jsxs)(a(),{children:[(0,o.jsx)("meta",{charSet:"utf-8"}),(0,o.jsx)("meta",{httpEquiv:"Content-Security-Policy",content:"block-all-mixed-content"}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=2"}),(0,o.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),e&&(0,o.jsx)("title",{children:e}),n&&(0,o.jsx)("meta",{name:"description",content:n}),(0,o.jsx)("link",{rel:"canonical",href:r}),(0,o.jsx)("meta",{name:"robots",content:"".concat(c,", max-image-preview:large, max-snippet:-1, max-video-preview:-1")}),(0,o.jsx)("meta",{name:"author",content:l}),(0,o.jsx)("link",{rel:"preload",href:i.dW.whiteLogo,as:"image",type:"image/svg+xml","data-fetchpriority":"high"}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','GTM-5SM34HX');\n "}}),f&&"object"==typeof f&&f.category&&f.author&&(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n gtag('config', 'G-K91S7RQGQ2', {\n 'content_group': '".concat(f.category,"',\n 'author': '").concat(f.author,"',\n 'datePublished': '").concat(f.date||"","',\n 'dateModified': '").concat(f.modified||"","'\n });\n ")}}),(0,o.jsx)("script",{async:!0,src:"".concat(i.dW.siteURL,"js/tcgoogleAnalytics.js")}),(0,o.jsx)("link",{rel:"preconnect",href:i.dW.CDN_URL}),(0,o.jsx)("link",{rel:"dns-prefetch",href:i.dW.CDN_URL}),(0,o.jsx)("meta",{property:"og:type",content:h}),(0,o.jsx)("meta",{property:"og:site_name",content:i.dW.title}),(0,o.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,o.jsx)("meta",{property:"og:url",content:u}),(0,o.jsx)("meta",{property:"og:title",content:d}),n&&(0,o.jsx)("meta",{property:"og:description",content:n}),(0,o.jsx)("meta",{property:"og:image",content:p}),(0,o.jsx)("meta",{property:"og:image:width",content:m}),(0,o.jsx)("meta",{property:"og:image:height",content:g}),(0,o.jsx)("meta",{property:"og:image:type",content:_}),(0,o.jsx)("meta",{property:"fb:pages",content:"102529674647418"}),(0,o.jsx)("meta",{property:"article:publisher",content:i.ns.facebook}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:site",content:"@The__Collector_"}),(0,o.jsx)("meta",{name:"twitter:creator",content:"@The__Collector_"}),(0,o.jsx)("meta",{name:"twitter:title",content:e}),n&&(0,o.jsx)("meta",{name:"twitter:description",content:n}),(0,o.jsx)("link",{rel:"icon",type:"image/png",href:"/images/favicon/favicon-32x32.png",sizes:"32x32"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",href:"/images/favicon/favicon-16x16.png",sizes:"16x16"}),(0,o.jsx)("link",{rel:"shortcut icon",href:"/images/favicon/favicon.ico"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/images/favicon/apple-touch-icon.png"}),(0,o.jsx)("meta",{name:"apple-mobile-web-app-title",content:"TheCollector"}),(0,o.jsx)("link",{rel:"manifest",href:"/images/favicon/site.webmanifest"}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"TheCollector",url:i.dW.schemaSiteURL,sameAs:[i.ns.facebook,i.ns.instagram,i.ns.flipboard],description:"TheCollector.com Explore historical articles on ancient history, modern history, art, artists, philosophy, and travel, written by academics and experts. Trusted by scholars and classrooms worldwide.",logo:{"@type":"ImageObject",url:i.dW.schemaLogo},contactPoint:{"@type":"ContactPoint",contactType:"Customer Service",email:"support@thecollector.com"},keywords:["Ancient History Blog","History Blog","Art Blog","Philosophy Blog","Ancient History","Medieval History","American History","Latin and South American History","European History","World History","Philosophy","Artists Blog","Renaissance History","Modern Art","Contemporary Art","Modern Philosophy","Ancient Philosophy","Travel and Culture","History of Religion","History of Politics","Military History","WWI","WWII"]})}}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n window.sentinelData = window.sentinelData || [];\n function sentinelTrack(){sentinelData.push(arguments)};\n sentinelTrack('initTimestamp', Date.now());\n window.addEventListener('DOMContentLoaded', () => {\n sentinelTrack('footerTimestamp', Date.now());\n });\n\n const sentinelSetup = {\n accountName: 'thecollector',\n propertyId: 'www.thecollector.com',\n dimensions: {}\n };\n\n sentinelTrack('config', sentinelSetup);\n "}}),(0,o.jsx)("script",{async:!0,src:"https://cdn.sentinelpro.com/thecollector/sp.js"})]})}},6590:function(t){t.exports={AuthorsPageArea:"Authors_AuthorsPageArea__4GTSd",authorsContentArea:"Authors_authorsContentArea__hmRew",authorSingleContentArea:"Authors_authorSingleContentArea__nnqK9",alphabetsArea:"Authors_alphabetsArea__kCyVm",filterButton:"Authors_filterButton__DFQ76",activeFilter:"Authors_activeFilter__PAOBS",disabledFilter:"Authors_disabledFilter__Q3vwY",authorBoxItem:"Authors_authorBoxItem__S0cd0",authorAvater:"Authors_authorAvater__bkVLH",authorDetails:"Authors_authorDetails__rCwH6",StaffTitle:"Authors_StaffTitle__Xw_7_",authorSingleContentAreaTop:"Authors_authorSingleContentAreaTop__AdIBB",authorSamiTitle:"Authors_authorSamiTitle__RD1IS",AuthorFlagEmoji:"Authors_AuthorFlagEmoji__Kp80l",expertiseListArea:"Authors_expertiseListArea__NdLeN",authorAccountDetails:"Authors_authorAccountDetails__KgGSx",authorArticlesArea:"Authors_authorArticlesArea__YeOOh",showMore:"Authors_showMore__7gh3w",authorSocialArea:"Authors_authorSocialArea__qw4rh",alphabetsDropdown:"Authors_alphabetsDropdown___zge4",dropdownToggle:"Authors_dropdownToggle__UTRas",dropdownMenu:"Authors_dropdownMenu__jsSq2",userItemBox:"Authors_userItemBox__gxku0",authorBoxItemsArea:"Authors_authorBoxItemsArea__aqOfs"}}}]);