PageSourceSearch

https://bestellung.labor-becker.de/main-es2015.cd62771a2a572c89ad81.js

js labor-becker.de collected 2026-10-06 02:51:08 UTC 1,243,606 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"/7L9":function(e,t,n){"use strict";var r=n("IWKj");e.exports=r({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0024:"DevExtreme bundle already included",E0025:"Unexpected argument type",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0103:"validationCallback of an asynchronous rule should return a jQuery or a native promise",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The 'customItem' field of the 'onCustomItemCreating' function's parameter should contain a custom item or Promise that is resolved after the item is created.",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",W0007:"'{0}' Globalize culture is not defined",W0008:"Invalid view name: '{0}'",W0009:"Invalid time zone name: '{0}'",W0010:"{0} is deprecated in {1}. {2}",W0011:"Number parsing is invoked while the parser is not defined",W0012:"Date parsing is invoked while the parser is not defined",W0013:"'{0}' file is deprecated in {1}. {2}",W0014:"{0} - '{1}' type is deprecated in {2}. {3}",W0015:"Instead of returning a value from the '{0}' function, write it into the '{1}' field of the function's parameter.",W0016:'The "{0}" option does not accept the "{1}" value since v.{2}. {3}.'})},"/A8S":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("65fl"),n("2oOB");var r=function(){return function(){}}()},"/DUC":function(e,t,n){"use strict";var r=function(e){var t=e&&e.charCodeAt(0);return e>="0"&&e<="9"||t>=1632&&t<1642},i=function(e,t,n){var i=e[t],o=e[t+1];if(!n){if("."===i||" "===i&&". m."===e.slice(t-1,t+3))return!0;if("-"===i&&!r(o))return!0}return" .,:;/\\<>()-[]\u060c".indexOf(i)<0&&n===r(i)},o=function(e,t){if(!r(e[t]))for(;t>0&&!r(e[t-1])&&("."===e[t-1]||" .,:;/\\<>()-[]\u060c".indexOf(e[t-1])<0);)t--;return t},s=function(e,t){return Array.isArray(e)?e.map((function(e){return(t(e)||"").toString()})):(t(e)||"").toString()},a=/[a-zA-Z]/g;t.getFormat=function(e){var t=[],n=s(new Date(2009,8,8,6,5,4),e),l=n.split("").map((function(e,t){return t})),u=n,c={},d=[{date:new Date(2009,8,8,6,5,4,100),pattern:"S"},{date:new Date(2009,8,8,6,5,2),pattern:"s"},{date:new Date(2009,8,8,6,2,4),pattern:"m"},{date:new Date(2009,8,8,18,5,4),pattern:"H",isDigit:!0},{date:new Date(2009,8,8,2,5,4),pattern:"h",isDigit:!0},{date:new Date(2009,8,8,18,5,4),pattern:"a",isDigit:!1},{date:new Date(2009,8,1,6,5,4),pattern:"d"},{date:[new Date(2009,8,2,6,5,4),new Date(2009,8,3,6,5,4),new Date(2009,8,4,6,5,4)],pattern:"E"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(u)return d.forEach((function(a){var d=function(e,t,n,s){var a=0,l=[],u=function(t){return e[a]!==t[a]&&(void 0===s||r(e[a])===s)};for(Array.isArray(t)||(t=[t]),a=0;a<e.length;a++)if(n.indexOf(a)<0&&t.filter(u).length){a=o(e,a);do{if(s=r(e[a]),!l.length&&!s&&r(t[0][a]))break;l.push(a),n.unshift(a),a++}while(e[a]&&i(e,a,s));break}return 1!==l.length||"0"!==e[n[0]-1]&&"\u0660"!==e[n[0]-1]||n.unshift(n[0]-1),l}(n,s(a.date,e),t,a.isDigit),h="M"!==a.pattern||c.d?a.pattern:"L";u=function(e,t,n,i){var o,s,a;if(!r(e[t[0]]||"0")){for(var l=Math.max(t.length<=3?3:4,n.length);t.length>l;){for(a=i[s=t.pop()],i[s]=-1,o=s+1;o<i.length;o++)i[o]--;e=e.substr(0,a)+e.substr(a+1)}for(a=(s=t[t.length-1]+1)<i.length?i[s]:s;t.length<l;){for(t.push(t[t.length-1]+1),o=s;o<i.length;o++)i[o]++;e=e.substr(0,a)+" "+e.substr(a)}}return function(e,t,n,r){var i=t[0],o=i<r.length?r[i]:i;return t.forEach((function(t,r){e=e.substr(0,o+r)+(n.length>1?n[r]:n)+e.substr(o+r+1)})),1===t.length&&(e=(e=e.replace("0"+n,n+n)).replace("\u0660"+n,n+n)),e}(e,t,n,i)}
1(u,d,h,l),c[h]=d.length})),u=function(e,t,n,r){var i=t.split("").map((function(e,t){return n.indexOf(t)<0&&(e.match(a)||"'"===e)?r[t]:-1}));return e.split("").map((function(e,t){var n=e,r=i.indexOf(t)>=0,o=t>0&&i.indexOf(t-1)>=0,s=i.indexOf(t+1)>=0;return r&&(o||(n="'"+n),s||(n+="'")),n})).join("")}(u,n,t,l),t.length?u:void 0}},"/Tty":function(e,t,n){},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}class s extends r.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"0fkH":function(e,t,n){"use strict";var r=n("8Y7J"),i=n("mrSG"),o=n("eIep"),s=n("IzEk"),a=n("/uUt"),l=n("Kj3r"),u=n("pLZG"),c=n("JX91"),d=n("lJxs"),h=n("s7LF"),p=n("HDdC");function f(e){return!!e&&(e instanceof p.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var g=n("XNiG"),m=n("VRyK"),y=n("LRne");function b(e,t,n){if(t.id)return t.id;let r=t.type;return!r&&t.template&&(r="template"),x(r)&&(r=r.prototype.constructor.name),[e,r,t.key,n].join("_")}function _(e){if(!e.key)return[];if(!e._keyPath||e._keyPath.key!==e.key){let t=[];if("string"==typeof e.key){const n=-1===e.key.indexOf("[")?e.key:e.key.replace(/\[(\w+)\]/g,".$1");t=-1!==n.indexOf(".")?n.split("."):[n]}else t=Array.isArray(e.key)?e.key.slice(0):[""+e.key];e._keyPath={key:e.key,path:t}}return e._keyPath.path.slice(0)}n.d(t,"g",(function(){return L})),n.d(t,"f",(function(){return U})),n.d(t,"d",(function(){return G})),n.d(t,"a",(function(){return R})),n.d(t,"e",(function(){return N})),n.d(t,"h",(function(){return k})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return B})),n.d(t,"i",(function(){return Z})),n.d(t,"j",(function(){return Q})),n.d(t,"m",(function(){return W})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return V}));const v=["required","pattern","minLength","maxLength","min","max"];function E(e,t){let n=_(e);if(0===n.length)return;let r=e;for(;r.parent;)r=r.parent,n=[..._(r),...n];if(void 0===t&&e.resetOnHide){const e=n.pop();delete n.reduce((e,t)=>e[t]||{},r.model)[e]}else!function(e,t,n){for(let r=0;r<t.length-1;r++){const n=t[r];e[n]&&O(e[n])||(e[n]=/^\d+$/.test(t[r+1])?[]:{}),e=e[n]}e[t[t.length-1]]=A(n)}(r.model,n,t)}function S(e){let t=e.parent.model;for(const n of _(e)){if(!t)return t;t=t[n]}return t}function C(e,...t){return t.forEach(t=>{for(let i in t)w(e[i])||""===e[i]?e[i]=A(t[i]):(r=t[i],O(n=e[i])&&O(r)&&Object.getPrototypeOf(n)===Object.getPrototypeOf(r)&&!Array.isArray(n)&&!Array.isArray(r)&&C(e[i],t[i]));var n,r}),e}function w(e){return null==e}function T(e){return void 0===e}function x(e){return"function"==typeof e}function O(e){return null!=e&&"object"==typeof e}function A(e){if(!O(e)||f(e)||e instanceof r.K||e.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(e.constructor.name))return e;if(e instanceof Set)return new Set(e);if(e instanceof Map)return new Map(e);if(e._isAMomentObject&&x(e.clone))return e.clone();if(e instanceof h.a)return null;if(e instanceof Date)return new Date(e.getTime());if(Array.isArray(e))return e.slice(0).map(e=>A(e));const t=Object.getPrototypeOf(e);let n=Object.create(t);
1return n=Object.setPrototypeOf(n,t),Object.keys(e).reduce((t,n)=>{const r=Object.getOwnPropertyDescriptor(e,n);return r.get?Object.defineProperty(t,n,r):t[n]=A(e[n]),t},n)}function D(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0}),e[t]=n}function I(e,t,n){e._observers||D(e,"_observers",{}),e._observers[t]||(e._observers[t]=[]);let r=e._observers[t];return-1===r.indexOf(n)&&(r.push(n),n({currentValue:e[t],firstChange:!0}),1===r.length&&(D(e,"___$"+t,e[t]),Object.defineProperty(e,t,{configurable:!0,get:()=>e["___$"+t],set:n=>{if(n!==e["___$"+t]){const i=e["___$"+t];e["___$"+t]=n,r.forEach(e=>e({previousValue:i,currentValue:n,firstChange:!1}))}}}))),()=>r.splice(r.indexOf(n),1)}const R=new r.p("FORMLY_CONFIG");let N=(()=>{class e{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.templateManipulators={preWrapper:[],postWrapper:[]},this.extras={checkExpressionOn:"changeDetectionCheck",lazyRender:!1,showError:function(e){return e.formControl&&e.formControl.invalid&&(e.formControl.touched||e.options.parentForm&&e.options.parentForm.submitted||!(!e.field.validation||!e.field.validation.show))}},this.extensions={}}addConfig(e){e.types&&e.types.forEach(e=>this.setType(e)),e.validators&&e.validators.forEach(e=>this.setValidator(e)),e.wrappers&&e.wrappers.forEach(e=>this.setWrapper(e)),e.manipulators&&(console.warn("NgxFormly: passing 'manipulators' config is deprecated, use custom extension instead."),e.manipulators.forEach(e=>this.setManipulator(e))),e.validationMessages&&e.validationMessages.forEach(e=>this.addValidatorMessage(e.name,e.message)),e.extensions&&e.extensions.forEach(e=>this.extensions[e.name]=e.extension),e.extras&&(this.extras=Object.assign({},this.extras,e.extras))}setType(e){Array.isArray(e)?e.forEach(e=>this.setType(e)):(this.types[e.name]||(this.types[e.name]={name:e.name}),["component","extends","defaultOptions","wrappers"].forEach(t=>{e.hasOwnProperty(t)&&(this.types[e.name][t]=e[t])}))}getType(e){if(!this.types[e])throw new Error(`[Formly Error] The type "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.mergeExtendedType(e),this.types[e]}getMergedField(e={}){const t=this.getType(e.type);t.defaultOptions&&C(e,t.defaultOptions);const n=t.extends&&this.getType(t.extends).defaultOptions;n&&C(e,n),e&&e.optionsTypes&&e.optionsTypes.forEach(t=>{const n=this.getType(t).defaultOptions;n&&C(e,n)});const r=this.resolveFieldTypeRef(e);r&&r.instance&&r.instance.defaultOptions&&C(e,r.instance.defaultOptions),!e.wrappers&&t.wrappers&&(e.wrappers=[...t.wrappers])}resolveFieldTypeRef(e={}){if(!e.type)return null;const t=this.getType(e.type);if(!t.component||t._componentRef)return t._componentRef;const{_resolver:n,_injector:r}=e.parent.options,i=n.resolveComponentFactory(t.component).create(r);return D(t,"_componentRef",i),i.destroy(),t._componentRef}setWrapper(e){this.wrappers[e.name]=e,e.types&&e.types.forEach(t=>{this.setTypeWrapper(t,e.name)})}getWrapper(e){if(!this.wrappers[e])throw new Error(`[Formly Error] The wrapper "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[e]}setTypeWrapper(e,t){this.types[e]||(this.types[e]={}),this.types[e].wrappers||(this.types[e].wrappers=[]),-1===this.types[e].wrappers.indexOf(t)&&this.types[e].wrappers.push(t)}setValidator(e){this.validators[e.name]=e}getValidator(e){if(!this.validators[e])throw new Error(`[Formly Error] The validator "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[e]}addValidatorMessage(e,t){this.messages[e]=t}getValidatorMessage(e){return this.messages[e]}setManipulator(e){(new e.class)[e.method](this)}mergeExtendedType(e){if(!this.types[e].extends)return;const t=this.getType(this.types[e].extends);this.types[e].component||(this.types[e].component=t.component),this.types[e].wrappers||(this.types[e].wrappers=t.wrappers)}}return e.ngInjectableDef=Object(r.R)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),k=(()=>{class e{constructor(e,t,n){this.formlyConfig=e,this.componentFactoryResolver=t,this.injector=n}buildForm(e,t=[],n,r){if(!this.formlyConfig.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");const i={fieldGroup:t,model:n,formControl:e,options:this._setOptions(r)};!function(e,t){const n=e._updateTreeValidity.bind(e);e._updateTreeValidity=()=>{},t(),e._updateTreeValidity=n}(e,()=>{this._buildForm(i),i.options._checkField(i,!0)})}
1_buildForm(e){this.getExtensions().forEach(t=>t.prePopulate&&t.prePopulate(e)),this.getExtensions().forEach(t=>t.onPopulate&&t.onPopulate(e)),e.fieldGroup&&e.fieldGroup.forEach(e=>this._buildForm(e)),this.getExtensions().forEach(t=>t.postPopulate&&t.postPopulate(e))}getExtensions(){return Object.keys(this.formlyConfig.extensions).map(e=>this.formlyConfig.extensions[e])}_setOptions(e){return(e=e||{}).formState=e.formState||{},e.showError||(e.showError=this.formlyConfig.extras.showError),e.fieldChanges||D(e,"fieldChanges",new g.a),e._resolver||D(e,"_resolver",this.componentFactoryResolver),e._injector||D(e,"_injector",this.injector),e._hiddenFieldsForCheck||(e._hiddenFieldsForCheck=[]),e._markForCheck||(e._markForCheck=t=>{t._componentRefs&&t._componentRefs.forEach(e=>{e.injector.get(r.h).markForCheck()}),t.fieldGroup&&t.fieldGroup.forEach(t=>e._markForCheck(t))}),e._buildField||(e._buildField=e=>(this._setOptions(e.options),this._buildForm(e),e.options._checkField(e,!0),e)),e}}return e.ngInjectableDef=Object(r.R)({factory:function(){return new e(Object(r.V)(N),Object(r.V)(r.j),Object(r.V)(r.n))},token:e,providedIn:"root"}),e})();function M(e,t,n=!1){(t=t||e.formControl)._fields||D(t,"_fields",[]),-1===t._fields.indexOf(e)&&t._fields.push(e),!e.formControl&&t&&(D(e,"formControl",t),t.setValidators(null),t.setAsyncValidators(null),e.templateOptions.disabled=!!e.templateOptions.disabled,I(e.templateOptions,"disabled",({firstChange:t,currentValue:n})=>{t||(n?e.formControl.disable():e.formControl.enable())}),t.registerOnDisabledChange&&t.registerOnDisabledChange(t=>{e.templateOptions.___$disabled=t,e.options&&e.options._markForCheck(e)}));let r=e.parent.formControl;if(!r||!e.key)return;const i=_(e),o=S(e);w(t.value)&&w(o)||t.value===o||!(t instanceof h.h)||t.patchValue(o);for(let a=0;a<i.length-1;a++){const e=i[a];r.get([e])||P(r,{emitEvent:n},()=>r.setControl(e,new h.k({}))),r=r.get([e])}const s=i[i.length-1];e._hide||r.get([s])===t||P(r,{emitEvent:n},()=>r.setControl(s,t))}function F(e,t=!1){const n=e.status,r=e.value;e.updateValueAndValidity({emitEvent:!1,onlySelf:t}),n!==e.status&&e.statusChanges.emit(e.status),r!==e.value&&e.valueChanges.emit(e.value)}function P(e,t,n){e instanceof h.k&&!e.__patchForEachChild&&(D(e,"__patchForEachChild",!0),e._forEachChild=t=>{Object.keys(e.controls).forEach(n=>e.controls[n]&&t(e.controls[n],n))});const r=e.updateValueAndValidity.bind(e);!1===t.emitEvent&&(e.updateValueAndValidity=e=>{r(Object.assign({},e||{},{emitEvent:!1}))}),n(),!1===t.emitEvent&&(e.updateValueAndValidity=r)}class L{constructor(e,t,n,i,a){this.formlyBuilder=e,this.formlyConfig=t,this.ngZone=n,this.parentFormGroup=a,this.modelChange=new r.m,this.immutable=!1,this._modelChangeValue={},this.modelChangeSubs=[],this.modelChange$=new g.a,this.modelChangeSub=this.modelChange$.pipe(Object(o.a)(()=>this.ngZone.onStable.asObservable().pipe(Object(s.a)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=A(this.model))})),null!==i&&console.warn("NgxFormly: passing 'immutable' attribute to 'formly-form' component is deprecated since v5.5, enable immutable mode through NgModule declaration instead."),this.immutable=null!==i||!!t.extras.immutable}set model(e){this._model=this.immutable?A(e):e}get model(){return this._model||(this._model={}),this._model}set fields(e){this._fields=this.immutable?A(e):e}get fields(){return this._fields||[]}set options(e){this._options=this.immutable?A(e):e}get options(){return this._options}set content(e){if(e){let t=!1,n=e.nativeElement.nextSibling;for(;n&&!t;)(n.nodeType===Node.ELEMENT_NODE||n.nodeType===Node.TEXT_NODE&&n.textContent&&""!==n.textContent.trim())&&(t=!0),n=n.nextSibling;t&&console.warn("NgxFormly: content projection for 'formly-form' component is deprecated since v5.5, you should avoid passing content inside the 'formly-form' tag.")}}ngDoCheck(){"changeDetectionCheck"===this.formlyConfig.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(e){e.model&&this.field&&(this.field.model=this.model),e.fields&&this.form&&function e(t){t._fields&&delete t._fields,t.setValidators(null),t.setAsyncValidators(null),(t instanceof h.k||t instanceof h.f)&&Object.keys(t.controls).forEac
1h(n=>e(t.controls[n]))}(this.form),(e.fields||e.form||e.model&&this._modelChangeValue!==e.model.currentValue)&&(this.form=this.form||new h.k({}),this.setOptions(),this.options.updateInitialValue(),this.clearModelSubscriptions(),this.formlyBuilder.buildForm(this.form,this.fields,this.model,this.options),this.trackModelChanges(this.fields))}ngOnDestroy(){this.modelChangeSub.unsubscribe(),this.clearModelSubscriptions()}changeModel({value:e,field:t}){E(t,e),this.modelChange$.next()}setOptions(){this.options||(this.options={}),this.options.resetModel||(this.options.resetModel=e=>{e=A(w(e)?this.options._initialModel:e),this.model&&(Object.keys(this.model).forEach(e=>delete this.model[e]),Object.assign(this.model,e||{})),this.options._buildForm(),this.options.parentForm&&this.options.parentForm.control===this.form?this.options.parentForm.resetForm(this.model):this.form.reset(this.model)}),!this.options.parentForm&&this.parentFormGroup&&(D(this.options,"parentForm",this.parentFormGroup),I(this.options.parentForm,"submitted",({firstChange:e})=>{e||(this.checkExpressionChange(),this.options._markForCheck({fieldGroup:this.fields,model:this.model,formControl:this.form,options:this.options}))})),this.options.updateInitialValue||(this.options.updateInitialValue=()=>this.options._initialModel=A(this.model)),this.options._buildForm||(this.options._buildForm=(e=!1)=>{this.clearModelSubscriptions(),this.formlyBuilder.buildForm(this.form,this.fields,this.model,this.options),this.trackModelChanges(this.fields),e&&this.modelChange.emit(this._modelChangeValue=A(this.model))}),this.options._trackModelChanges||(this.options._trackModelChanges=(e=!1)=>{this.clearModelSubscriptions(),this.trackModelChanges(this.fields),e&&this.modelChange.emit(this._modelChangeValue=A(this.model))})}checkExpressionChange(){this.options&&this.options._checkField&&this.options._checkField({fieldGroup:this.fields,model:this.model,formControl:this.form,options:this.options})}trackModelChanges(e,t=[]){e.forEach(e=>{if(e.key&&!e.fieldGroup&&e.formControl){const n=e.formControl;let r=n.valueChanges.pipe(Object(a.a)((e,t)=>e===t&&!Array.isArray(e)&&!O(e)));const{updateOn:i,debounce:o}=e.modelOptions;(!i||"change"===i)&&o&&o.default>0&&(r=n.valueChanges.pipe(Object(l.a)(o.default))),this.modelChangeSubs.push(r.subscribe(r=>{n instanceof h.h&&n._fields&&n._fields.length>1&&n.patchValue(r,{emitEvent:!1,onlySelf:!0}),e.parsers&&e.parsers.length>0&&e.parsers.forEach(e=>r=e(r)),this.changeModel({key:[...t,..._(e)].join("."),value:r,field:e})}));const s=n.valueChanges.observers;s&&s.length>1&&s.unshift(s.pop())}e.fieldGroup&&e.fieldGroup.length>0&&this.trackModelChanges(e.fieldGroup,e.key?[...t,..._(e)]:t)})}clearModelSubscriptions(){this.modelChangeSubs.forEach(e=>e.unsubscribe()),this.modelChangeSubs=[]}get field(){return this.fields&&this.fields[0]&&this.fields[0].parent}}class U{constructor(e,t,n,i,o){this.formlyConfig=e,this.renderer=t,this.resolver=n,this.elementRef=i,this.warnDeprecation=!1,this.modelChange=new r.m,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.warnDeprecation=null===o}set model(e){this.warnDeprecation&&console.warn(`NgxFormly: passing 'model' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}set form(e){this.warnDeprecation&&console.warn(`NgxFormly: passing 'form' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}set options(e){this.warnDeprecation&&console.warn(`NgxFormly: passing 'options' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterContentChecked(){this.triggerHook("afterContentChecked")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngAfterViewChecked(){this.triggerHook("afterViewChecked")}ngDoCheck(){this.triggerHook("doCheck"),this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(e){this.triggerHook("onChanges",e)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEac
1h(e=>e()),this.hooksObservers.forEach(e=>e()),this.triggerHook("onDestroy")}renderField(e,t,n=[]){if(this.containerRef===e&&(this.resetRefs(this.field),this.containerRef.clear(),n=this.field?this.field.wrappers:[]),n&&n.length>0){const[r,...i]=n,{component:o}=this.formlyConfig.getWrapper(r),s=e.createComponent(this.resolver.resolveComponentFactory(o));this.attachComponentRef(s,t),I(s.instance,"fieldComponent",({firstChange:e,previousValue:n,currentValue:r})=>{if(r){if(n&&n._lContainer===r._lContainer)return;const o=n?n.detach():null;o&&!o.destroyed?r.insert(o):this.renderField(r,t,i),!e&&s.changeDetectorRef.detectChanges()}})}else if(t&&t.type){const{component:n}=this.formlyConfig.getType(t.type),r=e.createComponent(this.resolver.resolveComponentFactory(n));this.attachComponentRef(r,t)}}triggerHook(e,t){if(this.field&&this.field.hooks&&this.field.hooks[e]&&(!t||t.field)){const t=this.field.hooks[e](this.field);if(f(t)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(e)){const e=t.subscribe();this.hooksObservers.push(()=>e.unsubscribe())}}this.field&&this.field.lifecycle&&this.field.lifecycle[e]&&this.field.lifecycle[e](this.field.form,this.field,this.field.model,this.field.options),"onChanges"===e&&t.field&&(this.resetRefs(t.field.previousValue),this.render())}
1attachComponentRef(e,t){this.componentRefs.push(e),t._componentRefs.push(e),Object.assign(e.instance,{field:t})}render(){this.field&&(this.field.options?(this.detectFieldBuild=!1,this.hostObservers.forEach(e=>e()),this.hostObservers=[I(this.field,"hide",({firstChange:e,currentValue:t})=>{(!e||e&&t)&&this.renderer.setStyle(this.elementRef.nativeElement,"display",t?"none":""),this.formlyConfig.extras.lazyRender?t?(this.containerRef.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(this.containerRef,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)):e&&this.renderField(this.containerRef,this.field)}),I(this.field,"className",({firstChange:e,currentValue:t})=>{!(!e||e&&t)||this.formlyConfig.extras.lazyRender&&!0===this.field.hide||this.renderer.setAttribute(this.elementRef.nativeElement,"class",t)})]):this.detectFieldBuild=!0)}resetRefs(e){e&&(e._componentRefs?e._componentRefs=e._componentRefs.filter(e=>-1===this.componentRefs.indexOf(e)):D(this.field,"_componentRefs",[])),this.componentRefs=[]}}class G{constructor(e,t,n){this.renderer=e,this.elementRef=t,this.uiAttributesCache={},this.uiAttributes=null,this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(e,t)=>{switch(e){case"focus":return this.onFocus(t);case"blur":return this.onBlur(t);case"change":return this.onChange(t);default:return this.to[e](this.field,t)}}},this.document=n}get to(){return this.field.templateOptions||{}}get fieldAttrElements(){return this.field&&this.field._elementRefs||[]}ngOnChanges(e){e.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(e=>e()),this.uiEvents.events.forEach(e=>{(this.to&&this.to[e]||-1!==["focus","blur","change"].indexOf(e))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,e,t=>this.uiEvents.callback(e,t)))}),this.to&&this.to.attributes&&I(this.to,"attributes",({currentValue:e,previousValue:t})=>{t&&Object.keys(t).forEach(e=>this.removeAttribute(e)),e&&Object.keys(e).forEach(t=>{null!=e[t]&&this.setAttribute(t,e[t])})}),this.detachElementRef(e.field.previousValue),this.attachElementRef(e.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),I(this.field,"focus",({currentValue:e})=>{this.toggleFocus(e)}))),e.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const e=this.elementRef.nativeElement;this.uiAttributes=[...v,"tabindex","placeholder","readonly","disabled","step"].filter(t=>!e.hasAttribute||!e.hasAttribute(t))}this.uiAttributes.forEach(e=>{const t=this.to[e];this.uiAttributesCache[e]===t||this.to.attributes&&this.to.attributes.hasOwnProperty(e.toLowerCase())||(this.uiAttributesCache[e]=t,t||0===t?this.setAttribute(e,!0===t?e:""+t):this.removeAttribute(e))})}ngOnDestroy(){this.uiEvents.listeners.forEach(e=>e()),this.detachElementRef(this.field)}toggleFocus(e){const t=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!t||!t.nativeElement.focus)return;const n=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:e})=>this.document.activeElement===e||e.contains(this.document.activeElement));e&&!n?Promise.resolve().then(()=>t.nativeElement.focus()):!e&&n&&Promise.resolve().then(()=>t.nativeElement.blur())}onFocus(e){this.field.___$focus=!0,this.to.focus&&this.to.focus(this.field,e)}onBlur(e){this.field.___$focus=!1,this.to.blur&&this.to.blur(this.field,e)}onHostChange(e){e instanceof Event||this.onChange(e)}onChange(e){this.to.change&&this.to.change(this.field,e),this.field.formControl&&this.field.formControl.markAsDirty()}attachElementRef(e){e&&(e._elementRefs&&-1===e._elementRefs.indexOf(this.elementRef)?e._elementRefs.push(this.elementRef):D(e,"_elementRefs",[this.elementRef]))}detachElementRef(e){const t=e&&e._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==t&&this.field._elementRefs.splice(t,1)}setAttribute(e,t){this.renderer.setAttribute(this.elementRef.nativeElement,e,t)}removeAttribute(e){this.renderer.removeAttribute(this.elementRef.nativeElement,e)}}class H{get model(){return this.field.model}set model(e){console.warn(`NgxFormly: passing 'model' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}get form(){return this.field.parent.formControl}set form(e){console.warn(`NgxFormly: passing 'form' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}get options(){return this.field.options}set options(e){console.warn(`NgxFormly: passing 'options' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}get key(){return this.field.key}get formControl(){return this.field.formControl}get to(){return this.field.templateOptions||{}}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}class B extends H{}class j extends H{constructor(){super(...arguments),this.defaultOptions={defaultValue:{}}}}class V{constructor(e){this.formlyConfig=e}
1ngOnChanges(){const e=v.map(e=>"templateOptions."+e);this.errorMessage$=Object(m.a)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe(Object(u.a)(({field:t,type:n,property:r})=>t===this.field&&"expressionChanges"===n&&(-1!==r.indexOf("validation")||-1!==e.indexOf(r)))):Object(y.a)(null)).pipe(Object(c.a)(null),Object(o.a)(()=>f(this.errorMessage)?this.errorMessage:Object(y.a)(this.errorMessage)))}get errorMessage(){const e=this.field.formControl;for(let t in e.errors)if(e.errors.hasOwnProperty(t)){let n=this.formlyConfig.getValidatorMessage(t);if(O(e.errors[t])){if(e.errors[t].errorPath)return;e.errors[t].message&&(n=e.errors[t].message)}return this.field.validation&&this.field.validation.messages&&this.field.validation.messages[t]&&(n=this.field.validation.messages[t]),this.field.validators&&this.field.validators[t]&&this.field.validators[t].message&&(n=this.field.validators[t].message),this.field.asyncValidators&&this.field.asyncValidators[t]&&this.field.asyncValidators[t].message&&(n=this.field.asyncValidators[t].message),"function"==typeof n?n(e.errors[t],this.field):n}}}class W extends H{constructor(e){super(),this.sanitizer=e,this.innerHtml={content:null,template:null}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.to.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}function K(e,t,n){return e instanceof Function?e.apply(t,n):!!e}class q{prePopulate(e){if(e.parent||e.options._checkField)return;let t=!1;e.options._checkField=(e,n)=>{t||(t=!0,this.checkField(e,n),t=!1)}}postPopulate(e){if(e.parent&&!e._expressionProperties){if(D(e,"_expressionProperties",{}),e.expressionProperties)for(const t in e.expressionProperties){const n=e.expressionProperties[t];if("string"==typeof n||x(n))e._expressionProperties[t]={expression:this._evalExpression(t,n,"templateOptions.disabled"===t&&e.parent.expressionProperties&&e.parent.expressionProperties.hasOwnProperty("templateOptions.disabled")?()=>e.parent.templateOptions.disabled:void 0)},"templateOptions.disabled"===t&&Object.defineProperty(e._expressionProperties[t],"expressionValue",{get:()=>e.templateOptions.disabled,set:()=>{},enumerable:!0,configurable:!0});else if(n instanceof p.a){const r=()=>n.subscribe(n=>{this.setExprValue(e,t,n),e.options&&e.options._markForCheck&&e.options._markForCheck(e)});let i=r();const o=e.hooks.onInit;e.hooks.onInit=()=>(null===i&&(i=r()),o&&o(e));const s=e.hooks.onDestroy;e.hooks.onDestroy=()=>{s&&s(e),i.unsubscribe(),i=null}}}e.hideExpression?(delete e.hide,e.hideExpression=this._evalExpression("hide",e.hideExpression,()=>{let t=e.parent;for(;t.parent&&!t.hide;)t=t.parent;return t.hide})):I(e,"hide",({currentValue:t,firstChange:n})=>{e._hide=t,(!n||n&&!0===t)&&e.options._hiddenFieldsForCheck.push(e)})}}_evalExpression(e,t,n){return(...r)=>{try{return"string"==typeof t&&(t=function(e,t){try{return-1!==e.indexOf("this.field")&&console.warn("NgxFormly: using 'this.field' in expressionProperties is deprecated since v5.1, use 'field' instead."),Function("model","formState","field",`return ${e};`)}catch(n){console.error(n)}}(t)),"function"!=typeof t&&(t=()=>!!t),n&&n()||t(...r)}catch(i){throw i.message=`[Formly Error] [Expression "${e}"] ${i.message}`,i}}}_evalExpressionPath(e,t){if(e._expressionProperties[t]&&e._expressionProperties[t].expressionPaths)return e._expressionProperties[t].expressionPaths;let n=[];return-1===t.indexOf("[")?n=t.split("."):t.split(/[[\]]{1,2}/).filter(e=>e).forEach(e=>{const t=e.match(/['|"](.*?)['|"]/);t?n.push(t[1]):n.push(...e.split(".").filter(e=>e))}),e._expressionProperties[t]&&(e._expressionProperties[t].expressionPaths=n),n}checkField(e,t=!1){const n=this._checkField(e,t);e.options._hiddenFieldsForCheck.sort(e=>e.hide?-1:1).forEach(e=>this.toggleFormControl(e,!!e.hide,!t)),e.options._hiddenFieldsForCheck=[],n&&(this.checkField(e),e.options&&e.options._markForCheck&&e.options._markForCheck(e))}_checkField(e,t=!1){let n=!1;return e.fieldGroup.forEach(r=>{r.options&&(this.checkFieldExpressionChange(r,t)&&(n=!0),this.checkFieldVisibilityChange(r,t)&&(e.options._hiddenFieldsForCheck.push(r),n=!0),r.fieldGroup&&r.fieldGroup.length>0&&this._checkField(r,t)&&(n=!0))}),n}checkFieldExpressionChange(e,t){if(!e||!e._expressionProperties)return!1;let n=!1;const r=e._expressionProperties;for(const i in r){let o=K(r[i].expression,{field:e},[e.model,e.options.formState,e,t]);"templateOptions.disabled"===i&&(o=!!o),(t||r[i].expressionValue!==o&&(!O(o)&&!x(o)||x(o)&&""+r[i].expressionValue!=""+o||f(o)||JSON.stringify(o)!==JSON.stringify(r[i].expressionValue)))&&(n=!0,r[i].expressionValue=o,this.setExprValue(e,i,o))}return n}checkFieldVisibilityChange(e,t){if(!e||w(e.hideExpression))return!1;const n=!!K(e.hideExpression,{field:e},[e.model,e.options.formState,e,t]);let r=!1;return(n!==e.hide||t)&&(r=!0,e.hide=n,e.templateOptions.hidden=n),r}setDisabledState(e,t){e.fieldGroup&&e.fieldGroup.filter(e=>!e.expressionProperties||!e.expressionProperties.hasOwnProperty("templateOptions.disabled")).forEac
1h(e=>this.setDisabledState(e,t)),e.key&&e.templateOptions.disabled!==t&&(e.templateOptions.disabled=t)}toggleFormControl(e,t,n){if(e.fieldGroup&&e.fieldGroup.filter(e=>!e.hideExpression).forEach(e=>this.toggleFormControl(e,t,n)),e.formControl&&e.key){D(e,"_hide",!(!t&&!e.hide));const r=e.formControl;r._fields&&r._fields.length>1&&F(r),!0!==t||r._fields&&!r._fields.every(e=>!!e._hide)?!1===t&&(e.resetOnHide&&e.parent&&!T(e.defaultValue)&&T(S(e))&&E(e,e.defaultValue),M(e,void 0,!0),e.resetOnHide&&e.fieldArray&&(e.fieldGroup||[]).length!==(e.model||[]).length&&e.options._buildForm(!0)):(function(e,t=!1){const n=e.formControl,r=n._fields?n._fields.indexOf(e):-1;-1!==r&&n._fields.splice(r,1);const i=n.parent;if(!i)return;const o={emitEvent:t};if(i instanceof h.f){const e=i.controls.findIndex(e=>e===n);-1!==e&&P(i,o,()=>i.removeAt(e))}else if(i instanceof h.k){const t=_(e),r=t[t.length-1];i.get([r])===n&&P(i,o,()=>i.removeControl(r))}n.setParent(null)}(e,!0),n&&e.resetOnHide&&(e.formControl.reset({value:void 0,disabled:e.formControl.disabled}),e.fieldGroup&&(E(e,void 0),e.formControl instanceof h.f&&(e.fieldGroup.length=0))))}e.options.fieldChanges&&e.options.fieldChanges.next({field:e,type:"hidden",value:t})}setExprValue(e,t,n){try{let r=e;const i=this._evalExpressionPath(e,t),o=i.length-1;for(let e=0;e<o;e++)r=r[i[e]];r[i[o]]=n}catch(r){throw r.message=`[Formly Error] [Expression "${t}"] ${r.message}`,r}if("templateOptions.disabled"===t&&e.key&&this.setDisabledState(e,n),0===t.indexOf("model.")){const r=t.replace(/^model\./,""),i=e.key&&t===r?e.formControl:e.parent.formControl.get(r);!i||w(i.value)&&w(n)||i.value===n||i.patchValue(n)}this.emitExpressionChanges(e,t,n)}emitExpressionChanges(e,t,n){e.options.fieldChanges&&e.options.fieldChanges.next({field:e,type:"expressionChanges",property:t,value:n})}}class z{constructor(e){this.formlyConfig=e}onPopulate(e){this.initFieldValidation(e,"validators"),this.initFieldValidation(e,"asyncValidators")}initFieldValidation(e,t){const n=[];if("validators"!==t||e.hasOwnProperty("fieldGroup")&&!e.key||n.push(this.getPredefinedFieldValidation(e)),e[t])for(const r in e[t])"validation"!==r||Array.isArray(e[t].validation)||(e[t].validation=[e[t].validation],console.warn(`NgxFormly(${e.key}): passing a non array value to the 'validation' is deprecated, pass an array instead`)),"validation"===r?n.push(...e[t].validation.map(t=>this.wrapNgValidatorFn(e,t))):n.push(this.wrapNgValidatorFn(e,e[t][r],r));D(e,"_"+t,n)}getPredefinedFieldValidation(e){let t=[];return v.forEach(n=>I(e.templateOptions,n,({currentValue:r,firstChange:i})=>{t=t.filter(e=>e!==n),null!=r&&!1!==r&&t.push(n),!i&&e.formControl&&F(e.formControl)})),n=>0===t.length?null:h.C.compose(t.map(t=>()=>{const r=e.templateOptions[t];switch(t){case"required":return h.C.required(n);case"pattern":return h.C.pattern(r)(n);case"minLength":return h.C.minLength(r)(n);case"maxLength":return h.C.maxLength(r)(n);case"min":return h.C.min(r)(n);case"max":return h.C.max(r)(n)}}))(n)}wrapNgValidatorFn(e,t,n){let r=null;if("string"==typeof t&&(r=A(this.formlyConfig.getValidator(t))),"object"==typeof t&&t.name&&(r=A(this.formlyConfig.getValidator(t.name)),t.options&&(r.options=t.options)),"object"==typeof t&&t.expression){const{expression:e}=t,o=Object(i.b)(t,["expression"]);r={name:n,validation:e,options:Object.keys(o).length>0?o:null}}return"function"==typeof t&&(r={name:n,validation:t}),t=>{const i=r.validation(t,e,r.options);return(o=i)&&"function"==typeof o.then?i.then(t=>this.handleAsyncResult(e,n?!!t:t,r)):f(i)?i.pipe(Object(d.a)(t=>this.handleAsyncResult(e,n?!!t:t,r))):this.handleResult(e,n?!!i:i,r);var o}}handleAsyncResult(e,t,n){return e.options&&e.options._markForCheck&&e.options._markForCheck(e),this.handleResult(e,t,n)}handleResult(e,t,{name:n,options:r}){"boolean"==typeof t&&(t=t?null:{[n]:r||!0});const o=e.formControl;return o._childrenErrors&&o._childrenErrors[n]&&o._childrenErrors[n](),O(t)&&Object.keys(t).forEach(n=>{const s=t[n].errorPath?t[n].errorPath:(r||{}).errorPath,a=s?e.formControl.get(s):null;if(a){const e=t[n],r=Object(i.b)(e,["errorPath"]);a.setErrors(Object.assign({},a.errors||{},{[n]:r})),!o._childrenErrors&&D(o,"_childrenErrors",{}),o._childrenErrors[n]=()=>{const e=a.errors||{}
1,t=n,r=Object(i.b)(e,["symbol"==typeof t?t:t+""]);a.setErrors(0===Object.keys(r).length?null:r)}}}),t}}class Y{constructor(e){this.config=e}prePopulate(e){this.root||(this.root=e)}onPopulate(e){e.parent&&(e.fieldGroup&&!e.key?D(e,"formControl",e.parent.formControl):this.addFormControl(e))}postPopulate(e){this.root===e&&(this.root=null,this.setValidators(e))}addFormControl(e){let t=function(e){if(e.formControl)return e.formControl;if(!1===e.shareFormControl)return null;const t=e.parent.formControl;return t?t.get(_(e)):null}(e);if(!t){const n={updateOn:e.modelOptions.updateOn},r=e.key?S(e):e.defaultValue,i=this.config?this.config.resolveFieldTypeRef(e):null;if(i&&i.componentType&&i.componentType.createControl){const n=i.componentType;console.warn(`NgxFormly: '${n.name}::createControl' is deprecated since v5.0, use 'prePopulate' hook instead.`),t=n.createControl(r,e)}else t=e.fieldGroup?new h.k({},n):new h.h(r,n)}M(e,t)}setValidators(e,t=!1){let n=!1;if(!1===t&&e.key&&e.templateOptions&&e.templateOptions.disabled&&(t=!0),(e.fieldGroup||[]).forEach(e=>this.setValidators(e,t)&&(n=!0)),e.key||!e.parent||!e.key&&!e.fieldGroup){const{formControl:r}=e;if(e.templateOptions=e.templateOptions||{},e.key&&r&&r instanceof h.h&&(t&&r.enabled&&(r.disable({emitEvent:!1,onlySelf:!0}),n=!0),!t&&r.disabled&&(r.enable({emitEvent:!1,onlySelf:!0}),n=!0)),!r||null!==r.validator&&null!==r.asyncValidator||(r.setValidators(()=>{const t=h.C.compose(this.mergeValidators(e,"_validators"));return t?t(r):null}),r.setAsyncValidators(()=>{const t=h.C.composeAsync(this.mergeValidators(e,"_asyncValidators"));return t?t(r):Object(y.a)(null)}),n=!0),n){F(r,!0);let t=r.parent;for(let n=1;n<_(e).length;n++)t&&(F(t,!0),t=t.parent)}}return n}mergeValidators(e,t){const n=[],r=e.formControl;return r&&r._fields&&r._fields.length>1?r._fields.filter(e=>!e._hide).forEach(e=>n.push(...e[t])):e[t]&&n.push(...e[t]),e.fieldGroup&&e.fieldGroup.filter(e=>!e.key&&e.fieldGroup).forEach(e=>n.push(...this.mergeValidators(e,t))),n}}class ${constructor(e){this.formlyConfig=e,this.formId=0}prePopulate(e){if(this.getFieldComponentInstance(e).prePopulate(),e.parent)return;const t=e.options&&e.options.fieldTransform||this.formlyConfig.extras.fieldTransform;(Array.isArray(t)?t:[t]).forEach(t=>{if(t&&(console.warn("NgxFormly: fieldTransform is deprecated since v5.0, use custom extension instead."),!t(e.fieldGroup,e.model,e.formControl,e.options)))throw new Error("fieldTransform must return an array of fields")})}onPopulate(e){this.initFieldOptions(e),this.getFieldComponentInstance(e).onPopulate(),e.fieldGroup&&e.fieldGroup.forEach((t,n)=>{Object.defineProperty(t,"parent",{get:()=>e,configurable:!0}),Object.defineProperty(t,"index",{get:()=>n,configurable:!0}),this.formId++})}postPopulate(e){this.getFieldComponentInstance(e).postPopulate()}initFieldOptions(e){const t=e.parent;if(t){if(Object.defineProperty(e,"form",{get:()=>t.formControl,configurable:!0}),Object.defineProperty(e,"options",{get:()=>t.options,configurable:!0}),Object.defineProperty(e,"model",{get:()=>e.key&&e.fieldGroup?S(e):t.model,configurable:!0}),C(e,{id:b("formly_"+this.formId,e,e.index),hooks:{},modelOptions:{},validation:{messages:{}},templateOptions:e.type&&e.key?{label:"",placeholder:"",focus:!1,disabled:!1}:{}}),this.formlyConfig.extras.resetFieldOnHide&&!1!==e.resetOnHide&&(e.resetOnHide=!0),e.lifecycle&&console.warn("NgxFormly: 'lifecycle' is deprecated since v5.0, use 'hooks' instead."),"formly-template"!==e.type&&(e.template||e.expressionProperties&&e.expressionProperties.template)&&(e.type&&console.warn("NgxFormly: passing 'type' property is not allowed when 'template' is set."),e.type="formly-template"),!e.type&&e.fieldGroup&&(e.type="formly-group"),e.type&&this.formlyConfig.getMergedField(e),e.parent){let t=!T(e.key)&&!T(e.defaultValue)&&T(S(e))&&(!e.resetOnHide||!(e.hide||e.hideExpression));if(t&&e.resetOnHide){let n=e.parent;for(;n&&!n.hideExpression&&!n.hide;)n=n.parent;t=!n||!(n.hideExpression||n.hide)}t&&E(e,e.defaultValue)}this.initFieldWrappers(e)}}initFieldWrappers(e){e.wrappers=e.wrappers||[];const t=Object.assign({preWrapper:[],postWrapper:[]},e.templateOptions.templateManipulators||{});e.wrappers=[...this.formlyConfig.templateManipulators.preWrapper.map(t=>t(e)),...t.preWrapper.map(t=>t(e)),...e.wrappers,...this.formlyConfig.templateManipulators.postWrapper.map(t=>t(e)),...t.postWrapper.map(t=>
1t(e))].filter((e,t,n)=>e&&t===n.indexOf(e))}getFieldComponentInstance(e){const t=this.formlyConfig.resolveFieldTypeRef(e),n=t?t.instance:{};return{prePopulate:()=>n.prePopulate&&n.prePopulate(e),onPopulate:()=>n.onPopulate&&n.onPopulate(e),postPopulate:()=>n.postPopulate&&n.postPopulate(e)}}}function Q(e){return{types:[{name:"formly-group",component:j},{name:"formly-template",component:W}],extensions:[{name:"core",extension:new $(e)},{name:"field-validation",extension:new z(e)},{name:"field-form",extension:new Y(e)},{name:"field-expression",extension:new q}]}}class Z{constructor(e,t=[]){t&&t.forEach(t=>e.addConfig(t))}static forRoot(e={}){return{ngModule:Z,providers:[{provide:R,multi:!0,useFactory:Q,deps:[N]},{provide:R,useValue:e,multi:!0},{provide:r.a,useValue:e,multi:!0},N,k]}}static forChild(e={}){return{ngModule:Z,providers:[{provide:R,multi:!0,useFactory:Q,deps:[N]},{provide:R,useValue:e,multi:!0},{provide:r.a,useValue:e,multi:!0},k]}}}},"0osO":function(e,t,n){"use strict";var r=n("5qrJ").inherit({ctor:function(e){e&&(e=String(e)),this._value=this._normalize(e||this._generate())},_normalize:function(e){for(e=e.replace(/[^a-f0-9]/gi,"").toLowerCase();e.length<32;)e+="0";return[e.substr(0,8),e.substr(8,4),e.substr(12,4),e.substr(16,4),e.substr(20,12)].join("-")},_generate:function(){for(var e="",t=0;t<32;t++)e+=Math.round(15*Math.random()).toString(16);return e},toString:function(){return this._value},valueOf:function(){return this._value},toJSON:function(){return this._value}});e.exports=r,e.exports.default=e.exports},"0tTC":function(e,t,n){"use strict";var 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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=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 s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function l(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}var u,c,d,h,p,f={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",ADFS:"adfs",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},g=[f.OPENID_SCOPE,f.PROFILE_SCOPE,f.OFFLINE_ACCESS_SCOPE],m=l(g,[f.EMAIL_SCOPE]);!function(e){e.CONTENT_TYPE="Content-Type",e.RETRY_AFTER="Retry-After",e.CCS_HEADER="X-AnchorMailbox"}(u||(u={})),function(e){e.ID_TOKEN="idtoken",e.CLIENT_INFO="client.info",e.ADAL_ID_TOKEN="adal.idtoken",e.ERROR="error",e.E
1RROR_DESC="error.description",e.ACTIVE_ACCOUNT="active-account"}(c||(c={})),function(e){e.COMMON="common",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers"}(d||(d={})),function(e){e.CLIENT_ID="client_id",e.REDIRECT_URI="redirect_uri",e.RESPONSE_TYPE="response_type",e.RESPONSE_MODE="response_mode",e.GRANT_TYPE="grant_type",e.CLAIMS="claims",e.SCOPE="scope",e.ERROR="error",e.ERROR_DESCRIPTION="error_description",e.ACCESS_TOKEN="access_token",e.ID_TOKEN="id_token",e.REFRESH_TOKEN="refresh_token",e.EXPIRES_IN="expires_in",e.STATE="state",e.NONCE="nonce",e.PROMPT="prompt",e.SESSION_STATE="session_state",e.CLIENT_INFO="client_info",e.CODE="code",e.CODE_CHALLENGE="code_challenge",e.CODE_CHALLENGE_METHOD="code_challenge_method",e.CODE_VERIFIER="code_verifier",e.CLIENT_REQUEST_ID="client-request-id",e.X_CLIENT_SKU="x-client-SKU",e.X_CLIENT_VER="x-client-VER",e.X_CLIENT_OS="x-client-OS",e.X_CLIENT_CPU="x-client-CPU",e.X_CLIENT_CURR_TELEM="x-client-current-telemetry",e.X_CLIENT_LAST_TELEM="x-client-last-telemetry",e.X_MS_LIB_CAPABILITY="x-ms-lib-capability",e.POST_LOGOUT_URI="post_logout_redirect_uri",e.ID_TOKEN_HINT="id_token_hint",e.DEVICE_CODE="device_code",e.CLIENT_SECRET="client_secret",e.CLIENT_ASSERTION="client_assertion",e.CLIENT_ASSERTION_TYPE="client_assertion_type",e.TOKEN_TYPE="token_type",e.REQ_CNF="req_cnf",e.OBO_ASSERTION="assertion",e.REQUESTED_TOKEN_USE="requested_token_use",e.ON_BEHALF_OF="on_behalf_of",e.FOCI="foci",e.CCS_HEADER="X-AnchorMailbox"}(h||(h={})),function(e){e.ACCESS_TOKEN="access_token",e.XMS_CC="xms_cc"}(p||(p={}));var y,b={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create"};!function(e){e.ACCOUNT="account",e.SID="sid",e.LOGIN_HINT="login_hint",e.ID_TOKEN="id_token",e.DOMAIN_HINT="domain_hint",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers",e.ACCOUNT_ID="accountIdentifier",e.HOMEACCOUNT_ID="homeAccountIdentifier"}(y||(y={}));var _,v,E,S,C,w,T,x,O={PLAIN:"plain",S256:"S256"};!function(e){e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post"}(_||(_={})),function(e){e.IMPLICIT_GRANT="implicit",e.AUTHORIZATION_CODE_GRANT="authorization_code",e.CLIENT_CREDENTIALS_GRANT="client_credentials",e.RESOURCE_OWNER_PASSWORD_GRANT="password",e.REFRESH_TOKEN_GRANT="refresh_token",e.DEVICE_CODE_GRANT="device_code",e.JWT_BEARER="urn:ietf:params:oauth:grant-type:jwt-bearer"}(v||(v={})),function(e){e.MSSTS_ACCOUNT_TYPE="MSSTS",e.ADFS_ACCOUNT_TYPE="ADFS",e.MSAV1_ACCOUNT_TYPE="MSA",e.GENERIC_ACCOUNT_TYPE="Generic"}(E||(E={})),function(e){e.CACHE_KEY_SEPARATOR="-",e.CLIENT_INFO_SEPARATOR="."}(S||(S={})),function(e){e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",e.REFRESH_TOKEN="RefreshToken"}(C||(C={})),function(e){e.ACCOUNT="Account",e.CREDENTIAL="Credential",e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.REFRESH_TOKEN="RefreshToken",e.APP_METADATA="AppMetadata",e.TEMPORARY="TempCache",e.TELEMETRY="Telemetry",e.UNDEFINED="Undefined",e.THROTTLING="Throttling"}(w||(w={})),function(e){e[e.ADFS=1001]="ADFS",e[e.MSA=1002]="MSA",e[e.MSSTS=1003]="MSSTS",e[e.GENERIC=1004]="GENERIC",e[e.ACCESS_TOKEN=2001]="ACCESS_TOKEN",e[e.REFRESH_TOKEN=2002]="REFRESH_TOKEN",e[e.ID_TOKEN=2003]="ID_TOKEN",e[e.APP_METADATA=3001]="APP_METADATA",e[e.UNDEFINED=9999]="UNDEFINED"}(T||(T={})),function(e){e.CONFIG="config",e.CACHE="cache",e.NETWORK="network"}(x||(x={}));var A,D,I,R,N,k,M={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"};!function(e){e.POP="pop",e.BEARER="Bearer"}(A||(A={})),function(e){e.username="username",e.password="password"}(D||(D={})),function(e){e[e.httpSuccess=200]="httpSuccess",e[e.httpBadRequest=400]="httpBadRequest"}(I||(I={})),function(e){e.FAILED_AUTO_DETECTION="1",e.INTERNAL_CACHE="2",e.ENVIRONMENT_VARIABLE="3",e.IMDS="4"}(R||(R={})),function(e){e.CONFIGURED_MATCHES_DETECTED="1",e.CONFIGURED_NO_AUTO_DETECTION="2",e.CONFIGURED_NOT_DETECTED="3",e.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",e.AUTO_DETECTION_REQUESTED_FAILED="5"}(N||(N={})),function(e){e.NO_CACHE_HIT="0",e.FORCE_REFRESH="1",e.NO_CACHED_ACCESS_TOKEN="2",e.CACHED_ACCESS_TOKEN_EXPIRED="3",e.REFRESH_CACHED_ACCESS_TOKEN="4"}(k||(k={}));var F,P=function(e){function t(n,r,i){var o=this;return o=e.call(this,r?n+": "+r:n)||this,Object.setPrototypeOf(o,t.prototype),o.errorCode=n||f.EMPTY_STRING,o.errorMessage=r||"",o.subError=i||"",o.name="AuthError",o}return i(t,e),t.createUnexpectedError=function(e){return new t("unexpected_error","Unexpected error in authentication.: "+e)},t}(Error),L=function(e){function t(n,r){var i=e.call(this,n,r)||this;return i.name="ClientAuthError",Object.setPrototypeOf(i,t.prototype),i}return i(t,e),t.createClientInfoDecodingError=function(e){return new t("client_info_decoding_error","The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause. Failed with error: "+e)},t.createClientInfoEmptyError=function(){return new t("client_info_empty_error","The client info was empty. Please review the trace to determine the root cause.")},t.createTokenParsingError=function(e){return new t("token_parsing_error","Token cannot be parsed. Please review stack trace to determine root cause. Failed with error: "+e)},t.createTokenNullOrEmptyError=function(e){return new t("null_or_empty_token","The token is null or empty. Please review the trace to determine the root cause. Raw Token Value: "+e)},t.createEndpointDiscoveryIncompleteError=function(e){return new t("endpoints_resolution_error","Error: could not resolve endpoints. Please check network and try again. Detail: "+e)},t.createNetworkError=function(e,n){return new t("network_error","Network request failed. Please check network trace to determine root cause. | Fetch client threw: "+n+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToGetOpenidConfigError=function(e){return new t("openid_config_error","Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: "+e)},t.createHashNotDeserializedError=function(e){return new t("hash_not_deserialized","The hash parameters could not be deserialized. Please review the trace to determine the root cause. Given Object: "+e)},t.createInvalidStateError=function(e,n){return new t("invalid_state","State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState(). Invalid State: "+e+", Root Err: "+n)},t.createStateMismatchError=function(){return new t("state_mismatch","State mismatch error. Please check your network. Continued requests may cause cache overflow.")},t.createStateNotFoundError=function(e){return new t("state_not_found","State not found:  "+e)},t.createNonceMismatchError=function(){return new t("nonce_mismatch","Nonce mismatch error. This may be caused by a race condition in concurrent requests.")},t.createNonceNotFoundError=function(e){return new t("nonce_not_found","nonce not found:  "+e)},t.createNoTokensFoundError=function(){return new t("no_tokens_found","No tokens were found for the given scopes, and no authorization code was passed to acquireToken. You must retrieve an authorization code before making a call to acquireToken().")},t.createMultipleMatchingTokensInCacheError=function(){return new t("multiple_matching_tokens","The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account..")},t.createMultipleMatchingAccountsInCacheError=function(){return new t("multiple_matching_accounts","The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account")},t.createMultipleMatchingAppMetadataInCacheError=function(){return new t("multiple_matching_appMetadata","The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata")},t.createTokenRequestCannotBeMadeError=function(){return new t("request_cannot_be_made","Token request cannot be made without authorization code or refresh token.")},t.createAppendEmptyScopeToSetError=function(e){return new t("cannot_append_empty_scope","Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info. Given Scope: "+e)},t.createRemoveEmptyScopeFromSetError=function(e){return new t("cannot_remove_empty_scope","Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info. Given Scope: "+e)},t.createAppendScopeSetError=function(e){return new t("cannot_append_scopeset","Cannot append ScopeSet due to error. Detail Error: "+e)},t.createEmptyInputScopeSetError=function(){return new t("empty_input_scopeset","Empty input ScopeSet cannot be processed.")},t.createDeviceCodeCancelledError=function(){return new t("device_code_polling_cancelled","Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.")},t.createDeviceCodeExpiredError=function(){return new t("device_code_expired","Device code is expired.")},t.createDeviceCodeUnknownError=function(){return new t("device_code_unknown_error","Device code stopped polling for unknown reasons.")},t.createNoAccountInSilentRequestError=function(){return new t("no_account_in_silent_request","Please pass an account object, silent flow is not supported without account information")},t.createNullOrUndefinedCacheRecord=function(){return new t("invalid_cache_record","Cache record object was null or undefined.")},t.createInvalidCacheEnvironmentError=function(){return new t("invalid_cache_environment","Invalid environment when attempting to create cache entry")},t.createNoAccountFoundError=function(){return new t("no_account_found","No account found in cache for given key.")},t.createCachePluginError=function(){return new t("no cache plugin set on CacheManager","ICachePlugin needs to be set before using readFromStorage or writeFromStorage")},t.createNoCryptoObjectError=function(e){return new t("no_crypto_object","No crypto object detected. This is required for the following operation: "+e)},t.createInvalidCacheTypeError=function(){return new t("invalid_cache_type","Invalid cac
1he type")},t.createUnexpectedAccountTypeError=function(){return new t("unexpected_account_type","Unexpected account type.")},t.createUnexpectedCredentialTypeError=function(){return new t("unexpected_credential_type","Unexpected credential type.")},t.createInvalidAssertionError=function(){return new t("invalid_assertion","Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515")},t.createInvalidCredentialError=function(){return new t("invalid_client_credential","Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential")},t.createRefreshRequiredError=function(){return new t("token_refresh_required","Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.")},t.createUserTimeoutReachedError=function(){return new t("user_timeout_reached","User defined timeout for device code polling reached")},t.createTokenClaimsRequiredError=function(){return new t("token_claims_cnf_required_for_signedjwt","Cannot generate a POP jwt if the token_claims are not populated")},t.createNoAuthCodeInServerResponseError=function(){return new t("authorization_code_missing_from_server_response","Server response does not contain an authorization code to proceed")},t}(P),U=function(){function e(){}return e.decodeAuthToken=function(t){if(e.isEmpty(t))throw L.createTokenNullOrEmptyError(t);var n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);if(!n||n.length<4)throw L.createTokenParsingError("Given token is malformed: "+JSON.stringify(t));return{header:n[1],JWSPayload:n[2],JWSSig:n[3]}},e.isEmpty=function(e){return void 0===e||!e||0===e.length},e.isEmptyObj=function(t){if(t&&!e.isEmpty(t))try{var n=JSON.parse(t);return 0===Object.keys(n).length}catch(r){}return!0},e.startsWith=function(e,t){return 0===e.indexOf(t)},e.endsWith=function(e,t){return e.length>=t.length&&e.lastIndexOf(t)===e.length-t.length},e.queryStringToObject=function(e){var t,n=/\+/g,r=/([^&=]+)=([^&]*)/g,i=function(e){return decodeURIComponent(e.replace(n," "))},o={};for(t=r.exec(e);t;)o[i(t[1])]=i(t[2]),t=r.exec(e);return o},e.trimArrayEntries=function(e){return e.map((function(e){return e.trim()}))},e.removeEmptyStringsFromArray=function(t){return t.filter((function(t){return!e.isEmpty(t)}))},e.jsonParseHelper=function(e){try{return JSON.parse(e)}catch(t){return null}},e.matchPattern=function(e,t){return new RegExp(e.replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(t)},e}();!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"}(F||(F={}));var G=function(){function e(e,t,n){this.level=F.Info,this.localCallback=e.loggerCallback||function(){},this.piiLoggingEnabled=e.piiLoggingEnabled||!1,this.level=e.logLevel||F.Info,this.correlationId=e.correlationId||"",this.packageName=t||f.EMPTY_STRING,this.packageVersion=n||f.EMPTY_STRING}return e.prototype.clone=function(t,n,r){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},t,n)},e.prototype.logMessage=function(e,t){if(!(t.logLevel>this.level||!this.piiLoggingEnabled&&t.containsPii)){var n,r=(new Date).toUTCString();n=U.isEmpty(t.correlationId)?U.isEmpty(this.correlationId)?"["+r+"]":"["+r+"] : ["+this.correlationId+"]":"["+r+"] : ["+t.correlationId+"]",this.executeCallback(t.logLevel,n+" : "+this.packageName+"@"+this.packageVersion+" : "+F[t.logLevel]+" - "+e,t.containsPii||!1)}},e.prototype.executeCallback=function(e,t,n){this.localCallback&&this.localCallback(e,t,n)},e.prototype.error=function(e,t){this.logMessage(e,{logLevel:F.Error,containsPii:!1,correlationId:t||""})},e.prototype.errorPii=function(e,t){this.logMessage(e,{logLevel:F.Error,containsPii:!0,correlationId:t||""})},e.prototype.warning=function(e,t){this.logMessage(e,{logLevel:F.Warning,containsPii:!1,correlationId:t||""})},e.prototype.warningPii=function(e,t){this.logMessage(e,{logLevel:F.Warning,containsPii:!0,correlationId:t||""})},e.prototype.info=function(e,t){this.logMessage(e,{logLevel:F.Info,containsPii:!1,correlationId:t||""})},e.prototype.infoPii=function(e,t){this.logMessage(e,{logLevel:F.Info,containsPii:!0,correlationId:t||""})},e.prototype.verbose=function(e,t){this.logMessage(e,{logLevel:F.Verbose,containsPii:!1,correlationId:t||""})},e.prototype.verbosePii=function(e,t){this.logMessage(e,{logLevel:F.Verbose,containsPii:!0,correlationId:t||""})},e.prototype.trace=function(e,t){this.logMessage(e,{logLevel:F.Trace,containsPii:!1,correlationId:t||""})},e.prototype.tracePii=function(e,t){this.logMessage(e,{logLevel:F.Trace,containsPii:!0,correlationId:t||""})},e.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},e}
1(),H=function(e,t){return(H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function B(e,t){function n(){this.constructor=e}H(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var j,V,W,K,q,z,Y=function(){return(Y=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 $(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function Q(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function Z(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function J(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Z(arguments[t]));return e}!function(e){e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage"}(j||(j={})),function(e){e.GET="GET",e.POST="POST"}(V||(V={})),function(e){e.AUTHORITY="authority",e.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",e.SESSION_STATE="session.state",e.REQUEST_STATE="request.state",e.NONCE_IDTOKEN="nonce.id_token",e.ORIGIN_URI="request.origin",e.RENEW_STATUS="token.renew.status",e.URL_HASH="urlHash",e.REQUEST_PARAMS="request.params",e.SCOPES="scopes",e.INTERACTION_STATUS_KEY="interaction.status",e.CCS_CREDENTIAL="ccs.credential"}(W||(W={})),function(e){e[e.acquireTokenRedirect=861]="acquireTokenRedirect",e[e.acquireTokenPopup=862]="acquireTokenPopup",e[e.ssoSilent=863]="ssoSilent",e[e.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",e[e.handleRedirectPromise=865]="handleRedirectPromise",e[e.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",e[e.logout=961]="logout",e[e.logoutPopup=962]="logoutPopup"}(K||(K={})),function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent"}(q||(q={})),function(e){e.Startup="startup",e.Login="login",e.Logout="logout",e.AcquireToken="acquireToken",e.SsoSilent="ssoSilent",e.HandleRedirect="handleRedirect",e.None="none"}(z||(z={}));var X,ee={scopes:g};!function(e){e.React="@azure/msal-react",e.Angular="@azure/msal-angular"}(X||(X={}));var te,ne=function(){function e(){}return e.decimalToHex=function(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t},e}(),re=function(){function e(e){this.cryptoObj=e}return e.prototype.generateGuid=function(){try{var e=new Uint8Array(16);return this.cryptoObj.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,ne.decimalToHex(e[0])+ne.decimalToHex(e[1])+ne.decimalToHex(e[2])+ne.decimalToHex(e[3])+"-"+ne.decimalToHex(e[4])+ne.decimalToHex(e[5])+"-"+ne.decimalToHex(e[6])+ne.decimalToHex(e[7])+"-"+ne.decimalToHex(e[8])+ne.decimalToHex(e[9])+"-"+ne.decimalToHex(e[10])+ne.decimalToHex(e[11])+ne.decimalToHex(e[12])+ne.decimalToHex(e[13])+ne.decimalToHex(e[14])+ne.decimalToHex(e[15])}catch(s){for(var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",n="0123456789abcdef",r=0,i="",o=0;o<36;o++)"-"!==t[o]&&"4"!==t[o]&&(r=16*Math.random()|0),"x"===t[o]?i+=n[r]:"y"===t[o]?(r&=3,i+=n[r|=8]):i+=t[o];return i}},e.isGuid=function(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)},e}(),ie=function(){function e(){}return e.stringToUtf8Arr=function(e){for(var t,n=0,r=e.length,i=0;i<r;i++)n+=(t=e.charCodeAt(i))<128?1:t<2048?2:t<65536?3:t<2097152?4:t<67108864?5:6;for(var o=new Uint8Array(n),s=0,a=0;s<n;a++)(t=e.charCodeAt(a))<128?o[s++]=t:t<2048?(o[s++]=192+(t>>>6),o[s++]=128+(63&t)):t<65536?(o[s++]=224+(t>>>12),o[s++]=128+(t>>>6&63),o[s++]=128+(63&t)):t<2097152?(o[s++]=240+(t>>>18),o[s++]=128+(t>>>12&63),o[s++]=128+(t>>>
16&63),o[s++]=128+(63&t)):t<67108864?(o[s++]=248+(t>>>24),o[s++]=128+(t>>>18&63),o[s++]=128+(t>>>12&63),o[s++]=128+(t>>>6&63),o[s++]=128+(63&t)):(o[s++]=252+(t>>>30),o[s++]=128+(t>>>24&63),o[s++]=128+(t>>>18&63),o[s++]=128+(t>>>12&63),o[s++]=128+(t>>>6&63),o[s++]=128+(63&t));return o},e.stringToArrayBuffer=function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return t},e.utf8ArrToString=function(e){for(var t="",n=void 0,r=e.length,i=0;i<r;i++)n=e[i],t+=String.fromCharCode(n>251&&n<254&&i+5<r?1073741824*(n-252)+(e[++i]-128<<24)+(e[++i]-128<<18)+(e[++i]-128<<12)+(e[++i]-128<<6)+e[++i]-128:n>247&&n<252&&i+4<r?(n-248<<24)+(e[++i]-128<<18)+(e[++i]-128<<12)+(e[++i]-128<<6)+e[++i]-128:n>239&&n<248&&i+3<r?(n-240<<18)+(e[++i]-128<<12)+(e[++i]-128<<6)+e[++i]-128:n>223&&n<240&&i+2<r?(n-224<<12)+(e[++i]-128<<6)+e[++i]-128:n>191&&n<224&&i+1<r?(n-192<<6)+e[++i]-128:n);return t},e}(),oe=function(){function e(){}return e.prototype.urlEncode=function(e){return encodeURIComponent(this.encode(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))},e.prototype.urlEncodeArr=function(e){return this.base64EncArr(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype.encode=function(e){var t=ie.stringToUtf8Arr(e);return this.base64EncArr(t)},e.prototype.base64EncArr=function(e){for(var t=(3-e.length%3)%3,n="",r=void 0,i=e.length,o=0,s=0;s<i;s++)o|=e[s]<<(16>>>(r=s%3)&24),2!==r&&e.length-s!=1||(n+=String.fromCharCode(this.uint6ToB64(o>>>18&63),this.uint6ToB64(o>>>12&63),this.uint6ToB64(o>>>6&63),this.uint6ToB64(63&o)),o=0);return 0===t?n:n.substring(0,n.length-t)+(1===t?"=":"==")},e.prototype.uint6ToB64=function(e){return e<26?e+65:e<52?e+71:e<62?e-4:62===e?43:63===e?47:65},e}(),se=function(){function e(){}return e.prototype.decode=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Invalid base64 string")}var n=this.base64DecToArr(t);return ie.utf8ArrToString(n)},e.prototype.base64DecToArr=function(e,t){for(var n=e.replace(/[^A-Za-z0-9\+\/]/g,""),r=n.length,i=t?Math.ceil((3*r+1>>>2)/t)*t:3*r+1>>>2,o=new Uint8Array(i),s=void 0,a=void 0,l=0,u=0,c=0;c<r;
1c++)if(a=3&c,l|=this.b64ToUint6(n.charCodeAt(c))<<18-6*a,3===a||r-c==1){for(s=0;s<3&&u<i;s++,u++)o[u]=l>>>(16>>>s&24)&255;l=0}return o},e.prototype.b64ToUint6=function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:43===e?62:47===e?63:0},e}(),ae=function(e){function t(n,r){var i=e.call(this,n,r)||this;return Object.setPrototypeOf(i,t.prototype),i.name="BrowserAuthError",i}return B(t,e),t.createPkceNotGeneratedError=function(e){return new t("pkce_not_created","The PKCE code challenge and verifier could not be generated. Detail:"+e)},t.createCryptoNotAvailableError=function(e){return new t("crypto_nonexistent","The crypto object or function is not available. Detail:"+e)},t.createHttpMethodNotImplementedError=function(e){return new t("http_method_not_implemented","The HTTP method given has not been implemented in this library. Given Method: "+e)},t.createEmptyNavigationUriError=function(){return new t("empty_navigate_uri","Navigation URI is empty. Please check stack trace for more info.")},t.createEmptyHashError=function(e){return new t("hash_empty_error","Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. Given Url: "+e)},t.createHashDoesNotContainStateError=function(){return new t("no_state_in_hash","Hash does not contain state. Please verify that the request originated from msal.")},t.createHashDoesNotContainKnownPropertiesError=function(){return new t("hash_does_not_contain_known_properties","Hash does not contain known properites. Please verify that your redirectUri is not changing the hash.")},t.createUnableToParseStateError=function(){return new t("unable_to_parse_state","Unable to parse state. Please verify that the request originated from msal.")},t.createStateInteractionTypeMismatchError=function(){return new t("state_interaction_type_mismatch","Hash contains state but the interaction type does not match the caller.")},t.createInteractionInProgressError=function(){return new t("interaction_in_progress","Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.  For more visit: aka.ms/msaljs/browser-errors.")},t.createPopupWindowError=function(e){var n="Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.";return new t("popup_window_error",n=U.isEmpty(e)?n:n+" Details: "+e)},t.createEmptyWindowCreatedError=function(){return new t("empty_window_error","window.open returned null or undefined window object.")},t.createUserCancelledError=function(){return new t("user_cancelled","User cancelled the flow.")},t.createMonitorPopupTimeoutError=function(){return new t("monitor_window_timeout","Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors.")},t.createMonitorIframeTimeoutError=function(){return new t("monitor_window_timeout","Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors.")},t.createRedirectInIframeError=function(e){return new t("redirect_in_iframe","Code flow is not supported inside an iframe. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs. (window.parent !== window) => "+e)},t.createBlockReloadInHiddenIframeError=function(){return new t("block_iframe_reload","Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors")},t.createBlockAcquireTokenInPopupsError=function(){return new t("block_nested_popups","Request was blocked inside a popup because MSAL detected it was running in a popup.")},t.createIframeClosedPrematurelyError=function(){return new t("iframe_closed_prematurely","The iframe being monitored was closed prematurely.")},t.createSilentSSOInsufficientInfoError=function(){return new t("silent_sso_error","Silent SSO could not be completed - insufficient information was provided. Please provide either a loginHint or sid.")},t.createNoAccountError=function(){return new t("no_account_error","No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.")},t.createSilentPromptValueError=function(e){return new t("silent_prompt_value_error","The value given for the prompt value is not val
1id for silent requests - must be set to 'none'. Given value: "+e)},t.createUnableToParseTokenRequestCacheError=function(){return new t("unable_to_parse_token_request_cache_error","The cached token request could not be parsed.")},t.createNoTokenRequestCacheError=function(){return new t("no_token_request_cache_error","No token request in found in cache.")},t.createAuthRequestNotSetError=function(){return new t("auth_request_not_set_error","Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler")},t.createNoCachedAuthorityError=function(){return new t("no_cached_authority_error","No cached authority found.")},t.createInvalidCacheTypeError=function(){return new t("invalid_cache_type","Invalid cache type")},t.createNonBrowserEnvironmentError=function(){return new t("non_browser_environment","Login and token requests are not supported in non-browser environments.")},t.createDatabaseNotOpenError=function(){return new t("database_not_open","Database is not open!")},t.createNoNetworkConnectivityError=function(){return new t("no_network_connectivity","No network connectivity. Check your internet connection.")},t.createPostRequestFailedError=function(e,n){return new t("post_request_failed","Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA' | Network client threw: "+e+" | Attempted to reach: "+n.split("?")[0])},t.createGetRequestFailedError=function(e,n){return new t("get_request_failed","Network request failed. Please check the network trace to determine root cause. | Network client threw: "+e+" | Attempted to reach: "+n.split("?")[0])},t.createFailedToParseNetworkResponseError=function(e){return new t("failed_to_parse_response","Failed to parse network response. Check network trace. | Attempted to reach: "+e.split("?")[0])},t}(P),le=function(){function e(e){this.base64Encode=new oe,this.cryptoObj=e}return e.prototype.generateCodes=function(){return $(this,void 0,void 0,(function(){var e,t;return Q(this,(function(n){switch(n.label){case 0:return e=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(e)];case 1:return t=n.sent(),[2,{verifier:e,challenge:t}]}}))}))},e.prototype.generateCodeVerifier=function(){try{var e=new Uint8Array(32);return this.cryptoObj.getRandomValues(e),this.base64Encode.urlEncodeArr(e)}catch(t){throw ae.createPkceNotGeneratedError(t)}},e.prototype.generateCodeChallengeFromVerifier=function(e){return $(this,void 0,void 0,(function(){var t,n;return Q(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(e)];case 1:return t=r.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(t))];case 2:throw n=r.sent(),ae.createPkceNotGeneratedError(n);case 3:return[2]}}
1))}))},e}(),ue=new Uint8Array([1,0,1]),ce=function(){function e(){if(!this.hasCryptoAPI())throw ae.createCryptoNotAvailableError("Browser crypto or msCrypto object not available.");this._keygenAlgorithmOptions={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256",modulusLength:2048,publicExponent:ue}}return e.prototype.sha256Digest=function(e){return $(this,void 0,void 0,(function(){var t;return Q(this,(function(n){return t=ie.stringToUtf8Arr(e),[2,this.hasIECrypto()?this.getMSCryptoDigest("SHA-256",t):this.getSubtleCryptoDigest("SHA-256",t)]}))}))},e.prototype.getRandomValues=function(e){var t=window.msCrypto||window.crypto;if(!t.getRandomValues)throw ae.createCryptoNotAvailableError("getRandomValues does not exist.");t.getRandomValues(e)},e.prototype.generateKeyPair=function(e,t){return $(this,void 0,void 0,(function(){return Q(this,(function(n){return[2,this.hasIECrypto()?this.msCryptoGenerateKey(e,t):window.crypto.subtle.generateKey(this._keygenAlgorithmOptions,e,t)]}))}))},e.prototype.exportJwk=function(e){return $(this,void 0,void 0,(function(){return Q(this,(function(t){return[2,this.hasIECrypto()?this.msCryptoExportJwk(e):window.crypto.subtle.exportKey("jwk",e)]}))}))},e.prototype.importJwk=function(t,n,r){return $(this,void 0,void 0,(function(){var i,o;return Q(this,(function(s){return i=e.getJwkString(t),o=ie.stringToArrayBuffer(i),[2,this.hasIECrypto()?this.msCryptoImportKey(o,n,r):window.crypto.subtle.importKey("jwk",t,this._keygenAlgorithmOptions,n,r)]}))}))},e.prototype.sign=function(e,t){return $(this,void 0,void 0,(function(){return Q(this,(function(n){return[2,this.hasIECrypto()?this.msCryptoSign(e,t):window.crypto.subtle.sign(this._keygenAlgorithmOptions,e,t)]}))}))},e.prototype.hasCryptoAPI=function(){return this.hasIECrypto()||this.hasBrowserCrypto()},e.prototype.hasIECrypto=function(){return"msCrypto"in window},e.prototype.hasBrowserCrypto=function(){return"crypto"in window},e.prototype.getSubtleCryptoDigest=function(e,t){return $(this,void 0,void 0,(function(){return Q(this,(function(n){return[2,window.crypto.subtle.digest(e,t)]}))}))},e.prototype.getMSCryptoDigest=function(e,t){return $(this,void 0,void 0,(function(){return Q(this,(function(n){return[2,new Promise((function(n,r){var i=window.msCrypto.subtle.digest(e,t.buffer);i.addEventListener("complete",(function(e){n(e.target.result)})),i.addEventListener("error",(function(e){r(e)}))}))]}))}))},e.prototype.msCryptoGenerateKey=function(e,t){return $(this,void 0,void 0,(function(){var n=this;return Q(this,(function(r){return[2,new Promise((function(r,i){var o=window.msCrypto.subtle.generateKey(n._keygenAlgorithmOptions,e,t);o.addEventListener("complete",(function(e){r(e.target.result)})),o.addEventListener("error",(function(e){i(e)}))}))]}))}))},e.prototype.msCryptoExportJwk=function(e){return $(this,void 0,void 0,(function(){return Q(this,(function(t){return[2,new Promise((function(t,n){var r=window.msCrypto.subtle.exportKey("jwk",e);r.addEventListener("complete",(function(e){var r=ie.utf8ArrToString(new Uint8Array(e.target.result)).replace(/\r/g,"").replace(/\n/g,"").replace(/\t/g,"").split(" ").join("").replace("\0","");try{t(JSON.parse(r))}catch(e){n(e)}})),r.addEventListener("error",(function(e){n(e)}))}))]}))}))},e.prototype.msCryptoImportKey=function(e,t,n){return $(this,void 0,void 0,(function(){var r=this;return Q(this,(function(i){return[2,new Promise((function(i,o){var s=window.msCrypto.subtle.importKey("jwk",e,r._keygenAlgorithmOptions,t,n);s.addEventListener("complete",(function(e){i(e.target.result)})),s.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.msCryptoSign=function(e,t){return $(this,void 0,void 0,(function(){var n=this;return Q(this,(function(r){return[2,new Promise((function(r,i){var o=window.msCrypto.subtle.sign(n._keygenAlgorithmOptions,e,t);o.addEventListener("complete",(function(e){r(e.target.result)})),o.addEventListener("error",(function(e){i(e)}))}))]}))}))},e.getJwkString=function(e){return JSON.stringify(e,Object.keys(e).sort())},e}(),de=function(){function e(e,t,n){this.dbName=e,this.tableName=t,this.version=n,this.dbOpen=!1}return e.prototype.open=function(){return $(this,void 0,void 0,(function(){var e=this;return Q(this,(function(t){return[2,new Promise((function(t,n){var r=window.indexedDB.open(e.dbName,e.version);r.addEventListener("upgradeneeded",(function(t){t.target.result.createObjectStore(e.tableName)})),r.addEventListener("success",(function(n){e.db=n.target.result,e.dbOpen=!0,t()})),r.addEventListener("error",(function(e){return n(e)}))}))]}))}))},e.prototype.get=function(e){return $(this,void 0,void 0,(function(){var t=this;return Q(this,(function(n){switch(n.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:n.sent(),n.label=2;case 2:return[2,new Promise((function(n,r){if(!t.db)return r(ae.createDatabaseNotOpenError());var i=t.db.transaction([t.tableName],"readonly").objectStore(t.tableName).get(e);i.addEventListener("success",(function(e){n(e.target.result)})),i.addEventListener("error",(function(e){return r(e)}))}))]}}))}))},e.prototype.put=function(e,t){return $(this,void 0,void 0,(function(){var n=this;return Q(this,(function(r){switch(r.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:r.sent(),r.label=2;case 2:return[2,new Promise((function(r,i){if(!n.db)return i(ae.createDatabaseNotOpenError());var o=n.db.transaction([n.tableName],"readwrite").objectStore(n.tableName).put(t,e);o.addEventListener("success",(function(e){r(e.target.result)})),o.addEventListener("error",(function(e){return i(e)}))}))]}}))}))},e}(),he=function(){function e(){this.browserCrypto=new ce,this.b64Encode=new oe,this.b64Decode=new se,this.guidGenerator=new re(this.browserCrypto),this.pkceGenerator=new le(this.browserCrypto),this.cache=new de(e.DB_NAME,e.TABLE_NAME,e.DB_VERSION)}return e.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},e.prototype.base64Encode=function(e){return this.b64Encode.encode(e)},e.prototype.base64Decode=function(e){return this.b64Decode.decode(e)},e.prototype.generatePkceCodes=function(){return $(this,void 0,void 0,(function(){return Q(this,(function(e){return[2,this.pkceGenerator.generateCodes()]}))}))},e.prototype.getPublicKeyThumbprint=function(t){return $(this,void 0,void 0,(function(){var n,r,i,o,s,a,l;return Q(this,(function(u){switch(u.label){case 0:return[4,this.browserCrypto.generateKeyPair(e.EXTRACTABLE,e.POP_KEY_USAGES)];case 1:return n=u.sent(),[4,this.browserCrypto.exportJwk(n.publicKey)];case 2:return r=u.sent(),i=ce.getJwkString({e:r.e,kty:r.kty,n:r.n}),[4,this.browserCrypto.sha256Digest(i)];case 3:return o=u.sent(),s=this.b64Encode.urlEncodeArr(new Uint8Array(o)),[4,this.browserCrypto.exportJwk(n.privateKey)];case 4:return a=u.sent(),[4,this.browserCrypto.importJwk(a,!1,["sign"])];case 5:return l=u.sent(),this.cache.put(s,{privateKey:l,publicKey:n.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri}),[2,s]}}))}))},e.prototype.signJwt=function(e,t){return $(this,void 0,void 0,(function(){var n,r,i,o,s,a,l,u,c;return Q(this,(function(d){switch(d.label){case 0:return[4,this.cache.get(t)];case 1:return n=d.sent(),[4,this.browserCrypto.exportJwk(n.publicKey)];case 2:return r=d.sent(),i=ce.getJwkString(r),o=this.b64Encode.urlEncode(JSON.stringify({alg:r.alg,type:"jwk"})),e.cnf={jwk:JSON.parse(i)},s=this.b64Encode.urlEncode(JSON.stringify(e)),l=ie.stringToArrayBuffer(a=o+"."+s),[4,this.browserCrypto.sign(n.privateKey,l)];case 3:return u=d.sent(),c=this.b64Encode.urlEncodeArr(new Uint8Array(u)),[2,a+"."+c]}}))}))},e.POP_KEY_USAGES=["sign","verify"],e.EXTRACTABLE=!0,e.DB_VERSION=1,e.TABLE_NAME=(e.DB_NAME="msal.db")+".keys",e}(),pe={createNewGuid:function(){throw P.createUnexpectedError("Crypto interface - createNewGuid() has not been implemented")},base64Decode:function(){throw P.createUnexpectedError("Crypto interface - base64Decode() has not been implemented")},base64Encode:function(){throw P.createUnexpectedError("Crypto interface - base64Encode() has not been implemented")},generatePkceCodes:function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){throw P.createUnexpectedError("Crypto interface - generatePkceCodes() has not been implemented")}))}))},getPublicKeyThumbprint:function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){throw P.createUnexpectedError("Crypto interface - getPublicKeyThumbprint() has not been implemented")}))}))},signJwt:function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){throw P.createUnexpectedError("Crypto interface - signJwt() has not been implemented")}))}))}},fe=function(e){function t(n,r){var i=e.call(this,n,r)||this;return i.name="ClientConfigurationError",Object.setPrototypeOf(i,t.prototype),i}return i(t,e),t.createRedirectUriEmptyError=function(){return new t("redirect_uri_empty","A redirect URI is required for all calls, and none has been set.")},t.createPostLogoutRedirectUriEmptyError=function(){return new t("post_logout_uri_empty","A post logout redirect has not been set.")},t.createClaimsRequestParsingError=function(e){return new t("claims_request_parsing_error","Could not parse the given claims request object. Given value: "+e)},t.createInsecureAuthorityUriError=function(e){return new t("authority_uri_insecure","Authority URIs must use https.  Please see here for valid authority configuration options: https://docs.microsoft.com/en-us
1/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options Given URI: "+e)},t.createUrlParseError=function(e){return new t("url_parse_error","URL could not be parsed into appropriate segments. Given Error: "+e)},t.createUrlEmptyError=function(){return new t("empty_url_error","URL was empty or null.")},t.createEmptyScopesArrayError=function(){return new t("empty_input_scopes_error","Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.")},t.createClientIdSingleScopeError=function(e){return new t("clientid_input_scopes_error","Client ID can only be provided as a single scope. Given Scopes: "+e)},t.createInvalidPromptError=function(e){return new t("invalid_prompt_value","Supported prompt values are 'login', 'select_account', 'consent', 'create' and 'none'.  Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest Given value: "+e)},t.createInvalidClaimsRequestError=function(){return new t("invalid_claims","Given claims parameter must be a stringified JSON object.")},t.createEmptyLogoutRequestError=function(){return new t("logout_request_empty","The logout request was null or undefined.")},t.createEmptyTokenRequestError=function(){return new t("token_request_empty","Token request was empty and not found in cache.")},t.createInvalidCodeChallengeMethodError=function(){return new t("invalid_code_challenge_method",'code_challenge_method passed is invalid. Valid values are "plain" and "S256".')},t.createInvalidCodeChallengeParamsError=function(){return new t("pkce_params_missing","Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request")},t.createInvalidCloudDiscoveryMetadataError=function(){return new t("invalid_cloud_discovery_metadata","Invalid cloudDiscoveryMetadata provided. Must be a JSON object containing tenant_discovery_endpoint and metadata fields")},t.createInvalidAuthorityMetadataError=function(){return new t("invalid_authority_metadata","Invalid authorityMetadata provided. Must by a JSON object containing authorization_endpoint, token_endpoint, end_session_endpoint, issuer fields.")},t.createUntrustedAuthorityError=function(){return new t("untrusted_authority","The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.")},t}(L),ge=function(){function e(t){if(this._urlString=t,U.isEmpty(this._urlString))throw fe.createUrlEmptyError();U.isEmpty(this.getHash())&&(this._urlString=e.canonicalizeUri(t))}return Object.defineProperty(e.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),e.canonicalizeUri=function(e){if(e){var t=e.toLowerCase();return U.endsWith(t,"?")?t=t.slice(0,-1):U.endsWith(t,"?/")&&(t=t.
1slice(0,-2)),U.endsWith(t,"/")||(t+="/"),t}return e},e.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(t){throw fe.createUrlParseError(t)}if(!e.HostNameAndPort||!e.PathSegments)throw fe.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||"https:"!==e.Protocol.toLowerCase())throw fe.createInsecureAuthorityUriError(this.urlString)},e.prototype.urlRemoveQueryStringParameter=function(e){var t=new RegExp("(\\&"+e+"=)[^&]+");return this._urlString=this.urlString.replace(t,""),t=new RegExp("("+e+"=)[^&]+&"),this._urlString=this.urlString.replace(t,""),t=new RegExp("("+e+"=)[^&]+"),this._urlString=this.urlString.replace(t,""),this.urlString},e.appendQueryString=function(e,t){return U.isEmpty(t)?e:e.indexOf("?")<0?e+"?"+t:e+"&"+t},e.removeHashFromUrl=function(t){return e.canonicalizeUri(t.split("#")[0])},e.prototype.replaceTenantPath=function(t){var n=this.getUrlComponents(),r=n.PathSegments;return!t||0===r.length||r[0]!==d.COMMON&&r[0]!==d.ORGANIZATIONS||(r[0]=t),e.constructAuthorityUriFromObject(n)},e.prototype.getHash=function(){return e.parseHash(this.urlString)},e.prototype.getUrlComponents=function(){var e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),t=this.urlString.match(e);if(!t)throw fe.createUrlParseError("Given url string: "+this.urlString);var n={Protocol:t[1],HostNameAndPort:t[4],AbsolutePath:t[5],QueryString:t[7]},r=n.AbsolutePath.split("/");return r=r.filter((function(e){return e&&e.length>0})),n.PathSegments=r,!U.isEmpty(n.QueryString)&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n},e.getDomainFromUrl=function(e){var t=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=e.match(t);if(!n)throw fe.createUrlParseError("Given url string: "+e);return n[2]},e.getAbsoluteUrl=function(t,n){if(t[0]===f.FORWARD_SLASH){var r=new e(n).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t},e.parseHash=function(e){var t=e.indexOf("#"),n=e.indexOf("#/");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):""},e.constructAuthorityUriFromObject=function(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))},e.getDeserializedHash=function(t){if(U.isEmpty(t))return{};var n=e.parseHash(t),r=U.queryStringToObject(U.isEmpty(n)?t:n);if(!r)throw L.createHashNotDeserializedError(JSON.stringify(r));return r},e.hashContainsKnownProperties=function(t){if(U.isEmpty(t))return!1;var n=e.getDeserializedHash(t);return!!(n.code||n.error_description||n.error||n.state)},e}(),me=function(e){function t(n,r,i){var o=e.call(this,n,r,i)||this;return o.name="ServerError",Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t}(P),ye=function(){function e(){}return e.generateThrottlingStorageKey=function(e){return"throttling."+JSON.stringify(e)},e.preProcess=function(t,n){var r,i=e.generateThrottlingStorageKey(n),o=t.getThrottlingCache(i);if(o){if(o.throttleTime<Date.now())return void t.removeItem(i,w.THROTTL
1ING);throw new me((null===(r=o.errorCodes)||void 0===r?void 0:r.join(" "))||f.EMPTY_STRING,o.errorMessage,o.subError)}},e.postProcess=function(t,n,r){if(e.checkResponseStatus(r)||e.checkResponseForRetryAfter(r)){var i={throttleTime:e.calculateThrottleTime(parseInt(r.headers[u.RETRY_AFTER])),error:r.body.error,errorCodes:r.body.error_codes,errorMessage:r.body.error_description,subError:r.body.suberror};t.setThrottlingCache(e.generateThrottlingStorageKey(n),i)}},e.checkResponseStatus=function(e){return 429===e.status||e.status>=500&&e.status<600},e.checkResponseForRetryAfter=function(e){return!!e.headers&&e.headers.hasOwnProperty(u.RETRY_AFTER)&&(e.status<200||e.status>=300)},e.calculateThrottleTime=function(e){var t=e<=0?0:e,n=Date.now()/1e3;return Math.floor(1e3*Math.min(n+(t||60),n+3600))},e.removeThrottle=function(e,t,n,r,i){var o=this.generateThrottlingStorageKey({clientId:t,authority:n,scopes:r,homeAccountIdentifier:i});return e.removeItem(o,w.THROTTLING)},e}(),be=["interaction_required","consent_required","login_required"],_e=["message_only","additional_action","basic_action","user_password_expired","consent_required"],ve=function(e){function t(n,r,i){var o=e.call(this,n,r,i)||this;return o.name="InteractionRequiredAuthError",Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t.isInteractionRequiredError=function(e,t,n){var r=!!e&&be.indexOf(e)>-1,i=!!n&&_e.indexOf(n)>-1,o=!!t&&be.some((function(e){return t.indexOf(e)>-1}));return r||o||i},t}(me);function Ee(e,t){if(U.isEmpty(e))throw L.createClientInfoEmptyError();try{var n=t.base64Decode(e);return JSON.parse(n)}catch(r){throw L.createClientInfoDecodingError(r)}}function Se(e){if(U.isEmpty(e))throw L.createClientInfoDecodingError("Home account ID was empty.");var t=e.split(S.CLIENT_INFO_SEPARATOR,2);return{uid:t[0],utid:t.length<2?f.EMPTY_STRING:t[1]}}!function(e){e[e.Default=0]="Default",e[e.Adfs=1]="Adfs"}(te||(te={}));var Ce,we=function(){function e(){}return e.prototype.generateAccountId=function(){return[this.homeAccountId,this.environment].join(S.CACHE_KEY_SEPARATOR).toLowerCase()},e.prototype.generateAccountKey=function(){return e.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},e.prototype.generateType=function(){switch(this.authorityType){case E.ADFS_ACCOUNT_TYPE:return T.ADFS;case E.MSAV1_ACCOUNT_TYPE:return T.MSA;case E.MSSTS_ACCOUNT_TYPE:return T.MSSTS;case E.GENERIC_ACCOUNT_TYPE:return T.GENERIC;default:throw L.createUnexpectedAccountTypeError()}},e.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims}},e.generateAccountCacheKey=function(e){return[e.homeAccountId,e.environment||"",e.tenantId||""].join(S.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAccount=function(t,n,r,i,o,s,a){var l,u,c,d,h,p,f=new e;f.authorityType=E.MSSTS_ACCOUNT_TYPE,f.clientInfo=t,f.homeAccountId=n;var g=r.getPreferredCache();if(U.isEmpty(g))throw L.createInvalidCacheEnvironmentError();return f.environment=g,f.realm=(null===(l=null==i?void 0:i.claims)||void 0===l?void 0:l.tid)||"",f.oboAssertion=o,i&&(f.idTokenClaims=i.claims,f.localAccountId=(null===(u=null==i?void 0:i.claims)||void 0===u?void 0:u.oid)||(null===(c=null==i?void 0:i.claims)||void 0===c?void 0:c.sub)||"",f.username=(null===(d=null==i?void 0:i.claims)||void 0===d?void 0:d.preferred_username)||((null===(h=null==i?void 0:i.claims)||void 0===h?void 0:h.emails)?i.claims.emails[0]:""),f.name=null===(p=null==i?void 0:i.claims)||void 0===p?void 0:p.name),f.cloudGraphHostName=s,f.msGraphHost=a,f},e.createGenericAccount=function(t,n,r,i,o,s){var a,l,u,c,d=new e;d.authorityType=t.authorityType===te.Adfs?E.ADFS_ACCOUNT_TYPE:E.GENERIC_ACCOUNT_TYPE,d.homeAccountId=n,d.realm="",d.oboAssertion=i;var h=t.getPreferredCache();if(U.isEmpty(h))throw L.createInvalidCacheEnvironmentError();return r&&(d.localAccountId=(null===(a=null==r?void 0:r.claims)||void 0===a?void 0:a.oid)||(null===(l=null==r?void 0:r.claims)||void 0===l?void 0:l.sub)||"",d.username=(null===(u=null==r?void 0:r.claims)||void 0===u?void 0:u.upn)||"",d.name=(null===(c=null==r?void 0:r.claims)||void 0===c?void 0:c.name)||"",d.idTokenClaims=null==r?void 0:r.claims),d.environment=h,d.cloudGraphHostName=o,d.msGraphHost=s,d},e.generateHomeAccountId=function(e,t,n,r,i){var o,s=(null===(o=null==i?void 0:i.claims)||void 0===o?void 0:o.sub)?i.claims.sub:f.EMPTY_STRING;if(t===te.Adfs)return s;if(e)try{var a=Ee(e,r);if(!U.isEmpty(a.uid)&&!U.isEmpty(a.utid))return""+a.uid+S.CLIENT_INFO_SEPARATOR+a.utid}catch(l){}return n.verbose("No client info in response"),s},e.isAccountEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType")},e.accountInfoIsEqual=function(e,t,n){if(!e||!t)return!1;var r=!0;if(n){var i=e.idTokenClaims||{},o=t.idTokenClaims||{};r=i.iat===o.iat&&i.nonce===o.nonce}return e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username&&e.tenantId===t.tenantId&&e.environment===t.environment&&r},e}();function Te(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("end_session_endpoint")&&e.hasOwnProperty("issuer")}!function(e){e.AAD="AAD",e.OIDC="OIDC"}(Ce||(Ce={}));var xe,Oe=function(){function e(){}return e.nowSeconds=function(){return Math.round((new Date).getTime()/1e3)},e.isTokenExpired=function(t,n){var r=Number(t)||0;return e.nowSeconds()+n>r},e.wasClockTurnedBack=function(t){return Number(t)>e.nowSeconds()},e.delay=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))},e}(),Ae=function(){function e(){this.expiresAt=Oe.nowSeconds()+86400}return e.prototype.updateCloudDiscoveryMetadata=function(e,t){this.aliases=e.aliases,this.preferred_cache=e.preferred_cache,this.preferred_network=e.preferred_network,this.aliasesFromNetwork=t},e.prototype.updateEndpointMetadata=function(e,t){this.authorization_endpoint=e.authorization_endpoint,this.token_endpoint=e.token_endpoint,this.end_session_endpoint=e.end_session_endpoint,this.issuer=e.issuer,this.endpointsFromNetwork=t},e.prototype.updateCanonicalAuthority=function(e){this.canonical_authority=e},e.prototype.resetExpiresAt=function(){this.expiresAt=Oe.nowSeconds()+86400},e.prototype.isExpired=function(){return this.expiresAt<=Oe.nowSeconds()},e.isAuthorityMetadataEntity=function(e,t){return!!t&&0===e.indexOf("authority-metadata")&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("end_session_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")},e}(),De=function(){function e(e){this.networkInterface=e}return e.prototype.detectRegion=function(e,t){return s(this,void 0,void 0,(function(){var n,r,i,o;return a(this,(function(s){switch(s.label){case 0:if(n=e)return[3,8];s.label=1;case 1:return s.trys.push([1,6,,7]),[4,this.getRegionFromIMDS(f.IMDS_VERSION)];case 2:return(r=s.sent()).status===I.httpSuccess&&(n=r.body,t.region_source=R.IMDS),r.status!==I.httpBadRequest?[3,5]:[4,this.getCurrentVersion()];
1case 3:return(i=s.sent())?[4,this.getRegionFromIMDS(i)]:(t.region_source=R.FAILED_AUTO_DETECTION,[2,null]);case 4:(o=s.sent()).status===I.httpSuccess&&(n=o.body,t.region_source=R.IMDS),s.label=5;case 5:return[3,7];case 6:return s.sent(),t.region_source=R.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:t.region_source=R.ENVIRONMENT_VARIABLE,s.label=9;case 9:return n||(t.region_source=R.FAILED_AUTO_DETECTION),[2,n||null]}}))}))},e.prototype.getRegionFromIMDS=function(t){return s(this,void 0,void 0,(function(){return a(this,(function(n){return[2,this.networkInterface.sendGetRequestAsync(f.IMDS_ENDPOINT+"?api-version="+t+"&format=text",e.IMDS_OPTIONS,f.IMDS_TIMEOUT)]}))}))},e.prototype.getCurrentVersion=function(){return s(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.networkInterface.sendGetRequestAsync(f.IMDS_ENDPOINT+"?format=json",e.IMDS_OPTIONS)];case 1:return(t=n.sent()).status===I.httpBadRequest&&t.body&&t.body["newest-versions"]&&t.body["newest-versions"].length>0?[2,t.body["newest-versions"][0]]:[2,null];case 2:return n.sent(),[2,null];case 3:return[2]}}
1))}))},e.IMDS_OPTIONS={headers:{Metadata:"true"}},e}(),Ie=function(){function e(e,t,n,r){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=t,this.cacheManager=n,this.authorityOptions=r,this.regionDiscovery=new De(t),this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0}}return Object.defineProperty(e.prototype,"authorityType",{get:function(){var e=this.canonicalAuthorityUrlComponents.PathSegments;return e.length&&e[0].toLowerCase()===f.ADFS?te.Adfs:te.Default},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(e){this._canonicalAuthority=new ge(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(e)}throw L.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(e)}throw L.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(e)}throw L.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(e)}throw L.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.issuer);return this.replaceTenant(e)}throw L.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),e.prototype.replaceTenant=function(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)},e.prototype.replacePath=function(e){var t=e,n=new ge(this.metadata.canonical_authority).getUrlComponents().PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((function(e,r){var i=n[r];e!==i&&(t=t.replace("/"+i+"/","/"+e+"/"))})),t},Object.defineProperty(e.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===te.Adfs||this.protocolMode===Ce.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),e.prototype.discoveryComplete=function(){return!!this.metadata},e.prototype.resolveEndpointsAsync=function(){return s(this,void 0,void 0,(function(){var e,t,n,r;return a(this,(function(i){switch(i.label){case 0:return(e=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort))||(e=new Ae).updateCanonicalAuthority(this.canonicalAuthority),[4,this.updateCloudDiscoveryMetadata(e)];case 1:return t=i.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,e.preferred_network),[4,this.updateEndpointMetadata(e)];case 2:return n=i.sent(),t!==x.CACHE&&n!==x.CACHE&&(e.resetExpiresAt(),e.updateCanonicalAuthority(this.canonicalAuthority)),r=this.cacheManager.generateAuthorityMetadataCacheKey(e.preferred_cache),this.cacheManager.setAuthorityMetadata(r,e),this.metadata=e,[2]}}))}))},e.prototype.updateEndpointMetadata=function(t){var n;return s(this,void 0,void 0,(function(){var r,i,o;return a(this,(function(s){switch(s.label){case 0:return(r=this.getEndpointMetadataFromConfig())?(t.updateEndpointMetadata(r,!1),[2,x.CONFIG]):this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!t.isExpired()?[2,x.CACHE]:[4,this.getEndpointMetadataFromNetwork()];case 1:return(r=s.sent())?(null===(n=this.authorityOptions.azureRegionConfiguration)||void 0===n?void 0:n.azureRegion)?[4,this.regionDiscovery.detectRegion(this.authorityOptions.azureRegionConfiguration.environmentRegion,this.regionDiscoveryMetadata)]:[3,3]:[3,4];case 2:i=s.sent(),o=this.authorityOptions.azureRegionConfiguration.azureRegion===f.AZURE_REGION_AUTO_DISCOVER_FLAG?i:this.authorityOptions.azureRegionConfiguration.azureRegion,this.regionDiscoveryMetadata.region_outcome=this.authorityOptions.azureRegionConfiguration.azureRegion===f.AZURE_REGION_AUTO_DISCOVER_FLAG?i?N.AUTO_DETECTION_REQUESTED_SUCCESSFUL:N.AUTO_DETECTION_REQUESTED_FAILED:i?this.authorityOptions.azureRegionConfiguration.azureRegion===i?N.CONFIGURED_MATCHES_DETECTED:N.CONFIGURED_NOT_DETECTED:N.CONFIGURED_NO_AUTO_DETECTION,o&&(this.regionDiscoveryMetadata.region_used=o,r=e.replaceWithRegionalInformation(r,o)),s.label=3;case 3:return t.updateEndpointMetadata(r,!0),[2,x.NETWORK];case 4:throw L.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}}))}))},e.prototype.isAuthoritySameType=function(e){return new ge(e.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length},e.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(e){throw fe.createInvalidAuthorityMetadataError()}return null},e.prototype.getEndpointMetadataFromNetwork=function(){return s(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint)];case 1:return[2,Te((e=t.sent()).body)?e.body:null];case 2:return t.sent(),[2,null];case 3:return[2]}}
1))}))},e.prototype.updateCloudDiscoveryMetadata=function(e){return s(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return(t=this.getCloudDiscoveryMetadataFromConfig())?(e.updateCloudDiscoveryMetadata(t,!1),[2,x.CONFIG]):this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!e.isExpired()?[2,x.CACHE]:[4,this.getCloudDiscoveryMetadataFromNetwork()];case 1:if(t=n.sent())return e.updateCloudDiscoveryMetadata(t,!0),[2,x.NETWORK];throw fe.createUntrustedAuthorityError()}}))}))},e.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityOptions.cloudDiscoveryMetadata)try{var t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),n=e.getCloudDiscoveryMetadataFromNetworkResponse(t.metadata,this.hostnameAndPort);if(n)return n}catch(r){throw fe.createInvalidCloudDiscoveryMetadataError()}return this.isInKnownAuthorities()?e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort):null},e.prototype.getCloudDiscoveryMetadataFromNetwork=function(){return s(this,void 0,void 0,(function(){var t,n,r,i;return a(this,(function(o){switch(o.label){case 0:t=""+f.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",n=null,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(t)];case 2:return r=o.sent(),0===(i=function(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}(r.body)?r.body.metadata:[]).length?[2,null]:(n=e.getCloudDiscoveryMetadataFromNetworkResponse(i,this.hostnameAndPort),[3,4]);case 3:return o.sent(),[2,null];case 4:return n||(n=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,n]}}))}))},e.prototype.isInKnownAuthorities=function(){var e=this;return this.authorityOptions.knownAuthorities.filter((function(t){return ge.getDomainFromUrl(t).toLowerCase()===e.hostnameAndPort})).length>0},e.createCloudDiscoveryMetadataFromHost=function(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}},e.getCloudDiscoveryMetadataFromNetworkResponse=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.aliases.indexOf(t)>-1)return r}return null},e.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw L.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},e.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},e.isPublicCloudAuthority=function(e){return f.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},e.buildRegionalAuthorityString=function(e,t,n){var r=new ge(e);r.validateAsUri();var i=r.getUrlComponents(),s=t+"."+i.HostNameAndPort;this.isPublicCloudAuthority(i.HostNameAndPort)&&(s=t+"."+f.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var a=ge.constructAuthorityUriFromObject(o(o({},r.getUrlComponents()),{HostNameAndPort:s})).urlString;return n?a+"?"+n:a},e.replaceWithRegionalInformation=function(t,n){return t.authorization_endpoint=e.buildRegionalAuthorityString(t.authorization_endpoint,n),t.token_endpoint=e.buildRegionalAuthorityString(t.token_endpoint,n,"allowestsrnonmsi=true"),t.end_session_endpoint=e.buildRegionalAuthorityString(t.end_session_endpoint,n),t},e}(),Re=function(){function e(){}return e.createDiscoveredInstance=function(t,n,r,i){return s(this,void 0,void 0,(function(){var o,s;return a(this,(function(a){switch(a.label){case 0:o=e.createInstance(t,n,r,i),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,o.resolveEndpointsAsync()];case 2:return a.sent(),[2,o];case 3:throw s=a.sent(),L.createEndpointDiscoveryIncompleteError(s);case 4:return[2]}}
1))}))},e.createInstance=function(e,t,n,r){if(U.isEmpty(e))throw fe.createUrlEmptyError();return new Ie(e,t,n,r)},e}(),Ne=function(){function e(){}return e.prototype.generateAccountId=function(){return e.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},e.prototype.generateCredentialId=function(){return e.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},e.prototype.generateTarget=function(){return e.generateTargetForCacheKey(this.target)},e.prototype.generateCredentialKey=function(){return e.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId)},e.prototype.generateType=function(){switch(this.credentialType){case C.ID_TOKEN:return T.ID_TOKEN;case C.ACCESS_TOKEN:return T.ACCESS_TOKEN;case C.REFRESH_TOKEN:return T.REFRESH_TOKEN;default:throw L.createUnexpectedCredentialTypeError()}},e.getCredentialType=function(e){return-1!==e.indexOf(C.ACCESS_TOKEN.toLowerCase())?-1!==e.indexOf(C.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())?C.ACCESS_TOKEN_WITH_AUTH_SCHEME:C.ACCESS_TOKEN:-1!==e.indexOf(C.ID_TOKEN.toLowerCase())?C.ID_TOKEN:-1!==e.indexOf(C.REFRESH_TOKEN.toLowerCase())?C.REFRESH_TOKEN:f.NOT_DEFINED},e.generateCredentialCacheKey=function(e,t,n,r,i,o,s){return[this.generateAccountIdForCacheKey(e,t),this.generateCredentialIdForCacheKey(n,r,i,s),this.generateTargetForCacheKey(o)].join(S.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateAccountIdForCacheKey=function(e,t){return[e,t].join(S.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateCredentialIdForCacheKey=function(e,t,n,r){return[e,e===C.REFRESH_TOKEN&&r||t,n||""].join(S.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateTargetForCacheKey=function(e){return(e||"").toLowerCase()},e}(),ke=function(){function e(e){var t=this,n=e?U.trimArrayEntries(l(e)):[],r=n?U.removeEmptyStringsFromArray(n):[];this.validateInputScopes(r),this.scopes=new Set,r.forEach((function(e){return t.scopes.add(e)}))}return e.fromString=function(t){return new e((t||"").split(" "))},e.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw fe.createEmptyScopesArrayError()},e.prototype.containsScope=function(t){var n=new e(this.printScopesLowerCase().split(" "));return!U.isEmpty(t)&&n.scopes.has(t.toLowerCase())},e.prototype.containsScopeSet=function(e){var t=this;return!(!e||e.scopes.size<=0)&&this.scopes.size>=e.scopes.size&&e.asArray().every((function(e){return t.containsScope(e)}))},e.prototype.containsOnlyOIDCScopes=function(){var e=this,t=0;return m.forEach((function(n){e.containsScope(n)&&(t+=1)})),this.scopes.size===t},e.prototype.appendScope=function(e){U.isEmpty(e)||this.scopes.add(e.trim())},e.prototype.appendScopes=function(e){var t=this;try{e.forEach((function(e){return t.appendScope(e)}))}catch(n){throw L.createAppendScopeSetError(n)}},e.prototype.removeScope=function(e){if(U.isEmpty(e))throw L.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},e.prototype.removeOIDCScopes=function(){var e=this;m.forEach((function(t){e.scopes.delete(t)}))},e.prototype.unionScopeSets=function(e){if(!e)throw L.createEmptyInputScopeSetError();var t=new Set;return e.scopes.forEach((function(e){return t.add(e.toLowerCase())})),this.scopes.forEach((function(e){return t.add(e.toLowerCase())})),t},e.prototype.intersectingScopeSets=function(e){if(!e)throw L.createEmptyInputScopeSetError();e.containsOnlyOIDCScopes()||e.removeOIDCScopes();var t=this.unionScopeSets(e),n=e.getScopeCount(),r=this.getScopeCount();return t.size<r+n},e.prototype.getScopeCount=function(){return this.scopes.size},e.prototype.asArray=function(){var e=[];return this.scopes.forEach((function(t){return e.push(t)})),e},e.prototype.printScopes=function(){return this.scopes?this.asArray().join(" "):""},e.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},e}(),Me=function(){function e(t,n){if(U.isEmpty(t))throw L.createTokenNullOrEmptyError(t);this.rawToken=t,this.claims=e.extractTokenClaims(t,n)}return e.extractTokenClaims=function(e,t){var n=U.decodeAuthToken(e);try{var r=t.base64Decode(n.JWSPayload);return JSON.parse(r)}catch(i){throw L.createTokenParsingError(i)}},e}(),Fe=function(){function e(e,t){this.clientId=e,this.cryptoImpl=t}return e.prototype.getAllAccounts=function(){var t=this,n=this.getAccountsFilteredBy(),r=Object.keys(n).map((function(e){return n[e]}));return r.length<1?[]:r.map((function(n){var r=e.toObject(new we,n).getAccountInfo(),i=t.readIdTokenFromCache(t.clientId,r);return i&&!r.idTokenClaims&&(r.idTokenClaims=new Me(i.secret,t.cryptoImpl).claims),r}))},e.prototype.saveCacheRecord=function(e){if(!e)throw L.createNullOrUndefinedCacheRecord();e.account&&this.setAccount(e.account),e.idToken&&this.setIdTokenCredential(e.idToken),e.accessToken&&this.saveAcce
1ssToken(e.accessToken),e.refreshToken&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata)},e.prototype.saveAccessToken=function(e){var t=this,n=this.getCredentialsFilteredBy({clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm}),r=ke.fromString(e.target),i=Object.keys(n.accessTokens).map((function(e){return n.accessTokens[e]}));i&&i.forEach((function(e){ke.fromString(e.target).intersectingScopeSets(r)&&t.removeCredential(e)})),this.setAccessTokenCredential(e)},e.prototype.getAccountsFilteredBy=function(e){return this.getAccountsFilteredByInternal(e?e.homeAccountId:"",e?e.environment:"",e?e.realm:"")},e.prototype.getAccountsFilteredByInternal=function(e,t,n){var r=this,i=this.getKeys(),o={};return i.forEach((function(i){var s=r.getAccount(i);s&&(e&&!r.matchHomeAccountId(s,e)||t&&!r.matchEnvironment(s,t)||n&&!r.matchRealm(s,n)||(o[i]=s))})),o},e.prototype.getCredentialsFilteredBy=function(e){return this.getCredentialsFilteredByInternal(e.homeAccountId,e.environment,e.credentialType,e.clientId,e.familyId,e.realm,e.target,e.oboAssertion)},e.prototype.getCredentialsFilteredByInternal=function(e,t,n,r,i,o,s,a){var l=this,u=this.getKeys(),c={idTokens:{},accessTokens:{},refreshTokens:{}};return u.forEach((function(u){var d=Ne.getCredentialType(u);if(d!==f.NOT_DEFINED){var h=l.getSpecificCredential(u,d);if(h&&(!a||l.matchOboAssertion(h,a))&&(!e||l.matchHomeAccountId(h,e))&&(!t||l.matchEnvironment(h,t))&&(!o||l.matchRealm(h,o))&&(!n||l.matchCredentialType(h,n))&&(!r||l.matchClientId(h,r))&&(!i||l.matchFamilyId(h,i))&&(!s||l.matchTarget(h,s)))switch(d){case C.ID_TOKEN:c.idTokens[u]=h;break;case C.ACCESS_TOKEN:case C.ACCESS_TOKEN_WITH_AUTH_SCHEME:c.accessTokens[u]=h;break;case C.REFRESH_TOKEN:c.refreshTokens[u]=h}}})),c},e.prototype.getAppMetadataFilteredBy=function(e){return this.getAppMetadataFilteredByInternal(e.environment,e.clientId)},e.prototype.getAppMetadataFilteredByInternal=function(e,t){var n=this,r=this.getKeys(),i={};return r.forEach((function(r){if(n.isAppMetadata(r)){var o=n.getAppMetadata(r);o&&(e&&!n.matchEnvironment(o,e)||t&&!n.matchClientId(o,t)||(i[r]=o))}})),i},e.prototype.getAuthorityMetadataByAlias=function(e){var t=this,n=this.getAuthorityMetadataKeys(),r=null;return n.forEach((function(n){if(t.isAuthorityMetadata(n)&&-1!==n.indexOf(t.clientId)){var i=t.getAuthorityMetadata(n);i&&-1!==i.aliases.indexOf(e)&&(r=i)}})),r},e.prototype.removeAllAccounts=function(){var e=this;return this.getKeys().forEach((function(t){e.getAccount(t)&&e.removeAccount(t)})),!0},e.prototype.removeAccount=function(e){var t=this.getAccount(e);if(!t)throw L.createNoAccountFoundError();return this.removeAccountContext(t)&&this.removeItem(e,w.ACCOUNT)},e.prototype.removeAccountContext=function(e){var t=this,n=this.getKeys(),r=e.generateAccountId();return n.forEach((function(e){var n=Ne.getCredentialType(e);if(n!==f.NOT_DEFINED){var i=t.getSpecificCredential(e,n);i&&r===i.generateAccountId()&&t.removeCredential(i)}})),!0},e.prototype.removeCredential=function(e){var t=e.generateCredentialKey();return this.removeItem(t,w.CREDENTIAL)},e.prototype.removeAppMetadata=function(){var e=this;return this.getKeys().forEach((function(t){e.isAppMetadata(t)&&e.removeItem(t,w.APP_METADATA)})),!0},e.prototype.readCacheRecord=function(e,t,n,r,i){var o=this.readAccountFromCache(e),s=this.readIdTokenFromCache(t,e),a=this.readAccessTokenFromCache(t,e,n,i),l=this.readRefreshTokenFromCache(t,e,!1),u=this.readAppMetadataFromCache(r,t);return o&&s&&(o.idTokenClaims=new Me(s.secret,this.cryptoImpl).claims),{account:o,idToken:s,accessToken:a,refreshToken:l,appMetadata:u}},e.prototype.readAccountFromCache=function(e){var t=we.generateAccountCacheKey(e);return this.getAccount(t)},e.prototype.readIdTokenFromCache=function(e,t){var n=this.getCredentialsFilteredBy({homeAccountId:t.homeAccountId,environment:t.environment,credentialType:C.ID_TOKEN,clientId:e,realm:t.tenantId}),r=Object.keys(n.idTokens).map((function(e){return n.idTokens[e]})),i=r.length;if(i<1)return null;if(i>1)throw L.createMultipleMatchingTokensInCacheError();return r[0]},e.prototype.readAccessTokenFromCache=function(e,t,n,r){var i={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:r===A.POP?C.ACCESS_TOKEN_WITH_AUTH_SCHEME:C.ACCESS_TOKEN,clientId:e,realm:t.tenantId,target:n.printScopesLowerCase()},o=this.getCredentialsFilteredBy(i),s=Object.keys(o.accessTokens).map((function(e){return o.accessTokens[e]})),a=s.length;if(a<1)return null;if(a>1)throw L.createMultipleMatchingTokensInCacheError();return s[0]},e.prototype.readRefreshTokenFromCache=function(e,t,n){var r=this.getCredentialsFilteredBy({homeAccountId:t.homeAccountId,environment:t.environment,credentialType:C.REFRESH_TOKEN,clientId:e,familyId:n?"1":void 0}),i=Object.keys(r.refreshTokens).map((function(e){return r.refreshTokens[e]}));return i.length<1?null:i[0]}
1,e.prototype.readAppMetadataFromCache=function(e,t){var n=this.getAppMetadataFilteredBy({environment:e,clientId:t}),r=Object.keys(n).map((function(e){return n[e]})),i=r.length;if(i<1)return null;if(i>1)throw L.createMultipleMatchingAppMetadataInCacheError();return r[0]},e.prototype.isAppMetadataFOCI=function(e,t){var n=this.readAppMetadataFromCache(e,t);return!(!n||"1"!==n.familyId)},e.prototype.matchHomeAccountId=function(e,t){return!(!e.homeAccountId||t!==e.homeAccountId)},e.prototype.matchOboAssertion=function(e,t){return!(!e.oboAssertion||t!==e.oboAssertion)},e.prototype.matchEnvironment=function(e,t){var n=this.getAuthorityMetadataByAlias(t);return!!(n&&n.aliases.indexOf(e.environment)>-1)},e.prototype.matchCredentialType=function(e,t){return e.credentialType&&t.toLowerCase()===e.credentialType.toLowerCase()},e.prototype.matchClientId=function(e,t){return!(!e.clientId||t!==e.clientId)},e.prototype.matchFamilyId=function(e,t){return!(!e.familyId||t!==e.familyId)},e.prototype.matchRealm=function(e,t){return!(!e.realm||t!==e.realm)},e.prototype.matchTarget=function(e,t){if(e.credentialType!==C.ACCESS_TOKEN&&e.credentialType!==C.ACCESS_TOKEN_WITH_AUTH_SCHEME||!e.target)return!1;var n=ke.fromString(e.target),r=ke.fromString(t);return r.containsOnlyOIDCScopes()?r.removeScope(f.OFFLINE_ACCESS_SCOPE):r.removeOIDCScopes(),n.containsScopeSet(r)},e.prototype.isAppMetadata=function(e){return-1!==e.indexOf("appmetadata")},e.prototype.isAuthorityMetadata=function(e){return-1!==e.indexOf("authority-metadata")},e.prototype.generateAuthorityMetadataCacheKey=function(e){return"authority-metadata-"+this.clientId+"-"+e},e.prototype.getSpecificCredential=function(e,t){switch(t){case C.ID_TOKEN:return this.getIdTokenCredential(e);case C.ACCESS_TOKEN:case C.ACCESS_TOKEN_WITH_AUTH_SCHEME:return this.getAccessTokenCredential(e);case C.REFRESH_TOKEN:return this.getRefreshTokenCredential(e);default:return null}},e.toObject=function(e,t){for(var n in t)e[n]=t[n];return e},e}(),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setAccount=function(){throw P.createUnexpectedError("Storage interface - setAccount() has not been implemented for the cacheStorage interface.")},t.prototype.getAccount=function(){throw P.createUnexpectedError("Storage interface - getAccount() has not been implemented for the cacheStorage interface.")},t.prototype.setIdTokenCredential=function(){throw P.createUnexpectedError("Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getIdTokenCredential=function(){throw P.createUnexpectedError("Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAccessTokenCredential=function(){throw P.createUnexpectedError("Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getAccessTokenCredential=function(){throw P.createUnexpectedError("Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setRefreshTokenCredential=function(){throw P.createUnexpectedError("Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getRefreshTokenCredential=function(){throw P.createUnexpectedError("Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAppMetadata=function(){throw P.createUnexpectedError("Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAppMetadata=function(){throw P.createUnexpectedError("Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.setServerTelemetry=function(){throw P.createUnexpectedError("Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.getServerTelemetry=function(){throw P.createUnexpectedError("Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.setAuthorityMetadata=function(){throw P.createUnexpectedError("Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadata=function(){throw P.createUnexpectedError("Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadataKeys=function(){throw P.createUnexpectedError("Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.")},t.prototype.setThrottlingCache=function(){throw P.createUnexpectedError("Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.getThrottlingCache=function(){throw P.createUnexpectedError("Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.removeItem=function(){throw P.createUnexpectedError("Storage interface - removeItem() has not been implemented for the cacheStorage interface.")},t.prototype.containsKey=function(){throw P.createUnexpectedError("Storage interface - containsKey() has not been implemented for the cacheStorage interface.")},t.prototype.getKeys=function(){throw P.createUnexpectedError("Storage interface - getKeys() has not been implemented for the cacheStorage interface.")},t.prototype.clear=function(){throw P.createUnexpectedError("Storage interface - clear() has not been implemented for the cacheStorage interface.")},t}(Fe),Le={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},Ue={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:F.Info,correlationId:""},Ge={sendGetRequestAsync:function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){throw P.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented")}))}))},sendPostRequestAsync:function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){throw P.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented")}))}))}},He={sku:f.SKU,version:"4.5.1",cpu:"",os:""},Be={clientSecret:"",clientAssertion:void 0},je=function(){function e(e,t){this.networkClient=e,this.cacheManager=t}return e.prototype.sendPostRequest=function(e,t,n){return s(this,void 0,void 0,(function(){var r,i;return a(this,(function(o){switch(o.label){case 0:ye.preProcess(this.cacheManager,e),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(t,n)];case 2:return r=o.sent(),[3,4];case 3:throw(i=o.sent())instanceof P?i:L.createNetworkError(t,i);case 4:return ye.postProcess(this.cacheManager,e,r),[2,r]}}))}))},e}();!function(e){e.HOME_ACCOUNT_ID="home_account_id",e.UPN="UPN"}(xe||(xe={}));var Ve,We=function(){function e(e){var t,n,r,i,s,a,l,u,c,d,h,p,f;this.config=(i=(t=e).systemOptions,s=t.loggerOptions,a=t.storageInterface,l=t.networkInterface,u=t.cryptoInterface,c=t.clientCredentials,d=t.libraryInfo,h=t.serverTelemetryManager,p=t.persistencePlugin,f=t.serializableCache,{authOptions:(n=r=t.authOptions,o({clientCapabilities:[]},n)),systemOptions:o(o({},Le),i),loggerOptions:o(o({},Ue),s),storageInterface:a||new Pe(r.clientId,pe),networkInterface:l||Ge,cryptoInterface:u||pe,clientCredentials:c||Be,libraryInfo:o(o({},He),d),serverTelemetryManager:h||null,persistencePlugin:p||null,serializableCache:f||null}),this.logger=new G(this.config.loggerOptions,"@azure/msal-common","4.5.1"),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new je(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority}return e.prototype.createTokenRequestHeaders=function(e){var t={};if(t[u.CONTENT_TYPE]=f.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case xe.HOME_ACCOUNT_ID:try{var n=Se(e.credential);t[u.CCS_HEADER]="Oid:"+n.uid+"@"+n.utid}catch(r){this.logger.verbose("Could not parse home account ID for CCS Header: "+r)}break;case xe.UPN:t[u.CCS_HEADER]="UPN: "+e.credential}return t},e.prototype.executePostToTokenEndpoint=function(e,t,n,r){return s(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,this.networkManager.sendPostRequest(r,e,{body:t,headers:n})];case 1:return i=o.sent(),this.config.serverTelemetryManager&&i.status<500&&429!==i.status&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,i]}}))}))},e.prototype.updateAuthority=function(e){if(!e.discoveryComplete())throw L.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},e}(),Ke=function(){function e(){}return e.validateRedirectUri=function(e){if(U.isEmpty(e))throw fe.createRedirectUriEmptyError()},e.validatePrompt=function(e){var t=[];for(var n in b)t.push(b[n]);if(t.indexOf(e)<0)throw fe.createInvalidPromptError(e)},e.validateClaims=function(e){try{JSON.parse(e)}catch(t){throw fe.createInvalidClaimsRequestError()}},e.validateCodeChallengeParams=function(e,t){if(U.isEmpty(e)||U.isEmpty(t))throw fe.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(t)},e.validateCodeChallengeMethod=function(e){if([O.PLAIN,O.S256].indexOf(e)<0)throw fe.createInvalidCodeChallengeMethodError()},e.sanitizeEQParams=function(e,t){return e?(t.forEach((function(t,n){e[n]&&delete e[n]})),e):{}},e}(),qe=function(){function e(){this.parameters=new Map}return e.prototype.addResponseTypeCode=function(){this.parameters.set(h.RESPONSE_TYPE,encodeURIComponent(f.CODE_RESPONSE_TYPE))},e.prototype.addResponseMode=function(e){this.parameters.set(h.RESPONSE_MODE,encodeURIComponent(e||_.QUERY))},e.prototype.addScopes=function(e,t){void 0===t&&(t=!0);var n=t?l(e||[],g):e||[],r=new ke(n);this.parameters.set(h.SCOPE,encodeURIComponent(r.printScopes()))},e.prototype.addClientId=function(e){this.parameters.set(h.CLIENT_ID,encodeURIComponent(e))},e.prototype.addRedirectUri=function(e){Ke.validateRedirectUri(e),this.parameters.set(h.REDIRECT_URI,encodeURIComponent(e))},e.prototype.addPostLogoutRedirectUri=function(e){Ke.validateRedirectUri(e),this.parameters.set(h.POST_LOGOUT_URI,encodeURIComponent(e))},e.prototype.addIdTokenHint=function(e){this.parameters.set(h.ID_TOKEN_HINT,encodeURIComponent(e))},e.prototype.addDomainHint=function(e){this.parameters.set(y.DOMAIN_HINT,encodeURIComponent(e))},e.prototype.addLoginHint=function(e){this.parameters.set(y.LOGIN_HINT,encodeURIComponent(e))},e.prototype.addCcsUpn=function(e){this.parameters.set(u.CCS_HEADER,encodeURIComponent("UPN:"+e))},e.prototype.addCcsOid=function(e){this.parameters.set(u.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},e.prototype.addSid=function(e){this.parameters.set(y.SID,encodeURIComponent(e))},e.prototype.addClaims=function(e,t){var n=this.addClientCapabilitiesToClaims(e,t);Ke.validateClaims(n),this.parameters.set(h.CLAIMS,encodeURIComponent(n))},e.prototype.addCorrelationId=function(e){this.parameters.set(h.CLIENT_REQUEST_ID,encodeURIComponent(e))},e.prototype.addLibraryInfo=function(e){this.parameters.set(h.X_CLIENT_SKU,e.sku),this.parameters.set(h.X_CLIENT_VER,e.ver
1sion),this.parameters.set(h.X_CLIENT_OS,e.os),this.parameters.set(h.X_CLIENT_CPU,e.cpu)},e.prototype.addPrompt=function(e){Ke.validatePrompt(e),this.parameters.set(""+h.PROMPT,encodeURIComponent(e))},e.prototype.addState=function(e){U.isEmpty(e)||this.parameters.set(h.STATE,encodeURIComponent(e))},e.prototype.addNonce=function(e){this.parameters.set(h.NONCE,encodeURIComponent(e))},e.prototype.addCodeChallengeParams=function(e,t){if(Ke.validateCodeChallengeParams(e,t),!e||!t)throw fe.createInvalidCodeChallengeParamsError();this.parameters.set(h.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set(h.CODE_CHALLENGE_METHOD,encodeURIComponent(t))},e.prototype.addAuthorizationCode=function(e){this.parameters.set(h.CODE,encodeURIComponent(e))},e.prototype.addDeviceCode=function(e){this.parameters.set(h.DEVICE_CODE,encodeURIComponent(e))},e.prototype.addRefreshToken=function(e){this.parameters.set(h.REFRESH_TOKEN,encodeURIComponent(e))},e.prototype.addCodeVerifier=function(e){this.parameters.set(h.CODE_VERIFIER,encodeURIComponent(e))},e.prototype.addClientSecret=function(e){this.parameters.set(h.CLIENT_SECRET,encodeURIComponent(e))},e.prototype.addClientAssertion=function(e){this.parameters.set(h.CLIENT_ASSERTION,encodeURIComponent(e))},e.prototype.addClientAssertionType=function(e){this.parameters.set(h.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},e.prototype.addOboAssertion=function(e){this.parameters.set(h.OBO_ASSERTION,encodeURIComponent(e))},e.prototype.addRequestTokenUse=function(e){this.parameters.set(h.REQUESTED_TOKEN_USE,encodeURIComponent(e))},e.prototype.addGrantType=function(e){this.parameters.set(h.GRANT_TYPE,encodeURIComponent(e))},e.prototype.addClientInfo=function(){this.parameters.set("client_info","1")},e.prototype.addExtraQueryParameters=function(e){var t=this;Ke.sanitizeEQParams(e,this.parameters),Object.keys(e).forEach((function(n){t.parameters.set(n,e[n])}))},e.prototype.addClientCapabilitiesToClaims=function(e,t){var n;if(e)try{n=JSON.parse(e)}catch(r){throw fe.createInvalidClaimsRequestError()}else n={};return t&&t.length>0&&(n.hasOwnProperty(p.ACCESS_TOKEN)||(n[p.ACCESS_TOKEN]={}),n[p.ACCESS_TOKEN][p.XMS_CC]={values:t}),JSON.stringify(n)},e.prototype.addUsername=function(e){this.parameters.set(D.username,e)},e.prototype.addPassword=function(e){this.parameters.set(D.password,e)},e.prototype.addPopToken=function(e){U.isEmpty(e)||(this.parameters.set(h.TOKEN_TYPE,A.POP),this.parameters.set(h.REQ_CNF,encodeURIComponent(e)))},e.prototype.addServerTelemetry=function(e){this.parameters.set(h.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set(h.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},e.prototype.addThrottling=function(){this.parameters.set(h.X_MS_LIB_CAPABILITY,"retry-after, h429")},e.prototype.createQueryString=function(){var e=new Array;return this.parameters.forEach((function(t,n){e.push(n+"="+t)})),e.join("&")},e}(),ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.createIdTokenEntity=function(e,n,r,i,o,s){var a=new t;return a.credentialType=C.ID_TOKEN,a.homeAccountId=e,a.environment=n,a.clientId=i,a.secret=r,a.realm=o,a.oboAssertion=s,a},t.isIdTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===C.ID_TOKEN},t}(Ne),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.createAccessTokenEntity=function(e,n,r,i,o,s,a,l,u,c,d,h){var p,f=new t;f.homeAccountId=e,f.credentialType=C.ACCESS_TOKEN,f.secret=r;var g=Oe.nowSeconds();if(f.cachedAt=g.toString(),f.expiresOn=a.toString(),f.extendedExpiresOn=l.toString(),c&&(f.refreshOn=c.toString()),f.environment=n,f.clientId=i,f.realm=o,f.target=s,f.oboAssertion=h,f.tokenType=U.isEmpty(d)?A.BEARER:d,f.tokenType===A.POP){f.credentialType=C.ACCESS_TOKEN_WITH_AUTH_SCHEME;var m=Me.extractTokenClaims(r,u);if(!(null===(p=null==m?void 0:m.cnf)||void 0===p?void 0:p.kid))throw L.createTokenClaimsRequiredError();f.keyId=m.cnf.kid}return f},t.isAccessTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.hasOwnProperty("target")&&(e.credentialType===C.ACCESS_TOKEN||e.credentialType===C.ACCESS_TOKEN_WITH_AUTH_SCHEME)},t}(Ne),$e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.createRefreshTokenEntity=function(e,n,r,i,o,s){var a=new t;return a.clientId=i,a.credentialType=C.REFRESH_TOKEN,a.environment=n,a.homeAccountId=e,a.secret=r,a.oboAssertion=s,o&&(a.familyId=o),a},t.isRefreshTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===C.REFRESH_TOKEN},t}(Ne),Qe=function(e,t,n,r,i){this.account=e||null,this.idToken=t||null,this.accessToken=n||null,this.refreshToken=r||null,this.appMetadata=i||null},Ze=function(){function e(){}return e.setRequestState=function(t,n,r){var i=e.generateLibraryState(t,r);return U.isEmpty(n)?i:""+i+f.RESOURCE_DELIM+n},e.generateLibraryState=function(e,t){if(!e)throw L.createNoCryptoObjectError("generateLibraryState");var n={id:e.createNewGuid()};t&&(n.meta=t);var r=JSON.stringify(n);return e.base64Encode(r)},e.parseRequestState=function(e,t){if(!e)throw L.createNoCryptoObjectError("parseRequestState");if(U.isEmpty(t))throw L.createInvalidStateError(t,"Null, undefined or empty state");try{var n=t.split(f.RESOURCE_DELIM),r=n[0],i=n.length>1?n.slice(1).join(f.RESOURCE_DELIM):"",o=e.base64Decode(r),s=JSON.parse(o);return{userRequestState:U.isEmpty(i)?"":i,libraryState:s}}catch(a){throw L.createInvalidStateError(t,a)}},e}();!function(e){e.SW="sw",e.UHW="uhw"}(Ve||(Ve={}));var Je,Xe=function(){function e(e){this.cryptoUtils=e}return e.prototype.generateCnf=function(e){return s(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return t=n.sent(),[2,this.cryptoUtils.base64Encode(JSON.stringify({kid:t,xms_ksl:Ve.SW}))]}}))}))},e.prototype.signPopToken=function(e,t){var n;return s(this,void 0,void 0,(function(){var r,i,o,s,l,u;return a(this,(function(a){switch(a.label){case 0:if(r=Me.extractTokenClaims(e,this.cryptoUtils),i=t.resourceRequestMethod,s=t.shrClaims,l=(o=t.resourceRequestUri)?new ge(o):void 0,u=null==l?void 0:l.getUrlComponents(),!(null===(n=null==r?void 0:r.cnf)||void 0===n?void 0:n.kid))throw L.createTokenClaimsRequiredError();return[4,this.cryptoUtils.signJwt({at:e,ts:Oe.nowSeconds(),m:null==i?void 0:i.toUpperCase(),u:null==u?void 0:u.HostNameAndPort,nonce:this.cryptoUtils.createNewGuid(),p:null==u?void 0:u.AbsolutePath,q:(null==u?void 0:u.QueryString)?[[],u.QueryString]:void 0,client_claims:s||void 0},r.cnf.kid)];case 1:return[2,a.sent()]}}))}))},e}(),et=function(){function e(){}return e.prototype.generateAppMetadataKey=function(){return e.generateAppMetadataCacheKey(this.environment,this.clientId)},e.generateAppMetadataCacheKey=function(e,t){return["appmetadata",e,t].join(S.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAppMetadataEntity=function(t,n,r){var i=new e;return i.clientId=t,i.environment=n,r&&(i.familyId=r),i},e.isAppMetadataEntity=function(e,t){return!!t&&0===e.indexOf("appmetadata")&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment")},e}(),tt=function(){function e(e,t){this.cache=e,this.hasChanged=t}return Object.defineProperty(e.prototype,"cacheHasChanged",{get:function(){return this.hasChanged}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),e}(),nt=function(){function e(e,t,n,r,i,o){this.clientId=e,this.cacheStorage=t,this.cryptoObj=n,this.logger=r,this.serializableCache=i,this.persistencePlugin=o}return e.prototype.validateServerAuthorizationCodeResponse=function(e,t,n){if(!e.state||!t)throw L.createStateNotFoundError(e.state?"Cached State":"Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(t))throw L.createStateMismatchError();if(e.error||e.error_description||e.suberror){if(ve.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new ve(e.error||f.EMPTY_STRING,e.error_description,e.suberror);throw new me(e.error||f.EMPTY_STRING,e.error_description,e.suberror)}e.client_info&&Ee(e.client_info,n)},e.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(ve.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new ve(e.error,e.error_description,e.suberror);throw new me(e.error,e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id,e.suberror)}},e.prototype.handleServerTokenResponse=function(t,n,r,i,o,l,u){return s(this,void 0,void 0,(function(){var s,c,d,h,p;return a(this,(function(a){switch(a.label){case 0:if(t.id_token&&(s=new Me(t.id_token||f.EMPTY_STRING,this.cryptoObj),o&&!U.isEmpty(o.nonce)&&s.claims.nonce!==o.nonce))throw L.createNonceMismatchError();this.homeAccountIdentifier=we.generateHomeAccountId(t.client_info||f.EMPTY_STRING,n.authorityType,this.logger,this.cryptoObj,s),o&&o.state&&(c=Ze.parseRequestState(this.cryptoObj,o.state)),d=this.generateCacheRecord(t,n,r,s,i.scopes,l,o),a.label=1;case 1:return a.trys.push([1,,4,7]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),h=new tt(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(h)]):[3,3];case 2:a.sent(),a.label=3;case 3:return u&&d.account&&(p=d.account.generateAccountKey(),!this.cacheStorage.getAccount(p))?(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,e.generateAuthenticationResult(this.cryptoObj,n,d,!1,i,s,c)]):(this.cacheStorage.saveCacheRecord(d),[3,7]);case 4:return this.persistencePlugin&&this.serializableCache&&h?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(h)]):[3,6];case 5:a.sent(),a.label=6;case 6:return[7];case 7:return[2,e.generateAuthenticationResult(this.cryptoObj,n,d,!1,i,s,c)]}}))}))},e.prototype.generateCacheRecord=function(e,t,n,r,i,o,s){var a,l,u=t.getPreferredCache();if(U.isEmpty(u))throw L.createInvalidCacheEnvironmentError();!U.isEmpty(e.id_token)&&r&&(a=ze.createIdTokenEntity(this.homeAccountIdentifier,u,e.id_token||f.EMPTY_STRING,this.clientId,r.claims.tid||f.EMPTY_STRING,o),l=this.generateAccountEntity(e,r,t,o,s));var c=null;if(!U.isEmpty(e.access_token)){var d=e.scope?ke.fromString(e.scope):new ke(i||[]),h=("string"==typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,p=("string"==typeof e.ext_expires_in?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,g=("string"==typeof e.refresh_in?parseInt(e.refresh_in,10):e.refresh_in)||void 0,m=n+h,y=m+p,b=g&&g>0?n+g:void 0;c=Ye.createAccessTokenEntity(this.homeAccountIdentifier,u,e.access_token||f.EMPTY_STRING,this.clientId,r?r.claims.tid||f.EMPTY_STRING:t.tenant,d.printScopes(),m,y,this.cryptoObj,b,e.token_type,o)}var _=null;U.isEmpty(e.refresh_token)||(_=$e.createRefreshTokenEntity(this.homeAccountIdentifier,u,e.refresh_token||f.EMPTY_STRING,this.clientId,e.foci,o));var v=null;return U.isEmpty(e.foci)||(v=et.createAppMetadataEntity(this.clientId,u,e.foci)),new Qe(l,a,c,_,v)},e.prototype.generateAccountEntity=function(e,t,n,r,i){var o=i?i.cloud_graph_host_name:"",s=i?i.msgraph_host:"";if(n.authorityType===te.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),we.createGenericAccount(n,this.homeAccountIdentifier,t,r,o,s);if(U.isEmpty(e.client_info)&&"AAD"===n.protocolMode)throw L.createClientInfoEmptyError();return e.client_info?we.createAccount(e.client_info,this.homeAccountIdentifier,n,t,r,o,s):we.createGenericAccount(n,this.homeAccountIdentifier,t,r,o,s)},e.generateAuthenticationResult=function(e,t,n,r,i,o,l){var u,c,d;return s(this,void 0,void 0,(function(){var s,h,p,g,m;return a(this,(function(a){switch(a.label){case 0:return s="",h=[],p=null,m=f.EMPTY_STRING,n.accessToken?n.accessToken.tokenType!==A.POP?[3,2]:[4,new Xe(e).signPopToken(n.accessToken.secret,i)]:[3,4];case 1:return s=a.sent(),[3,3];case 2:s=n.accessToken.secret,a.label=3;case 3:h=ke.fromString(n.accessToken.target).asArray(),p=new Date(1e3*Number(n.accessToken.expiresOn)),g=new Date(1e3*Number(n.accessToken.extendedExpiresOn)),a.label=4;case 4:return n.appMetadata&&(m="1"===n.appMetadata.familyId?"1":f.EMPTY_STRING),[2,{authority:t.canonicalAuthority,uniqueId:(null==o?void 0:o.claims.oid)||(null==o?void 0:o.claims.sub)||f.EMPTY_STRING,tenantId:(null==o?void 0:o.claims.tid)||f.EMPTY_STRING,scopes:h,account:n.account?n.account.getAccountInfo():null,idToken:o?o.rawToken:f.EMPTY_STRING,idTokenClaims:o?o.claims:{},accessToken:s,fromCache:r,expiresOn:p,extExpiresOn:g,familyId:m,tokenType:(null===(u=n.accessToken)||void 0===u?void 0:u.tokenType)||f.EMPTY_STRING,state:l?l.userRequestState:f.EMPTY_STRING,cloudGraphHostName:(null===(c=n.account)||void 0===c?void 0:c.cloudGraphHostName)||f.EMPTY_STRING,msGraphHost:(null===(d=n.account)||void 0===d?void 0:d.msGraphHost)||f.EMPTY_STRING}]}}))}))},e}(),rt=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.getAuthCodeUrl=function(e){return s(this,void 0,void 0,(function(){var t;return a(this,(function(n){return t=this.createAuthCodeUrlQueryString(e),[2,ge.appendQueryString(this.authority.authorizationEndpoint,t)]}
1))}))},t.prototype.acquireToken=function(e,t){return s(this,void 0,void 0,(function(){var n,r,i;return a(this,(function(o){switch(o.label){case 0:if(this.logger.info("in acquireToken call"),!e||U.isEmpty(e.code))throw L.createTokenRequestCannotBeMadeError();return n=Oe.nowSeconds(),[4,this.executeTokenRequest(this.authority,e)];case 1:return r=o.sent(),(i=new nt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(r.body),[4,i.handleServerTokenResponse(r.body,this.authority,n,e,t)];case 2:return[2,o.sent()]}}))}))},t.prototype.handleFragmentResponse=function(e,t){var n=new nt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),r=new ge(e),i=ge.getDeserializedHash(r.getHash());if(n.validateServerAuthorizationCodeResponse(i,t,this.cryptoUtils),!i.code)throw L.createNoAuthCodeInServerResponseError();return o(o({},i),{code:i.code})},t.prototype.getLogoutUri=function(e){if(!e)throw fe.createEmptyLogoutRequestError();e.account?this.cacheManager.removeAccount(we.generateAccountCacheKey(e.account)):this.cacheManager.clear();var t=this.createLogoutUrlQueryString(e);return ge.appendQueryString(this.authority.endSessionEndpoint,t)},t.prototype.executeTokenRequest=function(e,t){return s(this,void 0,void 0,(function(){var n,r,i,o,s,l,u;return a(this,(function(a){switch(a.label){case 0:return n={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:t.scopes},[4,this.createTokenRequestBody(t)];case 1:if(r=a.sent(),i=this.createTokenQueryParameters(t),o=void 0,t.clientInfo)try{s=Ee(t.clientInfo,this.cryptoUtils),o={credential:""+s.uid+S.CLIENT_INFO_SEPARATOR+s.utid,type:xe.HOME_ACCOUNT_ID}}catch(c){this.logger.verbose("Could not parse client info for CCS Header: "+c)}return l=this.createTokenRequestHeaders(o||t.ccsCredential),u=U.isEmpty(i)?e.tokenEndpoint:e.tokenEndpoint+"?"+i,[2,this.executePostToTokenEndpoint(u,r,l,n)]}}))}))},t.prototype.createTokenQueryParameters=function(e){var t=new qe;return e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.createQueryString()},t.prototype.createTokenRequestBody=function(e){return s(this,void 0,void 0,(function(){var t,n,r,i,o,s;return a(this,(function(a){switch(a.label){case 0:return(t=new qe).addClientId(this.config.authOptions.clientId),t.addRedirectUri(e.redirectUri),t.addScopes(e.scopes),t.addAuthorizationCode(e.code),t.addLibraryInfo(this.config.libraryInfo),t.addThrottling(),this.serverTelemetryManager&&t.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&t.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&t.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(t.addClientAssertion((n=this.config.clientCredentials.clientAssertion).assertion),t.addClientAssertionType(n.assertionType)),t.addGrantType(v.AUTHORIZATION_CODE_GRANT),t.addClientInfo(),e.authenticationScheme!==A.POP?[3,2]:[4,new Xe(this.cryptoUtils).generateCnf(e)];case 1:r=a.sent(),t.addPopToken(r),a.label=2;case 2:if(i=e.correlationId||this.config.cryptoInterface.createNewGuid(),t.addCorrelationId(i),(!U.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),o=void 0,e.clientInfo)try{s=Ee(e.clientInfo,this.cryptoUtils),o={credential:""+s.uid+S.CLIENT_INFO_SEPARATOR+s.utid,type:xe.HOME_ACCOUNT_ID}}catch(l){this.logger.verbose("Could not parse client info for CCS Header: "+l)}else o=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&o)switch(o.type){case xe.HOME_ACCOUNT_ID:try{s=Se(o.credential),t.addCcsOid(s)}catch(l){this.logger.verbose("Could not parse home account ID for CCS Header: "+l)}break;case xe.UPN:t.addCcsUpn(o.credential)}return[2,t.createQueryString()]}}))}))},t.prototype.createAuthCodeUrlQueryString=function(e){var t=new qe;t.addClientId(this.config.authOptions.clientId);var n=l(e.scopes||[],e.extraScopesToConsent||[]);t.addScopes(n),t.addRedirectUri(e.redirectUri);var r=e.correlationId||this.config.cryptoInterface.createNewGuid();if(t.addCorrelationId(r),t.addResponseMode(e.responseMode),t.addResponseTypeCode(),t.addLibraryInfo(this.config.libraryInfo),t.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&t.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&t.addPrompt(e.prompt),e.domainHint&&t.addDomainHint(e.domainHint),e.prompt!==b.SELECT_ACCOUNT)if(e.sid&&e.prompt===b.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),t.addSid(e.sid);else if(e.account){var i=this.extractAccountSid(e.account);if(i&&e.prompt===b.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),t.addSid(i);try{var o=Se(e.account.homeAccountId);t.addCcsOid(o)}catch(s){this.logger.verbose("Could not parse home account ID for CCS Header: "+s)}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),t.addLoginHint(e.loginHint),t.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),t.addLoginHint(e.account.username);try{o=Se(e.account.homeAccountId),t.addCcsOid(o)}catch(s){this.logger.verbose("Could not parse home account ID for CCS Header: "+s)}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),t.addLoginHint(e.loginHint),t.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return e.nonce&&t.addNonce(e.nonce),e.state&&t.addState(e.state),(!U.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),t.createQueryString()},t.prototype.createLogoutUrlQueryString=function(e){var t=new qe;return e.postLogoutRedirectUri&&t.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&t.addCorrelationId(e.correlationId),e.idTokenHint&&t.addIdTokenHint(e.idTokenHint),t.createQueryString()},t.prototype.extractAccountSid=function(e){return e.idTokenClaims&&e.idTokenClaims.sid||null},t}(We),it=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.acquireToken=function(e){return s(this,void 0,void 0,(function(){var t,n,r;return a(this,(function(i){switch(i.label){case 0:return t=Oe.nowSeconds(),[4,this.executeTokenRequest(e,this.authority)];case 1:return n=i.sent(),(r=new nt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(n.body),[2,r.handleServerTokenResponse(n.body,this.authority,t,e,void 0,void 0,!0)]}}))}))},t.prototype.acquireTokenByRefreshToken=function(e){return s(this,void 0,void 0,(function(){var t;return a(this,(function(n){if(!e)throw fe.createEmptyTokenRequestError();if(!e.account)throw L.createNoAccountInSilentRequestError();if(this.cacheManager.isAppMetadataFOCI(e.account.environment,this.config.authOptions.clientId))try{return[2,this.acquireTokenWithCachedRefreshToken(e,!0)]}catch(r){if(t=r instanceof me&&"invalid_grant"===r.errorCode&&"client_mismatch"===r.subError,r instanceof L&&"no_tokens_found"===r.errorCode||t)return[2,this.acquireTokenWithCachedRefreshToken(e,!1)];throw r}return[2,this.acquireTokenWithCachedRefreshToken(e,!1)]}))}))},t.prototype.acquireTokenWithCachedRefreshToken=function(e,t){return s(this,void 0,void 0,(function(){var n,r;return a(this,(function(i){if(!(n=this.cacheManager.readRefreshTokenFromCache(this.config.authOptions.clientId,e.account,t)))throw L.createNoTokensFoundError();return r=o(o({},e),{refreshToken:n.secret,authenticationScheme:e.authenticationScheme||A.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:xe.HOME_ACCOUNT_ID}}),[2,this.acquireToken(r)]}))}))},t.prototype.executeTokenRequest=function(e,t){return s(this,void 0,void 0,(function(){var n,r,i,o,s;return a(this,(function(a){switch(a.label){case 0:return[4,this.createTokenRequestBody(e)];case 1:return n=a.sent(),r=this.createTokenQueryParameters(e),i=this.createTokenRequestHeaders(e.ccsCredential),o={clientId:this.config.authOptions.clientId,authority:t.canonicalAuthority,scopes:e.scopes},s=ge.appendQueryString(t.tokenEndpoint,r),[2,this.executePostToTokenEndpoint(s,n,i,o)]}}))}))},t.prototype.createTokenQueryParameters=function(e){var t=new qe;return e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.createQueryString()},t.prototype.createTokenRequestBody=function(e){return s(this,void 0,void 0,(function(){var t,n,r,i,o,s,l;return a(this,(function(a){switch(a.label){case 0:return(t=new qe).addClientId(this.config.authOptions.clientId),t.addScopes(e.scopes),t.addGrantType(v.REFRESH_TOKEN_GRANT),t.addClientInfo(),t.addLibraryInfo(this.config.libraryInfo),t.addThrottling(),this.serverTelemetryManager&&t.addServerTelemetry(this.serverTelemetryManager),n=e.correlationId||this.config.cryptoInterface.createNewGuid(),t.addCorrelationId(n),t.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&t.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(t.addClientAssertion((r=this.config.clientCredentials.clientAssertion).assertion),t.addClientAssertionType(r.assertionType)),e.authenticationScheme!==A.POP?[3,2]:(i=new Xe(this.cryptoUtils),s=(o=t).addPopToken,[4,i.generateCnf(e)]);case 1:s.apply(o,[a.sent()]),a.label=2;case 2:if((!U.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case xe.HOME_ACCOUNT_ID:try{l=Se(e.ccsCredential.credential),t.addCcsOid(l)}catch(u){this.logger.verbose("Could not parse home account ID for CCS Header: "+u)}break;case xe.UPN:t.addCcsUpn(e.ccsCredential.credential)}return[2,t.createQueryString()]}}))}))},t}(We),ot=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.acquireToken=function(e){return s(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.acquireCachedToken(e)];case 1:return[2,n.sent()];case 2:if((t=n.sent())instanceof L&&"token_refresh_required"===t.errorCode)return[2,new it(this.config).acquireTokenByRefreshToken(e)];throw t;case 3:return[2]}}
1))}))},t.prototype.acquireCachedToken=function(e){var t,n,r,i;return s(this,void 0,void 0,(function(){var o,s,l;return a(this,(function(a){switch(a.label){case 0:if(!e)throw fe.createEmptyTokenRequestError();if(!e.account)throw L.createNoAccountInSilentRequestError();if(o=new ke(e.scopes||[]),s=e.authority||this.authority.getPreferredCache(),l=this.cacheManager.readCacheRecord(e.account,this.config.authOptions.clientId,o,s,e.authenticationScheme||A.BEARER),e.forceRefresh)throw null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome(k.FORCE_REFRESH),L.createRefreshRequiredError();if(!l.accessToken)throw null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome(k.NO_CACHED_ACCESS_TOKEN),L.createRefreshRequiredError();if(Oe.wasClockTurnedBack(l.accessToken.cachedAt)||Oe.isTokenExpired(l.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome(k.CACHED_ACCESS_TOKEN_EXPIRED),L.createRefreshRequiredError();if(l.accessToken.refreshOn&&Oe.isTokenExpired(l.accessToken.refreshOn,0))throw null===(i=this.serverTelemetryManager)||void 0===i||i.setCacheOutcome(k.REFRESH_CACHED_ACCESS_TOKEN),L.createRefreshRequiredError();if(!U.isEmptyObj(e.claims))throw L.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(l,e)];case 1:return[2,a.sent()]}}))}))},t.prototype.generateResultFromCacheRecord=function(e,t){return s(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return e.idToken&&(n=new Me(e.idToken.secret,this.config.cryptoInterface)),[4,nt.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,t,n)];case 1:return[2,r.sent()]}}))}))},t}(We),st=function(){function e(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return e.isServerTelemetryEntity=function(e,t){var n=0===e.indexOf(M.CACHE_KEY),r=!0;return t&&(r=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),n&&r},e}(),at=function(){function e(e,t){this.cacheOutcome=k.NO_CACHE_HIT,this.cacheManager=t,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||f.EMPTY_STRING,this.wrapperVer=e.wrapperVer||f.EMPTY_STRING,this.telemetryCacheKey=M.CACHE_KEY+S.CACHE_KEY_SEPARATOR+e.clientId}return e.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+M.VALUE_SEPARATOR+this.cacheOutcome,t=[this.wrapperSKU,this.wrapperVer].join(M.VALUE_SEPARATOR),n=[e,this.getRegionDiscoveryFields()].join(M.VALUE_SEPARATOR);return[M.SCHEMA_VERSION,n,t].join(M.CATEGORY_SEPARATOR)},e.prototype.generateLastRequestHeaderValue=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t),r=t.failedRequests.slice(0,2*n).join(M.VALUE_SEPARATOR),i=t.errors.slice(0,n).join(M.VALUE_SEPARATOR),o=t.errors.length,s=[o,n<o?M.OVERFLOW_TRUE:M.OVERFLOW_FALSE].join(M.VALUE_SEPARATOR);return[M.SCHEMA_VERSION,t.cacheHits,r,i,s].join(M.CATEGORY_SEPARATOR)},e.prototype.cacheFailedRequest=function(e){var t=this.getLastRequests();t.errors.length>=M.MAX_CACHED_ERRORS&&(t.failedRequests.shift(),t.failedRequests.shift(),t.errors.shift()),t.failedRequests.push(this.apiId,this.correlationId),U.isEmpty(e.subError)?U.isEmpty(e.errorCode)?e&&e.toString()?t.errors.push(e.toString()):t.errors.push(M.UNKNOWN_ERROR):t.errors.push(e.errorCode):t.errors.push(e.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t)},e.prototype.incrementCacheHits=function(){var e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits},e.prototype.getLastRequests=function(){var e=new st;return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||e},e.prototype.clearTelemetryCache=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t);if(n===t.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{var r=new st;r.failedRequests=t.failedRequests.slice(2*n),r.errors=t.errors.slice(n),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r)}},e.maxErrorsToSend=function(e){var t,n=0,r=0,i=e.errors.length;for(t=0;t<i;t++){var o=e.failedRequests[2*t+1]||f.EMPTY_STRING,s=e.errors[t]||f.EMPTY_STRING;if(!((r+=(e.failedRequests[2*t]||f.EMPTY_STRING).toString().length+o.toString().length+s.length+3)<M.MAX_LAST_HEADER_BYTES))break;n+=1}return n},e.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||""),e.push(this.regionSource||""),e.push(this.regionOutcome||""),e.join(",")},e.prototype.updateRegionDiscoveryMetadata=function(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome},e.prototype.setCacheOutcome=function(e){this.cacheOutcome=e},e}(),lt=function(){function e(){}return e.isThrottlingEntity=function(e,t){var n=!1;e&&(n=0===e.indexOf("throttling"));var r=!0;return t&&(r=t.hasOwnProperty("throttleTime")),n&&r},e}(),ut=function(e){function t(n,r){var i=e.call(this,n,r)||this;return i.name="BrowserConfigurationAuthError",Object.setPrototypeOf(i,t.prototype),i}return B(t,e),t.createRedirectUriEmptyError=function(){return new t("redirect_uri_empty","A redirect URI is required for all calls, and none has been set.")},t.createPostLogoutRedirectUriEmptyError=function(){return new t("post_logout_uri_empty","A post logout redirect has not been set.")},t.createStorageNotSupportedError=function(e){return new t("storage_not_supported","Given storage configuration option was not supported. Given Location: "+e)},t.createRedirectCallbacksNotSetError=function(){return new t("no_redirect_callbacks","No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics.")},t.createStubPcaInstanceCalledError=function(){return new t("stubbed_public_client_application_called","Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors")},t.createInMemoryRedirectUnavailableError=function(){return new t("in_mem_redirect_unavailable","Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true.")},t}(P),ct=function(){function e(e){this.validateWindowStorage(e),this.windowStorage=window[e]}return e.prototype.validateWindowStorage=function(e){if(e!==j.LocalStorage&&e!==j.SessionStorage)throw ut.createStorageNotSupportedError(e);
1if(!window[e])throw ut.createStorageNotSupportedError(e)},e.prototype.getItem=function(e){return this.windowStorage.getItem(e)},e.prototype.setItem=function(e,t){this.windowStorage.setItem(e,t)},e.prototype.removeItem=function(e){this.windowStorage.removeItem(e)},e.prototype.getKeys=function(){return Object.keys(this.windowStorage)},e.prototype.containsKey=function(e){return this.windowStorage.hasOwnProperty(e)},e}(),dt=function(){function e(){this.cache=new Map}return e.prototype.getItem=function(e){return this.cache.get(e)||null},e.prototype.setItem=function(e,t){this.cache.set(e,t)},e.prototype.removeItem=function(e){this.cache.delete(e)},e.prototype.getKeys=function(){var e=[];return this.cache.forEach((function(t,n){e.push(n)})),e},e.prototype.containsKey=function(e){return this.cache.has(e)},e.prototype.clear=function(){this.cache.clear()},e}(),ht=function(){function e(){}return e.extractBrowserRequestState=function(e,t){if(U.isEmpty(t))return null;try{return Ze.parseRequestState(e,t).libraryState.meta}catch(n){throw L.createInvalidStateError(t,n)}},e.parseServerResponseFromHash=function(e){if(!e)return{};var t=new ge(e);return ge.getDeserializedHash(t.getHash())},e}(),pt=function(e){function t(t,n,r,i){var o=e.call(this,t,r)||this;return o.COOKIE_LIFE_MULTIPLIER=864e5,o.cacheConfig=n,o.logger=i,o.internalStorage=new dt,o.browserStorage=o.setupBrowserStorage(o.cacheConfig.cacheLocation),o.temporaryCacheStorage=o.setupTemporaryCacheStorage(o.cacheConfig.cacheLocation),o.migrateCacheEntries(),o}return B(t,e),t.prototype.setupBrowserStorage=function(e){switch(e){case j.LocalStorage:case j.SessionStorage:try{return new ct(e)}catch(t){this.logger.verbose(t);break}}return this.cacheConfig.cacheLocation=j.MemoryStorage,new dt},t.prototype.setupTemporaryCacheStorage=function(e){switch(e){case j.LocalStorage:case j.SessionStorage:try{return new ct(j.SessionStorage)}catch(t){return this.logger.verbose(t),this.internalStorage}case j.MemoryStorage:default:return this.internalStorage}},t.prototype.migrateCacheEntries=function(){var e=this,t=f.CACHE_PREFIX+"."+c.CLIENT_INFO,n=f.CACHE_PREFIX+"."+c.ERROR,r=f.CACHE_PREFIX+"."+c.ERROR_DESC,i=[this.browserStorage.getItem(f.CACHE_PREFIX+"."+c.ID_TOKEN),this.browserStorage.getItem(t),this.browserStorage.getItem(n),this.browserStorage.getItem(r)];[c.ID_TOKEN,c.CLIENT_INFO,c.ERROR,c.ERROR_DESC].forEach((function(t,n){return e.migrateCacheEntry(t,i[n])}))},t.prototype.migrateCacheEntry=function(e,t){t&&this.setTemporaryCache(e,t,!0)},t.prototype.validateAndParseJson=function(e){try{var t=JSON.parse(e);return t&&"object"==typeof t?t:null}catch(n){return null}},t.prototype.getItem=function(e){return this.browserStorage.getItem(e)},t.prototype.setItem=function(e,t){this.browserStorage.setItem(e,t)},t.prototype.getAccount=function(e){var t=this.getItem(e);if(!t)return null;var n=this.validateAndParseJson(t);return n&&we.isAccountEntity(n)?Fe.toObject(new we,n):null},t.prototype.setAccount=function(e){this.logger.trace("BrowserCacheManager.setAccount called");var t=e.generateAccountKey();this.setItem(t,JSON.stringify(e))},t.prototype.getIdTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&ze.isIdTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),Fe.toObject(new ze,n)):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null)},t.prototype.setIdTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e))},t.prototype.getAccessTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&Ye.isAccessTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),Fe.toObject(new Ye,n)):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null)},t.prototype.setAccessTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e))},t.prototype.getRefreshTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&$e.isRefreshTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),Fe.toObject(new $e,n)):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null)},t.prototype.setRefreshTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e))},t.prototype.getAppMetadata=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(t);
1return n&&et.isAppMetadataEntity(e,n)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),Fe.toObject(new et,n)):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)},t.prototype.setAppMetadata=function(e){this.logger.trace("BrowserCacheManager.setAppMetadata called");var t=e.generateAppMetadataKey();this.setItem(t,JSON.stringify(e))},t.prototype.getServerTelemetry=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&st.isServerTelemetryEntity(e,n)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),Fe.toObject(new st,n)):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)},t.prototype.setServerTelemetry=function(e,t){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(e,JSON.stringify(t))},t.prototype.getAuthorityMetadata=function(e){var t=this.internalStorage.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&Ae.isAuthorityMetadataEntity(e,n)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),Fe.toObject(new Ae,n)):null},t.prototype.getAuthorityMetadataKeys=function(){var e=this;return this.internalStorage.getKeys().filter((function(t){return e.isAuthorityMetadata(t)}))},t.prototype.setAuthorityMetadata=function(e,t){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(e,JSON.stringify(t))},t.prototype.getActiveAccount=function(){var e=this.generateCacheKey(c.ACTIVE_ACCOUNT),t=this.browserStorage.getItem(e);return t&&this.getAccountInfoByFilter({localAccountId:t})[0]||null},t.prototype.setActiveAccount=function(e){var t=this.generateCacheKey(c.ACTIVE_ACCOUNT);e?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(t,e.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(t))},t.prototype.getAccountInfoByFilter=function(e){return this.getAllAccounts().filter((function(t){return!(e.username&&e.username.toLowerCase()!==t.username.toLowerCase()||e.homeAccountId&&e.homeAccountId!==t.homeAccountId||e.localAccountId&&e.localAccountId!==t.localAccountId||e.tenantId&&e.tenantId!==t.tenantId||e.environment&&e.environment!==t.environment)}))},t.prototype.getThrottlingCache=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&lt.isThrottlingEntity(e,n)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),Fe.toObject(new lt,n)):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)},t.prototype.setThrottlingCache=function(e,t){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(e,JSON.stringify(t))},t.prototype.getTemporaryCache=function(e,t){var n=t?this.generateCacheKey(e):e;if(this.cacheConfig.storeAuthStateInCookie){var r=this.getItemCookie(n);if(r)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),r}var i=this.temporaryCacheStorage.getItem(n);if(!i){if(this.cacheConfig.cacheLocation===j.LocalStorage){var o=this.browserStorage.getItem(n);if(o)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),o}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),i},t.prototype.setTemporaryCache=function(e,t,n){var r=n?this.generateCacheKey(e):e;this.temporaryCacheStorage.setItem(r,t),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(r,t))},t.prototype.removeItem=function(e){return this.browserStorage.removeItem(e),this.temporaryCacheStorage.removeItem(e),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItem
1Cookie(e)),!0},t.prototype.containsKey=function(e){return this.browserStorage.containsKey(e)||this.temporaryCacheStorage.containsKey(e)},t.prototype.getKeys=function(){return J(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},t.prototype.clear=function(){var e=this;this.removeAllAccounts(),this.removeAppMetadata(),this.getKeys().forEach((function(t){!e.browserStorage.containsKey(t)&&!e.temporaryCacheStorage.containsKey(t)||-1===t.indexOf(f.CACHE_PREFIX)&&-1===t.indexOf(e.clientId)||e.removeItem(t)})),this.internalStorage.clear()},t.prototype.setItemCookie=function(e,t,n){var r=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path=/;";n&&(r+="expires="+this.getCookieExpirationTime(n)+";"),this.cacheConfig.secureCookies&&(r+="Secure;"),document.cookie=r},t.prototype.getItemCookie=function(e){for(var t=encodeURIComponent(e)+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}return""},t.prototype.clearMsalCookies=function(){var e=this,t=f.CACHE_PREFIX+"."+this.clientId;document.cookie.split(";").forEach((function(n){for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t)){var r=n.split("=")[0];e.clearItemCookie(r)}}))}
1,t.prototype.clearItemCookie=function(e){this.setItemCookie(e,"",-1)},t.prototype.getCookieExpirationTime=function(e){var t=new Date;return new Date(t.getTime()+e*this.COOKIE_LIFE_MULTIPLIER).toUTCString()},t.prototype.getCache=function(){return this.browserStorage},t.prototype.setCache=function(){},t.prototype.generateCacheKey=function(e){return this.validateAndParseJson(e)?JSON.stringify(e):U.startsWith(e,f.CACHE_PREFIX)||U.startsWith(e,c.ADAL_ID_TOKEN)?e:f.CACHE_PREFIX+"."+this.clientId+"."+e},t.prototype.generateAuthorityKey=function(e){var t=Ze.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(W.AUTHORITY+"."+t)},t.prototype.generateNonceKey=function(e){var t=Ze.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(W.NONCE_IDTOKEN+"."+t)},t.prototype.generateStateKey=function(e){var t=Ze.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(W.REQUEST_STATE+"."+t)},t.prototype.getCachedAuthority=function(e){var t=this.generateStateKey(e),n=this.getTemporaryCache(t);if(!n)return null;var r=this.generateAuthorityKey(n);return this.getTemporaryCache(r)},t.prototype.updateCacheEntries=function(e,t,n,r,i){this.logger.trace("BrowserCacheManager.updateCacheEntries called");var o=this.generateStateKey(e);this.setTemporaryCache(o,e,!1);var s=this.generateNonceKey(e);this.setTemporaryCache(s,t,!1);var a=this.generateAuthorityKey(e);if(this.setTemporaryCache(a,n,!1),i){var l={credential:i.homeAccountId,type:xe.HOME_ACCOUNT_ID};this.setTemporaryCache(W.CCS_CREDENTIAL,JSON.stringify(l),!0)}else U.isEmpty(r)||(l={credential:r,type:xe.UPN},this.setTemporaryCache(W.CCS_CREDENTIAL,JSON.stringify(l),!0))},t.prototype.resetRequestCache=function(e){var t=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),U.isEmpty(e)||this.getKeys().forEach((function(n){-1!==n.indexOf(e)&&t.removeItem(n)})),e&&(this.removeItem(this.generateStateKey(e)),this.removeItem(this.generateNonceKey(e)),this.removeItem(this.generateAuthorityKey(e))),this.removeItem(this.generateCacheKey(W.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(W.ORIGIN_URI)),this.removeItem(this.generateCacheKey(W.URL_HASH)),this.removeItem(this.generateCacheKey(W.INTERACTION_STATUS_KEY)),this.removeItem(this.generateCacheKey(W.CCS_CREDENTIAL))},t.prototype.cleanRequestByState=function(e){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),e){var t=this.generateStateKey(e),n=this.temporaryCacheStorage.getItem(t);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: "+n),this.resetRequestCache(n||"")}this.clearMsalCookies()},t.prototype.cleanRequestByInteractionType=function(e){var t=this;this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach((function(n){if(-1!==n.indexOf(W.REQUEST_STATE)){var r=t.temporaryCacheStorage.getItem(n);if(r){var i=ht.extractBrowserRequestState(t.cryptoImpl,r);i&&i.interactionType===e&&(t.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: "+r),t.resetRequestCache(r))}}})),this.clearMsalCookies()},t.prototype.cacheCodeRequest=function(e,t){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");var n=t.base64Encode(JSON.stringify(e));this.setTemporaryCache(W.REQUEST_PARAMS,n,!0)},t.prototype.getCachedRequest=function(e,t){this.logger.trace("BrowserCacheManager.getCachedRequest called");var n=this.getTemporaryCache(W.REQUEST_PARAMS,!0);if(!n)throw ae.createNoTokenRequestCacheError();var r=this.validateAndParseJson(t.base64Decode(n));if(!r)throw ae.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(W.REQUEST_PARAMS)),U.isEmpty(r.authority)){var i=this.generateAuthorityKey(e),o=this.getTemporaryCache(i);if(!o)throw ae.createNoCachedAuthorityError();r.authority=o}return r},t}(Fe),ft={sendGetRequestAsync:function(){return Promise.reject(P.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented for the Network interface."))},sendPostRequestAsync:function(){return Promise.reject(P.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented for the Network interface."))}},gt=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,t){return $(this,void 0,void 0,(function(){var n,r,i;return Q(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,fetch(e,{method:V.GET,headers:this.getFetchHeaders(t)})];case 1:return n=o.sent(),[3,3];case 2:throw r=o.sent(),window.navigator.onLine?ae.createGetRequestFailedError(r,e):ae.createNoNetworkConnectivityError();case 3:return o.trys.push([3,5,,6]),i={headers:this.getHeaderDict(n.headers)},[4,n.json()];case 4:return[2,(i.body=o.sent(),i.status=n.status,i)];case 5:throw o.sent(),ae.createFailedToParseNetworkResponseError(e);case 6:return[2]}}
1))}))},e.prototype.sendPostRequestAsync=function(e,t){return $(this,void 0,void 0,(function(){var n,r,i,o;return Q(this,(function(s){switch(s.label){case 0:n=t&&t.body||"",s.label=1;case 1:return s.trys.push([1,3,,4]),[4,fetch(e,{method:V.POST,headers:this.getFetchHeaders(t),body:n})];case 2:return r=s.sent(),[3,4];case 3:throw i=s.sent(),window.navigator.onLine?ae.createPostRequestFailedError(i,e):ae.createNoNetworkConnectivityError();case 4:return s.trys.push([4,6,,7]),o={headers:this.getHeaderDict(r.headers)},[4,r.json()];case 5:return[2,(o.body=s.sent(),o.status=r.status,o)];case 6:throw s.sent(),ae.createFailedToParseNetworkResponseError(e);case 7:return[2]}}))}))},e.prototype.getFetchHeaders=function(e){var t=new Headers;if(!e||!e.headers)return t;var n=e.headers;return Object.keys(n).forEach((function(e){t.append(e,n[e])})),t},e.prototype.getHeaderDict=function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t},e}(),mt=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,t){return $(this,void 0,void 0,(function(){return Q(this,(function(n){return[2,this.sendRequestAsync(e,V.GET,t)]}))}))},e.prototype.sendPostRequestAsync=function(e,t){return $(this,void 0,void 0,(function(){return Q(this,(function(n){return[2,this.sendRequestAsync(e,V.POST,t)]}))}))},e.prototype.sendRequestAsync=function(e,t,n){var r=this;return new Promise((function(i,o){var s=new XMLHttpRequest;if(s.open(t,e,!0),r.setXhrHeaders(s,n),s.onload=function(){(s.status<200||s.status>=300)&&o(t===V.POST?ae.createPostRequestFailedError("Failed with status "+s.status,e):ae.createGetRequestFailedError("Failed with status "+s.status,e));try{var n=JSON.parse(s.responseText),a={headers:r.getHeaderDict(s),body:n,status:s.status};i(a)}catch(l){o(ae.createFailedToParseNetworkResponseError(e))}},s.onerror=function(){window.navigator.onLine?o(t===V.POST?ae.createPostRequestFailedError("Failed with status "+s.status,e):ae.createGetRequestFailedError("Failed with status "+s.status,e)):o(ae.createNoNetworkConnectivityError())},t===V.POST&&n&&n.body)s.send(n.body);else{if(t!==V.GET)throw ae.createHttpMethodNotImplementedError(t);s.send()}}))},e.prototype.setXhrHeaders=function(e,t){if(t&&t.headers){var n=t.headers;Object.keys(n).forEach((function(t){e.setRequestHeader(t,n[t])}))}},e.prototype.getHeaderDict=function(e){var t=e.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};return t.forEach((function(e){var t=e.split(": "),r=t.shift(),i=t.join(": ");r&&i&&(n[r]=i)})),n},e}(),yt=function(){function e(){}return e.clearHash=function(e){e.location.hash=f.EMPTY_STRING,"function"==typeof e.history.replaceState&&e.history.replaceState(null,f.EMPTY_STRING,""+e.location.origin+e.location.pathname+e.location.search)},e.replaceHash=function(e){var t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""},e.isInIframe=function(){return window.parent!==window},e.isInPopup=function(){return"undefined"!=typeof window&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf("msal.")},e.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},e.getHomepage=function(){var e=new ge(window.location.href).getUrlComponents();return e.Protocol+"//"+e.HostNameAndPort+"/"},e.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new gt:new mt},e.blockReloadInHiddenIframes=function(){if(ge.hashContainsKnownProperties(window.location.hash)&&e.isInIframe())throw ae.createBlockReloadInHiddenIframeError()},e.blockRedirectInIframe=function(t,n){var r=e.isInIframe();if(t===q.Redirect&&r&&!n)throw ae.createRedirectInIframeError(r)},e.blockAcquireTokenInPopups=function(){if(e.isInPopup())throw ae.createBlockAcquireTokenInPopupsError()},e.blockNonBrowserEnvironment=function(e){if(!e)throw ae.createNonBrowserEnvironmentError()},e.detectIEOrEdge=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE "),n=e.indexOf("Trident/"),r=e.indexOf("Edge/");return t>0||n>0||r>0},e}(),bt=function(){function e(){}return e.prototype.navigateInternal=function(t,n){return e.defaultNavigateWindow(t,n)},e.prototype.navigateExternal=function(t,n){return e.defaultNavigateWindow(t,n)},e.defaultNavigateWindow=function(e,t){return t.noHistory?window.location.replace(e):window.location.assign(e),new Promise((function(e){setTimeout((function(){e(!0)}),t.timeout)}))},e}(),_t=function(){function e(e,t,n,r){this.authModule=e,this.browserStorage=t,this.authCodeRequest=n,this.browserRequestLogger=r}return e.prototype.handleCodeResponse=function(e,t,n,r){return $(this,void 0,void 0,(function(){var i,o,s,a,l,u,c;return Q(this,(function(d){switch(d.label){case 0:if(this.browserRequestLogger.verbose("InteractionHandler.handleCodeResponse called"),U.isEmpty(e))throw ae.createEmptyHashError(e);
1if(i=this.browserStorage.generateStateKey(t),!(o=this.browserStorage.getTemporaryCache(i)))throw L.createStateNotFoundError("Cached State");return s=this.authModule.handleFragmentResponse(e,o),a=this.browserStorage.generateNonceKey(o),l=this.browserStorage.getTemporaryCache(a),this.authCodeRequest.code=s.code,s.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(s.cloud_instance_host_name,n,r)]:[3,2];case 1:d.sent(),d.label=2;case 2:return s.nonce=l||void 0,s.state=o,s.client_info?this.authCodeRequest.clientInfo=s.client_info:(u=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=u),[4,this.authModule.acquireToken(this.authCodeRequest,s)];case 3:return c=d.sent(),this.browserStorage.cleanRequestByState(t),[2,c]}}))}))},e.prototype.updateTokenEndpointAuthority=function(e,t,n){return $(this,void 0,void 0,(function(){var r;return Q(this,(function(i){switch(i.label){case 0:return[4,Re.createDiscoveredInstance("https://"+e+"/"+t.tenant+"/",n,this.browserStorage,t.options)];case 1:return r=i.sent(),this.authModule.updateAuthority(r),[2]}}))}))},e.prototype.checkCcsCredentials=function(){var e=this.browserStorage.getTemporaryCache(W.CCS_CREDENTIAL,!0);if(e)try{return JSON.parse(e)}catch(t){this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+e)}return null},e}(),vt=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r,i)||this;return s.browserCrypto=o,s}return B(t,e),t.prototype.initiateAuthRequest=function(e,t){return $(this,void 0,void 0,(function(){var n;return Q(this,(function(r){switch(r.label){case 0:return this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest called"),U.isEmpty(e)?[3,7]:(t.redirectStartPage&&(this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(W.ORIGIN_URI,t.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(W.INTERACTION_STATUS_KEY,"interaction_in_progress",!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.browserRequestLogger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+e),n={apiId:K.acquireTokenRedirect,timeout:t.redirectTimeout,noHistory:!1},"function"!=typeof t.onRedirectNavigate?[3,4]:(this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1===t.onRedirectNavigate(e)?[3,2]:(this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,t.navigationClient.navigateExternal(e,n)])));case 1:return r.sent(),[2];case 2:return this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,t.navigationClient.navigateExternal(e,n)];case 5:return r.sent(),[2];case 6:return[3,8];case 7:throw this.browserRequestLogger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),ae.createEmptyNavigationUriError();case 8:return[2]}}
1))}))},t.prototype.handleCodeResponse=function(e,t,n,r,i){return $(this,void 0,void 0,(function(){var o,s,a,l,u,c,d;return Q(this,(function(h){switch(h.label){case 0:if(this.browserRequestLogger.verbose("RedirectHandler.handleCodeResponse called"),U.isEmpty(e))throw ae.createEmptyHashError(e);if(this.browserStorage.removeItem(this.browserStorage.generateCacheKey(W.INTERACTION_STATUS_KEY)),o=this.browserStorage.generateStateKey(t),!(s=this.browserStorage.getTemporaryCache(o)))throw L.createStateNotFoundError("Cached State");return a=this.authModule.handleFragmentResponse(e,s),l=this.browserStorage.generateNonceKey(s),u=this.browserStorage.getTemporaryCache(l),this.authCodeRequest.code=a.code,a.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(a.cloud_instance_host_name,n,r)]:[3,2];case 1:h.sent(),h.label=2;case 2:return a.nonce=u||void 0,a.state=s,a.client_info?this.authCodeRequest.clientInfo=a.client_info:(c=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=c),i&&ye.removeThrottle(this.browserStorage,i,this.authCodeRequest.authority,this.authCodeRequest.scopes),[4,this.authModule.acquireToken(this.authCodeRequest,a)];case 3:return d=h.sent(),this.browserStorage.cleanRequestByState(t),[2,d]}}))}))},t}(_t),Et=function(){function e(e,t){this.browserStorage=e,this.logger=t,this.unloadWindow=this.unloadWindow.bind(this)}return e.prototype.openPopup=function(t,n,r){try{var i=void 0;if(r?(i=r,this.logger.verbosePii("Navigating popup window to: "+t),i.location.assign(t)):void 0===r&&(this.logger.verbosePii("Opening popup window to: "+t),i=e.openSizedPopup(t,n)),!i)throw ae.createEmptyWindowCreatedError();return i.focus&&i.focus(),this.currentWindow=i,window.addEventListener("beforeunload",this.unloadWindow),i}catch(o){throw this.logger.error("error opening popup "+o.message),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(W.INTERACTION_STATUS_KEY)),ae.createPopupWindowError(o.toString())}},e.openSizedPopup=function(e,t){var n=window.screenLeft?window.screenLeft:window.screenX,r=window.screenTop?window.screenTop:window.screenY,i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,o=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,s=Math.max(0,i/2-241.5+n),a=Math.max(0,o/2-300+r);return window.open(e,t,"width=483, height=600, top="+a+", left="+s+", scrollbars=yes")},e.prototype.unloadWindow=function(e){this.browserStorage.cleanRequestByInteractionType(q.Popup),this.currentWindow&&this.currentWindow.close(),e.preventDefault()},e.prototype.cleanPopup=function(e){e&&e.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(W.INTERACTION_STATUS_KEY))},e.prototype.monitorPopupForSameOrigin=function(e){var t=this;return new Promise((function(n,r){var i=setInterval((function(){if(e.closed)return t.cleanPopup(),clearInterval(i),void r(ae.createUserCancelledError());var o=f.EMPTY_STRING;try{o=e.location.href}catch(s){}U.isEmpty(o)||"about:blank"===o||(clearInterval(i),n())}),50)}))},e.generatePopupName=function(e,t){return"msal."+e+"."+t.scopes.join("-")+"."+t.authority+"."+t.correlationId},e.generateLogoutPopupName=function(e,t){return"msal."+e+"."+(t.account&&t.account.homeAccountId)+"."+t.correlationId},e}(),St=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.popupUtils=new Et(n,i),o}return B(t,e),t.prototype.initiateAuthRequest=function(e,t){if(U.isEmpty(e))throw this.browserRequestLogger.error("Navigate url is empty"),ae.createEmptyNavigationUriError();return this.browserStorage.setTemporaryCache(W.INTERACTION_STATUS_KEY,"interaction_in_progress",!0),this.browserRequestLogger.infoPii("Navigate to: "+e),this.popupUtils.openPopup(e,t.popupName,t.popup)},t.prototype.monitorPopupForHash=function(e){var t=this;return this.popupUtils.monitorPopupForSameOrigin(e).then((function(){var n=e.location.hash;if(yt.clearHash(e),t.popupUtils.cleanPopup(e),!n)throw ae.createEmptyHashError(e.location.href);if(ge.hashContainsKnownProperties(n))return n;throw ae.createHashDoesNotContainKnownPropertiesError()}))},t}(_t),Ct=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r,i)||this;return s.navigateFrameWait=o,s}return B(t,e),t.prototype.initiateAuthRequest=function(e){return $(this,void 0,void 0,(function(){var t;return Q(this,(function(n){switch(n.label){case 0:if(U.isEmpty(e))throw this.browserRequestLogger.info("Navigate url is empty"),ae.createEmptyNavigationUriError();return this.navigateFrameWait?[4,this.loadFrame(e)]:[3,2];case 1:return t=n.sent(),[3,3];case 2:t=this.loadFrameSync(e),n.label=3;case 3:return[2,t]}}))}))},t.prototype.monitorIframeForHash=function(e,t){var n=this;return new Promise((function(r,i){t<6e3&&n.browserRequestLogger.w
1arning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+t+"ms) than the default (6000ms). This may result in timeouts.");var o=window.performance.now()+t,s=setInterval((function(){if(window.performance.now()>o)return n.removeHiddenIframe(e),clearInterval(s),void i(ae.createMonitorIframeTimeoutError());var t=f.EMPTY_STRING,a=e.contentWindow;try{t=a?a.location.href:f.EMPTY_STRING}catch(u){}if(!U.isEmpty(t)){var l=a?a.location.hash:f.EMPTY_STRING;return ge.hashContainsKnownProperties(l)?(n.removeHiddenIframe(e),clearInterval(s),void r(l)):void 0}}),50)}))},t.prototype.loadFrame=function(e){var t=this;return new Promise((function(n,r){var i=t.createHiddenIframe();setTimeout((function(){i?(i.src=e,n(i)):r("Unable to load iframe")}),t.navigateFrameWait)}))},t.prototype.loadFrameSync=function(e){var t=this.createHiddenIframe();return t.src=e,t},t.prototype.createHiddenIframe=function(){var e=document.createElement("iframe");return e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(e),e},t.prototype.removeHiddenIframe=function(e){document.body===e.parentNode&&document.body.removeChild(e)},t}(_t);!function(e){e.LOGIN_START="msal:loginStart",e.LOGIN_SUCCESS="msal:loginSuccess",e.LOGIN_FAILURE="msal:loginFailure",e.ACQUIRE_TOKEN_START="msal:acquireTokenStart",e.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",e.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",e.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",e.SSO_SILENT_START="msal:ssoSilentStart",e.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",e.SSO_SILENT_FAILURE="msal:ssoSilentFailure",e.HANDLE_REDIRECT_START="msal:handleRedirectStart",e.HANDLE_REDIRECT_END="msal:handleRedirectEnd",e.POPUP_OPENED="msal:popupOpened",e.LOGOUT_START="msal:logoutStart",e.LOGOUT_SUCCESS="msal:logoutSuccess",e.LOGOUT_FAILURE="msal:logoutFailure",e.LOGOUT_END="msal:logoutEnd"}(Je||(Je={}));var wt=function(){function e(e,t){this.eventCallbacks=new Map,this.logger=e,this.browserCrypto=t}return e.prototype.addEventCallback=function(e){if("undefined"!=typeof window){var t=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(t,e),this.logger.verbose("Event callback registered with id: "+t),t}return null},e.prototype.removeEventCallback=function(e){this.eventCallbacks.delete(e),this.logger.verbose("Event callback "+e+" removed.")},e.prototype.emitEvent=function(e,t,n,r){var i=this;if("undefined"!=typeof window){var o={eventType:e,interactionType:t||null,payload:n||null,error:r||null,timestamp:Date.now()};this.logger.info("Emitting event: "+e),this.eventCallbacks.forEach((function(t,n){i.logger.verbose("Emitting event to callback "+n+": "+e),t.apply(null,[o])}))}},e}(),Tt=function(e){function t(t){var n=e.call(this,t)||this;return n.activeSilentTokenRequests=new Map,n}return B(t,e),t.prototype.loginRedirect=function(e){return $(this,void 0,void 0,(function(){return Q(this,(function(t){return this.logger.verbose("loginRedirect called"),[2,this.acquireTokenRedirect(e||ee)]}))}))},t.prototype.loginPopup=function(e){return this.logger.verbose("loginPopup called"),this.acquireTokenPopup(e||ee)},t.prototype.acquireTokenSilent=function(e){return $(this,void 0,void 0,(function(){var t,n,r,i,o=this;return Q(this,(function(s){if(this.preflightBrowserEnvironmentCheck(q.Silent),this.logger.verbose("acquireTokenSilent called",e.correlationId),!(t=e.account||this.getActiveAccount()))throw ae.createNoAccountError();return n=JSON.stringify({clientId:this.config.auth.clientId,authority:e.authority||"",scopes:e.scopes,homeAccountIdentifier:t.homeAccountId}),void 0===(r=this.activeSilentTokenRequests.get(n))?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",e.correlationId),i=this.acquireTokenSilentAsync(e,t).then((function(e){return o.activeSilentTokenRequests.delete(n),e})).catch((function(e){throw o.activeSilentTokenRequests.delete(n),e})),this.activeSilentTokenRequests.set(n,i),[2,i]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",e.correlationId),[2,r])}))}))},t.prototype.acquireTokenSilentAsync=function(e,t){return $(this,void 0,void 0,(function(){var n,r,i,o,s,a,l;return Q(this,(function(u){switch(u.label){case 0:n=Y(Y(Y({}
1,e),this.initializeBaseRequest(e)),{account:t,forceRefresh:e.forceRefresh||!1}),r=this.logger.clone("@azure/msal-browser","2.16.1",n.correlationId),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,q.Silent,e),u.label=1;case 1:return u.trys.push([1,4,,9]),i=this.initializeServerTelemetryManager(K.acquireTokenSilent_silentFlow,n.correlationId),[4,this.createSilentFlowClient(i,n.authority,n.correlationId)];case 2:return o=u.sent(),r.verbose("Silent auth client created"),[4,o.acquireCachedToken(n)];case 3:return s=u.sent(),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,q.Silent,s),[2,s];case 4:u.sent(),u.label=5;case 5:return u.trys.push([5,7,,8]),[4,this.acquireTokenByRefreshToken(n)];case 6:return a=u.sent(),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,q.Silent,a),[2,a];case 7:throw l=u.sent(),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,q.Silent,null,l),l;case 8:return[3,9];case 9:return[2]}}))}))},t}(function(){function e(e){var t,n,r,i,o,s,a,l,u;this.isBrowserEnvironment="undefined"!=typeof window,this.config=(n=this.isBrowserEnvironment,r=(t=e).auth,i=t.cache,o=t.system,s={clientId:"",authority:""+f.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:"",postLogoutRedirectUri:"",navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:Ce.AAD},a={cacheLocation:j.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1},l={loggerCallback:function(){},logLevel:F.Info,piiLoggingEnabled:!1},u=Y(Y({},Le),{loggerOptions:l,networkClient:n?yt.getBrowserNetworkClient():ft,navigationClient:new bt,loadFrameTimeout:0,windowHashTimeout:o&&o.loadFrameTimeout||6e4,iframeHashTimeout:o&&o.loadFrameTimeout||6e3,navigateFrameWait:n&&yt.detectIEOrEdge()?500:0,redirectNavigationTimeout:3e4,asyncPopups:!1,allowRedirectInIframe:!1}),{auth:Y(Y({},s),r),cache:Y(Y({},a),i),system:Y(Y({},u),o)}),this.logger=new G(this.config.system.loggerOptions,"@azure/msal-browser","2.16.1"),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.browserCrypto=this.isBrowserEnvironment?new he:pe,this.eventHandler=new wt(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new pt(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):new pt(this.config.auth.clientId,{cacheLocation:j.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1},pe,this.logger)}return e.prototype.handleRedirectPromise=function(e){return $(this,void 0,void 0,(function(){var t,n,r,i=this;return Q(this,(function(o){return this.eventHandler.emitEvent(Je.HANDLE_REDIRECT_START,q.Redirect),this.logger.verbose("handleRedirectPromise called"),t=this.getAllAccounts(),this.isBrowserEnvironment?(void 0===(r=this.redirectResponse.get(n=e||f.EMPTY_STRING))?(this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),r=this.handleRedirectResponse(e).then((function(e){return e&&(t.length<i.getAllAccounts().length?(i.eventHandler.emitEvent(Je.LOGIN_SUCCESS,q.Redirect,e),i.logger.verbose("handleRedirectResponse returned result, login success")):(i.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,q.Redirect,e),i.logger.verbose("handleRedirectResponse returned result, acquire token success"))),i.eventHandler.emitEvent(Je.HANDLE_REDIRECT_END,q.Redirect),e})).catch((function(e){throw i.eventHandler.emitEvent(t.length>0?Je.ACQUIRE_TOKEN_FAILURE:Je.LOGIN_FAILURE,q.Redirect,null,e),i.eventHandler.emitEvent(Je.HANDLE_REDIRECT_END,q.Redirect),e})),this.redirectResponse.set(n,r)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,r]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])}))}))},e.prototype.handleRedirectResponse=function(e){return $(this,void 0,void 0,(function(){var t,n,r,i,o,s,a,l,u;return Q(this,(function(c){switch(c.label){case 0:if(!this.interactionInProgress())return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(t=this.getRedirectResponseHash(e||window.location.hash)))return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(q.Redirect),[2,null];try{n=this.validateAndExtractStateFromHash(t,q.Redirect),yt.clearHash(window),this.logger.verbose("State extracted from hash")}catch(d){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+d),this.browserStorage.cleanRequestByInteractionType(q.Redirect),[2,null]}return r=this.browserStorage.getTemporaryCache(W.ORIGIN_URI,!0)||"",i=ge.removeHashFromUrl(r),o=ge.removeHashFromUrl(window.location.href),i===o&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(t,n)]):[3,2];case 1:return s=c.sent(),r.indexOf("#")>-1&&yt.replaceHash(r),[2,s];case 2:return this.config.auth.navigateToLoginRequestUrl?[3,3]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(t,n)]);case 3:return yt.isInIframe()?[3,8]:(this.browserStorage.setTemporaryCache(W.URL_HASH,t,!0),a={apiId:K.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},l=!0,r&&"null"!==r?[3,5]:(u=yt.getHomepage(),this.browserStorage.setTemporaryCache(W.ORIGIN_URI,u,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(u,a)]));case 4:return l=c.sent(),[3,7];case 5:return this.logger.verbose("Navigating to loginRequestUrl: "+r),[4,this.navigationClient.navigateInternal(r,a)];case 6:l=c.sent(),c.label=7;case 7:if(!l)return[2,this.handleHash(t,n)];c.label=8;case 8:return[2,null]}}))}))},e.prototype.getRedirectResponseHash=function(e){this.logger.verbose("getRedirectResponseHash called");var t=ge.hashContainsKnownProperties(e),n=this.browserStorage.getTemporaryCache(W.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(W.URL_HASH)),t?(this.logger.verbose("Hash contains known properties, returning response hash"),e):(this.logger.verbose("Hash does not contain known properties, returning c
1ached hash"),n)},e.prototype.validateAndExtractStateFromHash=function(e,t,n){this.logger.verbose("validateAndExtractStateFromHash called",n);var r=ge.getDeserializedHash(e);if(!r.state)throw ae.createHashDoesNotContainStateError();var i=ht.extractBrowserRequestState(this.browserCrypto,r.state);if(!i)throw ae.createUnableToParseStateError();if(i.interactionType!==t)throw ae.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",n),r.state},e.prototype.handleHash=function(e,t){return $(this,void 0,void 0,(function(){var n,r,i,o,s,a;return Q(this,(function(l){switch(l.label){case 0:n=this.browserStorage.getCachedRequest(t,this.browserCrypto),(r=this.logger.clone("@azure/msal-browser","2.16.1",n.correlationId)).verbose("handleHash called, retrieved cached request"),i=this.initializeServerTelemetryManager(K.handleRedirectPromise,n.correlationId),l.label=1;case 1:if(l.trys.push([1,4,,5]),!(o=this.browserStorage.getCachedAuthority(t)))throw ae.createNoCachedAuthorityError();return[4,this.createAuthCodeClient(i,o,n.correlationId)];case 2:return s=l.sent(),r.verbose("Auth code client created"),[4,new vt(s,this.browserStorage,n,r,this.browserCrypto).handleCodeResponse(e,t,s.authority,this.networkClient,this.config.auth.clientId)];case 3:return[2,l.sent()];case 4:throw a=l.sent(),i.cacheFailedRequest(a),this.browserStorage.cleanRequestByInteractionType(q.Redirect),a;case 5:return[2]}}
1))}))},e.prototype.acquireTokenRedirect=function(e){return $(this,void 0,void 0,(function(){var t,n,r,i,o,s,a,l,u,c;return Q(this,(function(d){switch(d.label){case 0:this.preflightBrowserEnvironmentCheck(q.Redirect),this.logger.verbose("acquireTokenRedirect called"),t=this.getAllAccounts().length>0,this.eventHandler.emitEvent(t?Je.ACQUIRE_TOKEN_START:Je.LOGIN_START,q.Redirect,e),n=this.preflightInteractiveRequest(e,q.Redirect),r=this.logger.clone("@azure/msal-browser","2.16.1",n.correlationId),i=this.initializeServerTelemetryManager(K.acquireTokenRedirect,n.correlationId),d.label=1;case 1:return d.trys.push([1,5,,6]),[4,this.initializeAuthorizationCodeRequest(n)];case 2:return o=d.sent(),[4,this.createAuthCodeClient(i,n.authority,n.correlationId)];case 3:return s=d.sent(),r.verbose("Auth code client created"),a=new vt(s,this.browserStorage,o,r,this.browserCrypto),[4,s.getAuthCodeUrl(n)];case 4:return l=d.sent(),u=this.getRedirectStartPage(e.redirectStartPage),r.verbosePii("Redirect start page: "+u),[2,a.initiateAuthRequest(l,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:u,onRedirectNavigate:e.onRedirectNavigate})];case 5:throw c=d.sent(),this.eventHandler.emitEvent(t?Je.ACQUIRE_TOKEN_FAILURE:Je.LOGIN_FAILURE,q.Redirect,null,c),i.cacheFailedRequest(c),this.browserStorage.cleanRequestByState(n.state),c;case 6:return[2]}}
1))}))},e.prototype.acquireTokenPopup=function(e){var t;try{this.preflightBrowserEnvironmentCheck(q.Popup),this.logger.verbose("acquireTokenPopup called",e.correlationId),t=this.preflightInteractiveRequest(e,q.Popup)}catch(i){return Promise.reject(i)}var n=Et.generatePopupName(this.config.auth.clientId,t);if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token",t.correlationId),this.acquireTokenPopupAsync(t,n);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token",t.correlationId);var r=Et.openSizedPopup("about:blank",n);return this.acquireTokenPopupAsync(t,n,r)},e.prototype.acquireTokenPopupAsync=function(e,t,n){return $(this,void 0,void 0,(function(){var r,i,o,s,a,l,u,c,d,h,p,f,g;return Q(this,(function(m){switch(m.label){case 0:this.logger.verbose("acquireTokenPopupAsync called",e.correlationId),r=this.getAllAccounts(),this.eventHandler.emitEvent(r.length>0?Je.ACQUIRE_TOKEN_START:Je.LOGIN_START,q.Popup,e),i=this.logger.clone("@azure/msal-browser","2.16.1",e.correlationId),o=this.initializeServerTelemetryManager(K.acquireTokenPopup,e.correlationId),m.label=1;case 1:return m.trys.push([1,7,,8]),[4,this.initializeAuthorizationCodeRequest(e)];case 2:return s=m.sent(),[4,this.createAuthCodeClient(o,e.authority,e.correlationId)];case 3:return a=m.sent(),i.verbose("Auth code client created"),[4,a.getAuthCodeUrl(e)];case 4:return l=m.sent(),u=new St(a,this.browserStorage,s,i),c=u.initiateAuthRequest(l,{popup:n,popupName:t}),this.eventHandler.emitEvent(Je.POPUP_OPENED,q.Popup,{popupWindow:c},null),[4,u.monitorPopupForHash(c)];case 5:return d=m.sent(),h=this.validateAndExtractStateFromHash(d,q.Popup,e.correlationId),ye.removeThrottle(this.browserStorage,this.config.auth.clientId,s.authority,s.scopes),[4,u.handleCodeResponse(d,h,a.authority,this.networkClient)];case 6:return p=m.sent(),f=r.length<this.getAllAccounts().length,this.eventHandler.emitEvent(f?Je.LOGIN_SUCCESS:Je.ACQUIRE_TOKEN_SUCCESS,q.Popup,p),[2,p];case 7:throw g=m.sent(),this.eventHandler.emitEvent(r.length>0?Je.ACQUIRE_TOKEN_FAILURE:Je.LOGIN_FAILURE,q.Popup,null,g),n&&n.close(),o.cacheFailedRequest(g),this.browserStorage.cleanRequestByState(e.state),g;case 8:return[2]}}
1))}))},e.prototype.ssoSilent=function(e){return $(this,void 0,void 0,(function(){var t,n;return Q(this,(function(r){switch(r.label){case 0:this.preflightBrowserEnvironmentCheck(q.Silent),this.logger.verbose("ssoSilent called",e.correlationId),this.eventHandler.emitEvent(Je.SSO_SILENT_START,q.Silent,e),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.acquireTokenByIframe(e,K.ssoSilent)];case 2:return t=r.sent(),this.eventHandler.emitEvent(Je.SSO_SILENT_SUCCESS,q.Silent,t),[2,t];case 3:throw n=r.sent(),this.eventHandler.emitEvent(Je.SSO_SILENT_FAILURE,q.Silent,null,n),n;case 4:return[2]}}))}))},e.prototype.acquireTokenByIframe=function(e,t){return $(this,void 0,void 0,(function(){var n,r,i,o,s,a,l;return Q(this,(function(u){switch(u.label){case 0:if(this.logger.verbose("acquireTokenByIframe called",e.correlationId),U.isEmpty(e.loginHint)&&U.isEmpty(e.sid)&&(!e.account||U.isEmpty(e.account.username)))throw ae.createSilentSSOInsufficientInfoError();if(e.prompt&&e.prompt!==b.NONE)throw ae.createSilentPromptValueError(e.prompt);n=this.initializeAuthorizationRequest(Y(Y({},e),{prompt:b.NONE}),q.Silent),r=this.logger.clone("@azure/msal-browser","2.16.1",n.correlationId),i=this.initializeServerTelemetryManager(t,n.correlationId),u.label=1;case 1:return u.trys.push([1,6,,7]),[4,this.initializeAuthorizationCodeRequest(n)];case 2:return o=u.sent(),[4,this.createAuthCodeClient(i,n.authority,n.correlationId)];case 3:return s=u.sent(),r.verbose("Auth code client created"),[4,s.getAuthCodeUrl(n)];case 4:return a=u.sent(),[4,this.silentTokenHelper(a,o,s,r)];case 5:return[2,u.sent()];case 6:throw l=u.sent(),i.cacheFailedRequest(l),this.browserStorage.cleanRequestByState(n.state),l;case 7:return[2]}}
1))}))},e.prototype.acquireTokenByRefreshToken=function(e){return $(this,void 0,void 0,(function(){var t,n,r,i,o,s,a;return Q(this,(function(l){switch(l.label){case 0:this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_NETWORK_START,q.Silent,e),yt.blockReloadInHiddenIframes(),t=Y(Y({},e),this.initializeBaseRequest(e)),n=this.logger.clone("@azure/msal-browser","2.16.1",t.correlationId),r=this.initializeServerTelemetryManager(K.acquireTokenSilent_silentFlow,t.correlationId),l.label=1;case 1:return l.trys.push([1,4,,7]),[4,this.createRefreshTokenClient(r,t.authority,t.correlationId)];case 2:return i=l.sent(),n.verbose("Refresh token client created"),[4,i.acquireTokenByRefreshToken(t)];case 3:return[2,l.sent()];case 4:return o=l.sent(),r.cacheFailedRequest(o),s=o instanceof ve,a="invalid_grant"===o.errorCode,o instanceof me&&a&&!s?(n.verbose("Refresh token expired or invalid, attempting acquire token by iframe"),[4,this.acquireTokenByIframe(e,K.acquireTokenSilent_authCode)]):[3,6];case 5:return[2,l.sent()];case 6:throw o;case 7:return[2]}}
1))}))},e.prototype.silentTokenHelper=function(e,t,n,r){return $(this,void 0,void 0,(function(){var i,o,s,a;return Q(this,(function(l){switch(l.label){case 0:return[4,(i=new Ct(n,this.browserStorage,t,r,this.config.system.navigateFrameWait)).initiateAuthRequest(e)];case 1:return o=l.sent(),[4,i.monitorIframeForHash(o,this.config.system.iframeHashTimeout)];case 2:return s=l.sent(),a=this.validateAndExtractStateFromHash(s,q.Silent,t.correlationId),[2,i.handleCodeResponse(s,a,n.authority,this.networkClient)]}}))}))},e.prototype.logout=function(e){return $(this,void 0,void 0,(function(){return Q(this,(function(t){return this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead."),[2,this.logoutRedirect(e)]}))}))},e.prototype.logoutRedirect=function(e){return $(this,void 0,void 0,(function(){var t,n,r,i,o,s,a;return Q(this,(function(l){switch(l.label){case 0:this.preflightBrowserEnvironmentCheck(q.Redirect),this.logger.verbose("logoutRedirect called",null==e?void 0:e.correlationId),t=this.initializeLogoutRequest(e),n=this.logger.clone("@azure/msal-browser","2.16.1",t.correlationId),r=this.initializeServerTelemetryManager(K.logout,t.correlationId),l.label=1;case 1:return l.trys.push([1,9,,10]),this.eventHandler.emitEvent(Je.LOGOUT_START,q.Redirect,e),[4,this.createAuthCodeClient(r,e&&e.authority,null==t?void 0:t.correlationId)];case 2:return i=l.sent(),n.verbose("Auth code client created"),o=i.getLogoutUri(t),t.account&&!we.accountInfoIsEqual(t.account,this.getActiveAccount(),!1)||(n.verbose("Setting active account to null"),this.setActiveAccount(null)),s={apiId:K.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},this.eventHandler.emitEvent(Je.LOGOUT_SUCCESS,q.Redirect,t),e&&"function"==typeof e.onRedirectNavigate?!1===e.onRedirectNavigate(o)?[3,4]:(n.verbose("Logout onRedirectNavigate did not return false, navigating"),[4,this.navigationClient.navigateExternal(o,s)]):[3,6];case 3:return l.sent(),[2];case 4:n.verbose("Logout onRedirectNavigate returned false, stopping navigation"),l.label=5;case 5:return[3,8];case 6:return[4,this.navigationClient.navigateExternal(o,s)];case 7:return l.sent(),[2];case 8:return[3,10];case 9:throw a=l.sent(),r.cacheFailedRequest(a),this.eventHandler.emitEvent(Je.LOGOUT_FAILURE,q.Redirect,null,a),a;case 10:return this.eventHandler.emitEvent(Je.LOGOUT_END,q.Redirect),[2]}}))}))},e.prototype.logoutPopup=function(e){var t;try{this.preflightBrowserEnvironmentCheck(q.Popup),this.logger.verbose("logoutPopup called",null==e?void 0:e.correlationId),t=this.initializeLogoutRequest(e)}catch(i){return Promise.reject(i)}var n,r=Et.generateLogoutPopupName(this.config.auth.clientId,t);return this.config.system.asyncPopups?this.logger.verbose("asyncPopups set to true",t.correlationId):(this.logger.verbose("asyncPopup set to false, opening popup",t.correlationId),n=Et.openSizedPopup("about:blank",r)),this.logoutPopupAsync(t,r,e&&e.authority,n,e&&e.mainWindowRedirectUri)},e.prototype.logoutPopupAsync=function(e,t,n,r,i){return $(this,void 0,void 0,(function(){var o,s,a,l,u,c,d,h,p,f;return Q(this,(function(g){switch(g.label){case 0:this.logger.verbose("logoutPopupAsync called",e.correlationId),this.eventHandler.emitEvent(Je.LOGOUT_START,q.Popup,e),o=this.logger.clone("@azure/msal-browser","2.16.1",e.correlationId),s=this.initializeServerTelemetryManager(K.logoutPopup,e.correlationId),g.label=1;case 1:return g.trys.push([1,7,,8]),this.browserStorage.setTemporaryCache(W.INTERACTION_STATUS_KEY,"interaction_in_progress",!0),[4,this.createAuthCodeClient(s,n,e.correlationId)];case 2:a=g.sent(),o.verbose("Auth code client created"),l=a.getLogoutUri(e),e.account&&!we.accountInfoIsEqual(e.account,this.getActiveAccount(),!1)||(o.verbose("Setting active account to null"),this.setActiveAccount(null)),this.eventHandler.emitEvent(Je.LOGOUT_SUCCESS,q.Popup,e),u=new Et(this.browserStorage,this.logger),c=u.openPopup(l,t,r),this.eventHandler.emitEvent(Je.POPUP_OPENED,q.Popup,{popupWindow:c},null),g.label=3;case 3:return g.trys.push([3,5,,6]),[4,u.monitorPopupForSameOrigin(c)];case 4:return g.sent(),o.verbose("Popup successfully redirected to postLogoutRedirectUri"),[3,6];case 5:return d=g.sent(),o.verbose("Error occurred while monitoring popup for same origin. Session on server may remain active. Error: "+d),[3,6];case 6:return u.cleanPopup(c),i?(h={apiId:K.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},p=ge.getAbsoluteUrl(i,yt.getCurrentUri()),o.verbose("Redirecting main window to url specified in the request"),o.verbosePii("Redirecing main window to: "+p),this.navigationClient.navigateInternal(p,h)):o.verbose("No main window navigation requested"),[3,8];case 7:throw f=g.sent(),r&&r.close(),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(W.INTERACTION_STATUS_KEY)),this.eventHandler.emitEvent(Je.LOGOUT_FAILURE,q.Po
1pup,null,f),s.cacheFailedRequest(f),f;case 8:return this.eventHandler.emitEvent(Je.LOGOUT_END,q.Popup),[2]}}))}))},e.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},e.prototype.getAccountByUsername=function(e){var t=this.getAllAccounts();return!U.isEmpty(e)&&t&&t.length?(this.logger.verbose("Account matching username found, returning"),this.logger.verbosePii("Returning signed-in accounts matching username: "+e),t.filter((function(t){return t.username.toLowerCase()===e.toLowerCase()}))[0]||null):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},e.prototype.getAccountByHomeId=function(e){var t=this.getAllAccounts();return!U.isEmpty(e)&&t&&t.length?(this.logger.verbose("Account matching homeAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching homeAccountId: "+e),t.filter((function(t){return t.homeAccountId===e}))[0]||null):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},e.prototype.getAccountByLocalId=function(e){var t=this.getAllAccounts();return!U.isEmpty(e)&&t&&t.length?(this.logger.verbose("Account matching localAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching localAccountId: "+e),t.filter((function(t){return t.localAccountId===e}))[0]||null):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},e.prototype.setActiveAccount=function(e){this.browserStorage.setActiveAccount(e)},e.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},e.prototype.getRedirectUri=function(e){this.logger.verbose("getRedirectUri called");var t=e||this.config.auth.redirectUri||yt.getCurrentUri();return ge.getAbsoluteUrl(t,yt.getCurrentUri())},e.prototype.getRedirectStartPage=function(e){var t=e||window.location.href;return ge.getAbsoluteUrl(t,yt.getCurrentUri())},e.prototype.getDiscoveredAuthority=function(e,t){return $(this,void 0,void 0,(function(){var n;return Q(this,(function(r){switch(r.label){case 0:return this.logger.verbose("getDiscoveredAuthority called",t),n={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},e?(this.logger.verbose("Creating discovered authority with request authority",t),[4,Re.createDiscoveredInstance(e,this.config.system.networkClient,this.browserStorage,n)]):[3,2];case 1:return[2,r.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority",t),[4,Re.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,n)];case 3:return[2,r.sent()]}}))}))},e.prototype.interactionInProgress=function(){return"interaction_in_progress"===this.browserStorage.getTemporaryCache(W.INTERACTION_STATUS_KEY,!0)},e.prototype.createAuthCodeClient=function(e,t,n){return $(this,void 0,void 0,(function(){var r;return Q(this,(function(i){switch(i.label){case 0:return[4,this.getClientConfiguration(e,t,n)];case 1:return r=i.sent(),[2,new rt(r)]}}))}))},e.prototype.createSilentFlowClient=function(e,t,n){return $(this,void 0,void 0,(function(){var r;return Q(this,(function(i){switch(i.label){case 0:return[4,this.getClientConfiguration(e,t,n)];case 1:return r=i.sent(),[2,new ot(r)]}}))}))},e.prototype.createRefreshTokenClient=function(e,t,n){return $(this,void 0,void 0,(function(){var r;return Q(this,(function(i){switch(i.label){case 0:return[4,this.getClientConfiguration(e,t,n)];case 1:return r=i.sent(),[2,new it(r)]}}))}))},e.prototype.getClientConfiguration=function(e,t,n){return $(this,void 0,void 0,(function(){var r;return Q(this,(function(i){switch(i.label){case 0:return this.logger.verbose("getClientConfiguration called",n),[4,this.getDiscoveredAuthority(t,n)];case 1:return r=i.sent(),[2,{authOptions:{clientId:this.config.auth.clientId,authority:r,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:this.config.system.loggerOptions.loggerCallback,piiLoggingEnabled:this.config.system.loggerOptions.piiLoggingEnabled,logLevel:this.config.system.loggerOptions.logLevel,correlationId:n},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:e,libraryInfo:{sku:"msal.js.browser",version:"2.16.1",cpu:"",os:""}}]}}))}))},e.prototype.preflightInteractiveRequest=function(e,t){if(this.logger.verbose("preflightInteractiveRequest called, val
1idating app environment",null==e?void 0:e.correlationId),yt.blockReloadInHiddenIframes(),this.interactionInProgress())throw ae.createInteractionInProgressError();return this.initializeAuthorizationRequest(e,t)},e.prototype.preflightBrowserEnvironmentCheck=function(e){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),yt.blockNonBrowserEnvironment(this.isBrowserEnvironment),yt.blockRedirectInIframe(e,this.config.system.allowRedirectInIframe),yt.blockReloadInHiddenIframes(),yt.blockAcquireTokenInPopups(),e===q.Redirect&&this.config.cache.cacheLocation===j.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw ut.createInMemoryRedirectUnavailableError()},e.prototype.initializeBaseRequest=function(e){this.logger.verbose("Initializing BaseAuthRequest",e.correlationId);var t=e.authority||this.config.auth.authority,n=J(e&&e.scopes||[]),r=e&&e.correlationId||this.browserCrypto.createNewGuid();return e.authenticationScheme?this.logger.verbose('Authentication Scheme set to "'+e.authenticationScheme+'" as configured in Auth request',e.correlationId):(e.authenticationScheme=A.BEARER,this.logger.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request',e.correlationId)),Y(Y({},e),{correlationId:r,authority:t,scopes:n})},e.prototype.initializeServerTelemetryManager=function(e,t,n){return this.logger.verbose("initializeServerTelemetryManager called",t),new at({clientId:this.config.auth.clientId,correlationId:t,apiId:e,forceRefresh:n||!1,wrapperSKU:this.wrapperSKU,wrapperVer:this.wrapperVer},this.browserStorage)},e.prototype.initializeAuthorizationRequest=function(e,t){this.logger.verbose("initializeAuthorizationRequest called",e.correlationId);var n=this.getRedirectUri(e.redirectUri),r=Ze.setRequestState(this.browserCrypto,e&&e.state||"",{interactionType:t}),i=Y(Y({},this.initializeBaseRequest(e)),{redirectUri:n,state:r,nonce:e.nonce||this.browserCrypto.createNewGuid(),responseMode:_.FRAGMENT}),o=e.account||this.getActiveAccount();if(o&&(this.logger.verbose("Setting validated request account"),this.logger.verbosePii("Setting validated request account: "+o),i.account=o),U.isEmpty(i.loginHint)){var s=this.browserStorage.getTemporaryCache(c.ADAL_ID_TOKEN);if(s){var a=new Me(s,this.browserCrypto);this.browserStorage.removeItem(c.ADAL_ID_TOKEN),a.claims&&a.claims.upn&&(this.logger.verbose("No SSO params used and ADAL token retrieved, setting ADAL upn as loginHint"),i.loginHint=a.claims.upn)}}return this.browserStorage.updateCacheEntries(i.state,i.nonce,i.authority,i.loginHint||"",i.account||null),i},e.prototype.initializeAuthorizationCodeRequest=function(e){return $(this,void 0,void 0,(function(){var t,n;return Q(this,(function(r){switch(r.label){case 0:return this.logger.verbose("initializeAuthorizationRequest called",e.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return t=r.sent(),n=Y(Y({},e),{redirectUri:e.redirectUri,code:"",codeVerifier:t.verifier}),e.codeChallenge=t.challenge,e.codeChallengeMethod=f.S256_CODE_CHALLENGE_METHOD,[2,n]}}))}))},e.prototype.initializeLogoutRequest=function(e){if(this.logger.verbose("initializeLogoutRequest called",null==e?void 0:e.correlationId),this.interactionInProgress())throw ae.createInteractionInProgressError();var t=Y({correlationId:this.browserCrypto.createNewGuid()},e);return e&&null===e.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",t.correlationId):e&&e.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",t.correlationId),t.postLogoutRedirectUri=ge.getAbsoluteUrl(e.postLogoutRedirectUri,yt.getCurrentUri())):null===this.config.auth.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",t.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",t.correlationId),t.postLogoutRedirectUri=ge.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,yt.getCurrentUri())
1):(this.logger.verbose("Setting postLogoutRedirectUri to current page",t.correlationId),t.postLogoutRedirectUri=ge.getAbsoluteUrl(yt.getCurrentUri(),yt.getCurrentUri())),t},e.prototype.addEventCallback=function(e){return this.eventHandler.addEventCallback(e)},e.prototype.removeEventCallback=function(e){this.eventHandler.removeEventCallback(e)},e.prototype.getLogger=function(){return this.logger},e.prototype.setLogger=function(e){this.logger=e},e.prototype.initializeWrapperLibrary=function(e,t){this.wrapperSKU=e,this.wrapperVer=t},e.prototype.setNavigationClient=function(e){this.navigationClient=e},e}());n.d(t,"a",(function(){return Ot}));var xt=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};const Ot=new class{get hasAccount(){return!!this.account}constructor(){this.account=null,this.loginRedirectRequest={scopes:[],redirectStartPage:window.location.href,prompt:"select_account"}}loadAuthModule(e){return xt(this,void 0,void 0,(function*(){const t=this.getMsalClient(e);try{const e=yield t.handleRedirectPromise();if(e)return this.account=e.account,Object.assign({},e.account,{sub:e.idTokenClaims.sub,accessToken:e.idToken})}catch(n){console.log(n)}return null}))}login(e){return xt(this,void 0,void 0,(function*(){const t=this.getMsalClient(e);yield t.loginRedirect(this.loginRedirectRequest)}))}logout(e){const t=this.getMsalClient(e);let n;this.account&&(n=this.account),t.logoutRedirect({account:n})}getMsalClient(e){const t=Object.assign({},e,{system:{loggerOptions:{loggerCallback:(e,t,n)=>{if(!n)switch(e){case F.Error:return void console.error(t);case F.Info:case F.Verbose:return void console.log(t);case F.Warning:return void console.warn(t)}}}}});return new Tt(t)}}},"128B":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("Kqap"),i=n("BFxc"),o=n("xbPD"),s=n("mCNh");function a(e,t){return arguments.length>=2?function(n){return Object(s.a)(Object(r.a)(e,t),Object(i.a)(1),Object(o.a)(t))(n)}:function(t){return Object(s.a)(Object(r.a)((t,n,r)=>e(t,n,r+1)),Object(i.a)(1))(t)}}},"1B4V":function(e,t,n){"use strict";var r,i=n("OaJ3"),o=n("tUd6"),s=n("jeLr"),a=n("T6P2"),l=new i,u=new a,c=function(){},d=function(){},h=t.setDataStrategy=function(e){u.fire(e);var t=(r=e).cleanData;r.cleanData=function(e){c(e);var n=t.call(this,e);return d(e),n}};h({data:function(){var e=arguments[0],t=arguments[1],n=arguments[2];if(e){var r=l.get(e);return r||l.set(e,r={}),void 0===t?r:2===arguments.length?r[t]:(r[t]=n,n)}},removeData:function(e,t){if(e)if(void 0===t)l.delete(e);else{var n=l.get(e);n&&delete n[t]}},cleanData:function(e){for(var t=0;t<e.length;t++)s.off(e[t]),l.delete(e[t])}}),t.setDataStrategy=h,t.getDataStrategy=function(){return r},t.data=function(){return r.data.apply(this,arguments)},t.strategyChanging=u,t.beforeCleanData=function(e){c=e},t.afterCleanData=function(e){d=e},t.cleanData=function(e){return r.cleanData.call(this,e)},t.removeData=function(e,t){return r.removeData.call(this,e,t)},t.cleanDataRecursive=function(e,t){if(o.isElementNode(e)){var n=e.getElementsByTagName("*");r.cleanData(n),t&&r.cleanData([e])}}},"1IWC":function(e,t,n){var r,i,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["it",[["m.","p."],["AM","PM"],n],n,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],n,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],n,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
1, {0}",n,"{1} {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"\u20ac","euro",{BRL:[n,"R$"],BYN:[n,"Br"],EGP:[n,"\xa3E"],HKD:[n,"$"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NOK:[n,"NKr"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:[n,"$"]},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]}))},"1LL4":function(e,t,n){"use strict";var r=n("ti0F").isPlainObject;t.extend=function e(t){var n=1,i=!1;for("boolean"==typeof(t=t||{})&&(i=t,t=arguments[1]||{},n++);n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var s in o){var a,l=t[s],u=o[s],c=!1;"__proto__"!==s&&t!==u&&(i&&u&&(r(u)||(c=Array.isArray(u)))?(a=c?l&&Array.isArray(l)?l:[]:l&&r(l)?l:{},t[s]=e(i,a,u)):void 0!==u&&(t[s]=u))}}return t},t.extendFromObject=function(e,t,n){for(var r in e=e||{},t)Object.prototype.hasOwnProperty.call(t,r)&&(r in e&&!n||(e[r]=t[r]));return e}},"1R5E":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("8Y7J"),i=n("7nlb"),o=(n("YImT"),n("SVse")),s=(n("s7LF"),n("0fkH"),r.rb({encapsulation:0,styles:["[_nghost-%COMP%]     .input-group>:not(:first-child) .form-control{border-top-left-radius:0;border-bottom-left-radius:0}[_nghost-%COMP%]     .input-group>:not(:last-child) .form-control{border-top-right-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%]     .input-group>.input-addons{position:relative;flex:1 1 auto;width:1%;margin-bottom:0}"],data:{}}));function a(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"i",[["class","input-group-text"]],null,null,null,null,null)),r.Lb(512,null,o.C,o.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,o.l,[o.C],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],(function(e,t){e(t,2,0,"input-group-text",t.component.to.addonLeft.class)}),null)}function l(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"span",[["class","input-group-text"]],null,null,null,null,null)),(e()(),r.Ob(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.to.addonLeft.text)}))}function u(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[["class","input-group-prepend"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.addonLeftClick(n)&&r),r}),null,null)),r.Lb(512,null,o.E,o.F,[r.k,r.s,r.C]),r.sb(2,278528,null,0,o.q,[o.E],{ngStyle:[0,"ngStyle"]},null),r.Jb(3,{cursor:0}),(e()(),r.ib(16777216,null,null,1,null,a)),r.sb(5,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,l)),r.sb(7,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,3,0,n.to.addonLeft.onClick?"pointer":"inherit");e(t,2,0,r),e(t,5,0,n.to.addonLeft.class),e(t,7,0,n.to.addonLeft.text)}),null)}function c(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"i",[["class","input-group-text"]],null,null,null,null,null)),r.Lb(512,null,o.C,o.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,o.l,[o.C],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],(function(e,t){e(t,2,0,"input-group-text",t.component.to.addonRight.class)}),null)}function d(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"span",[["class","input-group-text"]],null,null,null,null,null)),(e()(),r.Ob(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.to.addonRight.text)}))}function h(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[["class","input-group-append"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.addonRightClick(n)&&r),r}),null,null)),r.Lb(512,null,o.E,o.F,[r.k,r.s,r.C]),r.sb(2,278528,null,0,o.q,[o.E],{ngStyle:[0,"ngStyle"]},null),r.Jb(3,{cursor:0}),(e()(),r.ib(16777216,null,null,1,null,c)),r.sb(5,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,d)),r.sb(7,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,3,0,n.to.addonRight.onClick?"pointer":"inherit");e(t,2,0,r),e(t,5,0,n.to.addonRight.class),e(t,7,0,n.to.addonRight.text)}),null)}function p(e){return r.Qb(0,[r.Mb(671088640,1,{fieldComponent:0}),(e()(),r.tb(1,0,null,null,6,"div",[["class","input-group"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,u)),r.sb(3,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.tb(4,0,null,null,1,"div",[["class","input-addons"]],null,null,null,null,null)),(e()(),r.tb(5,16777216,[[1,3],["fieldComponent",1]],null,0,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,h)),r.sb(7,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.to.addonLeft),e(t,7,0,n.to.addonRight)}),null)}function f(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-wrapper-addons",[],null,
1null,null,p,s)),r.sb(1,49152,null,0,i.b,[],null,null)],null,null)}var g=r.pb("formly-wrapper-addons",i.b,f,{field:"field",model:"model",form:"form",options:"options"},{},[])},"1xS0":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("AwRG");n("cygB");class i{constructor(e,t){this.backendService=e,this.httpService=t}getFormlyConfig(e,t){const n=new r.d(null,this.backendService.getShsSettings("GetFormlyConfig"));return n.url=n.url+"/"+e+"/"+t,this.httpService.get(n)}}},"2Fn2":function(e,t,n){"use strict";var r=o(n("1LL4")),i=o(n("/7L9"));function o(e){return e&&e.__esModule?e:{default:e}}var s={rtlEnabled:!1,defaultCurrency:"USD",oDataFilterToLower:!0,serverDecimalSeparator:".",decimalSeparator:".",thousandsSeparator:",",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!0,useLegacyStoreResult:!1,useJQuery:void 0,editorStylingMode:void 0,useLegacyVisibleIndex:!1,floatingActionButtonConfig:{icon:"add",closeIcon:"close",label:"",position:{at:"right bottom",my:"right bottom",offset:{x:-16,y:-16}},maxSpeedDialActionCount:5,shading:!1,direction:"auto"},optionsParser:function(e){"{"!==e.trim().charAt(0)&&(e="{"+e+"}");try{return new Function("return "+e)()}catch(t){throw i.default.Error("E3018",t,e)}}},a=["decimalSeparator","thousandsSeparator"],l=function(){if(!arguments.length)return s;var e=arguments.length<=0?void 0:arguments[0];a.forEach((function(t){if(e[t]){var n="Now, the ".concat(t," is selected based on the specified locale.");i.default.log("W0003","config",t,"19.2",n)}})),r.default.extend(s,e)};"undefined"!=typeof DevExpress&&DevExpress.config&&l(DevExpress.config),e.exports=l,e.exports.default=e.exports},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("XNiG"),i=n("9ppp");class o extends r.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(e){super.next(this._value=e)}}},"2Yyj":function(e,t,n){var r,i,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["es",[["a. m.","p. m."],n,n],n,[["D","L","M","X","J","V","S"],["dom.","lun.","mar.","mi\xe9.","jue.","vie.","s\xe1b."],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],n,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],n,[["a. C.","d. C."],n,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",n,"{1}, {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"\u20ac","euro",{AUD:[n,"$"],BRL:[n,"R$"],CNY:[n,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[n,"\xa3"],HKD:[n,"$"],ILS:[n,"\u20aa"],INR:[n,"\u20b9"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NZD:[n,"$"],RON:[n,"L"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:["US$","$"],XAF:[],XCD:[n,"$"],XOF:[]},function(e){return 1===e?1:5}]}))},"2ZVE":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return o}));var r=n("8Y7J");class i{constructor(e){this.viewRef=e}set ngTransclude(e){this._ngTransclude=e,e&&this.viewRef.createEmbeddedView(e)}get ngTransclude(){return this._ngTransclude}}class o{constructor(){this.type="tabs"}}class s{constructor(e,t,n){this.renderer=t,this.elementRef=n,this.clazz=!0,this.tabs=[],this.classMap={},Object.assign(this,e)}get vertical(){return this._vertical}set vertical(e){this._vertical=e,this.setClassMap()}get justified(){return this._justified}set justified(e){this._justified=e,this.setClassMap()}get type(){return this._type}set type(e){this._type=e,this.setClassMap()}ngOnDestroy(){this.isDestroyed=!0}addTab(e){this.tabs.push(e),e.active=1===this.tabs.length&&void 0===e.active}removeTab(e,t={reselect:!0,emit:!0}){const n=this.tabs.indexOf(e);
1if(-1!==n&&!this.isDestroyed){if(t.reselect&&e.active&&this.hasAvailableTabs(n)){const e=this.getClosestTabIndex(n);this.tabs[e].active=!0}t.emit&&e.removed.emit(e),this.tabs.splice(n,1),e.elementRef.nativeElement.parentNode&&this.renderer.removeChild(e.elementRef.nativeElement.parentNode,e.elementRef.nativeElement)}}keyNavActions(e,t){const n=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13!==e.keyCode&&"Enter"!==e.key&&32!==e.keyCode&&"Space"!==e.key)if(39!==e.keyCode&&"RightArrow"!==e.key)if(37!==e.keyCode&&"LeftArrow"!==e.key)if(36!==e.keyCode&&"Home"!==e.key)if(35!==e.keyCode&&"End"!==e.key){if((46===e.keyCode||"Delete"===e.key)&&this.tabs[t].removable){if(this.removeTab(this.tabs[t]),n[t+1])return void n[(t+1)%n.length].focus();n[n.length-1]&&n[0].focus()}}else{let r;e.preventDefault();let i=1,o=t;do{o-i<0?(o=n.length-1,r=n[o],i=0):r=n[o-i],i++}while(r.classList.contains("disabled"));r.focus()}else{let t;e.preventDefault();let r=0;do{t=n[r%n.length],r++}while(t.classList.contains("disabled"));t.focus()}else{let e,r=1,i=t;do{i-r<0?(i=n.length-1,e=n[i],r=0):e=n[i-r],r++}while(e.classList.contains("disabled"));e.focus()}else{let e,r=1;do{e=n[(t+r)%n.length],r++}while(e.classList.contains("disabled"));e.focus()}else e.preventDefault(),n[t%n.length].click()}getClosestTabIndex(e){const t=this.tabs.length;if(!t)return-1;for(let n=1;n<=t;n+=1){const t=e-n,r=e+n;if(this.tabs[t]&&!this.tabs[t].disabled)return t;if(this.tabs[r]&&!this.tabs[r].disabled)return r}return-1}hasAvailableTabs(e){const t=this.tabs.length;if(!t)return!1;for(let n=0;n<t;n+=1)if(!this.tabs[n].disabled&&n!==e)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,["nav-"+this.type]:!0}}}class a{constructor(e,t,n){this.elementRef=t,this.renderer=n,this.selectTab=new r.m,this.deselect=new r.m,this.removed=new r.m,this.addClass=!0,this.tabset=e,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(e){this.customClass&&this.customClass.split(" ").forEach(e=>{this.renderer.removeClass(this.elementRef.nativeElement,e)}),this._customClass=e?e.trim():null,this.customClass&&this.customClass.split(" ").forEach(e=>{this.renderer.addClass(this.elementRef.nativeElement,e)})}get active(){return this._active}set active(e){this._active!==e&&(this.disabled&&e||!e?this._active&&!e&&(this.deselect.emit(this),this._active=e):(this._active=e,this.selectTab.emit(this),this.tabset.tabs.forEach(e=>{e!==this&&(e.active=!1)})))}ngOnInit(){this.removable=this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}}class l{static forRoot(){return{ngModule:l,providers:[o]}}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"2oOB":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("XNiG"),i=function(){function e(){this.pendingRequests=new Map,this.layerActive=new r.a,this.keyCounter=0}return e.prototype.getLayerActive=function(){return this.layerActive.asObservable()},e.prototype.sendLayerActive=function(e){this.layerActive.next("boolean"==typeof e?{isActive:e}:e)},e.prototype.register=function(e,t){return void 0===t&&(t=null),this.keyCounter++,this.pendingRequests.set(this.keyCounter,e),this.checkPendingRequests(t),this.keyCounter},e.prototype.unregister=function(e){this.pendingRequests.delete(e),this.checkPendingRequests()},e.prototype.checkPendingRequests=function(e){void 0===e&&(e=null);var t=!1;this.pendingRequests.size>0&&(t=!0),this.sendLayerActive({isActive:t,content:e})},e}()},"2uy1":function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var r=n("8Y7J"),i=n("SVse"),o=n("XNiG"),s=n("VRyK"),a=n("xgIS"),l=n("LRne"),u=n("eNwd");function c(e,t){if(1!==e.nodeType)return[];const n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function d(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function h(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}const{overflow:t,overflowX:n,overflowY:r}=c(e);return/(auto|scroll|overlay)/.test(String(t)+String(r)+String(n))?e:h(d(e))}const p="undefined"!=typeof window&&"undefined"!=typeof document,f=p&&!(!window.MSInputMethodContext||!document.documentMode),g=p&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function m(e){return 11===e?f:10===e?g:f||g}function y(e){if(!e)return document.documentElement;const t=m(10)?document.body:null;let n,r=e.offsetParent||null;for(;r===t&&e.nextElementSibling&&n!==e.nextElementSibling;)n=e.nextElementSibling,r=n.offsetParent;const i=r&&r.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===c(r,"position")?y(r):r:n?n.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function _(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);const{commonAncestorContainer:s}=o;if(e!==s&&t!==s||r.contains(i))return function(e){const{nodeName:t}=e;return"BODY"!==t&&("HTML"===t||y(e.firstElementChild)===e)}(s)?s:y(s);const a=b(e);return a.host?_(a.host,t):_(e,b(t).host)}function v(e,t){const n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e[`border${n}Width`])+parseFloat(e[`border${r}Width`])}function E(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],m(10)?parseInt(n["offset"+e],10)+parseInt(r["margin"+("Height"===e?"Top":"Left")],10)+parseInt(r["margin"+("Height"===e?"Bottom":"Right")],10):0)}function S(e){const t=e.body,n=e.documentElement,r=m(10)&&getComputedStyle(n);return{height:E("Height",t,n,r),width:E("Width",t,n,r)}}function C(e,t="top"){const n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){const t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}return e[n]}function w(e){return Object.assign({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){let t={};try{if(m(10)){t=e.getBoundingClientRect();const n=C(e,"top"),r=C(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(s){return}const n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top}
1,r="HTML"===e.nodeName?S(e.ownerDocument):{};let i=e.offsetWidth-(r.width||e.clientWidth||n.right-n.left),o=e.offsetHeight-(r.height||e.clientHeight||n.bottom-n.top);if(i||o){const t=c(e);i-=v(t,"x"),o-=v(t,"y"),n.width-=i,n.height-=o}return w(n)}function x(e,t,n=!1){const r=m(10),i="HTML"===t.nodeName,o=T(e),s=T(t),a=h(e),l=c(t),u=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));let p=w({top:o.top-s.top-u,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){const e=parseFloat(l.marginTop),t=parseFloat(l.marginLeft);p.top-=u-e,p.bottom-=u-e,p.left-=d-t,p.right-=d-t,p.marginTop=e,p.marginLeft=t}return(r&&!n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(p=function(e,t,n=!1){const r=C(t,"top"),i=C(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}(p,t)),p}function O(e){if(!e||!e.parentElement||m())return document.documentElement;let t=e.parentElement;for(;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,n=0,r,i=!1){let o={top:0,left:0};const s=i?O(e):_(e,t);if("viewport"===r)o=function(e,t=!1){const n=e.ownerDocument.documentElement,r=x(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:C(n),a=t?0:C(n,"left");return w({top:s-Number(r.top)+Number(r.marginTop),left:a-Number(r.left)+Number(r.marginLeft),width:i,height:o})}(s,i);else{let n;"scrollParent"===r?(n=h(d(t)),"BODY"===n.nodeName&&(n=e.ownerDocument.documentElement)):n="window"===r?e.ownerDocument.documentElement:r;const a=x(n,s,i);if("HTML"!==n.nodeName||function e(t){const n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(t,"position")||e(d(t)))}(s))o=a;else{const{height:t,width:n}=S(e.ownerDocument);o.top+=a.top-a.marginTop,o.bottom=Number(t)+Number(a.top),o.left+=a.left-a.marginLeft,o.right=Number(n)+Number(a.left)}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function D({width:e,height:t}){return e*t}function I(e,t,n,r,i=["top","bottom","right","left"],o="viewport",s=0){if(-1===e.indexOf("auto"))return e;const a=A(n,r,s,o),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(l).map(e=>Object.assign({key:e},l[e],{area:D(l[e])})).sort((e,t)=>t.area-e.area);let c=u.filter(({width:e,height:t})=>e>=n.clientWidth&&t>=n.clientHeight);c=c.filter(e=>i.some(t=>t===e.key));const d=c.length>0?c[0].key:u[0].key,h=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+d),d+(h?"-"+h:"")}function R(e){const t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:Number(e.offsetWidth)+r,height:Number(e.offsetHeight)+n}}function N(e,t,n=null){return x(t,n?O(e):_(e,t),n)}function k(e,t,n){const r=n.split(" ")[0],i=R(e),o={width:i.width,height:i.height},s=-1!==["right","left"].indexOf(r),a=s?"top":"left",l=s?"left":"top",u=s?"height":"width",c=s?"width":"height";return o[a]=t[a]+t[u]/2-i[u]/2,o[l]=r===l?t[l]-i[c]:t[function(e){const t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,e=>t[e])}(l)],o}function M(e,t){return e&&e.modifiers&&e.modifiers[t]&&e.modifiers[t].enabled}function F(e,t,n){Object.keys(t).forEach(r=>{let i="";var o;-1!==["width","height","top","right","bottom","left"].indexOf(r)&&""!==(o=t[r])&&!isNaN(parseFloat(o))&&isFinite(o)&&(i="px"),n?n.setStyle(e,r,`${String(t[r])}${i}`):e.style[r]=String(t[r])+i})}function P(e){let t=e.offsets.target;const n=e.instance.target.querySelector(".arrow");if(!n)return e;const r=-1!==["left","right"].indexOf(e.placement),i=r?"height":"width",o=r?"Top":"Left",s=o.toLowerCase(),a=r?"left":"top",l=r?"bottom":"right",u=R(n)[i];e.offsets.host[l]-u<t[s]&&(t[s]-=t[s]-(e.offsets.host[l]-u)),Number(e.offsets.host[s])+Number(u)>t[l]&&(t[s]+=Number(e.offsets.host[s])+Number(u)-Number(t[l])),t=w(t);const d=Number(e.offsets.host[s])+Number(e.offsets.host[i]/2-u/2),h=c(e.instance.target),p=parseFloat(h["margin"+o]),f=parseFloat(h[`border${o}Width`]);let g=d-t[s]-p-f;return g=Math.max(Math.min(t[i]-u,g),0),e.offsets.arrow={[s]:Math.round(g),[a]:""},e.instance.arrow=n,e}function L(e){if(e.offsets.target=w(e.offsets.target),!M(e.options,"flip"))return e.offsets.target=Object.assign({},e.offsets.target,k(e.instance.target,e.offsets.host,e.placement)),e;const t=A(e.instance.target,e.instance.host,0,"viewport",!1);let n=e.placement.split(" ")[0],r=e.placement.split(" ")[1]||"";const i=I("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),o=[n,i];return o.forEach((i,s)=>{if(n!==i||o.length===s+1)return e;n=e.placement.split(" ")[0];const a="left"===n&&Math.floor(e.offsets.target.right)>Math.floor(e.offsets.host.left)||"right"===n&&Math.floor(e.offsets.target.left)<Math.floor(e.offsets.host.right)||"top"===n&&Math.floor(e.offsets.target.bottom)>Math.floor(e.offsets.host.top)||"bottom"===n&&Math.floor(e.offsets.target.top)<Math.floor(e.offsets.host.bottom),l=Math.floor(e.offsets.target.left)<Math.floor(t.left),u=Math.floor(e.offsets.target.right)>Math.floor(t.right),c=Math.floor(e.offsets.target.top)<Math.floor(t.top),d=Math.floor(e.offsets.target.bottom)>Math.floor(t.bottom),h="left"===n&&l||"right"===n&&u||"top"===n&&c||"bottom"===n&&d,p=-1!==["top","bottom"].indexOf(n),f=p&&"left"===r&&l||p&&"right"===r&&u||!p&&"left"===r&&c||!p&&"right"===r&&d;(a||h||f)&&((a||h)&&(n=o[s+1]),f&&(r=function(e){return"right"===e?"left"
1:"left"===e?"right":e}(r)),e.placement=n+(r?" "+r:""),e.offsets.target=Object.assign({},e.offsets.target,k(e.instance.target,e.offsets.host,e.placement)))}),e}function U(e){if(!M(e.options,"preventOverflow"))return e;const t="transform",n=e.instance.target.style,{top:r,left:i,[t]:o}=n;n.top="",n.left="",n[t]="";const s=A(e.instance.target,e.instance.host,0,"scrollParent",!1);n.top=r,n.left=i,n[t]=o;const a={primary(t){let n=e.offsets.target[t];return e.offsets.target[t]<s[t]&&(n=Math.max(e.offsets.target[t],s[t])),{[t]:n}},secondary(t){const n="right"===t?"left":"top";let r=e.offsets.target[n];return e.offsets.target[t]>s[t]&&(r=Math.min(e.offsets.target[n],s[t]-("right"===t?e.offsets.target.width:e.offsets.target.height))),{[n]:r}}};let l;return["left","right","top","bottom"].forEach(t=>{l=-1!==["left","top"].indexOf(t)?"primary":"secondary",e.offsets.target=Object.assign({},e.offsets.target,a[l](t))}),e}function G(e){const t=e.placement,n=t.split(" ")[0],r=t.split(" ")[1];if(r){const{host:t,target:i}=e.offsets,o=-1!==["bottom","top"].indexOf(n),s=o?"left":"top",a=o?"width":"height";e.offsets.target=Object.assign({},i,{start:{[s]:t[s]},end:{[s]:t[s]+t[a]-i[a]}}[r])}return e}class H{position(e,t,n=!0){return this.offset(e,t,!1)}offset(e,t,n=!0){return N(t,e)}positionElements(e,t,n,r,i){return[L,G,U,P].reduce((e,t)=>t(e),function(e,t,n,r){const i=N(e,t);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*\s*(start|end)*$/)||(n="auto");const o=!!n.match(/auto/g);let s=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;const a=k(e,i,s);return s=I(s,i,e,t,r?r.allowedPositions:void 0),{options:r,instance:{target:e,host:t,arrow:null},offsets:{target:a,host:i,arrow:null},positionFixed:!1,placement:s,placementAuto:o}}(t,e,n,i))}}const B=new H;class j{constructor(e,t){this.update$$=new o.a,this.positionElements=new Map,this.isDisabled=!1,Object(i.z)(t)&&(this.triggerEvent$=Object(s.a)(Object(a.a)(window,"scroll"),Object(a.a)(window,"resize"),Object(l.a)(0,u.a),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(t=>{!function(e,t,n,r,i,o){const s=B.positionElements(e,t,n,r,i),a=function(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left),top:Math.round(e.offsets.target.top),bottom:Math.round(e.offsets.target.bottom),right:Math.floor(e.offsets.target.right)}}(s);F(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${a.left}px, ${a.top}px, 0px)`},o),s.instance.arrow&&F(s.instance.arrow,s.offsets.arrow,o),function(e,t){const n=e.instance.target;let r=n.className;e.placementAuto&&(r=r.replace(/bs-popover-auto/g,"bs-popover-"+e.placement),r=r.replace(/bs-tooltip-auto/g,"bs-tooltip-"+e.placement),r=r.replace(/\sauto/g," "+e.placement),-1!==r.indexOf("popover")&&-1===r.indexOf("popover-auto")&&(r+=" popover-auto"),-1!==r.indexOf("tooltip")&&-1===r.indexOf("tooltip-auto")&&(r+=" tooltip-auto")),r=r.replace(/left|right|top|bottom/g,""+e.placement.split(" ")[0]),t?t.setAttribute(n,"class",r):n.className=r}(s,o)}(V(t.target),V(t.element),t.attachment,t.appendToBody,this.options,e.createRenderer(null,null))})}))}position(e){this.addPositionElement(e)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(e){this.positionElements.set(V(e.element),e)}calcPosition(){this.update$$.next()}deletePositionElement(e){this.positionElements.delete(V(e))}setOptions(e){this.options=e}}function V(e){return"string"==typeof e?document.querySelector(e):e instanceof r.k?e.nativeElement:e}},"3DdJ":function(e){e.exports=JSON.parse('{"de":{"Yes":"Ja","No":"Nein","Cancel":"Abbrechen","Clear":"L\xf6schen","Done":"Fertig","Loading":"Laden...","Select":"Ausw\xe4hlen...","Search":"Suchen...","Back":"Zur\xfcck","OK":"OK","dxCollectionWidget-noDataText":"Keine Daten verf\xfcgbar","dxDropDownEditor-selectLabel":"Ausw\xe4hlen","validation-required":"Pflichtfeld","validation-required-formatted":"{0} ist ein Pflichtfeld","validation-numeric":"Der Wert muss eine Zahl sein","validation-numeric-formatted":"{0} muss eine Zahl sein","validation-range":"Der Wert ist nicht im g\xfcltigen Bereich","validation-range-formatted":"{0} ist nicht im g\xfcltigen Bereich","validation-stringLength":"Die L\xe4nge des Wertes ist nicht korrekt","validation-stringLength-formatted":"Die L\xe4nge von {0} ist nicht korrekt","validation-custom":"Der Wert ist ung\xfcltig","validation-custom-formatted":"{0} ist ung\xfcltig","validation-async":"Der Wert ist ung\xfcltig","validation-async-formatted":"{0} ist ung\xfcltig","validation-compare":"Der Wert ist unpassend","validation-compare-formatted":"{0} ist unpassend","validation-pattern":"Der Wert passt nicht zum Muster","validation-pattern-formatted":"{0} passt nicht zum Muster","validation-email":"Die Email-Adresse ist ung\xfcltig","validation-email-formatted":"{0} ist ung\xfcltig","validation-mask":"Der Wert ist ung\xfcltig","dxLookup-searchPlaceholder":"Minimale Anzahl Zeichen: {0}","dxList-pullingDownText":"Zum Aktualisieren nach unten ziehen","dxList-pulledDownText":"Zum Aktualisieren loslassen","dxList-refreshingText":"Aktualisiere...","dxList-pageLo
1adingText":"Laden...","dxList-nextButtonText":"Mehr","dxList-selectAll":"Alles ausw\xe4hlen","dxListEditDecorator-delete":"Entfernen","dxListEditDecorator-more":"Mehr","dxScrollView-pullingDownText":"Zum Aktualisieren nach unten ziehen","dxScrollView-pulledDownText":"Zum Aktualisieren loslassen","dxScrollView-refreshingText":"Aktualisiere...","dxScrollView-reachBottomText":"Laden...","dxDateBox-simulatedDataPickerTitleTime":"Zeit ausw\xe4hlen","dxDateBox-simulatedDataPickerTitleDate":"Datum ausw\xe4hlen","dxDateBox-simulatedDataPickerTitleDateTime":"Datum und Zeit ausw\xe4hlen","dxDateBox-validation-datetime":"Der Wert muss ein Datum oder eine Uhrzeit sein","dxFileUploader-selectFile":"Datei ausw\xe4hlen","dxFileUploader-dropFile":"oder hierher ziehen","dxFileUploader-bytes":"Bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Hochladen","dxFileUploader-uploaded":"Hochgeladen","dxFileUploader-readyToUpload":"Bereit zum hochladen","dxFileUploader-uploadFailedMessage":"Fehler beim hochladen","dxFileUploader-invalidFileExtension":"Unzul\xe4ssiger Dateityp","dxFileUploader-invalidMaxFileSize":"Datei ist zu gro\xdf","dxFileUploader-invalidMinFileSize":"Datei ist zu klein","dxRangeSlider-ariaFrom":"Von","dxRangeSlider-ariaTill":"Bis","dxSwitch-switchedOnText":"EIN","dxSwitch-switchedOffText":"AUS","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} ist ein Pflichtfeld","dxNumberBox-invalidValueMessage":"Der Wert muss eine Zahl sein","dxNumberBox-noDataText":"Keine Daten","dxDataGrid-columnChooserTitle":"Spaltenauswahl","dxDataGrid-columnChooserEmptyText":"Ziehen Sie Spalten hierhin, um sie zu verstecken","dxDataGrid-groupContinuesMessage":"Weiter auf der n\xe4chsten Seite","dxDataGrid-groupContinuedMessage":"Weiter von der vorherigen Seite","dxDataGrid-groupHeaderText":"Nach dieser Spalte gruppieren","dxDataGrid-ungroupHeaderText":"Gruppierung entfernen","dxDataGrid-ungroupAllText":"Alle Gruppierungen entfernen","dxDataGrid-editingEditRow":"Bearbeiten","dxDataGrid-editingSaveRowChanges":"Speichern","dxDataGrid-editingCancelRowChanges":"Abbrechen","dxDataGrid-editingDeleteRow":"Entfernen","dxDataGrid-editingUndeleteRow":"Wiederherstellen","dxDataGrid-editingConfirmDeleteMessage":"Sind Sie sicher, dass Sie diesen Datensatz l\xf6schen wollen?","dxDataGrid-validationCancelChanges":"\xc4nderungen verwerfen","dxDataGrid-groupPanelEmptyText":"Ziehen Sie eine Spalte hierhin, um danach zu gruppieren","dxDataGrid-noDataText":"Keine Daten","dxDataGrid-searchPanelPlaceholder":"Suchen...","dxDataGrid-filterRowShowAllText":"(Alle)","dxDataGrid-filterRowResetOperationText":"Zur\xfccksetzen","dxDataGrid-filterRowOperationEquals":"Ist gleich","dxDataGrid-filterRowOperationNotEquals":"Ist nicht gleich","dxDataGrid-filterRowOperationLess":"Kleiner als","dxDataGrid-filterRowOperationLessOrEquals":"Kleiner oder gleich","dxDataGrid-filterRowOperationGreater":"Gr\xf6\xdfer als","dxDataGrid-filterRowOperationGreaterOrEquals":"Gr\xf6\xdfer oder gleich","dxDataGrid-filterRowOperationStartsWith":"Beginnt mit","dxDataGrid-filterRowOperationContains":"Enth\xe4lt","dxDataGrid-filterRowOperationNotContains":"Enth\xe4lt nicht","dxDataGrid-filterRowOperationEndsWith":"Endet mit","dxDataGrid-filterRowOperationBetween":"Zwischen","dxDataGrid-filterRowOperationBetweenStartText":"Anfang","dxDataGrid-filterRowOperationBetweenEndText":"Ende","dxDataGrid-applyFilterText":"Filter anwenden","dxDataGrid-trueText":"wahr","dxDataGrid-falseText":"falsch","dxDataGrid-sortingAscendingText":"Aufsteigend sortieren","dxDataGrid-sortingDescendingText":"Absteigend sortieren","dxDataGrid-sortingClearText":"Sortierung aufheben","dxDataGrid-editingSaveAllChanges":"\xc4nderungen speichern","dxDataGrid-editingCancelAllChanges":"\xc4nderungen verwerfen","dxDataGrid-editingAddRow":"Neue Zeile","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Minimum von {1} ist {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Maximum von {1} ist {0}","dxDataGrid-summaryAvg":"\xd8: {0}","dxDataGrid-summaryAvgOtherColumn":"Durchschnitt von {1} ist {0}","dxDataGrid-summarySum":"Summe: {0}","dxDataGrid-summarySumOtherColumn":"Summe von {1} ist {0}","dxDataGrid-summaryCount":"Anzahl: {0}","dxDataGrid-columnFixingFix":"Fixieren","dxDataGrid-columnFixingUnfix":"L\xf6sen","dxDataGrid-columnFixingLeftPosition":"Nach links","dxDataGrid-columnFixingRightPosition":"Nach rechts","dxDataGrid-exportTo":"Exportieren","dxDataGrid-exportToExcel":"Exportieren als Excel-Datei","dxDataGrid-exporting":"Exportieren ...","dxDataGrid-excelFormat":"Excel-Datei","dxDataGrid-selectedRows":"Ausgew\xe4hlte Zeilen","dxDataGrid-exportAll":"Alle Daten exportieren","dxDataGrid-exportSelectedRows":"Ausgew\xe4hlte Zeilen exportieren","dxDataGrid-headerFilterEmptyValue":"(Leerwerte)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Abbrechen","dxDataGrid-ariaColumn":"Spalte","dxDataGrid-ariaValue":"Wert","dxDataGrid-ariaFilterCell":"Filterzelle","dxDataGrid-ariaCollapse":"Zusammenklappen","dxDataGrid-ariaExpand":"Aufklappen","dxDataGrid-ariaDataGrid":"Datentabelle","dxDataGrid-ariaSearchInGrid":"Suchen in der Datentabelle","dxDataGrid-ariaSelectAll":"Alle au
1sw\xe4hlen","dxDataGrid-ariaSelectRow":"Zeile ausw\xe4hlen","dxDataGrid-filterBuilderPopupTitle":"Filter-Generator","dxDataGrid-filterPanelCreateFilter":"Filter erzeugen","dxDataGrid-filterPanelClearFilter":"Zur\xfccksetzen","dxDataGrid-filterPanelFilterEnabledHint":"Filter aktivieren","dxTreeList-ariaTreeList":"Strukturliste","dxTreeList-editingAddRowToNode":"Hinzuf\xfcgen","dxPager-infoText":"Seite {0} von {1} ({2} Elemente)","dxPager-pagesCountText":"von","dxPivotGrid-grandTotal":"Gesamt","dxPivotGrid-total":"{0} Gesamt","dxPivotGrid-fieldChooserTitle":"Feldauswahl","dxPivotGrid-showFieldChooser":"Feldauswahl anzeigen","dxPivotGrid-expandAll":"Alle aufklappen","dxPivotGrid-collapseAll":"Alle zusammenklappen","dxPivotGrid-sortColumnBySummary":"\\"{0}\\" nach dieser Spalte sortieren","dxPivotGrid-sortRowBySummary":"\\"{0}\\" nach dieser Zeile sortieren","dxPivotGrid-removeAllSorting":"Sortierungen entfernen","dxPivotGrid-dataNotAvailable":"Entf.","dxPivotGrid-rowFields":"Zeilenfelder","dxPivotGrid-columnFields":"Spaltenfelder","dxPivotGrid-dataFields":"Datenfelder","dxPivotGrid-filterFields":"Filterfelder","dxPivotGrid-allFields":"Alle Felder","dxPivotGrid-columnFieldArea":"Spaltenfelder hierher ziehen","dxPivotGrid-dataFieldArea":"Datenfelder hierher ziehen","dxPivotGrid-rowFieldArea":"Zeilenfelder hierher ziehen","dxPivotGrid-filterFieldArea":"Filterfelder hierher ziehen","dxScheduler-editorLabelTitle":"Betreff","dxScheduler-editorLabelStartDate":"Anfangszeit","dxScheduler-editorLabelEndDate":"Endzeit","dxScheduler-editorLabelDescription":"Beschreibung","dxScheduler-editorLabelRecurrence":"Wiederholen","dxScheduler-openAppointment":"Termin \xf6ffnen","dxScheduler-recurrenceNever":"Nie","dxScheduler-recurrenceDaily":"T\xe4glich","dxScheduler-recurrenceWeekly":"W\xf6chentlich","dxScheduler-recurrenceMonthly":"Monatlich","dxScheduler-recurrenceYearly":"J\xe4hrlich","dxScheduler-recurrenceRepeatEvery":"Wiederholen alle","dxScheduler-recurrenceRepeatOn":"Wiederholen an","dxScheduler-recurrenceEnd":"Wiederholungsende","dxScheduler-recurrenceAfter":"Nach","dxScheduler-recurrenceOn":"Am","dxScheduler-recurrenceRepeatDaily":"Tag(e)","dxScheduler-recurrenceRepeatWeekly":"Woche(n)","dxScheduler-recurrenceRepeatMonthly":"Monat(e)","dxScheduler-recurrenceRepeatYearly":"Jahr(e)","dxScheduler-switcherDay":"Tag","dxScheduler-switcherWeek":"Woche","dxScheduler-switcherWorkWeek":"Arbeitswoche","dxScheduler-switcherMonth":"Monat","dxScheduler-switcherTimelineDay":"Zeitstrahl Tag","dxScheduler-switcherTimelineWeek":"Zeitstrahl Woche","dxScheduler-switcherTimelineWorkWeek":"Zeitstrahl Arbeitswoche","dxScheduler-switcherTimelineMonth":"Zeitstrahl Monat","dxScheduler-switcherAgenda":"Agenda","dxScheduler-recurrenceRepeatOnDate":"am Datum","dxScheduler-recurrenceRepeatCount":"Ereignisse","dxScheduler-allDay":"Ganzt\xe4gig","dxScheduler-confirmRecurrenceEditMessage":"M\xf6chten Sie nur diesen Termin bearbeiten, oder die gesamte Serie?","dxScheduler-confirmRecurrenceDeleteMessage":"M\xf6chten Sie nur diesen Termin l\xf6schen, oder die gesamte Serie?","dxScheduler-confirmRecurrenceEditSeries":"Serie bearbeiten","dxScheduler-confirmRecurrenceDeleteSeries":"Serie l\xf6schen","dxScheduler-confirmRecurrenceEditOccurrence":"Termin bearbeiten","dxScheduler-confirmRecurrenceDeleteOccurrence":"Termin l\xf6schen","dxScheduler-noTimezoneTitle":"Keine Zeitzone","dxScheduler-moreAppointments":"{0} weitere","dxCalendar-todayButtonText":"Heute","dxCalendar-ariaWidgetName":"Kalendar","dxColorView-ariaRed":"Rot","dxColorView-ariaGreen":"Gr\xfcn","dxColorView-ariaBlue":"Blau","dxColorView-ariaAlpha":"Transparenz","dxColorView-ariaHex":"Farbwert","dxTagBox-selected":"{0} ausgew\xe4hlt","dxTagBox-allSelected":"Alle ausgew\xe4hlt ({0})","dxTagBox-moreSelected":"{0} weitere","vizExport-printingButtonText":"Drucken","vizExport-titleMenuText":"Export/Druck","vizExport-exportButtonText":"{0}-Datei","dxFilterBuilder-and":"Und","dxFilterBuilder-or":"Oder","dxFilterBuilder-notAnd":"Nicht Und","dxFilterBuilder-notOr":"Nicht Oder","dxFilterBuilder-addCondition":"Bedingung hinzuf\xfcgen","dxFilterBuilder-addGroup":"Gruppe hinzuf\xfcgen","dxFilterBuilder-enterValueText":"<Wert eingeben>","dxFilterBuilder-filterOperationEquals":"Ist gleich","dxFilterBuilder-filterOperationNotEquals":"Ist nicht gleich","dxFilterBuilder-filterOperationLess":"Kleiner als","dxFilterBuilder-filterOperationLessOrEquals":"Kleiner oder gleich","dxFilterBuilder-filterOperationGreater":"Gr\xf6\xdfer als","dxFilterBuilder-filterOperationGreaterOrEquals":"Gr\xf6\xdfer oder gleich","dxFilterBuilder-filterOperationStartsWith":"Beginnt mit","dxFilterBuilder-filterOperationContains":"Enth\xe4lt","dxFilterBuilder-filterOperationNotContains":"Enth\xe4lt nicht","dxFilterBuilder-filterOperationEndsWith":"Endet mit","dxFilterBuilder-filterOperationIsBlank":"Ist leer","dxFilterBuilder-filterOperationIsNotBlank":"Ist nicht leer","dxFilterBuilder-filterOperationBetween":"Zwischen","dxFilterBuilder-filterOperationAnyOf":"Ist enthalten in","dxFilterBuilder-filterOperationNoneOf":"Ist nicht enthalten in","dxHtmlEditor-dialogColorCaption":"Schriftfarbe \xe4ndern","dxHtmlEditor-dialogBackgroun
1dCaption":"Hintergrundfarbe \xe4ndern","dxHtmlEditor-dialogLinkCaption":"Link hinzuf\xfcgen","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Text","dxHtmlEditor-dialogLinkTargetField":"Link in neuem Fenster \xf6ffnen","dxHtmlEditor-dialogImageCaption":"Bild hinzuf\xfcgen","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Alternativer Text","dxHtmlEditor-dialogImageWidthField":"Breite (px)","dxHtmlEditor-dialogImageHeightField":"Bildh\xf6he (px)","dxHtmlEditor-heading":"\xdcberschrift","dxHtmlEditor-normalText":"Normaler Text","dxFileManager-newDirectoryName":"Ohne Titel","dxFileManager-rootDirectoryName":"Dateien","dxFileManager-errorNoAccess":"Zugriff verweigert. Die Operation kann nicht durchgef\xfchrt werden.","dxFileManager-errorDirectoryExistsFormat":"Ordner {0} existiert bereits.","dxFileManager-errorFileExistsFormat":"Datei {0} existiert bereits.","dxFileManager-errorFileNotFoundFormat":"Datei {0} wurde nicht gefunden.","dxFileManager-errorDirectoryNotFoundFormat":"Verzeichnis \'{0}\' nicht gefunden.","dxFileManager-errorWrongFileExtension":"Dateierweiterung ist nicht erlaubt.","dxFileManager-errorMaxFileSizeExceeded":"Die Dateigr\xf6\xdfe \xfcbersteigt die maximal erlaubte Gr\xf6\xdfe.","dxFileManager-errorInvalidSymbols":"Der Dateiname enth\xe4lt ung\xfcltige Zeichen.","dxFileManager-errorDefault":"Unbekannter Fehler","dxFileManager-commandCreate":"Neues Verzeichnis","dxFileManager-commandRename":"Umbenennen","dxFileManager-commandMove":"Verschieben","dxFileManager-commandCopy":"Kopieren","dxFileManager-commandDelete":"L\xf6schen","dxFileManager-commandDownload":"Herunterladen","dxFileManager-commandUpload":"Dateien hochladen","dxFileManager-commandRefresh":"Aktualisieren","dxFileManager-commandThumbnails":"Miniaturansicht","dxFileManager-commandDetails":"Detailansicht","dxFileManager-commandClear":"Auswahl aufheben","dxFileManager-dialogDirectoryChooserTitle":"Zielverzeichnis ausw\xe4hlen","dxFileManager-dialogDirectoryChooserButtonText":"Ausw\xe4hlen","dxFileManager-dialogRenameItemTitle":"Umbenennen","dxFileManager-dialogRenameItemButtonText":"Speichern","dxFileManager-dialogCreateDirectoryTitle":"Neues Verzeichnis","dxFileManager-dialogCreateDirectoryButtonText":"Erstellen","dxFileManager-editingCreateSingleItemProcessingMessage":"Ein Verzeichnis wird in {0} erstellt","dxFileManager-editingCreateSingleItemSuccessMessage":"Ein Verzeichnis wurde in {0} erstellt","dxFileManager-editingCreateSingleItemErrorMessage":"Verzeichnis wurde nicht erstellt","dxFileManager-editingCreateCommonErrorMessage":"Verzeichnis wurde nicht erstellt","dxFileManager-editingRenameSingleItemProcessingMessage":"Ein Element in {0} wird umbenannt","dxFileManager-editingRenameSingleItemSuccessMessage":"Ein Element in {0} wurde umbenannt","dxFileManager-editingRenameSingleItemErrorMessage":"Element wurde nicht umbenannt","dxFileManager-editingRenameCommonErrorMessage":"Element wurde nicht umbenannt","dxFileManager-editingDeleteSingleItemProcessingMessage":"Ein Element aus {0} wird gel\xf6scht","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"{0} Elemente aus {1} werden gel\xf6scht","dxFileManager-editingDeleteSingleItemSuccessMessage":"Ein Element aus {0} wurde gel\xf6scht","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"{0} Elemente aus {1} wurden gel\xf6scht","dxFileManager-editingDeleteSingleItemErrorMessage":"Element wurde nicht gel\xf6scht","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} Elemente wurden nicht gel\xf6scht","dxFileManager-editingDeleteCommonErrorMessage":"Einige Elemente wurden nicht gel\xf6scht","dxFileManager-editingMoveSingleItemProcessingMessage":"Ein Element wird nach {0} verschoben","dxFileManager-editingMoveMultipleItemsProcessingMessage":"{0} Elemente werden nach {1} verschoben","dxFileManager-editingMoveSingleItemSuccessMessage":"Ein Element wurde nach {0} verschoben","dxFileManager-editingMoveMultipleItemsSuccessMessage":"{0} Elemente wurden nach {1} verschoben","dxFileManager-editingMoveSingleItemErrorMessage":"Element wurde nicht verschoben","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} Elemente wurden nicht verschoben","dxFileManager-editingMoveCommonErrorMessage":"Einige Elemente wurden nicht verschoben","dxFileManager-editingCopySingleItemProcessingMessage":"Ein Element wird nach {0} kopiert","dxFileManager-editingCopyMultipleItemsProcessingMessage":"{0} Elemente werden nach {1} kopiert","dxFileManager-editingCopySingleItemSuccessMessage":"Ein Element wurde nach {0} kopiert","dxFileManager-editingCopyMultipleItemsSuccessMessage":"{0} Elemente wurden nach {1} kopiert","dxFileManager-editingCopySingleItemErrorMessage":"Element wurde nicht kopiert","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} Elemente wurden nicht kopiert","dxFileManager-editingCopyCommonErrorMessage":"Einige Elemente wurden nicht kopiert","dxFileManager-editingUploadSingleItemProcessingMessage":"Ein Element wird nach {0} hochgeladen","dxFileManager-editingUploadMultipleItemsProcessingMessage":"{0} Elemente werden nach {1} hochgeladen","dxFileManager-editingUploadSingleItemSuccessMessage":"Ein Element wurde nach {0} hochgeladen","dxFileManager-editingUploadMultipleItemsSuccessMessage":"{0} Elemente wurden nach {1} hochgeladen","dxFileManager-editingUploadSingleItemErrorMessage":"Element wurde nicht hochgeladen","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} Elemente wurden nicht hochgeladen","dxFileManager-editingUploadCanceledMessage":"Abgebrochen","dxFileManager-listDetailsColumnCaptionName":"Name","dxFileManager-listDetailsColumnCaptionDateModified":"Zuletzt ge\xe4ndert am","dxFileManager-listDetailsColumnCaptionFileSize":"Dateigr\xf6\xdfe","dxFileManager-listThumbnailsTooltipTextSize":"Gr\xf6\xdfe","dxFileManager-listThumbnailsTooltipTextDateModified":"Zuletzt ge\xe4ndert am","dxFileManager-notificationProgressPanelTitle":"Fortschritt","dxFileManager-notificationProgressPanelEmptyListText":"Keine Vorg\xe4nge","dxFileManager-notificationProgressPanelOperationCanceled":"Abgebrochen","dxDiagram-categoryGeneral":"Allgemein","dxDiagram-categoryFlowchart":"Flussdiagramm","dxDiagram-categoryOrgChart":"Organisationsdiagramm","dxDiagram-categoryContainers":"Container","dxDiagram-categoryCustom":"Benutzerdefiniert","dxDiagram-commandPro
1perties":"Eigenschaften","dxDiagram-commandExport":"Export","dxDiagram-commandExportToSvg":"Export als SVG","dxDiagram-commandExportToPng":"Export als PNG","dxDiagram-commandExportToJpg":"Export als JPEG","dxDiagram-commandUndo":"R\xfcckg\xe4ngig","dxDiagram-commandRedo":"Wiederherstellen","dxDiagram-commandFontName":"Schriftartname","dxDiagram-commandFontSize":"Schriftgr\xf6\xdfe","dxDiagram-commandBold":"Fett","dxDiagram-commandItalic":"Kursiv","dxDiagram-commandUnderline":"Unterstrichen","dxDiagram-commandTextColor":"Textfarbe","dxDiagram-commandLineColor":"Linienfarbe","dxDiagram-commandFillColor":"F\xfcllfarbe","dxDiagram-commandAlignLeft":"Linksb\xfcndig","dxDiagram-commandAlignCenter":"Zentriert","dxDiagram-commandAlignRight":"Rechtsb\xfcndig","dxDiagram-commandConnectorLineType":"Konnektor Linienart","dxDiagram-commandConnectorLineStraight":"Gerade","dxDiagram-commandConnectorLineOrthogonal":"Rechtwinklig","dxDiagram-commandConnectorLineStart":"Konnektor Linienanfang","dxDiagram-commandConnectorLineEnd":"Konnektor Linienende","dxDiagram-commandConnectorLineNone":"Keine","dxDiagram-commandConnectorLineArrow":"Pfeil","dxDiagram-commandAutoLayout":"Automatisches Layout","dxDiagram-commandAutoLayoutTree":"Baum","dxDiagram-commandAutoLayoutLayered":"Mehrschichtig","dxDiagram-commandAutoLayoutHorizontal":"Horizontal","dxDiagram-commandAutoLayoutVertical":"Vertikal","dxDiagram-commandFullscreen":"Vollbild","dxDiagram-commandUnits":"Einheiten","dxDiagram-commandPageSize":"Seitengr\xf6\xdfe","dxDiagram-commandPageOrientation":"Seitenausrichtung","dxDiagram-commandPageOrientationLandscape":"Querformat","dxDiagram-commandPageOrientationPortrait":"Hochformat","dxDiagram-commandPageColor":"Seitenfarbe","dxDiagram-commandShowGrid":"Raster anzeigen","dxDiagram-commandSnapToGrid":"Am Raster ausrichten","dxDiagram-commandGridSize":"Rastergr\xf6\xdfe","dxDiagram-commandZoomLevel":"Vergr\xf6\xdferungsstufe","dxDiagram-commandAutoZoom":"Automatische Vergr\xf6\xdferung","dxDiagram-commandSimpleView":"Einfache Ansicht","dxDiagram-commandCut":"Ausschneiden","dxDiagram-commandCopy":"Kopieren","dxDiagram-commandPaste":"Einf\xfcgen","dxDiagram-commandSelectAll":"Alles ausw\xe4hlen","dxDiagram-commandDelete":"L\xf6schen","dxDiagram-commandBringToFront":"In den Vordergrund","dxDiagram-commandSendToBack":"In den Hintergrund","dxDiagram-commandLock":"Sperren","dxDiagram-commandUnlock":"Entsperren","dxDiagram-commandInsertShapeImage":"Bild einf\xfcgen...","dxDiagram-commandEditShapeImage":"Bild bearbeiten...","dxDiagram-commandDeleteShapeImage":"Bild l\xf6schen","dxDiagram-unitIn":"in","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Abbrechen","dxDiagram-dialogInsertShapeImageTitle":"Bild einf\xfcgen","dxDiagram-dialogEditShapeImageTitle":"Bild bearbeiten","dxDiagram-dialogEditShapeImageSelectButton":"Bild ausw\xe4hlen","dxDiagram-dialogEditShapeImageLabelText":"oder Datei hier ablegen"}}')},"3N8a":function(e,t,n){"use strict";var r=n("quSY");class i extends r.a{constructor(e,t){super()}schedule(e,t=0){return this}}n.d(t,"a",(function(){return o}));class o extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);
1this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3RoI":function(e,t,n){"use strict";var r=n("ti0F"),i=n("XDlg"),o=function(){function e(){}return function(t){return e.prototype=t,new e}}(),s=function(e,t,n,r){!r&&i.isWrapped(e[t])?i.assign(e[t],n):e[t]=n};t.clone=o,t.orderEach=function(e,t){var n,i,o=[];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.push(n);for(o.sort((function(e,t){var n=r.isNumeric(e),i=r.isNumeric(t);return n&&i?e-t:n&&!i?-1:!n&&i?1:e<t?-1:e>t?1:0})),i=0;i<o.length;i++)t(n=o[i],e[n])},t.deepExtendArraySafe=function e(t,n,i,o){var a,l;for(var u in n)a=t[u],l=n[u],"__proto__"!==u&&t!==l&&(r.isPlainObject(l)&&(l=e((i?r.isObject(a):r.isPlainObject(a))?a:{},l,i,o)),void 0!==l&&a!==l&&s(t,u,l,o));return t}},"4I5i":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(t,"a",(function(){return i})),r.prototype=Object.create(Error.prototype);const i=r},"4y7E":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(){this.black="#000000",this.white="#ffffff"}getAccessibleColor(e){const t=this.hexToRgb(e);if(t)return this.getColorDifference(t,this.hexToRgb(this.black))>this.getColorDifference(t,this.hexToRgb(this.white))?this.black:this.white}toColorCode(e){return e.replace("0x","#")}hexToRgb(e){const t=/^(#|0x)?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[2],16),g:parseInt(t[3],16),b:parseInt(t[4],16)}:null}getColorDifference(e,t){return Math.max(e.r,t.r)-Math.min(e.r,t.r)+(Math.max(e.g,t.g)-Math.min(e.g,t.g))+(Math.max(e.r,t.b)-Math.min(e.b,t.b))}}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("ZUHj"),i=n("l7GE"),o=n("51Dv"),s=n("lJxs"),a=n("Cfvw");function l(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(l((n,r)=>Object(a.a)(e(n,r)).pipe(Object(s.a)((e,i)=>t(n,e,r,i))),n)):("number"==typeof t&&(n=t),t=>t.lift(new u(e,n)))}class u{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}class c extends i.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const i=new o.a(this,void 0,void 0);this.destination.add(i),Object(r.a)(this,e,t,n,i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,i){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");class i extends r.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5qrJ":function(e,t,n){"use strict";var r,i=n("/7L9"),o=n("ti0F"),s=function(e,t,n){return function(){var r=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=r}}},a=function(e){var t,n;if(!e)return this;for(t in e)n=e[t],this.prototype[t]="function"==typeof this.prototype[t]&&"function"==typeof n?s(this.parent.prototype,t,n):n;return this},l=function(){var e,t,n,r=this,i=Object.prototype.hasOwnProperty.bind(r),o=!i("_includedCtors")&&!i("_includedPostCtors");for(o&&(r._includedCtors=r._includedCtors.slice(0),r._includedPostCtors=r._includedPostCtors.slice(0)),n=0;n<arguments.length;n++)for(t in(e=arguments[n]).ctor&&r._includedCtors.push(e.ctor),e.postCtor&&r._includedPostCtors.push(e.postCtor),e)"ctor"!==t&&"postCtor"!==t&&(r.prototype[t]=e[t]);return r},u=function(e){if(!Object.prototype.hasOwnProperty.bind(this)("parent")&&this.parent){var t=Object.getPrototypeOf(this);return t===e||t.subclassOf(e)}return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},c=function(){throw i.Error("E0001")},d=(r=Object.prototype.hasOwnProperty,function(e,t){for(var n in e){if(!r.call(e,n))return;t[n]=e[n]}}),h=function(){};h.inherit=function(e){var t,n=function(){if(!this||o.isWindow(this)||"function"!=typeof this.constructor)throw i.Error("E0003");var e,t=this,n=t.ctor,r=t.constructor._includedCtors,s=t.constructor._includedPostCtors;for(e=0;e<r.length;e++)r[e].call(t);for(n&&n.apply(t,arguments),e=0;e<s.length;e++)s[e].call(t)};return n.prototype=((t=function(){}).prototype=this.prototype,new t),d(this,n),n.inherit=this.inherit,n.abstract=c,n.redefine=a,n.include=l,n.subclassOf=u,n.parent=this,n._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],n._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],n.prototype.constructor=n,n.redefine(e),n},h.abstract=c,e.exports=h},"65fl":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("2oOB");var r=function(){function e(e){this.loadingLayerService=e}return e.prototype.ngOnInit=function(){var e=this;this.layerActiveSubscription=this.loadingLayerService.getLayerActive().subscribe((function(t){return e.response=t}))},e.prototype.ngOnDestroy=function(){this.layerActiveSubscription.unsubscribe()},e}()},"7nlb":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o}
1)),n.d(t,"b",(function(){return i}));var r=n("0fkH");class i extends r.c{addonRightClick(e){this.to.addonRight.onClick&&this.to.addonRight.onClick(this.to,this,e)}addonLeftClick(e){this.to.addonLeft.onClick&&this.to.addonLeft.onClick(this.to,this,e)}}function o(e){!e.templateOptions||e.wrappers&&-1!==e.wrappers.indexOf("addons")||(e.templateOptions.addonLeft||e.templateOptions.addonRight)&&(e.wrappers=[...e.wrappers||[],"addons"])}class s{}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("n6bG"),i=n("gRHU"),o=n("quSY"),s=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class u extends o.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!e){this.destination=i.a;break}if("object"==typeof e){e instanceof u?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,e,t,n)}}[s.a](){return this}static create(e,t,n){const r=new u(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class c extends u{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==i.a&&(a=Object.create(t),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7q2x":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.prototype.intercept=function(e,t){var n=e;if(sessionStorage.getItem("access_token")){var r=sessionStorage.getItem("access_token");n=e.clone({headers:e.headers.set("Authorization","Bearer "+r)})}return t.handle(n)},e}()},"8VXM":function(e,t,n){"use strict";var r=n("XpgS").merge,i=n("tUd6"),o=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,s={default:{tagsCount:0,startTags:"",endTags:""},thead:{tagsCount:1,startTags:"<table>",endTags:"</table>"},td:{tagsCount:3,startTags:"<table><tbody><tr>",endTags:"</tr></tbody></table>"},col:{tagsCount:2,startTags:"<table><colgroup>",endTags:"</colgroup></table>"},tr:{tagsCount:2,startTags:"<table><tbody>",endTags:"</tbody></table>"}};s.tbody=s.colgroup=s.caption=s.tfoot=s.thead,s.th=s.td,t.parseHTML=function(e){if("string"!=typeof e)return null;var t=i.createDocumentFragment().appendChild(i.createElement("div")),n=o.exec(e),a=n&&n[1].toLowerCase(),l=s[a]||s.default;t.innerHTML=l.startTags+e+l.endTags;for(var u=0;u<l.tagsCount;u++)t=t.lastChild;return r([],t.childNodes)},t.isTablePart=function(e){var t=o.exec(e);return t&&t[1]in s}},"8Y7J":function(e,t,n){"use strict";n.d(t,"lb",(function(){return ts})),n.d(t,"mb",(function(){return ns})),n.d(t,"nb",(function(){return rs})),n.d(t,"ob",(function(){return is})),n.d(t,"kb",(function(){return Ji})),n.d(t,"jb",(function(){return Gi})),n.d(t,"g",(function(){return Bo})),n.d(t,"Q",(function(){return Lo})),n.d(t,"x",(function(){return Po})),n.d(t,"S",(function(){return Be})),n.d(t,"W",(function(){return He})),n.d(t,"c",(function(){return Zi})),n.d(t,"B",(function(){return eo})),n.d(t,"A",(function(){return to})),n.d(t,"b",(function(){return no})),n.d(t,"d",(function(){return $i})),n.d(t,"e",(function(){return Qi})),n.d(t,"U",(function(){return Jo})),n.d(t,"L",(function(){return Do})),n.d(t,"Y",(function(){return No})),n.d(t,"t",(function(){return io})),n.d(t,"f",(function(){return os})),n.d(t,"m",(function(){return qi})),n.d(t,"l",(function(){return Le})),n.d(t,"F",(function(){return dt})),n.d(t,"G",(function(){return ct})),n.d(t,"a",(function(){return Kt})),n.d(t,"O",(function(){return W})),n.d(t,"M",(function(){return On})),n.d(t,"Ub",(function(){return g})),n.d(t,"R",(function(){return m})),n.d(t,"T",(function(){return E})),n.d(t,"q",(function(){return Lt})),n.d(t,"Vb",(function(){return F})),n.d(t,"V",(function(){return P})),n.d(t,"n",(function(){return D})),n.d(t,"p",(function(){return A})),n.d(t,"o",(function(){return u})),n.d(t,"z",(function(){return c})),n.d(t,"H",(function(){return h})),n.d(t,"y",(function(){return So})),n.d(t,"C",(function(){return Tn})),n.d(t,"D",(function(){return Cn})),n.d(t,"E",(function(){return wn})),n.d(t,"i",(function(){return co})),n.d(t,"j",(function(){return mn})),n.d(t,"k",(function(){return vn})),n.d(t,"u",(function(){return H})),n.d(t,"w",(function(){return G})),n.d(t,"v",(function(){return Vo})),n.d(t,"I",(function(){return qo})),n.d(t,"J",(function(){return Wo})),n.d(t,"K",(function(){return Wn}
1)),n.d(t,"N",(function(){return qn})),n.d(t,"h",(function(){return kt})),n.d(t,"r",(function(){return Gn})),n.d(t,"s",(function(){return Hn})),n.d(t,"P",(function(){return Zt})),n.d(t,"X",(function(){return es})),n.d(t,"zb",(function(){return Jt})),n.d(t,"bb",(function(){return ro})),n.d(t,"Z",(function(){return Ft})),n.d(t,"ab",(function(){return yn})),n.d(t,"fb",(function(){return lt})),n.d(t,"gb",(function(){return ft})),n.d(t,"hb",(function(){return Ke})),n.d(t,"wb",(function(){return O})),n.d(t,"Cb",(function(){return $t})),n.d(t,"Nb",(function(){return _})),n.d(t,"Ab",(function(){return cn})),n.d(t,"Bb",(function(){return un})),n.d(t,"vb",(function(){return Wi})),n.d(t,"ub",(function(){return Ki})),n.d(t,"db",(function(){return Hi})),n.d(t,"eb",(function(){return Bi})),n.d(t,"Tb",(function(){return ee})),n.d(t,"Rb",(function(){return qt})),n.d(t,"Xb",(function(){return en})),n.d(t,"Wb",(function(){return tn})),n.d(t,"Sb",(function(){return nn})),n.d(t,"Yb",(function(){return on})),n.d(t,"cb",(function(){return Gr})),n.d(t,"ib",(function(){return ss})),n.d(t,"pb",(function(){return Jr})),n.d(t,"qb",(function(){return Ra})),n.d(t,"rb",(function(){return ur})),n.d(t,"sb",(function(){return Si})),n.d(t,"tb",(function(){return as})),n.d(t,"xb",(function(){return Lr})),n.d(t,"yb",(function(){return Pr})),n.d(t,"Db",(function(){return Kr})),n.d(t,"Eb",(function(){return Wr})),n.d(t,"Fb",(function(){return ys})),n.d(t,"Gb",(function(){return ui})),n.d(t,"Ib",(function(){return Ci})),n.d(t,"Lb",(function(){return wi})),n.d(t,"Hb",(function(){return vs})),n.d(t,"Jb",(function(){return Es})),n.d(t,"Kb",(function(){return _s})),n.d(t,"Mb",(function(){return hs})),n.d(t,"Ob",(function(){return Cs})),n.d(t,"Pb",(function(){return lr})),n.d(t,"Qb",(function(){return xs}));var r=n("XNiG"),i=n("quSY"),o=n("HDdC"),s=n("VRyK"),a=n("w1tV");function l(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}const u=l("Inject",e=>({token:e})),c=l("Optional"),d=l("Self"),h=l("SkipSelf");var p=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function f(e){for(let t in e)if(e[t]===f)return t;throw Error("Could not find renamed property on target object.")}function g(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const m=g;function y(e){const t=e[b];return t&&t.token===e?t:null}const b=f({ngInjectableDef:f});function _(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(_).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const v=f({__forward_ref__:f});function E(e){return e.__forward_ref__=E,e.toString=function(){return _(this())},e}function S(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(v)&&t.__forward_ref__===E?t():e}const C="undefined"!=typeof globalThis&&globalThis,w="undefined"!=typeof window&&window,T="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,x="undefined"!=typeof global&&global,O=C||x||w||T;class A{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=g({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const D=new A("INJECTOR",-1),I=new Object,R=/\n/gm,N=f({provide:String,useValue:f});let k=void 0;function M(e){const t=k;return k=e,t}function F(e,t=p.Default){return function(e,t=p.Default){if(void 0===k)throw new Error("inject() must be called from an injection context");return null===k?function(e,t,n){const r=y(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&p.Optional)return null;throw new Error(`Injector: NOT_FOUND [${_(e)}]`)}(e,0,t):k.get(e,t&p.Optional?null:void 0,t)}(e,t)}const P=F;class L{get(e,t=I){if(t===I){const t=new Error(`NullInjectorError: No provider for ${_(e)}!`);throw t.name="NullInjectorError",t}return t}}function U(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=_(t);if(t instanceof Array)i=t.map(_).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];
1e.push(n+":"+("string"==typeof r?JSON.stringify(r):_(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(R,"\n  ")}`}class G{}class H{}function B(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function j(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const V=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),W=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),K={},q=[],z=f({ngComponentDef:f}),Y=f({ngDirectiveDef:f}),$=f({ngPipeDef:f});let Q=0;function Z(e){return function(e){return e[z]||null}(e)||function(e){return e[Y]||null}(e)}function J(e){return function(e){return e[$]||null}(e)}function X(e,t){if(null==e)return K;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const ee=function(e){const t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,consts:e.consts,vars:e.vars,factory:e.factory,template:e.template||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===V.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||W.Emulated,id:"c",styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null};return i._=""+{toString:()=>{const n=e.directives,o=e.features,s=e.pipes;i.id+=Q++,i.inputs=X(e.inputs,r),i.outputs=X(e.outputs),o&&o.forEach(e=>e(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(Z):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(J):null,t.hasOwnProperty(b)||(t[b]=g({token:t,factory:e.factory}))}},i};let te=null;const ne=new Map;let re,ie=null;function oe(e,t){return ie&&e===ie||(ie=e,t&&(te=ne.get(e)||null),te=te||{classesBitMask:0,classesIndex:1,stylesBitMask:0,stylesIndex:1}),te}function se(e,t){return function(e){for(;Array.isArray(e);)e=e[0];return e}(t[e.index])}function ae(e,t){return t[1].data[e+19]}function le(){return re}const ue=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(O))();function ce(e,t){0===t?e[2]>0&&function(e){he(e,2|de(e))}(e):e[2]=t}function de(e){return e[1]}function he(e,t){e[1]=t}function pe(e,t){return e[t+2]}function fe(e,t){return 1&e[t+0]}function ge(e,t){return(1&fe(e,t))>0}function me(e,t){return e[t+0]>>1}function ye(e,t,n){const r=fe(e,t);e[t+0]=r|n<<1}function be(e,t){return e[t+1]}function _e(e,t,n){return e[t+3+n]}function ve(e,t){return!(!e||t!==e[2])}function Ee(e){return(1&de(e))>0}function Se(e){return(2&de(e))>0}function Ce(e){return 6+e[4]}function we(e,t){let n=Array.isArray(e)?e[0]:e,r=Array.isArray(t)?t[0]:t;return n instanceof String&&(n=n.toString()),r instanceof String&&(r=r.toString()),function(e,t){return!(e!=e&&t!=t)&&e!==t}(n,r)}function Te(e){return null!=e&&""!==e}function xe(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function Oe(e){return Ae(e)?e[0]:e}function Ae(e){return Array.isArray(e)&&e.length>=6&&"string"!=typeof e[1]}function De(e,t){return e[t+0]}function Ie(e,t,n){e[t+1]=n}function Re(e,t){return e[t+1]}const Ne=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function ke(e){return!!e.listen}function Me(e){return e.ngDebugContext}function Fe(e){return e.ngOriginalError}function Pe(e,...t){e.error(...t)}class Le{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Pe}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Me(e)?Me(e):this._findContext(Fe(e)):null}_findOriginalError(e){let t=Fe(e);for(;t&&Fe(t);)t=Fe(t);return t}}let Ue=!0,Ge=!1;function He(){return Ge=!0,Ue}function Be(){if(Ge)throw new Error("Cannot enable prod mode after platform setup.");Ue=!1}class je{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Ve=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,We=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ke(e){return(e=String(e)).match(Ve)||e.match(We)?e:(He()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function qe(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ze(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Ye=qe("area,br,col,hr,img,wbr"),$e=qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qe=qe("rp,rt"),Ze=ze(Qe,$e),Je=ze(Ye,ze($e,qe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ze(Qe,qe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ze),Xe=qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),et=qe("srcset"),tt=ze(Xe,et,qe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),nt=qe("script,style,template");class rt{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Je.hasOwnProperty(t))return this.sanitizedSomething=!0,!nt.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i<n.length;i++){const e=n.item(i),t=e.name,o=t.toLowerCase();if(!tt.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let s=e.value;Xe[o]&&(s=Ke(s)),et[o]&&(r=s,s=(r=String(r)).split(",").map(e=>Ke(e.trim())).join(", ")),this.buf.push(" ",t,'="',st(s),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Je.hasOwnProperty(t)&&!Ye.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(st(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const it=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ot=/([^\#-~ |!])/g;function st(e){return e.replace(/&/g,"&amp;").replace(it,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ot,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let at;function lt(e,t){let n=null;try{at=at||new je(e);let r=t?String(t):"";n=at.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=at.getInertBodyElement(r)}while(r!==o);const s=new rt,a=s.sanitizeChildren(ut(n)||n);return He()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=ut(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ut(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const ct=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class dt{}const ht=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),pt=/^url\(([^)]+)\)$/;function ft(e){if(!(e=String(e).trim()))return"";const t=e.match(pt);return t&&Ke(t[1])===t[1]||e.match(ht)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(He()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}const gt=/([A-Z])/g;function mt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let yt=[];function bt(e,t,n,r,i,o,s,a,l){Ee(e)||(s?function(e,t,n,r,i){yt.unshift(e,t,n,r,i)}(e,n,r,i,l):(yt.length&&_t(),vt(e,n,r,i,l)));const u=a||we(t[i],o);return u&&(t[i]=o),u}function _t(){let e=0;for(;e<yt.length;
1)vt(yt[e++],yt[e++],yt[e++],yt[e++],yt[e++]);yt.length=0}function vt(e,t,n,r,i){let o=!1;if(n){let s=!1,a=Ce(e);for(;a<e.length;){const o=be(e,a),l=pe(e,a);if(s=n<=l,s){n<l&&Et(e,a,n,i),St(e,!1,a,r,t);break}a+=3+o}s||(Et(e,e.length,n,i),St(e,!1,a,r,t),o=!0)}else St(e,!0,3,r,t),o=!0;return o}function Et(e,t,n,r){e.splice(t,0,r?1:0,1,n,null),ye(e,t,1)}function St(e,t,n,r,i){const o=n+3;let s=o+be(e,n);if(t||s--,"number"==typeof r){for(let t=o;t<=s;t++)if(e[t]===r)return;e.splice(s,0,r),e[n+1]++,ye(e,n,me(e,n)|1<<i)}else null!==r&&null==e[s]&&(e[s]=r)}function Ct(e,t,n,r,i,o,s,a){return i&&r&&(function(e){if(!Ee(e)){const t=Oe(e);t&&function(e,t){for(let n=1;n<t.length;n+=2){const r=Re(t,n);r&&vt(e,-1,De(t,n),r,!1)}}(e,t),function(e){he(e,1|de(e))}(e)}}(r),function(e,t){return e&&t>0}(r,o))?(function(e,t,n,r,i,o,s){const a=!0===(l=i)?-1:!1===l?0:l;var l;const u=wt,c=(a&me(e,3))>0?1:0;let d=Ce(e);for(;d<e.length;){const i=be(e,d);if(a&me(e,d)){let a=!1;const l=pe(e,d),h=i-1,p=_e(e,d,h);for(let i=0;i<h;i++){const u=_e(e,d,i),c=r[u];if(Te(c)){o(t,n,l,s&&ge(e,d)?s(l,c,2):c,u),a=!0;break}}if(u){const i=u(e,t,n,r,o,s,c|(a?4:2),l,p);a=a||i}a||o(t,n,l,p)}d+=3+i}u&&u(e,t,n,r,o,s,c)}(r,e,t,n,o,s,a),!0):i}let wt=null;const Tt=(e,t,n,r)=>{const i=t.style;r?(r=r.toString(),e&&ke(e)?e.setStyle(t,n,r,Ne.DashCase):i&&i.setProperty(n,r)):e&&ke(e)?e.removeStyle(t,n,Ne.DashCase):i&&i.removeProperty(n)},xt=(e,t,n,r)=>{if(""!==n){const i=t.classList;r?e&&ke(e)?e.addClass(t,n):i&&i.add(n):e&&ke(e)?e.removeClass(t,n):i&&i.remove(n)}},Ot={},At=(e,t,n,r,i,o,s,a,l)=>{let u=!1;if(be(e,3)){let c=!0;const d=!a;d&&-2&s&&(c=!1,u=!0),c&&(u=function e(t,n,r,i,o,s,a,l,u,c){let d=!1;if(u<be(t,3)){const h=_e(t,3,u),p=i[h];let f=function(e){return e>=Rt.length&&Rt.push(1),Rt[e]}(u);for(;f<p.length;){const g=De(p,f),m=l&&g>l,y=!m&&g===l,b=Re(p,f),_=Te(b);let v=e(t,n,r,i,o,s,m?a:Dt(a,_,y),m?l:g,u+1,c);if(m){d||(d=v);break}if(!v&&It(a,y)){const e=y&&!_,t=e?c:b,i=e?h:null;o(n,r,g,s?s(g,t,3):t,i),v=!0}d=v&&y,f+=2}if(Rt[u]=f,1===p.length||!l)return e(t,n,r,i,o,s,a,l,u+1,c)}return d}(e,t,n,r,i,o,s,a||null,0,l||null)),d&&function(){for(let e=0;e<Rt.length;e++)Rt[e]=1}()}return u};function Dt(e,t,n){let r=e;return t||4&e||!(n||1&e)?(r|=4,r&=-3):(r|=2,r&=-5),r}function It(e,t){let n=(1&e)>0;return n?4&e&&t&&(n=!1):2&e&&(n=t),n}const Rt=[];function Nt(e,t,n,r){for(let i=1;i<e.length;i+=2){const o=De(e,i);if(t<=o){let s=!1;if(o===t){const t=e[i];!r&&Te(t)||(s=!0,Ie(e,i,n))}else s=!0,e.splice(i,0,t,n);return s}}return e.push(t,n),!0}let kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Mt(),e})();const Mt=(...e)=>{},Ft=new A("The presence of this token marks an injector as being the root injector."),Pt=function(e,t,n){return new jt(e,t,n)};let Lt=(()=>{class e{static create(e,t){return Array.isArray(e)?Pt(e,t,""):Pt(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=I,e.NULL=new L,e.ngInjectableDef=g({token:e,providedIn:"any",factory:()=>F(D)}),e.__NG_ELEMENT_ID__=-1,e})();const Ut=function(e){return e},Gt=[],Ht=Ut,Bt=function(){return Array.prototype.slice.call(arguments)};class jt{constructor(e,t=Lt.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Lt,{token:Lt,fn:Ut,deps:Gt,value:this,useNew:!1}),r.set(D,{token:D,fn:Ut,deps:Gt,value:this,useNew:!1}),function e(t,n){if(n)if((n=S(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Wt("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Wt("Unexpected provider",n);{let e=S(n.provide);const r=function(e){const t=function(e){let t=Gt;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,i=S(n[e]);if(i instanceof Array)for(let e=0,t=i;e<t.length;e++){const n=t[e];n instanceof c||n==c?r|=1:n instanceof h||n==h?r&=-3:n instanceof d||n==d?r&=-5:i=n instanceof u?n.token:S(n)}t.push({token:i,options:r})}}else if(e.useExisting)t=[{token:S(e.useExisting),options:6}];else if(!n&&!(N in e))throw Wt("'deps' required",e);return t}(e);let n=Ut,r=Gt,i=!1,o=S(e.provide);
1if(N in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,n=S(e.useClass);else{if("function"!=typeof o)throw Wt("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,n=o}return{deps:t,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==Bt)throw Vt(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:Bt,value:Gt});e=n,r.deps.push({token:e,options:6})}const i=t.get(e);if(i&&i.fn==Bt)throw Vt(e);t.set(e,r)}}}(r,e)}get(e,t,n=p.Default){const r=this._records.get(e);try{return function e(t,n,r,i,o,s){try{return function(t,n,r,i,o,s){let a;if(!n||s&p.SkipSelf)s&p.Self||(a=i.get(t,o,p.Default));else{if(a=n.value,a==Ht)throw Error("\u0275Circular dependency");if(a===Gt){n.value=Ht;let t=void 0,o=n.useNew,s=n.fn,l=n.deps,u=Gt;if(l.length){u=[];for(let t=0;t<l.length;t++){const n=l[t],o=n.options,s=2&o?r.get(n.token):void 0;u.push(e(n.token,s,r,s||4&o?i:Lt.NULL,1&o?null:Lt.THROW_IF_NOT_FOUND,p.Default))}}n.value=a=o?new s(...u):s.apply(t,u)}}return a}(t,n,r,i,o,s)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(t),n&&n.value==Ht&&(n.value=Gt),a}}(e,r,this._records,this.parent,t,n)}catch(i){return function(e,t,n,r){const i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=U("\n"+e.message,i,"StaticInjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(i,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(_(n))),`StaticInjector[${e.join(", ")}]`}}function Vt(e){return Wt("Cannot mix multi providers and regular providers",e)}function Wt(e,t){return new Error(U(e,t,"StaticInjectorError"))}
1const Kt=new A("AnalyzeForEntryComponents");function qt(e){const t=(void 0)[1];t.firstTemplatePass&&(function(e,t,n){const r=e.expandoInstructions,i=r.length;i>=2&&r[i-2]===null.hostBindings?r[i-1]=r[i-1]+n:r.push(null.hostBindings,n)}(t,0,e),function(e,t,n){for(let r=0;r<n;r++)(void 0).push(Ot),e.blueprint.push(Ot),e.data.push(null)}(t,0,e))}let zt=null;function Yt(){if(!zt){const e=O.Symbol;if(e&&e.iterator)zt=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(zt=n)}}}return zt}function $t(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Qt(e,t){const n=Jt(e),r=Jt(t);if(n&&r)return function(e,t,n){const r=e[Yt()](),i=t[Yt()]();for(;;){const e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Qt);{const i=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!i||r||!o)||$t(e,t)}}class Zt{constructor(e){this.wrapped=e}static wrap(e){return new Zt(e)}static unwrap(e){return Zt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Zt}}function Jt(e){return!!Xt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Yt()in e)}function Xt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function en(){(void 0)[1].firstTemplatePass&&(1,ce(an(void 0),1),ce(sn(void 0),1))}function tn(e){const t=ae(-1,void 0),n=sn(t),r=(void 0)[7]++;rn(-1,n,r,e,!1,!1)}function nn(e){!function(e,t){const n=ae(-1,void 0),r=an(n),i=(void 0)[7]++;rn(-1,r,i,t,!0,!1)}(0,e)}function rn(e,t,n,r,i,o){wt=At;let s=!1;if(r!==Ot){const a=se(ae(e,void 0),void 0),l=(void 0)[n];s=we(l,r);const u=function(e,t,n){const r=Array.isArray(e)?e:[null];r[0]=t||null;for(let a=1;a<r.length;a+=2)Ie(r,a,null);let i,o=null,s=!1;if("string"==typeof t?t.length&&(o=t.split(/\s+/),s=!0):(o=t?Object.keys(t):null,i=t),o)for(let a=0;a<o.length;a++){const e=o[a];Nt(r,n?xe(e):e,!!s||i[e],!0)}return r}(l,r,!i);i?function(e,t,n,r,i,o,s,a){const l=oe(n,Se(e));!bt(e,void 0,0,null,i,o,s,a,!1)&&!a||(l.classesBitMask|=1)}(t,0,a,0,n,u,o,s):function(e,t,n,r,i,o,s,a,l){const u=oe(n,Se(e));!bt(e,void 0,0,null,i,o,a,l,!0)&&!l||(u.stylesBitMask|=1)}(t,0,a,0,n,u,le(),o,s)}return s}function on(){const e=ae(-1,void 0),t=function(e,t){return 3===e.type?(void 0)[12]:null}(e),n=se(e,void 0),r=le();(function(e,t,n,r,i,o,s){const a=n?Se(n):!!r&&Se(r),l=ve(n,o),u=ve(r,o);yt.length&&(l||u)&&_t();const c=oe(i,a),d=Ct(e,i,t,n,l,c.classesBitMask,xt,null),h=Ct(e,i,t,r,u,c.stylesBitMask,Tt,s);d&&h?(te=null,ie=null,a&&function(e){ne.delete(e)}(i)):a&&function(e,t){ne.set(e,t)}(i,c)})(t,void 0,an(e),sn(e),n,1,r),re=null}function sn(e){return ln(e,!1)}function an(e){return ln(e,!0)}function ln(e,t){let n=t?e.classes:e.styles;return Ae(n)||(n=[n||[""],0,0,1,0,"--MAP--"],t?e.classes=n:e.styles=n),n}function un(e){return!!e&&"function"==typeof e.then}function cn(e){return!!e&&"function"==typeof e.subscribe}class dn{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class hn{}function pn(e){const t=Error(`No component factory found for ${_(e)}. Did you add it to @NgModule.entryComponents?`);return t[fn]=e,t}const fn="ngComponent";class gn{resolveComponentFactory(e){throw pn(e)}}let mn=(()=>{class e{}return e.NULL=new gn,e})();class yn{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw pn(e);return new bn(t,this._ngModule)}}class bn extends hn{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function _n(...e){}let vn=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>En(e),e})();const En=_n;class Sn{}class Cn{}const wn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>xn(),e})();
vendor: 24,040 bytes, line 1
1const xn=_n;class On{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const An=new On("8.2.2");class Dn{constructor(){}supports(e){return Jt(e)}create(e){return new Rn(e)}}const In=(e,t)=>t;class Rn{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||In}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<Fn(n,r,i)?t:n,s=Fn(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Jt(e))throw new Error(`Error trying to diff '${_(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&$t(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),$t(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Yt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&$t(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),$t(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?($t(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?($t(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new Nn(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Mn),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Nn{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class kn{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&$t(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Mn{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new kn,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Fn(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Pn{constructor(){}supports(e){return e instanceof Map||Xt(e)}create(){return new Ln}}class Ln{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Xt(e)))throw new Error(`Error trying to diff '${_(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new Un(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){$t(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Un{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Gn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new h,new c]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=g({token:e,providedIn:"root",factory:()=>new e([new Dn])}),e})(),Hn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new h,new c]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=g({token:e,providedIn:"root",factory:()=>new e([new Pn])}),e})();const Bn=[new Pn],jn=new Gn([new Dn]),Vn=new Hn(Bn);let Wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Kn(e,vn),e})();const Kn=_n;let qn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>zn(e,vn),e})();const zn=_n;function Yn(e,t,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return $n(n,t),n}(i,e)}function $n(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Qn(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function Zn(e,t,n){const r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function Jn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Xn(e,t){return e.nodes[t]}function er(e,t){return e.nodes[t]}function tr(e,t){return e.nodes[t]}function nr(e,t){return e.nodes[t]}function rr(e,t){return e.nodes[t]}const ir={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},or=()=>{},sr=new Map;function ar(e){let t=sr.get(e);return t||(t=_(e)+"_"+sr.size,sr.set(e,t)),t}function lr(e,t,n,r){if(Zt.isWrapped(r)){r=Zt.unwrap(r);const i=e.def.nodes[t].bindingIndex+n,o=Zt.unwrap(e.oldValues[i]);e.oldValues[i]=new Zt(o)}return r}function ur(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let cr=0;function dr(e,t,n,r){return!(!(2&e.state)&&$t(e.oldValues[t.bindingIndex+n],r))}function hr(e,t,n,r){return!!dr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function pr(e,t,n,r){const i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Qt(i,r)){const o=t.bindings[n].name;throw Yn(ir.createDebugContext(e,t.nodeIndex),`${o}: ${i}`,`${o}: ${r}`,0!=(1&e.state))}}function fr(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function gr(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function mr(e,t,n,r){try{return fr(33554432&e.def.nodes[t].flags?er(e,t).componentView:e),ir.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function yr(e){return e.parent?er(e.parent,e.parentNodeDef.nodeIndex):null}function br(e){return e.parent?e.parentNodeDef.parent:null}function _r(e,t){switch(201347067&t.flags){case 1:return er(e,t.nodeIndex).renderElement;case 2:return Xn(e,t.nodeIndex).renderText}}function vr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Er(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Sr(e){return 1<<e%32}function Cr(e){const t={};let n=0;const r={};return e&&e.forEach(([e,i])=>{"number"==typeof e?(t[e]=i,n|=Sr(e)):r[e]=i}),{matchedQueries:t,references:r,matchedQueryIds:n}}function wr(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,"__source",{value:t,configurable:!0}),{flags:r,token:n,tokenKey:ar(n)}})}function Tr(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===W.Native?er(e,n.renderParent.nodeIndex).renderElement:void 0:t}const xr=new WeakMap;function Or(e){let t=xr.get(e);return t||(t=e(()=>or),t.factory=e,xr.set(e,t)),t}function Ar(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(_r(e,e.def.lastRenderRootNode))),Dr(e,t,0,e.def.nodes.length-1,n,r,i)}function Dr(e,t,n,r,i,o,s){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&Rr(e,n,t,i,o,s),a+=n.childCount}}function Ir(e,t,n,r,i,o){let s=e;for(;s&&!vr(s);)s=s.parent;const a=s.parent,l=br(s),u=l.nodeIndex+l.childCount;for(let c=l.nodeIndex+1;c<=u;c++){const e=a.def.nodes[c];e.ngContentIndex===t&&Rr(a,e,n,r,i,o),c+=e.childCount}if(!a.parent){const s=e.root.projectableNodes[t];if(s)for(let t=0;t<s.length;t++)Nr(e,s[t],n,r,i,o)}}function Rr(e,t,n,r,i,o){if(8&t.flags)Ir(e,t.ngContent.index,n,r,i,o);else{const s=_r(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Nr(e,s,n,r,i,o),32&t.bindingFlags&&Nr(er(e,t.nodeIndex).componentView,s,n,r,i,o)):Nr(e,s,n,r,i,o),16777216&t.flags){const s=er(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<s.length;e++)Ar(s[e],n,r,i,o)}1&t.flags&&!t.element.name&&Dr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function Nr(e,t,n,r,i,o){const s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,i);break;case 3:s.removeChild(r,t);break;case 0:o.push(t)}}const kr=/^:([^:]+):(.+)$/;function Mr(e){if(":"===e[0]){const t=e.match(kr);return[t[1],t[2]]}return["",e]}function Fr(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Pr(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+Ur(t[r+1]);return n+t[2*e]}function Lr(e,t,n,r,i,o,s,a,l,u,c,d,h,p,f,g,m,y,b,_){switch(e){case 1:return t+Ur(n)+r;case 2:return t+Ur(n)+r+Ur(i)+o;case 3:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a;case 4:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a+Ur(l)+u;case 5:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a+Ur(l)+u+Ur(c)+d;case 6:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a+Ur(l)+u+Ur(c)+d+Ur(h)+p;case 7:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a+Ur(l)+u+Ur(c)+d+Ur(h)+p+Ur(f)+g;case 8:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a+Ur(l)+u+Ur(c)+d+Ur(h)+p+Ur(f)+g+Ur(m)+y;case 9:return t+Ur(n)+r+Ur(i)+o+Ur(s)+a+Ur(l)+u+Ur(c)+d+Ur(h)+p+Ur(f)+g+Ur(m)+y+Ur(b)+_;default:throw new Error("Does not support more than 9 expressions")}}function Ur(e){return null!=e?e.toString():""}const Gr=[],Hr=new Object,Br=ar(Lt),jr=ar(D),Vr=ar(G);function Wr(e,t,n,r){return n=S(n),{index:-1,deps:wr(r,_(t)),flags:e,token:t,value:n}}function Kr(e){const t={},n=[];let r=!1;for(let i=0;i<e.length;i++){const o=e[i];o.token===Ft&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,t[ar(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}function qr(e,t,n=Lt.THROW_IF_NOT_FOUND){const r=M(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const s=t.tokenKey;switch(s){case Br:case jr:case Vr:return e}const a=e._def.providersByKey[s];let l;if(a){let t=e._providers[a.index];return void 0===t&&(t=e._providers[a.index]=zr(e,a)),t===Hr?void 0:t}if((l=y(t.token))&&(i=e,null!=(o=l).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(i,o.providedIn)||"root"===o.providedIn&&i._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:t.token},e._providers[n]=Hr,e._providers[n]=zr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{M(r)}var i,o}function zr(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(qr(e,n[0]));case 2:return new t(qr(e,n[0]),qr(e,n[1]));case 3:return new t(qr(e,n[0]),qr(e,n[1]),qr(e,n[2]));default:const i=new Array(r);for(let t=0;t<r;t++)i[t]=qr(e,n[t]);return new t(...i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(qr(e,n[0]));case 2:return t(qr(e,n[0]),qr(e,n[1]));case 3:return t(qr(e,n[0]),qr(e,n[1]),qr(e,n[2]));default:const i=Array(r);for(let t=0;t<r;t++)i[t]=qr(e,n[t]);return t(...i)}}(e,t.value,t.deps);break;case 2048:n=qr(e,t.deps[0]);break;case 256:n=t.value}return n===Hr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Hr:n}function Yr(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,j(n,t),ir.dirtyParentQueries(r),Qr(r),r}function $r(e,t,n){const r=t?_r(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Ar(n,2,i,o,void 0)}function Qr(e){Ar(e,3,null,null,void 0)}const Zr=new Object;function Jr(e,t,n,r,i,o){return new Xr(e,t,n,r,i,o)}class Xr extends hn{constructor(e,t,n,r,i,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=i,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const i=Or(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=ir.createRootView(e,t||[],n,i,r,Zr),a=tr(s,o).instance;return n&&s.renderer.setAttribute(er(s,0).renderElement,"ng-version",An.full),new ei(s,new ii(s),a)}}class ei extends class{}{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new vn(er(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new li(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function ti(e,t,n){return new ni(e,t,n)}class ni{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new vn(this._data.renderElement)}get injector(){return new li(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=br(e),e=e.parent;return e?new li(e,t):new li(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Yr(this._data,e);ir.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new ii(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;i||e instanceof bn||(i=o.get(G));const s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let i=t.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=e,B(i,n,r),function(e,t){const n=yr(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),ir.dirtyParentQueries(r),$r(t,n>0?i[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,i=r[t];j(r,t),null==n&&(n=r.length),B(r,n,i),ir.dirtyParentQueries(i),Qr(i),$r(e,n>0?r[n-1]:null,i)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Yr(this._data,e);t&&ir.destroyView(t)}detach(e){const t=Yr(this._data,e);return t?new ii(t):null}}function ri(e){return new ii(e)}class ii{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Ar(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){fr(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{ir.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){ir.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ir.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Qr(this._view),ir.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a Vie
1wContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function oi(e,t){return new si(e,t)}class si extends Wn{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new ii(ir.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new vn(er(this._parentView,this._def.nodeIndex).renderElement)}}function ai(e,t){return new li(e,t)}class li{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Lt.THROW_IF_NOT_FOUND){return ir.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:ar(e)},t)}}function ui(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=er(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Xn(e,n.nodeIndex).renderText;if(20240&n.flags)return tr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function ci(e){return new di(e.renderer)}class di{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=Mr(t),i=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,i),i}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let i=0;i<t.length;i++)this.delegate.insertBefore(n,t[i],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,i]=Mr(t);null!=n?this.delegate.setAttribute(e,i,n,r):this.delegate.removeAttribute(e,i,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function hi(e,t,n,r){return new pi(e,t,n,r)}class pi{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=zr(e,i))}}(this)}get(e,t=Lt.THROW_IF_NOT_FOUND,n=p.Default){let r=0;return n&p.SkipSelf?r|=1:n&p.Self&&(r|=4),qr(this,{token:e,tokenKey:ar(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(mn)}destroy(){if(this._destroyed)throw new Error(`The ng module ${_(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const t=e._providers[i];if(t&&t!==Hr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const fi=ar(Sn),gi=ar(Tn),mi=ar(vn),yi=ar(qn),bi=ar(Wn),_i=ar(kt),vi=ar(Lt),Ei=ar(D);function Si(e,t,n,r,i,o,s,a){const l=[];if(s)for(let c in s){const[e,t]=s[c];l[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(a)for(let c in a)u.push({type:1,propName:c,target:null,eventName:a[c]});return Ti(e,t|=16384,n,r,i,i,o,l,u)}function Ci(e,t,n){return Ti(-1,e|=16,null,0,t,t,n)}function wi(e,t,n,r,i){return Ti(-1,e,t,0,n,r,i)}function Ti(e,t,n,r,i,o,s,a,l){const{matchedQueries:u,references:c,matchedQueryIds:d}=Cr(n);l||(l=[]),a||(a=[]),o=S(o);const h=wr(s,_(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
vendor: 5,052 bytes, line 1
1checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Fr(a),outputs:l,element:null,provider:{token:i,value:o,deps:h},text:null,query:null,ngContent:null}}function xi(e,t){return Ii(e,t)}function Oi(e,t){let n=e;for(;n.parent&&!vr(n);)n=n.parent;return Ri(n.parent,br(n),!0,t.provider.value,t.provider.deps)}function Ai(e,t){const n=Ri(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const i=t.outputs[r],o=n[i.propName];if(!cn(o))throw new Error(`@Output ${i.propName} not initialized in '${n.constructor.name}'.`);{const n=o.subscribe(Di(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function Di(e,t,n){return r=>mr(e,t,n,r)}function Ii(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Ri(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){const o=i.length;switch(o){case 0:return r();case 1:return r(ki(e,t,n,i[0]));case 2:return r(ki(e,t,n,i[0]),ki(e,t,n,i[1]));case 3:return r(ki(e,t,n,i[0]),ki(e,t,n,i[1]),ki(e,t,n,i[2]));default:const s=Array(o);for(let r=0;r<o;r++)s[r]=ki(e,t,n,i[r]);return r(...s)}}(e,t.parent,n,r.value,r.deps);case 2048:return ki(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Ri(e,t,n,r,i){const o=i.length;switch(o){case 0:return new r;case 1:return new r(ki(e,t,n,i[0]));case 2:return new r(ki(e,t,n,i[0]),ki(e,t,n,i[1]));case 3:return new r(ki(e,t,n,i[0]),ki(e,t,n,i[1]),ki(e,t,n,i[2]));default:const s=new Array(o);for(let r=0;r<o;r++)s[r]=ki(e,t,n,i[r]);return new r(...s)}}const Ni={};function ki(e,t,n,r,i=Lt.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(i=null);const s=r.tokenKey;s===_i&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(s){case fi:return ci(Mi(a,t,n));case gi:return Mi(a,t,n).renderer;case mi:return new vn(er(a,t.nodeIndex).renderElement);case yi:return er(a,t.nodeIndex).viewContainer;case bi:if(t.element.template)return er(a,t.nodeIndex).template;break;case _i:return ri(Mi(a,t,n));case vi:case Ei:return ai(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[s];if(e){let t=tr(a,e.nodeIndex);return t||(t={instance:Ii(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=vr(a),t=br(a),a=a.parent,4&r.flags&&(a=null)}const l=o.root.injector.get(r.token,Ni);return l!==Ni||i===Ni?l:o.root.ngModule.injector.get(r.token,i)}function Mi(e,t,n){let r;if(n)r=er(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!vr(r);)r=r.parent;return r}function Fi(e,t,n,r,i,o){if(32768&n.flags){const t=er(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};const t=Zt.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new dn(t,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function Pi(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let i=0;i<n.length;i++){const o=n[i];let s=o.parent;for(!s&&o.flags&t&&Ui(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=Li(e,s,t,r)),s=s.parent}}function Li(e,t,n,r){for(let i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){const t=e.def.nodes[i];t.flags&n&&Ui(e,i,t.flags&n,r++),i+=t.childCount}return r}function Ui(e,t,n,r){const i=tr(e,t);if(!i)return;const o=i.instance;o&&(ir.setCurrentNode(e,t),1048576&n&&Jn(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Jn(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const Gi=new A("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ue}),Hi={},Bi=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),ji=void 0;var Vi=["en",[["a","p"],["AM","PM"],ji],[["AM","PM"],ji,ji],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ji,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ji,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ji,"{1} 'at' {0}",ji],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function Wi(e){return Ki(e)[Bi.PluralCase]}function Ki(e){const t=e.toLowerCase().replace(/_/g,"-");let n=Hi[t];if(n)return n;const r=t.split("-")[0];if(n=Hi[r],n)return n;if("en"===r)return Vi;throw new Error(`Missing locale data for the locale "${e}".`)}class qi extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,o=e=>null,s=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,o,s);return e instanceof i.a&&e.add(a),a}}function zi(){return this._results[Yt()]()}class Yi{constructor(){this.dirty=!0,this._results=[],this.changes=new qi,this.length=0;const e=Yt(),t=Yi.prototype;t[e]||(t[e]=zi)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const $i=new A("Application Initializer");class Qi{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();un(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const Zi=new A("AppId");function Ji(){return`${Xi()}${Xi()}${Xi()}`}function Xi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const eo=new A("Platform Initializer"),to=new A("Platform ID"),no=new A("appBootstrapListener");class ro{log(e){console.log(e)}warn(e){console.warn(e)}}const io=new A("LocaleId");function oo(){throw new Error("Runtime compiler is not loaded")}const so=oo,ao=oo,lo=oo,uo=oo;class co{constructor(){this.compileModuleSync=so,this.compileModuleAsync=ao,this.compileModuleAndAllComponentsSync=lo,this.compileModuleAndAllComponentsAsync=uo}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class ho{}let po,fo;function go(){const e=O.wtf;return!(!e||(po=e.trace,!po)||(fo=po.events,0))}const mo=go();function yo(e,t){return null}const bo=mo?function(e,t=null){return fo.createScope(e,t)}:(e,t)=>yo,_o=mo?function(e,t){return po.leaveScope(e,t),t}:(e,t)=>t,vo=(()=>Promise.resolve(0))();function Eo(e){"undefined"==typeof Zone?vo.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class So{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qi(!1),this.onMicrotaskEmpty=new qi(!1),this.onStable=new qi(!1),this.onError=ne
vendor: 5,321 bytes, line 1
1w qi(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,i,o,s)=>{try{return xo(t),e.invokeTask(r,i,o,s)}finally{Oo(t)}},onInvoke:(e,n,r,i,o,s,a)=>{try{return xo(t),e.invoke(r,i,o,s,a)}finally{Oo(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t.hasPendingMicrotasks=i.microTask,To(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!So.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(So.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,wo,Co,Co);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Co(){}const wo={};function To(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function xo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oo(e){e._nesting--,To(e)}class Ao{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qi,this.onMicrotaskEmpty=new qi,this.onStable=new qi,this.onError=new qi}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class Do{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{So.assertNotInAngularZone(),Eo(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Eo(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}let Io=(()=>{class e{constructor(){this._applications=new Map,Mo.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Mo.findTestabilityInTree(this,e,t)}}return e.ctorParameters=()=>[],e})();class Ro{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function No(e){Mo=e}let ko,Mo=new Ro;const Fo=new A("AllowMultipleToken");class Po{constructor(e,t){this.name=e,this.token=t}}function Lo(e,t,n=[]){const r="Platform: "+t,i=new A(r);return(t=[])=>{let o=Uo();if(!o||o.injector.get(Fo,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0});!function(e){if(ko&&!ko.destroyed&&!ko.injector.get(Fo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ko=e.get(Go);const t=e.get(eo,null);
1t&&t.forEach(e=>e())}(Lt.create({providers:e,name:r}))}return function(e){const t=Uo();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Uo(){return ko&&!ko.destroyed?ko:null}class Go{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e){let t;return t="noop"===e?new Ao:("zone.js"===e?void 0:e)||new So({enableLongStackTrace:He()}),t}(t?t.ngZone:void 0),r=[{provide:So,useValue:n}];return n.run(()=>{const t=Lt.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(Le,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>jo(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return un(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(Qi);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=Ho({},t);return function(e,t,n){return e.get(ho).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Bo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${_(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function Ho(e,t){return Array.isArray(t)?t.reduce(Ho,e):Object.assign({},e,t)}let Bo=(()=>{class e{constructor(e,t,n,r,i,l){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=He(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{So.assertNotInAngularZone(),Eo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{So.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(u,c.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof hn?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n instanceof bn?null:this._injector.get(G),i=n.create(Lt.NULL,[],t||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Do,null);return o&&i.injector.get(Io).registerApplication(i.location.nativeElement,o),this._loadComponent(i),He()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,_o(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;jo(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(no,[]).concat(this._bootstrapListeners).forEac
1h(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),jo(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=bo("ApplicationRef#tick()"),e})();function jo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vo{}class Wo{}const Ko={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class qo{constructor(e,t){this._compiler=e,this._config=t||Ko}load(e){return this._compiler instanceof co?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("crnd")(t).then(e=>e[r]).then(e=>zo(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+i]).then(e=>zo(e,t,r))}}function zo(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class Yo{constructor(e,t){this.name=e,this.callback=t}}class $o{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Qo&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Qo extends $o{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof Qo&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof Qo&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof Qo&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Qo)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const Zo=new Map,Jo=function(e){return Zo.get(e)||null};function Xo(e){Zo.set(e.nativeNode,e)}const es=Lo(null,"core",[{provide:to,useValue:"unknown"},{provide:Go,deps:[Lt]},{provide:Io,deps:[]},{provide:ro,deps:[]}]);function ts(){return jn}function ns(){return Vn}function rs(e){return e||"en-US"}function is(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class os{constructor(e){}}function ss(e,t,n,r,i,o){e|=1;const{matchedQueries:s,references:a,matchedQueryIds:l}=Cr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Or(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||or},provider:null,text:null,query:null,ngContent:null}}function as(e,t,n,r,i,o,s=[],a,l,u,c,d){u||(u=or);const{matchedQueries:h,references:p,matchedQueryIds:f}=Cr(n);let g=null,m=null;o&&([g,m]=Mr(o)),a=a||[];const y=new Array(a.length);for(let v=0;v<a.length;v++){const[e,t,n]=a[v],[r,i]=Mr(t);let o=void 0,s=void 0;switch(15&e){case 4:s=n;break;case 1:case 8:o=n}y[v]={flags:e,ns:r,name:i,nonMinifiedName:i,securityContext:o,suffix:s}}l=l||[];const b=new Array(l.length);for(let v=0;v<l.length;v++){const[e,t]=l[v];b[v]={type:0,target:e,eventName:t,propName:null}}const _=(s=s||[]).map(([e,t])=>{const[n,r]=Mr(e);return[n,r,t]});return d=function(e){if(e&&"$$undefined"===e.id){const t=null!=e.encapsulation&&e.encapsulation!==W.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+cr++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
vendor: 4,184 bytes, line 1
1checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:i,bindings:y,bindingFlags:Fr(y),outputs:b,element:{ns:g,name:m,attrs:_,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||or},provider:null,text:null,query:null,ngContent:null}}function ls(e,t,n){const r=n.element,i=e.root.selectorOrNode,o=e.renderer;let s;if(e.parent||!i){s=r.name?o.createElement(r.name,r.ns):o.createComment("");const i=Tr(e,t,n);i&&o.appendChild(i,s)}else s=o.selectRootElement(i,!!r.componentRendererType&&r.componentRendererType.encapsulation===W.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];o.setAttribute(s,t,n,e)}return s}function us(e,t,n,r){for(let s=0;s<n.outputs.length;s++){const a=n.outputs[s],l=cs(e,n.nodeIndex,(o=a.eventName,(i=a.target)?`${i}:${o}`:o));let u=a.target,c=e;"component"===a.target&&(u=null,c=t);const d=c.renderer.listen(u||r,a.eventName,l);e.disposables[n.outputIndex+s]=d}var i,o}function cs(e,t,n){return r=>mr(e,t,n,r)}function ds(e,t,n,r){if(!hr(e,t,n,r))return!1;const i=t.bindings[n],o=er(e,t.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){const s=t.securityContext;let a=s?e.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,i,a,r):l.removeAttribute(n,i,r)}(e,i,s,i.ns,a,r);break;case 2:!function(e,t,n,r){const i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,s,a,r);break;case 4:!function(e,t,n,r,i){let o=e.root.sanitizer.sanitize(ct.STYLE,i);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const s=e.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(e,i,s,a,r);break;case 8:!function(e,t,n,r,i){const o=t.securityContext;let s=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,s)}(33554432&t.flags&&32&i.flags?o.componentView:e,i,s,a,r)}return!0}function hs(e,t,n){let r=[];for(let i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Sr(t),bindings:r},ngContent:null}}function ps(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Er(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let i=0;i<=r;i++){const r=e.def.nodes[i];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&rr(e,i).setDirty(),!(1&r.flags&&i+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(i+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&rr(e,n).setDirty(),n+=t.childCount}}function fs(e,t){const n=rr(e,t.nodeIndex);if(!n.dirty)return;let r,i=void 0;if(67108864&t.flags){const n=t.parent.parent;i=gs(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=tr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=gs(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);const o=t.query.bindings;let s=!1;for(let a=0;a<o.length;a++){const e=o[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,s=!0}r[e.propName]=t}s&&n.notifyOnChanges()}function gs(e,t,n,r,i){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&i.push(ms(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=er(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(gs(e,o+1,o+t.childCount,r,i),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],s=yr(o);s&&s===n&&gs(o,0,o.def.nodes.length-1,r,i)}}const s=n.template._projectedViews;if(s)for(let e=0;e<s.length;e++){const t=s[e];gs(t,0,t.def.nodes.length-1,r,i)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return i}
1function ms(e,t,n){if(null!=n)switch(n){case 1:return er(e,t.nodeIndex).renderElement;case 0:return new vn(er(e,t.nodeIndex).renderElement);case 2:return er(e,t.nodeIndex).template;case 3:return er(e,t.nodeIndex).viewContainer;case 4:return tr(e,t.nodeIndex).instance}}function ys(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function bs(e,t,n){const r=Tr(e,t,n);r&&Ir(e,n.ngContent.index,1,r,null,void 0)}function _s(e,t){return Ss(128,e,new Array(t+1))}function vs(e,t){return Ss(32,e,new Array(t))}function Es(e,t){const n=Object.keys(t),r=n.length,i=new Array(r);for(let o=0;o<r;o++){const e=n[o];i[t[e]]=e}return Ss(64,e,i)}function Ss(e,t,n){const r=new Array(n.length);for(let i=0;i<n.length;i++){const e=n[i];r[i]={flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Fr(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Cs(e,t,n){const r=new Array(n.length-1);for(let i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ws(e,t,n){let r;const i=e.renderer;r=i.createText(n.text.prefix);const o=Tr(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function Ts(e,t){return(null!=e?e.toString():"")+t.suffix}function xs(e,t,n,r){let i=0,o=0,s=0,a=0,l=0,u=null,c=null,d=!1,h=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=u,e.bindingIndex=i,e.outputIndex=o,e.renderParent=c,s|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=u?u.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(As(u,e,t.length),i+=e.bindings.length,o+=e.outputs.length,!c&&3&e.flags&&(p=e),20224&e.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?u.element.publicProviders[ar(e.provider.token)]=e:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[ar(e.provider.token)]=e),t&&(u.element.componentProvider=e)}if(u?(u.childFlags|=e.flags,u.directChildFlags|=e.flags,u.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(u.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)u=e,Os(e)||(c=e);else for(;u&&f===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),u=e,c=u&&Os(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||or,updateRenderer:r||or,handleEvent:(e,n,r,i)=>t[n].element.handleEvent(e,r,i),bindingCount:i,outputCount:o,lastRenderRootNode:p}}function Os(e){return 0!=(1&e.flags)&&null===e.element.name}function As(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;
vendor: 19,144 bytes, line 1
1if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Ds(e,t,n,r){const i=Ns(e.root,e.renderer,e,t,n);return ks(i,e.component,r),Ms(i),i}function Is(e,t,n){const r=Ns(e,e.renderer,null,null,t);return ks(r,n,n),Ms(r),r}function Rs(e,t,n,r){const i=t.element.componentRendererType;let o;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ns(e.root,o,e,t.element.componentProvider,n)}function Ns(e,t,n,r,i){const o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function ks(e,t,n){e.component=t,e.context=n}function Ms(e){let t;vr(e)&&(t=er(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];let s;switch(ir.setCurrentNode(e,i),201347067&o.flags){case 1:const n=ls(e,t,o);let a=void 0;if(33554432&o.flags){const t=Or(o.element.componentView);a=ir.createComponentView(e,o,t,n)}us(e,a,o,n),s={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?oi(e,o):void 0},16777216&o.flags&&(s.viewContainer=ti(e,o,s));break;case 2:s=ws(e,t,o);break;case 512:case 1024:case 2048:case 256:s=r[i],s||4096&o.flags||(s={instance:xi(e,o)});break;case 16:s={instance:Oi(e,o)};break;case 16384:s=r[i],s||(s={instance:Ai(e,o)}),32768&o.flags&&ks(er(e,o.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new Yi;break;case 8:bs(e,t,o),s=void 0}r[i]=s}Vs(e,js.CreateViewNodes),zs(e,201326592,268435456,0)}function Fs(e){Us(e),ir.updateDirectives(e,1),Ws(e,js.CheckNoChanges),ir.updateRenderer(e,1),Vs(e,js.CheckNoChanges),e.state&=-97}function Ps(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Zn(e,0,256),Us(e),ir.updateDirectives(e,0),Ws(e,js.CheckAndUpdate),zs(e,67108864,536870912,0);let t=Zn(e,256,512);Pi(e,2097152|(t?1048576:0)),ir.updateRenderer(e,0),Vs(e,js.CheckAndUpdate),zs(e,134217728,536870912,0),t=Zn(e,512,768),Pi(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Zn(e,768,1024)}function Ls(e,t,n,r,i,o,s,a,l,u,c,d,h){return 0===n?function(e,t,n,r,i,o,s,a,l,u,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,s,a,l,u,c,d){const h=t.bindings.length;let p=!1;return h>0&&ds(e,t,0,n)&&(p=!0),h>1&&ds(e,t,1,r)&&(p=!0),h>2&&ds(e,t,2,i)&&(p=!0),h>3&&ds(e,t,3,o)&&(p=!0),h>4&&ds(e,t,4,s)&&(p=!0),h>5&&ds(e,t,5,a)&&(p=!0),h>6&&ds(e,t,6,l)&&(p=!0),h>7&&ds(e,t,7,u)&&(p=!0),h>8&&ds(e,t,8,c)&&(p=!0),h>9&&ds(e,t,9,d)&&(p=!0),p}(e,t,n,r,i,o,s,a,l,u,c,d);case 2:return function(e,t,n,r,i,o,s,a,l,u,c,d){let h=!1;const p=t.bindings,f=p.length;if(f>0&&hr(e,t,0,n)&&(h=!0),f>1&&hr(e,t,1,r)&&(h=!0),f>2&&hr(e,t,2,i)&&(h=!0),f>3&&hr(e,t,3,o)&&(h=!0),f>4&&hr(e,t,4,s)&&(h=!0),f>5&&hr(e,t,5,a)&&(h=!0),f>6&&hr(e,t,6,l)&&(h=!0),f>7&&hr(e,t,7,u)&&(h=!0),f>8&&hr(e,t,8,c)&&(h=!0),f>9&&hr(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;f>0&&(h+=Ts(n,p[0])),f>1&&(h+=Ts(r,p[1])),f>2&&(h+=Ts(i,p[2])),f>3&&(h+=Ts(o,p[3])),f>4&&(h+=Ts(s,p[4])),f>5&&(h+=Ts(a,p[5])),f>6&&(h+=Ts(l,p[6])),f>7&&(h+=Ts(u,p[7])),f>8&&(h+=Ts(c,p[8])),f>9&&(h+=Ts(d,p[9]));const g=Xn(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,i,o,s,a,l,u,c,d);case 16384:return function(e,t,n,r,i,o,s,a,l,u,c,d){const h=tr(e,t.nodeIndex),p=h.instance;let f=!1,g=void 0;const m=t.bindings.length;return m>0&&dr(e,t,0,n)&&(f=!0,g=Fi(e,h,t,0,n,g)),m>1&&dr(e,t,1,r)&&(f=!0,g=Fi(e,h,t,1,r,g)),m>2&&dr(e,t,2,i)&&(f=!0,g=Fi(e,h,t,2,i,g)),m>3&&dr(e,t,3,o)&&(f=!0,g=Fi(e,h,t,3,o,g)),m>4&&dr(e,t,4,s)&&(f=!0,g=Fi(e,h,t,4,s,g)),m>5&&dr(e,t,5,a)&&(f=!0,g=Fi(e,h,t,5,a,g)),m>6&&dr(e,t,6,l)&&(f=!0,g=Fi(e,h,t,6,l,g)),m>7&&dr(e,t,7,u)&&(f=!0,g=Fi(e,h,t,7,u,g)),m>8&&dr(e,t,8,c)&&(f=!0,g=Fi(e,h,t,8,c,g)),m>9&&dr(e,t,9,d)&&(f=!0,g=Fi(e,h,t,9,d,g)),g&&p.ngOnChanges(g),65536&t.flags&&Jn(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,r,i,o,s,a,l,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,i,o,s,a,l,u,c,d){const h=t.bindings;let p=!1;const f=h.length;if(f>0&&hr(e,t,0,n)&&(p=!0),f>1&&hr(e,t,1,r)&&(p=!0),f>2&&hr(e,t,2,i)&&(p=!0),f>3&&hr(e,t,3,o)&&(p=!0),f>4&&hr(e,t,4,s)&&(p=!0),f>5&&hr(e,t,5,a)&&(p=!0),f>6&&hr(e,t,6,l)&&(p=!0),f>7&&hr(e,t,7,u)&&(p=!0),f>8&&hr(e,t,8,c)&&(p=!0),f>9&&hr(e,t,9,d)&&(p=!0),p){const p=nr(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=i),f>3&&(g[3]=o),f>4&&(g[4]=s),f>5&&(g[5]=a),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=r),f>2&&(g[h[2].name]=i),f>3&&(g[h[3].name]=o),f>4&&(g[h[4].name]=s),f>5&&(g[h[5].name]=a),f>6&&(g[h[6].name]=l),f>7&&(g[h[7].name]=u),f>8&&(g[h[8].name]=c),f>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(f){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,i);break;case 4:g=e.transform(r,i,o);break;case 5:g=e.transform(r,i,o,s);break;case 6:g=e.transform(r,i,o,s,a);break;case 7:g=e.transform(r,i,o,s,a,l);break;case 8:g=e.transform(r,i,o,s,a,l,u);break;case 9:g=e.transform(r,i,o,s,a,l,u,c);break;case 10:g=e.transform(r,i,o,s,a,l,u,c,d)}}p.value=g}return p}(e,t,n,r,i,o,s,a,l,u,c,d);default:throw"unreachable"}}(e,t,r,i,o,s,a,l,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let i=0;i<n.length;i++)ds(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let i=!1;for(let o=0;o<n.length;o++)hr(e,t,o,n[o])&&(i=!0);if(i){let i="";for(let e=0;e<n.length;e++)i+=Ts(n[e],r[e]);i=t.text.prefix+i;const o=Xn(e,t.nodeIndex).renderText;e.renderer.setValue(o,i)}return i}(e,t,n);case 16384:return function(e,t,n){const r=tr(e,t.nodeIndex),i=r.instance;let o=!1,s=void 0;for(let a=0;a<n.length;a++)dr(e,t,a,n[a])&&(o=!0,s=Fi(e,r,t,a,n[a],s));return s&&i.ngOnChanges(s),65536&t.flags&&Jn(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let i=!1;for(let o=0;o<n.length;o++)hr(e,t,o,n[o])&&(i=!0);if(i){const i=nr(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let i=0;i<n.length;i++)o[r[i].name]=n[i];break;case 128:const e=n[0],t=n.slice(1);o=e.transform(...t)}i.value=o}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Us(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=er(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,gr(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Gs(e,t,n,r,i,o,s,a,l,u,c,d,h){return 0===n?function(e,t,n,r,i,o,s,a,l,u,c,d){const h=t.bindings.length;h>0&&pr(e,t,0,n),h>1&&pr(e,t,1,r),h>2&&pr(e,t,2,i),h>3&&pr(e,t,3,o),h>4&&pr(e,t,4,s),h>5&&pr(e,t,5,a),h>6&&pr(e,t,6,l),h>7&&pr(e,t,7,u),h>8&&pr(e,t,8,c),h>9&&pr(e,t,9,d)}(e,t,r,i,o,s,a,l,u,c,d,h):function(e,t,n){for(let r=0;r<n.length;r++)pr(e,t,r,n[r])}(e,t,r),!1}function Hs(e,t){if(rr(e,t.nodeIndex).dirty)throw Yn(ir.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Bs(e){if(!(128&e.state)){if(Ws(e,js.Destroy),Vs(e,js.Destroy),Pi(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=yr(e);if(t){const n=t.template._projectedViews;n&&(j(n,n.indexOf(e)),ir.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(er(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Xn(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&rr(e,n).destroy()}}(e),vr(e)&&e.renderer.destroy(),e.state|=128}}const js=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Vs(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];33554432&i.flags?Ks(er(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function Ws(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];if(16777216&i.flags){const n=er(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Ks(n[e],t)}else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Ks(e,t){const n=e.state;switch(t){case js.CheckNoChanges:0==(128&n)&&(12==(12&n)?Fs(e):64&n&&qs(e,js.CheckNoChangesProjectedViews));break;case js.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Fs(e):64&n&&qs(e,t));break;case js.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ps(e):64&n&&qs(e,js.CheckAndUpdateProjectedViews));break;case js.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ps(e):64&n&&qs(e,t));break;case js.Destroy:Bs(e);break;case js.CreateViewNodes:Ms(e)}}function qs(e,t){Ws(e,t),Vs(e,t)}function zs(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const i=e.def.nodes.length;for(let o=0;o<i;o++){const i=e.def.nodes[o];if(i.flags&t&&i.flags&n)switch(ir.setCurrentNode(e,i.nodeIndex),r){case 0:fs(e,i);break;case 1:Hs(e,i)}i.childFlags&t&&i.childFlags&n||(o+=i.childCount)}}let Ys=!1;function $s(e,t,n,r,i,o){const s=i.injector.get(Cn);return Is(Zs(e,i,s,t,n),r,o)}function Qs(e,t,n,r,i,o){const s=i.injector.get(Cn),a=Zs(e,i,new Da(s),t,n),l=aa(r);return Oa(pa.create,Is,null,[a,l,o])}function Zs(e,t,n,r,i){const o=t.injector.get(dt),s=t.injector.get(Le),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function Js(e,t,n,r){const i=aa(n);return Oa(pa.create,Ds,null,[e,t,i,r])}function Xs(e,t,n,r){return n=ra.get(t.element.componentProvider.provider.token)||aa(n),Oa(pa.create,Rs,null,[e,t,n,r])}function ea(e,t,n,r){return hi(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===ta.size||(e.providers.forEach(e=>{const r=ta.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{na.forEach((r,i)=>{y(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const i=ta.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=wr(i.deps),r.value=i.value)}if(na.size>0){let t=new Set(e.modules);na.forEach((r,i)=>{if(t.has(y(i).providedIn)){let t={token:i,flags:r.flags|(n?4096:0),deps:wr(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[ar(i)]=t}})}}(e=e.factory(()=>or)),e):e}(r))}const ta=new Map,na=new Map,ra=new Map;function ia(e){let t;ta.set(e.token,e),"function"==typeof e.token&&(t=y(e.token))&&"function"==typeof t.providedIn&&na.set(e.token,e)}function oa(e,t){const n=Or(t.viewDefFactory),r=Or(n.nodes[0].element.componentView);ra.set(e,r)}function sa(){ta.clear(),na.clear(),ra.clear()}function aa(e){if(0===ta.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&ta.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>or);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=ta.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=wr(n.deps),e.value=n.value)}}}}function la(e,t,n,r,i,o,s,a,l,u,c,d,h){const p=e.def.nodes[t];return Ls(e,p,n,r,i,o,s,a,l,u,c,d,h),224&p.flags?nr(e,t).value:void 0}function ua(e,t,n,r,i,o,s,a,l,u,c,d,h){const p=e.def.nodes[t];return Gs(e,p,n,r,i,o,s,a,l,u,c,d,h),224&p.flags?nr(e,t).value:void 0}function ca(e){return Oa(pa.detectChanges,Ps,null,[e])}function da(e){return Oa(pa.checkNoChanges,Fs,null,[e])}function ha(e){return Oa(pa.destroy,Bs,null,[e])}const pa=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let fa,ga,ma;function ya(e,t){ga=e,ma=t}function ba(e,t,n,r){return ya(e,t),Oa(pa.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function _a(e,t){if(128&e.state)throw Qn(pa[fa]);return ya(e,Ca(e,0)),e.def.updateDirectives((function(e,n,r,...i){const o=e.def.nodes[n];return 0===t?Ea(e,o,r,i):Sa(e,o,r,i),16384&o.flags&&ya(e,Ca(e,n)),224&o.flags?nr(e,o.nodeIndex).value:void 0}),e)}function va(e,t){if(128&e.state)throw Qn(pa[fa]);return ya(e,wa(e,0)),e.def.updateRenderer((function(e,n,r,...i){const o=e.def.nodes[n];return 0===t?Ea(e,o,r,i):Sa(e,o,r,i),3&o.flags&&ya(e,wa(e,n)),224&o.flags?nr(e,o.nodeIndex).value:void 0}),e)}function Ea(e,t,n,r){if(Ls(e,t,n,...r)){const o=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],s=o[e];8&r.flags&&(n[(i=r.nonMinifiedName,"ng-reflect-"+i.replace(/[$@]/g,"_").replace(gt,(...e)=>"-"+e[1].toLowerCase()))]=mt(s))}const r=t.parent,s=er(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(s,t,r):e.renderer.removeAttribute(s,t)}else e.renderer.setValue(s,"bindings="+JSON.stringify(n,null,2))}}var i}function Sa(e,t,n,r){Gs(e,t,n,...r)}function Ca(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function wa(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Ta{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=br(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return er(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return ai(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){xa(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&xa(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!vr(e);)e=e.parent;return e.parent?er(e.parent,br(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?_r(this.view,this.nodeDef):_r(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const i=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>(o++,o===i?e.error.bind(e,...t):or)),o<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function xa(e,t,n){for(let r in t.references)n[r]=ms(e,t,t.references[r])}function Oa(e,t,n,r){const i=fa,o=ga,s=ma;try{fa=e;const a=t.apply(n,r);return ga=o,ma=s,fa=i,a}catch(a){if(Me(a)||!ga)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),$n(e,t),e}(a,Aa())}}function Aa(){return ga?new Ta(ga,ma):null}class Da{constructor(e){this.delegate=e}createRenderer(e,t){return new Ia(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class Ia{constructor(e){this.delegate=e,this.debugContextFactory=Aa,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=Jo(e);!function(e){Zo.delete(e.nativeNode)}(t),t instanceof $o&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new Qo(n,null,r);t.name=e,Xo(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Xo(new $o(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Xo(new $o(t,null,n)),t}appendChild(e,t){const n=Jo(e),r=Jo(t);n&&r&&n instanceof Qo&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=Jo(e),i=Jo(t),o=Jo(n);r&&i&&r instanceof Qo&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=Jo(e),r=Jo(t);n&&r&&n instanceof Qo&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Aa();return r&&Xo(new Qo(n,null,r)),n}setAttribute(e,t,n,r){const i=Jo(e);i&&i instanceof Qo&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Jo(e);r&&r instanceof Qo&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Jo(e);n&&n instanceof Qo&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Jo(e);n&&n instanceof Qo&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const i=Jo(e);i&&i instanceof Qo&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Jo(e);r&&r instanceof Qo&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Jo(e);r&&r instanceof Qo&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Jo(e);r&&r.listeners.push(new Yo(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function Ra(e,t,n){return new Na(e,t,n)}class Na extends H{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(Ys)return;Ys=!0;const e=He()?{setCurrentNode:ya,createRootView:Qs,createEmbeddedView:Js,createComponentView:Xs,createNgModuleRef:ea,overrideProvider:ia,overrideComponentView:oa,clearOverrides:sa,checkAndUpdateView:ca,checkNoChangesView:da,destroyView:ha,createDebugContext:(e,t)=>
1new Ta(e,t),handleEvent:ba,updateDirectives:_a,updateRenderer:va}:{setCurrentNode:()=>{},createRootView:$s,createEmbeddedView:Ds,createComponentView:Rs,createNgModuleRef:hi,overrideProvider:or,overrideComponentView:or,clearOverrides:or,checkAndUpdateView:Ps,checkNoChangesView:Fs,destroyView:Bs,createDebugContext:(e,t)=>new Ta(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?la:ua,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?la:ua,e)};ir.setCurrentNode=e.setCurrentNode,ir.createRootView=e.createRootView,ir.createEmbeddedView=e.createEmbeddedView,ir.createComponentView=e.createComponentView,ir.createNgModuleRef=e.createNgModuleRef,ir.overrideProvider=e.overrideProvider,ir.overrideComponentView=e.overrideComponentView,ir.clearOverrides=e.clearOverrides,ir.checkAndUpdateView=e.checkAndUpdateView,ir.checkNoChangesView=e.checkNoChangesView,ir.destroyView=e.destroyView,ir.resolveDep=ki,ir.createDebugContext=e.createDebugContext,ir.handleEvent=e.handleEvent,ir.updateDirectives=e.updateDirectives,ir.updateRenderer=e.updateRenderer,ir.dirtyParentQueries=ps}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Or(this._ngModuleDefFactory));return ir.createNgModuleRef(this.moduleType,e||Lt.NULL,this._bootstrapComponents,t)}}},"91Oz":function(e,t,n){"use strict";e.exports={en:{Yes:"Yes",No:"No",Cancel:"Cancel",Clear:"Clear",Done:"Done",Loading:"Loading...",Select:"Select...",Search:"Search",Back:"Back",OK:"OK","dxCollectionWidget-noDataText":"No data to display","dxDropDownEditor-selectLabel":"Select","validation-required":"Required","validation-required-formatted":"{0} is required","validation-numeric":"Value must be a number","validation-numeric-formatted":"{0} must be a number","validation-range":"Value is out of range","validation-range-formatted":"{0} is out of range","validation-stringLength":"The length of the value is not correct","validation-stringLength-formatted":"The length of {0} is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0}
1 is invalid","validation-async":"Value is invalid","validation-async-formatted":"{0} is invalid","validation-compare":"Values do not match","validation-compare-formatted":"{0} does not match","validation-pattern":"Value does not match pattern","validation-pattern-formatted":"{0} does not match pattern","validation-email":"Email is invalid","validation-email-formatted":"{0} is invalid","validation-mask":"Value is invalid","dxLookup-searchPlaceholder":"Minimum character number: {0}","dxList-pullingDownText":"Pull down to refresh...","dxList-pulledDownText":"Release to refresh...","dxList-refreshingText":"Refreshing...","dxList-pageLoadingText":"Loading...","dxList-nextButtonText":"More","dxList-selectAll":"Select All","dxListEditDecorator-delete":"Delete","dxListEditDecorator-more":"More","dxScrollView-pullingDownText":"Pull down to refresh...","dxScrollView-pulledDownText":"Release to refresh...","dxScrollView-refreshingText":"Refreshing...","dxScrollView-reachBottomText":"Loading...","dxDateBox-simulatedDataPickerTitleTime":"Select time","dxDateBox-simulatedDataPickerTitleDate":"Select date","dxDateBox-simulatedDataPickerTitleDateTime":"Select date and time","dxDateBox-validation-datetime":"Value must be a date or time","dxFileUploader-selectFile":"Select file","dxFileUploader-dropFile":"or Drop file here","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Upload","dxFileUploader-uploaded":"Uploaded","dxFileUploader-readyToUpload":"Ready to upload","dxFileUploader-uploadFailedMessage":"Upload failed","dxFileUploader-invalidFileExtension":"File type is not allowed","dxFileUploader-invalidMaxFileSize":"File is too large","dxFileUploader-invalidMinFileSize":"File is too small","dxRangeSlider-ariaFrom":"From","dxRangeSlider-ariaTill":"Till","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} is required","dxNumberBox-invalidValueMessage":"Value must be a number","dxNumberBox-noDataText":"No data","dxDataGrid-columnChooserTitle":"Column Chooser","dxDataGrid-columnChooserEmptyText":"Drag a column here to hide it","dxDataGrid-groupContinuesMessage":"Continues on the next page","dxDataGrid-groupContinuedMessage":"Continued from the previous page","dxDataGrid-groupHeaderText":"Group by This Column","dxDataGrid-ungroupHeaderText":"Ungroup","dxDataGrid-ungroupAllText":"Ungroup All","dxDataGrid-editingEditRow":"Edit","dxDataGrid-editingSaveRowChanges":"Save","dxDataGrid-editingCancelRowChanges":"Cancel","dxDataGrid-editingDeleteRow":"Delete","dxDataGrid-editingUndeleteRow":"Undelete","dxDataGrid-editingConfirmDeleteMessage":"Are you sure you want to delete this record?","dxDataGrid-validationCancelChanges":"Cancel changes","dxDataGrid-groupPanelEmptyText":"Drag a column header here to group by that column","dxDataGrid-noDataText":"No data","dxDataGrid-searchPanelPlaceholder":"Search...","dxDataGrid-filterRowShowAllText":"(All)","dxDataGrid-filterRowResetOperationText":"Reset","dxDataGrid-filterRowOperationEquals":"Equals","dxDataGrid-filterRowOperationNotEquals":"Does not equal","dxDataGrid-filterRowOperationLess":"Less than","dxDataGrid-filterRowOperationLessOrEquals":"Less than or equal to","dxDataGrid-filterRowOperationGreater":"Greater than","dxDataGrid-filterRowOperationGreaterOrEquals":"Greater than or equal to","dxDataGrid-filterRowOperationStartsWith":"Starts with","dxDataGrid-filterRowOperationContains":"Contains","dxDataGrid-filterRowOperationNotContains":"Does not contain","dxDataGrid-filterRowOperationEndsWith":"Ends with","dxDataGrid-filterRowOperationBetween":"Between","dxDataGrid-filterRowOperationBetweenStartText":"Start","dxDataGrid-filterRowOperationBetweenEndText":"End","dxDataGrid-applyFilterText":"Apply filter","dxDataGrid-trueText":"true","dxDataGrid-falseText":"false","dxDataGrid-sortingAscendingText":"Sort Ascending","dxDataGrid-sortingDescendingText":"Sort Descending","dxDataGrid-sortingClearText":"Clear Sorting","dxDataGrid-editingSaveAllChanges":"Save changes","dxDataGrid-editingCancelAllChanges":"Discard changes","dxDataGrid-editingAddRow":"Add a row","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min of {1} is {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max of {1} is {0}","dxDataGrid-summaryAvg":"Avg: {0}","dxDataGrid-summaryAvgOtherColumn":"Avg of {1} is {0}","dxDataGrid-summarySum":"Sum: {0}","dxDataGrid-summarySumOtherColumn":"Sum of {1} is {0}","dxDataGrid-summaryCount":"Count: {0}","dxDataGrid-columnFixingFix":"Fix","dxDataGrid-columnFixingUnfix":"Unfix","dxDataGrid-columnFixingLeftPosition":"To the left","dxDataGrid-columnFixingRightPosition":"To the right","dxDataGrid-exportTo":"Export","dxDataGrid-exportToExcel":"Export to Excel file","dxDataGrid-exporting":"Exporting...","dxDataGrid-excelFormat":"Excel file","dxDataGrid-selectedRows":"Selected rows","dxDataGrid-exportSelectedRows":"Export selected rows","dxDataGrid-exportAll":"Export all data","dxDataGrid-headerFilterEmptyValue":"(Blanks)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Cancel","dxDataGrid-ariaColumn":"Column","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaDataGrid":"Data grid","dxDataGrid-ariaSearchInGrid":"Search in data grid","dxDataGrid-ariaSelectAll":"Select all","dxDataGrid-ariaSelectRow":"Select row","dxDataGrid-filterBuilderPopupTitle":"Filter Builder","dxDataGrid-filterPanelCreateFilter":"Create Filter","dxDataGrid-filterPanelClearFilter":"Clear","dxDataGrid-filterPanelFilterEnabledHint":"Enable the filter","dxTreeList-ariaTreeList":"Tree list","dxTreeList-editingAddRowToNode":"Add","dxPager-infoText":"Page {0} of {1} ({2}
1 items)","dxPager-pagesCountText":"of","dxPivotGrid-grandTotal":"Grand Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Field Chooser","dxPivotGrid-showFieldChooser":"Show Field Chooser","dxPivotGrid-expandAll":"Expand All","dxPivotGrid-collapseAll":"Collapse All","dxPivotGrid-sortColumnBySummary":'Sort "{0}" by This Column',"dxPivotGrid-sortRowBySummary":'Sort "{0}" by This Row',"dxPivotGrid-removeAllSorting":"Remove All Sorting","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Row Fields","dxPivotGrid-columnFields":"Column Fields","dxPivotGrid-dataFields":"Data Fields","dxPivotGrid-filterFields":"Filter Fields","dxPivotGrid-allFields":"All Fields","dxPivotGrid-columnFieldArea":"Drop Column Fields Here","dxPivotGrid-dataFieldArea":"Drop Data Fields Here","dxPivotGrid-rowFieldArea":"Drop Row Fields Here","dxPivotGrid-filterFieldArea":"Drop Filter Fields Here","dxScheduler-editorLabelTitle":"Subject","dxScheduler-editorLabelStartDate":"Start Date","dxScheduler-editorLabelEndDate":"End Date","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"Repeat","dxScheduler-openAppointment":"Open appointment","dxScheduler-recurrenceNever":"Never","dxScheduler-recurrenceDaily":"Daily","dxScheduler-recurrenceWeekly":"Weekly","dxScheduler-recurrenceMonthly":"Monthly","dxScheduler-recurrenceYearly":"Yearly","dxScheduler-recurrenceRepeatEvery":"Repeat Every","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"End repeat","dxScheduler-recurrenceAfter":"After","dxScheduler-recurrenceOn":"On","dxScheduler-recurrenceRepeatDaily":"day(s)","dxScheduler-recurrenceRepeatWeekly":"week(s)","dxScheduler-recurrenceRepeatMonthly":"month(s)","dxScheduler-recurrenceRepeatYearly":"year(s)","dxScheduler-switcherDay":"Day","dxScheduler-switcherWeek":"Week","dxScheduler-switcherWorkWeek":"Work Week","dxScheduler-switcherMonth":"Month","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Day","dxScheduler-switcherTimelineWeek":"Timeline Week","dxScheduler-switcherTimelineWorkWeek":"Timeline Work Week","dxScheduler-switcherTimelineMonth":"Timeline Month","dxScheduler-recurrenceRepeatOnDate":"on date","dxScheduler-recurrenceRepeatCount":"occurrence(s)","dxScheduler-allDay":"All day","dxScheduler-confirmRecurrenceEditMessage":"Do you want to edit only this appointment or the whole series?","dxScheduler-confirmRecurrenceDeleteMessage":"Do you want to delete only this appointment or the whole series?","dxScheduler-confirmRecurrenceEditSeries":"Edit series","dxScheduler-confirmRecurrenceDeleteSeries":"Delete series","dxScheduler-confirmRecurrenceEditOccurrence":"Edit appointment","dxScheduler-confirmRecurrenceDeleteOccurrence":"Delete appointment","dxScheduler-noTimezoneTitle":"No timezone","dxScheduler-moreAppointments":"{0} more","dxCalendar-todayButtonText":"Today","dxCalendar-ariaWidgetName":"Calendar","dxColorView-ariaRed":"Red","dxColorView-ariaGreen":"Green","dxColorView-ariaBlue":"Blue","dxColorView-ariaAlpha":"Transparency","dxColorView-ariaHex":"Color code","dxTagBox-selected":"{0} selected","dxTagBox-allSelected":"All selected ({0})","dxTagBox-moreSelected":"{0} more","vizExport-printingButtonText":"Print","vizExport-titleMenuText":"Exporting/Printing","vizExport-exportButtonText":"{0} file","dxFilterBuilder-and":"And","dxFilterBuilder-or":"Or","dxFilterBuilder-notAnd":"Not And","dxFilterBuilder-notOr":"Not Or","dxFilterBuilder-addCondition":"Add Condition","dxFilterBuilder-addGroup":"Add Group","dxFilterBuilder-enterValueText":"<enter a value>","dxFilterBuilder-filterOperationEquals":"Equals","dxFilterBuilder-filterOperationNotEquals":"Does not equal","dxFilterBuilder-filterOperationLess":"Is less than","dxFilterBuilder-filterOperationLessOrEquals":"Is less than or equal to","dxFilterBuilder-filterOperationGreater":"Is greater than","dxFilterBuilder-filterOperationGreaterOrEquals":"Is greater than or equal to","dxFilterBuilder-filterOperationStartsWith":"Starts with","dxFilterBuilder-filterOperationContains":"Contains","dxFilterBuilder-filterOperationNotContains":"Does not contain","dxFilterBuilder-filterOperationEndsWith":"Ends with","dxFilterBuilder-filterOperationIsBlank":"Is blank","dxFilterBuilder-filterOperationIsNotBlank":"Is not blank","dxFilterBuilder-filterOperationBetween":"Is between","dxFilterBuilder-filterOperationAnyOf":"Is any of","dxFilterBuilder-filterOperationNoneOf":"Is none of","dxHtmlEditor-dialogColorCaption":"Change Font Color","dxHtmlEditor-dialogBackgroun
1dCaption":"Change Background Color","dxHtmlEditor-dialogLinkCaption":"Add Link","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Text","dxHtmlEditor-dialogLinkTargetField":"Open link in new window","dxHtmlEditor-dialogImageCaption":"Add Image","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Alternate text","dxHtmlEditor-dialogImageWidthField":"Width (px)","dxHtmlEditor-dialogImageHeightField":"Height (px)","dxHtmlEditor-heading":"Heading","dxHtmlEditor-normalText":"Normal text","dxFileManager-newDirectoryName":"Untitled directory","dxFileManager-rootDirectoryName":"Files","dxFileManager-errorNoAccess":"Access denied. The operation cannot be completed.","dxFileManager-errorDirectoryExistsFormat":"Directory '{0}' already exists.","dxFileManager-errorFileExistsFormat":"File '{0}' already exists.","dxFileManager-errorFileNotFoundFormat":"File '{0}' not found.","dxFileManager-errorDirectoryNotFoundFormat":"Directory '{0}' not found.","dxFileManager-errorWrongFileExtension":"File extension is not allowed.","dxFileManager-errorMaxFileSizeExceeded":"File size exceeds the maximum allowed size.","dxFileManager-errorInvalidSymbols":"This name contains invalid characters.","dxFileManager-errorDefault":"Unspecified error.","dxFileManager-commandCreate":"New directory","dxFileManager-commandRename":"Rename","dxFileManager-commandMove":"Move","dxFileManager-commandCopy":"Copy","dxFileManager-commandDelete":"Delete","dxFileManager-commandDownload":"Download","dxFileManager-commandUpload":"Upload files","dxFileManager-commandRefresh":"Refresh","dxFileManager-commandThumbnails":"Thumbnails View","dxFileManager-commandDetails":"Details View","dxFileManager-commandClear":"Clear selection","dxFileManager-dialogDirectoryChooserTitle":"Select Destination Directory","dxFileManager-dialogDirectoryChooserButtonText":"Select","dxFileManager-dialogRenameItemTitle":"Rename","dxFileManager-dialogRenameItemButtonText":"Save","dxFileManager-dialogCreateDirectoryTitle":"New directory","dxFileManager-dialogCreateDirectoryButtonText":"Create","dxFileManager-editingCreateSingleItemProcessingMessage":"Creating a directory inside {0}","dxFileManager-editingCreateSingleItemSuccessMessage":"Created a directory inside {0}","dxFileManager-editingCreateSingleItemErrorMessage":"Directory wasn't created","dxFileManager-editingCreateCommonErrorMessage":"Directory wasn't created","dxFileManager-editingRenameSingleItemProcessingMessage":"Renaming an item inside {0}","dxFileManager-editingRenameSingleItemSuccessMessage":"Renamed an item inside {0}","dxFileManager-editingRenameSingleItemErrorMessage":"Item wasn't renamed","dxFileManager-editingRenameCommonErrorMessage":"Item wasn't renamed","dxFileManager-editingDeleteSingleItemProcessingMessage":"Deleting an item from {0}","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"Deleting {0} items from {1}","dxFileManager-editingDeleteSingleItemSuccessMessage":"Deleted an item from {0}","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"Deleted {0} items from {1}","dxFileManager-editingDeleteSingleItemErrorMessage":"Item wasn't deleted","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} items weren't deleted","dxFileManager-editingDeleteCommonErrorMessage":"Some items weren't deleted","dxFileManager-editingMoveSingleItemProcessingMessage":"Moving an item to {0}","dxFileManager-editingMoveMultipleItemsProcessingMessage":"Moving {0} items to {1}","dxFileManager-editingMoveSingleItemSuccessMessage":"Moved an item to {0}","dxFileManager-editingMoveMultipleItemsSuccessMessage":"Moved {0} items to {1}","dxFileManager-editingMoveSingleItemErrorMessage":"Item wasn't moved","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} items weren't moved","dxFileManager-editingMoveCommonErrorMessage":"Some items weren't moved","dxFileManager-editingCopySingleItemProcessingMessage":"Copying an item to {0}","dxFileManager-editingCopyMultipleItemsProcessingMessage":"Copying {0} items to {1}","dxFileManager-editingCopySingleItemSuccessMessage":"Copied an item to {0}","dxFileManager-editingCopyMultipleItemsSuccessMessage":"Copied {0} items to {1}","dxFileManager-editingCopySingleItemErrorMessage":"Item wasn't copied","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} items weren't copied","dxFileManager-editingCopyCommonErrorMessage":"Some items weren't copied","dxFileManager-editingUploadSingleItemProcessingMessage":"Uploading an item to {0}","dxFileManager-editingUploadMultipleItemsProcessingMessage":"Uploading {0} items to {1}","dxFileManager-editingUploadSingleItemSuccessMessage":"Uploaded an item to {0}","dxFileManager-editingUploadMultipleItemsSuccessMessage":"Uploaded {0} items to {1}","dxFileManager-editingUploadSingleItemErrorMessage":"Item wasn't uploaded","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} items weren't uploaded","dxFileManager-editingUploadCanceledMessage":"Canceled","dxFileManager-listDetailsColumnCaptionName":"Name","dxFileManager-listDetailsColumnCaptionDateModified":"Date Modified","dxFileManager-listDetailsColumnCaptionFileSize":"File Size","dxFileManager-listThumbnailsTooltipTextSize":"Size","dxFileManager-listThumbnailsTooltipTextDateModified":"Date Modified","dxFileManager-notificationProgressPanelTitle":"Progress","dxFileManager-notificationProgressPanelEmptyListText":"No operations","dxFileManager-notificationProgressPanelOperationCanceled":"Canceled","dxDiagram-categoryGeneral":"General","dxDiagram-categoryFlowchart":"Flowchart","dxDiagram-categoryOrgChart":"Organizational Chart","dxDiagram-categoryContainers":"Containers","dxDiagram-categoryCustom":"Custom","dxDiagram-commandPro
1perties":"Properties","dxDiagram-commandExport":"Export","dxDiagram-commandExportToSvg":"Export to SVG","dxDiagram-commandExportToPng":"Export to PNG","dxDiagram-commandExportToJpg":"Export to JPEG","dxDiagram-commandUndo":"Undo","dxDiagram-commandRedo":"Redo","dxDiagram-commandFontName":"Font Name","dxDiagram-commandFontSize":"Font Size","dxDiagram-commandBold":"Bold","dxDiagram-commandItalic":"Italic","dxDiagram-commandUnderline":"Underline","dxDiagram-commandTextColor":"Text Color","dxDiagram-commandLineColor":"Line Color","dxDiagram-commandFillColor":"Fill Color","dxDiagram-commandAlignLeft":"Align Left","dxDiagram-commandAlignCenter":"Align Center","dxDiagram-commandAlignRight":"Align Right","dxDiagram-commandConnectorLineType":"Connector Line Type","dxDiagram-commandConnectorLineStraight":"Straight","dxDiagram-commandConnectorLineOrthogonal":"Orthogonal","dxDiagram-commandConnectorLineStart":"Connector Line Start","dxDiagram-commandConnectorLineEnd":"Connector Line End","dxDiagram-commandConnectorLineNone":"None","dxDiagram-commandConnectorLineArrow":"Arrow","dxDiagram-commandAutoLayout":"Auto Layout","dxDiagram-commandAutoLayoutTree":"Tree","dxDiagram-commandAutoLayoutLayered":"Layered","dxDiagram-commandAutoLayoutHorizontal":"Horizontal","dxDiagram-commandAutoLayoutVertical":"Vertical","dxDiagram-commandFullscreen":"Full Screen","dxDiagram-commandUnits":"Units","dxDiagram-commandPageSize":"Page Size","dxDiagram-commandPageOrientation":"Page Orientation","dxDiagram-commandPageOrientationLandscape":"Landscape","dxDiagram-commandPageOrientationPortrait":"Portrait","dxDiagram-commandPageColor":"Page Color","dxDiagram-commandShowGrid":"Show Grid","dxDiagram-commandSnapToGrid":"Snap to Grid","dxDiagram-commandGridSize":"Grid Size","dxDiagram-commandZoomLevel":"Zoom Level","dxDiagram-commandAutoZoom":"Auto Zoom","dxDiagram-commandSimpleView":"Simple View","dxDiagram-commandCut":"Cut","dxDiagram-commandCopy":"Copy","dxDiagram-commandPaste":"Paste","dxDiagram-commandSelectAll":"Select All","dxDiagram-commandDelete":"Delete","dxDiagram-commandBringToFront":"Bring to Front","dxDiagram-commandSendToBack":"Send to Back","dxDiagram-commandLock":"Lock","dxDiagram-commandUnlock":"Unlock","dxDiagram-commandInsertShapeImage":"Insert Image...","dxDiagram-commandEditShapeImage":"Change Image...","dxDiagram-commandDeleteShapeImage":"Delete Image","dxDiagram-unitIn":"in","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Cancel","dxDiagram-dialogInsertShapeImageTitle":"Insert Image","dxDiagram-dialogEditShapeImageTitle":"Change Image","dxDiagram-dialogEditShapeImageSelectButton":"Select image","dxDiagram-dialogEditShapeImageLabelText":"or drop file here"}}},"9ppp":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(t,"a",(function(){return i})),r.prototype=Object.create(Error.prototype);const i=r},"A8u/":function(e,t,n){"use strict";var r,i=a(n("eWCF")),o=a(n("qOm7")),s=a(n("VEhS"));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=(0,i.default)({locale:(r="en",function(e){if(!e)return r;r=e}),getValueByClosestLocale:function(e){for(var t,n=this.locale(),r=e(n);!r&&!t;)(n=(0,s.default)(o.default,n))?r=e(n):t=!0;return void 0===r&&"en"!==n?e("en"):r}})},AhhV:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("IheW"),i=(n("xJJj"),function(){function e(e,t){this.http=e,this._apiUrl=t.apiUrl,this._urlParamRegex=new RegExp(/\:([a-zA-Z]+)/,"g")}return e.prototype.get=function(e){var t=this.getRequestOptions(e);return t.httpRequestOptions.params=e.RequestParameters,this.http.get(t.url,t.httpRequestOptions)},e.prototype.post=function(e){var t=this.getRequestOptions(e);return this.checkForUrlParam(e),this.http.post(t.url,e.body,t.httpRequestOptions)},e.prototype.getRequestOptions=function(e){var t=e.requestOptions;return null==t&&(t={headers:new r.h({"Content-Type":"application/json","Cache-Control":"no-cache, must-revalidate",Expires:"Mon, 26 Jul 1997 05:00:00 GMT",Pragma:"no-cache"}),observe:"body"}),{httpRequestOptions:t,url:this.getRequestUrl(e.url,e.flxName)}},e.prototype.getRequestUrl=function(e,t){if(e=this._apiUrl.concat(e),t){e.endsWith("/")||(e=e.concat("/"));var n=e.indexOf("/:");e=n>-1?e.slice(0,n).concat("/").concat(t).concat(e.slice(n)):e.concat(t)}return e},e.prototype.checkForUrlParam=function(e){e.url.indexOf(":")>
1-1&&e.url.match(this._urlParamRegex).forEach((function(t){var n=t.substring(1,t.length);e.url=e.url.replace(":"+n,e.body[n])}))},e}())},AwRG:function(e,t,n){"use strict";var r=n("IheW"),i=n("BATG"),o=n("7q2x"),s=n("e8ht"),a=n("xJJj"),l=n("AhhV"),u=(n("/A8S"),n("Srtg"),n("ed0e"),n("EqrH"),n("yCWY")),c=n("wFGo"),d=n("VayG"),h=n("Kj3r"),p=function(){function e(e,t){this.renderer=e,this._windowService=t,this._debounceTime=0,this._subtractHeight=41,this._minHeight=500}return e.prototype.attachWindowListener=function(){var e=this;this.windowSizeChanged=this._windowService.windowSizeChanged,this.windowSizeChangedSubscription=this.windowSizeChanged.pipe(Object(h.a)(this._debounceTime)).subscribe((function(t){var n=t.heightWithoutHeader-e._subtractHeight;n<e._minHeight&&(n=e._minHeight),e.renderer.setStyle(e.mainContent.nativeElement,"min-height",n+"px")}))},e.prototype.dettachWindowListener=function(){this.windowSizeChangedSubscription.unsubscribe()},e.prototype.overwriteOptions=function(e){this._debounceTime=e.debounceTime>-1?e.debounceTime:this._debounceTime,this._subtractHeight=e.subtractHeight>-1?e.subtractHeight:this._subtractHeight,this._minHeight=e.minHeight>-1?e.minHeight:this._minHeight},e.prototype.getWindowSize=function(){return this._windowService.getWindowSize()},e}(),f=n("CLzC"),g=(n("OkTt"),function(){function e(e,t){this.additionalProperties=new Map,this.username=e,this.password=t}return e.prototype.addPropertie=function(e,t){this.additionalProperties.set(e,t)},e}()),m=(n("UwXl"),n("XJMZ"),n("ID9R")),y=n("wPKE"),b=n("rwtW");n("2oOB"),n("65fl"),n("iJcI"),n("oA89"),n("/Tty"),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return g})),n.d(t,"a",(function(){return i.a})),n.d(t,"d",(function(){return m.a})),n.d(t,"f",(function(){return y.a})),n.d(t,"g",(function(){return b.a})),n.d(t,"b",(function(){return p}));var _=function(){function e(){}var t;return t=e,e.forRoot=function(){return{ngModule:t,providers:[l.a,{provide:r.a,useClass:o.a,multi:!0},a.a,u.a,s.a,f.a,d.a,c.a,i.a]}},e}()},AytR:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={production:!0,version:"v"+n("kiQV").a.replace(/\./g,"")}},BATG:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("IheW"),i=n("lJxs"),o=(n("AhhV"),n("rwtW")),s=n("wPKE"),a=(n("xJJj"),function(){function e(e,t){this._httpService=e,this._configService=t,this._isUserLoggedIn=!!sessionStorage.getItem("access_token")}return Object.defineProperty(e.prototype,"isUserLoggedIn",{get:function(){return this._isUserLoggedIn},enumerable:!0,configurable:!0}),e.prototype.setUserLoggedOut=function(){sessionStorage.removeItem("access_token")},e.prototype.login=function(e,t){var n=this,a={headers:new r.h({"Content-Type":"application/x-www-form-urlencoded",client:this._configService.client}),observe:"body"},l=new r.i({encoder:new o.a}).set("grant_type","password").set("username",e.username).set("password",e.password);e.additionalProperties.size>0&&e.additionalProperties.forEach((function(e,t,n){l=l.set(t,e)}));var u=new s.a(l,{url:"connect/token"},a);return this._httpService.post(u).pipe(Object(i.a)((function(r){return sessionStorage.setItem("access_token",r.access_token),n._isUserLoggedIn=!0,r.login=e.username,t.createUser(r)})))},e.prototype.logout=function(){sessionStorage.removeItem("access_token"),this._isUserLoggedIn=!1},e}())},BFxc:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function s(e){return function(t){return 0===e?Object(o.b)():t.lift(new a(e))}}class a{constructor(e){if(this.total=e,this.total<0)throw new i.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends r.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=t++%n;e.next(r[i])}}e.complete()}}},Bhoz:function(e,t,n){"use strict";var r=f(n("eWCF")),i=n("XpgS"),o=n("KAnu"),s=n("zl3R"),a=n("ti0F"),l=f(n("YNCv")),u=f(n("2Fn2")),c=f(n("/7L9")),d=n("UQCf"),h=f(n("Niae")),p=f(n("LPGq"));
1function f(e){return e&&e.__esModule?e:{default:e}}var g="undefined"!=typeof Intl,m=["currency","fixedpoint","exponential","percent","decimal"],y={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},b=(0,r.default)({engine:function(){return"base"},numericFormats:m,defaultLargeNumberFormatPostfixes:{1:"K",2:"M",3:"B",4:"T"},_parseNumberFormatString:function(e){var t,n={};if(e&&"string"==typeof e)return t=e.toLowerCase().split(" "),(0,s.each)(t,(function(e,t){(0,i.inArray)(t,m)>-1?n.formatType=t:t in y&&(n.power=y[t])})),n.power&&!n.formatType&&(n.formatType="fixedpoint"),n.formatType?n:void 0},_calculateNumberPower:function(e,t,n,r){var i=Math.abs(e),o=0;if(i>1)for(;i&&i>=t&&(void 0===r||o<r);)o++,i/=t;else if(i>0&&i<1)for(;i<1&&(void 0===n||o>n);)o--,i*=t;return o},_getNumberByPower:function(e,t,n){for(var r=e;t>0;)r/=n,t--;for(;t<0;)r*=n,t++;return r},_formatNumber:function(e,t,n){var r;return"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,4)),t.power&&(e=this._getNumberByPower(e,t.power,1e3)),r=this.defaultLargeNumberFormatPostfixes[t.power]||"",this._formatNumberCore(e,t.formatType,n).replace(/(\d|.$)(\D*)$/,"$1"+r+"$2")},_formatNumberExponential:function(e,t){var n,r=this._calculateNumberPower(e,10),i=this._getNumberByPower(e,r,10);return void 0===t.precision&&(t.precision=1),i.toFixed(t.precision||0)>=10&&(r++,i/=10),n=(r>=0?"+":"")+r.toString(),this._formatNumberCore(i,"fixedpoint",t)+"E"+n},_addZeroes:function(e,t){for(var n=Math.pow(10,t),r=e<0?"-":"",i=(e=(Math.abs(e)*n>>>0)/n).toString();i.length<t;)i="0"+i;return r+i},_addGroupSeparators:function(e){var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,(0,u.default)().thousandsSeparator)+(t[1]?(0,u.default)().decimalSeparator+t[1]:"")},_formatNumberCore:function(e,t,n){return"exponential"===t?this._formatNumberExponential(e,n):("decimal"!==t&&null!==n.precision&&(n.precision=n.precision||0),"percent"===t&&(e*=100),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):null===n.precision?e.toPrecision():(0,d.toFixed)(e,n.precision)),e="decimal"!==t?this._addGroupSeparators(e):e.toString().replace(".",(0,u.default)().decimalSeparator),"percent"===t&&(e+="%"),e)},_normalizeFormat:function(e){return e?("function"==typeof e||(0,a.isPlainObject)(e)||(e={type:e}),e):{}},_getSeparators:function(){return{decimalSeparator:this.getDecimalSeparator(),thousandsSeparator:this.getThousandsSeparator()}},getThousandsSeparator:function(){return this.format(1e4,"fixedPoint")[2]},getDecimalSeparator:function(){return this.format(1.2,{type:"fixedPoint",precision:1})[1]},convertDigits:function(e,t){var n=this.format(90,"decimal");if("string"!=typeof e||"0"===n[1])return e;var r=t?n[1]:"0",i=t?"0":n[1],o=new RegExp("["+r+"-"+(t?n[0]:"9")+"]","g");return e.replace(o,(function(e){return String.fromCharCode(e.charCodeAt(0)+(i.charCodeAt(0)-r.charCodeAt(0)))}))},getSign:function(e,t){if("-"===e.replace(/[^0-9-]/g,"").charAt(0))return-1;if(!t)return 1;var n=this._getSeparators(),r=new RegExp("[0-9"+(0,o.escapeRegExp)(n.decimalSeparator+n.thousandsSeparator)+"]+","g"),i=this.format(-1,t).replace(r,"1");return e.replace(r,"1")===i?-1:1},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if("function"==typeof(t=t&&t.formatter||t))return t(e);(t=this._normalizeFormat(t)).type||(t.type="decimal");var n=this._parseNumberFormatString(t.type);return n?this._formatNumber(e,n,t):this.convertDigits(l.default.getFormatter(t.type,this._getSeparators())(e))},parse:function(e,t){if(e){if(t&&t.parser)return t.parser(e);e=this.convertDigits(e,!0),t&&"string"!=typeof t&&c.default.log("W0011");var n=this.getDecimalSeparator(),r=new RegExp("[^0-9"+(0,o.escapeRegExp)(n)+"]","g"),i=e.replace(r,"").replace(n,".").replace(/\.$/g,"");return"."===i||""===i?null:this._calcSignificantDigits(i)>15?NaN:+i*this.getSign(e,t)}},_calcSignificantDigits:function(e){var t,n=(2,function(e){if(Array.isArray(e))return e}(t=e.split("."))||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}}
1(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),r=n[0],i=n[1],o=function(e){for(var t=-1,n=0;n<e.length;n++)if("0"!==e[n]){t=n;break}return t>-1?e.length-t:0},s=0;return r&&(s+=o(r.split(""))),i&&(s+=o(i.split("").reverse())),s}});b.inject(h.default),g&&b.inject(p.default),e.exports=b},CLzC:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("2Vo4"),i=n("xgIS"),o=n("/uUt"),s=n("Kj3r"),a=n("lJxs"),l=function(){function e(){this._windowSizeSubject=new r.a(this.getWindowSize()),this.windowSizeChanged=this._windowSizeSubject.pipe(Object(o.a)()),Object(i.a)(window,"resize").pipe(Object(s.a)(200),Object(a.a)(this.getWindowSize)).subscribe(this._windowSizeSubject)}var t;return t=e,e.prototype.getWindowSize=function(){var e=0;return t.header&&(e=t.header.nativeElement.clientHeight),{height:window.innerHeight,width:window.innerWidth,heightWithoutHeader:window.innerHeight-e}},e.prototype.registerHeader=function(e){t.header=e,this._windowSizeSubject.next(this.getWindowSize())},e}()},Cfvw:function(e,t,n){"use strict";var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new r.a(n=>{const r=new o.a;return r.add(t.schedule(()=>{const i=e[s.a]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(Object(u.a)(e))return function(e,t){return new r.a(n=>{const r=new o.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(Object(c.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new o.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[l.a](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}n.d(t,"a",(function(){return d}))},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("3N8a");const i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=Array.isArray||(e=>e&&"number"==typeof e.length)},Dn3B:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("Cfvw"),i=n("IheW"),o=n("AwRG"),s=(n("cygB"),n("XiGC"),n("w1tV"));class a{constructor(e,t,n,r){this._httpService=e,this._devManager=t,this._cacheService=n,this.sysIniService=r,this.docSubTypeObservable=this.getObservableData("docSubTypes",this._devManager.getShsSettings("HoleDokumentenUnterTypen")).pipe(Object(s.a)()),this.docTypeObservable=this.getObservableData("docTypes",this._devManager.getShsSettings("HoleDokumentenTypen")).pipe(Object(s.a)()),this.vatsObservable=this.getObservableData("vats",this._devManager.getShsSettings("HoleMwstFilter")).pipe(Object(s.a)()),this.projectObservable=this.getObservableData("projects",this._devManager.getShsSettings("HoleProjekte")).pipe(Object(s.a)())}preLoadFilter(e,t,n,r,i,o,s){const a=[];let l,u,c,d,h,p,f,g;return l=e?this.getSuppliersAn().toPromise():Promise.resolve(a),u=e?this.getSuppliersWe().toPromise():Promise.resolve(a),c=t?this.getCostcenters().toPromise():Promise.resolve(a),d=n?this.getArticlegroups().toPromise():Promise.resolve(a),h=r?this.getUnits().toPromise():Promise.resolve(a),p=i?this.getLanguages().toPromise():Promise.resolve(a),f=o?this.getIntArtIds().toPromise():Promise.resolve(a),g=s?this.getClients().toPromise():Promise.resolve(a),l.then(e=>{this._cacheService.setCachedItem(e,"suppliersAn")}),u.then(e=>{this._cacheService.setCachedItem(e,"suppliersWe")}),c.then(e=>{this._cacheService.setCachedItem(e,"costcenters")}),d.then(e=>{this._cacheService.setCachedItem(e,"articlegroups")}),h.then(e=>{this._cacheService.setCachedItem(e,"units")}),p.then(e=>{this._cacheService.setCachedItem(e,"languages")}),f.then(e=>{this._cacheService.setCachedItem(e,"intArtIds")}),g.then(e=>{this._cacheService.setCachedItem(e,"clients")}),Promise.all([l,c,d])}getSuppliersAn(e=""){return this.getObservableData("suppliersAn",this._devManager.getShsSettings("HoleLieferantenFilterAnf"),new i.i({encoder:new o.g}).set("SESSION_ID",e).set("MODUL","AN"))}getSuppliersWe(e=""){return this.getObservableData("suppliersWe",this._devManager.getShsSettings("HoleLieferantenFilterWe"),new i.i({encoder:new o.g}).set("SESSION_ID",e).set("MODUL","WE"))}getSuppliersAV(){return this.getObservableData("suppliersAV",this._devManager.getShsSettings("HoleLieferantenFilterAll"),new i.i({encoder:new o.g}).set("MODUL","ARTV"))}getSuppliersFreeText(){return this.getObservableData("suppliersFreetext",this._devManager.getShsSettings("HoleLieferantenFreitext"),new i.i({encoder:new o.g}).set("MODUL","ANFT"))}
1getCostcenters(){return this.getObservableData("costcenters",this._devManager.getShsSettings("HoleKostenstellenFilter"))}getArticleCostCenters(e=null){const t=new i.i({encoder:new o.g}).set("ARG_ANFO_AUTON",String(e.AUTON)),n=new o.d(t,this._devManager.getShsSettings("HoleArtikleKostenstellenFilter"));return this._httpService.get(n).toPromise()}getArticlegroups(e=""){return this.getObservableData("articlegroups",this._devManager.getShsSettings("HoleArtikelgruppenFilter"),new i.i({encoder:new o.g}).set("SESSION_ID",e))}getVats(){return this.vatsObservable}getUnits(){return this.getObservableData("units",this._devManager.getShsSettings("HoleEinheitenFilter"))}getAdditionalSearchCombo(e=""){return this.getObservableData("suchkombo",this._devManager.getShsSettings("HoleInhaltSuchkombo2"),new i.i({encoder:new o.g}).set("SESSION_ID",e))}getOptionalGroupFilterFreeText(){return this.getObservableData("group",this._devManager.getShsSettings("HoleGruppenFilterFreitext"))}getSuppliersForApprove(){return this.getObservableData("suppliersForApprove",this._devManager.getShsSettings("HoleLieferantenF\xfcrUnterschreiben"),new i.i({encoder:new o.g}).set("MODUL","UN"))}getSuppliersUnFt(){return this.getObservableData("suppliersUnFt",this._devManager.getShsSettings("HoleLieferantenF\xfcrUnterschreibenFt"),new i.i({encoder:new o.g}).set("MODUL","UNFT"))}getSubCostcenter(e,t=""){const n=new i.i({encoder:new o.g}).set("KST",e).set("SESSION_ID",t);return this.getObservableData("subcostcenter",this._devManager.getShsSettings("HoleUnterkostenstelle"),n)}getPurposes(e){const t=new i.i({encoder:new o.g}).set("KST",e);return this.getObservableData("purpose",this._devManager.getShsSettings("HoleVerwendungsweckeFilter"),t)}getOrderTypes(e,t=""){const n=new i.i({encoder:new o.g}).set("KST",e).set("SESSION_ID",t);return this.getObservableData("orderTypes",this._devManager.getShsSettings("HoleAnforderungsTypen"),n)}getClients(){return this.getObservableData("clients",this._devManager.getShsSettings("HoleMandanten"))}getSearchTypes(e){return t=this,void 0,r=function*(){let t;switch(e){case"WE":t="searchTypesBookingIn";break;case"WA":t="searchTypesBookingOut";break;case"LS":t="searchTypesDeliveryNotes";break;case"RE":t="searchTypesInvoiceEntry";break;case"RA":t="searchTypesInvoice";break;default:t=""}let n=this._cacheService.getCachedItem(t)||[];if(n.length>0)return n;n=[];const r=yield this.sysIniService.getSearchTypes(e);if(r){const e=r.split("|");for(let t=0;t<e.length;t++){const r=e[t].split("(");n.push({ANZEIGE:r[0],BUCHEN:t.toString()})}this._cacheService.setCachedItem(n,t)}return n},new((n=void 0)||(n=Promise))((function(e,i){function o(e){try{a(r.next(e))}catch(t){i(t)}}function s(e){try{a(r.throw(e))}catch(t){i(t)}}function a(t){t.done?e(t.value):new n((function(e){e(t.value)})).then(o,s)}a((r=r.apply(t,[])).next())}));var t,n,r}getUserFilter(e){const t=new i.i({encoder:new o.g}).set("KST",e);return this.getObservableData("users",this._devManager.getShsSettings("HoleUserFilter"),t)}getLanguages(){return this.getObservableData("languages",this._devManager.getShsSettings("HoleUserSprachen"))}getDocTypes(){return this.docTypeObservable}getDocSubTypes(){return this.docSubTypeObservable}getIntArtIds(){return this.getObservableData("intArtIds",this._devManager.getShsSettings("HoleIntArtId"))}getProjectIds(e=0,t=null){if(this.cstParam!==t){this.cstParam=t;const n=new i.i({encoder:new o.g}).set("ARG_NUR_HAUPT",e.toString()).set("ARG_MIT_PM_FILTER",null).set("ARG_KOSTENSTELLE",t);this.projectObservable=this.getObservableData("projects",this._devManager.getShsSettings("HoleProjekte"),n).pipe(Object(s.a)())}return this.projectObservable}getCurrencies(){return this.getObservableData("currencies",this._devManager.getShsSettings("HoleWaehrungen"))}getStorages(e){const t=new i.i({encoder:new o.g}).set("KOSTENSTELLE",e);return this.getObservableData("storages",this._devManager.getShsSettings("HoleLagerorte"),t)}getProductgroups(e){const t=new i.i({encoder:new o.g}).set("KOSTENSTELLE",e);return this.getObservableData("prdouctGroups",this._devManager.getShsSettings("HoleProduktgruppen"),t)}getStorageCsts(){return this.getObservableData("storageCsts",this._devManager.getShsSettings("HoleLagerKostenstellen"))}getShoppingCartSortTypes(){return this.getObservableData("cartSortTypes",this._devManager.getShsSettings("HoleWkSortierVarianten"))}getFavoredCarts(){return this.getObservableData("favoredCarts",this._devManager.getShsSettings("HoleFavorisierteWarenkoerbe"))}getFavoriteAccessTypes(){return this.getObservableData("favAccessTypes",this._devManager.getShsSettings("HoleWarenkorbFavTyp"))}getFavoriteSectorGroups(){return this.getObservableData("cartSectorGroups",this._devManager.getShsSettings("HoleWkFachgruppen"))}getFavoriteUserRoles(){return this.getObservableData("cartUserRoles",this._devManager.getShsSettings("HoleWkBenutzerrollen"))}getUnitsForArticle(e="",t="",n="",r=null,s=null,a=""){const l=new i.i({encoder:new o.g}).set("INT_ART_ID",e).set("LIEFERANT_NR",t).set("EINHEIT_TYP",n).set("DATUM",r?r.toISOString():"").set("TYPE",s).set("KOSTENSTELLE_NR",a);return this.getObservableData("unitsForArticle",this._devManager.getShsSettings("HoleEinheitenFuerArtikel"),l)}getObservableData(e,t,n){let i,s;if(n&&n.get("SESSION_ID")||(s=this._cacheService.getCachedItem(e)),s)i=Object(r.a)([s]);else{const e=new o.d(n,t);
1i=this.sendGetRequest(e)}return i}sendGetRequest(e){return this._httpService.get(e)}}},EApP:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return T})),n.d(t,"f",(function(){return O})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return C})),n.d(t,"i",(function(){return S})),n.d(t,"j",(function(){return b}));var r=n("8Y7J"),i=n("XNiG"),o=n("cUpR"),s=n("SVse");let a=class{};class l{constructor(e,t,n,r,o,s){this.toastId=e,this.config=t,this.message=n,this.title=r,this.toastType=o,this.toastRef=s,this._onTap=new i.a,this._onAction=new i.a,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}}const u={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},c=new r.p("ToastConfig");class d{constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){const e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class h extends class{attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}}{constructor(e,t,n){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=n}attachComponentPortal(e,t){const n=this._componentFactoryResolver.resolveComponentFactory(e.component);let r;return r=n.create(e.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let p=(()=>{let e=class{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),this._document.body.appendChild(e),this._containerElement=e}};return e.ngInjectableDef=Object(r.R)({factory:function(){return new e(Object(r.V)(s.e))},token:e,providedIn:"root"}),e})();class f{constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}}let g=(()=>{let e=class{constructor(e,t,n,r){this._overlayContainer=e,this._componentFactoryResolver=t,this._appRef=n,this._document=r,this._paneElements=new Map}create(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}getPaneElement(e="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}_createPaneElement(e,t){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(e),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(e){return new h(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new f(this._createPortalHost(e))}};return e.ngInjectableDef=Object(r.R)({factory:function(){return new e(Object(r.V)(p),Object(r.V)(r.j),Object(r.V)(r.g),Object(r.V)(s.e))},token:e,providedIn:"root"}),e})();class m{constructor(e){this._overlayRef=e,this.duplicatesCount=0,this._afterClosed=new i.a,this._activate=new i.a,this._manualClose=new i.a,this._resetTimeout=new i.a,this._countDuplicate=new i.a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
1onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class y{constructor(e,t){this._toastPackage=e,this._parentInjector=t}get(e,t,n){return e===l?this._toastPackage:this._parentInjector.get(e,t,n)}}let b=(()=>{let e=class{constructor(e,t,n,r,i){this.overlay=t,this._injector=n,this.sanitizer=r,this.ngZone=i,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign({},e.default,e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign({},e.default.iconClasses,e.config.iconClasses))}show(e,t,n={},r=""){return this._preBuildNotification(r,e,t,this.applyConfig(n))}success(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,t,this.applyConfig(n))}error(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,t,this.applyConfig(n))}info(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,t,this.applyConfig(n))}warning(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,t,this.applyConfig(n))}clear(e){for(const t of this.toasts)if(void 0!==e){if(t.toastId===e)return void t.toastRef.manualClose()}else t.toastRef.manualClose()}remove(e){const t=this._findToast(e);if(!t)return!1;if(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const e=this.toasts[this.currentlyActive].toastRef;e.isInactive()||(this.currentlyActive=this.currentlyActive+1,e.activate())}return!0}findDuplicate(e,t,n){for(let r=0;r<this.toasts.length;r++){const i=this.toasts[r];if(i.message===e)return i.toastRef.onDuplicate(t,n),i}return null}applyConfig(e={}){return Object.assign({},this.toastrConfig,e)}_findToast(e){for(let t=0;t<this.toasts.length;t++)if(this.toasts[t].toastId===e)return{index:t,activeToast:this.toasts[t]};return null}_preBuildNotification(e,t,n,r){return r.onActivateTick?this.ngZone.run(()=>this._buildNotification(e,t,n,r)):this._buildNotification(e,t,n,r)}_buildNotification(e,t,n,i){if(!i.toastComponent)throw new Error("toastComponent required");const o=this.findDuplicate(t,this.toastrConfig.resetTimeoutOnDuplicate,this.toastrConfig.countDuplicates);if(t&&this.toastrConfig.preventDuplicates&&null!==o)return o;this.previousToastMessage=t;let s=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(s=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const a=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=t;t&&i.enableHtml&&(u=this.sanitizer.sanitize(r.G.HTML,t));const c=new m(a),h=new l(this.index,i,u,n,e,c),p=new y(h,this._injector),f=new d(i.toastComponent,p),g=a.attach(f,this.toastrConfig.newestOnTop);c.componentInstance=g._component;const b={toastId:this.index,message:t||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:h.onTap(),onAction:h.onAction(),portal:g};return s||setTimeout(()=>{b.toastRef.activate(),this.currentlyActive=this.currentlyActive+1}),this.toasts.push(b),b}};return e.ngInjectableDef=Object(r.R)({factory:function(){return new e(Object(r.V)(c),Object(r.V)(g),Object(r.V)(r.n),Object(r.V)(o.c),Object(r.V)(r.y))},token:e,providedIn:"root"}),e})(),_=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){return"inactive"===this.state.value?"none":"inherit"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign({},this.state,{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0
1),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign({},this.state,{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),t)):this.timeout=setTimeout(()=>e(),t)}outsideInterval(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),t)):this.intervalId=setInterval(()=>e(),t)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}};var v;const E=Object.assign({},u,{toastComponent:_});let S=v=class{static forRoot(e={}){return{ngModule:v,providers:[{provide:c,useValue:{default:E,config:e}}]}}},C=class{static forRoot(e={}){return{ngModule:S,providers:[{provide:c,useValue:{default:u,config:e}}]}}};var w;let T=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){return"inactive"===this.state?"none":"inherit"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0
1),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}};const x=Object.assign({},u,{toastComponent:T});let O=w=class{static forRoot(e={}){return{ngModule:w,providers:[{provide:c,useValue:{default:x,config:e}}]}}}},ES0t:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("8Y7J"),i=n("KOzp"),o=n("SVse"),s=r.rb({encapsulation:0,styles:[".bs3.popover-top[_nghost-%COMP%] {\n      margin-bottom: 10px;\n    }\n    .bs3.popover.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n      margin-left: -2px;\n    }\n    .bs3.popover.top[_nghost-%COMP%] {\n      margin-bottom: 10px;\n    }\n    .popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n      margin-left: -4px;\n    }\n    .bs3.bs-popover-left[_nghost-%COMP%] {\n      margin-right: .5rem;\n    }\n    .bs3.bs-popover-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs3.bs-popover-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%]{\n      margin: .3rem 0;\n    }"],data:{}});function a(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"h3",[["class","popover-title popover-header"]],null,null,null,null,null)),(e()(),r.Ob(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.title)}))}function l(e){return r.Qb(2,[(e()(),r.tb(0,0,null,null,0,"div",[["class","popover-arrow arrow"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,a)),r.sb(2,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.tb(3,0,null,null,1,"div",[["class","popover-content popover-body"]],null,null,null,null,null)),r.Fb(null,0)],(function(e,t){e(t,2,0,t.component.title)}),null)}function u(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"popover-container",[["role","tooltip"],["style","display:block;"]],[[8,"className",0],[2,"show",null],[2,"bs3",null]],null,null,l,s)),r.sb(1,49152,null,0,i.b,[i.a],null,null)],null,(function(e,t){e(t,0,0,"popover in popover-"+r.Gb(t,1).placement+" bs-popover-"+r.Gb(t,1).placement+" "+r.Gb(t,1).placement+" "+r.Gb(t,1).containerClass,!r.Gb(t,1).isBs3,r.Gb(t,1).isBs3)}))}var c=r.pb("popover-container",i.b,u,{placement:"placement",title:"title"},{},["*"])},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("HDdC");const i=new r.a(e=>e.complete());function o(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):i}},EakO:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("IheW"),i=n("AwRG");n("cygB");class o{constructor(e,t){this.backendService=e,this.httpService=t}saveGridConfig(e,t){const n=new i.f({ARG_OPTIONS:e,ARG_GRIDNAME:t},this.backendService.getShsSettings("SpeicherGridLayout"));return this.httpService.post(n)}deleteGridConfig(e){const t=new i.f({ARG_GRIDNAME:e},this.backendService.getShsSettings("EntferneGridLayout"));return this.httpService.post(t)}getOptions(e,t){try{if(!e||e.length<1)throw Error("Keinen GRIDNAME angegeben");if(!t)throw Error("Object cannot be null");let n="";Object.getOwnPropertyNames(t).forEach(e=>{n+=e+","});const o=new r.i({encoder:new i.g}).set("GRIDNAME",e).set("FIELDLIST",n),s=new i.d(o,this.backendService.getShsSettings("HoleGridConfig"));return this.httpService.get(s)}catch(n){console.error(n)}}getLookup(e,t){if(3===e&&!t)throw Error("Kein SQL in Modus 3");const n=new r.i({encoder:new i.g}).set("ARG_NR",e.toString()).set("ARG_FULL_SQL",t?btoa(unescape(encodeURIComponent(t))):void 0).set("ARG_FILTER",null).set("ARG_FILTER_QUELLE",null),o=new i.d(n,this.backendService.getShsSettings("GetLiKombo"));return this.httpService.get(o)}getButtonRequest(e,t){let n=new r.i({encoder:new i.g});const o=Object.keys(t);for(let r=0;r<o.length;r++){let e=t[o[r]];e?e instanceof Date&&(e=e.toDateString()):e="",n=n.set(o[r],e)}const s=new i.d(n,{flxName:e.flx,url:"shs/query/single"});return this.httpService.get(s)}postButtonRequest(e,t){const n=new i.f(t,{flxName:e.flx,url:"shs/query/save"});return this.httpService.post(n)}updateConstants(e){const t=new i.f({LI_SUCHE1:e},this.backendService.getShsSettings("UpdateKonstantenSuche1"));return this.httpService.post(t)}}},EqrH:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("iJcI"),n("oA89");var r=function(){return function(){}}()},FE24:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return p}));var r=n("8Y7J"),i=n("pLZG"),o=n("z/SZ"),s=n("hpHm"),a=n("2uy1");class l{constructor(){this.autoClose=!0,this.insideClick=!1}}class u{constructor(){this.direction="down",this.isOpenChange=new r.m,this.isDisabledChange=new r.m,this.toggleClick=new r.m,this.dropdownMenu=new Promise(e=>{this.resolveDropdownMenu=e})}}class c{constructor(e,t,n,r){this._state=e,this.cd=t,this._renderer=n,this._element=r,this.isOpen=!1,this._subscription=e.isOpenChange.subscribe(e=>{this.isOpen=e;const t=this._element.nativeElement.querySelector(".dropdown-menu");t&&!Object(s.d)()&&(this._renderer.addClass(t,"show"),t.classList.contains("dropdown-menu-right")&&(this._renderer.setStyle(t,"left","auto"),this._renderer.setStyle(t,"right","0")),"up"===this.direction&&(this._renderer.setStyle(t,"top","auto"),this._renderer.setStyle(t,"transform","translateY(-101%)"))),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(e){return this._element.nativeElement.contains(e)}ngOnDestroy(){this._subscription.unsubscribe()}}class d{constructor(e,t,n,r,i,o){this._elementRef=e,this._renderer=t,this._viewContainerRef
1=n,this._cis=r,this._config=i,this._state=o,this._isInlineOpen=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:u,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(e){this._state.autoClose=e}get autoClose(){return this._state.autoClose}set insideClick(e){this._state.insideClick=e}get insideClick(){return this._state.insideClick}set isDisabled(e){this._isDisabled=e,this._state.isDisabledChange.emit(e),e&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(e){e?this.show():this.hide()}get isBs4(){return!Object(s.d)()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(e=>this.toggle(e))),this._subscriptions.push(this._state.isDisabledChange.pipe(Object(i.a)(e=>e)).subscribe(e=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled)return this._showInline?(this._inlinedMenu||this._state.dropdownMenu.then(e=>{this._dropdown.attachInline(e.viewContainer,e.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),void this._state.isOpenChange.emit(!0)):void this._state.dropdownMenu.then(e=>{const t=this.dropup||void 0!==this.dropup&&this.dropup;this._state.direction=t?"up":"down";const n=this.placement||(t?"top start":"bottom start");this._dropdown.attach(c).to(this.container).position({attachment:n}).show({content:e.templateRef,placement:n}),this._state.isOpenChange.emit(!0)}).catch()}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(e){return this.isOpen||!e?this.hide():this.show()}_contains(e){return this._elementRef.nativeElement.contains(e.target)||this._dropdown.instance&&this._dropdown.instance._contains(e.target)}ngOnDestroy(){for(const e of this._subscriptions)e.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){Object(s.d)()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const e=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",e?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",e?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}class h{constructor(e,t,n){e.resolveDropdownMenu({templateRef:n,viewContainer:t})}}class p{constructor(e,t,n,r,i){this._changeDetectorRef=e,this._dropdown=t,this._element=n,this._renderer=r,this._state=i,this.isDisabled=null,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(e=>{this.isOpen=e,e?(this._documentClickListener=this._renderer.listen("document","click",e=>{!this._state.autoClose||2===e.button||this._element.nativeElement.contains(e.target)||this._state.insideClick&&this._dropdown._contains(e)||(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener(),this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(e=>this.isDisabled=e||null))}onClick(){this.isDisabled||this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const e of this._subscriptions)e.unsubscribe()}}class f{static forRoot(e){return{ngModule:f,providers:[o.a,a.a,u,{provide:l,useValue:e||{autoClose:!0,insideClick:!1}}]}}}},FKN7:function(e,t,n){"use strict";var r=n("NFpX");e.exports=r.get()},FwfD:function(e,t,n){"use strict";var r=n("KAnu").escapeRegExp,i={3:"abbreviated",4:"wide",5:"narrow"},o=function(e,t){return e>
12?Object.keys(i).map((function(e){return["format","standalone"].map((function(n){return t.getMonthNames(i[e],n).join("|")})).join("|")})).join("|"):"0?[1-9]|1[012]"},s={y:function(e){return"[0-9]+"},M:o,L:o,Q:function(e,t){return e>2?t.getQuarterNames(i[e],"format").join("|"):"0?[1-4]"},E:function(e,t){return"\\D*"},a:function(e,t){return t.getPeriodNames(i[e<3?3:e],"format").join("|")},d:function(e){return"0?[1-9]|[12][0-9]|3[01]"},H:function(e){return"0?[0-9]|1[0-9]|2[0-3]"},h:function(e){return"0?[1-9]|1[012]"},m:function(e){return"0?[0-9]|[1-5][0-9]"},s:function(e){return"0?[0-9]|[1-5][0-9]"},S:function(e){return"[0-9]{1,"+e+"}"}},a=Number,l=function(e,t){return e.map((function(e){return e.toLowerCase()})).indexOf(t.toLowerCase())},u=function(e,t,n){return t>2?["format","standalone"].map((function(t){return Object.keys(i).map((function(r){var o=n.getMonthNames(i[r],t);return l(o,e)}))})).reduce((function(e,t){return e.concat(t)})).filter((function(e){return e>=0}))[0]:a(e)-1},c={y:function(e,t){var n=a(e);return 2===t?n<30?2e3+n:1900+n:n},M:u,L:u,Q:function(e,t,n){return t>2?n.getQuarterNames(i[t],"format").indexOf(e):a(e)-1},E:function(e,t,n){var r=n.getDayNames(i[t<3?3:t],"format");return l(r,e)},a:function(e,t,n){var r=n.getPeriodNames(i[t<3?3:t],"format");return l(r,e)},d:a,H:a,h:a,m:a,s:a,S:function(e,t){for(t=Math.max(t,3),e=e.slice(0,3);t<3;)e+="0",t++;return a(e)}},d=["y","M","d","h","m","s","S"],h={y:"setFullYear",M:"setMonth",L:"setMonth",a:function(e,t){var n=e.getHours();t||12!==n?t&&12!==n&&e.setHours(n+12):e.setHours(0)},d:"setDate",H:"setHours",h:"setHours",m:"setMinutes",s:"setSeconds",S:"setMilliseconds"},p=function(e,t){var n=e[t],r=0;do{t++,r++}while(e[t]===n);return r},f=function(e,t){for(var n="",r=0;r<t;r++)n+=e;return n},g=function(e,t){for(var n,i="",o="",a=[],l=function(){o&&(a.push("'"+o+"'"),i+=r(o)+")",o="")},u=0;u<e.length;u++){var c=e[u],d=s[c];if("'"!==c||(n=!n,"'"===e[u-1]))if(d&&!n){var h=p(e,u),g=f(c,h);l(),a.push(g),i+="("+d(h,t)+")",u+=h-1}else o||(i+="("),o+=c}return l(),{patterns:a,regexp:new RegExp("^"+i+"$","i")}};t.getParser=function(e,t){var n=g(e,t);return function(e){var r,i=n.regexp.exec(e);if(i){var o=new Date,s=new Date(o.getFullYear(),0,1),a=n.patterns.map((function(e){return"'"===e[0]?"":"H"===e[0]?"h":e[0]})),l=(r=a.map((function(e){return d.indexOf(e)})),Math.max.apply(Math,r));return function(e){var t=e.filter((function(e){return d.indexOf(e)<0}));return d.concat(t)}(a).forEach((function(e,r){if(e&&!(r<d.length&&r>l)){var u=a.indexOf(e);u>=0?function(e,t,n,r){var i=t[0],o=h[i],s=c[i];if(o&&s){var a=s(n,t.length,r);e[o]?e[o](a):o(e,a)}}(s,n.patterns[u],i[u+1],t):function(e,t,n){var r=h[t],i="g"+r.substr(1);e[r](n[i]())}(s,e,o)}})),s}return null}},t.getRegExpInfo=g,t.getPatternSetters=function(){return h}},GS7A:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return s})),n.d(t,"d",(function(){return p})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return g}));class r{}class i{}const o="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function c(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function h(e){Promise.resolve(null).then(e)}class p{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){h(()=>this._onFinish())}
1_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class f{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?h(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const g="!"},Gi7S:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("AwRG"),i=(n("cygB"),function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))});class o{constructor(e,t,n,r){this._httpService=e,this._backendService=t,this._router=n,this._cacheService=r,this.permissions={dashboards:[],functions:[],masterdata:[],reports:[],statics:[],wizards:[]},this._menuLoaded=!1}get shoppingCartAllowed(){return this._isShoppingCartAllowed}getMenu(){return i(this,void 0,void 0,(function*(){if(this._menuLoaded)return this._menu;let e=this._cacheService.getCachedItem("menu");return e?this.setPermissonsFromChache(e):e=yield this.getMenuAsync(),this._menu=e,this._cacheService.setCachedItem(e,"menu"),this._menuLoaded=!0,this._menu}))}resetMenu(){this._menuLoaded=!1,this._menu=[]}highlightMenuItem(e){for(const t of this._menu)if(t.SubMenue&&t.SubMenue.length>0&&t.SubMenue.some(t=>t.Url===e))return t.IsTreeViewActive=!0,void(t.subItemActive=!0)}getMenuAsync(){return i(this,void 0,void 0,(function*(){const e=new r.d(null,this._backendService.getShsSettings("HoleMen\xfc")),t=yield this._httpService.get(e).toPromise();for(let n=0;n<t.length;n++){const e=t[n];let r;if(e.SubMenue)for(let t=0;t<e.SubMenue.length;t++)r=e.SubMenue[t].Url,e.SubMenue[t].type="func",r.startsWith("http",0)&&(e.SubMenue[t].type="external"),"report"===r&&(r=`${e.SubMenue[t].Url}/${e.SubMenue[t].Funktion}`,e.SubMenue[t].Url=r,e.SubMenue[t].type="report"),r.startsWith("masterdata")&&(e.SubMenue[t].type="masterdata"),"/index/"+r===this._router.url&&(e.open=!0,e.IsTreeViewActive=!0),r&&"SHOPPINGCART"===r.toUpperCase()&&(this._isShoppingCartAllowed=!0),this.addPermission(r);else this.addPermission(e.Url),r="/index"+this._router.parseUrl(e.Url),r===this._router.url&&(e.IsTreeViewActive=!0)}return t}))}hasPermissionToRouteUrl(e){return i(this,void 0,void 0,(function*(){const t=this.splitUrl(e);switch(yield this.getMenu(),t[0]){case"no-permission":return!0;case"dashboard":return this.permissions.dashboards.findIndex(e=>e===t[1])>-1;case"masterdata":return this.permissions.masterdata.findIndex(e=>e===t[1])>-1;case"report":return this.permissions.reports.findIndex(e=>e===t[1])>-1;case"wizard":return this.permissions.wizards.findIndex(e=>e===t[1])>-1;default:return this.permissions.functions.findIndex(e=>e===t[0])>-1}}))}addPermission(e){const t=this.splitUrl(e);switch(t[0]){case"dashboard":this.permissions.dashboards.push(t[1]);break;case"masterdata":this.permissions.masterdata.push(t[1]);break;case"report":this.permissions.reports.push(t[1]);break;case"static":this.permissions.statics.push(t[1]);break;case"wizard":this.permissions.wizards.push(t[1]);break;default:this.permissions.functions.push(t[0])}}activateRoutedMenuItem(e){const t=this._router.url;for(const n of e)n.SubMenue&&n.SubMenue.length>0?(this.activateRoutedMenuItem(n.SubMenue),n.subItemActive=n.SubMenue.some(e=>e.IsTreeViewActive),n.IsTreeViewActive=n.subItemActive):n.IsTreeViewActive="/index/"+n.Url===t}setPermissonsFromChache(e){for(const t of e)t.Url&&this.addPermission(t.Url),t.SubMenue&&this.setPermissonsFromChache(t.SubMenue)}splitUrl(e){const t=new RegExp("\\?|/","g");return e.split(t).filter(e=>e&&"index"!==e)}}},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r=n("LRne"),i=n("0EUg");function o(...e){return Object(i.a)()(Object(r.a)(...e))}},HDdC:function(e,t,n){"use strict";var r=n("7o/Q"),i=n("2QA8"),o=n("gRHU"),s=n("kJWO"),a=n("mCNh"),l=n("2fFW");n.d(t,"a",(function(){return u}));let u=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(o.a)}(e,t,n);if(a.add(s?s.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=c(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=c(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function c(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},Hfs6:function(e,t,n){var r,i,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BSD:["$BS","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["WS$"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]}))},Hzbo:function(e,t,n){"use strict";var r=n("IheW"),i=n("XNiG"),o=n("lJxs"),s=n("7o/Q"),a=n("sVev");class l{constructor(e,t){this.predicate=e,this.source=t}call(e,t){return t.subscribe(new u(e,this.predicate,this.source))}}class u extends s.a{constructor(e,t,n){super(e),this.predicate=t,this.source=n,this.seenValue=!1,this.index=0}applySingleValue(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)}_next(e){const t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)}tryNext(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(n){this.destination.error(n)}}_complete(){const e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new a.a)}}var c=n("AwRG");n("qfBg"),n("cygB"),n.d(t,"a",(function(){return d}));class d{constructor(e,t,n){this._httpService=e,this._userService=t,this._backendService=n,this.messagesChanged=new i.a}getMessages(e,t,n,i){this.messagesCount=0;const s=new r.i({encoder:new c.g}).set("DATUM_VOR",e?e.toISOString():null).set("DATUM_BIS",t?t.toISOString():null).set("FILTER_MESSAGE",n||"").set("GELESENE_AUSBLENDEN",i?"1":"0"),a=new c.d(s,this._backendService.getShsSettings("HoleNachrichten"));return this.messages=this._httpService.get(a).pipe(Object(o.a)(e=>{for(const n of e)try{n.ANGELEGT_AM=new Date(n.ANGELEGT_AM),n.ISREPLY=Boolean(n.ISREPLY)}catch(t){n.ANGELEGT_AM=null}return e})),this.messages}getMessageCount(){const e=new r.i({encoder:new c.g}),t=new c.d(e,this._backendService.getShsSettings("ZaehleNachrichten"));this._httpService.get(t).pipe(e=>e.lift(new l(void 0,e)),e=>e).subscribe(e=>
1this.messagesChanged.next(parseInt(e[0].UNREAD_MESSAGES,10)))}deleteMessage(e){const t=new c.f({AUTON_NB:e.NB_AUTON,USER:this._userService.userId,MODUS:1},this._backendService.getShsSettings("NachrichtenLoeschen"));return this.messagesChanged.next(this.messagesCount--),this._httpService.post(t).toPromise()}markMessageAsRead(e){const t=new c.f({AUTON_NB:e.NB_AUTON,USER:this._userService.userId,MODUS:0},this._backendService.getShsSettings("NachrichtenLoeschen"));return null===e.GELESEN_AM&&this.messagesCount>0&&(this.messagesCount=this.messagesCount-1),this.messagesChanged.next(this.messagesCount),this._httpService.post(t).toPromise()}setMessagesReadAt(e){const t=new c.f(null,this._backendService.getShsSettings("NachrichtenGelesen"));return this.messagesChanged.next(0),this._httpService.post(t).toPromise()}sendMessage(e){const t=new c.f(e,this._backendService.getShsSettings("SendeNachricht"));return this._httpService.post(t)}getMessagesIni(e=null){const t=new r.i({encoder:new c.g}).set("KONSTID",this._userService.konstantenId).set("KOSTENSTELLE",e||this._userService.selectedCostCenter.BUCHEN),n=new c.d(t,this._backendService.getShsSettings("HoleNachrichtenIni"));return this._httpService.get(n)}}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},ID9R:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("mrSG"),i=n("IheW"),o=n("XJMZ"),s=n("rwtW"),a=function(e){function t(t,n,r){var o=e.call(this,n,r)||this;return o.requestParameters=new i.i({encoder:new s.a}),o.RequestParameters=t,o}return Object(r.a)(t,e),Object.defineProperty(t.prototype,"RequestParameters",{get:function(){return this.requestParameters},set:function(e){this.requestParameters=e},enumerable:!0,configurable:!0}),t}(o.a)},IWKj:function(e,t,n){"use strict";var r=n("1LL4").extend,i=n("ccQb"),o=n("TssP"),s="http://js.devexpress.com/error/"+n("PE2r").split(".").slice(0,2).join("_")+"/";e.exports=function(e,t){var n={ERROR_MESSAGES:r(t,e),Error:function(){return c([].slice.call(arguments))},log:function(e){var t="log";/^E\d+$/.test(e)?t="error":/^W\d+$/.test(e)&&(t="warn"),i.logger[t]("log"===t?e:a([].slice.call(arguments)))}},a=function(e){var t=e[0];return e=e.slice(1),u(t,l(t,e))},l=function(e,t){return t=[n.ERROR_MESSAGES[e]].concat(t),o.format.apply(this,t).replace(/\.*\s*?$/,"")},u=function(e,t){return o.format.apply(this,["{0} - {1}. See:\n{2}",e,t,d(e)])},c=function(e){var t,n,i,o;return t=e[0],e=e.slice(1),n=l(t,e),o=d(t),i=u(t,n),r(new Error(i),{__id:t,__details:n,url:o})},d=function(e){return s+e};return n}},IheW:function(e,t,n){"use strict";n.d(t,"o",(function(){return N})),n.d(t,"r",(function(){return L})),n.d(t,"s",(function(){return U})),n.d(t,"p",(function(){return M})),n.d(t,"q",(function(){return F})),n.d(t,"b",(function(){return d})),n.d(t,"g",(function(){return c})),n.d(t,"c",(function(){return x})),n.d(t,"h",(function(){return h})),n.d(t,"a",(function(){return A})),n.d(t,"d",(function(){return B})),n.d(t,"e",(function(){return H})),n.d(t,"n",(function(){return G})),n.d(t,"i",(function(){return g})),n.d(t,"j",(function(){return p})),n.d(t,"f",(function(){return w})),n.d(t,"k",(function(){return k})),n.d(t,"m",(function(){return R})),n.d(t,"l",(function(){return P}));var r=n("8Y7J"),i=n("LRne"),o=n("HDdC"),s=n("bOdf"),a=n("pLZG"),l=n("lJxs"),u=n("SVse");class c{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e
vendor: 5,611 bytes, line 1
1=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new h;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[i,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],s=n.get(i)||[];s.push(o),n.set(i,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function m(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class _{constructor(e,t,n,r){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:m(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:y(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new _(t,n,i,{params:l,headers:a,reportProgress:s,responseType:r,withCredentials:o})}}const v=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.Re
1sponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class E{constructor(e,t=200,n="OK"){this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class S extends E{constructor(e={}){super(e),this.type=v.ResponseHeader}clone(e={}){return new S({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class C extends E{constructor(e={}){super(e),this.type=v.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new C({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class w extends E{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function T(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class x{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof _)r=e;else{let i=void 0;i=n.headers instanceof h?n.headers:new h(n.headers);let o=void 0;n.params&&(o=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new _(e,t,void 0!==n.body?n.body:null,{headers:i,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(i.a)(r).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof _||"events"===n.observe)return o;const u=o.pipe(Object(a.a)(e=>e instanceof C));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return u.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return u.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return u.pipe(Object(l.a)(e=>e.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,T(n,t))}post(e,t,n={}){return this.request("POST",e,T(n,t))}put(e,t,n={}){return this.request("PUT",e,T(n,t))}}class O{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const A=new r.p("HTTP_INTERCEPTORS");class D{intercept(e,t){return t.handle(e)}}const I=/^\)\]\}',?\n/;class R{}class N{constructor(){}build(){return new XMLHttpRequest}}class k{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let i=null;const o=()=>{if(null!==i)return i;const t=1223===n.status?204:n.status,r=n.statusText||"OK",o=new h(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return i=new S({headers:o,status:t,statusText:r,url:s}),i},s=()=>{let{headers:r,status:i,statusText:s,url:a}=o(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let u=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(I,"");try{l=""!==l?JSON.parse(l):null}catch(c){l=e,u&&(u=!1,l={error:c,text:l})}}u?(t.next(new C({body:l,headers:r,status:i,statusText:s,url:a||void 0})),t.complete()):t.error(new w({error:l,headers:r,status:i,statusText:s,url:a||void 0}))},a=e=>{const{url:r}=o(),i=new w({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let l=!1;const u=r=>{l||(t.next(o()),l=!0);let i={type:v.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),t.next(i)},c=e=>{let n={type:v.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",u),null!==r&&n.upload&&n.upload.addEventListener("progress",c)),n.send(r),t.next({type:v.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",s),e.reportProgress&&(n.removeEventListener("progress",u),null!==r&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const M=new r.p("XSRF_COOKIE_NAME"),F=new r.p("XSRF_HEADER_NAME");class P{}class L{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.I)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}class U{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}class G{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(A,[]);this.chain=e.reduceRight((e,t)=>new O(e,t),this.backend)}return this.chain.handle(e)}}class H{static disable(){return{ngModule:H,providers:[{provide:U,useClass:D}]}}static withOptions(e={}){return{ngModule:H,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}class B{}},IjjT:function(e,t,n){"use strict";let r=(()=>
1{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();n.d(t,"a",(function(){return i}));class i extends r{constructor(e,t=r.now){super(e,()=>i.delegate&&i.delegate!==this?i.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function s(e){return t=>0===e?Object(o.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new i.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends r.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj");function s(e){return function(t){const n=new a(e),r=t.lift(n);return n.caught=r}}class a{constructor(e){this.selector=e}call(e,t){return t.subscribe(new l(e,this.selector,this.caught))}}class l extends r.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new i.a(this,void 0,void 0);this.add(r),Object(o.a)(this,n,void 0,void 0,r)}}}},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("GyhO"),i=n("z+Ro");function o(...e){const t=e[e.length-1];return Object(i.a)(t)?(e.pop(),n=>Object(r.a)(e,n,t)):t=>Object(r.a)(e,t)}},KAnu:function(e,t,n){"use strict";var r=u(n("2Fn2")),i=u(n("0osO")),o=n("tJvG"),s=n("yxXJ"),a=n("zl3R"),l=n("ti0F");function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="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)}var d,h=[],p=[],f=[],g=function(e,t,n){if(d&&d!==e)return h.push(t),p.push(e),n=n||new o.Deferred,f.push(n),n;var r=d,i=f.length;d=e;var s=t();return s||(f.length>i?s=o.when.apply(this,f.slice(i)):n&&n.resolve()),d=r,n&&s&&s.done&&s.done(n.resolve).fail(n.reject),!d&&h.length&&("render"===p.shift()?m:y)(h.shift(),f.shift()),s||(0,o.when)()},m=function(e,t){return g("render",e,t)},y=function(e,t){return g("update",e,t)},b=function(e){switch(c(e)){case"string":return e.split(/\s+/,2);case"object":return[e.x||e.h,e.y||e.v];case"number":return[e];default:return e}},_=function(e,t,n){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!E(e[r],t[r],n+1))return!1;return!0},v=function(e,t,n,r){for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&!E(e[i],t[i],n+1,r))return!1;for(var o in t)if(!(o in e))return!1;return!0},E=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=(0,s.toComparable)(e,!0),t=(0,s.toComparable)(t,!0);var i=r?e===t:e==t;return!!(i||n>=3)||((0,l.isObject)(e)&&(0,l.isObject)(t)?v(e,t,n,r):!(!Array.isArray(e)||!Array.isArray(t))&&_(e,t,n))};t.ensureDefined=function(e,t){return(0,l.isDefined)(e)?e:t},t.executeAsync=function(e,t){var n,r=new o.Deferred,i=t||this,s={promise:r.promise(),abort:function(){clearTimeout(n),r.rejectWith(i)}},a=function(){var t=e.call(i);t&&t.done&&(0,l.isFunction)(t.done)?t.done((function(){r.resolveWith(i)})):r.resolveWith(i)};return n=(arguments[2]||setTimeout)(a,"number"==typeof t?t:0),s},t.deferRender=m,t.deferRenderer=function(e){return function(){var t=this;return g("render",(function(){return e.call(t)}))}},t.deferUpdate=y,t.deferUpdater=function(e){return function(){var t=this;return g("update",(function(){return e.call(t)}))}},t.pairToObject=function(e,t){var n=b(e),r=t?parseFloat(n&&n[0]):parseInt(n&&n[0],10),i=t?parseFloat(n&&n[1]):parseInt(n&&n[1],10);return isFinite(r)||(r=0),isFinite(i)||(i=r),{h:r,v:i}},t.splitPair=b,t.findBestMatches=function(e,t,n){var r=[],i=0;return(0,a.each)(t,(function(t,o){var s=0,l=n?n(o):o;(0,a.each)(e,(function(e,t){var n=l[e];
1if(void 0!==n){if(!function(e,t){if(Array.isArray(e)&&Array.isArray(t)){var n=!1;return(0,a.each)(e,(function(e,r){if(r!==t[e])return n=!0,!1})),!n}return e===t}(n,t))return s=-1,!1;s++}})),s<i||(s>i&&(r.length=0,i=s),r.push(o))})),r},t.normalizeKey=function(e){var t=(0,l.isString)(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9_]/g);return n&&(0,a.each)(n,(function(e,n){t=t.replace(n,"__"+n.charCodeAt()+"__")})),t},t.denormalizeKey=function(e){var t=e.match(/__\d+__/g);return t&&t.forEach((function(t){var n=parseInt(t.replace("__",""));e=e.replace(t,String.fromCharCode(n))})),e},t.getKeyHash=function(e){if(e instanceof i.default)return e.toString();if((0,l.isObject)(e)||Array.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(n){return e}return e},t.escapeRegExp=function(e){return e.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")},t.applyServerDecimalSeparator=function(e){var t=(0,r.default)().serverDecimalSeparator;return(0,l.isDefined)(e)&&(e=e.toString().replace(".",t)),e},t.noop=function(){},t.asyncNoop=function(){return(new o.Deferred).resolve().promise()},t.grep=function(e,t,n){for(var r=[],i=!n,o=0;o<e.length;o++)!!t(e[o],o)===i&&r.push(e[o]);return r},t.equalByValue=E},KBLa:function(e,t,n){"use strict";var r=["pageX","pageY","screenX","screenY","clientX","clientY"];e.exports=function(e){r.forEach((function(t){e(t,(function(e){return function(e,t){if(t[e]&&!t.touches||!t.touches)return t[e];var n=t.touches.length?t.touches:t.changedTouches;return n.length?n[0][e]:void 0}(t,e)}))}),this)}},KOzp:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u}));var r=n("z/SZ"),i=n("hpHm"),o=n("2uy1");class s{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1}}class a{constructor(e){Object.assign(this,e)}get isBs3(){return Object(i.d)()}}class l{constructor(e,t,n,r,i,o){this._positionService=o,this.outsideClick=!1,this.containerClass="",this._isInited=!1,this._popover=i.createLoader(t,r,n).provide({provide:s,useValue:e}),Object.assign(this,e),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,"undefined"!=typeof window&&t.nativeElement.addEventListener("click",(function(){try{t.nativeElement.focus()}catch(e){return}}))}get isOpen(){return this._popover.isShown}set isOpen(e){e?this.show():this.hide()}show(){!this._popover.isShown&&this.popover&&(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition}}}),this._popover.attach(a).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),this.adaptivePosition||(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0)}hide(){this.isOpen&&(this._popover.hide(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show()}))}ngOnDestroy(){this._popover.dispose()}}class u{static forRoot(){return{ngModule:u,providers:[s,r.a,o.a]}}}},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q"),i=n("D0XW");function o(e,t=i.a){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends r.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function l(e){e.debouncedNext()}},Kqap:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new o(e,t,n))}}class o{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))}}class s extends r.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}},KqfI:function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},LPGq:function(e,t,n){"use strict";var r=u(n("2Fn2")),i=n("A8u/"),o=u(n("PE2r")),s=n("XWmc"),a=u(n("vkUy")),l=u(n("i1ou"));
1function u(e){return e&&e.__esModule?e:{default:e}}var c=/([^\s0]+)?(\s*)0*[.,]*0*(\s*)([^\s0]+)?/,d={},h=function(e){var t=(0,i.locale)()+"/"+JSON.stringify(e);return d[t]||(d[t]=new Intl.NumberFormat((0,i.locale)(),e).format),d[t]};e.exports={engine:function(){return"intl"},_formatNumberCore:function(e,t,n){return"exponential"===t?this.callBase.apply(this,arguments):h(this._normalizeFormatConfig(t,n))(e)},_normalizeFormatConfig:function(e,t,n){var i;return i="decimal"===e?{minimumIntegerDigits:t.precision||void 0,useGrouping:!1,maximumFractionDigits:String(n).length,round:n<0?"ceil":"floor"}:this._getPrecisionConfig(t.precision),"percent"===e?i.style="percent":"currency"===e&&(i.style="currency",i.currency=t.currency||(0,r.default)().defaultCurrency),i},_getPrecisionConfig:function(e){return null===e?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:e||0,maximumFractionDigits:e||0}},format:function(e,t){return"number"!=typeof e?e:("default"===(t=this._normalizeFormat(t)).currency&&(t.currency=(0,r.default)().defaultCurrency),t&&("function"==typeof t||t.type||t.formatter)?this.callBase.apply(this,arguments):h(t)(e))},parse:function(e,t){return(0,s.compare)(o.default,"17.2.8")>=0?this.callBase.apply(this,arguments):e?t&&t.parser?t.parser(e):(e=this._normalizeNumber(e,t)).length>15?NaN:parseFloat(e):void 0},_normalizeNumber:function(e,t){if(this.convertDigits&&(e=this.convertDigits(e,!0)),/^[-+]?[0-9]*.?[0-9]+([eE][-+]?[0-9]+)+$/.test(e))return e;var n=this._getDecimalSeparator(t),r=new RegExp("[^0-9-\\"+n+"]","g");return e.replace(r,"").replace(n,".")},_getDecimalSeparator:function(e){return h(e)(.1)[1]},_getCurrencySymbolInfo:function(e){var t=function(e){return new Intl.NumberFormat((0,i.locale)(),{style:"currency",currency:e})}(e);return this._extractCurrencySymbolInfo(t.format(0))},_extractCurrencySymbolInfo:function(e){var t=c.exec(e)||[];return{position:t[1]?"before":"after",symbol:t[1]||t[4]||"",delimiter:t[2]||t[3]||""}},getCurrencySymbol:function(e){return e||(e=(0,r.default)().defaultCurrency),{symbol:this._getCurrencySymbolInfo(e).symbol}},getOpenXmlCurrencyFormat:function(e){var t=e||(0,r.default)().defaultCurrency,n=this._getCurrencySymbolInfo(t).symbol,o=(0,i.getValueByClosestLocale)((function(e){return l.default[e]}));return(0,a.default)(n,o)}}},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("z+Ro"),i=n("yCtX"),o=n("jZKg");function s(...e){let t=e[e.length-1];return Object(r.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(i.a)(e)}},Lhse:function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return i}));const i=r()},LqlI:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return l}));var r=n("8Y7J"),i=n("hpHm"),o=n("z/SZ"),s=n("2uy1");class a{constructor(){this.hide=Function,this.setClass=Function}}class l{}const u={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}};class c{constructor(e,t,n){this._element=t,this._renderer=n,this.isShown=!1,this.isModalHiding=!1,this.config=Object.assign({},e)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,Object(i.d)()?"in":"show")},this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()}onClick(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||(this.bsModalService.setDismissReason("backdrop-click"),this.hide())}onEsc(e){this.isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this.hide()}hide(){!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Object(i.d)()?"in":"show"),setTimeout(()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService.getModalsCount()&&this._renderer.removeClass(document.body,"modal-open"),this.bsModalService.hide(this.level),this.isModalHiding=!1},this.isAnimated?300:0))}}class d{constructor(e,t){this._isShown=!1,this.element=e,this.renderer=t}get isAnimated(){return this._isAnimated}set isAnimated(e){this._isAnimated=e}
1get isShown(){return this._isShown}set isShown(e){this._isShown=e,e?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),Object(i.d)()||(e?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),i.b.reflow(this.element.nativeElement)),this.isShown=!0}}class h{constructor(e,t,n,i){this._element=e,this._renderer=n,this.onShow=new r.m,this.onShown=new r.m,this.onHide=new r.m,this.onHidden=new r.m,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.timerHideModal=0,this.timerRmBackDrop=0,this.isNested=!1,this._backdrop=i.createLoader(e,t,n)}set config(e){this._config=this.getConfig(e)}get config(){return this._config}get isShown(){return this._isShown}onClick(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||(this.dismissReason="backdrop-click",this.hide(e))}onEsc(e){this._isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&(this.dismissReason="esc",this.hide()))}ngOnDestroy(){this.config=void 0,this._isShown&&(this._isShown=!1,this.hideModal(),this._backdrop.dispose())}ngOnInit(){this._config=this._config||this.getConfig(),setTimeout(()=>{this._config.show&&this.show()},0)}toggle(){return this._isShown?this.hide():this.show()}show(){this.dismissReason=null,this.onShow.emit(this),this._isShown||(clearTimeout(this.timerHideModal),clearTimeout(this.timerRmBackDrop),this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),i.c&&i.c.body&&(i.c.body.classList.contains("modal-open")?this.isNested=!0:this._renderer.addClass(i.c.body,"modal-open")),this.showBackdrop(()=>{this.showElement()}))}hide(e){e&&e.preventDefault(),this.onHide.emit(this),this._isShown&&(i.h.clearTimeout(this.timerHideModal),i.h.clearTimeout(this.timerRmBackDrop),this._isShown=!1,this._renderer.removeClass(this._element.nativeElement,"in"),Object(i.d)()||this._renderer.removeClass(this._element.nativeElement,"show"),this._config.animated?this.timerHideModal=i.h.setTimeout(()=>this.hideModal(),300):this.hideModal())}getConfig(e){return Object.assign({},u,e)}showElement(){this._element.nativeElement.parentNode&&this._element.nativeElement.parentNode.nodeType===Node.ELEMENT_NODE||i.c&&i.c.body&&i.c.body.appendChild(this._element.nativeElement),this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","false"),this._renderer.setAttribute(this._element.nativeElement,"aria-modal","true"),this._renderer.setStyle(this._element.nativeElement,"display","block"),this._renderer.setProperty(this._element.nativeElement,"scrollTop",0),this._config.animated&&i.b.reflow(this._element.nativeElement),this._renderer.addClass(this._element.nativeElement,"in"),Object(i.d)()||this._renderer.addClass(this._element.nativeElement,"show");const e=()=>{this._config.focus&&this._element.nativeElement.focus(),this.onShown.emit(this)};this._config.animated?setTimeout(e,300):e()}hideModal(){this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","true"),this._renderer.setStyle(this._element.nativeElement,"display","none"),this.showBackdrop(()=>{this.isNested||(i.c&&i.c.body&&this._renderer.removeClass(i.c.body,"modal-open"),this.resetScrollbar()),this.resetAdjustments(),this.focusOtherModal(),this.onHidden.emit(this)})}showBackdrop(e){if(!this._isShown||!this.config.backdrop||this.backdrop&&this.backdrop.instance.isShown)if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;const t=()=>{this.removeBackdrop(),e&&e()};this.backdrop.instance.isAnimated?this.timerRmBackDrop=i.h.setTimeout(t,150):t()}else e&&e();else{if(this.removeBackdrop(),this._backdrop.attach(d).to("body").show({isAnimated:this._config.animated}),this.backdrop=this._backdrop._componentRef,!e)return;if(!this._config.animated)return void e();setTimeout(e,150)}}removeBackdrop(){this._backdrop.hide()}focusOtherModal(){if(null==this._element.nativeElement.parentElement)return;const e=this._element.nativeElement.parentElement.querySelectorAll(".in[bsModal]");e.length&&e[e.length-1].focus()}resetAdjustments(){this._renderer.setStyle(this._element.nativeElement,"paddingLeft",""),this._renderer.setStyle(this._element.nativeElement,"paddingRight","")}checkScrollbar(){this.isBodyOverflowing=i.c.body.clientWidth<i.h.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){i.c&&(this.originalBodyPadding=parseInt(i.h.getComputedStyle(i.c.body).getPropertyValue("padding-right")||0,10),this.isBodyOverflowing&&(i.c.body.style.paddingRight=this.originalBodyPadding+this.scrollbarWidth+"px"))}resetScrollbar(){i.c.body.style.paddingRight=this.originalBodyPadding+"px"}getScrollbarWidth(){const e=this._renderer.createElement("div");
1this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(i.c.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(i.c.body,e),t}}class p{constructor(e,t){this.clf=t,this.config=u,this.onShow=new r.m,this.onShown=new r.m,this.onHide=new r.m,this.onHidden=new r.m,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=e.createRenderer(null,null)}show(e,t){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},u,t),this._showBackdrop(),this.lastDismissReason=null,this._showModal(e)}hide(e){1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(e),this.removeLoaders(e)},this.config.animated?150:0)}_showBackdrop(){const e=this.config.backdrop||"static"===this.config.backdrop,t=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),e&&t&&(this._backdropLoader.attach(d).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(e){const t=this.loaders[this.loaders.length-1],n=new a,r=t.provide({provide:l,useValue:this.config}).provide({provide:a,useValue:n}).attach(c).to("body").show({content:e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return r.instance.level=this.getModalsCount(),n.hide=()=>{r.instance.hide()},n.content=t.getInnerComponent()||null,n.setClass=e=>{r.instance.config.class=e},n}_hideModal(e){const t=this.loaders[e-1];t&&t.hide()}getModalsCount(){return this.modalsCount}setDismissReason(e){this.lastDismissReason=e}removeBackdrop(){this._backdropLoader.hide(),this.backdropRef=null}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=this.originalBodyPadding+this.scrollbarWidth+"px"))}resetScrollbar(){document.body.style.paddingRight=this.originalBodyPadding+"px"}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(document.body,e),t}_createLoaders(){const e=this.clf.createLoader(null,null,null);this.copyEvent(e.onBeforeShow,this.onShow),this.copyEvent(e.onShown,this.onShown),this.copyEvent(e.onBeforeHide,this.onHide),this.copyEvent(e.onHidden,this.onHidden),this.loaders.push(e)}removeLoaders(e){this.loaders.splice(e-1,1),this.loaders.forEach((e,t)=>{e.instance.level=t+1})}copyEvent(e,t){e.subscribe(()=>{t.emit(this.lastDismissReason)})}}class f{static forRoot(){return{ngModule:f,providers:[p,o.a,s.a]}}}},MibS:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"h",(function(){return d}));var r=n("IzEk"),i=n("0fkH");class o extends i.b{constructor(){super(...arguments),this.defaultOptions={templateOptions:{indeterminate:!0,hideLabel:!0,formCheck:"custom"}}}}class s extends i.b{constructor(){super(...arguments),this.defaultOptions={templateOptions:{options:[],formCheck:"custom"}}}onChange(e,t){this.formControl.markAsDirty(),this.formControl.patchValue("array"===this.to.type?t?[...this.formControl.value||[],e]:[...this.formControl.value||[]].filter(t=>t!==e):Object.assign({},this.formControl.value,{[e]:t})),this.formControl.markAsTouched()}isChecked(e){const t=this.formControl.value;return t&&("array"===this.to.type?-1!==t.indexOf(e.value):t[e.value])}}class a extends i.b{get type(){return this.to.type||"text"}}class l extends i.b{constructor(){super(...arguments),this.defaultOptions={templateOptions:{options:[],formCheck:"custom"}}}}class u extends i.b{constructor(){super(...arguments),this.defaultOptions={templateOptions:{cols:1,rows:1}}}}class c extends i.b{constructor(e){super(),this.ngZone=e,this.defaultOptions={templateOptions:{options:[],compareWith:(e,t)=>e===t}}}set selectAccessor(e){if(!e)return;const t=e.writeValue.bind(e);null===e._getOptionId(e.value)&&t(e.value),e.writeValue=n=>{const i=e._idCounter;t(n),null===n&&this.ngZone.onStable.asObservable().pipe(Object(r.a)(1)).subscribe(()=>{i!==e._idCounter&&null===e._getOptionId(n)&&-1!==e._elementRef.nativeElement.selectedIndex&&t(n)})}}}class d extends i.c{}class h{}},NFpX:function(e,t,n){"use strict";var r=n("1B4V"),i=n("tUd6"),o=n("cGv3").getWindow(),s=n("ti0F"),a=n("m6TM"),l=n("c44P"),u=n("8VXM"),c=function(e,t){return new d(e,t)},d=function(e,t){return e?"string"==typeof e?"body"===e?(this[0]=t?t.body:i.getBody(),this.length=1,this):(t=t||i.getDocument(),"<"===e[0]?(this[0]=i.createElement(e.slice(1,-1),t),this.length=1,this):([].push.apply(this,i.querySelectorAll(t,e)),this)):i.isNode(e)||s.isWindow(e)?(this[0]=e,this.length=1,this):Array.isArray(e)?([].push.apply(this,e),this):c(e.toArray?e.toArray():[e]):(this.length=0,this)};c.fn={dxRenderer:!0},d.prototype=c.fn;var h=function(e,t){for(var n=0;n<this.length;n++){var r=c(this[n]);r[e].apply(r,t)}return this},p=function(e,t,n){null!=n?i.setAttribute(e,t,n):i.removeAttribute(e,t)};d.prototype.show=function(){return this.toggle(!0)},d.prototype.hide=function(){return this.toggle(!1)},d.prototype.toggle=function(e){return this[0]&&this.toggleClass("dx-state-invisible",!e),this},d.prototype.attr=function(e,t){if(this.length>1&&arguments.length>1)return h.call(this,"attr",arguments);if(!this[0])return s.isObject(e)||void 0!==t?this:void 0;if(!this[0].getAttribute)return this.prop(e,t);if("string"==typeof e&&1===arguments.length){var n=this[0].getAttribute(e);return null==n?void 0:n}if(s.isPlainObject(e))for(var r in e)this.attr(r,e[r]);else p(this[0],e,t);return this},d.prototype.removeAttr=function(e){return this[0]&&i.removeAttribute(this[0],e),this},d.prototype.prop=function(e,t){if(!this[0])return this;if("string"==typeof e&&1===arguments.length)return this[0][e];if(s.isPlainObject(e))for(var n in e)this.prop(n,e[n]);else i.setProperty(this[0],e,t);return this},d.prototype.addClass=function(e){return this.toggleClass(e,!0)},d.prototype.removeClass=function(e){return this.toggleClass(e,!1)},d.prototype.hasClass=function(e){if(!this[0]||void 0===this[0].className)return!1;for(var t=e.split(" "),n=0;n<t.length;n++)if(this[0].classList){if(this[0].classList.contains(t[n]))return!0}else if(((s.isString(this[0].className)?this[0].className:i.getAttribute(this[0],"class"))||"").split(" ").indexOf(t[n])>=0)return!0;return!1},d.prototype.toggleClass=function(e,t){if(this.length>1)return h.call(this,"toggleClass",arguments);if(!this[0]||!e)return this;t=void 0===t?!this.hasClass(e):t;for(var n=e.split(" "),r=0;r<n.length;r++)i.setClass(this[0],n[r],t);return this},["width","height","outerWidth","outerHeight","innerWidth","innerHe
1ight"].forEach((function(e){var t=e.toLowerCase().indexOf("width")>=0?"Width":"Height",n=t.toLowerCase(),r=0===e.indexOf("outer"),a=0===e.indexOf("inner");d.prototype[e]=function(u){if(this.length>1&&arguments.length>0)return h.call(this,e,arguments);var c=this[0];if(c){if(s.isWindow(c))return r?c["inner"+t]:i.getDocumentElement()["client"+t];if(i.isDocument(c)){var d=i.getDocumentElement(),p=i.getBody();return Math.max(p["scroll"+t],p["offset"+t],d["scroll"+t],d["offset"+t],d["client"+t])}if(0===arguments.length||"boolean"==typeof u){var f={paddings:a||r,borders:r,margins:u};return l.getSize(c,n,f)}if(null==u)return this;if(s.isNumeric(u)){var g=o.getComputedStyle(c),m=l.getElementBoxParams(n,g),y="border-box"===g.boxSizing;u=Number(u),r?u-=y?0:m.border+m.padding:a?u+=y?m.border:-m.padding:y&&(u+=m.border+m.padding)}return u+=s.isNumeric(u)?"px":"",i.setStyle(c,n,u),this}}})),d.prototype.html=function(e){return arguments.length?(this.empty(),"string"==typeof e&&!u.isTablePart(e)||"number"==typeof e?(this[0].innerHTML=e,this):this.append(u.parseHTML(e))):this[0].innerHTML};var f=function(e,t){if(this[0]&&e){"string"==typeof e?e=u.parseHTML(e):e.nodeType?e=[e]:s.isNumeric(e)&&(e=[i.createTextNode(e)]);for(var n=0;n<e.length;n++){var r=e[n],o=this[0];"TABLE"===o.tagName&&"TR"===r.tagName&&o.tBodies&&o.tBodies.length&&(o=o.tBodies[0]),i.insertElement(o,r.nodeType?r:r[0],t)}}},g=function(e,t){if(this[0]&&this[0].style&&!(null===t||"number"==typeof t&&isNaN(t))){e=a.styleProp(e);for(var n=0;n<this.length;n++)this[n].style[e]=a.normalizeStyleProp(e,t)}};d.prototype.css=function(e,t){if(s.isString(e)){if(2!==arguments.length){if(!this[0])return;e=a.styleProp(e);var n=o.getComputedStyle(this[0])[e]||this[0].style[e];return s.isNumeric(n)?n.toString():n}g.call(this,e,t)}else if(s.isPlainObject(e))for(var r in e)g.call(this,r,e[r]);return this},d.prototype.prepend=function(e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.prepend(arguments[t]);return this}return f.apply(this,[e,this[0].firstChild]),this},d.prototype.append=function(e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.append(arguments[t]);return this}return f.apply(this,[e]),this},d.prototype.prependTo=function(e){if(this.length>1){for(var t=this.length-1;t>=0;t--)c(this[t]).prependTo(e);return this}return(e=c(e))[0]&&i.insertElement(e[0],this[0],e[0].firstChild),this},d.prototype.appendTo=function(e){return this.length>1?h.call(this,"appendTo",arguments):(i.insertElement(c(e)[0],this[0]),this)},d.prototype.insertBefore=function(e){return e&&e[0]&&i.insertElement(e[0].parentNode,this[0],e[0]),this},d.prototype.insertAfter=function(e){return e&&e[0]&&i.insertElement(e[0].parentNode,this[0],e[0].nextSibling),this},d.prototype.before=function(e){return this[0]&&i.insertElement(this[0].parentNode,e[0],this[0]),this},d.prototype.after=function(e){return this[0]&&i.insertElement(this[0].parentNode,e[0],this[0].nextSibling),this},d.prototype.wrap=function(e){if(this[0]){var t=c(e);t.insertBefore(this),t.append(this)}return this},d.prototype.wrapInner=function(e){var t=this.contents();return t.length?t.wrap(e):this.append(e),this},d.prototype.replaceWith=function(e){if(e&&e[0])return e.is(this)?this:(e.insertBefore(this),this.remove(),e)},d.prototype.remove=function(){return this.length>1?h.call(this,"remove",arguments):(r.cleanDataRecursive(this[0],!0),i.removeElement(this[0]),this)},d.prototype.detach=function(){return this.length>1?h.call(this,"detach",arguments):(i.removeElement(this[0]),this)},d.prototype.empty=function(){return this.length>1?h.call(this,"empty",arguments):(r.cleanDataRecursive(this[0]),i.setText(this[0],""),this)},d.prototype.clone=function(){for(var e=[],t=0;t<this.length;t++)e.push(this[t].cloneNode(!0));return c(e)},d.prototype.text=function(e){if(!arguments.length){for(var t="",n=0;n<this.length;n++)t+=this[n]&&this[n].textContent||"";return t}var o=s.isFunction(e)?e():e;return r.cleanDataRecursive(this[0],!1),i.setText(this[0],s.isDefined(o)?o:""),this},d.prototype.val=function(e){return 1===arguments.length?this.prop("value",s.isDefined(e)?e:""):this.prop("value")},d.prototype.contents=function(){if(!this[0])return c();var e=[];return e.push.apply(e,this[0].childNodes),c(e)},d.prototype.find=function(e){var t=c();if(!e)return t;var n,r=[];if("string"==typeof e)for(e=e.trim(),n=0;n<this.length;n++){var o=this[n];if(i.isElementNode(o)){var s=o.getAttribute("id"),a=s||"dx-query-children";s||p(o,"id",a);var l=(a="[id='"+a+"'] ")+e.replace(/([^\\])(,)/g,"$1, "+a);
1r.push.apply(r,i.querySelectorAll(o,l)),p(o,"id",s)}else i.isDocument(o)&&r.push.apply(r,i.querySelectorAll(o,e))}else for(n=0;n<this.length;n++)e=i.isNode(e)?e:e[0],this[n]!==e&&this[n].contains(e)&&r.push(e);return t.add(r)};var m=function(e,t){return!t.nodeType||!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)};d.prototype.filter=function(e){if(!e)return c();if(":visible"===e)return this.filter(m);if(":hidden"===e)return this.filter((function(e,t){return!m(0,t)}));for(var t=[],n=0;n<this.length;n++){var r=this[n];if(i.isElementNode(r)&&"string"===s.type(e))i.elementMatches(r,e)&&t.push(r);else if(i.isNode(e)||s.isWindow(e))e===r&&t.push(r);else if(s.isFunction(e))e.call(r,n,r)&&t.push(r);else for(var o=0;o<e.length;o++)e[o]===r&&t.push(r)}return c(t)},d.prototype.not=function(e){for(var t=[],n=this.filter(e).toArray(),r=0;r<this.length;r++)-1===n.indexOf(this[r])&&t.push(this[r]);return c(t)},d.prototype.is=function(e){return!!this.filter(e).length},d.prototype.children=function(e){for(var t=[],n=0;n<this.length;n++)for(var r=this[n]?this[n].childNodes:[],o=0;o<r.length;o++)i.isElementNode(r[o])&&t.push(r[o]);return t=c(t),e?t.filter(e):t},d.prototype.siblings=function(){var e=this[0];if(!e||!e.parentNode)return c();for(var t=[],n=e.parentNode.childNodes||[],r=0;r<n.length;r++){var o=n[r];i.isElementNode(o)&&o!==e&&t.push(o)}return c(t)},d.prototype.each=function(e){for(var t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);},d.prototype.index=function(e){return e?(e=c(e),this.toArray().indexOf(e[0])):this.parent().children().index(this)},d.prototype.get=function(e){return this[e<0?this.length+e:e]},d.prototype.eq=function(e){return c(this[e=e<0?this.length+e:e])},d.prototype.first=function(){return this.eq(0)},d.prototype.last=function(){return this.eq(-1)},d.prototype.parent=function(e){if(!this[0])return c();var t=c(this[0].parentNode);return!e||t.is(e)?t:c()},d.prototype.parents=function(e){for(var t=[],n=this.parent();n&&n[0]&&!i.isDocument(n[0]);)i.isElementNode(n[0])&&(!e||e&&n.is(e))&&t.push(n.get(0)),n=n.parent();return c(t)},d.prototype.closest=function(e){if(this.is(e))return this;for(var t=this.parent();t&&t.length;){if(t.is(e))return t;t=t.parent()}return c()},d.prototype.next=function(e){if(!this[0])return c();var t=c(this[0].nextSibling);if(!arguments.length)return t;for(;t&&t.length;){if(t.is(e))return t;t=t.next()}return c()},d.prototype.prev=function(){return this[0]?c(this[0].previousSibling):c()},d.prototype.add=function(e){for(var t=c(e),n=this.toArray(),r=0;r<t.length;r++){var i=t[r];-1===n.indexOf(i)&&n.push(i)}return c(n)};var y=[];d.prototype.splice=function(){return c(y.splice.apply(this,arguments))},d.prototype.slice=function(){return c(y.slice.apply(this,arguments))},d.prototype.toArray=function(){return y.slice.call(this)};var b=function(e){return s.isWindow(e)?e:e.defaultView};d.prototype.offset=function(){if(this[0]){if(!this[0].getClientRects().length)return{top:0,left:0};var e=this[0].getBoundingClientRect(),t=b(this[0].ownerDocument),n=this[0].ownerDocument.documentElement;return{top:e.top+t.pageYOffset-n.clientTop,left:e.left+t.pageXOffset-n.clientLeft}}},d.prototype.offsetParent=function(){if(!this[0])return c();for(var e=c(this[0].offsetParent);e[0]&&"static"===e.css("position");)e=c(e[0].offsetParent);return e[0]?e:c(i.getDocumentElement())},d.prototype.position=function(){if(this[0]){var e,t=parseFloat(this.css("marginTop")),n=parseFloat(this.css("marginLeft"));if("fixed"===this.css("position"))return{top:(e=this[0].getBoundingClientRect()).top-t,left:e.left-n};e=this.offset();var r=this.offsetParent(),i={top:0,left:0};return"HTML"!==r[0].nodeName&&(i=r.offset()),i={top:i.top+parseFloat(r.css("borderTopWidth")),left:i.left+parseFloat(r.css("borderLeftWidth"))},{top:e.top-i.top-t,left:e.left-i.left-n}}},[{name:"scrollLeft",offsetProp:"pageXOffset",scrollWindow:function(e,t){e.scrollTo(t,e.pageYOffset)}},{name:"scrollTop",offsetProp:"pageYOffset",scrollWindow:function(e,t){e.scrollTo(e.pageXOffset,t)}}].forEach((function(e){var t=e.name;d.prototype[t]=function(n){if(this[0]){var r=b(this[0]);return void 0===n?r?r[e.offsetProp]:this[0][t]:(r?e.scrollWindow(r,n):this[0][t]=n,this)}}})),d.prototype.data=function(e,t){if(this[0])return arguments.length<2?r.data.call(c,this[0],e):(r.data.call(c,this[0],e,t),this)},d.prototype.removeData=function(e){return this[0]&&r.removeData(this[0],e),this};var _=function(){return c.apply(this,arguments)};Object.defineProperty(_,"fn",{enumerable:!0,configurable:!0,get:function(){return c.fn},set:function(e){c.fn=e}}),e.exports={set:function(e){c=e},get:function(){return _}}},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return r}))},NJ9Y:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("sVev"),i=n("pLZG"),o=n("BFxc"),s=n("XDbj"),a=n("xbPD"),l=n("SpAZ");function u(e,t){const n=arguments.length>=2;return u=>u.pipe(e?Object(i.a)((t,n)=>e(t,n,u)):l.a,Object(o.a)(1),n?Object(a.a)(t):Object(s.a)(()=>new r.a))}},NNGq:function(e,t,n){"use strict";var r=n("T6P2");e.exports=new r},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("Cfvw"),o=n("EY2u");function s(e){return new r.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(i.a)(n):Object(o.b)()).subscribe(t)})}},Niae:function(e,t,n){"use strict";var r=n("1LL4");e.exports={_formatNumberCore:function(e,t,n){if("currency"===t){n.precision=n.precision||0;var i=this.format(e,(0,r.extend)({},n,{type:"fixedpoint"})),o=this.getCurrencySymbol().symbol.replace("$","$$$$");return i.replace(/^(\D*)(\d.*)/,"$1"+o+"$2")}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}}},Nyts:function(e,t,n){"use strict";class r{}n.d(t,"a",(function(){return i}));class i{createUser(e){const t=new r;return t.DEFAULT_KST_KONST=e.DEFAULT_KST_KONST,t.EMAIL=e.EMAIL,t.FAX=e.FAX,t.KST_NAME=e.KST_NAME,t.LANGUAGE_COLUMN=e.LANGUAGE_COLUMN,t.MA_NR=e.MA_NR,t.NAME=e.NAME,t.TELEFON=e.TELEFON,t.UNTERSCHRIFT=e.UNTERSCHRIFT,t.PW_C=e.PW_C,t.LOGIN=e.login,t.USE_ALL_MY_CST_AS_DEFAULT="1"===e.USE_ALL_MY_CST_AS_DEFAULT,t}createMockedUser(e){return this.createUser({DEFAULT_KST_KONST:"1000",EMAIL:"[email protected]",FAX:"0292196301",KST_NAME:"EDV-TEST",LANGUAGE_COLUMN:0,MA_NR:1,NAME:"Administrator",TELEFON:"0292196300",UNTERSCHRIFT:"Admin",LOGIN:"co",PW_C:"0"})}}},OaJ3:function(e,t,n){"use strict";var r=n("XpgS").inArray,i=n("cGv3"),o=i.hasWindow()?i.getWindow().WeakMap:WeakMap;o||(o=function(){var e=[],t=[];this.set=function(n,i){var o=r(n,e);
1-1===o?(e.push(n),t.push(i)):t[o]=i},this.get=function(n){var i=r(n,e);if(-1!==i)return t[i]},this.has=function(t){return-1!==r(t,e)},this.delete=function(n){var i=r(n,e);-1!==i&&(e.splice(i,1),t.splice(i,1))}}),e.exports=o},OkTt:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("/Tty");var r=function(){return function(){}}()},PE2r:function(e,t,n){"use strict";e.exports="19.2.6"},QY0l:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("IheW"),i=n("XNiG"),o=n("AwRG"),s=(n("cygB"),n("qfBg"),function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))});class a{constructor(e,t,n){this._httpService=e,this._backendService=t,this._userService=n,this._imageUrlRegex=new RegExp("([a-z-_0-9/:.]*.(jpg|jpeg|png|gif))","i"),this.articleChanged=new i.a,this.newArticlesPublished=new i.a}getArticlePriceWithPu(e){return e.MENGE*e.PREIS/e.PE_*(100-e.RAB_)/100}getShortArticleName(e,t){let n=e.BEZEICHNUNG_1?e.BEZEICHNUNG_1.trim():"";return n.length>t&&(n=n.substr(0,t).concat("...")),n}getFullArticleName(e){return`${e.BEZEICHNUNG_1} ${e.BEZEICHNUNG_2||""}`}getArticleInfos(e){const t=new r.i({encoder:new o.g}).set("INT_ART_ID",e.INT_ART_ID).set("KOSTENSTELLE",e.KOSTENSTELLE).set("LIEFERANTEN_NR",e.LIEFERANTEN_NR),n=new o.d(t,this._backendService.getShsSettings("HoleArtikelInfos"));return this._httpService.get(n)}getHtmlArticleInfos(e){const t=new r.i({encoder:new o.g}).set("INT_ART_ID",String(e.INT_ART_ID)).set("KOSTENSTELLE",String(this._userService.selectedCostCenter.BUCHEN)).set("KONSTID",String(this._userService.konstantenId)),n=new o.d(t,this._backendService.getShsSettings("HoleArtikelInfosHtml"));return this._httpService.get(n)}
1getArticleLongtext(e){return s(this,void 0,void 0,(function*(){const t=new r.i({encoder:new o.g}).set("AUTON",String(e)),n=new o.d(t,this._backendService.getShsSettings("HoleArtikelLangtext")),i=yield this._httpService.get(n).toPromise();return i&&i.BLOB_INHALT?i.BLOB_INHALT:""}))}saveArticleLongtext(e,t){return s(this,void 0,void 0,(function*(){const n={INT_ART_ID:e.INT_ART_ID,ANFO_AUTON:String(e.AUTON),KOSTENSTELLE:String(this._userService.selectedCostCenter.BUCHEN),LANGTEXT:t},r=new o.f(n,this._backendService.getShsSettings("SpeicherArtikelLangtext")),i=yield this._httpService.post(r).toPromise();e.FK_BLOB_ID=i}))}getArticlesForOrder(e){const t=this.setHttpParams(e),n=new o.d(t,this._backendService.getShsSettings("HoleArtikelFuerBestellung"));return this._httpService.get(n)}getArticlesByScript(e,t){const n=this.setHttpParams(t),r=new o.d(n,{flxName:e,logSql:!0,url:""});return this._httpService.get(r)}getArticlesForOrderAndPusblish(e){return s(this,void 0,void 0,(function*(){const t=yield this.getArticlesForOrder(e).toPromise();this.newArticlesPublished.next(t)}))}hasArticleUrl(e){return!!e.ARTIKEL_URL&&this._imageUrlRegex.test(e.ARTIKEL_URL)}hasDocument(e){return Boolean(e.DOC_AUTON)}getArticleUrl(e){return this.hasArticleUrl(e)?e.ARTIKEL_URL:"/assets/images/kein_bild.jpg"}getArticleAR2Price(e){return s(this,void 0,void 0,(function*(){const t=new r.i({encoder:new o.g}).set("INT_ART_ID",e.INT_ART_ID).set("KST",e.KOSTENSTELLE).set("LIEFERANT_NR",e.LIEFERANTEN_NR).set("MENGE",String(e.MENGE)).set("AUTON_VERPACKUNG",String(e.AUTON_VERPACKUNG)),n=new o.d(t,this._backendService.getShsSettings("HoleAr2Spezial")),i=yield this._httpService.get(n).toPromise();e.PREIS=i.EK_PREIS,e.RAB_=i.EK_RAB,e.PE_=i.PE,this.articleChanged.next(e)}))}setHttpParams(e){let t=new r.i({encoder:new o.g});return this._anzahlArtikel=e.ANZAHLARTIKEL,t=t.set("ANZAHLARTIKEL",String(e.ANZAHLARTIKEL>0?e.ANZAHLARTIKEL:999)),t=t.set("ARTIKELNUMMER",e.ARTIKELNUMMER).set("BEZEICHNUNG",e.BEZEICHNUNG).set("INT_ART_ID",e.INT_ART_ID).set("ARTIKELGRUPPE",e.ARTIKELGRUPPE).set("LIEFERANT",e.LIEFERANT).set("SUCHE",e.SUCHE).set("LEVEL_ABC",e.LEVEL_ABC).set("MANDANT",e.MANDANT).set("HAUPTKST",e.HAUPTKST).set("MODE",e.MODE).set("LIEFERANTENSUCHE",e.LIEFERANTENSUCHE).set("KST",String(this._userService.selectedCostCenter.BUCHEN)).set("KONSTID",this._userService.konstantenId).set("SUCH_KOMBO2",e.SUCH_KOMBO2).set("KSTARTNR",e.KSTARTIKELNUMMER).set("UNTERKOSTENSTELLE",e.UNTERKOSTENSTELLE).set("SESSION_ID",e.SESSION_ID),t}}},S3Ua:function(e,t,n){"use strict";function r(e,t){for(;e.length<t;)e="0"+e;return e}var i={3:"abbreviated",4:"wide",5:"narrow"},o={y:function(e,t,n){var i=e[n?"getUTCFullYear":"getFullYear"]();return 2===t&&(i%=100),r(i.toString(),t)},M:function(e,t,n,o){var s=e[n?"getUTCMonth":"getMonth"](),a=i[t];return a?o.getMonthNames(a,"format")[s]:r((s+1).toString(),Math.min(t,2))},L:function(e,t,n,o){var s=e[n?"getUTCMonth":"getMonth"](),a=i[t];return a?o.getMonthNames(a,"standalone")[s]:r((s+1).toString(),Math.min(t,2))},Q:function(e,t,n,o){var s=e[n?"getUTCMonth":"getMonth"](),a=Math.floor(s/3),l=i[t];return l?o.getQuarterNames(l)[a]:r((a+1).toString(),Math.min(t,2))},E:function(e,t,n,r){var o=e[n?"getUTCDay":"getDay"]();return r.getDayNames(i[t<3?3:t])[o]},a:function(e,t,n,r){var o=e[n?"getUTCHours":"getHours"]()<12?0:1;return r.getPeriodNames(i[t])[o]},d:function(e,t,n){return r(e[n?"getUTCDate":"getDate"]().toString(),Math.min(t,2))},H:function(e,t,n){return r(e[n?"getUTCHours":"getHours"]().toString(),Math.min(t,2))},h:function(e,t,n){return r((e[n?"getUTCHours":"getHours"]()%12||12).toString(),Math.min(t,2))},m:function(e,t,n){return r(e[n?"getUTCMinutes":"getMinutes"]().toString(),Math.min(t,2))},s:function(e,t,n){return r(e[n?"getUTCSeconds":"getSeconds"]().toString(),Math.min(t,2))},S:function(e,t,n){return r(e[n?"getUTCMilliseconds":"getMilliseconds"]().toString(),3).substr(0,t)},x:function(e,t,n){var i=n?0:e.getTimezoneOffset(),o=i>0?"-":"+",s=Math.abs(i),a=s%60,l=r(Math.floor(s/60).toString(),2),u=r(a.toString(),2);return o+l+(t>=3?":":"")+(t>1||a?u:"")},X:function(e,t,n){return n||!e.getTimezoneOffset()?"Z":o.x(e,t,n)},Z:function(e,t,n){return o.X(e,t>=5?3:2,n)}};e.exports.getFormatter=function(e,t){return function(n){var r,i,s,a,l=0,u=!1,c="";if(!n)return null;if(!e)return n;var d="Z"===e[e.length-1]||"'Z'"===e.slice(-3);for(r=0;r<e.length;r++)i=o[s=e[r]],l++,(a=s===e[r+1])||(i&&!u&&(c+=i(n,l,d,t)),l=0),"'"!==s||a?!u&&i||(c+=s):u=!u,"'"===s&&a&&r++;return c}}},SVse:function(e,t,n){"use strict";n.d(t,"H",(function(){return Y})),n.d(t,"B",(function(){return Z})),n.d(t,"y",(function(){return M})),n.d(t,"o",(function(){return Q})),n.d(t,"p",(function(){return $})),n.d(t,"I",(function(){return J})),n.d(t,"c",(function(){return De})),n.d(t,"l",(function(){return ne})),n.d(t,"m",(function(){return ie})),n.d(t,"n",(function(){return se})),n.d(t,"q",(function(){return me})),n.d(t,"r",(function(){return ce})),n.d(t,"s",(function(){return de})),n.d(t,"t",(function(){return he})),n.d(t,"u",(function(){return ye})),n.d(t,"e",(function(){return Ie})),n.d(t,"b",(function(){return Ce})),n.d(t,"f",(function(){return we})),n.d(t,"d",(function(){return xe})),n.d(t,"g",(function(){return Te})),n.d(t,"G",(function(){return Re})),n.d(t,"z",(function(){return Ne})),n.d(t,"A",(function(){return ke})),n.d(t,"x",(function(){return Me})),n.d(t,"D",(function(){return ee})),n.d(t,"C",(function(){return X})),n.d(t,"F",(function(){return fe})),n.d(t,"E",(function(){return pe})),n.d(t,"w",(function(){return i})),n.d(t,"i",(function(){return o}
1)),n.d(t,"k",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"h",(function(){return c})),n.d(t,"v",(function(){return d})),n.d(t,"j",(function(){return l}));var r=n("8Y7J");class i{}const o=new r.p("Location Initialized");class s{}const a=new r.p("appBaseHref");class l{constructor(e,t){this._subject=new r.m,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=l.stripTrailingSlash(u(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+l.normalizeQueryParams(t))}normalize(e){return l.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,u(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+l.normalizeQueryParams(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+l.normalizeQueryParams(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static normalizeQueryParams(e){return e&&"?"!==e[0]?"?"+e:e}static joinWithSlash(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}static stripTrailingSlash(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}}function u(e){return e.replace(/\/index.html$/,"")}class c extends s{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=l.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class d extends s{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return l.joinWithSlash(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const h={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",0],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",0],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},p=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),f=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),g=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),m=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),y=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),b=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function _(e,t){return x(Object(r.ub)(e)[r.eb.DateFormat],t)}function v(e,t){return x(Object(r.ub)(e)[r.eb.TimeFormat],t)}function E(e,t){return x(Object(r.ub)(e)[r.eb.DateTimeFormat],t)}function S(e,t){const n=Object(r.ub)(e),i=n[r.eb.NumberSymbols][t];if(void 0===i){if(t===b.CurrencyDecimal)return n[r.eb.NumberSymbols][b.Decimal];if(t===b.CurrencyGroup)return n[r.eb.NumberSymbols][b.Group]}return i}function C(e,t){return Object(r.ub)(e)[r.eb.NumberFormats][t]}const w=r.vb;function T(e){if(!e[r.eb.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r.eb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function x(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function O(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const A=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,D={},I=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,R=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),N=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),k=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function M(e,t,n,i){let o=function(e){if(V(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);
1if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,r]=e.split("-").map(e=>+e);return new Date(t,n-1,r)}let n;if(n=e.match(A))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,l,u),t}(n)}const t=new Date(e);if(!V(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const i=function(e){return Object(r.ub)(e)[r.eb.LocaleId]}(t);if(D[i]=D[i]||{},D[i][n])return D[i][n];let o="";switch(n){case"shortDate":o=_(t,y.Short);break;case"mediumDate":o=_(t,y.Medium);break;case"longDate":o=_(t,y.Long);break;case"fullDate":o=_(t,y.Full);break;case"shortTime":o=v(t,y.Short);break;case"mediumTime":o=v(t,y.Medium);break;case"longTime":o=v(t,y.Long);break;case"fullTime":o=v(t,y.Full);break;case"short":const n=e(t,"shortTime"),r=e(t,"shortDate");o=F(E(t,y.Short),[n,r]);break;case"medium":const i=e(t,"mediumTime"),s=e(t,"mediumDate");o=F(E(t,y.Medium),[i,s]);break;case"long":const a=e(t,"longTime"),l=e(t,"longDate");o=F(E(t,y.Long),[a,l]);break;case"full":const u=e(t,"fullTime"),c=e(t,"fullDate");o=F(E(t,y.Full),[u,c])}return o&&(D[i][n]=o),o}(n,t)||t;let s,a=[];for(;t;){if(s=I.exec(t),!s){a.push(t);break}{a=a.concat(s.slice(1));const e=a.pop();if(!e)break;t=e}}let l=o.getTimezoneOffset();i&&(l=j(i,l),o=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(j(t,r)-r))}(o,i));let u="";return a.forEach(e=>{const t=function(e){if(B[e])return B[e];let t;switch(e){case"G":case"GG":case"GGG":t=U(k.Eras,m.Abbreviated);break;case"GGGG":t=U(k.Eras,m.Wide);break;case"GGGGG":t=U(k.Eras,m.Narrow);break;case"y":t=L(N.FullYear,1,0,!1,!0);break;case"yy":t=L(N.FullYear,2,0,!0,!0);break;case"yyy":t=L(N.FullYear,3,0,!1,!0);break;case"yyyy":t=L(N.FullYear,4,0,!1,!0);break;case"M":case"L":t=L(N.Month,1,1);break;case"MM":case"LL":t=L(N.Month,2,1);break;case"MMM":t=U(k.Months,m.Abbreviated);break;case"MMMM":t=U(k.Months,m.Wide);break;case"MMMMM":t=U(k.Months,m.Narrow);break;case"LLL":t=U(k.Months,m.Abbreviated,g.Standalone);break;case"LLLL":t=U(k.Months,m.Wide,g.Standalone);break;case"LLLLL":t=U(k.Months,m.Narrow,g.Standalone);break;case"w":t=H(1);break;case"ww":t=H(2);break;case"W":t=H(1,!0);break;case"d":t=L(N.Date,1);break;case"dd":t=L(N.Date,2);break;case"E":case"EE":case"EEE":t=U(k.Days,m.Abbreviated);break;case"EEEE":t=U(k.Days,m.Wide);break;case"EEEEE":t=U(k.Days,m.Narrow);break;case"EEEEEE":t=U(k.Days,m.Short);break;case"a":case"aa":case"aaa":t=U(k.DayPeriods,m.Abbreviated);break;case"aaaa":t=U(k.DayPeriods,m.Wide);break;case"aaaaa":t=U(k.DayPeriods,m.Narrow);break;case"b":case"bb":case"bbb":t=U(k.DayPeriods,m.Abbreviated,g.Standalone,!0);break;case"bbbb":t=U(k.DayPeriods,m.Wide,g.Standalone,!0);break;case"bbbbb":t=U(k.DayPeriods,m.Narrow,g.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(k.DayPeriods,m.Abbreviated,g.Format,!0);break;case"BBBB":t=U(k.DayPeriods,m.Wide,g.Format,!0);break;case"BBBBB":t=U(k.DayPeriods,m.Narrow,g.Format,!0);break;case"h":t=L(N.Hours,1,-12);break;case"hh":t=L(N.Hours,2,-12);break;case"H":t=L(N.Hours,1);break;case"HH":t=L(N.Hours,2);break;case"m":t=L(N.Minutes,1);break;case"mm":t=L(N.Minutes,2);break;case"s":t=L(N.Seconds,1);break;case"ss":t=L(N.Seconds,2);break;case"S":t=L(N.FractionalSeconds,1);break;case"SS":t=L(N.FractionalSeconds,2);break;case"SSS":t=L(N.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=G(R.Short);break;case"ZZZZZ":t=G(R.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=G(R.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=G(R.Long);break;default:return null}return B[e]=t,t}(e);u+=t?t(o,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function F(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function P(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.substr(s.length-t)),o+s}function L(e,t,n=0,r=!1,i=!1){return function(o,s){let a=function(e,t){switch(e){case N.FullYear:return t.getFullYear();case N.Month:return t.getMonth();case N.Date:return t.getDate();case N.Hours:return t.getHours();case N.Minutes:return t.getMinutes();case N.Seconds:return t.getSeconds();case N.FractionalSeconds:return t.getMilliseconds();case N.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===N.Hours)0===a&&-12===n&&(a=12);else if(e===N.FractionalSeconds)return l=t,P(a,3).substr(0,l);var l;const u=S(s,b.MinusSign);return P(a,t,u,r,i)}}function U(e,t,n=g.Format,i=!1){return function(o,s){return function(e,t,n,i,o,s){switch(n){case k.Months:return function(e,t,n){const i=Object(r.ub)(e),o=x([i[r.eb.MonthsFormat],i[r.eb.MonthsStandalone]],t);return x(o,n)}(t,o,i)[e.getMonth()];case k.Days:return function(e,t,n){const i=Object(r.ub)(e),o=x([i[r.eb.DaysFormat],i[r.eb.DaysStandalone]],t);return x(o,n)}(t,o,i)[e.getDay()];case k.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(s){const e=function(e){const t=Object(r.ub)(e);return T(t),(t[r.eb.ExtraData][2]||[]).map(e=>"string"==typeof e?O(e):[O(e[0]),O(e[1])])}(t),n=function(e,t,n){const i=Object(r.ub)(e);T(i);const o=x([i[r.eb.ExtraData][0],i[r.eb.ExtraData][1]],t)||[];return x(o,n)||[]}(t,o,i);let s;if(e.forEach((e,t)=>{if(Array.isArray(e)){const{hours:r,minutes:i}=e[0],{hours:o,minutes:u}=e[1];a>=r&&l>=i&&(a<o||a===o&&l<u)&&(s=n[t])}else{const{hours:r,minutes:i}=e;r===a&&i===l&&(s=n[t])}}),s)return s}return function(e,t,n){const i=Object(r.ub)(e),o=x([i[r.eb.DayPeriodsFormat],i[r.eb.DayPeriodsStandalone]],t);return x(o,n)}(t,o,i)[a<12?0:1];case k.Eras:return function(e,t){return x(Object(r.ub)(e)[r.eb.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,s,e,t,n,i)}}function G(e){return function(t,n,r){const i=-1*r,o=S(n,b.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case R.Short:return(i>=0?"+":"")+P(s,2,o)+P(Math.abs(i%60),2,o);case R.ShortGMT:return"GMT"+(i>
vendor: 6,086 bytes, line 1
1=0?"+":"")+P(s,1,o);case R.Long:return"GMT"+(i>=0?"+":"")+P(s,2,o)+":"+P(Math.abs(i%60),2,o);case R.Extended:return 0===r?"Z":(i>=0?"+":"")+P(s,2,o)+":"+P(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function H(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(n.getFullYear()),t=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(4-o.getDay()))).getTime()-e.getTime();i=1+Math.round(t/6048e5)}var o;return P(i,e,S(r,b.MinusSign))}}const B={};function j(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function V(e){return e instanceof Date&&!isNaN(e.valueOf())}const W=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function K(e,t,n,r,i,o,s=!1){let a="",l=!1;if(isFinite(e)){let u=function(e){let t,n,r,i,o,s=Math.abs(e)+"",a=0;for((n=s.indexOf("."))>-1&&(s=s.replace(".","")),(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length),r=0;"0"===s.charAt(r);r++);if(r===(o=s.length))t=[0],n=1;else{for(o--;"0"===s.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(s.charAt(r))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);s&&(u=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));let c=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){const e=o.match(W);if(null===e)throw new Error(o+" is not a valid digit info");const t=e[1],n=e[3],r=e[5];null!=t&&(c=z(t)),null!=n&&(d=z(n)),null!=r?h=z(r):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(t,i),n);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let e=s;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let e=1;e<s;e++)r[e]=0}if(a>=5)if(s-1<0){for(let t=0;t>s;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let l=0!==o;const u=t+e.integerLen,c=r.reduceRight((function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,l&&(0===r[n]&&n>=u?r.pop():l=!1),t>=10?1:0}),0);c&&(r.unshift(c),e.integerLen++)}(u,d,h);let p=u.digits,f=u.integerLen;const g=u.exponent;let m=[];for(l=p.every(e=>!e);f<c;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const y=[];for(p.length>=t.lgSize&&y.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)y.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&y.unshift(p.join("")),a=y.join(S(n,r)),m.length&&(a+=S(n,i)+m.join("")),g&&(a+=S(n,b.Exponential)+"+"+g)}else a=S(n,b.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function q(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],s=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=s[0],l=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c<l.length;c++){const e=l.charAt(c);"0"===e?n.minFrac=n.maxFrac=c+1:"#"===e?n.maxFrac=c+1:n.posSuf+=e}const u=a.split(",");if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){const e=i.length-n.posPre.length-n.posSuf.length,t=o.indexOf("#");n.negPre=o.substr(0,t).replace(/'/g,""),n.negSuf=o.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function z(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}const Y=new r.p("UseV4Plurals");class ${}class Q extends ${constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):w(t||this.locale)(e)){case f.Zero:return"zero";case f.One:return"one";case f.Two:return"two";case f.Few:return"few";case f.Many:return"many";default:return"other"}}}function Z(e,t,n){"string"!=typeof t&&(n=t,t=e[r.eb.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),r.db[t]=e,n&&(r.db[t][r.eb.ExtraData]=n)}function J(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}class X{}class ee{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}getValue(){return null}setClass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r.zb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.Nb)(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e
1=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}let te=(()=>{class e{constructor(e){this._delegate=e}getValue(){return this._delegate.getValue()}}return e.ngDirectiveDef=void 0,e})();class ne extends te{constructor(e){super(e)}set klass(e){this._delegate.setClass(e)}set ngClass(e){this._delegate.setNgClass(e)}ngDoCheck(){this._delegate.applyChanges()}}class re{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class ie{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(r.W)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new re(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new oe(e,n);t.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new oe(e,i);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class oe{constructor(e,t){this.record=e,this.view=t}}class se{constructor(e,t){this._viewContainer=e,this._context=new ae,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){le("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){le("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}class ae{constructor(){this.$implicit=null,this.ngIf=null}}function le(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(r.Nb)(t)}'.`)}class ue{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class ce{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}class de{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new ue(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}class he{constructor(e,t,n){n._addDefault(new ue(e,t))}}class pe{}class fe{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}getValue(){return null}setNgStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}applyChanges(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}let ge=(()=>{class e{constructor(e){this._delegate=e}getValue(){return this._delegate.getValue()}}return e.ngDirectiveDef=void 0,e})();class me extends ge{constructor(e){super(e)}set ngStyle(e){this._delegate.setNgStyle(e)}ngDoCheck(){this._delegate.applyChanges()}}
1class ye{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){this._shouldRecreateView(e)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}function be(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r.Nb)(e)}'`)}class _e{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class ve{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Ee=new ve,Se=new _e;class Ce{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(r.Cb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.P.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r.Bb)(e))return Ee;if(Object(r.Ab)(e))return Se;throw be(Ce,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}class we{constructor(e){this.locale=e}transform(e,t="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return M(e,t,r||this.locale,n)}catch(i){throw be(we,i.message)}}}class Te{constructor(e){this._locale=e}transform(e,t,n){if(Oe(e))return null;n=n||this._locale;try{return function(e,t,n){return K(e,q(C(t,p.Decimal),S(t,b.MinusSign)),t,b.Group,b.Decimal,n)}(Ae(e),n,t)}catch(r){throw be(Te,r.message)}}}class xe{constructor(e){this._locale=e}transform(e,t,n="symbol",i,o){if(Oe(e))return null;o=o||this._locale,"boolean"==typeof n&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");let s=t||"USD";"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?function(e,t,n="en"){const i=function(e){return Object(r.ub)(e)[r.eb.Currencies]}(n)[e]||h[e]||[],o=i[1];return"narrow"===t&&"string"==typeof o?o:i[0]||e}(s,"symbol"===n?"wide":"narrow",o):n);try{return function(e,t,n,r,i){const o=q(C(t,p.Currency),S(t,b.MinusSign));return o.minFrac=function(e){let t;const n=h[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),o.maxFrac=o.minFrac,K(e,o,t,b.CurrencyGroup,b.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","")}(Ae(e),o,s,t,i)}catch(a){throw be(xe,a.message)}}}function Oe(e){return null==e||""===e||e!=e}function Ae(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}class De{}const Ie=new r.p("DocumentToken"),Re="browser";function Ne(e){return e===Re}function ke(e){return"server"===e}let Me=(()=>{class e{}return e.ngInjectableDef=Object(r.Ub)({token:e,providedIn:"root",factory:()=>new Fe(Object(r.Vb)(Ie),window,Object(r.Vb)(r.l))}),e})();class Fe{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}}
1,SeVD:function(e,t,n){"use strict";var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),l=n("c2HN"),u=n("XoHu");n.d(t,"a",(function(){return c}));const c=e=>{if(e&&"function"==typeof e[s.a])return c=e,e=>{const t=c[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(r.a)(e);if(Object(l.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(u.a)(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.`)}var t,n,c}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},Srtg:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("SVse"),i=(n("ed0e"),function(){function e(e,t){this.renderer=e,this.onChange=function(){},this.locale=t?t.currentLang:"de-DE"}return e.prototype.ngAfterViewInit=function(){var e=this;this.valueChangedSub=this.dd.valueChanged.subscribe((function(t){return e.emitValue(t)}))},e.prototype.ngOnDestroy=function(){this.valueChangedSub.unsubscribe()},e.prototype.writeValue=function(e){var t=String(e);if(!e&&0!==e||""===t.trim())t=null;else{if(!this.dd.isInputOk(t))throw Error("Input entspricht nicht einer g\xfcltigen Zahl");if((t=new r.g(this.locale).transform(t,this.digitalInfo))&&t.indexOf(",")>-1&&t.indexOf(".")>-1){var n=t.lastIndexOf("."),i=t.lastIndexOf(",");t=t.replace(n>i?/,/g:/\./g,"")}}this.renderer.setProperty(this.elementRef.nativeElement,"value",t)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){},e.prototype.setDisabledState=function(e){this.isDisabled=e},e.prototype.emitValue=function(e){this.onChange&&this.onChange(e?Number(e.replace(",",".")):null)},e}())},St1U:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l}));var r=n("GS7A"),i=n("8Y7J");const o=[Object(r.h)({height:0,visibility:"hidden"}),Object(r.e)("400ms cubic-bezier(0.4,0.0,0.2,1)",Object(r.h)({height:"*",visibility:"visible"}))],s=[Object(r.h)({height:"*",visibility:"visible"}),Object(r.e)("400ms cubic-bezier(0.4,0.0,0.2,1)",Object(r.h)({height:0,visibility:"hidden"}))];class a{constructor(e,t,n){this._el=e,this._renderer=t,this.collapsed=new i.m,this.collapses=new i.m,this.expanded=new i.m,this.expands=new i.m,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1,this.isAnimated=!1,this._display="block",this._stylesLoaded=!1,this._COLLAPSE_ACTION_NAME="collapse",this._EXPAND_ACTION_NAME="expand",this._factoryCollapseAnimation=n.build(s),this._factoryExpandAnimation=n.build(o)}set display(e){this.isAnimated?(this._display=e,"none"!==e?this.show():this.hide()):this._renderer.setStyle(this._el.nativeElement,"display",e)}set collapse(e){this._player&&!this._isAnimationDone||(this.isExpanded=e,this.toggle())}get collapse(){return this.isExpanded}ngAfterViewChecked(){this._stylesLoaded=!0,this._player&&this._isAnimationDone&&(this._player.reset(),this._renderer.setStyle(this._el.nativeElement,"height","*"))}toggle(){this.isExpanded?this.hide():this.show()}hide(){this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapsing=!1,this.collapses.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._COLLAPSE_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapsed.emit(this),this._renderer.setStyle(this._el.nativeElement,"display","none")})}show(){this._renderer.setStyle(this._el.nativeElement,"display",this._display),this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapsing=!1,this.expands.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._EXPAND_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.expanded.emit(this)})}animationRun(e,t){if(!e||!this._stylesLoaded)return e=>e();this._renderer.setStyle(this._el.nativeElement,"overflow","hidden"),this._renderer.addClass(this._el.nativeElement,"collapse");const n=t===this._EXPAND_ACTION_NAME?this._factoryExpandAnimation:this._factoryCollapseAnimation;return this._player&&this._player.destroy(),this._player=n.create(this._el.nativeElement),this._player.play(),e=>this._player.onDone(e)}}class l{static forRoot(){return{ngModule:l,providers:[]}}}},T6P2:function(e,t,n){"use strict";var r=n("zl3R").each,i=n("cYys");e.exports=function(){var e=[],t=i();this.add=function(n){r(e,(function(e,t){n.apply(n,t)})),t.add(n)},this.remove=function(e){t.remove(e)},this.fire=function(){e.push(arguments),t.fire.apply(t,arguments)}}},TSSN:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("LRne"),o=n("VRyK"),s=n("HDdC"),a=n("GyhO"),l=n("IzEk"),u=n("w1tV"),c=n("lJxs"),d=n("128B");function h(e,t,n){return 0===n?[t]:(e.push(t),e)}var p=n("eIep");n.d(t,"g",(function(){return I})),n.d(t,"f",(function(){return f})),n.d(t,"m",(function(){return x})),n.d(t,"l",(function(){return O})),n.d(t,"j",(function(){return A})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return y}
1)),n.d(t,"h",(function(){return C})),n.d(t,"d",(function(){return w})),n.d(t,"c",(function(){return b})),n.d(t,"e",(function(){return _})),n.d(t,"i",(function(){return D})),n.d(t,"k",(function(){return T}));class f{}class g extends f{getTranslation(e){return Object(i.a)({})}}class m{}class y{handle(e){return e.key}}class b{}class _ extends b{compile(e,t){return e}compileTranslations(e,t){return e}}function v(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,r,i,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in i=Object.create(null),e){if(!v(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!v(e[r],t[r]))return!1;return!0}}return!1}function E(e){return null!=e}function S(e){return e&&"object"==typeof e&&!Array.isArray(e)}class C{}class w extends C{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n=t.split(".");t="";do{t+=n.shift(),!E(e)||!E(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let r=this.getValue(t,n);return E(r)?r:e}):e}}class T{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.m,this.onLangChange=new r.m,this.onDefaultLangChange=new r.m}}const x=new r.p("USE_STORE"),O=new r.p("USE_DEFAULT_LANG");class A{constructor(e,t,n,i,o,s=!0,a=!1){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=i,this.missingTranslationHandler=o,this.useDefaultLang=s,this.isolate=a,this.pending=!1,this._onTranslationChange=new r.m,this._onLangChange=new r.m,this._onDefaultLangChange=new r.m,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(this.defaultLang||(this.defaultLang=e),t.pipe(Object(l.a)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Object(i.a)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(Object(l.a)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),Object(i.a)(this.translations[e]))}retrieveTranslations(e){let t;return void 0===this.translations[e]&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Object(u.a)());return this.loadingTranslations=t.pipe(Object(l.a)(1),Object(c.a)(t=>this.compiler.compileTranslations(t,e)),Object(u.a)()),this.loadingTranslations.subscribe(t=>{this.translations[e]=t,this.updateLangs(),this.pending=!1},e=>{this.pending=!1}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=n&&this.translations[e]?function e(t,n){let r=Object.assign({},t);
1return S(t)&&S(n)&&Object.keys(n).forEach(i=>{S(n[i])?i in t?r[i]=e(t[i],n[i]):Object.assign(r,{[i]:n[i]}):Object.assign(r,{[i]:n[i]})}),r}(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let r;if(t instanceof Array){let r={},s=!1;for(let i of t)r[i]=this.getParsedResult(e,i,n),"function"==typeof r[i].subscribe&&(s=!0);if(s){let e;for(let n of t){let t="function"==typeof r[n].subscribe?r[n]:Object(i.a)(r[n]);e=void 0===e?t:Object(o.a)(e,t)}return e.pipe(Object(d.a)(h,[]),Object(c.a)(e=>{let n={};return e.forEach((e,r)=>{n[t[r]]=e}),n}))}return r}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===r&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===r){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),r=this.missingTranslationHandler.handle(e)}return void 0!==r?r:t}get(e,t){if(!E(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return s.a.create(n=>{let r=e=>{n.next(e),n.complete()},i=e=>{n.error(e)};this.loadingTranslations.subscribe(n=>{"function"==typeof(n=this.getParsedResult(n,e,t)).subscribe?n.subscribe(r,i):r(n)},i)});{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return"function"==typeof n.subscribe?n:Object(i.a)(n)}}stream(e,t){if(!E(e)||!e.length)throw new Error('Parameter "key" required');return Object(a.a)(this.get(e,t),this.onLangChange.pipe(Object(p.a)(n=>{const r=this.getParsedResult(n.translations,e,t);return"function"==typeof r.subscribe?r:Object(i.a)(r)})))}instant(e,t){if(!E(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(void 0!==n.subscribe){if(e instanceof Array){let t={};return e.forEach((n,r)=>{t[e[r]]=e[r]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang||this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}class D{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let r=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let i=this.translate.getParsedResult(n,e,t);"function"==typeof i.subscribe?i.subscribe(r):r(i)}this.translate.get(e,t).subscribe(r)}transform(e,...t){if(!e||0===e.length)return e;if(v(e,this.lastKey)&&v(t,this.lastParams))return this.value;let n;if(E(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(r){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+t[0])}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);
1return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}class I{static forRoot(e={}){return{ngModule:I,providers:[e.loader||{provide:f,useClass:g},e.compiler||{provide:b,useClass:_},e.parser||{provide:C,useClass:w},e.missingTranslationHandler||{provide:m,useClass:y},T,{provide:x,useValue:e.isolate},{provide:O,useValue:e.useDefaultLang},A]}}static forChild(e={}){return{ngModule:I,providers:[e.loader||{provide:f,useClass:g},e.compiler||{provide:b,useClass:_},e.parser||{provide:C,useClass:w},e.missingTranslationHandler||{provide:m,useClass:y},{provide:x,useValue:e.isolate},{provide:O,useValue:e.useDefaultLang},A]}}}},TssP:function(e,t,n){"use strict";function r(e){return(r="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)}var i,o,s=n("ti0F"),a=(i=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")],function(e){return String(e).replace(i[0],"&amp;").replace(i[1],"&quot;").replace(i[2],"&#39;").replace(i[3],"&lt;").replace(i[4],"&gt;")}),l=(o=/\s/g,function(e){return!e||!e.replace(o,"")});t.encodeHtml=a,t.quadToObject=function(e){var t=function(e){switch(r(e)){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}}(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10),o=parseInt(t&&t[2],10),s=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),isFinite(o)||(o=n),isFinite(s)||(s=i),{top:i,right:o,bottom:s,left:n}},t.format=function(){var e,t,n,r=arguments[0],i=[].slice.call(arguments).slice(1);if(s.isFunction(r))return r.apply(this,i);for(var o=0;o<i.length;o++)t=new RegExp("\\{"+o+"\\}","gm"),"string"===s.type(n=i[o])&&n.indexOf("$")>=0&&(e="$".replace("$","$$").length,n=n.replace("$",1===e?"$$$$":"$$")),r=r.replace(t,n);return r},t.replaceAll=function(e,t,n){return e.replace(new RegExp("("+(t+"").replace(/([+*?.[^\]$(){}><|=!:])/g,"\\$1")+")","gi"),n)},t.isEmpty=l},UQCf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toFixed=void 0;var r=n("z7z0");function i(e,t){var n=Math.pow(10,t);return function(e){return(0,r.sign)(e)*Math.round(Math.abs(e))}(e*(10*n)/10)/n}t.toFixed=function(e,t){var n=t||0,r=n>0?i.apply(void 0,arguments):e;return r.toFixed(n)}},URBM:function(e,t,n){"use strict";e.exports={"af-NA":1,agq:1,ak:1,ar:6,"ar-EH":1,"ar-ER":1,"ar-KM":1,"ar-LB":1,"ar-MA":1,"ar-MR":1,"ar-PS":1,"ar-SO":1,"ar-SS":1,"ar-TD":1,"ar-TN":1,asa:1,ast:1,az:1,"az-Cyrl":1,bas:1,be:1,bem:1,bez:1,bg:1,bm:1,br:1,bs:1,"bs-Cyrl":1,ca:1,ce:1,cgg:1,ckb:6,cs:1,cu:1,cy:1,da:1,de:1,dje:1,dsb:1,dua:1,dyo:1,ee:1,el:1,"en-001":1,"en-AE":6,"en-BI":1,"en-MP":1,"en-SD":6,eo:1,es:1,et:1,eu:1,ewo:1,fa:6,ff:1,fi:1,fo:1,fr:1,"fr-DJ":6,"fr-DZ":6,"fr-SY":6,fur:1,fy:1,ga:1,gd:1,gl:1,gsw:1,gv:1,ha:1,hr:1,hsb:1,hu:1,hy:1,ia:1,ig:1,is:1,it:1,jgo:1,jmc:1,ka:1,kab:6,kde:1,kea:1,khq:1,kk:1,kkj:1,kl:1,"ko-KP":1,ksb:1,ksf:1,ksh:1,ku:1,kw:1,ky:1,lag:1,lb:1,lg:1,ln:1,lrc:6,lt:1,lu:1,lv:1,"mas-TZ":1,mfe:1,mg:1,mgo:1,mi:1,mk:1,mn:1,ms:1,mua:1,mzn:6,naq:1,nb:1,nds:1,nl:1,nmg:1,nn:1,nnh:1,nus:1,nyn:1,os:1,pl:1,prg:1,ps:6,"pt-AO":1,"pt-CH":1,"pt-CV":1,"pt-GQ":1,"pt-GW":1,"pt-LU":1,"pt-ST":1,"pt-TL":1,"qu-BO":1,"qu-EC":1,rm:1,rn:1,ro:1,rof:1,ru:1,rw:1,rwk:1,sah:1,sbp:1,se:1,ses:1,sg:1,shi:1,"shi-Latn":1,si:1,sk:1,sl:1,smn:1,so:1,"so-DJ":6,sq:1,sr:1,"sr-Latn":1,sv:1,sw:1,"ta-LK":1,"ta-MY":1,teo:1,tg:1,"ti-ER":1,tk:1,to:1,tr:1,tt:1,twq:1,tzm:1,uk:1,uz:1,"uz-Arab":6,"uz-Cyrl":1,vai:1,"vai-Latn":1,vi:1,vo:1,vun:1,wae:1,wo:1,xog:1,yav:1,yi:1,yo:1,zgh:1}},UwXl:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return function e(t,n,r,i){this.apiUrl=t,this.client=n,this.docUrl=r,this.optionals=i,e.config=this}}()},Uz91:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("IheW"),i=(n("cygB"),n("qfBg"),n("AwRG")),o=n("lJxs");class s{constructor(e,t,n){this.http=e,this.backendService=t,this._userService=n}getFavoredShoppingCarts(){const e=new r.i({encoder:new i.g}),t=new i.d(e,this.backendService.getShsSettings("HoleFavorisierteWarenkorbNamen"));return this.http.get(t).pipe(Object(o.a)(e=>{for(const t of e)t.KOSTENSTELLE&&(t.KOSTENSTELLE=t.KOSTENSTELLE.trim());return e}))}addItemToFavoredCart(e,t){const n=Object.assign({},e,{FAV_WK_AUTON:t}),r=new i.f(n,this.backendService.getShsSettings("FuegeArtikelZuFavWarenkorbHinzu"));return this.http.post(r)}getItemsForCart(e,t){const n=new r.i({encoder:new i.g}
1).set("AUTON",String(e.BUCHEN)).set("GRIDNAME",t),o=new i.d(n,this.backendService.getShsSettings("HoleArtikelFuerFavorisiertenWarenkorb"));return this.http.get(o)}addItemsToFavoriteCart(e,t){const n=[],r=e.articles.filter(e=>e.UN_MARKED);for(const o of r){const e={WARENKORBNAME:t.ANZEIGE.trim(),WARENKORB_ID:t.BUCHEN,INT_ART_ID:o.INT_ART_ID,LIEFERANTEN_ARTIKEL_NR:o.LIEFERANTEN_ARTIKEL_NR,BEZEICHNUNG_1:o.BEZEICHNUNG_1,LIEFERANTEN_NR:o.LIEFERANTEN_NR,KOSTENSTELLE:o.KOSTENSTELLE,MENGE:o.MENGE,LIEFERTERMIN:o.LIEFERTERMIN?o.LIEFERTERMIN.toDateString():null,BEMERKUNGEN:o.BEMERKUNGEN,BEMERKUNG_INTERN:o.BEMERKUNG_INTERN,PREIS:o.PREIS,RAB_:o.RAB_,PE_:o.PE_,EK_ABTEILUNG:null,AUTON_VERPACKUNG:o.AUTON_VERPACKUNG,AUTON:o.AUTON},r=new i.f(e,this.backendService.getShsSettings("SpeicherWarenkorbFavorit"));n.push(this.http.post(r).toPromise())}return Promise.all(n)}copyCart(e){const t=new r.i({encoder:new i.g}).set("AUTON",String(e.BUCHEN)),n=new i.d(t,this.backendService.getShsSettings("KopiereFavWarenkorb"));return this.http.get(n)}deleteCart(e){const t=new i.f({AUTON:e.BUCHEN},this.backendService.getShsSettings("LoescheFavWarenkorb"));return this.http.post(t)}deleteItem(e){const t=new i.f({AUTON:e},this.backendService.getShsSettings("LoescheArtikelAusFavWarenkorb"));return this.http.post(t)}addFavoriteCart(e){const t=new r.i({encoder:new i.g}).set("ARG_FAVORITEN_NAME",e.WARENKORBNAME).set("ARG_SICHTBARKEIT",e.SICHTBARKEIT).set("ARG_KOSTENSTELLE",String(this._userService.selectedCostCenter.BUCHEN)).set("ARG_GRUPPE",e.GRUPPE).set("ARG_ROLLE",e.BENUTZERROLLE).set("ARG_FAVORITEN_AUTON",null),n=new i.d(t,this.backendService.getShsSettings("SpeicherWarenkorbFavoritKopf"));return this.http.get(n)}updateFavoriteCart(e,t){e=Object.assign({},e,{AUTON:t});const n=new i.f(e,this.backendService.getShsSettings("UpdateFavWarenkorb"));return this.http.post(n)}updateItem(e){const t=new i.f(e,this.backendService.getShsSettings("UpdateArtikelImFavWarenkorb"));return this.http.post(t)}}},VEhS:function(e,t,n){"use strict";e.exports=function(e,t){var n=e[t];return n?"root"!==n&&n:t.substr(0,t.lastIndexOf("-"))}},VLs4:function(e,t,n){var r,i,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["de",[["vm.","nm."],["vorm.","nachm."],n],[["vorm.","nachm."],n,n],[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],n,n],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'um' {0}",n],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],CUC:[n,"Cub$"],DEM:["DM"],FKP:[n,"Fl\xa3"],GNF:[n,"F.G."],KMF:[n,"FC"],RON:[n,"L"],RWF:[n,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],ZMW:[n,"K"]},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]}))},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(i.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.a?e[0]:Object(o.a)(t)(Object(s.a)(e,n))}},VayG:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return function(){this.range=function(e){return function(t){if(2!==e.length)throw new Error("Der range Validator erwartet ein Array mit 2 Werten: [minimum, maximum]");var n=e[0],r=e[1],i=+t.value;return isNaN(i)||i<n||i>r?{range:{valid:!1}}:null}},this.isGreaterThan=function(e){return function(t){if(isNaN(e))throw new Error("Der Validator ben\xf6tigt einen numerischen Wert");return e<t.value?null:{isGreaterThan:{valid:!1}}}},this.email=function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e.value)?null:{validateEmail:{valid:!1}}},this.matchingPasswords=function(e,t){return function(n){var r=n.controls[t];if(n.controls[e].value!==r.value){var i=n.controls[t].errors;
1return i||(i={}),i.notEquivalent=!0,r.setErrors(i)}return null}}}}()},WZRG:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("IheW"),i=n("AwRG"),o=(n("cygB"),n("XiGC"),function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))});class s{constructor(e,t,n,r,i){this.configService=e,this.pdfModalService=t,this.backendService=n,this.httpService=r,this.sysIniService=i,this.docUrl=this.configService.docUrl,this.showInModal=this.sysIniService.getGlobalSettings().showDocumentInModal}getPath(e){return o(this,void 0,void 0,(function*(){const t=new r.i({encoder:new i.g}).set("fileID",e.toString()),n=new i.d(t,this.backendService.getShsSettings("HoleDokumentPfad"));return yield this.httpService.get(n).toPromise()}))}showPdf(e,t,n){this.showInModal?this.showPdfInWindow(e,t,n):this.showPdfInTab(e,t,n)}showPdfInTab(e,t,n){e=t?e:this.checkPath(e),window.open(e,n)}showPdfInWindow(e,t,n){return t?e:this.checkPath(e)}checkPath(e){return e=e.replace(/\\/g,"/"),this.docUrl.endsWith("/")||(this.docUrl=this.docUrl.concat("/")),this.docUrl.concat(e)}}},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("sVev"),i=n("7o/Q");function o(e=l){return t=>t.lift(new s(e))}class s{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends i.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function l(){return new r.a}},XDlg:function(e,t,n){"use strict";var r=n("ccQb").logger,i=n("eWCF");e.exports=i({isWrapped:function(){return!1},isWritableWrapped:function(){return!1},wrap:function(e){return e},unwrap:function(e){return e},assign:function(){r.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for ensuring.")}})},XJMZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("UwXl"),i=function(){function e(e,t){var n;this._flxName=e.flxName,this._requestOptions=t,this._config=r.a.config,n=Boolean(e.url)?e.url:this._config.client.concat("/query/list/"),this._url=n}return Object.defineProperty(e.prototype,"flxName",{get:function(){return this._flxName},set:function(e){this._flxName=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._url},set:function(e){this._url=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestOptions",{get:function(){return this._requestOptions},set:function(e){this._requestOptions=e},enumerable:!0,configurable:!0}),e}()},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),s=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class u extends i.a{constructor(e){super(e),this.destination=e}}let c=(()=>{class e extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new u(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new s.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new s.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}return e.create=(e,t)=>
1new d(e,t),e})();class d extends c{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):o.a.EMPTY}}},XUoT:function(e,t,n){"use strict";var r=n("A8u/"),i=n("imRD"),o=n("Bhoz"),s=n("dYUP");n("Niae"),t.locale=r.locale.bind(r),t.loadMessages=i.load.bind(i),t.formatMessage=i.format.bind(i),t.formatNumber=o.format.bind(o),t.parseNumber=o.parse.bind(o),t.formatDate=s.format.bind(s),t.parseDate=s.parse.bind(s),t.message=i,t.number=o,t.date=s,t.disableIntl=function(){"intl"===o.engine()&&o.resetInjection(),"intl"===s.engine()&&s.resetInjection()}},XWmc:function(e,t,n){"use strict";t.compare=function(e,t,n){function r(e){return"string"==typeof e?e.split("."):"number"==typeof e?[e]:e}e=r(e),t=r(t);var i=Math.max(e.length,t.length);isFinite(n)&&(i=Math.min(i,n));for(var o=0;o<i;o++){var s=parseInt(e[o]||0,10),a=parseInt(t[o]||0,10);if(s<a)return-1;if(s>a)return 1}return 0}},XiGC:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("IheW"),i=n("lJxs"),o=n("AwRG"),s=(n("cygB"),function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))});class a{constructor(e,t,n){this._httpService=e,this._backendService=t,this._cacheService=n,this._keys=new Map}preload(){return s(this,void 0,void 0,(function*(){const e=new o.d(null,this._backendService.getShsSettings("HoleAlleIniSchalter"));yield this._httpService.get(e).pipe(Object(i.a)(e=>{e.forEach(e=>this._keys.set(`${e.SEKTION}${e.SCHLUESSEL}`,e))})).toPromise(),this._cacheService.setCachedItem(Array.from(this._keys.entries()),"SYS_INI")}))}getkey(e){return this.checkForCachedSysIni(),this._keys.get(e)}setKey(e,t){return s(this,void 0,void 0,(function*(){let n=new r.i({encoder:new o.g});for(const t in e)e.hasOwnProperty(t)&&(n=n.set(t,e[t]));n=n.set("SYS_TYPE",t);const i=new o.d(n,this._backendService.getShsSettings("SpeichereIniSchalter"));return(yield this._httpService.get(i).toPromise()).AUTON}))}removeKey(e){return s(this,void 0,void 0,(function*(){console.log(e,"AUTON");const t=new o.f({AUTON:e},this._backendService.getShsSettings("EntferneIniSchalter"));return yield this._httpService.post(t).toPromise()}))}getKeys(){return s(this,void 0,void 0,(function*(){const e=new r.i({encoder:new o.g}).set("GRIDNAME","web3_sysIni"),t=new o.d(e,this._backendService.getShsSettings("HoleAlleIniSchalterfuerGrid"));return yield this._httpService.get(t).toPromise()}))}getWeSettings(){return this.checkForCachedSysIni(),{allowWELot:this.translateToBool(this._keys.get("FORMCONFIG_WEAENDERN_CHARGE")),allowWeChange:this.translateToBool(this._keys.get("FORMCONFIG_WEAENDERN_ERLAUBEN")),allowWeDrop:this.translateToBool(this._keys.get("FORMCONFIG_WEVERWERFEN_ERLAUBEN")),allowBookedWeDrop:this.translateToBool(this._keys.get("FORMCONFIG_WEIMMER_VERWERFEN")),allowCostcenterChange:this.translateToBool(this._keys.get("WARENEINGANGENABLE_KST_POS")),allowDocUpload:this.translateToBool(this._keys.get("FORMCONFIG_WEDOKUMENT_UPLOAD")),labelVisible:this.translateToBool(this._keys.get("FORMCONFIG_WEZEIGE_ETIKETTEN")),todayIsDefault:this.translateToBool(this._keys.get("FORMCONFIG_WEHEUTE_IST_DEFAULT_BELEG_DT")),cancelMode:this._keys.get("WARENEINGANGSTORNO_MODE").WERT,readonlyMode:this.translateToBool(this._keys.get("WARENEINGANGREADONLY_MODE")),changedUnbookedConfirment:this.translateToBool(this._keys.get("WARENEINGANGCHANGE_UNBOOKED_CONFIRMENT")),allowReprint:this.translateToBool(this._keys.get("WARENEINGANGBARCODE_NACHDRUCKEN")),allowSerials:this.translateToBool(this._keys.get("WARENEINGANGSERIENNUMMER_VISIBLE")),printAfterBooking:this.translateToBool(this._keys.get("WARENEINGANGPRINT_BARCODE_NACH_VERB")),readonlyLabelNumber:this.translateToBool(this._keys.get("WARENEINGANGETIKETT_ANZ_READONLY")),afterRoute:this._keys.get("WARENEINGANGAFTER_ROUTE").WERT,allowNoInvoice:this.translateToBool(this._keys.get("WARENEINGANGENABLE_KEINE_RECHNUNG")),allowFibuBookedWeChange:this.translateToBool(this._keys.get("FORMCONFIG_WEAENDERE_WE_MIT_FIBU_GEBUCHT")),lotIsAlwaysEditable:this.translateToBool(this._keys.get("FORMCONFIG_WECHARGE_IMMER_AENDERN")),allowEditPackingUnit:this.translateToBool(this._keys.get("FORMCONFIG_WEAENDERN_VE"))}}getOrderSettings(){return this.checkForCachedSysIni(),{allowOrdering:this.translateToBool(this._keys.get("ANFOALLOW_ANFO")),showCostcenterArticleFilter:this.translateToBool(this._keys.get("ANFOKOSTENSTELLENARTIKELNUMMER")),showAdditionalSupplierFilter:this.translateToBool(this._keys.get("ANFOZEIGE_LIE
1FERANTEN_FREITEXT")),showAdditionalSearch:this.translateToBool(this._keys.get("ANFOWEITERES_SUCHKRITERIUM_ANZEIGEN")),showGridArticleView:this.translateToBool(this._keys.get("ANFOGRID_ANZEIGE_VISIBLE")),showFinance:this.translateToBool(this._keys.get("ANFOZEIGE_FIBU_ANLAGE_NR")),finance:this._keys.get("ANFOLABEL_FIBU_ANLAGE_NR").WERT,showLot:this.translateToBool(this._keys.get("ANFOZEIGE_CHARGEN_NR")),additionalSearchCaption:this._keys.get("ANFOWEITERES_SUCHKRITERIUM").WERT,showCheckboxOnlyFavorites:this.translateToBool(this._keys.get("ANFOBEREITS_BESTELLTE_VISIBLE")),onlyFavoritesCaption:this._keys.get("ANFOBEREITS_BESTELLTE_CAPTION").WERT,showSubCostcenter:this.translateToBool(this._keys.get("ANFOUNTERKOSTENSTELLE")),showOciWarning:this.translateToBool(this._keys.get("ANFOOCI_WARNING_ANZEIGEN")),disableSearchButton:this.translateToBool(this._keys.get("ANFODISABLE_SEARCH_OCI")),allowComparison:this.translateToBool(this._keys.get("ANFOALLOW_COMPARISON")),numberOfArticles:this.translateToNumber(this._keys.get("ANFOANZAHL_ARTIKEL")),warningNumberOfArticles:this.translateToBool(this._keys.get("ANFOSHOW_WARNING_ANZAHL_ARTIKEl")),selectFirstIfCountIsOne:this.translateToBool(this._keys.get("ANFOCBO_SELEKTIERE_WENN_ANZAHL_1")),selectFirstIfCountIsOneAndSessionid:this.translateToBool(this._keys.get("ANFOCBO_SELEKTIERE_WENN_ANZAHL_1_MIT_SESSIONID")),searchOnStartup:this.translateToBool(this._keys.get("ANFOSEARCH_ON_STARTUP")),startWithOpenFilterPanel:this.translateToBool(this._keys.get("ANFOSTART_WITH_OPEN_FILTERPANEL")),showSubCostcenterPos:this.translateToBool(this._keys.get("ANFOUNTERKOSTENSTELLE_POS")),showPrjIdPos:this.translateToBool(this._keys.get("ANFOPRJ_ID_POS")),startView:this.translateToString(this._keys.get("ANFOSTART_VIEW"))||"LIST",link:this.translateToString(this._keys.get("ANFOLINK"))||"",detailsButtonVisible:this.translateToBool(this._keys.get("ANFODETAILS_BUTTON_VISIBLE")),showLongtext:this.translateToBool(this._keys.get("ANFOBEMERKUNG_LANG")),itemsDisplayed:Number(this._keys.get("ANFOZEIGE_ANZAHL_ARTIKEL").WERT),allowFavorising:this.translateToBool(this._keys.get("ANFOZEIGE_FAVORISIEREN")),showEClass:this.translateToBool(this._keys.get("ANFOZEIGE_ECLASS")),showArticleGroup:this.translateToBool(this._keys.get("ANFOZEIGE_ARTIKELGRUPPE")),showCaseNumber:this.translateToBool(this._keys.get("ANFOFALL_NR"))}}getOrderFormConfig(){return this.checkForCachedSysIni(),{alternativeArticleVisible:this.translateToBool(this._keys.get("ANFO_KARTEALTERNATIVE_ARTIKEL_VISIBLE")),needsConfirmation:this.translateToBool(this._keys.get("ANFO_KARTEBESTELLUNG_BESTAETIGEN_VISIBLE")),pushItemIntoCart:this.translateToBool(this._keys.get("ANFO_KARTEARTIKEL_IN_WARENKORB")),routeAfterOrder:this._keys.get("ANFO_KARTEROUTE_AFTER_ORDER").WERT,showSummaryAfterOrderVisible:this.translateToBool(this._keys.get("ANFO_KARTESUMMARY_AFTER_ORDER_VISIBLE")),showDeliveryCosts:this.translateToBool(this._keys.get("ANFO_KARTEVERSAND_KOSTEN_VISIBLE")),showSubsequentButton:this.translateToBool(this._keys.get("ANFO_KARTENACHERFASSEN_VISIBLE")),showCounter:this.translateToBool(this._keys.get("ANFO_KARTEZAEHLER_VISIBLE")),showSummary:this.translateToBool(this._keys.get("ANFO_KARTEPREIS_GESAMT_VISIBLE"))}}getOrderHistorySettings(){return this.checkForCachedSysIni(),{showPrintOrderHistory:this.translateToBool(this._keys.get("WEB3_BE_HISTDRUCKEN"))}}getShoppingCartSettings(){return this.checkForCachedSysIni(),{markAsOrderedAllowed:this.translateToBool(this._keys.get("ANFONACHERFASSEN")),showDeliveryDate:this.translateToBool(this._keys.get("ANFOZEIGE_LIEFERTERMIN")),showFinance:this.translateToBool(this._keys.get("ANFOZEIGE_FIBU_ANLAGE_NR")),showLot:this.translateToBool(this._keys.get("ANFOZEIGE_CHARGEN_NR")),showSum:this.translateToBool(this._keys.get("ANFOSHOW_SUMMARY_AFTER_BOOK")),showPrjIdPos:this.translateToBool(this._keys.get("ANFOPRJ_ID_POS")),showVe:this.translateToBool(this._keys.get("WEB3_WKZEIGE_VE")),showReload:this.translateToBool(this._keys.get("WEB3_WKZEIGE_RELOAD")),showPrintButton:this.translateToBool(this._keys.get("WEB3_WKREPORT_PRINT_VISIBLE")),useSelectedKst:this.translateToBool(this._keys.get("WEB3_WKUSE_SELECTED_KST")),showPostRecordingWarning:this.translateToBool(this._keys.get("WEB3_WKSHOW_POST_RECORDING_WARNING")),showDocUpload:this.translateToBool(this._keys.get("WEB3_WKDOKUMENT_UPLOAD")),showOrderReceiver:this.translateToBool(this._keys.get("WEB3_WKBESTELL_EMPFAENGER_VISIBLE")),showDeliverySettingsChangeButton:this.translateBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),
11),showAdditionalCostsButton:this.translateBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),2),showShowFavoritesButton:this.translateComedBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),3,1),showShowFavoriteCartsButton:this.translateComedBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),3,2),showFavorButton:this.translateComedBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),4,1),showSubsequentButton:this.translateBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),5),showOrderButton:this.translateBitMaskToBool(this._keys.get("WEB3_WKBUTTONS_VISIBLE"),6),showAssume:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),1),showDelete:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),2),showAddToFavBasket:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),3),showClose:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),4),allowAddingCart:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),5),allowEditingCart:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),6),allowCopingCart:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),7),showEditButton:this.translateBitMaskToBool(this._keys.get("WEB3_WKFAVBUTTONS_VISIBLE"),8),showCostCenterCombo:this.translateToBool(this._keys.get("WEB3_WKZEIGE_KST_COMBO")),allowFavorising:this.translateToBool(this._keys.get("WEB3_WKZEIGE_FAVORISIEREN")),showCaseNumber:this.translateToBool(this._keys.get("ANFOFALL_NR"))}}getGlobalSettings(){return this.checkForCachedSysIni(),{useLockScreen:this.translateToString(this._keys.get("WEBMODULUSE_LOCKSCREEN")),showDocumentInModal:this.translateToBool(this._keys.get("WEBMODULSHOW_PDF_IN_MODAL")),showProject:this.translateToBool(this._keys.get("MODULEPROJEKT")),showCSTSelectionAfterLogin:this.translateToBool(this._keys.get("WEB3SHOW_CST_SEL_AFTER_LOGIN")),startUrl:this.translateToString(this._keys.get("WEBMODULSTART_URL")),priceVisible:this.translateToBool(this._keys.get("WEBMODULPRICE_VISIBLE")),showSMesIni:this.translateToBool(this._keys.get("WEBMODULSHOW_S_MES_INI")),defaultCurrency:this.translateToString(this._keys.get("SYSTEMDEFAULT_CURRENCY")),defaultItemGroup:this.translateToString(this._keys.get("SYSTEMDEFAULT_ITEMGROUP")),defaultUnit:this.translateToString(this._keys.get("SYSTEMDEFAULT_UNIT")),languageColumnDe:this.translateToNumber(this._keys.get("WEBMODULLANGUAGE_COLUMN_DE")),languageColumnEn:this.translateToNumber(this._keys.get("WEBMODULLANGUAGE_COLUMN_EN")),languageColumnEs:this.translateToNumber(this._keys.get("WEBMODULLANGUAGE_COLUMN_ES")),languageColumnIt:this.translateToNumber(this._keys.get("WEBMODULLANGUAGE_COLUMN_IT")),languageColumnFr:this.translateToNumber(this._keys.get("WEBMODULLANGUAGE_COLUMN_FR")),changePasswordMandatory:this.translateBitMaskToBool(this._keys.get("BENUTZERGESPERRT"),3),ar2Active:this.translateToBool(this._keys.get("SYSTEMAR2_LIVE"))}}getRequestArticlesSettings(){this.checkForCachedSysIni();const e=new Map;return this._keys.forEach(t=>{"FORMCONFIG_ARTIKELANFO"===t.SEKTION&&e.set(t.SCHLUESSEL,{isVisible:this.isVisible(this._keys.get(`${t.SEKTION}${t.SCHLUESSEL}`)),isMandatory:this.translateToBool(this._keys.get(`${t.SEKTION}${t.SCHLUESSEL}`))})}),e}getFreeTextItemSettings(){return this.checkForCachedSysIni(),{showSupplier:this.translateToBool(this._keys.get("FREIERARTIKELLIEFERANT")),showArticleNumber:this.translateToBool(this._keys.get("FREIERARTIKELARTIKELNUMMER")),showCaseNumber:this.translateToBool(this._keys.get("FREIERARTIKELFALL_NR")),showDescription:this.translateToBool(this._keys.get("FREIERARTIKELBEZEICHNUNG")),showComment:this.translateToBool(this._keys.get("FREIERARTIKELBEMERKUNG")),showCurrency:this.translateToBool(this._keys.get("FREIERARTIKELWAEHRUNG")),showQuantity:this.translateToBool(this._keys.get("FREIERARTIKELMEEINGABE")),showVats:this.translateToBool(this._keys.get("FREIERARTIKELMWST")),showPrice:this.translateToBool(this._keys.get("FREIERARTIKELPREIS")),showDiscount:this.translateToBool(this._keys.get("FREIERARTIKELRABATT")),showDiscountAbs:this.translateToBool(this._keys.get("FREIERARTIKELRABATT_ABSOLUT")),showPriceUnit:this.translateToBool(this._keys.get("FREIERARTIKELPE")),showGroup:this.translateToBool(this._keys.get("FREIERARTIKELGRUPPE")),showME:this.translateToBool(this._keys.get("FREIERARTIKELMEAUSWAHL")),showIntArtId:this.translateToBool(this._keys.get("FREIERARTIKELCOMBO_FREITEXT")),showLongText:this.translateToBool(this._keys.get("FREIERARTIKELLANGTEXT")),showCommentExt:this.translateToBool(this._keys.get("FREIERARTIKELBEMERKUNG_EXT")),showDeliveryAddress:this.translateToBool(this._keys.get("WEB3_FREIERARTIKELLIEFERADRESSE")),showDeliveryDate:this.translateToBool(this._keys.get("WEB3_FREIERARTIKELLIEFERDATUM")),showDescription2:this.translateToBool(this._keys.get("WEB3_FREIERARTIKELBEZEICHNUNG2")),showFibuId:this.translateToBool(this._keys.get("FREIERARTIKELFIBU_ANLAGE_NR")),showEClass:this.translateToBool(this._keys.get("FREIERARTIKELECLASS")),isMandatorySupplier:this.translateToBool(this._keys.get("FREIERARTIKELLIEFERANT_PFLICHT")),isMandatoryArticleNumber:this.translateToBool(this._keys.get("FREIERARTIKELARTIKELNR_PFLICHT")),isMandatoryCaseNumber:this.translateToBool(this._keys.get("FREIERARTIKELFALL_NR_PFLICHT")),isMandatoryDescription:this.translateToBool(this._keys.get("FREIERARTIKELBEZEICHNUNG_PFLICHT")),isMandatoryComment:this.translateToBool(this._keys.get("FREIERARTIKELBEMERKUNG_PFLICHT")),isMandatoryCurrency:this.translateToBool(this._keys.get("FREIERARTIKELWAEHRUNG_PFLICHT")),isMandatoryQuantity:this.translateToBool(this._keys.get("FREIERARTIKELMEEINGABE_PFLICHT")),isMandatoryVats:this.translateToBool(this._keys.get("FREIERARTIKELMWST_PFLICHT")),isMandatoryPrice:this.translateToBool(this._keys.get("FREIERARTIKELPREIS_PFLICHT")),isMandatoryDiscount:this.translateToBool(this._keys.get("FREIERARTIKELRABATT_PFLICHT")),isMandatoryDiscountAbs:this.translateToBool(this._keys.get("FREIERARTIKELRABATT_ABSOLUT_PFLICHT")),isMandatoryPriceUnit:this.translateToBool(this._keys.get("FREIERARTIKELPE_PFLICHT")),isMandatoryIntArtId:this.translateToBool(this._keys.get("FREIERARTIKELCOMBO_FREITEXT_PFLICHT")),isMandatoryME:this.translateToBool(this._keys.get("FREIERARTIKELMEAUSWAHL_PFLICHT")),isMandatoryProject:this.translateToBool(this._keys.get("FREIERARTIKELPROJEKT_PFLICHT")),isMandatoryLongText:this.translateToBool(this._keys.get("FREIERARTIKELLANGTEXT_PFLICHT")),isMandatoryCommentExt:this.translateToBool(this._keys.get("FREIERARTIKELBEMERKUNG_EXT_PFLICHT")),isMandatoryFibuId:this.translateToBool(this._keys.get("FREIERARTIKELFIBU_ANLAGE_NR_PFLICHT")),isMandatoryGroup:this.translateToBool(this._keys.get("FREIERARTIKELGRUPPE_PFLICHT")),isMandatoryEClass:this.translateToBool(this._keys.get("FREIERARTIKELECLASS_PFLICHT")),defaultArticleNumber:this._keys.get("FREIERARTIKELDEFAULTARTIKELNUMMER").WERT,captionGroup:this._keys.get("FREIERARTIKELGRUPPE_CAPTION").WERT,fieldGroup:this._keys.get("FREIERARTIKELFELD_FUER_GRUPPE").WERT,fileUploadVisible:this.translateToBool(this._keys.get("WEB3_FREIERARTIKELDATEI_UPLOAD")),articleInCart:this.translateToBool(this._keys.get("ANFOWEB_FREITEXT_IN_WARENKORB"))}}getMailSettings(){return this.checkForCachedSysIni(),{showInternalSupportMail:this.translateToBool(this._keys.get("WEB3_MAILINTERNAL_SUPPORT_VISIBLE")),showExternalSupportMail:this.translateToBool(this._keys.get("WEB3_MAILEXTERNAL_SUPPORT_VISIBLE")),internalMailAdress:this._keys.get("WEB3_MAILINTERNAL_SUPPORT_MAIL").WERT,labelContent:this._keys.get("WEB3_MAILINTERNAL_SUPPORT_BUTTON_CAPTION").WERT,customerName:this._keys.get("WEB3_MAILCUSTOMER_NAME").WERT}}getRequestArticlePopUpSettings(){return this.checkForCachedSysIni(),{popUpIsVisible:this.translateToBool(this._keys.get("WEB3_FREIERARTIKELPOPUP_VISIBLE")),popUpContent:this._keys.get("WEB3_FREIERARTIKELPOPUP_
1CONTENT").WERT}}getModalWindowConfigAV(){return this.checkForCachedSysIni(),{showModalWindow:this.translateToBool(this._keys.get("WEB3_ARTIKELANFOSHOW_MODAL_WINDOW"))}}getUserSettingsConfig(){return this.checkForCachedSysIni(),{changeName:this.translateToBool(this._keys.get("WEB3_BENUTZER_AENDERUNGENNAME_AENDERN_ZULASSEN")),changePhone:this.translateToBool(this._keys.get("WEB3_BENUTZER_AENDERUNGENTELEFON_AENDERN_ZULASSEN")),changeMail:this.translateToBool(this._keys.get("WEB3_BENUTZER_AENDERUNGENEMAIL_AENDERN_ZULASSEN")),changeFax:this.translateToBool(this._keys.get("WEB3_BENUTZER_AENDERUNGENFAX_AENDERN_ZULASSEN")),changePassword:this.translateToBool(this._keys.get("WEB3_BENUTZER_AENDERUNGENPASSWORT_AENDERN_ZULASSEN")),changeLanguage:this.translateToBool(this._keys.get("WEB3_BENUTZER_AENDERUNGENSPRACHE_AENDERN_ZULASSEN"))}}getSendAndFetchSettings(){return this.checkForCachedSysIni(),{showSend:this.translateToBool(this._keys.get("WEB3_BESTELLVERSANDVERSENDEN")),showFetch:this.translateToBool(this._keys.get("WEB3_BESTELLVERSANDABHOLEN"))}}getMessageSettings(){return this.checkForCachedSysIni(),{showSendMessages:this.translateToBool(this._keys.get("WEB3_NACHRICHTENNACHRICHTEN_VERSENDEN_VISIBLE"))}}getDeliveryAddressSettings(){return this.checkForCachedSysIni(),{isEditableLine1:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_ZEILE1")),isEditableLine2:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_ZEILE2")),isEditableLine3:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_ZEILE3")),isEditableLine4:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_ZEILE4")),isEditableLine5:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_ZEILE5")),isEditableStreet:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_STRASSE")),isEditableLocation:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_ORT")),isEditableZip:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_PLZ")),isVisibleLine1:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_ZEILE1")),isVisibleLine2:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_ZEILE2")),isVisibleLine3:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_ZEILE3")),isVisibleLine4:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_ZEILE4")),isVisibleStreet:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_STRASSE")),isVisibleLine5:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_ZEILE5")),isVisibleZip:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_PLZ")),isVisibleLocation:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_ORT")),isVisibleLand:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENZEIGE_LAND")),isEditableLand:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_LAND")),isEditableHead:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_KOPFDATEN")),isEditableFoot:this.translateToBool(this._keys.get("WEB3_LIEFERADRESSENAENDERN_FUSSDATEN"))}}getApproveSettings(){return this.checkForCachedSysIni(),{clientIsRoot:this.translateToString(this._keys.get("BESTELLUNGCOCKPIT_GRUPPIERUNG1")),showSendOrder:this.translateToBool(this._keys.get("UNTERSCHREIBENNACH_UNTERSCHRIFT_VERSAND")),showSign:this.translateToBool(this._keys.get("WE3_UNTERSCHREIBENZEIGE_UNTERSCHREIBEN")),showApprove:this.translateToBool(this._keys.get("WEB3_UNTERSCHREIBENZEIGE_UNTERSCHREIBEN")),showMarkedAsOrdered:this.translateToBool(this._keys.get("ANFONACHERFASSEN")),showDeliveryDate:this.translateToBool(this._keys.get("ANFOZEIGE_LIEFERTERMIN")),showSupplier:this.translateToBool(this._keys.get("UNTERSCHREIBENLIEFERANT_VISIBLE")),loadDataAfterStart:this.translateToBool(this._keys.get("WEB3_UNTERSCHREIBENLOAD_DATA_AFTER_START")),showAlternativeItem:this.translateToBool(this._keys.get("UNTERSCHREIBENALTERNATIVARTIKEL")),numberOfColorColumns:this.translateToNumber(this._keys.get("WEB3_UNTERSCHREIBENANZAHL_SPALTEN_FARBCODE"))||3,showComment:this.translateToBool(this._keys.get("UNTERSCHREIBENBEMERKUNG_INT_VISIBLE")),showCommentExt:this.translateToBool(this._keys.get("UNTE
1RSCHREIBENBEMERKUNG_EXT_VISIBLE")),isPriceEditable:this.translateToBool(this._keys.get("UNTERSCHREIBENPRICE_EDITABLE")),showRejectModal:this.translateToBool(this._keys.get("UNTERSCHREIBENZEIGE_BEGRUENDUNG_MODAL"))}}getDatepickerConfig(){return this.checkForCachedSysIni(),{dateInputFormat:this._keys.has("WEBMODULDATE_FORMAT")?this._keys.get("WEBMODULDATE_FORMAT").WERT:null,customTodayClass:"datepicker-tody"}}getRequestArticleStartConfig(){return this.checkForCachedSysIni(),{isVisibleNewRequest:this.translateToBool(this._keys.get("WEB3_ARTIKELANFOSHOW_NEU_ANFORDERUNG")),isVisibleCstChange:this.translateToBool(this._keys.get("WEB3_ARTIKELANFOSHOW_KST_AENDERUNG")),isVisibleArticleChange:this.translateToBool(this._keys.get("WEB3_ARTIKELANFOSHOW_ARTIKEL_AENDERUNG"))}}getShippingCostConfig(){return this.checkForCachedSysIni(),{showSupplierInfo:this.translateToBool(this._keys.get("ANFOSHOW_SUPPLIER_INFOS")),showWkVsAsHtml:this.translateToBool(this._keys.get("WEB3_WKVS_INFO_AS_HTML"))}}getDocManagerConfig(){return this.checkForCachedSysIni(),{showValidFrom:this.translateToBool(this._keys.get("WEB3_DOCUMENTSDOC_GUELTIG_VON_VISIBLE")),showValidTo:this.translateToBool(this._keys.get("WEB3_DOCUMENTSDOC_GUELTIG_BIS_VISIBLE")),showDescription:this.translateToBool(this._keys.get("WEB3_DOCUMENTSDOC_KURZ_BESCHREIBUNG_VISIBLE")),showInternalDocId:this.translateToBool(this._keys.get("WEB3_DOCUMENTSDOC_INTERNE_DOC_NR_VISIBLE")),showDocVersion:this.translateToBool(this._keys.get("WEB3_DOCUMENTSDOC_VERSIONS_NR_VISIBLE")),showSubDocType:this.translateToBool(this._keys.get("WEB3_DOCUMENTSDOC_SUB_TYPE"))}}getLsSettings(){return this.checkForCachedSysIni(),{allowChangeRecipient:this.translateToBool(this._keys.get("FORMCONFIG_LSEMPFAENGER_AENDERN")),allowDelete:this.translateToBool(this._keys.get("FORMCONFIG_LSALLOW_DELETE")),allowDeleteLsOnInvoice:this.translateToBool(this._keys.get("FORMCONFIG_LSALLOW_VERWERFEN_LFS_AUF_RECHNUNG")),allowDeletePosOnInvoice:this.translateToBool(this._keys.get("FORMCONFIG_LSALLOW_DELETE_POS_AUF_RG")),showChangeButton:this.translateToBool(this._keys.get("FORMCONFIG_LSLS_CHANGE_VISIBLE")),showAddressLabel:this.translateToBool(this._keys.get("FORMCONFIG_LSADRESSLABEL")),showSalesInfo:this.translateToBool(this._keys.get("FORMCONFIG_LSVK_INFO")),checkBeforeReset:this.translateToBool(this._keys.get("FORMCONFIG_LSRESET_CHECK_MODE"))}}getSettingsConfig(){return this.checkForCachedSysIni(),{enablePasswordCheck1:this.translateBitMaskToBool(this._keys.get("WEB3_SETTINGSCHECK_PASSWORD"),1),enablePasswordCheck2:this.translateBitMaskToBool(this._keys.get("WEB3_SETTINGSCHECK_PASSWORD"),2),enablePasswordCheck3:this.translateBitMaskToBool(this._keys.get("WEB3_SETTINGSCHECK_PASSWORD"),3),enablePasswordCheck4:this.translateBitMaskToBool(this._keys.get("WEB3_SETTINGSCHECK_PASSWORD"),4),minPasswordLength:this.translateToNumber(this._keys.get("WEB3_SETTINGSMIN_PASSWORD_LENGTH"))}}getWaConfig(){return this.checkForCachedSysIni(),{FibuAnlageNrVisible:this.translateToBool(this._keys.get("WARENENTNAHMEFIBU_ANLAGE_NR_VISIBLE")),FibuAnlageNrMandatory:this.translateToBool(this._keys.get("WARENENTNAHMEFIBU_ANLAGE_NR_MANDATORY"))}}getSysIniValueDirect(e,t,n){const i=new r.i({encoder:new o.g}).set("SEKTION",e).set("SCHLUESSEL",t).set("SYS_TYPE",n),s=new o.d(i,this._backendService.getShsSettings("HoleSysIniWertDirekt"));return this._httpService.get(s)}getSearchTypes(e){return s(this,void 0,void 0,(function*(){const t=new r.i({encoder:new o.g}).append("ARG_WE_RE_LS",e),n=new o.d(t,this._backendService.getShsSettings("HoleSuchTypen"));return(yield this._httpService.get(n).toPromise()).FULL_INI}))}getLists(e){return s(this,void 0,void 0,(function*(){const t=new r.i({encoder:new o.g}).set("ARG_LIS",e),n=new o.d(t,this._backendService.getShsSettings("HoleListen")),i=yield this._httpService.get(n).toPromise();return i&&i.WERT?i.WERT.split(",").map(e=>isNaN(Number(e))?null:e):null}))}translateToBool(e){if(!e)return!1;const t=e.WERT;if(!t)return!1;const n=Number(t);let r=!1;return r=isNaN(n)?"TRUE"===t.trim().toUpperCase():1===n,r}isVisible(e){if(!e)return!1;const t=e.WERT;return!!t&&"INVISIBLE"!==t.toUpperCase().trim()}translateToString(e){return e&&e.WERT?e.WERT:""}translateToNumber(e){return e&&e.WERT?Number(e.WERT):0}translateBitMaskToBool(e,t){if(0===t)throw new Error("Die Position der Bit-Maske ist 1-basiert");return!(!e||!e.WERT||t>e.WERT.length)&&"1"===e.WERT.charAt(t-1)}translateComedBitMaskToBool(e,t,n){if(0===t)throw new Error("Die Position der Bit-Maske ist 1-basiert");return!(!e||!e.WERT||t>e.WERT.length)&&e.WERT.charAt(t-1)===""+n}checkForCachedSysIni(){if(this._keys&&0!==this._keys.size||(this._keys=new Map(this._cacheService.getCachedItem("SYS_INI"))),!this._keys)throw Error("Keine SYS-INI Schl\xfcssel")}}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},XpgS:function(e,t,n){"use strict";var r=n("ti0F").isDefined,i=n("zl3R").each,o=n("3RoI"),s=n("2Fn2"),a=function(e,t){return t?(Array.isArray(t)?t:t.toArray()).indexOf(e):-1};t.isEmpty=function(e){return Array.isArray(e)&&!e.length},t.wrapToArray=function(e){return Array.isArray(e)?e:[e]},t.intersection=function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return[];var n=[];return i(e,(function(e,r){-1!==a(r,t)&&n.push(r)})),n},t.removeDuplicates=function(e,t){if(!Array.isArray(e)||0===e.length)return[];if(!Array.isArray(t)||0===t.length)return e.slice();var n=[];return i(e,(function(e,r){-1===a(r,t)&&n.push(r)})),n},t.normalizeIndexes=function(e,t,n,a){var l={},u=0,c=s().useLegacyVisibleIndex;return i(e,(function(e,r){(e=r[t])>=0?(l[e]=l[e]||[],r===n?l[e].unshift(r):l[e].push(r)):r[t]=void 0})),c||i(e,(function(){if(!r(this[t])&&(!a||a(this))){for(;l[u];)u++;l[u]=[this],u++}})),u=0,o.orderEach(l,(function(e,n){i(n,(function(){e>=0&&(this[t]=u++)}))})),c&&i(e,(function(){r(this[t])||a&&!a(this)||(this[t]=u++)})),u},t.inArray=a,t.merge=function(e,t){for(var n=0;n<t.length;n++)e[e.length]=t[n];return e},t.find=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}},Y0yK:function(e,t,n){"use strict";var r,i=(r=n("zl3R"))&&r.__esModule?r:{default:r},o=["January","February","March","April","May","June","July","August","September","October","November","December"],s=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],a=["AM","PM"],l=["Q1","Q2","Q3","Q4"],u=function(e,t){var n={abbreviated:3,short:2,narrow:1};return i.default.map(e,(function(e){return e.substr(0,n[t])}))};e.exports={getMonthNames:function(e){return u(o,e)},getDayNames:function(e){return u(s,e)},getQuarterNames:function(e){return l},getPeriodNames:function(e){return a}}},YImT:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"g",(function(){return y})),n.d(t,"c",(function(){return b})),n.d(t,"f",(function(){return _})),n.d(t,"h",(function(){return C}));var r=n("8Y7J"),i=n("0fkH"),o=n("SVse"),s=(n("s7LF"),n("cUpR")),a=r.rb({encapsulation:2,styles:[],data:{}});function l(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field",[["hide-deprecation",""]],null,null,null,h,c)),r.sb(1,16760832,null,0,i.f,[i.e,r.C,r.j,r.k,[8,""]],{field:[0,"field"],model:[1,"model"],form:[2,"form"],options:[3,"options"]},null)],(function(e,t){e(t,1,0,t.context.$implicit,t.context.$implicit.model,t.context.$implicit.form,t.context.$implicit.options)}),null)}function u(e){return r.Qb(0,[r.Mb(402653184,1,{content:0}),(e()(),r.ib(16777216,null,null,1,null,l)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.tb(3,0,[[1,0],["content",1]],null,1,null,null,null,null,null,null,null)),r.Fb(null,0)],(function(e,t){e(t,2,0,t.component.fields)}),null)}var c=r.rb({encapsulation:2,styles:[],data:{}});function d(e){return r.Qb(0,[(e()(),r.ib(0,null,null,0))],null,null)}function h(e){return r.Qb(0,[r.Mb(402653184,1,{containerRef:0}),(e()(),r.ib(16777216,[[1,3],["container",2]],null,0,null,d))],null,null)}var p=r.rb({encapsulation:2,styles:[],data:{}});function f(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field",[],null,null,null,h,c)),r.sb(1,16760832,null,0,i.f,[i.e,r.C,r.j,r.k,[8,null]],{field:[0,"field"]},null)],(function(e,t){e(t,1,0,t.context.$implicit)}),null)}function g(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,f)),r.sb(1,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Fb(null,0)],(function(e,t){e(t,1,0,t.component.field.fieldGroup)}),null)}function m(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-group",[],[[8,"className",0]],null,null,g,p)),r.sb(1,49152,null,0,i.k,[],null,null)],null,(function(e,t){e(t,0,0,r.Gb(t,1).field.fieldGroupClassName||"")}))}var y=r.pb("formly-group",i.k,m,{field:"field",model:"model",form:"form",options:"options"},{},["*"]),b=r.rb({encapsulation:2,styles:[],data:{}});function _(e){return r.Qb(2,[(e()(),r.Ob(0,null,["",""])),r.Ib(131072,o.b,[r.h])],null,(function(e,t){var n=t.component;e(t,0,0,r.Pb(t,0,0,r.Gb(t,1).transform(n.errorMessage$)))}))}var v=r.rb({encapsulation:2,styles:[],data:{}});function E(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component.template)}))}function S(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-template",[],null,null,null,E,v)),r.sb(1,49152,null,0,i.m,[s.c],null,null)],null,null)}var C=r.pb("formly-template",i.m,S,{field:"field",model:"model",form:"form",options:"options"},{},[])},YNCv:function(e,t,n){"use strict";var r=n("z7z0").fitIntoRange,i=n("UQCf").toFixed,o={thousandsSeparator:",",decimalSeparator:"."};function s(e){return e.toString().split("").reverse().join("")}function a(e){return e?e.length-e.replace(/[#]/g,"").length:0}function l(e){return e?e.length-e.replace(/[0]/g,"").length:0}function u(e,t,n){if(!e)return"";for(e.length>n&&(e=e.substr(0,n));e.length>t&&"0"===e.slice(-1);)e=e.substr(0,e.length-1);for(;e.length<t;)e+="0";return e}function c(e,t){return e.split("'").map((function(e,n){var r=n%2;return!e&&r?"'":r?e:e.replace(/[,#0]+/,t)})).join("")}function d(e,t,n){var r=(t?.01:1)*parseFloat(e)||0;return n?-r:r}function h(e,t,n,r){var i,o,s,a=e;do{s&&(i=o.length===s.length?"0":"1",e=r?i+e:e+i),o=s||t(d(a,n)),s=t(d(a=r?"1"+a:a+"1",n))}while(o!==s&&(r?o.length===s.length:o.length<=s.length));if(r&&s.length>o.length){var l=-1===t(12345).indexOf("12345");do{e="1"+e}while(l&&d(e,n)<1e5)}return e}function p(e,t,n,r){var i=t(d(e,n,r)),o=e.split("."),s=t(d(o[0]+".3"+o[1].slice(1),n,r)).indexOf("3")-1;return i=i.replace(/(\d)\D(\d)/g,"$1,$2"),s>=0&&(i=i.slice(0,s)+"."+i.slice(s+1)),i=i.replace(/1+/,"1").replace(/1/g,"#"),n||(i=i.replace("%","'%'")),i}t.getFormatter=function(e,t){return t=t||o,function(n){if("number"!=typeof n||isNaN(n))return"";var o=n>0||1/n==1/0,d=function(e){var t=e.split(";");return 1===t.length&&t.push("-"+t[0]),t}(e)[o?0:1];(function(e){return-1!==e.indexOf("%")&&!e.match(/'[^']*%[^']*'/g)})(d)&&(n*=100),o||(n=-n);var h,p=function(e){for(var t=!1,n=0;n<e.length;
1n++)if("'"===e[n]&&(t=!t),"."===e[n]&&!t)return n;return e.length}(d),f=[d.substr(0,p),d.substr(p+1)],g=l(f[1]),m=g+a(f[1]),y=l(f[0]),b=a(f[0])?void 0:y,_=Math.floor(n).toString().length,v=r(m,0,15-_),E=(h=f[0],h.split(",").slice(1).map((function(e){return e.split("").filter((function(e){return"#"===e||"0"===e})).length}))).reverse(),S=i(n,v<0?0:v).split("."),C=u(s(S[0]),y,b),w=u(S[1],g,m);C=function(e,t,n){if(!t.length)return e;for(var r=[],i=0;e;){var o=t[i];r.push(e.slice(0,o)),e=e.slice(o),i<t.length-1&&i++}return r.join(n)}(C,E,t.thousandsSeparator);var T=s(c(s(f[0]),C)),x=m?c(f[1],w):"";return T+(x.match(/\d/)?t.decimalSeparator:"")+x}},t.getFormat=function(e){var t=".",n=e(1).indexOf("100")>=0;t=h(t,e,n,!0);var r=p(t=h(t,e,n,!1),e,n,!1),i=p(t,e,n,!0);return i==="-"+r?r:r+";"+i}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("quSY");class i extends r.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function s(e,t,n,s,a=new r.a(e,n,s)){if(!a.closed)return t instanceof o.a?t.subscribe(a):Object(i.a)(t)(a)}},ZvYk:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("Gi7S");class r{constructor(e,t){this.router=e,this.menuService=t}canActivateChild(e,t){return n=this,void 0,i=function*(){if(this.router.navigated)return!0;const e=yield this.menuService.hasPermissionToRouteUrl(t.url);return e||this.router.navigateByUrl("index/no-permission"),e},new((r=void 0)||(r=Promise))((function(e,t){function o(e){try{a(i.next(e))}catch(n){t(n)}}function s(e){try{a(i.throw(e))}catch(n){t(n)}}function a(t){t.done?e(t.value):new r((function(e){e(t.value)})).then(o,s)}a((i=i.apply(n,[])).next())}));var n,r,i}}},Zz7b:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("IheW"),i=n("XNiG"),o=n("lJxs"),s=n("AwRG"),a=n("QY0l"),l=n("qfBg"),u=n("XiGC"),c=n("cygB"),d=n("tj1A"),h=n("4y7E"),p=n("8Y7J"),f=n("AhhV"),g=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};let m=(()=>{class e{constructor(e,t,n,r,o,s){this._httpService=e,this._backendService=t,this._articleService=n,this._userService=r,this.sysIniService=o,this.colorService=s,this.articlesCopy=[],this.shoppingCartChanged=new i.a,this._shoppingCart=new d.a(n),this.shoppingCartConfigChanged=new i.a,this.summaryChanged=new i.a,this.articleQuantityChanged=new i.a,this.colorsChanged=new i.a,this._colors=new Map}getConfig(){return this.sysIniService.getShoppingCartSettings()}getDpConfig(){return this.sysIniService.getDatepickerConfig()}getGlobalConfig(){return this.sysIniService.getGlobalSettings()}articleQuantityChangedEvent(e){this.articleQuantityChanged.next(e)}get getArticleQuantityChangedEvent(){return this.articleQuantityChanged.asObservable()}preLoadShoppingCart(){return g(this,void 0,void 0,(function*(){const e=new s.d(null,this._backendService.getShsSettings("HoleWarenkorb"));this._shoppingCart.articles=yield this._httpService.get(e).pipe(Object(o.a)(e=>e.map(e=>{if(e.LIEFERTERMIN&&(e.LIEFERTERMIN=new Date(e.LIEFERTERMIN)),!e.LIEFERTERMIN||isNaN(e.LIEFERTERMIN.getTime())){const t=new Date;e.LIEFERTERMIN=new Date(t.setDate(t.getDate()+2))}return e.ISUPDATED=!0,this._colors.set(e.COLOR_CODE,this.colorService.getAccessibleColor(e.COLOR_CODE)),e}))).toPromise(),this.colorsChanged.next(this._colors),this.articlesCopy=[];for(const t of this._shoppingCart.articles)this.articlesCopy.push(Object.assign({},t));return this.shoppingCartChanged.next(this._shoppingCart),this._shoppingCart}))}reloadShoppingCartPosition(e){return g(this,void 0,void 0,(function*(){const t=new r.i({encoder:new s.g}).set("AUTON",e.AUTON.toString()),n=this.getIndexFromArticle(e),i=new s.d(t,this._backendService.getShsSettings("HoleWarenkorbPos"));this._httpService.get(i).pipe(Object(o.a)(t=>{if(t.LIEFERTERMIN&&(t.LIEFERTERMIN=new Date(t.LIEFERTERMIN)),!t.LIEFERTERMIN||isNaN(t.LIEFERTERMIN.getTime())){const e=new Date;t.LIEFERTERMIN=new Date(e.setDate(e.getDate()+2))}t.ISUPDATED=!0,t.ISROWEXPANDED=e.ISROWEXPANDED,this._shoppingCart.articles[n]=t,this.shoppingCartChanged.next(this._shoppingCart)}
1)).toPromise()}))}get shoppingCart(){return this._shoppingCart}get markedArticles(){return this._shoppingCart.markedArticles}addArticle(e){return g(this,void 0,void 0,(function*(){if(!this.checkIfArticleAlreadyAdded(e)){const t=this.isArticleAlreadyInCart(e);if(t.length>0)for(const n of t)if(this.articlesHaveSameEditableProperties(e,n))return n.MENGE+=e.MENGE,this.updateArticle(n),e.AUTON;return yield this.addArticleToDb(e),this._shoppingCart.articles.push(e),this.shoppingCartChanged.next(this._shoppingCart),e.ISUPDATED=!0,this.articlesCopy.push(e),e.AUTON}return-1}))}isArticleAlreadyInCart(e){return this.shoppingCart.articles.filter(t=>t.LIEFERANTEN_ARTIKEL_NR===e.LIEFERANTEN_ARTIKEL_NR&&t.INT_ART_ID===e.INT_ART_ID)}articlesHaveSameEditableProperties(e,t){return e.KOSTENSTELLE===t.KOSTENSTELLE&&e.UNTERKOSTENSTELLE===t.UNTERKOSTENSTELLE&&e.BEMERKUNGEN===t.BEMERKUNGEN&&e.BEMERKUNG_INTERN===t.BEMERKUNG_INTERN&&e.CHARGE===t.CHARGE&&e.FIBU_ANLAGE_NR===t.FIBU_ANLAGE_NR&&e.PREIS===t.PREIS&&e.PRJ_ID===t.PRJ_ID&&e.LOS_GROESSE===t.LOS_GROESSE&&e.AUTON_VERPACKUNG===t.AUTON_VERPACKUNG&&!Boolean(e.articleLongtextTmp)}removeArticle(e){return g(this,void 0,void 0,(function*(){const t=this.getIndexFromArticle(e);if(t>-1){yield this.removeArticleFromDb(e),this._shoppingCart.articles.splice(t,1),this.shoppingCartChanged.next(this._shoppingCart);const n=this.articlesCopy.findIndex(t=>t.AUTON===e.AUTON);n>-1&&this.articlesCopy.splice(n,1)}}))}addArticles(e){return g(this,void 0,void 0,(function*(){const t=[];if(e)for(const n of e)t.push(this.addArticle(n));yield Promise.all(t),this.shoppingCartChanged.next(this._shoppingCart)}))}removeAllArticles(){return g(this,void 0,void 0,(function*(){const e=new s.f(null,this._backendService.getShsSettings("Warenkorbleeren"));yield this._httpService.post(e).toPromise(),this.shoppingCart.clearShoppingCart(),this.shoppingCartChanged.next(this._shoppingCart),this.articlesCopy.length=0}))}updateArticle(e){return g(this,void 0,void 0,(function*(){const t=new r.i({encoder:new s.g}).set("MENGE",String(e.MENGE)).set("LIEFERTERMIN",e.LIEFERTERMIN?e.LIEFERTERMIN.toDateString():null).set("BEMERKUNGEN",e.BEMERKUNGEN).set("BEMERKUNG_INTERN",e.BEMERKUNG_INTERN).set("INT_ART_ID",e.INT_ART_ID).set("ANFORDERUNG_NR","0").set("AUTON",String(e.AUTON)).set("FIBU_ANLAGE_NR",e.FIBU_ANLAGE_NR).set("CHARGE",e.CHARGE).set("PRJ_ID",e.PRJ_ID).set("MAIL_EMPFAENGER",e.MAIL_EMPFAENGER).set("KOSTENSTELLE",e.KOSTENSTELLE?e.KOSTENSTELLE.trim():null).set("AUTON_VERPACKUNG",String(e.AUTON_VERPACKUNG)).set("FALL_NR",e.FALL_NR),n=this.articlesCopy.findIndex(t=>t.AUTON===e.AUTON);n>-1&&this.articlesCopy.splice(n,1),e.ISUPDATED=!0,this.articlesCopy.push(JSON.parse(JSON.stringify(e)));const i=new s.d(t,this._backendService.getShsSettings("SpeicherArtikel\xc4nderungenWarenkorb"));return e.needsValidation=!1,yield this._httpService.get(i).toPromise()}))}getDeliveryAddress(){const e=new r.i({encoder:new s.g}).set("ARG_AN_KOSTENSTELLE",this._userService.selectedCostCenter.BUCHEN),t=new s.d(e,this._backendService.getShsSettings("GET_LIEFER_ADRESSE_AUSWAHL"));return this._httpService.get(t)}getShippingCosts(e=""){const t=new r.i({encoder:new s.g}).set("LIEFERANTEN_NR",e),n=new s.d(t,this._backendService.getShsSettings("HoleVersandkosten"));return this._httpService.get(n)}getShippingCostsAsHtml(e=""){const t=new r.i({encoder:new s.g}),n=new s.d(t,this._backendService.getShsSettings("HoleVersandkostenHtml"));return this._httpService.get(n)}getLowOrderSurcharge(e=""){const t=new r.i({encoder:new s.g}).set("LIEFERANTEN_NR",e),n=new s.d(t,this._backendService.getShsSettings("HoleMindermengen"));return this._httpService.get(n)}getSupplierInformation(e=""){const t=new r.i({encoder:new s.g}).set("LIEFERANTEN_NR",e),n=new s.d(t,this._backendService.getShsSettings("HoleLieferantenInformationen"));return this._httpService.get(n)}getFavoredShoppingCarts(){const e=new r.i({encoder:new s.g}).set("ANNR",String(-1*this._userService.userId)),t=new s.d(e,this._backendService.getShsSettings("HoleFavorisierteWarenkorbNamen"));return this._httpService.get(t)}deleteFavoredShoppingCart(e){const t=new s.f({WARENKORB_ID:e.BUCHEN,ANFORDERUNG_NR:-1*this._userService.userId},this._backendService.getShsSettings("EntferneFavorisiertenWarenkorb"));
1return this._httpService.post(t).toPromise()}getFavTypes(){const e=new r.i({encoder:new s.g}),t=new s.d(e,this._backendService.getShsSettings("HoleWarenkorbFavTyp"));return this._httpService.get(t)}addFavoredShoppingCartToExistingCart(e){return g(this,void 0,void 0,(function*(){const t=new r.i({encoder:new s.g}).set("FAV_ID",String(e.BUCHEN)).set("KOSTENSTELLE",this._userService.selectedCostCenter.BUCHEN),n=new s.d(t,this._backendService.getShsSettings("ErstelleWarenkorbAusFavWarenkorb"));(yield this._httpService.get(n).pipe(Object(o.a)(e=>e.map(e=>{const t=this.shoppingCart.deliveryAddressForMarkedArticles;if(e.LIEFERTERMIN&&(e.LIEFERTERMIN=new Date(e.LIEFERTERMIN)),!e.LIEFERTERMIN||isNaN(e.LIEFERTERMIN.getTime())){const t=new Date;e.LIEFERTERMIN=new Date(t.setDate(t.getDate()+2))}return e.UN_MARKED=!0,e.LIEFERADRESSE=t?t.MATCHCODE:null,e.ISUPDATED=!0,e}))).toPromise()).forEach(e=>{this._shoppingCart.articles.push(e),this.articlesCopy.push(JSON.parse(JSON.stringify(e)))}),this.shoppingCartChanged.next(this._shoppingCart)}))}favorShoppingCart(e,t){return g(this,void 0,void 0,(function*(){const n=[],i=new r.i({encoder:new s.g}).set("ARG_FAVORITEN_NAME",e).set("ARG_SICHTBARKEIT",t).set("ARG_KOSTENSTELLE",String(this._userService.selectedCostCenter.BUCHEN)).set("ARG_FAVORITEN_AUTON",null),o=new s.d(i,this._backendService.getShsSettings("SpeicherWarenkorbFavoritKopf"));return yield this._httpService.get(o).subscribe(r=>{this._shoppingCart.articles.forEach(i=>{if(i.UN_MARKED){const o={WARENKORBNAME:e,WARENKORB_ID:r.AUTON,INT_ART_ID:i.INT_ART_ID,LIEFERANTEN_ARTIKEL_NR:i.LIEFERANTEN_ARTIKEL_NR,BEZEICHNUNG_1:i.BEZEICHNUNG_1,LIEFERANTEN_NR:i.LIEFERANTEN_NR,KOSTENSTELLE:i.KOSTENSTELLE,MENGE:i.MENGE,LIEFERTERMIN:i.LIEFERTERMIN?i.LIEFERTERMIN.toDateString():null,BEMERKUNGEN:i.BEMERKUNGEN,BEMERKUNG_INTERN:i.BEMERKUNG_INTERN,PREIS:i.PREIS,RAB_:i.RAB_,PE_:i.PE_,EK_ABTEILUNG:null,SICHTBARKEIT:t,UNTERKOSTENSTELLE:i.UNTERKOSTENSTELLE,ME:i.ME_,AUTON:i.AUTON,AUTON_VERPACKUNG:i.AUTON_VERPACKUNG},a=new s.f(o,this._backendService.getShsSettings("SpeicherWarenkorbFavorit"));n.push(this._httpService.post(a).toPromise())}})}),Promise.all(n)}))}addToFavorShoppingCart(e,t){const n=[];return this._shoppingCart.articles.forEach(r=>{if(r.UN_MARKED){const i={WARENKORBNAME:e,WARENKORB_ID:t,INT_ART_ID:r.INT_ART_ID,LIEFERANTEN_ARTIKEL_NR:r.LIEFERANTEN_ARTIKEL_NR,BEZEICHNUNG_1:r.BEZEICHNUNG_1,LIEFERANTEN_NR:r.LIEFERANTEN_NR,KOSTENSTELLE:r.KOSTENSTELLE,MENGE:r.MENGE,LIEFERTERMIN:r.LIEFERTERMIN?r.LIEFERTERMIN.toDateString():null,BEMERKUNGEN:r.BEMERKUNGEN,BEMERKUNG_INTERN:r.BEMERKUNG_INTERN,PREIS:r.PREIS,RAB_:r.RAB_,PE_:r.PE_,EK_ABTEILUNG:null},o=new s.f(i,this._backendService.getShsSettings("SpeicherWarenkorbFavorit"));n.push(this._httpService.post(o).toPromise())}}),Promise.all(n)}setArticleMarkedForOrder(e){return g(this,void 0,void 0,(function*(){const t=new s.f({AUTON:e.AUTON,UN_MARKED:e.UN_MARKED?1:0},this._backendService.getShsSettings("MarkierePositionBestellen"));yield this._httpService.post(t).toPromise(),this.shoppingCart.updateSelectedArticlesWithDeliveryAddress(),this.shoppingCartChanged.next(this._shoppingCart)}))}orderShoppingCart(){return this.orderShoppingCartInternal("WarenkorbAnfordern")}markShoppingCartAsOrdered(){return this.orderShoppingCartInternal("WarenkorbNacherfassen")}changeDeliveryTerminForMarkedArticles(e){return Promise.all(this.markedArticles.map(t=>g(this,void 0,void 0,(function*(){return this.changeDeliveryTerminForArticle(t,e)}))))}changeDeliveryTerminForArticle(e,t){const n=new s.f({AUTON:e.AUTON,LIEFERTERMIN:t.toDateString()},this._backendService.getShsSettings("UpdateWarenkorbPositionLiefertermin"));return e.LIEFERTERMIN=t,this._httpService.post(n).toPromise()}validateOrder(e){return g(this,void 0,void 0,(function*(){const t=new r.i({encoder:new s.g}).set("ARG_F_MENGE",e.MENGE.toString()).set("ARG_INTARTID",e.INT_ART_ID).set("ARG_KST",e.KOSTENSTELLE?e.KOSTENSTELLE:this._userService.selectedCostCenter.BUCHEN).set("ARG_PRJ_ID",e.PRJ_ID).set("ARG_LIEFERANT",e.LIEFERANTEN_NR).set("ARG_PREIS",e.PREIS?e.PREIS.toString():null).set("ARG_PE_",e.PE_?e.PE_.toString():null).set("ARG_RAB",e.RAB_?e.RAB_.toString():null).set("AUTON_VERPACKUNG",e.AUTON_VERPACKUNG?String(e.AUTON_VERPACKUNG):null),n=new s.d(t,this._backendService.getShsSettings("Vali_Anfo"));return this._httpService.get(n).toPromise()}))}setDeliveryAddressForMarkedArticles(e){this.shoppingCart.deliveryAddressForMarkedArticles=e}orderShoppingCartInternal(e){return g(this,void 0,void 0,(function*(){const t=this.sysIniService.getShoppingCartSettings().showSum,n=this.shoppingCart.deliveryAddressForMarkedArticles,r=new s.f({ARG_FK_LIEFER_ADR:n?n.AUTON:null},this._backendService.getShsSettings(e));
1if(yield this._httpService.post(r).toPromise(),this.shoppingCart.deleteAllMarkedArticles(),this.shoppingCart.deliveryAddressForMarkedArticles=null,this.shoppingCartChanged.next(this.shoppingCart),t){const e=yield this.getSummary();this.summaryChanged.next(e)}this.articlesCopy.length=0,this.shoppingCart.articles.forEach(e=>{e.ISUPDATED=!0,this.articlesCopy.push(JSON.parse(JSON.stringify(e)))})}))}getIndexFromArticle(e){return this._shoppingCart.articles.findIndex(t=>t.AUTON===e.AUTON)}checkIfArticleAlreadyAdded(e){return Boolean(e.AUTON)&&this.getIndexFromArticle(e)>-1}addArticleToDb(e){e.returnKey="AUTON",e.UN_MARKED=!0;const t=new s.f(e,this._backendService.getShsSettings("F\xfcgeArtikelWarenkorbHinzu")),n=new Date;return e.LIEFERTERMIN=new Date(n.setDate(n.getDate()+2)),this._httpService.post(t).toPromise().then(t=>{e.AUTON=t.returnValue,delete e.returnKey})}removeArticleFromDb(e){const t=new s.f({AUTON:e.AUTON},this._backendService.getShsSettings("EntferneArtikelVomWarenkorb"));return this._httpService.post(t).toPromise()}getSummary(){return g(this,void 0,void 0,(function*(){const e=new s.d(null,this._backendService.getShsSettings("HoleWkZusammenfassung")),t=yield this._httpService.get(e).toPromise();return t&&t.length>0?t:null}))}toggleSelectAll(){return g(this,void 0,void 0,(function*(){const e=new s.f(null,this._backendService.getShsSettings("TooglePositionSelAll"));yield this._httpService.post(e).toPromise(),this.shoppingCart.articles.forEach(e=>e.UN_MARKED=!0),this.shoppingCart.updateSelectedArticlesWithDeliveryAddress()}))}toggleSelection(){return g(this,void 0,void 0,(function*(){const e=new s.f(null,this._backendService.getShsSettings("TooglePositionBestellen"));yield this._httpService.post(e).toPromise(),this.shoppingCart.articles.forEach(e=>e.UN_MARKED=!e.UN_MARKED),this.shoppingCart.updateSelectedArticlesWithDeliveryAddress()}))}}return e.ngInjectableDef=p.Ub({factory:function(){return new e(p.Vb(f.a),p.Vb(c.a),p.Vb(a.a),p.Vb(l.a),p.Vb(u.a),p.Vb(h.a))},token:e,providedIn:"root"}),e})()},aHM3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n("8Y7J"),n("s7LF");class r{constructor(e){this.cdr=e,this.onChange=Function.prototype,this.onTouched=Function.prototype}get value(){return this._value}set value(e){this._value=e}writeValue(e){this._value=e,this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}}class i{constructor(e,t,n,r){this.el=e,this.cdr=t,this.group=n,this.renderer=r,this.onChange=Function.prototype,this.onTouched=Function.prototype}get value(){return this.group?this.group.value:this._value}set value(e){this.group?this.group.value=e:this._value=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.setDisabledState(e)}get isActive(){return this.btnRadio===this.value}
1onClick(){this.el.nativeElement.attributes.disabled||!this.uncheckable&&this.btnRadio===this.value||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio,this._onChange(this.value))}ngOnInit(){this.uncheckable=void 0!==this.uncheckable}onBlur(){this.onTouched()}_onChange(e){if(this.group)return this.group.onTouched(),void this.group.onChange(e);this.onTouched(),this.onChange(e)}writeValue(e){this.value=e,this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}}class o{static forRoot(){return{ngModule:o,providers:[]}}}},atuK:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return K}));var r=n("8Y7J"),i=n("ienR"),o=n("SVse"),s=(n("s7LF"),n("2uy1")),a=r.rb({encapsulation:2,styles:[],data:{animation:[{type:7,name:"datepickerAnimation",definitions:[{type:0,name:"animated-down",styles:{type:6,styles:{height:"*",overflow:"hidden"},offset:null},options:void 0},{type:1,expr:"* => animated-down",animation:[{type:6,styles:{height:0,overflow:"hidden"},offset:null},{type:4,styles:null,timings:"220ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},{type:0,name:"animated-up",styles:{type:6,styles:{height:"*",overflow:"hidden"},offset:null},options:void 0},{type:1,expr:"* => animated-up",animation:[{type:6,styles:{height:"*",overflow:"hidden"},offset:null},{type:4,styles:null,timings:"220ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},{type:1,expr:"* => unanimated",animation:{type:4,styles:null,timings:"0s"},options:null}],options:{}}]}});function l(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"bs-days-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onHoverWeek"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.dayHoverHandler(n)&&r),"onHoverWeek"===t&&(r=!1!==i.weekHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.daySelectHandler(n)&&r),r}),de,oe)),r.sb(1,49152,null,0,i.B,[i.a],{calendar:[0,"calendar"],options:[1,"options"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"}),r.Ib(131072,o.b,[r.h]),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,r.Pb(t,1,1,r.Gb(t,2).transform(n.options)))}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,3).transform(i.daysCalendar)))?null:n.length)>1)}))}function u(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,l)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.daysCalendar)))}),null)}function c(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"bs-month-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.monthHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.monthSelectHandler(n)&&r),r}),ge,he)),r.sb(1,49152,null,0,i.C,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"}),r.Ib(131072,o.b,[r.h])],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,2).transform(i.daysCalendar)))?null:n.length)>1)}))}function d(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,c)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.monthsCalendar)))}),null)}function h(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"bs-years-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.yearHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.yearSelectHandler(n)&&r),r}),_e,me)),r.sb(1,49152,null,0,i.D,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"}),r.Ib(131072,o.b,[r.h])],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,2).transform(i.daysCalendar)))?null:n.length)>1)}))}function p(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,h)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.yearsCalendar)))}),null)}function f(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,"div",[["class","bs-datepicker-buttons"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"button",[["class","btn btn-success"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Apply"])),(e()(),r.tb(3,0,null,null,1,"button",[["class","btn btn-default"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Cancel"]))],null,null)}function g(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["class","bs-datepicker-custom-range"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"bs-custom-date-view",[],null,
1null,null,Ce,ve)),r.sb(2,49152,null,0,i.E,[],{ranges:[0,"ranges"]},null)],(function(e,t){e(t,2,0,t.component._customRangesFish)}),null)}function m(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,16,"div",[["class","bs-datepicker"]],null,null,null,null,null)),r.Lb(512,null,o.C,o.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,o.l,[o.C],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),r.tb(3,0,null,null,11,"div",[["class","bs-datepicker-container"]],[[24,"@datepickerAnimation",0]],[[null,"@datepickerAnimation.done"]],(function(e,t,n){var r=!0;return"@datepickerAnimation.done"===t&&(r=!1!==e.component.positionServiceEnable()&&r),r}),null,null)),(e()(),r.tb(4,0,null,null,8,"div",[["class","bs-calendar-container"],["role","application"]],null,null,null,null,null)),r.sb(5,16384,null,0,o.r,[],{ngSwitch:[0,"ngSwitch"]},null),r.Ib(131072,o.b,[r.h]),(e()(),r.ib(16777216,null,null,1,null,u)),r.sb(8,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,d)),r.sb(10,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,p)),r.sb(12,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,f)),r.sb(14,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,g)),r.sb(16,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"bs-datepicker",n.containerClass),e(t,5,0,r.Pb(t,5,0,r.Gb(t,6).transform(n.viewMode))),e(t,8,0,"day"),e(t,10,0,"month"),e(t,12,0,"year"),e(t,14,0,!1),e(t,16,0,!1)}),(function(e,t){e(t,3,0,t.component.animationState)}))}function y(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,2,null,m)),r.sb(1,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform(n.viewMode)))}),null)}function b(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"bs-datepicker-container",[["aria-label","calendar"],["class","bottom"],["role","dialog"]],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,3)._stopPropagation(n)&&i),i}),y,a)),r.Lb(512,null,i.t,i.t,[]),r.Lb(512,null,i.u,i.u,[i.v,i.l]),r.sb(3,245760,null,0,i.b,[r.C,i.a,i.t,r.k,i.v,i.u,s.a],null,null)],(function(e,t){e(t,3,0)}),null)}var _=r.pb("bs-datepicker-container",i.b,b,{},{},[]),v=r.rb({encapsulation:2,styles:[],data:{animation:[{type:7,name:"datepickerAnimation",definitions:[{type:0,name:"animated-down",styles:{type:6,styles:{height:"*",overflow:"hidden"},offset:null},options:void 0},{type:1,expr:"* => animated-down",animation:[{type:6,styles:{height:0,overflow:"hidden"},offset:null},{type:4,styles:null,timings:"220ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},{type:0,name:"animated-up",styles:{type:6,styles:{height:"*",overflow:"hidden"},offset:null},options:void 0},{type:1,expr:"* => animated-up",animation:[{type:6,styles:{height:"*",overflow:"hidden"},offset:null},{type:4,styles:null,timings:"220ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},{type:1,expr:"* => unanimated",animation:{type:4,styles:null,timings:"0s"},options:null}],options:{}}]}});function E(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"bs-days-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onHoverWeek"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.dayHoverHandler(n)&&r),"onHoverWeek"===t&&(r=!1!==i.weekHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.daySelectHandler(n)&&r),r}),de,oe)),r.sb(1,49152,null,0,i.B,[i.a],{calendar:[0,"calendar"],options:[1,"options"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"}),r.Ib(131072,o.b,[r.h]),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,r.Pb(t,1,1,r.Gb(t,2).transform(n.options)))}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,3).transform(i.daysCalendar)))?null:n.length)>1)}))}function S(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,E)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.daysCalendar)))}),null)}function C(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"bs-month-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.monthHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.monthSelectHandler(n)&&r),r}),ge,he)),r.sb(1,49152,null,0,i.C,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"}),r.Ib(131072,o.b,[r.h])],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,2).transform(i.daysCalendar)))?null:n.length)>1)}))}function w(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,C)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.monthsCalendar)))}),null)}function T(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"bs-years-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.yearHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.yearSelectHandler(n)&&r),r}),_e,me)),r.sb(1,49152,null,0,i.D,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"}),r.Ib(131072,o.b,[r.h])],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,2).transform(i.daysCalendar)))?null:n.length)>1)}))}function x(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,T)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.yearsCalendar)))}),null)}function O(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,"div",[["class","bs-datepicker-buttons"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"button",[["class","btn btn-success"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Apply"])),(e()(),r.tb(3,0,null,null,1,"button",[["class","btn btn-default"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Cancel"]))],null,null)}function A(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["class","bs-datepicker-custom-range"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"bs-custom-date-view",[],null,
1null,null,Ce,ve)),r.sb(2,49152,null,0,i.E,[],{ranges:[0,"ranges"]},null)],(function(e,t){e(t,2,0,t.component._customRangesFish)}),null)}function D(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,16,"div",[["class","bs-datepicker"]],null,null,null,null,null)),r.Lb(512,null,o.C,o.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,o.l,[o.C],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),r.tb(3,0,null,null,11,"div",[["class","bs-datepicker-container"]],[[24,"@datepickerAnimation",0]],[[null,"@datepickerAnimation.done"]],(function(e,t,n){var r=!0;return"@datepickerAnimation.done"===t&&(r=!1!==e.component.positionServiceEnable()&&r),r}),null,null)),(e()(),r.tb(4,0,null,null,8,"div",[["class","bs-calendar-container"],["role","application"]],null,null,null,null,null)),r.sb(5,16384,null,0,o.r,[],{ngSwitch:[0,"ngSwitch"]},null),r.Ib(131072,o.b,[r.h]),(e()(),r.ib(16777216,null,null,1,null,S)),r.sb(8,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,w)),r.sb(10,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,x)),r.sb(12,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,O)),r.sb(14,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,A)),r.sb(16,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"bs-datepicker",n.containerClass),e(t,5,0,r.Pb(t,5,0,r.Gb(t,6).transform(n.viewMode))),e(t,8,0,"day"),e(t,10,0,"month"),e(t,12,0,"year"),e(t,14,0,!1),e(t,16,0,!1)}),(function(e,t){e(t,3,0,t.component.animationState)}))}function I(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,2,null,D)),r.sb(1,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform(n.viewMode)))}),null)}function R(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"bs-datepicker-inline-container",[],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,3)._stopPropagation(n)&&i),i}),I,v)),r.Lb(512,null,i.t,i.t,[]),r.Lb(512,null,i.u,i.u,[i.v,i.l]),r.sb(3,245760,null,0,i.e,[r.C,i.a,i.t,r.k,i.v,i.u,s.a],null,null)],(function(e,t){e(t,3,0)}),null)}var N=r.pb("bs-datepicker-inline-container",i.e,R,{},{},[]),k=r.rb({encapsulation:2,styles:[],data:{animation:[{type:7,name:"datepickerAnimation",definitions:[{type:0,name:"animated-down",styles:{type:6,styles:{height:"*",overflow:"hidden"},offset:null},options:void 0},{type:1,expr:"* => animated-down",animation:[{type:6,styles:{height:0,overflow:"hidden"},offset:null},{type:4,styles:null,timings:"220ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},{type:0,name:"animated-up",styles:{type:6,styles:{height:"*",overflow:"hidden"},offset:null},options:void 0},{type:1,expr:"* => animated-up",animation:[{type:6,styles:{height:"*",overflow:"hidden"},offset:null},{type:4,styles:null,timings:"220ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},{type:1,expr:"* => unanimated",animation:{type:4,styles:null,timings:"0s"},options:null}],options:{}}]}});function M(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"bs-days-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onHoverWeek"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.dayHoverHandler(n)&&r),"onHoverWeek"===t&&(r=!1!==i.weekHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.daySelectHandler(n)&&r),r}),de,oe)),r.sb(1,49152,null,0,i.B,[i.a],{calendar:[0,"calendar"],options:[1,"options"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"}),r.Ib(131072,o.b,[r.h]),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,r.Pb(t,1,1,r.Gb(t,2).transform(n.options)))}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,3).transform(i.daysCalendar)))?null:n.length)>1)}))}function F(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,M)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.daysCalendar)))}),null)}function P(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"bs-month-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.monthHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.monthSelectHandler(n)&&r),r}),ge,he)),r.sb(1,49152,null,0,i.C,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"}),r.Ib(131072,o.b,[r.h])],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,2).transform(i.daysCalendar)))?null:n.length)>1)}))}function L(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,P)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.monthsCalendar)))}),null)}function U(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"bs-years-calendar-view",[],[[2,"bs-datepicker-multiple",null]],[[null,"onNavigate"],[null,"onViewMode"],[null,"onHover"],[null,"onSelect"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.setViewMode(n)&&r),"onHover"===t&&(r=!1!==i.yearHoverHandler(n)&&r),"onSelect"===t&&(r=!1!==i.yearSelectHandler(n)&&r),r}),_e,me)),r.sb(1,49152,null,0,i.D,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"}),r.Ib(131072,o.b,[r.h])],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){var n,i=t.component;e(t,0,0,(null==(n=r.Pb(t,0,0,r.Gb(t,2).transform(i.daysCalendar)))?null:n.length)>1)}))}function G(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[["class","bs-media-container"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,2,null,U)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform(n.yearsCalendar)))}),null)}function H(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,"div",[["class","bs-datepicker-buttons"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"button",[["class","btn btn-success"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Apply"])),(e()(),r.tb(3,0,null,null,1,"button",[["class","btn btn-default"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Cancel"]))],null,null)}function B(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["class","bs-datepicker-custom-range"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"bs-custom-date-view",[],null,
1null,null,Ce,ve)),r.sb(2,49152,null,0,i.E,[],{ranges:[0,"ranges"]},null)],(function(e,t){e(t,2,0,t.component._customRangesFish)}),null)}function j(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,16,"div",[["class","bs-datepicker"]],null,null,null,null,null)),r.Lb(512,null,o.C,o.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,o.l,[o.C],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),r.tb(3,0,null,null,11,"div",[["class","bs-datepicker-container"]],[[24,"@datepickerAnimation",0]],[[null,"@datepickerAnimation.done"]],(function(e,t,n){var r=!0;return"@datepickerAnimation.done"===t&&(r=!1!==e.component.positionServiceEnable()&&r),r}),null,null)),(e()(),r.tb(4,0,null,null,8,"div",[["class","bs-calendar-container"],["role","application"]],null,null,null,null,null)),r.sb(5,16384,null,0,o.r,[],{ngSwitch:[0,"ngSwitch"]},null),r.Ib(131072,o.b,[r.h]),(e()(),r.ib(16777216,null,null,1,null,F)),r.sb(8,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,L)),r.sb(10,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,G)),r.sb(12,278528,null,0,o.s,[r.N,r.K,o.r],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r.ib(16777216,null,null,1,null,H)),r.sb(14,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,B)),r.sb(16,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"bs-datepicker",n.containerClass),e(t,5,0,r.Pb(t,5,0,r.Gb(t,6).transform(n.viewMode))),e(t,8,0,"day"),e(t,10,0,"month"),e(t,12,0,"year"),e(t,14,0,!1),e(t,16,0,!1)}),(function(e,t){e(t,3,0,t.component.animationState)}))}function V(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,2,null,j)),r.sb(1,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Ib(131072,o.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform(n.viewMode)))}),null)}function W(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"bs-daterangepicker-container",[["aria-label","calendar"],["class","bottom"],["role","dialog"],["style","position: absolute; display: block;"]],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,3)._stopPropagation(n)&&i),i}),V,k)),r.Lb(512,null,i.u,i.u,[i.v,i.l]),r.Lb(512,null,i.t,i.t,[]),r.sb(3,245760,null,0,i.i,[i.u,i.v,i.a,i.t,r.k,s.a],null,null)],(function(e,t){e(t,3,0)}),null)}var K=r.pb("bs-daterangepicker-container",i.i,W,{},{},[]),q=r.rb({encapsulation:2,styles:[],data:{}});function z(e){return r.Qb(2,[(e()(),r.Ob(0,null,["",""]))],null,(function(e,t){e(t,0,0,t.component.day.label)}))}var Y=r.rb({encapsulation:2,styles:[],data:{}});function $(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["class","current-timedate"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(2,null,["",""]))],null,(function(e,t){e(t,2,0,t.component.title)}))}var Q=r.rb({encapsulation:2,styles:[],data:{}});function Z(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"button",[["class","current"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.view("month")&&r),r}),null,null)),(e()(),r.tb(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(2,null,["",""]))],null,(function(e,t){e(t,2,0,t.component.calendar.monthTitle)}))}function J(e){return r.Qb(2,[(e()(),r.tb(0,0,null,null,2,"button",[["class","previous"]],[[8,"disabled",0],[4,"visibility",null]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.navTo(!0)&&r),r}),null,null)),(e()(),r.tb(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(-1,null,["\u2039"])),(e()(),r.Ob(-1,null,[" \u200b "])),(e()(),r.ib(16777216,null,null,1,null,Z)),r.sb(5,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.Ob(-1,null,[" \u200b "])),(e()(),r.tb(7,0,null,null,2,"button",[["class","current"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.view("year")&&r),r}),null,null)),(e()(),r.tb(8,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(9,null,["",""])),(e()(),r.Ob(-1,null,[" \u200b "])),(e()(),r.tb(11,0,null,null,2,"button",[["class","next"]],[[8,"disabled",0],[4,"visibility",null]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.navTo(!1)&&r),r}
1),null,null)),(e()(),r.tb(12,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(-1,null,["\u203a"]))],(function(e,t){e(t,5,0,t.component.calendar.monthTitle)}),(function(e,t){var n=t.component;e(t,0,0,n.calendar.disableLeftArrow,n.calendar.hideLeftArrow?"hidden":"visible"),e(t,9,0,n.calendar.yearTitle),e(t,11,0,n.calendar.disableRightArrow,n.calendar.hideRightArrow?"hidden":"visible")}))}var X=r.rb({encapsulation:2,styles:[],data:{}});function ee(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,15,"div",[["class","bs-timepicker-container"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,5,"div",[["class","bs-timepicker-controls"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,1,"button",[["class","bs-decrease"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["-"])),(e()(),r.tb(4,0,null,null,0,"input",[["placeholder","00"],["type","text"]],[[8,"value",0]],null,null,null,null)),(e()(),r.tb(5,0,null,null,1,"button",[["class","bs-increase"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["+"])),(e()(),r.tb(7,0,null,null,5,"div",[["class","bs-timepicker-controls"]],null,null,null,null,null)),(e()(),r.tb(8,0,null,null,1,"button",[["class","bs-decrease"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["-"])),(e()(),r.tb(10,0,null,null,0,"input",[["placeholder","00"],["type","text"]],[[8,"value",0]],null,null,null,null)),(e()(),r.tb(11,0,null,null,1,"button",[["class","bs-increase"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["+"])),(e()(),r.tb(13,0,null,null,2,"button",[["class","switch-time-format"]],null,null,null,null,null)),(e()(),r.Ob(14,null,[""," "])),(e()(),r.tb(15,0,null,null,0,"img",[["alt",""],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg=="]],null,null,null,null,null))],null,(function(e,t){var n=t.component;e(t,4,0,n.hours),e(t,10,0,n.minutes),e(t,14,0,n.ampm)}))}var te=r.rb({encapsulation:2,styles:[],data:{}});function ne(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"bs-current-date",[["title","hey there"]],null,null,null,$,Y)),r.sb(1,49152,null,0,i.x,[],{title:[0,"title"]},null)],(function(e,t){e(t,1,0,"hey there")}),null)}function re(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"bs-timepicker",[],null,null,null,ee,X)),r.sb(1,49152,null,0,i.z,[],null,null)],null,null)}function ie(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,ne)),r.sb(1,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.tb(2,0,null,null,1,"div",[["class","bs-datepicker-head"]],null,null,null,null,null)),r.Fb(null,0),(e()(),r.tb(4,0,null,null,1,"div",[["class","bs-datepicker-body"]],null,null,null,null,null)),r.Fb(null,1),(e()(),r.ib(16777216,null,null,1,null,re)),r.sb(7,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,1,0,!1),e(t,7,0,!1)}),null)}var oe=r.rb({encapsulation:2,styles:[],data:{}});function se(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,0,"th",[],null,null,null,null,null))],null,null)}function ae(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"th",[["aria-label","weekday"]],null,null,null,null,null)),(e()(),r.Ob(1,null,[""," "]))],null,(function(e,t){e(t,1,0,t.component.calendar.weekdays[t.context.index])}))}function le(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"td",[["class","week"]],[[2,"active-week",null]],null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"span",[],null,[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.selectWeek(e.parent.context.$implicit)&&r),"mouseenter"===t&&(r=!1!==i.weekHoverHandler(e.parent.context.$implicit,!0)&&r),"mouseleave"===t&&(r=!1!==i.weekHoverHandler(e.parent.context.$implicit,!1)&&r),r}),null,null)),(e()(),r.Ob(2,null,["",""]))],null,(function(e,t){var n=t.component;e(t,0,0,n.isWeekHovered),e(t,2,0,n.calendar.weekNumbers[t.parent.context.
1index])}))}function ue(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"td",[["role","gridcell"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,2,"span",[["bsDatepickerDayDecorator",""]],[[2,"disabled",null],[2,"is-highlighted",null],[2,"is-other-month",null],[2,"is-active-other-month",null],[2,"in-range",null],[2,"select-start",null],[2,"select-end",null],[2,"selected",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.selectDay(e.context.$implicit)&&r),"mouseenter"===t&&(r=!1!==i.hoverDay(e.context.$implicit,!0)&&r),"mouseleave"===t&&(r=!1!==i.hoverDay(e.context.$implicit,!1)&&r),r}),z,q)),r.sb(2,114688,null,0,i.w,[i.a,r.k,r.C],{day:[0,"day"]},null),(e()(),r.Ob(3,null,["",""]))],(function(e,t){e(t,2,0,t.context.$implicit)}),(function(e,t){e(t,1,0,r.Gb(t,2).day.isDisabled,r.Gb(t,2).day.isHovered,r.Gb(t,2).day.isOtherMonth,r.Gb(t,2).day.isOtherMonthHovered,r.Gb(t,2).day.isInRange,r.Gb(t,2).day.isSelectionStart,r.Gb(t,2).day.isSelectionEnd,r.Gb(t,2).day.isSelected),e(t,3,0,t.context.$implicit.label)}))}function ce(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,le)),r.sb(2,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,ue)),r.sb(4,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.options.showWeekNumbers),e(t,4,0,t.context.$implicit.days)}),null)}function de(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,13,"bs-calendar-layout",[],null,null,null,ie,te)),r.sb(1,49152,null,0,i.A,[],null,null),(e()(),r.tb(2,0,null,0,1,"bs-datepicker-navigation-view",[],null,[[null,"onNavigate"],[null,"onViewMode"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.changeViewMode(n)&&r),r}),J,Q)),r.sb(3,49152,null,0,i.y,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode"}),(e()(),r.tb(4,0,null,1,9,"table",[["class","days weeks"],["role","grid"]],null,null,null,null,null)),(e()(),r.tb(5,0,null,null,5,"thead",[],null,null,null,null,null)),(e()(),r.tb(6,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,se)),r.sb(8,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,ae)),r.sb(10,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.tb(11,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,ce)),r.sb(13,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.calendar),e(t,8,0,n.options.showWeekNumbers),e(t,10,0,n.calendar.weekdays),e(t,13,0,n.calendar.weeks)}),null)}var he=r.rb({encapsulation:2,styles:[],data:{}});function pe(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"td",[["role","gridcell"]],[[2,"disabled",null],[2,"is-highlighted",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.viewMonth(e.context.$implicit)&&r),"mouseenter"===t&&(r=!1!==i.hoverMonth(e.context.$implicit,!0)&&r),"mouseleave"===t&&(r=!1!==i.hoverMonth(e.context.$implicit,!1)&&r),r}),null,null)),(e()(),r.tb(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(2,null,["",""]))],null,(function(e,t){e(t,0,0,t.context.$implicit.isDisabled,t.context.$implicit.isHovered),e(t,2,0,t.context.$implicit.label)}))}function fe(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"tr",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,pe)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.context.$implicit)}),null)}function ge(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"bs-calendar-layout",[],null,null,null,ie,te)),r.sb(1,49152,null,0,i.A,[],null,null),(e()(),r.tb(2,0,null,0,1,"bs-datepicker-navigation-view",[],null,[[null,"onNavigate"],[null,"onViewMode"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.changeViewMode(n)&&r),r}),J,Q)),r.sb(3,49152,null,0,i.y,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode"}),(e()(),r.tb(4,0,null,1,3,"table",[["class","months"],["role","grid"]],null,null,null,null,null)),(e()(),r.tb(5,0,null,null,2,"tbody",[],null,
1null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,fe)),r.sb(7,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.calendar),e(t,7,0,n.calendar.months)}),null)}var me=r.rb({encapsulation:2,styles:[],data:{}});function ye(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"td",[["role","gridcell"]],[[2,"disabled",null],[2,"is-highlighted",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.viewYear(e.context.$implicit)&&r),"mouseenter"===t&&(r=!1!==i.hoverYear(e.context.$implicit,!0)&&r),"mouseleave"===t&&(r=!1!==i.hoverYear(e.context.$implicit,!1)&&r),r}),null,null)),(e()(),r.tb(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r.Ob(2,null,["",""]))],null,(function(e,t){e(t,0,0,t.context.$implicit.isDisabled,t.context.$implicit.isHovered),e(t,2,0,t.context.$implicit.label)}))}function be(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"tr",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,ye)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.context.$implicit)}),null)}function _e(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"bs-calendar-layout",[],null,null,null,ie,te)),r.sb(1,49152,null,0,i.A,[],null,null),(e()(),r.tb(2,0,null,0,1,"bs-datepicker-navigation-view",[],null,[[null,"onNavigate"],[null,"onViewMode"]],(function(e,t,n){var r=!0,i=e.component;return"onNavigate"===t&&(r=!1!==i.navigateTo(n)&&r),"onViewMode"===t&&(r=!1!==i.changeViewMode(n)&&r),r}),J,Q)),r.sb(3,49152,null,0,i.y,[],{calendar:[0,"calendar"]},{onNavigate:"onNavigate",onViewMode:"onViewMode"}),(e()(),r.tb(4,0,null,1,3,"table",[["class","years"],["role","grid"]],null,null,null,null,null)),(e()(),r.tb(5,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,be)),r.sb(7,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.calendar),e(t,7,0,n.calendar.years)}),null)}var ve=r.rb({encapsulation:2,styles:[],data:{}});function Ee(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"button",[],null,null,null,null,null)),(e()(),r.Ob(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.context.$implicit.label)}))}function Se(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"button",[],null,null,null,null,null)),(e()(),r.Ob(-1,null,["Custom Range"]))],null,null)}function Ce(e){return r.Qb(2,[(e()(),r.tb(0,0,null,null,4,"div",[["class","bs-datepicker-predefined-btns"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,Ee)),r.sb(2,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.ib(16777216,null,null,1,null,Se)),r.sb(4,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.ranges),e(t,4,0,n.isCustomRangeShown)}),null)}},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(r.a)(i.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},c44P:function(e,t,n){"use strict";var r=n("cGv3").getWindow(),i=n("ti0F"),o=["auto","none","inherit","initial"],s=function(e,t){var n=0;return t.forEach((function(t){n+=parseFloat(e[t])||0})),n},a=function(e,t){var n="width"===e?"Left":"Top",r="width"===e?"Right":"Bottom";return{padding:s(t,["padding"+n,"padding"+r]),border:s(t,["border"+n+"Width","border"+r+"Width"]),margin:s(t,["margin"+n,"margin"+r])}},l=function(e,t){return e.indexOf("px")>0?e=parseInt(e.replace("px","")):e.indexOf("%")>0?e=parseInt(e.replace("%",""))*function(e){return i.isWindow(e)?e.innerHeight:e.offsetHeight}(t)/100:isNaN(e)||(e=parseInt(e)),e},u=function(e,t,n){return e?o.indexOf(e)>-1?t?null:e:(i.isString(e)&&(e=l(e,n)),i.isNumeric(e)?Math.max(0,e+t):"calc("+e+(t<0?" - ":" ")+Math.abs(t)+"px)"):null};t.getSize=function(e,t,n){var i=r.getComputedStyle(e),o=a(t,i),s=e.getClientRects().length,l=e.getBoundingClientRect()[t],u=s?l:0;return u<=0?(u=parseFloat(i[t]||e.style[t])||0,u-=function(e,t,n){var r=t[e];return"border-box"===t.boxSizing&&r.length&&"%"!==r[r.length-1]?n.border+n.padding:0}(t,i,o)):u-=o.padding+o.border,n.paddings&&(u+=o.padding),n.borders&&(u+=o.border),n.margins&&(u+=o.margin),u},t.getElementBoxParams=a,t.addOffsetToMaxHeight=function(e,t,n){var r=u(e,t,n);return null!==r?r:"none"},t.addOffsetToMinHeight=function(e,t,n){var r=u(e,t,n);return null!==r?r:0},t.getVerticalOffsets=function(e,t){if(!e)return 0;var n=a("height",r.getComputedStyle(e));return n.padding+n.border+(t?n.margin:0)},t.getVisibleHeight=function(e){if(e){var t=e.getBoundingClientRect();if(t.height)return t.height}return 0},t.parseHeight=l},cGv3:function(e,t,n){"use strict";var r=n("tUd6"),i="undefined"!=typeof window,o=i&&window;o||((o={}).window=o),e.exports={hasWindow:function(){return i},getWindow:function(){return o},hasProperty:function(e){return this.hasWindow()&&e in o},defaultScreenFactorFunc:function(e){return e<768?"xs":e<992?"sm":e<1200?"md":"lg"},getCurrentScreenFactor:function(e){return(e||this.defaultScreenFactorFunc)(r.getDocumentElement().clientWidth)},getNavigator:function(){return this.hasWindow()?o.navigator:{userAgent:""}}}},cUpR:function(e,t,n){"use strict";n.d(t,"t",(function(){return de})),n.d(t,"u",(function(){return ye})),n.d(t,"v",(function(){return S})),n.d(t,"a",(function(){return he})),n.d(t,"l",(function(){return ce})),n.d(t,"i",(function(){return fe})),n.d(t,"b",(function(){return be})),n.d(t,"j",(function(){return me})),n.d(t,"k",(function(){return ge})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return Y})),n.d(t,"g",(function(){return $})),n.d(t,"h",(function(){return Q})),n.d(t,"c",(function(){return te})),n.d(t,"w",(function(){return s})),n.d(t,"n",(function(){return N})),n.d(t,"m",(function(){return q})),n.d(t,"q",(function(){return Z})),n.d(t,"r",(function(){return ee})),n.d(t,"p",(function(){return O})),n.d(t,"s",(function(){return x})),n.d(t,"o",(function(){return ne}));var r=n("SVse"),i=n("8Y7J");let o=null;function s(){return o}const a={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},l={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},u={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c=(()=>
vendor: 6,090 bytes, line 1
1{if(i.wb.Node)return i.wb.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class d extends class extends class{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n<t.length;n++)if(null!=this.getStyle(e,t[n]+"AnimationName")){this._animationPrefix="-"+t[n].toLowerCase()+"-";break}}const t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(t).forEach(n=>{null!=this.getStyle(e,n)&&(this._transitionEnd=t[n])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new d,o||(o=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return a}contains(e,t){return c.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}
1isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&u.hasOwnProperty(t)&&(t=u[t]))}return l[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=p||(p=document.querySelector("base"),p)?p.getAttribute("href"):null;return null==t?null:(n=t,h||(h=document.createElement("a")),h.setAttribute("href",n),"/"===h.pathname.charAt(0)?h.pathname:"/"+h.pathname);var n}resetBaseElement(){p=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.I)(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let h,p=null;function f(){return!!window.history.pushState}let g=(()=>{class e extends r.w{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){f()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=()=>[{type:void 0,decorators:[{type:i.o,args:[r.e]}]}],e})();const m=new i.p("TRANSITION_ID"),y=[{provide:i.d,useFactory:function(e,t,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=s();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[m,r.e,i.q],multi:!0}];class b{static init(){Object(i.Y)(new b)}addToWindow(e){i.wb.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.wb.getAllAngularTestabilities=()=>e.getAllTestabilities(),i.wb.getAllAngularRootElements=()=>e.getAllRootElements(),i.wb.frameworkStabilizers||(i.wb.frameworkStabilizers=[]),i.wb.frameworkStabilizers.push(e=>{const t=i.wb.getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(o)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?s().isShadowRoot(t)?this.findTestabilityInTree(e,s().getHost(t),!0):this.findTestabilityInTree(e,s().parentElement(t),!0):null}}function _(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i.wb.ng=i.wb.ng||{})[e]=t)}const v=(()=>({ApplicationRef:i.g,NgZone:i.y}))();function E(e){return Object(i.U)(e)}function S(e){return _("probe",E),_("coreTokens",Object.assign({},v,(e||[]).reduce((e,t)=>
vendor: 5,822 bytes, line 1
1(e[t.name]=t.token,e),{}))),()=>E}const C=new i.p("EventManagerPlugins");class w{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}class T{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=s().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}class x{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class O extends x{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>s().remove(e))}}const A={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/"},D=/%COMP%/g;function I(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?I(e,i,n):(i=i.replace(D,e),n.push(i))}return n}function R(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class N{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new k(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.O.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new P(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case i.O.Native:case i.O.ShadowDom:return new L(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=I(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class k{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(A[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let 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}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=A[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=A[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&i.E.DashCase?e.style.setProperty(t,n,r&i.E.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.E.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){F(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return F(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,R(n)):this.eventManager.addEventListener(e,t,R(n))}}const M=(()=>"@".charCodeAt(0))();function F(e,t){if(e.charCodeAt(0)===M)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class P extends k{constructor(e,t,n,r){super(e),this.component=n;const i=I(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(D,r+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(D,e)}(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class L extends k{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===i.O.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=I(r.id,r.styles,[]);for(let i=0;i<o.length;i++){const e=document.createElement("style");e.textContent=o[i],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const U=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),G=U("addEventListener"),H=U("removeEventListener"),B={},j="__zone_symbol__propagationStopped",V=(()=>{const e="undefined"!=typeof Zone&&Zone[U("BLACK_LISTED_EVENTS")];if(e){const t={};
1return e.forEach(e=>{t[e]=e}),t}})(),W=function(e){return!!V&&V.hasOwnProperty(e)},K=function(e){const t=B[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[j];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};class q extends T{constructor(e,t,n){super(e),this.ngZone=t,n&&Object(r.A)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[j]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[G]||i.y.isInAngularZone()&&!W(t))e.addEventListener(t,r,!1);else{let n=B[t];n||(n=B[t]=U("ANGULAR"+t+"FALSE"));let i=e[n];const o=i&&i.length>0;i||(i=e[n]=[]);const s=W(t)?Zone.root:Zone.current;if(0===i.length)i.push({zone:s,handler:r});else{let e=!1;for(let t=0;t<i.length;t++)if(i[t].handler===r){e=!0;break}e||i.push({zone:s,handler:r})}o||e[G](t,K,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[H];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let i=B[t],o=i&&e[i];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);let s=!1;for(let a=0;a<o.length;a++)if(o[a].handler===n){s=!0,o.splice(a,1);break}s?0===o.length&&r.apply(e,[t,K,!1]):e.removeEventListener.apply(e,[t,n,!1])}}const z={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},Y=new i.p("HammerGestureConfig"),$=new i.p("HammerLoader");class Q{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}class Z extends T{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!z.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))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,i=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});r||(i=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}}),()=>{i()}}return r.runOutsideAngular(()=>{const i=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return i.on(t,o),()=>{i.off(t,o),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}const J=["alt","control","meta","shift"],X={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class ee extends T{constructor(e){super(e)}supports(e){return null!=ee.parseEventName(e)}addEventListener(e,t,n){const r=ee.parseEventName(t),i=ee.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>s().onAndCancel(e,r.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=ee._normalizeKey(t.pop());let i="";if(J.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=r,0!=t.length||0===r.length)return null;const o={};return o.domEventName=n,o.fullKey=i,o}static getEventFullKey(e){let t="",n=s().getEventKey(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),J.forEach(r=>{r!=n&&(0,X[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(e,t,n){return r=>{ee.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class te{}class ne extends te{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.G.NONE:return t;case i.G.HTML:return t instanceof ie?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(i.fb)(this._doc,String(t)));case i.G.STYLE:return t instanceof oe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(i.gb)(t));case i.G.SCRIPT:if(t instanceof se)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case i.G.URL:return t instanceof le||t instanceof ae?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(i.hb)(String(t)));case i.G.RESOURCE_URL:if(t instanceof le)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)`)}}checkNotSafeValue(e,t){if(e instanceof re)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} (see http://g.co/ng/security#xss)`)}bypassSecurityTrustHtml(e){return new ie(e)}bypassSecurityTrustStyle(e){return new oe(e)}bypassSecurityTrustScript(e){return new se(e)}bypassSecurityTrustUrl(e){return new ae(e)}bypassSecurityTrustResourceUrl(e){return new le(e)}}class re{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class ie extends re{getTypeName(){return"HTML"}}class oe extends re{getTypeName(){return"Style"}}
1class se extends re{getTypeName(){return"Script"}}class ae extends re{getTypeName(){return"URL"}}class le extends re{getTypeName(){return"ResourceURL"}}const ue=[{provide:i.A,useValue:r.G},{provide:i.B,useValue:function(){d.makeCurrent(),b.init()},multi:!0},{provide:r.w,useClass:g,deps:[r.e]},{provide:r.e,useFactory:function(){return document},deps:[]}],ce=Object(i.Q)(i.X,"browser",ue);function de(){return new i.l}class he{constructor(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.")}static withServerTransition(e){return{ngModule:he,providers:[{provide:i.c,useValue:e.appId},{provide:m,useExisting:i.c},y]}}}function pe(){return new fe(Object(i.Vb)(r.e))}let fe=(()=>{class e{constructor(e){this._doc=e}getTitle(){return s().getTitle(this._doc)}setTitle(e){s().setTitle(this._doc,e)}}return e.ngInjectableDef=Object(i.Ub)({factory:pe,token:e,providedIn:"root"}),e})();function ge(e){return e}"undefined"!=typeof window&&window;class me{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const t=new me;return t.store=e,t}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}function ye(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return me.init(r)}class be{}},cWtc:function(e,t,n){"use strict";var r=n("1LL4"),i=n("A8u/");function o(e){return(o="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)}var s,a=/[\u200E\u200F]/g,l=function(e){return function(t){if(!e.timeZoneName){var n=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds()),i=(0,r.extend)({timeZone:"UTC"},e);return c(n,i)}return c(t,e)}},u={},c=function(e,t){return function(e){var t=(0,i.locale)()+"/"+JSON.stringify(e);return u[t]||(u[t]=new Intl.DateTimeFormat((0,i.locale)(),e).format),u[t]}(t)(e).replace(a,"")},d=function(e){return new Intl.NumberFormat((0,i.locale)()).format(e)},h=(s={},function(e){if(!(e in s)){if("0"===d(0))return s[e]=!1,!1;s[e]={};for(var t=0;t<10;++t)s[e][d(t)]=t}return s[e]}),p=function(e){var t=h((0,i.locale)());return t?e.split("").map((function(e){return e in t?String(t[e]):e})).join(""):e},f=function(e){return e.replace(/(\D)0+(\d)/g,"$1$2")},g=function(e){return e.replace("d\u2019","de ")},m={day:{day:"numeric"},dayofweek:{weekday:"long"},longdate:{weekday:"long",year:"numeric",month:"long",day:"numeric"},longdatelongtime:{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},longtime:{hour:"numeric",minute:"numeric",second:"numeric"},month:{month:"long"},monthandday:{month:"long",day:"numeric"},monthandyear:{year:"numeric",month:"long"},shortdate:{},shorttime:{hour:"numeric",minute:"numeric"},shortyear:{year:"2-digit"},year:{year:"numeric"}};Object.defineProperty(m,"shortdateshorttime",{get:function(){var e=Intl.DateTimeFormat((0,i.locale)()).resolvedOptions();return{year:e.year,month:e.month,day:e.day,hour:"numeric",minute:"numeric"}}});var y=function(e){return"string"==typeof e&&m[e.toLowerCase()]},b={standalone:function(e,t){var n=new Date(1999,e,13,1);return l({month:t})(n)},format:function(e,t){var n=new Date(0,e,13,1),r=g(l({day:"numeric",month:t})(n)).split(" ").filter((function(e){return e.indexOf("13")<0}));return 1===r.length?r[0]:2===r.length?r[0].length>r[1].length?r[0]:r[1]:b.standalone(e,t)}};e.exports={engine:function(){return"intl"},getMonthNames:function(e,t){var n={wide:"long",abbreviated:"short",narrow:"narrow"}[e||"wide"];return t="format"===t?t:"standalone",Array.apply(null,new Array(12)).map((function(e,r){return b[t](r,n)}))},getDayNames:function(e){return function(e){return Array.apply(null,new Array(7)).map((function(t,n){return l({weekday:e})(new Date(0,0,n))}))}({wide:"long",abbreviated:"short",short:"narrow",narrow:"narrow"}[e||"wide"])},getPeriodNames:function(){var e=l({hour:"numeric",hour12:!0});return[1,13].map((function(t){var n=d(1),r=e(new Date(0,0,1,t)).split(n);return 2!==r.length?"":(r[0].length>r[1].length?r[0]:r[1]).trim()}))},format:function(e,t){if(e){if(!t)return e;"function"==typeof t||t.formatter||(t=t.type||t);var n=y(t);if(n)return l(n)(e);var r=o(t);return t.formatter||"function"===r||"string"===r?this.callBase.apply(this,arguments):l(t)(e)}},parse:function(e,t){var n,r=this;return t&&!t.parser&&"string"==typeof e&&(e=g(e),n=function(e){return g(r.format(e,t))}),this.callBase(e,n||t)},_parseDateBySimpleFormat:function(e,t){var n=this;e=p(e);var r=this.getFormatParts(t),i=e.split(/\D+/).filter((function(e){return e.length>0}));
1if(r.length===i.length){var o=this._generateDateArgs(r,i),s=function(r){var i,s,a=function(e,t){return new Date(e.year,e.month,e.day,(e.hours+(t?12:0))%24,e.minutes,e.seconds)}(o,r);if(i=p(n.format(a,t)),s=e,f(i)===f(s))return a};return s(!1)||s(!0)}},_generateDateArgs:function(e,t){var n=new Date,r={year:n.getFullYear(),month:n.getMonth(),day:n.getDate(),hours:0,minutes:0,seconds:0};return e.forEach((function(e,n){var i=parseInt(t[n],10);"month"===e&&(i-=1),r[e]=i})),r},formatUsesMonthName:function(e){return"object"!==o(e)||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.month},formatUsesDayName:function(e){return"object"!==o(e)||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.weekday},getFormatParts:function(e){if("string"==typeof e)return this.callBase(e);var t=(0,r.extend)({},m[e.toLowerCase()]),n=new Date(2001,2,4,5,6,7),i=l(t)(n);return i=p(i),[{name:"year",value:1},{name:"month",value:3},{name:"day",value:4},{name:"hours",value:5},{name:"minutes",value:6},{name:"seconds",value:7}].map((function(e){return{name:e.name,index:i.indexOf(e.value)}})).filter((function(e){return e.index>-1})).sort((function(e,t){return e.index-t.index})).map((function(e){return e.name}))}}},cYys:function(e,t,n){"use strict";var r=function(e){this._options=e||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};r.prototype._fireCore=function(e,t){var n=this._firingIndexes,r=this._list,i=this._options.stopOnFalse,o=n.length;for(n[o]=0;n[o]<r.length&&(!1!==r[n[o]].apply(e,t)||!i);n[o]++);n.pop()},r.prototype.add=function(e){return"function"!=typeof e||this._options.unique&&this.has(e)||this._list.push(e),this},r.prototype.remove=function(e){var t=this._list,n=this._firingIndexes,r=t.indexOf(e);if(r>-1&&(t.splice(r,1),this._firing&&n.length))for(var i=0;i<n.length;i++)r<=n[i]&&n[i]--;return this},r.prototype.has=function(e){var t=this._list;return e?t.indexOf(e)>-1:!!t.length},r.prototype.empty=function(e){return this._list=[],this},r.prototype.fireWith=function(e,t){var n=this._queue;if(t=(t=t||[]).slice?t.slice():t,this._options.syncStrategy)this._firing=!0,this._fireCore(e,t);else{if(n.push([e,t]),this._firing)return;for(this._firing=!0;n.length;){var r=n.shift();this._fireCore(r[0],r[1])}}return this._firing=!1,this._fired=!0,this},r.prototype.fire=function(){this.fireWith(this,arguments)},r.prototype.fired=function(){return this._fired},e.exports=function(e){return new r(e)}},ccQb:function(e,t,n){"use strict";var r=n("ti0F").isFunction,i=function(){},o=function(e){return"undefined"!=typeof console&&r(console[e])?console[e].bind(console):i},s={info:o("info"),warn:o("warn"),error:o("error")},a=function(){function e(e,t){if(!e)throw new Error(t)}return{assert:e,assertParam:function(t,n){e(null!=t,n)}}}();t.logger=s,t.debug=a},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("HDdC"),i=n("DH7j"),o=n("lJxs"),s=n("XoHu"),a=n("Cfvw");function l(...e){if(1===e.length){const t=e[0];if(Object(i.a)(t))return u(t,null);if(Object(s.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return u(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return u(e=1===e.length&&Object(i.a)(e[0])?e[0]:e,null).pipe(Object(o.a)(e=>t(...e)))}return u(e,null)}function u(e,t){return new r.a(n=>{const r=e.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,s=0;for(let l=0;l<r;l++){const u=Object(a.a)(e[l]);let c=!1;n.add(u.subscribe({next:e=>{c||(c=!0,s++),i[l]=e},error:e=>n.error(e),complete:()=>{o++,o!==r&&c||(s===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},cygB:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("AwRG");class r{constructor(e){this.configService=e,this._shsSettings=new Map(this.initializeShsSettings())}initializeShsSettings(){return[["systemAfterLogin",{flxName:"SYSTEM_AFTER_LOGIN",url:"shs/query/save"}],["HoleKostenstellenFilter",{flxName:"S_SD_KST_CBO",url:""}],["HoleArtikleKostenstellenFilter",{flxName:"S_AN_WK_KST",url:""}],["HoleLieferantenFilterAnf",{flxName:"S_SD_LIEF_AN_CBO",url:""}],["HoleLieferantenFilterWe",{flxName:"S_SD_LIEF_WE_CBO",url:""}],["HoleArtikelgruppenFilter",{flxName:"S_SD_AG_CBO",url:""}],["HoleMwstFilter",{flxName:"S_SD_MWST_CBO",url:""}],["HoleEinheitenFilter",{flxName:"S_SD_EH_CBO",url:""}],["HoleUserFilter",{flxName:"S_SD_MSG_USER_CBO",url:""}],["HoleUserSprachen",{flxName:"S_SD_SPRACHE_CBO",url:""}],["HoleWaehrungen",{flxName:"S_SD_CUR_CBO",url:""}],["HoleLagerorte",{flxName:"S_SD_LGO_CBO",url:""}],["HoleMandanten",{flxName:"S_SD_MAN_CBO",url:""}],["HoleLieferantenFilterAll",{flxName:"S_SD_LIEF_CBO_ALL",url:""}],["HoleVerwendungsweckeFilter",{flxName:"S_SD_VWZ_CBO",url:""}],["HoleUnterkostenstelle",{flxName:"S_SD_SUBCC_CBO",url:""}],["HoleDokumentenTypen",{flxName:"S_SD_DOC_TYPE_CBO",url:""}],["HoleDokumentenUnterTypen",{flxName:"S_SD_DOC_SUBTYP_CBO",url:""}],["HoleWkSortierVarianten",{flxName:"S_SD_WK_SORT_CBO",url:""}],["HoleLieferantenF\xfcrUnterschreiben",{flxName:"S_CB_UN_LIEFERANT",url:""}],["HoleLieferantenF\xfcrUnterschreibenFt",{flxName:"S_SD_LIEF_UNFT_CBO",url:""}],["HoleLagerKostenstellen",{flxName:"S_SD_LAGER_KST_CBO",url:""}],["HoleInhaltSuchkombo2",{flxName:"S_AN_AW_CB2",url:""}],["HoleProjekte",{flxName:"S_PRJ_ID_CBO",url:""}],["HoleIntArtId",{flxName:"S_FT_ARTIKEL_CBO",url:""}],["HoleLieferantenFreitext",{flxName:"S_SD_LIEFER_FT_CBO",url:""}],["HoleProduktgruppen",{flxName:"S_SD_PRD_CBO",url:""}],["HoleBenutzerdaten",{flxName:"S_BC",url:"shs/query/single"}],["HoleMen\xfc",{url:"shs/Menu"}],["HoleGridLayout",{flxName:"S_GRID_GET",url:"shs/query/single"}],["SpeicherGridLayout",{flxName:"",url:"shs/savegridconfig"}
1],["EntferneGridLayout",{flxName:"S_GRID_DEL",url:"shs/query/save"}],["HoleArtikelFuerBestellung",{flxName:"S_AN_AW_A",url:"shs/getgridconfig"}],["F\xfcgeArtikelWarenkorbHinzu",{flxName:"S_AN_WK_INS",url:"shs/query/save/:returnKey"}],["Vali_Anfo",{flxName:"S_VALI_ANFO",url:""}],["HoleAnforderungsTypen",{flxName:"S_AN_CBO",url:""}],["HoleWarenkorb",{flxName:"S_AN_WK_GET",url:""}],["HoleWarenkorbPos",{flxName:"S_AN_WK_GET_POS",url:"shs/query/single"}],["EntferneArtikelVomWarenkorb",{flxName:"S_AN_WK_DEL",url:"shs/query/delete"}],["HoleArtikelInfos",{flxName:"HOLE_ARTIKELDETAILS",url:"shs/artikeldetail/"}],["HoleArtikelInfosHtml",{flxName:"S_AN_POS_INFO",url:"shs/query/single"}],["GET_LIEFER_ADRESSE_AUSWAHL",{flxName:"GET_LIEFER_ADRESSE_AUSWAHL",url:""}],["HoleVersandkosten",{flxName:"S_AN_VS_LIMIT",url:""}],["HoleVersandkostenHtml",{flxName:"S_WK_VS_HTML",url:""}],["HoleMindermengen",{flxName:"S_AN_MM_LIMIT",url:""}],["HoleFavorisierteWarenkorbNamen",{flxName:"S_AN_WK_FAV_GET",url:""}],["EntferneFavorisiertenWarenkorb",{flxName:"ENTFERNE_FAVWARENKORB",url:"shs/query/delete"}],["HoleWarenkorbFavTyp",{flxName:"S_AN_WK_FAV_TYP",url:""}],["SpeicherWarenkorbFavoritKopf",{flxName:"S_AN_WK_FAV_INS_KOPF",url:"shs/query/single/"}],["SpeicherWarenkorbFavorit",{flxName:"S_AN_WK_FAV_INS",url:"shs/query/save"}],["ErstelleWarenkorbAusFavWarenkorb",{flxName:"S_AN_WK_FAV",url:""}],["SpeicherArtikel\xc4nderungenWarenkorb",{flxName:"S_AN_WK_UPD",url:"shs/query/single"}],["WarenkorbAnfordern",{flxName:"S_AN_BU_WK",url:"shs/query/save"}],["WarenkorbNacherfassen",{flxName:"S_AN_BU_WK_VERSANDT",url:"shs/query/save"}],["Warenkorbleeren",{flxName:"S_AN_WK_DEL_ALL",url:"shs/query/save"}],["HoleArtikelLangtext",{flxName:"S_GET_LONGTEXT",url:"shs/query/single"}],["SpeicherArtikelLangtext",{flxName:"S_INS_LONGTEXT",url:"shs/artikellangtext/"}],["MarkierePositionBestellen",{flxName:"S_AN_BU_MARKED",url:"shs/query/save"}],["TooglePositionBestellen",{flxName:"S_AN_WK_TOGGLE_SEL",url:"shs/query/save"}],["UpdateWarenkorbPositionLiefertermin",{flxName:"S_AN_WK_UPD_LIEFT",url:"shs/query/save"}],["HoleWkZusammenfassung",{flxName:"S_AN_SUM",url:"shs/query/list"}],["HoleLieferantenInformationen",{flxName:"S_AN_LI_INFO",url:"shs/query/list"}],["HoleReport",{flxName:"",url:"shs/reporting"}],["GetLiKombo",{flxName:"S_SD_KOMBO",url:"shs/combocontent"}],["GetReportCombo",{flxName:"",url:"shs/reporting/comboboxContent"}],["GetReportGridData",{flxName:"",url:"shs/reporting/data"}],["PrepareReportForPrinting",{flxName:"",url:"shs/reporting/"}],["PrepareBarcodesForPrinting",{flxName:"",url:"shs/reporting/barcodes"}],["RunPostSql",{flxName:"",url:"shs/reporting/postQuery/"}],["HoleGridConfig",{flxName:"",url:"shs/getgridconfig"}],["HoleAnforderungen",{flxName:"S_AN_INI",url:"shs/getgridconfig"}],["UpdateUser",{flxName:"S_LOGIN_UPD",url:"shs/query/single"}],["HoleNachrichten",{flxName:"S_MES_GET_DATA",url:""}],["NachrichtenLoeschen",{flxName:"S_MES_SET_DATA",url:"shs/query/save"}],["NachrichtenGelesen",{flxName:"S_MES_SET_READ",url:"shs/query/save"}],["SendeNachricht",{flxName:"S_MES_SEND",url:"shs/query/save"}],["HoleNachrichtenIni",{flxName:"S_MES_INI",url:""}],["AblehnBegruendung",{flxName:"S_HOLE_ABLEHN_BEGRUENDUNG",url:""}],["HoleBestellungenTmp",{flxName:"S_UN_INI",url:"shs/getgridconfig"}],["HoleBestellungenTmp2",{flxName:"S_UN_INI_2",url:"shs/getgridconfig"}],["HoleBestellungenTmpBestNr",{flxName:"S_UN_INI_POS",url:"shs/getgridconfig"}],["MarkierePositionTmp",{flxName:"S_UN_BU_MARKED",url:"shs/query/save"}],["MarkiereBestellungTmp",{flxName:"S_UN_BU_MARKED_BE",url:"shs/query/save"}],["AendereBestellungTmp",{flxName:"S_UN_SET",url:"shs/query/save"}],["AendereBestellungTmp2",{flxName:"S_UN_SET_2",url:"shs/query/save"}],["LoescheBestellungTmp",{flxName:"S_UN_INI_REMOVE_LINE",url:"shs/query/save"}],["VerbucheBestellungenTmp",{flxName:"S_UN_BU_SAMMEL",url:"shs/query/save"}],["VerbucheBestellungenTmpEinzel",{flxName:"S_UN_BU_EINZEL",url:"shs/query/save"}],["HoleAnfoVol",{flxName:"S_UN_ANFO_VOL",url:"shs/query/single"}],["HoleSysIniWerte",{flxName:"S_SYS_INI_SINGLE",url:"shs/query/single"}],["HoleSysIniWertDirekt",{flxName:"S_SYS_INI_SINGLE_O_USER",url:"shs/query/single"}],["HoleAlleIniSchalter",{flxName:"S_SYS_INI_PRELOAD",url:""}],["HoleAlleIniSchalterfuerGrid",{flxName:"S_SYS_INI",url:"shs/getgridconfig"}],["HoleSuchTypen",{flxName:"S_GET_SEARCH_TYPES",url:"shs/query/single"}],["ErzeugeWeNr",{flxName:"S_WE_GEN_WENR",url:"shs/query/single"}],["ErzeugeWareneingang",{flxName:"S_WE_INS_OR_UPD",url:"shs/query/single"}],["SpeicherWareneingangPos",{flxName:"S_WE_UE",url:"shs/query/save"}],["WareneingangVerwerfen",{flxName:"S_WE_RESET",url:"shs/query/save"}],["WareneingangCheck",{flxName:"S_WE_CHECK",url:""}],["WareneingangPosCheck",{flxName:"S_WE_POS_UPDATE_CHECK",url:""}],["WareneingangVerbuchen",{flxName:"S_WE_EN1",url:"shs/query/save"}],["StorniereWareneingang",{flxName:"S_WE_STORNO",url:"shs/query/single"}],["EntferneWareneingangPosition",{flxName:"S_WE_INI_DEL",url:"shs/query/save"}],["HoleWareneingangPositionen",{flxName:"S_WE_INI",url:"shs/getgridconfig"}],["SpeicherWareneingang",{flxName:"S_WE_UPD",url:"shs/query/save"}],["SpeicherWareneingangPosition",{flxName:"S_WE_INI_UPD",url:"shs/query/save"}],["HoleWeDrucker",{flxName:"S_WE_PRINTER",url:"shs/query/single"}],["NachdruckWePos",{flxName:"S_WE_REPRINT",url:"shs/query/save"}],["HoleWareneingangK\xf6pfe",{flxName:"S_WE_INI_KPF",url:"shs/getgridconfig"}],["WareneingangVerwerfenBe\xd6ffnen",{flxName:"S_WE_RESET_BE",url:"shs/query/save"}],["HoleSeriennummern",{flxName:"S_WE_SERIAL_GET",url:"shs/getgridconfig"}],["SpeichereSeriennummer",{flxName:"S_WE_SERIAL_INS",url:"shs/query/save"}],["AendereSeriennummern",{flxName:"S_WE_SERIAL_UPD",url:"shs/query/save"}],["LoescheSeriennummern",{flxName:"S_WE_SERIAL_DEL",url:"shs/query/delete"}],["KeineRechnungfuerWe",{flxName:"S_WE_KOPF_NO_RE",url:"shs/query/save"}],["KeineRechnungfuerWePos",{flxName:"S_WE_POS_NO_RE",url:"shs/query/save"}],["ResetPassword",{flxName:"",url:"shs/resetpassword"}],["AutoPrinterConf",{flxName:"GET_AUTOPRINTER_CONFIG",url:"shs/query/single"}],["Drucken",{url:"shs/autoprinter"}],["pdf",{url:"shs/pdf"}],["sendTicket",{flxName:"send_ticket",url:"shs/query/single"}
1],["dosCheckArtikelkatalog",{flxName:"S_AV_CHECK",url:"shs/query/single"}],["dosInsertArtikelvorDet2014",{flxName:"S_AV_INS",url:"shs/query/save"}],["fremdshopLieferanten",{flxName:"S_AN_EXT_SHOPS",url:""}],["getInfoArtikelvorschlag",{flxName:"S_AV_INFO",url:"shs/query/single"}],["SucheArtikelAV",{flxName:"S_AV_SUCHE",url:"shs/getgridconfig"}],["HoleArtikelAV",{flxName:"S_AV_ARTIKEL",url:"shs/query/single"}],["HoleGruppenFilterFreitext",{flxName:"S_CB_22",url:""}],["InsertFreeTextItem",{flxName:"S_AN_WK_FT_INS",url:"shs/query/single"}],["ValiFt",{flxName:"S_AN_FT_VALI",url:""}],["HoleFreitextArtikel",{flxName:"S_UN_INI_FT",url:""}],["VerbucheFreitextArtikel",{flxName:"S_UN_BU_SAMMEL_FT",url:"shs/query/save"}],["SpeichereFreitextArtikel",{flxName:"S_UN_FT_UPD",url:"shs/query/save"}],["EntferneFreitextArtikel",{flxName:"S_UN_FT_DEL",url:"shs/query/save"}],["getWebNews",{flxName:"",url:"shs/getnews"}],["HoleLieferadressen",{flxName:"get_liefer_adresse_auswahl",url:""}],["FuegeLieferadressenHinzu",{flxName:"s_ins_liefer_adresse",url:"shs/query/save/:returnKey"}],["SpeicherLieferadressen",{flxName:"s_upd_liefer_adresse",url:"shs/query/save"}],["EntferneLieferadressen",{flxName:"s_del_liefer_adresse",url:"shs/query/delete"}],["HoleArtikelWa",{flxName:"S_WA_INI",url:"shs/getgridconfig"}],["SpeicherWarenentnahmePosition",{flxName:"S_WA_UE",url:"shs/query/save"}],["UpdateWarenentnahmePosition",{flxName:"S_WA_UPD",url:"shs/query/save"}],["EntferneWarenentnahme",{flxName:"S_WA_DEL_ALL",url:"shs/query/delete"}],["EntferneWarenentnahmePosition",{flxName:"S_WA_DEL",url:"shs/query/delete"}],["VerbucheWarenentnahmePosition",{flxName:"S_WA_EN1",url:"shs/query/save"}],["VerbucheWarenentnahme",{flxName:"S_WA_BU",url:"shs/query/save"}],["ValiWarenentnahme",{flxName:"S_WA_VALI",url:""}],["Versenden",{flxName:"S_VS_SEND",url:"shs/query/save"}],["Abholen",{flxName:"S_VS_FETCH",url:"shs/query/save"}],["HoleDokumente",{flxName:"S_DOC_CHECK",url:"shs/getgridconfig"}],["HoleDokumentPfad",{url:"shs/getFile"}],["TooglePositionSelAll",{flxName:"S_AN_WK_SEL_ALL",url:"shs/query/save"}],["DateiUpload",{flxName:"",url:"shs/uploadFiles"}],["SpeicherDokument",{flxName:"S_DOC_UPD",url:"shs/query/save"}],["EntferneDokument",{flxName:"S_DOC_DEL",url:"shs/query/delete"}],["HoleMdGridSettings",{url:"shs/Masterdata/GetGridSettings/"}],["HoleMdDynamicFields",{url:"shs/Masterdata/GetDynamicFields/"}],["HoleMdDbLookups",{url:"shs/Masterdata/GetDbLookups/"}],["HoleMdSettings",{url:"shs/Masterdata/GetMasterdataSettings/"}],["Masterdata",{url:"shs/Masterdata/"}],["HoleWizardConfig",{flxName:"S_WIZ_START",url:"shs/query/single"}],["HoleDashboard",{flxName:"S_GET_DASH",url:""}],["HoleLieferanten",{flxName:"LI_LIEFERANT",url:"shs/getgridconfig"}],["WareneingangCheckVerwerfen",{flxName:"S_WE_CHECK_VERWERFEN",url:"shs/query/single"}],["SpeicherAktuelleKostenstelle",{flxName:"S_KONST_KST_UPD",url:"shs/query/save"}],["UpdateKonstanten",{flxName:"S_KONST_UPD",url:"shs/query/save"}],["HoleLieferscheine",{flxName:"S_LS_INI_KPF",url:"shs/getgridconfig"}],["HoleLieferscheinPositionen",{flxName:"S_WE_LS_INI",url:"shs/getgridconfig"}],["VerbucheLieferschein",{flxName:"S_LS_EN1",url:"shs/query/save"}],["HoleListen",{flxName:"S_LS_GET_LISTS",url:"shs/query/single"}],["FuegeLieferscheinPosHinzu",{flxName:"S_WE_LS_POS_UE1",url:"shs/query/save"}],["SpeicherLieferscheinPos",{flxName:"S_WE_LS_POS_UPD",url:"shs/query/save"}],["EntferneLieferscheinPos",{flxName:"S_WE_LS_POS_DEL",url:"shs/query/delete"}],["ErzeugeLieferschein",{flxName:"S_LS_INS_OR_UPD",url:"shs/query/single"}],["HoleAdressefuerLS",{flxName:"S_LS_ADR_INI",url:"shs/query/single"}],["SetzeAdressefuerLS",{flxName:"S_LS_ADR_EN1",url:"shs/query/save"}],["CheckLfsVorBuchen",{flxName:"S_LS_CHECK_EN1",url:""}],["CheckLfsVorAendern",{flxName:"S_LS_CHECK_UPD",url:""}],["CheckLfsVorReset",{flxName:"S_LS_CHECK_RESET",url:""}],["ResetLieferschein",{flxName:"S_LS_RESET",url:"shs/query/save"}],["EntferneLieferschein",{flxName:"S_LS_DELETE",url:"shs/query/delete"}],["SpeichereAdressefuerLS",{flxName:"S_LS_ADR_INS",url:"shs/query/save"}],["HoleAlternativArtikel",{flxName:"S_UN_AAW01",url:"shs/getgridconfig"}],["AendereAlternativArtikel",{flxName:"S_UN_AEN1",url:"shs/query/save/"}],["HoleBenutzer",{flxName:"S_SYS_BC_INI",url:"shs/getgridconfig"}],["HoleBenutzerGruppen",{flxName:"S_SYS_BC_GR_INI",url:"shs/getgridconfig"}],["SpeichereIniSchalter",{flxName:"S_SYS_UPD_OR_INS",url:"shs/query/single"}],["EntferneIniSchalter",{flxName:"S_SYS_DEL",url:"shs/query/delete"}],["ZaehleNachrichten",{flxName:"S_MES_COUNT_DATA",url:""}],["HoleArtikelFuerAnfoKarte",{flxName:"S_AN_KARTE_INI",url:"shs/getgridconfig"}],["SpeichereAnfoKartenArtikel",{flxName:"S_AN_KARTE_UPD",url:""}],["BestelleAnfoKarte",{flxName:"S_AN_KARTE_EN1",url:""}],["HoleWizardTmpHeader",{flxName:"S_GET_WIZ_TMP_HEADER",url:"shs/query/single"}],["HoleHtmlTemplate",{flxName:"",url:"shs/static-template"}],["FuegeArtikelZuFavWarenkorbHinzu",{flxName:"S_AN_WK_FAV_POS_INS",url:"shs/query/save"}],["HoleFavorisierteWarenkoerbe",{flxName:"S_FAV_WK_CBO",url:""}],["HoleArtikelFuerFavorisiertenWarenkorb",{flxName:"S_AN_WK_FAV_POS_INI",url:"shs/getgridconfig"}],["UpdateFavWarenkorb",{flxName:"S_AN_WK_FAV_UPD",url:"shs/query/save"}],["KopiereFavWarenkorb",{flxName:"S_AN_WK_FAV_COPY",url:"shs/query/single"}],["LoescheFavWarenkorb",{flxName:"S_AN_WK_FAV_DEL",url:"shs/query/delete"}],["LoescheArtikelAusFavWarenkorb",{flxName:"S_AN_WK_FAV_POS_DEL",url:"shs/query/delete"}],["UpdateArtikelImFavWarenkorb",{flxName:"S_AN_WK_FAV_POS_UPD",url:"shs/query/save"}],["HoleWkFachgruppen",{flxName:"S_SD_WK_FAV_FACH_GRP_CBO",url:""}],["HoleWkBenutzerrollen",{flxName:"S_SD_WK_FAV_UR_CBO",url:""}],["HoleJWTfuerExternenShop",{flxName:"S_GET_JWT_CLAIMS",url:"shs/single/jwt"}],["HoleEinheitenFuerArtikel",{flxName:"S_SD_EH_FUER_ARTIKEL_CBO",url:""}],["GetAccessTokenOAuth",{flxName:"",url:"shs/oauth"}],["HoleE-Klassen",{flxName:"S_HOLE_E-KLASSEN",url:""}
1],["HoleAr2Spezial",{flxName:"S_AR2_SPECIAL",url:"shs/query/single"}],["UpdateKonstantenSuche1",{flxName:"S_KONST_UPD_SUCHE1",url:"shs/query/save"}],["HoleRechnungenValidierung",{flxName:"S_HOLE_RECHNUNGEN",url:"shs/getgridconfig"}],["GetFormlyConfig",{flxName:"",url:"shs/formly"}],["HoleStatusSelectItems",{flxName:"S_GET_SELECT_STATUS",url:""}],["HoleDocumentInformation",{flxName:"S_GET_DOCUMENT_DATA",url:""}]]}getShsSettings(e){const t=this._shsSettings.get(e);if(!t)throw new Error("Cannot find "+e+" in Backend-Service");return t.logSql=!1!==t.logSql,t}}},dYUP:function(e,t,n){"use strict";var r=m(n("eWCF")),i=n("ti0F"),o=m(n("zl3R")),s=n("XpgS"),a=m(n("/7L9")),l=n("S3Ua"),u=n("/DUC"),c=n("FwfD"),d=m(n("Y0yK")),h=m(n("URBM")),p=n("A8u/"),f=m(n("Bhoz")),g=m(n("cWtc"));function m(e){return e&&e.__esModule?e:{default:e}}var y="undefined"!=typeof Intl,b={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",mediumdatemediumtime:"MMMM d, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},_={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},v=(0,r.default)({engine:function(){return"base"},_getPatternByFormat:function(e){return b[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return-1!==this._expandPattern(e).indexOf("MMMM")},formatUsesDayName:function(e){return-1!==this._expandPattern(e).indexOf("EEEE")},getFormatParts:function(e){var t=this._getPatternByFormat(e)||e,n=[];return o.default.each(t.split(/\W+/),(function(e,t){o.default.each(_,(function(e,r){(0,s.inArray)(t,r)>-1&&n.push(e)}))})),n},getMonthNames:function(e){return d.default.getMonthNames(e)},getDayNames:function(e){return d.default.getDayNames(e)},getQuarterNames:function(e){return d.default.getQuarterNames(e)},getPeriodNames:function(e){return d.default.getPeriodNames(e)},getTimeSeparator:function(){return":"},is24HourFormat:function(e){for(var t=new Date(2017,0,20,11,0,0,0),n=new Date(2017,0,20,23,0,0,0),r=this.format(t,e),i=this.format(n,e),o=0;o<r.length;o++)if(r[o]!==i[o])return!isNaN(parseInt(r[o]))},format:function(e,t){if(e){if(!t)return e;var n;if("function"==typeof t)n=t;else if(t.formatter)n=t.formatter;else if((0,i.isString)(t=t.type||t))return t=b[t.toLowerCase()]||t,f.default.convertDigits((0,l.getFormatter)(t,this)(e));if(n)return n(e)}},parse:function(e,t){var n,r,i,o=this;if(e){if(!t)return this.parse(e,"shortdate");if(t.parser)return t.parser(e);if("string"!=typeof t||b[t.toLowerCase()]){i=function(e){var n=o.format(e,t);return f.default.convertDigits(n,!0)};try{r=(0,u.getFormat)(i)}catch(s){}}else r=t;if(r)return e=f.default.convertDigits(e,!0),(0,c.getParser)(r,this)(e);if(a.default.log("W0012"),(n=new Date(e))&&!isNaN(n.getTime()))return n}},firstDayOfWeekIndex:function(){var e=(0,p.getValueByClosestLocale)((function(e){return h.default[e]}));return void 0===e?0:e}});y&&v.inject(g.default),e.exports=v},e8ht:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){t._keyPrefix="",t._keyPrefixRegistered=!1}var t;return t=e,e.prototype.setCachedItem=function(e,t){if(!this.getCachedItem(this.getKey(t))){var n=JSON.stringify(e);sessionStorage.setItem(this.getKey(t),n)}},e.prototype.getCachedItem=function(e){var t=sessionStorage.getItem(this.getKey(e));return JSON.parse(t)},e.prototype.clearCache=function(){sessionStorage.clear()},e.prototype.registerKeyPrefix=function(e){t._keyPrefix=e,t._keyPrefixRegistered=!0,sessionStorage.setItem("cacheKeyPrefix",e)},e.prototype.getKey=function(e){var n=t._keyPrefix;return Boolean(n)||(n=sessionStorage.getItem("cacheKeyPrefix"),t._keyPrefix=n),n?n.concat(e):e},e}()},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj"),s=n("lJxs"),a=n("Cfvw");function l(e,t){return"function"==typeof t?n=>n.pipe(l((n,r)=>Object(a.a)(e(n,r)).pipe(Object(s.a)((e,i)=>t(n,e,r,i))))):t=>t.lift(new u(e))}class u{constructor(e){this.project=e}call(e,t){return t.subscribe(new c(e,this.project))}}class c extends r.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}_innerSub(e,t,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new i.a(this,void 0,void 0);this.destination.add(s),this.innerSubscription=Object(o.a)(this,e,t,n,s)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,r,i){this.destination.next(t)}}},eNwd:function(e,t,n){"use strict";var r=n("3N8a");
1class i extends r.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var o=n("IjjT");class s extends o.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<i&&(e=t.shift()));if(this.active=!1,n){for(;++r<i&&(e=t.shift());)e.unsubscribe();throw n}}}n.d(t,"a",(function(){return a}));const a=new s(i)},eWCF:function(e,t,n){"use strict";e.exports=function(e){var t=n("1LL4").extend,r=n("ti0F").isFunction,i=n("zl3R").each,o=n("5qrJ").inherit(e),s=o,a=new s(e),l={},u=function(t,n){i(t,(function(t){r(a[t])?!n&&e[t]||(e[t]=function(){return a[t].apply(e,arguments)}):(n&&(l[t]=e[t]),e[t]=a[t])}))};return u(e,!0),e.inject=function(e){s=s.inherit(e),a=new s,u(e)},e.resetInjection=function(){t(e,l),s=o,a=new o},e}},ed0e:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("8Y7J"),i=function(){function e(e){this.el=e,this.regex=new RegExp(/^\-?\d*[,.]?\d*$/),this.allowedChars=[];for(var t=0;t<10;t++)this.allowedChars[t]=String(t);this.allowedChars[10]=",",this.allowedChars[11]=".",this.specialKeys=[8,9,35,36,37,39,46],this.delimiters=[110,188,190],this.valueChanged=new r.m}return e.prototype.ngOnInit=function(){this.negative&&(this.allowedChars[12]="-",this.allowedChars[13]="Subtract")},e.prototype.isInputOk=function(e){return Boolean(e.match(this.regex))},e.prototype.onKeyDown=function(e){var t=e.key;"Subtract"===t&&(t="-");var n=e.keyCode,r=this.el.nativeElement.value,i=String(r).concat(t);0!==i.length&&(this.specialKeys.indexOf(e.keyCode)>-1||"-"===t&&0===i.lastIndexOf("-")&&this.negative||i.length>1&&-1===r.indexOf(",")&&-1===r.indexOf(".")&&this.delimiters.indexOf(n)>-1||-1!==this.allowedChars.indexOf(t)&&this.isInputOk(i)||e.preventDefault())},e.prototype.onKeyUp=function(e){this.valueChanged.next(this.el.nativeElement.value)},e}()},fPaE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t,n,r,i){this.mailTo=this.setMailTo(e),this.cc=this.setCC(t),this.bcc=this.setBcc(n),this.subject=this.setSubject(r),this.body=this.setBody(i)}setMailTo(e){let t="mailto:";e="string"==typeof e?[e]:e;for(let n=0;n<e.length;n++)t=t.concat(e[n]),t=t.concat("; ");return t.substr(0,t.length-2)}setCC(e){if(e&&e.length>0){let t="?cc=";e="string"==typeof e?[e]:e;for(let n=0;n<e.length;n++)t=t.concat(e[n]),t=t.concat("; ");return t.substr(0,t.length-2)}return""}setBcc(e){if(console.log(e),e&&e.length){let t="&bcc=";e="string"==typeof e?[e]:e;for(let n=0;n<e.length;n++)t=t.concat(e[n]),t=t.concat("; ");return t.substr(0,t.length-2)}return""}setSubject(e){if(!e)return"";let t;return t=this.cc||this.bcc?"&":"?",t=t.concat("subject="),t.concat(e)}setBody(e){return e?"&body=".concat(e):""}getMail(){return this.mailTo+this.cc+this.bcc+this.subject+this.body}}},fS5t:function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return R})),n.d(t,"f",(function(){return F})),n.d(t,"e",(function(){return ie})),n.d(t,"g",(function(){return pe}));var r=n("8Y7J"),i=n("MibS"),o=n("YImT"),s=(n("1R5E"),n("SVse")),a=n("s7LF"),l=n("0fkH"),u=n("fXz7"),c=(n("7nlb"),r.rb({encapsulation:2,styles:[],data:{}}));function d(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["*"]))],null,null)}function h(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"label",[],[[8,"htmlFor",0],[2,"form-check-label",null],[2,"custom-control-label",null]],null,null,null,null)),(e()(),r.Ob(1,null,[" "," "])),(e()(),r.ib(16777216,null,null,1,null,d)),r.sb(3,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.to.required&&!0!==n.to.hideRequiredMarker)}),(function(e,t){var n=t.component;e(t,0,0,n.id,-1===n.to.formCheck.indexOf("custom"),0===n.to.formCheck.indexOf("custom")),e(t,1,0,n.to.label)}))}function p(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,12,"div",[],null,
1null,null,null,null)),r.Lb(512,null,s.C,s.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,s.l,[s.C],{ngClass:[0,"ngClass"]},null),r.Jb(3,{"form-check":0,"form-check-inline":1,"custom-control":2,"custom-checkbox":3,"custom-control-inline":4,"custom-switch":5}),(e()(),r.tb(4,0,null,null,6,"input",[["type","checkbox"]],[[2,"is-invalid",null],[2,"form-check-input",null],[2,"position-static",null],[2,"custom-control-input",null],[8,"indeterminate",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],(function(e,t,n){var i=!0;return"change"===t&&(i=!1!==r.Gb(e,5).onChange(n.target.checked)&&i),"blur"===t&&(i=!1!==r.Gb(e,5).onTouched()&&i),"change"===t&&(i=!1!==r.Gb(e,10).onHostChange(n)&&i),i}),null,null)),r.sb(5,16384,null,0,a.c,[r.C,r.k],null,null),r.Lb(1024,null,a.p,(function(e){return[e]}),[a.c]),r.sb(7,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(9,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(10,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"]},null),(e()(),r.ib(16777216,null,null,1,null,h)),r.sb(12,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,3,0,-1===n.to.formCheck.indexOf("custom"),"inline"===n.to.formCheck,0===n.to.formCheck.indexOf("custom"),"custom"===n.to.formCheck||"custom-inline"===n.to.formCheck,"custom-inline"===n.to.formCheck,"custom-switch"===n.to.formCheck);e(t,2,0,r),e(t,7,0,n.formControl),e(t,10,0,n.field),e(t,12,0,"nolabel"!==n.to.formCheck)}),(function(e,t){var n=t.component;e(t,4,1,[n.showError,-1===n.to.formCheck.indexOf("custom"),"nolabel"===n.to.formCheck,0===n.to.formCheck.indexOf("custom"),n.to.indeterminate&&null===n.formControl.value,r.Gb(t,9).ngClassUntouched,r.Gb(t,9).ngClassTouched,r.Gb(t,9).ngClassPristine,r.Gb(t,9).ngClassDirty,r.Gb(t,9).ngClassValid,r.Gb(t,9).ngClassInvalid,r.Gb(t,9).ngClassPending])}))}function f(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field-checkbox",[],null,null,null,p,c)),r.sb(1,49152,null,0,i.b,[],null,null)],null,null)}var g=r.pb("formly-field-checkbox",i.b,f,{field:"field",model:"model",form:"form",options:"options"},{},[]),m=r.rb({encapsulation:2,styles:[],data:{}});function y(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[],null,null,null,null,null)),r.Lb(512,null,s.C,s.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,s.l,[s.C],{ngClass:[0,"ngClass"]},null),r.Jb(3,{"form-check":0,"form-check-inline":1,"custom-control":2,"custom-checkbox":3,"custom-control-inline":4,"custom-switch":5}),(e()(),r.tb(4,0,null,null,1,"input",[["type","checkbox"]],[[2,"form-check-input",null],[2,"custom-control-input",null],[8,"value",0],[8,"checked",0],[8,"disabled",0]],[[null,"change"]],(function(e,t,n){var i=!0,o=e.component;return"change"===t&&(i=!1!==r.Gb(e,5).onHostChange(n)&&i),"change"===t&&(i=!1!==o.onChange(e.context.$implicit.value,n.target.checked)&&i),i}),null,null)),r.sb(5,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"],id:[1,"id"]},null),(e()(),r.tb(6,0,null,null,1,"label",[],[[2,"form-check-label",null],[2,"custom-control-label",null],[8,"htmlFor",0]],null,null,null,null)),(e()(),r.Ob(7,null,[" "," "]))],(function(e,t){var n=t.component,r=e(t,3,0,-1===n.to.formCheck.indexOf("custom"),"inline"===n.to.formCheck,0===n.to.formCheck.indexOf("custom"),"custom"===n.to.formCheck||"custom-inline"===n.to.formCheck,"custom-inline"===n.to.formCheck,"custom-switch"===n.to.formCheck);e(t,2,0,r),e(t,5,0,n.field,n.id+"_"+t.context.index)}),(function(e,t){var n=t.component;e(t,4,0,-1===n.to.formCheck.indexOf("custom"),0===n.to.formCheck.indexOf("custom"),t.context.$implicit.value,n.isChecked(t.context.$implicit),n.formControl.disabled||t.context.$implicit.disabled),e(t,6,0,-1===n.to.formCheck.indexOf("custom"),0===n.to.formCheck.indexOf("custom"),n.id+"_"+t.context.index),e(t,7,0,t.context.$implicit.label)}))}function b(e){return r.Qb(0,[r.Ib(131072,u.b,[]),(e()(),r.tb(1,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,3,null,y)),r.sb(3,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Kb(4,2),r.Ib(131072,s.b,[r.h])],(function(e,t){var n=t.component,i=r.Pb(t,3,0,r.Gb(t,5).transform(r.Pb(t,3,0,e(t,4,0,r.Gb(t,0),n.to.options,n.field))));e(t,3,0,i)}),null)}function _(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field-multicheckbox",[],null,
1null,null,b,m)),r.sb(1,49152,null,0,i.d,[],null,null)],null,null)}var v=r.pb("formly-field-multicheckbox",i.d,_,{field:"field",model:"model",form:"form",options:"options"},{},[]),E=r.rb({encapsulation:2,styles:[],data:{}});function S(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,6,"input",[["class","form-control"]],[[8,"type",0],[2,"is-invalid",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,t,n){var i=!0;return"input"===t&&(i=!1!==r.Gb(e,1)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,1).onTouched()&&i),"compositionstart"===t&&(i=!1!==r.Gb(e,1)._compositionStart()&&i),"compositionend"===t&&(i=!1!==r.Gb(e,1)._compositionEnd(n.target.value)&&i),"change"===t&&(i=!1!==r.Gb(e,6).onHostChange(n)&&i),i}),null,null)),r.sb(1,16384,null,0,a.e,[r.C,r.k,[2,a.b]],null,null),r.Lb(1024,null,a.p,(function(e){return[e]}),[a.e]),r.sb(3,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(5,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(6,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.formControl),e(t,6,0,n.field)}),(function(e,t){var n=t.component;e(t,0,0,n.type,n.showError,r.Gb(t,5).ngClassUntouched,r.Gb(t,5).ngClassTouched,r.Gb(t,5).ngClassPristine,r.Gb(t,5).ngClassDirty,r.Gb(t,5).ngClassValid,r.Gb(t,5).ngClassInvalid,r.Gb(t,5).ngClassPending)}))}function C(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"input",[["class","form-control"],["type","number"]],[[2,"is-invalid",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,t,n){var i=!0;return"input"===t&&(i=!1!==r.Gb(e,1)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,1).onTouched()&&i),"compositionstart"===t&&(i=!1!==r.Gb(e,1)._compositionStart()&&i),"compositionend"===t&&(i=!1!==r.Gb(e,1)._compositionEnd(n.target.value)&&i),"change"===t&&(i=!1!==r.Gb(e,2).onChange(n.target.value)&&i),"input"===t&&(i=!1!==r.Gb(e,2).onChange(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,2).onTouched()&&i),"change"===t&&(i=!1!==r.Gb(e,7).onHostChange(n)&&i),i}),null,null)),r.sb(1,16384,null,0,a.e,[r.C,r.k,[2,a.b]],null,null),r.sb(2,16384,null,0,a.w,[r.C,r.k],null,null),r.Lb(1024,null,a.p,(function(e,t){return[e,t]}),[a.e,a.w]),r.sb(4,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(6,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(7,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"]},null)],(function(e,t){var n=t.component;e(t,4,0,n.formControl),e(t,7,0,n.field)}),(function(e,t){e(t,0,0,t.component.showError,r.Gb(t,6).ngClassUntouched,r.Gb(t,6).ngClassTouched,r.Gb(t,6).ngClassPristine,r.Gb(t,6).ngClassDirty,r.Gb(t,6).ngClassValid,r.Gb(t,6).ngClassInvalid,r.Gb(t,6).ngClassPending)}))}function w(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,S)),r.sb(1,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["numberTmp",2]],null,0,null,C))],(function(e,t){e(t,1,0,"number"!==t.component.type,r.Gb(t,2))}),null)}function T(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field-input",[],null,null,null,w,E)),r.sb(1,49152,null,0,i.c,[],null,null)],null,null)}var x=r.pb("formly-field-input",i.c,T,{field:"field",model:"model",form:"form",options:"options"},{},[]),O=r.rb({encapsulation:2,styles:[],data:{}});function A(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,13,"div",[],null,null,null,null,null)),r.Lb(512,null,s.C,s.D,[r.r,r.s,r.k,r.C]),r.sb(2,278528,null,0,s.l,[s.C],{ngClass:[0,"ngClass"]},null),r.Jb(3,{"form-check":0,"form-check-inline":1,"custom-control custom-radio":2,"custom-control-inline":3}),(e()(),r.tb(4,0,null,null,7,"input",[["type","radio"]],[[2,"form-check-input",null],[2,"custom-control-input",null],[2,"is-invalid",null],[1,"value",0],[1,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,t,n){var i=!0;return"input"===t&&(i=!1!==r.Gb(e,5)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,5).onTouched()&&i),"compositionstart"===t&&(i=!1!==r.Gb(e,5)._compositionStart()&&i),"compositionend"===t&&(i=!1!==r.Gb(e,5)._compositionEnd(n.target.value)&&i),"change"===t&&(i=!1!==r.Gb(e,6).onChange()&&i),"blur"===t&&(i=!1!==r.Gb(e,6).onTouched()&&i),"change"===t&&(i=!1!==r.Gb(e,11).onHostChange(n)&&i),i}),null,null)),r.sb(5,16384,null,0,a.e,[r.C,r.k,[2,a.b]],null,null),r.sb(6,212992,null,0,a.x,[r.C,r.k,a.E,r.q],{name:[0,"name"],value:[1,"value"]},null),r.Lb(1024,null,a.p,(function(e,t){return[e,t]}),[a.e,a.x]),r.sb(8,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(10,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(11,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"],id:[1,"id"]},null),(e()(),r.tb(12,0,null,null,1,"label",[],[[2,"form-check-label",null],[2,"custom-control-label",null],[8,"htmlFor",0]],null,null,null,null)),(e()(),r.Ob(13,null,[" "," "]))],(function(e,t){var n=t.component,r=e(t,3,0,-1===n.to.formCheck.indexOf("custom"),"inline"===n.to.formCheck,0===n.to.formCheck.indexOf("custom"),"custom-inline"===n.to.formCheck);e(t,2,0,r),e(t,6,0,n.field.name||n.id,t.context.$implicit.value),e(t,8,0,n.formControl),e(t,11,0,n.field,n.id+"_"+t.context.
1index)}),(function(e,t){var n=t.component;e(t,4,1,[-1===n.to.formCheck.indexOf("custom"),0===n.to.formCheck.indexOf("custom"),n.showError,t.context.$implicit.value,!(!t.context.$implicit.disabled&&!n.formControl.disabled)||null,r.Gb(t,10).ngClassUntouched,r.Gb(t,10).ngClassTouched,r.Gb(t,10).ngClassPristine,r.Gb(t,10).ngClassDirty,r.Gb(t,10).ngClassValid,r.Gb(t,10).ngClassInvalid,r.Gb(t,10).ngClassPending]),e(t,12,0,-1===n.to.formCheck.indexOf("custom"),0===n.to.formCheck.indexOf("custom"),n.id+"_"+t.context.index),e(t,13,0,t.context.$implicit.label)}))}function D(e){return r.Qb(0,[r.Ib(131072,u.b,[]),(e()(),r.tb(1,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,3,null,A)),r.sb(3,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),r.Kb(4,2),r.Ib(131072,s.b,[r.h])],(function(e,t){var n=t.component,i=r.Pb(t,3,0,r.Gb(t,5).transform(r.Pb(t,3,0,e(t,4,0,r.Gb(t,0),n.to.options,n.field))));e(t,3,0,i)}),null)}function I(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field-radio",[],null,null,null,D,O)),r.sb(1,49152,null,0,i.e,[],null,null)],null,null)}var R=r.pb("formly-field-radio",i.e,I,{field:"field",model:"model",form:"form",options:"options"},{},[]),N=r.rb({encapsulation:2,styles:[],data:{}});function k(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"textarea",[["class","form-control"]],[[8,"cols",0],[8,"rows",0],[2,"is-invalid",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,t,n){var i=!0;return"input"===t&&(i=!1!==r.Gb(e,1)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,1).onTouched()&&i),"compositionstart"===t&&(i=!1!==r.Gb(e,1)._compositionStart()&&i),"compositionend"===t&&(i=!1!==r.Gb(e,1)._compositionEnd(n.target.value)&&i),"change"===t&&(i=!1!==r.Gb(e,6).onHostChange(n)&&i),i}),null,null)),r.sb(1,16384,null,0,a.e,[r.C,r.k,[2,a.b]],null,null),r.Lb(1024,null,a.p,(function(e){return[e]}),[a.e]),r.sb(3,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(5,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(6,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"]},null),(e()(),r.Ob(-1,null,["    "]))],(function(e,t){var n=t.component;e(t,3,0,n.formControl),e(t,6,0,n.field)}),(function(e,t){var n=t.component;e(t,0,0,n.to.cols,n.to.rows,n.showError,r.Gb(t,5).ngClassUntouched,r.Gb(t,5).ngClassTouched,r.Gb(t,5).ngClassPristine,r.Gb(t,5).ngClassDirty,r.Gb(t,5).ngClassValid,r.Gb(t,5).ngClassInvalid,r.Gb(t,5).ngClassPending)}))}function M(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field-textarea",[],null,null,null,k,N)),r.sb(1,49152,null,0,i.g,[],null,null)],null,null)}var F=r.pb("formly-field-textarea",i.g,M,{field:"field",model:"model",form:"form",options:"options"},{},[]),P=r.rb({encapsulation:2,styles:[],data:{}});function L(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r.tb(1,0,null,null,3,"option",[],[[8,"disabled",0]],null,null,null,null)),r.sb(2,147456,null,0,a.v,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),r.sb(3,147456,null,0,a.G,[r.k,r.C,[2,a.B]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(4,null,["",""]))],(function(e,t){e(t,2,0,t.context.$implicit.value),e(t,3,0,t.context.$implicit.value)}),(function(e,t){e(t,1,0,t.context.$implicit.disabled),e(t,4,0,t.context.$implicit.label)}))}function U(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,L)),r.sb(2,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.ib(0,null,null,0))],(function(e,t){e(t,2,0,t.parent.context.ngIf)}),null)}function G(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"option",[],[[8,"disabled",0]],null,null,null,null)),r.sb(1,147456,null,0,a.v,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),r.sb(2,147456,null,0,a.G,[r.k,r.C,[2,a.B]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(3,null,["",""]))],(function(e,t){e(t,1,0,t.parent.context.$implicit.value),e(t,2,0,t.parent.context.$implicit.value)}),(function(e,t){e(t,0,0,t.parent.context.$implicit.disabled),e(t,3,0,t.parent.context.$implicit.label)}))}function H(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"option",[],[[8,"disabled",0]],null,null,null,null)),r.sb(1,147456,null,0,a.v,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),r.sb(2,147456,null,0,a.G,[r.k,r.C,[2,a.B]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(3,null,[" "," "]))],(function(e,t){e(t,1,0,t.context.$implicit.value),e(t,2,0,t.context.$implicit.value)}),(function(e,t){e(t,0,0,t.context.$implicit.disabled),e(t,3,0,t.context.$implicit.label)}))}function B(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"optgroup",[],[[8,"label",0]],null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,H)),r.sb(2,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.parent.context.$implicit.group)}),(function(e,t){e(t,0,0,t.parent.context.$implicit.label)}))}function j(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,G)),r.sb(2,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["optgroup",2]],null,0,null,B))],(function(e,t){e(t,2,0,!t.context.$implicit.group,r.Gb(t,3))}),null)}function V(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,j)),r.sb(1,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.ib(0,null,null,0))],(function(e,t){e(t,1,0,t.parent.context.ngIf)}),null)}function W(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,U)),r.sb(2,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["grouplist",2]],null,0,null,V))],(function(e,t){e(t,2,0,t.component.to._flatOptions,r.Gb(t,3))}),null)}function K(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,10,"select",[["class","form-control"],["multiple",""]],[[2,"custom-select",null],[2,"is-invalid",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],(function(e,t,n){var i=!0;return"change"===t&&(i=!1!==r.Gb(e,1).onChange(n.target)&&i),"blur"===t&&(i=!1!==r.Gb(e,1).onTouched()&&i),"change"===t&&(i=!1!==r.Gb(e,6).onHostChange(n)&&i),i}),null,null)),r.sb(1,16384,null,0,a.B,[r.C,r.k],{compareWith:[0,"compareWith"]},null),r.Lb(1024,null,a.p,(function(e){return[e]}
1),[a.B]),r.sb(3,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(5,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(6,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"]},null),(e()(),r.ib(16777216,null,null,3,null,W)),r.sb(8,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Kb(9,2),r.Ib(131072,s.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,n.to.compareWith),e(t,3,0,n.formControl),e(t,6,0,n.field);var i=r.Pb(t,8,0,r.Gb(t,10).transform(r.Pb(t,8,0,e(t,9,0,r.Gb(t.parent,0),n.to.options,n.field))));e(t,8,0,i)}),(function(e,t){var n=t.component;e(t,0,0,n.to.customSelect,n.showError,r.Gb(t,5).ngClassUntouched,r.Gb(t,5).ngClassTouched,r.Gb(t,5).ngClassPristine,r.Gb(t,5).ngClassDirty,r.Gb(t,5).ngClassValid,r.Gb(t,5).ngClassInvalid,r.Gb(t,5).ngClassPending)}))}function q(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"option",[],null,null,null,null,null)),r.sb(1,147456,null,0,a.v,[r.k,r.C,[2,a.A]],{ngValue:[0,"ngValue"]},null),r.sb(2,147456,null,0,a.G,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(3,null,["",""]))],(function(e,t){e(t,1,0,null),e(t,2,0,null)}),(function(e,t){e(t,3,0,t.component.to.placeholder)}))}function z(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r.tb(1,0,null,null,3,"option",[],[[8,"disabled",0]],null,null,null,null)),r.sb(2,147456,null,0,a.v,[r.k,r.C,[2,a.A]],{ngValue:[0,"ngValue"]},null),r.sb(3,147456,null,0,a.G,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(4,null,["",""]))],(function(e,t){e(t,2,0,t.context.$implicit.value),e(t,3,0,t.context.$implicit.value)}),(function(e,t){e(t,1,0,t.context.$implicit.disabled),e(t,4,0,t.context.$implicit.label)}))}function Y(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,z)),r.sb(2,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.ib(0,null,null,0))],(function(e,t){e(t,2,0,t.parent.context.ngIf)}),null)}function $(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"option",[],[[8,"disabled",0]],null,null,null,null)),r.sb(1,147456,null,0,a.v,[r.k,r.C,[2,a.A]],{ngValue:[0,"ngValue"]},null),r.sb(2,147456,null,0,a.G,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(3,null,["",""]))],(function(e,t){e(t,1,0,t.parent.context.$implicit.value),e(t,2,0,t.parent.context.$implicit.value)}),(function(e,t){e(t,0,0,t.parent.context.$implicit.disabled),e(t,3,0,t.parent.context.$implicit.label)}))}function Q(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"option",[],[[8,"disabled",0]],null,null,null,null)),r.sb(1,147456,null,0,a.v,[r.k,r.C,[2,a.A]],{ngValue:[0,"ngValue"]},null),r.sb(2,147456,null,0,a.G,[r.k,r.C,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),r.Ob(3,null,[" "," "]))],(function(e,t){e(t,1,0,t.context.$implicit.value),e(t,2,0,t.context.$implicit.value)}),(function(e,t){e(t,0,0,t.context.$implicit.disabled),e(t,3,0,t.context.$implicit.label)}))}function Z(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"optgroup",[],[[8,"label",0]],null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,Q)),r.sb(2,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.parent.context.$implicit.group)}),(function(e,t){e(t,0,0,t.parent.context.$implicit.label)}))}function J(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,$)),r.sb(2,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["optgroup",2]],null,0,null,Z))],(function(e,t){e(t,2,0,!t.context.$implicit.group,r.Gb(t,3))}),null)}function X(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,J)),r.sb(1,278528,null,0,s.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.ib(0,null,null,0))],(function(e,t){e(t,1,0,t.parent.context.ngIf)}),null)}function ee(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,Y)),r.sb(2,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["grouplist",2]],null,0,null,X))],(function(e,t){e(t,2,0,t.component.to._flatOptions,r.Gb(t,3))}),null)}function te(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,12,"select",[["class","form-control"]],[[2,"custom-select",null],[2,"is-invalid",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],(function(e,t,n){var i=!0;return"change"===t&&(i=!1!==r.Gb(e,1).onChange(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,1).onTouched()&&i),"change"===t&&(i=!1!==r.Gb(e,6).onHostChange(n)&&i),i}),null,null)),r.sb(1,16384,[[1,4]],0,a.A,[r.C,r.k],{compareWith:[0,"compareWith"]},null),r.Lb(1024,null,a.p,(function(e){return[e]}
1),[a.A]),r.sb(3,540672,null,0,a.i,[[8,null],[8,null],[6,a.p],[2,a.F]],{form:[0,"form"]},null),r.Lb(2048,null,a.q,null,[a.i]),r.sb(5,16384,null,0,a.r,[[4,a.q]],null,null),r.sb(6,933888,null,0,l.d,[r.C,r.k,s.e],{field:[0,"field"]},null),(e()(),r.ib(16777216,null,null,1,null,q)),r.sb(8,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,3,null,ee)),r.sb(10,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),r.Kb(11,2),r.Ib(131072,s.b,[r.h])],(function(e,t){var n=t.component;e(t,1,0,n.to.compareWith),e(t,3,0,n.formControl),e(t,6,0,n.field),e(t,8,0,n.to.placeholder);var i=r.Pb(t,10,0,r.Gb(t,12).transform(r.Pb(t,10,0,e(t,11,0,r.Gb(t.parent,0),n.to.options,n.field))));e(t,10,0,i)}),(function(e,t){var n=t.component;e(t,0,0,n.to.customSelect,n.showError,r.Gb(t,5).ngClassUntouched,r.Gb(t,5).ngClassTouched,r.Gb(t,5).ngClassPristine,r.Gb(t,5).ngClassDirty,r.Gb(t,5).ngClassValid,r.Gb(t,5).ngClassInvalid,r.Gb(t,5).ngClassPending)}))}function ne(e){return r.Qb(0,[r.Ib(131072,u.b,[]),r.Mb(671088640,1,{selectAccessor:0}),(e()(),r.ib(16777216,null,null,1,null,K)),r.sb(3,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["singleSelect",2]],null,0,null,te))],(function(e,t){e(t,3,0,t.component.to.multiple,r.Gb(t,4))}),null)}function re(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-field-select",[],null,
1null,null,ne,P)),r.sb(1,49152,null,0,i.f,[r.y],null,null)],null,null)}var ie=r.pb("formly-field-select",i.f,re,{field:"field",model:"model",form:"form",options:"options"},{},[]),oe=r.rb({encapsulation:2,styles:[],data:{}});function se(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["*"]))],null,null)}function ae(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"label",[],[[1,"for",0]],null,null,null,null)),(e()(),r.Ob(1,null,[" "," "])),(e()(),r.ib(16777216,null,null,1,null,se)),r.sb(3,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.to.required&&!0!==n.to.hideRequiredMarker)}),(function(e,t){var n=t.component;e(t,0,0,n.id),e(t,1,0,n.to.label)}))}function le(e){return r.Qb(0,[(e()(),r.ib(0,null,null,0))],null,null)}function ue(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["class","invalid-feedback"]],[[4,"display",null]],null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"formly-validation-message",[],null,null,null,o.f,o.c)),r.sb(2,573440,null,0,l.l,[l.e],{field:[0,"field"]},null)],(function(e,t){e(t,2,0,t.component.field)}),(function(e,t){e(t,0,0,"block")}))}function ce(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"small",[["class","form-text text-muted"]],null,null,null,null,null)),(e()(),r.Ob(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.to.description)}))}function de(e){return r.Qb(0,[r.Mb(671088640,1,{fieldComponent:0}),(e()(),r.tb(1,0,null,null,7,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,ae)),r.sb(3,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,[[1,3],["fieldComponent",2]],null,0,null,le)),(e()(),r.ib(16777216,null,null,1,null,ue)),r.sb(6,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,ce)),r.sb(8,16384,null,0,s.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.to.label&&!0!==n.to.hideLabel),e(t,6,0,n.showError),e(t,8,0,n.to.description)}),(function(e,t){e(t,1,0,t.component.showError)}))}function he(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"formly-wrapper-form-field",[],null,null,null,de,oe)),r.sb(1,49152,null,0,i.h,[],null,null)],null,null)}var pe=r.pb("formly-wrapper-form-field",i.h,he,{field:"field",model:"model",form:"form",options:"options"},{},[])},fXz7:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l}));var r=n("HDdC"),i=n("2Vo4"),o=n("lJxs"),s=n("pLZG"),a=n("vkgz");class l{transform(e,t){return e instanceof r.a?this.dispose():e=this.observableOf(e,t),e.pipe(Object(o.a)(e=>this.toOptions(e,t||{})))}ngOnDestroy(){this.dispose()}toOptions(e,t){const n=[],r={},i=t.templateOptions||{};return i._flatOptions=!0,e.map(e=>{this.getGroupProp(e,i)?(i._flatOptions=!1,r[this.getGroupProp(e,i)]||(r[this.getGroupProp(e,i)]=[],n.push({label:this.getGroupProp(e,i),group:r[this.getGroupProp(e,i)]})),r[this.getGroupProp(e,i)].push(this.toOption(e,i))):n.push(this.toOption(e,i))}),n}toOption(e,t){return{label:this.getLabelProp(e,t),value:this.getValueProp(e,t),disabled:this.getDisabledProp(e,t)||!1}}getLabelProp(e,t){return"function"==typeof t.labelProp?t.labelProp(e):this.shouldUseLegacyOption(e,t)?(console.warn("NgxFormly: legacy select option '{key, value}' is deprecated since v5.5, use '{value, label}' instead."),e.value):e[t.labelProp||"label"]}getValueProp(e,t){return"function"==typeof t.valueProp?t.valueProp(e):this.shouldUseLegacyOption(e,t)?e.key:e[t.valueProp||"value"]}getDisabledProp(e,t){return"function"==typeof t.disabledProp?t.disabledProp(e):e[t.disabledProp||"disabled"]}getGroupProp(e,t){return"function"==typeof t.groupProp?t.groupProp(e):e[t.groupProp||"group"]}shouldUseLegacyOption(e,t){return!t.valueProp&&!t.labelProp&&null!=e&&"object"==typeof e&&"key"in e&&"value"in e}dispose(){this._options&&(this._options.complete(),this._options=null),this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)}observableOf(e,t){return this.dispose(),t&&t.options&&t.options.fieldChanges&&(this._subscription=t.options.fieldChanges.pipe(Object(s.a)(({property:e,type:n,field:r})=>"expressionChanges"===n&&0===e.indexOf("templateOptions.options")&&r===t&&Array.isArray(r.templateOptions.options)&&!!this._options),Object(a.a)(()=>this._options.next(t.templateOptions.options))).subscribe()),this._options=new i.a(e),this._options.asObservable()}}class u{}},fftR:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{canDeactivate(e,t,n,r){return!!e.canDeactivate&&e.canDeactivate(r)}}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r=n("2fFW"),i=n("NJ4a");const o={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete(){}}},heGP:function(e,t,n){"use strict";e.exports=function(e){var t,n=function(){return t=e.apply(this,arguments),n=function(){return t},t};return function(){return n.apply(this,arguments)}}},hjlO:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));class r{get BUCHEN(){return this._buchen}set BUCHEN(e){this._buchen=e}get ANZEIGE(){return this._anzeige}set ANZEIGE(e){this._anzeige=e}constructor(e,t){this._anzeige=e,this._buchen=t}}class i extends r{get ZUSATZ(){return this.zusatz}set ZUSATZ(e){this.zusatz=e}constructor(e,t,n){super(e,t),this.zusatz=n}}},"hp+P":function(e,t,n){"use strict";var r=n("Zz7b");n.d(t,"a",(function(){return r.a})),n("tj1A"),n("Uz91")},hpHm:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return l})),n("8Y7J");class r{constructor(e,t){this.open=e,this.close=t||e}isManual(){return"manual"===this.open||"manual"===this.close}}const i={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function o(e,t){const n=function(e,t=i){const n=(e||"").trim();if(0===n.length)return[];const o=n.split(/\s+/).map(e=>e.split(":")).map(e=>{const n=t[e[0]]||e;return new r(n[0],n[1])}),s=o.filter(e=>e.isManual());if(s.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===s.length&&o.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return o}(t.triggers),o=t.target;if(1===n.length&&n[0].isManual())return Function.prototype;const s=[],a=[],l=()=>{a.forEach(e=>s.push(e())),a.length=0};return n.forEach(n=>{const r=n.open===n.close,i=r?t.toggle:t.show;r||a.push(()=>e.listen(o,n.close,t.hide)),s.push(e.listen(o,n.open,()=>i(l)))}),()=>{s.forEach(e=>e())}}function s(e,t){return t.outsideClick?e.listen("document","click",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype}function a(e,t){return t.outsideEsc?e.listen("document","keyup.esc",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype}const l="undefined"!=typeof window&&window||{},u=l.document;let c;function d(){return void 0===l||(void 0===l.__theme?(c||(c=function(){if("undefined"==typeof document)return null;const e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");const t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}()),"bs3"===c):"bs4"!==l.__theme)}class h{constructor(){this.length=0,this.asArray=[]}get(e){if(0===this.length||e<0||e>=this.length)return;let t=this.head;for(let n=0;n<e;n++)t=t.next;return t.value}add(e,t=this.length){if(t<0||t>this.length)throw new Error("Position is out of the list");const n={value:e,next:void 0,previous:void 0};if(0===this.length)this.head=n,this.tail=n,this.current=n;else if(0===t)n.next=this.head,this.head.previous=n,this.head=n;else if(t===this.length)this.tail.next=n,n.previous=this.tail,this.tail=n;else{const e=this.getNode(t-1),r=e.next;e.next=n,r.previous=n,n.previous=e,n.next=r}this.length++,this.createInternalArrayRepresentation()}remove(e=0){if(0===this.length||e<0||e>=this.length)throw new Error("Position is out of the list");if(0===e)this.head=this.head.next,this.head?this.head.previous=void 0:this.tail=void 0;else if(e===this.length-1)this.tail=this.tail.previous,this.tail.next=void 0;else{const t=this.getNode(e);t.next.previous=t.previous,t.previous.next=t.next}this.length--,this.createInternalArrayRepresentation()}set(e,t){if(0===this.length||e<0||e>=this.length)throw new Error("Position is out of the list");this.getNode(e).value=t,this.createInternalArrayRepresentation()}toArray(){return this.asArray}findAll(e){let t=this.head;const n=[];for(let r=0;r<this.length;r++)e(t.value,r)&&n.push({index:r,value:t.value}),t=t.next;return n}
1push(...e){return e.forEach(e=>{this.add(e)}),this.length}pop(){if(0===this.length)return;const e=this.tail;return this.remove(this.length-1),e.value}unshift(...e){return e.reverse(),e.forEach(e=>{this.add(e,0)}),this.length}shift(){if(0===this.length)return;const e=this.head.value;return this.remove(),e}forEach(e){let t=this.head;for(let n=0;n<this.length;n++)e(t.value,n),t=t.next}indexOf(e){let t=this.head,n=0;for(let r=0;r<this.length;r++){if(t.value===e){n=r;break}t=t.next}return n}some(e){let t=this.head,n=!1;for(;t&&!n;){if(e(t.value)){n=!0;break}t=t.next}return n}every(e){let t=this.head,n=!0;for(;t&&n;)e(t.value)||(n=!1),t=t.next;return n}toString(){return"[Linked List]"}find(e){let t,n=this.head;for(let r=0;r<this.length;r++){if(e(n.value,r)){t=n.value;break}n=n.next}return t}findIndex(e){let t,n=this.head;for(let r=0;r<this.length;r++){if(e(n.value,r)){t=r;break}n=n.next}return t}getNode(e){if(0===this.length||e<0||e>=this.length)throw new Error("Position is out of the list");let t=this.head;for(let n=0;n<e;n++)t=t.next;return t}createInternalArrayRepresentation(){const e=[];let t=this.head;for(;t;)e.push(t.value),t=t.next;this.asArray=e}}class p{static reflow(e){}static getStyles(e){let t=e.ownerDocument.defaultView;return t&&t.opener||(t=l),t.getComputedStyle(e)}}"undefined"==typeof console||console},i1ou:function(e,t,n){"use strict";e.exports={af:"\xa4#,##0.00;(\xa4#,##0.00)","af-NA":"\xa4#,##0.00;(\xa4#,##0.00)",agq:"#,##0.00\xa4",ak:"\xa4#,##0.00",am:"\xa4#,##0.00;(\xa4#,##0.00)",ar:"\xa4#,##0.00;(\xa4#,##0.00)","ar-AE":"\xa4#,##0.00;(\xa4#,##0.00)","ar-BH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DZ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EG":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-ER":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IL":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IQ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-JO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KW":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LB":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MR":"\xa4#,##0.00;(\xa4#,##0.00)","ar-OM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-PS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-QA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TN":"\xa4#,##0.00;(\xa4#,##0.00)","ar-YE":"\xa4#,##0.00;(\xa4#,##0.00)",as:"\xa4\xa0#,##,##0.00",asa:"#,##0.00\xa0\xa4",ast:"#,##0.00\xa0\xa4",az:"#,##0.00\xa0\xa4","az-Cyrl":"#,##0.00\xa0\xa4","az-Latn":"#,##0.00\xa0\xa4",bas:"#,##0.00\xa0\xa4",be:"#,##0.00\xa0\xa4",bem:"\xa4#,##0.00;(\xa4#,##0.00)",bez:"#,##0.00\xa4",bg:"0.00\xa0\xa4;(0.00\xa0\xa4)",bm:"\xa4#,##0.00;(\xa4#,##0.00)",bn:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","bn-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",bo:"\xa4\xa0#,##0.00","bo-IN":"\xa4\xa0#,##0.00",br:"#,##0.00\xa0\xa4",brx:"\xa4\xa0#,##,##0.00",bs:"#,##0.00\xa0\xa4","bs-Cyrl":"#,##0.00\xa0\xa4","bs-Latn":"#,##0.00\xa0\xa4",ca:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-AD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-ES-VALENCIA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-FR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-IT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ccp:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","ccp-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",ce:"#,##0.00\xa0\xa4",ceb:"\xa4#,##0.00;(\xa4#,##0.00)",cgg:"\xa4#,##0.00",chr:"\xa4#,##0.00;(\xa4#,##0.00)",ckb:"\xa4\xa0#,##0.00","ckb-IR":"\xa4\xa0#,##0.00",cs:"#,##0.00\xa0\xa4",cu:"\xa4\xa0#,##0.00",cy:"\xa4#,##0.00;(\xa4#,##0.00)",da:"#,##0.00\xa0\xa4","da-GL":"#,##0.00\xa0\xa4",dav:"\xa4#,##0.00;(\xa4#,##0.00)",de:"#,##0.00\xa0\xa4","de-AT":"#,##0.00\xa0\xa4","de-BE":"#,##0.00\xa0\xa4","de-CH":"#,##0.00\xa0\xa4","de-IT":"#,##0.00\xa0\xa4","de-LI":"#,##0.00\xa0\xa4","de-LU":"#,##0.00\xa0\xa4",dje:"#,##0.00\xa4",dsb:"#,##0.00\xa0\xa4",dua:"#,##0.00\xa0\xa4",dyo:"#,##0.00\xa0\xa4",dz:"\xa4#,##,##0.00",ebu:"\xa4#,##0.00;(\xa4#,##0.00)",ee:"\xa4#,##0.00;(\xa4#,##0.00)","ee-TG":"\xa4#,##0.00;(\xa4#,##0.00)",el:"#,##0.00\xa0\xa4","el-CY":"#,##0.00\xa0\xa4",en:"\xa4#,##0.00;(\xa4#,##0.00)","en-001":"\xa4#,##0.00;(\xa4#,##0.00)","en-150":"#,##0.00\xa0\xa4","en-AE":"\xa4#,##0.00;(\xa4#,##0.00)","en-AG":"\xa4#,##0.00;(\xa4#,##0.00)","en-AI":"\xa4#,##0.00;(\xa4#,##0.00)","en-AS":"\xa4#,##0.00;(\xa4#,##0.00)","en-AT":"\xa4\xa0#,##0.00","en-AU":"\xa4#,##0.00;(\xa4#,##0.00)","en-BB":"\xa4#,##0.00;(\xa4#,##0.00)","en-BE":"#,##0.00\xa0\xa4","en-BI":"\xa4#,##0.00;(\xa4#,##0.00)","en-BM":"\xa4#,##0.00;(\xa4#,##0.00)","en-BS":"\xa4#,##0.00;(\xa4#,##0.00)","en-BW":"\xa4#,##0.00;(\xa4#,##0.00)","en-BZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-CA":"\xa4#,##0.00;(\xa4#,##0.00)","en-CC":"\xa4#,##0.00;(\xa4#,##0.00)","en-CH":"\xa4\xa0#,##0.00;\xa4-#,##0.00","en-CK":"\xa4#,##0.00;(\xa4#,##0.00)","en-CM":"\xa4#,##0.00;(\xa4#,##0.00)","en-CX":"\xa4#,##0.00;(\xa4#,##0.00)","en-CY":"\xa4#,##0.00;(\xa4#,##0.00)","en-DE":"#,##0.00\xa0\xa4","en-DG":"\xa4#,##0.00;(\xa4#,##0.00)","en-DK":"#,##0.00\xa0\xa4","en-DM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ER":"\xa4#,##0.00;(\xa4#,##0.00)","en-FI":"#,##0.00\xa0\xa4","en-FJ":"\xa4#,##0.00;(\xa4#,##0.00)","en-FK":"\xa4#,##0.00;(\xa4#,##0.00)","en-FM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GB":"\xa4#,##0.00;(\xa4#,##0.00)","en-GD":"\xa4#,##0.00;(\xa4#,##0.00)","en-GG":"\xa4#,##0.00;(\xa4#,##0.00)","en-GH":"\xa4#,##0.00;(\xa4#,##0.00)","en-GI":"\xa4#,##0.00;(\xa4#,##0.00)","en-GM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GU":"\xa4#,##0.00;(\xa4#,##0.00)","en-GY":"\xa4#,##0.00;(\xa4#,##0.00)","en-HK":"\xa4#,##0.00;(\xa4#,##0.00)","en-IE":"\xa4#,##0.00;(\xa4#,##0.00)","en-IL":"\xa4#,##0.00;(\xa4#,##0.00)","en-IM":"\xa4#,##0.00;(\xa4#,##0.00)","en-IN":"\xa4#,##0.00;(\xa4#,##0.00)","en-IO":"\xa4#,##0.00;(\xa4#,##0.00)","en-JE":"\xa4#,##0.00;(\xa4#,##0.00)","en-JM":"\xa4#,##0.00;(\xa4#,##0.00)","en-KE":"\xa4#,##0.00;(\xa4#,##0.00)","en-KI":"\xa4#,##0.00;(\xa4#,##0.00)","en-KN":"\xa4#,##0.00;(\xa4#,##0.00)","en-KY":"\xa4#,##0.00;(\xa4#,##0.00)","en-LC":"\xa4#,##0.00;(\xa4#,##0.00)","en-LR":"\xa4#,##0.00;(\xa4#,##0.00)","en-LS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MG":"\xa4#,##0.00;(\xa4#,##0.00)","en-MH":"\xa4#,##0.00;(\xa4#,##0.00)","en-MO":"\xa4#,##0.00;(\xa4#,##0.00)","en-MP":"\xa4#,##0.00;(\xa4#,##0.00)","en-MS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MT":"\xa4#,##0.00;(\xa4#,##0.00)","en-MU":"\xa4#,##0.00;(\xa4#,##0.00)","en-MW":"\xa4#,##0.00;(\xa4#,##0.00)","en-MY":"\xa4#,##0.00;(\xa4#,##0.00)","en-NA":"\xa4#,##0.00;(\xa4#,##0.00)","en-NF":"\xa4#,##0.00;(\xa4#,##0.00)","en-NG":"\xa4#,##0.00;(\xa4#,##0.00)","en-NL":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","en-NR":"\xa4#,##0.00;(\xa4#,##0.00)","en-NU":"\xa4#,##0.00;(\xa4#,##0.00)","en-NZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-PG":"\xa4#,##0.00;(\xa4#,##0.00)","en-PH":"\xa4#,##0.00;(\xa4#,##0.00)","en-PK":"\xa4#,##0.00;(\xa4#,##0.00)","en-PN":"\xa4#,##0.00;(\xa4#,##0.00)","en-PR":"\xa4#,##0.00;(\xa4#,##0.00)","en-PW":"\xa4#,##0.00;(\xa4#,##0.00)","en-RW":"\xa4#,##0.00;(\xa4#,##0.00)","en-SB":"\xa4#,##0.00;(\xa4#,##0.00)","en-SC":"\xa4#,##0.00;(\xa4#,##0.00)","en-SD":"\xa4#,##0.00;(\xa4#,##0.00)","en-SE":"#,##0.00\xa0\xa4","en-SG":"\xa4#,##0.00;(\xa4#,##0.00)","en-SH":"\xa4#,##0.00;(\xa4#,##0.00)","en-SI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","en-SL":"\xa4#,##0.00;(\xa4#,##0.00)","en-SS":"\xa4#,##0.00;(\xa4#,##0.00)","en-SX":"\xa4#,##0.00;(\xa4#,##0.00)","en-SZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-TC":"\xa4#,##0.00;(\xa4#,##0.00)","en-TK":"\xa4#,##0.00;(\xa4#,##0.00)","en-TO":"\xa4#,##0.00;(\xa4#,##0.00)","en-TT":"\xa4#,##0.00;(\xa4#,##0.00)","en-TV":"\xa4#,##0.00;(\xa4#,##0.00)","en-TZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-UG":"\xa4#,##0.00;(\xa4#,##0.00)","en-UM":"\xa4#,##0.00;(\xa4#,##0.00)","en-US-POSIX":"\xa4#,##0.00;(\xa4#,##0.00)","en-VC":"\xa4#,##0.00;(\xa4#,##0.00)","en-VG":"\xa4#,##0.00;(\xa4#,##0.00)","en-VI":"\xa4#,##0.00;(\xa4#,##0.00)","en-VU":"\xa4#,##0.00;(\xa4#,##0.00)","en-WS":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZA":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZW":"\xa4#,##0.00;(\xa4#,##0.00)",eo:"\xa4\xa0#,##0.00",es:"#,##0.00\xa0\xa4","es-419":"\xa4#,##0.00","es-AR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-BO":"\xa4#,##0.00","es-BR":"\xa4#,##0.00","es-BZ":"\xa4#,##0.00","es-CL":"\xa4#,##0.00","es-CO":"\xa4#,##0.00","es-CR":"\xa4#,##0.00","es-CU":"\xa4#,##0.00","es-DO":"\xa4#,##0.00;(\xa4#,##0.00)","es-EA":"#,##0.00\xa0\xa4","es-EC":"\xa4#,##0.00","es-GQ":"#,##0.00\xa0\xa4","es-GT":"\xa4#,##0.00","es-HN":"\xa4#,##0.00","es-IC":"#,##0.00\xa0\xa4","es-MX":"\xa4#,##0.00","es-NI":"\xa4#,##0.00","es-PA":"\xa4#,##0.00","es-PE":"\xa4#,##0.00","es-PH":"#,##0.00\xa0\xa4","es-PR":"\xa4#,##0.00","es-PY":"\xa4#,##0.00","es-SV":"\xa4#,##0.00","es-US":"\xa4#,##0.00","es-UY":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-VE":"\xa4#,##0.00",et:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",eu:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ewo:"#,##0.00\xa0\xa4",fa:"\u200e\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)","fa-AF":"\xa4\xa0#,##0.00;
1\u200e(\xa4\xa0#,##0.00)",ff:"#,##0.00\xa0\xa4","ff-Latn":"#,##0.00\xa0\xa4","ff-Latn-BF":"#,##0.00\xa0\xa4","ff-Latn-CM":"#,##0.00\xa0\xa4","ff-Latn-GH":"#,##0.00\xa0\xa4","ff-Latn-GM":"#,##0.00\xa0\xa4","ff-Latn-GN":"#,##0.00\xa0\xa4","ff-Latn-GW":"#,##0.00\xa0\xa4","ff-Latn-LR":"#,##0.00\xa0\xa4","ff-Latn-MR":"#,##0.00\xa0\xa4","ff-Latn-NE":"#,##0.00\xa0\xa4","ff-Latn-NG":"#,##0.00\xa0\xa4","ff-Latn-SL":"#,##0.00\xa0\xa4",fi:"#,##0.00\xa0\xa4",fil:"\xa4#,##0.00;(\xa4#,##0.00)",fo:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fo-DK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GP":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-HT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-KM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-ML":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SY":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-VU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-WF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-YT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fur:"\xa4\xa0#,##0.00",fy:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",ga:"\xa4#,##0.00;(\xa4#,##0.00)","ga-GB":"\xa4#,##0.00;(\xa4#,##0.00)",gd:"\xa4#,##0.00;(\xa4#,##0.00)",gl:"#,##0.00\xa0\xa4",gsw:"#,##0.00\xa0\xa4","gsw-FR":"#,##0.00\xa0\xa4","gsw-LI":"#,##0.00\xa0\xa4",gu:"\xa4#,##,##0.00;(\xa4#,##,##0.00)",guz:"\xa4#,##0.00;(\xa4#,##0.00)",gv:"\xa4#,##0.00",ha:"\xa4\xa0#,##0.00","ha-GH":"\xa4\xa0#,##0.00","ha-NE":"\xa4\xa0#,##0.00",haw:"\xa4#,##0.00;(\xa4#,##0.00)",he:"#,##0.00\xa0\xa4",hi:"\xa4#,##,##0.00",hr:"#,##0.00\xa0\xa4","hr-BA":"#,##0.00\xa0\xa4",hsb:"#,##0.00\xa0\xa4",hu:"#,##0.00\xa0\xa4",hy:"#,##0.00\xa0\xa4",ia:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",id:"\xa4#,##0.00",ig:"\xa4#,##0.00;(\xa4#,##0.00)",ii:"\xa4\xa0#,##0.00",is:"#,##0.00\xa0\xa4",it:"#,##0.00\xa0\xa4","it-CH":"#,##0.00\xa0\xa4","it-SM":"#,##0.00\xa0\xa4","it-VA":"#,##0.00\xa0\xa4",ja:"\xa4#,##0.00;(\xa4#,##0.00)",jgo:"\xa4\xa0#,##0.00",jmc:"\xa4#,##0.00",jv:"\xa4\xa0#,##0.00",ka:"#,##0.00\xa0\xa4",kab:"#,##0.00\xa4",kam:"\xa4#,##0.00;(\xa4#,##0.00)",kde:"\xa4#,##0.00;(\xa4#,##0.00)",kea:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",khq:"#,##0.00\xa4",ki:"\xa4#,##0.00;(\xa4#,##0.00)",kk:"#,##0.00\xa0\xa4",kkj:"\xa4\xa0#,##0.00",kl:"\xa4#,##0.00;\xa4-#,##0.00",kln:"\xa4#,##0.00;(\xa4#,##0.00)",km:"#,##0.00\xa4;(#,##0.00\xa4)",kn:"\xa4#,##0.00;(\xa4#,##0.00)",ko:"\xa4#,##0.00;(\xa4#,##0.00)","ko-KP":"\xa4#,##0.00;(\xa4#,##0.00)",kok:"\xa4#,##0.00;(\xa4#,##0.00)",ks:"\xa4\xa0#,##,##0.00",ksb:"#,##0.00\xa4",ksf:"#,##0.00\xa0\xa4",ksh:"#,##0.00\xa0\xa4",ku:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kw:"\xa4#,##0.00",ky:"#,##0.00\xa0\xa4",lag:"\xa4\xa0#,##0.00",lb:"#,##0.00\xa0\xa4",lg:"#,##0.00\xa4",lkt:"\xa4\xa0#,##0.00",ln:"#,##0.00\xa0\xa4","ln-AO":"#,##0.00\xa0\xa4","ln-CF":"#,##0.00\xa0\xa4","ln-CG":"#,##0.00\xa0\xa4",lo:"\xa4#,##0.00;\xa4-#,##0.00",lrc:"\xa4\xa0#,##0.00","lrc-IQ":"\xa4\xa0#,##0.00",lt:"#,##0.00\xa0\xa4",lu:"#,##0.00\xa4",luo:"#,##0.00\xa4",luy:"\xa4#,##0.00;\xa4-\xa0#,##0.00",lv:"#,##0.00\xa0\xa4",mas:"\xa4#,##0.00;(\xa4#,##0.00)","mas-TZ":"\xa4#,##0.00;(\xa4#,##0.00)",mer:"\xa4#,##0.00;(\xa4#,##0.00)",mfe:"\xa4\xa0#,##0.00",mg:"\xa4#,##0.00",mgh:"\xa4\xa0#,##0.00",mgo:"\xa4\xa0#,##0.00",mi:"\xa4\xa0#,##0.00",mk:"#,##0.00\xa0\xa4",ml:"\xa4#,##0.00;(\xa4#,##0.00)",mn:"\xa4\xa0#,##0.00",mr:"\xa4#,##0.00;(\xa4#,##0.00)",ms:"\xa4#,##0.00;(\xa4#,##0.00)","ms-BN":"\xa4#,##0.00;(\xa4#,##0.00)","ms-SG":"\xa4#,##0.00;(\xa4#,##0.00)",mt:"\xa4#,##0.00",mua:"\xa4#,##0.00;(\xa4#,##0.00)",my:"\xa4\xa0#,##0.00",mzn:"\xa4\xa0#,##0.00",naq:"\xa4#,##0.00",nb:"\xa4\xa0#,##0.00","
1nb-SJ":"\xa4\xa0#,##0.00",nd:"\xa4#,##0.00;(\xa4#,##0.00)",nds:"\xa4\xa0#,##0.00","nds-NL":"\xa4\xa0#,##0.00",ne:"\xa4\xa0#,##0.00","ne-IN":"\xa4\xa0#,##0.00",nl:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-AW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BE":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BQ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-CW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SX":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nmg:"#,##0.00\xa0\xa4",nn:"#,##0.00\xa0\xa4",nnh:"\xa4\xa0#,##0.00",nus:"\xa4#,##0.00;(\xa4#,##0.00)",nyn:"\xa4#,##0.00",om:"\xa4#,##0.00","om-KE":"\xa4#,##0.00",or:"\xa4#,##0.00;(\xa4#,##0.00)",os:"\xa4\xa0#,##0.00","os-RU":"\xa4\xa0#,##0.00",pa:"\xa4\xa0#,##0.00","pa-Arab":"\xa4\xa0#,##0.00","pa-Guru":"\xa4\xa0#,##0.00",pl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",prg:"\xa4\xa0#,##0.00",ps:"\xa4#,##0.00;(\xa4#,##0.00)","ps-PK":"\xa4#,##0.00;(\xa4#,##0.00)",pt:"\xa4\xa0#,##0.00","pt-AO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CV":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-PT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-ST":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-TL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",qu:"\xa4\xa0#,##0.00","qu-BO":"\xa4\xa0#,##0.00","qu-EC":"\xa4\xa0#,##0.00",rm:"#,##0.00\xa0\xa4",rn:"#,##0.00\xa4",ro:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ro-MD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",rof:"\xa4#,##0.00",root:"\xa4\xa0#,##0.00",ru:"#,##0.00\xa0\xa4","ru-BY":"#,##0.00\xa0\xa4","ru-KG":"#,##0.00\xa0\xa4","ru-KZ":"#,##0.00\xa0\xa4","ru-MD":"#,##0.00\xa0\xa4","ru-UA":"#,##0.00\xa0\xa4",rw:"\xa4\xa0#,##0.00",rwk:"#,##0.00\xa4",sah:"#,##0.00\xa0\xa4",saq:"\xa4#,##0.00;(\xa4#,##0.00)",sbp:"#,##0.00\xa4",sd:"\xa4\xa0#,##0.00",se:"#,##0.00\xa0\xa4","se-FI":"#,##0.00\xa0\xa4","se-SE":"#,##0.00\xa0\xa4",seh:"#,##0.00\xa4",ses:"#,##0.00\xa4",sg:"\xa4#,##0.00;\xa4-#,##0.00",shi:"#,##0.00\xa4","shi-Latn":"#,##0.00\xa4","shi-Tfng":"#,##0.00\xa4",si:"\xa4#,##0.00;(\xa4#,##0.00)",sk:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",smn:"#,##0.00\xa0\xa4",sn:"\xa4#,##0.00;(\xa4#,##0.00)",so:"\xa4#,##0.00;(\xa4#,##0.00)","so-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","so-ET":"\xa4#,##0.00;(\xa4#,##0.00)","so-KE":"\xa4#,##0.00;(\xa4#,##0.00)",sq:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-MK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sv:"#,##0.00\xa0\xa4","sv-AX":"#,##0.00\xa0\xa4","sv-FI":"#,##0.00\xa0\xa4",sw:"\xa4\xa0#,##0.00","sw-CD":"\xa4\xa0#,##0.00","sw-KE":"\xa4\xa0#,##0.00","sw-UG":"\xa4\xa0#,##0.00",ta:"\xa4#,##0.00;(\xa4#,##0.00)","ta-LK":"\xa4#,##0.00;(\xa4#,##0.00)","ta-MY":"\xa4#,##0.00;(\xa4#,##0.00)","ta-SG":"\xa4#,##0.00;(\xa4#,##0.00)",te:"\xa4#,##0.00;(\xa4#,##0.00)",teo:"\xa4#,##0.00;(\xa4#,##0.00)","teo-KE":"\xa4#,##0.00;(\xa4#,##0.00)",tg:"#,##0.00\xa0\xa4",th:"\xa4#,##0.00;(\xa4#,##0.00)",ti:"\xa4#,##0.00","ti-ER":"\xa4#,##0.00",tk:"#,##0.00\xa0\xa4",to:"\xa4\xa0#,##0.00",tr:"\xa4#,##0.00;(\xa4#,##0.00)","tr-CY":"\xa4#,##0.00;(\xa4#,##0.00)",tt:"#,##0.00\xa0\xa4",twq:"#,##0.00\xa4",tzm:"#,##0.00\xa0\xa4",ug:"\xa4#,##0.00;(\xa4#,##0.00)",uk:"#,##0.00\xa0\xa4",ur:"\xa4#,##0.00;(\xa4#,##0.00)","ur-IN":"\xa4#,##0.00;(\xa4#,##0.00)",uz:"#,##0.00\xa0\xa4","uz-Arab":"\xa4\xa0#,##0.00","uz-Cyrl":"#,##0.00\xa0\xa4","uz-Latn":"#,##0.00\xa0\xa4",vai:"\xa4#,##0.00;(\xa4#,##0.00)","vai-Latn":"\xa4#,##0.00;(\xa4#,##0.00)","vai-Vaii":"\xa4#,##0.00;(\xa4#,##0.00)",vi:"#,##0.00\xa0\xa4",vo:"\xa4\xa0#,##0.00",vun:"\xa4#,##0.00",wae:"\xa4\xa0#,##0.00",wo:"\xa4\xa0#,##0.00",xh:"\xa4#,##0.00",xog:"#,##0.00\xa0\xa4",yav:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",yi:"\xa4\xa0#,##0.00",yo:"\xa4#,##0.00;(\xa4#,##0.00)","yo-BJ":"\xa4#,##0.00;(\xa4#,##0.00)",yue:"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hant":"\xa4#,##0.00;(\xa4#,##0.00)",zgh:"#,##0.00\xa4",zh:"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans":"\xa4#,##0.00;
1(\xa4#,##0.00)","zh-Hans-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-MO":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-SG":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-MO":"\xa4#,##0.00;(\xa4#,##0.00)",zu:"\xa4#,##0.00;(\xa4#,##0.00)"}},iInd:function(e,t,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),s=n("Cfvw"),a=n("2Vo4"),l=n("HDdC"),u=n("sVev"),c=n("itXk"),d=n("NXyV"),h=n("XNiG"),p=n("EY2u"),f=n("lJxs"),g=n("0EUg"),m=n("NJ9Y"),y=n("JIr8"),b=n("pLZG"),_=n("IzEk"),v=n("xbPD"),E=n("XDbj"),S=n("SpAZ");function C(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(b.a)((t,n)=>e(t,n,r)):S.a,Object(_.a)(1),n?Object(v.a)(t):Object(E.a)(()=>new u.a))}var w=n("5+tZ"),T=n("7o/Q");class x{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new O(e,this.predicate,this.thisArg,this.source))}}class O extends T.a{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let 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)}_complete(){this.notifyComplete(!0)}}var A=n("eIep"),D=n("JX91"),I=n("Kqap"),R=n("bOdf"),N=n("128B"),k=n("vkgz"),M=n("nYR2"),F=n("bHdf"),P=n("cUpR");n.d(t,"F",(function(){return ee})),n.d(t,"v",(function(){return gn})),n.d(t,"C",(function(){return Tn})),n.d(t,"x",(function(){return _n})),n.d(t,"D",(function(){return xn})),n.d(t,"E",(function(){return On})),n.d(t,"z",(function(){return En})),n.d(t,"y",(function(){return vn})),n.d(t,"B",(function(){return wn})),n.d(t,"w",(function(){return yn})),n.d(t,"A",(function(){return Cn})),n.d(t,"G",(function(){return pn})),n.d(t,"n",(function(){return en})),n.d(t,"p",(function(){return tn})),n.d(t,"o",(function(){return rn})),n.d(t,"r",(function(){return an})),n.d(t,"d",(function(){return G})),n.d(t,"e",(function(){return U})),n.d(t,"l",(function(){return Wt})),n.d(t,"m",(function(){return Xt})),n.d(t,"k",(function(){return qt})),n.d(t,"i",(function(){return fn})),n.d(t,"j",(function(){return An})),n.d(t,"q",(function(){return bn})),n.d(t,"b",(function(){return sn})),n.d(t,"f",(function(){return dn})),n.d(t,"g",(function(){return cn})),n.d(t,"h",(function(){return un})),n.d(t,"s",(function(){return hn})),n.d(t,"a",(function(){return Ve})),n.d(t,"t",(function(){return Yt})),n.d(t,"c",(function(){return Se})),n.d(t,"u",(function(){return Ee}));class L{constructor(e,t){this.id=e,this.url=t}}class U extends L{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class G extends L{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class H extends L{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class B extends L{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class j extends L{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class V extends L{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W extends L{constructor(e,t,n,r,i){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class K extends L{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q extends L{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class z{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Y{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ${constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ee{}class te{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ne(e){return new te(e)}function re(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ie(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const t=r[o],n=e[o];if(t.startsWith(":"))i[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}class oe{constructor(e,t){this.routes=e,this.module=t}}function se(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];ae(r,le(t,r))}}function ae(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&&"primary"!==e.outlet)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&&se(e.children,t)}function le(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function ue(e){const t=e.children&&e.children.map(ue),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=ee),n}function ce(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],e[i]!==t[i])return!1;return!0}function de(e){return Array.prototype.concat.apply([],e)}function he(e){return e.length>0?e[e.length-1]:null}function pe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function fe(e){return Object(i.Ab)(e)?e:Object(i.Bb)(e)?Object(s.a)(Prom
1ise.resolve(e)):Object(o.a)(e)}function ge(e,t,n){return n?function(e,t){return ce(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!_e(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>t[n]===e[n])}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!_e(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!_e(n.segments,i))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=i.slice(0,n.segments.length),o=i.slice(n.segments.length);return!!_e(n.segments,e)&&!!n.children.primary&&t(n.children.primary,r,o)}}(t,n,n.segments)}(e.root,t.root)}class me{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap}toString(){return Ce.serialize(this)}}class ye{constructor(e,t){this.segments=e,this.children=t,this.parent=null,pe(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return we(this)}}class be{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ne(this.parameters)),this._parameterMap}toString(){return Ie(this)}}function _e(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function ve(e,t){let n=[];return pe(e.children,(e,r)=>{"primary"===r&&(n=n.concat(t(e,r)))}),pe(e.children,(e,r)=>{"primary"!==r&&(n=n.concat(t(e,r)))}),n}class Ee{}class Se{parse(e){const t=new Fe(e);return new me(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,n){if(!t.hasChildren())return we(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",r=[];return pe(t.children,(t,n)=>{"primary"!==n&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=ve(t,(n,r)=>"primary"===r?[e(t.children.primary,!1)]:[`${r}:${e(n,!1)}`]);return`${we(t)}/(${n.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${xe(t)}=${xe(e)}`).join("&"):`${xe(t)}=${xe(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const Ce=new Se;function we(e){return e.segments.map(e=>Ie(e)).join("/")}function Te(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xe(e){return Te(e).replace(/%3B/gi,";")}function Oe(e){return Te(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ae(e){return decodeURIComponent(e)}function De(e){return Ae(e.replace(/\+/g,"%20"))}function Ie(e){return`${Oe(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Oe(e)}=${Oe(t[e])}`).join("")}`;var t}const Re=/^[^\/()?;=#]+/;function Ne(e){const t=e.match(Re);return t?t[0]:""}const ke=/^[^=?&#]+/,Me=/^[^?&#]+/;class Fe{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new ye(e,t)),n}parseSegment(){const e=Ne(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new be(Ae(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Ne(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Ne(this.remaining);e&&(n=e,this.capture(n))}e[Ae(t)]=Ae(n)}parseQueryParam(e){const t=function(e){const t=e.match(ke);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Me);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=De(t),i=De(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(i)}else e[r]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ne(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");const o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new ye([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Pe{constructor(e){this._root=e}get root(){return this._root.value}
vendor: 10,843 bytes, line 1
1parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Le(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Le(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ue(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ue(e,this._root).map(e=>e.value)}}function Le(e,t){if(e===t.value)return t;for(const n of t.children){const t=Le(e,n);if(t)return t}return null}function Ue(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ue(e,n);if(r.length)return r.unshift(t),r}return[]}class Ge{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function He(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Be extends Pe{constructor(e,t){super(e),this.snapshot=t,ze(this,e)}toString(){return this.snapshot.toString()}}function je(e,t){const n=function(e,t){const n=new Ke([],{},{},"",{},"primary",t,null,e.root,-1,{});return new qe("",new Ge(n,[]))}(e,t),r=new a.a([new be("",{})]),i=new a.a({}),o=new a.a({}),s=new a.a({}),l=new a.a(""),u=new Ve(r,i,s,l,o,"primary",t,n.root);return u.snapshot=n.root,new Be(new Ge(u,[]),n)}class Ve{constructor(e,t,n,r,i,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(e=>ne(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(e=>ne(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function We(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Ke{constructor(e,t,n,r,i,o,s,a,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qe extends Pe{constructor(e,t){super(t),this.url=e,ze(this,t)}toString(){return Ye(this._root)}}function ze(e,t){t.value._routerState=e,t.children.forEach(t=>ze(e,t))}function Ye(e){const t=e.children.length>0?` { ${e.children.map(Ye).join(", ")} } `:"";return`${e.value}${t}`}function $e(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ce(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ce(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!ce(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),ce(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Qe(e,t){var n,r;return ce(e.params,t.params)&&_e(n=e.url,r=t.url)&&n.every((e,t)=>ce(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Qe(e.parent,t.parent))}function Ze(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Je(e,t,n,r,i){let o={};return r&&pe(r,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new me(n.root===e?t:function e(t,n,r){const i={};return pe(t.children,(t,o)=>{i[o]=t===n?r:e(t,n,r)}),new ye(t.segments,i)}(n.root,e,t),o,i)}class Xe{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ze(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(r&&r!==he(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class et{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function tt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function nt(e,t,n){if(e||(e=new ye([],{})),0===e.segments.length&&e.hasChildren())return rt(e,t,n);const r=function(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const t=e.segments[i],s=tt(n[r]),a=r<n.length-1?n[r+1]:null;if(i>0&&void 0===s)break;if(s&&a&&"object"==typeof a&&void 0===a.outlets){if(!at(s,a,t))return o;r+=2}else{if(!at(s,{},t))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){const t=new ye(e.segments.slice(0,r.pathIndex),{});return t.children.primary=new ye(e.segments.slice(r.pathIndex),e.children),rt(t,0,i)}return r.match&&0===i.length?new ye(e.segments,{}):r.match&&!e.hasChildren()?it(e,t,n):r.match?rt(e,0,i):it(e,t,n)}function rt(e,t,n){if(0===n.length)return new ye(e.segments,{});{const r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),i={};return pe(r,(n,r)=>{null!==n&&(i[r]=nt(e.children[r],t,n))}),pe(e.children,(e,t)=>{void 0===r[t]&&(i[t]=e)}),new ye(e.segments,i)}}function it(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){const e=ot(n[i].outlets);return new ye(r,e)}if(0===i&&Ze(n[0])){r.push(new be(e.segments[t].path,n[0])),i++;continue}const o=tt(n[i]),s=i<n.length-1?n[i+1]:null;o&&s&&Ze(s)?(r.push(new be(o,st(s))),i+=2):(r.push(new be(o,{})),i++)}return new ye(r,{})}function ot(e){const t={};return pe(e,(e,n)=>{null!==e&&(t[n]=it(new ye([],{}),0,e))}),t}function st(e){const t={};return pe(e,(e,n)=>t[n]=""+e),t}function at(e,t,n){return e==n.path&&ce(t,n.parameters)}class lt{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),$e(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=He(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),pe(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=He(e),i=e.value.component?n.children:t;pe(r,(e,t)=>this.deactivateRouteAndItsChildren(e,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=He(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new J(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Q(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if($e(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),ut(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=i,t.outlet&&t.outlet.activateWith(r,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function ut(e){$e(e.value),e.children.forEach(ut)}function ct(e){return"function"==typeof e}function dt(e){return e instanceof me}class ht{constructor(e){this.segmentGroup=e||null}}class pt{constructor(e){this.urlTree=e}}function ft(e){return new l.a(t=>t.error(new ht(e)))}function gt(e){return new l.a(t=>t.error(new pt(e)))}function mt(e){return new l.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class yt{constructor(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(i.w)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(y.a)(e=>{if(e instanceof pt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof ht)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(f.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Object(y.a)(e=>{if(e instanceof ht)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new ye([],{primary:e}):e;return new me(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n
1).pipe(Object(f.a)(e=>new ye([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(o.a)({});const n=[],r=[],i={};return pe(e,(e,o)=>{const s=t(o,e).pipe(Object(f.a)(e=>i[o]=e));"primary"===o?n.push(s):r.push(s)}),o.a.apply(null,n.concat(r)).pipe(Object(g.a)(),Object(m.a)(),Object(f.a)(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,i,s){return Object(o.a)(...n).pipe(Object(f.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,r,i,s).pipe(Object(y.a)(e=>{if(e instanceof ht)return Object(o.a)(null);throw e}))),Object(g.a)(),C(e=>!!e),Object(y.a)((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,i))return Object(o.a)(new ye([],{}));throw new ht(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,i,o,s){return Et(r)!==o?ft(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):ft(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?gt(i):this.lineralizeSegments(n,i).pipe(Object(w.a)(n=>{const i=new ye(n,{});return this.expandSegment(e,i,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:u}=bt(t,r,i);if(!s)return ft(t);const c=this.applyRedirectCommands(a,r.redirectTo,u);return r.redirectTo.startsWith("/")?gt(c):this.lineralizeSegments(r,c).pipe(Object(w.a)(r=>this.expandSegment(e,t,n,r.concat(i.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(f.a)(e=>(n._loadedConfig=e,new ye(r,{})))):Object(o.a)(new ye(r,{}));const{matched:i,consumedSegments:s,lastChild:a}=bt(t,n,r);if(!i)return ft(t);const l=r.slice(a);return this.getChildConfig(e,n,r).pipe(Object(w.a)(e=>{const n=e.module,r=e.routes,{segmentGroup:i,slicedSegments:a}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>vt(e,t,n)&&"primary"!==Et(n))}(e,n,r)?{segmentGroup:_t(new ye(t,function(e,t){const n={};n.primary=t;for(const r of e)""===r.path&&"primary"!==Et(r)&&(n[Et(r)]=new ye([],{}));return n}(r,new ye(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>vt(e,t,n))}(e,n,r)?{segmentGroup:_t(new ye(e.segments,function(e,t,n,r){const i={};for(const o of n)vt(e,t,o)&&!r[Et(o)]&&(i[Et(o)]=new ye([],{}));return Object.assign({},r,i)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,r);return 0===a.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(Object(f.a)(e=>new ye(s,e))):0===r.length&&0===a.length?Object(o.a)(new ye(s,{})):this.expandSegment(n,i,r,a,"primary",!0).pipe(Object(f.a)(e=>new ye(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(o.a)(new oe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Object(s.a)(r).pipe(Object(f.a)(r=>{const i=e.get(r);let o;if(function(e){return e&&ct(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!ct(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return fe(o)})).pipe(Object(g.a)(),(i=e=>!0===e,e=>e.lift(new x(i,void 0,e)))):Object(o.a)(!0);var i}(e.injector,t,n).pipe(Object(w.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(f.a)(e=>(t._loadedConfig=e,e))):function(e){return new l.a(t=>t.error(re(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(o.a)(new oe([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children.primary)return mt(e.redirectTo);r=r.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const i=this.createSegmentGroup(e,t.root,n,r);return new me(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return pe(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[r]=t[i]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const i=this.createSegments(e,t.segments,n,r);let o={};return pe(t.children,(t,i)=>{o[i]=this.createSegmentGroup(e,t,n,r)}),new ye(i,o)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function bt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(t.matcher||ie)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function _t(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new ye(e.segments.concat(t.segments),t.children)}return e}function vt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Et(e){return e.outlet||"primary"}class St{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ct{constructor(e,t){this.component=e,this.route=t}}function wt(e,t,n){const r=e._root;return function e(t,n,r,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=He(n);
1return t.children.forEach(t=>{!function(t,n,r,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!_e(e.url,t.url);case"pathParamsOrQueryParamsChange":return!_e(e.url,t.url)||!ce(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qe(e,t)||!ce(e.queryParams,t.queryParams);case"paramsChange":default:return!Qe(e,t)}}(a,s,s.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new St(i)):(s.data=a.data,s._resolvedData=a._resolvedData),e(t,n,s.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new Ct(l&&l.outlet&&l.outlet.component||null,a))}else a&&xt(n,l,o),o.canActivateChecks.push(new St(i)),e(t,null,s.component?l?l.children:null:r,i,o)}(t,s[t.value.outlet],r,i.concat([t.value]),o),delete s[t.value.outlet]}),pe(s,(e,t)=>xt(e,r.getContext(t),o)),o}(r,t?t._root:null,n,[r.value])}function Tt(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function xt(e,t,n){const r=He(e),i=e.value;pe(r,(e,r)=>{xt(e,i.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Ct(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}const Ot=Symbol("INITIAL_VALUE");function At(){return Object(A.a)(e=>Object(c.b)(...e.map(e=>e.pipe(Object(_.a)(1),Object(D.a)(Ot)))).pipe(Object(I.a)((e,t)=>{let n=!1;return t.reduce((e,r,i)=>{if(e!==Ot)return e;if(r===Ot&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||dt(r))return r}return e},e)},Ot),Object(b.a)(e=>e!==Ot),Object(f.a)(e=>dt(e)?e:!0===e),Object(_.a)(1)))}function Dt(e,t){return null!==e&&t&&t(new Z(e)),Object(o.a)(!0)}function It(e,t){return null!==e&&t&&t(new $(e)),Object(o.a)(!0)}function Rt(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>Object(d.a)(()=>{const i=Tt(r,t,n);let o;if(function(e){return e&&ct(e.canActivate)}(i))o=fe(i.canActivate(t,e));else{if(!ct(i))throw new Error("Invalid CanActivate guard");o=fe(i(t,e))}return o.pipe(C())}));return Object(o.a)(i).pipe(At())}function Nt(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(d.a)(()=>{const i=t.guards.map(i=>{const o=Tt(i,t.node,n);let s;if(function(e){return e&&ct(e.canActivateChild)}(o))s=fe(o.canActivateChild(r,e));else{if(!ct(o))throw new Error("Invalid CanActivateChild guard");s=fe(o(r,e))}return s.pipe(C())});return Object(o.a)(i).pipe(At())}));return Object(o.a)(i).pipe(At())}class kt{}class Mt{constructor(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}recognize(){try{const e=Lt(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new Ke([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ge(n,t),i=new qe(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(e){return new l.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=We(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=ve(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>
1"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const o of e)try{return this.processSegmentAgainstRoute(o,t,n,r)}catch(i){if(!(i instanceof kt))throw i}if(this.noLeftoversInUrl(t,n,r))return[];throw new kt}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new kt;if((e.outlet||"primary")!==r)throw new kt;let i,o=[],s=[];if("**"===e.path){const o=n.length>0?he(n).parameters:{};i=new Ke(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ht(e),r,e.component,e,Ft(t),Pt(t)+n.length,Bt(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new kt;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||ie)(n,e,t);if(!r)throw new kt;const i={};pe(r.posParams,(e,t)=>{i[t]=e.path});const o=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=a.consumedSegments,s=n.slice(a.lastChild),i=new Ke(o,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ht(e),r,e.component,e,Ft(t),Pt(t)+o.length,Bt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:u}=Lt(t,o,s,a,this.relativeLinkResolution);if(0===u.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new Ge(i,e)]}if(0===a.length&&0===u.length)return[new Ge(i,[])];const c=this.processSegment(a,l,u,"primary");return[new Ge(i,c)]}}function Ft(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Pt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Lt(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some(n=>Ut(e,t,n)&&"primary"!==Gt(n))}(e,n,r)){const i=new ye(t,function(e,t,n,r){const i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&"primary"!==Gt(o)){const n=new ye([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[Gt(o)]=n}return i}(e,t,r,new ye(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Ut(e,t,n))}(e,n,r)){const o=new ye(e.segments,function(e,t,n,r,i,o){const s={};for(const a of r)if(Ut(e,n,a)&&!i[Gt(a)]){const n=new ye([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Gt(a)]=n}return Object.assign({},i,s)}(e,t,n,r,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new ye(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Ut(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Gt(e){return e.outlet||"primary"}function Ht(e){return e.data||{}}function Bt(e){return e.resolve||{}}function jt(e,t,n,r){const i=Tt(e,t,r);return fe(i.resolve?i.resolve(t,n):i(t,n))}function Vt(e){return function(t){return t.pipe(Object(A.a)(t=>{const n=e(t);return n?Object(s.a)(n).pipe(Object(f.a)(()=>t)):Object(s.a)([t])}))}}class Wt{}class Kt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const qt=new i.p("ROUTES");class zt{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new oe(de(r.injector.get(qt)).map(ue),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(s.a)(this.loader.load(e)):fe(e()).pipe(Object(w.a)(e=>e instanceof i.u?Object(o.a)(e):Object(s.a)(this.compiler.compileModuleAsync(e))))}}class Yt{}class $t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Qt(e){throw e}function Zt(e,t,n){return t.parse("/")}function Jt(e,t){return Object(o.a)(null)}class Xt{constructor(e,t,n,r,o,s,l,u){this.rootComponentType=e,this.urlSerializer
1=t,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new h.a,this.errorHandler=Qt,this.malformedUriErrorHandler=Zt,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Jt,afterPreactivation:Jt},this.urlHandlingStrategy=new $t,this.routeReuseStrategy=new Kt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.w),this.console=o.get(i.bb);const c=o.get(i.y);this.isNgZoneEnabled=c instanceof i.y,this.resetConfig(u),this.currentUrlTree=new me(new ye([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new zt(s,l,e=>this.triggerEvent(new z(e)),e=>this.triggerEvent(new Y(e))),this.routerState=je(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({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()}setupNavigations(e){const t=this.events;return e.pipe(Object(b.a)(e=>0!==e.id),Object(f.a)(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(A.a)(e=>{let n=!1,r=!1;return Object(o.a)(e).pipe(Object(k.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(A.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(A.a)(e=>{const n=this.transitions.getValue();return t.next(new U(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:[e]}),Object(A.a)(e=>Promise.resolve(e)),(r=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Object(A.a)(e=>function(e,t,n,r,i){return new yt(e,t,n,r,i).apply()}(r,i,s,e.extractedUrl,a).pipe(Object(f.a)(t=>Object.assign({},e,{urlAfterRedirects:t})))))}),Object(k.a)(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,i){return function(o){return o.pipe(Object(w.a)(o=>function(e,t,n,r,i="emptyOnly",o="legacy"){return new Mt(e,t,n,r,i,o).recognize()}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Object(f.a)(e=>Object.assign({},o,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(k.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Object(k.a)(e=>{const n=new j(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,i,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:a}=e,l=new U(n,this.serializeUrl(r),i,s);t.next(l);const u=je(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign({},e,{targetSnapshot:u,urlAfterRedirects:r,extras:Object.assign({},a,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a}),Vt(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})}),Object(k.a)(e=>{const t=new V(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(f.a)(e=>Object.assign({},e,{guards:wt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(w.a)(n=>
1{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(o.a)(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Object(s.a)(e).pipe(Object(w.a)(e=>function(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map(o=>{const s=Tt(o,t,i);let a;if(function(e){return e&&ct(e.canDeactivate)}(s))a=fe(s.canDeactivate(e,t,n,r));else{if(!ct(s))throw new Error("Invalid CanDeactivate guard");a=fe(s(e,t,n,r))}return a.pipe(C())});return Object(o.a)(a).pipe(At())}(e.component,e.route,n,t,r)),C(e=>!0!==e,!0))}(l,r,i,e).pipe(Object(w.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(s.a)(t).pipe(Object(R.a)(t=>Object(s.a)([It(t.route.parent,r),Dt(t.route,r),Nt(e,t.path,n),Rt(e,t.route,n)]).pipe(Object(g.a)(),C(e=>!0!==e,!0))),C(e=>!0!==e,!0))}(r,a,e,t):Object(o.a)(n)),Object(f.a)(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(k.a)(e=>{if(dt(e.guardsResult)){const t=re(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Object(k.a)(e=>{const t=new W(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(b.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new H(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Vt(e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(k.a)(e=>{const t=new K(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(e){return e.pipe(Object(w.a)(e=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=e;return i.length?Object(s.a)(i).pipe(Object(R.a)(e=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return Object(o.a)({});if(1===i.length){const o=i[0];return jt(e[o],t,n,r).pipe(Object(f.a)(e=>({[o]:e})))}const a={};return Object(s.a)(i).pipe(Object(w.a)(i=>jt(e[i],t,n,r).pipe(Object(f.a)(e=>(a[i]=e,e))))).pipe(Object(m.a)(),Object(f.a)(()=>a))}(e._resolve,e,t,r).pipe(Object(f.a)(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,We(e,n).resolve),null)))}(e.route,r,t,n)),Object(N.a)((e,t)=>e),Object(f.a)(t=>e)):Object(o.a)(e)}))}),Object(k.a)(e=>{const t=new q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),Vt(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})}),Object(f.a)(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const i=r.value;i._futureSnapshot=n.value;const o=function(t,n,r){return n.children.map(n=>{for(const i of r.children)if(t.shouldReuseRoute(i.value.snapshot,n.value))return e(t,n,i);return e(t,n)})}(t,n,r);return new Ge(i,o)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new Ve(new a.a((i=n.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),o=n.children.map(n=>e(t,n));return new Ge(r,o)}}var i}(e,t._root,n?n._root:void 0);return new Be(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),Object(k.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,l=this.routeReuseStrategy,u=e=>this.triggerEvent(e),Object(f.a)(e=>(new lt(l,e.targetRouterState,e.currentRouterState,u).activate(i),e))),Object(k.a)({next(){
1n=!0},complete(){n=!0}}),Object(M.a)(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new H(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),Object(y.a)(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=dt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new H(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),e.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new B(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var i;return p.a}));var i,l,u}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign({},this.getTransition(),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){se(e),this.config=e.map(ue),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:o,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:l}=t;Object(i.W)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=l?this.currentUrlTree.fragment:o;let d=null;if(a)switch(a){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=s?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,r,i){if(0===n.length)return Je(t.root,t.root,t,r,i);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Xe(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return pe(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new Xe(n,t,r)}(n);if(o.toRoot())return Je(t.root,new ye([],{}),t,r,i);const s=function(e,t,n){if(e.isAbsolute)return new et(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new et(n.snapshot._urlSegment,!0,0);const r=Ze(e.commands[0])?0:1;return function(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new et(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?rt(s.segmentGroup,s.index,o.commands):nt(s.segmentGroup,s.index,o.commands);return Je(s.segmentGroup,a,t,r,i)}(u,this.currentUrlTree,e,d,c)}navigateByUrl(e,t={skipLocationChange:!1}){Object(i.W)()&&this.isNgZoneEnabled&&!i.y.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=dt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(dt(e))return ge(this.currentUrlTree,e,t);const n=this.parseUrl(e);return ge(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new G(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r){const 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);let o=null,s=null;const a=new Promise((e,t)=>
1{o=e,s=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign({},r,{navigationId:n})):this.location.go(i,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class en{constructor(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(i.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}class tn{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof G&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(i.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}function nn(e){return""===e||!!e}class rn{constructor(e,t,n,r,i){this.router=e,this.element=t,this.renderer=n,this.link=r,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof G&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}class on{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new sn,this.attachRef=null}}class sn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new on,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class an{constructor(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.m,this.deactivateEvents=new i.m,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new ln(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class ln{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ve?this.route:e===sn?this.childContexts:this.parent.get(e,t)}}class un{}class cn{preload(e,t){return t().pipe(Object(y.a)(()=>Object(o.a)(null)))}}class dn{preload(e,t){return Object(o.a)(null)}}class hn{constructor(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=new zt(t,n,t=>e.triggerEvent(new z(t)),t=>e.triggerEvent(new Y(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(b.a)(e=>e instanceof G),Object(R.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.w);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(s.a)(n).pipe(Object(F.a)(),Object(f.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(w.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}class pn{constructor(e,t,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.anch
1orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof U?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof G&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof X&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new X(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const fn=new i.p("ROUTER_CONFIGURATION"),gn=new i.p("ROUTER_FORROOT_GUARD"),mn=[r.j,{provide:Ee,useClass:Se},{provide:Xt,useFactory:Cn,deps:[i.g,Ee,sn,r.j,i.q,i.v,i.i,qt,fn,[Yt,new i.z],[Wt,new i.z]]},sn,{provide:Ve,useFactory:wn,deps:[Xt]},{provide:i.v,useClass:i.I},hn,dn,cn,{provide:fn,useValue:{enableTracing:!1}}];function yn(){return new i.x("Router",Xt)}class bn{constructor(e,t){}static forRoot(e,t){return{ngModule:bn,providers:[mn,Sn(e),{provide:gn,useFactory:En,deps:[[Xt,new i.z,new i.H]]},{provide:fn,useValue:t||{}},{provide:r.k,useFactory:vn,deps:[r.w,[new i.o(r.a),new i.z],fn]},{provide:pn,useFactory:_n,deps:[Xt,r.x,fn]},{provide:un,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:dn},{provide:i.x,multi:!0,useFactory:yn},[Tn,{provide:i.d,multi:!0,useFactory:xn,deps:[Tn]},{provide:An,useFactory:On,deps:[Tn]},{provide:i.b,multi:!0,useExisting:An}]]}}static forChild(e){return{ngModule:bn,providers:[Sn(e)]}}}function _n(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new pn(e,t,n)}function vn(e,t,n={}){return n.useHash?new r.h(e,t):new r.v(e,t)}function En(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Sn(e){return[{provide:i.a,multi:!0,useValue:e},{provide:qt,multi:!0,useValue:e}]}function Cn(e,t,n,r,i,o,s,a,l={},u,c){const d=new Xt(null,t,n,r,i,o,s,de(a));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(P.w)();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d}function wn(e){return e.routerState.root}class Tn{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new h.a}appInitializer(){return this.injector.get(r.i,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Xt),r=this.injector.get(fn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(fn),n=this.injector.get(hn),r=this.injector.get(pn),o=this.injector.get(Xt),s=this.injector.get(i.g);e===s.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}function xn(e){return e.appInitializer.bind(e)}function On(e){return e.bootstrapListener.bind(e)}const An=new i.p("Router Initializer")},iJcI:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("oA89");var r=function(){function e(e){this.pdfModalService=e,this.pdfUrl=null}return e.prototype.ngOnInit=function(){var e=this;this.pdfUrlSubscription=this.pdfModalService.getPdfUrl().subscribe((function(t){e.pdfUrl=t,e.modal.show()}))},e.prototype.ngOnDestroy=function(){this.pdfUrlSubscription.unsubscribe()},e.prototype.hideModal=function(){this.modal.hide(),this.pdfUrl=null},e}()},ienR:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("pLZG"),o=n("lJxs"),s=n("IzEk"),a=n("/uUt"),l=n("xj/R"),u=n("2Vo4"),c=n("XNiG"),d=n("quSY"),h=n("qgXg"),p=n("HDdC"),f=n("pxpQ"),g=n("Kqap");class m extends u.a{constructor(e,t,n){super(e),t.pipe(Object(f.b)(h.a)).pipe(Object(g.a)((e,t)=>t?n(e,t):e,e)).subscribe(e=>this.next(e))}}class y extends p.a{constructor(e,t,n){super(),this._dispatcher=e,this._reducer=t,this.source=n}select(e){return this.source.pipe(Object(o.a)(e)).pipe(Object(a.a)())}lift(e){const t=new y(this._dispatcher,this._reducer,this);return t.operator=e,t}dispatch(e){this._dispatcher.next(e)}next(e){this._dispatcher.next(e)}error(e){this._dispatcher.error(e)}complete(){}}var b=n("2uy1"),_=(n("GS7A"),n("z/SZ")),v=(n("s7LF"),n("hpHm"));n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return V})),n.d(t,"c",(function(){return W})),n.d(t,"d",(function(){return K})),n.d(t,"e",(function(){return q})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return le})),n.d(t,"h",(function(){return Y})),n.d(t,"i",(function(){return $})),n.d(t,"j",(function(){return Q})),n.d(t,"k",(function(){return Z})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return he})),n.d(t,"n",(function(){return ce})),n.d(t,"o",(function(){return de})),n.d(t,"p",(function(){return me})),n.d(t,"q",(function(){return pe})),n.d(t,"r",(function(){return fe})),n.d(t,"s",(function(){return ge})),n.d(t,"t",(function(){return j})),n.d(t,"u",(function(){return T})),n.d(t,"v",(function(){return C})),n.d(t,"w",(function(){return te})),n.d(t,"x",(function(){return X})),n.d(t,"y",(function(){return re})),n.d(t,"z",(function(){return se})),n.d(t,"A",(function(){return J})),n.d(t,"B",(function(){return ie})),n.d(t,"C",(function(){return oe})),n.d(t,"D",(function(){return ae})),n.d(t,"E",(function(){return ee}));class E{constructor(){this.adaptivePosition=!1,this.isAnimated=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w"}}class S{constructor(){this._customRangesFish=[]}set minDate(e){this._effects.setMinDate(e)}set maxDate(e){this._effects.setMaxDate(e)}set daysDisabled(e){this._effects.setDaysDisabled(e)}set datesDisabled(e){this._effects.setDatesDisabled(e)}set isDisabled(e){this._effects.setDisabled(e)}set dateCustomClasses(e){this._effects.setDateCustomClasses(e)}setViewMode(e){}navigateTo(e){}dayHoverHandler(e){}weekHoverHandler(e){}monthHoverHandler(e){}yearHoverHandler(e){}daySelectHandler(e){}monthSelectHandler(e){}yearSelectHandler(e){}_stopPropagation(e){e.stopPropagation()}}let C=(()=>{class e{calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}
1flag(){return{type:e.FLAG}}select(t){return{type:e.SELECT,payload:t}}changeViewMode(t){return{type:e.CHANGE_VIEWMODE,payload:t}}navigateTo(t){return{type:e.NAVIGATE_TO,payload:t}}navigateStep(t){return{type:e.NAVIGATE_OFFSET,payload:t}}setOptions(t){return{type:e.SET_OPTIONS,payload:t}}selectRange(t){return{type:e.SELECT_RANGE,payload:t}}hoverDay(t){return{type:e.HOVER,payload:t.isHovered?t.cell.date:null}}minDate(t){return{type:e.SET_MIN_DATE,payload:t}}maxDate(t){return{type:e.SET_MAX_DATE,payload:t}}daysDisabled(t){return{type:e.SET_DAYSDISABLED,payload:t}}datesDisabled(t){return{type:e.SET_DATESDISABLED,payload:t}}isDisabled(t){return{type:e.SET_IS_DISABLED,payload:t}}setDateCustomClasses(t){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:t}}setLocale(t){return{type:e.SET_LOCALE,payload:t}}}return e.CALCULATE="[datepicker] calculate dates matrix",e.FORMAT="[datepicker] format datepicker values",e.FLAG="[datepicker] set flags",e.SELECT="[datepicker] select date",e.NAVIGATE_OFFSET="[datepicker] shift view date",e.NAVIGATE_TO="[datepicker] change view date",e.SET_OPTIONS="[datepicker] update render options",e.HOVER="[datepicker] hover date",e.CHANGE_VIEWMODE="[datepicker] switch view mode",e.SET_MIN_DATE="[datepicker] set min date",e.SET_MAX_DATE="[datepicker] set max date",e.SET_DAYSDISABLED="[datepicker] set days disabled",e.SET_DATESDISABLED="[datepicker] set dates disabled",e.SET_IS_DISABLED="[datepicker] set is disabled",e.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",e.SET_LOCALE="[datepicker] set datepicker locale",e.SELECT_RANGE="[daterangepicker] select dates range",e})();class w{constructor(){this._defaultLocale="en",this._locale=new u.a(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(e){e!==this.currentLocale&&this._locale.next(e)}}class T{constructor(e,t){this._actions=e,this._localeService=t,this._subs=[]}init(e){return this._store=e,this}setValue(e){this._store.dispatch(this._actions.select(e))}setRangeValue(e){this._store.dispatch(this._actions.selectRange(e))}setMinDate(e){return this._store.dispatch(this._actions.minDate(e)),this}setMaxDate(e){return this._store.dispatch(this._actions.maxDate(e)),this}setDaysDisabled(e){return this._store.dispatch(this._actions.daysDisabled(e)),this}setDatesDisabled(e){return this._store.dispatch(this._actions.datesDisabled(e)),this}setDisabled(e){return this._store.dispatch(this._actions.isDisabled(e)),this}setDateCustomClasses(e){return this._store.dispatch(this._actions.setDateCustomClasses(e)),this}setOptions(e){const t=Object.assign({locale:this._localeService.currentLocale},e);return this._store.dispatch(this._actions.setOptions(t)),this}setBindings(e){return e.daysCalendar=this._store.select(e=>e.flaggedMonths).pipe(Object(i.a)(e=>!!e)),e.monthsCalendar=this._store.select(e=>e.flaggedMonthsCalendar).pipe(Object(i.a)(e=>!!e)),e.yearsCalendar=this._store.select(e=>e.yearsCalendarFlagged).pipe(Object(i.a)(e=>!!e)),e.viewMode=this._store.select(e=>e.view.mode),e.options=this._store.select(e=>e.showWeekNumbers).pipe(Object(o.a)(e=>({showWeekNumbers:e}))),this}setEventHandlers(e){return e.setViewMode=e=>{this._store.dispatch(this._actions.changeViewMode(e))},e.navigateTo=e=>{this._store.dispatch(this._actions.navigateStep(e.step))},e.dayHoverHandler=e=>{const t=e.cell;t.isOtherMonth||t.isDisabled||(this._store.dispatch(this._actions.hoverDay(e)),t.isHovered=e.isHovered)},e.monthHoverHandler=e=>{e.cell.isHovered=e.isHovered},e.yearHoverHandler=e=>{e.cell.isHovered=e.isHovered},e.monthSelectHandler=e=>{e.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:Object(l.l)(e.date),year:Object(l.j)(e.date)},viewMode:"day"}))},e.yearSelectHandler=e=>{e.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:Object(l.j)(e.date)},viewMode:"month"}))},this}registerDatepickerSideEffects(){return this._subs.push(this._store.select(e=>e.view).subscribe(e=>{this._store.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(e=>e.monthsModel).pipe(Object(i.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.format()))),this._subs.push(this._store.select(e=>e.formattedMonths).pipe(Object(i.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.selectedDate).pipe(Object(i.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.selectedRange).pipe(Object(i.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.monthsCalendar).subscribe(()=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.yearsCalendarModel).pipe(Object(i.a)(e=>!!e)).subscribe(()=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.hoveredDate).pipe(Object(i.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.dateCustomClasses).pipe(Object(i.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(e=>this._store.dispatch(this._actions.setLocale(e)))),this}destroy(){for(const e of this._subs)e.unsubscribe()}}const x={date:new Date,mode:"day"},O=Object.assign(new E,{locale:"en",view:x,selectedRange:[],monthViewOptions:{width:7,height:6}});function A(e,t,n){const r=t&&Object(l.o)(Object(l.d)(e,"month"),t,"day"),i=n&&Object(l.m)(Object(l.B)(e,"month"),n,"day");return r||i}function D(e,t,n){const r=t&&Object(l.o)(Object(l.d)(e,"year"),t,"day"),i=n&&Object(l.m)(Object(l.B)(e,"year"),n,"day");return r||i}function I(e,t){let n=e.initialDate;
1const r=new Array(e.height);for(let i=0;i<e.height;i++){r[i]=new Array(e.width);for(let o=0;o<e.width;o++)r[i][o]=t(n),n=Object(l.A)(n,e.shift)}return r}function R(e,t){const n=Object(l.i)(e),r=function(e,t){if(Object(l.s)(e,t.firstDayOfWeek))return e;const n=function(e,t){if(0===t)return e;const n=e-t%7;return n<0?n+7:n}(Object(l.h)(e),t.firstDayOfWeek);return Object(l.A)(e,{day:-n})}(n,t);return{daysMatrix:I({width:t.width,height:t.height,initialDate:r,shift:{day:1}},e=>e),month:n}}function N(e){const t=Object(l.k)(e),n=t.weekdaysShort(),r=t.firstDayOfWeek();return[...n.slice(r),...n.slice(0,r)]}function k(e,t){return!t||e>=t}const M={month:1};function F(e,t){return{months:I({width:3,height:4,initialDate:Object(l.B)(e,"year"),shift:M},e=>({date:e,label:Object(l.f)(e,t.monthLabel,t.locale)})),monthTitle:"",yearTitle:Object(l.f)(e,t.yearTitle,t.locale)}}const P=-1*(Math.floor(8)-1),L={year:1};function U(e,t){const n=I({width:4,height:4,initialDate:Object(l.A)(e,{year:P}),shift:L},e=>({date:e,label:Object(l.f)(e,t.yearLabel,t.locale)}));return{years:n,monthTitle:"",yearTitle:function(e,t){return`${Object(l.f)(e[0][0].date,t.yearTitle,t.locale)} - ${Object(l.f)(e[3][3].date,t.yearTitle,t.locale)}`}(n,t)}}function G(e=O,t){switch(t.type){case C.CALCULATE:return function(e){const t=e.displayMonths;let n=e.view.date;if("day"===e.view.mode){e.monthViewOptions.firstDayOfWeek=Object(l.k)(e.locale).firstDayOfWeek();const r=new Array(t);for(let i=0;i<t;i++)r[i]=R(n,e.monthViewOptions),n=Object(l.A)(n,{month:1});return Object.assign({},e,{monthsModel:r})}if("month"===e.view.mode){const r=new Array(t);for(let i=0;i<t;i++)r[i]=F(n,H(e)),n=Object(l.A)(n,{year:1});return Object.assign({},e,{monthsCalendar:r})}if("year"===e.view.mode){const r=new Array(t);for(let i=0;i<t;i++)r[i]=U(n,H(e)),n=Object(l.A)(n,{year:16});return Object.assign({},e,{yearsCalendarModel:r})}return e}(e);case C.FORMAT:return function(e,t){if("day"===e.view.mode){const t=e.monthsModel.map((t,n)=>function(e,t,n){return{month:e.month,monthTitle:Object(l.f)(e.month,t.monthTitle,t.locale),yearTitle:Object(l.f)(e.month,t.yearTitle,t.locale),weekNumbers:(r=e.daysMatrix,i=t.weekNumbers,o=t.locale,r.map(e=>e[0]?Object(l.f)(e[0],i,o):"")),weekdays:N(t.locale),weeks:e.daysMatrix.map((e,r)=>({days:e.map((e,i)=>({date:e,label:Object(l.f)(e,t.dayLabel,t.locale),monthIndex:n,weekIndex:r,dayIndex:i}))}))};var r,i,o}(t,H(e),n));return Object.assign({},e,{formattedMonths:t})}const n=e.displayMonths;let r=e.view.date;if("month"===e.view.mode){const t=new Array(n);for(let i=0;i<n;i++)t[i]=F(r,H(e)),r=Object(l.A)(r,{year:1});return Object.assign({},e,{monthsCalendar:t})}if("year"===e.view.mode){const t=new Array(n);for(let i=0;i<n;i++)t[i]=U(r,H(e)),r=Object(l.A)(r,{year:16});return Object.assign({},e,{yearsCalendarModel:t})}return e}(e);case C.FLAG:return function(e,t){if("day"===e.view.mode){const t=e.formattedMonths.map((t,n)=>function(e,t){return e.weeks.forEach(n=>{n.days.forEach((r,i)=>{const o=!Object(l.v)(r.date,e.month),s=!o&&Object(l.u)(r.date,t.hoveredDate),a=!o&&t.selectedRange&&Object(l.u)(r.date,t.selectedRange[0]),u=!o&&t.selectedRange&&Object(l.u)(r.date,t.selectedRange[1]),c=!o&&Object(l.u)(r.date,t.selectedDate)||a||u,d=!o&&t.selectedRange&&function(e,t,n){return!(!e||!t[0])&&(t[1]?e>t[0]&&e<=t[1]:!!n&&e>t[0]&&e<=n)}(r.date,t.selectedRange,t.hoveredDate),h=t.isDisabled||Object(l.o)(r.date,t.minDate,"day")||Object(l.m)(r.date,t.maxDate,"day")||Object(l.r)(r.date,t.daysDisabled)||(p=r.date,!(void 0===(f=t.datesDisabled)||!f||!f.length)&&f.some(e=>Object(l.t)(p,e,"date")));var p,f;const g=new Date,m=!o&&Object(l.u)(r.date,g),y=t.dateCustomClasses&&t.dateCustomClasses.map(e=>Object(l.u)(r.date,e.date)?e.classes:[]).reduce((e,t)=>e.concat(t),[]).join(" ")||"",b=Object.assign({},r,{isOtherMonth:o,isHovered:s,isSelected:c,isSelectionStart:a,isSelectionEnd:u,isInRange:d,isDisabled:h,isToday:m,customClasses:y});r.isOtherMonth===b.isOtherMonth&&r.isHovered===b.isHovered&&r.isSelected===b.isSelected&&r.isSelectionStart===b.isSelectionStart&&r.isSelectionEnd===b.isSelectionEnd&&r.isDisabled===b.isDisabled&&r.isInRange===b.isInRange&&r.customClasses===b.customClasses||(n.days[i]=b)})}),e.hideLeftArrow=t.isDisabled||t.monthIndex>0&&t.monthIndex!==t.displayMonths,e.hideRightArrow=t.isDisabled||t.monthIndex<t.displayMonths&&t.monthIndex+1!==t.displayMonths,e.disableLeftArrow=A(Object(l.A)(e.month,{month:-1}),t.minDate,t.maxDate),e.disableRightArrow=A(Object(l.A)(e.month,{month:1}),t.minDate,t.maxDate),e}(t,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,daysDisabled:e.daysDisabled,datesDisabled:e.datesDisabled,hoveredDate:e.hoveredDate,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:e.displayMonths,dateCustomClasses:e.dateCustomClasses,monthIndex:n}));return Object.assign({},e,{flaggedMonths:t})}if("month"===e.view.mode){const t=e.monthsCalendar.map((t,n)=>{return i={isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredMonth:e.hoveredMonth,displayMonths:e.displayMonths,monthIndex:n},(r=t).months.forEach((e,t)=>{e.forEach((e,n)=>{const o=Object(l.v)(e.date,i.hoveredMonth),s=i.isDisabled||A(e.date,i.minDate,i.maxDate),a=Object.assign(e,{isHovered:o,isDisabled:s});e.isHovered===a.isHovered&&e.isDisabled===a.isDisabled||(r.months[t][n]=a)})}),r.hideLeftArrow=i.monthIndex>0&&i.monthIndex!==i.displayMonths,r.hideRightArrow=i.monthIndex<i.displayMonths&&i.monthIndex+1!==i.displayMonths,r.disableLeftArrow=D(Object(l.A)(r.months[0][0].date,{year:-1}),i.minDate,i.maxDate),r.disableRightArrow=D(Object(l.A)(r.months[0][0].date,{year:1}),i.minDate,i.maxDate),r;var r,i});return Object.assign({},e,{flaggedMonthsCalendar:t})}if("year"===e.view.mode){const t=e.yearsCalendarModel.map((t,n)=>
1function(e,t){e.years.forEach((n,r)=>{n.forEach((n,i)=>{const o=Object(l.w)(n.date,t.hoveredYear),s=t.isDisabled||D(n.date,t.minDate,t.maxDate),a=Object.assign(n,{isHovered:o,isDisabled:s});n.isHovered===a.isHovered&&n.isDisabled===a.isDisabled||(e.years[r][i]=a)})}),e.hideLeftArrow=t.yearIndex>0&&t.yearIndex!==t.displayMonths,e.hideRightArrow=t.yearIndex<t.displayMonths&&t.yearIndex+1!==t.displayMonths,e.disableLeftArrow=D(Object(l.A)(e.years[0][0].date,{year:-1}),t.minDate,t.maxDate);const n=e.years.length-1,r=e.years[n].length-1;return e.disableRightArrow=D(Object(l.A)(e.years[n][r].date,{year:1}),t.minDate,t.maxDate),e}(t,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredYear:e.hoveredYear,displayMonths:e.displayMonths,yearIndex:n}));return Object.assign({},e,{yearsCalendarFlagged:t})}return e}(e);case C.NAVIGATE_OFFSET:{const n=Object(l.A)(Object(l.B)(e.view.date,"month"),t.payload);return Object.assign({},e,{view:{mode:e.view.mode,date:n}})}case C.NAVIGATE_TO:{const n=t.payload,r=Object(l.z)(e.view.date,n.unit);let i,o;return k(n.viewMode,e.minMode)?(o=n.viewMode,i={view:{date:r,mode:o}}):(o=e.view.mode,i={selectedDate:r,view:{date:r,mode:o}}),Object.assign({},e,i)}case C.CHANGE_VIEWMODE:return k(t.payload,e.minMode)?Object.assign({},e,{view:{date:e.view.date,mode:t.payload}}):e;case C.HOVER:return Object.assign({},e,{hoveredDate:t.payload});case C.SELECT:{const n={selectedDate:t.payload,view:e.view},r=e.view.mode,i=B(t.payload||e.view.date,e.minDate,e.maxDate);return n.view={mode:r,date:i},Object.assign({},e,n)}case C.SET_OPTIONS:{const n=t.payload,r=n.minMode?n.minMode:e.view.mode,i=B(Object(l.q)(n.value)&&n.value||Object(l.n)(n.value)&&Object(l.q)(n.value[0])&&n.value[0]||e.view.date,n.minDate,n.maxDate);return n.view={mode:r,date:i},n.value&&(Object(l.n)(n.value)&&(n.selectedRange=n.value),n.value instanceof Date&&(n.selectedDate=n.value)),Object.assign({},e,n)}case C.SELECT_RANGE:{const n={selectedRange:t.payload,view:e.view},r=e.view.mode,i=B(t.payload&&t.payload[0]||e.view.date,e.minDate,e.maxDate);return n.view={mode:r,date:i},Object.assign({},e,n)}case C.SET_MIN_DATE:return Object.assign({},e,{minDate:t.payload});case C.SET_MAX_DATE:return Object.assign({},e,{maxDate:t.payload});case C.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:t.payload});case C.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:t.payload});default:return e}}function H(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function B(e,t,n){const r=Array.isArray(e)?e[0]:e;return t&&Object(l.m)(t,r,"day")?t:n&&Object(l.o)(n,r,"day")?n:r}class j extends y{constructor(){const e=new u.a({type:"[datepicker] dispatcher init"});super(e,G,new m(O,e,G))}}class V extends S{constructor(e,t,n,i,o,s,a){super(),this._config=t,this._store=n,this._element=i,this._actions=o,this._positionService=a,this.valueChange=new r.m,this.animationState="void",this._subs=[],this._effects=s,e.setStyle(i.nativeElement,"display","block"),e.setStyle(i.nativeElement,"position","absolute")}set value(e){this._effects.setValue(e)}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(s.a)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(e=>e.selectedDate).subscribe(e=>this.valueChange.emit(e)))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(e){(this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||this._store.dispatch(this._actions.select(e.date))}ngOnDestroy(){for(const e of this._subs)e.unsubscribe();this._effects.destroy()}}class W{constructor(e,t,n,i,o){this._config=e,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new r.m,this._subs=[],this._dateInputFormat$=new c.a,Object.assign(this,this._config),this._datepicker=o.createLoader(t,i,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden}get isOpen(){return this._datepicker.isShown}set isOpen(e){e?this.show():this.hide()}set bsValue(e){this._bsValue!==e&&(this._bsValue=e,this.bsValueChange.emit(e))}set bsConfig(e){this._bsConfig=e,this.setConfig(),this._dateInputFormat$.next(e&&e.dateInputFormat)}get bsConfig(){return this._bsConfig}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:E,useValue:this._config}).attach(V).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(e=>{this._datepickerRef.instance.value=e})),this._subs.push(this._datepickerRef.instance.valueChange.subscribe(e=>{this.bsValue=e,this.hide()})))}hide(){this.isOpen&&this._datepicker.hide();for(const e of this._subs)e.unsubscribe()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode})}ngOnDestroy(){this._datepicker.dispose()}}
1class K extends E{}class q extends V{constructor(e,t,n,r,i,o,s){super(e,t,n,r,i,o,s),e.setStyle(r.nativeElement,"display","inline-block"),e.setStyle(r.nativeElement,"position","static")}}class z{constructor(e,t,n,r,i){this._picker=e,this._localeService=t,this._renderer=n,this._elRef=r,this.changeDetection=i,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new d.a,this._subs.add(this._picker.dateInputFormat$.pipe(Object(a.a)()).subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.bsValueChange.subscribe(e=>{this._setInputValue(e),this._value!==e&&(this._value=e,this._onChange(e),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(e){const t=e?Object(l.f)(e,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",t)}onChange(e){this.writeValue(e.target.value),this._onChange(this._value),this._onTouched()}validate(e){const t=e.value;if(null==t||""===t)return null;if(Object(l.p)(t)){if(!Object(l.q)(t))return{bsDate:{invalid:t}};if(this._picker&&this._picker.minDate&&Object(l.o)(t,this._picker.minDate,"date"))return{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Object(l.m)(t,this._picker.maxDate,"date"))return{bsDate:{maxDate:this._picker.maxDate}}}}registerOnValidatorChange(e){this._validatorChange=e}writeValue(e){if(e){const t=this._localeService.currentLocale;if(!Object(l.k)(t))throw new Error(`Locale "${t}" is not defined, please add it with "defineLocale(...)"`);this._value=Object(l.y)(e,this._picker._config.dateInputFormat,this._localeService.currentLocale)}else this._value=null;this._picker.bsValue=this._value}setDisabledState(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur()}}class Y extends E{constructor(){super(...arguments),this.displayMonths=2,this.isAnimated=!1}}class $ extends S{constructor(e,t,n,i,o,s){super(),this._actions=t,this._config=n,this._store=i,this._element=o,this._positionService=s,this.valueChange=new r.m,this.animationState="void",this._rangeStack=[],this._subs=[],this._effects=e}set value(e){this._effects.setRangeValue(e)}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(s.a)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(e=>e.selectedRange).subscribe(e=>this.valueChange.emit(e)))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(e){(this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||(1===this._rangeStack.length&&(this._rangeStack=e.date>=this._rangeStack[0]?[this._rangeStack[0],e.date]:[e.date]),0===this._rangeStack.length&&(this._rangeStack=[e.date]),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[]))}ngOnDestroy(){for(const e of this._subs)e.unsubscribe();this._effects.destroy()}}class Q{constructor(e,t,n,i,o){this._config=e,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new r.m,this._subs=[],this._datepicker=o.createLoader(t,i,n),Object.assign(this,e),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden}get isOpen(){return this._datepicker.isShown}set isOpen(e){e?this.show():this.hide()}set bsValue(e){this._bsValue!==e&&(this._bsValue=e,this.bsValueChange.emit(e))}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:E,useValue:this._config}).attach($).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(e=>{this._datepickerRef.instance.value=e})),this._subs.push(this._datepickerRef.instance.valueChange.pipe(Object(i.a)(e=>e&&e[0]&&!!e[1])).subscribe(e=>{this.bsValue=e,this.hide()})))}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled})}hide(){this.isOpen&&this._datepicker.hide();for(const e of this._subs)e.unsubscribe()}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnDestroy(){this._datepicker.dispose()}}class Z{constructor(e,t,n,r,i){this._picker=e,this._localeService=t,this._renderer=n,this._elRef=r,this.changeDetection=i,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
1idatorChange=Function.prototype,this._picker.bsValueChange.subscribe(e=>{this._setInputValue(e),this._value!==e&&(this._value=e,this._onChange(e),this._onTouched()),this.changeDetection.markForCheck()}),this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})}_setInputValue(e){let t="";if(e){const n=e[0]?Object(l.f)(e[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",r=e[1]?Object(l.f)(e[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";t=n&&r?n+this._picker._config.rangeSeparator+r:""}this._renderer.setProperty(this._elRef.nativeElement,"value",t)}onChange(e){this.writeValue(e.target.value),this._onChange(this._value),this._onTouched()}validate(e){const t=e.value;if(null==t||!Object(l.n)(t))return null;const n=Object(l.q)(t[0]),r=Object(l.q)(t[1]);return n?r?this._picker&&this._picker.minDate&&Object(l.o)(t[0],this._picker.minDate,"date")?{bsDate:{minDate:this._picker.minDate}}:this._picker&&this._picker.maxDate&&Object(l.m)(t[1],this._picker.maxDate,"date")?{bsDate:{maxDate:this._picker.maxDate}}:void 0:{bsDate:{invalid:t[1]}}:{bsDate:{invalid:t[0]}}}registerOnValidatorChange(e){this._validatorChange=e}writeValue(e){if(e){const t=this._localeService.currentLocale;if(!Object(l.k)(t))throw new Error(`Locale "${t}" is not defined, please add it with "defineLocale(...)"`);let n=[];"string"==typeof e&&(n=e.split(this._picker._config.rangeSeparator)),Array.isArray(e)&&(n=e),this._value=n.map(e=>Object(l.y)(e,this._picker._config.dateInputFormat,this._localeService.currentLocale)).map(e=>isNaN(e.valueOf())?null:e)}else this._value=null;this._picker.bsValue=this._value}setDisabledState(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur()}}class J{}class X{}class ee{}class te{constructor(e,t,n){this._config=e,this._elRef=t,this._renderer=n}ngOnInit(){this.day.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day.customClasses&&this.day.customClasses.split(" ").filter(e=>e).forEach(e=>{this._renderer.addClass(this._elRef.nativeElement,e)})}}const ne=function(){var e={UP:0,DOWN:1};return e[e.UP]="UP",e[e.DOWN]="DOWN",e}();class re{constructor(){this.onNavigate=new r.m,this.onViewMode=new r.m}navTo(e){this.onNavigate.emit(e?ne.DOWN:ne.UP)}view(e){this.onViewMode.emit(e)}}class ie{constructor(e){this._config=e,this.onNavigate=new r.m,this.onViewMode=new r.m,this.onSelect=new r.m,this.onHover=new r.m,this.onHoverWeek=new r.m}navigateTo(e){this.onNavigate.emit({step:{month:ne.DOWN===e?-1:1}})}changeViewMode(e){this.onViewMode.emit(e)}selectDay(e){this.onSelect.emit(e)}selectWeek(e){if(!this._config.selectWeek)return;if(e.days&&e.days[0]&&!e.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(e.days[0]);if(0===e.days.length)return;const t=e.days.find(e=>(this._config.selectFromOtherMonth||!e.isOtherMonth)&&!e.isDisabled);this.onSelect.emit(t)}weekHoverHandler(e,t){this._config.selectWeek&&e.days.find(e=>(this._config.selectFromOtherMonth||!e.isOtherMonth)&&!e.isDisabled)&&(e.isHovered=t,this.isWeekHovered=t,this.onHoverWeek.emit(e))}hoverDay(e,t){this._config.selectFromOtherMonth&&e.isOtherMonth&&(e.isOtherMonthHovered=t),this.onHover.emit({cell:e,isHovered:t})}}class oe{constructor(){this.onNavigate=new r.m,this.onViewMode=new r.m,this.onSelect=new r.m,this.onHover=new r.m}navigateTo(e){this.onNavigate.emit({step:{year:ne.DOWN===e?-1:1}})}viewMonth(e){this.onSelect.emit(e)}hoverMonth(e,t){this.onHover.emit({cell:e,isHovered:t})}changeViewMode(e){this.onViewMode.emit(e)}}class se{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}}class ae{constructor(){this.onNavigate=new r.m,this.onViewMode=new r.m,this.onSelect=new r.m,this.onHover=new r.m}navigateTo(e){this.onNavigate.emit({step:{year:16*(ne.DOWN===e?-1:1)}})}viewYear(e){this.onSelect.emit(e)}hoverYear(e,t){this.onHover.emit({cell:e,isHovered:t})}changeViewMode(e){this.onViewMode.emit(e)}}class le{static forRoot(){return{ngModule:le,providers:[_.a,b.a,j,C,E,Y,K,T,w]}}}class ue{format(e,t,n){return Object(l.f)(e,t,n)}}class ce{constructor(){this.selectionDone=new r.m(void 0),this.update=new r.m(!1),this.activeDateChange=new r.m(void 0),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new ue}get activeDate(){return this._activeDate}set activeDate(e){this._activeDate=e}ngOnInit(){this.uniqueId="datepicker--"+Math.floor(1e4*Math.random()),this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)}ngOnChanges(e){this.refreshView(),this.checkIfActiveDateGotUpdated(e.activeDate)}checkIfActiveDateGotUpdated(e){if(e&&!e.firstChange){const t=e.previousValue;t&&t instanceof Date&&t.getTime()!==e.currentValue.getTime()&&this.activeDateChange.emit(this.activeDate)}}setCompareHandler(e,t){"day"===t&&(this.compareHandlerDay=e),"month"===t&&(this.compareHandlerMonth=e),"year"===t&&(this.compareHandlerYear=e)}compare(e,t){if(void 0!==e&&void 0!==t)return"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(e,t):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(e,t):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(e,t):void 0}setRefreshViewHandler(e,t){"day"===t&&(this.refreshViewHandlerDay=e),"month"===t&&(this.refreshViewHandlerMonth=e),"year"===t&&(this.refreshViewHandlerYear=e)}refreshView(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()}dateFilter(e,t){return this.dateFormatter.format(e,t,this.locale)}isActive(e){return 0===this.compare(e.date,this.activeDate)&&(this.activeDateId=e.uid,!0)}createDateObject(e,t){const n={};return n.date=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n.date=this.fixTimeZone(n.date),n.label=this.dateFilter(e,t),n.selected=0===this.compare(e,this.selectedDate),n.disabled=this.isDisabled(e),n.current=0===this.compare(e,new Date),n.customClass=this.getCustomClassForDate(n.date),n}split(e,t){const n=[];for(;e.length>0;)n.push(e.splice(0,t));return n}fixTimeZone(e){const t=e.getHours();return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23===t?t+2:0)}select(e,t=!0){this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1])),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()}move(e){let t;if("day"===this.datepickerMode&&(t=this.stepDay),"month"===this.datepickerMode&&(t=this.stepMonth),"year"===this.datepickerMode&&(t=this.stepYear),t){const n=this.activeDate.getFullYear()+e*(t.years||0),r=this.activeDate.getMonth()+e*(t.months||0);this.activeDate=new Date(n,r,1),this.refreshView(),this.activeDateChange.emit(this.activeDate)}}toggleMode(e){const t=e||1;
1this.datepickerMode===this.maxMode&&1===t||this.datepickerMode===this.minMode&&-1===t||(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+t],this.refreshView())}getCustomClassForDate(e){if(!this.customClass)return"";const t=this.customClass.find(t=>t.date.valueOf()===e.valueOf()&&t.mode===this.datepickerMode,this);return void 0===t?"":t.clazz}compareDateDisabled(e,t){if(void 0!==e&&void 0!==t)return"day"===e.mode&&this.compareHandlerDay?this.compareHandlerDay(e.date,t):"month"===e.mode&&this.compareHandlerMonth?this.compareHandlerMonth(e.date,t):"year"===e.mode&&this.compareHandlerYear?this.compareHandlerYear(e.date,t):void 0}isDisabled(e){let t=!1;return this.dateDisabled&&this.dateDisabled.forEach(n=>{0===this.compareDateDisabled(n,e)&&(t=!0)}),this.dayDisabled&&(t=t||this.dayDisabled.indexOf(e.getDay())>-1),t||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&this.compare(e,this.maxDate)>0}}class de{constructor(){this.locale="en",this.datepickerMode="day",this.startingDay=0,this.yearRange=20,this.minMode="day",this.maxMode="year",this.showWeeks=!0,this.formatDay="DD",this.formatMonth="MMMM",this.formatYear="YYYY",this.formatDayHeader="dd",this.formatDayTitle="MMMM YYYY",this.formatMonthTitle="YYYY",this.onlyCurrentMonth=!1,this.monthColLimit=3,this.yearColLimit=5,this.shortcutPropagation=!1}}class he{constructor(e){this.datepickerMode="day",this.showWeeks=!0,this.selectionDone=new r.m(void 0),this.activeDateChange=new r.m(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.config=e,this.configureOptions()}get activeDate(){return this._activeDate||this._now}set activeDate(e){this._activeDate=e}configureOptions(){Object.assign(this,this.config)}onUpdate(e){this.activeDate=e,this.onChange(e)}onSelectionDone(e){this.selectionDone.emit(e)}onActiveDateChange(e){this.activeDateChange.emit(e)}writeValue(e){if(0!==this._datePicker.compare(e,this._activeDate))return e&&e instanceof Date?(this.activeDate=e,void this._datePicker.select(e,!1)):void(this.activeDate=e?new Date(e):void 0)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}}class pe{constructor(e){this.labels=[],this.rows=[],this.weekNumbers=[],this.datePicker=e}get isBs4(){return!Object(v.d)()}ngOnInit(){const e=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler((function(){const t=this.activeDate.getFullYear(),n=this.activeDate.getMonth(),r=new Date(t,n,1),i=this.startingDay-r.getDay(),o=i>0?7-i:-i,s=new Date(r.getTime());o>0&&s.setDate(1-o);const a=e.getDates(s,42),l=[];for(let e=0;e<42;e++){const t=this.createDateObject(a[e],this.formatDay);t.secondary=a[e].getMonth()!==n,t.uid=this.uniqueId+"-"+e,l[e]=t}e.labels=[];for(let u=0;u<7;u++)e.labels[u]={},e.labels[u].abbr=this.dateFilter(l[u].date,this.formatDayHeader),e.labels[u].full=this.dateFilter(l[u].date,"EEEE");if(e.title=this.dateFilter(this.activeDate,this.formatDayTitle),e.rows=this.split(l,7),this.showWeeks){e.weekNumbers=[];const t=(11-this.startingDay)%7,n=e.rows.length;for(let r=0;r<n;r++)e.weekNumbers.push(e.getISO8601WeekNumber(e.rows[r][t].date))}}),"day"),this.datePicker.setCompareHandler((function(e,t){const n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.getTime()-r.getTime()}),"day"),this.datePicker.refreshView()}getDates(e,t){const n=new Array(t);let r,i=new Date(e.getTime()),o=0;for(;o<t;)r=new Date(i.getTime()),r=this.datePicker.fixTimeZone(r),n[o++]=r,i=new Date(r.getFullYear(),r.getMonth(),r.getDate()+1);return n}getISO8601WeekNumber(e){const t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));const n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t.getTime())/864e5)/7)+1}}class fe{constructor(e){this.rows=[],this.datePicker=e}get isBs4(){return!Object(v.d)()}ngOnInit(){const e=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler((function(){const t=new Array(12),n=this.activeDate.getFullYear();let r;for(let e=0;e<12;e++)r=new Date(n,e,1),r=this.fixTimeZone(r),t[e]=this.createDateObject(r,this.formatMonth),t[e].uid=this.uniqueId+"-"+e;e.title=this.dateFilter(this.activeDate,this.formatMonthTitle),e.rows=this.split(t,e.datePicker.monthColLimit)}),"month"),this.datePicker.setCompareHandler((function(e,t){const n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.getTime()-r.getTime()}),"month"),this.datePicker.refreshView()}}class ge{constructor(e){this.rows=[],this.datePicker=e}get isBs4(){return!Object(v.d)()}ngOnInit(){const e=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler((function(){const t=new Array(this.yearRange);let n;const r=e.getStartingYear(this.activeDate.getFullYear());for(let e=0;e<this.yearRange;e++)n=new Date(r+e,0,1),n=this.fixTimeZone(n),t[e]=this.createDateObject(n,this.formatYear),t[e].uid=this.uniqueId+"-"+e;e.title=[t[0].label,t[this.yearRange-1].label].join(" - "),e.rows=this.split(t,e.datePicker.yearColLimit)}),"year"),this.datePicker.setCompareHandler((function(e,t){return e.getFullYear()-t.getFullYear()}),"year"),this.datePicker.refreshView()}getStartingYear(e){return(e-1)/this.datePicker.yearRange*this.datePicker.yearRange+1}}class me{static forRoot(){return{ngModule:me,providers:[de]}}}},imRD:function(e,t,n){"use strict";var r=d(n("FKN7")),i=d(n("eWCF")),o=n("1LL4"),s=n("zl3R"),a=n("TssP"),l=n("xZEH"),u=d(n("A8u/")),c=d(n("91Oz"));
1function d(e){return e&&e.__esModule?e:{default:e}}var h=(0,o.extend)(!0,{},c.default),p={},f=(0,i.default)({engine:function(){return"base"},_dictionary:h,load:function(e){(0,o.extend)(!0,this._dictionary,e)},_localizablePrefix:"@",setup:function(e){this._localizablePrefix=e},localizeString:function(e){var t=this,n=new RegExp("(^|[^a-zA-Z_0-9"+t._localizablePrefix+"-]+)("+t._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),r=t._localizablePrefix+t._localizablePrefix;return e.replace(n,(function(e,n,i,o){var s,a=t._localizablePrefix+o;return i!==r&&(s=t.format(o)),s||(p[o]=(0,l.humanize)(o)),n+(s||a)}))},localizeNode:function(e){var t=this;(0,r.default)(e).each((function(e,n){n.nodeType&&(3===n.nodeType?n.nodeValue=t.localizeString(n.nodeValue):(0,r.default)(n).is("iframe")||((0,s.each)(n.attributes||[],(function(e,n){if("string"==typeof n.value){var r=t.localizeString(n.value);n.value!==r&&(n.value=r)}})),(0,r.default)(n).contents().each((function(e,n){t.localizeNode(n)}))))}))},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(e){return e?p:(0,o.extend)({},p,this.getMessagesByLocales()[u.default.locale()])},getFormatter:function(e){return this._getFormatterBase(e)||this._getFormatterBase(e,"en")},_getFormatterBase:function(e,t){var n=this,r=u.default.getValueByClosestLocale((function(t){return function(e,t){return e[t]||{}}(n._dictionary,t)[e]}));if(r)return function(){var e=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return e.unshift(r),a.format.apply(this,e)}},format:function(e){var t=this.getFormatter(e),n=Array.prototype.slice.call(arguments,1);return t&&t.apply(this,n)||""}});e.exports=f},itXk:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var r=n("z+Ro"),i=n("DH7j"),o=n("l7GE"),s=n("ZUHj"),a=n("yCtX");const l={};function u(...e){let t=null,n=null;return Object(r.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(i.a)(e[0])&&(e=e[0]),Object(a.a)(e,n).lift(new c(t))}class c{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new d(e,this.resultSelector))}}class d extends o.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(l),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Object(s.a)(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,r,i){const o=this.values,s=this.toRespond?o[n]===l?--this.toRespond:this.toRespond:0;o[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},iutN:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("8Y7J"),i=n("FE24"),o=r.rb({encapsulation:2,styles:[],data:{}});function s(e){return r.Qb(2,[(e()(),r.tb(0,0,null,null,1,"div",[],[[2,"dropup",null],[2,"dropdown",null],[2,"show",null],[2,"open",null]],null,null,null,null)),r.Fb(null,0)],null,(function(e,t){var n=t.component;e(t,0,0,"up"===n.direction,"down"===n.direction,n.isOpen,n.isOpen)}))}function a(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"bs-dropdown-container",[["style","display:block;position: absolute;"]],null,null,null,s,o)),r.sb(1,180224,null,0,i.b,[i.f,r.h,r.C,r.k],null,null)],null,null)}var l=r.pb("bs-dropdown-container",i.b,a,{},{},["*"])},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a(n=>{const r=new i.a;let o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}},jeLr:function(e,t,n){"use strict";function r(e){return(r="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)}var i,o,s,a=n("NNGq"),l=n("1LL4").extend,u=n("tUd6"),c=n("cGv3"),d=c.getWindow(),h=n("eWCF"),p=n("ti0F"),f=n("cYys"),g=p.isWindow,m=p.isFunction,y=p.isString,b=n("/7L9"),_=n("OaJ3"),v=n("KBLa"),E=n("heGP"),S={mouseenter:"mouseover",mouseleave:"mou
1seout",pointerenter:"pointerover",pointerleave:"pointerout"},C={focusin:"focus",focusout:"blur"},w=["blur","focus","load"],T=["touchmove","wheel","mousewheel","touchstart"],x=function(e,t){return!g(e)&&"#document"!==e.nodeName&&u.elementMatches(e,t)},O=new _,A=0,D=(o={},a.add((function(e,t){o[e]=t})),{getField:function(e,t){return o[e]&&o[e][t]},callMethod:function(e,t,n,r){return o[e]&&o[e][t]&&o[e][t].apply(n,r)}}),I=function e(t,n){var r=t[0];if(r)if(u.isNode(r)||g(r))n.apply(H,t);else{if(y(r)||!("length"in r))throw b.Error("E0025");var i=Array.prototype.slice.call(t,0);Array.prototype.forEach.call(r,(function(t){i[0]=t,e(i,n)}))}},R=function(e){return function(){I(arguments,e)}},N=E((function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});d.addEventListener("test",null,t)}catch(n){}return e})),k=function(e,t){var n=O.get(e),r=(t=t||"").split("."),o=r.slice(1),s=!!r[0];t=r[0]||"dxEmptyEventType",n||O.set(e,n={}),n[t]||(n[t]={handleObjects:[],nativeHandler:null});var a=n[t];return{addHandler:function(n,r,l){var c=function(r,i){var o,s,a=[r],u=r.currentTarget,c=r.relatedTarget;t in S&&(o=c&&u&&(c===u||u.contains(c))),void 0!==i&&a.push(i),D.callMethod(t,"handle",e,[r,l]),o||(s=n.apply(u,a)),!1===s&&(r.preventDefault(),r.stopPropagation())},d={handler:n,wrappedHandler:function(t,n){if(!i||t.type!==i)if(t.data=l,t.delegateTarget=e,r)for(var o=t.target;o&&o!==e;)x(o,r)&&(t.currentTarget=o,c(t,n)),o=o.parentNode;else t.currentTarget=t.delegateTarget||t.target,c(t,n)},selector:r,type:t,data:l,namespace:o.join("."),namespaces:o,guid:++A};a.handleObjects.push(d);var h,p=1===a.handleObjects.length&&s;p&&(p=!D.callMethod(t,"setup",e,[l,o,n])),p&&(a.nativeHandler=M(t),N()&&T.indexOf(t)>-1&&(h={passive:!1}),a.removeListener=u.listen(e,S[t]||t,a.nativeHandler,h)),D.callMethod(t,"add",e,[d])},removeHandler:function(r,i){var a=function(t){var s,a=n[t];a.handleObjects.length?(a.handleObjects=a.handleObjects.filter((function(n){var a=o.length&&!F(n.namespaces,o)||r&&n.handler!==r||i&&n.selector!==i;return a||(s=n.handler,D.callMethod(t,"remove",e,[n])),a})),!a.handleObjects.length&&"dxEmptyEventType"!==t&&(D.callMethod(t,"teardown",e,[o,s]),a.nativeHandler&&a.removeListener(),delete n[t])):delete n[t]};if(s)a(t);else for(var l in n)a(l);0===Object.keys(n).length&&O.delete(e)},callHandlers:function(e,t){var r=!1,i=function(n){r||o.length&&!F(n.namespaces,o)||(n.wrappedHandler(e,t),r=e.isImmediatePropagationStopped())};a.handleObjects.forEach(i),o.length&&n.dxEmptyEventType&&n.dxEmptyEventType.handleObjects.forEach(i)}}},M=function(e){return function(t,n){var r=k(this,e);t=H.Event(t),r.callHandlers(t,n)}},F=function(e,t){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])<0)return!1;return!0},P=function(e){return function(t,n,r,i,o){o||(o=i,i=void 0),"string"!=typeof r&&(i=r,r=void 0),o||"string"!=typeof n||(o=i||r,r=void 0,i=void 0),e(t,n,r,i,o)}},L=function(e){return function(t,n,r){"string"==typeof n&&(n={type:n}),n.target||(n.target=t),n.currentTarget=t,n.delegateTarget||(n.delegateTarget=t),!n.type&&n.originalEvent&&(n.type=n.originalEvent.type),e(t,n instanceof H.Event?n:H.Event(n),r)}},U=function(e){var t=function(t,n){if(n&&n.indexOf(" ")>-1){var r=Array.prototype.slice.call(arguments,0);n.split(" ").forEach((function(t){r[1]=t,e.apply(this,r)}))}else e.apply(this,arguments)};return function(e,n){if("object"===r(n)){var i=Array.prototype.slice.call(arguments,0);for(var o in n)i[1]=o,i[i.length-1]=n[o],t.apply(this,i)}else t.apply(this,arguments)}},G=function(e){return function(e){return null==e.which&&0===e.type.indexOf("key")}(e)?null!=e.charCode?e.charCode:e.keyCode:function(e){return!e.which&&void 0!==e.button&&/^(?:mouse|pointer|contextmenu|drag|drop)|click/.test(e.type)}(e)?{1:1,2:3,3:1,4:2}[e.button]:e.which},H=h({on:R(P(U((function(e,t,n,r,i){k(e,t).addHandler(i,n,r)})))),one:R(P((function(e,t,n,r,i){H.on(e,t,n,r,(function r(){H.off(e,t,n,r),i.apply(this,arguments)}))}))),off:R((s=U((function(e,t,n,r){k(e,t).removeHandler(r,n)})),function(e,t,n,r){"function"==typeof n&&(r=n,n=void 0),s(e,t,n,r)})),trigger:R(L((function(e,t,n){var r=t.type,o=k(e,t.type);if(D.callMethod(r,"trigger",e,[t,n]),o.callHandlers(t,n),!D.getField(r,"noBubble")&&!t.isPropagationStopped()&&-1===w.indexOf(r)){var s=[];!function e(t){var n=t.parentNode;n&&(s.push(n),e(n))}(e),s.push(d);for(var a=0;s[a]&&!t.isPropagationStopped();)k(s[a],t.type).callHandlers(l(t,{currentTarget:s[a]}),n),a++}(e.nodeType||g(e))&&(D.callMethod(r,"_default",e,[t,n]),function(e,t){var n=C[e]||e;(function(e,t){return"click"===e&&"a"===t.localName})(e,t)||m(t[n])&&(i=e,t[n](),i=void 0)}(r,e))}))),triggerHandler:R(L((function(e,t,n){k(e,t.type).callHandlers(t,n)})))}),B=function(e){e&&(H.Event=e,H.Event.prototype=e.prototype)};B(function(e){return function(t,n){if(!(this instanceof H.Event))return new H.Event(t,n);t||(t={}),"string"==typeof t&&(t={type:t}),n||(n={}),e.call(this,t,n)}}((function(e,t){var n=this,r=!1,i=!1,o=!1;l(n,e),(e instanceof H.Event||c.hasWindow()&&e instanceof d.Event)&&(n.originalEvent=e,n.currentTarget=void 0),e instanceof H.Event||l(n,{isPropagationStopped:function(){return!!(r||n.originalEvent&&n.originalEvent.propagationStopped)},stopPropagation:function(){r=!0,n.originalEvent&&n.originalEvent.stopPropagation()},isImmediatePropagationStopped:function(){return i},stopImmediatePropagation:function(){this.stopPropagation(),i=!0,n.originalEvent&&n.originalEvent.stopImmediatePropagation()},isDefaultPrevented:function(){return!!(o||n.originalEvent&&n.originalEvent.defaultPrevented)},preventDefault:function(){o=!0,n.originalEvent&&n.originalEvent.preventDefault()}}),j("which",G,n),0===e.type.indexOf("touch")&&(delete t.pageX,delete t.pageY),l(n,t),n.guid=++A})));var j=function(e,t,n){Object.defineProperty(n||H.Event.prototype,e,{enumerable:!0,configurable:!0,get:function(){return this.originalEvent&&t(this.originalEvent)},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})};v(j);var V=f(),W=f();H.set=function(e){V.fire(),H.inject(e),B(e.Event),W.fire()},H.subscribeGlobal=function(){I(arguments,P((function(){var e=arguments;H.on.apply(this,e),V.add((function(){var t=Array.prototype.slice.call(e,0);t.splice(3,1),H.off.apply(this,t)})),W.add((function(){H.on.apply(this,e)}))})))},H.forcePassiveFalseEventNames=T,H.passiveEventHandlersSupported=N,e.exports=H},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},kdlb:function(e){e.exports=JSON.parse('{"es":{"Yes":"S\xed","No":"No","Cancel":"Cancelar","Clear":"Limpiar","Done":"Hecho","Loading":"Cargando...","Select":"Seleccionar...","Search":"Buscar","Back":"Volver","OK":"Aceptar","dxCollectionWidget-noDataText":"Sin datos para mostrar","dxDropDownEditor-selectLabel":"Seleccionar","validation-required":"Obligatorio","validation-required-formatted":"{0} es obligatorio","validation-numeric":"Valor debe ser un n\xfamero","validation-numeric-formatted":"{0} debe ser un n\xfamero","validation-range":"Valor fuera de rango","validation-range-formatted":"{0} fuera de rango","validation-stringLength":"El tama\xf1o del valor es incorrecto","validation-stringLength-formatted":"El tama\xf1o de {0} es incorrecto","validation-custom":"Valor inv\xe1lido","validation-custom-formatted":"{0} inv\xe1lido","validation-async":"Valor inv\xe1lido","validation-async-formatted":"{0} inv\xe1lido","validation-compare":"Valores no coinciden","validation-compare-formatted":"{0} no coinciden","validation-pattern":"Valor no coincide con el patr\xf3n","validation-pattern-formatted":"{0} no coincide con el patr\xf3n","validation-email":"Email inv\xe1lido","validation-email-formatted":"{0} inv\xe1lido","validation-mask":"Valor inv\xe1lido","dxLookup-searchPlaceholder":"Cantidad m\xednima de caracteres: {0}","dxList-pullingDownText":"Desliza hacia abajo para actualizar...","dxList-pulledDownText":"Suelta para actualizar...","dxList-refreshingText":"Actualizando...","dxList-pageLo
1adingText":"Cargando...","dxList-nextButtonText":"M\xe1s","dxList-selectAll":"Seleccionar Todo","dxListEditDecorator-delete":"Eliminar","dxListEditDecorator-more":"M\xe1s","dxScrollView-pullingDownText":"Desliza hacia abajo para actualizar...","dxScrollView-pulledDownText":"Suelta para actualizar...","dxScrollView-refreshingText":"Actualizando...","dxScrollView-reachBottomText":"Cargando...","dxDateBox-simulatedDataPickerTitleTime":"Seleccione hora","dxDateBox-simulatedDataPickerTitleDate":"Seleccione fecha","dxDateBox-simulatedDataPickerTitleDateTime":"Seleccione fecha y hora","dxDateBox-validation-datetime":"Valor debe ser una fecha u hora","dxFileUploader-selectFile":"Seleccionar archivo","dxFileUploader-dropFile":"o arrastre un archivo aqu\xed","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Subir","dxFileUploader-uploaded":"Subido","dxFileUploader-readyToUpload":"Listo para subir","dxFileUploader-uploadFailedMessage":"Falla ao subir","dxFileUploader-invalidFileExtension":"Tipo de archivo no est\xe1 permitido","dxFileUploader-invalidMaxFileSize":"Archivo es muy grande","dxFileUploader-invalidMinFileSize":"Archivo es muy peque\xf1o","dxRangeSlider-ariaFrom":"Desde","dxRangeSlider-ariaTill":"Hasta","dxSwitch-switchedOnText":"ENCENDIDO","dxSwitch-switchedOffText":"APAGADO","dxForm-optionalMark":"opcional","dxForm-requiredMessage":"{0} es obligatorio","dxNumberBox-invalidValueMessage":"Valor debe ser un n\xfamero","dxNumberBox-noDataText":"Sin datos","dxDataGrid-columnChooserTitle":"Selector de Columnas","dxDataGrid-columnChooserEmptyText":"Arrastra una columna aqu\xed para ocultarla","dxDataGrid-groupContinuesMessage":"Contin\xfaa en la p\xe1gina siguiente","dxDataGrid-groupContinuedMessage":"Continuaci\xf3n de la p\xe1gina anterior","dxDataGrid-groupHeaderText":"Agrupar por esta columna","dxDataGrid-ungroupHeaderText":"Desagrupar","dxDataGrid-ungroupAllText":"Desagrupar Todo","dxDataGrid-editingEditRow":"Modificar","dxDataGrid-editingSaveRowChanges":"Guardar","dxDataGrid-editingCancelRowChanges":"Cancelar","dxDataGrid-editingDeleteRow":"Eliminar","dxDataGrid-editingUndeleteRow":"Recuperar","dxDataGrid-editingConfirmDeleteMessage":"\xbfEst\xe1 seguro que desea eliminar este registro?","dxDataGrid-validationCancelChanges":"Cancelar cambios","dxDataGrid-groupPanelEmptyText":"Arrastra una columna aqu\xed para agrupar por ella","dxDataGrid-noDataText":"Sin datos","dxDataGrid-searchPanelPlaceholder":"Buscar...","dxDataGrid-filterRowShowAllText":"(Todos)","dxDataGrid-filterRowResetOperationText":"Reestablecer","dxDataGrid-filterRowOperationEquals":"Igual","dxDataGrid-filterRowOperationNotEquals":"No es igual","dxDataGrid-filterRowOperationLess":"Menor que","dxDataGrid-filterRowOperationLessOrEquals":"Menor o igual a","dxDataGrid-filterRowOperationGreater":"Mayor que","dxDataGrid-filterRowOperationGreaterOrEquals":"Mayor o igual a","dxDataGrid-filterRowOperationStartsWith":"Empieza con","dxDataGrid-filterRowOperationContains":"Contiene","dxDataGrid-filterRowOperationNotContains":"No contiene","dxDataGrid-filterRowOperationEndsWith":"Termina con","dxDataGrid-filterRowOperationBetween":"Entre","dxDataGrid-filterRowOperationBetweenStartText":"Inicio","dxDataGrid-filterRowOperationBetweenEndText":"Fin","dxDataGrid-applyFilterText":"Filtrar","dxDataGrid-trueText":"verdadero","dxDataGrid-falseText":"falso","dxDataGrid-sortingAscendingText":"Orden Ascendente","dxDataGrid-sortingDescendingText":"Orden Descendente","dxDataGrid-sortingClearText":"Limpiar Ordenamiento","dxDataGrid-editingSaveAllChanges":"Guardar cambios","dxDataGrid-editingCancelAllChanges":"Descartar cambios","dxDataGrid-editingAddRow":"Agregar una fila","dxDataGrid-summaryMin":"M\xedn: {0}","dxDataGrid-summaryMinOtherColumn":"M\xedn de {1} es {0}","dxDataGrid-summaryMax":"M\xe1x: {0}","dxDataGrid-summaryMaxOtherColumn":"M\xe1x de {1} es {0}","dxDataGrid-summaryAvg":"Prom: {0}","dxDataGrid-summaryAvgOtherColumn":"Prom de {1} es {0}","dxDataGrid-summarySum":"Suma: {0}","dxDataGrid-summarySumOtherColumn":"Suma de {1} es {0}","dxDataGrid-summaryCount":"Cantidad: {0}","dxDataGrid-columnFixingFix":"Anclar","dxDataGrid-columnFixingUnfix":"Desanclar","dxDataGrid-columnFixingLeftPosition":"A la izquierda","dxDataGrid-columnFixingRightPosition":"A la derecha","dxDataGrid-exportTo":"Exportar","dxDataGrid-exportToExcel":"Exportar a archivo Excel","dxDataGrid-exporting":"Exportar...","dxDataGrid-excelFormat":"Archivo Excel","dxDataGrid-selectedRows":"Filas seleccionad
1as","dxDataGrid-exportSelectedRows":"Exportar filas seleccionadas","dxDataGrid-exportAll":"Exportar todo","dxDataGrid-headerFilterEmptyValue":"(Vacio)","dxDataGrid-headerFilterOK":"Aceptar","dxDataGrid-headerFilterCancel":"Cancelar","dxDataGrid-ariaColumn":"Columna","dxDataGrid-ariaValue":"Valor","dxDataGrid-ariaFilterCell":"Celda de filtro","dxDataGrid-ariaCollapse":"Colapsar","dxDataGrid-ariaExpand":"Expandir","dxDataGrid-ariaDataGrid":"Tabla de datos","dxDataGrid-ariaSearchInGrid":"Buscar en la tabla de datos","dxDataGrid-ariaSelectAll":"Seleccionar todo","dxDataGrid-ariaSelectRow":"Seleccionar fila","dxDataGrid-filterBuilderPopupTitle":"Constructor de filtro","dxDataGrid-filterPanelCreateFilter":"Crear filtro","dxDataGrid-filterPanelClearFilter":"Limpiar filtro","dxDataGrid-filterPanelFilterEnabledHint":"Habilitar filtro","dxTreeList-ariaTreeList":"Lista de \xe1rbol","dxTreeList-editingAddRowToNode":"A\xf1adir","dxPager-infoText":"P\xe1gina {0} de {1} ({2} \xedtems)","dxPager-pagesCountText":"de","dxPivotGrid-grandTotal":"Gran Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Selector de Campos","dxPivotGrid-showFieldChooser":"Mostrar Selector de Campos","dxPivotGrid-expandAll":"Expandir Todo","dxPivotGrid-collapseAll":"Colapsar Todo","dxPivotGrid-sortColumnBySummary":"Ordenar \\"{0}\\" por esta columna","dxPivotGrid-sortRowBySummary":"Ordenar \\"{0}\\" por esta fila","dxPivotGrid-removeAllSorting":"Remover ordenamiento","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Campos de fila","dxPivotGrid-columnFields":"Campos de columna","dxPivotGrid-dataFields":"Campos de dato","dxPivotGrid-filterFields":"Campos de filtro","dxPivotGrid-allFields":"Todos los campos","dxPivotGrid-columnFieldArea":"Arrastra campos de columna aqu\xed","dxPivotGrid-dataFieldArea":"Arrastra campos de dato aqu\xed","dxPivotGrid-rowFieldArea":"Arrastra campos de fila aqu\xed","dxPivotGrid-filterFieldArea":"Arrastra campos de filtro aqu\xed","dxScheduler-editorLabelTitle":"Asunto","dxScheduler-editorLabelStartDate":"Fecha inicial","dxScheduler-editorLabelEndDate":"Fecha final","dxScheduler-editorLabelDescription":"Descripci\xf3n","dxScheduler-editorLabelRecurrence":"Repetir","dxScheduler-openAppointment":"Abrir cita","dxScheduler-recurrenceNever":"Nunca","dxScheduler-recurrenceDaily":"Diario","dxScheduler-recurrenceWeekly":"Semanal","dxScheduler-recurrenceMonthly":"Mensual","dxScheduler-recurrenceYearly":"Anual","dxScheduler-recurrenceRepeatEvery":"Cada","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"Terminar repetici\xf3n","dxScheduler-recurrenceAfter":"Despu\xe9s","dxScheduler-recurrenceOn":"En","dxScheduler-recurrenceRepeatDaily":"d\xeda(s)","dxScheduler-recurrenceRepeatWeekly":"semana(s)","dxScheduler-recurrenceRepeatMonthly":"mes(es)","dxScheduler-recurrenceRepeatYearly":"a\xf1o(s)","dxScheduler-switcherDay":"D\xeda","dxScheduler-switcherWeek":"Semana","dxScheduler-switcherWorkWeek":"Semana Laboral","dxScheduler-switcherMonth":"Mes","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"L\xednea de tiempo D\xeda","dxScheduler-switcherTimelineWeek":"L\xednea de tiempo Semana","dxScheduler-switcherTimelineWorkWeek":"L\xednea de tiempo Semana Laboral","dxScheduler-switcherTimelineMonth":"L\xednea de tiempo Mes","dxScheduler-recurrenceRepeatOnDate":"en la fecha","dxScheduler-recurrenceRepeatCount":"ocurrencia(s)","dxScheduler-allDay":"Todo el d\xeda","dxScheduler-confirmRecurrenceEditMessage":"\xbfQuiere modificar solo esta cita o toda la serie?","dxScheduler-confirmRecurrenceDeleteMessage":"\xbfQuiere eliminar solo esta cita o toda la serie?","dxScheduler-confirmRecurrenceEditSeries":"Modificar serie","dxScheduler-confirmRecurrenceDeleteSeries":"Eliminar serie","dxScheduler-confirmRecurrenceEditOccurrence":"Modificar cita","dxScheduler-confirmRecurrenceDeleteOccurrence":"Eliminar cita","dxScheduler-noTimezoneTitle":"Sin zona horaria","dxScheduler-moreAppointments":"{0} m\xe1s","dxCalendar-todayButtonText":"Hoy","dxCalendar-ariaWidgetName":"Calendario","dxColorView-ariaRed":"Rojo","dxColorView-ariaGreen":"Verde","dxColorView-ariaBlue":"Azul","dxColorView-ariaAlpha":"Trans
1parencia","dxColorView-ariaHex":"C\xf3digo del color","dxTagBox-selected":"{0} seleccionado","dxTagBox-allSelected":"Todos seleccionados ({0})","dxTagBox-moreSelected":"{0} m\xe1s","vizExport-printingButtonText":"Imprimir","vizExport-titleMenuText":"Exportar/Imprimir","vizExport-exportButtonText":"Archivo {0}","dxFilterBuilder-and":"Y","dxFilterBuilder-or":"O","dxFilterBuilder-notAnd":"NO Y","dxFilterBuilder-notOr":"NO O","dxFilterBuilder-addCondition":"A\xf1adir condici\xf3n","dxFilterBuilder-addGroup":"A\xf1adir Grupo","dxFilterBuilder-enterValueText":"<rellene con un valor>","dxFilterBuilder-filterOperationEquals":"Igual","dxFilterBuilder-filterOperationNotEquals":"Diferente","dxFilterBuilder-filterOperationLess":"Menos que","dxFilterBuilder-filterOperationLessOrEquals":"Menor o igual que","dxFilterBuilder-filterOperationGreater":"M\xe1s grande que","dxFilterBuilder-filterOperationGreaterOrEquals":"Mayor o igual que","dxFilterBuilder-filterOperationStartsWith":"Comienza con","dxFilterBuilder-filterOperationContains":"Contiene","dxFilterBuilder-filterOperationNotContains":"No contiene","dxFilterBuilder-filterOperationEndsWith":"Termina con","dxFilterBuilder-filterOperationIsBlank":"Vac\xedo","dxFilterBuilder-filterOperationIsNotBlank":"No vac\xedo","dxFilterBuilder-filterOperationBetween":"Entre","dxFilterBuilder-filterOperationAnyOf":"Alguno de","dxFilterBuilder-filterOperationNoneOf":"Ning\xfan de","dxHtmlEditor-dialogColorCaption":"Cambiar el color de la fuente","dxHtmlEditor-dialogBackgroundCaption":"Cambiar el color de fondo","dxHtmlEditor-dialogLinkCaption":"A\xf1adir enlace","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Texto","dxHtmlEditor-dialogLinkTargetField":"Abrir enlace en nueva ventana","dxHtmlEditor-dialogImageCaption":"A\xf1adir imagen","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Texto alternativo","dxHtmlEditor-dialogImageWidthField":"Anchura (px)","dxHtmlEditor-dialogImageHeightField":"Altura (px)","dxHtmlEditor-heading":"Encabezamiento","dxHtmlEditor-normalText":"Texto normal","dxFileManager-newDirectoryName":"Sin t\xedtulo","dxFileManager-rootDirectoryName":"Archivos","dxFileManager-errorNoAccess":"Acceso denegado. La operaci\xf3n no se puede completar.","dxFileManager-errorDirectoryExistsFormat":"Carpeta {0} ya existe.","dxFileManager-errorFileExistsFormat":"Archivo {0} ya existe.","dxFileManager-errorFileNotFoundFormat":"Archivo {0} no encontrado.","dxFileManager-errorDirectoryNotFoundFormat":"TODO","dxFileManager-errorWrongFileExtension":"TODO","dxFileManager-errorMaxFileSizeExceeded":"TODO","dxFileManager-errorInvalidSymbols":"TODO","dxFileManager-errorDefault":"Error no especificado","dxFileManager-commandCreate":"TODO","dxFileManager-commandRename":"TODO","dxFileManager-commandMove":"TODO","dxFileManager-commandCopy":"TODO","dxFileManager-commandDelete":"TODO","dxFileManager-commandDownload":"TODO","dxFileManager-commandUpload":"TODO","dxFileManager-commandRefresh":"TODO","dxFileManager-commandThumbnails":"TODO","dxFileManager-commandDetails":"TODO","dxFileManager-commandClear":"TODO","dxFileManager-dialogDirectoryChooserTitle":"TODO","dxFileManager-dialogDirectoryChooserButtonText":"TODO","dxFileManager-dialogRenameItemTitle":"TODO","dxFileManager-dialogRenameItemButtonText":"TODO","dxFileManager-dialogCreateDirectoryTitle":"TODO","dxFileManager-dialogCreateDirectoryButtonText":"TODO","dxFileManager-editingCreateSingleItemProcessingMessage":"TODO","dxFileManager-editingCreateSingleItemSuccessMessage":"TODO","dxFileManager-editingCreateSingleItemErrorMessage":"TODO","dxFileManager-editingCreateCommonErrorMessage":"TODO","dxFileManager-editingRenameSingleItemProcessingMessage":"TODO","dxFileManager-editingRenameSingleItemSuccessMessage":"TODO","dxFileManager-editingRenameSingleItemErrorMessage":"TODO","dxFileManager-editingRenameCommonErrorMessage":"TODO","dxFileManager-editingDeleteSingleItemProcessingMessage":"TODO","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"TODO","dxFileManager-editingDeleteSingleItemSuccessMessage":"TODO","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"TODO","dxFileManager-editingDeleteSingleItemErrorMessage":"TODO","dxFileManager-editingDeleteMultipleItemsErrorMessage":"TODO","dxFileManager-editingDeleteCommonErrorMessage":"TODO","dxFileManager-editingMoveSingleItemProcessingMessage":"TODO","dxFileManager-editingMoveMultipleItemsProcessingMessage":"TODO","dxFileManager-editingMoveSingleItemSuccessMessage":"TODO","dxFileManager-editingMoveMultipleItemsSuccessMessage":"TODO","dxFileManager-editingMoveSingleItemErrorMessage":"TODO","dxFileManager-editingMoveMultipleItemsErrorMessage":"TODO","dxFileManager-editingMoveCommonErrorMessage":"TODO","dxFileManager-editingCopySingleItemProcessingMessage":"TODO","dxFileManager-editingCopyMultipleItemsProcessingMessage":"TODO","dxFileManager-editingCopySingleItemSuccessMessage":"TODO","dxFileManager-editingCopyMultipleItemsSuccessMessage":"TODO","dxFileManager-editingCopySingleItemErrorMessage":"TODO","dxFileManager-editingCopyMultipleItemsErrorMessage":"TODO","dxFileManager-editingCopyCommonErrorMessage":"TODO","dxFileManager-editingUploadSingleItemProcessingMessage":"TODO","dxFileManager-editingUploadMultipleItemsProcessingMessage":"TODO","dxFileManager-editingUploadSingleItemSuccessMessage":"TODO","dxFileManager-editingUploadMultipleItemsSuccessMessage":"TODO","dxFileManager-editingUploadSingleItemErrorMessage":"TODO","dxFileManager-editingUploadMultipleItemsErrorMessage":"TODO","dxFileManager-editingUploadCanceledMessage":"TODO","dxFileManager-listDetailsColumnCaptionName":"TODO","dxFileManager-listDetailsColumnCaptionDateModified":"TODO","dxFileManager-listDetailsColumnCaptionFileSize":"TODO","dxFileManager-listThumbnailsTooltipTextSize":"TODO","dxFileManager-listThumbnailsTooltipTextDateModified":"TODO","dxFileManager-notificationProgressPanelTitle":"TODO","dxFileManager-notificationProgressPanelEmptyListText":"TODO","dxFileManager-notificationProgressPanelOperationCanceled":"TODO","dxDiagram-categoryGeneral":"TODO","dxDiagram-categoryFlowchart":"TODO","dxDiagram-categoryOrgChart":"TODO","dxDiagram-categoryContainers":"TODO","dxDiagram-categoryCustom":"TODO","dxDiagram-commandPro
1perties":"TODO","dxDiagram-commandExport":"TODO","dxDiagram-commandExportToSvg":"TODO","dxDiagram-commandExportToPng":"TODO","dxDiagram-commandExportToJpg":"TODO","dxDiagram-commandUndo":"TODO","dxDiagram-commandRedo":"TODO","dxDiagram-commandFontName":"TODO","dxDiagram-commandFontSize":"TODO","dxDiagram-commandBold":"TODO","dxDiagram-commandItalic":"TODO","dxDiagram-commandUnderline":"TODO","dxDiagram-commandTextColor":"TODO","dxDiagram-commandLineColor":"TODO","dxDiagram-commandFillColor":"TODO","dxDiagram-commandAlignLeft":"TODO","dxDiagram-commandAlignCenter":"TODO","dxDiagram-commandAlignRight":"TODO","dxDiagram-commandConnectorLineType":"TODO","dxDiagram-commandConnectorLineStraight":"TODO","dxDiagram-commandConnectorLineOrthogonal":"TODO","dxDiagram-commandConnectorLineStart":"TODO","dxDiagram-commandConnectorLineEnd":"TODO","dxDiagram-commandConnectorLineNone":"TODO","dxDiagram-commandConnectorLineArrow":"TODO","dxDiagram-commandAutoLayout":"TODO","dxDiagram-commandAutoLayoutTree":"TODO","dxDiagram-commandAutoLayoutLayered":"TODO","dxDiagram-commandAutoLayoutHorizontal":"TODO","dxDiagram-commandAutoLayoutVertical":"TODO","dxDiagram-commandFullscreen":"TODO","dxDiagram-commandUnits":"TODO","dxDiagram-commandPageSize":"TODO","dxDiagram-commandPageOrientation":"TODO","dxDiagram-commandPageOrientationLandscape":"TODO","dxDiagram-commandPageOrientationPortrait":"TODO","dxDiagram-commandPageColor":"TODO","dxDiagram-commandShowGrid":"TODO","dxDiagram-commandSnapToGrid":"TODO","dxDiagram-commandGridSize":"TODO","dxDiagram-commandZoomLevel":"TODO","dxDiagram-commandAutoZoom":"TODO","dxDiagram-commandSimpleView":"TODO","dxDiagram-commandCut":"TODO","dxDiagram-commandCopy":"TODO","dxDiagram-commandPaste":"TODO","dxDiagram-commandSelectAll":"TODO","dxDiagram-commandDelete":"TODO","dxDiagram-commandBringToFront":"TODO","dxDiagram-commandSendToBack":"TODO","dxDiagram-commandLock":"TODO","dxDiagram-commandUnlock":"TODO","dxDiagram-commandInsertShapeImage":"TODO","dxDiagram-commandEditShapeImage":"TODO","dxDiagram-commandDeleteShapeImage":"TODO","dxDiagram-unitIn":"TODO","dxDiagram-unitCm":"TODO","dxDiagram-unitPx":"TODO","dxDiagram-dialogButtonOK":"TODO","dxDiagram-dialogButtonCancel":"TODO","dxDiagram-dialogInsertShapeImageTitle":"TODO","dxDiagram-dialogEditShapeImageTitle":"TODO","dxDiagram-dialogEditShapeImageSelectButton":"TODO","dxDiagram-dialogEditShapeImageLabelText":"TODO"}}')},kiQV:function(e){e.exports=JSON.parse('{"a":"3.2.0"}')},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");class i extends r.a{notifyNext(e,t,n,r,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lQde:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return a}));var r=n("8Y7J"),i=n("hpHm");class o{constructor(){this.closeOthers=!1,this.isAnimated=!1}}class s{constructor(e){this.isAnimated=!1,this.groups=[],Object.assign(this,e)}closeOtherPanels(e){this.closeOthers&&this.groups.forEach(t=>{t!==e&&(t.isOpen=!1)})}addGroup(e){e.isAnimated=this.isAnimated,this.groups.push(e)}removeGroup(e){const t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}class a{constructor(e){this.isAnimated=!1,this.isOpenChange=new r.m,this._isOpen=!1,this.accordion=e}get isOpen(){return this._isOpen}set isOpen(e){e!==this.isOpen&&(e&&this.accordion.closeOtherPanels(this),this._isOpen=e,Promise.resolve(null).then(()=>{this.isOpenChange.emit(e)}).catch(e=>{console.log(e)}))}get isBs3(){return Object(i.d)()}ngOnInit(){this.panelClass=this.panelClass||"panel-default",this.accordion.addGroup(this)}ngOnDestroy(){this.accordion.removeGroup(this)}toggleOpen(){this.isDisabled||(this.isOpen=!this.isOpen)}}class l{static forRoot(){return{ngModule:l,providers:[o]}}}},lzUq:function(e){e.exports=JSON.parse('{"it":{"Yes":"S\xec","No":"No","Cancel":"Annulla","Clear":"Cancella","Done":"Fatto","Loading":"Caricamento...","Select":"Seleziona...","Search":"Cerca","Back":"Indietro","OK":"OK","dxCollectionWidget-noDataText":"Nessun dato da mostrare","dxDropDownEditor-selectLabel":"Seleziona","validation-required":"Richiesto","validation-required-formatted":"{0} \xe8 richiesto","validation-numeric":"Il valore deve essere numerico","validation-numeric-formatted":"{0} deve essere numerico","validation-range":"Il valore non \xe8 compreso nell\'intervallo","validation-range-formatted":"{0} non \xe8 compreso nell\'intervallo","validation-stringLength":"Lunghezza del valore errata","validation-stringLength-formatted":"La lunghezza di {0} \xe8 errata","validation-custom":"Il valore non \xe8 corretto","validation-custom-formatted":"{0} non \xe8 corretto","validation-async":"Il valore non \xe8 corretto","validation-async-formatted":"{0} non \xe8 corretto","validation-compare":"I valori non corrispondono","validation-compare-formatted":"{0} non corrisponde","validation-pattern":"Il valore non \xe8 corretto","validation-pattern-formatted":"{0} non \xe8 corretto","validation-email":"L\'Email non \xe8 corretta","validation-email-formatted":"{0} non \xe8 una email corretta","validation-mask":"Il valore non \xe8 corretto","dxLookup-searchPlaceholder":"Lunghezza minima: {0}","dxList-pullingDownText":"Trascina in basso per aggiornare...","dxList-pulledDownText":"Rilascia per aggiornare...","dxList-refreshingText":"Aggiornamento...","dxList-pageLo
1adingText":"Caricamento...","dxList-nextButtonText":"Carica altri risultati","dxList-selectAll":"Seleziona tutti","dxListEditDecorator-delete":"Elimina","dxListEditDecorator-more":"Ancora","dxScrollView-pullingDownText":"Trascina in basso per aggiornare...","dxScrollView-pulledDownText":"Rilascia per aggiornare...","dxScrollView-refreshingText":"Aggiornamento...","dxScrollView-reachBottomText":"Caricamento...","dxDateBox-simulatedDataPickerTitleTime":"Seleziona orario","dxDateBox-simulatedDataPickerTitleDate":"Seleziona data","dxDateBox-simulatedDataPickerTitleDateTime":"Seleziona data e ora","dxDateBox-validation-datetime":"Il valore deve essere una data o un orario","dxFileUploader-selectFile":"Seleziona file","dxFileUploader-dropFile":"o trascina il file qui","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Carica","dxFileUploader-uploaded":"Caricato","dxFileUploader-readyToUpload":"Pronto per caricare","dxFileUploader-uploadFailedMessage":"Caricamento fallito","dxFileUploader-invalidFileExtension":"","dxFileUploader-invalidMaxFileSize":"","dxFileUploader-invalidMinFileSize":"","dxRangeSlider-ariaFrom":"Da","dxRangeSlider-ariaTill":"fino a","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"opzionale","dxForm-requiredMessage":"{0} \xe8 richiesto","dxNumberBox-invalidValueMessage":"Il valore deve essere numerico","dxNumberBox-noDataText":"Nessun dato","dxDataGrid-columnChooserTitle":"Selezione colonne","dxDataGrid-columnChooserEmptyText":"Trascina qui una colonna per nasconderla","dxDataGrid-groupContinuesMessage":"Pagina successiva","dxDataGrid-groupContinuedMessage":"Continua da pagina precedente","dxDataGrid-groupHeaderText":"Raggruppa per questa colonna","dxDataGrid-ungroupHeaderText":"Separa","dxDataGrid-ungroupAllText":"Separa tutti","dxDataGrid-editingEditRow":"Modifica","dxDataGrid-editingSaveRowChanges":"Salva","dxDataGrid-editingCancelRowChanges":"Annulla","dxDataGrid-editingDeleteRow":"Elimina","dxDataGrid-editingUndeleteRow":"Ripristina","dxDataGrid-editingConfirmDeleteMessage":"Sei certo di voler eliminare questo record?","dxDataGrid-validationCancelChanges":"Annulla le modifiche","dxDataGrid-groupPanelEmptyText":"Trascina qui l\'intestazione di una colonna per raggrupparla","dxDataGrid-noDataText":"Nessun dato","dxDataGrid-searchPanelPlaceholder":"Cerca...","dxDataGrid-filterRowShowAllText":"(Tutti)","dxDataGrid-filterRowResetOperationText":"Annulla","dxDataGrid-filterRowOperationEquals":"Uguale","dxDataGrid-filterRowOperationNotEquals":"Diverso","dxDataGrid-filterRowOperationLess":"Minore di","dxDataGrid-filterRowOperationLessOrEquals":"Minore o uguale a","dxDataGrid-filterRowOperationGreater":"Maggi
1ore di","dxDataGrid-filterRowOperationGreaterOrEquals":"Maggiore o uguale a","dxDataGrid-filterRowOperationStartsWith":"Inizia con","dxDataGrid-filterRowOperationContains":"Contiene","dxDataGrid-filterRowOperationNotContains":"Non contiene","dxDataGrid-filterRowOperationEndsWith":"Termina con","dxDataGrid-filterRowOperationBetween":"Compreso","dxDataGrid-filterRowOperationBetweenStartText":"Inizio","dxDataGrid-filterRowOperationBetweenEndText":"Fine","dxDataGrid-applyFilterText":"Applica filtro","dxDataGrid-trueText":"vero","dxDataGrid-falseText":"falso","dxDataGrid-sortingAscendingText":"Ordinamento ascendente","dxDataGrid-sortingDescendingText":"Ordinamento discendente","dxDataGrid-sortingClearText":"Annulla ordinamento","dxDataGrid-editingSaveAllChanges":"Salva le modifiche","dxDataGrid-editingCancelAllChanges":"Annulla le modifiche","dxDataGrid-editingAddRow":"Aggiungi una riga","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min di {1} \xe8 {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max di {1} \xe8 {0}","dxDataGrid-summaryAvg":"Media: {0}","dxDataGrid-summaryAvgOtherColumn":"Media di {1} \xe8 {0}","dxDataGrid-summarySum":"Somma: {0}","dxDataGrid-summarySumOtherColumn":"Somma di {1} \xe8 {0}","dxDataGrid-summaryCount":"Elementi: {0}","dxDataGrid-columnFixingFix":"Blocca","dxDataGrid-columnFixingUnfix":"Sblocca","dxDataGrid-columnFixingLeftPosition":"Alla sinistra","dxDataGrid-columnFixingRightPosition":"Alla destra","dxDataGrid-exportTo":"Esporta","dxDataGrid-exportToExcel":"Esporta in Excel","dxDataGrid-exporting":"Esportare...","dxDataGrid-excelFormat":"File Excel","dxDataGrid-selectedRows":"Righe selezionate","dxDataGrid-exportSelectedRows":"Esporta le righe selezionate","dxDataGrid-exportAll":"Esporta tutti i dati","dxDataGrid-headerFilterEmptyValue":"(vuoto)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Annulla","dxDataGrid-ariaColumn":"Colonna","dxDataGrid-ariaValue":"Valore","dxDataGrid-ariaFilterCell":"Filtra cella","dxDataGrid-ariaCollapse":"Chiudi","dxDataGrid-ariaExpand":"Espandi","dxDataGrid-ariaDataGrid":"Griglia dati","dxDataGrid-ariaSearchInGrid":"Cerca nella griglia","dxDataGrid-ariaSelectAll":"Seleziona tutti","dxDataGrid-ariaSelectRow":"Seleziona riga","dxDataGrid-filterBuilderPopupTitle":"Composizione filtro","dxDataGrid-filterPanelCreateFilter":"Nuovo filtro","dxDataGrid-filterPanelClearFilter":"Cancella","dxDataGrid-filterPanelFilterEnabledHint":"Attiva il filtro","dxTreeList-ariaTreeList":"Albero","dxTreeList-editingAddRowToNode":"Aggiungi","dxPager-infoText":"Pagina {0} di {1} ({2} elementi)","dxPager-pagesCountText":"di","dxPivotGrid-grandTotal":"Totale","dxPivotGrid-total":"{0} Totale","dxPivotGrid-fieldChooserTitle":"Selezione campi","dxPivotGrid-showFieldChooser":"Mostra selezione campi","dxPivotGrid-expandAll":"Espandi tutto","dxPivotGrid-collapseAll":"Comprimi tutto","dxPivotGrid-sortColumnBySummary":"Ordina \\"{0}\\" per questa colonna","dxPivotGrid-sortRowBySummary":"Ordina \\"{0}\\" per questa riga","dxPivotGrid-removeAllSorting":"Rimuovi ordinamenti","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Campi riga","dxPivotGrid-columnFields":"Campi colonna","dxPivotGrid-dataFields":"Campi dati","dxPivotGrid-filterFields":"Campi filtro","dxPivotGrid-allFields":"Tutti i campi","dxPivotGrid-columnFieldArea":"Trascina qui i campi colonna","dxPivotGrid-dataFieldArea":"Trascina qui i campi dati","dxPivotGrid-rowFieldArea":"Trascina qui i campi riga","dxPivotGrid-filterFieldArea":"Trascina qui i campi filtro","dxScheduler-editorLabelTitle":"Oggetto","dxScheduler-editorLabelStartDate":"Data inizio","dxScheduler-editorLabelEndDate":"Data fine","dxScheduler-editorLabelDescription":"Descrizione","dxScheduler-editorLabelRecurrence":"Ripeti","dxScheduler-openAppointment":"Apri appuntamento","dxScheduler-recurrenceNever":"Mai","dxScheduler-recurrenceDaily":"Giornaliero","dxScheduler-recurrenceWeekly":"Settimanale","dxScheduler-recurrenceMonthly":"Mensile","dxScheduler-recurrenceYearly":"Annuale","dxScheduler-recurrenceRepeatEvery":"Ogni","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"Termina ripetizione","dxScheduler-recurrenceAfter":"Dopo","dxScheduler-recurrenceOn":"Di","dxScheduler-recurrenceRepeatDaily":"gi
1orno(i)","dxScheduler-recurrenceRepeatWeekly":"settimana(e)","dxScheduler-recurrenceRepeatMonthly":"mese(i)","dxScheduler-recurrenceRepeatYearly":"anno(i)","dxScheduler-switcherDay":"Giorno","dxScheduler-switcherWeek":"Settimana","dxScheduler-switcherWorkWeek":"Settimana lavorativa","dxScheduler-switcherMonth":"Mese","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Cronologia giornaliera","dxScheduler-switcherTimelineWeek":"Cronologia settimanale","dxScheduler-switcherTimelineWorkWeek":"Cronologia settimana lavorativa","dxScheduler-switcherTimelineMonth":"Cronologia mensile","dxScheduler-recurrenceRepeatOnDate":"alla data","dxScheduler-recurrenceRepeatCount":"occorrenza(e)","dxScheduler-allDay":"Tutto il giorno","dxScheduler-confirmRecurrenceEditMessage":"Vuoi modificare solo questo appuntamento o tutte le sue ricorrenze?","dxScheduler-confirmRecurrenceDeleteMessage":"Vuoi eliminare solo questo appuntamento o tutte le sue ricorrenze?","dxScheduler-confirmRecurrenceEditSeries":"Modifica serie","dxScheduler-confirmRecurrenceDeleteSeries":"Elimina serie","dxScheduler-confirmRecurrenceEditOccurrence":"Modifica appuntamento","dxScheduler-confirmRecurrenceDeleteOccurrence":"Elimina appuntamento","dxScheduler-noTimezoneTitle":"Nessun fuso orario","dxScheduler-moreAppointments":"{0} ancora","dxCalendar-todayButtonText":"Oggi","dxCalendar-ariaWidgetName":"Calendario","dxColorView-ariaRed":"Rosso","dxColorView-ariaGreen":"Verde","dxColorView-ariaBlue":"Blu","dxColorView-ariaAlpha":"Trasparenza","dxColorView-ariaHex":"Colore","dxTagBox-selected":"{0} selezionati","dxTagBox-allSelected":"Tutti selezionati ({0})","dxTagBox-moreSelected":"{0} ancora","vizExport-printingButtonText":"Stampa","vizExport-titleMenuText":"Esportazione/Stampa","vizExport-exportButtonText":"{0} file","dxFilterBuilder-and":"E","dxFilterBuilder-or":"O","dxFilterBuilder-notAnd":"E non","dxFilterBuilder-notOr":"O non","dxFilterBuilder-addCondition":"Aggiungi condizione","dxFilterBuilder-addGroup":"Aggiungi gruppo","dxFilterBuilder-enterValueText":"<inserire un valore>","dxFilterBuilder-filterOperationEquals":"Uguale a","dxFilterBuilder-filterOperationNotEquals":"Diverso da","dxFilterBuilder-filterOperationLess":"Minore di","dxFilterBuilder-filterOperationLessOrEquals":"Minore o uguale a","dxFilterBuilder-filterOperationGreater":"Maggi
1ore di","dxFilterBuilder-filterOperationGreaterOrEquals":"Maggiore o uguale a","dxFilterBuilder-filterOperationStartsWith":"Inizia con","dxFilterBuilder-filterOperationContains":"Contiene","dxFilterBuilder-filterOperationNotContains":"Non contiene","dxFilterBuilder-filterOperationEndsWith":"Termina con","dxFilterBuilder-filterOperationIsBlank":"\xc8 vuoto","dxFilterBuilder-filterOperationIsNotBlank":"Non \xe8 vuoto","dxFilterBuilder-filterOperationBetween":"Compreso","dxFilterBuilder-filterOperationAnyOf":"Include","dxFilterBuilder-filterOperationNoneOf":"Non include","dxHtmlEditor-dialogColorCaption":"Cambia il colore del testo","dxHtmlEditor-dialogBackgroundCaption":"Cambia il colore di sfondo","dxHtmlEditor-dialogLinkCaption":"Aggiungi link","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Testo","dxHtmlEditor-dialogLinkTargetField":"Apri link in una nuova finestra","dxHtmlEditor-dialogImageCaption":"Agguingi Immagine","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Testo alternativo","dxHtmlEditor-dialogImageWidthField":"Larghezza (px)","dxHtmlEditor-dialogImageHeightField":"Altezza (px)","dxHtmlEditor-heading":"Intestazione","dxHtmlEditor-normalText":"Testo Normale","dxFileManager-newDirectoryName":"TODO","dxFileManager-rootDirectoryName":"TODO","dxFileManager-errorNoAccess":"TODO","dxFileManager-errorDirectoryExistsFormat":"TODO","dxFileManager-errorFileExistsFormat":"TODO","dxFileManager-errorFileNotFoundFormat":"TODO","dxFileManager-errorDirectoryNotFoundFormat":"TODO","dxFileManager-errorWrongFileExtension":"TODO","dxFileManager-errorMaxFileSizeExceeded":"TODO","dxFileManager-errorInvalidSymbols":"TODO","dxFileManager-errorDefault":"TODO","dxDiagram-categoryGeneral":"TODO","dxDiagram-categoryFlowchart":"TODO","dxDiagram-categoryOrgChart":"TODO","dxDiagram-categoryContainers":"TODO","dxDiagram-categoryCustom":"TODO","dxDiagram-commandProperties":"TODO","dxDiagram-commandExport":"TODO","dxDiagram-commandExportToSvg":"TODO","dxDiagram-commandExportToPng":"TODO","dxDiagram-commandExportToJpg":"TODO","dxDiagram-commandUndo":"TODO","dxDiagram-commandRedo":"TODO","dxDiagram-commandFontName":"TODO","dxDiagram-commandFontSize":"TODO","dxDiagram-commandBold":"TODO","dxDiagram-commandItalic":"TODO","dxDiagram-commandUnderline":"TODO","dxDiagram-commandTextColor":"TODO","dxDiagram-commandLineColor":"TODO","dxDiagram-commandFillColor":"TODO","dxDiagram-commandAlignLeft":"TODO","dxDiagram-commandAlignCenter":"TODO","dxDiagram-commandAlignRight":"TODO","dxDiagram-commandConnectorLineType":"TODO","dxDiagram-commandConnectorLineStraight":"TODO","dxDiagram-commandConnectorLineOrthogonal":"TODO","dxDiagram-commandConnectorLineStart":"TODO","dxDiagram-commandConnectorLineEnd":"TODO","dxDiagram-commandConnectorLineNone":"TODO","dxDiagram-commandConnectorLineArrow":"TODO","dxDiagram-commandAutoLayout":"TODO","dxDiagram-commandAutoLayoutTree":"TODO","dxDiagram-commandAutoLayoutLayered":"TODO","dxDiagram-commandAutoLayoutHorizontal":"TODO","dxDiagram-commandAutoLayoutVertical":"TODO","dxDiagram-commandFullscreen":"TODO","dxDiagram-commandUnits":"TODO","dxDiagram-commandPageSize":"TODO","dxDiagram-commandPageOrientation":"TODO","dxDiagram-commandPageOrientationLandscape":"TODO","dxDiagram-commandPageOrientationPortrait":"TODO","dxDiagram-commandPageColor":"TODO","dxDiagram-commandShowGrid":"TODO","dxDiagram-commandSnapToGrid":"TODO","dxDiagram-commandGridSize":"TODO","dxDiagram-commandZoomLevel":"TODO","dxDiagram-commandAutoZoom":"TODO","dxDiagram-commandSimpleView":"TODO","dxDiagram-commandCut":"TODO","dxDiagram-commandCopy":"TODO","dxDiagram-commandPaste":"TODO","dxDiagram-commandSelectAll":"TODO","dxDiagram-commandDelete":"TODO","dxDiagram-commandBringToFront":"TODO","dxDiagram-commandSendToBack":"TODO","dxDiagram-commandLock":"TODO","dxDiagram-commandUnlock":"TODO","dxDiagram-commandInsertShapeImage":"TODO","dxDiagram-commandEditShapeImage":"TODO","dxDiagram-commandDeleteShapeImage":"TODO","dxDiagram-unitIn":"TODO","dxDiagram-unitCm":"TODO","dxDiagram-unitPx":"TODO","dxDiagram-dialogButtonOK":"TODO","dxDiagram-dialogButtonCancel":"TODO","dxDiagram-dialogInsertShapeImageTitle":"TODO","dxDiagram-dialogEditShapeImageTitle":"TODO","dxDiagram-dialogEditShapeImageSelectButton":"TODO","dxDiagram-dialogEditShapeImageLabelText":"TODO"}}')},m6TM:function(e,t,n){"use strict";var r=n("xZEH").camelize,i=n("heGP"),o=n("ti0F"),s=n("tUd6"),a=["","Webkit","Moz","O","Ms"],l={"":"",Webkit:"-webkit-",Moz:"-moz-",O:"-o-",ms:"-ms-"},u=i((function(){return s.createElement("dx").style})),c=["fillOpacity","columnCount","flexGrow","flexShrink","fontWeight","lineHeight","o
1pacity","zIndex","zoom"],d=function(e,t,n){if(e){n=o.isNumeric(n)?n+="px":n;for(var r=0;r<e.length;++r)e[r].style[t]=n}};t.styleProp=function(e){if(e in u())return e;var t=e;e=e.charAt(0).toUpperCase()+e.substr(1);for(var n=1;n<a.length;n++){var r=a[n].toLowerCase()+e;if(r in u())return r}return t},t.stylePropPrefix=function(e){return function(e,t){var n;e=r(e,!0);for(var i=0,o=a.length;i<o;i++){var s=a[i],l=s+e;if(void 0===(n=t(r(l),s))&&(n=t(l,s)),void 0!==n)break}return n||""}(e,(function(e,t){if(e in u())return l[t]}))},t.normalizeStyleProp=function(e,t){return o.isNumeric(t)&&-1===c.indexOf(e)&&(t+="px"),t},t.setWidth=function(e,t){d(e,"width",t)},t.setHeight=function(e,t){d(e,"height",t)}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("KqfI");function i(...e){return o(e)}function o(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:r.a}},mrSG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var 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 i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},nYR2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q"),i=n("quSY");function o(e){return t=>t.lift(new s(e))}class s{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends r.a{constructor(e,t){super(e),this.add(new i.a(t))}}},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},oA89:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("XNiG"),i=function(){function e(e){this.sanitizer=e,this.pdfUrl=new r.a}return e.prototype.getPdfUrl=function(){return this.pdfUrl.asObservable()},e.prototype.sendPdfUrl=function(e){this.pdfUrl.next(this.sanitizer.bypassSecurityTrustResourceUrl(e))},e}()},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pMnS:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("8Y7J"),i=n("iInd"),o=r.rb({encapsulation:2,styles:[],data:{}});function s(e){return r.Qb(0,[(e()(),r.tb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.sb(1,212992,null,0,i.r,[i.b,r.N,r.j,[8,null],r.h],null,null)],(function(e,t){e(t,1,0)}),null)}function a(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"ng-component",[],null,
1null,null,s,o)),r.sb(1,49152,null,0,i.F,[],null,null)],null,null)}var l=r.pb("ng-component",i.F,a,{},{},[])},pxpQ:function(e,t,n){"use strict";var r=n("7o/Q"),i=n("EY2u"),o=n("LRne"),s=n("z6cu");let a=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();function l(e,t=0){return function(n){return n.lift(new u(e,t))}}n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c}));class u{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new c(e,this.scheduler,this.delay))}}class c extends r.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(c.dispatch,this.delay,new d(e,this.destination)))}
1_next(e){this.scheduleMessage(a.createNext(e))}_error(e){this.scheduleMessage(a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(a.createComplete()),this.unsubscribe()}}class d{constructor(e,t){this.notification=e,this.destination=t}}},qOm7:function(e,t,n){"use strict";e.exports={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","az-Arab":"root","az-Cyrl":"root","blt-Latn":"root","bm-Nkoo":"root","bs-Cyrl":"root","byn-Latn":"root","cu-Glag":"root","dje-Arab":"root","dyo-Arab":"root","en-Dsrt":"root","en-Shaw":"root","ff-Adlm":"root","ff-Arab":"root","ha-Arab":"root","iu-Latn":"root","kk-Arab":"root","ku-Arab":"root","ky-Arab":"root","ky-Latn":"root","ml-Arab":"root","mn-Mong":"root","ms-Arab":"root","pa-Arab":"root","sd-Deva":"root","sd-Khoj":"root","sd-Sind":"root","shi-Latn":"root","so-Arab":"root","sr-Latn":"root","sw-Arab":"root","tg-Arab":"root","ug-Cyrl":"root","uz-Arab":"root","uz-Cyrl":"root","vai-Latn":"root","wo-Arab":"root","yo-Arab":"root","yue-Hans":"root","zh-Hant":"root","zh-Hant-MO":"zh-Hant-HK"}},qfBg:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("IheW"),i=n("XNiG"),o=n("lJxs"),s=n("AytR"),a=n("AwRG"),l=(n("cygB"),n("Dn3B"),n("hjlO")),u=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class c{constructor(e,t,n,r){this._httpService=e,this._backendService=t,this._cacheService=n,this.filterService=r,this.selectedCostCenterChanged=new i.a,this.userGroupsWithIniChanged=new i.a,this.usersWithIniChanged=new i.a}get selectedCostCenter(){let e=new l.b("","");if(this._selectedCostCenter)e=this._selectedCostCenter;else{if(!this.defaultCostCenter)throw new Error("Keine Kostenstelle gew\xe4hlt");e.ANZEIGE=this.costCenterName,e.BUCHEN=this.defaultCostCenter}return e}set selectedCostCenter(e){this._selectedCostCenter=e,this.selectedCostCenterChanged.next(this._selectedCostCenter)}get userName(){return this.checkForCachedUser(),this._userModel.NAME}get pwC(){return this.checkForCachedUser(),this._userModel.PW_C}get defaultCostCenter(){return this.checkForCachedUser(),this._userModel.DEFAULT_KST_KONST}get costCenterName(){return this.checkForCachedUser(),this._userModel.KST_NAME}get eMailAdress(){return this.checkForCachedUser(),this._userModel.EMAIL}get faxAdress(){return this.checkForCachedUser(),this._userModel.FAX}get language(){return this.checkForCachedUser(),this._userModel.LANGUAGE_COLUMN}get userId(){return this.checkForCachedUser(),this._userModel.MA_NR}get konstantenId(){return this.checkForCachedUser(),this._userModel.MA_NR.toString()}get sign(){return this.checkForCachedUser(),this._userModel.UNTERSCHRIFT.trim()}get telephoneNumber(){return this.checkForCachedUser(),this._userModel.TELEFON}get login(){return this.checkForCachedUser(),this._userModel.LOGIN}get copyOfUserModel(){return Object.assign({},this._userModel)}systemAfterLogin(){return u(this,void 0,void 0,(function*(){const e=new a.f({VERSION:s.a.version},this._backendService.getShsSettings("systemAfterLogin"));
1return this._httpService.post(e).toPromise()}))}setUserModel(e){this._userModel=e,this._cacheService.registerKeyPrefix(this._userModel.MA_NR.toString()),this._cacheService.setCachedItem(this._userModel,"user")}updateUser(e){return u(this,void 0,void 0,(function*(){e.DEFAULT_KST_KONST=this._userModel.DEFAULT_KST_KONST,e.KST_NAME=this._userModel.KST_NAME,e.MA_NR=this._userModel.MA_NR;const t=new r.i({encoder:new a.g}).set("NAME",e.NAME).set("EMAIL",e.EMAIL).set("FAX",e.FAX).set("TELEFON",e.TELEFON).set("NEWPASSWORD",e.NEWPASSWORD).set("LANGUAGE_COLUMN",e.LANGUAGE_COLUMN.toString()),n=new a.d(t,this._backendService.getShsSettings("UpdateUser")),i=yield this._httpService.get(n).pipe(Object(o.a)(e=>e.STATUS)).toPromise();return this._userModel=e,this._cacheService.setCachedItem(this._userModel,"user"),i}))}setSelectedCostCenter(e){this.filterService.getCostcenters().subscribe(t=>{const n=t.findIndex(t=>t.BUCHEN.trim()===e.trim());if(-1===n)throw Error("Kostenstelle die \xfcber OCI \xfcbertragen wurde, konnte nicht gefunden werden. "+e);this.selectedCostCenter=t[n]})}updateSelectedCostCenter(e){const t=new a.f({KST:e,KONSTANTEN_ID:this.konstantenId},this._backendService.getShsSettings("SpeicherAktuelleKostenstelle"));return this._httpService.post(t).toPromise()}clearUser(){this._userModel=null,this._selectedCostCenter=null}getUserGroupsForIni(e,t){let n=new r.i({encoder:new a.g});for(const r in e)e.hasOwnProperty(r)&&(n=n.set(r,e[r]));t&&(n=n.set("GRIDNAME",t));const i=new a.d(n,this._backendService.getShsSettings("HoleBenutzerGruppen"));this._httpService.get(i).subscribe(e=>this.userGroupsWithIniChanged.next(e))}getUsersForIni(e,t){let n=new r.i({encoder:new a.g});for(const r in e)e.hasOwnProperty(r)&&(n=n.set(r,e[r]));t&&(n=n.set("GRIDNAME",t));const i=new a.d(n,this._backendService.getShsSettings("HoleBenutzer"));this._httpService.get(i).subscribe(e=>this.usersWithIniChanged.next(e))}checkForCachedUser(){let e=!1;return this._userModel||(this._userModel=this._cacheService.getCachedItem("user"),this._userModel&&(e=!0)),e}}},qgXg:function(e,t,n){"use strict";var r=n("3N8a");class i extends r.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class s extends o.a{}n.d(t,"a",(function(){return a}));const a=new s(i)},quSY:function(e,t,n){"use strict";var r=n("DH7j"),i=n("XoHu"),o=n("n6bG");function s(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}s.prototype=Object.create(Error.prototype);const a=s;n.d(t,"a",(function(){return l}));let l=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(o.a)(s))try{s.call(this)}catch(c){t=c instanceof a?u(c.errors):[c]}if(Object(r.a)(l)){let e=-1,n=l.length;for(;++e<n;){const n=l[e];if(Object(i.a)(n))try{n.unsubscribe()}catch(c){t=t||[],c instanceof a?t=t.concat(u(c.errors)):t.push(c)}}}if(t)throw new a(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function u(e){return e.reduce((e,t)=>
1e.concat(t instanceof a?t.errors:t),[])}},rwtW:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.prototype.encodeKey=function(e){return encodeURIComponent(e)},e.prototype.encodeValue=function(e){return null==e&&(e=""),encodeURIComponent(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}()},s5Cb:function(e){e.exports=JSON.parse('{"fr":{"Yes":"Oui","No":"Non","Cancel":"Annuler","Clear":"Vider","Done":"Termin\xe9","Loading":"Chargement...","Select":"S\xe9lection...","Search":"Recherche","Back":"Retour","OK":"OK","dxCollectionWidget-noDataText":"Pas de donn\xe9es","dxDropDownEditor-selectLabel":"S\xe9lection","validation-required":"Obligatoire","validation-required-formatted":"{0} est obligatoire","validation-numeric":"La valeur doit \xeatre un nombre","validation-numeric-formatted":"{0} doit \xeatre un nombre","validation-range":"La valeur ne se trouve pas dans la plage valide","validation-range-formatted":"{0} ne se trouve pas dans la plage valide","validation-stringLength":"La longueur de la valeur est incorrecte","validation-stringLength-formatted":"La longueur de {0} est incorrecte","validation-custom":"La valeur est invalide","validation-custom-formatted":"{0} est invalide","validation-async":"La valeur est invalide","validation-async-formatted":"{0} est invalide","validation-compare":"La valeur est inappropri\xe9e","validation-compare-formatted":"{0} est inappropri\xe9e","validation-pattern":"La valeur ne correspond pas au mod\xe8le","validation-pattern-formatted":"{0} ne correspond pas au mod\xe8le","validation-email":"L\'adresse email est invalide","validation-email-formatted":"{0} est invalide","validation-mask":"La valeur est invalide","dxLookup-searchPlaceholder":"Nombre minimum de caract\xe8res: {0}","dxList-pullingDownText":"Tirez vers le bas pour actualiser...","dxList-pulledDownText":"Relacher pour actualiser...","dxList-refreshingText":"Actualisation...","dxList-pageLoadingText":"Chargement...","dxList-nextButtonText":"Suivant","dxList-selectAll":"S\xe9lectionner tout","dxListEditDecorator-delete":"Supprimer","dxListEditDecorator-more":"Plus","dxScrollView-pullingDownText":"Tirez vers le bas pour actualiser...","dxScrollView-pulledDownText":"Relacher pour actualiser...","dxScrollView-refreshingText":"Mise \xe0 jour...","dxScrollView-reachBottomText":"Chargement...","dxDateBox-simulatedDataPickerTitleTime":"Choisissez l\'heure","dxDateBox-simulatedDataPickerTitleDate":"Choisissez la date","dxDateBox-simulatedDataPickerTitleDateTime":"Choisissez la date et l\'heure","dxDateBox-validation-datetime":"La valeur doit \xeatre une date ou une heure.","dxFileUploader-selectFile":"Choisissez un fichier","dxFileUploader-dropFile":"Enlever fichier","dxFileUploader-bytes":"Bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"T\xe9l\xe9charger","dxFileUploader-uploaded":"T\xe9l\xe9charg\xe9","dxFileUploader-readyToUpload":"Pr\xeat \xe0 t\xe9l\xe9charger","dxFileUploader-uploadFailedMessage":"\xc9chec du t\xe9l\xe9chargement","dxFileUploader-invalidFileExtension":"Type de fichier non autoris\xe9","dxFileUploader-invalidMaxFileSize":"Fichier trop volumineux","dxFileUploader-invalidMinFileSize":"Fichier trop petit","dxRangeSlider-ariaFrom":"De {0}","dxRangeSlider-ariaTill":"\xe0 {0}","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"optionnel","dxForm-requiredMessage":"{0} est obligatoire","dxNumberBox-invalidValueMessage":"La valeur doit \xeatre un nombre","dxNumberBox-noDataText":"Pas de donn\xe9es","dxDataGrid-columnChooserTitle":"Choisir les colonnes","dxDataGrid-columnChooserEmptyText":"Faites glisser une colonne ici pour la cacher","dxDataGrid-groupContinuesMessage":"Suite \xe0 la page suivante","dxDataGrid-groupContinuedMessage":"Suite de la page pr\xe9c\xe9dente","dxDataGrid-groupHeaderText":"Grouper avec cette colonne","dxDataGrid-ungroupHeaderText":"D\xe9grouper","dxDataGrid-ungroupAllText":"D\xe9grouper tout","dxDataGrid-editingEditRow":"Editer","dxDataGrid-editingSaveRowChanges":"Sauvegarder","dxDataGrid-editingCancelRowChanges":"Annuler","dxDataGrid-editingDeleteRow":"Supprimer","dxDataGrid-editingUndeleteRow":"Restaurer","dxDataGrid-editingConfirmDeleteMessage":"\xcates-vous s\xfbr de vouloir supprimer cet \xe9l\xe9ment ?","dxDataGrid-validationCancelChanges":"Annuler les changements","dxDataGrid-groupPanelEmptyText":"Faites glisser une colonne ICI pour grouper par celle-ci","dxDataGrid-noDataText":"Pas de donn\xe9es","dxDataGrid-searchPanelPlaceholder":"Recherche...","dxDataGrid-filterRowShowAllText":"(tous)","dxDataGrid-filterRowResetOperationText":"R\xe9initialiser","dxDataGrid-filterRowOperationEquals":"Egale","dxDataGrid-filterRowOperationNotEquals":"Diff\xe9rent de","dxDataGrid-filterRowOperationLess":"Plus petit","dxDataGrid-filterRowOperationLessOrEquals":"Plus petit ou \xe9gal","dxDataGrid-filterRowOperationGreater":"Plus grand","dxDataGrid-filterRowOperationGreaterOrEquals":"Plus grand ou \xe9gal","dxDataGrid-filterRowOperationStartsWith":"Commence par","dxDataGrid-filterRowOperationContains":"Contient","dxDataGrid-filterRowOperationNotContains":"Ne contient pas","dxDataGrid-filterRowOperationEndsWith":"Termine par","dxDataGrid-filterRowOperationBetween":"Entre","dxDataGrid-filterRowOperationBetweenStartText":"D\xe9but","dxDataGrid-filterRowOperationBetweenEndText":"Fin","dxDataGrid-applyFilterText":"Filtrer le texte","dxDataGrid-trueText":"Vrai","dxDataGrid-falseText":"Faux","dxDataGrid-sortingAscendingText":"Tri croissant","dxDataGrid-sortingDescendingText":"Tri d\xe9croissant","dxDataGrid-sortingClearText":"Supprimer le tri","dxDataGrid-editingSaveAllChanges":"Sauvegarder les changements","dxDataGrid-editingCancelAllChanges":"Ignorer les changements","dxDataGrid-editingAddRow":"Ajouter ligne","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Minimum de {1} est {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Maximum de {1} est {0}","dxDataGrid-summaryAvg":"Moy: {0}","dxDataGrid-summaryAvgOtherColumn":"Moyenne de {1} est {0}","dxDataGrid-summarySum":"Somme: {0}","dxDataGrid-summarySumOtherColumn":"Somme de {1} est {0}","dxDataGrid-summaryCount":"Total: {0}","dxDataGrid-columnFixingFix":"Fixer","dxDataGrid-columnFixingUnfix":"D\xe9tacher","dxDataGrid-columnFixingLeftPosition":"A gauche","dxDataGrid-columnFixingRightPosition":"A droite","dxDataGrid-exportTo":"Exporter","dxDataGrid-exportToExcel":"Exporter sous Excel","dxDataGrid-exporting":"Exporter...","dxDataGrid-excelFormat":"Fichier Excel","dxDataGrid-selectedRows":"Lignes s\xe9lectionn\xe9es","dxDataGrid-exportSelectedRows":"Exporter les lignes s\xe9lectionn\xe9es","dxDataGrid-exportAll":"Exporter tout","dxDataGrid-headerFilterEmptyValue":"(aucune valeur)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Annuler","dxDataGrid-ariaColumn":"Colonne","dxDataGrid-ariaValue":"Valeur","dxDataGrid-ariaFilterCell":"Filtre de cellule","dxDataGrid-ariaCollapse":"R\xe9duire","dxDataGrid-ariaExpand":"Etendre","dxDataGrid-ariaDataGrid":"Grille","dxDataGrid-ariaSearchInGrid":"Rechercher dans la grille","dxDataGrid-ariaSelectAll":"S\xe9lectionner tout","dxDataGrid-ariaSelectRow":"S\xe9lectionner ligne","dxDataGrid-filterBuilderPopupTitle":"Cr\xe9ation de filtre","dxDataGrid-filterPanelCreateFilter":"Cr\xe9er un filtre","dxDataGrid-filterPanelClearFilter":"Supprimer","dxDataGrid-filterPanelFilterEnabledHint":"Activer le filtre","dxTreeList-ariaTreeList":"Liste arborescente","dxTreeList-editingAddRowToNode":"Ajouter","dxPager-infoText":"Page {0} sur {1} ({2} \xe9lements)","dxPager-pagesCountText":"sur","dxPivotGrid-grandTotal":"Total g\xe9n\xe9ral","dxPivotGrid-total":"Total {0}","dxPivotGrid-fieldChooserTitle":"Liste des champs","dxPivotGrid-showFieldChooser":"Afficher la liste des champs","dxPivotGrid-expandAll":"Etendre tout","dxPivotGrid-collapseAll":"R\xe9duire tout","dxPivotGrid-sortColumnBySummary":"Trier par colonne \\"{0}\\"","dxPivotGrid-sortRowBySummary":"Trier par ligne \\"{0}\\"","dxPivotGrid-removeAllSorting":"Supprimer les tris","dxPivotGrid-dataNotAvailable":"ND","dxPivotGrid-rowFields":"Lignes","dxPivotGrid-columnFields":"Colonnes","dxPivotGrid-dataFields":"Valeurs","dxPivotGrid-filterFields":"Filtres","dxPivotGrid-allFields":"Tous les champs","dxPivotGrid-columnFieldArea":"D\xe9poser les champs de colonne ici","dxPivotGrid-dataFieldArea":"D\xe9poser les champs de donn\xe9es ici","dxPivotGrid-rowFieldArea":"D\xe9poser les champs de ligne ici","dxPivotGrid-filterFieldArea":"D\xe9poser les champs de filtre ici","dxScheduler-editorLabelTitle":"Titre","dxScheduler-editorLabelStartDate":"Date de d\xe9but","dxScheduler-editorLabelEndDate":"Date de fin","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"R\xe9currence","dxScheduler-openAppointment":"D\xe9finir un \xe9venement","dxScheduler-recurrenceNever":"Jamais","dxScheduler-recurrenceDaily":"Quotidien","dxScheduler-recurrenceWeekly":"Hebdomadaire","dxScheduler-recurrenceMonthly":"Mensuel","dxScheduler-recurrenceYearly":"Annuel","dxScheduler-recurrenceRepeatEvery":"Chaque","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"Jusqu\'\xe0","dxScheduler-recurrenceAfter":"Apr\xe8s","dxScheduler-recurrenceOn":"Le","dxScheduler-recurrenceRepeatDaily":"Jour(s)","dxScheduler-recurrenceRepeatWeekly":"Semaine(s)","dxScheduler-recurrenceRepeatMonthly":"Mois(s)","dxScheduler-recurrenceRepeatYearly":"Ann\xe9e(s)","dxScheduler-switcherDay":"Jour","dxScheduler-switcherWeek":"Semaine","dxScheduler-switcherWorkWee
1k":"Semaine de travail","dxScheduler-switcherMonth":"Mois","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Jour","dxScheduler-switcherTimelineWeek":"Timeline Semaine","dxScheduler-switcherTimelineWorkWeek":"Timeline Semaine de travail","dxScheduler-switcherTimelineMonth":"Timeline Mois","dxScheduler-recurrenceRepeatOnDate":"le","dxScheduler-recurrenceRepeatCount":"occurence(s)","dxScheduler-allDay":"Temps plein","dxScheduler-confirmRecurrenceEditMessage":"Voulez-vous \xe9diter cet \xe9venement ou la s\xe9rie enti\xe8re ?","dxScheduler-confirmRecurrenceDeleteMessage":"Voulez-vous supprimer cet \xe9venement ou la s\xe9rie enti\xe8re ?","dxScheduler-confirmRecurrenceEditSeries":"Editer serie","dxScheduler-confirmRecurrenceDeleteSeries":"Supprimer serie","dxScheduler-confirmRecurrenceEditOccurrence":"Editer \xe9venement","dxScheduler-confirmRecurrenceDeleteOccurrence":"Supprimer \xe9venement","dxScheduler-noTimezoneTitle":"Pas de fuseau horaire","dxScheduler-moreAppointments":"{0} en plus","dxCalendar-todayButtonText":"Aujourd\'hui","dxCalendar-ariaWidgetName":"Calendrier","dxColorView-ariaRed":"Rouge","dxColorView-ariaGreen":"Vert","dxColorView-ariaBlue":"Bleu","dxColorView-ariaAlpha":"Transparence","dxColorView-ariaHex":"Code couleur","dxTagBox-selected":"{0} selectionn\xe9s","dxTagBox-allSelected":"Tous s\xe9lectionn\xe9s ({0})","dxTagBox-moreSelected":"{0} en plus","vizExport-printingButtonText":"Imprimer","vizExport-titleMenuText":"Exporter/Imprimer","vizExport-exportButtonText":"{0} fichier","dxFilterBuilder-and":"Et","dxFilterBuilder-or":"Ou","dxFilterBuilder-notAnd":"Non Et","dxFilterBuilder-notOr":"Non Ou","dxFilterBuilder-addCondition":"Ajouter une condition","dxFilterBuilder-addGroup":"Ajouter un groupe","dxFilterBuilder-enterValueText":"<entrer une valeur>","dxFilterBuilder-filterOperationEquals":"Est \xe9gal \xe0","dxFilterBuilder-filterOperationNotEquals":"Est diff\xe9rent de","dxFilterBuilder-filterOperationLess":"Est plus petit que","dxFilterBuilder-filterOperationLessOrEquals":"Est plus petit ou \xe9gal \xe0","dxFilterBuilder-filterOperationGreater":"Est plus grand que","dxFilterBuilder-filterOperationGreaterOrEquals":"Est plus grand ou \xe9gal \xe0","dxFilterBuilder-filterOperationStartsWith":"Commence par","dxFilterBuilder-filterOperationContains":"Contient","dxFilterBuilder-filterOperationNotContains":"Ne contient pas","dxFilterBuilder-filterOperationEndsWith":"Finit par","dxFilterBuilder-filterOperationIsBlank":"Est vide","dxFilterBuilder-filterOperationIsNotBlank":"N\'est pas vide","dxFilterBuilder-filterOperationBetween":"Entre","dxFilterBuilder-filterOperationAnyOf":"Est parmi","dxFilterBuilder-filterOperationNoneOf":"N\'est pas parmi","dxHtmlEditor-dialogColorCaption":"Changer couleur police","dxHtmlEditor-dialogBackgroundCaption":"Changer couleur fond","dxHtmlEditor-dialogLinkCaption":"Ajouter un hyperlien","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Texte","dxHtmlEditor-dialogLinkTargetField":"Ouvrir le lien dans une nouvelle fen\xeatre","dxHtmlEditor-dialogImageCaption":"Ajouter image","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Texte alternatif","dxHtmlEditor-dialogImageWidthField":"Largeur (px)","dxHtmlEditor-dialogImageHeightField":"Hauteur (px)","dxHtmlEditor-heading":"Titre","dxHtmlEditor-normalText":"Texte normal","dxFileManager-newDirectoryName":"R\xe9pertoire sans titre","dxFileManager-rootDirectoryName":"Fichiers","dxFileManager-errorNoAccess":"Acc\xe8s interdit. L\'op\xe9ration ne peut se terminer.","dxFileManager-errorDirectoryExistsFormat":"R\xe9pertoire \'{0}\' existe d\xe9j\xe0.","dxFileManager-errorFileExistsFormat":"Fichier \'{0}\' existe d\xe9j\xe0.","dxFileManager-errorFileNotFoundFormat":"Impossible de trouver le fichier \'{0}.\'","dxFileManager-errorDirectoryNotFoundFormat":"Impossible de trouver le r\xe9pertoire \'{0}.\'","dxFileManager-errorWrongFileExtension":"Extension de fichier non permise.","dxFileManager-errorMaxFileSizeExceeded":"Taille du fichier d\xe9passe la limite maximum permise.","dxFileManager-errorInvalidSymbols":"Ce nom contient des caract\xe8res invalides.","dxFileManager-errorDefault":"Erreur non sp\xe9cifi\xe9.","dxFileManager-commandCreate":"Nouveau r\xe9pertoire","dxFileManager-commandRename":"Renommer","dxFileManager-commandMove":"D\xe9placer","dxFileManager-commandCopy":"Copier","dxFileManager-commandDelete":"Supprimer","dxFileManager-commandDownload":"T\xe9l\xe9charger","dxFileManager-commandUpload":"T\xe9l\xe9verser des fichiers","dxFileManager-commandRefresh":"Rafra\xeechir","dxFileManager-commandThumbnails":"Mode vignette","dxFileManager-commandDetails":"Mode d\xe9tails","dxFileManager-commandClear":"Vider s\xe9lection","dxFileManager-dialogDirectoryChooserTitle":"S\xe9lectionner r\xe9pertoire de destination","dxFileManager-dialogDirectoryChooserButtonText":"S\xe9lectionner","dxFileManager-dialogRenameItemTitle":"Renommer","dxFileManager-dialogRenameItemButtonText":"Sauvegarder","dxFileManager-dialogCreateDirectoryTitle":"Nouveau r\xe9pertoire","dxFileManager-dialogCreateDirectoryButtonText":"Cr\xe9er","dxFileManager-editingCreateSingleItemProcessingMessage":"Cr\xe9er un r\xe9pertoire dans {0}","dxFileManager-editingCreateSingleItemSuccessMessage":"R\xe9pertoire cr\xe9\xe9 dans {0}","dxFileManager-editingCreateSingleItemErrorMessage":"R\xe9pertoire n\'est pas cr\xe9\xe9","dxFileManager-editingCreateCommonErrorMessage":"R\xe9pertoire n\'est pas cr\xe9\xe9","dxFileManager-editingRenameSingleItemProcessingMessage":"Renommer un item dans {0}","dxFileManager-editingRenameSingleItemSuccessMessage":"Item renomm\xe9 dans {0}","dxFileManager-editingRenameSingleItemErrorMessage":"Item non renomm\xe9","dxFileManager-editingRenameCommonErrorMessage":"Item non renomm\xe9","dxFileManager-editingDeleteSingleItemProcessingMessage":"Supprimer un item de {0}","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"Supprimer {0} items de {1}","dxFileManager-editingDeleteSingleItemSuccessMessage":"Item supprim\xe9 de {0}","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"{0} items supprim\xe9s de {1}","dxFileManager-editingDeleteSingleItemErrorMessage":"Item non suprim\xe9","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} items non supprim\xe9s","dxFileManager-editingDeleteCommonErrorMessage":"Des items ne sont pas supprim\xe9s","dxFileManager-editingMoveSingleItemProcessingMessage":"En train de d\xe9placer un item vers {0}","dxFileManager-editingMoveMultipleItemsProcessingMessage":"En train de d\xe9placer {0} items vers {1}","dxFileManager-editingMoveSingleItemSuccessMessage":"Item d\xe9plac\xe9 vers {0}","dxFileManager-editingMoveMultipleItemsSuccessMessage":"{0} items d\xe9plac\xe9s vers {1}","dxFileManager-editingMoveSingleItemErrorMessage":"Item non d\xe9plac\xe9","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} items non d\xe9plac\xe9s","dxFileManager-editingMoveCommonErrorMessage":"Des items ne sont pas d\xe9plac\xe9s","dxFileManager-editingCopySingleItemProcessingMessage":"En train de copier un item vers {0}","dxFileManager-editingCopyMultipleItemsProcessingMessage":"En train de copier {0} items vers {1}","dxFileManager-editingCopySingleItemSuccessMessage":"Item copi\xe9 vers {0}","dxFileManager-editingCopyMultipleItemsSuccessMessage":"{0} items copi\xe9s vers {1}","dxFileManager-editingCopySingleItemErrorMessage":"Item non copi\xe9","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} items non copi\xe9s","dxFileManager-editingCopyCommonErrorMessage":"Des items ne sont pas copi\xe9s","dxFileManager-editingUploadSingleItemProcessingMessage":"En train de t\xe9l\xe9verser un item vers {0}","dxFileManager-editingUploadMultipleItemsProcessingMessage":"En train de t\xe9l\xe9verser {0} items vers {1}","dxFileManager-editingUploadSingleItemSuccessMessage":"Item t\xe9l\xe9vers\xe9 vers {0}","dxFileManager-editingUploadMultipleItemsSuccessMessage":"{0} items t\xe9l\xe9vers\xe9s vers {1}","dxFileManager-editingUploadSingleItemErrorMessage":"Item non t\xe9l\xe9vers\xe9","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} items non t\xe9l\xe9vers\xe9s","dxFileManager-editingUploadCanceledMessage":"Annul\xe9","dxFileManager-listDetailsColumnCaptionName":"Nom","dxFileManager-listDetailsColumnCaptionDateModified":"Date modifi\xe9","dxFileManager-listDetailsColumnCaptionFileSize":"Taille de fic
1hier","dxFileManager-listThumbnailsTooltipTextSize":"Taille","dxFileManager-listThumbnailsTooltipTextDateModified":"Date modifi\xe9","dxFileManager-notificationProgressPanelTitle":"En cours","dxFileManager-notificationProgressPanelEmptyListText":"Aucune op\xe9ration","dxFileManager-notificationProgressPanelOperationCanceled":"Annul\xe9","dxDiagram-categoryGeneral":"G\xe9n\xe9ral","dxDiagram-categoryFlowchart":"Organigramme","dxDiagram-categoryOrgChart":"Structure organisationnelle","dxDiagram-categoryContainers":"Conteneurs","dxDiagram-categoryCustom":"Personnalis\xe9","dxDiagram-commandProperties":"Propri\xe9t\xe9s","dxDiagram-commandExport":"Exporter","dxDiagram-commandExportToSvg":"Exporter en SVG","dxDiagram-commandExportToPng":"Exporter en PNG","dxDiagram-commandExportToJpg":"Exporter en JPEG","dxDiagram-commandUndo":"Annuler","dxDiagram-commandRedo":"Refaire","dxDiagram-commandFontName":"Nom de la police","dxDiagram-commandFontSize":"Taille de la police","dxDiagram-commandBold":"Gras","dxDiagram-commandItalic":"Italique","dxDiagram-commandUnderline":"Souligner","dxDiagram-commandTextColor":"Couleur texte","dxDiagram-commandLineColor":"Couleur ligne","dxDiagram-commandFillColor":"Couleur remplissage","dxDiagram-commandAlignLeft":"Aligner \xe0 gauche","dxDiagram-commandAlignCenter":"Centrer","dxDiagram-commandAlignRight":"Aligner \xe0 droite","dxDiagram-commandConnectorLineType":"Type de ligne de connexion","dxDiagram-commandConnectorLineStraight":"Droit","dxDiagram-commandConnectorLineOrthogonal":"Orthogonal","dxDiagram-commandConnectorLineStart":"D\xe9but de la ligne de connexion","dxDiagram-commandConnectorLineEnd":"Fin de la ligne de connexion","dxDiagram-commandConnectorLineNone":"Aucun","dxDiagram-commandConnectorLineArrow":"Fl\xe8che","dxDiagram-commandAutoLayout":"Mise en page automatique","dxDiagram-commandAutoLayoutTree":"Arbre","dxDiagram-commandAutoLayoutLayered":"Par couches","dxDiagram-commandAutoLayoutHorizontal":"Horizontal","dxDiagram-commandAutoLayoutVertical":"Vertical","dxDiagram-commandFullscreen":"Plein \xe9cran","dxDiagram-commandUnits":"Unit\xe9s","dxDiagram-commandPageSize":"Taille de la page","dxDiagram-commandPageOrientation":"Orientation de la page","dxDiagram-commandPageOrientationLandscape":"Paysage","dxDiagram-commandPageOrientationPortrait":"Portrait","dxDiagram-commandPageColor":"Couleur de la page","dxDiagram-commandShowGrid":"Afficher la grille","dxDiagram-commandSnapToGrid":"Aligner sur la grille","dxDiagram-commandGridSize":"Taille de la grille","dxDiagram-commandZoomLevel":"Niveau de zoom","dxDiagram-commandAutoZoom":"Zoom automatique","dxDiagram-commandSimpleView":"Vue simple","dxDiagram-commandCut":"Couper","dxDiagram-commandCopy":"Copier","dxDiagram-commandPaste":"Coller","dxDiagram-commandSelectAll":"Tout s\xe9lectionner","dxDiagram-commandDelete":"Supprimer","dxDiagram-commandBringToFront":"Amener au premier plan","dxDiagram-commandSendToBack":"Envoyer \xe0 l\'arri\xe8re","dxDiagram-commandLock":"Verrouiller","dxDiagram-commandUnlock":"D\xe9verrouiller","dxDiagram-commandInsertShapeImage":"Ins\xe9rer une image...","dxDiagram-commandEditShapeImage":"Changer image...","dxDiagram-commandDeleteShapeImage":"Supprimer image","dxDiagram-unitIn":"po","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Annuler","dxDiagram-dialogInsertShapeImageTitle":"Ins\xe9rer une image","dxDiagram-dialogEditShapeImageTitle":"Changer image","dxDiagram-dialogEditShapeImageSelectButton":"S\xe9lectionner une image","dxDiagram-dialogEditShapeImageLabelText":"ou d\xe9poser le fichier ici"}}')},s7LF:function(e,t,n){"use strict";n.d(t,"D",(function(){return xe})),n.d(t,"H",(function(){return me})),n.d(t,"E",(function(){return D})),n.d(t,"F",(function(){return ye})),n.d(t,"G",(function(){return H})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"p",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"r",(function(){return y})),n.d(t,"s",(function(){return b})),n.d(t,"t",(function(){return ue})),n.d(t,"u",(function(){return ge})),n.d(t,"w",(function(){return A})),n.d(t,"x",(function(){return I})),n.d(t,"i",(function(){return be})),n.d(t,"j",(function(){return Ce})),n.d(t,"l",(function(){return _e})),n.d(t,"v",(function(){return L})),n.d(t,"A",(function(){return P})),n.d(t,"B",(function(){return G})),n.d(t,"n",(function(){return Te})),n.d(t,"z",(function(){return we})),n.d(t,"g",(function(){return Oe})),n.d(t,"a",(function(){return ie})),n.d(t,"f",(function(){return ae})),n.d(t,"h",(function(){return oe})),n.d(t,"k",(function(){return se})),n.d(t,"o",(function(){return v})),n.d(t,"C",(function(){return S})),n.d(t,"m",(function(){return Ae})),n.d(t,"y",(function(){return De}));var r=n("8Y7J"),i=n("cUpR"),o=n("cp0P"),s=n("Cfvw"),a=n("lJxs");const l=new r.p("NgValueAccessor");class u{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}const c=new r.p("CompositionEventMode");class d{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(i.w)()?Object(i.w)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}class h{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class p extends h{get formDirective(){return null}get path(){return null}}function f(){throw new Error("unimplemented")}class g extends h{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return f()}get asyncValidator(){return f()}}class m{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}class y extends m{constructor(e){super(e)}}class b extends m{constructor(e){super(e)}}function _(e){return null==e||0===e.length}const v=new r.p("NgValidators"),E=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/;class S{static min(e){return t=>{if(_(t.value)||_(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(_(t.value)||_(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return _(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return _(e.value)||E.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(_(t.value))return null;const n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}static maxLength(e){return t=>{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}static pattern(e){if(!e)return S.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(_(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(C);return 0==t.length?null:function(e){return T(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(C);return 0==t.length?null:function(e){const n=function(e,t){return t.map(t=>t(e))}(e,t).map(w);return Object(o.a)(n).pipe(Object(a.a)(T))}}}function C(e){return null!=e}function w(e){const t=Object(r.Bb)(e)?Object(s.a)(e):e;if(!Object(r.Ab)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function T(e){const t=e.reduce((e,t)=>
1null!=t?Object.assign({},e,t):e,{});return 0===Object.keys(t).length?null:t}function x(e){return e.validate?t=>e.validate(t):e}function O(e){return e.validate?t=>e.validate(t):e}class A{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}class D{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}class I{constructor(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(g),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}const R='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',N='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',k='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';class M{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+R)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        ${N}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${k}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+R)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+N)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">
1\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}static disabledAttrWarning(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}static ngModelWarning(e){console.warn(`\n    It looks like you're using ngModel on the same form field as ${e}. \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"
1===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}function F(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class P{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.Cb}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=F(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}class L{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(F(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function U(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class G{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.Cb}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}class H{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(U(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(U(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function B(e,t){return[...t.path,e]}function j(e,t){e||q(t,"Cannot find control with"),t.valueAccessor||q(t,"No value accessor for form control with"),e.validator=S.compose([e.validator,t.validator]),e.asyncValidator=S.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&V(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&V(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}
1),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function V(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function W(e,t){null==e&&q(t,"Cannot find control with"),e.validator=S.compose([e.validator,t.validator]),e.asyncValidator=S.composeAsync([e.asyncValidator,t.asyncValidator])}function K(e){return q(e,"There is no FormControl instance attached to form control element with")}function q(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function z(e){return null!=e?S.compose(e.map(x)):null}function Y(e){return null!=e?S.composeAsync(e.map(O)):null}function $(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(r.Cb)(t,n.currentValue)}const Q=[u,class{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},A,P,G,I];function Z(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function J(e,t){if(!t)return null;Array.isArray(t)||q(e,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,i=void 0;return t.forEach(t=>{var o;t.constructor===d?n=t:(o=t,Q.some(e=>o.constructor===e)?(r&&q(e,"More than one built-in value accessor matches form control with"),r=t):(i&&q(e,"More than one custom value accessor matches form control with"),i=t))}),i||r||n||(q(e,"No valid value accessor for form control with"),null)}function X(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ee(e,t,n,i){Object(r.W)()&&"never"!==i&&((null!==i&&"once"!==i||t._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(M.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function te(e){const t=re(e)?e.validators:e;return Array.isArray(t)?z(t):t||null}function ne(e,t){const n=re(t)?t.asyncValidators:e;return Array.isArray(n)?Y(n):n||null}function re(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ie{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=te(e)}setAsyncValidators(e){this.asyncValidator=ne(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
1markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},e,{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign({},e,{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=w(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce((e,t)=>e instanceof se?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof ae&&e.at(t)||null,e))}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.m,this.statusChanges=new r.m}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){re(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class oe extends ie{constructor(e=null,t,n){super(te(t),ne(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateV
1alueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class se extends ie{constructor(e,t,n){super(te(t),ne(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof oe?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((n,r)=>{t=t||this.contains(r)&&e(n)}),t}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ae extends ie{constructor(e,t,n){super(te(t),ne(n,t)),this.controls=e,this._initOb
1servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof oe?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const le=(()=>Promise.resolve(null))();class ue extends p{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.m,this.form=new se({},z(e),Y(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){le.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),j(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){le.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),X(this._directives,e)})}addFormGroup(e){le.then(()=>{const t=this._findContainer(e.path),n=new se({});W(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){le.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){le.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Z(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}class ce{static modelParentException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup's partner directive "formControlName" instead.  Example:\n\n      ${R}\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  `)}static formGroupNameException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      ${N}\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ${k}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      ${N}\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ${k}`)}static ngFormWarning(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")}}const de=new r.p("NgFormSelectorWarning");class he extends p{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return B(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}
1get validator(){return z(this._validators)}get asyncValidator(){return Y(this._asyncValidators)}_checkParentType(){}}class pe extends he{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){this._parent instanceof pe||this._parent instanceof ue||ce.modelGroupParentException()}}const fe=(()=>Promise.resolve(null))();class ge extends g{constructor(e,t,n,i){super(),this.control=new oe,this._registered=!1,this.update=new r.m,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=J(this,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),$(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?B(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return z(this._rawValidators)}get asyncValidator(){return Y(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){j(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof pe)&&this._parent instanceof he?ce.formGroupNameException():this._parent instanceof pe||this._parent instanceof ue||ce.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ce.missingNameException()}_updateValue(e){fe.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;fe.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}class me{}const ye=new r.p("NgModelWithFormControlWarning");let be=(()=>{class e extends g{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.m,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=J(this,n)}set isDisabled(e){M.disabledAttrWarning()}ngOnChanges(t){this._isControlChanged(t)&&(j(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),$(t,this.viewModel)&&(ee("formControl",e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return z(this._rawValidators)}get asyncValidator(){return Y(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e._ngModelWarningSentOnce=!1,e})();class _e extends p{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.m}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return j(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}
1removeControl(e){X(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);W(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);W(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Z(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>K(t)),t.valueAccessor.registerOnTouched(()=>K(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&j(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=z(this._validators);this.form.validator=S.compose([this.form.validator,e]);const t=Y(this._asyncValidators);this.form.asyncValidator=S.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||M.missingFormException()}}class ve extends he{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){Se(this._parent)&&M.groupParentException()}}class Ee extends p{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return B(this.name,this._parent)}
1get validator(){return z(this._validators)}get asyncValidator(){return Y(this._asyncValidators)}_checkParentType(){Se(this._parent)&&M.arrayParentException()}}function Se(e){return!(e instanceof ve||e instanceof _e||e instanceof Ee)}let Ce=(()=>{class e extends g{constructor(e,t,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new r.m,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=J(this,i)}set isDisabled(e){M.disabledAttrWarning()}ngOnChanges(t){this._added||this._setUpControl(),$(t,this.viewModel)&&(ee("formControlName",e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return B(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return z(this._rawValidators)}get asyncValidator(){return Y(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof ve)&&this._parent instanceof he?M.ngModelGroupException():this._parent instanceof ve||this._parent instanceof _e||this._parent instanceof Ee||M.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e._ngModelWarningSentOnce=!1,e})();class we{get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?S.required(e):null}registerOnValidatorChange(e){this._onChange=e}}class Te{ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=S.maxLength(parseInt(this.maxlength,10))}}class xe{}class Oe{group(e,t=null){const n=this._reduceControls(e);let r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new se(n,{asyncValidators:i,updateOn:o,validators:r})}control(e,t,n){return new oe(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new ae(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof oe||e instanceof se||e instanceof ae?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}class Ae{static withConfig(e){return{ngModule:Ae,providers:[{provide:de,useValue:e.warnOnDeprecatedNgFormSelector}]}}}class De{static withConfig(e){return{ngModule:De,providers:[{provide:ye,useValue:e.warnOnNgModelWithFormControl}]}}}},sVev:function(e,t,n){"use strict";function r(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}n.d(t,"a",(function(){return i})),r.prototype=Object.create(Error.prototype);const i=r},tJvG:function(e,t,n){"use strict";var r=n("ti0F"),i=r.isPromise,o=r.isDeferred,s=n("1LL4").extend,a=n("cYys"),l=[{method:"resolve",handler:"done",state:"resolved"},{method:"reject",handler:"fail",state:"rejected"},{method:"notify",handler:"progress"}],u=function(){var e=this;this._state="pending",this._promise={},l.forEach((function(t){var n=t.method;this[n+"Callbacks"]=new a,this[n]=(function(){return this[n+"With"](this._promise,arguments)}).bind(this),this._promise[t.handler]=function(t){if(!t)return this;var r=e[n+"Callbacks"];return r.fired()?t.apply(e[n+"Context"],e[n+"Args"]):r.add((function(e,n){t.apply(e,n)}).bind(this)),this}}).bind(this)),this._promise.always=function(e){return this.done(e).fail(e)},this._promise.catch=function(e){return this.then(null,e)},this._promise.then=function(e,t){var n=new u;return["done","fail"].forEach((function(s){var a="done"===s?e:t;this[s]((function(){if(a){var e=a&&a.apply(this,arguments);o(e)?e.done(n.resolve).fail(n.reject):i(e)?e.then(n.resolve,n.reject):n.resolve.apply(this,r.isDefined(e)?[e]:arguments)}else n["done"===s?"resolve":"reject"].apply(this,arguments)}))}).bind(this)),n.promise()},this._promise.state=function(){return e._state},this._promise.promise=function(t){return t?s(t,e._promise):e._promise},this._promise.promise(this)};l.forEach((function(e){var t=e.method,n=e.state;u.prototype[t+"With"]=function(e,r){var i=this[t+"Callbacks"];return"pending"===this.state()&&(this[t+"Args"]=r,this[t+"Context"]=e,n&&(this._state=n),i.fire(e,r)),this}})),t.fromPromise=function(e,t){if(o(e))return e;if(i(e)){var n=new u;return e.then((function(){n.resolveWith.apply(n,[t].concat([[].slice.call(arguments)]))}),(function(){n.rejectWith.apply(n,[t].concat([[].slice.call(arguments)]))})),n}return(new u).resolveWith(t,[e])};var c=function(){if(1===arguments.length)return t.fromPromise(arguments[0]);for(var e=[].slice.call(arguments),n=[],r=0,i=new u,s=function(t){return function(o){n[t]=this,e[t]=arguments.length>1?[].slice.call(arguments):o,++r===e.length&&i.resolveWith(n,e)}},a=0;a<e.length;a++)o(e[a])?e[a].promise().done(s(a)).fail(i.reject):r++;return r===e.length&&i.resolveWith(n,e),i.promise()};t.setStrategy=function(e){u=e.Deferred,c=e.when},t.Deferred=function(){return new u},t.when=function(){return c.apply(this,arguments)}},tUd6:function(e,t,n){"use strict";var r,i=(r=n("eWCF"))&&r.__esModule?r:{default:r},o=n("KAnu");function s(e){return(s="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)}var a={querySelectorAll:function(e,t){return e.querySelectorAll(t)},elementMatches:function(e,t){var n=this;return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(t){var r=e.document||e.ownerDocument;if(!r)return!1;for(var i=n.querySelectorAll(r,t),o=0;o<i.length;o++)if(i[o]===e)return!0}).call(e,t)},createElement:function(e,t){return(t=t||this._document).createElement(e)},createElementNS:function(e,t,n){return(n=n||this._document).createElementNS(e,t)},createTextNode:function(e,t){return(t=t||this._document).createTextNode(e)},isNode:function(e){return"object"===s(e)&&"nodeType"in e},isElementNode:function(e){return e&&1===e.nodeType}
1,isTextNode:function(e){return e&&3===e.nodeType},isDocument:function(e){return e&&9===e.nodeType},removeElement:function(e){var t=e&&e.parentNode;t&&t.removeChild(e)},insertElement:function(e,t,n){e&&t&&e!==t&&(n?e.insertBefore(t,n):e.appendChild(t))},getAttribute:function(e,t){return e.getAttribute(t)},setAttribute:function(e,t,n){e.setAttribute(t,n)},removeAttribute:function(e,t){e.removeAttribute(t)},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e&&(e.textContent=t)},setClass:function(e,t,n){if(1===e.nodeType&&t)if(e.classList)n?e.classList.add(t):e.classList.remove(t);else{var r,i="string"==typeof e.className,o=i?e.className:this.getAttribute(e,"class")||"",s=o.split(" "),a=s.indexOf(t);n&&a<0&&(r=o?o+" "+t:t),!n&&a>=0&&(s.splice(a,1),r=s.join(" ")),void 0!==r&&(i?e.className=r:this.setAttribute(e,"class",r))}},setStyle:function(e,t,n){e.style[t]=n||""},_document:"undefined"==typeof document?void 0:document,getDocument:function(){return this._document},getActiveElement:function(){return this._document.activeElement},getBody:function(){return this._document.body},createDocumentFragment:function(){return this._document.createDocumentFragment()},getDocumentElement:function(){return this._document.documentElement},getLocation:function(){return this._document.location},getSelection:function(){return this._document.selection},getReadyState:function(){return this._document.readyState},getHead:function(){return this._document.head},hasDocumentProperty:function(e){return e in this._document},listen:function(e,t,n,r){return e&&"addEventListener"in e?(e.addEventListener(t,n,r),function(){e.removeEventListener(t,n)}):o.noop}};e.exports=(0,i.default)(a)},ti0F:function(e,t,n){"use strict";function r(e){return(r="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)}var i={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string","[object Null]":"null"},o=function(e){var t=Object.prototype.toString.call(e);return"object"===r(e)?i[t]||"object":r(e)},s=function(e){return"function"==typeof e},a=function(e){return"number"==typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))};t.isBoolean=function(e){return"boolean"==typeof e},t.isExponential=function(e){return a(e)&&-1!==e.toString().indexOf("e")},t.isDate=function(e){return"date"===o(e)},t.isDefined=function(e){return null!=e},t.isFunction=s,t.isString=function(e){return"string"==typeof e},t.isNumeric=a,t.isObject=function(e){return"object"===o(e)},t.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},t.isPlainObject=function(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e),n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&Object.toString.call(n)===Object.toString.call(Object)},t.isPrimitive=function(e){return-1===["object","array","function"].indexOf(o(e))},t.isWindow=function(e){return null!=e&&e===e.window},t.isRenderer=function(e){return!(!e.jquery&&!e.dxRenderer)},t.isPromise=function(e){return e&&s(e.then)},t.isDeferred=function(e){return e&&s(e.done)&&s(e.fail)},t.type=o},tj1A:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e){this._articleService=e,this.articles=[]}get hasItems(){return this.articles.length>0}get count(){let e=0;return this.articles.forEach(t=>e+=t.MENGE),e}get positions(){return this.articles.length}get price(){let e=0;return this.articles.forEach(t=>e+=this._articleService.getArticlePriceWithPu(t)),e}get hasMarkedArticles(){return this.articles.findIndex(e=>e.UN_MARKED)>-1}get hasOrderableItems(){return this.articles.findIndex(e=>e.UN_MARKED&&e.MENGE>0)>-1}get markedArticles(){return this.articles.filter(e=>e.UN_MARKED)}get hasInvalidArticles(){return this.articles.findIndex(e=>2===e.S_LOESCHEN)>-1}get hasMarkedAndInvalidArticles(){return this.articles.findIndex(e=>2===e.S_LOESCHEN&&e.UN_MARKED)>-1}get hasInvalidQuantity(){return this.articles.findIndex(e=>e.MENGE<1&&e.UN_MARKED)>-1}get deliveryAddressForMarkedArticles(){return this._deliveryAddressForMarkedArticles}set deliveryAddressForMarkedArticles(e){this._deliveryAddressForMarkedArticles=e,this._deliveryAddressForMarkedArticles&&this.markedArticles.forEac
1h(t=>{t.LIEFERADRESSE=e.MATCHCODE})}deleteAllMarkedArticles(){this.articles=this.articles.filter(e=>e.MENGE<=0||!e.UN_MARKED)}clearShoppingCart(){this.articles.length=0}updateSelectedArticlesWithDeliveryAddress(){this._deliveryAddressForMarkedArticles&&this.articles.forEach(e=>{e.UN_MARKED&&!e.LIEFERADRESSE?e.LIEFERADRESSE=this.deliveryAddressForMarkedArticles.MATCHCODE:e.UN_MARKED||(e.LIEFERADRESSE=null)})}}},vkUy:function(e,t,n){"use strict";e.exports=function(e,t){if(t){var n=e;if("string"==typeof e){n="";for(var r=0;r<e.length;r++)"$"!==e[r]&&(n+="\\"),n+=e[r]}for(var i={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':"&quot;","\\\xa4":n},o=t.split(";"),s=0;s<o.length;s++)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[s]=o[s].replace(new RegExp(a,"g"),i[a]));return 2===o.length?o[0]+"_);"+o[1]:o[0]}}},vkgz:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q"),i=n("KqfI"),o=n("n6bG");function s(e,t,n){return function(r){return r.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends r.a{constructor(e,t,n,r){super(e),this._tapNext=i.a,this._tapError=i.a,this._tapComplete=i.a,this._tapError=n||i.a,this._tapComplete=r||i.a,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||i.a,this._tapError=t.error||i.a,this._tapComplete=t.complete||i.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},w1tV:function(e,t,n){"use strict";var r=n("XNiG"),i=n("HDdC"),o=n("7o/Q"),s=n("quSY");function a(){return function(e){return e.lift(new l(e))}}class l{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new u(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class u extends o.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const c=class extends i.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new s.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e}refCount(){return a()(this)}}.prototype,d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:c._subscribe},_isComplete:{value:c._isComplete,writable:!0},getSubject:{value:c.getSubject},connect:{value:c.connect},refCount:{value:c.refCount}};class h extends r.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function p(){return new r.a}function f(){return e=>{return a()((t=p,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,d);return r.source=e,r.subjectFactory=n,r})(e));var t}}n.d(t,"a",(function(){return f}))},wFGo:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("ID9R"),i=(n("AhhV"),n("rwtW")),o=n("IheW"),s=function(){function e(e){this._httpService=e}return e.prototype.sendTicket=function(e,t){var n=new o.i({encoder:new i.a}).set("NAME",e.NAME).set("TELEFON",e.TELEFON).set("EMAIL",e.EMAIL).set("MODUL",e.MODUL).set("NUMBER",e.NUMBER).set("SUBJECT",e.SUBJECT).set("TEXT",e.TEXT),s=new r.a(n,t);return this._httpService.get(s)},e}()},wPKE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("mrSG"),i=function(e){function t(t,n,r){var i=e.call(this,n,r)||this;return i._body=t,i}return Object(r.a)(t,e),Object.defineProperty(t.prototype,"body",{get:function(){return this._body},set:function(e){this._body=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){var e=this._url;return this._url.startsWith(":")&&(e=this._config.client.concat("/query/list/").concat(this._url)),e},set:function(e){this._url=e},enumerable:!0,configurable:!0}),t}(n("XJMZ").a)},xJJj:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("UwXl"),i=function(){function e(e){this.httpService=e}return Object.defineProperty(e.prototype,"apiUrl",{get:function(){return this.config.apiUrl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"client",{get:function(){return this.config.client},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"docUrl",{get:function(){return this.config.docUrl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resetPasswordOptions",{get:function(){if(this.config.optionals)return this.config.optionals.resetPassword;throw new Error("Keine optionalen Parameter in der cfg.json")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eMailOptions",{get:function(){if(this.config.optionals)return this.config.optionals.email;throw new Error("Keine optionalen Parameter in der cfg.json")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"oAuthOptions",{get:function(){if(this.config.optionals)return this.config.optionals.oAuth},enumerable:!0,configurable:!0}),e.prototype.loadConfig=function(e){return t=this,void 0,i=function(){var t,n;return function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
1function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.httpService.get(e).toPromise()];case 1:return t=i.sent(),this.config=new r.a(t.apiUrl,t.client,t.docUrl,t.optionals),this.config.apiUrl.endsWith("/")||(this.config.apiUrl+="/"),[3,3];case 2:return n=i.sent(),console.error("Config konnte nicht geladen werden"),console.error(n),[3,3];case 3:return[2]}}
1))},new((n=void 0)||(n=Promise))((function(e,r){function o(e){try{a(i.next(e))}catch(t){r(t)}}function s(e){try{a(i.throw(e))}catch(t){r(t)}}function a(t){t.done?e(t.value):new n((function(e){e(t.value)})).then(o,s)}a((i=i.apply(t,[])).next())}));var t,n,i},e}()},xZEH:function(e,t,n){"use strict";var r=n("zl3R").map,i=function(e){return null==e?"":String(e)},o=function(e){return i(e).charAt(0).toUpperCase()+e.substr(1)},s=function(e){return i(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},a=function(e){return r(s(e),(function(e){return e.toLowerCase()})).join("-")},l=["0","1","2","3","4","5","6","7","8","9"];t.dasherize=a,t.camelize=function(e,t){return r(s(e),(function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=o(e)),e})).join("")},t.humanize=function(e){return o(a(e).replace(/-/g," "))},t.titleize=function(e){return r(s(e),(function(e){return o(e.toLowerCase())})).join(" ")},t.underscore=function(e){return a(e).replace(/-/g,"_")},t.captionize=function(e){var t,n,r=[],i=!1,o=!1;for(t=0;t<e.length;t++)o=(n=e.charAt(t))===n.toUpperCase()&&"-"!==n&&")"!==n&&"/"!==n||n in l,"_"===n||"."===n?(n=" ",o=!0):0===t?(n=n.toUpperCase(),o=!0):!i&&o&&r.length>0&&r.push(" "),r.push(n),i=o;return r.join("")}},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e=null){return t=>t.lift(new o(e))}class o{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new s(e,this.defaultValue))}}class s extends r.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),s=n("lJxs");function a(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(s.a)(e=>Object(i.a)(e)?l(...e):l(e))):new r.a(r=>{!function e(t,n,r,i,o){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,r,o),s=()=>e.removeEventListener(n,r,o)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,r),s=()=>e.off(n,r)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,r),s=()=>e.removeListener(n,r)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,a=t.length;s<a;s++)e(t[s],n,r,i,o)}i.add(s)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)})}},"xj/R":function(e,t,n){"use strict";function r(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function i(e){return"string"==typeof e}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e){return e&&e.getTime&&!isNaN(e.getTime())}function a(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function h(e){return void 0===e}function p(e){const t=+e;let n=0;return 0!==t&&isFinite(t)&&(n=r(t)),n}n.d(t,"a",(function(){return Wt})),n.d(t,"b",(function(){return Je})),n.d(t,"c",(function(){return Kt})),n.d(t,"d",(function(){return Se})),n.d(t,"e",(function(){return Qt})),n.d(t,"f",(function(){return Et})),n.d(t,"g",(function(){return Zt})),n.d(t,"h",(function(){return D})),n.d(t,"i",(function(){return k})),n.d(t,"j",(function(){return N})),n.d(t,"k",(function(){return Xe})),n.d(t,"l",(function(){return R})),n.d(t,"m",(function(){return Dt})),n.d(t,"n",(function(){return u})),n.d(t,"o",(function(){return It})),n.d(t,"p",(function(){return o})),n.d(t,"q",(function(){return s})),n.d(t,"r",(function(){return Rt})),n.d(t,"s",(function(){return M})),n.d(t,"t",(function(){return Nt})),n.d(t,"u",(function(){return L})),n.d(t,"v",(function(){return F})),n.d(t,"w",(function(){return P})),n.d(t,"x",(function(){return Jt})),n.d(t,"y",(function(){return Ot})),n.d(t,"z",(function(){return me})),n.d(t,"A",(function(){return ge})),n.d(t,"B",(function(){return Ee}));const f={},g={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function m(e,t){const n=e.toLowerCase();let r=e;n in g&&(r=g[n]),f[n]=f[n+"s"]=f[t]=r}function y(e){return i(e)?f[e]||f[e.toLowerCase()]:void 0}
1function b(e,t,n){const r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}let _={},v={};const E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function S(e,t,n,r){e&&(v[e]=r),t&&(v[t[0]]=function(){return b(r.apply(null,arguments),t[1],t[2])}),n&&(v[n]=function(t,n){return n.locale.ordinal(r.apply(null,arguments),e)})}function C(e,t,n){const r=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(r.getUTCFullYear())&&r.setUTCFullYear(e),r}function w(e,t=0,n=1,r=0,i=0,o=0,s=0){const a=new Date(e,t,n,r,i,o,s);return e<100&&e>=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function T(e,t=!1){return t?e.getUTCHours():e.getHours()}function x(e,t=!1){return t?e.getUTCMinutes():e.getMinutes()}function O(e,t=!1){return t?e.getUTCSeconds():e.getSeconds()}function A(e,t=!1){return t?e.getUTCMilliseconds():e.getMilliseconds()}function D(e,t=!1){return t?e.getUTCDay():e.getDay()}function I(e,t=!1){return t?e.getUTCDate():e.getDate()}function R(e,t=!1){return t?e.getUTCMonth():e.getMonth()}function N(e,t=!1){return t?e.getUTCFullYear():e.getFullYear()}function k(e){return w(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds())}function M(e,t){return e.getDay()===t}function F(e,t){return!(!e||!t)&&P(e,t)&&R(e)===R(t)}function P(e,t){return!(!e||!t)&&N(e)===N(t)}function L(e,t){return!(!e||!t)&&P(e,t)&&F(e,t)&&I(e)===I(t)}const U=/\d/,G=/\d\d/,H=/\d{3}/,B=/\d{4}/,j=/[+-]?\d{6}/,V=/\d\d?/,W=/\d\d\d\d?/,K=/\d\d\d\d\d\d?/,q=/\d{1,3}/,z=/\d{1,4}/,Y=/[+-]?\d{1,6}/,$=/\d+/,Q=/[+-]?\d+/,Z=/Z|[+-]\d\d(?::?\d\d)?/gi,J=/[+-]?\d+(\.\d{1,3})?/,X=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ee={};function te(e,t,n){ee[e]=a(t)?t:function(e,r){return e&&n?n:t}}function ne(e,t){return c(ee,e)?ee[e](!1,t):new RegExp(re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(e,t,n,r,i)=>t||n||r||i)))}function re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const ie={};function oe(e,t){const n=i(e)?[e]:e;let r=t;if(l(t)&&(r=function(e,n,r){return n[t]=p(e),r}),u(n)&&a(r)){let e;for(e=0;e<n.length;e++)ie[n[e]]=r}}function se(e,t){oe(e,(function(e,n,r,i){return r._w=r._w||{},t(e,r._w,r,i)}))}function ae(e,t,n){return null!=t&&c(ie,e)&&ie[e](t,n._a,n,e),n}function le(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function ue(e,t){return N(e,t.isUTC).toString()}function ce(e){return p(e)+(p(e)>68?1900:2e3)}function de(e){return he(e)?366:365}function he(e){return e%4==0&&e%100!=0||e%400==0}function pe(e,t){if(isNaN(e)||isNaN(t))return NaN;const n=(t%12+12)%12;return 1===n?he(e+(t-n)/12)?29:28:31-n%7%2}const fe={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function ge(e,t){const n=Object.assign({},fe,t),r=e.getFullYear()+(n.year||0),i=e.getMonth()+(n.month||0);let o=e.getDate()+(n.day||0);return n.month&&!n.day&&(o=Math.min(o,pe(r,i))),w(r,i,o,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function me(e,t){return w(ye(e.getFullYear(),t.year),ye(e.getMonth(),t.month),ye(e.getDate(),t.day),ye(e.getHours(),t.hour),ye(e.getMinutes(),t.minute),ye(e.getSeconds(),t.seconds),ye(e.getMilliseconds(),t.milliseconds))}function ye(e,t){return l(t)?t:e}function be(e,t,n){const r=Math.min(I(e),pe(N(e),t));return n?e.setUTCMonth(t,r):e.setMonth(t,r),e}function _e(e,t,n){return n?e.setUTCDate(t):e.setDate(t),e}function ve(e){return new Date(e.getTime())}function Ee(e,t,n){const r=ve(e);switch(t){case"year":be(r,0,n);case"quarter":case"month":_e(r,1,n);case"week":case"isoWeek":case"day":case"date":!function(e,t,n){n?e.setUTCHours(0):e.setHours(0)}(r,0,n);case"hours":!function(e,t,n){n?e.setUTCMinutes(0):e.setMinutes(0)}(r,0,n);case"minutes":!function(e,t,n){n?e.setUTCSeconds(0):e.setSeconds(0)}(r,0,n);case"seconds":!function(e,t,n){n?e.setUTCMilliseconds(0):e.setMilliseconds(0)}(r,0,n)}return"week"===t&&function(e,t,n={}){Ut(e,0-jt(e,n.locale,n.isUTC),"day")}(r,0,{isUTC:n}),"isoWeek"===t&&function(e,t,n={}){const r=function(e,t=Xe()){return i(e)?t.weekdaysParse(e)%7||7:l(e)&&isNaN(e)?null:e}(1,n.locale);Ht(e,Bt(e)%7?r:r-7)}(r),"quarter"===t&&be(r,3*Math.floor(R(r,n)/3),n),r}function Se(e,t,n){let r=t;return"date"===r&&(r="day"),function(e,t,n,r){return Gt(e,Ft(1,"milliseconds"),-1,r)}(Ut(Ee(e,r,n),1,"isoWeek"===r?"week":r,n),0,0,n)}function Ce(e,t){const n=+Ee(e,"day",t),r=+Ee(e,"year",t);return Math.round((n-r)/864e5)+1}function we(e,t,n){const r=t-n+7;return-(C(e,0,r).getUTCDay()-t+7)%7+r-1}function Te(e,t,n,r){const i=we(N(e,r),t,n),o=Math.floor((Ce(e,r)-i-1)/7)+1;let s,a;return o<1?(a=N(e,r)-1,s=o+xe(a,t,n)):o>xe(N(e,r),t,n)?(s=o-xe(N(e,r),t,n),a=N(e,r)+1):(a=N(e,r),s=o),{week:s,year:a}}function xe(e,t,n){const r=we(e,t,n),i=we(e+1,t,n);return(de(e)-r+i)/7}const Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ne="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ke={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"},Me=X,Fe=X;class Pe{constructor(e){e&&this.set(e)}set(e){let t;for(t in e){if(!e.hasOwnProperty(t))continue;const n=e[t];this[a(n)?t:"_"+t]=n}this._config=e}calendar(e,t,n){const r=this._calendar[e]||this._calendar.sameElse;return a(r)?r.call(null,t,n):r}longDateFormat(e){const t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}get invalidDate(){return this._invalidDate}set invalidDate(e){this._invalidDate=e}ordinal(e,t){return this._ordinal.replace("%d",e.toString(10))}preparse(e){return e}postformat(e){return e}relativeTime(e,t,n,r){const i=this._relativeTime[n];return a(i)?i(e,t,n,r):i.replace(/%d/i,e.toString(10))}pastFuture(e,t){const n=this._relativeTime[e>0?"future":"past"];return a(n)?n(t):n.replace(/%s/i,t)}months(e,t,n=!1){if(!e)return u(this._months)?this._months:this._months.standalone;if(u(this._months))return this._months[R(e,n)];const r=(this._months.isFormat||Oe).test(t)?"format":"standalone";return this._months[r][R(e,n)]}monthsShort(e,t,n=!1){if(!e)return u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(u(this._monthsShort))return this._monthsShort[R(e,n)];const r=Oe.test(t)?"format":"standalone";return this._monthsShort[r][R(e,n)]}monthsParse(e,t,n){let r,i,o;if(this._monthsParseExact)return this.handleMonthStrictParse(e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=new Date(Date.UTC(2e3,o)),n&&!this._longMonthsParse[o]){const e=this.months(r,"",!0).replace(".",""),t=this.monthsShort(r,"",!0).replace(".","");this._longMonthsParse[o]=new RegExp(`^${e}$`,"i"),this._shortMonthsParse[o]=new RegExp(`^${t}$`,"i")}if(n||this._monthsParse[o]||(i=`^${this.months(r,"",!0)}|^${this.monthsShort(r,"",!0)}`,this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}}monthsRegex(e){return this._monthsParseExact?(c(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(e){return this._monthsParseExact?(c(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}week(e,t){return Te(e,this._week.dow,this._week.doy,t).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(e,t,n){if(!e)return u(this._weekdays)?this._weekdays:this._weekdays.standalone;if(u(this._weekdays))return this._weekdays[D(e,n)];const r=this._weekdays.isFormat.test(t)?"format":"standalone";return this._weekdays[r][D(e,n)]}weekdaysMin(e,t,n){return e?this._weekdaysMin[D(e,n)]:this._weekdaysMin}weekdaysShort(e,t,n){return e?this._weekdaysShort[D(e,n)]:this._weekdaysShort}weekdaysParse(e,t,n){let r,i;if(this._weekdaysParseExact)return this.handleWeekStrictParse(e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){const o=Ht(new Date(Date.UTC(2e3,1)),r,null,!0);if(n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(`^${this.weekdays(o,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[r]=new RegExp(`^${this.weekdaysShort(o,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[r]=new RegExp(`^${this.weekdaysMin(o,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[r]||(i=`^${this.weekdays(o,"",!0)}|^${this.weekdaysShort(o,"",!0)}|^${this.weekdaysMin(o,"",!0)}`,this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),!(u(this._fullWeekdaysParse)&&u(this._shortWeekdaysParse)&&u(this._minWeekdaysParse)&&u(this._weekdaysParse)))return;if(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}}weekdaysRegex(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=X),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=X),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=X),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(e){return"p"===e.toLowerCase().charAt(0)}meridiem(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}formatLongDate(e){this._longDateFormat=this._longDateFormat?this._longDateFormat:ke;const t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,e=>e.slice(1)),this._longDateFormat[e])}handleMonthStrictParse(e,t,n){const r=e.toLocaleLowerCase();let i,o,s;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=new Date(2e3,i),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?(o=this._shortMonthsParse.indexOf(r),-1!==o?o:null):(o=this._longMonthsParse.indexOf(r),-1!==o?o:null):"MMM"===t?(o=this._shortMonthsParse.indexOf(r),-1!==o?o:(o=this._longMonthsParse.indexOf(r),-1!==o?o:null)):(o=this._longMonthsParse.indexOf(r),-1!==o?o:(o=this._shortMonthsParse.indexOf(r),-1!==o?o:null))}handleWeekStrictParse(e,t,n){let r;const i=e.toLocaleLowerCase();if(!this._weekdaysParse){let e;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e){const t=Ht(new Date(Date.UTC(2e3,1)),e,null,!0);this._minWeekdaysParse[e]=this.weekdaysMin(t).toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(t).toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(t,"").toLocaleLowerCase()}}if(u(this._weekdaysParse)&&u(this._shortWeekdaysParse)&&u(this._minWeekdaysParse))return n?"dddd"===t?(r=this._weekdaysParse.indexOf(i),-1!==r?r:null):"ddd"===t?(r=this._shortWeekdaysParse.indexOf(i),-1!==r?r:null):(r=this._minWeekdaysParse.indexOf(i),-1!==r?r:null):"dddd"===t?(r=this._weekdaysParse.indexOf(i),-1!==r?r:(r=this._shortWeekdaysParse.indexOf(i),-1!==r?r:(r=this._minWeekdaysParse.indexOf(i),-1!==r?r:null))):"ddd"===t?(r=this._shortWeekdaysParse.indexOf(i),-1!==r?r:(r=this._weekdaysParse.indexOf(i),-1!==r?r:(r=this._minWeekdaysParse.indexOf(i),-1!==r?r:null))):(r=this._minWeekdaysParse.indexOf(i),-1!==r?r:(r=this._weekdaysParse.indexOf(i),-1!==r?r:(r=this._shortWeekdaysParse.indexOf(i),-1!==r?r:null)))}computeMonthsParse(){const e=[],t=[],n=[];let r,i;for(i=0;i<12;i++)r=new Date(2e3,i),e.push(this.monthsShort(r,"")),t.push(this.months(r,"")),n.push(this.months(r,"")),n.push(this.monthsShort(r,""));for(e.sort(Le),t.sort(Le),n.sort(Le),i=0;i<12;i++)e[i]=re(e[i]),t[i]=re(t[i]);for(i=0;i<24;i++)n[i]=re(n[i]);this._monthsRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}computeWeekdaysParse(){const e=[],t=[],n=[],r=[];let i;for(i=0;i<7;i++){const o=Ht(new Date(Date.UTC(2e3,1)),i,null,!0),s=this.weekdaysMin(o),a=this.weekdaysShort(o),l=this.weekdays(o);e.push(s),t.push(a),n.push(l),r.push(s),r.push(a),r.push(l)}for(e.sort(Le),t.sort(Le),n.sort(Le),r.sort(Le),i=0;i<7;i++)t[i]=re(t[i]),n[i]=re(n[i]),r[i]=re(r[i]);this._weekdaysRegex=new RegExp(`^(${r.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}}function Le(e,t){return t.length-e.length}const Ue={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:ke,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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ae,monthsShort:De,week:{dow:0,doy:6},weekdays:Ie,weekdaysMin:Ne,weekdaysShort:Re,meridiemParse:/[ap]\.?m?\.?/i};function Ge(e,t,n){const r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length);let o,s=0;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&s++;return s+i}function He(e,t){S(null,[e,e.length,!1],null,t)}function Be(e,t){return Ve(e,t.locale).toString()}function je(e){return We(e).toString()}function Ve(e,t=Xe(),n){return Te(e,t.firstDayOfWeek(),t.firstDayOfYear(),n).year}function We(e,t){return Te(e,1,4,t).year}function Ke(e,t){S(e,null,null,(function(e,n){let r=function(e,t={}
1){return t._isUTC?t._offset||0:function(e){return 15*-Math.round(e.getTimezoneOffset()/15)}(e)}(e,{_isUTC:n.isUTC,_offset:n.offset}),i="+";return r<0&&(r=-r,i="-"),i+b(~~(r/60),2)+t+b(~~r%60,2)}))}const qe=/([\+\-]|\d\d)/gi,ze={},Ye={};let $e;function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Ze(e,t){let n;return e&&(h(t)?n=Xe(e):i(e)&&(n=Je(e,t)),n&&($e=n)),$e&&$e._abbr}function Je(e,t){if(null===t)return delete ze[e],$e=Xe("en"),null;if(!t)return;let n=Ue;if(t.abbr=e,null!=t.parentLocale){if(null==ze[t.parentLocale])return Ye[t.parentLocale]||(Ye[t.parentLocale]=[]),Ye[t.parentLocale].push({name:e,config:t}),null;n=ze[t.parentLocale]._config}return ze[e]=new Pe(function(e,t){const n=Object.assign({},e);for(const r in t)c(t,r)&&(d(e[r])&&d(t[r])?(n[r]={},Object.assign(n[r],e[r]),Object.assign(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(const r in e)c(e,r)&&!c(t,r)&&d(e[r])&&(n[r]=Object.assign({},n[r]));return n}(n,t)),Ye[e]&&Ye[e].forEach((function(e){Je(e.name,e.config)})),Ze(e),ze[e]}function Xe(e){return ze.en||(Ze("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(e){const t=e%10;return e+(1===p(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),S("w",["ww",2,!1],"wo",(function(e,t){return function(e,t=Xe(),n){return t.week(e,void 0)}(e,t.locale).toString(10)})),S("W",["WW",2,!1],"Wo",(function(e){return function(e,t){return Te(e,1,4,void 0).week}(e).toString(10)})),m("week","w"),m("isoWeek","W"),te("w",V),te("ww",V,G),te("W",V),te("WW",V,G),se(["w","ww","W","WW"],(function(e,t,n,r){return t[r.substr(0,1)]=p(e),n})),S(null,["gg",2,!1],null,(function(e,t){return(Ve(e,t.locale)%100).toString()})),S(null,["GG",2,!1],null,(function(e){return(We(e)%100).toString()})),He("gggg",Be),He("ggggg",Be),He("GGGG",je),He("GGGGG",je),m("weekYear","gg"),m("isoWeekYear","GG"),te("G",Q),te("g",Q),te("GG",V,G),te("gg",V,G),te("GGGG",z,B),te("gggg",z,B),te("GGGGG",Y,j),te("ggggg",Y,j),se(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){return t[r.substr(0,2)]=p(e),n})),se(["gg","GG"],(function(e,t,n,r){return t[r]=ce(e),n})),S("Y",null,null,(function(e,t){const n=N(e,t.isUTC);return n<=9999?n.toString(10):"+"+n})),S(null,["YY",2,!1],null,(function(e,t){return(N(e,t.isUTC)%100).toString(10)})),S(null,["YYYY",4,!1],null,ue),S(null,["YYYYY",5,!1],null,ue),S(null,["YYYYYY",6,!0],null,ue),m("year","y"),te("Y",Q),te("YY",V,G),te("YYYY",z,B),te("YYYYY",Y,j),te("YYYYYY",Y,j),oe(["YYYYY","YYYYYY"],0),oe("YYYY",(function(e,t,n){return t[0]=2===e.length?ce(e):p(e),n})),oe("YY",(function(e,t,n){return t[0]=ce(e),n})),oe("Y",(function(e,t,n){return t[0]=parseInt(e,10),n})),S("z",null,null,(function(e,t){return t.isUTC?"UTC":""})),S("zz",null,null,(function(e,t){return t.isUTC?"Coordinated Universal Time":""})),S("X",null,null,(function(e){return function(e){return Math.floor(e.valueOf()/1e3)}(e).toString(10)})),S("x",null,null,(function(e){return e.valueOf().toString(10)})),te("x",Q),te("X",J),oe("X",(function(e,t,n){return n._d=new Date(1e3*parseFloat(e)),n})),oe("x",(function(e,t,n){return n._d=new Date(p(e)),n})),S("s",["ss",2,!1],null,(function(e,t){return O(e,t.isUTC).toString(10)})),m("second","s"),te("s",V),te("ss",V,G),oe(["s","ss"],5),S("Q",null,"Qo",(function(e,t){return function(e,t=!1){return Math.ceil((R(e,t)+1)/3)}(e,t.isUTC).toString(10)})),m("quarter","Q"),te("Q",U),oe("Q",(function(e,t,n){return t[1]=3*(p(e)-1),n})),Ke("Z",":"),Ke("ZZ",""),te("Z",Z),te("ZZ",Z),oe(["Z","ZZ"],(function(e,t,n){return n._useUTC=!0,n._tzm=function(e,t){const n=(t||"").match(e);if(null===n)return null;const r=n[n.length-1].match(qe)||["-","0","0"],i=60*parseInt(r[1],10)+p(r[2]);return 0===i?0:"+"===r[0]?i:-i}(Z,e),n})),S("M",["MM",2,!1],"Mo",(function(e,t){return(R(e,t.isUTC)+1).toString(10)})),S("MMM",null,null,(function(e,t){return t.locale.monthsShort(e,t.format,t.isUTC)})),S("MMMM",null,null,(function(e,t){return t.locale.months(e,t.format,t.isUTC)})),m("month","M"),te("M",V),te("MM",V,G),te("MMM",(function(e,t){return t.monthsShortRegex(e)})),te("MMMM",(function(e,t){return t.monthsRegex(e)})),oe(["M","MM"],(function(e,t,n){return t[1]=p(e)-1,n})),oe(["MMM","MMMM"],(function(e,t,n,r){const i=n._locale.monthsParse(e,r,n._str
1ict);return null!=i?t[1]=i:le(n).invalidMonth=!!e,n})),S("m",["mm",2,!1],null,(function(e,t){return x(e,t.isUTC).toString(10)})),m("minute","m"),te("m",V),te("mm",V,G),oe(["m","mm"],4),function(){let e;for(S("S",null,null,(function(e,t){return(~~(A(e,t.isUTC)/100)).toString(10)})),S(null,["SS",2,!1],null,(function(e,t){return(~~(A(e,t.isUTC)/10)).toString(10)})),S(null,["SSS",3,!1],null,(function(e,t){return A(e,t.isUTC).toString(10)})),S(null,["SSSS",4,!1],null,(function(e,t){return(10*A(e,t.isUTC)).toString(10)})),S(null,["SSSSS",5,!1],null,(function(e,t){return(100*A(e,t.isUTC)).toString(10)})),S(null,["SSSSSS",6,!1],null,(function(e,t){return(1e3*A(e,t.isUTC)).toString(10)})),S(null,["SSSSSSS",7,!1],null,(function(e,t){return(1e4*A(e,t.isUTC)).toString(10)})),S(null,["SSSSSSSS",8,!1],null,(function(e,t){return(1e5*A(e,t.isUTC)).toString(10)})),S(null,["SSSSSSSSS",9,!1],null,(function(e,t){return(1e6*A(e,t.isUTC)).toString(10)})),m("millisecond","ms"),te("S",q,U),te("SS",q,G),te("SSS",q,H),e="SSSS";e.length<=9;e+="S")te(e,$);function t(e,t,n){return t[6]=p(1e3*parseFloat("0."+e)),n}for(e="S";e.length<=9;e+="S")oe(e,t)}(),function(){function e(e,t){return T(e,t)%12||12}function t(e,t){S(e,null,null,(function(e,n){return n.locale.meridiem(T(e,n.isUTC),x(e,n.isUTC),t)}))}function n(e,t){return t._meridiemParse}S("H",["HH",2,!1],null,(function(e,t){return T(e,t.isUTC).toString(10)})),S("h",["hh",2,!1],null,(function(t,n){return e(t,n.isUTC).toString(10)})),S("k",["kk",2,!1],null,(function(e,t){return function(e,t){return T(e,t)||24}(e,t.isUTC).toString(10)})),S("hmm",null,null,(function(t,n){return`${e(t,n.isUTC)}${b(x(t,n.isUTC),2)}`})),S("hmmss",null,null,(function(t,n){return`${e(t,n.isUTC)}${b(x(t,n.isUTC),2)}${b(O(t,n.isUTC),2)}`})),S("Hmm",null,null,(function(e,t){return`${T(e,t.isUTC)}${b(x(e,t.isUTC),2)}`})),S("Hmmss",null,null,(function(e,t){return`${T(e,t.isUTC)}${b(x(e,t.isUTC),2)}${b(O(e,t.isUTC),2)}`})),t("a",!0),t("A",!1),m("hour","h"),te("a",n),te("A",n),te("H",V),te("h",V),te("k",V),te("HH",V,G),te("hh",V,G),te("kk",V,G),te("hmm",W),te("hmmss",K),te("Hmm",W),te("Hmmss",K),oe(["H","HH"],3),oe(["k","kk"],(function(e,t,n){const r=p(e);return t[3]=24===r?0:r,n})),oe(["a","A"],(function(e,t,n){return n._isPm=n._locale.isPM(e),n._meridiem=e,n})),oe(["h","hh"],(function(e,t,n){return t[3]=p(e),le(n).bigHour=!0,n})),oe("hmm",(function(e,t,n){const r=e.length-2;return t[3]=p(e.substr(0,r)),t[4]=p(e.substr(r)),le(n).bigHour=!0,n})),oe("hmmss",(function(e,t,n){const r=e.length-4,i=e.length-2;return t[3]=p(e.substr(0,r)),t[4]=p(e.substr(r,2)),t[5]=p(e.substr(i)),le(n).bigHour=!0,n})),oe("Hmm",(function(e,t,n){const r=e.length-2;return t[3]=p(e.substr(0,r)),t[4]=p(e.substr(r)),n})),oe("Hmmss",(function(e,t,n){const r=e.length-4,i=e.length-2;return t[3]=p(e.substr(0,r)),t[4]=p(e.substr(r,2)),t[5]=p(e.substr(i)),n}))}(),S("DDD",["DDDD",3,!1],"DDDo",(function(e){return Ce(e).toString(10)})),m("dayOfYear","DDD"),te("DDD",q),te("DDDD",H),oe(["DDD","DDDD"],(function(e,t,n){return n._dayOfYear=p(e),n})),S("d",null,"do",(function(e,t){return D(e,t.isUTC).toString(10)})),S("dd",null,null,(function(e,t){return t.locale.weekdaysMin(e,t.format,t.isUTC)})),S("ddd",null,null,(function(e,t){return t.locale.weekdaysShort(e,t.format,t.isUTC)})),S("dddd",null,null,(function(e,t){return t.locale.weekdays(e,t.format,t.isUTC)})),S("e",null,null,(function(e,t){return jt(e,t.locale,t.isUTC).toString(10)})),S("E",null,null,(function(e,t){return function(e,t){return D(e,t)||7}(e,t.isUTC).toString(10)})),m("day","d"),m("weekday","e"),m("isoWeekday","E"),te("d",V),te("e",V),te("E",V),te("dd",(function(e,t){return t.weekdaysMinRegex(e)})),te("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),te("dddd",(function(e,t){return t.weekdaysRegex(e)})),se(["dd","ddd","dddd"],(function(e,t,n,r){const i=n._locale.weekdaysParse(e,r,n._strict);return null!=i?t.d=i:le(n).invalidWeekday=!!e,n})),se(["d","e","E"],(function(e,t,n,r){return t[r]=p(e),n})),S("D",["DD",2,!1],"Do",(function(e,t){return I(e,t.isUTC).toString(10)})),m("date","D"),te("D",V),te("DD",V,G),te("Do",(function(e,t){return t._dayOfMonthOrdinalParse||t._ordinalParse})),oe(["D","DD"],2),oe("Do",(function(e,t,n){return t[2]=p(e.match(V)[0]),n}))),e?function(e){let t,n,r=0;for(;r<e.length;){const o=Qe(e[r]).split("-");let s=o.length;for(t=Qe(e[r+1]),t=t?t.split("-"):null;s>0;){if(i=o.slice(0,s).join("-"),ze[i]||console.error(`Khronos locale error: please load locale "${i}" before using it`),n=ze[i],n)return n;if(t&&t.length>=s&&Ge(o,t,!0)>=s-1)break;s--}r++}var i;return null}(u(e)?e:[e]):$e}const et=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],tt=et.reduce((e,t)=>
1(e[t]=!0,e),{});function nt(e){return e<0?Math.floor(e):Math.ceil(e)}function rt(e){return 4800*e/146097}function it(e){return 146097*e/4800}let ot=Math.round;function st(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}class at{constructor(e,t={}){this._data={},this._locale=Xe(),this._locale=t&&t._locale||Xe();const n=e.year||0,i=e.quarter||0,o=e.month||0,s=e.week||0,a=e.day||0,l=e.hours||0,u=e.minutes||0,c=e.seconds||0,d=e.milliseconds||0;return this._isValid=function(e){if(Object.keys(e).some(t=>t in tt&&null===e[t]||isNaN(e[t])))return!1;let t=!1;for(let n=0;n<et.length;++n)if(e[et[n]]){if(t)return!1;e[et[n]]!==p(e[et[n]])&&(t=!0)}return!0}(e),this._milliseconds=+d+1e3*c+60*u*1e3+1e3*l*60*60,this._days=+a+7*s,this._months=+o+3*i+12*n,function(e){let t=e._milliseconds,n=e._days,i=e._months;const o=e._data;t>=0&&n>=0&&i>=0||t<=0&&n<=0&&i<=0||(t+=864e5*nt(it(i)+n),n=0,i=0),o.milliseconds=t%1e3;const s=r(t/1e3);o.seconds=s%60;const a=r(s/60);o.minutes=a%60;const l=r(a/60);o.hours=l%24,n+=r(l/24);const u=r(rt(n));i+=u,n-=nt(it(u));const c=r(i/12);return i%=12,o.day=n,o.month=i,o.year=c,e}(this)}isValid(){return this._isValid}humanize(e){if(!this.isValid())return this.localeData().invalidDate;const t=this.localeData();let n=function(e,t,n){const r=Ft(e).abs(),i=ot(r.as("s")),o=ot(r.as("m")),s=ot(r.as("h")),a=ot(r.as("d")),l=ot(r.as("M")),u=ot(r.as("y")),c=i<=44&&["s",i]||i<45&&["ss",i]||o<=1&&["m"]||o<45&&["mm",o]||s<=1&&["h"]||s<22&&["hh",s]||a<=1&&["d"]||a<26&&["dd",a]||l<=1&&["M"]||l<11&&["MM",l]||u<=1&&["y"]||["yy",u];return st.apply(null,[c[0],c[1],t,+e>0,n])}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}localeData(){return this._locale}locale(e){return e?(this._locale=Xe(e)||this._locale,this):this._locale._abbr}abs(){const e=Math.abs,t=this._data;return this._milliseconds=e(this._milliseconds),this._days=e(this._days),this._months=e(this._months),t.milliseconds=e(t.milliseconds),t.seconds=e(t.seconds),t.minutes=e(t.minutes),t.hours=e(t.hours),t.month=e(t.month),t.year=e(t.year),this}as(e){if(!this.isValid())return NaN;let t,n;const r=this._milliseconds,i=y(e);if("month"===i||"year"===i)return t=this._days+r/864e5,n=this._months+rt(t),"month"===i?n:n/12;switch(t=this._days+Math.round(it(this._months)),i){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hours":return 24*t+r/36e5;case"minutes":return 1440*t+r/6e4;case"seconds":return 86400*t+r/1e3;case"milliseconds":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+i)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN}}function lt(e){if(null==e._isValid){const t=le(e),n=Array.prototype.some.call(t.parsedDateParts,(function(e){return null!=e}));let r=!isNaN(e._d&&e._d.getTime())&&t.overflow<0&&!t.empty&&!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&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function ut(e,t){return e._d=new Date(NaN),Object.assign(le(e),t||{userInvalidated:!0}),e}const ct=/^\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)?)?$/,dt=/^\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)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],ft=[["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/]],gt=/^\/?Date\((\-?\d+)/i,mt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},yt=/^(?:(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}))$/;function bt(e){if(!i(e._i))return e;const t=e._i,n=ct.exec(t)||dt.exec(t);let r,o,s,a,l,u;if(!n)return e._isValid=!1,e;for(l=0,u=pt.length;l<u;l++)if(pt[l][1].exec(n[1])){o=pt[l][0],r=!1!==pt[l][2];break}if(null==o)return e._isValid=!1,e;if(n[3]){for(l=0,u=ft.length;l<u;l++)if(ft[l][1].exec(n[3])){s=(n[2]||" ")+ft[l][0];break}if(null==s)return e._isValid=!1,e}if(!r&&null!=s)return e._isValid=!1,e;if(n[4]){if(!ht.exec(n[4]))return e._isValid=!1,e;a="Z"}return e._f=o+(s||"")+(a||""),xt(e)}function _t(e){const t=parseInt(e,10);return t<=49?t+2e3:t}function vt(e){if(!i(e._i))return e;const t=yt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(!t)return function(e){return e._isValid=!1,e}(e);const n=function(e,t,n,r,i,o){const s=[_t(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}(t[4],t[3],t[2],t[5],t[6],t[7]);return function(e,t,n){return!e||Re.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(le(n).weekdayMismatch=!0,n._isValid=!1,!1)}(t[1],n,e)?(e._a=n,e._tzm=function(e,t,n){if(e)return mt[e];if(t)return 0;{const e=parseInt(n,10),t=e%100;return(e-t)/100*60+t}}(t[8],t[9],t[10]),e._d=C.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),le(e).rfc2822=!0,e):e}function Et(e,t,n,r,i=0){const o=Xe(n||"en");if(!o)throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);const l=function(e,t,n,r,i=0){if(!s(e))return n.invalidDate;const o=St(t,n);return _[o]=_[o]||function(e){const t=e.match(E),n=t.length,r=new Array(n);for(let o=0;o<n;o++)r[o]=v[t[o]]?v[t[o]]:(i=t[o]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");var i;return function(t,i,o,s=0){let l="";for(let u=0;u<n;u++)l+=a(r[u])?r[u].call(null,t,{format:e,locale:i,isUTC:o,offset:s}):r[u];return l}}(o),_[o](e,n,r,i)}(e,t||(r?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),o,r,i);return l?o.postformat(l):l}function St(e,t){let n=e,r=5;const i=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4}
1)/g,o=e=>t.formatLongDate(e)||e;for(i.lastIndex=0;r>=0&&i.test(n);)n=n.replace(i,o),i.lastIndex=0,r-=1;return n}function Ct(e,t,n){return null!=e?e:null!=t?t:n}function wt(e){const t=[];let n,r,i,o,s;if(e._d)return e;for(i=function(e){const t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){let t,n,r,i,o,s,a,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,s=4,n=Ct(t.GG,e._a[0],Te(new Date,1,4).year),r=Ct(t.W,1),i=Ct(t.E,1),(i<1||i>7)&&(l=!0);else{o=e._locale._week.dow,s=e._locale._week.doy;const a=Te(new Date,o,s);n=Ct(t.gg,e._a[0],a.year),r=Ct(t.w,a.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>xe(n,o,s)?le(e)._overflowWeeks=!0:null!=l?le(e)._overflowWeekday=!0:(a=function(e,t,n,r,i){const o=1+7*(t-1)+(7+n-r)%7+we(e,r,i);let s,a;return o<=0?(s=e-1,a=de(s)+o):o>de(e)?(s=e+1,a=o-de(e)):(s=e,a=o),{year:s,dayOfYear:a}}(n,r,i,o,s),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(s=Ct(e._a[0],i[0]),(e._dayOfYear>de(s)||0===e._dayOfYear)&&(le(e)._overflowDayOfYear=!0),r=new Date(Date.UTC(s,0,e._dayOfYear)),e._a[1]=r.getUTCMonth(),e._a[2]=r.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=t[n]=i[n];for(;n<7;n++)e._a[n]=t[n]=null==e._a[n]?2===n?1:0:e._a[n];return 24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?C:w).apply(null,t),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(le(e).weekdayMismatch=!0),e}function Tt(e){let t;const n=e._a;return n&&-2===le(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>pe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,le(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),le(e)._overflowWeeks&&-1===t&&(t=7),le(e)._overflowWeekday&&-1===t&&(t=8),le(e).overflow=t),e}function xt(e){if("ISO_8601"===e._f)return bt(e);if("RFC_2822"===e._f)return vt(e);if(e._a=[],le(e).empty=!0,u(e._f)||!e._i&&0!==e._i)return e;let t=e._i.toString(),n=0;const r=t.length,i=St(e._f,e._locale).match(E)||[];let o,s,a,l;for(o=0;o<i.length;o++)s=i[o],a=(t.match(ne(s,e._locale))||[])[0],a&&(l=t.substr(0,t.indexOf(a)),l.length>0&&le(e).unusedInput.push(l),t=t.slice(t.indexOf(a)+a.length),n+=a.length),v[s]?(a?le(e).empty=!1:le(e).unusedTokens.push(s),ae(s,a,e)):e._strict&&!a&&le(e).unusedTokens.push(s);return le(e).charsLeftOver=r-n,t.length>0&&le(e).unusedInput.push(t),e._a[3]<=12&&!0===le(e).bigHour&&e._a[3]>0&&(le(e).bigHour=void 0),le(e).parsedDateParts=e._a.slice(0),le(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){let r=t;if(null==n)return r;if(null!=e.meridiemHour)return e.meridiemHour(r,n);if(null==e.isPM)return r;const i=e.isPM(n);return i&&r<12&&(r+=12),i||12!==r||(r=0),r}(e._locale,e._a[3],e._meridiem),wt(e),Tt(e)}function Ot(e,t,n,r,s){return o(e)?e:function(e,t,n,r,s){const a={};let p=e;return(d(p)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;let t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(p)||u(p)&&0===p.length)&&(p=void 0),a._useUTC=a._isUTC=s,a._l=n,a._i=p,a._f=t,a._strict=r,function(e){const t=Tt(function(e){let t=e._i;const n=e._f;return e._locale=e._locale||Xe(e._l),null===t||void 0===n&&""===t?ut(e,{nullInput:!0}):(i(t)&&(e._i=t=e._locale.preparse(t)),o(t)?(e._d=ve(t),e):(u(n)?function(e){let t,n,r,i,o;if(!e._f||0===e._f.length)return le(e).invalidFormat=!0,ut(e);for(o=0;o<e._f.length;o++)i=0,t=Object.assign({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],xt(t),lt(t)&&(i+=le(t).charsLeftOver,i+=10*le(t).unusedTokens.length,le(t).score=i,(null==r||i<r)&&(r=i,n=t));Object.assign(e,n||t)}(e):n?xt(e):function(e){const t=e._i;if(h(t))e._d=new Date;else if(o(t))e._d=ve(t);else if(i(t))!function(e){if(!i(e._i))return e;const t=gt.exec(e._i);null!==t?e._d=new Date(+t[1]):(bt(e),!1!==e._isValid||(delete e._isValid,vt(e),!1!==e._isValid||(delete e._isValid,ut(e))))}(e);else if(u(t)&&t.length){const n=t.slice(0);e._a=n.map(e=>i(e)?parseInt(e,10):e),wt(e)}else if(d(t))!function(e){if(e._d)return e;const t=e._i;if(d(t)){const n=function(e){const t={};let n,r;for(r in e)c(e,r)&&(n=y(r),n&&(t[n]=e[r]));return t}(t);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(e=>i(e)?parseInt(e,10):e)}wt(e)}(e);else{if(!l(t))return ut(e);e._d=new Date(t)}}(e),lt(e)||(e._d=null),e))}(e));return t._d=new Date(null!=t._d?t._d.getTime():NaN),lt(Object.assign({},t,{_isValid:null}))||(t._d=new Date(NaN)),t}(a)}
1(e,t,n,r,s)._d}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,t,n="milliseconds"){return!(!e||!t)&&("milliseconds"===n?e.valueOf()>t.valueOf():t.valueOf()<Ee(e,n).valueOf())}function It(e,t,n="milliseconds"){return!(!e||!t)&&("milliseconds"===n?e.valueOf()<t.valueOf():Se(e,n).valueOf()<t.valueOf())}function Rt(e,t){return!(void 0===t||!t||!t.length)&&t.some(t=>t===e.getDay())}function Nt(e,t,n="milliseconds"){if(!e||!t)return!1;if("milliseconds"===n)return e.valueOf()===t.valueOf();const r=t.valueOf();return Ee(e,n).valueOf()<=r&&r<=Se(e,n).valueOf()}const kt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Mt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ft(e,t,n={}){const r=function(e,t){if(null==e)return{};if(e instanceof at)return{milliseconds:e._milliseconds,day:e._days,month:e._months};if(l(e))return t?{[t]:e}:{milliseconds:e};if(i(e)){let t=kt.exec(e);if(t){const e="-"===t[1]?-1:1;return{year:0,day:p(t[2])*e,hours:p(t[3])*e,minutes:p(t[4])*e,seconds:p(t[5])*e,milliseconds:p(At(1e3*p(t[6])))*e}}if(t=Mt.exec(e),t){const e="-"===t[1]?-1:1;return{year:Pt(t[2],e),month:Pt(t[3],e),week:Pt(t[4],e),day:Pt(t[5],e),hours:Pt(t[6],e),minutes:Pt(t[7],e),seconds:Pt(t[8],e)}}}if(d(e)&&("from"in e||"to"in e)){const t=function(e,t){if(!s(e)||!s(t))return{milliseconds:0,months:0};let n;const r=function(e,t,n={}){if(!n._isUTC)return e;const r=ve(t),i=6e4*(n._offset||0),o=e.valueOf()-r.valueOf()+i;return r.setTime(r.valueOf()+o),r}(t,e,{_offset:e.getTimezoneOffset()});return It(e,r)?n=Lt(e,r):(n=Lt(r,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}(Ot(e.from),Ot(e.to));return{milliseconds:t.milliseconds,month:t.months}}return e}(e,t);return new at(r,n)}function Pt(e,t){const n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Lt(e,t){const n={milliseconds:0,months:0};return n.months=R(t)-R(e)+12*(N(t)-N(e)),Dt(Ut(ve(e),n.months,"month"),t)&&--n.months,n.milliseconds=+t-+Ut(ve(e),n.months,"month"),n}function Ut(e,t,n,r){return Gt(e,Ft(t,n),1,r)}function Gt(e,t,n,r){const i=t._milliseconds,o=At(t._days),s=At(t._months);return s&&be(e,R(e,r)+s*n,r),o&&_e(e,I(e,r)+o*n,r),i&&function(e,t){e.setTime(t)}(e,function(e){return e.getTime()}(e)+i*n),ve(e)}function Ht(e,t,n=Xe(),r){const o=D(e,r);return Ut(e,function(e,t){if(!i(e))return e;const n=parseInt(e,10);if(!isNaN(n))return n;const r=t.weekdaysParse(e);return l(r)?r:null}(t,n)-o,"day")}function Bt(e,t){return D(e,t)}function jt(e,t=Xe(),n){return(D(e,n)+7-t.firstDayOfWeek())%7}function Vt(e,t,n,r){const i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}const Wt={abbr:"de",months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:Vt,mm:"%d Minuten",h:Vt,hh:"%d Stunden",d:Vt,dd:Vt,M:Vt,MM:Vt,y:Vt,yy:Vt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},Kt={abbr:"en-gb",months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(e){const t=Number(e),n=t%10;return t+(1==~~(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")},week:{dow:1,doy:4}};let qt="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),zt="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Yt=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],$t=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;const Qt={abbr:"es",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,t,n)=>e?/-MMM-/.test(t)?zt[R(e,n)]:qt[R(e,n)]:qt,monthsRegex:$t,monthsShortRegex:$t,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Yt,longMonthsParse:Yt,shortMonthsParse:Yt,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
1split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[hoy a la"+(1!==T(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==T(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==T(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==T(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==T(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}},Zt={abbr:"fr",months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal(e,t){const n=Number(e);switch(t){case"D":return n+(1===n?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}},Jt={abbr:"it",months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek(e){switch(Bt(e)){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:e=>(/^[0-9].+$/.test(e.toString(10))?"tra":"in")+" "+e,past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}},yCWY:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("IheW"),i=n("lJxs"),o=(n("AhhV"),n("rwtW")),s=(n("xJJj"),n("ID9R")),a=function(){function e(e,t,n){this._httpService=e,this.client=t,this._apiUrl=n.apiUrl}return e.prototype.getPrinterConfigByKey=function(e,t){var n=new r.i({encoder:new o.a}).set("ARG_PARAMETER",e),a=new s.a(n,t);return this._httpService.get(a).pipe(Object(i.a)((function(e){return e.PARA1})))},e.prototype.getPrinters=function(e){var t=new r.i({encoder:new o.a}).set("MODE","0"),n=new s.a(t,e);return this._httpService.get(n)},e.prototype.getStatusByPrinter=function(e){throw new r.i({encoder:new o.a}).set("MODE","1").set("TARGET",e),new Error("Not Yet implemented")},e.prototype.printBarcode=function(e,t,n){var i=new r.i({encoder:new o.a}).set("MODE","2").set("TARGET",t).set("RTM",e),a=new s.a(i,n);return this._httpService.get(a)},e.prototype.printPdf=function(e,t,n,i){var a=new r.i({encoder:new o.a}).set("MODE","3").set("TARGET",t).set("RTM",n).set("DATASQL_ID",e),l=new s.a(a,i);return this._httpService.get(l)},e.prototype.generatePdf=function(e,t,n,i){var a=new r.i({encoder:new o.a}).set("MODE","4").set("TARGET",t).set("RTM",n).set("DATASQL_ID",e),l=new s.a(a,i);return this._httpService.get(l)},e.prototype.downloadPdf=function(e,t){var n=new r.i({encoder:new o.a}).set("PATH",e),s=this._apiUrl.concat(t.url);t.flxName&&(s.endsWith("/")||(s=s.concat("/")),s=s.concat(t.flxName));var a=new r.h({"Content-Type":"application/blob"});return this.client.get(s,{responseType:"blob",headers:a,observe:"body",params:n}).pipe(Object(i.a)((function(e){return new Blob([e],{type:"application/pdf"})})))},e}()},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function s(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},yw5c:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
1class r{constructor(){this.errorMessages=new Map(this.initMessages())}getMessage(e){return this.errorMessages.get(e)}initMessages(){return[["1","Unbekannter Fehler beim Drucken aufgetreten!"],["2","Kein Report Fehler. Wenden Sie sich bitte an den Support"],["4","SQL-Fehler aufgetreten. Wenden Sie sich bitte an den Support"],["8","DataPipe-Fehler aufgetreten. Wenden Sie sich bitte an den Support"],["16","SNMP Fehler"],["32","Spooler-Fehler: Fehler beim Starten des Druckauftrages "],["64","Konfigurationsfehler"],["128","Speicherplatzfehler"],["256","Dateifehler"],["512","Drucker konnte nicht angesteuert werden"],["1024","Drucker ist nicht bereit oder hat einen internen Fehler"],["2048","Keine Daten vorhanden"],["4096","Keine Daten vorhanden"]]}}},yxXJ:function(e,t,n){"use strict";var r=n("/7L9"),i=n("5qrJ"),o=n("3RoI"),s=n("ti0F"),a=n("zl3R").each,l=n("XDlg"),u=l.unwrap,c=l.isWrapped,d=l.assign,h=function(e){return e.replace(/\[/g,".").replace(/\]/g,"")},p=function(e,t,n,i){if("this"===t)throw new r.Error("E4016");var o=e[t];i.unwrapObservables&&c(o)?d(o,n):e[t]=n},f=function(e){return(e=e||{}).unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e},g=function(e,t){return t.unwrapObservables?u(e):e},m=function(e){if(arguments.length>1&&(e=[].slice.call(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){var t=(e=h(e)).split(".");return function(e,n){for(var r=(n=f(n)).functionsAsIs,i=("defaultValue"in n),o=g(e,n),a=0;a<t.length;a++){if(!o){if(null==o&&i)return n.defaultValue;break}var l=t[a];if(i&&s.isObject(o)&&!(l in o))return n.defaultValue;var u=g(o[l],n);!r&&s.isFunction(u)&&(u=u.call(o)),o=u}return o}}return Array.isArray(e)?y(e):s.isFunction(e)?e:void 0},y=function(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i]=m(i)}return function(e,n){var r;return a(t,(function(t){var i,o,s,a,l,u=this(e,n);if(void 0!==u){for(i=r||(r={}),a=(o=t.split(".")).length-1,l=0;l<a;l++)(s=o[l])in i||(i[s]={}),i=i[s];i[o[a]]=u}})),r}},b=function(e,t,n,r){if(s.isDefined(n))return n;var i={};return p(e,t,i,r),i};t.compileGetter=m,t.compileSetter=function(e){var t=(e=h(e||"this").split(".")).length-1;return function(n,r,i){i=f(i);var a=g(n,i);e.forEach((function(e,n){var l=function(e,t,n){return g("this"===t?e:e[t],n=n||{})}(a,e,i),u=!i.functionsAsIs&&s.isFunction(l)&&!c(l);n===t?i.merge&&s.isPlainObject(r)&&(!s.isDefined(l)||s.isPlainObject(l))?(l=b(a,e,l,i),o.deepExtendArraySafe(l,r,!1,!0)):u?a[e](r):p(a,e,r,i):(l=b(a,e,l,i),u&&(l=l.call(a)),a=l)}))}},t.toComparable=function(e,t){return e instanceof Date?e.getTime():e&&e instanceof i&&e.valueOf?e.valueOf():t||"string"!=typeof e?e:e.toLowerCase()},t.bracketsToDots=h},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},"z/SZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("8Y7J"),i=n("hpHm");class o{constructor(e,t,n){this.nodes=e,this.viewRef=t,this.componentRef=n}}class s{constructor(e,t,n,i,o,s,a,l){this._viewContainerRef=e,this._renderer=t,this._elementRef=n,this._injector=i,this._componentFactoryResolver=o,this._ngZone=s,this._applicationRef=a,this._posService=l,this.onBeforeShow=new r.m,this.onShown=new r.m,this.onBeforeHide=new r.m,this.onHidden=new r.m,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}to(e){return this.container=e||this.container,this}position(e){return this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this}provide(e){return this._providers.push(e),this}show(e={}){if(this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);const t=r.q.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(t,this._contentRef.n
1odes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof r.k&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const e=this._componentRef.location.nativeElement;return e.parentNode.removeChild(e),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(e){this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||this._elementRef.nativeElement;const t=this._listenOpts.hide=()=>e.hide?e.hide():void this.hide(),n=this._listenOpts.show=t=>{e.show?e.show(t):this.show(t),t()};return this._unregisterListenersFn=Object(i.e)(this._renderer,{target:e.target,triggers:e.triggers,show:n,hide:t,toggle:e=>{this.isShown?t():n(e)}}),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=null)}attachInline(e,t){return this._inlineViewRef=e.createEmbeddedView(t),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const e=this._componentRef.location.nativeElement;setTimeout(()=>{this._globalListener=Object(i.g)(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide()})})}if(this._listenOpts.outsideEsc){const e=this._componentRef.location.nativeElement;this._globalListener=Object(i.f)(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide()})}}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)}_getContentRef(e,t,n){if(!e)return new o([]);if(e instanceof r.K){if(this._viewContainerRef){const n=this._viewContainerRef.createEmbeddedView(e,t);return n.markForCheck(),new o([n.rootNodes],n)}const n=e.createEmbeddedView({});return this._applicationRef.attachView(n),new o([n.rootNodes],n)}if("function"==typeof e){const t=this._componentFactoryResolver.resolveComponentFactory(e),i=r.q.create({providers:this._providers,parent:this._injector}),s=t.create(i);return Object.assign(s.instance,n),this._applicationRef.attachView(s.hostView),new o([[s.location.nativeElement]],s.hostView,s)}return new o([[this._renderer.createText(""+e)]])}}class a{constructor(e,t,n,r,i){this._componentFactoryResolver=e,this._ngZone=t,this._injector=n,this._posService=r,this._applicationRef=i}createLoader(e,t,n){return new s(t,n,e,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}},z5nN:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return h}));var r=n("8Y7J"),i=n("LqlI"),o=r.rb({encapsulation:2,styles:[],data:{}});function s(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["role","document"]],[[8,"className",0]],null,null,null,null)),(e()(),r.tb(1,0,null,null,1,"div",[["class","modal-content"]],null,null,null,null,null)),r.Fb(null,0)],null,(function(e,t){var n=t.component;e(t,0,0,"modal-dialog"+(n.config.class?" "+n.config.class:""))}))}function a(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"modal-container",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[1,"aria-modal",0]],[[null,"click"],["window","keydown.esc"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,1).onClick(n)&&i),"window:keydown.esc"===t&&(i=!1!==r.Gb(e,1).onEsc(n)&&i),i}),s,o)),r.sb(1,245760,null,0,i.c,[i.f,r.k,r.C],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,!0)}))}var l=r.pb("modal-container",i.c,a,{},{},["*"]),u=r.rb({encapsulation:2,styles:[],data:{}});
1function c(e){return r.Qb(0,[],null,null)}function d(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"bs-modal-backdrop",[["class","modal-backdrop"]],null,null,null,c,u)),r.sb(1,114688,null,0,i.b,[r.k,r.C],null,null)],(function(e,t){e(t,1,0)}),null)}var h=r.pb("bs-modal-backdrop",i.b,d,{},{},[])},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC");function i(e,t){return new r.a(t?n=>t.schedule(o,0,{error:e,subscriber:n}):t=>t.error(e))}function o({error:e,subscriber:t}){t.error(e)}},z7z0:function(e,t,n){"use strict";var r=n("ti0F").isExponential;function i(e){return Math.abs(parseInt(e.toExponential().split("e")[1]))}function o(e){var t,n,r=e.toString();return r.indexOf(".")<0?0:(n=(t=r.split("."))[1].indexOf("e"))>=0?n:t[1].length}function s(e,t){if(e<0&&t%2!=1)return NaN;var n=Math.pow(Math.abs(e),1/t);return t%2==1&&e<0?-n:n}t.sign=function(e){return 0===e?0:e/Math.abs(e)},t.fitIntoRange=function(e,t,n){var r=!t&&0!==t,i=!n&&0!==n;return r&&(t=i?e:Math.min(e,n)),i&&(n=r?e:Math.max(e,t)),Math.min(Math.max(e,t),n)},t.inRange=function(e,t,n){return e>=t&&e<=n},t.adjust=function(e,t){var n,s=o(t||0)+2,a=e.toString().split("."),l=e,u=Math.abs(e),c=r(e),d=u>1?10:0;return 1===a.length?e:(c||(r(t)&&(s=a[0].length+i(t)),e=(e=u)-Math.floor(e)+d),s="0.000300"!==3e-4.toPrecision(3)&&i(e)>6||s>7?15:7,c||(n=parseFloat(e.toPrecision(s)).toString().split("."))[0]!==d.toString()?parseFloat(l.toPrecision(s)):parseFloat(a[0]+"."+n[1]))},t.getPrecision=o,t.getExponent=i,t.getRoot=s,t.solveCubicEquation=function(e,t,n,r){if(Math.abs(e)<1e-8){if(e=t,t=n,n=r,Math.abs(e)<1e-8)return e=t,t=n,Math.abs(e)<1e-8?[]:[-t/e];var i=t*t-4*e*n;return Math.abs(i)<1e-8?[-t/(2*e)]:i>0?[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]:[]}var o,a,l=(3*e*n-t*t)/(3*e*e),u=(2*t*t*t-9*e*t*n+27*e*e*r)/(27*e*e*e);if(Math.abs(l)<1e-8)o=[s(-u,3)];else if(Math.abs(u)<1e-8)o=[0].concat(l<0?[Math.sqrt(-l),-Math.sqrt(-l)]:[]);else{var c=u*u/4+l*l*l/27;if(Math.abs(c)<1e-8)o=[-1.5*u/l,3*u/l];else if(c>0)o=[(a=s(-u/2-Math.sqrt(c),3))-l/(3*a)];else{a=2*Math.sqrt(-l/3);var d=Math.acos(3*u/l/a)/3,h=2*Math.PI/3;o=[a*Math.cos(d),a*Math.cos(d-h),a*Math.cos(d-2*h)]}}for(var p=0;p<o.length;p++)o[p]-=t/(3*e);return o}},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("8Y7J"),i=n("AytR"),o=n("SVse"),s=n("VLs4"),a=n.n(s),l=n("1IWC"),u=n.n(l),c=n("2Yyj"),d=n.n(c),h=n("Hfs6"),p=n.n(h),f=n("AwRG");class g{constructor(e,t="/assets/i18n/",n=".json"){this.http=e,this.prefix=t,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}class m{constructor(e,t,n,r,i){this.authService=e,this.configService=t,this.http=n,this.translateLoader=new g(n,r,i)}getTranslation(e){return this.authService.isUserLoggedIn?this.http.get(this.configService.apiUrl+"shs/translation"):this.translateLoader.getTranslation(e)}}function y(e,t,n){return new m(t,n,e,"./assets/i18n/",".json")}Object(o.B)(a.a),Object(o.B)(u.a),Object(o.B)(d.a),Object(o.B)(p.a);class b{}class _{constructor(e,t){this.configService=e,this.document=t}loadTheme(){const e=this.configService.apiUrl&&this.configService.apiUrl.endsWith("/")?this.configService.apiUrl.slice(0,-1):this.configService.apiUrl,t=this.document.getElementsByTagName("head")[0],n=this.document.createElement("link");n.id="client-theme",n.rel="stylesheet",n.href=e+"/shs/theme.css",console.log(n),t.appendChild(n)}}var v=n("xj/R"),E=n("XUoT"),S=n("XiGC"),C=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class w{constructor(e,t,n,r,i){this.translate=e,this.dateLocaleService=t,this.cacheService=n,this.sysIniService=r,this.http=i,this.bsLocales=["de","en","es","fr","it"],this.translate.setDefaultLang("de"),this.loadedLanguages=new Map}configureI18n(e){return C(this,void 0,void 0,(function*(){let t=null;t=this.stringIsNumber(e)?this.getLanguageAcronym(e):e;
1try{yield this.http.head("./assets/i18n/"+t+".json").toPromise()}catch(n){t="en"}this.translate.currentLang&&this.translate.currentLang===this.currentLang||(yield this.translate.use(t).toPromise()),this.changeDatepickerLanguage(t),this.changeGridLanguage(t),this.cacheService.setCachedItem(t,"lang"),this.currentLang=t}))}getLanguageAcronym(e){let t;this.globalConfig=this.sysIniService.getGlobalSettings();const n=Number(e);return n===this.globalConfig.languageColumnDe?t="de":n===this.globalConfig.languageColumnEn?t="en":n===this.globalConfig.languageColumnEs?t="es":n===this.globalConfig.languageColumnIt?t="it":n===this.globalConfig.languageColumnFr?t="fr":(t="en",console.warn("Standardsprache gew\xe4hlt LanguageColumn: "+n)),t}changeDatepickerLanguage(e){if(this.bsLocales.findIndex(t=>t===e)<0&&(console.warn(e+" nicht bekannt. Datepicker w\xe4hlt: en"),e="en"),this.dateLocaleService.currentLocale===e)return;const t=this.getTranslation(e);if(!t){let n=null;switch(e){case"de":Object(v.b)("de",v.a),n=v.a;break;case"en":Object(v.b)("en",v.c),n=v.c;break;case"es":Object(v.b)("es",v.e),n=v.e;break;case"it":Object(v.b)("it",v.x),n=v.x;break;case"fr":Object(v.b)("fr",v.g),n=v.g;break;default:Object(v.b)("en",v.c),n=v.c}this.setTranslation(e,n,t?t.grid:null)}this.dateLocaleService.use(e)}changeGridLanguage(e){if(e===Object(E.locale)())return;let t=null;const r=this.getTranslation(e);if(r&&r.grid)t=r.grid;else{switch(e){case"de":t=n("3DdJ");break;case"es":t=n("kdlb");break;case"it":t=n("lzUq");break;case"fr":t=n("s5Cb")}this.setTranslation("language",r?r.datepicker:null,t)}t?(Object(E.loadMessages)(t),Object(E.locale)(e)):Object(E.locale)("en")}reloadTranslation(e){return C(this,void 0,void 0,(function*(){if(this.currentLang=this.getLanguageAcronym(e),this.translationsBeforeLogin)this.isCachedTranslationAvailable()||this.cacheService.setCachedItem(this.translationsBeforeLogin,"transBeforeLogin");else{let e=this.translate.translations[this.currentLang||"de"];if(e||(e=this.translate.translations[this.translate.currentLang]),e&&!e.hasOwnProperty("LOGIN"))try{e=this.cacheService.getCachedItem("transBeforeLogin")}catch(t){}this.translationsBeforeLogin=e,this.isCachedTranslationAvailable()||this.cacheService.setCachedItem(this.translationsBeforeLogin,"transBeforeLogin")}
1yield this.translate.reloadLang(this.currentLang||"de").toPromise(),this.translate.setTranslation(this.currentLang||"de",this.translationsBeforeLogin,!0)}))}isCachedTranslationAvailable(){try{const e=this.cacheService.getCachedItem("transBeforeLogin");return e&&e.hasOwnProperty("LOGIN")}catch(e){return!1}}stringIsNumber(e){return!isNaN(+e)}getTranslation(e){return this.loadedLanguages.get(e)}setTranslation(e,t,n){const r=this.loadedLanguages.get(e);r?(r.datepicker=r.datepicker||t,r.grid=r.grid||n):this.loadedLanguages.set(e,{grid:n,datepicker:t})}}var T=n("iInd"),x=n("Dn3B"),O=n("qfBg"),A=n("Nyts"),D=n("hp+P"),I=n("Gi7S"),R=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class N{constructor(e,t,n,r,i,o,s){this._authenticationService=e,this._filterService=t,this._userService=n,this._sysIniService=r,this._shoppingCartService=i,this._translationService=o,this._menuService=s,this.requestedUrl=""}login(e,t=null){return R(this,void 0,void 0,(function*(){t&&e.addPropertie("totp",t);const n=yield this._authenticationService.login(e,new A.a).toPromise();return yield this.loginCurrentUser(n),n}))}loginCurrentUser(e){return R(this,void 0,void 0,(function*(){this._userService.setUserModel(e),this._authenticationService._isUserLoggedIn=!0,yield this._userService.systemAfterLogin(),yield this.preload(e),yield this._menuService.getMenu(),yield this._translationService.configureI18n(e.LANGUAGE_COLUMN)}))}preload(e){return R(this,void 0,void 0,(function*(){return new Promise((t,n)=>R(this,void 0,void 0,(function*(){try{yield this._sysIniService.preload();const t=this._translationService.reloadTranslation(e.LANGUAGE_COLUMN);if(yield this._filterService.preLoadFilter(!0,!0,!0,!0,!0,!0,!0),e.USE_ALL_MY_CST_AS_DEFAULT||!e.DEFAULT_KST_KONST){const t=yield this._filterService.getCostcenters().toPromise();if(!t||0===t.length)return n({error:{error_description:"KST"}});let r;e.USE_ALL_MY_CST_AS_DEFAULT&&(r=t.findIndex(e=>""===e.BUCHEN)),r=r>-1?r:0,this._userService.selectedCostCenter=t[r]}yield Promise.all([t])}catch(r){return console.error(r),n(r)}t()})))}))}}var k=n("pLZG"),M=n("IzEk");class F{constructor(e,t,n,r,i,o){this.translationService=e,this.cacheService=t,this.router=n,this.ngZone=r,this.loginservice=i,this.themeLoaderService=o,this.router.events.pipe(Object(k.a)(e=>e instanceof T.e),Object(M.a)(1)).subscribe(e=>{""===this.loginservice.requestedUrl&&this.sendURL(e)}),o.loadTheme(),window.Cypress&&(window._cyNavigate=e=>{this.ngZone.run(()=>{this.router.navigateByUrl(e)})});let s=this.cacheService.getCachedItem("lang");if(!s){let e=String(navigator.language||navigator.userLanguage);e.indexOf("-")>-1&&(e=e.split("-")[0]),s=e}this.translationService.configureI18n(s)}sendURL(e){-1===e.url.indexOf("login")&&"index"!==e.url.substring(e.url.length-5,e.url.length)&&(this.loginservice.requestedUrl=e.url.substring(e.url.indexOf("index")+6,e.url.length))}}var P=n("pMnS"),L=n("TSSN"),U=n("s7LF"),G=n("IheW"),H=n("cygB");class B{constructor(e,t){this._backendServide=e,this._httpService=t}getNews(){const e=new G.i({encoder:new f.g}).set("ARG_NACHRICHTEN_TYP","WEB_NEWS"),t=new f.d(e,this._backendServide.getShsSettings("getWebNews"));return this._httpService.get(t)}}class j{constructor(e){this._newsService=e,this.news=[]}ngOnInit(){this._newsService.getNews().subscribe(e=>{this.news=e,this.news.forEach(e=>{e.S_MESSAGE=e.S_MESSAGE.replace(/<br>/gim,"")})})}}var V=r.rb({encapsulation:0,styles:[[".card-container.card[_ngcontent-%COMP%]{max-width:500px;padding:0;background:#fff}.card[_ngcontent-%COMP%]{margin:0 auto;border-radius:2px;box-shadow:0 2px 2px rgba(0,0,0,.3)}h3[_ngcontent-%COMP%]{padding:0;margin:0}.angular-with-newlines[_ngcontent-%COMP%]{white-space:pre-line}hr[_ngcontent-%COMP%]{border-top-color:#000;padding:0;margin:0}"]],data:{}});function W(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,0,"hr",[],null,
1null,null,null,null)),(e()(),r.tb(2,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r.Ob(4,null,["",""])),(e()(),r.tb(5,0,null,null,1,"div",[["class","angular-with-newlines"]],null,null,null,null,null)),(e()(),r.Ob(6,null,["",""]))],null,(function(e,t){e(t,4,0,t.context.$implicit.S_HEADER),e(t,6,0,t.context.$implicit.S_MESSAGE)}))}function K(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[["class","card card-container"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,2,"section",[["class","content-header"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,1,"h3",[["align","center"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["News"])),(e()(),r.tb(4,0,null,null,3,"section",[],null,null,null,null,null)),(e()(),r.tb(5,0,null,null,2,"div",[["class","box-body"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,W)),r.sb(7,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,7,0,t.component.news)}),null)}function q(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,K)),r.sb(1,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,1,0,t.component.news.length>0)}),null)}var z=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class Y{constructor(e){this.translateService=e}get(e){const t=this.translateService.instant(["BENUTZER_NICHT_AUTH","LDAP_FEHLER","TOKEN_FEHLER","SERVER_FEHLER","KST_FEHLER","USER_NOT_CONFIGURED","BLOCKED"]);let n;switch(this._user=t.BENUTZER_NICHT_AUTH,this._ldap=t.LDAP_FEHLER,this._otp=t.TOKEN_FEHLER,this._default=t.SERVER_FEHLER,this._kst=t.KST_FEHLER,this._userNotConfigured=t.USER_NOT_CONFIGURED,this._userBlocked=t.BLOCKED,e.error.error_description||e.error.description){case"USER":n=this._user;break;case"LDAP":n=this._ldap;break;case"OTP":n=this._otp;break;case"KST":n=this._kst;break;case"USER_NOT_CONFIGURED":n=this._userNotConfigured;break;case"BLOCKED":n=this._userBlocked;break;default:n=this._default}return n}}class ${constructor(e,t,n,r,i,o,s,a){this._router=e,this._loginService=t,this._authenticationService=n,this._cacheService=r,this.translateService=i,this._userService=o,this._sysIniService=s,this._menuService=a}ngOnInit(){for(let e=0;e<sessionStorage.length;e++){const t=sessionStorage.key(e);-1===t.indexOf("windows")&&-1===t.indexOf("msal")&&sessionStorage.removeItem(t)}this._authenticationService.setUserLoggedOut(),this._userService.clearUser(),this._menuService.resetMenu()}login(e,t){return z(this,void 0,void 0,(function*(){this.loginError=!1,this.success=!1,this.isLoading=!0;try{yield this._loginService.login(e,t),this.success=!0,yield this.navigateToStartUrl()}catch(n){console.error(n),this.errorMessage=new Y(this.translateService).get(n),this.loginError=!0}finally{this.isLoading=!1}}))}navigateToStartUrl(){return z(this,void 0,void 0,(function*(){if(""===this._loginService.requestedUrl){const e=this._sysIniService.getGlobalSettings();this._menuService.highlightMenuItem(e.startUrl),yield this._router.navigate(["index/"+e.startUrl])}else yield this._router.navigate(["index/"+this._loginService.requestedUrl]),this._loginService.requestedUrl=""}))}}var Q=n("0tTC"),Z=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class J extends ${constructor(e,t,n,r,i,o,s,a,l,u){super(t,n,r,i,a,o,l,u),this._activatedRoute=e,this.configService=s,this.loginModel=new f.e,this._activatedRoute.params.subscribe(e=>{this._totp=e.totp})}ngOnInit(){const e=Object.create(null,{ngOnInit:{get:()=>super.ngOnInit}});return Z(this,void 0,void 0,(function*(){e.ngOnInit.call(this),this.visibleResetPassword=this.configService.resetPasswordOptions.ENABLED;const t=this.configService.oAuthOptions;t&&t.clientId&&(this.oAuthSettings=[t],yield Q.a.loadAuthModule({auth:{clientId:t.clientId,authority:t.authority,redirectUri:t.redirectUri,navigateToLoginRequestUrl:!1},cache:{cacheLocation:"sessionStorage",storeAuthStateInCookie:t.storeAuthStateInCookie}}),"/login/oauth/start"===this._router.url&&(yield this.startLogin("Azure")))}))}
1startLogin(e=null){return Z(this,void 0,void 0,(function*(){if(e){const e=this.configService.oAuthOptions;e&&e.clientId&&Q.a.login({auth:{clientId:e.clientId,authority:e.authority,redirectUri:e.redirectUri,navigateToLoginRequestUrl:!1},cache:{cacheLocation:"sessionStorage",storeAuthStateInCookie:e.storeAuthStateInCookie}})}else yield this.login(this.loginModel,this._totp)}))}}var X=n("BATG"),ee=n("e8ht"),te=n("xJJj"),ne=r.rb({encapsulation:0,styles:[["h1[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}  body{background:#1761a2}.background[_ngcontent-%COMP%]{padding-top:50px}.logo[_ngcontent-%COMP%]{margin:0 auto;display:block;width:250px}.card-container.card[_ngcontent-%COMP%]{max-width:500px;max-height:781px;padding:20px 40px 60px;background:#fff}.card[_ngcontent-%COMP%]{margin:0 auto 5px;border-radius:2px;box-shadow:0 2px 2px rgba(0,0,0,.3)}.profile-name-card[_ngcontent-%COMP%]{font-size:16px;font-weight:700;text-align:center;margin:10px 0 0;min-height:1em}.btn-signin[_ngcontent-%COMP%]{margin-top:10px}button[_ngcontent-%COMP%]{margin-bottom:10px}.margin-left[_ngcontent-%COMP%]{margin-left:5px}.alert[_ngcontent-%COMP%]{padding:6px 12px;margin-bottom:10px}.oauth-button[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:center}"]],data:{}});function re(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,0,"img",[["alt","oauth icon"],["style","max-height: 28px"]],[[8,"src",4]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.parent.context.$implicit.logoUrl)}))}function ie(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,"button",[["class","btn btn-default btn-block btn-signin"],["type","button"]],[[8,"disabled",0],[2,"oauth-button",null]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.startLogin(e.context.$implicit)&&r),r}),null,null)),(e()(),r.ib(16777216,null,null,1,null,re)),r.sb(2,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.Ob(3,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){e(t,2,0,t.context.$implicit.logoUrl)}),(function(e,t){e(t,0,0,t.component.isLoading,!!t.context.$implicit.logoUrl),e(t,3,0,r.Pb(t,3,0,r.Gb(t,4).transform(t.context.$implicit.buttonCaptionKey)))}))}function oe(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"div",[["class","alert alert-danger bottom2"]],null,null,null,null,null)),(e()(),r.Ob(1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.component.errorMessage)}))}function se(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"div",[["class","alert alert-success bottom2"]],null,null,null,null,null)),(e()(),r.Ob(1,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h])],null,(function(e,t){e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform("LOGIN_ERFOLGREICH")))}))}function ae(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-2x fa-fw pull-left"]],null,null,null,null,null))],null,null)}function le(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,4,"button",[["class","btn pull-right margin-left"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,1).onClick()&&i),i}),null,null)),r.sb(1,16384,null,0,T.n,[T.m,T.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.Hb(2,1),(e()(),r.Ob(3,null,["",""])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){var n=e(t,2,0,"/forgot-password");e(t,1,0,n)}),(function(e,t){e(t,0,0,t.component.isLoading),e(t,3,0,r.Pb(t,3,0,r.Gb(t,4).transform("PASSWORT_VERGESSEN")))}))}function ue(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,55,"div",[["class","background"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,52,"div",[["class","card card-container"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,0,"img",[["class","logo"],["id","profile-img"],["src","assets/images/shsweb32.jpg"]],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,2,"h1",[["class","text-center"]],null,null,null,null,null)),(e()(),r.Ob(4,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(6,0,null,null,37,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(e,t,n){var i=!0,o=e.component;return"submit"===t&&(i=!1!==r.Gb(e,8).onSubmit(n)&&i),"reset"===t&&(i=!1!==r.Gb(e,8).onReset()&&i),"submit"===t&&(i=!1!==o.startLogin()&&i),i}
1),null,null)),r.sb(7,16384,null,0,U.H,[],null,null),r.sb(8,4210688,[["loginForm",4]],0,U.t,[[8,null],[8,null]],null,null),r.Lb(2048,null,U.d,null,[U.t]),r.sb(10,16384,null,0,U.s,[[4,U.d]],null,null),(e()(),r.tb(11,0,null,null,11,"div",[["class","input-group margin-bottom-sm"]],null,null,null,null,null)),(e()(),r.tb(12,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(e()(),r.tb(13,0,null,null,0,"i",[["class","fa fa-user fa-fw"]],null,null,null,null,null)),(e()(),r.tb(14,0,null,null,8,"input",[["autocomplete","username"],["autofocus",""],["class","form-control"],["data-cy","username"],["name","username"],["required",""],["type","text"]],[[1,"placeholder",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var i=!0,o=e.component;return"input"===t&&(i=!1!==r.Gb(e,15)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,15).onTouched()&&i),"compositionstart"===t&&(i=!1!==r.Gb(e,15)._compositionStart()&&i),"compositionend"===t&&(i=!1!==r.Gb(e,15)._compositionEnd(n.target.value)&&i),"ngModelChange"===t&&(i=!1!==(o.loginModel.username=n)&&i),i}),null,null)),r.sb(15,16384,null,0,U.e,[r.C,r.k,[2,U.b]],null,null),r.sb(16,16384,null,0,U.z,[],{required:[0,"required"]},null),r.Lb(1024,null,U.o,(function(e){return[e]}),[U.z]),r.Lb(1024,null,U.p,(function(e){return[e]}),[U.e]),r.sb(19,671744,[["username",4]],0,U.u,[[2,U.d],[6,U.o],[8,null],[6,U.p]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.Lb(2048,null,U.q,null,[U.u]),r.sb(21,16384,null,0,U.r,[[4,U.q]],null,null),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(23,0,null,null,11,"div",[["class","input-group"]],null,null,null,null,null)),(e()(),r.tb(24,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(e()(),r.tb(25,0,null,null,0,"i",[["class","fa fa-key fa-fw"]],null,null,null,null,null)),(e()(),r.tb(26,0,null,null,8,"input",[["autocomplete","current-password"],["class","form-control"],["data-cy","password"],["name","password"],["required",""],["type","password"]],[[1,"placeholder",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var i=!0,o=e.component;return"input"===t&&(i=!1!==r.Gb(e,27)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==r.Gb(e,27).onTouched()&&i),"compositionstart"===t&&(i=!1!==r.Gb(e,27)._compositionStart()&&i),"compositionend"===t&&(i=!1!==r.Gb(e,27)._compositionEnd(n.target.value)&&i),"ngModelChange"===t&&(i=!1!==(o.loginModel.password=n)&&i),i}),null,null)),r.sb(27,16384,null,0,U.e,[r.C,r.k,[2,U.b]],null,null),r.sb(28,16384,null,0,U.z,[],{required:[0,"required"]},null),r.Lb(1024,null,U.o,(function(e){return[e]}),[U.z]),r.Lb(1024,null,U.p,(function(e){return[e]}),[U.e]),r.sb(31,671744,[["password",4]],0,U.u,[[2,U.d],[6,U.o],[8,null],[6,U.p]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.Lb(2048,null,U.q,null,[U.u]),r.sb(33,16384,null,0,U.r,[[4,U.q]],null,null),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(35,0,null,null,2,"button",[["class","btn btn-primary btn-block btn-signin"],["data-cy","submit"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(e()(),r.Ob(36,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.ib(16777216,null,null,1,null,ie)),r.sb(39,278528,null,0,o.m,[r.N,r.K,r.r],{ngForOf:[0,"ngForOf"]},null),(e()(),r.ib(16777216,null,null,1,null,oe)),r.sb(41,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,se)),r.sb(43,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.tb(44,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,ae)),r.sb(46,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,le)),r.sb(48,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.tb(49,0,null,null,4,"button",[["class","btn pull-right"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,50).onClick()&&i),i}),null,null)),r.sb(50,16384,null,0,T.n,[T.m,T.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.Hb(51,1),(e()(),r.Ob(52,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(54,0,null,null,1,"comed-news",[],null,
1null,null,q,V)),r.sb(55,114688,null,0,j,[B],null,null)],(function(e,t){var n=t.component;e(t,16,0,""),e(t,19,0,"username",n.loginModel.username),e(t,28,0,""),e(t,31,0,"password",n.loginModel.password),e(t,39,0,n.oAuthSettings),e(t,41,0,n.loginError),e(t,43,0,!n.loginError&&n.success),e(t,46,0,n.isLoading),e(t,48,0,n.visibleResetPassword);var r=e(t,51,0,"/email");e(t,50,0,r),e(t,55,0)}),(function(e,t){var n=t.component;e(t,4,0,r.Pb(t,4,0,r.Gb(t,5).transform("LOGIN"))),e(t,6,0,r.Gb(t,10).ngClassUntouched,r.Gb(t,10).ngClassTouched,r.Gb(t,10).ngClassPristine,r.Gb(t,10).ngClassDirty,r.Gb(t,10).ngClassValid,r.Gb(t,10).ngClassInvalid,r.Gb(t,10).ngClassPending),e(t,14,0,r.Pb(t,14,0,r.Gb(t,22).transform("BENUTZERNAME")),r.Gb(t,16).required?"":null,r.Gb(t,21).ngClassUntouched,r.Gb(t,21).ngClassTouched,r.Gb(t,21).ngClassPristine,r.Gb(t,21).ngClassDirty,r.Gb(t,21).ngClassValid,r.Gb(t,21).ngClassInvalid,r.Gb(t,21).ngClassPending),e(t,26,0,r.Pb(t,26,0,r.Gb(t,34).transform("PASSWORT")),r.Gb(t,28).required?"":null,r.Gb(t,33).ngClassUntouched,r.Gb(t,33).ngClassTouched,r.Gb(t,33).ngClassPristine,r.Gb(t,33).ngClassDirty,r.Gb(t,33).ngClassValid,r.Gb(t,33).ngClassInvalid,r.Gb(t,33).ngClassPending),e(t,35,0,!r.Gb(t,8).form.valid||n.isLoading),e(t,36,0,r.Pb(t,36,0,r.Gb(t,37).transform("LOGIN"))),e(t,49,0,n.isLoading),e(t,52,0,r.Pb(t,52,0,r.Gb(t,53).transform("SUPPORT")))}))}function ce(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-login",[],null,null,null,ue,ne)),r.sb(1,114688,null,0,J,[T.a,T.m,N,X.a,ee.a,O.a,te.a,L.j,S.a,I.a],null,null)],(function(e,t){e(t,1,0)}),null)}var de=r.pb("comed-login",J,ce,{},{},[]);class he extends ${constructor(e,t,n,r,i,o,s,a,l,u,c){super(n,r,i,o,s,t,a,l),this.httpService=e,this.userService=t,this.loginService=r,this.cacheService=o,this.configService=u,this.backendService=c,this.logingSuccessfull=!0}ngOnInit(){const e=Object.create(null,{ngOnInit:{get:()=>super.ngOnInit}});return t=this,void 0,r=function*(){e.ngOnInit.call(this);const t=this.configService.oAuthOptions;if(t){const e=yield Q.a.loadAuthModule({auth:{clientId:t.clientId,authority:t.authority,redirectUri:t.redirectUri,navigateToLoginRequestUrl:!1},cache:{cacheLocation:"sessionStorage",storeAuthStateInCookie:t.storeAuthStateInCookie}});if(e){sessionStorage.setItem("access_token",e.accessToken);const t=new f.f({username:e.username,name:e.name,sub:e.sub,tenantId:e.tenantId},this.backendService.getShsSettings("GetAccessTokenOAuth"));try{const e=yield this.httpService.post(t).toPromise();if(e){sessionStorage.setItem("access_token",e.accessToken),yield this.loginService.loginCurrentUser(e);const t=this._sysIniService.getGlobalSettings();this._menuService.highlightMenuItem(t.startUrl),yield this._router.navigate(["index/"+t.startUrl])}}catch(n){console.error(n),this.logingSuccessfull=!1}}}},new((n=void 0)||(n=Promise))((function(e,i){function o(e){try{a(r.next(e))}catch(t){i(t)}}function s(e){try{a(r.throw(e))}catch(t){i(t)}}function a(t){t.done?e(t.value):new n((function(e){e(t.value)})).then(o,s)}a((r=r.apply(t,[])).next())}));var t,n,r}}var pe=n("AhhV"),fe=r.rb({encapsulation:2,styles:[],data:{}});function ge(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,10,null,null,null,null,null,null,null)),(e()(),r.tb(1,0,null,null,3,"h2",[["style","color:#0fad00"]],null,null,null,null,null)),(e()(),r.Ob(2,null,[" "," "," "])),r.Ib(131072,L.i,[L.j,r.h]),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(5,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r.Ob(6,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(9,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(10,0,null,null,0,"i",[["class","margin fa fa-spinner fa-spin fa-3x fa-fw"]],null,null,null,null,null))],null,(function(e,t){e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform("LOGIN")),r.Pb(t,2,1,r.Gb(t,4).transform("ERFOLGREICH"))),e(t,6,0,r.Pb(t,6,0,r.Gb(t,7).transform("TITLE")))}))}function me(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"h2",[["style","color:#AD2300"]],null,null,null,null,null)),(e()(),r.Ob(1,null,[" ",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(3,0,null,null,2,"h3",[],null,
1null,null,null,null)),(e()(),r.Ob(4,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(6,0,null,null,7,"p",[["style","font-size:20px;color:#5C5C5C;"]],null,null,null,null,null)),(e()(),r.Ob(7,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(9,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(10,0,null,null,3,"a",[["routerLink","/login"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,11).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.sb(11,671744,null,0,T.p,[T.m,T.a,o.k],{routerLink:[0,"routerLink"]},null),(e()(),r.Ob(12,null,["",""])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){e(t,11,0,"/login")}),(function(e,t){e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform("EXE_LOGIN_FEHLER"))),e(t,4,0,r.Pb(t,4,0,r.Gb(t,5).transform("TITLE"))),e(t,7,0,r.Pb(t,7,0,r.Gb(t,8).transform("OAUTH_USER_NOT_CONFIGURED"))),e(t,10,0,r.Gb(t,11).target,r.Gb(t,11).href),e(t,12,0,r.Pb(t,12,0,r.Gb(t,13).transform("ZUM_LOGIN")))}))}function ye(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,6,"div",[["class","row text-center"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,5,"div",[["class","col-sm-6 col-sm-offset-3"]],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,ge)),r.sb(6,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["errorTemplate",2]],null,0,null,me))],(function(e,t){e(t,6,0,t.component.logingSuccessfull,r.Gb(t,7))}),null)}function be(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-login",[],null,null,null,ye,fe)),r.sb(1,114688,null,0,he,[pe.a,O.a,T.m,N,X.a,ee.a,L.j,S.a,I.a,te.a,H.a],null,null)],(function(e,t){e(t,1,0)}),null)}var _e=r.pb("comed-login",he,be,{},{},[]);class ve extends ${constructor(e,t,n,r,i,o,s,a,l){super(n,r,i,o,s,t,a,l),this._activatedRoute=e,this.userService=t}ngOnInit(){super.ngOnInit(),this._activatedRoute.params.subscribe(e=>{return t=this,void 0,r=function*(){const t=e.token,n=e.username,r=e.costcenter;try{yield this.login(new f.e(n,t)),this.userService.setSelectedCostCenter(r)}catch(i){this.loginError=!0}},new((n=void 0)||(n=Promise))((function(e,i){function o(e){try{a(r.next(e))}catch(t){i(t)}}function s(e){try{a(r.throw(e))}catch(t){i(t)}}function a(t){t.done?e(t.value):new n((function(e){e(t.value)})).then(o,s)}a((r=r.apply(t,[])).next())}));var t,n,r})}}var Ee=r.rb({encapsulation:2,styles:[],data:{}});function Se(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),r.tb(1,0,null,null,2,"h2",[["style","color:#0fad00"]],null,null,null,null,null)),(e()(),r.Ob(2,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(4,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r.Ob(5,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(7,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(8,0,null,null,0,"i",[["class","margin fa fa-spinner fa-spin fa-3x fa-fw"]],null,null,null,null,null))],null,(function(e,t){e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform("ERFOLGREICH"))),e(t,5,0,r.Pb(t,5,0,r.Gb(t,6).transform("TITLE")))}))}function Ce(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"h2",[["style","color:#AD2300"]],null,null,null,null,null)),(e()(),r.Ob(1,null,[" ",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r.Ob(4,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(6,0,null,null,10,"p",[["style","font-size:20px;color:#5C5C5C;"]],null,null,null,null,null)),(e()(),r.Ob(7,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(9,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.Ob(10,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(12,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(13,0,null,null,3,"a",[["routerLink","/login"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.sb(14,671744,null,0,T.p,[T.m,T.a,o.k],{routerLink:[0,"routerLink"]},null),(e()(),r.Ob(15,null,["",""])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){e(t,14,0,"/login")}),(function(e,t){e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform("FEHLER"))),e(t,4,0,r.Pb(t,4,0,r.Gb(t,5).transform("TITLE"))),e(t,7,0,r.Pb(t,7,0,r.Gb(t,8).transform("FEHLER_BEI_LOGIN"))),e(t,10,0,r.Pb(t,10,0,r.Gb(t,11).transform("ANMELDEN"))),e(t,13,0,r.Gb(t,14).target,r.Gb(t,14).href),e(t,15,0,r.Pb(t,15,0,r.Gb(t,16).transform("ZUM_LOGIN")))}))}function we(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,6,"div",[["class","row text-center"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,5,"div",[["class","col-sm-6 col-sm-offset-3"]],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,0,"br",[],null,
1null,null,null,null)),(e()(),r.tb(4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,Se)),r.sb(6,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["errorTemplate",2]],null,0,null,Ce))],(function(e,t){e(t,6,0,!t.component.loginError,r.Gb(t,7))}),null)}function Te(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-login",[],null,null,null,we,Ee)),r.sb(1,114688,null,0,ve,[T.a,O.a,T.m,N,X.a,ee.a,L.j,S.a,I.a],null,null)],(function(e,t){e(t,1,0)}),null)}var xe=r.pb("comed-login",ve,Te,{},{},[]);class Oe extends ${constructor(e,t,n,r,i,o,s,a,l){super(n,r,i,o,s,t,a,l),this._activatedRoute=e,this.userService=t}ngOnInit(){super.ngOnInit(),this._activatedRoute.params.subscribe(e=>{return t=this,void 0,r=function*(){const t=e.token,n=e.username,r=e.costcenter;try{let e;if(yield this.login(new f.e(n,t)),this._activatedRoute.queryParams.subscribe(t=>e=t),r&&this.userService.setSelectedCostCenter(r),null!=e.destUrl){const t=Object.assign({},e);delete t.destUrl,this._router.navigate([e.destUrl],{queryParams:t})}else if(null!=e.destURL){const t=Object.assign({},e);delete t.destURL,this._router.navigate([e.destURL],{queryParams:t})}}catch(i){i&&i.error&&"KST"===i.error.error_description&&(this.missingCst=!0),this.loginError=!0}},new((n=void 0)||(n=Promise))((function(e,i){function o(e){try{a(r.next(e))}catch(t){i(t)}}function s(e){try{a(r.throw(e))}catch(t){i(t)}}function a(t){t.done?e(t.value):new n((function(e){e(t.value)})).then(o,s)}a((r=r.apply(t,[])).next())}));var t,n,r})}}var Ae=r.rb({encapsulation:2,styles:[],data:{}});function De(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,10,null,null,null,null,null,null,null)),(e()(),r.tb(1,0,null,null,3,"h2",[["style","color:#0fad00"]],null,null,null,null,null)),(e()(),r.Ob(2,null,[" "," "," "])),r.Ib(131072,L.i,[L.j,r.h]),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(5,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r.Ob(6,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(9,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(10,0,null,null,0,"i",[["class","margin fa fa-spinner fa-spin fa-3x fa-fw"]],null,null,null,null,null))],null,(function(e,t){e(t,2,0,r.Pb(t,2,0,r.Gb(t,3).transform("LOGIN")),r.Pb(t,2,1,r.Gb(t,4).transform("ERFOLGREICH"))),e(t,6,0,r.Pb(t,6,0,r.Gb(t,7).transform("TITLE")))}))}function Ie(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.Ob(1,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h])],null,(function(e,t){e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform("FEHLER_BEI_LOGIN")))}))}function Re(e){return r.Qb(0,[(e()(),r.Ob(0,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h])],null,(function(e,t){e(t,0,0,r.Pb(t,0,0,r.Gb(t,1).transform("KST_FEHLER")))}))}function Ne(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"h2",[["style","color:#AD2300"]],null,null,null,null,null)),(e()(),r.Ob(1,null,[" ",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),r.Ob(4,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(6,0,null,null,8,"p",[["style","font-size:20px;color:#5C5C5C;"]],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,Ie)),r.sb(8,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["missingCstTemplate",2]],null,0,null,Re)),(e()(),r.tb(10,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.tb(11,0,null,null,3,"a",[["routerLink","/login"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,12).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.sb(12,671744,null,0,T.p,[T.m,T.a,o.k],{routerLink:[0,"routerLink"]},null),(e()(),r.Ob(13,null,["",""])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){e(t,8,0,t.component.missingCst,r.Gb(t,9)),e(t,12,0,"/login")}),(function(e,t){e(t,1,0,r.Pb(t,1,0,r.Gb(t,2).transform("EXE_LOGIN_FEHLER"))),e(t,4,0,r.Pb(t,4,0,r.Gb(t,5).transform("TITLE"))),e(t,11,0,r.Gb(t,12).target,r.Gb(t,12).href),e(t,13,0,r.Pb(t,13,0,r.Gb(t,14).transform("ZUM_LOGIN")))}))}function ke(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,7,"div",[["class","container"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,6,"div",[["class","row text-center"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,5,"div",[["class","col-sm-6 col-sm-offset-3"]],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,0,"br",[],null,
1null,null,null,null)),(e()(),r.tb(4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r.ib(16777216,null,null,1,null,De)),r.sb(6,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r.ib(0,[["errorTemplate",2]],null,0,null,Ne))],(function(e,t){e(t,6,0,!t.component.loginError,r.Gb(t,7))}),null)}function Me(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-login",[],null,null,null,ke,Ae)),r.sb(1,114688,null,0,Oe,[T.a,O.a,T.m,N,X.a,ee.a,L.j,S.a,I.a],null,null)],(function(e,t){e(t,1,0)}),null)}var Fe=r.pb("comed-login",Oe,Me,{},{},[]),Pe=n("fPaE");class Le{constructor(e,t,n){this.http=e,this.configService=t,this.translateService=n}ngOnInit(){const e=this.configService.eMailOptions.MAILTO,t=this.configService.eMailOptions.CC,n=this.configService.eMailOptions.BCC;let r,i;r=this.configService.eMailOptions.SUBJECT?this.translateService.instant(this.configService.eMailOptions.SUBJECT):"",i=this.configService.eMailOptions.BODY?this.translateService.instant(this.configService.eMailOptions.BODY):"",this.email=new Pe.a(e,t,n,r,i)}supportClick(){location.href=this.email.getMail()}}var Ue=r.rb({encapsulation:0,styles:[[""]],data:{}});function Ge(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,33,"div",[["aria-hidden","true"],["class","modal show"],["role","dialog"],["tabindex","-1"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,32,"div",[["class","modal-dialog"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,31,"div",[["class","modal-content"]],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,3,"div",[["class","modal-header"]],null,null,null,null,null)),(e()(),r.tb(4,0,null,null,2,"h1",[["class","text-center"]],null,null,null,null,null)),(e()(),r.Ob(5,null,["",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(7,0,null,null,19,"div",[["class","modal-body"]],null,null,null,null,null)),(e()(),r.tb(8,0,null,null,18,"div",[["class","col-md-18"]],null,null,null,null,null)),(e()(),r.tb(9,0,null,null,17,"div",[["class","panel panel-default"]],null,null,null,null,null)),(e()(),r.tb(10,0,null,null,16,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),r.tb(11,0,null,null,2,"div",[["class","text-center"]],null,null,null,null,null)),(e()(),r.Ob(12,null,[" ",""])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(14,0,[["mainContent",1]],null,12,"section",[["class","content"]],null,null,null,null,null)),(e()(),r.tb(15,0,null,null,11,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(e,t,n){var i=!0;return"submit"===t&&(i=!1!==r.Gb(e,17).onSubmit(n)&&i),"reset"===t&&(i=!1!==r.Gb(e,17).onReset()&&i),i}),null,null)),r.sb(16,16384,null,0,U.H,[],null,null),r.sb(17,4210688,null,0,U.t,[[8,null],[8,null]],null,null),r.Lb(2048,null,U.d,null,[U.t]),r.sb(19,16384,null,0,U.s,[[4,U.d]],null,null),(e()(),r.tb(20,0,null,null,6,"div",[["class","box box-primary"]],null,null,null,null,null)),(e()(),r.tb(21,0,null,null,1,"div",[["class","box-header"]],null,null,null,null,null)),(e()(),r.tb(22,0,null,null,0,"i",[["class","fa fa-envelope"]],null,null,null,null,null)),(e()(),r.tb(23,0,null,null,0,"div",[["class","box-body"],["style","margin-right: 65px"]],null,null,null,null,null)),(e()(),r.tb(24,0,null,null,2,"button",[["class","btn btn-lg btn-primary btn-block"],["style","text-align:center"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.supportClick()&&r),r}),null,null)),(e()(),r.Ob(25,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(27,0,null,null,6,"div",[["class","modal-footer "]],null,null,null,null,null)),(e()(),r.tb(28,0,null,null,5,"div",[["class","col-md-12 "]],null,null,null,null,null)),(e()(),r.tb(29,0,null,null,4,"button",[["class","btn"],["data-dismiss","modal"]],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,30).onClick()&&i),i}),null,null)),r.sb(30,16384,null,0,T.n,[T.m,T.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.Hb(31,1),(e()(),r.Ob(32,null,["",""])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){var n=e(t,31,0,"/login");e(t,30,0,n)}),(function(e,t){e(t,5,0,r.Pb(t,5,0,r.Gb(t,6).transform("ALL_EMAIL_COMED_SEND"))),e(t,12,0,r.Pb(t,12,0,r.Gb(t,13).transform("ALL_EMAIL_KONTAKT_DESC"))),e(t,15,0,r.Gb(t,19).ngClassUntouched,r.Gb(t,19).ngClassTouched,r.Gb(t,19).ngClassPristine,r.Gb(t,19).ngClassDirty,r.Gb(t,19).ngClassValid,r.Gb(t,19).ngClassInvalid,r.Gb(t,19).ngClassPending),e(t,25,0,r.Pb(t,25,0,r.Gb(t,26).transform("ALL_SUPPORT"))),e(t,32,0,r.Pb(t,32,0,r.Gb(t,33).transform("ZUM_LOGIN")))}))}function He(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-email-component",[],null,
1null,null,Ge,Ue)),r.sb(1,114688,null,0,Le,[G.c,te.a,L.j],null,null)],(function(e,t){e(t,1,0)}),null)}var Be=r.pb("comed-email-component",Le,He,{},{},[]);class je{constructor(e){this._location=e}ngOnInit(){}goBack(){this._location.back()}}var Ve=r.rb({encapsulation:0,styles:[["body{background:#1761a2}.error-details[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{color:#fff}.error-template[_ngcontent-%COMP%]{padding:40px 15px;text-align:center}.error-actions[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}.error-actions[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-right:10px}.logo[_ngcontent-%COMP%]{margin:0 auto;display:block;width:250px}"]],data:{}});function We(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,17,"div",[["class","container"]],null,null,null,null,null)),(e()(),r.tb(1,0,null,null,16,"div",[["class","row"]],null,null,null,null,null)),(e()(),r.tb(2,0,null,null,15,"div",[["class","col-md-12"]],null,null,null,null,null)),(e()(),r.tb(3,0,null,null,14,"div",[["class","error-template"]],null,null,null,null,null)),(e()(),r.tb(4,0,null,null,0,"img",[["class","logo"],["src","assets/images/shsweb32.jpg"]],null,null,null,null,null)),(e()(),r.tb(5,0,null,null,2,"h1",[],null,null,null,null,null)),(e()(),r.Ob(6,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(8,0,null,null,9,"div",[["class","error-actions"]],null,null,null,null,null)),(e()(),r.tb(9,0,null,null,4,"a",[["class","btn btn-default btn-lg"],["routerLink","/"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,10).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.sb(10,671744,null,0,T.p,[T.m,T.a,o.k],{routerLink:[0,"routerLink"]},null),(e()(),r.tb(11,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-sign-in"]],null,null,null,null,null)),(e()(),r.Ob(12,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h]),(e()(),r.tb(14,0,null,null,3,"a",[["class","btn btn-default btn-lg"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.goBack()&&r),r}),null,null)),(e()(),r.tb(15,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-backward"]],null,null,null,null,null)),(e()(),r.Ob(16,null,[" "," "])),r.Ib(131072,L.i,[L.j,r.h])],(function(e,t){e(t,10,0,"/")}),(function(e,t){e(t,6,0,r.Pb(t,6,0,r.Gb(t,7).transform("ALL_SEITE_NICHT_GEFUNDEN"))),e(t,9,0,r.Gb(t,10).target,r.Gb(t,10).href),e(t,12,0,r.Pb(t,12,0,r.Gb(t,13).transform("ALL_ZUM_SHS_LOGIN"))),e(t,16,0,r.Pb(t,16,0,r.Gb(t,17).transform("ALL_ZURUCK")))}))}function Ke(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-notfound",[],null,null,null,We,Ve)),r.sb(1,114688,null,0,je,[o.j],null,null)],(function(e,t){e(t,1,0)}),null)}var qe=r.pb("comed-notfound",je,Ke,{},{},[]),ze=n("z5nN"),Ye=n("atuK"),$e=n("iutN"),Qe=n("ES0t"),Ze=n("EApP"),Je=r.rb({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function Xe(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.remove()&&r),r}),null,null)),(e()(),r.tb(1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(e()(),r.Ob(-1,null,["\xd7"]))],null,null)}function et(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,null,null,null,null,null,null,null)),(e()(),r.Ob(1,null,["[","]"]))],null,(function(e,t){e(t,1,0,t.component.duplicatesCount+1)}))}function tt(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,3,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(e()(),r.Ob(1,null,[" "," "])),(e()(),r.ib(16777216,null,null,1,null,et)),r.sb(3,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,3,0,t.component.duplicatesCount)}),(function(e,t){var n=t.component;e(t,0,0,n.options.titleClass,n.title),e(t,1,0,n.title)}))}function nt(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.options.messageClass,n.message)}))}function rt(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(e()(),r.Ob(1,null,[" "," "]))],null,(function(e,t){var n=t.component;e(t,0,0,n.options.messageClass,n.message),e(t,1,0,n.message)}))}function it(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"div",[],null,
1null,null,null,null)),(e()(),r.tb(1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,(function(e,t){e(t,1,0,t.component.width+"%")}))}function ot(e){return r.Qb(0,[(e()(),r.ib(16777216,null,null,1,null,Xe)),r.sb(1,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,tt)),r.sb(3,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,nt)),r.sb(5,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,rt)),r.sb(7,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(e()(),r.ib(16777216,null,null,1,null,it)),r.sb(9,16384,null,0,o.n,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.options.closeButton),e(t,3,0,n.title),e(t,5,0,n.message&&n.options.enableHtml),e(t,7,0,n.message&&!n.options.enableHtml),e(t,9,0,n.options.progressBar)}),null)}function st(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0],[4,"display",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==r.Gb(e,1).tapToast()&&i),"mouseenter"===t&&(i=!1!==r.Gb(e,1).stickAround()&&i),"mouseleave"===t&&(i=!1!==r.Gb(e,1).delayedHideToast()&&i),i}),ot,Je)),r.sb(1,180224,null,0,Ze.c,[Ze.j,Ze.g,r.y],null,null)],null,(function(e,t){e(t,0,0,r.Gb(t,1).toastClasses,r.Gb(t,1).state,r.Gb(t,1).displayStyle)}))}var at=r.pb("[toast-component]",Ze.c,st,{},{},[]),lt=n("YImT"),ut=n("1R5E"),ct=n("fS5t"),dt=r.rb({encapsulation:0,styles:[["td.editable{background:#f0f8ff!important}  td.editable div{text-decoration:underline!important}  tr.dx-data-row>td.dx-command-edit>a{color:inherit}  tr.dx-data-row.dx-selection>td.dx-command-edit>a.dx-link,   tr.dx-data-row.dx-state-hover>td.dx-command-edit>a.dx-link{font-size:15px!important}  tr.dx-data-row.dx-selection>td,   tr.dx-data-row.dx-state-hover>td{font-weight:700;background-color:inherit!important;color:inherit!important}bs-modal-backdrop.ft-backdrop[_ngcontent-%COMP%]{z-index:999!important}"]],data:{}});function ht(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,2,"main",[],null,null,null,null,null)),(e()(),r.tb(1,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.sb(2,212992,null,0,T.r,[T.b,r.N,r.j,[8,null],r.h],null,null)],(function(e,t){e(t,2,0)}),null)}function pt(e){return r.Qb(0,[(e()(),r.tb(0,0,null,null,1,"comed-root",[],null,
1null,null,ht,dt)),r.sb(1,49152,null,0,F,[w,ee.a,T.m,r.y,N,_],null,null)],null,null)}var ft=r.pb("comed-root",F,pt,{},{},[]),gt=n("cUpR"),mt=n("GS7A");function yt(){return"undefined"!=typeof process}function bt(e){switch(e.length){case 0:return new mt.d;case 1:return e[0];default:return new mt.k(e)}}function _t(e,t,n,r,i={},o={}){const s=[],a=[];let l=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(n=>{let r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case mt.l:a=i[n];break;case mt.a:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${s.join(e)}`)}return a}function vt(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&Et(n,"start",e)));break;case"done":e.onDone(()=>r(n&&Et(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&Et(n,"destroy",e)))}}function Et(e,t,n){const r=n.totalTime,i=St(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function St(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Ct(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function wt(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Tt=(e,t)=>!1,xt=(e,t)=>!1,Ot=(e,t,n)=>[];const At=yt();(At||"undefined"!=typeof Element)&&(Tt=(e,t)=>e.contains(t),xt=(()=>{if(At||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):xt}})(),Ot=(e,t,n)=>{let r=[];if(n)r.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&r.push(n)}return r});let Dt=null,It=!1;function Rt(e){Dt||(Dt=("undefined"!=typeof document?document.body:null)||{},It=!!Dt.style&&"WebkitAppearance"in Dt.style);let t=!0;return Dt.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Dt.style,!t&&It)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Dt.style),t}const Nt=xt,kt=Tt,Mt=Ot;function Ft(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}class Pt{validateStyleProperty(e){return Rt(e)}matchesElement(e,t){return Nt(e,t)}containsElement(e,t){return kt(e,t)}query(e,t,n){return Mt(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,o=[],s){return new mt.d(n,r)}}let Lt=(()=>{class e{}return e.NOOP=new Pt,e})();function Ut(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Gt(parseFloat(t[1]),t[2])}function Gt(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Ht(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=Gt(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=Gt(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else r=e;if(!n){let n=!1,o=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:o}}(e,t,n)}function Bt(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function jt(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else Bt(e,n);return n}function Vt(e,t,n){return n?t+":"+n+";":""}function Wt(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Vt(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Vt(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Kt(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=Xt(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),yt()&&Wt(e))}function qt(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=Xt(t);e.style[n]=""}),yt()&&Wt(e))}function zt(e){return Array.isArray(e)?1==e.length?e[0]:Object(mt.f)(e):e}const Yt=new RegExp("{{\\s*(.+?)\\s*}}","g");function $t(e){let t=[];if("string"==typeof e){const n=e.toString();let r;for(;r=Yt.exec(n);)t.push(r[1]);Yt.lastIndex=0}return t}function Qt(e,t,n){const r=e.toString(),i=r.replace(Yt,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function Zt(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const Jt=/-+([a-z0-9])/g;function Xt(e){return e.replace(Jt,(...e)=>e[1].toUpperCase())}function en(e,t){return 0===e||0===t}function tn(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let o=t[0],s=[];
1if(r.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var i=1;i<t.length;i++){let n=t[i];s.forEach((function(t){n[t]=rn(e,t)}))}}return t}function nn(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function rn(e,t){return window.getComputedStyle(e)[t]}function on(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],o=r[2],s=r[3];t.push(ln(i,s)),"<"!=o[0]||"*"==i&&"*"==s||t.push(ln(s,i))}(e,n,t)):n.push(e),n}const sn=new Set(["true","1"]),an=new Set(["false","0"]);function ln(e,t){const n=sn.has(e)||an.has(e),r=sn.has(t)||an.has(t);return(i,o)=>{let s="*"==e||e==i,a="*"==t||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?sn.has(e):an.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?sn.has(t):an.has(t)),s&&a}}const un=new RegExp("s*:selfs*,?","g");function cn(e,t,n){return new dn(e).build(t,n)}class dn{constructor(e){this._driver=e}build(e,t){const n=new hn(t);return this._resetContextStyleTimingState(n),nn(this,zt(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,o.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(e=>{if(pn(e)){const t=e;Object.keys(t).forEach(e=>{$t(t[e]).forEach(e=>{o.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=Zt(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=nn(this,zt(e.animation),t);return{type:1,matchers:on(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:fn(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>nn(this,e,t)),options:fn(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=nn(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:fn(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return gn(Ht(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=gn(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||Ht(r,t),gn(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:Object(mt.h)({});
1if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=Object(mt.h)(e)}t.currentTime+=n.duration+n.delay;const s=this.visitStyle(i,t);s.isEmptyStep=o,r=s}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==mt.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(pn(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=$t(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(pn(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(pn(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),u=0;return null!=l&&(r++,u=n.offset=l),s=s||u<0||u>1,o=o||u<a,a=u,i.push(u),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const u=e.steps.length;let c=0;r>0&&r<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(u-1));const d=u-1,h=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const o=c>0?r==d?1:c*r:i[r],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:nn(this,zt(e.animation),t),options:fn(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:fn(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:fn(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(un,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,Ct(t.collectedStyles,t.currentQuerySelector,{});const s=nn(this,zt(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:fn(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ht(e.timings,t.errors,!0);return{type:12,animation:nn(this,zt(e.animation),t),timings:n,options:null}}}class hn{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function pn(e){return!Array.isArray(e)&&"object"==typeof e}function fn(e){var t;return e?(e=Bt(e)).params&&(e.params=(t=e.params)?Bt(t):null):e={},e}function gn(e,t,n){return{duration:e,delay:t,easing:n}}function mn(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class yn{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const bn=new RegExp(":enter","g"),_n=new RegExp(":leave","g");function vn(e,t,n,r,i,o={},s={},a,l,u=[]){return(new En).buildKeyframes(e,t,n,r,i,o,s,a,l,u)}class En{buildKeyframes(e,t,n,r,i,o,s,a,l,u=[]){l=l||new yn;const c=new Cn(e,t,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),nn(this,n,c);const d=c.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,c.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[mn(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}
vendor: 4,735 bytes, line 1
1visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Ut(n.duration):null,o=null!=n.delay?Ut(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),nn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Sn);const e=Ut(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>nn(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Ut(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);i&&s.delayNextStep(i),nn(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Ht(t.params?Qt(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Ut(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Sn);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,r)=>{t.currentQueryIndex=r;const s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(a=s.currentTimeline),nn(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const u=l.currentTime;nn(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const Sn={};class Cn{constructor(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Sn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new wn(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Ut(n.duration)),null!=n.delay&&(r.delay=Ut(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}
1),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=Qt(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new Cn(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Sn,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Tn(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,o){let s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(bn,"."+this._enterClassName)).replace(_n,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return i||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class wn{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new wn(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||mt.a,this._currentKeyframe[e]=mt.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=mt.a})):jt(e,!1,n)}),n}(e,this._globalTimelineStyles);
1Object.keys(o).forEach(e=>{const t=Qt(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:mt.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const s=jt(i,!0);Object.keys(s).forEach(n=>{const r=s[n];r==mt.l?e.add(n):r==mt.a&&t.add(n)}),n||(s.offset=o/this.duration),r.push(s)});const i=e.size?Zt(e.values()):[],o=t.size?Zt(t.values()):[];if(n){const e=r[0],t=Bt(e);e.offset=0,t.offset=1,r=[e,t]}return mn(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class Tn extends wn{constructor(e,t,n,r,i,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],o=n+t,s=t/o,a=jt(e[0],!1);a.offset=0,i.push(a);const l=jt(e[0],!1);l.offset=xn(s),i.push(l);const u=e.length-1;for(let r=1;r<=u;r++){let s=jt(e[r],!1);s.offset=xn((t+s.offset*n)/o),i.push(s)}n=o,t=0,r="",e=i}return mn(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function xn(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class On{}class An extends On{normalizePropertyName(e,t){return Xt(e)}normalizeStyleValue(e,t,n,r){let i="";const o=n.toString().trim();if(Dn[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+i}}const Dn=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function In(e,t,n,r,i,o,s,a,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const Rn={};class Nn{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}build(e,t,n,r,i,o,s,a,l,u){const c=[],d=this.ast.options&&this.ast.options.params||Rn,h=this.buildStyles(n,s&&s.params||Rn,c),p=a&&a.params||Rn,f=this.buildStyles(r,p,c),g=new Set,m=new Map,y=new Map,b="void"===r,_={params:Object.assign({},d,p)},v=u?[]:vn(e,t,this.ast.animation,i,o,h,f,_,l,c);let E=0;if(v.forEach(e=>{E=Math.max(e.duration+e.delay,E)}),c.length)return In(t,this._triggerName,n,r,b,h,f,[],[],m,y,E,c);v.forEach(e=>{const n=e.element,r=Ct(m,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=Ct(y,n,{});
1e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&g.add(n)});const S=Zt(g.values());return In(t,this._triggerName,n,r,b,h,f,v,S,m,y,E)}}class kn{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=Bt(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let o=i[e];o.length>1&&(o=Qt(o,r,t)),n[e]=o})}}),n}}class Mn{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new kn(e.style,e.options&&e.options.params||{})}),Fn(this.states,"true","1"),Fn(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Nn(e,t,this.states))}),this.fallbackTransition=new Nn(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Fn(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Pn=new yn;class Ln{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=cn(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=_t(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let o;const s=new Map;if(i?(o=vn(this._driver,t,i,"ng-enter","ng-leave",{},{},n,Pn,r),o.forEach(e=>{const t=Ct(s,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));s.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,mt.a)})});const a=bt(o.map(e=>{const t=s.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,r){const i=St(t,"","","");return vt(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Un=[],Gn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Bn{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=Bt(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const jn=new Bn("void");class Vn{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+e,Qn(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const o=Ct(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};o.push(s);const a=Ct(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Qn(e,"ng-trigger"),Qn(e,"ng-trigger-"+t),a[t]=jn),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),o=new Kn(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(Qn(e,"ng-trigger"),Qn(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new Bn(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=jn),"void"!==l.value&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{qt(e,n),Kt(e,r)})}return}const u=Ct(this._engine.playersByElement,e,[]);u.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let c=i.matchTransition(a.value,l.value,e,l.params),d=!1;if(!c){if(!r)return;c=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(Qn(e,"ng-animate-queued"),o.onStart(()=>{Zn(e,"ng-animate-queued")})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),u.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t,n=!1){this._engine.driver.query(e,".ng-trigger",!0).forEac
1h(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)})}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const o=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&bt(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,o=this._engine.statesByElement.get(e)[r]||jn,s=new Bn("void"),a=new Kn(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:s,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}this.prepareLeaveAnimationListeners(e),r?n.markElementAsRemoved(this.id,e,!1,t):(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}insertNode(e,t){Qn(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(t=>{if(t.name==n.triggerName){const r=St(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,vt(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Wn{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Vn(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(qn(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!qn(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);
1r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Qn(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Zn(e,"ng-animate-disabled"))}removeNode(e,t,n,r){if(qn(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return qn(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return bt(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Gn,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Qn(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?bt(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new yn,r=[],i=new Map,o=[],s=new Map,a=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)u.add(t[n])});const c=this.bodyNode,d=Array.from(this.statesByElement.keys()),h=$n(d,this.collectedEnterElements),p=new Map;let f=0;h.forEach((e,t)=>{const n="ng-enter"+f++;p.set(t,n),e.forEach(e=>Qn(e,n))});const g=[],m=new Set,y=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const e=this.collectedLeaveElements[I],t=e.__ng_removed;t&&t.setForRemoval&&(g.push(e),m.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>m.add(e)):y.add(e))}const b=new Map,_=$n(d,Array.from(m));_.forEach((e,t)=>{const n="ng-leave"+f++;b.set(t,n),e.forEach(e=>Qn(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>Zn(e,n))}),_.forEach((e,t)=>{const n=b.get(t);e.forEach(e=>Zn(e,n))}),g.forEach(e=>{this.processLeaveNode(e)})});const v=[],E=[];for(let I=this._namespaceList.length-1;I>=0;
1I--)this._namespaceList[I].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(v.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const u=!c||!this.driver.containsElement(c,i),d=b.get(i),h=p.get(i),f=this._buildInstruction(e,n,h,d,u);if(f.errors&&f.errors.length)E.push(f);else{if(u)return t.onStart(()=>qt(i,f.fromStyles)),t.onDestroy(()=>Kt(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>qt(i,f.fromStyles)),t.onDestroy(()=>Kt(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines),o.push({instruction:f,player:t,element:i}),f.queriedElements.forEach(e=>Ct(s,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(E.length){const e=[];E.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),v.forEach(e=>e.destroy()),this.reportError(e)}const S=new Map,C=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,S))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{Ct(S,t,[]).push(e),e.destroy()})});const w=g.filter(e=>Xn(e,a,l)),T=new Map;
1Yn(T,this.driver,y,l,mt.a).forEach(e=>{Xn(e,a,l)&&w.push(e)});const x=new Map;h.forEach((e,t)=>{Yn(x,this.driver,new Set(e),a,mt.l)}),w.forEach(e=>{const t=T.get(e),n=x.get(e);T.set(e,Object.assign({},t,n))});const O=[],A=[],D={};o.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(u.has(t))return o.onDestroy(()=>Kt(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);let e=D;if(C.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>C.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,S,i,x,T);if(o.setRealPlayer(n),e===D)O.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=bt(t)),r.push(o)}}else qt(t,s.fromStyles),o.onDestroy(()=>Kt(t,s.toStyles)),A.push(o),u.has(t)&&r.push(o)}),A.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=bt(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let I=0;I<g.length;I++){const e=g[I],t=e.__ng_removed;if(Zn(e,"ng-leave"),t&&t.hasAnimation)continue;let n=[];if(s.size){let t=s.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,".ng-animating",!0);for(let e=0;e<r.length;e++){let t=s.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?Jn(this,e,r):this.processLeaveNode(e)}return g.length=0,O.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),O}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||"void"==i;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==r,l=Ct(n,e,[]);this._getPreviousPlayers(e,a,i,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}qt(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,o){const s=t.triggerName,a=t.element,l=[],u=new Set,c=new Set,d=t.timelines.map(t=>{const d=t.element;u.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new mt.d(t.duration,t.delay);const p=d!==a,f=function(e){const t=[];return function e(t,n){for(let r=0;r<t.length;r++){const i=t[r];i instanceof mt.k?e(i.players,n):n.push(i)}}(e,t),t}((n.get(d)||Un).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),g=i.get(d),m=o.get(d),y=_t(0,this._normalizer,0,t.keyframes,g,m),b=this._buildPlayer(t,y,f);if(t.subTimeline&&r&&c.add(d),p){const t=new Kn(e,s,d);t.setRealPlayer(b),l.push(t)}return b});l.forEach(e=>{Ct(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),u.forEach(e=>Qn(e,"ng-animating"));const h=bt(d);return h.onDestroy(()=>{u.forEach(e=>Zn(e,"ng-animating")),Kt(a,t.toStyles)}),c.forEach(e=>{Ct(r,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new mt.d(e.duration,e.delay)}}class Kn{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new mt.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h(t=>{this._queuedCallbacks[t].forEach(n=>vt(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ct(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function qn(e){return e&&1===e.nodeType}function zn(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Yn(e,t,n,r,i){const o=[];n.forEach(e=>o.push(zn(e)));const s=[];r.forEach((n,r)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Hn,s.push(r))}),e.set(r,o)});let a=0;return n.forEach(e=>zn(e,o[a++])),s}function $n(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=i.get(t);if(o)return o;const s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function Qn(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Zn(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Jn(e,t,n){bt(n).onDone(()=>e.processLeaveNode(t))}function Xn(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class er{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Wn(e,t,n),this._timelineEngine=new Ln(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const o=e+"-"+r;let s=this._triggerCache[o];if(!s){const e=[],t=cn(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Mn(e,t)}(r,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=wt(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=wt(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function tr(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=rr(t[0]),t.length>1&&(r=rr(t[t.length-1]))):t&&(n=rr(t)),n||r?new nr(e,n,r):null}let nr=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Kt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Kt(this._element,this._initialStyles),this._endStyles&&(Kt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(qt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qt(this._element,this._endStyles),this._endStyles=null),Kt(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function rr(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];ir(i)&&(t=t||{},t[i]=e[i])}return t}function ir(e){return"display"===e||"position"===e}class or{constructor(e,t,n,r,i,o,s){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e
1=>this._handleCallback(e)}apply(){!function(e,t){const n=dr(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),cr(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),ur(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){sr(this._element,this._name,"paused")}resume(){sr(this._element,this._name,"running")}setPosition(e){const t=ar(this._element,this._name);this._position=e*this._duration,cr(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ur(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=dr(e,"").split(","),r=lr(n,t);r>=0&&(n.splice(r,1),cr(e,"",n.join(",")))}(this._element,this._name))}}function sr(e,t,n){cr(e,"PlayState",n,ar(e,t))}function ar(e,t){const n=dr(e,"");return n.indexOf(",")>0?lr(n.split(","),t):lr([n],t)}function lr(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function ur(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function cr(e,t,n,r){const i="animation"+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function dr(e,t){return e.style["animation"+t]}class hr{constructor(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new or(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:rn(this.element,n))})}this.currentSnapshot=e}}class pr extends mt.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Ft(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEac
1h(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class fr{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Rt(e)}matchesElement(e,t){return Nt(e,t)}containsElement(e,t){return kt(e,t)}query(e,t,n){return Mt(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Ft(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const o=document.createElement("style");return o.innerHTML=r,o}animate(e,t,n,r,i,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter(e=>e instanceof hr),l={};en(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=tn(e,t,l));if(0==n)return new pr(e,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);const h=tr(e,t),p=new hr(e,t,c,n,r,i,u,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class gr{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:rn(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class mr{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(yr().toString()),this._cssKeyframesDriver=new fr}
1validateStyleProperty(e){return Rt(e)}matchesElement(e,t){return Nt(e,t)}containsElement(e,t){return kt(e,t)}query(e,t,n){return Mt(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},u=o.filter(e=>e instanceof gr);en(n,r)&&u.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=tr(e,t=tn(e,t=t.map(e=>jt(e,!1)),l));return new gr(e,t,a,c)}}function yr(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}class br extends mt.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:r.O.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(mt.f)(e):e;return Er(this._renderer,null,t,"register",[n]),new _r(t,this._renderer)}}class _r extends mt.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new vr(this._id,e,t||{},this._renderer)}}class vr{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Er(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function Er(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}class Sr{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Cr("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(i,e),t.data.animation.forEach(t=>this.engine.registerTrigger(r,i,e,t.name,t)),new wr(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}class Cr{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}
1listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class wr extends Cr{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if("@"==t.charAt(0)){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),o="";return"@"!=i.charAt(0)&&([i,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}class Tr extends er{constructor(e,t,n){super(e.body,t,n)}}function xr(){return"function"==typeof yr()?new mr:new fr}function Or(){return new An}function Ar(e,t,n){return new Sr(e,t,n)}const Dr=new r.p("AnimationModuleType");class Ir{}var Rr=n("7q2x");class Nr{constructor(e){this.injector=e}intercept(e,t){try{const t=this.injector.get(O.a),n=this.injector.get(f.a);if(n&&n.isUserLoggedIn){const n=t.defaultCostCenter,r=t.selectedCostCenter?t.selectedCostCenter.BUCHEN:null;"GET"===e.method||"DELETE"===e.method?e=e.clone({params:e.params?e.params.append("GL_DEFAULT_KST",n).append("GL_SELECTED_KST",r):(new G.i).set("GL_DEFAULT_KST",n).set("GL_SELECTED_KST",r)}):"POST"!==e.method&&"PUT"!==e.method||e.body instanceof G.i||e.body instanceof FormData||(e=e.clone({body:Object.assign({},e.body,{GL_DEFAULT_KST:n,GL_SELECTED_KST:r})}))}}catch(n){}return t.handle(e)}}var kr=n("2oOB"),Mr=n("oA89"),Fr=n("0fkH"),Pr=n("QY0l"),Lr=n("Hzbo"),Ur=n("4y7E"),Gr=n("Zz7b"),Hr=n("ienR"),Br=n("WZRG"),jr=n("EakO");class Vr{constructor(e,t){this.auth=e,this.router=t}canLoad(e){return!!this.auth.isUserLoggedIn||(this.router.navigateByUrl("login"),!1)}}var Wr=n("yw5c"),Kr=n("1xS0"),qr=n("lQde"),zr=n("2uy1"),Yr=n("z/SZ"),$r=n("LqlI"),Qr=n("FE24"),Zr=n("2ZVE"),Jr=n("KOzp"),Xr=n("yCWY"),ei=n("CLzC"),ti=n("VayG"),ni=n("wFGo"),ri=n("fftR"),ii=n("ZvYk");const oi=()=>n.e(27).then(n.bind(null,"32z0")).then(e=>e.ForgotPasswordModuleNgFactory),si=()=>n.e(21).then(n.bind(null,"FH9X")).then(e=>e.IndexModuleNgFactory);class ai{}class li{static forRoot(){return{ngModule:li,providers:[x.a,O.a,I.a,Pr.a,Lr.a,S.a,N,H.a,Br.a,D.a,jr.a,Vr,w,Wr.a,_,Ur.a,Kr.a]}}}var ui=n("St1U"),ci=n("aHM3"),di=n("/A8S"),hi=n("EqrH"),pi=n("OkTt"),fi=n("7nlb"),gi=n("MibS"),mi=n("fXz7"),yi=r.qb(b,[F],(function(e){return r.Db([r.Eb(512,r.j,r.ab,[[8,[P.a,de,_e,xe,Fe,Be,qe,ze.a,ze.b,Ye.a,Ye.c,Ye.b,$e.a,Qe.a,at,lt.g,lt.h,ut.a,ct.b,ct.a,ct.d,ct.e,ct.f,ct.c,ct.g,ft]],[3,r.j],r.w]),r.Eb(5120,r.t,r.nb,[[3,r.t]]),r.Eb(4608,o.p,o.o,[r.t,[2,o.H]]),r.Eb(5120,r.jb,r.ob,[r.y]),r.Eb(5120,r.c,r.kb,[]),r.Eb(5120,r.r,r.lb,[]),r.Eb(5120,r.s,r.mb,[]),r.Eb(4608,gt.c,gt.o,[o.e]),r.Eb(6144,r.F,null,[gt.c]),r.Eb(4608,gt.f,gt.h,[]),r.Eb(5120,gt.d,(function(e,t,n,r,i,o,s,a){return[new gt.m(e,t,n),new gt.r(r),new gt.q(i,o,s,a)]}),[o.e,r.y,r.A,o.e,o.e,gt.f,r.bb,[2,gt.g]]),r.Eb(4608,gt.e,gt.e,[gt.d,r.y]),r.Eb(135680,gt.p,gt.p,[o.e]),r.Eb(4608,gt.n,gt.n,[gt.e,gt.p,r.c]),r.Eb(5120,Lt,xr,[]),r.Eb(5120,On,Or,[]),r.Eb(4608,er,Tr,[o.e,Lt,On]),r.Eb(5120,r.D,Ar,[gt.n,er,r.y]),r.Eb(6144,gt.s,null,[gt.p]),r.Eb(4608,r.L,r.L,[r.y]),r.Eb(4608,mt.b,br,[r.D,o.e]),r.Eb(5120,T.a,T.B,[T.m]),r.Eb(4608,T.g,T.g,[]),r.Eb(6144,T.h,null,[T.g]),r.Eb(135680,T.s,T.s,[T.m,r.v,r.i,r.q,T.h]),r.Eb(4608,T.f,T.f,[]),r.Eb(5120,T.G,T.x,[T.m,o.x,T.i]),r.Eb(5120,T.j,T.E,[T.C]),r.Eb(5120,r.b,(function(e){return[e]}),[T.j]),r.Eb(4608,G.l,G.r,[o.e,r.A,G.p]),r.Eb(4608,G.s,G.s,[G.l,G.q]),r.Eb(5120,G.a,(function(e,t){return[e,new Rr.a,new Nr(t)]}),[G.s,r.q]),r.Eb(4608,U.E,U.E,[]),r.Eb(4608,U.g,U.g,[]),r.Eb(4608,kr.a,kr.a,[]),r.Eb(4608,Mr.a,Mr.a,[gt.c]),r.Eb(4608,Fr.h,Fr.h,[Fr.e,r.j,r.q]),r.Eb(4608,pe.a,pe.a,[G.c,te.a]),r.Eb(4608,X.a,X.a,[pe.a,te.a]),r.Eb(5120,L.f,y,[G.c,X.a,te.a]),r.Eb(4608,L.c,L.e,[]),r.Eb(4608,L.h,L.d,[]),r.Eb(4608,L.b,L.a,[]),r.Eb(4608,L.k,L.k,[]),r.Eb(4608,L.j,L.j,[L.k,L.f,L.c,L.h,L.b,L.l,L.m]),r.Eb(4608,H.a,H.a,[te.a]),r.Eb(4608,ee.a,ee.a,[]),r.Eb(4608,S.a,S.a,[pe.a,H.a,ee.a]),r.Eb(4608,x.a,x.a,[pe.a,H.a,ee.a,S.a]),r.Eb(4608,O.a,O.a,[pe.a,H.a,ee.a,x.a]),r.Eb(4608,I.a,I.a,[pe.a,H.a,T.m,ee.a]),r.Eb(4608,Pr.a,Pr.a,[pe.a,H.a,O.a]),r.Eb(4608,Lr.a,Lr.a,[pe.a,O.a,H.a]),r.Eb(4608,
1Ur.a,Ur.a,[]),r.Eb(4608,Gr.a,Gr.a,[pe.a,H.a,Pr.a,O.a,S.a,Ur.a]),r.Eb(4608,Hr.l,Hr.l,[]),r.Eb(4608,w,w,[L.j,Hr.l,ee.a,S.a,G.c]),r.Eb(4608,N,N,[X.a,x.a,O.a,S.a,Gr.a,w,I.a]),r.Eb(4608,Br.a,Br.a,[te.a,Mr.a,H.a,pe.a,S.a]),r.Eb(4608,jr.a,jr.a,[H.a,pe.a]),r.Eb(4608,Vr,Vr,[X.a,T.m]),r.Eb(4608,Wr.a,Wr.a,[]),r.Eb(4608,_,_,[te.a,o.e]),r.Eb(4608,Kr.a,Kr.a,[H.a,pe.a]),r.Eb(4608,qr.b,qr.b,[]),r.Eb(4608,zr.a,zr.a,[r.D,r.A]),r.Eb(4608,Yr.a,Yr.a,[r.j,r.y,r.q,zr.a,r.g]),r.Eb(4608,$r.a,$r.a,[r.D,Yr.a]),r.Eb(4608,Hr.t,Hr.t,[]),r.Eb(4608,Hr.v,Hr.v,[]),r.Eb(4608,Hr.a,Hr.a,[]),r.Eb(4608,Hr.h,Hr.h,[]),r.Eb(4608,Hr.d,Hr.d,[]),r.Eb(4608,Hr.u,Hr.u,[Hr.v,Hr.l]),r.Eb(4608,Qr.f,Qr.f,[]),r.Eb(4608,Zr.e,Zr.e,[]),r.Eb(4608,Jr.a,Jr.a,[]),r.Eb(4608,Xr.a,Xr.a,[pe.a,G.c,te.a]),r.Eb(4608,ei.a,ei.a,[]),r.Eb(4608,ti.a,ti.a,[]),r.Eb(4608,ni.a,ni.a,[pe.a]),r.Eb(4608,B,B,[H.a,pe.a]),r.Eb(4608,ri.a,ri.a,[]),r.Eb(4608,ii.a,ii.a,[T.m,I.a]),r.Eb(1073742336,o.c,o.c,[]),r.Eb(1024,r.l,gt.t,[]),r.Eb(1024,r.x,(function(){return[T.w()]}),[]),r.Eb(512,T.C,T.C,[r.q]),r.Eb(512,G.o,G.o,[]),r.Eb(2048,G.m,null,[G.o]),r.Eb(512,G.k,G.k,[G.m]),r.Eb(2048,G.b,null,[G.k]),r.Eb(512,G.g,G.n,[G.b,r.q]),r.Eb(512,G.c,G.c,[G.g]),r.Eb(512,te.a,te.a,[G.c]),r.Eb(1024,r.d,(function(e,t,n){return[gt.v(e),T.D(t),(r=n,()=>r.loadConfig("./assets/cfg.json"))];var r}),[[2,r.x],T.C,te.a]),r.Eb(512,r.e,r.e,[[2,r.d]]),r.Eb(131584,r.g,r.g,[r.y,r.bb,r.q,r.l,r.j,r.e]),r.Eb(1073742336,r.f,r.f,[r.g]),r.Eb(1073742336,gt.a,gt.a,[[3,gt.a]]),r.Eb(1073742336,Ir,Ir,[]),r.Eb(1024,T.v,T.z,[[3,T.m]]),r.Eb(512,T.u,T.c,[]),r.Eb(512,T.b,T.b,[]),r.Eb(256,T.i,{preloadingStrategy:T.g},[]),r.Eb(1024,o.k,T.y,[o.w,[2,o.a],T.i]),r.Eb(512,o.j,o.j,[o.k,o.w]),r.Eb(512,r.i,r.i,[]),r.Eb(512,r.v,r.I,[r.i,[2,r.J]]),r.Eb(1024,T.k,(function(){return[[{path:"",pathMatch:"full",redirectTo:"login"},{path:"login",component:J},{path:"login/otp/:totp",component:J},{path:"login/oauth",component:he},{path:"login/oauth/start",component:J},{path:"login/:message",component:J},{path:"login/oci/:username/:token/:costcenter",component:ve},{path:"login/exe/:username/:token",component:Oe},{path:"login/exe/:username/:token/:costcenter",component:Oe},{path:"forgot-password",loadChildren:oi},{path:"email",component:Le},{path:"index",loadChildren:si,canLoad:[Vr]},{path:"404",component:je},{path:"**",redirectTo:"404"}]]}),[]),r.Eb(1024,T.m,T.A,[r.g,T.u,T.b,o.j,r.q,r.v,r.i,T.k,T.i,[2,T.t],[2,T.l]]),r.Eb(1073742336,T.q,T.q,[[2,T.v],[2,T.m]]),r.Eb(1073742336,ai,ai,[]),r.Eb(1073742336,G.e,G.e,[]),r.Eb(1073742336,G.d,G.d,[]),r.Eb(1073742336,L.g,L.g,[]),r.Eb(1073742336,U.D,U.D,[]),r.Eb(1073742336,U.m,U.m,[]),r.Eb(1073742336,U.y,U.y,[]),r.Eb(1073742336,li,li,[]),r.Eb(1073742336,ui.b,ui.b,[]),r.Eb(1073742336,qr.c,qr.c,[]),r.Eb(1073742336,$r.e,$r.e,[]),r.Eb(1073742336,ci.c,ci.c,[]),r.Eb(1073742336,Hr.g,Hr.g,[]),r.Eb(1073742336,Qr.e,Qr.e,[]),r.Eb(1073742336,Zr.c,Zr.c,[]),r.Eb(1073742336,Jr.d,Jr.d,[]),r.Eb(1073742336,Ze.i,Ze.i,[]),r.Eb(1073742336,di.a,di.a,[]),r.Eb(1073742336,hi.a,hi.a,[]),r.Eb(1073742336,pi.a,pi.a,[]),r.Eb(1073742336,f.c,f.c,[]),r.Eb(512,Fr.e,Fr.e,[]),r.Eb(1024,Fr.a,(function(e,t,n){return[Fr.j(e),{wrappers:[{name:"addons",component:fi.b}],extensions:[{name:"addons",extension:{postPopulate:fi.c}}]},Fr.j(t),{types:[{name:"input",component:gi.c,wrappers:["form-field"]},{name:"checkbox",component:gi.b,wrappers:["form-field"]},{name:"radio",component:gi.e,wrappers:["form-field"]},{name:"select",component:gi.f,wrappers:["form-field"]},{name:"textarea",component:gi.g,wrappers:["form-field"]},{name:"multicheckbox",component:gi.d,wrappers:["form-field"]}],wrappers:[{name:"form-field",component:gi.h}]},Fr.j(n),{extras:{lazyRender:!0}}]}),[Fr.e,Fr.e,Fr.e]),r.Eb(1073742336,Fr.i,Fr.i,[Fr.e,[2,Fr.a]]),r.Eb(1073742336,mi.a,mi.a,[]),r.Eb(1073742336,fi.a,fi.a,[]),r.Eb(1073742336,gi.a,gi.a,[]),r.Eb(1073742336,b,b,[]),r.Eb(256,r.Z,!0,[]),r.Eb(256,Dr,"BrowserAnimations",[]),r.Eb(256,G.p,"XSRF-TOKEN",[]),r.Eb(256,G.q,"X-XSRF-TOKEN",[]),r.Eb(256,L.m,void 0,[]),r.Eb(256,L.l,void 0,[]),r.Eb(256,Qr.a,{autoClose:!0,insideClick:!1},[]),r.Eb(256,Ze.b,{default:Ze.a,config:{positionClass:"toast-bottom-right",closeButton:!0,preventDuplicates:!0}},[])])}));i.a.production&&Object(r.S)(),gt.l().bootstrapModuleFactory(yi)},zl3R:function(e,t,n){"use strict";t.map=function(e,t){if(Array.isArray(e))return e.map(t);var n=[];for(var r in e)n.push(t(e[r],r));return n},t.each=function(e,t){if(e){if("length"in e)for(var n=0;n<e.length&&!1!==t.call(e[n],n,e[n]);n++);else for(var r in e)if(!1===t.call(e[r],r,e[r]))break;return e}},t.reverseEach=function(e,t){if(e&&"length"in e&&0!==e.length)for(var n=e.length-1;n>=0&&!1!==t.call(e[n],n,e[n]);n--);}}},[[0,6]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.