* Copyright 2014-2019 Abdullah Almsaeed <abdullah@almsaeedstudio.com>
* Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)
*/
!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports):"function"==typeofdefine&&define.amd?define(["exports"],t):t(e.adminlte={})}(this,function(e){"use strict";functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}vari,t,o,r,s,a,c,l,d,f,h,u="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},p=(i=jQuery,t="ControlSidebar",o="lte.control.sidebar",r=i.fn[t],s=".control-sidebar",a='[data-widget="control-sidebar"]',c=".main-header",l="control-sidebar-open",d="control-sidebar-slide-open",f={slide:!0},g.prototype.show=function(){this._config.slide?i("body").removeClass(d):i("body").removeClass(l)},g.prototype.collapse=function(){this._config.slide?i("body").addClass(d):i("body").addClass(l)},g.prototype.toggle=function(){this._setMargin(),i("body").hasClass(l)||i("body").hasClass(d)?this.show():this.collapse()},g.prototype._getConfig=function(e){returni.extend({},f,e)},g.prototype._setMargin=function(){i(s).css({top:i(c).innerHeight()})},g._jQueryInterface=function(t){returnthis.each(function(){vare=i(this).data(o);if(e||(e=newg(this,i(this).data()),i(this).data(o,e)),"undefined"===e[t])thrownewError(t+" is not a function");e[t]()})},h=g,i(document).on("click",a,function(e){e.preventDefault(),h._jQueryInterface.call(i(this),"toggle")}),i.fn[t]=h._jQueryInterface,i.fn[t].Constructor=h,i.fn[t].noConflict=function(){returni.fn[t]=r,h._jQueryInterface},h);functiong(e,t){n(this,g),this._element=e,this._config=this._getConfig(t)}vary,_,m,v,b,C,w,E,j,S,D,x,Q,A,I,L,O=(y=jQuery,_="Layout",m="lte.layout",v=y.fn[_],b=".main-header",C=".main-sidebar .sidebar",w=".content-wrapper",E=".brand-link",j=".control-sidebar",S=".main-footer",D="hold-transition",x="layout-fixed",Q="layout-navbar-fixed",A="layout-footer-fixed",I={scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l"},P.prototype.fixLayoutHeight=function(){vare={window:y(window).height(),header:y(b).outerHeight(),footer:y(S).outerHeight(),sidebar:y(C).height()},t=this._max(e);y("body").hasClass(x)?(y(w).css("min-height",t-e.header-e.footer),y(j+" .control-sidebar-content").css("height",t-e.header),"undefined"!=typeofy.fn.overlayScrollbars&&(y(C).overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}),y(j+" .control-sidebar-content").overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}))):e.sidebar<e.window?y(w).css("min-height",e.window-e.header-e.footer):y(w).css("min-height",e.sidebar-e.header),y("body").hasClass(Q)&&(y(E).css("height",e.header),y(C).css("margin-top",e.header),y(C).css("margin-top",e.header)),y("body").hasClass(A)&&y(w).css("margin-bottom",e.footer)},P.prototype._init=function(){vare=this;y("body").removeClass(D),this.fixLayoutHeight(),y(C).on("collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu",function(){e.fixLayoutHeight()}),y(window).resize(function(){e.fixLayoutHeight()}),y("body, html").css("height","auto")},P.prototype._max=function(t){varn=0;returnObject.keys(t).forEach(function(e){t[e]>n&&(n=t[e])}),n},P._jQueryInterface=function(n){returnthis.each(function(){vare=y(this).data(m),t=y.extend({},I,y(this).data());e||(e=newP(y(this),t),y(this).data(m,e)),"init"===n&&e[n]()})},L=P,y(window).on("load",function(){L._jQueryInterface.call(y("body"))}),y.fn[_]=L._jQueryInterface,y.fn[_].Constructor=L,y.fn[_].noConflict=function(){returny.fn[_]=v,L._jQueryInterface},L);functionP(e,t){n(this,P),this._config=t,this._element=e,this._init()}varT,H,k,N,M,z,U,W,X,R,V,q,B,F,G=(T=jQuery,H="PushMenu",N="."+(k="lte.pushmenu"),M=T.fn[H],z={COLLAPSED:"collapsed"+N,SHOWN:"shown"+N},U={screenCollapseSize:768},W='[data-widget="pushmenu"]',X="body",R="#sidebar-overlay",V=".wrapper",q="sidebar-collapse",B="sidebar-open",J.prototype.show=function(){T(X).addClass(B).removeClass(q);vare=T.Event(z.SHOWN);T(this._element).trigger(e)},J.prototype.collapse=function(){T(X).removeClass(B).addClass(q);vare=T.Event(z.COLLAPSED);T(this._element).trigger(e)},J.prototype.toggle=function(){(T(window).width()>=this._options.screenCollapseSize?!T(X).hasClass(q):T(X).hasClass(B))?this.collapse():this.show()},J.prototype._addOverlay=function(){vare=this,t=T("<div />",{id:"sidebar-overlay"});t.on("click",function(){e.collapse()}),T(V).append(t)},J._jQueryInterface=function(n){returnthis.each(function(){vare=T(this).data(k),t=T.extend({},U,T(this).data());e||(e=newJ(this,t),T(this).data(k,e)),n&&e[n]()})},F=J,T(document).on("click",W,function(e){e.preventDefault();vart=e.currentTarget;"pushmenu"!==T(t).data("widget")&&(t=T(t).closest(W)),F._jQueryInterface.call(T(t),"toggle")}),T.fn[H]=F._jQueryInterface,T.fn[H].Constructor=F,T.fn[H].noConflict=function(){returnT.fn[H]=M,F._jQueryInterface},F);functionJ(e,t){n(this,J),this._element=e,this._options=T.extend({},U,t),T(R).length||this._addOverlay()}varK,Y,Z,$,ee,te,ne,ie,oe,re,se,ae,ce,le=(K=jQuery,Y="Treeview",$="."+(Z="lte.treeview"),ee=K.fn[Y],te={SELECTED:"selected"+$,EXPANDED:"expanded"+$,COLLAPSED:"collapsed"+$,LOAD_DATA_API:"load"+$},ne=".nav-item",ie=".nav-treeview",oe=".menu-open",se="menu-open",ae={trigger:(re='[data-widget="treeview"]')+""+".nav-link",animationSpeed:300,accordion:!0},de.prototype.init=function(){this._setupListeners()},de.prototype.expand=function(e,t){varn=this,i=K.Event(te.EXPANDED);if(this._config.accordion){varo=t.siblings(oe).first(),r=o.find(ie).first();this.collapse(r,o)}e.slideDown(this._config.animationSpeed,function(){t.addClass(se),K(n._element).trigger(i)})},de.prototype.collapse=function(e,t){varn=this,i=K.Event(te.COLLAPSED);e.slideUp(this._config.animationSpeed,function(){t.removeClass(se),K(n._element).trigger(i),e.find(oe+" > "+ie).slideUp(),e.find(oe).removeClass(se)})},de.prototype.toggle=function(e){vart=K(e.currentTarget),n=t.next();if(n.is(ie)){e.preventDefault();vari=t.parents(ne).first();i.hasClass(se)?this.collapse(K(n),i):this.expand(K(n),i)}},de.prototype._setupListeners=function(){vart=this;K(document).on("click",this._config.trigger,function(e){t.toggle(e)})},de._jQueryInterface=function(n){returnthis.each(function(){vare=K(this).data(Z),t=K.extend({},ae,K(this).data());e||(e=newde(K(this),t),K(this).data(Z,e)),"init"===n&&e[n]()})},ce=de,K(window).on(te.LOAD_DATA_API,function(){K(re).each(function(){ce._jQueryInterface.call(K(this),"init")})}),K.fn[Y]=ce._jQueryInterface,K.fn[Y].Constructor=ce,K.fn[Y].noConflict=function(){returnK.fn[Y]=ee,ce._jQueryInterface},ce);functionde(e,t){n(this,de),this._config=t,this._element=e}varfe,he,ue,pe,ge,ye,_e,me,ve,be,Ce,we,Ee,je,Se,De,xe,Qe,Ae=(fe=jQuery,he="Widget",pe="."+(ue="lte.widget"),ge=fe.fn[he],ye={EXPANDED:"expanded"+pe,COLLAPSED:"collapsed"+pe,REMOVED:"removed"+pe},ve=".card",be=".card-body",Ce=".card-footer",we=".fa-minus",Ee=".fa-plus",je="collapsed-card",Se="fa-minus",De="fa-plus",xe={animationSpeed:"normal",collapseTrigger:me='[data-widget="collapse"]',removeTrigger:_e='[data-widget="remove"]'},Ie.prototype.collapse=function(){vare=this;this._parent.children(be+", "+Ce).slideUp(this._settings.animationSpeed,function(){e._parent.addClass(je)}),this._element.children(we).addClass(De).removeClass(Se);vart=fe.Event(ye.COLLAPSED);this._element.trigger(t,this._parent)},Ie.prototype.expand=function(){vare=this;this._parent.children(be+", "+Ce).slideDown(this._settings.animationSpeed,function(){e._parent.removeClass(je)}),this._element.children(Ee).addClass(Se).removeClass(De);vart=fe.Event(ye.EXPANDED);this._element.trigger(t,this._parent)},Ie.prototype.remove=function(){this._parent.slideUp();vare=fe.Event(ye.REMOVED);this._element.trigger(e,this._parent)},Ie.prototype.toggle=function(){this._parent.hasClass(je)?this.expand():this.collapse()},Ie.prototype._init=function(e){vart=this;this._parent=e,fe(this).find(this._settings.collapseTrigger).click(function(){t.toggle()}),fe(this).find(this._settings.removeTrigger).click(function(){t.remove()})},Ie._jQueryInterface=function(t){returnthis.each(function(){vare=fe(this).data(ue);e||(e=newIe(fe(this),e),fe(this).data(ue,"string"==typeoft?e:t)),"string"==typeoft&&t.match(/remove|toggle/)?e[t]():"object"===("undefined"==typeoft?"undefined":u(t))&&e._init(fe(this))})},Qe=Ie,fe(document).on("click",me,function(e){e&&e.preventDefault(),Qe._jQueryInterface.call(fe(this),"toggle")}),fe(document).on("click",_e,function(e){e&&e.preventDefault(),Qe._jQueryInterface.call(fe(this),"remove")}),fe.fn[he]=Qe._jQueryInterface,fe.fn[he].Constructor=Qe,fe.fn[he].noConflict=function(){returnfe.fn[he]=ge,Qe._jQueryInterface},Qe);functionIe(e,t){n(this,Ie),this._element=e,this._parent=e.parents(ve).first(),this._settings=fe.extend({},xe,t)}e.ControlSidebar=p,e.Layout=O,e.PushMenu=G,e.Treeview=le,e.Widget=Ae,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports):"function"==typeofdefine&&define.amd?define(["exports"],t):t(e.adminlte={})}(this,function(e){"use strict";functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}vari,t,o,r,s,a,l,c,f,d,h,u="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},p=(i=jQuery,t="ControlSidebar",o="lte.control.sidebar",r=i.fn[t],s=".control-sidebar",a='[data-widget="control-sidebar"]',l=".main-header",c="control-sidebar-open",f="control-sidebar-slide-open",d={slide:!0},g.prototype.show=function(){this._config.slide?i("body").removeClass(f):i("body").removeClass(c)},g.prototype.collapse=function(){this._config.slide?i("body").addClass(f):i("body").addClass(c)},g.prototype.toggle=function(){this._setMargin(),i("body").hasClass(c)||i("body").hasClass(f)?this.show():this.collapse()},g.prototype._getConfig=function(e){returni.extend({},d,e)},g.prototype._setMargin=function(){i(s).css({top:i(l).innerHeight()})},g._jQueryInterface=function(t){returnthis.each(function(){vare=i(this).data(o);if(e||(e=newg(this,i(this).data()),i(this).data(o,e)),"undefined"===e[t])thrownewError(t+" is not a function");e[t]()})},h=g,i(document).on("click",a,function(e){e.preventDefault(),h._jQueryInterface.call(i(this),"toggle")}),i.fn[t]=h._jQueryInterface,i.fn[t].Constructor=h,i.fn[t].noConflict=function(){returni.fn[t]=r,h._jQueryInterface},h);functiong(e,t){n(this,g),this._element=e,this._config=this._getConfig(t)}vary,_,m,v,b,w,C,S,j,E,D,x,Q,I,A,L,O=(y=jQuery,_="Layout",m="lte.layout",v=y.fn[_],b=".main-header",w=".main-sidebar .sidebar",C=".content-wrapper",S=".brand-link",j=".control-sidebar",E=".main-footer",D="hold-transition",x="layout-fixed",Q="layout-navbar-fixed",I="layout-footer-fixed",A={scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l"},P.prototype.fixLayoutHeight=function(){vare={window:y(window).height(),header:y(b).outerHeight(),footer:y(E).outerHeight(),sidebar:y(w).height()},t=this._max(e);y("body").hasClass(x)?(y(C).css("min-height",t-e.header-e.footer),y(j+" .control-sidebar-content").css("height",t-e.header),"undefined"!=typeofy.fn.overlayScrollbars&&(y(w).overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}),y(j+" .control-sidebar-content").overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}))):e.sidebar<e.window?y(C).css("min-height",e.window-e.header-e.footer):y(C).css("min-height",e.sidebar-e.header),y("body").hasClass(Q)&&(y(S).css("height",e.header),y(w).css("margin-top",e.header),y(w).css("margin-top",e.header)),y("body").hasClass(I)&&y(C).css("margin-bottom",e.footer)},P.prototype._init=function(){vare=this;y("body").removeClass(D),this.fixLayoutHeight(),y(w).on("collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu",function(){e.fixLayoutHeight()}),y(window).resize(function(){e.fixLayoutHeight()}),y("body, html").css("height","auto")},P.prototype._max=function(t){varn=0;returnObject.keys(t).forEach(function(e){t[e]>n&&(n=t[e])}),n},P._jQueryInterface=function(n){returnthis.each(function(){vare=y(this).data(m),t=y.extend({},A,y(this).data());e||(e=newP(y(this),t),y(this).data(m,e)),"init"===n&&e[n]()})},L=P,y(window).on("load",function(){L._jQueryInterface.call(y("body"))}),y.fn[_]=L._jQueryInterface,y.fn[_].Constructor=L,y.fn[_].noConflict=function(){returny.fn[_]=v,L._jQueryInterface},L);functionP(e,t){n(this,P),this._config=t,this._element=e,this._init()}varT,H,k,z,N,M,U,W,X,R,V,q,B,F,G=(T=jQuery,H="PushMenu",z="."+(k="lte.pushmenu"),N=T.fn[H],U={autoCollapseSize:!(M={COLLAPSED:"collapsed"+z,SHOWN:"shown"+z}),screenCollapseSize:768},W='[data-widget="pushmenu"]',X="body",R="#sidebar-overlay",V=".wrapper",q="sidebar-collapse",B="sidebar-open",J.prototype.show=function(){T(X).addClass(B).removeClass(q);vare=T.Event(M.SHOWN);T(this._element).trigger(e)},J.prototype.collapse=function(){T(X).removeClass(B).addClass(q);vare=T.Event(M.COLLAPSED);T(this._element).trigger(e)},J.prototype.isShown=function(){returnT(window).width()>=this._options.screenCollapseSize?!T(X).hasClass(q):T(X).hasClass(B)},J.prototype.toggle=function(){this.isShown()?this.collapse():this.show()},J.prototype.autoCollapse=function(){console.log(this._options),this._options.autoCollapseSize&&(T(window).width()<=this._options.autoCollapseSize?this.isShown()&&this.toggle():this.isShown()||this.toggle())},J.prototype._init=function(){vare=this;this.autoCollapse(),T(window).resize(function(){e.autoCollapse()})},J.prototype._addOverlay=function(){vare=this,t=T("<div />",{id:"sidebar-overlay"});t.on("click",function(){e.collapse()}),T(V).append(t)},J._jQueryInterface=function(n){returnthis.each(function(){vare=T(this).data(k),t=T.extend({},U,T(this).data());e||(e=newJ(this,t),T(this).data(k,e)),"init"===n&&e[n]()})},F=J,T(document).on("click",W,function(e){e.preventDefault();vart=e.currentTarget;"pushmenu"!==T(t).data("widget")&&(t=T(t).closest(W)),F._jQueryInterface.call(T(t),"toggle")}),T(window).on("load",function(){F._jQueryInterface.call(T(W))}),T.fn[H]=F._jQueryInterface,T.fn[H].Constructor=F,T.fn[H].noConflict=function(){returnT.fn[H]=N,F._jQueryInterface},F);functionJ(e,t){n(this,J),this._element=e,this._options=T.extend({},U,t),this._init(),T(R).length||this._addOverlay()}varK,Y,Z,$,ee,te,ne,ie,oe,re,se,ae,le,ce=(K=jQuery,Y="Treeview",$="."+(Z="lte.treeview"),ee=K.fn[Y],te={SELECTED:"selected"+$,EXPANDED:"expanded"+$,COLLAPSED:"collapsed"+$,LOAD_DATA_API:"load"+$},ne=".nav-item",ie=".nav-treeview",oe=".menu-open",se="menu-open",ae={trigger:(re='[data-widget="treeview"]')+""+".nav-link",animationSpeed:300,accordion:!0},fe.prototype.init=function(){this._setupListeners()},fe.prototype.expand=function(e,t){varn=this,i=K.Event(te.EXPANDED);if(this._config.accordion){varo=t.siblings(oe).first(),r=o.find(ie).first();this.collapse(r,o)}e.slideDown(this._config.animationSpeed,function(){t.addClass(se),K(n._element).trigger(i)})},fe.prototype.collapse=function(e,t){varn=this,i=K.Event(te.COLLAPSED);e.slideUp(this._config.animationSpeed,function(){t.removeClass(se),K(n._element).trigger(i),e.find(oe+" > "+ie).slideUp(),e.find(oe).removeClass(se)})},fe.prototype.toggle=function(e){vart=K(e.currentTarget),n=t.next();if(n.is(ie)){e.preventDefault();vari=t.parents(ne).first();i.hasClass(se)?this.collapse(K(n),i):this.expand(K(n),i)}},fe.prototype._setupListeners=function(){vart=this;K(document).on("click",this._config.trigger,function(e){t.toggle(e)})},fe._jQueryInterface=function(n){returnthis.each(function(){vare=K(this).data(Z),t=K.extend({},ae,K(this).data());e||(e=newfe(K(this),t),K(this).data(Z,e)),"init"===n&&e[n]()})},le=fe,K(window).on(te.LOAD_DATA_API,function(){K(re).each(function(){le._jQueryInterface.call(K(this),"init")})}),K.fn[Y]=le._jQueryInterface,K.fn[Y].Constructor=le,K.fn[Y].noConflict=function(){returnK.fn[Y]=ee,le._jQueryInterface},le);functionfe(e,t){n(this,fe),this._config=t,this._element=e}varde,he,ue,pe,ge,ye,_e,me,ve,be,we,Ce,Se,je,Ee,De,xe,Qe,Ie=(de=jQuery,he="Widget",pe="."+(ue="lte.widget"),ge=de.fn[he],ye={EXPANDED:"expanded"+pe,COLLAPSED:"collapsed"+pe,REMOVED:"removed"+pe},ve=".card",be=".card-body",we=".card-footer",Ce=".fa-minus",Se=".fa-plus",je="collapsed-card",Ee="fa-minus",De="fa-plus",xe={animationSpeed:"normal",collapseTrigger:me='[data-widget="collapse"]',removeTrigger:_e='[data-widget="remove"]'},Ae.prototype.collapse=function(){vare=this;this._parent.children(be+", "+we).slideUp(this._settings.animationSpeed,function(){e._parent.addClass(je)}),this._element.children(Ce).addClass(De).removeClass(Ee);vart=de.Event(ye.COLLAPSED);this._element.trigger(t,this._parent)},Ae.prototype.expand=function(){vare=this;this._parent.children(be+", "+we).slideDown(this._settings.animationSpeed,function(){e._parent.removeClass(je)}),this._element.children(Se).addClass(Ee).removeClass(De);vart=de.Event(ye.EXPANDED);this._element.trigger(t,this._parent)},Ae.prototype.remove=function(){this._parent.slideUp();vare=de.Event(ye.REMOVED);this._element.trigger(e,this._parent)},Ae.prototype.toggle=function(){this._parent.hasClass(je)?this.expand():this.collapse()},Ae.prototype._init=function(e){vart=this;this._parent=e,de(this).find(this._settings.collapseTrigger).click(function(){t.toggle()}),de(this).find(this._settings.removeTrigger).click(function(){t.remove()})},Ae._jQueryInterface=function(t){returnthis.each(function(){vare=de(this).data(ue);e||(e=newAe(de(this),e),de(this).data(ue,"string"==typeoft?e:t)),"string"==typeoft&&t.match(/remove|toggle/)?e[t]():"object"===("undefined"==typeoft?"undefined":u(t))&&e._init(de(this))})},Qe=Ae,de(document).on("click",me,function(e){e&&e.preventDefault(),Qe._jQueryInterface.call(de(this),"toggle")}),de(document).on("click",_e,function(e){e&&e.preventDefault(),Qe._jQueryInterface.call(de(this),"remove")}),de.fn[he]=Qe._jQueryInterface,de.fn[he].Constructor=Qe,de.fn[he].noConflict=function(){returnde.fn[he]=ge,Qe._jQueryInterface},Qe);functionAe(e,t){n(this,Ae),this._element=e,this._parent=e.parents(ve).first(),this._settings=de.extend({},xe,t)}e.ControlSidebar=p,e.Layout=O,e.PushMenu=G,e.Treeview=ce,e.Widget=Ie,Object.defineProperty(e,"__esModule",{value:!0})});