2 lines
22 KiB
JavaScript
2 lines
22 KiB
JavaScript
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[2961],{86684:(e,n,t)=>{t.d(n,{A:()=>d});var i,a=t(96540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},l.apply(null,arguments)}const d=function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:19,height:19,viewBox:"0 0 19 19"},e),i||(i=a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{d:"M6.93 15.338 4.873 13.28c-2.16-2.161-3.532-3.154-2.894-3.79.317-.319.791-.39 1.182 0 .587.587 2.134 2.2 2.134 2.2.083.085.163.071.38.126.215.055.36-.044.545-.225.169-.164.075-.6-.089-.769-.008-.008-2.277-2.258-2.644-2.627-.368-.367-.498-1.001-.106-1.392.376-.376.818-.188 1.15.144.388.387 2.696 2.763 2.696 2.763a.42.42 0 0 0 .305.129.54.54 0 0 0 .328-.156c.17-.164.254-.464.09-.632 0 0-1.335-1.4-1.819-1.883-.713-.714-.775-1.22-.457-1.538.443-.443 1.048-.298 1.854.623l3.586 3.884-.752-1.942s-.47-1.25 0-1.5c.47-.252.834.386 1.173.89l1.86 3.347c1.007 1.644.685 3.789-.73 5.187-1.873 1.873-4.076.876-5.735-.782zM10.262.042H8.734l.764 3.298zM13.932 1.208 12.495.686l-.41 3.36zM6.493.569l-1.437.522 1.846 2.838z"}),a.createElement("path",{d:"M14.302 7.028c-.34-.504-.896-.514-1.256-.234-.241.186-.208.605-.193.897l1.51 2.643c1.164 1.904 1.33 3.66 0 5.444.4-.183.519-.227.9-.608 1.519-1.518 1.852-3.32.846-4.964z"}))))}},80591:(e,n,t)=>{t.d(n,{A:()=>d});var i,a=t(96540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},l.apply(null,arguments)}const d=function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:19,height:19,viewBox:"0 0 19 19"},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M16.19 9.42c0 1.667-.72 2.837-2.028 4l-.1.087v.132c0 .04.006.12.02.23.025.19.067.4.13.62q.257.915.854 1.8c-.86-.05-1.686-.33-2.458-.84-.256-.17-.326-.2-.54-.4l-.124-.12-.16.05c-.682.21-2.75.46-4.886-.16C4.76 14.23 2.8 11.91 2.8 9.42c0-3.374 3.003-6.12 6.695-6.12s6.695 2.746 6.695 6.12"})))}},16635:(e,n,t)=>{t.d(n,{A:()=>d});var i,a=t(96540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},l.apply(null,arguments)}const d=function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:19,height:19,viewBox:"0 0 19 19"},e),i||(i=a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{d:"M4.128 12.213A15.4 15.4 0 0 1 1.595 9.93a7 7 0 0 1-.167-.198l-.245-.305.245-.305a13 13 0 0 1 .63-.697A15.4 15.4 0 0 1 3.753 6.92c1.814-1.384 3.76-2.22 5.77-2.22.613 0 1.272.13 1.972.374l-.797.772a4.5 4.5 0 0 0-1.176-.172c-1.763 0-3.519.755-5.178 2.021-.588.448-1.12.93-1.588 1.41-.278.287-.278.36 0 .647a14.4 14.4 0 0 0 2.085 1.772zm3.048 1.57c.77.243 1.553.373 2.346.373.7 0 1.458-.168 2.268-.483.992-.385 2.038-.98 3.105-1.726a25 25 0 0 0 2.679-2.169l.366-.351-.366-.352a23 23 0 0 0-.763-.682 25 25 0 0 0-2.283-1.737l-.716.695a24 24 0 0 1 2.366 1.784c.2.17.2.414 0 .584-.57.488-1.192.975-1.841 1.43-1.009.705-1.99 1.263-2.9 1.616-.705.274-1.349.417-1.915.417a6.6 6.6 0 0 1-1.535-.186z"}),a.createElement("path",{d:"M12.053 9.056q.024.174.024.354c0 1.457-1.22 2.639-2.723 2.639a3 3 0 0 1-.365-.024zM9.719 6.794a3 3 0 0 0-.365-.023c-1.504 0-2.723 1.181-2.723 2.639q0 .18.025.354zM3.603 14.305l-.35.34.679.7.35-.34L14.685 4.921l.35-.339-.679-.7-.35.34z"}))))}},48188:(e,n,t)=>{t.d(n,{Y:()=>P});var i=t(96540),a=t(54239),l=t(26118),d=t(2665),o=t(15706),r=t(64122),m=t(85764),s=t(37216),c=t(7580),u=t(52290),k=t(86527),p=t(86975),v=t(5600),g=t(36557),f=t(39410),N=t(72130),S=t(49287),y=t(44402),F=t(79429),h=t(51260),E=t(42976),b=t(50684),x=t(39160),I=t(85583),R=t(15371),T=t(42600),C=function(e){var n=e.catalog,t=e.breakpoints,a=n.listItemsConnection.items,l=(0,o.r)(t),d={xs:140,sm:166,md:90,lg:166},r={xs:105,sm:105,md:144,lg:144};return i.useMemo((function(){return i.createElement(o.G,{coverHeight:r[l],coverWidth:d[l],catalogItems:a,isEmbeded:!0,breakpoints:t})}),[l,a])},w=t(36469),_=t(88474),D=function(e){return{marginBottom:"1px","& path":{fill:e.colorTokens.foreground.neutral.secondary.base}}},A={position:"absolute",inset:"0",border:"none"},M={pointerEvents:"none"},P=function(e){var n=e.catalog,t=e.titleClamp,P=void 0===t?2:t,B=e.maxWidth,L=void 0===B?{xs:"100%",sm:"100%",md:"740px",lg:"740px",xl:"740px"}:B,U=e.marginBottom,O=void 0===U?"40px":U,z=e.breakpoints,G=n.name,j=n.visibility,q=n.id,Q=n.predefined,W=n.creator,Z=(0,m.b5)(n),H=j!==E.y_.PUBLIC,V=Q?(0,R.cm)(Q):G,K=(0,N.$L)(),X=(0,S.jI)(),Y=(0,a.zy)().pathname,$=(0,x.d4)((function(e){return e.navigation.referrer})),J=(0,b.MW)(),ee=(0,o.r)(z),ne=(0,F.s)({onPresentedFn:function(){K.event("list.presented",{listId:n.id,source:X,referrerSource:J,referrer:$||Y})}}),te=(0,y.l)(),ie="sm"===ee||"xs"===ee,ae=(0,h.Nw)("ShowUserList",{username:n.creator.username||"",catalogSlugId:(0,R.KY)(n)}),le=(0,r.f)(W),de=(0,_.E)(W);return i.createElement(u.a,{ref:ne,border:"neutral.primary",borderRadius:"4px",marginBottom:O,maxWidth:L,width:"100%",display:"flex",justifyContent:"space-between",backgroundColor:"BASE_LIGHT",flexDirection:ie?"column":"row",position:"relative",zIndex:0},i.createElement(k.N,{href:ae,rules:A,"aria-label":n.name}),i.createElement(u.a,{key:q,display:"flex",flexDirection:"column",padding:"24px 24px 10px",flexGrow:"1",flexShrink:"0",flexBasis:"0",justifyContent:"space-between",wordBreak:"break-word"},i.createElement(p.D,{href:le,"aria-label":W.name||"List creator"},i.createElement(u.a,{display:"flex"},i.createElement(c.r,{miroId:W.imageId||T._3,alt:W.name||"",diameter:20,freezeGifs:!0}),i.createElement(u.a,{paddingLeft:"8px",zIndex:"1",display:"flex",alignItems:"center"},i.createElement(g.kZ,{scale:"M",color:"DARKER",clamp:1},W.name),de&&W.id&&i.createElement(w.G,{marginLeft:"2px",marginTop:"2px",size:"S",userId:W.id})))),i.createElement(u.a,{marginTop:"12px"},i.createElement(f.hE,{clamp:P,scale:{xs:"XS",sm:"XS",md:"S",lg:"S",xl:"S"}},V)),i.createElement(u.a,{display:"flex",alignItems:"center",justifyContent:"space-between"},i.createElement(u.a,{display:"flex",margin:"6px 0"},i.createElement(g.kZ,{scale:"S",color:"LIGHTER"},Z||"No stories"),H&&i.createElement(u.a,{paddingLeft:"8px"},i.createElement(I.A,{className:te(D)}))),i.createElement(u.a,{display:"flex",position:"relative"},i.createElement(s.b,{catalog:n}),i.createElement(l.hP,{catalog:n},i.createElement(v.G,{tooltipText:"More",targetDistance:10},i.createElement(d.o,{catalog:n})))))),i.createElement("div",{className:te(M)},i.createElement(C,{catalog:n,breakpoints:z})))}},17290:(e,n,t)=>{t.d(n,{M:()=>a});var i=t(45458),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostResultError_postResult"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UnavailableForLegalReasons"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UnavailableForLegalReasonsScreen_unavailableForLegalReasons"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"WithheldInCountry"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"WithheldInCountryScreen_withheldInCountry"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"UnavailableForLegalReasonsScreen_unavailableForLegalReasons"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UnavailableForLegalReasons"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lumenId"}}]}}]),(0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"WithheldInCountryScreen_withheldInCountry"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"WithheldInCountry"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lumenId"}}]}}]))}},69699:(e,n,t)=>{t.d(n,{a:()=>F,M:()=>y});var i=t(96540),a=t(41005),l=t(26365),d=t(51622),o=t(50584);function r(e){var n=e.errorData;return i.createElement(a.y,{code:451,title:"451 Not available — Medium",lumenId:n.lumenId},"This story is subject to a DMCA copyright or other legal or government claim.")}function m(e){var n=e.errorData;return i.createElement(a.y,{code:451,title:"451 Not available in your country — Medium",lumenId:n.lumenId},"This page is not available in your country.")}var s=t(8697),c=t(86527),u=t(92901),k=t(23029),p=t(85501),v=t(56822),g=t(53954);var f=function(e){(0,p.A)(a,e);var n,t,i=(n=a,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}}(),function(){var e,i=(0,g.A)(n);if(t){var a=(0,g.A)(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return(0,v.A)(this,e)});function a(){return(0,k.A)(this,a),i.call(this,"Expected postResult to exist.\n For more detail, try checking for GraphQL server errors with the same x-request-id.")}return(0,u.A)(a)}((0,t(73437).A)(Error)),N=t(69547),S=t(46879),y=function(e){return!(0,N.t)(e)},F=function(e){var n=e.postResult;if(!n)return i.createElement(l.z,{error:new f});switch(n.__typename){case"Unauthorized":return i.createElement(s.W,{opt_isDraft:!0});case"NotFound":return i.createElement(d.u,null);case"AccountDeleted":return i.createElement(a.y,{code:410,title:"410 Deleted by author — Medium"},"User deactivated or deleted their account.");case"AccountSuspended":return i.createElement(o.s,{suspension:"account"});case"PostSuspended":return i.createElement(o.s,{suspension:"post"});case"Blocked":return i.createElement(a.y,{code:403,title:"403 Blocked — Medium"},"This user has blocked you from following them or viewing their stories.");case"Blocking":return i.createElement(a.y,{code:403,title:"403 Blocking — Medium"},"This story is not available because you have blocked the author."," ",i.createElement(c.N,{href:S.dZ2,inline:!0,linkStyle:"OBVIOUS",target:"_blank"},"Learn more"));case"RemovedByUser":return i.createElement(a.y,{code:410,title:"410 Deleted by author — Medium"},"The author deleted this Medium story.");case"UnavailableForLegalReasons":return i.createElement(r,{errorData:n});case"WithheldInCountry":return i.createElement(m,{errorData:n});default:return i.createElement(l.z,{error:new Error("Unsupported postResult: ".concat(n.__typename))})}}},54814:(e,n,t)=>{t.d(n,{W:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"InResponseToEntityPreview_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"inResponseToEntityType"}}]}}]}},39586:(e,n,t)=>{t.d(n,{d:()=>C});var i=t(96540),a=t(39181),l=t(69699),d=t(45639),o=t(16820),r=t(86975),m=t(52290),s=t(36557),c=t(44402),u=t(42976),k=t(86684),p=t(80591),v=t(27715),g=t(38893),f=t(46879),N=t(45458),S=t(49250),y=t(17290),F={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InResponseToPostPreviewQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"postId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inResponseToPostResult"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"Field",name:{kind:"Name",value:"responsesCount"}},{kind:"Field",name:{kind:"Name",value:"visibility"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"inResponseToMediaResource"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mediumQuote"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Quote_quote"}}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostResultError_postResult"}}]}}]}}].concat((0,N.A)(S.G.definitions),(0,N.A)(y.M.definitions))},h=function(e){return{fill:e.colorTokens.foreground.neutral.secondary.base}},E=function(e){var n=e.postId,t=e.postPreviewMarginBottom,N=(0,c.l)(),S=(0,a.I)(F,{variables:{postId:n}}),y=S.data,E=S.error,b=S.loading;if(E||b||!y||(0,l.M)(y.postResult))return null;var x=y.postResult,I=x.inResponseToMediaResource,R=x.inResponseToPostResult,T="Post"===(null==R?void 0:R.__typename)?R:void 0;if(!T||T.visibility===u.dL.UNLISTED)return null;var C=T.title,w=T.creator&&T.creator.name,_=T.clapCount||0,D=T.responsesCount||0,A=(null==I?void 0:I.mediumQuote)&&(0,g.H8)(I.mediumQuote),M=A&&A.type;return M===u.FU.IMG||M===u.FU.IFRAME||M===u.FU.COVER_TITLE||M===u.FU.HR||M===u.FU.MIXTAPE_EMBED||M===u.FU.SECTION_CAPTION?null:i.createElement(r.D,{href:(0,f.us)(T)},i.createElement(o.Z,{marginBottom:t},i.createElement(m.a,{paddingLeft:"20px",paddingRight:"20px"},A&&M&&i.createElement(m.a,{paddingBottom:"20px"},i.createElement(d.i,{paragraph:A,paragraphStyle:M,spaceTop:10,richTextStyle:"STREAM"})),i.createElement(m.a,{display:"flex"},i.createElement(m.a,{display:"flex",flexGrow:"1",flexShrink:"1",alignItems:"center"},i.createElement(s.kZ,{scale:"M",color:"DARKER",clamp:1,tag:"span"},C)),i.createElement(m.a,{display:"flex",flexGrow:"0",alignItems:"center"},_>0?i.createElement(m.a,{display:"flex",alignItems:"center"},i.createElement("span",{className:N(h)},i.createElement(m.a,{tag:k.A,marginRight:"4px"})),i.createElement(s.kZ,{scale:"M",tag:"div"},(0,v.Ct)(_))):null,D>0?i.createElement(m.a,{display:"flex",alignItems:"center"},i.createElement("span",{className:N(h)},i.createElement(m.a,{tag:p.A,marginLeft:"8px",marginRight:"4px"})),i.createElement(s.kZ,{scale:"M",tag:"div"},(0,v.Ct)(D))):null)),i.createElement(s.kZ,{scale:"M"},w))))},b=t(48188),x=t(85764),I=t(13397),R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InResponseToCatalogPreviewQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"postId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"inResponseToCatalogResult"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"CatalogsListItem_catalog"}}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostResultError_postResult"}}]}}]}}].concat((0,N.A)(I.m.definitions),(0,N.A)(y.M.definitions))},T=function(e){var n=e.postId,t=(0,x.sP)(),d=(0,a.I)(R,{variables:{postId:n}}),o=d.data,r=d.error,m=d.loading;if(r||m||!o||(0,l.M)(o.postResult))return null;var s=o.postResult.inResponseToCatalogResult,c=t("Catalog"===(null==s?void 0:s.__typename)?s.creator.id:"");return s&&"Catalog"===s.__typename&&(c||"PUBLIC"===s.visibility)?i.createElement(b.Y,{catalog:s}):null},C=(0,i.memo)((function(e){var n=e.post,t=e.padding,a=e.postPreviewMarginBottom,l=n.inResponseToEntityType;return l===u.HC.CATALOG?i.createElement(m.a,{padding:t},i.createElement(T,{postId:n.id})):l===u.HC.POST?i.createElement(m.a,{padding:t},i.createElement(E,{postId:n.id,postPreviewMarginBottom:a})):null}))},52859:(e,n,t)=>{t.d(n,{f:()=>d});var i=t(45458),a=t(3545),l=t(52897),d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublisherFollowButton_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionFollowButton_collection"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButton_user"}}]}}]}}].concat((0,i.A)(a.f.definitions),(0,i.A)(l.l.definitions))}},49250:(e,n,t)=>{t.d(n,{G:()=>o});var i=t(45458),a=t(59265),l=t(78002),d=t(4209),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Quote_quote"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Quote"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"quoteId"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"post"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"mediumUrl"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"startOffset"}},{kind:"Field",name:{kind:"Name",value:"endOffset"}},{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"markups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"anchorType"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"href"}},{kind:"Field",name:{kind:"Name",value:"rel"}},{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"userId"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TextParagraph_paragraph"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"buildQuotePreviewParagraph_quote"}}]}}].concat((0,i.A)(a.v0.definitions),(0,i.A)(l.Rc.definitions),(0,i.A)(d.E.definitions))}},8697:(e,n,t)=>{t.d(n,{W:()=>s});var i=t(96540),a=t(9942),l=t(85836),d=t(49287),o=t(39160),r=t(79959),m=t(46879),s=function(e){var n=e.opt_isDraft,t=e.opt_params,s=e.operation,c=e.opt_hash,u=e.opt_location,k=(0,o.d4)((function(e){return e.config.authDomain})),p=(0,o.d4)((function(e){return e.navigation.currentLocation})),v=(0,d.jI)(),g=(0,d.Zj)(),f=(0,r.ST)((0,m.cR0)(k),{operation:s||"login",redirect:(0,l.$q)(u||p,v,g,null,null,t,c),isDraft:n?"1":"0"});return i.createElement(a.r,{to:f,temporary:!0})}},16820:(e,n,t)=>{t.d(n,{Z:()=>d});var i=t(96540),a=t(52290),l=t(20239),d=function(e){var n=e.children,t=e.marginBottom,d=void 0===t?24:t,o=(0,l.D)();return i.createElement(a.a,{backgroundColor:"BACKGROUND",border:"neutral.primary",borderRadius:"5px",boxShadow:"0 1px 4px ".concat(o.colorTokens.border.neutral.primary.base),marginBottom:"".concat(d,"px"),padding:"23px 0"},n)}},60763:(e,n,t)=>{t.d(n,{A:()=>i});const i=t(5968).D.Consumer},66665:(e,n,t)=>{t.d(n,{_:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPresentationTracker_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}}]}}]}},4209:(e,n,t)=>{t.d(n,{E:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"buildQuotePreviewParagraph_quote"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Quote"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"markups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"startOffset"}},{kind:"Field",name:{kind:"Name",value:"endOffset"}}]}}]}}}]);
|
|
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/2961.00a48598.chunk.js.map
|