PageSourceSearch

https://playbook-workflow-builder.cloud/_next/static/chunks/8177.4a47cffde5c09c3d.js

js playbook-workflow-builder.cloud collected 2026-10-03 20:19:40 UTC 6,160 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8177],{98177:function(e,t,a){a.r(t),a.d(t,{default:function(){return S}});var n=a(24246),s=a(27378),i=a(7047),d=a(65218),o=a.n(d),c=a(80297),l=a(74033),r=a(85628),p=a(52108),u=a(78399),h=a(34051);let b=o()(()=>a.e(5387).then(a.bind(a,55387)).then(e=>{let{Breadcrumbs:t}=e;return t}),{loadableGenerated:{webpack:()=>[55387]}}),g=o()(()=>a.e(7969).then(a.bind(a,7969)).then(e=>{let{DataBreadcrumb:t}=e;return t}),{loadableGenerated:{webpack:()=>[7969]}}),x=o()(()=>a.e(7969).then(a.bind(a,7969)).then(e=>{let{ProcessBreadcrumb:t}=e;return t}),{loadableGenerated:{webpack:()=>[7969]}}),k=o()(()=>a.e(3852).then(a.bind(a,93852)),{loadableGenerated:{webpack:()=>[93852]}}),f=o()(()=>a.e(4203).then(a.bind(a,24203)),{loadableGenerated:{webpack:()=>[24203]}}),m=o()(()=>a.e(9957).then(a.bind(a,9957)),{loadableGenerated:{webpack:()=>[9957]}}),j=o()(()=>a.e(4185).then(a.bind(a,94185)),{loadableGenerated:{webpack:()=>[94185]}}),w=o()(()=>Promise.all([a.e(864),a.e(9009)]).then(a.bind(a,99009)),{loadableGenerated:{webpack:()=>[99009]}}),v=o()(()=>a.e(4294).then(a.bind(a,74294)),{loadableGenerated:{webpack:()=>[74294]}}),G=o()(()=>Promise.all([a.e(864),a.e(7104)]).then(a.bind(a,37104)),{loadableGenerated:{webpack:()=>[37104]}}),y=o()(()=>a.e(1205).then(a.bind(a,1205)),{loadableGenerated:{webpack:()=>[1205]}}),_=o()(()=>a.e(6364).then(a.bind(a,16364)),{loadableGenerated:{webpack:()=>[16364]}}),Z=o()(()=>a.e(533).then(a.bind(a,60533)),{loadableGenerated:{webpack:()=>[60533]}});function S(e){let{session_id:t,graph_id:a,node_id:d,thread_id:o,extend:S,suggest:N}=e,C=(0,c.e)(),P=(0,r.Z)({session_id:t}),{data:E=[]}=(0,l.aD)(a),M=s.useMemo(()=>(0,h.l4)(d.split(",")),[d]),q=s.useMemo(()=>E.filter(e=>{let{id:t}=e;return M.has(t)}),[E,M]),D=s.useMemo(()=>u.S1(E.map(e=>({key:e.process.id,value:"".concat(e.id,":").concat(e.process.id)}))),[E]);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(w,{session_id:t,children:[(0,n.jsxs)("div",{className:"flex items-center justify-center",children:[(0,n.jsxs)(b,{children:[(0,n.jsx)(g,{index:0,id:"start",label:"Start",active:"start"===d&&!S,icon:[i.S0],parents:[],onClick:()=>{C.push("".concat(t?"/session/".concat(t):"","/graph/").concat(a).concat("start"!==a?"/node/start":""),void 0,{shallow:!0})}},"start"),E.flatMap((e,s)=>{let d=P.getProcessNode(e.process.type);return void 0===d?[]:[(0,n.jsx)(x,{index:2*s+1,id:e.id,label:d.meta.label,head:e,active:!1,icon:d.meta.icon||[i.qn],parents:u.xb(e.process.inputs)?["start"]:u.VO(e.process.inputs).map(e=>{let{id:t}=e;return D[t]}),onClick:n=>{if(n.shiftKey){let n=M.has(e.id)?M.delete(e.id).join(","):M.add(e.id).join(",");n&&C.push("".concat(t?"/session/".concat(t):"","/graph/").concat(a,"/node/").concat(n,"/extend"),void 0,{shallow:!0})}else C.push("".concat(t?"/session/".concat(t):"","/graph/").concat(a).concat(a!==e.id?"/node/".concat(e.id):""),void 0,{shallow:!0})}},e.id),(0,n.jsx)(g,{index:2*s+2,id:"".concat(e.id,":").concat(e.process.id),label:d.output.meta.label,head:e,active:M.has(e.id),icon:d.output.meta.icon||[i.yU],parents:[e.id],onClick:n=>{if(n.shiftKey){let n=M.has(e.id)?M.delete(e.id).join(","):M.add(e.id).join(",");n&&C.push("".concat(t?"/session/".concat(t):"","/graph/").concat(a,"/node/").concat(n,"/extend"),void 0,{shallow:!0})}else C.push("".concat(t?"/session/".concat(t):"","/graph/").concat(a).concat(a!==e.id?"/node/".concat(e.id):""),void 0,{shallow:!0})}},"".concat(e.id,":").concat(e.process.id))]}),(0,n.jsx)(x,{index:2*E.length+1,id:"extend",label:"Extend",active:S||N,icon:i.Qh,parents:[...0===q.length?["start"]:[],...q.length>0?q.map(e=>"".concat(e.id,":").concat(e.process.id)):[]],onClick:()=>{C.push("".concat(t?"/session/".concat(t):"","/graph/").concat(a).concat(a!==d?"/node/".concat(d):"","/extend"),void 0,{shallow:!0})}},"extend")]}),(0,n.jsx)(Z,{disabled:!!t}),(0,n.jsx)(v,{session_id:t}),(0,n.jsx)(G,{session_id:t}),(0,n.jsx)(y,{session_id:t}),(0,n.jsx)(_,{session_id:t,graph_id:a})]}),(0,n.jsx)("main",{className:"flex-grow flex flex-col",children:N?(0,n.jsx)(m,{session_id:t,krg:P,id:a,head:q[0]}):S?(0,n.jsx)(f,{session_id:t,krg:P,id:a,heads:q,metapath:E}):"start"===d?(0,n.jsx)(k,{}):1===q.length?(0,n.jsx)(p.F,{krg:P,metapath:E,children:(0,n.jsx)(j,{session_id:t,krg:P,id:a,head:q[0],metapath:function(e,t){let a={},n=u.S1(e.map(e=>({key:e.process.id,value:e}))),s=[t];for(;;){let e=s.pop();if(!e)break;a[e.id]=!0,Object.values(e.process.inputs).map(e=>{s.push(n[e.id])})}return e.filter(e=>{let{id:t}=e;return!0===a[t]})}(E,q[0])})}):null})]})})}o()(()=>Promise.all([a.e(864),a.e(6600)]).then(a.bind(a,36600)),{loadableGenerated:{webpack:()=>[36600]}})},85628:function(e,t,a){a.d(t,{Z:function(){return p}});var n=a(24246),s=a(27378),i=a(78399),d=a(17400),o=a(56630),c=a(85122),l=a(65218);let r=a.n(l)()(()=>a.e(1297).then(a.bind(a,91297)),{loadableGenerated:{webpack:()=>[91297]}});function p(e){let{session_id:t}=e,{data:a,error:l}=(0,c.ZP)("/api/suggest",{refreshInterval:0}),[p,u]=s.useState({krg:o.Z});return s.useEffect(()=>
1{if(a)for(let e of i.VO(a)){let t=o.Z.getDataNode(e.output);if(void 0===t&&(t=(0,d.q)(e.output).meta({label:"".concat(e.output," (Suggestion)"),description:"A data type, suggested as part of ".concat(e.name),pagerank:-100}).codec().view(t=>(0,n.jsxs)("div",{children:["This data type was suggested as part of ",e.name]})).build(),o.Z.add(t),u({krg:o.Z})),void 0===o.Z.getProcessNode(e.name)){let a=(0,d.q)(e.name).meta({label:"".concat(e.name," (Suggestion)"),description:e.description,pagerank:-100}).inputs(e.inputs?i.S1(e.inputs.split(",").map((e,t)=>({key:t.toString(),value:o.Z.getDataNode(e)})).filter(e=>{let{key:t,value:a}=e;return!!a})):{}).output(t).prompt(t=>(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:e.description}),(0,n.jsxs)("p",{children:["This was suggested by ",e.user?(0,n.jsx)(r,{user:e.user}):(0,n.jsx)(n.Fragment,{children:"a playbook workflow builder user"}),"."]})]})).story(a=>({abstract:'It is suggested that "'.concat(e.description,'" be applied to the inputs: ').concat(e.inputs," to get a ").concat(t.meta.label,".")})).build();o.Z.add(a),u({krg:o.Z})}}},[a]),p.krg}}}]);

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.