diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9926e36..f64ee98 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript', 'python' ] + language: [ 'javascript' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed diff --git a/project/static/organization-landing-page.js b/project/static/organization-landing-page.js index c28acf5..56a89ec 100644 --- a/project/static/organization-landing-page.js +++ b/project/static/organization-landing-page.js @@ -1,3 +1,3 @@ !function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c1)&&_(this)}}}),ze(a,V,{value:function(e){-1>0,I="__"+N+z,A="addEventListener",j="attached",R="Callback",x="detached",F="extends",V="attributeChanged"+R,U=j+R,q="connected"+R,B="disconnected"+R,G="created"+R,W=x+R,$="ADDITION",X="REMOVAL",J="DOMAttrModified",K="DOMContentLoaded",Y="DOMSubtreeModified",Q="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],oe=[],re=[],ae="",ie=E.documentElement,se=oe.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ce=b.prototype,le=ce.hasOwnProperty,ue=ce.isPrototypeOf,he=b.defineProperty,pe=[],fe=b.getOwnPropertyDescriptor,de=b.getOwnPropertyNames,me=b.getPrototypeOf,ge=b.setPrototypeOf,Te=!!b.__proto__,ye="__dreCEv1",_e=e.customElements,ve=!/^force/.test(t.type)&&!!(_e&&_e.define&&_e.get&&_e.whenDefined),ke=b.create||b,Ee=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(o,r){(e=se.call(t,o))<0?n[t.push(o)-1]=r:n[e]=r}}},be=e.Promise||function(e){function t(e){for(o=!0;n.length;)n.shift()(e)}var n=[],o=!1,r={catch:function(){return r},then:function(e){return n.push(e),o&&setTimeout(t,1),r}};return e(t),r},we=!1,Me=ke(null),Le=ke(null),Ce=new Ee,Se=function(e){return e.toLowerCase()},De=b.create||function e(t){return t?(e.prototype=t,new e):this},Oe=ge||(Te?function(e,t){return e.__proto__=t,e}:de&&fe?function(){function e(e,t){for(var n,o=de(t),r=0,a=o.length;r
",new He(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(P=fe(Pe,"innerHTML"))&&P.set;n&&he(Pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),P=null}).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Ye||(ge||Te?(H=function(e,t){ue.call(t,e)||p(e,t)},Z=p):Z=H=function(e,t){e[I]||(e[I]=b(!0),p(e,t))},Ne?(tt=!1,function(){var e=fe(Pe,A),t=e.value,n=function(e){var t=new CustomEvent(J,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[X]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},o=function(e,t){var n=Ue.call(this,e),o=n&&Ve.call(this,e),r=new CustomEvent(J,{bubbles:!0});Be.call(this,e,t),r.attrName=e,r.prevValue=n?o:null,r.newValue=t,n?r.MODIFICATION=r.attrChange=1:r[$]=r.attrChange=0,Fe.call(this,r)},r=function(e){var t,n=e.currentTarget,o=n[I],r=e.propertyName;o.hasOwnProperty(r)&&(o=o[r],(t=new CustomEvent(J,{bubbles:!0})).attrName=o.name,t.prevValue=o.value||null,t.newValue=o.value=n[r]||null,null==t.prevValue?t[$]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,a,i){e===J&&this[V]&&this.setAttribute!==o&&(this[I]={className:{name:"class",value:this.className}},this.setAttribute=o,this.removeAttribute=n,t.call(this,"propertychange",r)),t.call(this,e,a,i)},he(Pe,A,e)}()):He||(ie[A](J,Je),ie.setAttribute(I,1),ie.removeAttribute(I),tt&&(L=function(e){var t,n,o,r=this;if(r===e.target){for(o in t=r[I],r[I]=n=S(r),n){if(!(o in t))return C(0,r,o,t[o],n[o],$);if(n[o]!==t[o])return C(1,r,o,t[o],n[o],"MODIFICATION")}for(o in t)if(!(o in n))return C(2,r,o,t[o],n[o],X)}},C=function(e,t,n,o,r,a){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:o,newValue:r};i[a]=e,s(i)},S=function(e){for(var t,n,o={},r=e.attributes,a=0,i=r.length;a$");if(n[F]="a",(t.prototype=De(Ze.prototype)).constructor=t,e.customElements.define(o,t,n),!r.test(E.createElement("a",{is:o}).outerHTML)||!r.test((new t).outerHTML))throw n}(function e(){return Reflect.construct(Ze,[],e)},{},"document-register-element-a"+z)}catch(rt){k()}if(!t.noBuiltIn)try{if(Ge.call(E,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(at){Se=function(e){return{is:e.toLowerCase()}}}}(window)},"hN/g":function(e,t,n){"use strict";n.r(t),n("Enxc"),n("pDpN"),n("KJ4T")},pDpN:function(e,t,n){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function a(e){return r+e}const i=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return H.zone}static get currentTask(){return Z}static __load_patch(t,r,a=!1){if(D.hasOwnProperty(t)){if(!a&&i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const a="Zone:"+t;n(a),D[t]=r(e,s,O),o(a,a)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){H={parent:H,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{H=H.parent}}runGuarded(e,t=null,n,o){H={parent:H,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{H=H.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===S||e.type===C))return;const o=e.state!=b;o&&e._transitionTo(b,E),e.runCount++;const r=Z;Z=e,H={parent:H,zone:this};try{e.type==C&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==v&&e.state!==M&&(e.type==S||e.data&&e.data.isPeriodic?o&&e._transitionTo(E,b):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,b,v))),H=H.parent,Z=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(M,k,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(E,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(L,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(C,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(S,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");e._transitionTo(w,E,b);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(M,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,a)=>e.invokeTask(n,o,r,a),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=L)throw new Error("Task is missing scheduleFn.");T(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,a,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=a,this.cancelFn=i,!o)throw new Error("callback is not defined");this.callback=o;const s=this;this.invoke=t===S&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,s,this,arguments)}}static invokeTask(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&y(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=a("setTimeout"),p=a("Promise"),f=a("then");let d,m=[],g=!1;function T(t){if(0===P&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,y)}else e[h](y,0);t&&m.push(t)}function y(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;nH,onUnhandledError:N,microtaskDrainDone:N,scheduleMicroTask:T,showUncaughtError:()=>!s[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:N,patchMethod:()=>N,bindArguments:()=>[],patchThen:()=>N,patchMacroTask:()=>N,patchEventPrototype:()=>N,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>N,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>N,wrapWithCurrentZone:()=>N,filterProperties:()=>[],attachOriginToPatched:()=>N,_redefineProperty:()=>N,patchCallbacks:()=>N};let H={parent:null,zone:new s(null,null)},Z=null,P=0;function N(){}o("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,a=Object.getPrototypeOf,i=Object.create,s=Array.prototype.slice,c="addEventListener",l="removeEventListener",u=Zone.__symbol__(c),h=Zone.__symbol__(l),p="true",f="false",d=Zone.__symbol__("");function m(e,t){return Zone.current.wrap(e,t)}function g(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const T=Zone.__symbol__,y="undefined"!=typeof window,_=y?window:void 0,v=y&&_||"object"==typeof self&&self||global,k=[null];function E(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=m(e[n],t+"_"+n));return e}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,M=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),L=!M&&!w&&!(!y||!_.HTMLElement),C=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!w&&!(!y||!_.HTMLElement),S={},D=function(e){if(!(e=e||v.event))return;let t=S[e.type];t||(t=S[e.type]=T("ON_PROPERTY"+e.type));const n=this||e.target||v,o=n[t];let r;if(L&&n===_&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function O(e,t,n){let a=o(e,t);if(!a&&n&&o(n,t)&&(a={enumerable:!0,configurable:!0}),!a||!a.configurable)return;const i=T("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete a.writable,delete a.value;const s=a.get,c=a.set,l=t.substr(2);let u=S[l];u||(u=S[l]=T("ON_PROPERTY"+l)),a.set=function(t){let n=this;n||e!==v||(n=v),n&&(n[u]&&n.removeEventListener(l,D),c&&c.apply(n,k),"function"==typeof t?(n[u]=t,n.addEventListener(l,D,!1)):n[u]=null)},a.get=function(){let n=this;if(n||e!==v||(n=v),!n)return null;const o=n[u];if(o)return o;if(s){let e=s&&s.call(this);if(e)return a.set.call(this,e),"function"==typeof n.removeAttribute&&n.removeAttribute(t),e}return null},r(e,t,a),e[i]=!0}function H(e,t,n){if(t)for(let o=0;ofunction(t,o){const a=n(t,o);return a.cbIdx>=0&&"function"==typeof o[a.cbIdx]?g(a.name,o[a.cbIdx],a,r):e.apply(t,o)})}function I(e,t){e[T("OriginalDelegate")]=t}let A=!1,j=!1;function R(){try{const e=_.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function x(){if(A)return j;A=!0;try{const e=_.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(j=!0)}catch(e){}return j}Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,a=n.symbol,i=[],s=!0===e[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=a("Promise"),l=a("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{if(t.throwOriginal)throw t.rejection;throw t})}catch(e){h(e)}}};const u=a("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return O.reject(e)}const m=a("state"),g=a("value"),T=a("finally"),y=a("parentPromiseValue"),_=a("parentPromiseState"),v=null,k=!0,E=!1;function b(e,t){return n=>{try{M(e,t,n)}catch(o){M(e,!1,o)}}}const w=a("currentTaskTrace");function M(e,o,a){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===a)throw new TypeError("Promise resolved with itself");if(e[m]===v){let h=null;try{"object"!=typeof a&&"function"!=typeof a||(h=a&&a.then)}catch(u){return c(()=>{M(e,!1,u)})(),e}if(o!==E&&a instanceof O&&a.hasOwnProperty(m)&&a.hasOwnProperty(g)&&a[m]!==v)C(a),M(e,a[m],a[g]);else if(o!==E&&"function"==typeof h)try{h.call(a,c(b(e,o)),c(b(e,!1)))}catch(u){c(()=>{M(e,!1,u)})()}else{e[m]=o;const c=e[g];if(e[g]=a,e[T]===T&&o===k&&(e[m]=e[_],e[g]=e[y]),o===E&&a instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(a,w,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[g],r=!!n&&T===n[T];r&&(n[y]=o,n[_]=a);const s=t.run(i,void 0,r&&i!==d&&i!==f?[]:[o]);M(n,!0,s)}catch(o){M(n,!1,o)}},n)}const D=function(){};class O{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return M(new this(null),k,e)}static reject(e){return M(new this(null),E,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function a(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,a);return o}static all(e){return O.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof O?this:O).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),a=2,i=0;const s=[];for(let l of e){p(l)||(l=this.resolve(l));const e=i;try{l.then(o=>{s[e]=t?t.thenCallback(o):o,a--,0===a&&n(s)},r=>{t?(s[e]=t.errorCallback(r),a--,0===a&&n(s)):o(r)})}catch(c){o(c)}a++,i++}return a-=2,0===a&&n(s),r}constructor(e){const t=this;if(!(t instanceof O))throw new Error("Must be an instanceof Promise.");t[m]=v,t[g]=[];try{e&&e(b(t,k),b(t,E))}catch(n){M(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return O}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||O);const r=new o(D),a=t.current;return this[m]==v?this[g].push(a,r,e,n):S(this,a,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=O);const o=new n(D);o[T]=T;const r=t.current;return this[m]==v?this[g].push(r,o,e,e):S(this,r,o,e,e),o}}O.resolve=O.resolve,O.reject=O.reject,O.race=O.race,O.all=O.all;const H=e[c]=e.Promise;e.Promise=O;const Z=a("thenPatched");function P(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new O((e,t)=>{r.call(this,e,t)}).then(e,t)},e[Z]=!0}return n.patchThen=P,H&&(P(H),N(e,"fetch",e=>{return t=e,function(e,n){let o=t.apply(e,n);if(o instanceof O)return o;let r=o.constructor;return r[Z]||P(r),o};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=i,O}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=T("OriginalDelegate"),o=T("Promise"),r=T("Error"),a=function(){if("function"==typeof this){const a=this[n];if(a)return"function"==typeof a?t.call(a):Object.prototype.toString.call(a);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;const i=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":i.call(this)}});let F=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){F=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(de){F=!1}const V={useG:!0},U={},q={},B=new RegExp("^"+d+"(\\w+)(true|false)$"),G=T("propagationStopped");function W(e,t){const n=(t?t(e):e)+f,o=(t?t(e):e)+p,r=d+n,a=d+o;U[e]={},U[e].false=r,U[e].true=a}function $(e,t,n){const o=n&&n.add||c,r=n&&n.rm||l,i=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",u=T(o),h="."+o+":",m=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const a=e.options;a&&"object"==typeof a&&a.once&&t[r].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,a)},g=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[U[t.type].false];if(o)if(1===o.length)m(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[G]=!0,e&&e.apply(t,n)})}function K(e,t,n,o,r){const a=Zone.__symbol__(o);if(t[a])return;const i=t[a]=t[o];t[o]=function(a,s,c){return s&&s.prototype&&r.forEach(function(t){const r=`${n}.${o}::`+t,a=s.prototype;if(a.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(a,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(s.prototype,t,n)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))}),i.call(t,a,s,c)},e.attachOriginToPatched(t[o],i)}const Y=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ee=["load"],te=["blur","error","focus","load","resize","scroll","messageerror"],ne=["bounce","finish","start"],oe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],re=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ae=["close","error","open","message"],ie=["error","message"],se=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Y,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ce(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function le(e,t,n,o){e&&H(e,ce(e,t,n),o)}function ue(e,t){if(M&&!C)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(L){const e=window,t=R()?[{target:e,ignoreProperties:["error"]}]:[];le(e,se.concat(["messageerror"]),o?o.concat(t):o,a(e)),le(Document.prototype,se,o),void 0!==e.SVGElement&&le(e.SVGElement.prototype,se,o),le(Element.prototype,se,o),le(HTMLElement.prototype,se,o),le(HTMLMediaElement.prototype,Q,o),le(HTMLFrameSetElement.prototype,Y.concat(te),o),le(HTMLBodyElement.prototype,Y.concat(te),o),le(HTMLFrameElement.prototype,ee,o),le(HTMLIFrameElement.prototype,ee,o);const n=e.HTMLMarqueeElement;n&&le(n.prototype,ne,o);const r=e.Worker;r&&le(r.prototype,ie,o)}const r=t.XMLHttpRequest;r&&le(r.prototype,oe,o);const i=t.XMLHttpRequestEventTarget;i&&le(i&&i.prototype,oe,o),"undefined"!=typeof IDBIndex&&(le(IDBIndex.prototype,re,o),le(IDBRequest.prototype,re,o),le(IDBOpenDBRequest.prototype,re,o),le(IDBDatabase.prototype,re,o),le(IDBTransaction.prototype,re,o),le(IDBCursor.prototype,re,o)),n&&le(WebSocket.prototype,ae,o)}Zone.__load_patch("util",(e,t,n)=>{n.patchOnProperties=H,n.patchMethod=N,n.bindArguments=E,n.patchMacroTask=z;const a=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[a]=e[u]),e[a]&&(t[a]=t[u]=e[a]),n.patchEventPrototype=J,n.patchEventTarget=$,n.isIEOrEdge=x,n.ObjectDefineProperty=r,n.ObjectGetOwnPropertyDescriptor=o,n.ObjectCreate=i,n.ArraySlice=s,n.patchClass=P,n.wrapWithCurrentZone=m,n.filterProperties=ce,n.attachOriginToPatched=I,n._redefineProperty=Object.defineProperty,n.patchCallbacks=K,n.getGlobalObjects=()=>({globalSources:q,zoneSymbolEventNames:U,eventNames:se,isBrowser:L,isMix:C,isNode:M,TRUE_STR:p,FALSE_STR:f,ZONE_SYMBOL_PREFIX:d,ADD_EVENT_LISTENER_STR:c,REMOVE_EVENT_LISTENER_STR:l})});const he=T("zoneTask");function pe(e,t,n,o){let r=null,a=null;n+=o;const i={};function s(t){const n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=r.apply(e,n.args),t}function c(t){return a.call(e,t.data.handleId)}r=N(e,t+=o,n=>function(r,a){if("function"==typeof a[0]){const e={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?a[1]||0:void 0,args:a},n=a[0];a[0]=function(){try{return n.apply(this,arguments)}finally{e.isPeriodic||("number"==typeof e.handleId?delete i[e.handleId]:e.handleId&&(e.handleId[he]=null))}};const r=g(t,a[0],e,s,c);if(!r)return r;const l=r.data.handleId;return"number"==typeof l?i[l]=r:l&&(l[he]=r),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(r.ref=l.ref.bind(l),r.unref=l.unref.bind(l)),"number"==typeof l||l?l:r}return n.apply(e,a)}),a=N(e,n,t=>function(n,o){const r=o[0];let a;"number"==typeof r?a=i[r]:(a=r&&r[he],a||(a=r)),a&&"string"==typeof a.type?"notScheduled"!==a.state&&(a.cancelFn&&a.data.isPeriodic||0===a.runCount)&&("number"==typeof r?delete i[r]:r&&(r[he]=null),a.zone.cancelTask(a)):t.apply(e,o)})}function fe(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:a,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",(e,t,n)=>{n.patchMethod(e,"queueMicrotask",e=>function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",e=>{const t="set",n="clear";pe(e,t,n,"Timeout"),pe(e,t,n,"Interval"),pe(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,a){return t.current.run(n,e,a,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),fe(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,t,n)=>{P("MutationObserver"),P("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,n)=>{P("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,n)=>{P("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ue(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const c=e.XMLHttpRequest;if(!c)return;const l=c.prototype;let p=l[u],f=l[h];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[u],f=e[h]}}const d="readystatechange",m="scheduled";function y(e){const o=e.data,i=o.target;i[a]=!1,i[s]=!1;const c=i[r];p||(p=i[u],f=i[h]),c&&f.call(i,d,c);const l=i[r]=()=>{if(i.readyState===i.DONE)if(!o.aborted&&i[a]&&e.state===m){const n=i[t.__symbol__("loadfalse")];if(0!==i.status&&n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=i[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[i]=t[1],k.apply(e,t)}),E=T("fetchTaskAborting"),b=T("fetchTaskScheduling"),w=N(l,"send",()=>function(e,n){if(!0===t.current[b])return w.apply(e,n);if(e[o])return w.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=g("XMLHttpRequest.send",_,t,y,v);e&&!0===e[s]&&!t.aborted&&o.state===m&&o.invoke()}}),M=N(l,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[E])return M.apply(e,o)})}(e);const n=T("xhrTask"),o=T("xhrSync"),r=T("xhrListener"),a=T("xhrScheduled"),i=T("xhrURL"),s=T("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const n=e.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,E(arguments,n+"."+a))};return I(t,e),t})(i)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){X(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[T("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[T("rejectionHandledHandler")]=n("rejectionhandled"))})}},[[1,0]]]);var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"de"}); "use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(n){let i=Math.floor(Math.abs(n)),v=n.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["de"]=["de",[["AM","PM"],u,u],u,[["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.","Sept.","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."],u,u],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}",u,"{1} 'um' {0}",u],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{"ATS":["\xF6S"],"AUD":["AU$","$"],"BGM":["BGK"],"BGO":["BGJ"],"CUC":[u,"Cub$"],"DEM":["DM"],"FKP":[u,"Fl\xA3"],"GNF":[u,"F.G."],"KMF":[u,"FC"],"RON":[u,"L"],"RWF":[u,"F.Rw"],"SYP":[],"THB":["\u0E3F"],"TWD":["NT$"],"XXX":[],"ZMW":[u,"K"]},"ltr",plural,[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],u,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],u,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function s(e){return"function"==typeof e}n.r(t);let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}};function o(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const u=(()=>{function e(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}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=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;ee.concat(t instanceof u?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,e,t,n)}}[p](){return this}static create(e,t,n){const s=new f(e,t,n);return s.syncErrorThrowable=!1,s}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 g extends f{constructor(e,t,n,r){let i;super(),this._parentSubscriber=e;let o=this;s(t)?i=t:t&&(i=t.next,n=t.error,r=t.complete,t!==a&&(o=Object.create(t),s(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;i.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}=i;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):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);i.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(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(s){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=s,e.syncErrorThrown=!0,!0):(o(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(e){return e}let _=(()=>{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,r=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(a)}(e,t,n);if(r.add(s?s.call(r,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),i.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:s}=e;if(t||s)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let s;s=this.subscribe(t=>{try{e(t)}catch(r){n(r),s&&s.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?y:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class v extends h{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)}}class E extends f{constructor(e){super(e),this.destination=e}}let C=(()=>{class e extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new E(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,s=t.slice();for(let r=0;rnew S(e,t),e})();class S 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):h.EMPTY}}function T(e){return e&&"function"==typeof e.schedule}function k(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 x(e,t))}}class x{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new I(e,this.project,this.thisArg))}}class I extends f{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)}}const A=e=>t=>{for(let n=0,s=e.length;ne&&"number"==typeof e.length&&"function"!=typeof e;function N(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const R=e=>{if(e&&"function"==typeof e[m])return s=e,e=>{const t=s[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(D(e))return A(e);if(N(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e);if(e&&"function"==typeof e[O])return t=e,e=>{const n=t[O]();for(;;){let t;try{t=n.next()}catch(s){return e.error(s),e}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=c(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,s};function F(e,t){return new _(n=>{const s=new h;let r=0;return s.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||s.add(this.schedule())):n.complete()})),s})}function M(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new _(n=>{const s=new h;return s.add(t.schedule(()=>{const r=e[m]();s.add(r.subscribe({next(e){s.add(t.schedule(()=>n.next(e)))},error(e){s.add(t.schedule(()=>n.error(e)))},complete(){s.add(t.schedule(()=>n.complete()))}}))})),s})}(e,t);if(N(e))return function(e,t){return new _(n=>{const s=new h;return s.add(t.schedule(()=>e.then(e=>{s.add(t.schedule(()=>{n.next(e),s.add(t.schedule(()=>n.complete()))}))},e=>{s.add(t.schedule(()=>n.error(e)))}))),s})}(e,t);if(D(e))return F(e,t);if(function(e){return e&&"function"==typeof e[O]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{const s=new h;let r;return s.add(()=>{r&&"function"==typeof r.return&&r.return()}),s.add(t.schedule(()=>{r=e[O](),s.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(s){return void n.error(s)}t?n.complete():(n.next(e),this.schedule())}))})),s})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof _?e:new _(R(e))}class H extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class V extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function z(e,t){if(!t.closed)return e instanceof _?e.subscribe(t):R(e)(t)}function j(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?s=>s.pipe(j((n,s)=>M(e(n,s)).pipe(k((e,r)=>t(n,e,s,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new L(e,n)))}class L{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new $(e,this.project,this.concurrent))}}class $ extends V{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.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(e,t){return t?F(e,t):new _(A(e))}function q(...e){let t=Number.POSITIVE_INFINITY,n=null,s=e[e.length-1];return T(s)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof s&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof _?e[0]:function(e=Number.POSITIVE_INFINITY){return j(y,e)}(t)(B(e,n))}function U(){return function(e){return e.lift(new G(e))}}class G{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const s=new Z(e,n),r=t.subscribe(s);return s.closed||(s.connection=n.connect()),r}}class Z extends f{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,s=e._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}class W extends _{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 h,e.add(this.source.subscribe(new K(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return U()(this)}}const Q=(()=>{const e=W.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class K extends E{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 Y(e,t){return function(n){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new J(s,t));const r=Object.create(n,Q);return r.source=n,r.subjectFactory=s,r}}class J{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,s=this.subjectFactory(),r=n(s).subscribe(e);return r.add(t.subscribe(s)),r}}function X(){return new C}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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)}function ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const se=ee({__forward_ref__:ee});function re(e){return e.__forward_ref__=re,e.toString=function(){return te(this())},e}function ie(e){return"function"==typeof(t=e)&&t.hasOwnProperty(se)&&t.__forward_ref__===re?e():e;var t}class oe extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}function ce(e,t){const n=t?` in ${t}`:"";throw new oe("201",`No provider for ${le(e)} found${n}`)}function ue(e,t,n,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${n} ${s} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function pe(e){return fe(e,me)||fe(e,_e)}function fe(e,t){return e.hasOwnProperty(t)?e[t]:null}function ge(e){return e&&(e.hasOwnProperty(ye)||e.hasOwnProperty(be))?e[ye]:null}const me=ee({"\u0275prov":ee}),ye=ee({"\u0275inj":ee}),_e=ee({ngInjectableDef:ee}),be=ee({ngInjectorDef:ee});var we=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}({});let ve;function Ee(e){const t=ve;return ve=e,t}function Ce(e,t,n){const s=pe(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&we.Optional?null:void 0!==t?t:void ce(te(e),"Injector")}function Se(e){return{toString:e}.toString()}var Te=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),ke=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const xe="undefined"!=typeof globalThis&&globalThis,Ie="undefined"!=typeof window&&window,Ae="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Pe="undefined"!=typeof global&&global,Oe=xe||Pe||Ie||Ae,De={},Ne=[],Re=ee({"\u0275cmp":ee}),Fe=ee({"\u0275dir":ee}),Me=ee({"\u0275pipe":ee}),He=ee({"\u0275mod":ee}),Ve=ee({"\u0275loc":ee}),ze=ee({"\u0275fac":ee}),je=ee({__NG_ELEMENT_ID__:ee});let Le=0;function $e(e){return Se(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Te.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ne,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ke.Emulated,id:"c",styles:e.styles||Ne,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,r=e.features,i=e.pipes;return n.id+=Le++,n.inputs=Ze(e.inputs,t),n.outputs=Ze(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(Be):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(qe):null,n})}function Be(e){return Ke(e)||function(e){return e[Fe]||null}(e)}function qe(e){return function(e){return e[Me]||null}(e)}const Ue={};function Ge(e){const t={type:e.type,bootstrap:e.bootstrap||Ne,declarations:e.declarations||Ne,imports:e.imports||Ne,exports:e.exports||Ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Se(()=>{Ue[e.id]=e.type}),t}function Ze(e,t){if(null==e)return De;const n={};for(const s in e)if(e.hasOwnProperty(s)){let r=e[s],i=r;Array.isArray(r)&&(i=r[1],r=r[0]),n[r]=s,t&&(t[r]=i)}return n}const We=$e;function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ke(e){return e[Re]||null}function Ye(e,t){const n=e[He]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const Je=20,Xe=10;function et(e){return Array.isArray(e)&&"object"==typeof e[1]}function tt(e){return Array.isArray(e)&&!0===e[1]}function nt(e){return 0!=(8&e.flags)}function st(e){return 2==(2&e.flags)}function rt(e){return 1==(1&e.flags)}function it(e){return null!==e.template}function ot(e,t){return e.hasOwnProperty(ze)?e[ze]:null}class at{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function lt(){return ct}function ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=ht),ut}function ut(){const e=dt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===De)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ht(e,t,n,s){const r=dt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:De,current:null}),i=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];i[a]=new at(l&&l.currentValue,t,o===De),e[s]=t}function dt(e){return e.__ngSimpleChanges__||null}let pt;function ft(){return void 0!==pt?pt:"undefined"!=typeof document?document:void 0}function gt(e){return!!e.listen}lt.ngInherit=!0;const mt={createRenderer:(e,t)=>ft()};function yt(e){for(;Array.isArray(e);)e=e[0];return e}function _t(e,t){return yt(t[e])}function bt(e,t){return yt(t[e.index])}function wt(e,t){return e.data[t]}function vt(e,t){return e[t]}function Et(e,t){const n=t[e];return et(n)?n:n[0]}function Ct(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function St(e){return 4==(4&e[2])}function Tt(e){return 128==(128&e[2])}function kt(e,t){return null==t?null:e[t]}function xt(e){e[18]=0}function It(e,t){e[5]+=t;let n=e,s=e[3];for(;null!==s&&(1===t&&1===n[5]||-1===t&&0===n[5]);)s[5]+=t,n=s,s=s[3]}const At={lFrame:tn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Pt(){return At.bindingsEnabled}function Ot(){return At.lFrame.lView}function Dt(){return At.lFrame.tView}function Nt(e){At.lFrame.contextLView=e}function Rt(){let e=Ft();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ft(){return At.lFrame.currentTNode}function Mt(){const e=At.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ht(e,t){const n=At.lFrame;n.currentTNode=e,n.isParent=t}function Vt(){return At.lFrame.isParent}function zt(){At.lFrame.isParent=!1}function jt(){return At.isInCheckNoChangesMode}function Lt(e){At.isInCheckNoChangesMode=e}function $t(){const e=At.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bt(){return At.lFrame.bindingIndex}function qt(){return At.lFrame.bindingIndex++}function Ut(e){const t=At.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gt(e){At.lFrame.inI18n=e}function Zt(e,t){const n=At.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wt(t)}function Wt(e){At.lFrame.currentDirectiveIndex=e}function Qt(){return At.lFrame.currentQueryIndex}function Kt(e){At.lFrame.currentQueryIndex=e}function Yt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Jt(e,t,n){if(n&we.SkipSelf){let s=t,r=e;for(;s=s.parent,!(null!==s||n&we.Host||(s=Yt(r),null===s)||(r=r[15],10&s.type)););if(null===s)return!1;t=s,e=r}const s=At.lFrame=en();return s.currentTNode=t,s.lView=e,!0}function Xt(e){const t=en(),n=e[1];At.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function en(){const e=At.lFrame,t=null===e?null:e.child;return null===t?tn(e):t}function tn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function nn(){const e=At.lFrame;return At.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sn=nn;function rn(){const e=nn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function on(){return At.lFrame.selectedIndex}function an(e){At.lFrame.selectedIndex=e}function ln(){const e=At.lFrame;return wt(e.tView,e.selectedIndex)}function cn(e,t){for(let n=t.directiveStart,s=t.directiveEnd;n=s)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,i.call(o)):i.call(o)}const gn=-1;class mn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const s=gt(e);let r=0;for(;rt){o=i-1;break}}}for(;i>16,s=t;for(;n>0;)s=s[15],n--;return s}let Sn=!0;function Tn(e){const t=Sn;return Sn=e,t}let kn=0;function xn(e,t){const n=An(e,t);if(-1!==n)return n;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,In(s.data,e),In(t,null),In(s.blueprint,null));const r=Pn(e,t),i=e.injectorIndex;if(vn(r)){const e=En(r),n=Cn(r,t),s=n[1].data;for(let r=0;r<8;r++)t[i+r]=n[e+r]|s[e+r]}return t[i+8]=r,i}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function An(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,s=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(s=2===t?e.declTNode:1===t?r[6]:null,null===s)return gn;if(n++,r=r[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return gn}function On(e,t,n){!function(e,t,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(je)&&(s=n[je]),null==s&&(s=n[je]=kn++);const r=255&s;t.data[e+(r>>5)]|=1<=0?255&t:Mn:t}(n);if("function"==typeof i){if(!Jt(t,e,s))return s&we.Host?Dn(r,n,s):Nn(t,n,s,r);try{const e=i();if(null!=e||s&we.Optional)return e;ce(n)}finally{sn()}}else if("number"==typeof i){let r=null,o=An(e,t),a=gn,l=s&we.Host?t[16][6]:null;for((-1===o||s&we.SkipSelf)&&(a=-1===o?Pn(e,t):t[o+8],a!==gn&&Ln(s,!1)?(r=t[1],o=En(a),t=Cn(a,t)):o=-1);-1!==o;){const e=t[1];if(jn(i,o,e.data)){const e=Hn(o,t,n,r,s,l);if(e!==Fn)return e}a=t[o+8],a!==gn&&Ln(s,t[1].data[o+8]===l)&&jn(i,o,t)?(r=e,o=En(a),t=Cn(a,t)):o=-1}}}return Nn(t,n,s,r)}const Fn={};function Mn(){return new $n(Rt(),Ot())}function Hn(e,t,n,s,r,i){const o=t[1],a=o.data[e+8],l=Vn(a,o,n,null==s?st(a)&&Sn:s!=o&&0!=(3&a.type),r&we.Host&&i===a);return null!==l?zn(t,o,l,a):Fn}function Vn(e,t,n,s,r){const i=e.providerIndexes,o=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,u=r?a+c:e.directiveEnd;for(let h=s?a:a+c;h=l&&e.type===n)return h}if(r){const e=o[l];if(e&&it(e)&&e.type===n)return l}return null}function zn(e,t,n,s){let r=e[n];const i=t.data;if(r instanceof mn){const o=r;o.resolving&&function(e,t){throw new oe("200",`Circular dependency in DI detected for ${e}`)}(le(i[n]));const a=Tn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Ee(o.injectImpl):null;Jt(e,s,we.Default);try{r=e[n]=o.factory(void 0,i,e,s),t.firstCreatePass&&n>=s.directiveStart&&function(e,t,n){const{ngOnChanges:s,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(s){const s=ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&Ee(l),Tn(a),o.resolving=!1,sn()}}return r}function jn(e,t,n){return!!(n[t+(e>>5)]&1<{const s=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return s.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,s){const r=e.hasOwnProperty(Bn)?e[Bn]:Object.defineProperty(e,Bn,{value:[]})[Bn];for(;r.length<=s;)r.push(null);return(r[s]=r[s]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Un{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=he({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Gn(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?Zn(e,t):t(e))}function Wn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Qn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Kn(e,t,n){let s=Jn(e,t);return s>=0?e[1|s]=n:(s=~s,function(e,t,n,s){let r=e.length;if(r==t)e.push(n,s);else if(1===r)e.push(s,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=s}}(e,s,t,n)),s}function Yn(e,t){const n=Jn(e,t);if(n>=0)return e[1|n]}function Jn(e,t){return function(e,t,n){let s=0,r=e.length>>1;for(;r!==s;){const n=s+(r-s>>1),i=e[n<<1];if(t===i)return n<<1;i>t?r=n:s=n+1}return~(r<<1)}(e,t)}const Xn={},es=/\n/gm,ts="__source",ns=ee({provide:String,useValue:ee});let ss;function rs(e){const t=ss;return ss=e,t}function is(e,t=we.Default){if(void 0===ss)throw new Error("inject() must be called from an injection context");return null===ss?Ce(e,void 0,t):ss.get(e,t&we.Optional?null:void 0,t)}function os(e,t=we.Default){return(ve||is)(ie(e),t)}function as(e){const t=[];for(let n=0;n({token:e})),-1),us=ls(qn("Optional"),8),hs=ls(qn("SkipSelf"),4);let ds;function ps(e){var t;return(null===(t=function(){if(void 0===ds&&(ds=null,Oe.trustedTypes))try{ds=Oe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return ds}())||void 0===t?void 0:t.createHTML(e))||e}class fs{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function gs(e){return e instanceof fs?e.changingThisBreaksApplicationSecurity:e}class ms{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(ps(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class ys{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=ps(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=ps(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let s=t.length-1;0ws(e.trim())).join(", ")}function Es(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Cs(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Ss=Es("area,br,col,hr,img,wbr"),Ts=Es("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ks=Es("rp,rt"),xs=Cs(ks,Ts),Is=Cs(Ss,Cs(Ts,Es("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")),Cs(ks,Es("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")),xs),As=Es("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ps=Es("srcset"),Os=Cs(As,Ps,Es("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,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"),Es("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"));var Ds=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Ns(e){const t=function(){const e=Ot();return e&&e[12]}();return t?t.sanitize(Ds.URL,e)||"":function(e,t){const n=function(e){return e instanceof fs&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?gs(e):ws(ae(e))}function Rs(e){return e.ngDebugContext}function Fs(e){return e.ngOriginalError}function Ms(e,...t){e.error(...t)}class Hs{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),s=function(e){return e.ngErrorLogger||Ms}(e);s(this._console,"ERROR",e),t&&s(this._console,"ORIGINAL ERROR",t),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Rs(e)?Rs(e):this._findContext(Fs(e)):null}_findOriginalError(e){let t=Fs(e);for(;t&&Fs(t);)t=Fs(t);return t}}function Vs(e,t){e.__ngContext__=t}const zs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Oe))();function js(e){return e instanceof Function?e():e}var Ls=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let $s;function Bs(e,t){return $s(e,t)}function qs(e){const t=e[3];return tt(t)?t[3]:t}function Us(e){return Zs(e[13])}function Gs(e){return Zs(e[4])}function Zs(e){for(;null!==e&&!tt(e);)e=e[4];return e}function Ws(e,t,n,s,r){if(null!=s){let i,o=!1;tt(s)?i=s:et(s)&&(o=!0,s=s[0]);const a=yt(s);0===e&&null!==n?null==r?sr(t,n,a):nr(t,n,a,r||null,!0):1===e&&null!==n?nr(t,n,a,r||null,!0):2===e?function(e,t,n){const s=ir(e,t);s&&function(e,t,n,s){gt(e)?e.removeChild(t,n,s):t.removeChild(n)}(e,s,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,s,r){const i=n[7];i!==yt(n)&&Ws(t,e,s,i,r);for(let o=Xe;o0&&(e[n-1][4]=s[4]);const o=Qn(e,Xe+t);gr(s[1],r=s,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),s[3]=null,s[4]=null,s[2]&=-129}var r;return s}function Xs(e,t){if(!(256&t[2])){const n=t[11];gt(n)&&n.destroyNode&&gr(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return er(e[1],e);for(;t;){let n=null;if(et(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)et(t)&&er(t[1],t),t=t[3];null===t&&(t=e),et(t)&&er(t[1],t),n=t&&t[4]}t=n}}(t)}}function er(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let s=0;s=0?s[r=l]():s[r=-l].unsubscribe(),i+=2}else{const e=s[r=n[i+1]];n[i].call(e)}if(null!==s){for(let e=r+1;ei?"":r[u+1].toLowerCase();const t=8&s?e:null;if(t&&-1!==br(t,c,0)||2&s&&c!==e){if(Tr(s))return!1;o=!0}}}}else{if(!o&&!Tr(s)&&!Tr(l))return!1;if(o&&Tr(l))continue;o=!1,s=l|1&s}}return Tr(s)||o}function Tr(e){return 0==(1&e)}function kr(e,t,n,s){if(null===t)return-1;let r=0;if(s||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&s?r+="."+o:4&s&&(r+=" "+o);else""===r||Tr(o)||(t+=Ir(i,r),r=""),s=o,i=i||!Tr(s);n++}return""!==r&&(t+=Ir(i,r)),t}const Pr={};function Or(e){Dr(Dt(),Ot(),on()+e,jt())}function Dr(e,t,n,s){if(!s)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&un(t,s,n)}else{const s=e.preOrderHooks;null!==s&&hn(t,s,0,n)}an(n)}function Nr(e,t){return e<<17|t<<2}function Rr(e){return e>>17&32767}function Fr(e){return 2|e}function Mr(e){return(131068&e)>>2}function Hr(e,t){return-131069&e|t<<2}function Vr(e){return 1|e}function zr(e,t){const n=e.contentQueries;if(null!==n)for(let s=0;sJe&&Dr(e,t,Je,jt()),n(s,r)}finally{an(i)}}function Wr(e,t,n){if(nt(t)){const s=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(s,r,o)}}function ri(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ii(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function oi(e,t,n){if(n){if(t.exportAs)for(let s=0;s0&&fi(n)}}function fi(e){for(let n=Us(e);null!==n;n=Gs(n))for(let e=Xe;e0&&fi(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&fi(s)}}function gi(e,t){const n=Et(t,e),s=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function Ei(e){return e[7]||(e[7]=[])}function Ci(e){return e.cleanup||(e.cleanup=[])}function Si(e,t){const n=e[9],s=n?n.get(Hs,null):null;s&&s.handleError(t)}function Ti(e,t,n,s,r){for(let i=0;ithis.processProvider(n,e,t)),Zn([e],e=>this.processInjectorType(e,[],r)),this.records.set(Ii,zi(void 0,this));const i=this.records.get(Pi);this.scope=null!=i?i.value:null,this.source=s||("object"==typeof e?null:te(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Xn,n=we.Default){this.assertNotDestroyed();const s=rs(this);try{if(!(n&we.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Un)&&pe(e);t=n&&this.injectableDefInScope(n)?zi(Vi(e),Oi):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&we.Self?Fi():this.parent).get(e,t=n&we.Optional&&t===Xn?null:t)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(te(e)),s)throw i;return function(e,t,n,s){const r=e.ngTempTokenPath;throw t[ts]&&r.unshift(t[ts]),e.message=function(e,t,n,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=te(t);if(Array.isArray(t))r=t.map(te).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let s=t[n];e.push(n+":"+("string"==typeof s?JSON.stringify(s):te(s)))}r=`{${e.join(", ")}}`}return`${n}${s?"("+s+")":""}[${r}]: ${e.replace(es,"\n ")}`}("\n"+e.message,r,n,s),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(i,e,"R3InjectorError",this.source)}throw i}finally{rs(s)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(te(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ie(e)))return!1;let s=ge(e);const r=null==s&&e.ngModule||void 0,i=void 0===r?e:r,o=-1!==n.indexOf(i);if(void 0!==r&&(s=ge(r)),null==s)return!1;if(null!=s.imports&&!o){let e;n.push(i);try{Zn(s.imports,s=>{this.processInjectorType(s,t,n)&&(void 0===e&&(e=[]),e.push(s))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,s||Ni))}}this.injectorDefTypes.add(i);const a=ot(i)||(()=>new i);this.records.set(i,zi(a,Oi));const l=s.providers;if(null!=l&&!o){const t=e;Zn(l,e=>this.processProvider(e,t,l))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let s=Li(e=ie(e))?e:ie(e&&e.provide);const r=function(e,t,n){return ji(e)?zi(void 0,e.useValue):zi(function(e,t,n){let s;if(Li(e)){const t=ie(e);return ot(t)||Vi(t)}if(ji(e))s=()=>ie(e.useValue);else if((r=e)&&r.useFactory)s=()=>e.useFactory(...as(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))s=()=>os(ie(e.useExisting));else{const t=ie(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ot(t)||Vi(t);s=()=>new t(...as(e.deps))}var r;return s}(e),Oi)}(e);if(Li(e)||!0!==e.multi)this.records.get(s);else{let t=this.records.get(s);t||(t=zi(void 0,Oi,!0),t.factory=()=>as(t.multi),this.records.set(s,t)),s=e,t.multi.push(e)}this.records.set(s,r)}hydrate(e,t){var n;return t.value===Oi&&(t.value=Di,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Vi(e){const t=pe(e),n=null!==t?t.factory:ot(e);if(null!==n)return n;if(e instanceof Un)throw new Error(`Token ${te(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let s=0;sn.factory(e):()=>new e}(e);throw new Error("unreachable")}function zi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ji(e){return null!==e&&"object"==typeof e&&ns in e}function Li(e){return"function"==typeof e}const $i=function(e,t,n){return function(e,t=null,n=null,s){const r=Mi(e,t,n,s);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Bi=(()=>{class e{static create(e,t){return Array.isArray(e)?$i(e,t,""):$i(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Xn,e.NULL=new Ai,e.\u0275prov=he({token:e,providedIn:"any",factory:()=>os(Ii)}),e.__NG_ELEMENT_ID__=-1,e})();function qi(e,t){cn(Ct(e)[1],Rt())}let Ui=null;function Gi(){if(!Ui){const e=Oe.Symbol;if(e&&e.iterator)Ui=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(yt(e[s.index])).target:s.index;if(gt(n)){let o=null;if(!a&&l&&(o=function(e,t,n,s){const r=e.cleanup;if(null!=r)for(let i=0;in?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,r,s.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=mo(s,t,i,!1);const e=n.listen(p.name||f,r,i);u.push(i,e),c&&c.push(r,m,g,g+1)}}else i=mo(s,t,i,!0),f.addEventListener(r,i,o),u.push(i),c&&c.push(r,m,g,o)}else i=mo(s,t,i,!1);const d=s.outputs;let p;if(h&&null!==d&&(p=d[r])){const e=p.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,At.lFrame.contextLView))[8]}(e)}function _o(e,t,n){return bo(e,"",t,"",n),_o}function bo(e,t,n,s,r){const i=Ot(),o=eo(i,t,n,s);return o!==Pr&&ti(Dt(),ln(),i,e,o,i[11],r,!1),bo}const wo=[];function vo(e,t,n,s,r){const i=e[n+1],o=null===t;let a=s?Rr(i):Mr(i),l=!1;for(;0!==a&&(!1===l||o);){const n=e[a+1];Eo(e[a],t)&&(l=!0,e[a+1]=s?Vr(n):Fr(n)),a=s?Rr(n):Mr(n)}l&&(e[n+1]=s?Fr(i):Vr(i))}function Eo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Jn(e,t)>=0}const Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function So(e){return e.substring(Co.key,Co.keyEnd)}function To(e,t){const n=Co.textEnd;return n===t?-1:(t=Co.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Co.key=t,n),ko(e,t,n))}function ko(e,t,n){for(;t=0;n=To(t,n))Kn(e,So(t),!0)}function Ao(e,t){return t>=e.expandoStartIndex}function Po(e,t,n,s){const r=e.data;if(null===r[n+1]){const i=r[on()],o=Ao(e,n);Mo(i,s)&&null===t&&!o&&(t=!1),t=function(e,t,n,s){const r=function(e){const t=At.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=s?t.residualClasses:t.residualStyles;if(null===r)0===(s?t.classBindings:t.styleBindings)&&(n=Do(n=Oo(null,e,t,n,s),t.attrs,s),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Oo(r,e,t,n,s),null===i){let n=function(e,t,n){const s=n?t.classBindings:t.styleBindings;if(0!==Mr(s))return e[Rr(s)]}(e,t,s);void 0!==n&&Array.isArray(n)&&(n=Oo(null,e,t,n[1],s),n=Do(n,t.attrs,s),function(e,t,n,s){e[Rr(n?t.classBindings:t.styleBindings)]=s}(e,t,s,n))}else i=function(e,t,n){let s;const r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=Rr(e[a+1]);e[s+1]=Nr(t,a),0!==t&&(e[t+1]=Hr(e[t+1],s)),e[a+1]=131071&e[a+1]|s<<17}else e[s+1]=Nr(a,0),0!==a&&(e[a+1]=Hr(e[a+1],s)),a=s;else e[s+1]=Nr(l,0),0===a?a=s:e[l+1]=Hr(e[l+1],s),l=s;u&&(e[s+1]=Fr(e[s+1])),vo(e,c,s,!0),vo(e,c,s,!1),function(e,t,n,s,r){const i=r?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Jn(i,t)>=0&&(n[s+1]=Vr(n[s+1]))}(t,c,e,s,i),o=Nr(a,l),i?t.classBindings=o:t.styleBindings=o}(r,i,t,n,o,s)}}function Oo(e,t,n,s,r){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const t=e[r],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[r+1];u===Pr&&(u=c?wo:void 0);let h=c?Yn(u,s):l===s?u:void 0;if(i&&!Fo(h)&&(h=Yn(t,s)),Fo(h)&&(a=h,o))return a;const d=e[r+1];r=o?Rr(d):Mr(d)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=Yn(e,s))}return a}function Fo(e){return void 0!==e}function Mo(e,t){return 0!=(e.flags&(t?16:32))}function Ho(e,t=""){const n=Ot(),s=Dt(),r=e+Je,i=s.firstCreatePass?Lr(s,r,1,t,null):s.data[r],o=n[r]=Qs(n[11],t);ur(s,n,o,i),Ht(i,!1)}function Vo(e){return zo("",e,""),Vo}function zo(e,t,n){const s=Ot(),r=eo(s,e,t,n);return r!==Pr&&ki(s,on(),r),zo}function jo(e,t,n,s,r){const i=Ot(),o=function(e,t,n,s,r,i){const o=Ji(e,Bt(),n,r);return Ut(2),o?t+ae(n)+s+ae(r)+i:Pr}(i,e,t,n,s,r);return o!==Pr&&ki(i,on(),o),jo}const Lo=void 0;var $o=["en",[["a","p"],["AM","PM"],Lo],[["AM","PM"],Lo,Lo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Lo,[["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"]],Lo,[["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}",Lo,"{1} 'at' {0}",Lo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Bo={};function qo(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Uo(t);if(n)return n;const s=t.split("-")[0];if(n=Uo(s),n)return n;if("en"===s)return $o;throw new Error(`Missing locale data for the locale "${e}".`)}function Uo(e){return e in Bo||(Bo[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),Bo[e]}var Go=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Zo="en-US",Wo={marker:"element"},Qo={marker:"ICU"};var Ko=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({});let Yo=Zo;function Jo(e){var t;null==(t=e)&&ue("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(Yo=e.toLowerCase().replace(/_/g,"-"))}function Xo(e,t,n){const s=t.insertBeforeIndex,r=Array.isArray(s)?s[0]:s;return null===r?or(e,0,n):yt(n[r])}function ea(e,t,n,s,r){const i=t.insertBeforeIndex;if(Array.isArray(i)){let o=s,a=null;if(3&t.type||(a=o,o=r),null!==o&&0==(2&t.flags))for(let t=1;t1)for(let n=e.length-2;n>=0;n--){const s=e[n];na(s)||sa(s,t)&&null===ra(s)&&ia(s,t.index)}}function na(e){return!(64&e.type)}function sa(e,t){return na(t)||e.index>t.index}function ra(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function ia(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(cr(Xo,ea),e.insertBeforeIndex=t)}function oa(e,t,n){const s=$r(e,n,64,null,null);return ta(t,s),s}const aa=/\ufffd(\d+):?\d*\ufffd/gi,la=/\ufffd(\d+)\ufffd/,ca=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ua=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ha=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,da=/\uE500/g;function pa(e,t,n,s,r,i,o){const a=Br(e,s,1,null);let l=a<0?t[o]:(e.push(s,n),r(t[1].data[~o],t),i())}return 0===e.length?null:(n=e.pop(),s=e.pop(),i())}return function(n,s){for(t=s;e.length;)e.pop();return r(n.value,s),i}}())),r.push(l,null===i?"":i);const u=$r(e,a,o?32:1,null===i?"":i,null);ta(n,u);const h=u.index;return Ht(u,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;var s;null===n?(cr(Xo,ea),n=e.insertBeforeIndex=[null,t]):("Expecting array here",(s=Array.isArray(n))!=!0&&ue("Expecting array here",s,true,"=="),n.push(t))}(c,h),u}function fa(e,t,n,s,r,i,o){const a=o.match(aa),l=pa(e,t,n,i,s,a?null:o,!1);a&&ga(r,o,l.index)}function ga(e,t,n,s,r=null){const i=e.length,o=i+1;e.push(null,null);const a=i+2,l=t.split(aa);let c=0;for(let u=0;un.length&&n.push(r)}return{type:s,mainBinding:r,cases:t,values:n}}function wa(e){if(!e)return[];let t=0;const n=[],s=[],r=/[{}]/g;let i;for(r.lastIndex=0;i=r.exec(e);){const r=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);ca.test(n)?s.push(ba(n)):s.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);s.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return s.push(o),s}function va(e,t,n,s,r,i,o,a){const l=[],c=[],u=[];t.cases.push(i),t.create.push(l),t.remove.push(c),t.update.push(u);const h=function(e){const t=new ys(e);return function(){try{return!!(new window.DOMParser).parseFromString(ps(""),"text/html")}catch(e){return!1}}()?new ms(t):t}(ft()).getInertBodyElement(o),d=("content"in(p=h)&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(p)?p.content:null)||h;var p;return d?Ea(e,t,n,s,l,c,u,d,r,a,0):0}function Ea(e,t,n,s,r,i,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=Br(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const p=d,f=p.tagName.toLowerCase();if(Is.hasOwnProperty(f)){Ta(r,Wo,f,l,a),e.data[a]=f;const g=p.attributes;for(let e=0;e>>Ko.SHIFT;let h=e[u];null===h&&(h=e[u]=l?r.createComment(a):Qs(r,a)),c&&null!==n&&nr(r,n,h,s,!1)}}(r,l.create,c,a&&8&a.type?r[a.index]:null),Gt(!0)})(e,t,n),Gt(!1)}class Ia{}class Aa{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Pa=(()=>{class e{}return e.NULL=new Aa,e})();function Oa(...e){}function Da(e,t){return new Ra(bt(e,t))}const Na=function(){return Da(Rt(),Ot())};let Ra=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=Na,e})();function Fa(e){return e instanceof Ra?e.nativeElement:e}class Ma{}let Ha=(()=>{class e{}return e.\u0275prov=he({token:e,providedIn:"root",factory:()=>null}),e})();class Va{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const za=new Va("11.2.5");class ja{constructor(){}supports(e){return Wi(e)}create(e){return new $a(e)}}const La=(e,t)=>t;class $a{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||La}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,s=0,r=null;for(;t||n;){const i=!n||t&&t.currentIndex{s=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,s)?(i&&(r=this._verifyReinsertion(r,e,s,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,s,t),i=!0),r=r._next,t++}),this.length=t;return this._truncate(r),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;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=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,s){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,s)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,s)):e=this._addAfter(new Ba(t,n),r,s),e}_verifyReinsertion(e,t,n,s){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,s):e.currentIndex!=s&&(e.currentIndex=s,this._addToMoves(e,s)),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 s=e._prevRemoved,r=e._nextRemoved;return null===s?this._removalsHead=r:s._nextRemoved=r,null===r?this._removalsTail=s:r._prevRemoved=s,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 s=null===t?this._itHead:t._next;return e._next=s,e._prev=t,null===s?this._itTail=e:s._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Ua),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 Ua),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 Ba{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 qa{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)&&Object.is(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 Ua{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new qa,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 Ga(e,t,n){const s=e.previousIndex;if(null===s)return s;let r=0;return n&&s{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const s=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,s)}}),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 s=n._prev,r=n._next;return s&&(s._next=r),r&&(r._prev=s),n._next=null,n._prev=null,n}const n=new Qa(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){Object.is(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 Qa{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}}function Ka(){return new Ya([new ja])}let Ya=(()=>{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=>e.create(t,n||Ka()),deps:[[e,new hs,new us]]}}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.\u0275prov=he({token:e,providedIn:"root",factory:Ka}),e})();function Ja(){return new Xa([new Za])}let Xa=(()=>{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=>e.create(t,n||Ja()),deps:[[e,new hs,new us]]}}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.\u0275prov=he({token:e,providedIn:"root",factory:Ja}),e})();function el(e,t,n,s,r=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&s.push(yt(i)),tt(i))for(let e=Xe;e-1&&(Js(e,n),Qn(t,n))}this._attachedToViewContainer=!1}Xs(this._lView[1],this._lView)}onDestroy(e){Xr(this._lView[1],this._lView,null,e)}markForCheck(){yi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){_i(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Lt(!0);try{_i(e,t,n)}finally{Lt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,gr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class nl extends tl{constructor(e){super(e),this._view=e}detectChanges(){bi(this._view)}checkNoChanges(){!function(e){Lt(!0);try{bi(e)}finally{Lt(!1)}}(this._view)}get context(){return null}}const sl=il;let rl=(()=>{class e{}return e.__NG_ELEMENT_ID__=sl,e.__ChangeDetectorRef__=!0,e})();function il(e=!1){return function(e,t,n){if(!n&&st(e)){const n=Et(e.index,t);return new tl(n,n)}return 47&e.type?new tl(t[16],t):null}(Rt(),Ot(),e)}const ol=[new Za],al=new Ya([new ja]),ll=new Xa(ol),cl=function(){return pl(Rt(),Ot())};let ul=(()=>{class e{}return e.__NG_ELEMENT_ID__=cl,e})();const hl=ul,dl=class extends hl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=jr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(t)),qr(t,n,e),new tl(n)}};function pl(e,t){return 4&e.type?new dl(t,e,Da(e,t)):null}class fl{}const gl=function(){return vl(Rt(),Ot())};let ml=(()=>{class e{}return e.__NG_ELEMENT_ID__=gl,e})();const yl=ml,_l=class extends yl{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Da(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){const e=Pn(this._hostTNode,this._hostLView);if(vn(e)){const t=Cn(e,this._hostLView),n=En(e);return new $n(t[1].data[n+8],t)}return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=bl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Xe}createEmbeddedView(e,t,n){const s=e.createEmbeddedView(t||{});return this.insert(s,n),s}createComponent(e,t,n,s,r){const i=n||this.parentInjector;if(!r&&null==e.ngModule&&i){const e=i.get(fl,null);e&&(r=e)}const o=e.create(i,s,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,s=n[1];if(tt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],s=new _l(t,t[6],t[3]);s.detach(s.indexOf(e))}}const r=this._adjustIndex(t),i=this._lContainer;!function(e,t,n,s){const r=Xe+s,i=n.length;s>0&&(n[r-1][4]=t),szs});class kl extends Ia{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Ar).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Sl(this.componentDef.inputs)}get outputs(){return Sl(this.componentDef.outputs)}create(e,t,n,s){const r=(s=s||this.ngModule)?function(e,t){return{get:(n,s,r)=>{const i=e.get(n,El,r);return i!==El||s===El?i:t.get(n,s,r)}}}(e,s.injector):e,i=r.get(Ma,mt),o=r.get(Ha,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(gt(e))return e.selectRootElement(t,n===ke.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}(a,n,this.componentDef.encapsulation):Ks(i.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:zs,clean:vi,playerHandler:null,flags:0},d=Jr(0,null,null,1,0,null,null,null,null,null),p=jr(null,d,h,u,null,null,i,a,o,r);let f,g;Xt(p);try{const e=function(e,t,n,s,r,i){const o=n[1];n[20]=e;const a=Lr(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(xi(a,l,!0),null!==e&&(yn(r,e,l),null!==a.classes&&_r(r,e,a.classes),null!==a.styles&&yr(r,e,a.styles)));const c=s.createRenderer(e,t),u=jr(n,Yr(t),null,t.onPush?64:16,n[20],a,s,c,null,null);return o.firstCreatePass&&(On(xn(a,n),o,t.type),ii(o,a),ai(a,n.length,1)),mi(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)yn(a,c,["ng-version",za.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let s=1,r=2;for(;s0&&_r(a,c,t.join(" "))}if(g=wt(d,Je),void 0!==t){const e=g.projection=[];for(let n=0;ne(o,t)),t.contentQueries){const e=Rt();t.contentQueries(1,o,e.directiveStart)}const a=Rt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(an(a.index),si(n[1],a,0,a.directiveStart,a.directiveEnd,t),ri(t,o)),o}(e,this.componentDef,p,h,[qi]),qr(d,p,null)}finally{rn()}return new xl(this.componentType,f,Da(g,p),p,g)}}class xl extends class{}{constructor(e,t,n,s,r){super(),this.location=n,this._rootLView=s,this._tNode=r,this.instance=t,this.hostView=this.changeDetectorRef=new nl(s),this.componentType=e}get injector(){return new $n(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const Il=new Map;class Al extends fl{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Cl(this);const n=Ye(e),s=e[Ve]||null;s&&Jo(s),this._bootstrapComponents=js(n.bootstrap),this._r3Injector=Mi(e,t,[{provide:fl,useValue:this},{provide:Pa,useValue:this.componentFactoryResolver}],te(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Bi.THROW_IF_NOT_FOUND,n=we.Default){return e===Bi||e===fl||e===Ii?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Pl extends class{}{constructor(e){super(),this.moduleType=e,null!==Ye(e)&&function(e){const t=new Set;!function e(n){const s=Ye(n,!0),r=s.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(r,Il.get(r),n),Il.set(r,n));const i=js(s.imports);for(const o of i)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Al(this.moduleType,e)}}function Ol(e,t,n,s){return Rl(Ot(),$t(),e,t,n,s)}function Dl(e,t,n,s,r){return Fl(Ot(),$t(),e,t,n,s,r)}function Nl(e,t){const n=e[t];return n===Pr?void 0:n}function Rl(e,t,n,s,r,i){const o=t+n;return Yi(e,o,r)?Ki(e,o+1,i?s.call(i,r):s(r)):Nl(e,o+1)}function Fl(e,t,n,s,r,i,o){const a=t+n;return Ji(e,a,r,i)?Ki(e,a+2,o?s.call(o,r,i):s(r,i)):Nl(e,a+2)}function Ml(e,t){const n=Dt();let s;const r=e+Je;n.firstCreatePass?(s=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const s=t[n];if(e===s.name)return s}throw new oe("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,s.onDestroy)):s=n.data[r];const i=s.factory||(s.factory=ot(s.type)),o=Ee(so);try{const e=Tn(!1),t=i();return Tn(e),function(e,t,n,s){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=s}(n,Ot(),r,t),t}finally{Ee(o)}}function Hl(e,t,n){const s=e+Je,r=Ot(),i=vt(r,s);return jl(r,zl(r,s)?Rl(r,$t(),t,i.transform,n,i):i.transform(n))}function Vl(e,t,n,s){const r=e+Je,i=Ot(),o=vt(i,r);return jl(i,zl(i,r)?Fl(i,$t(),t,o.transform,n,s,o):o.transform(n,s))}function zl(e,t){return e[1].data[t].pure}function jl(e,t){return Zi.isWrapped(t)&&(t=Zi.unwrap(t),e[Bt()]=Pr),t}const Ll=class extends C{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let s,r=e=>null,i=()=>null;e&&"object"==typeof e?(s=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(r=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(s,r,i);return e instanceof h&&e.add(o),o}};function $l(){return this._results[Gi()]()}class Bl{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Gi(),n=Bl.prototype;n[t]||(n[t]=$l)}get changes(){return this._changes||(this._changes=new Ll)}get(e){return this._results[e]}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,t){const n=this;n.dirty=!1;const s=Gn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let s=0;s0)s.push(o[e/2]);else{const r=i[e+1],o=t[-n];for(let e=Xe;e{class e{constructor(e){this.appInits=e,this.resolve=Oa,this.reject=Oa,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{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(os(rc,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const oc=new Un("AppId"),ac={provide:oc,useFactory:function(){return`${lc()}${lc()}${lc()}`},deps:[]};function lc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const cc=new Un("Platform Initializer"),uc=new Un("Platform ID"),hc=new Un("appBootstrapListener");let dc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const pc=new Un("LocaleId"),fc=new Un("DefaultCurrencyCode");class gc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const mc=function(e){return new Pl(e)},yc=mc,_c=function(e){return Promise.resolve(mc(e))},bc=function(e){const t=mc(e),n=js(Ye(e).declarations).reduce((e,t)=>{const n=Ke(t);return n&&e.push(new kl(n)),e},[]);return new gc(t,n)},wc=bc,vc=function(e){return Promise.resolve(bc(e))};let Ec=(()=>{class e{constructor(){this.compileModuleSync=yc,this.compileModuleAsync=_c,this.compileModuleAndAllComponentsSync=wc,this.compileModuleAndAllComponentsAsync=vc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Cc=(()=>Promise.resolve(0))();function Sc(e){"undefined"==typeof Zone?Cc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Tc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ll(!1),this.onMicrotaskEmpty=new Ll(!1),this.onStable=new Ll(!1),this.onError=new Ll(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&t,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let e=Oe.requestAnimationFrame,t=Oe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ic(e),xc(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ic(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,r,i,o,a)=>{try{return Ac(e),n.invokeTask(r,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Pc(e)}},onInvoke:(n,s,r,i,o,a,l)=>{try{return Ac(e),n.invoke(r,i,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Pc(e)}},onHasTask:(t,n,s,r)=>{t.hasTask(s,r),n===s&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Ic(e),xc(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,s,r)=>(t.handleError(s,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Tc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Tc.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,s){const r=this._inner,i=r.scheduleEventTask("NgZoneEvent: "+s,e,kc,Oa,Oa);try{return r.runTask(i,t,n)}finally{r.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const kc={};function xc(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 Ic(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ac(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pc(e){e._nesting--,xc(e)}class Oc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ll,this.onMicrotaskEmpty=new Ll,this.onStable=new Ll,this.onError=new Ll}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,s){return e.apply(t,n)}}let Dc=(()=>{class e{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:()=>{Tc.assertNotInAngularZone(),Sc(()=>{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())Sc(()=>{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 s=-1;t&&t>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==s),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:s,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[]}}return e.\u0275fac=function(t){return new(t||e)(os(Tc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Nc=(()=>{class e{constructor(){this._applications=new Map,Mc.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 Mc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Rc{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Fc,Mc=new Rc,Hc=!0,Vc=!1;const zc=new Un("AllowMultipleToken");function jc(e,t,n=[]){const s=`Platform: ${t}`,r=new Un(s);return(t=[])=>{let i=Lc();if(!i||i.injector.get(zc,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:Pi,useValue:"platform"});!function(e){if(Fc&&!Fc.destroyed&&!Fc.injector.get(zc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fc=e.get($c);const t=e.get(cc,null);t&&t.forEach(e=>e())}(Bi.create({providers:e,name:s}))}return function(e){const t=Lc();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}(r)}}function Lc(){return Fc&&!Fc.destroyed?Fc:null}let $c=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Oc:("zone.js"===e?void 0:e)||new Tc({enableLongStackTrace:(Vc=!0,Hc),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),s=[{provide:Tc,useValue:n}];return n.run(()=>{const t=Bi.create({providers:s,parent:this.injector,name:e.moduleType.name}),r=e.create(t),i=r.injector.get(Hs,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{i.handleError(e)}});r.onDestroy(()=>{Uc(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const s=n();return po(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(i,n,()=>{const e=r.injector.get(ic);return e.runInitializers(),e.donePromise.then(()=>(Jo(r.injector.get(pc,Zo)||Zo),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=Bc({},t);return function(e,t,n){const s=new Pl(n);return Promise.resolve(s)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(qc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${te(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}}return e.\u0275fac=function(t){return new(t||e)(os(Bi))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Bc(e,t){return Array.isArray(t)?t.reduce(Bc,e):Object.assign(Object.assign({},e),t)}let qc=(()=>{class e{constructor(e,t,n,s,r){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new _(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),o=new _(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Tc.assertNotInAngularZone(),Sc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Tc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=q(i,o.pipe(e=>U()(Y(X)(e))))}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 Ia?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(fl),r=n.create(Bi.NULL,[],t||n.selector,s),i=r.location.nativeElement,o=r.injector.get(Dc,null),a=o&&r.injector.get(Nc);return o&&a&&a.registerApplication(i,o),r.onDestroy(()=>{this.detachView(r.hostView),Uc(this.components,r),a&&a.unregisterApplication(i)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Uc(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(hc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(os(Tc),os(Bi),os(Hs),os(Pa),os(ic))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Uc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Gc=jc(null,"core",[{provide:uc,useValue:"unknown"},{provide:$c,deps:[Bi]},{provide:Nc,deps:[]},{provide:dc,deps:[]}]),Zc=[{provide:qc,useClass:qc,deps:[Tc,Bi,Hs,Pa,ic]},{provide:Tl,deps:[Tc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:ic,useClass:ic,deps:[[new us,rc]]},{provide:Ec,useClass:Ec,deps:[]},ac,{provide:Ya,useFactory:function(){return al},deps:[]},{provide:Xa,useFactory:function(){return ll},deps:[]},{provide:pc,useFactory:function(e){return Jo(e=e||"undefined"!=typeof $localize&&$localize.locale||Zo),e},deps:[[new cs(pc),new us,new hs]]},{provide:fc,useValue:"USD"}];let Wc=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(os(qc))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:Zc}),e})(),Qc=null;function Kc(){return Qc}const Yc=new Un("DocumentToken");var Jc=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Xc=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),eu=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),tu=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),nu=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function su(e,t){return lu(qo(e)[Go.DateFormat],t)}function ru(e,t){return lu(qo(e)[Go.TimeFormat],t)}function iu(e,t){return lu(qo(e)[Go.DateTimeFormat],t)}function ou(e,t){const n=qo(e),s=n[Go.NumberSymbols][t];if(void 0===s){if(t===nu.CurrencyDecimal)return n[Go.NumberSymbols][nu.Decimal];if(t===nu.CurrencyGroup)return n[Go.NumberSymbols][nu.Group]}return s}function au(e){if(!e[Go.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Go.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function lu(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 cu(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const uu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hu={},du=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|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]*)/;var pu=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),fu=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),gu=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function mu(e,t,n,s){let r=function(e){if(Au(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,s=1]=e.split("-").map(e=>+e);return yu(t,n-1,s)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(uu))return function(e){const t=new Date(0);let n=0,s=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),s=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-s,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!Au(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=_u(n,t)||t;let i,o=[];for(;t;){if(i=du.exec(t),!i){o.push(t);break}{o=o.concat(i.slice(1));const e=o.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();s&&(a=Iu(s,a),r=function(e,t,n){const s=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Iu(t,s)-s))}(r,s));let l="";return o.forEach(e=>{const t=function(e){if(xu[e])return xu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Eu(gu.Eras,eu.Abbreviated);break;case"GGGG":t=Eu(gu.Eras,eu.Wide);break;case"GGGGG":t=Eu(gu.Eras,eu.Narrow);break;case"y":t=vu(fu.FullYear,1,0,!1,!0);break;case"yy":t=vu(fu.FullYear,2,0,!0,!0);break;case"yyy":t=vu(fu.FullYear,3,0,!1,!0);break;case"yyyy":t=vu(fu.FullYear,4,0,!1,!0);break;case"Y":t=ku(1);break;case"YY":t=ku(2,!0);break;case"YYY":t=ku(3);break;case"YYYY":t=ku(4);break;case"M":case"L":t=vu(fu.Month,1,1);break;case"MM":case"LL":t=vu(fu.Month,2,1);break;case"MMM":t=Eu(gu.Months,eu.Abbreviated);break;case"MMMM":t=Eu(gu.Months,eu.Wide);break;case"MMMMM":t=Eu(gu.Months,eu.Narrow);break;case"LLL":t=Eu(gu.Months,eu.Abbreviated,Xc.Standalone);break;case"LLLL":t=Eu(gu.Months,eu.Wide,Xc.Standalone);break;case"LLLLL":t=Eu(gu.Months,eu.Narrow,Xc.Standalone);break;case"w":t=Tu(1);break;case"ww":t=Tu(2);break;case"W":t=Tu(1,!0);break;case"d":t=vu(fu.Date,1);break;case"dd":t=vu(fu.Date,2);break;case"E":case"EE":case"EEE":t=Eu(gu.Days,eu.Abbreviated);break;case"EEEE":t=Eu(gu.Days,eu.Wide);break;case"EEEEE":t=Eu(gu.Days,eu.Narrow);break;case"EEEEEE":t=Eu(gu.Days,eu.Short);break;case"a":case"aa":case"aaa":t=Eu(gu.DayPeriods,eu.Abbreviated);break;case"aaaa":t=Eu(gu.DayPeriods,eu.Wide);break;case"aaaaa":t=Eu(gu.DayPeriods,eu.Narrow);break;case"b":case"bb":case"bbb":t=Eu(gu.DayPeriods,eu.Abbreviated,Xc.Standalone,!0);break;case"bbbb":t=Eu(gu.DayPeriods,eu.Wide,Xc.Standalone,!0);break;case"bbbbb":t=Eu(gu.DayPeriods,eu.Narrow,Xc.Standalone,!0);break;case"B":case"BB":case"BBB":t=Eu(gu.DayPeriods,eu.Abbreviated,Xc.Format,!0);break;case"BBBB":t=Eu(gu.DayPeriods,eu.Wide,Xc.Format,!0);break;case"BBBBB":t=Eu(gu.DayPeriods,eu.Narrow,Xc.Format,!0);break;case"h":t=vu(fu.Hours,1,-12);break;case"hh":t=vu(fu.Hours,2,-12);break;case"H":t=vu(fu.Hours,1);break;case"HH":t=vu(fu.Hours,2);break;case"m":t=vu(fu.Minutes,1);break;case"mm":t=vu(fu.Minutes,2);break;case"s":t=vu(fu.Seconds,1);break;case"ss":t=vu(fu.Seconds,2);break;case"S":t=vu(fu.FractionalSeconds,1);break;case"SS":t=vu(fu.FractionalSeconds,2);break;case"SSS":t=vu(fu.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Cu(pu.Short);break;case"ZZZZZ":t=Cu(pu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Cu(pu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Cu(pu.Long);break;default:return null}return xu[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function yu(e,t,n){const s=new Date(0);return s.setFullYear(e,t,n),s.setHours(0,0,0),s}function _u(e,t){const n=function(e){return qo(e)[Go.LocaleId]}(e);if(hu[n]=hu[n]||{},hu[n][t])return hu[n][t];let s="";switch(t){case"shortDate":s=su(e,tu.Short);break;case"mediumDate":s=su(e,tu.Medium);break;case"longDate":s=su(e,tu.Long);break;case"fullDate":s=su(e,tu.Full);break;case"shortTime":s=ru(e,tu.Short);break;case"mediumTime":s=ru(e,tu.Medium);break;case"longTime":s=ru(e,tu.Long);break;case"fullTime":s=ru(e,tu.Full);break;case"short":const t=_u(e,"shortTime"),n=_u(e,"shortDate");s=bu(iu(e,tu.Short),[t,n]);break;case"medium":const r=_u(e,"mediumTime"),i=_u(e,"mediumDate");s=bu(iu(e,tu.Medium),[r,i]);break;case"long":const o=_u(e,"longTime"),a=_u(e,"longDate");s=bu(iu(e,tu.Long),[o,a]);break;case"full":const l=_u(e,"fullTime"),c=_u(e,"fullDate");s=bu(iu(e,tu.Full),[l,c])}return s&&(hu[n][t]=s),s}function bu(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function wu(e,t,n="-",s,r){let i="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length0||a>-n)&&(a+=n),e===fu.Hours)0===a&&-12===n&&(a=12);else if(e===fu.FractionalSeconds)return l=t,wu(a,3).substr(0,l);var l;const c=ou(o,nu.MinusSign);return wu(a,t,c,s,r)}}function Eu(e,t,n=Xc.Format,s=!1){return function(r,i){return function(e,t,n,s,r,i){switch(n){case gu.Months:return function(e,t,n){const s=qo(e),r=lu([s[Go.MonthsFormat],s[Go.MonthsStandalone]],t);return lu(r,n)}(t,r,s)[e.getMonth()];case gu.Days:return function(e,t,n){const s=qo(e),r=lu([s[Go.DaysFormat],s[Go.DaysStandalone]],t);return lu(r,n)}(t,r,s)[e.getDay()];case gu.DayPeriods:const o=e.getHours(),a=e.getMinutes();if(i){const e=function(e){const t=qo(e);return au(t),(t[Go.ExtraData][2]||[]).map(e=>"string"==typeof e?cu(e):[cu(e[0]),cu(e[1])])}(t),n=function(e,t,n){const s=qo(e);au(s);const r=lu([s[Go.ExtraData][0],s[Go.ExtraData][1]],t)||[];return lu(r,n)||[]}(t,r,s),i=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,s=o>=t.hours&&a>=t.minutes,r=o0?Math.floor(r/60):Math.ceil(r/60);switch(e){case pu.Short:return(r>=0?"+":"")+wu(o,2,i)+wu(Math.abs(r%60),2,i);case pu.ShortGMT:return"GMT"+(r>=0?"+":"")+wu(o,1,i);case pu.Long:return"GMT"+(r>=0?"+":"")+wu(o,2,i)+":"+wu(Math.abs(r%60),2,i);case pu.Extended:return 0===s?"Z":(r>=0?"+":"")+wu(o,2,i)+":"+wu(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}function Su(e){return yu(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Tu(e,t=!1){return function(n,s){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=Su(n),t=function(e){const t=yu(e,0,1).getDay();return yu(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),s=e.getTime()-t.getTime();r=1+Math.round(s/6048e5)}return wu(r,e,ou(s,nu.MinusSign))}}function ku(e,t=!1){return function(n,s){return wu(Su(n).getFullYear(),e,ou(s,nu.MinusSign),t)}}const xu={};function Iu(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Au(e){return e instanceof Date&&!isNaN(e.valueOf())}class Pu{}let Ou=(()=>{class e extends Pu{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return qo(e)[Go.PluralCase]}(t||this.locale)(e)){case Jc.Zero:return"zero";case Jc.One:return"one";case Jc.Two:return"two";case Jc.Few:return"few";case Jc.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(os(pc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Du(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[s,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(s.trim()===t)return decodeURIComponent(r)}return null}class Nu{constructor(e,t,n,s){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=s}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}}let Ru=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){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,s)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Nu(null,this._ngForOf,-1,-1),null===s?void 0:s),r=new Fu(e,n);t.push(r)}else if(null==s)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,s);const i=new Fu(e,r);t.push(i)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(so(ml),so(ul),so(Ya))},e.\u0275dir=We({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Fu{constructor(e,t){this.record=e,this.view=t}}let Mu=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Hu,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){Vu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Vu("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)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(so(ml),so(ul))},e.\u0275dir=We({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Hu{constructor(){this.$implicit=null,this.ngIf=null}}function Vu(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}class zu{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()}}let ju=(()=>{class e{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{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new zu(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(so(ml),so(ul),so(ju,1))},e.\u0275dir=We({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),$u=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else 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]}}return e.\u0275fac=function(t){return new(t||e)(so(ml))},e.\u0275dir=We({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[lt]}),e})();function Bu(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${te(e)}'`)}class qu{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Uu{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Gu=new Uu,Zu=new qu;let Wu=(()=>{class e{constructor(e){this._ref=e,this._latestValue=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)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(po(t))return Gu;if(function(e){return!!e&&"function"==typeof e.subscribe}(t))return Zu;throw Bu(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(function(e=we.Default){const t=il(!0);if(null!=t||e&we.Optional)return t;ce("ChangeDetectorRef")}())},e.\u0275pipe=Qe({name:"async",type:e,pure:!1}),e})(),Qu=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",s,r){if(null==t||""===t||t!=t)return null;try{return mu(t,n,r||this.locale,s)}catch(i){throw Bu(e,i.message)}}}return e.\u0275fac=function(t){return new(t||e)(so(pc))},e.\u0275pipe=Qe({name:"date",type:e,pure:!0}),e})(),Ku=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[{provide:Pu,useClass:Ou}]}),e})();class Yu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Yu,Qc||(Qc=e)}getProperty(e,t){return e[t]}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()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}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=Xu||(Xu=document.querySelector("base"),Xu)?Xu.getAttribute("href"):null;return null==t?null:(n=t,Ju||(Ju=document.createElement("a")),Ju.setAttribute("href",n),"/"===Ju.pathname.charAt(0)?Ju.pathname:"/"+Ju.pathname);var n}resetBaseElement(){Xu=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Du(document.cookie,e)}}let Ju,Xu=null;const eh=new Un("TRANSITION_ID"),th=[{provide:rc,useFactory:function(e,t,n){return()=>{n.get(ic).donePromise.then(()=>{const n=Kc();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[eh,Yc,Bi],multi:!0}];class nh{static init(){var e;e=new nh,Mc=e}addToWindow(e){Oe.getAngularTestability=(t,n=!0)=>{const s=e.findTestabilityInTree(t,n);if(null==s)throw new Error("Could not find testability for element.");return s},Oe.getAllAngularTestabilities=()=>e.getAllTestabilities(),Oe.getAllAngularRootElements=()=>e.getAllRootElements(),Oe.frameworkStabilizers||(Oe.frameworkStabilizers=[]),Oe.frameworkStabilizers.push(e=>{const t=Oe.getAllAngularTestabilities();let n=t.length,s=!1;const r=function(t){s=s||t,n--,0==n&&e(s)};t.forEach(function(e){e.whenStable(r)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?Kc().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const sh=new Un("EventManagerPlugins");let rh=(()=>{class e{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 s=0;s{class e{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)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),ah=(()=>{class e extends oh{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=>Kc().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(os(Yc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const lh={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/"},ch=/%COMP%/g;function uh(e,t,n){for(let s=0;s{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let dh=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ph(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ke.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new fh(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case ke.ShadowDom:return new gh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=uh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(os(rh),os(ah),os(oc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class ph{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(lh[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,s){if(s){t=s+":"+t;const r=lh[s];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const s=lh[n];s?e.removeAttributeNS(s,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,s){s&(Ls.DashCase|Ls.Important)?e.style.setProperty(t,n,s&Ls.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Ls.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,hh(n)):this.eventManager.addEventListener(e,t,hh(n))}}class fh extends ph{constructor(e,t,n,s){super(e),this.component=n;const r=uh(s+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(ch,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(ch,s+"-"+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 gh extends ph{constructor(e,t,n,s){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=uh(s.id,s.styles,[]);for(let i=0;i{class e extends ih{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(os(Yc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const yh=["alt","control","meta","shift"],_h={"\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"},bh={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"},wh={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let vh=(()=>{class e extends ih{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,s){const r=e.parseEventName(n),i=e.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kc().onAndCancel(t,r.domEventName,i))}static parseEventName(t){const n=t.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const r=e._normalizeKey(n.pop());let i="";if(yh.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=s,o.fullKey=i,o}static getEventFullKey(e){let t="",n=function(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&&bh.hasOwnProperty(t)&&(t=bh[t]))}return _h[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),yh.forEach(s=>{s!=n&&(0,wh[s])(e)&&(t+=s+".")}),t+=n,t}static eventCallback(t,n,s){return r=>{e.getEventFullKey(r)===t&&s.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(os(Yc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Eh=jc(Gc,"browser",[{provide:uc,useValue:"browser"},{provide:cc,useValue:function(){Yu.makeCurrent(),nh.init()},multi:!0},{provide:Yc,useFactory:function(){return function(e){pt=e}(document),document},deps:[]}]),Ch=[[],{provide:Pi,useValue:"root"},{provide:Hs,useFactory:function(){return new Hs},deps:[]},{provide:sh,useClass:mh,multi:!0,deps:[Yc,Tc,uc]},{provide:sh,useClass:vh,multi:!0,deps:[Yc]},[],{provide:dh,useClass:dh,deps:[rh,ah,oc]},{provide:Ma,useExisting:dh},{provide:oh,useExisting:ah},{provide:ah,useClass:ah,deps:[Yc]},{provide:Dc,useClass:Dc,deps:[Tc]},{provide:rh,useClass:rh,deps:[sh,Tc]},[]];let Sh=(()=>{class e{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(t){return{ngModule:e,providers:[{provide:oc,useValue:t.appId},{provide:eh,useExisting:oc},th]}}}return e.\u0275fac=function(t){return new(t||e)(os(e,12))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:Ch,imports:[Ku,Wc]}),e})();function Th(...e){let t=e[e.length-1];return T(t)?(e.pop(),F(e,t)):B(e)}"undefined"!=typeof window&&window;class kh{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new xh(e,this.predicate,this.thisArg))}}class xh extends f{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)}}class Ih{}class Ah{}class Ph{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),s=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(r):this.headers.set(s,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const s=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(t,s))})}: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 Ph?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>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 Ph;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ph?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 s=("a"===e.op?this.headers.get(t):void 0)||[];s.push(...n),this.headers.set(t,s);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.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 Oh{encodeKey(e){return Dh(e)}encodeValue(e){return Dh(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function Dh(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 Nh{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Oh,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.replace(/^\?/,"").split("&").forEach(e=>{const s=e.indexOf("="),[r,i]=-1==s?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,s)),t.decodeValue(e.slice(s+1))],o=n.get(r)||[];o.push(i),n.set(r,o)}),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"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const s=e[n];Array.isArray(s)?s.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:s,op:"a"})}),this.clone(t)}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("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Nh({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 Rh(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Fh(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Mh(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Hh{constructor(e,t,n,s){let r;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)||s?(this.body=void 0!==n?n:null,r=s):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Ph),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new Hh(t,n,r,{params:l,headers:a,reportProgress:o,responseType:s,withCredentials:i})}}var Vh=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class zh{constructor(e,t=200,n="OK"){this.headers=e.headers||new Ph,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 jh extends zh{constructor(e={}){super(e),this.type=Vh.ResponseHeader}clone(e={}){return new jh({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 Lh extends zh{constructor(e={}){super(e),this.type=Vh.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Lh({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 $h extends zh{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 Bh(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let qh=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let s;if(e instanceof Hh)s=e;else{let r,i;r=n.headers instanceof Ph?n.headers:new Ph(n.headers),n.params&&(i=n.params instanceof Nh?n.params:new Nh({fromObject:n.params})),s=new Hh(e,t,void 0!==n.body?n.body:null,{headers:r,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Th(s).pipe(j(e=>this.handler.handle(e),void 0,1));if(e instanceof Hh||"events"===n.observe)return r;const i=r.pipe((o=e=>e instanceof Lh,function(e){return e.lift(new kh(o,undefined))}));var o;switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return i.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return i.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return i.pipe(k(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return i.pipe(k(e=>e.body))}case"response":return i;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 Nh).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,Bh(n,t))}post(e,t,n={}){return this.request("POST",e,Bh(n,t))}put(e,t,n={}){return this.request("PUT",e,Bh(n,t))}}return e.\u0275fac=function(t){return new(t||e)(os(Ih))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Uh{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Gh=new Un("HTTP_INTERCEPTORS");let Zh=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Wh=/^\)\]\}',?\n/;class Qh{}let Kh=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Yh=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(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 s=e.serializeBody();let r=null;const i=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,s=n.statusText||"OK",i=new Ph(n.getAllResponseHeaders()),o=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 r=new jh({headers:i,status:t,statusText:s,url:o}),r},o=()=>{let{headers:s,status:r,statusText:o,url:a}=i(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(Wh,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new Lh({body:l,headers:s,status:r,statusText:o,url:a||void 0})),t.complete()):t.error(new $h({error:l,headers:s,status:r,statusText:o,url:a||void 0}))},a=e=>{const{url:s}=i(),r=new $h({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});t.error(r)};let l=!1;const c=s=>{l||(t.next(i()),l=!0);let r={type:Vh.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(r.total=s.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:Vh.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),t.next({type:Vh.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(os(Qh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Jh=new Un("XSRF_COOKIE_NAME"),Xh=new Un("XSRF_HEADER_NAME");class ed{}let td=(()=>{class e{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=Du(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(os(Yc),os(uc),os(Jh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),nd=(()=>{class e{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 s=this.tokenService.getToken();return null===s||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,s)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(os(ed),os(Xh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),sd=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Gh,[]);this.chain=e.reduceRight((e,t)=>new Uh(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(os(Ah),os(Bi))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),rd=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:nd,useClass:Zh}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Jh,useValue:t.cookieName}:[],t.headerName?{provide:Xh,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[nd,{provide:Gh,useExisting:nd,multi:!0},{provide:ed,useClass:td},{provide:Jh,useValue:"XSRF-TOKEN"},{provide:Xh,useValue:"X-XSRF-TOKEN"}]}),e})(),id=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[qh,{provide:Ih,useClass:sd},Yh,{provide:Ah,useExisting:Yh},Kh,{provide:Qh,useExisting:Kh}],imports:[[rd.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();class od extends C{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 w;return this._value}next(e){super.next(this._value=e)}}function ad(e,t){return"function"==typeof t?n=>n.pipe(ad((n,s)=>M(e(n,s)).pipe(k((e,r)=>t(n,e,s,r))))):t=>t.lift(new ld(e))}class ld{constructor(e){this.project=e}call(e,t){return t.subscribe(new cd(e,this.project))}}class cd extends V{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(s){return void this.destination.error(s)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new H(this),s=this.destination;s.add(n),this.innerSubscription=z(e,n),this.innerSubscription!==n&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class ud extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class hd extends ud{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,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(s,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,s=!1;try{this.work(e)}catch(r){s=!0,n=!!r&&r||new Error(r)}if(s)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class dd extends hd{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)}}let pd=(()=>{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})();class fd extends pd{constructor(e,t=pd.now){super(e,()=>fd.delegate&&fd.delegate!==this?fd.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return fd.delegate&&fd.delegate!==this?fd.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}}}class gd extends fd{}const md=new gd(dd),yd=new _(e=>e.complete());let _d=(()=>{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 Th(this.value);case"E":return e=this.error,new _(t=>t.error(e));case"C":return yd}var e;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})();class bd extends f{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(bd.dispatch,this.delay,new wd(e,this.destination)))}_next(e){this.scheduleMessage(_d.createNext(e))}_error(e){this.scheduleMessage(_d.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(_d.createComplete()),this.unsubscribe()}}class wd{constructor(e,t){this.notification=e,this.destination=t}}class vd extends C{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Ed(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,r=n.length;let i;if(this.closed)throw new w;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(e),i=new v(this,e)),s&&e.add(e=new bd(e,s)),t)for(let o=0;ot&&(i=Math.max(i,r-t)),i>0&&s.splice(0,i),s}}class Ed{constructor(e,t){this.time=e,this.value=t}}function Cd(e){return t=>t.lift(new Sd(e))}class Sd{constructor(e){this.value=e}call(e,t){return t.subscribe(new Td(e,this.value))}}class Td extends f{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}function kd(e){return function(t){const n=new xd(e),s=t.lift(n);return n.caught=s}}class xd{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Id(e,this.selector,this.caught))}}class Id extends V{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 s=new H(this);this.add(s);const r=z(n,s);r!==s&&this.add(r)}}}class Ad{constructor(e){this.loadData=e,this.trigger$=new od(void 0),this.task$=this.trigger$.pipe(ad(()=>this.loadData()),function(e,t,n,s){const r=new vd(1,void 0,void 0);return e=>Y(()=>r,void 0)(e)}(),U()),this.content$=this.getContent(this.trigger$,this.task$),this.isLoading$=this.isLoading(this.trigger$,this.task$),this.error$=this.isError(this.trigger$,this.task$)}getContent(e,t){return q(e.pipe(Cd(void 0)),t).pipe(kd(e=>(console.log(e),Th(void 0))))}isLoading(e,t){return q(e.pipe(Cd(!0)),t.pipe(kd(()=>Th(void 0)),Cd(!1)))}isError(e,t){return q(e,t).pipe(Cd(!1),kd(e=>Th(e)))}}const Pd=new Un("basePath");class Od{constructor(e={}){this.apiKeys=e.apiKeys,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.withCredentials=e.withCredentials}selectHeaderContentType(e){if(0==e.length)return;let t=e.find(e=>this.isJsonMime(e));return void 0===t?e[0]:t}selectHeaderAccept(e){if(0==e.length)return;let t=e.find(e=>this.isJsonMime(e));return void 0===t?e[0]:t}isJsonMime(e){const t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!=e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}let Dd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1DumpGet(e="body",t=!1){let n=this.defaultHeaders;const s=this.configuration.selectHeaderAccept(["*/*"]);return null!=s&&(n=n.set("Accept",s)),this.httpClient.get(`${this.basePath}/api/v1/dump`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Nd extends Oh{encodeKey(e){return(e=super.encodeKey(e)).replace(/\+/gi,"%2B")}encodeValue(e){return(e=super.encodeValue(e)).replace(/\+/gi,"%2B")}}let Rd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventCategoriesGet(e,t,n="body",s=!1){let r=new Nh({encoder:new Nd});null!=e&&(r=r.set("page",e)),null!=t&&(r=r.set("per_page",t));let i=this.defaultHeaders;const o=this.configuration.selectHeaderAccept(["*/*"]);return null!=o&&(i=i.set("Accept",o)),this.httpClient.get(`${this.basePath}/api/v1/event-categories`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Fd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventDatesGet(e,t,n="body",s=!1){let r=new Nh({encoder:new Nd});null!=e&&(r=r.set("page",e)),null!=t&&(r=r.set("per_page",t));let i=this.defaultHeaders;const o=this.configuration.selectHeaderAccept(["*/*"]);return null!=o&&(i=i.set("Accept",o)),this.httpClient.get(`${this.basePath}/api/v1/event-dates`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:s})}apiV1EventDatesIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventDatesIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/event-dates/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1EventDatesSearchGet(e,t,n,s,r,i,o,a,l,c="body",u=!1){let h=new Nh({encoder:new Nd});null!=e&&(h=h.set("page",e)),null!=t&&(h=h.set("per_page",t)),null!=n&&(h=h.set("keyword",n)),null!=s&&(h=h.set("date_from",s)),null!=r&&(h=h.set("date_to",r)),null!=i&&(h=h.set("coordinate",i)),null!=o&&(h=h.set("distance",o)),a&&a.forEach(e=>{h=h.append("category_id",e)}),l&&l.forEach(e=>{h=h.append("weekday",e)});let d=this.defaultHeaders;const p=this.configuration.selectHeaderAccept(["*/*"]);return null!=p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.basePath}/api/v1/event-dates/search`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:c,reportProgress:u})}apiV1EventsIdDatesGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdDatesGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}/dates`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventDatesSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventDatesSearchGet.");let d=new Nh({encoder:new Nd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-dates/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Md=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventReferencesIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventReferencesIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/event-references/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizationsIdEventReferencesIncomingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesIncomingGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/incoming`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventReferencesOutgoingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesOutgoingGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/outgoing`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Hd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventsGet(e,t,n="body",s=!1){let r=new Nh({encoder:new Nd});null!=e&&(r=r.set("page",e)),null!=t&&(r=r.set("per_page",t));let i=this.defaultHeaders;const o=this.configuration.selectHeaderAccept(["*/*"]);return null!=o&&(i=i.set("Accept",o)),this.httpClient.get(`${this.basePath}/api/v1/events`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:s})}apiV1EventsIdDatesGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdDatesGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}/dates`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1EventsIdDelete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdDelete.");let s=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+e)}const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.delete(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1EventsIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1EventsIdPatch(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdPatch.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.patch(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1EventsIdPut(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdPut.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1EventsSearchGet(e,t,n,s,r,i,o,a,l,c="body",u=!1){let h=new Nh({encoder:new Nd});null!=e&&(h=h.set("page",e)),null!=t&&(h=h.set("per_page",t)),null!=n&&(h=h.set("keyword",n)),null!=s&&(h=h.set("date_from",s)),null!=r&&(h=h.set("date_to",r)),null!=i&&(h=h.set("coordinate",i)),null!=o&&(h=h.set("distance",o)),a&&a.forEach(e=>{h=h.append("category_id",e)}),l&&l.forEach(e=>{h=h.append("weekday",e)});let d=this.defaultHeaders;const p=this.configuration.selectHeaderAccept(["*/*"]);return null!=p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.basePath}/api/v1/events/search`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:c,reportProgress:u})}apiV1OrganizationsIdEventsGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventsPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizationsIdEventsSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsSearchGet.");let d=new Nh({encoder:new Nd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Vd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1OrganizationsGet(e,t,n,s="body",r=!1){let i=new Nh({encoder:new Nd});null!=e&&(i=i.set("page",e)),null!=t&&(i=i.set("per_page",t)),null!=n&&(i=i.set("keyword",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventDatesSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventDatesSearchGet.");let d=new Nh({encoder:new Nd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-dates/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}apiV1OrganizationsIdEventReferencesIncomingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesIncomingGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/incoming`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventReferencesOutgoingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesOutgoingGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/outgoing`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventsGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsGet.");let i=new Nh({encoder:new Nd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventsPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizationsIdEventsSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsSearchGet.");let d=new Nh({encoder:new Nd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}apiV1OrganizationsIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizationsIdOrganizersGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersGet.");let o=new Nh({encoder:new Nd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdOrganizersPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizationsIdPlacesGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesGet.");let o=new Nh({encoder:new Nd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdPlacesPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),zd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1OrganizationsIdOrganizersGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersGet.");let o=new Nh({encoder:new Nd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdOrganizersPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizersIdDelete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdDelete.");let s=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+e)}const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.delete(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizersIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizersIdPatch(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdPatch.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.patch(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizersIdPut(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdPut.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),jd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Ph,this.configuration=new Od,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1OrganizationsIdPlacesGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesGet.");let o=new Nh({encoder:new Nd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdPlacesPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1PlacesIdDelete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdDelete.");let s=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+e)}const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.delete(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1PlacesIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1PlacesIdPatch(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdPatch.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.patch(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1PlacesIdPut(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdPut.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(qh),os(Pd,8),os(Od,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();var Ld,$d,Bd,qd,Ud;!function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(Ld||(Ld={})),function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}($d||($d={})),function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(Bd||(Bd={})),function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(qd||(qd={})),function(e){e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"}}(Ud||(Ud={}));let Gd=(()=>{class e{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");t||console.log("ApiModule: You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(t){return{ngModule:e,providers:[{provide:Od,useFactory:t}]}}}return e.\u0275fac=function(t){return new(t||e)(os(e,12),os(qh,8))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[Dd,Rd,Fd,Md,Hd,Vd,zd,jd],imports:[[]]}),e})();function Zd(e,t){1&e&&(oo(0,"span",8),xa(1,9),ao())}function Wd(e,t){1&e&&(oo(0,"span",8),xa(1,10),ao())}function Qd(e,t){1&e&&(oo(0,"span",8),xa(1,11),ao())}function Kd(e,t){1&e&&(oo(0,"span",8),xa(1,12),ao())}function Yd(e,t){1&e&&Ho(0,"...")}function Jd(e,t){1&e&&(oo(0,"span",14),Ho(1,"(current)"),ao())}function Xd(e,t){if(1&e&&(Ho(0),to(1,Jd,2,0,"span",13)),2&e){const e=t.$implicit,n=t.currentPage;zo(" ",e," "),Or(1),ro("ngIf",e===n)}}function ep(e,t){}const tp=function(e,t){return{disabled:e,currentPage:t}};function np(e,t){if(1&e){const e=ho();oo(0,"li",15),oo(1,"a",16),fo("click",function(t){return Nt(e),yo().selectPage(1),t.preventDefault()}),to(2,ep,0,0,"ng-template",17),ao(),ao()}if(2&e){const e=yo(),t=no(1);xo("disabled",e.previousDisabled()),Or(1),Xi("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),Or(1),ro("ngTemplateOutlet",(null==e.tplFirst?null:e.tplFirst.templateRef)||t)("ngTemplateOutletContext",Dl(6,tp,e.previousDisabled(),e.page))}}function sp(e,t){}const rp=function(e){return{disabled:e}};function ip(e,t){if(1&e){const e=ho();oo(0,"li",15),oo(1,"a",18),fo("click",function(t){Nt(e);const n=yo();return n.selectPage(n.page-1),t.preventDefault()}),to(2,sp,0,0,"ng-template",17),ao(),ao()}if(2&e){const e=yo(),t=no(3);xo("disabled",e.previousDisabled()),Or(1),Xi("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),Or(1),ro("ngTemplateOutlet",(null==e.tplPrevious?null:e.tplPrevious.templateRef)||t)("ngTemplateOutletContext",Ol(6,rp,e.previousDisabled()))}}function op(e,t){}const ap=function(e){return{disabled:!0,currentPage:e}};function lp(e,t){if(1&e&&(oo(0,"a",21),to(1,op,0,0,"ng-template",17),ao()),2&e){const e=yo(2),t=no(9);Or(1),ro("ngTemplateOutlet",(null==e.tplEllipsis?null:e.tplEllipsis.templateRef)||t)("ngTemplateOutletContext",Ol(2,ap,e.page))}}function cp(e,t){}const up=function(e,t,n){return{disabled:e,$implicit:t,currentPage:n}};function hp(e,t){if(1&e){const e=ho();oo(0,"a",22),fo("click",function(t){Nt(e);const n=yo().$implicit;return yo().selectPage(n),t.preventDefault()}),to(1,cp,0,0,"ng-template",17),ao()}if(2&e){const e=yo().$implicit,t=yo(),l=no(11);Xi("tabindex",t.disabled?"-1":null)("aria-disabled",t.disabled?"true":null),Or(1),ro("ngTemplateOutlet",(null==t.tplNumber?null:t.tplNumber.templateRef)||l)("ngTemplateOutletContext",(n=4,s=up,r=t.disabled,i=e,o=t.page,function(e,t,n,s,r,i,o,a){const l=t+n;return function(e,t,n,s,r){const i=Ji(e,t,n,s);return Yi(e,t+2,r)||i}(e,l,r,i,o)?Ki(e,l+3,a?s.call(a,r,i,o):s(r,i,o)):Nl(e,l+3)}(Ot(),$t(),n,s,r,i,o,a)))}var n,s,r,i,o,a}function dp(e,t){if(1&e&&(oo(0,"li",15),to(1,lp,2,4,"a",19),to(2,hp,2,8,"a",20),ao()),2&e){const e=t.$implicit,n=yo();xo("active",e===n.page)("disabled",n.isEllipsis(e)||n.disabled),Xi("aria-current",e===n.page?"page":null),Or(1),ro("ngIf",n.isEllipsis(e)),Or(1),ro("ngIf",!n.isEllipsis(e))}}function pp(e,t){}function fp(e,t){if(1&e){const e=ho();oo(0,"li",15),oo(1,"a",23),fo("click",function(t){Nt(e);const n=yo();return n.selectPage(n.page+1),t.preventDefault()}),to(2,pp,0,0,"ng-template",17),ao(),ao()}if(2&e){const e=yo(),t=no(5);xo("disabled",e.nextDisabled()),Or(1),Xi("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),Or(1),ro("ngTemplateOutlet",(null==e.tplNext?null:e.tplNext.templateRef)||t)("ngTemplateOutletContext",Dl(6,tp,e.nextDisabled(),e.page))}}function gp(e,t){}function mp(e,t){if(1&e){const e=ho();oo(0,"li",15),oo(1,"a",24),fo("click",function(t){Nt(e);const n=yo();return n.selectPage(n.pageCount),t.preventDefault()}),to(2,gp,0,0,"ng-template",17),ao(),ao()}if(2&e){const e=yo(),t=no(7);xo("disabled",e.nextDisabled()),Or(1),Xi("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),Or(1),ro("ngTemplateOutlet",(null==e.tplLast?null:e.tplLast.templateRef)||t)("ngTemplateOutletContext",Dl(6,tp,e.nextDisabled(),e.page))}}function yp(e){return!isNaN(function(e){return parseInt(`${e}`,10)}(e))}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),new Map,"undefined"!=typeof navigator&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", "),new class{getAllStyles(e){return window.getComputedStyle(e)}getStyle(e,t){return this.getAllStyles(e)[t]}isStaticPositioned(e){return"static"===(this.getStyle(e,"position")||"static")}offsetParent(e){let t=e.offsetParent||document.documentElement;for(;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}position(e,t=!0){let n,s={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))n=e.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const t=this.offsetParent(e);n=this.offset(e,!1),t!==document.documentElement&&(s=this.offset(t,!1)),s.top+=t.clientTop,s.left+=t.clientLeft}return n.top-=s.top,n.bottom-=s.top,n.left-=s.left,n.right-=s.left,t&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(e,t=!0){const n=e.getBoundingClientRect(),s=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft;let i={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+s,bottom:n.bottom+s,left:n.left+r,right:n.right+r};return t&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i}positionElements(e,t,n,s){const[r="top",i="center"]=n.split("-"),o=s?this.offset(e,!1):this.position(e,!1),a=this.getAllStyles(t),l=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,p=0;switch(r){case"top":d=o.top-(t.offsetHeight+l+c);break;case"bottom":d=o.top+o.height;break;case"left":p=o.left-(t.offsetWidth+u+h);break;case"right":p=o.left+o.width}switch(i){case"top":d=o.top;break;case"bottom":d=o.top+o.height-t.offsetHeight;break;case"left":p=o.left;break;case"right":p=o.left+o.width-t.offsetWidth;break;case"center":"top"===r||"bottom"===r?p=o.left+o.width/2-t.offsetWidth/2:d=o.top+o.height/2-t.offsetHeight/2}t.style.transform=`translate(${Math.round(p)}px, ${Math.round(d)}px)`;const f=t.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,y=window.innerWidth||g.clientWidth;return f.left>=0&&f.top>=0&&f.right<=y&&f.bottom<=m}},new Date(1882,10,12),new Date(2174,10,25);let _p=(()=>{class e{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})(),bp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(so(ul))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),e})(),wp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(so(ul))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationFirst",""]]}),e})(),vp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(so(ul))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationLast",""]]}),e})(),Ep=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(so(ul))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationNext",""]]}),e})(),Cp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(so(ul))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationNumber",""]]}),e})(),Sp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(so(ul))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationPrevious",""]]}),e})(),Tp=(()=>{class e{constructor(e){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new Ll(!0),this.disabled=e.disabled,this.boundaryLinks=e.boundaryLinks,this.directionLinks=e.directionLinks,this.ellipses=e.ellipses,this.maxSize=e.maxSize,this.pageSize=e.pageSize,this.rotate=e.rotate,this.size=e.size}hasPrevious(){return this.page>1}hasNext(){return this.page0&&(e>2?this.pages.unshift(-1):2===e&&this.pages.unshift(2),this.pages.unshift(1)),t0&&this.pageCount>this.maxSize){let e=0,t=this.pageCount;[e,t]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(e,t),this._applyEllipses(e,t)}}}return e.\u0275fac=function(t){return new(t||e)(so(_p))},e.\u0275cmp=$e({type:e,selectors:[["ngb-pagination"]],contentQueries:function(e,t,n){if(1&e&&(ec(n,bp,1),ec(n,wp,1),ec(n,vp,1),ec(n,Ep,1),ec(n,Cp,1),ec(n,Sp,1)),2&e){let e;Xl(e=tc())&&(t.tplEllipsis=e.first),Xl(e=tc())&&(t.tplFirst=e.first),Xl(e=tc())&&(t.tplLast=e.first),Xl(e=tc())&&(t.tplNext=e.first),Xl(e=tc())&&(t.tplNumber=e.first),Xl(e=tc())&&(t.tplPrevious=e.first)}},hostAttrs:["role","navigation"],inputs:{page:"page",disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",maxSize:"maxSize",pageSize:"pageSize",rotate:"rotate",size:"size",collectionSize:"collectionSize"},outputs:{pageChange:"pageChange"},features:[lt],decls:18,vars:7,consts:function(){let e,t,n,s,r,i,o,a;return e="\xAB\xAB",t="\xAB",n="\xBB",s="\xBB\xBB",r="First",i="Previous",o="Next",a="Last",[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["class","page-item",3,"disabled",4,"ngIf"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],["aria-hidden","true"],e,t,n,s,["class","sr-only",4,"ngIf"],[1,"sr-only"],[1,"page-item"],["aria-label",r,"href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label",i,"href","",1,"page-link",3,"click"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",a,"href","",1,"page-link",3,"click"]]},template:function(e,t){1&e&&(to(0,Zd,2,0,"ng-template",null,0,sc),to(2,Wd,2,0,"ng-template",null,1,sc),to(4,Qd,2,0,"ng-template",null,2,sc),to(6,Kd,2,0,"ng-template",null,3,sc),to(8,Yd,1,0,"ng-template",null,4,sc),to(10,Xd,2,2,"ng-template",null,5,sc),oo(12,"ul"),to(13,np,3,9,"li",6),to(14,ip,3,8,"li",6),to(15,dp,3,7,"li",7),to(16,fp,3,9,"li",6),to(17,mp,3,9,"li",6),ao()),2&e&&(Or(12),function(e,t,n,s){const r=Dt(),i=Ut(2);r.firstUpdatePass&&Po(r,null,i,s);const o=Ot();if(n!==Pr&&Yi(o,i,n)){const a=r.data[on()];if(Mo(a,s)&&!Ao(r,i)){let e=a.classesWithoutHost;null!==e&&(n=ne(e,n||"")),io(r,a,o,n,s)}else!function(e,t,n,s,r,i,o,a){r===Pr&&(r=wo);let l=0,c=0,u=0{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({imports:[[Ku]]}),e})();function xp(e,t){1&e&&(co(0),xa(1,4),uo())}function Ip(e,t){1&e&&(co(0),xa(1,5),uo())}function Ap(e,t){1&e&&(co(0),xa(1,6),uo())}function Pp(e,t){1&e&&(co(0),xa(1,7),uo())}function Op(e,t){if(1&e&&(co(0),oo(1,"span",1),co(2,2),to(3,xp,2,0,"ng-container",3),to(4,Ip,2,0,"ng-container",3),to(5,Ap,2,0,"ng-container",3),to(6,Pp,2,0,"ng-container",3),uo(),ao(),uo()),2&e){const e=yo().ngIf,t=yo();Or(2),ro("ngSwitch",e),Or(1),ro("ngSwitchCase",t.statusEnum.Cancelled),Or(1),ro("ngSwitchCase",t.statusEnum.MovedOnline),Or(1),ro("ngSwitchCase",t.statusEnum.Postponed),Or(1),ro("ngSwitchCase",t.statusEnum.Rescheduled)}}function Dp(e,t){if(1&e&&(co(0),to(1,Op,7,5,"ng-container",0),uo()),2&e){const e=t.ngIf,n=yo();Or(1),ro("ngIf",e!=n.statusEnum.Scheduled)}}function Np(e,t){1&e&&(co(0),oo(1,"span",1),xa(2,8),ao(),uo())}new Un("live announcer delay",{providedIn:"root",factory:function(){return 100}});let Rp=(()=>{class e{constructor(){this.statusEnum=Ld.StatusEnum}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["app-warning-pills"]],inputs:{event:"event"},decls:2,vars:2,consts:function(){let e,t,n,s,r;return e="Abgesagt",t="Online verschoben",n="Verschoben",s="Neu angesetzt",r="Ausgebucht",[[4,"ngIf"],[1,"badge","badge-pill","badge-warning"],[3,"ngSwitch"],[4,"ngSwitchCase"],e,t,n,s,r]},template:function(e,t){1&e&&(to(0,Dp,2,1,"ng-container",0),to(1,Np,3,0,"ng-container",0)),2&e&&(ro("ngIf",null==t.event?null:t.event.status),Or(1),ro("ngIf",null==t.event?null:t.event.booked_up))},directives:[Mu,ju,Lu],styles:[""]}),e})(),Fp=(()=>{class e{transform(e,t){return e.street?e.street+", "+e.postalCode+" "+e.city:e.postalCode+" "+e.city}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Qe({name:"address",type:e,pure:!0}),e})();function Mp(e,t){1&e&&(oo(0,"div",3),oo(1,"span",4),Ho(2,"Loading\u2026"),ao(),ao())}function Hp(e,t){if(1&e&&(oo(0,"div",5),Ho(1),ao()),2&e){const e=t.ngIf;Or(1),zo(" ",e.message,"\n")}}function Vp(e,t){if(1&e&&(oo(0,"div",24),oo(1,"figure",25),lo(2,"img",26),ao(),ao()),2&e){const e=yo().ngIf;Or(2),bo("src","https://oveda.de/image/",e.logo.id,"?s=120",Ns)}}function zp(e,t){if(1&e&&(oo(0,"div",27),Ho(1),ao()),2&e){const e=yo().ngIf;Or(1),zo("@",e.short_name,"")}}function jp(e,t){if(1&e&&(oo(0,"div",28),oo(1,"a",29),Ho(2),ao(),ao()),2&e){const e=yo().ngIf;Or(1),_o("href",e.url,Ns),Or(1),Vo(e.url)}}function Lp(e,t){if(1&e&&(oo(0,"div",30),oo(1,"a",31),Ho(2),ao(),ao()),2&e){const e=yo().ngIf;Or(1),bo("href","mailto:",e.email,"",Ns),Or(1),Vo(e.email)}}function $p(e,t){if(1&e&&(oo(0,"div",32),oo(1,"a",31),Ho(2),ao(),ao()),2&e){const e=yo().ngIf;Or(1),bo("href","tel:",e.phone,"",Ns),Or(1),Vo(e.phone)}}function Bp(e,t){if(1&e&&(oo(0,"div",33),oo(1,"a",31),Ho(2),ao(),ao()),2&e){const e=yo().ngIf;Or(1),bo("href","tel:",e.fax,"",Ns),Or(1),Vo(e.fax)}}function qp(e,t){if(1&e&&(oo(0,"div",34),oo(1,"a",29),Ml(2,"address"),Ho(3),Ml(4,"address"),ao(),ao()),2&e){const e=yo().ngIf;Or(1),bo("href","https://www.google.com/maps?q=",Hl(2,2,e.location),"",Ns),Or(2),Vo(Hl(4,4,e.location))}}function Up(e,t){1&e&&(oo(0,"div",3),oo(1,"span",4),Ho(2,"Loading\u2026"),ao(),ao())}function Gp(e,t){if(1&e&&(oo(0,"div",5),Ho(1),ao()),2&e){const e=t.ngIf;Or(1),zo(" ",e.message," ")}}function Zp(e,t){if(1&e&&(oo(0,"figure",25),lo(1,"img",46),ao()),2&e){const e=t.ngIf;Or(1),bo("src","https://oveda.de/image/",e.id,"?s=120",Ns)}}function Wp(e,t){1&e&&(oo(0,"div",47),lo(1,"i",48),ao())}function Qp(e,t){if(1&e&&(oo(0,"a",38),oo(1,"div",39),to(2,Zp,2,1,"figure",40),to(3,Wp,2,0,"ng-template",null,41,sc),ao(),oo(5,"div",42),Ho(6),Ml(7,"date"),Ml(8,"date"),ao(),oo(9,"div",43),Ho(10),oo(11,"span",44),lo(12,"app-warning-pills",45),ao(),ao(),oo(13,"div"),Ho(14),ao(),ao()),2&e){const e=t.$implicit,n=no(4);bo("href","https://oveda.de/eventdate/",e.id,"",Ns),Or(2),ro("ngIf",null==e.event?null:e.event.photo)("ngIfElse",n),Or(4),jo(" ",Vl(7,8,e.start,"fullDate")," ",Vl(8,11,e.start,"shortTime")," "),Or(4),zo(" ",null==e.event?null:e.event.name," "),Or(2),ro("event",e.event),Or(2),zo(" ",null==e.event||null==e.event.place?null:e.event.place.name," ")}}function Kp(e,t){if(1&e){const e=ho();co(0),oo(1,"div",35),to(2,Qp,15,14,"a",36),ao(),oo(3,"ngb-pagination",37),fo("pageChange",function(t){return Nt(e),yo(2).page=t})("pageChange",function(){Nt(e);const t=yo(2);return t.onDatesPageChange(t.page)}),ao(),uo()}if(2&e){const e=t.ngIf,n=yo(2);Or(2),ro("ngForOf",e.items),Or(1),ro("page",n.page)("pageSize",n.perPage)("collectionSize",e.total)("maxSize",3)("rotate",!0)("boundaryLinks",!0)("ellipses",!1)}}function Yp(e,t){if(1&e&&(oo(0,"div",6),oo(1,"div",7),oo(2,"div",8),to(3,Vp,3,1,"div",9),oo(4,"h1",10),Ho(5),ao(),to(6,zp,2,1,"div",11),oo(7,"div"),to(8,jp,3,2,"div",12),to(9,Lp,3,2,"div",13),to(10,$p,3,2,"div",14),to(11,Bp,3,2,"div",15),to(12,qp,5,6,"div",16),ao(),ao(),ao(),oo(13,"div",17),oo(14,"div",18),oo(15,"div",19),oo(16,"div",20),oo(17,"h2",21),xa(18,22),ao(),to(19,Up,3,0,"div",0),Ml(20,"async"),to(21,Gp,2,1,"div",1),Ml(22,"async"),to(23,Kp,4,8,"ng-container",23),Ml(24,"async"),ao(),ao(),ao(),ao(),ao()),2&e){const e=t.ngIf,n=yo();Or(3),ro("ngIf",e.logo),Or(2),Vo(e.name),Or(1),ro("ngIf",e.short_name),Or(2),ro("ngIf",e.url),Or(1),ro("ngIf",e.email),Or(1),ro("ngIf",e.phone),Or(1),ro("ngIf",e.fax),Or(1),ro("ngIf",e.location),Or(7),ro("ngIf",Hl(20,11,n.dates.isLoading$)),Or(2),ro("ngIf",Hl(22,13,n.dates.error$)),Or(2),ro("ngIf",Hl(24,15,n.dates.content$))}}let Jp=(()=>{class e{constructor(e){this.organizationsService=e,this.page=1,this.perPage=10,this.loadOrganization=()=>this.organizationsService.apiV1OrganizationsIdGet(this.organizationid),this.organization=new Ad(this.loadOrganization),this.loadDates=()=>this.organizationsService.apiV1OrganizationsIdEventDatesSearchGet(this.organizationid,this.page,this.perPage),this.dates=new Ad(this.loadDates)}ngOnInit(){this.organization.trigger$.next(void 0),this.dates.trigger$.next(void 0)}onDatesPageChange(e){this.page=e,this.dates.trigger$.next(void 0)}}return e.\u0275fac=function(t){return new(t||e)(so(Vd))},e.\u0275cmp=$e({type:e,selectors:[["app-organization-landing-page"]],inputs:{organizationid:"organizationid"},decls:6,vars:9,consts:function(){let e;return e="Veranstaltungen",[["class","spinner-border m-3","role","status",4,"ngIf"],["class","alert alert-danger m-3","role","alert",4,"ngIf"],["class","organization",4,"ngIf"],["role","status",1,"spinner-border","m-3"],[1,"sr-only"],["role","alert",1,"alert","alert-danger","m-3"],[1,"organization"],[1,"w-normal","mx-auto"],[1,"p-3","clearfix"],["class","mr-4 float-sm-left",4,"ngIf"],[1,"font-weight-bold","my-1"],["class","text-muted",4,"ngIf"],["class","url",4,"ngIf"],["class","email",4,"ngIf"],["class","phone",4,"ngIf"],["class","fax",4,"ngIf"],["class","location",4,"ngIf"],[1,"d-flex","bg-light","p-3"],[1,"mx-auto",2,"width","40rem"],[1,"card","mb-3"],[1,"card-body"],[1,"mt-0"],e,[4,"ngIf"],[1,"mr-4","float-sm-left"],[1,"figure","mx-auto"],["alt","Logo",1,"figure-img","img-fluid",2,"max-width","120px",3,"src"],[1,"text-muted"],[1,"url"],["target","_blank","rel","noopener noreferrer",3,"href"],[1,"email"],[3,"href"],[1,"phone"],[1,"fax"],[1,"location"],[1,"list-group","list-group-flush"],["class","list-group-item list-group-item-action flex-column align-items-start pl-0 pr-0",3,"href",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","mt-2",3,"page","pageSize","collectionSize","maxSize","rotate","boundaryLinks","ellipses","pageChange"],[1,"list-group-item","list-group-item-action","flex-column","align-items-start","pl-0","pr-0",3,"href"],[1,"d-none","d-sm-block","mr-4","float-left","rounded"],["class","figure mx-auto",4,"ngIf","ngIfElse"],["noPhoto",""],[1,"font-weight-bold","text-uppercase","mb-1"],[1,"text-body","font-weight-bold","mb-1",2,"font-size","1.2rem"],[1,"small",2,"vertical-align","middle"],[3,"event"],["alt","Photo",1,"figure-img","img-fluid",2,"max-width","120px",3,"src"],[1,"bg-light","d-flex","align-items-center","justify-content-center",2,"width","120px","height","120px"],[1,"fa-calendar","far","h1","text-muted"]]},template:function(e,t){1&e&&(to(0,Mp,3,0,"div",0),Ml(1,"async"),to(2,Hp,2,1,"div",1),Ml(3,"async"),to(4,Yp,25,17,"div",2),Ml(5,"async")),2&e&&(ro("ngIf",Hl(1,3,t.organization.isLoading$)),Or(2),ro("ngIf",Hl(3,5,t.organization.error$)),Or(2),ro("ngIf",Hl(5,7,t.organization.content$)))},directives:[Mu,Ru,Tp,Rp],pipes:[Wu,Fp,Qu],styles:[""]}),e})();const Xp={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return Xp.schedule(e,0);if(void 0===window.requestAnimationFrame)return Xp.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let ef;function tf(e,t,n){let s=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){if(!ef){const e=Element.prototype;ef=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&ef.call(e,t)}(e,t)||(s=n,0))),s}class nf{constructor(e,t){this.componentFactory=t.get(Pa).resolveComponentFactory(e)}create(e){return new sf(this.componentFactory,e)}}class sf{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new vd(1),this.events=this.eventEmitters.pipe(ad(e=>q(...e))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:e})=>e)),this.ngZone=this.injector.get(Tc),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Xp.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,s;null!==this.componentRef?((n=t)!==(s=this.getInputValue(e))&&(n==n||s==s)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Bi.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,s=t.map(()=>[]);let r=-1;t.some((e,t)=>"*"===e&&(r=t,!0));for(let i=0,o=n.length;i{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(k(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Xp.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),r=s?void 0:this.getInputValue(e);this.inputChanges[e]=new at(r,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class rf extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}new Va("11.2.5");class of{}const af="*";function lf(e,t=null){return{type:2,steps:e,options:t}}function cf(e){return{type:6,styles:e,offset:null}}function uf(e){Promise.resolve(null).then(e)}class hf{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,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(){uf(()=>this._onFinish())}_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){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class df{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,s=0;const r=this.players.length;0==r?uf(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++s==r&&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(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}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}}function pf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ff(e){switch(e.length){case 0:return new hf;case 1:return e[0];default:return new df(e)}}function gf(e,t,n,s,r={},i={}){const o=[],a=[];let l=-1,c=null;if(s.forEach(e=>{const n=e.offset,s=n==l,u=s&&c||{};Object.keys(e).forEach(n=>{let s=n,a=e[n];if("offset"!==n)switch(s=t.normalizePropertyName(s,o),a){case"!":a=r[n];break;case af:a=i[n];break;default:a=t.normalizeStyleValue(n,s,a,o)}u[s]=a}),s||a.push(u),c=u,l=n}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return a}function mf(e,t,n,s){switch(t){case"start":e.onStart(()=>s(n&&yf(n,"start",e)));break;case"done":e.onDone(()=>s(n&&yf(n,"done",e)));break;case"destroy":e.onDestroy(()=>s(n&&yf(n,"destroy",e)))}}function yf(e,t,n){const s=n.totalTime,r=_f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==s?e.totalTime:s,!!n.disabled),i=e._data;return null!=i&&(r._data=i),r}function _f(e,t,n,s,r="",i=0,o){return{element:e,triggerName:t,fromState:n,toState:s,phaseName:r,totalTime:i,disabled:!!o}}function bf(e,t,n){let s;return e instanceof Map?(s=e.get(t),s||e.set(t,s=n)):(s=e[t],s||(s=e[t]=n)),s}function wf(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let vf=(e,t)=>!1,Ef=(e,t)=>!1,Cf=(e,t,n)=>[];const Sf=pf();(Sf||"undefined"!=typeof Element)&&(vf=(e,t)=>e.contains(t),Ef=(()=>{if(Sf||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]):Ef}})(),Cf=(e,t,n)=>{let s=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const s=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[s]=e[n]}),t}let Df=(()=>{class e{validateStyleProperty(e){return xf(e)}matchesElement(e,t){return If(e,t)}containsElement(e,t){return Af(e,t)}query(e,t,n){return Pf(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,s,r,i=[],o){return new hf(n,s)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Nf=(()=>{class e{}return e.NOOP=new Df,e})();const Rf="ng-enter",Ff="ng-leave",Mf="ng-trigger",Hf=".ng-trigger",Vf="ng-animating",zf=".ng-animating";function jf(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Lf(parseFloat(t[1]),t[2])}function Lf(e,t){switch(t){case"s":return 1e3*e;default:return e}}function $f(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let s,r=0,i="";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:""};s=Lf(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=Lf(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else s=e;if(!n){let n=!1,i=t.length;s<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(i,0,`The provided timing value "${e}" is invalid.`)}return{duration:s,delay:r,easing:i}}(e,t,n)}function Bf(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function qf(e,t,n={}){if(t)for(let s in e)n[s]=e[s];else Bf(e,n);return n}function Uf(e,t,n){return n?t+":"+n+";":""}function Gf(e){let t="";for(let n=0;n{const r=tg(s);n&&!n.hasOwnProperty(s)&&(n[s]=e.style[r]),e.style[r]=t[s]}),pf()&&Gf(e))}function Wf(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=tg(t);e.style[n]=""}),pf()&&Gf(e))}function Qf(e){return Array.isArray(e)?1==e.length?e[0]:lf(e):e}const Kf=new RegExp("{{\\s*(.+?)\\s*}}","g");function Yf(e){let t=[];if("string"==typeof e){let n;for(;n=Kf.exec(e);)t.push(n[1]);Kf.lastIndex=0}return t}function Jf(e,t,n){const s=e.toString(),r=s.replace(Kf,(e,s)=>{let r=t[s];return t.hasOwnProperty(s)||(n.push(`Please provide a value for the animation param ${s}`),r=""),r.toString()});return r==s?e:r}function Xf(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const eg=/-+([a-z0-9])/g;function tg(e){return e.replace(eg,(...e)=>e[1].toUpperCase())}function ng(e,t){return 0===e||0===t}function sg(e,t,n){const s=Object.keys(n);if(s.length&&t.length){let i=t[0],o=[];if(s.forEach(e=>{i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var r=1;rfunction(e,t,n){if(":"==e[0]){const s=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) *"}}(e,n);if("function"==typeof s)return void t.push(s);e=s}const s=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=s[1],i=s[2],o=s[3];t.push(ug(r,o)),"<"!=i[0]||r==og&&o==og||t.push(ug(o,r))}(e,n,t)):n.push(e),n}const lg=new Set(["true","1"]),cg=new Set(["false","0"]);function ug(e,t){const n=lg.has(e)||cg.has(e),s=lg.has(t)||cg.has(t);return(r,i)=>{let o=e==og||e==r,a=t==og||t==i;return!o&&n&&"boolean"==typeof r&&(o=r?lg.has(e):cg.has(e)),!a&&s&&"boolean"==typeof i&&(a=i?lg.has(t):cg.has(t)),o&&a}}const hg=new RegExp("s*:selfs*,?","g");function dg(e,t,n){return new pg(e).build(t,n)}class pg{constructor(e){this._driver=e}build(e,t){const n=new fg(t);return this._resetContextStyleTimingState(n),rg(this,Qf(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,s=t.depCount=0;const r=[],i=[];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,s=n.name;s.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=s}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,s+=r.depCount,i.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:i,queryCount:n,depCount:s,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,i=s||{};if(n.styles.forEach(e=>{if(gg(e)){const t=e;Object.keys(t).forEach(e=>{Yf(t[e]).forEach(e=>{i.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=Xf(r.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:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=rg(this,Qf(e.animation),t);return{type:1,matchers:ag(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:mg(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>rg(this,e,t)),options:mg(e.options)}}visitGroup(e,t){const n=t.currentTime;let s=0;const r=e.steps.map(e=>{t.currentTime=n;const r=rg(this,e,t);return s=Math.max(s,t.currentTime),r});return t.currentTime=s,{type:3,steps:r,options:mg(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 yg($f(e,t).duration,0,"");const s=e;if(s.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=yg(0,0,"");return e.dynamic=!0,e.strValue=s,e}return n=n||$f(s,t),yg(n.duration,n.delay,n.easing)}(e.timings,t.errors);let s;t.currentAnimateTimings=n;let r=e.styles?e.styles:cf({});if(5==r.type)s=this.visitKeyframes(r,t);else{let r=e.styles,i=!1;if(!r){i=!0;const e={};n.easing&&(e.easing=n.easing),r=cf(e)}t.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,t);o.isEmptyStep=i,s=o}return t.currentAnimateTimings=null,{type:4,timings:n,style:s,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==af?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let s=!1,r=null;return n.forEach(e=>{if(gg(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!s)for(let e in t)if(t[e].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let s=t.currentTime,r=t.currentTime;n&&r>0&&(r-=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 i=t.collectedStyles[t.currentQuerySelector],o=i[n];let a=!0;o&&(r!=s&&r>=o.startTime&&s<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${s}ms"`),a=!1),r=o.startTime),a&&(i[n]={startTime:r,endTime:s}),t.options&&function(e,t,n){const s=t.params||{},r=Yf(e);r.length&&r.forEach(e=>{s.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 s=0;const r=[];let i=!1,o=!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(gg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(gg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(s++,c=n.offset=l),o=o||c<0||c>1,i=i||c0&&s{const i=u>0?s==h?1:u*s:r[s],o=i*f;t.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=i,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:rg(this,Qf(e.animation),t),options:mg(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:mg(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:mg(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;const[r,i]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(hg,"")),[e=e.replace(/@\*/g,Hf).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,zf),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,bf(t.collectedStyles,t.currentQuerySelector,{});const o=rg(this,Qf(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:mg(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"}:$f(e.timings,t.errors,!0);return{type:12,animation:rg(this,Qf(e.animation),t),timings:n,options:null}}}class fg{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 gg(e){return!Array.isArray(e)&&"object"==typeof e}function mg(e){var t;return e?(e=Bf(e)).params&&(e.params=(t=e.params)?Bf(t):null):e={},e}function yg(e,t,n){return{duration:e,delay:t,easing:n}}function _g(e,t,n,s,r,i,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:s,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:a}}class bg{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 wg=new RegExp(":enter","g"),vg=new RegExp(":leave","g");function Eg(e,t,n,s,r,i={},o={},a,l,c=[]){return(new Cg).buildKeyframes(e,t,n,s,r,i,o,a,l,c)}class Cg{buildKeyframes(e,t,n,s,r,i,o,a,l,c=[]){l=l||new bg;const u=new Tg(e,t,l,s,r,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),rg(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[_g(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const s=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,s,s.options);r!=i&&t.transformIntoNewTimeline(i)}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 s=t.currentTimeline.currentTime;const r=null!=n.duration?jf(n.duration):null,i=null!=n.delay?jf(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,i);s=Math.max(s,n.duration+n.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),rg(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let s=t;const r=e.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),null!=r.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Sg);const e=jf(r.delay);s.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>rg(this,e,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let s=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?jf(e.options.delay):0;e.steps.forEach(i=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),rg(this,i,o),s=Math.max(s,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return $f(t.params?Jf(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),s=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),s.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,s=t.currentAnimateTimings;!s&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=s&&s.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,s=t.currentTimeline.duration,r=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(e=>{i.forwardTime((e.offset||0)*r),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(s+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,s=e.options||{},r=s.delay?jf(s.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Sg);let i=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,s)=>{t.currentQueryIndex=s;const o=t.createSubContext(e.options,n);r&&o.delayNextStep(r),n===t.element&&(a=o.currentTimeline),rg(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,s=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1);let a=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;rg(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=s.currentTime-c+(s.startTime-n.currentTimeline.startTime)}}const Sg={};class Tg{constructor(e,t,n,s,r,i,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=r,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Sg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new kg(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let s=this.options;null!=n.duration&&(s.duration=jf(n.duration)),null!=n.delay&&(s.delay=jf(n.delay));const r=n.params;if(r){let e=s.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=Jf(r[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 s=t||this.element,r=new Tg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Sg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const s={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new xg(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,s,r,i){let o=[];if(s&&o.push(this.element),e.length>0){e=(e=e.replace(wg,"."+this._enterClassName)).replace(vg,"."+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)),o.push(...t)}return r||0!=o.length||i.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class kg{constructor(e,t,n,s){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=s,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 kg(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]||af,this._currentKeyframe[e]=af}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,s){t&&(this._previousKeyframe.easing=t);const r=s&&s.params||{},i=function(e,t){const n={};let s;return e.forEach(e=>{"*"===e?(s=s||Object.keys(t),s.forEach(e=>{n[e]=af})):qf(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(i).forEach(e=>{const t=Jf(i[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:af),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],s=e._styleSummary[t];(!n||s.time>n.time)&&this._updateStyle(t,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((r,i)=>{const o=qf(r,!0);Object.keys(o).forEach(n=>{const s=o[n];"!"==s?e.add(n):s==af&&t.add(n)}),n||(o.offset=i/this.duration),s.push(o)});const r=e.size?Xf(e.values()):[],i=t.size?Xf(t.values()):[];if(n){const e=s[0],t=Bf(e);e.offset=0,t.offset=1,s=[e,t]}return _g(this.element,s,r,i,this.duration,this.startTime,this.easing,!1)}}class xg extends kg{constructor(e,t,n,s,r,i,o=!1){super(e,t,i.delay),this.element=t,this.keyframes=n,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],i=n+t,o=t/i,a=qf(e[0],!1);a.offset=0,r.push(a);const l=qf(e[0],!1);l.offset=Ig(o),r.push(l);const c=e.length-1;for(let s=1;s<=c;s++){let o=qf(e[s],!1);o.offset=Ig((t+o.offset*n)/i),r.push(o)}n=i,t=0,s="",e=r}return _g(this.element,e,this.preStyleProps,this.postStyleProps,n,t,s,!0)}}function Ig(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Ag{}class Pg extends Ag{normalizePropertyName(e,t){return tg(e)}normalizeStyleValue(e,t,n,s){let r="";const i=n.toString().trim();if(Og[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&s.push(`Please provide a CSS unit value for ${e}:${n}`)}return i+r}}const Og=(()=>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 Dg(e,t,n,s,r,i,o,a,l,c,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:i,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Ng={};class Rg{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,s){return function(e,t,n,s,r){return e.some(e=>e(t,n,s,r))}(this.ast.matchers,e,t,n,s)}buildStyles(e,t,n){const s=this._stateStyles["*"],r=this._stateStyles[e],i=s?s.buildStyles(t,n):{};return r?r.buildStyles(t,n):i}build(e,t,n,s,r,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Ng,d=this.buildStyles(n,o&&o.params||Ng,u),p=a&&a.params||Ng,f=this.buildStyles(s,p,u),g=new Set,m=new Map,y=new Map,_="void"===s,b={params:Object.assign(Object.assign({},h),p)},w=c?[]:Eg(e,t,this.ast.animation,r,i,d,f,b,l,u);let v=0;if(w.forEach(e=>{v=Math.max(e.duration+e.delay,v)}),u.length)return Dg(t,this._triggerName,n,s,_,d,f,[],[],m,y,v,u);w.forEach(e=>{const n=e.element,s=bf(m,n,{});e.preStyleProps.forEach(e=>s[e]=!0);const r=bf(y,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&g.add(n)});const E=Xf(g.values());return Dg(t,this._triggerName,n,s,_,d,f,w,E,m,y,v)}}class Fg{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},s=Bf(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(s[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let i=r[e];i.length>1&&(i=Jf(i,s,t)),n[e]=i})}}),n}}class Mg{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Fg(e.style,e.options&&e.options.params||{})}),Hg(this.states,"true","1"),Hg(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Rg(e,t,this.states))}),this.fallbackTransition=new Rg(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,s){return this.transitionFactories.find(r=>r.match(e,t,n,s))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Hg(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Vg=new bg;class zg{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],s=dg(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]=s}_buildPlayer(e,t,n){const s=e.element,r=gf(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const s=[],r=this._animations[e];let i;const o=new Map;if(r?(i=Eg(this._driver,t,r,Rf,Ff,{},{},n,Vg,s),i.forEach(e=>{const t=bf(o,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),i=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);o.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,af)})});const a=ff(i.map(e=>{const t=o.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,s){const r=_f(t,"","","");return mf(this._getPlayer(e),n,r,s),()=>{}}command(e,t,n,s){if("register"==n)return void this.register(e,s[0]);if("create"==n)return void this.create(e,t,s[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e)}}}const jg="ng-animate-queued",Lg="ng-animate-disabled",$g=".ng-animate-disabled",Bg=[],qg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ug={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Gg{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(s=n?e.value:e)?s:null,n){const t=Bf(e);delete t.value,this.options=t}else this.options={};var s;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 Zg="void",Wg=new Gg(Zg);class Qg{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-"+e,nm(t,this._hostClassName)}listen(e,t,n,s){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"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const i=bf(this._elementListeners,e,[]),o={name:t,phase:n,callback:s};i.push(o);const a=bf(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(nm(e,Mf),nm(e,"ng-trigger-"+t),a[t]=Wg),()=>{this._engine.afterFlush(()=>{const e=i.indexOf(o);e>=0&&i.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,s=!0){const r=this._getTrigger(t),i=new Yg(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(nm(e,Mf),nm(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new Gg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=Wg),l.value!==Zg&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),s=Object.keys(t);if(n.length!=s.length)return!1;for(let r=0;r{Wf(e,n),Zf(e,s)})}return}const c=bf(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,l.value,e,l.params),h=!1;if(!u){if(!s)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(nm(e,jg),i.onStart(()=>{sm(e,jg)})),i.onDone(()=>{let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(i);e>=0&&n.splice(e,1)}}),this.players.push(i),c.push(i),i}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){const n=this._engine.driver.query(e,Hf,!0);n.forEach(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)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,s){const r=this._engine.statesByElement.get(e);if(r){const i=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Zg,s);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&ff(i).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const s=new Set;t.forEach(t=>{const r=t.name;if(s.has(r))return;s.add(r);const i=this._triggers[r].fallbackTransition,o=n[r]||Wg,a=new Gg(Zg),l=new Yg(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)s=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)n.markElementAsRemoved(this.id,e,!1,t);else{const s=e.__ng_removed;s&&s!==qg||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){nm(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const r=n.element,i=this._elementListeners.get(r);i&&i.forEach(t=>{if(t.name==n.triggerName){const s=_f(r,n.triggerName,n.fromState.value,n.toState.value);s._data=e,mf(n.player,t.phase,s,t.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,s=t.transition.ast.depCount;return 0==n||0==s?n-s: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 Kg{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 Qg(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 s=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),s=!0;break}s||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 s=this._namespaceLookup[e];s&&s.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 s=0;s=0&&this.collectedLeaveElements.splice(e,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,n)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),nm(e,Lg)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),sm(e,Lg))}removeNode(e,t,n,s){if(Jg(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,s)}}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,n,s){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,s,r){return Jg(t)?this._fetchNamespace(e).listen(t,n,s,r):()=>{}}_buildInstruction(e,t,n,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,s,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,Hf,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,zf,!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 ff(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=qg,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,$g)&&this.markElementAsDisabled(e,!1),this.driver.query(e,$g,!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;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?ff(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 bg,s=[],r=new Map,i=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n=Rf+f++;p.set(t,n),e.forEach(e=>nm(e,n))});const g=[],m=new Set,y=new Set;for(let P=0;Pm.add(e)):y.add(e))}const _=new Map,b=tm(h,Array.from(m));b.forEach((e,t)=>{const n=Ff+f++;_.set(t,n),e.forEach(e=>nm(e,n))}),e.push(()=>{d.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>sm(e,n))}),b.forEach((e,t)=>{const n=_.get(t);e.forEach(e=>sm(e,n))}),g.forEach(e=>{this.processLeaveNode(e)})});const w=[],v=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(w.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!u||!this.driver.containsElement(u,r),h=_.get(r),d=p.get(r),f=this._buildInstruction(e,n,d,h,c);if(f.errors&&f.errors.length)v.push(f);else{if(c)return t.onStart(()=>Wf(r,f.fromStyles)),t.onDestroy(()=>Zf(r,f.toStyles)),void s.push(t);if(e.isFallbackTransition)return t.onStart(()=>Wf(r,f.fromStyles)),t.onDestroy(()=>Zf(r,f.toStyles)),void s.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),i.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>bf(o,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 s=l.get(t);s||l.set(t,s=new Set),n.forEach(e=>s.add(e))})}});if(v.length){const e=[];v.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const E=new Map,C=new Map;i.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,E))}),s.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{bf(E,t,[]).push(e),e.destroy()})});const S=g.filter(e=>om(e,a,l)),T=new Map;em(T,this.driver,y,l,af).forEach(e=>{om(e,a,l)&&S.push(e)});const k=new Map;d.forEach((e,t)=>{em(k,this.driver,new Set(e),a,"!")}),S.forEach(e=>{const t=T.get(e),n=k.get(e);T.set(e,Object.assign(Object.assign({},t),n))});const x=[],I=[],A={};i.forEach(e=>{const{element:t,player:i,instruction:o}=e;if(n.has(t)){if(c.has(t))return i.onDestroy(()=>Zf(t,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void s.push(i);let e=A;if(C.size>1){let n=t;const s=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}s.push(n)}s.forEach(t=>C.set(t,e))}const n=this._buildAnimation(i.namespaceId,o,E,r,k,T);if(i.setRealPlayer(n),e===A)x.push(i);else{const t=this.playersByElement.get(e);t&&t.length&&(i.parentPlayer=ff(t)),s.push(i)}}else Wf(t,o.fromStyles),i.onDestroy(()=>Zf(t,o.toStyles)),I.push(i),c.has(t)&&s.push(i)}),I.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=ff(t);e.setRealPlayer(n)}}),s.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let P=0;P!e.destroyed);s.length?rm(this,e,s):this.processLeaveNode(e)}return g.length=0,x.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),x}elementContainsData(e,t){let n=!1;const s=t.__ng_removed;return s&&s.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,s,r){let i=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(i=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||r==Zg;t.forEach(t=>{t.queued||(e||t.triggerName==s)&&i.push(t)})}}return(n||s)&&(i=i.filter(e=>!(n&&n!=e.namespaceId||s&&s!=e.triggerName))),i}_beforeAnimationBuild(e,t,n){const s=t.element,r=t.isRemovalTransition?void 0:e,i=t.isRemovalTransition?void 0:t.triggerName;for(const o of t.timelines){const e=o.element,a=e!==s,l=bf(n,e,[]);this._getPreviousPlayers(e,a,r,i,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Wf(s,t.fromStyles)}_buildAnimation(e,t,n,s,r,i){const o=t.triggerName,a=t.element,l=[],c=new Set,u=new Set,h=t.timelines.map(t=>{const h=t.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new hf(t.duration,t.delay);const p=h!==a,f=function(e){const t=[];return im(e,t),t}((n.get(h)||Bg).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===h),g=r.get(h),m=i.get(h),y=gf(0,this._normalizer,0,t.keyframes,g,m),_=this._buildPlayer(t,y,f);if(t.subTimeline&&s&&u.add(h),p){const t=new Yg(e,o,h);t.setRealPlayer(_),l.push(t)}return _});l.forEach(e=>{bf(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let s;if(e instanceof Map){if(s=e.get(t),s){if(s.length){const e=s.indexOf(n);s.splice(e,1)}0==s.length&&e.delete(t)}}else if(s=e[t],s){if(s.length){const e=s.indexOf(n);s.splice(e,1)}0==s.length&&delete e[t]}return s}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>nm(e,Vf));const d=ff(h);return d.onDestroy(()=>{c.forEach(e=>sm(e,Vf)),Zf(a,t.toStyles)}),u.forEach(e=>{bf(s,e,[]).push(d)}),d}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new hf(e.duration,e.delay)}}class Yg{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new hf,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).forEach(t=>{this._queuedCallbacks[t].forEach(n=>mf(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){bf(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 Jg(e){return e&&1===e.nodeType}function Xg(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function em(e,t,n,s,r){const i=[];n.forEach(e=>i.push(Xg(e)));const o=[];s.forEach((n,s)=>{const i={};n.forEach(e=>{const n=i[e]=t.computeStyle(s,e,r);n&&0!=n.length||(s.__ng_removed=Ug,o.push(s))}),e.set(s,i)});let a=0;return n.forEach(e=>Xg(e,i[a++])),o}function tm(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const s=new Set(t),r=new Map;function i(e){if(!e)return 1;let t=r.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:s.has(o)?1:i(o),r.set(e,t),t}return t.forEach(e=>{const t=i(e);1!==t&&n.get(t).push(e)}),n}function nm(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function sm(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function rm(e,t,n){ff(n).onDone(()=>e.processLeaveNode(t))}function im(e,t){for(let n=0;nr.add(e)):t.set(e,s),n.delete(e),!0}class am{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Kg(e,t,n),this._timelineEngine=new zg(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,s,r){const i=e+"-"+s;let o=this._triggerCache[i];if(!o){const e=[],t=dg(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new Mg(e,t)}(s,t),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,s,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,s){this._transitionEngine.insertNode(e,t,n,s)}onRemove(e,t,n,s){this._transitionEngine.removeNode(e,t,s||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,s){if("@"==n.charAt(0)){const[e,r]=wf(n);this._timelineEngine.command(e,t,r,s)}else this._transitionEngine.trigger(e,t,n,s)}listen(e,t,n,s,r){if("@"==n.charAt(0)){const[e,s]=wf(n);return this._timelineEngine.listen(e,t,s,r)}return this._transitionEngine.listen(e,t,n,s,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function lm(e,t){let n=null,s=null;return Array.isArray(t)&&t.length?(n=um(t[0]),t.length>1&&(s=um(t[t.length-1]))):t&&(n=um(t)),n||s?new cm(e,n,s):null}let cm=(()=>{class e{constructor(t,n,s){this._element=t,this._startStyles=n,this._endStyles=s,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Zf(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Zf(this._element,this._initialStyles),this._endStyles&&(Zf(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Wf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Wf(this._element,this._endStyles),this._endStyles=null),Zf(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function um(e){let t=null;const n=Object.keys(e);for(let s=0;sthis._handleCallback(e)}apply(){!function(e,t){const n=wm(e,"").trim();n.length&&(function(e,t){let n=0;for(let s=0;s=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),_m(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=wm(e,"").split(","),s=ym(n,t);s>=0&&(n.splice(s,1),bm(e,"",n.join(",")))}(this._element,this._name))}}function gm(e,t,n){bm(e,"PlayState",n,mm(e,t))}function mm(e,t){const n=wm(e,"");return n.indexOf(",")>0?ym(n.split(","),t):ym([n],t)}function ym(e,t){for(let n=0;n=0)return n;return-1}function _m(e,t,n){n?e.removeEventListener(pm,t):e.addEventListener(pm,t)}function bm(e,t,n,s){const r=dm+t;if(null!=s){const t=e.style[r];if(t.length){const e=t.split(",");e[s]=n,n=e.join(",")}}e.style[r]=n}function wm(e,t){return e.style[dm+t]||""}class vm{constructor(e,t,n,s,r,i,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=s,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=s+r,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 fm(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]:ig(this.element,n))})}this.currentSnapshot=e}}class Em extends hf{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Of(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).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Cm{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return xf(e)}matchesElement(e,t){return If(e,t)}containsElement(e,t){return Af(e,t)}query(e,t,n){return Pf(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Of(e));let s=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);s+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(s+=`${r}animation-timing-function: ${n};\n`));default:return void(s+=`${r}${t}: ${n};\n`)}}),s+=`${r}}\n`}),s+="}\n";const i=document.createElement("style");return i.textContent=s,i}animate(e,t,n,s,r,i=[],o){const a=i.filter(e=>e instanceof vm),l={};ng(n,s)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=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=sg(e,t,l));if(0==n)return new Em(e,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=lm(e,t),p=new vm(e,t,u,n,s,r,c,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),p}}class Sm{constructor(e,t,n,s){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=s,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){void 0===this.domPlayer&&this.init(),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]:ig(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Tm{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(km().toString()),this._cssKeyframesDriver=new Cm}validateStyleProperty(e){return xf(e)}matchesElement(e,t){return If(e,t)}containsElement(e,t){return Af(e,t)}query(e,t,n){return Pf(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,s,r,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,s,r,i);const a={duration:n,delay:s,fill:0==s?"both":"forwards"};r&&(a.easing=r);const l={},c=i.filter(e=>e instanceof Sm);ng(n,s)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=lm(e,t=sg(e,t=t.map(e=>qf(e,!1)),l));return new Sm(e,t,a,u)}}function km(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let xm=(()=>{class e extends of{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:ke.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?lf(e):e;return Pm(this._renderer,null,t,"register",[n]),new Im(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(os(Ma),os(Yc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Im extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Am(this._id,e,t||{},this._renderer)}}class Am{constructor(e,t,n,s){this.id=e,this.element=t,this._renderer=s,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 Pm(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(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function Pm(e,t,n,s,r){return e.setProperty(t,`@@${n}:${s}`,r)}const Om="@",Dm="@.disabled";let Nm=(()=>{class e{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 Rm("",n,this.engine),this._rendererCache.set(n,e)),e}const s=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const i=t=>{Array.isArray(t)?t.forEach(i):this.engine.registerTrigger(s,r,e,t.name,t)};return t.data.animation.forEach(i),new Fm(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(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()}}return e.\u0275fac=function(t){return new(t||e)(os(Ma),os(am),os(Tc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Rm{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,s=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,s)}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,s){this.delegate.setAttribute(e,t,n,s)}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,s){this.delegate.setStyle(e,t,n,s)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Om&&t==Dm?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Fm extends Rm{constructor(e,t,n,s){super(t,n,s),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Om?"."==t.charAt(1)&&t==Dm?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)==Om){const s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),i="";return r.charAt(0)!=Om&&([r,i]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,s,r,i,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Mm=(()=>{class e extends am{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(os(Yc),os(Nf),os(Ag))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Hm=[{provide:Nf,useFactory:function(){return"function"==typeof km()?new Tm:new Cm}},{provide:new Un("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:of,useClass:xm},{provide:Ag,useFactory:function(){return new Pg}},{provide:am,useClass:Mm},{provide:Ma,useFactory:function(e,t,n){return new Nm(e,t,n)},deps:[dh,am,Tc]}];let Vm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:Hm,imports:[Sh]}),e})(),zm=(()=>{class e{constructor(e){this.injector=e;const t=function(e,t){const n=function(e,t){return t.get(Pa).resolveComponentFactory(e).inputs}(e,t.injector),s=t.strategyFactory||new nf(e,t.injector),r=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var s;t[(s=n,s.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`))]=e}),t}(n);class i extends rf{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=s.create(this.injector||t.injector);n.forEach(({propName:t})=>{if(!this.hasOwnProperty(t))return;const n=this[t];delete this[t],e.setInputValue(t,n)})}return this._ngElementStrategy}attributeChangedCallback(e,t,n,s){this.ngElementStrategy.setInputValue(r[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const s=e.createEvent("CustomEvent");return s.initCustomEvent(t,!1,!1,n),s}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return i.observedAttributes=Object.keys(r),n.forEach(({propName:e})=>{Object.defineProperty(i.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})}),i}(Jp,{injector:this.injector});customElements.define("organization-landing-page",t)}ngDoBootstrap(){}}return e.\u0275fac=function(t){return new(t||e)(os(Bi))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[{provide:pc,useValue:"de"},{provide:Pd,useValue:"https://oveda.de"}],imports:[[Sh,id,Vm,Gd,kp]]}),e})();(function(){if(Vc)throw new Error("Cannot enable prod mode after platform setup.");Hc=!1})(),Eh().bootstrapModule(zm).catch(e=>console.error(e))},zn8P: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="zn8P"}},[[0,0]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function s(e){return"function"==typeof e}n.r(t);let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}};function o(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const u=(()=>{function e(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}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=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;ee.concat(t instanceof u?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,e,t,n)}}[p](){return this}static create(e,t,n){const s=new f(e,t,n);return s.syncErrorThrowable=!1,s}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 g extends f{constructor(e,t,n,r){let i;super(),this._parentSubscriber=e;let o=this;s(t)?i=t:t&&(i=t.next,n=t.error,r=t.complete,t!==a&&(o=Object.create(t),s(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;i.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}=i;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):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);i.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(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(s){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=s,e.syncErrorThrown=!0,!0):(o(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(e){return e}let _=(()=>{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,r=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(a)}(e,t,n);if(r.add(s?s.call(r,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),i.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:s}=e;if(t||s)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let s;s=this.subscribe(t=>{try{e(t)}catch(r){n(r),s&&s.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?y:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class v extends h{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)}}class E extends f{constructor(e){super(e),this.destination=e}}let C=(()=>{class e extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new E(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,s=t.slice();for(let r=0;rnew S(e,t),e})();class S 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):h.EMPTY}}function T(e){return e&&"function"==typeof e.schedule}function k(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 x(e,t))}}class x{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new I(e,this.project,this.thisArg))}}class I extends f{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)}}const A=e=>t=>{for(let n=0,s=e.length;ne&&"number"==typeof e.length&&"function"!=typeof e;function N(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const R=e=>{if(e&&"function"==typeof e[m])return s=e,e=>{const t=s[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(D(e))return A(e);if(N(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e);if(e&&"function"==typeof e[O])return t=e,e=>{const n=t[O]();for(;;){let t;try{t=n.next()}catch(s){return e.error(s),e}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=c(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,s};function F(e,t){return new _(n=>{const s=new h;let r=0;return s.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||s.add(this.schedule())):n.complete()})),s})}function M(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new _(n=>{const s=new h;return s.add(t.schedule(()=>{const r=e[m]();s.add(r.subscribe({next(e){s.add(t.schedule(()=>n.next(e)))},error(e){s.add(t.schedule(()=>n.error(e)))},complete(){s.add(t.schedule(()=>n.complete()))}}))})),s})}(e,t);if(N(e))return function(e,t){return new _(n=>{const s=new h;return s.add(t.schedule(()=>e.then(e=>{s.add(t.schedule(()=>{n.next(e),s.add(t.schedule(()=>n.complete()))}))},e=>{s.add(t.schedule(()=>n.error(e)))}))),s})}(e,t);if(D(e))return F(e,t);if(function(e){return e&&"function"==typeof e[O]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{const s=new h;let r;return s.add(()=>{r&&"function"==typeof r.return&&r.return()}),s.add(t.schedule(()=>{r=e[O](),s.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(s){return void n.error(s)}t?n.complete():(n.next(e),this.schedule())}))})),s})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof _?e:new _(R(e))}class H extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class V extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function z(e,t){if(!t.closed)return e instanceof _?e.subscribe(t):R(e)(t)}function j(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?s=>s.pipe(j((n,s)=>M(e(n,s)).pipe(k((e,r)=>t(n,e,s,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new L(e,n)))}class L{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new $(e,this.project,this.concurrent))}}class $ extends V{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.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(e,t){return t?F(e,t):new _(A(e))}function q(...e){let t=Number.POSITIVE_INFINITY,n=null,s=e[e.length-1];return T(s)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof s&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof _?e[0]:function(e=Number.POSITIVE_INFINITY){return j(y,e)}(t)(B(e,n))}function U(){return function(e){return e.lift(new G(e))}}class G{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const s=new Z(e,n),r=t.subscribe(s);return s.closed||(s.connection=n.connect()),r}}class Z extends f{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,s=e._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}class W extends _{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 h,e.add(this.source.subscribe(new K(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return U()(this)}}const Q=(()=>{const e=W.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class K extends E{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 Y(e,t){return function(n){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new J(s,t));const r=Object.create(n,Q);return r.source=n,r.subjectFactory=s,r}}class J{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,s=this.subjectFactory(),r=n(s).subscribe(e);return r.add(t.subscribe(s)),r}}function X(){return new C}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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)}function ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const se=ee({__forward_ref__:ee});function re(e){return e.__forward_ref__=re,e.toString=function(){return te(this())},e}function ie(e){return"function"==typeof(t=e)&&t.hasOwnProperty(se)&&t.__forward_ref__===re?e():e;var t}class oe extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}function ce(e,t){const n=t?` in ${t}`:"";throw new oe("201",`No provider for ${le(e)} found${n}`)}function ue(e,t,n,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${n} ${s} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function pe(e){return fe(e,me)||fe(e,_e)}function fe(e,t){return e.hasOwnProperty(t)?e[t]:null}function ge(e){return e&&(e.hasOwnProperty(ye)||e.hasOwnProperty(be))?e[ye]:null}const me=ee({"\u0275prov":ee}),ye=ee({"\u0275inj":ee}),_e=ee({ngInjectableDef:ee}),be=ee({ngInjectorDef:ee});var we=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}({});let ve;function Ee(e){const t=ve;return ve=e,t}function Ce(e,t,n){const s=pe(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&we.Optional?null:void 0!==t?t:void ce(te(e),"Injector")}function Se(e){return{toString:e}.toString()}var Te=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),ke=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const xe="undefined"!=typeof globalThis&&globalThis,Ie="undefined"!=typeof window&&window,Ae="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Pe="undefined"!=typeof global&&global,Oe=xe||Pe||Ie||Ae,De={},Ne=[],Re=ee({"\u0275cmp":ee}),Fe=ee({"\u0275dir":ee}),Me=ee({"\u0275pipe":ee}),He=ee({"\u0275mod":ee}),Ve=ee({"\u0275loc":ee}),ze=ee({"\u0275fac":ee}),je=ee({__NG_ELEMENT_ID__:ee});let Le=0;function $e(e){return Se(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Te.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ne,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ke.Emulated,id:"c",styles:e.styles||Ne,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,r=e.features,i=e.pipes;return n.id+=Le++,n.inputs=Ze(e.inputs,t),n.outputs=Ze(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(Be):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(qe):null,n})}function Be(e){return Ke(e)||function(e){return e[Fe]||null}(e)}function qe(e){return function(e){return e[Me]||null}(e)}const Ue={};function Ge(e){const t={type:e.type,bootstrap:e.bootstrap||Ne,declarations:e.declarations||Ne,imports:e.imports||Ne,exports:e.exports||Ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Se(()=>{Ue[e.id]=e.type}),t}function Ze(e,t){if(null==e)return De;const n={};for(const s in e)if(e.hasOwnProperty(s)){let r=e[s],i=r;Array.isArray(r)&&(i=r[1],r=r[0]),n[r]=s,t&&(t[r]=i)}return n}const We=$e;function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ke(e){return e[Re]||null}function Ye(e,t){const n=e[He]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const Je=20,Xe=10;function et(e){return Array.isArray(e)&&"object"==typeof e[1]}function tt(e){return Array.isArray(e)&&!0===e[1]}function nt(e){return 0!=(8&e.flags)}function st(e){return 2==(2&e.flags)}function rt(e){return 1==(1&e.flags)}function it(e){return null!==e.template}function ot(e,t){return e.hasOwnProperty(ze)?e[ze]:null}class at{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function lt(){return ct}function ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=ht),ut}function ut(){const e=dt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===De)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ht(e,t,n,s){const r=dt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:De,current:null}),i=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];i[a]=new at(l&&l.currentValue,t,o===De),e[s]=t}function dt(e){return e.__ngSimpleChanges__||null}let pt;function ft(){return void 0!==pt?pt:"undefined"!=typeof document?document:void 0}function gt(e){return!!e.listen}lt.ngInherit=!0;const mt={createRenderer:(e,t)=>ft()};function yt(e){for(;Array.isArray(e);)e=e[0];return e}function _t(e,t){return yt(t[e])}function bt(e,t){return yt(t[e.index])}function wt(e,t){return e.data[t]}function vt(e,t){return e[t]}function Et(e,t){const n=t[e];return et(n)?n:n[0]}function Ct(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function St(e){return 4==(4&e[2])}function Tt(e){return 128==(128&e[2])}function kt(e,t){return null==t?null:e[t]}function xt(e){e[18]=0}function It(e,t){e[5]+=t;let n=e,s=e[3];for(;null!==s&&(1===t&&1===n[5]||-1===t&&0===n[5]);)s[5]+=t,n=s,s=s[3]}const At={lFrame:tn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Pt(){return At.bindingsEnabled}function Ot(){return At.lFrame.lView}function Dt(){return At.lFrame.tView}function Nt(e){At.lFrame.contextLView=e}function Rt(){let e=Ft();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ft(){return At.lFrame.currentTNode}function Mt(){const e=At.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ht(e,t){const n=At.lFrame;n.currentTNode=e,n.isParent=t}function Vt(){return At.lFrame.isParent}function zt(){At.lFrame.isParent=!1}function jt(){return At.isInCheckNoChangesMode}function Lt(e){At.isInCheckNoChangesMode=e}function $t(){const e=At.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bt(){return At.lFrame.bindingIndex}function qt(){return At.lFrame.bindingIndex++}function Ut(e){const t=At.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gt(e){At.lFrame.inI18n=e}function Zt(e,t){const n=At.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wt(t)}function Wt(e){At.lFrame.currentDirectiveIndex=e}function Qt(){return At.lFrame.currentQueryIndex}function Kt(e){At.lFrame.currentQueryIndex=e}function Yt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Jt(e,t,n){if(n&we.SkipSelf){let s=t,r=e;for(;s=s.parent,!(null!==s||n&we.Host||(s=Yt(r),null===s)||(r=r[15],10&s.type)););if(null===s)return!1;t=s,e=r}const s=At.lFrame=en();return s.currentTNode=t,s.lView=e,!0}function Xt(e){const t=en(),n=e[1];At.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function en(){const e=At.lFrame,t=null===e?null:e.child;return null===t?tn(e):t}function tn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function nn(){const e=At.lFrame;return At.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sn=nn;function rn(){const e=nn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function on(){return At.lFrame.selectedIndex}function an(e){At.lFrame.selectedIndex=e}function ln(){const e=At.lFrame;return wt(e.tView,e.selectedIndex)}function cn(e,t){for(let n=t.directiveStart,s=t.directiveEnd;n=s)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,i.call(o)):i.call(o)}const gn=-1;class mn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const s=gt(e);let r=0;for(;rt){o=i-1;break}}}for(;i>16,s=t;for(;n>0;)s=s[15],n--;return s}let Sn=!0;function Tn(e){const t=Sn;return Sn=e,t}let kn=0;function xn(e,t){const n=An(e,t);if(-1!==n)return n;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,In(s.data,e),In(t,null),In(s.blueprint,null));const r=Pn(e,t),i=e.injectorIndex;if(vn(r)){const e=En(r),n=Cn(r,t),s=n[1].data;for(let r=0;r<8;r++)t[i+r]=n[e+r]|s[e+r]}return t[i+8]=r,i}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function An(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,s=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(s=2===t?e.declTNode:1===t?r[6]:null,null===s)return gn;if(n++,r=r[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return gn}function On(e,t,n){!function(e,t,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(je)&&(s=n[je]),null==s&&(s=n[je]=kn++);const r=255&s;t.data[e+(r>>5)]|=1<=0?255&t:Mn:t}(n);if("function"==typeof i){if(!Jt(t,e,s))return s&we.Host?Dn(r,n,s):Nn(t,n,s,r);try{const e=i();if(null!=e||s&we.Optional)return e;ce(n)}finally{sn()}}else if("number"==typeof i){let r=null,o=An(e,t),a=gn,l=s&we.Host?t[16][6]:null;for((-1===o||s&we.SkipSelf)&&(a=-1===o?Pn(e,t):t[o+8],a!==gn&&Ln(s,!1)?(r=t[1],o=En(a),t=Cn(a,t)):o=-1);-1!==o;){const e=t[1];if(jn(i,o,e.data)){const e=Hn(o,t,n,r,s,l);if(e!==Fn)return e}a=t[o+8],a!==gn&&Ln(s,t[1].data[o+8]===l)&&jn(i,o,t)?(r=e,o=En(a),t=Cn(a,t)):o=-1}}}return Nn(t,n,s,r)}const Fn={};function Mn(){return new $n(Rt(),Ot())}function Hn(e,t,n,s,r,i){const o=t[1],a=o.data[e+8],l=Vn(a,o,n,null==s?st(a)&&Sn:s!=o&&0!=(3&a.type),r&we.Host&&i===a);return null!==l?zn(t,o,l,a):Fn}function Vn(e,t,n,s,r){const i=e.providerIndexes,o=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,u=r?a+c:e.directiveEnd;for(let h=s?a:a+c;h=l&&e.type===n)return h}if(r){const e=o[l];if(e&&it(e)&&e.type===n)return l}return null}function zn(e,t,n,s){let r=e[n];const i=t.data;if(r instanceof mn){const o=r;o.resolving&&function(e,t){throw new oe("200",`Circular dependency in DI detected for ${e}`)}(le(i[n]));const a=Tn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Ee(o.injectImpl):null;Jt(e,s,we.Default);try{r=e[n]=o.factory(void 0,i,e,s),t.firstCreatePass&&n>=s.directiveStart&&function(e,t,n){const{ngOnChanges:s,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(s){const s=ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&Ee(l),Tn(a),o.resolving=!1,sn()}}return r}function jn(e,t,n){return!!(n[t+(e>>5)]&1<{const s=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return s.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,s){const r=e.hasOwnProperty(Bn)?e[Bn]:Object.defineProperty(e,Bn,{value:[]})[Bn];for(;r.length<=s;)r.push(null);return(r[s]=r[s]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Un{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=he({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Gn(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?Zn(e,t):t(e))}function Wn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Qn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Kn(e,t,n){let s=Jn(e,t);return s>=0?e[1|s]=n:(s=~s,function(e,t,n,s){let r=e.length;if(r==t)e.push(n,s);else if(1===r)e.push(s,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=s}}(e,s,t,n)),s}function Yn(e,t){const n=Jn(e,t);if(n>=0)return e[1|n]}function Jn(e,t){return function(e,t,n){let s=0,r=e.length>>1;for(;r!==s;){const n=s+(r-s>>1),i=e[n<<1];if(t===i)return n<<1;i>t?r=n:s=n+1}return~(r<<1)}(e,t)}const Xn={},es=/\n/gm,ts="__source",ns=ee({provide:String,useValue:ee});let ss;function rs(e){const t=ss;return ss=e,t}function is(e,t=we.Default){if(void 0===ss)throw new Error("inject() must be called from an injection context");return null===ss?Ce(e,void 0,t):ss.get(e,t&we.Optional?null:void 0,t)}function os(e,t=we.Default){return(ve||is)(ie(e),t)}function as(e){const t=[];for(let n=0;n({token:e})),-1),us=ls(qn("Optional"),8),hs=ls(qn("SkipSelf"),4);let ds;function ps(e){var t;return(null===(t=function(){if(void 0===ds&&(ds=null,Oe.trustedTypes))try{ds=Oe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return ds}())||void 0===t?void 0:t.createHTML(e))||e}class fs{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function gs(e){return e instanceof fs?e.changingThisBreaksApplicationSecurity:e}class ms{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(ps(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class ys{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=ps(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=ps(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let s=t.length-1;0ws(e.trim())).join(", ")}function Es(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Cs(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Ss=Es("area,br,col,hr,img,wbr"),Ts=Es("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ks=Es("rp,rt"),xs=Cs(ks,Ts),Is=Cs(Ss,Cs(Ts,Es("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")),Cs(ks,Es("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")),xs),As=Es("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ps=Es("srcset"),Os=Cs(As,Ps,Es("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,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"),Es("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"));var Ds=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Ns(e){const t=function(){const e=Ot();return e&&e[12]}();return t?t.sanitize(Ds.URL,e)||"":function(e,t){const n=function(e){return e instanceof fs&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?gs(e):ws(ae(e))}function Rs(e){return e.ngDebugContext}function Fs(e){return e.ngOriginalError}function Ms(e,...t){e.error(...t)}class Hs{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),s=function(e){return e.ngErrorLogger||Ms}(e);s(this._console,"ERROR",e),t&&s(this._console,"ORIGINAL ERROR",t),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Rs(e)?Rs(e):this._findContext(Fs(e)):null}_findOriginalError(e){let t=Fs(e);for(;t&&Fs(t);)t=Fs(t);return t}}function Vs(e,t){e.__ngContext__=t}const zs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Oe))();function js(e){return e instanceof Function?e():e}var Ls=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let $s;function Bs(e,t){return $s(e,t)}function qs(e){const t=e[3];return tt(t)?t[3]:t}function Us(e){return Zs(e[13])}function Gs(e){return Zs(e[4])}function Zs(e){for(;null!==e&&!tt(e);)e=e[4];return e}function Ws(e,t,n,s,r){if(null!=s){let i,o=!1;tt(s)?i=s:et(s)&&(o=!0,s=s[0]);const a=yt(s);0===e&&null!==n?null==r?sr(t,n,a):nr(t,n,a,r||null,!0):1===e&&null!==n?nr(t,n,a,r||null,!0):2===e?function(e,t,n){const s=ir(e,t);s&&function(e,t,n,s){gt(e)?e.removeChild(t,n,s):t.removeChild(n)}(e,s,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,s,r){const i=n[7];i!==yt(n)&&Ws(t,e,s,i,r);for(let o=Xe;o0&&(e[n-1][4]=s[4]);const o=Qn(e,Xe+t);gr(s[1],r=s,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),s[3]=null,s[4]=null,s[2]&=-129}var r;return s}function Xs(e,t){if(!(256&t[2])){const n=t[11];gt(n)&&n.destroyNode&&gr(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return er(e[1],e);for(;t;){let n=null;if(et(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)et(t)&&er(t[1],t),t=t[3];null===t&&(t=e),et(t)&&er(t[1],t),n=t&&t[4]}t=n}}(t)}}function er(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let s=0;s=0?s[r=l]():s[r=-l].unsubscribe(),i+=2}else{const e=s[r=n[i+1]];n[i].call(e)}if(null!==s){for(let e=r+1;ei?"":r[u+1].toLowerCase();const t=8&s?e:null;if(t&&-1!==br(t,c,0)||2&s&&c!==e){if(Tr(s))return!1;o=!0}}}}else{if(!o&&!Tr(s)&&!Tr(l))return!1;if(o&&Tr(l))continue;o=!1,s=l|1&s}}return Tr(s)||o}function Tr(e){return 0==(1&e)}function kr(e,t,n,s){if(null===t)return-1;let r=0;if(s||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&s?r+="."+o:4&s&&(r+=" "+o);else""===r||Tr(o)||(t+=Ir(i,r),r=""),s=o,i=i||!Tr(s);n++}return""!==r&&(t+=Ir(i,r)),t}const Pr={};function Or(e){Dr(Dt(),Ot(),on()+e,jt())}function Dr(e,t,n,s){if(!s)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&un(t,s,n)}else{const s=e.preOrderHooks;null!==s&&hn(t,s,0,n)}an(n)}function Nr(e,t){return e<<17|t<<2}function Rr(e){return e>>17&32767}function Fr(e){return 2|e}function Mr(e){return(131068&e)>>2}function Hr(e,t){return-131069&e|t<<2}function Vr(e){return 1|e}function zr(e,t){const n=e.contentQueries;if(null!==n)for(let s=0;sJe&&Dr(e,t,Je,jt()),n(s,r)}finally{an(i)}}function Wr(e,t,n){if(nt(t)){const s=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(s,r,o)}}function ri(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ii(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function oi(e,t,n){if(n){if(t.exportAs)for(let s=0;s0&&fi(n)}}function fi(e){for(let n=Us(e);null!==n;n=Gs(n))for(let e=Xe;e0&&fi(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&fi(s)}}function gi(e,t){const n=Et(t,e),s=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function Ei(e){return e[7]||(e[7]=[])}function Ci(e){return e.cleanup||(e.cleanup=[])}function Si(e,t){const n=e[9],s=n?n.get(Hs,null):null;s&&s.handleError(t)}function Ti(e,t,n,s,r){for(let i=0;ithis.processProvider(n,e,t)),Zn([e],e=>this.processInjectorType(e,[],r)),this.records.set(Ii,zi(void 0,this));const i=this.records.get(Pi);this.scope=null!=i?i.value:null,this.source=s||("object"==typeof e?null:te(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Xn,n=we.Default){this.assertNotDestroyed();const s=rs(this);try{if(!(n&we.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Un)&&pe(e);t=n&&this.injectableDefInScope(n)?zi(Vi(e),Oi):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&we.Self?Fi():this.parent).get(e,t=n&we.Optional&&t===Xn?null:t)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(te(e)),s)throw i;return function(e,t,n,s){const r=e.ngTempTokenPath;throw t[ts]&&r.unshift(t[ts]),e.message=function(e,t,n,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=te(t);if(Array.isArray(t))r=t.map(te).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let s=t[n];e.push(n+":"+("string"==typeof s?JSON.stringify(s):te(s)))}r=`{${e.join(", ")}}`}return`${n}${s?"("+s+")":""}[${r}]: ${e.replace(es,"\n ")}`}("\n"+e.message,r,n,s),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(i,e,"R3InjectorError",this.source)}throw i}finally{rs(s)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(te(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ie(e)))return!1;let s=ge(e);const r=null==s&&e.ngModule||void 0,i=void 0===r?e:r,o=-1!==n.indexOf(i);if(void 0!==r&&(s=ge(r)),null==s)return!1;if(null!=s.imports&&!o){let e;n.push(i);try{Zn(s.imports,s=>{this.processInjectorType(s,t,n)&&(void 0===e&&(e=[]),e.push(s))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,s||Ni))}}this.injectorDefTypes.add(i);const a=ot(i)||(()=>new i);this.records.set(i,zi(a,Oi));const l=s.providers;if(null!=l&&!o){const t=e;Zn(l,e=>this.processProvider(e,t,l))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let s=Li(e=ie(e))?e:ie(e&&e.provide);const r=function(e,t,n){return ji(e)?zi(void 0,e.useValue):zi(function(e,t,n){let s;if(Li(e)){const t=ie(e);return ot(t)||Vi(t)}if(ji(e))s=()=>ie(e.useValue);else if((r=e)&&r.useFactory)s=()=>e.useFactory(...as(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))s=()=>os(ie(e.useExisting));else{const t=ie(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ot(t)||Vi(t);s=()=>new t(...as(e.deps))}var r;return s}(e),Oi)}(e);if(Li(e)||!0!==e.multi)this.records.get(s);else{let t=this.records.get(s);t||(t=zi(void 0,Oi,!0),t.factory=()=>as(t.multi),this.records.set(s,t)),s=e,t.multi.push(e)}this.records.set(s,r)}hydrate(e,t){var n;return t.value===Oi&&(t.value=Di,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Vi(e){const t=pe(e),n=null!==t?t.factory:ot(e);if(null!==n)return n;if(e instanceof Un)throw new Error(`Token ${te(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let s=0;sn.factory(e):()=>new e}(e);throw new Error("unreachable")}function zi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ji(e){return null!==e&&"object"==typeof e&&ns in e}function Li(e){return"function"==typeof e}const $i=function(e,t,n){return function(e,t=null,n=null,s){const r=Mi(e,t,n,s);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Bi=(()=>{class e{static create(e,t){return Array.isArray(e)?$i(e,t,""):$i(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Xn,e.NULL=new Ai,e.\u0275prov=he({token:e,providedIn:"any",factory:()=>os(Ii)}),e.__NG_ELEMENT_ID__=-1,e})();function qi(e,t){cn(Ct(e)[1],Rt())}let Ui=null;function Gi(){if(!Ui){const e=Oe.Symbol;if(e&&e.iterator)Ui=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(yt(e[s.index])).target:s.index;if(gt(n)){let o=null;if(!a&&l&&(o=function(e,t,n,s){const r=e.cleanup;if(null!=r)for(let i=0;in?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,r,s.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=yo(s,t,i,!1);const e=n.listen(p.name||f,r,i);u.push(i,e),c&&c.push(r,m,g,g+1)}}else i=yo(s,t,i,!0),f.addEventListener(r,i,o),u.push(i),c&&c.push(r,m,g,o)}else i=yo(s,t,i,!1);const d=s.outputs;let p;if(h&&null!==d&&(p=d[r])){const e=p.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,At.lFrame.contextLView))[8]}(e)}function bo(e,t,n){return wo(e,"",t,"",n),bo}function wo(e,t,n,s,r){const i=Ot(),o=eo(i,t,n,s);return o!==Pr&&ti(Dt(),ln(),i,e,o,i[11],r,!1),wo}function vo(e,t,n,s,r,i,o){const a=Ot(),l=to(a,t,n,s,r,i);return l!==Pr&&ti(Dt(),ln(),a,e,l,a[11],o,!1),vo}const Eo=[];function Co(e,t,n,s,r){const i=e[n+1],o=null===t;let a=s?Rr(i):Mr(i),l=!1;for(;0!==a&&(!1===l||o);){const n=e[a+1];So(e[a],t)&&(l=!0,e[a+1]=s?Vr(n):Fr(n)),a=s?Rr(n):Mr(n)}l&&(e[n+1]=s?Fr(i):Vr(i))}function So(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Jn(e,t)>=0}const To={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ko(e){return e.substring(To.key,To.keyEnd)}function xo(e,t){const n=To.textEnd;return n===t?-1:(t=To.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,To.key=t,n),Io(e,t,n))}function Io(e,t,n){for(;t=0;n=xo(t,n))Kn(e,ko(t),!0)}function Oo(e,t){return t>=e.expandoStartIndex}function Do(e,t,n,s){const r=e.data;if(null===r[n+1]){const i=r[on()],o=Oo(e,n);Vo(i,s)&&null===t&&!o&&(t=!1),t=function(e,t,n,s){const r=function(e){const t=At.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=s?t.residualClasses:t.residualStyles;if(null===r)0===(s?t.classBindings:t.styleBindings)&&(n=Ro(n=No(null,e,t,n,s),t.attrs,s),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=No(r,e,t,n,s),null===i){let n=function(e,t,n){const s=n?t.classBindings:t.styleBindings;if(0!==Mr(s))return e[Rr(s)]}(e,t,s);void 0!==n&&Array.isArray(n)&&(n=No(null,e,t,n[1],s),n=Ro(n,t.attrs,s),function(e,t,n,s){e[Rr(n?t.classBindings:t.styleBindings)]=s}(e,t,s,n))}else i=function(e,t,n){let s;const r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=Rr(e[a+1]);e[s+1]=Nr(t,a),0!==t&&(e[t+1]=Hr(e[t+1],s)),e[a+1]=131071&e[a+1]|s<<17}else e[s+1]=Nr(a,0),0!==a&&(e[a+1]=Hr(e[a+1],s)),a=s;else e[s+1]=Nr(l,0),0===a?a=s:e[l+1]=Hr(e[l+1],s),l=s;u&&(e[s+1]=Fr(e[s+1])),Co(e,c,s,!0),Co(e,c,s,!1),function(e,t,n,s,r){const i=r?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Jn(i,t)>=0&&(n[s+1]=Vr(n[s+1]))}(t,c,e,s,i),o=Nr(a,l),i?t.classBindings=o:t.styleBindings=o}(r,i,t,n,o,s)}}function No(e,t,n,s,r){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const t=e[r],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[r+1];u===Pr&&(u=c?Eo:void 0);let h=c?Yn(u,s):l===s?u:void 0;if(i&&!Ho(h)&&(h=Yn(t,s)),Ho(h)&&(a=h,o))return a;const d=e[r+1];r=o?Rr(d):Mr(d)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=Yn(e,s))}return a}function Ho(e){return void 0!==e}function Vo(e,t){return 0!=(e.flags&(t?16:32))}function zo(e,t=""){const n=Ot(),s=Dt(),r=e+Je,i=s.firstCreatePass?Lr(s,r,1,t,null):s.data[r],o=n[r]=Qs(n[11],t);ur(s,n,o,i),Ht(i,!1)}function jo(e){return Lo("",e,""),jo}function Lo(e,t,n){const s=Ot(),r=eo(s,e,t,n);return r!==Pr&&ki(s,on(),r),Lo}function $o(e,t,n,s,r){const i=Ot(),o=to(i,e,t,n,s,r);return o!==Pr&&ki(i,on(),o),$o}const Bo=void 0;var qo=["en",[["a","p"],["AM","PM"],Bo],[["AM","PM"],Bo,Bo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Bo,[["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"]],Bo,[["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}",Bo,"{1} 'at' {0}",Bo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Uo={};function Go(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Zo(t);if(n)return n;const s=t.split("-")[0];if(n=Zo(s),n)return n;if("en"===s)return qo;throw new Error(`Missing locale data for the locale "${e}".`)}function Zo(e){return e in Uo||(Uo[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),Uo[e]}var Wo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Qo="en-US",Ko={marker:"element"},Yo={marker:"ICU"};var Jo=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({});let Xo=Qo;function ea(e){var t;null==(t=e)&&ue("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(Xo=e.toLowerCase().replace(/_/g,"-"))}function ta(e,t,n){const s=t.insertBeforeIndex,r=Array.isArray(s)?s[0]:s;return null===r?or(e,0,n):yt(n[r])}function na(e,t,n,s,r){const i=t.insertBeforeIndex;if(Array.isArray(i)){let o=s,a=null;if(3&t.type||(a=o,o=r),null!==o&&0==(2&t.flags))for(let t=1;t1)for(let n=e.length-2;n>=0;n--){const s=e[n];ra(s)||ia(s,t)&&null===oa(s)&&aa(s,t.index)}}function ra(e){return!(64&e.type)}function ia(e,t){return ra(t)||e.index>t.index}function oa(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function aa(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(cr(ta,na),e.insertBeforeIndex=t)}function la(e,t,n){const s=$r(e,n,64,null,null);return sa(t,s),s}const ca=/\ufffd(\d+):?\d*\ufffd/gi,ua=/\ufffd(\d+)\ufffd/,ha=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,da=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,pa=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,fa=/\uE500/g;function ga(e,t,n,s,r,i,o){const a=Br(e,s,1,null);let l=a<0?t[o]:(e.push(s,n),r(t[1].data[~o],t),i())}return 0===e.length?null:(n=e.pop(),s=e.pop(),i())}return function(n,s){for(t=s;e.length;)e.pop();return r(n.value,s),i}}())),r.push(l,null===i?"":i);const u=$r(e,a,o?32:1,null===i?"":i,null);sa(n,u);const h=u.index;return Ht(u,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;var s;null===n?(cr(ta,na),n=e.insertBeforeIndex=[null,t]):("Expecting array here",(s=Array.isArray(n))!=!0&&ue("Expecting array here",s,true,"=="),n.push(t))}(c,h),u}function ma(e,t,n,s,r,i,o){const a=o.match(ca),l=ga(e,t,n,i,s,a?null:o,!1);a&&ya(r,o,l.index)}function ya(e,t,n,s,r=null){const i=e.length,o=i+1;e.push(null,null);const a=i+2,l=t.split(ca);let c=0;for(let u=0;un.length&&n.push(r)}return{type:s,mainBinding:r,cases:t,values:n}}function Ea(e){if(!e)return[];let t=0;const n=[],s=[],r=/[{}]/g;let i;for(r.lastIndex=0;i=r.exec(e);){const r=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);ha.test(n)?s.push(va(n)):s.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);s.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return s.push(o),s}function Ca(e,t,n,s,r,i,o,a){const l=[],c=[],u=[];t.cases.push(i),t.create.push(l),t.remove.push(c),t.update.push(u);const h=function(e){const t=new ys(e);return function(){try{return!!(new window.DOMParser).parseFromString(ps(""),"text/html")}catch(e){return!1}}()?new ms(t):t}(ft()).getInertBodyElement(o),d=("content"in(p=h)&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(p)?p.content:null)||h;var p;return d?Sa(e,t,n,s,l,c,u,d,r,a,0):0}function Sa(e,t,n,s,r,i,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=Br(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const p=d,f=p.tagName.toLowerCase();if(Is.hasOwnProperty(f)){xa(r,Ko,f,l,a),e.data[a]=f;const g=p.attributes;for(let e=0;e>>Jo.SHIFT;let h=e[u];null===h&&(h=e[u]=l?r.createComment(a):Qs(r,a)),c&&null!==n&&nr(r,n,h,s,!1)}}(r,l.create,c,a&&8&a.type?r[a.index]:null),Gt(!0)})(e,t,n),Gt(!1)}class Pa{}class Oa{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Da=(()=>{class e{}return e.NULL=new Oa,e})();function Na(...e){}function Ra(e,t){return new Ma(bt(e,t))}const Fa=function(){return Ra(Rt(),Ot())};let Ma=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=Fa,e})();function Ha(e){return e instanceof Ma?e.nativeElement:e}class Va{}let za=(()=>{class e{}return e.\u0275prov=he({token:e,providedIn:"root",factory:()=>null}),e})();class ja{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const La=new ja("11.2.5");class $a{constructor(){}supports(e){return Wi(e)}create(e){return new qa(e)}}const Ba=(e,t)=>t;class qa{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||Ba}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,s=0,r=null;for(;t||n;){const i=!n||t&&t.currentIndex{s=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,s)?(i&&(r=this._verifyReinsertion(r,e,s,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,s,t),i=!0),r=r._next,t++}),this.length=t;return this._truncate(r),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;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=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,s){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,s)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,s)):e=this._addAfter(new Ua(t,n),r,s),e}_verifyReinsertion(e,t,n,s){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,s):e.currentIndex!=s&&(e.currentIndex=s,this._addToMoves(e,s)),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 s=e._prevRemoved,r=e._nextRemoved;return null===s?this._removalsHead=r:s._nextRemoved=r,null===r?this._removalsTail=s:r._prevRemoved=s,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 s=null===t?this._itHead:t._next;return e._next=s,e._prev=t,null===s?this._itTail=e:s._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Za),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 Za),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 Ua{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 Ga{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)&&Object.is(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 Za{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Ga,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 Wa(e,t,n){const s=e.previousIndex;if(null===s)return s;let r=0;return n&&s{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const s=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,s)}}),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 s=n._prev,r=n._next;return s&&(s._next=r),r&&(r._prev=s),n._next=null,n._prev=null,n}const n=new Ya(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){Object.is(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 Ya{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}}function Ja(){return new Xa([new $a])}let Xa=(()=>{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=>e.create(t,n||Ja()),deps:[[e,new hs,new us]]}}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.\u0275prov=he({token:e,providedIn:"root",factory:Ja}),e})();function el(){return new tl([new Qa])}let tl=(()=>{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=>e.create(t,n||el()),deps:[[e,new hs,new us]]}}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.\u0275prov=he({token:e,providedIn:"root",factory:el}),e})();function nl(e,t,n,s,r=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&s.push(yt(i)),tt(i))for(let e=Xe;e-1&&(Js(e,n),Qn(t,n))}this._attachedToViewContainer=!1}Xs(this._lView[1],this._lView)}onDestroy(e){Xr(this._lView[1],this._lView,null,e)}markForCheck(){yi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){_i(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Lt(!0);try{_i(e,t,n)}finally{Lt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,gr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class rl extends sl{constructor(e){super(e),this._view=e}detectChanges(){bi(this._view)}checkNoChanges(){!function(e){Lt(!0);try{bi(e)}finally{Lt(!1)}}(this._view)}get context(){return null}}const il=al;let ol=(()=>{class e{}return e.__NG_ELEMENT_ID__=il,e.__ChangeDetectorRef__=!0,e})();function al(e=!1){return function(e,t,n){if(!n&&st(e)){const n=Et(e.index,t);return new sl(n,n)}return 47&e.type?new sl(t[16],t):null}(Rt(),Ot(),e)}const ll=[new Qa],cl=new Xa([new $a]),ul=new tl(ll),hl=function(){return gl(Rt(),Ot())};let dl=(()=>{class e{}return e.__NG_ELEMENT_ID__=hl,e})();const pl=dl,fl=class extends pl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=jr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(t)),qr(t,n,e),new sl(n)}};function gl(e,t){return 4&e.type?new fl(t,e,Ra(e,t)):null}class ml{}const yl=function(){return Cl(Rt(),Ot())};let _l=(()=>{class e{}return e.__NG_ELEMENT_ID__=yl,e})();const bl=_l,wl=class extends bl{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Ra(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){const e=Pn(this._hostTNode,this._hostLView);if(vn(e)){const t=Cn(e,this._hostLView),n=En(e);return new $n(t[1].data[n+8],t)}return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=vl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Xe}createEmbeddedView(e,t,n){const s=e.createEmbeddedView(t||{});return this.insert(s,n),s}createComponent(e,t,n,s,r){const i=n||this.parentInjector;if(!r&&null==e.ngModule&&i){const e=i.get(ml,null);e&&(r=e)}const o=e.create(i,s,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,s=n[1];if(tt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],s=new wl(t,t[6],t[3]);s.detach(s.indexOf(e))}}const r=this._adjustIndex(t),i=this._lContainer;!function(e,t,n,s){const r=Xe+s,i=n.length;s>0&&(n[r-1][4]=t),szs});class Il extends Pa{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Ar).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return kl(this.componentDef.inputs)}get outputs(){return kl(this.componentDef.outputs)}create(e,t,n,s){const r=(s=s||this.ngModule)?function(e,t){return{get:(n,s,r)=>{const i=e.get(n,Sl,r);return i!==Sl||s===Sl?i:t.get(n,s,r)}}}(e,s.injector):e,i=r.get(Va,mt),o=r.get(za,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(gt(e))return e.selectRootElement(t,n===ke.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}(a,n,this.componentDef.encapsulation):Ks(i.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:zs,clean:vi,playerHandler:null,flags:0},d=Jr(0,null,null,1,0,null,null,null,null,null),p=jr(null,d,h,u,null,null,i,a,o,r);let f,g;Xt(p);try{const e=function(e,t,n,s,r,i){const o=n[1];n[20]=e;const a=Lr(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(xi(a,l,!0),null!==e&&(yn(r,e,l),null!==a.classes&&_r(r,e,a.classes),null!==a.styles&&yr(r,e,a.styles)));const c=s.createRenderer(e,t),u=jr(n,Yr(t),null,t.onPush?64:16,n[20],a,s,c,null,null);return o.firstCreatePass&&(On(xn(a,n),o,t.type),ii(o,a),ai(a,n.length,1)),mi(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)yn(a,c,["ng-version",La.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let s=1,r=2;for(;s0&&_r(a,c,t.join(" "))}if(g=wt(d,Je),void 0!==t){const e=g.projection=[];for(let n=0;ne(o,t)),t.contentQueries){const e=Rt();t.contentQueries(1,o,e.directiveStart)}const a=Rt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(an(a.index),si(n[1],a,0,a.directiveStart,a.directiveEnd,t),ri(t,o)),o}(e,this.componentDef,p,h,[qi]),qr(d,p,null)}finally{rn()}return new Al(this.componentType,f,Ra(g,p),p,g)}}class Al extends class{}{constructor(e,t,n,s,r){super(),this.location=n,this._rootLView=s,this._tNode=r,this.instance=t,this.hostView=this.changeDetectorRef=new rl(s),this.componentType=e}get injector(){return new $n(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const Pl=new Map;class Ol extends ml{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Tl(this);const n=Ye(e),s=e[Ve]||null;s&&ea(s),this._bootstrapComponents=js(n.bootstrap),this._r3Injector=Mi(e,t,[{provide:ml,useValue:this},{provide:Da,useValue:this.componentFactoryResolver}],te(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Bi.THROW_IF_NOT_FOUND,n=we.Default){return e===Bi||e===ml||e===Ii?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Dl extends class{}{constructor(e){super(),this.moduleType=e,null!==Ye(e)&&function(e){const t=new Set;!function e(n){const s=Ye(n,!0),r=s.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(r,Pl.get(r),n),Pl.set(r,n));const i=js(s.imports);for(const o of i)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Ol(this.moduleType,e)}}function Nl(e,t,n,s){return Ml(Ot(),$t(),e,t,n,s)}function Rl(e,t,n,s,r){return Hl(Ot(),$t(),e,t,n,s,r)}function Fl(e,t){const n=e[t];return n===Pr?void 0:n}function Ml(e,t,n,s,r,i){const o=t+n;return Yi(e,o,r)?Ki(e,o+1,i?s.call(i,r):s(r)):Fl(e,o+1)}function Hl(e,t,n,s,r,i,o){const a=t+n;return Ji(e,a,r,i)?Ki(e,a+2,o?s.call(o,r,i):s(r,i)):Fl(e,a+2)}function Vl(e,t){const n=Dt();let s;const r=e+Je;n.firstCreatePass?(s=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const s=t[n];if(e===s.name)return s}throw new oe("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,s.onDestroy)):s=n.data[r];const i=s.factory||(s.factory=ot(s.type)),o=Ee(ro);try{const e=Tn(!1),t=i();return Tn(e),function(e,t,n,s){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=s}(n,Ot(),r,t),t}finally{Ee(o)}}function zl(e,t,n){const s=e+Je,r=Ot(),i=vt(r,s);return $l(r,Ll(r,s)?Ml(r,$t(),t,i.transform,n,i):i.transform(n))}function jl(e,t,n,s){const r=e+Je,i=Ot(),o=vt(i,r);return $l(i,Ll(i,r)?Hl(i,$t(),t,o.transform,n,s,o):o.transform(n,s))}function Ll(e,t){return e[1].data[t].pure}function $l(e,t){return Zi.isWrapped(t)&&(t=Zi.unwrap(t),e[Bt()]=Pr),t}const Bl=class extends C{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let s,r=e=>null,i=()=>null;e&&"object"==typeof e?(s=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(r=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(s,r,i);return e instanceof h&&e.add(o),o}};function ql(){return this._results[Gi()]()}class Ul{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Gi(),n=Ul.prototype;n[t]||(n[t]=ql)}get changes(){return this._changes||(this._changes=new Bl)}get(e){return this._results[e]}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,t){const n=this;n.dirty=!1;const s=Gn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let s=0;s0)s.push(o[e/2]);else{const r=i[e+1],o=t[-n];for(let e=Xe;e{class e{constructor(e){this.appInits=e,this.resolve=Na,this.reject=Na,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{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(os(oc,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const lc=new Un("AppId"),cc={provide:lc,useFactory:function(){return`${uc()}${uc()}${uc()}`},deps:[]};function uc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const hc=new Un("Platform Initializer"),dc=new Un("Platform ID"),pc=new Un("appBootstrapListener");let fc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const gc=new Un("LocaleId"),mc=new Un("DefaultCurrencyCode");class yc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const _c=function(e){return new Dl(e)},bc=_c,wc=function(e){return Promise.resolve(_c(e))},vc=function(e){const t=_c(e),n=js(Ye(e).declarations).reduce((e,t)=>{const n=Ke(t);return n&&e.push(new Il(n)),e},[]);return new yc(t,n)},Ec=vc,Cc=function(e){return Promise.resolve(vc(e))};let Sc=(()=>{class e{constructor(){this.compileModuleSync=bc,this.compileModuleAsync=wc,this.compileModuleAndAllComponentsSync=Ec,this.compileModuleAndAllComponentsAsync=Cc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Tc=(()=>Promise.resolve(0))();function kc(e){"undefined"==typeof Zone?Tc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bl(!1),this.onMicrotaskEmpty=new Bl(!1),this.onStable=new Bl(!1),this.onError=new Bl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&t,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let e=Oe.requestAnimationFrame,t=Oe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Pc(e),Ac(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Pc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,r,i,o,a)=>{try{return Oc(e),n.invokeTask(r,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Dc(e)}},onInvoke:(n,s,r,i,o,a,l)=>{try{return Oc(e),n.invoke(r,i,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Dc(e)}},onHasTask:(t,n,s,r)=>{t.hasTask(s,r),n===s&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Pc(e),Ac(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,s,r)=>(t.handleError(s,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xc.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,s){const r=this._inner,i=r.scheduleEventTask("NgZoneEvent: "+s,e,Ic,Na,Na);try{return r.runTask(i,t,n)}finally{r.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Ic={};function Ac(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 Pc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Oc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dc(e){e._nesting--,Ac(e)}class Nc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bl,this.onMicrotaskEmpty=new Bl,this.onStable=new Bl,this.onError=new Bl}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,s){return e.apply(t,n)}}let Rc=(()=>{class e{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:()=>{xc.assertNotInAngularZone(),kc(()=>{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())kc(()=>{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 s=-1;t&&t>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==s),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:s,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[]}}return e.\u0275fac=function(t){return new(t||e)(os(xc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Fc=(()=>{class e{constructor(){this._applications=new Map,Vc.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 Vc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Mc{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Hc,Vc=new Mc,zc=!0,jc=!1;const Lc=new Un("AllowMultipleToken");function $c(e,t,n=[]){const s=`Platform: ${t}`,r=new Un(s);return(t=[])=>{let i=Bc();if(!i||i.injector.get(Lc,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:Pi,useValue:"platform"});!function(e){if(Hc&&!Hc.destroyed&&!Hc.injector.get(Lc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Hc=e.get(qc);const t=e.get(hc,null);t&&t.forEach(e=>e())}(Bi.create({providers:e,name:s}))}return function(e){const t=Bc();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}(r)}}function Bc(){return Hc&&!Hc.destroyed?Hc:null}let qc=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Nc:("zone.js"===e?void 0:e)||new xc({enableLongStackTrace:(jc=!0,zc),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),s=[{provide:xc,useValue:n}];return n.run(()=>{const t=Bi.create({providers:s,parent:this.injector,name:e.moduleType.name}),r=e.create(t),i=r.injector.get(Hs,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{i.handleError(e)}});r.onDestroy(()=>{Zc(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const s=n();return fo(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(i,n,()=>{const e=r.injector.get(ac);return e.runInitializers(),e.donePromise.then(()=>(ea(r.injector.get(gc,Qo)||Qo),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=Uc({},t);return function(e,t,n){const s=new Dl(n);return Promise.resolve(s)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Gc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${te(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}}return e.\u0275fac=function(t){return new(t||e)(os(Bi))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Uc(e,t){return Array.isArray(t)?t.reduce(Uc,e):Object.assign(Object.assign({},e),t)}let Gc=(()=>{class e{constructor(e,t,n,s,r){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new _(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),o=new _(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{xc.assertNotInAngularZone(),kc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{xc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=q(i,o.pipe(e=>U()(Y(X)(e))))}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 Pa?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(ml),r=n.create(Bi.NULL,[],t||n.selector,s),i=r.location.nativeElement,o=r.injector.get(Rc,null),a=o&&r.injector.get(Fc);return o&&a&&a.registerApplication(i,o),r.onDestroy(()=>{this.detachView(r.hostView),Zc(this.components,r),a&&a.unregisterApplication(i)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Zc(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(pc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(os(xc),os(Bi),os(Hs),os(Da),os(ac))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Zc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Wc=$c(null,"core",[{provide:dc,useValue:"unknown"},{provide:qc,deps:[Bi]},{provide:Fc,deps:[]},{provide:fc,deps:[]}]),Qc=[{provide:Gc,useClass:Gc,deps:[xc,Bi,Hs,Da,ac]},{provide:xl,deps:[xc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:ac,useClass:ac,deps:[[new us,oc]]},{provide:Sc,useClass:Sc,deps:[]},cc,{provide:Xa,useFactory:function(){return cl},deps:[]},{provide:tl,useFactory:function(){return ul},deps:[]},{provide:gc,useFactory:function(e){return ea(e=e||"undefined"!=typeof $localize&&$localize.locale||Qo),e},deps:[[new cs(gc),new us,new hs]]},{provide:mc,useValue:"USD"}];let Kc=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(os(Gc))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:Qc}),e})(),Yc=null;function Jc(){return Yc}const Xc=new Un("DocumentToken");var eu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),tu=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),nu=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),su=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),ru=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function iu(e,t){return uu(Go(e)[Wo.DateFormat],t)}function ou(e,t){return uu(Go(e)[Wo.TimeFormat],t)}function au(e,t){return uu(Go(e)[Wo.DateTimeFormat],t)}function lu(e,t){const n=Go(e),s=n[Wo.NumberSymbols][t];if(void 0===s){if(t===ru.CurrencyDecimal)return n[Wo.NumberSymbols][ru.Decimal];if(t===ru.CurrencyGroup)return n[Wo.NumberSymbols][ru.Group]}return s}function cu(e){if(!e[Wo.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Wo.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function uu(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 hu(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const du=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pu={},fu=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|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]*)/;var gu=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),mu=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),yu=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function _u(e,t,n,s){let r=function(e){if(Ou(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,s=1]=e.split("-").map(e=>+e);return bu(t,n-1,s)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(du))return function(e){const t=new Date(0);let n=0,s=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),s=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-s,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!Ou(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=wu(n,t)||t;let i,o=[];for(;t;){if(i=fu.exec(t),!i){o.push(t);break}{o=o.concat(i.slice(1));const e=o.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();s&&(a=Pu(s,a),r=function(e,t,n){const s=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Pu(t,s)-s))}(r,s));let l="";return o.forEach(e=>{const t=function(e){if(Au[e])return Au[e];let t;switch(e){case"G":case"GG":case"GGG":t=Su(yu.Eras,nu.Abbreviated);break;case"GGGG":t=Su(yu.Eras,nu.Wide);break;case"GGGGG":t=Su(yu.Eras,nu.Narrow);break;case"y":t=Cu(mu.FullYear,1,0,!1,!0);break;case"yy":t=Cu(mu.FullYear,2,0,!0,!0);break;case"yyy":t=Cu(mu.FullYear,3,0,!1,!0);break;case"yyyy":t=Cu(mu.FullYear,4,0,!1,!0);break;case"Y":t=Iu(1);break;case"YY":t=Iu(2,!0);break;case"YYY":t=Iu(3);break;case"YYYY":t=Iu(4);break;case"M":case"L":t=Cu(mu.Month,1,1);break;case"MM":case"LL":t=Cu(mu.Month,2,1);break;case"MMM":t=Su(yu.Months,nu.Abbreviated);break;case"MMMM":t=Su(yu.Months,nu.Wide);break;case"MMMMM":t=Su(yu.Months,nu.Narrow);break;case"LLL":t=Su(yu.Months,nu.Abbreviated,tu.Standalone);break;case"LLLL":t=Su(yu.Months,nu.Wide,tu.Standalone);break;case"LLLLL":t=Su(yu.Months,nu.Narrow,tu.Standalone);break;case"w":t=xu(1);break;case"ww":t=xu(2);break;case"W":t=xu(1,!0);break;case"d":t=Cu(mu.Date,1);break;case"dd":t=Cu(mu.Date,2);break;case"E":case"EE":case"EEE":t=Su(yu.Days,nu.Abbreviated);break;case"EEEE":t=Su(yu.Days,nu.Wide);break;case"EEEEE":t=Su(yu.Days,nu.Narrow);break;case"EEEEEE":t=Su(yu.Days,nu.Short);break;case"a":case"aa":case"aaa":t=Su(yu.DayPeriods,nu.Abbreviated);break;case"aaaa":t=Su(yu.DayPeriods,nu.Wide);break;case"aaaaa":t=Su(yu.DayPeriods,nu.Narrow);break;case"b":case"bb":case"bbb":t=Su(yu.DayPeriods,nu.Abbreviated,tu.Standalone,!0);break;case"bbbb":t=Su(yu.DayPeriods,nu.Wide,tu.Standalone,!0);break;case"bbbbb":t=Su(yu.DayPeriods,nu.Narrow,tu.Standalone,!0);break;case"B":case"BB":case"BBB":t=Su(yu.DayPeriods,nu.Abbreviated,tu.Format,!0);break;case"BBBB":t=Su(yu.DayPeriods,nu.Wide,tu.Format,!0);break;case"BBBBB":t=Su(yu.DayPeriods,nu.Narrow,tu.Format,!0);break;case"h":t=Cu(mu.Hours,1,-12);break;case"hh":t=Cu(mu.Hours,2,-12);break;case"H":t=Cu(mu.Hours,1);break;case"HH":t=Cu(mu.Hours,2);break;case"m":t=Cu(mu.Minutes,1);break;case"mm":t=Cu(mu.Minutes,2);break;case"s":t=Cu(mu.Seconds,1);break;case"ss":t=Cu(mu.Seconds,2);break;case"S":t=Cu(mu.FractionalSeconds,1);break;case"SS":t=Cu(mu.FractionalSeconds,2);break;case"SSS":t=Cu(mu.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Tu(gu.Short);break;case"ZZZZZ":t=Tu(gu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Tu(gu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Tu(gu.Long);break;default:return null}return Au[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function bu(e,t,n){const s=new Date(0);return s.setFullYear(e,t,n),s.setHours(0,0,0),s}function wu(e,t){const n=function(e){return Go(e)[Wo.LocaleId]}(e);if(pu[n]=pu[n]||{},pu[n][t])return pu[n][t];let s="";switch(t){case"shortDate":s=iu(e,su.Short);break;case"mediumDate":s=iu(e,su.Medium);break;case"longDate":s=iu(e,su.Long);break;case"fullDate":s=iu(e,su.Full);break;case"shortTime":s=ou(e,su.Short);break;case"mediumTime":s=ou(e,su.Medium);break;case"longTime":s=ou(e,su.Long);break;case"fullTime":s=ou(e,su.Full);break;case"short":const t=wu(e,"shortTime"),n=wu(e,"shortDate");s=vu(au(e,su.Short),[t,n]);break;case"medium":const r=wu(e,"mediumTime"),i=wu(e,"mediumDate");s=vu(au(e,su.Medium),[r,i]);break;case"long":const o=wu(e,"longTime"),a=wu(e,"longDate");s=vu(au(e,su.Long),[o,a]);break;case"full":const l=wu(e,"fullTime"),c=wu(e,"fullDate");s=vu(au(e,su.Full),[l,c])}return s&&(pu[n][t]=s),s}function vu(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Eu(e,t,n="-",s,r){let i="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length0||a>-n)&&(a+=n),e===mu.Hours)0===a&&-12===n&&(a=12);else if(e===mu.FractionalSeconds)return l=t,Eu(a,3).substr(0,l);var l;const c=lu(o,ru.MinusSign);return Eu(a,t,c,s,r)}}function Su(e,t,n=tu.Format,s=!1){return function(r,i){return function(e,t,n,s,r,i){switch(n){case yu.Months:return function(e,t,n){const s=Go(e),r=uu([s[Wo.MonthsFormat],s[Wo.MonthsStandalone]],t);return uu(r,n)}(t,r,s)[e.getMonth()];case yu.Days:return function(e,t,n){const s=Go(e),r=uu([s[Wo.DaysFormat],s[Wo.DaysStandalone]],t);return uu(r,n)}(t,r,s)[e.getDay()];case yu.DayPeriods:const o=e.getHours(),a=e.getMinutes();if(i){const e=function(e){const t=Go(e);return cu(t),(t[Wo.ExtraData][2]||[]).map(e=>"string"==typeof e?hu(e):[hu(e[0]),hu(e[1])])}(t),n=function(e,t,n){const s=Go(e);cu(s);const r=uu([s[Wo.ExtraData][0],s[Wo.ExtraData][1]],t)||[];return uu(r,n)||[]}(t,r,s),i=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,s=o>=t.hours&&a>=t.minutes,r=o0?Math.floor(r/60):Math.ceil(r/60);switch(e){case gu.Short:return(r>=0?"+":"")+Eu(o,2,i)+Eu(Math.abs(r%60),2,i);case gu.ShortGMT:return"GMT"+(r>=0?"+":"")+Eu(o,1,i);case gu.Long:return"GMT"+(r>=0?"+":"")+Eu(o,2,i)+":"+Eu(Math.abs(r%60),2,i);case gu.Extended:return 0===s?"Z":(r>=0?"+":"")+Eu(o,2,i)+":"+Eu(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}function ku(e){return bu(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function xu(e,t=!1){return function(n,s){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=ku(n),t=function(e){const t=bu(e,0,1).getDay();return bu(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),s=e.getTime()-t.getTime();r=1+Math.round(s/6048e5)}return Eu(r,e,lu(s,ru.MinusSign))}}function Iu(e,t=!1){return function(n,s){return Eu(ku(n).getFullYear(),e,lu(s,ru.MinusSign),t)}}const Au={};function Pu(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Ou(e){return e instanceof Date&&!isNaN(e.valueOf())}class Du{}let Nu=(()=>{class e extends Du{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return Go(e)[Wo.PluralCase]}(t||this.locale)(e)){case eu.Zero:return"zero";case eu.One:return"one";case eu.Two:return"two";case eu.Few:return"few";case eu.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(os(gc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Ru(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[s,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(s.trim()===t)return decodeURIComponent(r)}return null}class Fu{constructor(e,t,n,s){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=s}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}}let Mu=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){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,s)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Fu(null,this._ngForOf,-1,-1),null===s?void 0:s),r=new Hu(e,n);t.push(r)}else if(null==s)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,s);const i=new Hu(e,r);t.push(i)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(ro(_l),ro(dl),ro(Xa))},e.\u0275dir=We({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Hu{constructor(e,t){this.record=e,this.view=t}}let Vu=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new zu,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){ju("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ju("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)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(ro(_l),ro(dl))},e.\u0275dir=We({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class zu{constructor(){this.$implicit=null,this.ngIf=null}}function ju(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}class Lu{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()}}let $u=(()=>{class e{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{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Lu(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(ro(_l),ro(dl),ro($u,1))},e.\u0275dir=We({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),qu=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else 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]}}return e.\u0275fac=function(t){return new(t||e)(ro(_l))},e.\u0275dir=We({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[lt]}),e})();function Uu(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${te(e)}'`)}class Gu{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Zu{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Wu=new Zu,Qu=new Gu;let Ku=(()=>{class e{constructor(e){this._ref=e,this._latestValue=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)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(fo(t))return Wu;if(function(e){return!!e&&"function"==typeof e.subscribe}(t))return Qu;throw Uu(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(function(e=we.Default){const t=al(!0);if(null!=t||e&we.Optional)return t;ce("ChangeDetectorRef")}())},e.\u0275pipe=Qe({name:"async",type:e,pure:!1}),e})(),Yu=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",s,r){if(null==t||""===t||t!=t)return null;try{return _u(t,n,r||this.locale,s)}catch(i){throw Uu(e,i.message)}}}return e.\u0275fac=function(t){return new(t||e)(ro(gc))},e.\u0275pipe=Qe({name:"date",type:e,pure:!0}),e})(),Ju=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[{provide:Du,useClass:Nu}]}),e})();class Xu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Xu,Yc||(Yc=e)}getProperty(e,t){return e[t]}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()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}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=th||(th=document.querySelector("base"),th)?th.getAttribute("href"):null;return null==t?null:(n=t,eh||(eh=document.createElement("a")),eh.setAttribute("href",n),"/"===eh.pathname.charAt(0)?eh.pathname:"/"+eh.pathname);var n}resetBaseElement(){th=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Ru(document.cookie,e)}}let eh,th=null;const nh=new Un("TRANSITION_ID"),sh=[{provide:oc,useFactory:function(e,t,n){return()=>{n.get(ac).donePromise.then(()=>{const n=Jc();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[nh,Xc,Bi],multi:!0}];class rh{static init(){var e;e=new rh,Vc=e}addToWindow(e){Oe.getAngularTestability=(t,n=!0)=>{const s=e.findTestabilityInTree(t,n);if(null==s)throw new Error("Could not find testability for element.");return s},Oe.getAllAngularTestabilities=()=>e.getAllTestabilities(),Oe.getAllAngularRootElements=()=>e.getAllRootElements(),Oe.frameworkStabilizers||(Oe.frameworkStabilizers=[]),Oe.frameworkStabilizers.push(e=>{const t=Oe.getAllAngularTestabilities();let n=t.length,s=!1;const r=function(t){s=s||t,n--,0==n&&e(s)};t.forEach(function(e){e.whenStable(r)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?Jc().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const ih=new Un("EventManagerPlugins");let oh=(()=>{class e{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 s=0;s{class e{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)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),ch=(()=>{class e extends lh{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=>Jc().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(os(Xc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const uh={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/"},hh=/%COMP%/g;function dh(e,t,n){for(let s=0;s{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let fh=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new gh(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ke.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new mh(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case ke.ShadowDom:return new yh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=dh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(os(oh),os(ch),os(lc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class gh{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(uh[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,s){if(s){t=s+":"+t;const r=uh[s];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const s=uh[n];s?e.removeAttributeNS(s,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,s){s&(Ls.DashCase|Ls.Important)?e.style.setProperty(t,n,s&Ls.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Ls.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,ph(n)):this.eventManager.addEventListener(e,t,ph(n))}}class mh extends gh{constructor(e,t,n,s){super(e),this.component=n;const r=dh(s+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(hh,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(hh,s+"-"+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 yh extends gh{constructor(e,t,n,s){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=dh(s.id,s.styles,[]);for(let i=0;i{class e extends ah{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(os(Xc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const bh=["alt","control","meta","shift"],wh={"\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"},vh={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"},Eh={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Ch=(()=>{class e extends ah{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,s){const r=e.parseEventName(n),i=e.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jc().onAndCancel(t,r.domEventName,i))}static parseEventName(t){const n=t.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const r=e._normalizeKey(n.pop());let i="";if(bh.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=s,o.fullKey=i,o}static getEventFullKey(e){let t="",n=function(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&&vh.hasOwnProperty(t)&&(t=vh[t]))}return wh[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),bh.forEach(s=>{s!=n&&(0,Eh[s])(e)&&(t+=s+".")}),t+=n,t}static eventCallback(t,n,s){return r=>{e.getEventFullKey(r)===t&&s.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(os(Xc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Sh=$c(Wc,"browser",[{provide:dc,useValue:"browser"},{provide:hc,useValue:function(){Xu.makeCurrent(),rh.init()},multi:!0},{provide:Xc,useFactory:function(){return function(e){pt=e}(document),document},deps:[]}]),Th=[[],{provide:Pi,useValue:"root"},{provide:Hs,useFactory:function(){return new Hs},deps:[]},{provide:ih,useClass:_h,multi:!0,deps:[Xc,xc,dc]},{provide:ih,useClass:Ch,multi:!0,deps:[Xc]},[],{provide:fh,useClass:fh,deps:[oh,ch,lc]},{provide:Va,useExisting:fh},{provide:lh,useExisting:ch},{provide:ch,useClass:ch,deps:[Xc]},{provide:Rc,useClass:Rc,deps:[xc]},{provide:oh,useClass:oh,deps:[ih,xc]},[]];let kh=(()=>{class e{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(t){return{ngModule:e,providers:[{provide:lc,useValue:t.appId},{provide:nh,useExisting:lc},sh]}}}return e.\u0275fac=function(t){return new(t||e)(os(e,12))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:Th,imports:[Ju,Kc]}),e})();function xh(...e){let t=e[e.length-1];return T(t)?(e.pop(),F(e,t)):B(e)}"undefined"!=typeof window&&window;class Ih{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Ah(e,this.predicate,this.thisArg))}}class Ah extends f{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)}}class Ph{}class Oh{}class Dh{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),s=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(r):this.headers.set(s,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const s=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(t,s))})}: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 Dh?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>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 Dh;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Dh?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 s=("a"===e.op?this.headers.get(t):void 0)||[];s.push(...n),this.headers.set(t,s);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.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 Nh{encodeKey(e){return Rh(e)}encodeValue(e){return Rh(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function Rh(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 Fh{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Nh,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.replace(/^\?/,"").split("&").forEach(e=>{const s=e.indexOf("="),[r,i]=-1==s?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,s)),t.decodeValue(e.slice(s+1))],o=n.get(r)||[];o.push(i),n.set(r,o)}),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"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const s=e[n];Array.isArray(s)?s.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:s,op:"a"})}),this.clone(t)}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("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Fh({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 Mh(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Hh(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Vh(e){return"undefined"!=typeof FormData&&e instanceof FormData}class zh{constructor(e,t,n,s){let r;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)||s?(this.body=void 0!==n?n:null,r=s):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Dh),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new zh(t,n,r,{params:l,headers:a,reportProgress:o,responseType:s,withCredentials:i})}}var jh=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class Lh{constructor(e,t=200,n="OK"){this.headers=e.headers||new Dh,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 $h extends Lh{constructor(e={}){super(e),this.type=jh.ResponseHeader}clone(e={}){return new $h({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 Bh extends Lh{constructor(e={}){super(e),this.type=jh.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Bh({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 qh extends Lh{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 Uh(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Gh=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let s;if(e instanceof zh)s=e;else{let r,i;r=n.headers instanceof Dh?n.headers:new Dh(n.headers),n.params&&(i=n.params instanceof Fh?n.params:new Fh({fromObject:n.params})),s=new zh(e,t,void 0!==n.body?n.body:null,{headers:r,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=xh(s).pipe(j(e=>this.handler.handle(e),void 0,1));if(e instanceof zh||"events"===n.observe)return r;const i=r.pipe((o=e=>e instanceof Bh,function(e){return e.lift(new Ih(o,undefined))}));var o;switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return i.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return i.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return i.pipe(k(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return i.pipe(k(e=>e.body))}case"response":return i;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 Fh).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,Uh(n,t))}post(e,t,n={}){return this.request("POST",e,Uh(n,t))}put(e,t,n={}){return this.request("PUT",e,Uh(n,t))}}return e.\u0275fac=function(t){return new(t||e)(os(Ph))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Zh{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Wh=new Un("HTTP_INTERCEPTORS");let Qh=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Kh=/^\)\]\}',?\n/;class Yh{}let Jh=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Xh=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(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 s=e.serializeBody();let r=null;const i=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,s=n.statusText||"OK",i=new Dh(n.getAllResponseHeaders()),o=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 r=new $h({headers:i,status:t,statusText:s,url:o}),r},o=()=>{let{headers:s,status:r,statusText:o,url:a}=i(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(Kh,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new Bh({body:l,headers:s,status:r,statusText:o,url:a||void 0})),t.complete()):t.error(new qh({error:l,headers:s,status:r,statusText:o,url:a||void 0}))},a=e=>{const{url:s}=i(),r=new qh({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});t.error(r)};let l=!1;const c=s=>{l||(t.next(i()),l=!0);let r={type:jh.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(r.total=s.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:jh.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),t.next({type:jh.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(os(Yh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const ed=new Un("XSRF_COOKIE_NAME"),td=new Un("XSRF_HEADER_NAME");class nd{}let sd=(()=>{class e{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=Ru(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(os(Xc),os(dc),os(ed))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),rd=(()=>{class e{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 s=this.tokenService.getToken();return null===s||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,s)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(os(nd),os(td))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),id=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Wh,[]);this.chain=e.reduceRight((e,t)=>new Zh(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(os(Oh),os(Bi))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:rd,useClass:Qh}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:ed,useValue:t.cookieName}:[],t.headerName?{provide:td,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[rd,{provide:Wh,useExisting:rd,multi:!0},{provide:nd,useClass:sd},{provide:ed,useValue:"XSRF-TOKEN"},{provide:td,useValue:"X-XSRF-TOKEN"}]}),e})(),ad=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[Gh,{provide:Ph,useClass:id},Xh,{provide:Oh,useExisting:Xh},Jh,{provide:Yh,useExisting:Jh}],imports:[[od.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();const ld=new Un("basePath");class cd{constructor(e={}){this.apiKeys=e.apiKeys,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.withCredentials=e.withCredentials}selectHeaderContentType(e){if(0==e.length)return;let t=e.find(e=>this.isJsonMime(e));return void 0===t?e[0]:t}selectHeaderAccept(e){if(0==e.length)return;let t=e.find(e=>this.isJsonMime(e));return void 0===t?e[0]:t}isJsonMime(e){const t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!=e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}let ud=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1DumpGet(e="body",t=!1){let n=this.defaultHeaders;const s=this.configuration.selectHeaderAccept(["*/*"]);return null!=s&&(n=n.set("Accept",s)),this.httpClient.get(`${this.basePath}/api/v1/dump`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class hd extends Nh{encodeKey(e){return(e=super.encodeKey(e)).replace(/\+/gi,"%2B")}encodeValue(e){return(e=super.encodeValue(e)).replace(/\+/gi,"%2B")}}let dd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventCategoriesGet(e,t,n="body",s=!1){let r=new Fh({encoder:new hd});null!=e&&(r=r.set("page",e)),null!=t&&(r=r.set("per_page",t));let i=this.defaultHeaders;const o=this.configuration.selectHeaderAccept(["*/*"]);return null!=o&&(i=i.set("Accept",o)),this.httpClient.get(`${this.basePath}/api/v1/event-categories`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),pd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventDatesGet(e,t,n="body",s=!1){let r=new Fh({encoder:new hd});null!=e&&(r=r.set("page",e)),null!=t&&(r=r.set("per_page",t));let i=this.defaultHeaders;const o=this.configuration.selectHeaderAccept(["*/*"]);return null!=o&&(i=i.set("Accept",o)),this.httpClient.get(`${this.basePath}/api/v1/event-dates`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:s})}apiV1EventDatesIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventDatesIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/event-dates/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1EventDatesSearchGet(e,t,n,s,r,i,o,a,l,c="body",u=!1){let h=new Fh({encoder:new hd});null!=e&&(h=h.set("page",e)),null!=t&&(h=h.set("per_page",t)),null!=n&&(h=h.set("keyword",n)),null!=s&&(h=h.set("date_from",s)),null!=r&&(h=h.set("date_to",r)),null!=i&&(h=h.set("coordinate",i)),null!=o&&(h=h.set("distance",o)),a&&a.forEach(e=>{h=h.append("category_id",e)}),l&&l.forEach(e=>{h=h.append("weekday",e)});let d=this.defaultHeaders;const p=this.configuration.selectHeaderAccept(["*/*"]);return null!=p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.basePath}/api/v1/event-dates/search`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:c,reportProgress:u})}apiV1EventsIdDatesGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdDatesGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}/dates`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventDatesSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventDatesSearchGet.");let d=new Fh({encoder:new hd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-dates/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),fd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventReferencesIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventReferencesIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/event-references/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizationsIdEventReferencesIncomingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesIncomingGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/incoming`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventReferencesOutgoingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesOutgoingGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/outgoing`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),gd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1EventsGet(e,t,n="body",s=!1){let r=new Fh({encoder:new hd});null!=e&&(r=r.set("page",e)),null!=t&&(r=r.set("per_page",t));let i=this.defaultHeaders;const o=this.configuration.selectHeaderAccept(["*/*"]);return null!=o&&(i=i.set("Accept",o)),this.httpClient.get(`${this.basePath}/api/v1/events`,{params:r,withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:s})}apiV1EventsIdDatesGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdDatesGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}/dates`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1EventsIdDelete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdDelete.");let s=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+e)}const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.delete(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1EventsIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1EventsIdPatch(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdPatch.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.patch(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1EventsIdPut(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1EventsIdPut.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/api/v1/events/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1EventsSearchGet(e,t,n,s,r,i,o,a,l,c="body",u=!1){let h=new Fh({encoder:new hd});null!=e&&(h=h.set("page",e)),null!=t&&(h=h.set("per_page",t)),null!=n&&(h=h.set("keyword",n)),null!=s&&(h=h.set("date_from",s)),null!=r&&(h=h.set("date_to",r)),null!=i&&(h=h.set("coordinate",i)),null!=o&&(h=h.set("distance",o)),a&&a.forEach(e=>{h=h.append("category_id",e)}),l&&l.forEach(e=>{h=h.append("weekday",e)});let d=this.defaultHeaders;const p=this.configuration.selectHeaderAccept(["*/*"]);return null!=p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.basePath}/api/v1/events/search`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:c,reportProgress:u})}apiV1OrganizationsIdEventsGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventsPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizationsIdEventsSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsSearchGet.");let d=new Fh({encoder:new hd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),md=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1OrganizationsGet(e,t,n,s="body",r=!1){let i=new Fh({encoder:new hd});null!=e&&(i=i.set("page",e)),null!=t&&(i=i.set("per_page",t)),null!=n&&(i=i.set("keyword",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventDatesSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventDatesSearchGet.");let d=new Fh({encoder:new hd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-dates/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}apiV1OrganizationsIdEventReferencesIncomingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesIncomingGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/incoming`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventReferencesOutgoingGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventReferencesOutgoingGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/event-references/outgoing`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventsGet(e,t,n,s="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsGet.");let i=new Fh({encoder:new hd});null!=t&&(i=i.set("page",t)),null!=n&&(i=i.set("per_page",n));let o=this.defaultHeaders;const a=this.configuration.selectHeaderAccept(["*/*"]);return null!=a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,{params:i,withCredentials:this.configuration.withCredentials,headers:o,observe:s,reportProgress:r})}apiV1OrganizationsIdEventsPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizationsIdEventsSearchGet(e,t,n,s,r,i,o,a,l,c,u="body",h=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdEventsSearchGet.");let d=new Fh({encoder:new hd});null!=t&&(d=d.set("page",t)),null!=n&&(d=d.set("per_page",n)),null!=s&&(d=d.set("keyword",s)),null!=r&&(d=d.set("date_from",r)),null!=i&&(d=d.set("date_to",i)),null!=o&&(d=d.set("coordinate",o)),null!=a&&(d=d.set("distance",a)),l&&l.forEach(e=>{d=d.append("category_id",e)}),c&&c.forEach(e=>{d=d.append("weekday",e)});let p=this.defaultHeaders;const f=this.configuration.selectHeaderAccept(["*/*"]);return null!=f&&(p=p.set("Accept",f)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/events/search`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}apiV1OrganizationsIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizationsIdOrganizersGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersGet.");let o=new Fh({encoder:new hd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdOrganizersPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizationsIdPlacesGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesGet.");let o=new Fh({encoder:new hd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdPlacesPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),yd=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1OrganizationsIdOrganizersGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersGet.");let o=new Fh({encoder:new hd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdOrganizersPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdOrganizersPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/organizers`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizersIdDelete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdDelete.");let s=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+e)}const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.delete(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizersIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1OrganizersIdPatch(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdPatch.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.patch(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1OrganizersIdPut(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizersIdPut.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/api/v1/organizers/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),_d=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Dh,this.configuration=new cd,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}apiV1OrganizationsIdPlacesGet(e,t,n,s,r="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesGet.");let o=new Fh({encoder:new hd});null!=t&&(o=o.set("page",t)),null!=n&&(o=o.set("per_page",n)),null!=s&&(o=o.set("name",s));let a=this.defaultHeaders;const l=this.configuration.selectHeaderAccept(["*/*"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.get(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})}apiV1OrganizationsIdPlacesPost(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1OrganizationsIdPlacesPost.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/api/v1/organizations/${encodeURIComponent(String(e))}/places`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1PlacesIdDelete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdDelete.");let s=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+e)}const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.delete(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1PlacesIdGet(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdGet.");let s=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["*/*"]);return null!=r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:n})}apiV1PlacesIdPatch(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdPatch.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.patch(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}apiV1PlacesIdPut(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling apiV1PlacesIdPut.");let r=this.defaultHeaders;if(this.configuration.accessToken){const e="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+e)}const i=this.configuration.selectHeaderAccept(["*/*"]);null!=i&&(r=r.set("Accept",i));const o=this.configuration.selectHeaderContentType(["*/*"]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/api/v1/places/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}}return e.\u0275fac=function(t){return new(t||e)(os(Gh),os(ld,8),os(cd,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();var bd,wd,vd,Ed,Cd;!function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(bd||(bd={})),function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(wd||(wd={})),function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(vd||(vd={})),function(e){e.AttendanceModeEnum={Offline:"offline",Online:"online",Mixed:"mixed"},e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"},e.TargetGroupOriginEnum={Both:"both",Tourist:"tourist",Resident:"resident"}}(Ed||(Ed={})),function(e){e.StatusEnum={Scheduled:"scheduled",Cancelled:"cancelled",MovedOnline:"movedOnline",Postponed:"postponed",Rescheduled:"rescheduled"}}(Cd||(Cd={}));let Sd=(()=>{class e{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");t||console.log("ApiModule: You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(t){return{ngModule:e,providers:[{provide:cd,useFactory:t}]}}}return e.\u0275fac=function(t){return new(t||e)(os(e,12),os(Gh,8))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[ud,dd,pd,fd,gd,md,yd,_d],imports:[[]]}),e})();class Td extends C{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 w;return this._value}next(e){super.next(this._value=e)}}function kd(e,t){return"function"==typeof t?n=>n.pipe(kd((n,s)=>M(e(n,s)).pipe(k((e,r)=>t(n,e,s,r))))):t=>t.lift(new xd(e))}class xd{constructor(e){this.project=e}call(e,t){return t.subscribe(new Id(e,this.project))}}class Id extends V{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(s){return void this.destination.error(s)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new H(this),s=this.destination;s.add(n),this.innerSubscription=z(e,n),this.innerSubscription!==n&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class Ad extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class Pd extends Ad{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,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(s,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,s=!1;try{this.work(e)}catch(r){s=!0,n=!!r&&r||new Error(r)}if(s)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class Od extends Pd{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)}}let Dd=(()=>{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})();class Nd extends Dd{constructor(e,t=Dd.now){super(e,()=>Nd.delegate&&Nd.delegate!==this?Nd.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Nd.delegate&&Nd.delegate!==this?Nd.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}}}class Rd extends Nd{}const Fd=new Rd(Od),Md=new _(e=>e.complete());let Hd=(()=>{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 xh(this.value);case"E":return e=this.error,new _(t=>t.error(e));case"C":return Md}var e;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})();class Vd extends f{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(Vd.dispatch,this.delay,new zd(e,this.destination)))}_next(e){this.scheduleMessage(Hd.createNext(e))}_error(e){this.scheduleMessage(Hd.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Hd.createComplete()),this.unsubscribe()}}class zd{constructor(e,t){this.notification=e,this.destination=t}}class jd extends C{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Ld(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,r=n.length;let i;if(this.closed)throw new w;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(e),i=new v(this,e)),s&&e.add(e=new Vd(e,s)),t)for(let o=0;ot&&(i=Math.max(i,r-t)),i>0&&s.splice(0,i),s}}class Ld{constructor(e,t){this.time=e,this.value=t}}function $d(e){return t=>t.lift(new Bd(e))}class Bd{constructor(e){this.value=e}call(e,t){return t.subscribe(new qd(e,this.value))}}class qd extends f{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}function Ud(e){return function(t){const n=new Gd(e),s=t.lift(n);return n.caught=s}}class Gd{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Zd(e,this.selector,this.caught))}}class Zd extends V{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 s=new H(this);this.add(s);const r=z(n,s);r!==s&&this.add(r)}}}class Wd{constructor(e){this.loadData=e,this.trigger$=new Td(void 0),this.task$=this.trigger$.pipe(kd(()=>this.loadData()),function(e,t,n,s){const r=new jd(1,void 0,void 0);return e=>Y(()=>r,void 0)(e)}(),U()),this.content$=this.getContent(this.trigger$,this.task$),this.isLoading$=this.isLoading(this.trigger$,this.task$),this.error$=this.isError(this.trigger$,this.task$)}getContent(e,t){return q(e.pipe($d(void 0)),t).pipe(Ud(e=>(console.log(e),xh(void 0))))}isLoading(e,t){return q(e.pipe($d(!0)),t.pipe(Ud(()=>xh(void 0)),$d(!1)))}isError(e,t){return q(e,t).pipe($d(!1),Ud(e=>xh(e)))}}function Qd(e,t){1&e&&(ao(0,"span",8),Aa(1,9),lo())}function Kd(e,t){1&e&&(ao(0,"span",8),Aa(1,10),lo())}function Yd(e,t){1&e&&(ao(0,"span",8),Aa(1,11),lo())}function Jd(e,t){1&e&&(ao(0,"span",8),Aa(1,12),lo())}function Xd(e,t){1&e&&zo(0,"...")}function ep(e,t){1&e&&(ao(0,"span",14),zo(1,"(current)"),lo())}function tp(e,t){if(1&e&&(zo(0),no(1,ep,2,0,"span",13)),2&e){const e=t.$implicit,n=t.currentPage;Lo(" ",e," "),Or(1),io("ngIf",e===n)}}function np(e,t){}const sp=function(e,t){return{disabled:e,currentPage:t}};function rp(e,t){if(1&e){const e=po();ao(0,"li",15),ao(1,"a",16),go("click",function(t){return Nt(e),_o().selectPage(1),t.preventDefault()}),no(2,np,0,0,"ng-template",17),lo(),lo()}if(2&e){const e=_o(),t=so(1);Ao("disabled",e.previousDisabled()),Or(1),Xi("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),Or(1),io("ngTemplateOutlet",(null==e.tplFirst?null:e.tplFirst.templateRef)||t)("ngTemplateOutletContext",Rl(6,sp,e.previousDisabled(),e.page))}}function ip(e,t){}const op=function(e){return{disabled:e}};function ap(e,t){if(1&e){const e=po();ao(0,"li",15),ao(1,"a",18),go("click",function(t){Nt(e);const n=_o();return n.selectPage(n.page-1),t.preventDefault()}),no(2,ip,0,0,"ng-template",17),lo(),lo()}if(2&e){const e=_o(),t=so(3);Ao("disabled",e.previousDisabled()),Or(1),Xi("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),Or(1),io("ngTemplateOutlet",(null==e.tplPrevious?null:e.tplPrevious.templateRef)||t)("ngTemplateOutletContext",Nl(6,op,e.previousDisabled()))}}function lp(e,t){}const cp=function(e){return{disabled:!0,currentPage:e}};function up(e,t){if(1&e&&(ao(0,"a",21),no(1,lp,0,0,"ng-template",17),lo()),2&e){const e=_o(2),t=so(9);Or(1),io("ngTemplateOutlet",(null==e.tplEllipsis?null:e.tplEllipsis.templateRef)||t)("ngTemplateOutletContext",Nl(2,cp,e.page))}}function hp(e,t){}const dp=function(e,t,n){return{disabled:e,$implicit:t,currentPage:n}};function pp(e,t){if(1&e){const e=po();ao(0,"a",22),go("click",function(t){Nt(e);const n=_o().$implicit;return _o().selectPage(n),t.preventDefault()}),no(1,hp,0,0,"ng-template",17),lo()}if(2&e){const e=_o().$implicit,t=_o(),l=so(11);Xi("tabindex",t.disabled?"-1":null)("aria-disabled",t.disabled?"true":null),Or(1),io("ngTemplateOutlet",(null==t.tplNumber?null:t.tplNumber.templateRef)||l)("ngTemplateOutletContext",(n=4,s=dp,r=t.disabled,i=e,o=t.page,function(e,t,n,s,r,i,o,a){const l=t+n;return function(e,t,n,s,r){const i=Ji(e,t,n,s);return Yi(e,t+2,r)||i}(e,l,r,i,o)?Ki(e,l+3,a?s.call(a,r,i,o):s(r,i,o)):Fl(e,l+3)}(Ot(),$t(),n,s,r,i,o,a)))}var n,s,r,i,o,a}function fp(e,t){if(1&e&&(ao(0,"li",15),no(1,up,2,4,"a",19),no(2,pp,2,8,"a",20),lo()),2&e){const e=t.$implicit,n=_o();Ao("active",e===n.page)("disabled",n.isEllipsis(e)||n.disabled),Xi("aria-current",e===n.page?"page":null),Or(1),io("ngIf",n.isEllipsis(e)),Or(1),io("ngIf",!n.isEllipsis(e))}}function gp(e,t){}function mp(e,t){if(1&e){const e=po();ao(0,"li",15),ao(1,"a",23),go("click",function(t){Nt(e);const n=_o();return n.selectPage(n.page+1),t.preventDefault()}),no(2,gp,0,0,"ng-template",17),lo(),lo()}if(2&e){const e=_o(),t=so(5);Ao("disabled",e.nextDisabled()),Or(1),Xi("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),Or(1),io("ngTemplateOutlet",(null==e.tplNext?null:e.tplNext.templateRef)||t)("ngTemplateOutletContext",Rl(6,sp,e.nextDisabled(),e.page))}}function yp(e,t){}function _p(e,t){if(1&e){const e=po();ao(0,"li",15),ao(1,"a",24),go("click",function(t){Nt(e);const n=_o();return n.selectPage(n.pageCount),t.preventDefault()}),no(2,yp,0,0,"ng-template",17),lo(),lo()}if(2&e){const e=_o(),t=so(7);Ao("disabled",e.nextDisabled()),Or(1),Xi("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),Or(1),io("ngTemplateOutlet",(null==e.tplLast?null:e.tplLast.templateRef)||t)("ngTemplateOutletContext",Rl(6,sp,e.nextDisabled(),e.page))}}function bp(e){return!isNaN(function(e){return parseInt(`${e}`,10)}(e))}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),new Map,"undefined"!=typeof navigator&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", "),new class{getAllStyles(e){return window.getComputedStyle(e)}getStyle(e,t){return this.getAllStyles(e)[t]}isStaticPositioned(e){return"static"===(this.getStyle(e,"position")||"static")}offsetParent(e){let t=e.offsetParent||document.documentElement;for(;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}position(e,t=!0){let n,s={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))n=e.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const t=this.offsetParent(e);n=this.offset(e,!1),t!==document.documentElement&&(s=this.offset(t,!1)),s.top+=t.clientTop,s.left+=t.clientLeft}return n.top-=s.top,n.bottom-=s.top,n.left-=s.left,n.right-=s.left,t&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(e,t=!0){const n=e.getBoundingClientRect(),s=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft;let i={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+s,bottom:n.bottom+s,left:n.left+r,right:n.right+r};return t&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i}positionElements(e,t,n,s){const[r="top",i="center"]=n.split("-"),o=s?this.offset(e,!1):this.position(e,!1),a=this.getAllStyles(t),l=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,p=0;switch(r){case"top":d=o.top-(t.offsetHeight+l+c);break;case"bottom":d=o.top+o.height;break;case"left":p=o.left-(t.offsetWidth+u+h);break;case"right":p=o.left+o.width}switch(i){case"top":d=o.top;break;case"bottom":d=o.top+o.height-t.offsetHeight;break;case"left":p=o.left;break;case"right":p=o.left+o.width-t.offsetWidth;break;case"center":"top"===r||"bottom"===r?p=o.left+o.width/2-t.offsetWidth/2:d=o.top+o.height/2-t.offsetHeight/2}t.style.transform=`translate(${Math.round(p)}px, ${Math.round(d)}px)`;const f=t.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,y=window.innerWidth||g.clientWidth;return f.left>=0&&f.top>=0&&f.right<=y&&f.bottom<=m}},new Date(1882,10,12),new Date(2174,10,25);let wp=(()=>{class e{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})(),vp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ro(dl))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),e})(),Ep=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ro(dl))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationFirst",""]]}),e})(),Cp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ro(dl))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationLast",""]]}),e})(),Sp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ro(dl))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationNext",""]]}),e})(),Tp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ro(dl))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationNumber",""]]}),e})(),kp=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ro(dl))},e.\u0275dir=We({type:e,selectors:[["ng-template","ngbPaginationPrevious",""]]}),e})(),xp=(()=>{class e{constructor(e){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new Bl(!0),this.disabled=e.disabled,this.boundaryLinks=e.boundaryLinks,this.directionLinks=e.directionLinks,this.ellipses=e.ellipses,this.maxSize=e.maxSize,this.pageSize=e.pageSize,this.rotate=e.rotate,this.size=e.size}hasPrevious(){return this.page>1}hasNext(){return this.page0&&(e>2?this.pages.unshift(-1):2===e&&this.pages.unshift(2),this.pages.unshift(1)),t0&&this.pageCount>this.maxSize){let e=0,t=this.pageCount;[e,t]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(e,t),this._applyEllipses(e,t)}}}return e.\u0275fac=function(t){return new(t||e)(ro(wp))},e.\u0275cmp=$e({type:e,selectors:[["ngb-pagination"]],contentQueries:function(e,t,n){if(1&e&&(nc(n,vp,1),nc(n,Ep,1),nc(n,Cp,1),nc(n,Sp,1),nc(n,Tp,1),nc(n,kp,1)),2&e){let e;tc(e=sc())&&(t.tplEllipsis=e.first),tc(e=sc())&&(t.tplFirst=e.first),tc(e=sc())&&(t.tplLast=e.first),tc(e=sc())&&(t.tplNext=e.first),tc(e=sc())&&(t.tplNumber=e.first),tc(e=sc())&&(t.tplPrevious=e.first)}},hostAttrs:["role","navigation"],inputs:{page:"page",disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",maxSize:"maxSize",pageSize:"pageSize",rotate:"rotate",size:"size",collectionSize:"collectionSize"},outputs:{pageChange:"pageChange"},features:[lt],decls:18,vars:7,consts:function(){let e,t,n,s,r,i,o,a;return e="\xAB\xAB",t="\xAB",n="\xBB",s="\xBB\xBB",r="First",i="Previous",o="Next",a="Last",[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["class","page-item",3,"disabled",4,"ngIf"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],["aria-hidden","true"],e,t,n,s,["class","sr-only",4,"ngIf"],[1,"sr-only"],[1,"page-item"],["aria-label",r,"href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label",i,"href","",1,"page-link",3,"click"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",a,"href","",1,"page-link",3,"click"]]},template:function(e,t){1&e&&(no(0,Qd,2,0,"ng-template",null,0,ic),no(2,Kd,2,0,"ng-template",null,1,ic),no(4,Yd,2,0,"ng-template",null,2,ic),no(6,Jd,2,0,"ng-template",null,3,ic),no(8,Xd,1,0,"ng-template",null,4,ic),no(10,tp,2,2,"ng-template",null,5,ic),ao(12,"ul"),no(13,rp,3,9,"li",6),no(14,ap,3,8,"li",6),no(15,fp,3,7,"li",7),no(16,mp,3,9,"li",6),no(17,_p,3,9,"li",6),lo()),2&e&&(Or(12),function(e,t,n,s){const r=Dt(),i=Ut(2);r.firstUpdatePass&&Do(r,null,i,s);const o=Ot();if(n!==Pr&&Yi(o,i,n)){const a=r.data[on()];if(Vo(a,s)&&!Oo(r,i)){let e=a.classesWithoutHost;null!==e&&(n=ne(e,n||"")),oo(r,a,o,n,s)}else!function(e,t,n,s,r,i,o,a){r===Pr&&(r=Eo);let l=0,c=0,u=0{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({imports:[[Ju]]}),e})();function Ap(e,t){1&e&&(uo(0),Aa(1,4),ho())}function Pp(e,t){1&e&&(uo(0),Aa(1,5),ho())}function Op(e,t){1&e&&(uo(0),Aa(1,6),ho())}function Dp(e,t){1&e&&(uo(0),Aa(1,7),ho())}function Np(e,t){if(1&e&&(uo(0),ao(1,"span",1),uo(2,2),no(3,Ap,2,0,"ng-container",3),no(4,Pp,2,0,"ng-container",3),no(5,Op,2,0,"ng-container",3),no(6,Dp,2,0,"ng-container",3),ho(),lo(),ho()),2&e){const e=_o().ngIf,t=_o();Or(2),io("ngSwitch",e),Or(1),io("ngSwitchCase",t.statusEnum.Cancelled),Or(1),io("ngSwitchCase",t.statusEnum.MovedOnline),Or(1),io("ngSwitchCase",t.statusEnum.Postponed),Or(1),io("ngSwitchCase",t.statusEnum.Rescheduled)}}function Rp(e,t){if(1&e&&(uo(0),no(1,Np,7,5,"ng-container",0),ho()),2&e){const e=t.ngIf,n=_o();Or(1),io("ngIf",e!=n.statusEnum.Scheduled)}}function Fp(e,t){1&e&&(uo(0),ao(1,"span",1),Aa(2,8),lo(),ho())}new Un("live announcer delay",{providedIn:"root",factory:function(){return 100}});let Mp=(()=>{class e{constructor(){this.statusEnum=bd.StatusEnum}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["app-warning-pills"]],inputs:{event:"event"},decls:2,vars:2,consts:function(){let e,t,n,s,r;return e="Abgesagt",t="Online verschoben",n="Verschoben",s="Neu angesetzt",r="Ausgebucht",[[4,"ngIf"],[1,"badge","badge-pill","badge-warning"],[3,"ngSwitch"],[4,"ngSwitchCase"],e,t,n,s,r]},template:function(e,t){1&e&&(no(0,Rp,2,1,"ng-container",0),no(1,Fp,3,0,"ng-container",0)),2&e&&(io("ngIf",null==t.event?null:t.event.status),Or(1),io("ngIf",null==t.event?null:t.event.booked_up))},directives:[Vu,$u,Bu],styles:[""]}),e})(),Hp=(()=>{class e{transform(e,t){return e.street?e.street+", "+e.postalCode+" "+e.city:e.postalCode+" "+e.city}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Qe({name:"address",type:e,pure:!0}),e})();function Vp(e,t){1&e&&(ao(0,"div",3),ao(1,"span",4),zo(2,"Loading\u2026"),lo(),lo())}function zp(e,t){if(1&e&&(ao(0,"div",5),zo(1),lo()),2&e){const e=t.ngIf;Or(1),Lo(" ",e.message,"\n")}}function jp(e,t){if(1&e&&(ao(0,"div",24),ao(1,"figure",25),co(2,"img",26),lo(),lo()),2&e){const e=_o().ngIf,t=_o();Or(2),vo("src","",t.basepath,"/image/",e.logo.id,"?s=120",Ns)}}function Lp(e,t){if(1&e&&(ao(0,"div",27),zo(1),lo()),2&e){const e=_o().ngIf;Or(1),Lo("@",e.short_name,"")}}function $p(e,t){if(1&e&&(ao(0,"div",28),ao(1,"a",29),zo(2),lo(),lo()),2&e){const e=_o().ngIf;Or(1),bo("href",e.url,Ns),Or(1),jo(e.url)}}function Bp(e,t){if(1&e&&(ao(0,"div",30),ao(1,"a",31),zo(2),lo(),lo()),2&e){const e=_o().ngIf;Or(1),wo("href","mailto:",e.email,"",Ns),Or(1),jo(e.email)}}function qp(e,t){if(1&e&&(ao(0,"div",32),ao(1,"a",31),zo(2),lo(),lo()),2&e){const e=_o().ngIf;Or(1),wo("href","tel:",e.phone,"",Ns),Or(1),jo(e.phone)}}function Up(e,t){if(1&e&&(ao(0,"div",33),ao(1,"a",31),zo(2),lo(),lo()),2&e){const e=_o().ngIf;Or(1),wo("href","tel:",e.fax,"",Ns),Or(1),jo(e.fax)}}function Gp(e,t){if(1&e&&(ao(0,"div",34),ao(1,"a",29),Vl(2,"address"),zo(3),Vl(4,"address"),lo(),lo()),2&e){const e=_o().ngIf;Or(1),wo("href","https://www.google.com/maps?q=",zl(2,2,e.location),"",Ns),Or(2),jo(zl(4,4,e.location))}}function Zp(e,t){1&e&&(ao(0,"div",3),ao(1,"span",4),zo(2,"Loading\u2026"),lo(),lo())}function Wp(e,t){if(1&e&&(ao(0,"div",5),zo(1),lo()),2&e){const e=t.ngIf;Or(1),Lo(" ",e.message," ")}}function Qp(e,t){if(1&e&&(ao(0,"figure",25),co(1,"img",46),lo()),2&e){const e=t.ngIf,n=_o(4);Or(1),vo("src","",n.basepath,"/image/",e.id,"?s=120",Ns)}}function Kp(e,t){1&e&&(ao(0,"div",47),co(1,"i",48),lo())}function Yp(e,t){if(1&e&&(ao(0,"a",38),ao(1,"div",39),no(2,Qp,2,2,"figure",40),no(3,Kp,2,0,"ng-template",null,41,ic),lo(),ao(5,"div",42),zo(6),Vl(7,"date"),Vl(8,"date"),lo(),ao(9,"div",43),zo(10),ao(11,"span",44),co(12,"app-warning-pills",45),lo(),lo(),ao(13,"div"),zo(14),lo(),lo()),2&e){const e=t.$implicit,n=so(4);vo("href","",_o(3).basepath,"/eventdate/",e.id,"",Ns),Or(2),io("ngIf",null==e.event?null:e.event.photo)("ngIfElse",n),Or(4),$o(" ",jl(7,9,e.start,"fullDate")," ",jl(8,12,e.start,"shortTime")," "),Or(4),Lo(" ",null==e.event?null:e.event.name," "),Or(2),io("event",e.event),Or(2),Lo(" ",null==e.event||null==e.event.place?null:e.event.place.name," ")}}function Jp(e,t){if(1&e){const e=po();uo(0),ao(1,"div",35),no(2,Yp,15,15,"a",36),lo(),ao(3,"ngb-pagination",37),go("pageChange",function(t){return Nt(e),_o(2).page=t})("pageChange",function(){Nt(e);const t=_o(2);return t.onDatesPageChange(t.page)}),lo(),ho()}if(2&e){const e=t.ngIf,n=_o(2);Or(2),io("ngForOf",e.items),Or(1),io("page",n.page)("pageSize",n.perPage)("collectionSize",e.total)("maxSize",3)("rotate",!0)("boundaryLinks",!0)("ellipses",!1)}}function Xp(e,t){if(1&e&&(ao(0,"div",6),ao(1,"div",7),ao(2,"div",8),no(3,jp,3,2,"div",9),ao(4,"h1",10),zo(5),lo(),no(6,Lp,2,1,"div",11),ao(7,"div"),no(8,$p,3,2,"div",12),no(9,Bp,3,2,"div",13),no(10,qp,3,2,"div",14),no(11,Up,3,2,"div",15),no(12,Gp,5,6,"div",16),lo(),lo(),lo(),ao(13,"div",17),ao(14,"div",18),ao(15,"div",19),ao(16,"div",20),ao(17,"h2",21),Aa(18,22),lo(),no(19,Zp,3,0,"div",0),Vl(20,"async"),no(21,Wp,2,1,"div",1),Vl(22,"async"),no(23,Jp,4,8,"ng-container",23),Vl(24,"async"),lo(),lo(),lo(),lo(),lo()),2&e){const e=t.ngIf,n=_o();Or(3),io("ngIf",e.logo),Or(2),jo(e.name),Or(1),io("ngIf",e.short_name),Or(2),io("ngIf",e.url),Or(1),io("ngIf",e.email),Or(1),io("ngIf",e.phone),Or(1),io("ngIf",e.fax),Or(1),io("ngIf",e.location),Or(7),io("ngIf",zl(20,11,n.dates.isLoading$)),Or(2),io("ngIf",zl(22,13,n.dates.error$)),Or(2),io("ngIf",zl(24,15,n.dates.content$))}}let ef=(()=>{class e{constructor(e){this.httpClient=e,this.basepath="",this.page=1,this.perPage=10,this.loadOrganization=()=>this.organizationsService.apiV1OrganizationsIdGet(this.organizationid),this.organization=new Wd(this.loadOrganization),this.loadDates=()=>this.organizationsService.apiV1OrganizationsIdEventDatesSearchGet(this.organizationid,this.page,this.perPage),this.dates=new Wd(this.loadDates)}ngOnInit(){this.organizationsService=new md(this.httpClient,this.basepath,new cd),this.organization.trigger$.next(void 0),this.dates.trigger$.next(void 0)}onDatesPageChange(e){this.page=e,this.dates.trigger$.next(void 0)}}return e.\u0275fac=function(t){return new(t||e)(ro(Gh))},e.\u0275cmp=$e({type:e,selectors:[["app-organization-landing-page"]],inputs:{organizationid:"organizationid",basepath:"basepath"},decls:6,vars:9,consts:function(){let e;return e="Veranstaltungen",[["class","spinner-border m-3","role","status",4,"ngIf"],["class","alert alert-danger m-3","role","alert",4,"ngIf"],["class","organization",4,"ngIf"],["role","status",1,"spinner-border","m-3"],[1,"sr-only"],["role","alert",1,"alert","alert-danger","m-3"],[1,"organization"],[1,"w-normal","mx-auto"],[1,"p-3","clearfix"],["class","mr-4 float-sm-left",4,"ngIf"],[1,"font-weight-bold","my-1"],["class","text-muted",4,"ngIf"],["class","url",4,"ngIf"],["class","email",4,"ngIf"],["class","phone",4,"ngIf"],["class","fax",4,"ngIf"],["class","location",4,"ngIf"],[1,"d-flex","bg-light","p-3"],[1,"mx-auto",2,"width","40rem"],[1,"card","mb-3"],[1,"card-body"],[1,"mt-0"],e,[4,"ngIf"],[1,"mr-4","float-sm-left"],[1,"figure","mx-auto"],["alt","Logo",1,"figure-img","img-fluid",2,"max-width","120px",3,"src"],[1,"text-muted"],[1,"url"],["target","_blank","rel","noopener noreferrer",3,"href"],[1,"email"],[3,"href"],[1,"phone"],[1,"fax"],[1,"location"],[1,"list-group","list-group-flush"],["class","list-group-item list-group-item-action flex-column align-items-start pl-0 pr-0",3,"href",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","mt-2",3,"page","pageSize","collectionSize","maxSize","rotate","boundaryLinks","ellipses","pageChange"],[1,"list-group-item","list-group-item-action","flex-column","align-items-start","pl-0","pr-0",3,"href"],[1,"d-none","d-sm-block","mr-4","float-left","rounded"],["class","figure mx-auto",4,"ngIf","ngIfElse"],["noPhoto",""],[1,"font-weight-bold","text-uppercase","mb-1"],[1,"text-body","font-weight-bold","mb-1",2,"font-size","1.2rem"],[1,"small",2,"vertical-align","middle"],[3,"event"],["alt","Photo",1,"figure-img","img-fluid",2,"max-width","120px",3,"src"],[1,"bg-light","d-flex","align-items-center","justify-content-center",2,"width","120px","height","120px"],[1,"fa-calendar","far","h1","text-muted"]]},template:function(e,t){1&e&&(no(0,Vp,3,0,"div",0),Vl(1,"async"),no(2,zp,2,1,"div",1),Vl(3,"async"),no(4,Xp,25,17,"div",2),Vl(5,"async")),2&e&&(io("ngIf",zl(1,3,t.organization.isLoading$)),Or(2),io("ngIf",zl(3,5,t.organization.error$)),Or(2),io("ngIf",zl(5,7,t.organization.content$)))},directives:[Vu,Mu,xp,Mp],pipes:[Ku,Hp,Yu],styles:[""]}),e})();const tf={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return tf.schedule(e,0);if(void 0===window.requestAnimationFrame)return tf.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let nf;function sf(e,t,n){let s=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){if(!nf){const e=Element.prototype;nf=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&nf.call(e,t)}(e,t)||(s=n,0))),s}class rf{constructor(e,t){this.componentFactory=t.get(Da).resolveComponentFactory(e)}create(e){return new of(this.componentFactory,e)}}class of{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new jd(1),this.events=this.eventEmitters.pipe(kd(e=>q(...e))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:e})=>e)),this.ngZone=this.injector.get(xc),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=tf.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,s;null!==this.componentRef?((n=t)!==(s=this.getInputValue(e))&&(n==n||s==s)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Bi.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,s=t.map(()=>[]);let r=-1;t.some((e,t)=>"*"===e&&(r=t,!0));for(let i=0,o=n.length;i{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(k(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=tf.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),r=s?void 0:this.getInputValue(e);this.inputChanges[e]=new at(r,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class af extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}new ja("11.2.5");class lf{}const cf="*";function uf(e,t=null){return{type:2,steps:e,options:t}}function hf(e){return{type:6,styles:e,offset:null}}function df(e){Promise.resolve(null).then(e)}class pf{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,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(){df(()=>this._onFinish())}_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){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ff{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,s=0;const r=this.players.length;0==r?df(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++s==r&&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(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}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}}function gf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function mf(e){switch(e.length){case 0:return new pf;case 1:return e[0];default:return new ff(e)}}function yf(e,t,n,s,r={},i={}){const o=[],a=[];let l=-1,c=null;if(s.forEach(e=>{const n=e.offset,s=n==l,u=s&&c||{};Object.keys(e).forEach(n=>{let s=n,a=e[n];if("offset"!==n)switch(s=t.normalizePropertyName(s,o),a){case"!":a=r[n];break;case cf:a=i[n];break;default:a=t.normalizeStyleValue(n,s,a,o)}u[s]=a}),s||a.push(u),c=u,l=n}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return a}function _f(e,t,n,s){switch(t){case"start":e.onStart(()=>s(n&&bf(n,"start",e)));break;case"done":e.onDone(()=>s(n&&bf(n,"done",e)));break;case"destroy":e.onDestroy(()=>s(n&&bf(n,"destroy",e)))}}function bf(e,t,n){const s=n.totalTime,r=wf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==s?e.totalTime:s,!!n.disabled),i=e._data;return null!=i&&(r._data=i),r}function wf(e,t,n,s,r="",i=0,o){return{element:e,triggerName:t,fromState:n,toState:s,phaseName:r,totalTime:i,disabled:!!o}}function vf(e,t,n){let s;return e instanceof Map?(s=e.get(t),s||e.set(t,s=n)):(s=e[t],s||(s=e[t]=n)),s}function Ef(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Cf=(e,t)=>!1,Sf=(e,t)=>!1,Tf=(e,t,n)=>[];const kf=gf();(kf||"undefined"!=typeof Element)&&(Cf=(e,t)=>e.contains(t),Sf=(()=>{if(kf||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]):Sf}})(),Tf=(e,t,n)=>{let s=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const s=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[s]=e[n]}),t}let Rf=(()=>{class e{validateStyleProperty(e){return Af(e)}matchesElement(e,t){return Pf(e,t)}containsElement(e,t){return Of(e,t)}query(e,t,n){return Df(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,s,r,i=[],o){return new pf(n,s)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Ff=(()=>{class e{}return e.NOOP=new Rf,e})();const Mf="ng-enter",Hf="ng-leave",Vf="ng-trigger",zf=".ng-trigger",jf="ng-animating",Lf=".ng-animating";function $f(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Bf(parseFloat(t[1]),t[2])}function Bf(e,t){switch(t){case"s":return 1e3*e;default:return e}}function qf(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let s,r=0,i="";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:""};s=Bf(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=Bf(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else s=e;if(!n){let n=!1,i=t.length;s<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(i,0,`The provided timing value "${e}" is invalid.`)}return{duration:s,delay:r,easing:i}}(e,t,n)}function Uf(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Gf(e,t,n={}){if(t)for(let s in e)n[s]=e[s];else Uf(e,n);return n}function Zf(e,t,n){return n?t+":"+n+";":""}function Wf(e){let t="";for(let n=0;n{const r=sg(s);n&&!n.hasOwnProperty(s)&&(n[s]=e.style[r]),e.style[r]=t[s]}),gf()&&Wf(e))}function Kf(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=sg(t);e.style[n]=""}),gf()&&Wf(e))}function Yf(e){return Array.isArray(e)?1==e.length?e[0]:uf(e):e}const Jf=new RegExp("{{\\s*(.+?)\\s*}}","g");function Xf(e){let t=[];if("string"==typeof e){let n;for(;n=Jf.exec(e);)t.push(n[1]);Jf.lastIndex=0}return t}function eg(e,t,n){const s=e.toString(),r=s.replace(Jf,(e,s)=>{let r=t[s];return t.hasOwnProperty(s)||(n.push(`Please provide a value for the animation param ${s}`),r=""),r.toString()});return r==s?e:r}function tg(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const ng=/-+([a-z0-9])/g;function sg(e){return e.replace(ng,(...e)=>e[1].toUpperCase())}function rg(e,t){return 0===e||0===t}function ig(e,t,n){const s=Object.keys(n);if(s.length&&t.length){let i=t[0],o=[];if(s.forEach(e=>{i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var r=1;rfunction(e,t,n){if(":"==e[0]){const s=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) *"}}(e,n);if("function"==typeof s)return void t.push(s);e=s}const s=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=s[1],i=s[2],o=s[3];t.push(dg(r,o)),"<"!=i[0]||r==lg&&o==lg||t.push(dg(o,r))}(e,n,t)):n.push(e),n}const ug=new Set(["true","1"]),hg=new Set(["false","0"]);function dg(e,t){const n=ug.has(e)||hg.has(e),s=ug.has(t)||hg.has(t);return(r,i)=>{let o=e==lg||e==r,a=t==lg||t==i;return!o&&n&&"boolean"==typeof r&&(o=r?ug.has(e):hg.has(e)),!a&&s&&"boolean"==typeof i&&(a=i?ug.has(t):hg.has(t)),o&&a}}const pg=new RegExp("s*:selfs*,?","g");function fg(e,t,n){return new gg(e).build(t,n)}class gg{constructor(e){this._driver=e}build(e,t){const n=new mg(t);return this._resetContextStyleTimingState(n),og(this,Yf(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,s=t.depCount=0;const r=[],i=[];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,s=n.name;s.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=s}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,s+=r.depCount,i.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:i,queryCount:n,depCount:s,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,i=s||{};if(n.styles.forEach(e=>{if(yg(e)){const t=e;Object.keys(t).forEach(e=>{Xf(t[e]).forEach(e=>{i.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=tg(r.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:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=og(this,Yf(e.animation),t);return{type:1,matchers:cg(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:_g(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>og(this,e,t)),options:_g(e.options)}}visitGroup(e,t){const n=t.currentTime;let s=0;const r=e.steps.map(e=>{t.currentTime=n;const r=og(this,e,t);return s=Math.max(s,t.currentTime),r});return t.currentTime=s,{type:3,steps:r,options:_g(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 bg(qf(e,t).duration,0,"");const s=e;if(s.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=bg(0,0,"");return e.dynamic=!0,e.strValue=s,e}return n=n||qf(s,t),bg(n.duration,n.delay,n.easing)}(e.timings,t.errors);let s;t.currentAnimateTimings=n;let r=e.styles?e.styles:hf({});if(5==r.type)s=this.visitKeyframes(r,t);else{let r=e.styles,i=!1;if(!r){i=!0;const e={};n.easing&&(e.easing=n.easing),r=hf(e)}t.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,t);o.isEmptyStep=i,s=o}return t.currentAnimateTimings=null,{type:4,timings:n,style:s,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==cf?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let s=!1,r=null;return n.forEach(e=>{if(yg(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!s)for(let e in t)if(t[e].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let s=t.currentTime,r=t.currentTime;n&&r>0&&(r-=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 i=t.collectedStyles[t.currentQuerySelector],o=i[n];let a=!0;o&&(r!=s&&r>=o.startTime&&s<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${s}ms"`),a=!1),r=o.startTime),a&&(i[n]={startTime:r,endTime:s}),t.options&&function(e,t,n){const s=t.params||{},r=Xf(e);r.length&&r.forEach(e=>{s.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 s=0;const r=[];let i=!1,o=!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(yg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(yg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(s++,c=n.offset=l),o=o||c<0||c>1,i=i||c0&&s{const i=u>0?s==h?1:u*s:r[s],o=i*f;t.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=i,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:og(this,Yf(e.animation),t),options:_g(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:_g(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:_g(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;const[r,i]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(pg,"")),[e=e.replace(/@\*/g,zf).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,Lf),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,vf(t.collectedStyles,t.currentQuerySelector,{});const o=og(this,Yf(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:_g(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"}:qf(e.timings,t.errors,!0);return{type:12,animation:og(this,Yf(e.animation),t),timings:n,options:null}}}class mg{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 yg(e){return!Array.isArray(e)&&"object"==typeof e}function _g(e){var t;return e?(e=Uf(e)).params&&(e.params=(t=e.params)?Uf(t):null):e={},e}function bg(e,t,n){return{duration:e,delay:t,easing:n}}function wg(e,t,n,s,r,i,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:s,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:a}}class vg{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 Eg=new RegExp(":enter","g"),Cg=new RegExp(":leave","g");function Sg(e,t,n,s,r,i={},o={},a,l,c=[]){return(new Tg).buildKeyframes(e,t,n,s,r,i,o,a,l,c)}class Tg{buildKeyframes(e,t,n,s,r,i,o,a,l,c=[]){l=l||new vg;const u=new xg(e,t,l,s,r,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),og(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[wg(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const s=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,s,s.options);r!=i&&t.transformIntoNewTimeline(i)}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 s=t.currentTimeline.currentTime;const r=null!=n.duration?$f(n.duration):null,i=null!=n.delay?$f(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,i);s=Math.max(s,n.duration+n.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),og(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let s=t;const r=e.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),null!=r.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=kg);const e=$f(r.delay);s.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>og(this,e,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let s=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?$f(e.options.delay):0;e.steps.forEach(i=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),og(this,i,o),s=Math.max(s,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return qf(t.params?eg(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),s=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),s.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,s=t.currentAnimateTimings;!s&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=s&&s.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,s=t.currentTimeline.duration,r=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(e=>{i.forwardTime((e.offset||0)*r),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(s+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,s=e.options||{},r=s.delay?$f(s.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=kg);let i=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,s)=>{t.currentQueryIndex=s;const o=t.createSubContext(e.options,n);r&&o.delayNextStep(r),n===t.element&&(a=o.currentTimeline),og(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,s=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1);let a=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;og(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=s.currentTime-c+(s.startTime-n.currentTimeline.startTime)}}const kg={};class xg{constructor(e,t,n,s,r,i,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=r,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Ig(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let s=this.options;null!=n.duration&&(s.duration=$f(n.duration)),null!=n.delay&&(s.delay=$f(n.delay));const r=n.params;if(r){let e=s.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=eg(r[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 s=t||this.element,r=new xg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=kg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const s={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Ag(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,s,r,i){let o=[];if(s&&o.push(this.element),e.length>0){e=(e=e.replace(Eg,"."+this._enterClassName)).replace(Cg,"."+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)),o.push(...t)}return r||0!=o.length||i.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class Ig{constructor(e,t,n,s){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=s,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 Ig(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]||cf,this._currentKeyframe[e]=cf}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,s){t&&(this._previousKeyframe.easing=t);const r=s&&s.params||{},i=function(e,t){const n={};let s;return e.forEach(e=>{"*"===e?(s=s||Object.keys(t),s.forEach(e=>{n[e]=cf})):Gf(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(i).forEach(e=>{const t=eg(i[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:cf),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],s=e._styleSummary[t];(!n||s.time>n.time)&&this._updateStyle(t,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((r,i)=>{const o=Gf(r,!0);Object.keys(o).forEach(n=>{const s=o[n];"!"==s?e.add(n):s==cf&&t.add(n)}),n||(o.offset=i/this.duration),s.push(o)});const r=e.size?tg(e.values()):[],i=t.size?tg(t.values()):[];if(n){const e=s[0],t=Uf(e);e.offset=0,t.offset=1,s=[e,t]}return wg(this.element,s,r,i,this.duration,this.startTime,this.easing,!1)}}class Ag extends Ig{constructor(e,t,n,s,r,i,o=!1){super(e,t,i.delay),this.element=t,this.keyframes=n,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],i=n+t,o=t/i,a=Gf(e[0],!1);a.offset=0,r.push(a);const l=Gf(e[0],!1);l.offset=Pg(o),r.push(l);const c=e.length-1;for(let s=1;s<=c;s++){let o=Gf(e[s],!1);o.offset=Pg((t+o.offset*n)/i),r.push(o)}n=i,t=0,s="",e=r}return wg(this.element,e,this.preStyleProps,this.postStyleProps,n,t,s,!0)}}function Pg(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Og{}class Dg extends Og{normalizePropertyName(e,t){return sg(e)}normalizeStyleValue(e,t,n,s){let r="";const i=n.toString().trim();if(Ng[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&s.push(`Please provide a CSS unit value for ${e}:${n}`)}return i+r}}const Ng=(()=>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 Rg(e,t,n,s,r,i,o,a,l,c,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:i,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Fg={};class Mg{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,s){return function(e,t,n,s,r){return e.some(e=>e(t,n,s,r))}(this.ast.matchers,e,t,n,s)}buildStyles(e,t,n){const s=this._stateStyles["*"],r=this._stateStyles[e],i=s?s.buildStyles(t,n):{};return r?r.buildStyles(t,n):i}build(e,t,n,s,r,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Fg,d=this.buildStyles(n,o&&o.params||Fg,u),p=a&&a.params||Fg,f=this.buildStyles(s,p,u),g=new Set,m=new Map,y=new Map,_="void"===s,b={params:Object.assign(Object.assign({},h),p)},w=c?[]:Sg(e,t,this.ast.animation,r,i,d,f,b,l,u);let v=0;if(w.forEach(e=>{v=Math.max(e.duration+e.delay,v)}),u.length)return Rg(t,this._triggerName,n,s,_,d,f,[],[],m,y,v,u);w.forEach(e=>{const n=e.element,s=vf(m,n,{});e.preStyleProps.forEach(e=>s[e]=!0);const r=vf(y,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&g.add(n)});const E=tg(g.values());return Rg(t,this._triggerName,n,s,_,d,f,w,E,m,y,v)}}class Hg{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},s=Uf(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(s[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let i=r[e];i.length>1&&(i=eg(i,s,t)),n[e]=i})}}),n}}class Vg{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Hg(e.style,e.options&&e.options.params||{})}),zg(this.states,"true","1"),zg(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Mg(e,t,this.states))}),this.fallbackTransition=new Mg(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,s){return this.transitionFactories.find(r=>r.match(e,t,n,s))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function zg(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const jg=new vg;class Lg{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],s=fg(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]=s}_buildPlayer(e,t,n){const s=e.element,r=yf(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const s=[],r=this._animations[e];let i;const o=new Map;if(r?(i=Sg(this._driver,t,r,Mf,Hf,{},{},n,jg,s),i.forEach(e=>{const t=vf(o,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),i=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);o.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,cf)})});const a=mf(i.map(e=>{const t=o.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,s){const r=wf(t,"","","");return _f(this._getPlayer(e),n,r,s),()=>{}}command(e,t,n,s){if("register"==n)return void this.register(e,s[0]);if("create"==n)return void this.create(e,t,s[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e)}}}const $g="ng-animate-queued",Bg="ng-animate-disabled",qg=".ng-animate-disabled",Ug=[],Gg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zg={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Wg{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(s=n?e.value:e)?s:null,n){const t=Uf(e);delete t.value,this.options=t}else this.options={};var s;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 Qg="void",Kg=new Wg(Qg);class Yg{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-"+e,rm(t,this._hostClassName)}listen(e,t,n,s){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"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const i=vf(this._elementListeners,e,[]),o={name:t,phase:n,callback:s};i.push(o);const a=vf(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(rm(e,Vf),rm(e,"ng-trigger-"+t),a[t]=Kg),()=>{this._engine.afterFlush(()=>{const e=i.indexOf(o);e>=0&&i.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,s=!0){const r=this._getTrigger(t),i=new Xg(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(rm(e,Vf),rm(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new Wg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=Kg),l.value!==Qg&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),s=Object.keys(t);if(n.length!=s.length)return!1;for(let r=0;r{Kf(e,n),Qf(e,s)})}return}const c=vf(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,l.value,e,l.params),h=!1;if(!u){if(!s)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(rm(e,$g),i.onStart(()=>{im(e,$g)})),i.onDone(()=>{let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(i);e>=0&&n.splice(e,1)}}),this.players.push(i),c.push(i),i}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){const n=this._engine.driver.query(e,zf,!0);n.forEach(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)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,s){const r=this._engine.statesByElement.get(e);if(r){const i=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Qg,s);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&mf(i).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const s=new Set;t.forEach(t=>{const r=t.name;if(s.has(r))return;s.add(r);const i=this._triggers[r].fallbackTransition,o=n[r]||Kg,a=new Wg(Qg),l=new Xg(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)s=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)n.markElementAsRemoved(this.id,e,!1,t);else{const s=e.__ng_removed;s&&s!==Gg||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){rm(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const r=n.element,i=this._elementListeners.get(r);i&&i.forEach(t=>{if(t.name==n.triggerName){const s=wf(r,n.triggerName,n.fromState.value,n.toState.value);s._data=e,_f(n.player,t.phase,s,t.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,s=t.transition.ast.depCount;return 0==n||0==s?n-s: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 Jg{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 Yg(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 s=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),s=!0;break}s||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 s=this._namespaceLookup[e];s&&s.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 s=0;s=0&&this.collectedLeaveElements.splice(e,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,n)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),rm(e,Bg)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),im(e,Bg))}removeNode(e,t,n,s){if(em(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,s)}}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,n,s){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,s,r){return em(t)?this._fetchNamespace(e).listen(t,n,s,r):()=>{}}_buildInstruction(e,t,n,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,s,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,zf,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Lf,!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 mf(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Gg,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,qg)&&this.markElementAsDisabled(e,!1),this.driver.query(e,qg,!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;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?mf(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 vg,s=[],r=new Map,i=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n=Mf+f++;p.set(t,n),e.forEach(e=>rm(e,n))});const g=[],m=new Set,y=new Set;for(let P=0;Pm.add(e)):y.add(e))}const _=new Map,b=sm(h,Array.from(m));b.forEach((e,t)=>{const n=Hf+f++;_.set(t,n),e.forEach(e=>rm(e,n))}),e.push(()=>{d.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>im(e,n))}),b.forEach((e,t)=>{const n=_.get(t);e.forEach(e=>im(e,n))}),g.forEach(e=>{this.processLeaveNode(e)})});const w=[],v=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(w.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!u||!this.driver.containsElement(u,r),h=_.get(r),d=p.get(r),f=this._buildInstruction(e,n,d,h,c);if(f.errors&&f.errors.length)v.push(f);else{if(c)return t.onStart(()=>Kf(r,f.fromStyles)),t.onDestroy(()=>Qf(r,f.toStyles)),void s.push(t);if(e.isFallbackTransition)return t.onStart(()=>Kf(r,f.fromStyles)),t.onDestroy(()=>Qf(r,f.toStyles)),void s.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),i.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>vf(o,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 s=l.get(t);s||l.set(t,s=new Set),n.forEach(e=>s.add(e))})}});if(v.length){const e=[];v.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const E=new Map,C=new Map;i.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,E))}),s.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{vf(E,t,[]).push(e),e.destroy()})});const S=g.filter(e=>lm(e,a,l)),T=new Map;nm(T,this.driver,y,l,cf).forEach(e=>{lm(e,a,l)&&S.push(e)});const k=new Map;d.forEach((e,t)=>{nm(k,this.driver,new Set(e),a,"!")}),S.forEach(e=>{const t=T.get(e),n=k.get(e);T.set(e,Object.assign(Object.assign({},t),n))});const x=[],I=[],A={};i.forEach(e=>{const{element:t,player:i,instruction:o}=e;if(n.has(t)){if(c.has(t))return i.onDestroy(()=>Qf(t,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void s.push(i);let e=A;if(C.size>1){let n=t;const s=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}s.push(n)}s.forEach(t=>C.set(t,e))}const n=this._buildAnimation(i.namespaceId,o,E,r,k,T);if(i.setRealPlayer(n),e===A)x.push(i);else{const t=this.playersByElement.get(e);t&&t.length&&(i.parentPlayer=mf(t)),s.push(i)}}else Kf(t,o.fromStyles),i.onDestroy(()=>Qf(t,o.toStyles)),I.push(i),c.has(t)&&s.push(i)}),I.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=mf(t);e.setRealPlayer(n)}}),s.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let P=0;P!e.destroyed);s.length?om(this,e,s):this.processLeaveNode(e)}return g.length=0,x.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),x}elementContainsData(e,t){let n=!1;const s=t.__ng_removed;return s&&s.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,s,r){let i=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(i=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||r==Qg;t.forEach(t=>{t.queued||(e||t.triggerName==s)&&i.push(t)})}}return(n||s)&&(i=i.filter(e=>!(n&&n!=e.namespaceId||s&&s!=e.triggerName))),i}_beforeAnimationBuild(e,t,n){const s=t.element,r=t.isRemovalTransition?void 0:e,i=t.isRemovalTransition?void 0:t.triggerName;for(const o of t.timelines){const e=o.element,a=e!==s,l=vf(n,e,[]);this._getPreviousPlayers(e,a,r,i,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Kf(s,t.fromStyles)}_buildAnimation(e,t,n,s,r,i){const o=t.triggerName,a=t.element,l=[],c=new Set,u=new Set,h=t.timelines.map(t=>{const h=t.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new pf(t.duration,t.delay);const p=h!==a,f=function(e){const t=[];return am(e,t),t}((n.get(h)||Ug).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===h),g=r.get(h),m=i.get(h),y=yf(0,this._normalizer,0,t.keyframes,g,m),_=this._buildPlayer(t,y,f);if(t.subTimeline&&s&&u.add(h),p){const t=new Xg(e,o,h);t.setRealPlayer(_),l.push(t)}return _});l.forEach(e=>{vf(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let s;if(e instanceof Map){if(s=e.get(t),s){if(s.length){const e=s.indexOf(n);s.splice(e,1)}0==s.length&&e.delete(t)}}else if(s=e[t],s){if(s.length){const e=s.indexOf(n);s.splice(e,1)}0==s.length&&delete e[t]}return s}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>rm(e,jf));const d=mf(h);return d.onDestroy(()=>{c.forEach(e=>im(e,jf)),Qf(a,t.toStyles)}),u.forEach(e=>{vf(s,e,[]).push(d)}),d}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new pf(e.duration,e.delay)}}class Xg{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new pf,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).forEach(t=>{this._queuedCallbacks[t].forEach(n=>_f(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){vf(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 em(e){return e&&1===e.nodeType}function tm(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function nm(e,t,n,s,r){const i=[];n.forEach(e=>i.push(tm(e)));const o=[];s.forEach((n,s)=>{const i={};n.forEach(e=>{const n=i[e]=t.computeStyle(s,e,r);n&&0!=n.length||(s.__ng_removed=Zg,o.push(s))}),e.set(s,i)});let a=0;return n.forEach(e=>tm(e,i[a++])),o}function sm(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const s=new Set(t),r=new Map;function i(e){if(!e)return 1;let t=r.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:s.has(o)?1:i(o),r.set(e,t),t}return t.forEach(e=>{const t=i(e);1!==t&&n.get(t).push(e)}),n}function rm(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function im(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function om(e,t,n){mf(n).onDone(()=>e.processLeaveNode(t))}function am(e,t){for(let n=0;nr.add(e)):t.set(e,s),n.delete(e),!0}class cm{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Jg(e,t,n),this._timelineEngine=new Lg(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,s,r){const i=e+"-"+s;let o=this._triggerCache[i];if(!o){const e=[],t=fg(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new Vg(e,t)}(s,t),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,s,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,s){this._transitionEngine.insertNode(e,t,n,s)}onRemove(e,t,n,s){this._transitionEngine.removeNode(e,t,s||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,s){if("@"==n.charAt(0)){const[e,r]=Ef(n);this._timelineEngine.command(e,t,r,s)}else this._transitionEngine.trigger(e,t,n,s)}listen(e,t,n,s,r){if("@"==n.charAt(0)){const[e,s]=Ef(n);return this._timelineEngine.listen(e,t,s,r)}return this._transitionEngine.listen(e,t,n,s,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function um(e,t){let n=null,s=null;return Array.isArray(t)&&t.length?(n=dm(t[0]),t.length>1&&(s=dm(t[t.length-1]))):t&&(n=dm(t)),n||s?new hm(e,n,s):null}let hm=(()=>{class e{constructor(t,n,s){this._element=t,this._startStyles=n,this._endStyles=s,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Qf(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qf(this._element,this._initialStyles),this._endStyles&&(Qf(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Kf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Kf(this._element,this._endStyles),this._endStyles=null),Qf(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function dm(e){let t=null;const n=Object.keys(e);for(let s=0;sthis._handleCallback(e)}apply(){!function(e,t){const n=Em(e,"").trim();n.length&&(function(e,t){let n=0;for(let s=0;s=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),wm(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=Em(e,"").split(","),s=bm(n,t);s>=0&&(n.splice(s,1),vm(e,"",n.join(",")))}(this._element,this._name))}}function ym(e,t,n){vm(e,"PlayState",n,_m(e,t))}function _m(e,t){const n=Em(e,"");return n.indexOf(",")>0?bm(n.split(","),t):bm([n],t)}function bm(e,t){for(let n=0;n=0)return n;return-1}function wm(e,t,n){n?e.removeEventListener(gm,t):e.addEventListener(gm,t)}function vm(e,t,n,s){const r=fm+t;if(null!=s){const t=e.style[r];if(t.length){const e=t.split(",");e[s]=n,n=e.join(",")}}e.style[r]=n}function Em(e,t){return e.style[fm+t]||""}class Cm{constructor(e,t,n,s,r,i,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=s,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=s+r,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 mm(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]:ag(this.element,n))})}this.currentSnapshot=e}}class Sm extends pf{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Nf(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).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Tm{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return Af(e)}matchesElement(e,t){return Pf(e,t)}containsElement(e,t){return Of(e,t)}query(e,t,n){return Df(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Nf(e));let s=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);s+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(s+=`${r}animation-timing-function: ${n};\n`));default:return void(s+=`${r}${t}: ${n};\n`)}}),s+=`${r}}\n`}),s+="}\n";const i=document.createElement("style");return i.textContent=s,i}animate(e,t,n,s,r,i=[],o){const a=i.filter(e=>e instanceof Cm),l={};rg(n,s)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=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=ig(e,t,l));if(0==n)return new Sm(e,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=um(e,t),p=new Cm(e,t,u,n,s,r,c,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),p}}class km{constructor(e,t,n,s){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=s,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){void 0===this.domPlayer&&this.init(),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]:ag(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class xm{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Im().toString()),this._cssKeyframesDriver=new Tm}validateStyleProperty(e){return Af(e)}matchesElement(e,t){return Pf(e,t)}containsElement(e,t){return Of(e,t)}query(e,t,n){return Df(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,s,r,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,s,r,i);const a={duration:n,delay:s,fill:0==s?"both":"forwards"};r&&(a.easing=r);const l={},c=i.filter(e=>e instanceof km);rg(n,s)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=um(e,t=ig(e,t=t.map(e=>Gf(e,!1)),l));return new km(e,t,a,u)}}function Im(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Am=(()=>{class e extends lf{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:ke.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?uf(e):e;return Dm(this._renderer,null,t,"register",[n]),new Pm(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(os(Va),os(Xc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Pm extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Om(this._id,e,t||{},this._renderer)}}class Om{constructor(e,t,n,s){this.id=e,this.element=t,this._renderer=s,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 Dm(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(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function Dm(e,t,n,s,r){return e.setProperty(t,`@@${n}:${s}`,r)}const Nm="@",Rm="@.disabled";let Fm=(()=>{class e{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 Mm("",n,this.engine),this._rendererCache.set(n,e)),e}const s=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const i=t=>{Array.isArray(t)?t.forEach(i):this.engine.registerTrigger(s,r,e,t.name,t)};return t.data.animation.forEach(i),new Hm(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(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()}}return e.\u0275fac=function(t){return new(t||e)(os(Va),os(cm),os(xc))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Mm{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,s=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,s)}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,s){this.delegate.setAttribute(e,t,n,s)}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,s){this.delegate.setStyle(e,t,n,s)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Nm&&t==Rm?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Hm extends Mm{constructor(e,t,n,s){super(t,n,s),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Nm?"."==t.charAt(1)&&t==Rm?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)==Nm){const s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),i="";return r.charAt(0)!=Nm&&([r,i]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,s,r,i,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Vm=(()=>{class e extends cm{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(os(Xc),os(Ff),os(Og))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const zm=[{provide:Ff,useFactory:function(){return"function"==typeof Im()?new xm:new Tm}},{provide:new Un("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:lf,useClass:Am},{provide:Og,useFactory:function(){return new Dg}},{provide:cm,useClass:Vm},{provide:Va,useFactory:function(e,t,n){return new Fm(e,t,n)},deps:[fh,cm,xc]}];let jm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:zm,imports:[kh]}),e})(),Lm=(()=>{class e{constructor(e){this.injector=e;const t=function(e,t){const n=function(e,t){return t.get(Da).resolveComponentFactory(e).inputs}(e,t.injector),s=t.strategyFactory||new rf(e,t.injector),r=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var s;t[(s=n,s.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`))]=e}),t}(n);class i extends af{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=s.create(this.injector||t.injector);n.forEach(({propName:t})=>{if(!this.hasOwnProperty(t))return;const n=this[t];delete this[t],e.setInputValue(t,n)})}return this._ngElementStrategy}attributeChangedCallback(e,t,n,s){this.ngElementStrategy.setInputValue(r[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const s=e.createEvent("CustomEvent");return s.initCustomEvent(t,!1,!1,n),s}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return i.observedAttributes=Object.keys(r),n.forEach(({propName:e})=>{Object.defineProperty(i.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})}),i}(ef,{injector:this.injector});customElements.define("organization-landing-page",t)}ngDoBootstrap(){}}return e.\u0275fac=function(t){return new(t||e)(os(Bi))},e.\u0275mod=Ge({type:e}),e.\u0275inj=de({providers:[{provide:gc,useValue:"de"}],imports:[[kh,ad,jm,Sd,Ip]]}),e})();(function(){if(jc)throw new Error("Cannot enable prod mode after platform setup.");zc=!1})(),Sh().bootstrapModule(Lm).catch(e=>console.error(e))},zn8P: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="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/project/templates/organization/read.html b/project/templates/organization/read.html index 580e773..f80533b 100644 --- a/project/templates/organization/read.html +++ b/project/templates/organization/read.html @@ -5,9 +5,10 @@ {% block styles %} {% endblock %} +{% block content_container_attribs %}{% endblock %} {% block content %} - + {% endblock %} \ No newline at end of file