1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3e3],{7010:(e,l,n)=>{"use strict";n.d(l,{I:()=>s});var a=n(12115);function s(){let[e,l]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{var e,n;let a=null==(e=(n=window).matchMedia)?void 0:e.call(n,"(prefers-reduced-motion: reduce)");if(!a)return;l(a.matches);let s=e=>l(e.matches);return a.addEventListener("change",s),()=>a.removeEventListener("change",s)},[]),e}},22391:e=>{e.exports={app:"AppMock_app__GwX6n",ws:"AppMock_ws__VlO7y",wsName:"AppMock_wsName__up_Wd",wsLogo:"AppMock_wsLogo__4a7QW",wsEnd:"AppMock_wsEnd__n_a1k",pageHead:"AppMock_pageHead__gFyST",pageTitle:"AppMock_pageTitle__e_YhW",pageLead:"AppMock_pageLead__QDNwB",live:"AppMock_live__N16WT"}},24210:e=>{e.exports={stage:"ManageDemo_stage__0QWGw",sync:"ManageDemo_sync__aOtTe",syncDot:"ManageDemo_syncDot__FbBho",syncBusy:"ManageDemo_syncBusy__bBJQL",blink:"ManageDemo_blink__2KK4x",syncDone:"ManageDemo_syncDone__3MaCO",panel:"ManageDemo_panel__s97WD",bar:"ManageDemo_bar__vCCcD",body:"ManageDemo_body__TmaXn",rail:"ManageDemo_rail__NemXm",tab:"ManageDemo_tab__9GToQ",tabOn:"ManageDemo_tabOn__1qMnb",main:"ManageDemo_main__SKRye",steps:"ManageDemo_steps__JhZL5",step:"ManageDemo_step__ItJ4a",stepHot:"ManageDemo_stepHot__nshrW",num:"ManageDemo_num__l2FPf",stepName:"ManageDemo_stepName__KXB2A",chips:"ManageDemo_chips__PyTu2",chip:"ManageDemo_chip__ROOIe",chipAi:"ManageDemo_chipAi__HP96z",chipData:"ManageDemo_chipData__k_2RY",chipRule:"ManageDemo_chipRule__xdTqR",chipCode:"ManageDemo_chipCode__qXcNM",log:"ManageDemo_log__2oXSz",logTitle:"ManageDemo_logTitle__wfK3k",logList:"ManageDemo_logList__hSN6L",logItem:"ManageDemo_logItem__e4_Bt",logMeta:"ManageDemo_logMeta__bVeze",logEmpty:"ManageDemo_logEmpty__LaSlO",term:"ManageDemo_term__ND1yb",termBar:"ManageDemo_termBar__tt1uB",termDots:"ManageDemo_termDots__GvQN5",termTitle:"ManageDemo_termTitle__fmtNb",replay:"ManageDemo_replay__2B2_S",termBody:"ManageDemo_termBody__71jB8",line:"ManageDemo_line__DGJZy",lineDim:"ManageDemo_lineDim__hLSyA",lineOk:"ManageDemo_lineOk__K7pb_",lineWork:"ManageDemo_lineWork__90n_a",lineCmd:"ManageDemo_lineCmd__zF5Wr",lineLink:"ManageDemo_lineLink__YahRR",prompt:"ManageDemo_prompt__uVWn_",glyph:"ManageDemo_glyph__pnbgJ",cursor:"ManageDemo_cursor__Wjw05",playing:"ManageDemo_playing__I_bp0",lineNew:"ManageDemo_lineNew__KHsNh",lineIn:"ManageDemo_lineIn__sciPE",chipNew:"ManageDemo_chipNew__c_hno",pop:"ManageDemo_pop__XEHa4",logEmptyItem:"ManageDemo_logEmptyItem__barfD",rise:"ManageDemo_rise__CGU5P"}},35915:(e,l,n)=>{"use strict";n.d(l,{X:()=>t});var a=n(95155),s=n(92835);function t(e){let{text:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,s.r)(l).map((e,l)=>"bold"===e.type?(0,a.jsx)("b",{children:e.value},l):"code"===e.type?(0,a.jsx)("code",{children:e.value},l):e.value)})}},70588:(e,l,n)=>{"use strict";n.d(l,{W:()=>s});var a=n(12115);function s(){let{threshold:e=.35,once:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,a.useRef)(null),[s,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let a=n.current;if(!a||"undefined"==typeof IntersectionObserver)return;let s=new IntersectionObserver(e=>{let n=e.some(e=>e.isIntersecting);t(e=>l&&e||n)},{threshold:e});return s.observe(a),()=>s.disconnect()},[l,e]),[n,s]}},72108:e=>{e.exports={avatar:"ControlDemo_avatar__dtpPt",panel:"ControlDemo_panel__zJ94D",bar:"ControlDemo_bar__C_kYf",crumb:"ControlDemo_crumb__35q5J",tenants:"ControlDemo_tenants__EQS7b",tenant:"ControlDemo_tenant__eJv8i",dot:"ControlDemo_dot__bADZc",logo:"ControlDemo_logo__ffVhq",body:"ControlDemo_body__k0G5_",rail:"ControlDemo_rail__sekMf",search:"ControlDemo_search__GRUI4",tab:"ControlDemo_tab__p7IbA",main:"ControlDemo_main__TmmL7",col:"ControlDemo_col__nwGDK",lead:"ControlDemo_lead__myxkj",card:"ControlDemo_card__pBwxJ",pair:"ControlDemo_pair__mmd1I",cardHead:"ControlDemo_cardHead__7MIlf",cardTitle:"ControlDemo_cardTitle___7sm_",steps:"ControlDemo_steps__WDhnL",step:"ControlDemo_step__YmGlx",node:"ControlDemo_node__2fQOh",num:"ControlDemo_num__hh2wk",nodeName:"ControlDemo_nodeName___RujC",on:"ControlDemo_on__7VAyE",ai:"ControlDemo_ai__FO867",data:"ControlDemo_data__wVUjS",chip:"ControlDemo_chip__VvDYv",chipLetter:"ControlDemo_chipLetter__wCMbp",chipName:"ControlDemo_chipName__auHLq",detail:"ControlDemo_detail__EzL_M",stores:"ControlDemo_stores__hwUtz",store:"ControlDemo_store__f9E60",storeHead:"ControlDemo_storeHead__7BV_4",storeLetter:"ControlDemo_storeLetter__SA_Kg",storeText:"ControlDemo_storeText__3dXRC",storeName:"ControlDemo_storeName__hDRtk",storeTypes:"ControlDemo_storeTypes__5CS06",storeCount:"ControlDemo_storeCount__E1p9U",storeItems:"ControlDemo_storeItems__YGsRA",storeItem:"ControlDemo_storeItem__yGYBz",note:"ControlDemo_note__bgw9d",cardList:"ControlDemo_cardList__UiEhA",clients:"ControlDemo_clients__7kjXP",clientRow:"ControlDemo_clientRow__Wy4UW",clientButton:"ControlDemo_clientButton__Kmmpc",addClient:"ControlDemo_addClient__HnvhZ",clientName:"ControlDemo_clientName__oxKR_",clientFact:"ControlDemo_clientFact__q6myl",clientStatus:"ControlDemo_clientStatus__2vUPG",sect:"ControlDemo_sect__8qNr8",sectTitle:"ControlDemo_sectTitle__7Y0rB",sectBody:"ControlDemo_sectBody__gXHX6",row:"ControlDemo_row__FDTAl",rowLabel:"ControlDemo_rowLabel__43USN",rowCode:"ControlDemo_rowCode__GnJq_",stats:"ControlDemo_stats__5ZEFZ",stat:"ControlDemo_stat__Z4gZn",statLabel:"ControlDemo_statLabel__JUzJm",statValue:"ControlDemo_statValue__bFABr",select:"ControlDemo_select__a2GZX",btn:"ControlDemo_btn__OGACP",enter:"ControlDemo_enter__LP3Y0",rise:"ControlDemo_rise__wzdK_",swap:"ControlDemo_swap__tlmFh"}},75374:(e,l,n)=>{"use strict";n.d(l,{w:()=>o});var a=n(95155),s=n(72504);let t={sm:"v3-h2-sm",md:"v3-h2",lg:"v3-h2-lg"};function o(e){let{heading:l,highlight:n,subheading:o,kicker:i,size:r="md",as:c="h2",id:d,className:u="",subheadingClassName:m=""}=e;return(0,a.jsxs)("div",{className:u,children:[i?(0,a.jsx)("p",{className:"v3-kicker mb-4",children:i}):null,(0,a.jsx)(c,{id:d,className:"v3-heading ".concat(t[r]),children:(0,a.jsx)(s.z,{text:l,highlight:n})}),o?(0,a.jsx)("p",{className:"v3-sub ".concat(m),children:o}):null]})}},92835:(e,l,n)=>{"use strict";n.d(l,{r:()=>s,u:()=>t});let a=/\*\*([^*]+)\*\*|`([^`]+)`/g;function s(e){if(!e)return[];let l=[],n=0;for(let o of e.matchAll(a)){var s,t;let a=null!=(s=o.index)?s:0;a>n&&l.push({type:"text",value:e.slice(n,a)}),l.push(void 0!==o[1]?{type:"bold",value:o[1]}:{type:"code",value:null!=(t=o[2])?t:""}),n=a+o[0].length}return n<e.length&&l.push({type:"text",value:e.slice(n)}),l}function t(e){return e?e.split(/\r?\n/).map(e=>
1e.trim()).filter(Boolean):[]}},93e3:(e,l,n)=>{"use strict";n.r(l),n.d(l,{ProductDemoBlock:()=>J});var a=n(95155),s=n(75374),t=n(96158),o=n.n(t),i=n(12115),r=n(70588),c=n(7010);let d={home:(0,a.jsx)("path",{d:"M4 11l8-7 8 7v9h-5v-6H9v6H4z"}),flow:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"3",y:"4",width:"7",height:"6",rx:"1.5"}),(0,a.jsx)("rect",{x:"14",y:"14",width:"7",height:"6",rx:"1.5"}),(0,a.jsx)("path",{d:"M6.5 10v4a3 3 0 0 0 3 3H14"})]}),db:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("ellipse",{cx:"12",cy:"6",rx:"7",ry:"3"}),(0,a.jsx)("path",{d:"M5 6v12c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12c0 1.7 3.1 3 7 3s7-1.3 7-3"})]}),users:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"9",cy:"8",r:"3.5"}),(0,a.jsx)("path",{d:"M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6"}),(0,a.jsx)("path",{d:"M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2 .8 3 2.8 3 6"})]}),search:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"11",cy:"11",r:"6"}),(0,a.jsx)("path",{d:"M20 20l-4.5-4.5"})]}),spark:(0,a.jsx)("path",{d:"M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z"}),term:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),(0,a.jsx)("path",{d:"M7 9l3 3-3 3M12 15h5"})]}),down:(0,a.jsx)("path",{d:"M6 9l6 6 6-6"}),code:(0,a.jsx)("path",{d:"M9 8l-4 4 4 4M15 8l4 4-4 4"}),replay:(0,a.jsx)("path",{d:"M21 12a9 9 0 1 1-2.6-6.4M21 3v6h-6"})};function u(e){let{name:l,className:n}=e;return(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",className:n,children:d[l]})}var m=n(22391),_=n.n(m),p=n(72108),h=n.n(p),v=n(35915),x=n(92835);let j=["tables","records","files"];function g(e,l){return(0,x.u)(null==e?void 0:e[l])}function N(e,l){var n,a;let s=[];for(let t of null!=(n=null==e?void 0:e.data)?n:[]){if(!(null==t?void 0:t.store)||!j.includes(t.store))continue;let e=g(l,t.store)[(null!=(a=t.item)?a:1)-1];e&&s.push({store:t.store,name:e})}return s}function y(e,l){var n;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return"";let s=null!=(n=null==l?void 0:l.name)?n:"";return e.replace(/\{(client(?:['â]s)?|data(\d+))\}/g,(e,l,n)=>{var t,o;return n?null!=(o=null==(t=a[Number(n)-1])?void 0:t.name)?o:"":"client"===l?s:s?"".concat(s).concat(/s$/i.test(s)?"â":"âs"):""})}let D=function(){for(var e=arguments.length,l=Array(e),n=0;n<e;n++)l[n]=arguments[n];return l.filter(Boolean).join(" ")};function b(e){let{content:l,end:n}=e,s=null==l?void 0:l.workspaceName,t=null==l?void 0:l.workspaceMark;return s||t||n?(0,a.jsxs)("div",{className:_().ws,children:[t?(0,a.jsx)("span",{className:_().wsLogo,"aria-hidden":"true",children:t}):null,s?(0,a.jsx)("span",{className:_().wsName,children:s}):null,n?(0,a.jsx)("span",{className:_().wsEnd,children:n}):null]}):null}function f(e){let{title:l,lead:n,leadClassName:s}=e;return l||n?(0,a.jsxs)("div",{className:_().pageHead,children:[l?(0,a.jsx)("h3",{className:_().pageTitle,children:l}):null,n?(0,a.jsx)("p",{className:D(_().pageLead,s),children:n}):null]}):null}let w={overview:"home",workflows:"flow",curate:"db",clients:"users"};function k(e){var l;let{client:n}=e,s=(l=n.logo)&&"object"==typeof l&&l.url?l.url:null;return s?(0,a.jsx)("img",{className:h().logo,src:s,alt:"",width:16,height:16,loading:"lazy",decoding:"async"}):(0,a.jsx)("span",{className:h().dot,style:{background:n.colour||void 0},"aria-hidden":"true"})}function C(e){let{text:l}=e;return l?(0,a.jsxs)("p",{className:h().note,children:[(0,a.jsx)(u,{name:"spark"}),l]}):null}function M(e){let{content:l,client:n,clientIndex:s}=e;if(!l)return null;let t=[{label:l.editedInLabel,value:l.toolName},{label:l.statusLabel,value:n.status},{label:l.submissionsLabel,value:n.submissions}].filter(e=>e.label&&e.value),o=l.accessTitle||l.accessBody||l.accessLabel,i=l.shareTitle||l.shareBody||n.url;return(0,a.jsxs)(a.Fragment,{children:[l.buildTitle||l.buildBody||l.toolName?(0,a.jsxs)("div",{className:D(h().card,h().sect),children:[l.buildTitle?(0,a.jsx)("span",{className:h().sectTitle,children:l.buildTitle}):null,l.buildBody?(0,a.jsx)("p",{className:h().sectBody,children:l.buildBody}):null,l.toolName?(0,a.jsxs)("div",{className:h().row,children:[(0,a.jsxs)("span",{className:h().rowLabel,children:[(0,a.jsx)(u,{name:"term"}),l.toolName]}),l.toolStatus?(0,a.jsx)("span",{className:_().live,children:l.toolStatus}):null]}):null]}):null,t.length?(0,a.jsx)("div",{className:D(h().card,h().stats),children:t.map(e=>(0,a.jsxs)("div",{className:h().stat,children:[(0,a.jsx)("span",{className:h().statLabel,children:e.label}),(0,a.jsx)("span",{className:h().statValue,children:e.value},s)]},e.label))}):null,o||i?(0,a.jsxs)("div",{className:h().pair,children:[o?(0,a.jsxs)("div",{className:D(h().card,h().sect),children:[l.accessTitle?(0,a.jsx)("span",{className:h().sectTitle,children:l.accessTitle}):null,l.accessBody?(0,a.jsx)("p",{className:h().sectBody,children:l.accessBody}):null,l.accessLabel||n.access?(0,a.jsxs)("div",{className:h().row,children:[(0,a.jsx)("span",{className:h().rowLabel,children:l.accessLabel}),n.access?(0,a.jsxs)("span",{className:h().select,children:[n.access,(0,a.jsx)(u,{name:"down"})]},s):null]}):null]}):null,i?(0,a.jsxs)("div",{className:D(h().card,h().sect),children:[l.shareTitle?(0,a.jsx)("span",{className:h().sectTitle,children:l.shareTitle}):null,l.shareBody?(0,a.jsx)("p",{className:h().sectBody,children:l.shareBody}):null,n.url?(0,a.jsxs)("div",{className:h().row,children:[(0,a.jsx)("code",{className:h().rowCode,children:n.url},s),l.copyLabel?(0,a.jsx)("span",{className:h().btn,children:l.copyLabel}):null]}):null]}):null]}):null]})}function L(e){var l;let{content:n,client:s,clientIndex:t,stores:o,selected:i,onSelect:r,announce:c}=e,d=(null!=(l=null==n?void 0:n.steps)?l:[]).filter(e=>null==e?void 0:e.name);if(!n||!d.length)return null;let m=d[Math.min(i,d.length-1)],p=y(null==m?void 0:m.caption,s,N(m,s));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:h().card,children:[n.name||n.status?(0,a.jsxs)("div",{className:h().cardHead,children:[n.name?(0,a.jsx)("span",{className:h().cardTitle,children:n.name}):null,n.status?(0,a.jsx)("span",{className:_().live,children:n.status}):null]}):null,(0,a.jsx)("ol",{className:h().steps,style:{"--steps":Math.min(d.length,4)},children:d.map((e,l)=>{var n;let c=N(e,s);return(0,a.jsxs)("li",{className:D(h().step,l===i&&h().on),children:[(0,a.jsxs)("button",{type:"button",className:h().node,"aria-pressed":l===i,onClick:()=>r(l),children:[(0,a.jsx)("span",{className:h().num,children:l+1}),(0,a.jsx)("span",{className:h().nodeName,children:e.name})]}),e.ai?(0,a.jsxs)("span",{className:h().ai,children:[(0,a.jsx)(u,{name:"spark"}),e.ai]}):null,c.length?(0,a.jsx)("ul",{className:h().data,children:c.map((e,l)=>{var n;let s=null==(n=o.find(l=>l.key===e.store))?void 0:n.letter;return(0,a.jsxs)("li",{className:h().chip,children:[s?(0,a.jsx)("span",{className:h().chipLetter,"aria-hidden":"true",children:s}):null,(0,a.jsx)("span",{className:h().chipName,children:e.name})]},"".concat(t,":").concat(l))})}):null]},null!=(n=e.id)?n:l)})})]}),p?(0,a.jsx)("p",{className:h().detail,"aria-live":c?"polite":"off",children:(0,a.jsx)(v.X,{text:p})},t):null]})}
1function B(e){let{content:l,client:n,clientIndex:s,stores:t}=e;return t.length||(null==l?void 0:l.note)?(0,a.jsxs)(a.Fragment,{children:[t.length?(0,a.jsx)("div",{className:h().stores,children:t.map(e=>{let l=g(n,e.key),t=n["".concat(e.key,"Count")];return(0,a.jsxs)("div",{className:h().store,children:[(0,a.jsxs)("div",{className:h().storeHead,children:[e.letter?(0,a.jsx)("span",{className:h().storeLetter,"aria-hidden":"true",children:e.letter}):null,(0,a.jsxs)("div",{className:h().storeText,children:[(0,a.jsx)("span",{className:h().storeName,children:e.name}),e.types?(0,a.jsx)("span",{className:h().storeTypes,children:e.types}):null]}),t?(0,a.jsx)("span",{className:h().storeCount,children:t}):null]}),l.length?(0,a.jsx)("ul",{className:h().storeItems,children:l.map((e,l)=>(0,a.jsx)("li",{className:h().storeItem,children:e},"".concat(s,":").concat(l)))}):null]},e.key)})}):null,(0,a.jsx)(C,{text:null==l?void 0:l.note})]}):null}function T(e){let{content:l,clients:n,selected:s,stores:t,onSelect:o}=e,i=(e,l)=>{var n;let a=e["".concat(l,"Count")],s=null==(n=t.find(e=>e.key===l))?void 0:n.name;return a&&s?"".concat(a," ").concat(s.toLowerCase()):null};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:D(h().card,h().cardList),children:(0,a.jsxs)("ul",{className:h().clients,children:[n.map((e,l)=>{var n;return(0,a.jsx)("li",{className:D(h().clientRow,l===s&&h().on),children:(0,a.jsxs)("button",{type:"button",className:h().clientButton,"aria-pressed":l===s,onClick:()=>o(l),children:[(0,a.jsx)(k,{client:e}),(0,a.jsx)("span",{className:h().clientName,children:e.name}),(0,a.jsx)("span",{className:h().clientFact,children:e.people}),(0,a.jsx)("span",{className:h().clientFact,children:i(e,"files")}),(0,a.jsx)("span",{className:h().clientFact,children:i(e,"records")}),e.status?(0,a.jsx)("span",{className:D(_().live,h().clientStatus),children:e.status}):(0,a.jsx)("span",{})]})},null!=(n=e.id)?n:l)}),(null==l?void 0:l.addLabel)?(0,a.jsx)("li",{className:h().clientRow,children:(0,a.jsx)("span",{className:h().addClient,children:l.addLabel})}):null]})}),(0,a.jsx)(C,{text:null==l?void 0:l.note})]})}function I(e){var l,n,s,t,o,d;let{app:m,control:p,label:v}=e,x=(0,i.useMemo)(()=>{var e;return(null!=(e=null==p?void 0:p.clients)?e:[]).filter(e=>null==e?void 0:e.name)},[null==p?void 0:p.clients]),g=(0,i.useMemo)(()=>{var e;return e=null==p?void 0:p.curate,j.map(l=>{var n,a,s;return{key:l,letter:null!=(n=null==e?void 0:e["".concat(l,"Letter")])?n:"",name:null!=(a=null==e?void 0:e["".concat(l,"Name")])?a:"",types:null!=(s=null==e?void 0:e["".concat(l,"Types")])?s:""}}).filter(e=>e.name)},[null==p?void 0:p.curate]),N=(null!=(d=null==p||null==(l=p.workflows)?void 0:l.steps)?d:[]).filter(e=>null==e?void 0:e.name).length,[C,I]=(0,r.W)({threshold:.5,once:!0}),E=(0,c.I)(),[S,H]=(0,i.useState)("workflows"),[A,F]=(0,i.useState)(0),[O,W]=(0,i.useState)(0),[P,R]=(0,i.useState)({kind:null,run:0}),[G,X]=(0,i.useState)(!1),J=(0,i.useMemo)(()=>(function(e,l){let n=[];return e>1&&n.push({at:1600,step:1}),e>2&&n.push({at:3e3,step:2}),l>1&&n.push({at:4800,client:1}),n})(N,x.length),[N,x.length]);(0,i.useEffect)(()=>{if(!I||E||G)return;R(e=>({kind:"enter",run:e.run+1}));let e=J.map(e=>setTimeout(()=>{void 0!==e.step&&(W(e.step),R(e=>({...e,kind:null}))),void 0!==e.client&&(F(e.client),R(e=>({...e,kind:"swap"})))},e.at));return()=>e.forEach(clearTimeout)},[I,E,G,J]);let K=x[Math.min(A,x.length-1)];if(!K)return null;let z=[{view:"overview",label:null==m?void 0:m.navOverview,lead:null==p||null==(n=p.overview)?void 0:n.lead},{view:"workflows",label:null==m?void 0:m.navWorkflows,lead:null==p||null==(s=p.workflows)?void 0:s.lead},{view:"curate",label:null==m?void 0:m.navCurate,lead:null==p||null==(t=p.curate)?void 0:t.lead},{view:"clients",label:null==m?void 0:m.navClients,lead:null==p||null==(o=p.clientsView)?void 0:o.lead}].filter(e=>e.label),V=z.find(e=>e.view===S),U=e=>{X(!0),F(e),R(e=>({...e,kind:"swap"}))},Y=y(null==V?void 0:V.lead,K);return(0,a.jsxs)("div",{ref:C,className:_().app,role:"group","aria-label":v||void 0,children:[(0,a.jsx)(b,{content:m,end:(null==p?void 0:p.userInitials
1)?(0,a.jsx)("span",{className:h().avatar,"aria-hidden":"true",children:p.userInitials}):null}),(0,a.jsxs)("div",{className:h().panel,children:[(0,a.jsxs)("div",{className:h().bar,children:[(null==m?void 0:m.barLabel)?(0,a.jsx)("span",{className:h().crumb,children:m.barLabel}):null,x.length>1?(0,a.jsx)("div",{className:h().tenants,role:"group","aria-label":(null==m?void 0:m.navClients)||void 0,children:x.map((e,l)=>{var n;return(0,a.jsxs)("button",{type:"button",className:h().tenant,"aria-pressed":l===A,onClick:()=>U(l),children:[(0,a.jsx)(k,{client:e}),e.name]},null!=(n=e.id)?n:l)})}):null]}),(0,a.jsxs)("div",{className:h().body,children:[(0,a.jsxs)("nav",{className:h().rail,"aria-label":(null==m?void 0:m.barLabel)||void 0,children:[(null==p?void 0:p.searchPlaceholder)?(0,a.jsxs)("span",{className:h().search,"aria-hidden":"true",children:[(0,a.jsx)(u,{name:"search"}),p.searchPlaceholder]}):null,z.map(e=>(0,a.jsxs)("button",{type:"button",className:h().tab,"aria-current":e.view===S?"page":void 0,onClick:()=>{var l;return l=e.view,void(X(!0),H(l),R(e=>({kind:"enter",run:e.run+1})))},children:[(0,a.jsx)(u,{name:w[e.view]}),e.label]},e.view))]}),(0,a.jsx)("div",{className:h().main,children:(0,a.jsxs)("div",{className:D(h().col,P.kind&&h()[P.kind]),children:[(0,a.jsx)(f,{title:null==V?void 0:V.label,lead:Y?(0,a.jsx)("span",{children:Y},A):null,leadClassName:h().lead}),"overview"===S?(0,a.jsx)(M,{content:null==p?void 0:p.overview,client:K,clientIndex:A}):null,"workflows"===S?(0,a.jsx)(L,{content:null==p?void 0:p.workflows,client:K,clientIndex:A,stores:g,selected:O,onSelect:e=>{X(!0),W(e),R(e=>({...e,kind:null}))},announce:G}):null,"curate"===S?(0,a.jsx)(B,{content:null==p?void 0:p.curate,client:K,clientIndex:A,stores:g}):null,"clients"===S?(0,a.jsx)(T,{content:null==p?void 0:p.clientsView,clients:x,selected:A,stores:g,onSelect:U}):null]},"".concat(S,":").concat(P.run))})]})]})]})}var E=n(24210),S=n.n(E);let H={lines:[],typing:"",syncing:!1,applied:0,hot:!1},A=["ai","data","rule","code"],F=e=>(null!=e?e:[]).flatMap(e=>(null==e?void 0:e.text)&&e.kind&&A.includes(e.kind)?[{kind:e.kind,text:e.text}]:[]);function O(e,l){switch(l.type){case"type":return{...e,typing:l.text};case"line":return{...e,typing:"",lines:[...e.lines,l.line]};case"sync":return{...e,syncing:!0};case"land":return{...e,syncing:!1,lines:l.line?[...e.lines,l.line]:e.lines,applied:e.applied+1,hot:!0};case"settle":return{...e,hot:!1}}}let W={ai:S().chipAi,data:S().chipData,rule:S().chipRule,code:S().chipCode},P={ai:"spark",code:"code"},R={cmd:S().lineCmd,work:S().lineWork,link:S().lineLink},G={cmd:">",work:"â",link:"â"};function X(e){var l,n,s;let{app:t,manage:o,label:d}=e,m=null==o?void 0:o.terminal,p=function(e){let l=JSON.stringify(null!=e?e:null);return(0,i.useMemo)(()=>JSON.parse(l),[l])}(null==o?void 0:o.commands),h=(0,i.useMemo)(()=>(null!=p?p:[]).filter(e=>null==e?void 0:e.command),[p]),v=(0,i.useMemo)(()=>(function(e,l){let n=[],a=700;for(let t of e){var s;let e=null!=(s=t.command)?s:"";for(let l=1;l<=e.length;l+=1)n.push({at:a+=32,type:"type",text:e.slice(0,l)});for(let l of(n.push({at:a+=300,type:"line",line:{kind:"cmd",text:e}}),(0,x.u)(t.replies)))n.push({at:a+=550,type:"line",line:{kind:"work",text:l}});n.push({at:a+=450,type:"sync"}),n.push({at:a+=700,type:"land",line:l?{kind:"link",text:l}:null}),n.push({at:a+=1800,type:"settle"})}return n})(h,null==m?void 0:m.syncedLine),[h,null==m?void 0:m.syncedLine]),[j,g]=(0,r.W)({threshold:.4,once:!0}),N=(0,c.I)(),[y,w]=(0,i.useState)(H),[k,C]=(0,i.useState)({run:0,skipped:!1}),[M,L]=(0,i.useState)(!1),B=(0,i.useRef)(null);(0,i.useEffect)(()=>{var e,l;if(N||k.skipped)return void w(v.filter(e=>"type"!==e.type).reduce(O,H));if(w(H),!g||!v.length)return;L(!0);let n=v.map(e=>setTimeout(()=>w(l=>O(l,e)),e.at));return n.push(setTimeout(()=>L(!1),null!=(l=null==(e=v.at(-1))?void 0:e.at)?l:0)),()=>{n.forEach(clearTimeout),L(!1)}},[g,N,k,v]),(0,i.useEffect)(()=>{let e=B.current;e&&(e.scrollTop=e.scrollHeight)},[y.lines.length,y.typing]);let T=function(e,l,n){let a=(null!=e?e:[]).filter(e=>null==e?void 0:e.name).map(e=>{var l;return{name:null!=(l=e.name)?l:"",chips:F(e.chips)}});for(let e of l.slice(0,n)){var s,t;let l=a[(null!=(s=e.step)?s:0)-1];if(l)for(let n of null!=(t=e.chips)?t:[]){let[e]=F([n]);if(!e)continue;let a=n.replace?l.chips.findIndex(l=>l.kind===e.kind):-1;a>=0?l.chips[a]=e:l.chips.push(e)}}return a}(null==o?void 0:o.steps,h,y.applied),I=h.slice(0,y.applied),E=I[I.length-1],A=y.hot&&E?(null!=(l=E.step)?l:0)-1:-1,X=y.hot&&null!=(s=null==(n=F(null==E?void 0:E.
1chips)[0])?void 0:n.text)?s:null,J=(0,x.u)(null==o?void 0:o.activityTimes),K=I.map((e,l)=>({key:l,text:e.activity})).filter(e=>e.text).reverse(),z=y.syncing?{text:null==o?void 0:o.syncBusy,className:S().syncBusy}:y.applied?{text:null==o?void 0:o.syncDone,className:S().syncDone}:{text:null==o?void 0:o.syncIdle,className:void 0},V=[{label:null==t?void 0:t.navOverview,icon:"home"},{label:null==t?void 0:t.navWorkflows,icon:"flow",on:!0},{label:null==t?void 0:t.navCurate,icon:"db"},{label:null==t?void 0:t.navClients,icon:"users"}],U=[null==m?void 0:m.title,null==m?void 0:m.path].filter(Boolean).join(" \xb7 ");return(0,a.jsxs)("div",{ref:j,className:D(S().stage,M&&S().playing),role:"group","aria-label":d||void 0,onClick:()=>{M&&C(e=>({...e,skipped:!0}))},children:[(0,a.jsxs)("div",{className:_().app,children:[(0,a.jsx)(b,{content:t,end:z.text?(0,a.jsxs)("span",{className:D(S().sync,z.className),children:[(0,a.jsx)("span",{className:S().syncDot}),z.text]}):null}),(0,a.jsxs)("div",{className:S().panel,children:[(null==t?void 0:t.barLabel)?(0,a.jsx)("div",{className:S().bar,children:t.barLabel}):null,(0,a.jsxs)("div",{className:S().body,children:[(0,a.jsx)("div",{className:S().rail,"aria-hidden":"true",children:V.map(e=>e.label?(0,a.jsxs)("span",{className:D(S().tab,e.on&&S().tabOn),children:[(0,a.jsx)(u,{name:e.icon}),e.label]},e.icon):null)}),(0,a.jsxs)("div",{className:S().main,children:[(0,a.jsx)(f,{title:null==t?void 0:t.navWorkflows,lead:null==o?void 0:o.lead}),T.length?(0,a.jsx)("ol",{className:S().steps,children:T.map((e,l)=>(0,a.jsxs)("li",{className:D(S().step,l===A&&S().stepHot),children:[(0,a.jsx)("span",{className:S().num,children:l+1}),(0,a.jsx)("span",{className:S().stepName,children:e.name}),(0,a.jsx)("ul",{className:S().chips,children:e.chips.map(e=>{let n=P[e.kind],s=l===A&&e.text===X;return(0,a.jsxs)("li",{className:D(S().chip,W[e.kind],s&&S().chipNew),children:[n?(0,a.jsx)(u,{name:n}):null,(0,a.jsx)("span",{children:e.text})]},"".concat(e.kind,":").concat(e.text))})})]},l))}):null,(null==o?void 0:o.activityHeading)||K.length||(null==o?void 0:o.activityEmpty)?(0,a.jsxs)("div",{className:S().log,children:[(null==o?void 0:o.activityHeading)?(0,a.jsx)("span",{className:S().logTitle,children:o.activityHeading}):null,(0,a.jsx)("ul",{className:S().logList,children:K.length?K.map((e,l)=>(0,a.jsxs)("li",{className:S().logItem,children:[(0,a.jsx)("span",{children:e.text}),(0,a.jsx)("span",{className:S().logMeta,children:[null==m?void 0:m.title,J[l]].filter(Boolean).join(" \xb7 ")})]},e.key)):(null==o?void 0:o.activityEmpty)?(0,a.jsx)("li",{className:D(S().logItem,S().logEmptyItem),children:(0,a.jsx)("span",{className:S().logEmpty,children:o.activityEmpty})}):null})]}):null]})]})]})]}),(0,a.jsxs)("div",{className:S().term,children:[(0,a.jsxs)("div",{className:S().termBar,children:[(0,a.jsxs)("span",{className:S().termDots,"aria-hidden":"true",children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]}),(null==m?void 0:m.title)?(0,a.jsx)("span",{className:S().termTitle,children:m.title}):null,(null==m?void 0:m.replayLabel)&&!N?(0,a.jsx)("button",{type:"button",className:S().replay,"aria-label":m.replayLabel,onClick:e=>{e.stopPropagation(),C(e=>({run:e.run+1,skipped:!1}))},children:(0,a.jsx)(u,{name:"replay"})}):null]}),(0,a.jsxs)("div",{ref:B,className:S().termBody,role:"log","aria-live":"off","aria-label":(null==m?void 0:m.title)||void 0,tabIndex:0,children:[U?(0,a.jsx)("div",{className:D(S().line,S().lineDim),children:U}):null,(null==m?void 0:m.connectedLine)?(0,a.jsxs)("div",{className:D(S().line,S().lineOk),children:[(0,a.jsx)("span",{className:S().glyph,children:"â"})," ",m.connectedLine]}):null,y.lines.map((e,l)=>(0,a.jsxs)("div",{className:D(S().line,S().lineNew,R[e.kind]),children:[(0,a.jsx)("span",{className:"cmd"===e.kind?S().prompt:S().glyph,children:G[e.kind]})," ",e.text]},l)),(0,a.jsxs)("div",{className:D(S().line,S().lineCmd),children:[(0,a.jsx)("span",{className:S().prompt,children:G.cmd})," ",(0,a.jsx)("span",{children:y.typing}),(0,a.jsx)("span",{className:S().cursor,"aria-hidden":"true"})]})]},k.run)]})]})}function J(e){var l;let{demo:n,heading:t,highlight:i,subheading:r,anchorId:c,demoLabel:d,app:u,control:m,manage:_,points:p}=e,h=(null!=p?p:[]).filter(e=>(null==e?void 0:e.title)||(null==e?void 0:e.body));return(0,a.jsx)("section",{"data-block-type":"productDemo",id:c||void 0,className:"v3-section",children:(0,a.jsxs)("div",{className:"v3-container",children:[t?(0,a.jsx)(s.w,{heading:t,highlight:i,subheading:r?(0,a.jsx)(v.X,{text:r}):null,subheadingClassName:null!=(l=o().sub)?l:""}
1):null,"control"===n&&m?(0,a.jsx)("div",{className:o().demo,children:(0,a.jsx)(I,{app:u,control:m,label:d})}):null,"manage"===n&&_?(0,a.jsx)("div",{className:"".concat(o().demo," ").concat(o().demoManage),children:(0,a.jsx)(X,{app:u,manage:_,label:d})}):null,h.length?(0,a.jsx)("ul",{className:o().points,children:h.map((e,l)=>{var n;return(0,a.jsxs)("li",{className:o().point,children:[e.title?(0,a.jsx)("h3",{className:o().pointTitle,children:e.title}):null,e.body?(0,a.jsx)("p",{className:o().pointBody,children:(0,a.jsx)(v.X,{text:e.body})}):null]},null!=(n=e.id)?n:l)})}):null]})})}},96158:e=>{e.exports={sub:"ProductDemoBlock_sub__HwUnH",demo:"ProductDemoBlock_demo__5l0rd",demoManage:"ProductDemoBlock_demoManage__Nj_UM",points:"ProductDemoBlock_points__p8Tm8",point:"ProductDemoBlock_point__t9IJK",pointTitle:"ProductDemoBlock_pointTitle__a5Ocj",pointBody:"ProductDemoBlock_pointBody__7_SKK"}}}]);
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.