/*! For license information please see dll.DraggableGrid.js.LICENSE.txt */
(window.webpackJsonp_name_hash_=window.webpackJsonp_name_hash_||[]).push([[36],{1095:function(e,t,n){"use strict";n.r(t);var r=n(4),a=n(10),i=n(11),o=n.n(i),s=n(0),l=n.n(s),c=n(278),u=n(80),f=n(32),p=n(138),d=n(16),h=n(208),m=n(288),b=n(282),y={show:!0,transition:h.default,closeLabel:"Close alert"},g={show:"onClose"},v=l.a.forwardRef((function(e,t){var n=Object(c.useUncontrolled)(e,g),i=n.bsPrefix,s=n.show,f=n.closeLabel,p=n.className,h=n.children,b=n.variant,y=n.onClose,v=n.dismissible,x=n.transition,w=Object(a.default)(n,["bsPrefix","show","closeLabel","className","children","variant","onClose","dismissible","transition"]),O=Object(d.useBootstrapPrefix)(i,"alert"),j=Object(u.default)((function(e){y(!1,e)})),R=l.a.createElement("div",Object(r.default)({role:"alert"},x?w:void 0,{ref:t,className:o()(p,O,b&&O+"-"+b,v&&O+"-dismissible")}),v&&l.a.createElement(m.default,{onClick:j,label:f}),h);return x?l.a.createElement(x,Object(r.default)({unmountOnExit:!0},w,{in:s}),R):s?R:null})),x=Object(p.default)("h4");x.displayName="DivStyledAsH4",v.displayName="Alert",v.defaultProps=y,v.Link=Object(f.default)("alert-link",{Component:b.default}),v.Heading=Object(f.default)("alert-heading",{Component:x}),t.default=v},2779:function(e,t,n){"use strict";var r=n(2780);e.exports=r},2780:function(e,t,n){"use strict";var r=n(20),a=n(102),i=n(63),o=n(2781),s=n(2782);e.exports=function(e,t,n){var l,c,u,f,p;if(!r(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");if(l=a(o),arguments.length>2&&(u=s(l,n)))throw u;for(c=l.copy?new Array(e.length):e,p=0;p<e.length;p++)null!=(f=e[p])&&i(f,t)&&(c[p]=f[t]);return c}},2781:function(e){e.exports=JSON.parse('{"copy":true}')},2782:function(e,t,n){"use strict";var r=n(50),a=n(63),i=n(103).isPrimitive;e.exports=function(e,t){return r(t)?a(t,"copy")&&(e.copy=t.copy,!i(e.copy))?new TypeError("invalid option. `copy` option must be a boolean primitive. Option: `"+e.copy+"`."):null:new TypeError("invalid argument. Options argument must be an object. Value: `"+t+"`.")}},984:function(e,t,n){"use strict";n.r(t);var r=n(13),a=n.n(r),i=n(12),o=n.n(i),s=n(14),l=n.n(s),c=n(15),u=n.n(c),f=n(8),p=n.n(f),d=n(0),h=n.n(d),m=n(1),b=n.n(m),y=n(1095),g=n(1385),v=n(20),x=n.n(v),w=n(2779),O=n.n(w),j=n(116),R=n.n(j);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=Object(g.WidthProvider)(g.Responsive),P=function(e){if(!x()(e.children))return null;var t=e.children.map((function(e,t){return{lg:{i:"cell-".concat(t),x:6*t%18,y:4*R()(t/3),w:6,h:4},md:{i:"cell-".concat(t),x:6*t%12,y:4*R()(t/2),w:6,h:4},sm:{i:"cell-".concat(t),x:6*t%12,y:4*R()(t/2),w:6,h:4},xs:{i:"cell-".concat(t),x:6*t%12,y:4*R()(t/2),w:6,h:4},xxs:{i:"cell-".concat(t),x:4*t%6,y:4*R()(t/1),w:6,h:4}}}));return t={lg:O()(t,"lg"),md:O()(t,"md"),sm:O()(t,"sm"),xs:O()(t,"xs"),xxs:O()(t,"xxs")}},C=function(e){l()(n,e);var t=E(n);function n(e){var r;return a()(this,n),(r=t.call(this,e)).state={layouts:P(e)},r}return o()(n,[{key:"render",value:function(){return x()(this.props.children)?h.a.createElement(k,{layouts:this.state.layouts,breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:18,md:12,sm:12,xs:12,xxs:6},isResizable:this.props.isResizable,isDraggable:this.props.isDraggable,rowHeight:this.props.rowHeight},this.props.children.map((function(e,t){return h.a.createElement("div",{key:"cell-".concat(t)},e)}))):h.a.createElement(y.default,{variant:"danger"},"The draggable grid requires at least two child elements for it to be rendered.")}}],[{key:"getDerivedStateFromProps",value:function(e){return{layouts:P(e)}}}]),n}(d.Component);C.defaultProps={isDraggable:!1,isResizable:!1,rowHeight:60},C.propTypes={isDraggable:b.a.bool,isResizable:b.a.bool,rowHeight:b.a.number},t.default=C}}]);