mage-ai 0.8.25__py3-none-any.whl → 0.8.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/data_integrations/sources/constants.py +1 -0
- mage_ai/data_preparation/executors/streaming_pipeline_executor.py +2 -1
- mage_ai/data_preparation/logging/logger_manager.py +7 -1
- mage_ai/data_preparation/models/block/__init__.py +60 -17
- mage_ai/data_preparation/models/block/sql/__init__.py +64 -17
- mage_ai/data_preparation/models/block/sql/utils/shared.py +49 -3
- mage_ai/data_preparation/models/variable.py +6 -1
- mage_ai/data_preparation/repo_manager.py +5 -2
- mage_ai/data_preparation/shared/secrets.py +6 -3
- mage_ai/data_preparation/templates/sensors/bigquery.py +32 -0
- mage_ai/data_preparation/templates/sensors/mysql.py +33 -0
- mage_ai/data_preparation/templates/sensors/postgres.py +33 -0
- mage_ai/data_preparation/templates/sensors/redshift.py +33 -0
- mage_ai/data_preparation/templates/sensors/s3.py +11 -7
- mage_ai/data_preparation/templates/sensors/snowflake.py +33 -0
- mage_ai/io/postgres.py +13 -1
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/404.html.html +2 -2
- mage_ai/server/frontend_dist/_next/static/WbTBCvyjQQ9UFFLZOU1E5/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2344-f8ae030d6a6863ae.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2626-e7fa4f83f8214c97.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4178-663d9f70bffc7a47.js → 4178-a6d1bd2be4706f51.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/4261-88b0103fad331620.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4538-8a3c3e47be976ede.js → 4538-347283088b83c6bf.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5141-57c3868a80196da8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5477-e2cc1ca7108ebc6b.js → 5477-b439f211b6146a11.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{5872-103815a4a043489b.js → 5872-1767c45ee6690ae5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{5896-f84e336fb8877027.js → 5896-10a676bcc86978cc.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6166-705b4fdecaf11e63.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/6532-b1bd0b3f422abec8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{7400-26ce25ec46728ef7.js → 7400-a48b270726b9eef5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8180-8de652170ea5ed93.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/839-15c54471a9a9bf2e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{9386-4b9e157e18dd2c65.js → 9386-d4cc11bab74eec8d.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{9832-c8b8970bb522f302.js → 9832-f97919376d52e3bf.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-624f87faa4b5ee9a.js → _app-5f3dbed367342a3d.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-3046bc53d24917c7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-f6059e27e601627c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-123556bdfe2e194b.js → [...slug]-050ef37b6672100a.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-5f95bb4c3a2d7d46.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-270c0198eeef1542.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-c9f1df40e0aa6981.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/{block-runs-e0eb0098dcbf27ac.js → block-runs-d74850779dbe87b3.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-848544a58563dbec.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-204daac985c03b62.js → monitors-675171cfd7d7b346.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/{[run]-44533e244974a422.js → [run]-b2955f0ff960894e.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{runs-2d41695001370abc.js → runs-219960b3cc4742e3.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-1767a2f57f887ef7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-0f373aaa7deb98c9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{triggers-181343d8eb894426.js → triggers-bea0439ca2a862ba.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-7446a70bdd8381a5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{preferences-cd6121ffe82e3834.js → preferences-997acba85f777259.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-91fbb84976467947.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-d72dfc596e943cc4.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-c99e74aa506a6cfd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-4c9ad80f8f9d1074.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-783b9526167f1249.js +1 -0
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage.html +4 -4
- mage_ai/server/frontend_dist/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +5 -5
- mage_ai/server/frontend_dist/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/{sync_data.html → sync-data.html} +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +9 -9
- mage_ai/server/frontend_dist/terminal.html +5 -5
- mage_ai/server/frontend_dist/test.html +3 -3
- mage_ai/server/frontend_dist/triggers.html +5 -5
- mage_ai/server/server.py +1 -6
- mage_ai/shared/security.py +9 -2
- mage_ai/shared/utils.py +7 -0
- mage_ai/tests/data_preparation/models/block/__init__.py +0 -0
- mage_ai/tests/data_preparation/models/block/test_sql.py +42 -0
- mage_ai/tests/data_preparation/models/test_block.py +63 -0
- mage_ai/tests/shared/test_security.py +6 -6
- {mage_ai-0.8.25.dist-info → mage_ai-0.8.27.dist-info}/METADATA +1 -1
- {mage_ai-0.8.25.dist-info → mage_ai-0.8.27.dist-info}/RECORD +99 -92
- mage_ai/server/frontend_dist/_next/static/ErmV1Ii-luEqAYMZkbkmO/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1830-3882c19d710feadd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2344-a82a406b72fe782b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2626-501fffa58c71ee7c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3688-562e0f129b09d1cd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3699-dcc0946dd0709216.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/4463-777e71000be29fc4.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6532-baf1818fbc89e6c1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6567-2488118bb39a9d99.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-11d6cbf2313f0689.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-c226d1e215d66129.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-26974ca695994804.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-1de289b75e9c5bf1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-72011b08ef047531.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-3b17a6d28cdde471.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-c31fec2be1160dbe.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-3a60003fce7dfb93.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-0e88f39d4980fc10.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync_data-64e03c3a285d301e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-ff24167e21f2f0cf.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-404d934deb8950d5.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-90abd9c4dfca2556.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-6540e41d09691d6b.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{ErmV1Ii-luEqAYMZkbkmO → WbTBCvyjQQ9UFFLZOU1E5}/_middlewareManifest.js +0 -0
- /mage_ai/server/frontend_dist/_next/static/{ErmV1Ii-luEqAYMZkbkmO → WbTBCvyjQQ9UFFLZOU1E5}/_ssgManifest.js +0 -0
- {mage_ai-0.8.25.dist-info → mage_ai-0.8.27.dist-info}/LICENSE +0 -0
- {mage_ai-0.8.25.dist-info → mage_ai-0.8.27.dist-info}/WHEEL +0 -0
- {mage_ai-0.8.25.dist-info → mage_ai-0.8.27.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.8.25.dist-info → mage_ai-0.8.27.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7400],{98677:function(n,e,t){function r(n,e,t){n=+n,e=+e,t=(i=arguments.length)<2?(e=n,n=0,1):i<3?1:+t;for(var r=-1,i=0|Math.max(0,Math.ceil((e-n)/t)),o=new Array(i);++r<i;)o[r]=n+r*t;return o}t.d(e,{Z:function(){return a}});var i=t(8208),o=t(8162);function u(){var n,e,t=(0,o.Z)().unknown(void 0),c=t.domain,a=t.range,l=0,d=1,f=!1,s=0,p=0,h=.5;function v(){var t=c().length,i=d<l,o=i?d:l,u=i?l:d;n=(u-o)/Math.max(1,t-s+2*p),f&&(n=Math.floor(n)),o+=(u-o-n*(t-s))*h,e=n*(1-s),f&&(o=Math.round(o),e=Math.round(e));var v=r(t).map((function(e){return o+n*e}));return a(i?v.reverse():v)}return delete t.unknown,t.domain=function(n){return arguments.length?(c(n),v()):c()},t.range=function(n){return arguments.length?([l,d]=n,l=+l,d=+d,v()):[l,d]},t.rangeRound=function(n){return[l,d]=n,l=+l,d=+d,f=!0,v()},t.bandwidth=function(){return e},t.step=function(){return n},t.round=function(n){return arguments.length?(f=!!n,v()):f},t.padding=function(n){return arguments.length?(s=Math.min(1,p=+n),v()):s},t.paddingInner=function(n){return arguments.length?(s=Math.min(1,n),v()):s},t.paddingOuter=function(n){return arguments.length?(p=+n,v()):p},t.align=function(n){return arguments.length?(h=Math.max(0,Math.min(1,n)),v()):h},t.copy=function(){return u(c(),[l,d]).round(f).paddingInner(s).paddingOuter(p).align(h)},i.o.apply(v(),arguments)}var c=(0,t(93342).Z)("domain","range","reverse","align","padding","round");function a(n){return c(u(),n)}},62072:function(n,e,t){function r(n){return null==n?void 0:n[0]}function i(n){return null==n?void 0:n[1]}t.d(e,{l8:function(){return r},xf:function(){return i}})},53989:function(n,e,t){function r(n){if("bandwidth"in n)return n.bandwidth();var e=n.range(),t=n.domain();return Math.abs(e[e.length-1]-e[0])/t.length}t.d(e,{Z:function(){return r}})},59309:function(n,e,t){t.d(e,{ZP:function(){return l}});var r=t(12759),i=t(27500),o=t(82610),u=t(34812),c=t(77944),a={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:u.Z,wiggle:c.Z};Object.keys(a);function l(n){return n&&a[n]||a.none}},18246:function(n,e,t){t.d(e,{ZP:function(){return l}});var r=t(39586),i=t(25516),o=t(54164),u=t(8512),c=t(2010),a={ascending:r.Z,descending:i.Z,insideout:o.Z,none:u.Z,reverse:c.Z};Object.keys(a);function l(n){return n&&a[n]||a.none}},13946:function(n,e,t){t.d(e,{t:function(){return r}});var r=Array.prototype.slice},27500:function(n,e,t){function r(n,e){if((c=n.length)>0)for(var t,r,i,o,u,c,a=0,l=n[e[0]].length;a<l;++a)for(o=u=0,t=0;t<c;++t)(i=(r=n[e[t]][a])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)}t.d(e,{Z:function(){return r}})},12759:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(82610);function i(n,e){if((i=n.length)>0){for(var t,i,o,u=0,c=n[0].length;u<c;++u){for(o=t=0;t<i;++t)o+=n[t][u][1]||0;if(o)for(t=0;t<i;++t)n[t][u][1]/=o}(0,r.Z)(n,e)}}},82610:function(n,e,t){function r(n,e){if((i=n.length)>1)for(var t,r,i,o=1,u=n[e[0]],c=u.length;o<i;++o)for(r=u,u=n[e[o]],t=0;t<c;++t)u[t][1]+=u[t][0]=isNaN(r[t][1])?r[t][0]:r[t][1]}t.d(e,{Z:function(){return r}})},34812:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(82610);function i(n,e){if((t=n.length)>0){for(var t,i=0,o=n[e[0]],u=o.length;i<u;++i){for(var c=0,a=0;c<t;++c)a+=n[c][i][1]||0;o[i][1]+=o[i][0]=-a/2}(0,r.Z)(n,e)}}},77944:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(82610);function i(n,e){if((o=n.length)>0&&(i=(t=n[e[0]]).length)>0){for(var t,i,o,u=0,c=1;c<i;++c){for(var a=0,l=0,d=0;a<o;++a){for(var f=n[e[a]],s=f[c][1]||0,p=(s-(f[c-1][1]||0))/2,h=0;h<a;++h){var v=n[e[h]];p+=(v[c][1]||0)-(v[c-1][1]||0)}l+=s,d+=p*s}t[c-1][1]+=t[c-1][0]=u,l&&(u-=d/l)}t[c-1][1]+=t[c-1][0]=u,(0,r.Z)(n,e)}}},34128:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(8512);function i(n){var e=n.map(o);return(0,r.Z)(n).sort((function(n,t){return e[n]-e[t]}))}function o(n){for(var e,t=-1,r=0,i=n.length,o=-1/0;++t<i;)(e=+n[t][1])>o&&(o=e,r=t);return r}},39586:function(n,e,t){t.d(e,{S:function(){return o},Z:function(){return i}});var r=t(8512);function i(n){var e=n.map(o);return(0,r.Z)(n).sort((function(n,t){return e[n]-e[t]}))}function o(n){for(var e,t=0,r=-1,i=n.length;++r<i;)(e=+n[r][1])&&(t+=e);return t}},25516:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(39586);function i(n){return(0,r.Z)(n).reverse()}},54164:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(34128),i=t(39586);function o(n){var e,t,o=n.length,u=n.map(i.S),c=(0,r.Z)(n),a=0,l=0,d=[],f=[];for(e=0;e<o;++e)t=c[e],a<l?(a+=u[t],d.push(t)):(l+=u[t],f.push(t));return f.reverse().concat(d)}},8512:function(n,e,t){function r(n){for(var e=n.length,t=new Array(e);--e>=0;)t[e]=e;return t}t.d(e,{Z:function(){return r}})},2010:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(8512);function i(n){return(0,r.Z)(n).reverse()}},75823:function(n,e,t){t.d(e,{Z:function(){return a}});var r=t(13946),i=t(90875),o=t(82610),u=t(8512);function c(n,e){return n[e]}function a(){var n=(0,i.Z)([]),e=u.Z,t=o.Z,a=c;function l(r){var i,o,u=n.apply(this,arguments),c=r.length,l=u.length,d=new Array(l);for(i=0;i<l;++i){for(var f,s=u[i],p=d[i]=new Array(c),h=0;h<c;++h)p[h]=f=[0,+a(r[h],s,h,r)],f.data=r[h];p.key=s}for(i=0,o=e(d);i<l;++i)d[o[i]].index=i;return t(d,o),d}return l.keys=function(e){return arguments.length?(n="function"===typeof e?e:(0,i.Z)(r.t.call(e)),l):n},l.value=function(n){return arguments.length?(a="function"===typeof n?n:(0,i.Z)(+n),l):a},l.order=function(n){return arguments.length?(e=null==n?u.Z:"function"===typeof n?n:(0,i.Z)(r.t.call(n)),l):e},l.offset=function(n){return arguments.length?(t=null==n?o.Z:n,l):t},l}},92953:function(n,e,t){var r;t.d(e,{a:function(){return r}}),function(n){n.BLOCK_RUNS="block_runs",n.BLOCK_RUNTIME="block_runtime",n.PIPELINE_RUNS="pipeline_runs"}(r||(r={}))},87465:function(n,e,t){t.d(e,{Z:function(){return m}});t(82684);var r=t(34376),i=t(87372),o=t(2626),u=t(86673),c=t(19711),a=t(2850),l=t(9518),d=t(23831),f=t(49125),s=l.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-1in9sst-0"})(["padding:","px ","px;"," ",""],f.iI,f.tr,(function(n){return n.selected&&"\n background-color: ".concat((n.theme.interactive||d.Z.interactive).checked,";\n ")}),(function(n){return!n.selected&&"\n cursor: pointer;\n "})),p=t(92953),h=t(59920),v=t(28598);var m=function(n){var e=n.breadcrumbs,t=n.children,l=n.monitorType,d=n.pipeline,m=n.subheader,g=(0,r.useRouter)();return(0,v.jsx)(o.Z,{before:(0,v.jsxs)(a.M,{children:[(0,v.jsx)(u.Z,{p:f.cd,children:(0,v.jsx)(i.Z,{level:4,muted:!0,children:"Insights"})}),(0,v.jsx)(s,{onClick:function(n){n.preventDefault(),g.push("/pipelines/[pipeline]/monitors","/pipelines/".concat(null===d||void 0===d?void 0:d.uuid,"/monitors"))},selected:p.a.PIPELINE_RUNS==l,children:(0,v.jsx)(c.ZP,{children:"Pipeline runs"})}),(0,v.jsx)(s,{onClick:function(n){n.preventDefault(),g.push("/pipelines/[pipeline]/monitors/block-runs","/pipelines/".concat(null===d||void 0===d?void 0:d.uuid,"/monitors/block-runs"))},selected:p.a.BLOCK_RUNS==l,children:(0,v.jsx)(c.ZP,{children:"Block runs"})}),(0,v.jsx)(s,{onClick:function(n){n.preventDefault(),g.push("/pipelines/[pipeline]/monitors/block-runtime","/pipelines/".concat(null===d||void 0===d?void 0:d.uuid,"/monitors/block-runtime"))},selected:p.a.BLOCK_RUNTIME==l,children:(0,v.jsx)(c.ZP,{children:"Block runtime"})})]}),breadcrumbs:e,pageName:h.M.MONITOR,pipeline:d,subheader:m,uuid:"pipeline/monitor",children:t})}},2850:function(n,e,t){t.d(e,{M:function(){return c},W:function(){return u}});var r=t(9518),i=t(23831),o=t(3055),u=34*t(49125).iI,c=r.default.div.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-12ee2ib-0"})(["min-height:calc(100vh - ","px);",""],o.Mz,(function(n){return"\n border-left: 1px solid ".concat((n.theme.borders||i.Z.borders).medium,";\n ")}))},21679:function(n,e,t){t.d(e,{Z:function(){return K}});var r=t(26304),i=t(82394),o=t(21831),u=t(82684),c=t(84969),a=t(90948),l=t(63588),d=t.n(l),f=t(75823),s=t(29989),p=t(62072),h=t(53989),v=t(49894),m=t(18246),g=t(59309),Z=t(65743),x=["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"];function y(){return y=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},y.apply(this,arguments)}function b(n){var e=n.data,t=n.className,r=n.top,i=n.left,o=n.x,c=n.y0,a=void 0===c?p.l8:c,l=n.y1,b=void 0===l?p.xf:l,j=n.xScale,k=n.yScale,O=n.color,w=n.keys,P=n.value,E=n.order,M=n.offset,T=n.children,_=function(n,e){if(null==n)return{};var t,r,i={},o=Object.keys(n);for(r=0;r<o.length;r++)t=o[r],e.indexOf(t)>=0||(i[t]=n[t]);return i}(n,x),I=(0,f.Z)();w&&I.keys(w),P&&(0,v.Z)(I.value,P),E&&I.order((0,m.ZP)(E)),M&&I.offset((0,g.ZP)(M));var S=I(e),N=(0,h.Z)(j),A=S.map((function(n,e){var t=n.key;return{index:e,key:t,bars:n.map((function(e,r){var i=(k(a(e))||0)-(k(b(e))||0),u=k(b(e)),c="bandwidth"in j?j(o(e.data)):Math.max((j(o(e.data))||0)-N/2);return{bar:e,key:t,index:r,height:i,width:N,x:c||0,y:u||0,color:O(n.key,r)}}))}}));return T?u.createElement(u.Fragment,null,T(A)):u.createElement(s.Z,{className:d()("visx-bar-stack",t),top:r,left:i},A.map((function(n){return n.bars.map((function(e){return u.createElement(Z.Z,y({key:"bar-stack-"+n.index+"-"+e.index,x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},_))}))})))}var j=t(67778),k=t(17066),O=t(29179),w=t(65376),P=t(48072),E=t(98677),M=t(84181),T=t(24903),_=t(67971),I=t(26226),S=t(19711),N=t(52359),A=t(23831),L=t(73942),C=t(2005),D=t(49125),R=t(344),F=t(28598),U=["height","width","xAxisLabel","yAxisLabel"];function B(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function V(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?B(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function Y(n){var e=n.colors,t=n.data,r=n.getXValue,i=(n.getYValue,n.height),u=n.keys,l=n.margin,d=n.numYTicks,f=n.showLegend,p=n.width,h=n.xLabelFormat,v=n.yLabelFormat,m=(0,O.Z)(),g=m.hideTooltip,Z=m.showTooltip,x=m.tooltipData,y=m.tooltipLeft,_=m.tooltipOpen,I=m.tooltipTop,N=p-(l.left+l.right),D=i-(l.bottom+l.top),U=t.reduce((function(n,e){var t=e,r=u.reduce((function(n,e){return Number(t[e])&&(n+=Number(t[e])),n}),0);return n.push(r),n}),[]),B=(0,E.Z)({domain:t.map(r),padding:.4,range:[0,N],round:!1}),Y=(0,M.Z)({domain:[0,Math.max.apply(Math,(0,o.Z)(U))],range:[D,0],round:!0}),K=(0,T.Z)({domain:u,range:e});return(0,F.jsxs)("div",{style:{position:"relative"},children:[(0,F.jsxs)("svg",{width:p,height:i,children:[(0,F.jsx)("rect",{x:0,y:0,width:p,height:i,fill:"#2E3036",rx:14}),(0,F.jsx)(j.Z,{top:l.top,left:l.left,scale:Y,width:N,height:D,stroke:"black",strokeOpacity:.2}),(0,F.jsx)(s.Z,{top:l.top,children:(0,F.jsx)(b,{data:t,keys:u,value:function(n,e){return n[e]||0},x:r,xScale:B,yScale:Y,color:K,children:function(n){return n.map((function(n){return n.bars.map((function(e){return(0,F.jsx)("rect",{x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color,onMouseLeave:g,onMouseMove:function(n){var t=(0,P.Z)(n),r=e.x+e.width/2;Z({tooltipData:e,tooltipTop:null===t||void 0===t?void 0:t.y,tooltipLeft:r})}},"bar-stack-".concat(n.index,"-").concat(e.index))}))}))}})}),(0,F.jsx)(c.Z,{hideTicks:!0,left:l.left,numTicks:d,scale:Y,stroke:A.Z.content.muted,tickFormat:function(n){return v?v(n):(0,R.P5)(n)},tickLabelProps:function(){return{fill:A.Z.content.muted,fontFamily:C.ry,fontSize:11,textAnchor:"end",transform:"translate(0,2.5)"}},top:l.top}),(0,F.jsx)(a.Z,{hideTicks:!0,left:l.left,top:D+l.top,scale:B,stroke:A.Z.content.muted,tickFormat:h,tickLabelProps:function(){return{fill:A.Z.content.muted,fontFamily:C.ry,fontSize:11,textAnchor:"middle"}}})]}),f&&(0,F.jsx)("div",{style:{position:"absolute",top:l.top/2-10,width:"100%",display:"flex",justifyContent:"center",fontSize:"14px"},children:(0,F.jsx)(k.Z,{scale:K,direction:"row",labelMargin:"0 15px 0 0"})}),_&&x&&(0,F.jsxs)(w.Z,{top:I,left:y,style:V(V({},w.j),{},{backgroundColor:A.Z.background.page,borderRadius:"".concat(L.TR,"px")}),children:[(0,F.jsx)(S.ZP,{bold:!0,color:K(x.key),children:x.key}),(0,F.jsx)(S.ZP,{children:x.bar.data[x.key]}),(0,F.jsx)(S.ZP,{children:r(x.bar.data)})]})]})}var K=function(n){var e=n.height,t=n.width,i=n.xAxisLabel,o=n.yAxisLabel,u=(0,r.Z)(n,U);return(0,F.jsx)(F.Fragment,{children:(0,F.jsxs)("div",{style:{height:e,marginBottom:D.iI,width:t},children:[o&&(0,F.jsx)(_.Z,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,F.jsx)(N.Z,{children:(0,F.jsx)(S.ZP,{center:!0,muted:!0,small:!0,children:o})})}),(0,F.jsx)("div",{style:{height:e,width:o?0===t?t:t-28:t},children:(0,F.jsx)(I.Z,{children:function(n){var e=n.height,t=n.width;return(0,F.jsx)(Y,V(V({},u),{},{height:e,width:t}))}})}),i&&(0,F.jsx)("div",{style:{paddingLeft:o?36:0,paddingTop:4},children:(0,F.jsx)(S.ZP,{center:!0,muted:!0,small:!0,children:i})})]})})}},52359:function(n,e,t){var r=t(9518).default.div.withConfig({displayName:"YAxisLabelContainer",componentId:"sc-qwp21x-0"})(["-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);white-space:nowrap;"]);e.Z=r},344:function(n,e,t){t.d(e,{P5:function(){return i},Vs:function(){return o}});t(90211);var r=Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:2});function i(n){return"number"!==typeof n?n:n>=1e4?r.format(n):n.toString()}function o(n,e,t){var r,i;if("undefined"===typeof n||"undefined"===typeof e)return 0;var o=null===n||void 0===n||null===(r=n(e,t))||void 0===r||null===(i=r.props)||void 0===i?void 0:i.children;return(Array.isArray(o)?o:[o]).join("").length}},93348:function(n,e,t){t.d(e,{TR:function(){return f},U5:function(){return a},Xm:function(){return o},Z4:function(){return d},fq:function(){return c},kJ:function(){return l}});var r,i,o,u=t(82394);!function(n){n.API="api",n.EVENT="event",n.TIME="time"}(o||(o={}));var c,a,l,d=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(n){n.ACTIVE="active",n.INACTIVE="inactive"}(c||(c={})),function(n){n.ONCE="@once",n.HOURLY="@hourly",n.DAILY="@daily",n.WEEKLY="@weekly",n.MONTHLY="@monthly"}(a||(a={})),function(n){n.CREATED_AT="created_at",n.NAME="name",n.PIPELINE="pipeline_uuid",n.STATUS="status",n.TYPE="schedule_type"}(l||(l={}));var f=(i={},(0,u.Z)(i,l.CREATED_AT,"Created at"),(0,u.Z)(i,l.NAME,"Name"),(0,u.Z)(i,l.PIPELINE,"Pipeline"),(0,u.Z)(i,l.STATUS,"Status"),(0,u.Z)(i,l.TYPE,"Type"),i)},67400:function(n,e,t){t.r(e),t.d(e,{BAR_STACK_COLORS:function(){return N},BAR_STACK_STATUSES:function(){return A}});var r=t(77837),i=t(75582),o=t(82394),u=t(38860),c=t.n(u),a=t(82684),l=t(12691),d=t.n(l),f=t(92083),s=t.n(f),p=t(9518),h=t(21679),v=t(67971),m=t(87372),g=t(10919),Z=t(87465),x=t(41788),y=t(86673),b=t(19711),j=t(82531),k=t(23831),O=t(10503),w=t(92953),P=t(93348),E=t(49125),M=t(90211),T=t(28598);function _(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function I(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?_(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var S=p.default.div.withConfig({displayName:"monitors__GradientTextStyle",componentId:"sc-1is2m2l-0"})(["background:linear-gradient(90deg,#7D55EC 28.12%,#2AB2FE 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;"]),N=[k.Z.accent.warning,k.Z.background.success,k.Z.accent.negative,k.Z.content.active,k.Z.interactive.linkPrimary],A=["cancelled","completed","failed","initial","running"];function L(n){var e=n.pipeline.uuid,t=j.ZP.pipeline_schedules.pipelines.list(e).data,r=(0,a.useMemo)((function(){return null===t||void 0===t?void 0:t.pipeline_schedules}),[t]),u=(0,a.useMemo)((function(){return null===r||void 0===r?void 0:r.reduce((function(n,e){return I(I({},n),{},(0,o.Z)({},null===e||void 0===e?void 0:e.id,e))}),{})}),[r]),c=j.ZP.pipelines.detail(e,{includes_content:!1,includes_outputs:!1},{revalidateOnFocus:!1}).data,l=(0,a.useMemo)((function(){return I(I({},null===c||void 0===c?void 0:c.pipeline),{},{uuid:e})}),[c,e]),f=j.ZP.monitor_stats.detail("pipeline_run_count",{pipeline_uuid:null===l||void 0===l?void 0:l.uuid}).data,p=((null===f||void 0===f?void 0:f.monitor_stat)||{}).stats,x=(0,a.useMemo)((function(){for(var n=new Date,e=[],t=0;t<90;t++)e.unshift(n.toISOString().split("T")[0]),n.setDate(n.getDate()-1);return e}),[]),k=(0,a.useMemo)((function(){if(p){var n=Object.entries(p).reduce((function(n,e){var t=(0,i.Z)(e,2),r=(t[0],t[1].data),o={};return Object.entries(r).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],u=t[1],c={};r in n&&(c=n[r]);var a={};Object.entries(u).forEach((function(n){var e,t=(0,i.Z)(n,2),r=t[0],o=t[1],u=null!==(e=c)&&void 0!==e&&e[r]?c[r]:0;a[r]=u+o})),o[r]=I(I({},c),a)})),I(I({},n),o)}),{});return x.map((function(e){return I({date:e},n[e]||{})}))}return[]}),[x,p]),_=(0,a.useMemo)((function(){if(p)return Object.entries(p).reduce((function(n,e){var t=(0,i.Z)(e,2),r=t[0],u=t[1].data,c=x.map((function(n){return I({date:n},u[n]||{})}));return I(I({},n),{},(0,o.Z)({},r,c))}),{})}),[x,p]),L=(0,a.useMemo)((function(){var n=[];return n.push({bold:!0,label:function(){return"Monitors"}}),n}),[l]);return(0,T.jsx)(Z.Z,{breadcrumbs:L,monitorType:w.a.PIPELINE_RUNS,pipeline:l,children:(0,T.jsxs)(y.Z,{mt:2,mx:2,children:[(0,T.jsx)(y.Z,{ml:1,children:(0,T.jsx)(S,{children:(0,T.jsx)(m.Z,{children:"All pipeline runs"})})}),(0,T.jsx)(y.Z,{mt:1,children:(0,T.jsx)(h.Z,{colors:N,data:k,getXValue:function(n){return n.date},height:200,keys:A,margin:{top:10,bottom:30,left:35,right:0},xLabelFormat:function(n){return s()(n).format("MMM DD")}})}),_&&Object.entries(_).map((function(n){var t,r=(0,i.Z)(n,2),o=r[0],c=r[1],a=null===u||void 0===u?void 0:u[o];return(0,T.jsxs)(y.Z,{mt:3,children:[(0,T.jsxs)(v.Z,{alignItems:"center",children:[(0,T.jsx)(y.Z,{mx:1,children:(0,T.jsx)(S,{children:(0,T.jsx)(b.ZP,{bold:!0,large:!0,children:(0,M.kC)(null===(t=P.Z4[null===a||void 0===a?void 0:a.schedule_type])||void 0===t?void 0:t.call(P.Z4))})})}),(0,T.jsx)(d(),{as:"/pipelines/".concat(e,"/triggers/").concat(null===a||void 0===a?void 0:a.id),href:"/pipelines/[pipeline]/triggers/[...slug]",passHref:!0,children:(0,T.jsx)(g.Z,{children:(0,T.jsxs)(v.Z,{alignItems:"center",children:[(0,T.jsx)(m.Z,{level:5,children:(null===a||void 0===a?void 0:a.name)||o}),(0,T.jsx)(y.Z,{ml:1}),(0,T.jsx)(O._Q,{default:!0,size:2*E.iI})]})})})]}),(0,T.jsx)(y.Z,{mt:1,children:(0,T.jsx)(h.Z,{colors:N,data:c,getXValue:function(n){return n.date},height:200,keys:A,margin:{top:10,bottom:30,left:35,right:0},xLabelFormat:function(n){return s()(n).format("MMM DD")}})})]})}))]})})}L.getInitialProps=function(){var n=(0,r.Z)(c().mark((function n(e){var t;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.query.pipeline,n.abrupt("return",{pipeline:{uuid:t}});case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),e.default=(0,x.Z)(L)}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7400],{98677:function(n,e,t){function r(n,e,t){n=+n,e=+e,t=(i=arguments.length)<2?(e=n,n=0,1):i<3?1:+t;for(var r=-1,i=0|Math.max(0,Math.ceil((e-n)/t)),o=new Array(i);++r<i;)o[r]=n+r*t;return o}t.d(e,{Z:function(){return a}});var i=t(8208),o=t(8162);function u(){var n,e,t=(0,o.Z)().unknown(void 0),c=t.domain,a=t.range,l=0,d=1,f=!1,s=0,p=0,h=.5;function v(){var t=c().length,i=d<l,o=i?d:l,u=i?l:d;n=(u-o)/Math.max(1,t-s+2*p),f&&(n=Math.floor(n)),o+=(u-o-n*(t-s))*h,e=n*(1-s),f&&(o=Math.round(o),e=Math.round(e));var v=r(t).map((function(e){return o+n*e}));return a(i?v.reverse():v)}return delete t.unknown,t.domain=function(n){return arguments.length?(c(n),v()):c()},t.range=function(n){return arguments.length?([l,d]=n,l=+l,d=+d,v()):[l,d]},t.rangeRound=function(n){return[l,d]=n,l=+l,d=+d,f=!0,v()},t.bandwidth=function(){return e},t.step=function(){return n},t.round=function(n){return arguments.length?(f=!!n,v()):f},t.padding=function(n){return arguments.length?(s=Math.min(1,p=+n),v()):s},t.paddingInner=function(n){return arguments.length?(s=Math.min(1,n),v()):s},t.paddingOuter=function(n){return arguments.length?(p=+n,v()):p},t.align=function(n){return arguments.length?(h=Math.max(0,Math.min(1,n)),v()):h},t.copy=function(){return u(c(),[l,d]).round(f).paddingInner(s).paddingOuter(p).align(h)},i.o.apply(v(),arguments)}var c=(0,t(93342).Z)("domain","range","reverse","align","padding","round");function a(n){return c(u(),n)}},62072:function(n,e,t){function r(n){return null==n?void 0:n[0]}function i(n){return null==n?void 0:n[1]}t.d(e,{l8:function(){return r},xf:function(){return i}})},53989:function(n,e,t){function r(n){if("bandwidth"in n)return n.bandwidth();var e=n.range(),t=n.domain();return Math.abs(e[e.length-1]-e[0])/t.length}t.d(e,{Z:function(){return r}})},59309:function(n,e,t){t.d(e,{ZP:function(){return l}});var r=t(12759),i=t(27500),o=t(82610),u=t(34812),c=t(77944),a={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:u.Z,wiggle:c.Z};Object.keys(a);function l(n){return n&&a[n]||a.none}},18246:function(n,e,t){t.d(e,{ZP:function(){return l}});var r=t(39586),i=t(25516),o=t(54164),u=t(8512),c=t(2010),a={ascending:r.Z,descending:i.Z,insideout:o.Z,none:u.Z,reverse:c.Z};Object.keys(a);function l(n){return n&&a[n]||a.none}},13946:function(n,e,t){t.d(e,{t:function(){return r}});var r=Array.prototype.slice},27500:function(n,e,t){function r(n,e){if((c=n.length)>0)for(var t,r,i,o,u,c,a=0,l=n[e[0]].length;a<l;++a)for(o=u=0,t=0;t<c;++t)(i=(r=n[e[t]][a])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)}t.d(e,{Z:function(){return r}})},12759:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(82610);function i(n,e){if((i=n.length)>0){for(var t,i,o,u=0,c=n[0].length;u<c;++u){for(o=t=0;t<i;++t)o+=n[t][u][1]||0;if(o)for(t=0;t<i;++t)n[t][u][1]/=o}(0,r.Z)(n,e)}}},82610:function(n,e,t){function r(n,e){if((i=n.length)>1)for(var t,r,i,o=1,u=n[e[0]],c=u.length;o<i;++o)for(r=u,u=n[e[o]],t=0;t<c;++t)u[t][1]+=u[t][0]=isNaN(r[t][1])?r[t][0]:r[t][1]}t.d(e,{Z:function(){return r}})},34812:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(82610);function i(n,e){if((t=n.length)>0){for(var t,i=0,o=n[e[0]],u=o.length;i<u;++i){for(var c=0,a=0;c<t;++c)a+=n[c][i][1]||0;o[i][1]+=o[i][0]=-a/2}(0,r.Z)(n,e)}}},77944:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(82610);function i(n,e){if((o=n.length)>0&&(i=(t=n[e[0]]).length)>0){for(var t,i,o,u=0,c=1;c<i;++c){for(var a=0,l=0,d=0;a<o;++a){for(var f=n[e[a]],s=f[c][1]||0,p=(s-(f[c-1][1]||0))/2,h=0;h<a;++h){var v=n[e[h]];p+=(v[c][1]||0)-(v[c-1][1]||0)}l+=s,d+=p*s}t[c-1][1]+=t[c-1][0]=u,l&&(u-=d/l)}t[c-1][1]+=t[c-1][0]=u,(0,r.Z)(n,e)}}},34128:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(8512);function i(n){var e=n.map(o);return(0,r.Z)(n).sort((function(n,t){return e[n]-e[t]}))}function o(n){for(var e,t=-1,r=0,i=n.length,o=-1/0;++t<i;)(e=+n[t][1])>o&&(o=e,r=t);return r}},39586:function(n,e,t){t.d(e,{S:function(){return o},Z:function(){return i}});var r=t(8512);function i(n){var e=n.map(o);return(0,r.Z)(n).sort((function(n,t){return e[n]-e[t]}))}function o(n){for(var e,t=0,r=-1,i=n.length;++r<i;)(e=+n[r][1])&&(t+=e);return t}},25516:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(39586);function i(n){return(0,r.Z)(n).reverse()}},54164:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(34128),i=t(39586);function o(n){var e,t,o=n.length,u=n.map(i.S),c=(0,r.Z)(n),a=0,l=0,d=[],f=[];for(e=0;e<o;++e)t=c[e],a<l?(a+=u[t],d.push(t)):(l+=u[t],f.push(t));return f.reverse().concat(d)}},8512:function(n,e,t){function r(n){for(var e=n.length,t=new Array(e);--e>=0;)t[e]=e;return t}t.d(e,{Z:function(){return r}})},2010:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(8512);function i(n){return(0,r.Z)(n).reverse()}},75823:function(n,e,t){t.d(e,{Z:function(){return a}});var r=t(13946),i=t(90875),o=t(82610),u=t(8512);function c(n,e){return n[e]}function a(){var n=(0,i.Z)([]),e=u.Z,t=o.Z,a=c;function l(r){var i,o,u=n.apply(this,arguments),c=r.length,l=u.length,d=new Array(l);for(i=0;i<l;++i){for(var f,s=u[i],p=d[i]=new Array(c),h=0;h<c;++h)p[h]=f=[0,+a(r[h],s,h,r)],f.data=r[h];p.key=s}for(i=0,o=e(d);i<l;++i)d[o[i]].index=i;return t(d,o),d}return l.keys=function(e){return arguments.length?(n="function"===typeof e?e:(0,i.Z)(r.t.call(e)),l):n},l.value=function(n){return arguments.length?(a="function"===typeof n?n:(0,i.Z)(+n),l):a},l.order=function(n){return arguments.length?(e=null==n?u.Z:"function"===typeof n?n:(0,i.Z)(r.t.call(n)),l):e},l.offset=function(n){return arguments.length?(t=null==n?o.Z:n,l):t},l}},92953:function(n,e,t){var r;t.d(e,{a:function(){return r}}),function(n){n.BLOCK_RUNS="block_runs",n.BLOCK_RUNTIME="block_runtime",n.PIPELINE_RUNS="pipeline_runs"}(r||(r={}))},87465:function(n,e,t){t.d(e,{Z:function(){return m}});t(82684);var r=t(34376),i=t(87372),o=t(2626),u=t(86673),c=t(19711),a=t(2850),l=t(9518),d=t(23831),f=t(49125),s=l.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-1in9sst-0"})(["padding:","px ","px;"," ",""],f.iI,f.tr,(function(n){return n.selected&&"\n background-color: ".concat((n.theme.interactive||d.Z.interactive).checked,";\n ")}),(function(n){return!n.selected&&"\n cursor: pointer;\n "})),p=t(92953),h=t(59920),v=t(28598);var m=function(n){var e=n.breadcrumbs,t=n.children,l=n.monitorType,d=n.pipeline,m=n.subheader,g=(0,r.useRouter)();return(0,v.jsx)(o.Z,{before:(0,v.jsxs)(a.M,{children:[(0,v.jsx)(u.Z,{p:f.cd,children:(0,v.jsx)(i.Z,{level:4,muted:!0,children:"Insights"})}),(0,v.jsx)(s,{onClick:function(n){n.preventDefault(),g.push("/pipelines/[pipeline]/monitors","/pipelines/".concat(null===d||void 0===d?void 0:d.uuid,"/monitors"))},selected:p.a.PIPELINE_RUNS==l,children:(0,v.jsx)(c.ZP,{children:"Pipeline runs"})}),(0,v.jsx)(s,{onClick:function(n){n.preventDefault(),g.push("/pipelines/[pipeline]/monitors/block-runs","/pipelines/".concat(null===d||void 0===d?void 0:d.uuid,"/monitors/block-runs"))},selected:p.a.BLOCK_RUNS==l,children:(0,v.jsx)(c.ZP,{children:"Block runs"})}),(0,v.jsx)(s,{onClick:function(n){n.preventDefault(),g.push("/pipelines/[pipeline]/monitors/block-runtime","/pipelines/".concat(null===d||void 0===d?void 0:d.uuid,"/monitors/block-runtime"))},selected:p.a.BLOCK_RUNTIME==l,children:(0,v.jsx)(c.ZP,{children:"Block runtime"})})]}),breadcrumbs:e,pageName:h.M.MONITOR,pipeline:d,subheader:m,uuid:"pipeline/monitor",children:t})}},2850:function(n,e,t){t.d(e,{M:function(){return c},W:function(){return u}});var r=t(9518),i=t(23831),o=t(3055),u=34*t(49125).iI,c=r.default.div.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-12ee2ib-0"})(["min-height:calc(100vh - ","px);",""],o.Mz,(function(n){return"\n border-left: 1px solid ".concat((n.theme.borders||i.Z.borders).medium,";\n ")}))},21679:function(n,e,t){t.d(e,{Z:function(){return K}});var r=t(26304),i=t(82394),o=t(21831),u=t(82684),c=t(84969),a=t(90948),l=t(63588),d=t.n(l),f=t(75823),s=t(29989),p=t(62072),h=t(53989),v=t(13004),m=t(18246),g=t(59309),Z=t(65743),x=["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"];function y(){return y=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},y.apply(this,arguments)}function b(n){var e=n.data,t=n.className,r=n.top,i=n.left,o=n.x,c=n.y0,a=void 0===c?p.l8:c,l=n.y1,b=void 0===l?p.xf:l,j=n.xScale,k=n.yScale,O=n.color,w=n.keys,P=n.value,E=n.order,M=n.offset,T=n.children,_=function(n,e){if(null==n)return{};var t,r,i={},o=Object.keys(n);for(r=0;r<o.length;r++)t=o[r],e.indexOf(t)>=0||(i[t]=n[t]);return i}(n,x),I=(0,f.Z)();w&&I.keys(w),P&&(0,v.Z)(I.value,P),E&&I.order((0,m.ZP)(E)),M&&I.offset((0,g.ZP)(M));var S=I(e),N=(0,h.Z)(j),A=S.map((function(n,e){var t=n.key;return{index:e,key:t,bars:n.map((function(e,r){var i=(k(a(e))||0)-(k(b(e))||0),u=k(b(e)),c="bandwidth"in j?j(o(e.data)):Math.max((j(o(e.data))||0)-N/2);return{bar:e,key:t,index:r,height:i,width:N,x:c||0,y:u||0,color:O(n.key,r)}}))}}));return T?u.createElement(u.Fragment,null,T(A)):u.createElement(s.Z,{className:d()("visx-bar-stack",t),top:r,left:i},A.map((function(n){return n.bars.map((function(e){return u.createElement(Z.Z,y({key:"bar-stack-"+n.index+"-"+e.index,x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},_))}))})))}var j=t(67778),k=t(17066),O=t(29179),w=t(65376),P=t(48072),E=t(98677),M=t(84181),T=t(24903),_=t(67971),I=t(26226),S=t(19711),N=t(52359),A=t(23831),L=t(73942),C=t(2005),D=t(49125),R=t(344),F=t(28598),U=["height","width","xAxisLabel","yAxisLabel"];function B(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function V(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?B(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function Y(n){var e=n.colors,t=n.data,r=n.getXValue,i=(n.getYValue,n.height),u=n.keys,l=n.margin,d=n.numYTicks,f=n.showLegend,p=n.width,h=n.xLabelFormat,v=n.yLabelFormat,m=(0,O.Z)(),g=m.hideTooltip,Z=m.showTooltip,x=m.tooltipData,y=m.tooltipLeft,_=m.tooltipOpen,I=m.tooltipTop,N=p-(l.left+l.right),D=i-(l.bottom+l.top),U=t.reduce((function(n,e){var t=e,r=u.reduce((function(n,e){return Number(t[e])&&(n+=Number(t[e])),n}),0);return n.push(r),n}),[]),B=(0,E.Z)({domain:t.map(r),padding:.4,range:[0,N],round:!1}),Y=(0,M.Z)({domain:[0,Math.max.apply(Math,(0,o.Z)(U))],range:[D,0],round:!0}),K=(0,T.Z)({domain:u,range:e});return(0,F.jsxs)("div",{style:{position:"relative"},children:[(0,F.jsxs)("svg",{width:p,height:i,children:[(0,F.jsx)("rect",{x:0,y:0,width:p,height:i,fill:"#2E3036",rx:14}),(0,F.jsx)(j.Z,{top:l.top,left:l.left,scale:Y,width:N,height:D,stroke:"black",strokeOpacity:.2}),(0,F.jsx)(s.Z,{top:l.top,children:(0,F.jsx)(b,{data:t,keys:u,value:function(n,e){return n[e]||0},x:r,xScale:B,yScale:Y,color:K,children:function(n){return n.map((function(n){return n.bars.map((function(e){return(0,F.jsx)("rect",{x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color,onMouseLeave:g,onMouseMove:function(n){var t=(0,P.Z)(n),r=e.x+e.width/2;Z({tooltipData:e,tooltipTop:null===t||void 0===t?void 0:t.y,tooltipLeft:r})}},"bar-stack-".concat(n.index,"-").concat(e.index))}))}))}})}),(0,F.jsx)(c.Z,{hideTicks:!0,left:l.left,numTicks:d,scale:Y,stroke:A.Z.content.muted,tickFormat:function(n){return v?v(n):(0,R.P5)(n)},tickLabelProps:function(){return{fill:A.Z.content.muted,fontFamily:C.ry,fontSize:11,textAnchor:"end",transform:"translate(0,2.5)"}},top:l.top}),(0,F.jsx)(a.Z,{hideTicks:!0,left:l.left,top:D+l.top,scale:B,stroke:A.Z.content.muted,tickFormat:h,tickLabelProps:function(){return{fill:A.Z.content.muted,fontFamily:C.ry,fontSize:11,textAnchor:"middle"}}})]}),f&&(0,F.jsx)("div",{style:{position:"absolute",top:l.top/2-10,width:"100%",display:"flex",justifyContent:"center",fontSize:"14px"},children:(0,F.jsx)(k.Z,{scale:K,direction:"row",labelMargin:"0 15px 0 0"})}),_&&x&&(0,F.jsxs)(w.Z,{top:I,left:y,style:V(V({},w.j),{},{backgroundColor:A.Z.background.page,borderRadius:"".concat(L.TR,"px")}),children:[(0,F.jsx)(S.ZP,{bold:!0,color:K(x.key),children:x.key}),(0,F.jsx)(S.ZP,{children:x.bar.data[x.key]}),(0,F.jsx)(S.ZP,{children:r(x.bar.data)})]})]})}var K=function(n){var e=n.height,t=n.width,i=n.xAxisLabel,o=n.yAxisLabel,u=(0,r.Z)(n,U);return(0,F.jsx)(F.Fragment,{children:(0,F.jsxs)("div",{style:{height:e,marginBottom:D.iI,width:t},children:[o&&(0,F.jsx)(_.Z,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,F.jsx)(N.Z,{children:(0,F.jsx)(S.ZP,{center:!0,muted:!0,small:!0,children:o})})}),(0,F.jsx)("div",{style:{height:e,width:o?0===t?t:t-28:t},children:(0,F.jsx)(I.Z,{children:function(n){var e=n.height,t=n.width;return(0,F.jsx)(Y,V(V({},u),{},{height:e,width:t}))}})}),i&&(0,F.jsx)("div",{style:{paddingLeft:o?36:0,paddingTop:4},children:(0,F.jsx)(S.ZP,{center:!0,muted:!0,small:!0,children:i})})]})})}},52359:function(n,e,t){var r=t(9518).default.div.withConfig({displayName:"YAxisLabelContainer",componentId:"sc-qwp21x-0"})(["-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);white-space:nowrap;"]);e.Z=r},344:function(n,e,t){t.d(e,{P5:function(){return i},Vs:function(){return o}});t(90211);var r=Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:2});function i(n){return"number"!==typeof n?n:n>=1e4?r.format(n):n.toString()}function o(n,e,t){var r,i;if("undefined"===typeof n||"undefined"===typeof e)return 0;var o=null===n||void 0===n||null===(r=n(e,t))||void 0===r||null===(i=r.props)||void 0===i?void 0:i.children;return(Array.isArray(o)?o:[o]).join("").length}},93348:function(n,e,t){t.d(e,{TR:function(){return f},U5:function(){return a},Xm:function(){return o},Z4:function(){return d},fq:function(){return c},kJ:function(){return l}});var r,i,o,u=t(82394);!function(n){n.API="api",n.EVENT="event",n.TIME="time"}(o||(o={}));var c,a,l,d=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(n){n.ACTIVE="active",n.INACTIVE="inactive"}(c||(c={})),function(n){n.ONCE="@once",n.HOURLY="@hourly",n.DAILY="@daily",n.WEEKLY="@weekly",n.MONTHLY="@monthly"}(a||(a={})),function(n){n.CREATED_AT="created_at",n.NAME="name",n.PIPELINE="pipeline_uuid",n.STATUS="status",n.TYPE="schedule_type"}(l||(l={}));var f=(i={},(0,u.Z)(i,l.CREATED_AT,"Created at"),(0,u.Z)(i,l.NAME,"Name"),(0,u.Z)(i,l.PIPELINE,"Pipeline"),(0,u.Z)(i,l.STATUS,"Status"),(0,u.Z)(i,l.TYPE,"Type"),i)},67400:function(n,e,t){t.r(e),t.d(e,{BAR_STACK_COLORS:function(){return N},BAR_STACK_STATUSES:function(){return A}});var r=t(77837),i=t(75582),o=t(82394),u=t(38860),c=t.n(u),a=t(82684),l=t(12691),d=t.n(l),f=t(92083),s=t.n(f),p=t(9518),h=t(21679),v=t(67971),m=t(87372),g=t(10919),Z=t(87465),x=t(41788),y=t(86673),b=t(19711),j=t(82531),k=t(23831),O=t(10503),w=t(92953),P=t(93348),E=t(49125),M=t(90211),T=t(28598);function _(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function I(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?_(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var S=p.default.div.withConfig({displayName:"monitors__GradientTextStyle",componentId:"sc-1is2m2l-0"})(["background:linear-gradient(90deg,#7D55EC 28.12%,#2AB2FE 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;"]),N=[k.Z.accent.warning,k.Z.background.success,k.Z.accent.negative,k.Z.content.active,k.Z.interactive.linkPrimary],A=["cancelled","completed","failed","initial","running"];function L(n){var e=n.pipeline.uuid,t=j.ZP.pipeline_schedules.pipelines.list(e).data,r=(0,a.useMemo)((function(){return null===t||void 0===t?void 0:t.pipeline_schedules}),[t]),u=(0,a.useMemo)((function(){return null===r||void 0===r?void 0:r.reduce((function(n,e){return I(I({},n),{},(0,o.Z)({},null===e||void 0===e?void 0:e.id,e))}),{})}),[r]),c=j.ZP.pipelines.detail(e,{includes_content:!1,includes_outputs:!1},{revalidateOnFocus:!1}).data,l=(0,a.useMemo)((function(){return I(I({},null===c||void 0===c?void 0:c.pipeline),{},{uuid:e})}),[c,e]),f=j.ZP.monitor_stats.detail("pipeline_run_count",{pipeline_uuid:null===l||void 0===l?void 0:l.uuid}).data,p=((null===f||void 0===f?void 0:f.monitor_stat)||{}).stats,x=(0,a.useMemo)((function(){for(var n=new Date,e=[],t=0;t<90;t++)e.unshift(n.toISOString().split("T")[0]),n.setDate(n.getDate()-1);return e}),[]),k=(0,a.useMemo)((function(){if(p){var n=Object.entries(p).reduce((function(n,e){var t=(0,i.Z)(e,2),r=(t[0],t[1].data),o={};return Object.entries(r).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],u=t[1],c={};r in n&&(c=n[r]);var a={};Object.entries(u).forEach((function(n){var e,t=(0,i.Z)(n,2),r=t[0],o=t[1],u=null!==(e=c)&&void 0!==e&&e[r]?c[r]:0;a[r]=u+o})),o[r]=I(I({},c),a)})),I(I({},n),o)}),{});return x.map((function(e){return I({date:e},n[e]||{})}))}return[]}),[x,p]),_=(0,a.useMemo)((function(){if(p)return Object.entries(p).reduce((function(n,e){var t=(0,i.Z)(e,2),r=t[0],u=t[1].data,c=x.map((function(n){return I({date:n},u[n]||{})}));return I(I({},n),{},(0,o.Z)({},r,c))}),{})}),[x,p]),L=(0,a.useMemo)((function(){var n=[];return n.push({bold:!0,label:function(){return"Monitors"}}),n}),[l]);return(0,T.jsx)(Z.Z,{breadcrumbs:L,monitorType:w.a.PIPELINE_RUNS,pipeline:l,children:(0,T.jsxs)(y.Z,{mt:2,mx:2,children:[(0,T.jsx)(y.Z,{ml:1,children:(0,T.jsx)(S,{children:(0,T.jsx)(m.Z,{children:"All pipeline runs"})})}),(0,T.jsx)(y.Z,{mt:1,children:(0,T.jsx)(h.Z,{colors:N,data:k,getXValue:function(n){return n.date},height:200,keys:A,margin:{top:10,bottom:30,left:35,right:0},xLabelFormat:function(n){return s()(n).format("MMM DD")}})}),_&&Object.entries(_).map((function(n){var t,r=(0,i.Z)(n,2),o=r[0],c=r[1],a=null===u||void 0===u?void 0:u[o];return(0,T.jsxs)(y.Z,{mt:3,children:[(0,T.jsxs)(v.Z,{alignItems:"center",children:[(0,T.jsx)(y.Z,{mx:1,children:(0,T.jsx)(S,{children:(0,T.jsx)(b.ZP,{bold:!0,large:!0,children:(0,M.kC)(null===(t=P.Z4[null===a||void 0===a?void 0:a.schedule_type])||void 0===t?void 0:t.call(P.Z4))})})}),(0,T.jsx)(d(),{as:"/pipelines/".concat(e,"/triggers/").concat(null===a||void 0===a?void 0:a.id),href:"/pipelines/[pipeline]/triggers/[...slug]",passHref:!0,children:(0,T.jsx)(g.Z,{children:(0,T.jsxs)(v.Z,{alignItems:"center",children:[(0,T.jsx)(m.Z,{level:5,children:(null===a||void 0===a?void 0:a.name)||o}),(0,T.jsx)(y.Z,{ml:1}),(0,T.jsx)(O._Q,{default:!0,size:2*E.iI})]})})})]}),(0,T.jsx)(y.Z,{mt:1,children:(0,T.jsx)(h.Z,{colors:N,data:c,getXValue:function(n){return n.date},height:200,keys:A,margin:{top:10,bottom:30,left:35,right:0},xLabelFormat:function(n){return s()(n).format("MMM DD")}})})]})}))]})})}L.getInitialProps=function(){var n=(0,r.Z)(c().mark((function n(e){var t;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.query.pipeline,n.abrupt("return",{pipeline:{uuid:t}});case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),e.default=(0,x.Z)(L)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8180],{45838:function(n,e,t){t.d(e,{GZ:function(){return u},Vq:function(){return d},cE:function(){return p},cl:function(){return l},kA:function(){return a}});var o=t(9518),r=t(23831),i=t(37391),c=t(49125),l=o.default.div.withConfig({displayName:"indexstyle__TableContainerStyle",componentId:"sc-1wzfyed-0"})(["position:relative;overflow:auto;"," "," "," "," ",""],i.w5,(function(n){return n.includePadding&&"\n padding: ".concat(2*c.iI,"px;\n ")}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,";\n ")}),(function(n){return n.minHeight&&"\n min-height: ".concat(n.minHeight,"px;\n ")}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),a=o.default.table.withConfig({displayName:"indexstyle__TableStyle",componentId:"sc-1wzfyed-1"})(["contain:size;width:100%;",""],(function(n){return(n.columnBorders||n.borderCollapseSeparate)&&"\n border-collapse: separate;\n "})),d=o.default.tr.withConfig({displayName:"indexstyle__TableRowStyle",componentId:"sc-1wzfyed-2"})([""," ",""],(function(n){return n.highlightOnHover&&"\n &:hover {\n background: ".concat((n.theme.interactive||r.Z.interactive).rowHoverBackground,";\n }\n ")}),(function(n){return!n.noHover&&"\n &:hover {\n background: ".concat((n.theme.interactive||r.Z.interactive).rowHoverBackground,";\n cursor: pointer;\n }\n ")})),s=(0,o.css)(["text-overflow:ellipsis;white-space:nowrap;"," "," "," "," "," ",""],(function(n){return!n.alignTop&&"\n vertical-align: middle;\n "}),(function(n){return n.alignTop&&"\n vertical-align: top;\n "}),(function(n){return!n.noBorder&&"\n border-bottom: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.compact&&"\n padding: ".concat(c.iI/2,"px ").concat(c.iI,"px;\n ")}),(function(n){return!n.compact&&"\n padding: ".concat(c.iI,"px ").concat(2*c.iI,"px;\n ")}),(function(n){return n.maxWidth&&"\n max-width: ".concat(n.maxWidth,";\n ")})),u=o.default.th.withConfig({displayName:"indexstyle__TableHeadStyle",componentId:"sc-1wzfyed-3"})([""," "," "," ",""],s,(function(n){return n.columnBorders&&"\n border: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n border-right: none;\n ")}),(function(n){return n.columnBorders&&n.last&&"\n border-right: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.sticky&&"\n background-color: ".concat((n.theme||r.Z).background.panel,";\n border-bottom: 1px solid ").concat((n.theme.borders||r.Z.borders).medium,";\n z-index: 2;\n position: sticky;\n top: 0;\n\n &:first-child {\n left: 0;\n z-index: 2;\n }\n ")})),p=o.default.td.withConfig({displayName:"indexstyle__TableDataStyle",componentId:"sc-1wzfyed-4"})([""," "," "," "," "," "," ",""],s,(function(n){return n.rowVerticalPadding&&"\n padding-top: ".concat(n.rowVerticalPadding,"px;\n padding-bottom: ").concat(n.rowVerticalPadding,"px;\n ")}),(function(n){return n.columnBorders&&"\n border-left: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.columnBorders&&n.last&&"\n border-right: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.stickyFirstColumn&&"\n background-color: ".concat((n.theme||r.Z).background.panel,";\n z-index: 1;\n position: sticky;\n left: 0;\n ")}),(function(n){return n.selected&&"\n background-color: ".concat((n.theme.interactive||r.Z.interactive).activeBorder,";\n ")}),(function(n){return n.wrapColumns&&"\n white-space: break-spaces;\n "}))},58180:function(n,e,t){t.d(e,{Z:function(){return W}});var o=t(75582),r=t(82394),i=t(12691),c=t.n(i),l=t(82684),a=t(26304),d=t(9518),s=t(16910),u=t(93461),p=t(67971),h=t(86673),f=t(19711),g=t(23831),b=t(10503),m=t(73942),v=t(37391),x=t(10919),w=t(49125),y=t(90880),j=t(28598),k=["beforeTitleElement","children","contentOverflowVisible","first","hideScrollbar","highlighted","last","maxHeight","noBackground","noPaddingContent","onClick","onEntered","onExited","singlePanel","title","titleXPadding","visible","visibleCount","visibleHighlightDisabled"];function O(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function P(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?O(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var C=d.default.div.withConfig({displayName:"AccordionPanel__AccordionPanelStyle",componentId:"sc-sf242a-0"})([".accordion-panel-chevron-down-exit-done{transform:rotate(0deg);transition:all 200ms;}.accordion-panel-chevron-down-enter-active{transform:rotate(180deg);transition:all 200ms;}.accordion-panel-chevron-down-enter-done,.accordion-panel-chevron-down-enter-done-visible{transform:rotate(180deg);transition:all 300ms;}.accordion-panel-chevron-down-exit{transform:rotate(0deg);transition:all 300ms;}.accordion-panel-content-enter{display:block;max-height:0px;overflow:hidden;transition:max-height 400ms ease-in-out;}.accordion-panel-content-enter-active{max-height:100vh;","}.accordion-panel-content-enter-done{display:block;}.accordion-panel-content-exit{display:block;max-height:100vh;"," overflow:hidden;}.accordion-panel-content-exit-active{max-height:0px;transition:max-height 300ms cubic-bezier(0,1,0,1);}.accordion-panel-content-exit-done{display:none;}"],(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,"px;\n ")}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,"px;\n ")})),Z=d.default.a.withConfig({displayName:"AccordionPanel__TitleStyle",componentId:"sc-sf242a-1"})([""," display:block;position:relative;padding:","px ","px;z-index:1;"," "," "," "," "," ",""],x.R,2*w.iI,2*w.iI,(function(n){return"\n &:hover,\n &:focus {\n outline: none;\n }\n ".concat((0,y.Kl)(n),"\n\n background-color: ").concat((n.theme.background||g.Z.background).table,";\n\n &:hover {\n background-color: ").concat((n.theme||g.Z).background.page,";\n }\n\n &:active {\n background-color: ").concat((n.theme||g.Z).background.page,";\n }\n ")}),(function(n){return n.visible&&"\n border-bottom: 1px solid ".concat((n.theme||g.Z).borders.medium2,";\n ")}),(function(n){return!n.first&&n.visible&&"\n border-top: 1px solid ".concat((n.theme||g.Z).borders.medium2,";\n ")}),(function(n){return n.first&&"\n border-top-left-radius: ".concat(m.n_,"px;\n border-top-right-radius: ").concat(m.n_,"px;\n ")}),(function(n){return(n.last||n.singlePanel)&&!n.visible&&"\n border-bottom-left-radius: ".concat(m.n_,"px;\n border-bottom-right-radius: ").concat(m.n_,"px;\n ")}),(function(n){return n.titleXPadding&&"\n padding-left: ".concat(n.titleXPadding,"px;\n padding-right: ").concat(n.titleXPadding,"px;\n ")})),I=d.default.div.withConfig({displayName:"AccordionPanel__ContentStyle",componentId:"sc-sf242a-2"})(["padding-left:","px;padding-right:","px;"," "," "," "," "," "," ",""],2*w.iI,2*w.iI,v.w5,(function(n){return n.hideScrollbar&&"\n ::-webkit-scrollbar {\n display: none;\n }\n "}),(function(n){return!n.visible&&"\n display: none;\n "}),(function(n){return!n.contentOverflowVisible&&"\n overflow-y: auto;\n "}),(function(n){return n.contentOverflowVisible&&"\n overflow-y: visible;\n "}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,"px;\n ")}),(function(n){return n.noPaddingContent&&"\n padding: 0;\n "})),_=d.default.div.withConfig({displayName:"AccordionPanel__ContentInnerStyle",componentId:"sc-sf242a-3"})(["padding-bottom:","px;padding-top:","px;",""],2*w.iI,2*w.iI,(function(n){return n.noPaddingContent&&"\n padding: 0;\n "})),H=function(n,e){var t=n.beforeTitleElement,o=n.children,r=n.contentOverflowVisible,i=n.first,c=n.hideScrollbar,l=n.highlighted,d=n.last,g=n.maxHeight,m=n.noBackground,v=n.noPaddingContent,x=n.onClick,y=n.onEntered,O=n.onExited,H=n.singlePanel,S=n.title,B=n.titleXPadding,D=n.visible,E=n.visibleCount,N=n.visibleHighlightDisabled,A=(0,a.Z)(n,k);return(0,j.jsxs)(C,P(P({},A),{},{maxHeight:g,children:[(0,j.jsx)(Z,{first:i,href:"#",last:d,noHoverUnderline:!0,onClick:function(n){n.preventDefault(),x&&x(n)},onKeyPress:function(n){" "===n.key&&x&&x(n)},singlePanel:H,titleXPadding:B,visible:D&&!N,children:(0,j.jsxs)(p.Z,{alignItems:"center",children:[(0,j.jsx)(h.Z,{mr:1,children:(0,j.jsxs)(p.Z,{alignItems:"center",children:[t,t&&(0,j.jsx)(h.Z,{ml:1}),(0,j.jsx)(f.ZP,{bold:!0,default:!D,large:!0,wind:l,children:S})]})}),(0,j.jsx)(s.Z,{classNames:"accordion-panel-chevron-down",in:D,timeout:400,children:(0,j.jsx)(u.Z,{className:D&&0===E&&"accordion-panel-chevron-down-enter-done-visible",children:(0,j.jsx)(b._M,{default:!0,size:2*w.iI})})})]})}),(0,j.jsx)(s.Z,{classNames:"accordion-panel-content",in:D,onEntered:function(n){return y&&y(n)},onExited:function(n){return O&&O(n)},timeout:300,children:(0,j.jsx)(I,{contentOverflowVisible:r,hideScrollbar:c,maxHeight:g,noBackground:m,noPaddingContent:v,visible:D,children:(0,j.jsx)(_,{noPaddingContent:v,ref:e,children:o})})})]}))},S=l.forwardRef(H),B=t(34744),D=["activeItemIndex","children","onClick","showDividers","visibleMapping","visibleMappingForced"];function E(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function N(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?E(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var A=d.default.div.withConfig({displayName:"Accordion__AccordionStyle",componentId:"sc-1xr4nou-0"})(["border-radius:","px;overflow:hidden;border-width:","px;border-style:",";"," "," ",""],m.n_,m.YF,m.M8,(function(n){return"\n background-color: ".concat((n.theme.background||g.Z.background).content,";\n box-shadow: ").concat((n.theme||g.Z).shadow.frame,";\n ")}),(function(n){return!n.highlighted&&"\n border-color: ".concat((n.theme||g.Z).background.panel,";\n ")}),(function(n){return n.highlighted&&"\n border-color: ".concat((n.theme||g.Z).brand.wind400,";\n ")})),M=d.default.div.withConfig({displayName:"Accordion__AccordionPanelContainerStyle",componentId:"sc-1xr4nou-1"})([""]),V=function(n){var e=n.activeItemIndex,t=n.children,o=n.onClick,i=n.showDividers,c=n.visibleMapping,d=n.visibleMappingForced,s=(0,a.Z)(n,D),u=(0,l.useState)(c||{}),p=u[0],h=u[1],f=(0,l.useState)({}),g=f[0],b=f[1],m=N(N({},p),d);return(0,j.jsx)(A,N(N({},s),{},{children:l.Children.map(t,(function(n,c){var a=l.Children.count(t),d=c===a-1,u=m[c];return(0,j.jsxs)("div",{children:[(0,j.jsx)(M,{index:c,showDividers:i,children:l.cloneElement(n,N(N({},s),{},{first:0===c,last:d,onClick:function(){var n;b(N(N({},g),{},(0,r.Z)({},c,g[c]?g[c]+1:1))),n=N(N({},m),{},(0,r.Z)({},c,!u)),h(n),o&&o(n)},singlePanel:1===a,visible:u,visibleCount:g[c]||0,visibleHighlightDisabled:"undefined"!==typeof e&&c!==e}))}),i&&(0,j.jsx)(B.Z,{})]},c)}))}))},z=t(46261),T=t(45838),R=t(90211);function F(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function X(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?F(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var W=function(n){var e=n.alignTop,t=n.borderCollapseSeparate,r=n.buildLinkProps,i=n.buildRowProps,a=n.columnBorders,d=n.columnFlex,s=n.columnMaxWidth,u=n.columns,g=void 0===u?[]:u,b=n.compact,m=n.grouping,v=n.highlightRowOnHover,w=n.isSelectedRow,y=n.noBorder,k=n.noHeader,O=n.onClickRow,P=n.onDoubleClickRow,C=n.rows,Z=n.rowVerticalPadding,I=n.stickyFirstColumn,_=n.stickyHeader,H=n.uuid,B=n.wrapColumns,D=(0,l.useMemo)((function(){return d.reduce((function(n,e){return n+(e||0)}),0)}),[d]),E=(0,l.useCallback)((function(n){if(d[n]){var e=Math.round(d[n]/D*100);return"".concat(e,"%")}return null}),[d,D]),N=(0,l.useMemo)((function(){return null===C||void 0===C?void 0:C.map((function(n,t){var o,d=null===r||void 0===r?void 0:r(t),u=(null===i||void 0===i?void 0:i(t))||{renderCell:null,renderRow:null},p=u.renderCell,h=u.renderRow,f=[];if(n.forEach((function(o,r){var i;p&&(i=p(o,r)),i||(i=(0,j.jsx)(T.cE,{alignTop:e,columnBorders:a,compact:b,last:r===n.length-1,maxWidth:null===s||void 0===s?void 0:s(r),noBorder:y,rowVerticalPadding:Z,selected:null===w||void 0===w?void 0:w(t),stickyFirstColumn:I&&0===r,width:E(r),wrapColumns:B,children:o},"".concat(H,"-row-").concat(t,"-cell-").concat(r))),f.push(i)})),h)o=h(f);else{o=(0,j.jsx)(T.Vq,{highlightOnHover:v,noHover:!(d||O),onClick:O?function(n){return function(n,e){1===(null===e||void 0===e?void 0:e.detail)?O(n):P&&2===(null===e||void 0===e?void 0:e.detail)&&P(n)}(t,n)}:null,children:f},"".concat(H,"-row-").concat(t))}return d?(0,l.createElement)(c(),X(X({},d),{},{key:"".concat(H,"-row-link-").concat(t),passHref:!0}),(0,j.jsx)(x.Z,{fullWidth:!0,noHoverUnderline:!0,noOutline:!0,style:{display:"table-row-group"},verticalAlignContent:!0,children:o})):o}))}),[e,r,E,a,s,b,i,v,w,y,O,P,Z,C,I,H,B]),A=(0,l.useMemo)((function(){return(0,j.jsx)(T.Vq,{noHover:!0,children:null===g||void 0===g?void 0:g.map((function(n,e){return(0,j.jsx)(T.GZ,{columnBorders:a,compact:b,last:e===g.length-1,noBorder:y,sticky:_,children:(0,j.jsxs)(p.Z,{alignItems:"center",justifyContent:n.center?"center":"flex-start",children:[(0,j.jsx)(f.ZP,{bold:!0,leftAligned:!0,monospace:!0,muted:!0,children:n.label?n.label():n.uuid}),n.tooltipMessage&&(0,j.jsx)(h.Z,{ml:"4px",children:(0,j.jsx)(z.Z,{appearBefore:!0,label:(0,j.jsx)(f.ZP,{leftAligned:!0,children:n.tooltipMessage}),lightBackground:!0,primary:!0})})]})},"".concat(H,"-col-").concat(n.uuid,"-").concat(e))}))})}),[a,g,b,y,_,H]);return(0,l.useMemo)((function(){var n;if(m&&null!==m&&void 0!==m&&m.column&&(null===m||void 0===m||null===(n=m.values)||void 0===n?void 0:n.length)>0){var e=m.columnIndex,r=m.values,i=null===N||void 0===N?void 0:N.reduce((function(n,t){var o,i,c,l,a,d,s=null===t||void 0===t||null===(o=t.props)||void 0===o||null===(i=o.children)||void 0===i||null===(c=i[e])||void 0===c||null===(l=c.props)||void 0===l||null===(a=l.children)||void 0===a||null===(d=a.props)||void 0===d?void 0:d.children,u=(0,R.kC)(s);return r.includes(s)&&(n[u]=(n[u]||[]).concat(t)),n}),{}),c=Object.entries(i).sort((function(n,e){return n[0].localeCompare(e[0])}));return(0,j.jsx)(j.Fragment,{children:c.map((function(n,e){var r=(0,o.Z)(n,2),i=r[0],l=r[1];return(0,j.jsx)(h.Z,{mb:e===c.length-1?0:2,children:(0,j.jsx)(V,{visibleMapping:{0:!0},children:(0,j.jsx)(S,{noPaddingContent:!0,title:i,children:(0,j.jsx)(T.kA,{borderCollapseSeparate:t,columnBorders:a,children:(0,j.jsxs)(j.Fragment,{children:[(null===g||void 0===g?void 0:g.length)>=1&&!k&&A,l]})})})})},i)}))})}return(0,j.jsxs)(T.kA,{borderCollapseSeparate:t,columnBorders:a,children:[(null===g||void 0===g?void 0:g.length)>=1&&!k&&A,N]})}),[t,a,null===g||void 0===g?void 0:g.length,m,A,k,N])}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[839],{70543:function(e,n,t){t.d(n,{b:function(){return r}});var r="edit"},58122:function(e,n,t){t.d(n,{CL:function(){return f},FS:function(){return b},JZ:function(){return m},e7:function(){return g},v0:function(){return p},wx:function(){return h}});var r=t(75582),o=t(82394),c=t(43313),i=t(93348),a=t(1286),l=t(90211),s=t(84779);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 d(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,o.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}function p(e){var n=e.statistics,t=Object.keys(n),r=Array(c.Dy.length).fill(0);return 0===t.length?null:(t.forEach((function(e){if(c.Dy.includes(e)){var t=c.CC[e],o=n[e],i=o,a=!1,l=[2,3],u=c.Ub[e],d=c.oH[e],p=c.OD[e];if(c.y_.includes(e))a=!0,l=[2,1,2];else if(e in c.Sq){o=(0,s.Jw)(o,0);var f=c.Sq[e];i=n[f]}var b={columnFlexNumbers:l,name:t,progress:a,rate:i,successDirection:d,warning:p};c.y_.includes(e)||(b.value=o),r[u]=b}})),r)}function f(e){var n=e.columnTypes,t=void 0===n?{}:n,r=e.statistics,o=Object.keys(r);if(0===o.length)return null;var i=Object.values(t),s=i.length,u=[];u.push({name:"Column count",successDirection:c.oH.column_count,value:(0,l.x6)(s)}),o.forEach((function(e){if(c.Zu.includes(e)){var n=c.CC[e],t=r[e],o=c.OD[e];u.push({name:n,successDirection:c.oH[e],value:(0,l.x6)(t),warning:o})}}));var d=(0,a.QO)(i),p=d.countCategory,f=d.countDatetime,b=d.countNumerical;return u.push({name:"Categorical Features",rate:p/s,value:(0,l.x6)(p)},{name:"Numerical Features",rate:b/s,value:(0,l.x6)(b)},{name:"Datetime Features",rate:f/s,value:(0,l.x6)(f)}),u}function b(e){return"string"===typeof e?e:JSON.stringify(e)}function h(e,n){var t,r;return null===e||void 0===e||null===(t=e.find((function(e){var t=e.block;return n(t)})))||void 0===t||null===(r=t.variables)||void 0===r?void 0:r.map((function(e){var n=e.value;return d(d({},e),{},{value:b(n)})}))}function m(e,n){return n===i.Xm.TIME?e.push({uuid:"execution_date",value:"<run datetime>"}):n===i.Xm.EVENT&&e.push({uuid:"event",value:"<trigger event>"}),e}function g(e){return e?Object.entries(e).reduce((function(e,n){var t=(0,r.Z)(n,2),c=t[0],i=t[1],a=i;try{a=JSON.parse(i)}catch(l){}return d(d({},e),{},(0,o.Z)({},c,a))}),{}):e}},22673:function(e,n,t){var r=t(82684),o=t(73199),c=t.n(o),i=t(71593),a=t(9518),l=t(65292),s=t(23831),u=t(2005),d=t(49125),p=t(28598);n.Z=function(e){var n=e.language,t=e.maxWidth,o=e.showLineNumbers,f=e.small,b=e.source,h=e.wrapLines,m=(0,r.useContext)(a.ThemeContext);return(0,p.jsx)(c(),{source:b,renderers:{code:function(e){var r=e.value;return(0,p.jsx)(i.Z,{customStyle:{backgroundColor:(m.background||s.Z.background).popup,border:"none",borderRadius:"none",boxShadow:"none",fontFamily:u.Vp,fontSize:f?12:14,marginBottom:0,marginTop:0,paddingBottom:2*d.iI,paddingTop:2*d.iI,maxWidth:t},lineNumberStyle:{color:(m.content||s.Z.content).muted},language:n,showLineNumbers:o,style:l._4,useInlineStyles:!0,wrapLines:h,children:r})}}})}},65730:function(e,n,t){var r,o=t(82394),c=(t(82684),t(64866)),i=t(21764),a=t(67971),l=t(10919),s=t(86673),u=t(19711),d=t(46261),p=t(10503),f=t(49125),b=t(28598);function h(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?h(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}!function(e){e.LEFT="left",e.RIGHT="right"}(r||(r={})),n.Z=function(e){var n,t=e.children,o=e.copiedText,h=e.iconPosition,g=void 0===h?r.LEFT:h,v=e.inverted,x=e.linkProps,j=e.linkText,y=e.monospace,O=e.muted,w=e.small,k=e.toastMessage,C=e.withCopyIcon;return t?n=(0,b.jsx)("span",{children:t}):C&&(n=(0,b.jsx)(l.Z,m(m({href:"#",inline:!0,muted:O,preventDefault:!0,sameColorAsText:!0,small:w},x),{},{children:(0,b.jsxs)(a.Z,{alignItems:"center",children:[g===r.LEFT&&(0,b.jsx)(s.Z,{mr:j?1:0,children:(0,b.jsx)(a.Z,{alignItems:"center",children:(0,b.jsx)(p.CK,{inverted:v,muted:O,size:2*f.iI})})}),j&&(0,b.jsx)(u.ZP,{inverted:v,monospace:y,muted:O,small:w,children:j}),g===r.RIGHT&&(0,b.jsx)(s.Z,{ml:j?1:0,children:(0,b.jsx)(a.Z,{alignItems:"center",children:(0,b.jsx)(p.CK,{inverted:v,muted:O})})})]})}))),(0,b.jsx)(d.Z,{block:!0,label:"Copy",size:null,widthFitContent:!0,children:(0,b.jsx)(c.CopyToClipboard,{onCopy:function(){return i.Am.success(k||"Successfully copied to clipboard.",{position:i.Am.POSITION.BOTTOM_RIGHT,toastId:o})},text:o,children:n})})}},32316:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(82684),o=t(60328),c=t(67971),i=t(882),a=t(86673),l=t(99994),s=t(9518),u=t(49125),d=t(37391),p=s.default.div.withConfig({displayName:"indexstyle__TabsContainerStyle",componentId:"sc-segf7l-0"})(["padding-left:","px;padding-right:","px;"," "," ",""],u.cd*u.iI,u.cd*u.iI,(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.allowScroll&&"\n overflow: auto;\n "}),d.w5),f=t(66653),b=t(28598);var h=function(e){var n=e.allowScroll,t=e.contained,s=e.noPadding,d=e.onClickTab,h=e.selectedTabUUID,m=e.small,g=e.tabs,v=(0,r.useMemo)((function(){var e=g.length,n=[];return g.forEach((function(t,r){var s=t.Icon,p=t.IconSelected,g=t.label,v=t.uuid,x=v===h,j=x&&p||s,y=g?g():v,O=(0,b.jsxs)(c.Z,{alignItems:"center",children:[j&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(j,{default:!x,size:2*u.iI}),(0,b.jsx)(a.Z,{mr:1})]}),y]});r>=1&&e>=2&&n.push((0,b.jsx)("div",{style:{marginLeft:1.5*u.iI}},"spacing-".concat(v))),x?n.push((0,b.jsx)(i.Z,{backgroundGradient:l.yr,backgroundPanel:!0,borderLess:!0,borderWidth:2,compact:m,onClick:function(e){(0,f.j)(e),d(t)},paddingUnitsHorizontal:2,paddingUnitsVertical:1.25,small:m,children:O},v)):n.push((0,b.jsx)("div",{style:{padding:4},children:(0,b.jsx)(o.Z,{borderLess:!0,compact:m,default:!0,onClick:function(e){(0,f.j)(e),d(t)},outline:!0,small:m,children:O},"button-tab-".concat(v))}))})),n}),[d,h,g]),x=(0,b.jsx)(c.Z,{alignItems:"center",children:v});return t?x:(0,b.jsx)(p,{allowScroll:n,noPadding:s,children:x})}},38341:function(e,n,t){var r=t(21831),o=t(82394),c=t(26304),i=(t(82684),t(9518)),a=t(67971),l=t(86673),s=t(19711),u=t(23831),d=t(10503),p=t(73942),f=t(49125),b=t(28598),h=["beforeIcon","checked","disabled","errorMessage","label","labelDescription","large","meta","monospace","onClick","required","small","warning","xsmall"];function m(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?m(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=i.default.div.withConfig({displayName:"Checkbox__CheckboxContainer",componentId:"sc-ujqx42-0"})(["display:inline-block;vertical-align:middle;cursor:pointer;"]),x=i.default.div.withConfig({displayName:"Checkbox__ErrorContainer",componentId:"sc-ujqx42-1"})(["margin-top:4px;"]),j=i.default.input.withConfig({displayName:"Checkbox__HiddenCheckbox",componentId:"sc-ujqx42-2"})(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;",""],(function(e){return e.notClickable&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,"\n border-color: ").concat((e.theme.content||u.Z.content).disabled,"\n\n &:hover {\n cursor: not-allowed;\n }\n ")})),y=i.default.div.withConfig({displayName:"Checkbox__StyledCheckbox",componentId:"sc-ujqx42-3"})(["border-radius:","px;height:","px;transition:all 150ms;width:","px;svg{position:relative;visibility:",";}"," "," "," "," input[disabled]{cursor:default;}"," ",""],.5*f.iI,2*f.iI,2*f.iI,(function(e){return e.checked||e.required?"visible":"hidden"}),(function(e){return e.large&&"\n svg {\n left: -4px;\n top: -8px;\n }\n "}),(function(e){return!e.checked&&"\n background-color: ".concat((e.theme.background||u.Z.background).popup,";\n border: ").concat(p.PV,"px ").concat(p.M8," ").concat((e.theme.content||u.Z.content).muted,";\n ")}),(function(e){return e.checked&&"\n background-color: ".concat((e.theme.interactive||u.Z.interactive).checked,";\n border: ").concat(p.YF,"px ").concat(p.M8," transparent;\n ")}),(function(e){return e.required&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,";\n border: ").concat(p.YF,"px ").concat(p.M8," transparent;\n ")}),(function(e){return e.disabled&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,";\n border-color: ").concat((e.theme.content||u.Z.content).disabled,";\n\n &:hover {\n cursor: not-allowed;\n }\n ")}),(function(e){return e.warning&&"\n background-color: ".concat((e.theme.accent||u.Z.accent).warning,";\n border-color: ").concat((e.theme.interactive||u.Z.interactive).defaultBorder,"\n ")})),O=i.default.label.withConfig({displayName:"Checkbox__LabelStyle",componentId:"sc-ujqx42-4"})(["-ms-flex-direction:column;align-items:center;display:flex;flex-direction:column;flex-direction:row;&:hover{cursor:pointer;}"]);n.Z=function(e){var n=e.beforeIcon,t=e.checked,o=e.disabled,i=e.errorMessage,u=e.label,p=e.labelDescription,m=e.large,w=e.meta,k=e.monospace,C=void 0!==k&&k,Z=e.onClick,I=e.required,P=e.small,D=void 0!==P&&P,S=e.warning,T=e.xsmall,_=void 0!==T&&T,E=(0,c.Z)(e,h),N=S||!!(i||w&&w.touched&&w.error);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(O,{onClick:function(e){e.preventDefault(),Z&&Z(e)},children:[(0,b.jsxs)(v,{children:[(0,b.jsx)(j,g(g({},E),{},{disabled:o?"disabled":void 0,notClickable:o})),(0,b.jsx)(y,{checked:t,disabled:o,large:m,required:I,warning:N,children:(0,b.jsx)(d.Jr,{size:f.iI*(m?3:2)})})]}),n&&(0,b.jsx)(l.Z,{ml:1,children:(0,b.jsx)(a.Z,{children:n})}),u&&(0,b.jsxs)(l.Z,{pl:1,children:["string"===typeof u&&(0,b.jsx)(s.ZP,{disabled:o,lineThrough:o,monospace:C,small:D,xsmall:_,children:u}),"string"!==typeof u&&u,p&&(0,b.jsx)(s.ZP,{muted:!0,small:!0,children:p})]})]}),(i||w&&w.touched&&w.error)&&(0,b.jsx)(x,{children:(0,b.jsx)(s.ZP,{small:!0,warning:!0,children:i?(0,r.Z)(i):w.error})})]})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9386],{15270:function(e,n,t){t.d(n,{Z:function(){return j}});var r=t(82684),i=t(34376),o=t(61519),d=t(57639),l=t(882),c=t(11135),a=t(28598);var s=function(e){var n=e.size;return(0,a.jsxs)("svg",{width:n,height:n,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.86364 2.5H4.13636C3.68449 2.5 3.31818 2.94772 3.31818 3.5V7.5C3.31818 8.05228 3.68449 8.5 4.13636 8.5H9.86364C10.3155 8.5 10.6818 8.05228 10.6818 7.5V3.5C10.6818 2.94772 10.3155 2.5 9.86364 2.5ZM4.13636 1.5C3.23263 1.5 2.5 2.39543 2.5 3.5V7.5C2.5 8.60457 3.23263 9.5 4.13636 9.5H5.5V16.1667V16.5H4.13636C3.23263 16.5 2.5 17.3954 2.5 18.5V22.5C2.5 23.6046 3.23263 24.5 4.13636 24.5H9.86364C10.7674 24.5 11.5 23.6046 11.5 22.5V18.5C11.5 17.3954 10.7674 16.5 9.86364 16.5H6.5V16.1667C6.5 14.9394 7.61929 13.9444 9 13.9444H16C17.933 13.9444 19.5 12.5516 19.5 10.8333V9.5H21.8636C22.7674 9.5 23.5 8.60457 23.5 7.5V3.5C23.5 2.39543 22.7674 1.5 21.8636 1.5H16.1364C15.2326 1.5 14.5 2.39543 14.5 3.5V7.5C14.5 8.60457 15.2326 9.5 16.1364 9.5H18.5V10.8333C18.5 12.0606 17.3807 13.0556 16 13.0556H9C8.02066 13.0556 7.13526 13.4131 6.5 13.9893V9.5H9.86364C10.7674 9.5 11.5 8.60457 11.5 7.5V3.5C11.5 2.39543 10.7674 1.5 9.86364 1.5H4.13636ZM9.86364 17.5H6.5H5.5H4.13636C3.68449 17.5 3.31818 17.9477 3.31818 18.5V22.5C3.31818 23.0523 3.68449 23.5 4.13636 23.5H9.86364C10.3155 23.5 10.6818 23.0523 10.6818 22.5V18.5C10.6818 17.9477 10.3155 17.5 9.86364 17.5ZM16.1364 2.5H21.8636C22.3155 2.5 22.6818 2.94772 22.6818 3.5V7.5C22.6818 8.05228 22.3155 8.5 21.8636 8.5H16.1364C15.6845 8.5 15.3182 8.05228 15.3182 7.5V3.5C15.3182 2.94772 15.6845 2.5 16.1364 2.5Z",fill:"url(#paint0_linear_2738_141228)"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_2738_141228",x1:"2.5",y1:"13",x2:"23.5",y2:"13",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},u=t(29664);var f=function(e){var n=e.size;return(0,a.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.65256 15.8011L4.68226 20.7714C4.14193 21.3117 3.26588 21.3117 2.72556 20.7714C2.18523 20.231 2.18523 19.355 2.72556 18.8147L7.60553 13.9347C9.03 12.5102 9.91996 10.6383 10.1255 8.6343L10.3663 6.28587C10.4455 5.51385 10.7884 4.7927 11.3371 4.24393L11.9728 3.60825C13.233 2.34803 15.1222 2.10014 16.6299 2.86457L13.621 5.87349C12.7214 6.77304 12.7214 8.23149 13.621 9.13104L13.9934 9.50349C14.893 10.403 16.3514 10.403 17.251 9.50349L20.2599 6.49457C21.0243 8.00224 20.7764 9.89143 19.5162 11.1516L18.786 11.8818C18.2751 12.3928 17.6175 12.7318 16.9049 12.8515L14.634 13.2332C12.7469 13.5504 11.0056 14.448 9.65256 15.8011ZM11.0889 2.72437C12.8414 0.971949 15.5214 0.712489 17.5485 1.94599C17.9008 2.16036 18.2333 2.41982 18.5379 2.72436L14.5049 6.75738C14.0935 7.16877 14.0935 7.83577 14.5049 8.24716L14.8773 8.61961C15.2887 9.031 15.9557 9.031 16.3671 8.61961L20.4001 4.5866C20.7046 4.89114 20.9641 5.22371 21.1785 5.57599C22.412 7.60309 22.1525 10.2831 20.4001 12.0355L19.6699 12.7657C18.9751 13.4605 18.081 13.9214 17.1121 14.0842L14.8412 14.4659C13.2104 14.74 11.7057 15.5157 10.5364 16.6849L5.56614 21.6552C4.53766 22.6837 2.87016 22.6837 1.84167 21.6552C0.81319 20.6268 0.813193 18.9593 1.84168 17.9308L6.72165 13.0508C7.94285 11.8296 8.70581 10.2248 8.88201 8.50678L9.12286 6.15835C9.23136 5.10035 9.70121 4.11209 10.4533 3.36005L11.0889 2.72437ZM4.88014 19.3535C5.0754 19.1582 5.0754 18.8417 4.88014 18.6464C4.68488 18.4511 4.3683 18.4511 4.17303 18.6464L3.64631 19.1731C3.45105 19.3684 3.45105 19.685 3.64631 19.8802C3.84158 20.0755 4.15816 20.0755 4.35342 19.8802L4.88014 19.3535Z",fill:"url(#paint0_linear_7839_33197)"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_7839_33197",x1:"1.07031",y1:"11.8041",x2:"21.9428",y2:"11.8041",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})};var p=function(e){var n=e.size;return(0,a.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 18V6c0-1.38071 1.11929-2.5 2.5-2.5h12c1.3807 0 2.5 1.11929 2.5 2.5v12c0 1.3807-1.1193 2.5-2.5 2.5H6c-1.38071 0-2.5-1.1193-2.5-2.5zM2 18V6c0-2.20914 1.79086-4 4-4h12c2.2091 0 4 1.79086 4 4v12c0 2.2091-1.7909 4-4 4H6c-2.20914 0-4-1.7909-4-4zm9.0935-8.41432c.3235-.25876.3759-.73073.1172-1.05417-.2588-.32345-.7308-.37589-1.0542-.11713L7.03148 10.9144c-.17791.1423-.28148.3578-.28148.5856 0 .2279.10357.4433.28148.5857l3.12502 2.5c.3234.2587.7954.2063 1.0542-.1172.2587-.3234.2063-.7954-.1172-1.0541L8.70058 11.5l2.39292-1.91432zM14.5 13.25c-.4142 0-.75.3358-.75.75s.3358.75.75.75H17c.4142 0 .75-.3358.75-.75s-.3358-.75-.75-.75h-2.5z",fill:"url(#paint0_linear_1244_32583)"}),(0,a.jsxs)("defs",{children:[(0,a.jsx)("clipPath",{id:"clip0_5247_222548",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white"})}),(0,a.jsxs)("linearGradient",{id:"paint0_linear_1244_32583",x1:"1.07031",y1:"11.8041",x2:"21.9428",y2:"11.8041",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})]})]})},h=t(86673),g=t(19711),x=t(46261),v=t(10503),m=t(72454),b=t(99994),y=t(49125),C=3*y.iI;var j=function(e){var n=e.aligned,t=e.navigationItems,j=(0,i.useRouter)().pathname,w=(0,r.useMemo)((function(){var e=[{Icon:v.rV,IconSelected:s,id:"pipelines",label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}},{Icon:v.Pf,IconSelected:u.Z,id:"triggers",label:function(){return"Triggers"},linkProps:{href:"/triggers"}},{Icon:v.pd,IconSelected:o.Z,id:"pipeline-runs",label:function(){return"Pipelines runs"},linkProps:{href:"/pipeline-runs"}},{Icon:v.oI,IconSelected:p,id:"terminal",label:function(){return"Terminal"},linkProps:{href:"/terminal"}},{Icon:v.Zr,IconSelected:f,id:"settings",label:function(){return"Settings"},linkProps:{href:"/settings"}}];return(t||e).map((function(e,t){var r=e.Icon,i=e.IconSelected,o=e.id,d=e.isSelected,s=e.label,u=e.linkProps,f=e.onClick,p=d?d(j,e):!!j.match(new RegExp("^/".concat(o,"[/]*"))),v=p&&i?i:r;return(0,a.jsx)(h.Z,{mt:t>=1?y.cd:0,children:(0,a.jsxs)(x.Z,{appearBefore:"right"===n,height:5*y.iI,label:s(),size:null,widthFitContent:!0,children:[p&&i&&(0,a.jsx)(l.Z,{backgroundGradient:b.yr,backgroundPanel:!0,basic:!0,borderWidth:2,linkProps:u,onClick:f,paddingUnits:1,children:(0,a.jsx)("div",{style:{height:C,width:C},children:(0,a.jsx)(v,{muted:!0,size:C})})}),(!p||p&&!i)&&(0,a.jsx)(c.ZP,{block:!0,linkProps:u,noHoverUnderline:!0,noPadding:!0,onClick:f,primary:p,sameColorAsText:!0,uuid:"VerticalNavigation/".concat(o),children:(0,a.jsx)(m.E7,{primary:!v,children:v?(0,a.jsx)(v,{muted:!p,size:C}):(0,a.jsx)(g.ZP,{children:"Edit"})})})]})},"button-".concat(o))}))}),[n,t,j]);return(0,a.jsx)(d.Z,{children:w})}},72454:function(e,n,t){t.d(n,{E7:function(){return h},HS:function(){return p},Nk:function(){return u},k1:function(){return s},lm:function(){return f}});var r=t(9518),i=t(23831),o=t(73942),d=t(3055),l=t(49125),c=t(37391),a=t(90880),s=l.cd*l.iI+5*l.iI+l.cd*l.iI+1,u=r.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-ecogjt-0"})(["display:flex;flex-direction:row;height:calc(100vh - ","px);position:fixed;top:","px;width:100%;",""],d.Mz,d.Mz,(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).page,";\n ")})),f=r.default.div.withConfig({displayName:"indexstyle__VerticalNavigationStyle",componentId:"sc-ecogjt-1"})(["padding:","px;"," "," ",""],l.cd*l.iI,(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n ")}),(function(e){return e.borderLeft&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n ")}),(function(e){return!e.borderLeft&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n ")})),p=r.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-ecogjt-2"})(["width:100%;padding:","px;position:sticky;top:0;z-index:2;",""],l.cd*l.iI,(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||i.Z.borders).medium,";\n ")})),h=(r.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-ecogjt-3"})([""," overflow:auto;",""],c.w5,(function(e){return"\n height: calc(100vh - ".concat(d.Mz+(e.heightOffset||0),"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NavigationItemStyle",componentId:"sc-ecogjt-4"})(["display:flex;align-items:center;justify-content:center;padding:","px;border-radius:","px;",""],l.iI,o.n_,(function(e){return e.primary&&"\n ".concat((0,a.eR)(),"\n background: ").concat((e.theme||i.Z).chart.backgroundPrimary,";\n border: 1px solid ").concat((e.theme||i.Z).feature.active,";\n\n &:hover {\n background-color: ").concat((e.theme||i.Z).interactive.linkSecondary,";\n }\n ")})))},28358:function(e,n,t){t.d(n,{Z:function(){return v}});var r=t(82684),i=t(60328),o=t(10919),d=t(86673),l=t(19711),c=t(10503),a=t(9518),s=t(23831),u=t(73942),f=t(49125),p=t(37391),h=a.default.div.withConfig({displayName:"indexstyle__ErrorPopupStyle",componentId:"sc-aqfw6f-0"})(["top:50%;left:50%;transform:translate(-50%,-50%);max-height:95vh;max-width:95vw;overflow:auto;padding:","px;position:fixed;z-index:9999;border-radius:","px;"," ",""],f.iI*f.cd,u.n_,(function(e){return"\n background-color: ".concat((e.theme||s.Z).background.page,";\n border: 1px solid ").concat((e.theme||s.Z).accent.negative,";\n box-shadow: ").concat((e.theme||s.Z).shadow.window,";\n ")}),p.w5),g=a.default.div.withConfig({displayName:"indexstyle__CloseButtonContainerStyle",componentId:"sc-aqfw6f-1"})(["display:flex;justify-content:flex-end;position:sticky;top:0;"]),x=t(28598);var v=function(e){var n,t,a=e.displayMessage,s=e.errors,u=e.links,f=e.onClose,p=e.response,v=(0,r.useState)(!1),m=v[0],b=v[1],y=(0,r.useState)(!1),C=y[0],j=y[1],w=(s||{}).messages,Z=(null===p||void 0===p?void 0:p.error)||{},k=Z.errors,_=Z.exception,I=Z.message,H=a,O=w;return I&&(O=I.split("\n")),_||H||null===(n=O)||void 0===n||!n[0]||(H=O[0],O=null),(0,x.jsxs)(h,{children:[(0,x.jsx)(g,{children:(0,x.jsx)(i.Z,{iconOnly:!0,noBackground:!0,noBorder:!0,noPadding:!0,onClick:f,title:"Close errors",children:(0,x.jsx)(c.x8,{})})}),(0,x.jsx)(l.ZP,{bold:!0,large:!0,children:"Error"}),H&&(0,x.jsx)(d.Z,{mt:1,children:(0,x.jsx)(l.ZP,{default:!0,children:H})}),_&&(0,x.jsx)(d.Z,{mt:1,children:(0,x.jsx)(l.ZP,{default:!0,disableWordBreak:!0,monospace:!0,children:_})}),(null===(t=O)||void 0===t?void 0:t.length)>0&&(0,x.jsxs)(d.Z,{mt:2,children:[(0,x.jsxs)(l.ZP,{bold:!0,large:!0,children:["Traceback (",(0,x.jsxs)(o.Z,{onClick:function(){return j((function(e){return!e}))},preventDefault:!0,warning:!0,children:[C?"hide":"show"," traceback"]}),")"]}),C&&(0,x.jsx)(d.Z,{mt:1,children:O.map((function(e){return(0,x.jsx)(l.ZP,{dangerouslySetInnerHTML:{__html:e.replaceAll(" "," ")},default:!0,disableWordBreak:!0,monospace:!0},e)}))})]}),k&&(0,x.jsxs)(d.Z,{mt:2,children:[(0,x.jsxs)(l.ZP,{bold:!0,large:!0,children:["Stack trace (",(0,x.jsxs)(o.Z,{onClick:function(){return b((function(e){return!e}))},preventDefault:!0,warning:!0,children:[m?"hide":"show"," stack trace"]}),")"]}),m&&(0,x.jsx)(d.Z,{mt:1,children:k.map((function(e){return(0,x.jsx)(l.ZP,{dangerouslySetInnerHTML:{__html:e.replaceAll(" "," ")},default:!0,disableWordBreak:!0,monospace:!0},e)}))})]}),null===u||void 0===u?void 0:u.map((function(e,n){var t=e.label,r=e.onClick;return(0,x.jsx)(d.Z,{mt:2,children:(0,x.jsx)(o.Z,{large:!0,onClick:r,underline:!0,warning:!0,children:t})},t)}))]})}},82386:function(e,n,t){t.d(n,{E$:function(){return I},MK:function(){return m},MP:function(){return Z},Md:function(){return s},OM:function(){return x},Ru:function(){return k},VW:function(){return p},W7:function(){return j},Wi:function(){return g},YJ:function(){return w},Zj:function(){return S},Zt:function(){return a},aH:function(){return P},dN:function(){return u},ff:function(){return _},l8:function(){return h},rS:function(){return O},uX:function(){return v},v7:function(){return H},ve:function(){return f}});var r=t(9518),i=t(23831),o=t(73942),d=t(3055),l=t(49125),c=t(37391),a=64*l.iI,s=3*l.cd*l.iI,u=s,f=35*l.iI,p=.5*l.iI,h=13*l.iI,g=3*l.cd*l.iI,x=6*l.iI,v=2*l.cd*3*l.iI,m=(r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1lxpneo-0"})(["position:fixed;z-index:2;"," "," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.beforeVisible&&"\n width: 100%;\n "}),(function(e){return e.beforeVisible&&"\n left: ".concat(f,"px;\n width: calc(100% - ").concat(f,"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NewHeaderStyle",componentId:"sc-1lxpneo-1"})(["height:","px;position:fixed;top:0;width:100%;z-index:4;"],d.Mz)),b=(r.default.div.withConfig({displayName:"indexstyle__TabStyle",componentId:"sc-1lxpneo-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;position:relative;top:1px;"," "," ",""],o.n_,o.n_,1*l.iI,2*l.iI,(function(e){return"\n border-left: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-right: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-top: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.first&&"\n margin-left: ".concat(1*l.iI,"px;\n ")}),(function(e){return e.selected&&"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).white,";\n ")})),(0,r.css)(["position:fixed;z-index:2;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n height: calc(100% - ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px);\n top: ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px;\n ")}))),y=(0,r.css)([""," height:100%;overflow:auto;position:relative;z-index:2;"],c.w5),C=(0,r.css)(["height:calc(100% + ","px);position:absolute;top:-","px;width:","px;z-index:6;&:hover{","}"," ",""],g,g,p,(function(e){return!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")}),(function(e){return!e.disabled&&"\n cursor: col-resize;\n "}),(function(e){return e.active&&!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderStyle",componentId:"sc-1lxpneo-3"})(["border-bottom:1px solid transparent;height:","px;position:fixed;top:","px;z-index:4;"," "," ",""],g,g,(0,c.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n ")}),(function(e){return!e.visible&&"\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n border-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),w=r.default.div.withConfig({displayName:"indexstyle__AsideSubheaderStyle",componentId:"sc-1lxpneo-4"})(["border-bottom:1px solid transparent;height:","px;overflow-x:auto;"," "," ",""],g,(0,c.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).table,";\n ")}),(function(e){return!e.visible&&"\n border-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),Z=r.default.aside.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-1lxpneo-5"})([""," left:0;"],b),k=r.default.div.withConfig({displayName:"indexstyle__BeforeInnerStyle",componentId:"sc-1lxpneo-6"})([""," overflow:hidden;&:hover{overflow:auto;}"],y),_=r.default.aside.withConfig({displayName:"indexstyle__AfterStyle",componentId:"sc-1lxpneo-7"})([""," right:0;"],b),I=r.default.div.withConfig({displayName:"indexstyle__AfterInnerStyle",componentId:"sc-1lxpneo-8"})(["",""],y),H=r.default.div.withConfig({displayName:"indexstyle__DraggableStyle",componentId:"sc-1lxpneo-9"})([""," "," ",""],C,(function(e){return"undefined"!==typeof e.left&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n left: ").concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n border-right: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n right: ").concat(e.right,"px;\n ")})),O=r.default.div.withConfig({displayName:"indexstyle__MainWrapper",componentId:"sc-1lxpneo-10"})(["height:100%;position:fixed;z-index:1;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).codeArea,";\n ")})),P=r.default.div.withConfig({displayName:"indexstyle__MainContentStyle",componentId:"sc-1lxpneo-11"})(["position:fixed;z-index:2;",""],(function(e){return"\n height: calc(100% - ".concat(e.headerOffset||0,"px);\n top: ").concat(e.headerOffset||0,"px;\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__MainContentInnerStyle",componentId:"sc-1lxpneo-12"})([""," height:100%;overflow:auto;"],c.w5)},32063:function(e,n,t){var r=t(82684),i=t(1887),o=t.n(i),d=t(60328),l=t(57639),c=t(93461),a=t(67971),s=t(86673),u=t(46261),f=t(82386),p=t(10503),h=t(91427),g=t(49125),x=t(24141),v=t(28598);n.Z=function(e){var n=e.after,t=e.afterHeader,i=e.afterHeightOffset,m=e.afterHidden,b=e.afterMousedownActive,y=e.afterSubheader,C=e.afterWidth,j=void 0===C?0:C,w=e.before,Z=e.beforeHeader,k=e.beforeHeightOffset,_=e.beforeHidden,I=e.beforeMousedownActive,H=e.beforeWidth,O=void 0===H?0:H,P=e.children,S=e.header,V=e.headerOffset,E=void 0===V?0:V,M=e.hideAfterCompletely,B=e.leftOffset,L=void 0===B?0:B,z=e.mainContainerHeader,N=e.mainContainerRef,R=e.setAfterHidden,A=e.setAfterMousedownActive,D=e.setAfterWidth,W=e.setBeforeHidden,F=e.setBeforeMousedownActive,U=e.setBeforeWidth,T=(e.uuid,(0,x.i)().width),G=(0,r.useRef)(null),X=(0,r.useRef)(null),$=(0,r.useRef)(null),q=(0,r.useRef)(null),Y=(0,r.useCallback)((function(){var e=!m;null===R||void 0===R||R(e),(0,h.t8)(h.zg,e)}),[m,R]),J=(0,r.useCallback)((function(){var e=!_;W(e),(0,h.t8)(h.Uu,e)}),[_,W]);(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===$||void 0===$||null===(n=$.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(T){var r=e.x;r+f.l8>T-j&&(r=T-j-f.l8),r-=2*L,U(Math.max(r,f.dN))}},o=function(e){var n,t;e.offsetX>=e.target.offsetWidth-f.VW&&e.offsetX<=e.target.offsetWidth+f.VW&&(null===F||void 0===F||F(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},d=function(){var e,n;null===F||void 0===F||F(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===q||void 0===q||null===(e=q.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",d,!1),function(){var e,n,t,r;null===q||void 0===q||null===(e=q.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",d,!1),d()}}),[j,_,L,$,q,F,U,T]),(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===G||void 0===G||null===(n=G.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(T){var r=T-e.x;r+f.l8>T-O&&(r=T-O-f.l8),D(Math.max(r,f.Md))}},o=function(e){var n,t;e.offsetX>=-1*f.VW&&e.offsetX<=f.VW&&(null===A||void 0===A||A(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},d=function(){var e,n;null===A||void 0===A||A(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===X||void 0===X||null===(e=X.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",d,!1),function(){var e,n,t,r;null===X||void 0===X||null===(e=X.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",d,!1),d()}}),[m,O,G,X,A,D,T]);var K=M&&m,Q=K?0:m?4*g.iI:j,ee=_?4*g.iI:O,ne="calc(100% - ".concat(ee+Q+L,"px)");return(0,v.jsxs)(l.Z,{children:[(b&&!m||I&&!_)&&(0,v.jsx)(o(),{children:(0,v.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n body {\n cursor: col-resize;\n }\n "}})}),S&&(0,v.jsx)(f.MK,{children:S}),w&&(0,v.jsxs)(f.MP,{heightOffset:k,style:{left:L,width:ee},children:[(0,v.jsx)(f.v7,{active:I,disabled:_,ref:q,right:0}),W&&(0,v.jsx)(f.W7,{style:{width:ee},visible:_,children:(0,v.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"space-between",children:[(0,v.jsxs)(c.Z,{children:[(0,v.jsx)(s.Z,{pl:_?1:0}),!_&&Z]}),(0,v.jsxs)(c.Z,{children:[(0,v.jsx)(u.Z,{block:!0,label:_?"Show sidebar":"Hide sidebar",size:null,widthFitContent:!0,children:(0,v.jsxs)(d.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return J()},children:[_&&(0,v.jsx)(p._Q,{neutral:!0,size:2*g.iI}),!_&&(0,v.jsx)(p.s$,{neutral:!0,size:2*g.iI})]})},_?"before-is-hidden":"before-is-visible"),(0,v.jsx)(s.Z,{pr:_?1:2})]})]})}),(0,v.jsx)(f.Ru,{noScrollbarTrackBackground:!0,ref:$,children:!_&&w})]}),(0,v.jsxs)(f.rS,{style:{left:ee+L,width:ne},children:[z,(0,v.jsx)(f.aH,{headerOffset:(z?f.uX:f.Wi)+E,style:{width:ne},children:(0,v.jsx)(f.Zj,{noScrollbarTrackBackground:!0,ref:N,children:P})})]}),n&&!K&&(0,v.jsxs)(f.ff,{heightOffset:i,style:{width:Q},children:[(0,v.jsx)(f.v7,{active:b,disabled:m,left:0,ref:X}),R&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(f.W7,{style:{width:Q},visible:m,children:(0,v.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,v.jsxs)(c.Z,{children:[(0,v.jsx)(s.Z,{pl:m?1:2}),(0,v.jsxs)(d.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return Y()},children:[m&&(0,v.jsx)(p.s$,{neutral:!0,size:2*g.iI}),!m&&(0,v.jsx)(p._Q,{neutral:!0,size:2*g.iI})]})]}),!m&&t]})}),!m&&y&&(0,v.jsx)(f.YJ,{style:{width:Q},visible:m,children:y})]}),(0,v.jsx)(f.E$,{noScrollbarTrackBackground:!0,ref:G,children:!m&&n})]})]})}},41788:function(e,n,t){t.d(n,{Z:function(){return I}});var r=t(77837),i=t(26304),o=t(62243),d=t(29385),l=t(80022),c=t(99177),a=t(93189),s=t(15544),u=t(82394),f=t(38860),p=t.n(f),h=t(82684),g=t(56663),x=t.n(g),v=t(35490),m=t(55361),b=t(30332),y=t(9736),C=t(59e3),j=t(28598),w=["auth"];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 k(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,u.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}function _(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,s.Z)(e);if(n){var i=(0,s.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.Z)(this,t)}}function I(e){return function(n){(0,c.Z)(a,n);var t=_(a);function a(){var e;(0,o.Z)(this,a);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r)),(0,u.Z)((0,l.Z)(e),"state",{auth:new v.Z(e.props.token)}),e}return(0,d.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new v.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,i.Z)(n,w));return(0,j.jsx)(e,k({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var n=(0,r.Z)(p().mark((function n(t){var r,i,o,d,l,c,a,s,u;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=x()(t),i=(0,y.ex)(t),o=i.id,d=r[m.Mv],l=r[b.qt],c=new v.Z(d),a=k(k({},t),{},{auth:c,currentGroupId:o,theme:l}),(0,y.YB)(t)&&c.isExpired&&(console.log("OAuth token has expired."),s=k(k({},t.query),{},{redirect_url:t.asPath}),(0,C.nL)("/sign-in?".concat((0,C.uM)(s)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(a);case 10:return u=n.sent,n.abrupt("return",k(k({},u),{},{auth:c,currentGroupId:o,theme:l}));case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}]),a}(h.Component)}},882:function(e,n,t){var r=t(82394),i=t(26304),o=t(9518),d=t(60328),l=t(23831),c=t(73942),a=t(99994),s=t(49125),u=t(28598),f=["backgroundGradient","backgroundPanel","borderWidth","children","compact","paddingUnits","paddingUnitsHorizontal","paddingUnitsVertical"];function p(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 h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=o.default.div.withConfig({displayName:"GradientButton__ButtonContentStyle",componentId:"sc-1gzx4r1-0"})(["border-radius:","px;height:fit-content;"," ",""],c.n_,(function(e){return!e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||l.Z.background).page,";\n ")}),(function(e){return e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||l.Z.background).panel,";\n ")}));n.Z=function(e){var n=e.backgroundGradient,t=void 0===n?a.TD:n,r=e.backgroundPanel,o=e.borderWidth,l=void 0===o?1:o,c=e.children,p=e.compact,x=e.paddingUnits,v=e.paddingUnitsHorizontal,m=void 0===v?1.5:v,b=e.paddingUnitsVertical,y=void 0===b?1.25:b,C=(0,i.Z)(e,f),j=m,w=y;return x&&(j=x,w=x),p&&(j*=.75,w*=.75),(0,u.jsx)(d.Z,h(h({},C),{},{backgroundGradient:t,noPadding:!0,padding:"".concat(l,"px"),pointerEventsEnabled:!0,children:(0,u.jsx)(g,{backgroundPanel:r,children:(0,u.jsx)("div",{style:{paddingBottom:w*s.iI-l,paddingLeft:j*s.iI-l,paddingRight:j*s.iI-l,paddingTop:w*s.iI-l},children:c})})}))}},61519:function(e,n,t){var r=t(28598);n.Z=function(e){var n=e.size;return(0,r.jsxs)("svg",{width:n,height:n,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3H9V9H3V3ZM10 2V9H17V16H24V24H17H16H10H9H2V17V16V10V9V2H10ZM16 23V17H10V23H16ZM17 23H23V17H17V23ZM16 16V10H10V16H16ZM9 10V16H3V10H9ZM9 17V23H3V17H9Z",fill:"url(#paint0_linear_2738_140355)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_2738_140355",x1:"2",y1:"13",x2:"24",y2:"13",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})}},29664:function(e,n,t){var r=t(28598);n.Z=function(e){var n=e.size;return(0,r.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C6.75329 21.5 2.5 17.2467 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12ZM23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM12.75 7C12.75 6.58579 12.4142 6.25 12 6.25C11.5858 6.25 11.25 6.58579 11.25 7V13C11.25 13.4142 11.5858 13.75 12 13.75H16C16.4142 13.75 16.75 13.4142 16.75 13C16.75 12.5858 16.4142 12.25 16 12.25H12.75V7Z",fill:"url(#paint0_linear_2798_59379)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_2798_59379",x1:"1",y1:"12",x2:"23",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})}},99994:function(e,n,t){t.d(n,{eW:function(){return a},TD:function(){return l},yr:function(){return c}});var r=t(73899),i="#FF144D",o="#DEBB92",d="#2A60FE",l=("linear-gradient(90deg, ".concat(o,", ").concat("#CBFE00",")"),"linear-gradient(90deg, ".concat(i,", #C86DD7)")),c=("linear-gradient(90deg, ".concat("#95ECE2",", ").concat(d,")"),"linear-gradient(90deg, ".concat("#9B6CA7",", ").concat(o,")"),"linear-gradient(90deg, ".concat("#C72400",", ").concat(o,")"),"linear-gradient(100.38deg, ".concat(i," 41.11%, #FF9559 86.99%)"),"linear-gradient(100.38deg, ".concat("#6B50D7"," 41.11%, #677FFF 86.99%)"),"linear-gradient(100.38deg, ".concat(d," 41.11%, #B880FF 86.99%)"),"linear-gradient(90deg, ".concat(r.t4," 20.13%, #2AB2FE)")),a="linear-gradient(90deg, ".concat(r.Ck," 0%, ").concat(r.t4," 53.13%, ").concat(r.X_," 100%)")},66166:function(e,n,t){var r=t(82684);n.Z=function(e){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=e}),[e]),n.current}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9386],{15270:function(e,n,t){t.d(n,{Z:function(){return j}});var r=t(82684),i=t(34376),o=t(61519),d=t(57639),l=t(882),c=t(11135),a=t(28598);var s=function(e){var n=e.size;return(0,a.jsxs)("svg",{width:n,height:n,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.86364 2.5H4.13636C3.68449 2.5 3.31818 2.94772 3.31818 3.5V7.5C3.31818 8.05228 3.68449 8.5 4.13636 8.5H9.86364C10.3155 8.5 10.6818 8.05228 10.6818 7.5V3.5C10.6818 2.94772 10.3155 2.5 9.86364 2.5ZM4.13636 1.5C3.23263 1.5 2.5 2.39543 2.5 3.5V7.5C2.5 8.60457 3.23263 9.5 4.13636 9.5H5.5V16.1667V16.5H4.13636C3.23263 16.5 2.5 17.3954 2.5 18.5V22.5C2.5 23.6046 3.23263 24.5 4.13636 24.5H9.86364C10.7674 24.5 11.5 23.6046 11.5 22.5V18.5C11.5 17.3954 10.7674 16.5 9.86364 16.5H6.5V16.1667C6.5 14.9394 7.61929 13.9444 9 13.9444H16C17.933 13.9444 19.5 12.5516 19.5 10.8333V9.5H21.8636C22.7674 9.5 23.5 8.60457 23.5 7.5V3.5C23.5 2.39543 22.7674 1.5 21.8636 1.5H16.1364C15.2326 1.5 14.5 2.39543 14.5 3.5V7.5C14.5 8.60457 15.2326 9.5 16.1364 9.5H18.5V10.8333C18.5 12.0606 17.3807 13.0556 16 13.0556H9C8.02066 13.0556 7.13526 13.4131 6.5 13.9893V9.5H9.86364C10.7674 9.5 11.5 8.60457 11.5 7.5V3.5C11.5 2.39543 10.7674 1.5 9.86364 1.5H4.13636ZM9.86364 17.5H6.5H5.5H4.13636C3.68449 17.5 3.31818 17.9477 3.31818 18.5V22.5C3.31818 23.0523 3.68449 23.5 4.13636 23.5H9.86364C10.3155 23.5 10.6818 23.0523 10.6818 22.5V18.5C10.6818 17.9477 10.3155 17.5 9.86364 17.5ZM16.1364 2.5H21.8636C22.3155 2.5 22.6818 2.94772 22.6818 3.5V7.5C22.6818 8.05228 22.3155 8.5 21.8636 8.5H16.1364C15.6845 8.5 15.3182 8.05228 15.3182 7.5V3.5C15.3182 2.94772 15.6845 2.5 16.1364 2.5Z",fill:"url(#paint0_linear_2738_141228)"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_2738_141228",x1:"2.5",y1:"13",x2:"23.5",y2:"13",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})},u=t(29664);var f=function(e){var n=e.size;return(0,a.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.65256 15.8011L4.68226 20.7714C4.14193 21.3117 3.26588 21.3117 2.72556 20.7714C2.18523 20.231 2.18523 19.355 2.72556 18.8147L7.60553 13.9347C9.03 12.5102 9.91996 10.6383 10.1255 8.6343L10.3663 6.28587C10.4455 5.51385 10.7884 4.7927 11.3371 4.24393L11.9728 3.60825C13.233 2.34803 15.1222 2.10014 16.6299 2.86457L13.621 5.87349C12.7214 6.77304 12.7214 8.23149 13.621 9.13104L13.9934 9.50349C14.893 10.403 16.3514 10.403 17.251 9.50349L20.2599 6.49457C21.0243 8.00224 20.7764 9.89143 19.5162 11.1516L18.786 11.8818C18.2751 12.3928 17.6175 12.7318 16.9049 12.8515L14.634 13.2332C12.7469 13.5504 11.0056 14.448 9.65256 15.8011ZM11.0889 2.72437C12.8414 0.971949 15.5214 0.712489 17.5485 1.94599C17.9008 2.16036 18.2333 2.41982 18.5379 2.72436L14.5049 6.75738C14.0935 7.16877 14.0935 7.83577 14.5049 8.24716L14.8773 8.61961C15.2887 9.031 15.9557 9.031 16.3671 8.61961L20.4001 4.5866C20.7046 4.89114 20.9641 5.22371 21.1785 5.57599C22.412 7.60309 22.1525 10.2831 20.4001 12.0355L19.6699 12.7657C18.9751 13.4605 18.081 13.9214 17.1121 14.0842L14.8412 14.4659C13.2104 14.74 11.7057 15.5157 10.5364 16.6849L5.56614 21.6552C4.53766 22.6837 2.87016 22.6837 1.84167 21.6552C0.81319 20.6268 0.813193 18.9593 1.84168 17.9308L6.72165 13.0508C7.94285 11.8296 8.70581 10.2248 8.88201 8.50678L9.12286 6.15835C9.23136 5.10035 9.70121 4.11209 10.4533 3.36005L11.0889 2.72437ZM4.88014 19.3535C5.0754 19.1582 5.0754 18.8417 4.88014 18.6464C4.68488 18.4511 4.3683 18.4511 4.17303 18.6464L3.64631 19.1731C3.45105 19.3684 3.45105 19.685 3.64631 19.8802C3.84158 20.0755 4.15816 20.0755 4.35342 19.8802L4.88014 19.3535Z",fill:"url(#paint0_linear_7839_33197)"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_7839_33197",x1:"1.07031",y1:"11.8041",x2:"21.9428",y2:"11.8041",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})};var p=function(e){var n=e.size;return(0,a.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 18V6c0-1.38071 1.11929-2.5 2.5-2.5h12c1.3807 0 2.5 1.11929 2.5 2.5v12c0 1.3807-1.1193 2.5-2.5 2.5H6c-1.38071 0-2.5-1.1193-2.5-2.5zM2 18V6c0-2.20914 1.79086-4 4-4h12c2.2091 0 4 1.79086 4 4v12c0 2.2091-1.7909 4-4 4H6c-2.20914 0-4-1.7909-4-4zm9.0935-8.41432c.3235-.25876.3759-.73073.1172-1.05417-.2588-.32345-.7308-.37589-1.0542-.11713L7.03148 10.9144c-.17791.1423-.28148.3578-.28148.5856 0 .2279.10357.4433.28148.5857l3.12502 2.5c.3234.2587.7954.2063 1.0542-.1172.2587-.3234.2063-.7954-.1172-1.0541L8.70058 11.5l2.39292-1.91432zM14.5 13.25c-.4142 0-.75.3358-.75.75s.3358.75.75.75H17c.4142 0 .75-.3358.75-.75s-.3358-.75-.75-.75h-2.5z",fill:"url(#paint0_linear_1244_32583)"}),(0,a.jsxs)("defs",{children:[(0,a.jsx)("clipPath",{id:"clip0_5247_222548",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white"})}),(0,a.jsxs)("linearGradient",{id:"paint0_linear_1244_32583",x1:"1.07031",y1:"11.8041",x2:"21.9428",y2:"11.8041",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})]})]})},h=t(86673),g=t(19711),x=t(46261),v=t(10503),m=t(72454),b=t(99994),y=t(49125),C=3*y.iI;var j=function(e){var n=e.aligned,t=e.navigationItems,j=(0,i.useRouter)().pathname,w=(0,r.useMemo)((function(){var e=[{Icon:v.rV,IconSelected:s,id:"pipelines",label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}},{Icon:v.Pf,IconSelected:u.Z,id:"triggers",label:function(){return"Triggers"},linkProps:{href:"/triggers"}},{Icon:v.pd,IconSelected:o.Z,id:"pipeline-runs",label:function(){return"Pipelines runs"},linkProps:{href:"/pipeline-runs"}},{Icon:v.oI,IconSelected:p,id:"terminal",label:function(){return"Terminal"},linkProps:{href:"/terminal"}},{Icon:v.Zr,IconSelected:f,id:"settings",label:function(){return"Settings"},linkProps:{href:"/settings"}}];return(t||e).map((function(e,t){var r=e.Icon,i=e.IconSelected,o=e.id,d=e.isSelected,s=e.label,u=e.linkProps,f=e.onClick,p=d?d(j,e):!!j.match(new RegExp("^/".concat(o,"[/]*"))),v=p&&i?i:r;return(0,a.jsx)(h.Z,{mt:t>=1?y.cd:0,children:(0,a.jsxs)(x.Z,{appearBefore:"right"===n,height:5*y.iI,label:s(),size:null,widthFitContent:!0,children:[p&&i&&(0,a.jsx)(l.Z,{backgroundGradient:b.yr,backgroundPanel:!0,basic:!0,borderWidth:2,linkProps:u,onClick:f,paddingUnits:1,children:(0,a.jsx)("div",{style:{height:C,width:C},children:(0,a.jsx)(v,{muted:!0,size:C})})}),(!p||p&&!i)&&(0,a.jsx)(c.ZP,{block:!0,linkProps:u,noHoverUnderline:!0,noPadding:!0,onClick:f,primary:p,sameColorAsText:!0,uuid:"VerticalNavigation/".concat(o),children:(0,a.jsx)(m.E7,{primary:!v,children:v?(0,a.jsx)(v,{muted:!p,size:C}):(0,a.jsx)(g.ZP,{children:"Edit"})})})]})},"button-".concat(o))}))}),[n,t,j]);return(0,a.jsx)(d.Z,{children:w})}},72454:function(e,n,t){t.d(n,{E7:function(){return h},HS:function(){return p},Nk:function(){return u},k1:function(){return s},lm:function(){return f}});var r=t(9518),i=t(23831),o=t(73942),d=t(3055),l=t(49125),c=t(37391),a=t(90880),s=l.cd*l.iI+5*l.iI+l.cd*l.iI+1,u=r.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-ecogjt-0"})(["display:flex;flex-direction:row;height:calc(100vh - ","px);position:fixed;top:","px;width:100%;",""],d.Mz,d.Mz,(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).page,";\n ")})),f=r.default.div.withConfig({displayName:"indexstyle__VerticalNavigationStyle",componentId:"sc-ecogjt-1"})(["padding:","px;"," "," ",""],l.cd*l.iI,(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n ")}),(function(e){return e.borderLeft&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n ")}),(function(e){return!e.borderLeft&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n ")})),p=r.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-ecogjt-2"})(["width:100%;padding:","px;position:sticky;top:0;z-index:3;",""],l.cd*l.iI,(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||i.Z.borders).medium,";\n ")})),h=(r.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-ecogjt-3"})([""," overflow:auto;",""],c.w5,(function(e){return"\n height: calc(100vh - ".concat(d.Mz+(e.heightOffset||0),"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NavigationItemStyle",componentId:"sc-ecogjt-4"})(["display:flex;align-items:center;justify-content:center;padding:","px;border-radius:","px;",""],l.iI,o.n_,(function(e){return e.primary&&"\n ".concat((0,a.eR)(),"\n background: ").concat((e.theme||i.Z).chart.backgroundPrimary,";\n border: 1px solid ").concat((e.theme||i.Z).feature.active,";\n\n &:hover {\n background-color: ").concat((e.theme||i.Z).interactive.linkSecondary,";\n }\n ")})))},49894:function(e,n,t){t.d(n,{Z:function(){return v}});var r=t(82684),i=t(60328),o=t(10919),d=t(86673),l=t(19711),c=t(10503),a=t(9518),s=t(23831),u=t(73942),f=t(49125),p=t(37391),h=a.default.div.withConfig({displayName:"indexstyle__ErrorPopupStyle",componentId:"sc-aqfw6f-0"})(["top:50%;left:50%;transform:translate(-50%,-50%);max-height:95vh;max-width:95vw;overflow:auto;padding:","px;position:fixed;z-index:9999;border-radius:","px;"," ",""],f.iI*f.cd,u.n_,(function(e){return"\n background-color: ".concat((e.theme||s.Z).background.page,";\n border: 1px solid ").concat((e.theme||s.Z).accent.negative,";\n box-shadow: ").concat((e.theme||s.Z).shadow.window,";\n ")}),p.w5),g=a.default.div.withConfig({displayName:"indexstyle__CloseButtonContainerStyle",componentId:"sc-aqfw6f-1"})(["display:flex;justify-content:flex-end;position:sticky;top:0;"]),x=t(28598);var v=function(e){var n,t,a=e.displayMessage,s=e.errors,u=e.links,f=e.onClose,p=e.response,v=(0,r.useState)(!1),m=v[0],b=v[1],y=(0,r.useState)(!1),C=y[0],j=y[1],w=(s||{}).messages,Z=(null===p||void 0===p?void 0:p.error)||{},k=Z.errors,_=Z.exception,I=Z.message,H=a,O=w;return I&&(O=I.split("\n")),_||H||null===(n=O)||void 0===n||!n[0]||(H=O[0],O=null),(0,x.jsxs)(h,{children:[(0,x.jsx)(g,{children:(0,x.jsx)(i.Z,{iconOnly:!0,noBackground:!0,noBorder:!0,noPadding:!0,onClick:f,title:"Close errors",children:(0,x.jsx)(c.x8,{})})}),(0,x.jsx)(l.ZP,{bold:!0,large:!0,children:"Error"}),H&&(0,x.jsx)(d.Z,{mt:1,children:(0,x.jsx)(l.ZP,{default:!0,children:H})}),_&&(0,x.jsx)(d.Z,{mt:1,children:(0,x.jsx)(l.ZP,{default:!0,disableWordBreak:!0,monospace:!0,children:_})}),(null===(t=O)||void 0===t?void 0:t.length)>0&&(0,x.jsxs)(d.Z,{mt:2,children:[(0,x.jsxs)(l.ZP,{bold:!0,large:!0,children:["Traceback (",(0,x.jsxs)(o.Z,{onClick:function(){return j((function(e){return!e}))},preventDefault:!0,warning:!0,children:[C?"hide":"show"," traceback"]}),")"]}),C&&(0,x.jsx)(d.Z,{mt:1,children:O.map((function(e){return(0,x.jsx)(l.ZP,{dangerouslySetInnerHTML:{__html:e.replaceAll(" "," ")},default:!0,disableWordBreak:!0,monospace:!0},e)}))})]}),k&&(0,x.jsxs)(d.Z,{mt:2,children:[(0,x.jsxs)(l.ZP,{bold:!0,large:!0,children:["Stack trace (",(0,x.jsxs)(o.Z,{onClick:function(){return b((function(e){return!e}))},preventDefault:!0,warning:!0,children:[m?"hide":"show"," stack trace"]}),")"]}),m&&(0,x.jsx)(d.Z,{mt:1,children:k.map((function(e){return(0,x.jsx)(l.ZP,{dangerouslySetInnerHTML:{__html:e.replaceAll(" "," ")},default:!0,disableWordBreak:!0,monospace:!0},e)}))})]}),null===u||void 0===u?void 0:u.map((function(e,n){var t=e.label,r=e.onClick;return(0,x.jsx)(d.Z,{mt:2,children:(0,x.jsx)(o.Z,{large:!0,onClick:r,underline:!0,warning:!0,children:t})},t)}))]})}},82386:function(e,n,t){t.d(n,{E$:function(){return I},MK:function(){return m},MP:function(){return Z},Md:function(){return s},OM:function(){return x},Ru:function(){return k},VW:function(){return p},W7:function(){return j},Wi:function(){return g},YJ:function(){return w},Zj:function(){return S},Zt:function(){return a},aH:function(){return P},dN:function(){return u},ff:function(){return _},l8:function(){return h},rS:function(){return O},uX:function(){return v},v7:function(){return H},ve:function(){return f}});var r=t(9518),i=t(23831),o=t(73942),d=t(3055),l=t(49125),c=t(37391),a=64*l.iI,s=3*l.cd*l.iI,u=s,f=35*l.iI,p=.5*l.iI,h=13*l.iI,g=3*l.cd*l.iI,x=6*l.iI,v=2*l.cd*3*l.iI,m=(r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1lxpneo-0"})(["position:fixed;z-index:2;"," "," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.beforeVisible&&"\n width: 100%;\n "}),(function(e){return e.beforeVisible&&"\n left: ".concat(f,"px;\n width: calc(100% - ").concat(f,"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NewHeaderStyle",componentId:"sc-1lxpneo-1"})(["height:","px;position:fixed;top:0;width:100%;z-index:4;"],d.Mz)),b=(r.default.div.withConfig({displayName:"indexstyle__TabStyle",componentId:"sc-1lxpneo-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;position:relative;top:1px;"," "," ",""],o.n_,o.n_,1*l.iI,2*l.iI,(function(e){return"\n border-left: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-right: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-top: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.first&&"\n margin-left: ".concat(1*l.iI,"px;\n ")}),(function(e){return e.selected&&"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).white,";\n ")})),(0,r.css)(["position:fixed;z-index:2;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n height: calc(100% - ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px);\n top: ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px;\n ")}))),y=(0,r.css)([""," height:100%;overflow:auto;position:relative;z-index:2;"],c.w5),C=(0,r.css)(["height:calc(100% + ","px);position:absolute;top:-","px;width:","px;z-index:6;&:hover{","}"," ",""],g,g,p,(function(e){return!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")}),(function(e){return!e.disabled&&"\n cursor: col-resize;\n "}),(function(e){return e.active&&!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderStyle",componentId:"sc-1lxpneo-3"})(["border-bottom:1px solid transparent;height:","px;position:fixed;top:","px;z-index:4;"," "," ",""],g,g,(0,c.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n ")}),(function(e){return!e.visible&&"\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n border-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),w=r.default.div.withConfig({displayName:"indexstyle__AsideSubheaderStyle",componentId:"sc-1lxpneo-4"})(["border-bottom:1px solid transparent;height:","px;overflow-x:auto;"," "," ",""],g,(0,c.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).table,";\n ")}),(function(e){return!e.visible&&"\n border-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),Z=r.default.aside.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-1lxpneo-5"})([""," left:0;"],b),k=r.default.div.withConfig({displayName:"indexstyle__BeforeInnerStyle",componentId:"sc-1lxpneo-6"})([""," overflow:hidden;&:hover{overflow:auto;}"],y),_=r.default.aside.withConfig({displayName:"indexstyle__AfterStyle",componentId:"sc-1lxpneo-7"})([""," right:0;"],b),I=r.default.div.withConfig({displayName:"indexstyle__AfterInnerStyle",componentId:"sc-1lxpneo-8"})(["",""],y),H=r.default.div.withConfig({displayName:"indexstyle__DraggableStyle",componentId:"sc-1lxpneo-9"})([""," "," ",""],C,(function(e){return"undefined"!==typeof e.left&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n left: ").concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n border-right: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n right: ").concat(e.right,"px;\n ")})),O=r.default.div.withConfig({displayName:"indexstyle__MainWrapper",componentId:"sc-1lxpneo-10"})(["height:100%;position:fixed;z-index:1;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).codeArea,";\n ")})),P=r.default.div.withConfig({displayName:"indexstyle__MainContentStyle",componentId:"sc-1lxpneo-11"})(["position:fixed;z-index:2;",""],(function(e){return"\n height: calc(100% - ".concat(e.headerOffset||0,"px);\n top: ").concat(e.headerOffset||0,"px;\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__MainContentInnerStyle",componentId:"sc-1lxpneo-12"})([""," height:100%;overflow:auto;"],c.w5)},32063:function(e,n,t){var r=t(82684),i=t(1887),o=t.n(i),d=t(60328),l=t(57639),c=t(93461),a=t(67971),s=t(86673),u=t(46261),f=t(82386),p=t(10503),h=t(91427),g=t(49125),x=t(24141),v=t(28598);n.Z=function(e){var n=e.after,t=e.afterHeader,i=e.afterHeightOffset,m=e.afterHidden,b=e.afterMousedownActive,y=e.afterSubheader,C=e.afterWidth,j=void 0===C?0:C,w=e.before,Z=e.beforeHeader,k=e.beforeHeightOffset,_=e.beforeHidden,I=e.beforeMousedownActive,H=e.beforeWidth,O=void 0===H?0:H,P=e.children,S=e.header,V=e.headerOffset,E=void 0===V?0:V,M=e.hideAfterCompletely,B=e.leftOffset,L=void 0===B?0:B,z=e.mainContainerHeader,N=e.mainContainerRef,R=e.setAfterHidden,A=e.setAfterMousedownActive,D=e.setAfterWidth,W=e.setBeforeHidden,F=e.setBeforeMousedownActive,U=e.setBeforeWidth,T=(e.uuid,(0,x.i)().width),G=(0,r.useRef)(null),X=(0,r.useRef)(null),$=(0,r.useRef)(null),q=(0,r.useRef)(null),Y=(0,r.useCallback)((function(){var e=!m;null===R||void 0===R||R(e),(0,h.t8)(h.zg,e)}),[m,R]),J=(0,r.useCallback)((function(){var e=!_;W(e),(0,h.t8)(h.Uu,e)}),[_,W]);(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===$||void 0===$||null===(n=$.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(T){var r=e.x;r+f.l8>T-j&&(r=T-j-f.l8),r-=2*L,U(Math.max(r,f.dN))}},o=function(e){var n,t;e.offsetX>=e.target.offsetWidth-f.VW&&e.offsetX<=e.target.offsetWidth+f.VW&&(null===F||void 0===F||F(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},d=function(){var e,n;null===F||void 0===F||F(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===q||void 0===q||null===(e=q.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",d,!1),function(){var e,n,t,r;null===q||void 0===q||null===(e=q.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",d,!1),d()}}),[j,_,L,$,q,F,U,T]),(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===G||void 0===G||null===(n=G.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(T){var r=T-e.x;r+f.l8>T-O&&(r=T-O-f.l8),D(Math.max(r,f.Md))}},o=function(e){var n,t;e.offsetX>=-1*f.VW&&e.offsetX<=f.VW&&(null===A||void 0===A||A(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},d=function(){var e,n;null===A||void 0===A||A(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===X||void 0===X||null===(e=X.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",d,!1),function(){var e,n,t,r;null===X||void 0===X||null===(e=X.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",d,!1),d()}}),[m,O,G,X,A,D,T]);var K=M&&m,Q=K?0:m?4*g.iI:j,ee=_?4*g.iI:O,ne="calc(100% - ".concat(ee+Q+L,"px)");return(0,v.jsxs)(l.Z,{children:[(b&&!m||I&&!_)&&(0,v.jsx)(o(),{children:(0,v.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n body {\n cursor: col-resize;\n }\n "}})}),S&&(0,v.jsx)(f.MK,{children:S}),w&&(0,v.jsxs)(f.MP,{heightOffset:k,style:{left:L,width:ee},children:[(0,v.jsx)(f.v7,{active:I,disabled:_,ref:q,right:0}),W&&(0,v.jsx)(f.W7,{style:{width:ee},visible:_,children:(0,v.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"space-between",children:[(0,v.jsxs)(c.Z,{children:[(0,v.jsx)(s.Z,{pl:_?1:0}),!_&&Z]}),(0,v.jsxs)(c.Z,{children:[(0,v.jsx)(u.Z,{block:!0,label:_?"Show sidebar":"Hide sidebar",size:null,widthFitContent:!0,children:(0,v.jsxs)(d.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return J()},children:[_&&(0,v.jsx)(p._Q,{neutral:!0,size:2*g.iI}),!_&&(0,v.jsx)(p.s$,{neutral:!0,size:2*g.iI})]})},_?"before-is-hidden":"before-is-visible"),(0,v.jsx)(s.Z,{pr:_?1:2})]})]})}),(0,v.jsx)(f.Ru,{noScrollbarTrackBackground:!0,ref:$,children:!_&&w})]}),(0,v.jsxs)(f.rS,{style:{left:ee+L,width:ne},children:[z,(0,v.jsx)(f.aH,{headerOffset:(z?f.uX:f.Wi)+E,style:{width:ne},children:(0,v.jsx)(f.Zj,{noScrollbarTrackBackground:!0,ref:N,children:P})})]}),n&&!K&&(0,v.jsxs)(f.ff,{heightOffset:i,style:{width:Q},children:[(0,v.jsx)(f.v7,{active:b,disabled:m,left:0,ref:X}),R&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(f.W7,{style:{width:Q},visible:m,children:(0,v.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,v.jsxs)(c.Z,{children:[(0,v.jsx)(s.Z,{pl:m?1:2}),(0,v.jsxs)(d.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return Y()},children:[m&&(0,v.jsx)(p.s$,{neutral:!0,size:2*g.iI}),!m&&(0,v.jsx)(p._Q,{neutral:!0,size:2*g.iI})]})]}),!m&&t]})}),!m&&y&&(0,v.jsx)(f.YJ,{style:{width:Q},visible:m,children:y})]}),(0,v.jsx)(f.E$,{noScrollbarTrackBackground:!0,ref:G,children:!m&&n})]})]})}},41788:function(e,n,t){t.d(n,{Z:function(){return I}});var r=t(77837),i=t(26304),o=t(62243),d=t(29385),l=t(80022),c=t(99177),a=t(93189),s=t(15544),u=t(82394),f=t(38860),p=t.n(f),h=t(82684),g=t(56663),x=t.n(g),v=t(35490),m=t(55361),b=t(30332),y=t(9736),C=t(59e3),j=t(28598),w=["auth"];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 k(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,u.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}function _(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,s.Z)(e);if(n){var i=(0,s.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.Z)(this,t)}}function I(e){return function(n){(0,c.Z)(a,n);var t=_(a);function a(){var e;(0,o.Z)(this,a);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r)),(0,u.Z)((0,l.Z)(e),"state",{auth:new v.Z(e.props.token)}),e}return(0,d.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new v.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,i.Z)(n,w));return(0,j.jsx)(e,k({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var n=(0,r.Z)(p().mark((function n(t){var r,i,o,d,l,c,a,s,u;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=x()(t),i=(0,y.ex)(t),o=i.id,d=r[m.Mv],l=r[b.qt],c=new v.Z(d),a=k(k({},t),{},{auth:c,currentGroupId:o,theme:l}),(0,y.YB)(t)&&c.isExpired&&(console.log("OAuth token has expired."),s=k(k({},t.query),{},{redirect_url:t.asPath}),(0,C.nL)("/sign-in?".concat((0,C.uM)(s)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(a);case 10:return u=n.sent,n.abrupt("return",k(k({},u),{},{auth:c,currentGroupId:o,theme:l}));case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}]),a}(h.Component)}},882:function(e,n,t){var r=t(82394),i=t(26304),o=t(9518),d=t(60328),l=t(23831),c=t(73942),a=t(99994),s=t(49125),u=t(28598),f=["backgroundGradient","backgroundPanel","borderWidth","children","compact","paddingUnits","paddingUnitsHorizontal","paddingUnitsVertical"];function p(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 h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=o.default.div.withConfig({displayName:"GradientButton__ButtonContentStyle",componentId:"sc-1gzx4r1-0"})(["border-radius:","px;height:fit-content;"," ",""],c.n_,(function(e){return!e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||l.Z.background).page,";\n ")}),(function(e){return e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||l.Z.background).panel,";\n ")}));n.Z=function(e){var n=e.backgroundGradient,t=void 0===n?a.TD:n,r=e.backgroundPanel,o=e.borderWidth,l=void 0===o?1:o,c=e.children,p=e.compact,x=e.paddingUnits,v=e.paddingUnitsHorizontal,m=void 0===v?1.5:v,b=e.paddingUnitsVertical,y=void 0===b?1.25:b,C=(0,i.Z)(e,f),j=m,w=y;return x&&(j=x,w=x),p&&(j*=.75,w*=.75),(0,u.jsx)(d.Z,h(h({},C),{},{backgroundGradient:t,noPadding:!0,padding:"".concat(l,"px"),pointerEventsEnabled:!0,children:(0,u.jsx)(g,{backgroundPanel:r,children:(0,u.jsx)("div",{style:{paddingBottom:w*s.iI-l,paddingLeft:j*s.iI-l,paddingRight:j*s.iI-l,paddingTop:w*s.iI-l},children:c})})}))}},61519:function(e,n,t){var r=t(28598);n.Z=function(e){var n=e.size;return(0,r.jsxs)("svg",{width:n,height:n,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3H9V9H3V3ZM10 2V9H17V16H24V24H17H16H10H9H2V17V16V10V9V2H10ZM16 23V17H10V23H16ZM17 23H23V17H17V23ZM16 16V10H10V16H16ZM9 10V16H3V10H9ZM9 17V23H3V17H9Z",fill:"url(#paint0_linear_2738_140355)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_2738_140355",x1:"2",y1:"13",x2:"24",y2:"13",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})}},29664:function(e,n,t){var r=t(28598);n.Z=function(e){var n=e.size;return(0,r.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C6.75329 21.5 2.5 17.2467 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12ZM23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM12.75 7C12.75 6.58579 12.4142 6.25 12 6.25C11.5858 6.25 11.25 6.58579 11.25 7V13C11.25 13.4142 11.5858 13.75 12 13.75H16C16.4142 13.75 16.75 13.4142 16.75 13C16.75 12.5858 16.4142 12.25 16 12.25H12.75V7Z",fill:"url(#paint0_linear_2798_59379)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_2798_59379",x1:"1",y1:"12",x2:"23",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})})]})}},99994:function(e,n,t){t.d(n,{eW:function(){return a},TD:function(){return l},yr:function(){return c}});var r=t(73899),i="#FF144D",o="#DEBB92",d="#2A60FE",l=("linear-gradient(90deg, ".concat(o,", ").concat("#CBFE00",")"),"linear-gradient(90deg, ".concat(i,", #C86DD7)")),c=("linear-gradient(90deg, ".concat("#95ECE2",", ").concat(d,")"),"linear-gradient(90deg, ".concat("#9B6CA7",", ").concat(o,")"),"linear-gradient(90deg, ".concat("#C72400",", ").concat(o,")"),"linear-gradient(100.38deg, ".concat(i," 41.11%, #FF9559 86.99%)"),"linear-gradient(100.38deg, ".concat("#6B50D7"," 41.11%, #677FFF 86.99%)"),"linear-gradient(100.38deg, ".concat(d," 41.11%, #B880FF 86.99%)"),"linear-gradient(90deg, ".concat(r.t4," 20.13%, #2AB2FE)")),a="linear-gradient(90deg, ".concat(r.Ck," 0%, ").concat(r.t4," 53.13%, ").concat(r.X_," 100%)")},66166:function(e,n,t){var r=t(82684);n.Z=function(e){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=e}),[e]),n.current}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9832],{52136:function(t,n,e){e.d(n,{Z:function(){return p}});var i=e(47329),r=e.n(i),o=e(82684),u=e(63588),c=e.n(u),l=e(5237),s=e(29989),a=e(81352),h=e(46119),f=e(88543),d=e(12765),y=["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues","children"];function _(){return _=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},_.apply(this,arguments)}function p(t){var n=t.top,e=void 0===n?0:n,i=t.left,r=void 0===i?0:i,u=t.scale,p=t.height,v=t.stroke,x=void 0===v?"#eaf0f6":v,m=t.strokeWidth,Z=void 0===m?1:m,g=t.strokeDasharray,b=t.className,O=t.numTicks,E=void 0===O?10:O,k=t.lineStyle,w=t.offset,T=t.tickValues,N=t.children,j=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,y),M=null!=T?T:(0,h.Z)(u,E),P=(null!=w?w:0)+(0,d.Z)(u)/2,R=M.map((function(t,n){var e,i=(null!=(e=(0,f.Z)(u(t)))?e:0)+P;return{index:n,from:new a.Z({x:i,y:0}),to:new a.Z({x:i,y:p})}}));return o.createElement(s.Z,{className:c()("visx-columns",b),top:e,left:r},N?N({lines:R}):R.map((function(t){var n=t.from,e=t.to,i=t.index;return o.createElement(l.Z,_({key:"column-line-"+i,from:n,to:e,stroke:x,strokeWidth:Z,strokeDasharray:g,style:k},j))})))}p.propTypes={tickValues:r().array,height:r().number.isRequired}},85587:function(t,n,e){e.d(n,{Z:function(){return s}});var i=e(82684),r=e(63588),o=e.n(r),u=e(39309),c=["children","data","x","y","fill","className","curve","innerRef","defined"];function l(){return l=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},l.apply(this,arguments)}function s(t){var n=t.children,e=t.data,r=void 0===e?[]:e,s=t.x,a=t.y,h=t.fill,f=void 0===h?"transparent":h,d=t.className,y=t.curve,_=t.innerRef,p=t.defined,v=void 0===p?function(){return!0}:p,x=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,c),m=(0,u.jv)({x:s,y:a,defined:v,curve:y});return n?i.createElement(i.Fragment,null,n({path:m})):i.createElement("path",l({ref:_,className:o()("visx-linepath",d),d:m(r)||"",fill:f,strokeLinecap:"round"},x))}},39309:function(t,n,e){e.d(n,{SO:function(){return u},jv:function(){return c}});var i=e(48167),r=e(92201),o=e(49894);function u(t){var n=void 0===t?{}:t,e=n.x,r=n.x0,u=n.x1,c=n.y,l=n.y0,s=n.y1,a=n.defined,h=n.curve,f=(0,i.Z)();return e&&(0,o.Z)(f.x,e),r&&(0,o.Z)(f.x0,r),u&&(0,o.Z)(f.x1,u),c&&(0,o.Z)(f.y,c),l&&(0,o.Z)(f.y0,l),s&&(0,o.Z)(f.y1,s),a&&f.defined(a),h&&f.curve(h),f}function c(t){var n=void 0===t?{}:t,e=n.x,i=n.y,u=n.defined,c=n.curve,l=(0,r.Z)();return e&&(0,o.Z)(l.x,e),i&&(0,o.Z)(l.y,i),u&&l.defined(u),c&&l.curve(c),l}},98889:function(t,n,e){e.d(n,{Z:function(){return p}});var i=e(47329),r=e.n(i),o=e(82684),u=e(63588),c=e.n(u),l=e(39309),s=["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"];function a(){return a=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},a.apply(this,arguments)}function h(t){var n=t.children,e=t.x,i=t.x0,r=t.x1,u=t.y,h=t.y0,f=t.y1,d=t.data,y=void 0===d?[]:d,_=t.defined,p=void 0===_?function(){return!0}:_,v=t.className,x=t.curve,m=t.innerRef,Z=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,s),g=(0,l.SO)({x:e,x0:i,x1:r,y:u,y0:h,y1:f,defined:p,curve:x});return n?o.createElement(o.Fragment,null,n({path:g})):o.createElement("path",a({ref:m,className:c()("visx-area",v),d:g(y)||""},Z))}var f=["id","children"];function d(){return d=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},d.apply(this,arguments)}function y(t){var n=t.id,e=t.children,i=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,f);return o.createElement("defs",null,o.createElement("clipPath",d({id:n},i),e))}function _(){return _=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},_.apply(this,arguments)}function p(t){var n=t.className,e=t.curve,i=t.clipAboveTo,r=t.clipBelowTo,u=t.data,l=t.defined,s=t.x,a=t.y0,f=t.y1,d=t.aboveAreaProps,p=t.belowAreaProps,v=t.id,x=void 0===v?"":v;return o.createElement("g",{className:c()("visx-threshold",n)},o.createElement(h,{curve:e,data:u,x:s,y1:f,defined:l},(function(t){var n=t.path,e=null,c=null;return e=n.y0(r)(u),c=n.y0(i)(u),o.createElement("g",null,o.createElement(y,{id:"threshold-clip-below-"+x},o.createElement("path",{d:e||""})),o.createElement(y,{id:"threshold-clip-above-"+x},o.createElement("path",{d:c||""})))})),o.createElement(h,_({curve:e,data:u,defined:l,x:s,y0:a,y1:f,strokeWidth:0,clipPath:"url(#threshold-clip-below-"+x+")"},p)),o.createElement(h,_({curve:e,data:u,defined:l,x:s,y0:a,y1:f,strokeWidth:0,clipPath:"url(#threshold-clip-above-"+x+")"},d)))}y.propTypes={id:r().string.isRequired,children:r().node},p.propTypes={className:r().string,clipAboveTo:r().oneOfType([r().func,r().number]).isRequired,clipBelowTo:r().oneOfType([r().func,r().number]).isRequired,id:r().string.isRequired,data:r().array.isRequired,defined:r().func,x:r().oneOfType([r().func,r().number]).isRequired,y0:r().oneOfType([r().func,r().number]).isRequired,y1:r().oneOfType([r().func,r().number]).isRequired}},61655:function(t,n,e){e.d(n,{Z:function(){return u}});var i=e(82684),r=e(29179);function o(){return o=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},o.apply(this,arguments)}function u(t,n,e){void 0===n&&(n={style:{position:"relative",width:"inherit",height:"inherit"}}),void 0===e&&(e=function(t,n){return i.createElement("div",n,t)});return function(u){var c=(0,r.Z)();return e(i.createElement(t,o({},c,u)),n)}}},35681:function(t,n){var e=Math.PI,i=2*e,r=1e-6,o=i-r;function u(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new u}u.prototype=c.prototype={constructor:u,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,r,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+r)+","+(this._y1=+o)},arcTo:function(t,n,i,o,u){t=+t,n=+n,i=+i,o=+o,u=+u;var c=this._x1,l=this._y1,s=i-t,a=o-n,h=c-t,f=l-n,d=h*h+f*f;if(u<0)throw new Error("negative radius: "+u);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(d>r)if(Math.abs(f*s-a*h)>r&&u){var y=i-c,_=o-l,p=s*s+a*a,v=y*y+_*_,x=Math.sqrt(p),m=Math.sqrt(d),Z=u*Math.tan((e-Math.acos((p+d-v)/(2*x*m)))/2),g=Z/m,b=Z/x;Math.abs(g-1)>r&&(this._+="L"+(t+g*h)+","+(n+g*f)),this._+="A"+u+","+u+",0,0,"+ +(f*y>h*_)+","+(this._x1=t+b*s)+","+(this._y1=n+b*a)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,u,c,l,s){t=+t,n=+n,s=!!s;var a=(u=+u)*Math.cos(c),h=u*Math.sin(c),f=t+a,d=n+h,y=1^s,_=s?c-l:l-c;if(u<0)throw new Error("negative radius: "+u);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>r||Math.abs(this._y1-d)>r)&&(this._+="L"+f+","+d),u&&(_<0&&(_=_%i+i),_>o?this._+="A"+u+","+u+",0,1,"+y+","+(t-a)+","+(n-h)+"A"+u+","+u+",0,1,"+y+","+(this._x1=f)+","+(this._y1=d):_>r&&(this._+="A"+u+","+u+",0,"+ +(_>=e)+","+y+","+(this._x1=t+u*Math.cos(l))+","+(this._y1=n+u*Math.sin(l))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}},n.Z=c},48167:function(t,n,e){e.d(n,{Z:function(){return l}});var i=e(35681),r=e(90875),o=e(23622),u=e(92201),c=e(98930);function l(){var t=c.x,n=null,e=(0,r.Z)(0),l=c.y,s=(0,r.Z)(!0),a=null,h=o.Z,f=null;function d(r){var o,u,c,d,y,_=r.length,p=!1,v=new Array(_),x=new Array(_);for(null==a&&(f=h(y=(0,i.Z)())),o=0;o<=_;++o){if(!(o<_&&s(d=r[o],o,r))===p)if(p=!p)u=o,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),c=o-1;c>=u;--c)f.point(v[c],x[c]);f.lineEnd(),f.areaEnd()}p&&(v[o]=+t(d,o,r),x[o]=+e(d,o,r),f.point(n?+n(d,o,r):v[o],l?+l(d,o,r):x[o]))}if(y)return f=null,y+""||null}function y(){return(0,u.Z)().defined(s).curve(h).context(a)}return d.x=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"===typeof n?n:(0,r.Z)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):n},d.y=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),l=null,d):e},d.y0=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),d):e},d.y1=function(t){return arguments.length?(l=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):l},d.lineX0=d.lineY0=function(){return y().x(t).y(e)},d.lineY1=function(){return y().x(t).y(l)},d.lineX1=function(){return y().x(n).y(e)},d.defined=function(t){return arguments.length?(s="function"===typeof t?t:(0,r.Z)(!!t),d):s},d.curve=function(t){return arguments.length?(h=t,null!=a&&(f=h(a)),d):h},d.context=function(t){return arguments.length?(null==t?a=f=null:f=h(a=t),d):a},d}},97745:function(t,n,e){function i(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function r(t){this._context=t}function o(t){return new r(t)}e.d(n,{ZP:function(){return o},fE:function(){return r},xm:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},23622:function(t,n,e){function i(t){this._context=t}function r(t){return new i(t)}e.d(n,{Z:function(){return r}}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}}},92201:function(t,n,e){e.d(n,{Z:function(){return c}});var i=e(35681),r=e(90875),o=e(23622),u=e(98930);function c(){var t=u.x,n=u.y,e=(0,r.Z)(!0),c=null,l=o.Z,s=null;function a(r){var o,u,a,h=r.length,f=!1;for(null==c&&(s=l(a=(0,i.Z)())),o=0;o<=h;++o)!(o<h&&e(u=r[o],o,r))===f&&((f=!f)?s.lineStart():s.lineEnd()),f&&s.point(+t(u,o,r),+n(u,o,r));if(a)return s=null,a+""||null}return a.x=function(n){return arguments.length?(t="function"===typeof n?n:(0,r.Z)(+n),a):t},a.y=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),a):n},a.defined=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(!!t),a):e},a.curve=function(t){return arguments.length?(l=t,null!=c&&(s=l(c)),a):l},a.context=function(t){return arguments.length?(null==t?c=s=null:s=l(c=t),a):c},a}},98930:function(t,n,e){function i(t){return t[0]}function r(t){return t[1]}e.d(n,{x:function(){return i},y:function(){return r}})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9832],{52136:function(t,n,e){e.d(n,{Z:function(){return p}});var i=e(47329),r=e.n(i),o=e(82684),u=e(63588),c=e.n(u),l=e(5237),s=e(29989),a=e(81352),h=e(46119),f=e(88543),d=e(12765),y=["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues","children"];function _(){return _=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},_.apply(this,arguments)}function p(t){var n=t.top,e=void 0===n?0:n,i=t.left,r=void 0===i?0:i,u=t.scale,p=t.height,v=t.stroke,x=void 0===v?"#eaf0f6":v,m=t.strokeWidth,Z=void 0===m?1:m,g=t.strokeDasharray,b=t.className,O=t.numTicks,E=void 0===O?10:O,k=t.lineStyle,w=t.offset,T=t.tickValues,N=t.children,j=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,y),M=null!=T?T:(0,h.Z)(u,E),P=(null!=w?w:0)+(0,d.Z)(u)/2,R=M.map((function(t,n){var e,i=(null!=(e=(0,f.Z)(u(t)))?e:0)+P;return{index:n,from:new a.Z({x:i,y:0}),to:new a.Z({x:i,y:p})}}));return o.createElement(s.Z,{className:c()("visx-columns",b),top:e,left:r},N?N({lines:R}):R.map((function(t){var n=t.from,e=t.to,i=t.index;return o.createElement(l.Z,_({key:"column-line-"+i,from:n,to:e,stroke:x,strokeWidth:Z,strokeDasharray:g,style:k},j))})))}p.propTypes={tickValues:r().array,height:r().number.isRequired}},85587:function(t,n,e){e.d(n,{Z:function(){return s}});var i=e(82684),r=e(63588),o=e.n(r),u=e(39309),c=["children","data","x","y","fill","className","curve","innerRef","defined"];function l(){return l=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},l.apply(this,arguments)}function s(t){var n=t.children,e=t.data,r=void 0===e?[]:e,s=t.x,a=t.y,h=t.fill,f=void 0===h?"transparent":h,d=t.className,y=t.curve,_=t.innerRef,p=t.defined,v=void 0===p?function(){return!0}:p,x=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,c),m=(0,u.jv)({x:s,y:a,defined:v,curve:y});return n?i.createElement(i.Fragment,null,n({path:m})):i.createElement("path",l({ref:_,className:o()("visx-linepath",d),d:m(r)||"",fill:f,strokeLinecap:"round"},x))}},39309:function(t,n,e){e.d(n,{SO:function(){return u},jv:function(){return c}});var i=e(48167),r=e(92201),o=e(13004);function u(t){var n=void 0===t?{}:t,e=n.x,r=n.x0,u=n.x1,c=n.y,l=n.y0,s=n.y1,a=n.defined,h=n.curve,f=(0,i.Z)();return e&&(0,o.Z)(f.x,e),r&&(0,o.Z)(f.x0,r),u&&(0,o.Z)(f.x1,u),c&&(0,o.Z)(f.y,c),l&&(0,o.Z)(f.y0,l),s&&(0,o.Z)(f.y1,s),a&&f.defined(a),h&&f.curve(h),f}function c(t){var n=void 0===t?{}:t,e=n.x,i=n.y,u=n.defined,c=n.curve,l=(0,r.Z)();return e&&(0,o.Z)(l.x,e),i&&(0,o.Z)(l.y,i),u&&l.defined(u),c&&l.curve(c),l}},98889:function(t,n,e){e.d(n,{Z:function(){return p}});var i=e(47329),r=e.n(i),o=e(82684),u=e(63588),c=e.n(u),l=e(39309),s=["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"];function a(){return a=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},a.apply(this,arguments)}function h(t){var n=t.children,e=t.x,i=t.x0,r=t.x1,u=t.y,h=t.y0,f=t.y1,d=t.data,y=void 0===d?[]:d,_=t.defined,p=void 0===_?function(){return!0}:_,v=t.className,x=t.curve,m=t.innerRef,Z=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,s),g=(0,l.SO)({x:e,x0:i,x1:r,y:u,y0:h,y1:f,defined:p,curve:x});return n?o.createElement(o.Fragment,null,n({path:g})):o.createElement("path",a({ref:m,className:c()("visx-area",v),d:g(y)||""},Z))}var f=["id","children"];function d(){return d=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},d.apply(this,arguments)}function y(t){var n=t.id,e=t.children,i=function(t,n){if(null==t)return{};var e,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],n.indexOf(e)>=0||(r[e]=t[e]);return r}(t,f);return o.createElement("defs",null,o.createElement("clipPath",d({id:n},i),e))}function _(){return _=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},_.apply(this,arguments)}function p(t){var n=t.className,e=t.curve,i=t.clipAboveTo,r=t.clipBelowTo,u=t.data,l=t.defined,s=t.x,a=t.y0,f=t.y1,d=t.aboveAreaProps,p=t.belowAreaProps,v=t.id,x=void 0===v?"":v;return o.createElement("g",{className:c()("visx-threshold",n)},o.createElement(h,{curve:e,data:u,x:s,y1:f,defined:l},(function(t){var n=t.path,e=null,c=null;return e=n.y0(r)(u),c=n.y0(i)(u),o.createElement("g",null,o.createElement(y,{id:"threshold-clip-below-"+x},o.createElement("path",{d:e||""})),o.createElement(y,{id:"threshold-clip-above-"+x},o.createElement("path",{d:c||""})))})),o.createElement(h,_({curve:e,data:u,defined:l,x:s,y0:a,y1:f,strokeWidth:0,clipPath:"url(#threshold-clip-below-"+x+")"},p)),o.createElement(h,_({curve:e,data:u,defined:l,x:s,y0:a,y1:f,strokeWidth:0,clipPath:"url(#threshold-clip-above-"+x+")"},d)))}y.propTypes={id:r().string.isRequired,children:r().node},p.propTypes={className:r().string,clipAboveTo:r().oneOfType([r().func,r().number]).isRequired,clipBelowTo:r().oneOfType([r().func,r().number]).isRequired,id:r().string.isRequired,data:r().array.isRequired,defined:r().func,x:r().oneOfType([r().func,r().number]).isRequired,y0:r().oneOfType([r().func,r().number]).isRequired,y1:r().oneOfType([r().func,r().number]).isRequired}},61655:function(t,n,e){e.d(n,{Z:function(){return u}});var i=e(82684),r=e(29179);function o(){return o=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},o.apply(this,arguments)}function u(t,n,e){void 0===n&&(n={style:{position:"relative",width:"inherit",height:"inherit"}}),void 0===e&&(e=function(t,n){return i.createElement("div",n,t)});return function(u){var c=(0,r.Z)();return e(i.createElement(t,o({},c,u)),n)}}},35681:function(t,n){var e=Math.PI,i=2*e,r=1e-6,o=i-r;function u(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new u}u.prototype=c.prototype={constructor:u,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,r,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+r)+","+(this._y1=+o)},arcTo:function(t,n,i,o,u){t=+t,n=+n,i=+i,o=+o,u=+u;var c=this._x1,l=this._y1,s=i-t,a=o-n,h=c-t,f=l-n,d=h*h+f*f;if(u<0)throw new Error("negative radius: "+u);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(d>r)if(Math.abs(f*s-a*h)>r&&u){var y=i-c,_=o-l,p=s*s+a*a,v=y*y+_*_,x=Math.sqrt(p),m=Math.sqrt(d),Z=u*Math.tan((e-Math.acos((p+d-v)/(2*x*m)))/2),g=Z/m,b=Z/x;Math.abs(g-1)>r&&(this._+="L"+(t+g*h)+","+(n+g*f)),this._+="A"+u+","+u+",0,0,"+ +(f*y>h*_)+","+(this._x1=t+b*s)+","+(this._y1=n+b*a)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,u,c,l,s){t=+t,n=+n,s=!!s;var a=(u=+u)*Math.cos(c),h=u*Math.sin(c),f=t+a,d=n+h,y=1^s,_=s?c-l:l-c;if(u<0)throw new Error("negative radius: "+u);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>r||Math.abs(this._y1-d)>r)&&(this._+="L"+f+","+d),u&&(_<0&&(_=_%i+i),_>o?this._+="A"+u+","+u+",0,1,"+y+","+(t-a)+","+(n-h)+"A"+u+","+u+",0,1,"+y+","+(this._x1=f)+","+(this._y1=d):_>r&&(this._+="A"+u+","+u+",0,"+ +(_>=e)+","+y+","+(this._x1=t+u*Math.cos(l))+","+(this._y1=n+u*Math.sin(l))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}},n.Z=c},48167:function(t,n,e){e.d(n,{Z:function(){return l}});var i=e(35681),r=e(90875),o=e(23622),u=e(92201),c=e(98930);function l(){var t=c.x,n=null,e=(0,r.Z)(0),l=c.y,s=(0,r.Z)(!0),a=null,h=o.Z,f=null;function d(r){var o,u,c,d,y,_=r.length,p=!1,v=new Array(_),x=new Array(_);for(null==a&&(f=h(y=(0,i.Z)())),o=0;o<=_;++o){if(!(o<_&&s(d=r[o],o,r))===p)if(p=!p)u=o,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),c=o-1;c>=u;--c)f.point(v[c],x[c]);f.lineEnd(),f.areaEnd()}p&&(v[o]=+t(d,o,r),x[o]=+e(d,o,r),f.point(n?+n(d,o,r):v[o],l?+l(d,o,r):x[o]))}if(y)return f=null,y+""||null}function y(){return(0,u.Z)().defined(s).curve(h).context(a)}return d.x=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),n=null,d):t},d.x0=function(n){return arguments.length?(t="function"===typeof n?n:(0,r.Z)(+n),d):t},d.x1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):n},d.y=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),l=null,d):e},d.y0=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),d):e},d.y1=function(t){return arguments.length?(l=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):l},d.lineX0=d.lineY0=function(){return y().x(t).y(e)},d.lineY1=function(){return y().x(t).y(l)},d.lineX1=function(){return y().x(n).y(e)},d.defined=function(t){return arguments.length?(s="function"===typeof t?t:(0,r.Z)(!!t),d):s},d.curve=function(t){return arguments.length?(h=t,null!=a&&(f=h(a)),d):h},d.context=function(t){return arguments.length?(null==t?a=f=null:f=h(a=t),d):a},d}},97745:function(t,n,e){function i(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function r(t){this._context=t}function o(t){return new r(t)}e.d(n,{ZP:function(){return o},fE:function(){return r},xm:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},23622:function(t,n,e){function i(t){this._context=t}function r(t){return new i(t)}e.d(n,{Z:function(){return r}}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}}},92201:function(t,n,e){e.d(n,{Z:function(){return c}});var i=e(35681),r=e(90875),o=e(23622),u=e(98930);function c(){var t=u.x,n=u.y,e=(0,r.Z)(!0),c=null,l=o.Z,s=null;function a(r){var o,u,a,h=r.length,f=!1;for(null==c&&(s=l(a=(0,i.Z)())),o=0;o<=h;++o)!(o<h&&e(u=r[o],o,r))===f&&((f=!f)?s.lineStart():s.lineEnd()),f&&s.point(+t(u,o,r),+n(u,o,r));if(a)return s=null,a+""||null}return a.x=function(n){return arguments.length?(t="function"===typeof n?n:(0,r.Z)(+n),a):t},a.y=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),a):n},a.defined=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(!!t),a):e},a.curve=function(t){return arguments.length?(l=t,null!=c&&(s=l(c)),a):l},a.context=function(t){return arguments.length?(null==t?c=s=null:s=l(c=t),a):c},a}},98930:function(t,n,e){function i(t){return t[0]}function r(t){return t[1]}e.d(n,{x:function(){return i},y:function(){return r}})}}]);
|