orgmode-to-gemini-blog/exports/html/Récapitulatif de mon contenu twitter - Dragonfeu - Medium_fichiers/8393.826a25fb.chunk.js

2 lines
21 KiB
JavaScript
Raw Normal View History

2024-11-02 18:30:04 +01:00
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[8393],{23448:(e,n,t)=>{t.d(n,{A:()=>o});var i,a=t(96540);function r(){return r=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},r.apply(null,arguments)}const o=function(e){return a.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 25 25"},e),i||(i=a.createElement("path",{fill:"currentColor",d:"M18 2.5a.5.5 0 0 1 1 0V5h2.5a.5.5 0 0 1 0 1H19v2.5a.5.5 0 1 1-1 0V6h-2.5a.5.5 0 0 1 0-1H18zM7 7a1 1 0 0 1 1-1h3.5a.5.5 0 0 0 0-1H8a2 2 0 0 0-2 2v14a.5.5 0 0 0 .805.396L12.5 17l5.695 4.396A.5.5 0 0 0 19 21v-8.5a.5.5 0 0 0-1 0v7.485l-5.195-4.012a.5.5 0 0 0-.61 0L7 19.985z"})))}},79766:(e,n,t)=>{t.d(n,{c:()=>r});var i=t(96540),a=t(39160);function r(e){var n=e.disabled,t=e.message,r=void 0===t?"Changes you made may not be saved.":t,o=(0,a.d4)((function(e){return e.client.hydrated}));i.useEffect((function(){if(!n&&o)return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)};function e(e){return e.preventDefault(),e.returnValue=r,r}}),[n,r,o])}},93948:(e,n,t)=>{t.d(n,{f:()=>ce});var i,a=t(58168),r=t(80045),o=t(80296),l=t(39181),d=t(96540),c=t(64467),s=t(45458),u=t(22554),v=t(11818),p=t(52290),g=t(86527),m=t(36557),f=t(44402),k=t(91830),b=t(30142),y=t(77662),h=t(53424),w=t(42976);function C(){return C=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},C.apply(null,arguments)}const O=function(e){return d.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:10,height:13,fill:"none",viewBox:"0 0 10 13"},e),i||(i=d.createElement("path",{fill:"#A8A8A8",fillRule:"evenodd",d:"M2.727 3.082C2.727 1.905 3.74.935 5 .935s2.273.973 2.273 2.147v2.436H2.727zM8.19 5.518h-.007V3.082C8.182 1.378 6.747 0 5 0 3.252 0 1.818 1.373 1.818 3.082v2.436h-.007c-.48.002-.941.2-1.28.55S0 6.892 0 7.387v3.744c0 .246.045.489.136.715.09.227.224.433.392.607s.368.311.588.405.457.142.695.142h6.378c.48-.002.941-.2 1.28-.55s.53-.824.531-1.319V7.387c0-.246-.045-.489-.136-.715a1.9 1.9 0 0 0-.392-.607 1.8 1.8 0 0 0-.588-.405 1.8 1.8 0 0 0-.695-.142",clipRule:"evenodd"})))};var E=t(15371),P=t(5521);function I(e){var n,t,i=e.children,a=e.target,r=e.kind,l=e.catalog,c=e.viewer,s=d.useMemo((function(){if(l.predefined){var e,n=null===(e=a.viewerEdge.catalogsConnection)||void 0===e?void 0:e.predefinedContainingThis.find((function(e){return e.predefined===l.predefined}));return[!!n,null==n?void 0:n.catalogItemIds]}var t,i=null===(t=a.viewerEdge.catalogsConnection)||void 0===t?void 0:t.catalogsContainingThis.find((function(e){return e.catalogId===l.id}));return[!!i,null==i?void 0:i.catalogItemIds]}),[l.predefined,l.id,a.viewerEdge]),u=(0,o.A)(s,2),v=u[0],p=u[1],g=(0,P.EH)(c.id,l.id,l.version,a.id,r,null!==(n=l.predefined)&&void 0!==n?n:void 0),m=(0,o.A)(g,2),f=m[0],k=m[1].loading,b=(0,P.$O)(c.id,l.id,l.version,[{entityId:a.id,entityType:r,catalogItemIds:p||[]}],null!==(t=l.predefined)&&void 0!==t?t:void 0),y=(0,o.A)(b,2),h=y[0],w=y[1].loading;return i({toggleInsideCatalog:v?h:f,isInsideCatalog:v,loading:k||w})}var N={display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:"16px",paddingRight:"5px"},S=function(e){return{marginBottom:"1px","& path":{fill:e.colorTokens.border.neutral.secondary.base}}};function T(e){var n=e.catalog,t=e.target,i=e.kind,a=e.viewer,r=(0,f.l)();return d.createElement(I,{viewer:a,target:t,kind:i,catalog:n},(function(e){var t=e.toggleInsideCatalog,i=e.isInsideCatalog,a=e.loading,o=n.predefined?(0,E.cm)(n.predefined):n.name;return d.createElement("div",{className:r(N)},d.createElement(h.S,{key:n.id,checked:i,checkboxStyle:"OBVIOUS",onChange:t,disabled:a||n.visibility===w.y_.LOCKED,textScale:"L",clampText:1},o),n.visibility!==w.y_.PUBLIC&&d.createElement(p.a,{paddingLeft:"8px"},d.createElement(O,{className:r(S)})))}))}function j(
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/8393.826a25fb.chunk.js.map