@coreui/coreui 2.1.10 → 2.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +395 -313
  2. package/README.md +150 -147
  3. package/dist/css/bootstrap.css.map +1 -1
  4. package/dist/css/coreui-standalone.css +138 -2
  5. package/dist/css/coreui-standalone.css.map +1 -1
  6. package/dist/css/coreui-standalone.min.css +2 -2
  7. package/dist/css/coreui-standalone.min.css.map +1 -1
  8. package/dist/css/coreui.css +138 -2
  9. package/dist/css/coreui.css.map +1 -1
  10. package/dist/css/coreui.min.css +2 -2
  11. package/dist/css/coreui.min.css.map +1 -1
  12. package/dist/js/coreui-utilities.js +205 -122
  13. package/dist/js/coreui-utilities.js.map +1 -1
  14. package/dist/js/coreui-utilities.min.js +2 -2
  15. package/dist/js/coreui-utilities.min.js.map +1 -1
  16. package/dist/js/coreui.js +295 -166
  17. package/dist/js/coreui.js.map +1 -1
  18. package/dist/js/coreui.min.js +2 -2
  19. package/dist/js/coreui.min.js.map +1 -1
  20. package/js/dist/ajax-load.js +9 -3
  21. package/js/dist/ajax-load.js.map +1 -1
  22. package/js/dist/aside-menu.js +9 -3
  23. package/js/dist/aside-menu.js.map +1 -1
  24. package/js/dist/index.js +1 -1
  25. package/js/dist/index.js.map +1 -1
  26. package/js/dist/sidebar.js +25 -7
  27. package/js/dist/sidebar.js.map +1 -1
  28. package/js/dist/toggle-classes.js +1 -1
  29. package/js/dist/toggle-classes.js.map +1 -1
  30. package/js/dist/utilities/get-color.js +1 -1
  31. package/js/dist/utilities/get-color.js.map +1 -1
  32. package/js/dist/utilities/get-css-custom-properties.js +1 -1
  33. package/js/dist/utilities/get-css-custom-properties.js.map +1 -1
  34. package/js/dist/utilities/get-style.js +1 -1
  35. package/js/dist/utilities/get-style.js.map +1 -1
  36. package/js/dist/utilities/hex-to-rgb.js +1 -1
  37. package/js/dist/utilities/hex-to-rgb.js.map +1 -1
  38. package/js/dist/utilities/hex-to-rgba.js +1 -1
  39. package/js/dist/utilities/hex-to-rgba.js.map +1 -1
  40. package/js/dist/utilities/rgb-to-hex.js +1 -1
  41. package/js/dist/utilities/rgb-to-hex.js.map +1 -1
  42. package/js/src/ajax-load.js +7 -2
  43. package/js/src/aside-menu.js +8 -3
  44. package/js/src/index.js +1 -1
  45. package/js/src/sidebar.js +27 -6
  46. package/js/src/toggle-classes.js +1 -1
  47. package/js/src/utilities/classes.js +1 -1
  48. package/js/src/utilities/get-color.js +1 -1
  49. package/js/src/utilities/get-css-custom-properties.js +1 -1
  50. package/js/src/utilities/get-style.js +1 -1
  51. package/js/src/utilities/hex-to-rgb.js +1 -1
  52. package/js/src/utilities/hex-to-rgba.js +1 -1
  53. package/js/src/utilities/rgb-to-hex.js +1 -1
  54. package/package.json +30 -30
  55. package/scss/_header.scss +1 -1
  56. package/scss/_layout.scss +24 -8
  57. package/scss/_navbar.scss +1 -1
  58. package/scss/_sidebar.scss +18 -2
  59. package/scss/_variables.scss +4 -0
  60. package/scss/coreui-standalone.scss +1 -1
  61. package/scss/coreui.scss +1 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * CoreUI v2.1.10 (https://coreui.io)
2
+ * CoreUI v2.1.16 (https://coreui.io)
3
3
  * Copyright 2019 Łukasz Holeczek
4
4
  * Licensed under MIT (https://coreui.io)
5
5
  */
6
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],e):e((t=t||self).coreui={},t.jQuery,t.PerfectScrollbar)}(this,function(t,e,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r;function f(t){try{return!!t()}catch(t){return!0}}var d=!f(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}function i(t){return t&&t.Math==Math&&t}function p(t){return"object"==typeof t?null!==t:"function"==typeof t}function a(t){return x?S.createElement(t):{}}function I(t){if(!p(t))throw TypeError(String(t)+" is not an object");return t}function u(t,e){if(!p(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!p(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!p(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!p(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function y(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function l(e,n){try{E(w,e,n)}catch(t){w[e]=n}return n}function s(t,e){return j.call(t,e)}function c(t){return"Symbol(".concat(void 0===t?"":t,")_",(++P+R).toString(36))}function h(t){return M[t]||(M[t]=c(t))}var g,v,b,m="object",w=i(typeof globalThis==m&&globalThis)||i(typeof window==m&&window)||i(typeof self==m&&self)||i(typeof n==m&&n)||Function("return this")(),S=w.document,x=p(S)&&p(S.createElement),O=!d&&!f(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}),T=Object.defineProperty,_={f:d?T:function(t,e,n){if(I(t),e=u(e,!0),I(n),O)try{return T(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},E=d?function(t,e,n){return _.f(t,e,y(1,n))}:function(t,e,n){return t[e]=n,t},L=o(function(t){var e="__core-js_shared__",n=w[e]||l(e,{});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),j={}.hasOwnProperty,C=L("native-function-to-string",Function.toString),A=w.WeakMap,k="function"==typeof A&&/native code/.test(C.call(A)),P=0,R=Math.random(),M=L("keys"),D={},G=w.WeakMap;if(k){var N=new G,Q=N.get,U=N.has,q=N.set;g=function(t,e){return q.call(N,t,e),e},v=function(t){return Q.call(N,t)||{}},b=function(t){return U.call(N,t)}}else{var V=h("state");D[V]=!0,g=function(t,e){return E(t,V,e),e},v=function(t){return s(t,V)?t[V]:{}},b=function(t){return s(t,V)}}function F(t){return W[t]||(W[t]=Y&&J[t]||(Y?J:c)("Symbol."+t))}function K(){var t=I(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}var $,z,B={set:g,get:v,has:b,enforce:function(t){return b(t)?v(t):g(t,{})},getterFor:function(n){return function(t){var e;if(!p(t)||(e=v(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}}},H=o(function(t){var e=B.get,u=B.enforce,c=String(C).split("toString");L("inspectSource",function(t){return C.call(t)}),(t.exports=function(t,e,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||s(n,"name")||E(n,"name",e),u(n).source=c.join("string"==typeof e?e:"")),t!==w?(o?!a&&t[e]&&(i=!0):delete t[e],i?t[e]=n:E(t,e,n)):i?t[e]=n:l(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||C.call(this)})}),Y=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())}),J=w.Symbol,W=L("wks"),X=RegExp.prototype.exec,Z=String.prototype.replace,tt=X,et=($=/a/,z=/b*/g,X.call($,"a"),X.call(z,"a"),0!==$.lastIndex||0!==z.lastIndex),nt=void 0!==/()??/.exec("")[1];(et||nt)&&(tt=function(t){var e,n,r,o,i=this;return nt&&(n=new RegExp("^"+i.source+"$(?!\\s)",K.call(i))),et&&(e=i.lastIndex),r=X.call(i,t),et&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),nt&&r&&1<r.length&&Z.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r});function rt(n,t,e,r){var o=F(n),i=!f(function(){var t={};return t[o]=function(){return 7},7!=""[n](t)}),a=i&&!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[pt]=function(){return e}),e[o](""),!t});if(!i||!a||"replace"===n&&!ht||"split"===n&&!gt){var u=/./[o],c=e(o,""[n],function(t,e,n,r,o){return e.exec===dt?i&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),s=c[0],l=c[1];H(String.prototype,n,s),H(RegExp.prototype,o,2==t?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}),r&&E(RegExp.prototype[o],"sham",!0)}}function ot(t){return vt.call(t).slice(8,-1)}function it(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function at(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}function ut(t){return isNaN(t=+t)?0:(0<t?wt:mt)(t)}function ct(t,e,n){var r,o,i=String(it(t)),a=ut(e),u=i.length;return a<0||u<=a?n?"":void 0:(r=i.charCodeAt(a))<55296||56319<r||a+1===u||(o=i.charCodeAt(a+1))<56320||57343<o?n?i.charAt(a):r:n?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}function st(t,e,n){return e+(n?ct(t,e,!0).length:1)}function lt(t){return 0<t?St(ut(t),9007199254740991):0}function ft(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==ot(t))throw TypeError("RegExp#exec called on incompatible receiver");return dt.call(t,e)}var dt=tt,pt=F("species"),ht=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),gt=!f(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),vt={}.toString,yt=F("match"),bt=F("species"),mt=Math.ceil,wt=Math.floor,St=Math.min,xt=[].push,Ot=Math.min,It=4294967295,Tt=!f(function(){return!RegExp(It,"y")});rt("split",2,function(o,v,y){var b;return b="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(t,e){var n=String(it(this)),r=void 0===e?It:e>>>0;if(0==r)return[];if(void 0===t)return[n];if(!function(t){var e;return p(t)&&(void 0!==(e=t[yt])?!!e:"RegExp"==ot(t))}(t))return v.call(n,t,r);for(var o,i,a,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,c+"g");(o=dt.call(l,n))&&!(s<(i=l.lastIndex)&&(u.push(n.slice(s,o.index)),1<o.length&&o.index<n.length&&xt.apply(u,o.slice(1)),a=o[0].length,s=i,u.length>=r));)l.lastIndex===o.index&&l.lastIndex++;return s===n.length?!a&&l.test("")||u.push(""):u.push(n.slice(s)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:v.call(this,t,e)}:v,[function(t,e){var n=it(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):b.call(String(n),t,e)},function(t,e){var n=y(b,t,this,e,b!==v);if(n.done)return n.value;var r=I(t),o=String(this),i=function(t,e){var n,r=I(t).constructor;return void 0===r||null==(n=I(r)[bt])?e:at(n)}(r,RegExp),a=r.unicode,u=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(Tt?"y":"g"),c=new i(Tt?r:"^(?:"+r.source+")",u),s=void 0===e?It:e>>>0;if(0==s)return[];if(0===o.length)return null===ft(c,o)?[o]:[];for(var l=0,f=0,d=[];f<o.length;){c.lastIndex=Tt?f:0;var p,h=ft(c,Tt?o:o.slice(f));if(null===h||(p=Ot(lt(c.lastIndex+(Tt?0:f)),o.length))===l)f=st(o,f,a);else{if(d.push(o.slice(l,f)),d.length===s)return d;for(var g=1;g<=h.length-1;g++)if(d.push(h[g]),d.length===s)return d;f=l=p}}return d.push(o.slice(l)),d}]},!Tt);function _t(t){return Vt(it(t))}function Et(t,e){var n=ut(t);return n<0?$t(n+e,0):zt(n,e)}function Lt(t,e){var n,r=_t(t),o=0,i=[];for(n in r)!s(D,n)&&s(r,n)&&i.push(n);for(;e.length>o;)s(r,n=e[o++])&&(~Bt(i,n)||i.push(n));return i}function jt(t,e){for(var n=Zt(e),r=_.f,o=Kt.f,i=0;i<n.length;i++){var a=n[i];s(t,a)||r(t,a,o(e,a))}}function Ct(t,e){var n=ne[ee(t)];return n==oe||n!=re&&("function"==typeof e?f(e):!!e)}function At(t,e){var n,r,o,i,a,u=t.target,c=t.global,s=t.stat;if(n=c?w:s?w[u]||l(u,{}):(w[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=ae(n,r))&&a.value:n[r],!ie(c?r:u+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;jt(i,o)}(t.sham||o&&o.sham)&&E(i,"sham",!0),H(n,r,i,t)}}function kt(r,o,t){if(at(r),void 0===o)return r;switch(t){case 0:return function(){return r.call(o)};case 1:return function(t){return r.call(o,t)};case 2:return function(t,e){return r.call(o,t,e)};case 3:return function(t,e,n){return r.call(o,t,e,n)}}return function(){return r.apply(o,arguments)}}function Pt(t){return Object(it(t))}function Rt(e,t,n,r){try{return r?t(I(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&I(o.call(e)),t}}function Mt(t,e,n){var r=u(e);r in t?_.f(t,r,y(0,n)):t[r]=n}function Dt(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),le))?n:fe?ot(e):"Object"==(r=ot(e))&&"function"==typeof e.callee?"Arguments":r}var Gt,Nt={}.propertyIsEnumerable,Qt=Object.getOwnPropertyDescriptor,Ut={f:Qt&&!Nt.call({1:2},1)?function(t){var e=Qt(this,t);return!!e&&e.enumerable}:Nt},qt="".split,Vt=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==ot(t)?qt.call(t,""):Object(t)}:Object,Ft=Object.getOwnPropertyDescriptor,Kt={f:d?Ft:function(t,e){if(t=_t(t),e=u(e,!0),O)try{return Ft(t,e)}catch(t){}if(s(t,e))return y(!Ut.f.call(t,e),t[e])}},$t=Math.max,zt=Math.min,Bt=(Gt=!1,function(t,e,n){var r,o=_t(t),i=lt(o.length),a=Et(n,i);if(Gt&&e!=e){for(;a<i;)if((r=o[a++])!=r)return!0}else for(;a<i;a++)if((Gt||a in o)&&o[a]===e)return Gt||a||0;return!Gt&&-1}),Ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yt=Ht.concat("length","prototype"),Jt={f:Object.getOwnPropertyNames||function(t){return Lt(t,Yt)}},Wt={f:Object.getOwnPropertySymbols},Xt=w.Reflect,Zt=Xt&&Xt.ownKeys||function(t){var e=Jt.f(I(t)),n=Wt.f;return n?e.concat(n(t)):e},te=/#|\.prototype\./,ee=Ct.normalize=function(t){return String(t).replace(te,".").toLowerCase()},ne=Ct.data={},re=Ct.NATIVE="N",oe=Ct.POLYFILL="P",ie=Ct,ae=Kt.f,ue={},ce=F("iterator"),se=Array.prototype,le=F("toStringTag"),fe="Arguments"==ot(function(){return arguments}()),de=F("iterator"),pe=F("iterator"),he=!1;try{var ge=0;({next:function(){return{done:!!ge++}},return:function(){he=!0}})[pe]=function(){return this}}catch(t){}var ve=!function(t,e){if(!e&&!he)return!1;var n=!1;try{var r={};r[pe]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}(function(t){});At({target:"Array",stat:!0,forced:ve},{from:function(t,e,n){var r,o,i,a,u=Pt(t),c="function"==typeof this?this:Array,s=arguments.length,l=1<s?e:void 0,f=void 0!==l,d=0,p=function(t){if(null!=t)return t[de]||t["@@iterator"]||ue[Dt(t)]}(u);if(f&&(l=kt(l,2<s?n:void 0,2)),null==p||c==Array&&function(t){return void 0!==t&&(ue.Array===t||se[ce]===t)}(p))for(o=new c(r=lt(u.length));d<r;d++)Mt(o,d,f?l(u[d],d):u[d]);else for(a=p.call(u),o=new c;!(i=a.next()).done;d++)Mt(o,d,f?Rt(a,l,[i.value,d],!0):i.value);return o.length=d,o}});function ye(t,e){var n;return we(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!we(n.prototype)?p(n)&&null===(n=n[Se])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}function be(f,t){var d=1==f,p=2==f,h=3==f,g=4==f,v=6==f,y=5==f||v,b=t||ye;return function(t,e,n){for(var r,o,i=Pt(t),a=Vt(i),u=kt(e,n,3),c=lt(a.length),s=0,l=d?b(t,c):p?b(t,0):void 0;s<c;s++)if((y||s in a)&&(o=u(r=a[s],s,i),f))if(d)l[s]=o;else if(o)switch(f){case 3:return!0;case 5:return r;case 6:return s;case 2:l.push(r)}else if(g)return!1;return v?-1:h||g?g:l}}function me(e){return!f(function(){var t=[];return(t.constructor={})[xe]=function(){return{foo:1}},1!==t[e](Boolean).foo})}var we=Array.isArray||function(t){return"Array"==ot(t)},Se=F("species"),xe=F("species"),Oe=be(1),Ie=me("map");At({target:"Array",proto:!0,forced:!Ie},{map:function(t,e){return Oe(this,t,e)}});var Te=Object.keys||function(t){return Lt(t,Ht)},_e=Object.assign,Ee=!_e||f(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=_e({},t)[n]||Te(_e({},e)).join("")!=r})?function(t,e){for(var n=Pt(t),r=arguments.length,o=1,i=Wt.f,a=Ut.f;o<r;)for(var u,c=Vt(arguments[o++]),s=i?Te(c).concat(i(c)):Te(c),l=s.length,f=0;f<l;)u=s[f++],d&&!a.call(c,u)||(n[u]=c[u]);return n}:_e;At({target:"Object",stat:!0,forced:Object.assign!==Ee},{assign:Ee});var Le,je,Ce,Ae=!f(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),ke=h("IE_PROTO"),Pe=Object.prototype,Re=Ae?Object.getPrototypeOf:function(t){return t=Pt(t),s(t,ke)?t[ke]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Pe:null},Me=F("iterator"),De=!1;[].keys&&("next"in(Ce=[].keys())?(je=Re(Re(Ce)))!==Object.prototype&&(Le=je):De=!0),null==Le&&(Le={}),s(Le,Me)||E(Le,Me,function(){return this});function Ge(){}var Ne={IteratorPrototype:Le,BUGGY_SAFARI_ITERATORS:De},Qe=d?Object.defineProperties:function(t,e){I(t);for(var n,r=Te(e),o=r.length,i=0;i<o;)_.f(t,n=r[i++],e[n]);return t},Ue=w.document,qe=Ue&&Ue.documentElement,Ve=h("IE_PROTO"),Fe="prototype",Ke=function(){var t,e=a("iframe"),n=Ht.length,r="script";for(e.style.display="none",qe.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object</"+r+">"),t.close(),Ke=t.F;n--;)delete Ke[Fe][Ht[n]];return Ke()},$e=Object.create||function(t,e){var n;return null!==t?(Ge[Fe]=I(t),n=new Ge,Ge[Fe]=null,n[Ve]=t):n=Ke(),void 0===e?n:Qe(n,e)};D[Ve]=!0;function ze(t,e,n){t&&!s(t=n?t:t.prototype,Je)&&Ye(t,Je,{configurable:!0,value:e})}function Be(){return this}function He(){return this}var Ye=_.f,Je=F("toStringTag"),We=Ne.IteratorPrototype,Xe=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,t={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),r=t instanceof Array}catch(t){}return function(t,e){return function(t,e){if(I(t),!p(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(t,e),r?n.call(t,e):t.__proto__=e,t}}():void 0),Ze=Ne.IteratorPrototype,tn=Ne.BUGGY_SAFARI_ITERATORS,en=F("iterator"),nn="values",rn="entries",on="String Iterator",an=B.set,un=B.getterFor(on);!function(t,e,n,r,o,i,a){!function(t,e,n){var r=e+" Iterator";t.prototype=$e(We,{next:y(1,n)}),ze(t,r,!1),ue[r]=Be}(n,e,r);function u(t){if(t===o&&g)return g;if(!tn&&t in p)return p[t];switch(t){case"keys":case nn:case rn:return function(){return new n(this,t)}}return function(){return new n(this)}}var c,s,l,f=e+" Iterator",d=!1,p=t.prototype,h=p[en]||p["@@iterator"]||o&&p[o],g=!tn&&h||u(o),v="Array"==e&&p.entries||h;if(v&&(c=Re(v.call(new t)),Ze!==Object.prototype&&c.next&&(Re(c)!==Ze&&(Xe?Xe(c,Ze):"function"!=typeof c[en]&&E(c,en,He)),ze(c,f,!0))),o==nn&&h&&h.name!==nn&&(d=!0,g=function(){return h.call(this)}),p[en]!==g&&E(p,en,g),ue[e]=g,o)if(s={values:u(nn),keys:i?g:u("keys"),entries:u(rn)},a)for(l in s)!tn&&!d&&l in p||H(p,l,s[l]);else At({target:e,proto:!0,forced:tn||d},s)}(String,"String",function(t){an(this,{type:on,string:String(t),index:0})},function(){var t,e=un(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=ct(n,r,!0),e.index+=t.length,{value:t,done:!1})});var cn=Math.max,sn=Math.min,ln=Math.floor,fn=/\$([$&'`]|\d\d?|<[^>]*>)/g,dn=/\$([$&'`]|\d\d?)/g;rt("replace",2,function(o,S,x){return[function(t,e){var n=it(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):S.call(String(n),t,e)},function(t,e){var n=x(S,t,this,e);if(n.done)return n.value;var r=I(t),o=String(this),i="function"==typeof e;i||(e=String(e));var a=r.global;if(a){var u=r.unicode;r.lastIndex=0}for(var c=[];;){var s=ft(r,o);if(null===s)break;if(c.push(s),!a)break;""===String(s[0])&&(r.lastIndex=st(o,lt(r.lastIndex),u))}for(var l,f="",d=0,p=0;p<c.length;p++){s=c[p];for(var h=String(s[0]),g=cn(sn(ut(s.index),o.length),0),v=[],y=1;y<s.length;y++)v.push(void 0===(l=s[y])?l:String(l));var b=s.groups;if(i){var m=[h].concat(v,g,o);void 0!==b&&m.push(b);var w=String(e.apply(void 0,m))}else w=O(h,o,g,v,b,e);d<=g&&(f+=o.slice(d,g)+w,d=g+h.length)}return f+o.slice(d)}];function O(i,a,u,c,s,t){var l=u+i.length,f=c.length,e=dn;return void 0!==s&&(s=Pt(s),e=fn),S.call(t,e,function(t,e){var n;switch(e.charAt(0)){case"$":return"$";case"&":return i;case"`":return a.slice(0,u);case"'":return a.slice(l);case"<":n=s[e.slice(1,-1)];break;default:var r=+e;if(0==r)return t;if(f<r){var o=ln(r/10);return 0===o?t:o<=f?void 0===c[o-1]?e.charAt(1):c[o-1]+e.charAt(1):t}n=c[r-1]}return void 0===n?"":n})}});var pn,hn,gn=be(0),vn=!(hn=[]["forEach"])||!f(function(){hn.call(null,pn||function(){throw 1},1)})?function(t,e){return gn(this,t,e)}:[].forEach;for(var yn in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var bn=w[yn],mn=bn&&bn.prototype;if(mn&&mn.forEach!==vn)try{E(mn,"forEach",vn)}catch(t){mn.forEach=vn}}function wn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Sn(t,e,n){return e&&wn(t.prototype,e),n&&wn(t,n),t}var xn,On,In,Tn,_n,En,Ln,jn,Cn,An,kn,Pn,Rn,Mn,Dn=(On="ajaxLoad",In="coreui.ajaxLoad",Tn=(xn=e).fn[On],_n="active",En="open",Ln="view-script",jn="click",Cn=".sidebar-nav .nav-dropdown",An=".sidebar-nav .nav-link",kn=".sidebar-nav .nav-item",Pn=".view-script",Rn={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},Mn=function(){function n(t,e){this._config=this._getConfig(e),this._element=t;var n=location.hash.replace(/^#/,"");""!==n?this.setUpUrl(n):this.setUpUrl(this._config.defaultPage),this._addEventListeners()}var t=n.prototype;return t.loadPage=function(r){var o=this._element,t=this._config;xn.ajax({type:"GET",url:t.subpagesDirectory+r,dataType:"html",beforeSend:function(){xn(Pn).remove()},success:function(t){var e=document.createElement("div");e.innerHTML=t;var n=Array.from(e.querySelectorAll("script")).map(function(t){return t.attributes.getNamedItem("src").nodeValue});e.querySelectorAll("script").forEach(function(t){return t.parentNode.removeChild(t)}),xn("body").animate({scrollTop:0},0),xn(o).html(e),n.length&&function t(e,n){void 0===n&&(n=0);var r=document.createElement("script");r.type="text/javascript",r.src=e[n],r.className=Ln,r.onload=r.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState||e.length>n+1&&t(e,n+1)},document.getElementsByTagName("body")[0].appendChild(r)}(n),window.location.hash=r},error:function(){window.location.href=t.errorPage}})},t.setUpUrl=function(t){xn(An).removeClass(_n),xn(Cn).removeClass(En),xn(Cn+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(En),xn(kn+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(_n),this.loadPage(t)},t.loadBlank=function(t){window.open(t)},t.loadTop=function(t){window.location=t},t._getConfig=function(t){return t=Object.assign({},Rn,t)},t._addEventListeners=function(){var e=this;xn(document).on(jn,An+'[href!="#"]',function(t){t.preventDefault(),t.stopPropagation(),"_top"===t.currentTarget.target?e.loadTop(t.currentTarget.href):"_blank"===t.currentTarget.target?e.loadBlank(t.currentTarget.href):e.setUpUrl(t.currentTarget.getAttribute("href"))})},n._jQueryInterface=function(e){return this.each(function(){var t=xn(this).data(In);t||(t=new n(this,"object"==typeof e&&e),xn(this).data(In,t))})},Sn(n,null,[{key:"VERSION",get:function(){return"2.1.10"}},{key:"Default",get:function(){return Rn}}]),n}(),xn.fn[On]=Mn._jQueryInterface,xn.fn[On].Constructor=Mn,xn.fn[On].noConflict=function(){return xn.fn[On]=Tn,Mn._jQueryInterface},Mn),Gn=F("species"),Nn=[].slice,Qn=Math.max,Un=me("slice");At({target:"Array",proto:!0,forced:!Un},{slice:function(t,e){var n,r,o,i=_t(this),a=lt(i.length),u=Et(t,a),c=Et(void 0===e?a:e,a);if(we(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!we(n.prototype)?p(n)&&null===(n=n[Gn])&&(n=void 0):n=void 0,n===Array||void 0===n))return Nn.call(i,u,c);for(r=new(void 0===n?Array:n)(Qn(c-u,0)),o=0;u<c;u++,o++)u in i&&Mt(r,o,i[u]);return r.length=o,r}});function qn(t,e){var n=e.indexOf(t),r=e.slice(0,n+1);!function(t){return-1!==t.map(function(t){return document.body.classList.contains(t)}).indexOf(!0)}(r)?document.body.classList.add(t):r.map(function(t){return document.body.classList.remove(t)})}var Vn,Fn,Kn,$n,zn,Bn,Hn,Yn,Jn,Wn=(Fn="aside-menu",Kn="coreui.aside-menu",$n=(Vn=e).fn[Fn],zn={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},Bn=".aside-menu",Hn=".aside-menu-toggler",Yn=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],Jn=function(){function n(t){this._element=t,this._addEventListeners()}return n.prototype._addEventListeners=function(){Vn(document).on(zn.CLICK,Hn,function(t){t.preventDefault(),t.stopPropagation();var e=t.currentTarget.dataset?t.currentTarget.dataset.toggle:Vn(t.currentTarget).data("toggle");qn(e,Yn)})},n._jQueryInterface=function(){return this.each(function(){var t=Vn(this),e=t.data(Kn);e||(e=new n(this),t.data(Kn,e))})},Sn(n,null,[{key:"VERSION",get:function(){return"2.1.10"}}]),n}(),Vn(window).on(zn.LOAD_DATA_API,function(){var t=Vn(Bn);Jn._jQueryInterface.call(t)}),Vn.fn[Fn]=Jn._jQueryInterface,Vn.fn[Fn].Constructor=Jn,Vn.fn[Fn].noConflict=function(){return Vn.fn[Fn]=$n,Jn._jQueryInterface},Jn),Xn=F("unscopables"),Zn=Array.prototype;null==Zn[Xn]&&E(Zn,Xn,$e(null));var tr,er=be(5),nr="find",rr=!0;nr in[]&&Array(1)[nr](function(){rr=!1}),At({target:"Array",proto:!0,forced:rr},{find:function(t,e){return er(this,t,1<arguments.length?e:void 0)}}),tr=nr,Zn[Xn][tr]=!0,rt("match",1,function(r,s,l){return[function(t){var e=it(this),n=null==t?void 0:t[r];return void 0!==n?n.call(t,e):new RegExp(t)[r](String(e))},function(t){var e=l(s,t,this);if(e.done)return e.value;var n=I(t),r=String(this);if(!n.global)return ft(n,r);for(var o,i=n.unicode,a=[],u=n.lastIndex=0;null!==(o=ft(n,r));){var c=String(o[0]);""===(a[u]=c)&&(n.lastIndex=st(r,lt(n.lastIndex),i)),u++}return 0===u?null:a}]});var or,ir="\t\n\v\f\r                 \u2028\u2029\ufeff",ar="["+ir+"]",ur=RegExp("^"+ar+ar+"*"),cr=RegExp(ar+ar+"*$"),sr=(or="trim",f(function(){return!!ir[or]()||"​…᠎"!="​…᠎"[or]()||ir[or].name!==or}));At({target:"String",proto:!0,forced:sr},{trim:function(){return function(t,e){return t=String(it(t)),1&e&&(t=t.replace(ur,"")),2&e&&(t=t.replace(cr,"")),t}(this,3)}});function lr(t,e){return void 0===e&&(e=document.body),function(t){return t.match(/^--.*/i)}(t)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var r={},t=document.styleSheets,e="",n=t.length-1;-1<n;n--){for(var o=t[n].cssRules,i=o.length-1;-1<i;i--)if(".ie-custom-properties"===o[i].selectorText){e=o[i].cssText;break}if(e)break}return(e=e.substring(e.lastIndexOf("{")+1,e.lastIndexOf("}"))).split(";").forEach(function(t){if(t){var e=t.split(": ")[0],n=t.split(": ")[1];e&&n&&(r["--"+e.trim()]=n.trim())}}),r}()[t]:window.getComputedStyle(e,null).getPropertyValue(t).replace(/^\s/,"")}var fr,dr,pr,hr,gr,vr,yr,br,mr,wr,Sr,xr,Or,Ir,Tr,_r,Er,Lr,jr,Cr,Ar,kr,Pr,Rr,Mr=(dr="sidebar",pr="coreui.sidebar",hr=(fr=e).fn[dr],gr=400,vr="active",yr="brand-minimized",br="open",mr="sidebar-minimized",wr={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},Sr="body",xr=".brand-minimizer",Or=".nav-dropdown-toggle",Ir=".nav-dropdown-items",Tr=".nav-item",_r=".nav-link",Er=".nav-link-queried",Lr=".sidebar-nav",jr=".sidebar-nav > .nav",Cr=".sidebar",Ar=".sidebar-minimizer",kr=".sidebar-toggler",Pr=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],Rr=function(){function n(t){this._element=t,this.mobile=!1,this.ps=null,this.perfectScrollbar(wr.INIT),this.setActiveLink(),this._breakpointTest=this._breakpointTest.bind(this),this._clickOutListener=this._clickOutListener.bind(this),this._addEventListeners(),this._addMediaQuery()}var t=n.prototype;return t.perfectScrollbar=function(t){var e=this;if("undefined"!=typeof r){var n=document.body.classList;t!==wr.INIT||n.contains(mr)||(this.ps=this.makeScrollbar()),t===wr.DESTROY&&this.destroyScrollbar(),t===wr.TOGGLE&&(n.contains(mr)?this.destroyScrollbar():(this.destroyScrollbar(),this.ps=this.makeScrollbar())),t!==wr.UPDATE||n.contains(mr)||setTimeout(function(){e.destroyScrollbar(),e.ps=e.makeScrollbar()},gr)}},t.makeScrollbar=function(t){void 0===t&&(t=Lr);var e=new r(document.querySelector(t),{suppressScrollX:!0});return e.isRtl=!1,e},t.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},t.setActiveLink=function(){fr(jr).find(_r).each(function(t,e){var n,r=e;"#"===(n=r.classList.contains(Er)?String(window.location):String(window.location).split("?")[0]).substr(n.length-1)&&(n=n.slice(0,-1)),fr(fr(r))[0].href===n&&fr(r).addClass(vr).parents(Ir).add(r).each(function(t,e){fr(r=e).parent().addClass(br)})})},t._addMediaQuery=function(){var t=lr("--breakpoint-sm");if(t){var e=parseInt(t,10)-1,n=window.matchMedia("(max-width: "+e+"px)");this._breakpointTest(n),n.addListener(this._breakpointTest)}},t._breakpointTest=function(t){this.mobile=Boolean(t.matches),this._toggleClickOut()},t._clickOutListener=function(t){this._element.contains(t.target)||(t.preventDefault(),t.stopPropagation(),this._removeClickOut(),document.body.classList.remove("sidebar-show"))},t._addClickOut=function(){document.addEventListener(wr.CLICK,this._clickOutListener,!0)},t._removeClickOut=function(){document.removeEventListener(wr.CLICK,this._clickOutListener,!0)},t._toggleClickOut=function(){this.mobile&&document.body.classList.contains("sidebar-show")?(document.body.classList.remove("aside-menu-show"),this._addClickOut()):this._removeClickOut()},t._addEventListeners=function(){var n=this;fr(document).on(wr.CLICK,xr,function(t){t.preventDefault(),t.stopPropagation(),fr(Sr).toggleClass(yr)}),fr(document).on(wr.CLICK,Or,function(t){t.preventDefault(),t.stopPropagation();var e=t.target;fr(e).parent().toggleClass(br),n.perfectScrollbar(wr.UPDATE)}),fr(document).on(wr.CLICK,Ar,function(t){t.preventDefault(),t.stopPropagation(),fr(Sr).toggleClass(mr),n.perfectScrollbar(wr.TOGGLE)}),fr(document).on(wr.CLICK,kr,function(t){t.preventDefault(),t.stopPropagation();var e=t.currentTarget.dataset?t.currentTarget.dataset.toggle:fr(t.currentTarget).data("toggle");qn(e,Pr),n._toggleClickOut()}),fr(jr+" > "+Tr+" "+_r+":not("+Or+")").on(wr.CLICK,function(){n._removeClickOut(),document.body.classList.remove("sidebar-show")})},n._jQueryInterface=function(){return this.each(function(){var t=fr(this),e=t.data(pr);e||(e=new n(this),t.data(pr,e))})},Sn(n,null,[{key:"VERSION",get:function(){return"2.1.10"}}]),n}(),fr(window).on(wr.LOAD_DATA_API,function(){var t=fr(Cr);Rr._jQueryInterface.call(t)}),fr.fn[dr]=Rr._jQueryInterface,fr.fn[dr].Constructor=Rr,fr.fn[dr].noConflict=function(){return fr.fn[dr]=hr,Rr._jQueryInterface},Rr),Dr={};Dr[F("toStringTag")]="z";var Gr="[object z]"!==String(Dr)?function(){return"[object "+Dt(this)+"]"}:Dr.toString,Nr=Object.prototype;Gr!==Nr.toString&&H(Nr,"toString",Gr,{unsafe:!0});var Qr="toString",Ur=/./[Qr],qr=RegExp.prototype,Vr=f(function(){return"/a/b"!=Ur.call({source:"a",flags:"b"})}),Fr=Ur.name!=Qr;(Vr||Fr)&&H(RegExp.prototype,Qr,function(){var t=I(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in qr)?K.call(t):n)},{unsafe:!0});!function(t){if("undefined"==typeof t)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),window.getStyle=lr,window.hexToRgb=function(t){if("undefined"==typeof t)throw new Error("Hex color is not defined");var e,n,r;if(!t.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(t+" is not a valid hex color");return r=7===t.length?(e=parseInt(t.substring(1,3),16),n=parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)):(e=parseInt(t.substring(1,2),16),n=parseInt(t.substring(2,3),16),parseInt(t.substring(3,5),16)),"rgba("+e+", "+n+", "+r+")"},window.hexToRgba=function(t,e){if(void 0===e&&(e=100),"undefined"==typeof t)throw new Error("Hex color is not defined");var n,r,o;if(!t.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(t+" is not a valid hex color");return o=7===t.length?(n=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)):(n=parseInt(t.substring(1,2),16),r=parseInt(t.substring(2,3),16),parseInt(t.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+e/100+")"},window.rgbToHex=function(t){if("undefined"==typeof t)throw new Error("Hex color is not defined");if("transparent"===t)return"#00000000";var e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!e)throw new Error(t+" is not a valid rgb color");var n="0"+parseInt(e[1],10).toString(16),r="0"+parseInt(e[2],10).toString(16),o="0"+parseInt(e[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)},t.AjaxLoad=Dn,t.AsideMenu=Wn,t.Sidebar=Mr,Object.defineProperty(t,"__esModule",{value:!0})});
6
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],e):e((t=t||self).coreui={},t.jQuery,t.PerfectScrollbar)}(this,function(t,e,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r;function f(t){try{return!!t()}catch(t){return!0}}var d=!f(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}function i(t){return t&&t.Math==Math&&t}function p(t){return"object"==typeof t?null!==t:"function"==typeof t}function a(t){return S?w.createElement(t):{}}function O(t){if(!p(t))throw TypeError(String(t)+" is not an object");return t}function u(t,e){if(!p(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!p(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!p(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!p(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function y(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function l(e,n){try{_(b,e,n)}catch(t){b[e]=n}return n}function s(t,e){return j.call(t,e)}function c(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++R+M).toString(36)}function h(t){return D[t]||(D[t]=c(t))}var g,v,m,b=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n&&n)||Function("return this")(),w=b.document,S=p(w)&&p(w.createElement),I=!d&&!f(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}),x=Object.defineProperty,L={f:d?x:function(t,e,n){if(O(t),e=u(e,!0),O(n),I)try{return x(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},_=d?function(t,e,n){return L.f(t,e,y(1,n))}:function(t,e,n){return t[e]=n,t},E="__core-js_shared__",T=b[E]||l(E,{}),C=o(function(t){(t.exports=function(t,e){return T[t]||(T[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.3.4",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),j={}.hasOwnProperty,A=C("native-function-to-string",Function.toString),k=b.WeakMap,P="function"==typeof k&&/native code/.test(A.call(k)),R=0,M=Math.random(),D=C("keys"),G={},N=b.WeakMap;if(P){var K=new N,Q=K.get,U=K.has,q=K.set;g=function(t,e){return q.call(K,t,e),e},v=function(t){return Q.call(K,t)||{}},m=function(t){return U.call(K,t)}}else{var V=h("state");G[V]=!0,g=function(t,e){return _(t,V,e),e},v=function(t){return s(t,V)?t[V]:{}},m=function(t){return s(t,V)}}function F(t){return X[t]||(X[t]=J&&W[t]||(J?W:c)("Symbol."+t))}function $(){var t=O(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}var z,B,H={set:g,get:v,has:m,enforce:function(t){return m(t)?v(t):g(t,{})},getterFor:function(n){return function(t){var e;if(!p(t)||(e=v(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}}},Y=o(function(t){var e=H.get,u=H.enforce,c=String(A).split("toString");C("inspectSource",function(t){return A.call(t)}),(t.exports=function(t,e,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||s(n,"name")||_(n,"name",e),u(n).source=c.join("string"==typeof e?e:"")),t!==b?(o?!a&&t[e]&&(i=!0):delete t[e],i?t[e]=n:_(t,e,n)):i?t[e]=n:l(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||A.call(this)})}),J=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())}),W=b.Symbol,X=C("wks"),Z=RegExp.prototype.exec,tt=String.prototype.replace,et=Z,nt=(z=/a/,B=/b*/g,Z.call(z,"a"),Z.call(B,"a"),0!==z.lastIndex||0!==B.lastIndex),rt=void 0!==/()??/.exec("")[1];(nt||rt)&&(et=function(t){var e,n,r,o,i=this;return rt&&(n=new RegExp("^"+i.source+"$(?!\\s)",$.call(i))),nt&&(e=i.lastIndex),r=Z.call(i,t),nt&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),rt&&r&&1<r.length&&tt.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r});function ot(n,t,e,r){var o=F(n),i=!f(function(){var t={};return t[o]=function(){return 7},7!=""[n](t)}),a=i&&!f(function(){var t=!1,e=/a/;return"split"===n&&((e={constructor:{}}).constructor[ht]=function(){return e},e.flags="",e[o]=/./[o]),e.exec=function(){return t=!0,null},e[o](""),!t});if(!i||!a||"replace"===n&&!gt||"split"===n&&!vt){var u=/./[o],c=e(o,""[n],function(t,e,n,r,o){return e.exec===pt?i&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),s=c[0],l=c[1];Y(String.prototype,n,s),Y(RegExp.prototype,o,2==t?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}),r&&_(RegExp.prototype[o],"sham",!0)}}function it(t){return yt.call(t).slice(8,-1)}function at(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function ut(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}function ct(t){return isNaN(t=+t)?0:(0<t?St:wt)(t)}function st(u){return function(t,e){var n,r,o=String(at(t)),i=ct(e),a=o.length;return i<0||a<=i?u?"":void 0:(n=o.charCodeAt(i))<55296||56319<n||i+1===a||(r=o.charCodeAt(i+1))<56320||57343<r?u?o.charAt(i):n:u?o.slice(i,i+2):r-56320+(n-55296<<10)+65536}}function lt(t,e,n){return e+(n?xt(t,e).length:1)}function ft(t){return 0<t?Ot(ct(t),9007199254740991):0}function dt(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==it(t))throw TypeError("RegExp#exec called on incompatible receiver");return pt.call(t,e)}var pt=et,ht=F("species"),gt=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),vt=!f(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),yt={}.toString,mt=F("match"),bt=F("species"),wt=Math.ceil,St=Math.floor,It={codeAt:st(!1),charAt:st(!0)},xt=It.charAt,Ot=Math.min,Lt=[].push,_t=Math.min,Et=4294967295,Tt=!f(function(){return!RegExp(Et,"y")});ot("split",2,function(o,v,y){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(t,e){var n=String(at(this)),r=void 0===e?Et:e>>>0;if(0==r)return[];if(void 0===t)return[n];if(!function(t){var e;return p(t)&&(void 0!==(e=t[mt])?!!e:"RegExp"==it(t))}(t))return v.call(n,t,r);for(var o,i,a,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,c+"g");(o=pt.call(l,n))&&!(s<(i=l.lastIndex)&&(u.push(n.slice(s,o.index)),1<o.length&&o.index<n.length&&Lt.apply(u,o.slice(1)),a=o[0].length,s=i,u.length>=r));)l.lastIndex===o.index&&l.lastIndex++;return s===n.length?!a&&l.test("")||u.push(""):u.push(n.slice(s)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:v.call(this,t,e)}:v,[function(t,e){var n=at(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):m.call(String(n),t,e)},function(t,e){var n=y(m,t,this,e,m!==v);if(n.done)return n.value;var r=O(t),o=String(this),i=function(t,e){var n,r=O(t).constructor;return void 0===r||null==(n=O(r)[bt])?e:ut(n)}(r,RegExp),a=r.unicode,u=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(Tt?"y":"g"),c=new i(Tt?r:"^(?:"+r.source+")",u),s=void 0===e?Et:e>>>0;if(0==s)return[];if(0===o.length)return null===dt(c,o)?[o]:[];for(var l=0,f=0,d=[];f<o.length;){c.lastIndex=Tt?f:0;var p,h=dt(c,Tt?o:o.slice(f));if(null===h||(p=_t(ft(c.lastIndex+(Tt?0:f)),o.length))===l)f=lt(o,f,a);else{if(d.push(o.slice(l,f)),d.length===s)return d;for(var g=1;g<=h.length-1;g++)if(d.push(h[g]),d.length===s)return d;f=l=p}}return d.push(o.slice(l)),d}]},!Tt);function Ct(t){return Bt(at(t))}function jt(t){return"function"==typeof t?t:void 0}function At(t,e){return arguments.length<2?jt(Jt[t])||jt(b[t]):Jt[t]&&Jt[t][e]||b[t]&&b[t][e]}function kt(t,e){var n=ct(t);return n<0?Wt(n+e,0):Xt(n,e)}function Pt(u){return function(t,e,n){var r,o=Ct(t),i=ft(o.length),a=kt(n,i);if(u&&e!=e){for(;a<i;)if((r=o[a++])!=r)return!0}else for(;a<i;a++)if((u||a in o)&&o[a]===e)return u||a||0;return!u&&-1}}function Rt(t,e){var n,r=Ct(t),o=0,i=[];for(n in r)!s(G,n)&&s(r,n)&&i.push(n);for(;e.length>o;)s(r,n=e[o++])&&(~Zt(i,n)||i.push(n));return i}function Mt(t,e){for(var n=oe(e),r=L.f,o=Yt.f,i=0;i<n.length;i++){var a=n[i];s(t,a)||r(t,a,o(e,a))}}function Dt(t,e){var n=ue[ae(t)];return n==se||n!=ce&&("function"==typeof e?f(e):!!e)}function Gt(t,e){var n,r,o,i,a,u=t.target,c=t.global,s=t.stat;if(n=c?b:s?b[u]||l(u,{}):(b[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=fe(n,r))&&a.value:n[r],!le(c?r:u+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Mt(i,o)}(t.sham||o&&o.sham)&&_(i,"sham",!0),Y(n,r,i,t)}}function Nt(r,o,t){if(ut(r),void 0===o)return r;switch(t){case 0:return function(){return r.call(o)};case 1:return function(t){return r.call(o,t)};case 2:return function(t,e){return r.call(o,t,e)};case 3:return function(t,e,n){return r.call(o,t,e,n)}}return function(){return r.apply(o,arguments)}}function Kt(t){return Object(at(t))}function Qt(e,t,n,r){try{return r?t(O(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&O(o.call(e)),t}}function Ut(t,e,n){var r=u(e);r in t?L.f(t,r,y(0,n)):t[r]=n}function qt(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ge))?n:ve?it(e):"Object"==(r=it(e))&&"function"==typeof e.callee?"Arguments":r}var Vt={}.propertyIsEnumerable,Ft=Object.getOwnPropertyDescriptor,$t={f:Ft&&!Vt.call({1:2},1)?function(t){var e=Ft(this,t);return!!e&&e.enumerable}:Vt},zt="".split,Bt=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==it(t)?zt.call(t,""):Object(t)}:Object,Ht=Object.getOwnPropertyDescriptor,Yt={f:d?Ht:function(t,e){if(t=Ct(t),e=u(e,!0),I)try{return Ht(t,e)}catch(t){}if(s(t,e))return y(!$t.f.call(t,e),t[e])}},Jt=b,Wt=Math.max,Xt=Math.min,Zt={includes:Pt(!0),indexOf:Pt(!1)}.indexOf,te=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ee=te.concat("length","prototype"),ne={f:Object.getOwnPropertyNames||function(t){return Rt(t,ee)}},re={f:Object.getOwnPropertySymbols},oe=At("Reflect","ownKeys")||function(t){var e=ne.f(O(t)),n=re.f;return n?e.concat(n(t)):e},ie=/#|\.prototype\./,ae=Dt.normalize=function(t){return String(t).replace(ie,".").toLowerCase()},ue=Dt.data={},ce=Dt.NATIVE="N",se=Dt.POLYFILL="P",le=Dt,fe=Yt.f,de={},pe=F("iterator"),he=Array.prototype,ge=F("toStringTag"),ve="Arguments"==it(function(){return arguments}()),ye=F("iterator"),me=F("iterator"),be=!1;try{var we=0,Se={next:function(){return{done:!!we++}},return:function(){be=!0}};Se[me]=function(){return this},Array.from(Se,function(){throw 2})}catch(t){}var Ie=!function(t,e){if(!e&&!be)return!1;var n=!1;try{var r={};r[me]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}(function(t){Array.from(t)});Gt({target:"Array",stat:!0,forced:Ie},{from:function(t,e,n){var r,o,i,a,u,c=Kt(t),s="function"==typeof this?this:Array,l=arguments.length,f=1<l?e:void 0,d=void 0!==f,p=0,h=function(t){if(null!=t)return t[ye]||t["@@iterator"]||de[qt(t)]}(c);if(d&&(f=Nt(f,2<l?n:void 0,2)),null==h||s==Array&&function(t){return void 0!==t&&(de.Array===t||he[pe]===t)}(h))for(o=new s(r=ft(c.length));p<r;p++)Ut(o,p,d?f(c[p],p):c[p]);else for(u=(a=h.call(c)).next,o=new s;!(i=u.call(a)).done;p++)Ut(o,p,d?Qt(a,f,[i.value,p],!0):i.value);return o.length=p,o}});function xe(t,e){var n;return Ee(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Ee(n.prototype)?p(n)&&null===(n=n[Te])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}function Oe(p){var h=1==p,g=2==p,v=3==p,y=4==p,m=6==p,b=5==p||m;return function(t,e,n,r){for(var o,i,a=Kt(t),u=Bt(a),c=Nt(e,n,3),s=ft(u.length),l=0,f=r||xe,d=h?f(t,s):g?f(t,0):void 0;l<s;l++)if((b||l in u)&&(i=c(o=u[l],l,a),p))if(h)d[l]=i;else if(i)switch(p){case 3:return!0;case 5:return o;case 6:return l;case 2:Ce.call(d,o)}else if(y)return!1;return m?-1:v||y?y:d}}var Le,_e,Ee=Array.isArray||function(t){return"Array"==it(t)},Te=F("species"),Ce=[].push,je={forEach:Oe(0),map:Oe(1),filter:Oe(2),some:Oe(3),every:Oe(4),find:Oe(5),findIndex:Oe(6)},Ae=At("navigator","userAgent")||"",ke=b.process,Pe=ke&&ke.versions,Re=Pe&&Pe.v8;Re?_e=(Le=Re.split("."))[0]+Le[1]:Ae&&(Le=Ae.match(/Chrome\/(\d+)/))&&(_e=Le[1]);function Me(e){return 51<=De||!f(function(){var t=[];return(t.constructor={})[Ge]=function(){return{foo:1}},1!==t[e](Boolean).foo})}var De=_e&&+_e,Ge=F("species"),Ne=je.map;Gt({target:"Array",proto:!0,forced:!Me("map")},{map:function(t,e){return Ne(this,t,1<arguments.length?e:void 0)}});var Ke=Object.keys||function(t){return Rt(t,te)},Qe=Object.assign,Ue=!Qe||f(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=Qe({},t)[n]||Ke(Qe({},e)).join("")!=r})?function(t,e){for(var n=Kt(t),r=arguments.length,o=1,i=re.f,a=$t.f;o<r;)for(var u,c=Bt(arguments[o++]),s=i?Ke(c).concat(i(c)):Ke(c),l=s.length,f=0;f<l;)u=s[f++],d&&!a.call(c,u)||(n[u]=c[u]);return n}:Qe;Gt({target:"Object",stat:!0,forced:Object.assign!==Ue},{assign:Ue});var qe,Ve,Fe,$e=!f(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),ze=h("IE_PROTO"),Be=Object.prototype,He=$e?Object.getPrototypeOf:function(t){return t=Kt(t),s(t,ze)?t[ze]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Be:null},Ye=F("iterator"),Je=!1;[].keys&&("next"in(Fe=[].keys())?(Ve=He(He(Fe)))!==Object.prototype&&(qe=Ve):Je=!0),null==qe&&(qe={}),s(qe,Ye)||_(qe,Ye,function(){return this});function We(){}var Xe={IteratorPrototype:qe,BUGGY_SAFARI_ITERATORS:Je},Ze=d?Object.defineProperties:function(t,e){O(t);for(var n,r=Ke(e),o=r.length,i=0;i<o;)L.f(t,n=r[i++],e[n]);return t},tn=At("document","documentElement"),en=h("IE_PROTO"),nn="prototype",rn=function(){var t,e=a("iframe"),n=te.length,r="script";for(e.style.display="none",tn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object</"+r+">"),t.close(),rn=t.F;n--;)delete rn[nn][te[n]];return rn()},on=Object.create||function(t,e){var n;return null!==t?(We[nn]=O(t),n=new We,We[nn]=null,n[en]=t):n=rn(),void 0===e?n:Ze(n,e)};G[en]=!0;function an(t,e,n){t&&!s(t=n?t:t.prototype,ln)&&sn(t,ln,{configurable:!0,value:e})}function un(){return this}function cn(){return this}var sn=L.f,ln=F("toStringTag"),fn=Xe.IteratorPrototype,dn=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,t={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),r=t instanceof Array}catch(t){}return function(t,e){return O(t),function(t){if(!p(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(e),r?n.call(t,e):t.__proto__=e,t}}():void 0),pn=Xe.IteratorPrototype,hn=Xe.BUGGY_SAFARI_ITERATORS,gn=F("iterator"),vn="values",yn="entries",mn=It.charAt,bn="String Iterator",wn=H.set,Sn=H.getterFor(bn);!function(t,e,n,r,o,i,a){!function(t,e,n){var r=e+" Iterator";t.prototype=on(fn,{next:y(1,n)}),an(t,r,!1),de[r]=un}(n,e,r);function u(t){if(t===o&&g)return g;if(!hn&&t in p)return p[t];switch(t){case"keys":case vn:case yn:return function(){return new n(this,t)}}return function(){return new n(this)}}var c,s,l,f=e+" Iterator",d=!1,p=t.prototype,h=p[gn]||p["@@iterator"]||o&&p[o],g=!hn&&h||u(o),v="Array"==e&&p.entries||h;if(v&&(c=He(v.call(new t)),pn!==Object.prototype&&c.next&&(He(c)!==pn&&(dn?dn(c,pn):"function"!=typeof c[gn]&&_(c,gn,cn)),an(c,f,!0))),o==vn&&h&&h.name!==vn&&(d=!0,g=function(){return h.call(this)}),p[gn]!==g&&_(p,gn,g),de[e]=g,o)if(s={values:u(vn),keys:i?g:u("keys"),entries:u(yn)},a)for(l in s)!hn&&!d&&l in p||Y(p,l,s[l]);else Gt({target:e,proto:!0,forced:hn||d},s)}(String,"String",function(t){wn(this,{type:bn,string:String(t),index:0})},function(){var t,e=Sn(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=mn(n,r),e.index+=t.length,{value:t,done:!1})});var In=Math.max,xn=Math.min,On=Math.floor,Ln=/\$([$&'`]|\d\d?|<[^>]*>)/g,_n=/\$([$&'`]|\d\d?)/g;ot("replace",2,function(o,S,I){return[function(t,e){var n=at(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):S.call(String(n),t,e)},function(t,e){var n=I(S,t,this,e);if(n.done)return n.value;var r=O(t),o=String(this),i="function"==typeof e;i||(e=String(e));var a=r.global;if(a){var u=r.unicode;r.lastIndex=0}for(var c=[];;){var s=dt(r,o);if(null===s)break;if(c.push(s),!a)break;""===String(s[0])&&(r.lastIndex=lt(o,ft(r.lastIndex),u))}for(var l,f="",d=0,p=0;p<c.length;p++){s=c[p];for(var h=String(s[0]),g=In(xn(ct(s.index),o.length),0),v=[],y=1;y<s.length;y++)v.push(void 0===(l=s[y])?l:String(l));var m=s.groups;if(i){var b=[h].concat(v,g,o);void 0!==m&&b.push(m);var w=String(e.apply(void 0,b))}else w=x(h,o,g,v,m,e);d<=g&&(f+=o.slice(d,g)+w,d=g+h.length)}return f+o.slice(d)}];function x(i,a,u,c,s,t){var l=u+i.length,f=c.length,e=_n;return void 0!==s&&(s=Kt(s),e=Ln),S.call(t,e,function(t,e){var n;switch(e.charAt(0)){case"$":return"$";case"&":return i;case"`":return a.slice(0,u);case"'":return a.slice(l);case"<":n=s[e.slice(1,-1)];break;default:var r=+e;if(0==r)return t;if(f<r){var o=On(r/10);return 0===o?t:o<=f?void 0===c[o-1]?e.charAt(1):c[o-1]+e.charAt(1):t}n=c[r-1]}return void 0===n?"":n})}});var En,Tn,Cn=je.forEach,jn=(Tn=[]["forEach"])&&f(function(){Tn.call(null,En||function(){throw 1},1)})?[].forEach:function(t,e){return Cn(this,t,1<arguments.length?e:void 0)};for(var An in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var kn=b[An],Pn=kn&&kn.prototype;if(Pn&&Pn.forEach!==jn)try{_(Pn,"forEach",jn)}catch(t){Pn.forEach=jn}}function Rn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mn(t,e,n){return e&&Rn(t.prototype,e),n&&Rn(t,n),t}var Dn,Gn,Nn,Kn,Qn,Un,qn,Vn,Fn,$n,zn,Bn,Hn,Yn,Jn=(Gn="ajaxLoad",Nn="coreui.ajaxLoad",Kn=(Dn=e).fn[Gn],Qn="active",Un="open",qn="view-script",Vn="click",Fn=".sidebar-nav .nav-dropdown",$n=".sidebar-nav .nav-link",zn=".sidebar-nav .nav-item",Bn=".view-script",Hn={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},Yn=function(){function n(t,e){this._config=this._getConfig(e),this._element=t;var n=location.hash.replace(/^#/,"");""!==n?this.setUpUrl(n):this.setUpUrl(this._config.defaultPage),this._removeEventListeners(),this._addEventListeners()}var t=n.prototype;return t.loadPage=function(r){var o=this._element,t=this._config;Dn.ajax({type:"GET",url:t.subpagesDirectory+r,dataType:"html",beforeSend:function(){Dn(Bn).remove()},success:function(t){var e=document.createElement("div");e.innerHTML=t;var n=Array.from(e.querySelectorAll("script")).map(function(t){return t.attributes.getNamedItem("src").nodeValue});e.querySelectorAll("script").forEach(function(t){return t.parentNode.removeChild(t)}),Dn("body").animate({scrollTop:0},0),Dn(o).html(e),n.length&&function t(e,n){void 0===n&&(n=0);var r=document.createElement("script");r.type="text/javascript",r.src=e[n],r.className=qn,r.onload=r.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState||e.length>n+1&&t(e,n+1)},document.getElementsByTagName("body")[0].appendChild(r)}(n),window.location.hash=r},error:function(){window.location.href=t.errorPage}})},t.setUpUrl=function(t){Dn($n).removeClass(Qn),Dn(Fn).removeClass(Un),Dn(Fn+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(Un),Dn(zn+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(Qn),this.loadPage(t)},t.loadBlank=function(t){window.open(t)},t.loadTop=function(t){window.location=t},t._getConfig=function(t){return t=Object.assign({},Hn,{},t)},t._addEventListeners=function(){var e=this;Dn(document).on(Vn,$n+'[href!="#"]',function(t){t.preventDefault(),t.stopPropagation(),"_top"===t.currentTarget.target?e.loadTop(t.currentTarget.href):"_blank"===t.currentTarget.target?e.loadBlank(t.currentTarget.href):e.setUpUrl(t.currentTarget.getAttribute("href"))})},t._removeEventListeners=function(){Dn(document).off(Vn,$n+'[href!="#"]')},n._jQueryInterface=function(e){return this.each(function(){var t=Dn(this).data(Nn);t||(t=new n(this,"object"==typeof e&&e),Dn(this).data(Nn,t))})},Mn(n,null,[{key:"VERSION",get:function(){return"2.1.16"}},{key:"Default",get:function(){return Hn}}]),n}(),Dn.fn[Gn]=Yn._jQueryInterface,Dn.fn[Gn].Constructor=Yn,Dn.fn[Gn].noConflict=function(){return Dn.fn[Gn]=Kn,Yn._jQueryInterface},Yn),Wn=F("species"),Xn=[].slice,Zn=Math.max;Gt({target:"Array",proto:!0,forced:!Me("slice")},{slice:function(t,e){var n,r,o,i=Ct(this),a=ft(i.length),u=kt(t,a),c=kt(void 0===e?a:e,a);if(Ee(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Ee(n.prototype)?p(n)&&null===(n=n[Wn])&&(n=void 0):n=void 0,n===Array||void 0===n))return Xn.call(i,u,c);for(r=new(void 0===n?Array:n)(Zn(c-u,0)),o=0;u<c;u++,o++)u in i&&Ut(r,o,i[u]);return r.length=o,r}});function tr(t,e){var n=e.indexOf(t),r=e.slice(0,n+1);!function(t){return-1!==t.map(function(t){return document.body.classList.contains(t)}).indexOf(!0)}(r)?document.body.classList.add(t):r.map(function(t){return document.body.classList.remove(t)})}var er,nr,rr,or,ir,ar,ur,cr,sr,lr=(nr="aside-menu",rr="coreui.aside-menu",or=(er=e).fn[nr],ir={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},ar=".aside-menu",ur=".aside-menu-toggler",cr=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],sr=function(){function n(t){this._element=t,this._removeEventListeners(),this._addEventListeners()}var t=n.prototype;return t._addEventListeners=function(){er(document).on(ir.CLICK,ur,function(t){t.preventDefault(),t.stopPropagation();var e=t.currentTarget.dataset?t.currentTarget.dataset.toggle:er(t.currentTarget).data("toggle");tr(e,cr)})},t._removeEventListeners=function(){er(document).off(ir.CLICK,ur)},n._jQueryInterface=function(){return this.each(function(){var t=er(this),e=t.data(rr);e||(e=new n(this),t.data(rr,e))})},Mn(n,null,[{key:"VERSION",get:function(){return"2.1.16"}}]),n}(),er(window).one(ir.LOAD_DATA_API,function(){var t=er(ar);sr._jQueryInterface.call(t)}),er.fn[nr]=sr._jQueryInterface,er.fn[nr].Constructor=sr,er.fn[nr].noConflict=function(){return er.fn[nr]=or,sr._jQueryInterface},sr),fr=F("unscopables"),dr=Array.prototype;null==dr[fr]&&_(dr,fr,on(null));var pr,hr=je.find,gr="find",vr=!0;gr in[]&&Array(1)[gr](function(){vr=!1}),Gt({target:"Array",proto:!0,forced:vr},{find:function(t,e){return hr(this,t,1<arguments.length?e:void 0)}}),pr=gr,dr[fr][pr]=!0,ot("match",1,function(r,s,l){return[function(t){var e=at(this),n=null==t?void 0:t[r];return void 0!==n?n.call(t,e):new RegExp(t)[r](String(e))},function(t){var e=l(s,t,this);if(e.done)return e.value;var n=O(t),r=String(this);if(!n.global)return dt(n,r);for(var o,i=n.unicode,a=[],u=n.lastIndex=0;null!==(o=dt(n,r));){var c=String(o[0]);""===(a[u]=c)&&(n.lastIndex=lt(r,ft(n.lastIndex),i)),u++}return 0===u?null:a}]});function yr(n){return function(t){var e=String(at(t));return 1&n&&(e=e.replace(Sr,"")),2&n&&(e=e.replace(Ir,"")),e}}var mr,br="\t\n\v\f\r                 \u2028\u2029\ufeff",wr="["+br+"]",Sr=RegExp("^"+wr+wr+"*"),Ir=RegExp(wr+wr+"*$"),xr={start:yr(1),end:yr(2),trim:yr(3)},Or=xr.trim;Gt({target:"String",proto:!0,forced:(mr="trim",f(function(){return!!br[mr]()||"​…᠎"!="​…᠎"[mr]()||br[mr].name!==mr}))},{trim:function(){return Or(this)}});function Lr(t,e){return void 0===e&&(e=document.body),function(t){return t.match(/^--.*/i)}(t)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var r={},t=document.styleSheets,e="",n=t.length-1;-1<n;n--){for(var o=t[n].cssRules,i=o.length-1;-1<i;i--)if(".ie-custom-properties"===o[i].selectorText){e=o[i].cssText;break}if(e)break}return(e=e.substring(e.lastIndexOf("{")+1,e.lastIndexOf("}"))).split(";").forEach(function(t){if(t){var e=t.split(": ")[0],n=t.split(": ")[1];e&&n&&(r["--"+e.trim()]=n.trim())}}),r}()[t]:window.getComputedStyle(e,null).getPropertyValue(t).replace(/^\s/,"")}var _r,Er,Tr,Cr,jr,Ar,kr,Pr,Rr,Mr,Dr,Gr,Nr,Kr,Qr,Ur,qr,Vr,Fr,$r,zr,Br,Hr,Yr,Jr,Wr=(Er="sidebar",Tr="coreui.sidebar",Cr=(_r=e).fn[Er],jr=400,Ar="active",kr="brand-minimized",Pr="nav-link-queried",Rr="open",Mr="sidebar-minimized",Dr={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},Gr="body",Nr=".brand-minimizer",Kr=".nav-dropdown-toggle",Qr=".nav-dropdown-items",Ur=".nav-item",qr=".nav-link",Vr=".sidebar-nav",Fr=".sidebar-nav > .nav",$r=".sidebar",zr=".sidebar-minimizer",Br=".sidebar-toggler",Hr=".sidebar-scroll",Yr=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],Jr=function(){function n(t){this._element=t,this.mobile=!1,this.ps=null,this.perfectScrollbar(Dr.INIT),this.setActiveLink(),this._breakpointTest=this._breakpointTest.bind(this),this._clickOutListener=this._clickOutListener.bind(this),this._removeEventListeners(),this._addEventListeners(),this._addMediaQuery()}var t=n.prototype;return t.perfectScrollbar=function(t){var e=this;if("undefined"!=typeof r){var n=document.body.classList;t!==Dr.INIT||n.contains(Mr)||(this.ps=this.makeScrollbar()),t===Dr.DESTROY&&this.destroyScrollbar(),t===Dr.TOGGLE&&(n.contains(Mr)?this.destroyScrollbar():(this.destroyScrollbar(),this.ps=this.makeScrollbar())),t!==Dr.UPDATE||n.contains(Mr)||setTimeout(function(){e.destroyScrollbar(),e.ps=e.makeScrollbar()},jr)}},t.makeScrollbar=function(){var t=Hr;if(null===document.querySelector(t)&&(t=Vr,null===document.querySelector(t)))return null;var e=new r(document.querySelector(t),{suppressScrollX:!0});return e.isRtl=!1,e},t.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},t.setActiveLink=function(){_r(Fr).find(qr).each(function(t,e){var n,r=e;"#"===(n=r.classList.contains(Pr)?String(window.location):String(window.location).split("?")[0]).substr(n.length-1)&&(n=n.slice(0,-1)),_r(_r(r))[0].href===n&&_r(r).addClass(Ar).parents(Qr).add(r).each(function(t,e){_r(r=e).parent().addClass(Rr)})})},t._addMediaQuery=function(){var t=Lr("--breakpoint-sm");if(t){var e=parseInt(t,10)-1,n=window.matchMedia("(max-width: "+e+"px)");this._breakpointTest(n),n.addListener(this._breakpointTest)}},t._breakpointTest=function(t){this.mobile=Boolean(t.matches),this._toggleClickOut()},t._clickOutListener=function(t){this._element.contains(t.target)||(t.preventDefault(),t.stopPropagation(),this._removeClickOut(),document.body.classList.remove("sidebar-show"))},t._addClickOut=function(){document.addEventListener(Dr.CLICK,this._clickOutListener,!0)},t._removeClickOut=function(){document.removeEventListener(Dr.CLICK,this._clickOutListener,!0)},t._toggleClickOut=function(){this.mobile&&document.body.classList.contains("sidebar-show")?(document.body.classList.remove("aside-menu-show"),this._addClickOut()):this._removeClickOut()},t._addEventListeners=function(){var n=this;_r(document).on(Dr.CLICK,Nr,function(t){t.preventDefault(),t.stopPropagation(),_r(Gr).toggleClass(kr)}),_r(document).on(Dr.CLICK,Kr,function(t){t.preventDefault(),t.stopPropagation();var e=t.target;_r(e).parent().toggleClass(Rr),n.perfectScrollbar(Dr.UPDATE)}),_r(document).on(Dr.CLICK,zr,function(t){t.preventDefault(),t.stopPropagation(),_r(Gr).toggleClass(Mr),n.perfectScrollbar(Dr.TOGGLE)}),_r(document).on(Dr.CLICK,Br,function(t){t.preventDefault(),t.stopPropagation();var e=t.currentTarget.dataset?t.currentTarget.dataset.toggle:_r(t.currentTarget).data("toggle");tr(e,Yr),n._toggleClickOut()}),_r(Fr+" > "+Ur+" "+qr+":not("+Kr+")").on(Dr.CLICK,function(){n._removeClickOut(),document.body.classList.remove("sidebar-show")})},t._removeEventListeners=function(){_r(document).off(Dr.CLICK,Nr),_r(document).off(Dr.CLICK,Kr),_r(document).off(Dr.CLICK,zr),_r(document).off(Dr.CLICK,Br),_r(Fr+" > "+Ur+" "+qr+":not("+Kr+")").off(Dr.CLICK)},n._jQueryInterface=function(){return this.each(function(){var t=_r(this),e=t.data(Tr);e||(e=new n(this),t.data(Tr,e))})},Mn(n,null,[{key:"VERSION",get:function(){return"2.1.16"}}]),n}(),_r(window).one(Dr.LOAD_DATA_API,function(){var t=_r($r);Jr._jQueryInterface.call(t)}),_r.fn[Er]=Jr._jQueryInterface,_r.fn[Er].Constructor=Jr,_r.fn[Er].noConflict=function(){return _r.fn[Er]=Cr,Jr._jQueryInterface},Jr),Xr={};Xr[F("toStringTag")]="z";var Zr="[object z]"!==String(Xr)?function(){return"[object "+qt(this)+"]"}:Xr.toString,to=Object.prototype;Zr!==to.toString&&Y(to,"toString",Zr,{unsafe:!0});var eo="toString",no=RegExp.prototype,ro=no[eo],oo=f(function(){return"/a/b"!=ro.call({source:"a",flags:"b"})}),io=ro.name!=eo;(oo||io)&&Y(RegExp.prototype,eo,function(){var t=O(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in no)?$.call(t):n)},{unsafe:!0});!function(t){if("undefined"==typeof t)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),window.getStyle=Lr,window.hexToRgb=function(t){if("undefined"==typeof t)throw new Error("Hex color is not defined");var e,n,r;if(!t.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(t+" is not a valid hex color");return r=7===t.length?(e=parseInt(t.substring(1,3),16),n=parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)):(e=parseInt(t.substring(1,2),16),n=parseInt(t.substring(2,3),16),parseInt(t.substring(3,5),16)),"rgba("+e+", "+n+", "+r+")"},window.hexToRgba=function(t,e){if(void 0===e&&(e=100),"undefined"==typeof t)throw new Error("Hex color is not defined");var n,r,o;if(!t.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(t+" is not a valid hex color");return o=7===t.length?(n=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)):(n=parseInt(t.substring(1,2),16),r=parseInt(t.substring(2,3),16),parseInt(t.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+e/100+")"},window.rgbToHex=function(t){if("undefined"==typeof t)throw new Error("Hex color is not defined");if("transparent"===t)return"#00000000";var e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!e)throw new Error(t+" is not a valid rgb color");var n="0"+parseInt(e[1],10).toString(16),r="0"+parseInt(e[2],10).toString(16),o="0"+parseInt(e[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)},t.AjaxLoad=Jn,t.AsideMenu=lr,t.Sidebar=Wr,Object.defineProperty(t,"__esModule",{value:!0})});
7
7
  //# sourceMappingURL=coreui.min.js.map