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

3 lines
53 KiB
JavaScript
Raw Normal View History

2024-11-02 18:30:04 +01:00
/*! For license information please see 7394.e27cfbf2.chunk.js.LICENSE.txt */
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[7394],{27507:(e,t,n)=>{n.d(t,{A:()=>i});var r,o=n(96540);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}const i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.506 8.678.589-.59a5.01 5.01 0 0 1 2.474 3.91 6 6 0 0 0-1.01.88 4 4 0 0 0-1.144-3.291 4 4 0 0 0-1.047-.754q.063-.081.137-.155m6.566.909-1.556 1.555a5.7 5.7 0 0 1 1.55-.135l.713-.713a5 5 0 0 0-7.071-7.071L7.879 6.05a5 5 0 0 0 1.027 7.862l.59-.589q.074-.074.137-.155a4 4 0 0 1-1.047-6.411l2.829-2.828a4 4 0 1 1 5.657 5.657M11 16.927q0 .072.002.144l-1.709 1.708a5 5 0 0 1-7.07-7.071l2.382-2.383q.003.646.117 1.297L2.93 12.415a4 4 0 1 0 5.657 5.657l2.587-2.587A6 6 0 0 0 11 16.928M16.857 14a2.86 2.86 0 0 1 2.143.962A2.855 2.855 0 0 1 21.143 14 2.85 2.85 0 0 1 24 16.842c0 .728-.275 1.392-.727 1.895l-.225.237-3.342 3.324a1 1 0 0 1-1.411 0l-3.342-3.324-.225-.237A2.82 2.82 0 0 1 14 16.842 2.85 2.85 0 0 1 16.857 14m5.68 4.059-.204.216L19 21.589l-3.332-3.314-.205-.216A1.82 1.82 0 0 1 15 16.842 1.85 1.85 0 0 1 16.857 15c.557 0 1.054.241 1.395.626l.748.843.748-.843A1.86 1.86 0 0 1 21.143 15c1.03 0 1.857.83 1.857 1.842 0 .467-.173.891-.463 1.217",clipRule:"evenodd"})))}},15088:(e,t,n)=>{n.d(t,{h:()=>L,s:()=>A});var r=n(50014),o=n.n(r),a=n(6638),i=n.n(a),l=n(96540),c=n(29977),s=n(7580),u=n(22841),d=n(52290),m=n(86975),p=n(41299),f=n(5600),h=n(44402),v=n(42600),g=n(21202),V=n(18599),E=n(60213),y=n(64122),b=function(e){var t=e.diameter,n=e.zIndex,r=e.showBorder,o=e.borderColor;return function(e){return{display:"block",width:"".concat(r?t+4:t,"px"),height:"".concat(r?t+4:t,"px"),borderRadius:"50%",border:r?"".concat(2,"px solid ").concat(null!=o?o:e.backgroundColor):"none",zIndex:n}}},x=function(e){return{background:e.colorTokens.background.neutral.secondary.base,border:"2px solid white",borderRadius:"50%",width:"36px",height:"36px"}},w=function(e,t){return{display:"grid",alignItems:"end",gridTemplateColumns:"repeat(".concat(t,", ").concat(e.toPrecision(3),"%)")}},k=function(e){var t=e.numUsers,n=e.diameter,r=e.withAnimation,o=e.children,a=(0,h.l)(),i=(0,g.L)(),c=n*t,s=100/(t+1),u=t>1?(t>1?(n+4)*t:n)*(1-s/100):n,m=r?[w(s,t),function(){return i}]:w(s,t);return l.createElement(d.a,{width:"".concat(u,"px")},l.createElement(d.a,{width:"".concat(c,"px")},l.createElement("div",{className:a(m)},o)))},A=function(e){var t=e.maxNumEntities,n=void 0===t?12:t,r=e.entities,a=e.error,i=e.loading,c=e.entityElementKey,s=e.showNextAvatarOnTop,u=void 0!==s&&s,d=e.diameter,m=void 0===d?36:d,p=e.noBackgroundShadow,f=Math.min(r.length,n),h=l.useMemo((function(){return o()(r,(function(e){return e.id})).slice(0,f)}),[r,f]);return(f=h.length)?a?null:i?l.createElement(S,{numUsers:f,diamereter:m,entityElementKey:c,withAnimation:!0}):l.createElement(k,{numUsers:f,diameter:m},h.map((function(e,t){var n,o,a=u?t:r.length-t;if("Collection"===e.__typename)n=null===(o=e.avatar)||void 0===o?void 0:o.id;else if("User"===e.__typename)n=e.imageId;else if("NewsletterV3"===e.__typename){var i,s,d;n=e.collection?e.avatarImageId||(null===(i=e.collection)||void 0===i||null===(s=i.avatar)||void 0===s?void 0:s.id):null===(d=e.user)||void 0===d?void 0:d.imageId}return l.createElement(I,{key:"".concat(c,"-").concat(e.id),diameter:m,zIndex:a,showBorder:h.length>1,miroId:n,entityName:e.name,noBackgroundShadow:p})}))):null},I=function(e){var t=e.diameter,n=e.zIndex,r=e.showBorder,o=e.miroId,a=e.entityName,i=e.noBackgroundShadow,c=void 0===i||i,u=e.showAvatarBorder,d=void 0!==u&&u,m=e.showHoverState,p=void 0!==m&&m,f=e.borderColor,g=e.testId,V=(0,h.l)();return l.createElement("div",{className:V(b({diameter:t,zIndex:n,showBorder:r,borderColor:f}))},l.createElement(s.r,{miroId:o||v._3,alt:a||"",diameter:t,freezeGifs:!0,noBackgroundShadow:c,sho
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/7394.e27cfbf2.chunk.js.map