"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["54360"],{265418:function(e,s,l){l.r(s),l.d(s,{ShareHTMLArtifactModal:()=>h});var n=l(397458),o=l(617580);l(652983);var c=l(87608),t=l.n(c),a=l(628098),i=l(335066),r=l(12445),d={modal:"modal-u_msEb",closeIcon:"closeIcon-JfWbUO",sideSheet:"sideSheet-VvqjAi",content:"content-Wzivfm"},h=e=>{var{visible:s,uniqueId:l,artifactsHTMLData:c,artifactsHTMLPath:h,onRequestResource:u,className:m,isWideMode:b=!0,onClose:f}=e,x=()=>(0,n.jsx)("div",{className:d.content,children:(0,n.jsx)(r.N,{source:"artifacts",sourceCodeType:"html",htmlEntry:c,htmlEntryPath:h,onRequestResource:u,uniqueId:l})});return c||h?(0,n.jsx)("div",{children:b?(0,n.jsx)(a.Z,{visible:s,header:(0,n.jsx)(o.Z,{onClick:f,className:d.closeIcon}),className:t()(d.modal,m),centered:!0,maskClosable:!1,zIndex:2e3,footer:null,closeOnEsc:!0,onClose:f,children:x()}):(0,n.jsx)(i.Z,{className:d.sideSheet,placement:"bottom",title:null,closeIcon:(0,n.jsx)(o.Z,{}),visible:s,onCancel:f,children:x()})}):null}}}]);
//# sourceMappingURL=canvas-code-modal.js.map