/*! For license information please see dll.DraggableGrid.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[36],{1049:function(e,t,r){"use strict";r.r(t);var n=r(13),i=r.n(n),o=r(12),a=r.n(o),s=r(14),c=r.n(s),l=r(15),u=r.n(l),p=r(8),f=r.n(p),h=r(0),d=r.n(h),y=r(1),m=r.n(y),g=r(292),x=r(1447),v=r(19),b=r.n(v),w=r(2842),R=r.n(w),D=r(120),k=r.n(D);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 r,n=f()(e);if(t){var i=f()(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u()(this,r)}}var P=Object(x.WidthProvider)(x.Responsive),T=function(e){if(!b()(e.children))return null;var t=e.children.map((function(e,t){return{lg:{i:"cell-".concat(t),x:6*t%18,y:4*k()(t/3),w:6,h:4},md:{i:"cell-".concat(t),x:6*t%12,y:4*k()(t/2),w:6,h:4},sm:{i:"cell-".concat(t),x:6*t%12,y:4*k()(t/2),w:6,h:4},xs:{i:"cell-".concat(t),x:6*t%12,y:4*k()(t/2),w:6,h:4},xxs:{i:"cell-".concat(t),x:4*t%6,y:4*k()(t/1),w:6,h:4}}}));return t={lg:R()(t,"lg"),md:R()(t,"md"),sm:R()(t,"sm"),xs:R()(t,"xs"),xxs:R()(t,"xxs")}},z=function(e){c()(r,e);var t=E(r);function r(e){var n;return i()(this,r),(n=t.call(this,e)).state={layouts:T(e)},n}return a()(r,[{key:"render",value:function(){return b()(this.props.children)?d.a.createElement(P,{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 d.a.createElement("div",{key:"cell-".concat(t)},e)}))):d.a.createElement(g.default,{variant:"danger"},"The draggable grid requires at least two child elements for it to be rendered.")}}],[{key:"getDerivedStateFromProps",value:function(e){return{layouts:T(e)}}}]),r}(h.Component);z.defaultProps={isDraggable:!1,isResizable:!1,rowHeight:60},z.propTypes={isDraggable:m.a.bool,isResizable:m.a.bool,rowHeight:m.a.number},t.default=z},2842:function(e,t,r){"use strict";var n=r(2843);e.exports=n},2843:function(e,t,r){"use strict";var n=r(19),i=r(86),o=r(64),a=r(2844),s=r(2845);e.exports=function(e,t,r){var c,l,u,p,f;if(!n(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");if(c=i(a),arguments.length>2&&(u=s(c,r)))throw u;for(l=c.copy?new Array(e.length):e,f=0;f<e.length;f++)null!=(p=e[f])&&o(p,t)&&(l[f]=p[t]);return l}},2844:function(e){e.exports=JSON.parse('{"copy":true}')},2845:function(e,t,r){"use strict";var n=r(52),i=r(64),o=r(104).isPrimitive;e.exports=function(e,t){return n(t)?i(t,"copy")&&(e.copy=t.copy,!o(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+"`.")}}}]);