@times-components/ssr 2.38.11 → 2.38.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,5 +73,5 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr
73
73
  *
74
74
  * This source code is licensed under the MIT license found in the
75
75
  * LICENSE file in the root directory of this source tree.
76
- */Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,i=void 0,a=void 0,o=void 0,l=void 0;if(t.unstable_now=void 0,t.unstable_forceFrameRate=void 0,"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,c=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(t){throw setTimeout(e,0),t}};t.unstable_now=function(){return Date.now()},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},i=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},o=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,m=window.setTimeout,p=window.clearTimeout,v=window.requestAnimationFrame,h=window.cancelAnimationFrame;"undefined"!=typeof console&&("function"!=typeof v&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),t.unstable_now="object"==typeof d&&"function"==typeof d.now?function(){return d.now()}:function(){return f.now()};var y=!1,g=null,k=-1,b=-1,S=33.33,O=-1,w=-1,N=0,T=!1;o=function(){return t.unstable_now()>=N},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):0<e?(S=Math.floor(1e3/e),T=!0):(S=33.33,T=!1)};var j=function(){if(null!==g){var e=t.unstable_now(),n=0<N-e;try{g(n,e)||(g=null)}catch(e){throw x.postMessage(null),e}}},C=new MessageChannel,x=C.port2;C.port1.onmessage=j;r=function(e){g=e,y||(y=!0,v((function(e){!function e(n){if(null===g)w=O=-1,y=!1;else{y=!0,v((function(t){p(k),e(t)}));if(k=m((function e(){N=t.unstable_now()+S/2,j(),k=m(e,3*S)}),3*S),-1!==O&&.1<n-O){var r=n-O;!T&&-1!==w&&r<S&&w<S&&(8.33>(S=r<w?w:r)&&(S=8.33)),w=r}O=n,N=n+S,x.postMessage(null)}}(e)})))},i=function(e,n){b=m((function(){e(t.unstable_now())}),n)},a=function(){p(b),b=-1}}var F=null,E=null,P=null,_=3,A=!1,I=!1,D=!1;function R(e,t){var n=e.next;if(n===e)F=null;else{e===F&&(F=n);var r=e.previous;r.next=n,n.previous=r}e.next=e.previous=null,n=e.callback,r=_;var i=P;_=e.priorityLevel,P=e;try{var a=e.expirationTime<=t;switch(_){case 1:var o=n(a);break;case 2:case 3:case 4:o=n(a);break;case 5:o=n(a)}}catch(e){throw e}finally{_=r,P=i}if("function"==typeof o)if(t=e.expirationTime,e.callback=o,null===F)F=e.next=e.previous=e;else{o=null,a=F;do{if(t<=a.expirationTime){o=a;break}a=a.next}while(a!==F);null===o?o=F:o===F&&(F=e),(t=o.previous).next=o.previous=e,e.next=o,e.previous=t}}function M(e){if(null!==E&&E.startTime<=e)do{var t=E,n=t.next;if(t===n)E=null;else{E=n;var r=t.previous;r.next=n,n.previous=r}t.next=t.previous=null,q(t,t.expirationTime)}while(null!==E&&E.startTime<=e)}function L(e){D=!1,M(e),I||(null!==F?(I=!0,r(V)):null!==E&&i(L,E.startTime-e))}function V(e,n){I=!1,D&&(D=!1,a()),M(n),A=!0;try{if(e){if(null!==F)do{R(F,n),M(n=t.unstable_now())}while(null!==F&&!o())}else for(;null!==F&&F.expirationTime<=n;)R(F,n),M(n=t.unstable_now());return null!==F||(null!==E&&i(L,E.startTime-n),!1)}finally{A=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}function q(e,t){if(null===F)F=e.next=e.previous=e;else{var n=null,r=F;do{if(t<r.expirationTime){n=r;break}r=r.next}while(r!==F);null===n?n=F:n===F&&(F=e),(t=n.previous).next=n.previous=e,e.next=n,e.previous=t}}var z=l;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},t.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},t.unstable_scheduleCallback=function(e,n,o){var l=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?l+u:l,o="number"==typeof o.timeout?o.timeout:B(e)}else o=B(e),u=l;if(e={callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,next:null,previous:null},u>l){if(o=u,null===E)E=e.next=e.previous=e;else{n=null;var s=E;do{if(o<s.startTime){n=s;break}s=s.next}while(s!==E);null===n?n=E:n===E&&(E=e),(o=n.previous).next=n.previous=e,e.next=n,e.previous=o}null===F&&E===e&&(D?a():D=!0,i(L,u-l))}else q(e,o),I||A||(I=!0,r(V));return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(e===t)e===F?F=null:e===E&&(E=null);else{e===F?F=t:e===E&&(E=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},t.unstable_getCurrentPriorityLevel=function(){return _},t.unstable_shouldYield=function(){var e=t.unstable_now();return M(e),null!==P&&null!==F&&F.startTime<=e&&F.expirationTime<P.expirationTime||o()},t.unstable_requestPaint=z,t.unstable_continueExecution=function(){I||A||(I=!0,r(V))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return F}},585:function(e,t,n){const r=new(n(153).IntrospectionFragmentMatcher)({introspectionQueryResultData:{__schema:{types:[{kind:"INTERFACE",name:"ArticleInterface",description:"This interface will be shared by Article and DraftArticle\nit will allow us to query their common fields in union types",fields:[{name:"backgroundColour",description:null,args:[],type:{kind:"OBJECT",name:"Colour",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"byline",description:null,args:[],type:{kind:"SCALAR",name:"Markup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bylines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"UNION",name:"ArticleByline",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"catchline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"Markup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dropcapsDisabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirableFlags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"OBJECT",name:"ExpirableFlag",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"escenicId",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasVideo",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"headline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"UUID",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"label",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commentsEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commentsPreModerated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commercialTags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"inlineImages",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Image",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"seoDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shortHeadline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shortIdentifier",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"ENUM",name:"SectionName",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commercialSection",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commercialSectionTags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"leadAsset",description:null,args:[],type:{kind:"UNION",name:"Media",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"listingAsset",description:null,args:[],type:{kind:"UNION",name:"Media",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentId",description:null,args:[],type:{kind:"SCALAR",name:"UUID",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publicationName",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"PublicationName",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"publishedTime",description:null,args:[],type:{kind:"SCALAR",name:"DateTime",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedTime",description:null,args:[],type:{kind:"SCALAR",name:"DateTime",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"savingEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sharingEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"slug",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"standfirst",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strapline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"summary",description:null,args:[{name:"maxCharCount",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null}],type:{kind:"SCALAR",name:"Markup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"textColour",description:null,args:[],type:{kind:"OBJECT",name:"Colour",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"URL",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"template",description:null,args:[],type:{kind:"ENUM",name:"TemplateType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"workDesk",description:null,args:[],type:{kind:"ENUM",name:"WorkDeskName",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Article",ofType:null},{kind:"OBJECT",name:"DraftArticle",ofType:null}]},{kind:"UNION",name:"ArticleByline",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"TextByline",ofType:null},{kind:"OBJECT",name:"AuthorByline",ofType:null}]},{kind:"INTERFACE",name:"Byline",description:null,fields:[{name:"byline",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Markup",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"OBJECT",name:"Image",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"TextByline",ofType:null},{kind:"OBJECT",name:"AuthorByline",ofType:null}]},{kind:"INTERFACE",name:"DraftArticleSlice",description:null,fields:[{name:"items",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"DraftTile",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"DraftStandardSlice",ofType:null},{kind:"OBJECT",name:"DraftLeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"DraftOpinionOneAndTwoSlice",ofType:null}]},{kind:"UNION",name:"DraftTileArticle",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Article",ofType:null},{kind:"OBJECT",name:"DraftArticle",ofType:null}]},{kind:"INTERFACE",name:"Layout",description:"A selection of template types that have opinions over how they should be presented. Usually used within the context of an associated list of articles",fields:[{name:"template",description:null,args:[],type:{kind:"ENUM",name:"Template",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"LeadAndTwo",ofType:null},{kind:"OBJECT",name:"OpinionAndTwo",ofType:null},{kind:"OBJECT",name:"Default",ofType:null}]},{kind:"UNION",name:"Media",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Image",ofType:null},{kind:"OBJECT",name:"Video",ofType:null}]},{kind:"UNION",name:"PuffMainLinkRef",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"ArticleLink",ofType:null},{kind:"OBJECT",name:"Link",ofType:null}]},{kind:"UNION",name:"PuffSecondaryLinkRef",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"ArticleLink",ofType:null},{kind:"OBJECT",name:"Link",ofType:null},{kind:"OBJECT",name:"Anchor",ofType:null}]},{kind:"INTERFACE",name:"Section",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"UUID",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"slug",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Slug",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"colour",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Colour",ofType:null}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSection",ofType:null},{kind:"OBJECT",name:"PuzzleSection",ofType:null},{kind:"OBJECT",name:"MagazineSection",ofType:null},{kind:"OBJECT",name:"FrontPageSection",ofType:null}]},{kind:"INTERFACE",name:"ArticleSlice",description:null,fields:[{name:"items",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tile",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"sections",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"Section",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSlice",ofType:null},{kind:"OBJECT",name:"CommentLeadAndCartoonSlice",ofType:null},{kind:"OBJECT",name:"LetterThundererPodcastSlice",ofType:null},{kind:"OBJECT",name:"CommentTwoAndNotebookSlice",ofType:null},{kind:"OBJECT",name:"FocusSlice",ofType:null},{kind:"OBJECT",name:"LeadersSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementLeadAndFourStackSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthSlice",ofType:null},{kind:"OBJECT",name:"LeadOneNoPicAndOneAndPortraitSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"ObituariesLeadAndTwoSlice",ofType:null},{kind:"OBJECT",name:"OpinionOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndColumnistSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementSecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TwoPicAndSixNoPicSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthFrontSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoNoPicAndTwoSlice",ofType:null}]},{kind:"UNION",name:"StandardSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSlice",ofType:null},{kind:"OBJECT",name:"CommentLeadAndCartoonSlice",ofType:null},{kind:"OBJECT",name:"LetterThundererPodcastSlice",ofType:null},{kind:"OBJECT",name:"CommentTwoAndNotebookSlice",ofType:null},{kind:"OBJECT",name:"FocusSlice",ofType:null},{kind:"OBJECT",name:"LeadersSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementLeadAndFourStackSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthSlice",ofType:null},{kind:"OBJECT",name:"LeadOneNoPicAndOneAndPortraitSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"ObituariesLeadAndTwoSlice",ofType:null},{kind:"OBJECT",name:"OpinionOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndColumnistSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementSecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TwoPicAndSixNoPicSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"PuffSlice",ofType:null},{kind:"OBJECT",name:"DailyUniversalRegister",ofType:null},{kind:"OBJECT",name:"ContainerSlice",ofType:null}]},{kind:"UNION",name:"MagazineSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSlice",ofType:null},{kind:"OBJECT",name:"CommentLeadAndCartoonSlice",ofType:null},{kind:"OBJECT",name:"LetterThundererPodcastSlice",ofType:null},{kind:"OBJECT",name:"CommentTwoAndNotebookSlice",ofType:null},{kind:"OBJECT",name:"FocusSlice",ofType:null},{kind:"OBJECT",name:"LeadersSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementLeadAndFourStackSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthSlice",ofType:null},{kind:"OBJECT",name:"LeadOneNoPicAndOneAndPortraitSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"ObituariesLeadAndTwoSlice",ofType:null},{kind:"OBJECT",name:"OpinionOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndColumnistSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementSecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TwoPicAndSixNoPicSlice",ofType:null},{kind:"OBJECT",name:"PuffSlice",ofType:null},{kind:"OBJECT",name:"ContainerSlice",ofType:null}]},{kind:"UNION",name:"PuzzleSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Puzzle",ofType:null},{kind:"OBJECT",name:"PuffSlice",ofType:null}]},{kind:"UNION",name:"FrontPageSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"InTheNewsSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthFrontSlice",ofType:null}]}]}}});e.exports.fragmentMatcher=r},586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TealiumSendScheduler",{enumerable:!0,get:function(){return i.default}}),t.default=void 0;var r,i=(r=n(587))&&r.__esModule?r:{default:r};var a=e=>({analytics:t=>e.enqueue(t)});t.default=a},587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t,n){this.queue=[],this.sendEventScheduled=!1,this.w=t,this.d=n,this.scheduleSendEvents=this.scheduleSendEvents.bind(this),this.sendEvents=this.sendEvents.bind(this),r.scriptInjected||(this.injectTealiumScript(e),r.scriptInjected=!0)}disableAutoPageViewTracking(){this.w.utag_cfg_ovrd={noview:!0}}injectTealiumScript(e){const t=e.enabled,n=e.env,i=e.profile,a=e.account;if(!t)return;["env","profile","account"].forEach(t=>{if(!e[t])throw new Error("Tealium option not supplied: ".concat(t))}),this.disableAutoPageViewTracking();const o=this.d.createElement("script");o.defer=!0,o.type="text/javascript",o.onload=()=>{r.scriptLoaded=!0,this.scheduleSendEvents()},this.d.head.appendChild(o),o.src="//tags.tiqcdn.com/utag/".concat(a,"/").concat(i,"/").concat(n,"/utag.js")}enqueue(e){this.queue.push(e),this.scheduleSendEvents()}scheduleSendEvents(){!this.sendEventScheduled&&r.scriptLoaded&&"function"==typeof this.w.tealiumTrack&&(this.sendEventScheduled=!0,void 0!==this.w.requestIdleCallback?this.w.requestIdleCallback(this.sendEvents,{timeout:2e3}):this.w.setTimeout(()=>{if("function"!=typeof this.w.tealiumTrack)return;const e=Date.now();this.sendEvents({timeRemaining:()=>Math.max(0,50-(Date.now()-e))})},0))}sendEvents(e){this.sendEventScheduled=!1;do{if(!this.queue.length)break;const e=this.queue.shift();this.w.utag_data&&this.w.utag_data.experiment_platform&&(e.experiment_platform=this.w.utag_data.experiment_platform,e.experiment_platform_user_id=this.w.utag_data.experiment_platform_user_id,e.experiment_data=this.w.utag_data.experiment_data),this.w.tealiumTrack(e)}while(e.timeRemaining()>0);this.queue.length>0&&this.scheduleSendEvents()}}t.default=r},59:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,r.visit)(e,{leave:a})};var r=n(16),i=n(326);var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return l(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=s("(",l(e.variableDefinitions,", "),")"),i=l(e.directives," "),a=e.selectionSet;return n||i||r||"query"!==t?l([t,l([n,r]),i,a]," "):a},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+s(" = ",r)+s(" ",l(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,a=e.selectionSet;return l([s("",t,": ")+n+s("(",l(r,", "),")"),l(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+s(" ",l(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l(["...",s("on ",t),l(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(s("(",l(r,", "),")")," ")+"on ".concat(n," ").concat(s("",l(i," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?(0,i.printBlockString)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+l(e.values,", ")+"]"},ObjectValue:function(e){return"{"+l(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+s("(",l(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return l(["schema",l(t," "),u(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:o((function(e){return l(["scalar",e.name,l(e.directives," ")]," ")})),ObjectTypeDefinition:o((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l(["type",t,s("implements ",l(n," & ")),l(r," "),u(i)]," ")})),FieldDefinition:o((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(f(n)?s("(\n",c(l(n,"\n")),"\n)"):s("(",l(n,", "),")"))+": "+r+s(" ",l(i," "))})),InputValueDefinition:o((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+": "+n,s("= ",r),l(i," ")]," ")})),InterfaceTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.fields;return l(["interface",t,l(n," "),u(r)]," ")})),UnionTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.types;return l(["union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")})),EnumTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.values;return l(["enum",t,l(n," "),u(r)]," ")})),EnumValueDefinition:o((function(e){return l([e.name,l(e.directives," ")]," ")})),InputObjectTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.fields;return l(["input",t,l(n," "),u(r)]," ")})),DirectiveDefinition:o((function(e){var t=e.name,n=e.arguments,r=e.locations;return"directive @"+t+(f(n)?s("(\n",c(l(n,"\n")),"\n)"):s("(",l(n,", "),")"))+" on "+l(r," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l(["extend schema",l(t," "),u(n)]," ")},ScalarTypeExtension:function(e){return l(["extend scalar",e.name,l(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l(["extend type",t,s("implements ",l(n," & ")),l(r," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l(["extend interface",t,l(n," "),u(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l(["extend union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l(["extend enum",t,l(n," "),u(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l(["extend input",t,l(n," "),u(r)]," ")}};function o(e){return function(t){return l([t.description,e(t)],"\n")}}function l(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function u(e){return e&&0!==e.length?"{\n"+c(l(e,"\n"))+"\n}":""}function s(e,t,n){return t?e+t+(n||""):""}function c(e){return e&&" "+e.replace(/\n/g,"\n ")}function d(e){return-1!==e.indexOf("\n")}function f(e){return e&&e.some(d)}},595:function(e,t,n){"use strict";n.r(t);var r,i=n(8),a=n(9),o=n(59),l=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return l(t,e),t}(Error);function c(e){return e.request.length<=1}function d(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t?console.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,n(e))},error:r})}))}var f=d;function m(e){return new i.a((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}function p(e){return new i.a((function(t){t.error(e)}))}function v(e,t){var n=u({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=u({},n,"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return u({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){return Object(o.print)(e.query)+"|"+JSON.stringify(e.variables)+"|"+e.operationName}(t)}}),t}var h=function(e,t){return t?t(e):i.a.of()},y=function(e){return"function"==typeof e?new O(e):e},g=function(){return new O((function(e,t){return i.a.of()}))},k=function(e){return 0===e.length?g():e.map(y).reduce((function(e,t){return e.concat(t)}))},b=function(e,t,n){void 0===n&&(n=new O(h));var r=y(t),a=y(n);return c(r)&&c(a)?new O((function(t){return e(t)?r.request(t)||i.a.of():a.request(t)||i.a.of()})):new O((function(t,n){return e(t)?r.request(t,n)||i.a.of():a.request(t,n)||i.a.of()}))},S=function(e,t){var n=y(e);if(c(n))return console.warn(new s("You are calling concat on a terminating link, which will have no effect",n)),n;var r=y(t);return c(r)?new O((function(e){return n.request(e,(function(e){return r.request(e)||i.a.of()}))||i.a.of()})):new O((function(e,t){return n.request(e,(function(e){return r.request(e,t)||i.a.of()}))||i.a.of()}))},O=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return void 0===r&&(r=new e(h)),this.concat(b(t,n,r))},e.prototype.concat=function(e){return S(this,e)},e.prototype.request=function(e,t){throw new Error("request is not implemented")},e.empty=g,e.from=k,e.split=b,e.execute=w,e}();function w(e,t){return e.request(v(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Object(a.k)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw new Error("illegal argument: "+i)}return e}(t))))||i.a.of()}n.d(t,"empty",(function(){return g})),n.d(t,"from",(function(){return k})),n.d(t,"split",(function(){return b})),n.d(t,"concat",(function(){return S})),n.d(t,"ApolloLink",(function(){return O})),n.d(t,"execute",(function(){return w})),n.d(t,"createOperation",(function(){return v})),n.d(t,"makePromise",(function(){return f})),n.d(t,"toPromise",(function(){return d})),n.d(t,"fromPromise",(function(){return m})),n.d(t,"fromError",(function(){return p})),n.d(t,"Observable",(function(){return i.a}))},596:function(e,t,n){"use strict";n.r(t);var r,i=n(8),a=n(9),o=n(59),l=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return l(t,e),t}(Error);function c(e){return e.request.length<=1}function d(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t?console.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,n(e))},error:r})}))}var f=d;function m(e){return new i.a((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}function p(e){return new i.a((function(t){t.error(e)}))}function v(e,t){var n=u({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=u({},n,"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return u({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){return Object(o.print)(e.query)+"|"+JSON.stringify(e.variables)+"|"+e.operationName}(t)}}),t}var h=function(e,t){return t?t(e):i.a.of()},y=function(e){return"function"==typeof e?new O(e):e},g=function(){return new O((function(e,t){return i.a.of()}))},k=function(e){return 0===e.length?g():e.map(y).reduce((function(e,t){return e.concat(t)}))},b=function(e,t,n){void 0===n&&(n=new O(h));var r=y(t),a=y(n);return c(r)&&c(a)?new O((function(t){return e(t)?r.request(t)||i.a.of():a.request(t)||i.a.of()})):new O((function(t,n){return e(t)?r.request(t,n)||i.a.of():a.request(t,n)||i.a.of()}))},S=function(e,t){var n=y(e);if(c(n))return console.warn(new s("You are calling concat on a terminating link, which will have no effect",n)),n;var r=y(t);return c(r)?new O((function(e){return n.request(e,(function(e){return r.request(e)||i.a.of()}))||i.a.of()})):new O((function(e,t){return n.request(e,(function(e){return r.request(e,t)||i.a.of()}))||i.a.of()}))},O=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return void 0===r&&(r=new e(h)),this.concat(b(t,n,r))},e.prototype.concat=function(e){return S(this,e)},e.prototype.request=function(e,t){throw new Error("request is not implemented")},e.empty=g,e.from=k,e.split=b,e.execute=w,e}();function w(e,t){return e.request(v(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Object(a.k)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw new Error("illegal argument: "+i)}return e}(t))))||i.a.of()}n.d(t,"empty",(function(){return g})),n.d(t,"from",(function(){return k})),n.d(t,"split",(function(){return b})),n.d(t,"concat",(function(){return S})),n.d(t,"ApolloLink",(function(){return O})),n.d(t,"execute",(function(){return w})),n.d(t,"createOperation",(function(){return v})),n.d(t,"makePromise",(function(){return f})),n.d(t,"toPromise",(function(){return d})),n.d(t,"fromPromise",(function(){return m})),n.d(t,"fromError",(function(){return p})),n.d(t,"Observable",(function(){return i.a}))},6:function(e,t,n){"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}n.d(t,"a",(function(){return r}))},60:function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"renderTree",(function(){return i})),n.d(t,"renderTreeAsText",(function(){return a})),n.d(t,"renderTreeArrayAsText",(function(){return o}));var r=function(e){return function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=n.name,o=n.attributes,l=n.children,u=e[a]||e.unknown;if(!u)return null;var s=l.map((function(e,n){return t(e,"".concat(r,".").concat(n),n)})),c=u.call(e,r,o,s,i,n);return c}},i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return r(t)(e,n,i)},a=function e(t){var n=t.attributes,r=(n=void 0===n?{}:n).value,i=t.children,a=t.name,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";return"text"===a&&r||(i?i.map((function(t,n){return e(t,"".concat(o,".").concat(n))})).join(""):"")},o=function(e){return e.map((function(e){return a(e)})).join("")};t.default=function(e,t){return e.map((function(e,n){return i(e,t,"".concat(n),n)}))}}])},7:function(e,t,n){"use strict";(function(e){n.d(t,"x",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"n",(function(){return m})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return y})),n.d(t,"k",(function(){return g})),n.d(t,"g",(function(){return k})),n.d(t,"l",(function(){return b})),n.d(t,"h",(function(){return S})),n.d(t,"e",(function(){return O})),n.d(t,"f",(function(){return w})),n.d(t,"v",(function(){return F})),n.d(t,"c",(function(){return E})),n.d(t,"u",(function(){return P})),n.d(t,"a",(function(){return l})),n.d(t,"w",(function(){return u})),n.d(t,"q",(function(){return s})),n.d(t,"r",(function(){return c})),n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return A})),n.d(t,"y",(function(){return I})),n.d(t,"m",(function(){return D})),n.d(t,"p",(function(){return R})),n.d(t,"s",(function(){return L})),n.d(t,"t",(function(){return V}));var r=n(16),i=n(15),a=n(5);n(92);function o(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return o(a,e.name,e.value,r)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var l=(r||{})[n.name.value];e[t.value]=l}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return o(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new i.a;e[t.value]=null}}function l(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return o(n,r,i,t)})),n}return null}function u(e){return e.alias?e.alias.value:e.name.value}function s(e){return"Field"===e.kind}function c(e){return"InlineFragment"===e.kind}function d(e,t){if(void 0===t&&(t={}),!e.directives)return!0;var n=!0;return e.directives.forEach((function(e){if("skip"===e.name.value||"include"===e.name.value){var r=e.arguments||[],a=e.name.value;Object(i.b)(1===r.length);var o=r[0];Object(i.b)(o.name&&"if"===o.name.value);var l=r[0].value,u=!1;l&&"BooleanValue"===l.kind?u=l.value:(Object(i.b)("Variable"===l.kind),u=t[l.name.value],Object(i.b)(void 0!==u)),"skip"===a&&(u=!u),u||(n=!1)}})),n}function f(e,t){return function(e){var t=[];return Object(r.visit)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function m(e){return e&&f(["client"],e)&&f(["export"],e)}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){null!=t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function v(e){h(e);var t=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))[0];return Object(i.b)(t),t}function h(e){Object(i.b)(e&&"Document"===e.kind);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new i.a;return e}));return Object(i.b)(t.length<=1),e}function y(e){return h(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function g(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function k(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function b(e){var t=y(e);return Object(i.b)(t&&"query"===t.operation),t}function S(e){var t;h(e);for(var n=0,r=e.definitions;n<r.length;n++){var a=r[n];if("OperationDefinition"===a.kind){var o=a.operation;if("query"===o||"mutation"===o||"subscription"===o)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw new i.a}function O(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function w(e){if(e&&e.variableDefinitions&&e.variableDefinitions.length){var t=e.variableDefinitions.filter((function(e){return e.defaultValue})).map((function(e){var t=e.variable,n=e.defaultValue,r={};return o(r,t.name,n),r}));return p.apply(void 0,[{}].concat(t))}return{}}function N(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}function T(e){return function e(t,n){return t.selectionSet.selections.every((function(t){return"FragmentSpread"===t.kind&&e(n[t.name.value],n)}))}(y(e)||function(e){Object(i.b)("Document"===e.kind),Object(i.b)(e.definitions.length<=1);var t=e.definitions[0];return Object(i.b)("FragmentDefinition"===t.kind),t}(e),O(k(e)))?null:e}function j(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function C(e,t){var n=Object.create(null),i=[],o=Object.create(null),l=[],u=T(Object(r.visit)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(j(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),t.selectionSet&&function e(t){var n=[];return t.selections.forEach((function(t){"Field"!==t.kind&&"InlineFragment"!==t.kind||!t.selectionSet?"FragmentSpread"===t.kind&&n.push(t):e(t.selectionSet).forEach((function(e){return n.push(e)}))})),n}(t.selectionSet).forEach((function(e){l.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){o[e.name.value]=!0}},Directive:{enter:function(t){if(j(e)(t))return null}}}));return u&&N(i,(function(e){return!n[e.name]})).length&&(u=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return T(Object(r.visit)(t,{OperationDefinition:{enter:function(t){return Object(a.a)({},t,{variableDefinitions:t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))}))})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(i,u)),u&&N(l,(function(e){return!o[e.name]})).length&&(u=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return T(Object(r.visit)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(l,u)),u}var x={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||console.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function F(e){return C([x],h(e))}function E(e){return"query"===S(e).operation?e:Object(r.visit)(e,{OperationDefinition:{enter:function(e){return Object(a.a)({},e,{operation:"query"})}}})}function P(e){h(e);var t=C([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=Object(r.visit)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return"Field"===e.kind&&"__typename"===e.name.value})))return null}}})),t}var _=Object.prototype.toString;function A(e){return function e(t,n){switch(_.call(t)){case"[object Array]":if(n.has(t))return n.get(t);var r=t.slice(0);return n.set(t,r),r.forEach((function(t,i){r[i]=e(t,n)})),r;case"[object Object]":if(n.has(t))return n.get(t);var i=Object.create(Object.getPrototypeOf(t));return n.set(t,i),Object.keys(t).forEach((function(r){i[r]=e(t[r],n)})),i;default:return t}}(e,new Map)}function I(e){try{return e()}catch(e){console.error&&console.error(e)}}function D(e){return e.errors&&e.errors.length}function R(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(null!=e&&"object"==typeof e&&null!=t&&"object"==typeof t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!R(e[n],t[n]))return!1}for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&!Object.prototype.hasOwnProperty.call(e,n))return!1;return!0}return!1}var M=Object.prototype.hasOwnProperty;function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return V(e)}function V(e){var t=e[0]||{},n=e.length;if(n>1){var r=[];t=z(t,r);for(var i=1;i<n;++i)t=q(t,e[i],r)}return t}function B(e){return null!==e&&"object"==typeof e}function q(e,t,n){return B(t)&&B(e)?(Object.isExtensible&&!Object.isExtensible(e)&&(e=z(e,n)),Object.keys(t).forEach((function(r){var i=t[r];if(M.call(e,r)){var a=e[r];i!==a&&(e[r]=q(z(a,n),i,n))}else e[r]=i})),e):t}function z(e,t){return null!==e&&"object"==typeof e&&t.indexOf(e)<0&&(e=Array.isArray(e)?e.slice(0):Object(a.a)({__proto__:Object.getPrototypeOf(e)},e),t.push(e)),e}Object.create({})}).call(this,n(72))},70:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(4),i=n(44),a=n(0);function o(e,t){Object(a.a)(2,arguments);var n=Object(r.a)(t);return Object(i.a)(e,6e4*n)}},71:function(e,t,n){"use strict";n.r(t),n.d(t,"ApolloConsumer",(function(){return m})),n.d(t,"ApolloContext",(function(){return f})),n.d(t,"ApolloProvider",(function(){return v})),n.d(t,"Mutation",(function(){return T})),n.d(t,"Query",(function(){return w})),n.d(t,"RenderPromises",(function(){return M})),n.d(t,"Subscription",(function(){return j})),n.d(t,"compose",(function(){return q})),n.d(t,"getDataFromTree",(function(){return L})),n.d(t,"getMarkupFromTree",(function(){return V})),n.d(t,"graphql",(function(){return D})),n.d(t,"renderToStringWithData",(function(){return B})),n.d(t,"withApollo",(function(){return R})),n.d(t,"withMutation",(function(){return A})),n.d(t,"withQuery",(function(){return _})),n.d(t,"withSubscription",(function(){return I}));var r=n(3),i=n(2),a=n(13),o=n(5),l=n(94),u=n(209),s=n.n(u),c=n(58),d=n.n(c),f=r.createContext?Object(r.createContext)(void 0):null,m=function(e,t){function n(t){if(!t||!t.client)throw new a.a;return e.children(t.client)}return f?Object(r.createElement)(f.Consumer,null,n):n(t)};m.contextTypes={client:i.object.isRequired},m.propTypes={children:i.func.isRequired};var p,v=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.operations=new Map,Object(a.b)(t.client),t.client.__operations_cache__||(t.client.__operations_cache__=r.operations),r}return Object(o.c)(t,e),t.prototype.getChildContext=function(){return{client:this.props.client,operations:this.props.client.__operations_cache__}},t.prototype.render=function(){return f?Object(r.createElement)(f.Provider,{value:this.getChildContext()},this.props.children):this.props.children},t.propTypes={client:i.object.isRequired,children:i.node.isRequired},t.childContextTypes={client:i.object.isRequired,operations:i.object},t}(r.Component);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(p||(p={}));var h=new Map;function y(e){var t,n,r=h.get(e);if(r)return r;Object(a.b)(!!e&&!!e.kind);var i=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),o=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));Object(a.b)(!i.length||o.length||l.length||u.length),Object(a.b)(o.length+l.length+u.length<=1),n=o.length?p.Query:p.Mutation,o.length||l.length||(n=p.Subscription);var s=o.length?o:l.length?l:u;Object(a.b)(1===s.length);var c=s[0];t=c.variableDefinitions||[];var d={name:c.name&&"Name"===c.name.kind?c.name.value:"data",type:n,variables:t};return h.set(e,d),d}function g(e,t){var n=e.client||t.client;return Object(a.b)(!!n),n}var k=Object.prototype.hasOwnProperty;function b(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e){return null!==e&&"object"==typeof e}function O(e,t){if(b(e,t))return!0;if(!S(e)||!S(t))return!1;var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return k.call(t,n)&&b(e[n],t[n])}))}var w=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.previousData={},r.hasMounted=!1,r.lastResult=null,r.startQuerySubscription=function(e){if(void 0===e&&(e=!1),e||(r.lastResult=r.queryObservable.getLastResult()),!r.querySubscription){var t=r.getQueryResult();r.querySubscription=r.queryObservable.subscribe({next:function(e){var n=e.loading,i=e.networkStatus,a=e.data;t&&7===t.networkStatus&&O(t.data,a)?t=void 0:r.lastResult&&r.lastResult.loading===n&&r.lastResult.networkStatus===i&&O(r.lastResult.data,a)||(t=void 0,r.lastResult&&(r.lastResult=r.queryObservable.getLastResult()),r.updateCurrentData())},error:function(e){if(r.lastResult||r.resubscribeToQuery(),!e.hasOwnProperty("graphQLErrors"))throw e;r.updateCurrentData()}})}},r.removeQuerySubscription=function(){r.querySubscription&&(r.lastResult=r.queryObservable.getLastResult(),r.querySubscription.unsubscribe(),delete r.querySubscription)},r.updateCurrentData=function(){r.handleErrorOrCompleted(),r.hasMounted&&r.forceUpdate()},r.handleErrorOrCompleted=function(){var e=r.queryObservable.currentResult(),t=e.data,n=e.loading,i=e.error,a=r.props,o=a.onCompleted,l=a.onError;!o||n||i?l&&!n&&i&&l(i):o(t)},r.getQueryResult=function(){var e,t={data:Object.create(null)};if(Object.assign(t,{variables:(e=r.queryObservable).variables,refetch:e.refetch.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}),r.props.skip)t=Object(o.a)({},t,{data:void 0,error:void 0,loading:!1});else{var n=r.queryObservable.currentResult(),i=n.loading,a=n.partial,u=n.networkStatus,s=n.errors,c=n.error;s&&s.length>0&&(c=new l.ApolloError({graphQLErrors:s}));var d=r.queryObservable.options.fetchPolicy;if(Object.assign(t,{loading:i,networkStatus:u,error:c}),i)Object.assign(t.data,r.previousData,n.data);else if(c)Object.assign(t,{data:(r.queryObservable.getLastResult()||{}).data});else if("no-cache"===d&&0===Object.keys(n.data).length)t.data=r.previousData;else{if(r.props.partialRefetch&&0===Object.keys(n.data).length&&a&&"cache-only"!==d)return Object.assign(t,{loading:!0,networkStatus:l.NetworkStatus.loading}),t.refetch(),t;Object.assign(t.data,n.data),r.previousData=n.data}}if(!r.querySubscription){var f=t.refetch;t.refetch=function(e){return r.querySubscription?f(e):new Promise((function(t,n){r.refetcherQueue={resolve:t,reject:n,args:e}}))}}return t.client=r.client,t},r.client=g(t,n),r.initializeQueryObservable(t),r}return Object(o.c)(t,e),t.prototype.fetchData=function(){if(this.props.skip)return!1;var e=this.props,t=(e.children,e.ssr),n=(e.displayName,e.skip,e.client,e.onCompleted,e.onError,e.partialRefetch,Object(o.e)(e,["children","ssr","displayName","skip","client","onCompleted","onError","partialRefetch"])),r=n.fetchPolicy;if(!1===t)return!1;"network-only"!==r&&"cache-and-network"!==r||(r="cache-first");var i=this.client.watchQuery(Object(o.a)({},n,{fetchPolicy:r}));return this.context&&this.context.renderPromises&&this.context.renderPromises.registerSSRObservable(this,i),!!this.queryObservable.currentResult().loading&&i.result()},t.prototype.componentDidMount=function(){if(this.hasMounted=!0,!this.props.skip&&(this.startQuerySubscription(!0),this.refetcherQueue)){var e=this.refetcherQueue,t=e.args,n=e.resolve,r=e.reject;this.queryObservable.refetch(t).then(n).catch(r)}},t.prototype.componentWillReceiveProps=function(e,t){if(!e.skip||this.props.skip){var n=g(e,t);O(this.props,e)&&this.client===n||(this.client!==n&&(this.client=n,this.removeQuerySubscription(),this.queryObservable=null,this.previousData={},this.updateQuery(e)),this.props.query!==e.query&&this.removeQuerySubscription(),this.updateQuery(e),e.skip||this.startQuerySubscription())}else this.removeQuerySubscription()},t.prototype.componentWillUnmount=function(){this.removeQuerySubscription(),this.hasMounted=!1},t.prototype.componentDidUpdate=function(e){(!s()(e.query,this.props.query)||!s()(e.variables,this.props.variables))&&this.handleErrorOrCompleted()},t.prototype.render=function(){var e=this,t=this.context,n=function(){return e.props.children(e.getQueryResult())};return t&&t.renderPromises?t.renderPromises.addQueryPromise(this,n):n()},t.prototype.extractOptsFromProps=function(e){this.operation=y(e.query),Object(a.b)(this.operation.type===p.Query);var t=e.displayName||"Query";return Object(o.a)({},e,{displayName:t,context:e.context||{},metadata:{reactComponent:{displayName:t}}})},t.prototype.initializeQueryObservable=function(e){var t=this.extractOptsFromProps(e);this.setOperations(t),this.context&&this.context.renderPromises&&(this.queryObservable=this.context.renderPromises.getSSRObservable(this)),this.queryObservable||(this.queryObservable=this.client.watchQuery(t))},t.prototype.setOperations=function(e){this.context.operations&&this.context.operations.set(this.operation.name,{query:e.query,variables:e.variables})},t.prototype.updateQuery=function(e){this.queryObservable?this.setOperations(e):this.initializeQueryObservable(e),this.queryObservable.setOptions(this.extractOptsFromProps(e)).catch((function(){return null}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.queryObservable.getLastError(),t=this.queryObservable.getLastResult();this.queryObservable.resetLastResults(),this.startQuerySubscription(),Object.assign(this.queryObservable,{lastError:e,lastResult:t})},t.contextTypes={client:i.object,operations:i.object,renderPromises:i.object},t.propTypes={client:i.object,children:i.func.isRequired,fetchPolicy:i.string,notifyOnNetworkStatusChange:i.bool,onCompleted:i.func,onError:i.func,pollInterval:i.number,query:i.object.isRequired,variables:i.object,ssr:i.bool,partialRefetch:i.bool},t}(r.Component),N={loading:!1,called:!1,error:void 0,data:void 0},T=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.hasMounted=!1,r.runMutation=function(e){void 0===e&&(e={}),r.onMutationStart();var t=r.generateNewMutationId();return r.mutate(e).then((function(e){return r.onMutationCompleted(e,t),e})).catch((function(e){if(r.onMutationError(e,t),!r.props.onError)throw e}))},r.mutate=function(e){var t=r.props,n=t.mutation,i=t.variables,a=t.optimisticResponse,l=t.update,u=t.context,s=void 0===u?{}:u,c=t.awaitRefetchQueries,d=void 0!==c&&c,f=t.fetchPolicy,m=Object(o.a)({},e),p=m.refetchQueries||r.props.refetchQueries;p&&p.length&&Array.isArray(p)&&(p=p.map((function(e){return"string"==typeof e&&r.context.operations&&r.context.operations.get(e)||e})),delete m.refetchQueries);var v=Object.assign({},i,m.variables);return delete m.variables,r.client.mutate(Object(o.a)({mutation:n,optimisticResponse:a,refetchQueries:p,awaitRefetchQueries:d,update:l,context:s,fetchPolicy:f,variables:v},m))},r.onMutationStart=function(){r.state.loading||r.props.ignoreResults||r.setState({loading:!0,error:void 0,data:void 0,called:!0})},r.onMutationCompleted=function(e,t){var n=r.props,i=n.onCompleted,a=n.ignoreResults,o=e.data,u=e.errors,s=u&&u.length>0?new l.ApolloError({graphQLErrors:u}):void 0,c=function(){return i?i(o):null};r.hasMounted&&r.isMostRecentMutation(t)&&!a?r.setState({loading:!1,data:o,error:s},c):c()},r.onMutationError=function(e,t){var n=r.props.onError,i=function(){return n?n(e):null};r.hasMounted&&r.isMostRecentMutation(t)?r.setState({loading:!1,error:e},i):i()},r.generateNewMutationId=function(){return r.mostRecentMutationId=r.mostRecentMutationId+1,r.mostRecentMutationId},r.isMostRecentMutation=function(e){return r.mostRecentMutationId===e},r.verifyDocumentIsMutation=function(e){var t=y(e);Object(a.b)(t.type===p.Mutation)},r.client=g(t,n),r.verifyDocumentIsMutation(t.mutation),r.mostRecentMutationId=0,r.state=N,r}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){this.hasMounted=!0},t.prototype.componentWillUnmount=function(){this.hasMounted=!1},t.prototype.componentWillReceiveProps=function(e,t){var n=g(e,t);O(this.props,e)&&this.client===n||(this.props.mutation!==e.mutation&&this.verifyDocumentIsMutation(e.mutation),this.client!==n&&(this.client=n,this.setState(N)))},t.prototype.render=function(){var e=this.props.children,t=this.state,n=t.loading,r=t.data,i=t.error,a={called:t.called,loading:n,data:r,error:i,client:this.client};return e(this.runMutation,a)},t.contextTypes={client:i.object,operations:i.object},t.propTypes={mutation:i.object.isRequired,variables:i.object,optimisticResponse:i.object,refetchQueries:Object(i.oneOfType)([Object(i.arrayOf)(Object(i.oneOfType)([i.string,i.object])),i.func]),awaitRefetchQueries:i.bool,update:i.func,children:i.func.isRequired,onCompleted:i.func,onError:i.func,fetchPolicy:i.string},t}(r.Component),j=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialize=function(e){r.queryObservable||(r.queryObservable=r.client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy}))},r.startSubscription=function(){r.querySubscription||(r.querySubscription=r.queryObservable.subscribe({next:r.updateCurrentData,error:r.updateError,complete:r.completeSubscription}))},r.getInitialState=function(){return{loading:!0,error:void 0,data:void 0}},r.updateCurrentData=function(e){var t=r,n=t.client,i=t.props.onSubscriptionData;i&&i({client:n,subscriptionData:e}),r.setState({data:e.data,loading:!1,error:void 0})},r.updateError=function(e){r.setState({error:e,loading:!1})},r.completeSubscription=function(){var e=r.props.onSubscriptionComplete;e&&e(),r.endSubscription()},r.endSubscription=function(){r.querySubscription&&(r.querySubscription.unsubscribe(),delete r.querySubscription)},r.client=g(t,n),r.initialize(t),r.state=r.getInitialState(),r}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){this.startSubscription()},t.prototype.componentWillReceiveProps=function(e,t){var n=g(e,t);if(!O(this.props.variables,e.variables)||this.client!==n||this.props.subscription!==e.subscription){var r=e.shouldResubscribe;"function"==typeof r&&(r=!!r(this.props,e));var i=!1===r;if(this.client!==n&&(this.client=n),!i)return this.endSubscription(),delete this.queryObservable,this.initialize(e),this.startSubscription(),void this.setState(this.getInitialState());this.initialize(e),this.startSubscription()}},t.prototype.componentWillUnmount=function(){this.endSubscription()},t.prototype.render=function(){var e=this.props.children;return e?e(Object.assign({},this.state,{variables:this.props.variables})):null},t.contextTypes={client:i.object},t.propTypes={subscription:i.object.isRequired,variables:i.object,children:i.func,onSubscriptionData:i.func,onSubscriptionComplete:i.func,shouldResubscribe:Object(i.oneOfType)([i.func,i.bool])},t}(r.Component),C=function(){return{}},x=function(){return!1};function F(e){return e.displayName||e.name||"Component"}function E(e,t){for(var n={},r=0,i=e.variables;r<i.length;r++){var a=i[r],o=a.variable,l=a.type;if(o.name&&o.name.value){var u=o.name.value,s=t[u];void 0===s?"NonNullType"!==l.kind&&(n[u]=null):n[u]=s}}return n}var P=function(e){function t(t){var n=e.call(this,t)||this;return n.withRef=!1,n.setWrappedInstance=n.setWrappedInstance.bind(n),n}return Object(o.c)(t,e),t.prototype.getWrappedInstance=function(){return Object(a.b)(this.withRef),this.wrappedInstance},t.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},t}(r.Component);function _(e,t){void 0===t&&(t={});var n=y(e),i=t.options,a=void 0===i?C:i,l=t.skip,u=void 0===l?x:l,s=t.alias,c=void 0===s?"Apollo":s,f=a;"function"!=typeof f&&(f=function(){return a});var m,p=u;return"function"!=typeof p&&(p=function(){return u}),function(i){var a=c+"("+F(i)+")",l=function(l){function u(){return null!==l&&l.apply(this,arguments)||this}return Object(o.c)(u,l),u.prototype.render=function(){var l=this,u=this.props,s=p(u),c=s?Object.create(null):Object(o.a)({},f(u));return!s&&!c.variables&&n.variables.length>0&&(c.variables=E(n,u)),Object(r.createElement)(w,Object(o.a)({},c,{displayName:a,skip:s,query:e,warnUnhandledError:!0}),(function(e){e.client;var n,a,c=e.data,d=Object(o.e)(e,["client","data"]);if(t.withRef&&(l.withRef=!0,u=Object.assign({},u,{ref:l.setWrappedInstance})),s)return Object(r.createElement)(i,Object(o.a)({},u,{}));var f=Object.assign(d,c||{}),p=t.name||"data",v=((n={})[p]=f,n);if(t.props){var h=((a={})[p]=f,a.ownProps=u,a);v=m=t.props(h,m)}return Object(r.createElement)(i,Object(o.a)({},u,v))}))},u.displayName=a,u.WrappedComponent=i,u}(P);return d()(l,i,{})}}function A(e,t){void 0===t&&(t={});var n=y(e),i=t.options,a=void 0===i?C:i,l=t.alias,u=void 0===l?"Apollo":l,s=a;return"function"!=typeof s&&(s=function(){return a}),function(i){var a=u+"("+F(i)+")",l=function(l){function u(){return null!==l&&l.apply(this,arguments)||this}return Object(o.c)(u,l),u.prototype.render=function(){var a=this.props,l=s(a);return t.withRef&&(this.withRef=!0,a=Object.assign({},a,{ref:this.setWrappedInstance})),!l.variables&&n.variables.length>0&&(l.variables=E(n,a)),Object(r.createElement)(T,Object(o.a)({},l,{mutation:e,ignoreResults:!0}),(function(e,n){var l,u,s=t.name||"mutate",c=((l={})[s]=e,l);if(t.props){var d=((u={})[s]=e,u.ownProps=a,u);c=t.props(d)}return Object(r.createElement)(i,Object(o.a)({},a,c))}))},u.displayName=a,u.WrappedComponent=i,u}(P);return d()(l,i,{})}}function I(e,t){void 0===t&&(t={});var n=y(e),i=t.options,a=void 0===i?C:i,l=t.skip,u=void 0===l?x:l,s=t.alias,c=void 0===s?"Apollo":s,f=t.shouldResubscribe,m=a;"function"!=typeof m&&(m=function(){return a});var p,v=u;return"function"!=typeof v&&(v=function(){return u}),function(i){var a=c+"("+F(i)+")",l=function(l){function u(e){var t=l.call(this,e)||this;return t.state={resubscribe:!1},t}return Object(o.c)(u,l),u.prototype.componentWillReceiveProps=function(e){f&&this.setState({resubscribe:f(this.props,e)})},u.prototype.render=function(){var l=this,u=this.props,s=v(u),c=s?Object.create(null):m(u);return!s&&!c.variables&&n.variables.length>0&&(c.variables=E(n,u)),Object(r.createElement)(j,Object(o.a)({},c,{displayName:a,skip:s,subscription:e,shouldResubscribe:this.state.resubscribe}),(function(e){var n,a,c=e.data,d=Object(o.e)(e,["data"]);if(t.withRef&&(l.withRef=!0,u=Object.assign({},u,{ref:l.setWrappedInstance})),s)return Object(r.createElement)(i,Object(o.a)({},u,{}));var f=Object.assign(d,c||{}),m=t.name||"data",v=((n={})[m]=f,n);if(t.props){var h=((a={})[m]=f,a.ownProps=u,a);v=p=t.props(h,p)}return Object(r.createElement)(i,Object(o.a)({},u,v))}))},u.displayName=a,u.WrappedComponent=i,u}(P);return d()(l,i,{})}}function D(e,t){switch(void 0===t&&(t={}),y(e).type){case p.Mutation:return A(e,t);case p.Subscription:return I(e,t);case p.Query:default:return _(e,t)}}function R(e,t){void 0===t&&(t={});var n="withApollo("+function(e){return e.displayName||e.name||"Component"}(e)+")",i=function(i){function l(e){var t=i.call(this,e)||this;return t.setWrappedInstance=t.setWrappedInstance.bind(t),t}return Object(o.c)(l,i),l.prototype.getWrappedInstance=function(){return Object(a.b)(t.withRef),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.render=function(){var n=this;return Object(r.createElement)(m,null,(function(i){var a=Object.assign({},n.props,{client:i,ref:t.withRef?n.setWrappedInstance:void 0});return Object(r.createElement)(e,Object(o.a)({},a))}))},l.displayName=n,l.WrappedComponent=e,l}(r.Component);return d()(i,e,{})}var M=function(){function e(){this.queryPromises=new Map,this.queryInfoTrie=new Map}return e.prototype.registerSSRObservable=function(e,t){this.lookupQueryInfo(e).observable=t},e.prototype.getSSRObservable=function(e){return this.lookupQueryInfo(e).observable},e.prototype.addQueryPromise=function(e,t){return this.lookupQueryInfo(e).seen?t():(this.queryPromises.set(e,new Promise((function(t){t(e.fetchData())}))),null)},e.prototype.hasPromises=function(){return this.queryPromises.size>0},e.prototype.consumeAndAwaitPromises=function(){var e=this,t=[];return this.queryPromises.forEach((function(n,r){e.lookupQueryInfo(r).seen=!0,t.push(n)})),this.queryPromises.clear(),Promise.all(t)},e.prototype.lookupQueryInfo=function(e){var t=this.queryInfoTrie,n=e.props,r=n.query,i=n.variables,a=t.get(r)||new Map;t.has(r)||t.set(r,a);var o=JSON.stringify(i),l=a.get(o)||{seen:!1,observable:null};return a.has(o)||a.set(o,l),l},e}();function L(e,t){return void 0===t&&(t={}),V({tree:e,context:t,renderFunction:n(163).renderToStaticMarkup})}function V(e){var t=e.tree,a=e.context,l=void 0===a?{}:a,u=e.renderFunction,s=void 0===u?n(163).renderToStaticMarkup:u,c=new M,d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(n,e),n.prototype.getChildContext=function(){return Object(o.a)({},l,{renderPromises:c})},n.prototype.render=function(){return t},n.childContextTypes={renderPromises:i.object},n}(r.Component);return Object.keys(l).forEach((function(e){d.childContextTypes[e]=i.any})),Promise.resolve().then((function e(){var t=s(Object(r.createElement)(d));return c.hasPromises()?c.consumeAndAwaitPromises().then(e):t}))}function B(e){return V({tree:e,renderFunction:n(163).renderToString})}function q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.reverse();return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n[0],i=n.slice(1),a=r.apply(null,e);return i.forEach((function(e){a=e.call(null,a)})),a}}},72:function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,s=[],c=!1,d=-1;function f(){c&&u&&(c=!1,u.length?s=u.concat(s):d=-1,s.length&&m())}function m(){if(!c){var e=l(f);c=!0;for(var t=s.length;t;){for(u=s,s=[];++d<t;)u&&u[d].run();d=-1,t=s.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new p(e,t)),1!==s.length||c||l(m)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},73:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},74:function(e,t,n){"use strict";n.r(t),n.d(t,"Helmet",(function(){return B})),n.d(t,"HelmetProvider",(function(){return A}));var r=n(306),i=n.n(r),a=n(210),o=n.n(a),l=n(2),u=n.n(l),s=n(3),c=n.n(s),d=n(307),f=n.n(d),m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p=Object.keys(m).map((function(e){return m[e]})),v={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},h=Object.keys(v).reduce((function(e,t){return e[v[t]]=t,e}),{}),y=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},g=function(e){var t=y(e,m.TITLE),n=y(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=y(e,"defaultTitle");return t||r||void 0},k=function(e){return y(e,"onChangeClientState")||function(){}},b=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Object.assign({},e,t)}),{})},S=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},O=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n,a=Object.keys(e),o=0;o<a.length;o+=1){var l=a[o],u=l.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(i),o=0;o<a.length;o+=1){var l=a[o],u=Object.assign({},r[l],i[l]);r[l]=u}return e}),[]).reverse()},w=function(e){return Array.isArray(e)?e.join(""):e},N=[m.NOSCRIPT,m.SCRIPT,m.STYLE],T=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},j=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},C=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[v[n]||n]=e[n],t}),t)},x=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=C(t.titleAttributes,{key:e=t.title,"data-rh":!0}),[c.a.createElement(m.TITLE,n,e)];var e,n},toString:function(){return function(e,n,r,i){var a=j(t.titleAttributes),o=w(n);return a?"<"+e+' data-rh="true" '+a+">"+T(o,i)+"</"+e+">":"<"+e+' data-rh="true">'+T(o,i)+"</"+e+">"}(e,t.title,0,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return C(t)},toString:function(){return j(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r={key:n,"data-rh":!0};return Object.keys(t).forEach((function(e){var n=v[e]||e;"innerHTML"===n||"cssText"===n?r.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:r[n]=t[e]})),c.a.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+T(r[t],n)+'"';return e?e+" "+i:i}),""),a=r.innerHTML||r.cssText||"",o=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(o?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},F=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.scriptTags,u=e.styleTags,s=e.title;void 0===s&&(s="");var c=e.titleAttributes;return{base:x(m.BASE,e.baseTag,n),bodyAttributes:x("bodyAttributes",t,n),htmlAttributes:x("htmlAttributes",r,n),link:x(m.LINK,i,n),meta:x(m.META,a,n),noscript:x(m.NOSCRIPT,o,n),script:x(m.SCRIPT,l,n),style:x(m.STYLE,u,n),title:x(m.TITLE,{title:s,titleAttributes:c},n)}},E=c.a.createContext({}),P=u.a.shape({setHelmet:u.a.func,helmetInstances:u.a.shape({get:u.a.func,add:u.a.func,remove:u.a.func})}),_="undefined"!=typeof document,A=function(e){function t(n){var r=this;e.call(this,n),this.instances=[],this.value={setHelmet:function(e){r.props.context.helmet=e},helmetInstances:{get:function(){return r.instances},add:function(e){r.instances.push(e)},remove:function(e){var t=r.instances.indexOf(e);r.instances.splice(t,1)}}},t.canUseDOM||(n.context.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.render=function(){return c.a.createElement(E.Provider,{value:this.value},this.props.children)},t}(s.Component);A.canUseDOM=_,A.propTypes={context:u.a.shape({helmet:u.a.shape()}),children:u.a.node.isRequired},A.defaultProps={context:{}},A.displayName="HelmetProvider";var I=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):o.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:o}},D=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),l=0;l<o.length;l+=1){var u=o[l],s=t[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===i.indexOf(u)&&i.push(u);var c=a.indexOf(u);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},R=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,d=e.titleAttributes;D(m.BODY,e.bodyAttributes),D(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=w(e)),D(m.TITLE,t)}(c,d);var f={baseTag:I(m.BASE,n),linkTags:I(m.LINK,i),metaTags:I(m.META,a),noscriptTags:I(m.NOSCRIPT,o),scriptTags:I(m.SCRIPT,u),styleTags:I(m.STYLE,s)},p={},v={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(v[e]=f[e].oldTags)})),t&&t(),l(e,p,v)},M=null,L=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];e.apply(this,t),this.rendered=!1}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!f()(e,this.props)},t.prototype.componentDidUpdate=function(){this.emitChange()},t.prototype.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.prototype.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,a=(e=n.helmetInstances.get().map((function(e){var t=Object.assign({},e.props);return delete t.context,t})),{baseTag:S(["href"],e),bodyAttributes:b("bodyAttributes",e),defer:y(e,"defer"),encode:y(e,"encodeSpecialCharacters"),htmlAttributes:b("htmlAttributes",e),linkTags:O(m.LINK,["rel","href"],e),metaTags:O(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:O(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:k(e),scriptTags:O(m.SCRIPT,["src","innerHTML"],e),styleTags:O(m.STYLE,["cssText"],e),title:g(e),titleAttributes:b("titleAttributes",e)});A.canUseDOM?(t=a,M&&cancelAnimationFrame(M),t.defer?M=requestAnimationFrame((function(){R(t,(function(){M=null}))})):(R(t),M=null)):F&&(i=F(a)),r(i)},t.prototype.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.prototype.render=function(){return this.init(),null},t}(s.Component);function V(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}L.propTypes={context:P.isRequired},L.displayName="HelmetDispatcher";var B=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!i()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return Object.assign({},r,((t={})[n.type]=(r[n.type]||[]).concat([Object.assign({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case m.TITLE:return Object.assign({},i,((t={})[r.type]=o,t),{titleAttributes:Object.assign({},a)});case m.BODY:return Object.assign({},i,{bodyAttributes:Object.assign({},a)});case m.HTML:return Object.assign({},i,{htmlAttributes:Object.assign({},a)});default:return Object.assign({},i,((n={})[r.type]=Object.assign({},a),n))}},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Object.assign({},t);return Object.keys(e).forEach((function(t){var r;n=Object.assign({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return o()(p.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+p.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),o()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return c.a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,a=i.children,o=V(i,["children"]),l=Object.keys(o).reduce((function(e,t){return e[h[t]||t]=o[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,a),u){case m.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=V(e,["children"]),r=Object.assign({},n);return t&&(r=this.mapChildrenToProps(t,r)),c.a.createElement(E.Consumer,null,(function(e){return c.a.createElement(L,Object.assign({},r,{context:e}))}))},t}(s.Component);B.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},B.defaultProps={defer:!0,encodeSpecialCharacters:!0},B.displayName="Helmet"},8:function(e,t,n){"use strict";var r=n(305),i=n.n(r).a;t.a=i},87:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(12)},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(2)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(60)},function(e,t){e.exports=n(88)},function(e,t){e.exports=n(33)},function(e,t){e.exports=n(35)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=n.n(o),u=n(5),s=n.n(u),c=n(6),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=l()(a.TcText).withConfig({displayName:"render-byline__InlineText",componentId:"sc-8i7rg2-0"})([""," ",";"],(function(e){return e.textStyle?Object(a.checkStylesForUnits)(e.textStyle):""}),(function(e){return e.bylineStyle?Object(a.checkStylesForUnits)(e.bylineStyle):""})),y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(p({},d.a),{},{author:function(t,r,a){return i.a.createElement(e,f({key:t,name:a[0]},r,n),a)},inline:function(e,r,a){var o=n.className,l=n.bylineStyle;return i.a.createElement(h,{className:o,key:e,textStyle:t,bylineStyle:l},a)}})},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.map((function(e){return e.byline&&e.byline.length>0?e.byline[0]:{}}));return s()(i,y(e,n,r))},k=n(2),b=n.n(k),S={ast:b.a.arrayOf(b.a.shape({})).isRequired,onAuthorPress:b.a.func,capitalize:b.a.bool,children:b.a.array,key:b.a.string,attributes:b.a.array,slug:b.a.string},O={onAuthorPress:function(){return null},capitalize:!1},w=n(3);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{link:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.action,textDecorationLine:"none"}),nonLinkText:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.primary,flexDirection:"row"}),opinion:T(T({},Object(w.fontFactory)({font:"headline",fontSize:"smallHeadline"})),{},{color:w.colours.section.comment,fontWeight:"400"}),centered:{textAlign:"center"},text:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.secondary,flexDirection:"row"})});var E=l()(a.TcText).withConfig({displayName:"article-byline-opinion__OpinionText",componentId:"aqlxmn-0"})(["",";"],Object(a.checkStylesForUnits)(F.opinion)),P=function(e){var t=e.children,n=e.key,r=e.className;return i.a.createElement(E,{className:r,key:n},t)},_=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(P,t,F.opinion,n)};_.displayName="ArticleBylineOpinion",_.propTypes=S,_.defaultProps=O;var A=_,I=n(7),D=n(8);var R=function(e){var t=e.slug,n=e.className,r=e.onAuthorPress,o=e.children,l="/profile/".concat(t),u=o[0];return i.a.createElement(I.TextLink,{className:n,onClick:function(e){r(e,{name:u,slug:t})},style:Object(a.checkStylesForUnits)(F.link),url:l},o)},M=function(e){var t,n=e.ast,r=e.centered,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast","centered"]);return g((t=R,Object(D.withTrackEvents)(t,{analyticsEvents:[{actionName:"Pressed",eventName:"onAuthorPress",getAttrs:function(e){return{name:e.name,slug:e.slug}},trackingName:"ArticlePressAuthor"}]})),n,r?[F.text,F.centered]:F.text,i)};M.displayName="ArticleBylineWithLinks",M.propTypes=S,M.defaultProps=O;var L=M,V=function(e){return e&&e.length>0&&e[0].byline&&e[0].byline.length>0};n.d(t,"ArticleBylineOpinion",(function(){return A})),n.d(t,"ArticleBylineWithLinks",(function(){return L})),n.d(t,"hasBylineData",(function(){return V}));var B=l()(a.TcText).withConfig({displayName:"article-byline__BylineText",componentId:"ynke2n-0"})([""," ",";"],(function(e){return e.style?Object(a.checkStylesForUnits)(e.style):""}),Object(a.checkStylesForUnits)(F.nonLinkText)),q=function(e){var t=e.children,n=e.key,r=e.className,a=e.bylineStyle;return i.a.createElement(B,{className:r,key:n,style:a},t)},z=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(q,t,F.nonLinkText,n)};z.displayName="ArticleByline",z.propTypes=S,z.defaultProps=O,t.default=z}])},88:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);t.default={block:function(e,t,n){return i.a.createElement("div",{key:e},n)},bold:function(e,t,n){return i.a.createElement("b",{key:e},n)},break:function(e){return i.a.createElement("br",{key:e})},emphasis:function(e,t,n){return i.a.createElement("em",{key:e},n)},inline:function(e,t,n){return i.a.createElement("span",{key:e},n)},italic:function(e,t,n){return i.a.createElement("i",{key:e},n)},paragraph:function(e,t,n){return i.a.createElement("p",{key:e},n)},strong:function(e,t,n){return i.a.createElement("strong",{key:e},n)},subscript:function(e,t,n){return i.a.createElement("sub",{key:e},n)},superscript:function(e,t,n){return i.a.createElement("sup",{key:e},n)},text:function(e,t){return t.value}}}])},89:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=n(12)},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(2)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=(n(3),n(2));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={title:u(u({},Object(o.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{fontWeight:"400",lineHeight:11,marginBottom:0,marginTop:-1,paddingTop:1})};function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=f(f({},c),{},{title:f(f({},c.title),{},{lineHeight:12,letterSpacing:1})});function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>h(h({},Object(a.checkStylesForUnits)(p.title)),{},{color:Object(a.gqlRgbaToHex)(e)||e}),k=e=>{let t=e.color,n=e.title;return i.a.createElement(a.TcText,{style:g(t)},n.toUpperCase())};k.defaultProps={color:"black"},t.default=k}])},9:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return w})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return P})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return C})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return F})),n.d(t,"j",(function(){return T})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return x})),n.d(t,"m",(function(){return d})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return h})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return g})),n.d(t,"r",(function(){return D})),n.d(t,"s",(function(){return R})),n.d(t,"t",(function(){return L})),n.d(t,"u",(function(){return m})),n.d(t,"v",(function(){return b})),n.d(t,"w",(function(){return s})),n.d(t,"x",(function(){return y}));var r=n(16),i=n(13),a=n(5),o=n(92),l=n.n(o);n(213);function u(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return u(a,e.name,e.value,r)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return u(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new i.a(17);e[t.value]=null}}function s(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,a=r.value;return u(n[e.name.value],i,a,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return u(r,n,i,t)}))),d(e.name.value,r,n)}var c=["connection","include","skip","client","rest","export"];function d(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,a={};return r.forEach((function(e){a[e]=i[e]})),n.connection.key+"("+JSON.stringify(a)+")"}return n.connection.key}var o=e;if(t){var u=l()(t);o+="("+u+")"}return n&&Object.keys(n).forEach((function(e){-1===c.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@"+e+"("+JSON.stringify(n[e])+")":o+="@"+e)})),o}function f(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return u(n,r,i,t)})),n}return null}function m(e){return e.alias?e.alias.value:e.name.value}function p(e){return"Field"===e.kind}function v(e){return"InlineFragment"===e.kind}function h(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function y(e,t){return void 0===t&&(t=!1),Object(a.a)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function g(e){return null!=e&&"object"==typeof e&&"json"===e.type}function k(e,t){if(e.directives&&e.directives.length){var n={};return e.directives.forEach((function(e){n[e.name.value]=f(e,t)})),n}return null}function b(e,t){return void 0===t&&(t={}),(n=e.directives,n?n.filter(S).map((function(e){var t=e.arguments;e.name.value,Object(i.b)(t&&1===t.length,14);var n=t[0];Object(i.b)(n.name&&"if"===n.name.value,15);var r=n.value;return Object(i.b)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:e,ifArgument:n}})):[]).every((function(e){var n=e.directive,r=e.ifArgument,a=!1;return"Variable"===r.value.kind?(a=t[r.value.name.value],Object(i.b)(void 0!==a,13)):a=r.value.value,"skip"===n.name.value?!a:a}));var n}function S(e){var t=e.name.value;return"skip"===t||"include"===t}function O(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.a(11);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Object(i.b)(1===r.length,12),n=r[0].name.value),Object(a.a)(Object(a.a)({},e),{definitions:Object(a.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function w(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){null!=t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function N(e){Object(i.b)(e&&"Document"===e.kind,2);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new i.a(3);return e}));return Object(i.b)(t.length<=1,4),e}function T(e){return N(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function j(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function C(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function x(e){var t=T(e);return Object(i.b)(t&&"query"===t.operation,6),t}function F(e){var t;N(e);for(var n=0,r=e.definitions;n<r.length;n++){var a=r[n];if("OperationDefinition"===a.kind){var o=a.operation;if("query"===o||"mutation"===o||"subscription"===o)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw new i.a(10)}function E(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function P(e){if(e&&e.variableDefinitions&&e.variableDefinitions.length){var t=e.variableDefinitions.filter((function(e){return e.defaultValue})).map((function(e){var t=e.variable,n=e.defaultValue,r={};return u(r,t.name,n),r}));return w.apply(void 0,Object(a.f)([{}],t))}return{}}var _={kind:"Field",name:{kind:"Name",value:"__typename"}};function A(e){return Object(r.visit)(N(e),{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return p(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!(p(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return Object(a.a)(Object(a.a)({},e),{selections:Object(a.f)(r,[_])})}}}}})}"function"==typeof WeakMap&&"object"==typeof navigator&&navigator.product,Object.prototype.toString;function I(t){return(void 0!==e?"production":"development")===t}function D(){return!0===I("production")}function R(){return!0===I("test")}var M=Object.prototype.hasOwnProperty;function L(e){var t=e[0]||{},n=e.length;if(n>1){var r=[];t=q(t,r);for(var i=1;i<n;++i)t=B(t,e[i],r)}return t}function V(e){return null!==e&&"object"==typeof e}function B(e,t,n){return V(t)&&V(e)?(Object.isExtensible&&!Object.isExtensible(e)&&(e=q(e,n)),Object.keys(t).forEach((function(r){var i=t[r];if(M.call(e,r)){var a=e[r];i!==a&&(e[r]=B(q(a,n),i,n))}else e[r]=i})),e):t}function q(e,t){return null!==e&&"object"==typeof e&&t.indexOf(e)<0&&(e=Array.isArray(e)?e.slice(0):Object(a.a)({__proto__:Object.getPrototypeOf(e)},e),t.push(e)),e}Object.create({})}).call(this,n(72))},90:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(12)},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(52)},function(e,t){e.exports=n(2)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=(n(5),n(2)),u=n.n(l),s=n(3);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m={container:{alignItems:"flex-start",flexDirection:"row",marginTop:-1,marginBottom:1},iconContainer:{alignSelf:"center",paddingBottom:2},title:d(d({},Object(s.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{flex:-1,fontWeight:"400",letterSpacing:1.2,lineHeight:12,marginLeft:Object(s.spacing)(1),paddingTop:1})};function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=u()(a.TcText).withConfig({displayName:"video-label__VideoLabelText",componentId:"spiidi-0"})(["",";"],Object(a.checkStylesForUnits)(m.title)),y=u()(a.TcView).withConfig({displayName:"video-label__Container",componentId:"spiidi-1"})(["",";"],Object(a.checkStylesForUnits)(m.container)),g=u()(a.TcView).withConfig({displayName:"video-label__IconContainer",componentId:"spiidi-2"})(["",";"],Object(a.checkStylesForUnits)(m.iconContainer)),k=function(e){var t=e.color,n=e.title,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},m.title);return Object.assign(r,{color:t}),i.a.createElement(y,null,i.a.createElement(g,null,i.a.createElement(o.IconVideo,{fillColour:t,height:9})),i.a.createElement(h,{style:r},n?n.toUpperCase():"VIDEO"))};k.defaultProps={color:"black",title:""},t.default=k}])},91:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(2)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(116)},function(e,t){e.exports=n(70)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),a=(n(1),n(2)),o=n.n(a),l=n(3),u=n.n(l),s=n(4),c=n.n(s),d=function(e,t){var n=new Date(Date.UTC(t,e+1,0)),r=n.getDay(),i=n.getDate()-r,a=new Date(Date.UTC(t,e,i));return a.setHours(1),a},f=function(e){var t=d(2,e.getFullYear()),n=d(9,e.getFullYear()),r=e.getTime()>=t.getTime(),i=e.getTime()<n.getTime();return r&&i},m=function(e){var t=new Date(e);return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes())};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n,r=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).state={timezone:""},t.updateTimezone=t.updateTimezone.bind(g(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){this.updateTimezone()}},{key:"updateTimezone",value:function(){var e=this.props.date,t=m(e);"Europe/London"!==function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return""}}()&&this.setState({timezone:f(t)?" BST":" GMT"})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.showDay,r=this.props.date,i=void 0===r?new Date:r,a=this.state.timezone,o=m(i),l=f(o)?60:0,s=c()(o,l);void 0===i&&(i=new Date);var d=n?"EEEE ".concat("MMMM dd yyyy, h.mmaaa"):"MMMM dd yyyy, h.mmaaa";return t("".concat(u()(s,d)).concat(a))}}])&&v(t.prototype,n),i}(r.Component);b.defaultProps={showDay:!0};var S=b,O={SUNDAYTIMES:"The Sunday Times",TIMES:"The Times"};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){var t=e.publication,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["publication"]);return i.a.createElement(S,n,(function(e){return i.a.createElement(r.Fragment,null,i.a.createElement("time",{dateTime:n.date},e,function(e){return e&&O[e]?", ":""}(t)),t?i.a.createElement(C,null,function(e){return e&&O[e]?O[e]:""}(t)):null)}))},C=o.a.span.withConfig({displayName:"date-publication__PublicationName",componentId:"sc-1vdpzkx-0"})(["display:inline-block;"]);j.defaultProps=N(N({},S.defaultProps),{},{publication:null}),t.default=j}])},92:function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},a={key:r,value:e[r]};return n(i,a)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n<t.length;n++)n&&(o+=","),o+=e(t[n])||"null";return o+"]"}if(null===t)return"null";if(-1!==a.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var l=a.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(o="",n=0;n<u.length;n++){var s=u[n],c=e(t[s]);c&&(o&&(o+=","),o+=JSON.stringify(s)+":"+c)}return a.splice(l,1),"{"+o+"}"}}(e)}},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(1),i=n(0),a=n(39),o=n(4);function l(e,t){Object(i.a)(1,arguments);var n=Object(r.a)(e),l=n.getUTCFullYear(),u=t||{},s=u.locale,c=s&&s.options&&s.options.firstWeekContainsDate,d=null==c?1:Object(o.a)(c),f=null==u.firstWeekContainsDate?d:Object(o.a)(u.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(l+1,0,f),m.setUTCHours(0,0,0,0);var p=Object(a.a)(m,t),v=new Date(0);v.setUTCFullYear(l,0,f),v.setUTCHours(0,0,0,0);var h=Object(a.a)(v,t);return n.getTime()>=p.getTime()?l+1:n.getTime()>=h.getTime()?l:l-1}},94:function(e,t,n){"use strict";n.r(t);var r,i=n(5),a=n(7),o=n(8),l=n(26),u=n(303),s=n(15),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.c)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,a=t(e),l=new o.a((function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=a.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach((function(t){return t.next(e)})),t.forEach((function(e){return e.complete()})))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach((function(t){return t.error(e)}))}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}}));this.inFlightRequestObservables.set(r,l)}return this.inFlightRequestObservables.get(r)},t}(l.a),d=n(16);function f(e){return e<7}n.d(t,"ApolloClient",(function(){return N})),n.d(t,"ObservableQuery",(function(){return y})),n.d(t,"NetworkStatus",(function(){return r})),n.d(t,"isApolloError",(function(){return p})),n.d(t,"ApolloError",(function(){return h})),n.d(t,"FetchType",(function(){return v})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t.prototype[u.a]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.a);function p(e){return e.hasOwnProperty("graphQLErrors")}var v,h=function(e){function t(n){var r,i,a=n.graphQLErrors,o=n.networkError,l=n.errorMessage,u=n.extraInfo,s=e.call(this,l)||this;return s.graphQLErrors=a||[],s.networkError=o||null,s.message=l||(r=s,i="",Array.isArray(r.graphQLErrors)&&0!==r.graphQLErrors.length&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";i+="GraphQL error: "+t+"\n"})),r.networkError&&(i+="Network error: "+r.networkError.message+"\n"),i=i.replace(/\n$/,"")),s.extraInfo=u,s.__proto__=t.prototype,s}return Object(i.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(v||(v={}));var y=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,a=void 0===i||i,o=e.call(this,(function(e){return o.onSubscribe(e)}))||this;return o.isTornDown=!1,o.options=r,o.variables=r.variables||{},o.queryId=n.generateQueryId(),o.shouldSubscribe=a,o.queryManager=n,o.observers=[],o.subscriptionHandles=[],o}return Object(i.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r,i={next:function(n){t(n),e.observers.some((function(e){return e!==i}))||e.queryManager.removeQuery(e.queryId),setTimeout((function(){r.unsubscribe()}),0)},error:function(e){n(e)}};r=e.subscribe(i)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new h({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,l=this.queryManager.getCurrentQueryResult(this),u=l.data,s=l.partial,c=!n||n.networkStatus===r.loading,d="network-only"===this.options.fetchPolicy&&c||s&&"cache-only"!==this.options.fetchPolicy,m={data:u,loading:f(o=n?n.networkStatus:d?r.loading:r.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(m.errors=n.graphQLErrors),s||(this.lastResult=Object(i.a)({},m,{stale:!1}),this.lastResultSnapshot=Object(a.d)(this.lastResult)),Object(i.a)({},m,{partial:s})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(a.p)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(a.p)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(a.p)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.a)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,v.refetch).then((function(e){return e}))},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then((function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.a)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,v.normal,n.queryId)})).then((function(r){return n.updateQuery((function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})})),r}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery((function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(a.p)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise((function(e){return e()})):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise((function(e){return e()})):this.queryManager.fetchQuery(this.queryId,Object(i.a)({},this.options,{variables:this.variables})).then((function(e){return e})))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,o=Object(a.y)((function(){return e(n,{variables:r})}));o&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,o),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){g(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter((function(t){return t!==e})),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(g(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(a.d)(t),e.observers.forEach((function(e){return e.next&&e.next(t)}))},error:function(t){e.lastError=t,e.observers.forEach((function(e){return e.error&&e.error(t)}))}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach((function(e){return e.unsubscribe()})),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(m);function g(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var k=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(a.p)(t.document,e.document))throw new s.a;var n,i=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(a.p)(t.variables,e.variables)||(i=!0,o=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var l=[];t&&t.graphQLErrors&&(l=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:l,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter((function(t){return e.indexOf(t)>-1})).reduce((function(e,n){return e[n]=Object(i.a)({},t.store[n],{networkStatus:r.loading}),e}),{})},e}();var S=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(a.s)(t.resolvers,e)})):this.resolvers=Object(a.s)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,a=e.variables,o=e.onlyRunForcedResolvers,l=void 0!==o&&o;return Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,a,this.fragmentMatcher,l).then((function(e){return Object(i.a)({},n,{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(a.o)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(a.u)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.a)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return Object(i.a)({},t,e.exportedVariables)}))]:[2,Object(i.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(d.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return d.BREAK}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(a.c)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,l){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===l&&(l=!1),Object(i.b)(this,void 0,void 0,(function(){var u,s,c,d,f,m,p,v,h;return Object(i.d)(this,(function(y){var g;return u=Object(a.h)(e),s=Object(a.g)(e),c=Object(a.e)(s),d=u.operation,f=d?(g=d).charAt(0).toUpperCase()+g.slice(1):"Query",p=(m=this).cache,v=m.client,h={fragmentMap:c,context:Object(i.a)({},n,{cache:p,client:v}),variables:r,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(u.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,c,d=this;return Object(i.d)(this,(function(f){return r=n.fragmentMap,o=n.context,l=n.variables,u=[t],c=function(e){return Object(i.b)(d,void 0,void 0,(function(){var c,d;return Object(i.d)(this,(function(i){return Object(a.x)(e,l)?Object(a.q)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&u.push(((n={})[Object(a.w)(e)]=t,n))}))]:(Object(a.r)(e)?c=e:(c=r[e.name.value],Object(s.b)(c)),c&&c.typeCondition&&(d=c.typeCondition.name.value,n.fragmentMatcher(t,d,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return Object(a.t)(u)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,s,c,d,f,m,p=this;return Object(i.d)(this,(function(i){return r=n.variables,o=e.name.value,l=Object(a.w)(e),u=o!==l,s=t[l]||t[o],c=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(d=t.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(m=f[u?o:l])&&(c=Promise.resolve(m(t,Object(a.a)(e,r),n.context,{field:e})))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,o=void 0===a?function(){}:a,u=e.ssrMode,s=void 0!==u&&u,d=e.clientAwareness,f=void 0===d?{}:d,m=e.localState;this.mutationStore=new k,this.queryStore=new b,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=l.a.from([new c,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=o,this.clientAwareness=f,this.localState=m||new S({cache:i.getCache()}),this.ssrMode=s}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new Error("QueryManager stopped while query was in flight"))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,o=e.updateQueries,u=e.refetchQueries,c=void 0===u?[]:u,d=e.awaitRefetchQueries,f=void 0!==d&&d,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,g=e.fetchPolicy,k=e.context,b=void 0===k?{}:k;return Object(i.b)(this,void 0,void 0,(function(){var e,u,d,v,k,S=this;return Object(i.d)(this,(function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!g||"no-cache"===g),e=this.generateQueryId(),u=this.dataStore.getCache(),t=u.transformDocument(t),n=Object(a.b)({},Object(a.f)(Object(a.i)(t)),n),this.setQuery(e,(function(){return{document:t}})),d=function(){var e={};return o&&Object.keys(o).forEach((function(t){return(S.queryIdsByName[t]||[]).forEach((function(n){e[n]={updater:o[t],query:S.queryStore.get(n)}}))})),e},Object(a.n)(t)?[4,this.localState.addExportedVariables(t,n,b)]:[3,2];case 1:return k=O.sent(),[3,3];case 2:k=n,O.label=3;case 3:return v=k,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:d(),update:p,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise((function(n,o){var u,s,k=S.buildOperationForLink(t,v,Object(i.a)({},b,{optimisticResponse:r})),O=function(){if(s&&S.mutationStore.markMutationError(e,s),S.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),S.broadcastQueries(),s)return Promise.reject(s);"function"==typeof c&&(c=c(u));for(var t=[],n=0,i=c;n<i.length;n++){var o=i[n];if("string"!=typeof o){var l={query:o.query,variables:o.variables,fetchPolicy:"network-only"};o.context&&(l.context=o.context),t.push(S.query(l))}else{var d=S.refetchQueryByName(o);d&&t.push(d)}}return Promise.all(f?t:[]).then((function(){return S.setQuery(e,(function(){return{document:null}})),"ignore"===y&&u&&Object(a.m)(u)&&delete u.errors,u}))},w=S.localState.clientQuery(k.query),N=S.localState.serverQuery(k.query);N&&(k.query=N);var T=N?Object(l.b)(S.link,k):m.of({data:{}}),j=S,C=!1,x=!1;T.subscribe({next:function(r){return Object(i.b)(S,void 0,void 0,(function(){var l,c,f;return Object(i.d)(this,(function(i){switch(i.label){case 0:return x=!0,Object(a.m)(r)&&"none"===y?(x=!1,s=new h({graphQLErrors:r.errors}),[2]):(j.mutationStore.markMutationResult(e),l=r,c=k.context,f=k.variables,w&&Object(a.o)(["client"],w)?[4,j.localState.runResolvers({document:w,remoteResult:r,context:c,variables:f}).catch((function(e){return x=!1,o(e),r}))]:[3,2]);case 1:l=i.sent(),i.label=2;case 2:return"no-cache"!==g&&j.dataStore.markMutationResult({mutationId:e,result:l,document:t,variables:v||{},updateQueries:d(),update:p}),u=l,x=!1,C&&O().then(n,o),[2]}}))}))},error:function(t){j.mutationStore.markMutationError(e,t),j.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),j.broadcastQueries(),j.setQuery(e,(function(){return{document:null}})),o(new h({networkError:t}))},complete:function(){x||O().then(n,o),C=!0}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return Object(i.b)(this,void 0,void 0,(function(){var o,l,u,s,c,d,f,m,y,g,k,b,S,O,w,N,T,j,C,x,F,E,P=this;return Object(i.d)(this,(function(_){switch(_.label){case 0:return o=t.variables,l=void 0===o?{}:o,u=t.metadata,s=void 0===u?null:u,c=t.fetchPolicy,d=void 0===c?"cache-first":c,f=t.context,m=void 0===f?{}:f,y=this.dataStore.getCache(),g=y.transformDocument(t.query),Object(a.n)(g)?[4,this.localState.addExportedVariables(g,l,m)]:[3,2];case 1:return b=_.sent(),[3,3];case 2:b=l,_.label=3;case 3:if(k=b,S=Object(i.a)({},t,{variables:k}),w="network-only"===d||"no-cache"===d,n!==v.refetch&&"network-only"!==d&&"no-cache"!==d&&(N=this.dataStore.getCache().diff({query:g,variables:k,returnPartialData:!0,optimistic:!1}),T=N.complete,j=N.result,w=!T||"cache-and-network"===d,O=j),C=w&&"cache-only"!==d&&"standby"!==d,Object(a.o)(["live"],g)&&(C=!0),x=this.generateRequestId(),F=this.updateQueryWatch(e,g,S),this.setQuery(e,(function(){return{document:g,lastRequestId:x,invalidated:!0,cancel:F}})),this.invalidate(!0,r),this.queryStore.initQuery({queryId:e,document:g,storePreviousVariables:C,variables:k,isPoll:n===v.poll,isRefetch:n===v.refetch,metadata:s,fetchMoreForQueryId:r}),this.broadcastQueries(),(!C||"cache-and-network"===d)&&(this.queryStore.markQueryResultClient(e,!C),this.invalidate(!0,e,r),this.broadcastQueries(this.localState.shouldForceResolvers(g))),C){if(E=this.fetchRequest({requestId:x,queryId:e,document:g,options:S,fetchMoreForQueryId:r}).catch((function(t){if(p(t))throw t;var n=P.getQuery(e).lastRequestId;throw x>=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new h({networkError:t})})),"cache-and-network"!==d)return[2,E];E.catch((function(){}))}return[2,Promise.resolve({data:O})]}}))}))},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,a=!1;return function(o,l,u){return Object(i.b)(r,void 0,void 0,(function(){var r,s,c,d,m,p,v,y,g,k,b,S,O,w,N,T,j,C,x,F;return Object(i.d)(this,(function(E){switch(E.label){case 0:if(this.invalidate(!1,e),!o)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(s=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(c=r?r.options.errorPolicy:t.errorPolicy,d=r?r.getLastResult():null,m=r?r.getLastError():null,p=!l&&null!=o.previousVariables||"cache-only"===s||"cache-and-network"===s,v=Boolean(d&&o.networkStatus!==d.networkStatus),y=c&&(m&&m.graphQLErrors)!==o.graphQLErrors&&"none"!==c,!(!f(o.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!c||"none"===c)&&o.graphQLErrors&&o.graphQLErrors.length>0||o.networkError){if(g=new h({graphQLErrors:o.graphQLErrors,networkError:o.networkError}),a=!0,n.error)try{n.error(g)}catch(e){setTimeout((function(){throw e}),0)}else setTimeout((function(){throw g}),0);return[2]}E.label=1;case 1:if(E.trys.push([1,7,,8]),k=void 0,b=void 0,l?("no-cache"!==s&&"network-only"!==s&&this.setQuery(e,(function(){return{newData:null}})),k=l.result,b=!l.complete||!1):d&&d.data&&!y?(k=d.data,b=!1):(S=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:S,variables:o.previousVariables||o.variables,optimistic:!0}),k=O.result,b=!O.complete),w=void 0,w=b&&"cache-only"!==s?{data:d&&d.data,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!0}:{data:k,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!1},"all"===c&&o.graphQLErrors&&o.graphQLErrors.length>0&&(w.errors=o.graphQLErrors),!n.next)return[3,6];if(!a&&r&&!r.isDifferentFromLastResult(w))return[3,6];E.label=2;case 2:return E.trys.push([2,5,,6]),u?(N=t.query,T=t.variables,j=t.context,[4,this.localState.runResolvers({document:N,remoteResult:w,context:j,variables:T,onlyRunForcedResolvers:u})]):[3,4];case 3:C=E.sent(),w=Object(i.a)({},w,C),E.label=4;case 4:return n.next(w),[3,6];case 5:return x=E.sent(),setTimeout((function(){throw x}),0),[3,6];case 6:return a=!1,[3,8];case 7:return F=E.sent(),a=!0,n.error&&n.error(new h({networkError:F})),[2];case 8:return[2]}}))}))}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(a.l)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(a.f)(n);e.variables=Object(a.b)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var o=Object(i.a)({},e);return new y({queryManager:this,options:o,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise((function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}));var n=Object(a.l)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(a.l)(n.options.query),o=i.name?i.name.value:null;this.setQuery(e,(function(){return{observableQuery:null}})),o&&(this.queryIdsByName[o]=this.queryIdsByName[o].filter((function(e){return!(n.queryId===e)})))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,o=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(r),s=Object(a.b)({},Object(a.f)(Object(a.j)(r)),e.variables),c=s,d=[],f=this.localState.clientQuery(u);return new m((function(e){if(d.push(e),1===d.length){var r=0,p=!1,v={next:function(e){return Object(i.b)(n,void 0,void 0,(function(){var t;return Object(i.d)(this,(function(n){switch(n.label){case 0:return r+=1,t=e,f&&Object(a.o)(["client"],f)?[4,this.localState.runResolvers({document:f,remoteResult:e,context:{},variables:c})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return o&&(this.dataStore.markSubscriptionResult(t,u,c),this.broadcastQueries()),d.forEach((function(e){Object(a.m)(t)&&e.error?e.error(new h({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1})),0===r&&p&&v.complete(),[2]}}))}))},error:function(e){d.forEach((function(t){t.error&&t.error(e)}))},complete:function(){0===r&&d.forEach((function(e){e.complete&&e.complete()})),p=!0}};Object(i.b)(n,void 0,void 0,(function(){var e,n,r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return Object(a.n)(u)?[4,this.localState.addExportedVariables(u,s)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=s,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(u))?(o=this.buildOperationForLink(r,e),t=Object(l.b)(this.link,o).subscribe(v)):t=m.of({data:{}}).subscribe(v),[2]}}))}))}return function(){0===(d=d.filter((function(t){return t!==e}))).length&&t&&t.unsubscribe()}}))},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,a=n.fetchPolicy,o=e.getLastResult(),l=this.getQuery(e.queryId).newData;if(l&&l.complete)return{data:l.result,partial:!1};if("no-cache"===a||"network-only"===a)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:o?o.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,a=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:a}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach((function(n,r){n.invalidated&&n.listeners&&n.listeners.filter((function(e){return!!e})).forEach((function(i){i(t.queryStore.get(r),n.newData,e)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach((function(r,i){var a=r.observableQuery;if(a){var o=a.options.fetchPolicy;a.resetLastResults(),"cache-only"===o||!e&&"standby"===o||n.push(a.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(!0,i)}})),n},e.prototype.fetchRequest=function(e){var t,n,o=this,u=e.requestId,s=e.queryId,c=e.document,d=e.options,f=e.fetchMoreForQueryId,p=d.variables,v=d.context,y=d.errorPolicy,g=void 0===y?"none":y,k=d.fetchPolicy;return new Promise((function(e,d){var y,b={},S=o.localState.clientQuery(c),O=o.localState.serverQuery(c);if(O){var w=o.buildOperationForLink(O,p,Object(i.a)({},v,{forceFetch:!o.queryDeduplication}));b=w.context,y=Object(l.b)(o.deduplicator,w)}else b=o.prepareContext(v),y=m.of({data:{}});o.fetchQueryRejectFns.set("fetchRequest:"+s,d);var N=!1,T=!0,j={next:function(e){return Object(i.b)(o,void 0,void 0,(function(){var r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return T=!0,r=e,o=this.getQuery(s).lastRequestId,u>=(o||1)?S&&Object(a.o)(["client"],S)?[4,this.localState.runResolvers({document:S,remoteResult:e,context:b,variables:p}).catch((function(t){return T=!1,d(t),e}))]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==k)try{this.dataStore.markQueryResult(r,c,p,f,"ignore"===g||"all"===g)}catch(e){return T=!1,d(e),[2]}else this.setQuery(s,(function(){return{newData:{result:r.data,complete:!0}}}));this.queryStore.markQueryResult(s,r,f),this.invalidate(!0,s,f),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===g)return T=!1,d(new h({graphQLErrors:r.errors})),[2];if("all"===g&&(n=r.errors),f||"no-cache"===k)t=r.data;else try{t=this.dataStore.getCache().read({variables:p,query:c,optimistic:!1})}catch(e){}return T=!1,N&&j.complete(),[2]}}))}))},error:function(e){o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==C}))}})),d(e)},complete:function(){T||(o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==C}))}})),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),N=!0}},C=y.subscribe(j);o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.concat([C])}}))})).catch((function(e){throw o.fetchQueryRejectFns.delete("fetchRequest:"+s),e}))},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map((function(e){return t.getQuery(e).observableQuery})).filter((function(e){return!!e})).map((function(e){return e.refetch()})))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.a)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,(function(){return{invalidated:e}})),n&&this.setQuery(n,(function(){return{invalidated:e}}))},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(a.k)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.a)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(s.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.a)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e<this.nextPoll.time-n))return;clearTimeout(this.nextPoll.timeout)}this.nextPoll={time:n+e,timeout:setTimeout((function(){t.nextPoll=null;var e=1/0;t.pollingInfoByQueryId.forEach((function(n,r){if(n.interval<e&&(e=n.interval),!t.checkInFlight(r)&&Date.now()-n.lastPollTimeMs>=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,v.poll).then(i,i)}})),isFinite(e)&&t.schedulePoll(e)}),e)}},e}(),w=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var o=!Object(a.m)(e);i&&Object(a.m)(e)&&e.data&&(o=!0),!r&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(a.m)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction((function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}}),e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(a.m)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter((function(t){return e.updateQueries[t]})).forEach((function(r){var i=e.updateQueries[r],o=i.query,l=i.updater,u=t.cache.diff({query:o.document,variables:o.variables,returnPartialData:!0,optimistic:!1}),s=u.result;if(u.complete){var c=Object(a.y)((function(){return l(s,{mutationResult:e.result,queryName:Object(a.k)(o.document)||void 0,queryVariables:o.variables})}));c&&n.push({result:c,dataId:"ROOT_QUERY",query:o.document,variables:o.variables})}})),this.cache.performTransaction((function(e){n.forEach((function(t){return e.write(t)}))}));var r=e.update;r&&this.cache.performTransaction((function(t){Object(a.y)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),N=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,o=e.ssrForceFetchDelay,u=void 0===o?0:o,c=e.connectToDevTools,d=e.queryDeduplication,f=void 0===d||d,m=e.defaultOptions,p=e.resolvers,v=e.typeDefs,h=e.fragmentMatcher,y=e.name,g=e.version,k=e.link;if(!k&&p&&(k=l.a.empty()),!k||!n)throw new s.a;var b=new Map,O=new l.a((function(e,t){var n=b.get(e.query);return n||(n=Object(a.v)(e.query),b.set(e.query,n),b.set(n,n)),e.query=n,t(e)}));this.link=O.concat(k),this.cache=n,this.store=new w(n),this.disableNetworkFetches=i||u>0,this.queryDeduplication=f,this.ssrMode=i,this.defaultOptions=m||{},this.typeDefs=v,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==c&&(c&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.5.1",y&&(this.clientAwareness.name=y),g&&(this.clientAwareness.version=g),this.localState=new S({cache:n,client:this,resolvers:p,fragmentMatcher:h})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.a)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.a)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.a)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(l.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)}))},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))})).then((function(){return t?t.clearStore():Promise.resolve(null)}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}();t.default=N}}]);
76
+ */Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,i=void 0,a=void 0,o=void 0,l=void 0;if(t.unstable_now=void 0,t.unstable_forceFrameRate=void 0,"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,c=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(t){throw setTimeout(e,0),t}};t.unstable_now=function(){return Date.now()},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},i=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},o=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,m=window.setTimeout,p=window.clearTimeout,v=window.requestAnimationFrame,h=window.cancelAnimationFrame;"undefined"!=typeof console&&("function"!=typeof v&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),t.unstable_now="object"==typeof d&&"function"==typeof d.now?function(){return d.now()}:function(){return f.now()};var y=!1,g=null,k=-1,b=-1,S=33.33,O=-1,w=-1,N=0,T=!1;o=function(){return t.unstable_now()>=N},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):0<e?(S=Math.floor(1e3/e),T=!0):(S=33.33,T=!1)};var j=function(){if(null!==g){var e=t.unstable_now(),n=0<N-e;try{g(n,e)||(g=null)}catch(e){throw x.postMessage(null),e}}},C=new MessageChannel,x=C.port2;C.port1.onmessage=j;r=function(e){g=e,y||(y=!0,v((function(e){!function e(n){if(null===g)w=O=-1,y=!1;else{y=!0,v((function(t){p(k),e(t)}));if(k=m((function e(){N=t.unstable_now()+S/2,j(),k=m(e,3*S)}),3*S),-1!==O&&.1<n-O){var r=n-O;!T&&-1!==w&&r<S&&w<S&&(8.33>(S=r<w?w:r)&&(S=8.33)),w=r}O=n,N=n+S,x.postMessage(null)}}(e)})))},i=function(e,n){b=m((function(){e(t.unstable_now())}),n)},a=function(){p(b),b=-1}}var F=null,E=null,P=null,_=3,A=!1,I=!1,D=!1;function R(e,t){var n=e.next;if(n===e)F=null;else{e===F&&(F=n);var r=e.previous;r.next=n,n.previous=r}e.next=e.previous=null,n=e.callback,r=_;var i=P;_=e.priorityLevel,P=e;try{var a=e.expirationTime<=t;switch(_){case 1:var o=n(a);break;case 2:case 3:case 4:o=n(a);break;case 5:o=n(a)}}catch(e){throw e}finally{_=r,P=i}if("function"==typeof o)if(t=e.expirationTime,e.callback=o,null===F)F=e.next=e.previous=e;else{o=null,a=F;do{if(t<=a.expirationTime){o=a;break}a=a.next}while(a!==F);null===o?o=F:o===F&&(F=e),(t=o.previous).next=o.previous=e,e.next=o,e.previous=t}}function M(e){if(null!==E&&E.startTime<=e)do{var t=E,n=t.next;if(t===n)E=null;else{E=n;var r=t.previous;r.next=n,n.previous=r}t.next=t.previous=null,q(t,t.expirationTime)}while(null!==E&&E.startTime<=e)}function L(e){D=!1,M(e),I||(null!==F?(I=!0,r(V)):null!==E&&i(L,E.startTime-e))}function V(e,n){I=!1,D&&(D=!1,a()),M(n),A=!0;try{if(e){if(null!==F)do{R(F,n),M(n=t.unstable_now())}while(null!==F&&!o())}else for(;null!==F&&F.expirationTime<=n;)R(F,n),M(n=t.unstable_now());return null!==F||(null!==E&&i(L,E.startTime-n),!1)}finally{A=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}function q(e,t){if(null===F)F=e.next=e.previous=e;else{var n=null,r=F;do{if(t<r.expirationTime){n=r;break}r=r.next}while(r!==F);null===n?n=F:n===F&&(F=e),(t=n.previous).next=n.previous=e,e.next=n,e.previous=t}}var z=l;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},t.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},t.unstable_scheduleCallback=function(e,n,o){var l=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?l+u:l,o="number"==typeof o.timeout?o.timeout:B(e)}else o=B(e),u=l;if(e={callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,next:null,previous:null},u>l){if(o=u,null===E)E=e.next=e.previous=e;else{n=null;var s=E;do{if(o<s.startTime){n=s;break}s=s.next}while(s!==E);null===n?n=E:n===E&&(E=e),(o=n.previous).next=n.previous=e,e.next=n,e.previous=o}null===F&&E===e&&(D?a():D=!0,i(L,u-l))}else q(e,o),I||A||(I=!0,r(V));return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(e===t)e===F?F=null:e===E&&(E=null);else{e===F?F=t:e===E&&(E=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},t.unstable_getCurrentPriorityLevel=function(){return _},t.unstable_shouldYield=function(){var e=t.unstable_now();return M(e),null!==P&&null!==F&&F.startTime<=e&&F.expirationTime<P.expirationTime||o()},t.unstable_requestPaint=z,t.unstable_continueExecution=function(){I||A||(I=!0,r(V))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return F}},585:function(e,t,n){const r=new(n(153).IntrospectionFragmentMatcher)({introspectionQueryResultData:{__schema:{types:[{kind:"INTERFACE",name:"ArticleInterface",description:"This interface will be shared by Article and DraftArticle\nit will allow us to query their common fields in union types",fields:[{name:"backgroundColour",description:null,args:[],type:{kind:"OBJECT",name:"Colour",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"byline",description:null,args:[],type:{kind:"SCALAR",name:"Markup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bylines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"UNION",name:"ArticleByline",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"catchline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"Markup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dropcapsDisabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirableFlags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"OBJECT",name:"ExpirableFlag",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"escenicId",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasVideo",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"headline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"UUID",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"label",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commentsEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commentsPreModerated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commercialTags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"inlineImages",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Image",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"seoDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shortHeadline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shortIdentifier",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"ENUM",name:"SectionName",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commercialSection",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commercialSectionTags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"leadAsset",description:null,args:[],type:{kind:"UNION",name:"Media",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"listingAsset",description:null,args:[],type:{kind:"UNION",name:"Media",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentId",description:null,args:[],type:{kind:"SCALAR",name:"UUID",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publicationName",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"PublicationName",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"publishedTime",description:null,args:[],type:{kind:"SCALAR",name:"DateTime",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedTime",description:null,args:[],type:{kind:"SCALAR",name:"DateTime",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"savingEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sharingEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"slug",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"standfirst",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strapline",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"summary",description:null,args:[{name:"maxCharCount",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null}],type:{kind:"SCALAR",name:"Markup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"textColour",description:null,args:[],type:{kind:"OBJECT",name:"Colour",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"URL",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"template",description:null,args:[],type:{kind:"ENUM",name:"TemplateType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"workDesk",description:null,args:[],type:{kind:"ENUM",name:"WorkDeskName",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Article",ofType:null},{kind:"OBJECT",name:"DraftArticle",ofType:null}]},{kind:"UNION",name:"ArticleByline",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"TextByline",ofType:null},{kind:"OBJECT",name:"AuthorByline",ofType:null}]},{kind:"INTERFACE",name:"Byline",description:null,fields:[{name:"byline",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Markup",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"OBJECT",name:"Image",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"TextByline",ofType:null},{kind:"OBJECT",name:"AuthorByline",ofType:null}]},{kind:"INTERFACE",name:"DraftArticleSlice",description:null,fields:[{name:"items",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"DraftTile",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"DraftStandardSlice",ofType:null},{kind:"OBJECT",name:"DraftLeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"DraftOpinionOneAndTwoSlice",ofType:null}]},{kind:"UNION",name:"DraftTileArticle",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Article",ofType:null},{kind:"OBJECT",name:"DraftArticle",ofType:null}]},{kind:"INTERFACE",name:"Layout",description:"A selection of template types that have opinions over how they should be presented. Usually used within the context of an associated list of articles",fields:[{name:"template",description:null,args:[],type:{kind:"ENUM",name:"Template",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"LeadAndTwo",ofType:null},{kind:"OBJECT",name:"OpinionAndTwo",ofType:null},{kind:"OBJECT",name:"Default",ofType:null}]},{kind:"UNION",name:"Media",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Image",ofType:null},{kind:"OBJECT",name:"Video",ofType:null}]},{kind:"UNION",name:"PuffMainLinkRef",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"ArticleLink",ofType:null},{kind:"OBJECT",name:"Link",ofType:null}]},{kind:"UNION",name:"PuffSecondaryLinkRef",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"ArticleLink",ofType:null},{kind:"OBJECT",name:"Link",ofType:null},{kind:"OBJECT",name:"Anchor",ofType:null}]},{kind:"INTERFACE",name:"Section",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"UUID",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"slug",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Slug",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"colour",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Colour",ofType:null}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSection",ofType:null},{kind:"OBJECT",name:"PuzzleSection",ofType:null},{kind:"OBJECT",name:"MagazineSection",ofType:null},{kind:"OBJECT",name:"FrontPageSection",ofType:null}]},{kind:"INTERFACE",name:"ArticleSlice",description:null,fields:[{name:"items",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tile",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"sections",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"Section",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSlice",ofType:null},{kind:"OBJECT",name:"CommentLeadAndCartoonSlice",ofType:null},{kind:"OBJECT",name:"LetterThundererPodcastSlice",ofType:null},{kind:"OBJECT",name:"CommentTwoAndNotebookSlice",ofType:null},{kind:"OBJECT",name:"FocusSlice",ofType:null},{kind:"OBJECT",name:"LeadersSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementLeadAndFourStackSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthSlice",ofType:null},{kind:"OBJECT",name:"LeadOneNoPicAndOneAndPortraitSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"ObituariesLeadAndTwoSlice",ofType:null},{kind:"OBJECT",name:"OpinionOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndColumnistSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementSecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TwoPicAndSixNoPicSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthFrontSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoNoPicAndTwoSlice",ofType:null}]},{kind:"UNION",name:"StandardSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSlice",ofType:null},{kind:"OBJECT",name:"CommentLeadAndCartoonSlice",ofType:null},{kind:"OBJECT",name:"LetterThundererPodcastSlice",ofType:null},{kind:"OBJECT",name:"CommentTwoAndNotebookSlice",ofType:null},{kind:"OBJECT",name:"FocusSlice",ofType:null},{kind:"OBJECT",name:"LeadersSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementLeadAndFourStackSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthSlice",ofType:null},{kind:"OBJECT",name:"LeadOneNoPicAndOneAndPortraitSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"ObituariesLeadAndTwoSlice",ofType:null},{kind:"OBJECT",name:"OpinionOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndColumnistSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementSecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TwoPicAndSixNoPicSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"TopSecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"PuffSlice",ofType:null},{kind:"OBJECT",name:"DailyUniversalRegister",ofType:null},{kind:"OBJECT",name:"ContainerSlice",ofType:null}]},{kind:"UNION",name:"MagazineSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"StandardSlice",ofType:null},{kind:"OBJECT",name:"CommentLeadAndCartoonSlice",ofType:null},{kind:"OBJECT",name:"LetterThundererPodcastSlice",ofType:null},{kind:"OBJECT",name:"CommentTwoAndNotebookSlice",ofType:null},{kind:"OBJECT",name:"FocusSlice",ofType:null},{kind:"OBJECT",name:"LeadersSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementLeadAndFourStackSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthSlice",ofType:null},{kind:"OBJECT",name:"LeadOneNoPicAndOneAndPortraitSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"ObituariesLeadAndTwoSlice",ofType:null},{kind:"OBJECT",name:"OpinionOneAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndColumnistSlice",ofType:null},{kind:"OBJECT",name:"SecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SupplementSecondaryOneAndFourSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoAndTwoSlice",ofType:null},{kind:"OBJECT",name:"SecondaryTwoNoPicAndTwoSlice",ofType:null},{kind:"OBJECT",name:"TwoPicAndSixNoPicSlice",ofType:null},{kind:"OBJECT",name:"PuffSlice",ofType:null},{kind:"OBJECT",name:"ContainerSlice",ofType:null}]},{kind:"UNION",name:"PuzzleSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"Puzzle",ofType:null},{kind:"OBJECT",name:"PuffSlice",ofType:null}]},{kind:"UNION",name:"FrontPageSectionSlice",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:[{kind:"OBJECT",name:"InTheNewsSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadTwoNoPicAndTwoFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneAndOneFrontSlice",ofType:null},{kind:"OBJECT",name:"LeadOneFullWidthFrontSlice",ofType:null}]}]}}});e.exports.fragmentMatcher=r},586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TealiumSendScheduler",{enumerable:!0,get:function(){return i.default}}),t.default=void 0;var r,i=(r=n(587))&&r.__esModule?r:{default:r};var a=e=>({analytics:t=>e.enqueue(t)});t.default=a},587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t,n){this.queue=[],this.sendEventScheduled=!1,this.w=t,this.d=n,this.scheduleSendEvents=this.scheduleSendEvents.bind(this),this.sendEvents=this.sendEvents.bind(this),r.scriptInjected||(this.injectTealiumScript(e),r.scriptInjected=!0)}disableAutoPageViewTracking(){this.w.utag_cfg_ovrd={noview:!0}}injectTealiumScript(e){const t=e.enabled,n=e.env,i=e.profile,a=e.account;if(!t)return;["env","profile","account"].forEach(t=>{if(!e[t])throw new Error("Tealium option not supplied: ".concat(t))}),this.disableAutoPageViewTracking();const o=this.d.createElement("script");o.defer=!0,o.type="text/javascript",o.onload=()=>{r.scriptLoaded=!0,this.scheduleSendEvents()},this.d.head.appendChild(o),o.src="//tags.tiqcdn.com/utag/".concat(a,"/").concat(i,"/").concat(n,"/utag.js")}enqueue(e){this.queue.push(e),this.scheduleSendEvents()}scheduleSendEvents(){!this.sendEventScheduled&&r.scriptLoaded&&"function"==typeof this.w.tealiumTrack&&(this.sendEventScheduled=!0,void 0!==this.w.requestIdleCallback?this.w.requestIdleCallback(this.sendEvents,{timeout:2e3}):this.w.setTimeout(()=>{if("function"!=typeof this.w.tealiumTrack)return;const e=Date.now();this.sendEvents({timeRemaining:()=>Math.max(0,50-(Date.now()-e))})},0))}sendEvents(e){this.sendEventScheduled=!1;do{if(!this.queue.length)break;const e=this.queue.shift();this.w.utag_data&&this.w.utag_data.experiment_platform&&(e.experiment_platform=this.w.utag_data.experiment_platform,e.experiment_platform_user_id=this.w.utag_data.experiment_platform_user_id,e.experiment_data=this.w.utag_data.experiment_data),this.w.tealiumTrack(e)}while(e.timeRemaining()>0);this.queue.length>0&&this.scheduleSendEvents()}}t.default=r},59:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,r.visit)(e,{leave:a})};var r=n(16),i=n(326);var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return l(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=s("(",l(e.variableDefinitions,", "),")"),i=l(e.directives," "),a=e.selectionSet;return n||i||r||"query"!==t?l([t,l([n,r]),i,a]," "):a},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+s(" = ",r)+s(" ",l(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,a=e.selectionSet;return l([s("",t,": ")+n+s("(",l(r,", "),")"),l(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+s(" ",l(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l(["...",s("on ",t),l(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(s("(",l(r,", "),")")," ")+"on ".concat(n," ").concat(s("",l(i," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?(0,i.printBlockString)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+l(e.values,", ")+"]"},ObjectValue:function(e){return"{"+l(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+s("(",l(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return l(["schema",l(t," "),u(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:o((function(e){return l(["scalar",e.name,l(e.directives," ")]," ")})),ObjectTypeDefinition:o((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l(["type",t,s("implements ",l(n," & ")),l(r," "),u(i)]," ")})),FieldDefinition:o((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(f(n)?s("(\n",c(l(n,"\n")),"\n)"):s("(",l(n,", "),")"))+": "+r+s(" ",l(i," "))})),InputValueDefinition:o((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+": "+n,s("= ",r),l(i," ")]," ")})),InterfaceTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.fields;return l(["interface",t,l(n," "),u(r)]," ")})),UnionTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.types;return l(["union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")})),EnumTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.values;return l(["enum",t,l(n," "),u(r)]," ")})),EnumValueDefinition:o((function(e){return l([e.name,l(e.directives," ")]," ")})),InputObjectTypeDefinition:o((function(e){var t=e.name,n=e.directives,r=e.fields;return l(["input",t,l(n," "),u(r)]," ")})),DirectiveDefinition:o((function(e){var t=e.name,n=e.arguments,r=e.locations;return"directive @"+t+(f(n)?s("(\n",c(l(n,"\n")),"\n)"):s("(",l(n,", "),")"))+" on "+l(r," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l(["extend schema",l(t," "),u(n)]," ")},ScalarTypeExtension:function(e){return l(["extend scalar",e.name,l(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l(["extend type",t,s("implements ",l(n," & ")),l(r," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l(["extend interface",t,l(n," "),u(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l(["extend union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l(["extend enum",t,l(n," "),u(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l(["extend input",t,l(n," "),u(r)]," ")}};function o(e){return function(t){return l([t.description,e(t)],"\n")}}function l(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function u(e){return e&&0!==e.length?"{\n"+c(l(e,"\n"))+"\n}":""}function s(e,t,n){return t?e+t+(n||""):""}function c(e){return e&&" "+e.replace(/\n/g,"\n ")}function d(e){return-1!==e.indexOf("\n")}function f(e){return e&&e.some(d)}},595:function(e,t,n){"use strict";n.r(t);var r,i=n(8),a=n(9),o=n(59),l=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return l(t,e),t}(Error);function c(e){return e.request.length<=1}function d(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t?console.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,n(e))},error:r})}))}var f=d;function m(e){return new i.a((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}function p(e){return new i.a((function(t){t.error(e)}))}function v(e,t){var n=u({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=u({},n,"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return u({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){return Object(o.print)(e.query)+"|"+JSON.stringify(e.variables)+"|"+e.operationName}(t)}}),t}var h=function(e,t){return t?t(e):i.a.of()},y=function(e){return"function"==typeof e?new O(e):e},g=function(){return new O((function(e,t){return i.a.of()}))},k=function(e){return 0===e.length?g():e.map(y).reduce((function(e,t){return e.concat(t)}))},b=function(e,t,n){void 0===n&&(n=new O(h));var r=y(t),a=y(n);return c(r)&&c(a)?new O((function(t){return e(t)?r.request(t)||i.a.of():a.request(t)||i.a.of()})):new O((function(t,n){return e(t)?r.request(t,n)||i.a.of():a.request(t,n)||i.a.of()}))},S=function(e,t){var n=y(e);if(c(n))return console.warn(new s("You are calling concat on a terminating link, which will have no effect",n)),n;var r=y(t);return c(r)?new O((function(e){return n.request(e,(function(e){return r.request(e)||i.a.of()}))||i.a.of()})):new O((function(e,t){return n.request(e,(function(e){return r.request(e,t)||i.a.of()}))||i.a.of()}))},O=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return void 0===r&&(r=new e(h)),this.concat(b(t,n,r))},e.prototype.concat=function(e){return S(this,e)},e.prototype.request=function(e,t){throw new Error("request is not implemented")},e.empty=g,e.from=k,e.split=b,e.execute=w,e}();function w(e,t){return e.request(v(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Object(a.k)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw new Error("illegal argument: "+i)}return e}(t))))||i.a.of()}n.d(t,"empty",(function(){return g})),n.d(t,"from",(function(){return k})),n.d(t,"split",(function(){return b})),n.d(t,"concat",(function(){return S})),n.d(t,"ApolloLink",(function(){return O})),n.d(t,"execute",(function(){return w})),n.d(t,"createOperation",(function(){return v})),n.d(t,"makePromise",(function(){return f})),n.d(t,"toPromise",(function(){return d})),n.d(t,"fromPromise",(function(){return m})),n.d(t,"fromError",(function(){return p})),n.d(t,"Observable",(function(){return i.a}))},596:function(e,t,n){"use strict";n.r(t);var r,i=n(8),a=n(9),o=n(59),l=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return l(t,e),t}(Error);function c(e){return e.request.length<=1}function d(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t?console.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,n(e))},error:r})}))}var f=d;function m(e){return new i.a((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}function p(e){return new i.a((function(t){t.error(e)}))}function v(e,t){var n=u({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=u({},n,"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return u({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){return Object(o.print)(e.query)+"|"+JSON.stringify(e.variables)+"|"+e.operationName}(t)}}),t}var h=function(e,t){return t?t(e):i.a.of()},y=function(e){return"function"==typeof e?new O(e):e},g=function(){return new O((function(e,t){return i.a.of()}))},k=function(e){return 0===e.length?g():e.map(y).reduce((function(e,t){return e.concat(t)}))},b=function(e,t,n){void 0===n&&(n=new O(h));var r=y(t),a=y(n);return c(r)&&c(a)?new O((function(t){return e(t)?r.request(t)||i.a.of():a.request(t)||i.a.of()})):new O((function(t,n){return e(t)?r.request(t,n)||i.a.of():a.request(t,n)||i.a.of()}))},S=function(e,t){var n=y(e);if(c(n))return console.warn(new s("You are calling concat on a terminating link, which will have no effect",n)),n;var r=y(t);return c(r)?new O((function(e){return n.request(e,(function(e){return r.request(e)||i.a.of()}))||i.a.of()})):new O((function(e,t){return n.request(e,(function(e){return r.request(e,t)||i.a.of()}))||i.a.of()}))},O=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return void 0===r&&(r=new e(h)),this.concat(b(t,n,r))},e.prototype.concat=function(e){return S(this,e)},e.prototype.request=function(e,t){throw new Error("request is not implemented")},e.empty=g,e.from=k,e.split=b,e.execute=w,e}();function w(e,t){return e.request(v(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Object(a.k)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw new Error("illegal argument: "+i)}return e}(t))))||i.a.of()}n.d(t,"empty",(function(){return g})),n.d(t,"from",(function(){return k})),n.d(t,"split",(function(){return b})),n.d(t,"concat",(function(){return S})),n.d(t,"ApolloLink",(function(){return O})),n.d(t,"execute",(function(){return w})),n.d(t,"createOperation",(function(){return v})),n.d(t,"makePromise",(function(){return f})),n.d(t,"toPromise",(function(){return d})),n.d(t,"fromPromise",(function(){return m})),n.d(t,"fromError",(function(){return p})),n.d(t,"Observable",(function(){return i.a}))},6:function(e,t,n){"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}n.d(t,"a",(function(){return r}))},60:function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"renderTree",(function(){return i})),n.d(t,"renderTreeAsText",(function(){return a})),n.d(t,"renderTreeArrayAsText",(function(){return o}));var r=function(e){return function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=n.name,o=n.attributes,l=n.children,u=e[a]||e.unknown;if(!u)return null;var s=l.map((function(e,n){return t(e,"".concat(r,".").concat(n),n)})),c=u.call(e,r,o,s,i,n);return c}},i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return r(t)(e,n,i)},a=function e(t){var n=t.attributes,r=(n=void 0===n?{}:n).value,i=t.children,a=t.name,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";return"text"===a&&r||(i?i.map((function(t,n){return e(t,"".concat(o,".").concat(n))})).join(""):"")},o=function(e){return e.map((function(e){return a(e)})).join("")};t.default=function(e,t){return e.map((function(e,n){return i(e,t,"".concat(n),n)}))}}])},7:function(e,t,n){"use strict";(function(e){n.d(t,"x",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"n",(function(){return m})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return y})),n.d(t,"k",(function(){return g})),n.d(t,"g",(function(){return k})),n.d(t,"l",(function(){return b})),n.d(t,"h",(function(){return S})),n.d(t,"e",(function(){return O})),n.d(t,"f",(function(){return w})),n.d(t,"v",(function(){return F})),n.d(t,"c",(function(){return E})),n.d(t,"u",(function(){return P})),n.d(t,"a",(function(){return l})),n.d(t,"w",(function(){return u})),n.d(t,"q",(function(){return s})),n.d(t,"r",(function(){return c})),n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return A})),n.d(t,"y",(function(){return I})),n.d(t,"m",(function(){return D})),n.d(t,"p",(function(){return R})),n.d(t,"s",(function(){return L})),n.d(t,"t",(function(){return V}));var r=n(16),i=n(15),a=n(5);n(92);function o(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return o(a,e.name,e.value,r)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var l=(r||{})[n.name.value];e[t.value]=l}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return o(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new i.a;e[t.value]=null}}function l(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return o(n,r,i,t)})),n}return null}function u(e){return e.alias?e.alias.value:e.name.value}function s(e){return"Field"===e.kind}function c(e){return"InlineFragment"===e.kind}function d(e,t){if(void 0===t&&(t={}),!e.directives)return!0;var n=!0;return e.directives.forEach((function(e){if("skip"===e.name.value||"include"===e.name.value){var r=e.arguments||[],a=e.name.value;Object(i.b)(1===r.length);var o=r[0];Object(i.b)(o.name&&"if"===o.name.value);var l=r[0].value,u=!1;l&&"BooleanValue"===l.kind?u=l.value:(Object(i.b)("Variable"===l.kind),u=t[l.name.value],Object(i.b)(void 0!==u)),"skip"===a&&(u=!u),u||(n=!1)}})),n}function f(e,t){return function(e){var t=[];return Object(r.visit)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function m(e){return e&&f(["client"],e)&&f(["export"],e)}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){null!=t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function v(e){h(e);var t=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))[0];return Object(i.b)(t),t}function h(e){Object(i.b)(e&&"Document"===e.kind);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new i.a;return e}));return Object(i.b)(t.length<=1),e}function y(e){return h(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function g(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function k(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function b(e){var t=y(e);return Object(i.b)(t&&"query"===t.operation),t}function S(e){var t;h(e);for(var n=0,r=e.definitions;n<r.length;n++){var a=r[n];if("OperationDefinition"===a.kind){var o=a.operation;if("query"===o||"mutation"===o||"subscription"===o)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw new i.a}function O(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function w(e){if(e&&e.variableDefinitions&&e.variableDefinitions.length){var t=e.variableDefinitions.filter((function(e){return e.defaultValue})).map((function(e){var t=e.variable,n=e.defaultValue,r={};return o(r,t.name,n),r}));return p.apply(void 0,[{}].concat(t))}return{}}function N(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}function T(e){return function e(t,n){return t.selectionSet.selections.every((function(t){return"FragmentSpread"===t.kind&&e(n[t.name.value],n)}))}(y(e)||function(e){Object(i.b)("Document"===e.kind),Object(i.b)(e.definitions.length<=1);var t=e.definitions[0];return Object(i.b)("FragmentDefinition"===t.kind),t}(e),O(k(e)))?null:e}function j(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function C(e,t){var n=Object.create(null),i=[],o=Object.create(null),l=[],u=T(Object(r.visit)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(j(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),t.selectionSet&&function e(t){var n=[];return t.selections.forEach((function(t){"Field"!==t.kind&&"InlineFragment"!==t.kind||!t.selectionSet?"FragmentSpread"===t.kind&&n.push(t):e(t.selectionSet).forEach((function(e){return n.push(e)}))})),n}(t.selectionSet).forEach((function(e){l.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){o[e.name.value]=!0}},Directive:{enter:function(t){if(j(e)(t))return null}}}));return u&&N(i,(function(e){return!n[e.name]})).length&&(u=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return T(Object(r.visit)(t,{OperationDefinition:{enter:function(t){return Object(a.a)({},t,{variableDefinitions:t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))}))})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(i,u)),u&&N(l,(function(e){return!o[e.name]})).length&&(u=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return T(Object(r.visit)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(l,u)),u}var x={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||console.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function F(e){return C([x],h(e))}function E(e){return"query"===S(e).operation?e:Object(r.visit)(e,{OperationDefinition:{enter:function(e){return Object(a.a)({},e,{operation:"query"})}}})}function P(e){h(e);var t=C([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=Object(r.visit)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return"Field"===e.kind&&"__typename"===e.name.value})))return null}}})),t}var _=Object.prototype.toString;function A(e){return function e(t,n){switch(_.call(t)){case"[object Array]":if(n.has(t))return n.get(t);var r=t.slice(0);return n.set(t,r),r.forEach((function(t,i){r[i]=e(t,n)})),r;case"[object Object]":if(n.has(t))return n.get(t);var i=Object.create(Object.getPrototypeOf(t));return n.set(t,i),Object.keys(t).forEach((function(r){i[r]=e(t[r],n)})),i;default:return t}}(e,new Map)}function I(e){try{return e()}catch(e){console.error&&console.error(e)}}function D(e){return e.errors&&e.errors.length}function R(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(null!=e&&"object"==typeof e&&null!=t&&"object"==typeof t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!R(e[n],t[n]))return!1}for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&!Object.prototype.hasOwnProperty.call(e,n))return!1;return!0}return!1}var M=Object.prototype.hasOwnProperty;function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return V(e)}function V(e){var t=e[0]||{},n=e.length;if(n>1){var r=[];t=z(t,r);for(var i=1;i<n;++i)t=q(t,e[i],r)}return t}function B(e){return null!==e&&"object"==typeof e}function q(e,t,n){return B(t)&&B(e)?(Object.isExtensible&&!Object.isExtensible(e)&&(e=z(e,n)),Object.keys(t).forEach((function(r){var i=t[r];if(M.call(e,r)){var a=e[r];i!==a&&(e[r]=q(z(a,n),i,n))}else e[r]=i})),e):t}function z(e,t){return null!==e&&"object"==typeof e&&t.indexOf(e)<0&&(e=Array.isArray(e)?e.slice(0):Object(a.a)({__proto__:Object.getPrototypeOf(e)},e),t.push(e)),e}Object.create({})}).call(this,n(72))},70:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(4),i=n(44),a=n(0);function o(e,t){Object(a.a)(2,arguments);var n=Object(r.a)(t);return Object(i.a)(e,6e4*n)}},71:function(e,t,n){"use strict";n.r(t),n.d(t,"ApolloConsumer",(function(){return m})),n.d(t,"ApolloContext",(function(){return f})),n.d(t,"ApolloProvider",(function(){return v})),n.d(t,"Mutation",(function(){return T})),n.d(t,"Query",(function(){return w})),n.d(t,"RenderPromises",(function(){return M})),n.d(t,"Subscription",(function(){return j})),n.d(t,"compose",(function(){return q})),n.d(t,"getDataFromTree",(function(){return L})),n.d(t,"getMarkupFromTree",(function(){return V})),n.d(t,"graphql",(function(){return D})),n.d(t,"renderToStringWithData",(function(){return B})),n.d(t,"withApollo",(function(){return R})),n.d(t,"withMutation",(function(){return A})),n.d(t,"withQuery",(function(){return _})),n.d(t,"withSubscription",(function(){return I}));var r=n(3),i=n(2),a=n(13),o=n(5),l=n(94),u=n(209),s=n.n(u),c=n(58),d=n.n(c),f=r.createContext?Object(r.createContext)(void 0):null,m=function(e,t){function n(t){if(!t||!t.client)throw new a.a;return e.children(t.client)}return f?Object(r.createElement)(f.Consumer,null,n):n(t)};m.contextTypes={client:i.object.isRequired},m.propTypes={children:i.func.isRequired};var p,v=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.operations=new Map,Object(a.b)(t.client),t.client.__operations_cache__||(t.client.__operations_cache__=r.operations),r}return Object(o.c)(t,e),t.prototype.getChildContext=function(){return{client:this.props.client,operations:this.props.client.__operations_cache__}},t.prototype.render=function(){return f?Object(r.createElement)(f.Provider,{value:this.getChildContext()},this.props.children):this.props.children},t.propTypes={client:i.object.isRequired,children:i.node.isRequired},t.childContextTypes={client:i.object.isRequired,operations:i.object},t}(r.Component);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(p||(p={}));var h=new Map;function y(e){var t,n,r=h.get(e);if(r)return r;Object(a.b)(!!e&&!!e.kind);var i=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),o=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));Object(a.b)(!i.length||o.length||l.length||u.length),Object(a.b)(o.length+l.length+u.length<=1),n=o.length?p.Query:p.Mutation,o.length||l.length||(n=p.Subscription);var s=o.length?o:l.length?l:u;Object(a.b)(1===s.length);var c=s[0];t=c.variableDefinitions||[];var d={name:c.name&&"Name"===c.name.kind?c.name.value:"data",type:n,variables:t};return h.set(e,d),d}function g(e,t){var n=e.client||t.client;return Object(a.b)(!!n),n}var k=Object.prototype.hasOwnProperty;function b(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e){return null!==e&&"object"==typeof e}function O(e,t){if(b(e,t))return!0;if(!S(e)||!S(t))return!1;var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return k.call(t,n)&&b(e[n],t[n])}))}var w=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.previousData={},r.hasMounted=!1,r.lastResult=null,r.startQuerySubscription=function(e){if(void 0===e&&(e=!1),e||(r.lastResult=r.queryObservable.getLastResult()),!r.querySubscription){var t=r.getQueryResult();r.querySubscription=r.queryObservable.subscribe({next:function(e){var n=e.loading,i=e.networkStatus,a=e.data;t&&7===t.networkStatus&&O(t.data,a)?t=void 0:r.lastResult&&r.lastResult.loading===n&&r.lastResult.networkStatus===i&&O(r.lastResult.data,a)||(t=void 0,r.lastResult&&(r.lastResult=r.queryObservable.getLastResult()),r.updateCurrentData())},error:function(e){if(r.lastResult||r.resubscribeToQuery(),!e.hasOwnProperty("graphQLErrors"))throw e;r.updateCurrentData()}})}},r.removeQuerySubscription=function(){r.querySubscription&&(r.lastResult=r.queryObservable.getLastResult(),r.querySubscription.unsubscribe(),delete r.querySubscription)},r.updateCurrentData=function(){r.handleErrorOrCompleted(),r.hasMounted&&r.forceUpdate()},r.handleErrorOrCompleted=function(){var e=r.queryObservable.currentResult(),t=e.data,n=e.loading,i=e.error,a=r.props,o=a.onCompleted,l=a.onError;!o||n||i?l&&!n&&i&&l(i):o(t)},r.getQueryResult=function(){var e,t={data:Object.create(null)};if(Object.assign(t,{variables:(e=r.queryObservable).variables,refetch:e.refetch.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}),r.props.skip)t=Object(o.a)({},t,{data:void 0,error:void 0,loading:!1});else{var n=r.queryObservable.currentResult(),i=n.loading,a=n.partial,u=n.networkStatus,s=n.errors,c=n.error;s&&s.length>0&&(c=new l.ApolloError({graphQLErrors:s}));var d=r.queryObservable.options.fetchPolicy;if(Object.assign(t,{loading:i,networkStatus:u,error:c}),i)Object.assign(t.data,r.previousData,n.data);else if(c)Object.assign(t,{data:(r.queryObservable.getLastResult()||{}).data});else if("no-cache"===d&&0===Object.keys(n.data).length)t.data=r.previousData;else{if(r.props.partialRefetch&&0===Object.keys(n.data).length&&a&&"cache-only"!==d)return Object.assign(t,{loading:!0,networkStatus:l.NetworkStatus.loading}),t.refetch(),t;Object.assign(t.data,n.data),r.previousData=n.data}}if(!r.querySubscription){var f=t.refetch;t.refetch=function(e){return r.querySubscription?f(e):new Promise((function(t,n){r.refetcherQueue={resolve:t,reject:n,args:e}}))}}return t.client=r.client,t},r.client=g(t,n),r.initializeQueryObservable(t),r}return Object(o.c)(t,e),t.prototype.fetchData=function(){if(this.props.skip)return!1;var e=this.props,t=(e.children,e.ssr),n=(e.displayName,e.skip,e.client,e.onCompleted,e.onError,e.partialRefetch,Object(o.e)(e,["children","ssr","displayName","skip","client","onCompleted","onError","partialRefetch"])),r=n.fetchPolicy;if(!1===t)return!1;"network-only"!==r&&"cache-and-network"!==r||(r="cache-first");var i=this.client.watchQuery(Object(o.a)({},n,{fetchPolicy:r}));return this.context&&this.context.renderPromises&&this.context.renderPromises.registerSSRObservable(this,i),!!this.queryObservable.currentResult().loading&&i.result()},t.prototype.componentDidMount=function(){if(this.hasMounted=!0,!this.props.skip&&(this.startQuerySubscription(!0),this.refetcherQueue)){var e=this.refetcherQueue,t=e.args,n=e.resolve,r=e.reject;this.queryObservable.refetch(t).then(n).catch(r)}},t.prototype.componentWillReceiveProps=function(e,t){if(!e.skip||this.props.skip){var n=g(e,t);O(this.props,e)&&this.client===n||(this.client!==n&&(this.client=n,this.removeQuerySubscription(),this.queryObservable=null,this.previousData={},this.updateQuery(e)),this.props.query!==e.query&&this.removeQuerySubscription(),this.updateQuery(e),e.skip||this.startQuerySubscription())}else this.removeQuerySubscription()},t.prototype.componentWillUnmount=function(){this.removeQuerySubscription(),this.hasMounted=!1},t.prototype.componentDidUpdate=function(e){(!s()(e.query,this.props.query)||!s()(e.variables,this.props.variables))&&this.handleErrorOrCompleted()},t.prototype.render=function(){var e=this,t=this.context,n=function(){return e.props.children(e.getQueryResult())};return t&&t.renderPromises?t.renderPromises.addQueryPromise(this,n):n()},t.prototype.extractOptsFromProps=function(e){this.operation=y(e.query),Object(a.b)(this.operation.type===p.Query);var t=e.displayName||"Query";return Object(o.a)({},e,{displayName:t,context:e.context||{},metadata:{reactComponent:{displayName:t}}})},t.prototype.initializeQueryObservable=function(e){var t=this.extractOptsFromProps(e);this.setOperations(t),this.context&&this.context.renderPromises&&(this.queryObservable=this.context.renderPromises.getSSRObservable(this)),this.queryObservable||(this.queryObservable=this.client.watchQuery(t))},t.prototype.setOperations=function(e){this.context.operations&&this.context.operations.set(this.operation.name,{query:e.query,variables:e.variables})},t.prototype.updateQuery=function(e){this.queryObservable?this.setOperations(e):this.initializeQueryObservable(e),this.queryObservable.setOptions(this.extractOptsFromProps(e)).catch((function(){return null}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.queryObservable.getLastError(),t=this.queryObservable.getLastResult();this.queryObservable.resetLastResults(),this.startQuerySubscription(),Object.assign(this.queryObservable,{lastError:e,lastResult:t})},t.contextTypes={client:i.object,operations:i.object,renderPromises:i.object},t.propTypes={client:i.object,children:i.func.isRequired,fetchPolicy:i.string,notifyOnNetworkStatusChange:i.bool,onCompleted:i.func,onError:i.func,pollInterval:i.number,query:i.object.isRequired,variables:i.object,ssr:i.bool,partialRefetch:i.bool},t}(r.Component),N={loading:!1,called:!1,error:void 0,data:void 0},T=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.hasMounted=!1,r.runMutation=function(e){void 0===e&&(e={}),r.onMutationStart();var t=r.generateNewMutationId();return r.mutate(e).then((function(e){return r.onMutationCompleted(e,t),e})).catch((function(e){if(r.onMutationError(e,t),!r.props.onError)throw e}))},r.mutate=function(e){var t=r.props,n=t.mutation,i=t.variables,a=t.optimisticResponse,l=t.update,u=t.context,s=void 0===u?{}:u,c=t.awaitRefetchQueries,d=void 0!==c&&c,f=t.fetchPolicy,m=Object(o.a)({},e),p=m.refetchQueries||r.props.refetchQueries;p&&p.length&&Array.isArray(p)&&(p=p.map((function(e){return"string"==typeof e&&r.context.operations&&r.context.operations.get(e)||e})),delete m.refetchQueries);var v=Object.assign({},i,m.variables);return delete m.variables,r.client.mutate(Object(o.a)({mutation:n,optimisticResponse:a,refetchQueries:p,awaitRefetchQueries:d,update:l,context:s,fetchPolicy:f,variables:v},m))},r.onMutationStart=function(){r.state.loading||r.props.ignoreResults||r.setState({loading:!0,error:void 0,data:void 0,called:!0})},r.onMutationCompleted=function(e,t){var n=r.props,i=n.onCompleted,a=n.ignoreResults,o=e.data,u=e.errors,s=u&&u.length>0?new l.ApolloError({graphQLErrors:u}):void 0,c=function(){return i?i(o):null};r.hasMounted&&r.isMostRecentMutation(t)&&!a?r.setState({loading:!1,data:o,error:s},c):c()},r.onMutationError=function(e,t){var n=r.props.onError,i=function(){return n?n(e):null};r.hasMounted&&r.isMostRecentMutation(t)?r.setState({loading:!1,error:e},i):i()},r.generateNewMutationId=function(){return r.mostRecentMutationId=r.mostRecentMutationId+1,r.mostRecentMutationId},r.isMostRecentMutation=function(e){return r.mostRecentMutationId===e},r.verifyDocumentIsMutation=function(e){var t=y(e);Object(a.b)(t.type===p.Mutation)},r.client=g(t,n),r.verifyDocumentIsMutation(t.mutation),r.mostRecentMutationId=0,r.state=N,r}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){this.hasMounted=!0},t.prototype.componentWillUnmount=function(){this.hasMounted=!1},t.prototype.componentWillReceiveProps=function(e,t){var n=g(e,t);O(this.props,e)&&this.client===n||(this.props.mutation!==e.mutation&&this.verifyDocumentIsMutation(e.mutation),this.client!==n&&(this.client=n,this.setState(N)))},t.prototype.render=function(){var e=this.props.children,t=this.state,n=t.loading,r=t.data,i=t.error,a={called:t.called,loading:n,data:r,error:i,client:this.client};return e(this.runMutation,a)},t.contextTypes={client:i.object,operations:i.object},t.propTypes={mutation:i.object.isRequired,variables:i.object,optimisticResponse:i.object,refetchQueries:Object(i.oneOfType)([Object(i.arrayOf)(Object(i.oneOfType)([i.string,i.object])),i.func]),awaitRefetchQueries:i.bool,update:i.func,children:i.func.isRequired,onCompleted:i.func,onError:i.func,fetchPolicy:i.string},t}(r.Component),j=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialize=function(e){r.queryObservable||(r.queryObservable=r.client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy}))},r.startSubscription=function(){r.querySubscription||(r.querySubscription=r.queryObservable.subscribe({next:r.updateCurrentData,error:r.updateError,complete:r.completeSubscription}))},r.getInitialState=function(){return{loading:!0,error:void 0,data:void 0}},r.updateCurrentData=function(e){var t=r,n=t.client,i=t.props.onSubscriptionData;i&&i({client:n,subscriptionData:e}),r.setState({data:e.data,loading:!1,error:void 0})},r.updateError=function(e){r.setState({error:e,loading:!1})},r.completeSubscription=function(){var e=r.props.onSubscriptionComplete;e&&e(),r.endSubscription()},r.endSubscription=function(){r.querySubscription&&(r.querySubscription.unsubscribe(),delete r.querySubscription)},r.client=g(t,n),r.initialize(t),r.state=r.getInitialState(),r}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){this.startSubscription()},t.prototype.componentWillReceiveProps=function(e,t){var n=g(e,t);if(!O(this.props.variables,e.variables)||this.client!==n||this.props.subscription!==e.subscription){var r=e.shouldResubscribe;"function"==typeof r&&(r=!!r(this.props,e));var i=!1===r;if(this.client!==n&&(this.client=n),!i)return this.endSubscription(),delete this.queryObservable,this.initialize(e),this.startSubscription(),void this.setState(this.getInitialState());this.initialize(e),this.startSubscription()}},t.prototype.componentWillUnmount=function(){this.endSubscription()},t.prototype.render=function(){var e=this.props.children;return e?e(Object.assign({},this.state,{variables:this.props.variables})):null},t.contextTypes={client:i.object},t.propTypes={subscription:i.object.isRequired,variables:i.object,children:i.func,onSubscriptionData:i.func,onSubscriptionComplete:i.func,shouldResubscribe:Object(i.oneOfType)([i.func,i.bool])},t}(r.Component),C=function(){return{}},x=function(){return!1};function F(e){return e.displayName||e.name||"Component"}function E(e,t){for(var n={},r=0,i=e.variables;r<i.length;r++){var a=i[r],o=a.variable,l=a.type;if(o.name&&o.name.value){var u=o.name.value,s=t[u];void 0===s?"NonNullType"!==l.kind&&(n[u]=null):n[u]=s}}return n}var P=function(e){function t(t){var n=e.call(this,t)||this;return n.withRef=!1,n.setWrappedInstance=n.setWrappedInstance.bind(n),n}return Object(o.c)(t,e),t.prototype.getWrappedInstance=function(){return Object(a.b)(this.withRef),this.wrappedInstance},t.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},t}(r.Component);function _(e,t){void 0===t&&(t={});var n=y(e),i=t.options,a=void 0===i?C:i,l=t.skip,u=void 0===l?x:l,s=t.alias,c=void 0===s?"Apollo":s,f=a;"function"!=typeof f&&(f=function(){return a});var m,p=u;return"function"!=typeof p&&(p=function(){return u}),function(i){var a=c+"("+F(i)+")",l=function(l){function u(){return null!==l&&l.apply(this,arguments)||this}return Object(o.c)(u,l),u.prototype.render=function(){var l=this,u=this.props,s=p(u),c=s?Object.create(null):Object(o.a)({},f(u));return!s&&!c.variables&&n.variables.length>0&&(c.variables=E(n,u)),Object(r.createElement)(w,Object(o.a)({},c,{displayName:a,skip:s,query:e,warnUnhandledError:!0}),(function(e){e.client;var n,a,c=e.data,d=Object(o.e)(e,["client","data"]);if(t.withRef&&(l.withRef=!0,u=Object.assign({},u,{ref:l.setWrappedInstance})),s)return Object(r.createElement)(i,Object(o.a)({},u,{}));var f=Object.assign(d,c||{}),p=t.name||"data",v=((n={})[p]=f,n);if(t.props){var h=((a={})[p]=f,a.ownProps=u,a);v=m=t.props(h,m)}return Object(r.createElement)(i,Object(o.a)({},u,v))}))},u.displayName=a,u.WrappedComponent=i,u}(P);return d()(l,i,{})}}function A(e,t){void 0===t&&(t={});var n=y(e),i=t.options,a=void 0===i?C:i,l=t.alias,u=void 0===l?"Apollo":l,s=a;return"function"!=typeof s&&(s=function(){return a}),function(i){var a=u+"("+F(i)+")",l=function(l){function u(){return null!==l&&l.apply(this,arguments)||this}return Object(o.c)(u,l),u.prototype.render=function(){var a=this.props,l=s(a);return t.withRef&&(this.withRef=!0,a=Object.assign({},a,{ref:this.setWrappedInstance})),!l.variables&&n.variables.length>0&&(l.variables=E(n,a)),Object(r.createElement)(T,Object(o.a)({},l,{mutation:e,ignoreResults:!0}),(function(e,n){var l,u,s=t.name||"mutate",c=((l={})[s]=e,l);if(t.props){var d=((u={})[s]=e,u.ownProps=a,u);c=t.props(d)}return Object(r.createElement)(i,Object(o.a)({},a,c))}))},u.displayName=a,u.WrappedComponent=i,u}(P);return d()(l,i,{})}}function I(e,t){void 0===t&&(t={});var n=y(e),i=t.options,a=void 0===i?C:i,l=t.skip,u=void 0===l?x:l,s=t.alias,c=void 0===s?"Apollo":s,f=t.shouldResubscribe,m=a;"function"!=typeof m&&(m=function(){return a});var p,v=u;return"function"!=typeof v&&(v=function(){return u}),function(i){var a=c+"("+F(i)+")",l=function(l){function u(e){var t=l.call(this,e)||this;return t.state={resubscribe:!1},t}return Object(o.c)(u,l),u.prototype.componentWillReceiveProps=function(e){f&&this.setState({resubscribe:f(this.props,e)})},u.prototype.render=function(){var l=this,u=this.props,s=v(u),c=s?Object.create(null):m(u);return!s&&!c.variables&&n.variables.length>0&&(c.variables=E(n,u)),Object(r.createElement)(j,Object(o.a)({},c,{displayName:a,skip:s,subscription:e,shouldResubscribe:this.state.resubscribe}),(function(e){var n,a,c=e.data,d=Object(o.e)(e,["data"]);if(t.withRef&&(l.withRef=!0,u=Object.assign({},u,{ref:l.setWrappedInstance})),s)return Object(r.createElement)(i,Object(o.a)({},u,{}));var f=Object.assign(d,c||{}),m=t.name||"data",v=((n={})[m]=f,n);if(t.props){var h=((a={})[m]=f,a.ownProps=u,a);v=p=t.props(h,p)}return Object(r.createElement)(i,Object(o.a)({},u,v))}))},u.displayName=a,u.WrappedComponent=i,u}(P);return d()(l,i,{})}}function D(e,t){switch(void 0===t&&(t={}),y(e).type){case p.Mutation:return A(e,t);case p.Subscription:return I(e,t);case p.Query:default:return _(e,t)}}function R(e,t){void 0===t&&(t={});var n="withApollo("+function(e){return e.displayName||e.name||"Component"}(e)+")",i=function(i){function l(e){var t=i.call(this,e)||this;return t.setWrappedInstance=t.setWrappedInstance.bind(t),t}return Object(o.c)(l,i),l.prototype.getWrappedInstance=function(){return Object(a.b)(t.withRef),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.render=function(){var n=this;return Object(r.createElement)(m,null,(function(i){var a=Object.assign({},n.props,{client:i,ref:t.withRef?n.setWrappedInstance:void 0});return Object(r.createElement)(e,Object(o.a)({},a))}))},l.displayName=n,l.WrappedComponent=e,l}(r.Component);return d()(i,e,{})}var M=function(){function e(){this.queryPromises=new Map,this.queryInfoTrie=new Map}return e.prototype.registerSSRObservable=function(e,t){this.lookupQueryInfo(e).observable=t},e.prototype.getSSRObservable=function(e){return this.lookupQueryInfo(e).observable},e.prototype.addQueryPromise=function(e,t){return this.lookupQueryInfo(e).seen?t():(this.queryPromises.set(e,new Promise((function(t){t(e.fetchData())}))),null)},e.prototype.hasPromises=function(){return this.queryPromises.size>0},e.prototype.consumeAndAwaitPromises=function(){var e=this,t=[];return this.queryPromises.forEach((function(n,r){e.lookupQueryInfo(r).seen=!0,t.push(n)})),this.queryPromises.clear(),Promise.all(t)},e.prototype.lookupQueryInfo=function(e){var t=this.queryInfoTrie,n=e.props,r=n.query,i=n.variables,a=t.get(r)||new Map;t.has(r)||t.set(r,a);var o=JSON.stringify(i),l=a.get(o)||{seen:!1,observable:null};return a.has(o)||a.set(o,l),l},e}();function L(e,t){return void 0===t&&(t={}),V({tree:e,context:t,renderFunction:n(163).renderToStaticMarkup})}function V(e){var t=e.tree,a=e.context,l=void 0===a?{}:a,u=e.renderFunction,s=void 0===u?n(163).renderToStaticMarkup:u,c=new M,d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(n,e),n.prototype.getChildContext=function(){return Object(o.a)({},l,{renderPromises:c})},n.prototype.render=function(){return t},n.childContextTypes={renderPromises:i.object},n}(r.Component);return Object.keys(l).forEach((function(e){d.childContextTypes[e]=i.any})),Promise.resolve().then((function e(){var t=s(Object(r.createElement)(d));return c.hasPromises()?c.consumeAndAwaitPromises().then(e):t}))}function B(e){return V({tree:e,renderFunction:n(163).renderToString})}function q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.reverse();return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n[0],i=n.slice(1),a=r.apply(null,e);return i.forEach((function(e){a=e.call(null,a)})),a}}},72:function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,s=[],c=!1,d=-1;function f(){c&&u&&(c=!1,u.length?s=u.concat(s):d=-1,s.length&&m())}function m(){if(!c){var e=l(f);c=!0;for(var t=s.length;t;){for(u=s,s=[];++d<t;)u&&u[d].run();d=-1,t=s.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new p(e,t)),1!==s.length||c||l(m)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},73:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},74:function(e,t,n){"use strict";n.r(t),n.d(t,"Helmet",(function(){return B})),n.d(t,"HelmetProvider",(function(){return A}));var r=n(306),i=n.n(r),a=n(210),o=n.n(a),l=n(2),u=n.n(l),s=n(3),c=n.n(s),d=n(307),f=n.n(d),m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p=Object.keys(m).map((function(e){return m[e]})),v={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},h=Object.keys(v).reduce((function(e,t){return e[v[t]]=t,e}),{}),y=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},g=function(e){var t=y(e,m.TITLE),n=y(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=y(e,"defaultTitle");return t||r||void 0},k=function(e){return y(e,"onChangeClientState")||function(){}},b=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Object.assign({},e,t)}),{})},S=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},O=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n,a=Object.keys(e),o=0;o<a.length;o+=1){var l=a[o],u=l.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(i),o=0;o<a.length;o+=1){var l=a[o],u=Object.assign({},r[l],i[l]);r[l]=u}return e}),[]).reverse()},w=function(e){return Array.isArray(e)?e.join(""):e},N=[m.NOSCRIPT,m.SCRIPT,m.STYLE],T=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},j=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},C=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[v[n]||n]=e[n],t}),t)},x=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=C(t.titleAttributes,{key:e=t.title,"data-rh":!0}),[c.a.createElement(m.TITLE,n,e)];var e,n},toString:function(){return function(e,n,r,i){var a=j(t.titleAttributes),o=w(n);return a?"<"+e+' data-rh="true" '+a+">"+T(o,i)+"</"+e+">":"<"+e+' data-rh="true">'+T(o,i)+"</"+e+">"}(e,t.title,0,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return C(t)},toString:function(){return j(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r={key:n,"data-rh":!0};return Object.keys(t).forEach((function(e){var n=v[e]||e;"innerHTML"===n||"cssText"===n?r.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:r[n]=t[e]})),c.a.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+T(r[t],n)+'"';return e?e+" "+i:i}),""),a=r.innerHTML||r.cssText||"",o=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(o?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},F=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.scriptTags,u=e.styleTags,s=e.title;void 0===s&&(s="");var c=e.titleAttributes;return{base:x(m.BASE,e.baseTag,n),bodyAttributes:x("bodyAttributes",t,n),htmlAttributes:x("htmlAttributes",r,n),link:x(m.LINK,i,n),meta:x(m.META,a,n),noscript:x(m.NOSCRIPT,o,n),script:x(m.SCRIPT,l,n),style:x(m.STYLE,u,n),title:x(m.TITLE,{title:s,titleAttributes:c},n)}},E=c.a.createContext({}),P=u.a.shape({setHelmet:u.a.func,helmetInstances:u.a.shape({get:u.a.func,add:u.a.func,remove:u.a.func})}),_="undefined"!=typeof document,A=function(e){function t(n){var r=this;e.call(this,n),this.instances=[],this.value={setHelmet:function(e){r.props.context.helmet=e},helmetInstances:{get:function(){return r.instances},add:function(e){r.instances.push(e)},remove:function(e){var t=r.instances.indexOf(e);r.instances.splice(t,1)}}},t.canUseDOM||(n.context.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.render=function(){return c.a.createElement(E.Provider,{value:this.value},this.props.children)},t}(s.Component);A.canUseDOM=_,A.propTypes={context:u.a.shape({helmet:u.a.shape()}),children:u.a.node.isRequired},A.defaultProps={context:{}},A.displayName="HelmetProvider";var I=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):o.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:o}},D=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),l=0;l<o.length;l+=1){var u=o[l],s=t[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===i.indexOf(u)&&i.push(u);var c=a.indexOf(u);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},R=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,d=e.titleAttributes;D(m.BODY,e.bodyAttributes),D(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=w(e)),D(m.TITLE,t)}(c,d);var f={baseTag:I(m.BASE,n),linkTags:I(m.LINK,i),metaTags:I(m.META,a),noscriptTags:I(m.NOSCRIPT,o),scriptTags:I(m.SCRIPT,u),styleTags:I(m.STYLE,s)},p={},v={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(v[e]=f[e].oldTags)})),t&&t(),l(e,p,v)},M=null,L=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];e.apply(this,t),this.rendered=!1}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!f()(e,this.props)},t.prototype.componentDidUpdate=function(){this.emitChange()},t.prototype.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.prototype.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,a=(e=n.helmetInstances.get().map((function(e){var t=Object.assign({},e.props);return delete t.context,t})),{baseTag:S(["href"],e),bodyAttributes:b("bodyAttributes",e),defer:y(e,"defer"),encode:y(e,"encodeSpecialCharacters"),htmlAttributes:b("htmlAttributes",e),linkTags:O(m.LINK,["rel","href"],e),metaTags:O(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:O(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:k(e),scriptTags:O(m.SCRIPT,["src","innerHTML"],e),styleTags:O(m.STYLE,["cssText"],e),title:g(e),titleAttributes:b("titleAttributes",e)});A.canUseDOM?(t=a,M&&cancelAnimationFrame(M),t.defer?M=requestAnimationFrame((function(){R(t,(function(){M=null}))})):(R(t),M=null)):F&&(i=F(a)),r(i)},t.prototype.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.prototype.render=function(){return this.init(),null},t}(s.Component);function V(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}L.propTypes={context:P.isRequired},L.displayName="HelmetDispatcher";var B=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!i()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return Object.assign({},r,((t={})[n.type]=(r[n.type]||[]).concat([Object.assign({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case m.TITLE:return Object.assign({},i,((t={})[r.type]=o,t),{titleAttributes:Object.assign({},a)});case m.BODY:return Object.assign({},i,{bodyAttributes:Object.assign({},a)});case m.HTML:return Object.assign({},i,{htmlAttributes:Object.assign({},a)});default:return Object.assign({},i,((n={})[r.type]=Object.assign({},a),n))}},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Object.assign({},t);return Object.keys(e).forEach((function(t){var r;n=Object.assign({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return o()(p.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+p.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),o()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return c.a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,a=i.children,o=V(i,["children"]),l=Object.keys(o).reduce((function(e,t){return e[h[t]||t]=o[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,a),u){case m.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=V(e,["children"]),r=Object.assign({},n);return t&&(r=this.mapChildrenToProps(t,r)),c.a.createElement(E.Consumer,null,(function(e){return c.a.createElement(L,Object.assign({},r,{context:e}))}))},t}(s.Component);B.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},B.defaultProps={defer:!0,encodeSpecialCharacters:!0},B.displayName="Helmet"},8:function(e,t,n){"use strict";var r=n(305),i=n.n(r).a;t.a=i},87:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(12)},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(2)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(60)},function(e,t){e.exports=n(88)},function(e,t){e.exports=n(33)},function(e,t){e.exports=n(35)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=n.n(o),u=n(5),s=n.n(u),c=n(6),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=l()(a.TcText).withConfig({displayName:"render-byline__InlineText",componentId:"sc-8i7rg2-0"})([""," ",";"],(function(e){return e.textStyle?Object(a.checkStylesForUnits)(e.textStyle):""}),(function(e){return e.bylineStyle?Object(a.checkStylesForUnits)(e.bylineStyle):""})),y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(p({},d.a),{},{author:function(t,r,a){return i.a.createElement(e,f({key:t,name:a[0]},r,n),a)},inline:function(e,r,a){var o=n.className,l=n.bylineStyle;return i.a.createElement(h,{className:o,key:e,textStyle:t,bylineStyle:l},a)}})},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.map((function(e){return e.byline&&e.byline.length>0?e.byline[0]:{}}));return s()(i,y(e,n,r))},k=n(2),b=n.n(k),S={ast:b.a.arrayOf(b.a.shape({})).isRequired,onAuthorPress:b.a.func,capitalize:b.a.bool,children:b.a.array,key:b.a.string,attributes:b.a.array,slug:b.a.string},O={onAuthorPress:function(){return null},capitalize:!1},w=n(3);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{link:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.action,textDecorationLine:"none"}),nonLinkText:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.primary,flexDirection:"row"}),opinion:T(T({},Object(w.fontFactory)({font:"headline",fontSize:"smallHeadline"})),{},{color:w.colours.section.comment,fontWeight:"400"}),centered:{textAlign:"center"},text:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.secondary,flexDirection:"row"})});var E=l()(a.TcText).withConfig({displayName:"article-byline-opinion__OpinionText",componentId:"aqlxmn-0"})(["",";"],Object(a.checkStylesForUnits)(F.opinion)),P=function(e){var t=e.children,n=e.key,r=e.className;return i.a.createElement(E,{className:r,key:n},t)},_=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(P,t,F.opinion,n)};_.displayName="ArticleBylineOpinion",_.propTypes=S,_.defaultProps=O;var A=_,I=n(7),D=n(8);var R=function(e){var t=e.slug,n=e.className,r=e.onAuthorPress,o=e.children,l="/profile/".concat(t),u=o[0];return i.a.createElement(I.TextLink,{className:n,onPress:function(e){r(e,{name:u,slug:t})},style:Object(a.checkStylesForUnits)(F.link),url:l},o)},M=function(e){var t,n=e.ast,r=e.centered,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast","centered"]);return g((t=R,Object(D.withTrackEvents)(t,{analyticsEvents:[{actionName:"Pressed",eventName:"onAuthorPress",getAttrs:function(e){return{name:e.name,slug:e.slug}},trackingName:"ArticlePressAuthor"}]})),n,r?[F.text,F.centered]:F.text,i)};M.displayName="ArticleBylineWithLinks",M.propTypes=S,M.defaultProps=O;var L=M,V=function(e){return e&&e.length>0&&e[0].byline&&e[0].byline.length>0};n.d(t,"ArticleBylineOpinion",(function(){return A})),n.d(t,"ArticleBylineWithLinks",(function(){return L})),n.d(t,"hasBylineData",(function(){return V}));var B=l()(a.TcText).withConfig({displayName:"article-byline__BylineText",componentId:"ynke2n-0"})([""," ",";"],(function(e){return e.style?Object(a.checkStylesForUnits)(e.style):""}),Object(a.checkStylesForUnits)(F.nonLinkText)),q=function(e){var t=e.children,n=e.key,r=e.className,a=e.bylineStyle;return i.a.createElement(B,{className:r,key:n,style:a},t)},z=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(q,t,F.nonLinkText,n)};z.displayName="ArticleByline",z.propTypes=S,z.defaultProps=O,t.default=z}])},88:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);t.default={block:function(e,t,n){return i.a.createElement("div",{key:e},n)},bold:function(e,t,n){return i.a.createElement("b",{key:e},n)},break:function(e){return i.a.createElement("br",{key:e})},emphasis:function(e,t,n){return i.a.createElement("em",{key:e},n)},inline:function(e,t,n){return i.a.createElement("span",{key:e},n)},italic:function(e,t,n){return i.a.createElement("i",{key:e},n)},paragraph:function(e,t,n){return i.a.createElement("p",{key:e},n)},strong:function(e,t,n){return i.a.createElement("strong",{key:e},n)},subscript:function(e,t,n){return i.a.createElement("sub",{key:e},n)},superscript:function(e,t,n){return i.a.createElement("sup",{key:e},n)},text:function(e,t){return t.value}}}])},89:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=n(12)},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(2)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=(n(3),n(2));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={title:u(u({},Object(o.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{fontWeight:"400",lineHeight:11,marginBottom:0,marginTop:-1,paddingTop:1})};function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=f(f({},c),{},{title:f(f({},c.title),{},{lineHeight:12,letterSpacing:1})});function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>h(h({},Object(a.checkStylesForUnits)(p.title)),{},{color:Object(a.gqlRgbaToHex)(e)||e}),k=e=>{let t=e.color,n=e.title;return i.a.createElement(a.TcText,{style:g(t)},n.toUpperCase())};k.defaultProps={color:"black"},t.default=k}])},9:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return w})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return P})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return C})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return F})),n.d(t,"j",(function(){return T})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return x})),n.d(t,"m",(function(){return d})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return h})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return g})),n.d(t,"r",(function(){return D})),n.d(t,"s",(function(){return R})),n.d(t,"t",(function(){return L})),n.d(t,"u",(function(){return m})),n.d(t,"v",(function(){return b})),n.d(t,"w",(function(){return s})),n.d(t,"x",(function(){return y}));var r=n(16),i=n(13),a=n(5),o=n(92),l=n.n(o);n(213);function u(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return u(a,e.name,e.value,r)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return u(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new i.a(17);e[t.value]=null}}function s(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,a=r.value;return u(n[e.name.value],i,a,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return u(r,n,i,t)}))),d(e.name.value,r,n)}var c=["connection","include","skip","client","rest","export"];function d(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,a={};return r.forEach((function(e){a[e]=i[e]})),n.connection.key+"("+JSON.stringify(a)+")"}return n.connection.key}var o=e;if(t){var u=l()(t);o+="("+u+")"}return n&&Object.keys(n).forEach((function(e){-1===c.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@"+e+"("+JSON.stringify(n[e])+")":o+="@"+e)})),o}function f(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return u(n,r,i,t)})),n}return null}function m(e){return e.alias?e.alias.value:e.name.value}function p(e){return"Field"===e.kind}function v(e){return"InlineFragment"===e.kind}function h(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function y(e,t){return void 0===t&&(t=!1),Object(a.a)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function g(e){return null!=e&&"object"==typeof e&&"json"===e.type}function k(e,t){if(e.directives&&e.directives.length){var n={};return e.directives.forEach((function(e){n[e.name.value]=f(e,t)})),n}return null}function b(e,t){return void 0===t&&(t={}),(n=e.directives,n?n.filter(S).map((function(e){var t=e.arguments;e.name.value,Object(i.b)(t&&1===t.length,14);var n=t[0];Object(i.b)(n.name&&"if"===n.name.value,15);var r=n.value;return Object(i.b)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:e,ifArgument:n}})):[]).every((function(e){var n=e.directive,r=e.ifArgument,a=!1;return"Variable"===r.value.kind?(a=t[r.value.name.value],Object(i.b)(void 0!==a,13)):a=r.value.value,"skip"===n.name.value?!a:a}));var n}function S(e){var t=e.name.value;return"skip"===t||"include"===t}function O(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.a(11);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Object(i.b)(1===r.length,12),n=r[0].name.value),Object(a.a)(Object(a.a)({},e),{definitions:Object(a.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function w(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){null!=t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function N(e){Object(i.b)(e&&"Document"===e.kind,2);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new i.a(3);return e}));return Object(i.b)(t.length<=1,4),e}function T(e){return N(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function j(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function C(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function x(e){var t=T(e);return Object(i.b)(t&&"query"===t.operation,6),t}function F(e){var t;N(e);for(var n=0,r=e.definitions;n<r.length;n++){var a=r[n];if("OperationDefinition"===a.kind){var o=a.operation;if("query"===o||"mutation"===o||"subscription"===o)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw new i.a(10)}function E(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function P(e){if(e&&e.variableDefinitions&&e.variableDefinitions.length){var t=e.variableDefinitions.filter((function(e){return e.defaultValue})).map((function(e){var t=e.variable,n=e.defaultValue,r={};return u(r,t.name,n),r}));return w.apply(void 0,Object(a.f)([{}],t))}return{}}var _={kind:"Field",name:{kind:"Name",value:"__typename"}};function A(e){return Object(r.visit)(N(e),{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return p(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!(p(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return Object(a.a)(Object(a.a)({},e),{selections:Object(a.f)(r,[_])})}}}}})}"function"==typeof WeakMap&&"object"==typeof navigator&&navigator.product,Object.prototype.toString;function I(t){return(void 0!==e?"production":"development")===t}function D(){return!0===I("production")}function R(){return!0===I("test")}var M=Object.prototype.hasOwnProperty;function L(e){var t=e[0]||{},n=e.length;if(n>1){var r=[];t=q(t,r);for(var i=1;i<n;++i)t=B(t,e[i],r)}return t}function V(e){return null!==e&&"object"==typeof e}function B(e,t,n){return V(t)&&V(e)?(Object.isExtensible&&!Object.isExtensible(e)&&(e=q(e,n)),Object.keys(t).forEach((function(r){var i=t[r];if(M.call(e,r)){var a=e[r];i!==a&&(e[r]=B(q(a,n),i,n))}else e[r]=i})),e):t}function q(e,t){return null!==e&&"object"==typeof e&&t.indexOf(e)<0&&(e=Array.isArray(e)?e.slice(0):Object(a.a)({__proto__:Object.getPrototypeOf(e)},e),t.push(e)),e}Object.create({})}).call(this,n(72))},90:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(12)},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(52)},function(e,t){e.exports=n(2)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=(n(5),n(2)),u=n.n(l),s=n(3);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m={container:{alignItems:"flex-start",flexDirection:"row",marginTop:-1,marginBottom:1},iconContainer:{alignSelf:"center",paddingBottom:2},title:d(d({},Object(s.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{flex:-1,fontWeight:"400",letterSpacing:1.2,lineHeight:12,marginLeft:Object(s.spacing)(1),paddingTop:1})};function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=u()(a.TcText).withConfig({displayName:"video-label__VideoLabelText",componentId:"spiidi-0"})(["",";"],Object(a.checkStylesForUnits)(m.title)),y=u()(a.TcView).withConfig({displayName:"video-label__Container",componentId:"spiidi-1"})(["",";"],Object(a.checkStylesForUnits)(m.container)),g=u()(a.TcView).withConfig({displayName:"video-label__IconContainer",componentId:"spiidi-2"})(["",";"],Object(a.checkStylesForUnits)(m.iconContainer)),k=function(e){var t=e.color,n=e.title,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},m.title);return Object.assign(r,{color:t}),i.a.createElement(y,null,i.a.createElement(g,null,i.a.createElement(o.IconVideo,{fillColour:t,height:9})),i.a.createElement(h,{style:r},n?n.toUpperCase():"VIDEO"))};k.defaultProps={color:"black",title:""},t.default=k}])},91:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(2)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(116)},function(e,t){e.exports=n(70)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),a=(n(1),n(2)),o=n.n(a),l=n(3),u=n.n(l),s=n(4),c=n.n(s),d=function(e,t){var n=new Date(Date.UTC(t,e+1,0)),r=n.getDay(),i=n.getDate()-r,a=new Date(Date.UTC(t,e,i));return a.setHours(1),a},f=function(e){var t=d(2,e.getFullYear()),n=d(9,e.getFullYear()),r=e.getTime()>=t.getTime(),i=e.getTime()<n.getTime();return r&&i},m=function(e){var t=new Date(e);return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes())};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n,r=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).state={timezone:""},t.updateTimezone=t.updateTimezone.bind(g(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){this.updateTimezone()}},{key:"updateTimezone",value:function(){var e=this.props.date,t=m(e);"Europe/London"!==function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return""}}()&&this.setState({timezone:f(t)?" BST":" GMT"})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.showDay,r=this.props.date,i=void 0===r?new Date:r,a=this.state.timezone,o=m(i),l=f(o)?60:0,s=c()(o,l);void 0===i&&(i=new Date);var d=n?"EEEE ".concat("MMMM dd yyyy, h.mmaaa"):"MMMM dd yyyy, h.mmaaa";return t("".concat(u()(s,d)).concat(a))}}])&&v(t.prototype,n),i}(r.Component);b.defaultProps={showDay:!0};var S=b,O={SUNDAYTIMES:"The Sunday Times",TIMES:"The Times"};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){var t=e.publication,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["publication"]);return i.a.createElement(S,n,(function(e){return i.a.createElement(r.Fragment,null,i.a.createElement("time",{dateTime:n.date},e,function(e){return e&&O[e]?", ":""}(t)),t?i.a.createElement(C,null,function(e){return e&&O[e]?O[e]:""}(t)):null)}))},C=o.a.span.withConfig({displayName:"date-publication__PublicationName",componentId:"sc-1vdpzkx-0"})(["display:inline-block;"]);j.defaultProps=N(N({},S.defaultProps),{},{publication:null}),t.default=j}])},92:function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},a={key:r,value:e[r]};return n(i,a)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n<t.length;n++)n&&(o+=","),o+=e(t[n])||"null";return o+"]"}if(null===t)return"null";if(-1!==a.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var l=a.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(o="",n=0;n<u.length;n++){var s=u[n],c=e(t[s]);c&&(o&&(o+=","),o+=JSON.stringify(s)+":"+c)}return a.splice(l,1),"{"+o+"}"}}(e)}},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(1),i=n(0),a=n(39),o=n(4);function l(e,t){Object(i.a)(1,arguments);var n=Object(r.a)(e),l=n.getUTCFullYear(),u=t||{},s=u.locale,c=s&&s.options&&s.options.firstWeekContainsDate,d=null==c?1:Object(o.a)(c),f=null==u.firstWeekContainsDate?d:Object(o.a)(u.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(l+1,0,f),m.setUTCHours(0,0,0,0);var p=Object(a.a)(m,t),v=new Date(0);v.setUTCFullYear(l,0,f),v.setUTCHours(0,0,0,0);var h=Object(a.a)(v,t);return n.getTime()>=p.getTime()?l+1:n.getTime()>=h.getTime()?l:l-1}},94:function(e,t,n){"use strict";n.r(t);var r,i=n(5),a=n(7),o=n(8),l=n(26),u=n(303),s=n(15),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.c)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,a=t(e),l=new o.a((function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=a.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach((function(t){return t.next(e)})),t.forEach((function(e){return e.complete()})))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach((function(t){return t.error(e)}))}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}}));this.inFlightRequestObservables.set(r,l)}return this.inFlightRequestObservables.get(r)},t}(l.a),d=n(16);function f(e){return e<7}n.d(t,"ApolloClient",(function(){return N})),n.d(t,"ObservableQuery",(function(){return y})),n.d(t,"NetworkStatus",(function(){return r})),n.d(t,"isApolloError",(function(){return p})),n.d(t,"ApolloError",(function(){return h})),n.d(t,"FetchType",(function(){return v})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t.prototype[u.a]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.a);function p(e){return e.hasOwnProperty("graphQLErrors")}var v,h=function(e){function t(n){var r,i,a=n.graphQLErrors,o=n.networkError,l=n.errorMessage,u=n.extraInfo,s=e.call(this,l)||this;return s.graphQLErrors=a||[],s.networkError=o||null,s.message=l||(r=s,i="",Array.isArray(r.graphQLErrors)&&0!==r.graphQLErrors.length&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";i+="GraphQL error: "+t+"\n"})),r.networkError&&(i+="Network error: "+r.networkError.message+"\n"),i=i.replace(/\n$/,"")),s.extraInfo=u,s.__proto__=t.prototype,s}return Object(i.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(v||(v={}));var y=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,a=void 0===i||i,o=e.call(this,(function(e){return o.onSubscribe(e)}))||this;return o.isTornDown=!1,o.options=r,o.variables=r.variables||{},o.queryId=n.generateQueryId(),o.shouldSubscribe=a,o.queryManager=n,o.observers=[],o.subscriptionHandles=[],o}return Object(i.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r,i={next:function(n){t(n),e.observers.some((function(e){return e!==i}))||e.queryManager.removeQuery(e.queryId),setTimeout((function(){r.unsubscribe()}),0)},error:function(e){n(e)}};r=e.subscribe(i)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new h({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,l=this.queryManager.getCurrentQueryResult(this),u=l.data,s=l.partial,c=!n||n.networkStatus===r.loading,d="network-only"===this.options.fetchPolicy&&c||s&&"cache-only"!==this.options.fetchPolicy,m={data:u,loading:f(o=n?n.networkStatus:d?r.loading:r.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(m.errors=n.graphQLErrors),s||(this.lastResult=Object(i.a)({},m,{stale:!1}),this.lastResultSnapshot=Object(a.d)(this.lastResult)),Object(i.a)({},m,{partial:s})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(a.p)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(a.p)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(a.p)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.a)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,v.refetch).then((function(e){return e}))},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then((function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.a)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,v.normal,n.queryId)})).then((function(r){return n.updateQuery((function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})})),r}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery((function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(a.p)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise((function(e){return e()})):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise((function(e){return e()})):this.queryManager.fetchQuery(this.queryId,Object(i.a)({},this.options,{variables:this.variables})).then((function(e){return e})))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,o=Object(a.y)((function(){return e(n,{variables:r})}));o&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,o),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){g(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter((function(t){return t!==e})),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(g(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(a.d)(t),e.observers.forEach((function(e){return e.next&&e.next(t)}))},error:function(t){e.lastError=t,e.observers.forEach((function(e){return e.error&&e.error(t)}))}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach((function(e){return e.unsubscribe()})),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(m);function g(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var k=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(a.p)(t.document,e.document))throw new s.a;var n,i=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(a.p)(t.variables,e.variables)||(i=!0,o=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var l=[];t&&t.graphQLErrors&&(l=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:l,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter((function(t){return e.indexOf(t)>-1})).reduce((function(e,n){return e[n]=Object(i.a)({},t.store[n],{networkStatus:r.loading}),e}),{})},e}();var S=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(a.s)(t.resolvers,e)})):this.resolvers=Object(a.s)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,a=e.variables,o=e.onlyRunForcedResolvers,l=void 0!==o&&o;return Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,a,this.fragmentMatcher,l).then((function(e){return Object(i.a)({},n,{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(a.o)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(a.u)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.a)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return Object(i.a)({},t,e.exportedVariables)}))]:[2,Object(i.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(d.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return d.BREAK}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(a.c)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,l){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===l&&(l=!1),Object(i.b)(this,void 0,void 0,(function(){var u,s,c,d,f,m,p,v,h;return Object(i.d)(this,(function(y){var g;return u=Object(a.h)(e),s=Object(a.g)(e),c=Object(a.e)(s),d=u.operation,f=d?(g=d).charAt(0).toUpperCase()+g.slice(1):"Query",p=(m=this).cache,v=m.client,h={fragmentMap:c,context:Object(i.a)({},n,{cache:p,client:v}),variables:r,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(u.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,c,d=this;return Object(i.d)(this,(function(f){return r=n.fragmentMap,o=n.context,l=n.variables,u=[t],c=function(e){return Object(i.b)(d,void 0,void 0,(function(){var c,d;return Object(i.d)(this,(function(i){return Object(a.x)(e,l)?Object(a.q)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&u.push(((n={})[Object(a.w)(e)]=t,n))}))]:(Object(a.r)(e)?c=e:(c=r[e.name.value],Object(s.b)(c)),c&&c.typeCondition&&(d=c.typeCondition.name.value,n.fragmentMatcher(t,d,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return Object(a.t)(u)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,s,c,d,f,m,p=this;return Object(i.d)(this,(function(i){return r=n.variables,o=e.name.value,l=Object(a.w)(e),u=o!==l,s=t[l]||t[o],c=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(d=t.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(m=f[u?o:l])&&(c=Promise.resolve(m(t,Object(a.a)(e,r),n.context,{field:e})))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,o=void 0===a?function(){}:a,u=e.ssrMode,s=void 0!==u&&u,d=e.clientAwareness,f=void 0===d?{}:d,m=e.localState;this.mutationStore=new k,this.queryStore=new b,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=l.a.from([new c,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=o,this.clientAwareness=f,this.localState=m||new S({cache:i.getCache()}),this.ssrMode=s}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new Error("QueryManager stopped while query was in flight"))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,o=e.updateQueries,u=e.refetchQueries,c=void 0===u?[]:u,d=e.awaitRefetchQueries,f=void 0!==d&&d,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,g=e.fetchPolicy,k=e.context,b=void 0===k?{}:k;return Object(i.b)(this,void 0,void 0,(function(){var e,u,d,v,k,S=this;return Object(i.d)(this,(function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!g||"no-cache"===g),e=this.generateQueryId(),u=this.dataStore.getCache(),t=u.transformDocument(t),n=Object(a.b)({},Object(a.f)(Object(a.i)(t)),n),this.setQuery(e,(function(){return{document:t}})),d=function(){var e={};return o&&Object.keys(o).forEach((function(t){return(S.queryIdsByName[t]||[]).forEach((function(n){e[n]={updater:o[t],query:S.queryStore.get(n)}}))})),e},Object(a.n)(t)?[4,this.localState.addExportedVariables(t,n,b)]:[3,2];case 1:return k=O.sent(),[3,3];case 2:k=n,O.label=3;case 3:return v=k,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:d(),update:p,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise((function(n,o){var u,s,k=S.buildOperationForLink(t,v,Object(i.a)({},b,{optimisticResponse:r})),O=function(){if(s&&S.mutationStore.markMutationError(e,s),S.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),S.broadcastQueries(),s)return Promise.reject(s);"function"==typeof c&&(c=c(u));for(var t=[],n=0,i=c;n<i.length;n++){var o=i[n];if("string"!=typeof o){var l={query:o.query,variables:o.variables,fetchPolicy:"network-only"};o.context&&(l.context=o.context),t.push(S.query(l))}else{var d=S.refetchQueryByName(o);d&&t.push(d)}}return Promise.all(f?t:[]).then((function(){return S.setQuery(e,(function(){return{document:null}})),"ignore"===y&&u&&Object(a.m)(u)&&delete u.errors,u}))},w=S.localState.clientQuery(k.query),N=S.localState.serverQuery(k.query);N&&(k.query=N);var T=N?Object(l.b)(S.link,k):m.of({data:{}}),j=S,C=!1,x=!1;T.subscribe({next:function(r){return Object(i.b)(S,void 0,void 0,(function(){var l,c,f;return Object(i.d)(this,(function(i){switch(i.label){case 0:return x=!0,Object(a.m)(r)&&"none"===y?(x=!1,s=new h({graphQLErrors:r.errors}),[2]):(j.mutationStore.markMutationResult(e),l=r,c=k.context,f=k.variables,w&&Object(a.o)(["client"],w)?[4,j.localState.runResolvers({document:w,remoteResult:r,context:c,variables:f}).catch((function(e){return x=!1,o(e),r}))]:[3,2]);case 1:l=i.sent(),i.label=2;case 2:return"no-cache"!==g&&j.dataStore.markMutationResult({mutationId:e,result:l,document:t,variables:v||{},updateQueries:d(),update:p}),u=l,x=!1,C&&O().then(n,o),[2]}}))}))},error:function(t){j.mutationStore.markMutationError(e,t),j.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),j.broadcastQueries(),j.setQuery(e,(function(){return{document:null}})),o(new h({networkError:t}))},complete:function(){x||O().then(n,o),C=!0}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return Object(i.b)(this,void 0,void 0,(function(){var o,l,u,s,c,d,f,m,y,g,k,b,S,O,w,N,T,j,C,x,F,E,P=this;return Object(i.d)(this,(function(_){switch(_.label){case 0:return o=t.variables,l=void 0===o?{}:o,u=t.metadata,s=void 0===u?null:u,c=t.fetchPolicy,d=void 0===c?"cache-first":c,f=t.context,m=void 0===f?{}:f,y=this.dataStore.getCache(),g=y.transformDocument(t.query),Object(a.n)(g)?[4,this.localState.addExportedVariables(g,l,m)]:[3,2];case 1:return b=_.sent(),[3,3];case 2:b=l,_.label=3;case 3:if(k=b,S=Object(i.a)({},t,{variables:k}),w="network-only"===d||"no-cache"===d,n!==v.refetch&&"network-only"!==d&&"no-cache"!==d&&(N=this.dataStore.getCache().diff({query:g,variables:k,returnPartialData:!0,optimistic:!1}),T=N.complete,j=N.result,w=!T||"cache-and-network"===d,O=j),C=w&&"cache-only"!==d&&"standby"!==d,Object(a.o)(["live"],g)&&(C=!0),x=this.generateRequestId(),F=this.updateQueryWatch(e,g,S),this.setQuery(e,(function(){return{document:g,lastRequestId:x,invalidated:!0,cancel:F}})),this.invalidate(!0,r),this.queryStore.initQuery({queryId:e,document:g,storePreviousVariables:C,variables:k,isPoll:n===v.poll,isRefetch:n===v.refetch,metadata:s,fetchMoreForQueryId:r}),this.broadcastQueries(),(!C||"cache-and-network"===d)&&(this.queryStore.markQueryResultClient(e,!C),this.invalidate(!0,e,r),this.broadcastQueries(this.localState.shouldForceResolvers(g))),C){if(E=this.fetchRequest({requestId:x,queryId:e,document:g,options:S,fetchMoreForQueryId:r}).catch((function(t){if(p(t))throw t;var n=P.getQuery(e).lastRequestId;throw x>=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new h({networkError:t})})),"cache-and-network"!==d)return[2,E];E.catch((function(){}))}return[2,Promise.resolve({data:O})]}}))}))},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,a=!1;return function(o,l,u){return Object(i.b)(r,void 0,void 0,(function(){var r,s,c,d,m,p,v,y,g,k,b,S,O,w,N,T,j,C,x,F;return Object(i.d)(this,(function(E){switch(E.label){case 0:if(this.invalidate(!1,e),!o)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(s=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(c=r?r.options.errorPolicy:t.errorPolicy,d=r?r.getLastResult():null,m=r?r.getLastError():null,p=!l&&null!=o.previousVariables||"cache-only"===s||"cache-and-network"===s,v=Boolean(d&&o.networkStatus!==d.networkStatus),y=c&&(m&&m.graphQLErrors)!==o.graphQLErrors&&"none"!==c,!(!f(o.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!c||"none"===c)&&o.graphQLErrors&&o.graphQLErrors.length>0||o.networkError){if(g=new h({graphQLErrors:o.graphQLErrors,networkError:o.networkError}),a=!0,n.error)try{n.error(g)}catch(e){setTimeout((function(){throw e}),0)}else setTimeout((function(){throw g}),0);return[2]}E.label=1;case 1:if(E.trys.push([1,7,,8]),k=void 0,b=void 0,l?("no-cache"!==s&&"network-only"!==s&&this.setQuery(e,(function(){return{newData:null}})),k=l.result,b=!l.complete||!1):d&&d.data&&!y?(k=d.data,b=!1):(S=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:S,variables:o.previousVariables||o.variables,optimistic:!0}),k=O.result,b=!O.complete),w=void 0,w=b&&"cache-only"!==s?{data:d&&d.data,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!0}:{data:k,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!1},"all"===c&&o.graphQLErrors&&o.graphQLErrors.length>0&&(w.errors=o.graphQLErrors),!n.next)return[3,6];if(!a&&r&&!r.isDifferentFromLastResult(w))return[3,6];E.label=2;case 2:return E.trys.push([2,5,,6]),u?(N=t.query,T=t.variables,j=t.context,[4,this.localState.runResolvers({document:N,remoteResult:w,context:j,variables:T,onlyRunForcedResolvers:u})]):[3,4];case 3:C=E.sent(),w=Object(i.a)({},w,C),E.label=4;case 4:return n.next(w),[3,6];case 5:return x=E.sent(),setTimeout((function(){throw x}),0),[3,6];case 6:return a=!1,[3,8];case 7:return F=E.sent(),a=!0,n.error&&n.error(new h({networkError:F})),[2];case 8:return[2]}}))}))}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(a.l)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(a.f)(n);e.variables=Object(a.b)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var o=Object(i.a)({},e);return new y({queryManager:this,options:o,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise((function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}));var n=Object(a.l)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(a.l)(n.options.query),o=i.name?i.name.value:null;this.setQuery(e,(function(){return{observableQuery:null}})),o&&(this.queryIdsByName[o]=this.queryIdsByName[o].filter((function(e){return!(n.queryId===e)})))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,o=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(r),s=Object(a.b)({},Object(a.f)(Object(a.j)(r)),e.variables),c=s,d=[],f=this.localState.clientQuery(u);return new m((function(e){if(d.push(e),1===d.length){var r=0,p=!1,v={next:function(e){return Object(i.b)(n,void 0,void 0,(function(){var t;return Object(i.d)(this,(function(n){switch(n.label){case 0:return r+=1,t=e,f&&Object(a.o)(["client"],f)?[4,this.localState.runResolvers({document:f,remoteResult:e,context:{},variables:c})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return o&&(this.dataStore.markSubscriptionResult(t,u,c),this.broadcastQueries()),d.forEach((function(e){Object(a.m)(t)&&e.error?e.error(new h({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1})),0===r&&p&&v.complete(),[2]}}))}))},error:function(e){d.forEach((function(t){t.error&&t.error(e)}))},complete:function(){0===r&&d.forEach((function(e){e.complete&&e.complete()})),p=!0}};Object(i.b)(n,void 0,void 0,(function(){var e,n,r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return Object(a.n)(u)?[4,this.localState.addExportedVariables(u,s)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=s,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(u))?(o=this.buildOperationForLink(r,e),t=Object(l.b)(this.link,o).subscribe(v)):t=m.of({data:{}}).subscribe(v),[2]}}))}))}return function(){0===(d=d.filter((function(t){return t!==e}))).length&&t&&t.unsubscribe()}}))},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,a=n.fetchPolicy,o=e.getLastResult(),l=this.getQuery(e.queryId).newData;if(l&&l.complete)return{data:l.result,partial:!1};if("no-cache"===a||"network-only"===a)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:o?o.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,a=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:a}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach((function(n,r){n.invalidated&&n.listeners&&n.listeners.filter((function(e){return!!e})).forEach((function(i){i(t.queryStore.get(r),n.newData,e)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach((function(r,i){var a=r.observableQuery;if(a){var o=a.options.fetchPolicy;a.resetLastResults(),"cache-only"===o||!e&&"standby"===o||n.push(a.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(!0,i)}})),n},e.prototype.fetchRequest=function(e){var t,n,o=this,u=e.requestId,s=e.queryId,c=e.document,d=e.options,f=e.fetchMoreForQueryId,p=d.variables,v=d.context,y=d.errorPolicy,g=void 0===y?"none":y,k=d.fetchPolicy;return new Promise((function(e,d){var y,b={},S=o.localState.clientQuery(c),O=o.localState.serverQuery(c);if(O){var w=o.buildOperationForLink(O,p,Object(i.a)({},v,{forceFetch:!o.queryDeduplication}));b=w.context,y=Object(l.b)(o.deduplicator,w)}else b=o.prepareContext(v),y=m.of({data:{}});o.fetchQueryRejectFns.set("fetchRequest:"+s,d);var N=!1,T=!0,j={next:function(e){return Object(i.b)(o,void 0,void 0,(function(){var r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return T=!0,r=e,o=this.getQuery(s).lastRequestId,u>=(o||1)?S&&Object(a.o)(["client"],S)?[4,this.localState.runResolvers({document:S,remoteResult:e,context:b,variables:p}).catch((function(t){return T=!1,d(t),e}))]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==k)try{this.dataStore.markQueryResult(r,c,p,f,"ignore"===g||"all"===g)}catch(e){return T=!1,d(e),[2]}else this.setQuery(s,(function(){return{newData:{result:r.data,complete:!0}}}));this.queryStore.markQueryResult(s,r,f),this.invalidate(!0,s,f),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===g)return T=!1,d(new h({graphQLErrors:r.errors})),[2];if("all"===g&&(n=r.errors),f||"no-cache"===k)t=r.data;else try{t=this.dataStore.getCache().read({variables:p,query:c,optimistic:!1})}catch(e){}return T=!1,N&&j.complete(),[2]}}))}))},error:function(e){o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==C}))}})),d(e)},complete:function(){T||(o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==C}))}})),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),N=!0}},C=y.subscribe(j);o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.concat([C])}}))})).catch((function(e){throw o.fetchQueryRejectFns.delete("fetchRequest:"+s),e}))},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map((function(e){return t.getQuery(e).observableQuery})).filter((function(e){return!!e})).map((function(e){return e.refetch()})))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.a)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,(function(){return{invalidated:e}})),n&&this.setQuery(n,(function(){return{invalidated:e}}))},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(a.k)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.a)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(s.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.a)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e<this.nextPoll.time-n))return;clearTimeout(this.nextPoll.timeout)}this.nextPoll={time:n+e,timeout:setTimeout((function(){t.nextPoll=null;var e=1/0;t.pollingInfoByQueryId.forEach((function(n,r){if(n.interval<e&&(e=n.interval),!t.checkInFlight(r)&&Date.now()-n.lastPollTimeMs>=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,v.poll).then(i,i)}})),isFinite(e)&&t.schedulePoll(e)}),e)}},e}(),w=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var o=!Object(a.m)(e);i&&Object(a.m)(e)&&e.data&&(o=!0),!r&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(a.m)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction((function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}}),e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(a.m)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter((function(t){return e.updateQueries[t]})).forEach((function(r){var i=e.updateQueries[r],o=i.query,l=i.updater,u=t.cache.diff({query:o.document,variables:o.variables,returnPartialData:!0,optimistic:!1}),s=u.result;if(u.complete){var c=Object(a.y)((function(){return l(s,{mutationResult:e.result,queryName:Object(a.k)(o.document)||void 0,queryVariables:o.variables})}));c&&n.push({result:c,dataId:"ROOT_QUERY",query:o.document,variables:o.variables})}})),this.cache.performTransaction((function(e){n.forEach((function(t){return e.write(t)}))}));var r=e.update;r&&this.cache.performTransaction((function(t){Object(a.y)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),N=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,o=e.ssrForceFetchDelay,u=void 0===o?0:o,c=e.connectToDevTools,d=e.queryDeduplication,f=void 0===d||d,m=e.defaultOptions,p=e.resolvers,v=e.typeDefs,h=e.fragmentMatcher,y=e.name,g=e.version,k=e.link;if(!k&&p&&(k=l.a.empty()),!k||!n)throw new s.a;var b=new Map,O=new l.a((function(e,t){var n=b.get(e.query);return n||(n=Object(a.v)(e.query),b.set(e.query,n),b.set(n,n)),e.query=n,t(e)}));this.link=O.concat(k),this.cache=n,this.store=new w(n),this.disableNetworkFetches=i||u>0,this.queryDeduplication=f,this.ssrMode=i,this.defaultOptions=m||{},this.typeDefs=v,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==c&&(c&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.5.1",y&&(this.clientAwareness.name=y),g&&(this.clientAwareness.version=g),this.localState=new S({cache:n,client:this,resolvers:p,fragmentMatcher:h})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.a)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.a)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.a)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(l.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)}))},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))})).then((function(){return t?t.clearStore():Promise.resolve(null)}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}();t.default=N}}]);
77
77
  //# sourceMappingURL=common.react.bundle.js.map