orgmode-to-gemini-blog/exports/html/L’aventure Superphénix🔥. Superphénix… s’il est un réacteur… _ by Dragonfeu _ Medium_fichiers/7975.d195c6f1.chunk.js

2 lines
8.5 KiB
JavaScript
Raw Normal View History

2024-11-02 18:30:04 +01:00
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[7975],{57975:(e,t,n)=>{n.d(t,{W:()=>W});var i=n(64467),a=n(96540),o=n(69733),l=n(74346),r=n(26557),s=n(22213),u=n(69650),d=n(12600),c=n(72541),p=n(11828),m=n(80182),v=n(80074),f=n(27721),b=n(1722),k=n(19228),g=n(43634),h=n(72130),C=n(49287),S=n(56743),y=n(39160),w=n(51771),O=n(46879),E=n(1491),N=n(32318),F=n(80045),P=n(65364),j=n(14281),D=n(1037),I=n(22541),V=n(54654),x=n(45458),L=n(52897),T=n(68037),A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PostVotersDialogQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"postId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pagingOptions"}},type:{kind:"NamedType",name:{kind:"Name",value:"PagingOptions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"post"},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:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"clapCount"}},{kind:"Field",name:{kind:"Name",value:"voterCount"}},{kind:"Field",name:{kind:"Name",value:"voters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paging"},value:{kind:"Variable",name:{kind:"Name",value:"pagingOptions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButton_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserInListDialog_user"}}]}},{kind:"Field",name:{kind:"Name",value:"clapCount"}}]}},{kind:"Field",name:{kind:"Name",value:"pagingInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"next"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"}}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButton_post"}}]}}]}}].concat((0,x.A)(L.l.definitions),(0,x.A)(T.x.definitions),(0,x.A)(L.c.definitions))},H=["__typename"];function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=10,U=function(e){var t=e.post,n=e.hide,i=e.isVisible,o=e.fetchMore,l=e.loading;if(!t)return null;var r=t.title,s=t.voters,u=t.clapCount,d=t.voterCount;return a.createElement(D.X,{isVisible:i,fetchMore:o,loading:l,hide:n,title:r,clapCount:null!=u?u:0,voterCount:null!=d?d:0,voters:s?s.items.map((function(e,n){var i=e.user,o=e.clapCount;return i&&a.createElement(C.Ne,{source:{name:"post_clappers",postId:t.id,index:n}},a.createElement(j.B,{user:i,key:i.id,followButton:a.createElement(V.P,{buttonSize:"SMALL",post:t,user:i,susiEntry:"follow_list",trackingV2:!0}),badge:a.createElement(I._,{clapCount:o}),trackingV2:!0}))})):null})};function M(e){var t=e.postId,n=e.isVisible,i=e.hide;return n?a.createElement(P.X,{ssr:!1,query:A,variables:{postId:t,pagingOptions:{limit:R}},notifyOnNetworkStatusChange:!0},(function(e){var t,o=e.data,l=(o=void 0===o?{}:o).post,r=e.loading,s=e.error,u=e.fetchMore;if(s||null==l||!l.voters)return null;var d=l.voters.pagingInfo&&l.voters.pagingInfo.next;if(d){d.__typename;var c=(0,F.A
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/7975.d195c6f1.chunk.js.map