mage-ai 0.8.97__py3-none-any.whl → 0.8.99__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.

Files changed (152) hide show
  1. mage_ai/api/policies/AutocompleteItemPolicy.py +2 -1
  2. mage_ai/api/policies/BasePolicy.py +2 -2
  3. mage_ai/api/policies/BlockTemplatePolicy.py +2 -1
  4. mage_ai/api/policies/ClusterPolicy.py +2 -1
  5. mage_ai/api/policies/DataProviderPolicy.py +2 -1
  6. mage_ai/api/policies/EventRulePolicy.py +2 -1
  7. mage_ai/api/policies/ExtensionOptionPolicy.py +2 -1
  8. mage_ai/api/policies/FileVersionPolicy.py +2 -1
  9. mage_ai/api/policies/GitBranchPolicy.py +9 -0
  10. mage_ai/api/policies/KernelPolicy.py +2 -1
  11. mage_ai/api/policies/LogPolicy.py +2 -2
  12. mage_ai/api/policies/OauthPolicy.py +15 -0
  13. mage_ai/api/policies/OutputPolicy.py +2 -2
  14. mage_ai/api/policies/PipelinePolicy.py +2 -2
  15. mage_ai/api/policies/PipelineRunPolicy.py +2 -2
  16. mage_ai/api/policies/PipelineSchedulePolicy.py +2 -2
  17. mage_ai/api/policies/PullRequestPolicy.py +64 -0
  18. mage_ai/api/policies/SessionPolicy.py +4 -1
  19. mage_ai/api/policies/VariablePolicy.py +2 -2
  20. mage_ai/api/policies/WidgetPolicy.py +2 -2
  21. mage_ai/api/policies/WorkspacePolicy.py +3 -3
  22. mage_ai/api/presenters/PipelinePresenter.py +1 -0
  23. mage_ai/api/presenters/PullRequestPresenter.py +16 -0
  24. mage_ai/api/presenters/StatusPresenter.py +2 -0
  25. mage_ai/api/presenters/SyncPresenter.py +1 -0
  26. mage_ai/api/presenters/WorkspacePresenter.py +2 -0
  27. mage_ai/api/resources/GitBranchResource.py +81 -26
  28. mage_ai/api/resources/OauthResource.py +31 -4
  29. mage_ai/api/resources/PipelineResource.py +8 -1
  30. mage_ai/api/resources/PullRequestResource.py +87 -0
  31. mage_ai/api/resources/RoleResource.py +6 -3
  32. mage_ai/api/resources/SecretResource.py +2 -5
  33. mage_ai/api/resources/SessionResource.py +18 -0
  34. mage_ai/api/resources/StatusResource.py +7 -3
  35. mage_ai/api/resources/UserResource.py +11 -16
  36. mage_ai/api/resources/WorkspaceResource.py +83 -53
  37. mage_ai/authentication/oauth/active_directory.py +17 -0
  38. mage_ai/authentication/oauth/constants.py +9 -0
  39. mage_ai/authentication/oauth/utils.py +2 -1
  40. mage_ai/authentication/oauth2.py +9 -3
  41. mage_ai/cli/main.py +94 -51
  42. mage_ai/cluster_manager/kubernetes/workload_manager.py +141 -45
  43. mage_ai/data_preparation/git/__init__.py +86 -16
  44. mage_ai/data_preparation/git/api.py +175 -0
  45. mage_ai/data_preparation/models/block/dbt/utils/__init__.py +49 -14
  46. mage_ai/data_preparation/models/block/sql/__init__.py +3 -2
  47. mage_ai/data_preparation/models/pipeline.py +4 -1
  48. mage_ai/data_preparation/models/pipelines/integration_pipeline.py +7 -3
  49. mage_ai/data_preparation/preferences.py +4 -2
  50. mage_ai/data_preparation/repo_manager.py +41 -10
  51. mage_ai/data_preparation/shared/secrets.py +5 -6
  52. mage_ai/data_preparation/sync/__init__.py +2 -1
  53. mage_ai/data_preparation/sync/git_sync.py +2 -5
  54. mage_ai/data_preparation/templates/utils.py +2 -0
  55. mage_ai/orchestration/db/models/oauth.py +22 -4
  56. mage_ai/orchestration/pipeline_scheduler.py +19 -8
  57. mage_ai/orchestration/queue/process_queue.py +15 -12
  58. mage_ai/server/api/clusters.py +21 -11
  59. mage_ai/server/constants.py +1 -1
  60. mage_ai/server/frontend_dist/404.html +2 -2
  61. mage_ai/server/frontend_dist/404.html.html +2 -2
  62. mage_ai/server/frontend_dist/_next/static/WRxCTOtmZhTqQws_7OJZD/_buildManifest.js +1 -0
  63. mage_ai/server/frontend_dist/_next/static/chunks/{1286-993725c925c56a98.js → 1286-b90bd4b7f8abfc3a.js} +1 -1
  64. mage_ai/server/frontend_dist/_next/static/chunks/{1424-f475cae42f8a7fca.js → 1424-90c0f66ba2f86b88.js} +1 -1
  65. mage_ai/server/frontend_dist/_next/static/chunks/3883-c95563b9f60ae526.js +1 -0
  66. mage_ai/server/frontend_dist/_next/static/chunks/6694-c8f2a68074420906.js +1 -0
  67. mage_ai/server/frontend_dist/_next/static/chunks/{9350-1ff50f1d7b9ee754.js → 9350-5191c83a8d0cf454.js} +1 -1
  68. mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-3527178abd99bc87.js → _app-171846e16d26855a.js} +1 -1
  69. mage_ai/server/frontend_dist/_next/static/chunks/pages/files-e4e778f8f5e1bf2e.js +1 -0
  70. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-c788c1b127999825.js +1 -0
  71. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-b4650224a19e8fe6.js +1 -0
  72. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-931eb719e3fae29c.js +1 -0
  73. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-d3724bde0b186dd9.js +1 -0
  74. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-af11f9cf94024ac0.js +1 -0
  75. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-3ec5eb9562e4bff4.js → [...slug]-34326db259f922d1.js} +1 -1
  76. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-503ecb7a72257b79.js +1 -0
  77. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/{[run]-7667080098731e30.js → [run]-2994b8ab7862c07b.js} +1 -1
  78. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-7b31b851e2544b42.js +1 -0
  79. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/{[...slug]-e18058e13882b20d.js → [...slug]-4445619d4eabe065.js} +1 -1
  80. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{triggers-6854c10d5589d394.js → triggers-b7db0b682fadb840.js} +1 -1
  81. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-ee0931af3abb55b3.js +1 -0
  82. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-f8a59d718751be9a.js +1 -0
  83. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-90f8830890036eb2.js +1 -0
  84. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-9f82673fc438ea83.js +1 -0
  85. mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-a1871b8a537d823c.js +1 -0
  86. mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-48859b4e9c846212.js +1 -0
  87. mage_ai/server/frontend_dist/files.html +2 -2
  88. mage_ai/server/frontend_dist/index.html +2 -2
  89. mage_ai/server/frontend_dist/manage/settings.html +24 -0
  90. mage_ai/server/frontend_dist/manage/users/[user].html +2 -2
  91. mage_ai/server/frontend_dist/manage/users/new.html +24 -0
  92. mage_ai/server/frontend_dist/manage/users.html +2 -2
  93. mage_ai/server/frontend_dist/manage.html +2 -2
  94. mage_ai/server/frontend_dist/pipeline-runs.html +2 -2
  95. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +2 -2
  96. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +2 -2
  97. mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
  98. mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +2 -2
  99. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +2 -2
  100. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +2 -2
  101. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +2 -2
  102. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +2 -2
  103. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +2 -2
  104. mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +2 -2
  105. mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +2 -2
  106. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +2 -2
  107. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +2 -2
  108. mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
  109. mage_ai/server/frontend_dist/pipelines.html +2 -2
  110. mage_ai/server/frontend_dist/settings/account/profile.html +2 -2
  111. mage_ai/server/frontend_dist/settings/workspace/preferences.html +2 -2
  112. mage_ai/server/frontend_dist/settings/workspace/sync-data.html +2 -2
  113. mage_ai/server/frontend_dist/settings/workspace/users.html +2 -2
  114. mage_ai/server/frontend_dist/settings.html +2 -2
  115. mage_ai/server/frontend_dist/sign-in.html +2 -2
  116. mage_ai/server/frontend_dist/terminal.html +2 -2
  117. mage_ai/server/frontend_dist/test.html +2 -2
  118. mage_ai/server/frontend_dist/triggers.html +2 -2
  119. mage_ai/server/frontend_dist/version-control.html +2 -2
  120. mage_ai/server/scheduler_manager.py +7 -2
  121. mage_ai/server/server.py +37 -3
  122. mage_ai/server/terminal_server.py +2 -2
  123. mage_ai/server/websocket_server.py +6 -2
  124. mage_ai/services/newrelic/__init__.py +21 -0
  125. mage_ai/settings/__init__.py +32 -0
  126. mage_ai/shared/hash.py +2 -0
  127. mage_ai/tests/api/test_utils.py +29 -2
  128. mage_ai/tests/data_preparation/models/test_pipeline.py +5 -0
  129. {mage_ai-0.8.97.dist-info → mage_ai-0.8.99.dist-info}/METADATA +8 -3
  130. {mage_ai-0.8.97.dist-info → mage_ai-0.8.99.dist-info}/RECORD +136 -127
  131. mage_ai/data_preparation/templates/main/projects/__init__.py +0 -0
  132. mage_ai/server/frontend_dist/_next/static/YLZRSrQ0aqtl-GGePfsMB/_buildManifest.js +0 -1
  133. mage_ai/server/frontend_dist/_next/static/chunks/3077-d58f18ed770e5137.js +0 -1
  134. mage_ai/server/frontend_dist/_next/static/chunks/3714-b676173cd4d8d86c.js +0 -1
  135. mage_ai/server/frontend_dist/_next/static/chunks/pages/files-82b5409dac9564f4.js +0 -1
  136. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-bb6aaa23e92a5add.js +0 -1
  137. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-c91ee702a4cd7a6f.js +0 -1
  138. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-7961010cb0fb9abd.js +0 -1
  139. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-7b8ce89f0d717465.js +0 -1
  140. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-5bd17a8f3f3d57ef.js +0 -1
  141. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-7d75e42d5f4936bb.js +0 -1
  142. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-8220c1200472bf70.js +0 -1
  143. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-b602fa9b6ffabd12.js +0 -1
  144. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-3f9d5800f268a263.js +0 -1
  145. mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-2925c2c1b0c5559a.js +0 -1
  146. mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-5ffc663cfb0ec81e.js +0 -1
  147. /mage_ai/server/frontend_dist/_next/static/{YLZRSrQ0aqtl-GGePfsMB → WRxCTOtmZhTqQws_7OJZD}/_middlewareManifest.js +0 -0
  148. /mage_ai/server/frontend_dist/_next/static/{YLZRSrQ0aqtl-GGePfsMB → WRxCTOtmZhTqQws_7OJZD}/_ssgManifest.js +0 -0
  149. {mage_ai-0.8.97.dist-info → mage_ai-0.8.99.dist-info}/LICENSE +0 -0
  150. {mage_ai-0.8.97.dist-info → mage_ai-0.8.99.dist-info}/WHEEL +0 -0
  151. {mage_ai-0.8.97.dist-info → mage_ai-0.8.99.dist-info}/entry_points.txt +0 -0
  152. {mage_ai-0.8.97.dist-info → mage_ai-0.8.99.dist-info}/top_level.txt +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3853],{1210:function(e,n,t){"use strict";t.d(n,{Z:function(){return P}});var r=t(82394),i=t(21831),o=t(82684),c=t(47999),u=t(49894),l=t(93461),a=t(57384),s=t(41424),d=t(72454),f=t(28598);function h(e,n){var t=e.children;return(0,f.jsx)(d.HS,{ref:n,children:t})}var p=o.forwardRef(h),g=t(32063),m=t(85019),b=t(82531),j=t(66166),y=t(3055),v=t(49125),x=t(91427),w=t(24141);function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Z(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,r.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 P=function(e){var n,t=e.after,r=e.afterHidden,h=e.afterWidth,O=e.afterWidthOverride,P=e.before,k=e.beforeWidth,_=e.breadcrumbs,I=e.children,S=e.errors,H=e.headerMenuItems,C=e.headerOffset,N=e.mainContainerHeader,W=e.navigationItems,D=e.setErrors,E=e.subheaderChildren,z=e.title,M=e.uuid,A=(0,w.i)().width,B="dashboard_after_width_".concat(M),R="dashboard_before_width_".concat(M),L=(0,o.useRef)(null),V=(0,o.useState)(O?h:(0,x.U2)(B,h)),T=V[0],U=V[1],F=(0,o.useState)(!1),Y=F[0],Q=F[1],X=(0,o.useState)(P?Math.max((0,x.U2)(R,k),13*v.iI):null),G=X[0],J=X[1],q=(0,o.useState)(!1),K=q[0],$=q[1],ee=(0,o.useState)(null)[1],ne=b.ZP.projects.list({},{revalidateOnFocus:!1}).data,te=null===ne||void 0===ne?void 0:ne.projects,re=[];_?re.push.apply(re,(0,i.Z)(_)):(null===te||void 0===te?void 0:te.length)>=1&&re.push.apply(re,[{label:function(){var e;return null===(e=te[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},{bold:!0,label:function(){return z}}]),(0,o.useEffect)((function(){null===L||void 0===L||!L.current||Y||K||null===ee||void 0===ee||ee(L.current.getBoundingClientRect().width)}),[Y,T,K,G,L,ee,A]),(0,o.useEffect)((function(){Y||(0,x.t8)(B,T)}),[r,Y,T,B]),(0,o.useEffect)((function(){K||(0,x.t8)(R,G)}),[K,G,R]);var ie=(0,j.Z)(h);return(0,o.useEffect)((function(){O&&ie!==h&&U(h)}),[O,h,ie]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(a.Z,{title:z}),(0,f.jsx)(s.Z,{breadcrumbs:re,menuItems:H,project:null===te||void 0===te?void 0:te[0],version:null===te||void 0===te||null===(n=te[0])||void 0===n?void 0:n.version}),(0,f.jsxs)(d.Nk,{children:[0!==(null===W||void 0===W?void 0:W.length)&&(0,f.jsx)(d.lm,{showMore:!0,children:(0,f.jsx)(m.Z,{navigationItems:W,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(g.Z,{after:t,afterHeightOffset:y.Mz,afterHidden:r,afterMousedownActive:Y,afterWidth:T,before:P,beforeHeightOffset:y.Mz,beforeMousedownActive:K,beforeWidth:d.k1+(P?G:0),headerOffset:C,hideAfterCompletely:!0,leftOffset:P?d.k1:null,mainContainerHeader:N,mainContainerRef:L,setAfterMousedownActive:Q,setAfterWidth:U,setBeforeMousedownActive:$,setBeforeWidth:J,children:[E&&(0,f.jsx)(p,{children:E}),I]})})]}),S&&(0,f.jsx)(c.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===D||void 0===D?void 0:D(null)},children:(0,f.jsx)(u.Z,Z(Z({},S),{},{onClose:function(){return null===D||void 0===D?void 0:D(null)}}))})]})}},2850:function(e,n,t){"use strict";t.d(n,{M:function(){return c},W:function(){return o}});var r=t(38626),i=t(3055),o=34*t(49125).iI,c=r.default.div.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-12ee2ib-0"})(["min-height:calc(100vh - ","px);"],i.Mz)},79585:function(e,n,t){"use strict";t.d(n,{DQ:function(){return s},HY:function(){return c},SA:function(){return d},WH:function(){return o},eC:function(){return l},fF:function(){return u},tC:function(){return a}});var r=t(81132),i=t(9736),o="Workspace",c="Preferences",u="Git settings",l="Users",a="Account",s="Profile",d=function(e){var n=e.owner,t=e.roles,d=e.project_access,f=[{linkProps:{href:"/settings/workspace/preferences"},uuid:c}];(n||t===r.No.ADMIN||0!==(2&d))&&f.push({linkProps:{href:"/settings/workspace/users"},uuid:l}),(!(0,i.YB)()||t<=r.No.EDITOR)&&f.push({linkProps:{href:"/settings/workspace/sync-data"},uuid:u});var h=[{items:f,uuid:o}];return(0,i.YB)()?h.concat([{items:[{linkProps:{href:"/settings/account/profile"},uuid:s}],uuid:a}]):h}},30775:function(e,n,t){"use strict";t.d(n,{Z:function(){return Z}});var r=t(1210),i=t(82394),o=t(12691),c=t.n(o),u=t(10919),l=t(86673),a=t(19711),s=t(38626),d=t(23831),f=t(49125),h=t(90880),p=(f.iI,s.default.div.withConfig({displayName:"indexstyle__SectionTitleStyle",componentId:"sc-1y8dyue-0"})(["padding:","px ","px;"],1*f.iI,2.5*f.iI)),g=s.default.div.withConfig({displayName:"indexstyle__ItemStyle",componentId:"sc-1y8dyue-1"})([""," padding:","px ","px;"," ",""],(0,h.eR)(),1.5*f.iI,2.5*f.iI,(function(e){return!e.selected&&"\n &:hover {\n background-color: ".concat((e.theme.background||d.Z.background).codeArea,";\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.background||d.Z.background).codeTextarea,";\n ")})),m=t(28598),b=t(82684);function j(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?j(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):j(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=function(e){var n=e.isItemSelected,t=e.sections;return(0,m.jsx)(l.Z,{py:f.Gg,children:null===t||void 0===t?void 0:t.map((function(e){var t=e.items,r=e.title,i=e.uuid;return(0,m.jsxs)(l.Z,{children:[(0,m.jsx)(p,{children:(0,m.jsx)(a.ZP,{bold:!0,muted:!0,small:!0,uppercase:!0,children:r?r():i})}),null===t||void 0===t?void 0:t.map((function(e){var t=e.label,r=e.linkProps,o=e.onClick,l=e.uuid,a=t?t():l,s=(0,m.jsx)(g,{selected:null===n||void 0===n?void 0:n(y(y({},e),{},{uuidWorkspace:i})),children:a});return r?(0,b.createElement)(c(),y(y({},r),{},{key:l,passHref:!0}),(0,m.jsx)(u.Z,{block:!0,noHoverUnderline:!0,noOutline:!0,sameColorAsText:!0,children:s})):(0,m.jsx)(u.Z,{block:!0,noHoverUnderline:!0,noOutline:!0,onClick:o,preventDefault:!0,sameColorAsText:!0,children:s},l)}))]},i)}))})},x=t(2850),w=t(79585),O=t(9736);var Z=function(e){var n=e.after,t=e.afterHidden,i=e.children,o=e.uuidItemSelected,c=e.uuidWorkspaceSelected,u=(0,O.PR)()||{};return(0,m.jsx)(r.Z,{after:n,afterHidden:!n||t,afterWidth:n?50*f.iI:0,afterWidthOverride:!0,before:(0,m.jsx)(x.M,{children:(0,m.jsx)(v,{isItemSelected:function(e){var n=e.uuid,t=e.uuidWorkspace;return c===t&&o===n},sections:(0,w.SA)(u)})}),beforeWidth:x.W,title:"Settings",uuid:"settings/index",children:i})}},76096:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=(t(82684),t(33591)),c=t(28598),u=["children","fullHeight","gutter","style"];function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(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,r=e.gutter,l=e.style,s=void 0===l?{}:l,d=(0,i.Z)(e,u),f=a({},s);return r&&(f.paddingLeft=r,f.paddingRight=f.paddingLeft),t&&(f.height="100%"),(0,c.jsx)(o.Col,a(a({},d),{},{style:f,children:n}))}},97361:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=t(82684),c=t(33591),u=t(28598),l=["children","fullHeight","gutter","justifyContent","style"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function s(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,r.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,r=e.gutter,a=e.justifyContent,d=e.style,f=void 0===d?{}:d,h=(0,i.Z)(e,l),p=s({},f);return r&&(p.marginLeft=-1*r,p.marginRight=p.marginLeft),t&&(p.height="100%"),(0,u.jsx)(c.Row,s(s({},h),{},{justifyContent:a,style:p,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:r,key:n})}))}))}},29237:function(e,n,t){"use strict";var r=t(38626),i=t(67971),o=t(86673),c=t(19711),u=t(23831),l=t(73942),a=t(37391),s=t(49125),d=t(28598),f=(0,r.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*s.iI,1.5*s.iI,1.5*s.iI),h=r.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],l.n_,(function(e){return e.fullWidth&&"\n width: 100%;\n "}),(function(e){return!e.borderless&&"\n border: 1px solid ".concat((e.theme.interactive||u.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||u.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||u.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||u.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||u.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 "})),p=r.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(e){return"\n background-color: ".concat((e.theme.background||u.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||u.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),f,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),g=r.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*s.iI,a.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=r.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],l.M8,l.YF,1.75*s.iI);n.Z=function(e){var n=e.borderless,t=e.children,r=e.containerRef,u=e.contentContainerRef,l=e.dark,a=e.footer,s=e.fullHeight,f=void 0===s||s,b=e.fullWidth,j=void 0===b||b,y=e.header,v=e.headerHeight,x=e.headerIcon,w=e.headerPaddingVertical,O=e.headerTitle,Z=e.maxHeight,P=e.maxWidth,k=e.minWidth,_=e.noPadding,I=e.overflowVisible,S=e.subtitle,H=e.success;return(0,d.jsxs)(h,{borderless:n,dark:l,fullHeight:f,fullWidth:j,maxHeight:Z,maxWidth:P,minWidth:k,overflowVisible:I,ref:r,success:H,children:[(y||O)&&(0,d.jsxs)(p,{headerPaddingVertical:w,height:v,children:[y&&y,O&&(0,d.jsx)(i.Z,{alignItems:"center",justifyContent:"space-between",children:(0,d.jsxs)(i.Z,{alignItems:"center",children:[x&&x,(0,d.jsx)(o.Z,{ml:x?1:0,children:(0,d.jsx)(c.ZP,{bold:!0,default:!0,children:O})})]})})]}),(0,d.jsxs)(g,{maxHeight:Z,noPadding:_,overflowVisible:I,ref:u,children:[S&&(0,d.jsx)(o.Z,{mb:2,children:(0,d.jsx)(c.ZP,{default:!0,children:S})}),t]}),a&&(0,d.jsx)(m,{children:a})]})}},87372:function(e,n,t){"use strict";var r,i,o,c,u,l,a,s,d=t(82394),f=t(26304),h=t(26653),p=t(38626),g=t(33591),m=t(23831),b=t(2005),j=t(31012),y=t(19711),v=t(49125),x=t(86673),w=t(28598),O=["children","condensed","inline","level","marketing","spacingBelow"];function Z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var k=(0,p.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," ",""],y.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(b.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(b.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(b.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(b.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(b.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "})),_=p.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=p.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],k,g.media.md(r||(r=(0,h.Z)(["\n ","\n "])),j.aQ),g.media.lg(i||(i=(0,h.Z)(["\n ","\n "])),j.aQ),g.media.xl(o||(o=(0,h.Z)(["\n ","\n "])),j.aQ)),S=p.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],k,j.MJ),H=p.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],k,g.media.xs(c||(c=(0,h.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.sm(u||(u=(0,h.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.md(l||(l=(0,h.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.lg(a||(a=(0,h.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.xl(s||(s=(0,h.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI)),C=p.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],k,j.BL),N=p.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],k),W=p.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],k),D=p.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],k),E=p.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],k,(function(e){return 1===e.level&&"\n ".concat(j.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(j.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 "})),z=function(e){var n,t=e.children,r=e.condensed,i=e.inline,o=e.level,c=e.marketing,u=e.spacingBelow,l=(0,f.Z)(e,O);i?n=E:0===Number(o)?n=I:1===Number(o)?n=c?H:S:2===Number(o)?n=C:3===Number(o)?n=N:4===Number(o)?n=W:5===Number(o)&&(n=D);var a=(0,w.jsxs)(n,P(P({},l),{},{level:o,children:[u&&(0,w.jsx)(x.Z,{mb:r?2:3,children:t}),!u&&t]}));return i?a:(0,w.jsx)(_,{children:a})};z.defaultProps={level:3,weightStyle:6},n.Z=z},42949:function(e,n,t){"use strict";t.r(n);var r=t(77837),i=t(75582),o=t(38860),c=t.n(o),u=t(82684),l=t(83455),a=t(38341),s=t(76096),d=t(34744),f=t(93461),h=t(67971),p=t(87372),g=t(10919),m=t(29237),b=t(41788),j=t(97361),y=t(30775),v=t(86673),x=t(54283),w=t(19711),O=t(70902),Z=t(82531),P=t(11366),k=t(49125),_=t(79585),I=t(91427),S=t(96510),H=t(9728),C=t(28598);function N(){var e=(0,u.useState)(!!(0,I.U2)(P.kY)),n=e[0],t=e[1],r=(0,H.VI)(null,{},[],{uuid:"settings/workspace/preferences"}),o=(0,i.Z)(r,1)[0],c=Z.ZP.projects.list(),b=c.data,N=c.mutate,W=(0,u.useMemo)((function(){var e;return null===b||void 0===b||null===(e=b.projects)||void 0===e?void 0:e[0]}),[b])||{},D=W.help_improve_mage,E=W.name,z=W.project_uuid,M=(0,l.Db)(Z.ZP.projects.useUpdate(E),{onSuccess:function(e){return(0,S.wD)(e,{callback:function(){N()},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),A=(0,i.Z)(M,2),B=A[0],R=A[1].isLoading,L=(0,u.useCallback)((function(e){return B({project:e})}),[B]);return(0,C.jsx)(y.Z,{uuidItemSelected:_.HY,uuidWorkspaceSelected:_.WH,children:(0,C.jsx)(v.Z,{p:k.cd,children:(0,C.jsx)(j.Z,{justifyContent:"center",children:(0,C.jsx)(s.Z,{xl:8,xxl:6,children:(0,C.jsxs)(m.Z,{noPadding:!0,children:[(0,C.jsxs)(v.Z,{p:k.cd,children:[(0,C.jsx)(v.Z,{mb:1,children:(0,C.jsx)(p.Z,{level:5,children:"Project name"})}),(0,C.jsx)(w.ZP,{default:!0,monospace:!0,children:E})]}),(0,C.jsx)(d.Z,{light:!0}),(0,C.jsxs)(v.Z,{p:k.cd,children:[(0,C.jsx)(v.Z,{mb:1,children:(0,C.jsx)(p.Z,{level:5,children:"Project UUID"})}),(0,C.jsx)(w.ZP,{default:!!z,monospace:!0,muted:!z,children:z||"Not required"})]}),(0,C.jsx)(d.Z,{light:!0}),(0,C.jsx)(v.Z,{p:k.cd,children:(0,C.jsxs)(h.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,C.jsxs)(f.Z,{flexDirection:"column",children:[(0,C.jsx)(v.Z,{mb:1,children:(0,C.jsx)(p.Z,{level:5,children:"Help improve Mage"})}),(0,C.jsxs)(w.ZP,{default:!0,children:["Please contribute usage statistics to help improve the developer experience for you and everyone in the community. Learn more ",(0,C.jsx)(g.Z,{href:"https://docs.mage.ai/contributing/statistics/overview",openNewWindow:!0,children:"here"}),"."]})]}),(0,C.jsx)(v.Z,{mr:k.cd}),(0,C.jsx)(O.Z,{checked:D,onCheck:function(){L({help_improve_mage:!D})}})]})}),(0,C.jsx)(d.Z,{light:!0}),(0,C.jsxs)(v.Z,{p:k.cd,children:[(0,C.jsx)(v.Z,{mb:1,children:(0,C.jsx)(p.Z,{level:5,children:"Automatically generate block names"})}),(0,C.jsx)(h.Z,{alignItems:"center",children:(0,C.jsx)(a.Z,{checked:n,label:"Use randomly generated names for blocks created in the future",onClick:function(){t(!n),(0,I.t8)(P.kY,!n)}})})]}),R&&(0,C.jsx)(v.Z,{p:k.cd,children:(0,C.jsx)(x.Z,{inverted:!0})})]})})})})})}N.getInitialProps=(0,r.Z)(c().mark((function e(){return c().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,b.Z)(N)},11366:function(e,n,t){"use strict";t.d(n,{H8:function(){return i},g6:function(){return o},kY:function(){return r}});var r="automatically_name_blocks",i="pipeline_edit_before_tab_selected",o="pipeline_edit_hidden_blocks"},33323:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/preferences",function(){return t(42949)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},99177:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}function i(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&r(e,n)}t.d(n,{Z:function(){return i}})},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(12539),i=t(80022);function o(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}}},function(e){e.O(0,[844,1424,1005,9774,2888,179],(function(){return n=33323,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{1210:function(e,n,t){"use strict";t.d(n,{Z:function(){return O}});var r=t(82394),i=t(21831),o=t(82684),c=t(47999),s=t(49894),l=t(93461),u=t(57384),a=t(41424),d=t(72454),f=t(28598);function p(e,n){var t=e.children;return(0,f.jsx)(d.HS,{ref:n,children:t})}var h=o.forwardRef(p),m=t(32063),y=t(85019),b=t(82531),v=t(66166),g=t(3055),j=t(49125),x=t(91427),Z=t(24141);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var O=function(e){var n,t=e.after,r=e.afterHidden,p=e.afterWidth,w=e.afterWidthOverride,O=e.before,S=e.beforeWidth,k=e.breadcrumbs,P=e.children,C=e.errors,I=e.headerMenuItems,H=e.headerOffset,N=e.mainContainerHeader,M=e.navigationItems,D=e.setErrors,T=e.subheaderChildren,E=e.title,z=e.uuid,A=(0,Z.i)().width,W="dashboard_after_width_".concat(z),q="dashboard_before_width_".concat(z),R=(0,o.useRef)(null),B=(0,o.useState)(w?p:(0,x.U2)(W,p)),F=B[0],G=B[1],U=(0,o.useState)(!1),L=U[0],Y=U[1],Q=(0,o.useState)(O?Math.max((0,x.U2)(q,S),13*j.iI):null),X=Q[0],J=Q[1],K=(0,o.useState)(!1),V=K[0],$=K[1],ee=(0,o.useState)(null)[1],ne=b.ZP.projects.list({},{revalidateOnFocus:!1}).data,te=null===ne||void 0===ne?void 0:ne.projects,re=[];k?re.push.apply(re,(0,i.Z)(k)):(null===te||void 0===te?void 0:te.length)>=1&&re.push.apply(re,[{label:function(){var e;return null===(e=te[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},{bold:!0,label:function(){return E}}]),(0,o.useEffect)((function(){null===R||void 0===R||!R.current||L||V||null===ee||void 0===ee||ee(R.current.getBoundingClientRect().width)}),[L,F,V,X,R,ee,A]),(0,o.useEffect)((function(){L||(0,x.t8)(W,F)}),[r,L,F,W]),(0,o.useEffect)((function(){V||(0,x.t8)(q,X)}),[V,X,q]);var ie=(0,v.Z)(p);return(0,o.useEffect)((function(){w&&ie!==p&&G(p)}),[w,p,ie]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(u.Z,{title:E}),(0,f.jsx)(a.Z,{breadcrumbs:re,menuItems:I,project:null===te||void 0===te?void 0:te[0],version:null===te||void 0===te||null===(n=te[0])||void 0===n?void 0:n.version}),(0,f.jsxs)(d.Nk,{children:[0!==(null===M||void 0===M?void 0:M.length)&&(0,f.jsx)(d.lm,{showMore:!0,children:(0,f.jsx)(y.Z,{navigationItems:M,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(m.Z,{after:t,afterHeightOffset:g.Mz,afterHidden:r,afterMousedownActive:L,afterWidth:F,before:O,beforeHeightOffset:g.Mz,beforeMousedownActive:V,beforeWidth:d.k1+(O?X:0),headerOffset:H,hideAfterCompletely:!0,leftOffset:O?d.k1:null,mainContainerHeader:N,mainContainerRef:R,setAfterMousedownActive:Y,setAfterWidth:G,setBeforeMousedownActive:$,setBeforeWidth:J,children:[T&&(0,f.jsx)(h,{children:T}),P]})})]}),C&&(0,f.jsx)(c.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===D||void 0===D?void 0:D(null)},children:(0,f.jsx)(s.Z,_(_({},C),{},{onClose:function(){return null===D||void 0===D?void 0:D(null)}}))})]})}},2850:function(e,n,t){"use strict";t.d(n,{M:function(){return c},W:function(){return o}});var r=t(38626),i=t(3055),o=34*t(49125).iI,c=r.default.div.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-12ee2ib-0"})(["min-height:calc(100vh - ","px);"],i.Mz)},79585:function(e,n,t){"use strict";t.d(n,{DQ:function(){return a},HY:function(){return c},SA:function(){return d},WH:function(){return o},eC:function(){return l},fF:function(){return s},tC:function(){return u}});var r=t(81132),i=t(9736),o="Workspace",c="Preferences",s="Git settings",l="Users",u="Account",a="Profile",d=function(e){var n=e.owner,t=e.roles,d=e.project_access,f=[{linkProps:{href:"/settings/workspace/preferences"},uuid:c}];(n||t===r.No.ADMIN||0!==(2&d))&&f.push({linkProps:{href:"/settings/workspace/users"},uuid:l}),(!(0,i.YB)()||t<=r.No.EDITOR)&&f.push({linkProps:{href:"/settings/workspace/sync-data"},uuid:s});var p=[{items:f,uuid:o}];return(0,i.YB)()?p.concat([{items:[{linkProps:{href:"/settings/account/profile"},uuid:a}],uuid:u}]):p}},30775:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(1210),i=t(82394),o=t(12691),c=t.n(o),s=t(10919),l=t(86673),u=t(19711),a=t(38626),d=t(23831),f=t(49125),p=t(90880),h=(f.iI,a.default.div.withConfig({displayName:"indexstyle__SectionTitleStyle",componentId:"sc-1y8dyue-0"})(["padding:","px ","px;"],1*f.iI,2.5*f.iI)),m=a.default.div.withConfig({displayName:"indexstyle__ItemStyle",componentId:"sc-1y8dyue-1"})([""," padding:","px ","px;"," ",""],(0,p.eR)(),1.5*f.iI,2.5*f.iI,(function(e){return!e.selected&&"\n &:hover {\n background-color: ".concat((e.theme.background||d.Z.background).codeArea,";\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.background||d.Z.background).codeTextarea,";\n ")})),y=t(28598),b=t(82684);function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function g(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,i.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 j=function(e){var n=e.isItemSelected,t=e.sections;return(0,y.jsx)(l.Z,{py:f.Gg,children:null===t||void 0===t?void 0:t.map((function(e){var t=e.items,r=e.title,i=e.uuid;return(0,y.jsxs)(l.Z,{children:[(0,y.jsx)(h,{children:(0,y.jsx)(u.ZP,{bold:!0,muted:!0,small:!0,uppercase:!0,children:r?r():i})}),null===t||void 0===t?void 0:t.map((function(e){var t=e.label,r=e.linkProps,o=e.onClick,l=e.uuid,u=t?t():l,a=(0,y.jsx)(m,{selected:null===n||void 0===n?void 0:n(g(g({},e),{},{uuidWorkspace:i})),children:u});return r?(0,b.createElement)(c(),g(g({},r),{},{key:l,passHref:!0}),(0,y.jsx)(s.Z,{block:!0,noHoverUnderline:!0,noOutline:!0,sameColorAsText:!0,children:a})):(0,y.jsx)(s.Z,{block:!0,noHoverUnderline:!0,noOutline:!0,onClick:o,preventDefault:!0,sameColorAsText:!0,children:a},l)}))]},i)}))})},x=t(2850),Z=t(79585),w=t(9736);var _=function(e){var n=e.after,t=e.afterHidden,i=e.children,o=e.uuidItemSelected,c=e.uuidWorkspaceSelected,s=(0,w.PR)()||{};return(0,y.jsx)(r.Z,{after:n,afterHidden:!n||t,afterWidth:n?50*f.iI:0,afterWidthOverride:!0,before:(0,y.jsx)(x.M,{children:(0,y.jsx)(j,{isItemSelected:function(e){var n=e.uuid,t=e.uuidWorkspace;return c===t&&o===n},sections:(0,Z.SA)(s)})}),beforeWidth:x.W,title:"Settings",uuid:"settings/index",children:i})}},87372:function(e,n,t){"use strict";var r,i,o,c,s,l,u,a,d=t(82394),f=t(26304),p=t(26653),h=t(38626),m=t(33591),y=t(23831),b=t(2005),v=t(31012),g=t(19711),j=t(49125),x=t(86673),Z=t(28598),w=["children","condensed","inline","level","marketing","spacingBelow"];function _(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=(0,h.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," ",""],g.IH,(function(e){return e.color&&"\n color: ".concat(e.color,"\n ")}),(function(e){return e.yellow&&"\n color: ".concat((e.theme.accent||y.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(b.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(b.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(b.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(b.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(b.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "})),k=h.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(e){return"\n color: ".concat((e.theme.content||y.Z.content).active,";\n ")})),P=h.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],S,m.media.md(r||(r=(0,p.Z)(["\n ","\n "])),v.aQ),m.media.lg(i||(i=(0,p.Z)(["\n ","\n "])),v.aQ),m.media.xl(o||(o=(0,p.Z)(["\n ","\n "])),v.aQ)),C=h.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],S,v.MJ),I=h.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],S,m.media.xs(c||(c=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*j.iI,7*j.iI),m.media.sm(s||(s=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*j.iI,7*j.iI),m.media.md(l||(l=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*j.iI,7*j.iI),m.media.lg(u||(u=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*j.iI,7*j.iI),m.media.xl(a||(a=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*j.iI,7*j.iI)),H=h.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],S,v.BL),N=h.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],S),M=h.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],S),D=h.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],S),T=h.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],S,(function(e){return 1===e.level&&"\n ".concat(v.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(v.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 "})),E=function(e){var n,t=e.children,r=e.condensed,i=e.inline,o=e.level,c=e.marketing,s=e.spacingBelow,l=(0,f.Z)(e,w);i?n=T:0===Number(o)?n=P:1===Number(o)?n=c?I:C:2===Number(o)?n=H:3===Number(o)?n=N:4===Number(o)?n=M:5===Number(o)&&(n=D);var u=(0,Z.jsxs)(n,O(O({},l),{},{level:o,children:[s&&(0,Z.jsx)(x.Z,{mb:r?2:3,children:t}),!s&&t]}));return i?u:(0,Z.jsx)(k,{children:u})};E.defaultProps={level:3,weightStyle:6},n.Z=E},10831:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return T}});var r,i=t(77837),o=t(82394),c=t(75582),s=t(38860),l=t.n(s),u=t(82684),a=t(21764),d=t(83455),f=t(60328),p=t(38341),h=t(67971),m=t(87372),y=t(10919),b=t(41788),v=t(55378),g=t(30775),j=t(86673);!function(e){e.SSH="ssh",e.HTTPS="https"}(r||(r={}));var x=[{autoComplete:"remote_repo_link",label:"Remote repo url",required:!0,uuid:"remote_repo_link"},{autoComplete:"repo_path",label:"Local directory path",labelDescription:"Defaults to Python's os.getcwd() if omitted. Mage will create this local directory if it doesn't already exist.",uuid:"repo_path"}],Z=[{autoComplete:"username",label:"Username",uuid:"username"},{autoComplete:"email",label:"Email",uuid:"email"},{autoComplete:"ssh_public_key",label:"SSH public key in base64",labelDescription:'Run "cat ~/.ssh/id_rsa.pub | base64 | tr -d \\\\n && echo" in terminal to get base64 encoded public key and paste the result here. The key will be stored as a Mage secret.',type:"password",uuid:"ssh_public_key"},{autoComplete:"ssh_private_key",label:"SSH private key in base64",labelDescription:'Follow same steps as the public key, but run "cat ~/.ssh/id_rsa | base64 | tr -d \\\\n && echo" instead. The key will be stored as a Mage secret.',type:"password",uuid:"ssh_private_key"}],w=[{autoComplete:"username",label:"Username",required:!0,uuid:"username"},{autoComplete:"email",label:"Email",required:!0,uuid:"email"},{autoComplete:"access_token",label:"Access token",labelDescription:"Add your Git access token to authenticate with your provided username. The access token will be stored as a Mage secret.",required:!0,type:"password",uuid:"access_token"}],_=[{autoComplete:"branch",label:"Branch name",required:!0,uuid:"branch"}],O=t(19711),S=t(82944),k=t(82531),P=t(49125),C=t(79585),I=t(96510),H=t(28598);function N(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function M(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?N(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):N(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function D(){var e=k.ZP.syncs.list().data,n=(0,u.useState)(null),t=n[0],i=n[1],s=(0,u.useState)(null),l=s[0],b=s[1],N=(0,u.useState)(null),D=N[0],T=N[1],E=(0,u.useState)(null),z=E[0],A=E[1];(0,u.useEffect)((function(){if(e){var n,t=null===e||void 0===e||null===(n=e.syncs)||void 0===n?void 0:n[0];b(null===t||void 0===t?void 0:t.user_git_settings),i(t),A(!(null===t||void 0===t||!t.branch))}}),[e]);var W=(0,d.Db)(k.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,I.wD)(e,{callback:function(e){var n=e.sync;n&&(i(n),window.location.reload(),a.Am.success("Sync saved",{position:a.Am.POSITION.BOTTOM_RIGHT,toastId:"data_sync_success"}))},onErrorCallback:function(e){var n=e.error.exception;return T(n)}})}}),q=(0,c.Z)(W,2),R=q[0],B=q[1].isLoading,F=(0,d.Db)(k.ZP.syncs.useUpdate("git"),{onSuccess:function(e){return(0,I.wD)(e,{callback:function(e){e.sync&&a.Am.success("Success!",{position:a.Am.POSITION.BOTTOM_RIGHT,toastId:"data_sync_success"})},onErrorCallback:function(e){var n=e.error.exception;return T(n)}})}}),G=(0,c.Z)(F,2),U=G[0],L=G[1].isLoading,Y=(0,u.useMemo)((function(){return(null===t||void 0===t?void 0:t.auth_type)||r.SSH}),[null===t||void 0===t?void 0:t.auth_type]),Q=(0,u.useMemo)((function(){return Y===r.HTTPS?w:Z}),[Y]),X=k.ZP.statuses.list().data,J=(0,u.useMemo)((function(){var e,n;return null===X||void 0===X||null===(e=X.statuses)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.require_user_authentication}),[X]),K=(0,u.useMemo)((function(){var e=i,n=t;return J&&(e=b,n=l),(0,H.jsx)("form",{children:Q.map((function(t){var r,i=t.autoComplete,c=t.disabled,s=t.label,l=t.labelDescription,u=t.required,a=t.type,d=t.uuid;return(0,H.jsxs)(j.Z,{mt:2,children:[l&&(0,H.jsx)(j.Z,{mb:1,children:(0,H.jsx)(O.ZP,{small:!0,children:l})}),(0,H.jsx)(S.Z,{autoComplete:i,disabled:c,label:s,onChange:function(n){e((function(e){return M(M({},e),{},(0,o.Z)({},d,n.target.value))}))},primary:!0,required:u,setContentOnMount:!0,type:a,value:(null===(r=n)||void 0===r?void 0:r[d])||""})]},d)}))})}),[Q,J,b,i,t,l]);return(0,H.jsx)(g.Z,{uuidItemSelected:C.fF,uuidWorkspaceSelected:C.WH,children:(0,H.jsxs)(j.Z,{p:P.cd,style:{width:"600px"},children:[(0,H.jsx)(m.Z,{children:"Git repository settings"}),(0,H.jsx)(j.Z,{mt:1,children:(0,H.jsx)(O.ZP,{bold:!0,children:"Authentication type"})}),(0,H.jsx)(j.Z,{mt:1,children:(0,H.jsx)(v.Z,{compact:!0,label:"Authentication type",onChange:function(e){var n=e.target.value;i((function(e){return M(M({},e),{},{auth_type:n})}))},value:Y,children:Object.entries(r).map((function(e){var n=(0,c.Z)(e,2),t=n[0],r=n[1];return(0,H.jsx)("option",{value:r,children:t},r)}))})}),(0,H.jsx)(j.Z,{mt:P.Mq,children:Y===r.SSH&&(0,H.jsxs)(O.ZP,{bold:!0,children:["You will need to ",(0,H.jsx)(y.Z,{href:"https://docs.mage.ai/developing-in-the-cloud/setting-up-git",openNewWindow:!0,children:"set up your SSH key"})," if you have not done so already."]})}),(0,H.jsx)("form",{children:x.map((function(e){var n=e.autoComplete,r=e.disabled,c=e.label,s=e.labelDescription,l=e.required,u=e.type,a=e.uuid;return(0,H.jsxs)(j.Z,{mt:2,children:[s&&(0,H.jsx)(j.Z,{mb:1,children:(0,H.jsx)(O.ZP,{small:!0,children:s})}),(0,H.jsx)(S.Z,{autoComplete:n,disabled:r,label:c,onChange:function(e){i((function(n){return M(M({},n),{},(0,o.Z)({},a,e.target.value))}))},primary:!0,required:l,setContentOnMount:!0,type:u,value:(null===t||void 0===t?void 0:t[a])||""})]},a)}))}),(0,H.jsx)(j.Z,{mt:P.Mq,children:(0,H.jsxs)(h.Z,{alignItems:"center",children:[(0,H.jsx)(j.Z,{mr:1,children:(0,H.jsx)(p.Z,{checked:!!z,onClick:function(){return A((function(e){var n=!e;return n||i((function(e){return M(M({},e),{},{branch:null,sync_on_pipeline_run:!1,sync_on_start:!1})})),n}))}})}),(0,H.jsxs)(O.ZP,{bold:!0,children:["Use ",(0,H.jsx)(y.Z,{bold:!0,href:"https://docs.mage.ai/production/data-sync/git#git-sync",openNewWindow:!0,children:"Git Sync"})," (Click link for more information)"]})]})}),z?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(j.Z,{mt:P.Mq,children:(0,H.jsx)(O.ZP,{bold:!0,children:"Sync with a specified branch. These settings will be saved at the project level."})}),(0,H.jsx)("form",{children:_.map((function(e){var n=e.autoComplete,r=e.disabled,c=e.label,s=e.required,l=e.type,u=e.uuid;return(0,H.jsx)(j.Z,{mt:2,children:(0,H.jsx)(S.Z,{autoComplete:n,disabled:r,label:c,onChange:function(e){i((function(n){return M(M({},n),{},(0,o.Z)({},u,e.target.value))}))},primary:!0,required:s,setContentOnMount:!0,type:l,value:(null===t||void 0===t?void 0:t[u])||""})},u)}))}),(0,H.jsx)(h.Z,{alignItems:"center",children:(0,H.jsx)(j.Z,{mt:2,children:(0,H.jsx)(p.Z,{checked:null===t||void 0===t?void 0:t.sync_on_pipeline_run,label:"Sync before each trigger run",onClick:function(){i((function(e){return M(M({},e),{},{sync_on_pipeline_run:!(null!==t&&void 0!==t&&t.sync_on_pipeline_run)})}))}})})}),(0,H.jsx)(h.Z,{alignItems:"center",children:(0,H.jsx)(j.Z,{mt:2,children:(0,H.jsx)(p.Z,{checked:null===t||void 0===t?void 0:t.sync_on_start,label:"Sync on server start up",onClick:function(){i((function(e){return M(M({},e),{},{sync_on_start:!(null!==t&&void 0!==t&&t.sync_on_start)})}))}})})}),(0,H.jsx)(j.Z,{mt:P.Mq,children:(0,H.jsx)(O.ZP,{bold:!0,children:"Configure the Git authentication credentials that will be used to sync with the specified Git repository."})}),(0,H.jsx)("form",{children:Q.map((function(e){var n=e.autoComplete,r=e.disabled,c=e.label,s=e.labelDescription,l=e.required,u=e.type,a=e.uuid;return(0,H.jsxs)(j.Z,{mt:2,children:[s&&(0,H.jsx)(j.Z,{mb:1,children:(0,H.jsx)(O.ZP,{small:!0,children:s})}),(0,H.jsx)(S.Z,{autoComplete:n,disabled:r,label:c,onChange:function(e){i((function(n){return M(M({},n),{},(0,o.Z)({},a,e.target.value))}))},primary:!0,required:l,setContentOnMount:!0,type:u,value:(null===t||void 0===t?void 0:t[a])||""})]},a)}))})]}):(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(j.Z,{mt:P.Mq,children:(0,H.jsx)(O.ZP,{bold:!0,children:"These fields are required to help Mage configure your Git settings. These settings will be specific to your user."})}),K]}),(0,H.jsx)(j.Z,{mt:2,children:(0,H.jsx)(f.Z,{loading:B,onClick:function(){return R({sync:M(M({},t),{},{user_git_settings:l})})},primary:!0,children:"Save repository settings"})}),D&&(0,H.jsx)(j.Z,{mt:1,children:(0,H.jsx)(O.ZP,{danger:!0,children:D})}),z&&(0,H.jsxs)(j.Z,{mt:P.HN,children:[(0,H.jsx)(m.Z,{children:"Synchronize code from remote repository"}),(0,H.jsxs)(j.Z,{mt:1,children:[(0,H.jsxs)(O.ZP,{children:["Running the sync from this page will run a one time sync with the remote repository.",(0,H.jsx)("br",{}),"This may ",(0,H.jsx)(O.ZP,{bold:!0,danger:!0,inline:!0,children:"overwrite"})," your existing data, so make sure you\u2019ve committed or backed up your current changes."]}),(0,H.jsx)(j.Z,{mt:2}),(0,H.jsxs)(O.ZP,{children:["Reset will tell Mage to try to clone your repository from remote. This will also ",(0,H.jsx)(O.ZP,{bold:!0,danger:!0,inline:!0,children:"overwrite"})," all your local changes and reset any settings you may have configured for your local Git repo. This may be helpful if you are having issues syncing your repository."]})]}),(0,H.jsx)(j.Z,{mt:2,children:(0,H.jsxs)(h.Z,{children:[(0,H.jsx)(f.Z,{loading:L,onClick:function(){return U({sync:{action_type:"sync_data"}})},warning:!0,children:"Synchronize code"}),(0,H.jsx)(j.Z,{ml:2}),(0,H.jsx)(f.Z,{danger:!0,loading:L,onClick:function(){return U({sync:{action_type:"reset"}})},children:"Reset repository"})]})})]})]})})}D.getInitialProps=(0,i.Z)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var T=(0,b.Z)(D)},37056:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/sync-data",function(){return t(10831)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},99177:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}function i(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&r(e,n)}t.d(n,{Z:function(){return i}})},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(12539),i=t(80022);function o(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}}},function(e){e.O(0,[844,1424,1005,9774,2888,179],(function(){return n=37056,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2287],{2850:function(e,r,n){"use strict";n.d(r,{M:function(){return o},W:function(){return u}});var t=n(38626),i=n(3055),u=34*n(49125).iI,o=t.default.div.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-12ee2ib-0"})(["min-height:calc(100vh - ","px);"],i.Mz)},79585:function(e,r,n){"use strict";n.d(r,{DQ:function(){return l},HY:function(){return o},SA:function(){return a},WH:function(){return u},eC:function(){return s},fF:function(){return c},tC:function(){return d}});var t=n(81132),i=n(9736),u="Workspace",o="Preferences",c="Git settings",s="Users",d="Account",l="Profile",a=function(e){var r=e.owner,n=e.roles,a=e.project_access,f=[{linkProps:{href:"/settings/workspace/preferences"},uuid:o}];(r||n===t.No.ADMIN||0!==(2&a))&&f.push({linkProps:{href:"/settings/workspace/users"},uuid:s}),(!(0,i.YB)()||n<=t.No.EDITOR)&&f.push({linkProps:{href:"/settings/workspace/sync-data"},uuid:c});var p=[{items:f,uuid:u}];return(0,i.YB)()?p.concat([{items:[{linkProps:{href:"/settings/account/profile"},uuid:l}],uuid:d}]):p}},30775:function(e,r,n){"use strict";n.d(r,{Z:function(){return P}});var t=n(1210),i=n(82394),u=n(12691),o=n.n(u),c=n(10919),s=n(86673),d=n(19711),l=n(38626),a=n(23831),f=n(49125),p=n(90880),v=(f.iI,l.default.div.withConfig({displayName:"indexstyle__SectionTitleStyle",componentId:"sc-1y8dyue-0"})(["padding:","px ","px;"],1*f.iI,2.5*f.iI)),h=l.default.div.withConfig({displayName:"indexstyle__ItemStyle",componentId:"sc-1y8dyue-1"})([""," padding:","px ","px;"," ",""],(0,p.eR)(),1.5*f.iI,2.5*f.iI,(function(e){return!e.selected&&"\n &:hover {\n background-color: ".concat((e.theme.background||a.Z.background).codeArea,";\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.background||a.Z.background).codeTextarea,";\n ")})),O=n(28598),b=n(82684);function j(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function m(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?j(Object(n),!0).forEach((function(r){(0,i.Z)(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var y=function(e){var r=e.isItemSelected,n=e.sections;return(0,O.jsx)(s.Z,{py:f.Gg,children:null===n||void 0===n?void 0:n.map((function(e){var n=e.items,t=e.title,i=e.uuid;return(0,O.jsxs)(s.Z,{children:[(0,O.jsx)(v,{children:(0,O.jsx)(d.ZP,{bold:!0,muted:!0,small:!0,uppercase:!0,children:t?t():i})}),null===n||void 0===n?void 0:n.map((function(e){var n=e.label,t=e.linkProps,u=e.onClick,s=e.uuid,d=n?n():s,l=(0,O.jsx)(h,{selected:null===r||void 0===r?void 0:r(m(m({},e),{},{uuidWorkspace:i})),children:d});return t?(0,b.createElement)(o(),m(m({},t),{},{key:s,passHref:!0}),(0,O.jsx)(c.Z,{block:!0,noHoverUnderline:!0,noOutline:!0,sameColorAsText:!0,children:l})):(0,O.jsx)(c.Z,{block:!0,noHoverUnderline:!0,noOutline:!0,onClick:u,preventDefault:!0,sameColorAsText:!0,children:l},s)}))]},i)}))})},w=n(2850),g=n(79585),_=n(9736);var P=function(e){var r=e.after,n=e.afterHidden,i=e.children,u=e.uuidItemSelected,o=e.uuidWorkspaceSelected,c=(0,_.PR)()||{};return(0,O.jsx)(t.Z,{after:r,afterHidden:!r||n,afterWidth:r?50*f.iI:0,afterWidthOverride:!0,before:(0,O.jsx)(w.M,{children:(0,O.jsx)(y,{isItemSelected:function(e){var r=e.uuid,n=e.uuidWorkspace;return o===n&&u===r},sections:(0,g.SA)(c)})}),beforeWidth:w.W,title:"Settings",uuid:"settings/index",children:i})}},60921:function(e,r,n){"use strict";n.r(r);var t=n(77837),i=n(82394),u=n(38860),o=n.n(u),c=n(82684),s=n(34376),d=n(60328),l=n(87372),a=n(41788),f=n(30775),p=n(86673),v=n(87815),h=n(19711),O=n(20582),b=n(82531),j=n(66166),m=n(10503),y=n(49125),w=n(79585),g=n(63153),_=n(9736),P=n(33766),x=n(7715),k=n(59e3),Z=n(28598);function S(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function E(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?S(Object(n),!0).forEach((function(r){(0,i.Z)(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function I(){var e=(0,s.useRouter)(),r=(0,_.PR)()||{},n=r.id,t=r.owner,i=(0,c.useState)(null),u=i[0],o=i[1],a=b.ZP.users.list({},{revalidateOnFocus:!1}),S=a.data,I=a.mutate,D=(0,c.useMemo)((function(){return(null===S||void 0===S?void 0:S.users)||[]}),[null===S||void 0===S?void 0:S.users]),C=b.ZP.users.detail(null===u||void 0===u?void 0:u.user_id,{},{revalidateOnFocus:!1}),A=C.data,H=C.mutate,W=null===A||void 0===A?void 0:A.user,N=(0,k.iV)(),M=(0,j.Z)(N);(0,c.useEffect)((function(){var e=N.add_new_user,r=N.user_id;if(!(0,x.Xy)(N,M)){var n=E(E({},M),N);r?n.user_id=r:delete n.user_id,e?n.add_new_user=e:delete n.add_new_user,o(n)}}),[N,M]);var R=null===u||void 0===u?void 0:u.add_new_user,T=(0,c.useMemo)((function(){return R?(0,Z.jsx)(p.Z,{p:y.cd,children:(0,Z.jsx)(O.Z,{newUser:!0,onSaveSuccess:function(){(0,P.u7)({add_new_user:null,user_id:null}),I()},title:"Add new user",user:{}})}):W?(0,Z.jsx)(p.Z,{p:y.cd,children:(0,Z.jsx)(O.Z,{hideFields:[g.s7],onDeleteSuccess:function(){(0,P.u7)({add_new_user:null,user_id:null}),I()},onSaveSuccess:function(){(0,P.u7)({add_new_user:null,user_id:null}),H(),I()},showDelete:!0,title:"Edit user",user:W})}):null}),[H,I,R,W]);return(0,Z.jsxs)(f.Z,{after:T,afterHidden:!W&&!R,uuidItemSelected:w.eC,uuidWorkspaceSelected:w.WH,children:[t&&(0,Z.jsx)(p.Z,{p:y.cd,children:(0,Z.jsx)(d.Z,{beforeIcon:(0,Z.jsx)(m.mm,{}),onClick:function(){return(0,P.u7)({add_new_user:1,user_id:null})},primary:!0,children:"Add new user"})}),(0,Z.jsx)(p.Z,{p:y.cd,children:(0,Z.jsx)(l.Z,{children:"Users"})}),(0,Z.jsx)(v.Z,{columnFlex:[1,1,1],columns:[{uuid:"Username"},{uuid:"Email"},{uuid:"Role"}],isSelectedRow:function(e){var r;return(null===(r=D[e])||void 0===r?void 0:r.id)===(null===W||void 0===W?void 0:W.id)},onClickRow:function(r){var t,i=null===(t=D[r])||void 0===t?void 0:t.id;i===n?e.push("/settings/account/profile"):+(null===u||void 0===u?void 0:u.user_id)===i?(0,P.u7)({user_id:null}):(0,P.u7)({add_new_user:null,user_id:i})},rows:D.map((function(e){var r=e.email,n=e.roles_display,t=e.roles_new,i=e.username,u=t||[];return u.sort((function(e,r){return e.id-r.id})),[(0,Z.jsx)(h.ZP,{bold:!0,children:i},"username"),(0,Z.jsx)(h.ZP,{default:!0,children:r},"email"),(0,Z.jsx)(h.ZP,{default:!0,children:u.length>0?u[0].name:n},"roles")]})),uuid:"pipeline-runs"})]})}I.getInitialProps=(0,t.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)}))),r.default=(0,a.Z)(I)},33766:function(e,r,n){"use strict";n.d(r,{O2:function(){return a},g_:function(){return p},u7:function(){return f}});var t=n(75582),i=n(82394),u=n(34376),o=n.n(u),c=n(59e3),s=n(24224);function d(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?d(Object(n),!0).forEach((function(r){(0,i.Z)(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var a="_offset";function f(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preserveParams,i=r.pushHistory,u=r.replaceParams,s=(0,c.iV)(),d={};n&&n.forEach((function(e){s[e]&&(d[e]=s[e])}));var a,f=u?d:s;a=window.location.pathname;var p=i?o().push:o().replace,v=l(l({},f),e);Object.entries(e).forEach((function(e){var r=(0,t.Z)(e,2),n=r[0],i=r[1];"undefined"!==typeof i&&null!==i||delete v[n]}));var h=(0,c.uM)(v);h.length>=1&&(h="?".concat(h));var O="".concat(a.split("?")[0]).concat(h);return p(o().router.pathname,O,{shallow:!0})}function p(e,r,n){var i=n.addingMultipleValues,u=n.isList,o=n.itemsPerPage,c=n.pushHistory,d=void 0!==c&&c,p=n.resetLimitParams,v=l({},e);i?Object.entries(r).forEach((function(e){var r=(0,t.Z)(e,2),n=r[0],i=r[1];if(Array.isArray(i)){var u="".concat(n,"[]");v[u]=i.map(String)}})):u?Object.entries(r).forEach((function(e){var r=(0,t.Z)(e,2),n=r[0],i=r[1],u=String(i),o="".concat(n,"[]"),c=v[o];c&&Array.isArray(c)?(c=c.map(String)).includes(u)?v[o]=(0,s.Od)(c,(function(e){return e===u})):v[o]=c.concat(u):v[o]=[u]})):v=l(l({},v),r),p&&(v._limit=o||20,v[a]=0),f(v,{pushHistory:d})}},48673:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/users",function(){return n(60921)}])}},function(e){e.O(0,[844,7607,1424,1005,7815,3883,9774,2888,179],(function(){return r=48673,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1312],{76096:function(e,n,t){"use strict";var r=t(82394),i=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 r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function u(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,r.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,r=e.gutter,a=e.style,s=void 0===a?{}:a,f=(0,i.Z)(e,l),d=u({},s);return r&&(d.paddingLeft=r,d.paddingRight=d.paddingLeft),t&&(d.height="100%"),(0,c.jsx)(o.Col,u(u({},f),{},{style:d,children:n}))}},97361:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=t(82684),c=t(33591),l=t(28598),a=["children","fullHeight","gutter","justifyContent","style"];function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(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,r=e.gutter,u=e.justifyContent,f=e.style,d=void 0===f?{}:f,p=(0,i.Z)(e,a),h=s({},d);return r&&(h.marginLeft=-1*r,h.marginRight=h.marginLeft),t&&(h.height="100%"),(0,l.jsx)(c.Row,s(s({},p),{},{justifyContent:u,style:h,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:r,key:n})}))}))}},55022:function(e,n,t){"use strict";var r;t.d(n,{G:function(){return r}}),function(e){e.ACTIVE_DIRECTORY="active_directory",e.GITHUB="github"}(r||(r={}))},87372:function(e,n,t){"use strict";var r,i,o,c,l,a,u,s,f=t(82394),d=t(26304),p=t(26653),h=t(38626),g=t(33591),m=t(23831),y=t(2005),b=t(31012),j=t(19711),O=t(49125),w=t(86673),x=t(28598),v=["children","condensed","inline","level","marketing","spacingBelow"];function Z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,f.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var C=(0,h.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," ",""],j.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(y.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(y.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(y.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(y.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(y.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "})),_=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 ")})),S=h.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],C,g.media.md(r||(r=(0,p.Z)(["\n ","\n "])),b.aQ),g.media.lg(i||(i=(0,p.Z)(["\n ","\n "])),b.aQ),g.media.xl(o||(o=(0,p.Z)(["\n ","\n "])),b.aQ)),I=h.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],C,b.MJ),k=h.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],C,g.media.xs(c||(c=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*O.iI,7*O.iI),g.media.sm(l||(l=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*O.iI,7*O.iI),g.media.md(a||(a=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*O.iI,7*O.iI),g.media.lg(u||(u=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*O.iI,7*O.iI),g.media.xl(s||(s=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*O.iI,7*O.iI)),N=h.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],C,b.BL),z=h.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],C),H=h.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],C),D=h.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],C),E=h.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],C,(function(e){return 1===e.level&&"\n ".concat(b.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(b.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 "})),M=function(e){var n,t=e.children,r=e.condensed,i=e.inline,o=e.level,c=e.marketing,l=e.spacingBelow,a=(0,d.Z)(e,v);i?n=E:0===Number(o)?n=S:1===Number(o)?n=c?k:I:2===Number(o)?n=N:3===Number(o)?n=z:4===Number(o)?n=H:5===Number(o)&&(n=D);var u=(0,x.jsxs)(n,P(P({},a),{},{level:o,children:[l&&(0,x.jsx)(w.Z,{mb:r?2:3,children:t}),!l&&t]}));return i?u:(0,x.jsx)(_,{children:u})};M.defaultProps={level:3,weightStyle:6},n.Z=M},71208:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return $}});var r=t(77837),i=t(38860),o=t.n(i),c=t(82394),l=t(57384),a=t(41424),u=t(33591),s=t(86673),f=t(49125),d=t(28598);var p=function(e){var n=e.children,t=e.width,r=void 0===t?12:t;return(0,d.jsx)(s.Z,{px:f.zC,children:(0,d.jsx)(u.Row,{children:(0,d.jsx)(u.Col,{lg:r,md:Math.min(12,Math.round(1.5*(12-r))),sm:Math.min(12,Math.round(1.75*(12-r))),xs:12,children:n})})})},h=t(38626),g=t(3055),m=h.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-jcgu5l-0"})(["padding-top:","px;",""],g.Mz,(function(e){return e.fullHeight&&"\n height: calc(100vh);\n "}));function y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?y(Object(t),!0).forEach((function(n){(0,c.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var j=function(e){var n=e.children,t=e.headerProps,r=e.title;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(l.Z,{title:r}),(0,d.jsx)(a.Z,b({},t)),(0,d.jsx)(p,{children:(0,d.jsx)(m,{fullHeight:!0,children:n})})]})},O=t(75582),w=t(82684),x=t(83455),v=t(34376),Z=t(35490),P=t(67971),C=t(87372),_=t(11135),S=t(19711),I=t(82944),k=t(82531),N=t(23831),z=t(73942),H=h.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-641xul-0"})(["border-radius:","px;padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;width:100%;",""],z.TR,21*f.iI,f.Vj,f.Vj,f.Vj,(function(e){return"\n background-color: ".concat((e.theme.background||N.Z.background).panel,";\n ")})),D=h.default.div.withConfig({displayName:"indexstyle__BackgroundImageStyle",componentId:"sc-641xul-1"})(["border-radius:","px;font-size:0;overflow:hidden;",""],z.D7,(function(e){return e.src&&"\n background-image: url(".concat(e.src,");\n background-size: cover;\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n ")})),E=t(76096),M=t(97361),R=E.Z,L=M.Z,T=t(16115),V=t(7715),F=t(96510),B=t(51504),G=t(59e3),U=t(9736),X=t(10503),A=t(55022);function Q(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Q(Object(t),!0).forEach((function(n){(0,c.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var J="email",W="password";var q=function(e){var n=e.title,t=(0,v.useRouter)(),r=(0,w.useState)(null),i=r[0],o=r[1],l=(0,w.useState)({}),a=l[0],u=l[1],p=(0,x.Db)(k.ZP.sessions.useCreate(),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(e){var n=e.session,r=n.token,i=n.user;(0,U.av)(i),Z.Z.storeToken(r,(function(){var e="/",n=(0,G.iV)(window.location.href);n.redirect_url&&(e="".concat(n.redirect_url,"?").concat((0,G.uM)((0,V.gR)(n,["redirect_url"])))),t.push(e)}))},onErrorCallback:function(e){var n=e.error;o(n)}})}}),h=(0,O.Z)(p,2),g=h[0],m=h[1].isLoading,y=(0,w.useCallback)((function(e){return Z.Z.logout((function(){return g(e)}))}),[g]),b=k.ZP.oauths.detail(A.G.ACTIVE_DIRECTORY,{redirect_uri:encodeURIComponent(window.location.href)}).data,j=(0,w.useMemo)((function(){var e;return null===b||void 0===b||null===(e=b.oauth)||void 0===e?void 0:e.url}),[b]),N=(0,G.iV)()||{},z=N.access_token,E=N.provider;return(0,w.useEffect)((function(){var e;z&&E&&y({session:(e={},(0,c.Z)(e,"provider",E),(0,c.Z)(e,"token",z),e)})}),[z,y,E]),(0,d.jsxs)(L,{fullHeight:!0,children:[(0,d.jsx)(R,{lg:6,md:12,children:(0,d.jsx)(P.Z,{flexDirection:"column",fullHeight:!0,fullWidth:!0,justifyContent:"center",children:(0,d.jsx)(s.Z,{px:{xl:5*f.zC,xs:f.zC},py:f.zC,children:(0,d.jsxs)(H,{children:[(0,d.jsx)(C.Z,{yellow:!0,children:n}),(0,d.jsxs)("form",{children:[(0,d.jsxs)(s.Z,{mt:3,children:[(0,d.jsx)(I.Z,{autoComplete:"username",label:"Email",large:!0,meta:{error:" ",touched:!!i},onChange:function(e){return u((function(n){return Y(Y({},n),{},(0,c.Z)({},J,e.target.value))}))},primary:!i,value:a.email}),(0,d.jsx)(s.Z,{mt:2,children:(0,d.jsx)(I.Z,{autoComplete:"current-password",label:"Password",large:!0,meta:{error:" ",touched:!!i},onChange:function(e){return u((function(n){return Y(Y({},n),{},(0,c.Z)({},W,e.target.value))}))},primary:!i,type:"password",value:a.password})})]}),i&&(0,d.jsx)(s.Z,{mt:2,children:(0,d.jsx)(S.ZP,{danger:!0,children:i.message})}),(0,d.jsx)(s.Z,{mt:3,children:(0,d.jsx)(_.ZP,{bold:!0,inline:!0,keyTextGroups:[[T.Lz]],keyboardShortcutValidation:function(e){var n=e.keyMapping;return(0,B.y)([T.Uq],n)},large:!0,loading:m,noHoverUnderline:!0,onClick:function(){return y({session:a})},selected:!0,uuid:"SignForm/action",wind:!0,children:"Sign into Mage"})}),j&&(0,d.jsx)(s.Z,{mt:4,children:(0,d.jsx)(_.ZP,{beforeElement:(0,d.jsx)(X.Dg,{size:2*f.iI}),bold:!0,inline:!0,onClick:function(){return t.push(j)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})]})]})})})}),(0,d.jsx)(R,{hiddenLgDown:!0,lg:6,style:{flex:1},children:(0,d.jsx)(s.Z,{fullHeight:!0,fullWidth:!0,px:f.zC,py:f.zC+8,children:(0,d.jsx)(D,{src:"/images/sessions/abstract.png",children:"Sign in abstract image"})})})]})};function K(){return(0,d.jsx)(j,{title:"Sign in",children:(0,d.jsx)(q,{title:"\ud83d\udc4b Sign in"})})}K.getInitialProps=(0,r.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)})));var $=K},6821:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sign-in",function(){return t(71208)}])}},function(e){e.O(0,[844,1424,9774,2888,179],(function(){return n=6821,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{1210:function(e,n,r){"use strict";r.d(n,{Z:function(){return k}});var o=r(82394),t=r(21831),i=r(82684),l=r(47999),c=r(49894),s=r(93461),d=r(57384),u=r(41424),a=r(72454),h=r(28598);function f(e,n){var r=e.children;return(0,h.jsx)(a.HS,{ref:n,children:r})}var m=i.forwardRef(f),v=r(32063),j=r(85019),x=r(82531),b=r(66166),g=r(3055),p=r(49125),Z=r(91427),w=r(24141);function C(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,o)}return r}function y(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?C(Object(r),!0).forEach((function(n){(0,o.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var k=function(e){var n,r=e.after,o=e.afterHidden,f=e.afterWidth,C=e.afterWidthOverride,k=e.before,P=e.beforeWidth,_=e.breadcrumbs,I=e.children,O=e.errors,S=e.headerMenuItems,M=e.headerOffset,D=e.mainContainerHeader,B=e.navigationItems,F=e.setErrors,E=e.subheaderChildren,H=e.title,N=e.uuid,U=(0,w.i)().width,A="dashboard_after_width_".concat(N),T="dashboard_before_width_".concat(N),R=(0,i.useRef)(null),G=(0,i.useState)(C?f:(0,Z.U2)(A,f)),q=G[0],V=G[1],z=(0,i.useState)(!1),L=z[0],W=z[1],Q=(0,i.useState)(k?Math.max((0,Z.U2)(T,P),13*p.iI):null),K=Q[0],X=Q[1],Y=(0,i.useState)(!1),J=Y[0],$=Y[1],ee=(0,i.useState)(null)[1],ne=x.ZP.projects.list({},{revalidateOnFocus:!1}).data,re=null===ne||void 0===ne?void 0:ne.projects,oe=[];_?oe.push.apply(oe,(0,t.Z)(_)):(null===re||void 0===re?void 0:re.length)>=1&&oe.push.apply(oe,[{label:function(){var e;return null===(e=re[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},{bold:!0,label:function(){return H}}]),(0,i.useEffect)((function(){null===R||void 0===R||!R.current||L||J||null===ee||void 0===ee||ee(R.current.getBoundingClientRect().width)}),[L,q,J,K,R,ee,U]),(0,i.useEffect)((function(){L||(0,Z.t8)(A,q)}),[o,L,q,A]),(0,i.useEffect)((function(){J||(0,Z.t8)(T,K)}),[J,K,T]);var te=(0,b.Z)(f);return(0,i.useEffect)((function(){C&&te!==f&&V(f)}),[C,f,te]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.Z,{title:H}),(0,h.jsx)(u.Z,{breadcrumbs:oe,menuItems:S,project:null===re||void 0===re?void 0:re[0],version:null===re||void 0===re||null===(n=re[0])||void 0===n?void 0:n.version}),(0,h.jsxs)(a.Nk,{children:[0!==(null===B||void 0===B?void 0:B.length)&&(0,h.jsx)(a.lm,{showMore:!0,children:(0,h.jsx)(j.Z,{navigationItems:B,showMore:!0})}),(0,h.jsx)(s.Z,{flex:1,flexDirection:"column",children:(0,h.jsxs)(v.Z,{after:r,afterHeightOffset:g.Mz,afterHidden:o,afterMousedownActive:L,afterWidth:q,before:k,beforeHeightOffset:g.Mz,beforeMousedownActive:J,beforeWidth:a.k1+(k?K:0),headerOffset:M,hideAfterCompletely:!0,leftOffset:k?a.k1:null,mainContainerHeader:D,mainContainerRef:R,setAfterMousedownActive:W,setAfterWidth:V,setBeforeMousedownActive:$,setBeforeWidth:X,children:[E&&(0,h.jsx)(m,{children:E}),I]})})]}),O&&(0,h.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===F||void 0===F?void 0:F(null)},children:(0,h.jsx)(c.Z,y(y({},O),{},{onClose:function(){return null===F||void 0===F?void 0:F(null)}}))})]})}},55022:function(e,n,r){"use strict";var o;r.d(n,{G:function(){return o}}),function(e){e.ACTIVE_DIRECTORY="active_directory",e.GITHUB="github"}(o||(o={}))},32316:function(e,n,r){"use strict";r.d(n,{Z:function(){return j}});var o=r(82684),t=r(60328),i=r(67971),l=r(882),c=r(86673),s=r(19711),d=r(99994),u=r(38626),a=r(49125),h=r(37391),f=u.default.div.withConfig({displayName:"indexstyle__TabsContainerStyle",componentId:"sc-segf7l-0"})(["padding-left:","px;padding-right:","px;"," "," ",""],a.cd*a.iI,a.cd*a.iI,(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.allowScroll&&"\n overflow: auto;\n "}),h.w5),m=r(66653),v=r(28598);var j=function(e){var n=e.allowScroll,r=e.compact,u=e.contained,h=e.noPadding,j=e.onClickTab,x=e.selectedTabUUID,b=e.small,g=e.tabs,p=(0,o.useMemo)((function(){var e=g.length,n=[];return g.forEach((function(o,u){var h=o.Icon,f=o.IconSelected,g=o.label,p=o.uuid,Z=p===x,w=Z&&f||h,C=g?g():p,y=(0,v.jsxs)(i.Z,{alignItems:"center",children:[w&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(w,{default:!Z,size:2*a.iI}),(0,v.jsx)(c.Z,{mr:1})]}),(0,v.jsx)(s.ZP,{bold:!0,default:!Z,noWrapping:!0,small:!0,children:C})]});u>=1&&e>=2&&n.push((0,v.jsx)("div",{style:{marginLeft:1.5*a.iI}},"spacing-".concat(p))),Z?n.push((0,v.jsx)(l.Z,{backgroundGradient:d.yr,backgroundPanel:!0,borderLess:!0,borderWidth:2,compact:r||b,onClick:function(e){(0,m.j)(e),j(o)},paddingUnitsHorizontal:1.75,paddingUnitsVertical:1.25,small:b,children:y},p)):n.push((0,v.jsx)("div",{style:{padding:2},children:(0,v.jsx)(t.Z,{borderLess:!0,compact:r||b,default:!0,onClick:function(e){(0,m.j)(e),j(o)},outline:!0,small:b,children:y})},"button-tab-".concat(p)))})),n}),[r,j,x,b,g]),Z=(0,v.jsx)(i.Z,{alignItems:"center",children:p});return u?Z:(0,v.jsx)(f,{allowScroll:n,noPadding:h,children:Z})}},92589:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return Pe}});var o=r(77837),t=r(38860),i=r.n(t),l=r(41788),c=r(82394),s=r(75582),d=r(54407),u=r.n(d),a=r(82684),h=r(83455),f=r(60328),m=r(34744),v=r(67971),j=r(87372),x=r(55378),b=r(86673),g=r(54283),p=r(19711),Z=r(38435),w=r(82944),C=r(46261),y=r(82531),k=r(10503),P="delete",_="merge",I="pull",O="push",S="rebase",M="git_remote_name",D="git_repository_name",B={uuid:"Branches"},F={uuid:"Files"},E={uuid:"Push"},H={uuid:"Setup"},N=[H,B,F,E],U=r(49125),A=r(90211),T=r(91427),R=r(96510),G=r(28598);var q=function(e){var n=e.branch,r=e.branches,o=e.fetchBranch,t=e.fetchBranches,i=e.remotes,l=e.showError,d=(0,a.useState)(""),u=d[0],I=d[1],O=(0,a.useState)(null),D=O[0],B=O[1],E=(0,a.useState)(null),N=E[0],q=E[1],V=(0,a.useState)((0,T.U2)(M,"")),z=V[0],L=V[1],W=(0,a.useCallback)((function(e){(0,T.t8)(M,e),L(e)}),[]),Q=(0,a.useState)(null),K=Q[0],X=Q[1],Y=(0,a.useState)(""),J=Y[0],$=Y[1],ee=(0,a.useMemo)((function(){return null===i||void 0===i?void 0:i.find((function(e){return e.name===z}))}),[z,i]),ne=(0,a.useMemo)((function(){return(null===r||void 0===r?void 0:r.concat((null===ee||void 0===ee?void 0:ee.refs)||[]))||[]}),[r,ee]),re=(0,h.Db)(y.ZP.git_branches.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){o(),t(),$("")},onErrorCallback:function(e,n){return l({errors:n,response:e})}})}}),oe=(0,s.Z)(re,2),te=oe[0],ie=oe[1].isLoading,le=(0,h.Db)(y.ZP.git_branches.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){o()},onErrorCallback:function(e,n){return l({errors:n,response:e})}})}}),ce=(0,s.Z)(le,2),se=ce[0],de=ce[1].isLoading,ue=(0,h.Db)(y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(e){var n=e.git_branch.progress;o(),I(""),B(""),q(n),X("")},onErrorCallback:function(e,n){return l({errors:n,response:e})}})}}),ae=(0,s.Z)(ue,2),he=ae[0],fe=ae[1].isLoading;return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsxs)(j.Z,{children:["Branches",ne?" (".concat(null===ne||void 0===ne?void 0:ne.length,")"):""]}),(0,G.jsx)(b.Z,{mt:U.Mq,children:(0,G.jsxs)(v.Z,{children:[(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Remote"})}),(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.VW,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return W(e.target.value)},placeholder:"Choose a remote",value:z||"",children:null===i||void 0===i?void 0:i.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))})]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(0,G.jsxs)(v.Z,{alignItems:"center",children:[(0,G.jsx)(C.Z,{fullSize:!0,label:"Choose a different branch to switch branches",widthFitContent:!0,children:(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.I0,{muted:!1}),beforeIconSize:2*U.iI,monospace:!0,onChange:function(e){return se({git_branch:{name:e.target.value}})},value:null===n||void 0===n?void 0:n.name,children:(null===n||void 0===n?void 0:n.name)&&(null===ne||void 0===ne?void 0:ne.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)})))})}),(0,G.jsx)(b.Z,{mr:U.cd}),de&&(0,G.jsx)(g.Z,{inverted:!0})]})]})]})}),(0,G.jsx)(b.Z,{mt:U.Mq,children:(0,G.jsxs)(v.Z,{alignItems:"center",children:[(0,G.jsx)(w.Z,{label:"New branch name",monospace:!0,onChange:function(e){var n;return $(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:J||""}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.mm,{size:2*U.iI}),disabled:!J,loading:ie,onClick:function(){te({git_branch:{name:J}})},primary:!0,children:"Create new branch"})]})})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(j.Z,{children:"Actions"}),(0,G.jsxs)(b.Z,{mt:U.Mq,children:[(0,G.jsxs)(b.Z,{mb:U.Mq,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),(null===n||void 0===n?void 0:n.name)&&(0,G.jsx)(p.ZP,{monospace:!0,children:null===n||void 0===n?void 0:n.name})]}),(0,G.jsxs)(v.Z,{alignItems:"center",children:[(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Base branch"})}),(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.I0,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return X(e.target.value)},placeholder:"Choose a branch",value:K,children:null===ne||void 0===ne?void 0:ne.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))})]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Action"})}),(0,G.jsxs)(x.Z,{onChange:function(e){return B(e.target.value)},placeholder:"Choose action",value:D||"",children:[(0,G.jsx)("option",{value:_,children:(0,A.vg)(_)}),(0,G.jsx)("option",{value:S,children:(0,A.vg)(S)}),(0,G.jsx)("option",{value:P,children:(0,A.vg)(P)})]})]})]}),D&&[_,S].includes(D)&&(0,G.jsxs)(b.Z,{mt:U.cd,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsxs)(p.ZP,{bold:!0,muted:!0,children:["Message for ",D]})}),(0,G.jsx)(Z.Z,{monospace:!0,onChange:function(e){return I(e.target.value)},value:u||""})]}),(0,G.jsxs)(b.Z,{mt:U.cd,children:[(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.Bf,{size:2*U.iI}),disabled:!D||!K,loading:fe,onClick:function(){(P!==D||"undefined"!==typeof location&&window.confirm("Are you sure you want to delete branch ".concat(K,"?")))&&he({git_branch:(0,c.Z)({action_type:D,message:u},D,{base_branch:K})})},primary:!0,children:D?(0,A.vg)(D):"Execute action"}),N&&(0,G.jsx)(b.Z,{mt:U.cd,children:(0,G.jsx)(p.ZP,{default:!0,monospace:!0,preWrap:!0,children:N})})]})]})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:U.HN,children:(0,G.jsx)(m.Z,{light:!0})}),(0,G.jsxs)(v.Z,{children:[(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.Hd,{}),linkProps:{href:"/version-control?tab=".concat(H.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:H.uuid}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)(f.Z,{afterIcon:(0,G.jsx)(k.Kw,{}),linkProps:{href:"/version-control?tab=".concat(F.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",F.uuid]})]})]})]})},V=r(32316),z=r(44182),L=r(25880),W=r(10919),Q=r(87815),K=r(24224);function X(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,o)}return r}function Y(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?X(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var J={base_branch:null,body:null,compare_branch:null,repository:null,title:null};var $=function(e){var n=e.branch,r=e.branches,o=e.fetchBranch,t=e.loading,i=e.remotes,l=e.showError,d=(0,a.useState)((null===n||void 0===n?void 0:n.name)||""),u=d[0],C=d[1],P=(0,a.useState)(null),_=P[0],I=P[1],S=(0,a.useState)(null),B=S[0],E=S[1],H=(0,a.useState)((0,T.U2)(M,"")),N=H[0],q=H[1],V=(0,a.useCallback)((function(e){(0,T.t8)(M,e),q(e)}),[]),X=(0,a.useState)(J),$=X[0],ee=X[1],ne=(0,a.useState)((0,T.U2)(D,"")),re=ne[0],oe=ne[1],te=(0,a.useCallback)((function(e){(0,T.t8)(D,e),oe(e)}),[]),ie=(0,h.Db)(y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(e){var n=e.git_branch,r=n.error,t=n.progress;r?(I(r),E(null)):(o(),I(null),E(t))},onErrorCallback:function(e,n){return l({errors:n,response:e})}})}}),le=(0,s.Z)(ie,2),ce=le[0],se=le[1].isLoading,de=(0,a.useMemo)((function(){return(0,K.Tw)(i.reduce((function(e,n){var r;return e.concat((null===n||void 0===n||null===(r=n.repository_names)||void 0===r?void 0:r.map((function(e){var r;return{name:e,url:null===n||void 0===n||null===(r=n.urls)||void 0===r?void 0:r[0]}})))||[])}),[]),(function(e){return e.name}))}),[i]),ue=y.ZP.pull_requests.list({repository:re},{},{pauseFetch:!re}),ae=ue.data,he=ue.mutate,fe=(0,a.useMemo)((function(){return(null===ae||void 0===ae?void 0:ae.pull_requests)||[]}),[ae]),me=(0,a.useMemo)((function(){return(0,G.jsx)(Q.Z,{columnFlex:[null,null,null,null],columns:[{uuid:"Title"},{uuid:"Author"},{uuid:"Created"},{uuid:"Last modified"}],onClickRow:function(e){var n,r=null===fe||void 0===fe||null===(n=fe[e])||void 0===n?void 0:n.url;r&&window.open(r,"_blank")},rows:null===fe||void 0===fe?void 0:fe.map((function(e){var n=e.created_at,r=e.last_modified,o=e.title,t=e.url,i=e.user;return[(0,G.jsx)(W.Z,{default:!0,href:t,monospace:!0,openNewWindow:!0,small:!0,children:o},"title"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:i},"user"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:n},"createdAt"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:r||"-"},"lastModified")]})),uuid:"pull-requests"})}),[fe]),ve=y.ZP.git_branches.list({repository:re},{},{pauseFetch:!re}).data,je=(0,a.useMemo)((function(){return(null===ve||void 0===ve?void 0:ve.git_branches)||[]}),[ve]);(0,a.useEffect)((function(){null!==$&&void 0!==$&&$.compare_branch||null===je||void 0===je||!je.find((function(e){return e.name===(null===n||void 0===n?void 0:n.name)}))||ee((function(e){return Y(Y({},e),{},{compare_branch:null===n||void 0===n?void 0:n.name})}))}),[n,je,$]);var xe=(0,h.Db)(y.ZP.pull_requests.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){he(),ee(J)},onErrorCallback:function(e,n){return l({errors:n,response:e})}})}}),be=(0,s.Z)(xe,2),ge=be[0],pe=be[1].isLoading;return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(j.Z,{children:(0,A.vg)(O)})}),(0,G.jsxs)(b.Z,{mt:U.Mq,children:[(0,G.jsxs)(v.Z,{children:[(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Remote"})}),t&&(0,G.jsx)(g.Z,{inverted:!0}),!t&&(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.VW,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return V(e.target.value)},placeholder:"Choose remote",value:N||"",children:null===i||void 0===i?void 0:i.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))})]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Branch"})}),(0,G.jsxs)(x.Z,{beforeIcon:(0,G.jsx)(k.I0,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return C(e.target.value)},placeholder:"Choose branch",value:u||"",children:[(0,G.jsx)("option",{value:""}),null===r||void 0===r?void 0:r.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,G.jsx)(b.Z,{mt:U.cd,children:(0,G.jsxs)(f.Z,{beforeIcon:(0,G.jsx)(k.Bf,{size:2*U.iI}),disabled:!N||!u,loading:se,onClick:function(){E(null),ce({git_branch:(0,c.Z)({action_type:O},O,{branch:u,remote:N})})},primary:!0,children:[(0,A.vg)(O)," ",N," ",N&&u]})}),(B||_)&&(0,G.jsx)(b.Z,{mt:U.cd,children:(0,G.jsx)(p.ZP,{danger:!!_,default:!!B,monospace:!0,preWrap:!0,children:B||_})})]})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(j.Z,{children:"Create pull request"})}),(0,G.jsxs)(b.Z,{mt:U.Mq,children:[t&&(0,G.jsx)(g.Z,{inverted:!0}),!t&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(v.Z,{children:[(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Repository"})}),(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.fy,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return te(e.target.value)},placeholder:"Choose repository",value:re||"",children:null===de||void 0===de?void 0:de.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))})]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Base branch"})}),re&&!ve&&(0,G.jsx)(g.Z,{inverted:!0}),(!re||ve)&&(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.I0,{}),beforeIconSize:1.5*U.iI,disabled:!re,monospace:!0,onChange:function(e){return ee((function(n){return Y(Y({},n),{},{base_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===$||void 0===$?void 0:$.base_branch)||"",children:null===je||void 0===je?void 0:je.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))})]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)("div",{children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),re&&!ve&&(0,G.jsx)(g.Z,{inverted:!0}),(!re||ve||(null===$||void 0===$?void 0:$.compare_branch))&&(0,G.jsxs)(x.Z,{beforeIcon:(0,G.jsx)(k.I0,{}),beforeIconSize:1.5*U.iI,disabled:!re,monospace:!0,onChange:function(e){return ee((function(n){return Y(Y({},n),{},{compare_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===$||void 0===$?void 0:$.compare_branch)||"",children:[!(null!==je&&void 0!==je&&je.length)&&(null===$||void 0===$?void 0:$.compare_branch)&&(0,G.jsx)("option",{value:null===$||void 0===$?void 0:$.compare_branch,children:null===$||void 0===$?void 0:$.compare_branch}),null===je||void 0===je?void 0:je.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,G.jsx)(b.Z,{mt:1,children:(0,G.jsx)(w.Z,{label:"Title",monospace:!0,onChange:function(e){return ee((function(n){return Y(Y({},n),{},{title:e.target.value})}))},value:(null===$||void 0===$?void 0:$.title)||""})}),(0,G.jsx)(b.Z,{mt:1,children:(0,G.jsx)(Z.Z,{label:"Description",monospace:!0,onChange:function(e){return ee((function(n){return Y(Y({},n),{},{body:e.target.value})}))},value:(null===$||void 0===$?void 0:$.body)||""})}),(0,G.jsx)(b.Z,{mt:U.cd,children:(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.Bf,{size:2*U.iI}),disabled:!re||!(null!==$&&void 0!==$&&$.title)||!(null!==$&&void 0!==$&&$.base_branch)||!(null!==$&&void 0!==$&&$.compare_branch),loading:pe,onClick:function(){ge({pull_request:Y(Y({},$),{},{repository:re})})},primary:!0,children:"Create new pull request"})})]})]}),(0,G.jsx)(b.Z,{mt:U.Mq,children:(0,G.jsx)(z.Z,{visibleMapping:{0:!re},children:(0,G.jsxs)(L.Z,{noPaddingContent:!0,title:ae?"Pull requests (".concat(null===fe||void 0===fe?void 0:fe.length,")"):"Pull requests",children:[!re&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(p.ZP,{muted:!0,children:"Please select a repository to view open pull requests."})}),re&&(0,G.jsxs)(G.Fragment,{children:[!ae&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(g.Z,{inverted:!0})}),ae&&me]})]})})})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:U.HN,children:(0,G.jsx)(m.Z,{light:!0})}),(0,G.jsx)(v.Z,{children:(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.Hd,{}),linkProps:{href:"/version-control?tab=".concat(F.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:F.uuid})})]})]})},ee=r(1210),ne=r(46299),re=r(38341),oe=r(93461),te=r(38626),ie=te.default.div.withConfig({displayName:"indexstyle__SpacingStyle",componentId:"sc-el09vr-0"})(["margin-top:","px;"],.5*U.iI),le=r(7715);function ce(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,o)}return r}function se(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?ce(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var de=function(e){var n=e.branch,r=e.fetchBranch,o=e.modifiedFiles,t=e.setSelectedFilePath,i=e.showError,l=e.stagedFiles,c=e.untrackedFiles,d=(0,a.useRef)(null),u=(0,a.useState)(""),x=u[0],w=u[1],C=(0,a.useState)({}),P=C[0],_=C[1],I=(0,a.useState)({}),O=I[0],S=I[1],M=(0,a.useMemo)((function(){return Object.keys(o).concat(Object.keys(c)).sort()}),[o,c]),D=(0,a.useMemo)((function(){return Object.keys(l||{})}),[l]),F=(0,a.useMemo)((function(){return D.length}),[D]),H=(0,a.useMemo)((function(){return Object.keys(P).length===(null===M||void 0===M?void 0:M.length)}),[P,M]),N=(0,a.useMemo)((function(){return Object.keys(O).length===(null===D||void 0===D?void 0:D.length)}),[O,D]),T=(0,a.useMemo)((function(){return{onErrorCallback:function(e,n){return i({errors:n,response:e})}}}),[i]),q=(0,a.useMemo)((function(){return{onSuccess:function(e){return(0,R.wD)(e,se({callback:function(){r(),_({})}},T))}}}),[r,T]),V=(0,a.useMemo)((function(){return y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name)}),[n]),K=(0,h.Db)(V,q),X=(0,s.Z)(K,2),Y=X[0],J=X[1].isLoading,$=(0,h.Db)(V,q),ee=(0,s.Z)($,2),ne=ee[0],te=ee[1].isLoading,ce=(0,h.Db)(V,{onSuccess:function(e){return(0,R.wD)(e,se({callback:function(){r(),S({})}},T))}}),de=(0,s.Z)(ce,2),ue=de[0],ae=de[1].isLoading,he=(0,a.useCallback)((function(e,n,r,o,t){var i=(null===e||void 0===e?void 0:e.length)>=1;return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(W.Z,{block:!0,noHoverUnderline:!0,onClick:function(){r(t?{}:o)},preventDefault:!0,children:(0,G.jsxs)(v.Z,{alignItems:"center",flexDirection:"row",children:[(0,G.jsx)(re.Z,{checked:i&&t,disabled:!i}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(p.ZP,{bold:!0,children:i&&t?"Unselect all":"Select all"})]})}),e.map((function(e){return(0,G.jsx)(ie,{children:(0,G.jsx)(W.Z,{block:!0,noHoverUnderline:!0,onClick:function(){return r((function(n){var r=se({},n);return!(null!==r&&void 0!==r&&r[e])?r[e]=!0:delete r[e],r}))},preventDefault:!0,children:(0,G.jsxs)(v.Z,{alignItems:"center",flexDirection:"row",children:[(0,G.jsx)(re.Z,{checked:!(null===n||void 0===n||!n[e])}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,children:e})]})})},e)}))]})}),[]),fe=(0,a.useMemo)((function(){return(0,le.Qr)(P)}),[P]),me=y.ZP.git_branches.detail("with_logs",{_format:"with_logs"}),ve=me.data,je=me.mutate,xe=(0,a.useMemo)((function(){var e;return(null===ve||void 0===ve||null===(e=ve.git_branch)||void 0===e?void 0:e.logs)||[]}),[ve]),be=(0,h.Db)(y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){je(),r(),w("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),ge=(0,s.Z)(be,2),pe=ge[0],Ze=ge[1].isLoading,we=(0,a.useMemo)((function(){return(0,G.jsx)(Q.Z,{columnFlex:[1,1,1],columns:[{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:xe.map((function(e){var n=e.author,r=e.date,o=e.message;return[(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:null===n||void 0===n?void 0:n.name},"author"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:r},"date"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:o},"message")]})),uuid:"git-branch-logs"})}),[xe]);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(b.Z,{mb:U.HN,children:(0,G.jsxs)(v.Z,{children:[(0,G.jsxs)(oe.Z,{flex:1,flexDirection:"column",children:[(0,G.jsxs)(j.Z,{children:["Not staged ",(null===M||void 0===M?void 0:M.length)>=1&&"(".concat(null===M||void 0===M?void 0:M.length,")")]}),(0,G.jsx)(b.Z,{my:U.cd,children:(0,G.jsx)(m.Z,{light:!0})}),(0,G.jsx)(b.Z,{mb:U.cd,children:(0,G.jsxs)(v.Z,{flexDirection:"row",children:[(0,G.jsx)(f.Z,{compact:!0,disabled:fe||ae||te,loading:J,onClick:function(){Y({git_branch:{action_type:"add",files:Object.keys(P)}}).then((function(e){var n,r=e.data;null!==r&&void 0!==r&&r.git_branch&&(null===d||void 0===d||null===(n=d.current)||void 0===n||n.focus())}))},primary:!0,children:"Add files"}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(f.Z,{compact:!0,disabled:fe||J||ae,loading:te,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to undo all changes in the selected files?")&&ne({git_branch:{action_type:"checkout",files:Object.keys(P)}})},children:"Checkout files"})]})}),he(M,P,_,se(se({},o),c),H)]}),(0,G.jsx)(b.Z,{mr:U.cd}),(0,G.jsxs)(oe.Z,{flex:1,flexDirection:"column",children:[(0,G.jsxs)(j.Z,{children:["Staged files ",(null===D||void 0===D?void 0:D.length)>=1&&"(".concat(null===D||void 0===D?void 0:D.length,")")]}),(0,G.jsx)(b.Z,{my:U.cd,children:(0,G.jsx)(m.Z,{light:!0})}),(0,G.jsx)(b.Z,{mb:U.cd,children:(0,G.jsx)(v.Z,{flexDirection:"row",children:(0,G.jsx)(f.Z,{compact:!0,disabled:(0,le.Qr)(O)||J||te,loading:ae,onClick:function(){ue({git_branch:{action_type:"reset",files:Object.keys(O)}})},secondary:!0,children:"Reset files"})})}),he(D,O,S,l,N)]})]})}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(j.Z,{children:"Commit"})}),(0,G.jsx)(b.Z,{mb:U.cd,children:(0,G.jsx)(z.Z,{children:(0,G.jsx)(L.Z,{noPaddingContent:!0,title:F>=1?"Staged files (".concat(F,")"):"No staged files",children:null===D||void 0===D?void 0:D.map((function(e){return(0,G.jsx)(b.Z,{my:1,px:U.cd,children:(0,G.jsxs)(v.Z,{justifyContent:"space-between",children:[(0,G.jsx)(W.Z,{default:!0,monospace:!0,onClick:function(){return t((function(n){return n===e?null:e}))},warning:null===o||void 0===o?void 0:o[e],children:e}),(0,G.jsx)(b.Z,{mr:1}),(null===o||void 0===o?void 0:o[e])&&(0,G.jsx)(p.ZP,{warning:!0,children:"Modified after staging"})]})},e)}))})})}),(0,G.jsx)(Z.Z,{label:"Commit message",monospace:!0,onChange:function(e){return w(e.target.value)},ref:d,value:x||""}),(0,G.jsx)(b.Z,{mt:U.cd,children:(0,G.jsxs)(v.Z,{alignItems:"center",children:[(0,G.jsxs)(f.Z,{disabled:0===F||!((null===x||void 0===x?void 0:x.length)>=1),loading:Ze,onClick:function(){pe({git_branch:{action_type:"commit",files:D,message:x}})},primary:!0,children:["Commit ",(0,A._6)("file",F,!0)," with message"]}),0===F&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(p.ZP,{danger:!0,small:!0,children:"Please stage at least 1 file before committing."})]})]})})]}),(0,G.jsx)(b.Z,{mb:U.HN,children:(0,G.jsx)(z.Z,{children:(0,G.jsxs)(L.Z,{noPaddingContent:!0,title:"Logs",children:[!ve&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(g.Z,{inverted:!0})}),ve&&we]})})}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:U.HN,children:(0,G.jsx)(m.Z,{light:!0})}),(0,G.jsxs)(v.Z,{children:[(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.Hd,{}),linkProps:{href:"/version-control?tab=".concat(B.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:B.uuid}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)(f.Z,{afterIcon:(0,G.jsx)(k.Kw,{}),linkProps:fe?{href:"/version-control?tab=".concat(E.uuid)}:null,noHoverUnderline:!0,primary:fe,sameColorAsText:!0,secondary:!fe,children:["Next: ",E.uuid]})]})]})]})},ue=r(12691),ae=r.n(ue),he=r(34376),fe=r(55022),me=r(59e3);var ve=function(e){var n=e.branch,r=e.fetchBranch,o=e.loading,t=e.remotes,i=e.showError,l=(0,he.useRouter)(),c=(0,a.useRef)(null),d=(0,a.useState)(null),u=d[0],Z=d[1],C=(0,a.useState)(null),P=C[0],_=C[1],O=(0,a.useState)(null),S=O[0],D=O[1],F=(0,a.useState)(null),E=F[0],H=F[1],N=(0,a.useState)((0,T.U2)(M,"")),q=N[0],V=N[1],K=(0,a.useCallback)((function(e){(0,T.t8)(M,e),V(e)}),[]),X=(0,a.useState)(!1),Y=X[0],J=X[1],$=(0,a.useState)(null),ee=$[0],ne=$[1],re=(0,a.useState)(""),te=re[0],ie=re[1],le=(0,a.useState)(""),ce=le[0],se=le[1],de=(0,a.useState)(null),ue=de[0],ve=de[1];(0,a.useEffect)((function(){var e,r;null!==n&&void 0!==n&&null!==(e=n.sync_config)&&void 0!==e&&e.repo_path&&null===ue&&ve(null===n||void 0===n||null===(r=n.sync_config)||void 0===r?void 0:r.repo_path)}),[n,ue]);var je=(0,a.useMemo)((function(){var e,n;return null===t||void 0===t||null===(e=t.find((function(e){return e.name===q})))||void 0===e||null===(n=e.refs)||void 0===n?void 0:n.map((function(e){var n=e.name.split("/");return{name:n[n.length-1]}}))}),[q,t]),xe=(0,h.Db)(y.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){r(),J(!1)},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),be=(0,s.Z)(xe,2),ge=be[0],pe=be[1].isLoading,Ze=(0,h.Db)(y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(e){var n=e.git_branch,o=n.error,t=n.progress;o?(_(o),H(null)):(r(),Z(null),_(null),D(null),H(t))},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),we=(0,s.Z)(Ze,2),Ce=we[0],ye=we[1].isLoading,ke=(0,h.Db)(y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){r(),ie(""),se("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),Pe=(0,s.Z)(ke,2),_e=Pe[0],Ie=Pe[1].isLoading,Oe=(0,h.Db)(y.ZP.git_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){r(),ne(null)},onErrorCallback:function(e,n){ne(null),i({errors:n,response:e})}})}}),Se=(0,s.Z)(Oe,2),Me=Se[0],De=Se[1].isLoading,Be=y.ZP.oauths.detail(fe.G.GITHUB,{redirect_uri:encodeURIComponent(window.location.href)}),Fe=Be.data,Ee=Be.mutate,He=(0,a.useMemo)((function(){return(null===Fe||void 0===Fe?void 0:Fe.oauth)||{}}),[Fe]),Ne=(0,h.Db)(y.ZP.oauths.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){Ee()},onErrorCallback:function(e,n){i({errors:n,response:e})}})}}),Ue=(0,s.Z)(Ne,2),Ae=Ue[0],Te=Ue[1].isLoading,Re=((0,me.iV)()||{}).access_token;(0,a.useEffect)((function(){!He||null!==He&&void 0!==He&&He.authenticated||!Re||Ae({oauth:{provider:fe.G.GITHUB,token:Re}})}),[Re,Ae,He]);var Ge=(0,a.useMemo)((function(){return null===t||void 0===t?void 0:t.map((function(e){var n=e.name,r=e.refs,o=e.urls;return(0,G.jsxs)(b.Z,{mt:U.Mq,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsxs)(v.Z,{alignItems:"center",justifyContent:"space-between",children:[(0,G.jsxs)(oe.Z,{alignItems:"center",children:[(0,G.jsx)(p.ZP,{bold:!0,children:n}),(0,G.jsx)(b.Z,{mx:1,children:(0,G.jsx)(k._Q,{muted:!0})}),null===o||void 0===o?void 0:o.map((function(e){return(0,G.jsx)(b.Z,{mr:1,children:(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:e})},e)}))]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(f.Z,{compact:!0,disabled:De&&ee!==n,iconOnly:!0,loading:De&&ee===n,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to remove remote ".concat(n,"?"))&&(ne(n),Me({git_branch:{action_type:"remove_remote",remote:{name:n}}}).then((function(){q===n&&K(null)})))},small:!0,title:"Remote remote ".concat(n),children:(0,G.jsx)(k.rF,{})})]})}),(0,G.jsx)(z.Z,{children:(0,G.jsxs)(L.Z,{noPaddingContent:!0,smallTitle:!0,title:"Refs (".concat(null===r||void 0===r?void 0:r.length,")"),children:[0===(null===r||void 0===r?void 0:r.length)&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(p.ZP,{muted:!0,children:"This remote has no refs."})}),(null===r||void 0===r?void 0:r.length)>=1&&(0,G.jsx)(Q.Z,{columnFlex:[1,1,1],columns:[{uuid:"Ref"},{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:r.map((function(e){var n,r=e.commit,o=e.name;return[(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:o},"ref-name"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r||null===(n=r.author)||void 0===n?void 0:n.name},"author"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.date},"date"),(0,G.jsx)(p.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.message},"message")]})),uuid:"git-branch-remotes-refs"})]})}),(0,G.jsx)(b.Z,{mt:U.Mq,children:(0,G.jsx)(m.Z,{light:!0})})]},n)}))}),[De,ee,t,Me]);return(0,G.jsxs)(G.Fragment,{children:[Fe&&(0,G.jsxs)(b.Z,{mb:U.HN,children:[(null===He||void 0===He?void 0:He.authenticated)&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.fy,{size:2*U.iI}),disabled:!0,children:"Successfully authenticated with GitHub"}),(0,G.jsx)(b.Z,{mt:1,children:(0,G.jsx)(p.ZP,{muted:!0,children:"You can pull, push, and create pull requests on GitHub."})})]}),!(null!==He&&void 0!==He&&He.authenticated)&&(null===He||void 0===He?void 0:He.url)&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.fy,{size:2*U.iI}),loading:Te,onClick:function(){return l.push(null===He||void 0===He?void 0:He.url)},primary:!0,children:"Authenticate with GitHub"}),(0,G.jsx)(b.Z,{mt:1,children:(0,G.jsx)(p.ZP,{muted:!0,children:"Authenticating with GitHub will allow you to pull, push, and create pull requests on GitHub."})})]})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(j.Z,{children:"Setup"}),(0,G.jsxs)(b.Z,{mt:U.Mq,children:[(0,G.jsxs)(b.Z,{mb:1,children:[(0,G.jsx)(p.ZP,{bold:!0,large:!0,children:"Git init directory"}),(0,G.jsxs)(p.ZP,{muted:!0,children:["If the directory below is blank, then the current working directory will be used to initialize git.",(0,G.jsx)("br",{}),"If git hasn\u2019t been initialized in the directory below, Mage will automatically run git init for you."]})]}),(0,G.jsxs)(v.Z,{alignItems:"center",children:[(0,G.jsx)(w.Z,{disabled:!Y,label:"Git directory",monospace:!0,onChange:function(e){return ve(e.target.value)},ref:c,value:ue||""}),(0,G.jsx)(b.Z,{mr:1}),Y&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(f.Z,{compact:!0,loading:pe,onClick:function(){ge({sync:{repo_path:ue}})},primary:!0,small:!0,children:"Save"}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(W.Z,{onClick:function(){return J(!1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Cancel"})]}),!Y&&(0,G.jsx)(W.Z,{onClick:function(){J(!0),setTimeout((function(){var e;return null===c||void 0===c||null===(e=c.current)||void 0===e?void 0:e.focus()}),1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Edit"})]})]})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsxs)(j.Z,{children:["Remotes",!o&&t?" (".concat(null===t||void 0===t?void 0:t.length,")"):""]}),o&&(0,G.jsx)(b.Z,{mt:U.Mq,children:(0,G.jsx)(g.Z,{inverted:!0})}),!o&&Ge,(0,G.jsx)(b.Z,{mt:U.Mq,children:(0,G.jsxs)(v.Z,{alignItems:"flex-start",children:[(0,G.jsx)(w.Z,{label:"New remote name",monospace:!0,onChange:function(e){var n;return ie(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:te||""}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)(v.Z,{flexDirection:"column",children:[(0,G.jsx)(w.Z,{label:"Remote URL",monospace:!0,onChange:function(e){var n;return se(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:ce||""}),(0,G.jsx)(b.Z,{mt:1,children:(0,G.jsxs)(p.ZP,{muted:!0,small:!0,children:["Use the https URL if you",(0,G.jsx)("br",{}),"authenticated with GitHub above."]})})]}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.mm,{size:2*U.iI}),disabled:!te||!ce,loading:Ie,onClick:function(){_e({git_branch:{action_type:"add_remote",remote:{name:te,url:ce}}})},primary:!0,children:"Create new remote"})]})})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(j.Z,{children:"Actions"}),(0,G.jsxs)(b.Z,{mt:U.Mq,children:[(0,G.jsxs)(b.Z,{mb:U.Mq,children:[(0,G.jsx)(b.Z,{mb:1,children:(0,G.jsx)(p.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(null===n||void 0===n?void 0:n.name)&&(0,G.jsxs)(v.Z,{alignItems:"center",children:[(0,G.jsx)(p.ZP,{monospace:!0,children:null===n||void 0===n?void 0:n.name}),(0,G.jsx)(b.Z,{mr:U.cd}),(0,G.jsx)(ae(),{href:"/version-control?tab=".concat(B.uuid),passHref:!0,children:(0,G.jsx)(W.Z,{small:!0,children:"Switch branch"})})]})]}),(0,G.jsxs)(v.Z,{children:[(0,G.jsx)(x.Z,{onChange:function(e){return D(e.target.value)},placeholder:"Action",value:S||"",children:(0,G.jsx)("option",{value:I,children:(0,A.vg)(I)})}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsx)(x.Z,{beforeIcon:(0,G.jsx)(k.VW,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return K(e.target.value)},placeholder:"Remote",value:q||"",children:null===t||void 0===t?void 0:t.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))}),(0,G.jsx)(b.Z,{mr:1}),(0,G.jsxs)(x.Z,{beforeIcon:(0,G.jsx)(k.I0,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return Z(e.target.value)},value:u||"",children:[(0,G.jsx)("option",{value:"",children:"All branches"}),null===je||void 0===je?void 0:je.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))]})]}),(0,G.jsxs)(b.Z,{mt:U.cd,children:[(0,G.jsx)(f.Z,{beforeIcon:(0,G.jsx)(k.Bf,{size:2*U.iI}),disabled:!S||!q,loading:ye,onClick:function(){H(null),Ce({git_branch:{action_type:S,pull:{branch:u,remote:q}}})},primary:!0,children:S?(0,A.vg)(S):"Execute action"}),(E||P)&&(0,G.jsx)(b.Z,{mt:U.cd,children:(0,G.jsx)(p.ZP,{danger:!!P,default:!!E,monospace:!0,preWrap:!0,children:E||P})})]})]})]}),(0,G.jsxs)(b.Z,{mb:U.HN,children:[(0,G.jsx)(b.Z,{mb:U.HN,children:(0,G.jsx)(m.Z,{light:!0})}),(0,G.jsx)(v.Z,{children:(0,G.jsxs)(f.Z,{afterIcon:(0,G.jsx)(k.Kw,{}),linkProps:{href:"/version-control?tab=".concat(B.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",B.uuid]})})]})]})},je=r(2005),xe=te.default.div.withConfig({displayName:"indexstyle__DiffContainerStyle",componentId:"sc-1fo4nus-0"})(["pre{font-family:",";}"],je.Vp),be={codeFoldGutter:{},content:{},contentText:{},diffAdded:{},diffContainer:{},diffRemoved:{},emptyGutter:{},emptyLine:{},gutter:{},highlightedGutter:{},highlightedLine:{},line:{},lineNumber:{},marker:{},splitView:{},titleBlock:{},variables:{dark:{addedBackground:"#044B53",addedColor:"white",addedGutterBackground:"#034148",addedGutterColor:"#8c8c8c",codeFoldBackground:"#262831",codeFoldContentColor:"#555a7b",codeFoldGutterBackground:"#21232b",diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",diffViewerTitleBackground:"#2f323e",diffViewerTitleBorderColor:"#353846",diffViewerTitleColor:"#555a7b",emptyLineBackground:"#363946",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",gutterColor:"#464c67",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",removedBackground:"#632F34",removedColor:"white",removedGutterBackground:"#632b30",removedGutterColor:"#8c8c8c",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f"},light:{addedBackground:"#e6ffed",addedColor:"#24292e",addedGutterBackground:"#cdffd8",addedGutterColor:"#212529",codeFoldBackground:"#f1f8ff",codeFoldContentColor:"#212529",codeFoldGutterBackground:"#dbedff",diffViewerBackground:"#fff",diffViewerColor:"212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleBorderColor:"#eee",diffViewerTitleColor:"#212529",emptyLineBackground:"#fafbfc",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",gutterColor:"#212529",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",removedBackground:"#ffeef0",removedColor:"#24292e",removedGutterBackground:"#ffdce0",removedGutterColor:"#212529",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0"}},wordAdded:{},wordDiff:{},wordRemoved:{}},ge=r(32821),pe=r(33766),Ze=r(9728);function we(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,o)}return r}function Ce(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?we(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var ye=function(){var e=(0,a.useRef)(null),n=(0,a.useRef)(null),r=(0,Ze.VI)(null,{},[],{uuid:"VersionControlPage"}),o=(0,s.Z)(r,1)[0],t=(0,a.useState)(null),i=t[0],l=t[1],h=(0,a.useState)(null),f=h[0],v=h[1],j=(0,a.useState)(N[0]),Z=j[0],w=j[1],k=(0,me.iV)();(0,a.useEffect)((function(){null!==k&&void 0!==k&&k.tab&&w(N.find((function(e){return e.uuid===(null===k||void 0===k?void 0:k.tab)})))}),[k]);var P=y.ZP.git_branches.list({include_remote_branches:1}),_=P.data,I=P.mutate,O=(0,a.useMemo)((function(){return null===_||void 0===_?void 0:_.git_branches}),[_]),S=y.ZP.git_branches.detail("current"),M=S.data,D=S.mutate,A=(0,a.useMemo)((function(){return(null===M||void 0===M?void 0:M.git_branch)||{}}),[M]),T=(0,a.useMemo)((function(){return(null===A||void 0===A?void 0:A.files)||[]}),[A]),R=y.ZP.git_branches.detail("with_remotes",{_format:"with_remotes"}),z=R.data,L=R.mutate,W=(0,a.useMemo)((function(){return null===z||void 0===z?void 0:z.git_branch}),[z]),Q=(0,a.useMemo)((function(){return(null===W||void 0===W?void 0:W.remotes)||[]}),[W]),K=y.ZP.git_files.detail(f?encodeURIComponent(f):null,{base_branch:i}),X=K.data,Y=K.mutate,J=(0,a.useMemo)((function(){return null===X||void 0===X?void 0:X.git_file}),[X]);(0,a.useEffect)((function(){i&&Y()}),[i,Y]),(0,a.useEffect)((function(){null!==X&&void 0!==X&&X.error&&o({errors:null===X||void 0===X?void 0:X.error,response:X})}),[X,o]);var re=(0,a.useMemo)((function(){var e,n,r;return{modifiedFiles:null===A||void 0===A||null===(e=A.modified_files)||void 0===e?void 0:e.reduce((function(e,n){return Ce(Ce({},e),{},(0,c.Z)({},n,!0))}),{}),stagedFiles:null===A||void 0===A||null===(n=A.staged_files)||void 0===n?void 0:n.reduce((function(e,n){return Ce(Ce({},e),{},(0,c.Z)({},n,!0))}),{}),untrackedFiles:null===A||void 0===A||null===(r=A.untracked_files)||void 0===r?void 0:r.reduce((function(e,n){return Ce(Ce({},e),{},(0,c.Z)({},n,!0))}),{})}}),[A]),oe=re.modifiedFiles,te=void 0===oe?{}:oe,ie=re.stagedFiles,ce=void 0===ie?{}:ie,se=re.untrackedFiles,ue=void 0===se?{}:se;(0,a.useEffect)((function(){f&&(0,le.Qr)(te)&&(0,le.Qr)(ce)&&(0,le.Qr)(ue)&&v(null)}),[te,f,ce,ue]);var ae=(0,a.useMemo)((function(){return(null===T||void 0===T?void 0:T.length)>=1?(0,G.jsx)(ne.Z,{allowEmptyFolders:!0,disableContextMenu:!0,fetchFileTree:D,files:T,isFileDisabled:function(){return!1},onClickFile:function(e){v((function(r){if(!r||r!==e){var o;if(!i)null===n||void 0===n||null===(o=n.current)||void 0===o||o.focus();return e}return null}))},ref:e,renderAfterContent:function(e){var n,r,o=e.children,t=(null===o||void 0===o?void 0:o.length)>=1,i=(0,ge.a9)(e);t&&(i="".concat(i,"/"));var l={};return null!==te&&void 0!==te&&te[i]?(n="M",r="Modified",l.warning=!0):null!==ue&&void 0!==ue&&ue[i]?(n="U",r="Untracked",l.danger=!0):null!==ce&&void 0!==ce&&ce[i]&&(n="S",r="Staged",l.success=!0),t&&!n?null:(0,G.jsx)(b.Z,{mx:1,children:(0,G.jsx)(C.Z,{appearBefore:!0,label:r,widthFitContent:!0,children:(0,G.jsx)(p.ZP,Ce(Ce({},l),{},{monospace:!0,rightAligned:!0,small:!0,children:n}))})})},useRootFolder:!0}):(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(p.ZP,{monospace:!0,muted:!0,children:"No files modified"})})}),[i,D,e,T,te,n,v,ce,ue]),he=(0,a.useMemo)((function(){return!X||!J||f&&(null===J||void 0===J?void 0:J.filename)!==f}),[X,J,f]),fe=(0,a.useMemo)((function(){if(!f)return null;var e=J||{},n=e.content,r=e.content_from_base;return(0,G.jsxs)(xe,{children:[!i&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(p.ZP,{muted:!0,children:"Please select a base branch to see the file diffs."})}),(null===J||void 0===J?void 0:J.error)&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(p.ZP,{danger:!0,monospace:!0,preWrap:!0,children:null===J||void 0===J?void 0:J.error})}),i&&!(null!==J&&void 0!==J&&J.error)&&(0,G.jsxs)(G.Fragment,{children:[he&&(0,G.jsx)(b.Z,{p:U.cd,children:(0,G.jsx)(g.Z,{inverted:!0})}),!he&&(0,G.jsx)(u(),{compareMethod:d.DiffMethod.WORDS,newValue:n||"",oldValue:r||"",renderContent:function(e){return(0,G.jsx)(p.ZP,{monospace:!0,children:e})},splitView:!0,styles:be,useDarkTheme:!0})]})]})}),[i,J,he,f]),je=(0,a.useMemo)((function(){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)("div",{style:{marginBottom:.5*U.iI,marginTop:.5*U.iI},children:(0,G.jsx)(V.Z,{compact:!0,onClickTab:function(e){var n=e.uuid;(0,pe.u7)({tab:n})},selectedTabUUID:null===Z||void 0===Z?void 0:Z.uuid,tabs:N})}),(0,G.jsx)(m.Z,{light:!0})]})}),[Z]),we=(0,a.useMemo)((function(){return(0,G.jsx)(ve,{branch:A,fetchBranch:L,loading:!z,remotes:Q,showError:o})}),[A,z,L,Q,o]),ye=(0,a.useMemo)((function(){return(0,G.jsx)(q,{branch:A,branches:O,fetchBranch:D,fetchBranches:I,remotes:Q,showError:o})}),[A,O,D,I,Q,o]),ke=(0,a.useMemo)((function(){return(0,G.jsx)(de,{branch:A,fetchBranch:D,modifiedFiles:te,setSelectedFilePath:v,showError:o,stagedFiles:ce,untrackedFiles:ue})}),[A,D,te,v,o,ce,ue]),Pe=(0,a.useMemo)((function(){return(0,G.jsx)($,{branch:A,branches:O,fetchBranch:D,loading:!z,modifiedFiles:te,remotes:Q,showError:o,stagedFiles:ce})}),[A,O,z,D,te,Q,o,ce]);return(0,G.jsx)(ee.Z,{after:fe,afterHidden:!f,afterWidth:40*U.iI,before:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(b.Z,{p:1,children:(0,G.jsx)(x.Z,{compact:!0,label:"Base branch",onChange:function(e){return l(e.target.value)},ref:n,small:!0,value:i||"",children:null===O||void 0===O?void 0:O.map((function(e){var n=e.name;return(0,G.jsx)("option",{value:n,children:n},n)}))})}),ae]}),mainContainerHeader:je,title:"Version control",uuid:"Version control/index",children:(0,G.jsxs)(b.Z,{p:U.cd,children:[!M&&(0,G.jsx)(g.Z,{inverted:!0}),M&&(0,G.jsxs)(G.Fragment,{children:[H.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&we,B.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&ye,F.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&ke,E.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Pe]})]})})};function ke(){return(0,G.jsx)(ye,{})}ke.getInitialProps=(0,o.Z)(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var Pe=(0,l.Z)(ke)},75302:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/version-control",function(){return r(92589)}])}},function(e){e.O(0,[844,7607,7011,4407,1424,1005,7815,6694,551,9774,2888,179],(function(){return n=75302,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"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Files | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3527178abd99bc87.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7607-324c3a1e4e7d0628.js" defer=""></script><script src="/_next/static/chunks/7011-81dd8269c4806d26.js" defer=""></script><script src="/_next/static/chunks/8789-4f858e520d46973b.js" defer=""></script><script src="/_next/static/chunks/1424-f475cae42f8a7fca.js" defer=""></script><script src="/_next/static/chunks/1005-d364db1eba919edd.js" defer=""></script><script src="/_next/static/chunks/7815-6eb7d2c7b62e0b18.js" defer=""></script><script src="/_next/static/chunks/3714-b676173cd4d8d86c.js" defer=""></script><script src="/_next/static/chunks/551-506f3e09bb4033e2.js" defer=""></script><script src="/_next/static/chunks/7722-a74e6f977993e75e.js" defer=""></script><script src="/_next/static/chunks/4127-3b7aa3d094304e35.js" defer=""></script><script src="/_next/static/chunks/pages/files-82b5409dac9564f4.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_buildManifest.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_ssgManifest.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_middlewareManifest.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*/
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Files | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-171846e16d26855a.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7607-324c3a1e4e7d0628.js" defer=""></script><script src="/_next/static/chunks/7011-81dd8269c4806d26.js" defer=""></script><script src="/_next/static/chunks/8789-4f858e520d46973b.js" defer=""></script><script src="/_next/static/chunks/1424-90c0f66ba2f86b88.js" defer=""></script><script src="/_next/static/chunks/1005-d364db1eba919edd.js" defer=""></script><script src="/_next/static/chunks/7815-6eb7d2c7b62e0b18.js" defer=""></script><script src="/_next/static/chunks/6694-c8f2a68074420906.js" defer=""></script><script src="/_next/static/chunks/7722-a74e6f977993e75e.js" defer=""></script><script src="/_next/static/chunks/551-506f3e09bb4033e2.js" defer=""></script><script src="/_next/static/chunks/4127-3b7aa3d094304e35.js" defer=""></script><script src="/_next/static/chunks/pages/files-e4e778f8f5e1bf2e.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_buildManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_ssgManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_middlewareManifest.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*/
@@ -21,4 +21,4 @@ data-styled.g72[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"ijwRXz,"}/
21
21
  @-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
22
22
  @keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
23
23
  data-styled.g73[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"jQArIy,"}/*!sc*/
24
- </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 class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/files","query":{},"buildId":"YLZRSrQ0aqtl-GGePfsMB","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
24
+ </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 class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/files","query":{},"buildId":"WRxCTOtmZhTqQws_7OJZD","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -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="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3527178abd99bc87.js" defer=""></script><script src="/_next/static/chunks/pages/index-b6cd94a079629572.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_buildManifest.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_ssgManifest.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_middlewareManifest.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*/
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="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-171846e16d26855a.js" defer=""></script><script src="/_next/static/chunks/pages/index-b6cd94a079629572.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_buildManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_ssgManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_middlewareManifest.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 class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/","query":{},"buildId":"YLZRSrQ0aqtl-GGePfsMB","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
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 class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/","query":{},"buildId":"WRxCTOtmZhTqQws_7OJZD","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Workspaces | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-171846e16d26855a.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7607-324c3a1e4e7d0628.js" defer=""></script><script src="/_next/static/chunks/8789-4f858e520d46973b.js" defer=""></script><script src="/_next/static/chunks/1424-90c0f66ba2f86b88.js" defer=""></script><script src="/_next/static/chunks/1005-d364db1eba919edd.js" defer=""></script><script src="/_next/static/chunks/7722-a74e6f977993e75e.js" defer=""></script><script src="/_next/static/chunks/pages/manage/settings-c788c1b127999825.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_buildManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_ssgManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_middlewareManifest.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
+ *,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
3
+ data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
4
+ .kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
5
+ .kOVcuR .Toastify__toast{border-radius:8px !important;font-family:Greycliff Medium,Helvetica Neue,Helvetica,sans-serif !important;font-size:14px !important;line-height:20px !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;margin-top:16px !important;min-height:0 !important;padding:16px !important;}/*!sc*/
6
+ .kOVcuR .Toastify__toast-body{margin:0 !important;}/*!sc*/
7
+ .kOVcuR .Toastify__toast--error{background:#FF1E59 !important;color:#FFFFFF !important;}/*!sc*/
8
+ .kOVcuR .Toastify__toast--info{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
9
+ .kOVcuR .Toastify__toast--success{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
10
+ .kOVcuR .Toastify__toast--warning{background:#DD9900 !important;color:#FFFFFF !important;}/*!sc*/
11
+ data-styled.g5[id="ToastWrapper-sc-1a33ph1-0"]{content:"kOVcuR,"}/*!sc*/
12
+ .dKQluW{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}/*!sc*/
13
+ data-styled.g6[id="Flex-sc-sgfnl9-0"]{content:"dKQluW,"}/*!sc*/
14
+ .hDBiHu{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px;}/*!sc*/
15
+ data-styled.g8[id="Spacing__SpacingStyle-sc-1mpmtgj-0"]{content:"hDBiHu,"}/*!sc*/
16
+ .gbXfes{height:48px;left:0;padding-left:16px;padding-right:16px;position:fixed;top:0;width:100%;z-index:10;background-color:#232429;border-bottom:1px solid #1C1C1C;}/*!sc*/
17
+ data-styled.g70[id="indexstyle__HeaderStyle-sc-1bk8irg-0"]{content:"gbXfes,"}/*!sc*/
18
+ .ijwRXz{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:calc(100vh - 48px);position:fixed;top:48px;width:100%;background-color:#1E1F24;}/*!sc*/
19
+ data-styled.g72[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"ijwRXz,"}/*!sc*/
20
+ .jQArIy{height:100%;background-color:#232429;border-right:1px solid #1C1C1C;}/*!sc*/
21
+ @-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
22
+ @keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
23
+ data-styled.g73[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"jQArIy,"}/*!sc*/
24
+ </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 class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/manage/settings","query":{},"buildId":"WRxCTOtmZhTqQws_7OJZD","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Workspaces | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3527178abd99bc87.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7607-324c3a1e4e7d0628.js" defer=""></script><script src="/_next/static/chunks/1424-f475cae42f8a7fca.js" defer=""></script><script src="/_next/static/chunks/1005-d364db1eba919edd.js" defer=""></script><script src="/_next/static/chunks/7815-6eb7d2c7b62e0b18.js" defer=""></script><script src="/_next/static/chunks/pages/manage/users/%5Buser%5D-bb6aaa23e92a5add.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_buildManifest.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_ssgManifest.js" defer=""></script><script src="/_next/static/YLZRSrQ0aqtl-GGePfsMB/_middlewareManifest.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*/
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Workspaces | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-171846e16d26855a.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7607-324c3a1e4e7d0628.js" defer=""></script><script src="/_next/static/chunks/1424-90c0f66ba2f86b88.js" defer=""></script><script src="/_next/static/chunks/1005-d364db1eba919edd.js" defer=""></script><script src="/_next/static/chunks/7815-6eb7d2c7b62e0b18.js" defer=""></script><script src="/_next/static/chunks/3883-c95563b9f60ae526.js" defer=""></script><script src="/_next/static/chunks/pages/manage/users/%5Buser%5D-b4650224a19e8fe6.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_buildManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_ssgManifest.js" defer=""></script><script src="/_next/static/WRxCTOtmZhTqQws_7OJZD/_middlewareManifest.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*/
@@ -21,4 +21,4 @@ data-styled.g72[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"ijwRXz,"}/
21
21
  @-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
22
22
  @keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
23
23
  data-styled.g73[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"jQArIy,"}/*!sc*/
24
- </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 class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><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":{"user":{},"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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/manage/users/[user]","query":{},"buildId":"YLZRSrQ0aqtl-GGePfsMB","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
24
+ </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 class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><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":{"user":{},"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","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"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","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":"#2E3036","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","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"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","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":"/manage/users/[user]","query":{},"buildId":"WRxCTOtmZhTqQws_7OJZD","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>