1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80724,e=>{"use strict";var t,i,n,r,s,o,a,l,c,u,d=e.i(843476),h=e.i(271645),p=e.i(713588),m=e.i(10197),_=e.i(815316),E=e.i(700064),f=e.i(854365),T=e.i(5e3),N=e.i(822315),g=e.i(19477),I=e.i(547209),C=e.i(797510);let y={event:g.eventName.INTERNAL_CLICK,componentType:g.componentType.theCover},A=({containerDataCSLP:e,imageData:t,title:i,date:n,path:r})=>{let s=(0,N.default)(n).format("MMM YYYY");return(0,d.jsx)("div",{className:"hidden border-y py-10 lg:mb-14 lg:block lg:border-warm-grey-2","data-cslp":e,children:(0,d.jsxs)("div",{className:(0,_.cn)("relative flex flex-row gap-4",E.focusWithinClass),children:[(0,d.jsx)(T.default,{alt:t?.alt,src:t?.imageSrc,imageParentClass:"relative w-[7.5rem] aspect-3/4"}),(0,d.jsx)("div",{className:"flex flex-col justify-between",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-graphik-compact text-t4 text-brand-red",children:s}),(0,d.jsx)("h5",{className:"mb-4 font-editorial text-mobile-h5 group-hover:text-brand-red lg:text-h5",children:(0,d.jsx)(I.default,{href:r??"",className:(0,_.cn)(E.focusAfterClass,E.brandRedHoverClass),gtmData:{...y,clickText:i,clickURL:r??""},children:(0,d.jsx)("span",{children:(0,d.jsx)(C.SanitizedTitle,{text:i})})})})]})})]})})};var x=e.i(815),D=e.i(520236),v=e.i(95187);let O=(0,v.createServerReference)("70d5f01133190e7538dd1b659688f20c9183d84ee1",v.callServer,void 0,v.findSourceMapURL,"gqlFetch");var k=e.i(308122),b=e.i(618566),S=e.i(290571);let R=/\r\n|[\n\r]/g;function L(e,t){let i=0,n=1;for(let r of e.body.matchAll(R)){if("number"==typeof r.index||function(e){if(!e)throw Error("Unexpected invariant triggered.")}(!1),r.index>=t)break;i=r.index+r[0].length,n+=1}return{line:n,column:t+1-i}}function F(e,t){let i=e.locationOffset.column-1,n="".padStart(i)+e.body,r=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=1===t.line?i:0,l=t.column+a,c=`${e.name}:${o}:${l} 2`,u=n.split(/\r\n|[\n\r]/g),d=u[r];if(d.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return c+w([[`${o} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+w([[`${o-1} |`,u[r-1]],[`${o} |`,d],["|","^".padStart(l)],[`${o+1} |`,u[r+1]]])}function w(e){let t=e.filter(([e,t])=>void 0!==t),i=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(i)+(t?" "+t:"")).join("\n")}class M extends Error{constructor(e,...t){var i,n,r;const{nodes:s,source:o,positions:a,path:l,originalError:c,extensions:u}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=c?c:void 0,this.nodes=P(Array.isArray(s)?s:s?[s]:void 0);const d=P(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==d||null==(n=d[0])?void 0:n.source,this.positions=null!=a?a:null==d?void 0:d.map(e=>e.start),this.locations=a&&o?a.map(e=>L(o,e)):null==d?void 0:d.map(e=>L(e.source,e.start));const h=!function(e){return"object"==typeof e&&null!==e}(null==c?void 0:c.extensions)||null==c?void 0:c.extensions;this.extensions=null!=(r=null!=u?u:h)?r:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,M):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let i of this.nodes){var t;i.loc&&(e+="\n\n"+F((t=i.loc).source,L(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+F(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function P(e){return void 0===e||0===e.length?void 0:e}function U(e,t,i){return new M(`Syntax Error: ${i}`,{source:e,positions:[t]})}class ${constructor(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class B{constructor(e,t,i,n,r,s){this.kind=e,this.start=t,this.end=i,this.line=n,this.column=r,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}function j(e){return e>=48&&e<=57}function V(e){return e>=97&&e<=122||e>=65&&e<=90}function K(e){return V(e)||95===e}(t=a||(a={})).QUERY="query",t.MUTATION="mutation",t.SUBSCRIPTION="subscription",(i=l||(l={})).QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(n=c||(c={})).NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="Str
2ingValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",n.TYPE_COORDINATE="TypeCoordinate",n.MEMBER_COORDINATE="MemberCoordinate",n.ARGUMENT_COORDINATE="ArgumentCoordinate",n.DIRECTIVE_COORDINATE="DirectiveCoordinate",n.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate",(r=u||(u={})).SOF="<SOF>",r.EOF="<EOF>",r.BANG="!",r.DOLLAR="$",r.AMP="&",r.PAREN_L="(",r.PAREN_R=")",r.DOT=".",r.SPREAD="...",r.COLON=":",r.EQUALS="=",r.AT="@",r.BRACKET_L="[",r.BRACKET_R="]",r.BRACE_L="{",r.PIPE="|",r.BRACE_R="}",r.NAME="Name",r.INT="Int",r.FLOAT="Float",r.STRING="String",r.BLOCK_STRING="BlockString",r.COMMENT="Comment";class Y{constructor(e){const t=new B(u.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==u.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let i=e.source.body,n=i.length,r=t;for(;r<n;){let t=i.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===i.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return function(e,t){let i=e.source.body,n=i.length,r=t+1;for(;r<n;){let e=i.charCodeAt(r);if(10===e||13===e)break;if(G(e))++r;else if(H(i,r))r+=2;else break}return Q(e,u.COMMENT,t,r,i.slice(t+1,r))}(e,r);case 33:return Q(e,u.BANG,r,r+1);case 36:return Q(e,u.DOLLAR,r,r+1);case 38:return Q(e,u.AMP,r,r+1);case 40:return Q(e,u.PAREN_L,r,r+1);case 41:return Q(e,u.PAREN_R,r,r+1);case 46:if(46===i.charCodeAt(r+1)&&46===i.charCodeAt(r+2))return Q(e,u.SPREAD,r,r+3);break;case 58:return Q(e,u.COLON,r,r+1);case 61:return Q(e,u.EQUALS,r,r+1);case 64:return Q(e,u.AT,r,r+1);case 91:return Q(e,u.BRACKET_L,r,r+1);case 93:return Q(e,u.BRACKET_R,r,r+1);case 123:return Q(e,u.BRACE_L,r,r+1);case 124:return Q(e,u.PIPE,r,r+1);case 125:return Q(e,u.BRACE_R,r,r+1);case 34:if(34===i.charCodeAt(r+1)&&34===i.charCodeAt(r+2))return function(e,t){let i=e.source.body,n=i.length,r=e.lineStart,s=t+3,o=s,a="",l=[];for(;s<n;){let n=i.charCodeAt(s);if(34===n&&34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)){a+=i.slice(o,s),l.push(a);let n=Q(e,u.BLOCK_STRING,t,s+3,(function(e){var t,i;let n=Number.MAX_SAFE_INTEGER,r=null,s=-1;for(let t=0;t<e.length;++t){let o=e[t],a=function(e){var t;let i=0;for(;i<e.length&&(9===(t=e.charCodeAt(i))||32===t);)++i;return i}(o);a!==o.length&&(r=null!=(i=r)?i:t,s=t,0!==t&&a<n&&(n=a))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!=(t=r)?t:0,s+1)})(l).join("\n"));return e.line+=l.length-1,e.lineStart=r,n}if(92===n&&34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)&&34===i.charCodeAt(s+3)){a+=i.slice(o,s),o=s+1,s+=4;continue}if(10===n||13===n){a+=i.slice(o,s),l.push(a),13===n&&10===i.charCodeAt(s+1)?s+=2:++s,a="",o=s,r=s;continue}if(G(n))++s;else if(H(i,s))s+=2;else throw U(e.source,s,`Invalid character within String: ${J(e,s)}.`)}throw U(e.source,s,"Unterminated string.")}(e,r);return function(e,t){let i=e.source.body,n=i.length,r=t+1,s=r,o="";for(;r<n;){let n=i.charCodeAt(r);if(34===n)return o+=i.slice(s,r),Q(e,u.STRING,t,r+1,o);if(92===n){o+=i.slice(s,r);let t=117===i.charCodeAt(r+1)?123===i.charCodeAt(r+2)?function(e,t){let i=e.source.body,n=0,r=3;for(;r<12;){let e=i.charCodeAt(t+r++);if(125===e){if(r<5||!G(n))break;return{value:String.fromCodePoint(n),size:r}}if((n=n<<4|Z(e))<0)break}throw U(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+r)}".`)}(e,r):function(e,t){let i=e.source.body,n=W(i,t+2);if(G(n))return{value:String.fromCodePoint(n),size:6};if(z(n)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=W(i,t+8);if(q(e))return{value:String.fromCodePoint(n,e),size:12}}throw U(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+6)}".`)}(e,r):function(e,t){let i=e.source.body;switch(i.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw U(e.source,t,`Invalid character escape sequence: "${i.slice(t,t+2)}".`)}(e,r);o+=t.value,r+=t.size,s=r;continue}if(10===n||13===n)break;if(G(n))++r;else if(H(i,r))r+=2;else throw U(e.source,r,`Invalid character within String: ${J(e,r)}.`)}throw U(e.source,r,"Unterminated string.")}(e,r)}if(j(t)||45===t)return function(e,t,i){let n=e.source.body,r=t,s=i,o=!1;if(45===s&&(s=n.charCodeAt(++r)),48===s){if(j(s=n.charCodeAt(++r)))throw U(e.source,r,`Invalid number, unexpected digit after 0: ${J(e,r)}.`)}else r=X(e,r,s),s=n.charCodeAt(r);if(46===s&&(o=!0,s=n.charCodeAt(++r),r=X(e,r,s),s=n.charCodeAt(r)),(69===s||101===s)&&(o=!0,(43===(s=n.charCodeAt(++r))||45===s)&&(s=n.charCodeAt(++r)),r=X(e,r,s),s=n.charCodeAt(r)),46===s||K(s))throw U(e.source,r,`Invalid number, expected digit but got: ${J(e,r)}.`);return Q(e,o?u.FLOAT:u.INT,t,r,n.slice(t,r))}(e,r,t);if(K(t))return function(e,t){let i=e.source.body,n=i.length,r=t+1;for(;r<n;){var s;if(V(s=i.charCodeAt(r))||j(s)||95===s)++r;else break}return Q(e,u.NAME,t,r,i.slice(t,r))}(e,r);throw U(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":G(t)||H(i,r)?`Unexpected character: ${J(e,r)}.`:`Invalid character: ${J(e,r)}.`)}return Q(e,u.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===u.COMMENT)return e}}function G(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function H(e,t){return z(e.charCodeAt(t))&&q(e.charCodeAt(t+1))}function z(e){return e>=55296&&e<=56319}function q(e){return e>=56320&&e<=57343}function J(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return u.EOF;if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function Q(e,t,i,n,r){let s=e.line,o=1+i-e.lineStart;return new B(t,i,n,s,o,r)}function X(e,t,i){if(!j(i))throw U(e.source,t,`Invalid number, expected digit but got: ${J(e,t)}.`);let n=e.source.body,r=t+1;for(;j(n.charCodeAt(r));)++r;return r}function W(e,t){return Z(e.charCodeAt(t))<<12|Z(e.charCodeAt(t+1))<<8|Z(e.charCodeAt(t+2))<<4|Z(e.charCodeAt(t+3))}function Z(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function ee(e,t){if(!e)throw Error(t)}function et(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){let i;if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:et(t,n)}else if(Array.isArray(e)){var r,s,o=e,a=n;if(0===o.length)return"[]";if(a.length>2)return"[Array]";let t=Math.min(10,o.length),i=o.length-t,l=[];for(let e=0;e<t;++e)l.push(et(o[e],a));return 1===i?l.push("... 1 more item"):i>1&&l.push(`... ${i} more items`),"["+l.join(", ")+"]"}return r=e,s=n,0===(i=Object.entries(r)).length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(r)+"]":"{ "+i.map(([e,t])=>e+": "+et(t,s)).join(", ")+" }"}(e,t);default:return String(e)}}let ei=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;
2if("object"==typeof e&&null!==e){var i;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(i=e.constructor)?void 0:i.name)){let t=et(e,[]);throw Error(`Cannot use ${n} "${t}" from another module or realm. 3 4Ensure that there is only one instance of "graphql" in the node_modules 5directory. If different versions of "graphql" are the dependencies of other 6relied on modules, use "resolutions" to ensure only one version is installed. 7 8https://yarnpkg.com/en/docs/selective-version-resolutions 9 10Duplicate "graphql" modules cannot be used at the same time since different 11versions may have different capabilities and behavior. The data from one 12version used in the function from another could produce confusing and 13spurious results.`)}}return!1};class en{constructor(e,t="GraphQL request",i={line:1,column:1}){"string"==typeof e||ee(!1,`Body must be a string. Received: ${function(e){return et(e,[])}(e)}.`),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||ee(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ee(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class er{constructor(e,t={}){const{lexer:i,...n}=t;if(i)this._lexer=i;else{const t=!function(e){return ei(e,en)}(e)?new en(e):e;this._lexer=new Y(t)}this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(u.NAME);return this.node(e,{kind:c.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.DOCUMENT,definitions:this.many(u.SOF,this.parseDefinition,u.EOF)})}parseDefinition(){if(this.peek(u.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===u.BRACE_L)throw U(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===u.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw U(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(u.BRACE_L))return this.node(t,{kind:c.OPERATION_DEFINITION,operation:a.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let i=this.parseDescription(),n=this.parseOperationType();return this.peek(u.NAME)&&(e=this.parseName()),this.node(t,{kind:c.OPERATION_DEFINITION,operation:n,description:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(u.NAME);switch(e.value){case"query":return a.QUERY;case"mutation":return a.MUTATION;case"subscription":return a.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(u.PAREN_L,this.parseVariableDefinition,u.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(u.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(u.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(u.DOLLAR),this.node(e,{kind:c.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.SELECTION_SET,selections:this.many(u.BRACE_L,this.parseSelection,u.BRACE_R)})}parseSelection(){return this.peek(u.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,n=this.parseName();return this.expectOptionalToken(u.COLON)?(e=n,t=this.parseName()):t=n,this.node(i,{kind:c.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(u.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(u.PAREN_L,t,u.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(u.COLON),this.node(t,{kind:c.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(u.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(u.NAME)?this.node(e,{kind:c.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:c.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:c.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:c.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case u.BRACKET_L:return this.parseList(e);case u.BRACE_L:return this.parseObject(e);case u.INT:return this.advanceLexer(),this.node(t,{kind:c.INT,value:t.value});case u.FLOAT:return this.advanceLexer(),this.node(t,{kind:c.FLOAT,value:t.value});case u.STRING:case u.BLOCK_STRING:return this.parseStringLiteral();case u.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:c.BOOLEAN,value:!0});case"false":return this.node(t,{kind:c.BOOLEAN,value:!1});case"null":return this.node(t,{kind:c.NULL});default:return this.node(t,{kind:c.ENUM,value:t.value})}case u.DOLLAR:if(e){if(this.expectToken(u.DOLLAR),this._lexer.token.kind===u.NAME){let e=this._lexer.token.value;throw U(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:c.STRING,value:e.value,block:e.kind===u.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:c.LIST,values:this.any(u.BRACKET_L,t,u.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:c.OBJECT,fields:this.any(u.BRACE_L,t,u.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(u.COLON),this.node(t,{kind:c.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(u.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(u.AT),this.node(t,{kind:c.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(u.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(u.BRACKET_R),e=this.node(t,{kind:c.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(u.BANG)?this.node(t,{kind:c.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:c.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(u.STRING)||this.peek(u.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),n=this.many(u.BRACE_L,this.parseOperationTypeDefinition,u.BRACE_R);return this.node(e,{kind:c.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(u.COLON);let i=this.parseNamedType();return this.node(e,{kind:c.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:c.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:c.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(u.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(u.BRACE_L,this.parseFieldDefinition,u.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),n=this.parseArgumentDefs();this.expectToken(u.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:c.FIELD_DEFINITION,description:t,name:i,arguments:n,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(u.PAREN_L,this.parseInputValueDef,u.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),n=this.parseName();this.expectToken(u.COLON);let r=this.parseTypeReference();this.expectOptionalToken(u.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:c.INPUT_VALUE_DEFINITION,description:i,name:n,type:r,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:c.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:c.UNION_TYPE_DEFINITION,description:t,name:i,directives:n,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(u.EQUALS)?this.delimitedMany(u.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:c.ENUM_TYPE_DEFINITION,description:t,name:i,directives:n,values:r})}parseEnumValuesDefinition(){return this.optionalMany(u.BRACE_L,this.parseEnumValueDefinition,u.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:c.ENUM_VALUE_DEFINITION,description:t,name:i,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw U(this._lexer.source,this._lexer.token.start,`${es(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:c.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:n,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(u.BRACE_L,this.parseInputValueDef,u.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===u.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.optionalMany(u.BRACE_L,this.parseOperationTypeDefinition,u.BRACE_R);if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:c.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:c.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:c.UNION_TYPE_EXTENSION,name:t,directives:i,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:c.ENUM_TYPE_EXTENSION,name:t,directives:i,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:c.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(u.AT);let i=this.parseName(),n=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:c.DIRECTIVE_DEFINITION,description:t,name:i,arguments:n,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(u.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(l,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,i=this._lexer.token,n=this.expectOptionalToken(u.AT),r=this.parseName();return(!n&&this.expectOptionalToken(u.DOT)&&(e=this.parseName()),(n||e)&&this.expect
13OptionalToken(u.PAREN_L)&&(t=this.parseName(),this.expectToken(u.COLON),this.expectToken(u.PAREN_R)),n)?t?this.node(i,{kind:c.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(i,{kind:c.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(i,{kind:c.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(i,{kind:c.MEMBER_COORDINATE,name:r,memberName:e}):this.node(i,{kind:c.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new $(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw U(this._lexer.source,t.start,`Expected ${eo(e)}, found ${es(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===u.NAME&&t.value===e)this.advanceLexer();else throw U(this._lexer.source,t.start,`Expected "${e}", found ${es(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===u.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return U(this._lexer.source,t.start,`Unexpected ${es(t)}.`)}any(e,t,i){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(i);)n.push(t.call(this));return n}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i))return e}return[]}many(e,t,i){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(i))return n}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e))return i}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==u.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw U(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function es(e){let t=e.value;return eo(e.kind)+(null!=t?` "${t}"`:"")}function eo(e){return e===u.BANG||e===u.DOLLAR||e===u.AMP||e===u.PAREN_L||e===u.PAREN_R||e===u.DOT||e===u.SPREAD||e===u.COLON||e===u.EQUALS||e===u.AT||e===u.BRACKET_L||e===u.BRACKET_R||e===u.BRACE_L||e===u.PIPE||e===u.BRACE_R?`"${e}"`:e}var ea=new Map,el=new Map,ec=!0,eu=!1;function ed(e){return e.replace(/[\s,]+/g," ").trim()}function eh(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,i){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[i+1]}),function(e){var t=ed(e);if(!ea.has(t)){let l,c;var i,n,r,s,o,a=(Object.defineProperty(c=(l=new er(e,{experimentalFragmentVariables:eu,allowLegacyFragmentVariables:eu})).parseDocument(),"tokenCount",{enumerable:!1,value:l.tokenCount}),c);if(!a||"Document"!==a.kind)throw Error("Not a valid GraphQL document.");ea.set(t,((s=new Set((i=new Set,n=[],a.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,r=e.name.value,s=ed((t=e.loc).source.body.substring(t.start,t.end)),o=el.get(r);o&&!o.has(s)?ec&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||el.set(r,o=new Set),o.add(s),i.has(s)||(i.add(s),n.push(e))}else n.push(e)}),r=(0,S.__assign)((0,S.__assign)({},a),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var i=e[t];i&&"object"==typeof i&&s.add(i)})}),(o=r.loc)&&(delete o.startToken,delete o.endToken),r))}return ea.get(t)}(n)}var ep=eh;(s=eh||(eh={})).gql=ep,s.resetCaches=function(){ea.clear(),el.clear()},s.disableFragmentWarnings=function(){ec=!1},s.enableExperimentalFragmentVariables=function(){eu=!0},s.disableExperimentalFragmentVariables=function(){eu=!1},eh.default=eh;let em=eh` 14 fragment ImageAssetFields on SysAsset { 15 url 16 description 17 metadata 18 title 19 dimension { 20 height 21 width 22 } 23 system { 24 extensionConnection { 25 edges { 26 node { 27 metadata 28 } 29 } 30 } 31 } 32 } 33`,e_=eh` 34 fragment FeaturedMediaDetails on FeaturedMedia { 35 image_caption 36 image_credit 37 media_id 38 media_type 39 media_orientation 40 video 41 video_credit 42 show_video 43 imageConnection { 44 edges { 45 node { 46 ...ImageAssetFields 47 } 48 } 49 } 50 } 51 ${em} 52`,eE=eh` 53 fragment ArticleDetails on Article { 54 __typename 55 title 56 url 57 overrides { 58 short_title 59 description 60 } 61 publication_dates { 62 published 63 } 64 system { 65 uid 66 publish_details { 67 time 68 } 69 } 70 featured_media { 71 ...FeaturedMediaDetails 72 } 73 enhanced_featured_media { 74 media_id 75 media_type_exclusive 76 video 77 executive_spotlight_series 78 imageConnection { 79 edges { 80 node { 81 ...ImageAssetFields 82 } 83 } 84 } 85 } 86 credits { 87 authors { 88 authorConnection { 89 edges { 90 node { 91 ... on Author { 92 title 93 author_title 94 } 95 } 96 } 97 } 98 } 99 } 100 display_options { 101 template 102 home_page_imageConnection { 103 edges { 104 node { 105 ...ImageAssetFields 106 } 107 } 108 } 109 } 110 taxonomy { 111 primary_sectionConnection { 112 edges { 113 node { 114 ... on Section { 115 title 116 url 117 } 118 } 119 } 120 totalCount 121 } 122 primary_topicConnection { 123 edges { 124 node { 125 ... on Topic { 126 title 127 url 128 } 129 } 130 } 131 totalCount 132 } 133 } 134 } 135 ${e_} 136 ${em} 137`,ef=eh`
138 fragment CollectionDetails on CollectionHub { 139 title 140 url 141 overrides { 142 short_title 143 description 144 } 145 display_options { 146 home_page_imageConnection { 147 edges { 148 node { 149 ...ImageAssetFields 150 } 151 } 152 } 153 } 154 collection_featured_media { 155 imageConnection { 156 edges { 157 node { 158 ...ImageAssetFields 159 } 160 } 161 } 162 use_video_background 163 video 164 mobile_background_video 165 logoConnection { 166 edges { 167 node { 168 url 169 title 170 description 171 } 172 } 173 } 174 mobile_imageConnection { 175 edges { 176 node { 177 ...ImageAssetFields 178 } 179 } 180 } 181 } 182 taxonomy { 183 primary_sectionConnection { 184 edges { 185 node { 186 ... on Section { 187 title 188 url 189 } 190 } 191 } 192 } 193 primary_topicConnection { 194 edges { 195 node { 196 ... on Topic { 197 title 198 url 199 } 200 } 201 } 202 } 203 sectionsConnection(limit: 30) { 204 edges { 205 node { 206 ... on Section { 207 title 208 url 209 } 210 } 211 } 212 } 213 topicsConnection(limit: 30) { 214 edges { 215 node { 216 ... on Topic { 217 title 218 url 219 } 220 } 221 } 222 } 223 } 224 } 225 ${em} 226`,eT=eh` 227 fragment CollectionItemDetails on CollectionItem { 228 __typename 229 title: display_title 230 url 231 overrides { 232 short_title 233 description 234 } 235 authors { 236 alternate_byline 237 authorConnection { 238 edges { 239 node { 240 ... on Author { 241 title 242 author_title 243 url 244 } 245 } 246 } 247 } 248 } 249 featured_media { 250 ...FeaturedMediaDetails 251 } 252 system { 253 uid 254 publish_details { 255 time 256 } 257 } 258 publication_dates { 259 published 260 } 261 taxonomy { 262 primary_sectionConnection { 263 edges { 264 node { 265 ... on Section { 266 title 267 url 268 } 269 } 270 } 271 } 272 primary_topicConnection { 273 edges { 274 node { 275 ... on Topic { 276 title 277 url 278 } 279 } 280 } 281 } 282 } 283 } 284 ${e_} 285`,eN=eh` 286 fragment PeopleDetails on PersonArticle { 287 articleConnection { 288 edges { 289 node { 290 ... on Article {
291 ...ArticleDetails 292 } 293 ... on CollectionItem { 294 ...CollectionItemDetails 295 } 296 } 297 } 298 } 299 personConnection { 300 edges { 301 node { 302 ... on People { 303 title 304 url 305 featured_imageConnection { 306 edges { 307 node { 308 ...ImageAssetFields 309 } 310 } 311 } 312 } 313 } 314 } 315 } 316 } 317 ${eE} 318 ${eT} 319 ${em} 320`,eg=eh` 321 fragment Sections on HomepageSection { 322 layout 323 title 324 show_in_page_nav 325 sectionsConnection(limit: 10) { 326 edges { 327 node { 328 ... on Section { 329 title 330 url 331 system { 332 uid 333 } 334 } 335 } 336 } 337 } 338 section_tagsConnection(limit: 10) { 339 edges { 340 node { 341 ... on Topic { 342 title 343 url 344 system { 345 uid 346 } 347 } 348 } 349 } 350 } 351 mininav_topicsConnection(limit: 10) { 352 edges { 353 node { 354 ... on Topic { 355 title 356 url 357 system { 358 uid 359 } 360 } 361 ... on Section { 362 title 363 url 364 system { 365 uid 366 } 367 } 368 } 369 } 370 } 371 brand_url { 372 href 373 title 374 } 375 brand_logoConnection { 376 edges { 377 node { 378 url 379 title 380 description 381 } 382 } 383 } 384 } 385`,eI=eh` 386 fragment StoryShowcaseDetails on HomepageStoryShowcase { 387 large_articleConnection { 388 edges { 389 node { 390 ... on Article {
391 ...ArticleDetails 392 } 393 ... on CollectionItem { 394 ...CollectionItemDetails 395 } 396 ... on CollectionHub { 397 ...CollectionDetails 398 } 399 } 400 } 401 } 402 small_articlesConnection(limit: 4) { 403 edges { 404 node { 405 ... on Article { 406 ...ArticleDetails 407 } 408 ... on CollectionItem { 409 ...CollectionItemDetails 410 } 411 ... on CollectionHub { 412 ...CollectionDetails 413 } 414 } 415 } 416 } 417 } 418 ${ef} 419 ${eE} 420 ${eT} 421`,eC=eh` 422 fragment TheCoverDetails on TheCover { 423 archive_url { 424 href 425 title 426 } 427 heading 428 issue_url { 429 href 430 title 431 } 432 related_coverConnection { 433 edges { 434 node { 435 ... on Magazine { 436 date 437 title 438 overrides { 439 short_title 440 description 441 } 442 featured_imageConnection { 443 edges { 444 node { 445 url 446 title 447 description 448 } 449 } 450 } 451 } 452 } 453 } 454 } 455 } 456`,ey=eh` 457 fragment YourBriefDetails on YourBrief { 458 layout 459 large_articlesConnection(limit: 3) { 460 edges { 461 node { 462 ... on Article {
463 ...ArticleDetails 464 } 465 ... on CollectionItem { 466 ...CollectionItemDetails 467 } 468 ... on CollectionHub { 469 ...CollectionDetails 470 } 471 } 472 } 473 } 474 small_articlesConnection(limit: 4) { 475 edges { 476 node { 477 ... on Article { 478 ...ArticleDetails 479 } 480 ... on CollectionItem { 481 ...CollectionItemDetails 482 } 483 ... on CollectionHub { 484 ...CollectionDetails 485 } 486 } 487 } 488 } 489 } 490 ${ef} 491 ${eE} 492 ${eT} 493`,eA=eh` 494 query Homepage { 495 all_homepage { 496 items { 497 title 498 show_hide_scaleai_chat_overlay 499 show_games 500 seo { 501 meta_description 502 meta_title 503 og_description 504 og_title 505 twitter_card 506 og_imageConnection { 507 edges { 508 node { 509 url 510 dimension { 511 height 512 width 513 } 514 } 515 } 516 } 517 } 518 system { 519 uid 520 content_type_uid 521 locale 522 updated_at 523 publish_details { 524 time 525 } 526 } 527 people { 528 ...PeopleDetails 529 } 530 voicesConnection(limit: 4) { 531 edges { 532 node { 533 ... on Article {
534 ...ArticleDetails 535 } 536 ... on CollectionItem { 537 ...CollectionItemDetails 538 } 539 } 540 } 541 } 542 collectionConnection { 543 edges { 544 node { 545 ... on CollectionHub { 546 ...CollectionDetails 547 } 548 } 549 } 550 } 551 the_cover { 552 ...TheCoverDetails 553 } 554 sections { 555 ...Sections 556 } 557 your_brief { 558 ...YourBriefDetails 559 } 560 story_showcase { 561 ...StoryShowcaseDetails 562 } 563 newsletters { 564 newsletterConnection { 565 edges { 566 node { 567 ... on Newsletter { 568 title 569 beehive_pub_id 570 } 571 } 572 } 573 } 574 selected_by_default 575 } 576 } 577 } 578 } 579 ${eN} 580 ${eE} 581 ${eT} 582 ${ef} 583 ${eC} 584 ${eg} 585 ${ey} 586 ${eI} 587`;e.i(770562),e.i(474543),e.i(800160),e.i(285385),e.i(954821),e.i(406455),e.i(847274);var ex=e.i(963219);e.i(94561),e.i(103156),e.i(505489),e.i(675792);e.i(702082),e.i(609056);ex.HomepageMapperContentTypes.Article,ex.HomepageMapperContentTypes.PartnerArticle,ex.HomepageMapperContentTypes.CollectionItem,ex.HomepageMapperContentTypes.CollectionHub;var eD=((o={}).FEATURED_ADDITIONAL_SECTION="feature-additional-section",o.FEATURED_MAIN_SECTION="feature-main-section",o);let ev=eh` 588 fragment CollectionHubDetails on CollectionHub { 589 __typename 590 title 591 url 592 overrides { 593 short_title 594 description 595 } 596 display_options { 597 home_page_imageConnection { 598 edges { 599 node { 600 ...ImageAssetFields 601 } 602 } 603 } 604 } 605 collection_featured_media { 606 image_caption 607 image_credit 608 imageConnection { 609 edges { 610 node { 611 ...ImageAssetFields 612 } 613 } 614 } 615 use_video_background 616 video 617 mobile_background_video 618 logoConnection { 619 edges { 620 node { 621 url 622 title 623 description 624 } 625 } 626 } 627 mobile_imageConnection { 628 edges { 629 node { 630 ...ImageAssetFields 631 } 632 } 633 } 634 } 635 system { 636 uid 637 publish_details { 638 time 639 } 640 } 641 publication_dates { 642 published 643 } 644 taxonomy { 645 primary_sectionConnection { 646 edges { 647 node { 648 ... on Section { 649 title 650 url 651 } 652 } 653 } 654 } 655 primary_topicConnection { 656 edges { 657 node { 658 ... on Topic { 659 title 660 url 661 } 662 } 663 } 664 } 665 } 666 } 667 ${em} 668`,eO=eh` 669 query HomepageSectionSections($sections: [String!], $limit: Int!) { 670 all_article( 671 where: { 672 OR: [ 673 { taxonomy: { primary_section: { section: { url_in: $sections } } } } 674 { taxonomy: { sections: { section: { url_in: $sections } } } } 675 ] 676 } 677 order_by: publication_dates__published_DESC 678 limit: $limit 679 ) { 680 items {
681 ...ArticleDetails 682 } 683 } 684 all_collection_hub( 685 where: { 686 OR: [ 687 { taxonomy: { primary_section: { section: { url_in: $sections } } } } 688 { taxonomy: { sections: { section: { url_in: $sections } } } } 689 ] 690 } 691 order_by: publication_dates__published_DESC 692 limit: $limit 693 ) { 694 items { 695 ...CollectionHubDetails 696 } 697 } 698 all_collection_item( 699 where: { 700 OR: [ 701 { taxonomy: { primary_section: { section: { url_in: $sections } } } } 702 { taxonomy: { sections: { section: { url_in: $sections } } } } 703 ] 704 } 705 order_by: publication_dates__published_DESC 706 limit: $limit 707 ) { 708 items { 709 ...CollectionItemDetails 710 } 711 } 712 } 713 ${eE} 714 ${ev} 715 ${eT} 716`,ek=eh` 717 query HomepageSectionTopics($topics: [String!], $limit: Int!) { 718 all_article( 719 where: { 720 OR: [ 721 { taxonomy: { primary_topic: { topic: { url_in: $topics } } } } 722 { taxonomy: { topics: { topic: { url_in: $topics } } } } 723 ] 724 } 725 order_by: publication_dates__published_DESC 726 limit: $limit 727 ) { 728 items {
729 ...ArticleDetails 730 } 731 } 732 all_collection_hub( 733 where: { 734 OR: [ 735 { taxonomy: { primary_topic: { topic: { url_in: $topics } } } } 736 { taxonomy: { topics: { topic: { url_in: $topics } } } } 737 ] 738 } 739 order_by: publication_dates__published_DESC 740 limit: $limit 741 ) { 742 items { 743 ...CollectionHubDetails 744 } 745 } 746 all_collection_item( 747 where: { 748 OR: [ 749 { taxonomy: { primary_topic: { topic: { url_in: $topics } } } } 750 { taxonomy: { topics: { topic: { url_in: $topics } } } } 751 ] 752 } 753 order_by: publication_dates__published_DESC 754 limit: $limit 755 ) { 756 items { 757 ...CollectionItemDetails 758 } 759 } 760 } 761 ${eE} 762 ${ev} 763 ${eT} 764`,eb=eh` 765 query Magazine($limit: Int!, $skip: Int!, $dateGte: DateTime!) { 766 all_magazine(where: { date_gte: $dateGte }, limit: $limit, skip: $skip) { 767 items { 768 date 769 issue 770 title 771 url 772 featured_imageConnection { 773 edges { 774 node { 775 url 776 title 777 description 778 } 779 } 780 } 781 articlesConnection(limit: 1) { 782 edges { 783 node { 784 ... on Article { 785 title 786 url 787 overrides { 788 short_title 789 description 790 } 791 } 792 ... on CollectionHub { 793 title 794 url 795 overrides { 796 short_title 797 description 798 } 799 } 800 ... on CollectionItem { 801 title 802 url 803 overrides { 804 short_title 805 description 806 } 807 } 808 ... on Archive { 809 title 810 url 811 description 812 } 813 } 814 } 815 } 816 } 817 total 818 } 819 } 820`,eS=eh` 821 query CollectionHubHomepage($limit: Int!) { 822 all_collection_hub( 823 limit: $limit 824 order_by: publication_dates__published_DESC 825 ) { 826 items { 827 ...CollectionHubDetails 828 } 829 } 830 } 831 ${ev} 832`;var eR=e.i(227465);async function eL(e,t,i){let n=function(e){if(!Number.isInteger(e)||e<1)throw Error("createLimit: concurrency must be a positive integer");let t=0,i=[];return async function(n){t>=e?await new Promise(e=>i.push(e)):t+=1;try{return await n()}finally{let e;(e=i.shift())?e():t-=1}}}(t);return Promise.all(e.map((e,t)=>n(()=>i(e,t))))}let eF=10;(0,h.cache)(async e=>{let{isPreview:t=!1,searchParams:i}=e,n=await O(eA,{...i},{rethrowServerErrors:!0}),r=n?.all_homepage?.items?.[0];if(r||(0,b.notFound)(),t){let e=structuredClone({...r,uid:r.system?.uid??"",locale:r.system?.locale??"en-us",_metadata:{uid:r.system?.uid??"",content_type:{uid:r.system?.content_type_uid??"homepage"}}});k.default.Utils.addEditableTags(e,"homepage",!0),r=e}let s=r.collectionConnection?.edges?.[0]?.node,[o,a,l]=await Promise.all([eL(r?.sections??[],12,async e=>{if(!e)return e;let t=await ew(e);return{...e,posts:t}}),eM(eF,0),s?Promise.resolve([]):eP()]);return{...r,the_cover:{...r.the_cover,magazines:a.items,magazinesTotal:a.total},collectionConnection:{...r.collectionConnection,edges:s?r.collectionConnection?.edges:[{node:l?.[0]}]},sections:o.filter(Boolean)}});let ew=(0,h.cache)(async e=>{if(!e)return[];let t=e?.sectionsConnection?.edges?.map(e=>e?.node?.url)||[],i=e?.section_tagsConnection?.edges?.map(e=>e?.node?.url)||[],n=e?.layout===eD.FEATURED_MAIN_SECTION?7:5,r=2*n;if(0===t.length&&0===i.length)return[];let[s,o]=await Promise.allSettled([t.length>0?O(eO,{sections:t,limit:r}):Promise.resolve(),i.length>0?O(ek,{topics:i,limit:r}):Promise.resolve()]),a=[];return"fulfilled"===s.status&&a.push(...s.value?.all_article.items??[],...s.value?.all_collection_hub.items??[],...s.value?.all_collection_item.items??[]),"fulfilled"===o.status&&a.push(...o.value?.all_article.items??[],...o.value?.all_collection_hub.items??[],...o.value?.all_collection_item.items??[]),(0,eR.sortEntryList)(a,{limit:n})}),eM=(0,h.cache)(async(e=eF,t=0)=>{let i=new Date;i.setUTCHours(0,0,0,0),i.setFullYear(i.getFullYear()-1);let n=await O(eb,{limit:20,skip:0,dateGte:i.toISOString()}),r=n?.all_magazine?.items??[],s=n?.all_magazine?.total??r.length;return{items:[...r].sort((e,t)=>
832{let i=e?.date?new Date(e.date).getTime():0;return(t?.date?new Date(t.date).getTime():0)-i}).slice(t,t+e),total:s}}),eP=(0,h.cache)(async(e=1)=>{let t=await O(eS,{limit:e});return t?.all_collection_hub?.items??[]});var eU=e.i(778497);e.s(["default",0,({initialMagazines:e=[],initialTotal:t=0,relatedCover:i,pagePath:n=""})=>{let[r,s]=(0,h.useState)(e?.[0]||null),[o,a]=(0,h.useState)(0),[l,c]=(0,h.useState)(e),[u,T]=(0,h.useState)(!1),[N,I]=(0,h.useState)(e.length<t),y=(0,h.useRef)(null),[v,O]=(0,h.useState)(""),k=i&&!o,b=(0,h.useRef)(!1),S=(0,h.useCallback)(async()=>{if(!b.current&&!u&&N){b.current=!0,T(!0);try{let{items:e,total:t}=await eM(eF,l.length);e.length>0?(c(t=>[...t,...e]),I(l.length+e.length<t),O(`${e.length} more covers loaded.`)):I(!1)}catch(e){(0,eU.logError)({message:"[TimeCover]: Failed to load more magazine covers",error:e,context:{loadedSoFar:l.length}})}finally{T(!1),b.current=!1}}},[u,N,l.length]);(0,h.useEffect)(()=>{l.length>0&&s(l[o])},[o,l]),(0,h.useEffect)(()=>{l.length>0&&s(l[o])},[o,l]);let R=(()=>{if(!r)return{title:"",url:"/",description:null};let e=r.articlesConnection?.edges?.[0]?.node,t=e&&"overrides"in e?e.overrides:void 0,i=e&&"description"in e&&!("overrides"in e)?e.description??null:null;return{title:t?.short_title||e?.title||r.title||"",url:e?.url??r.url??"/",description:t?.description||i||null}})();return(0,d.jsxs)(m.default,{className:"pt-8 lg:pt-10",children:[(0,d.jsxs)(p.default,{className:"order-2 col-span-full mb-6 flex flex-col justify-between lg:order-1 lg:col-span-4 lg:mr-5",children:[(0,d.jsxs)("div",{className:(0,_.cn)("relative space-y-4 px-0 py-8 lg:border-b-0 lg:py-6",E.focusWithinClass),children:[(0,d.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:v}),(0,d.jsx)("h3",{className:"font-editorial text-mobile-h1 lg:block lg:text-h1",children:(0,d.jsxs)(f.default,{path:R.url,gtmData:(()=>{if(!r)return;let e=r.articlesConnection?.edges?.[0]?.node,t=e&&"overrides"in e?e.overrides:void 0,i=(t&&"short_title"in t?t.short_title:void 0)??e?.title??r.title??"",s=e?.url??r.url??"";return{...(0,g.defaultHomepageGtmData)({title:i,url:s},{pagePath:n}),componentType:g.componentType.timeCover}})(),ref:y,children:[(0,d.jsx)("div",{className:"sr-only","aria-live":"polite",children:(0,d.jsx)(C.SanitizedTitle,{text:R.title})}),(0,d.jsx)("div",{className:"lg:block","aria-hidden":!0,children:(0,d.jsx)(C.SanitizedTitle,{text:R.title})})]})}),R.description&&(0,d.jsx)("p",{className:"rich-text font-graphik-compact text-caption-large",children:(0,d.jsx)(C.SanitizedPlainText,{text:R.description})}),(0,d.jsx)(D.default,{path:R.url,componentType:g.componentType.timeCover,className:"lg:inline-flex"})]}),k&&!u&&(0,d.jsx)(A,{...i})]}),(0,d.jsx)(p.default,{className:"relative order-1 col-span-full -mx-6 overflow-hidden lg:order-2 lg:col-span-8 lg:-mr-20",children:(0,d.jsx)(x.default,{magazines:l,setActiveMagazine:s,activeCoverIndex:o,setActiveCoverIndex:a,loadM
832oreMagazines:()=>void S(),isLoading:u,hasMore:N})})]})}],80724)}]);
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.