!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/elements"),require("util"),require("@angular/cdk/bidi"),require("@angular/cdk/scrolling"),require("@angular/cdk/coercion"),require("@angular/cdk/overlay"),require("@angular/animations"),require("@angular/cdk/portal"),require("@angular/forms"),require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-pluto",["exports","@angular/elements","util","@angular/cdk/bidi","@angular/cdk/scrolling","@angular/cdk/coercion","@angular/cdk/overlay","@angular/animations","@angular/cdk/portal","@angular/forms","@angular/core","@angular/common"],t):t(e["ngx-pluto"]={},e.ng.elements,e.util,e.ng.cdk.bidi,e.ng.cdk.scrolling,e.ng.cdk.coercion,e.ng.cdk.overlay,e.ng.animations,e.ng.cdk.portal,e.ng.forms,e.ng.core,e.ng.common)}(this,function(e,t,n,r,i,o,a,s,c,l,d,u){"use strict";var p=function(){function e(){this.funcType="normal",this.uploadFileType="",this.fileChange=new d.EventEmitter,this.uploadErrorMessage=new d.EventEmitter}return e.prototype.ngOnInit=function(){this.buttonType=this.buttonType||"primary",this.buttonSize="search"===this.buttonType?"small":this.buttonSize||"default";var e=this.npButton.nativeElement;if("search"===this.buttonType&&"default"===this.buttonSize&&(this.buttonSize="small"),e.classList.add("button-"+this.buttonType),-1<["large","default","small"].indexOf(this.buttonSize)?e.classList.add("button-size-"+this.buttonSize):e.style.width=this.buttonSize,""===this.buttonBlock){var t=e.parentElement.parentElement.offsetWidth;e.style.width=t-54+"px"}this.isDisabled&&e.classList.add("button-disabled")},e.prototype.ngOnChanges=function(e){var t=e.isDisabled;t&&(t.currentValue?this.npButton.nativeElement.classList.add("button-disabled"):this.npButton.nativeElement.classList.remove("button-disabled"))},e.prototype.upload=function(){var r=this;"upload"!==this.funcType||this.isDisabled||(this.inputDom=document.createElement("input"),this.inputDom.type="file",this.inputDom.onchange=function(e){var t=e.currentTarget.files[0],n=t.name;if(r.uploadFileType&&!new RegExp(".("+r.uploadFileType.toLowerCase()+")|.("+r.uploadFileType.toUpperCase()+")$").test(n))return void r.uploadErrorMessage.emit("文件格式不对，支持"+r.uploadFileType);r.onChange&&r.onChange(t),r.fileChange.emit(t)},this.inputDom.click())},e.prototype.writeValue=function(e){this.inputDom&&document.removeChild(this.inputDom)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-button",template:'<div (click)="upload()" #npButton class="np-button-wrapper">\r\n  <ng-content></ng-content>\r\n</div>\r\n',changeDetection:d.ChangeDetectionStrategy.OnPush,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".flex-wrap{display:flex}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.backdrop-transparent{opacity:0}:host{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:block}.btn,.button-cancel,.button-default,.button-primary,.button-search,.button-secondary{border-radius:5px;border:none;font-size:14px;padding:6px 12px;margin:0 15px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.button-cancel:focus,.button-default:focus,.button-primary:focus,.button-search:focus,.button-secondary:focus{outline:0!important}.button-size-large{width:300px}.button-size-default{width:180px}.button-size-small{width:80px}.button-disabled,.button-disabled.active,.button-disabled:active,.button-disabled:focus,.button-disabled:hover{text-shadow:none;box-shadow:none;cursor:not-allowed}.button-default{font-weight:500;letter-spacing:2px}.button-primary{font-weight:600;letter-spacing:2px}.button-secondary{font-weight:600;border:1px solid;letter-spacing:2px;padding:5px 12px}.button-cancel,.button-search{font-weight:600;letter-spacing:2px}"]}]}],e.propDecorators={npButton:[{type:d.ViewChild,args:["npButton"]}],buttonType:[{type:d.Input}],buttonSize:[{type:d.Input}],buttonBlock:[{type:d.Input}],isDisabled:[{type:d.Input}],funcType:[{type:d.Input}],uploadFileType:[{type:d.Input}],file:[{type:d.Input}],fileChange:[{type:d.Output}],uploadErrorMessage:[{type:d.Output}]},e}(),h=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[],declarations:[p],exports:[p]}]}],e}(),f=function(){function e(e){this.cdf=e,this.isDisabled=!1,this.inputModelChange=new d.EventEmitter,this.emitChange=function(e){}}return Object.defineProperty(e.prototype,"ischecked",{get:function(){return this.trueValue||this.falseValue?this.val===this.trueValue||this.val!==this.falseValue&&void 0:!!this.val},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.forbiddenColor=this.forbiddenColor!==undefined},e.prototype.onChange=function(e){if(e.stopPropagation(),e.preventDefault(),!this.forbiddenColor&&!this.isDisabled)return this.ischecked?(this.val=this.falseValue||!1,this.emitChange(this.val),void this.inputModelChange.emit(this.val)):this.ischecked?void 0:(this.val=this.trueValue||!0,this.emitChange(this.val),void this.inputModelChange.emit(this.val))},e.prototype.writeValue=function(e){e!==undefined&&(this.val=e,this.emitChange(this.val))},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-checkbox",template:'<div class="np-checkbox-button-wrapper" ngDefaultControl [(ngModel)]="val" (click)="onChange($event)"\r\n  [ngStyle]="{\'cursor\': (forbiddenColor || isDisabled)? \'not-allowed\':\'pointer\'}">\r\n  <span class="checkbox" [class.checkbox-checked]="ischecked"\r\n    [class.checkbox-forbiddenColor]="forbiddenColor || isDisabled"></span>\r\n  <span class="input-helper" [class.checkbox-forbiddenColor]="forbiddenColor || isDisabled"></span>\r\n  <span style="line-height: 28px;">\r\n    <ng-content></ng-content>\r\n  </span>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".flex-wrap{display:flex}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.backdrop-transparent{opacity:0}.np-checkbox-button-wrapper{font-size:14px;padding-left:25px;position:relative;font-weight:400;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:baseline}.np-checkbox-button-wrapper .checkbox{opacity:0;z-index:1;left:1px;top:1px;position:absolute;width:14px;height:14px;margin:0;display:block}.np-checkbox-button-wrapper .checkbox.checkbox-checked+span::after{position:absolute;content:'';width:12px;height:12px;top:1px;left:1px;border-radius:4px}.np-checkbox-button-wrapper span.input-helper{position:absolute;left:2px;top:6px;width:16px;height:16px;box-sizing:border-box}.np-checkbox-button-wrapper .checkbox+span.input-helper{border-radius:4px}"]}]}],e.ctorParameters=function(){return[{type:d.ChangeDetectorRef}]},e.propDecorators={trueValue:[{type:d.Input}],falseValue:[{type:d.Input}],forbiddenColor:[{type:d.Input}],isDisabled:[{type:d.Input}],inputModelChange:[{type:d.Output}]},e}(),g=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[f],exports:[f]}]}],e}(),m=function(){function e(){}return e.hexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},e.ID=function(){return"_"+Math.random().toString(36).substr(2,9)},e.objEqual=function(e,t){var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(e[o]!==t[o])return!1}return!0},e.toBoolean=function(e){return null!=e&&""+e!="false"},e}(),y=function(){function e(){this.uuid=m.ID(),this.navigationKeys=["Backspace","Delete","Tab","Escape","Enter","Home","End","ArrowLeft","ArrowRight","Clear","Copy","Paste"],this.currentLen=0,this.chineseReg=/[^\x00-\xff]/g,this.placeholder="",this.maxLen=-1,this.numberOnly=!1,this.emitChange=function(e){},this.onBlur=new d.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){},e.prototype.onChange=function(e){this.emitChange(this.val)},e.prototype.onInputBlur=function(e){this.emitChange(this.val),this.onBlur.next({value:this.val,event:e})},e.prototype.writeValue=function(e){(e||""===e)&&(this.val=e,-1<this.maxLen&&this.calculateCurrentLen())},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.prototype.validate=function(e){return null},e.prototype.focus=function(){this.npInput.nativeElement.focus()},e.prototype.onKeyup=function(e){-1!==this.maxLen&&(-1<this.maxLen&&(this.calculateCurrentLen(),this.val=this.val?this.val.substring(0,this.maxLen):""),this.numberOnly&&(this.val=this.val?this.val.replace(this.chineseReg,""):""))},e.prototype.onKeyDown=function(e){if(this.isTriggerKeyEvents()&&!(-1<this.navigationKeys.indexOf(e.key)||"a"===e.key&&!0===e.ctrlKey||"c"===e.key&&!0===e.ctrlKey||"v"===e.key&&!0===e.ctrlKey||"x"===e.key&&!0===e.ctrlKey||"a"===e.key&&!0===e.metaKey||"c"===e.key&&!0===e.metaKey||"v"===e.key&&!0===e.metaKey||"x"===e.key&&!0===e.metaKey)){if(-1<this.maxLen){var t=window.getSelection()+"";this.val&&this.val.length>=this.maxLen&&""===t&&e.preventDefault()}this.numberOnly&&isNaN(Number(e.key))&&e.preventDefault()}},e.prototype.calculateCurrentLen=function(){this.currentLen=this.val?this.val.toString().length:0,this.currentLen=this.currentLen>this.maxLen?this.maxLen:this.currentLen},e.prototype.isTriggerKeyEvents=function(){return-1!==this.maxLen||this.numberOnly},e.decorators=[{type:d.Component,args:[{selector:"np-input",template:'<div class="np-input-wrapper flex-wrap row-flex">\r\n  <div class="flex-wrap col-flex" *ngIf="label">\r\n    <label for="np-input" class="np-input-lbl">\r\n      <span class="form-required" *ngIf="isRequired">*</span>\r\n      {{ label }}\r\n    </label>\r\n  </div>\r\n  <div class="flex-wrap col-flex input-container">\r\n    <input #npInput [id]="\'np-input\' + uuid" class="np-input" type="text" [(ngModel)]="val" [placeholder]="placeholder"\r\n      (change)="onChange($event)" (keyup)="onChange($event)" (blur)="onInputBlur($event)"\r\n      [attr.disabled]="isDisabled ? \'\' : null" [class.disabled]="isDisabled"\r\n      [style.padding-right.px]="(maxLen > -1 && maxLen < 1000) ? \'65\' : \'10\'" autocomplete="off">\r\n    <span class="error-message" *ngIf="errorMessage">{{ errorMessage }}</span>\r\n    <div class="np-len" *ngIf="maxLen > -1 && maxLen < 1000">\r\n      <span class="cur-length">{{ currentLen }}</span> / <span>{{ maxLen }}</span>\r\n    </div>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0},{provide:l.NG_VALIDATORS,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.np-input-wrapper{align-items:baseline;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.np-input-wrapper .np-input-lbl{width:80px;margin-right:20px;text-align:right;font-size:13px;font-weight:700;height:34px;line-height:34px}.np-input-wrapper .input-container{position:relative}.np-input-wrapper .input-container .np-len{position:absolute;right:5px;height:34px;line-height:34px;font-size:14px}.np-input-wrapper .np-input{box-sizing:border-box;background-image:none;border-radius:1px;display:inline-block;padding:5px 65px 5px 10px;margin:0;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:220px;height:34px;line-height:20px}.np-input-wrapper .np-input:focus{outline:0!important;outline-offset:unset;border-width:1px}.np-input-wrapper .error-message{display:block;font-size:10px;margin:5px}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={label:[{type:d.Input}],isRequired:[{type:d.Input}],placeholder:[{type:d.Input}],errorMessage:[{type:d.Input}],isDisabled:[{type:d.Input}],maxLen:[{type:d.Input}],numberOnly:[{type:d.Input}],npInput:[{type:d.ViewChild,args:["npInput"]}],onBlur:[{type:d.Output}],onKeyup:[{type:d.HostListener,args:["keyup",["$event"]]}],onKeyDown:[{type:d.HostListener,args:["keydown",["$event"]]}]},e}(),v=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[y],exports:[y]}]}],e}(),A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function wo(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function w(e,t){return e(t={exports:{}},t.exports),t.exports}var x=w(function(e){var t,n;t="undefined"!=typeof window?window:A,n=function(E,e){var t=[],S=E.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,c=t.push,i=t.indexOf,n={},o=n.toString,m=n.hasOwnProperty,a=m.toString,l=a.call(Object),y={},v=function v(e){return"function"==typeof e&&"number"!=typeof e.nodeType},A=function A(e){return null!=e&&e===e.window},u={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||S).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var D=function(e,t){return new D.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!v(e)&&!A(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}D.fn=D.prototype={jquery:"3.4.1",constructor:D,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=D.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return D.each(this,e)},map:function(n){return this.pushStack(D.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:t.sort,splice:t.splice},D.extend=D.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(D.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||D.isPlainObject(n)?n:{},i=!1,a[t]=D.extend(l,o,r)):r!==undefined&&(a[t]=r));return a},D.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=m.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(d(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(p,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?D.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(D.fn[Symbol.iterator]=t[Symbol.iterator]),D.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,f,b,o,i,g,p,m,w,c,l,x,C,a,k,y,s,u,v,E="sizzle"+1*new Date,A=n.document,S=0,r=0,d=ce(),h=ce(),D=ce(),I=ce(),P=function(e,t){return e===t&&(l=!0),0},T={}.hasOwnProperty,t=[],_=t.pop,N=t.push,M=t.push,O=t.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",H="\\["+B+"*("+j+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+B+"*\\]",z=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",Y=new RegExp(B+"+","g"),U=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),V=new RegExp("^"+B+"*,"+B+"*"),Q=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),W=new RegExp(B+"|>"),G=new RegExp(z),F=new RegExp("^"+j+"$"),q={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Z=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){x()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{M.apply(t=O.call(A.childNodes),A.childNodes),t[A.childNodes.length].nodeType}catch(Ee){M={apply:t.length?function(e,t){N.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,n,r){var i,o,a,s,c,l,u,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:A)!==C&&x(t),t=t||C,k)){if(11!==d&&(c=$.exec(e)))if(i=c[1]){if(9===d){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(p&&(a=p.getElementById(i))&&v(t,a)&&a.id===i)return n.push(a),n}else{if(c[2])return M.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&f.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(i)),n}if(f.qsa&&!I[e+" "]&&(!y||!y.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(u=e,p=t,1===d&&W.test(e)){for((s=t.getAttribute("id"))?s=s.replace(re,ie):t.setAttribute("id",s=E),o=(l=g(e)).length;o--;)l[o]="#"+s+" "+Ae(l[o]);u=l.join(","),p=ee.test(e)&&ye(t.parentNode)||t}try{return M.apply(n,p.querySelectorAll(u)),n}catch(h){I(e,!0)}finally{s===E&&t.removeAttribute("id")}}}return m(e.replace(U,"$1"),t,n,r)}function ce(){var n=[];return function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}}function le(e){return e[E]=!0,e}function ue(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(Ee){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function me(a){return le(function(o){return o=+o,le(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in f=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Z.test(t||n&&n.nodeName||"HTML")},x=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:A;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,k=!i(C),A!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),f.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=ue(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=X.test(C.getElementsByClassName),f.getById=ue(function(e){return a.appendChild(e).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),f.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&k){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&k){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=f.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=f.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&k)return t.getElementsByClassName(e)},s=[],y=[],(f.qsa=X.test(C.querySelectorAll))&&(ue(function(e){a.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+B+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+E+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+B+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(f.matchesSelector=X.test(u=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ue(function(e){f.disconnectedMatch=u.call(e,"*"),u.call(e,"[s!='']:x"),s.push("!=",z)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=X.test(a.compareDocumentPosition),v=t||X.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},P=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===A&&v(A,e)?-1:t===C||t.ownerDocument===A&&v(A,t)?1:c?R(c,e)-R(c,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:c?R(c,e)-R(c,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]===A?-1:s[r]===A?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&x(e),f.matchesSelector&&k&&!I[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=u.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ee){I(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==C&&x(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==C&&x(e);var n=b.attrHandle[t.toLowerCase()],r=n&&T.call(b.attrHandle,t.toLowerCase())?n(e,t,!k):undefined;return r!==undefined?r:f.attributes||!k?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!f.detectDuplicates,c=!f.sortStable&&e.slice(0),e.sort(P),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return c=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=d[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&d(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(Y," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(f,e,t,g,m){var y="nth"!==f.slice(0,3),v="last"!==f.slice(-4),A="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,c,l=y!==v?"nextSibling":"previousSibling",u=e.parentNode,p=A&&e.nodeName.toLowerCase(),d=!n&&!A,h=!1;if(u){if(y){for(;l;){for(a=e;a=a[l];)if(A?a.nodeName.toLowerCase()===p:1===a.nodeType)return!1;c=l="only"===f&&!c&&"nextSibling"}return!0}if(c=[v?u.firstChild:u.lastChild],v&&d){for(h=(s=(r=(i=(o=(a=u)[E]||(a[E]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===S&&r[1])&&r[2],a=s&&u.childNodes[s];a=++s&&a&&a[l]||(h=s=0)||c.pop();)if(1===a.nodeType&&++h&&a===e){i[f]=[S,s,h];break}}else if(d&&(h=s=(r=(i=(o=(a=e)[E]||(a[E]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===S&&r[1]),!1===h)for(;(a=++s&&a&&a[l]||(h=s=0)||c.pop())&&((A?a.nodeName.toLowerCase()!==p:1!==a.nodeType)||!++h||(d&&((i=(o=a[E]||(a[E]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]=[S,h]),a!==e)););return(h-=m)===g||h%g==0&&0<=h/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[E]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=R(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=p(e.replace(U,"$1"));return s[E]?le(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return F.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:me(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:me(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:me(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=he(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=fe(e);function ve(){}function Ae(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var c=e.dir,l=e.next,u=l||c,p=t&&"parentNode"===u,d=r++;return e.first?function(e,t,n){for(;e=e[c];)if(1===e.nodeType||p)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[S,d];if(n){for(;e=e[c];)if((1===e.nodeType||p)&&s(e,t,n))return!0}else for(;e=e[c];)if(1===e.nodeType||p)if(i=(o=e[E]||(e[E]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[c]||e;else{if((r=i[u])&&r[0]===S&&r[1]===d)return a[2]=r[2];if((i[u]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function xe(e,t,n,r,i){for(var o,a=[],s=0,c=e.length,l=null!=t;s<c;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(f,g,m,y,v,e){return y&&!y[E]&&(y=Ce(y)),v&&!v[E]&&(v=Ce(v,e)),le(function(e,t,n,r){var i,o,a,s=[],c=[],l=t.length,u=e||function h(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(g||"*",n.nodeType?[n]:n,[]),p=!f||!e&&g?u:xe(u,s,f,n,r),d=m?v||(e?f:l||y)?[]:t:p;if(m&&m(p,d,n,r),y)for(i=xe(d,c),y(i,[],n,r),o=i.length;o--;)(a=i[o])&&(d[c[o]]=!(p[c[o]]=a));if(e){if(v||f){if(v){for(i=[],o=d.length;o--;)(a=d[o])&&i.push(p[o]=a);v(null,d=[],i,r)}for(o=d.length;o--;)(a=d[o])&&-1<(i=v?R(e,a):s[o])&&(e[i]=!(t[i]=a))}}else d=xe(d===t?d.splice(l,d.length):d),v?v(null,t,d,r):M.apply(t,d)})}function ke(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,c=be(function(e){return e===i},a,!0),l=be(function(e){return-1<R(i,e)},a,!0),u=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?c(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])u=[be(we(u),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[E]){for(n=++s;n<r&&!b.relative[e[n].type];n++);return Ce(1<s&&we(u),1<s&&Ae(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(U,"$1"),t,s<n&&ke(e.slice(s,n)),n<r&&ke(e=e.slice(n)),n<r&&Ae(e))}u.push(t)}return we(u)}return ve.prototype=b.filters=b.pseudos,b.setFilters=new ve,g=se.tokenize=function(e,t){var n,r,i,o,a,s,c,l=h[e+" "];if(l)return t?0:l.slice(0);for(a=e,s=[],c=b.preFilter;a;){for(o in n&&!(r=V.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=Q.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(U," ")}),a=a.slice(n.length)),b.filter)!(r=q[o].exec(a))||c[o]&&!(r=c[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):h(e,s).slice(0)},p=se.compile=function(e,t){var n,r=[],i=[],o=D[e+" "];if(!o){for(t||(t=g(e)),n=t.length;n--;)(o=ke(t[n]))[E]?r.push(o):i.push(o);(o=D(e,function a(m,y){var v=0<y.length,A=0<m.length,e=function(e,t,n,r,i){var o,a,s,c=0,l="0",u=e&&[],p=[],d=w,h=e||A&&b.find.TAG("*",i),f=S+=null==d?1:Math.random()||.1,g=h.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=h[l]);l++){if(A&&o){for(a=0,t||o.ownerDocument===C||(x(o),n=!k);s=m[a++];)if(s(o,t||C,n)){r.push(o);break}i&&(S=f)}v&&((o=!s&&o)&&c--,e&&u.push(o))}if(c+=l,v&&l!==c){for(a=0;s=y[a++];)s(u,p,t,n);if(e){if(0<c)for(;l--;)u[l]||p[l]||(p[l]=_.call(r));p=xe(p)}M.apply(r,p),i&&!e&&0<p.length&&1<c+y.length&&se.uniqueSort(r)}return i&&(S=f,w=d),u};return v?le(e):e}(i,r))).selector=e}return o},m=se.select=function(e,t,n,r){var i,o,a,s,c,l="function"==typeof e&&e,u=!r&&g(e=l.selector||e);if(n=n||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&k&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=q.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((c=b.find[s])&&(r=c(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Ae(o)))return M.apply(n,r),n;break}}return(l||p(e,u))(r,t,!k,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},f.sortStable=E.split("").sort(P).join("")===E,f.detectDuplicates=!!l,x(),f.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||pe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||pe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||pe(L,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(E);D.find=h,D.expr=h.selectors,D.expr[":"]=D.expr.pseudos,D.uniqueSort=D.unique=h.uniqueSort,D.text=h.getText,D.isXMLDoc=h.isXML,D.contains=h.contains,D.escapeSelector=h.escape;var f=function(e,t,n){for(var r=[],i=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&D(e).is(n))break;r.push(e)}return r},x=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=D.expr.match.needsContext;function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,n,r){return v(n)?D.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?D.grep(e,function(e){return e===n!==r}):"string"!=typeof n?D.grep(e,function(e){return-1<i.call(n,e)!==r}):D.filter(n,e,r)}D.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?D.find.matchesSelector(r,e)?[r]:[]:D.find.matches(e,D.grep(t,function(e){return 1===e.nodeType}))},D.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(D(e).filter(function(){for(t=0;t<r;t++)if(D.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)D.find(e,i[t],n);return 1<r?D.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&C.test(e)?D(e):e||[],!1).length}});var T,_=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(D.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||T,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):v(e)?n.ready!==undefined?n.ready(e):e(D):D.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:_.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof D?t[0]:t,D.merge(this,D.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:S,!0)),I.test(r[1])&&D.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=S.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=D.fn,T=D(S);var N=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}D.fn.extend({has:function(e){var t=D(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(D.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&D(e);if(!C.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&D.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?D.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(D(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(D.uniqueSort(D.merge(this.get(),D(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),D.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return f(e,"parentNode")},parentsUntil:function(e,t,n){return f(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return f(e,"nextSibling")},prevAll:function(e){return f(e,"previousSibling")},nextUntil:function(e,t,n){return f(e,"nextSibling",n)},prevUntil:function(e,t,n){return f(e,"previousSibling",n)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return"undefined"!=typeof e.contentDocument?e.contentDocument:(k(e,"template")&&(e=e.content||e),D.merge([],e.childNodes))}},function(r,i){D.fn[r]=function(e,t){var n=D.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=D.filter(t,n)),1<this.length&&(M[r]||D.uniqueSort(n),N.test(r)&&n.reverse()),this.pushStack(n)}});var R=/[^\x20\t\r\n\f]+/g;function L(e){return e}function B(e){throw e}function j(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(undefined,[e].slice(r))}catch(e){n.apply(undefined,[e])}}D.Callbacks=function(r){r="string"==typeof r?function u(e){var n={};return D.each(e.match(R)||[],function(e,t){n[t]=!0}),n}(r):D.extend({},r);var i,e,t,n,o=[],a=[],s=-1,c=function(){for(n=n||r.once,t=i=!0;a.length;s=-1)for(e=a.shift();++s<o.length;)!1===o[s].apply(e[0],e[1])&&r.stopOnFalse&&(s=o.length,e=!1);r.memory||(e=!1),i=!1,n&&(o=e?[]:"")},l={add:function(){return o&&(e&&!i&&(s=o.length-1,a.push(e)),function n(e){D.each(e,function(e,t){v(t)?r.unique&&l.has(t)||o.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),e&&!i&&c()),this},remove:function(){return D.each(arguments,function(e,t){for(var n;-1<(n=D.inArray(t,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<D.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=a=[],e||i||(o=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),i||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!t}};return l},D.extend({Deferred:function(e){var o=[["notify","progress",D.Callbacks("memory"),D.Callbacks("memory"),2],["resolve","done",D.Callbacks("once memory"),D.Callbacks("once memory"),0,"resolved"],["reject","fail",D.Callbacks("once memory"),D.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return D.Deferred(function(r){D.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var l=0;function u(o,a,s,c){return function(){var n=this,r=arguments,t=function(){var e,t;if(!(o<l)){if((e=s.apply(n,r))===a.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?c?t.call(e,u(l,a,L,c),u(l,a,B,c)):(l++,t.call(e,u(l,a,L,c),u(l,a,B,c),u(l,a,L,a.notifyWith))):(s!==L&&(n=undefined,r=[e]),(c||a.resolveWith)(n,r))}},i=c?t:function(){try{t()}catch(e){D.Deferred.exceptionHook&&D.Deferred.exceptionHook(e,i.stackTrace),l<=o+1&&(s!==B&&(n=undefined,r=[e]),a.rejectWith(n,r))}};o?i():(D.Deferred.getStackHook&&(i.stackTrace=D.Deferred.getStackHook()),E.setTimeout(i))}}return D.Deferred(function(e){o[0][3].add(u(0,e,v(r)?r:L,e.notifyWith)),o[1][3].add(u(0,e,v(t)?t:L)),o[2][3].add(u(0,e,v(n)?n:B))}).promise()},promise:function(e){return null!=e?D.extend(e,a):a}},s={};return D.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?undefined:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=D.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(j(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();for(;t--;)j(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;D.Deferred.exceptionHook=function(e,t){E.console&&E.console.warn&&e&&H.test(e.name)&&E.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},D.readyException=function(e){E.setTimeout(function(){throw e})};var z=D.Deferred();function Y(){S.removeEventListener("DOMContentLoaded",Y),E.removeEventListener("load",Y),D.ready()}D.fn.ready=function(e){return z.then(e)["catch"](function(e){D.readyException(e)}),this},D.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--D.readyWait:D.isReady)||(D.isReady=!0)!==e&&0<--D.readyWait||z.resolveWith(S,[D])}}),D.ready.then=z.then,"complete"===S.readyState||"loading"!==S.readyState&&!S.documentElement.doScroll?E.setTimeout(D.ready):(S.addEventListener("DOMContentLoaded",Y),E.addEventListener("load",Y));var U=function(e,t,n,r,i,o,a){var s=0,c=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)U(e,t,s,n[s],!0,o,a);else if(r!==undefined&&(i=!0,v(r)||(a=!0),l&&(t=a?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(D(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):c?t(e[0],n):o},V=/^-ms-/,Q=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function G(e){return e.replace(V,"ms-").replace(Q,W)}var F=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function q(){this.expando=D.expando+q.uid++}q.uid=1,q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},F(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(t===undefined||D.isEmptyObject(r))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!D.isEmptyObject(t)}};var Z=new q,K=new q,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function $(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function i(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(o){}K.set(e,t,n)}else n=undefined;return n}D.extend({hasData:function(e){return K.hasData(e)||Z.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return Z.access(e,t,n)},_removeData:function(e,t){Z.remove(e,t)}}),D.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){K.set(this,n)}):U(this,function(e){var t;if(o&&e===undefined)return(t=K.get(o,n))!==undefined?t:(t=$(o,n))!==undefined?t:void 0;this.each(function(){K.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=K.get(o),1===o.nodeType&&!Z.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=G(r.slice(5)),$(o,r,i[r]));Z.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),D.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,D.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=D.queue(e,t),r=n.length,i=n.shift(),o=D._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){D.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:D.Callbacks("once memory").add(function(){Z.remove(e,[t+"queue",n])})})}}),D.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?D.queue(this[0],t):n===undefined?this:this.each(function(){var e=D.queue(this,t,n);D._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&D.dequeue(this,t)})},dequeue:function(e){return this.each(function(){D.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=D.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";a--;)(n=Z.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=S.documentElement,ie=function(e){return D.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return D.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===D.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function ce(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return D.css(e,t,"")},c=s(),l=n&&n[3]||(D.cssNumber[t]?"":"px"),u=e.nodeType&&(D.cssNumber[t]||"px"!==l&&+c)&&te.exec(D.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;a--;)D.style(e,t,u+l),(1-o)*(1-(o=s()/c||.5))<=0&&(a=0),u/=o;u*=2,D.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var le={};function ue(e,t){for(var n,r,i,o,a,s,c,l=[],u=0,p=e.length;u<p;u++)(r=e[u]).style&&(n=r.style.display,t?("none"===n&&(l[u]=Z.get(r,"display")||null,l[u]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[u]=(c=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(c=le[s])||(o=a.body.appendChild(a.createElement(s)),c=D.css(o,"display"),o.parentNode.removeChild(o),"none"===c&&(c="block"),le[s]=c)))):"none"!==n&&(l[u]="none",Z.set(r,"display",n)));for(u=0;u<p;u++)null!=l[u]&&(e[u].style.display=l[u]);return e}D.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?D(this).show():D(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,fe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&k(e,t)?D.merge([e],n):n}function me(e,t){for(var n=0,r=e.length;n<r;n++)Z.set(e[n],"globalEval",!t||Z.get(t[n],"globalEval"))}fe.optgroup=fe.option,fe.tbody=fe.tfoot=fe.colgroup=fe.caption=fe.thead,fe.th=fe.td;var ye,ve,Ae=/<|&#?\w+;/;function be(e,t,n,r,i){for(var o,a,s,c,l,u,p=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===w(o))D.merge(d,o.nodeType?[o]:o);else if(Ae.test(o)){for(a=a||p.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),c=fe[s]||fe._default,a.innerHTML=c[1]+D.htmlPrefilter(o)+c[2],u=c[0];u--;)a=a.lastChild;D.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(o));for(p.textContent="",h=0;o=d[h++];)if(r&&-1<D.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ge(p.appendChild(o),"script"),l&&me(a),n)for(u=0;o=a[u++];)he.test(o.type||"")&&n.push(o);return p}ye=S.createDocumentFragment().appendChild(S.createElement("div")),(ve=S.createElement("input")).setAttribute("type","radio"),ve.setAttribute("checked","checked"),ve.setAttribute("name","t"),ye.appendChild(ve),y.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var we=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Ee(){return!1}function Se(e,t){return e===function n(){try{return S.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=undefined),t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return D().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=D.guid++)),e.each(function(){D.event.add(this,t,i,r,n)})}function Ie(e,i,o){o?(Z.set(e,i,!1),D.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Z.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(D.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Z.set(this,i,r),t=o(this,i),this[i](),r!==(n=Z.get(this,i))||t?Z.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Z.set(this,i,{value:D.event.trigger(D.extend(r[0],D.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):Z.get(e,i)===undefined&&D.event.add(e,i,ke)}D.event={global:{},add:function(t,e,n,r,i){var o,a,s,c,l,u,p,d,h,f,g,m=Z.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&D.find.matchesSelector(re,i),n.guid||(n.guid=D.guid++),(c=m.events)||(c=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==D&&D.event.triggered!==e.type?D.event.dispatch.apply(t,arguments):undefined}),l=(e=(e||"").match(R)||[""]).length;l--;)h=g=(s=Ce.exec(e[l])||[])[1],f=(s[2]||"").split(".").sort(),h&&(p=D.event.special[h]||{},h=(i?p.delegateType:p.bindType)||h,p=D.event.special[h]||{},u=D.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&D.expr.match.needsContext.test(i),namespace:f.join(".")},o),(d=c[h])||((d=c[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,r,f,a)||t.addEventListener&&t.addEventListener(h,a)),p.add&&(p.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),D.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,c,l,u,p,d,h,f,g,m=Z.hasData(e)&&Z.get(e);if(m&&(c=m.events)){for(l=(t=(t||"").match(R)||[""]).length;l--;)if(h=g=(s=Ce.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),h){for(p=D.event.special[h]||{},d=c[h=(r?p.delegateType:p.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,f,m.handle)||D.removeEvent(e,h,m.handle),delete c[h])}else for(h in c)D.event.remove(e,h+t[l],n,r,!0);D.isEmptyObject(c)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=D.event.fix(e),c=new Array(arguments.length),l=(Z.get(this,"events")||{})[s.type]||[],u=D.event.special[s.type]||{};for(c[0]=s,t=1;t<arguments.length;t++)c[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=D.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,(r=((D.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,c))!==undefined&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<c;n++)a[i=(r=t[n]).selector+" "]===undefined&&(a[i]=r.needsContext?-1<D(i,this).index(l):D.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(t,e){Object.defineProperty(D.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[D.expando]?e:new D.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&k(t,"input")&&Ie(t,"click",ke),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&k(t,"input")&&Ie(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&k(t,"input")&&Z.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},D.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},D.Event=function(e,t){if(!(this instanceof D.Event))return new D.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?ke:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&D.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[D.expando]=!0},D.Event.prototype={constructor:D.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},D.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&t!==undefined&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},D.event.addProp),D.each({focus:"focusin",blur:"focusout"},function(e,t){D.event.special[e]={setup:function(){return Ie(this,e,Se),!1},trigger:function(){return Ie(this,e),!0},delegateType:t}}),D.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){D.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||D.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),D.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,D(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=Ee),this.each(function(){D.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var Pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Te=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&D(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s,c,l;if(1===t.nodeType){if(Z.hasData(e)&&(o=Z.access(e),a=Z.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)D.event.add(t,i,l[i][n]);K.hasData(e)&&(s=K.access(e),c=D.extend({},s),K.set(t,c))}}function Be(n,r,i,o){r=g.apply([],r);var e,t,a,s,c,l,u=0,p=n.length,d=p-1,h=r[0],f=v(h);if(f||1<p&&"string"==typeof h&&!y.checkClone&&_e.test(h))return n.each(function(e){var t=n.eq(e);f&&(r[0]=h.call(this,e,t.html())),Be(t,r,i,o)});if(p&&(t=(e=be(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=D.map(ge(e,"script"),Oe)).length;u<p;u++)c=e,u!==d&&(c=D.clone(c,!0,!0),s&&D.merge(a,ge(c,"script"))),i.call(n[u],c,u);if(s)for(l=a[a.length-1].ownerDocument,D.map(a,Re),u=0;u<s;u++)c=a[u],he.test(c.type||"")&&!Z.access(c,"globalEval")&&D.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?D._evalUrl&&!c.noModule&&D._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):b(c.textContent.replace(Ne,""),c,l))}return n}function je(e,t,n){for(var r,i=t?D.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||D.cleanData(ge(r)),r.parentNode&&(n&&ie(r)&&me(ge(r,"script")),r.parentNode.removeChild(r));return e}D.extend({htmlPrefilter:function(e){return e.replace(Pe,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,c,l,u=e.cloneNode(!0),p=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||D.isXMLDoc(e)))for(a=ge(u),r=0,i=(o=ge(e)).length;r<i;r++)s=o[r],c=a[r],void 0,"input"===(l=c.nodeName.toLowerCase())&&pe.test(s.type)?c.checked=s.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ge(e),a=a||ge(u),r=0,i=o.length;r<i;r++)Le(o[r],a[r]);else Le(e,u);return 0<(a=ge(u,"script")).length&&me(a,!p&&ge(e,"script")),u},cleanData:function(e){for(var t,n,r,i=D.event.special,o=0;(n=e[o])!==undefined;o++)if(F(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)i[r]?D.event.remove(n,r):D.removeEvent(n,r,t.handle);n[Z.expando]=undefined}n[K.expando]&&(n[K.expando]=undefined)}}}),D.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return U(this,function(e){return e===undefined?D.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Be(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)})},prepend:function(){return Be(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(D.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return D.clone(this,e,t)})},html:function(e){return U(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Te.test(e)&&!fe[(de.exec(e)||["",""])[1].toLowerCase()]){e=D.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(D.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Be(this,arguments,function(e){var t=this.parentNode;D.inArray(this,n)<0&&(D.cleanData(ge(this)),t&&t.replaceChild(e,this))},n)}}),D.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){D.fn[e]=function(e){for(var t,n=[],r=D(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),D(r[o])[a](t),c.apply(n,t.get());return this.pushStack(n)}});var He=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=E),t.getComputedStyle(e)},Ye=new RegExp(ne.join("|"),"i");function Ue(e,t,n){var r,i,o,a,s=e.style;return(n=n||ze(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=D.style(e,t)),!y.pixelBoxStyles()&&He.test(a)&&Ye.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),a!==undefined?a+"":a}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(s).appendChild(c);var e=E.getComputedStyle(c);n="1%"!==e.top,a=12===t(e.marginLeft),c.style.right="60%",o=36===t(e.right),r=36===t(e.width),c.style.position="absolute",i=12===t(c.offsetWidth/3),re.removeChild(s),c=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s=S.createElement("div"),c=S.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,D.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),i}}))}();var Qe=["Webkit","Moz","ms"],We=S.createElement("div").style,Ge={};function Fe(e){var t=D.cssProps[e]||Ge[e];return t||(e in We?e:Ge[e]=function r(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;n--;)if((e=Qe[n]+t)in We)return e}(e)||e)}var qe=/^(none|table(?!-c[ea]).+)/,Ze=/^--/,Ke={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function Xe(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function $e(e,t,n,r,i,o){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=D.css(e,n+ne[a],!0,i)),r?("content"===n&&(c-=D.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(c-=D.css(e,"border"+ne[a]+"Width",!0,i))):(c+=D.css(e,"padding"+ne[a],!0,i),"padding"!==n?c+=D.css(e,"border"+ne[a]+"Width",!0,i):s+=D.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))||0),c}function et(e,t,n){var r=ze(e),i=(!y.boxSizingReliable()||n)&&"border-box"===D.css(e,"boxSizing",!1,r),o=i,a=Ue(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===D.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===D.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+$e(e,t,n||(i?"border":"content"),o,r,a)+"px"}function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}D.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),c=Ze.test(t),l=e.style;if(c||(t=Fe(s)),a=D.cssHooks[t]||D.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(e,!1,r))!==undefined?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(D.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===undefined||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Ze.test(t)||(t=Fe(s)),(a=D.cssHooks[t]||D.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),i===undefined&&(i=Ue(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),D.each(["height","width"],function(e,c){D.cssHooks[c]={get:function(e,t,n){if(t)return!qe.test(D.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,c,n):se(e,Ke,function(){return et(e,c,n)})},set:function(e,t,n){var r,i=ze(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===D.css(e,"boxSizing",!1,i),s=n?$e(e,c,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(i[c])-$e(e,c,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[c]=t,t=D.css(e,c)),Xe(0,t,s)}}}),D.cssHooks.marginLeft=Ve(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),D.each({margin:"",padding:"",border:"Width"},function(i,o){D.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(D.cssHooks[i+o].set=Xe)}),D.fn.extend({css:function(e,t){return U(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ze(e),i=t.length;a<i;a++)o[t[a]]=D.css(e,t[a],!1,r);return o}return n!==undefined?D.style(e,t,n):D.css(e,t)},e,t,1<arguments.length)}}),((D.Tween=tt).prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||D.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(D.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=D.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}}).init.prototype=tt.prototype,(tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=D.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){D.fx.step[e.prop]?D.fx.step[e.prop](e):1!==e.elem.nodeType||!D.cssHooks[e.prop]&&null==e.elem.style[Fe(e.prop)]?e.elem[e.prop]=e.now:D.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},D.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},D.fx=tt.prototype.init,D.fx.step={};var nt,rt,it,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){rt&&(!1===S.hidden&&E.requestAnimationFrame?E.requestAnimationFrame(ct):E.setTimeout(ct,D.fx.interval),D.fx.tick())}function lt(){return E.setTimeout(function(){nt=undefined}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function pt(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function dt(o,e,t){var n,a,r=0,i=dt.prefilters.length,s=D.Deferred().always(function(){delete c.elem}),c=function(){if(a)return!1;for(var e=nt||lt(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:D.extend({},e),opts:D.extend(!0,{specialEasing:{},easing:D.easing._default},t),originalProperties:e,originalOptions:t,startTime:nt||lt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=D.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),u=l.props;for(!function p(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=G(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=D.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,l.opts.specialEasing);r<i;r++)if(n=dt.prefilters[r].call(l,o,u,l.opts))return v(n.stop)&&(D._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return D.map(u,pt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),D.fx.timer(D.extend(c,{elem:o,anim:l,queue:l.opts.queue})),l}D.Animation=D.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=v(e)?(t=e,["*"]):e.match(R)).length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function Jt(e,t,n){var r,i,o,a,s,c,l,u,p="width"in t||"height"in t,d=this,h={},f=e.style,g=e.nodeType&&ae(e),m=Z.get(e,"fxshow");for(r in n.queue||(null==(a=D._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,D.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],at.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||m[r]===undefined)continue;g=!0}h[r]=m&&m[r]||D.style(e,r)}if((c=!D.isEmptyObject(t))||!D.isEmptyObject(h))for(r in p&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(l=m&&m.display)&&(l=Z.get(e,"display")),"none"===(u=D.css(e,"display"))&&(l?u=l:(ue([e],!0),l=e.style.display||l,u=D.css(e,"display"),ue([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===D.css(e,"float")&&(c||(d.done(function(){f.display=l}),null==l&&(u=f.display,l="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),c=!1,h)c||(m?"hidden"in m&&(g=m.hidden):m=Z.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&ue([e],!0),d.done(function(){for(r in g||ue([e]),Z.remove(e,"fxshow"),h)D.style(e,r,h[r])})),c=pt(g?m[r]:0,r,d),r in m||(m[r]=c.start,g&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),D.speed=function(e,t,n){var r=e&&"object"==typeof e?D.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return D.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in D.fx.speeds?r.duration=D.fx.speeds[r.duration]:r.duration=D.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&D.dequeue(this,r.queue)},r},D.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=D.isEmptyObject(t),o=D.speed(e,n,r),a=function(){var e=dt(this,D.extend({},t),o);(i||Z.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=undefined),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=D.timers,r=Z.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&st.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||D.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Z.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=D.timers,o=n?n.length:0;for(t.finish=!0,D.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),D.each(["toggle","show","hide"],function(e,r){var i=D.fn[r];D.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(ut(r,!0),e,t,n)}}),D.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){D.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),D.timers=[],D.fx.tick=function(){var e,t=0,n=D.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||D.fx.stop(),nt=undefined},D.fx.timer=function(e){D.timers.push(e),D.fx.start()},D.fx.interval=13,D.fx.start=function(){rt||(rt=!0,ct())},D.fx.stop=function(){rt=null},D.fx.speeds={slow:600,fast:200,_default:400},D.fn.delay=function(r,e){return r=D.fx&&D.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=E.setTimeout(e,r);t.stop=function(){E.clearTimeout(n)}})},it=S.createElement("input"),ot=S.createElement("select").appendChild(S.createElement("option")),it.type="checkbox",y.checkOn=""!==it.value,y.optSelected=ot.selected,(it=S.createElement("input")).value="t",it.type="radio",y.radioValue="t"===it.value;var ht,ft=D.expr.attrHandle;D.fn.extend({attr:function(e,t){return U(this,D.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){D.removeAttr(this,e)})}}),D.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?D.prop(e,t,n):(1===o&&D.isXMLDoc(e)||(i=D.attrHooks[t.toLowerCase()]||(D.expr.match.bool.test(t)?ht:undefined)),n!==undefined?null===n?void D.removeAttr(e,t):i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=D.find.attr(e,t))?undefined:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?D.removeAttr(e,n):e.setAttribute(n,n),n}},D.each(D.expr.match.bool.source.match(/\w+/g),function(e,t){var a=ft[t]||D.find.attr;ft[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=ft[o],ft[o]=r,r=null!=a(e,t,n)?o:null,ft[o]=i),r}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function yt(e){return(e.match(R)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function At(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}D.fn.extend({prop:function(e,t){return U(this,D.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[D.propFix[e]||e]})}}),D.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&D.isXMLDoc(e)||(t=D.propFix[t]||t,i=D.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=D.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(D.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),D.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){D.propFix[this.toLowerCase()]=this}),D.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,c=0;if(v(t))return this.each(function(e){D(this).addClass(t.call(this,e,vt(this)))});if((e=At(t)).length)for(;n=this[c++];)if(i=vt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,c=0;if(v(t))return this.each(function(e){D(this).removeClass(t.call(this,e,vt(this)))});if(!arguments.length)return this.attr("class","");if((e=At(t)).length)for(;n=this[c++];)if(i=vt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(a=0;o=e[a++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):v(i)?this.each(function(e){D(this).toggleClass(i.call(this,e,vt(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=D(this),r=At(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else i!==undefined&&"boolean"!==o||((e=vt(this))&&Z.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Z.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+yt(vt(n))+" ").indexOf(t))return!0;return!1}});var bt=/\r/g;D.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,D(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=D.map(t,function(e){return null==e?"":e+""})),(r=D.valHooks[this.type]||D.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==undefined||(this.value=t))})):t?(r=D.valHooks[t.type]||D.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(bt,""):null==e?"":e:void 0}}),D.extend({valHooks:{option:{get:function(e){var t=D.find.attr(e,"value");return null!=t?t:yt(D.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!k(n.parentNode,"optgroup"))){if(t=D(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=D.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<D.inArray(D.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),D.each(["radio","checkbox"],function(){D.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<D.inArray(D(e).val(),t)}},y.checkOn||(D.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in E;var wt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};D.extend(D.event,{trigger:function(e,t,n,r){var i,o,a,s,c,l,u,p,d=[n||S],h=m.call(e,"type")?e.type:e,f=m.call(e,"namespace")?e.namespace.split("."):[];if(o=p=a=n=n||S,3!==n.nodeType&&8!==n.nodeType&&!wt.test(h+D.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),c=h.indexOf(":")<0&&"on"+h,(e=e[D.expando]?e:new D.Event(h,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:D.makeArray(t,[e]),u=D.event.special[h]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!A(n)){for(s=u.delegateType||h,wt.test(s+h)||(o=o.parentNode);o;o=o.parentNode)d.push(o),a=o;a===(n.ownerDocument||S)&&d.push(a.defaultView||a.parentWindow||E)}for(i=0;(o=d[i++])&&!e.isPropagationStopped();)p=o,e.type=1<i?s:u.bindType||h,(l=(Z.get(o,"events")||{})[e.type]&&Z.get(o,"handle"))&&l.apply(o,t),(l=c&&o[c])&&l.apply&&F(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(d.pop(),t)||!F(n)||c&&v(n[h])&&!A(n)&&((a=n[c])&&(n[c]=null),D.event.triggered=h,e.isPropagationStopped()&&p.addEventListener(h,xt),n[h](),e.isPropagationStopped()&&p.removeEventListener(h,xt),D.event.triggered=undefined,a&&(n[c]=a)),e.result}},simulate:function(e,t,n){var r=D.extend(new D.Event,n,{type:e,isSimulated:!0});D.event.trigger(r,null,t)}}),D.fn.extend({trigger:function(e,t){return this.each(function(){D.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return D.event.trigger(e,t,n,!0)}}),y.focusin||D.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){D.event.simulate(r,e.target,D.event.fix(e))};D.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=Z.access(e,r);t||e.addEventListener(n,i,!0),Z.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Z.access(e,r)-1;t?Z.access(e,r,t):(e.removeEventListener(n,i,!0),Z.remove(e,r))}}});var Ct=E.location,kt=Date.now(),Et=/\?/;D.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new E.DOMParser).parseFromString(e,"text/xml")}catch(n){t=undefined}return t&&!t.getElementsByTagName("parsererror").length||D.error("Invalid XML: "+e),t};var St=/\[\]$/,Dt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function Tt(n,e,r,i){var t;if(Array.isArray(e))D.each(e,function(e,t){r||St.test(n)?i(n,t):Tt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)Tt(n+"["+t+"]",e[t],r,i)}D.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!D.isPlainObject(e))D.each(e,function(){i(this.name,this.value)});else for(n in e)Tt(n,e[n],t,i);return r.join("&")},D.fn.extend({serialize:function(){return D.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=D.prop(this,"elements");return e?D.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!D(this).is(":disabled")&&Pt.test(this.nodeName)&&!It.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=D(this).val();return null==n?null:Array.isArray(n)?D.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var _t=/%20/g,Nt=/#.*$/,Mt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Lt=/^\/\//,Bt={},jt={},Ht="*/".concat("*"),zt=S.createElement("a");function Yt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(R)||[];if(v(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Ut(t,i,o,a){var s={},c=t===jt;function l(e){var r;return s[e]=!0,D.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||c||s[n]?c?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Vt(e,t){var n,r,i=D.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&D.extend(!0,e,r),e}zt.href=Ct.href,D.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":D.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,D.ajaxSettings),t):Vt(D.ajaxSettings,e)},ajaxPrefilter:Yt(Bt),ajaxTransport:Yt(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=undefined),t=t||{};var p,h,f,n,g,r,m,y,i,o,v=D.ajaxSetup({},t),A=v.context||v,b=v.context&&(A.nodeType||A.jquery)?D(A):D.event,w=D.Deferred(),x=D.Callbacks("once memory"),C=v.statusCode||{},a={},s={},c="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(m){if(!n)for(n={};t=Ot.exec(f);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return m?f:null},setRequestHeader:function(e,t){return null==m&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==m&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(m)k.always(e[k.status]);else for(t in e)C[t]=[C[t],e[t]];return this},abort:function(e){var t=e||c;return p&&p.abort(t),l(0,t),this}};if(w.promise(k),v.url=((e||v.url||Ct.href)+"").replace(Lt,Ct.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(R)||[""],null==v.crossDomain){r=S.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=zt.protocol+"//"+zt.host!=r.protocol+"//"+r.host}catch(u){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=D.param(v.data,v.traditional)),Ut(Bt,v,t,k),m)return k;for(i in(y=D.event&&v.global)&&0==D.active++&&D.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Rt.test(v.type),h=v.url.replace(Nt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(_t,"+")):(o=v.url.slice(h.length),v.data&&(v.processData||"string"==typeof v.data)&&(h+=(Et.test(h)?"&":"?")+v.data,delete v.data),!1===v.cache&&(h=h.replace(Mt,"$1"),o=(Et.test(h)?"&":"?")+"_="+kt+++o),v.url=h+o),v.ifModified&&(D.lastModified[h]&&k.setRequestHeader("If-Modified-Since",D.lastModified[h]),D.etag[h]&&k.setRequestHeader("If-None-Match",D.etag[h])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&k.setRequestHeader("Content-Type",v.contentType),k.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Ht+"; q=0.01":""):v.accepts["*"]),v.headers)k.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(A,k,v)||m))return k.abort();if(c="abort",x.add(v.complete),k.done(v.success),k.fail(v.error),p=Ut(jt,v,t,k)){if(k.readyState=1,y&&b.trigger("ajaxSend",[k,v]),m)return k;v.async&&0<v.timeout&&(g=E.setTimeout(function(){k.abort("timeout")},v.timeout));try{m=!1,p.send(a,l)}catch(u){if(m)throw u;l(-1,u)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,c,l=t;m||(m=!0,g&&E.clearTimeout(g),p=undefined,f=r||"",k.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function u(e,t,n){for(var r,i,o,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}(v,k,n)),s=function d(e,t,n,r){var i,o,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=l[c+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+c+" to "+o}}}return{state:"success",data:t}}(v,s,k,i),i?(v.ifModified&&((c=k.getResponseHeader("Last-Modified"))&&(D.lastModified[h]=c),(c=k.getResponseHeader("etag"))&&(D.etag[h]=c)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),k.status=e,k.statusText=(t||l)+"",i?w.resolveWith(A,[o,l,k]):w.rejectWith(A,[k,l,a]),k.statusCode(C),C=undefined,y&&b.trigger(i?"ajaxSuccess":"ajaxError",[k,v,i?o:a]),x.fireWith(A,[k,l]),y&&(b.trigger("ajaxComplete",[k,v]),--D.active||D.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return D.get(e,t,n,"json")},getScript:function(e,t){return D.get(e,undefined,t,"script")}}),D.each(["get","post"],function(e,i){D[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=undefined),D.ajax(D.extend({url:e,type:i,dataType:r,data:t,success:n},D.isPlainObject(e)&&e))}}),D._evalUrl=function(e,t){return D.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){D.globalEval(e,t)}})},D.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=D(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){D(this).wrapInner(n.call(this,e))}):this.each(function(){var e=D(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){D(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){D(this).replaceWith(this.childNodes)}),this}}),D.expr.pseudos.hidden=function(e){return!D.expr.pseudos.visible(e)},D.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},D.ajaxSettings.xhr=function(){try{return new E.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Wt=D.ajaxSettings.xhr();y.cors=!!Wt&&"withCredentials"in Wt,y.ajax=Wt=!!Wt,D.ajaxTransport(function(o){var a,s;if(y.cors||Wt&&!o.crossDomain)return{send:function(e,t){var n,r=o.xhr();if(r.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)r[n]=o.xhrFields[n];for(n in o.mimeType&&r.overrideMimeType&&r.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=s=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Qt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=a(),s=r.onerror=r.ontimeout=a("error"),r.onabort!==undefined?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&E.setTimeout(function(){a&&s()})},a=a("abort");try{r.send(o.hasContent&&o.data||null)}catch(i){if(a)throw i}},abort:function(){a&&a()}}}),D.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),D.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return D.globalEval(e),e}}}),D.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),D.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=D("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),S.head.appendChild(r[0])},abort:function(){i&&i()}}});var Gt,Ft=[],qt=/(=)\?(?=&|$)|\?\?/;D.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||D.expando+"_"+kt++;return this[e]=!0,e}}),D.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&qt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(qt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||D.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=E[r],E[r]=function(){o=arguments},n.always(function(){i===undefined?D(E).removeProp(r):E[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Ft.push(r)),o&&v(i)&&i(o[0]),o=i=undefined}),"script"}),y.createHTMLDocument=((Gt=S.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),D.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=S.implementation.createHTMLDocument("")).createElement("base")).href=S.location.href,t.head.appendChild(r)):t=S),o=!n&&[],(i=I.exec(e))?[t.createElement(i[1])]:(i=be([e],t,o),o&&o.length&&D(o).remove(),D.merge([],i.childNodes)));var r,i,o},D.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=yt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),0<a.length&&D.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?D("<div>").append(D.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},D.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){D.fn[t]=function(e){return this.on(t,e)}}),D.expr.pseudos.animated=function(t){return D.grep(D.timers,function(e){return t===e.elem}).length},D.offset={setOffset:function(e,t,n){var r,i,o,a,s,c,l=D.css(e,"position"),u=D(e),p={};"static"===l&&(e.style.position="relative"),s=u.offset(),o=D.css(e,"top"),c=D.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(o+c).indexOf("auto")?(a=(r=u.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(c)||0),v(t)&&(t=t.call(e,n,D.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):u.css(p)}},D.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){D.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===D.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===D.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=D(e).offset()).top+=D.css(e,"borderTopWidth",!0),i.left+=D.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-D.css(r,"marginTop",!0),left:t.left-i.left-D.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===D.css(e,"position");)e=e.offsetParent;return e||re})}}),D.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;D.fn[t]=function(e){return U(this,function(e,t,n){var r;if(A(e)?r=e:9===e.nodeType&&(r=e.defaultView),n===undefined)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),D.each(["top","left"],function(e,n){D.cssHooks[n]=Ve(y.pixelPosition,function(e,t){if(t)return t=Ue(e,n),He.test(t)?D(e).position()[n]+"px":t})}),D.each({Height:"height",Width:"width"},function(a,s){D.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){D.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return U(this,function(e,t,n){var r;return A(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):n===undefined?D.css(e,t,i):D.style(e,t,n,i)},s,n?e:undefined,n)}})}),D.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){D.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),D.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),D.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),D.proxy=function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),v(e)?(r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||D.guid++,i):undefined},D.holdReady=function(e){e?D.readyWait++:D.ready(!0)},D.isArray=Array.isArray,D.parseJSON=JSON.parse,D.nodeName=k,D.isFunction=v,D.isWindow=A,D.camelCase=G,D.type=w,D.now=Date.now,D.isNumeric=function(e){var t=D.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))};var Zt=E.jQuery,Kt=E.$;return D.noConflict=function(e){return E.$===D&&(E.$=Kt),e&&E.jQuery===D&&(E.jQuery=Zt),D},e||(E.jQuery=E.$=D),D},e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}}),C=(w(function(e){var t;t=function(S){S.ui=S.ui||{};S.ui.version="1.12.1";var o,n=0,s=Array.prototype.slice;S.cleanData=S.cleanData||(o=S.cleanData,function(e){var t,n,r;for(r=0;null!=(n=e[r]);r++)try{(t=S._data(n,"events"))&&t.remove&&S(n).triggerHandler("remove")}catch(i){}o(e)}),S.widget=S.widget||function(e,n,t){var r,i,o,a={},s=e.split(".")[0],c=s+"-"+(e=e.split(".")[1]);return t||(t=n,n=S.Widget),S.isArray(t)&&(t=S.extend.apply(null,[{}].concat(t))),S.expr[":"][c.toLowerCase()]=function(e){return!!S.data(e,c)},S[s]=S[s]||{},r=S[s][e],i=S[s][e]=function(e,t){if(!this._createWidget)return new i(e,t);arguments.length&&this._createWidget(e,t)},S.extend(i,r,{version:t.version,_proto:S.extend({},t),_childConstructors:[]}),(o=new n).options=S.widget.extend({},o.options),S.each(t,function(t,o){S.isFunction(o)?a[t]=function(){function r(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var e,t=this._super,n=this._superApply;return this._super=r,this._superApply=i,e=o.apply(this,arguments),this._super=t,this._superApply=n,e}}():a[t]=o}),i.prototype=S.widget.extend(o,{widgetEventPrefix:r&&o.widgetEventPrefix||e},a,{constructor:i,namespace:s,widgetName:e,widgetFullName:c}),r?(S.each(r._childConstructors,function(e,t){var n=t.prototype;S.widget(n.namespace+"."+n.widgetName,i,t._proto)}),delete r._childConstructors):n._childConstructors.push(i),S.widget.bridge(e,i),i},S.widget.extend=function(e){for(var t,n,r=s.call(arguments,1),i=0,o=r.length;i<o;i++)for(t in r[i])n=r[i][t],r[i].hasOwnProperty(t)&&n!==undefined&&(S.isPlainObject(n)?e[t]=S.isPlainObject(e[t])?S.widget.extend({},e[t],n):S.widget.extend({},n):e[t]=n);return e},S.widget.bridge=function(o,t){var a=t.prototype.widgetFullName||o;S.fn[o]=function(n){var e="string"==typeof n,r=s.call(arguments,1),i=this;return e?this.length||"instance"!==n?this.each(function(){var e,t=S.data(this,a);return"instance"===n?(i=t,!1):t?S.isFunction(t[n])&&"_"!==n.charAt(0)?(e=t[n].apply(t,r))!==t&&e!==undefined?(i=e&&e.jquery?i.pushStack(e.get()):e,!1):void 0:S.error("no such method '"+n+"' for "+o+" widget instance"):S.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+n+"'")}):i=undefined:(r.length&&(n=S.widget.extend.apply(null,[n].concat(r))),this.each(function(){var e=S.data(this,a);e?(e.option(n||{}),e._init&&e._init()):S.data(this,a,new t(n,this))})),i}},S.Widget=S.Widget||function(){},S.Widget._childConstructors=[],S.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=S(t||this.defaultElement||this)[0],this.element=S(t),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=S(),this.hoverable=S(),this.focusable=S(),this.classesElementLookup={},t!==this&&(S.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=S(t.style?t.ownerDocument:t.document||t),this.window=S(this.document[0].defaultView||this.document[0].parentWindow)),this.options=S.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:S.noop,_create:S.noop,_init:S.noop,destroy:function(){var n=this;this._destroy(),S.each(this.classesElementLookup,function(e,t){n._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:S.noop,widget:function(){return this.element},option:function(e,t){var n,r,i,o=e;if(0===arguments.length)return S.widget.extend({},this.options);if("string"==typeof e)if(o={},e=(n=e.split(".")).shift(),n.length){for(r=o[e]=S.widget.extend({},this.options[e]),i=0;i<n.length-1;i++)r[n[i]]=r[n[i]]||{},r=r[n[i]];if(e=n.pop(),1===arguments.length)return r[e]===undefined?null:r[e];r[e]=t}else{if(1===arguments.length)return this.options[e]===undefined?null:this.options[e];o[e]=t}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,n,r;for(t in e)r=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&r&&r.length&&(n=S(r.get()),this._removeClass(r,t),n.addClass(this._classes({element:n,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(i){var o=[],a=this;function e(e,t){var n,r;for(r=0;r<e.length;r++)n=a.classesElementLookup[e[r]]||S(),n=i.add?S(S.unique(n.get().concat(i.element.get()))):S(n.not(i.element).get()),a.classesElementLookup[e[r]]=n,o.push(e[r]),t&&i.classes[e[r]]&&o.push(i.classes[e[r]])}return i=S.extend({element:this.element,classes:this.options.classes||{}},i),this._on(i.element,{remove:"_untrackClassesElement"}),i.keys&&e(i.keys.match(/\S+/g)||[],!0),i.extra&&e(i.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(n){var r=this;S.each(r.classesElementLookup,function(e,t){-1!==S.inArray(n.target,t)&&(r.classesElementLookup[e]=S(t.not(n.target).get()))})},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof e||null===e,o={extra:i?t:n,keys:i?e:t,element:i?this.element:e,add:r};return o.element.toggleClass(this._classes(o),r),this},_on:function(a,s,e){var c,l=this;"boolean"!=typeof a&&(e=s,s=a,a=!1),e?(s=c=S(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,c=this.widget()),S.each(e,function(e,t){function n(){if(a||!0!==l.options.disabled&&!S(this).hasClass("ui-state-disabled"))return("string"==typeof t?l[t]:t).apply(l,arguments)}"string"!=typeof t&&(n.guid=t.guid=t.guid||n.guid||S.guid++);var r=e.match(/^([\w:-]*)\s*(.*)$/),i=r[1]+l.eventNamespace,o=r[2];o?c.on(i,o,n):s.on(i,n)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=S(this.bindings.not(e).get()),this.focusable=S(this.focusable.not(e).get()),this.hoverable=S(this.hoverable.not(e).get())},_delay:function(e,t){var n=this;return setTimeout(function r(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(S(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(S(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(S(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(S(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,n){var r,i,o=this.options[e];if(n=n||{},(t=S.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],i=t.originalEvent)for(r in i)r in t||(t[r]=i[r]);return this.element.trigger(t,n),!(S.isFunction(o)&&!1===o.apply(this.element[0],[t].concat(n))||t.isDefaultPrevented())}},S.each({show:"fadeIn",hide:"fadeOut"},function(o,a){S.Widget.prototype["_"+o]=function(t,e,n){var r;"string"==typeof e&&(e={effect:e});var i=e?!0===e||"number"==typeof e?a:e.effect||a:o;"number"==typeof(e=e||{})&&(e={duration:e}),r=!S.isEmptyObject(e),e.complete=n,e.delay&&t.delay(e.delay),r&&S.effects&&S.effects.effect[i]?t[o](e):i!==o&&t[i]?t[i](e.duration,e.easing,n):t.queue(function(e){S(this)[o](),n&&n.call(t[0]),e()})}});S.widget;!function(){var i,x=Math.max,C=Math.abs,r=/left|center|right/,o=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,c=/%$/,t=S.fn.position;function k(e,t,n){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?n/100:1)]}function E(e,t){return parseInt(S.css(e,t),10)||0}S.position=S.position||{scrollbarWidth:function(){if(i!==undefined)return i;var e,t,n=S("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=n.children()[0];return S("body").append(n),e=r.offsetWidth,n.css("overflow","scroll"),e===(t=r.offsetWidth)&&(t=n[0].clientWidth),n.remove(),i=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?S.position.scrollbarWidth():0,height:r?S.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=S(e||window),n=S.isWindow(t[0]),r=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:n,isDocument:r,offset:!n&&!r?S(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},S.fn.position=function(p){if(!p||!p.of)return t.apply(this,arguments);p=S.extend({},p);var d,h,f,g,m,e,y=S(p.of),v=S.position.getWithinInfo(p.within),A=S.position.getScrollInfo(v),b=(p.collision||"flip").split(" "),w={};return e=function n(e){var t=e[0];return 9===t.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:S.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}(y),y[0].preventDefault&&(p.at="left top"),h=e.width,f=e.height,g=e.offset,m=S.extend({},g),S.each(["my","at"],function(){var e,t,n=(p[this]||"").split(" ");1===n.length&&(n=r.test(n[0])?n.concat(["center"]):o.test(n[0])?["center"].concat(n):["center","center"]),n[0]=r.test(n[0])?n[0]:"center",n[1]=o.test(n[1])?n[1]:"center",e=a.exec(n[0]),t=a.exec(n[1]),w[this]=[e?e[0]:0,t?t[0]:0],p[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===p.at[0]?m.left+=h:"center"===p.at[0]&&(m.left+=h/2),"bottom"===p.at[1]?m.top+=f:"center"===p.at[1]&&(m.top+=f/2),d=k(w.at,h,f),m.left+=d[0],m.top+=d[1],this.each(function(){var n,e,a=S(this),s=a.outerWidth(),c=a.outerHeight(),t=E(this,"marginLeft"),r=E(this,"marginTop"),i=s+t+E(this,"marginRight")+A.width,o=c+r+E(this,"marginBottom")+A.height,l=S.extend({},m),u=k(w.my,a.outerWidth(),a.outerHeight());"right"===p.my[0]?l.left-=s:"center"===p.my[0]&&(l.left-=s/2),"bottom"===p.my[1]?l.top-=c:"center"===p.my[1]&&(l.top-=c/2),l.left+=u[0],l.top+=u[1],n={marginLeft:t,marginTop:r},S.each(["left","top"],function(e,t){S.ui.position[b[e]]&&S.ui.position[b[e]][t](l,{targetWidth:h,targetHeight:f,elemWidth:s,elemHeight:c,collisionPosition:n,collisionWidth:i,collisionHeight:o,offset:[d[0]+u[0],d[1]+u[1]],my:p.my,at:p.at,within:v,elem:a})}),p.using&&(e=function(e){var t=g.left-l.left,n=t+h-s,r=g.top-l.top,i=r+f-c,o={target:{element:y,left:g.left,top:g.top,width:h,height:f},element:{element:a,left:l.left,top:l.top,width:s,height:c},horizontal:n<0?"left":0<t?"right":"center",vertical:i<0?"top":0<r?"bottom":"middle"};h<s&&C(t+n)<h&&(o.horizontal="center"),f<c&&C(r+i)<f&&(o.vertical="middle"),x(C(t),C(n))>x(C(r),C(i))?o.important="horizontal":o.important="vertical",p.using.call(this,e,o)}),a.offset(S.extend(l,{using:e}))})},S.ui.position={fit:{left:function(e,t){var n,r=t.within,i=r.isWindow?r.scrollLeft:r.offset.left,o=r.width,a=e.left-t.collisionPosition.marginLeft,s=i-a,c=a+t.collisionWidth-o-i;t.collisionWidth>o?0<s&&c<=0?(n=e.left+s+t.collisionWidth-o-i,e.left+=s-n):e.left=0<c&&s<=0?i:c<s?i+o-t.collisionWidth:i:0<s?e.left+=s:0<c?e.left-=c:e.left=x(e.left-a,e.left)},top:function(e,t){var n,r=t.within,i=r.isWindow?r.scrollTop:r.offset.top,o=t.within.height,a=e.top-t.collisionPosition.marginTop,s=i-a,c=a+t.collisionHeight-o-i;t.collisionHeight>o?0<s&&c<=0?(n=e.top+s+t.collisionHeight-o-i,e.top+=s-n):e.top=0<c&&s<=0?i:c<s?i+o-t.collisionHeight:i:0<s?e.top+=s:0<c?e.top-=c:e.top=x(e.top-a,e.top)}},flip:{left:function(e,t){var n,r,i=t.within,o=i.offset.left+i.scrollLeft,a=i.width,s=i.isWindow?i.scrollLeft:i.offset.left,c=e.left-t.collisionPosition.marginLeft,l=c-s,u=c+t.collisionWidth-a-s,p="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,d="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];l<0?((n=e.left+p+d+h+t.collisionWidth-a-o)<0||n<C(l))&&(e.left+=p+d+h):0<u&&(0<(r=e.left-t.collisionPosition.marginLeft+p+d+h-s)||C(r)<u)&&(e.left+=p+d+h)},top:function(e,t){var n,r,i=t.within,o=i.offset.top+i.scrollTop,a=i.height,s=i.isWindow?i.scrollTop:i.offset.top,c=e.top-t.collisionPosition.marginTop,l=c-s,u=c+t.collisionHeight-a-s,p="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,d="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];l<0?((r=e.top+p+d+h+t.collisionHeight-a-o)<0||r<C(l))&&(e.top+=p+d+h):0<u&&(0<(n=e.top-t.collisionPosition.marginTop+p+d+h-s)||C(n)<u)&&(e.top+=p+d+h)}},flipfit:{left:function(){S.ui.position.flip.left.apply(this,arguments),S.ui.position.fit.left.apply(this,arguments)},top:function(){S.ui.position.flip.top.apply(this,arguments),S.ui.position.fit.top.apply(this,arguments)}}}}();var e;S.ui.position,S.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},S.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter(function(){var e=S(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&i.length?i:S(this[0].ownerDocument||document)},S.fn.extend({uniqueId:(e=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&S(this).removeAttr("id")})}})},e.exports?e.exports=t(x):t(jQuery)}),w(function(e){var t;t=function(w){if(!w.ui||!w.ui.fancytree){var o,e,g=null,m=new RegExp(/\.|\//),t=/[&<>"'/]/g,n=/[<>"'/]/g,p="$recursive_request",r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},i={16:!0,17:!0,18:!0},y={8:"backspace",9:"tab",10:"return",13:"return",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},v={16:"shift",17:"ctrl",18:"alt",91:"meta",93:"meta"},a={0:"",1:"left",2:"middle",3:"right"},A="active expanded focus folder lazy radiogroup selected unselectable unselectableIgnore".split(" "),b={},d="columns types".split(" "),x="checkbox expanded extraClasses folder icon iconTooltip key lazy partsel radiogroup refKey selected statusNodeType title tooltip type unselectable unselectableIgnore unselectableStatus".split(" "),s={},C={},c={active:!0,children:!0,data:!0,focus:!0};for(o=0;o<A.length;o++)b[A[o]]=!0;for(o=0;o<x.length;o++)e=x[o],s[e]=!0,e!==e.toLowerCase()&&(C[e.toLowerCase()]=e);return k(w.ui,"Fancytree requires jQuery UI (http://jqueryui.com)"),Date.now||(Date.now=function(){return(new Date).getTime()}),_.prototype={_findDirectChild:function(e){var t,n,r=this.children;if(r)if("string"==typeof e){for(t=0,n=r.length;t<n;t++)if(r[t].key===e)return r[t]}else{if("number"==typeof e)return this.children[e];if(e.parent===this)return e}return null},_setChildren:function(e){k(e&&(!this.children||0===this.children.length),"only init supported"),this.children=[];for(var t=0,n=e.length;t<n;t++)this.children.push(new _(this,e[t]));this.tree._callHook("treeStructureChanged",this.tree,"setChildren")},addChildren:function(e,t){var n,r,i,o,a=this.getFirstChild(),s=this.getLastChild(),c=[];for(w.isPlainObject(e)&&(e=[e]),this.children||(this.children=[]),n=0,r=e.length;n<r;n++)c.push(new _(this,e[n]));if(o=c[0],null==t?this.children=this.children.concat(c):(t=this._findDirectChild(t),k(0<=(i=w.inArray(t,this.children)),"insertBefore must be an existing child"),this.children.splice.apply(this.children,[i,0].concat(c))),a&&!t){for(n=0,r=c.length;n<r;n++)c[n].render();a!==this.getFirstChild()&&a.renderStatus(),s!==this.getLastChild()&&s.renderStatus()}else(!this.parent||this.parent.ul||this.tr)&&this.render();return 3===this.tree.options.selectMode&&this.fixSelection3FromEndNodes(),this.triggerModifyChild("add",1===c.length?c[0]:null),o},addClass:function(e){return this.toggleClass(e,!0)},addNode:function(e,t){switch(t!==undefined&&"over"!==t||(t="child"),t){case"after":return this.getParent().addChildren(e,this.getNextSibling());case"before":return this.getParent().addChildren(e,this);case"firstChild":var n=this.children?this.children[0]:null;return this.addChildren(e,n);case"child":case"over":return this.addChildren(e)}k(!1,"Invalid mode: "+t)},addPagingNode:function(e,t){var n,r;if(t=t||"child",!1!==e)return e=w.extend({title:this.tree.options.strings.moreData,statusNodeType:"paging",icon:!1},e),this.partload=!0,this.addNode(e,t);for(n=this.children.length-1;0<=n;n--)"paging"===(r=this.children[n]).statusNodeType&&this.removeChild(r);this.partload=!1},appendSibling:function(e){return this.addNode(e,"after")},applyPatch:function(e){if(null===e)return this.remove(),E(this);var t,n,r={children:!0,expanded:!0,parent:!0};for(t in e)e.hasOwnProperty(t)&&(n=e[t],r[t]||w.isFunction(n)||(s[t]?this[t]=n:this.data[t]=n));return e.hasOwnProperty("children")&&(this.removeChildren(),e.children&&this._setChildren(e.children)),this.isVisible()&&(this.renderTitle(),this.renderStatus()),e.hasOwnProperty("expanded")?this.setExpanded(e.expanded):E(this)},collapseSiblings:function(){return this.tree._callHook("nodeCollapseSiblings",this)},copyTo:function(e,t,n){return e.addNode(this.toDict(!0,n),t)},countChildren:function(e){var t,n,r,i=this.children;if(!i)return 0;if(r=i.length,!1!==e)for(t=0,n=r;t<n;t++)r+=i[t].countChildren();return r},debug:function(e){4<=this.tree.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("log",arguments))},discard:function(){return this.warn("FancytreeNode.discard() is deprecated since 2014-02-16. Use .resetLazy() instead."),this.resetLazy()},discardMarkup:function(e){var t=e?"nodeRemoveMarkup":"nodeRemoveChildMarkup";this.tree._callHook(t,this)},error:function(e){1<=this.tree.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("error",arguments))},findAll:function(t){t=w.isFunction(t)?t:T(t);var n=[];return this.visit(function(e){t(e)&&n.push(e)}),n},findFirst:function(t){t=w.isFunction(t)?t:T(t);var n=null;return this.visit(function(e){if(t(e))return n=e,!1}),n},findRelatedNode:function(e,t){return this.tree.findRelatedNode(this,e,t)},_changeSelectStatusAttrs:function(e){var t=!1,n=this.tree.options,r=g.evalOption("unselectable",this,this,n,!1),i=g.evalOption("unselectableStatus",this,this,n,undefined);switch(r&&null!=i&&(e=i),e){case!1:t=this.selected||this.partsel,this.selected=!1,this.partsel=!1;break;case!0:t=!this.selected||!this.partsel,this.selected=!0,this.partsel=!0;break;case undefined:t=this.selected||!this.partsel,this.selected=!1,this.partsel=!0;break;default:k(!1,"invalid state: "+e)}return t&&this.renderStatus(),t},fixSelection3AfterClick:function(e){var t=this.isSelected();this.visit(function(e){if(e._changeSelectStatusAttrs(t),e.radiogroup)return"skip"}),this.fixSelection3FromEndNodes(e)},fixSelection3FromEndNodes:function(e){var u=this.tree.options;k(3===u.selectMode,"expected selectMode 3"),function p(e){var t,n,r,i,o,a,s,c,l=e.children;if(l&&l.length){for(s=!(a=!0),t=0,n=l.length;t<n;t++)i=p(r=l[t]),g.evalOption("unselectableIgnore",r,r,u,!1)||(!1!==i&&(s=!0),!0!==i&&(a=!1));o=!!a||!!s&&undefined}else o=null==(c=g.evalOption("unselectableStatus",e,e,u,undefined))?!!e.selected:!!c;return e.partsel&&!e.selected&&e.lazy&&null==e.children&&(o=undefined),e._changeSelectStatusAttrs(o),o}(this),this.visitParents(function(e){var t,n,r,i,o,a=e.children,s=!0,c=!1;for(t=0,n=a.length;t<n;t++)r=a[t],g.evalOption("unselectableIgnore",r,r,u,!1)||(((i=null==(o=g.evalOption("unselectableStatus",r,r,u,undefined))?!!r.selected:!!o)||r.partsel)&&(c=!0),i||(s=!1));i=!!s||!!c&&undefined,e._changeSelectStatusAttrs(i)})},fromDict:function(e){for(var t in e)s[t]?this[t]=e[t]:"data"===t?w.extend(this.data,e.data):w.isFunction(e[t])||c[t]||(this.data[t]=e[t]);e.children&&(this.removeChildren(),this.addChildren(e.children)),this.renderTitle()},getChildren:function(){return this.hasChildren()===undefined?undefined:this.children},getFirstChild:function(){return this.children?this.children[0]:null},getIndex:function(){return w.inArray(this,this.parent.children)},getIndexHier:function(e,n){e=e||".";var r,i=[];return w.each(this.getParentList(!1,!0),function(e,t){r=""+(t.getIndex()+1),n&&(r=("0000000"+r).substr(-n)),i.push(r)}),i.join(e)},getKeyPath:function(e){var t=this.tree.options.keyPathSeparator;return t+this.getPath(!e,"key",t)},getLastChild:function(){return this.children?this.children[this.children.length-1]:null},getLevel:function(){for(var e=0,t=this.parent;t;)e++,t=t.parent;return e},getNextSibling:function(){if(this.parent){var e,t,n=this.parent.children;for(e=0,t=n.length-1;e<t;e++)if(n[e]===this)return n[e+1]}return null},getParent:function(){return this.parent},getParentList:function(e,t){for(var n=[],r=t?this:this.parent;r;)(e||r.parent)&&n.unshift(r),r=r.parent;return n},getPath:function(e,t,n){e=!1!==e,t=t||"title",n=n||"/";var r,i=[],o=w.isFunction(t);return this.visitParents(function(e){e.parent&&(r=o?t(e):e[t],i.unshift(r))},e),i.join(n)},getPrevSibling:function(){if(this.parent){var e,t,n=this.parent.children;for(e=1,t=n.length;e<t;e++)if(n[e]===this)return n[e-1]}return null},getSelectedNodes:function(t){var n=[];return this.visit(function(e){if(e.selected&&(n.push(e),!0===t))return"skip"}),n},hasChildren:function(){return this.lazy?null==this.children?undefined:0!==this.children.length&&(1!==this.children.length||!this.children[0].isStatusNode()||undefined):!(!this.children||!this.children.length)},hasFocus:function(){return this.tree.hasFocus()&&this.tree.focusNode===this},info:function(e){3<=this.tree.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("info",arguments))},isActive:function(){return this.tree.activeNode===this},isBelowOf:function(e){return this.getIndexHier(".",5)>e.getIndexHier(".",5)},isChildOf:function(e){return this.parent&&this.parent===e},isDescendantOf:function(e){if(!e||e.tree!==this.tree)return!1;for(var t=this.parent;t;){if(t===e)return!0;t===t.parent&&w.error("Recursive parent link: "+t),t=t.parent}return!1},isExpanded:function(){return!!this.expanded},isFirstSibling:function(){var e=this.parent;return!e||e.children[0]===this},isFolder:function(){return!!this.folder},isLastSibling:function(){var e=this.parent;return!e||e.children[e.children.length-1]===this},isLazy:function(){return!!this.lazy},isLoaded:function(){return!this.lazy||this.hasChildren()!==undefined},isLoading:function(){return!!this._isLoading},isRoot:function(){return this.isRootNode()},isPartsel:function(){return!this.selected&&!!this.partsel},isPartload:function(){return!!this.partload},isRootNode:function(){return this.tree.rootNode===this},isSelected:function(){return!!this.selected},isStatusNode:function(){return!!this.statusNodeType},isPagingNode:function(){return"paging"===this.statusNodeType},isTopLevel:function(){return this.tree.rootNode===this.parent},isUndefined:function(){return this.hasChildren()===undefined},isVisible:function(){var e,t,n=this.tree.enableFilter,r=this.getParentList(!1,!1);if(n&&!this.match&&!this.subMatchCount)return this.debug("isVisible: HIDDEN ("+n+", "+this.match+", "+this.match+")"),!1;for(e=0,t=r.length;e<t;e++)if(!r[e].expanded)return this.debug("isVisible: HIDDEN (parent collapsed)"),!1;return this.debug("isVisible: VISIBLE"),!0},lazyLoad:function(e){return this.warn("FancytreeNode.lazyLoad() is deprecated since 2014-02-16. Use .load() instead."),this.load(e)},load:function(e){var t,n,r=this,i=this.isExpanded();return k(this.isLazy(),"load() requires a lazy node"),e||this.isUndefined()?(this.isLoaded()&&this.resetLazy(),!1===(n=this.tree._triggerNodeEvent("lazyLoad",this))?E(this):(k("boolean"!=typeof n,"lazyLoad event must return source in data.result"),t=this.tree._callHook("nodeLoadChildren",this,n),i?(this.expanded=!0,t.always(function(){r.render()})):t.always(function(){r.renderStatus()}),t)):E(this)},makeVisible:function(e){var t,n=this,r=[],i=new w.Deferred,o=this.getParentList(!1,!1),a=o.length,s=!(e&&!0===e.noAnimation),c=!(e&&!1===e.scrollIntoView);for(t=a-1;0<=t;t--)r.push(o[t].setExpanded(!0,e));return w.when.apply(w,r).done(function(){c?n.scrollIntoView(s).done(function(){i.resolve()}):i.resolve()}),i.promise()},moveTo:function(t,e,n){e===undefined||"over"===e?e="child":"firstChild"===e&&(t.children&&t.children.length?(e="before",t=t.children[0]):e="child");var r,i=this.tree,o=this.parent,a="child"===e?t:t.parent;if(this!==t){if(this.parent?a.isDescendantOf(this)&&w.error("Cannot move a node to its own descendant"):w.error("Cannot move system root"),a!==o&&o.triggerModifyChild("remove",this),1===this.parent.children.length){if(this.parent===a)return;this.parent.children=this.parent.lazy?[]:null,this.parent.expanded=!1}else k(0<=(r=w.inArray(this,this.parent.children)),"invalid source parent"),this.parent.children.splice(r,1);if((this.parent=a).hasChildren())switch(e){case"child":a.children.push(this);break;case"before":k(0<=(r=w.inArray(t,a.children)),"invalid target parent"),a.children.splice(r,0,this);break;case"after":k(0<=(r=w.inArray(t,a.children)),"invalid target parent"),a.children.splice(r+1,0,this);break;default:w.error("Invalid mode "+e)}else a.children=[this];n&&t.visit(n,!0),a===o?a.triggerModifyChild("move",this):a.triggerModifyChild("add",this),i!==t.tree&&(this.warn("Cross-tree moveTo is experimental!"),this.visit(function(e){e.tree=t.tree},!0)),i._callHook("treeStructureChanged",i,"moveTo"),o.isDescendantOf(a)||o.render(),a.isDescendantOf(o)||a===o||a.render()}},navigate:function(e,t){var n,r=w.ui.keyCode;switch(e){case"left":case r.LEFT:if(this.expanded)return this.setExpanded(!1);break;case"right":case r.RIGHT:if(!this.expanded&&(this.children||this.lazy))return this.setExpanded()}if(n=this.findRelatedNode(e)){try{n.makeVisible({scrollIntoView:!1})}catch(i){}return!1===t?n.setFocus():n.setActive()}return this.warn("Could not find related node '"+e+"'."),E()},remove:function(){return this.parent.removeChild(this)},removeChild:function(e){return this.tree._callHook("nodeRemoveChild",this,e)},removeChildren:function(){return this.tree._callHook("nodeRemoveChildren",this)},removeClass:function(e){return this.toggleClass(e,!1)},render:function(e,t){return this.tree._callHook("nodeRender",this,e,t)},renderTitle:function(){return this.tree._callHook("nodeRenderTitle",this)},renderStatus:function(){return this.tree._callHook("nodeRenderStatus",this)},replaceWith:function(e){var t,n=this.parent,r=w.inArray(this,n.children),i=this;return k(this.isPagingNode(),"replaceWith() currently requires a paging status node"),(t=this.tree._callHook("nodeLoadChildren",this,e)).done(function(e){var t=i.children;for(o=0;o<t.length;o++)t[o].parent=n;n.children.splice.apply(n.children,[r+1,0].concat(t)),i.children=null,i.remove(),n.render()}).fail(function(){i.setExpanded()}),t},resetLazy:function(){this.removeChildren(),this.expanded=!1,this.lazy=!0,this.children=undefined,this.renderStatus()},scheduleAction:function(e,t){this.tree.timer&&(clearTimeout(this.tree.timer),this.tree.debug("clearTimeout(%o)",this.tree.timer)),this.tree.timer=null;var n=this;switch(e){case"cancel":break;case"expand":this.tree.timer=setTimeout(function(){n.tree.debug("setTimeout: trigger expand"),n.setExpanded(!0)},t);break;case"activate":this.tree.timer=setTimeout(function(){n.tree.debug("setTimeout: trigger activate"),n.setActive(!0)},t);break;default:w.error("Invalid mode "+e)}},scrollIntoView:function(e,t){if(t!==undefined&&function b(e){return!(!e.tree||e.statusNodeType===undefined)}(t))throw Error("scrollIntoView() with 'topNode' option is deprecated since 2014-05-08. Use 'options.topNode' instead.");var n=w.extend({effects:!0===e?{duration:200,queue:!1}:e,scrollOfs:this.tree.options.scrollOfs,scrollParent:this.tree.options.scrollParent,topNode:null},t),r=n.scrollParent,i=this.tree.$container,o=i.css("overflow-y");r?r.jquery||(r=w(r)):r=this.tree.tbody?i.scrollParent():"scroll"===o||"auto"===o?i:i.scrollParent(),r[0]!==document&&r[0]!==document.body||(this.debug("scrollIntoView(): normalizing scrollParent to 'window':",r[0]),r=w(window));var a,s,c,l=new w.Deferred,u=this,p=w(this.span).height(),d=n.scrollOfs.top||0,h=n.scrollOfs.bottom||0,f=r.height(),g=r.scrollTop(),m=r,y=r[0]===window,v=n.topNode||null,A=null;return this.isVisible()?(y?(s=w(this.span).offset().top,a=v&&v.span?w(v.span).offset().top:0,m=w("html,body")):(k(r[0]!==document&&r[0]!==document.body,"scrollParent should be a simple element or `window`, not document or body."),c=r.offset().top,s=w(this.span).offset().top-c+g,a=v?w(v.span).offset().top-c+g:0,f-=Math.max(0,r.innerHeight()-r[0].clientHeight)),s<g+d?A=s-d:g+f-h<s+p&&(A=s+p-f+h,v&&(k(v.isRootNode()||v.isVisible(),"topNode must be visible"),a<A&&(A=a-d))),null===A?l.resolveWith(this):n.effects?(n.effects.complete=function(){l.resolveWith(u)},m.stop(!0).animate({scrollTop:A},n.effects)):(m[0].scrollTop=A,l.resolveWith(this)),l.promise()):(this.warn("scrollIntoView(): node is invisible."),E())},setActive:function(e,t){return this.tree._callHook("nodeSetActive",this,e,t)},setExpanded:function(e,t){return this.tree._callHook("nodeSetExpanded",this,e,t)},setFocus:function(e){return this.tree._callHook("nodeSetFocus",this,e)},setSelected:function(e,t){return this.tree._callHook("nodeSetSelected",this,e,t)},setStatus:function(e,t,n){return this.tree._callHook("nodeSetStatus",this,e,t,n)},setTitle:function(e){this.title=e,this.renderTitle(),this.triggerModify("rename")},sortChildren:function(e,t){var n,r,i=this.children;if(i){if(e=e||function(e,t){var n=e.title.toLowerCase(),r=t.title.toLowerCase();return n===r?0:r<n?1:-1},i.sort(e),t)for(n=0,r=i.length;n<r;n++)i[n].children&&i[n].sortChildren(e,"$norender$");"$norender$"!==t&&this.render(),this.triggerModifyChild("sort")}},toDict:function(e,t){var n,r,i,o={},a=this;if(w.each(x,function(e,t){(a[t]||!1===a[t])&&(o[t]=a[t])}),w.isEmptyObject(this.data)||(o.data=w.extend({},this.data),w.isEmptyObject(o.data)&&delete o.data),t&&t(o,a),e&&this.hasChildren())for(o.children=[],n=0,r=this.children.length;n<r;n++)(i=this.children[n]).isStatusNode()||o.children.push(i.toDict(!0,t));return o},toggleClass:function(e,t){var n,r,i=e.match(/\S+/g)||[],o=0,a=!1,s=this[this.tree.statusClassPropName],c=" "+(this.extraClasses||"")+" ";for(s&&w(s).toggleClass(e,t);n=i[o++];)if(r=0<=c.indexOf(" "+n+" "),t=t===undefined?!r:!!t)r||(c+=n+" ",a=!0);else for(;-1<c.indexOf(" "+n+" ");)c=c.replace(" "+n+" "," ");return this.extraClasses=w.trim(c),a},toggleExpanded:function(){return this.tree._callHook("nodeToggleExpanded",this)},toggleSelected:function(){return this.tree._callHook("nodeToggleSelected",this)},toString:function(){return"FancytreeNode@"+this.key+"[title='"+this.title+"']"},triggerModifyChild:function(e,t,n){var r,i=this.tree.options.modifyChild;i&&(t&&t.parent!==this&&w.error("childNode "+t+" is not a child of "+this),r={node:this,tree:this.tree,operation:e,childNode:t||null},n&&w.extend(r,n),i({type:"modifyChild"},r))},triggerModify:function(e,t){this.parent.triggerModifyChild(e,this,t)},visit:function(e,t){var n,r,i=!0,o=this.children;if(!0===t&&(!1===(i=e(this))||"skip"===i))return i;if(o)for(n=0,r=o.length;n<r&&!1!==(i=o[n].visit(e,!0));n++);return i},visitAndLoad:function(n,e,t){var r,i,o,a=this;return!n||!0!==e||!1!==(i=n(a))&&"skip"!==i?a.children||a.lazy?(r=new w.Deferred,o=[],a.load().done(function(){for(var e=0,t=a.children.length;e<t;e++){if(!1===(i=a.children[e].visitAndLoad(n,!0,!0))){r.reject();break}"skip"!==i&&o.push(i)}w.when.apply(this,o).then(function(){r.resolve()})}),r.promise()):E():t?i:E()},visitParents:function(e,t){if(t&&!1===e(this))return!1;for(var n=this.parent;n;){if(!1===e(n))return!1;n=n.parent}return!0},visitSiblings:function(e,t){var n,r,i,o=this.parent.children;for(n=0,r=o.length;n<r;n++)if(i=o[n],(t||i!==this)&&!1===e(i))return!1;return!0},warn:function(e){2<=this.tree.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("warn",arguments))}},N.prototype={_makeHookContext:function(e,t,n){var r,i;return e.node!==undefined?(t&&e.originalEvent!==t&&w.error("invalid args"),r=e):e.tree?r={node:e,tree:i=e.tree,widget:i.widget,options:i.widget.options,originalEvent:t,typeInfo:i.types[e.type]||{}}:e.widget?r={node:null,tree:e,widget:e.widget,options:e.widget.options,originalEvent:t}:w.error("invalid args"),n&&w.extend(r,n),r},_callHook:function(e,t,n){var r=this._makeHookContext(t),i=this[e],o=Array.prototype.slice.call(arguments,2);return w.isFunction(i)||w.error("_callHook('"+e+"') is not a function"),o.unshift(r),i.apply(this,o)},_setExpiringValue:function(e,t,n){this._tempCache[e]={value:t,expire:Date.now()+(+n||50)}},_getExpiringValue:function(e){var t=this._tempCache[e];return t&&t.expire>Date.now()?t.value:(delete this._tempCache[e],null)},_requireExtension:function(e,t,n,r){null!=n&&(n=!!n);var i=this._local.name,o=this.options.extensions,a=w.inArray(e,o)<w.inArray(i,o),s=t&&null==this.ext[e],c=!s&&null!=n&&n!==a;return k(i&&i!==e,"invalid or same name '"+i+"' (require yourself?)"),!s&&!c||(r||(s||t?(r="'"+i+"' extension requires '"+e+"'",c&&(r+=" to be registered "+(n?"before":"after")+" itself")):r="If used together, `"+e+"` must be registered "+(n?"before":"after")+" `"+i+"`"),w.error(r),!1)},activateKey:function(e,t){var n=this.getNodeByKey(e);return n?n.setActive(!0,t):this.activeNode&&this.activeNode.setActive(!1,t),n},addPagingNode:function(e,t){return this.rootNode.addPagingNode(e,t)},applyPatch:function(e){var t,n,r,i,o,a,s=e.length,c=[];for(n=0;n<s;n++)k(2===(r=e[n]).length,"patchList must be an array of length-2-arrays"),i=r[0],o=r[1],(a=null===i?this.rootNode:this.getNodeByKey(i))?(t=new w.Deferred,c.push(t),a.applyPatch(o).always(D(t,a))):this.warn("could not find node with key '"+i+"'");return w.when.apply(w,c).promise()},clear:function(e){this._callHook("treeClear",this)},count:function(){return this.rootNode.countChildren()},debug:function(e){4<=this.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("log",arguments))},enable:function(e){!1===e?this.widget.disable():this.widget.enable()},enableUpdate:function(e){return e=!1!==e,!!this._enableUpdate==!!e?e:((this._enableUpdate=e)?(this.debug("enableUpdate(true): redraw "),this._callHook("treeStructureChanged",this,"enableUpdate"),this.render()):this.debug("enableUpdate(false)..."),!e)},error:function(e){1<=this.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("error",arguments))},expandAll:function(t,n){var e=this.enableUpdate(!1);t=!1!==t,this.visit(function(e){!1!==e.hasChildren()&&e.isExpanded()!==t&&e.setExpanded(t,n)}),this.enableUpdate(e)},findAll:function(e){return this.rootNode.findAll(e)},findFirst:function(e){return this.rootNode.findFirst(e)},findNextNode:function(t,n){var r=null,e=this.getFirstChild();function i(e){if(t(e)&&(r=e),r||e===n)return!1}return t="string"==typeof t?function o(e){var t=new RegExp("^"+e,"i");return function(e){return t.test(e.title)}}(t):t,n=n||e,this.visitRows(i,{start:n,includeSelf:!1}),r||n===e||this.visitRows(i,{start:e,includeSelf:!0}),r},findRelatedNode:function(e,t,n){var r=null,i=w.ui.keyCode;switch(t){case"parent":case i.BACKSPACE:e.parent&&e.parent.parent&&(r=e.parent);break;case"first":case i.HOME:this.visit(function(e){if(e.isVisible())return r=e,!1});break;case"last":case i.END:this.visit(function(e){e.isVisible()&&(r=e)});break;case"left":case i.LEFT:e.expanded?e.setExpanded(!1):e.parent&&e.parent.parent&&(r=e.parent);break;case"right":case i.RIGHT:e.expanded||!e.children&&!e.lazy?e.children&&e.children.length&&(r=e.children[0]):(e.setExpanded(),r=e);break;case"up":case i.UP:this.visitRows(function(e){return r=e,!1},{start:e,reverse:!0,includeSelf:!1});break;case"down":case i.DOWN:this.visitRows(function(e){return r=e,!1},{start:e,includeSelf:!1});break;default:this.tree.warn("Unknown relation '"+t+"'.")}return r},generateFormElements:function(e,t,n){n=n||{};var r,i="string"==typeof e?e:"ft_"+this._id+"[]",o="string"==typeof t?t:"ft_"+this._id+"_active",a="fancytree_result_"+this._id,s=w("#"+a),c=3===this.options.selectMode&&!1!==n.stopOnParents;function l(e){s.append(w("<input>",{type:"checkbox",name:i,value:e.key,checked:!0}))}s.length?s.empty():s=w("<div>",{id:a}).hide().insertAfter(this.$container),!1!==t&&this.activeNode&&s.append(w("<input>",{type:"radio",name:o,value:this.activeNode.key,checked:!0})),n.filter?this.visit(function(e){var t=n.filter(e);if("skip"===t)return t;!1!==t&&l(e)}):!1!==e&&(r=this.getSelectedNodes(c),w.each(r,function(e,t){l(t)}))},getActiveNode:function(){return this.activeNode},getFirstChild:function(){return this.rootNode.getFirstChild()},getFocusNode:function(){return this.focusNode},getOption:function(e){return this.widget.option(e)},getNodeByKey:function(t,e){var n,r;return!e&&(n=document.getElementById(this.options.idPrefix+t))?n.ftnode?n.ftnode:null:(e=e||this.rootNode,r=null,e.visit(function(e){if(e.key===t)return r=e,!1},!0),r)},getRootNode:function(){return this.rootNode},getSelectedNodes:function(e){return this.rootNode.getSelectedNodes(e)},hasFocus:function(){return!!this._hasFocus},info:function(e){3<=this.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("info",arguments))},loadKeyPath:function(e,t){var r,n,i,o=this,a=new w.Deferred,s=this.getRootNode(),c=this.options.keyPathSeparator,l=[],u=w.extend({},t);for("function"==typeof t?r=t:t&&t.callback&&(r=t.callback),u.callback=function(e,t,n){r&&r.call(e,t,n),a.notifyWith(e,[{node:t,status:n}])},null==u.matchKey&&(u.matchKey=function(e,t){return e.key===t}),w.isArray(e)||(e=[e]),n=0;n<e.length;n++)(i=e[n]).charAt(0)===c&&(i=i.substr(1)),l.push(i.split(c));return setTimeout(function(){o._loadKeyPathImpl(a,u,s,l).done(function(){a.resolve()})},0),a.promise()},_loadKeyPathImpl:function(e,o,t,n){var r,i,a,s,c,l,u,p,d,h,f=this;function g(e,t){var n,r,i=e.children;if(i)for(n=0,r=i.length;n<r;n++)if(o.matchKey(i[n],t))return i[n];return null}for(u={},i=0;i<n.length;i++)for(d=n[i],p=t;d.length;){if(a=d.shift(),!(s=g(p,a))){this.warn("loadKeyPath: key not found: "+a+" (parent: "+p+")"),o.callback(this,a,"error");break}if(0===d.length){o.callback(this,s,"ok");break}if(s.lazy&&s.hasChildren()===undefined){o.callback(this,s,"loaded"),u[a=s.key]?u[a].pathSegList.push(d):u[a]={parent:s,pathSegList:[d]};break}o.callback(this,s,"loaded"),p=s}function m(t,n,e){o.callback(f,n,"loading"),n.load().done(function(){f._loadKeyPathImpl.call(f,t,o,n,e).always(D(t,f))}).fail(function(e){f.warn("loadKeyPath: error loading lazy "+n),o.callback(f,s,"error"),t.rejectWith(f)})}for(c in r=[],u)u.hasOwnProperty(c)&&(l=u[c],h=new w.Deferred,r.push(h),m(h,l.parent,l.pathSegList));return w.when.apply(w,r).promise()},reactivate:function(e){var t,n=this.activeNode;return n?(this.activeNode=null,t=n.setActive(!0,{noFocus:!0}),e&&n.setFocus(),t):E()},reload:function(e){return this._callHook("treeClear",this),this._callHook("treeLoad",this,e)},render:function(e,t){return this.rootNode.render(e,t)},selectAll:function(t){this.visit(function(e){e.setSelected(t)})},setFocus:function(e){return this._callHook("treeSetFocus",this,e)},setOption:function(e,t){return this.widget.option(e,t)},toDict:function(e,t){var n=this.rootNode.toDict(!0,t);return e?n:n.children},toString:function(){return"Fancytree@"+this._id},_triggerNodeEvent:function(e,t,n,r){var i=this._makeHookContext(t,n,r),o=this.widget._trigger(e,n,i);return!1!==o&&i.result!==undefined?i.result:o},_triggerTreeEvent:function(e,t,n){var r=this._makeHookContext(this,t,n),i=this.widget._trigger(e,t,r);return!1!==i&&r.result!==undefined?r.result:i},visit:function(e){return this.rootNode.visit(e,!1)},visitRows:function(t,e){if(!this.rootNode.children)return!1;if(e&&e.reverse)return delete e.reverse,this._visitRowsUp(t,e);var n,r,i,o=0,a=!1===(e=e||{}).includeSelf,s=!!e.includeHidden,c=!s&&this.enableFilter,l=e.start||this.rootNode.children[0];for(r=l.parent;r;){for(n=(i=r.children).indexOf(l)+o;n<i.length;n++)if(l=i[n],!c||l.match||l.subMatchCount){if(!a&&!1===t(l))return!1;if(a=!1,l.children&&l.children.length&&(s||l.expanded)&&!1===l.visit(function(e){return!c||e.match||e.subMatchCount?!1!==t(e)&&(s||!e.children||e.expanded?void 0:"skip"):"skip"},!1))return!1}r=(l=r).parent,o=1}return!0},_visitRowsUp:function(e,t){for(var n,r,i,o=!!t.includeHidden,a=t.start||this.rootNode.children[0];;){if((n=(i=a.parent).children)[0]===a){if(!(a=i).parent)break;n=i.children}else for(r=n.indexOf(a),a=n[r-1];(o||a.expanded)&&a.children&&a.children.length;)a=(n=(i=a).children)[n.length-1];if((o||a.isVisible())&&!1===e(a))return!1}},warn:function(e){2<=this.options.debugLevel&&(Array.prototype.unshift.call(arguments,this.toString()),l("warn",arguments))}},w.extend(N.prototype,{nodeClick:function(e){var t,n,r=e.targetType,i=e.node;if("expander"===r){if(i.isLoading())return void i.debug("Got 2nd click while loading: ignored");this._callHook("nodeToggleExpanded",e)}else if("checkbox"===r)this._callHook("nodeToggleSelected",e),e.options.focusOnSelect&&this._callHook("nodeSetFocus",e,!0);else{if(t=!(n=!1),i.folder)switch(e.options.clickFolderMode){case 2:t=!(n=!0);break;case 3:n=t=!0}t&&(this.nodeSetFocus(e),this._callHook("nodeSetActive",e,!0)),n&&this._callHook("nodeToggleExpanded",e)}},nodeCollapseSiblings:function(e,t){var n,r,i,o=e.node;if(o.parent)for(r=0,i=(n=o.parent.children).length;r<i;r++)n[r]!==o&&n[r].expanded&&this._callHook("nodeSetExpanded",n[r],!1,t)},nodeDblclick:function(e){"title"===e.targetType&&4===e.options.clickFolderMode&&this._callHook("nodeToggleExpanded",e),"title"===e.targetType&&e.originalEvent.preventDefault()},nodeKeydown:function(e){var t,n,r,i=e.originalEvent,o=e.node,a=e.tree,s=e.options,c=i.which,l=i.key||String.fromCharCode(c),u=!!(i.altKey||i.ctrlKey||i.metaKey),p=!v[c]&&!y[c]&&!u,d=w(i.target),h=!0,f=!(i.ctrlKey||!s.autoActivate);if(o||(r=this.getActiveNode()||this.getFirstChild())&&(r.setFocus(),(o=e.node=this.focusNode).debug("Keydown force focus on active node")),s.quicksearch&&p&&!d.is(":input:enabled"))return 500<(n=Date.now())-a.lastQuicksearchTime&&(a.lastQuicksearchTerm=""),a.lastQuicksearchTime=n,a.lastQuicksearchTerm+=l,(t=a.findNextNode(a.lastQuicksearchTerm,a.getActiveNode()))&&t.setActive(),void i.preventDefault();switch(g.eventToString(i)){case"+":case"=":a.nodeSetExpanded(e,!0);break;case"-":a.nodeSetExpanded(e,!1);break;case"space":o.isPagingNode()?a._triggerNodeEvent("clickPaging",e,i):g.evalOption("checkbox",o,o,s,!1)?a.nodeToggleSelected(e):a.nodeSetActive(e,!0);break;case"return":a.nodeSetActive(e,!0);break;case"home":case"end":case"backspace":case"left":case"right":case"up":case"down":o.navigate(i.which,f);break;default:h=!1}h&&i.preventDefault()},nodeLoadChildren:function(a,s){var t,n,e,r,c=a.tree,l=a.node,u=Date.now();return w.isFunction(s)&&(s=s.call(c,{type:"source"},a),k(!w.isFunction(s),"source callback must not return another function")),s.url&&(l._requestId&&l.warn("Recursive load request #"+u+" while #"+l._requestId+" is pending."),t=w.extend({},a.options.ajax,s),l._requestId=u,e=t.debugDelay?(n=t.debugDelay,delete t.debugDelay,w.isArray(n)&&(n=n[0]+Math.random()*(n[1]-n[0])),l.warn("nodeLoadChildren waiting debugDelay "+Math.round(n)+" ms ..."),w.Deferred(function(e){setTimeout(function(){w.ajax(t).done(function(){e.resolveWith(this,arguments)}).fail(function(){e.rejectWith(this,arguments)})},n)})):w.ajax(t),s=new w.Deferred,e.done(function(e,t,n){var r,i;if("json"!==this.dataType&&"jsonp"!==this.dataType||"string"!=typeof e||w.error("Ajax request returned a string (did you get the JSON dataType wrong?)."),l._requestId&&l._requestId>u)s.rejectWith(this,[p]);else{if(a.options.postProcess){try{i=c._triggerNodeEvent("postProcess",a,a.originalEvent,{response:e,error:null,dataType:this.dataType})}catch(o){i={error:o,message:""+o,details:"postProcess failed"}}if(i.error)return r=w.isPlainObject(i.error)?i.error:{message:i.error},r=c._makeHookContext(l,null,r),void s.rejectWith(this,[r]);(w.isArray(i)||w.isPlainObject(i)&&w.isArray(i.children))&&(e=i)}else e&&e.hasOwnProperty("d")&&a.options.enableAspx&&(e="string"==typeof e.d?w.parseJSON(e.d):e.d);s.resolveWith(this,[e])}}).fail(function(e,t,n){var r=c._makeHookContext(l,null,{error:e,args:Array.prototype.slice.call(arguments),message:n,details:e.status+": "+n});s.rejectWith(this,[r])})),w.isFunction(s.then)&&w.isFunction(s["catch"])&&(e=s,s=new w.Deferred,e.then(function(e){s.resolve(e)},function(e){s.reject(e)})),w.isFunction(s.promise)?(c.nodeSetStatus(a,"loading"),s.done(function(e){c.nodeSetStatus(a,"ok"),l._requestId=null}).fail(function(e){var t;e!==p?(e.node&&e.error&&e.message?t=e:"[object Object]"===(t=c._makeHookContext(l,null,{error:e,args:Array.prototype.slice.call(arguments),message:e?e.message||e.toString():""})).message&&(t.message=""),l.warn("Load children failed ("+t.message+")",t),!1!==c._triggerNodeEvent("loadError",t,null)&&c.nodeSetStatus(a,"error",t.message,t.details)):l.warn("Ignored response for obsolete load request #"+u+" (expected #"+l._requestId+")")})):a.options.postProcess&&(r=c._triggerNodeEvent("postProcess",a,a.originalEvent,{response:s,error:null,dataType:typeof s}),(w.isArray(r)||w.isPlainObject(r)&&w.isArray(r.children))&&(s=r)),w.when(s).done(function(e){var n,t;w.isPlainObject(e)&&(k(l.isRootNode(),"source may only be an object for root nodes (expecting an array of child objects otherwise)"),k(w.isArray(e.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')"),e=(n=e).children,delete n.children,w.each(d,function(e,t){n[t]!==undefined&&(c[t]=n[t],delete n[t])}),w.extend(c.data,n)),k(w.isArray(e),"expected array of children"),l._setChildren(e),c.options.nodata&&0===e.length&&(w.isFunction(c.options.nodata)?t=c.options.nodata.call(c,{type:"nodata"},a):!0===c.options.nodata&&l.isRootNode()?t=c.options.strings.nodata:"string"==typeof c.options.nodata&&l.isRootNode()&&(t=c.options.nodata),t&&l.setStatus("nodata",t)),c._triggerNodeEvent("loadChildren",l)})},nodeLoadKeyPath:function(e,t){},nodeRemoveChild:function(e,t){var n,r=e.node,i=w.extend({},e,{node:t}),o=r.children;if(1===o.length)return k(t===o[0],"invalid single child"),this.nodeRemoveChildren(e);this.activeNode&&(t===this.activeNode||this.activeNode.isDescendantOf(t))&&this.activeNode.setActive(!1),this.focusNode&&(t===this.focusNode||this.focusNode.isDescendantOf(t))&&(this.focusNode=null),this.nodeRemoveMarkup(i),this.nodeRemoveChildren(i),k(0<=(n=w.inArray(t,o)),"invalid child"),r.triggerModifyChild("remove",t),t.visit(function(e){e.parent=null},!0),this._callHook("treeRegisterNode",this,!1,t),o.splice(n,1)},nodeRemoveChildMarkup:function(e){var t=e.node;t.ul&&(t.isRootNode()?w(t.ul).empty():(w(t.ul).remove(),t.ul=null),t.visit(function(e){e.li=e.ul=null}))},nodeRemoveChildren:function(e){var t=e.tree,n=e.node;n.children&&(this.activeNode&&this.activeNode.isDescendantOf(n)&&this.activeNode.setActive(!1),this.focusNode&&this.focusNode.isDescendantOf(n)&&(this.focusNode=null),this.nodeRemoveChildMarkup(e),n.triggerModifyChild("remove",null),n.visit(function(e){e.parent=null,t._callHook("treeRegisterNode",t,!1,e)}),n.lazy?n.children=[]:n.children=null,n.isRootNode()||(n.expanded=!1),this.nodeRenderStatus(e))},nodeRemoveMarkup:function(e){var t=e.node;t.li&&(w(t.li).remove(),t.li=null),this.nodeRemoveChildMarkup(e)},nodeRender:function(e,t,n,r,i){var o,a,s,c,l,u,p,d=e.node,h=e.tree,f=e.options,g=f.aria,m=!1,y=d.parent,v=!y,A=d.children,b=null;if(!1!==h._enableUpdate&&(v||y.ul)){if(k(v||y.ul,"parent UL must exist"),v||(d.li&&(t||d.li.parentNode!==d.parent.ul)&&(d.li.parentNode===d.parent.ul?b=d.li.nextSibling:this.debug("Unlinking "+d+" (must be child of "+d.parent+")"),this.nodeRemoveMarkup(e)),d.li?this.nodeRenderStatus(e):(m=!0,d.li=document.createElement("li"),(d.li.ftnode=d).key&&f.generateIds&&(d.li.id=f.idPrefix+d.key),d.span=document.createElement("span"),d.span.className="fancytree-node",g&&!d.tr&&w(d.li).attr("role","treeitem"),d.li.appendChild(d.span),this.nodeRenderTitle(e),f.createNode&&f.createNode.call(h,{type:"createNode"},e)),f.renderNode&&f.renderNode.call(h,{type:"renderNode"},e)),A){if(v||d.expanded||!0===n){for(d.ul||(d.ul=document.createElement("ul"),(!0!==r||i)&&d.expanded||(d.ul.style.display="none"),g&&w(d.ul).attr("role","group"),d.li?d.li.appendChild(d.ul):d.tree.$div.append(d.ul)),c=0,l=A.length;c<l;c++)p=w.extend({},e,{node:A[c]}),this.nodeRender(p,t,n,!1,!0);for(o=d.ul.firstChild;o;)o=(s=o.ftnode)&&s.parent!==d?(d.debug("_fixParent: remove missing "+s,o),u=o.nextSibling,o.parentNode.removeChild(o),u):o.nextSibling;for(o=d.ul.firstChild,c=0,l=A.length-1;c<l;c++)(a=A[c])===(s=o.ftnode)?o=o.nextSibling:d.ul.insertBefore(a.li,s.li)}}else d.ul&&(this.warn("remove child markup for "+d),this.nodeRemoveChildMarkup(e));v||m&&y.ul.insertBefore(d.li,b)}},nodeRenderTitle:function(e,t){var n,r,i,o,a,s,c,l=e.node,u=e.tree,p=e.options,d=p.aria,h=l.getLevel(),f=[];t!==undefined&&(l.title=t),l.span&&!1!==u._enableUpdate&&(a=d&&!1!==l.hasChildren()?" role='button'":"",h<p.minExpandLevel?(l.lazy||(l.expanded=!0),1<h&&f.push("<span "+a+" class='fancytree-expander fancytree-expander-fixed'></span>")):f.push("<span "+a+" class='fancytree-expander'></span>"),(n=g.evalOption("checkbox",l,l,p,!1))&&!l.isStatusNode()&&(a=d?" role='checkbox'":"",r="fancytree-checkbox",("radio"===n||l.parent&&l.parent.radiogroup)&&(r+=" fancytree-radio"),f.push("<span "+a+" class='"+r+"'></span>")),l.data.iconClass!==undefined&&(l.icon?w.error("'iconClass' node option is deprecated since v2.14.0: use 'icon' only instead"):(l.warn("'iconClass' node option is deprecated since v2.14.0: use 'icon' instead"),l.icon=l.data.iconClass)),!1!==(i=g.evalOption("icon",l,l,p,!0))&&(a=d?" role='presentation'":"",c=(c=g.evalOption("iconTooltip",l,l,p,null))?" title='"+P(c)+"'":"","string"==typeof i?m.test(i)?(i="/"===i.charAt(0)?i:(p.imagePath||"")+i,f.push("<img src='"+i+"' class='fancytree-icon'"+c+" alt='' />")):f.push("<span "+a+" class='fancytree-custom-icon "+i+"'"+c+"></span>"):i.text?f.push("<span "+a+" class='fancytree-custom-icon "+(i.addClass||"")+"'"+c+">"+g.escapeHtml(i.text)+"</span>"):i.html?f.push("<span "+a+" class='fancytree-custom-icon "+(i.addClass||"")+"'"+c+">"+i.html+"</span>"):f.push("<span "+a+" class='fancytree-icon'"+c+"></span>")),o="",p.renderTitle&&(o=p.renderTitle.call(u,{type:"renderTitle"},e)||""),o||(!0===(s=g.evalOption("tooltip",l,l,p,null))&&(s=l.title),o="<span class='fancytree-title'"+(s=s?" title='"+P(s)+"'":"")+(p.titlesTabbable?" tabindex='0'":"")+">"+(p.escapeTitles?g.escapeHtml(l.title):l.title)+"</span>"),f.push(o),l.span.innerHTML=f.join(""),this.nodeRenderStatus(e),p.enhanceTitle&&(e.$title=w(">span.fancytree-title",l.span),o=p.enhanceTitle.call(u,{type:"enhanceTitle"},e)||""))},nodeRenderStatus:function(e){var t,n=e.node,r=e.tree,i=e.options,o=n.hasChildren(),a=n.isLastSibling(),s=i.aria,c=i._classNames,l=[],u=n[r.statusClassPropName];u&&!1!==r._enableUpdate&&(s&&(t=w(n.tr||n.li)),l.push(c.node),r.activeNode===n&&l.push(c.active),r.focusNode===n&&l.push(c.focused),n.expanded&&l.push(c.expanded),s&&(!1===o?t.removeAttr("aria-expanded"):t.attr("aria-expanded",Boolean(n.expanded))),n.folder&&l.push(c.folder),!1!==o&&l.push(c.hasChildren),a&&l.push(c.lastsib),n.lazy&&null==n.children&&l.push(c.lazy),n.partload&&l.push(c.partload),n.partsel&&l.push(c.partsel),g.evalOption("unselectable",n,n,i,!1)&&l.push(c.unselectable),n._isLoading&&l.push(c.loading),n._error&&l.push(c.error),n.statusNodeType&&l.push(c.statusNodePrefix+n.statusNodeType),n.selected?(l.push(c.selected),s&&t.attr("aria-selected",!0)):s&&t.attr("aria-selected",!1),n.extraClasses&&l.push(n.extraClasses),!1===o?l.push(c.combinedExpanderPrefix+"n"+(a?"l":"")):l.push(c.combinedExpanderPrefix+(n.expanded?"e":"c")+(n.lazy&&null==n.children?"d":"")+(a?"l":"")),l.push(c.combinedIconPrefix+(n.expanded?"e":"c")+(n.folder?"f":"")),u.className=l.join(" "),n.li&&w(n.li).toggleClass(c.lastsib,a))},nodeSetActive:function(e,t,n){n=n||{};var r,i=e.node,o=e.tree,a=e.options,s=!0===n.noEvents,c=!0===n.noFocus,l=!1!==n.scrollIntoView;return i===o.activeNode===(t=!1!==t)?E(i):t&&!s&&!1===this._triggerNodeEvent("beforeActivate",i,e.originalEvent)?S(i,["rejected"]):(t?(o.activeNode&&(k(o.activeNode!==i,"node was active (inconsistency)"),r=w.extend({},e,{node:o.activeNode}),o.nodeSetActive(r,!1),k(null===o.activeNode,"deactivate was out of sync?")),a.activeVisible&&i.makeVisible({scrollIntoView:l}),o.activeNode=i,o.nodeRenderStatus(e),c||o.nodeSetFocus(e),s||o._triggerNodeEvent("activate",i,e.originalEvent)):(k(o.activeNode===i,"node was not active (inconsistency)"),o.activeNode=null,this.nodeRenderStatus(e),s||e.tree._triggerNodeEvent("deactivate",i,e.originalEvent)),E(i))},nodeSetExpanded:function(r,i,e){e=e||{};var t,n,o,a,s,c,l=r.node,u=r.tree,p=r.options,d=!0===e.noAnimation,h=!0===e.noEvents;if(i=!1!==i,l.expanded&&i||!l.expanded&&!i)return E(l);if(i&&!l.lazy&&!l.hasChildren())return E(l);if(!i&&l.getLevel()<p.minExpandLevel)return S(l,["locked"]);if(!h&&!1===this._triggerNodeEvent("beforeExpand",l,r.originalEvent))return S(l,["rejected"]);if(d||l.isVisible()||(d=e.noAnimation=!0),n=new w.Deferred,i&&!l.expanded&&p.autoCollapse){s=l.getParentList(!1,!0),c=p.autoCollapse;try{for(p.autoCollapse=!1,o=0,a=s.length;o<a;o++)this._callHook("nodeCollapseSiblings",s[o],e)}finally{p.autoCollapse=c}}return n.done(function(){var e=l.getLastChild();i&&p.autoScroll&&!d&&e?e.scrollIntoView(!0,{topNode:l}).always(function(){h||r.tree._triggerNodeEvent(i?"expand":"collapse",r)}):h||r.tree._triggerNodeEvent(i?"expand":"collapse",r)}),t=function(e){var t=p._classNames,n=p.toggleEffect;if(l.expanded=i,u._callHook("treeStructureChanged",r,i?"expand":"collapse"),u._callHook("nodeRender",r,!1,!1,!0),l.ul)if("none"!==l.ul.style.display===!!l.expanded)l.warn("nodeSetExpanded: UL.style.display already set");else{if(n&&!d)return w(l.li).addClass(t.animating),void(w.isFunction(w(l.ul)[n.effect])?(u.debug("use jquery."+n.effect+" method"),w(l.ul)[n.effect]({duration:n.duration,always:function(){w(this).removeClass(t.animating),w(l.li).removeClass(t.animating),e()}})):(w(l.ul).stop(!0,!0),w(l.ul).parent().find(".ui-effects-placeholder").remove(),w(l.ul).toggle(n.effect,n.options,n.duration,function(){w(this).removeClass(t.animating),w(l.li).removeClass(t.animating),e()})));l.ul.style.display=l.expanded||!parent?"":"none"}e()},i&&l.lazy&&l.hasChildren()===undefined?l.load().done(function(){n.notifyWith&&n.notifyWith(l,["loaded"]),t(function(){n.resolveWith(l)})}).fail(function(e){t(function(){n.rejectWith(l,["load failed ("+e+")"])})}):t(function(){n.resolveWith(l)}),n.promise()},nodeSetFocus:function(e,t){var n,r=e.tree,i=e.node,o=r.options,a=!!e.originalEvent&&w(e.originalEvent.target).is(":input");if(t=!1!==t,r.focusNode){if(r.focusNode===i&&t)return;n=w.extend({},e,{node:r.focusNode}),r.focusNode=null,this._triggerNodeEvent("blur",n),this._callHook("nodeRenderStatus",n)}t&&(this.hasFocus()||(i.debug("nodeSetFocus: forcing container focus"),this._callHook("treeSetFocus",e,!0,{calledByNode:!0})),i.makeVisible({scrollIntoView:!1}),r.focusNode=i,o.titlesTabbable&&(a||w(i.span).find(".fancytree-title").focus()),o.aria&&w(r.$container).attr("aria-activedescendant",w(i.tr||i.li).uniqueId().attr("id")),this._triggerNodeEvent("focus",e),document.activeElement===r.$container.get(0)||1<=w(document.activeElement,r.$container).length||w(r.$container).focus(),o.autoScroll&&i.scrollIntoView(),this._callHook("nodeRenderStatus",e))},nodeSetSelected:function(e,t,n){n=n||{};var r=e.node,i=e.tree,o=e.options,a=!0===n.noEvents,s=r.parent;if(t=!1!==t,!g.evalOption("unselectable",r,r,o,!1)){if(r._lastSelectIntent=t,!!r.selected===t&&(3!==o.selectMode||!r.partsel||t))return t;if(!a&&!1===this._triggerNodeEvent("beforeSelect",r,e.originalEvent))return!!r.selected;t&&1===o.selectMode?(i.lastSelectedNode&&i.lastSelectedNode.setSelected(!1),r.selected=t):3!==o.selectMode||!s||s.radiogroup||r.radiogroup?s&&s.radiogroup?r.visitSiblings(function(e){e._changeSelectStatusAttrs(t&&e===r)},!0):r.selected=t:(r.selected=t,r.fixSelection3AfterClick(n)),this.nodeRenderStatus(e),i.lastSelectedNode=t?r:null,a||i._triggerNodeEvent("select",e)}},nodeSetStatus:function(r,e,t,n){var i=r.node,o=r.tree;function a(e,t){var n=i.children?i.children[0]:null;return n&&n.isStatusNode()?(w.extend(n,e),n.statusNodeType=t,o._callHook("nodeRenderTitle",n)):(i._setChildren([e]),o._callHook("treeStructureChanged",r,"setStatusNode"),i.children[0].statusNodeType=t,o.render()),i.children[0]}switch(e){case"ok":!function s(){var e=i.children?i.children[0]:null;if(e&&e.isStatusNode()){try{i.ul&&(i.ul.removeChild(e.li),e.li=null)}catch(t){}1===i.children.length?i.children=[]:i.children.shift(),o._callHook("treeStructureChanged",r,"clearStatusNode")}}(),i._isLoading=!1,i._error=null,i.renderStatus();break;case"loading":i.parent||a({title:o.options.strings.loading+(t?" ("+t+")":""),checkbox:!1,tooltip:n},e),i._isLoading=!0,i._error=null,i.renderStatus();break;case"error":a({title:o.options.strings.loadError+(t?" ("+t+")":""),checkbox:!1,tooltip:n},e),i._isLoading=!1,i._error={message:t,details:n},i.renderStatus();break;case"nodata":a({title:t||o.options.strings.noData,checkbox:!1,tooltip:n},e),i._isLoading=!1,i._error=null,i.renderStatus();break;default:w.error("invalid node status "+e)}},nodeToggleExpanded:function(e){return this.nodeSetExpanded(e,!e.node.expanded)},nodeToggleSelected:function(e){var t=e.node,n=!t.selected;return t.partsel&&!t.selected&&!0===t._lastSelectIntent&&(n=!1,t.selected=!0),t._lastSelectIntent=n,this.nodeSetSelected(e,n)},treeClear:function(e){var t=e.tree;t.activeNode=null,t.focusNode=null,t.$div.find(">ul.fancytree-container").empty(),t.rootNode.children=null,t._callHook("treeStructureChanged",e,"clear")},treeCreate:function(e){},treeDestroy:function(e){this.$div.find(">ul.fancytree-container").remove(),this.$source&&this.$source.removeClass("fancytree-helper-hidden")},treeInit:function(e){var n=e.tree,r=n.options;n.$container.attr("tabindex",r.tabindex),w.each(d,function(e,t){r[t]!==undefined&&(n.info("Move option "+t+" to tree"),n[t]=r[t],delete r[t])}),r.checkboxAutoHide&&n.$container.addClass("fancytree-checkbox-auto-hide"),r.rtl?n.$container.attr("DIR","RTL").addClass("fancytree-rtl"):n.$container.removeAttr("DIR").removeClass("fancytree-rtl"),r.aria&&(n.$container.attr("role","tree"),1!==r.selectMode&&n.$container.attr("aria-multiselectable",!0)),this.treeLoad(e)},treeLoad:function(e,t){var n,r,i,o=e.tree,a=e.widget.element,s=w.extend({},e,{node:this.rootNode});if(o.rootNode.children&&this.treeClear(e),t=t||this.options.source)"string"==typeof t&&w.error("Not implemented");else switch(r=a.data("type")||"html"){case"html":(i=a.find(">ul").first()).addClass("ui-fancytree-source fancytree-helper-hidden"),t=w.ui.fancytree.parseHtml(i),this.data=w.extend(this.data,I(i));break;case"json":t=w.parseJSON(a.text()),a.contents().filter(function(){return 3===this.nodeType}).remove(),w.isPlainObject(t)&&(k(w.isArray(t.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')"),t=(n=t).children,delete n.children,w.each(d,function(e,t){n[t]!==undefined&&(o[t]=n[t],delete n[t])}),w.extend(o.data,n));break;default:w.error("Invalid data-type: "+r)}return this.nodeLoadChildren(s,t).done(function(){o._callHook("treeStructureChanged",e,"loadChildren"),o.render(),3===e.options.selectMode&&o.rootNode.fixSelection3FromEndNodes(),o.activeNode&&o.options.activeVisible&&o.activeNode.makeVisible(),o._triggerTreeEvent("init",null,{status:!0})}).fail(function(){o.render(),o._triggerTreeEvent("init",null,{status:!1})})},treeRegisterNode:function(e,t,n){e.tree._callHook("treeStructureChanged",e,t?"addNode":"removeNode")},treeSetFocus:function(e,t,n){var r;(t=!1!==t)!==this.hasFocus()&&(!(this._hasFocus=t)&&this.focusNode?this.focusNode.setFocus(!1):!t||n&&n.calledByNode||w(this.$container).focus(),this.$container.toggleClass("fancytree-treefocus",t),this._triggerTreeEvent(t?"focusTree":"blurTree"),t&&!this.activeNode&&(r=this._lastMousedownNode||this.getFirstChild())&&r.setFocus())},treeSetOption:function(e,t,n){var r=e.tree,i=!0,o=!1,a=!1;switch(t){case"aria":case"checkbox":case"icon":case"minExpandLevel":case"tabindex":a=o=!0;break;case"checkboxAutoHide":r.$container.toggleClass("fancytree-checkbox-auto-hide",!!n);break;case"escapeTitles":case"tooltip":a=!0;break;case"rtl":!1===n?r.$container.removeAttr("DIR").removeClass("fancytree-rtl"):r.$container.attr("DIR","RTL").addClass("fancytree-rtl"),a=!0;break;case"source":i=!1,r._callHook("treeLoad",r,n),a=!0}r.debug("set option "+t+"="+n+" <"+typeof n+">"),i&&(this.widget._super?this.widget._super.call(this.widget,t,n):w.Widget.prototype._setOption.call(this.widget,t,n)),o&&r._callHook("treeCreate",r),a&&r.render(!0,!1)},treeStructureChanged:function(e,t){}}),w.widget("ui.fancytree",{options:{activeVisible:!0,ajax:{type:"GET",cache:!1,dataType:"json"},aria:!0,autoActivate:!0,autoCollapse:!1,autoScroll:!1,checkbox:!1,clickFolderMode:4,debugLevel:null,disabled:!1,enableAspx:!0,escapeTitles:!1,extensions:[],toggleEffect:{effect:"slideToggle",duration:200},generateIds:!1,icon:!0,idPrefix:"ft_",focusOnSelect:!1,keyboard:!0,keyPathSeparator:"/",minExpandLevel:1,nodata:!0,quicksearch:!1,rtl:!1,scrollOfs:{top:0,bottom:0},scrollParent:null,selectMode:2,strings:{loading:"Loading...",loadError:"Load error!",moreData:"More...",noData:"No data."},tabindex:"0",titlesTabbable:!1,tooltip:!1,treeId:null,_classNames:{node:"fancytree-node",folder:"fancytree-folder",animating:"fancytree-animating",combinedExpanderPrefix:"fancytree-exp-",combinedIconPrefix:"fancytree-ico-",hasChildren:"fancytree-has-children",active:"fancytree-active",selected:"fancytree-selected",expanded:"fancytree-expanded",lazy:"fancytree-lazy",focused:"fancytree-focused",partload:"fancytree-partload",partsel:"fancytree-partsel",radio:"fancytree-radio",unselectable:"fancytree-unselectable",lastsib:"fancytree-lastsib",loading:"fancytree-loading",error:"fancytree-error",statusNodePrefix:"fancytree-statusnode-"},lazyLoad:null,postProcess:null},_create:function(){this.tree=new N(this),this.$source=this.source||"json"===this.element.data("type")?this.element:this.element.find(">ul").first();var e,t,n,r=this.options,i=r.extensions;this.tree;for(n=0;n<i.length;n++)t=i[n],(e=w.ui.fancytree._extensions[t])||w.error("Could not apply extension '"+t+"' (it is not registered, did you forget to include it?)"),this.tree.options[t]=u({},e.options,this.tree.options[t]),k(this.tree.ext[t]===undefined,"Extension name must not exist as Fancytree.ext attribute: '"+t+"'"),this.tree.ext[t]={},f(this.tree,0,e,t),e;r.icons!==undefined&&(!0===r.icon?(this.tree.warn("'icons' tree option is deprecated since v2.14.0: use 'icon' instead"),r.icon=r.icons):w.error("'icons' tree option is deprecated since v2.14.0: use 'icon' only instead")),r.iconClass!==undefined&&(r.icon?w.error("'iconClass' tree option is deprecated since v2.14.0: use 'icon' only instead"):(this.tree.warn("'iconClass' tree option is deprecated since v2.14.0: use 'icon' instead"),r.icon=r.iconClass)),r.tabbable!==undefined&&(r.tabindex=r.tabbable?"0":"-1",this.tree.warn("'tabbable' tree option is deprecated since v2.17.0: use 'tabindex='"+r.tabindex+"' instead")),this.tree._callHook("treeCreate",this.tree)},_init:function(){this.tree._callHook("treeInit",this.tree),this._bind()},_setOption:function(e,t){return this.tree._callHook("treeSetOption",this.tree,e,t)},destroy:function(){this._unbind(),this.tree._callHook("treeDestroy",this.tree),w.Widget.prototype.destroy.call(this)},_unbind:function(){var e=this.tree._ns;this.element.off(e),this.tree.$container.off(e),w(document).off(e)},_bind:function(){var a=this,s=this.options,o=this.tree,e=o._ns;this._unbind(),o.$container.on("focusin"+e+" focusout"+e,function(e){var t=g.getNode(e),n="focusin"===e.type;if(!n&&t&&w(e.target).is("a"))t.debug("Ignored focusout on embedded <a> element.");else{if(n){if(o._getExpiringValue("focusin"))return void o.debug("Ignored double focusin.");o._setExpiringValue("focusin",!0,50),t||(t=o._getExpiringValue("mouseDownNode"))&&o.debug("Reconstruct mouse target for focusin from recent event.")}t?o._callHook("nodeSetFocus",o._makeHookContext(t,e),n):o.tbody&&w(e.target).parents("table.fancytree-container > thead").length?o.debug("Ignore focus event outside table body.",e):o._callHook("treeSetFocus",o,n)}}).on("selectstart"+e,"span.fancytree-title",function(e){e.preventDefault()}).on("keydown"+e,function(e){if(s.disabled||!1===s.keyboard)return!0;var t,n=o.focusNode,r=o._makeHookContext(n||o,e),i=o.phase;try{return o.phase="userEvent","preventNav"===(t=n?o._triggerNodeEvent("keydown",n,e):o._triggerTreeEvent("keydown",e))?t=!0:!1!==t&&(t=o._callHook("nodeKeydown",r)),t}finally{o.phase=i}}).on("mousedown"+e,function(e){var t=g.getEventTarget(e);o._lastMousedownNode=t?t.node:null,o._setExpiringValue("mouseDownNode",o._lastMousedownNode)}).on("click"+e+" dblclick"+e,function(e){if(s.disabled)return!0;var t,n=g.getEventTarget(e),r=n.node,i=a.tree,o=i.phase;if(!r)return!0;t=i._makeHookContext(r,e);try{switch(i.phase="userEvent",e.type){case"click":return t.targetType=n.type,r.isPagingNode()?!0===i._triggerNodeEvent("clickPaging",t,e):!1!==i._triggerNodeEvent("click",t,e)&&i._callHook("nodeClick",t);case"dblclick":return t.targetType=n.type,!1!==i._triggerNodeEvent("dblclick",t,e)&&i._callHook("nodeDblclick",t)}}finally{i.phase=o}})},getActiveNode:function(){return this.tree.activeNode},getNodeByKey:function(e){return this.tree.getNodeByKey(e)},getRootNode:function(){return this.tree.rootNode},getTree:function(){return this.tree}}),g=w.ui.fancytree,w.extend(w.ui.fancytree,{version:"2.31.0",buildType:"production",debugLevel:3,_nextId:1,_nextNodeKey:1,_extensions:{},_FancytreeClass:N,_FancytreeNodeClass:_,jquerySupports:{positionMyOfs:function M(e,t,n,r){var i,o,a,s=w.map(w.trim(e).split("."),function(e){return parseInt(e,10)}),c=w.map(Array.prototype.slice.call(arguments,1),function(e){return parseInt(e,10)});for(i=0;i<c.length;i++)if((o=s[i]||0)!==(a=c[i]||0))return a<o;return!0}(w.ui.version,1,9)},assert:function(e,t){return k(e,t)},createTree:function(e,t){return w(e).fancytree(t).fancytree("getTree")},debounce:function(t,n,r,i){var o;return 3===arguments.length&&"boolean"!=typeof r&&(i=r,r=!1),function(){var e=arguments;i=i||this,r&&!o&&n.apply(i,e),clearTimeout(o),o=setTimeout(function(){r||n.apply(i,e),o=null},t)}},debug:function(e){4<=w.ui.fancytree.debugLevel&&l("log",arguments)},error:function(e){1<=w.ui.fancytree.debugLevel&&l("error",arguments)},escapeHtml:function(e){return(""+e).replace(t,function(e){return r[e]})},fixPositionOptions:function(e){if((e.offset||0<=(""+e.my+e.at).indexOf("%"))&&w.error("expected new position syntax (but '%' is not supported)"),!w.ui.fancytree.jquerySupports.positionMyOfs){var t=/(\w+)([+-]?\d+)?\s+(\w+)([+-]?\d+)?/.exec(e.my),n=/(\w+)([+-]?\d+)?\s+(\w+)([+-]?\d+)?/.exec(e.at),r=(t[2]?+t[2]:0)+(n[2]?+n[2]:0),i=(t[4]?+t[4]:0)+(n[4]?+n[4]:0);e=w.extend({},e,{my:t[1]+" "+t[3],at:n[1]+" "+n[3]}),(r||i)&&(e.offset=r+" "+i)}return e},getEventTarget:function(e){var t,n=e&&e.target?e.target.className:"",r={node:this.getNode(e.target),type:undefined};return/\bfancytree-title\b/.test(n)?r.type="title":/\bfancytree-expander\b/.test(n)?r.type=!1===r.node.hasChildren()?"prefix":"expander":/\bfancytree-checkbox\b/.test(n)?r.type="checkbox":/\bfancytree(-custom)?-icon\b/.test(n)?r.type="icon":/\bfancytree-node\b/.test(n)?r.type="title":e&&e.target&&((t=w(e.target)).is("ul[role=group]")?((r.node&&r.node.tree||g).debug("Ignoring click on outer UL."),r.node=null):t.closest(".fancytree-title").length?r.type="title":t.closest(".fancytree-checkbox").length?r.type="checkbox":t.closest(".fancytree-expander").length&&(r.type="expander")),r},getEventTargetType:function(e){return this.getEventTarget(e).type},getNode:function(e){if(e instanceof _)return e;for(e instanceof w?e=e[0]:e.originalEvent!==undefined&&(e=e.target);e;){if(e.ftnode)return e.ftnode;e=e.parentNode}return null},getTree:function(e){var t,n=e;return e instanceof N?e:(e===undefined&&(e=0),"number"==typeof e?e=w(".fancytree-container").eq(e):"string"==typeof e?(e=w("#ft-id-"+n).eq(0)).length||(e=w(n).eq(0)):e instanceof w?e=e.eq(0):e.originalEvent!==undefined&&(e=w(e.target)),(t=(e=e.closest(":ui-fancytree")).data("ui-fancytree")||e.data("fancytree"))?t.tree:null)},evalOption:function(e,t,n,r,i){var o,a,s=t.tree,c=r[e],l=n[e];return w.isFunction(c)?(o={node:t,tree:s,widget:s.widget,options:s.widget.options,typeInfo:s.types[t.type]||{}},null==(a=c.call(s,{type:e},o))&&(a=l)):a=null==l?c:l,null==a&&(a=i),a},setSpanIcon:function(e,t,n){var r=w(e);"string"==typeof n?r.attr("class",t+" "+n):(n.text?r.text(""+n.text):n.html&&(e.innerHTML=n.html),r.attr("class",t+" "+(n.addClass||"")))},eventToString:function(e){var t=e.which,n=e.type,r=[];return e.altKey&&r.push("alt"),e.ctrlKey&&r.push("ctrl"),e.metaKey&&r.push("meta"),e.shiftKey&&r.push("shift"),"click"===n||"dblclick"===n?r.push(a[e.button]+n):"wheel"===n?r.push(n):i[t]||r.push(y[t]||String.fromCharCode(t).toLowerCase()),r.join("+")},info:function(e){3<=w.ui.fancytree.debugLevel&&l("info",arguments)},keyEventToString:function(e){return this.warn("keyEventToString() is deprecated: use eventToString()"),this.eventToString(e)},overrideMethod:function(e,t,n,r){var i,o=e[t]||w.noop;e[t]=function(){var e=r||this;try{return i=e._super,e._super=o,n.apply(e,arguments)}finally{e._super=i}}},parseHtml:function(a){var s,c,l,u,p,d,h,f,e=a.find(">li"),g=[];return e.each(function(){var e,t,n=w(this),r=n.find(">span",this).first(),i=r.length?null:n.find(">a").first(),o={tooltip:null,data:{}};for(r.length?o.title=r.html():i&&i.length?(o.title=i.html(),o.data.href=i.attr("href"),o.data.target=i.attr("target"),o.tooltip=i.attr("title")):(o.title=n.html(),0<=(p=o.title.search(/<ul/i))&&(o.title=o.title.substring(0,p))),o.title=w.trim(o.title),u=0,d=A.length;u<d;u++)o[A[u]]=undefined;for(s=this.className.split(" "),l=[],u=0,d=s.length;u<d;u++)c=s[u],b[c]?o[c]=!0:l.push(c);if(o.extraClasses=l.join(" "),(h=n.attr("title"))&&(o.tooltip=h),(h=n.attr("id"))&&(o.key=h),n.attr("hideCheckbox")&&(o.checkbox=!1),(e=I(n))&&!w.isEmptyObject(e)){for(t in C)e.hasOwnProperty(t)&&(e[C[t]]=e[t],delete e[t]);for(u=0,d=x.length;u<d;u++)h=x[u],null!=(f=e[h])&&(delete e[h],o[h]=f);w.extend(o.data,e)}(a=n.find(">ul").first()).length?o.children=w.ui.fancytree.parseHtml(a):o.children=o.lazy?undefined:null,g.push(o)}),g},registerExtension:function(e){k(null!=e.name,"extensions must have a `name` property."),k(null!=e.version,"extensions must have a `version` property."),w.ui.fancytree._extensions[e.name]=e},unescapeHtml:function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue},warn:function(e){2<=w.ui.fancytree.debugLevel&&l("warn",arguments)}}),w.ui.fancytree}function k(e,t){e||(t=t?": "+t:"",w.error("Fancytree assertion failed"+t))}function l(e,t){var n,r,i=window.console?window.console[e]:null;if(i)try{i.apply(window.console,t)}catch(o){for(r="",n=0;n<t.length;n++)r+=t[n];i(r)}}function u(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length;if("object"==typeof o||w.isFunction(o)||(o={}),a===s)throw Error("need at least two args");for(;a<s;a++)if(null!=(e=arguments[a]))for(t in e)if(e.hasOwnProperty(t)){if(n=o[t],o===(r=e[t]))continue;r&&w.isPlainObject(r)?(i=n&&w.isPlainObject(n)?n:{},o[t]=u(i,r)):r!==undefined&&(o[t]=r)}return o}function h(e,r,t,n,i){var o,a,s,c,l;return o=r[e],a=n[e],s=r.ext[i],c=function(){return o.apply(r,arguments)},l=function(e){return o.apply(r,e)},function(){var e=r._local,t=r._super,n=r._superApply;try{return r._local=s,r._super=c,r._superApply=l,a.apply(r,arguments)}finally{r._local=e,r._super=t,r._superApply=n}}}function f(e,t,n,r){for(var i in n)"function"==typeof n[i]?"function"==typeof e[i]?e[i]=h(i,e,0,n,r):"_"===i.charAt(0)?e.ext[r][i]=h(i,e,0,n,r):w.error("Could not override tree."+i+". Use prefix '_' to create tree."+r+"._"+i):"options"!==i&&(e.ext[r][i]=n[i])}function E(e,t){return e===undefined?w.Deferred(function(){this.resolve()}).promise():w.Deferred(function(){this.resolveWith(e,t)}).promise()}function S(e,t){return e===undefined?w.Deferred(function(){this.reject()}).promise():w.Deferred(function(){this.rejectWith(e,t)}).promise()}function D(e,t){return function(){e.resolveWith(t)}}function I(e){var t=w.extend({},e.data()),n=t.json;return delete t.fancytree,delete t.uiFancytree,n&&(delete t.json,t=w.extend(t,n)),t}function P(e){return(""+e).replace(n,function(e){return r[e]})}function T(t){return t=t.toLowerCase(),function(e){return 0<=e.title.toLowerCase().indexOf(t)}}function _(e,t){var n,r,i,o;for(this.parent=e,this.tree=e.tree,this.ul=null,this.li=null,this.statusNodeType=null,this._isLoading=!1,this._error=null,this.data={},n=0,r=x.length;n<r;n++)this[i=x[n]]=t[i];for(i in null==this.unselectableIgnore&&null==this.unselectableStatus||(this.unselectable=!0),t.hideCheckbox&&w.error("'hideCheckbox' node option was removed in v2.23.0: use 'checkbox: false'"),t.data&&w.extend(this.data,t.data),t)s[i]||w.isFunction(t[i])||c[i]||(this.data[i]=t[i]);null==this.key?this.tree.options.defaultKey?(this.key=this.tree.options.defaultKey(this),k(this.key,"defaultKey() must return a unique key")):this.key="_"+g._nextNodeKey++:this.key=""+this.key,t.active&&(k(null===this.tree.activeNode,"only one active node allowed"),this.tree.activeNode=this),t.selected&&(this.tree.lastSelectedNode=this),(o=t.children)?o.length?this._setChildren(o):this.children=this.lazy?[]:null:this.children=null,this.tree._callHook("treeRegisterNode",this.tree,!0,this)}function N(e){this.widget=e,this.$div=e.element,this.options=e.options,this.options&&(this.options.lazyload!==undefined&&w.error("The 'lazyload' event is deprecated since 2014-02-25. Use 'lazyLoad' (with uppercase L) instead."),this.options.loaderror!==undefined&&w.error("The 'loaderror' event was renamed since 2014-07-03. Use 'loadError' (with uppercase E) instead."),this.options.fx!==undefined&&w.error("The 'fx' option was replaced by 'toggleEffect' since 2014-11-30."),this.options.removeNode!==undefined&&w.error("The 'removeNode' event was replaced by 'modifyChild' since 2.20 (2016-09-10).")),this.ext={},this.types={},this.columns={},this.data=I(this.$div),this._id=""+(this.options.treeId||w.ui.fancytree._nextId++),this._ns=".fancytree-"+this._id,this.activeNode=null,this.focusNode=null,this._hasFocus=null,this._tempCache={},this._lastMousedownNode=null,this._enableUpdate=!0,this.lastSelectedNode=null,this.systemFocusElement=null,this.lastQuicksearchTerm="",this.lastQuicksearchTime=0,this.viewport=null,this.statusClassPropName="span",this.ariaPropName="li",this.nodeContainerAttrName="li",this.$div.find(">ul.fancytree-container").remove();var t,n={tree:this};this.rootNode=new _(n,{title:"root",key:"root_"+this._id,children:null,expanded:!0}),this.rootNode.parent=null,t=w("<ul>",{id:"ft-id-"+this._id,"class":"ui-fancytree fancytree-container fancytree-plain"}).appendTo(this.$div),this.$container=t,this.rootNode.ul=t[0],null==this.options.debugLevel&&(this.options.debugLevel=g.debugLevel)}w.ui.fancytree.warn("Fancytree: ignored duplicate include")},e.exports?e.exports=t(x):t(jQuery)}),w(function(e){var t;t=function(m){var y="__not_found__",v=m.ui.fancytree.escapeHtml;function A(e){return(e+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return m.ui.fancytree._FancytreeClass.prototype._applyFilterImpl=function(r,i,e){var t,n,o,a,s,c,l=0,u=this.options,p=u.escapeTitles,d=u.autoCollapse,h=m.extend({},u.filter,e),f="hide"===h.mode,g=!!h.leavesOnly&&!i;if("string"==typeof r){if(""===r)return this.warn("Fancytree passing an empty string as a filter is handled as clearFilter()."),void this.clearFilter();t=h.fuzzy?r.split("").reduce(function(e,t){return e+"[^"+t+"]*"+t}):A(r),o=new RegExp(".*"+t+".*","i"),a=new RegExp(A(r),"gi"),r=function(e){if(!e.title)return!1;var t=p?e.title:function r(e){return 0<=e.indexOf(">")?m("<div/>").html(e).text():e}(e.title),n=!!o.test(t);return n&&h.highlight&&(p?(s=t.replace(a,function(e){return"￷"+e+"￸"}),e.titleWithHighlight=v(s).replace(/\uFFF7/g,"<mark>").replace(/\uFFF8/g,"</mark>")):e.titleWithHighlight=t.replace(a,function(e){return"<mark>"+e+"</mark>"})),n}}return this.enableFilter=!0,this.lastFilterArgs=arguments,c=this.enableUpdate(!1),this.$div.addClass("fancytree-ext-filter"),f?this.$div.addClass("fancytree-ext-filter-hide"):this.$div.addClass("fancytree-ext-filter-dimm"),this.$div.toggleClass("fancytree-ext-filter-hide-expanders",!!h.hideExpanders),this.visit(function(e){delete e.match,delete e.titleWithHighlight,e.subMatchCount=0}),(n=this.getRootNode()._findDirectChild(y))&&n.remove(),u.autoCollapse=!1,this.visit(function(e){if(!g||null==e.children){var t=r(e),n=!1;if("skip"===t)return e.visit(function(e){e.match=!1},!0),"skip";t||!i&&"branch"!==t||!e.parent.match||(n=t=!0),t&&(l++,e.match=!0,e.visitParents(function(e){e.subMatchCount+=1,!h.autoExpand||n||e.expanded||(e.setExpanded(!0,{noAnimation:!0,noEvents:!0,scrollIntoView:!1}),e._filterAutoExpanded=!0)}))}}),u.autoCollapse=d,0===l&&h.nodata&&f&&(n=h.nodata,m.isFunction(n)&&(n=n()),!0===n?n={}:"string"==typeof n&&(n={title:n}),n=m.extend({statusNodeType:"nodata",key:y,title:this.options.strings.noData},n),this.getRootNode().addNode(n).match=!0),this._callHook("treeStructureChanged",this,"applyFilter"),this.enableUpdate(c),l},m.ui.fancytree._FancytreeClass.prototype.filterNodes=function(e,t){return"boolean"==typeof t&&(t={leavesOnly:t},this.warn("Fancytree.filterNodes() leavesOnly option is deprecated since 2.9.0 / 2015-04-19. Use opts.leavesOnly instead.")),this._applyFilterImpl(e,!1,t)},m.ui.fancytree._FancytreeClass.prototype.filterBranches=function(e,t){return this._applyFilterImpl(e,!0,t)},m.ui.fancytree._FancytreeClass.prototype.clearFilter=function(){var t,e=this.getRootNode()._findDirectChild(y),n=this.options.escapeTitles,r=this.options.enhanceTitle,i=this.enableUpdate(!1);e&&e.remove(),this.visit(function(e){e.match&&e.span&&(t=m(e.span).find(">span.fancytree-title"),n?t.text(e.title):t.html(e.title),r&&r({type:"enhanceTitle"},{node:e,$title:t})),delete e.match,delete e.subMatchCount,delete e.titleWithHighlight,e.$subMatchBadge&&(e.$subMatchBadge.remove(),delete e.$subMatchBadge),e._filterAutoExpanded&&e.expanded&&e.setExpanded(!1,{noAnimation:!0,noEvents:!0,scrollIntoView:!1}),delete e._filterAutoExpanded}),this.enableFilter=!1,this.lastFilterArgs=null,this.$div.removeClass("fancytree-ext-filter fancytree-ext-filter-dimm fancytree-ext-filter-hide"),this._callHook("treeStructureChanged",this,"clearFilter"),this.enableUpdate(i)},m.ui.fancytree._FancytreeClass.prototype.isFilterActive=function(){return!!this.enableFilter},m.ui.fancytree._FancytreeNodeClass.prototype.isMatched=function(){return!(this.tree.enableFilter&&!this.match)},m.ui.fancytree.registerExtension({name:"filter",version:"2.31.0",options:{autoApply:!0,autoExpand:!1,counter:!0,fuzzy:!1,hideExpandedCounter:!0,hideExpanders:!1,highlight:!0,leavesOnly:!1,nodata:!0,mode:"dimm"},nodeLoadChildren:function(e,t){var n=e.tree;return this._superApply(arguments).done(function(){n.enableFilter&&n.lastFilterArgs&&e.options.filter.autoApply&&n._applyFilterImpl.apply(n,n.lastFilterArgs)})},nodeSetExpanded:function(e,t,n){var r=e.node;return delete r._filterAutoExpanded,!t&&e.options.filter.hideExpandedCounter&&r.$subMatchBadge&&r.$subMatchBadge.show(),this._superApply(arguments)},nodeRenderStatus:function(e){var t,n=e.node,r=e.tree,i=e.options.filter,o=m(n.span).find("span.fancytree-title"),a=m(n[r.statusClassPropName]),s=e.options.enhanceTitle,c=e.options.escapeTitles;return t=this._super(e),a.length&&r.enableFilter&&(a.toggleClass("fancytree-match",!!n.match).toggleClass("fancytree-submatch",!!n.subMatchCount).toggleClass("fancytree-hide",!(n.match||n.subMatchCount)),!i.counter||!n.subMatchCount||n.isExpanded()&&i.hideExpandedCounter?n.$subMatchBadge&&n.$subMatchBadge.hide():(n.$subMatchBadge||(n.$subMatchBadge=m("<span class='fancytree-childcounter'/>"),m("span.fancytree-icon, span.fancytree-custom-icon",n.span).append(n.$subMatchBadge)),n.$subMatchBadge.show().text(n.subMatchCount)),!n.span||n.isEditing&&n.isEditing.call(n)||(n.titleWithHighlight?o.html(n.titleWithHighlight):c?o.text(n.title):o.html(n.title),s&&s({type:"enhanceTitle"},{node:n,$title:o}))),t}}),m.ui.fancytree},e.exports?e.exports=t(x):t(jQuery)}),function(){function e(){this.text="",this.bgColor=""}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-tooltip",template:'<ng-container *ngIf="text">\r\n  <div @tooltip [ngStyle]="{\'background-color\': bgColor}" [innerHtml]="text | safeHtml" class="padding-div"></div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf="template">\r\n  <div @tooltip [ngStyle]="{\'background-color\': bgColor}">\r\n    <ng-container *ngTemplateOutlet="template"></ng-container>\r\n  </div>\r\n</ng-container>\r\n',changeDetection:d.ChangeDetectionStrategy.OnPush,host:{"class":"np-tooltip-wrapper"},animations:[s.trigger("tooltip",[s.transition(":enter",[s.style({opacity:0}),s.animate(300,s.style({opacity:1}))]),s.transition(":leave",[s.animate(300,s.style({opacity:0}))])])],styles:[":host{display:block;position:relative}:host div{border-radius:4px;position:relative}:host .padding-div{padding:8px 12px}:host.arrow-top::before{content:'';width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;position:absolute;top:-6px;left:calc(50% - 6px);-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter}:host.arrow-right::before{content:'';width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;position:absolute;right:-6px;top:calc(50% - 6px);-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter}:host.arrow-bottom::before{content:'';width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;position:absolute;bottom:-6px;left:calc(50% - 6px);-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter}:host.arrow-left::before{content:'';width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;position:absolute;left:-6px;top:calc(50% - 6px);-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter}:host.arrow-bottomRight::before{content:'';width:0;height:0;border-left:6px solid transparent;border-bottom:6px solid transparent;position:absolute;-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter;right:3px;bottom:-6px}:host.arrow-bottomLeft::before{content:'';width:0;height:0;border-right:6px solid transparent;border-bottom:6px solid transparent;position:absolute;-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter;left:3px;bottom:-6px}:host.arrow-topRight::before{content:'';width:0;height:0;border-top:6px solid transparent;border-left:6px solid transparent;position:absolute;-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter;right:3px;top:-6px}:host.arrow-topLeft::before{content:'';width:0;height:0;border-top:6px solid transparent;border-right:6px solid transparent;position:absolute;-webkit-animation:.2s linear arrowEnter;animation:.2s linear arrowEnter;left:3px;top:-6px}@-webkit-keyframes arrowEnter{0%{opacity:0}100%{opacity:.7}}@keyframes arrowEnter{0%{opacity:0}100%{opacity:.7}}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={text:[{type:d.Input}],template:[{type:d.Input}],bgColor:[{type:d.Input}]},e}()),k=function(){function e(e,t,n,r){this.overlay=e,this.overlayPositionBuilder=t,this.elementRef=n,this.renderer=r,this.text="",this.position="top",this.bgColor="rgba(73, 89, 106, .7)",this.offsetX=null,this.offsetY=null,this.showArrow=!0,this.trigger="hover",this.withPositions={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetX:0,offsetY:-8}}return e.prototype.ngOnInit=function(){var t=this;this.initWithPositions();var e=this.overlayPositionBuilder.flexibleConnectedTo(this.elementRef).withPositions([this.withPositions]);this.overlayRef=this.overlay.create({positionStrategy:e,hasBackdrop:"click"===this.trigger}),this.overlayRef.backdropClick().subscribe(function(e){t.hide()})},e.prototype.ngAfterViewInit=function(){var e,t=this;"hover"===this.trigger?(this.renderer.listen(this.elementRef.nativeElement,"mouseenter",function(){return t.delayEnterLeave(!0,!0,.15)}),this.renderer.listen(this.elementRef.nativeElement,"mouseleave",function(){t.delayEnterLeave(!0,!1,.1),t.overlayRef&&!e&&(e=t.overlayRef.overlayElement,t.renderer.listen(e,"mouseenter",function(){return t.delayEnterLeave(!1,!0)}),t.renderer.listen(e,"mouseleave",function(){return t.delayEnterLeave(!1,!1)}))})):"click"===this.trigger&&this.renderer.listen(this.elementRef.nativeElement,"click",function(e){e.preventDefault(),t.show()})},e.prototype.initWithPositions=function(){switch(this.position){case"top":this.withPositions={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetX:null===this.offsetX?0:this.offsetX,offsetY:null===this.offsetY?-8:this.offsetY};break;case"right":this.withPositions={originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:null===this.offsetX?8:this.offsetX,offsetY:null===this.offsetY?0:this.offsetY};break;case"bottom":this.withPositions={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetX:null===this.offsetX?0:this.offsetX,offsetY:null===this.offsetY?8:this.offsetY};break;case"left":this.withPositions={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:null===this.offsetX?-8:this.offsetX,offsetY:null===this.offsetY?0:this.offsetY};break;case"topLeft":this.withPositions={originX:"start",originY:"top",overlayX:"end",overlayY:"bottom",offsetX:null===this.offsetX?4:this.offsetX,offsetY:null===this.offsetY?-8:this.offsetY};break;case"topRight":this.withPositions={originX:"end",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:null===this.offsetX?-4:this.offsetX,offsetY:null===this.offsetY?-8:this.offsetY};break;case"bottomLeft":this.withPositions={originX:"start",originY:"bottom",overlayX:"end",overlayY:"top",offsetX:null===this.offsetX?4:this.offsetX,offsetY:null===this.offsetY?8:this.offsetY};break;case"bottomRight":this.withPositions={originX:"end",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:null===this.offsetX?-4:this.offsetX,offsetY:null===this.offsetY?8:this.offsetY}}"top"===this.position&&this.elementRef.nativeElement.classList.add("arrow-bottom")},e.prototype.buildArrow=function(){if(this.overlayRef&&this.overlayRef.hostElement){var e;switch(this.position){case"top":e="arrow-bottom";break;case"right":e="arrow-left";break;case"bottom":e="arrow-top";break;case"left":e="arrow-right";break;case"topLeft":e="arrow-bottomRight";break;case"topRight":e="arrow-bottomLeft";break;case"bottomLeft":e="arrow-topRight";break;case"bottomRight":e="arrow-topLeft"}var t=this.overlayRef.hostElement.getElementsByTagName("np-tooltip")[0];t&&t.classList.add(e)}},e.prototype.delayEnterLeave=function(e,t,n){var r=this;void 0===n&&(n=-1),this.delayTimer?(window.clearTimeout(this.delayTimer),this.delayTimer=null):0<n?this.delayTimer=window.setTimeout(function(){r.delayTimer=null,t?r.show():r.hide()},1e3*n):t&&e?this.show():this.hide()},e.prototype.show=function(){if(!this.overlayRef.hasAttached()){var e=this.overlayRef.attach(new c.ComponentPortal(C));this.text&&(e.instance.text=this.text),this.template&&(e.instance.template=this.template),e.instance.bgColor=this.bgColor,this.showArrow&&this.buildArrow()}},e.prototype.hide=function(){this.overlayRef.hasAttached&&this.overlayRef.detach()},e.decorators=[{type:d.Directive,args:[{selector:"[npTooltip]"}]}],e.ctorParameters=function(){return[{type:a.Overlay},{type:a.OverlayPositionBuilder},{type:d.ElementRef},{type:d.Renderer2}]},e.propDecorators={text:[{type:d.Input,args:["npTooltip"]}],template:[{type:d.Input}],position:[{type:d.Input}],bgColor:[{type:d.Input}],offsetX:[{type:d.Input}],offsetY:[{type:d.Input}],showArrow:[{type:d.Input}],trigger:[{type:d.Input}]},e}(),E=function(){function e(e,t){this.element=e,this.hostView=t,this.npTooltip="",this.direction="right"}return e.prototype.ngOnInit=function(){this.tooltipDom=document.createElement("div"),this.tooltipDom.id="tooltip-container";var e=this.npTooltip.length+"em";20<this.npTooltip.length&&(e="20em"),this.tooltipDom.innerHTML='\n    <span  style="width:'+e+'"  class="tooltip tooltip-right">\n    '+this.npTooltip+"</span>\n    "},e.prototype.onMouseEnter=function(){var e,t=this.element.nativeElement.clientWidth;this.element.nativeElement.clientHeight;switch(this.direction){case"right":e=t+"px",this.tooltipDom.style.left=e}this.element.nativeElement.parentNode.insertBefore(this.tooltipDom,this.element.nativeElement)},e.prototype.onMouseLeave=function(){this.element.nativeElement.parentNode.removeChild(this.tooltipDom)},e.decorators=[{type:d.Directive,args:[{selector:"[npTooltipDeprecated]"}]}],e.ctorParameters=function(){return[{type:d.ElementRef},{type:d.ViewContainerRef}]},e.propDecorators={npTooltip:[{type:d.Input}],direction:[{type:d.Input}],enterDelay:[{type:d.Input}],leaveDelay:[{type:d.Input}],onMouseEnter:[{type:d.HostListener,args:["mouseenter"]}],onMouseLeave:[{type:d.HostListener,args:["mouseleave"]}]},e}(),S=function(e,t){return(S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function D(e,t){function n(){this.constructor=e}S(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var I=function(){return(I=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function P(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function T(n,r){return function(e,t){r(e,t,n)}}function _(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function N(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function M(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}function O(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(M(arguments[t]));return e}
/**
     * @license Angular v7.2.16
     * (c) 2010-2019 Google LLC. https://angular.io/
     * License: MIT
     */
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var R=null;function L(){return R}var B,j=function(a){function e(){var t=a.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var e=["Webkit","Moz","O","ms"],r=0;r<e.length;r++)if(null!=t.getStyle(n,e[r]+"AnimationName")){t._animationPrefix="-"+e[r].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(o){t._animationPrefix=null,t._transitionEnd=null}return t}return D(e,a),e.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},e.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}()),H={"class":"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},z={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Y={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */d.ɵglobal.Node&&(B=d.ɵglobal.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var U,V=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return D(n,e),n.prototype.parse=function(e){throw new Error("parse not implemented")},n.makeCurrent=function(){!function t(e){R||(R=e)}(new n)},n.prototype.hasProperty=function(e,t){return t in e},n.prototype.setProperty=function(e,t,n){e[t]=n},n.prototype.getProperty=function(e,t){return e[t]},n.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,O(n))},n.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},n.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},n.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return H},enumerable:!0,configurable:!0}),n.prototype.contains=function(e,t){return B.call(e,t)},n.prototype.querySelector=function(e,t){return e.querySelector(t)},n.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},n.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},n.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},n.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},n.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},n.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},n.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},n.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},n.prototype.getInnerHTML=function(e){return e.innerHTML},n.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},n.prototype.getOuterHTML=function(e){return e.outerHTML},n.prototype.nodeName=function(e){return e.nodeName},n.prototype.nodeValue=function(e){return e.nodeValue},n.prototype.type=function(e){return e.type},n.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},n.prototype.firstChild=function(e){return e.firstChild},n.prototype.nextSibling=function(e){return e.nextSibling},n.prototype.parentElement=function(e){return e.parentNode},n.prototype.childNodes=function(e){return e.childNodes},n.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},n.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},n.prototype.appendChild=function(e,t){e.appendChild(t)},n.prototype.removeChild=function(e,t){e.removeChild(t)},n.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},n.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},n.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},n.prototype.insertAllBefore=function(t,n,e){e.forEach(function(e){return t.insertBefore(e,n)})},n.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},n.prototype.setInnerHTML=function(e,t){e.innerHTML=t},n.prototype.getText=function(e){return e.textContent},n.prototype.setText=function(e,t){e.textContent=t},n.prototype.getValue=function(e){return e.value},n.prototype.setValue=function(e,t){e.value=t},n.prototype.getChecked=function(e){return e.checked},n.prototype.setChecked=function(e,t){e.checked=t},n.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},n.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},n.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},n.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},n.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},n.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},n.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},n.prototype.createShadowRoot=function(e){return e.createShadowRoot()},n.prototype.getShadowRoot=function(e){return e.shadowRoot},n.prototype.getHost=function(e){return e.host},n.prototype.clone=function(e){return e.cloneNode(!0)},n.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},n.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},n.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},n.prototype.addClass=function(e,t){e.classList.add(t)},n.prototype.removeClass=function(e,t){e.classList.remove(t)},n.prototype.hasClass=function(e,t){return e.classList.contains(t)},n.prototype.setStyle=function(e,t,n){e.style[t]=n},n.prototype.removeStyle=function(e,t){e.style[t]=""},n.prototype.getStyle=function(e,t){return e.style[t]},n.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:0<r.length},n.prototype.tagName=function(e){return e.tagName},n.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var i=n.item(r);t.set(i.name,i.value)}return t},n.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},n.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},n.prototype.getAttribute=function(e,t){return e.getAttribute(t)},n.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},n.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},n.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},n.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},n.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},n.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},n.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},n.prototype.getDefaultDocument=function(){return document},n.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},n.prototype.getTitle=function(e){return e.title},n.prototype.setTitle=function(e,t){e.title=t||""},n.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},n.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},n.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},n.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},n.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},n.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},n.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},n.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},n.prototype.adoptNode=function(e){return document.adoptNode(e)},n.prototype.getHref=function(e){return e.getAttribute("href")},n.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Y.hasOwnProperty(t)&&(t=Y[t]))}return z[t]||t},n.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},n.prototype.getHistory=function(){return window.history},n.prototype.getLocation=function(){return window.location},n.prototype.getBaseHref=function(e){var t=function n(){if(!Q&&!(Q=document.querySelector("base")))return null;return Q.getAttribute("href")}();return null==t?null:function r(e){U||(U=document.createElement("a"));return U.setAttribute("href",e),"/"===U.pathname.charAt(0)?U.pathname:"/"+U.pathname}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */(t)},n.prototype.resetBaseElement=function(){Q=null},n.prototype.getUserAgent=function(){return window.navigator.userAgent},n.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},n.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},n.prototype.getComputedStyle=function(e){return getComputedStyle(e)},n.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},n.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},n.prototype.supportsCookies=function(){return!0},n.prototype.getCookie=function(e){return u.ɵparseCookieValue(document.cookie,e)},n.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},n}(j),Q=null;var W=u.DOCUMENT;
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function G(){return!!window.history.pushState}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var F=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._init(),t}return D(e,n),e.prototype._init=function(){this.location=L().getLocation(),this._history=L().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return L().getBaseHref(this._doc)},e.prototype.onPopState=function(e){L().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},e.prototype.onHashChange=function(e){L().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(e,t,n){G()?this._history.pushState(e,t,n):this.location.hash=n},e.prototype.replaceState=function(e,t,n){G()?this._history.replaceState(e,t,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e=P([d.Injectable(),T(0,d.Inject(W)),_("design:paramtypes",[Object])],e)}(u.PlatformLocation),q=new d.InjectionToken("TRANSITION_ID");
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var Z=[{provide:d.APP_INITIALIZER,useFactory:function Su(n,e,t){return function(){t.get(d.ApplicationInitStatus).donePromise.then(function(){var t=L();Array.prototype.slice.apply(t.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return t.getAttribute(e,"ng-transition")===n}).forEach(function(e){return t.remove(e)})})}},deps:[q,W,d.Injector],multi:!0}],K=function(){function e(){}return e.init=function(){d.setTestabilityGetter(new e)},e.prototype.addToWindow=function(r){d.ɵglobal.getAngularTestability=function(e,t){void 0===t&&(t=!0);var n=r.findTestabilityInTree(e,t);if(null==n)throw new Error("Could not find testability for element.");return n},d.ɵglobal.getAllAngularTestabilities=function(){return r.getAllTestabilities()},d.ɵglobal.getAllAngularRootElements=function(){return r.getAllRootElements()};d.ɵglobal.frameworkStabilizers||(d.ɵglobal.frameworkStabilizers=[]),d.ɵglobal.frameworkStabilizers.push(function(t){var e=d.ɵglobal.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(e){e.whenStable(i)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?L().isShadowRoot(t)?this.findTestabilityInTree(e,L().getHost(t),!0):this.findTestabilityInTree(e,L().parentElement(t),!0):null},e}();
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */
function J(e,t){"undefined"!=typeof COMPILED&&COMPILED||((d.ɵglobal.ng=d.ɵglobal.ng||{})[e]=t)}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var X={ApplicationRef:d.ApplicationRef,NgZone:d.NgZone};function $(e){return d.getDebugNode(e)}var ee=[{provide:d.APP_INITIALIZER,useFactory:function Du(e){return J("probe",$),J("coreTokens",I({},X,function t(e){return e.reduce(function(e,t){return e[t.name]=t.token,e},{})}(e||[]))),function(){return $}},deps:[[d.NgProbeToken,new d.Optional]],multi:!0}],te=new d.InjectionToken("EventManagerPlugins"),ne=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)},e=P([d.Injectable(),T(0,d.Inject(te)),_("design:paramtypes",[Array,d.NgZone])],e)}(),re=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=L().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),ie=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e=P([d.Injectable()],e)}(),oe=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._hostNodes=new Set,t._styleNodes=new Set,t._hostNodes.add(e.head),t}return D(e,n),e.prototype._addStylesToHost=function(e,n){var r=this;e.forEach(function(e){var t=r._doc.createElement("style");t.textContent=e,r._styleNodes.add(n.appendChild(t))})},e.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},e.prototype.removeHost=function(e){this._hostNodes["delete"](e)},e.prototype.onStylesAdded=function(t){var n=this;this._hostNodes.forEach(function(e){return n._addStylesToHost(t,e)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return L().remove(e)})},e=P([d.Injectable(),T(0,d.Inject(W)),_("design:paramtypes",[Object])],e)}(ie),ae={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},se=/%COMP%/g,ce="_nghost-%COMP%",le="_ngcontent-%COMP%";
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function ue(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?ue(e,i,n):(i=i.replace(se,e),n.push(i))}return n}function pe(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var de=function(){function e(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case d.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new ye(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case d.ViewEncapsulation.Native:case d.ViewEncapsulation.ShadowDom:return new ve(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=ue(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e=P([d.Injectable(),T(2,d.Inject(d.APP_ID)),_("design:paramtypes",[ne,oe,String])],e)}(),he=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(ae[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var i=ae[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=ae[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&d.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&d.RendererStyleFlags2.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&d.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){ge(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return ge(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,pe(n)):this.eventManager.addEventListener(e,t,pe(n))},e}(),fe="@".charCodeAt(0);function ge(e,t){if(e.charCodeAt(0)===fe)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var me,ye=function(c){function e(e,t,n,r){var i=c.call(this,e)||this,o=ue(r+"-"+(i.component=n).id,n.styles,[]);return t.addStyles(o),i.contentAttr=function a(e){return le.replace(se,e)}(r+"-"+n.id),i.hostAttr=function s(e){return ce.replace(se,e)}(r+"-"+n.id),i}return D(e,c),e.prototype.applyToHost=function(e){c.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,t){var n=c.prototype.createElement.call(this,e,t);return c.prototype.setAttribute.call(this,n,this.contentAttr,""),n},e}(he),ve=function(c){function e(e,t,n,r){var i=c.call(this,e)||this;i.sharedStylesHost=t,i.hostEl=n,(i.component=r).encapsulation===d.ViewEncapsulation.ShadowDom?i.shadowRoot=n.attachShadow({mode:"open"}):i.shadowRoot=n.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var o=ue(r.id,r.styles,[]),a=0;a<o.length;a++){var s=document.createElement("style");s.textContent=o[a],i.shadowRoot.appendChild(s)}return i}return D(e,c),e.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,t){return c.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.insertBefore=function(e,t,n){return c.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),t,n)},e.prototype.removeChild=function(e,t){return c.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(c.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(he),Ae="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},be=Ae("addEventListener"),we=Ae("removeEventListener"),xe={},Ce="removeEventListener",ke="__zone_symbol__propagationStopped",Ee="__zone_symbol__stopImmediatePropagation",Se="undefined"!=typeof Zone&&Zone[Ae("BLACK_LISTED_EVENTS")];Se&&(me={},Se.forEach(function(e){me[e]=e}));var De=function(e){return!!me&&me.hasOwnProperty(e)},Ie=function(e){var t=xe[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==e[ke];o++){var a;(a=i[o]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Pe=function(i){function e(e,t,n){var r=i.call(this,e)||this;return r.ngZone=t,n&&u.isPlatformServer(n)||r.patchEvent(),r}return D(e,i),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype[Ee]){var e=Event.prototype[Ee]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[ke]=!0),e&&e.apply(this,arguments)}}},e.prototype.supports=function(e){return!0},e.prototype.addEventListener=function(e,t,n){var r=this,i=e[be],o=n;if(!i||d.NgZone.isInAngularZone()&&!De(t))e.addEventListener(t,o,!1);else{var a=xe[t];a||(a=xe[t]=Ae("ANGULAR"+t+"FALSE"));var s=e[a],c=s&&0<s.length;s||(s=e[a]=[]);var l=De(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:l,handler:o});else{for(var u=!1,p=0;p<s.length;p++)if(s[p].handler===o){u=!0;break}u||s.push({zone:l,handler:o})}c||e[be](t,Ie,!1)}return function(){return r.removeEventListener(e,t,o)}},e.prototype.removeEventListener=function(e,t,n){var r=e[we];if(!r)return e[Ce].apply(e,[t,n,!1]);var i=xe[t],o=i&&e[i];if(!o)return e[Ce].apply(e,[t,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(e,[t,Ie,!1]):e[Ce].apply(e,[t,n,!1])},e=P([d.Injectable(),T(0,d.Inject(W)),T(2,d.Optional()),T(2,d.Inject(d.PLATFORM_ID)),_("design:paramtypes",[Object,d.NgZone,Object])],e)}(re),Te={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},_e=new d.InjectionToken("HammerGestureConfig"),Ne=new d.InjectionToken("HammerLoader"),Me=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e=P([d.Injectable()],e)}(),Oe=function(o){function e(e,t,n,r){var i=o.call(this,e)||this;return i._config=t,i.console=n,i.loader=r,i}return D(e,o),e.prototype.supports=function(e){return!(!Te.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!(!window.Hammer&&!this.loader)||(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),!1))},e.prototype.addEventListener=function(n,r,i){var o=this,a=this.manager.getZone();if(r=r.toLowerCase(),window.Hammer||!this.loader)return a.runOutsideAngular(function(){var e=o._config.buildHammer(n),t=function(e){a.runGuarded(function(){i(e)})};return e.on(r,t),function(){e.off(r,t),"function"==typeof e.destroy&&e.destroy()}});var e=!1,t=function(){e=!0};return this.loader().then(function(){if(!window.Hammer)return o.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(t=function(){});e||(t=o.addEventListener(n,r,i))})["catch"](function(){o.console.warn('The "'+r+'" event cannot be bound because the custom Hammer.JS loader failed.'),t=function(){}}),function(){t()}},e.prototype.isCustomEvent=function(e){return-1<this._config.events.indexOf(e)},e=P([d.Injectable(),T(0,d.Inject(W)),T(1,d.Inject(_e)),T(3,d.Optional()),T(3,d.Inject(Ne)),_("design:paramtypes",[Object,Me,d.ɵConsole,Object])],e)}(re),Re=["alt","control","meta","shift"],Le={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Be=function(t){function e(e){return t.call(this,e)||this}var a;return D(e,t),(a=e).prototype.supports=function(e){return null!=a.parseEventName(e)},e.prototype.addEventListener=function(e,t,n){var r=a.parseEventName(t),i=a.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return L().onAndCancel(e,r.domEventName,i)})},e.parseEventName=function(e){var n=e.toLowerCase().split("."),t=n.shift();if(0===n.length||"keydown"!==t&&"keyup"!==t)return null;var r=a._normalizeKey(n.pop()),i="";if(Re.forEach(function(e){var t=n.indexOf(e);-1<t&&(n.splice(t,1),i+=e+".")}),i+=r,0!=n.length||0===r.length)return null;var o={};return o.domEventName=t,o.fullKey=i,o},e.getEventFullKey=function(t){var n="",r=L().getEventKey(t);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),Re.forEach(function(e){e!=r&&((0,Le[e])(t)&&(n+=e+"."))}),n+=r},e.eventCallback=function(t,n,r){return function(e){a.getEventFullKey(e)===t&&r.runGuarded(function(){return n(e)})}},e._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},e=a=P([d.Injectable(),T(0,d.Inject(W)),_("design:paramtypes",[Object])],e)}(re),je=function Iu(){},He=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t}return D(e,n),e.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case d.SecurityContext.NONE:return t;case d.SecurityContext.HTML:return t instanceof Ye?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),d.ɵ_sanitizeHtml(this._doc,String(t)));case d.SecurityContext.STYLE:return t instanceof Ue?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),d.ɵ_sanitizeStyle(t));case d.SecurityContext.SCRIPT:if(t instanceof Ve)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case d.SecurityContext.URL:return t instanceof We||t instanceof Qe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),d.ɵ_sanitizeUrl(String(t)));case d.SecurityContext.RESOURCE_URL:if(t instanceof We)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(e,t){if(e instanceof ze)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(e){return new Ye(e)},e.prototype.bypassSecurityTrustStyle=function(e){return new Ue(e)},e.prototype.bypassSecurityTrustScript=function(e){return new Ve(e)},e.prototype.bypassSecurityTrustUrl=function(e){return new Qe(e)},e.prototype.bypassSecurityTrustResourceUrl=function(e){return new We(e)},e=P([d.Injectable(),T(0,d.Inject(W)),_("design:paramtypes",[Object])],e)}(je),ze=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(ze),Ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.getTypeName=function(){return"Style"},t}(ze),Ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.getTypeName=function(){return"Script"},t}(ze),Qe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.getTypeName=function(){return"URL"},t}(ze),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(ze),Ge=[{provide:d.PLATFORM_ID,useValue:u.ɵPLATFORM_BROWSER_ID},{provide:d.PLATFORM_INITIALIZER,useValue:function Pu(){V.makeCurrent(),K.init()},multi:!0},{provide:u.PlatformLocation,useClass:F,deps:[W]},{provide:W,useFactory:function Tu(){return document},deps:[]}],Fe=[{provide:d.Sanitizer,useExisting:je},{provide:je,useClass:He,deps:[W]}];d.createPlatformFactory(d.platformCore,"browser",Ge);var qe=[Fe,{provide:d.ɵAPP_ROOT,useValue:!0},{provide:d.ErrorHandler,useFactory:function _u(){return new d.ErrorHandler},deps:[]},{provide:te,useClass:Pe,multi:!0,deps:[W,d.NgZone,d.PLATFORM_ID]},{provide:te,useClass:Be,multi:!0,deps:[W]},{provide:te,useClass:Oe,multi:!0,deps:[W,_e,d.ɵConsole,[new d.Optional,Ne]]},{provide:_e,useClass:Me,deps:[]},{provide:de,useClass:de,deps:[ne,oe,d.APP_ID]},{provide:d.RendererFactory2,useExisting:de},{provide:ie,useExisting:oe},{provide:oe,useClass:oe,deps:[W]},{provide:d.Testability,useClass:d.Testability,deps:[d.NgZone]},{provide:ne,useClass:ne,deps:[te,d.NgZone]},ee];!function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;(t=e).withServerTransition=function(e){return{ngModule:t,providers:[{provide:d.APP_ID,useValue:e.appId},{provide:q,useExisting:d.APP_ID},Z]}},e=t=P([d.NgModule({providers:qe,exports:[u.CommonModule,d.ApplicationModule]}),T(0,d.Optional()),T(0,d.SkipSelf()),T(0,d.Inject(t)),_("design:paramtypes",[Object])],e)}();function Ze(){return new Ke(d.inject(W))}var Ke=function(){function e(e){this._doc=e,this._dom=L()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,n){var r=this;return void 0===n&&(n=!1),e?e.reduce(function(e,t){return t&&e.push(r._getOrCreateElement(t,n)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var i=this._dom.createElement("meta");this._setMetaElementAttributes(e,i);var o=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(o,i),i},e.prototype._setMetaElementAttributes=function(t,n){var r=this;return Object.keys(t).forEach(function(e){return r._dom.setAttribute(n,e,t[e])}),n},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(t,n){var r=this;return Object.keys(t).every(function(e){return r._dom.getAttribute(n,e)===t[e]})},e.ngInjectableDef=d.defineInjectable({factory:Ze,token:e,providedIn:"root"}),e=P([d.Injectable({providedIn:"root",useFactory:Ze,deps:[]}),T(0,d.Inject(W)),_("design:paramtypes",[Object])],e)}();function Je(){return new Xe(d.inject(W))}var Xe=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return L().getTitle(this._doc)},e.prototype.setTitle=function(e){L().setTitle(this._doc,e)},e.ngInjectableDef=d.defineInjectable({factory:Je,token:e,providedIn:"root"}),e=P([d.Injectable({providedIn:"root",useFactory:Je,deps:[]}),T(0,d.Inject(W)),_("design:paramtypes",[Object])],e)}();var $e=function(){function e(){this.store={},this.onSerializeCallbacks={}}var n;return(n=e).init=function(e){var t=new n;return t.store=e,t},e.prototype.get=function(e,t){return this.store[e]!==undefined?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},e=n=P([d.Injectable()],e)}();function et(e,t){var n=e.getElementById(t+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(function i(e){var t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,function(e){return t[e]})}(n.textContent))}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return $e.init(r)}(function(){function e(){}e=P([d.NgModule({providers:[{provide:$e,useFactory:et,deps:[W,d.APP_ID]}]})],e)})(),new d.Version("7.2.16")
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */;var tt=function(){function e(e){this.sanitized=e}return e.prototype.transform=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return this.sanitized.bypassSecurityTrustHtml(e)},e.decorators=[{type:d.Pipe,args:[{name:"safeHtml"}]}],e.ctorParameters=function(){return[{type:je}]},e}(),nt=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],declarations:[E,tt],exports:[E,tt]}]}],e}(),rt=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule,a.OverlayModule,nt],declarations:[C,k],exports:[C,k],entryComponents:[C]}]}],e}(),it=function(){function e(){this.display="flex",this.position="bottomRight",this.onItemClicked=new d.EventEmitter,this.itemsInKebab=[],this.itemsOutKebab=[],this.isDropdownVisible=!1}return e.prototype.ngOnInit=function(){this.buildKebabItems()},e.prototype.onKebabItemClicked=function(e,t,n){void 0===n&&(n=!1),this.onItemClicked.emit({$event:e,item:t}),n&&this.dropdownTooltip&&this.dropdownTooltip.hide()},e.prototype.buildKebabItems=function(){if(!this.data||!this.data.items)throw new Error("Invalid data");return this.data.items.forEach(function(e){e.id!==undefined&&null!==e.id||(e.id=m.ID())}),this.data.limit?0<this.data.limit&&0<this.data.items.length?(this.data.limit=this.data.limit>this.data.items.length?this.data.items.length:this.data.limit,this.itemsOutKebab=this.data.items.slice(0,this.data.items.length-this.data.limit)||[],void(this.itemsInKebab=this.data.items.slice(this.itemsOutKebab.length,this.data.items.length)||[])):void 0:(this.itemsOutKebab=this.data.items||[],void(this.itemsInKebab=[]))},e.decorators=[{type:d.Component,args:[{selector:"np-kebab",template:'<div class="np-kebab-wrapper flex-wrap row-flex" [style.display]="display">\r\n  \x3c!-- items out of kebab --\x3e\r\n  <span *ngFor="let item of itemsOutKebab" [ngClass]="{\'interact-expand\': item.type !== \'separator\'}"\r\n    [style.color]="item.color" (click)="onKebabItemClicked($event, item)">\r\n    <ng-container *ngIf="!item.type || item.type === \'text\'">{{ item.value }}</ng-container>\r\n    <ng-container *ngIf="item.type === \'icon\'"><i [ngClass]="item.value"></i></ng-container>\r\n    <ng-container *ngIf="item.type === \'separator\'">|</ng-container>\r\n  </span>\r\n\r\n  \x3c!-- items in kebab --\x3e\r\n  <ng-container *ngIf="data.limit">\r\n    <span npTooltip [template]="dropdownTemplate" trigger="click" [position]="position" bgColor="transparent"\r\n      [showArrow]="false" style="cursor: pointer;"><i class="fas fa-ellipsis-v" style="font-size: 14px;"></i></span>\r\n    <ng-template #dropdownTemplate>\r\n      <div class="flex-wrap col-flex kebab-dropdown-container">\r\n        <span *ngFor="let item of itemsInKebab" [ngClass]="{\'h-line\': item.type === \'separator\'}"\r\n          (click)="onKebabItemClicked($event, item, true)">\r\n          <ng-container *ngIf="!item.type || item.type === \'text\'">{{ item.value }}</ng-container>\r\n          <ng-container *ngIf="item.type === \'icon\'"><i [ngClass]="item.value"></i></ng-container>\r\n        </span>\r\n      </div>\r\n    </ng-template>\r\n  </ng-container>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:0}.kebab-dropdown-container{padding:5px 8px;border-radius:5px}.kebab-dropdown-container>span{padding:5px 8px;cursor:pointer}.kebab-dropdown-container .h-line{margin-bottom:4px;padding-top:0;height:0}.np-kebab-wrapper>span{padding:5px 8px}.np-kebab-wrapper .interact-expand{cursor:pointer;font-size:14px;font-weight:400;display:inline-block}.np-kebab-wrapper .interact-expand:hover{transform:scale(1.05);transition:transform ease-in-out}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={data:[{type:d.Input}],display:[{type:d.Input}],position:[{type:d.Input}],onItemClicked:[{type:d.Output}],dropdownTooltip:[{type:d.ViewChild,args:[k]}]},e}(),ot=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,rt],declarations:[it],exports:[it],entryComponents:[it]}]}],e}(),at=require("jquery"),st=require("jquery.fancytree"),ct=function(){function e(e){this.injector=e,this.onNpTreeInit=new d.EventEmitter,this.onNpTreeNodeActivate=new d.EventEmitter,this.onNpTreeNodeClick=new d.EventEmitter,this.onNpTreeNodeSelect=new d.EventEmitter,this.onNpTreeNodeRender=new d.EventEmitter,this.onNpTreeNodeKebabClick=new d.EventEmitter}return e.prototype.ngOnInit=function(){if(!customElements.get("np-tree-kebab")&&this.options.kebabData){var e=t.createCustomElement(it,{injector:this.injector});customElements.define("np-tree-kebab",e)}},e.prototype.ngAfterViewInit=function(){var r=this;at("#ft_"+this.name).fancytree({source:this.options.source,activeVisible:this.options.activeVisible||!0,aria:this.options.aria||!0,autoActivate:this.options.autoActivate||!0,autoCollapse:this.options.autoCollapse||!0,autoScroll:this.options.autoScroll||!0,clickFolderMode:this.options.clickFolderMode||4,checkbox:this.options.checkbox||!1,debugLevel:this.options.debugLevel||0,focusOnSelect:this.options.focusOnSelect||!1,icon:this.options.icon||!1,keyboard:this.options.keyboard||!0,quicksearch:this.options.quicksearch||!0,selectMode:this.options.selectMode||1,tooltip:this.options.tooltip||!1,extensions:["filter"],filter:{autoApply:!this.options.filter||this.options.filter.autoApply===undefined||this.options.filter.autoApply,autoExpand:!(!this.options.filter||this.options.filter.autoExpand===undefined)&&this.options.filter.autoExpand,counter:!this.options.filter||this.options.filter.counter===undefined||this.options.filter.counter,fuzzy:!(!this.options.filter||this.options.filter.fuzzy===undefined)&&this.options.filter.fuzzy,hideExpandedCounter:!this.options.filter||this.options.filter.hideExpandedCounter===undefined||this.options.filter.hideExpandedCounter,hideExpanders:!(!this.options.filter||this.options.filter.hideExpanders===undefined)&&this.options.filter.hideExpanders,highlight:!this.options.filter||this.options.filter.highlight===undefined||this.options.filter.highlight,leavesOnly:!(!this.options.filter||this.options.filter.leavesOnly===undefined)&&this.options.filter.leavesOnly,nodata:!this.options.filter||this.options.filter.nodata===undefined||this.options.filter.nodata,mode:this.options.filter&&this.options.filter.mode!==undefined?this.options.filter.mode:"dimm"},init:function(e,t){r.onNpTreeInit.next({event:e,data:t})},activate:function(e,t){r.onNpTreeNodeActivate.next({event:e,data:t}),r.options.kebabData&&at(t.node.span).find(".np-kebab-wrapper")&&at(t.node.span).find(".np-kebab-wrapper").length&&(at(t.node.span).find(".np-kebab-wrapper")[0].style.display="flex")},click:function(e,t){return r.onNpTreeNodeClick.next({event:e,data:t}),!0},deactivate:function(e,t){r.options.kebabData&&at(t.node.span).find(".np-kebab-wrapper")&&at(t.node.span).find(".np-kebab-wrapper").length&&(at(t.node.span).find(".np-kebab-wrapper")[0].style.display="none")},select:function(e,t){r.onNpTreeNodeSelect.next({event:e,data:t})},createNode:function(e,t){if(r.options.kebabData){var n=t.node;r.buildKebabToTreeNode(at(n.span),t.node)}},renderNode:function(e,t){r.onNpTreeNodeRender.next({event:e,data:t})}}).on("mouseenter mouseleave",".fancytree-node",function(e){var t=at.ui.fancytree.getNode(e);r.options.kebabData&&at(t.span).find(".np-kebab-wrapper")&&at(t.span).find(".np-kebab-wrapper").length&&("mouseenter"===e.type&&t.setActive(!0),"mouseleave"!==e.type||at(e.target).hasClass("fas fa-ellipsis-v")&&!at(e.target).hasClass("x-tooltip-open")&&!at(e.target).hasClass("np-kebab-wrapper")||t.setActive(!1))}),this.fancyTree=st.getTree("#ft_"+this.name)},e.prototype.buildKebabToTreeNode=function(e,t){var n=this,r=this.options.kebabData;if(this.options.buildKebabData&&(r=this.options.buildKebabData(t.data,this.options.kebabData)),r&&r.items&&0!==r.items.length){var i=document.createElement("np-tree-kebab");i.addEventListener("onItemClicked",function(e){n.onNpTreeNodeKebabClick.next({node:t.data,menuItem:e&&e.detail&&e.detail.item}),t.setActive(!1)}),i.data=r,i.display="none",e.append(i)}},e.decorators=[{type:d.Component,args:[{selector:"np-tree",template:'<div id="{{ \'ft_\'+name }}" class="np-tree-wrapper"></div>\r\n',encapsulation:d.ViewEncapsulation.None,changeDetection:d.ChangeDetectionStrategy.OnPush,styles:['/*!\r\n * Fancytree "win8" skin (highlighting the node span instead of title-only).\r\n *\r\n * DON\'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from\r\n * the LESS templates.\r\n */.fancytree-helper-hidden{display:none}.fancytree-helper-indeterminate-cb{color:#777}.fancytree-helper-disabled{color:silver}.fancytree-helper-spin{-webkit-animation:1s linear infinite spin;animation:1s linear infinite spin}@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}ul.fancytree-container{font-family:tahoma,arial,helvetica;font-size:10pt;white-space:nowrap;padding:3px;margin:0;min-height:0;position:relative;outline:0!important}ul.fancytree-container ul{padding:0 0 0 16px;margin:0}ul.fancytree-container ul>li:before{content:none}ul.fancytree-container li{-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;list-style:none}.ui-fancytree-disabled ul.fancytree-container{opacity:.5;background-color:silver}ul.fancytree-connectors.fancytree-container li{background-image:url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AAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAQABAAAAgxAP8JHPgvAMGDCA0iXFiQ4UKFDglCjChwIkWLETE61MiQ40OKEkEO9JhQZEWTDRcGBAA7);background-position:0 0}ul.fancytree-container li.fancytree-lastsib,ul.fancytree-no-connector>li{background-image:none}li.fancytree-animating{position:relative}#fancytree-drop-marker,span.fancytree-checkbox,span.fancytree-drag-helper-img,span.fancytree-empty,span.fancytree-expander,span.fancytree-icon,span.fancytree-vline{width:16px;height:16px;display:inline-block;vertical-align:top;background-repeat:no-repeat;background-image:url(data:image/gif;base64,R0lGODlhYADIAPcAAAAAAAAQdAgZehUFaioxQkFIWllbWEpVbFFhfQAplx8wjQQ5pxtShQBCrg5ayABiyQBr2AB04EBznEl7klVxklV6mlZ6rXp7tRmVHBilGSatIzrDMHGtLX65N0W9RX+Bfmu9ZWm9a3K9bXi9dEzXU0LOYUzWaHDHZ3LGcwCFhACA5gCN+QCU+gCc/wSl/QD//yDO9kSElEyMlk+Zi1aZllSFr1+EpFWrgVi1g1+2i3mFhWyMp2iMrWuMtGuUrm6cr2+TtHWUo3aWsmG1mHS8mXGmq3CtpXmtpna+p3u1pk+U1l+93Xmi1nm17X7Gol/G/1zX/3rO/Xbe/Z8AAP8AAP8ACP8bFP8eHv8jJ/8+RP9ITP9RVP9ZV/9iYP9qaP95e43CQpbJScelPu+uMMalRcStQsisSsWtX8+tVM22S8+1X9W2Rt2+TdC0WdW9UtS9Wc+9bNW9dPHFH9fFWN/GU97GWt3GYdzGaN/OZ9fFetvPe+DGTObOYebPaeHGcOXPcOnNd+fWbu3Xd+7efIOFgouNioyUm4mdnJKUkZudmYWtu421tom1vJG1vaKfo6WlnKSmo6utqqytt6W1u7S2s7S1vru9uoiuyZW1xIa77qW1yK29xKK+1a690by9x7W02LW8343HhozHi5POk5vOlJnOmpjFs5LnpqjWoqvfo77BvbXvv5zA1YPf/5PC/5bL/57N+5TW/7bGzLbG2b3O1Lfdy6HL86j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MeBSErwInuAKvuAM3uAOGv7gEB7hEj7hFF7hFn7hGJ7hGr7hHN7hEh4QADs=);background-position:0 0}span.fancytree-checkbox,span.fancytree-custom-icon,span.fancytree-expander,span.fancytree-icon{margin-top:0}span.fancytree-custom-icon{width:16px;height:16px;display:inline-block;margin-left:3px;background-position:0 0}img.fancytree-icon{width:16px;height:16px;margin-left:3px;margin-top:0;vertical-align:top;border-style:none}span.fancytree-expander{cursor:pointer}.fancytree-exp-n span.fancytree-expander,.fancytree-exp-nl span.fancytree-expander{background-image:none;cursor:default}.fancytree-connectors .fancytree-exp-n span.fancytree-expander,.fancytree-connectors .fancytree-exp-nl span.fancytree-expander{background-image:url(data:image/gif;base64,R0lGODlhYADIAPcAAAAAAAAQdAgZehUFaioxQkFIWllbWEpVbFFhfQAplx8wjQQ5pxtShQBCrg5ayABiyQBr2AB04EBznEl7klVxklV6mlZ6rXp7tRmVHBilGSatIzrDMHGtLX65N0W9RX+Bfmu9ZWm9a3K9bXi9dEzXU0LOYUzWaHDHZ3LGcwCFhACA5gCN+QCU+gCc/wSl/QD//yDO9kSElEyMlk+Zi1aZllSFr1+EpFWrgVi1g1+2i3mFhWyMp2iMrWuMtGuUrm6cr2+TtHWUo3aWsmG1mHS8mXGmq3CtpXmtpna+p3u1pk+U1l+93Xmi1nm17X7Gol/G/1zX/3rO/Xbe/Z8AAP8AAP8ACP8bFP8eHv8jJ/8+RP9ITP9RVP9ZV/9iYP9qaP95e43CQpbJScelPu+uMMalRcStQsisSsWtX8+tVM22S8+1X9W2Rt2+TdC0WdW9UtS9Wc+9bNW9dPHFH9fFWN/GU97GWt3GYdzGaN/OZ9fFetvPe+DGTObOYebPaeHGcOXPcOnNd+fWbu3Xd+7efIOFgouNioyUm4mdnJKUkZudmYWtu421tom1vJG1vaKfo6WlnKSmo6utqqytt6W1u7S2s7S1vru9uoiuyZW1xIa77qW1yK29xKK+1a690by9x7W02LW8343HhozHi5POk5vOlJnOmpjFs5LnpqjWoqvfo77BvbXv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TINPiPQTkbd7ord7sTSRAYt9Gkn61YApHIAOGtN/9DUhbkiUCMeBSErwInuAKvuAM3uAOGv7gEB7hEj7hFF7hFn7hGJ7hGr7hHN7hEh4QADs=);margin-top:0}.fancytree-connectors .fancytree-exp-n span.fancytree-expander,.fancytree-connectors .fancytree-exp-n span.fancytree-expander:hover{background-position:0 -64px}.fancytree-connectors .fancytree-exp-nl span.fancytree-expander,.fancytree-connectors .fancytree-exp-nl span.fancytree-expander:hover{background-position:-16px -64px}.fancytree-exp-c span.fancytree-expander{background-position:0 -80px}.fancytree-exp-c span.fancytree-expander:hover{background-position:-16px -80px}.fancytree-exp-cl span.fancytree-expander{background-position:0 -96px}.fancytree-exp-cl span.fancytree-expander:hover{background-position:-16px -96px}.fancytree-exp-cd span.fancytree-expander{background-position:-64px -80px}.fancytree-exp-cd span.fancytree-expander:hover{background-position:-80px -80px}.fancytree-exp-cdl span.fancytree-expander{background-position:-64px -96px}.fancytree-exp-cdl span.fancytree-expander:hover{background-position:-80px -96px}.fancytree-exp-e span.fancytree-expander,.fancytree-exp-ed span.fancytree-expander{background-position:-32px -80px}.fancytree-exp-e span.fancytree-expander:hover,.fancytree-exp-ed span.fancytree-expander:hover{background-position:-48px -80px}.fancytree-exp-edl span.fancytree-expander,.fancytree-exp-el span.fancytree-expander{background-position:-32px -96px}.fancytree-exp-edl span.fancytree-expander:hover,.fancytree-exp-el span.fancytree-expander:hover{background-position:-48px -96px}.fancytree-fade-expander span.fancytree-expander{transition:opacity 1.5s;opacity:0}.fancytree-fade-expander .fancytree-treefocus span.fancytree-expander,.fancytree-fade-expander [class*=fancytree-statusnode-] span.fancytree-expander,.fancytree-fade-expander.fancytree-treefocus span.fancytree-expander,.fancytree-fade-expander:hover span.fancytree-expander{transition:opacity .6s;opacity:1}span.fancytree-checkbox:hover{background-position:-16px -32px}span.fancytree-checkbox.fancytree-radio{background-position:0 -48px}span.fancytree-checkbox.fancytree-radio:hover{background-position:-16px -48px}.fancytree-partsel span.fancytree-checkbox:hover{background-position:-80px -32px}.fancytree-partsel span.fancytree-checkbox.fancytree-radio{background-position:-64px -48px}.fancytree-partsel span.fancytree-checkbox.fancytree-radio:hover{background-position:-80px -48px}.fancytree-selected span.fancytree-checkbox{background-position:-32px -32px}.fancytree-selected span.fancytree-checkbox:hover{background-position:-48px -32px}.fancytree-selected span.fancytree-checkbox.fancytree-radio{background-position:-32px -48px}.fancytree-selected span.fancytree-checkbox.fancytree-radio:hover{background-position:-48px -48px}.fancytree-unselectable span.fancytree-checkbox{opacity:.4}.fancytree-unselectable span.fancytree-checkbox:hover{background-position:0 -32px}.fancytree-unselectable.fancytree-partsel span.fancytree-checkbox:hover{background-position:-64px -32px}.fancytree-unselectable.fancytree-selected span.fancytree-checkbox:hover{background-position:-32px -32px}span.fancytree-icon{margin-left:3px;background-position:0 0}.fancytree-ico-c span.fancytree-icon:hover{background-position:-16px 0}.fancytree-has-children.fancytree-ico-c span.fancytree-icon{background-position:-32px 0}.fancytree-has-children.fancytree-ico-c span.fancytree-icon:hover{background-position:-48px 0}.fancytree-ico-e span.fancytree-icon{background-position:-64px 0}.fancytree-ico-e span.fancytree-icon:hover{background-position:-80px 0}.fancytree-ico-cf span.fancytree-icon{background-position:0 -16px}.fancytree-ico-cf span.fancytree-icon:hover{background-position:-16px -16px}.fancytree-has-children.fancytree-ico-cf span.fancytree-icon{background-position:-32px -16px}.fancytree-has-children.fancytree-ico-cf span.fancytree-icon:hover{background-position:-48px -16px}.fancytree-ico-ef span.fancytree-icon{background-position:-64px -16px}.fancytree-ico-ef span.fancytree-icon:hover{background-position:-80px -16px}.fancytree-loading span.fancytree-expander,.fancytree-loading span.fancytree-expander:hover,.fancytree-statusnode-loading span.fancytree-icon,.fancytree-statusnode-loading span.fancytree-icon:hover,span.fancytree-icon.fancytree-icon-loading{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAAEai/0+m/1is/12u/2Oy/2u1/3C3/3G4/3W6/3q8/3+//4HA/4XC/4nE/4/H/5L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on,.fancytree-statusnode-error span.fancytree-icon:hover{background-position:0 -112px}span.fancytree-node{display:inherit;width:100%;margin-top:1px;min-height:16px}span.fancytree-title{color:#000;cursor:pointer;display:inline-block;vertical-align:top;min-height:16px;padding:0 3px;margin:0 0 0 3px;border:1px solid transparent;border-radius:0}span.fancytree-node.fancytree-error span.fancytree-title{color:red}span.fancytree-childcounter{color:#fff;background:#f7f7f7;border:1px solid gray;border-radius:10px;padding:2px;text-align:center}div.fancytree-drag-helper span.fancytree-childcounter,div.fancytree-drag-helper span.fancytree-dnd-modifier{display:inline-block;color:#fff;background:#f7f7f7;border:1px solid gray;min-width:10px;height:10px;line-height:1;vertical-align:baseline;border-radius:10px;padding:2px;text-align:center;font-size:9px}div.fancytree-drag-helper span.fancytree-childcounter{position:absolute;top:-6px;right:-6px}div.fancytree-drag-helper span.fancytree-dnd-modifier{background:#5cb85c;border:none;font-weight:bolder}div.fancytree-drag-helper.fancytree-drop-accept span.fancytree-drag-helper-img{background-position:-32px -112px}div.fancytree-drag-helper.fancytree-drop-reject span.fancytree-drag-helper-img{background-position:-16px -112px}#fancytree-drop-marker{width:32px;position:absolute;background-position:0 -128px;margin:0}#fancytree-drop-marker.fancytree-drop-after,#fancytree-drop-marker.fancytree-drop-before{width:64px;background-position:0 -144px}#fancytree-drop-marker.fancytree-drop-copy{background-position:-64px -128px}#fancytree-drop-marker.fancytree-drop-move{background-position:-32px -128px}span.fancytree-drag-source.fancytree-drag-remove{opacity:.15}.fancytree-container.fancytree-rtl span.fancytree-connector,.fancytree-container.fancytree-rtl span.fancytree-drag-helper-img,.fancytree-container.fancytree-rtl span.fancytree-expander,.fancytree-container.fancytree-rtl span.fancytree-icon{background-image:url(data:image/gif;base64,R0lGODlhYADIAPcAAAAAAAAQdAgZehUFaioxQkFIWllbWEpVbFFhfQAplx8wjQQ5pxtShQBCrg5ayABiyQBr2AB04EBznEl7klVxklV6mlZ6rXp7tRmVHBilGSatIzrDMHGtLX65N0W9RX+Bfmu9ZWm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NeibWtUrsCxZNmVg5t371y6JvXyXSr4b9/BRgvf5QrYJCXDZP09XswY6+R/eCNfzmwZcmeBlBg39ng5tOilpUWTTX3aKOvKrhGahu1YtmquMV+Lzm37Nm/Qt/f9/jd790fdjIcX390RefLmvX1DBx6833TiwYVfX/5cMsJI2bVH//oe3vp4geCzmyevvt/5f+mru2cv/3384Pzsh/epP3x++vj1l91/6O1HIHz77SNgdgsG1+BtD6oWoWjvJZJgIghZuB+GAmkYHof/eJgdiCIGR+KFCCGSICIprtjifiwKpCKML4YX4z8z2ogQIQkSsmOPP+7no0A8ChlkeEP+UySSCH3g5JNQPtlklFR+MGWVUF6JpZNabtkllgkxw4wyyJCZTDKCHHORmGSaiaaaDbFZJjJnprnmmHPWCWeYeLppZ5x90vlmnND00wwyekijqDTR7PkPM4UemuiijYYZKaKLMuoopIZiSumml06qaKUIcSpppqQKxEw00XiERx7OjP/6R5isugqrrLS26s+rsTI6a6m17nqrr7na2ms0v6oaLK+4AlurHXEcE40zzuCRa6vQSkuttc5iG+201V7rT7bgcqvss99uKy656nbrzxxxAOLMM83cIS688tJrr7v4zlvvvfH6u++5rfarL8D5/utsoW/A8Uczyygz8KOsMuwwxBLnavHDEU+8ajQbY+xxxf00zHHGC5d8cccJIQOyM/24ocYdyiiTjLn/uAwNzDLTbDPOOvM8c803t/xyzEP/bPTOSPtcNEJBN0000Ds/s07PaAbShx1QV331zFlv3fW8X98RNtcCIeM11oJojXbOa4Pdtthpx2323G8jM+8yy6T/0YYdWvMhT9579/134INDXbjfgPchOOHP8M044pBLfrjjiae9+OWPIzRI5MsckwYab/DBRx2Z//M536KTbjrqb68e+uiln5667K3XDrvnoOf++u290/7724GwLroZbtRBBx3yvIFQ8aEfn/zyzT9vfBrIK8+88wJBf4z02lff/fXZU8/9P96Db7713+tRBhlu0LHHHkucX3z778c/f/3sH+M+/PKjn/2i9z/9CbB/BQwg/8aHPwDu73x9aN8dyiCGNczvgAKJoP8mWMELLvAfGtQDBy34QISEcIQeh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zdt8y7lwC96MEDjQy0WwCJZsCd/wCt8QC4l4zr2szpfczu/MzKJhC/qsHPm8z9j8D5eAD7bczeTsDt8M0AINy7hMzrdg0OZcBEZwBEeAzHXMIecc0RO9xxVNHfrc0f7MGh7d0dMhBPMw0OPM0LDgDgUgECRt0gx9Cym90gKBAxidBDFwyc4UhxZd0zdtCTntDxxyHx2NG/NRIIwx1OLB0vPAzSdNzrAQ00rN1C/91CptzkeQBFgdAxrdxxZ91Vm91QQB1EZdzc7szPxBH2VdzWf9DyQtzij9Cq//UNVsvdQEDQtwLdf/gANYnQRI0NM/HSN6jdV9jdPO5A8xch9qzRgNYtaKzdL4cMsobdevMA8yLQSPvdAwLdmUbc6C3ddgrQqGPdOdrdV8HNYxUiK3cSIbIhAUsA34MA8RHNvzQA0EwNquDduxDcGzXdszjQS+7QQxMA3TAG6r5Ai9/dvBPdzEbdw44iIy4txCQAHSjQAIcAAHUADYXQAE0MbRPd3Vfd3Zvd3mnAPTSwQyoAM6cAiGYAiJ4AjTMNPkPQTmjd7qzd7uTSRAgt9Gkn61YApHIAOG1N//DUhbkiUCUeBScrwKvuAM3uAO/uAQHuESPuEUXuEWfuEYnuEaC77hHN7hHv7hMhgQADs=)}.fancytree-container.fancytree-rtl .fancytree-exp-n span.fancytree-expander,.fancytree-container.fancytree-rtl .fancytree-exp-nl span.fancytree-expander{background-image:none}.fancytree-container.fancytree-rtl.fancytree-connectors .fancytree-exp-n span.fancytree-expander,.fancytree-container.fancytree-rtl.fancytree-connectors .fancytree-exp-nl span.fancytree-expander{background-image:url(data:image/gif;base64,R0lGODlhYADIAPcAAAAAAAAQdAgZehUFaioxQkFIWllbWEpVbFFhfQAplx8wjQQ5pxtShQBCrg5ayABiyQBr2AB04EBznEl7klVxklV6mlZ6rXp7tRmVHBilGSatIzrDMHGtLX65N0W9RX+Bfmu9ZWm9a3K9bXi9dEzXU0LOYUzWaHDHZ3LGcwCFhACA5gCN+QCU+gCc/wSl/QD//yDO9kSElEyMlk+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ng5tOilpUWTTX3aKOvKrhGahu1YtmquMV+Lzm37Nm/Qt/f9/jd790fdjIcX390RefLmvX1DBx6833TiwYVfX/5cMsJI2bVH//oe3vp4geCzmyevvt/5f+mru2cv/3384Pzsh/epP3x++vj1l91/6O1HIHz77SNgdgsG1+BtD6oWoWjvJZJgIghZuB+GAmkYHof/eJgdiCIGR+KFCCGSICIprtjifiwKpCKML4YX4z8z2ogQIQkSsmOPP+7no0A8ChlkeEP+UySSCH3g5JNQPtlklFR+MGWVUF6JpZNabtkllgkxw4wyyJCZTDKCHHORmGSaiaaaDbFZJjJnprnmmHPWCWeYeLppZ5x90vlmnND00wwyekijqDTR7PkPM4UemuiijYYZKaKLMuoopIZiSumml06qaKUIcSpppqQKxEw00XiERx7OjP/6R5isugqrrLS26s+rsTI6a6m17nqrr7na2ms0v6oaLK+4AlurHXEcE40zzuCRa6vQSkuttc5iG+201V7rT7bgcqvss99uKy656nbrzxxxAOLMM83cIS688tJrr7v4zlvvvfH6u++5rfarL8D5/utsoW/A8Uczyygz8KOsMuwwxBLnavHDEU+8ajQbY+xxxf00zHHGC5d8cccJIQOyM/24ocYdyiiTjLn/uAwNzDLTbDPOOvM8c803t/xyzEP/bPTOSPtcNEJBN0000Ds/s07PaAbShx1QV331zFlv3fW8X98RNtcCIeM11oJojXbOa4Pdtthpx2323G8jM+8yy6T/0YYdWvMhT9579/134INDXbjfgPchOOHP8M044pBLfrjjiae9+OWPIzRI5MsckwYab/DBRx2Z//M536KTbjrqb68e+uiln5667K3XDrvnoOf++u290/7724GwLroZbtRBBx3yvIFQ8aEfn/zyzT9vfBrIK8+88wJBf4z02lff/fXZU8/9P96Db7713+tRBhlu0LHHHkucX3z778c/f/3sH+M+/PKjn/2i9z/9CbB/BQwg/8aHPwDu73x9aN8dyiCGNczvgAKJoP8mWMELLvAfGtQDBy34QISEcIQehKAEKUhCDIJwhR0soUDwsEE7sPCCbPADQmgoQhvGcA853GEN/284vyDOcIg/NOI/eHgHH7ZQiUx0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sDt8M0AINy7hMzrdg0OZcBEZwBEeAzHXMIecc0RO9xxVNHfrc0f7MGh7d0dMhBPMw0OPM0LDgDgUgECRt0gx9Cym90gKBAxidBDFwyc4UhxZd0zdtCTntDxxyHx2NG/NRIIwx1OLB0vPAzSdNzrAQ00rN1C/91CptzkeQBFgdAxrdxxZ91Vm91QQB1EZdzc7szPxBH2VdzWf9DyQtzij9Cq//UNVsvdQEDQtwLdf/gANYnQRI0NM/HSN6jdV9jdPO5A8xch9qzRgNYtaKzdL4cMsobdevMA8yLQSPvdAwLdmUbc6C3ddgrQqGPdOdrdV8HNYxUiK3cSIbIhAUsA34MA8RHNvzQA0EwNquDduxDcGzXdszjQS+7QQxMA3TAG6r5Ai9/dvBPdzEbdw44iIy4txCQAHSjQAIcAAHUADYXQAE0MbRPd3Vfd3Zvd3mnAPTSwQyoAM6cAiGYAiJ4AjTMNPkPQTmjd7qzd7uTSRAgt9Gkn61YApHIAOG1N//DUhbkiUCUeBScrwKvuAM3uAO/uAQHuESPuEUXuEWfuEYnuEaC77hHN7hHv7hMhgQADs=)}ul.fancytree-container.fancytree-rtl ul{padding:0 16px 0 0}ul.fancytree-container.fancytree-rtl.fancytree-connectors li{background-position:right 0;background-image:url(data:image/gif;base64,R0lGODlhEAAQAPcAAAAAANPT0wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAQABAAAAgxAP8JHPgvAMGDCA0iXFiQ4UKFDglCjChwIkWLETE61MiQ40OKEkEO9JhQZEWTDRcGBAA7)}ul.fancytree-container.fancytree-rtl li.fancytree-lastsib,ul.fancytree-container.fancytree-rtl.fancytree-no-connector>li{background-image:none}#fancytree-drop-marker.fancytree-rtl{background-image:url(data:image/gif;base64,R0lGODlhYADIAPcAAAAAAAAQdAgZehUFaioxQkFIWllbWEpVbFFhfQAplx8wjQQ5pxtShQBCrg5ayABiyQBr2AB04EBznEl7klVxklV6mlZ6rXp7tRmVHBilGSatIzrDMHGtLX65N0W9RX+Bfmu9ZWm9a3K9bXi9dEzXU0LOYUzWaHDHZ3LGc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BRgvf5QrYJCXDZP09XswY6+R/eCNfzmwZcmeBlBg39ng5tOilpUWTTX3aKOvKrhGahu1YtmquMV+Lzm37Nm/Qt/f9/jd790fdjIcX390RefLmvX1DBx6833TiwYVfX/5cMsJI2bVH//oe3vp4geCzmyevvt/5f+mru2cv/3384Pzsh/epP3x++vj1l91/6O1HIHz77SNgdgsG1+BtD6oWoWjvJZJgIghZuB+GAmkYHof/eJgdiCIGR+KFCCGSICIprtjifiwKpCKML4YX4z8z2ogQIQkSsmOPP+7no0A8ChlkeEP+UySSCH3g5JNQPtlklFR+MGWVUF6JpZNabtkllgkxw4wyyJCZTDKCHHORmGSaiaaaDbFZJjJnprnmmHPWCWeYeLppZ5x90vlmnND00wwyekijqDTR7PkPM4UemuiijYYZKaKLMuoopIZiSumml06qaKUIcSpppqQKxEw00XiERx7OjP/6R5isugqrrLS26s+rsTI6a6m17nqrr7na2ms0v6oaLK+4AlurHXEcE40zzuCRa6vQSkuttc5iG+201V7rT7bgcqvss99uKy656nbrzxxxAOLMM83cIS688tJrr7v4zlvvvfH6u++5rfarL8D5/utsoW/A8Uczyygz8KOsMuwwxBLnavHDEU+8ajQbY+xxxf00zHHGC5d8cccJIQOyM/24ocYdyiiTjLn/uAwNzDLTbDPOOvM8c803t/xyzEP/bPTOSPtcNEJBN0000Ds/s07PaAbShx1QV331zFlv3fW8X98RNtcCIeM11oJojXbOa4Pdtthpx2323G8jM+8yy6T/0YYdWvMhT9579/134INDXbjfgPchOOHP8M044pBLfrjjiae9+OWPIzRI5MsckwYab/DBRx2Z//M536KTbjrqb68e+uiln5667K3XDrvnoOf++u290/7724GwLroZbtRBBx3yvIFQ8aEfn/zyzT9vfBrIK8+88wJBf4z02lff/fXZU8/9P96Db7713+tRBhlu0LHHHkucX3z778c/f/3sH+M+/PKjn/2i9z/9CbB/BQwg/8aHPwDu73x9aN8dyiCGNczvgAKJoP8mWMELLvAfGtQDBy34QISEcIQehKAEKUhCDIJwhR0soUDwsEE7sPCCbPADQm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C4l4zr2szpfczu/MzKJhC/qsHPm8z9j8D5eAD7bczeTsDt8M0AINy7hMzrdg0OZcBEZwBEeAzHXMIecc0RO9xxVNHfrc0f7MGh7d0dMhBPMw0OPM0LDgDgUgECRt0gx9Cym90gKBAxidBDFwyc4UhxZd0zdtCTntDxxyHx2NG/NRIIwx1OLB0vPAzSdNzrAQ00rN1C/91CptzkeQBFgdAxrdxxZ91Vm91QQB1EZdzc7szPxBH2VdzWf9DyQtzij9Cq//UNVsvdQEDQtwLdf/gANYnQRI0NM/HSN6jdV9jdPO5A8xch9qzRgNYtaKzdL4cMsobdevMA8yLQSPvdAwLdmUbc6C3ddgrQqGPdOdrdV8HNYxUiK3cSIbIhAUsA34MA8RHNvzQA0EwNquDduxDcGzXdszjQS+7QQxMA3TAG6r5Ai9/dvBPdzEbdw44iIy4txCQAHSjQAIcAAHUADYXQAE0MbRPd3Vfd3Zvd3mnAPTSwQyoAM6cAiGYAiJ4AjTMNPkPQTmjd7qzd7uTSRAgt9Gkn61YApHIAOG1N//DUhbkiUCUeBScrwKvuAM3uAO/uAQHuESPuEUXuEWfuEYnuEaC77hHN7hHv7hMhgQADs=)}table.fancytree-ext-table{font-family:tahoma,arial,helvetica;font-size:10pt;border-collapse:collapse}table.fancytree-ext-table span.fancytree-node{display:inline-block;box-sizing:border-box}table.fancytree-ext-table td.fancytree-status-merged{text-align:center;font-style:italic;color:silver}table.fancytree-ext-table tr.fancytree-statusnode-error td.fancytree-status-merged{color:red}table.fancytree-ext-table.fancytree-ext-ariagrid.fancytree-cell-mode>tbody>tr.fancytree-active>td{background-color:#eee}table.fancytree-ext-table.fancytree-ext-ariagrid.fancytree-cell-mode.fancytree-cell-nav-mode>tbody>tr>td.fancytree-active-cell,table.fancytree-ext-table.fancytree-ext-ariagrid.fancytree-cell-mode>tbody>tr>td.fancytree-active-cell{background-color:#f7f7f7}table.fancytree-ext-columnview tbody tr td{position:relative;border:1px solid gray;vertical-align:top;overflow:auto}table.fancytree-ext-columnview tbody tr td>ul{padding:0}table.fancytree-ext-columnview tbody tr td>ul li{-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;list-style:none}table.fancytree-ext-columnview span.fancytree-node{position:relative;display:inline-block}table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded{background-color:#e0e0e0}table.fancytree-ext-columnview span.fancytree-node.fancytree-active{background-color:#f7f7f7}table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right{position:absolute;right:3px;background-position:0 -80px}table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right:hover{background-position:-16px -80px}.fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title{color:#000;font-weight:400}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title{color:#000;font-weight:700}.fancytree-ext-filter-hide span.fancytree-node.fancytree-hide,.fancytree-ext-filter-hide tr.fancytree-hide{display:none}.fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-hide span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-match span.fancytree-title{color:#000;font-weight:400}.fancytree-ext-filter-hide-expanders span.fancytree-node.fancytree-match span.fancytree-expander,.fancytree-ext-filter-hide-expanders tr.fancytree-match span.fancytree-expander{visibility:hidden}.fancytree-ext-filter-hide-expanders span.fancytree-node.fancytree-submatch span.fancytree-expander,.fancytree-ext-filter-hide-expanders tr.fancytree-submatch span.fancytree-expander{visibility:visible}.fancytree-ext-childcounter span.fancytree-custom-icon,.fancytree-ext-childcounter span.fancytree-icon,.fancytree-ext-filter span.fancytree-custom-icon,.fancytree-ext-filter span.fancytree-icon{position:relative}.fancytree-ext-childcounter span.fancytree-childcounter,.fancytree-ext-filter span.fancytree-childcounter{color:#fff;background:#777;border:1px solid gray;position:absolute;top:-6px;right:-6px;min-width:10px;height:10px;line-height:1;vertical-align:baseline;border-radius:10px;padding:2px;text-align:center;font-size:9px}ul.fancytree-ext-wide{position:relative;min-width:100%;z-index:2;box-sizing:border-box}ul.fancytree-ext-wide span.fancytree-node>span{position:relative;z-index:2}ul.fancytree-ext-wide span.fancytree-node span.fancytree-title{position:absolute;z-index:1;left:0;min-width:100%;margin-left:0;margin-right:0;box-sizing:border-box}.fancytree-ext-fixed-wrapper .fancytree-ext-fixed-hidden{display:none}.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-scroll-border-bottom{border-bottom:3px solid rgba(0,0,0,.75)}.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-scroll-border-right{border-right:3px solid rgba(0,0,0,.75)}.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-tl{position:absolute;overflow:hidden;z-index:3;top:0;left:0}.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-tr{position:absolute;overflow:hidden;z-index:2;top:0}.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-bl{position:absolute;overflow:hidden;z-index:2;left:0}.fancytree-ext-fixed-wrapper div.fancytree-ext-fixed-wrapper-br{position:absolute;overflow:scroll;z-index:1}.fancytree-plain span.fancytree-node{border:1px solid transparent}.fancytree-plain span.fancytree-node:hover{background-color:#f7f7f7;border-color:#dedede}.fancytree-plain .fancytree-node.fancytree-selected{font-style:italic}table.fancytree-ext-table tbody tr td{border:1px solid #ededed}table.fancytree-ext-table tbody span.fancytree-node,table.fancytree-ext-table tbody span.fancytree-node:hover{border:none;background:0 0}table.fancytree-ext-table tbody tr:hover{background-color:#f7f7f7;outline:#dedede solid 1px}table.fancytree-ext-table tbody tr.fancytree-focused span.fancytree-title{outline:#000 dotted 1px}table.fancytree-ext-table tbody tr.fancytree-active,table.fancytree-ext-table tbody tr.fancytree-active:hover,table.fancytree-ext-table tbody tr.fancytree-selected:hover{background-color:#f7f7f7;outline:#dedede solid 1px}table.fancytree-ext-table tbody tr.fancytree-selected{background-color:#f7f7f7}table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-active{background-color:#f7f7f7;outline:#dedede solid 1px}table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected{background-color:#f7f7f7}span.fancytree-checkbox{background-position:0 -30px!important;width:14px!important;height:14px!important;margin:2px 5px 0!important;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAABLCAYAAABA3bYOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG0mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJj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v2Y6BX15efo7VHj5JrPjDh7+8eYMhPfR+pTW++/jx4Lv/nI5HOz785afwOVaP8Qli1TSNKYoCm82mcyEhBJxzcM4xnU5BVquVEUJg3pr3SWitUdc16rpud6yqCpPJBJR2m4hSCsYYKKW4ubkBb5oGw+EQfWclhIAQAt/30TRNazkpJTzP6yQ+qoAQYpvaC601AMD3/ZbI+SOvH4UxBlpraK3/fawopVBKgRtjIKXsnXBWPMYYPM9riZxzEEI6ifa5EAJN07SlPueMTdO4H6CUgnqeh7Ise4m2XVJKDAYD8DAMsdlsEARBJ9EYg+12i6qq4Ps+iBDCFEWBdc9cpZTC8zwEQYAoivCyWFVVhTzPOxdaUYbDIaIoatOR5zkmk+7wM8ZQliXqukZVVeCr1QpJkoBzDmMMCCEwxkAp1cp+5xRCCMbjMZqmQZZl95YzxjgC0MpPKYU1SFmWrpfGmEOiVQ1oG27dUhQFFosF1us1pJSglN5fAYQQbLdbl3JbclmWWCwWqOsaUkoXaEdkjGGxWGC32+H09BRRFOH29hY3NzcQQuD8/Bzj8Rie57XlH1Pu+voadV0jz3PsdjvM53NMp1N4ngcpZRsrS1JKYTabAQCyLGsl5xxJkiBJErfGincgzmAwwGw2w2g0gjEGcRzj7OwMjDEnlG0ZN8Y4MWy/ZrMZkiRpzXxH0FqDc37fIt/3UVUVTk5O3LS2iu6ra88nhGgnwGg0QlVVB1Lv76KUgjEGjDEIISClRBiGLdEYgzzP3VzZP4/9bB0UBAHiOH5BrACYPM9RliWklL2EOI4xGo3Abc88z0MURW5aP4WyLFuFm6ZBEAQIggCEkN75GoYhiqIAraoKjDEwxtx473qFYXh/W7n74K65XbC2o1prDAaDZ99Y1gyUUgqttZsAzyHeDS7aq+QxULtL338AR7jbiNoS7ZTrw14AqKv7ObDqc865GwcAencVQrS55JwfxKcPQoh2ItR1bYqicAO3r+TxePyy2+of/TgdBK4XCv8AAAAASUVORK5CYII=)!important}span.fancytree-selected span.fancytree-checkbox{background-position:0 0!important;width:14px!important;height:14px!important;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ps+iBDCFEWBdc9cpZTC8zwEQYAoivCyWFVVhTzPOxdaUYbDIaIoatOR5zkmk+7wM8ZQliXqukZVVeCr1QpJkoBzDmMMCCEwxkAp1cp+5xRCCMbjMZqmQZZl95YzxjgC0MpPKYU1SFmWrpfGmEOiVQ1oG27dUhQFFosF1us1pJSglN5fAYQQbLdbl3JbclmWWCwWqOsaUkoXaEdkjGGxWGC32+H09BRRFOH29hY3NzcQQuD8/Bzj8Rie57XlH1Pu+voadV0jz3PsdjvM53NMp1N4ngcpZRsrS1JKYTabAQCyLGsl5xxJkiBJErfGincgzmAwwGw2w2g0gjEGcRzj7OwMjDEnlG0ZN8Y4MWy/ZrMZkiRpzXxH0FqDc37fIt/3UVUVTk5O3LS2iu6ra88nhGgnwGg0QlVVB1Lv76KUgjEGjDEIISClRBiGLdEYgzzP3VzZP4/9bB0UBAHiOH5BrACYPM9RliWklL2EOI4xGo3Abc88z0MURW5aP4WyLFuFm6ZBEAQIggCEkN75GoYhiqIAraoKjDEwxtx473qFYXh/W7n74K65XbC2o1prDAaDZ99Y1gyUUgqttZsAzyHeDS7aq+QxULtL338AR7jbiNoS7ZTrw14AqKv7ObDqc865GwcAencVQrS55JwfxKcPQoh2ItR1bYqicAO3r+TxePyy2+of/TgdBK4XCv8AAAAASUVORK5CYII=)!important}.fancytree-partsel span.fancytree-checkbox{background-position:0 -15px!important;width:14px!important;height:14px!important;margin:2px 5px 0!important;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAABLCAYAAABA3bYOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG0mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLC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zmAwwGw2w2g0gjEGcRzj7OwMjDEnlG0ZN8Y4MWy/ZrMZkiRpzXxH0FqDc37fIt/3UVUVTk5O3LS2iu6ra88nhGgnwGg0QlVVB1Lv76KUgjEGjDEIISClRBiGLdEYgzzP3VzZP4/9bB0UBAHiOH5BrACYPM9RliWklL2EOI4xGo3Abc88z0MURW5aP4WyLFuFm6ZBEAQIggCEkN75GoYhiqIAraoKjDEwxtx473qFYXh/W7n74K65XbC2o1prDAaDZ99Y1gyUUgqttZsAzyHeDS7aq+QxULtL338AR7jbiNoS7ZTrw14AqKv7ObDqc865GwcAencVQrS55JwfxKcPQoh2ItR1bYqicAO3r+TxePyy2+of/TgdBK4XCv8AAAAASUVORK5CYII=)!important}span.fancytree-node{padding:5px 0!important}ul.fancytree-container .fancytree-node.fancytree-selected{font-style:normal}np-tree span.fancytree-node{border-radius:5px}']}]}],e.ctorParameters=function(){return[{type:d.Injector}]},e.propDecorators={name:[{type:d.Input}],options:[{type:d.Input}],onNpTreeInit:[{type:d.Output}],onNpTreeNodeActivate:[{type:d.Output}],onNpTreeNodeClick:[{type:d.Output}],onNpTreeNodeSelect:[{type:d.Output}],onNpTreeNodeRender:[{type:d.Output}],onNpTreeNodeKebabClick:[{type:d.Output}]},e}(),lt=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[ot],declarations:[ct],exports:[ct]}]}],e}(),ut=function Nu(){};function pt(e){return"function"==typeof e}var dt=!1,ht={Promise:undefined,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;dt=e},get useDeprecatedSynchronousErrorHandling(){return dt}};function ft(e){setTimeout(function(){throw e},0)}var gt={closed:!0,next:function(e){},error:function(e){if(ht.useDeprecatedSynchronousErrorHandling)throw e;ft(e)},complete:function(){}},mt=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function yt(e){return null!==e&&"object"==typeof e}var vt=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),At=function(){function l(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var e;return l.prototype.unsubscribe=function(){var e;if(!this.closed){var t=this._parentOrParents,n=this._ctorUnsubscribe,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof l)t.remove(this);else if(null!==t)for(var o=0;o<t.length;++o){t[o].remove(this)}if(pt(r)){n&&(this._unsubscribe=undefined);try{r.call(this)}catch(c){e=c instanceof vt?bt(c.errors):[c]}}if(mt(i)){o=-1;for(var a=i.length;++o<a;){var s=i[o];if(yt(s))try{s.unsubscribe()}catch(c){e=e||[],c instanceof vt?e=e.concat(bt(c.errors)):e.push(c)}}}if(e)throw new vt(e)}},l.prototype.add=function(e){var t=e;if(!e)return l.EMPTY;switch(typeof e){case"function":t=new l(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof l)){var n=t;(t=new l)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=t._parentOrParents;if(null===r)t._parentOrParents=this;else if(r instanceof l){if(r===this)return t;t._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return t;r.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t},l.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},l.EMPTY=((e=new l).closed=!0,e),l}();function bt(e){return e.reduce(function(e,t){return e.concat(t instanceof vt?t.errors:t)},[])}var wt=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),xt=function(i){function o(e,t,n){var r=i.call(this)||this;switch(r.syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=gt;break;case 1:if(!e){r.destination=gt;break}if("object"==typeof e){e instanceof o?(r.syncErrorThrowable=e.syncErrorThrowable,(r.destination=e).add(r)):(r.syncErrorThrowable=!0,r.destination=new Ct(r,e));break}default:r.syncErrorThrowable=!0,r.destination=new Ct(r,e,t,n)}return r}return D(o,i),o.prototype[wt]=function(){return this},o.create=function(e,t,n){var r=new o(e,t,n);return r.syncErrorThrowable=!1,r},o.prototype.next=function(e){this.isStopped||this._next(e)},o.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},o.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},o.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,i.prototype.unsubscribe.call(this))},o.prototype._next=function(e){this.destination.next(e)},o.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},o.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},o.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},o}(At),Ct=function(s){function e(e,t,n,r){var i,o=s.call(this)||this;o._parentSubscriber=e;var a=o;return pt(t)?i=t:t&&(i=t.next,n=t.error,r=t.complete,t!==gt&&(pt((a=Object.create(t)).unsubscribe)&&o.add(a.unsubscribe.bind(a)),a.unsubscribe=o.unsubscribe.bind(o))),o._context=a,o._next=i,o._error=n,o._complete=r,o}return D(e,s),e.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;ht.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},e.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=ht.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?this.__tryOrSetError(t,this._error,e):this.__tryOrUnsub(this._error,e),this.unsubscribe();else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):ft(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;ft(e)}}},e.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};ht.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,n):this.__tryOrUnsub(n),this.unsubscribe()}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),ht.useDeprecatedSynchronousErrorHandling)throw n;ft(n)}},e.prototype.__tryOrSetError=function(e,t,n){if(!ht.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return ht.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0):(ft(r),!0)}return!1},e.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},e}(xt);var kt=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function Et(e){return e}function St(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Dt(e)}function Dt(t){return 0===t.length?Et:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)}}var It=function(){function n(e){this._isScalar=!1,e&&(this._subscribe=e)}return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,n){var r=this.operator,i=function o(e,t,n){if(e){if(e instanceof xt)return e;if(e[wt])return e[wt]()}return e||t||n?new xt(e,t,n):new xt(gt)}(e,t,n);if(r?i.add(r.call(i,this.source)):i.add(this.source||ht.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),ht.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},n.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){ht.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function hc(t){for(;t;){var n=t,r=n.closed,i=n.destination,o=n.isStopped;if(r||o)return!1;t=i&&i instanceof xt?i:null}return!0}(e)?console.warn(t):e.error(t)}},n.prototype.forEach=function(i,e){var t=this;return new(e=Pt(e))(function(e,n){var r;r=t.subscribe(function(e){try{i(e)}catch(t){n(t),r&&r.unsubscribe()}},n,e)})},n.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},n.prototype[kt]=function(){return this},n.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:Dt(e)(this)},n.prototype.toPromise=function(e){var r=this;return new(e=Pt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},n.create=function(e){return new n(e)},n}();function Pt(e){if(e||(e=Promise),!e)throw new Error("no Promise impl found");return e}var Tt=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),_t=function(r){function e(e,t){var n=r.call(this)||this;return n.subject=e,n.subscriber=t,n.closed=!1,n}return D(e,r),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},e}(At),Nt=function(n){function e(e){var t=n.call(this,e)||this;return t.destination=e,t}return D(e,n),e}(xt),Mt=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return D(e,t),e.prototype[wt]=function(){return new Nt(this)},e.prototype.lift=function(e){var t=new Ot(this,this);return t.operator=e,t},e.prototype.next=function(e){if(this.closed)throw new Tt;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)},e.prototype.error=function(e){if(this.closed)throw new Tt;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new Tt;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new Tt;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(e){if(this.closed)throw new Tt;return this.hasError?(e.error(this.thrownError),At.EMPTY):this.isStopped?(e.complete(),At.EMPTY):(this.observers.push(e),new _t(this,e))},e.prototype.asObservable=function(){var e=new It;return e.source=this,e},e.create=function(e,t){return new Ot(e,t)},e}(It),Ot=function(r){function e(e,t){var n=r.call(this)||this;return n.destination=e,n.source=t,n}return D(e,r),e.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},e.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},e.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},e.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):At.EMPTY},e}(Mt);var Rt=function(n){function e(e){var t=n.call(this)||this;return t._value=e,t}return D(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var t=n.prototype._subscribe.call(this,e);return t&&!t.closed&&e.next(this._value),t},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Tt;return this._value},e.prototype.next=function(e){n.prototype.next.call(this,this._value=e)},e}(Mt),Lt=new It(function(e){return e.complete()});function Bt(e){return e?function n(t){return new It(function(e){return t.schedule(function(){return e.complete()})})}(e):Lt}function jt(e){return e&&"function"==typeof e.schedule}var Ht,zt=function(r){return function(e){for(var t=0,n=r.length;t<n&&!e.closed;t++)e.next(r[t]);e.complete()}};function Yt(r,i){return new It(function(e){var t=new At,n=0;return t.add(i.schedule(function(){n!==r.length?(e.next(r[n++]),e.closed||t.add(this.schedule())):e.complete()})),t})}function Ut(e,t){return t?Yt(e,t):new It(zt(e))}function Vt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return jt(n)?(e.pop(),Yt(e,n)):Ut(e)}Ht||(Ht={});function Qt(){}var Wt=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),Gt=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}();function Ft(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new qt(t,n))}}var qt=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Zt(e,this.project,this.thisArg))},e}(),Zt=function(i){function e(e,t,n){var r=i.call(this,e)||this;return r.project=t,r.count=0,r.thisArg=n||r,r}return D(e,i),e.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},e}(xt),Kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(xt),Jt=function(i){function e(e,t,n){var r=i.call(this)||this;return r.parent=e,r.outerValue=t,r.outerIndex=n,r.index=0,r}return D(e,i),e.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},e.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(xt);function Xt(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var $t=Xt(),en=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function tn(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var nn=function(e){if(e&&"function"==typeof e[kt])return r=e,function(e){var t=r[kt]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(en(e))return zt(e);if(tn(e))return n=e,function(t){return n.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,ft),t};if(e&&"function"==typeof e[$t])return i=e,function(e){for(var t=i[$t]();;){var n=void 0;try{n=t.next()}catch(r){return e.error(r),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof t["return"]&&e.add(function(){t["return"]&&t["return"]()}),e};var i,n,r,t=yt(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function rn(e,t,n,r,i){return void 0===i&&(i=new Jt(e,n,r)),i.closed?undefined:t instanceof It?t.subscribe(i):nn(t)(i)}var on={};var an=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new sn(e,this.resultSelector))},e}(),sn=function(r){function e(e,t){var n=r.call(this,e)||this;return n.resultSelector=t,n.active=0,n.values=[],n.observables=[],n}return D(e,r),e.prototype._next=function(e){this.values.push(on),this.observables.push(e)},e.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(rn(this,r,undefined,n))}}},e.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(e,t,n){var r=this.values,i=r[n],o=this.toRespond?i===on?--this.toRespond:this.toRespond:0;r[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},e}(Kt);function cn(e,t){if(null!=e){if(function n(e){return e&&"function"==typeof e[kt]}(e))return function o(r,i){return new It(function(t){var n=new At;return n.add(i.schedule(function(){var e=r[kt]();n.add(e.subscribe({next:function(e){n.add(i.schedule(function(){return t.next(e)}))},error:function(e){n.add(i.schedule(function(){return t.error(e)}))},complete:function(){n.add(i.schedule(function(){return t.complete()}))}}))})),n})}(e,t);if(tn(e))return function i(e,r){return new It(function(t){var n=new At;return n.add(r.schedule(function(){return e.then(function(e){n.add(r.schedule(function(){t.next(e),n.add(r.schedule(function(){return t.complete()}))}))},function(e){n.add(r.schedule(function(){return t.error(e)}))})})),n})}(e,t);if(en(e))return Yt(e,t);if(function r(e){return e&&"function"==typeof e[$t]}(e)||"string"==typeof e)return function a(t,n){if(!t)throw new Error("Iterable cannot be null");return new It(function(i){var o,e=new At;return e.add(function(){o&&"function"==typeof o["return"]&&o["return"]()}),e.add(n.schedule(function(){o=t[$t](),e.add(n.schedule(function(){if(!i.closed){var e,t;try{var n=o.next();e=n.value,t=n.done}catch(r){return void i.error(r)}t?i.complete():(i.next(e),this.schedule())}}))})),e})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function ln(e,t){return t?cn(e,t):e instanceof It?e:new It(nn(e))}var un=function(n){function e(e){var t=n.call(this)||this;return t.parent=e,t}return D(e,n),e.prototype._next=function(e){this.parent.notifyNext(e)},e.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(xt),pn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(xt);function dn(e,t){return t.closed?undefined:e instanceof It?e.subscribe(t):nn(e)(t)}function hn(t,i,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof i?function(e){return e.pipe(hn(function(n,r){return ln(t(n,r)).pipe(Ft(function(e,t){return i(n,e,r,t)}))},n))}:("number"==typeof i&&(n=i),function(e){return e.lift(new fn(t,n))})}var fn=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new gn(e,this.project,this.concurrent))},e}(),gn=function(i){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var r=i.call(this,e)||this;return r.project=t,r.concurrent=n,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return D(e,i),e.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},e.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)},e.prototype._innerSub=function(e){var t=new un(this),n=this.destination;n.add(t);var r=dn(e,t);r!==t&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(e){this.destination.next(e)},e.prototype.notifyComplete=function(){var e=this.buffer;this.active--,0<e.length?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(pn);function mn(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),hn(Et,e)}function yn(){return mn(1)}function vn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return yn()(Vt.apply(void 0,e))}function An(r){return new It(function(e){var t;try{t=r()}catch(n){return e.error(n),undefined}return(t?ln(t):Bt()).subscribe(e)})}function bn(e,r,i,t){return pt(i)&&(t=i,i=undefined),t?bn(e,r,i).pipe(Ft(function(e){return mt(e)?t.apply(void 0,e):t(e)})):new It(function(t){!function f(e,t,n,r,i){var o;if(h=e,h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener){var a=e;e.addEventListener(t,n,i),o=function(){return a.removeEventListener(t,n,i)}}else if(d=e,d&&"function"==typeof d.on&&"function"==typeof d.off){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(p=e,p&&"function"==typeof p.addListener&&"function"==typeof p.removeListener){var c=e;e.addListener(t,n),o=function(){return c.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,u=e.length;l<u;l++)f(e[l],t,n,r,i)}var p;var d;var h;r.add(o)}(e,r,function n(e){1<arguments.length?t.next(Array.prototype.slice.call(arguments)):t.next(e)},t,i)})}function wn(t,n){return function(e){return e.lift(new xn(t,n))}}var xn=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Cn(e,this.predicate,this.thisArg))},e}(),Cn=function(i){function e(e,t,n){var r=i.call(this,e)||this;return r.predicate=t,r.thisArg=n,r.count=0,r}return D(e,i),e.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},e}(xt),kn=function(){function e(){this._afterClosed=new Mt,this.afterClosed=this._afterClosed.asObservable()}return e.prototype.close=function(e){this._afterClosed.next(e)},e}(),En=function(){function e(e){this.viewContainerRef=e}return e.decorators=[{type:d.Directive,args:[{selector:"[npInsertion]"}]}],e.ctorParameters=function(){return[{type:d.ViewContainerRef}]},e}(),Sn=function(){function e(e,t,n,r){this.componentFactoryResolver=e,this.cd=t,this.dialogRef=n,this.config=r,this._onClose=new Mt,this.onClose=this._onClose.asObservable(),console.log(r.userClass)}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterViewInit=function(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()},e.prototype.ngOnDestroy=function(){this.componentRef&&this.componentRef.destroy()},e.prototype.onOverlayClicked=function(e){!1!==this.config.backdrop&&this.dialogRef.close()},e.prototype.onDialogClicked=function(e){e.stopPropagation()},e.prototype.loadChildComponent=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.insertionPoint.viewContainerRef;n.clear(),this.componentRef=n.createComponent(t)},e.decorators=[{type:d.Component,args:[{selector:"np-dialog",template:'<div class="overlay" (click)="onOverlayClicked($event)">\r\n  <div class="dialog" [ngClass]="config?.userClass" (click)="onDialogClicked($event)">\r\n    <ng-template npInsertion></ng-template>\r\n  </div>\r\n</div>\r\n',styles:[".overlay{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.5);align-items:center;z-index:99;overflow-x:hidden;overflow-y:auto}.dialog{margin-top:8vh;box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:#fff;width:50%;height:50%;display:flex;flex-direction:column;padding:5px 20px}"]}]}],e.ctorParameters=function(){return[{type:d.ComponentFactoryResolver},{type:d.ChangeDetectorRef},{type:kn},{type:ut}]},e.propDecorators={insertionPoint:[{type:d.ViewChild,args:[En]}]},e}(),Dn=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],exports:[Sn,En],declarations:[Sn,En],entryComponents:[Sn]}]}],e}(),In=function(){function e(e,t){this._parentInjector=e,this._additionalTokens=t}return e.prototype.get=function(e,t,n){var r=this._additionalTokens.get(e);return r||this._parentInjector.get(e,t)},e}(),Pn=function(){function e(e,t,n){this.componentFactoryResolver=e,this.appRef=t,this.injector=n}return e.prototype.open=function(e,t){var n=this.appendDialogComponentToBody(t);return this.dialogComponentRef.instance.childComponentType=e,n},e.prototype.appendDialogComponentToBody=function(e){var t=this,n=new WeakMap;n.set(ut,e);var r=new kn;n.set(kn,r);var i=this.componentFactoryResolver.resolveComponentFactory(Sn).create(new In(this.injector,n));this.appRef.attachView(i.hostView);var o=i.hostView.rootNodes[0];document.body.appendChild(o);var a=r.afterClosed.subscribe(function(){t.removeDialogComponentFromBody(i),a.unsubscribe()});return this.dialogComponentRef=i,r},e.prototype.removeDialogComponentFromBody=function(e){this.appRef.detachView(e.hostView),e.destroy()},e.decorators=[{type:d.Injectable,args:[{providedIn:Dn}]}],e.ctorParameters=function(){return[{type:d.ComponentFactoryResolver},{type:d.ApplicationRef},{type:d.Injector}]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e(d.inject(d.ComponentFactoryResolver),d.inject(d.ApplicationRef),d.inject(d.INJECTOR))},token:e,providedIn:Dn}),e}(),Tn=function(){function e(){this.pageCounts=[10,20,50,100],this.size=20,this.firstBtnText="首页",this.preBtnText="上一页",this.nextBtnText="下一页",this.lastBtnText="尾页",this.totalText="共",this.itemsPerPageText="条，每页显示条数",this.onPageChanged=new d.EventEmitter,this.onPageSizeChanged=new d.EventEmitter,this.pagerLength=5,this.pageNumber=1,this.pageCountsDropdownsettings={single:!0,isShowSearchBox:!1,isRequired:!0,width:60,placeHolder:""},this.bindingPagerList=[],this.bindingPageCounts=[]}return e.prototype.ngOnInit=function(){this.refreshPaginatorInfo()},e.prototype.refreshPaginatorInfo=function(){if(this.total<=0)return this.pageNumber=1,void(this.totalPagerLength=0);this.bindingRowsPerPage={id:this.size,label:this.size+""},this.calculatePagerLength(this.size),this.initBindingData(),this.buildBindingPagerList()},e.prototype.initBindingData=function(){this.bindingPagerList=Array(this.pagerLength).fill(null).map(function(e,t){return t+1}),this.bindingPageCounts=this.pageCounts.map(function(e){return{id:e,label:e+""}})},e.prototype.calculatePagerLength=function(e){this.totalPagerLength=this.total%e==0?this.total/e:Math.floor(this.total/e)+1},e.prototype.ngOnChanges=function(e){e&&(e.size&&e.size.currentValue&&(this.bindingRowsPerPage={id:e.size.currentValue,label:e.size.currentValue}),e.total&&e.total.currentValue&&!e.total.firstChange&&this.refreshPaginatorInfo(),e.pageNumber&&!e.pageNumber.firstChange&&e.pageNumber.currentValue&&(this.pageNumber=+e.pageNumber.currentValue,this.buildBindingPagerList()))},e.prototype.onPageCountsDropdownSelect=function(e){this.pageNumber=1,this.size=+e.id,this.calculatePagerLength(+e.id),this.buildBindingPagerList(),this.onPageSizeChanged.next(e.id)},e.prototype.buildBindingPagerList=function(){var t=this,e=Math.floor(this.pagerLength/2),n=this.pagerLength%2==0?this.pagerLength/2-1:e,r=this.pagerLength%2==0?this.pagerLength/2:e;this.bindingPagerList=[];for(var i=this.pageNumber-n;i<this.pageNumber+r+1;i++)this.bindingPagerList.push(i);var o=this.bindingPagerList.filter(function(e){return e<=0}).length,a=this.bindingPagerList.filter(function(e){return e>t.totalPagerLength}).length;if(this.bindingPagerList=this.bindingPagerList.filter(function(e){return 0<e&&e<=t.totalPagerLength}),0<o){var s=(c=this.bindingPagerList[this.bindingPagerList.length-1]+1)+o;for(i=c;i<s;i++)i<=this.totalPagerLength&&this.bindingPagerList.push(i)}if(0<a){var c;for(s=(c=this.bindingPagerList[0]-1)-a,i=c;s<i;i--)1<=i&&this.bindingPagerList.unshift(i)}},e.prototype.onNumberPagerClicked=function(e){this.pageNumber=e,this.onPageChanged.next(this.pageNumber),this.buildBindingPagerList()},e.prototype.onFirstBtnClicked=function(){1!==this.pageNumber&&(this.pageNumber=1,this.onPageChanged.next(this.pageNumber),this.buildBindingPagerList())},e.prototype.onPreBtnClicked=function(){1!==this.pageNumber&&(this.pageNumber--,this.onPageChanged.next(this.pageNumber),this.buildBindingPagerList())},e.prototype.onNextBtnClicked=function(){this.pageNumber!==this.totalPagerLength&&(this.pageNumber++,this.onPageChanged.next(this.pageNumber),this.buildBindingPagerList())},e.prototype.onLastBtnClicked=function(){this.pageNumber!==this.totalPagerLength&&(this.pageNumber=this.totalPagerLength,this.onPageChanged.next(this.pageNumber),this.buildBindingPagerList())},e.decorators=[{type:d.Component,args:[{selector:"np-paginator",template:'<div class="np-paginator-wrapper flex-wrap row-flex">\r\n  <span>{{ totalText + \' \' + total + \' \' + itemsPerPageText }}&nbsp;</span>\r\n  <span>\r\n    <np-dropdown [(ngModel)]="bindingRowsPerPage" [items]="bindingPageCounts" [settings]="pageCountsDropdownsettings"\r\n      (onSelected)="onPageCountsDropdownSelect($event)">\r\n    </np-dropdown>\r\n  </span>\r\n  <span class="pager-btn first-btn" [ngClass]="{ \'disabled-btn\' : pageNumber === 1 }"\r\n    (click)="onFirstBtnClicked()">{{ firstBtnText }}</span>\r\n  <span class="pager-btn pre-btn" [ngClass]="{ \'disabled-btn\' : pageNumber === 1 }"\r\n    (click)="onPreBtnClicked()">{{ preBtnText }}</span>\r\n\r\n  <span *ngFor="let pageIndex of bindingPagerList" class="number-pager"\r\n    [ngClass]="{ \'selected-btn\' : pageIndex === pageNumber }" (click)="onNumberPagerClicked(pageIndex)">\r\n    {{ pageIndex }}\r\n  </span>\r\n\r\n  <span class="pager-btn next-btn" [ngClass]="{ \'disabled-btn\' : pageNumber === totalPagerLength }"\r\n    (click)="onNextBtnClicked()">{{ nextBtnText }}</span>\r\n  <span class="pager-btn last-btn" [ngClass]="{ \'disabled-btn\' : pageNumber === totalPagerLength }"\r\n    (click)="onLastBtnClicked()">{{ lastBtnText }}</span>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.np-paginator-wrapper{height:27px;line-height:27px}.np-paginator-wrapper>span{display:inline-block}.np-paginator-wrapper>span:nth-child(2){width:60px;margin:0 10px}.np-paginator-wrapper>span:nth-child(2) np-dropdown .selected-item-wrapper{width:60px!important;min-width:60px!important;padding:0!important}.np-paginator-wrapper>span:nth-child(2) np-dropdown .selected-item-wrapper>span{padding:8px}.np-paginator-wrapper>span:nth-child(2) np-dropdown .selected-item-wrapper .fas.fa-caret-down,.np-paginator-wrapper>span:nth-child(2) np-dropdown .selected-item-wrapper .fas.fa-caret-up{line-height:28px!important}.np-paginator-wrapper .pager-btn{text-align:center;vertical-align:middle;line-height:25px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.np-paginator-wrapper .number-pager{min-width:27px;text-align:center;vertical-align:middle;line-height:25px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.np-paginator-wrapper .first-btn{border-top-left-radius:4px;border-bottom-left-radius:4px;width:48px}.np-paginator-wrapper .last-btn{width:48px;border-top-right-radius:4px;border-bottom-right-radius:4px}.np-paginator-wrapper .next-btn,.np-paginator-wrapper .pre-btn{width:68px}.np-paginator-wrapper .disabled-btn{cursor:not-allowed}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={total:[{type:d.Input}],pageCounts:[{type:d.Input}],size:[{type:d.Input}],firstBtnText:[{type:d.Input}],preBtnText:[{type:d.Input}],nextBtnText:[{type:d.Input}],lastBtnText:[{type:d.Input}],totalText:[{type:d.Input}],itemsPerPageText:[{type:d.Input}],onPageChanged:[{type:d.Output}],onPageSizeChanged:[{type:d.Output}],pageNumber:[{type:d.Input}]},e}(),_n=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-dropdown-item"}]}],e.ctorParameters=function(){return[]},e.propDecorators={template:[{type:d.ContentChild,args:[d.TemplateRef]}]},e}();function Nn(r){return function(e){var t=new Mn(r),n=e.lift(t);return t.caught=n}}var Mn=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new On(e,this.selector,this.caught))},e}(),On=function(o){function e(e,t,n){var r=o.call(this,e)||this;return r.selector=t,r.caught=n,r}return D(e,o),e.prototype.error=function(e){if(!this.isStopped){var t=void 0;try{t=this.selector(e,this.caught)}catch(i){return void o.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var n=new un(this);this.add(n);var r=dn(t,n);r!==n&&this.add(r)}},e}(pn);function Rn(e,t){return hn(e,t,1)}function Ln(t){return void 0===t&&(t=null),function(e){return e.lift(new Bn(t))}}var Bn=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new jn(e,this.defaultValue))},e}(),jn=function(r){function e(e,t){var n=r.call(this,e)||this;return n.defaultValue=t,n.isEmpty=!0,n}return D(e,r),e.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(xt);function Hn(t){return void 0===t&&(t=Un),function(e){return e.lift(new zn(t))}}var zn=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new Yn(e,this.errorFactory))},e}(),Yn=function(r){function e(e,t){var n=r.call(this,e)||this;return n.errorFactory=t,n.hasValue=!1,n}return D(e,r),e.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},e}(xt);function Un(){return new Gt}function Vn(t){return function(e){return 0===t?Bt():e.lift(new Qn(t))}}var Qn=function(){function e(e){if(this.total=e,this.total<0)throw new Wt}return e.prototype.call=function(e,t){return t.subscribe(new Wn(e,this.total))},e}(),Wn=function(r){function e(e,t){var n=r.call(this,e)||this;return n.total=t,n.count=0,n}return D(e,r),e.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},e}(xt);var Gn=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new Fn(e,this.predicate,this.thisArg,this.source))},e}(),Fn=function(o){function e(e,t,n,r){var i=o.call(this,e)||this;return i.predicate=t,i.thisArg=n,i.source=r,i.index=0,i.thisArg=n||i,i}return D(e,o),e.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},e.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(xt);var qn=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new Zn(e,this.callback))},e}(),Zn=function(r){function e(e,t){var n=r.call(this,e)||this;return n.add(new At(t)),n}return D(e,r),e}(xt);function Kn(r,e){var t=2<=arguments.length;return function(n){return n.pipe(r?wn(function(e,t){return r(e,t,n)}):Et,Vn(1),t?Ln(e):Hn(function(){return new Gt}))}}function Jn(t){return function(e){return 0===t?Bt():e.lift(new Xn(t))}}var Xn=function(){function e(e){if(this.total=e,this.total<0)throw new Wt}return e.prototype.call=function(e,t){return t.subscribe(new $n(e,this.total))},e}(),$n=function(r){function e(e,t){var n=r.call(this,e)||this;return n.total=t,n.ring=new Array,n.count=0,n}return D(e,r),e.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},e.prototype._complete=function(){var e=this.destination,t=this.count;if(0<t)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()},e}(xt);function er(r,e){var t=2<=arguments.length;return function(n){return n.pipe(r?wn(function(e,t){return r(e,t,n)}):Et,Jn(1),t?Ln(e):Hn(function(){return new Gt}))}}function tr(t,n){var r=!1;return 2<=arguments.length&&(r=!0),function(e){return e.lift(new nr(t,n,r))}}var nr=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new rr(e,this.accumulator,this.seed,this.hasSeed))},e}(),rr=function(o){function e(e,t,n,r){var i=o.call(this,e)||this;return i.accumulator=t,i._seed=n,i.hasSeed=r,i.index=0,i}return D(e,o),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),e.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},e.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},e}(xt);function ir(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return jt(n)?(t.pop(),function(e){return vn(t,e,n)}):function(e){return vn(t,e)}}function or(t,i){return"function"==typeof i?function(e){return e.pipe(or(function(n,r){return ln(t(n,r)).pipe(Ft(function(e,t){return i(n,e,r,t)}))}))}:function(e){return e.lift(new ar(t))}}var ar=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new sr(e,this.project))},e}(),sr=function(r){function e(e,t){var n=r.call(this,e)||this;return n.project=t,n.index=0,n}return D(e,r),e.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)},e.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new un(this),r=this.destination;r.add(n),this.innerSubscription=dn(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||r.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=undefined},e.prototype.notifyComplete=function(){this.innerSubscription=undefined,this.isStopped&&r.prototype._complete.call(this)},e.prototype.notifyNext=function(e){this.destination.next(e)},e}(pn);function cr(t){return function(e){return e.lift(new lr(t))}}var lr=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new ur(e),r=dn(this.notifier,new un(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n},e}(),ur=function(n){function e(e){var t=n.call(this,e)||this;return t.seenValue=!1,t}return D(e,n),e.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(pn);function pr(t,n,r){return function(e){return e.lift(new dr(t,n,r))}}var dr=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new hr(e,this.nextOrObserver,this.error,this.complete))},e}(),hr=function(o){function e(e,t,n,r){var i=o.call(this,e)||this;return i._tapNext=Qt,i._tapError=Qt,i._tapComplete=Qt,i._tapError=n||Qt,i._tapComplete=r||Qt,pt(t)?(i._context=i)._tapNext=t:t&&(i._context=t,i._tapNext=t.next||Qt,i._tapError=t.error||Qt,i._tapComplete=t.complete||Qt),i}return D(e,o),e.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},e}(xt);var fr=function(){function e(e,t,n){var r=this;this.overlay=e,this.overlayPositionBuilder=t,this.overlayContainer=n,this.afterClosed=new Mt,this.onClosed=this.afterClosed.asObservable(),this.close=function(e){r.sub&&r.sub.unsubscribe(),r.overlayRef&&(r.overlayRef.dispose(),r.overlayRef=null,r.afterClosed.next(e))}}return e.prototype.open=function(e,n,t,r,i){var o=this;return this.close(null),this.overlayRef=this.overlay.create(this.getOverlayConfig({origin:n},e,!0)),this.overlayRef.attach(new c.TemplatePortal(t,r,{$implicit:i,close:this.close})),this.sub=bn(document,"click").pipe(wn(function(e){var t=e.target;return t!=n&&!!o.overlayRef&&!o.overlayRef.overlayElement.contains(t)}),Vn(1)).subscribe(function(){o.close(null)}),this.onClosed.pipe(Vn(1))},e.prototype.openDropdown=function(e,t,n,r){return this.open(gr.DROPDOWN,e,t,n,r)},e.prototype.isAttached=function(){return!!this.overlayRef&&this.overlayRef.hasAttached()},e.prototype.getOverlayPosition=function(e){return this.overlayPositionBuilder.flexibleConnectedTo(e).withPositions(this.getDropdownPositions())},e.prototype.getOverlayConfig=function(e,t,n){var r=e.origin;return void 0===n&&(n=!1),new a.OverlayConfig({hasBackdrop:n,backdropClass:"backdrop-transparent",positionStrategy:(gr.DROPDOWN,this.getOverlayPosition(r)),scrollStrategy:this.overlay.scrollStrategies.block()})},e.prototype.getDropdownPositions=function(){return[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:0,offsetY:0},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:0,offsetY:0}]},e.decorators=[{type:d.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:a.Overlay},{type:a.OverlayPositionBuilder},{type:a.OverlayContainer}]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e(d.inject(a.Overlay),d.inject(a.OverlayPositionBuilder),d.inject(a.OverlayContainer))},token:e,providedIn:"root"}),e}(),gr={DROPDOWN:0,MENU:1};gr[gr.DROPDOWN]="DROPDOWN",gr[gr.MENU]="MENU";var mr=function(){function e(e,t,n,r){this.viewContainerRef=e,this.overlayService=t,this.cdf=n,this.renderer2=r,this.emitChange=function(e){},this.disabled=!1,this.items=[],this.onSelected=new d.EventEmitter,this.onDeselected=new d.EventEmitter,this.onSelectedAll=new d.EventEmitter,this.onDeselectedAll=new d.EventEmitter,this.originItems=[],this.selectedItems=[],this.selectedBadgeItems=[],this.noneBadgeCount=0,this._isCheckedAll=!1}return Object.defineProperty(e.prototype,"selectedLabel",{get:function(){return this.checkItemExists(),this.settings.single&&this.selectedItem?this.selectedItem.label:this.settings.placeHolder},enumerable:!0,configurable:!0}),e.prototype.buildMultipleSelect=function(){if(!this.settings.single){this.checkItemExists();var e=this.selectedItem;e&&0<e.length?this.selectedItems=O(e):this.selectedItems=[{id:-1,label:this.settings.placeHolder}];var t=O(this.selectedItems);t.splice(this.settings.badge),this.selectedBadgeItems=t,this.noneBadgeCount=this.selectedItems.length-this.settings.badge,this.cdf.detectChanges()}},Object.defineProperty(e.prototype,"isDropdownOpen",{get:function(){return this.overlayService.isAttached()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isItemSelected",{get:function(){return this.settings.single?this.selectedLabel!==this.settings.placeHolder:!!(this.selectedItems&&0<this.selectedItems.length)&&this.selectedItems[0].label!==this.settings.placeHolder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCheckedAll",{get:function(){return this.items.length===this.selectedItem.length},set:function(e){this._isCheckedAll=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.init()},e.prototype.ngOnChanges=function(e){var t=e.items;t&&t.currentValue&&0<=t.currentValue.length&&(this.originItems=O(t.currentValue))},e.prototype.onSelectAll=function(t){this.items.forEach(function(e){e.checked=t}),this.selectedItem=t?O(this.items):[],this.buildMultipleSelect(),this.onSelectedAll.emit(this.selectedItem),this.emitChange(this.selectedItem)},e.prototype.onSelect=function(t){if(this.settings.single)return this.selectedItem=t,this.onSelected.emit(t),this.emitChange(t),this.cdf.detectChanges(),void this.overlayService.close({item:t});this.selectedItem&&this.selectedItem.length||(this.selectedItem=[]),t.checked?this.selectedItem.push(t):this.selectedItem=this.selectedItem.filter(function(e){return e.id!==t.id}),this.buildMultipleSelect(),this.onSelected.emit(t),this.emitChange(this.selectedItem)},e.prototype.onSearch=function(t){t?this.items=this.originItems.filter(function(e){return-1<e.label.indexOf(t)}):this.clearSearch()},e.prototype.isActive=function(t){return!!this.selectedItem&&(this.settings.single?t.id===this.selectedItem.id:this.selectedItem.find(function(e){return e.id===t.id}))},e.prototype.onOpenDropdown=function(e,t,n){var r=this;e.stopPropagation(),this.disabled||(this.isDropdownOpen?this.overlayService.close(null):(this.overlayService.openDropdown(n,t,this.viewContainerRef,null).subscribe(function(){}),this.buildItemsCheckedStatus(),setTimeout(function(){r.scrollToSelectedItem()},100),setTimeout(function(){if(r.overlayService.overlayRef&&r.overlayService.overlayRef.overlayElement){var e=r.overlayService.overlayRef.overlayElement.getElementsByClassName("np-input-wrapper"),t=r.overlayService.overlayRef.overlayElement.getElementsByClassName("input-container"),n=r.overlayService.overlayRef.overlayElement.getElementsByClassName("np-input");e&&0<e.length&&r.renderer2.setStyle(e[0],"width","100%"),t&&0<t.length&&r.renderer2.setStyle(t[0],"width","100%"),n&&0<n.length&&(r.renderer2.setStyle(n[0],"width",r.settings.width+"px"),r.renderer2.setStyle(n[0],"padding-left","30px"),r.renderer2.setStyle(n[0],"border-top","none"),r.renderer2.setStyle(n[0],"border-left","none"),r.renderer2.setStyle(n[0],"border-right","none"),r.renderer2.setStyle(n[0],"box-shadow","none"))}},0)))},e.prototype.onRemoveItems=function(e){this.disabled||(this.selectedItem=this.settings.single?null:[],this.clearSearch(),this.items.forEach(function(e){e.checked=!1}),this.buildMultipleSelect(),this.onDeselectedAll.emit(this.items),this.emitChange(this.selectedItem),e.stopPropagation())},e.prototype.onRemoveItem=function(e,t){this.disabled||(this.selectedItem=this.selectedItem.filter(function(e){return e.id!==t.id}),this.clearSearch(),t.checked=!1,this.buildMultipleSelect(),this.onDeselected.emit(t),this.emitChange(this.selectedItem),e.stopPropagation())},e.prototype.writeValue=function(e){(null!==e||this.settings.single)&&(this.selectedItem=e,this.settings.single?this.cdf.detectChanges():(this.selectedItem.forEach(function(e){e.checked===undefined&&(e.checked=!0)}),this.buildMultipleSelect()))},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.prototype.init=function(){this.originItems=O(this.items);this.settings=Object.assign({single:!0,placeHolder:"请选择",width:220,badge:99999,isShowSearchBox:!0,noData:"没有数据！",autoScrollTo:!0},this.settings)},e.prototype.checkItemExists=function(){var n=this;if(this.settings.single)this.selectedItem&&!this.originItems.find(function(e){return e.id===n.selectedItem.id})&&(this.selectedItem=null);else if(this.selectedItem&&0<this.selectedItem.length){var e=[];this.selectedItem.forEach(function(t){n.originItems.find(function(e){return e.id===t.id})&&e.push(t)}),this.selectedItem=[],this.selectedItem=e}},e.prototype.clearSearch=function(){this.searchToken="",this.items=O(this.originItems),this.buildItemsCheckedStatus()},e.prototype.buildItemsCheckedStatus=function(){var n=this;this.settings.single||this.items.forEach(function(t){var e=n.selectedItem.find(function(e){return e.id===t.id});t.checked=!!e})},e.prototype.scrollToSelectedItem=function(){if(this.settings.autoScrollTo){var t=this.settings.single?this.selectedItem:this.selectedItem&&this.selectedItem[0];if(t){var e=this.originItems.findIndex(function(e){return e.id===t.id});this.viewPort.scrollToIndex(e,"smooth")}}},e.decorators=[{type:d.Component,args:[{selector:"np-dropdown",template:'<div class="np-dropdown-wrapper flex-wrap row-flex">\r\n  <label class="select-lbl" *ngIf="settings.lblName">{{ settings.lblName }}</label>\r\n  <div class="selected-item-wrapper" [style.width.px]="settings.width" [ngClass]="{\'disabled\': disabled}"\r\n    (click)="onOpenDropdown($event, dropdown, origin)" #origin tabindex="-1">\r\n    \x3c!-- Single select --\x3e\r\n    <ng-container *ngIf="settings.single">\r\n      <span [ngClass]="{\'placeholder\': !isItemSelected}">{{ selectedLabel }}</span>\r\n    </ng-container>\r\n\r\n    \x3c!-- Multiple select --\x3e\r\n    <ng-container *ngIf="!settings.single">\r\n      <div class="mul-item-container">\r\n        <ng-container *ngIf="!isItemSelected && selectedItems[0]"><span\r\n            class="placeholder">{{ selectedItems[0].label }}</span>\r\n        </ng-container>\r\n        <ng-container *ngIf="isItemSelected">\r\n          <span class="mul-item" *ngFor="let selectedItem of selectedBadgeItems; let i=index;">\r\n            <ng-container>\r\n              <span>{{ selectedItem.label }}</span>&nbsp;&nbsp;\r\n              <i class="fas fa-times" *ngIf="isItemSelected" (click)="onRemoveItem($event, selectedItem)"></i>\r\n            </ng-container>\r\n          </span>\r\n        </ng-container>\r\n      </div>\r\n    </ng-container>\r\n    <span class="none-badge-count" *ngIf="noneBadgeCount > 0">{{ \'+\' + noneBadgeCount }}</span>\r\n    <i class="fas fa-times" *ngIf="!settings.isRequired && isItemSelected" (click)="onRemoveItems($event)"></i>\r\n    <i class="fas fa-caret-down" *ngIf="!isDropdownOpen"></i>\r\n    <i class="fas fa-caret-up" *ngIf="isDropdownOpen"></i>\r\n  </div>\r\n\r\n  <ng-template #dropdown>\r\n    <div class="np-dropdown-viewport flex-wrap col-flex">\r\n      <div class="search-container" *ngIf="settings.isShowSearchBox">\r\n        <np-input class="search-input" placeholder="查询" [(ngModel)]="searchToken" (ngModelChange)="onSearch($event)">\r\n        </np-input>\r\n        <i class="fas fa-search"></i>\r\n      </div>\r\n      <np-checkbox class="select-all" *ngIf="settings.isShowCheckedAll && !settings.single" [(ngModel)]="isCheckedAll"\r\n        (inputModelChange)="onSelectAll($event)">全选\r\n      </np-checkbox>\r\n      <cdk-virtual-scroll-viewport itemSize="35" [style.width.px]="settings.width" #virtualScrollViewport>\r\n        <div *ngIf="!items || !items.length || items.length === 0">{{ settings.noData }}</div>\r\n\r\n        \x3c!-- Single select --\x3e\r\n        <ng-container *ngIf="settings.single">\r\n          <div *cdkVirtualFor="let item of items" [class.active]="isActive(item)" class="select-item"\r\n            (click)="onSelect(item)">\r\n            <ng-container *ngIf="!selectItemRef || !selectItemRef.template">{{ item.label }}</ng-container>\r\n            <ng-container *ngIf="selectItemRef && selectItemRef.template">\r\n              <ng-container *ngTemplateOutlet="selectItemRef.template; context: { item: item }">\r\n              </ng-container>\r\n            </ng-container>\r\n          </div>\r\n        </ng-container>\r\n\r\n        \x3c!-- Multiple select --\x3e\r\n        <ng-container *ngIf="!settings.single">\r\n          <div *cdkVirtualFor="let item of items" [class.active]="isActive(item)"\r\n            class="select-item flex-wrap row-flex">\r\n            <np-checkbox [(ngModel)]="item.checked" (inputModelChange)="onSelect(item)">\r\n              <div style="width: 100%;">\r\n                <ng-container *ngIf="!selectItemRef || !selectItemRef.template">\r\n                  {{ item.label }}\r\n                </ng-container>\r\n                <ng-container *ngIf="selectItemRef && selectItemRef.template">\r\n                  <ng-container *ngTemplateOutlet="selectItemRef.template; context: { item: item }">\r\n                  </ng-container>\r\n                </ng-container>\r\n              </div>\r\n            </np-checkbox>\r\n          </div>\r\n        </ng-container>\r\n      </cdk-virtual-scroll-viewport>\r\n    </div>\r\n  </ng-template>\r\n</div>\r\n',changeDetection:d.ChangeDetectionStrategy.OnPush,host:{"[class.disabled]":'disabled === "true" || disabled === true'},providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".np-dropdown-wrapper{position:relative;align-items:baseline;display:inline-block}.np-dropdown-wrapper .select-lbl{margin-right:20px;font-size:13px;font-weight:700}.np-dropdown-wrapper .selected-item-wrapper{box-sizing:content-box;display:inline-block;min-width:80px;padding:7.5px 6px;cursor:pointer;border-radius:3px;border-width:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;font-size:13px}.np-dropdown-wrapper .selected-item-wrapper>.fas.fa-caret-down,.np-dropdown-wrapper .selected-item-wrapper>.fas.fa-caret-up{position:absolute;right:8px;line-height:20px}.np-dropdown-wrapper .selected-item-wrapper>.fas.fa-times{position:absolute;right:23px;line-height:20px;font-size:13px;padding:0 5px}.np-dropdown-wrapper .selected-item-wrapper>.none-badge-count{position:absolute;right:38px;line-height:20px;padding:0 5px}.np-dropdown-wrapper .selected-item-wrapper .mul-item-container{display:inline-block}.np-dropdown-wrapper .selected-item-wrapper .mul-item-container .mul-item{padding:2px 5px;margin-right:2px}.np-dropdown-wrapper .selected-item-wrapper .mul-item-container .mul-item .fas.fa-times{font-size:10px}.np-dropdown-viewport{min-width:80px;padding:0 6px;height:300px;border-radius:3px}.np-dropdown-viewport .search-container{display:flex;position:relative}.np-dropdown-viewport .search-container .fas.fa-search{position:absolute;left:12px;top:0;line-height:50px;font-size:14px}.np-dropdown-viewport .search-input{width:100%;margin-bottom:5px;margin-top:8px}.np-dropdown-viewport .search-input .input-container,.np-dropdown-viewport .search-input .np-input-wrapper,.np-dropdown-viewport .search-input input{width:100%!important}.np-dropdown-viewport .select-all{margin:6px}.np-dropdown-viewport>cdk-virtual-scroll-viewport{height:100%;margin-top:8px}.np-dropdown-viewport>cdk-virtual-scroll-viewport .select-item{height:28px;line-height:28px;padding:3px 6px;font-size:13px;cursor:pointer;align-items:center;margin-bottom:1px;box-sizing:content-box;white-space:nowrap}.np-dropdown-viewport>cdk-virtual-scroll-viewport .select-item>np-checkbox{margin-right:3px}.np-dropdown-viewport>cdk-virtual-scroll-viewport .select-item .np-checkbox-button-wrapper{margin:0!important}.np-dropdown-viewport>cdk-virtual-scroll-viewport .select-item .np-checkbox-button-wrapper span.input-helper{top:6px}"]}]}],e.ctorParameters=function(){return[{type:d.ViewContainerRef},{type:fr},{type:d.ChangeDetectorRef},{type:d.Renderer2}]},e.propDecorators={disabled:[{type:d.Input}],settings:[{type:d.Input}],items:[{type:d.Input}],selectedItem:[{type:d.Input}],onSelected:[{type:d.Output}],onDeselected:[{type:d.Output}],onSelectedAll:[{type:d.Output}],onDeselectedAll:[{type:d.Output}],selectItemRef:[{type:d.ContentChild,args:[_n]}],viewPort:[{type:d.ViewChild,args:["virtualScrollViewport"]}]},e}(),yr=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule,i.ScrollingModule,v,g],declarations:[mr,_n],exports:[mr,_n]}]}],e}(),vr=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule,yr],declarations:[Tn],exports:[Tn]}]}],e}(),Ar=function(){function e(){}return e.prototype.renderDOM=function(e,t){void 0===t&&(t=0);var n=document.createElement("div");n.id="loading-container",n.className="loading-container",n.innerHTML='\n      <div class="loading-mark"></div>\n      <div class="loading">\n        <div class="sk-circle">\n          <div class="sk-circle1 sk-child"></div>\n          <div class="sk-circle2 sk-child"></div>\n          <div class="sk-circle3 sk-child"></div>\n          <div class="sk-circle4 sk-child"></div>\n          <div class="sk-circle5 sk-child"></div>\n          <div class="sk-circle6 sk-child"></div>\n          <div class="sk-circle7 sk-child"></div>\n          <div class="sk-circle8 sk-child"></div>\n          <div class="sk-circle9 sk-child"></div>\n          <div class="sk-circle10 sk-child"></div>\n          <div class="sk-circle11 sk-child"></div>\n          <div class="sk-circle12 sk-child"></div>\n        </div>\n        <div class="loading-text">'+e+"</div>\n      </div>\n      ";var r=document.body;r.appendChild(n),1e4<t&&setTimeout(function(){n&&r.removeChild(n)},t)},e.prototype.deleteDOM=function(){var e=document.body,t=document.getElementById("loading-container");t&&e.removeChild(t)},e.prototype.begin=function(){document.getElementById("loading-container")||(this.renderDOM("处理中"),this.prevTime=Date.now())},e.prototype.end=function(){var e=this;this.afterTime=Date.now();var t=this.afterTime-this.prevTime;t<500?setTimeout(function(){e.deleteDOM()},500-t):this.deleteDOM()},e.decorators=[{type:d.Injectable,args:[{providedIn:nt}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e},token:e,providedIn:nt}),e}(),br=function(){function e(e){this.template=e}return e.decorators=[{type:d.Directive,args:[{selector:"[np-tab-header]"}]}],e.ctorParameters=function(){return[{type:d.TemplateRef}]},e}(),wr=function(){function e(e){this.cdf=e,this._active=!1,this.disabled=!1}return Object.defineProperty(e.prototype,"active",{get:function(){return this._active},set:function(e){this._active=e,this.cdf.detectChanges()},enumerable:!0,configurable:!0}),e.decorators=[{type:d.Component,args:[{selector:"np-tab",template:'<ng-container *ngIf="active">\n                <div><ng-content></ng-content></div>\n             </ng-container>\n            ',encapsulation:d.ViewEncapsulation.None}]}],e.ctorParameters=function(){return[{type:d.ChangeDetectorRef}]},e.propDecorators={tabTitle:[{type:d.Input}],disabled:[{type:d.Input}],headerTemplate:[{type:d.ContentChild,args:[br]}]},e}(),xr=function(){function e(){this.selectedIndex=0,this.type="default",this.selectedIndexChange=new d.EventEmitter}return e.prototype.ngOnChanges=function(n){if(n.selectedIndex&&!n.selectedIndex.firstChange){var e=this.tabs.find(function(e,t){return t===n.selectedIndex.currentValue});this.selectTab(e)}},e.prototype.ngAfterContentInit=function(){var n=this,e=this.tabs.find(function(e,t){return t===n.selectedIndex});this.selectTab(e)},e.prototype.selectTab=function(e,t){void 0===t&&(t=-1),e.disabled||(-1!==t&&(this.selectedIndex=t),this.tabs.toArray().forEach(function(e){e.active=!1}),e.active=!0,this.selectedIndex!==undefined&&-1<t&&this.selectedIndexChange.emit(this.selectedIndex))},e.prototype.isShowDivider=function(e,t,n){var r=e.toArray();return!t.active&&(r.length-1!==n&&!(!t.active&&r[n+1]&&r[n+1].active))},e.prototype.ngOnDestroy=function(){},e.decorators=[{type:d.Component,args:[{selector:"np-tab-group",template:'<div class="tab-title-container" [ngClass]="{\'chrome-like-tabs\': type === \'chrome-like\'}">\r\n  <div class="tab-title" *ngFor="let tab of tabs;let $index=index" (click)="selectTab(tab, $index)"\r\n    [class.active]="tab.active" [class.disabled]="tab.disabled">\r\n    <span *ngIf="type === \'chrome-like\'" class="square-block-before"></span>\r\n    <ng-container *ngIf="tab.headerTemplate">\r\n      <ng-container *ngTemplateOutlet="tab.headerTemplate.template; context: { title: tab.tabTitle }"></ng-container>\r\n    </ng-container>\r\n    <ng-container *ngIf="!tab.headerTemplate">\r\n      {{tab.tabTitle }}\r\n    </ng-container>\r\n    <span *ngIf="type === \'chrome-like\'" class="square-block-after"></span>\r\n    <span *ngIf="type === \'chrome-like\' && isShowDivider(tabs, tab, $index) " class="tab-divider"></span>\r\n  </div>\r\n</div>\r\n<ng-content></ng-content>\r\n',host:{"[class.chrome-like-wrapper]":"type === 'chrome-like'"},encapsulation:d.ViewEncapsulation.None,styles:[".tab-title-container{margin-bottom:40px;height:34px;width:100%;display:flex;padding-bottom:2px}.tab-title-container .tab-title{font-size:16px;font-weight:500;padding-left:18px;padding-right:18px;height:35px;cursor:pointer;padding-bottom:2px;line-height:35px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tab-title-container .tab-title.active{padding-bottom:0}.tab-title-container.chrome-like-tabs{border-top-left-radius:10px;border-top-right-radius:10px}.tab-title-container.chrome-like-tabs .tab-title:first-child{margin-left:15px}.tab-title-container.chrome-like-tabs .tab-title{position:relative;border-radius:10px 10px 0 0}.tab-title-container.chrome-like-tabs .tab-title.active::before{content:'';width:0;height:0;position:absolute;bottom:0;left:-10px;border-width:0 0 10px 10px;border-style:solid;border-bottom-right-radius:20px;transform:rotate(0);z-index:2}.tab-title-container.chrome-like-tabs .tab-title.active::after{content:'';width:0;height:0;position:absolute;bottom:0;right:-10px;border-width:0 0 10px 10px;border-style:solid;border-bottom-right-radius:20px;transform:rotate(90deg);z-index:2}.tab-title-container.chrome-like-tabs .tab-title .square-block-before{position:absolute;content:'';width:10px;height:10px;left:-10px;background-color:inherit;bottom:0}.tab-title-container.chrome-like-tabs .tab-title .square-block-after{position:absolute;content:'';width:10px;height:10px;right:-10px;background-color:inherit;bottom:0}.tab-title-container.chrome-like-tabs .tab-title .tab-divider{width:0;height:20px;position:absolute;right:0;top:9px}.chrome-like-wrapper{border-top-left-radius:10px;border-top-right-radius:10px}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={selectedIndex:[{type:d.Input}],type:[{type:d.Input}],selectedIndexChange:[{type:d.Output}],tabs:[{type:d.ContentChildren,args:[wr]}]},e}(),Cr=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],exports:[xr,wr,br],declarations:[xr,wr,br]}]}],e}(),kr=function(){function e(){this.navigationKeys=["Backspace","Delete","Tab","Escape","Enter","Home","End","ArrowLeft","ArrowRight","Clear","Copy","Paste"],this.currentLen=0,this.chineseReg=/[^\x00-\xff]/g,this.placeholder="",this.maxLen=-1,this.numberOnly=!1,this.emitChange=function(e){}}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterViewInit=function(){},e.prototype.ngOnChanges=function(e){},e.prototype.onChange=function(e){var t=e.target.value;this.emitChange(t)},e.prototype.writeValue=function(e){(e||""===e)&&(this.val=e,-1<this.maxLen&&this.calculateCurrentLen())},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.prototype.validate=function(e){return null},e.prototype.onKeyup=function(e){if(-1!==this.maxLen){if(-1<this.maxLen)this.calculateCurrentLen(),0<(this.val&&this.val.match(this.chineseReg)||[]).length&&(this.val=this.val.substring(0,this.maxLen));this.numberOnly&&(this.val=this.val?this.val.replace(this.chineseReg,""):"")}},e.prototype.isTriggerKeyEvents=function(){return-1!==this.maxLen||this.numberOnly},e.prototype.onKeyDown=function(e){if(this.isTriggerKeyEvents()&&!(-1<this.navigationKeys.indexOf(e.key)||"a"===e.key&&!0===e.ctrlKey||"c"===e.key&&!0===e.ctrlKey||"v"===e.key&&!0===e.ctrlKey||"x"===e.key&&!0===e.ctrlKey||"a"===e.key&&!0===e.metaKey||"c"===e.key&&!0===e.metaKey||"v"===e.key&&!0===e.metaKey||"x"===e.key&&!0===e.metaKey)){if(-1<this.maxLen){var t=window.getSelection()+"";this.val&&this.val.length>=this.maxLen&&""===t&&e.preventDefault()}this.numberOnly&&isNaN(Number(e.key))&&e.preventDefault()}},e.prototype.onPaste=function(e){if(this.isTriggerKeyEvents()){e.preventDefault();var t=this.val;if(-1<this.maxLen||this.numberOnly){var n=e.clipboardData.getData("text/plain");if(this.numberOnly){var r=n.replace(/\D/g,"");this.val=t+r}if(-1<this.maxLen){r=n.substring(0,this.maxLen);this.val=t+r}}}},e.prototype.calculateCurrentLen=function(){this.currentLen=this.val?this.val.length:0,this.currentLen=this.currentLen>this.maxLen?this.maxLen:this.currentLen},e.decorators=[{type:d.Component,args:[{selector:"np-textarea",template:'<div id="np-textarea-wrapper" class="np-textarea-wrapper np-row">\r\n  <div class="np-column np-lbl-container"  *ngIf="label">\r\n    <label for="np-textarea" class="np-textarea-lbl">\r\n      <span class="form-required" *ngIf="isRequired">*</span>\r\n      {{ label }}\r\n    </label>\r\n  </div>\r\n  <div class="np-column np-textarea-container">\r\n    <textarea  class="np-textarea" id="np-textarea" [(ngModel)]="val" [placeholder]="placeholder" [attr.disabled]="isDisabled ? \'\' : null"\r\n      [class.disabled]="isDisabled" (change)="onChange($event)" (keyup)="onChange($event)" cols="30" rows="10" >\r\n    </textarea>\r\n    <span class="error-message" *ngIf="errorMessage">{{ errorMessage }}</span>\r\n    <div class="np-len" *ngIf="maxLen > -1 && maxLen < 1000">\r\n      <span class="cur-length">{{ currentLen }}</span> / <span>{{ maxLen }}</span>\r\n    </div>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0},{provide:l.NG_VALIDATORS,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".flex-wrap{display:flex}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.backdrop-transparent{opacity:0}#np-textarea-wrapper{align-items:baseline}#np-textarea-wrapper .np-lbl-container{flex:0}#np-textarea-wrapper .np-lbl-container .np-textarea-lbl{width:80px;margin-right:20px;text-align:right;font-size:13px;font-weight:700}#np-textarea-wrapper .np-textarea-container{position:relative}#np-textarea-wrapper .np-textarea-container .np-textarea{box-sizing:border-box;background-image:none;border-radius:1px;display:inline-block;padding:5px 10px;margin:0;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%;height:83px;line-height:20px}#np-textarea-wrapper .np-textarea-container .np-textarea:focus{outline:0!important;outline-offset:unset;border-width:1px}#np-textarea-wrapper .np-textarea-container .error-message{display:block;font-size:10px;margin:5px}#np-textarea-wrapper .np-textarea-container .np-len{position:absolute;right:5px;height:34px;line-height:34px;font-size:14px;z-index:1000}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={label:[{type:d.Input}],isRequired:[{type:d.Input}],placeholder:[{type:d.Input}],errorMessage:[{type:d.Input}],isDisabled:[{type:d.Input}],maxLen:[{type:d.Input}],numberOnly:[{type:d.Input}],onKeyup:[{type:d.HostListener,args:["keyup",["$event"]]}],onKeyDown:[{type:d.HostListener,args:["keydown",["$event"]]}],onPaste:[{type:d.HostListener,args:["paste",["$event"]]}]},e}(),Er=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[kr],exports:[kr]}]}],e}(),Sr=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-column"}]}],e.ctorParameters=function(){return[]},e.propDecorators={name:[{type:d.Input}],cellTemplate:[{type:d.ContentChild,args:[d.TemplateRef]}]},e}(),Dr=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-empty"}]}],e.ctorParameters=function(){return[]},e.propDecorators={name:[{type:d.Input}],template:[{type:d.ContentChild,args:[d.TemplateRef]}]},e}(),Ir=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-header"}]}],e.ctorParameters=function(){return[]},e.propDecorators={name:[{type:d.Input}],headerTemplate:[{type:d.ContentChild,args:[d.TemplateRef]}]},e}(),Pr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function n(e){return"function"==typeof e}});b(Pr);Pr.isFunction;var Tr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=!1;t.config={Promise:undefined,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=e},get useDeprecatedSynchronousErrorHandling(){return n}}});b(Tr);Tr.config;var _r=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function n(e){setTimeout(function(){throw e},0)}});b(_r);_r.hostReportError;var Nr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.empty={closed:!0,next:function(e){},error:function(e){if(Tr.config.useDeprecatedSynchronousErrorHandling)throw e;_r.hostReportError(e)},complete:function(){}}});b(Nr);Nr.empty;var Mr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}});b(Mr);Mr.isArray;var Or=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function n(e){return null!==e&&"object"==typeof e}});b(Or);Or.isObject;var Rr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();t.UnsubscriptionError=n});b(Rr);Rr.UnsubscriptionError;var Lr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function l(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var e;return l.prototype.unsubscribe=function(){var e;if(!this.closed){var t=this._parentOrParents,n=this._ctorUnsubscribe,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof l)t.remove(this);else if(null!==t)for(var o=0;o<t.length;++o){t[o].remove(this)}if(Pr.isFunction(r)){n&&(this._unsubscribe=undefined);try{r.call(this)}catch(c){e=c instanceof Rr.UnsubscriptionError?u(c.errors):[c]}}if(Mr.isArray(i)){o=-1;for(var a=i.length;++o<a;){var s=i[o];if(Or.isObject(s))try{s.unsubscribe()}catch(c){e=e||[],c instanceof Rr.UnsubscriptionError?e=e.concat(u(c.errors)):e.push(c)}}}if(e)throw new Rr.UnsubscriptionError(e)}},l.prototype.add=function(e){var t=e;if(!e)return l.EMPTY;switch(typeof e){case"function":t=new l(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof l)){var n=t;(t=new l)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=t._parentOrParents;if(null===r)t._parentOrParents=this;else if(r instanceof l){if(r===this)return t;t._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return t;r.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t},l.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},l.EMPTY=((e=new l).closed=!0,e),l}();function u(e){return e.reduce(function(e,t){return e.concat(t instanceof Rr.UnsubscriptionError?t.errors:t)},[])}t.Subscription=n});b(Lr);Lr.Subscription;var Br=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber});b(Br);Br.rxSubscriber,Br.$$rxSubscriber;var jr=w(function(e,t){var r,n=A&&A.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(i){function o(e,t,n){var r=i.call(this)||this;switch(r.syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=Nr.empty;break;case 1:if(!e){r.destination=Nr.empty;break}if("object"==typeof e){e instanceof o?(r.syncErrorThrowable=e.syncErrorThrowable,(r.destination=e).add(r)):(r.syncErrorThrowable=!0,r.destination=new a(r,e));break}default:r.syncErrorThrowable=!0,r.destination=new a(r,e,t,n)}return r}return n(o,i),o.prototype[Br.rxSubscriber]=function(){return this},o.create=function(e,t,n){var r=new o(e,t,n);return r.syncErrorThrowable=!1,r},o.prototype.next=function(e){this.isStopped||this._next(e)},o.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},o.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},o.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,i.prototype.unsubscribe.call(this))},o.prototype._next=function(e){this.destination.next(e)},o.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},o.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},o.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},o}(Lr.Subscription),a=function(s){function e(e,t,n,r){var i,o=s.call(this)||this;o._parentSubscriber=e;var a=o;return Pr.isFunction(t)?i=t:t&&(i=t.next,n=t.error,r=t.complete,t!==Nr.empty&&(a=Object.create(t),Pr.isFunction(a.unsubscribe)&&o.add(a.unsubscribe.bind(a)),a.unsubscribe=o.unsubscribe.bind(o))),o._context=a,o._next=i,o._error=n,o._complete=r,o}return n(e,s),e.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;Tr.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},e.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=Tr.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?this.__tryOrSetError(t,this._error,e):this.__tryOrUnsub(this._error,e),this.unsubscribe();else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):_r.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;_r.hostReportError(e)}}},e.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};Tr.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,n):this.__tryOrUnsub(n),this.unsubscribe()}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),Tr.config.useDeprecatedSynchronousErrorHandling)throw n;_r.hostReportError(n)}},e.prototype.__tryOrSetError=function(e,t,n){if(!Tr.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return Tr.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0):(_r.hostReportError(r),!0)}return!1},e.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},e}(t.Subscriber=i);t.SafeSubscriber=a});b(jr);jr.Subscriber,jr.SafeSubscriber;var Hr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.canReportError=function o(e){for(;e;){var t=e,n=t.closed,r=t.destination,i=t.isStopped;if(n||i)return!1;e=r&&r instanceof jr.Subscriber?r:null}return!0}});b(Hr);Hr.canReportError;var zr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.toSubscriber=function r(e,t,n){if(e){if(e instanceof jr.Subscriber)return e;if(e[Br.rxSubscriber])return e[Br.rxSubscriber]()}return e||t||n?new jr.Subscriber(e,t,n):new jr.Subscriber(Nr.empty)}});b(zr);zr.toSubscriber;var Yr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"});b(Yr);Yr.observable;var Ur=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function n(e){return e}});b(Ur);Ur.identity;var Vr=w(function(e,t){function n(t){return 0===t.length?Ur.identity:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.pipe=function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(e)},t.pipeFromArray=n});b(Vr);Vr.pipe,Vr.pipeFromArray;var Qr=w(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function n(e){this._isScalar=!1,e&&(this._subscribe=e)}return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,n){var r=this.operator,i=zr.toSubscriber(e,t,n);if(r?i.add(r.call(i,this.source)):i.add(this.source||Tr.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),Tr.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},n.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){Tr.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Hr.canReportError(e)?e.error(t):console.warn(t)}},n.prototype.forEach=function(i,e){var t=this;return new(e=o(e))(function(e,n){var r;r=t.subscribe(function(e){try{i(e)}catch(t){n(t),r&&r.unsubscribe()}},n,e)})},n.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},n.prototype[Yr.observable]=function(){return this},n.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:Vr.pipeFromArray(e)(this)},n.prototype.toPromise=function(e){var r=this;return new(e=o(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},n.create=function(e){return new n(e)},n}();function o(e){if(e||(e=Tr.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=n});b(Qr);var Wr,Gr=Qr.Observable,Fr=function(){function e(){}return e.hexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},e.ID=function(){return"_"+Math.random().toString(36).substr(2,9)},e.objEqual=function(e,t){var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(e[o]!==t[o])return!1}return!0},e.toBoolean=function(e){return null!=e&&""+e!="false"},e.checkImgWidthAndHeight=function(t,o,a){return Gr.create(function(r){var i=!1;if(t){var e=new FileReader;e.onload=function(e){var t=e.target.result,n=new Image;n.onload=function(){var e=n.width,t=n.height;i=e===o&&t===a,r.next(i),r.complete()},n.src=t},e.readAsDataURL(t)}})},e.compareValues=function(o,a){return void 0===a&&(a="asc"),function(e,t){if(!e.hasOwnProperty(o)||!t.hasOwnProperty(o))return 0;var n="string"==typeof e[o]?e[o].toUpperCase():e[o],r="string"==typeof t[o]?t[o].toUpperCase():t[o],i=0;return r<n?i=1:n<r&&(i=-1),"desc"===a?-1*i:i}},e}(),qr=function(){function e(){this.total=0,this.pageSize=20,this.showCheckbox=!1,this.showPager=!0,this.serverSideSort=!1,this.firstBtnText="首页",this.preBtnText="上一页",this.nextBtnText="下一页",this.lastBtnText="尾页",this.totalText="共",this.itemsPerPageText="条，每页显示条数",this.noDataLabel="没有数据",this.pageNumber=1,this.pageNumberChange=new d.EventEmitter,this.onPageChanged=new d.EventEmitter,this.onPageSizeChanged=new d.EventEmitter,this.onRowsChecked=new d.EventEmitter,this.onRowsUnchecked=new d.EventEmitter,this.onServerSideSorted=new d.EventEmitter,this.onRows=new d.EventEmitter,this.projectedTemplates=[],this.headerTemplates=[],this.internalColumns=[],this.selectedRows=[],this.datasourceSortedByDefault=[]}return e.prototype.ngOnInit=function(){var t=this;this.datasourceSortedByDefault=O(this.datasource),this.showCheckbox&&(this.internalColumns=[],this.internalColumns.push({headerName:"chk",headerDisplayName:"",width:"50px",isCheckbox:!0})),this.mergeToInternalColumns(),this.onServerSideSorted.subscribe(function(e){console.log("onServerSideSorted: ",e),t.buildServerSideSort(e.col)})},e.prototype.ngOnChanges=function(e){if(e.columns&&e.columns.currentValue&&0<e.columns.currentValue.length&&e.columns.previousValue&&0<e.columns.previousValue.length&&e.columns.currentValue!==e.columns.previousValue&&(this.mergeToInternalColumns(),this.projectTemplate()),e.datasource&&e.datasource.currentValue&&0<e.datasource.currentValue.length&&(this.datasourceSortedByDefault=O(e.datasource.currentValue),this.initUniqueIdForDatasource()),e.total&&e.total.currentValue&&(this.total=+e.total.currentValue),e.pageNumber&&!e.pageNumber.firstChange&&e.pageNumber.currentValue){var t=+e.pageNumber.currentValue;this.pageNumber=t,this.pageNumberChange.emit(t),this.selectAll(!1)}},e.prototype.ngAfterContentInit=function(){this.projectTemplate()},e.prototype.onTablePageChanged=function(e){this.pageNumber=e,this.pageNumberChange.emit(this.pageNumber),this.onPageChanged.next(e),this.selectAll(!1)},e.prototype.onTablePageSizeChanged=function(e){this.pageSize=e,this.onPageSizeChanged.next(e),this.selectAll(!1)},e.prototype.onSelectAllChecked=function(e){this.selectAll(e);var t=[];this.datasource&&0<this.datasource.length&&this.datasource.forEach(function(e){t.push(e)}),this.onRows.emit(t)},e.prototype.onRowSelectChecked=function(t){var e=this.internalColumns.find(function(e){return"chk"===e.headerName});t.checked?this.selectedRows.find(function(e){return e.dt_id===t.dt_id})||this.selectedRows.push(t):(this.selectedRows=this.selectedRows.filter(function(e){return e.dt_id!==t.dt_id}),this.onRowsUnchecked.next(t)),e&&(e.checked=this.selectedRows.length===this.pageSize),0===this.selectedRows.length&&this.selectAll(!1),this.onRowsChecked.next(this.selectedRows),this.onRows.emit(t)},e.prototype.onSort=function(e){e.sort&&(this.serverSideSort?this.onServerSideSorted.emit({col:e,sortedBy:e.sortedBy}):this.buildClientSideSort(e))},e.prototype.buildServerSideSort=function(e){this.setNextSortedBy(e),this.resetOtherSortedColumns(e)},e.prototype.buildClientSideSort=function(e){this.setNextSortedBy(e),"default"===e.sortedBy?this.datasource=O(this.datasourceSortedByDefault):this.datasource.sort(Fr.compareValues(e.headerName,e.sortedBy)),this.resetOtherSortedColumns(e)},e.prototype.setNextSortedBy=function(e){switch(e.sortedBy){case"default":e.sortedBy="asc";break;case"asc":e.sortedBy="desc";break;case"desc":e.sortedBy="default"}},e.prototype.initUniqueIdForDatasource=function(){var t=this;this.datasource.forEach(function(e){e.dt_id=t.ID()})},e.prototype.projectTemplate=function(){var n=this;this.columnComponents&&(this.columnComponents.forEach(function(t){n.projectedTemplates.find(function(e){return e.name===t.name})||n.projectedTemplates.push({name:t.name,template:t.cellTemplate})}),this.internalColumns.forEach(function(t){var e=n.projectedTemplates.find(function(e){return e.name===t.headerName});e&&(t.template=e.template)})),this.headerComponents&&(this.headerComponents.forEach(function(t){n.headerTemplates.find(function(e){return e.name===t.name})||n.headerTemplates.push({name:t.name,template:t.headerTemplate})}),this.internalColumns.forEach(function(t){var e=n.headerTemplates.find(function(e){return e.name===t.headerName});e&&(t.headerTemplate=e.template)}))},e.prototype.mergeToInternalColumns=function(){var n=this;if(0===this.internalColumns.length)return this.internalColumns=O(this.columns),void this.setSortedByToDefault();this.columns.forEach(function(t){var e=n.internalColumns.find(function(e){return e.headerName===t.headerName});e?e=I({},t):n.internalColumns.push(I({},t))}),this.setSortedByToDefault()},e.prototype.setSortedByToDefault=function(){for(var e=0;e<this.internalColumns.length;e++)this.internalColumns[e].sort&&(this.internalColumns[e].sortedBy="default")},e.prototype.ID=function(){return"_"+Math.random().toString(36).substr(2,9)},e.prototype.selectAll=function(t){var n=this,e=this.internalColumns.find(function(e){return"chk"===e.headerName});e&&(e.checked=t,this.selectedRows=[],this.datasource&&0<this.datasource.length&&this.datasource.forEach(function(e){(e.checked=t)&&n.selectedRows.push(e)}),this.onRowsChecked.next(this.selectedRows))},e.prototype.resetOtherSortedColumns=function(t){this.internalColumns.forEach(function(e){e.headerName!==t.headerName&&e.sort&&(e.sortedBy="default")})},e.decorators=[{type:d.Component,args:[{selector:"np-table",template:'<div class="np-table-wrapper">\r\n  <div class="table-header flex-wrap row-flex">\r\n    <span *ngFor="let item of internalColumns" [style.flex]="\'0 1 \' + item.width">\r\n      <ng-container *ngIf="item.isCheckbox">\r\n        \x3c!-- We need to re-style or re-design the checkbox control, its ugly and not easy to use --\x3e\r\n        <span style="width: 100%; height: 34px; display: flex; justify-content: center;">\r\n          <np-checkbox style="width: 5px;" [(ngModel)]="item.checked"\r\n            (inputModelChange)="onSelectAllChecked(item.checked)"></np-checkbox>\r\n        </span>\r\n      </ng-container>\r\n      <span *ngIf="!item.isCheckbox">\r\n        <ng-container *ngIf="!item.headerTemplate">\r\n          <div class="flex-wrap row-flex table-header-text" [ngStyle]="{\'cursor\': item.sort ? \'pointer\': \'inherit\'}"\r\n            (click)="onSort(item)">\r\n            <span>{{ item.headerDisplayName }}</span>\r\n            <i *ngIf="[\'default\', \'asc\', \'desc\'].indexOf(item.sortedBy) > -1" class="fas fa-arrow-up" [ngClass]="{\r\n              \'table-header-arrow-default\': item.sortedBy === \'default\', \r\n              \'table-header-arrow-up\': item.sortedBy === \'asc\', \r\n              \'table-header-arrow-down\': item.sortedBy === \'desc\'}"></i>\r\n          </div>\r\n        </ng-container>\r\n        <ng-container *ngIf="item.headerTemplate">\r\n          <div class="flex-wrap row-flex table-header-text" [ngStyle]="{\'cursor\': item.sort ? \'pointer\': \'inherit\'}"\r\n            (click)="onSort(item)">\r\n            <ng-container *ngTemplateOutlet="item.headerTemplate; context: { row: item }">\r\n            </ng-container>\r\n            <i *ngIf="[\'default\', \'asc\', \'desc\'].indexOf(item.sortedBy) > -1" class="fas fa-arrow-up" [ngClass]="{\r\n              \'table-header-arrow-default\': item.sortedBy === \'default\', \r\n              \'table-header-arrow-up\': item.sortedBy === \'asc\', \r\n              \'table-header-arrow-down\': item.sortedBy === \'desc\'}"></i>\r\n          </div>\r\n        </ng-container>\r\n      </span>\r\n    </span>\r\n  </div>\r\n  <div class="table-body flex-wrap col-flex">\r\n    <div class="table-body-row flex-wrap row-flex" *ngFor="let row of datasource">\r\n      <ng-container *ngFor="let column of internalColumns">\r\n        <ng-container *ngIf="column.isCheckbox">\r\n          \x3c!-- We need to re-style or re-design the checkbox control, its ugly and not easy to use --\x3e\r\n          <span [style.flex]="\'0 1 \' + column.width"\r\n            style="width: 100%; height: 34px; display: flex; justify-content: center;">\r\n            <np-checkbox style="width: 5px;" [(ngModel)]="row.checked" (inputModelChange)="onRowSelectChecked(row)">\r\n            </np-checkbox>\r\n          </span>\r\n        </ng-container>\r\n        <span *ngIf="!column.isCheckbox" [style.flex]="\'0 1 \' + column.width">\r\n          <ng-container *ngIf="!column.template">{{ row[column.headerName] }}</ng-container>\r\n          <ng-container *ngIf="column.template">\r\n            <ng-container *ngTemplateOutlet="column.template; context: { row: row }">\r\n            </ng-container>\r\n          </ng-container>\r\n        </span>\r\n      </ng-container>\r\n    </div>\r\n    <div *ngIf="!datasource || datasource.length === 0" class="table-body-row flex-wrap row-flex middle-flex">\r\n      <ng-container *ngIf="!emptyContent || !emptyContent.template">\r\n        <span class="no-data">{{ noDataLabel }}</span>\r\n      </ng-container>\r\n      <ng-container *ngIf="emptyContent && emptyContent.template">\r\n        <ng-container *ngTemplateOutlet="emptyContent.template;">\r\n        </ng-container>\r\n      </ng-container>\r\n    </div>\r\n  </div>\r\n  <div class="table-footer flex-wrap row-flex" *ngIf="showPager && datasource && datasource.length > 0">\r\n    <np-paginator [size]="pageSize" [total]="total" [pageNumber]="pageNumber" [firstBtnText]="firstBtnText"\r\n      [preBtnText]="preBtnText" [nextBtnText]="nextBtnText" [lastBtnText]="lastBtnText" [totalText]="totalText"\r\n      [itemsPerPageText]="itemsPerPageText" (onPageChanged)="onTablePageChanged($event)"\r\n      (onPageSizeChanged)="onTablePageSizeChanged($event)"></np-paginator>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.np-table-wrapper{width:100%;display:block}.np-table-wrapper .table-header{height:34px;line-height:34px;font-weight:700}.np-table-wrapper .table-header>span{flex:1 1 0;text-align:center;-ms-grid-row-align:center;align-self:center}.np-table-wrapper .table-header .table-header-text{align-items:center;justify-content:center}.np-table-wrapper .table-header .table-header-text>.fas.fa-arrow-down,.np-table-wrapper .table-header .table-header-text>.fas.fa-arrow-up{margin-left:6px;transition:.2s ease-in}.np-table-wrapper .table-header .table-header-text>.table-header-arrow-default{opacity:.54}.np-table-wrapper .table-header .table-header-text>.table-header-arrow-down{transform:rotateZ(180deg)}.np-table-wrapper .table-body>.table-body-row{padding:5px 0}.np-table-wrapper .table-body>.table-body-row>span{flex:1 1 0;text-align:center;-ms-grid-row-align:center;align-self:center}.np-table-wrapper .table-footer{justify-content:flex-end;padding:20px 5px 20px 0}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={columns:[{type:d.Input}],datasource:[{type:d.Input}],total:[{type:d.Input}],pageSize:[{type:d.Input}],showCheckbox:[{type:d.Input}],showPager:[{type:d.Input}],serverSideSort:[{type:d.Input}],firstBtnText:[{type:d.Input}],preBtnText:[{type:d.Input}],nextBtnText:[{type:d.Input}],lastBtnText:[{type:d.Input}],totalText:[{type:d.Input}],itemsPerPageText:[{type:d.Input}],noDataLabel:[{type:d.Input}],pageNumber:[{type:d.Input}],pageNumberChange:[{type:d.Output}],onPageChanged:[{type:d.Output}],onPageSizeChanged:[{type:d.Output}],onRowsChecked:[{type:d.Output}],onRowsUnchecked:[{type:d.Output}],onServerSideSorted:[{type:d.Output}],onRows:[{type:d.Output}],columnComponents:[{type:d.ContentChildren,args:[Sr]}],headerComponents:[{type:d.ContentChildren,args:[Ir]}],emptyContent:[{type:d.ContentChild,args:[Dr]}]},e}(),Zr=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule,vr,g],declarations:[qr,Sr,Dr,Ir],exports:[qr,Sr,Dr,Ir]}]}],e}(),Kr=function(){function e(){this.radioShape="radio",this.checked=!1,this.isDisabled=!1,this.onSelectChanged=new d.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.onChange=function(){this.isDisabled||this.onSelectChanged.next(this.value)},e.decorators=[{type:d.Component,args:[{selector:"np-radio-button",template:'<div class="np-radio-button-wrapper" [class.rectangle]="radioShape === \'rectangle\'" (click)="onChange()"\r\n  [ngStyle]="{\'cursor\':  isDisabled? \'not-allowed\':\'pointer\'}">\r\n  <ng-container>\r\n    <div [class.rectangle-radio]="radioShape === \'rectangle\'" [class.radio-checked]="checked"\r\n      [class.radio-forbidden]="isDisabled && radioShape === \'rectangle\'">\r\n      <span *ngIf="radioShape === \'radio\'" class="radio" [class.radio-checked]="checked"\r\n        [class.radio-forbidden]="isDisabled"></span>\r\n      <span *ngIf="radioShape === \'radio\'" class="input-helper" [class.radio-forbidden]="isDisabled"></span>\r\n      <ng-content></ng-content>\r\n    </div>\r\n  </ng-container>\r\n</div>\r\n\x3c!-- <span class="input-helper"></span> --\x3e\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}]}]}],e.propDecorators={value:[{type:d.Input}],radioShape:[{type:d.Input}],isDisabled:[{type:d.Input}],onSelectChanged:[{type:d.Output}]},e}(),Jr=function(){function e(e){this._changeDetector=e,this._selected=null,this.label="",this.isRequired=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){}}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var n=this;this._radios.toArray().forEach(function(e,t){e.onSelectChanged.subscribe(function(e){n.value=e,console.log("<<<>>>",e),n._controlValueAccessorChangeFn(e),n._updateSelectedRadioFromValue()})}),setTimeout(function(){n._updateSelectedRadioFromValue(),n._checkSelectedRadioButton()},0)},e.prototype.writeValue=function(e){this.value=e,this._changeDetector.markForCheck()},e.prototype.registerOnChange=function(e){this._controlValueAccessorChangeFn=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},e.prototype._updateSelectedRadioFromValue=function(){var t=this,e=null!==this._selected&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(function(e){e.checked=t.value===e.value,e.checked&&(t._selected=e)}))},e.decorators=[{type:d.Component,args:[{selector:"np-radio-group",template:'<div class="np-radio-group-wrapper flex-wrap row-flex">\r\n  <div class="flex-wrap col-flex" *ngIf="label">\r\n    <label for="np-input" class="np-lbl">\r\n      <span class="form-required" *ngIf="isRequired">*</span>\r\n      {{ label }}\r\n    </label>\r\n  </div>\r\n  <div class="flex-wrap row-flex" style="width: auto">\r\n    <ng-content></ng-content>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.np-radio-group-wrapper{align-items:baseline;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.np-radio-group-wrapper .np-lbl{width:80px;margin-right:20px;text-align:right;font-size:13px;font-weight:700}.np-radio-button-wrapper{margin:.5em 1.428571em 0 0;padding-left:1.785714em;position:relative;font-weight:400;font-size:14px;line-height:1.5em;cursor:pointer;display:inline-block}.np-radio-button-wrapper.rectangle{padding-left:0}.np-radio-button-wrapper .radio{opacity:0;z-index:1;left:.214286em;top:0;position:absolute;width:1em;height:1em;margin:0;display:block}.np-radio-button-wrapper .radio.radio-checked+span::after{position:absolute;content:'';width:.857142em;height:.857142em;top:.071429em;left:.071429em;border-radius:1em}.np-radio-button-wrapper .rectangle-radio{text-align:center;padding:6px 10px}.np-radio-button-wrapper span.input-helper{position:absolute;left:.142857em;top:.142857em;width:1.142857em;height:1.142857em;box-sizing:border-box}.np-radio-button-wrapper .radio+span.input-helper{border-radius:1em}.np-radio-button-wrapper input[type=radio]::before,.np-radio-button-wrapper input[type=radio]:checked::before{content:none}"]}]}],e.ctorParameters=function(){return[{type:d.ChangeDetectorRef}]},e.propDecorators={value:[{type:d.Input}],label:[{type:d.Input}],isRequired:[{type:d.Input}],_radios:[{type:d.ContentChildren,args:[d.forwardRef(function(){return Kr}),{descendants:!0}]}]},e}(),Xr=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[Kr,Jr],exports:[Kr,Jr]}]}],e}(),$r=function(){function e(e){this.template=e}return e.decorators=[{type:d.Directive,args:[{selector:"[npStepHeader]"}]}],e.ctorParameters=function(){return[{type:d.TemplateRef}]},e}(),ei=function(){function e(e){this.template=e}return e.decorators=[{type:d.Directive,args:[{selector:"[npStepProcess]"}]}],e.ctorParameters=function(){return[{type:d.TemplateRef}]},e}(),ti=function(){function e(e){this.template=e}return e.decorators=[{type:d.Directive,args:[{selector:"[npStepFinish]"}]}],e.ctorParameters=function(){return[{type:d.TemplateRef}]},e}(),ni=function(){function e(){this.title="",this.status="wait"}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterContentInit=function(){this.headerContent},e.decorators=[{type:d.Component,args:[{selector:"np-step",template:"<ng-template><ng-content></ng-content></ng-template>",encapsulation:d.ViewEncapsulation.None,styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={headerContent:[{type:d.ContentChild,args:[$r]}],processContent:[{type:d.ContentChild,args:[ei]}],finishContent:[{type:d.ContentChild,args:[ti]}],content:[{type:d.ViewChild,args:[d.TemplateRef]}],title:[{type:d.Input}]},e}(),ri=function(){function e(e){this.elemRef=e,this._selectedIndex=0}return Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){var t=+e;return t<0?this._selectedIndex=0:this.steps&&0<this.steps.length&&t>this.steps.length-1?this._selectedIndex=this.steps.length-1:this._selectedIndex=t,void this.setStatus(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){},e.prototype.ngAfterContentInit=function(){this.selectedIndex=this._selectedIndex},e.prototype.ngAfterViewInit=function(){this.adjustStepHeaderTitlePosition()},e.prototype.adjustStepHeaderTitlePosition=function(){var e=this.elemRef.nativeElement.querySelector(".progress-container"),t=this.elemRef.nativeElement.querySelector(".progress-circle-template"),n=this.elemRef.nativeElement.querySelector(".progress-circle"),r=this.elemRef.nativeElement.querySelector(".step-title-first"),i=this.elemRef.nativeElement.querySelector(".step-title-last");if(e&&(t||n)&&r&&i){var o=e.offsetWidth,a=t?t.offsetWidth:n.offsetWidth;r.style.marginLeft="-"+Math.abs(o-a)+"px",i.style.marginRight="-"+Math.abs(o-a)+"px"}},e.prototype.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)},e.prototype.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)},e.prototype.reset=function(){this.selectedIndex=0},e.prototype.setStatus=function(n){this.steps&&this.steps.toArray().forEach(function(e,t){t<n&&(e.status="finish"),t===n&&(e.status="process"),n<t&&(e.status="wait")})},e.decorators=[{type:d.Component,args:[{selector:"np-stepper",template:'<div class="np-stepper-wrapper">\r\n  \x3c!-- Step header --\x3e\r\n  <div class="flex-wrap row-flex" style="align-items: center;">\r\n    <ng-container *ngFor="let step of steps; let i = index; let isFirst = first; let isLast = last;">\r\n      <div class="flex-wrap col-flex" style="align-items: center;">\r\n        <div class="progress-container flex-wrap row-flex">\r\n          \x3c!-- 第一步不显示左侧连接线 --\x3e\r\n          <span class="progress-line" *ngIf="!isFirst"\r\n            [ngClass]="{\'progress-line-unselected\': selectedIndex < i}"></span>\r\n\r\n          \x3c!-- 根据step状态和是否有自定义内容显示 --\x3e\r\n\r\n          \x3c!-- wait等待中 --\x3e\r\n          <span *ngIf="step.status ===\'wait\'" class="progress-circle"\r\n            [ngClass]="{\'progress-circle-unselected\': selectedIndex < i}">\r\n          </span>\r\n\r\n          \x3c!-- 进行中 --\x3e\r\n          <ng-container *ngIf="step.status ===\'process\'">\r\n            <ng-container *ngIf="step.processContent">\r\n              <span class="progress-circle-template" [ngClass]="{\'progress-circle-unselected\': selectedIndex < i}">\r\n                <ng-container *ngTemplateOutlet="step.processContent.template"></ng-container>\r\n              </span>\r\n            </ng-container>\r\n            <ng-container *ngIf="!step.processContent">\r\n              <span class="progress-circle" [ngClass]="{\'progress-circle-unselected\': selectedIndex < i}">\r\n              </span>\r\n            </ng-container>\r\n          </ng-container>\r\n\r\n          \x3c!-- 已完成 --\x3e\r\n          <ng-container *ngIf="step.status ===\'finish\'">\r\n            <ng-container *ngIf="step.finishContent">\r\n              <span class="progress-circle-template" [ngClass]="{\'progress-circle-unselected\': selectedIndex < i}">\r\n                <ng-container *ngTemplateOutlet="step.finishContent.template"></ng-container>\r\n              </span>\r\n            </ng-container>\r\n            <ng-container *ngIf="!step.finishContent">\r\n              <span class="progress-circle" [ngClass]="{\'progress-circle-unselected\': selectedIndex < i}">\r\n              </span>\r\n            </ng-container>\r\n          </ng-container>\r\n\r\n          \x3c!-- 最后一步不显示右侧连接线 --\x3e\r\n          <span class="progress-line" *ngIf="!isLast"\r\n            [ngClass]="{\'progress-line-unselected\': selectedIndex < i}"></span>\r\n        </div>\r\n        <div class="step-title" *ngIf="!step.headerContent"\r\n          [ngClass]="{\'step-title-first\': isFirst, \'step-title-last\': isLast, \'step-title-unselected\': selectedIndex < i}">\r\n          {{ step.title }}\r\n        </div>\r\n        <div class="step-title" *ngIf="step.headerContent"\r\n          [ngClass]="{\'step-title-first\': isFirst, \'step-title-last\': isLast, \'step-title-unselected\': selectedIndex < i}">\r\n          <ng-container *ngTemplateOutlet="step.headerContent.template"></ng-container>\r\n        </div>\r\n      </div>\r\n    </ng-container>\r\n  </div>\r\n  \x3c!-- Step content --\x3e\r\n  <ng-container *ngFor="let step of steps; let i = index; let isFirst = first; let isLast = last;">\r\n    <div class="flex-wrap row-flex" *ngIf="step.content && selectedIndex === i">\r\n      <ng-container *ngTemplateOutlet="step.content"></ng-container>\r\n    </div>\r\n  </ng-container>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.np-stepper-wrapper .progress-container{width:100%;min-width:100px;align-items:center;margin-bottom:5px}.np-stepper-wrapper .progress-container .progress-circle,.np-stepper-wrapper .progress-container .progress-circle-template{min-width:20px;min-height:20px;border-radius:50%;display:inline-block}.np-stepper-wrapper .progress-container .progress-circle img,.np-stepper-wrapper .progress-container .progress-circle-template img{width:40px;height:40px;display:block}.np-stepper-wrapper .progress-container .progress-line{width:auto;margin:auto;min-width:80px;height:3px}.np-stepper-wrapper .step-title-first,.np-stepper-wrapper .step-title-last{width:100%;max-width:100px;text-align:center}"]}]}],e.ctorParameters=function(){return[{type:d.ElementRef}]},e.propDecorators={steps:[{type:d.ContentChildren,args:[ni]}],selectedIndex:[{type:d.Input}]},e}(),ii=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[ri,ni,$r,ti,ei],exports:[ri,ni,$r,ei,ti]}]}],e}(),oi=function(){function e(){this.text="",this.description="",this.vBar=!0,this.bold=!1,this.type="title"}return e.prototype.ngOnInit=function(){},e.decorators=[{type:d.Component,args:[{selector:"np-title",template:'<div class="np-title-wrapper flex-wrap row-flex" [ngClass]="{\'np-title-underline\': type === \'title\'}">\r\n  <ng-container *ngIf="type === \'title\'">\r\n    <span class="title-text" [ngClass]="{ vBar: vBar, bold: bold }">{{ text }}</span>\r\n    <span *ngIf="description" class="title-description">{{ description }}</span>\r\n    <ng-container *ngIf="!description">\r\n      <ng-content select="title-template"></ng-content>\r\n    </ng-container>\r\n  </ng-container>\r\n  <ng-container *ngIf="type === \'caption\'">\r\n    <span class="caption-text">{{ text }}</span>\r\n  </ng-container>\r\n  <ng-container *ngIf="type === \'notice\'">\r\n    <i class="fas fa-volume-up notice-icon"></i>\r\n    <span class="notice-text">{{ text ? text : \'最新公告 | &nbsp;\' }}</span>\r\n    <span class="notice-description">{{ description }}</span>\r\n  </ng-container>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".np-title-wrapper{min-height:45px;width:96%;margin:0 auto;position:relative;padding:0;align-items:baseline}.np-title-wrapper .title-text{position:relative;margin:0 15px 0 0;font-size:18px;line-height:45px;font-weight:500}.np-title-wrapper .vBar{padding-left:10px}.np-title-wrapper .vBar:before{content:'';display:block;width:5px;height:15px;position:absolute;left:0;top:15px}.np-title-wrapper .bold{font-weight:700}.np-title-wrapper .title-description{font-size:14px;font-weight:400;line-height:45px}.np-title-wrapper .caption-text{position:relative;margin:0;font-size:16px;line-height:45px;font-weight:600;padding-left:10px}.np-title-wrapper .caption-text:before{content:'';display:block;width:5px;height:15px;position:absolute;left:0;top:15px}.np-title-wrapper .notice-icon{font-size:16px;margin-right:10px}.np-title-wrapper .notice-text{font-size:16px}.np-title-wrapper .notice-description{cursor:pointer;font-size:14px;font-weight:400}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={text:[{type:d.Input}],description:[{type:d.Input}],vBar:[{type:d.Input}],bold:[{type:d.Input}],type:[{type:d.Input}]},e}(),ai=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"title-template"}]}],e.ctorParameters=function(){return[]},e}(),si=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],declarations:[oi,ai],exports:[oi,ai]}]}],e}(),ci=function(){function e(e){this.cdf=e,this.isDisabled=!1,this.isRequired=!1,this.direction="left",this.inputModelChange=new d.EventEmitter,this.emitChange=function(e){}}return Object.defineProperty(e.prototype,"ischecked",{get:function(){return this.trueValue||this.falseValue?this.val===this.trueValue||this.val!==this.falseValue&&void 0:!!this.val},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){},e.prototype.onChange=function(e){if(!this.isDisabled)return e.stopPropagation(),e.preventDefault(),this.ischecked?(this.val=this.falseValue||!1,this.emitChange(this.val),void this.inputModelChange.emit(this.val)):this.ischecked?void 0:(this.val=this.trueValue||!0,this.emitChange(this.val),void this.inputModelChange.emit(this.val))},e.prototype.writeValue=function(e){e!==undefined&&(this.val=e,this.emitChange(this.val))},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-switch",template:'<div ngDefaultControl [(ngModel)]="val" class="np-switch-wrapper flex-wrap row-flex" (click)="onChange($event)"\r\n  [ngStyle]="{\'flex-direction\': direction===\'right\'?\'row-reverse\':\'row\', \'cursor\': isDisabled ? \'not-allowed\' : \'pointer\'}">\r\n  <div class="flex-wrap col-flex" *ngIf="label">\r\n    <label for="np-switch" class="np-switch-lbl">\r\n      <span class="form-required" *ngIf="isRequired">*</span>\r\n      {{ label }}\r\n    </label>\r\n  </div>\r\n  <div class="flex-wrap col-flex switch-container">\r\n    <span class="switch switch-anim" [ngClass]="{\'checked\': ischecked, \'disabled\': isDisabled}">\r\n    </span>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".backdrop-transparent{opacity:0}.flex-wrap{display:flex}.wrap{flex-wrap:wrap}.col-flex{flex-direction:column}.row-flex{flex-direction:row}.middle-flex{justify-content:center;align-items:center}.space-between{justify-content:space-between;align-items:center}.align-center{align-items:center}.np-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.np-column{display:flex;flex-direction:column;flex-basis:100%;flex:1}.np-switch-wrapper{align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.np-switch-wrapper .np-switch-lbl{width:80px;margin-right:20px;text-align:right;font-size:13px;font-weight:700;height:34px;line-height:34px}.np-switch-wrapper .switch-container{position:relative}.np-switch-wrapper .switch-container .switch{box-sizing:content-box;width:55px;height:25px;position:relative;border-radius:15px;background-clip:content-box;display:inline-block;-webkit-appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.np-switch-wrapper .switch-container .switch:before{content:'';width:25px!important;height:25px!important;position:absolute;top:0!important;left:0!important;border-radius:15px}.np-switch-wrapper .switch-container .switch.checked:before{left:30.4px!important;position:absolute;top:0;content:''}.np-switch-wrapper .switch-container .switch.switch-animbg{transition:background-color .4s}.np-switch-wrapper .switch-container .switch.switch-animbg:before{transition:left .3s}.np-switch-wrapper .switch-container .switch.switch-animbg:checked{transition:border-color .4s,background-color .4s}.np-switch-wrapper .switch-container .switch.switch-animbg:checked:before{transition:left .3s}.np-switch-wrapper .switch-container .switch.switch-anim{transition:border .4s cubic-bezier(0,0,0,1),box-shadow .4s cubic-bezier(0,0,0,1)}.np-switch-wrapper .switch-container .switch.switch-anim:before{transition:left .3s}.np-switch-wrapper .switch-container .switch.switch-anim.checked{transition:border .4s,box-shadow .4s,background-color 1.2s}.np-switch-wrapper .switch-container .switch.switch-anim.checked:before{transition:left .3s}"]}]}],e.ctorParameters=function(){return[{type:d.ChangeDetectorRef}]},e.propDecorators={label:[{type:d.Input}],trueValue:[{type:d.Input}],falseValue:[{type:d.Input}],isDisabled:[{type:d.Input}],isRequired:[{type:d.Input}],direction:[{type:d.Input}],inputModelChange:[{type:d.Output}]},e}(),li=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[ci],exports:[ci]}]}],e}(),ui={fill:s.trigger("fill",[s.state("*",s.style({width:"{{ percentage }}%"}),{params:{percentage:100}}),s.transition("* <=> *",s.animate("800ms cubic-bezier(.86, .05, .4, .96)"))])},pi=function(){function e(){this.colors=[],this.height=15,this.gradient=!0,this.type="progress",this.leftText="",this.rightText="",this.percentage=0,this.background="linear-gradient(to right, #22BABB, #CCFDD7)"}return Object.defineProperty(e.prototype,"fillState",{get:function(){return{value:100-this.percentage,params:{percentage:100-this.percentage}}},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.buildBackgroundColors()},e.prototype.buildBackgroundColors=function(){var t=this;if(this.colors&&0<this.colors.length){if(1===this.colors.length)return void(this.background=this.colors[0]);var n="",r=Math.round(this.percentage/this.colors.length);if("progress"===this.type)this.colors.forEach(function(e){t.gradient?n+=e+", ":n+=e+" "+r+"%, "});else{this.leftText||"0"==this.leftText||(this.leftText=this.percentage+""),this.rightText||"0"==this.rightText||(this.rightText=100-this.percentage+"");var e=this.percentage;this.percentage=100,n=this.colors[0]+" "+e+"%, "+this.colors[1]+" 0%, "}n=n.substring(0,n.length-2),this.background="linear-gradient(to right, "+n+")"}},e.decorators=[{type:d.Component,args:[{selector:"np-progress-bar",template:'<div class="progress-bar-wrapper" [ngStyle]="{\'height.px\': height}">\r\n  <div class="progress-bar progress" [ngStyle]="{\'background\': background}"></div>\r\n  <div [@fill]="fillState" class="progress-bar shrinker"></div>\r\n  <span class="left-percent-text" [ngStyle]="{\'line-height.px\': height}"\r\n    *ngIf="type === \'percent\'">{{ leftText }}</span>\r\n  <span class="right-percent-text"\r\n    [ngStyle]="{\'right\': \'calc(\' + (100 - percentage) + \'% + 5px)\', \'line-height.px\': height}"\r\n    *ngIf="type === \'percent\'">{{ rightText }}</span>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,animations:[ui.fill],styles:[".progress-bar-wrapper{height:15px;margin:0 auto;position:relative;top:50%;transform:translateY(-50%);overflow:hidden}.progress-bar-wrapper .progress-bar{width:100%;height:100%}.progress-bar-wrapper .progress{color:#fff;text-align:center;animation-direction:reverse}.progress-bar-wrapper .shrinker{background-color:#eceff4;position:absolute;top:0;right:0;width:100%}.progress-bar-wrapper .left-percent-text{position:absolute;color:#fff;left:5px;top:0}.progress-bar-wrapper .right-percent-text{position:absolute;color:#fff;top:0}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={colors:[{type:d.Input}],height:[{type:d.Input}],gradient:[{type:d.Input}],type:[{type:d.Input}],leftText:[{type:d.Input}],rightText:[{type:d.Input}],percentage:[{type:d.Input}]},e}(),di=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[pi],exports:[pi]}]}],e}(),hi=require("jquery"),fi=function(){function e(){this.value=0,this.size=100,this.startAngle=0,this.thickness="auto",this.fill={gradient:["#3aeabb","#fdd250"]},this.emptyFill="rgba(0, 0, 0, 0.1)",this.animation={duration:1200,easing:"circleProgressEasing"},this.animationStartValue=0,this.reverse=!1,this.lineCap="round",this.insertMode="prepend",this.circleInited=new d.EventEmitter,this.circleAnimationStart=new d.EventEmitter,this.circleAnimationProgress=new d.EventEmitter,this.circleAnimationEnd=new d.EventEmitter,this.el=null,this.canvas=null,this.ctx=null,this.radius=0,this.arcFill=null,this.lastFrameValue=0}return e.prototype.ngOnInit=function(){hi.easing.circleProgressEasing=function(e){return e<.5?.5*(e*=2)*e*e:1-.5*(e=2-2*e)*e*e},this.init()},e.prototype.init=function(){this.radius=this.size/2,this.initWidget(),this.initFill(),this.draw(),this.circleInited.next()},e.prototype.initWidget=function(){if(null===this.canvas&&(this.canvas=this.canvasRef.nativeElement,this.canvas.width=this.size,this.canvas.height=this.size,this.ctx=this.canvas.getContext("2d"),1<window.devicePixelRatio)){var e=window.devicePixelRatio;this.canvas.style.width=this.canvas.style.height=this.size+"px",this.canvas.width=this.canvas.height=this.size*e,this.ctx.scale(e,e)}},e.prototype.initFill=function(){var t=this;if(!this.fill)throw Error("The fill is not specified!");if("string"==typeof this.fill&&(this.fill={color:this.fill}),this.fill.color&&(this.arcFill=this.fill.color),this.fill.gradient){var e=this.fill.gradient;if(1===e.length)this.arcFill=e[0];else{for(var n=this.fill.gradientAngle||0,r=this.fill.gradientDirection||[this.size/2*(1-Math.cos(n)),this.size/2*(1+Math.sin(n)),this.size/2*(1+Math.cos(n)),this.size/2*(1-Math.sin(n))],i=this.ctx.createLinearGradient.apply(this.ctx,r),o=0;o<e.length;o++){var a=e[o],s=o/(e.length-1);Array.isArray(a)&&(s=a[1],a=a[0]),i.addColorStop(s,a)}this.arcFill=i}}if(this.fill.image){var c=null;this.fill.image instanceof Image?c=this.fill.image:(c=new Image).src=this.fill.image;var l=function(){var e=t.canvas;e.width=t.size,e.height=t.size,e.getContext("2d").drawImage(c,0,0,t.size,t.size),t.arcFill=t.ctx.createPattern(e,"no-repeat"),t.drawFrame(t.lastFrameValue)};c.complete?l():c.onload=l}},e.prototype.draw=function(){this.animation?this.drawAnimated(this.value):this.drawFrame(this.value)},e.prototype.drawFrame=function(e){this.lastFrameValue=e,this.ctx.clearRect(0,0,this.size,this.size),this.drawEmptyArc(e),this.drawArc(e)},e.prototype.drawArc=function(e){if(0!==e){var t=this.ctx,n=this.radius,r=this.getThickness(),i=this.startAngle;t.save(),t.beginPath(),this.reverse?t.arc(n,n,n-r/2,i-2*Math.PI*e,i):t.arc(n,n,n-r/2,i,i+2*Math.PI*e),t.lineWidth=r,t.lineCap=this.lineCap,t.strokeStyle=this.arcFill,t.stroke(),t.restore()}},e.prototype.drawEmptyArc=function(e){var t=this.ctx,n=this.radius,r=this.getThickness(),i=this.startAngle;e<1&&(t.save(),t.beginPath(),e<=0?t.arc(n,n,n-r/2,0,2*Math.PI):this.reverse?t.arc(n,n,n-r/2,i,i-2*Math.PI*e):t.arc(n,n,n-r/2,i+2*Math.PI*e,i),t.lineWidth=r,t.strokeStyle=this.emptyFill,t.stroke(),t.restore())},e.prototype.drawAnimated=function(n){var e=this,r=this,t=(this.el,hi(this.canvas));t.stop(!0,!1),this.circleAnimationStart.next(),t.css({animationProgress:0}).animate({animationProgress:1},hi.extend({},this.animation,{step:function(e){var t=r.animationStartValue*(1-e)+n*e;r.drawFrame(t),r.circleAnimationProgress.next({animationProgress:e,stepValue:t})}})).promise().always(function(){e.circleAnimationEnd.next()})},e.prototype.getThickness=function(){return n.isNumber(this.thickness)?this.thickness:this.size/14},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(e){this.animation&&(this.animationStartValue=this.lastFrameValue),this.value=e,this.draw()},e.decorators=[{type:d.Component,args:[{selector:"np-circle-bar",template:'<div class="circle-bar-wrapper">\r\n  <canvas #circleBarCanvas></canvas>\r\n</div>\r\n',styles:[":host{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={canvasRef:[{type:d.ViewChild,args:["circleBarCanvas"]}],value:[{type:d.Input}],size:[{type:d.Input}],startAngle:[{type:d.Input}],thickness:[{type:d.Input}],fill:[{type:d.Input}],emptyFill:[{type:d.Input}],animation:[{type:d.Input}],animationStartValue:[{type:d.Input}],reverse:[{type:d.Input}],lineCap:[{type:d.Input}],insertMode:[{type:d.Input}],circleInited:[{type:d.Output}],circleAnimationStart:[{type:d.Output}],circleAnimationProgress:[{type:d.Output}],circleAnimationEnd:[{type:d.Output}]},e}(),gi=function(){function e(e){this.cdf=e,this.startAngle=0,this.thickness=15,this.size=156,this.animationTime=500,this.animation={duration:this.animationTime,easing:"circleProgressEasing"},this.bindingData=[]}return e.prototype.ngOnInit=function(){this.buildBindingData()},e.prototype.ngOnChanges=function(e){e&&(e.animationTime&&e.animationTime.currentValue&&(this.animation.duration=this.animationTime),e.data&&e.data.currentValue&&(this.data=e.data.currentValue,this.buildBindingData(),this.refresh()))},e.prototype.refresh=function(){this.circleBars&&0<this.circleBars.length&&this.circleBars.forEach(function(e){e.init()})},e.prototype.buildBindingData=function(){if(this.data&&0<this.data.length){var e=this.data.length,t=0;this.bindingData=[];for(var n=0;n<e;n++){var r=this.data[n],i={startAngle:2*Math.PI*t,fill:{gradient:[r.color]},value:r.percentage};t+=r.percentage,this.bindingData.push(i)}}},e.decorators=[{type:d.Component,args:[{selector:"np-percent-circle-bar",template:'<div class="percent-circle-bar-wrapper">\r\n  <div class="percent-circle-bar-text" [ngStyle]="{\'width.px\': size, \'height.px\': size}">\r\n    <ng-content></ng-content>\r\n  </div>\r\n  <ng-container *ngFor="let item of bindingData; let i = index; let isFirst = first; let isLast = last;">\r\n    <np-circle-bar class="percent-circle-bar" [value]="item.value" [fill]="item.fill" [thickness]="thickness"\r\n      [size]="size" [startAngle]="item.startAngle" [emptyFill]="isFirst ? \'rgba(0, 0, 0, 0.1)\' : \'rgba(0, 0, 0, 0)\'"\r\n      [ngStyle]="{\'z-index\': (10 - i)}" [animation]="animation">\r\n    </np-circle-bar>\r\n  </ng-container>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".percent-circle-bar-wrapper{position:relative}.percent-circle-bar-wrapper .percent-circle-bar{position:absolute;left:0;top:0}.percent-circle-bar-wrapper .percent-circle-bar-text{display:flex;justify-content:center;align-items:center;z-index:11}"]}]}],e.ctorParameters=function(){return[{type:d.ChangeDetectorRef}]},e.propDecorators={circleBars:[{type:d.ViewChildren,args:[fi]}],startAngle:[{type:d.Input}],thickness:[{type:d.Input}],size:[{type:d.Input}],data:[{type:d.Input}],animationTime:[{type:d.Input}]},e}(),mi=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[fi,gi],exports:[fi,gi]}]}],e}(),yi=function(){function e(){this.r=98,this.thickness=10,this.colors=["#37C4CA","#5189DA","#FB8933"],this.speed=1}return e.prototype.ngOnInit=function(){},e.decorators=[{type:d.Component,args:[{selector:"np-loading",template:"<div class=\"np-loading-wrapper\">\r\n  <div [ngStyle]=\"{'left': 'calc(50% - ' + r + 'px)', 'width.px': 2*r, 'height.px': 2*r}\">\r\n    <div *ngIf=\"colors[0]\" [ngStyle]=\"{'background-color': colors[0], \r\n    'width.px': (+r + +r / 2), \r\n    'height.px': (+r + +r / 2),\r\n    'animation': (2/speed) + 's linear 1s infinite normal none running cssload-move'}\">\r\n    </div>\r\n    <div *ngIf=\"colors[1]\" [ngStyle]=\"{'background-color': colors[1], \r\n    'width.px': (+r + +r / 2), \r\n    'height.px': (+r + +r / 2),\r\n    'animation': (1/speed) + 's linear 0s infinite normal none running cssload-move'}\">\r\n    </div>\r\n    <div *ngIf=\"colors[2]\" [ngStyle]=\"{'background-color': colors[2], \r\n    'width.px': (+r + +r / 2), \r\n    'height.px': (+r + +r / 2),\r\n    'animation': (3/speed) + 's linear 2s infinite normal none running cssload-move'}\">\r\n    </div>\r\n  </div>\r\n  <div [ngStyle]=\"{'left': 'calc(50% - ' + (r - thickness) + 'px)', \r\n    'width.px': 2*(r - thickness), \r\n    'height.px': 2*(r - thickness), \r\n    'line-height.px': 2*(r - thickness), \r\n    'top.px': (thickness - 2*r)}\">\r\n    <ng-content></ng-content>\r\n  </div>\r\n</div>\r\n",styles:[":host{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.np-loading-wrapper{height:196px}.np-loading-wrapper>div{position:relative;border-radius:100%;overflow:hidden}.np-loading-wrapper>div:nth-child(2){text-align:center}.np-loading-wrapper>div div{border-radius:100%;-webkit-filter:blur(29px);filter:blur(29px);position:absolute}@-webkit-keyframes cssload-move{0%,100%{top:0;left:0}25%{top:0;left:50%}50%{top:50%;left:50%}75%{top:50%;left:0}}@keyframes cssload-move{0%,100%{top:0;left:0}25%{top:0;left:50%}50%{top:50%;left:50%}75%{top:50%;left:0}}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={r:[{type:d.Input}],thickness:[{type:d.Input}],colors:[{type:d.Input}],speed:[{type:d.Input}]},e}(),vi=function(){function e(){this.label="loading...",this.size=156,this.thickness=16,this.colors=["#37C4CA","#5189DA","#FB8933"],this.animatedDidEnd=new d.EventEmitter,this.speed=0,this.currentAngle=0,this.speedUp=!0}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterViewInit=function(){this.draw()},e.prototype.startAnimate=function(){this.speedUp=!0,this.speed=.1,this.currentAngle=0},e.prototype.endAnimate=function(){this.speedUp=!1},e.prototype._animatedDidEnd=function(){this.animatedDidEnd.emit()},e.prototype.draw=function(){var t=this,n=this.canvasElement.nativeElement.getContext("2d");n.clearRect(0,0,this.size,this.size),n.lineWidth=this.thickness,n.lineCap="round";var r=[],i=this.currentAngle,o=.1*Math.PI,a=(2*Math.PI-this.colors.length*o)/this.colors.length;if(this.colors.forEach(function(e,t){r.push({color:e,start:i,to:i+a}),i=i+a+o}),r.forEach(function(e){n.beginPath(),n.strokeStyle=e.color,n.arc(t.size/2,t.size/2,t.size/2-t.thickness/2,e.start,e.to),n.stroke()}),this.speedUp)this.speed<.2&&(this.speed+=.005,.2<this.speed&&(this.speed=.2));else if(this.speed-=.005,this.speed<=0)return this.speed=0,this.currentAngle=0,void this._animatedDidEnd();this.currentAngle+=this.speed,window.requestAnimationFrame(function(){return t.draw()})},e.decorators=[{type:d.Component,args:[{selector:"np-solid-loading",template:'<div class="np-solid-loading-wrapper">\r\n  <canvas #canvasElement [width]="size" [height]="size"></canvas>\r\n  <div class="loading-label">{{label}}</div>\r\n</div>\r\n',styles:[":host{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.np-solid-loading-wrapper{position:relative}.np-solid-loading-wrapper .loading-label{font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={label:[{type:d.Input}],size:[{type:d.Input}],thickness:[{type:d.Input}],colors:[{type:d.Input}],animatedDidEnd:[{type:d.Output}],canvasElement:[{type:d.ViewChild,args:["canvasElement"]}]},e}(),Ai=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule],declarations:[yi,vi],exports:[yi,vi]}]}],e}(),bi=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-panel-footer",host:{"class":"panel-footer"}}]}],e.ctorParameters=function(){return[]},e}(),wi=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-panel-header"}]}],e.ctorParameters=function(){return[]},e}(),xi=function(){function e(){}return e.decorators=[{type:d.Directive,args:[{selector:"np-panel-body",host:{"class":"panel-body"}}]}],e.ctorParameters=function(){return[]},e}(),Ci=function(){function e(){this.title="",this.subTitle="",this.bgColor="#fff",this.panelRadius=5}return e.prototype.ngOnInit=function(){},e.decorators=[{type:d.Component,args:[{selector:"np-panel",template:'<div class="panel-header" *ngIf="title || npPanelHeader" [style.margin-top]="title ? \'-15px\' : \'\'"\r\n  [ngClass]="{\'np-title\': title}">\r\n  <ng-container *ngIf="title">\r\n    <np-title [text]="title" [description]="subTitle" [vBar]="false" [bold]="true"></np-title>\r\n  </ng-container>\r\n  <ng-container *ngIf="!title">\r\n    <ng-content select="np-panel-header"></ng-content>\r\n  </ng-container>\r\n</div>\r\n<ng-container *ngIf="npPanelBody">\r\n  <ng-content select="np-panel-body"></ng-content>\r\n</ng-container>\r\n<ng-container *ngIf="npPanelFooter">\r\n  <ng-content select="np-panel-footer"></ng-content>\r\n</ng-container>\r\n',host:{"class":"np-panel-wrapper flex-wrap col-flex","[style.border-radius.px]":"panelRadius"},encapsulation:d.ViewEncapsulation.None,styles:[".np-panel-wrapper{padding:15px}.np-panel-wrapper .panel-header{display:block;flex:1 1 0}.np-panel-wrapper .panel-body{display:block;flex:10 1 0}.np-panel-wrapper .panel-footer{display:block;flex:1 1 0}.np-panel-wrapper .np-title .np-title-wrapper{width:100%}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={title:[{type:d.Input}],subTitle:[{type:d.Input}],bgColor:[{type:d.Input}],panelRadius:[{type:d.Input}],npPanelHeader:[{type:d.ContentChild,args:[wi]}],npPanelBody:[{type:d.ContentChild,args:[xi]}],npPanelFooter:[{type:d.ContentChild,args:[bi]}]},e}(),ki=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule,si],declarations:[Ci,wi,xi,bi],exports:[Ci,wi,xi,bi],entryComponents:[]}]}],e}(),Ei=function(){function e(e,t){this._elementRef=e,this._renderer=t,this.badgePosition="above after",this.badgeColor="#ed5565",this.badgeRadius="0",this.hasContent=!1}return e.prototype.ngOnChanges=function(e){var t=e.badgeContent;if(t){var n=t.currentValue;this.hasContent=null!=n&&0<(""+n).trim().length&&0!=+n,this.updateTextContent()}},e.prototype.isAbove=function(){return-1===this.badgePosition.indexOf("below")},e.prototype.isAfter=function(){return-1===this.badgePosition.indexOf("before")},e.prototype.updateTextContent=function(){return this.badgeElement?this.badgeElement.textContent=this.badgeContent:this.badgeElement=this.createBadgeElement(),this.badgeElement},e.prototype.createBadgeElement=function(){var e=this._renderer.createElement("span");return e.setAttribute("id","np-badge-content-"+m.ID()),e.style.borderRadius=this.badgeRadius,e.style.backgroundColor=this.badgeColor,e.classList.add("np-badge-content"),e.textContent=this.badgeContent,this._elementRef.nativeElement.appendChild(e),e},e.decorators=[{type:d.Directive,args:[{selector:"[np-badge]",host:{"class":"np-badge-wrapper","[class.np-badge-above]":"isAbove()","[class.np-badge-below]":"!isAbove()","[class.np-badge-before]":"!isAfter()","[class.np-badge-after]":"isAfter()"}}]}],e.ctorParameters=function(){return[{type:d.ElementRef},{type:d.Renderer2}]},e.propDecorators={badgePosition:[{type:d.Input}],badgeColor:[{type:d.Input}],badgeContent:[{type:d.Input}],badgeRadius:[{type:d.Input}]},e}(),Si=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],declarations:[Ei],exports:[Ei]}]}],e}(),Di=function(){function e(){this.defaultBgColors=["blue","green","red","orange"],this.showCustomHoverColor=!1}return e.prototype.ngOnInit=function(){this.initOptions(),this.buildCustomBg()},e.prototype.initOptions=function(){this.options&&(this.options.bg||(this.options.bg="blue"),this.options.layout||(this.options.layout="center"))},e.prototype.buildCustomBg=function(){this.options.bg&&-1===this.defaultBgColors.indexOf(this.options.bg)&&this.npBoxHeader.nativeElement&&(-1<this.options.bg.indexOf("//")||-1<this.options.bg.indexOf("http")?(this.npBoxHeader.nativeElement.style.backgroundImage="url("+this.options.bg+")",this.npBoxHeader.nativeElement.style.backgroundPosition="0% 0%",this.npBoxHeader.nativeElement.style.backgroundRepeat="no-repeat",this.npBoxHeader.nativeElement.style.backgroundSize="100% 100%"):this.npBoxHeader.nativeElement.style.backgroundColor=this.options.bg)},e.prototype.buildCustomHoverColor=function(e){this.options.bg&&this.options.hoverColor&&-1===this.defaultBgColors.indexOf(this.options.bg)&&(this.showCustomHoverColor=e)},e.decorators=[{type:d.Component,args:[{selector:"np-box",template:"<div #npBoxWrapper class=\"np-box-wrapper flex-wrap col-flex\" [ngClass]=\"{\r\n        'blue-shadow': options.bg === 'blue', \r\n        'green-shadow': options.bg === 'green', \r\n        'red-shadow': options.bg === 'red', \r\n        'orange-shadow': options.bg === 'orange'\r\n    }\" [ngStyle]=\"{'box-shadow': showCustomHoverColor ? '0px 8px 16px 0px rgba(' + options.hoverColor + ', 0.2)' : ''}\"\r\n  (mouseenter)=\"buildCustomHoverColor(true)\" (mouseleave)=\"buildCustomHoverColor(false)\">\r\n  <div #npBoxHeader class=\"np-box-header flex-wrap row-flex\" [ngClass]=\"{\r\n        'blue': options.bg === 'blue', \r\n        'green': options.bg === 'green', \r\n        'red': options.bg === 'red', \r\n        'orange': options.bg === 'orange'\r\n    }\">\r\n    <i [ngClass]=\"options.faIcon\"></i>\r\n    &nbsp;&nbsp;\r\n    <span>{{ options.title }}</span>\r\n  </div>\r\n  <div class=\"np-box-content flex-wrap row-flex\" *ngIf=\"options.layout === 'leftRight'\"\r\n    [ngStyle]=\"{'height.px': options.height}\">\r\n    <div class=\"flex-wrap col-flex\" [ngClass]=\"{'left-right': options.layout === 'leftRight'}\">\r\n      <span>{{ options.lCaption }}</span>\r\n      <span [style.color]=\"options.lColor\">{{ options.lContent }}</span>\r\n    </div>\r\n    <span class=\"vertical-line\"></span>\r\n    <div class=\"flex-wrap col-flex\" [ngClass]=\"{'left-right': options.layout === 'leftRight'}\">\r\n      <span>{{ options.rCaption }}</span>\r\n      <span [style.color]=\"options.rColor\">{{ options.rContent }}</span>\r\n    </div>\r\n  </div>\r\n  <div class=\"np-box-content flex-wrap row-flex\" *ngIf=\"options.layout === 'center'\"\r\n    [ngStyle]=\"{'height.px': options.height}\">\r\n    <div class=\"flex-wrap col-flex\" [ngClass]=\"{'center': options.layout === 'center'}\">\r\n      <span>{{ options.cCaption }}</span>\r\n      <span [style.color]=\"options.cColor\">{{ options.cContent }}</span>\r\n    </div>\r\n  </div>\r\n  <div class=\"np-box-content flex-wrap row-flex\" *ngIf=\"options.layout === 'custom'\"\r\n    [ngStyle]=\"{'height.px': options.height}\">\r\n    <ng-content></ng-content>\r\n  </div>\r\n</div>\r\n",encapsulation:d.ViewEncapsulation.None,styles:[".np-box-wrapper{box-shadow:0 8px 16px 0 rgba(174,180,180,.16);border-radius:10px;min-height:155px;transition:box-shadow .5s}.np-box-wrapper:hover.blue-shadow{box-shadow:0 8px 16px 0 rgba(78,136,221,.2)!important}.np-box-wrapper:hover.green-shadow{box-shadow:0 8px 16px 0 rgba(44,197,198,.2)!important}.np-box-wrapper:hover.red-shadow{box-shadow:0 8px 16px 0 rgba(244,107,120,.2)!important}.np-box-wrapper:hover.orange-shadow{box-shadow:0 8px 16px 0 rgba(253,137,34,.2)!important}.np-box-wrapper .np-box-header{justify-content:center;align-items:baseline;border-top-left-radius:10px;border-top-right-radius:10px;font-size:17px;line-height:48px}.np-box-wrapper .np-box-header.blue{background:url(//image.ipay.so/upload/voucher/assets/images/activity/pin-order_amt.png) 0 0/100% 100% no-repeat}.np-box-wrapper .np-box-header.green{background:url(//image.ipay.so/upload/voucher/assets/images/activity/pin-order_count.png) 0 0/100% 100% no-repeat}.np-box-wrapper .np-box-header.red{background:url(//image.ipay.so/upload/voucher/assets/images/activity/pin-user_count.png) 0 0/100% 100% no-repeat}.np-box-wrapper .np-box-header.orange{background:url(//image.ipay.so/upload/voucher/assets/images/activity/pin-product_count.png) 0 0/100% 100% no-repeat}.np-box-wrapper .np-box-content{margin:auto 0;justify-content:space-evenly;align-items:center}.np-box-wrapper .np-box-content>div.center,.np-box-wrapper .np-box-content>div.left-right{align-items:center}.np-box-wrapper .np-box-content>div.center>span:first-child,.np-box-wrapper .np-box-content>div.left-right>span:first-child{text-align:center;font-size:14px;margin-bottom:10px}.np-box-wrapper .np-box-content>div.center>span:last-child,.np-box-wrapper .np-box-content>div.left-right>span:last-child{font-weight:700;font-size:35px}.np-box-wrapper .np-box-content .vertical-line{width:1px;height:51px}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={options:[{type:d.Input}],npBoxHeader:[{type:d.ViewChild,args:["npBoxHeader"]}]},e}(),Ii=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],declarations:[Di],exports:[Di]}]}],e}();function Pi(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Ti(e,t){var n=t?"":"none";Pi(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}
/**
     * @license
     * Copyright Google LLC All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function _i(e){var t=-1<e.toLowerCase().indexOf("ms")?1:1e3;return parseFloat(e)*t}function Ni(e,t){return e.getPropertyValue(t).split(",").map(function(e){return e.trim()})}
/**
     * @license
     * Copyright Google LLC All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Mi(e){return function t(){if(null==Wr&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Wr=!0}}))}finally{Wr=Wr||!1}return Wr}()?e:!!e.capture}function Oi(e){return e instanceof d.ElementRef?e.nativeElement:e}var Ri=Mi({passive:!0}),Li=Mi({passive:!1}),Bi=function(){function e(e,t,n,r,i,o){var a=this;this._config=t,this._document=n,this._ngZone=r,this._viewportRuler=i,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new Mt,this._moveEventSubscriptions=0,this._pointerMoveSubscription=At.EMPTY,this._pointerUpSubscription=At.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this._disabled=!1,this.beforeStarted=new Mt,this.started=new Mt,this.released=new Mt,this.ended=new Mt,this.entered=new Mt,this.exited=new Mt,this.dropped=new Mt,this.moved=new It(function(e){var t=a._moveEvents.subscribe(e);return a._moveEventSubscriptions++,function(){t.unsubscribe(),a._moveEventSubscriptions--}}),this._pointerDown=function(n){if(a.beforeStarted.next(),a._handles.length){var e=a._handles.find(function(e){var t=n.target;return!!t&&(t===e||e.contains(t))});!e||a._disabledHandles.has(e)||a.disabled||a._initializeDragSequence(e,n)}else a.disabled||a._initializeDragSequence(a._rootElement,n)},this._pointerMove=function(e){if(a._hasStartedDragging){a._boundaryElement&&(a._previewRect&&(a._previewRect.width||a._previewRect.height)||(a._previewRect=(a._preview||a._rootElement).getBoundingClientRect()));var t=a._getConstrainedPointerPosition(e);if(a._hasMoved=!0,e.preventDefault(),a._updatePointerDirectionDelta(t),a._dropContainer)a._updateActiveDropContainer(t);else{var n=a._activeTransform;n.x=t.x-a._pickupPositionOnPage.x+a._passiveTransform.x,n.y=t.y-a._pickupPositionOnPage.y+a._passiveTransform.y;var r=ji(n.x,n.y);if(a._rootElement.style.transform=a._initialTransform?r+" "+a._initialTransform:r,"undefined"!=typeof SVGElement&&a._rootElement instanceof SVGElement){var i="translate("+n.x+" "+n.y+")";a._rootElement.setAttribute("transform",i)}}0<a._moveEventSubscriptions&&a._ngZone.run(function(){a._moveEvents.next({source:a,pointerPosition:t,event:e,delta:a._pointerDirectionDelta})})}else{var o=a._getPointerPositionOnPage(e);Math.abs(o.x-a._pickupPositionOnPage.x)+Math.abs(o.y-a._pickupPositionOnPage.y)>=a._config.dragStartThreshold&&(a._hasStartedDragging=!0,a._ngZone.run(function(){return a._startDragSequence(e)}))}},this._pointerUp=function(e){if(a._dragDropRegistry.isDragging(a)&&(a._removeSubscriptions(),a._dragDropRegistry.stopDragging(a),a._handles&&(a._rootElement.style.webkitTapHighlightColor=a._rootElementTapHighlight),a._hasStartedDragging)){if(a.released.next({source:a}),!a._dropContainer)return a._passiveTransform.x=a._activeTransform.x,a._passiveTransform.y=a._activeTransform.y,a._ngZone.run(function(){return a.ended.next({source:a})}),void a._dragDropRegistry.stopDragging(a);a._animatePreviewToPlaceholder().then(function(){a._cleanupDragArtifacts(e),a._dragDropRegistry.stopDragging(a)})}},this.withRootElement(e),o.registerDragItem(this)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=o.coerceBooleanProperty(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions())},enumerable:!0,configurable:!0}),e.prototype.getPlaceholderElement=function(){return this._placeholder},e.prototype.getRootElement=function(){return this._rootElement},e.prototype.withHandles=function(e){return this._handles=e.map(function(e){return Oi(e)}),this._handles.forEach(function(e){return Ti(e,!1)}),this._toggleNativeDragInteractions(),this},e.prototype.withPreviewTemplate=function(e){return this._previewTemplate=e,this},e.prototype.withPlaceholderTemplate=function(e){return this._placeholderTemplate=e,this},e.prototype.withRootElement=function(e){var t=Oi(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),t.addEventListener("mousedown",this._pointerDown,Li),t.addEventListener("touchstart",this._pointerDown,Ri),this._initialTransform=undefined,this._rootElement=t),this},e.prototype.withBoundaryElement=function(e){return this._boundaryElement=e?Oi(e):null,this},e.prototype.dispose=function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&Yi(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=undefined,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null},e.prototype.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)},e.prototype.reset=function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}},e.prototype.disableHandle=function(e){-1<this._handles.indexOf(e)&&this._disabledHandles.add(e)},e.prototype.enableHandle=function(e){this._disabledHandles["delete"](e)},e.prototype.withDirection=function(e){return this._direction=e,this},e.prototype._withDropContainer=function(e){this._dropContainer=e},e.prototype._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe()},e.prototype._destroyPreview=function(){this._preview&&Yi(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null},e.prototype._destroyPlaceholder=function(){this._placeholder&&Yi(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null},e.prototype._startDragSequence=function(e){if(this.started.next({source:this}),Ui(e)&&(this._lastTouchEventTime=Date.now()),this._dropContainer){var t=this._rootElement;this._nextSibling=t.nextSibling;var n=this._preview=this._createPreviewElement(),r=this._placeholder=this._createPlaceholderElement();t.style.display="none",this._document.body.appendChild(t.parentNode.replaceChild(r,t)),this._document.body.appendChild(n),this._dropContainer.start()}},e.prototype._initializeDragSequence=function(e,t){t.stopPropagation();var n=this.isDragging(),r=Ui(t),i=!r&&0!==t.button,o=this._rootElement,a=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(n||i||a)){null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor,o.style.webkitTapHighlightColor="transparent"),this._toggleNativeDragInteractions(),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollPosition=this._viewportRuler.getViewportScrollPosition(),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(e,t);var s=this._pickupPositionOnPage=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:s.x,y:s.y},this._dragDropRegistry.startDragging(this,t)}},e.prototype._cleanupDragArtifacts=function(a){var s=this;this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):this._initialContainer.element.appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=undefined,this._ngZone.run(function(){var e=s._dropContainer,t=e.getItemIndex(s),n=s._getPointerPositionOnPage(a),r=n.x,i=n.y,o=e._isOverContainer(r,i);s.ended.next({source:s}),s.dropped.next({item:s,currentIndex:t,previousIndex:s._initialContainer.getItemIndex(s),container:e,previousContainer:s._initialContainer,isPointerOverContainer:o}),e.drop(s,t,s._initialContainer,o),s._dropContainer=s._initialContainer})},e.prototype._updateActiveDropContainer=function(e){var t=this,n=e.x,r=e.y,i=this._dropContainer._getSiblingContainerFromPosition(this,n,r)||this._initialContainer._getSiblingContainerFromPosition(this,n,r);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,r)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(function(){t.exited.next({item:t,container:t._dropContainer}),t._dropContainer.exit(t),t.entered.next({item:t,container:i}),t._dropContainer=i,t._dropContainer.enter(t,n,r)}),this._dropContainer._sortItem(this,n,r,this._pointerDirectionDelta),this._preview.style.transform=ji(n-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y)},e.prototype._createPreviewElement=function(){var e,t=this._previewTemplate,n=t?t.template:null;if(n){var r=t.viewContainer.createEmbeddedView(n,t.context);e=r.rootNodes[0],this._previewRef=r,e.style.transform=ji(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var i=this._rootElement,o=i.getBoundingClientRect();(e=Hi(i)).style.width=o.width+"px",e.style.height=o.height+"px",e.style.transform=ji(o.left,o.top)}return Pi(e.style,{pointerEvents:"none",position:"fixed",top:"0",left:"0",zIndex:"1000"}),Ti(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),e},e.prototype._animatePreviewToPlaceholder=function(){var i=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=ji(e.left,e.top);var o=function s(e){var t=getComputedStyle(e),n=Ni(t,"transition-property"),r=n.find(function(e){return"transform"===e||"all"===e});if(!r)return 0;var i=n.indexOf(r),o=Ni(t,"transition-duration"),a=Ni(t,"transition-delay");return _i(o[i])+_i(a[i])}(this._preview);return 0===o?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(t){var n=function(e){(!e||e.target===i._preview&&"transform"===e.propertyName)&&(i._preview.removeEventListener("transitionend",n),t(),clearTimeout(r))},r=setTimeout(n,1.5*o);i._preview.addEventListener("transitionend",n)})})},e.prototype._createPlaceholderElement=function(){var e,t=this._placeholderTemplate,n=t?t.template:null;return(e=n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.rootNodes[0]):Hi(this._rootElement)).classList.add("cdk-drag-placeholder"),e},e.prototype._getPointerPositionInElement=function(e,t){var n=this._rootElement.getBoundingClientRect(),r=e===this._rootElement?null:e,i=r?r.getBoundingClientRect():n,o=Ui(t)?t.targetTouches[0]:t,a=o.pageX-i.left-this._scrollPosition.left,s=o.pageY-i.top-this._scrollPosition.top;return{x:i.left-n.left+a,y:i.top-n.top+s}},e.prototype._getPointerPositionOnPage=function(e){var t=Ui(e)?e.touches[0]||e.changedTouches[0]:e;return{x:t.pageX-this._scrollPosition.left,y:t.pageY-this._scrollPosition.top}},e.prototype._getConstrainedPointerPosition=function(e){var t=this._getPointerPositionOnPage(e),n=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===n?t.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==n||(t.x=this._pickupPositionOnPage.x),this._boundaryRect){var r=this._pickupPositionInElement,i=r.x,o=r.y,a=this._boundaryRect,s=this._previewRect,c=a.top+o,l=a.bottom-(s.height-o),u=a.left+i,p=a.right-(s.width-i);t.x=zi(t.x,u,p),t.y=zi(t.y,c,l)}return t},e.prototype._updatePointerDirectionDelta=function(e){var t=e.x,n=e.y,r=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-i.x),a=Math.abs(n-i.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=t>i.x?1:-1,i.x=t),a>this._config.pointerDirectionChangeThreshold&&(r.y=n>i.y?1:-1,i.y=n),r},e.prototype._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var e=this.disabled||0<this._handles.length;e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,Ti(this._rootElement,e))}},e.prototype._removeRootElementListeners=function(e){e.removeEventListener("mousedown",this._pointerDown,Li),e.removeEventListener("touchstart",this._pointerDown,Ri)},e}();function ji(e,t){return"translate3d("+Math.round(e)+"px, "+Math.round(t)+"px, 0)"}function Hi(e){var t=e.cloneNode(!0);return t.removeAttribute("id"),t}function zi(e,t,n){return Math.max(t,Math.min(n,e))}function Yi(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Ui(e){return e.type.startsWith("touch")}
/**
     * @license
     * Copyright Google LLC All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Vi(e,t,n){var r=Qi(t,e.length-1),i=Qi(n,e.length-1);if(r!==i){for(var o=e[r],a=i<r?-1:1,s=r;s!==i;s+=a)e[s]=e[s+a];e[i]=o}}function Qi(e,t){return Math.max(0,Math.min(t,e))}var Wi=0,Gi=function(){function e(e,t,n){this._dragDropRegistry=t,this.id="cdk-drop-list-ref-"+Wi++,this.disabled=!1,this.enterPredicate=function(){return!0},this.beforeStarted=new Mt,this.entered=new Mt,this.exited=new Mt,this.dropped=new Mt,this.sorted=new Mt,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",t.registerDropContainer(this),this._document=n,this.element=e instanceof d.ElementRef?e.nativeElement:e}return e.prototype.dispose=function(){this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._dragDropRegistry.removeDropContainer(this)},e.prototype.isDragging=function(){return this._isDragging},e.prototype.start=function(){var t=this;this.beforeStarted.next(),this._isDragging=!0,this._activeDraggables=this._draggables.slice(),this._cacheOwnPosition(),this._cacheItemPositions(),this._siblings.forEach(function(e){return e._startReceiving(t)})},e.prototype.enter=function(e,t,n){this.entered.next({item:e,container:this}),this.start();var r=this._getItemIndexFromPointerPosition(e,t,n),i=this._activeDraggables.indexOf(e),o=this._activeDraggables[r],a=e.getPlaceholderElement();if(-1<i&&this._activeDraggables.splice(i,1),o&&!this._dragDropRegistry.isDragging(o)){var s=o.getRootElement();s.parentElement.insertBefore(a,s),this._activeDraggables.splice(r,0,e)}else this.element.appendChild(a),this._activeDraggables.push(e);a.style.transform="",this._cacheItemPositions()},e.prototype.exit=function(e){this._reset(),this.exited.next({item:e,container:this})},e.prototype.drop=function(e,t,n,r){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n.getItemIndex(e),container:this,previousContainer:n,isPointerOverContainer:r})},e.prototype.withItems=function(e){var t=this;return(this._draggables=e).forEach(function(e){return e._withDropContainer(t)}),this},e.prototype.withDirection=function(e){return this._direction=e,this},e.prototype.connectedTo=function(e){return this._siblings=e.slice(),this},e.prototype.withOrientation=function(e){return this._orientation=e,this},e.prototype.getItemIndex=function(t){return this._isDragging?qi("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(e){return e.drag===t}):this._draggables.indexOf(t)},e.prototype.isReceiving=function(){return 0<this._activeSiblings.size},e.prototype._sortItem=function(o,e,t,n){if(this._isPointerNearDropContainer(e,t)){var r=this._itemPositions,i=this._getItemIndexFromPointerPosition(o,e,t,n);if(!(-1===i&&0<r.length)){var a="horizontal"===this._orientation,s=qi(r,function(e){return e.drag===o}),c=r[i],l=r[s].clientRect,u=c.clientRect,p=i<s?1:-1;this._previousSwap.drag=c.drag,this._previousSwap.delta=a?n.x:n.y;var d=this._getItemOffsetPx(l,u,p),h=this._getSiblingOffsetPx(s,r,p),f=r.slice();Vi(r,s,i),this.sorted.next({previousIndex:s,currentIndex:i,container:this,item:o}),r.forEach(function(e,t){if(f[t]!==e){var n=e.drag===o,r=n?d:h,i=n?o.getPlaceholderElement():e.drag.getRootElement();e.offset+=r,a?(i.style.transform="translate3d("+Math.round(e.offset)+"px, 0, 0)",Fi(e.clientRect,0,r)):(i.style.transform="translate3d(0, "+Math.round(e.offset)+"px, 0)",Fi(e.clientRect,r,0))}})}}},e.prototype._cacheOwnPosition=function(){this._clientRect=this.element.getBoundingClientRect()},e.prototype._cacheItemPositions=function(){var n=this,r="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(e){var t=(n._dragDropRegistry.isDragging(e)?e.getPlaceholderElement():e.getRootElement()).getBoundingClientRect();return{drag:e,offset:0,clientRect:{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}}).sort(function(e,t){return r?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top})},e.prototype._reset=function(){var t=this;this._isDragging=!1,this._activeDraggables.forEach(function(e){return e.getRootElement().style.transform=""}),this._siblings.forEach(function(e){return e._stopReceiving(t)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0},e.prototype._getSiblingOffsetPx=function(e,t,n){var r="horizontal"===this._orientation,i=t[e].clientRect,o=t[e+-1*n],a=i[r?"width":"height"]*n;if(o){var s=r?"left":"top",c=r?"right":"bottom";-1===n?a-=o.clientRect[s]-i[c]:a+=i[s]-o.clientRect[c]}return a},e.prototype._isPointerNearDropContainer=function(e,t){var n=this._clientRect,r=n.top,i=n.right,o=n.bottom,a=n.left,s=.05*n.width,c=.05*n.height;return r-c<t&&t<o+c&&a-s<e&&e<i+s},e.prototype._getItemOffsetPx=function(e,t,n){var r="horizontal"===this._orientation,i=r?t.left-e.left:t.top-e.top;return-1===n&&(i+=r?t.width-e.width:t.height-e.height),i},e.prototype._getItemIndexFromPointerPosition=function(a,s,c,l){var u=this,p="horizontal"===this._orientation;return qi(this._itemPositions,function(e,t,n){var r=e.drag,i=e.clientRect;if(r===a)return n.length<2;if(l){var o=p?l.x:l.y;if(r===u._previousSwap.drag&&o===u._previousSwap.delta)return!1}return p?s>=Math.floor(i.left)&&s<=Math.floor(i.right):c>=Math.floor(i.top)&&c<=Math.floor(i.bottom)})},e.prototype._isOverContainer=function(e,t){return Zi(this._clientRect,e,t)},e.prototype._getSiblingContainerFromPosition=function(t,n,r){return this._siblings.find(function(e){return e._canReceive(t,n,r)})},e.prototype._canReceive=function(e,t,n){if(!this.enterPredicate(e,this)||!Zi(this._clientRect,t,n))return!1;var r=this._document.elementFromPoint(t,n);return!!r&&(r===this.element||this.element.contains(r))},e.prototype._startReceiving=function(e){var t=this._activeSiblings;t.has(e)||(t.add(e),this._cacheOwnPosition())},e.prototype._stopReceiving=function(e){this._activeSiblings["delete"](e)},e}();function Fi(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function qi(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function Zi(e,t,n){var r=e.top,i=e.bottom,o=e.left,a=e.right;return r<=n&&n<=i&&o<=t&&t<=a}var Ki=Mi({passive:!1,capture:!0}),Ji=function(){function e(e,t){var n=this;this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new Mt,this.pointerUp=new Mt,this._preventDefaultWhileDragging=function(e){n._activeDragInstances.size&&e.preventDefault()},this._document=t}return e.prototype.registerDropContainer=function(e){if(!this._dropInstances.has(e)){if(this.getDropContainer(e.id))throw Error('Drop instance with id "'+e.id+'" has already been registered.');this._dropInstances.add(e)}},e.prototype.registerDragItem=function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){t._document.addEventListener("touchmove",t._preventDefaultWhileDragging,Ki)})},e.prototype.removeDropContainer=function(e){this._dropInstances["delete"](e)},e.prototype.removeDragItem=function(e){this._dragInstances["delete"](e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,Ki)},e.prototype.startDragging=function(e,t){var n=this;if(this._activeDragInstances.add(e),1===this._activeDragInstances.size){var r=t.type.startsWith("touch"),i=r?"touchmove":"mousemove",o=r?"touchend":"mouseup";this._globalListeners.set(i,{handler:function(e){return n.pointerMove.next(e)},options:Ki}).set(o,{handler:function(e){return n.pointerUp.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Ki}),r||this._globalListeners.set("wheel",{handler:this._preventDefaultWhileDragging,options:Ki}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(e,t){n._document.addEventListener(t,e.handler,e.options)})})}},e.prototype.stopDragging=function(e){this._activeDragInstances["delete"](e),0===this._activeDragInstances.size&&this._clearGlobalListeners()},e.prototype.isDragging=function(e){return this._activeDragInstances.has(e)},e.prototype.getDropContainer=function(t){return Array.from(this._dropInstances).find(function(e){return e.id===t})},e.prototype.ngOnDestroy=function(){var t=this;this._dragInstances.forEach(function(e){return t.removeDragItem(e)}),this._dropInstances.forEach(function(e){return t.removeDropContainer(e)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()},e.prototype._clearGlobalListeners=function(){var n=this;this._globalListeners.forEach(function(e,t){n._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()},e.decorators=[{type:d.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:d.NgZone},{type:undefined,decorators:[{type:d.Inject,args:[u.DOCUMENT]}]}]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e(d.inject(d.NgZone),d.inject(u.DOCUMENT))},token:e,providedIn:"root"}),e}(),Xi={dragStartThreshold:5,pointerDirectionChangeThreshold:5},$i=function(){function e(e,t,n,r){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=r}return e.prototype.createDrag=function(e,t){return void 0===t&&(t=Xi),new Bi(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)},e.prototype.createDropList=function(e){return new Gi(e,this._dragDropRegistry,this._document)},e.decorators=[{type:d.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:d.Inject,args:[u.DOCUMENT]}]},{type:d.NgZone},{type:i.ViewportRuler},{type:Ji}]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e(d.inject(u.DOCUMENT),d.inject(d.NgZone),d.inject(i.ViewportRuler),d.inject(Ji))},token:e,providedIn:"root"}),e}(),eo=new d.InjectionToken("CDK_DROP_LIST"),to=eo,no=new d.InjectionToken("CDK_DRAG_PARENT"),ro=function(){function e(e,t){this.element=e,this._stateChanges=new Mt,this._disabled=!1,this._parentDrag=t,Ti(e.nativeElement,!1)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e),this._stateChanges.next(this)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.decorators=[{type:d.Directive,args:[{selector:"[cdkDragHandle]",host:{"class":"cdk-drag-handle"}}]}],e.ctorParameters=function(){return[{type:d.ElementRef},{type:undefined,decorators:[{type:d.Inject,args:[no]},{type:d.Optional}]}]},e.propDecorators={disabled:[{type:d.Input,args:["cdkDragHandleDisabled"]}]},e}(),io=function(){function e(e){this.templateRef=e}return e.decorators=[{type:d.Directive,args:[{selector:"ng-template[cdkDragPlaceholder]"}]}],e.ctorParameters=function(){return[{type:d.TemplateRef}]},e.propDecorators={data:[{type:d.Input}]},e}(),oo=function(){function e(e){this.templateRef=e}return e.decorators=[{type:d.Directive,args:[{selector:"ng-template[cdkDragPreview]"}]}],e.ctorParameters=function(){return[{type:d.TemplateRef}]},e.propDecorators={data:[{type:d.Input}]},e}(),ao=new d.InjectionToken("CDK_DRAG_CONFIG",{providedIn:"root",factory:so});function so(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}var co=function(){function e(e,t,n,r,i,o,a,s,c,l,u){var p=this;this.element=e,this.dropContainer=t,this._document=n,this._ngZone=r,this._viewContainerRef=i,this._dir=c,this._changeDetectorRef=u,this._destroyed=new Mt,this._disabled=!1,this.started=new d.EventEmitter,this.released=new d.EventEmitter,this.ended=new d.EventEmitter,this.entered=new d.EventEmitter,this.exited=new d.EventEmitter,this.dropped=new d.EventEmitter,this.moved=new It(function(e){var t=p._dragRef.moved.pipe(Ft(function(e){return{source:p,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta}})).subscribe(e);return function(){t.unsubscribe()}}),this._dragRef=l?l.createDrag(e,s):new Bi(e,s,n,r,o,a),(this._dragRef.data=this)._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e),this._dragRef.disabled=this._disabled},enumerable:!0,configurable:!0}),e.prototype.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()},e.prototype.getRootElement=function(){return this._dragRef.getRootElement()},e.prototype.reset=function(){this._dragRef.reset()},e.prototype.ngAfterViewInit=function(){var r=this;this._ngZone.onStable.asObservable().pipe(Vn(1),cr(this._destroyed)).subscribe(function(){r._updateRootElement(),r._handles.changes.pipe(ir(r._handles),pr(function(e){var t=e.filter(function(e){return e._parentDrag===r}).map(function(e){return e.element});r._dragRef.withHandles(t)}),or(function(e){return function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,i=e[e.length-1];return jt(i)?(r=e.pop(),1<e.length&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof It?e[0]:mn(n)(Ut(e,r))}.apply(void 0,O(e.map(function(e){return e._stateChanges})))}),cr(r._destroyed)).subscribe(function(e){var t=r._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n)})})},e.prototype.ngOnChanges=function(e){var t=e.rootElementSelector;t&&!t.firstChange&&this._updateRootElement()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()},e.prototype._updateRootElement=function(){var e=this.element.nativeElement,t=this.rootElementSelector?lo(e,this.rootElementSelector):e;if(t&&t.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'+t.nodeName+'".');this._dragRef.withRootElement(t||e)},e.prototype._getBoundaryElement=function(){var e=this.boundaryElementSelector;return e?lo(this.element.nativeElement,e):null},e.prototype._syncInputs=function(r){var i=this;r.beforeStarted.subscribe(function(){if(!r.isDragging()){var e=i._dir,t=i._placeholderTemplate?{template:i._placeholderTemplate.templateRef,context:i._placeholderTemplate.data,viewContainer:i._viewContainerRef}:null,n=i._previewTemplate?{template:i._previewTemplate.templateRef,context:i._previewTemplate.data,viewContainer:i._viewContainerRef}:null;r.disabled=i.disabled,r.lockAxis=i.lockAxis,r.withBoundaryElement(i._getBoundaryElement()).withPlaceholderTemplate(t).withPreviewTemplate(n),e&&r.withDirection(e.value)}})},e.prototype._handleEvents=function(e){var t=this;e.started.subscribe(function(){t.started.emit({source:t}),t._changeDetectorRef&&t._changeDetectorRef.markForCheck()}),e.released.subscribe(function(){t.released.emit({source:t})}),e.ended.subscribe(function(){t.ended.emit({source:t}),t._changeDetectorRef&&t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:e.container.data,item:t})}),e.exited.subscribe(function(e){t.exited.emit({container:e.container.data,item:t})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t})})},e.decorators=[{type:d.Directive,args:[{selector:"[cdkDrag]",exportAs:"cdkDrag",host:{"class":"cdk-drag","[class.cdk-drag-disabled]":"disabled","[class.cdk-drag-dragging]":"_dragRef.isDragging()"},providers:[{provide:no,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:d.ElementRef},{type:undefined,decorators:[{type:d.Inject,args:[eo]},{type:d.Optional},{type:d.SkipSelf}]},{type:undefined,decorators:[{type:d.Inject,args:[u.DOCUMENT]}]},{type:d.NgZone},{type:d.ViewContainerRef},{type:i.ViewportRuler},{type:Ji},{type:undefined,decorators:[{type:d.Inject,args:[ao]}]},{type:r.Directionality,decorators:[{type:d.Optional}]},{type:$i},{type:d.ChangeDetectorRef}]},e.propDecorators={_handles:[{type:d.ContentChildren,args:[ro,{descendants:!0}]}],_previewTemplate:[{type:d.ContentChild,args:[oo]}],_placeholderTemplate:[{type:d.ContentChild,args:[io]}],data:[{type:d.Input,args:["cdkDragData"]}],lockAxis:[{type:d.Input,args:["cdkDragLockAxis"]}],rootElementSelector:[{type:d.Input,args:["cdkDragRootElement"]}],boundaryElementSelector:[{type:d.Input,args:["cdkDragBoundary"]}],disabled:[{type:d.Input,args:["cdkDragDisabled"]}],started:[{type:d.Output,args:["cdkDragStarted"]}],released:[{type:d.Output,args:["cdkDragReleased"]}],ended:[{type:d.Output,args:["cdkDragEnded"]}],entered:[{type:d.Output,args:["cdkDragEntered"]}],exited:[{type:d.Output,args:["cdkDragExited"]}],dropped:[{type:d.Output,args:["cdkDragDropped"]}],moved:[{type:d.Output,args:["cdkDragMoved"]}]},e}();function lo(e,t){for(var n=e.parentElement;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}var uo=function(){function e(){this._items=new Set,this._disabled=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._items.clear()},e.decorators=[{type:d.Directive,args:[{selector:"[cdkDropListGroup]",exportAs:"cdkDropListGroup"}]}],e.propDecorators={disabled:[{type:d.Input,args:["cdkDropListGroupDisabled"]}]},e}(),po=0,ho=undefined,fo=function(){function c(e,t,n,r,i,o,a){var s=this;this.element=e,this._changeDetectorRef=n,this._dir=r,this._group=i,this._destroyed=new Mt,this.connectedTo=[],this.orientation="vertical",this.id="cdk-drop-list-"+po++,this._disabled=!1,this.enterPredicate=function(){return!0},this.dropped=new d.EventEmitter,this.entered=new d.EventEmitter,this.exited=new d.EventEmitter,this.sorted=new d.EventEmitter,this._dropListRef=a?a.createDropList(e):new Gi(e,t,o||document),(this._dropListRef.data=this)._dropListRef.enterPredicate=function(e,t){return s.enterPredicate(e.data,t.data)},this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),c._dropLists.push(this),i&&i._items.add(this)}return Object.defineProperty(c.prototype,"disabled",{get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),c.prototype.ngAfterContentInit=function(){var t=this;this._draggables.changes.pipe(ir(this._draggables),cr(this._destroyed)).subscribe(function(e){t._dropListRef.withItems(e.map(function(e){return e._dragRef}))})},c.prototype.ngOnDestroy=function(){var e=c._dropLists.indexOf(this);-1<e&&c._dropLists.splice(e,1),this._group&&this._group._items["delete"](this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()},c.prototype.start=function(){this._dropListRef.start()},c.prototype.drop=function(e,t,n,r){this._dropListRef.drop(e._dragRef,t,n._dropListRef,r)},c.prototype.enter=function(e,t,n){this._dropListRef.enter(e._dragRef,t,n)},c.prototype.exit=function(e){this._dropListRef.exit(e._dragRef)},c.prototype.getItemIndex=function(e){return this._dropListRef.getItemIndex(e._dragRef)},c.prototype._sortItem=function(e,t,n,r){return this._dropListRef._sortItem(e._dragRef,t,n,r)},c.prototype._getSiblingContainerFromPosition=function(e,t,n){var r=this._dropListRef._getSiblingContainerFromPosition(e._dragRef,t,n);return r?r.data:null},c.prototype._isOverContainer=function(e,t){return this._dropListRef._isOverContainer(e,t)},c.prototype._syncInputs=function(n){var r=this;this._dir&&this._dir.change.pipe(ir(this._dir.value),cr(this._destroyed)).subscribe(function(e){return n.withDirection(e)}),n.beforeStarted.subscribe(function(){var t=o.coerceArray(r.connectedTo).map(function(t){return"string"==typeof t?c._dropLists.find(function(e){return e.id===t}):t});r._group&&r._group._items.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),n.lockAxis=r.lockAxis,n.connectedTo(t.filter(function(e){return e&&e!==r}).map(function(e){return e._dropListRef})).withOrientation(r.orientation)})},c.prototype._handleEvents=function(e){var t=this;e.beforeStarted.subscribe(function(){t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:t,item:e.item.data})}),e.exited.subscribe(function(e){t.exited.emit({container:t,item:e.item.data})}),e.sorted.subscribe(function(e){t.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:t,item:e.item.data})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer}),t._changeDetectorRef.markForCheck()})},c._dropLists=[],c.decorators=[{type:d.Directive,args:[{selector:"[cdkDropList], cdk-drop-list",exportAs:"cdkDropList",providers:[{provide:uo,useValue:ho},{provide:to,useExisting:c}],host:{"class":"cdk-drop-list","[id]":"id","[class.cdk-drop-list-disabled]":"disabled","[class.cdk-drop-list-dragging]":"_dropListRef.isDragging()","[class.cdk-drop-list-receiving]":"_dropListRef.isReceiving()"}}]}],c.ctorParameters=function(){return[{type:d.ElementRef},{type:Ji},{type:d.ChangeDetectorRef},{type:r.Directionality,decorators:[{type:d.Optional}]},{type:uo,decorators:[{type:d.Optional},{type:d.SkipSelf}]},{type:undefined,decorators:[{type:d.Optional},{type:d.Inject,args:[u.DOCUMENT]}]},{type:$i}]},c.propDecorators={_draggables:[{type:d.ContentChildren,args:[d.forwardRef(function(){return co}),{descendants:!1}]}],connectedTo:[{type:d.Input,args:["cdkDropListConnectedTo"]}],data:[{type:d.Input,args:["cdkDropListData"]}],orientation:[{type:d.Input,args:["cdkDropListOrientation"]}],id:[{type:d.Input}],lockAxis:[{type:d.Input,args:["cdkDropListLockAxis"]}],disabled:[{type:d.Input,args:["cdkDropListDisabled"]}],enterPredicate:[{type:d.Input,args:["cdkDropListEnterPredicate"]}],dropped:[{type:d.Output,args:["cdkDropListDropped"]}],entered:[{type:d.Output,args:["cdkDropListEntered"]}],exited:[{type:d.Output,args:["cdkDropListExited"]}],sorted:[{type:d.Output,args:["cdkDropListSorted"]}]},c}(),go=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{declarations:[fo,uo,co,ro,oo,io],exports:[fo,uo,co,ro,oo,io],providers:[$i]}]}],e}(),mo=function(){function e(e){var s=this;this.viewportRuler=e,this.items=[],this.dropListEnterPredicate=function(e,t){if(t==s.placeholder)return!0;if(t!=s.activeContainer)return!1;var n=s.placeholder.element.nativeElement,r=e.dropContainer.element.nativeElement,i=t.element.nativeElement,o=yo(i.parentElement.children,s.source?n:r),a=yo(i.parentElement.children,i);return s.source||(s.sourceIndex=o,s.source=e.dropContainer,n.style.width=r.clientWidth+"px",n.style.height=r.clientHeight+"px",r.parentElement.removeChild(r)),s.targetIndex=a,s.target=t,n.style.display="",i.parentElement.insertBefore(n,o<a?i.nextSibling:i),s.placeholder.enter(e,e.element.nativeElement.offsetLeft,e.element.nativeElement.offsetTop),!1},this.target=null,this.source=null}return e.prototype.ngOnInit=function(){this.items.forEach(function(e){e.id||(e.id=m.ID())})},e.prototype.ngAfterViewInit=function(){var e=this.placeholder.element.nativeElement;e.style.display="none",e.parentElement.removeChild(e)},e.prototype.dragMoved=function(e){var t=this;if(!this.isDisabled){var n=this.getPointerPositionOnPage(e.event);this.listGroup._items.forEach(function(e){(function c(e,t,n){var r=e.element.nativeElement.getBoundingClientRect(),i=r.top,o=r.bottom,a=r.left,s=r.right;return i<=n&&n<=o&&a<=t&&t<=s})(e,n.x,n.y)&&(t.activeContainer=e)})}},e.prototype.dropListDropped=function(){if(this.target){var e=this.placeholder.element.nativeElement,t=e.parentElement;e.style.display="none",t.removeChild(e),t.appendChild(e),t.insertBefore(this.source.element.nativeElement,t.children[this.sourceIndex]),this.target=null,this.source=null,this.sourceIndex!=this.targetIndex&&Vi(this.items,this.sourceIndex,this.targetIndex)}},e.prototype.getPointerPositionOnPage=function(e){var t=function r(e){return e.type.startsWith("touch")}(e)?e.touches[0]||e.changedTouches[0]:e,n=this.viewportRuler.getViewportScrollPosition();return{x:t.pageX-n.left,y:t.pageY-n.top}},e.prototype.onRemove=function(e){var t=this.items.indexOf(e);-1<t&&this.items.splice(t,1)},e.decorators=[{type:d.Component,args:[{selector:"np-draggable-pics",template:'<div class="np-draggable-pics-wrapper item-container" cdkDropListGroup>\r\n  <div cdkDropList [cdkDropListEnterPredicate]="dropListEnterPredicate" (cdkDropListDropped)="dropListDropped()">\r\n  </div>\r\n  <div cdkDropList *ngFor="let item of items" [cdkDropListEnterPredicate]="dropListEnterPredicate"\r\n    (cdkDropListDropped)="dropListDropped()">\r\n    <div cdkDrag class="item-box" (cdkDragMoved)="dragMoved($event);" [style.width.px]="itemWidth"\r\n      [style.height.px]="itemHeight">\r\n      <i class="fas fa-times-circle" *ngIf="!isDisabled" (click)="onRemove(item)"></i>\r\n      <img [src]="item.url" [style.width.px]="itemWidth" [style.height.px]="itemHeight">\r\n    </div>\r\n  </div>\r\n</div>\r\n',host:{"class":"host-inline-block"},encapsulation:d.ViewEncapsulation.None,styles:[".host-inline-block{display:inline-block}.np-draggable-pics-wrapper.item-container{display:flex;flex-wrap:wrap;min-width:600px;padding:10px}.np-draggable-pics-wrapper.item-container .item-box{height:auto;font-size:30pt;cursor:move;display:flex;justify-content:center;align-items:center;text-align:center;border-radius:4px;position:relative;z-index:1;transition:box-shadow .2s cubic-bezier(0,0,.2,1)}.np-draggable-pics-wrapper.item-container .item-box>.fas.fa-times-circle{position:absolute;top:-6px;right:-6px;font-size:16px;cursor:pointer;border-radius:50%}.cdk-drop-list{display:flex;box-sizing:border-box!important;padding-right:10px;padding-bottom:10px}.cdk-drag-preview{border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:flex;justify-content:center;align-items:center;text-align:center;font-size:30pt;opacity:.8;padding:3px;border:2px dotted gray!important;background-color:transparent!important}.cdk-drag-placeholder{box-sizing:border-box!important;opacity:.2;border:2px dotted gray!important;background-color:#ddd!important}.cdk-drag-animating{transition:transform 250ms cubic-bezier(0,0,.2,1)}"]}]}],e.ctorParameters=function(){return[{type:a.ViewportRuler}]},e.propDecorators={listGroup:[{type:d.ViewChild,args:[uo]}],placeholder:[{type:d.ViewChild,args:[fo]}],items:[{type:d.Input}],itemWidth:[{type:d.Input}],itemHeight:[{type:d.Input}],isDisabled:[{type:d.Input}]},e}();function yo(e,t){return Array.prototype.indexOf.call(e,t)}var vo=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,go],declarations:[mo],exports:[mo],entryComponents:[]}]}],e}(),Ao=function(){function e(e){this.sanitizer=e,this.emitChange=function(e){},this.label="选择图片",this.ignoreWidthAndHeightCheck=!1,this.btnText="点击上传",this.imgDesc="*图片描述，如尺寸、格式、大小等*",this.imgFormat="jpg|png|jpeg",this.maxSize=500,this.onImgFileChanged=new d.EventEmitter,this.onUploadError=new d.EventEmitter,this.onImgClicked=new d.EventEmitter,this.currentImgFile=null,this.currentImgSrc=null}return e.prototype.ngOnInit=function(){},e.prototype.onCurrentImgFileChanged=function(t){var n=this,e=t.name;return new RegExp(".("+this.imgFormat.toLowerCase()+")|.("+this.imgFormat.toUpperCase()+")$").test(e)?t.size>1024*+this.maxSize?(this.errorMessage="图片大于"+this.maxSize+"kb，请重新选择",this.onUploadError.next(this.errorMessage),void this.emitChange({file:null,src:null})):void Fr.checkImgWidthAndHeight(t,+this.width,+this.height).subscribe(function(e){return e||n.ignoreWidthAndHeightCheck?(n.errorMessage="",n.currentImgSrc=n.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(t)),n.currentImgFile=t,n.emitChange({file:n.currentImgFile,src:n.currentImgSrc}),n.onImgFileChanged.next({file:n.currentImgFile,src:n.currentImgSrc}),!0):(n.errorMessage="图片大小必须为"+n.width+"*"+n.height,n.onUploadError.next(n.errorMessage),void n.emitChange({file:null,src:null}))}):(this.errorMessage="图片格式不对，支持"+this.imgFormat.split("|").join("、"),this.onUploadError.next(this.errorMessage),void this.emitChange({file:null,src:null}))},e.prototype.onUploadImgFormatError=function(e){this.errorMessage="图片格式不对，支持"+this.imgFormat.split("|").join("、"),this.onUploadError.next(this.errorMessage),this.emitChange({file:null,src:null})},e.prototype.onCurrentImgClick=function(){this.onImgClicked.next({file:this.currentImgFile,src:this.currentImgSrc})},e.prototype.writeValue=function(e){e?(this.currentImgFile=e.file,this.currentImgSrc=e.src):(this.currentImgFile=null,this.currentImgSrc=null)},e.prototype.validate=function(e){if(this.isRequired){if(e&&e.value&&!e.value.file&&!e.value.src)return{imgError:!0};if(e&&!e.value)return{imgError:!0}}return null},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.prototype.setDisabledState=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-img-upload",template:'<div class="img-upload-wrapper flex-wrap col-flex">\r\n  <div class="flex-wrap row-flex" style="align-items: baseline;">\r\n    <label class="img-label">\r\n      <span class="form-required" *ngIf="isRequired">*</span>\r\n      {{ label }}\r\n    </label>\r\n    <np-button buttonType="secondary" [funcType]="\'upload\'" [isDisabled]="isDisabled" [uploadFileType]="imgFormat"\r\n      (uploadErrorMessage)="onUploadImgFormatError($event)" [file]="currentImgFile"\r\n      (fileChange)="onCurrentImgFileChanged($event)">{{ btnText }}\r\n    </np-button>\r\n  </div>\r\n  <span class="error-message" *ngIf="errorMessage" style="margin-left: 100px;">{{ errorMessage }}</span>\r\n  <div class="img-thumbnail-container flex-wrap col-flex middle-flex" (click)="onCurrentImgClick()">\r\n    <img *ngIf="currentImgSrc" [src]="currentImgSrc">\r\n    <div *ngIf="!currentImgSrc" class="img-placeholder flex-wrap col-flex middle-flex">\r\n      <span>+</span>\r\n    </div>\r\n  </div>\r\n  <span [innerHtml]="imgDesc | safeHtml" class="img-desc"></span>\r\n</div>\r\n',providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0},{provide:l.NG_VALIDATORS,useExisting:d.forwardRef(function(){return e}),multi:!0}],encapsulation:d.ViewEncapsulation.None,styles:[".img-upload-wrapper .error-message{display:block;font-size:10px;margin:5px}.img-upload-wrapper .img-thumbnail-container{width:220px;height:160px;padding:15px;margin-top:10px;margin-left:100px;border:2.5px dashed #aaa}.img-upload-wrapper .img-thumbnail-container>.img-placeholder,.img-upload-wrapper .img-thumbnail-container>img{width:160px;height:auto;max-height:120px}.img-upload-wrapper .img-thumbnail-container>.img-placeholder{font-size:18px}.img-upload-wrapper .img-thumbnail-container>.img-placeholder span{font-size:40px;font-weight:500;color:#aaa}.img-upload-wrapper .img-label{width:80px;text-align:right;margin-right:20px;font-weight:700}.img-upload-wrapper .img-desc{font-size:12px;margin-top:10px;margin-left:100px}.img-upload-wrapper .button-secondary{margin:0!important}"]}]}],e.ctorParameters=function(){return[{type:je}]},e.propDecorators={label:[{type:d.Input}],isDisabled:[{type:d.Input}],ignoreWidthAndHeightCheck:[{type:d.Input}],isRequired:[{type:d.Input}],btnText:[{type:d.Input}],imgDesc:[{type:d.Input}],imgFormat:[{type:d.Input}],maxSize:[{type:d.Input}],width:[{type:d.Input}],height:[{type:d.Input}],errorMessage:[{type:d.Input}],onImgFileChanged:[{type:d.Output}],onUploadError:[{type:d.Output}],onImgClicked:[{type:d.Output}]},e}(),bo=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.ReactiveFormsModule,nt,h],declarations:[Ao],exports:[Ao]}]}],e}();function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Co(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ko(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Eo(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ko(Object(o),!0).forEach(function(e){var t,n,r;t=i,r=o[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):ko(Object(o)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})}return i}function So(e){return function t(e){if(Array.isArray(e))return Do(e)}(e)||function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function r(e,t){if(!e)return;if("string"==typeof e)return Do(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Do(e,t)}(e)||function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Do(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Io="undefined"!=typeof window&&"undefined"!=typeof window.document,Po=Io?window:{},To=!(!Io||!Po.document.documentElement)&&"ontouchstart"in Po.document.documentElement,_o=!!Io&&"PointerEvent"in Po,No="cropper",Mo="n",Oo="ne",Ro="nw",Lo="se",Bo="sw",jo="".concat(No,"-crop"),Ho="".concat(No,"-disabled"),zo="".concat(No,"-hidden"),Yo="".concat(No,"-hide"),Uo="".concat(No,"-invisible"),Vo="".concat(No,"-modal"),Qo="".concat(No,"-move"),Wo="".concat(No,"Action"),Go="".concat(No,"Preview"),Fo="crop",qo="crop",Zo="cropend",Ko="cropmove",Jo="cropstart",Xo="dblclick",$o=_o?"pointerdown":To?"touchstart":"mousedown",ea=_o?"pointermove":To?"touchmove":"mousemove",ta=_o?"pointerup pointercancel":To?"touchend touchcancel":"mouseup",na="zoom",ra="image/jpeg",ia=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,oa=/^data:/,aa=/^data:image\/jpeg;base64,/,sa=/^img|canvas$/i,ca={viewMode:0,dragMode:Fo,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},la=Number.isNaN||Po.isNaN;function ua(e){return"number"==typeof e&&!la(e)}var pa=function pa(e){return 0<e&&e<Infinity};function da(e){return void 0===e}function ha(e){return"object"===xo(e)&&null!==e}var fa=Object.prototype.hasOwnProperty;function ga(e){if(!ha(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&fa.call(n,"isPrototypeOf")}catch(r){return!1}}function ma(e){return"function"==typeof e}var ya=Array.prototype.slice;function va(e){return Array.from?Array.from(e):ya.call(e)}function Aa(n,r){return n&&ma(r)&&(Array.isArray(n)||ua(n.length)?va(n).forEach(function(e,t){r.call(n,e,t,n)}):ha(n)&&Object.keys(n).forEach(function(e){r.call(n,n[e],e,n)})),n}var ba=Object.assign||function ba(n){for(var e=arguments.length,t=new Array(1<e?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return ha(n)&&0<t.length&&t.forEach(function(t){ha(t)&&Object.keys(t).forEach(function(e){n[e]=t[e]})}),n},wa=/\.\d*(?:0|9){12}\d*$/;function xa(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:1e11;return wa.test(e)?Math.round(e*t)/t:e}var Ca=/^width|height|left|top|marginLeft|marginTop$/;function ka(e,t){var n=e.style;Aa(t,function(e,t){Ca.test(t)&&ua(e)&&(e="".concat(e,"px")),n[t]=e})}function Ea(e,t){if(t)if(ua(e.length))Aa(e,function(e){Ea(e,t)});else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Sa(e,t){t&&(ua(e.length)?Aa(e,function(e){Sa(e,t)}):e.classList?e.classList.remove(t):0<=e.className.indexOf(t)&&(e.className=e.className.replace(t,"")))}function Da(e,t,n){t&&(ua(e.length)?Aa(e,function(e){Da(e,t,n)}):n?Ea(e,t):Sa(e,t))}var Ia=/([a-z\d])([A-Z])/g;function Pa(e,t){return ha(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(function n(e){return e.replace(Ia,"$1-$2").toLowerCase()}(t)))}function Ta(e,t,n){ha(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(t.replace(Ia,"$1-$2").toLowerCase()),n)}var _a=/\s\s*/,Na=function(){var e=!1;if(Io){var t=!1,n=function n(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});Po.addEventListener("test",n,r),Po.removeEventListener("test",n,r)}return e}();function Ma(n,e,r){var i=3<arguments.length&&arguments[3]!==undefined?arguments[3]:{},o=r;e.trim().split(_a).forEach(function(e){if(!Na){var t=n.listeners;t&&t[e]&&t[e][r]&&(o=t[e][r],delete t[e][r],0===Object.keys(t[e]).length&&delete t[e],0===Object.keys(t).length&&delete n.listeners)}n.removeEventListener(e,o,i)})}function Oa(o,e,a){var s=3<arguments.length&&arguments[3]!==undefined?arguments[3]:{},c=a;e.trim().split(_a).forEach(function(r){if(s.once&&!Na){var e=o.listeners,i=void 0===e?{}:e;c=function(){delete i[r][a],o.removeEventListener(r,c,s);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a.apply(o,t)},i[r]||(i[r]={}),i[r][a]&&o.removeEventListener(r,i[r][a],s),i[r][a]=c,o.listeners=i}o.addEventListener(r,c,s)})}function Ra(e,t,n){var r;return ma(Event)&&ma(CustomEvent)?r=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n),e.dispatchEvent(r)}function La(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ba=Po.location,ja=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Ha(e){var t=e.match(ja);return null!==t&&(t[1]!==Ba.protocol||t[2]!==Ba.hostname||t[3]!==Ba.port)}function za(e){var t="timestamp=".concat((new Date).getTime());return e+(-1===e.indexOf("?")?"?":"&")+t}function Ya(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,i=e.translateX,o=e.translateY,a=[];ua(i)&&0!==i&&a.push("translateX(".concat(i,"px)")),ua(o)&&0!==o&&a.push("translateY(".concat(o,"px)")),ua(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),ua(n)&&1!==n&&a.push("scaleX(".concat(n,")")),ua(r)&&1!==r&&a.push("scaleY(".concat(r,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function Ua(e,t){var n=e.pageX,r=e.pageY,i={endX:n,endY:r};return t?i:Eo({startX:n,startY:r},i)}function Va(e){var t=e.aspectRatio,n=e.height,r=e.width,i=1<arguments.length&&arguments[1]!==undefined?arguments[1]:"contain",o=pa(r),a=pa(n);if(o&&a){var s=n*t;"contain"===i&&r<s||"cover"===i&&s<r?n=r/t:r=n*t}else o?n=r/t:a&&(r=n*t);return{width:r,height:n}}var Qa=String.fromCharCode;var Wa=/^data:.*,/;function Ga(e){var t,n=new DataView(e);try{var r,i,o;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var a=n.byteLength,s=2;s+1<a;){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){i=s;break}s+=1}if(i){var c=i+10;if("Exif"===function f(e,t,n){var r="";n+=t;for(var i=t;i<n;i+=1)r+=Qa(e.getUint8(i));return r}(n,i+4,4)){var l=n.getUint16(c);if(((r=18761===l)||19789===l)&&42===n.getUint16(c+2,r)){var u=n.getUint32(c+4,r);8<=u&&(o=c+u)}}}if(o){var p,d,h=n.getUint16(o,r);for(d=0;d<h;d+=1)if(p=o+12*d+2,274===n.getUint16(p,r)){p+=8,t=n.getUint16(p,r),n.setUint16(p,1,r);break}}}catch(g){t=1}return t}var Fa={render:function Fa(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,n=this.container,r=this.cropper;Ea(r,zo),Sa(e,zo);var i={width:Math.max(n.offsetWidth,Number(t.minContainerWidth)||200),height:Math.max(n.offsetHeight,Number(t.minContainerHeight)||100)};ka(r,{width:(this.containerData=i).width,height:i.height}),Ea(e,zo),Sa(r,zo)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,r=Math.abs(t.rotate)%180==90,i=r?t.naturalHeight:t.naturalWidth,o=r?t.naturalWidth:t.naturalHeight,a=i/o,s=e.width,c=e.height;e.height*a>e.width?3===n?s=e.height*a:c=e.width/a:3===n?c=e.width/a:s=e.height*a;var l={aspectRatio:a,naturalWidth:i,naturalHeight:o,width:s,height:c};l.left=(e.width-s)/2,l.top=(e.height-c)/2,l.oldLeft=l.left,l.oldTop=l.top,this.canvasData=l,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=ba({},t),this.initialCanvasData=ba({},l)},limitCanvas:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,o=this.cropBoxData,a=n.viewMode,s=i.aspectRatio,c=this.cropped&&o;if(e){var l=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;1<a?(l=Math.max(l,r.width),u=Math.max(u,r.height),3===a&&(l<u*s?l=u*s:u=l/s)):0<a&&(l?l=Math.max(l,c?o.width:0):u?u=Math.max(u,c?o.height:0):c&&((l=o.width)<(u=o.height)*s?l=u*s:u=l/s));var p=Va({aspectRatio:s,width:l,height:u});l=p.width,u=p.height,i.minWidth=l,i.minHeight=u,i.maxWidth=Infinity,i.maxHeight=Infinity}if(t)if((c?0:1)<a){var d=r.width-i.width,h=r.height-i.height;i.minLeft=Math.min(0,d),i.minTop=Math.min(0,h),i.maxLeft=Math.max(0,d),i.maxTop=Math.max(0,h),c&&this.limited&&(i.minLeft=Math.min(o.left,o.left+(o.width-i.width)),i.minTop=Math.min(o.top,o.top+(o.height-i.height)),i.maxLeft=o.left,i.maxTop=o.top,2===a&&(i.width>=r.width&&(i.minLeft=Math.min(0,d),i.maxLeft=Math.max(0,d)),i.height>=r.height&&(i.minTop=Math.min(0,h),i.maxTop=Math.max(0,h))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=r.width,i.maxTop=r.height},renderCanvas:function(e,t){var n=this.canvasData,r=this.imageData;if(t){var i=function l(e){var t=e.width,n=e.height,r=e.degree;if(90==(r=Math.abs(r)%180))return{width:n,height:t};var i=r%90*Math.PI/180,o=Math.sin(i),a=Math.cos(i),s=t*a+n*o,c=t*o+n*a;return 90<r?{width:c,height:s}:{width:s,height:c}}({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),o=i.width,a=i.height,s=n.width*(o/n.naturalWidth),c=n.height*(a/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(c-n.height)/2,n.width=s,n.height=c,n.aspectRatio=o/a,n.naturalWidth=o,n.naturalHeight=a,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,ka(this.canvas,ba({width:n.width,height:n.height},Ya({translateX:n.left,translateY:n.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,n=this.imageData,r=n.naturalWidth*(t.width/t.naturalWidth),i=n.naturalHeight*(t.height/t.naturalHeight);ba(n,{width:r,height:i,left:(t.width-r)/2,top:(t.height-i)/2}),ka(this.image,ba({width:n.width,height:n.height},Ya(ba({translateX:n.left,translateY:n.top},n)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,n=e.aspectRatio||e.initialAspectRatio,r=Number(e.autoCropArea)||.8,i={width:t.width,height:t.height};n&&(t.height*n>t.width?i.height=i.width/n:i.width=i.height*n),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=t.left+(t.width-i.width)/2,i.top=t.top+(t.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=ba({},i)},limitCropBox:function(e,t){var n=this.options,r=this.containerData,i=this.canvasData,o=this.cropBoxData,a=this.limited,s=n.aspectRatio;if(e){var c=Number(n.minCropBoxWidth)||0,l=Number(n.minCropBoxHeight)||0,u=a?Math.min(r.width,i.width,i.width+i.left,r.width-i.left):r.width,p=a?Math.min(r.height,i.height,i.height+i.top,r.height-i.top):r.height;c=Math.min(c,r.width),l=Math.min(l,r.height),s&&(c&&l?c<l*s?l=c/s:c=l*s:c?l=c/s:l&&(c=l*s),u<p*s?p=u/s:u=p*s),o.minWidth=Math.min(c,u),o.minHeight=Math.min(l,p),o.maxWidth=u,o.maxHeight=p}t&&(a?(o.minLeft=Math.max(0,i.left),o.minTop=Math.max(0,i.top),o.maxLeft=Math.min(r.width,i.left+i.width)-o.width,o.maxTop=Math.min(r.height,i.top+i.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=r.width-o.width,o.maxTop=r.height-o.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,e.movable&&e.cropBoxMovable&&Ta(this.face,Wo,n.width>=t.width&&n.height>=t.height?"move":"all"),ka(this.cropBox,ba({width:n.width,height:n.height},Ya({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Ra(this.element,qo,this.getData())}},qa={initPreview:function(){var e=this.element,n=this.crossOrigin,t=this.options.preview,r=n?this.crossOriginUrl:this.url,i=e.alt||"The image to preview",o=document.createElement("img");if(n&&(o.crossOrigin=n),o.src=r,o.alt=i,this.viewBox.appendChild(o),this.viewBoxImage=o,t){var a=t;"string"==typeof t?a=e.ownerDocument.querySelectorAll(t):t.querySelector&&(a=[t]),Aa(this.previews=a,function(e){var t=document.createElement("img");Ta(e,Go,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),n&&(t.crossOrigin=n),t.src=r,t.alt=i,t.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(t)})}},resetPreview:function(){Aa(this.previews,function(e){var t=Pa(e,Go);ka(e,{width:t.width,height:t.height}),e.innerHTML=t.html,function r(e,t){if(ha(e[t]))try{delete e[t]}catch(n){e[t]=undefined}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=undefined}else e.removeAttribute("data-".concat(t.replace(Ia,"$1-$2").toLowerCase()))}(e,Go)})},preview:function qa(){var s=this.imageData,e=this.canvasData,t=this.cropBoxData,c=t.width,l=t.height,u=s.width,p=s.height,d=t.left-e.left-s.left,h=t.top-e.top-s.top;this.cropped&&!this.disabled&&(ka(this.viewBoxImage,ba({width:u,height:p},Ya(ba({translateX:-d,translateY:-h},s)))),Aa(this.previews,function(e){var t=Pa(e,Go),n=t.width,r=t.height,i=n,o=r,a=1;c&&(o=l*(a=n/c)),l&&r<o&&(i=c*(a=r/l),o=r),ka(e,{width:i,height:o}),ka(e.getElementsByTagName("img")[0],ba({width:u*a,height:p*a},Ya(ba({translateX:-d*a,translateY:-h*a},s))))}))}},Za={bind:function(){var e=this.element,t=this.options,n=this.cropper;ma(t.cropstart)&&Oa(e,Jo,t.cropstart),ma(t.cropmove)&&Oa(e,Ko,t.cropmove),ma(t.cropend)&&Oa(e,Zo,t.cropend),ma(t.crop)&&Oa(e,qo,t.crop),ma(t.zoom)&&Oa(e,na,t.zoom),Oa(n,$o,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&Oa(n,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Oa(n,Xo,this.onDblclick=this.dblclick.bind(this)),Oa(e.ownerDocument,ea,this.onCropMove=this.cropMove.bind(this)),Oa(e.ownerDocument,ta,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&Oa(window,"resize",this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;ma(t.cropstart)&&Ma(e,Jo,t.cropstart),ma(t.cropmove)&&Ma(e,Ko,t.cropmove),ma(t.cropend)&&Ma(e,Zo,t.cropend),ma(t.crop)&&Ma(e,qo,t.crop),ma(t.zoom)&&Ma(e,na,t.zoom),Ma(n,$o,this.onCropStart),t.zoomable&&t.zoomOnWheel&&Ma(n,"wheel",this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Ma(n,Xo,this.onDblclick),Ma(e.ownerDocument,ea,this.onCropMove),Ma(e.ownerDocument,ta,this.onCropEnd),t.responsive&&Ma(window,"resize",this.onResize)}},Ka={resize:function(){if(!this.disabled){var n,r,e=this.options,t=this.container,i=this.containerData,o=t.offsetWidth/i.width;if(1!==o||t.offsetHeight!==i.height)e.restore&&(n=this.getCanvasData(),r=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(Aa(n,function(e,t){n[t]=e*o})),this.setCropBoxData(Aa(r,function(e,t){r[t]=e*o})))}},dblclick:function(){this.disabled||"none"===this.options.dragMode||this.setDragMode(function n(e,t){return e.classList?e.classList.contains(t):-1<e.className.indexOf(t)}(this.dragBox,jo)?"move":Fo)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?r=0<e.deltaY?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=0<e.detail?1:-1),this.zoom(-r*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(ua(t)&&1!==t||ua(n)&&0!==n||e.ctrlKey))){var r,i=this.options,o=this.pointers;e.changedTouches?Aa(e.changedTouches,function(e){o[e.identifier]=Ua(e)}):o[e.pointerId||0]=Ua(e),r=1<Object.keys(o).length&&i.zoomable&&i.zoomOnTouch?"zoom":Pa(e.target,Wo),ia.test(r)&&!1!==Ra(this.element,Jo,{originalEvent:e,action:r})&&(e.preventDefault(),this.action=r,this.cropping=!1,"crop"===r&&(this.cropping=!0,Ea(this.dragBox,Vo)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==Ra(this.element,Ko,{originalEvent:e,action:t})&&(e.changedTouches?Aa(e.changedTouches,function(e){ba(n[e.identifier]||{},Ua(e,!0))}):ba(n[e.pointerId||0]||{},Ua(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?Aa(e.changedTouches,function(e){delete n[e.identifier]}):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Da(this.dragBox,Vo,this.cropped&&this.options.modal)),Ra(this.element,Zo,{originalEvent:e,action:t}))}}},Ja={change:function Ja(e){var t,n=this.options,r=this.canvasData,i=this.containerData,o=this.cropBoxData,a=this.pointers,s=this.action,c=n.aspectRatio,l=o.left,u=o.top,p=o.width,d=o.height,h=l+p,f=u+d,g=0,m=0,y=i.width,v=i.height,A=!0;!c&&e.shiftKey&&(c=p&&d?p/d:1),this.limited&&(g=o.minLeft,m=o.minTop,y=g+Math.min(i.width,r.width,r.left+r.width),v=m+Math.min(i.height,r.height,r.top+r.height));var b=a[Object.keys(a)[0]],w={x:b.endX-b.startX,y:b.endY-b.startY},x=function x(e){switch(e){case"e":h+w.x>y&&(w.x=y-h);break;case"w":l+w.x<g&&(w.x=g-l);break;case Mo:u+w.y<m&&(w.y=m-u);break;case"s":f+w.y>v&&(w.y=v-f)}};switch(s){case"all":l+=w.x,u+=w.y;break;case"e":if(0<=w.x&&(y<=h||c&&(u<=m||v<=f))){A=!1;break}x("e"),(p+=w.x)<0&&(s="w",l-=p=-p),c&&(d=p/c,u+=(o.height-d)/2);break;case Mo:if(w.y<=0&&(u<=m||c&&(l<=g||y<=h))){A=!1;break}x(Mo),d-=w.y,u+=w.y,d<0&&(s="s",u-=d=-d),c&&(p=d*c,l+=(o.width-p)/2);break;case"w":if(w.x<=0&&(l<=g||c&&(u<=m||v<=f))){A=!1;break}x("w"),p-=w.x,l+=w.x,p<0&&(s="e",l-=p=-p),c&&(d=p/c,u+=(o.height-d)/2);break;case"s":if(0<=w.y&&(v<=f||c&&(l<=g||y<=h))){A=!1;break}x("s"),(d+=w.y)<0&&(s=Mo,u-=d=-d),c&&(p=d*c,l+=(o.width-p)/2);break;case Oo:if(c){if(w.y<=0&&(u<=m||y<=h)){A=!1;break}x(Mo),d-=w.y,u+=w.y,p=d*c}else x(Mo),x("e"),0<=w.x?h<y?p+=w.x:w.y<=0&&u<=m&&(A=!1):p+=w.x,w.y<=0?m<u&&(d-=w.y,u+=w.y):(d-=w.y,u+=w.y);p<0&&d<0?(s=Bo,u-=d=-d,l-=p=-p):p<0?(s=Ro,l-=p=-p):d<0&&(s=Lo,u-=d=-d);break;case Ro:if(c){if(w.y<=0&&(u<=m||l<=g)){A=!1;break}x(Mo),d-=w.y,u+=w.y,p=d*c,l+=o.width-p}else x(Mo),x("w"),w.x<=0?g<l?(p-=w.x,l+=w.x):w.y<=0&&u<=m&&(A=!1):(p-=w.x,l+=w.x),w.y<=0?m<u&&(d-=w.y,u+=w.y):(d-=w.y,u+=w.y);p<0&&d<0?(s=Lo,u-=d=-d,l-=p=-p):p<0?(s=Oo,l-=p=-p):d<0&&(s=Bo,u-=d=-d);break;case Bo:if(c){if(w.x<=0&&(l<=g||v<=f)){A=!1;break}x("w"),p-=w.x,l+=w.x,d=p/c}else x("s"),x("w"),w.x<=0?g<l?(p-=w.x,l+=w.x):0<=w.y&&v<=f&&(A=!1):(p-=w.x,l+=w.x),0<=w.y?f<v&&(d+=w.y):d+=w.y;p<0&&d<0?(s=Oo,u-=d=-d,l-=p=-p):p<0?(s=Lo,l-=p=-p):d<0&&(s=Ro,u-=d=-d);break;case Lo:if(c){if(0<=w.x&&(y<=h||v<=f)){A=!1;break}x("e"),d=(p+=w.x)/c}else x("s"),x("e"),0<=w.x?h<y?p+=w.x:0<=w.y&&v<=f&&(A=!1):p+=w.x,0<=w.y?f<v&&(d+=w.y):d+=w.y;p<0&&d<0?(s=Ro,u-=d=-d,l-=p=-p):p<0?(s=Bo,l-=p=-p):d<0&&(s=Oo,u-=d=-d);break;case"move":this.move(w.x,w.y),A=!1;break;case"zoom":this.zoom(function C(e){var t=Eo({},e),c=[];return Aa(e,function(s,e){delete t[e],Aa(t,function(e){var t=Math.abs(s.startX-e.startX),n=Math.abs(s.startY-e.startY),r=Math.abs(s.endX-e.endX),i=Math.abs(s.endY-e.endY),o=Math.sqrt(t*t+n*n),a=(Math.sqrt(r*r+i*i)-o)/o;c.push(a)})}),c.sort(function(e,t){return Math.abs(e)<Math.abs(t)}),c[0]}(a),e),A=!1;break;case"crop":if(!w.x||!w.y){A=!1;break}t=La(this.cropper),l=b.startX-t.left,u=b.startY-t.top,p=o.minWidth,d=o.minHeight,0<w.x?s=0<w.y?Lo:Oo:w.x<0&&(l-=p,s=0<w.y?Bo:Ro),w.y<0&&(u-=d),this.cropped||(Sa(this.cropBox,zo),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}A&&(o.width=p,o.height=d,o.left=l,o.top=u,this.action=s,this.renderCropBox()),Aa(a,function(e){e.startX=e.endX,e.startY=e.endY})}},Xa={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Ea(this.dragBox,Vo),Sa(this.cropBox,zo),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=ba({},this.initialImageData),this.canvasData=ba({},this.initialCanvasData),this.cropBoxData=ba({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(ba(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Sa(this.dragBox,Vo),Ea(this.cropBox,zo)),this},replace:function(t){var e=1<arguments.length&&arguments[1]!==undefined&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,Aa(this.previews,function(e){e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Sa(this.cropper,Ho)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Ea(this.cropper,Ho)),this},destroy:function(){var e=this.element;return e[No]&&(e[No]=undefined,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate()),this},move:function(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:e,n=this.canvasData,r=n.left,i=n.top;return this.moveTo(da(e)?e:r+Number(e),da(t)?t:i+Number(t))},moveTo:function(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:e,n=this.canvasData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(ua(e)&&(n.left=e,r=!0),ua(t)&&(n.top=t,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var r=this.options,i=this.canvasData,o=i.width,a=i.height,s=i.naturalWidth,c=i.naturalHeight;if(0<=(e=Number(e))&&this.ready&&!this.disabled&&r.zoomable){var l=s*e,u=c*e;if(!1===Ra(this.element,na,{ratio:e,oldRatio:o/s,originalEvent:n}))return this;if(n){var p=this.pointers,d=La(this.cropper),h=p&&Object.keys(p).length?function f(e){var r=0,i=0,o=0;return Aa(e,function(e){var t=e.startX,n=e.startY;r+=t,i+=n,o+=1}),{pageX:r/=o,pageY:i/=o}}(p):{pageX:n.pageX,pageY:n.pageY};i.left-=(l-o)*((h.pageX-d.left-i.left)/o),i.top-=(u-a)*((h.pageY-d.top-i.top)/a)}else ga(t)&&ua(t.x)&&ua(t.y)?(i.left-=(l-o)*((t.x-i.left)/o),i.top-=(u-a)*((t.y-i.top)/a)):(i.left-=(l-o)/2,i.top-=(u-a)/2);i.width=l,i.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return ua(e=Number(e))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,ua(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(ua(t)?t:1,e)},scale:function(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:e,n=this.imageData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(ua(e)&&(n.scaleX=e,r=!0),ua(t)&&(n.scaleY=t,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function Pa(){var n,e=0<arguments.length&&arguments[0]!==undefined&&arguments[0],t=this.options,r=this.imageData,i=this.canvasData,o=this.cropBoxData;if(this.ready&&this.cropped){n={x:o.left-i.left,y:o.top-i.top,width:o.width,height:o.height};var a=r.width/r.naturalWidth;if(Aa(n,function(e,t){n[t]=e/a}),e){var s=Math.round(n.y+n.height),c=Math.round(n.x+n.width);n.x=Math.round(n.x),n.y=Math.round(n.y),n.width=c-n.x,n.height=s-n.y}}else n={x:0,y:0,width:0,height:0};return t.rotatable&&(n.rotate=r.rotate||0),t.scalable&&(n.scaleX=r.scaleX||1,n.scaleY=r.scaleY||1),n},setData:function Ta(e){var t=this.options,n=this.imageData,r=this.canvasData,i={};if(this.ready&&!this.disabled&&ga(e)){var o=!1;t.rotatable&&ua(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,o=!0),t.scalable&&(ua(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,o=!0),ua(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var a=n.width/n.naturalWidth;ua(e.x)&&(i.left=e.x*a+r.left),ua(e.y)&&(i.top=e.y*a+r.top),ua(e.width)&&(i.width=e.width*a),ua(e.height)&&(i.height=e.height*a),this.setCropBoxData(i)}return this},getContainerData:function(){return this.ready?ba({},this.containerData):{}},getImageData:function(){return this.sized?ba({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,n={};return this.ready&&Aa(["left","top","width","height","naturalWidth","naturalHeight"],function(e){n[e]=t[e]}),n},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&ga(e)&&(ua(e.left)&&(t.left=e.left),ua(e.top)&&(t.top=e.top),ua(e.width)?(t.width=e.width,t.height=e.width/n):ua(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,r=this.cropBoxData,i=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&ga(e)&&(ua(e.left)&&(r.left=e.left),ua(e.top)&&(r.top=e.top),ua(e.width)&&e.width!==r.width&&(t=!0,r.width=e.width),ua(e.height)&&e.height!==r.height&&(n=!0,r.height=e.height),i&&(t?r.height=r.width/i:n&&(r.width=r.height*i)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=0<arguments.length&&arguments[0]!==undefined?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=function Y(e,t,n,r){var i=t.aspectRatio,o=t.naturalWidth,a=t.naturalHeight,s=t.rotate,c=void 0===s?0:s,l=t.scaleX,u=void 0===l?1:l,p=t.scaleY,d=void 0===p?1:p,h=n.aspectRatio,f=n.naturalWidth,g=n.naturalHeight,m=r.fillColor,y=void 0===m?"transparent":m,v=r.imageSmoothingEnabled,A=void 0===v||v,b=r.imageSmoothingQuality,w=void 0===b?"low":b,x=r.maxWidth,C=void 0===x?Infinity:x,k=r.maxHeight,E=void 0===k?Infinity:k,S=r.minWidth,D=void 0===S?0:S,I=r.minHeight,P=void 0===I?0:I,T=document.createElement("canvas"),_=T.getContext("2d"),N=Va({aspectRatio:h,width:C,height:E}),M=Va({aspectRatio:h,width:D,height:P},"cover"),O=Math.min(N.width,Math.max(M.width,f)),R=Math.min(N.height,Math.max(M.height,g)),L=Va({aspectRatio:i,width:C,height:E}),B=Va({aspectRatio:i,width:D,height:P},"cover"),j=Math.min(L.width,Math.max(B.width,o)),H=Math.min(L.height,Math.max(B.height,a)),z=[-j/2,-H/2,j,H];return T.width=xa(O),T.height=xa(R),_.fillStyle=y,_.fillRect(0,0,O,R),_.save(),_.translate(O/2,R/2),_.rotate(c*Math.PI/180),_.scale(u,d),_.imageSmoothingEnabled=A,_.imageSmoothingQuality=w,_.drawImage.apply(_,[e].concat(So(z.map(function(e){return Math.floor(xa(e))})))),_.restore(),T}(this.image,this.imageData,t,e);if(!this.cropped)return n;var r=this.getData(),i=r.x,o=r.y,a=r.width,s=r.height,c=n.width/Math.floor(t.naturalWidth);1!==c&&(i*=c,o*=c,a*=c,s*=c);var l=a/s,u=Va({aspectRatio:l,width:e.maxWidth||Infinity,height:e.maxHeight||Infinity}),p=Va({aspectRatio:l,width:e.minWidth||0,height:e.minHeight||0},"cover"),d=Va({aspectRatio:l,width:e.width||(1!==c?n.width:a),height:e.height||(1!==c?n.height:s)}),h=d.width,f=d.height;h=Math.min(u.width,Math.max(p.width,h)),f=Math.min(u.height,Math.max(p.height,f));var g=document.createElement("canvas"),m=g.getContext("2d");g.width=xa(h),g.height=xa(f),m.fillStyle=e.fillColor||"transparent",m.fillRect(0,0,h,f);var y=e.imageSmoothingEnabled,v=void 0===y||y,A=e.imageSmoothingQuality;m.imageSmoothingEnabled=v,A&&(m.imageSmoothingQuality=A);var b,w,x,C,k,E,S=n.width,D=n.height,I=i,P=o;I<=-a||S<I?k=x=b=I=0:I<=0?(x=-I,I=0,k=b=Math.min(S,a+I)):I<=S&&(x=0,k=b=Math.min(a,S-I)),b<=0||P<=-s||D<P?E=C=w=P=0:P<=0?(C=-P,P=0,E=w=Math.min(D,s+P)):P<=D&&(C=0,E=w=Math.min(s,D-P));var T=[I,P,b,w];if(0<k&&0<E){var _=h/a;T.push(x*_,C*_,k*_,E*_)}return m.drawImage.apply(m,[n].concat(So(T.map(function(e){return Math.floor(xa(e))})))),g},setAspectRatio:function(e){var t=this.options;return this.disabled||da(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var i=e===Fo,o=t.movable&&"move"===e;e=i||o?e:"none",t.dragMode=e,Ta(n,Wo,e),Da(n,jo,i),Da(n,Qo,o),t.cropBoxMovable||(Ta(r,Wo,e),Da(r,jo,i),Da(r,Qo,o))}return this}},$a=Po.Cropper,es=function(){function r(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:{};if(function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),!e||!sa.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=ba({},ca,ga(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return function i(e,t,n){return t&&Co(e.prototype,t),n&&Co(e,n),e}(r,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[No]){if(t[No]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",!(this.originalUrl=e))return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,r=this.options;if(r.rotatable||r.scalable||(r.checkOrientation=!1),r.checkOrientation&&window.ArrayBuffer)if(oa.test(e))aa.test(e)?this.read(function a(e){var t=e.replace(Wa,""),n=atob(t),r=new ArrayBuffer(n.length),i=new Uint8Array(r);return Aa(i,function(e,t){i[t]=n.charCodeAt(t)}),r}(e)):this.clone();else{var i=new XMLHttpRequest,o=this.clone.bind(this);this.reloading=!0,(this.xhr=i).onabort=o,i.onerror=o,i.ontimeout=o,i.onprogress=function(){i.getResponseHeader("content-type")!==ra&&i.abort()},i.onload=function(){t.read(i.response)},i.onloadend=function(){t.reloading=!1,t.xhr=null},r.checkCrossOrigin&&Ha(e)&&n.crossOrigin&&(e=za(e)),i.open("GET",e),i.responseType="arraybuffer",i.withCredentials="use-credentials"===n.crossOrigin,i.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,r=Ga(e),i=0,o=1,a=1;if(1<r){this.url=function c(e,t){for(var n=[],r=new Uint8Array(e);0<r.length;)n.push(Qa.apply(null,va(r.subarray(0,8192)))),r=r.subarray(8192);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}(e,ra);var s=function l(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90}return{rotate:t,scaleX:n,scaleY:r}}(r);i=s.rotate,o=s.scaleX,a=s.scaleY}t.rotatable&&(n.rotate=i),t.scalable&&(n.scaleX=o,n.scaleY=a),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,n=e.crossOrigin,r=t;this.options.checkCrossOrigin&&Ha(t)&&(n||(n="anonymous"),r=za(t)),this.crossOrigin=n,this.crossOriginUrl=r;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=r||t,i.alt=e.alt||"The image to crop",(this.image=i).onload=this.start.bind(this),i.onerror=this.stop.bind(this),Ea(i,Yo),e.parentNode.insertBefore(i,e.nextSibling)}},{key:"start",value:function(){var n=this,e=this.image;e.onload=null,e.onerror=null,this.sizing=!0;var t=Po.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Po.navigator.userAgent),r=function r(e,t){ba(n.imageData,{naturalWidth:e,naturalHeight:t,aspectRatio:e/t}),n.sizing=!1,n.sized=!0,n.build()};if(!e.naturalWidth||t){var i=document.createElement("img"),o=document.body||document.documentElement;(this.sizingImage=i).onload=function(){r(i.width,i.height),t||o.removeChild(i)},i.src=e.src,t||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(i))}else r(e.naturalWidth,e.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,r=e.parentNode,i=document.createElement("div");i.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var o=i.querySelector(".".concat(No,"-container")),a=o.querySelector(".".concat(No,"-canvas")),s=o.querySelector(".".concat(No,"-drag-box")),c=o.querySelector(".".concat(No,"-crop-box")),l=c.querySelector(".".concat(No,"-face"));this.container=r,this.cropper=o,this.canvas=a,this.dragBox=s,this.cropBox=c,this.viewBox=o.querySelector(".".concat(No,"-view-box")),this.face=l,a.appendChild(n),Ea(e,zo),r.insertBefore(o,e.nextSibling),this.isImg||Sa(n,Yo),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Ea(c,zo),t.guides||Ea(c.getElementsByClassName("".concat(No,"-dashed")),zo),t.center||Ea(c.getElementsByClassName("".concat(No,"-center")),zo),t.background&&Ea(o,"".concat(No,"-bg")),t.highlight||Ea(l,Uo),t.cropBoxMovable&&(Ea(l,Qo),Ta(l,Wo,"all")),t.cropBoxResizable||(Ea(c.getElementsByClassName("".concat(No,"-line")),zo),Ea(c.getElementsByClassName("".concat(No,"-point")),zo)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),ma(t.ready)&&Oa(e,"ready",t.ready,{once:!0}),Ra(e,"ready")}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),Sa(this.element,zo))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=$a,r}},{key:"setDefaults",value:function(e){ba(ca,ga(e)&&e)}}]),r}();ba(es.prototype,Fa,qa,Za,Ka,Ja,Xa);var ts=function(){function e(){this.cropperOptions={},this["export"]=new d.EventEmitter,this.ready=new d.EventEmitter,this.isLoading=!0}return e.prototype.ngOnInit=function(){},e.prototype.imageLoaded=function(e){var t=this;this.loadError=!1;var n=e.target;this.imageElement=n,this.cropperOptions.checkCrossOrigin&&(n.crossOrigin="anonymous"),n.addEventListener("ready",function(){t.ready.emit(!0),t.isLoading=!1,t.cropbox&&t.cropper.setCropBoxData(t.cropbox)}),this.cropperOptions=Object.assign({checkCrossOrigin:!0},this.cropperOptions),this.cropper&&(this.cropper.destroy(),this.cropper=undefined),this.cropper=new es(n,this.cropperOptions)},e.prototype.imageLoadError=function(e){this.loadError=!0,this.isLoading=!1},e.prototype.exportCanvas=function(e,t){var n=this,r=this.cropper.getImageData(),i=this.cropper.getCropBoxData(),o=this.cropper.getCroppedCanvas(t),a={imageData:r,cropData:i,blob:null};new Promise(function(t){e&&o.toBlob(function(e){return t({blob:e,dataUrl:o.toDataURL("image/png")})}),o.toBlob(function(e){return t({blob:e})})}).then(function(e){n["export"].emit(Object.assign(a,e))})},e.decorators=[{type:d.Component,args:[{selector:"np-cropper",template:'\x3c!-- CROPPER WRAPPER --\x3e\r\n<div class="cropper-wrapper">\r\n\r\n  \x3c!-- LOADING --\x3e\r\n  <div class="loading-block" *ngIf="isLoading">\r\n    <div class="spinner"></div>\r\n  </div>\r\n\r\n  \x3c!-- LOAD ERROR --\x3e\r\n  <div class="alert alert-warning" *ngIf="loadError">{{ loadImageErrorText }}</div>\r\n\r\n  \x3c!-- CROPPER --\x3e\r\n  <div class="cropper">\r\n    <img #image alt="image" [src]="imageUrl" (load)="imageLoaded($event)" (error)="imageLoadError($event)" />\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[":host{display:block}.cropper img{max-width:100%;max-height:100%;height:auto}.cropper-wrapper{position:relative;min-height:80px}.cropper-wrapper .loading-block{position:absolute;top:0;left:0;width:100%;height:100%}.cropper-wrapper .loading-block .spinner{width:31px;height:31px;margin:0 auto;border:2px solid rgba(97,100,193,.98);border-radius:50%;border-left-color:transparent;border-right-color:transparent;-webkit-animation:425ms linear infinite cssload-spin;position:absolute;top:calc(50% - 15px);left:calc(50% - 15px);animation:425ms linear infinite cssload-spin}@-webkit-keyframes cssload-spin{to{transform:rotate(360deg)}}@keyframes cssload-spin{to{transform:rotate(360deg)}}/*!\r\n * Cropper.js v1.5.7\r\n * https://fengyuanchen.github.io/cropperjs\r\n *\r\n * Copyright 2015-present Chen Fengyuan\r\n * Released under the MIT license\r\n *\r\n * Date: 2020-05-23T05:22:57.283Z\r\n */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:rgba(51,153,255,.75) solid 1px;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center::after,.cropper-center::before{background-color:#eee;content:' ';display:block;position:absolute}.cropper-center::before{height:1px;left:-3px;top:0;width:7px}.cropper-center::after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se::before{background-color:#39f;bottom:-50%;content:' ';display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={image:[{type:d.ViewChild,args:["image"]}],imageUrl:[{type:d.Input}],cropbox:[{type:d.Input}],loadImageErrorText:[{type:d.Input}],cropperOptions:[{type:d.Input}],"export":[{type:d.Output}],ready:[{type:d.Output}]},e}(),ns=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],declarations:[ts],exports:[ts]}]}],e}(),rs=w(function(bo,e){bo.exports=function(){var t,i;function p(){return t.apply(null,arguments)}function l(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function o(e){return void 0===e}function h(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function g(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Nt(e,t,n,r,!0).utc()}function y(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function v(e){if(null==e._isValid){var t=y(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&t.bigHour===undefined),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function r(e){var t=m(NaN);return null!=e?g(y(t),e):y(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var s=p.momentProperties=[],n=!1;function A(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=y(t)),o(t._locale)||(e._locale=t._locale),0<s.length)for(n=0;n<s.length;n++)r=s[n],o(i=t[r])||(e[r]=i);return e}function b(e){A(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===n&&(n=!0,p.updateOffset(this),n=!1)}function w(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function x(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var a=!0;return g(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),a){var e,t,n,r=[];for(t=0;t<arguments.length;t++){if(e="","object"==typeof arguments[t]){for(n in e+="\n["+t+"] ",arguments[0])d(arguments[0],n)&&(e+=n+": "+arguments[0][n]+", ");e=e.slice(0,-2)}else e=arguments[t];r.push(e)}x(i+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var C,k={};function E(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),k[e]||(x(t),k[e]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var n,r=g({},e);for(n in t)d(t,n)&&(u(e[n])&&u(t[n])?(r[n]={},g(r[n],e[n]),g(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&u(e[n])&&(r[n]=g({},r[n]));return r}function I(e){null!=e&&this.set(e)}function P(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=0<=e;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,_=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},M={};function O(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(M[e]=i),t&&(M[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),n&&(M[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function L(e,t){return e.isValid()?(t=B(t,e.localeData()),N[t]=N[t]||function n(r){var e,i,o=r.match(T);for(e=0,i=o.length;e<i;e++)M[o[e]]?o[e]=M[o[e]]:o[e]=R(o[e]);return function(e){var t,n="";for(t=0;t<i;t++)n+=S(o[t])?o[t].call(e,r):o[t];return n}}(t),N[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(_.lastIndex=0;0<=n&&_.test(e);)e=e.replace(_,r),_.lastIndex=0,n-=1;return e}var j={};function H(e,t){var n=e.toLowerCase();j[n]=j[n+"s"]=j[t]=e}function z(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:undefined}function Y(e){var t,n,r={};for(n in e)d(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}var U={};function V(e,t){U[e]=t}function Q(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function F(t,n){return function(e){return null!=e?(Z(this,t,e),p.updateOffset(this,n),this):q(this,t)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Q(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Te(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,J=/\d/,X=/\d\d/,$=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ce=/\d+/,le=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,pe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,n,r){K[e]=S(n)?n:function(e,t){return e&&r?r:n}}function fe(e,t){return d(K,e)?K[e](t._strict,t._locale):new RegExp(function n(e){return ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}(e))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var me={};function ye(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),h(n)&&(r=function(e,t){t[n]=G(e)}),t=0;t<e.length;t++)me[e[t]]=r}function ve(e,i){ye(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}function Ae(e,t,n){null!=t&&d(me,e)&&me[e](t,n._a,n,e)}var be,we=0,xe=1,Ce=2,ke=3,Ee=4,Se=5,De=6,Ie=7,Pe=8;function Te(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function r(e,t){return(e%t+t)%t}(t,12);return e+=(t-n)/12,1===n?Q(e)?29:28:31-n%7%2}be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),H("month","M"),V("month",8),he("M",ne),he("MM",ne,X),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[xe]=G(e)-1}),ye(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[xe]=i:y(n).invalidMonth=e});var _e="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Me=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=de,Re=de;function Le(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,a))?i:null:-1!==(i=be.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,a))?i:-1!==(i=be.call(this._longMonthsParse,a))?i:null:-1!==(i=be.call(this._longMonthsParse,a))?i:-1!==(i=be.call(this._shortMonthsParse,a))?i:null}function Be(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!h(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function je(e){return null!=e?(Be(this,e),p.updateOffset(this,!0),this):q(this,"Month")}function He(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),i[t]=ge(i[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ze(e){return Q(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?P(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),H("year","y"),V("year",1),he("Y",le),he("YY",ne,X),he("YYYY",ae,ee),he("YYYYY",se,te),he("YYYYYY",se,te),ye(["YYYYY","YYYYYY"],we),ye("YYYY",function(e,t){t[we]=2===e.length?p.parseTwoDigitYear(e):G(e)}),ye("YY",function(e,t){t[we]=p.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[we]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return G(e)+(68<G(e)?1900:2e3)};var Ye=F("FullYear",!0);function Ue(e){var t,n;return e<100&&0<=e?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){var r=7+t-n,i=(7+Ue(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Qe(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=Ve(e,r,i),l=1+7*(t-1)+s+c;return a=l<=0?ze(o=e-1)+l:l>ze(e)?(o=e+1,l-ze(e)):(o=e,l),{year:o,dayOfYear:a}}function We(e,t,n){var r,i,o=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ge(i,t,n)):a>Ge(e.year(),t,n)?(r=a-Ge(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ge(e,t,n){var r=Ve(e,t,n),i=Ve(e+1,t,n);return(ze(e)-r+i)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),V("week",5),V("isoWeek",5),he("w",ne),he("ww",ne,X),he("W",ne),he("WW",ne,X),ve(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=G(e)}),O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),he("d",ne),he("e",ne),he("E",ne),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ve(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e}),ve(["d","e","E"],function(e,t,n,r){t[r]=G(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=de,Xe=de,$e=de;function et(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=be.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,a))?i:-1!==(i=be.call(this._shortWeekdaysParse,a))?i:-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,a))?i:-1!==(i=be.call(this._weekdaysParse,a))?i:-1!==(i=be.call(this._minWeekdaysParse,a))?i:null:-1!==(i=be.call(this._minWeekdaysParse,a))?i:-1!==(i=be.call(this._weekdaysParse,a))?i:-1!==(i=be.call(this._shortWeekdaysParse,a))?i:null}function tt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),i=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),a.push(r),s.push(i),c.push(o),l.push(r),l.push(i),l.push(o);a.sort(e),s.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function nt(){return this.hours()%12||12}function rt(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function it(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,nt),O("k",["kk",2],0,function ir(){return this.hours()||24}),O("hmm",0,0,function(){return""+nt.apply(this)+P(this.minutes(),2)}),O("hmmss",0,0,function(){return""+nt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),rt("a",!0),rt("A",!1),H("hour","h"),V("hour",13),he("a",it),he("A",it),he("H",ne),he("h",ne),he("k",ne),he("HH",ne,X),he("hh",ne,X),he("kk",ne,X),he("hmm",re),he("hmmss",ie),he("Hmm",re),he("Hmmss",ie),ye(["H","HH"],ke),ye(["k","kk"],function(e,t,n){var r=G(e);t[ke]=24===r?0:r}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[ke]=G(e),y(n).bigHour=!0}),ye("hmm",function(e,t,n){var r=e.length-2;t[ke]=G(e.substr(0,r)),t[Ee]=G(e.substr(r)),y(n).bigHour=!0}),ye("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ke]=G(e.substr(0,r)),t[Ee]=G(e.substr(r,2)),t[Se]=G(e.substr(i)),y(n).bigHour=!0}),ye("Hmm",function(e,t,n){var r=e.length-2;t[ke]=G(e.substr(0,r)),t[Ee]=G(e.substr(r))}),ye("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ke]=G(e.substr(0,r)),t[Ee]=G(e.substr(r,2)),t[Se]=G(e.substr(i))});var ot,at=F("Hours",!0),st={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_e,monthsShort:Ne,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:Ke,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},ct={},lt={};function ut(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function pt(e){return e?e.toLowerCase().replace("_","-"):e}function dt(e){var t=null;if(ct[e]===undefined&&bo&&bo.exports)try{t=ot._abbr,wo(),ht(t)}catch(n){ct[e]=null}return ct[e]}function ht(e,t){var n;return e&&((n=o(t)?gt(e):ft(e,t))?ot=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function ft(e,t){if(null===t)return delete ct[e],null;var n,r=st;if(t.abbr=e,null!=ct[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ct[e]._config;else if(null!=t.parentLocale)if(null!=ct[t.parentLocale])r=ct[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return lt[t.parentLocale]||(lt[t.parentLocale]=[]),lt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ct[e]=new I(D(r,t)),lt[e]&&lt[e].forEach(function(e){ft(e.name,e.config)}),ht(e),ct[e]}function gt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ot;if(!l(e)){if(t=dt(e))return t;e=[e]}return function a(e){for(var t,n,r,i,o=0;o<e.length;){for(i=pt(e[o]).split("-"),t=i.length,n=(n=pt(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&ut(i,n)>=t-1)break;t--}o++}return ot}(e)}function mt(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[xe]<0||11<n[xe]?xe:n[Ce]<1||n[Ce]>Te(n[we],n[xe])?Ce:n[ke]<0||24<n[ke]||24===n[ke]&&(0!==n[Ee]||0!==n[Se]||0!==n[De])?ke:n[Ee]<0||59<n[Ee]?Ee:n[Se]<0||59<n[Se]?Se:n[De]<0||999<n[De]?De:-1,y(e)._overflowDayOfYear&&(t<we||Ce<t)&&(t=Ce),y(e)._overflowWeeks&&-1===t&&(t=Ie),y(e)._overflowWeekday&&-1===t&&(t=Pe),y(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,At=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,r,i,o,a,s=e._i,c=yt.exec(s)||vt.exec(s);if(c){for(y(e).iso=!0,t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(c[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(c[3])){o=(c[2]||" ")+wt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!At.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Tt(e)}else e._isValid=!1}function St(e,t,n,r,i,o){var a=[function s(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}(e),Ne.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Dt(e){var t,n=Ct.exec(function r(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(n){if(t=St(n[4],n[3],n[2],n[5],n[6],n[7]),!function o(e,t,n){if(e){var r=Ze.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return y(n).weekdayMismatch=!0,n._isValid=!1}return!0}(n[1],t,e))return;e._a=t,e._tzm=function a(e,t,n){if(e)return kt[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}(n[8],n[9],n[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function It(e,t,n){return null!=e?e:null!=t?t:n}function Pt(e){var t,n,r,i,o,a=[];if(!e._d){for(r=function s(e){var t=new Date(p.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Ce]&&null==e._a[xe]&&function u(e){var t,n,r,i,o,a,s,c,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=It(t.GG,e._a[we],We(Mt(),1,4).year),r=It(t.W,1),((i=It(t.E,1))<1||7<i)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=We(Mt(),o,a),n=It(t.gg,e._a[we],l.year),r=It(t.w,l.week),null!=t.d?((i=t.d)<0||6<i)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||6<t.e)&&(c=!0)):i=o),r<1||r>Ge(n,o,a)?y(e)._overflowWeeks=!0:null!=c?y(e)._overflowWeekday=!0:(s=Qe(n,r,i,o,a),e._a[we]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=It(e._a[we],r[we]),(e._dayOfYear>ze(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=Ue(o,0,e._dayOfYear),e._a[xe]=n.getUTCMonth(),e._a[Ce]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ke]&&0===e._a[Ee]&&0===e._a[Se]&&0===e._a[De]&&(e._nextDay=!0,e._a[ke]=0),e._d=(e._useUTC?Ue:function c(e,t,n,r,i,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ke]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Tt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,i,o,a,s=""+e._i,c=s.length,l=0;for(r=B(e._f,e._locale).match(T)||[],t=0;t<r.length;t++)i=r[t],(n=(s.match(fe(i,e))||[])[0])&&(0<(o=s.substr(0,s.indexOf(n))).length&&y(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),l+=n.length),M[i]?(n?y(e).empty=!1:y(e).unusedTokens.push(i),Ae(i,n,e)):e._strict&&!n&&y(e).unusedTokens.push(i);y(e).charsLeftOver=c-l,0<s.length&&y(e).unusedInput.push(s),e._a[ke]<=12&&!0===y(e).bigHour&&0<e._a[ke]&&(y(e).bigHour=undefined),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[ke]=function u(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0)),t)}(e._locale,e._a[ke],e._meridiem),null!==(a=y(e).era)&&(e._a[we]=e._locale.erasConvertYear(a,e._a[we])),Pt(e),mt(e)}else Dt(e);else Et(e)}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||gt(e._l),null===t||n===undefined&&""===t?r({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new b(mt(t)):(f(t)?e._d=t:l(n)?function c(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,a=!1,t=A({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Tt(t),v(t)&&(a=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));g(e,n||t)}(e):n?Tt(e):function i(e){var t=e._i;o(t)?e._d=new Date(p.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function n(e){var t=xt.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):l(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Pt(e)):u(t)?function r(e){if(!e._d){var t=Y(e._i),n=t.day===undefined?t.date:t.day;e._a=a([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Pt(e)}}(e):h(t)?e._d=new Date(t):p.createFromInputFallback(e)}(e),v(e)||(e._d=null),e))}function Nt(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=undefined),!0!==n&&!1!==n||(r=n,n=undefined),(u(e)&&c(e)||l(e)&&0===e.length)&&(e=undefined),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,function a(e){var t=new b(mt(_t(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t}(o)}function Mt(e,t,n,r){return Nt(e,t,n,r,!1)}p.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Ot=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:r()}),Rt=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:r()});function Lt(e,t){var n,r;if(1===t.length&&l(t[0])&&(t=t[0]),!t.length)return Mt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Bt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jt(e){var t=Y(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=function p(e){var t,n,r=!1;for(t in e)if(d(e,t)&&(-1===be.call(Bt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Bt.length;++n)if(e[Bt[n]]){if(r)return!1;parseFloat(e[Bt[n]])!==G(e[Bt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=gt(),this._bubble()}function Ht(e){return e instanceof jt}function zt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&G(e[r])!==G(t[r]))&&a++;return a+o}function Ut(e,n){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+P(~~(e/60),2)+n+P(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),he("Z",pe),he("ZZ",pe),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Qt(pe,e)});var Vt=/([\+\-]|\d\d)/gi;function Qt(e,t){var n,r,i,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(Vt)||["-",0,0],0===(i=60*r[1]+G(r[2]))?0:"+"===r[0]?i:-i)}function Wt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||f(e)?e.valueOf():Mt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),p.updateOffset(n,!1),n):Mt(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function Ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var qt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Kt(e,t){var n,r,i,o=e,a=null;return Ht(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=qt.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:G(a[Ce])*n,h:G(a[ke])*n,m:G(a[Ee])*n,s:G(a[Se])*n,ms:G(zt(1e3*a[De]))*n}):(a=Zt.exec(e))?(n="-"===a[1]?-1:1,o={y:Jt(a[2],n),M:Jt(a[3],n),w:Jt(a[4],n),d:Jt(a[5],n),h:Jt(a[6],n),m:Jt(a[7],n),s:Jt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=function s(e,t){var n;return e.isValid()&&t.isValid()?(t=Wt(t,e),e.isBefore(t)?n=Xt(e,t):((n=Xt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Mt(o.from),Mt(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new jt(o),Ht(e)&&d(e,"_locale")&&(r._locale=e._locale),Ht(e)&&d(e,"_isValid")&&(r._isValid=e._isValid),r}function Jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $t(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(E(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),en(this,Kt(e,t),r),this}}function en(e,t,n,r){var i=t._milliseconds,o=zt(t._days),a=zt(t._months);e.isValid()&&(r=null==r||r,a&&Be(e,q(e,"Month")+a*n),o&&Z(e,"Date",q(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,o||a))}Kt.fn=jt.prototype,Kt.invalid=function or(){return Kt(NaN)};var tn=$t(1,"add"),nn=$t(-1,"subtract");function rn(e){return"string"==typeof e||e instanceof String}function on(e,t){if(e.date()<t.date())return-on(t,e);var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return r=t-o<0?(n=e.clone().add(i-1,"months"),(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),(t-o)/(n-o)),-(i+r)||0}function an(e){var t;return e===undefined?this._locale._abbr:(null!=(t=gt(e))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sn=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===undefined?this.localeData():this.locale(e)});function cn(){return this._locale}var ln=126227808e5;function un(e,t){return(e%t+t)%t}function pn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-ln:new Date(e,t,n).valueOf()}function dn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-ln:Date.UTC(e,t,n)}function hn(e,t){return t.erasAbbrRegex(e)}function fn(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),i.push(ge(a[e].narrow)),o.push(ge(a[e].name)),o.push(ge(a[e].abbr)),o.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function gn(e,t){O(0,[e,e.length],0,t)}function mn(e,t,n,r,i){var o;return null==e?We(this,r,i).year:((o=Ge(e,r,i))<t&&(t=o),function s(e,t,n,r,i){var o=Qe(e,t,n,r,i),a=Ue(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),he("N",hn),he("NN",hn),he("NNN",hn),he("NNNN",function ar(e,t){return t.erasNameRegex(e)}),he("NNNNN",function sr(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?y(n).era=i:y(n).invalidEra=e}),he("y",ce),he("yy",ce),he("yyy",ce),he("yyyy",ce),he("yo",function cr(e,t){return t._eraYearOrdinalRegex||ce}),ye(["y","yy","yyy","yyyy"],we),ye(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,i):t[we]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),gn("gggg","weekYear"),gn("ggggg","weekYear"),gn("GGGG","isoWeekYear"),gn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),he("G",le),he("g",le),he("GG",ne,X),he("gg",ne,X),he("GGGG",ae,ee),he("gggg",ae,ee),he("GGGGG",se,te),he("ggggg",se,te),ve(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=G(e)}),ve(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),H("quarter","Q"),V("quarter",7),he("Q",J),ye("Q",function(e,t){t[xe]=3*(G(e)-1)}),O("D",["DD",2],"Do","date"),H("date","D"),V("date",9),he("D",ne),he("DD",ne,X),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],Ce),ye("Do",function(e,t){t[Ce]=G(e.match(ne)[0])});var yn=F("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),V("dayOfYear",4),he("DDD",oe),he("DDDD",$),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=G(e)}),O("m",["mm",2],0,"minute"),H("minute","m"),V("minute",14),he("m",ne),he("mm",ne,X),ye(["m","mm"],Ee);var vn=F("Minutes",!1);O("s",["ss",2],0,"second"),H("second","s"),V("second",15),he("s",ne),he("ss",ne,X),ye(["s","ss"],Se);var An,bn,wn=F("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),V("millisecond",16),he("S",oe,J),he("SS",oe,X),he("SSS",oe,$),An="SSSS";An.length<=9;An+="S")he(An,ce);function xn(e,t){t[De]=G(1e3*("0."+e))}for(An="S";An.length<=9;An+="S")ye(An,xn);bn=F("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var Cn=b.prototype;function kn(e){return e}Cn.add=tn,Cn.calendar=function lr(e,t){1===arguments.length&&(function s(e){return w(e)||f(e)||rn(e)||h(e)||function r(t){var e=l(t),n=!1;return e&&(n=0===t.filter(function(e){return!h(e)&&rn(t)}).length),e&&n}(e)||function a(e){var t,n,r=u(e)&&!c(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||d(e,n);return r&&i}(e)||null===e||e===undefined}(arguments[0])?(e=arguments[0],t=undefined):function a(e){var t,n,r=u(e)&&!c(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||d(e,n);return r&&i}(arguments[0])&&(t=arguments[0],e=undefined));var n=e||Mt(),r=Wt(n,this).startOf("day"),i=p.calendarFormat(this,r)||"sameElse",o=t&&(S(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,Mt(n)))},Cn.clone=function ur(){return new b(this)},Cn.diff=function pr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Wt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":o=on(this,r)/12;break;case"month":o=on(this,r);break;case"quarter":o=on(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:W(o)},Cn.endOf=function dr(e){var t,n;if((e=z(e))===undefined||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?dn:pn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-un(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-un(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-un(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},Cn.format=function hr(e){e||(e=this.isUtc()?p.defaultFormatUtc:p.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},Cn.from=function fr(e,t){return this.isValid()&&(w(e)&&e.isValid()||Mt(e).isValid())?Kt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Cn.fromNow=function gr(e){return this.from(Mt(),e)},Cn.to=function mr(e,t){return this.isValid()&&(w(e)&&e.isValid()||Mt(e).isValid())?Kt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Cn.toNow=function yr(e){return this.to(Mt(),e)},Cn.get=function vr(e){return S(this[e=z(e)])?this[e]():this},Cn.invalidAt=function Ar(){return y(this).overflow},Cn.isAfter=function br(e,t){var n=w(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Cn.isBefore=function wr(e,t){var n=w(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Cn.isBetween=function xr(e,t,n,r){var i=w(e)?e:Mt(e),o=w(t)?t:Mt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},Cn.isSame=function Cr(e,t){var n,r=w(e)?e:Mt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Cn.isSameOrAfter=function kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Cn.isSameOrBefore=function Er(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Cn.isValid=function Sr(){return v(this)},Cn.lang=sn,Cn.locale=an,Cn.localeData=cn,Cn.max=Rt,Cn.min=Ot,Cn.parsingFlags=function Dr(){return g({},y(this))},Cn.set=function Ir(e,t){if("object"==typeof e){var n,r=function i(e){var t,n=[];for(t in e)d(e,t)&&n.push({unit:t,priority:U[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=Y(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(S(this[e=z(e)]))return this[e](t);return this},Cn.startOf=function Pr(e){var t,n;if((e=z(e))===undefined||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?dn:pn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=un(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=un(t,6e4);break;case"second":t=this._d.valueOf(),t-=un(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},Cn.subtract=nn,Cn.toArray=function Tr(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},Cn.toObject=function _r(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},Cn.toDate=function Nr(){return new Date(this.valueOf())},Cn.toISOString=function Mr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?L(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(n,"Z")):L(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Cn.inspect=function Or(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol["for"]&&(Cn[Symbol["for"]("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Cn.toJSON=function Rr(){return this.isValid()?this.toISOString():null},Cn.toString=function Lr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Cn.unix=function Br(){return Math.floor(this.valueOf()/1e3)},Cn.valueOf=function jr(){return this._d.valueOf()-6e4*(this._offset||0)},Cn.creationData=function Hr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Cn.eraName=function zr(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},Cn.eraNarrow=function Yr(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},Cn.eraAbbr=function Ur(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},Cn.eraYear=function Vr(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-p(i[e].since).year())*n+i[e].offset;return this.year()},Cn.year=Ye,Cn.isLeapYear=function Qr(){return Q(this.year())},Cn.weekYear=function Wr(e){return mn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Cn.isoWeekYear=function Gr(e){return mn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Cn.quarter=Cn.quarters=function Fr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Cn.month=je,Cn.daysInMonth=function qr(){return Te(this.year(),this.month())},Cn.week=Cn.weeks=function Zr(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Cn.isoWeek=Cn.isoWeeks=function Kr(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Cn.weeksInYear=function Jr(){var e=this.localeData()._week;return Ge(this.year(),e.dow,e.doy)},Cn.weeksInWeekYear=function Xr(){var e=this.localeData()._week;return Ge(this.weekYear(),e.dow,e.doy)},Cn.isoWeeksInYear=function $r(){return Ge(this.year(),1,4)},Cn.isoWeeksInISOWeekYear=function ei(){return Ge(this.isoWeekYear(),1,4)},Cn.date=yn,Cn.day=Cn.days=function ti(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"==typeof t?isNaN(t)?"number"!=typeof(t=n.weekdaysParse(t))?null:t:parseInt(t,10):t,this.add(e-r,"d")):r},Cn.weekday=function ni(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Cn.isoWeekday=function ri(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,r=(t=e,n=this.localeData(),"string"!=typeof t?isNaN(t)?null:t:n.weekdaysParse(t)%7||7);return this.day(this.day()%7?r:r-7)},Cn.dayOfYear=function ii(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Cn.hour=Cn.hours=at,Cn.minute=Cn.minutes=vn,Cn.second=Cn.seconds=wn,Cn.millisecond=Cn.milliseconds=bn,Cn.utcOffset=function oi(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Gt(this);if("string"==typeof e){if(null===(e=Qt(pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Gt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?en(this,Kt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},Cn.utc=function ai(e){return this.utcOffset(0,e)},Cn.local=function si(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},Cn.parseZone=function ci(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Qt(ue,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Cn.hasAlignedHourOffset=function li(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Cn.isDST=function ui(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Cn.isLocal=function pi(){return!!this.isValid()&&!this._isUTC},Cn.isUtcOffset=function di(){return!!this.isValid()&&this._isUTC},Cn.isUtc=Ft,Cn.isUTC=Ft,Cn.zoneAbbr=function hi(){return this._isUTC?"UTC":""},Cn.zoneName=function fi(){return this._isUTC?"Coordinated Universal Time":""},Cn.dates=e("dates accessor is deprecated. Use date instead.",yn),Cn.months=e("months accessor is deprecated. Use month instead",je),Cn.years=e("years accessor is deprecated. Use year instead",Ye),Cn.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function gi(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Cn.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function mi(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return A(t,this),(t=_t(t))._a?(e=t._isUTC?m(t._a):Mt(t._a),this._isDSTShifted=this.isValid()&&0<Yt(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});var En=I.prototype;function Sn(e,t,n,r){var i=gt(),o=m().set(r,t);return i[n](o,e)}function Dn(e,t,n){if(h(e)&&(t=e,e=undefined),e=e||"",null!=t)return Sn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Sn(e,r,n,"month");return i}function In(e,t,n,r){"boolean"==typeof e?h(t)&&(n=t,t=undefined):(t=e,e=!1,h(n=t)&&(n=t,t=undefined)),t=t||"";var i,o=gt(),a=e?o._week.dow:0,s=[];if(null!=n)return Sn(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=Sn(t,(i+a)%7,r,"day");return s}En.calendar=function yi(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},En.longDateFormat=function vi(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return!t&&n?(this._longDateFormat[e]=n.match(T).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e]):t},En.invalidDate=function Ai(){return this._invalidDate},En.ordinal=function bi(e){return this._ordinal.replace("%d",e)},En.preparse=kn,En.postformat=kn,En.relativeTime=function wi(e,t,n,r){var i=this._relativeTime[n];return S(i)?i(e,t,n,r):i.replace(/%d/i,e)},En.pastFuture=function xi(e,t){var n=this._relativeTime[0<e?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},En.set=function Ci(e){var t,n;for(n in e)d(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},En.eras=function ki(e,t){var n,r,i,o=this._eras||gt("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":i=p(o[n].since).startOf("day"),o[n].since=i.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=+Infinity;break;case"string":i=p(o[n].until).startOf("day").valueOf(),o[n].until=i.valueOf()}}return o},En.erasParse=function Ei(e,t,n){var r,i,o,a,s,c=this.eras();for(e=e.toUpperCase(),r=0,i=c.length;r<i;++r)if(o=c[r].name.toUpperCase(),a=c[r].abbr.toUpperCase(),s=c[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return c[r];break;case"NNNN":if(o===e)return c[r];break;case"NNNNN":if(s===e)return c[r]}else if(0<=[o,a,s].indexOf(e))return c[r]},En.erasConvertYear=function Si(e,t){var n=e.since<=e.until?1:-1;return t===undefined?p(e.since).year():p(e.since).year()+(t-e.offset)*n},En.erasAbbrRegex=function Di(e){return d(this,"_erasAbbrRegex")||fn.call(this),e?this._erasAbbrRegex:this._erasRegex},En.erasNameRegex=function Ii(e){return d(this,"_erasNameRegex")||fn.call(this),e?this._erasNameRegex:this._erasRegex},En.erasNarrowRegex=function Pi(e){return d(this,"_erasNarrowRegex")||fn.call(this),e?this._erasNarrowRegex:this._erasRegex},En.months=function Ti(e,t){return e?l(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Me).test(t)?"format":"standalone"][e.month()]:l(this._months)?this._months:this._months.standalone},En.monthsShort=function _i(e,t){return e?l(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Me.test(t)?"format":"standalone"][e.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},En.monthsParse=function Ni(e,t,n){var r,i,o;if(this._monthsParseExact)return Le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},En.monthsRegex=function Mi(e){return this._monthsParseExact?(d(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},En.monthsShortRegex=function Oi(e){return this._monthsParseExact?(d(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},En.week=function Ri(e){return We(e,this._week.dow,this._week.doy).week},En.firstDayOfYear=function Li(){return this._week.doy},En.firstDayOfWeek=function Bi(){return this._week.dow},En.weekdays=function ji(e,t){var n=l(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},En.weekdaysMin=function Hi(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},En.weekdaysShort=function zi(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},En.weekdaysParse=function Yi(e,t,n){var r,i,o;if(this._weekdaysParseExact)return et.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},En.weekdaysRegex=function Ui(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},En.weekdaysShortRegex=function Vi(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},En.weekdaysMinRegex=function Qi(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},En.isPM=function Wi(e){return"p"===(e+"").toLowerCase().charAt(0)},En.meridiem=function Gi(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",gt);var Pn=Math.abs;function Tn(e,t,n,r){var i=Kt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function Nn(e){return 4800*e/146097}function Mn(e){return 146097*e/4800}function On(e){return function(){return this.as(e)}}var Rn=On("ms"),Ln=On("s"),Bn=On("m"),jn=On("h"),Hn=On("d"),zn=On("w"),Yn=On("M"),Un=On("Q"),Vn=On("y");function Qn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wn=Qn("milliseconds"),Gn=Qn("seconds"),Fn=Qn("minutes"),qn=Qn("hours"),Zn=Qn("days"),Kn=Qn("months"),Jn=Qn("years"),Xn=Math.round,$n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},er=Math.abs;function tr(e){return(0<e)-(e<0)||+e}function nr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,c=er(this._milliseconds)/1e3,l=er(this._days),u=er(this._months),p=this.asSeconds();return p?(e=W(c/60),t=W(e/60),c%=60,e%=60,n=W(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=p<0?"-":"",o=tr(this._months)!==tr(p)?"-":"",a=tr(this._days)!==tr(p)?"-":"",s=tr(this._milliseconds)!==tr(p)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(l?a+l+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+r+"S":"")):"P0D"}var rr=jt.prototype;return rr.isValid=function Fi(){return this._isValid},rr.abs=function qi(){var e=this._data;return this._milliseconds=Pn(this._milliseconds),this._days=Pn(this._days),this._months=Pn(this._months),e.milliseconds=Pn(e.milliseconds),e.seconds=Pn(e.seconds),e.minutes=Pn(e.minutes),e.hours=Pn(e.hours),e.months=Pn(e.months),e.years=Pn(e.years),this},rr.add=function Zi(e,t){return Tn(this,e,t,1)},rr.subtract=function Ki(e,t){return Tn(this,e,t,-1)},rr.as=function Ji(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Nn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Mn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},rr.asMilliseconds=Rn,rr.asSeconds=Ln,rr.asMinutes=Bn,rr.asHours=jn,rr.asDays=Hn,rr.asWeeks=zn,rr.asMonths=Yn,rr.asQuarters=Un,rr.asYears=Vn,rr.valueOf=function Xi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},rr._bubble=function $i(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return 0<=o&&0<=a&&0<=s||o<=0&&a<=0&&s<=0||(o+=864e5*_n(Mn(s)+a),s=a=0),c.milliseconds=o%1e3,e=W(o/1e3),c.seconds=e%60,t=W(e/60),c.minutes=t%60,n=W(t/60),c.hours=n%24,a+=W(n/24),i=W(Nn(a)),s+=i,a-=_n(Mn(i)),r=W(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},rr.clone=function eo(){return Kt(this)},rr.get=function to(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},rr.milliseconds=Wn,rr.seconds=Gn,rr.minutes=Fn,rr.hours=qn,rr.days=Zn,rr.weeks=function no(){return W(this.days()/7)},rr.months=Kn,rr.years=Jn,rr.humanize=function ro(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=$n;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},$n,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function f(e,t,n,r){var i=Kt(e).abs(),o=Xn(i.as("s")),a=Xn(i.as("m")),s=Xn(i.as("h")),c=Xn(i.as("d")),l=Xn(i.as("M")),u=Xn(i.as("w")),p=Xn(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||l<=1&&["M"]||l<n.M&&["MM",l]||p<=1&&["y"]||["yy",p])[2]=t,d[3]=0<+e,d[4]=r,function h(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,d)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},rr.toISOString=nr,rr.toString=nr,rr.toJSON=nr,rr.locale=an,rr.localeData=cn,rr.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nr),rr.lang=sn,O("X",0,0,"unix"),O("x",0,0,"valueOf"),he("x",le),he("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(G(e))}),p.version="2.27.0",function io(e){t=e}(Mt),p.fn=Cn,p.min=function oo(){return Lt("isBefore",[].slice.call(arguments,0))},p.max=function ao(){return Lt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=m,p.unix=function so(e){return Mt(1e3*e)},p.months=function co(e,t){return Dn(e,t,"months")},p.isDate=f,p.locale=ht,p.invalid=r,p.duration=Kt,p.isMoment=w,p.weekdays=function lo(e,t,n){return In(e,t,n,"weekdays")},p.parseZone=function uo(){return Mt.apply(null,arguments).parseZone()},p.localeData=gt,p.isDuration=Ht,p.monthsShort=function po(e,t){return Dn(e,t,"monthsShort")},p.weekdaysMin=function ho(e,t,n){return In(e,t,n,"weekdaysMin")},p.defineLocale=ft,p.updateLocale=function fo(e,t){if(null!=t){var n,r,i=st;null!=ct[e]&&null!=ct[e].parentLocale?ct[e].set(D(ct[e]._config,t)):(null!=(r=dt(e))&&(i=r._config),t=D(i,t),null==r&&(t.abbr=e),(n=new I(t)).parentLocale=ct[e],ct[e]=n),ht(e)}else null!=ct[e]&&(null!=ct[e].parentLocale?(ct[e]=ct[e].parentLocale,e===ht()&&ht(e)):null!=ct[e]&&delete ct[e]);return ct[e]},p.locales=function go(){return C(ct)},p.weekdaysShort=function mo(e,t,n){return In(e,t,n,"weekdaysShort")},p.normalizeUnits=z,p.relativeTimeRounding=function yo(e){return e!==undefined?"function"==typeof e&&(Xn=e,!0):Xn},p.relativeTimeThreshold=function vo(e,t){return $n[e]!==undefined&&(t===undefined?$n[e]:($n[e]=t,"s"===e&&($n.ss=t-1),!0))},p.calendarFormat=function Ao(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},p.prototype=Cn,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}()}),is=Object.freeze({"default":rs,__moduleExports:rs}),os="YYYY-MM-DD",as="HH:mm:ss",ss="YYYY-MM-DD HH:mm:ss",cs=is,ls=function(){function e(e,t){this.overlayPositionBuilder=e,this.overlay=t}return Object.defineProperty(e.prototype,"locale",{get:function(){return cs.locale()},enumerable:!0,configurable:!0}),e.prototype.buildYearsPanel=function(e,t,n){for(var r=[],i=+t.charAt(3),o=i,a=10-i,s=e.clone();0<=o;){var c=s.add(-1,"year");r.push({available:0<o,value:c.format("YYYY"),isSelected:!!n&&n.format("YYYY")===c.format("YYYY"),date:c.clone()}),o--}r.push({available:!0,value:e.format("YYYY"),isSelected:!!n&&n.format("YYYY")===e.format("YYYY"),date:e.clone()});for(var l=e.clone();a<=10&&0<a;){c=l.add(1,"year");r.push({available:1<a,value:c.format("YYYY"),isSelected:!!n&&n.format("YYYY")===c.format("YYYY"),date:c.clone()}),a--}return r.sort(function(e,t){return+e.value-+t.value})},e.prototype.buildMonthsPanel=function(e,t){for(var n=cs.monthsShort(),r=[],i=0;i<n.length;i++)r.push({available:!0,value:n[i],isSelected:!!t&&n[i]===t.format("MMM"),date:cs(e.format("YYYY")+n[i]+e.format("DD"),"YYYYMMMDD")});return r},e.prototype.buildDaysPanel=function(e,t){var n=[],r=e.clone(),i=this.getWeekdaysMin();i.forEach(function(e){n.push({available:!1,value:e,isSelected:!1,isWeekDayMin:!0,date:null})});for(var o=r.clone().startOf("month"),a=i[+(o=cs(o.format(os)+" "+r.format(as))).weekday()+1],s=i.indexOf(a);0<s;)n.push({available:!1,value:o.clone().add(-s,"day").format("D"),isSelected:!1,isWeekDayMin:!1,date:o.clone().add(-s,"day").clone()}),s--;var c=r.clone().endOf("month");for(c=cs(c.format(os)+" "+r.format(as));o<=c;)n.push({available:!0,value:o.format("D"),isSelected:!!t&&o.format(os)===t.format(os),isWeekDayMin:!1,date:o.clone()}),o=o.add(1,"day");for(var l=1;n.length<49;)n.push({available:!1,value:c.clone().add(l,"day").format("D"),isSelected:!1,isWeekDayMin:!1,date:c.clone().add(l,"day").clone()}),l++;return n},e.prototype.sortDates=function(e,n){return void 0===n&&(n=!0),e.sort(function(e,t){return n?e.diff(t):t.diff(e)})},e.prototype.buildStartAndEndDates=function(e,t){return e&&t?cs(e)<cs(t)?[e,t]:[t,e]:[]},e.prototype.day=function(e){return e?cs(e.format(os+" 00:00:00"),"YYYY-MM-DD"):cs()},e.prototype.getDayStatus=function(e,t,n){if(void 0===n&&(n=[]),!n||0===n.length)return"normal";var r=function(e){return e?cs(e.format(os+" 00:00:00"),"YYYY-MM-DD"):cs()},i=this.sortDates(O([t],n));if(e<i[0]||e>i[2])return"normal";if(r(t).diff(n[0])<0){if(r(e).diff(r(t))<0)return"normal";if(0<=r(e).diff(t)&&r(e).diff(n[0])<0)return"within-hover";if(0<=r(e).diff(n[0])&&r(e).diff(n[1])<=0)return"within-selected";if(0<r(e).diff(n[1]))return"normal"}if(0<=r(t).diff(n[0])&&r(t).diff(n[1])<=0){if(r(e).diff(r(n[0]))<0)return"normal";if(0<=r(e).diff(n[0])&&r(e).diff(t)<0)return"within-selected-hover";if(0<=r(e).diff(t)&&r(e).diff(n[1])<=0)return"within-selected";if(0<r(e).diff(n[1]))return"normal"}if(0<r(t).diff(n[1])){if(r(e).diff(r(n[0]))<0)return"normal";if(0<=r(e).diff(n[0])&&r(e).diff(n[1])<0)return"within-selected";if(0<=r(e).diff(n[1])&&r(e).diff(t)<=0)return"within-hover";if(0<r(e).diff(t))return"normal"}return"normal"},e.prototype.buildDaysPanelForRangePicker=function(e,t,n,r){void 0===r&&(r=[]);var i=[],o=e.clone(),a=this.getWeekdaysMin();a.forEach(function(e){i.push({available:!1,value:e,isSelected:!1,isWeekDayMin:!0,date:null,hoverDateType:"normal"})});for(var s=o.clone().startOf("month"),c=a[+(s=cs(s.format(os)+" "+o.format(as))).weekday()+1],l=a.indexOf(c);0<l;){var u=s.clone().add(-l,"day").clone();i.push({available:!1,value:u.format("D"),isSelected:!1,isWeekDayMin:!1,date:u,hoverDateType:this.getDayStatus(u,n,r)}),l--}var p=o.clone().endOf("month");for(p=cs(p.format(os)+" "+o.format(as));s<=p;)i.push({available:!0,value:s.format("D"),isSelected:!!t&&s.format(os)===t.format(os),isWeekDayMin:!1,date:s.clone(),hoverDateType:this.getDayStatus(s.clone(),n,r)}),s=s.add(1,"day");for(var d=1;i.length<49;){u=p.clone().add(d,"day").clone();i.push({available:!1,value:u.format("D"),isSelected:!1,isWeekDayMin:!1,date:u.clone(),hoverDateType:this.getDayStatus(u,n,r)}),d++}return i},e.prototype.getWeekdaysMin=function(){return cs.weekdaysMin()},e.prototype.getOverlayRef=function(e){var t=this.overlayPositionBuilder.flexibleConnectedTo(e).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:0,offsetY:1},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:0,offsetY:-1}]);return this.overlay.create({positionStrategy:t,hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",scrollStrategy:this.overlay.scrollStrategies.noop()})},e.prototype.calendar=function(e,t){void 0===t&&(t="zh-cn");var n="";switch(t){case"zh-cn":n=e.calendar({sameDay:"[今天]",nextDay:"[明天]",nextWeek:"dddd",lastDay:"[昨天]",lastWeek:"[上] dddd",sameElse:"DD/MM/YYYY"});break;case"en":n=e.calendar({sameDay:"[Today]",nextDay:"[Tomorrow]",nextWeek:"dddd",lastDay:"[Yesterday]",lastWeek:"[Last] dddd",sameElse:"DD/MM/YYYY"});break;default:n=e.calendar({sameDay:"[今天]",nextDay:"[明天]",nextWeek:"dddd",lastDay:"[昨天]",lastWeek:"[上] dddd",sameElse:"DD/MM/YYYY"})}return n},e.prototype.isValid=function(e){return e&&cs(e).isValid()},e.decorators=[{type:d.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:a.OverlayPositionBuilder},{type:a.Overlay}]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e(d.inject(a.OverlayPositionBuilder),d.inject(a.Overlay))},token:e,providedIn:"root"}),e}(),us=is,ps=function(){function e(e){this.datePickerService=e,this.date=us(),this.onYearClicked=new d.EventEmitter,this.onMonthClicked=new d.EventEmitter,this.onArrowClicked=new d.EventEmitter,this.isYearLabelRanged=!1,this.isShowMonthLabel=!0,this.isShowPreBtn=!0}return e.prototype.ngOnInit=function(){this.resetYearAndMonth()},e.prototype.ngOnChanges=function(e){e.date.currentValue&&this.resetYearAndMonth()},e.prototype.onYearLabelClicked=function(){if(!this.isYearLabelRanged){this.isYearLabelRanged=!0,this.isShowMonthLabel=!1,this.isShowPreBtn=!1;var e=this.datePickerService.buildYearsPanel(this.date,this.year,this.date.clone());this.year=e[1].value+"-"+e[e.length-2].value,this.onYearClicked.emit({date:this.date,year:this.year,ranges:e})}},e.prototype.onMonthLabelClicked=function(){this.isShowMonthLabel=!1,this.isShowPreBtn=!1,this.month=this.date.format("MMMM"),this.onMonthClicked.emit({date:this.date,month:this.month})},e.prototype.onArrowBtnClicked=function(e){this.onArrowClicked.emit({arrowType:e,date:this.date})},e.prototype.resetYearAndMonth=function(){if(this.isYearLabelRanged){var e=this.datePickerService.buildYearsPanel(this.date,this.date.format("YYYY"),this.date.clone());this.year=e[1].value+"-"+e[e.length-2].value}else this.year=this.date.format("YYYY");this.month=this.date.format("MMMM")},e.decorators=[{type:d.Component,args:[{selector:"np-date-picker-header",template:'<div class="date-picker-header flex-wrap row-flex">\r\n  <div class="arrow-container flex-wrap row-flex">\r\n    <span class="double-pre-btn" (click)="onArrowBtnClicked(\'double-pre\')"></span>\r\n    <span class="pre-btn" *ngIf="isShowPreBtn" (click)="onArrowBtnClicked(\'pre\')"></span>\r\n  </div>\r\n  <div class="date-container flex-wrap row-flex">\r\n    <span class="year" (click)="onYearLabelClicked()">{{ year }}</span>\r\n    &nbsp;&nbsp;\r\n    <span class="month" *ngIf="isShowMonthLabel" (click)="onMonthLabelClicked()">{{ month }}</span>\r\n  </div>\r\n  <div class="arrow-container flex-wrap row-flex">\r\n    <span class="next-btn" *ngIf="isShowPreBtn" (click)="onArrowBtnClicked(\'next\')"></span>\r\n    <span class="double-next-btn" (click)="onArrowBtnClicked(\'double-next\')"></span>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:['.date-picker-header{position:relative;justify-content:space-between;height:41px;line-height:41px;font-weight:500}.date-picker-header .arrow-container{position:relative;padding-top:17px}.date-picker-header .arrow-container .arrow-btn,.date-picker-header .arrow-container .double-next-btn::after,.date-picker-header .arrow-container .double-next-btn::before,.date-picker-header .arrow-container .double-pre-btn::after,.date-picker-header .arrow-container .double-pre-btn::before,.date-picker-header .arrow-container .next-btn::before,.date-picker-header .arrow-container .pre-btn::before{position:absolute;display:inline-block;width:6px;height:6px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.date-picker-header .arrow-container .double-next-btn::before,.date-picker-header .arrow-container .double-pre-btn::before{top:0;left:0}.date-picker-header .arrow-container .double-next-btn::after,.date-picker-header .arrow-container .double-pre-btn::after{top:4px;left:4px}.date-picker-header .arrow-container .next-btn::before,.date-picker-header .arrow-container .pre-btn::before{top:0;left:0}.date-picker-header .arrow-container .double-pre-btn,.date-picker-header .arrow-container .pre-btn{transform:rotate(-45deg);position:relative;display:inline-block;width:7px;height:7px;margin-left:17px;cursor:pointer}.date-picker-header .arrow-container .double-next-btn,.date-picker-header .arrow-container .next-btn{transform:rotate(135deg);position:relative;display:inline-block;width:7px;height:7px;margin-right:17px;cursor:pointer}.date-picker-header .date-container{cursor:pointer}']}]}],e.ctorParameters=function(){return[{type:ls}]},e.propDecorators={date:[{type:d.Input}],onYearClicked:[{type:d.Output}],onMonthClicked:[{type:d.Output}],onArrowClicked:[{type:d.Output}]},e}(),ds=is,hs=function(){function e(e,t){this.datePickerService=e,this.elementRef=t,this.datePickerType="date-picker",this.isShowTime=!1,this.date=null,this.onDayClicked=new d.EventEmitter,this.onDayMouseover=new d.EventEmitter,this.onMonthClicked=new d.EventEmitter,this.onYearClicked=new d.EventEmitter,this.onTimeClicked=new d.EventEmitter,this.onConfirmClicked=new d.EventEmitter,this.onItemLabelClicked=new d.EventEmitter,this.footerItems=[],this.selectedDate=null,this.isShowDaysPanel=!0,this.isShowMonthsPanel=!1,this.isShowYearsPanel=!1,this.days=[],this.months=[],this.years=[],this.preDay=null}return e.prototype.ngOnInit=function(){this.initMoment(),"date-picker"===this.datePickerType?this.showPanel("days"):"month-picker"===this.datePickerType?this.showPanel("months"):"year-picker"===this.datePickerType?this.showPanel("years"):"datetime-picker"===this.datePickerType&&this.showPanel("days"),this.buildPanel()},e.prototype.ngOnChanges=function(e){var t=e.date.currentValue;this.selectedDate=t?t.clone():null},e.prototype.onTimeLabelClicked=function(e){this.time=e,this.onTimeClicked.emit(this.time)},e.prototype.onConfirmButtonClicked=function(e){this.time=e,this.onConfirmClicked.emit(this.time)},e.prototype.onFooterItemLabelClicked=function(e){this.onItemLabelClicked.emit(e)},e.prototype.onDayLabelClicked=function(e){e.isWeekDayMin||(this.isShowTime&&(e.date=ds(e.date.format(os)+" "+(this.time?this.time:ds().format(as)))),this.showPanel("days"),this.buildPanel(e.date,e.date),this.initTimePicker(e.date),this.onDayClicked.emit(e))},e.prototype.onDayLabelMouseover=function(e){this.preDay&&this.preDay.date&&e.date&&this.preDay.date.format(os)!==e.date.format(os)&&this.onDayMouseover.emit(e),this.preDay=I({},e)},e.prototype.onMonthLabelClicked=function(e){if("date-picker"===this.datePickerType||"datetime-picker"===this.datePickerType||"date-range-picker"===this.datePickerType)return this.showPanel("days"),void this.buildPanel(e.date,this.selectedDate);"month-picker"!==this.datePickerType||this.onMonthClicked.emit(e)},e.prototype.onYearLabelClicked=function(e){return"date-picker"===this.datePickerType||"datetime-picker"===this.datePickerType||"date-range-picker"===this.datePickerType?(this.showPanel("days"),void this.buildPanel(e.date,this.selectedDate)):"month-picker"===this.datePickerType?(this.showPanel("months"),void this.buildPanel(e.date,this.selectedDate)):void("year-picker"!==this.datePickerType||this.onYearClicked.emit(e))},e.prototype.onYearInHeaderClicked=function(e){this.years=this.datePickerService.buildYearsPanel(e.date,e.year,this.selectedDate),this.showPanel("years")},e.prototype.onMonthInHeaderClicked=function(){this.months=this.datePickerService.buildMonthsPanel(this.date,this.selectedDate),this.showPanel("months")},e.prototype.onArrowClicked=function(e){switch(e.arrowType){case"double-pre":this.isShowDaysPanel||this.isShowMonthsPanel?this.date=this.date.add(-1,"year").clone():this.isShowYearsPanel&&(this.date=this.date.add(-10,"year").clone());break;case"pre":this.isShowDaysPanel&&(this.date=this.date.add(-1,"month").clone());break;case"next":this.isShowDaysPanel&&(this.date=this.date.add(1,"month").clone());break;case"double-next":this.isShowDaysPanel||this.isShowMonthsPanel?this.date=this.date.add(1,"year").clone():this.isShowYearsPanel&&(this.date=this.date.add(10,"year").clone())}this.buildPanel()},e.prototype.buildPanel=function(e,t){if(void 0===e&&(e=this.date),void 0===t&&(t=null),this.date=e&&e.isValid()?e.clone():ds(),this.selectedDate=t?t.clone():this.selectedDate,this.isShowDaysPanel)return this.days=this.datePickerService.buildDaysPanel(this.date,this.selectedDate),void(this.nowDay=ds());this.isShowMonthsPanel?this.months=this.datePickerService.buildMonthsPanel(this.date,this.selectedDate):this.isShowYearsPanel&&(this.years=this.datePickerService.buildYearsPanel(this.date,this.date.format("YYYY"),this.selectedDate))},e.prototype.buildPanelForRangePicker=function(e,t){void 0===t&&(t=[]),this.isShowDaysPanel&&(this.days=this.datePickerService.buildDaysPanelForRangePicker(this.date,this.selectedDate,e,t),this.nowDay=ds())},e.prototype.initMoment=function(){this.date&&this.date.isValid()?(this.selectedDate=this.date.clone(),this.initTimePicker(this.selectedDate)):(this.selectedDate=null,this.date=ds())},e.prototype.initTimePicker=function(e){var t=this;"datetime-picker"===this.datePickerType&&(this.time=e.format(as),this.timePickerPanel?this.timePickerPanel.scrollTo(this.time):setTimeout(function(){t.timePickerPanel.scrollTo(t.time)},0))},e.prototype.showPanel=function(e){switch(e){case"days":this.isShowDaysPanel=!0,this.isShowMonthsPanel=!1,this.isShowYearsPanel=!1,this.datePickerHeader&&(this.datePickerHeader.isYearLabelRanged=!1,this.datePickerHeader.isShowMonthLabel=!0,this.datePickerHeader.isShowPreBtn=!0);break;case"months":this.isShowDaysPanel=!1,this.isShowMonthsPanel=!0,this.isShowYearsPanel=!1,this.datePickerHeader&&(this.datePickerHeader.isYearLabelRanged=!1,this.datePickerHeader.isShowMonthLabel=!1,this.datePickerHeader.isShowPreBtn=!1);break;case"years":this.isShowDaysPanel=!1,this.isShowMonthsPanel=!1,this.isShowYearsPanel=!0,this.datePickerHeader&&(this.datePickerHeader.isYearLabelRanged=!0,this.datePickerHeader.isShowMonthLabel=!1,this.datePickerHeader.isShowPreBtn=!1);break;default:this.isShowDaysPanel=!0,this.isShowMonthsPanel=!1,this.isShowYearsPanel=!1}},e.decorators=[{type:d.Component,args:[{selector:"np-date-picker-popup",template:'<div @date-picker-animations class="np-date-picker-popup-wrapper flex-wrap row-flex">\r\n  <div class="date-wrapper flex-wrap col-flex">\r\n    <np-date-picker-header #datePickerHeader [date]="date" (onYearClicked)="onYearInHeaderClicked($event)"\r\n      (onMonthClicked)="onMonthInHeaderClicked()" (onArrowClicked)="onArrowClicked($event)">\r\n    </np-date-picker-header>\r\n    <div class="date-picker-body">\r\n      \x3c!-- 日期面板 --\x3e\r\n      <ng-container *ngIf="isShowDaysPanel">\r\n        <div class="days-panel flex-wrap row-flex wrap">\r\n          <span #dayLabel class="day flex-wrap col-flex" [ngClass]="{\r\n            \'now-day\': nowDay.format(\'YYYYMMDD\') === (day.date && day.date.format(\'YYYYMMDD\')), \r\n            \'selected-day\': day.isSelected, \r\n            \'non-available-day\': !day.available && !day.isWeekDayMin,\r\n            \'within-hover\': day.hoverDateType === \'within-hover\' && day.available,\r\n            \'within-selected\': day.hoverDateType === \'within-selected\' && day.available,\r\n            \'within-selected-hover\': day.hoverDateType === \'within-selected-hover\' && day.available\r\n          }" *ngFor="let day of days" (click)="onDayLabelClicked(day)"\r\n            (mouseover)="onDayLabelMouseover(day)">{{ day.value }}</span>\r\n        </div>\r\n      </ng-container>\r\n\r\n      \x3c!-- 月份面板 --\x3e\r\n      <ng-container *ngIf="isShowMonthsPanel">\r\n        <div class="months-panel flex-wrap row-flex wrap">\r\n          <span class="month flex-wrap col-flex" [ngClass]="{\'selected-month\': month.isSelected}"\r\n            *ngFor="let month of months" (click)="onMonthLabelClicked(month)">{{ month.value }}</span>\r\n        </div>\r\n      </ng-container>\r\n\r\n      \x3c!-- 年份面板 --\x3e\r\n      <ng-container *ngIf="isShowYearsPanel">\r\n        <div class="years-panel flex-wrap row-flex wrap">\r\n          <span class="year flex-wrap col-flex"\r\n            [ngClass]="{\'selected-year\': year.isSelected, \'non-available-year\': !year.available}"\r\n            *ngFor="let year of years" (click)="onYearLabelClicked(year)">{{ year.value }}</span>\r\n        </div>\r\n      </ng-container>\r\n    </div>\r\n    <np-date-picker-footer\r\n      *ngIf="datePickerType === \'date-picker\' || datePickerType === \'datetime-picker\' || datePickerType === \'date-range-picker\'"\r\n      [datePickerType]="datePickerType" [footerItems]="footerItems"\r\n      (onItemLabelClicked)="onFooterItemLabelClicked($event)">\r\n    </np-date-picker-footer>\r\n  </div>\r\n  <np-time-picker-panel #timePickerPanel *ngIf="isShowTime" [time]="time" [confirmButtonText]="confirmButtonText"\r\n    (onTimeClicked)="onTimeLabelClicked($event)" (onConfirmClicked)="onConfirmButtonClicked($event)">\r\n  </np-time-picker-panel>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,animations:[s.trigger("date-picker-animations",[s.transition(":enter",[s.style({opacity:0}),s.animate(300,s.style({opacity:1}))]),s.transition(":leave",[s.animate(300,s.style({opacity:0}))])])],styles:[".np-date-picker-popup-wrapper .date-wrapper{width:280px}.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .days-panel{justify-content:center;align-items:center;padding:10px 0}.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .days-panel>.day{justify-content:center;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:26px;height:24px;line-height:24px;margin:3px 5px;box-sizing:border-box}.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .months-panel,.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .years-panel{justify-content:center;align-items:center;padding:10px 0}.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .months-panel>.month,.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .months-panel>.year,.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .years-panel>.month,.np-date-picker-popup-wrapper .date-wrapper .date-picker-body .years-panel>.year{justify-content:center;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:60px;height:24px;line-height:66px;margin:22px 14px}"]}]}],e.ctorParameters=function(){return[{type:ls},{type:d.ElementRef}]},e.propDecorators={date:[{type:d.Input}],onDayClicked:[{type:d.Output}],onDayMouseover:[{type:d.Output}],onMonthClicked:[{type:d.Output}],onYearClicked:[{type:d.Output}],onTimeClicked:[{type:d.Output}],onConfirmClicked:[{type:d.Output}],onItemLabelClicked:[{type:d.Output}],footerItems:[{type:d.Input}],confirmButtonText:[{type:d.Input}],datePickerHeader:[{type:d.ViewChild,args:["datePickerHeader"]}],datePickerFooter:[{type:d.ViewChild,args:["datePickerFooter"]}],timePickerPanel:[{type:d.ViewChild,args:["timePickerPanel"]}],dayLabel:[{type:d.ViewChild,args:["dayLabel"]}]},e}(),fs=is,gs=function(){function e(e,t){this.datePickerService=e,this.cdf=t,this.placeholder="",this.date=null,this.format=os,this.isShowTime=!1,this.footerItems=[],this.confirmButtonText="确认",this.onDateChanged=new d.EventEmitter,this.isHover=!1,this.emitChange=function(e){}}return e.prototype.ngOnInit=function(){this.overlayRef=this.datePickerService.getOverlayRef(this.datePickerInput.npInput),this.isShowTime&&(this.format=ss)},e.prototype.ngOnChanges=function(e){},e.prototype.onToggleDatePickerPopup=function(){var e=this;this.isDisabled||(this.overlayRef.hasAttached()?this.closePopup():(this.datePickerPopupRef=this.overlayRef.attach(new c.ComponentPortal(hs)),this.datePickerPopupRef.instance.date=fs(this.date),this.datePickerPopupRef.instance.datePickerType=this.isShowTime?"datetime-picker":"date-picker",this.datePickerPopupRef.instance.footerItems=this.footerItems,this.datePickerPopupRef.instance.isShowTime=this.isShowTime,this.datePickerPopupRef.instance.confirmButtonText=this.confirmButtonText,this.subscribeNotifyEvents(),this.overlayRef.backdropClick().subscribe(function(){e.closePopup()})))},e.prototype.onBlur=function(e){this.datePickerService.isValid(e.value)?this.date=fs(e.value,this.format).clone():this.date=fs().clone(),this.syncValue(),this.emitChange(this.date),this.onDateChanged.emit(this.date)},e.prototype.onClear=function(){this.isDisabled||(this.date=null,this.syncValue(),this.emitChange(this.date),this.onDateChanged.emit(this.date))},e.prototype.onMouseenter=function(){this.isHover=!0},e.prototype.onMouseleave=function(){this.isHover=!1},e.prototype.syncValue=function(){this.date&&this.datePickerService.isValid(this.date)?this.value=fs(this.date,this.format).format(this.format):this.value=""},e.prototype.closePopup=function(){this.overlayRef.hasAttached()&&this.overlayRef.detach()},e.prototype.subscribeNotifyEvents=function(){var n=this;this.datePickerPopupRef.instance.onDayClicked.subscribe(function(e){n.emitDataAndClosePopup(e.date)}),this.datePickerPopupRef.instance.onItemLabelClicked.subscribe(function(e){e.value instanceof Function?n.emitDataAndClosePopup(e.value()):n.emitDataAndClosePopup(fs(e.value)),n.closePopup()}),this.isShowTime&&(this.datePickerPopupRef.instance.onTimeClicked.subscribe(function(e){var t=fs(fs(n.date).format(os)+" "+e);n.emitDataAndClosePopup(t)}),this.datePickerPopupRef.instance.onConfirmClicked.subscribe(function(e){var t=fs(fs(n.date).format(os)+" "+e);n.emitDataAndClosePopup(t),n.closePopup()}))},e.prototype.emitDataAndClosePopup=function(e){this.date=e,this.syncValue(),this.emitChange(fs(this.date)),this.onDateChanged.emit(fs(this.date)),this.datePickerInput.focus(),this.isShowTime||this.closePopup()},e.prototype.writeValue=function(e){this.date=e,this.syncValue()},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-date-picker",template:'<div class="np-date-picker-wrapper flex-wrap col-flex" (mouseenter)="onMouseenter()" (mouseleave)="onMouseleave()">\r\n  <i *ngIf="!isHover" class="far fa-calendar"></i>\r\n  <i *ngIf="isHover" class="fas fa-times-circle" (click)="onClear()"></i>\r\n  <np-input #datePickerInput [label]="label" [isRequired]="isRequired" [isDisabled]="isDisabled"\r\n    [placeholder]="placeholder" [errorMessage]="errorMessage" [(ngModel)]="value" (click)="onToggleDatePickerPopup()"\r\n    (onBlur)="onBlur($event)">\r\n  </np-input>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".np-date-picker-wrapper{position:relative}.np-date-picker-wrapper>.far.fa-calendar,.np-date-picker-wrapper>.fas.fa-times-circle{position:absolute;right:10px;line-height:34px;font-size:15px;cursor:pointer;z-index:1}.np-date-picker-wrapper .np-input-wrapper .np-input{width:220px}"]}]}],e.ctorParameters=function(){return[{type:ls},{type:d.ChangeDetectorRef}]},e.propDecorators={label:[{type:d.Input}],isRequired:[{type:d.Input}],placeholder:[{type:d.Input}],errorMessage:[{type:d.Input}],isDisabled:[{type:d.Input}],date:[{type:d.Input}],format:[{type:d.Input}],isShowTime:[{type:d.Input}],footerItems:[{type:d.Input}],confirmButtonText:[{type:d.Input}],onDateChanged:[{type:d.Output}],datePickerInput:[{type:d.ViewChild,args:["datePickerInput"]}]},e}(),ms=is,ys=function(){function e(e){this.datePickerService=e,this.datePickerType="date-picker",this.footerItems=[],this.onItemLabelClicked=new d.EventEmitter,this.today="今天",this.todayTitle=ms().format("LL")}return e.prototype.ngOnInit=function(){this.today=this.datePickerService.calendar(ms(),this.datePickerService.locale)||this.today,this.todayTitle=ms().format("LL")},e.prototype.onTodayLabelClicked=function(){this.onItemLabelClicked.emit({label:this.today,value:ms()})},e.prototype.onItemClicked=function(e){this.onItemLabelClicked.emit(e)},e.decorators=[{type:d.Component,args:[{selector:"np-date-picker-footer",template:'<div class="np-date-picker-footer flex-wrap row-flex">\r\n  <ng-container\r\n    *ngIf="datePickerType === \'date-picker\' || datePickerType === \'datetime-picker\' || datePickerType === \'date-range-picker\'">\r\n    <ng-container *ngIf="footerItems && footerItems.length > 0">\r\n      <div class="footer-items-and-today flex-wrap row-flex">\r\n        <div class="flex-wrap row-flex">\r\n          <span *ngFor="let item of footerItems" (click)="onItemClicked(item)">{{ item.label }}</span>\r\n        </div>\r\n        <span *ngIf="datePickerType === \'date-picker\'" [title]="todayTitle"\r\n          (click)="onTodayLabelClicked()">{{ today }}</span>\r\n      </div>\r\n    </ng-container>\r\n    <ng-container *ngIf="(!footerItems || footerItems.length === 0) && datePickerType === \'date-picker\'">\r\n      <div class="today flex-wrap row-flex middle-flex">\r\n        <span [title]="todayTitle" (click)="onTodayLabelClicked()">{{ today }}</span>\r\n      </div>\r\n    </ng-container>\r\n  </ng-container>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".np-date-picker-footer{height:41px;font-weight:500}.np-date-picker-footer .footer-items-and-today,.np-date-picker-footer .today{width:100%;line-height:41px;padding:0 15px}.np-date-picker-footer .footer-items-and-today span,.np-date-picker-footer .today span{cursor:pointer}.np-date-picker-footer .footer-items-and-today{justify-content:space-between}.np-date-picker-footer .footer-items-and-today span{margin-right:10px}.np-date-picker-footer .today{justify-content:center}"]}]}],e.ctorParameters=function(){return[{type:ls}]},e.propDecorators={datePickerType:[{type:d.Input}],footerItems:[{type:d.Input}],onItemLabelClicked:[{type:d.Output}]},e}(),vs=is,As=function(){function e(e){this.datePickerService=e,this.placeholder="",this.date=null,this.format="YYYY-MM",this.onMonthChanged=new d.EventEmitter,this.isHover=!1,this.emitChange=function(e){}}return e.prototype.ngOnInit=function(){this.overlayRef=this.datePickerService.getOverlayRef(this.monthPickerInput.npInput)},e.prototype.ngOnChanges=function(e){},e.prototype.onToggleDatePickerPopup=function(){var e=this;this.isDisabled||(this.overlayRef.hasAttached()?this.closePopup():(this.datePickerPopupRef=this.overlayRef.attach(new c.ComponentPortal(hs)),this.datePickerPopupRef.instance.date=vs(this.date),this.datePickerPopupRef.instance.datePickerType="month-picker",this.datePickerPopupRef.instance.isShowMonthsPanel=!0,this.subscribeNotifyEvents(),this.overlayRef.backdropClick().subscribe(function(){e.closePopup()})))},e.prototype.onBlur=function(e){this.datePickerService.isValid(e.value)?this.date=vs(e.value,this.format).clone():this.date=vs().clone(),this.syncValue(),this.emitChange(this.date),this.onMonthChanged.emit(this.date)},e.prototype.onClear=function(){this.isDisabled||(this.date=null,this.syncValue(),this.emitChange(this.date),this.onMonthChanged.emit(this.date))},e.prototype.onMouseenter=function(){this.isHover=!0},e.prototype.onMouseleave=function(){this.isHover=!1},e.prototype.syncValue=function(){this.date&&this.datePickerService.isValid(this.date)?this.value=vs(this.date,this.format).format(this.format):this.value=""},e.prototype.closePopup=function(){this.overlayRef.hasAttached&&this.overlayRef.detach()},e.prototype.subscribeNotifyEvents=function(){var t=this;this.datePickerPopupRef.instance.onMonthClicked.subscribe(function(e){t.emitDataAndClosePopup(e.date)})},e.prototype.emitDataAndClosePopup=function(e){this.date=e,this.syncValue(),this.emitChange(this.date),this.onMonthChanged.emit(this.date),this.monthPickerInput.focus(),this.closePopup()},e.prototype.writeValue=function(e){this.date=e,this.syncValue()},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-month-picker",template:'<div class="np-month-picker-wrapper flex-wrap col-flex" (mouseenter)="onMouseenter()" (mouseleave)="onMouseleave()">\r\n  <i *ngIf="!isHover" class="far fa-calendar"></i>\r\n  <i *ngIf="isHover" class="fas fa-times-circle" (click)="onClear()"></i>\r\n  <np-input #monthPickerInput [label]="label" [isRequired]="isRequired" [isDisabled]="isDisabled"\r\n    [placeholder]="placeholder" [errorMessage]="errorMessage" [(ngModel)]="value" (click)="onToggleDatePickerPopup()"\r\n    (onBlur)="onBlur($event)">\r\n  </np-input>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".np-month-picker-wrapper{position:relative}.np-month-picker-wrapper>.far.fa-calendar,.np-month-picker-wrapper>.fas.fa-times-circle{position:absolute;right:10px;line-height:34px;font-size:15px;cursor:pointer;z-index:1}.np-month-picker-wrapper .np-input-wrapper .np-input{width:220px}"]}]}],e.ctorParameters=function(){return[{type:ls}]},e.propDecorators={label:[{type:d.Input}],isRequired:[{type:d.Input}],placeholder:[{type:d.Input}],errorMessage:[{type:d.Input}],isDisabled:[{type:d.Input}],date:[{type:d.Input}],format:[{type:d.Input}],onMonthChanged:[{type:d.Output}],monthPickerInput:[{type:d.ViewChild,args:["monthPickerInput"]}]},e}(),bs=is,ws=function(){function e(e){this.datePickerService=e,this.placeholder="",this.date=null,this.format="YYYY",this.onYearChanged=new d.EventEmitter,this.onYearClicked=new d.EventEmitter,this.isHover=!1,this.emitChange=function(e){}}return e.prototype.ngOnInit=function(){this.overlayRef=this.datePickerService.getOverlayRef(this.yearPickerInput.npInput)},e.prototype.ngOnChanges=function(e){},e.prototype.onToggleDatePickerPopup=function(){var e=this;this.isDisabled||(this.overlayRef.hasAttached()?this.closePopup():(this.datePickerPopupRef=this.overlayRef.attach(new c.ComponentPortal(hs)),this.datePickerPopupRef.instance.date=bs(this.date),this.datePickerPopupRef.instance.datePickerType="year-picker",this.datePickerPopupRef.instance.isShowYearsPanel=!0,this.subscribeNotifyEvents(),this.overlayRef.backdropClick().subscribe(function(){e.closePopup()})))},e.prototype.onBlur=function(e){this.datePickerService.isValid(e.value)?this.date=bs(e.value,this.format).clone():this.date=bs().clone(),this.syncValue(),this.emitChange(this.date),this.onYearChanged.emit(this.date)},e.prototype.onClear=function(){this.isDisabled||(this.date=null,this.syncValue(),this.emitChange(this.date),this.onYearChanged.emit(this.date))},e.prototype.onMouseenter=function(){this.isHover=!0},e.prototype.onMouseleave=function(){this.isHover=!1},e.prototype.syncValue=function(){this.date&&this.datePickerService.isValid(this.date)?this.value=bs(this.date,this.format).format(this.format):this.value=""},e.prototype.closePopup=function(){this.overlayRef.hasAttached&&this.overlayRef.detach()},e.prototype.subscribeNotifyEvents=function(){var t=this;this.datePickerPopupRef.instance.onYearClicked.subscribe(function(e){t.emitDataAndClosePopup(e.date)})},e.prototype.emitDataAndClosePopup=function(e){this.date=e,this.syncValue(),this.emitChange(this.date),this.onYearChanged.emit(this.date),this.yearPickerInput.focus(),this.closePopup()},e.prototype.writeValue=function(e){this.date=e,this.syncValue()},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-year-picker",template:'<div class="np-year-picker-wrapper flex-wrap col-flex" (mouseenter)="onMouseenter()" (mouseleave)="onMouseleave()">\r\n  <i *ngIf="!isHover" class="far fa-calendar"></i>\r\n  <i *ngIf="isHover" class="fas fa-times-circle" (click)="onClear()"></i>\r\n  <np-input #yearPickerInput [label]="label" [isRequired]="isRequired" [isDisabled]="isDisabled"\r\n    [placeholder]="placeholder" [errorMessage]="errorMessage" [(ngModel)]="value" (click)="onToggleDatePickerPopup()"\r\n    (onBlur)="onBlur($event)">\r\n  </np-input>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".np-year-picker-wrapper{position:relative}.np-year-picker-wrapper>.far.fa-calendar,.np-year-picker-wrapper>.fas.fa-times-circle{position:absolute;right:10px;line-height:34px;font-size:15px;cursor:pointer;z-index:1}.np-year-picker-wrapper .np-input-wrapper .np-input{width:220px}"]}]}],e.ctorParameters=function(){return[{type:ls}]},e.propDecorators={label:[{type:d.Input}],isRequired:[{type:d.Input}],placeholder:[{type:d.Input}],errorMessage:[{type:d.Input}],isDisabled:[{type:d.Input}],date:[{type:d.Input}],format:[{type:d.Input}],onYearChanged:[{type:d.Output}],onYearClicked:[{type:d.Output}],yearPickerInput:[{type:d.ViewChild,args:["yearPickerInput"]}]},e}(),xs=function(){function e(){this._notifySubject=new Mt}return e.prototype.notify=function(e,t){this._notifySubject.next({key:e,value:t})},e.prototype.get=function(t){return this._notifySubject.asObservable().pipe(wn(function(e){return e.key===t}),Ft(function(e){return e.value}))},e.decorators=[{type:d.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=d.defineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Cs=function(){function e(e,t){this.datePickerService=e,this.notifyService=t,this.onTimeClicked=new d.EventEmitter,this.onConfirmClicked=new d.EventEmitter,this.hours=[],this.minutes=[],this.seconds=[],this.selectedHour="",this.selectedMinute="",this.selectedSecond=""}return e.prototype.ngOnInit=function(){this.buildData()},e.prototype.ngOnChanges=function(e){e.time.currentValue},e.prototype.onHourClicked=function(e){this.selectedHour=e,this.buildSelectedTime(),this.onTimeClicked.emit(this.time)},e.prototype.onMinuteClicked=function(e){this.selectedMinute=e,this.buildSelectedTime(),this.onTimeClicked.emit(this.time)},e.prototype.onSecondClicked=function(e){this.selectedSecond=e,this.buildSelectedTime(),this.onTimeClicked.emit(this.time)},e.prototype.onConfirmButtonClicked=function(){this.onConfirmClicked.emit(this.time)},e.prototype.scrollTo=function(e){this.selectedHour=e.split(":")[0],this.selectedMinute=e.split(":")[1],this.selectedSecond=e.split(":")[2],this.hoursElementRef.nativeElement.scrollTo({top:28*+this.selectedHour}),this.minutesElementRef.nativeElement.scrollTo({top:28*+this.selectedMinute}),this.secondsElementRef.nativeElement.scrollTo({top:28*+this.selectedSecond})},e.prototype.buildData=function(){for(var e=0;e<24;e++)this.hours.push((e+"").padStart(2,"0"));for(e=0;e<60;e++)this.minutes.push((e+"").padStart(2,"0"));for(e=0;e<60;e++)this.seconds.push((e+"").padStart(2,"0"))},e.prototype.buildSelectedTime=function(){this.time=this.selectedHour,this.selectedMinute&&(this.time+=":"+this.selectedMinute),this.selectedSecond&&(this.time+=":"+this.selectedSecond),this.scrollTo(this.time)},e.decorators=[{type:d.Component,args:[{selector:"np-time-picker-panel",template:'<div class="np-time-picker-panel flex-wrap col-flex">\r\n  <div class="time-picker-header">{{ time }}</div>\r\n  <div class="time-picker-body flex-wrap row-flex">\r\n    <div #hoursElementRef class="hours flex-wrap col-flex">\r\n      <span *ngFor="let hour of hours" [ngClass]="{\'selected-item\': selectedHour === hour}"\r\n        (click)="onHourClicked(hour)">{{ hour }}</span>\r\n    </div>\r\n    <div #minutesElementRef class="minutes flex-wrap col-flex">\r\n      <span *ngFor="let minute of minutes" [ngClass]="{\'selected-item\': selectedMinute === minute}"\r\n        (click)="onMinuteClicked(minute)">{{ minute }}</span>\r\n    </div>\r\n    <div #secondsElementRef class="seconds flex-wrap col-flex">\r\n      <span *ngFor="let second of seconds" [ngClass]="{\'selected-item\': selectedSecond === second}"\r\n        (click)="onSecondClicked(second)">{{ second }}</span>\r\n    </div>\r\n  </div>\r\n  <div class="time-picker-footer flex-wrap col-flex">\r\n    <np-button *ngIf="confirmButtonText" (click)="onConfirmButtonClicked()">{{ confirmButtonText }}</np-button>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".np-time-picker-panel{width:169px}.np-time-picker-panel .time-picker-header{height:41px;line-height:41px;text-align:center;font-weight:500}.np-time-picker-panel .time-picker-body{height:232px;justify-content:space-between}.np-time-picker-panel .time-picker-body .hours,.np-time-picker-panel .time-picker-body .minutes,.np-time-picker-panel .time-picker-body .seconds{width:56px;flex-wrap:nowrap;overflow:hidden;padding-bottom:204px;scroll-behavior:smooth}.np-time-picker-panel .time-picker-body .hours:hover,.np-time-picker-panel .time-picker-body .minutes:hover,.np-time-picker-panel .time-picker-body .seconds:hover{overflow-y:auto}.np-time-picker-panel .time-picker-body .hours:hover>span,.np-time-picker-panel .time-picker-body .minutes:hover>span,.np-time-picker-panel .time-picker-body .seconds:hover>span{margin-left:-8.5px}.np-time-picker-panel .time-picker-body .hours>span,.np-time-picker-panel .time-picker-body .minutes>span,.np-time-picker-panel .time-picker-body .seconds>span{width:56px;height:28px;text-align:center;line-height:28px}.np-time-picker-panel .time-picker-footer{height:41px;justify-content:center;align-items:flex-end}.np-time-picker-panel .time-picker-footer .np-button-wrapper{width:auto;letter-spacing:initial;font-size:13px;line-height:16px}"]}]}],e.ctorParameters=function(){return[{type:ls},{type:xs}]},e.propDecorators={time:[{type:d.Input}],confirmButtonText:[{type:d.Input}],onTimeClicked:[{type:d.Output}],onConfirmClicked:[{type:d.Output}],hoursElementRef:[{type:d.ViewChild,args:["hoursElementRef"]}],minutesElementRef:[{type:d.ViewChild,args:["minutesElementRef"]}],secondsElementRef:[{type:d.ViewChild,args:["secondsElementRef"]}]},e}(),ks=is,Es=function(){function e(e){this.datePickerService=e,this.datePickerType="date-range-picker",this.footerItems=[],this.onStartDayClicked=new d.EventEmitter,this.onEndDayClicked=new d.EventEmitter,this.onItemLabelClicked=new d.EventEmitter,this.nowDate=ks()}return e.prototype.ngOnInit=function(){var e=this;this.buildPicker(),setTimeout(function(){e.buildDayPanelStyle(ks(e.startDate))},0)},e.prototype.onStartPickerDayClicked=function(e){var t=this.buildStartAndEndDates();this.onStartDayClicked.emit({day:e,dates:t})},e.prototype.onEndPickerDayClicked=function(e){var t=this.buildStartAndEndDates();this.onEndDayClicked.emit({day:e,dates:t})},e.prototype.onStartPickerDayMouseover=function(e){this.buildDayPanelStyle(e.date)},e.prototype.onEndPickerDayMouseover=function(e){this.buildDayPanelStyle(e.date)},e.prototype.onFooterItemLabelClicked=function(e){this.onItemLabelClicked.emit(e)},e.prototype.ngOnChanges=function(){},e.prototype.buildDayPanelStyle=function(e){var t=this.buildStartAndEndDates();this.startPicker.buildPanelForRangePicker(e,t),this.endPicker.buildPanelForRangePicker(e,t)},e.prototype.buildPicker=function(){this.startPicker&&(this.startPicker.datePickerType=this.datePickerType),this.endPicker&&(this.endPicker.datePickerType=this.datePickerType)},e.prototype.buildStartAndEndDates=function(){return this.datePickerService.isValid(this.startDate)&&this.datePickerService.isValid(this.endDate)?ks(this.startDate)<ks(this.endDate)?[this.startDate,this.endDate]:[this.endDate,this.startDate]:[]},e.decorators=[{type:d.Component,args:[{selector:"np-date-range-picker-popup",template:'<div class="np-date-range-picker-popup-wrapper flex-wrap row-flex">\r\n  <np-date-picker-popup class="start-picker" #startPicker [date]="startDate" [footerItems]="footerItems"\r\n    (onItemLabelClicked)="onFooterItemLabelClicked($event)" (onDayClicked)="onStartPickerDayClicked($event)"\r\n    (onDayMouseover)="onStartPickerDayMouseover($event)">\r\n  </np-date-picker-popup>\r\n  <np-date-picker-popup class="end-picker" #endPicker [date]="endDate" (onDayClicked)="onEndPickerDayClicked($event)"\r\n    (onDayMouseover)="onEndPickerDayMouseover($event)"></np-date-picker-popup>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,animations:[s.trigger("date-picker-animations",[s.transition(":enter",[s.style({opacity:0}),s.animate(300,s.style({opacity:1}))]),s.transition(":leave",[s.animate(300,s.style({opacity:0}))])])],styles:[""]}]}],e.ctorParameters=function(){return[{type:ls}]},e.propDecorators={startDate:[{type:d.Input}],endDate:[{type:d.Input}],onStartDayClicked:[{type:d.Output}],onEndDayClicked:[{type:d.Output}],onItemLabelClicked:[{type:d.Output}],startPicker:[{type:d.ViewChild,args:["startPicker"]}],endPicker:[{type:d.ViewChild,args:["endPicker"]}]},e}(),Ss=is,Ds=function(){function e(e){this.datePickerService=e,this.startPlaceholder="",this.endPlaceholder="",this.dates=[],this.format=os,this.isShowTime=!1,this.footerItems=[],this.onDateRangeChanged=new d.EventEmitter,this.isHover=!1,this.emitChange=function(e){}}return e.prototype.ngOnInit=function(){if(this.dates&&2===this.dates.length){var e=this.datePickerService.buildStartAndEndDates(Ss(this.dates[0]).clone(),Ss(this.dates[1]).clone());this.startDate=e[0],this.endDate=e[1],this.syncSValue(),this.syncEValue()}this.overlayRef=this.datePickerService.getOverlayRef(this.dateRangeStartPicker.npInput),this.isShowTime&&(this.format=ss)},e.prototype.ngOnChanges=function(e){},e.prototype.onStartPickerClicked=function(){this.onToggleDatePickerPopup()},e.prototype.onEndPickerClicked=function(){this.onToggleDatePickerPopup()},e.prototype.onToggleDatePickerPopup=function(){var e=this;this.isDisabled||(this.overlayRef.hasAttached()?this.closePopup():(this.daterangePickerPopupRef=this.overlayRef.attach(new c.ComponentPortal(Es)),this.daterangePickerPopupRef.instance.datePickerType="date-range-picker",this.daterangePickerPopupRef.instance.footerItems=this.footerItems,this.daterangePickerPopupRef.instance.startDate=Ss(this.startDate),this.daterangePickerPopupRef.instance.endDate=Ss(this.endDate),this.subscribeNotifyEvents(),this.overlayRef.backdropClick().subscribe(function(){e.closePopup()}),this.dateRangeWrapper&&this.dateRangeWrapper.nativeElement&&this.dateRangeWrapper.nativeElement.focus()))},e.prototype.onStartDateBlur=function(e){this.datePickerService.isValid(e.value)?this.startDate=Ss(e.value,this.format).clone():this.startDate=Ss().clone();var t=this.datePickerService.buildStartAndEndDates(Ss(this.startDate).clone(),Ss(this.endDate).clone());this.startDate=t[0],this.endDate=t[1],this.syncSValue(),this.syncEValue(),this.emitChange([this.startDate,this.endDate]),this.onDateRangeChanged.emit([this.startDate,this.endDate])},e.prototype.onEndDateBlur=function(e){this.datePickerService.isValid(e.value)?this.endDate=Ss(e.value,this.format).clone():this.endDate=Ss().clone();var t=this.datePickerService.buildStartAndEndDates(Ss(this.startDate).clone(),Ss(this.endDate).clone());this.startDate=t[0],this.endDate=t[1],this.syncSValue(),this.syncEValue(),this.emitChange([this.startDate,this.endDate]),this.onDateRangeChanged.emit([this.startDate,this.endDate])},e.prototype.onClear=function(){this.isDisabled||(this.startDate=null,this.endDate=null,this.syncSValue(),this.syncEValue(),this.emitChange([]),this.onDateRangeChanged.emit([]))},e.prototype.onMouseenter=function(){this.isHover=!0},e.prototype.onMouseleave=function(){this.isHover=!1},e.prototype.syncSValue=function(){this.startDate&&this.datePickerService.isValid(this.startDate)?this.sValue=Ss(this.startDate,this.format).format(this.format):this.sValue=""},e.prototype.syncEValue=function(){this.endDate&&this.datePickerService.isValid(this.endDate)?this.eValue=Ss(this.endDate,this.format).format(this.format):this.eValue=""},e.prototype.closePopup=function(){this.overlayRef.hasAttached()&&this.overlayRef.detach()},e.prototype.subscribeNotifyEvents=function(){var t=this;this.daterangePickerPopupRef.instance.onStartDayClicked.subscribe(function(e){t.datePickerService.isValid(t.endDate)?t.emitDataAndClosePopup([e.day.date,Ss(t.endDate).clone()]):(t.startDate=e.day.date,t.syncSValue())}),this.daterangePickerPopupRef.instance.onEndDayClicked.subscribe(function(e){t.datePickerService.isValid(t.startDate)?t.emitDataAndClosePopup([e.day.date,Ss(t.startDate).clone()]):(t.endDate=e.day.date,t.syncEValue())}),this.daterangePickerPopupRef.instance.onItemLabelClicked.subscribe(function(e){e&&e.values&&2===e.values.length&&(e.values[0]instanceof Function&&e.values[1]instanceof Function?t.emitDataAndClosePopup([e.values[0](),e.values[1]()]):t.emitDataAndClosePopup([Ss(e.values[0]),Ss(e.values[1])]))})},e.prototype.emitDataAndClosePopup=function(e){var t=this.datePickerService.sortDates(e);this.startDate=t[0].clone(),this.endDate=t[t.length-1].clone(),this.syncSValue(),this.syncEValue(),this.emitChange([this.startDate,this.endDate]),this.onDateRangeChanged.emit([this.startDate,this.endDate]),this.closePopup()},e.prototype.writeValue=function(e){if(e&&2===e.length&&this.datePickerService.isValid(e[0])&&this.datePickerService.isValid(e[1])){var t=this.datePickerService.sortDates(e);this.startDate=t[0].clone(),this.endDate=t[t.length-1].clone()}else this.startDate=null,this.endDate=null;this.syncSValue(),this.syncEValue()},e.prototype.registerOnChange=function(e){this.emitChange=e},e.prototype.registerOnTouched=function(e){},e.decorators=[{type:d.Component,args:[{selector:"np-date-range-picker",template:'<div class="np-date-range-picker-wrapper flex-wrap row-flex" (mouseenter)="onMouseenter()"\r\n  (mouseleave)="onMouseleave()">\r\n  <i *ngIf="!isHover" class="far fa-calendar"></i>\r\n  <i *ngIf="isHover" class="fas fa-times-circle" (click)="onClear()"></i>\r\n  <div class="flex-wrap col-flex" *ngIf="label">\r\n    <label class="np-date-lbl">\r\n      <span class="form-required" *ngIf="isRequired">*</span>\r\n      {{ label }}\r\n    </label>\r\n  </div>\r\n  <div>\r\n    <div #dateRangeWrapper class="date-range-wrapper flex-wrap row-flex">\r\n      <np-input #dateRangeStartPicker class="date-range-start-picker" [(ngModel)]="sValue" [isRequired]="isRequired"\r\n        [isDisabled]="isDisabled" [placeholder]="startPlaceholder" (click)="onStartPickerClicked()" (onBlur)="onStartDateBlur($event)">\r\n      </np-input>\r\n      <span class="range-picker-divider" [ngClass]="{\'disabled\': isDisabled}">&nbsp;~&nbsp;</span>\r\n      <np-input #dateRangeEndPicker class="date-range-end-picker" [(ngModel)]="eValue" [isDisabled]="isDisabled"\r\n        [placeholder]="endPlaceholder" (click)="onEndPickerClicked()" (onBlur)="onEndDateBlur($event)">\r\n      </np-input>\r\n    </div>\r\n    <span class="error-message" *ngIf="errorMessage">{{ errorMessage }}</span>\r\n  </div>\r\n</div>\r\n',encapsulation:d.ViewEncapsulation.None,providers:[{provide:l.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return e}),multi:!0}],styles:[".np-date-range-picker-wrapper{position:relative;align-items:baseline}.np-date-range-picker-wrapper>.far.fa-calendar,.np-date-range-picker-wrapper>.fas.fa-times-circle{position:absolute;right:10px;line-height:34px;font-size:15px;cursor:pointer;z-index:1}.np-date-range-picker-wrapper .np-date-lbl{width:80px;margin-right:20px;text-align:right;font-size:13px;font-weight:700;height:34px;line-height:34px}.np-date-range-picker-wrapper .date-range-wrapper .np-input-wrapper .np-input{height:32px}.np-date-range-picker-wrapper .date-range-wrapper .date-range-start-picker .np-input{width:160px}.np-date-range-picker-wrapper .date-range-wrapper .date-range-end-picker .np-input{width:190px}.np-date-range-picker-wrapper .error-message{display:block;font-size:10px;margin:5px}"]}]}],e.ctorParameters=function(){return[{type:ls}]},e.propDecorators={label:[{type:d.Input}],isRequired:[{type:d.Input}],startPlaceholder:[{type:d.Input}],endPlaceholder:[{type:d.Input}],errorMessage:[{type:d.Input}],isDisabled:[{type:d.Input}],dates:[{type:d.Input}],format:[{type:d.Input}],isShowTime:[{type:d.Input}],footerItems:[{type:d.Input}],onDateRangeChanged:[{type:d.Output}],dateRangeWrapper:[{type:d.ViewChild,args:["dateRangeWrapper"]}],dateRangeStartPicker:[{type:d.ViewChild,args:["dateRangeStartPicker"]}],dateRangeEndPicker:[{type:d.ViewChild,args:["dateRangeEndPicker"]}]},e}(),Is=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule,l.FormsModule,l.ReactiveFormsModule,a.OverlayModule,v,h],declarations:[gs,As,ws,ps,ys,hs,Cs,Es,Ds],exports:[gs,As,ws,ps,ys,hs,Cs,Es,Ds],entryComponents:[hs,Es]}]}],e}(),Ps=is;
/**
     * @license Angular v7.2.16
     * (c) 2010-2019 Google LLC. https://angular.io/
     * License: MIT
     */
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */
var Ts=function Mu(e,t){this.id=e,this.url=t},_s=function(o){function e(e,t,n,r){void 0===n&&(n="imperative"),void 0===r&&(r=null);var i=o.call(this,e,t)||this;return i.navigationTrigger=n,i.restoredState=r,i}return D(e,o),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Ts),Ns=function(i){function e(e,t,n){var r=i.call(this,e,t)||this;return r.urlAfterRedirects=n,r}return D(e,i),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Ts),Ms=function(i){function e(e,t,n){var r=i.call(this,e,t)||this;return r.reason=n,r}return D(e,i),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Ts),Os=function(i){function e(e,t,n){var r=i.call(this,e,t)||this;return r.error=n,r}return D(e,i),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Ts),Rs=function(o){function e(e,t,n,r){var i=o.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}return D(e,o),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ts),Ls=function(o){function e(e,t,n,r){var i=o.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}return D(e,o),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ts),Bs=function(a){function e(e,t,n,r,i){var o=a.call(this,e,t)||this;return o.urlAfterRedirects=n,o.state=r,o.shouldActivate=i,o}return D(e,a),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Ts),js=function(o){function e(e,t,n,r){var i=o.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}return D(e,o),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ts),Hs=function(o){function e(e,t,n,r){var i=o.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}return D(e,o),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ts),zs=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),Ys=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),Us=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Vs=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Qs=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ws=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Gs=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){var e=this.position?this.position[0]+", "+this.position[1]:null;return"Scroll(anchor: '"+this.anchor+"', position: '"+e+"')"},e}(),Fs=function(){function e(){}return e=P([d.Component({template:"<router-outlet></router-outlet>"})],e)}(),qs="primary",Zs=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function Ks(e){return new Zs(e)}var Js="ngNavigationCancelingError";function Xs(e){var t=Error("NavigationCancelingError: "+e);return t[Js]=!0,t}function $s(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=e[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var ec=function Ou(e,t){this.routes=e,this.module=t};function tc(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];nc(r,rc(t,r))}}function nc(e,t){if(!e)throw new Error("\n      Invalid configuration of route '"+t+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==qs)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch){throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.")}if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&tc(e.children,t)}function rc(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function ic(e){var t=e.children&&e.children.map(ic),n=t?I({},e,{children:t}):I({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==qs&&(n.component=Fs),n}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function oc(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(e[n=r[o]]!==t[n])return!1;return!0}function ac(e){return Array.prototype.concat.apply([],e)}function sc(e){return 0<e.length?e[e.length-1]:null}function cc(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function lc(e){return d.ɵisObservable(e)?e:d.ɵisPromise(e)?ln(Promise.resolve(e)):Vt(e)}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function uc(e,t,n){return n?function r(e,t){return oc(e,t)}(e.queryParams,t.queryParams)&&function i(e,t){if(!gc(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(var n in t.children){if(!e.children[n])return!1;if(!i(e.children[n],t.children[n]))return!1}return!0}(e.root,t.root):function o(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(function(e){return n[e]===t[e]})}(e.queryParams,t.queryParams)&&pc(e.root,t.root)}function pc(e,t){return function a(e,t,n){{if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!!gc(r,n)&&!t.hasChildren()}if(e.segments.length===n.length){if(!gc(e.segments,n))return!1;for(var i in t.children){if(!e.children[i])return!1;if(!pc(e.children[i],t.children[i]))return!1}return!0}var r=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!gc(e.segments,r)&&(!!e.children[qs]&&a(e.children[qs],t,o))}}(e,t,t.segments)}var dc=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ks(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ac.serialize(this)},e}(),hc=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,cc(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return 0<this.numberOfChildren},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return bc(this)},e}(),fc=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ks(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Sc(this)},e}();function gc(e,n){return e.length===n.length&&e.every(function(e,t){return e.path===n[t].path})}function mc(e,n){var r=[];return cc(e.children,function(e,t){t===qs&&(r=r.concat(n(e,t)))}),cc(e.children,function(e,t){t!==qs&&(r=r.concat(n(e,t)))}),r}var yc=function Ru(){},vc=function(){function e(){}return e.prototype.parse=function(e){var t=new _c(e);return new dc(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){return""+("/"+function o(n,e){if(!n.hasChildren())return bc(n);{if(e){var t=n.children[qs]?o(n.children[qs],!1):"",r=[];return cc(n.children,function(e,t){t!==qs&&r.push(t+":"+o(e,!1))}),0<r.length?t+"("+r.join("//")+")":t}var i=mc(n,function(e,t){return t===qs?[o(n.children[qs],!1)]:[t+":"+o(e,!1)]});return bc(n)+"/("+i.join("//")+")"}}(e.root,!0))+function t(n){var e=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(e){return xc(t)+"="+xc(e)}).join("&"):xc(t)+"="+xc(e)});return e.length?"?"+e.join("&"):""}(e.queryParams)+("string"==typeof e.fragment?"#"+function n(e){return encodeURI(e)}(e.fragment):"")},e}(),Ac=new vc;function bc(e){return e.segments.map(function(e){return Sc(e)}).join("/")}function wc(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xc(e){return wc(e).replace(/%3B/gi,";")}function Cc(e){return wc(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kc(e){return decodeURIComponent(e)}function Ec(e){return kc(e.replace(/\+/g,"%20"))}function Sc(e){return""+Cc(e.path)+function n(t){return Object.keys(t).map(function(e){return";"+Cc(e)+"="+Cc(t[e])}).join("")}(e.parameters)}var Dc=/^[^\/()?;=#]+/;function Ic(e){var t=e.match(Dc);return t?t[0]:""}var Pc=/^[^=?&#]+/;var Tc=/^[^?&#]+/;var _c=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new hc([],{}):new hc([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))for(;this.parseQueryParam(e),this.consumeOptional("&"););return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(0<e.length||0<Object.keys(t).length)&&(n[qs]=new hc(e,t)),n},e.prototype.parseSegment=function(){var e=Ic(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new fc(kc(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Ic(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Ic(this.remaining);r&&(n=r,this.capture(n))}e[kc(t)]=kc(n)}},e.prototype.parseQueryParam=function(e){var t=function s(e){var t=e.match(Pc);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function c(e){var t=e.match(Tc);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=Ec(t),o=Ec(n);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&0<this.remaining.length;){var n=Ic(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=undefined;-1<n.indexOf(":")?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=qs);var o=this.parseChildren();t[i]=1===Object.keys(o).length?o[qs]:new hc([],o),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Nc=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return 1<t.length?t[t.length-2]:null},e.prototype.children=function(e){var t=Mc(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Mc(e,this._root);return t&&0<t.children.length?t.children[0].value:null},e.prototype.siblings=function(t){var e=Oc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(e){return e.value}).filter(function(e){return e!==t})},e.prototype.pathFromRoot=function(e){return Oc(e,this._root).map(function(e){return e.value})},e}();
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Mc(e,t){var n,r;if(e===t.value)return t;try{for(var i=N(t.children),o=i.next();!o.done;o=i.next()){var a=Mc(e,o.value);if(a)return a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(n)throw n.error}}return null}function Oc(e,t){var n,r;if(e===t.value)return[t];try{for(var i=N(t.children),o=i.next();!o.done;o=i.next()){var a=Oc(e,o.value);if(a.length)return a.unshift(t),a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(n)throw n.error}}return[]}var Rc=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Lc(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var Bc=function(r){function e(e,t){var n=r.call(this,e)||this;return n.snapshot=t,Vc(n,e),n}return D(e,r),e.prototype.toString=function(){return this.snapshot.toString()},e}(Nc);function jc(e,t){var n=function l(e,t){var n=new Yc([],{},{},"",{},qs,t,null,e.root,-1,{});return new Uc("",new Rc(n,[]))}(e,t),r=new Rt([new fc("",{})]),i=new Rt({}),o=new Rt({}),a=new Rt({}),s=new Rt(""),c=new Hc(r,i,a,s,o,qs,t,n.root);return c.snapshot=n.root,new Bc(new Rc(c,[]),n)}var Hc=function(){function e(e,t,n,r,i,o,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Ft(function(e){return Ks(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ft(function(e){return Ks(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function zc(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;1<=r;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function a(e){return e.reduce(function(e,t){var n=I({},e.params,t.params),r=I({},e.data,t.data),i=I({},e.resolve,t._resolvedData);return{params:n,data:r,resolve:i}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Yc=function(){function e(e,t,n,r,i,o,a,s,c,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ks(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ks(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Uc=function(r){function e(e,t){var n=r.call(this,t)||this;return n.url=e,Vc(n,t),n}return D(e,r),e.prototype.toString=function(){return Qc(this._root)},e}(Nc);function Vc(t,e){e.value._routerState=t,e.children.forEach(function(e){return Vc(t,e)})}function Qc(e){var t=0<e.children.length?" { "+e.children.map(Qc).join(", ")+" } ":"";return""+e.value+t}function Wc(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,oc(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),oc(t.params,n.params)||e.params.next(n.params),function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!oc(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),oc(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Gc(e,t){var n=oc(e.params,t.params)&&function i(e,n){return gc(e,n)&&e.every(function(e,t){return oc(e.parameters,n[t].parameters)})}(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Gc(e.parent,t.parent))}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Fc(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){(a=n.value)._futureSnapshot=e.value;var r=function l(s,e,c){return e.children.map(function(e){var t,n;try{for(var r=N(c.children),i=r.next();!i.done;i=r.next()){var o=i.value;if(s.shouldReuseRoute(o.value.snapshot,e.value))return Fc(s,e,o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(t)throw t.error}}return Fc(s,e)})}(t,e,n);return new Rc(a,r)}var i=t.retrieve(e.value);if(i){var o=i.route;return function s(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(var n=0;n<e.children.length;++n)s(e.children[n],t.children[n])}(e,o),o}var a=function c(e){return new Hc(new Rt(e.url),new Rt(e.params),new Rt(e.queryParams),new Rt(e.fragment),new Rt(e.data),e.outlet,e.component,e)}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */(e.value);r=e.children.map(function(e){return Fc(t,e)});return new Rc(a,r)}function qc(e,t,n,r,i){if(0===n.length)return Kc(t.root,t.root,t,r,i);var o=function c(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Jc(!0,0,e);var i=0,o=!1,t=e.reduce(function(n,e,t){if("object"==typeof e&&null!=e){if(e.outlets){var r={};return cc(e.outlets,function(e,t){r[t]="string"==typeof e?e.split("/"):e}),O(n,[{outlets:r}])}if(e.segmentPath)return O(n,[e.segmentPath])}return"string"!=typeof e?O(n,[e]):0===t?(e.split("/").forEach(function(e,t){0==t&&"."===e||(0==t&&""===e?o=!0:".."===e?i++:""!=e&&n.push(e))}),n):O(n,[e])},[]);return new Jc(o,i,t)}(n);if(o.toRoot())return Kc(t.root,new hc([],{}),t,r,i);var a=function l(e,t,n){if(e.isAbsolute)return new Xc(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Xc(n.snapshot._urlSegment,!0,0);var r=Zc(e.commands[0])?0:1,i=n.snapshot._lastPathIndex+r;return function a(e,t,n){var r=e,i=t,o=n;for(;i<o;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Xc(r,!1,i-o)}(n.snapshot._urlSegment,i,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?tl(a.segmentGroup,a.index,o.commands):el(a.segmentGroup,a.index,o.commands);return Kc(a.segmentGroup,s,t,r,i)}function Zc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Kc(e,t,n,r,i){var o={};return r&&cc(r,function(e,t){o[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),n.root===e?new dc(t,o,i):new dc(function a(e,n,r){var i={};cc(e.children,function(e,t){i[t]=e===n?r:a(e,n,r)});return new hc(e.segments,i)}(n.root,e,t),o,i)}var Jc=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&0<n.length&&Zc(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==sc(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}();var Xc=function Lu(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function $c(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[qs]:""+e}function el(e,t,n){if(e||(e=new hc([],{})),0===e.segments.length&&e.hasChildren())return tl(e,t,n);var r=function l(e,t,n){var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;var a=e.segments[i],s=$c(n[r]),c=r<n.length-1?n[r+1]:null;if(0<i&&s===undefined)break;if(s&&c&&"object"==typeof c&&c.outlets===undefined){if(!ol(s,c,a))return o;r+=2}else{if(!ol(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new hc(e.segments.slice(0,r.pathIndex),{});return o.children[qs]=new hc(e.segments.slice(r.pathIndex),e.children),tl(o,0,i)}return r.match&&0===i.length?new hc(e.segments,{}):r.match&&!e.hasChildren()?nl(e,t,n):r.match?tl(e,0,i):nl(e,t,n)}function tl(n,r,e){if(0===e.length)return new hc(n.segments,{});var i=function a(e){var t,n;return"object"!=typeof e[0]?((t={})[qs]=e,t):e[0].outlets===undefined?((n={})[qs]=e,n):e[0].outlets}(e),o={};return cc(i,function(e,t){null!==e&&(o[t]=el(n.children[t],r,e))}),cc(n.children,function(e,t){i[t]===undefined&&(o[t]=e)}),new hc(n.segments,o)}function nl(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&n[i].outlets!==undefined){var o=rl(n[i].outlets);return new hc(r,o)}if(0===i&&Zc(n[0])){var a=e.segments[t];r.push(new fc(a.path,n[0])),i++}else{var s=$c(n[i]),c=i<n.length-1?n[i+1]:null;s&&c&&Zc(c)?(r.push(new fc(s,il(c))),i+=2):(r.push(new fc(s,{})),i++)}}return new hc(r,{})}function rl(e){var n={};return cc(e,function(e,t){null!==e&&(n[t]=nl(new hc([],{}),0,e))}),n}function il(e){var n={};return cc(e,function(e,t){return n[t]=""+e}),n}function ol(e,t,n){return e==n.path&&oc(t,n.parameters)}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var al=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Wc(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,i=Lc(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]}),cc(i,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=Lc(e),o=e.value.component?r.children:t;cc(i,function(e,t){return n.deactivateRouteAndItsChildren(e,o)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,i=Lc(t);e.children.forEach(function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new Ws(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Vs(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(Wc(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component){o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),sl(a.route)}else{var s=function l(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */(r.snapshot),c=s?s.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=c,o.outlet&&o.outlet.activateWith(r,c),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,n)},e}();function sl(e){Wc(e.value),e.children.forEach(sl)}function cl(e){return"function"==typeof e}function ll(e){return e instanceof dc}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */
var ul=function Bu(e){this.segmentGroup=e||null},pl=function ju(e){this.urlTree=e};function dl(t){return new It(function(e){return e.error(new ul(t))})}function hl(t){return new It(function(e){return e.error(new pl(t))})}function fl(t){return new It(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var gl=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(d.NgModuleRef)}return e.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,qs).pipe(Ft(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Nn(function(e){if(e instanceof pl)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof ul)throw t.noMatchError(e);throw e}))},e.prototype.match=function(t){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,qs).pipe(Ft(function(e){return n.createUrlTree(e,t.queryParams,t.fragment)})).pipe(Nn(function(e){if(e instanceof ul)throw n.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,i=0<e.segments.length?new hc([],((r={})[qs]=e,r)):e;return new dc(i,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Ft(function(e){return new hc([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(n,r,e){var i=this;return function t(e,r){if(0===Object.keys(e).length)return Vt({});var i=[],o=[],a={};return cc(e,function(e,t){var n=r(t,e).pipe(Ft(function(e){return a[t]=e}));t===qs?i.push(n):o.push(n)}),Vt.apply(null,i.concat(o)).pipe(yn(),er(),Ft(function(){return a}))}(e.children,function(e,t){return i.expandSegmentGroup(n,r,t,e)})},e.prototype.expandSegment=function(t,n,r,i,o,a){var s=this;return Vt.apply(void 0,O(r)).pipe(Ft(function(e){return s.expandSegmentAgainstRoute(t,n,r,e,i,o,a).pipe(Nn(function(e){if(e instanceof ul)return Vt(null);throw e}))}),yn(),Kn(function(e){return!!e}),Nn(function(e,t){if(e instanceof Gt||"EmptyError"===e.name){if(s.noLeftoversInUrl(n,i,o))return Vt(new hc([],{}));throw new ul(n)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,o,a){return Al(r)!==o?dl(t):r.redirectTo===undefined?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):dl(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,r,e,i){var o=this,t=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?hl(t):this.lineralizeSegments(e,t).pipe(hn(function(e){var t=new hc(e,{});return o.expandSegment(n,t,r,e,i,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,n,r,e,i,o){var a=this,s=ml(n,e,i),c=s.matched,l=s.consumedSegments,u=s.lastChild,p=s.positionalParamSegments;if(!c)return dl(n);var d=this.applyRedirectCommands(l,e.redirectTo,p);return e.redirectTo.startsWith("/")?hl(d):this.lineralizeSegments(e,d).pipe(hn(function(e){return a.expandSegment(t,n,r,e.concat(i.slice(u)),o,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,a,t,n){var c=this;if("**"===t.path)return t.loadChildren?this.configLoader.load(e.injector,t).pipe(Ft(function(e){return t._loadedConfig=e,new hc(n,{})})):Vt(new hc(n,{}));var r=ml(a,t,n),i=r.matched,l=r.consumedSegments,o=r.lastChild;if(!i)return dl(a);var u=n.slice(o);return this.getChildConfig(e,t,n).pipe(hn(function(e){var t=e.module,n=e.routes,r=function s(e,t,n,r){if(0<n.length&&function o(t,n,e){return e.some(function(e){return vl(t,n,e)&&Al(e)!==qs})}(e,n,r)){var i=new hc(t,function l(e,t){var n,r,i={};i[qs]=t;try{for(var o=N(e),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&Al(s)!==qs&&(i[Al(s)]=new hc([],{}))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o["return"])&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new hc(n,e.children)));return{segmentGroup:yl(i),slicedSegments:[]}}if(0===n.length&&function a(t,n,e){return e.some(function(e){return vl(t,n,e)})}(e,n,r)){var i=new hc(e.segments,function p(e,t,n,r){var i,o,a={};try{for(var s=N(n),c=s.next();!c.done;c=s.next()){var l=c.value;vl(e,t,l)&&!r[Al(l)]&&(a[Al(l)]=new hc([],{}))}}catch(u){i={error:u}}finally{try{c&&!c.done&&(o=s["return"])&&o.call(s)}finally{if(i)throw i.error}}return I({},r,a)}(e,n,r,e.children));return{segmentGroup:yl(i),slicedSegments:n}}return{segmentGroup:e,slicedSegments:n}}(a,l,u,n),i=r.segmentGroup,o=r.slicedSegments;return 0===o.length&&i.hasChildren()?c.expandChildren(t,n,i).pipe(Ft(function(e){return new hc(l,e)})):0===n.length&&0===o.length?Vt(new hc(l,{})):c.expandSegment(t,i,n,o,qs,!0).pipe(Ft(function(e){return new hc(l.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(t,r,e){var i=this;return r.children?Vt(new ec(r.children,t)):r.loadChildren?r._loadedConfig!==undefined?Vt(r._loadedConfig):function n(i,o,a){var e=o.canLoad;return e&&0!==e.length?ln(e).pipe(Ft(function(e){var t,n=i.get(e);if(function r(e){return e&&cl(e.canLoad)}(n))t=n.canLoad(o,a);else{if(!cl(n))throw new Error("Invalid CanLoad guard");t=n(o,a)}return lc(t)})).pipe(yn(),function r(t,n){return function(e){return e.lift(new Gn(t,n,e))}}(function(e){return!0===e})):Vt(!0)}(t.injector,r,e).pipe(hn(function(e){return e?i.configLoader.load(t.injector,r).pipe(Ft(function(e){return r._loadedConfig=e})):function n(t){return new It(function(e){return e.error(Xs("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(r)})):Vt(new ec([],t))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Vt(n);if(1<r.numberOfChildren||!r.children[qs])return fl(e.redirectTo);r=r.children[qs]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new dc(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,r){var i={};return cc(e,function(e,t){if("string"==typeof e&&e.startsWith(":")){var n=e.substring(1);i[t]=r[n]}else i[t]=e}),i},e.prototype.createSegmentGroup=function(n,e,r,i){var o=this,t=this.createSegments(n,e.segments,r,i),a={};return cc(e.children,function(e,t){a[t]=o.createSegmentGroup(n,e,r,i)}),new hc(t,a)},e.prototype.createSegments=function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,i=0;try{for(var o=N(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===e.path)return t.splice(i),s;i++}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o["return"])&&r.call(o)}finally{if(n)throw n.error}}return e},e}();function ml(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||0<n.length)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||$s)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function yl(e){if(1===e.numberOfChildren&&e.children[qs]){var t=e.children[qs];return new hc(e.segments.concat(t.segments),t.children)}return e}function vl(e,t,n){return(!(e.hasChildren()||0<t.length)||"full"!==n.pathMatch)&&(""===n.path&&n.redirectTo!==undefined)}function Al(e){return e.outlet||qs}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function bl(n,r,i,a){return function(e){return e.pipe(or(function(t){return function o(e,t,n,r,i){return new gl(e,t,n,r,i).apply()}(n,r,i,t.extractedUrl,a).pipe(Ft(function(e){return I({},t,{urlAfterRedirects:e})}))}))}}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var wl=function Hu(e){this.path=e,this.route=this.path[this.path.length-1]},xl=function zu(e,t){this.component=e,this.route=t};function Cl(e,t,n){var r=function i(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function kl(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=Lc(t);return e.children.forEach(function(e){!function p(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var c=function u(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!gc(e.url,t.url);case"pathParamsOrQueryParamsChange":return!gc(e.url,t.url)||!oc(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gc(e,t)||!oc(e.queryParams,t.queryParams);case"paramsChange":default:return!Gc(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);if(c?i.canActivateChecks.push(new wl(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?kl(e,t,s?s.children:null,r,i):kl(e,t,n,r,i),c){var l=s&&s.outlet&&s.outlet.component||null;i.canDeactivateChecks.push(new xl(l,a))}}else a&&El(t,s,i),i.canActivateChecks.push(new wl(r)),o.component?kl(e,null,s?s.children:null,r,i):kl(e,null,n,r,i);return i}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]}),cc(o,function(e,t){return El(e,n.getContext(t),i)}),i}function El(e,n,r){var t=Lc(e),i=e.value;cc(t,function(e,t){i.component?El(e,n?n.children.getContext(t):null,r):El(e,n,r)}),i.component&&n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new xl(n.outlet.component,i)):r.canDeactivateChecks.push(new xl(null,i))}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var Sl=Symbol("INITIAL_VALUE");function Dl(){return or(function(e){return function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=undefined,r=undefined;return jt(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&mt(e[0])&&(e=e[0]),Ut(e,r).lift(new an(n))}.apply(void 0,O(e.map(function(e){return e.pipe(Vn(1),ir(Sl))}))).pipe(tr(function(e,r){var i=!1;return r.reduce(function(e,t,n){if(e!==Sl)return e;if(t===Sl&&(i=!0),!i){if(!1===t)return t;if(n===r.length-1||ll(t))return t}return e},e)},Sl),wn(function(e){return e!==Sl}),Ft(function(e){return ll(e)?e:!0===e}),Vn(1))})}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Il(s,c){return function(e){return e.pipe(hn(function(t){var r=t.targetSnapshot,e=t.currentSnapshot,n=t.guards,i=n.canActivateChecks,o=n.canDeactivateChecks;return 0===o.length&&0===i.length?Vt(I({},t,{guardsResult:!0})):function a(e,n,r,i){return ln(e).pipe(hn(function(e){return function t(i,o,a,s,c){var e=o&&o.routeConfig?o.routeConfig.canDeactivate:null;return e&&0!==e.length?Vt(e.map(function(e){var t,n=Cl(e,o,c);if(function r(e){return e&&cl(e.canDeactivate)}(n))t=lc(n.canDeactivate(i,o,a,s));else{if(!cl(n))throw new Error("Invalid CanDeactivate guard");t=lc(n(i,o,a,s))}return t.pipe(Kn())})).pipe(Dl()):Vt(!0)}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */(e.component,e.route,r,n,i)}),Kn(function(e){return!0!==e},!0))}(o,r,e,s).pipe(hn(function(e){return e&&function t(e){return"boolean"==typeof e}(e)?function n(i,e,o,a){return ln(e).pipe(Rn(function(e){return ln([function n(e,t){null!==e&&t&&t(new Us(e));return Vt(!0)}(e.route.parent,a),function r(e,t){null!==e&&t&&t(new Qs(e));return Vt(!0)}(e.route,a),function t(o,e,a){var s=e[e.length-1];return Vt(e.slice(0,e.length-1).reverse().map(function(e){return function n(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(i){return An(function(){var e=i.guards.map(function(e){var t,n=Cl(e,i.node,a);if(function r(e){return e&&cl(e.canActivateChild)}(n))t=lc(n.canActivateChild(s,o));else{if(!cl(n))throw new Error("Invalid CanActivateChild guard");t=lc(n(s,o))}return t.pipe(Kn())});return Vt(e).pipe(Dl())})})).pipe(Dl())}(i,e.path,o),function s(i,o,a){var e=o.routeConfig?o.routeConfig.canActivate:null;return e&&0!==e.length?Vt(e.map(function(r){return An(function(){var e,t=Cl(r,o,a);if(function n(e){return e&&cl(e.canActivate)}(t))e=lc(t.canActivate(o,i));else{if(!cl(t))throw new Error("Invalid CanActivate guard");e=lc(t(o,i))}return e.pipe(Kn())})})).pipe(Dl()):Vt(!0)}(i,e.route,o)]).pipe(yn(),Kn(function(e){return!0!==e},!0))}),Kn(function(e){return!0!==e},!0))}(r,i,s,c):Vt(e)}),Ft(function(e){return I({},t,{guardsResult:e})}))}))}}var Pl=function Yu(){};var Tl=function(){function e(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return e.prototype.recognize=function(){try{var e=Ml(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,qs),n=new Yc([],Object.freeze({}),Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,{},qs,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Rc(n,t),i=new Uc(this.url,r);return this.inheritParamsAndData(i._root),Vt(i)}catch(o){return new It(function(e){return e.error(o)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=zc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(n,e){var r=this,t=mc(e,function(e,t){return r.processSegmentGroup(n,e,t)});return function o(e){var i={};e.forEach(function(e){var t=i[e.value.outlet];if(t){var n=t.url.map(function(e){return e.toString()}).join("/"),r=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+n+"' and '"+r+"'.")}i[e.value.outlet]=e.value})}(t),function i(e){e.sort(function(e,t){return e.value.outlet===qs?-1:t.value.outlet===qs?1:e.value.outlet.localeCompare(t.value.outlet)})}(t),t},e.prototype.processSegment=function(e,t,n,r){var i,o;try{for(var a=N(e),s=a.next();!s.done;s=a.next()){var c=s.value;try{return this.processSegmentAgainstRoute(c,t,n,r)}catch(l){if(!(l instanceof Pl))throw l}}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a["return"])&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new Pl},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new Pl;if((e.outlet||qs)!==r)throw new Pl;var i,o=[],a=[];if("**"===e.path){var s=0<n.length?sc(n).parameters:{};i=new Yc(n,s,Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,Ll(e),r,e.component,e,_l(t),Nl(t)+n.length,Bl(e))}else{var c=function g(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||0<n.length))throw new Pl;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||$s)(n,e,t);if(!r)throw new Pl;var i={};cc(r.posParams,function(e,t){i[t]=e.path});var o=0<r.consumed.length?I({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=c.consumedSegments,a=n.slice(c.lastChild),i=new Yc(o,c.parameters,Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,Ll(e),r,e.component,e,_l(t),Nl(t)+o.length,Bl(e))}var l=function m(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),u=Ml(t,o,a,l,this.relativeLinkResolution),p=u.segmentGroup,d=u.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(l,p);return[new Rc(i,h)]}if(0===l.length&&0===d.length)return[new Rc(i,[])];var f=this.processSegment(l,p,d,qs);return[new Rc(i,f)]},e}();function _l(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Nl(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ml(e,t,n,r,i){if(0<n.length&&function c(t,n,e){return e.some(function(e){return Ol(t,n,e)&&Rl(e)!==qs})}(e,n,r)){var o=new hc(t,function d(e,t,n,r){var i,o,a={};(a[qs]=r)._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var s=N(n),c=s.next();!c.done;c=s.next()){var l=c.value;if(""===l.path&&Rl(l)!==qs){var u=new hc([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,a[Rl(l)]=u}}}catch(p){i={error:p}}finally{try{c&&!c.done&&(o=s["return"])&&o.call(s)}finally{if(i)throw i.error}}return a}(e,t,r,new hc(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function l(t,n,e){return e.some(function(e){return Ol(t,n,e)})}(e,n,r)){var a=new hc(e.segments,function f(e,t,n,r,i,o){var a,s,c={};try{for(var l=N(r),u=l.next();!u.done;u=l.next()){var p=u.value;if(Ol(e,n,p)&&!i[Rl(p)]){var d=new hc([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===o?e.segments.length:t.length,c[Rl(p)]=d}}}catch(h){a={error:h}}finally{try{u&&!u.done&&(s=l["return"])&&s.call(l)}finally{if(a)throw a.error}}return I({},i,c)}(e,t,n,r,e.children,i));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new hc(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Ol(e,t,n){return(!(e.hasChildren()||0<t.length)||"full"!==n.pathMatch)&&(""===n.path&&n.redirectTo===undefined)}function Rl(e){return e.outlet||qs}function Ll(e){return e.data||{}}function Bl(e){return e.resolve||{}}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function jl(n,r,i,o,s){return function(e){return e.pipe(hn(function(t){return function a(e,t,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new Tl(e,t,n,r,i,o).recognize()}(n,r,t.urlAfterRedirects,i(t.urlAfterRedirects),o,s).pipe(Ft(function(e){return I({},t,{targetSnapshot:e})}))}))}}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Hl(r,o){return function(e){return e.pipe(hn(function(t){var n=t.targetSnapshot,e=t.guards.canActivateChecks;return e.length?ln(e).pipe(Rn(function(e){return function i(t,e,n,r){return function s(e,n,r,i){var t=Object.keys(e);if(0===t.length)return Vt({});if(1===t.length){var o=t[0];return zl(e[o],n,r,i).pipe(Ft(function(e){var t;return(t={})[o]=e,t}))}var a={};return ln(t).pipe(hn(function(t){return zl(e[t],n,r,i).pipe(Ft(function(e){return a[t]=e}))})).pipe(er(),Ft(function(){return a}))}(t._resolve,t,e,r).pipe(Ft(function(e){return t._resolvedData=e,t.data=I({},t.data,zc(t,n).resolve),null}))}(e.route,n,r,o)}),function i(r,t){return 2<=arguments.length?function(e){return St(tr(r,t),Jn(1),Ln(t))(e)}:function(e){return St(tr(function(e,t,n){return r(e,t,n+1)}),Jn(1))(e)}}(function(e,t){return e}),Ft(function(e){return t})):Vt(t)}))}}function zl(e,t,n,r){var i=Cl(e,t,r);return i.resolve?lc(i.resolve(t,n)):lc(i(t,n))}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function Yl(n){return function(e){return e.pipe(or(function(e){var t=n(e);return t?ln(t).pipe(Ft(function(){return e})):ln([e])}))}}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var Ul=function Uu(){},Vl=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),Ql=new d.InjectionToken("ROUTES"),Wl=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(n,r){var i=this;return this.onLoadStartListener&&this.onLoadStartListener(r),this.loadModuleFactory(r.loadChildren).pipe(Ft(function(e){i.onLoadEndListener&&i.onLoadEndListener(r);var t=e.create(n);return new ec(ac(t.injector.get(Ql)).map(ic),t)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?ln(this.loader.load(e)):lc(e()).pipe(hn(function(e){return e instanceof d.NgModuleFactory?Vt(e):ln(t.compiler.compileModuleAsync(e))}))},e}(),Gl=function Vu(){},Fl=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */
function ql(e){throw e}function Zl(e,t,n){return t.parse("/")}function Kl(e,t){return Vt(null)}var Jl=function(){function e(e,t,n,r,i,o,a,s){var c=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new Mt,this.errorHandler=ql,this.malformedUriErrorHandler=Zl,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kl,afterPreactivation:Kl},this.urlHandlingStrategy=new Fl,this.routeReuseStrategy=new Vl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy";this.ngModule=i.get(d.NgModuleRef),this.console=i.get(d.ɵConsole);var l=i.get(d.NgZone);this.isNgZoneEnabled=l instanceof d.NgZone,this.resetConfig(s),this.currentUrlTree=function u(){return new dc(new hc([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Wl(o,a,function(e){return c.triggerEvent(new zs(e))},function(e){return c.triggerEvent(new Ys(e))}),this.routerState=jc(this.currentUrlTree,this.rootComponentType),this.transitions=new Rt({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var l=this,u=this.events;return e.pipe(wn(function(e){return 0!==e.id}),Ft(function(e){return I({},e,{extractedUrl:l.urlHandlingStrategy.extract(e.rawUrl)})}),or(function(a){var t,n,r,i=!1,s=!1;return Vt(a).pipe(pr(function(e){l.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:l.lastSuccessfulNavigation?I({},l.lastSuccessfulNavigation,{previousNavigation:null}):null}}),or(function(e){var t=!l.navigated||e.extractedUrl.toString()!==l.browserUrlTree.toString();if(("reload"===l.onSameUrlNavigation||t)&&l.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Vt(e).pipe(or(function(e){var t=l.transitions.getValue();return u.next(new _s(e.id,l.serializeUrl(e.extractedUrl),e.source,e.restoredState)),t!==l.transitions.getValue()?Lt:[e]}),or(function(e){return Promise.resolve(e)}),bl(l.ngModule.injector,l.configLoader,l.urlSerializer,l.config),pr(function(e){l.currentNavigation=I({},l.currentNavigation,{finalUrl:e.urlAfterRedirects})}),jl(l.rootComponentType,l.config,function(e){return l.serializeUrl(e)},l.paramsInheritanceStrategy,l.relativeLinkResolution),pr(function(e){"eager"===l.urlUpdateStrategy&&(e.extras.skipLocationChange||l.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id),l.browserUrlTree=e.urlAfterRedirects)}),pr(function(e){var t=new Rs(e.id,l.serializeUrl(e.extractedUrl),l.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);u.next(t)}));if(t&&l.rawUrlTree&&l.urlHandlingStrategy.shouldProcessUrl(l.rawUrlTree)){var n=e.id,r=e.extractedUrl,i=e.source,o=e.restoredState,a=e.extras,s=new _s(n,l.serializeUrl(r),i,o);u.next(s);var c=jc(r,l.rootComponentType).snapshot;return Vt(I({},e,{targetSnapshot:c,urlAfterRedirects:r,extras:I({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return l.rawUrlTree=e.rawUrl,e.resolve(null),Lt}),Yl(function(e){var t=e.targetSnapshot,n=e.id,r=e.extractedUrl,i=e.rawUrl,o=e.extras,a=o.skipLocationChange,s=o.replaceUrl;return l.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!a,replaceUrl:!!s})}),pr(function(e){var t=new Ls(e.id,l.serializeUrl(e.extractedUrl),l.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);l.triggerEvent(t)}),Ft(function(e){return I({},e,{guards:function i(e,t,n){var r=e._root;return kl(r,t?t._root:null,n,[r.value])}(e.targetSnapshot,e.currentSnapshot,l.rootContexts)})}),Il(l.ngModule.injector,function(e){return l.triggerEvent(e)}),pr(function(e){if(ll(e.guardsResult)){var t=Xs('Redirecting to "'+l.serializeUrl(e.guardsResult)+'"');throw t.url=e.guardsResult,t}}),pr(function(e){var t=new Bs(e.id,l.serializeUrl(e.extractedUrl),l.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);l.triggerEvent(t)}),wn(function(e){if(e.guardsResult)return!0;l.resetUrlToCurrentUrlTree();var t=new Ms(e.id,l.serializeUrl(e.extractedUrl),"");return u.next(t),e.resolve(!1),!1}),Yl(function(e){return e.guards.canActivateChecks.length?Vt(e).pipe(pr(function(e){var t=new js(e.id,l.serializeUrl(e.extractedUrl),l.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);l.triggerEvent(t)}),Hl(l.paramsInheritanceStrategy,l.ngModule.injector),pr(function(e){var t=new Hs(e.id,l.serializeUrl(e.extractedUrl),l.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);l.triggerEvent(t)})):undefined}),Yl(function(e){var t=e.targetSnapshot,n=e.id,r=e.extractedUrl,i=e.rawUrl,o=e.extras,a=o.skipLocationChange,s=o.replaceUrl;return l.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!a,replaceUrl:!!s})}),Ft(function(e){var t=function i(e,t,n){var r=Fc(e,t._root,n?n._root:undefined);return new Bc(r,t)}(l.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return I({},e,{targetRouterState:t})}),pr(function(e){l.currentUrlTree=e.urlAfterRedirects,l.rawUrlTree=l.urlHandlingStrategy.merge(l.currentUrlTree,e.rawUrl),l.routerState=e.targetRouterState,"deferred"===l.urlUpdateStrategy&&(e.extras.skipLocationChange||l.setBrowserUrl(l.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),l.browserUrlTree=e.urlAfterRedirects)}),(t=l.rootContexts,n=l.routeReuseStrategy,r=function(e){return l.triggerEvent(e)},Ft(function(e){return new al(n,e.targetRouterState,e.currentRouterState,r).activate(t),e})),pr({next:function(){i=!0},complete:function(){i=!0}}),function e(t){return function(e){return e.lift(new qn(t))}}(function(){if(!i&&!s){l.resetUrlToCurrentUrlTree();var e=new Ms(a.id,l.serializeUrl(a.extractedUrl),"Navigation ID "+a.id+" is not equal to the current navigation id "+l.navigationId);u.next(e),a.resolve(!1)}l.currentNavigation=null}),Nn(function(e){if(s=!0,function i(e){return e&&e[Js]}(e)){var t=ll(e.url);t||(l.navigated=!0,l.resetStateAndUrl(a.currentRouterState,a.currentUrlTree,a.rawUrl));var n=new Ms(a.id,l.serializeUrl(a.extractedUrl),e.message);u.next(n),a.resolve(!1),t&&l.navigateByUrl(e.url)}else{l.resetStateAndUrl(a.currentRouterState,a.currentUrlTree,a.rawUrl);var r=new Os(a.id,l.serializeUrl(a.extractedUrl),e);u.next(r);try{a.resolve(l.errorHandler(e))}catch(o){a.reject(o)}}return Lt}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){return this.transitions.value},e.prototype.setTransition=function(e){this.transitions.next(I({},this.getTransition(),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var i=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var t=i.parseUrl(e.url),n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){i.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.getCurrentNavigation=function(){return this.currentNavigation},e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){tc(e),this.config=e.map(ic),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,i=t.fragment,o=t.preserveQueryParams,a=t.queryParamsHandling,s=t.preserveFragment;d.isDevMode()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,l=s?this.currentUrlTree.fragment:i,u=null;if(a)switch(a){case"merge":u=I({},this.currentUrlTree.queryParams,r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=o?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),qc(c,this.currentUrlTree,e,u,l)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),d.isDevMode()&&this.isNgZoneEnabled&&!d.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=ll(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function r(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(ll(e))return uc(this.currentUrlTree,e,t);var n=this.parseUrl(e);return uc(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(r){return Object.keys(r).reduce(function(e,t){var n=r[t];return null!==n&&n!==undefined&&(e[t]=n),e},{})},e.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Ns(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},e.prototype.scheduleNavigation=function(e,t,n,r){var i=this.getTransition();if(i&&"imperative"!==t&&"imperative"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"hashchange"==t&&"popstate"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"popstate"==t&&"hashchange"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise(function(e,t){o=e,a=t}),c=++this.navigationId;return this.setTransition({id:c,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s["catch"](function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",I({},r,{navigationId:n})):this.location.go(i,"",I({},r,{navigationId:n}))},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}();var Xl=function(){function e(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){d.isDevMode()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.onClick=function(){var e={skipLocationChange:eu(this.skipLocationChange),replaceUrl:eu(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:eu(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:eu(this.preserveFragment)})},enumerable:!0,configurable:!0}),P([d.Input(),_("design:type",Object)],e.prototype,"queryParams",void 0),P([d.Input(),_("design:type",String)],e.prototype,"fragment",void 0),P([d.Input(),_("design:type",String)],e.prototype,"queryParamsHandling",void 0),P([d.Input(),_("design:type",Boolean)],e.prototype,"preserveFragment",void 0),P([d.Input(),_("design:type",Boolean)],e.prototype,"skipLocationChange",void 0),P([d.Input(),_("design:type",Boolean)],e.prototype,"replaceUrl",void 0),P([d.Input(),_("design:type",Object)],e.prototype,"state",void 0),P([d.Input(),_("design:type",Object),_("design:paramtypes",[Object])],e.prototype,"routerLink",null),P([d.Input(),_("design:type",Boolean),_("design:paramtypes",[Boolean])],e.prototype,"preserveQueryParams",null),P([d.HostListener("click"),_("design:type",Function),_("design:paramtypes",[]),_("design:returntype",Boolean)],e.prototype,"onClick",null),e=P([d.Directive({selector:":not(a):not(area)[routerLink]"}),T(2,d.Attribute("tabindex")),_("design:paramtypes",[Jl,Hc,String,d.Renderer2,d.ElementRef])],e)}(),$l=function(){function e(e,t,n){var r=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(function(e){e instanceof Ns&&r.updateTargetUrlAndHref()})}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){d.isDevMode()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.updateTargetUrlAndHref()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onClick=function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:eu(this.skipLocationChange),replaceUrl:eu(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1},e.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:eu(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:eu(this.preserveFragment)})},enumerable:!0,configurable:!0}),P([d.HostBinding("attr.target"),d.Input(),_("design:type",String)],e.prototype,"target",void 0),P([d.Input(),_("design:type",Object)],e.prototype,"queryParams",void 0),P([d.Input(),_("design:type",String)],e.prototype,"fragment",void 0),P([d.Input(),_("design:type",String)],e.prototype,"queryParamsHandling",void 0),P([d.Input(),_("design:type",Boolean)],e.prototype,"preserveFragment",void 0),P([d.Input(),_("design:type",Boolean)],e.prototype,"skipLocationChange",void 0),P([d.Input(),_("design:type",Boolean)],e.prototype,"replaceUrl",void 0),P([d.Input(),_("design:type",Object)],e.prototype,"state",void 0),P([d.HostBinding(),_("design:type",String)],e.prototype,"href",void 0),P([d.Input(),_("design:type",Object),_("design:paramtypes",[Object])],e.prototype,"routerLink",null),P([d.Input(),_("design:type",Boolean),_("design:paramtypes",[Boolean])],e.prototype,"preserveQueryParams",null),P([d.HostListener("click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]),_("design:type",Function),_("design:paramtypes",[Number,Boolean,Boolean,Boolean]),_("design:returntype",Boolean)],e.prototype,"onClick",null),e=P([d.Directive({selector:"a[routerLink],area[routerLink]"}),_("design:paramtypes",[Jl,Hc,u.LocationStrategy])],e)}();function eu(e){return""===e||!!e}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */var tu=function(){function e(e,t,n,r){var i=this;this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(function(e){e instanceof Ns&&i.update()})}return e.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(e.prototype,"routerLinkActive",{set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(function(e){return!!e})},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.update()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.update=function(){var n=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var t=n.hasActiveLinks();n.isActive!==t&&(n.isActive=t,n.classes.forEach(function(e){t?n.renderer.addClass(n.element.nativeElement,e):n.renderer.removeClass(n.element.nativeElement,e)}))})},e.prototype.isLinkActive=function(t){var n=this;return function(e){return t.isActive(e.urlTree,n.routerLinkActiveOptions.exact)}},e.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},P([d.ContentChildren(Xl,{descendants:!0}),_("design:type",d.QueryList)],e.prototype,"links",void 0),P([d.ContentChildren($l,{descendants:!0}),_("design:type",d.QueryList)],e.prototype,"linksWithHrefs",void 0),P([d.Input(),_("design:type",Object)],e.prototype,"routerLinkActiveOptions",void 0),P([d.Input(),_("design:type",Object),_("design:paramtypes",[Object])],e.prototype,"routerLinkActive",null),e=P([d.Directive({selector:"[routerLinkActive]",exportAs:"routerLinkActive"}),_("design:paramtypes",[Jl,d.ElementRef,d.Renderer2,d.ChangeDetectorRef])],e)}(),nu=function Qu(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ru,this.attachRef=null},ru=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new nu,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),iu=function(){function e(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new d.EventEmitter,this.deactivateEvents=new d.EventEmitter,this.name=r||qs,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");var n=(this._activatedRoute=e)._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),i=this.parentContexts.getOrCreateContext(this.name).children,o=new ou(e,i,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},P([d.Output("activate"),_("design:type",Object)],e.prototype,"activateEvents",void 0),P([d.Output("deactivate"),_("design:type",Object)],e.prototype,"deactivateEvents",void 0),e=P([d.Directive({selector:"router-outlet",exportAs:"outlet"}),T(3,d.Attribute("name")),_("design:paramtypes",[ru,d.ViewContainerRef,d.ComponentFactoryResolver,String,d.ChangeDetectorRef])],e)}(),ou=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===Hc?this.route:e===ru?this.childContexts:this.parent.get(e,t)},e}(),au=function Wu(){},su=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Nn(function(){return Vt(null)}))},e}(),cu=function(){function e(){}return e.prototype.preload=function(e,t){return Vt(null)},e}(),lu=function(){function e(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i;this.loader=new Wl(e,n,function(e){return t.triggerEvent(new zs(e))},function(e){return t.triggerEvent(new Ys(e))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(wn(function(e){return e instanceof Ns}),Rn(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(d.NgModuleRef);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,i=[];try{for(var o=N(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var c=s._loadedConfig;i.push(this.processRoutes(c.module,c.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(e,s)):s.children&&i.push(this.processRoutes(e,s.children))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o["return"])&&r.call(o)}finally{if(n)throw n.error}}return ln(i).pipe(mn(),Ft(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(hn(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e=P([d.Injectable(),_("design:paramtypes",[Jl,d.NgModuleFactoryLoader,d.Compiler,d.Injector,au])],e)}(),uu=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof _s?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ns&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Gs&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new Gs(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),pu=[iu,Xl,$l,tu,Fs],du=new d.InjectionToken("ROUTER_CONFIGURATION"),hu=new d.InjectionToken("ROUTER_FORROOT_GUARD"),fu=[u.Location,{provide:yc,useClass:vc},{provide:Jl,useFactory:function Gu(e,t,n,r,i,o,a,s,c,l,u){void 0===c&&(c={});var p=new Jl(null,t,n,r,i,o,a,ac(s));l&&(p.urlHandlingStrategy=l);u&&(p.routeReuseStrategy=u);c.errorHandler&&(p.errorHandler=c.errorHandler);c.malformedUriErrorHandler&&(p.malformedUriErrorHandler=c.malformedUriErrorHandler);if(c.enableTracing){var d=L();p.events.subscribe(function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()})}c.onSameUrlNavigation&&(p.onSameUrlNavigation=c.onSameUrlNavigation);c.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=c.paramsInheritanceStrategy);c.urlUpdateStrategy&&(p.urlUpdateStrategy=c.urlUpdateStrategy);c.relativeLinkResolution&&(p.relativeLinkResolution=c.relativeLinkResolution);return p},deps:[d.ApplicationRef,yc,ru,u.Location,d.Injector,d.NgModuleFactoryLoader,d.Compiler,Ql,du,[Gl,new d.Optional],[Ul,new d.Optional]]},ru,{provide:Hc,useFactory:function Fu(e){return e.routerState.root},deps:[Jl]},{provide:d.NgModuleFactoryLoader,useClass:d.SystemJsNgModuleLoader},lu,cu,su,{provide:du,useValue:{enableTracing:!1}}];
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */function gu(){return new d.NgProbeToken("Router",Jl)}!function(){function e(e,t){}var r;(r=e).forRoot=function(e,t){return{ngModule:r,providers:[fu,Au(e),{provide:hu,useFactory:vu,deps:[[Jl,new d.Optional,new d.SkipSelf]]},{provide:du,useValue:t||{}},{provide:u.LocationStrategy,useFactory:yu,deps:[u.PlatformLocation,[new d.Inject(u.APP_BASE_HREF),new d.Optional],du]},{provide:uu,useFactory:mu,deps:[Jl,u.ViewportScroller,du]},{provide:au,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:cu},{provide:d.NgProbeToken,multi:!0,useFactory:gu},function n(){return[bu,{provide:d.APP_INITIALIZER,multi:!0,useFactory:wu,deps:[bu]},{provide:Cu,useFactory:xu,deps:[bu]},{provide:d.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Cu}]}
/**
     * @license
     * Copyright Google Inc. All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */()]}},e.forChild=function(e){return{ngModule:r,providers:[Au(e)]}},e=r=P([d.NgModule({declarations:pu,exports:pu,entryComponents:[Fs]}),T(0,d.Optional()),T(0,d.Inject(hu)),T(1,d.Optional()),_("design:paramtypes",[Object,Jl])],e)}();function mu(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new uu(e,t,n)}function yu(e,t,n){return void 0===n&&(n={}),n.useHash?new u.HashLocationStrategy(e,t):new u.PathLocationStrategy(e,t)}function vu(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Au(e){return[{provide:d.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:Ql,multi:!0,useValue:e}]}var bu=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new Mt}return e.prototype.appInitializer=function(){var i=this;return this.injector.get(u.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var t=null,e=new Promise(function(e){return t=e}),n=i.injector.get(Jl),r=i.injector.get(du);if(i.isLegacyDisabled(r)||i.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");n.hooks.afterPreactivation=function(){return i.initNavigation?Vt(null):(i.initNavigation=!0,t(!0),i.resultOfPreactivationDone)},n.initialNavigation()}return e})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(du),n=this.injector.get(lu),r=this.injector.get(uu),i=this.injector.get(Jl),o=this.injector.get(d.ApplicationRef);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||e.initialNavigation===undefined},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e=P([d.Injectable(),_("design:paramtypes",[d.Injector])],e)}();function wu(e){return e.appInitializer.bind(e)}function xu(e){return e.bootstrapListener.bind(e)}var Cu=new d.InjectionToken("Router Initializer");new d.Version("7.2.16");var ku=function(){function e(e,t,n){this.renderer2=e,this.el=t,this.router=n,this.items=[]}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){},e.prototype.ngAfterViewInit=function(){},e.prototype.onItemClicked=function(e){e.expanded=!e.expanded,e.route&&this.router.navigate([e.route])},e.decorators=[{type:d.Component,args:[{selector:"np-sidenav",template:'<div class="np-sidenav-wrapper">\r\n  <ng-container *ngTemplateOutlet="sidenavItem; context: { items: items }">\r\n  </ng-container>\r\n</div>\r\n\r\n<ng-template #sidenavItem let-items="items">\r\n  <div class="sidenav-item-wrapper" *ngFor="let item of items">\r\n    <div class="sidenav-item flex-wrap row-flex" (click)="onItemClicked(item)">\r\n      <i class="sidenav-icon" [class]="item.iconName" *ngIf="item.iconName"></i>\r\n      <span>{{ item.displayName }}</span>\r\n      <i *ngIf="item.children && item.children.length > 0" class="fa right-arrow" [ngClass]="{\'fa-angle-left\': !item.expanded, \r\n        \'fa-angle-down\': item.expanded}"></i>\r\n    </div>\r\n\r\n    <ng-container *ngIf="item.expanded">\r\n      <ng-container *ngTemplateOutlet="sidenavItem; context: { items: item.children }">\r\n      </ng-container>\r\n    </ng-container>\r\n  </div>\r\n</ng-template>\r\n',encapsulation:d.ViewEncapsulation.None,styles:[".np-sidenav-wrapper{display:inline-block;width:100%}.np-sidenav-wrapper .sidenav-item-wrapper{font-size:16px;font-weight:500;padding:8px 0 8px 15px}.np-sidenav-wrapper .sidenav-item-wrapper .sidenav-item{align-items:center;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.np-sidenav-wrapper .sidenav-item-wrapper .sidenav-item>span{margin:0 15px}.np-sidenav-wrapper .sidenav-item-wrapper .sidenav-item .right-arrow{position:absolute;top:50%;right:0;transform:translateY(-50%)}"]}]}],e.ctorParameters=function(){return[{type:d.Renderer2},{type:d.ElementRef},{type:Jl}]},e.propDecorators={items:[{type:d.Input}]},e}(),Eu=function(){function e(){}return e.decorators=[{type:d.NgModule,args:[{imports:[u.CommonModule],declarations:[ku],exports:[ku]}]}],e}();e.NpButton=p,e.NpButtonModule=h,e.NpCheckbox=f,e.NpCheckboxModule=g,e.NpInput=y,e.NpInputModule=v,e.NpTree=ct,e.NpTreeModule=lt,e.DialogConfig=ut,e.DialogRef=kn,e.NpDialog=Sn,e.DialogService=Pn,e.NpDialogModule=Dn,e.NpPaginator=Tn,e.NpPaginatorModule=vr,e.NpSharedModule=nt,e.LoadingService=Ar,e.SafeHtmlPipe=tt,e.NpTabGroup=xr,e.NpTab=wr,e.NpTabHeaderDirective=br,e.NpTabModule=Cr,e.NpTextarea=kr,e.NpTextareaModule=Er,e.NpTable=qr,e.NpColumnDirective=Sr,e.NpTableModule=Zr,e.NpRadioButton=Kr,e.NpRadioButtonModule=Xr,e.NpRadioGroup=Jr,e.NpStep=ni,e.NpStepperComponent=ri,e.NpStepperModule=ii,e.NpTitle=oi,e.NpTitleModule=si,e.NpSwitch=ci,e.NpSwitchModule=li,e.NpProgressBar=pi,e.NpProgressBarModule=di,e.NpCircleBar=fi,e.NpPercentCircleBarComponent=gi,e.NpCircleBarModule=mi,e.NpLoading=yi,e.NpSolidLoading=vi,e.NpLoadingModule=Ai,e.NpTooltip=C,e.NpTooltipDirective=k,e.NpTooltipModule=rt,e.NpPanel=Ci,e.NpPanelHeaderDirective=wi,e.NpPanelBodyDirective=xi,e.NpPanelFooterDirective=bi,e.NpPanelModule=ki,e.NpBadgeDirective=Ei,e.NpBadgeModule=Si,e.NpBox=Di,e.NpBoxModule=Ii,e.NpKebab=it,e.NpKebabModule=ot,e.NpDraggablePics=mo,e.NpDraggablePicsModule=vo,e.DragDrop=$i,e.DragRef=Bi,e.DropListRef=Gi,e.CdkDropList=fo,e.CDK_DROP_LIST=eo,e.CDK_DROP_LIST_CONTAINER=to,e.moveItemInArray=Vi,e.transferArrayItem=function qu(e,t,n,r){var i=Qi(n,e.length-1),o=Qi(r,t.length);e.length&&t.splice(o,0,e.splice(i,1)[0])},e.copyArrayItem=function Zu(e,t,n,r){var i=Qi(r,t.length);e.length&&t.splice(i,0,e[n])},e.NpDragDropModule=go,e.DragDropRegistry=Ji,e.CdkDropListGroup=uo,e.CDK_DRAG_CONFIG_FACTORY=so,e.CDK_DRAG_CONFIG=ao,e.CdkDrag=co,e.CdkDragHandle=ro,e.CdkDragPreview=oo,e.CdkDragPlaceholder=io,e.NpImgUpload=Ao,e.NpImgUploadModule=bo,e.NpCropper=ts,e.NpCropperModule=ns,e.registerNpDatePickerLocale=function Ku(e){void 0===e&&(e="zh-cn"),Ps.locale(e)},e.NpDatePickerHeader=ps,e.NpDatePicker=gs,e.NpDatePickerPopup=hs,e.NpDateViaPickerModule=Is,e.NpDropdown=mr,e.NpDropdownModule=yr,e.NpSideNav=ku,e.NpSideNavModule=Eu,e.ɵe=fr,e.ɵq=ys,e.ɵt=Es,e.ɵr=Cs,e.ɵn=ls,e.ɵu=Ds,e.ɵo=As,e.ɵp=ws,e.ɵc=En,e.ɵm=no,e.ɵd=_n,e.ɵl=ui,e.ɵb=E,e.ɵs=xs,e.ɵj=ti,e.ɵh=$r,e.ɵi=ei,e.ɵg=Dr,e.ɵf=Ir,e.ɵk=ai,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ngx-pluto.umd.min.js.map