%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hrsys/web/js/
Upload File :
Create Path :
Current File : /var/www/html/hrsys/web/js/chunk-a1ee254e.bec3b3e4.js

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a1ee254e"],{"13d5":function(t,e,r){"use strict";var o=r("23e7"),i=r("d58f").left,n=r("a640"),s=r("ae40"),a=n("reduce"),l=s("reduce",{1:0});o({target:"Array",proto:!0,forced:!a||!l},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"173b":function(t,e,r){},2532:function(t,e,r){"use strict";var o=r("23e7"),i=r("5a34"),n=r("1d80"),s=r("ab13");o({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~String(n(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"36f0":function(t,e,r){"use strict";var o=r("77d1"),i=r.n(o);i.a},"5a34":function(t,e,r){var o=r("44e7");t.exports=function(t){if(o(t))throw TypeError("The method doesn't accept regular expressions");return t}},"77d1":function(t,e,r){},"9d63":function(t,e){t.exports=function(t){function e(o){if(r[o])return r[o].exports;var i=r[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,r,o){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=6)}([function(t,e,r){"use strict";function o(t,e){function r(){t.classList.add("ps--focus")}function o(){t.classList.remove("ps--focus")}var i=this;for(var n in i.settings=l(),e)i.settings[n]=e[n];i.containerWidth=null,i.containerHeight=null,i.contentWidth=null,i.contentHeight=null,i.isRtl="rtl"===c.css(t,"direction"),i.isNegativeScroll=function(){var e=t.scrollLeft,r=null;return t.scrollLeft=-1,r=t.scrollLeft<0,t.scrollLeft=e,r}(),i.negativeScrollAdjustment=i.isNegativeScroll?t.scrollWidth-t.clientWidth:0,i.event=new u,i.ownerDocument=t.ownerDocument||document,i.scrollbarXRail=c.appendTo(c.create("div","ps__scrollbar-x-rail"),t),i.scrollbarX=c.appendTo(c.create("div","ps__scrollbar-x"),i.scrollbarXRail),i.scrollbarX.setAttribute("tabindex",0),i.event.bind(i.scrollbarX,"focus",r),i.event.bind(i.scrollbarX,"blur",o),i.scrollbarXActive=null,i.scrollbarXWidth=null,i.scrollbarXLeft=null,i.scrollbarXBottom=a.toInt(c.css(i.scrollbarXRail,"bottom")),i.isScrollbarXUsingBottom=i.scrollbarXBottom===i.scrollbarXBottom,i.scrollbarXTop=i.isScrollbarXUsingBottom?null:a.toInt(c.css(i.scrollbarXRail,"top")),i.railBorderXWidth=a.toInt(c.css(i.scrollbarXRail,"borderLeftWidth"))+a.toInt(c.css(i.scrollbarXRail,"borderRightWidth")),c.css(i.scrollbarXRail,"display","block"),i.railXMarginWidth=a.toInt(c.css(i.scrollbarXRail,"marginLeft"))+a.toInt(c.css(i.scrollbarXRail,"marginRight")),c.css(i.scrollbarXRail,"display",""),i.railXWidth=null,i.railXRatio=null,i.scrollbarYRail=c.appendTo(c.create("div","ps__scrollbar-y-rail"),t),i.scrollbarY=c.appendTo(c.create("div","ps__scrollbar-y"),i.scrollbarYRail),i.scrollbarY.setAttribute("tabindex",0),i.event.bind(i.scrollbarY,"focus",r),i.event.bind(i.scrollbarY,"blur",o),i.scrollbarYActive=null,i.scrollbarYHeight=null,i.scrollbarYTop=null,i.scrollbarYRight=a.toInt(c.css(i.scrollbarYRail,"right")),i.isScrollbarYUsingRight=i.scrollbarYRight===i.scrollbarYRight,i.scrollbarYLeft=i.isScrollbarYUsingRight?null:a.toInt(c.css(i.scrollbarYRail,"left")),i.scrollbarYOuterWidth=i.isRtl?a.outerWidth(i.scrollbarY):null,i.railBorderYWidth=a.toInt(c.css(i.scrollbarYRail,"borderTopWidth"))+a.toInt(c.css(i.scrollbarYRail,"borderBottomWidth")),c.css(i.scrollbarYRail,"display","block"),i.railYMarginHeight=a.toInt(c.css(i.scrollbarYRail,"marginTop"))+a.toInt(c.css(i.scrollbarYRail,"marginBottom")),c.css(i.scrollbarYRail,"display",""),i.railYHeight=null,i.railYRatio=null}function i(t){return t.getAttribute("data-ps-id")}function n(t,e){t.setAttribute("data-ps-id",e)}function s(t){t.removeAttribute("data-ps-id")}var a=r(2),l=r(14),c=r(4),u=r(11),d=r(12),h={};e.add=function(t,e){var r=d();return n(t,r),h[r]=new o(t,e),h[r]},e.remove=function(t){delete h[i(t)],s(t)},e.get=function(t){return h[i(t)]}},function(t,e,r){"use strict";function o(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function i(t,e){var r={width:e.railXWidth};e.isRtl?r.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:r.left=t.scrollLeft,e.isScrollbarXUsingBottom?r.bottom=e.scrollbarXBottom-t.scrollTop:r.top=e.scrollbarXTop+t.scrollTop,s.css(e.scrollbarXRail,r);var o={top:t.scrollTop,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?o.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:o.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?o.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:o.left=e.scrollbarYLeft+t.scrollLeft,s.css(e.scrollbarYRail,o),s.css(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),s.css(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}var n=r(2),s=r(4),a=r(0),l=r(3);t.exports=function(t){var e,r=a.get(t);r.containerWidth=t.clientWidth,r.containerHeight=t.clientHeight,r.contentWidth=t.scrollWidth,r.contentHeight=t.scrollHeight,t.contains(r.scrollbarXRail)||(e=s.queryChildren(t,".ps__scrollbar-x-rail"),e.length>0&&e.forEach((function(t){s.remove(t)})),s.appendTo(r.scrollbarXRail,t)),t.contains(r.scrollbarYRail)||(e=s.queryChildren(t,".ps__scrollbar-y-rail"),e.length>0&&e.forEach((function(t){s.remove(t)})),s.appendTo(r.scrollbarYRail,t)),!r.settings.suppressScrollX&&r.containerWidth+r.settings.scrollXMarginOffset<r.contentWidth?(r.scrollbarXActive=!0,r.railXWidth=r.containerWidth-r.railXMarginWidth,r.railXRatio=r.containerWidth/r.railXWidth,r.scrollbarXWidth=o(r,n.toInt(r.railXWidth*r.containerWidth/r.contentWidth)),r.scrollbarXLeft=n.toInt((r.negativeScrollAdjustment+t.scrollLeft)*(r.railXWidth-r.scrollbarXWidth)/(r.contentWidth-r.containerWidth))):r.scrollbarXActive=!1,!r.settings.suppressScrollY&&r.containerHeight+r.settings.scrollYMarginOffset<r.contentHeight?(r.scrollbarYActive=!0,r.railYHeight=r.containerHeight-r.railYMarginHeight,r.railYRatio=r.containerHeight/r.railYHeight,r.scrollbarYHeight=o(r,n.toInt(r.railYHeight*r.containerHeight/r.contentHeight)),r.scrollbarYTop=n.toInt(t.scrollTop*(r.railYHeight-r.scrollbarYHeight)/(r.contentHeight-r.containerHeight))):r.scrollbarYActive=!1,r.scrollbarXLeft>=r.railXWidth-r.scrollbarXWidth&&(r.scrollbarXLeft=r.railXWidth-r.scrollbarXWidth),r.scrollbarYTop>=r.railYHeight-r.scrollbarYHeight&&(r.scrollbarYTop=r.railYHeight-r.scrollbarYHeight),i(t,r),r.scrollbarXActive?t.classList.add("ps--active-x"):(t.classList.remove("ps--active-x"),r.scrollbarXWidth=0,r.scrollbarXLeft=0,l(t,"left",0)),r.scrollbarYActive?t.classList.add("ps--active-y"):(t.classList.remove("ps--active-y"),r.scrollbarYHeight=0,r.scrollbarYTop=0,l(t,"top",0))}},function(t,e,r){"use strict";function o(t){var e,r=["ps--in-scrolling"];return e=void 0===t?["ps--x","ps--y"]:["ps--"+t],r.concat(e)}var i=r(4),n=e.toInt=function(t){return parseInt(t,10)||0};e.isEditable=function(t){return i.matches(t,"input,[contenteditable]")||i.matches(t,"select,[contenteditable]")||i.matches(t,"textarea,[contenteditable]")||i.matches(t,"button,[contenteditable]")},e.removePsClasses=function(t){for(var e=0;e<t.classList.length;e++){var r=t.classList[e];0===r.indexOf("ps-")&&t.classList.remove(r)}},e.outerWidth=function(t){return n(i.css(t,"width"))+n(i.css(t,"paddingLeft"))+n(i.css(t,"paddingRight"))+n(i.css(t,"borderLeftWidth"))+n(i.css(t,"borderRightWidth"))},e.startScrolling=function(t,e){for(var r=o(e),i=0;i<r.length;i++)t.classList.add(r[i])},e.stopScrolling=function(t,e){for(var r=o(e),i=0;i<r.length;i++)t.classList.remove(r[i])},e.env={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof window&&null!==window.navigator.msMaxTouchPoints}},function(t,e,r){"use strict";var o=r(0),i=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e};t.exports=function(t,e,r){if(void 0===t)throw"You must provide an element to the update-scroll function";if(void 0===e)throw"You must provide an axis to the update-scroll function";if(void 0===r)throw"You must provide a value to the update-scroll function";"top"===e&&r<=0&&(t.scrollTop=r=0,t.dispatchEvent(i("ps-y-reach-start"))),"left"===e&&r<=0&&(t.scrollLeft=r=0,t.dispatchEvent(i("ps-x-reach-start")));var n=o.get(t);"top"===e&&r>=n.contentHeight-n.containerHeight&&(r=n.contentHeight-n.containerHeight,r-t.scrollTop<=2?r=t.scrollTop:t.scrollTop=r,t.dispatchEvent(i("ps-y-reach-end"))),"left"===e&&r>=n.contentWidth-n.containerWidth&&(r=n.contentWidth-n.containerWidth,r-t.scrollLeft<=2?r=t.scrollLeft:t.scrollLeft=r,t.dispatchEvent(i("ps-x-reach-end"))),void 0===n.lastTop&&(n.lastTop=t.scrollTop),void 0===n.lastLeft&&(n.lastLeft=t.scrollLeft),"top"===e&&r<n.lastTop&&t.dispatchEvent(i("ps-scroll-up")),"top"===e&&r>n.lastTop&&t.dispatchEvent(i("ps-scroll-down")),"left"===e&&r<n.lastLeft&&t.dispatchEvent(i("ps-scroll-left")),"left"===e&&r>n.lastLeft&&t.dispatchEvent(i("ps-scroll-right")),"top"===e&&r!==n.lastTop&&(t.scrollTop=n.lastTop=r,t.dispatchEvent(i("ps-scroll-y"))),"left"===e&&r!==n.lastLeft&&(t.scrollLeft=n.lastLeft=r,t.dispatchEvent(i("ps-scroll-x")))}},function(t,e,r){"use strict";function o(t,e){return window.getComputedStyle(t)[e]}function i(t,e,r){return"number"==typeof r&&(r=r.toString()+"px"),t.style[e]=r,t}function n(t,e){for(var r in e){var o=e[r];"number"==typeof o&&(o=o.toString()+"px"),t.style[r]=o}return t}var s={create:function(t,e){var r=document.createElement(t);return r.className=e,r},appendTo:function(t,e){return e.appendChild(t),t},css:function(t,e,r){return"object"==typeof e?n(t,e):void 0===r?o(t,e):i(t,e,r)},matches:function(t,e){return void 0!==t.matches?t.matches(e):t.msMatchesSelector(e)},remove:function(t){void 0!==t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},queryChildren:function(t,e){return Array.prototype.filter.call(t.childNodes,(function(t){return s.matches(t,e)}))}};t.exports=s},function(t,e,r){r(28);var o=r(25)(r(7),r(26),null,null);t.exports=o.exports},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(5),i=r.n(o);e.default=i.a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(10),i=r.n(o);e.default={name:"vue-perfect-scrollbar",props:{settings:{default:void 0},swicher:{type:Boolean,default:!0},tagname:{type:String,default:"section"}},methods:{scrollHanle:function(t){this.$emit(t.type,t)},update:function(){i.a.update(this.$el)},__init:function(){this.swicher&&(this._ps_inited?this.update(this.$el):(this._ps_inited=!0,i.a.initialize(this.$el,this.settings)))},__uninit:function(){i.a.destroy(this.$el),this._ps_inited=!1}},watch:{swicher:function(t){t&&!this._ps_inited&&this.__init(),!t&&this._ps_inited&&this.__uninit()},$route:function(){this.update()}},mounted:function(){this.__init()},updated:function(){this.$nextTick(this.update)},activated:function(){this.__init()},deactivated:function(){this.__uninit()},beforeDestroy:function(){this.__uninit()}}},function(t,e,r){e=t.exports=r(9)(),e.push([t.i,".ps{-ms-touch-action:auto;touch-action:auto;overflow:hidden!important;-ms-overflow-style:none}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}.ps.ps--active-x>.ps__scrollbar-x-rail,.ps.ps--active-y>.ps__scrollbar-y-rail{display:block;background-color:transparent}.ps.ps--in-scrolling.ps--x>.ps__scrollbar-x-rail{background-color:#eee;opacity:.9}.ps.ps--in-scrolling.ps--x>.ps__scrollbar-x-rail>.ps__scrollbar-x{background-color:#999;height:11px}.ps.ps--in-scrolling.ps--y>.ps__scrollbar-y-rail{background-color:#eee;opacity:.9}.ps.ps--in-scrolling.ps--y>.ps__scrollbar-y-rail>.ps__scrollbar-y{background-color:#999;width:11px}.ps>.ps__scrollbar-x-rail{display:none;position:absolute;opacity:0;transition:background-color .2s linear,opacity .2s linear;bottom:0;height:15px}.ps>.ps__scrollbar-x-rail>.ps__scrollbar-x{position:absolute;background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s linear,width .2s ease-in-out,border-radius .2s ease-in-out;bottom:2px;height:6px}.ps>.ps__scrollbar-x-rail:active>.ps__scrollbar-x,.ps>.ps__scrollbar-x-rail:hover>.ps__scrollbar-x{height:11px}.ps>.ps__scrollbar-y-rail{display:none;position:absolute;opacity:0;transition:background-color .2s linear,opacity .2s linear;right:0;width:15px}.ps>.ps__scrollbar-y-rail>.ps__scrollbar-y{position:absolute;background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s linear,width .2s ease-in-out,border-radius .2s ease-in-out;right:2px;width:6px}.ps>.ps__scrollbar-y-rail:active>.ps__scrollbar-y,.ps>.ps__scrollbar-y-rail:hover>.ps__scrollbar-y{width:11px}.ps:hover.ps--in-scrolling.ps--x>.ps__scrollbar-x-rail{background-color:#eee;opacity:.9}.ps:hover.ps--in-scrolling.ps--x>.ps__scrollbar-x-rail>.ps__scrollbar-x{background-color:#999;height:11px}.ps:hover.ps--in-scrolling.ps--y>.ps__scrollbar-y-rail{background-color:#eee;opacity:.9}.ps:hover.ps--in-scrolling.ps--y>.ps__scrollbar-y-rail>.ps__scrollbar-y{background-color:#999;width:11px}.ps:hover>.ps__scrollbar-x-rail,.ps:hover>.ps__scrollbar-y-rail{opacity:.6}.ps:hover>.ps__scrollbar-x-rail:hover{background-color:#eee;opacity:.9}.ps:hover>.ps__scrollbar-x-rail:hover>.ps__scrollbar-x{background-color:#999}.ps:hover>.ps__scrollbar-y-rail:hover{background-color:#eee;opacity:.9}.ps:hover>.ps__scrollbar-y-rail:hover>.ps__scrollbar-y{background-color:#999}.ps-container{position:relative}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var r=this[e];r[2]?t.push("@media "+r[2]+"{"+r[1]+"}"):t.push(r[1])}return t.join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},i=0;i<this.length;i++){var n=this[i][0];"number"==typeof n&&(o[n]=!0)}for(i=0;i<e.length;i++){var s=e[i];"number"==typeof s[0]&&o[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),t.push(s))}},t}},function(t,e,r){"use strict";t.exports=r(13)},function(t,e,r){"use strict";var o=function(t){this.element=t,this.events={}};o.prototype.bind=function(t,e){void 0===this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},o.prototype.unbind=function(t,e){var r=void 0!==e;this.events[t]=this.events[t].filter((function(o){return!(!r||o===e)||(this.element.removeEventListener(t,o,!1),!1)}),this)},o.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)};var i=function(){this.eventElements=[]};i.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return void 0===e&&(e=new o(t),this.eventElements.push(e)),e},i.prototype.bind=function(t,e,r){this.eventElement(t).bind(e,r)},i.prototype.unbind=function(t,e,r){this.eventElement(t).unbind(e,r)},i.prototype.unbindAll=function(){for(var t=0;t<this.eventElements.length;t++)this.eventElements[t].unbindAll()},i.prototype.once=function(t,e,r){var o=this.eventElement(t),i=function(t){o.unbind(e,i),r(t)};o.bind(e,i)},t.exports=i},function(t,e,r){"use strict";t.exports=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}()},function(t,e,r){"use strict";var o=r(15),i=r(23),n=r(24);t.exports={initialize:i,update:n,destroy:o}},function(t,e,r){"use strict";t.exports=function(){return{handlers:["click-rail","drag-scrollbar","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1,theme:"default"}}},function(t,e,r){"use strict";var o=r(2),i=r(4),n=r(0);t.exports=function(t){var e=n.get(t);e&&(e.event.unbindAll(),i.remove(e.scrollbarX),i.remove(e.scrollbarY),i.remove(e.scrollbarXRail),i.remove(e.scrollbarYRail),o.removePsClasses(t),n.remove(t))}},function(t,e,r){"use strict";function o(t,e){function r(t){return t.getBoundingClientRect()}var o=function(t){t.stopPropagation()};e.event.bind(e.scrollbarY,"click",o),e.event.bind(e.scrollbarYRail,"click",(function(o){var i=o.pageY-window.pageYOffset-r(e.scrollbarYRail).top,a=i>e.scrollbarYTop?1:-1;s(t,"top",t.scrollTop+a*e.containerHeight),n(t),o.stopPropagation()})),e.event.bind(e.scrollbarX,"click",o),e.event.bind(e.scrollbarXRail,"click",(function(o){var i=o.pageX-window.pageXOffset-r(e.scrollbarXRail).left,a=i>e.scrollbarXLeft?1:-1;s(t,"left",t.scrollLeft+a*e.containerWidth),n(t),o.stopPropagation()}))}var i=r(0),n=r(1),s=r(3);t.exports=function(t){o(t,i.get(t))}},function(t,e,r){"use strict";function o(t,e){function r(r){var i=o+r*e.railXRatio,s=Math.max(0,e.scrollbarXRail.getBoundingClientRect().left)+e.railXRatio*(e.railXWidth-e.scrollbarXWidth);e.scrollbarXLeft=i<0?0:i>s?s:i;var a=n.toInt(e.scrollbarXLeft*(e.contentWidth-e.containerWidth)/(e.containerWidth-e.railXRatio*e.scrollbarXWidth))-e.negativeScrollAdjustment;c(t,"left",a)}var o=null,i=null,a=function(e){r(e.pageX-i),l(t),e.stopPropagation(),e.preventDefault()},u=function(){n.stopScrolling(t,"x"),e.event.unbind(e.ownerDocument,"mousemove",a)};e.event.bind(e.scrollbarX,"mousedown",(function(r){i=r.pageX,o=n.toInt(s.css(e.scrollbarX,"left"))*e.railXRatio,n.startScrolling(t,"x"),e.event.bind(e.ownerDocument,"mousemove",a),e.event.once(e.ownerDocument,"mouseup",u),r.stopPropagation(),r.preventDefault()}))}function i(t,e){function r(r){var i=o+r*e.railYRatio,s=Math.max(0,e.scrollbarYRail.getBoundingClientRect().top)+e.railYRatio*(e.railYHeight-e.scrollbarYHeight);e.scrollbarYTop=i<0?0:i>s?s:i;var a=n.toInt(e.scrollbarYTop*(e.contentHeight-e.containerHeight)/(e.containerHeight-e.railYRatio*e.scrollbarYHeight));c(t,"top",a)}var o=null,i=null,a=function(e){r(e.pageY-i),l(t),e.stopPropagation(),e.preventDefault()},u=function(){n.stopScrolling(t,"y"),e.event.unbind(e.ownerDocument,"mousemove",a)};e.event.bind(e.scrollbarY,"mousedown",(function(r){i=r.pageY,o=n.toInt(s.css(e.scrollbarY,"top"))*e.railYRatio,n.startScrolling(t,"y"),e.event.bind(e.ownerDocument,"mousemove",a),e.event.once(e.ownerDocument,"mouseup",u),r.stopPropagation(),r.preventDefault()}))}var n=r(2),s=r(4),a=r(0),l=r(1),c=r(3);t.exports=function(t){var e=a.get(t);o(t,e),i(t,e)}},function(t,e,r){"use strict";function o(t,e){function r(r,o){var i=t.scrollTop;if(0===r){if(!e.scrollbarYActive)return!1;if(0===i&&o>0||i>=e.contentHeight-e.containerHeight&&o<0)return!e.settings.wheelPropagation}var n=t.scrollLeft;if(0===o){if(!e.scrollbarXActive)return!1;if(0===n&&r<0||n>=e.contentWidth-e.containerWidth&&r>0)return!e.settings.wheelPropagation}return!0}var o=!1;e.event.bind(t,"mouseenter",(function(){o=!0})),e.event.bind(t,"mouseleave",(function(){o=!1}));var s=!1;e.event.bind(e.ownerDocument,"keydown",(function(c){if(!(c.isDefaultPrevented&&c.isDefaultPrevented()||c.defaultPrevented)){var u=n.matches(e.scrollbarX,":focus")||n.matches(e.scrollbarY,":focus");if(o||u){var d=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(d){if("IFRAME"===d.tagName)d=d.contentDocument.activeElement;else for(;d.shadowRoot;)d=d.shadowRoot.activeElement;if(i.isEditable(d))return}var h=0,p=0;switch(c.which){case 37:h=c.metaKey?-e.contentWidth:c.altKey?-e.containerWidth:-30;break;case 38:p=c.metaKey?e.contentHeight:c.altKey?e.containerHeight:30;break;case 39:h=c.metaKey?e.contentWidth:c.altKey?e.containerWidth:30;break;case 40:p=c.metaKey?-e.contentHeight:c.altKey?-e.containerHeight:-30;break;case 33:p=90;break;case 32:p=c.shiftKey?90:-90;break;case 34:p=-90;break;case 35:p=c.ctrlKey?-e.contentHeight:-e.containerHeight;break;case 36:p=c.ctrlKey?t.scrollTop:e.containerHeight;break;default:return}l(t,"top",t.scrollTop-p),l(t,"left",t.scrollLeft+h),a(t),s=r(h,p),s&&c.preventDefault()}}}))}var i=r(2),n=r(4),s=r(0),a=r(1),l=r(3);t.exports=function(t){o(t,s.get(t))}},function(t,e,r){"use strict";function o(t,e){function r(r,o){var i=t.scrollTop;if(0===r){if(!e.scrollbarYActive)return!1;if(0===i&&o>0||i>=e.contentHeight-e.containerHeight&&o<0)return!e.settings.wheelPropagation}var n=t.scrollLeft;if(0===o){if(!e.scrollbarXActive)return!1;if(0===n&&r<0||n>=e.contentWidth-e.containerWidth&&r>0)return!e.settings.wheelPropagation}return!0}function o(t){var e=t.deltaX,r=-1*t.deltaY;return void 0!==e&&void 0!==r||(e=-1*t.wheelDeltaX/6,r=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,r*=10),e!==e&&r!==r&&(e=0,r=t.wheelDelta),t.shiftKey?[-r,-e]:[e,r]}function i(e,r){var o=t.querySelector("textarea:hover, select[multiple]:hover, .ps-child:hover");if(o){var i=window.getComputedStyle(o);if(![i.overflow,i.overflowX,i.overflowY].join("").match(/(scroll|auto)/))return!1;var n=o.scrollHeight-o.clientHeight;if(n>0&&!(0===o.scrollTop&&r>0||o.scrollTop===n&&r<0))return!0;var s=o.scrollLeft-o.clientWidth;if(s>0&&!(0===o.scrollLeft&&e<0||o.scrollLeft===s&&e>0))return!0}return!1}function a(a){var c=o(a),u=c[0],d=c[1];i(u,d)||(l=!1,e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(s(t,"top",d?t.scrollTop-d*e.settings.wheelSpeed:t.scrollTop+u*e.settings.wheelSpeed),l=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(s(t,"left",u?t.scrollLeft+u*e.settings.wheelSpeed:t.scrollLeft-d*e.settings.wheelSpeed),l=!0):(s(t,"top",t.scrollTop-d*e.settings.wheelSpeed),s(t,"left",t.scrollLeft+u*e.settings.wheelSpeed)),n(t),(l=l||r(u,d))&&(a.stopPropagation(),a.preventDefault()))}var l=!1;void 0!==window.onwheel?e.event.bind(t,"wheel",a):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",a)}var i=r(0),n=r(1),s=r(3);t.exports=function(t){o(t,i.get(t))}},function(t,e,r){"use strict";function o(t,e){e.event.bind(t,"scroll",(function(){n(t)}))}var i=r(0),n=r(1);t.exports=function(t){o(t,i.get(t))}},function(t,e,r){"use strict";function o(t,e){function r(){var t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"";return 0===t.toString().length?null:t.getRangeAt(0).commonAncestorContainer}function o(){c||(c=setInterval((function(){n.get(t)?(a(t,"top",t.scrollTop+u.top),a(t,"left",t.scrollLeft+u.left),s(t)):clearInterval(c)}),50))}function l(){c&&(clearInterval(c),c=null),i.stopScrolling(t)}var c=null,u={top:0,left:0},d=!1;e.event.bind(e.ownerDocument,"selectionchange",(function(){t.contains(r())?d=!0:(d=!1,l())})),e.event.bind(window,"mouseup",(function(){d&&(d=!1,l())})),e.event.bind(window,"keyup",(function(){d&&(d=!1,l())})),e.event.bind(window,"mousemove",(function(e){if(d){var r={x:e.pageX,y:e.pageY},n={left:t.offsetLeft,right:t.offsetLeft+t.offsetWidth,top:t.offsetTop,bottom:t.offsetTop+t.offsetHeight};r.x<n.left+3?(u.left=-5,i.startScrolling(t,"x")):r.x>n.right-3?(u.left=5,i.startScrolling(t,"x")):u.left=0,r.y<n.top+3?(u.top=n.top+3-r.y<5?-5:-20,i.startScrolling(t,"y")):r.y>n.bottom-3?(u.top=r.y-n.bottom+3<5?5:20,i.startScrolling(t,"y")):u.top=0,0===u.top&&0===u.left?l():o()}}))}var i=r(2),n=r(0),s=r(1),a=r(3);t.exports=function(t){o(t,n.get(t))}},function(t,e,r){"use strict";function o(t,e,r,o){function i(r,o){var i=t.scrollTop,n=t.scrollLeft,s=Math.abs(r),a=Math.abs(o);if(a>s){if(o<0&&i===e.contentHeight-e.containerHeight||o>0&&0===i)return!e.settings.swipePropagation}else if(s>a&&(r<0&&n===e.contentWidth-e.containerWidth||r>0&&0===n))return!e.settings.swipePropagation;return!0}function l(e,r){a(t,"top",t.scrollTop-r),a(t,"left",t.scrollLeft-e),s(t)}function c(){x=!0}function u(){x=!1}function d(t){return t.targetTouches?t.targetTouches[0]:t}function h(t){return(!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&&(!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function p(t){if(h(t)){_=!0;var e=d(t);b.pageX=e.pageX,b.pageY=e.pageY,g=(new Date).getTime(),null!==w&&clearInterval(w),t.stopPropagation()}}function f(t){if(!_&&e.settings.swipePropagation&&p(t),!x&&_&&h(t)){var r=d(t),o={pageX:r.pageX,pageY:r.pageY},n=o.pageX-b.pageX,s=o.pageY-b.pageY;l(n,s),b=o;var a=(new Date).getTime(),c=a-g;c>0&&(m.x=n/c,m.y=s/c,g=a),i(n,s)&&(t.stopPropagation(),t.preventDefault())}}function v(){!x&&_&&(_=!1,e.settings.swipeEasing&&(clearInterval(w),w=setInterval((function(){return n.get(t)&&(m.x||m.y)?Math.abs(m.x)<.01&&Math.abs(m.y)<.01?void clearInterval(w):(l(30*m.x,30*m.y),m.x*=.8,void(m.y*=.8)):void clearInterval(w)}),10)))}var b={},g=0,m={},w=null,x=!1,_=!1;r?(e.event.bind(window,"touchstart",c),e.event.bind(window,"touchend",u),e.event.bind(t,"touchstart",p),e.event.bind(t,"touchmove",f),e.event.bind(t,"touchend",v)):o&&(window.PointerEvent?(e.event.bind(window,"pointerdown",c),e.event.bind(window,"pointerup",u),e.event.bind(t,"pointerdown",p),e.event.bind(t,"pointermove",f),e.event.bind(t,"pointerup",v)):window.MSPointerEvent&&(e.event.bind(window,"MSPointerDown",c),e.event.bind(window,"MSPointerUp",u),e.event.bind(t,"MSPointerDown",p),e.event.bind(t,"MSPointerMove",f),e.event.bind(t,"MSPointerUp",v)))}var i=r(2),n=r(0),s=r(1),a=r(3);t.exports=function(t){(i.env.supportsTouch||i.env.supportsIePointer)&&o(t,n.get(t),i.env.supportsTouch,i.env.supportsIePointer)}},function(t,e,r){"use strict";var o=r(0),i=r(1),n={"click-rail":r(16),"drag-scrollbar":r(17),keyboard:r(18),wheel:r(19),touch:r(22),selection:r(21)},s=r(20);t.exports=function(t,e){t.classList.add("ps");var r=o.add(t,"object"==typeof e?e:{});t.classList.add("ps--theme_"+r.settings.theme),r.settings.handlers.forEach((function(e){n[e](t)})),s(t),i(t)}},function(t,e,r){"use strict";var o=r(2),i=r(4),n=r(0),s=r(1),a=r(3);t.exports=function(t){var e=n.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,i.css(e.scrollbarXRail,"display","block"),i.css(e.scrollbarYRail,"display","block"),e.railXMarginWidth=o.toInt(i.css(e.scrollbarXRail,"marginLeft"))+o.toInt(i.css(e.scrollbarXRail,"marginRight")),e.railYMarginHeight=o.toInt(i.css(e.scrollbarYRail,"marginTop"))+o.toInt(i.css(e.scrollbarYRail,"marginBottom")),i.css(e.scrollbarXRail,"display","none"),i.css(e.scrollbarYRail,"display","none"),s(t),a(t,"top",t.scrollTop),a(t,"left",t.scrollLeft),i.css(e.scrollbarXRail,"display",""),i.css(e.scrollbarYRail,"display",""))}},function(t,e){t.exports=function(t,e,r,o){var i,n=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(i=t,n=t.default);var a="function"==typeof n?n.options:n;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),r&&(a._scopeId=r),o){var l=a.computed||(a.computed={});Object.keys(o).forEach((function(t){var e=o[t];l[t]=function(){return e}}))}return{esModule:i,exports:n,options:a}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.$props.tagname,{tag:"section",staticClass:"ps-container",on:{"~mouseover":function(e){t.update(e)},"ps-scroll-y":t.scrollHanle,"ps-scroll-x":t.scrollHanle,"ps-scroll-up":t.scrollHanle,"ps-scroll-down":t.scrollHanle,"ps-scroll-left":t.scrollHanle,"ps-scroll-right":t.scrollHanle,"ps-y-reach-start":t.scrollHanle,"ps-y-reach-end":t.scrollHanle,"ps-x-reach-start":t.scrollHanle,"ps-x-reach-end":t.scrollHanle}},[t._t("default")],2)},staticRenderFns:[]}},function(t,e){function r(t,e){for(var r=0;r<t.length;r++){var o=t[r],i=u[o.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](o.parts[n]);for(;n<o.parts.length;n++)i.parts.push(a(o.parts[n],e))}else{var s=[];for(n=0;n<o.parts.length;n++)s.push(a(o.parts[n],e));u[o.id]={id:o.id,refs:1,parts:s}}}}function o(t){for(var e=[],r={},o=0;o<t.length;o++){var i=t[o],n=i[0],s=i[1],a=i[2],l=i[3],c={css:s,media:a,sourceMap:l};r[n]?r[n].parts.push(c):e.push(r[n]={id:n,parts:[c]})}return e}function i(t,e){var r=p(),o=b[b.length-1];if("top"===t.insertAt)o?o.nextSibling?r.insertBefore(e,o.nextSibling):r.appendChild(e):r.insertBefore(e,r.firstChild),b.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(e)}}function n(t){t.parentNode.removeChild(t);var e=b.indexOf(t);e>=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",i(t,e),e}function a(t,e){var r,o,i;if(e.singleton){var a=v++;r=f||(f=s(e)),o=l.bind(null,r,a,!1),i=l.bind(null,r,a,!0)}else r=s(e),o=c.bind(null,r),i=function(){n(r)};return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else i()}}function l(t,e,r,o){var i=r?"":o.css;if(t.styleSheet)t.styleSheet.cssText=g(e,i);else{var n=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(n,s[e]):t.appendChild(n)}}function c(t,e){var r=e.css,o=e.media,i=e.sourceMap;if(o&&t.setAttribute("media",o),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var u={},d=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},h=d((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),p=d((function(){return document.head||document.getElementsByTagName("head")[0]})),f=null,v=0,b=[];t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},void 0===e.singleton&&(e.singleton=h()),void 0===e.insertAt&&(e.insertAt="bottom");var i=o(t);return r(i,e),function(t){for(var n=[],s=0;s<i.length;s++){var a=i[s],l=u[a.id];l.refs--,n.push(l)}t&&r(o(t),e);for(s=0;s<n.length;s++){l=n[s];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete u[l.id]}}}};var g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},function(t,e,r){var o=r(8);"string"==typeof o&&(o=[[t.i,o,""]]),r(27)(o,{}),o.locals&&(t.exports=o.locals)}])},a2da:function(t,e,r){"use strict";var o=r("173b"),i=r.n(o);i.a},a4ef:function(t,e,r){t.exports=r.p+"img/logo.a5d6fa57.png"},ab13:function(t,e,r){var o=r("b622"),i=o("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[i]=!1,"/./"[t](e)}catch(o){}}return!1}},d58f:function(t,e,r){var o=r("1c0b"),i=r("7b0b"),n=r("44ad"),s=r("50c4"),a=function(t){return function(e,r,a,l){o(r);var c=i(e),u=n(c),d=s(c.length),h=t?d-1:0,p=t?-1:1;if(a<2)while(1){if(h in u){l=u[h],h+=p;break}if(h+=p,t?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:d>h;h+=p)h in u&&(l=r(l,u[h],h,c));return l}};t.exports={left:a(!1),right:a(!0)}},f135:function(t,e,r){"use strict";r.r(e);var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"layout--main",class:[t.navbarClasses,t.footerClasses,{"app-page":t.isAppPage}]},[o("vx-sidebar",{attrs:{logo:r("a4ef"),sidebarItems:t.sidebarItems,parent:".layout--main",title:"HR-SYS"}}),o("div",{class:[t.contentAreaClass,{"show-overlay":t.bodyOverlay}],attrs:{id:"content-area"}},[o("div",{attrs:{id:"content-overlay"}}),o("div",{staticClass:"content-wrapper"},[o("the-navbar",{staticClass:"text-base",attrs:{navbarColor:t.navbarColor}}),o("div",{staticClass:"router-view hrsys-main-router-view"},[o("div",{staticClass:"router-content",class:{"mt-0":"hidden"===t.navbarType}},[o("div",{staticClass:"content-area__content"},[o("transition",{attrs:{name:t.routerTransition,mode:"out-in"}},[o("router-view")],1)],1)])])],1),o("the-footer")],1)],1)},i=[],n=(r("caad"),r("2532"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"parentx"},[r("vs-sidebar",{directives:[{name:"hammer",rawName:"v-hammer:swipe.left",value:t.onSwipeLeft,expression:"onSwipeLeft",arg:"swipe",modifiers:{left:!0}}],ref:"mainSidebar",staticClass:"sidebarx main-menu-sidebar items-no-padding",attrs:{"click-not-close":t.clickNotClose,hiddenBackground:t.clickNotClose,parent:t.parent,reduce:t.reduce,"reduce-not-rebound":t.reduceNotRebound,"default-index":"-1"},model:{value:t.isSidebarActive,callback:function(e){t.isSidebarActive=e},expression:"isSidebarActive"}},[r("div",{on:{mouseenter:t.sidebarMouseEntered,mouseleave:t.sidebarMouseLeave}},[r("div",{staticClass:"header-sidebar flex items-end justify-between",attrs:{slot:"header"},slot:"header"},[r("div",{staticClass:"logo flex items-center"},[t.logo?r("img",{staticClass:"w-10 mr-4",attrs:{src:t.logo,alt:"logo"}}):t._e(),t.title?r("span",{directives:[{name:"show",rawName:"v-show",value:t.isMouseEnter||!t.reduce,expression:"isMouseEnter || !reduce"}],staticClass:"logo-text"},[t._v(t._s(t.title))]):t._e()]),r("div",[t.showCloseButton?[r("feather-icon",{staticClass:"m-0 cursor-pointer",attrs:{icon:"XIcon"},on:{click:function(e){return t.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!1)}}})]:t.showCloseButton||t.sidebarItemsMin?t._e():[r("feather-icon",{directives:[{name:"show",rawName:"v-show",value:!t.reduce,expression:"!reduce"}],staticClass:"mr-0 cursor-pointer",attrs:{icon:"DiscIcon",id:"btnSidebarToggler","svg-classes":"stroke-current"},on:{click:function(e){return t.toggleReduce(!0)}}}),r("feather-icon",{directives:[{name:"show",rawName:"v-show",value:t.reduce,expression:"reduce"}],staticClass:"mr-0 cursor-pointer",attrs:{icon:"CircleIcon",id:"btnSidebarToggler","svg-classes":"stroke-current"},on:{click:function(e){return t.toggleReduce(!1)}}})]],2)]),r("div",{directives:[{name:"show",rawName:"v-show",value:t.showShadowBottom,expression:"showShadowBottom"}],staticClass:"shadow-bottom"}),r("VuePerfectScrollbar",{ref:"mainSidebarPs",staticClass:"scroll-area--main-sidebar pt-2",attrs:{settings:t.settings},on:{"ps-scroll-y":t.psSectionScroll}},[t._l(t.sidebarItems,(function(e,o){return[t.hasRole(e.roles)?[e.header&&!t.sidebarItemsMin?r("span",{key:"header-"+o,staticClass:"navigation-header truncate"},[t._v(t._s(e.header))]):e.header?t._e():[e.submenu?[r("vx-sidebar-group",{key:"group-"+o,ref:"sidebarGrp",refInFor:!0,attrs:{group:e,groupIndex:o,open:t.isGroupActive(e),openHover:t.openGroupHover}})]:r("vx-sidebar-item",{key:"sidebarItem-"+o,ref:"sidebarLink",refInFor:!0,attrs:{href:"external"===e.slug?e.url:"",icon:e.icon,index:o,isDisabled:e.isDisabled,slug:e.slug,target:e.target,to:"external"!==e.slug?e.url:""}},[r("span",{directives:[{name:"show",rawName:"v-show",value:!t.sidebarItemsMin,expression:"!sidebarItemsMin"}],staticClass:"truncate"},[t._v(t._s(e.name))]),!e.tag||!t.isMouseEnter&&t.reduce?t._e():r("vs-chip",{staticClass:"ml-auto",attrs:{color:e.tagColor}},[t._v(t._s(e.tag)+" ")])],1)]]:t._e()]}))],2)],1)]),t.isSidebarActive?t._e():r("div",{directives:[{name:"hammer",rawName:"v-hammer:swipe.right",value:t.onSwipeRightSidebarSwipeArea,expression:"onSwipeRightSidebarSwipeArea",arg:"swipe",modifiers:{right:!0}}],staticClass:"sidebar-swipe-area",attrs:{id:"sidebar-swipe-area"}})],1)}),s=[],a=(r("4160"),r("13d5"),r("159b"),r("d1dd")),l=r("9d63"),c=r.n(l),u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"vs-sidebar-group",class:[{"vs-sidebar-group-open":t.openItems},{"vs-sidebar-group-active":t.open},{"disabled-item pointer-events-none":t.group.isDisabled}],on:{mouseout:t.mouseout,mouseover:t.mouseover}},[r("div",{staticClass:"group-header w-full",on:{click:t.clickGroup}},[r("span",{staticClass:"flex items-center w-full"},[t.group.icon||this.groupIndex>Math.floor(this.groupIndex)?r("feather-icon",{attrs:{icon:t.group.icon||"CircleIcon",svgClasses:{"w-3 h-3":this.groupIndex%1!=0}}}):t._e(),r("span",{directives:[{name:"show",rawName:"v-show",value:!t.sidebarItemsMin,expression:"!sidebarItemsMin"}],staticClass:"truncate mr-3 select-none"},[t._v(t._s(t.group.name))]),t.group.tag&&!t.sidebarItemsMin?r("vs-chip",{staticClass:"ml-auto mr-4",attrs:{color:t.group.tagColor}},[t._v(t._s(t.group.tag))]):t._e()],1),r("feather-icon",{directives:[{name:"show",rawName:"v-show",value:!t.sidebarItemsMin,expression:"!sidebarItemsMin"}],class:[{rotate90:t.openItems},"feather-grp-header-arrow"],attrs:{icon:"ChevronRightIcon","svg-classes":"w-4 h-4"}}),r("span",{staticClass:"vs-sidebar--tooltip"},[t._v(t._s(t.group.name))])],1),r("ul",{ref:"items",staticClass:"vs-sidebar-group-items",style:t.styleItems},t._l(t.group.submenu,(function(e,o){return r("li",{key:o},[e.submenu?r("vx-sidebar-group",{attrs:{group:e,groupIndex:Number(t.groupIndex+"."+o),open:t.isGroupActive(e),openHover:t.openHover}}):r("vx-sidebar-item",{attrs:{icon:t.itemIcon(t.groupIndex+"."+o),index:t.groupIndex+"."+o,slug:e.slug,target:e.target,to:e.url,"icon-small":""}},[r("span",{staticClass:"truncate"},[t._v(t._s(e.name))]),e.tag?r("vs-chip",{staticClass:"ml-auto",attrs:{color:e.tagColor}},[t._v(t._s(e.tag))]):t._e()],1)],1)})),0)])},d=[],h=(r("d81d"),r("a9e3"),r("ac1f"),r("466d"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"vs-sidebar--item",class:[{"vs-sidebar-item-active":t.activeLink},{"disabled-item pointer-events-none":t.isDisabled}]},[t.to?r("router-link",{class:[{"router-link-active":t.activeLink}],attrs:{target:t.target,to:t.to,exact:""}},[t.featherIcon?r("feather-icon",{class:{"w-3 h-3":t.iconSmall},attrs:{icon:t.icon}}):r("vs-icon",{attrs:{icon:t.icon,"icon-pack":t.iconPack}}),t._t("default")],2):r("a",{attrs:{href:t.href,target:t.target}},[t.featherIcon?r("feather-icon",{class:{"w-3 h-3":t.iconSmall},attrs:{icon:t.icon}}):r("vs-icon",{attrs:{icon:t.icon,"icon-pack":t.iconPack}}),t._t("default")],2)],1)}),p=[],f=(r("fb6a"),{name:"VxSidebarItem",props:{icon:{default:"",type:String},iconSmall:{default:!1,type:Boolean},iconPack:{default:"material-icons",type:String},href:{default:"#",type:String},to:{default:null,type:String},slug:{default:null,type:String},index:{default:null,type:[String,Number]},featherIcon:{default:!0,type:Boolean},target:{default:"_self",type:String},isDisabled:{default:!1,type:Boolean}},data:function(){return{activeLink:!1}},watch:{$route:function(){this.CheckIsActive()}},methods:{CheckIsActive:function(){this.to&&(this.$route.path.slice(1).includes(this.to.slice(1))&&this.to.slice(1)?this.activeLink=!0:this.activeLink=!1)}},updated:function(){this.CheckIsActive()}}),v=f,b=r("2877"),g=Object(b["a"])(v,h,p,!1,null,null,null),m=g.exports,w={name:"vx-sidebar-group",props:{openHover:{default:!1,type:Boolean},open:{default:!1,type:Boolean},group:{type:Object},groupIndex:{type:Number}},data:function(){return{maxHeight:"0px",openItems:!1}},computed:{sidebarItemsMin:function(){return this.$store.state.sidebarItemsMin},styleItems:function(){return{maxHeight:this.maxHeight}},itemIcon:function(){return function(t){if(!((t.match(/\./g)||[]).length>1))return"CircleIcon"}},isGroupActive:function(){var t=this;return function(e){var r=t.$route.fullPath,o=!1,i=function t(e){e.submenu&&e.submenu.forEach((function(e){r==e.url?o=!0:e.submenu&&t(e)}))};return i(e),o}}},watch:{$route:function(){var t=this;if(!this.sidebarItemsMin){var e=this.scrollHeight;this.openItems&&!this.open?(this.maxHeight="".concat(e,"px"),setTimeout((function(){t.maxHeight="".concat(0,"px")}),50)):this.open&&(this.maxHeight="".concat(e,"px"),setTimeout((function(){t.maxHeight="none"}),300))}},maxHeight:function(){this.openItems="0px"!=this.maxHeight},"$store.state.sidebarItemsMin":function(t){var e=this,r=this.$refs.items.scrollHeight;!t&&this.open?(this.maxHeight="".concat(r,"px"),setTimeout((function(){e.maxHeight="none"}),300)):(this.maxHeight="".concat(r,"px"),setTimeout((function(){e.maxHeight="0px"}),50)),t&&this.open&&(this.maxHeight="".concat(r,"px"),setTimeout((function(){e.maxHeight="0px"}),250))}},methods:{clickGroup:function(){var t=this;if(!this.openHover){var e=this.$refs.items.scrollHeight;"0px"==this.maxHeight?(this.maxHeight="".concat(e,"px"),setTimeout((function(){t.maxHeight="none"}),300)):(this.maxHeight="".concat(e,"px"),setTimeout((function(){t.maxHeight="".concat(0,"px")}),50)),this.$parent.$children.map((function(e){e.isGroupActive&&(e===t||e.open||"0px"==e.maxHeight||setTimeout((function(){e.maxHeight="".concat(0,"px")}),50))}))}},mouseover:function(){if(this.openHover){var t=this.$refs.items.scrollHeight;this.maxHeight="".concat(t,"px")}},mouseout:function(){if(this.openHover){var t=0;this.maxHeight="".concat(t,"px")}}},components:{VxSidebarItem:m},mounted:function(){this.openItems=this.open,this.open&&(this.maxHeight="none")}},x=w,_=(r("a2da"),Object(b["a"])(x,u,d,!1,null,null,null)),y=_.exports,S={name:"vx-sidebar",props:{sidebarItems:{type:Array,required:!0},title:{type:String},logo:{type:String},parent:{type:String},openGroupHover:{type:Boolean,default:!1},reduceNotRebound:{type:Boolean,default:!0}},data:function(){return{clickNotClose:!1,reduce:!1,showCloseButton:!1,isMouseEnter:!1,settings:{maxScrollbarLength:60,wheelSpeed:1,swipeEasing:!0},windowWidth:window.innerWidth,showShadowBottom:!1}},computed:{isSidebarActive:{get:function(){return this.$store.state.isSidebarActive},set:function(t){this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",t)}},reduceSidebar:function(){return Boolean(this.reduce&&this.reduceButton)},reduceButton:{get:function(){return this.$store.state.reduceButton},set:function(t){this.$store.commit("TOGGLE_REDUCE_BUTTON",t)}},sidebarItemsMin:function(){return this.$store.state.sidebarItemsMin},isGroupActive:function(){var t=this;return function(e){var r=t.$route.fullPath,o=!1,i=function t(e){e.submenu&&e.submenu.forEach((function(e){r==e.url?o=!0:e.submenu&&t(e)}))};return i(e),o}}},watch:{reduce:function(t){1==t?this.$store.dispatch("updateSidebarWidth","reduced"):this.$store.dispatch("updateSidebarWidth","default"),setTimeout((function(){window.dispatchEvent(new Event("resize"))}),100)},reduceButton:function(){this.setSidebarWidth()},$route:function(){this.isSidebarActive&&this.showCloseButton&&this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!1)}},methods:{hasRole:function(t){return!t||a["a"].hasOneOfRoles(t)},sidebarMouseEntered:function(){this.reduce&&this.$store.commit("UPDATE_SIDEBAR_ITEMS_MIN",!1),this.isMouseEnter=!0},sidebarMouseLeave:function(){this.reduce&&this.$store.commit("UPDATE_SIDEBAR_ITEMS_MIN",!0),this.isMouseEnter=!1},toggleReduce:function(t){this.reduceButton=t,this.setSidebarWidth()},handleWindowResize:function(t){this.windowWidth=t.currentTarget.innerWidth,this.setSidebarWidth()},setSidebarWidth:function(){this.windowWidth<1200?(this.windowWidth<992?this.$store.commit("UPDATE_WINDOW_BREAKPOINT","md"):this.$store.commit("UPDATE_WINDOW_BREAKPOINT","lg"),this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!1),this.reduceButton&&(this.reduce=!1),this.showCloseButton=!0,this.clickNotClose=!1,this.$store.dispatch("updateSidebarWidth","no-sidebar"),this.$store.commit("UPDATE_SIDEBAR_ITEMS_MIN",!1)):(this.$store.commit("UPDATE_WINDOW_BREAKPOINT","xl"),this.reduceButton?this.reduce=!0:this.reduce=!1,this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!0),this.reduceButton&&!this.isMouseEnter?this.$store.commit("UPDATE_SIDEBAR_ITEMS_MIN",!0):this.$store.commit("UPDATE_SIDEBAR_ITEMS_MIN",!1),this.clickNotClose=!0,this.showCloseButton=!1,this.reduceSidebar?this.$store.dispatch("updateSidebarWidth","reduced"):this.$store.dispatch("updateSidebarWidth","default"))},psSectionScroll:function(){this.$refs.mainSidebarPs.$el.scrollTop>0?this.showShadowBottom=!0:this.showShadowBottom=!1},onSwipeLeft:function(){this.isSidebarActive&&this.showCloseButton&&(this.isSidebarActive=!1)},onSwipeRightSidebarSwipeArea:function(){!this.isSidebarActive&&this.showCloseButton&&(this.isSidebarActive=!0)}},components:{VxSidebarGroup:y,VxSidebarItem:m,VuePerfectScrollbar:c.a},mounted:function(){var t=this;this.$nextTick((function(){window.addEventListener("resize",t.handleWindowResize)})),this.setSidebarWidth()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)}},T=S,C=(r("36f0"),Object(b["a"])(T,n,s,!1,null,null,null)),I=C.exports,k=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"hrsysNavContainer",staticClass:"relative"},[r("div",{staticClass:"vx-navbar-wrapper"},[r("vs-navbar",{staticClass:"vx-navbar navbar-custom",class:t.classObj,attrs:{color:t.navbarColor}},[r("feather-icon",{staticClass:"sm:inline-flex xl:hidden cursor-pointer mr-1",attrs:{icon:"MenuIcon"},on:{click:function(e){return e.stopPropagation(),t.showSidebar(e)}}}),r("portal-target",{attrs:{name:"hrsys-navbar"}}),r("portal-target",{attrs:{name:"hrsys-navbar-actions"}}),"md"!=t.breakpoint?void 0:t._e(),r("vs-spacer"),r("vs-dropdown",{staticClass:"cursor-pointer ml-4",attrs:{"vs-custom-content":"","vs-trigger-click":""}},[r("feather-icon",{staticClass:"cursor-pointer mt-1 sm:mr-6 mr-2",attrs:{badge:t.unreadNotifications.length,icon:"BellIcon"}}),r("vs-dropdown-menu",{staticClass:"notification-dropdown dropdown-custom vx-navbar-dropdown"},[r("div",{staticClass:"notification-top text-center p-5 bg-primary text-white"},[r("h3",{staticClass:"text-white"},[t._v(t._s(t.unreadNotifications.length)+" New")]),r("p",{staticClass:"opacity-75"},[t._v("App Notifications")])]),r("VuePerfectScrollbar",{ref:"mainSidebarPs",staticClass:"scroll-area--nofications-dropdown p-0 mb-10",attrs:{settings:t.settings}},[r("ul",{staticClass:"bordered-items"},t._l(t.unreadNotifications,(function(e){return r("li",{key:e.index,staticClass:"flex justify-between px-4 py-4 notification cursor-pointer"},[r("div",{on:{click:function(r){return t.onNotificationClick(e)}}},[r("div",{staticClass:"flex items-start"},[r("feather-icon",{attrs:{icon:e.icon,svgClasses:["text-"+e.category,"stroke-current mr-1 h-6 w-6"]}}),r("div",{staticClass:"mx-2"},[r("span",{staticClass:"font-medium block notification-title",class:["text-"+e.category]},[t._v(t._s(e.title))]),r("small",[t._v(t._s(e.msg))])])],1),r("small",{staticClass:"mt-1 whitespace-no-wrap"},[t._v(t._s(t.elapsedTime(e.sent_at)))])])])})),0)]),r("div",{staticClass:"checkout-footer\n                      fixed\n                      bottom-0\n                      rounded-b-lg\n                      text-primary\n                      w-full\n                      p-2\n                      font-semibold\n                      text-center\n                      border\n                      border-b-0\n                      border-l-0\n                      border-r-0\n                      border-solid\n                      d-theme-border-grey-light\n                      cursor-pointer",on:{click:t.viewAllNotifications}},[r("span",[t._v("View All Notifications")])])],1)],1),r("div",{staticClass:"the-navbar__user-meta flex items-center"},[r("div",{staticClass:"text-right leading-tight hidden sm:block"},[r("p",{staticClass:"font-semibold"},[t._v(t._s(t.user_displayName))])]),r("vs-dropdown",{staticClass:"cursor-pointer",attrs:{"vs-custom-content":"","vs-trigger-click":""}},[r("div",{staticClass:"con-img ml-3"},[r("BaseImg",{key:"onlineImg",staticClass:"rounded-full shadow-md cursor-pointer block",attrs:{src:t.activeUserImg,alt:"user-img",height:"40",width:"40"}})],1),r("vs-dropdown-menu",{staticClass:"vx-navbar-dropdown"},[r("ul",{staticStyle:{"min-width":"9rem"}},[r("li",{staticClass:"flex py-2 px-4 cursor-pointer hover:bg-primary hover:text-white",on:{click:t.goToProfile}},[r("feather-icon",{attrs:{icon:"UserIcon",svgClasses:"w-4 h-4"}}),r("span",{staticClass:"ml-2"},[t._v(t._s(t.$t("users.profile")))])],1),r("li",{staticClass:"flex py-2 whitespace-pre px-4 cursor-pointer hover:bg-primary hover:text-white",on:{click:t.goToChangePassword}},[r("feather-icon",{attrs:{icon:"KeyIcon",svgClasses:"w-4 h-4"}}),r("span",{staticClass:"ml-2"},[t._v(t._s(t.$t("users.changePassword")))])],1),r("vs-divider",{staticClass:"m-1"}),r("li",{staticClass:"flex py-2 px-4 cursor-pointer hover:bg-primary hover:text-white",on:{click:function(e){return t.logout()}}},[r("feather-icon",{attrs:{icon:"LogOutIcon",svgClasses:"w-4 h-4"}}),r("span",{staticClass:"ml-2"},[t._v(t._s(t.$t("users.logout")))])],1)],1)])],1)],1)],2)],1)])},W=[],R=(r("b0c0"),r("5530")),E=r("2b88"),Y=r("2f62"),A=r("43c5"),H={name:"the-navbar",props:{navbarColor:{type:String,default:"#fff"}},data:function(){return{navbarSearchAndPinList:this.$store.state.navbarSearchAndPinList,searchQuery:"",showFullSearch:!1,settings:{maxScrollbarLength:60,wheelSpeed:.6},autoFocusSearch:!1,showBookmarkPagesDropdown:!1}},watch:{$route:function(){this.showBookmarkPagesDropdown&&(this.showBookmarkPagesDropdown=!1)}},computed:Object(R["a"])({},Object(Y["b"])({unreadNotifications:"unreadNotifications"}),{sidebarWidth:function(){return this.$store.state.sidebarWidth},breakpoint:function(){return this.$store.state.breakpoint},classObj:function(){return"default"==this.sidebarWidth?"navbar-default":"reduced"==this.sidebarWidth?"navbar-reduced":this.sidebarWidth?"navbar-full":null},data:function(){return this.$store.state.navbarSearchAndPinList},starredPages:function(){return this.$store.state.starredPages},starredPagesLimited:{get:function(){return this.starredPages.slice(0,10)},set:function(t){this.$store.dispatch("arrangeStarredPagesLimited",t)}},starredPagesMore:{get:function(){return this.starredPages.slice(10)},set:function(t){this.$store.dispatch("arrangeStarredPagesMore",t)}},user_displayName:function(){return this.$store.state.me.name},activeUserImg:function(){return this.$store.state.me.avatar}}),methods:{logout:function(){this.$router.push("/pages/login"),this.$store.dispatch("logout")},showSidebar:function(){this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!0)},selected:function(t){this.$router.push(t.url),this.showFullSearch=!1},actionClicked:function(t){this.$store.dispatch("updateStarredPage",{index:t.index,val:!t.highlightAction})},showNavbarSearch:function(){this.showFullSearch=!0},showSearchbar:function(){this.showFullSearch=!0},elapsedTime:function(t){var e=new Date(t),r=new Date,o=r-e;o/=1e3;var i=Math.round(o);o=Math.floor(o/60);var n=Math.round(o%60);o=Math.floor(o/60);var s=Math.round(o%24);o=Math.floor(o/24);var a=Math.round(o%365);o=Math.floor(o/365);var l=o;return l>0?l+(l>1?" Years ":" Year ")+"ago":a>0?a+(a>1?" Days ":" Day ")+"ago":s>0?s+(s>1?" Hrs ":" Hour ")+"ago":n>0?n+(n>1?" Mins ":" Min ")+"ago":i>0?i+(i>1?" sec ago":"just now"):"Just Now"},goToProfile:function(){this.closePopup(),this.$router.push("/profile")},goToChangePassword:function(){this.closePopup(),this.$router.push("/change-password")},onNotificationClick:function(t){this.$store.dispatch("markNotificationAsRead",t),A["a"].manageRedirection(t,this)},closePopup:function(){this.$refs.hrsysNavContainer.click()},viewAllNotifications:function(){this.closePopup(),this.$router.push("/notifications")}},directives:{"click-outside":{bind:function(t,e){var r=e.modifiers.bubble,o=function(o){(r||!t.contains(o.target)&&t!==o.target)&&e.value(o)};t.__vueClickOutside__=o,document.addEventListener("click",o)},unbind:function(t){document.removeEventListener("click",t.__vueClickOutside__),t.__vueClickOutside__=null}}},components:{PortalTarget:E["PortalTarget"],VuePerfectScrollbar:c.a}},L=H,X=Object(b["a"])(L,k,W,!1,null,null,null),M=X.exports,P=function(t,e){var r=e._c;return r("footer",{staticClass:"the-footer flex-wrap justify-between",class:e.classes},[r("span",[e._v("COPYRIGHT @ "+e._s((new Date).getFullYear())+" "),r("a",{attrs:{href:"https://beetech.al",rel:"nofollow",target:"_blank"}},[e._v("Baxhos")]),e._v(", All rights Reserved")]),r("span",{staticClass:"md:flex hidden items-center"},[r("span",[e._v("Hand-crafted & Made with")]),r("feather-icon",{staticClass:"ml-2",attrs:{icon:"HeartIcon",svgClasses:"stroke-current text-danger w-6 h-6"}})],1)])},$=[],B={name:"the-footer",props:{classes:{type:String}}},D=B,N=Object(b["a"])(D,P,$,!0,null,null,null),O=N.exports,j=r("1dff"),G=r("f087"),U=r("e828"),V=[{url:"/",name:U["a"].t("modules.home"),slug:"home",icon:"HomeIcon"},{url:"/users",name:U["a"].t("modules.users"),slug:"users",icon:"UserIcon",roles:[G["a"],G["c"]]},{url:"/clients",name:U["a"].t("modules.clients"),slug:"clients",icon:"BriefcaseIcon",roles:[G["a"],G["c"]]},{url:"/projects",name:U["a"].t("modules.projects"),slug:"projects",icon:"LayersIcon",roles:[G["a"],G["c"],G["d"]]},{url:"/timecard",name:U["a"].t("modules.timecard"),slug:"timecard",icon:"ActivityIcon"},{url:"/payments",name:U["a"].t("modules.payments"),slug:"payments",icon:"CreditCardIcon",roles:[G["a"],G["b"]]},{url:"/ptos",name:U["a"].t("modules.ptos"),slug:"ptos",icon:"CoffeeIcon"},{url:"/holidays",name:U["a"].t("modules.holidays"),slug:"holidays",icon:"CalendarIcon",roles:[G["a"],G["c"]]},{url:"/configurations",name:U["a"].t("modules.configurations"),slug:"configurations",icon:"SettingsIcon",roles:[G["a"],G["c"]]}],K={data:function(){return{navbarType:j["a"].navbarType||"floating",navbarColor:j["a"].navbarColor||"#fff",footerType:j["a"].footerType||"static",routerTransition:j["a"].routerTransition||"none",isNavbarDark:!1,routeTitle:this.$route.meta.pageTitle,sidebarItems:V,disableCustomizer:j["a"].disableCustomizer,windowWidth:window.innerWidth,hideScrollToTop:j["a"].hideScrollToTop,disableThemeTour:j["a"].disableThemeTour}},computed:{isAppPage:function(){return!!this.$route.path.includes("/apps/")},isThemeDark:function(){return"dark"===this.$store.state.theme},sidebarWidth:function(){return this.$store.state.sidebarWidth},bodyOverlay:function(){return this.$store.state.bodyOverlay},contentAreaClass:function(){return"default"===this.sidebarWidth?"content-area-default":"reduced"===this.sidebarWidth?"content-area-reduced":this.sidebarWidth?"content-area-full":null},navbarClasses:function(){return{"navbar-hidden":"hidden"===this.navbarType,"navbar-sticky":"sticky"===this.navbarType,"navbar-static":"static"===this.navbarType,"navbar-floating":"floating"===this.navbarType}},footerClasses:function(){return{"footer-hidden":"hidden"===this.footerType,"footer-sticky":"sticky"===this.footerType,"footer-static":"static"===this.footerType}}},methods:{updateNavbarColor:function(t){this.navbarColor=t,this.isNavbarDark="#fff"!==t},handleWindowResize:function(t){this.windowWidth=t.currentTarget.innerWidth,this.setSidebarWidth()},setSidebarWidth:function(){this.windowWidth<1200?(this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!1),this.$store.dispatch("updateSidebarWidth","no-sidebar"),this.disableThemeTour=!0):this.windowWidth<1200?this.$store.dispatch("updateSidebarWidth","reduced"):this.$store.commit("TOGGLE_IS_SIDEBAR_ACTIVE",!0)},toggleHideScrollToTop:function(t){this.hideScrollToTop=t}},components:{VxSidebar:I,TheNavbar:M,TheFooter:O},created:function(){this.setSidebarWidth(),"#fff"===this.navbarColor&&this.isThemeDark?this.updateNavbarColor("#10163a"):this.updateNavbarColor(this.navbarColor)}},F=K,z=Object(b["a"])(F,o,i,!1,null,null,null);e["default"]=z.exports}}]);
//# sourceMappingURL=chunk-a1ee254e.bec3b3e4.js.map

Zerion Mini Shell 1.0