mage-ai 0.9.50__py3-none-any.whl → 0.9.51__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/api/operations/base.py +11 -2
- mage_ai/api/presenters/WorkspacePresenter.py +1 -0
- mage_ai/cluster_manager/kubernetes/workload_manager.py +184 -147
- mage_ai/cluster_manager/workspace/kubernetes.py +25 -3
- mage_ai/data_preparation/executors/block_executor.py +10 -4
- mage_ai/data_preparation/models/global_hooks/models.py +9 -3
- mage_ai/data_preparation/models/pipeline.py +1 -47
- mage_ai/data_preparation/preferences.py +71 -27
- mage_ai/data_preparation/templates/custom/python/default.jinja +3 -5
- mage_ai/io/postgres.py +1 -0
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/_next/static/chunks/4138-1ffb2d1ab4fc61f2.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage-221f6ba4b04367c6.js → frontend_dist/_next/static/chunks/pages/manage-41c56c0ae1c15cb6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/{gxu21gnSyZ-GtqcWCfQmv → z6eg1yN60N6gosbEr2pGr}/_buildManifest.js +1 -1
- mage_ai/server/frontend_dist/block-layout.html +2 -2
- mage_ai/server/frontend_dist/compute.html +5 -5
- mage_ai/server/frontend_dist/files.html +5 -5
- mage_ai/server/frontend_dist/global-data-products/[...slug].html +5 -5
- mage_ai/server/frontend_dist/global-data-products.html +5 -5
- mage_ai/server/frontend_dist/global-hooks/[...slug].html +5 -5
- mage_ai/server/frontend_dist/global-hooks.html +5 -5
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage/files.html +5 -5
- mage_ai/server/frontend_dist/manage/settings.html +5 -5
- mage_ai/server/frontend_dist/manage/users/[user].html +5 -5
- mage_ai/server/frontend_dist/manage/users/new.html +5 -5
- mage_ai/server/frontend_dist/manage/users.html +5 -5
- mage_ai/server/frontend_dist/manage.html +5 -5
- mage_ai/server/frontend_dist/oauth.html +4 -4
- mage_ai/server/frontend_dist/overview.html +5 -5
- mage_ai/server/frontend_dist/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +5 -5
- mage_ai/server/frontend_dist/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/permissions.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/roles.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +12 -12
- mage_ai/server/frontend_dist/templates/[...slug].html +5 -5
- mage_ai/server/frontend_dist/templates.html +5 -5
- mage_ai/server/frontend_dist/terminal.html +5 -5
- mage_ai/server/frontend_dist/test.html +5 -5
- mage_ai/server/frontend_dist/triggers.html +5 -5
- mage_ai/server/frontend_dist/version-control.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/404.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/_next/static/{nkbwVNyttvbUEHU4g3aOV → GkYZIZv7ClhebnBGgTrwO}/_buildManifest.js +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1952-0f9a12782f0aaae6.js → 1952-0c8a3cb84da67f53.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{2714-68fef54789d7eaeb.js → 2714-1e79e9f2e998b544.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{2717-82a714ddff3edf43.js → 2717-e599ab448e3c1b7f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{3437-ed09bb896e50e022.js → 3437-0712d7142aed2c46.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4138-1ffb2d1ab4fc61f2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4783-422429203610c318.js → 4783-1a21d9be47574bba.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5896-7b8e36634d7d94eb.js → 5896-14e5a23b1c6a0769.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{6285-648f9a732e100b2f.js → 6285-e9b45335bfb9ccaf.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{6798-b904395b0c18647b.js → 6798-1ef0247e65215a0f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{976-0a8c2c4d7acd957b.js → 976-18c98af60b76f1a7.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage-221f6ba4b04367c6.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage-41c56c0ae1c15cb6.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{edit-0cd2a275eb8b6345.js → edit-285ea9b8083b5f22.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/{[run]-e9c1506c0a1f87b6.js → [run]-15deea898d2fa18b.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{settings-495e877aa7ed709e.js → settings-6f5a7e367ec63c43.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{preferences-f3c29ec53ee35795.js → preferences-b058d0ff37970cd9.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/block-layout.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/compute.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/files.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/global-data-products.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/global-hooks.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/index.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/files.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/settings.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/users.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/oauth.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/overview.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/settings.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/sign-in.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/templates.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/terminal.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/test.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/triggers.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/version-control.html +2 -2
- mage_ai/settings/__init__.py +32 -13
- mage_ai/tests/cluster_manager/kubernetes/test_workload_manager.py +76 -12
- {mage_ai-0.9.50.dist-info → mage_ai-0.9.51.dist-info}/METADATA +1 -1
- {mage_ai-0.9.50.dist-info → mage_ai-0.9.51.dist-info}/RECORD +142 -142
- mage_ai/server/frontend_dist/_next/static/chunks/4138-a2c37d37dba2f44c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4138-a2c37d37dba2f44c.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{gxu21gnSyZ-GtqcWCfQmv → z6eg1yN60N6gosbEr2pGr}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{nkbwVNyttvbUEHU4g3aOV → GkYZIZv7ClhebnBGgTrwO}/_ssgManifest.js +0 -0
- {mage_ai-0.9.50.dist-info → mage_ai-0.9.51.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.50.dist-info → mage_ai-0.9.51.dist-info}/WHEEL +0 -0
- {mage_ai-0.9.50.dist-info → mage_ai-0.9.51.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.50.dist-info → mage_ai-0.9.51.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8662],{28108:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(82684),i=n(63588),o=n.n(i),u=n(75823),a=n(29989),c=n(62072),l=n(53989),s=n(49894),d=n(18246),f=n(59309),p=n(65743),h=["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"];function v(){return v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v.apply(this,arguments)}function m(t){var e=t.data,n=t.className,i=t.top,m=t.left,g=t.y,b=t.x0,y=void 0===b?c.l8:b,x=t.x1,j=void 0===x?c.xf:x,O=t.xScale,Z=t.yScale,w=t.color,k=t.keys,E=t.value,T=t.order,P=t.offset,S=t.children,I=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,h),A=(0,u.Z)();k&&A.keys(k),E&&(0,s.Z)(A.value,E),T&&A.order((0,d.ZP)(T)),P&&A.offset((0,f.ZP)(P));var D=A(e),_=(0,l.Z)(Z),L=D.map((function(t,e){var n=t.key;return{index:e,key:n,bars:t.map((function(e,r){var i=(O(j(e))||0)-(O(y(e))||0),o=O(y(e)),u="bandwidth"in Z?Z(g(e.data)):Math.max((Z(g(e.data))||0)-i/2);return{bar:e,key:n,index:r,height:_,width:i,x:o||0,y:u||0,color:w(t.key,r)}}))}}));return S?r.createElement(r.Fragment,null,S(L)):r.createElement(a.Z,{className:o()("visx-bar-stack-horizontal",n),top:i,left:m},L.map((function(t){return t.bars.map((function(e){return r.createElement(p.Z,v({key:"bar-stack-"+t.index+"-"+e.index,x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},I))}))})))}},62072:function(t,e,n){"use strict";function r(t){return null==t?void 0:t[0]}function i(t){return null==t?void 0:t[1]}n.d(e,{l8:function(){return r},xf:function(){return i}})},59309:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l}});var r=n(12759),i=n(27500),o=n(82610),u=n(34812),a=n(77944),c={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:u.Z,wiggle:a.Z};Object.keys(c);function l(t){return t&&c[t]||c.none}},18246:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l}});var r=n(39586),i=n(25516),o=n(54164),u=n(8512),a=n(2010),c={ascending:r.Z,descending:i.Z,insideout:o.Z,none:u.Z,reverse:a.Z};Object.keys(c);function l(t){return t&&c[t]||c.none}},93859:function(t,e,n){"use strict";n.d(e,{r:function(){return I},Z:function(){return L}});var r=n(82394),i=n(21831),o=n(82684),u=n(48670),a=n(12691),c=n.n(a),l=n(38626),s=n(78141),d=n(44628),f=n(6508),p=n(55485),h=n(30160),v=n(44897),m=n(70987),g=function(){var t=document.createElement("div");t.setAttribute("style","width: 100px; height: 100px; overflow: scroll; position:absolute; top:-9999px;"),document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},b=n(95363),y=n(61896),x=n(47041),j=n(48888),O=n(70515),Z=n(40489),w=n(86735),k=n(28598);function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var P=2*O.iI+y.dN,S=20*O.iI,I=8.7,A=l.default.div.withConfig({displayName:"DataTable__Styles",componentId:"sc-1arr863-0"})([""," "," "," .body > div{","}.table{border-spacing:0;display:inline-block;"," "," "," "," .tr{.td.td-index-column{","}}.th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;","}.th,.td{"," font-family:",";margin:0;","}.td{padding:","px;}&.sticky{overflow:auto;}.header{overflow:hidden;}}"],(function(t){return t.disableScrolling&&"\n overflow: hidden;\n "}),(function(t){return t.height&&"\n height: ".concat(t.height,"px;\n ")}),(function(t){return t.maxHeight&&"\n max-height: ".concat(t.maxHeight,"px;\n ")}),x.w5,(function(t){return!t.noBorderBottom&&"\n border-bottom: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return!t.noBorderLeft&&"\n border-left: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return!t.noBorderRight&&"\n border-right: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return!t.noBorderTop&&"\n border-top: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return"\n color: ".concat((t.theme.content||m.Z.content).default,";\n ")}),(function(t){return"\n height: ".concat(t.columnHeaderHeight||P,"px;\n ")}),y.iD,b.ry,(function(t){return"\n background-color: ".concat((t.theme.background||m.Z.background).table,";\n border-bottom: 1px solid ").concat((t.theme.borders||m.Z.borders).medium,";\n border-right: 1px solid ").concat((t.theme.borders||m.Z.borders).medium,";\n ")}),1*O.iI);function D(t){var e=t.original,n=8.5*Math.max.apply(Math,(0,i.Z)(e.map((function(t){return(null===t||void 0===t?void 0:t.length)||0})))),r=Math.ceil(n/(S-2*O.iI));return Math.max(r,1)*y.dN+2*O.iI}function _(t){var e=t.columnHeaderHeight,n=t.columns,r=t.data,a=t.disableScrolling,x=t.height,E=t.index,A=t.invalidValues,_=t.maxHeight,L=t.numberOfIndexes,M=t.previewIndexes,C=t.renderColumnHeader,N=t.width,R=(0,o.useContext)(l.ThemeContext),H=(0,o.useRef)(null),Y=(0,o.useRef)(null);(0,o.useEffect)((function(){var t=function(t){var e;null===H||void 0===H||null===(e=H.current)||void 0===e||e.scroll(t.target.scrollLeft,0)};return Y&&Y.current.addEventListener("scroll",t),function(){var e;null===Y||void 0===Y||null===(e=Y.current)||void 0===e||e.removeEventListener("scroll",t)}}),[H,Y]);var U=(0,o.useMemo)((function(){return E&&r&&E.length===r.length}),[r,E]),B=(0,o.useMemo)((function(){var t=[];return(0,w.w6)(L).forEach((function(e,n){var o=String(null===r||void 0===r?void 0:r.length).length*I;if(U){var u=E.map((function(t){return L>=2?String(t[n]).length:String(t).length}));o=Math.max.apply(Math,(0,i.Z)(u))*I}t.push(o+2*O.iI)})),t}),[r,E,L,U]),V=n.map((function(t){return null===t||void 0===t?void 0:t.Header})).slice(1),F=(0,o.useMemo)((function(){return g()}),[]),z=(0,o.useMemo)((function(){var t=N-(Math.max.apply(Math,(0,i.Z)(B))+1.5*O.iI+F),e=n.length-1,r=S;return r*e<t&&(r=t/e),{width:r}}),[n,B,F,N]),G=(0,d.useTable)({columns:n,data:r,defaultColumn:z},d.useBlockLayout,f.useSticky),X=G.getTableBodyProps,W=G.getTableProps,J=G.headerGroups,q=G.prepareRow,K=G.rows,Q=(0,o.useCallback)((function(t){var e=t.index,n=t.style,r=new Set((null===M||void 0===M?void 0:M.removedRows)||[]),i=K[e];q(i);var a=i.original,l=r.has(e);return(0,k.jsx)("div",T(T({},i.getRowProps({style:T(T({},n),{},{width:"auto"})})),{},{className:"tr",children:i.cells.map((function(t,n){var r,i=n<=L-1,s=t.getCellProps(),d=t.column.id,f=null===A||void 0===A||null===(r=A[d])||void 0===r?void 0:r.includes(e),v=T({},s.style);i&&(v.fontFamily=b.Vp,v.left=0,v.position="sticky",v.textAlign=E?"right":"center",v.width=B[n]);var g,y=a[n-L],x=V.indexOf(d);if(f&&(v.color=m.Z.interactive.dangerBorder),l&&(v.backgroundColor=m.Z.background.danger),Array.isArray(y)||"object"===typeof y)try{y=JSON.stringify(y)}catch(O){y="Error: cannot display value"}return i&&(U?(g=E[e],Array.isArray(g)&&(g=g[n])):g=t.render("Cell")),(0,o.createElement)("div",T(T({},s),{},{className:"td ".concat(i?"td-index-column":""),key:"".concat(n,"-").concat(y),style:v}),g,!i&&(0,k.jsxs)(p.ZP,{justifyContent:"space-between",children:[(0,k.jsxs)(h.ZP,{danger:f,default:!0,wordBreak:!0,children:[!0===y&&"true",!1===y&&"false",(null===y||"null"===y)&&"null",!0!==y&&!1!==y&&null!==y&&"null"!==y&&y]}),f&&(0,k.jsx)(c(),{as:(0,Z.o_)(j.mW,x),href:"/datasets/[...slug]",passHref:!0,children:(0,k.jsx)(u.Z,{danger:!0,children:"View all"})})]}))}))}))}),[V,E,A,B,L,q,K,U,M]),$=(0,o.useMemo)((function(){var t;return _?(t=(0,w.Sm)(K.map(D)),t+=e||P-y.dN):(t=x,t-=e||P),t}),[e,x,_,K]),tt=(0,o.useMemo)((function(){return(0,k.jsx)(s.S_,{estimatedItemSize:P,height:$,itemCount:null===K||void 0===K?void 0:K.length,itemSize:function(t){return D(K[t])},outerRef:Y,style:{maxHeight:_,pointerEvents:a?"none":null},children:Q})}),[a,$,_,Q,K]);return(0,k.jsx)("div",T(T({},W()),{},{className:"table sticky",style:{width:N},children:(0,k.jsxs)("div",T(T({},X()),{},{className:"body",children:[(0,k.jsx)("div",{className:"header",ref:H,children:J.map((function(t,e){return(0,o.createElement)("div",T(T({},t.getHeaderGroupProps()),{},{className:"tr",key:"".concat(t.id,"_").concat(e)}),t.headers.map((function(t,e){var n,r=e<=L-1,i=t.getHeaderProps(),u=T({},i.style);return r?(u.fontFamily=b.Vp,u.left=0,u.position="sticky",u.textAlign="center",u.width=B[e],u.minWidth=B[e]):C?n=C(t,e-L,{width:z.width}):(n=t.render("Header"),u.color=(R||v.Z).content.default,u.padding=1*O.iI,u.minWidth=z.width),(0,o.createElement)("div",T(T({},i),{},{className:"th",key:t.id,style:u,title:r?"Row number":void 0}),n)})))}))}),tt]}))}))}var L=function(t){var e=t.columnHeaderHeight,n=t.columns,r=t.disableScrolling,i=t.height,u=t.index,a=t.invalidValues,c=t.maxHeight,l=t.noBorderBottom,s=t.noBorderLeft,d=t.noBorderRight,f=t.noBorderTop,p=t.previewIndexes,h=t.renderColumnHeader,v=t.rows,m=t.width;if(null===n||void 0===n?void 0:n.some((function(t){return""===t})))return null;var g=(0,o.useMemo)((function(){return null!==u&&void 0!==u&&u.length&&Array.isArray(u[0])?u[0].length:1}),[u]),b=(0,o.useMemo)((function(){return(0,w.w6)(g).map((function(t,e){return{Header:(0,w.w6)(e+1).map((function(){return" "})).join(" "),accessor:function(t,e){return e},sticky:"left"}})).concat(null===n||void 0===n?void 0:n.map((function(t){return{Header:String(t),accessor:String(t)}})))}),[n,g]),y=(0,o.useMemo)((function(){return(0,k.jsx)(_,{columnHeaderHeight:e,columns:b,data:v,disableScrolling:r,height:i,index:u,invalidValues:a,maxHeight:c,numberOfIndexes:g,previewIndexes:p,renderColumnHeader:h,width:m})}),[e,b,v,r,i,u,a,c,g,p,h,m]);return(0,k.jsx)(A,{columnHeaderHeight:e,disableScrolling:r,height:i,maxHeight:c?c+37:c,noBorderBottom:l,noBorderLeft:s,noBorderRight:d,noBorderTop:f,children:y})}},66909:function(t,e,n){"use strict";n.d(e,{Eh:function(){return l},t0:function(){return s}});var r=n(38626),i=n(2842),o=n(17679),u=n(61896),a=n(47041),c=n(70515),l=(c.iI,o.O$+3*c.iI+u.dN),s=r.default.div.withConfig({displayName:"indexstyle__SidekickContainerStyle",componentId:"sc-15ofupc-0"})([""," overflow:auto;position:absolute;width:100%;"," ",""],a.w5,(function(t){return"\n height: calc(100vh - ".concat(i.uX,"px - ").concat(t.heightOffset,"px);\n ")}),(function(t){return t.overflowHidden&&"\n overflow: hidden;\n "}));r.default.div.withConfig({displayName:"indexstyle__PaddingContainerStyle",componentId:"sc-15ofupc-1"})(["padding:","px;",""],2*c.iI,(function(t){return t.noPadding&&"\n padding: 0;\n "}))},16488:function(t,e,n){"use strict";n.d(e,{IJ:function(){return v},M8:function(){return k},Uc:function(){return x},XM:function(){return w},_U:function(){return h},eI:function(){return y},gU:function(){return O},lO:function(){return I},ri:function(){return g},tL:function(){return j},vJ:function(){return Z},xH:function(){return b}});var r,i=n(82394),o=n(92083),u=n.n(o),a=n(3917),c=n(4383),l=n(30229),s=n(42122),d=n(86735);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=function(t){return!!t&&!Object.values(l.U5).includes(t)};function v(t){return null===t||void 0===t?void 0:t.reduce((function(t,e){var n=e.block_uuid,r=e.completed_at,o=e.started_at,a=e.status,c=null;o&&r&&(c=u()(r).valueOf()-u()(o).valueOf());return p(p({},t),{},(0,i.Z)({},n,{runtime:c,status:a}))}),{})}var m,g=function(t){var e=[{description:function(){return"This pipeline will run continuously on an interval or just once."},label:function(){return"Schedule"},uuid:l.Xm.TIME},{description:function(){return"This pipeline will run when a specific event occurs."},label:function(){return"Event"},uuid:l.Xm.EVENT},{description:function(){return"Run this pipeline when you make an API call."},label:function(){return"API"},uuid:l.Xm.API}];return t?e.slice(0,1):e};function b(t){var e=(0,s.gR)(t,[l.gm.INTERVAL,l.gm.TYPE]),n=t[l.gm.INTERVAL];n&&(e["schedule_interval[]"]=encodeURIComponent(n));var r=t[l.gm.TYPE];return r&&(e["schedule_type[]"]=r),e}function y(t){return t?new Date(u()(t).valueOf()):null}function x(t,e){return e?(0,a.XG)(t,e):function(t){if("string"!==typeof t)return t;var e=t.split("+")[0];return u()(y(e)).format(a.Nx)}(t)}!function(t){t.DAY="day",t.HOUR="hour",t.MINUTE="minute",t.SECOND="second"}(m||(m={}));var j=(r={},(0,i.Z)(r,m.DAY,86400),(0,i.Z)(r,m.HOUR,3600),(0,i.Z)(r,m.MINUTE,60),(0,i.Z)(r,m.SECOND,1),r);function O(t){var e=m.SECOND,n=t;return t%86400===0?(n/=86400,e=m.DAY):t%3600===0?(n/=3600,e=m.HOUR):t%60===0&&(n/=60,e=m.MINUTE),{time:n,unit:e}}function Z(t,e){return t*j[e]}function w(t,e,n){var r,i=u()(t);return i.set("hour",+(null===e||void 0===e?void 0:e.hour)||0),i.set("minute",+(null===e||void 0===e?void 0:e.minute)||0),i.set("second",0),r=i.format(a.TD),null!==n&&void 0!==n&&n.includeSeconds&&(r=r.concat(":00")),null!==n&&void 0!==n&&n.localTimezone&&(r=i.format(a.lE),null!==n&&void 0!==n&&n.convertToUtc&&(r=(0,a.d$)(r,{includeSeconds:null===n||void 0===n?void 0:n.includeSeconds,utcFormat:!0}))),r}function k(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="",i=!0;return i&&(n?r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===t||void 0===t?void 0:t.id,"/api_trigger"):(r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===t||void 0===t?void 0:t.id,"/pipeline_runs"),null!==t&&void 0!==t&&t.token&&(r="".concat(r,"/").concat(t.token)))),i&&(e=window.location.port)&&(r=r.replace(e,c.QT)),r}function E(t,e,n){return t.match(/[*,-/]/)?{additionalOffset:0,cronValue:t}:function(t,e,n){var r=n.indexOf(t),i=0;if(e<0)for(var o=0;o>e;o--)0===r?(r=n.length-1,i-=1):r-=1;else if(e>0)for(var u=0;u<e;u++)r===n.length-1?(r=0,i+=1):r+=1;return{additionalOffset:i,cronValue:String(n[r]||t)}}(+t,e,n)}var T=(0,d.m5)(60),P=(0,d.m5)(24),S=(0,a.Cs)();function I(t,e){if(!t)return t;var n=u()().local().format("Z"),r=n.split(":"),i="-"===n[0],o=3===r[0].length?Number(r[0].slice(1)):Number(r[0]),a=Number(r[1]);(i&&!e||!i&&e)&&(o=-o,a=-a);var c=t.split(" "),l=c[0],s=c[1],d=c[2],f=E(l,a,T),p=E(s,o+f.additionalOffset,P);if(c[0]=f.cronValue,c[1]=p.cronValue,0!==(null===p||void 0===p?void 0:p.additionalOffset)){var h=E(d,p.additionalOffset,S);c[2]=h.cronValue}return c.join(" ")}},52729:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r=n(26304),i=n(21831),o=n(82394),u=n(82684),a=n(26226),c=n(84969),l=n(90948),s=n(65743),d=n(29989),f=n(38626),p=n(61655),h=n(16853),v=n(65376),m=n(48072),g=n(98677),b=n(84181),y=n(55485),x=n(4190),j=n(30160),O=n(94035),Z=n(70987),w=n(79633),k=n(89370),E=n(95363),T=n(61896),P=n(70515),S=n(38469),I=n(6568),A=function(t){return t.slice(0,10)},D=function(t,e){var n=t.toISOString().slice(0,10),r=e.toISOString().slice(0,10);return"".concat(n,":").concat(r)},_=n(79221),L=n(98684),M=n(28598),C=["height","loading","selected","width","xAxisLabel","yAxisLabel"];function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function R(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var H={bottom:P.iI,left:3*P.iI,right:0,top:1*P.iI},Y=(0,p.Z)((function(t){var e=t.columnType,n=t.data,r=void 0===n?[]:n,o=t.getBarColor,a=t.getXValue,p=t.getYValue,y=t.height,x=t.hideTooltip,O=t.large,C=t.margin,N=void 0===C?{}:C,Y=t.muted,U=t.noPadding,B=t.numberOfXTicks,V=t.renderTooltipContent,F=t.selected,z=t.showAxisLabels,G=t.showTooltip,X=t.showYAxisLabels,W=t.showZeroes,J=t.sortData,q=t.tooltipData,K=t.tooltipLeft,Q=t.tooltipOpen,$=t.tooltipTop,tt=t.width,et=t.xLabelFormat,nt=t.yLabelFormat,rt=O?T.J5:T.VK,it=(0,u.useCallback)((function(t){return a?a(t):t[0]}),[a]),ot=(0,u.useCallback)((function(t){return p?p(t):t[1]}),[p]),ut=(0,u.useContext)(f.ThemeContext),at=e===k.RL.DATETIME,ct=R(R({},H),N);z&&(ct=R(R({},ct),{},{left:ct.left+P.iI}));var lt=J?J(r):r.sort((function(t,e){return e[1]-t[1]})),st=at?r.sort((function(t,e){return new Date(t[0])-new Date(e[0])})).filter((function(t){return!!t[0]})):lt.slice(0,60),dt=tt-(ct.left+ct.right),ft=y-(ct.bottom+ct.top),pt=at?function(t,e){var n,r=t.map((function(t){return new Date(t[0])})).sort((function(t,e){return t-e}));return(0,I.Z)({domain:(n=r,[(0,S.Z)(n[0]),(0,S.Z)(n[n.length-1])]),nice:!0,range:[0,e]})}(st,dt):null,ht=function(t,e){if(null===e)return{};var n=e.ticks().map((function(t){return t.toISOString()})),r={},i=0,o=1;return t.forEach((function(t){var e=new Date(t[0]),u=t[1],a=n[i],c=n[o];if(a&&c){var l=new Date(a),s=new Date(c),d=D(l,s);if(e>=l&&e<s)r[d]=(r[d]||0)+u;else for(;o<n.length||!r[d];)if(i+=1,o+=1,l=new Date(n[i]),s=new Date(n[o]),d=D(l,s),e>=l&&e<s)return void(r[d]=(r[d]||0)+u)}})),n.reduce((function(t,e,n,r){if(0===n)return t;var i=A(e),o=A(r[n-1]);return t.push("".concat(o,":").concat(i)),t}),[]).forEach((function(t){r[t]=r[t]||0})),r}(st,pt);st=pt?Object.entries(ht).sort((function(t,e){return new Date(A(t[0]))-new Date(A(e[0]))})):st;var vt=pt?Math.max.apply(Math,(0,i.Z)(Object.values(ht))):0,mt=st.reduce((function(t,e){return(0!==ot(e)||at||W)&&t.push(it(e)),t}),[]),gt=mt.length,bt=function(t,e,n){return n?.05:t>=30&&e<300?.5:t>=15?.3:t>=5?.1:t>2?.05:2===t?.025:0}(gt,tt,at),yt=(0,g.Z)({domain:mt,paddingInner:U?null:bt,range:[0,dt],round:!1}),xt=(0,b.Z)({domain:[0,Math.max.apply(Math,(0,i.Z)(st.map(ot)))],range:[ft,0],round:!0}),jt=(0,L.K)(ut),Ot={active:((null===ut||void 0===ut?void 0:ut.content)||Z.Z.content).active,default:jt[0],muted:((null===ut||void 0===ut?void 0:ut.monotone)||Z.Z.monotone).gray,selected:((null===ut||void 0===ut?void 0:ut.elevation)||Z.Z.elevation).visualizationAccent},Zt=Ot.default;Y?Zt=Ot.muted:F&&(Zt=Ot.selected);var wt=gt?at?vt:Math.max.apply(Math,(0,i.Z)(st.map((function(t){return ot(t)})))):0,kt=Math.floor(wt/6),Et=[0],Tt=0;if(wt>6)for(;Tt<wt;)Et.push(Tt+kt),Tt+=kt;else for(;Tt<=wt;)Et.push(Tt+1),Tt+=1;wt>9999?ct=R(R({},ct),{},{left:O?8*P.iI:4.1*P.iI}):wt>999&&(ct=R(R({},ct),{},{left:O?5*P.iI:3.6*P.iI}));var Pt=at?2.25:0,St=gt<10||e===k.RL.NUMBER||e===k.RL.NUMBER_WITH_DECIMALS||at||X,It=(0,u.useCallback)((function(t){var e=(0,m.Z)(t)||{x:0,y:0},n=e.x,r=e.y,i=(n-(z?ct.left:0))/dt,o=Math.floor(gt*i),u=st[o];"undefined"===typeof u&&(u=st[0]);var a=it(u);a=a.length>15?"".concat(a.slice(0,21)):a;var c=V?V(u):"".concat(a," (").concat(ot(u),")");G({tooltipData:c,tooltipLeft:n-ct.left,tooltipTop:r+ct.top})}),[st,gt,it,ot,ct.left,ct.top,V,z,G,tt]);return tt<10||!r.length?null:(0,M.jsxs)("div",{children:[(0,M.jsxs)("svg",{height:y+ct.bottom*(at?7.5:3),width:tt,children:[(0,M.jsx)(d.Z,{left:z?ct.left:0,top:ct.top+Pt,children:st.reduce((function(t,e){var n=it(e),r=ot(e);if(0!==r){var i,u=yt.bandwidth(),a=ft-(null!==(i=xt(r))&&void 0!==i?i:0),c=yt(n),l=ft-a;t.push((0,M.jsx)(s.Z,{fill:o?o(e):Zt,height:a,onMouseLeave:function(){return x()},onMouseMove:It,onTouchMove:It,onTouchStart:It,width:u,x:c,y:l},"bar-".concat(n)))}return t}),[])}),z&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(c.Z,{left:ct.left,scale:xt,stroke:Ot.muted,tickFormat:function(t){return nt?nt(t):(0,_.P5)(t)},tickLabelProps:function(){return{fill:Ot.active,fontFamily:E.ry,fontSize:rt,textAnchor:"end",transform:"translate(-2,2.5)"}},tickStroke:Ot.muted,tickValues:Et,top:ct.top+Pt}),(0,M.jsx)(l.Z,{left:ct.left,numTicks:at?void 0:B||6,orientation:"top",scale:pt||yt,stroke:Ot.muted,tickFormat:function(t){return et?et(String(t)):at?t.toISOString().slice(0,10):String(t)},tickLabelProps:function(t){return{fill:St?Ot.active:"transparent",fontFamily:E.ry,fontSize:rt,textAnchor:"middle",transform:at?"rotate(-90,".concat(pt(t),",0) translate(-33,10)"):"translate(0, ".concat(3*ct.bottom,")")}},tickLineProps:{transform:"translate(0,".concat(P.iI,")")},tickStroke:St?Ot.muted:"transparent",top:ft+ct.top+Pt})]})]}),Q&&q&&(0,M.jsx)(h.Z,{left:K,style:v.j,top:$,children:(0,M.jsx)(j.ZP,{color:w.E5,small:!0,children:q})})]})}));var U=function(t){var e=t.height,n=t.loading,i=t.selected,o=t.width,u=t.xAxisLabel,c=t.yAxisLabel,l=(0,r.Z)(t,C);return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{style:{display:"flex",height:e,marginBottom:P.iI,width:"100%"},children:[c&&(0,M.jsx)(y.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,M.jsx)(O.Z,{children:(0,M.jsx)(j.ZP,{center:!0,muted:!0,small:!0,children:c})})}),(0,M.jsxs)("div",{style:{height:e,width:c?0===o?o:o-28:o},children:[n&&(0,M.jsx)(x.Z,{}),!n&&(0,M.jsx)(a.Z,{children:function(t){var e=t.height,n=t.width;return(0,M.jsx)(Y,R(R({},l),{},{height:e,selected:i,width:n}))}})]})]}),u&&(0,M.jsx)("div",{style:{paddingLeft:c?36:0,paddingTop:4},children:(0,M.jsx)(j.ZP,{center:!0,muted:!0,small:!0,children:u})})]})}},87862:function(t,e,n){"use strict";n.d(e,{Z:function(){return P}});var r=n(26304),i=n(82394),o=n(75582),u=n(26226),a=n(28940),c=n(82684),l=n(29989),s=n(38626),d=n(11684),f=n(24903),p=n(30160),h=n(44897),v=n(95363),m=n(61896),g=n(70515),b=n(98684),y=n(28598),x=["height","width","xAxisLabel"];function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Z={bottom:0,left:0,right:0,top:0},w=function(t){var e=t.endAngle;return{endAngle:e>Math.PI?2*Math.PI:0,opacity:0,startAngle:e>Math.PI?2*Math.PI:0}},k=function(t){var e=t.startAngle;return{endAngle:t.endAngle,opacity:1,startAngle:e}};function E(t){var e=t.animate,n=t.arcs,r=t.path,i=t.getKey,u=t.getColor,a=t.onClickDatum,c=t.textColor;return(0,d.useTransition)(n,{enter:k,from:e?w:k,keys:i,leave:e?w:k,update:k})((function(t,e,n){var l=n.key,s=r.centroid(e),f=(0,o.Z)(s,2),p=f[0],h=f[1],g=e.endAngle-e.startAngle>=.1;return(0,y.jsxs)("g",{children:[(0,y.jsx)(d.animated.path,{d:(0,d.to)([t.startAngle,t.endAngle],(function(t,n){return r(O(O({},e),{},{endAngle:n,startAngle:t}))})),fill:u(e),onClick:function(){return a(e)},onTouchStart:function(){return a(e)}}),g&&(0,y.jsx)(d.animated.g,{style:{opacity:t.opacity},children:(0,y.jsx)("text",{dy:".33em",fill:c,fontFamily:v.ry,fontSize:m.J5,pointerEvents:"none",textAnchor:"middle",x:p,y:h,children:i(e)})})]},l)}))}function T(t){var e=t.animate,n=void 0===e||e,r=t.data,i=t.getX,o=t.getY,u=t.height,d=t.margin,p=void 0===d?Z:d,v=t.textColor,m=t.width,x=(0,c.useState)(null),j=x[0],w=x[1],k=(0,c.useContext)(s.ThemeContext),T=v||(null===k||void 0===k?void 0:k.content.active)||h.Z.content.active;if(m<10)return null;var P=(0,f.Z)({domain:r.map((function(t){return i(t)})),range:(0,b.K)(k)}),S=m-p.left-p.right,I=u-p.top-p.bottom,A=Math.min(S,I)/2,D=I/2,_=S/2,L=Math.min(S/4,12*g.iI);return(0,y.jsx)("svg",{height:u,width:m,children:(0,y.jsx)(l.Z,{left:_+p.left,top:D+p.top,children:(0,y.jsx)(a.Z,{cornerRadius:g.iI/2,data:j?r.filter((function(t){return JSON.stringify(t)===JSON.stringify(j)})):r,innerRadius:Math.max(A-L,12.25),outerRadius:A,padAngle:.005,pieValue:o,children:function(t){return(0,y.jsx)(E,O(O({},t),{},{animate:n,getColor:function(t){var e=t.data;return P(i(e))},getKey:function(t){var e=t.data;return i(e)},onClickDatum:function(t){var e=t.data;return n&&w(j&&JSON.stringify(j)===JSON.stringify(e)?null:e)},textColor:T}))}})})})}function P(t){var e=t.height,n=t.width,i=t.xAxisLabel,o=(0,r.Z)(t,x),a={};return"undefined"!==typeof e&&(a.height=e),"undefined"!==typeof n&&(a.width=n),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{style:a,children:(0,y.jsx)(u.Z,{children:function(t){var e=t.width,n=t.height;return(0,y.jsx)(T,O(O({},o),{},{height:n,width:e}))}})}),i&&(0,y.jsx)("div",{style:{paddingTop:4},children:(0,y.jsx)(p.ZP,{center:!0,muted:!0,small:!0,children:i})})]})}},98684:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});var r=n(70987),i=function(t){var e=t||r.Z,n=e.brand,i=n.earth200,o=n.earth300,u=n.earth400,a=n.energy200,c=n.energy300,l=n.energy400,s=n.fire200,d=n.fire300,f=n.fire400,p=n.water200,h=n.water300,v=n.water400,m=n.wind200,g=n.wind300,b=n.wind400,y=e.chart;return[y.backgroundPrimary,y.backgroundSecondary,y.backgroundTertiary].concat([b,v,f,l,u,g,h,d,c,o,m,p,s,a,i])}},94035:function(t,e,n){"use strict";var r=n(38626).default.div.withConfig({displayName:"YAxisLabelContainer",componentId:"sc-qwp21x-0"})(["-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);white-space:nowrap;"]);e.Z=r},79221:function(t,e,n){"use strict";n.d(e,{P5:function(){return r},Vs:function(){return i}});n(81728);function r(t,e){var n=e||{},r=n.maxFractionDigits,i=n.minAmount,o=Intl.NumberFormat("en-US",{maximumFractionDigits:r||2,notation:"compact"});return"number"!==typeof t?t:t>=(i||1e4)?o.format(t):t.toString()}function i(t,e,n){var r,i;if("undefined"===typeof t||"undefined"===typeof e)return 0;var o=null===t||void 0===t||null===(r=t(e,n))||void 0===r||null===(i=r.props)||void 0===i?void 0:i.children;return(Array.isArray(o)?o:[o]).join("").length}},48888:function(t,e,n){"use strict";n.d(e,{AE:function(){return i},H3:function(){return o},mW:function(){return u},oE:function(){return a},yg:function(){return r}});var r="tabs[]",i="show_columns",o="column",u="Reports",a="Visualizations"},17679:function(t,e,n){"use strict";n.d(e,{O$:function(){return ot},Fk:function(){return ut}});var r=n(75582),i=n(12691),o=n.n(i),u=n(26304),a=n(21831),c=n(82394),l=n(82684),s=n(26226),d=n(84969),f=n(90948),p=n(65743),h=n(28108),v=n(79487),m=n(29989),g=n(38626),b=n(61655),y=n(16853),x=n(65376),j=n(48072),O=n(24903),Z=n(84181),w=n(98677),k=n(30160),E=n(70987),T=n(79633),P=n(61896),S=n(70515),I=n(95363),A=n(28598),D=["height","width"];function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){(0,c.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var M={bottom:5*S.iI,left:3*S.iI,right:20*S.iI,top:0},C=function(t){return t.x},N=function(t){return t.y},R=(0,b.Z)((function(t){var e=t.data,n=t.height,r=t.hideTooltip,i=t.large,o=t.margin,u=void 0===o?{}:o,c=t.renderTooltipContent,s=t.showTooltip,b=t.tooltipData,S=t.tooltipLeft,D=t.tooltipOpen,_=t.tooltipTop,R=t.width,H=t.xAxisLabel,Y=t.xNumTicks,U=t.yLabelFormat,B=t.ySerialize,V=U;V||(V=function(t){return t.length>20?"".concat(t.substring(0,20),"..."):t});var F=i?P.iD:P.J5,z=(0,l.useContext)(g.ThemeContext),G=L(L({},M),u),X=e.slice(Math.max(0,e.length-50)),W=Object.keys(X[0]||[]).filter((function(t){return"x"===t})),J=(0,O.Z)({domain:W,range:[T.hM]}),q=(0,Z.Z)({domain:[0,Math.max.apply(Math,(0,a.Z)(X.map(C)))],nice:!0}),K=(0,w.Z)({domain:X.map(N),padding:.35}),Q={active:(null===z||void 0===z?void 0:z.content.default)||E.Z.content.default,backgroundPrimary:(null===z||void 0===z?void 0:z.chart.backgroundPrimary)||E.Z.chart.backgroundPrimary,backgroundSecondary:(null===z||void 0===z?void 0:z.chart.backgroundSecondary)||E.Z.chart.backgroundSecondary,muted:(null===z||void 0===z?void 0:z.content.muted)||E.Z.content.muted,primary:(null===z||void 0===z?void 0:z.chart.primary)||E.Z.chart.primary,tooltipBackground:(null===z||void 0===z?void 0:z.background.navigation)||E.Z.background.navigation},$=X.map(B),tt=Math.min(Math.max.apply(Math,(0,a.Z)($.map((function(t){return String(t).length})))),20);6*tt>2*G.right?G.right+=5.5*tt:6*tt>=G.right&&(G.right+=3.75*tt);var et=R-G.left-G.right,nt=n-G.top-G.bottom;G.left+=7*tt,q.rangeRound([0,et]),K.rangeRound([nt,0]);var rt=X.map(C).length,it=K($[rt-1]),ot=(0,l.useCallback)((function(t){var e=(0,j.Z)(t)||{x:0,y:0},n=e.x,r=e.y,i=1-(r-it/2)/(nt-it),o=Math.floor(i*rt),u=X[o];"undefined"===typeof u&&(u=X[o-1]),r>it&&r<nt-it&&s({tooltipData:u,tooltipLeft:n,tooltipTop:r+G.top})}),[X,rt,G.top,s,it,nt]);return R<10?null:(0,A.jsxs)("div",{children:[(0,A.jsxs)("svg",{height:n,width:R,children:[(0,A.jsx)(p.Z,{fill:"transparent",height:n-(G.top+G.bottom),onMouseLeave:function(){return r()},onMouseMove:ot,onTouchMove:ot,onTouchStart:ot,rx:14,width:R-G.left,x:G.left,y:0}),(0,A.jsxs)(m.Z,{left:G.left,top:G.top,children:[(0,A.jsx)(h.Z,{color:J,data:X,height:nt,keys:W,pointerEvents:"none",xScale:q,y:B,yScale:K,children:function(t){return t.map((function(t){return t.bars.map((function(e){return(0,A.jsx)("g",{children:(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("rect",{fill:Q.backgroundPrimary,height:e.height,pointerEvents:"none",rx:4,width:e.width,x:e.x,y:e.y})})},"barstack-horizontal-".concat(t.index,"-").concat(e.index))}))}))}}),(0,A.jsx)(d.Z,{hideTicks:!0,scale:K,stroke:Q.muted,tickFormat:function(t){return V(t)},tickLabelProps:function(){return{fill:Q.active,fontFamily:I.ry,fontSize:F,style:{width:"10px"},textAnchor:"end"}},tickStroke:Q.muted,tickValues:$,top:2}),(0,A.jsx)(f.Z,{label:H,labelProps:{fill:Q.muted,fontFamily:I.ry,fontSize:F,textAnchor:"middle"},numTicks:Y,scale:q,stroke:Q.muted,tickLabelProps:function(){return{fill:Q.active,fontFamily:I.ry,fontSize:F,textAnchor:"middle"}},tickStroke:Q.muted,top:nt})]}),b&&(0,A.jsx)("g",{children:(0,A.jsx)(v.Z,{from:{x:G.left,y:_},pointerEvents:"none",stroke:T.Ej,strokeDasharray:"5,2",strokeWidth:1,to:{x:et+G.left,y:_}})})]}),D&&b&&(0,A.jsx)(y.Z,{left:S,style:L(L({},x.j),{},{backgroundColor:Q.tooltipBackground}),top:_,children:(0,A.jsxs)(k.ZP,{black:!0,small:!0,children:[null===c||void 0===c?void 0:c(b),!c&&C(b).toFixed(4)]})})]})}));var H,Y,U,B,V=function(t){var e=t.height,n=t.width,r=(0,u.Z)(t,D);return(0,A.jsx)("div",{style:{height:e,width:"undefined"===typeof n?"100%":n},children:(0,A.jsx)(s.Z,{children:function(t){var e=t.width,n=t.height;return(0,A.jsx)(R,L(L({},r),{},{height:n,width:e}))}})})},F=n(97618),z=n(52729),G=n(48670),X=n(87862),W=n(89370),J=n(86735),q=(J.Qj,J.tS,J.tS,J.tS,J.tS,J.Qj,J.Qj,J.Qj,J.tS,J.tS,H={},(0,c.Z)(H,W.RL.EMAIL,"domain_distribution"),(0,c.Z)(H,W.RL.TEXT,"word_distribution"),(0,c.Z)(H,W.RL.LIST,"element_distribution"),(0,c.Z)(H,"default","value_counts"),H),K=[].concat((0,a.Z)(W.P_),[W.RL.TEXT,W.RL.EMAIL,W.RL.LIST]),Q=(Y={},(0,c.Z)(Y,W.RL.EMAIL,"Domain distribution"),(0,c.Z)(Y,W.RL.TEXT,"Word distribution"),(0,c.Z)(Y,W.RL.LIST,"Element distribution"),(0,c.Z)(Y,"default","Distribution of values"),n(31353));!function(t){t.RANGE="range"}(U||(U={})),function(t){t.BAR_HORIZONTAL="bar_horizontal",t.LINE_CHART="line_chart",t.HISTOGRAM="histogram"}(B||(B={}));var $=n(48888),tt=n(92083),et=n.n(tt),nt=n(81728);function rt(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r||{},o=i.calculateAnomaly,u=i.feature,c=i.getYValue,l=t.x,s=t.x_metadata,d=s.label,f=s.label_type,p=t.y,h=(null===p||void 0===p?void 0:p.map((function(t){return null===c||void 0===c?void 0:c(t)})))||[],v=Math.max.apply(Math,(0,a.Z)(h)),m=Math.max.apply(Math,(0,a.Z)(h)),g=(0,J.Sm)(h),b=(0,J.IN)(h),y=g/Math.max(1,h.length),x=e[d]||u,j=null===x||void 0===x?void 0:x.columnType,O=W.RL.DATETIME===j,Z=[],w=[],k=l.length,E=l.map((function(t,e){var r,i,u,a,c=t.label,l=t.max,s=t.min,d=p[e];if(U.RANGE===f)if(n||(n=l-s),a=W.RL.NUMBER===j&&n<=k)r=Number(s);else if(r=n/2+s,O){var x="M/D/YYYY",E="M/D/YYYY",T="M/D/YYYY";n<=1?(x=n<=.1?"H:mm:ss.SSS":"H:mm:ss",E="H:mm:ss.SSS",T="H:mm:ss.SSS"):n<=60?(x="H:mm",E="H:mm:ss",T="H:mm:ss"):n<=3600?(x="H:mm",E="M/D/YYYY H:mm",T="H:mm"):n<=86400&&(E="M/D/YYYY H:mm",T="M/D/YYYY H:mm"),r=et().unix(r).format(x),i=et().unix(s).format(E),u=et().unix(l).format(T)}else r=(0,nt.QV)(r);else r=c;var P=e>=1?p[e-1]:null,S=!1;o&&(S=o({x:t,y:d,yPrevious:P,yValues:h,yValuesAverage:y,yValuesMax:v,yValuesMin:m,yValuesStandardDeviation:b,yValuesSum:g}));var I={hideRange:a,isUnusual:S,x:t,xLabel:r,xLabelMax:u,xLabelMin:i,y:d};return S&&(a?w.push(I):Z.push(I)),I}));return{distribution:{data:E,featureUUID:d},rangedWithUnusualDistribution:(0,J.YC)(Z,(function(t){var e=t.y;return c(e)}),{ascending:!1}),unusualDistribution:(0,J.YC)(w,(function(t){var e=t.y;return c(e)}),{ascending:!1})}}var it=n(40489);var ot=12*S.iI;function ut(t){var e=t.columnTypes,n=t.columns,i=t.insightsByFeatureUUID,u=t.insightsOverview,a=t.noColumnLinks,c=void 0!==a&&a,l=t.statistics;return function(t,a,s){var d=s.width,f=n[a],p=e[f],h=Q.T5[p],v=(i[f]||{}).charts,m=u.time_series,g=n.filter((function(t){return e[t]===W.RL.DATETIME})),b=null===m||void 0===m?void 0:m.map((function(t){return rt(t,{},{feature:{columnType:p,uuid:f}}).distribution})),y={};null===b||void 0===b||b.forEach((function(t,e){var n=t.data;y[g[e]]=(0,A.jsx)(z.Z,{data:n.map((function(t){var e=t.x,n=t.xLabel,r=t.xLabelMax,i=t.xLabelMin;return[n,t.y.count,i,r,e.min,e.max]})),height:ot,large:!0,margin:{bottom:0,left:0,right:0,top:0},renderTooltipContent:function(t){var e=(0,r.Z)(t,4),n=e[1],i=e[2],o=e[3];return(0,A.jsxs)("p",{children:["Rows: ",n,(0,A.jsx)("br",{}),"Start: ",i,(0,A.jsx)("br",{}),"End: ",o]})},sortData:function(t){return(0,J.YC)(t,"[4]")}},f)}));var x,j=null===v||void 0===v?void 0:v.find((function(t){var e=t.type;return B.HISTOGRAM===e})),O=(j?rt(j,{},{feature:{columnType:p,uuid:f},getYValue:function(t){return t.value}}):{}).distribution,Z=void 0===O?null:O,w=q[p]||q.default,E=null===l||void 0===l?void 0:l["".concat(f,"/").concat(w)],T=Object.entries(E||{}).map((function(t){var e=(0,r.Z)(t,2),n=e[0];return{x:e[1],y:n}})),P=W.RL.TRUE_OR_FALSE===p;if(W.RL.DATETIME===p)x=y[f];else if(Z&&!P)x=(0,A.jsx)(z.Z,{data:Z.data.map((function(t){var e=t.hideRange,n=t.isUnusual,r=t.x;return[t.xLabel,t.y.value,r.min,r.max,n,e]})),height:ot,margin:{bottom:0,left:0,right:0,top:0},renderTooltipContent:function(t){var e=(0,r.Z)(t,6),n=e[1],i=e[2],o=e[3],u=e[5];return(0,A.jsxs)("p",{children:[u&&(0,A.jsxs)(A.Fragment,{children:["Rows: ",n,(0,A.jsx)("br",{}),"Value: ",i]}),!u&&(0,A.jsxs)(A.Fragment,{children:["Rows: ",n,(0,A.jsx)("br",{}),"Range: ",i," - ",o]})]})},sortData:function(t){return(0,J.YC)(t,"[2]")},width:d-2*S.iI});else if(K.includes(p)){var I=(0,J.YC)((0,J.YC)(T,"x",{ascending:!1}).slice(0,5),"x");x=(0,A.jsx)(V,{data:I,height:ot,margin:{bottom:0,left:0,right:20,top:0},renderTooltipContent:function(t){var e=t.x,n=t.y;return"".concat(n," appears ").concat((0,nt.x6)(e)," times")},xNumTicks:2,ySerialize:function(t){return t.y}})}else P&&E&&(x=(0,A.jsx)(X.Z,{data:Object.entries(E),getX:function(t){var e=(0,r.Z)(t,2),n=e[0],i=e[1];return"".concat(n," (").concat((0,nt.x6)(i),")")},getY:function(t){return(0,r.Z)(t,2)[1]},height:ot}));return(0,A.jsxs)("div",{style:{padding:S.iI},children:[(0,A.jsxs)("div",{style:{alignItems:"center",display:"flex",marginBottom:S.iI},children:[h&&(0,A.jsx)(F.Z,{title:W.Rp[p],children:(0,A.jsx)(h,{size:2*S.iI})}),(0,A.jsx)("div",{style:{marginLeft:.5*S.iI,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:d-4.5*S.iI},children:c?(0,A.jsx)(k.ZP,{bold:!0,default:!0,title:n[a],children:n[a]}):(0,A.jsx)(o(),{as:(0,it.o_)($.oE,a),href:"/datasets/[...slug]",passHref:!0,children:(0,A.jsx)(G.Z,{bold:!0,monospace:!0,secondary:!0,small:!0,title:n[a],children:n[a]})})})]}),x,!x&&(0,A.jsx)("div",{style:{height:ot}})]})}}},40489:function(t,e,n){"use strict";n.d(e,{o_:function(){return c}});var r=n(75582),i=n(34376),o=n(48888);n(82684),n(12691),n(71180),n(58036),n(97618),n(55485),n(48670),n(38276),n(30160),n(72473),n(28598);var u,a=n(69419);!function(t){t.DATASETS="datasets",t.DATASET_DETAIL="dataset_detail",t.COLUMNS="features",t.COLUMN_DETAIL="feature_detail",t.EXPORT="export"}(u||(u={}));var c=function(t,e){var n=(0,i.useRouter)().query.slug,c=void 0===n?[]:n,l=(0,r.Z)(c,1)[0],s=(0,a.iV)(),d=s.show_columns,f=s.column,p="/".concat(u.DATASETS,"/").concat(l),h="".concat(o.H3,"=").concat(f||e),v="".concat(o.yg,"=").concat(t,"&").concat(h,"&").concat(o.AE,"=").concat(d||0);return"".concat(p,"?").concat(v)}},44265:function(t,e,n){"use strict";n.d(e,{Az:function(){return l},BF:function(){return c},Do:function(){return d},IK:function(){return a},P0:function(){return i},VO:function(){return u},sZ:function(){return s}});var r,i,o=n(82394),u=n(41143).V,a=[u.FAILED,u.COMPLETED,u.RUNNING,u.CANCELLED,u.INITIAL],c=[u.INITIAL,u.RUNNING],l=[u.CANCELLED,u.COMPLETED,u.FAILED],s="__mage_variables",d=(r={},(0,o.Z)(r,u.CANCELLED,"Cancelled"),(0,o.Z)(r,u.COMPLETED,"Done"),(0,o.Z)(r,u.FAILED,"Failed"),(0,o.Z)(r,u.INITIAL,"Ready"),(0,o.Z)(r,u.RUNNING,"Running"),r);!function(t){t.PIPELINE_UUID="pipeline_uuid[]",t.STATUS="status[]",t.TAG="pipeline_tag[]"}(i||(i={}))},30229:function(t,e,n){"use strict";n.d(e,{PN:function(){return a},TR:function(){return h},U5:function(){return l},Wb:function(){return p},Xm:function(){return o},Z4:function(){return s},fq:function(){return c},gm:function(){return d},kJ:function(){return f}});var r,i,o,u=n(82394),a="__bookmark_values__";!function(t){t.API="api",t.EVENT="event",t.TIME="time"}(o||(o={}));var c,l,s=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(t){t.ACTIVE="active",t.INACTIVE="inactive"}(c||(c={})),function(t){t.ONCE="@once",t.HOURLY="@hourly",t.DAILY="@daily",t.WEEKLY="@weekly",t.MONTHLY="@monthly",t.ALWAYS_ON="@always_on"}(l||(l={}));var d,f,p=[l.ONCE,l.HOURLY,l.DAILY,l.WEEKLY,l.MONTHLY];!function(t){t.INTERVAL="frequency[]",t.STATUS="status[]",t.TAG="tag[]",t.TYPE="type[]"}(d||(d={})),function(t){t.CREATED_AT="created_at",t.NAME="name",t.PIPELINE="pipeline_uuid",t.STATUS="status",t.TYPE="schedule_type"}(f||(f={}));var h=(i={},(0,u.Z)(i,f.CREATED_AT,"Created at"),(0,u.Z)(i,f.NAME,"Name"),(0,u.Z)(i,f.PIPELINE,"Pipeline"),(0,u.Z)(i,f.STATUS,"Active"),(0,u.Z)(i,f.TYPE,"Type"),i)},14532:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return rt}});var r=n(77837),i=n(75582),o=n(82394),u=n(38860),a=n.n(u),c=n(82684),l=n(69864),s=n(34376),d=n(23192),f=n(71180),p=n(15338),h=n(97618),v=n(55485),m=n(85854),g=n(55072),b=n(75457),y=n(44265),x=n(57653),j=n(93808),O=n(38276),Z=n(4190),w=n(30160),k=n(35686),E=n(21831),T=n(26304),P=n(90299),S=n(93859),I=n(24138),A=n(48339),D=n(46684),_=n(70515),L=n(66909),M=n(8955),C=n(16488),N=n(81728),R=n(86735),H=n(28598),Y=["blockRuns","blocksOverride","columns","dataType","height","heightOffset","loadingData","outputs","pipeline","renderColumnHeader","rows","selectedRun","selectedTab","setSelectedTab","textData"];function U(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var V={uuid:"Dependency tree"},F={uuid:"Block output"},z=[F,V];var G=n(28795),X=n(81655),W=n(3917),J=n(72619),q=n(3314),K=n(69419),Q=n(70320);function $(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var et=100;function nt(t){var e=t.pipeline,n=t.pipelineRun,r=(0,Q.qB)(),o=(0,s.useRouter)(),u=(0,K.iV)(),a=null!==u&&void 0!==u&&u.page?u.page:0,j=(0,c.useState)(null),U=j[0],$=j[1],nt=(0,c.useState)(z[0]),rt=nt[0],it=nt[1],ot=(0,c.useState)(null),ut=ot[0],at=ot[1],ct=e.uuid,lt=k.ZP.pipelines.detail(ct,{includes_content:!1,includes_outputs:!1},{revalidateOnFocus:!1}).data,st=(0,c.useMemo)((function(){return tt(tt({},null===lt||void 0===lt?void 0:lt.pipeline),{},{uuid:ct})}),[lt,ct]),dt=k.ZP.pipeline_runs.detail(n.id,{_format:"with_basic_details"},{refreshInterval:3e3,revalidateOnFocus:!0}).data,ft=(0,c.useMemo)((function(){return(null===dt||void 0===dt?void 0:dt.pipeline_run)||{}}),[dt]),pt=ft.execution_date,ht=ft.id,vt=ft.status,mt={_limit:et,_offset:a*et,pipeline_run_id:ht},gt=null===u||void 0===u?void 0:u[X.lG.SORT_COL_IDX],bt=null===u||void 0===u?void 0:u[X.lG.SORT_DIRECTION];if(gt){var yt=d.fi[gt],xt=bt||X.sh.ASC;mt.order_by="".concat(yt,"%20").concat(xt)}var jt=k.ZP.block_runs.list(mt,{refreshInterval:5e3}),Ot=jt.data,Zt=jt.mutate,wt=(0,c.useMemo)((function(){return(null===Ot||void 0===Ot?void 0:Ot.block_runs)||[]}),[Ot]),kt=wt.map((function(t){return t.block_uuid})),Et=(0,c.useMemo)((function(){return kt}),[kt]),Tt=k.ZP.blocks.pipeline_runs.list(null===n||void 0===n?void 0:n.id,{_limit:et,block_uuid:Et},{}).data,Pt=(0,l.Db)(k.ZP.pipeline_runs.useUpdate(ht),{onSuccess:function(t){return(0,J.wD)(t,{callback:function(){$(null),null===Zt||void 0===Zt||Zt()},onErrorCallback:function(t,e){return at({errors:e,response:t})}})}}),St=(0,i.Z)(Pt,2),It=St[0],At=St[1].isLoading,Dt=k.ZP.outputs.block_runs.list(null===U||void 0===U?void 0:U.id),_t=Dt.data,Lt=Dt.loading;(0,c.useEffect)((function(){U||(null===rt||void 0===rt?void 0:rt.uuid)!==F.uuid||it(V)}),[U,null===rt||void 0===rt?void 0:rt.uuid]);var Mt=(0,c.useMemo)((function(){return(0,H.jsx)(d.ZP,{blockRuns:wt,onClickRow:function(t){$((function(e){var n=wt[t],r=(null===e||void 0===e?void 0:e.id)!==n.id?n:null;return r&&it((function(t){return t!==F?F:t})),r}))},pipeline:st,selectedRun:U,setErrors:at,sortableColumnIndexes:d.lG})}),[wt,st,U]),Ct=(null===st||void 0===st?void 0:st.type)!==x.qL.STREAMING&&vt&&vt!==y.VO.COMPLETED,Nt=((null===st||void 0===st?void 0:st.type)===x.qL.PYTHON||(null===st||void 0===st?void 0:st.type)===x.qL.INTEGRATION)&&U&&y.Az.includes(vt),Rt=(0,c.useMemo)((function(){var t;return(null===Ot||void 0===Ot||null===(t=Ot.metadata)||void 0===t?void 0:t.count)||[]}),[Ot]),Ht=(0,c.useMemo)((function(){return(0,H.jsx)(O.Z,{p:2,children:(0,H.jsx)(g.ZP,{maxPages:g.Et,onUpdate:function(t){var e=Number(t),n=tt(tt({},u),{},{page:e>=0?e:0});$(null),o.push("/pipelines/[pipeline]/runs/[run]","/pipelines/".concat(ct,"/runs/").concat(ht,"?").concat((0,K.uM)(n)))},page:Number(a),totalPages:Math.ceil(Rt/et)})})}),[a,ht,ct,u,o,Rt]),Yt=(0,c.useCallback)((function(t){return function(t){var e=t.blockRuns,n=t.blocksOverride,r=(t.columns,t.dataType,t.height),o=t.heightOffset,u=t.loadingData,a=t.outputs,c=t.pipeline,l=t.renderColumnHeader,s=(t.rows,t.selectedRun),d=t.selectedTab,f=t.setSelectedTab,h=(t.textData,B({},(0,T.Z)(t,Y)));h.blockStatus=(0,C.IJ)(e);var m=[],g=[],b=(0,N.bH)();if(!u){var y,x={};null===a||void 0===a||a.forEach((function(t){var e=t.type;x[e]||(x[e]={outputs:[],priority:Object.keys(x).length}),x[e].outputs.push(t)})),null===(y=(0,R.YC)(Object.entries(x),(function(t){var e=(0,i.Z)(t,2);return e[0],e[1].priority})))||void 0===y||y.forEach((function(t,e){var n=(0,i.Z)(t,2),u=n[0],a=n[1].outputs,c=[];null===a||void 0===a||a.forEach((function(t,n){var i,a=t.sample_data,s=t.text_data,d=t.type,f=(0,H.jsx)(O.Z,{ml:2,children:(0,H.jsx)(w.ZP,{children:"This block run has no output."})},"output-empty-".concat(e,"-").concat(n));if(d===A.Gi.TABLE){var p=((null===a||void 0===a?void 0:a.columns)||[]).slice(0,40),h=(null===a||void 0===a?void 0:a.rows)||[];i=h&&(null===h||void 0===h?void 0:h.length)>=1?(0,H.jsx)(S.Z,{columnHeaderHeight:l?L.Eh:0,columns:p,height:r-o-90,noBorderBottom:!0,noBorderLeft:!0,noBorderRight:!0,renderColumnHeader:l,rows:h},"output-table-".concat(e,"-").concat(n)):f}else{var v=(0,N.Pb)(s)?JSON.stringify(JSON.parse(s),null,2):s;i=s?(0,H.jsx)(O.Z,{ml:2,children:(0,H.jsx)(w.ZP,{monospace:!0,children:(0,H.jsx)("pre",{children:v})})},"output-text-".concat(e,"-").concat(n)):f}var y=b[e];A.Gi.TEXT===u?(c.push(i),0===n&&g.push({uuid:"Block output ".concat(n+1).concat(y)})):(m.push(i),g.push({uuid:"Block output ".concat(n+1).concat(y)}))})),A.Gi.TEXT===u&&m.push(c)}))}var j=m,k=g,U=z;(null===k||void 0===k?void 0:k.length)>=2&&(U=[F].concat((0,E.Z)(k.slice(1)),[V]));var G=d&&f,X=j[U.findIndex((function(t){return t.uuid===(null===d||void 0===d?void 0:d.uuid)}))];return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("div",{style:{position:"fixed",top:D.Mz},children:G&&(0,H.jsx)(H.Fragment,{children:(0,H.jsx)(O.Z,{py:0,children:(0,H.jsx)(P.Z,{onClickTab:f,regularSizeText:!0,selectedTabUUID:null===d||void 0===d?void 0:d.uuid,tabs:s?U:[V],underlineStyle:!0})})})}),(0,H.jsxs)("div",{style:{position:"relative",top:M.u$},children:[G&&(0,H.jsx)(p.Z,{light:!0}),(!s||V.uuid===(null===d||void 0===d?void 0:d.uuid))&&(0,H.jsx)(I.ZP,B(B({},h),{},{blocksOverride:n,enablePorts:!1,height:r,heightOffset:(o||0)+(G?M.u$+1:0),pipeline:c})),s&&d&&V.uuid!==(null===d||void 0===d?void 0:d.uuid)&&(0,H.jsxs)(H.Fragment,{children:[u&&(0,H.jsx)(O.Z,{mt:2,children:(0,H.jsx)(v.ZP,{alignItems:"center",fullWidth:!0,justifyContent:"center",children:(0,H.jsx)(Z.Z,{color:"white",large:!0})})}),!u&&(0,H.jsx)(O.Z,{py:_.cd,children:X})]})]})]})}(tt(tt({},t),{},{blockRuns:wt,blocksOverride:Rt<=et&&(null===Tt||void 0===Tt?void 0:Tt.blocks),loadingData:Lt,outputs:null===_t||void 0===_t?void 0:_t.outputs,selectedRun:U,selectedTab:rt,setSelectedTab:it,showDynamicBlocks:!0}))}),[wt,Tt,_t,Lt,U,rt,it,Rt]);return(0,H.jsxs)(b.Z,{breadcrumbs:[{label:function(){return"Runs"},linkProps:{as:"/pipelines/".concat(ct,"/runs"),href:"/pipelines/[pipeline]/runs"}},{label:function(){return r?(0,W.XG)(pt,r):pt}}],buildSidekick:Yt,errors:ut,pageName:G.M.RUNS,pipeline:st,setErrors:at,subheader:(Ct||Nt)&&(0,H.jsxs)(v.ZP,{alignItems:"center",children:[y.BF.includes(vt)&&(0,H.jsxs)(h.Z,{children:[(0,H.jsx)(w.ZP,{bold:!0,default:!0,large:!0,children:"Pipeline is running"}),(0,H.jsx)(O.Z,{mr:1}),(0,H.jsx)(Z.Z,{inverted:!0}),(0,H.jsx)(O.Z,{mr:2})]}),Ct&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(f.ZP,{danger:!0,loading:At,onClick:function(t){(0,q.j)(t),It({pipeline_run:{pipeline_run_action:"retry_blocks"}})},outline:!0,children:"Retry incomplete blocks"}),(0,H.jsx)(O.Z,{mr:2})]}),Nt&&(0,H.jsxs)(f.ZP,{loading:At,onClick:function(t){(0,q.j)(t),It({pipeline_run:{from_block_uuid:U.block_uuid,pipeline_run_action:"retry_blocks"}})},outline:!0,primary:!0,children:["Retry from selected block (",U.block_uuid,")"]})]}),title:function(t){var e=t.name;return"".concat(e," runs")},uuid:"".concat(G.M.RUNS,"_").concat(ct,"_").concat(ht),children:[(0,H.jsx)(O.Z,{mt:_.cd,px:_.cd,children:(0,H.jsx)(m.Z,{level:5,children:"Block runs"})}),(0,H.jsx)(p.Z,{light:!0,mt:_.cd,short:!0}),Mt,Ht]})}nt.getInitialProps=function(){var t=(0,r.Z)(a().mark((function t(e){var n,r,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.query,r=n.pipeline,i=n.run,t.abrupt("return",{pipeline:{uuid:r},pipelineRun:{id:i}});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();var rt=(0,j.Z)(nt)},39525:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipelines/[pipeline]/runs/[run]",function(){return n(14532)}])}},function(t){t.O(0,[2678,1154,844,5820,1124,1751,5896,9161,2631,4267,6990,8487,8264,7858,5499,5457,4366,4138,3419,9774,2888,179],(function(){return e=39525,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8662],{28108:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(82684),i=n(63588),o=n.n(i),u=n(75823),a=n(29989),c=n(62072),l=n(53989),s=n(49894),d=n(18246),f=n(59309),p=n(65743),h=["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"];function v(){return v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v.apply(this,arguments)}function m(t){var e=t.data,n=t.className,i=t.top,m=t.left,g=t.y,b=t.x0,y=void 0===b?c.l8:b,x=t.x1,j=void 0===x?c.xf:x,O=t.xScale,Z=t.yScale,w=t.color,k=t.keys,E=t.value,T=t.order,P=t.offset,S=t.children,I=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,h),A=(0,u.Z)();k&&A.keys(k),E&&(0,s.Z)(A.value,E),T&&A.order((0,d.ZP)(T)),P&&A.offset((0,f.ZP)(P));var D=A(e),_=(0,l.Z)(Z),L=D.map((function(t,e){var n=t.key;return{index:e,key:n,bars:t.map((function(e,r){var i=(O(j(e))||0)-(O(y(e))||0),o=O(y(e)),u="bandwidth"in Z?Z(g(e.data)):Math.max((Z(g(e.data))||0)-i/2);return{bar:e,key:n,index:r,height:_,width:i,x:o||0,y:u||0,color:w(t.key,r)}}))}}));return S?r.createElement(r.Fragment,null,S(L)):r.createElement(a.Z,{className:o()("visx-bar-stack-horizontal",n),top:i,left:m},L.map((function(t){return t.bars.map((function(e){return r.createElement(p.Z,v({key:"bar-stack-"+t.index+"-"+e.index,x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},I))}))})))}},62072:function(t,e,n){"use strict";function r(t){return null==t?void 0:t[0]}function i(t){return null==t?void 0:t[1]}n.d(e,{l8:function(){return r},xf:function(){return i}})},59309:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l}});var r=n(12759),i=n(27500),o=n(82610),u=n(34812),a=n(77944),c={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:u.Z,wiggle:a.Z};Object.keys(c);function l(t){return t&&c[t]||c.none}},18246:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l}});var r=n(39586),i=n(25516),o=n(54164),u=n(8512),a=n(2010),c={ascending:r.Z,descending:i.Z,insideout:o.Z,none:u.Z,reverse:a.Z};Object.keys(c);function l(t){return t&&c[t]||c.none}},93859:function(t,e,n){"use strict";n.d(e,{r:function(){return I},Z:function(){return L}});var r=n(82394),i=n(21831),o=n(82684),u=n(48670),a=n(12691),c=n.n(a),l=n(38626),s=n(78141),d=n(44628),f=n(6508),p=n(55485),h=n(30160),v=n(44897),m=n(70987),g=function(){var t=document.createElement("div");t.setAttribute("style","width: 100px; height: 100px; overflow: scroll; position:absolute; top:-9999px;"),document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},b=n(95363),y=n(61896),x=n(47041),j=n(48888),O=n(70515),Z=n(40489),w=n(86735),k=n(28598);function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var P=2*O.iI+y.dN,S=20*O.iI,I=8.7,A=l.default.div.withConfig({displayName:"DataTable__Styles",componentId:"sc-1arr863-0"})([""," "," "," .body > div{","}.table{border-spacing:0;display:inline-block;"," "," "," "," .tr{.td.td-index-column{","}}.th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;","}.th,.td{"," font-family:",";margin:0;","}.td{padding:","px;}&.sticky{overflow:auto;}.header{overflow:hidden;}}"],(function(t){return t.disableScrolling&&"\n overflow: hidden;\n "}),(function(t){return t.height&&"\n height: ".concat(t.height,"px;\n ")}),(function(t){return t.maxHeight&&"\n max-height: ".concat(t.maxHeight,"px;\n ")}),x.w5,(function(t){return!t.noBorderBottom&&"\n border-bottom: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return!t.noBorderLeft&&"\n border-left: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return!t.noBorderRight&&"\n border-right: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return!t.noBorderTop&&"\n border-top: 1px solid ".concat((t.theme.borders||m.Z.borders).medium,";\n ")}),(function(t){return"\n color: ".concat((t.theme.content||m.Z.content).default,";\n ")}),(function(t){return"\n height: ".concat(t.columnHeaderHeight||P,"px;\n ")}),y.iD,b.ry,(function(t){return"\n background-color: ".concat((t.theme.background||m.Z.background).table,";\n border-bottom: 1px solid ").concat((t.theme.borders||m.Z.borders).medium,";\n border-right: 1px solid ").concat((t.theme.borders||m.Z.borders).medium,";\n ")}),1*O.iI);function D(t){var e=t.original,n=8.5*Math.max.apply(Math,(0,i.Z)(e.map((function(t){return(null===t||void 0===t?void 0:t.length)||0})))),r=Math.ceil(n/(S-2*O.iI));return Math.max(r,1)*y.dN+2*O.iI}function _(t){var e=t.columnHeaderHeight,n=t.columns,r=t.data,a=t.disableScrolling,x=t.height,E=t.index,A=t.invalidValues,_=t.maxHeight,L=t.numberOfIndexes,M=t.previewIndexes,C=t.renderColumnHeader,N=t.width,R=(0,o.useContext)(l.ThemeContext),H=(0,o.useRef)(null),Y=(0,o.useRef)(null);(0,o.useEffect)((function(){var t=function(t){var e;null===H||void 0===H||null===(e=H.current)||void 0===e||e.scroll(t.target.scrollLeft,0)};return Y&&Y.current.addEventListener("scroll",t),function(){var e;null===Y||void 0===Y||null===(e=Y.current)||void 0===e||e.removeEventListener("scroll",t)}}),[H,Y]);var U=(0,o.useMemo)((function(){return E&&r&&E.length===r.length}),[r,E]),B=(0,o.useMemo)((function(){var t=[];return(0,w.w6)(L).forEach((function(e,n){var o=String(null===r||void 0===r?void 0:r.length).length*I;if(U){var u=E.map((function(t){return L>=2?String(t[n]).length:String(t).length}));o=Math.max.apply(Math,(0,i.Z)(u))*I}t.push(o+2*O.iI)})),t}),[r,E,L,U]),V=n.map((function(t){return null===t||void 0===t?void 0:t.Header})).slice(1),F=(0,o.useMemo)((function(){return g()}),[]),z=(0,o.useMemo)((function(){var t=N-(Math.max.apply(Math,(0,i.Z)(B))+1.5*O.iI+F),e=n.length-1,r=S;return r*e<t&&(r=t/e),{width:r}}),[n,B,F,N]),G=(0,d.useTable)({columns:n,data:r,defaultColumn:z},d.useBlockLayout,f.useSticky),X=G.getTableBodyProps,W=G.getTableProps,J=G.headerGroups,q=G.prepareRow,K=G.rows,Q=(0,o.useCallback)((function(t){var e=t.index,n=t.style,r=new Set((null===M||void 0===M?void 0:M.removedRows)||[]),i=K[e];q(i);var a=i.original,l=r.has(e);return(0,k.jsx)("div",T(T({},i.getRowProps({style:T(T({},n),{},{width:"auto"})})),{},{className:"tr",children:i.cells.map((function(t,n){var r,i=n<=L-1,s=t.getCellProps(),d=t.column.id,f=null===A||void 0===A||null===(r=A[d])||void 0===r?void 0:r.includes(e),v=T({},s.style);i&&(v.fontFamily=b.Vp,v.left=0,v.position="sticky",v.textAlign=E?"right":"center",v.width=B[n]);var g,y=a[n-L],x=V.indexOf(d);if(f&&(v.color=m.Z.interactive.dangerBorder),l&&(v.backgroundColor=m.Z.background.danger),Array.isArray(y)||"object"===typeof y)try{y=JSON.stringify(y)}catch(O){y="Error: cannot display value"}return i&&(U?(g=E[e],Array.isArray(g)&&(g=g[n])):g=t.render("Cell")),(0,o.createElement)("div",T(T({},s),{},{className:"td ".concat(i?"td-index-column":""),key:"".concat(n,"-").concat(y),style:v}),g,!i&&(0,k.jsxs)(p.ZP,{justifyContent:"space-between",children:[(0,k.jsxs)(h.ZP,{danger:f,default:!0,wordBreak:!0,children:[!0===y&&"true",!1===y&&"false",(null===y||"null"===y)&&"null",!0!==y&&!1!==y&&null!==y&&"null"!==y&&y]}),f&&(0,k.jsx)(c(),{as:(0,Z.o_)(j.mW,x),href:"/datasets/[...slug]",passHref:!0,children:(0,k.jsx)(u.Z,{danger:!0,children:"View all"})})]}))}))}))}),[V,E,A,B,L,q,K,U,M]),$=(0,o.useMemo)((function(){var t;return _?(t=(0,w.Sm)(K.map(D)),t+=e||P-y.dN):(t=x,t-=e||P),t}),[e,x,_,K]),tt=(0,o.useMemo)((function(){return(0,k.jsx)(s.S_,{estimatedItemSize:P,height:$,itemCount:null===K||void 0===K?void 0:K.length,itemSize:function(t){return D(K[t])},outerRef:Y,style:{maxHeight:_,pointerEvents:a?"none":null},children:Q})}),[a,$,_,Q,K]);return(0,k.jsx)("div",T(T({},W()),{},{className:"table sticky",style:{width:N},children:(0,k.jsxs)("div",T(T({},X()),{},{className:"body",children:[(0,k.jsx)("div",{className:"header",ref:H,children:J.map((function(t,e){return(0,o.createElement)("div",T(T({},t.getHeaderGroupProps()),{},{className:"tr",key:"".concat(t.id,"_").concat(e)}),t.headers.map((function(t,e){var n,r=e<=L-1,i=t.getHeaderProps(),u=T({},i.style);return r?(u.fontFamily=b.Vp,u.left=0,u.position="sticky",u.textAlign="center",u.width=B[e],u.minWidth=B[e]):C?n=C(t,e-L,{width:z.width}):(n=t.render("Header"),u.color=(R||v.Z).content.default,u.padding=1*O.iI,u.minWidth=z.width),(0,o.createElement)("div",T(T({},i),{},{className:"th",key:t.id,style:u,title:r?"Row number":void 0}),n)})))}))}),tt]}))}))}var L=function(t){var e=t.columnHeaderHeight,n=t.columns,r=t.disableScrolling,i=t.height,u=t.index,a=t.invalidValues,c=t.maxHeight,l=t.noBorderBottom,s=t.noBorderLeft,d=t.noBorderRight,f=t.noBorderTop,p=t.previewIndexes,h=t.renderColumnHeader,v=t.rows,m=t.width;if(null===n||void 0===n?void 0:n.some((function(t){return""===t})))return null;var g=(0,o.useMemo)((function(){return null!==u&&void 0!==u&&u.length&&Array.isArray(u[0])?u[0].length:1}),[u]),b=(0,o.useMemo)((function(){return(0,w.w6)(g).map((function(t,e){return{Header:(0,w.w6)(e+1).map((function(){return" "})).join(" "),accessor:function(t,e){return e},sticky:"left"}})).concat(null===n||void 0===n?void 0:n.map((function(t){return{Header:String(t),accessor:String(t)}})))}),[n,g]),y=(0,o.useMemo)((function(){return(0,k.jsx)(_,{columnHeaderHeight:e,columns:b,data:v,disableScrolling:r,height:i,index:u,invalidValues:a,maxHeight:c,numberOfIndexes:g,previewIndexes:p,renderColumnHeader:h,width:m})}),[e,b,v,r,i,u,a,c,g,p,h,m]);return(0,k.jsx)(A,{columnHeaderHeight:e,disableScrolling:r,height:i,maxHeight:c?c+37:c,noBorderBottom:l,noBorderLeft:s,noBorderRight:d,noBorderTop:f,children:y})}},66909:function(t,e,n){"use strict";n.d(e,{Eh:function(){return l},t0:function(){return s}});var r=n(38626),i=n(2842),o=n(17679),u=n(61896),a=n(47041),c=n(70515),l=(c.iI,o.O$+3*c.iI+u.dN),s=r.default.div.withConfig({displayName:"indexstyle__SidekickContainerStyle",componentId:"sc-15ofupc-0"})([""," overflow:auto;position:absolute;width:100%;"," ",""],a.w5,(function(t){return"\n height: calc(100vh - ".concat(i.uX,"px - ").concat(t.heightOffset,"px);\n ")}),(function(t){return t.overflowHidden&&"\n overflow: hidden;\n "}));r.default.div.withConfig({displayName:"indexstyle__PaddingContainerStyle",componentId:"sc-15ofupc-1"})(["padding:","px;",""],2*c.iI,(function(t){return t.noPadding&&"\n padding: 0;\n "}))},16488:function(t,e,n){"use strict";n.d(e,{IJ:function(){return v},M8:function(){return k},Uc:function(){return x},XM:function(){return w},_U:function(){return h},eI:function(){return y},gU:function(){return O},lO:function(){return I},ri:function(){return g},tL:function(){return j},vJ:function(){return Z},xH:function(){return b}});var r,i=n(82394),o=n(92083),u=n.n(o),a=n(3917),c=n(4383),l=n(30229),s=n(42122),d=n(86735);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=function(t){return!!t&&!Object.values(l.U5).includes(t)};function v(t){return null===t||void 0===t?void 0:t.reduce((function(t,e){var n=e.block_uuid,r=e.completed_at,o=e.started_at,a=e.status,c=null;o&&r&&(c=u()(r).valueOf()-u()(o).valueOf());return p(p({},t),{},(0,i.Z)({},n,{runtime:c,status:a}))}),{})}var m,g=function(t){var e=[{description:function(){return"This pipeline will run continuously on an interval or just once."},label:function(){return"Schedule"},uuid:l.Xm.TIME},{description:function(){return"This pipeline will run when a specific event occurs."},label:function(){return"Event"},uuid:l.Xm.EVENT},{description:function(){return"Run this pipeline when you make an API call."},label:function(){return"API"},uuid:l.Xm.API}];return t?e.slice(0,1):e};function b(t){var e=(0,s.gR)(t,[l.gm.INTERVAL,l.gm.TYPE]),n=t[l.gm.INTERVAL];n&&(e["schedule_interval[]"]=encodeURIComponent(n));var r=t[l.gm.TYPE];return r&&(e["schedule_type[]"]=r),e}function y(t){return t?new Date(u()(t).valueOf()):null}function x(t,e){return e?(0,a.XG)(t,e):function(t){if("string"!==typeof t)return t;var e=t.split("+")[0];return u()(y(e)).format(a.Nx)}(t)}!function(t){t.DAY="day",t.HOUR="hour",t.MINUTE="minute",t.SECOND="second"}(m||(m={}));var j=(r={},(0,i.Z)(r,m.DAY,86400),(0,i.Z)(r,m.HOUR,3600),(0,i.Z)(r,m.MINUTE,60),(0,i.Z)(r,m.SECOND,1),r);function O(t){var e=m.SECOND,n=t;return t%86400===0?(n/=86400,e=m.DAY):t%3600===0?(n/=3600,e=m.HOUR):t%60===0&&(n/=60,e=m.MINUTE),{time:n,unit:e}}function Z(t,e){return t*j[e]}function w(t,e,n){var r,i=u()(t);return i.set("hour",+(null===e||void 0===e?void 0:e.hour)||0),i.set("minute",+(null===e||void 0===e?void 0:e.minute)||0),i.set("second",0),r=i.format(a.TD),null!==n&&void 0!==n&&n.includeSeconds&&(r=r.concat(":00")),null!==n&&void 0!==n&&n.localTimezone&&(r=i.format(a.lE),null!==n&&void 0!==n&&n.convertToUtc&&(r=(0,a.d$)(r,{includeSeconds:null===n||void 0===n?void 0:n.includeSeconds,utcFormat:!0}))),r}function k(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="",i=!0;return i&&(n?r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===t||void 0===t?void 0:t.id,"/api_trigger"):(r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===t||void 0===t?void 0:t.id,"/pipeline_runs"),null!==t&&void 0!==t&&t.token&&(r="".concat(r,"/").concat(t.token)))),i&&(e=window.location.port)&&(r=r.replace(e,c.QT)),r}function E(t,e,n){return t.match(/[*,-/]/)?{additionalOffset:0,cronValue:t}:function(t,e,n){var r=n.indexOf(t),i=0;if(e<0)for(var o=0;o>e;o--)0===r?(r=n.length-1,i-=1):r-=1;else if(e>0)for(var u=0;u<e;u++)r===n.length-1?(r=0,i+=1):r+=1;return{additionalOffset:i,cronValue:String(n[r]||t)}}(+t,e,n)}var T=(0,d.m5)(60),P=(0,d.m5)(24),S=(0,a.Cs)();function I(t,e){if(!t)return t;var n=u()().local().format("Z"),r=n.split(":"),i="-"===n[0],o=3===r[0].length?Number(r[0].slice(1)):Number(r[0]),a=Number(r[1]);(i&&!e||!i&&e)&&(o=-o,a=-a);var c=t.split(" "),l=c[0],s=c[1],d=c[2],f=E(l,a,T),p=E(s,o+f.additionalOffset,P);if(c[0]=f.cronValue,c[1]=p.cronValue,0!==(null===p||void 0===p?void 0:p.additionalOffset)){var h=E(d,p.additionalOffset,S);c[2]=h.cronValue}return c.join(" ")}},52729:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r=n(26304),i=n(21831),o=n(82394),u=n(82684),a=n(26226),c=n(84969),l=n(90948),s=n(65743),d=n(29989),f=n(38626),p=n(61655),h=n(16853),v=n(65376),m=n(48072),g=n(98677),b=n(84181),y=n(55485),x=n(4190),j=n(30160),O=n(94035),Z=n(70987),w=n(79633),k=n(89370),E=n(95363),T=n(61896),P=n(70515),S=n(88543),I=n(6568),A=function(t){return t.slice(0,10)},D=function(t,e){var n=t.toISOString().slice(0,10),r=e.toISOString().slice(0,10);return"".concat(n,":").concat(r)},_=n(79221),L=n(98684),M=n(28598),C=["height","loading","selected","width","xAxisLabel","yAxisLabel"];function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function R(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var H={bottom:P.iI,left:3*P.iI,right:0,top:1*P.iI},Y=(0,p.Z)((function(t){var e=t.columnType,n=t.data,r=void 0===n?[]:n,o=t.getBarColor,a=t.getXValue,p=t.getYValue,y=t.height,x=t.hideTooltip,O=t.large,C=t.margin,N=void 0===C?{}:C,Y=t.muted,U=t.noPadding,B=t.numberOfXTicks,V=t.renderTooltipContent,F=t.selected,z=t.showAxisLabels,G=t.showTooltip,X=t.showYAxisLabels,W=t.showZeroes,J=t.sortData,q=t.tooltipData,K=t.tooltipLeft,Q=t.tooltipOpen,$=t.tooltipTop,tt=t.width,et=t.xLabelFormat,nt=t.yLabelFormat,rt=O?T.J5:T.VK,it=(0,u.useCallback)((function(t){return a?a(t):t[0]}),[a]),ot=(0,u.useCallback)((function(t){return p?p(t):t[1]}),[p]),ut=(0,u.useContext)(f.ThemeContext),at=e===k.RL.DATETIME,ct=R(R({},H),N);z&&(ct=R(R({},ct),{},{left:ct.left+P.iI}));var lt=J?J(r):r.sort((function(t,e){return e[1]-t[1]})),st=at?r.sort((function(t,e){return new Date(t[0])-new Date(e[0])})).filter((function(t){return!!t[0]})):lt.slice(0,60),dt=tt-(ct.left+ct.right),ft=y-(ct.bottom+ct.top),pt=at?function(t,e){var n,r=t.map((function(t){return new Date(t[0])})).sort((function(t,e){return t-e}));return(0,I.Z)({domain:(n=r,[(0,S.Z)(n[0]),(0,S.Z)(n[n.length-1])]),nice:!0,range:[0,e]})}(st,dt):null,ht=function(t,e){if(null===e)return{};var n=e.ticks().map((function(t){return t.toISOString()})),r={},i=0,o=1;return t.forEach((function(t){var e=new Date(t[0]),u=t[1],a=n[i],c=n[o];if(a&&c){var l=new Date(a),s=new Date(c),d=D(l,s);if(e>=l&&e<s)r[d]=(r[d]||0)+u;else for(;o<n.length||!r[d];)if(i+=1,o+=1,l=new Date(n[i]),s=new Date(n[o]),d=D(l,s),e>=l&&e<s)return void(r[d]=(r[d]||0)+u)}})),n.reduce((function(t,e,n,r){if(0===n)return t;var i=A(e),o=A(r[n-1]);return t.push("".concat(o,":").concat(i)),t}),[]).forEach((function(t){r[t]=r[t]||0})),r}(st,pt);st=pt?Object.entries(ht).sort((function(t,e){return new Date(A(t[0]))-new Date(A(e[0]))})):st;var vt=pt?Math.max.apply(Math,(0,i.Z)(Object.values(ht))):0,mt=st.reduce((function(t,e){return(0!==ot(e)||at||W)&&t.push(it(e)),t}),[]),gt=mt.length,bt=function(t,e,n){return n?.05:t>=30&&e<300?.5:t>=15?.3:t>=5?.1:t>2?.05:2===t?.025:0}(gt,tt,at),yt=(0,g.Z)({domain:mt,paddingInner:U?null:bt,range:[0,dt],round:!1}),xt=(0,b.Z)({domain:[0,Math.max.apply(Math,(0,i.Z)(st.map(ot)))],range:[ft,0],round:!0}),jt=(0,L.K)(ut),Ot={active:((null===ut||void 0===ut?void 0:ut.content)||Z.Z.content).active,default:jt[0],muted:((null===ut||void 0===ut?void 0:ut.monotone)||Z.Z.monotone).gray,selected:((null===ut||void 0===ut?void 0:ut.elevation)||Z.Z.elevation).visualizationAccent},Zt=Ot.default;Y?Zt=Ot.muted:F&&(Zt=Ot.selected);var wt=gt?at?vt:Math.max.apply(Math,(0,i.Z)(st.map((function(t){return ot(t)})))):0,kt=Math.floor(wt/6),Et=[0],Tt=0;if(wt>6)for(;Tt<wt;)Et.push(Tt+kt),Tt+=kt;else for(;Tt<=wt;)Et.push(Tt+1),Tt+=1;wt>9999?ct=R(R({},ct),{},{left:O?8*P.iI:4.1*P.iI}):wt>999&&(ct=R(R({},ct),{},{left:O?5*P.iI:3.6*P.iI}));var Pt=at?2.25:0,St=gt<10||e===k.RL.NUMBER||e===k.RL.NUMBER_WITH_DECIMALS||at||X,It=(0,u.useCallback)((function(t){var e=(0,m.Z)(t)||{x:0,y:0},n=e.x,r=e.y,i=(n-(z?ct.left:0))/dt,o=Math.floor(gt*i),u=st[o];"undefined"===typeof u&&(u=st[0]);var a=it(u);a=a.length>15?"".concat(a.slice(0,21)):a;var c=V?V(u):"".concat(a," (").concat(ot(u),")");G({tooltipData:c,tooltipLeft:n-ct.left,tooltipTop:r+ct.top})}),[st,gt,it,ot,ct.left,ct.top,V,z,G,tt]);return tt<10||!r.length?null:(0,M.jsxs)("div",{children:[(0,M.jsxs)("svg",{height:y+ct.bottom*(at?7.5:3),width:tt,children:[(0,M.jsx)(d.Z,{left:z?ct.left:0,top:ct.top+Pt,children:st.reduce((function(t,e){var n=it(e),r=ot(e);if(0!==r){var i,u=yt.bandwidth(),a=ft-(null!==(i=xt(r))&&void 0!==i?i:0),c=yt(n),l=ft-a;t.push((0,M.jsx)(s.Z,{fill:o?o(e):Zt,height:a,onMouseLeave:function(){return x()},onMouseMove:It,onTouchMove:It,onTouchStart:It,width:u,x:c,y:l},"bar-".concat(n)))}return t}),[])}),z&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(c.Z,{left:ct.left,scale:xt,stroke:Ot.muted,tickFormat:function(t){return nt?nt(t):(0,_.P5)(t)},tickLabelProps:function(){return{fill:Ot.active,fontFamily:E.ry,fontSize:rt,textAnchor:"end",transform:"translate(-2,2.5)"}},tickStroke:Ot.muted,tickValues:Et,top:ct.top+Pt}),(0,M.jsx)(l.Z,{left:ct.left,numTicks:at?void 0:B||6,orientation:"top",scale:pt||yt,stroke:Ot.muted,tickFormat:function(t){return et?et(String(t)):at?t.toISOString().slice(0,10):String(t)},tickLabelProps:function(t){return{fill:St?Ot.active:"transparent",fontFamily:E.ry,fontSize:rt,textAnchor:"middle",transform:at?"rotate(-90,".concat(pt(t),",0) translate(-33,10)"):"translate(0, ".concat(3*ct.bottom,")")}},tickLineProps:{transform:"translate(0,".concat(P.iI,")")},tickStroke:St?Ot.muted:"transparent",top:ft+ct.top+Pt})]})]}),Q&&q&&(0,M.jsx)(h.Z,{left:K,style:v.j,top:$,children:(0,M.jsx)(j.ZP,{color:w.E5,small:!0,children:q})})]})}));var U=function(t){var e=t.height,n=t.loading,i=t.selected,o=t.width,u=t.xAxisLabel,c=t.yAxisLabel,l=(0,r.Z)(t,C);return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{style:{display:"flex",height:e,marginBottom:P.iI,width:"100%"},children:[c&&(0,M.jsx)(y.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,M.jsx)(O.Z,{children:(0,M.jsx)(j.ZP,{center:!0,muted:!0,small:!0,children:c})})}),(0,M.jsxs)("div",{style:{height:e,width:c?0===o?o:o-28:o},children:[n&&(0,M.jsx)(x.Z,{}),!n&&(0,M.jsx)(a.Z,{children:function(t){var e=t.height,n=t.width;return(0,M.jsx)(Y,R(R({},l),{},{height:e,selected:i,width:n}))}})]})]}),u&&(0,M.jsx)("div",{style:{paddingLeft:c?36:0,paddingTop:4},children:(0,M.jsx)(j.ZP,{center:!0,muted:!0,small:!0,children:u})})]})}},87862:function(t,e,n){"use strict";n.d(e,{Z:function(){return P}});var r=n(26304),i=n(82394),o=n(75582),u=n(26226),a=n(28940),c=n(82684),l=n(29989),s=n(38626),d=n(11684),f=n(24903),p=n(30160),h=n(44897),v=n(95363),m=n(61896),g=n(70515),b=n(98684),y=n(28598),x=["height","width","xAxisLabel"];function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Z={bottom:0,left:0,right:0,top:0},w=function(t){var e=t.endAngle;return{endAngle:e>Math.PI?2*Math.PI:0,opacity:0,startAngle:e>Math.PI?2*Math.PI:0}},k=function(t){var e=t.startAngle;return{endAngle:t.endAngle,opacity:1,startAngle:e}};function E(t){var e=t.animate,n=t.arcs,r=t.path,i=t.getKey,u=t.getColor,a=t.onClickDatum,c=t.textColor;return(0,d.useTransition)(n,{enter:k,from:e?w:k,keys:i,leave:e?w:k,update:k})((function(t,e,n){var l=n.key,s=r.centroid(e),f=(0,o.Z)(s,2),p=f[0],h=f[1],g=e.endAngle-e.startAngle>=.1;return(0,y.jsxs)("g",{children:[(0,y.jsx)(d.animated.path,{d:(0,d.to)([t.startAngle,t.endAngle],(function(t,n){return r(O(O({},e),{},{endAngle:n,startAngle:t}))})),fill:u(e),onClick:function(){return a(e)},onTouchStart:function(){return a(e)}}),g&&(0,y.jsx)(d.animated.g,{style:{opacity:t.opacity},children:(0,y.jsx)("text",{dy:".33em",fill:c,fontFamily:v.ry,fontSize:m.J5,pointerEvents:"none",textAnchor:"middle",x:p,y:h,children:i(e)})})]},l)}))}function T(t){var e=t.animate,n=void 0===e||e,r=t.data,i=t.getX,o=t.getY,u=t.height,d=t.margin,p=void 0===d?Z:d,v=t.textColor,m=t.width,x=(0,c.useState)(null),j=x[0],w=x[1],k=(0,c.useContext)(s.ThemeContext),T=v||(null===k||void 0===k?void 0:k.content.active)||h.Z.content.active;if(m<10)return null;var P=(0,f.Z)({domain:r.map((function(t){return i(t)})),range:(0,b.K)(k)}),S=m-p.left-p.right,I=u-p.top-p.bottom,A=Math.min(S,I)/2,D=I/2,_=S/2,L=Math.min(S/4,12*g.iI);return(0,y.jsx)("svg",{height:u,width:m,children:(0,y.jsx)(l.Z,{left:_+p.left,top:D+p.top,children:(0,y.jsx)(a.Z,{cornerRadius:g.iI/2,data:j?r.filter((function(t){return JSON.stringify(t)===JSON.stringify(j)})):r,innerRadius:Math.max(A-L,12.25),outerRadius:A,padAngle:.005,pieValue:o,children:function(t){return(0,y.jsx)(E,O(O({},t),{},{animate:n,getColor:function(t){var e=t.data;return P(i(e))},getKey:function(t){var e=t.data;return i(e)},onClickDatum:function(t){var e=t.data;return n&&w(j&&JSON.stringify(j)===JSON.stringify(e)?null:e)},textColor:T}))}})})})}function P(t){var e=t.height,n=t.width,i=t.xAxisLabel,o=(0,r.Z)(t,x),a={};return"undefined"!==typeof e&&(a.height=e),"undefined"!==typeof n&&(a.width=n),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{style:a,children:(0,y.jsx)(u.Z,{children:function(t){var e=t.width,n=t.height;return(0,y.jsx)(T,O(O({},o),{},{height:n,width:e}))}})}),i&&(0,y.jsx)("div",{style:{paddingTop:4},children:(0,y.jsx)(p.ZP,{center:!0,muted:!0,small:!0,children:i})})]})}},98684:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});var r=n(70987),i=function(t){var e=t||r.Z,n=e.brand,i=n.earth200,o=n.earth300,u=n.earth400,a=n.energy200,c=n.energy300,l=n.energy400,s=n.fire200,d=n.fire300,f=n.fire400,p=n.water200,h=n.water300,v=n.water400,m=n.wind200,g=n.wind300,b=n.wind400,y=e.chart;return[y.backgroundPrimary,y.backgroundSecondary,y.backgroundTertiary].concat([b,v,f,l,u,g,h,d,c,o,m,p,s,a,i])}},94035:function(t,e,n){"use strict";var r=n(38626).default.div.withConfig({displayName:"YAxisLabelContainer",componentId:"sc-qwp21x-0"})(["-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);white-space:nowrap;"]);e.Z=r},79221:function(t,e,n){"use strict";n.d(e,{P5:function(){return r},Vs:function(){return i}});n(81728);function r(t,e){var n=e||{},r=n.maxFractionDigits,i=n.minAmount,o=Intl.NumberFormat("en-US",{maximumFractionDigits:r||2,notation:"compact"});return"number"!==typeof t?t:t>=(i||1e4)?o.format(t):t.toString()}function i(t,e,n){var r,i;if("undefined"===typeof t||"undefined"===typeof e)return 0;var o=null===t||void 0===t||null===(r=t(e,n))||void 0===r||null===(i=r.props)||void 0===i?void 0:i.children;return(Array.isArray(o)?o:[o]).join("").length}},48888:function(t,e,n){"use strict";n.d(e,{AE:function(){return i},H3:function(){return o},mW:function(){return u},oE:function(){return a},yg:function(){return r}});var r="tabs[]",i="show_columns",o="column",u="Reports",a="Visualizations"},17679:function(t,e,n){"use strict";n.d(e,{O$:function(){return ot},Fk:function(){return ut}});var r=n(75582),i=n(12691),o=n.n(i),u=n(26304),a=n(21831),c=n(82394),l=n(82684),s=n(26226),d=n(84969),f=n(90948),p=n(65743),h=n(28108),v=n(79487),m=n(29989),g=n(38626),b=n(61655),y=n(16853),x=n(65376),j=n(48072),O=n(24903),Z=n(84181),w=n(98677),k=n(30160),E=n(70987),T=n(79633),P=n(61896),S=n(70515),I=n(95363),A=n(28598),D=["height","width"];function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){(0,c.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var M={bottom:5*S.iI,left:3*S.iI,right:20*S.iI,top:0},C=function(t){return t.x},N=function(t){return t.y},R=(0,b.Z)((function(t){var e=t.data,n=t.height,r=t.hideTooltip,i=t.large,o=t.margin,u=void 0===o?{}:o,c=t.renderTooltipContent,s=t.showTooltip,b=t.tooltipData,S=t.tooltipLeft,D=t.tooltipOpen,_=t.tooltipTop,R=t.width,H=t.xAxisLabel,Y=t.xNumTicks,U=t.yLabelFormat,B=t.ySerialize,V=U;V||(V=function(t){return t.length>20?"".concat(t.substring(0,20),"..."):t});var F=i?P.iD:P.J5,z=(0,l.useContext)(g.ThemeContext),G=L(L({},M),u),X=e.slice(Math.max(0,e.length-50)),W=Object.keys(X[0]||[]).filter((function(t){return"x"===t})),J=(0,O.Z)({domain:W,range:[T.hM]}),q=(0,Z.Z)({domain:[0,Math.max.apply(Math,(0,a.Z)(X.map(C)))],nice:!0}),K=(0,w.Z)({domain:X.map(N),padding:.35}),Q={active:(null===z||void 0===z?void 0:z.content.default)||E.Z.content.default,backgroundPrimary:(null===z||void 0===z?void 0:z.chart.backgroundPrimary)||E.Z.chart.backgroundPrimary,backgroundSecondary:(null===z||void 0===z?void 0:z.chart.backgroundSecondary)||E.Z.chart.backgroundSecondary,muted:(null===z||void 0===z?void 0:z.content.muted)||E.Z.content.muted,primary:(null===z||void 0===z?void 0:z.chart.primary)||E.Z.chart.primary,tooltipBackground:(null===z||void 0===z?void 0:z.background.navigation)||E.Z.background.navigation},$=X.map(B),tt=Math.min(Math.max.apply(Math,(0,a.Z)($.map((function(t){return String(t).length})))),20);6*tt>2*G.right?G.right+=5.5*tt:6*tt>=G.right&&(G.right+=3.75*tt);var et=R-G.left-G.right,nt=n-G.top-G.bottom;G.left+=7*tt,q.rangeRound([0,et]),K.rangeRound([nt,0]);var rt=X.map(C).length,it=K($[rt-1]),ot=(0,l.useCallback)((function(t){var e=(0,j.Z)(t)||{x:0,y:0},n=e.x,r=e.y,i=1-(r-it/2)/(nt-it),o=Math.floor(i*rt),u=X[o];"undefined"===typeof u&&(u=X[o-1]),r>it&&r<nt-it&&s({tooltipData:u,tooltipLeft:n,tooltipTop:r+G.top})}),[X,rt,G.top,s,it,nt]);return R<10?null:(0,A.jsxs)("div",{children:[(0,A.jsxs)("svg",{height:n,width:R,children:[(0,A.jsx)(p.Z,{fill:"transparent",height:n-(G.top+G.bottom),onMouseLeave:function(){return r()},onMouseMove:ot,onTouchMove:ot,onTouchStart:ot,rx:14,width:R-G.left,x:G.left,y:0}),(0,A.jsxs)(m.Z,{left:G.left,top:G.top,children:[(0,A.jsx)(h.Z,{color:J,data:X,height:nt,keys:W,pointerEvents:"none",xScale:q,y:B,yScale:K,children:function(t){return t.map((function(t){return t.bars.map((function(e){return(0,A.jsx)("g",{children:(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("rect",{fill:Q.backgroundPrimary,height:e.height,pointerEvents:"none",rx:4,width:e.width,x:e.x,y:e.y})})},"barstack-horizontal-".concat(t.index,"-").concat(e.index))}))}))}}),(0,A.jsx)(d.Z,{hideTicks:!0,scale:K,stroke:Q.muted,tickFormat:function(t){return V(t)},tickLabelProps:function(){return{fill:Q.active,fontFamily:I.ry,fontSize:F,style:{width:"10px"},textAnchor:"end"}},tickStroke:Q.muted,tickValues:$,top:2}),(0,A.jsx)(f.Z,{label:H,labelProps:{fill:Q.muted,fontFamily:I.ry,fontSize:F,textAnchor:"middle"},numTicks:Y,scale:q,stroke:Q.muted,tickLabelProps:function(){return{fill:Q.active,fontFamily:I.ry,fontSize:F,textAnchor:"middle"}},tickStroke:Q.muted,top:nt})]}),b&&(0,A.jsx)("g",{children:(0,A.jsx)(v.Z,{from:{x:G.left,y:_},pointerEvents:"none",stroke:T.Ej,strokeDasharray:"5,2",strokeWidth:1,to:{x:et+G.left,y:_}})})]}),D&&b&&(0,A.jsx)(y.Z,{left:S,style:L(L({},x.j),{},{backgroundColor:Q.tooltipBackground}),top:_,children:(0,A.jsxs)(k.ZP,{black:!0,small:!0,children:[null===c||void 0===c?void 0:c(b),!c&&C(b).toFixed(4)]})})]})}));var H,Y,U,B,V=function(t){var e=t.height,n=t.width,r=(0,u.Z)(t,D);return(0,A.jsx)("div",{style:{height:e,width:"undefined"===typeof n?"100%":n},children:(0,A.jsx)(s.Z,{children:function(t){var e=t.width,n=t.height;return(0,A.jsx)(R,L(L({},r),{},{height:n,width:e}))}})})},F=n(97618),z=n(52729),G=n(48670),X=n(87862),W=n(89370),J=n(86735),q=(J.Qj,J.tS,J.tS,J.tS,J.tS,J.Qj,J.Qj,J.Qj,J.tS,J.tS,H={},(0,c.Z)(H,W.RL.EMAIL,"domain_distribution"),(0,c.Z)(H,W.RL.TEXT,"word_distribution"),(0,c.Z)(H,W.RL.LIST,"element_distribution"),(0,c.Z)(H,"default","value_counts"),H),K=[].concat((0,a.Z)(W.P_),[W.RL.TEXT,W.RL.EMAIL,W.RL.LIST]),Q=(Y={},(0,c.Z)(Y,W.RL.EMAIL,"Domain distribution"),(0,c.Z)(Y,W.RL.TEXT,"Word distribution"),(0,c.Z)(Y,W.RL.LIST,"Element distribution"),(0,c.Z)(Y,"default","Distribution of values"),n(31353));!function(t){t.RANGE="range"}(U||(U={})),function(t){t.BAR_HORIZONTAL="bar_horizontal",t.LINE_CHART="line_chart",t.HISTOGRAM="histogram"}(B||(B={}));var $=n(48888),tt=n(92083),et=n.n(tt),nt=n(81728);function rt(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r||{},o=i.calculateAnomaly,u=i.feature,c=i.getYValue,l=t.x,s=t.x_metadata,d=s.label,f=s.label_type,p=t.y,h=(null===p||void 0===p?void 0:p.map((function(t){return null===c||void 0===c?void 0:c(t)})))||[],v=Math.max.apply(Math,(0,a.Z)(h)),m=Math.max.apply(Math,(0,a.Z)(h)),g=(0,J.Sm)(h),b=(0,J.IN)(h),y=g/Math.max(1,h.length),x=e[d]||u,j=null===x||void 0===x?void 0:x.columnType,O=W.RL.DATETIME===j,Z=[],w=[],k=l.length,E=l.map((function(t,e){var r,i,u,a,c=t.label,l=t.max,s=t.min,d=p[e];if(U.RANGE===f)if(n||(n=l-s),a=W.RL.NUMBER===j&&n<=k)r=Number(s);else if(r=n/2+s,O){var x="M/D/YYYY",E="M/D/YYYY",T="M/D/YYYY";n<=1?(x=n<=.1?"H:mm:ss.SSS":"H:mm:ss",E="H:mm:ss.SSS",T="H:mm:ss.SSS"):n<=60?(x="H:mm",E="H:mm:ss",T="H:mm:ss"):n<=3600?(x="H:mm",E="M/D/YYYY H:mm",T="H:mm"):n<=86400&&(E="M/D/YYYY H:mm",T="M/D/YYYY H:mm"),r=et().unix(r).format(x),i=et().unix(s).format(E),u=et().unix(l).format(T)}else r=(0,nt.QV)(r);else r=c;var P=e>=1?p[e-1]:null,S=!1;o&&(S=o({x:t,y:d,yPrevious:P,yValues:h,yValuesAverage:y,yValuesMax:v,yValuesMin:m,yValuesStandardDeviation:b,yValuesSum:g}));var I={hideRange:a,isUnusual:S,x:t,xLabel:r,xLabelMax:u,xLabelMin:i,y:d};return S&&(a?w.push(I):Z.push(I)),I}));return{distribution:{data:E,featureUUID:d},rangedWithUnusualDistribution:(0,J.YC)(Z,(function(t){var e=t.y;return c(e)}),{ascending:!1}),unusualDistribution:(0,J.YC)(w,(function(t){var e=t.y;return c(e)}),{ascending:!1})}}var it=n(40489);var ot=12*S.iI;function ut(t){var e=t.columnTypes,n=t.columns,i=t.insightsByFeatureUUID,u=t.insightsOverview,a=t.noColumnLinks,c=void 0!==a&&a,l=t.statistics;return function(t,a,s){var d=s.width,f=n[a],p=e[f],h=Q.T5[p],v=(i[f]||{}).charts,m=u.time_series,g=n.filter((function(t){return e[t]===W.RL.DATETIME})),b=null===m||void 0===m?void 0:m.map((function(t){return rt(t,{},{feature:{columnType:p,uuid:f}}).distribution})),y={};null===b||void 0===b||b.forEach((function(t,e){var n=t.data;y[g[e]]=(0,A.jsx)(z.Z,{data:n.map((function(t){var e=t.x,n=t.xLabel,r=t.xLabelMax,i=t.xLabelMin;return[n,t.y.count,i,r,e.min,e.max]})),height:ot,large:!0,margin:{bottom:0,left:0,right:0,top:0},renderTooltipContent:function(t){var e=(0,r.Z)(t,4),n=e[1],i=e[2],o=e[3];return(0,A.jsxs)("p",{children:["Rows: ",n,(0,A.jsx)("br",{}),"Start: ",i,(0,A.jsx)("br",{}),"End: ",o]})},sortData:function(t){return(0,J.YC)(t,"[4]")}},f)}));var x,j=null===v||void 0===v?void 0:v.find((function(t){var e=t.type;return B.HISTOGRAM===e})),O=(j?rt(j,{},{feature:{columnType:p,uuid:f},getYValue:function(t){return t.value}}):{}).distribution,Z=void 0===O?null:O,w=q[p]||q.default,E=null===l||void 0===l?void 0:l["".concat(f,"/").concat(w)],T=Object.entries(E||{}).map((function(t){var e=(0,r.Z)(t,2),n=e[0];return{x:e[1],y:n}})),P=W.RL.TRUE_OR_FALSE===p;if(W.RL.DATETIME===p)x=y[f];else if(Z&&!P)x=(0,A.jsx)(z.Z,{data:Z.data.map((function(t){var e=t.hideRange,n=t.isUnusual,r=t.x;return[t.xLabel,t.y.value,r.min,r.max,n,e]})),height:ot,margin:{bottom:0,left:0,right:0,top:0},renderTooltipContent:function(t){var e=(0,r.Z)(t,6),n=e[1],i=e[2],o=e[3],u=e[5];return(0,A.jsxs)("p",{children:[u&&(0,A.jsxs)(A.Fragment,{children:["Rows: ",n,(0,A.jsx)("br",{}),"Value: ",i]}),!u&&(0,A.jsxs)(A.Fragment,{children:["Rows: ",n,(0,A.jsx)("br",{}),"Range: ",i," - ",o]})]})},sortData:function(t){return(0,J.YC)(t,"[2]")},width:d-2*S.iI});else if(K.includes(p)){var I=(0,J.YC)((0,J.YC)(T,"x",{ascending:!1}).slice(0,5),"x");x=(0,A.jsx)(V,{data:I,height:ot,margin:{bottom:0,left:0,right:20,top:0},renderTooltipContent:function(t){var e=t.x,n=t.y;return"".concat(n," appears ").concat((0,nt.x6)(e)," times")},xNumTicks:2,ySerialize:function(t){return t.y}})}else P&&E&&(x=(0,A.jsx)(X.Z,{data:Object.entries(E),getX:function(t){var e=(0,r.Z)(t,2),n=e[0],i=e[1];return"".concat(n," (").concat((0,nt.x6)(i),")")},getY:function(t){return(0,r.Z)(t,2)[1]},height:ot}));return(0,A.jsxs)("div",{style:{padding:S.iI},children:[(0,A.jsxs)("div",{style:{alignItems:"center",display:"flex",marginBottom:S.iI},children:[h&&(0,A.jsx)(F.Z,{title:W.Rp[p],children:(0,A.jsx)(h,{size:2*S.iI})}),(0,A.jsx)("div",{style:{marginLeft:.5*S.iI,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:d-4.5*S.iI},children:c?(0,A.jsx)(k.ZP,{bold:!0,default:!0,title:n[a],children:n[a]}):(0,A.jsx)(o(),{as:(0,it.o_)($.oE,a),href:"/datasets/[...slug]",passHref:!0,children:(0,A.jsx)(G.Z,{bold:!0,monospace:!0,secondary:!0,small:!0,title:n[a],children:n[a]})})})]}),x,!x&&(0,A.jsx)("div",{style:{height:ot}})]})}}},40489:function(t,e,n){"use strict";n.d(e,{o_:function(){return c}});var r=n(75582),i=n(34376),o=n(48888);n(82684),n(12691),n(71180),n(58036),n(97618),n(55485),n(48670),n(38276),n(30160),n(72473),n(28598);var u,a=n(69419);!function(t){t.DATASETS="datasets",t.DATASET_DETAIL="dataset_detail",t.COLUMNS="features",t.COLUMN_DETAIL="feature_detail",t.EXPORT="export"}(u||(u={}));var c=function(t,e){var n=(0,i.useRouter)().query.slug,c=void 0===n?[]:n,l=(0,r.Z)(c,1)[0],s=(0,a.iV)(),d=s.show_columns,f=s.column,p="/".concat(u.DATASETS,"/").concat(l),h="".concat(o.H3,"=").concat(f||e),v="".concat(o.yg,"=").concat(t,"&").concat(h,"&").concat(o.AE,"=").concat(d||0);return"".concat(p,"?").concat(v)}},44265:function(t,e,n){"use strict";n.d(e,{Az:function(){return l},BF:function(){return c},Do:function(){return d},IK:function(){return a},P0:function(){return i},VO:function(){return u},sZ:function(){return s}});var r,i,o=n(82394),u=n(41143).V,a=[u.FAILED,u.COMPLETED,u.RUNNING,u.CANCELLED,u.INITIAL],c=[u.INITIAL,u.RUNNING],l=[u.CANCELLED,u.COMPLETED,u.FAILED],s="__mage_variables",d=(r={},(0,o.Z)(r,u.CANCELLED,"Cancelled"),(0,o.Z)(r,u.COMPLETED,"Done"),(0,o.Z)(r,u.FAILED,"Failed"),(0,o.Z)(r,u.INITIAL,"Ready"),(0,o.Z)(r,u.RUNNING,"Running"),r);!function(t){t.PIPELINE_UUID="pipeline_uuid[]",t.STATUS="status[]",t.TAG="pipeline_tag[]"}(i||(i={}))},30229:function(t,e,n){"use strict";n.d(e,{PN:function(){return a},TR:function(){return h},U5:function(){return l},Wb:function(){return p},Xm:function(){return o},Z4:function(){return s},fq:function(){return c},gm:function(){return d},kJ:function(){return f}});var r,i,o,u=n(82394),a="__bookmark_values__";!function(t){t.API="api",t.EVENT="event",t.TIME="time"}(o||(o={}));var c,l,s=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(t){t.ACTIVE="active",t.INACTIVE="inactive"}(c||(c={})),function(t){t.ONCE="@once",t.HOURLY="@hourly",t.DAILY="@daily",t.WEEKLY="@weekly",t.MONTHLY="@monthly",t.ALWAYS_ON="@always_on"}(l||(l={}));var d,f,p=[l.ONCE,l.HOURLY,l.DAILY,l.WEEKLY,l.MONTHLY];!function(t){t.INTERVAL="frequency[]",t.STATUS="status[]",t.TAG="tag[]",t.TYPE="type[]"}(d||(d={})),function(t){t.CREATED_AT="created_at",t.NAME="name",t.PIPELINE="pipeline_uuid",t.STATUS="status",t.TYPE="schedule_type"}(f||(f={}));var h=(i={},(0,u.Z)(i,f.CREATED_AT,"Created at"),(0,u.Z)(i,f.NAME,"Name"),(0,u.Z)(i,f.PIPELINE,"Pipeline"),(0,u.Z)(i,f.STATUS,"Active"),(0,u.Z)(i,f.TYPE,"Type"),i)},14532:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return rt}});var r=n(77837),i=n(75582),o=n(82394),u=n(38860),a=n.n(u),c=n(82684),l=n(69864),s=n(34376),d=n(23192),f=n(71180),p=n(15338),h=n(97618),v=n(55485),m=n(85854),g=n(55072),b=n(75457),y=n(44265),x=n(57653),j=n(93808),O=n(38276),Z=n(4190),w=n(30160),k=n(35686),E=n(21831),T=n(26304),P=n(90299),S=n(93859),I=n(24138),A=n(48339),D=n(46684),_=n(70515),L=n(66909),M=n(8955),C=n(16488),N=n(81728),R=n(86735),H=n(28598),Y=["blockRuns","blocksOverride","columns","dataType","height","heightOffset","loadingData","outputs","pipeline","renderColumnHeader","rows","selectedRun","selectedTab","setSelectedTab","textData"];function U(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var V={uuid:"Dependency tree"},F={uuid:"Block output"},z=[F,V];var G=n(28795),X=n(81655),W=n(3917),J=n(72619),q=n(3314),K=n(69419),Q=n(70320);function $(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var et=100;function nt(t){var e=t.pipeline,n=t.pipelineRun,r=(0,Q.qB)(),o=(0,s.useRouter)(),u=(0,K.iV)(),a=null!==u&&void 0!==u&&u.page?u.page:0,j=(0,c.useState)(null),U=j[0],$=j[1],nt=(0,c.useState)(z[0]),rt=nt[0],it=nt[1],ot=(0,c.useState)(null),ut=ot[0],at=ot[1],ct=e.uuid,lt=k.ZP.pipelines.detail(ct,{includes_content:!1,includes_outputs:!1},{revalidateOnFocus:!1}).data,st=(0,c.useMemo)((function(){return tt(tt({},null===lt||void 0===lt?void 0:lt.pipeline),{},{uuid:ct})}),[lt,ct]),dt=k.ZP.pipeline_runs.detail(n.id,{_format:"with_basic_details"},{refreshInterval:3e3,revalidateOnFocus:!0}).data,ft=(0,c.useMemo)((function(){return(null===dt||void 0===dt?void 0:dt.pipeline_run)||{}}),[dt]),pt=ft.execution_date,ht=ft.id,vt=ft.status,mt={_limit:et,_offset:a*et,pipeline_run_id:ht},gt=null===u||void 0===u?void 0:u[X.lG.SORT_COL_IDX],bt=null===u||void 0===u?void 0:u[X.lG.SORT_DIRECTION];if(gt){var yt=d.fi[gt],xt=bt||X.sh.ASC;mt.order_by="".concat(yt,"%20").concat(xt)}var jt=k.ZP.block_runs.list(mt,{refreshInterval:5e3}),Ot=jt.data,Zt=jt.mutate,wt=(0,c.useMemo)((function(){return(null===Ot||void 0===Ot?void 0:Ot.block_runs)||[]}),[Ot]),kt=wt.map((function(t){return t.block_uuid})),Et=(0,c.useMemo)((function(){return kt}),[kt]),Tt=k.ZP.blocks.pipeline_runs.list(null===n||void 0===n?void 0:n.id,{_limit:et,block_uuid:Et},{}).data,Pt=(0,l.Db)(k.ZP.pipeline_runs.useUpdate(ht),{onSuccess:function(t){return(0,J.wD)(t,{callback:function(){$(null),null===Zt||void 0===Zt||Zt()},onErrorCallback:function(t,e){return at({errors:e,response:t})}})}}),St=(0,i.Z)(Pt,2),It=St[0],At=St[1].isLoading,Dt=k.ZP.outputs.block_runs.list(null===U||void 0===U?void 0:U.id),_t=Dt.data,Lt=Dt.loading;(0,c.useEffect)((function(){U||(null===rt||void 0===rt?void 0:rt.uuid)!==F.uuid||it(V)}),[U,null===rt||void 0===rt?void 0:rt.uuid]);var Mt=(0,c.useMemo)((function(){return(0,H.jsx)(d.ZP,{blockRuns:wt,onClickRow:function(t){$((function(e){var n=wt[t],r=(null===e||void 0===e?void 0:e.id)!==n.id?n:null;return r&&it((function(t){return t!==F?F:t})),r}))},pipeline:st,selectedRun:U,setErrors:at,sortableColumnIndexes:d.lG})}),[wt,st,U]),Ct=(null===st||void 0===st?void 0:st.type)!==x.qL.STREAMING&&vt&&vt!==y.VO.COMPLETED,Nt=((null===st||void 0===st?void 0:st.type)===x.qL.PYTHON||(null===st||void 0===st?void 0:st.type)===x.qL.INTEGRATION)&&U&&y.Az.includes(vt),Rt=(0,c.useMemo)((function(){var t;return(null===Ot||void 0===Ot||null===(t=Ot.metadata)||void 0===t?void 0:t.count)||[]}),[Ot]),Ht=(0,c.useMemo)((function(){return(0,H.jsx)(O.Z,{p:2,children:(0,H.jsx)(g.ZP,{maxPages:g.Et,onUpdate:function(t){var e=Number(t),n=tt(tt({},u),{},{page:e>=0?e:0});$(null),o.push("/pipelines/[pipeline]/runs/[run]","/pipelines/".concat(ct,"/runs/").concat(ht,"?").concat((0,K.uM)(n)))},page:Number(a),totalPages:Math.ceil(Rt/et)})})}),[a,ht,ct,u,o,Rt]),Yt=(0,c.useCallback)((function(t){return function(t){var e=t.blockRuns,n=t.blocksOverride,r=(t.columns,t.dataType,t.height),o=t.heightOffset,u=t.loadingData,a=t.outputs,c=t.pipeline,l=t.renderColumnHeader,s=(t.rows,t.selectedRun),d=t.selectedTab,f=t.setSelectedTab,h=(t.textData,B({},(0,T.Z)(t,Y)));h.blockStatus=(0,C.IJ)(e);var m=[],g=[],b=(0,N.bH)();if(!u){var y,x={};null===a||void 0===a||a.forEach((function(t){var e=t.type;x[e]||(x[e]={outputs:[],priority:Object.keys(x).length}),x[e].outputs.push(t)})),null===(y=(0,R.YC)(Object.entries(x),(function(t){var e=(0,i.Z)(t,2);return e[0],e[1].priority})))||void 0===y||y.forEach((function(t,e){var n=(0,i.Z)(t,2),u=n[0],a=n[1].outputs,c=[];null===a||void 0===a||a.forEach((function(t,n){var i,a=t.sample_data,s=t.text_data,d=t.type,f=(0,H.jsx)(O.Z,{ml:2,children:(0,H.jsx)(w.ZP,{children:"This block run has no output."})},"output-empty-".concat(e,"-").concat(n));if(d===A.Gi.TABLE){var p=((null===a||void 0===a?void 0:a.columns)||[]).slice(0,40),h=(null===a||void 0===a?void 0:a.rows)||[];i=h&&(null===h||void 0===h?void 0:h.length)>=1?(0,H.jsx)(S.Z,{columnHeaderHeight:l?L.Eh:0,columns:p,height:r-o-90,noBorderBottom:!0,noBorderLeft:!0,noBorderRight:!0,renderColumnHeader:l,rows:h},"output-table-".concat(e,"-").concat(n)):f}else{var v=(0,N.Pb)(s)?JSON.stringify(JSON.parse(s),null,2):s;i=s?(0,H.jsx)(O.Z,{ml:2,children:(0,H.jsx)(w.ZP,{monospace:!0,children:(0,H.jsx)("pre",{children:v})})},"output-text-".concat(e,"-").concat(n)):f}var y=b[e];A.Gi.TEXT===u?(c.push(i),0===n&&g.push({uuid:"Block output ".concat(n+1).concat(y)})):(m.push(i),g.push({uuid:"Block output ".concat(n+1).concat(y)}))})),A.Gi.TEXT===u&&m.push(c)}))}var j=m,k=g,U=z;(null===k||void 0===k?void 0:k.length)>=2&&(U=[F].concat((0,E.Z)(k.slice(1)),[V]));var G=d&&f,X=j[U.findIndex((function(t){return t.uuid===(null===d||void 0===d?void 0:d.uuid)}))];return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("div",{style:{position:"fixed",top:D.Mz},children:G&&(0,H.jsx)(H.Fragment,{children:(0,H.jsx)(O.Z,{py:0,children:(0,H.jsx)(P.Z,{onClickTab:f,regularSizeText:!0,selectedTabUUID:null===d||void 0===d?void 0:d.uuid,tabs:s?U:[V],underlineStyle:!0})})})}),(0,H.jsxs)("div",{style:{position:"relative",top:M.u$},children:[G&&(0,H.jsx)(p.Z,{light:!0}),(!s||V.uuid===(null===d||void 0===d?void 0:d.uuid))&&(0,H.jsx)(I.ZP,B(B({},h),{},{blocksOverride:n,enablePorts:!1,height:r,heightOffset:(o||0)+(G?M.u$+1:0),pipeline:c})),s&&d&&V.uuid!==(null===d||void 0===d?void 0:d.uuid)&&(0,H.jsxs)(H.Fragment,{children:[u&&(0,H.jsx)(O.Z,{mt:2,children:(0,H.jsx)(v.ZP,{alignItems:"center",fullWidth:!0,justifyContent:"center",children:(0,H.jsx)(Z.Z,{color:"white",large:!0})})}),!u&&(0,H.jsx)(O.Z,{py:_.cd,children:X})]})]})]})}(tt(tt({},t),{},{blockRuns:wt,blocksOverride:Rt<=et&&(null===Tt||void 0===Tt?void 0:Tt.blocks),loadingData:Lt,outputs:null===_t||void 0===_t?void 0:_t.outputs,selectedRun:U,selectedTab:rt,setSelectedTab:it,showDynamicBlocks:!0}))}),[wt,Tt,_t,Lt,U,rt,it,Rt]);return(0,H.jsxs)(b.Z,{breadcrumbs:[{label:function(){return"Runs"},linkProps:{as:"/pipelines/".concat(ct,"/runs"),href:"/pipelines/[pipeline]/runs"}},{label:function(){return r?(0,W.XG)(pt,r):pt}}],buildSidekick:Yt,errors:ut,pageName:G.M.RUNS,pipeline:st,setErrors:at,subheader:(Ct||Nt)&&(0,H.jsxs)(v.ZP,{alignItems:"center",children:[y.BF.includes(vt)&&(0,H.jsxs)(h.Z,{children:[(0,H.jsx)(w.ZP,{bold:!0,default:!0,large:!0,children:"Pipeline is running"}),(0,H.jsx)(O.Z,{mr:1}),(0,H.jsx)(Z.Z,{inverted:!0}),(0,H.jsx)(O.Z,{mr:2})]}),Ct&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(f.ZP,{danger:!0,loading:At,onClick:function(t){(0,q.j)(t),It({pipeline_run:{pipeline_run_action:"retry_blocks"}})},outline:!0,children:"Retry incomplete blocks"}),(0,H.jsx)(O.Z,{mr:2})]}),Nt&&(0,H.jsxs)(f.ZP,{loading:At,onClick:function(t){(0,q.j)(t),It({pipeline_run:{from_block_uuid:U.block_uuid,pipeline_run_action:"retry_blocks"}})},outline:!0,primary:!0,children:["Retry from selected block (",U.block_uuid,")"]})]}),title:function(t){var e=t.name;return"".concat(e," runs")},uuid:"".concat(G.M.RUNS,"_").concat(ct,"_").concat(ht),children:[(0,H.jsx)(O.Z,{mt:_.cd,px:_.cd,children:(0,H.jsx)(m.Z,{level:5,children:"Block runs"})}),(0,H.jsx)(p.Z,{light:!0,mt:_.cd,short:!0}),Mt,Ht]})}nt.getInitialProps=function(){var t=(0,r.Z)(a().mark((function t(e){var n,r,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.query,r=n.pipeline,i=n.run,t.abrupt("return",{pipeline:{uuid:r},pipelineRun:{id:i}});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();var rt=(0,j.Z)(nt)},39525:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipelines/[pipeline]/runs/[run]",function(){return n(14532)}])}},function(t){t.O(0,[2678,1154,844,5820,1124,1751,5896,9161,2631,4267,6990,8487,8264,7858,5499,5457,4366,4138,3419,9774,2888,179],(function(){return e=39525,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8170],{48381:function(n,e,t){"use strict";var i=t(82684),r=t(31882),o=t(55485),c=t(30160),u=t(86735),l=t(28598);e.Z=function(n){var e=n.onClickTag,t=n.tags,a=void 0===t?[]:t,d=(0,i.useMemo)((function(){return(null===a||void 0===a?void 0:a.length)||0}),[a]),s=(0,i.useMemo)((function(){return(0,u.YC)(a||[],"uuid")}),[a]);return(0,l.jsx)(o.ZP,{alignItems:"center",flexWrap:"wrap",children:null===s||void 0===s?void 0:s.reduce((function(n,t){return n.push((0,l.jsx)("div",{style:{marginBottom:2,marginRight:d>=2?4:0,marginTop:2},children:(0,l.jsx)(r.Z,{onClick:e?function(){return e(t)}:null,small:!0,children:(0,l.jsx)(c.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),n}),[])})}},68781:function(n,e,t){"use strict";var i;t.d(e,{R:function(){return r}}),function(n){n.AZURE_CONTAINER_INSTANCE="azure_container_instance",n.ECS="ecs",n.GCP_CLOUD_RUN="gcp_cloud_run",n.K8S="k8s",n.LOCAL_PYTHON="local_python",n.PYSPARK="pyspark"}(i||(i={}));var r=[i.AZURE_CONTAINER_INSTANCE,i.ECS,i.GCP_CLOUD_RUN,i.K8S,i.LOCAL_PYTHON,i.PYSPARK]},31882:function(n,e,t){"use strict";var i=t(38626),r=t(71180),o=t(55485),c=t(30160),u=t(44897),l=t(72473),a=t(70515),d=t(61896),s=t(28598),f=i.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(n){return!n.primary&&"\n background-color: ".concat((n.theme.background||u.Z.background).tag,";\n ")}),(function(n){return n.primary&&"\n background-color: ".concat((n.theme.chart||u.Z.chart).primary,";\n ")}),(function(n){return!n.small&&"\n border-radius: ".concat((a.iI+d.Al)/2,"px;\n height: ").concat(1.5*a.iI+d.Al,"px;\n padding: ").concat(a.iI/1.5,"px ").concat(1.25*a.iI,"px;\n ")}),(function(n){return n.small&&"\n border-radius: ".concat((a.iI/2+d.Al)/2,"px;\n height: ").concat(d.Al+a.iI/2+2,"px;\n padding: ").concat(a.iI/4,"px ").concat(a.iI,"px;\n ")}),(function(n){return n.xsmall&&"\n border-radius: ".concat((a.iI/1+d.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(n){return n.border&&"\n border: 1px solid ".concat((n.theme.content||u.Z.content).muted,";\n ")}));e.Z=function(n){var e=n.border,t=n.children,i=n.disabled,u=n.label,d=n.monospace,p=n.onClick,g=n.primary,h=n.small,m=n.xsmall;return(0,s.jsx)(f,{border:e,primary:g,small:h,xsmall:m,children:(0,s.jsx)(r.ZP,{basic:!0,disabled:i,noBackground:!0,noPadding:!0,onClick:p,transparent:!0,children:(0,s.jsxs)(o.ZP,{alignItems:"center",children:[t,u&&(0,s.jsx)(c.ZP,{monospace:d,small:h,xsmall:m,children:u}),!i&&p&&(0,s.jsx)("div",{style:{marginLeft:2}}),!i&&p&&(0,s.jsx)(l.x8,{default:g,muted:!g,size:h?a.iI:1.25*a.iI})]})})})}},65956:function(n,e,t){"use strict";var i=t(38626),r=t(55485),o=t(38276),c=t(30160),u=t(44897),l=t(42631),a=t(47041),d=t(70515),s=t(28598),f=(0,i.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*d.iI,1.5*d.iI,1.5*d.iI),p=i.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],l.n_,(function(n){return n.fullWidth&&"\n width: 100%;\n "}),(function(n){return!n.borderless&&"\n border: 1px solid ".concat((n.theme.interactive||u.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.success&&"\n background-color: ".concat((n.theme.background||u.Z.background).successLight,";\n ")}),(function(n){return n.success&&!n.borderless&&"\n border: 1px solid ".concat((n.theme.background||u.Z.background).success,";\n ")}),(function(n){return!n.dark&&!n.success&&"\n background-color: ".concat((n.theme.background||u.Z.background).panel,";\n ")}),(function(n){return n.dark&&"\n background-color: ".concat((n.theme.background||u.Z.background).content,";\n ")}),(function(n){return!n.fullHeight&&"\n height: fit-content;\n "}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,";\n ")}),(function(n){return n.maxWidth&&"\n max-width: ".concat(n.maxWidth,"px;\n ")}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n\n @media (max-width: ").concat(n.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(n){return n.borderless&&"\n border: none;\n "}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),g=i.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],l.n_,l.n_,(function(n){return"\n background-color: ".concat((n.theme.background||u.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((n.theme.interactive||u.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),f,(function(n){return n.headerPaddingVertical&&"\n padding-bottom: ".concat(n.headerPaddingVertical,"px;\n padding-top: ").concat(n.headerPaddingVertical,"px;\n ")})),h=i.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*d.iI,a.w5,(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),(function(n){return n.maxHeight&&"\n max-height: calc(".concat(n.maxHeight," - ").concat(15*d.iI,"px);\n ")}),(function(n){return n.noPadding&&"\n padding: 0;\n "}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),m=i.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],l.M8,l.YF,1.75*d.iI);e.Z=function(n){var e=n.borderless,t=n.children,i=n.containerRef,u=n.contentContainerRef,l=n.dark,a=n.footer,d=n.fullHeight,f=void 0===d||d,v=n.fullWidth,b=void 0===v||v,x=n.header,y=n.headerHeight,_=n.headerIcon,j=n.headerPaddingVertical,Z=n.headerTitle,w=n.maxHeight,P=n.maxWidth,O=n.minWidth,k=n.noPadding,C=n.overflowVisible,S=n.subtitle,N=n.success;return(0,s.jsxs)(p,{borderless:e,dark:l,fullHeight:f,fullWidth:b,maxHeight:w,maxWidth:P,minWidth:O,overflowVisible:C,ref:i,success:N,children:[(x||Z)&&(0,s.jsxs)(g,{headerPaddingVertical:j,height:y,children:[x&&x,Z&&(0,s.jsx)(r.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,s.jsxs)(r.ZP,{alignItems:"center",children:[_&&_,(0,s.jsx)(o.Z,{ml:_?1:0,children:(0,s.jsx)(c.ZP,{bold:!0,default:!0,children:Z})})]})})]}),(0,s.jsxs)(h,{maxHeight:w,noPadding:k,overflowVisible:C,ref:u,children:[S&&"string"===typeof S&&(0,s.jsx)(o.Z,{mb:2,children:(0,s.jsx)(c.ZP,{default:!0,children:S})}),S&&"string"!==typeof S&&S,t]}),a&&(0,s.jsx)(m,{children:a})]})}},85854:function(n,e,t){"use strict";var i,r,o,c,u,l,a,d,s=t(82394),f=t(26304),p=t(26653),g=t(38626),h=t(33591),m=t(44897),v=t(95363),b=t(61896),x=t(30160),y=t(70515),_=t(38276),j=t(28598),Z=["children","condensed","inline","level","marketing","spacingBelow"];function w(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function P(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?w(Object(t),!0).forEach((function(e){(0,s.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var O=(0,g.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," "," ",""],x.IH,(function(n){return n.color&&"\n color: ".concat(n.color,"\n ")}),(function(n){return n.yellow&&"\n color: ".concat((n.theme.accent||m.Z.accent).yellow,";\n ")}),(function(n){return n.center&&"\n text-align: center;\n "}),(function(n){return!n.monospace&&0===Number(n.weightStyle)&&"\n font-family: ".concat(v.iI,";\n ")}),(function(n){return!n.monospace&&1===Number(n.weightStyle)&&"\n font-family: ".concat(v.LX,";\n ")}),(function(n){return!n.monospace&&2===Number(n.weightStyle)&&"\n font-family: ".concat(v.LX,";\n ")}),(function(n){return!n.monospace&&3===Number(n.weightStyle)&&"\n font-family: ".concat(v.ry,";\n ")}),(function(n){return!n.monospace&&4===Number(n.weightStyle)&&"\n font-family: ".concat(v.YC,";\n ")}),(function(n){return!n.monospace&&5===Number(n.weightStyle)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return!n.monospace&&(6===Number(n.weightStyle)||n.bold)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return!n.monospace&&7===Number(n.weightStyle)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return!n.monospace&&8===Number(n.weightStyle)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return n.lineHeightAuto&&"\n line-height: normal !important;\n "}),(function(n){return n.strikethrough&&"\n text-decoration: line-through;\n "})),k=g.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(n){return"\n color: ".concat((n.theme.content||m.Z.content).active,";\n ")})),C=g.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],O,h.media.md(i||(i=(0,p.Z)(["\n ","\n "])),b.aQ),h.media.lg(r||(r=(0,p.Z)(["\n ","\n "])),b.aQ),h.media.xl(o||(o=(0,p.Z)(["\n ","\n "])),b.aQ)),S=g.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],O,b.MJ),N=g.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],O,h.media.xs(c||(c=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.sm(u||(u=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.md(l||(l=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.lg(a||(a=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.xl(d||(d=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI)),I=g.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],O,b.BL),H=g.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],O),E=g.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],O),T=g.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],O),z=g.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],O,(function(n){return 1===n.level&&"\n ".concat(b.MJ,"\n ")}),(function(n){return 2===n.level&&"\n ".concat(b.BL,"\n ")}),(function(n){return 3===n.level&&"\n font-size: 24px;\n line-height: 32px;\n "}),(function(n){return 4===n.level&&"\n font-size: 20px;\n line-height: 28px;\n "})),M=function(n){var e,t=n.children,i=n.condensed,r=n.inline,o=n.level,c=n.marketing,u=n.spacingBelow,l=(0,f.Z)(n,Z);r?e=z:0===Number(o)?e=C:1===Number(o)?e=c?N:S:2===Number(o)?e=I:3===Number(o)?e=H:4===Number(o)?e=E:5===Number(o)&&(e=T);var a=(0,j.jsxs)(e,P(P({},l),{},{level:o,children:[u&&(0,j.jsx)(_.Z,{mb:i?2:3,children:t}),!u&&t]}));return r?a:(0,j.jsx)(k,{children:a})};M.defaultProps={level:3,weightStyle:6},e.Z=M},37003:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return U}});var i=t(77837),r=t(75582),o=t(82394),c=t(38860),u=t.n(c),l=t(82684),a=t(34376),d=t(75457),s=t(93808),f=t(71180),p=t(70652),g=t(55485),h=t(85854),m=t(48670),v=t(44085),b=t(88543),x=t(38276),y=t(81334),_=t(30160),j=t(17488),Z=t(35686),w=t(98464),P=t(77417),O=t(68781),k=t(78419),C=t(70515),S=t(53808),N=t(42122),I=t(81728),H=t(86735),E=t(28598);function T(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function z(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?T(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):T(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var M=function(n){var e,t,i,r,c,u,a,d=n.isPipelineUpdating,s=n.pipeline,T=n.updatePipeline,M=(0,P.Z)().project,R=(0,l.useRef)(null),D=(0,l.useRef)(null),A=null===s||void 0===s?void 0:s.uuid,W=(0,l.useMemo)((function(){return(null===s||void 0===s?void 0:s.blocks)||[]}),[s]),L=(0,l.useState)(!1),F=L[0],U=L[1],V=(0,l.useState)(!1),B=V[0],Y=V[1],X=(0,l.useState)(null),G=X[0],J=X[1],K=(0,w.Z)(s);(0,l.useEffect)((function(){(0,N.Xy)(s,K)||J(s)}),[s,K]);var Q=(0,l.useCallback)((function(n){U(!0),J(n)}),[]),q="".concat(k.g6,"_").concat(A),$=(0,l.useState)({}),nn=$[0],en=$[1],tn="".concat(k.vF,"_").concat(A),rn=(0,l.useState)(!1),on=rn[0],cn=rn[1],un=(0,l.useCallback)((function(n){en((function(e){var t=n(e);return(0,S.t8)(q,JSON.stringify(t)),t}))}),[q,en]),ln=(0,l.useCallback)((function(n){cn((function(e){var t=n(e);return(0,S.t8)(tn,t),t}))}),[tn,cn]);(0,l.useEffect)((function(){var n=(0,S.U2)(q);n&&(0,I.Pb)(n)&&en(JSON.parse(n))}),[q,en]),(0,l.useEffect)((function(){var n=(0,S.U2)(tn);n&&cn(n)}),[tn,cn]);var an=(0,l.useMemo)((function(){return null===G||void 0===G?void 0:G.executor_type}),[G]);(0,l.useEffect)((function(){B||!an||O.R.find((function(n){return n===an}))||Y(!0)}),[B,an]);var dn=(0,l.useMemo)((function(){return(null===W||void 0===W?void 0:W.filter((function(n){var e=n.uuid;return!(null===nn||void 0===nn||!nn[e])}))).length===W.length}),[W,nn]),sn=(0,l.useMemo)((function(){return!(null!==W&&void 0!==W&&W.length)}),[W]),fn=(0,l.useMemo)((function(){return(null===G||void 0===G?void 0:G.tags)||[]}),[G]),pn=Z.ZP.tags.list().data,gn=(0,l.useMemo)((function(){return((null===pn||void 0===pn?void 0:pn.tags)||[]).filter((function(n){var e=n.uuid;return!fn.includes(e)}))}),[pn,fn]),hn=(0,l.useMemo)((function(){var n;return null===M||void 0===M||null===(n=M.pipelines)||void 0===n?void 0:n.settings}),[M]),mn=(0,l.useMemo)((function(){var n,e,t;return(null===hn||void 0===hn||null===(n=hn.triggers)||void 0===n?void 0:n.save_in_code_automatically)&&"undefined"===typeof(null===G||void 0===G||null===(e=G.settings)||void 0===e||null===(t=e.triggers)||void 0===t?void 0:t.save_in_code_automatically)}),[G,hn]);return(0,E.jsxs)(x.Z,{p:C.cd,children:[(0,E.jsxs)(b.Z,{title:"Details",children:[(0,E.jsx)(b.S,{invalid:F&&!(null!==G&&void 0!==G&&G.name),textInput:{onChange:function(n){return Q((function(e){return z(z({},e),{},{name:n.target.value})}))},value:null===G||void 0===G?void 0:G.name},title:"Pipeline name"}),(0,E.jsx)(b.S,{description:"When enabled, this setting allows sharing of objects and memory space across blocks within a single pipeline.",title:"Run pipeline in a single process",toggleSwitch:{checked:!(null===G||void 0===G||!G.run_pipeline_in_one_process),onCheck:function(n){return Q((function(e){return z(z({},e),{},{run_pipeline_in_one_process:n(null===e||void 0===e?void 0:e.run_pipeline_in_one_process)})}))}}}),(0,E.jsx)(b.S,{description:(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(_.ZP,{muted:!0,small:!0,children:"Every time a trigger is created or updated in this pipeline, it\u2019ll be automatically be persisted it in code."}),(null===hn||void 0===hn||null===(e=hn.triggers)||void 0===e?void 0:e.save_in_code_automatically)&&(0,E.jsx)(_.ZP,{small:!0,warning:!0,children:"This settings is enabled at the project level. Changing the value here will only affect this pipeline."})]}),title:"Save triggers in code automatically",toggleSwitch:{checked:mn||!(null===G||void 0===G||null===(t=G.settings)||void 0===t||null===(i=t.triggers)||void 0===i||!i.save_in_code_automatically),onCheck:function(n){return Q((function(e){var t,i,r;return z(z({},e),{},{settings:z(z({},null===e||void 0===e?void 0:e.settings),{},{triggers:z(z({},null===e||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.triggers),{},{save_in_code_automatically:n(mn||(null===e||void 0===e||null===(i=e.settings)||void 0===i||null===(r=i.triggers)||void 0===r?void 0:r.save_in_code_automatically))})})})}))}}})]}),(0,E.jsxs)(x.Z,{mt:C.HN,children:[(0,E.jsx)(h.Z,{children:"Executor type"}),(0,E.jsxs)(_.ZP,{muted:!0,children:["For more information on this setting, please read the ",(0,E.jsx)(m.Z,{href:"https://docs.mage.ai/production/configuring-production-settings/compute-resource#2-set-executor-type-and-customize-the-compute-resource-of-the-mage-executor",openNewWindow:!0,children:"documentation"}),"."]}),(0,E.jsxs)(x.Z,{mt:1,children:[!B&&(0,E.jsx)(v.Z,{label:"Executor type",onChange:function(n){return Q((function(e){return z(z({},e),{},{executor_type:n.target.value})}))},primary:!0,ref:R,value:(null===G||void 0===G?void 0:G.executor_type)||"",children:O.R.map((function(n){return(0,E.jsx)("option",{value:n,children:n},n)}))}),B&&(0,E.jsx)(j.Z,{label:"Executor type",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{executor_type:n.target.value})}))},ref:D,setContentOnMount:!0,value:(null===G||void 0===G?void 0:G.executor_type)||""}),(0,E.jsx)(x.Z,{mt:1,children:(0,E.jsx)(m.Z,{muted:!0,onClick:function(){B?(Q((function(n){return z(z({},n),{},{executor_type:null===s||void 0===s?void 0:s.executor_type})})),setTimeout((function(){var n;return null===R||void 0===R||null===(n=R.current)||void 0===n?void 0:n.focus()}),1)):setTimeout((function(){var n;return null===D||void 0===D||null===(n=D.current)||void 0===n?void 0:n.focus()}),1),Y(!B)},preventDefault:!0,small:!0,children:B?"Select a preset executor type":"Enter a custom executor type"})})]})]}),(0,E.jsxs)(x.Z,{mt:C.HN,children:[(0,E.jsx)(h.Z,{children:"Retry configuration"}),(0,E.jsxs)(_.ZP,{muted:!0,children:["For more information on this setting, please read the ",(0,E.jsx)(m.Z,{href:"https://docs.mage.ai/orchestration/pipeline-runs/retrying-block-runs",openNewWindow:!0,children:"documentation"}),"."]}),(0,E.jsx)(x.Z,{mt:1,children:(0,E.jsxs)(g.ZP,{children:[(0,E.jsx)(j.Z,{label:"Retries",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{retry_config:z(z({},null===e||void 0===e?void 0:e.retry_config),{},{retries:"undefined"!==typeof n.target.value&&null!==n.target.value?Number(n.target.value):n.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===G||void 0===G||null===(r=G.retry_config)||void 0===r?void 0:r.retries)||""}),(0,E.jsx)(x.Z,{mr:1}),(0,E.jsx)(j.Z,{label:"Delay",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{retry_config:z(z({},null===e||void 0===e?void 0:e.retry_config),{},{delay:"undefined"!==typeof n.target.value&&null!==n.target.value?Number(n.target.value):n.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===G||void 0===G||null===(c=G.retry_config)||void 0===c?void 0:c.delay)||""}),(0,E.jsx)(x.Z,{mr:1}),(0,E.jsx)(j.Z,{label:"Max delay",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{retry_config:z(z({},null===e||void 0===e?void 0:e.retry_config),{},{max_delay:"undefined"!==typeof n.target.value&&null!==n.target.value?Number(n.target.value):n.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===G||void 0===G||null===(u=G.retry_config)||void 0===u?void 0:u.max_delay)||""}),(0,E.jsx)(x.Z,{mr:1}),(0,E.jsx)(p.Z,{checked:!(null===G||void 0===G||null===(a=G.retry_config)||void 0===a||!a.exponential_backoff),label:"Exponential backoff",onClick:function(){return Q((function(n){var e;return z(z({},n),{},{retry_config:z(z({},null===n||void 0===n?void 0:n.retry_config),{},{exponential_backoff:!(null!==n&&void 0!==n&&null!==(e=n.retry_config)&&void 0!==e&&e.exponential_backoff)})})}))}})]})})]}),(0,E.jsxs)(x.Z,{mt:C.HN,children:[(0,E.jsx)(h.Z,{children:"Tags"}),(0,E.jsx)(x.Z,{mt:1,children:(0,E.jsx)(y.Z,{removeTag:function(n){Q((function(e){return z(z({},e),{},{tags:fn.filter((function(e){return e!==n.uuid}))})}))},selectTag:function(n){Q((function(e){return z(z({},e),{},{tags:(0,H.$C)(n.uuid,fn,(function(e){return e===n.uuid}))})}))},selectedTags:null===fn||void 0===fn?void 0:fn.map((function(n){return{uuid:n}})),tags:gn,uuid:"TagsAutocompleteInputField-".concat(null===s||void 0===s?void 0:s.uuid)})})]}),(0,E.jsx)(x.Z,{mt:C.HN,children:(0,E.jsx)(g.ZP,{children:(0,E.jsx)(f.ZP,{disabled:!F,loading:d,onClick:function(){return T({executor_type:null===G||void 0===G?void 0:G.executor_type,name:null===G||void 0===G?void 0:G.name,retry_config:null===G||void 0===G?void 0:G.retry_config,run_pipeline_in_one_process:null===G||void 0===G?void 0:G.run_pipeline_in_one_process,settings:null===G||void 0===G?void 0:G.settings,tags:null===G||void 0===G?void 0:G.tags}).then((function(){return U(!1)}))},primary:!0,children:"Save pipeline settings"})})}),(0,E.jsx)(x.Z,{mt:C.HN,children:(0,E.jsx)(p.Z,{checked:dn&&!sn,disabled:sn,label:"Hide all blocks in notebook",onClick:function(){return un((function(){return dn?{}:null===W||void 0===W?void 0:W.reduce((function(n,e){var t=e.uuid;return z(z({},n),{},(0,o.Z)({},t,!0))}),{})}))}})}),(0,E.jsx)(x.Z,{mt:C.Mq,children:(0,E.jsx)(p.Z,{checked:on,label:"When running a block while editing a pipeline, output the block messages to the logs",onClick:function(){return ln((function(n){return!n}))}})})]})},R=t(28795),D=t(69864),A=t(72619);function W(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function L(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?W(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):W(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function F(n){var e=n.pipeline,t=(0,a.useRouter)(),i=(0,l.useState)(null),o=i[0],c=i[1],u=null===e||void 0===e?void 0:e.uuid,s=Z.ZP.pipelines.detail(u).data,f=L(L({},null===s||void 0===s?void 0:s.pipeline),e),p=(0,D.Db)(Z.ZP.pipelines.useUpdate(u,{update_content:!0}),{onSuccess:function(n){return(0,A.wD)(n,{callback:function(n){if(null!==n&&void 0!==n&&n.pipeline){var e=n.pipeline.uuid;u!==e&&(window.location.href="".concat(t.basePath,"/pipelines/").concat(e,"/settings"))}},onErrorCallback:function(n,e){return c({errors:e,response:n})}})}}),g=(0,r.Z)(p,2),h=g[0],m=g[1].isLoading;return(0,E.jsx)(d.Z,{breadcrumbs:[{label:function(){return"Settings"}}],errors:o,pageName:R.M.SETTINGS,pipeline:f,setErrors:c,title:function(n){var e=n.name;return"".concat(e," settings")},uuid:"".concat(R.M.SETTINGS,"_").concat(u),children:f&&(0,E.jsx)(M,{isPipelineUpdating:m,pipeline:f,updatePipeline:function(n){return h({pipeline:n})}})})}F.getInitialProps=function(){var n=(0,i.Z)(u().mark((function n(e){var t;return u().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.query.pipeline,n.abrupt("return",{pipeline:{uuid:t}});case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();var U=(0,s.Z)(F)},59606:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipelines/[pipeline]/settings",function(){return t(37003)}])},80022:function(n,e,t){"use strict";function i(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}t.d(e,{Z:function(){return i}})},15544:function(n,e,t){"use strict";function i(n){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i(n)}t.d(e,{Z:function(){return i}})},13692:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var i=t(61049);function r(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&(0,i.Z)(n,e)}},93189:function(n,e,t){"use strict";t.d(e,{Z:function(){return o}});var i=t(12539),r=t(80022);function o(n,e){if(e&&("object"===i(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(n)}},61049:function(n,e,t){"use strict";function i(n,e){return i=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n},i(n,e)}t.d(e,{Z:function(){return i}})}},function(n){n.O(0,[2678,1154,844,4267,6990,8487,8264,5457,6798,9774,2888,179],(function(){return e=59606,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8170],{48381:function(n,e,t){"use strict";var i=t(82684),r=t(31882),o=t(55485),c=t(30160),u=t(86735),l=t(28598);e.Z=function(n){var e=n.onClickTag,t=n.tags,a=void 0===t?[]:t,d=(0,i.useMemo)((function(){return(null===a||void 0===a?void 0:a.length)||0}),[a]),s=(0,i.useMemo)((function(){return(0,u.YC)(a||[],"uuid")}),[a]);return(0,l.jsx)(o.ZP,{alignItems:"center",flexWrap:"wrap",children:null===s||void 0===s?void 0:s.reduce((function(n,t){return n.push((0,l.jsx)("div",{style:{marginBottom:2,marginRight:d>=2?4:0,marginTop:2},children:(0,l.jsx)(r.Z,{onClick:e?function(){return e(t)}:null,small:!0,children:(0,l.jsx)(c.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),n}),[])})}},68781:function(n,e,t){"use strict";var i;t.d(e,{R:function(){return r}}),function(n){n.AZURE_CONTAINER_INSTANCE="azure_container_instance",n.ECS="ecs",n.GCP_CLOUD_RUN="gcp_cloud_run",n.K8S="k8s",n.LOCAL_PYTHON="local_python",n.PYSPARK="pyspark"}(i||(i={}));var r=[i.AZURE_CONTAINER_INSTANCE,i.ECS,i.GCP_CLOUD_RUN,i.K8S,i.LOCAL_PYTHON,i.PYSPARK]},31882:function(n,e,t){"use strict";var i=t(38626),r=t(71180),o=t(55485),c=t(30160),u=t(44897),l=t(72473),a=t(70515),d=t(61896),s=t(28598),f=i.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(n){return!n.primary&&"\n background-color: ".concat((n.theme.background||u.Z.background).tag,";\n ")}),(function(n){return n.primary&&"\n background-color: ".concat((n.theme.chart||u.Z.chart).primary,";\n ")}),(function(n){return!n.small&&"\n border-radius: ".concat((a.iI+d.Al)/2,"px;\n height: ").concat(1.5*a.iI+d.Al,"px;\n padding: ").concat(a.iI/1.5,"px ").concat(1.25*a.iI,"px;\n ")}),(function(n){return n.small&&"\n border-radius: ".concat((a.iI/2+d.Al)/2,"px;\n height: ").concat(d.Al+a.iI/2+2,"px;\n padding: ").concat(a.iI/4,"px ").concat(a.iI,"px;\n ")}),(function(n){return n.xsmall&&"\n border-radius: ".concat((a.iI/1+d.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(n){return n.border&&"\n border: 1px solid ".concat((n.theme.content||u.Z.content).muted,";\n ")}));e.Z=function(n){var e=n.border,t=n.children,i=n.disabled,u=n.label,d=n.monospace,p=n.onClick,g=n.primary,h=n.small,m=n.xsmall;return(0,s.jsx)(f,{border:e,primary:g,small:h,xsmall:m,children:(0,s.jsx)(r.ZP,{basic:!0,disabled:i,noBackground:!0,noPadding:!0,onClick:p,transparent:!0,children:(0,s.jsxs)(o.ZP,{alignItems:"center",children:[t,u&&(0,s.jsx)(c.ZP,{monospace:d,small:h,xsmall:m,children:u}),!i&&p&&(0,s.jsx)("div",{style:{marginLeft:2}}),!i&&p&&(0,s.jsx)(l.x8,{default:g,muted:!g,size:h?a.iI:1.25*a.iI})]})})})}},65956:function(n,e,t){"use strict";var i=t(38626),r=t(55485),o=t(38276),c=t(30160),u=t(44897),l=t(42631),a=t(47041),d=t(70515),s=t(28598),f=(0,i.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*d.iI,1.5*d.iI,1.5*d.iI),p=i.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],l.n_,(function(n){return n.fullWidth&&"\n width: 100%;\n "}),(function(n){return!n.borderless&&"\n border: 1px solid ".concat((n.theme.interactive||u.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.success&&"\n background-color: ".concat((n.theme.background||u.Z.background).successLight,";\n ")}),(function(n){return n.success&&!n.borderless&&"\n border: 1px solid ".concat((n.theme.background||u.Z.background).success,";\n ")}),(function(n){return!n.dark&&!n.success&&"\n background-color: ".concat((n.theme.background||u.Z.background).panel,";\n ")}),(function(n){return n.dark&&"\n background-color: ".concat((n.theme.background||u.Z.background).content,";\n ")}),(function(n){return!n.fullHeight&&"\n height: fit-content;\n "}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,";\n ")}),(function(n){return n.maxWidth&&"\n max-width: ".concat(n.maxWidth,"px;\n ")}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n\n @media (max-width: ").concat(n.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(n){return n.borderless&&"\n border: none;\n "}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),g=i.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],l.n_,l.n_,(function(n){return"\n background-color: ".concat((n.theme.background||u.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((n.theme.interactive||u.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),f,(function(n){return n.headerPaddingVertical&&"\n padding-bottom: ".concat(n.headerPaddingVertical,"px;\n padding-top: ").concat(n.headerPaddingVertical,"px;\n ")})),h=i.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*d.iI,a.w5,(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),(function(n){return n.maxHeight&&"\n max-height: calc(".concat(n.maxHeight," - ").concat(15*d.iI,"px);\n ")}),(function(n){return n.noPadding&&"\n padding: 0;\n "}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),m=i.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],l.M8,l.YF,1.75*d.iI);e.Z=function(n){var e=n.borderless,t=n.children,i=n.containerRef,u=n.contentContainerRef,l=n.dark,a=n.footer,d=n.fullHeight,f=void 0===d||d,v=n.fullWidth,b=void 0===v||v,x=n.header,y=n.headerHeight,_=n.headerIcon,j=n.headerPaddingVertical,Z=n.headerTitle,w=n.maxHeight,P=n.maxWidth,O=n.minWidth,k=n.noPadding,C=n.overflowVisible,S=n.subtitle,N=n.success;return(0,s.jsxs)(p,{borderless:e,dark:l,fullHeight:f,fullWidth:b,maxHeight:w,maxWidth:P,minWidth:O,overflowVisible:C,ref:i,success:N,children:[(x||Z)&&(0,s.jsxs)(g,{headerPaddingVertical:j,height:y,children:[x&&x,Z&&(0,s.jsx)(r.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,s.jsxs)(r.ZP,{alignItems:"center",children:[_&&_,(0,s.jsx)(o.Z,{ml:_?1:0,children:(0,s.jsx)(c.ZP,{bold:!0,default:!0,children:Z})})]})})]}),(0,s.jsxs)(h,{maxHeight:w,noPadding:k,overflowVisible:C,ref:u,children:[S&&"string"===typeof S&&(0,s.jsx)(o.Z,{mb:2,children:(0,s.jsx)(c.ZP,{default:!0,children:S})}),S&&"string"!==typeof S&&S,t]}),a&&(0,s.jsx)(m,{children:a})]})}},85854:function(n,e,t){"use strict";var i,r,o,c,u,l,a,d,s=t(82394),f=t(26304),p=t(26653),g=t(38626),h=t(33591),m=t(44897),v=t(95363),b=t(61896),x=t(30160),y=t(70515),_=t(38276),j=t(28598),Z=["children","condensed","inline","level","marketing","spacingBelow"];function w(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function P(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?w(Object(t),!0).forEach((function(e){(0,s.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var O=(0,g.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," "," ",""],x.IH,(function(n){return n.color&&"\n color: ".concat(n.color,"\n ")}),(function(n){return n.yellow&&"\n color: ".concat((n.theme.accent||m.Z.accent).yellow,";\n ")}),(function(n){return n.center&&"\n text-align: center;\n "}),(function(n){return!n.monospace&&0===Number(n.weightStyle)&&"\n font-family: ".concat(v.iI,";\n ")}),(function(n){return!n.monospace&&1===Number(n.weightStyle)&&"\n font-family: ".concat(v.LX,";\n ")}),(function(n){return!n.monospace&&2===Number(n.weightStyle)&&"\n font-family: ".concat(v.LX,";\n ")}),(function(n){return!n.monospace&&3===Number(n.weightStyle)&&"\n font-family: ".concat(v.ry,";\n ")}),(function(n){return!n.monospace&&4===Number(n.weightStyle)&&"\n font-family: ".concat(v.YC,";\n ")}),(function(n){return!n.monospace&&5===Number(n.weightStyle)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return!n.monospace&&(6===Number(n.weightStyle)||n.bold)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return!n.monospace&&7===Number(n.weightStyle)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return!n.monospace&&8===Number(n.weightStyle)&&"\n font-family: ".concat(v.nF,";\n ")}),(function(n){return n.lineHeightAuto&&"\n line-height: normal !important;\n "}),(function(n){return n.strikethrough&&"\n text-decoration: line-through;\n "})),k=g.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(n){return"\n color: ".concat((n.theme.content||m.Z.content).active,";\n ")})),C=g.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],O,h.media.md(i||(i=(0,p.Z)(["\n ","\n "])),b.aQ),h.media.lg(r||(r=(0,p.Z)(["\n ","\n "])),b.aQ),h.media.xl(o||(o=(0,p.Z)(["\n ","\n "])),b.aQ)),S=g.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],O,b.MJ),N=g.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],O,h.media.xs(c||(c=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.sm(u||(u=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.md(l||(l=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.lg(a||(a=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI),h.media.xl(d||(d=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*y.iI,7*y.iI)),I=g.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],O,b.BL),H=g.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],O),E=g.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],O),T=g.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],O),z=g.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],O,(function(n){return 1===n.level&&"\n ".concat(b.MJ,"\n ")}),(function(n){return 2===n.level&&"\n ".concat(b.BL,"\n ")}),(function(n){return 3===n.level&&"\n font-size: 24px;\n line-height: 32px;\n "}),(function(n){return 4===n.level&&"\n font-size: 20px;\n line-height: 28px;\n "})),M=function(n){var e,t=n.children,i=n.condensed,r=n.inline,o=n.level,c=n.marketing,u=n.spacingBelow,l=(0,f.Z)(n,Z);r?e=z:0===Number(o)?e=C:1===Number(o)?e=c?N:S:2===Number(o)?e=I:3===Number(o)?e=H:4===Number(o)?e=E:5===Number(o)&&(e=T);var a=(0,j.jsxs)(e,P(P({},l),{},{level:o,children:[u&&(0,j.jsx)(_.Z,{mb:i?2:3,children:t}),!u&&t]}));return r?a:(0,j.jsx)(k,{children:a})};M.defaultProps={level:3,weightStyle:6},e.Z=M},37003:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return U}});var i=t(77837),r=t(75582),o=t(82394),c=t(38860),u=t.n(c),l=t(82684),a=t(34376),d=t(75457),s=t(93808),f=t(71180),p=t(70652),g=t(55485),h=t(85854),m=t(48670),v=t(44085),b=t(57114),x=t(38276),y=t(81334),_=t(30160),j=t(17488),Z=t(35686),w=t(98464),P=t(77417),O=t(68781),k=t(78419),C=t(70515),S=t(53808),N=t(42122),I=t(81728),H=t(86735),E=t(28598);function T(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function z(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?T(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):T(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var M=function(n){var e,t,i,r,c,u,a,d=n.isPipelineUpdating,s=n.pipeline,T=n.updatePipeline,M=(0,P.Z)().project,R=(0,l.useRef)(null),D=(0,l.useRef)(null),A=null===s||void 0===s?void 0:s.uuid,W=(0,l.useMemo)((function(){return(null===s||void 0===s?void 0:s.blocks)||[]}),[s]),L=(0,l.useState)(!1),F=L[0],U=L[1],V=(0,l.useState)(!1),B=V[0],Y=V[1],X=(0,l.useState)(null),G=X[0],J=X[1],K=(0,w.Z)(s);(0,l.useEffect)((function(){(0,N.Xy)(s,K)||J(s)}),[s,K]);var Q=(0,l.useCallback)((function(n){U(!0),J(n)}),[]),q="".concat(k.g6,"_").concat(A),$=(0,l.useState)({}),nn=$[0],en=$[1],tn="".concat(k.vF,"_").concat(A),rn=(0,l.useState)(!1),on=rn[0],cn=rn[1],un=(0,l.useCallback)((function(n){en((function(e){var t=n(e);return(0,S.t8)(q,JSON.stringify(t)),t}))}),[q,en]),ln=(0,l.useCallback)((function(n){cn((function(e){var t=n(e);return(0,S.t8)(tn,t),t}))}),[tn,cn]);(0,l.useEffect)((function(){var n=(0,S.U2)(q);n&&(0,I.Pb)(n)&&en(JSON.parse(n))}),[q,en]),(0,l.useEffect)((function(){var n=(0,S.U2)(tn);n&&cn(n)}),[tn,cn]);var an=(0,l.useMemo)((function(){return null===G||void 0===G?void 0:G.executor_type}),[G]);(0,l.useEffect)((function(){B||!an||O.R.find((function(n){return n===an}))||Y(!0)}),[B,an]);var dn=(0,l.useMemo)((function(){return(null===W||void 0===W?void 0:W.filter((function(n){var e=n.uuid;return!(null===nn||void 0===nn||!nn[e])}))).length===W.length}),[W,nn]),sn=(0,l.useMemo)((function(){return!(null!==W&&void 0!==W&&W.length)}),[W]),fn=(0,l.useMemo)((function(){return(null===G||void 0===G?void 0:G.tags)||[]}),[G]),pn=Z.ZP.tags.list().data,gn=(0,l.useMemo)((function(){return((null===pn||void 0===pn?void 0:pn.tags)||[]).filter((function(n){var e=n.uuid;return!fn.includes(e)}))}),[pn,fn]),hn=(0,l.useMemo)((function(){var n;return null===M||void 0===M||null===(n=M.pipelines)||void 0===n?void 0:n.settings}),[M]),mn=(0,l.useMemo)((function(){var n,e,t;return(null===hn||void 0===hn||null===(n=hn.triggers)||void 0===n?void 0:n.save_in_code_automatically)&&"undefined"===typeof(null===G||void 0===G||null===(e=G.settings)||void 0===e||null===(t=e.triggers)||void 0===t?void 0:t.save_in_code_automatically)}),[G,hn]);return(0,E.jsxs)(x.Z,{p:C.cd,children:[(0,E.jsxs)(b.Z,{title:"Details",children:[(0,E.jsx)(b.S,{invalid:F&&!(null!==G&&void 0!==G&&G.name),textInput:{onChange:function(n){return Q((function(e){return z(z({},e),{},{name:n.target.value})}))},value:null===G||void 0===G?void 0:G.name},title:"Pipeline name"}),(0,E.jsx)(b.S,{description:"When enabled, this setting allows sharing of objects and memory space across blocks within a single pipeline.",title:"Run pipeline in a single process",toggleSwitch:{checked:!(null===G||void 0===G||!G.run_pipeline_in_one_process),onCheck:function(n){return Q((function(e){return z(z({},e),{},{run_pipeline_in_one_process:n(null===e||void 0===e?void 0:e.run_pipeline_in_one_process)})}))}}}),(0,E.jsx)(b.S,{description:(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(_.ZP,{muted:!0,small:!0,children:"Every time a trigger is created or updated in this pipeline, it\u2019ll be automatically be persisted it in code."}),(null===hn||void 0===hn||null===(e=hn.triggers)||void 0===e?void 0:e.save_in_code_automatically)&&(0,E.jsx)(_.ZP,{small:!0,warning:!0,children:"This settings is enabled at the project level. Changing the value here will only affect this pipeline."})]}),title:"Save triggers in code automatically",toggleSwitch:{checked:mn||!(null===G||void 0===G||null===(t=G.settings)||void 0===t||null===(i=t.triggers)||void 0===i||!i.save_in_code_automatically),onCheck:function(n){return Q((function(e){var t,i,r;return z(z({},e),{},{settings:z(z({},null===e||void 0===e?void 0:e.settings),{},{triggers:z(z({},null===e||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.triggers),{},{save_in_code_automatically:n(mn||(null===e||void 0===e||null===(i=e.settings)||void 0===i||null===(r=i.triggers)||void 0===r?void 0:r.save_in_code_automatically))})})})}))}}})]}),(0,E.jsxs)(x.Z,{mt:C.HN,children:[(0,E.jsx)(h.Z,{children:"Executor type"}),(0,E.jsxs)(_.ZP,{muted:!0,children:["For more information on this setting, please read the ",(0,E.jsx)(m.Z,{href:"https://docs.mage.ai/production/configuring-production-settings/compute-resource#2-set-executor-type-and-customize-the-compute-resource-of-the-mage-executor",openNewWindow:!0,children:"documentation"}),"."]}),(0,E.jsxs)(x.Z,{mt:1,children:[!B&&(0,E.jsx)(v.Z,{label:"Executor type",onChange:function(n){return Q((function(e){return z(z({},e),{},{executor_type:n.target.value})}))},primary:!0,ref:R,value:(null===G||void 0===G?void 0:G.executor_type)||"",children:O.R.map((function(n){return(0,E.jsx)("option",{value:n,children:n},n)}))}),B&&(0,E.jsx)(j.Z,{label:"Executor type",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{executor_type:n.target.value})}))},ref:D,setContentOnMount:!0,value:(null===G||void 0===G?void 0:G.executor_type)||""}),(0,E.jsx)(x.Z,{mt:1,children:(0,E.jsx)(m.Z,{muted:!0,onClick:function(){B?(Q((function(n){return z(z({},n),{},{executor_type:null===s||void 0===s?void 0:s.executor_type})})),setTimeout((function(){var n;return null===R||void 0===R||null===(n=R.current)||void 0===n?void 0:n.focus()}),1)):setTimeout((function(){var n;return null===D||void 0===D||null===(n=D.current)||void 0===n?void 0:n.focus()}),1),Y(!B)},preventDefault:!0,small:!0,children:B?"Select a preset executor type":"Enter a custom executor type"})})]})]}),(0,E.jsxs)(x.Z,{mt:C.HN,children:[(0,E.jsx)(h.Z,{children:"Retry configuration"}),(0,E.jsxs)(_.ZP,{muted:!0,children:["For more information on this setting, please read the ",(0,E.jsx)(m.Z,{href:"https://docs.mage.ai/orchestration/pipeline-runs/retrying-block-runs",openNewWindow:!0,children:"documentation"}),"."]}),(0,E.jsx)(x.Z,{mt:1,children:(0,E.jsxs)(g.ZP,{children:[(0,E.jsx)(j.Z,{label:"Retries",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{retry_config:z(z({},null===e||void 0===e?void 0:e.retry_config),{},{retries:"undefined"!==typeof n.target.value&&null!==n.target.value?Number(n.target.value):n.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===G||void 0===G||null===(r=G.retry_config)||void 0===r?void 0:r.retries)||""}),(0,E.jsx)(x.Z,{mr:1}),(0,E.jsx)(j.Z,{label:"Delay",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{retry_config:z(z({},null===e||void 0===e?void 0:e.retry_config),{},{delay:"undefined"!==typeof n.target.value&&null!==n.target.value?Number(n.target.value):n.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===G||void 0===G||null===(c=G.retry_config)||void 0===c?void 0:c.delay)||""}),(0,E.jsx)(x.Z,{mr:1}),(0,E.jsx)(j.Z,{label:"Max delay",monospace:!0,onChange:function(n){return Q((function(e){return z(z({},e),{},{retry_config:z(z({},null===e||void 0===e?void 0:e.retry_config),{},{max_delay:"undefined"!==typeof n.target.value&&null!==n.target.value?Number(n.target.value):n.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===G||void 0===G||null===(u=G.retry_config)||void 0===u?void 0:u.max_delay)||""}),(0,E.jsx)(x.Z,{mr:1}),(0,E.jsx)(p.Z,{checked:!(null===G||void 0===G||null===(a=G.retry_config)||void 0===a||!a.exponential_backoff),label:"Exponential backoff",onClick:function(){return Q((function(n){var e;return z(z({},n),{},{retry_config:z(z({},null===n||void 0===n?void 0:n.retry_config),{},{exponential_backoff:!(null!==n&&void 0!==n&&null!==(e=n.retry_config)&&void 0!==e&&e.exponential_backoff)})})}))}})]})})]}),(0,E.jsxs)(x.Z,{mt:C.HN,children:[(0,E.jsx)(h.Z,{children:"Tags"}),(0,E.jsx)(x.Z,{mt:1,children:(0,E.jsx)(y.Z,{removeTag:function(n){Q((function(e){return z(z({},e),{},{tags:fn.filter((function(e){return e!==n.uuid}))})}))},selectTag:function(n){Q((function(e){return z(z({},e),{},{tags:(0,H.$C)(n.uuid,fn,(function(e){return e===n.uuid}))})}))},selectedTags:null===fn||void 0===fn?void 0:fn.map((function(n){return{uuid:n}})),tags:gn,uuid:"TagsAutocompleteInputField-".concat(null===s||void 0===s?void 0:s.uuid)})})]}),(0,E.jsx)(x.Z,{mt:C.HN,children:(0,E.jsx)(g.ZP,{children:(0,E.jsx)(f.ZP,{disabled:!F,loading:d,onClick:function(){return T({executor_type:null===G||void 0===G?void 0:G.executor_type,name:null===G||void 0===G?void 0:G.name,retry_config:null===G||void 0===G?void 0:G.retry_config,run_pipeline_in_one_process:null===G||void 0===G?void 0:G.run_pipeline_in_one_process,settings:null===G||void 0===G?void 0:G.settings,tags:null===G||void 0===G?void 0:G.tags}).then((function(){return U(!1)}))},primary:!0,children:"Save pipeline settings"})})}),(0,E.jsx)(x.Z,{mt:C.HN,children:(0,E.jsx)(p.Z,{checked:dn&&!sn,disabled:sn,label:"Hide all blocks in notebook",onClick:function(){return un((function(){return dn?{}:null===W||void 0===W?void 0:W.reduce((function(n,e){var t=e.uuid;return z(z({},n),{},(0,o.Z)({},t,!0))}),{})}))}})}),(0,E.jsx)(x.Z,{mt:C.Mq,children:(0,E.jsx)(p.Z,{checked:on,label:"When running a block while editing a pipeline, output the block messages to the logs",onClick:function(){return ln((function(n){return!n}))}})})]})},R=t(28795),D=t(69864),A=t(72619);function W(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function L(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?W(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):W(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function F(n){var e=n.pipeline,t=(0,a.useRouter)(),i=(0,l.useState)(null),o=i[0],c=i[1],u=null===e||void 0===e?void 0:e.uuid,s=Z.ZP.pipelines.detail(u).data,f=L(L({},null===s||void 0===s?void 0:s.pipeline),e),p=(0,D.Db)(Z.ZP.pipelines.useUpdate(u,{update_content:!0}),{onSuccess:function(n){return(0,A.wD)(n,{callback:function(n){if(null!==n&&void 0!==n&&n.pipeline){var e=n.pipeline.uuid;u!==e&&(window.location.href="".concat(t.basePath,"/pipelines/").concat(e,"/settings"))}},onErrorCallback:function(n,e){return c({errors:e,response:n})}})}}),g=(0,r.Z)(p,2),h=g[0],m=g[1].isLoading;return(0,E.jsx)(d.Z,{breadcrumbs:[{label:function(){return"Settings"}}],errors:o,pageName:R.M.SETTINGS,pipeline:f,setErrors:c,title:function(n){var e=n.name;return"".concat(e," settings")},uuid:"".concat(R.M.SETTINGS,"_").concat(u),children:f&&(0,E.jsx)(M,{isPipelineUpdating:m,pipeline:f,updatePipeline:function(n){return h({pipeline:n})}})})}F.getInitialProps=function(){var n=(0,i.Z)(u().mark((function n(e){var t;return u().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.query.pipeline,n.abrupt("return",{pipeline:{uuid:t}});case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();var U=(0,s.Z)(F)},59606:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipelines/[pipeline]/settings",function(){return t(37003)}])},80022:function(n,e,t){"use strict";function i(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}t.d(e,{Z:function(){return i}})},15544:function(n,e,t){"use strict";function i(n){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i(n)}t.d(e,{Z:function(){return i}})},13692:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var i=t(61049);function r(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&(0,i.Z)(n,e)}},93189:function(n,e,t){"use strict";t.d(e,{Z:function(){return o}});var i=t(12539),r=t(80022);function o(n,e){if(e&&("object"===i(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(n)}},61049:function(n,e,t){"use strict";function i(n,e){return i=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n},i(n,e)}t.d(e,{Z:function(){return i}})}},function(n){n.O(0,[2678,1154,844,4267,6990,8487,8264,5457,6798,9774,2888,179],(function(){return e=59606,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3853],{55729:function(e,n,t){"use strict";t.d(n,{Z:function(){return W}});var i=t(82394),r=t(75582),o=t(82684),c=t(69864),l=t(71180),a=t(15338),d=t(97618),s=t(55485),u=t(85854),p=t(48670),f=t(65956),h=t(82359),g=t(88543),m=t(38276),j=t(30160),x=t(17488),v=t(69650),b=t(12468),y=t(35686),Z=t(38626),w=t(44897),O=t(42631),P=t(70515),_=Z.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-1b0w59t-0"})(["border-radius:","px;padding:","px;",""],O.n_,P.cd*P.iI,(function(e){return"\n background-color: ".concat((e.theme.background||w.Z.background).codeArea,";\n ")})),k=t(72473),I=t(72191),C=t(70320),S=t(81728),H=t(42122),N=t(72619),z=t(23780),D=t(28598);function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?E(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var W=function(e){var n,t,Z,w=e.cancelButtonText,O=e.contained,E=e.header,W=e.onCancel,B=e.onSaveSuccess,V=(0,z.VI)(null,{},[],{uuid:"settings/workspace/preferences"}),M=(0,r.Z)(V,1)[0],A=(0,o.useState)(null),F=A[0],R=A[1],T=(0,o.useState)(!1),X=T[0],Y=T[1],Q=y.ZP.projects.list(),U=Q.data,q=Q.mutate,G=(0,o.useMemo)((function(){var e;return null===U||void 0===U||null===(e=U.projects)||void 0===e?void 0:e[0]}),[U]),J=G||{},K=J.name,$=J.openai_api_key,ee=J.project_uuid,ne=(0,o.useMemo)((function(){return"demo.mage.ai"===window.location.hostname}),[]);(0,o.useEffect)((function(){F||R(G)}),[G,F]);var te=(0,c.Db)(y.ZP.projects.useUpdate(K),{onSuccess:function(e){return(0,N.wD)(e,{callback:function(e){var n,t=e.project;q(),R(t),Y(!1),(0,C.hY)(null===t||void 0===t||null===(n=t.features)||void 0===n?void 0:n[h.d.LOCAL_TIMEZONE]),B&&(null===B||void 0===B||B(t))},onErrorCallback:function(e,n){return M({errors:n,response:e})}})}}),ie=(0,r.Z)(te,2),re=ie[0],oe=ie[1].isLoading,ce=(0,o.useCallback)((function(e){return re({project:e})}),[re]),le=(0,D.jsxs)(D.Fragment,{children:[E,(0,D.jsxs)(f.Z,{noPadding:!0,children:[(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Project name"})}),(0,D.jsx)(j.ZP,{default:!0,monospace:!0,children:K})]}),(0,D.jsx)(a.Z,{light:!0}),(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Project UUID"})}),(0,D.jsx)(j.ZP,{default:!!ee,monospace:!0,muted:!ee,children:ee||"Not required"})]}),(0,D.jsx)(a.Z,{light:!0}),(0,D.jsx)(m.Z,{p:P.cd,children:(0,D.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,D.jsxs)(d.Z,{flexDirection:"column",children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Help improve Mage"})}),(0,D.jsxs)(j.ZP,{default:!0,children:["Please contribute usage statistics to help improve the developer experience for you and everyone in the community. Learn more ",(0,D.jsx)(p.Z,{href:"https://docs.mage.ai/contributing/statistics/overview",openNewWindow:!0,children:"here"}),"."]})]}),(0,D.jsx)(m.Z,{mr:P.cd}),(0,D.jsx)(v.Z,{compact:!0,checked:null===F||void 0===F?void 0:F.help_improve_mage,onCheck:function(){return R((function(e){return L(L({},e),{},{help_improve_mage:!(null!==F&&void 0!==F&&F.help_improve_mage)})}))}})]})})]}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsx)(g.Z,{description:"Global settings that are applied to all pipelines in this project.",title:"Pipeline settings",children:(0,D.jsx)(g.S,{description:"Every time a trigger is created or updated in this pipeline, automatically persist it in code.",title:"Save triggers in code automatically",toggleSwitch:{checked:!(null===F||void 0===F||null===(n=F.pipelines)||void 0===n||null===(t=n.settings)||void 0===t||null===(Z=t.triggers)||void 0===Z||!Z.save_in_code_automatically),onCheck:function(e){return R((function(n){var t,i,r,o,c,l;return L(L({},n),{},{pipelines:L(L({},null===n||void 0===n?void 0:n.pipelines),{},{settings:L(L({},null===n||void 0===n||null===(t=n.pipelines)||void 0===t?void 0:t.settings),{},{triggers:L(L({},null===n||void 0===n||null===(i=n.pipelines)||void 0===i||null===(r=i.settings)||void 0===r?void 0:r.triggers),{},{save_in_code_automatically:e(null===n||void 0===n||null===(o=n.pipelines)||void 0===o||null===(c=o.settings)||void 0===c||null===(l=c.triggers)||void 0===l?void 0:l.save_in_code_automatically)})})})})}))}}})}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsx)(f.Z,{noPadding:!0,overflowVisible:!0,children:(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Features"})}),Object.entries((0,H.gR)(null===F||void 0===F?void 0:F.features,[h.d.GLOBAL_HOOKS])||{}).map((function(e,n){var t=(0,r.Z)(e,2),o=t[0],c=t[1];return(0,D.jsx)(m.Z,{mt:0===n?0:1,children:(0,D.jsxs)(s.ZP,{alignItems:"center",children:[(0,D.jsx)(v.Z,{checked:!!c,compact:!0,onCheck:function(){return R((function(e){return L(L({},e),{},{features:L(L({},null===F||void 0===F?void 0:F.features),{},(0,i.Z)({},o,!c))})}))}}),(0,D.jsx)(m.Z,{mr:P.cd}),(0,D.jsxs)(d.Z,{children:[(0,D.jsx)(j.ZP,{default:!c,monospace:!0,children:(0,S.vg)(o)}),o===h.d.LOCAL_TIMEZONE&&(0,D.jsx)(m.Z,{ml:1,children:(0,D.jsx)(b.Z,L({},C.EB))})]})]})},o)}))]})}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsx)(f.Z,{noPadding:!0,children:(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"OpenAI"})}),$&&!X?(0,D.jsxs)(s.ZP,L(L({},s.A0),{},{children:[(0,D.jsx)(j.ZP,{default:!0,monospace:!0,children:"API key: ********"}),(0,D.jsx)(l.ZP,{iconOnly:!0,onClick:function(){return Y(!0)},secondary:!0,title:"Edit",children:(0,D.jsx)(k.I8,{size:I.bL})})]})):(0,D.jsx)(x.Z,{disabled:ne,label:ne?"Entering API key is disabled on demo":"API key",monospace:!0,onChange:function(e){return R((function(n){return L(L({},n),{},{openai_api_key:e.target.value})}))},primary:!0,setContentOnMount:!0,value:(null===F||void 0===F?void 0:F.openai_api_key)||""})]})}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsxs)(s.ZP,{alignItems:"center",children:[(0,D.jsx)(l.ZP,{loading:oe,onClick:function(){ce({features:null===F||void 0===F?void 0:F.features,help_improve_mage:null===F||void 0===F?void 0:F.help_improve_mage,openai_api_key:null===F||void 0===F?void 0:F.openai_api_key,pipelines:null===F||void 0===F?void 0:F.pipelines})},primary:!0,children:"Save project settings"}),W&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(m.Z,{mr:P.cd}),(0,D.jsx)(l.ZP,{onClick:W,secondary:!0,children:w||"Cancel"})]})]})]});return O?(0,D.jsx)(_,{children:le}):le}},46568:function(e,n,t){"use strict";var i=t(82394),r=t(26304),o=(t(82684),t(33591)),c=t(28598),l=["children","fullHeight","gutter","style"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,i=e.gutter,a=e.style,s=void 0===a?{}:a,u=(0,r.Z)(e,l),p=d({},s);return i&&(p.paddingLeft=i,p.paddingRight=p.paddingLeft),t&&(p.height="100%"),(0,c.jsx)(o.Col,d(d({},u),{},{style:p,children:n}))}},82682:function(e,n,t){"use strict";var i=t(82394),r=t(26304),o=t(82684),c=t(33591),l=t(28598),a=["children","fullHeight","gutter","justifyContent","style"];function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,i=e.gutter,d=e.justifyContent,u=e.style,p=void 0===u?{}:u,f=(0,r.Z)(e,a),h=s({},p);return i&&(h.marginLeft=-1*i,h.marginRight=h.marginLeft),t&&(h.height="100%"),(0,l.jsx)(c.Row,s(s({},f),{},{justifyContent:d,style:h,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:i,key:n})}))}))}},88543:function(e,n,t){"use strict";t.d(n,{S:function(){return y},Z:function(){return Z}});var i=t(82684),r=t(15338),o=t(97618),c=t(55485),l=t(85854),a=t(65956),d=t(82394),s=t(44085),u=t(38276),p=t(30160),f=t(17488),h=t(69650),g=t(72473),m=t(8193),j=t(70515),x=t(28598);function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?v(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var y=function(e){var n,t=e.children,i=e.description,r=e.invalid,l=e.large,a=void 0===l||l,d=e.selectInput,v=e.textInput,y=e.title,Z=e.toggleSwitch,w=e.warning;return(0,x.jsx)(u.Z,{p:j.cd,children:(0,x.jsxs)(c.ZP,{alignItems:"center",children:[(0,x.jsxs)(c.ZP,{flexDirection:"column",children:[(0,x.jsxs)(p.ZP,{danger:r,default:!0,large:a,warning:w,children:[y," ",r&&(0,x.jsx)(p.ZP,{danger:!0,inline:!0,large:a,children:"is required"})]}),i&&"string"===typeof i&&(0,x.jsx)(p.ZP,{muted:!0,small:!0,children:i}),i&&"string"!==typeof i&&i]}),(0,x.jsx)(u.Z,{mr:j.cd}),(0,x.jsxs)(o.Z,{flex:1,justifyContent:"flex-end",children:[t,v&&(0,x.jsx)(f.Z,b({afterIcon:(0,x.jsx)(g.I8,{}),afterIconClick:function(e,n){var t;null===n||void 0===n||null===(t=n.current)||void 0===t||t.focus()},afterIconSize:m.Z,alignRight:!0,autoComplete:"off",large:a,noBackground:!0,noBorder:!0,fullWidth:!0,paddingHorizontal:0,paddingVertical:0,setContentOnMount:!0},v)),d&&(0,x.jsx)(s.Z,b(b({},d),{},{afterIcon:(0,x.jsx)(g._M,{}),afterIconSize:m.Z,alignRight:!0,autoComplete:"off",large:a,noBackground:!0,noBorder:!0,paddingHorizontal:0,paddingVertical:0,setContentOnMount:!0,children:null===d||void 0===d||null===(n=d.options)||void 0===n?void 0:n.map((function(e){var n=e.label,t=e.value;return(0,x.jsx)("option",{value:t,children:n||t},t)}))})),Z&&(0,x.jsx)(h.Z,{checked:!(null===Z||void 0===Z||!Z.checked),compact:!0,onCheck:null===Z||void 0===Z?void 0:Z.onCheck})]})]})})},Z=function(e){var n=e.children,t=e.description,d=e.headerChildren,s=e.title;return(0,x.jsxs)(a.Z,{noPadding:!0,children:[(0,x.jsx)(u.Z,{p:j.cd,children:(0,x.jsxs)(c.ZP,{alignItems:"center",children:[(0,x.jsxs)(o.Z,{flex:1,flexDirection:"column",children:[(0,x.jsx)(l.Z,{level:4,children:s}),t&&"string"===typeof t&&(0,x.jsx)(u.Z,{mt:1,children:(0,x.jsx)(p.ZP,{muted:!0,children:t})}),t&&"string"!==typeof t&&t]}),d]})}),i.Children.map(n,(function(e,n){return(0,x.jsxs)("div",{children:[(0,x.jsx)(r.Z,{light:!0}),e]},"".concat(s,"-").concat(n))}))]})}},8193:function(e,n,t){"use strict";t.d(n,{N:function(){return a},Z:function(){return l}});var i=t(38626),r=t(44897),o=t(42631),c=t(70515),l=2*c.iI,a=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-1ck7mzt-0"})(["border-radius:","px;padding:","px;",""],o.n_,c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).codeArea,";\n ")}))},65956:function(e,n,t){"use strict";var i=t(38626),r=t(55485),o=t(38276),c=t(30160),l=t(44897),a=t(42631),d=t(47041),s=t(70515),u=t(28598),p=(0,i.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*s.iI,1.5*s.iI,1.5*s.iI),f=i.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],a.n_,(function(e){return e.fullWidth&&"\n width: 100%;\n "}),(function(e){return!e.borderless&&"\n border: 1px solid ".concat((e.theme.interactive||l.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||l.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||l.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||l.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||l.Z.background).content,";\n ")}),(function(e){return!e.fullHeight&&"\n height: fit-content;\n "}),(function(e){return e.maxHeight&&"\n max-height: ".concat(e.maxHeight,";\n ")}),(function(e){return e.maxWidth&&"\n max-width: ".concat(e.maxWidth,"px;\n ")}),(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,"px;\n\n @media (max-width: ").concat(e.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(e){return e.borderless&&"\n border: none;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),h=i.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],a.n_,a.n_,(function(e){return"\n background-color: ".concat((e.theme.background||l.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||l.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),p,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),g=i.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*s.iI,d.w5,(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),(function(e){return e.maxHeight&&"\n max-height: calc(".concat(e.maxHeight," - ").concat(15*s.iI,"px);\n ")}),(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),m=i.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],a.M8,a.YF,1.75*s.iI);n.Z=function(e){var n=e.borderless,t=e.children,i=e.containerRef,l=e.contentContainerRef,a=e.dark,d=e.footer,s=e.fullHeight,p=void 0===s||s,j=e.fullWidth,x=void 0===j||j,v=e.header,b=e.headerHeight,y=e.headerIcon,Z=e.headerPaddingVertical,w=e.headerTitle,O=e.maxHeight,P=e.maxWidth,_=e.minWidth,k=e.noPadding,I=e.overflowVisible,C=e.subtitle,S=e.success;return(0,u.jsxs)(f,{borderless:n,dark:a,fullHeight:p,fullWidth:x,maxHeight:O,maxWidth:P,minWidth:_,overflowVisible:I,ref:i,success:S,children:[(v||w)&&(0,u.jsxs)(h,{headerPaddingVertical:Z,height:b,children:[v&&v,w&&(0,u.jsx)(r.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,u.jsxs)(r.ZP,{alignItems:"center",children:[y&&y,(0,u.jsx)(o.Z,{ml:y?1:0,children:(0,u.jsx)(c.ZP,{bold:!0,default:!0,children:w})})]})})]}),(0,u.jsxs)(g,{maxHeight:O,noPadding:k,overflowVisible:I,ref:l,children:[C&&"string"===typeof C&&(0,u.jsx)(o.Z,{mb:2,children:(0,u.jsx)(c.ZP,{default:!0,children:C})}),C&&"string"!==typeof C&&C,t]}),d&&(0,u.jsx)(m,{children:d})]})}},85854:function(e,n,t){"use strict";var i,r,o,c,l,a,d,s,u=t(82394),p=t(26304),f=t(26653),h=t(38626),g=t(33591),m=t(44897),j=t(95363),x=t(61896),v=t(30160),b=t(70515),y=t(38276),Z=t(28598),w=["children","condensed","inline","level","marketing","spacingBelow"];function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?O(Object(t),!0).forEach((function(n){(0,u.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _=(0,h.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," "," ",""],v.IH,(function(e){return e.color&&"\n color: ".concat(e.color,"\n ")}),(function(e){return e.yellow&&"\n color: ".concat((e.theme.accent||m.Z.accent).yellow,";\n ")}),(function(e){return e.center&&"\n text-align: center;\n "}),(function(e){return!e.monospace&&0===Number(e.weightStyle)&&"\n font-family: ".concat(j.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(j.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(j.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(j.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(j.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "}),(function(e){return e.strikethrough&&"\n text-decoration: line-through;\n "})),k=h.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(e){return"\n color: ".concat((e.theme.content||m.Z.content).active,";\n ")})),I=h.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],_,g.media.md(i||(i=(0,f.Z)(["\n ","\n "])),x.aQ),g.media.lg(r||(r=(0,f.Z)(["\n ","\n "])),x.aQ),g.media.xl(o||(o=(0,f.Z)(["\n ","\n "])),x.aQ)),C=h.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],_,x.MJ),S=h.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],_,g.media.xs(c||(c=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.sm(l||(l=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.md(a||(a=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.lg(d||(d=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.xl(s||(s=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI)),H=h.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],_,x.BL),N=h.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],_),z=h.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],_),D=h.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],_),E=h.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],_,(function(e){return 1===e.level&&"\n ".concat(x.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(x.BL,"\n ")}),(function(e){return 3===e.level&&"\n font-size: 24px;\n line-height: 32px;\n "}),(function(e){return 4===e.level&&"\n font-size: 20px;\n line-height: 28px;\n "})),L=function(e){var n,t=e.children,i=e.condensed,r=e.inline,o=e.level,c=e.marketing,l=e.spacingBelow,a=(0,p.Z)(e,w);r?n=E:0===Number(o)?n=I:1===Number(o)?n=c?S:C:2===Number(o)?n=H:3===Number(o)?n=N:4===Number(o)?n=z:5===Number(o)&&(n=D);var d=(0,Z.jsxs)(n,P(P({},a),{},{level:o,children:[l&&(0,Z.jsx)(y.Z,{mb:i?2:3,children:t}),!l&&t]}));return r?d:(0,Z.jsx)(k,{children:d})};L.defaultProps={level:3,weightStyle:6},n.Z=L},61316:function(e,n,t){"use strict";t.r(n);var i=t(77837),r=t(38860),o=t.n(r),c=t(46568),l=t(55729),a=t(93808),d=t(82682),s=t(28274),u=t(38276),p=t(70515),f=t(24755),h=t(28598);function g(){return(0,h.jsx)(s.Z,{uuidItemSelected:f.HY,uuidWorkspaceSelected:f.WH,children:(0,h.jsx)(u.Z,{p:p.cd,children:(0,h.jsx)(d.Z,{justifyContent:"center",children:(0,h.jsx)(c.Z,{xl:8,xxl:6,children:(0,h.jsx)(l.Z,{})})})})})}g.getInitialProps=(0,i.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,a.Z)(g)},33323:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/preferences",function(){return t(61316)}])}},function(e){e.O(0,[2678,1154,844,4267,6990,8487,8264,8432,9774,2888,179],(function(){return n=33323,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3853],{55729:function(e,n,t){"use strict";t.d(n,{Z:function(){return W}});var i=t(82394),r=t(75582),o=t(82684),c=t(69864),l=t(71180),a=t(15338),d=t(97618),s=t(55485),u=t(85854),p=t(48670),f=t(65956),h=t(82359),g=t(57114),m=t(38276),j=t(30160),x=t(17488),v=t(69650),b=t(12468),y=t(35686),Z=t(38626),w=t(44897),O=t(42631),P=t(70515),_=Z.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-1b0w59t-0"})(["border-radius:","px;padding:","px;",""],O.n_,P.cd*P.iI,(function(e){return"\n background-color: ".concat((e.theme.background||w.Z.background).codeArea,";\n ")})),k=t(72473),I=t(72191),C=t(70320),S=t(81728),H=t(42122),N=t(72619),z=t(23780),D=t(28598);function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?E(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var W=function(e){var n,t,Z,w=e.cancelButtonText,O=e.contained,E=e.header,W=e.onCancel,B=e.onSaveSuccess,V=(0,z.VI)(null,{},[],{uuid:"settings/workspace/preferences"}),M=(0,r.Z)(V,1)[0],A=(0,o.useState)(null),F=A[0],R=A[1],T=(0,o.useState)(!1),X=T[0],Y=T[1],Q=y.ZP.projects.list(),U=Q.data,q=Q.mutate,G=(0,o.useMemo)((function(){var e;return null===U||void 0===U||null===(e=U.projects)||void 0===e?void 0:e[0]}),[U]),J=G||{},K=J.name,$=J.openai_api_key,ee=J.project_uuid,ne=(0,o.useMemo)((function(){return"demo.mage.ai"===window.location.hostname}),[]);(0,o.useEffect)((function(){F||R(G)}),[G,F]);var te=(0,c.Db)(y.ZP.projects.useUpdate(K),{onSuccess:function(e){return(0,N.wD)(e,{callback:function(e){var n,t=e.project;q(),R(t),Y(!1),(0,C.hY)(null===t||void 0===t||null===(n=t.features)||void 0===n?void 0:n[h.d.LOCAL_TIMEZONE]),B&&(null===B||void 0===B||B(t))},onErrorCallback:function(e,n){return M({errors:n,response:e})}})}}),ie=(0,r.Z)(te,2),re=ie[0],oe=ie[1].isLoading,ce=(0,o.useCallback)((function(e){return re({project:e})}),[re]),le=(0,D.jsxs)(D.Fragment,{children:[E,(0,D.jsxs)(f.Z,{noPadding:!0,children:[(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Project name"})}),(0,D.jsx)(j.ZP,{default:!0,monospace:!0,children:K})]}),(0,D.jsx)(a.Z,{light:!0}),(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Project UUID"})}),(0,D.jsx)(j.ZP,{default:!!ee,monospace:!0,muted:!ee,children:ee||"Not required"})]}),(0,D.jsx)(a.Z,{light:!0}),(0,D.jsx)(m.Z,{p:P.cd,children:(0,D.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,D.jsxs)(d.Z,{flexDirection:"column",children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Help improve Mage"})}),(0,D.jsxs)(j.ZP,{default:!0,children:["Please contribute usage statistics to help improve the developer experience for you and everyone in the community. Learn more ",(0,D.jsx)(p.Z,{href:"https://docs.mage.ai/contributing/statistics/overview",openNewWindow:!0,children:"here"}),"."]})]}),(0,D.jsx)(m.Z,{mr:P.cd}),(0,D.jsx)(v.Z,{compact:!0,checked:null===F||void 0===F?void 0:F.help_improve_mage,onCheck:function(){return R((function(e){return L(L({},e),{},{help_improve_mage:!(null!==F&&void 0!==F&&F.help_improve_mage)})}))}})]})})]}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsx)(g.Z,{description:"Global settings that are applied to all pipelines in this project.",title:"Pipeline settings",children:(0,D.jsx)(g.S,{description:"Every time a trigger is created or updated in this pipeline, automatically persist it in code.",title:"Save triggers in code automatically",toggleSwitch:{checked:!(null===F||void 0===F||null===(n=F.pipelines)||void 0===n||null===(t=n.settings)||void 0===t||null===(Z=t.triggers)||void 0===Z||!Z.save_in_code_automatically),onCheck:function(e){return R((function(n){var t,i,r,o,c,l;return L(L({},n),{},{pipelines:L(L({},null===n||void 0===n?void 0:n.pipelines),{},{settings:L(L({},null===n||void 0===n||null===(t=n.pipelines)||void 0===t?void 0:t.settings),{},{triggers:L(L({},null===n||void 0===n||null===(i=n.pipelines)||void 0===i||null===(r=i.settings)||void 0===r?void 0:r.triggers),{},{save_in_code_automatically:e(null===n||void 0===n||null===(o=n.pipelines)||void 0===o||null===(c=o.settings)||void 0===c||null===(l=c.triggers)||void 0===l?void 0:l.save_in_code_automatically)})})})})}))}}})}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsx)(f.Z,{noPadding:!0,overflowVisible:!0,children:(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"Features"})}),Object.entries((0,H.gR)(null===F||void 0===F?void 0:F.features,[h.d.GLOBAL_HOOKS])||{}).map((function(e,n){var t=(0,r.Z)(e,2),o=t[0],c=t[1];return(0,D.jsx)(m.Z,{mt:0===n?0:1,children:(0,D.jsxs)(s.ZP,{alignItems:"center",children:[(0,D.jsx)(v.Z,{checked:!!c,compact:!0,onCheck:function(){return R((function(e){return L(L({},e),{},{features:L(L({},null===F||void 0===F?void 0:F.features),{},(0,i.Z)({},o,!c))})}))}}),(0,D.jsx)(m.Z,{mr:P.cd}),(0,D.jsxs)(d.Z,{children:[(0,D.jsx)(j.ZP,{default:!c,monospace:!0,children:(0,S.vg)(o)}),o===h.d.LOCAL_TIMEZONE&&(0,D.jsx)(m.Z,{ml:1,children:(0,D.jsx)(b.Z,L({},C.EB))})]})]})},o)}))]})}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsx)(f.Z,{noPadding:!0,children:(0,D.jsxs)(m.Z,{p:P.cd,children:[(0,D.jsx)(m.Z,{mb:1,children:(0,D.jsx)(u.Z,{level:5,children:"OpenAI"})}),$&&!X?(0,D.jsxs)(s.ZP,L(L({},s.A0),{},{children:[(0,D.jsx)(j.ZP,{default:!0,monospace:!0,children:"API key: ********"}),(0,D.jsx)(l.ZP,{iconOnly:!0,onClick:function(){return Y(!0)},secondary:!0,title:"Edit",children:(0,D.jsx)(k.I8,{size:I.bL})})]})):(0,D.jsx)(x.Z,{disabled:ne,label:ne?"Entering API key is disabled on demo":"API key",monospace:!0,onChange:function(e){return R((function(n){return L(L({},n),{},{openai_api_key:e.target.value})}))},primary:!0,setContentOnMount:!0,value:(null===F||void 0===F?void 0:F.openai_api_key)||""})]})}),(0,D.jsx)(m.Z,{mt:P.HN}),(0,D.jsxs)(s.ZP,{alignItems:"center",children:[(0,D.jsx)(l.ZP,{loading:oe,onClick:function(){ce({features:null===F||void 0===F?void 0:F.features,help_improve_mage:null===F||void 0===F?void 0:F.help_improve_mage,openai_api_key:null===F||void 0===F?void 0:F.openai_api_key,pipelines:null===F||void 0===F?void 0:F.pipelines})},primary:!0,children:"Save project settings"}),W&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(m.Z,{mr:P.cd}),(0,D.jsx)(l.ZP,{onClick:W,secondary:!0,children:w||"Cancel"})]})]})]});return O?(0,D.jsx)(_,{children:le}):le}},46568:function(e,n,t){"use strict";var i=t(82394),r=t(26304),o=(t(82684),t(33591)),c=t(28598),l=["children","fullHeight","gutter","style"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,i=e.gutter,a=e.style,s=void 0===a?{}:a,u=(0,r.Z)(e,l),p=d({},s);return i&&(p.paddingLeft=i,p.paddingRight=p.paddingLeft),t&&(p.height="100%"),(0,c.jsx)(o.Col,d(d({},u),{},{style:p,children:n}))}},82682:function(e,n,t){"use strict";var i=t(82394),r=t(26304),o=t(82684),c=t(33591),l=t(28598),a=["children","fullHeight","gutter","justifyContent","style"];function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,i=e.gutter,d=e.justifyContent,u=e.style,p=void 0===u?{}:u,f=(0,r.Z)(e,a),h=s({},p);return i&&(h.marginLeft=-1*i,h.marginRight=h.marginLeft),t&&(h.height="100%"),(0,l.jsx)(c.Row,s(s({},f),{},{justifyContent:d,style:h,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:i,key:n})}))}))}},57114:function(e,n,t){"use strict";t.d(n,{S:function(){return y},Z:function(){return Z}});var i=t(82684),r=t(15338),o=t(97618),c=t(55485),l=t(85854),a=t(65956),d=t(82394),s=t(44085),u=t(38276),p=t(30160),f=t(17488),h=t(69650),g=t(72473),m=t(8193),j=t(70515),x=t(28598);function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?v(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var y=function(e){var n,t=e.children,i=e.description,r=e.invalid,l=e.large,a=void 0===l||l,d=e.selectInput,v=e.textInput,y=e.title,Z=e.toggleSwitch,w=e.warning;return(0,x.jsx)(u.Z,{p:j.cd,children:(0,x.jsxs)(c.ZP,{alignItems:"center",children:[(0,x.jsxs)(c.ZP,{flexDirection:"column",children:[(0,x.jsxs)(p.ZP,{danger:r,default:!0,large:a,warning:w,children:[y," ",r&&(0,x.jsx)(p.ZP,{danger:!0,inline:!0,large:a,children:"is required"})]}),i&&"string"===typeof i&&(0,x.jsx)(p.ZP,{muted:!0,small:!0,children:i}),i&&"string"!==typeof i&&i]}),(0,x.jsx)(u.Z,{mr:j.cd}),(0,x.jsxs)(o.Z,{flex:1,justifyContent:"flex-end",children:[t,v&&(0,x.jsx)(f.Z,b({afterIcon:(0,x.jsx)(g.I8,{}),afterIconClick:function(e,n){var t;null===n||void 0===n||null===(t=n.current)||void 0===t||t.focus()},afterIconSize:m.Z,alignRight:!0,autoComplete:"off",large:a,noBackground:!0,noBorder:!0,fullWidth:!0,paddingHorizontal:0,paddingVertical:0,setContentOnMount:!0},v)),d&&(0,x.jsx)(s.Z,b(b({},d),{},{afterIcon:(0,x.jsx)(g._M,{}),afterIconSize:m.Z,alignRight:!0,autoComplete:"off",large:a,noBackground:!0,noBorder:!0,paddingHorizontal:0,paddingVertical:0,setContentOnMount:!0,children:null===d||void 0===d||null===(n=d.options)||void 0===n?void 0:n.map((function(e){var n=e.label,t=e.value;return(0,x.jsx)("option",{value:t,children:n||t},t)}))})),Z&&(0,x.jsx)(h.Z,{checked:!(null===Z||void 0===Z||!Z.checked),compact:!0,onCheck:null===Z||void 0===Z?void 0:Z.onCheck})]})]})})},Z=function(e){var n=e.children,t=e.description,d=e.headerChildren,s=e.title;return(0,x.jsxs)(a.Z,{noPadding:!0,children:[(0,x.jsx)(u.Z,{p:j.cd,children:(0,x.jsxs)(c.ZP,{alignItems:"center",children:[(0,x.jsxs)(o.Z,{flex:1,flexDirection:"column",children:[(0,x.jsx)(l.Z,{level:4,children:s}),t&&"string"===typeof t&&(0,x.jsx)(u.Z,{mt:1,children:(0,x.jsx)(p.ZP,{muted:!0,children:t})}),t&&"string"!==typeof t&&t]}),d]})}),i.Children.map(n,(function(e,n){return(0,x.jsxs)("div",{children:[(0,x.jsx)(r.Z,{light:!0}),e]},"".concat(s,"-").concat(n))}))]})}},8193:function(e,n,t){"use strict";t.d(n,{N:function(){return a},Z:function(){return l}});var i=t(38626),r=t(44897),o=t(42631),c=t(70515),l=2*c.iI,a=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-1ck7mzt-0"})(["border-radius:","px;padding:","px;",""],o.n_,c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).codeArea,";\n ")}))},65956:function(e,n,t){"use strict";var i=t(38626),r=t(55485),o=t(38276),c=t(30160),l=t(44897),a=t(42631),d=t(47041),s=t(70515),u=t(28598),p=(0,i.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*s.iI,1.5*s.iI,1.5*s.iI),f=i.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],a.n_,(function(e){return e.fullWidth&&"\n width: 100%;\n "}),(function(e){return!e.borderless&&"\n border: 1px solid ".concat((e.theme.interactive||l.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||l.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||l.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||l.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||l.Z.background).content,";\n ")}),(function(e){return!e.fullHeight&&"\n height: fit-content;\n "}),(function(e){return e.maxHeight&&"\n max-height: ".concat(e.maxHeight,";\n ")}),(function(e){return e.maxWidth&&"\n max-width: ".concat(e.maxWidth,"px;\n ")}),(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,"px;\n\n @media (max-width: ").concat(e.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(e){return e.borderless&&"\n border: none;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),h=i.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],a.n_,a.n_,(function(e){return"\n background-color: ".concat((e.theme.background||l.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||l.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),p,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),g=i.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*s.iI,d.w5,(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),(function(e){return e.maxHeight&&"\n max-height: calc(".concat(e.maxHeight," - ").concat(15*s.iI,"px);\n ")}),(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),m=i.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],a.M8,a.YF,1.75*s.iI);n.Z=function(e){var n=e.borderless,t=e.children,i=e.containerRef,l=e.contentContainerRef,a=e.dark,d=e.footer,s=e.fullHeight,p=void 0===s||s,j=e.fullWidth,x=void 0===j||j,v=e.header,b=e.headerHeight,y=e.headerIcon,Z=e.headerPaddingVertical,w=e.headerTitle,O=e.maxHeight,P=e.maxWidth,_=e.minWidth,k=e.noPadding,I=e.overflowVisible,C=e.subtitle,S=e.success;return(0,u.jsxs)(f,{borderless:n,dark:a,fullHeight:p,fullWidth:x,maxHeight:O,maxWidth:P,minWidth:_,overflowVisible:I,ref:i,success:S,children:[(v||w)&&(0,u.jsxs)(h,{headerPaddingVertical:Z,height:b,children:[v&&v,w&&(0,u.jsx)(r.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,u.jsxs)(r.ZP,{alignItems:"center",children:[y&&y,(0,u.jsx)(o.Z,{ml:y?1:0,children:(0,u.jsx)(c.ZP,{bold:!0,default:!0,children:w})})]})})]}),(0,u.jsxs)(g,{maxHeight:O,noPadding:k,overflowVisible:I,ref:l,children:[C&&"string"===typeof C&&(0,u.jsx)(o.Z,{mb:2,children:(0,u.jsx)(c.ZP,{default:!0,children:C})}),C&&"string"!==typeof C&&C,t]}),d&&(0,u.jsx)(m,{children:d})]})}},85854:function(e,n,t){"use strict";var i,r,o,c,l,a,d,s,u=t(82394),p=t(26304),f=t(26653),h=t(38626),g=t(33591),m=t(44897),j=t(95363),x=t(61896),v=t(30160),b=t(70515),y=t(38276),Z=t(28598),w=["children","condensed","inline","level","marketing","spacingBelow"];function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?O(Object(t),!0).forEach((function(n){(0,u.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _=(0,h.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," "," ",""],v.IH,(function(e){return e.color&&"\n color: ".concat(e.color,"\n ")}),(function(e){return e.yellow&&"\n color: ".concat((e.theme.accent||m.Z.accent).yellow,";\n ")}),(function(e){return e.center&&"\n text-align: center;\n "}),(function(e){return!e.monospace&&0===Number(e.weightStyle)&&"\n font-family: ".concat(j.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(j.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(j.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(j.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(j.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(j.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "}),(function(e){return e.strikethrough&&"\n text-decoration: line-through;\n "})),k=h.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(e){return"\n color: ".concat((e.theme.content||m.Z.content).active,";\n ")})),I=h.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],_,g.media.md(i||(i=(0,f.Z)(["\n ","\n "])),x.aQ),g.media.lg(r||(r=(0,f.Z)(["\n ","\n "])),x.aQ),g.media.xl(o||(o=(0,f.Z)(["\n ","\n "])),x.aQ)),C=h.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],_,x.MJ),S=h.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],_,g.media.xs(c||(c=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.sm(l||(l=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.md(a||(a=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.lg(d||(d=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI),g.media.xl(s||(s=(0,f.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*b.iI,7*b.iI)),H=h.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],_,x.BL),N=h.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],_),z=h.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],_),D=h.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],_),E=h.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],_,(function(e){return 1===e.level&&"\n ".concat(x.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(x.BL,"\n ")}),(function(e){return 3===e.level&&"\n font-size: 24px;\n line-height: 32px;\n "}),(function(e){return 4===e.level&&"\n font-size: 20px;\n line-height: 28px;\n "})),L=function(e){var n,t=e.children,i=e.condensed,r=e.inline,o=e.level,c=e.marketing,l=e.spacingBelow,a=(0,p.Z)(e,w);r?n=E:0===Number(o)?n=I:1===Number(o)?n=c?S:C:2===Number(o)?n=H:3===Number(o)?n=N:4===Number(o)?n=z:5===Number(o)&&(n=D);var d=(0,Z.jsxs)(n,P(P({},a),{},{level:o,children:[l&&(0,Z.jsx)(y.Z,{mb:i?2:3,children:t}),!l&&t]}));return r?d:(0,Z.jsx)(k,{children:d})};L.defaultProps={level:3,weightStyle:6},n.Z=L},61316:function(e,n,t){"use strict";t.r(n);var i=t(77837),r=t(38860),o=t.n(r),c=t(46568),l=t(55729),a=t(93808),d=t(82682),s=t(28274),u=t(38276),p=t(70515),f=t(24755),h=t(28598);function g(){return(0,h.jsx)(s.Z,{uuidItemSelected:f.HY,uuidWorkspaceSelected:f.WH,children:(0,h.jsx)(u.Z,{p:p.cd,children:(0,h.jsx)(d.Z,{justifyContent:"center",children:(0,h.jsx)(c.Z,{xl:8,xxl:6,children:(0,h.jsx)(l.Z,{})})})})})}g.getInitialProps=(0,i.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,a.Z)(g)},33323:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/preferences",function(){return t(61316)}])}},function(e){e.O(0,[2678,1154,844,4267,6990,8487,8264,8432,9774,2888,179],(function(){return n=33323,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><title>Mage</title><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-eaf492efa283766a.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/29107295-989a0767a635d9d5.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6639-74eefed142e14ea6.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/341-ef0f7b98b7f69802.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1751-5adf859690505d7b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5896-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><title>Mage</title><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-eaf492efa283766a.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/29107295-989a0767a635d9d5.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6639-74eefed142e14ea6.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/341-ef0f7b98b7f69802.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1751-5adf859690505d7b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5896-14e5a23b1c6a0769.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2714-1e79e9f2e998b544.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2631-b9f9bea3f1cf906d.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4783-1a21d9be47574bba.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4267-cb102e060a43d9bd.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6990-303bb87fc50f1755.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8264-9d6a7cea289e29ff.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5810-e26a0768db1cfdba.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1550-410bc576795e0148.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/976-18c98af60b76f1a7.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/9440-c51bf1e8f271cb25.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/block-layout-b926f6eb1ee9a53b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/GkYZIZv7ClhebnBGgTrwO/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/GkYZIZv7ClhebnBGgTrwO/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
|
|
2
2
|
*,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
|
|
3
3
|
data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
|
|
4
4
|
.kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
|
|
@@ -9,4 +9,4 @@ data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
|
|
|
9
9
|
.kOVcuR .Toastify__toast--success{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
|
|
10
10
|
.kOVcuR .Toastify__toast--warning{background:#DD9900 !important;color:#FFFFFF !important;}/*!sc*/
|
|
11
11
|
data-styled.g5[id="ToastWrapper-sc-1a33ph1-0"]{content:"kOVcuR,"}/*!sc*/
|
|
12
|
-
</style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/block-layout","query":{},"buildId":"
|
|
12
|
+
</style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/block-layout","query":{},"buildId":"GkYZIZv7ClhebnBGgTrwO","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
|