"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireDefault(require("react")),_withStyles=_interopRequireDefault(require("../../hoc/withStyles")),_ErrorBoundary=_interopRequireDefault(require("../../hoc/ErrorBoundary")),_styles=_interopRequireDefault(require("./styles"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Loading=function(props){return _react.default.createElement(_ErrorBoundary.default,null,_react.default.createElement("div",{className:props.classes.component},_react.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:props.size,height:props.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",className:"uil-default"},_react.default.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"none",className:"bk"}),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(0 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-1s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(30 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.9166666666666666s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(60 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.8333333333333334s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(90 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.75s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(120 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.6666666666666666s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(150 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.5833333333333334s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(180 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.5s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(210 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.4166666666666667s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(240 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.3333333333333333s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(270 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.25s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(300 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.16666666666666666s",repeatCount:"indefinite"})),_react.default.createElement("rect",{x:"46.5",y:"40",width:"7",height:"20",rx:"5",ry:"5",fill:props.color,transform:"rotate(330 50 50) translate(0 -30)"},_react.default.createElement("animate",{attributeName:"opacity",from:"1",to:"0",dur:"1s",begin:"-0.08333333333333333s",repeatCount:"indefinite"})))))};Loading.defaultProps={size:40,color:"#337ab7"};var _default=(0,_withStyles.default)(_styles.default)(Loading);exports.default=_default;