if("undefined"==typeofjQuery)thrownewError("AdminLTE requires jQuery");+function(t){"use strict";functione(e){returnthis.each(function(){varn=t(this),r=n.data(i);if(!r){vars=t.extend({},o,n.data(),"object"==typeofe&&e);n.data(i,r=newa(n,s))}if("string"==typeofr){if(void0===r[e])thrownewError("No method named "+e);r[e]()}})}vari="lte.boxrefresh",o={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',onLoadStart:function(){},onLoadDone:function(t){returnt}},n={data:'[data-widget="box-refresh"]'},a=function(e,i){if(this.element=e,this.options=i,this.$overlay=t(i.overlay),""===i.source)thrownewError("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()};a.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(t(this)),t.get(this.options.source,this.options.params,function(e){this.options.loadInContent&&t(this.options.content).html(e),this.options.onLoadDone.call(t(this),e),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},a.prototype._setUpListeners=function(){t(this.element).on("click",n.trigger,function(t){t&&t.preventDefault(),this.load()}.bind(this))},a.prototype._addOverlay=function(){t(this.element).append(this.$overlay)},a.prototype._removeOverlay=function(){t(this.element).remove(this.$overlay)};varr=t.fn.boxRefresh;t.fn.boxRefresh=e,t.fn.boxRefresh.Constructor=a,t.fn.boxRefresh.noConflict=function(){returnt.fn.boxRefresh=r,this},t(window).on("load",function(){t(n.data).each(function(){e.call(t(this))})})}(jQuery),function(t){"use strict";functione(e){returnthis.each(function(){varn=t(this),a=n.data(i);if(!a){varr=t.extend({},o,n.data(),"object"==typeofe&&e);n.data(i,a=news(n,r))}if("string"==typeofe){if(void0===a[e])thrownewError("No method named "+e);a[e]()}})}vari="lte.boxwidget",o={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},n={data:".box",collapsed:".collapsed-box",header:".box-header",body:".box-body",footer:".box-footer",tools:".box-tools"},a={collapsed:"collapsed-box"},r={collapsed:"collapsed.boxwidget",expanded:"expanded.boxwidget",removed:"removed.boxwidget"},s=function(t,e){this.element=t,this.options=e,this._setUpListeners()};s.prototype.toggle=function(){t(this.element).is(n.collapsed)?this.expand():this.collapse()},s.prototype.expand=function(){vare=t.Event(r.expanded),i=this.options.collapseIcon,o=this.options.expandIcon;t(this.element).removeClass(a.collapsed),t(this.element).children(n.header+", "+n.body+", "+n.footer).children(n.tools).find("."+o).removeClass(o).addClass(i),t(this.element).children(n.body+", "+n.footer).slideDown(this.options.animationSpeed,function(){t(this.element).trigger(e)}.bind(this))},s.prototype.collapse=function(){vare=t.Event(r.collapsed),i=this.options.collapseIcon,o=this.options.expandIcon;t(this.element).children(n.header+", "+n.body+", "+n.footer).children(n.tools).find("."+i).removeClass(i).addClass(o),t(this.element).children(n.body+", "+n.footer).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(a.collapsed),t(this.element).trigger(e)}.bind(this))},s.prototype.remove=function(){vare=t.Event(r.removed);t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this))},s.prototype._setUpListeners=function(){vare=this;t(this.element).on("click",this.options.collapseTrigger,function(i){returni&&i.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(i){returni&&i.preventDefault(),e.remove(t(this)),!1})};varl=t.fn.boxWidget;t.fn.boxWidget=e,t.fn.boxWidget.Constructor=s,t.fn.boxWidget.noConflict=function(){returnt.fn.boxWidget=l,this},t(window).on("load",function(){t(n.data).each(function(){e.call(t(this))})})}(jQuery),func
;varo=e.cache("target-offsetparent",function(){returna(e.target)});a(e.element)!==o&&T(function(){e.element.parentNode.removeChild(e.element),o.appendChild(e.element)}),u(i.offset,t.offset),c=!0}():(d.position="absolute",u({top:!0,left:!0},t.page)),!c)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(varf=!0,p=this.element.parentNode;p&&1===p.nodeType&&"BODY"!==p.tagName;){if("static"!==getComputedStyle(p).position){f=!1;break}p=p.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}varm={},v=!1;for(varnind){varb=d[n];this.element.style[n]!==b&&(v=!0,m[n]=b)}v&&T(function(){s(e.element.style,m),e.trigger("repositioned")})}}}]),d}(A);j.modules=[],w.position=R;varY=s(j,w),P=function(){functiont(t,e){vari=[],o=!0,n=!1,a=void0;try{for(varr,s=t[Symbol.iterator]();!(o=(r=s.next()).done)&&(i.push(r.value),!e||i.length!==e);o=!0);}catch(t){n=!0,a=t}finally{try{!o&&s.return&&s.return()}finally{if(n)throwa}}returni}returnfunction(e,i){if(Array.isArray(e))returne;if(Symbol.iteratorinObject(e))returnt(e,i);thrownewTypeError("Invalid attempt to destructure non-iterable instance")}}(),O=w.Utils,n=O.getBounds,s=O.extend,f=O.updateClasses,T=O.defer,q=["left","top","right","bottom"];w.modules.push({position:function(t){vare=this,i=t.top,o=t.left,a=t.targetAttachment;if(!this.options.constraints)return!0;varr=this.cache("element-bounds",function(){returnn(e.element)}),l=r.height,h=r.width;if(0===h&&0===l&&void0!==this.lastSize){vard=this.lastSize;h=d.width,l=d.height}varu=this.cache("target-bounds",function(){returne.getTargetBounds()}),c=u.height,p=u.width,g=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){vare=t.outOfBoundsClass,i=t.pinnedClass;e&&g.push(e),i&&g.push(i)}),g.forEach(function(t){["left","top","right","bottom"].forEach(function(e){g.push(t+"-"+e)})});varm=[],v=s({},a),b=s({},this.attachment);returnthis.options.constraints.forEach(function(t){varn=t.to,r=t.attachment,s=t.pin;void0===r&&(r="");vard=void0,u=void0;if(r.indexOf(" ")>=0){varf=r.split(" "),g=P(f,2);u=g[0],d=g[1]}elsed=u=r;varx=y(e,n);"target"!==u&&"both"!==u||(i<x[1]&&"top"===v.top&&(i+=c,v.top="bottom"),i+l>x[3]&&"bottom"===v.top&&(i-=c,v.top="top")),"together"===u&&("top"===v.top&&("bottom"===b.top&&i<x[1]?(i+=c,v.top="bottom",i+=l,b.top="top"):"top"===b.top&&i+l>x[3]&&i-(l-c)>=x[1]&&(i-=l-c,v.top="bottom",b.top="bottom")),"bottom"===v.top&&("top"===b.top&&i+l>x[3]?(i-=c,v.top="top",i-=l,b.top="bottom"):"bottom"===b.top&&i<x[1]&&i+(2*l-c)<=x[3]&&(i+=l-c,v.top="top",b.top="top")),"middle"===v.top&&(i+l>x[3]&&"top"===b.top?(i-=l,b.top="bottom"):i<x[1]&&"bottom"===b.top&&(i+=l,b.top="top"))),"target"!==d&&"both"!==d||(o<x[0]&&"left"===v.left&&(o+=p,v.left="right"),o+h>x[2]&&"right"===v.left&&(o-=p,v.left="left")),"together"===d&&(o<x[0]&&"left"===v.left?"right"===b.left?(o+=p,v.left="right",o+=h,b.left="left"):"left"===b.left&&(o+=p,v.left="right",o-=h,b.left="right"):o+h>x[2]&&"right"===v.left?"left"===b.left?(o-=p,v.left="left",o-=h,b.left="right"):"right"===b.left&&(o-=p,v.left="left",o+=h,b.left="left"):"center"===v.left&&(o+h>x[2]&&"left"===b.left?(o-=h,b.left="right"):o<x[0]&&"right"===b.left&&(o+=h,b.left="left"))),"element"!==u&&"both"!==u||(i<x[1]&&"bottom"===b.top&&(i+=l,b.top="top"),i+l>x[3]&&"top"===b.top&&(i-=l,b.top="bottom")),"element"!==d&&"both"!==d||(o<x[0]&&("right"===b.left?(o+=h,b.left="left"):"center"===b.left&&(o+=h/2,b.left="left")),o+h>x[2]&&("left"===b.left?(o-=h,b.left="right"):"center"===b.left&&(o-=h/2,b.left="right"))),"string"==typeofs?s=s.split(",").map(function(t){returnt.trim()}):!0===s&&(s=["top","left","right","bottom"]),s=s||[];varw=[],_=[];i<x[1]&&(s.indexOf("top")>=0?(i=x[1],w.push("top")):_.push("top")),i+l>x[3]&&(s.indexOf("bottom")>=0?(i=x[3]-l,w.push("bottom")):_.push("bottom")),o<x[0]&&(s.indexOf("left")>=0?(o=x[0],w.push("left")):_.push("left")),o+h>x[2]&&(s.indexOf(
!a||!s)returnvoidconsole.error("Failed to create chart: can't acquire context from the given item");n.initialize(),n.update()},initialize:function(){vart=this;returnd.notify(t,"beforeInit"),r.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),d.notify(t,"afterInit"),t},clear:function(){returnr.canvas.clear(this),this},stop:function(){returnn.cancelAnimation(this),this},resize:function(t){vare=this,i=e.options,o=e.canvas,n=i.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(r.getMaximumWidth(o))),s=Math.max(0,Math.floor(n?a/n:r.getMaximumHeight(o)));if((e.width!==a||e.height!==s)&&(o.width=e.width=a,o.height=e.height=s,o.style.width=a+"px",o.style.height=s+"px",r.retinaScale(e,i.devicePixelRatio),!t)){varl={width:a,height:s};d.notify(e,"resize",[l]),e.options.onResize&&e.options.onResize(e,l),e.stop(),e.update({duration:e.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){vart=this.options,e=t.scales||{},i=t.scale;r.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),r.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){vart=this,e=t.options,i=t.scales||{},o=[],n=Object.keys(i).reduce(function(t,e){returnt[e]=!1,t},{});e.scales&&(o=o.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&o.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),r.each(o,function(e){varo=e.options,a=o.id,s=r.valueOrDefault(o.type,e.dtype);f(o.position)!==f(e.dposition)&&(o.position=e.dposition),n[a]=!0;varl=null;if(aini&&i[a].type===s)l=i[a],l.options=o,l.ctx=t.ctx,l.chart=t;else{varh=u.getScaleConstructor(s);if(!h)return;l=newh({id:a,type:s,options:o,ctx:t.ctx,chart:t}),i[l.id]=l}l.mergeTicksOptions(),e.isDefault&&(t.scale=l)}),r.each(n,function(t,e){t||deletei[e]}),t.scales=i,u.addScalesToLayout(this)},buildOrUpdateControllers:function(){vare=this,i=[],o=[];returnr.each(e.data.datasets,function(n,a){varr=e.getDatasetMeta(a),s=n.type||e.config.type;if(r.type&&r.type!==s&&(e.destroyDatasetMeta(a),r=e.getDatasetMeta(a)),r.type=s,i.push(r.type),r.controller)r.controller.updateIndex(a),r.controller.linkScales();else{varl=t.controllers[r.type];if(void0===l)thrownewError('"'+r.type+'" is not a chart type.');r.controller=newl(e,a),o.push(r.controller)}},e),o},resetElements:function(){vart=this;r.each(t.data.datasets,function(e,i){t.getDatasetMeta(i).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){vare=this;if(t&&"object"==typeoft||(t={duration:t,lazy:arguments[1]}),i(e),d._invalidate(e),!1!==d.notify(e,"beforeUpdate")){e.tooltip._data=e.data;varo=e.buildOrUpdateControllers();r.each(e.data.datasets,function(t,i){e.getDatasetMeta(i).controller.buildOrUpdateElements()},e),e.updateLayout(),e.options.animation&&e.options.animation.duration&&r.each(o,function(t){t.reset()}),e.updateDatasets(),e.tooltip.initialize(),e.lastActive=[],d.notify(e,"afterUpdate"),e._bufferedRender?e._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:e.render(t)}},updateLayout:function(){vart=this;!1!==d.notify(t,"beforeLayout")&&(l.update(this,this.width,this.height),d.notify(t,"afterScaleUpdate"),d.notify(t,"afterLayout"))},updateDatasets:function(){vart=this;if(!1!==d.notify(t,"beforeDatasetsUpdate")){for(vare=0,i=t.data.datasets.length;e<i;++e)t.updateDataset(e);d.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){vare=this,i=e.getDatasetMeta(t),o={meta:i,index:t};!1!==d.notify(e,"beforeDatasetUpdate",[o])&&(i.controller.update(),d.notify(e,"afterDatasetUpdate",[o]))},render:function(t){vare=this;t&&"object"==typeoft||(t={duration:t,lazy:arguments[1]});vari=t.duration,a=t.lazy;if(!1!==d.notify(e,"beforeRender")){vars=e.options.animation,l=function(t){d.notify(e,"afterRender"),r.callback(s&&s.