1
2
|
/*! For license information please see 498.8ac2616b1f317e54ddd6.chunk.js.LICENSE.txt */
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c650d4d7-117a-44bc-b036-978dee334bbf",e._sentryDebugIdIdentifier="sentry-dbid-c650d4d7-117a-44bc-b036-978dee334bbf")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"8b7b01b6c705cf50f8050ce0fb8fc6b58fe68567"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[498],{91963:function(e,t,n){"use strict";t.__esModule=!0,t.Button=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=a?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(o,l,i):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}(n(67294)),l=n(35534),i=n(46949),c=n(50170),r=(o=n(89444))&&o.__esModule?o:{default:o},s=["label","icon","flavour","isLoading","loadingLabel","onClick","textTransform","iconColor","iconSize","iconWidth","iconHeight","children"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(this,arguments)}(t.Button=(0,a.forwardRef)((function(e,t){var n=e.label,o=e.icon,u=e.flavour,v=e.isLoading,h=e.loadingLabel,f=e.onClick,m=e.textTransform,w=void 0===m?"firstLetter":m,p=e.iconColor,g=e.iconSize,Z=e.iconWidth,y=e.iconHeight,b=e.children,x=void 0===b?n:b,_=function(e,t){if(null==e)return{};var n,o,a={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,s);return a.default.createElement(l.StyledButton,d({flavour:u,textTransform:w,hasIcon:!!o||v,onClick:v?void 0:f,ref:t,iconColor:p},_),v&&a.default.createElement(c.LoaderIcon,{className:"button-icon"}),o&&!v&&a.default.createElement(r.default,{justifyContent:"center",alignItems:"center",width:"auto",height:"100%"},a.default.createElement(i.Icon,{size:g,className:"button-icon",title:o,name:o,width:Z,height:y})),!!x&&a.default.createElement("span",null,v&&h||x))}))).defaultProps={onClick:function(){},icon:null}},7665:function(e,t,n){"use strict";t.__esModule=!0,t.ButtonGroup=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=a?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(o,l,i):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}(n(67294)),l=(o=n(89444))&&o.__esModule?o:{default:o},i=n(91963),c=["items","checked","onChange","children"];function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}var u=function(e,t){var n=0==e,o=e==t-1;return{groupFirst:n,groupLast:o,groupMiddle:!n&&!o}},d=function(e){var t=e.children,n=a.Children.toArray(t).length;return a.default.createElement(a.default.Fragment,null,a.Children.map(t,(function(e,t){if((0,a.isValidElement)(e)){var o=u(t,n);return(0,a.cloneElement)(e,o)}return e})))},v=function(e){var t=e.items,n=e.checked,o=e.onChange;return a.default.createElement(a.default.Fragment,null,t.map((function(e,l){var c=e.label,r=e.value,d=u(l,t.length);return a.default.createElement(i.Button,s({key:r,label:c,onClick:function(){return o(r)}},n!=r?{flavour:"hollow"}:{},d))})))};t.ButtonGroup=function(e){var t=e.items,n=e.checked,o=e.onChange,i=e.children,r=function(e,t){if(null==e)return{};var n,o,a={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,c);return a.default.createElement(l.default,s({alignItems:"center"},r),null!=t&&t.length?a.default.createElement(v,{items:t,checked:n,onChange:o}):a.default.createElement(d,null,i))}},12262:function(e,t){"use strict";t.__esModule=!0,t.HOLLOW=t.DEFAULT=t.BORDER_LESS=void 0;t.DEFAULT="default",t.HOLLOW="hollow",t.BORDER_LESS="borderless"},64376:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=a?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(o,l,i):o[l]=e[l]}return o.default=e,n&&n.
|