1import{bL as s,a5 as x,j as e,cl as l,r as c}from"./vendor-BBNELK6W_bundle.js";import{C as h}from"./slackIntegration-CyZu6SDu_bundle.js";import{F as r,H as d,a2 as n,T as a,G as g,a3 as u}from"./registration-8fW6h2tH_bundle.js";import"./moment-Dt2i7U-U_bundle.js";import{k4 as w,e as f}from"./index-yTdTJQbB_bundle.js";import"./datadog-DxmyjtSX_bundle.js";import"./sentry-Bq-jBV13_bundle.js";import"./stripe-rL9tfl_U_bundle.js";import"./speedboat-vendor-DJ0pA_pR_bundle.js";const m=s.button.withConfig({displayName:"ui__WorkFlowAction"})(["display:flex;flex-direction:column;gap:16px;width:304px;min-height:220px;padding:24px;background:#fff;box-shadow:0px 5px 20px 0px rgba(79,83,102,0.08);border-radius:16px;text-align:left;opacity:",";"],({$isLocked:t})=>t?.6:1),j=s.div.withConfig({displayName:"ui__IconWrapper"})(["display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:",";color:",";border-radius:50%;background:#e4e4e5;"],({$padding:t})=>t||"10px",({theme:t})=>t.text.neutral700),k=s.div.withConfig({displayName:"ui__BetaTagWrapper"})(["padding:4px 8px;color:",";font-size:12px;font-weight:500;border:solid 1px ",";border-radius:6px;"],({theme:t})=>t.text.neutral700,({theme:t})=>t.delimiter.neutral400),b=s(r).withConfig({displayName:"ui__NewTagWrapper"})(["padding:4px 8px;color:",";font-size:12px;font-weight:500;background:",";border-radius:6px;"],({theme:t})=>t.text.green500,({theme:t})=>x(t.text.green500,.1)),W=s.div.withConfig({displayName:"ui__LockIconWrapper"})(["width:24px;height:24px;display:flex;align-items:center;justify-content:center;align-self:flex-start;opacity:0.6;color:",";"],({theme:t})=>t.text.neutral700),y=s.svg.withConfig({displayName:"NewTagIcon__Svg"})(["width:",";height:",";"],t=>`${t.$width}px`,t=>`${t.$height}px`),$=({width:t,height:o}={})=>{const i=t||13,p=o||13;return e.jsx(y,{$height:p,$width:i,fill:"none",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3.32.504A.676.676 0 0 1 4.578.503l.699 1.768a.676.676 0 0 0 .381.38l1.77.696a.676.676 0 0 1 0 1.258l-1.768.699a.676.676 0 0 0-.38.381l-.696 1.77a.676.676 0 0 1-1.258 0l-.7-1.768a.676.676 0 0 0-.38-.38L.476 4.61a.676.676 0 0 1 0-1.258l1.768-.7a.676.676 0 0 0 .38-.38L3.32.503ZM9.014 6.913a.372.372 0 0 1 .691 0l.542 1.37a.372.372 0 0 0 .21.21l1.372.54a.372.372 0 0 1 0 .69l-1.37.543a.371.371 0 0 0-.21.21l-.54 1.371a.372.372 0 0 1-.691.001l-.542-1.371a.371.371 0 0 0-.21-.21l-1.372-.54a.372.372 0 0 1 0-.69l1.371-.542a.372.372 0 0 0 .21-.21l.539-1.372Z",fill:"#2B8444"})})},v=()=>{const{t}=l(),o=w();return e.jsx(r,{wrap:!0,gap:24,children:o.map(i=>e.jsx(m,{"data-testid":`${i.id}-workflow`,onClick:i.onClick,$isLocked:i.isLocked,children:e.jsx(d,{fullHeight:!0,children:e.jsxs(r,{column:!0,gap:16,children:[e.jsxs(r,{alignItems:"center",height:"40px",justifyContent:"space-between",children:[e.jsx(j,{$padding:i.iconPadding,"data-testid":`${i.id}-workflow-icon`,children:i.icon&&i.icon()}),i.isLocked?e.jsx(W,{children:e.jsx(f,{width:24,height:24})}):e.jsxs(r,{gap:10,children:[e.jsx(n,{when:i.isBeta,children:e.jsx(k,{children:t("common.beta")})}),e.jsx(n,{when:i.isNew,children:e.jsxs(b,{alignItems:"center",gap:4,children:[e.jsx($,{}),e.jsx("span",{children:t("common.new")})]})})]})]}),e.jsxs(r,{column:!0,fullHeight:!0,gap:4,children:[e.jsx(a,{neutral700:!0,semibold:!0,"data-testid":`${i.id}-workflow-title`,lineHeight:"normal",size:"20px",children:i.title}),e.jsx(a,{neutral500:!0,"data-testid":`${i.id}-workflow-description`,size:"14px",children:i.subTitle})]})]})})},i.id))})},F=()=>{const{t}=l();return c.useEffect(()=>{g.viewWorkflowsPage()},[]),e.jsx(h,{$greyBg:!0,children:e.jsx(d,{horizontal:40,vertical:32,children:e.jsxs(r,{column:!0,gap:16,children:[e.jsxs(r,{column:!0,gap:12,children:[e.jsx(a,{as:"h1",children:t("workflows.heading")}),e.jsx(a,{block:!0,neutral700:!0,smallSize:!0,maxWidth:"600px",children:t("workflows.subheading")}),e.jsx(u,{neutral200:!0,height:"1px",width:"100%"})]}),e.jsx(v,{})]})})})};export{F as default}; 2//# sourceMappingURL=workflows-G4GIsalP_bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.